@semcore/progress-bar 16.0.11-prerelease.5 → 16.1.0-prerelease.0

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,7 +2,13 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [16.0.11] - 2025-10-28
5
+ ## [16.1.0] - 2026-05-07
6
+
7
+ ### Added
8
+
9
+ - New brand theme.
10
+
11
+ ## [16.0.11] - 2025-10-29
6
12
 
7
13
  ### Changed
8
14
 
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![version](https://img.shields.io/npm/v/@semcore/progress-bar.svg)](https://www.npmjs.com/@semcore/progress-bar)
4
4
  [![downloads](https://img.shields.io/npm/dt/@semcore/progress-bar.svg)](https://www.npmjs.com/package/@semcore/progress-bar)
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/semrush/intergalactic/blob/master/LICENSE)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/semrush/intergalactic/blob/HEAD/LICENSE)
6
6
 
7
7
  > This component is part of the Intergalactic Design System
8
8
 
@@ -20,13 +20,13 @@ npm install @semcore/progress-bar
20
20
 
21
21
  ## 👤 Author
22
22
 
23
- [UI-kit team](https://github.com/semrush/intergalactic/blob/master/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
23
+ [UI-kit team](https://github.com/semrush/intergalactic/blob/HEAD/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
24
24
 
25
25
  ## 🤝 Contributing
26
26
 
27
27
  Contributions, issues and feature requests are welcome!
28
28
 
29
- Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/master/CONTRIBUTING.md).
29
+ Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/HEAD/CONTRIBUTING.md).
30
30
 
31
31
  ## Show your support
32
32
 
@@ -34,4 +34,4 @@ Give a ⭐️ if this project helped you!
34
34
 
35
35
  ## 📝 License
36
36
 
37
- This project is [MIT](https://github.com/semrush/intergalactic/blob/master/LICENSE) licensed.
37
+ This project is [MIT](https://github.com/semrush/intergalactic/blob/HEAD/LICENSE) licensed.
@@ -16,23 +16,23 @@ var _resolveColorEnhance = _interopRequireDefault(require("@semcore/core/lib/uti
16
16
  var _flexBox = require("@semcore/flex-box");
17
17
  var _react = _interopRequireDefault(require("react"));
18
18
  /*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
19
- var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes loading_1jpsk{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1jpsk_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1jpsk_gg_._theme_dark_1jpsk_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1jpsk_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_1jpsk;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1jpsk);animation-duration:var(--duration_1jpsk);transition-duration:var(--duration_1jpsk)}.___SValue_1jpsk_gg_.__theme_1jpsk_gg_{background-color:var(--colorBg_1jpsk);background-image:var(--colorBg_1jpsk)}.___SProgressBar_1jpsk_gg_._size_s_1jpsk_gg_,.___SValue_1jpsk_gg_._size_s_1jpsk_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1jpsk_gg_._size_m_1jpsk_gg_,.___SValue_1jpsk_gg_._size_m_1jpsk_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1jpsk_gg_._size_l_1jpsk_gg_,.___SValue_1jpsk_gg_._size_l_1jpsk_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1jpsk_gg_._theme_invert_1jpsk_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1jpsk_gg_.__animation_1jpsk_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_1jpsk;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1jpsk)}.___SProgressBar_1jpsk_gg_._theme_custom_1jpsk_gg_{background-color:var(--colorBg_1jpsk);background-image:var(--colorBg_1jpsk)}@media (prefers-reduced-motion){.___SProgressBar_1jpsk_gg_.__animation_1jpsk_gg_,.___SValue_1jpsk_gg_{animation-name:none}}", /*__inner_css_end__*/"1jpsk_gg_"),
19
+ var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes loading_18s3t{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_18s3t_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_18s3t_gg_._theme_dark_18s3t_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgb(84, 86, 84))}.___SValue_18s3t_gg_{position:absolute;top:0;left:0;background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, rgb(192, 142, 255) 0%, rgb(192, 142, 255) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, rgb(192, 142, 255) 0%));overflow:hidden;animation-name:loading_18s3t;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_18s3t);animation-duration:var(--duration_18s3t);transition-duration:var(--duration_18s3t)}@supports (color:color(display-p3 0 0 0%)){.___SValue_18s3t_gg_{background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, rgb(192, 142, 255) 0%, rgb(192, 142, 255) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, rgb(192, 142, 255) 0%))}@media (color-gamut:p3){.___SValue_18s3t_gg_{background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, color(display-p3 0.72564 0.56096 0.98326) 0%, color(display-p3 0.72564 0.56096 0.98326) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, color(display-p3 0.72564 0.56096 0.98326) 0%))}}}.___SValue_18s3t_gg_.__theme_18s3t_gg_{background-color:var(--colorBg_18s3t);background-image:var(--colorBg_18s3t)}.___SProgressBar_18s3t_gg_._size_s_18s3t_gg_,.___SValue_18s3t_gg_._size_s_18s3t_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_18s3t_gg_._size_m_18s3t_gg_,.___SValue_18s3t_gg_._size_m_18s3t_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_18s3t_gg_._size_l_18s3t_gg_,.___SValue_18s3t_gg_._size_l_18s3t_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_18s3t_gg_._theme_invert_18s3t_gg_{background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_18s3t_gg_.__animation_18s3t_gg_{background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 25%, rgb(241, 242, 242) 0%, rgb(241, 242, 242) 50%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 75%, rgb(241, 242, 242) 0%));animation-name:loading_18s3t;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_18s3t)}.___SProgressBar_18s3t_gg_._theme_custom_18s3t_gg_{background-color:var(--colorBg_18s3t);background-image:var(--colorBg_18s3t)}@media (prefers-reduced-motion){.___SProgressBar_18s3t_gg_.__animation_18s3t_gg_,.___SValue_18s3t_gg_{animation-name:none}}", /*__inner_css_end__*/"18s3t_gg_"),
20
20
  /*__reshadow_css_end__*/
