@semcore/progress-bar 16.0.8-prerelease.0 → 16.0.9-prerelease.1
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 +16 -16
- 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
|
+
## [16.0.9] - 2025-09-09
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [16.0.8 ~> 16.0.9], `@semcore/base-components` [16.2.2 ~> 16.2.3]).
|
|
10
|
+
|
|
5
11
|
## [16.0.8] - 2025-09-05
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/ProgressBar.js
CHANGED
|
@@ -19,23 +19,23 @@ var _flexBox = require("@semcore/flex-box");
|
|
|
19
19
|
var _react = _interopRequireDefault(require("react"));
|
|
20
20
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
21
21
|
/*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
|
|
22
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
22
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes loading_2040n{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_2040n_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_2040n_gg_._theme_dark_2040n_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_2040n_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_2040n;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_2040n);animation-duration:var(--duration_2040n);transition-duration:var(--duration_2040n)}.___SValue_2040n_gg_.__theme_2040n_gg_{background-color:var(--colorBg_2040n);background-image:var(--colorBg_2040n)}.___SProgressBar_2040n_gg_._size_s_2040n_gg_,.___SValue_2040n_gg_._size_s_2040n_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_2040n_gg_._size_m_2040n_gg_,.___SValue_2040n_gg_._size_m_2040n_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_2040n_gg_._size_l_2040n_gg_,.___SValue_2040n_gg_._size_l_2040n_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_2040n_gg_._theme_invert_2040n_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_2040n_gg_.__animation_2040n_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_2040n;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_2040n)}.___SProgressBar_2040n_gg_._theme_custom_2040n_gg_{background-color:var(--colorBg_2040n);background-image:var(--colorBg_2040n)}@media (prefers-reduced-motion){.___SProgressBar_2040n_gg_.__animation_2040n_gg_,.___SValue_2040n_gg_{animation-name:none}}", /*__inner_css_end__*/"2040n_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SProgressBar": "
|
|
26
|
-
"_theme_dark": "
|
|
27
|
-
"__SValue": "
|
|
28
|
-
"--width": "--
|
|
29
|
-
"--duration": "--
|
|
30
|
-
"_theme": "
|
|
31
|
-
"--colorBg": "--
|
|
32
|
-
"_size_s": "
|
|
33
|
-
"_size_m": "
|
|
34
|
-
"_size_l": "
|
|
35
|
-
"_theme_invert": "
|
|
36
|
-
"@loading": "
|
|
37
|
-
"_animation": "
|
|
38
|
-
"_theme_custom": "
|
|
25
|
+
"__SProgressBar": "___SProgressBar_2040n_gg_",
|
|
26
|
+
"_theme_dark": "_theme_dark_2040n_gg_",
|
|
27
|
+
"__SValue": "___SValue_2040n_gg_",
|
|
28
|
+
"--width": "--width_2040n",
|
|
29
|
+
"--duration": "--duration_2040n",
|
|
30
|
+
"_theme": "__theme_2040n_gg_",
|
|
31
|
+
"--colorBg": "--colorBg_2040n",
|
|
32
|
+
"_size_s": "_size_s_2040n_gg_",
|
|
33
|
+
"_size_m": "_size_m_2040n_gg_",
|
|
34
|
+
"_size_l": "_size_l_2040n_gg_",
|
|
35
|
+
"_theme_invert": "_theme_invert_2040n_gg_",
|
|
36
|
+
"@loading": "loading_2040n",
|
|
37
|
+
"_animation": "__animation_2040n_gg_",
|
|
38
|
+
"_theme_custom": "_theme_custom_2040n_gg_"
|
|
39
39
|
});
|
|
40
40
|
function isCustomTheme(theme) {
|
|
41
41
|
return !['dark', 'invert'].includes(theme);
|
package/lib/es6/ProgressBar.js
CHANGED
|
@@ -15,23 +15,23 @@ import resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEn
|
|
|
15
15
|
import { Box } from '@semcore/flex-box';
|
|
16
16
|
import React from 'react';
|
|
17
17
|
/*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
|
|
18
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
18
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes loading_2040n{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_2040n_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_2040n_gg_._theme_dark_2040n_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_2040n_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_2040n;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_2040n);animation-duration:var(--duration_2040n);transition-duration:var(--duration_2040n)}.___SValue_2040n_gg_.__theme_2040n_gg_{background-color:var(--colorBg_2040n);background-image:var(--colorBg_2040n)}.___SProgressBar_2040n_gg_._size_s_2040n_gg_,.___SValue_2040n_gg_._size_s_2040n_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_2040n_gg_._size_m_2040n_gg_,.___SValue_2040n_gg_._size_m_2040n_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_2040n_gg_._size_l_2040n_gg_,.___SValue_2040n_gg_._size_l_2040n_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_2040n_gg_._theme_invert_2040n_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_2040n_gg_.__animation_2040n_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_2040n;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_2040n)}.___SProgressBar_2040n_gg_._theme_custom_2040n_gg_{background-color:var(--colorBg_2040n);background-image:var(--colorBg_2040n)}@media (prefers-reduced-motion){.___SProgressBar_2040n_gg_.__animation_2040n_gg_,.___SValue_2040n_gg_{animation-name:none}}", /*__inner_css_end__*/"2040n_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
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_2040n_gg_",
|
|
22
|
+
"_theme_dark": "_theme_dark_2040n_gg_",
|
|
23
|
+
"__SValue": "___SValue_2040n_gg_",
|
|
24
|
+
"--width": "--width_2040n",
|
|
25
|
+
"--duration": "--duration_2040n",
|
|
26
|
+
"_theme": "__theme_2040n_gg_",
|
|
27
|
+
"--colorBg": "--colorBg_2040n",
|
|
28
|
+
"_size_s": "_size_s_2040n_gg_",
|
|
29
|
+
"_size_m": "_size_m_2040n_gg_",
|
|
30
|
+
"_size_l": "_size_l_2040n_gg_",
|
|
31
|
+
"_theme_invert": "_theme_invert_2040n_gg_",
|
|
32
|
+
"@loading": "loading_2040n",
|
|
33
|
+
"_animation": "__animation_2040n_gg_",
|
|
34
|
+
"_theme_custom": "_theme_custom_2040n_gg_"
|
|
35
35
|
});
|
|
36
36
|
function isCustomTheme(theme) {
|
|
37
37
|
return !['dark', 'invert'].includes(theme);
|
package/lib/esm/ProgressBar.mjs
CHANGED
|
@@ -18,25 +18,25 @@ var style = (
|
|
|
18
18
|
/*__reshadow_css_start__*/
|
|
19
19
|
(sstyled.insert(
|
|
20
20
|
/*__inner_css_start__*/
|
|
21
|
-
"@keyframes
|
|
21
|
+
"@keyframes loading_2040n{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_2040n_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_2040n_gg_._theme_dark_2040n_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_2040n_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_2040n;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_2040n);animation-duration:var(--duration_2040n);transition-duration:var(--duration_2040n)}.___SValue_2040n_gg_.__theme_2040n_gg_{background-color:var(--colorBg_2040n);background-image:var(--colorBg_2040n)}.___SProgressBar_2040n_gg_._size_s_2040n_gg_,.___SValue_2040n_gg_._size_s_2040n_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_2040n_gg_._size_m_2040n_gg_,.___SValue_2040n_gg_._size_m_2040n_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_2040n_gg_._size_l_2040n_gg_,.___SValue_2040n_gg_._size_l_2040n_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_2040n_gg_._theme_invert_2040n_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_2040n_gg_.__animation_2040n_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_2040n;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_2040n)}.___SProgressBar_2040n_gg_._theme_custom_2040n_gg_{background-color:var(--colorBg_2040n);background-image:var(--colorBg_2040n)}@media (prefers-reduced-motion){.___SProgressBar_2040n_gg_.__animation_2040n_gg_,.___SValue_2040n_gg_{animation-name:none}}",
|
|
22
22
|
/*__inner_css_end__*/
|
|
23
|
-
"
|
|
23
|
+
"2040n_gg_"
|
|
24
24
|
), /*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SProgressBar": "
|
|
27
|
-
"_theme_dark": "
|
|
28
|
-
"__SValue": "
|
|
29
|
-
"--width": "--
|
|
30
|
-
"--duration": "--
|
|
31
|
-
"_theme": "
|
|
32
|
-
"--colorBg": "--
|
|
33
|
-
"_size_s": "
|
|
34
|
-
"_size_m": "
|
|
35
|
-
"_size_l": "
|
|
36
|
-
"_theme_invert": "
|
|
37
|
-
"@loading": "
|
|
38
|
-
"_animation": "
|
|
39
|
-
"_theme_custom": "
|
|
26
|
+
"__SProgressBar": "___SProgressBar_2040n_gg_",
|
|
27
|
+
"_theme_dark": "_theme_dark_2040n_gg_",
|
|
28
|
+
"__SValue": "___SValue_2040n_gg_",
|
|
29
|
+
"--width": "--width_2040n",
|
|
30
|
+
"--duration": "--duration_2040n",
|
|
31
|
+
"_theme": "__theme_2040n_gg_",
|
|
32
|
+
"--colorBg": "--colorBg_2040n",
|
|
33
|
+
"_size_s": "_size_s_2040n_gg_",
|
|
34
|
+
"_size_m": "_size_m_2040n_gg_",
|
|
35
|
+
"_size_l": "_size_l_2040n_gg_",
|
|
36
|
+
"_theme_invert": "_theme_invert_2040n_gg_",
|
|
37
|
+
"@loading": "loading_2040n",
|
|
38
|
+
"_animation": "__animation_2040n_gg_",
|
|
39
|
+
"_theme_custom": "_theme_custom_2040n_gg_"
|
|
40
40
|
})
|
|
41
41
|
);
|
|
42
42
|
function isCustomTheme(theme) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/progress-bar",
|
|
3
3
|
"description": "Semrush ProgressBar Component",
|
|
4
|
-
"version": "16.0.
|
|
4
|
+
"version": "16.0.9-prerelease.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/flex-box": "16.0.
|
|
17
|
+
"@semcore/flex-box": "16.0.9-prerelease.1"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@semcore/base-components": "^16.2.
|
|
20
|
+
"@semcore/base-components": "^16.2.3-prerelease.1"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "semcore/progress-bar"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@semcore/core": "16.
|
|
28
|
+
"@semcore/core": "16.3.0-prerelease.1",
|
|
29
29
|
"@semcore/testing-utils": "1.0.0"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|