@semcore/progress-bar 4.40.1 → 4.40.2-prerelease.2
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/lib/esm/ProgressBar.mjs +60 -60
- package/package.json +4 -4
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
|
+
## [4.40.2] - 2025-04-04
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [5.41.1 ~> 5.41.2], `@semcore/utils` [4.48.1 ~> 4.48.2], `@semcore/core` [2.39.1 ~> 2.39.2]).
|
|
10
|
+
|
|
5
11
|
## [4.40.1] - 2025-03-20
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/ProgressBar.js
CHANGED
|
@@ -18,21 +18,21 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
18
18
|
var _flexBox = require("@semcore/flex-box");
|
|
19
19
|
var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
|
|
20
20
|
/*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
22
|
-
"__SProgressBar": "
|
|
23
|
-
"_theme_dark": "
|
|
24
|
-
"__SValue": "
|
|
25
|
-
"--width": "--
|
|
26
|
-
"--duration": "--
|
|
27
|
-
"_theme": "
|
|
28
|
-
"--colorBg": "--
|
|
29
|
-
"_size_s": "
|
|
30
|
-
"_size_m": "
|
|
31
|
-
"_size_l": "
|
|
32
|
-
"_theme_invert": "
|
|
33
|
-
"@loading": "
|
|
34
|
-
"_animation": "
|
|
35
|
-
"_theme_custom": "
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_qmlm3{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_qmlm3_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_qmlm3_gg_._theme_dark_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_qmlm3_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(-45deg, rgba(0, 159, 129, 0.9) 25%, rgba(0, 159, 129, 1) 0%, rgba(0, 159, 129, 1) 50%, rgba(0, 159, 129, 0.9) 0%, rgba(0, 159, 129, 0.9) 75%, rgba(0, 159, 129, 1) 0%));overflow:hidden;animation-name:loading_qmlm3;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_qmlm3);animation-duration:var(--duration_qmlm3);transition-duration:var(--duration_qmlm3)}.___SValue_qmlm3_gg_.__theme_qmlm3_gg_{background-color:var(--colorBg_qmlm3);background-image:var(--colorBg_qmlm3)}.___SProgressBar_qmlm3_gg_._size_s_qmlm3_gg_,.___SValue_qmlm3_gg_._size_s_qmlm3_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_qmlm3_gg_._size_m_qmlm3_gg_,.___SValue_qmlm3_gg_._size_m_qmlm3_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_qmlm3_gg_._size_l_qmlm3_gg_,.___SValue_qmlm3_gg_._size_l_qmlm3_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_qmlm3_gg_._theme_invert_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_qmlm3_gg_.__animation_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(-45deg, rgba(224, 225, 233, 0.9) 25%, rgba(224, 225, 233, 1) 0%, rgba(224, 225, 233, 1) 50%, rgba(224, 225, 233, 0.9) 0%, rgba(224, 225, 233, 0.9) 75%, rgba(224, 225, 233, 1) 0%));animation-name:loading_qmlm3;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_qmlm3)}.___SProgressBar_qmlm3_gg_._theme_custom_qmlm3_gg_{background-color:var(--colorBg_qmlm3);background-image:var(--colorBg_qmlm3)}@media (prefers-reduced-motion){.___SProgressBar_qmlm3_gg_.__animation_qmlm3_gg_,.___SValue_qmlm3_gg_{animation-name:none}}" /*__inner_css_end__*/, "qmlm3_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SProgressBar": "___SProgressBar_qmlm3_gg_",
|
|
23
|
+
"_theme_dark": "_theme_dark_qmlm3_gg_",
|
|
24
|
+
"__SValue": "___SValue_qmlm3_gg_",
|
|
25
|
+
"--width": "--width_qmlm3",
|
|
26
|
+
"--duration": "--duration_qmlm3",
|
|
27
|
+
"_theme": "__theme_qmlm3_gg_",
|
|
28
|
+
"--colorBg": "--colorBg_qmlm3",
|
|
29
|
+
"_size_s": "_size_s_qmlm3_gg_",
|
|
30
|
+
"_size_m": "_size_m_qmlm3_gg_",
|
|
31
|
+
"_size_l": "_size_l_qmlm3_gg_",
|
|
32
|
+
"_theme_invert": "_theme_invert_qmlm3_gg_",
|
|
33
|
+
"@loading": "loading_qmlm3",
|
|
34
|
+
"_animation": "__animation_qmlm3_gg_",
|
|
35
|
+
"_theme_custom": "_theme_custom_qmlm3_gg_"
|
|
36
36
|
});
|
|
37
37
|
function isCustomTheme(theme) {
|
|
38
38
|
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 resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
|
|
14
14
|
/*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
|
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
16
|
-
"__SProgressBar": "
|
|
17
|
-
"_theme_dark": "
|
|
18
|
-
"__SValue": "
|
|
19
|
-
"--width": "--
|
|
20
|
-
"--duration": "--
|
|
21
|
-
"_theme": "
|
|
22
|
-
"--colorBg": "--
|
|
23
|
-
"_size_s": "
|
|
24
|
-
"_size_m": "
|
|
25
|
-
"_size_l": "
|
|
26
|
-
"_theme_invert": "
|
|
27
|
-
"@loading": "
|
|
28
|
-
"_animation": "
|
|
29
|
-
"_theme_custom": "
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_qmlm3{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_qmlm3_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_qmlm3_gg_._theme_dark_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_qmlm3_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(-45deg, rgba(0, 159, 129, 0.9) 25%, rgba(0, 159, 129, 1) 0%, rgba(0, 159, 129, 1) 50%, rgba(0, 159, 129, 0.9) 0%, rgba(0, 159, 129, 0.9) 75%, rgba(0, 159, 129, 1) 0%));overflow:hidden;animation-name:loading_qmlm3;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_qmlm3);animation-duration:var(--duration_qmlm3);transition-duration:var(--duration_qmlm3)}.___SValue_qmlm3_gg_.__theme_qmlm3_gg_{background-color:var(--colorBg_qmlm3);background-image:var(--colorBg_qmlm3)}.___SProgressBar_qmlm3_gg_._size_s_qmlm3_gg_,.___SValue_qmlm3_gg_._size_s_qmlm3_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_qmlm3_gg_._size_m_qmlm3_gg_,.___SValue_qmlm3_gg_._size_m_qmlm3_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_qmlm3_gg_._size_l_qmlm3_gg_,.___SValue_qmlm3_gg_._size_l_qmlm3_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_qmlm3_gg_._theme_invert_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_qmlm3_gg_.__animation_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(-45deg, rgba(224, 225, 233, 0.9) 25%, rgba(224, 225, 233, 1) 0%, rgba(224, 225, 233, 1) 50%, rgba(224, 225, 233, 0.9) 0%, rgba(224, 225, 233, 0.9) 75%, rgba(224, 225, 233, 1) 0%));animation-name:loading_qmlm3;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_qmlm3)}.___SProgressBar_qmlm3_gg_._theme_custom_qmlm3_gg_{background-color:var(--colorBg_qmlm3);background-image:var(--colorBg_qmlm3)}@media (prefers-reduced-motion){.___SProgressBar_qmlm3_gg_.__animation_qmlm3_gg_,.___SValue_qmlm3_gg_{animation-name:none}}" /*__inner_css_end__*/, "qmlm3_gg_") /*__reshadow_css_end__*/, {
|
|
16
|
+
"__SProgressBar": "___SProgressBar_qmlm3_gg_",
|
|
17
|
+
"_theme_dark": "_theme_dark_qmlm3_gg_",
|
|
18
|
+
"__SValue": "___SValue_qmlm3_gg_",
|
|
19
|
+
"--width": "--width_qmlm3",
|
|
20
|
+
"--duration": "--duration_qmlm3",
|
|
21
|
+
"_theme": "__theme_qmlm3_gg_",
|
|
22
|
+
"--colorBg": "--colorBg_qmlm3",
|
|
23
|
+
"_size_s": "_size_s_qmlm3_gg_",
|
|
24
|
+
"_size_m": "_size_m_qmlm3_gg_",
|
|
25
|
+
"_size_l": "_size_l_qmlm3_gg_",
|
|
26
|
+
"_theme_invert": "_theme_invert_qmlm3_gg_",
|
|
27
|
+
"@loading": "loading_qmlm3",
|
|
28
|
+
"_animation": "__animation_qmlm3_gg_",
|
|
29
|
+
"_theme_custom": "_theme_custom_qmlm3_gg_"
|
|
30
30
|
});
|
|
31
31
|
function isCustomTheme(theme) {
|
|
32
32
|
return !['dark', 'invert'].includes(theme);
|
package/lib/esm/ProgressBar.mjs
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { sstyled as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { Box as
|
|
11
|
-
import
|
|
12
|
-
var
|
|
1
|
+
import v from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
+
import B from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
|
+
import S from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
+
import k from "@babel/runtime/helpers/esm/inherits";
|
|
5
|
+
import z from "@babel/runtime/helpers/esm/createSuper";
|
|
6
|
+
import g from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
|
+
import { sstyled as y } from "@semcore/utils/lib/core/index";
|
|
8
|
+
import C, { sstyled as p, assignProps as q, Component as x } from "@semcore/core";
|
|
9
|
+
import n from "react";
|
|
10
|
+
import { Box as h } from "@semcore/flex-box";
|
|
11
|
+
import V from "@semcore/utils/lib/enhances/resolveColorEnhance";
|
|
12
|
+
var w = (
|
|
13
13
|
/*__reshadow_css_start__*/
|
|
14
|
-
(
|
|
14
|
+
(y.insert(
|
|
15
15
|
/*__inner_css_start__*/
|
|
16
|
-
`@keyframes
|
|
17
|
-
linear-gradient(-45deg, rgba(0, 159, 129, 0.9) 25%, rgba(0, 159, 129, 1) 0%, rgba(0, 159, 129, 1) 50%, rgba(0, 159, 129, 0.9) 0%, rgba(0, 159, 129, 0.9) 75%, rgba(0, 159, 129, 1) 0%));overflow:hidden;animation-name:
|
|
18
|
-
linear-gradient(-45deg, rgba(224, 225, 233, 0.9) 25%, rgba(224, 225, 233, 1) 0%, rgba(224, 225, 233, 1) 50%, rgba(224, 225, 233, 0.9) 0%, rgba(224, 225, 233, 0.9) 75%, rgba(224, 225, 233, 1) 0%));animation-name:
|
|
19
|
-
"
|
|
16
|
+
`@keyframes loading_qmlm3{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_qmlm3_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_qmlm3_gg_._theme_dark_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_qmlm3_gg_{position:absolute;top:0;left:0;background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-value-gradient,
|
|
17
|
+
linear-gradient(-45deg, rgba(0, 159, 129, 0.9) 25%, rgba(0, 159, 129, 1) 0%, rgba(0, 159, 129, 1) 50%, rgba(0, 159, 129, 0.9) 0%, rgba(0, 159, 129, 0.9) 75%, rgba(0, 159, 129, 1) 0%));overflow:hidden;animation-name:loading_qmlm3;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_qmlm3);animation-duration:var(--duration_qmlm3);transition-duration:var(--duration_qmlm3)}.___SValue_qmlm3_gg_.__theme_qmlm3_gg_{background-color:var(--colorBg_qmlm3);background-image:var(--colorBg_qmlm3)}.___SProgressBar_qmlm3_gg_._size_s_qmlm3_gg_,.___SValue_qmlm3_gg_._size_s_qmlm3_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_qmlm3_gg_._size_m_qmlm3_gg_,.___SValue_qmlm3_gg_._size_m_qmlm3_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_qmlm3_gg_._size_l_qmlm3_gg_,.___SValue_qmlm3_gg_._size_l_qmlm3_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_qmlm3_gg_._theme_invert_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_qmlm3_gg_.__animation_qmlm3_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,
|
|
18
|
+
linear-gradient(-45deg, rgba(224, 225, 233, 0.9) 25%, rgba(224, 225, 233, 1) 0%, rgba(224, 225, 233, 1) 50%, rgba(224, 225, 233, 0.9) 0%, rgba(224, 225, 233, 0.9) 75%, rgba(224, 225, 233, 1) 0%));animation-name:loading_qmlm3;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_qmlm3)}.___SProgressBar_qmlm3_gg_._theme_custom_qmlm3_gg_{background-color:var(--colorBg_qmlm3);background-image:var(--colorBg_qmlm3)}@media (prefers-reduced-motion){.___SProgressBar_qmlm3_gg_.__animation_qmlm3_gg_,.___SValue_qmlm3_gg_{animation-name:none}}`,
|
|
19
|
+
"qmlm3_gg_"
|
|
20
20
|
), {
|
|
21
|
-
__SProgressBar: "
|
|
22
|
-
_theme_dark: "
|
|
23
|
-
__SValue: "
|
|
24
|
-
"--width": "--
|
|
25
|
-
"--duration": "--
|
|
26
|
-
_theme: "
|
|
27
|
-
"--colorBg": "--
|
|
28
|
-
_size_s: "
|
|
29
|
-
_size_m: "
|
|
30
|
-
_size_l: "
|
|
31
|
-
_theme_invert: "
|
|
32
|
-
"@loading": "
|
|
33
|
-
_animation: "
|
|
34
|
-
_theme_custom: "
|
|
21
|
+
__SProgressBar: "___SProgressBar_qmlm3_gg_",
|
|
22
|
+
_theme_dark: "_theme_dark_qmlm3_gg_",
|
|
23
|
+
__SValue: "___SValue_qmlm3_gg_",
|
|
24
|
+
"--width": "--width_qmlm3",
|
|
25
|
+
"--duration": "--duration_qmlm3",
|
|
26
|
+
_theme: "__theme_qmlm3_gg_",
|
|
27
|
+
"--colorBg": "--colorBg_qmlm3",
|
|
28
|
+
_size_s: "_size_s_qmlm3_gg_",
|
|
29
|
+
_size_m: "_size_m_qmlm3_gg_",
|
|
30
|
+
_size_l: "_size_l_qmlm3_gg_",
|
|
31
|
+
_theme_invert: "_theme_invert_qmlm3_gg_",
|
|
32
|
+
"@loading": "loading_qmlm3",
|
|
33
|
+
_animation: "__animation_qmlm3_gg_",
|
|
34
|
+
_theme_custom: "_theme_custom_qmlm3_gg_"
|
|
35
35
|
})
|
|
36
36
|
);
|
|
37
|
-
function
|
|
38
|
-
return !["dark", "invert"].includes(
|
|
37
|
+
function E(e) {
|
|
38
|
+
return !["dark", "invert"].includes(e);
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
var l =
|
|
40
|
+
var m = /* @__PURE__ */ function(e) {
|
|
41
|
+
k(a, e);
|
|
42
|
+
var l = z(a);
|
|
43
43
|
function a() {
|
|
44
|
-
return
|
|
44
|
+
return B(this, a), l.apply(this, arguments);
|
|
45
45
|
}
|
|
46
|
-
return
|
|
46
|
+
return S(a, [{
|
|
47
47
|
key: "getValueProps",
|
|
48
48
|
value: function() {
|
|
49
|
-
var _ = this.asProps, o = _.value, t = _.duration,
|
|
49
|
+
var _ = this.asProps, o = _.value, t = _.duration, r = _.size, i = _.resolveColor;
|
|
50
50
|
return {
|
|
51
51
|
value: o,
|
|
52
52
|
duration: t,
|
|
53
|
-
size:
|
|
53
|
+
size: r,
|
|
54
54
|
resolveColor: i
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
}, {
|
|
58
58
|
key: "render",
|
|
59
59
|
value: function() {
|
|
60
|
-
var _ = this.asProps, o, t =
|
|
61
|
-
return o =
|
|
62
|
-
"use:theme":
|
|
60
|
+
var _ = this.asProps, o, t = h, r = this.asProps, i = r.Children, u = r.styles, b = r.duration, c = r.theme, d = r.value, f = r.resolveColor, P = E(c) ? "custom" : c;
|
|
61
|
+
return o = p(u), /* @__PURE__ */ n.createElement(t, o.cn("SProgressBar", v({}, q({
|
|
62
|
+
"use:theme": P,
|
|
63
63
|
"use:animation": !d,
|
|
64
|
-
"use:duration": "".concat(
|
|
65
|
-
colorBg:
|
|
64
|
+
"use:duration": "".concat(b, "ms"),
|
|
65
|
+
colorBg: f(c),
|
|
66
66
|
role: "progressbar",
|
|
67
67
|
"aria-valuenow": d
|
|
68
|
-
}, _))), /* @__PURE__ */
|
|
68
|
+
}, _))), /* @__PURE__ */ n.createElement(i, o.cn("Children", {})));
|
|
69
69
|
}
|
|
70
70
|
}]), a;
|
|
71
|
-
}(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
}(x);
|
|
72
|
+
g(m, "displayName", "ProgressBar");
|
|
73
|
+
g(m, "style", w);
|
|
74
|
+
g(m, "enhance", [V()]);
|
|
75
|
+
g(m, "defaultProps", function() {
|
|
76
76
|
return {
|
|
77
77
|
duration: 1e3,
|
|
78
78
|
size: "m",
|
|
79
79
|
theme: "invert",
|
|
80
|
-
children: /* @__PURE__ */
|
|
80
|
+
children: /* @__PURE__ */ n.createElement($.Value, null)
|
|
81
81
|
};
|
|
82
82
|
});
|
|
83
|
-
function
|
|
84
|
-
var l = arguments[0], a,
|
|
85
|
-
return a =
|
|
86
|
-
"use:width":
|
|
87
|
-
"use:duration": "".concat(
|
|
83
|
+
function R(e) {
|
|
84
|
+
var l = arguments[0], a, s = h, _ = e.styles, o = e.value, t = e.theme, r = e.duration, i = e.resolveColor, u = "".concat(o, "%");
|
|
85
|
+
return a = p(_), /* @__PURE__ */ n.createElement(s, a.cn("SValue", v({}, q({
|
|
86
|
+
"use:width": u,
|
|
87
|
+
"use:duration": "".concat(r, "ms"),
|
|
88
88
|
colorBg: i(t)
|
|
89
89
|
}, l))));
|
|
90
90
|
}
|
|
91
|
-
var
|
|
92
|
-
Value:
|
|
91
|
+
var $ = C(m, {
|
|
92
|
+
Value: R
|
|
93
93
|
});
|
|
94
94
|
export {
|
|
95
|
-
|
|
95
|
+
$ as default
|
|
96
96
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/progress-bar",
|
|
3
3
|
"description": "Semrush ProgressBar Component",
|
|
4
|
-
"version": "4.40.
|
|
4
|
+
"version": "4.40.2-prerelease.2",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/flex-box": "5.41.
|
|
18
|
-
"@semcore/utils": "4.48.
|
|
17
|
+
"@semcore/flex-box": "5.41.2-prerelease.2",
|
|
18
|
+
"@semcore/utils": "4.48.2-prerelease.2"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@semcore/core": "^2.
|
|
21
|
+
"@semcore/core": "^2.39.2-prerelease.2",
|
|
22
22
|
"react": "16.8 - 18",
|
|
23
23
|
"react-dom": "16.8 - 18"
|
|
24
24
|
},
|