21
21
  {
22
- "__SProgressBar": "___SProgressBar_1jpsk_gg_",
23
- "_theme_dark": "_theme_dark_1jpsk_gg_",
24
- "__SValue": "___SValue_1jpsk_gg_",
25
- "--width": "--width_1jpsk",
26
- "--duration": "--duration_1jpsk",
27
- "_theme": "__theme_1jpsk_gg_",
28
- "--colorBg": "--colorBg_1jpsk",
29
- "_size_s": "_size_s_1jpsk_gg_",
30
- "_size_m": "_size_m_1jpsk_gg_",
31
- "_size_l": "_size_l_1jpsk_gg_",
32
- "_theme_invert": "_theme_invert_1jpsk_gg_",
33
- "@loading": "loading_1jpsk",
34
- "_animation": "__animation_1jpsk_gg_",
35
- "_theme_custom": "_theme_custom_1jpsk_gg_"
22
+ "__SProgressBar": "___SProgressBar_18s3t_gg_",
23
+ "_theme_dark": "_theme_dark_18s3t_gg_",
24
+ "__SValue": "___SValue_18s3t_gg_",
25
+ "--width": "--width_18s3t",
26
+ "--duration": "--duration_18s3t",
27
+ "_theme": "__theme_18s3t_gg_",
28
+ "--colorBg": "--colorBg_18s3t",
29
+ "_size_s": "_size_s_18s3t_gg_",
30
+ "_size_m": "_size_m_18s3t_gg_",
31
+ "_size_l": "_size_l_18s3t_gg_",
32
+ "_theme_invert": "_theme_invert_18s3t_gg_",
33
+ "@loading": "loading_18s3t",
34
+ "_animation": "__animation_18s3t_gg_",
35
+ "_theme_custom": "_theme_custom_18s3t_gg_"
36
36
  });
