@semcore/progress-bar 16.0.0-prerelease.2 → 16.0.0-prerelease.21

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,12 +2,30 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [16.0.0] - 2025-03-26
5
+ ## [16.0.0] - 2025-05-19
6
6
 
7
7
  ### Added
8
8
 
9
9
  - Major version.
10
10
 
11
+ ## [4.40.4] - 2025-05-13
12
+
13
+ ### Changed
14
+
15
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [5.41.3 ~> 5.41.4], `@semcore/utils` [4.48.4 ~> 4.48.5], `@semcore/core` [2.39.3 ~> 2.39.4]).
16
+
17
+ ## [4.40.3] - 2025-05-09
18
+
19
+ ### Changed
20
+
21
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [5.41.2 ~> 5.41.3], `@semcore/utils` [4.48.2 ~> 4.48.4], `@semcore/core` [2.39.2 ~> 2.39.3]).
22
+
23
+ ## [4.40.2] - 2025-04-04
24
+
25
+ ### Changed
26
+
27
+ - 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]).
28
+
11
29
  ## [4.40.1] - 2025-03-20
12
30
 
13
31
  ### Changed
@@ -15,8 +15,10 @@ var _core = require("@semcore/core");
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _flexBox = require("@semcore/flex-box");
17
17
  var _resolveColorEnhance = _interopRequireDefault(require("@semcore/core/lib/utils/enhances/resolveColorEnhance"));
