@semcore/progress-bar 4.40.1 → 4.40.2-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 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
@@ -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 loading_eh656{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_eh656_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_eh656_gg_._theme_dark_eh656_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_eh656_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_eh656;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_eh656);animation-duration:var(--duration_eh656);transition-duration:var(--duration_eh656)}.___SValue_eh656_gg_.__theme_eh656_gg_{background-color:var(--colorBg_eh656);background-image:var(--colorBg_eh656)}.___SProgressBar_eh656_gg_._size_s_eh656_gg_,.___SValue_eh656_gg_._size_s_eh656_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_eh656_gg_._size_m_eh656_gg_,.___SValue_eh656_gg_._size_m_eh656_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_eh656_gg_._size_l_eh656_gg_,.___SValue_eh656_gg_._size_l_eh656_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_eh656_gg_._theme_invert_eh656_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_eh656_gg_.__animation_eh656_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_eh656;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_eh656)}.___SProgressBar_eh656_gg_._theme_custom_eh656_gg_{background-color:var(--colorBg_eh656);background-image:var(--colorBg_eh656)}@media (prefers-reduced-motion){.___SProgressBar_eh656_gg_.__animation_eh656_gg_,.___SValue_eh656_gg_{animation-name:none}}" /*__inner_css_end__*/, "eh656_gg_") /*__reshadow_css_end__*/, {
22
- "__SProgressBar": "___SProgressBar_eh656_gg_",
23
- "_theme_dark": "_theme_dark_eh656_gg_",
24
- "__SValue": "___SValue_eh656_gg_",
25
- "--width": "--width_eh656",
26
- "--duration": "--duration_eh656",
27
- "_theme": "__theme_eh656_gg_",
28
- "--colorBg": "--colorBg_eh656",
29
- "_size_s": "_size_s_eh656_gg_",
30
- "_size_m": "_size_m_eh656_gg_",
31
- "_size_l": "_size_l_eh656_gg_",
32
- "_theme_invert": "_theme_invert_eh656_gg_",
33
- "@loading": "loading_eh656",
34
- "_animation": "__animation_eh656_gg_",
35
- "_theme_custom": "_theme_custom_eh656_gg_"
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);
@@ -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 loading_eh656{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_eh656_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_eh656_gg_._theme_dark_eh656_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_eh656_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_eh656;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_eh656);animation-duration:var(--duration_eh656);transition-duration:var(--duration_eh656)}.___SValue_eh656_gg_.__theme_eh656_gg_{background-color:var(--colorBg_eh656);background-image:var(--colorBg_eh656)}.___SProgressBar_eh656_gg_._size_s_eh656_gg_,.___SValue_eh656_gg_._size_s_eh656_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_eh656_gg_._size_m_eh656_gg_,.___SValue_eh656_gg_._size_m_eh656_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_eh656_gg_._size_l_eh656_gg_,.___SValue_eh656_gg_._size_l_eh656_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_eh656_gg_._theme_invert_eh656_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_eh656_gg_.__animation_eh656_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_eh656;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_eh656)}.___SProgressBar_eh656_gg_._theme_custom_eh656_gg_{background-color:var(--colorBg_eh656);background-image:var(--colorBg_eh656)}@media (prefers-reduced-motion){.___SProgressBar_eh656_gg_.__animation_eh656_gg_,.___SValue_eh656_gg_{animation-name:none}}" /*__inner_css_end__*/, "eh656_gg_") /*__reshadow_css_end__*/, {
16
- "__SProgressBar": "___SProgressBar_eh656_gg_",
17
- "_theme_dark": "_theme_dark_eh656_gg_",
18
- "__SValue": "___SValue_eh656_gg_",
19
- "--width": "--width_eh656",
20
- "--duration": "--duration_eh656",
21
- "_theme": "__theme_eh656_gg_",
22
- "--colorBg": "--colorBg_eh656",
23
- "_size_s": "_size_s_eh656_gg_",
24
- "_size_m": "_size_m_eh656_gg_",
25
- "_size_l": "_size_l_eh656_gg_",
26
- "_theme_invert": "_theme_invert_eh656_gg_",
27
- "@loading": "loading_eh656",
28
- "_animation": "__animation_eh656_gg_",
29
- "_theme_custom": "_theme_custom_eh656_gg_"
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);
@@ -1,96 +1,96 @@
1
- import m from "@babel/runtime/helpers/esm/objectSpread2";
2
- import S from "@babel/runtime/helpers/esm/classCallCheck";
3
- import k from "@babel/runtime/helpers/esm/createClass";
4
- import z from "@babel/runtime/helpers/esm/inherits";
5
- import y from "@babel/runtime/helpers/esm/createSuper";
6
- import s from "@babel/runtime/helpers/esm/defineProperty";
7
- import { sstyled as C } from "@semcore/utils/lib/core/index";
8
- import x, { sstyled as v, assignProps as p, Component as V } from "@semcore/core";
9
- import g from "react";
10
- import { Box as b } from "@semcore/flex-box";
11
- import w from "@semcore/utils/lib/enhances/resolveColorEnhance";
12
- var E = (
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
- (C.insert(
14
+ (y.insert(
15
15
  /*__inner_css_start__*/
16
- `@keyframes loading_eh656{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_eh656_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_eh656_gg_._theme_dark_eh656_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_eh656_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_eh656;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_eh656);animation-duration:var(--duration_eh656);transition-duration:var(--duration_eh656)}.___SValue_eh656_gg_.__theme_eh656_gg_{background-color:var(--colorBg_eh656);background-image:var(--colorBg_eh656)}.___SProgressBar_eh656_gg_._size_s_eh656_gg_,.___SValue_eh656_gg_._size_s_eh656_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_eh656_gg_._size_m_eh656_gg_,.___SValue_eh656_gg_._size_m_eh656_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_eh656_gg_._size_l_eh656_gg_,.___SValue_eh656_gg_._size_l_eh656_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_eh656_gg_._theme_invert_eh656_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_eh656_gg_.__animation_eh656_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_eh656;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_eh656)}.___SProgressBar_eh656_gg_._theme_custom_eh656_gg_{background-color:var(--colorBg_eh656);background-image:var(--colorBg_eh656)}@media (prefers-reduced-motion){.___SProgressBar_eh656_gg_.__animation_eh656_gg_,.___SValue_eh656_gg_{animation-name:none}}`,
19
- "eh656_gg_"
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: "___SProgressBar_eh656_gg_",
22
- _theme_dark: "_theme_dark_eh656_gg_",
23
- __SValue: "___SValue_eh656_gg_",
24
- "--width": "--width_eh656",
25
- "--duration": "--duration_eh656",
26
- _theme: "__theme_eh656_gg_",
27
- "--colorBg": "--colorBg_eh656",
28
- _size_s: "_size_s_eh656_gg_",
29
- _size_m: "_size_m_eh656_gg_",
30
- _size_l: "_size_l_eh656_gg_",
31
- _theme_invert: "_theme_invert_eh656_gg_",
32
- "@loading": "loading_eh656",
33
- _animation: "__animation_eh656_gg_",
34
- _theme_custom: "_theme_custom_eh656_gg_"
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 R(r) {
38
- return !["dark", "invert"].includes(r);
37
+ function E(e) {
38
+ return !["dark", "invert"].includes(e);
39
39
  }
40
- var n = /* @__PURE__ */ function(r) {
41
- z(a, r);
42
- var l = y(a);
40
+ var m = /* @__PURE__ */ function(e) {
41
+ k(a, e);
42
+ var l = z(a);
43
43
  function a() {
44
- return S(this, a), l.apply(this, arguments);
44
+ return B(this, a), l.apply(this, arguments);
45
45
  }
46
- return k(a, [{
46
+ return S(a, [{
47
47
  key: "getValueProps",
48
48
  value: function() {
49
- var _ = this.asProps, o = _.value, t = _.duration, e = _.size, i = _.resolveColor;
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: e,
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 = b, e = this.asProps, i = e.Children, h = e.styles, f = e.duration, c = e.theme, d = e.value, P = e.resolveColor, B = R(c) ? "custom" : c;
61
- return o = v(h), /* @__PURE__ */ g.createElement(t, o.cn("SProgressBar", m({}, p({
62
- "use:theme": B,
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(f, "ms"),
65
- colorBg: P(c),
64
+ "use:duration": "".concat(b, "ms"),
65
+ colorBg: f(c),
66
66
  role: "progressbar",
67
67
  "aria-valuenow": d
68
- }, _))), /* @__PURE__ */ g.createElement(i, o.cn("Children", {})));
68
+ }, _))), /* @__PURE__ */ n.createElement(i, o.cn("Children", {})));
69
69
  }
70
70
  }]), a;
71
- }(V);
72
- s(n, "displayName", "ProgressBar");
73
- s(n, "style", E);
74
- s(n, "enhance", [w()]);
75
- s(n, "defaultProps", function() {
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__ */ g.createElement(T.Value, null)
80
+ children: /* @__PURE__ */ n.createElement($.Value, null)
81
81
  };
82
82
  });
83
- function $(r) {
84
- var l = arguments[0], a, u = b, _ = r.styles, o = r.value, t = r.theme, e = r.duration, i = r.resolveColor, h = "".concat(o, "%");
85
- return a = v(_), /* @__PURE__ */ g.createElement(u, a.cn("SValue", m({}, p({
86
- "use:width": h,
87
- "use:duration": "".concat(e, "ms"),
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 T = x(n, {
92
- Value: $
91
+ var $ = C(m, {
92
+ Value: R
93
93
  });
94
94
  export {
95
- T as default
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.1",
4
+ "version": "4.40.2-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,11 +14,11 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/flex-box": "5.41.1",
18
- "@semcore/utils": "4.48.1"
17
+ "@semcore/flex-box": "5.41.2-prerelease.1",
18
+ "@semcore/utils": "4.48.2-prerelease.1"
19
19
  },
20
20
  "peerDependencies": {
21
- "@semcore/core": "^2.17.5",
21
+ "@semcore/core": "^2.39.2-prerelease.1",
22
22
  "react": "16.8 - 18",
23
23
  "react-dom": "16.8 - 18"
24
24
  },