37
37
  function isCustomTheme(theme) {
38
38
  return !['dark', 'invert'].includes(theme);
@@ -2,20 +2,20 @@ SProgressBar {
2
2
  position: relative;
3
3
  width: 100%;
4
4
  overflow: hidden;
5
- background-color: var(--intergalactic-progress-bar-bg, #e0e1e9);
5
+ background-color: var(--intergalactic-progress-bar-bg, oklch(0.96 0.001 180));
6
6
  }
7
7
 
8
8
  SProgressBar[theme='dark'] {
9
- background-color: var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2));
9
+ background-color: var(--intergalactic-progress-bar-bg-invert, oklch(0.45 0.004 143.7));
10
10
  }
11
11
 
12
12
  SValue {
13
13
  position: absolute;
14
14
  top: 0;
15
15
  left: 0;
16
- background-color: var(--intergalactic-progress-bar-value-bg, #000000);
16
+ background-color: var(--intergalactic-progress-bar-value-bg, oklch(1 0 0));
17
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%));
18
+ linear-gradient(-45deg, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 25%, oklch(0.74 0.17 303) 0%, oklch(0.74 0.17 303) 50%, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 0%, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 75%, oklch(0.74 0.17 303) 0%));
19
19
  overflow: hidden;
20
20
 
21
21
  animation-name: loading;
@@ -57,7 +57,7 @@ SValue[size='l'] {
57
57
 
58
58
 
59
59
  SProgressBar[theme='invert'] {
60
- background-color: var(--intergalactic-progress-bar-bg, #e0e1e9);
60
+ background-color: var(--intergalactic-progress-bar-bg, oklch(0.96 0.001 180));
61
61
  }
62
62
 
63
63
  @keyframes loading {
@@ -71,9 +71,9 @@ SProgressBar[theme='invert'] {
71
71
  }
72
72
 
73
73
  SProgressBar[animation] {
74
- background-color: var(--intergalactic-progress-bar-value-bg, #000000);
74
+ background-color: var(--intergalactic-progress-bar-value-bg, oklch(1 0 0));
75
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%));
76
+ linear-gradient(-45deg, oklch(0 0 0 / 0.1) 25%, oklch(0.96 0.001 180) 0%, oklch(0.96 0.001 180) 50%, oklch(0 0 0 / 0.1) 0%, oklch(0 0 0 / 0.1) 75%, oklch(0.96 0.001 180) 0%));
77
77
  animation-name: loading;
78
78
  animation-timing-function: linear;
79
79
  animation-iteration-count: infinite;
@@ -12,23 +12,23 @@ import resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEn
12
12
  import { Box } from '@semcore/flex-box';
13
13
  import React from 'react';
14
14
  /*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
15
- var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes loading_1jpsk{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1jpsk_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1jpsk_gg_._theme_dark_1jpsk_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1jpsk_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_1jpsk;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1jpsk);animation-duration:var(--duration_1jpsk);transition-duration:var(--duration_1jpsk)}.___SValue_1jpsk_gg_.__theme_1jpsk_gg_{background-color:var(--colorBg_1jpsk);background-image:var(--colorBg_1jpsk)}.___SProgressBar_1jpsk_gg_._size_s_1jpsk_gg_,.___SValue_1jpsk_gg_._size_s_1jpsk_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1jpsk_gg_._size_m_1jpsk_gg_,.___SValue_1jpsk_gg_._size_m_1jpsk_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1jpsk_gg_._size_l_1jpsk_gg_,.___SValue_1jpsk_gg_._size_l_1jpsk_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1jpsk_gg_._theme_invert_1jpsk_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1jpsk_gg_.__animation_1jpsk_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_1jpsk;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1jpsk)}.___SProgressBar_1jpsk_gg_._theme_custom_1jpsk_gg_{background-color:var(--colorBg_1jpsk);background-image:var(--colorBg_1jpsk)}@media (prefers-reduced-motion){.___SProgressBar_1jpsk_gg_.__animation_1jpsk_gg_,.___SValue_1jpsk_gg_{animation-name:none}}", /*__inner_css_end__*/"1jpsk_gg_"),
15
+ var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes loading_18s3t{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_18s3t_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_18s3t_gg_._theme_dark_18s3t_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgb(84, 86, 84))}.___SValue_18s3t_gg_{position:absolute;top:0;left:0;background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, rgb(192, 142, 255) 0%, rgb(192, 142, 255) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, rgb(192, 142, 255) 0%));overflow:hidden;animation-name:loading_18s3t;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_18s3t);animation-duration:var(--duration_18s3t);transition-duration:var(--duration_18s3t)}@supports (color:color(display-p3 0 0 0%)){.___SValue_18s3t_gg_{background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, rgb(192, 142, 255) 0%, rgb(192, 142, 255) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, rgb(192, 142, 255) 0%))}@media (color-gamut:p3){.___SValue_18s3t_gg_{background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, color(display-p3 0.72564 0.56096 0.98326) 0%, color(display-p3 0.72564 0.56096 0.98326) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, color(display-p3 0.72564 0.56096 0.98326) 0%))}}}.___SValue_18s3t_gg_.__theme_18s3t_gg_{background-color:var(--colorBg_18s3t);background-image:var(--colorBg_18s3t)}.___SProgressBar_18s3t_gg_._size_s_18s3t_gg_,.___SValue_18s3t_gg_._size_s_18s3t_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_18s3t_gg_._size_m_18s3t_gg_,.___SValue_18s3t_gg_._size_m_18s3t_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_18s3t_gg_._size_l_18s3t_gg_,.___SValue_18s3t_gg_._size_l_18s3t_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_18s3t_gg_._theme_invert_18s3t_gg_{background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_18s3t_gg_.__animation_18s3t_gg_{background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 25%, rgb(241, 242, 242) 0%, rgb(241, 242, 242) 50%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 75%, rgb(241, 242, 242) 0%));animation-name:loading_18s3t;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_18s3t)}.___SProgressBar_18s3t_gg_._theme_custom_18s3t_gg_{background-color:var(--colorBg_18s3t);background-image:var(--colorBg_18s3t)}@media (prefers-reduced-motion){.___SProgressBar_18s3t_gg_.__animation_18s3t_gg_,.___SValue_18s3t_gg_{animation-name:none}}", /*__inner_css_end__*/"18s3t_gg_"),
16
16
  /*__reshadow_css_end__*/
