@semcore/progress-bar 3.3.29 → 3.3.30
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 +6 -0
- package/lib/cjs/ProgressBar.js +15 -15
- package/lib/es6/ProgressBar.js +15 -15
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [3.3.30] - 2023-06-09
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [4.7.28 ~> 4.7.29], `@semcore/utils` [3.53.1 ~> 3.53.2]).
|
|
10
|
+
|
|
5
11
|
## [3.3.29] - 2023-06-07
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/ProgressBar.js
CHANGED
|
@@ -17,21 +17,21 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
17
17
|
var _flexBox = require("@semcore/flex-box");
|
|
18
18
|
var _color = _interopRequireDefault(require("@semcore/utils/lib/color"));
|
|
19
19
|
/*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
|
|
20
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
21
|
-
"__SProgressBar": "
|
|
22
|
-
"__SValue": "
|
|
23
|
-
"_size_s": "
|
|
24
|
-
"_size_m": "
|
|
25
|
-
"_size_l": "
|
|
26
|
-
"_theme_dark": "
|
|
27
|
-
"_theme_invert": "
|
|
28
|
-
"@loading": "
|
|
29
|
-
"_animation": "
|
|
30
|
-
"_theme_custom": "
|
|
31
|
-
"--colorBg": "--
|
|
32
|
-
"--duration": "--
|
|
33
|
-
"--width": "--
|
|
34
|
-
"_theme": "
|
|
20
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_oqsdk{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_oqsdk_gg_{position:relative;width:100%;overflow:hidden}.___SValue_oqsdk_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_oqsdk;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;transition-duration:1000ms}.___SProgressBar_oqsdk_gg_._size_s_oqsdk_gg_,.___SValue_oqsdk_gg_._size_s_oqsdk_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_oqsdk_gg_._size_m_oqsdk_gg_,.___SValue_oqsdk_gg_._size_m_oqsdk_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_oqsdk_gg_._size_l_oqsdk_gg_,.___SValue_oqsdk_gg_._size_l_oqsdk_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_oqsdk_gg_._theme_dark_oqsdk_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SProgressBar_oqsdk_gg_,.___SProgressBar_oqsdk_gg_._theme_invert_oqsdk_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_oqsdk_gg_.__animation_oqsdk_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_oqsdk;animation-timing-function:linear;animation-iteration-count:infinite}.___SProgressBar_oqsdk_gg_._theme_custom_oqsdk_gg_{background-color:var(--colorBg_oqsdk);background-image:var(--colorBg_oqsdk)}.___SProgressBar_oqsdk_gg_.__animation_oqsdk_gg_,.___SValue_oqsdk_gg_{animation-duration:var(--duration_oqsdk)}.___SValue_oqsdk_gg_{width:var(--width_oqsdk)}.___SValue_oqsdk_gg_.__theme_oqsdk_gg_{background-color:var(--colorBg_oqsdk);background-image:var(--colorBg_oqsdk)}@media (prefers-reduced-motion){.___SProgressBar_oqsdk_gg_.__animation_oqsdk_gg_,.___SValue_oqsdk_gg_{animation-name:none}}" /*__inner_css_end__*/, "oqsdk_gg_") /*__reshadow_css_end__*/, {
|
|
21
|
+
"__SProgressBar": "___SProgressBar_oqsdk_gg_",
|
|
22
|
+
"__SValue": "___SValue_oqsdk_gg_",
|
|
23
|
+
"_size_s": "_size_s_oqsdk_gg_",
|
|
24
|
+
"_size_m": "_size_m_oqsdk_gg_",
|
|
25
|
+
"_size_l": "_size_l_oqsdk_gg_",
|
|
26
|
+
"_theme_dark": "_theme_dark_oqsdk_gg_",
|
|
27
|
+
"_theme_invert": "_theme_invert_oqsdk_gg_",
|
|
28
|
+
"@loading": "loading_oqsdk",
|
|
29
|
+
"_animation": "__animation_oqsdk_gg_",
|
|
30
|
+
"_theme_custom": "_theme_custom_oqsdk_gg_",
|
|
31
|
+
"--colorBg": "--colorBg_oqsdk",
|
|
32
|
+
"--duration": "--duration_oqsdk",
|
|
33
|
+
"--width": "--width_oqsdk",
|
|
34
|
+
"_theme": "__theme_oqsdk_gg_"
|
|
35
35
|
});
|
|
36
36
|
function isCustomTheme(theme) {
|
|
37
37
|
return !['dark', 'invert'].includes(theme);
|
package/lib/es6/ProgressBar.js
CHANGED
|
@@ -12,21 +12,21 @@ import createComponent, { Component, sstyled, Root } from '@semcore/core';
|
|
|
12
12
|
import { Box } from '@semcore/flex-box';
|
|
13
13
|
import resolveColor from '@semcore/utils/lib/color';
|
|
14
14
|
/*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
|
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
16
|
-
"__SProgressBar": "
|
|
17
|
-
"__SValue": "
|
|
18
|
-
"_size_s": "
|
|
19
|
-
"_size_m": "
|
|
20
|
-
"_size_l": "
|
|
21
|
-
"_theme_dark": "
|
|
22
|
-
"_theme_invert": "
|
|
23
|
-
"@loading": "
|
|
24
|
-
"_animation": "
|
|
25
|
-
"_theme_custom": "
|
|
26
|
-
"--colorBg": "--
|
|
27
|
-
"--duration": "--
|
|
28
|
-
"--width": "--
|
|
29
|
-
"_theme": "
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_oqsdk{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_oqsdk_gg_{position:relative;width:100%;overflow:hidden}.___SValue_oqsdk_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_oqsdk;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;transition-duration:1000ms}.___SProgressBar_oqsdk_gg_._size_s_oqsdk_gg_,.___SValue_oqsdk_gg_._size_s_oqsdk_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_oqsdk_gg_._size_m_oqsdk_gg_,.___SValue_oqsdk_gg_._size_m_oqsdk_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_oqsdk_gg_._size_l_oqsdk_gg_,.___SValue_oqsdk_gg_._size_l_oqsdk_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_oqsdk_gg_._theme_dark_oqsdk_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SProgressBar_oqsdk_gg_,.___SProgressBar_oqsdk_gg_._theme_invert_oqsdk_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_oqsdk_gg_.__animation_oqsdk_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_oqsdk;animation-timing-function:linear;animation-iteration-count:infinite}.___SProgressBar_oqsdk_gg_._theme_custom_oqsdk_gg_{background-color:var(--colorBg_oqsdk);background-image:var(--colorBg_oqsdk)}.___SProgressBar_oqsdk_gg_.__animation_oqsdk_gg_,.___SValue_oqsdk_gg_{animation-duration:var(--duration_oqsdk)}.___SValue_oqsdk_gg_{width:var(--width_oqsdk)}.___SValue_oqsdk_gg_.__theme_oqsdk_gg_{background-color:var(--colorBg_oqsdk);background-image:var(--colorBg_oqsdk)}@media (prefers-reduced-motion){.___SProgressBar_oqsdk_gg_.__animation_oqsdk_gg_,.___SValue_oqsdk_gg_{animation-name:none}}" /*__inner_css_end__*/, "oqsdk_gg_") /*__reshadow_css_end__*/, {
|
|
16
|
+
"__SProgressBar": "___SProgressBar_oqsdk_gg_",
|
|
17
|
+
"__SValue": "___SValue_oqsdk_gg_",
|
|
18
|
+
"_size_s": "_size_s_oqsdk_gg_",
|
|
19
|
+
"_size_m": "_size_m_oqsdk_gg_",
|
|
20
|
+
"_size_l": "_size_l_oqsdk_gg_",
|
|
21
|
+
"_theme_dark": "_theme_dark_oqsdk_gg_",
|
|
22
|
+
"_theme_invert": "_theme_invert_oqsdk_gg_",
|
|
23
|
+
"@loading": "loading_oqsdk",
|
|
24
|
+
"_animation": "__animation_oqsdk_gg_",
|
|
25
|
+
"_theme_custom": "_theme_custom_oqsdk_gg_",
|
|
26
|
+
"--colorBg": "--colorBg_oqsdk",
|
|
27
|
+
"--duration": "--duration_oqsdk",
|
|
28
|
+
"--width": "--width_oqsdk",
|
|
29
|
+
"_theme": "__theme_oqsdk_gg_"
|
|
30
30
|
});
|
|
31
31
|
function isCustomTheme(theme) {
|
|
32
32
|
return !['dark', 'invert'].includes(theme);
|