18
- /*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_1fe10{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1fe10_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_._theme_dark_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1fe10);animation-duration:var(--duration_1fe10);transition-duration:var(--duration_1fe10)}.___SValue_1fe10_gg_.__theme_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}.___SProgressBar_1fe10_gg_._size_s_1fe10_gg_,.___SValue_1fe10_gg_._size_s_1fe10_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1fe10_gg_._size_m_1fe10_gg_,.___SValue_1fe10_gg_._size_m_1fe10_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1fe10_gg_._size_l_1fe10_gg_,.___SValue_1fe10_gg_._size_l_1fe10_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1fe10_gg_._theme_invert_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_.__animation_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1fe10)}.___SProgressBar_1fe10_gg_._theme_custom_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}@media (prefers-reduced-motion){.___SProgressBar_1fe10_gg_.__animation_1fe10_gg_,.___SValue_1fe10_gg_{animation-name:none}}" /*__inner_css_end__*/, "1fe10_gg_") /*__reshadow_css_end__*/, {
18
+ /*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
19
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_1fe10{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1fe10_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_._theme_dark_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1fe10);animation-duration:var(--duration_1fe10);transition-duration:var(--duration_1fe10)}.___SValue_1fe10_gg_.__theme_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}.___SProgressBar_1fe10_gg_._size_s_1fe10_gg_,.___SValue_1fe10_gg_._size_s_1fe10_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1fe10_gg_._size_m_1fe10_gg_,.___SValue_1fe10_gg_._size_m_1fe10_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1fe10_gg_._size_l_1fe10_gg_,.___SValue_1fe10_gg_._size_l_1fe10_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1fe10_gg_._theme_invert_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_.__animation_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1fe10)}.___SProgressBar_1fe10_gg_._theme_custom_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}@media (prefers-reduced-motion){.___SProgressBar_1fe10_gg_.__animation_1fe10_gg_,.___SValue_1fe10_gg_{animation-name:none}}", /*__inner_css_end__*/"1fe10_gg_"),
20
+ /*__reshadow_css_end__*/
21
+ {
20
22
  "__SProgressBar": "___SProgressBar_1fe10_gg_",
21
23
  "_theme_dark": "_theme_dark_1fe10_gg_",
22
24
  "__SValue": "___SValue_1fe10_gg_",
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.js","names":["_core","require","_react","_interopRequireDefault","_flexBox","_resolveColorEnhance","style","sstyled","insert","isCustomTheme","theme","includes","ProgressBarRoot","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","getValueProps","_this$asProps","asProps","duration","size","resolveColor","render","_ref","_ref3","SProgressBar","Box","_this$asProps2","Children","styles","useTheme","createElement","cn","_objectSpread2","assignProps","concat","Component","_defineProperty2","resolveColorEnhance","children","ProgressBar","Value","props","_ref2","arguments[0]","_ref4","SValue","width","createComponent","_default","exports"],"sources":["../../src/ProgressBar.jsx"],"sourcesContent":["import React from 'react';\nimport { createComponent, Component, sstyled, Root } from '@semcore/core';\nimport { Box } from '@semcore/flex-box';\nimport resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEnhance';\n\nimport style from './style/progress-bar.shadow.css';\n\nfunction isCustomTheme(theme) {\n return !['dark', 'invert'].includes(theme);\n}\n\nclass ProgressBarRoot extends Component {\n static displayName = 'ProgressBar';\n static style = style;\n static enhance = [resolveColorEnhance()];\n static defaultProps = () => ({\n duration: 1000,\n size: 'm',\n theme: 'invert',\n children: <ProgressBar.Value />,\n });\n\n getValueProps() {\n const { value, duration, size, resolveColor } = this.asProps;\n return {\n value,\n duration,\n size,\n resolveColor,\n };\n }\n\n render() {\n const SProgressBar = Root;\n const { Children, styles, duration, theme, value, resolveColor } = this.asProps;\n const useTheme = isCustomTheme(theme) ? 'custom' : theme;\n\n return sstyled(styles)(\n <SProgressBar\n render={Box}\n use:theme={useTheme}\n use:animation={!value}\n use:duration={`${duration}ms`}\n colorBg={resolveColor(theme)}\n role='progressbar'\n aria-valuenow={value}\n >\n <Children />\n </SProgressBar>,\n );\n }\n}\n\nfunction Value(props) {\n const SValue = Root;\n const { styles, value, theme, duration, resolveColor } = props;\n const width = `${value}%`;\n\n return sstyled(styles)(\n <SValue\n render={Box}\n use:width={width}\n use:duration={`${duration}ms`}\n colorBg={resolveColor(theme)}\n />,\n );\n}\n\nconst ProgressBar = createComponent(ProgressBarRoot, {\n Value,\n});\n\nexport default ProgressBar;\n"],"mappings":";;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,O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AAA,GAAAC,YAAA;IAAAC,KAAA;EACpB,IAAMC,MAAM,GAMApB,YAAG;EALf,IAAQG,MAAM,GAA2Ca,KAAK,CAAtDb,MAAM;IAAEd,KAAK,GAAoC2B,KAAK,CAA9C3B,KAAK;IAAEZ,KAAK,GAA6BuC,KAAK,CAAvCvC,KAAK;IAAEgB,QAAQ,GAAmBuB,KAAK,CAAhCvB,QAAQ;IAAEE,YAAY,GAAKqB,KAAK,CAAtBrB,YAAY;EACpD,IAAM0B,KAAK,MAAAZ,MAAA,CAAMpB,KAAK,MAAG;EAEzB,OAAA8B,KAAA,GAAO,IAAA7C,aAAO,EAAC6B,MAAM,CAAC,eACpBlC,MAAA,YAAAoC,aAAA,CAACe,MAAM,EAAAD,KAAA,CAAAb,EAAA,eAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA;IAAA,aAEMa,KAAK;IAAA,mBAAAZ,MAAA,CACChB,QAAQ;IAAA,WAChBE,YAAY,CAAClB,KAAK;EAAC,GAAAwC,KAAA,IAC5B;AAEN;AAEA,IAAMH,WAAW,GAAG,IAAAQ,qBAAe,EAAC3C,eAAe,EAAE;EACnDoC,KAAK,EAALA;AACF,CAAC,CAAC;AAAC,IAAAQ,QAAA,GAEYT,WAAW;AAAAU,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"ProgressBar.js","names":["_core","require","_react","_interopRequireDefault","_flexBox","_resolveColorEnhance","style","sstyled","insert","isCustomTheme","theme","includes","ProgressBarRoot","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","getValueProps","_this$asProps","asProps","duration","size","resolveColor","render","_ref","_ref3","SProgressBar","Box","_this$asProps2","Children","styles","useTheme","createElement","cn","_objectSpread2","assignProps","concat","Component","_defineProperty2","resolveColorEnhance","children","ProgressBar","Value","props","_ref2","arguments[0]","_ref4","SValue","width","createComponent","_default","exports"],"sources":["../../src/ProgressBar.jsx"],"sourcesContent":["import React from 'react';\nimport { createComponent, Component, sstyled, Root } from '@semcore/core';\nimport { Box } from '@semcore/flex-box';\nimport resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEnhance';\n\nimport style from './style/progress-bar.shadow.css';\n\nfunction isCustomTheme(theme) {\n return !['dark', 'invert'].includes(theme);\n}\n\nclass ProgressBarRoot extends Component {\n static displayName = 'ProgressBar';\n static style = style;\n static enhance = [resolveColorEnhance()];\n static defaultProps = () => ({\n duration: 1000,\n size: 'm',\n theme: 'invert',\n children: <ProgressBar.Value />,\n });\n\n getValueProps() {\n const { value, duration, size, resolveColor } = this.asProps;\n return {\n value,\n duration,\n size,\n resolveColor,\n };\n }\n\n render() {\n const SProgressBar = Root;\n const { Children, styles, duration, theme, value, resolveColor } = this.asProps;\n const useTheme = isCustomTheme(theme) ? 'custom' : theme;\n\n return sstyled(styles)(\n <SProgressBar\n render={Box}\n use:theme={useTheme}\n use:animation={!value}\n use:duration={`${duration}ms`}\n colorBg={resolveColor(theme)}\n role='progressbar'\n aria-valuenow={value}\n >\n <Children />\n </SProgressBar>,\n );\n }\n}\n\nfunction Value(props) {\n const SValue = Root;\n const { styles, value, theme, duration, resolveColor } = props;\n const width = `${value}%`;\n\n return sstyled(styles)(\n <SValue\n render={Box}\n use:width={width}\n use:duration={`${duration}ms`}\n colorBg={resolveColor(theme)}\n />,\n );\n}\n\nconst ProgressBar = createComponent(ProgressBarRoot, {\n Value,\n});\n\nexport default ProgressBar;\n"],"mappings":";;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAF,sBAAA,CAAAF,OAAA;AAAuF;AAAA,IAAAK,KAAA,+BAAAN,KAAA,CAAAO,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;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,QAAQ;IAAEE,YAAY,GAAKqB,KAAK,CAAtBrB,YAAY;EACpD,IAAM0B,KAAK,MAAAZ,MAAA,CAAMpB,KAAK,MAAG;EAEzB,OAAA8B,KAAA,GAAO,IAAA7C,aAAO,EAAC6B,MAAM,CAAC,eACpBlC,MAAA,YAAAoC,aAAA,CAACe,MAAM,EAAAD,KAAA,CAAAb,EAAA,eAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA;IAAA,aAEMa,KAAK;IAAA,mBAAAZ,MAAA,CACChB,QAAQ;IAAA,WAChBE,YAAY,CAAClB,KAAK;EAAC,GAAAwC,KAAA,IAC5B;AAEN;AAEA,IAAMH,WAAW,GAAG,IAAAQ,qBAAe,EAAC3C,eAAe,EAAE;EACnDoC,KAAK,EAALA;AACF,CAAC,CAAC;AAAC,IAAAQ,QAAA,GAEYT,WAAW;AAAAU,OAAA,cAAAD,QAAA"}
@@ -11,8 +11,10 @@ import React from 'react';
11
11
  import { createComponent, Component, sstyled, Root } from '@semcore/core';
12
12
  import { Box } from '@semcore/flex-box';
13
13
  import resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEnhance';
14
- /*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_1fe10{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1fe10_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_._theme_dark_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1fe10);animation-duration:var(--duration_1fe10);transition-duration:var(--duration_1fe10)}.___SValue_1fe10_gg_.__theme_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}.___SProgressBar_1fe10_gg_._size_s_1fe10_gg_,.___SValue_1fe10_gg_._size_s_1fe10_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1fe10_gg_._size_m_1fe10_gg_,.___SValue_1fe10_gg_._size_m_1fe10_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1fe10_gg_._size_l_1fe10_gg_,.___SValue_1fe10_gg_._size_l_1fe10_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1fe10_gg_._theme_invert_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_.__animation_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1fe10)}.___SProgressBar_1fe10_gg_._theme_custom_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}@media (prefers-reduced-motion){.___SProgressBar_1fe10_gg_.__animation_1fe10_gg_,.___SValue_1fe10_gg_{animation-name:none}}" /*__inner_css_end__*/, "1fe10_gg_") /*__reshadow_css_end__*/, {
14
+ /*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_1fe10{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1fe10_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_._theme_dark_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1fe10);animation-duration:var(--duration_1fe10);transition-duration:var(--duration_1fe10)}.___SValue_1fe10_gg_.__theme_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}.___SProgressBar_1fe10_gg_._size_s_1fe10_gg_,.___SValue_1fe10_gg_._size_s_1fe10_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1fe10_gg_._size_m_1fe10_gg_,.___SValue_1fe10_gg_._size_m_1fe10_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1fe10_gg_._size_l_1fe10_gg_,.___SValue_1fe10_gg_._size_l_1fe10_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1fe10_gg_._theme_invert_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_.__animation_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1fe10)}.___SProgressBar_1fe10_gg_._theme_custom_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}@media (prefers-reduced-motion){.___SProgressBar_1fe10_gg_.__animation_1fe10_gg_,.___SValue_1fe10_gg_{animation-name:none}}", /*__inner_css_end__*/"1fe10_gg_"),
16
+ /*__reshadow_css_end__*/
17
+ {
16
18
  "__SProgressBar": "___SProgressBar_1fe10_gg_",
17
19
  "_theme_dark": "_theme_dark_1fe10_gg_",
18
20
  "__SValue": "___SValue_1fe10_gg_",
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.js","names":["React","createComponent","Component","sstyled","Root","Box","resolveColorEnhance","style","_sstyled","insert","isCustomTheme","theme","includes","ProgressBarRoot","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","getValueProps","_this$asProps","asProps","duration","size","resolveColor","render","_ref","_ref3","SProgressBar","_this$asProps2","Children","styles","useTheme","createElement","cn","_objectSpread","_assignProps","concat","_defineProperty","children","ProgressBar","Value","props","_ref2","arguments[0]","_ref4","SValue","width","_assignProps2"],"sources":["../../src/ProgressBar.jsx"],"sourcesContent":["import React from 'react';\nimport { createComponent, Component, sstyled, Root } from '@semcore/core';\nimport { Box } from '@semcore/flex-box';\nimport resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEnhance';\n\nimport style from './style/progress-bar.shadow.css';\n\nfunction isCustomTheme(theme) {\n return !['dark', 'invert'].includes(theme);\n}\n\nclass ProgressBarRoot extends Component {\n static displayName = 'ProgressBar';\n static style = style;\n static enhance = [resolveColorEnhance()];\n static defaultProps = () => ({\n duration: 1000,\n size: 'm',\n theme: 'invert',\n children: <ProgressBar.Value />,\n });\n\n getValueProps() {\n const { value, duration, size, resolveColor } = this.asProps;\n return {\n value,\n duration,\n size,\n resolveColor,\n };\n }\n\n render() {\n const SProgressBar = Root;\n const { Children, styles, duration, theme, value, resolveColor } = this.asProps;\n const useTheme = isCustomTheme(theme) ? 'custom' : theme;\n\n return sstyled(styles)(\n <SProgressBar\n render={Box}\n use:theme={useTheme}\n use:animation={!value}\n use:duration={`${duration}ms`}\n colorBg={resolveColor(theme)}\n role='progressbar'\n aria-valuenow={value}\n >\n <Children />\n </SProgressBar>,\n );\n }\n}\n\nfunction Value(props) {\n const SValue = Root;\n const { styles, value, theme, duration, resolveColor } = props;\n const width = `${value}%`;\n\n return sstyled(styles)(\n <SValue\n render={Box}\n use:width={width}\n use:duration={`${duration}ms`}\n colorBg={resolveColor(theme)}\n />,\n );\n}\n\nconst ProgressBar = createComponent(ProgressBarRoot, {\n Value,\n});\n\nexport default ProgressBar;\n"],"mappings":";;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe,EAAEC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,GAAG,QAAQ,mBAAmB;AACvC,OAAOC,mBAAmB,MAAM,sDAAsD;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAIvF,SAASC,aAAaA,CAACC,KAAK,EAAE;EAC5B,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAACC,QAAQ,CAACD,KAAK,CAAC;AAC5C;AAAC,IAEKE,eAAe,0BAAAC,UAAA;EAAAC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aAAA;IAAA,aAEMD,KAAK;IAAA,mBAAAV,MAAA,CACCf,QAAQ;IAAA,WAChBE,YAAY,CAAClB,KAAK;EAAC,GAAAqC,KAAA,IAC5B;AAEN;AAEA,IAAMH,WAAW,GAAG5C,eAAe,CAACY,eAAe,EAAE;EACnDiC,KAAK,EAALA;AACF,CAAC,CAAC;AAEF,eAAeD,WAAW"}
1
+ {"version":3,"file":"ProgressBar.js","names":["React","createComponent","Component","sstyled","Root","Box","resolveColorEnhance","style","_sstyled","insert","isCustomTheme","theme","includes","ProgressBarRoot","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","getValueProps","_this$asProps","asProps","duration","size","resolveColor","render","_ref","_ref3","SProgressBar","_this$asProps2","Children","styles","useTheme","createElement","cn","_objectSpread","_assignProps","concat","_defineProperty","children","ProgressBar","Value","props","_ref2","arguments[0]","_ref4","SValue","width","_assignProps2"],"sources":["../../src/ProgressBar.jsx"],"sourcesContent":["import React from 'react';\nimport { createComponent, Component, sstyled, Root } from '@semcore/core';\nimport { Box } from '@semcore/flex-box';\nimport resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEnhance';\n\nimport style from './style/progress-bar.shadow.css';\n\nfunction isCustomTheme(theme) {\n return !['dark', 'invert'].includes(theme);\n}\n\nclass ProgressBarRoot extends Component {\n static displayName = 'ProgressBar';\n static style = style;\n static enhance = [resolveColorEnhance()];\n static defaultProps = () => ({\n duration: 1000,\n size: 'm',\n theme: 'invert',\n children: <ProgressBar.Value />,\n });\n\n getValueProps() {\n const { value, duration, size, resolveColor } = this.asProps;\n return {\n value,\n duration,\n size,\n resolveColor,\n };\n }\n\n render() {\n const SProgressBar = Root;\n const { Children, styles, duration, theme, value, resolveColor } = this.asProps;\n const useTheme = isCustomTheme(theme) ? 'custom' : theme;\n\n return sstyled(styles)(\n <SProgressBar\n render={Box}\n use:theme={useTheme}\n use:animation={!value}\n use:duration={`${duration}ms`}\n colorBg={resolveColor(theme)}\n role='progressbar'\n aria-valuenow={value}\n >\n <Children />\n </SProgressBar>,\n );\n }\n}\n\nfunction Value(props) {\n const SValue = Root;\n const { styles, value, theme, duration, resolveColor } = props;\n const width = `${value}%`;\n\n return sstyled(styles)(\n <SValue\n render={Box}\n use:width={width}\n use:duration={`${duration}ms`}\n colorBg={resolveColor(theme)}\n />,\n );\n}\n\nconst ProgressBar = createComponent(ProgressBarRoot, {\n Value,\n});\n\nexport default ProgressBar;\n"],"mappings":";;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe,EAAEC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,GAAG,QAAQ,mBAAmB;AACvC,OAAOC,mBAAmB,MAAM,sDAAsD;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAIvF,SAASC,aAAaA,CAACC,KAAK,EAAE;EAC5B,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAACC,QAAQ,CAACD,KAAK,CAAC;AAC5C;AAAC,IAEKE,eAAe,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,eAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,eAAA;EAAA,SAAAA,gBAAA;IAAAK,eAAA,OAAAL,eAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAAC,YAAA,CAAAR,eAAA;IAAAS,GAAA;IAAAC,KAAA,EAWnB,SAAAC,cAAA,EAAgB;MACd,IAAAC,aAAA,GAAgD,IAAI,CAACC,OAAO;QAApDH,KAAK,GAAAE,aAAA,CAALF,KAAK;QAAEI,QAAQ,GAAAF,aAAA,CAARE,QAAQ;QAAEC,IAAI,GAAAH,aAAA,CAAJG,IAAI;QAAEC,YAAY,GA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AACP,mBAAmB,EAAE,CAAC;AAAAqC,eAAA,CAHpC9B,eAAe,kBAIG;EAAA,OAAO;IAC3Bc,QAAQ,EAAE,IAAI;IACdC,IAAI,EAAE,GAAG;IACTjB,KAAK,EAAE,QAAQ;IACfiC,QAAQ,eAAE5C,KAAA,CAAAsC,aAAA,CAACO,WAAW,CAACC,KAAK;EAC9B,CAAC;AAAA,CAAC;AAiCJ,SAASA,KAAKA,CAACC,KAAK,EAAE;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EACpB,IAAMC,MAAM,GAMA9C,GAAG;EALf,IAAQ+B,MAAM,GAA2CW,KAAK,CAAtDX,MAAM;IAAEb,KAAK,GAAoCwB,KAAK,CAA9CxB,KAAK;IAAEZ,KAAK,GAA6BoC,KAAK,CAAvCpC,KAAK;IAAEgB,QAAQ,GAAmBoB,KAAK,CAAhCpB,QAAQ;IAAEE,YAAY,GAAKkB,KAAK,CAAtBlB,YAAY;EACpD,IAAMuB,KAAK,MAAAV,MAAA,CAAMnB,KAAK,MAAG;EAEzB,OAAA2B,KAAA,GAAO/C,OAAO,CAACiC,MAAM,CAAC,eACpBpC,KAAA,CAAAsC,aAAA,CAACa,MAAM,EAAAD,KAAA,CAAAX,EAAA,WAAAC,aAAA,KAAAa,aAAA;IAAA,aAEMD,KAAK;IAAA,mBAAAV,MAAA,CACCf,QAAQ;IAAA,WAChBE,YAAY,CAAClB,KAAK;EAAC,GAAAqC,KAAA,IAC5B;AAEN;AAEA,IAAMH,WAAW,GAAG5C,eAAe,CAACY,eAAe,EAAE;EACnDiC,KAAK,EAALA;AACF,CAAC,CAAC;AAEF,eAAeD,WAAW"}
@@ -1,95 +1,104 @@
1
- import v 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 C from "@babel/runtime/helpers/esm/createSuper";
6
- import s from "@babel/runtime/helpers/esm/defineProperty";
7
- import { sstyled as m, createComponent as x, assignProps as p, Component as y } from "@semcore/core";
8
- import g from "react";
9
- import { Box as h } from "@semcore/flex-box";
10
- import V from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
11
- var w = (
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
4
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
5
+ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
6
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
7
+ import { sstyled, createComponent, assignProps, Component } from "@semcore/core";
8
+ import React from "react";
9
+ import { Box } from "@semcore/flex-box";
10
+ import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
11
+ /*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
12
+ var style = (
12
13
  /*__reshadow_css_start__*/
13
- (m.insert(
14
+ (sstyled.insert(
14
15
  /*__inner_css_start__*/
15
- `@keyframes loading_1fe10{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1fe10_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_._theme_dark_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1fe10_gg_{position:absolute;top:0;left:0;background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-value-gradient,
16
- 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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1fe10);animation-duration:var(--duration_1fe10);transition-duration:var(--duration_1fe10)}.___SValue_1fe10_gg_.__theme_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}.___SProgressBar_1fe10_gg_._size_s_1fe10_gg_,.___SValue_1fe10_gg_._size_s_1fe10_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1fe10_gg_._size_m_1fe10_gg_,.___SValue_1fe10_gg_._size_m_1fe10_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1fe10_gg_._size_l_1fe10_gg_,.___SValue_1fe10_gg_._size_l_1fe10_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1fe10_gg_._theme_invert_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_.__animation_1fe10_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,
17
- 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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1fe10)}.___SProgressBar_1fe10_gg_._theme_custom_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}@media (prefers-reduced-motion){.___SProgressBar_1fe10_gg_.__animation_1fe10_gg_,.___SValue_1fe10_gg_{animation-name:none}}`,
16
+ "@keyframes loading_1fe10{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1fe10_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_._theme_dark_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1fe10);animation-duration:var(--duration_1fe10);transition-duration:var(--duration_1fe10)}.___SValue_1fe10_gg_.__theme_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}.___SProgressBar_1fe10_gg_._size_s_1fe10_gg_,.___SValue_1fe10_gg_._size_s_1fe10_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1fe10_gg_._size_m_1fe10_gg_,.___SValue_1fe10_gg_._size_m_1fe10_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1fe10_gg_._size_l_1fe10_gg_,.___SValue_1fe10_gg_._size_l_1fe10_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1fe10_gg_._theme_invert_1fe10_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1fe10_gg_.__animation_1fe10_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_1fe10;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1fe10)}.___SProgressBar_1fe10_gg_._theme_custom_1fe10_gg_{background-color:var(--colorBg_1fe10);background-image:var(--colorBg_1fe10)}@media (prefers-reduced-motion){.___SProgressBar_1fe10_gg_.__animation_1fe10_gg_,.___SValue_1fe10_gg_{animation-name:none}}",
17
+ /*__inner_css_end__*/
18
18
  "1fe10_gg_"
19
- ), {
20
- __SProgressBar: "___SProgressBar_1fe10_gg_",
21
- _theme_dark: "_theme_dark_1fe10_gg_",
22
- __SValue: "___SValue_1fe10_gg_",
19
+ ), /*__reshadow_css_end__*/
20
+ {
21
+ "__SProgressBar": "___SProgressBar_1fe10_gg_",
22
+ "_theme_dark": "_theme_dark_1fe10_gg_",
23
+ "__SValue": "___SValue_1fe10_gg_",
23
24
  "--width": "--width_1fe10",
24
25
  "--duration": "--duration_1fe10",
25
- _theme: "__theme_1fe10_gg_",
26
+ "_theme": "__theme_1fe10_gg_",
26
27
  "--colorBg": "--colorBg_1fe10",
27
- _size_s: "_size_s_1fe10_gg_",
28
- _size_m: "_size_m_1fe10_gg_",
29
- _size_l: "_size_l_1fe10_gg_",
30
- _theme_invert: "_theme_invert_1fe10_gg_",
28
+ "_size_s": "_size_s_1fe10_gg_",
29
+ "_size_m": "_size_m_1fe10_gg_",
30
+ "_size_l": "_size_l_1fe10_gg_",
31
+ "_theme_invert": "_theme_invert_1fe10_gg_",
31
32
  "@loading": "loading_1fe10",
32
- _animation: "__animation_1fe10_gg_",
33
- _theme_custom: "_theme_custom_1fe10_gg_"
33
+ "_animation": "__animation_1fe10_gg_",
34
+ "_theme_custom": "_theme_custom_1fe10_gg_"
34
35
  })
35
36
  );
36
- function E(r) {
37
- return !["dark", "invert"].includes(r);
37
+ function isCustomTheme(theme) {
38
+ return !["dark", "invert"].includes(theme);
38
39
  }
39
- var n = /* @__PURE__ */ function(r) {
40
- z(a, r);
41
- var l = C(a);
42
- function a() {
43
- return S(this, a), l.apply(this, arguments);
40
+ var ProgressBarRoot = /* @__PURE__ */ function(_Component) {
41
+ _inherits(ProgressBarRoot2, _Component);
42
+ var _super = _createSuper(ProgressBarRoot2);
43
+ function ProgressBarRoot2() {
44
+ _classCallCheck(this, ProgressBarRoot2);
45
+ return _super.apply(this, arguments);
44
46
  }
45
- return k(a, [{
47
+ _createClass(ProgressBarRoot2, [{
46
48
  key: "getValueProps",
47
- value: function() {
48
- var _ = this.asProps, o = _.value, i = _.duration, e = _.size, t = _.resolveColor;
49
+ value: function getValueProps() {
50
+ var _this$asProps = this.asProps, value = _this$asProps.value, duration = _this$asProps.duration, size = _this$asProps.size, resolveColor = _this$asProps.resolveColor;
49
51
  return {
50
- value: o,
51
- duration: i,
52
- size: e,
53
- resolveColor: t
52
+ value,
53
+ duration,
54
+ size,
55
+ resolveColor
54
56
  };
55
57
  }
56
58
  }, {
57
59
  key: "render",
58
- value: function() {
59
- var _ = this.asProps, o, i = h, e = this.asProps, t = e.Children, c = e.styles, b = e.duration, d = e.theme, f = e.value, P = e.resolveColor, B = E(d) ? "custom" : d;
60
- return o = m(c), /* @__PURE__ */ g.createElement(i, o.cn("SProgressBar", v({}, p({
61
- "use:theme": B,
62
- "use:animation": !f,
63
- "use:duration": "".concat(b, "ms"),
64
- colorBg: P(d),
65
- role: "progressbar",
66
- "aria-valuenow": f
67
- }, _))), /* @__PURE__ */ g.createElement(t, o.cn("Children", {})));
60
+ value: function render() {
61
+ var _ref = this.asProps, _ref3;
62
+ var SProgressBar = Box;
63
+ var _this$asProps2 = this.asProps, Children = _this$asProps2.Children, styles = _this$asProps2.styles, duration = _this$asProps2.duration, theme = _this$asProps2.theme, value = _this$asProps2.value, resolveColor = _this$asProps2.resolveColor;
64
+ var useTheme = isCustomTheme(theme) ? "custom" : theme;
65
+ return _ref3 = sstyled(styles), /* @__PURE__ */ React.createElement(SProgressBar, _ref3.cn("SProgressBar", _objectSpread({}, assignProps({
66
+ "use:theme": useTheme,
67
+ "use:animation": !value,
68
+ "use:duration": "".concat(duration, "ms"),
69
+ "colorBg": resolveColor(theme),
70
+ "role": "progressbar",
71
+ "aria-valuenow": value
72
+ }, _ref))), /* @__PURE__ */ React.createElement(Children, _ref3.cn("Children", {})));
68
73
  }
69
- }]), a;
70
- }(y);
71
- s(n, "displayName", "ProgressBar");
72
- s(n, "style", w);
73
- s(n, "enhance", [V()]);
74
- s(n, "defaultProps", function() {
74
+ }]);
75
+ return ProgressBarRoot2;
76
+ }(Component);
77
+ _defineProperty(ProgressBarRoot, "displayName", "ProgressBar");
78
+ _defineProperty(ProgressBarRoot, "style", style);
79
+ _defineProperty(ProgressBarRoot, "enhance", [resolveColorEnhance()]);
80
+ _defineProperty(ProgressBarRoot, "defaultProps", function() {
75
81
  return {
76
82
  duration: 1e3,
77
83
  size: "m",
78
84
  theme: "invert",
79
- children: /* @__PURE__ */ g.createElement(T.Value, null)
85
+ children: /* @__PURE__ */ React.createElement(ProgressBar.Value, null)
80
86
  };
81
87
  });
82
- function R(r) {
83
- var l = arguments[0], a, u = h, _ = r.styles, o = r.value, i = r.theme, e = r.duration, t = r.resolveColor, c = "".concat(o, "%");
84
- return a = m(_), /* @__PURE__ */ g.createElement(u, a.cn("SValue", v({}, p({
85
- "use:width": c,
86
- "use:duration": "".concat(e, "ms"),
87
- colorBg: t(i)
88
- }, l))));
88
+ function Value(props) {
89
+ var _ref2 = arguments[0], _ref4;
90
+ var SValue = Box;
91
+ var styles = props.styles, value = props.value, theme = props.theme, duration = props.duration, resolveColor = props.resolveColor;
92
+ var width = "".concat(value, "%");
93
+ return _ref4 = sstyled(styles), /* @__PURE__ */ React.createElement(SValue, _ref4.cn("SValue", _objectSpread({}, assignProps({
94
+ "use:width": width,
95
+ "use:duration": "".concat(duration, "ms"),
96
+ "colorBg": resolveColor(theme)
97
+ }, _ref2))));
89
98
  }
90
- var T = x(n, {
91
- Value: R
99
+ var ProgressBar = createComponent(ProgressBarRoot, {
100
+ Value
92
101
  });
93
102
  export {
94
- T as default
103
+ ProgressBar as default
95
104
  };
package/lib/esm/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { default as o } from "./ProgressBar.mjs";
1
+ import { default as default2 } from "./ProgressBar.mjs";
2
2
  export {
3
- o as default
3
+ default2 as default
4
4
  };
@@ -0,0 +1,97 @@
1
+ SProgressBar {
2
+ position: relative;
3
+ width: 100%;
4
+ overflow: hidden;
5
+ background-color: var(--intergalactic-progress-bar-bg, #e0e1e9);
6
+ }
7
+
8
+ SProgressBar[theme='dark'] {
9
+ background-color: var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2));
10
+ }
11
+
12
+ SValue {
13
+ position: absolute;
14
+ top: 0;
15
+ left: 0;
16
+ background-color: var(--intergalactic-progress-bar-value-bg, #000000);
17
+ background-image: var(--intergalactic-progress-bar-value-gradient,
18
+ 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%));
19
+ overflow: hidden;
20
+
21
+ animation-name: loading;
22
+ animation-timing-function: linear;
23
+ animation-iteration-count: infinite;
24
+ transition-property: width;
25
+ transition-timing-function: linear;
26
+ width: var(--width);
27
+ animation-duration: var(--duration);
28
+ transition-duration: var(--duration);
29
+ }
30
+
31
+ SValue[theme] {
32
+ background-color: var(--colorBg);
33
+ background-image: var(--colorBg);
34
+ }
35
+
36
+ SProgressBar[size='s'],
37
+ SValue[size='s'] {
38
+ height: 4px;
39
+ border-radius: var(--intergalactic-progress-bar-rounded, 6px);
40
+ background-size: 8px 8px;
41
+ }
42
+
43
+ SProgressBar[size='m'],
44
+ SValue[size='m'] {
45
+ height: 8px;
46
+ border-radius: var(--intergalactic-progress-bar-rounded, 6px);
47
+ background-size: 12px 12px;
48
+ }
49
+
50
+ SProgressBar[size='l'],
51
+ SValue[size='l'] {
52
+ height: 12px;
53
+ border-radius: var(--intergalactic-progress-bar-rounded, 6px);
54
+ background-size: 16px 16px;
55
+ }
56
+
57
+
58
+
59
+ SProgressBar[theme='invert'] {
60
+ background-color: var(--intergalactic-progress-bar-bg, #e0e1e9);
61
+ }
62
+
63
+ @keyframes loading {
64
+ from {
65
+ background-position: 0 0;
66
+ }
67
+
68
+ to {
69
+ background-position: 60px 0;
70
+ }
71
+ }
72
+
73
+ SProgressBar[animation] {
74
+ background-color: var(--intergalactic-progress-bar-value-bg, #000000);
75
+ background-image: var(--intergalactic-progress-bar-pattern-gradient,
76
+ 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%));
77
+ animation-name: loading;
78
+ animation-timing-function: linear;
79
+ animation-iteration-count: infinite;
80
+ animation-duration: var(--duration);
81
+ }
82
+
83
+ SProgressBar[theme='custom'] {
84
+ background-color: var(--colorBg);
85
+ background-image: var(--colorBg);
86
+ }
87
+
88
+
89
+ @media (prefers-reduced-motion) {
90
+ SValue {
91
+ animation-name: none;
92
+ }
93
+
94
+ SProgressBar[animation] {
95
+ animation-name: none;
96
+ }
97
+ }
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.0-prerelease.2",
4
+ "version": "16.0.0-prerelease.21",
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.0-prerelease.2"
17
+ "@semcore/flex-box": "16.0.0-prerelease.21"
18
18
  },
19
19
  "peerDependencies": {
20
- "@semcore/base-components": "^16.0.0-prerelease.2"
20
+ "@semcore/base-components": "^16.0.0-prerelease.21"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",