17
17
  {
18
- "__SProgressBar": "___SProgressBar_1jpsk_gg_",
19
- "_theme_dark": "_theme_dark_1jpsk_gg_",
20
- "__SValue": "___SValue_1jpsk_gg_",
21
- "--width": "--width_1jpsk",
22
- "--duration": "--duration_1jpsk",
23
- "_theme": "__theme_1jpsk_gg_",
24
- "--colorBg": "--colorBg_1jpsk",
25
- "_size_s": "_size_s_1jpsk_gg_",
26
- "_size_m": "_size_m_1jpsk_gg_",
27
- "_size_l": "_size_l_1jpsk_gg_",
28
- "_theme_invert": "_theme_invert_1jpsk_gg_",
29
- "@loading": "loading_1jpsk",
30
- "_animation": "__animation_1jpsk_gg_",
31
- "_theme_custom": "_theme_custom_1jpsk_gg_"
18
+ "__SProgressBar": "___SProgressBar_18s3t_gg_",
19
+ "_theme_dark": "_theme_dark_18s3t_gg_",
20
+ "__SValue": "___SValue_18s3t_gg_",
21
+ "--width": "--width_18s3t",
22
+ "--duration": "--duration_18s3t",
23
+ "_theme": "__theme_18s3t_gg_",
24
+ "--colorBg": "--colorBg_18s3t",
25
+ "_size_s": "_size_s_18s3t_gg_",
26
+ "_size_m": "_size_m_18s3t_gg_",
27
+ "_size_l": "_size_l_18s3t_gg_",
28
+ "_theme_invert": "_theme_invert_18s3t_gg_",
29
+ "@loading": "loading_18s3t",
30
+ "_animation": "__animation_18s3t_gg_",
31
+ "_theme_custom": "_theme_custom_18s3t_gg_"
32
32
  });
