@semcore/progress-bar 3.3.8 → 3.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/lib/cjs/ProgressBar.js +16 -16
- package/lib/cjs/style/progress-bar.shadow.css +21 -5
- package/lib/es6/ProgressBar.js +16 -16
- package/lib/es6/style/progress-bar.shadow.css +21 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [3.3.10] - 2023-02-20
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [4.7.8 ~> 4.7.9], `@semcore/utils` [3.46.1 ~> 3.47.0]).
|
|
10
|
+
|
|
11
|
+
## [3.3.9] - 2023-02-09
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Renamed rounding design token (`--intergalactic-rounded-medium` -> `--intergalactic-progress-bar-rounded`).
|
|
16
|
+
|
|
5
17
|
## [3.3.8] - 2023-01-20
|
|
6
18
|
|
|
7
19
|
### Changed
|
package/lib/cjs/ProgressBar.js
CHANGED
|
@@ -46,25 +46,25 @@ var style = (
|
|
|
46
46
|
/*__reshadow_css_start__*/
|
|
47
47
|
_core.sstyled.insert(
|
|
48
48
|
/*__inner_css_start__*/
|
|
49
|
-
".
|
|
49
|
+
"@keyframes loading_gco9w{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_gco9w_gg_{position:relative;width:100%;overflow:hidden}.___SValue_gco9w_gg_{position:absolute;top:0;left:0;background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(\n -45deg,\n rgba(0, 159, 129, 0.9) 25%,\n rgba(0, 159, 129, 1) 0%,\n rgba(0, 159, 129, 1) 50%,\n rgba(0, 159, 129, 0.9) 0%,\n rgba(0, 159, 129, 0.9) 75%,\n rgba(0, 159, 129, 1) 0%\n )\n );overflow:hidden;animation-name:loading_gco9w;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;transition-duration:1000ms}.___SProgressBar_gco9w_gg_._size_s_gco9w_gg_,.___SValue_gco9w_gg_._size_s_gco9w_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_gco9w_gg_._size_m_gco9w_gg_,.___SValue_gco9w_gg_._size_m_gco9w_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_gco9w_gg_._size_l_gco9w_gg_,.___SValue_gco9w_gg_._size_l_gco9w_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_gco9w_gg_._theme_dark_gco9w_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SProgressBar_gco9w_gg_,.___SProgressBar_gco9w_gg_._theme_invert_gco9w_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_gco9w_gg_.__animation_gco9w_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(\n -45deg,\n rgba(224, 225, 233, 0.9) 25%,\n rgba(224, 225, 233, 1) 0%,\n rgba(224, 225, 233, 1) 50%,\n rgba(224, 225, 233, 0.9) 0%,\n rgba(224, 225, 233, 0.9) 75%,\n rgba(224, 225, 233, 1) 0%\n )\n );animation-name:loading_gco9w;animation-timing-function:linear;animation-iteration-count:infinite}.___SProgressBar_gco9w_gg_._theme_custom_gco9w_gg_{background-color:var(--colorBg_gco9w);background-image:var(--colorBg_gco9w)}.___SProgressBar_gco9w_gg_.__animation_gco9w_gg_,.___SValue_gco9w_gg_{animation-duration:var(--duration_gco9w)}.___SValue_gco9w_gg_{width:var(--width_gco9w)}.___SValue_gco9w_gg_.__theme_gco9w_gg_{background-color:var(--colorBg_gco9w);background-image:var(--colorBg_gco9w)}@media (prefers-reduced-motion){.___SProgressBar_gco9w_gg_.__animation_gco9w_gg_,.___SValue_gco9w_gg_{animation-name:none}}"
|
|
50
50
|
/*__inner_css_end__*/
|
|
51
|
-
, "
|
|
51
|
+
, "gco9w_gg_")
|
|
52
52
|
/*__reshadow_css_end__*/
|
|
53
53
|
, {
|
|
54
|
-
"__SProgressBar": "
|
|
55
|
-
"__SValue": "
|
|
56
|
-
"_size_s": "
|
|
57
|
-
"_size_m": "
|
|
58
|
-
"_size_l": "
|
|
59
|
-
"_theme_dark": "
|
|
60
|
-
"_theme_invert": "
|
|
61
|
-
"@loading": "
|
|
62
|
-
"_animation": "
|
|
63
|
-
"_theme_custom": "
|
|
64
|
-
"--colorBg": "--
|
|
65
|
-
"--duration": "--
|
|
66
|
-
"--width": "--
|
|
67
|
-
"_theme": "
|
|
54
|
+
"__SProgressBar": "___SProgressBar_gco9w_gg_",
|
|
55
|
+
"__SValue": "___SValue_gco9w_gg_",
|
|
56
|
+
"_size_s": "_size_s_gco9w_gg_",
|
|
57
|
+
"_size_m": "_size_m_gco9w_gg_",
|
|
58
|
+
"_size_l": "_size_l_gco9w_gg_",
|
|
59
|
+
"_theme_dark": "_theme_dark_gco9w_gg_",
|
|
60
|
+
"_theme_invert": "_theme_invert_gco9w_gg_",
|
|
61
|
+
"@loading": "loading_gco9w",
|
|
62
|
+
"_animation": "__animation_gco9w_gg_",
|
|
63
|
+
"_theme_custom": "_theme_custom_gco9w_gg_",
|
|
64
|
+
"--colorBg": "--colorBg_gco9w",
|
|
65
|
+
"--duration": "--duration_gco9w",
|
|
66
|
+
"--width": "--width_gco9w",
|
|
67
|
+
"_theme": "__theme_gco9w_gg_"
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
function isCustomTheme(theme) {
|
|
@@ -11,7 +11,15 @@ SValue {
|
|
|
11
11
|
background-color: var(--intergalactic-progress-bar-value-bg, #000000);
|
|
12
12
|
background-image: var(
|
|
13
13
|
--intergalactic-progress-bar-value-gradient,
|
|
14
|
-
linear-gradient(
|
|
14
|
+
linear-gradient(
|
|
15
|
+
-45deg,
|
|
16
|
+
rgba(0, 159, 129, 0.9) 25%,
|
|
17
|
+
rgba(0, 159, 129, 1) 0%,
|
|
18
|
+
rgba(0, 159, 129, 1) 50%,
|
|
19
|
+
rgba(0, 159, 129, 0.9) 0%,
|
|
20
|
+
rgba(0, 159, 129, 0.9) 75%,
|
|
21
|
+
rgba(0, 159, 129, 1) 0%
|
|
22
|
+
)
|
|
15
23
|
);
|
|
16
24
|
overflow: hidden;
|
|
17
25
|
|
|
@@ -26,21 +34,21 @@ SValue {
|
|
|
26
34
|
SProgressBar[size='s'],
|
|
27
35
|
SValue[size='s'] {
|
|
28
36
|
height: 4px;
|
|
29
|
-
border-radius: var(--intergalactic-rounded
|
|
37
|
+
border-radius: var(--intergalactic-progress-bar-rounded, 6px);
|
|
30
38
|
background-size: 8px 8px;
|
|
31
39
|
}
|
|
32
40
|
|
|
33
41
|
SProgressBar[size='m'],
|
|
34
42
|
SValue[size='m'] {
|
|
35
43
|
height: 8px;
|
|
36
|
-
border-radius: var(--intergalactic-rounded
|
|
44
|
+
border-radius: var(--intergalactic-progress-bar-rounded, 6px);
|
|
37
45
|
background-size: 12px 12px;
|
|
38
46
|
}
|
|
39
47
|
|
|
40
48
|
SProgressBar[size='l'],
|
|
41
49
|
SValue[size='l'] {
|
|
42
50
|
height: 12px;
|
|
43
|
-
border-radius: var(--intergalactic-rounded
|
|
51
|
+
border-radius: var(--intergalactic-progress-bar-rounded, 6px);
|
|
44
52
|
background-size: 16px 16px;
|
|
45
53
|
}
|
|
46
54
|
|
|
@@ -69,7 +77,15 @@ SProgressBar[animation] {
|
|
|
69
77
|
background-color: var(--intergalactic-progress-bar-value-bg, #000000);
|
|
70
78
|
background-image: var(
|
|
71
79
|
--intergalactic-progress-bar-pattern-gradient,
|
|
72
|
-
linear-gradient(
|
|
80
|
+
linear-gradient(
|
|
81
|
+
-45deg,
|
|
82
|
+
rgba(224, 225, 233, 0.9) 25%,
|
|
83
|
+
rgba(224, 225, 233, 1) 0%,
|
|
84
|
+
rgba(224, 225, 233, 1) 50%,
|
|
85
|
+
rgba(224, 225, 233, 0.9) 0%,
|
|
86
|
+
rgba(224, 225, 233, 0.9) 75%,
|
|
87
|
+
rgba(224, 225, 233, 1) 0%
|
|
88
|
+
)
|
|
73
89
|
);
|
|
74
90
|
animation-name: loading;
|
|
75
91
|
animation-timing-function: linear;
|
package/lib/es6/ProgressBar.js
CHANGED
|
@@ -26,25 +26,25 @@ var style = (
|
|
|
26
26
|
/*__reshadow_css_start__*/
|
|
27
27
|
_sstyled.insert(
|
|
28
28
|
/*__inner_css_start__*/
|
|
29
|
-
".
|
|
29
|
+
"@keyframes loading_gco9w{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_gco9w_gg_{position:relative;width:100%;overflow:hidden}.___SValue_gco9w_gg_{position:absolute;top:0;left:0;background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(\n -45deg,\n rgba(0, 159, 129, 0.9) 25%,\n rgba(0, 159, 129, 1) 0%,\n rgba(0, 159, 129, 1) 50%,\n rgba(0, 159, 129, 0.9) 0%,\n rgba(0, 159, 129, 0.9) 75%,\n rgba(0, 159, 129, 1) 0%\n )\n );overflow:hidden;animation-name:loading_gco9w;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;transition-duration:1000ms}.___SProgressBar_gco9w_gg_._size_s_gco9w_gg_,.___SValue_gco9w_gg_._size_s_gco9w_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_gco9w_gg_._size_m_gco9w_gg_,.___SValue_gco9w_gg_._size_m_gco9w_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_gco9w_gg_._size_l_gco9w_gg_,.___SValue_gco9w_gg_._size_l_gco9w_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_gco9w_gg_._theme_dark_gco9w_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SProgressBar_gco9w_gg_,.___SProgressBar_gco9w_gg_._theme_invert_gco9w_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_gco9w_gg_.__animation_gco9w_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(\n -45deg,\n rgba(224, 225, 233, 0.9) 25%,\n rgba(224, 225, 233, 1) 0%,\n rgba(224, 225, 233, 1) 50%,\n rgba(224, 225, 233, 0.9) 0%,\n rgba(224, 225, 233, 0.9) 75%,\n rgba(224, 225, 233, 1) 0%\n )\n );animation-name:loading_gco9w;animation-timing-function:linear;animation-iteration-count:infinite}.___SProgressBar_gco9w_gg_._theme_custom_gco9w_gg_{background-color:var(--colorBg_gco9w);background-image:var(--colorBg_gco9w)}.___SProgressBar_gco9w_gg_.__animation_gco9w_gg_,.___SValue_gco9w_gg_{animation-duration:var(--duration_gco9w)}.___SValue_gco9w_gg_{width:var(--width_gco9w)}.___SValue_gco9w_gg_.__theme_gco9w_gg_{background-color:var(--colorBg_gco9w);background-image:var(--colorBg_gco9w)}@media (prefers-reduced-motion){.___SProgressBar_gco9w_gg_.__animation_gco9w_gg_,.___SValue_gco9w_gg_{animation-name:none}}"
|
|
30
30
|
/*__inner_css_end__*/
|
|
31
|
-
, "
|
|
31
|
+
, "gco9w_gg_")
|
|
32
32
|
/*__reshadow_css_end__*/
|
|
33
33
|
, {
|
|
34
|
-
"__SProgressBar": "
|
|
35
|
-
"__SValue": "
|
|
36
|
-
"_size_s": "
|
|
37
|
-
"_size_m": "
|
|
38
|
-
"_size_l": "
|
|
39
|
-
"_theme_dark": "
|
|
40
|
-
"_theme_invert": "
|
|
41
|
-
"@loading": "
|
|
42
|
-
"_animation": "
|
|
43
|
-
"_theme_custom": "
|
|
44
|
-
"--colorBg": "--
|
|
45
|
-
"--duration": "--
|
|
46
|
-
"--width": "--
|
|
47
|
-
"_theme": "
|
|
34
|
+
"__SProgressBar": "___SProgressBar_gco9w_gg_",
|
|
35
|
+
"__SValue": "___SValue_gco9w_gg_",
|
|
36
|
+
"_size_s": "_size_s_gco9w_gg_",
|
|
37
|
+
"_size_m": "_size_m_gco9w_gg_",
|
|
38
|
+
"_size_l": "_size_l_gco9w_gg_",
|
|
39
|
+
"_theme_dark": "_theme_dark_gco9w_gg_",
|
|
40
|
+
"_theme_invert": "_theme_invert_gco9w_gg_",
|
|
41
|
+
"@loading": "loading_gco9w",
|
|
42
|
+
"_animation": "__animation_gco9w_gg_",
|
|
43
|
+
"_theme_custom": "_theme_custom_gco9w_gg_",
|
|
44
|
+
"--colorBg": "--colorBg_gco9w",
|
|
45
|
+
"--duration": "--duration_gco9w",
|
|
46
|
+
"--width": "--width_gco9w",
|
|
47
|
+
"_theme": "__theme_gco9w_gg_"
|
|
48
48
|
});
|
|
49
49
|
|
|
50
50
|
function isCustomTheme(theme) {
|
|
@@ -11,7 +11,15 @@ SValue {
|
|
|
11
11
|
background-color: var(--intergalactic-progress-bar-value-bg, #000000);
|
|
12
12
|
background-image: var(
|
|
13
13
|
--intergalactic-progress-bar-value-gradient,
|
|
14
|
-
linear-gradient(
|
|
14
|
+
linear-gradient(
|
|
15
|
+
-45deg,
|
|
16
|
+
rgba(0, 159, 129, 0.9) 25%,
|
|
17
|
+
rgba(0, 159, 129, 1) 0%,
|
|
18
|
+
rgba(0, 159, 129, 1) 50%,
|
|
19
|
+
rgba(0, 159, 129, 0.9) 0%,
|
|
20
|
+
rgba(0, 159, 129, 0.9) 75%,
|
|
21
|
+
rgba(0, 159, 129, 1) 0%
|
|
22
|
+
)
|
|
15
23
|
);
|
|
16
24
|
overflow: hidden;
|
|
17
25
|
|
|
@@ -26,21 +34,21 @@ SValue {
|
|
|
26
34
|
SProgressBar[size='s'],
|
|
27
35
|
SValue[size='s'] {
|
|
28
36
|
height: 4px;
|
|
29
|
-
border-radius: var(--intergalactic-rounded
|
|
37
|
+
border-radius: var(--intergalactic-progress-bar-rounded, 6px);
|
|
30
38
|
background-size: 8px 8px;
|
|
31
39
|
}
|
|
32
40
|
|
|
33
41
|
SProgressBar[size='m'],
|
|
34
42
|
SValue[size='m'] {
|
|
35
43
|
height: 8px;
|
|
36
|
-
border-radius: var(--intergalactic-rounded
|
|
44
|
+
border-radius: var(--intergalactic-progress-bar-rounded, 6px);
|
|
37
45
|
background-size: 12px 12px;
|
|
38
46
|
}
|
|
39
47
|
|
|
40
48
|
SProgressBar[size='l'],
|
|
41
49
|
SValue[size='l'] {
|
|
42
50
|
height: 12px;
|
|
43
|
-
border-radius: var(--intergalactic-rounded
|
|
51
|
+
border-radius: var(--intergalactic-progress-bar-rounded, 6px);
|
|
44
52
|
background-size: 16px 16px;
|
|
45
53
|
}
|
|
46
54
|
|
|
@@ -69,7 +77,15 @@ SProgressBar[animation] {
|
|
|
69
77
|
background-color: var(--intergalactic-progress-bar-value-bg, #000000);
|
|
70
78
|
background-image: var(
|
|
71
79
|
--intergalactic-progress-bar-pattern-gradient,
|
|
72
|
-
linear-gradient(
|
|
80
|
+
linear-gradient(
|
|
81
|
+
-45deg,
|
|
82
|
+
rgba(224, 225, 233, 0.9) 25%,
|
|
83
|
+
rgba(224, 225, 233, 1) 0%,
|
|
84
|
+
rgba(224, 225, 233, 1) 50%,
|
|
85
|
+
rgba(224, 225, 233, 0.9) 0%,
|
|
86
|
+
rgba(224, 225, 233, 0.9) 75%,
|
|
87
|
+
rgba(224, 225, 233, 1) 0%
|
|
88
|
+
)
|
|
73
89
|
);
|
|
74
90
|
animation-name: loading;
|
|
75
91
|
animation-timing-function: linear;
|