33
33
  function isCustomTheme(theme) {
34
34
  return !['dark', 'invert'].includes(theme);
@@ -2,20 +2,20 @@ SProgressBar {
2
2
  position: relative;
3
3
  width: 100%;
4
4
  overflow: hidden;
5
- background-color: var(--intergalactic-progress-bar-bg, #e0e1e9);
5
+ background-color: var(--intergalactic-progress-bar-bg, oklch(0.96 0.001 180));
6
6
  }
7
7
 
8
8
  SProgressBar[theme='dark'] {
9
- background-color: var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2));
9
+ background-color: var(--intergalactic-progress-bar-bg-invert, oklch(0.45 0.004 143.7));
10
10
  }
11
11
 
12
12
  SValue {
13
13
  position: absolute;
14
14
  top: 0;
15
15
  left: 0;
16
- background-color: var(--intergalactic-progress-bar-value-bg, #000000);
16
+ background-color: var(--intergalactic-progress-bar-value-bg, oklch(1 0 0));
17
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%));
18
+ linear-gradient(-45deg, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 25%, oklch(0.74 0.17 303) 0%, oklch(0.74 0.17 303) 50%, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 0%, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 75%, oklch(0.74 0.17 303) 0%));
19
19
  overflow: hidden;
20
20
 
21
21
  animation-name: loading;
@@ -57,7 +57,7 @@ SValue[size='l'] {
57
57
 
58
58
 
59
59
  SProgressBar[theme='invert'] {
60
- background-color: var(--intergalactic-progress-bar-bg, #e0e1e9);
60
+ background-color: var(--intergalactic-progress-bar-bg, oklch(0.96 0.001 180));
61
61
  }
62
62
 
63
63
  @keyframes loading {
@@ -71,9 +71,9 @@ SProgressBar[theme='invert'] {
71
71
  }
72
72
 
73
73
  SProgressBar[animation] {
74
- background-color: var(--intergalactic-progress-bar-value-bg, #000000);
74
+ background-color: var(--intergalactic-progress-bar-value-bg, oklch(1 0 0));
75
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%));
76
+ linear-gradient(-45deg, oklch(0 0 0 / 0.1) 25%, oklch(0.96 0.001 180) 0%, oklch(0.96 0.001 180) 50%, oklch(0 0 0 / 0.1) 0%, oklch(0 0 0 / 0.1) 75%, oklch(0.96 0.001 180) 0%));
77
77
  animation-name: loading;
78
78
  animation-timing-function: linear;
79
79
  animation-iteration-count: infinite;
@@ -13,25 +13,25 @@ var style = (
13
13
  /*__reshadow_css_start__*/
14
14
  (sstyled.insert(
15
15
  /*__inner_css_start__*/
16
- "@keyframes loading_1jpsk{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1jpsk_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1jpsk_gg_._theme_dark_1jpsk_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1jpsk_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_1jpsk;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1jpsk);animation-duration:var(--duration_1jpsk);transition-duration:var(--duration_1jpsk)}.___SValue_1jpsk_gg_.__theme_1jpsk_gg_{background-color:var(--colorBg_1jpsk);background-image:var(--colorBg_1jpsk)}.___SProgressBar_1jpsk_gg_._size_s_1jpsk_gg_,.___SValue_1jpsk_gg_._size_s_1jpsk_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1jpsk_gg_._size_m_1jpsk_gg_,.___SValue_1jpsk_gg_._size_m_1jpsk_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1jpsk_gg_._size_l_1jpsk_gg_,.___SValue_1jpsk_gg_._size_l_1jpsk_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1jpsk_gg_._theme_invert_1jpsk_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1jpsk_gg_.__animation_1jpsk_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_1jpsk;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1jpsk)}.___SProgressBar_1jpsk_gg_._theme_custom_1jpsk_gg_{background-color:var(--colorBg_1jpsk);background-image:var(--colorBg_1jpsk)}@media (prefers-reduced-motion){.___SProgressBar_1jpsk_gg_.__animation_1jpsk_gg_,.___SValue_1jpsk_gg_{animation-name:none}}",
16
+ "@keyframes loading_18s3t{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_18s3t_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_18s3t_gg_._theme_dark_18s3t_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgb(84, 86, 84))}.___SValue_18s3t_gg_{position:absolute;top:0;left:0;background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, rgb(192, 142, 255) 0%, rgb(192, 142, 255) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, rgb(192, 142, 255) 0%));overflow:hidden;animation-name:loading_18s3t;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_18s3t);animation-duration:var(--duration_18s3t);transition-duration:var(--duration_18s3t)}@supports (color:color(display-p3 0 0 0%)){.___SValue_18s3t_gg_{background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, rgb(192, 142, 255) 0%, rgb(192, 142, 255) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, rgb(192, 142, 255) 0%))}@media (color-gamut:p3){.___SValue_18s3t_gg_{background-image:var(--intergalactic-progress-bar-value-gradient,\n linear-gradient(-45deg, rgb(177, 125, 241) 25%, color(display-p3 0.72564 0.56096 0.98326) 0%, color(display-p3 0.72564 0.56096 0.98326) 50%, rgb(177, 125, 241) 0%, rgb(177, 125, 241) 75%, color(display-p3 0.72564 0.56096 0.98326) 0%))}}}.___SValue_18s3t_gg_.__theme_18s3t_gg_{background-color:var(--colorBg_18s3t);background-image:var(--colorBg_18s3t)}.___SProgressBar_18s3t_gg_._size_s_18s3t_gg_,.___SValue_18s3t_gg_._size_s_18s3t_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_18s3t_gg_._size_m_18s3t_gg_,.___SValue_18s3t_gg_._size_m_18s3t_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_18s3t_gg_._size_l_18s3t_gg_,.___SValue_18s3t_gg_._size_l_18s3t_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_18s3t_gg_._theme_invert_18s3t_gg_{background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_18s3t_gg_.__animation_18s3t_gg_{background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 25%, rgb(241, 242, 242) 0%, rgb(241, 242, 242) 50%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 75%, rgb(241, 242, 242) 0%));animation-name:loading_18s3t;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_18s3t)}.___SProgressBar_18s3t_gg_._theme_custom_18s3t_gg_{background-color:var(--colorBg_18s3t);background-image:var(--colorBg_18s3t)}@media (prefers-reduced-motion){.___SProgressBar_18s3t_gg_.__animation_18s3t_gg_,.___SValue_18s3t_gg_{animation-name:none}}",
17
17
  /*__inner_css_end__*/
18
- "1jpsk_gg_"
18
+ "18s3t_gg_"
19
19
  ), /*__reshadow_css_end__*/
20
20
  {
21
- "__SProgressBar": "___SProgressBar_1jpsk_gg_",
22
- "_theme_dark": "_theme_dark_1jpsk_gg_",
23
- "__SValue": "___SValue_1jpsk_gg_",
24
- "--width": "--width_1jpsk",
25
- "--duration": "--duration_1jpsk",
26
- "_theme": "__theme_1jpsk_gg_",
27
- "--colorBg": "--colorBg_1jpsk",
28
- "_size_s": "_size_s_1jpsk_gg_",
29
- "_size_m": "_size_m_1jpsk_gg_",
30
- "_size_l": "_size_l_1jpsk_gg_",
31
- "_theme_invert": "_theme_invert_1jpsk_gg_",
32
- "@loading": "loading_1jpsk",
33
- "_animation": "__animation_1jpsk_gg_",
34
- "_theme_custom": "_theme_custom_1jpsk_gg_"
21
+ "__SProgressBar": "___SProgressBar_18s3t_gg_",
22
+ "_theme_dark": "_theme_dark_18s3t_gg_",
23
+ "__SValue": "___SValue_18s3t_gg_",
24
+ "--width": "--width_18s3t",
25
+ "--duration": "--duration_18s3t",
26
+ "_theme": "__theme_18s3t_gg_",
27
+ "--colorBg": "--colorBg_18s3t",
28
+ "_size_s": "_size_s_18s3t_gg_",
29
+ "_size_m": "_size_m_18s3t_gg_",
30
+ "_size_l": "_size_l_18s3t_gg_",
31
+ "_theme_invert": "_theme_invert_18s3t_gg_",
32
+ "@loading": "loading_18s3t",
33
+ "_animation": "__animation_18s3t_gg_",
34
+ "_theme_custom": "_theme_custom_18s3t_gg_"
35
35
  })
36
36
  );
37
37
  function isCustomTheme(theme) {
@@ -2,20 +2,20 @@ SProgressBar {
2
2
  position: relative;
3
3
  width: 100%;
4
4
  overflow: hidden;
5
- background-color: var(--intergalactic-progress-bar-bg, #e0e1e9);
5
+ background-color: var(--intergalactic-progress-bar-bg, oklch(0.96 0.001 180));
6
6
  }
7
7
 
8
8
  SProgressBar[theme='dark'] {
9
- background-color: var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2));
9
+ background-color: var(--intergalactic-progress-bar-bg-invert, oklch(0.45 0.004 143.7));
10
10
  }
11
11
 
12
12
  SValue {
13
13
  position: absolute;
14
14
  top: 0;
15
15
  left: 0;
16
- background-color: var(--intergalactic-progress-bar-value-bg, #000000);
16
+ background-color: var(--intergalactic-progress-bar-value-bg, oklch(1 0 0));
17
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%));
18
+ linear-gradient(-45deg, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 25%, oklch(0.74 0.17 303) 0%, oklch(0.74 0.17 303) 50%, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 0%, oklch(from oklch(0.74 0.17 303) calc(l - 0.05) c h) 75%, oklch(0.74 0.17 303) 0%));
19
19
  overflow: hidden;
20
20
 
21
21
  animation-name: loading;
@@ -57,7 +57,7 @@ SValue[size='l'] {
57
57
 
58
58
 
59
59
  SProgressBar[theme='invert'] {
60
- background-color: var(--intergalactic-progress-bar-bg, #e0e1e9);
60
+ background-color: var(--intergalactic-progress-bar-bg, oklch(0.96 0.001 180));
61
61
  }
62
62
 
63
63
  @keyframes loading {
@@ -71,9 +71,9 @@ SProgressBar[theme='invert'] {
71
71
  }
72
72
 
73
73
  SProgressBar[animation] {
74
- background-color: var(--intergalactic-progress-bar-value-bg, #000000);
74
+ background-color: var(--intergalactic-progress-bar-value-bg, oklch(1 0 0));
75
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%));
76
+ linear-gradient(-45deg, oklch(0 0 0 / 0.1) 25%, oklch(0.96 0.001 180) 0%, oklch(0.96 0.001 180) 50%, oklch(0 0 0 / 0.1) 0%, oklch(0 0 0 / 0.1) 75%, oklch(0.96 0.001 180) 0%));
77
77
  animation-name: loading;
78
78
  animation-timing-function: linear;
79
79
  animation-iteration-count: infinite;
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.11-prerelease.5",
4
+ "version": "16.1.0-prerelease.0",
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.11-prerelease.5"
17
+ "@semcore/flex-box": "16.1.0-prerelease.0"
18
18
  },
19
19
  "peerDependencies": {
20
- "@semcore/base-components": "^16.4.1-prerelease.5"
20
+ "@semcore/base-components": "^16.6.0-prerelease.0"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
@@ -25,8 +25,8 @@
25
25
  "directory": "semcore/progress-bar"
26
26
  },
27
27
  "devDependencies": {
28
- "@semcore/testing-utils": "1.0.0",
29
- "@semcore/core": "16.5.1-prerelease.5"
28
+ "@semcore/core": "16.6.0-prerelease.0",
29
+ "@semcore/testing-utils": "1.0.0"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "pnpm semcore-builder --source=js && pnpm vite build"