@semcore/progress-bar 17.0.2 → 17.1.0-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
+ ## [17.1.0] - 2026-05-13
6
+
7
+ ### Added
8
+
9
+ - New brand theme.
10
+
5
11
  ## [17.0.2] - 2026-04-30
6
12
 
7
13
  ### Fixed
@@ -11,23 +11,23 @@ var _baseComponents = require("@semcore/base-components");
11
11
  var _resolveColorEnhance = _interopRequireDefault(require("@semcore/core/lib/utils/enhances/resolveColorEnhance"));
12
12
  var _react = _interopRequireDefault(require("react"));
13
13
  /*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
14
- const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes loading_mhngj{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_mhngj_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_mhngj_gg_._theme_dark_mhngj_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_mhngj_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_mhngj;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_mhngj);animation-duration:var(--duration_mhngj);transition-duration:var(--duration_mhngj)}.___SValue_mhngj_gg_.__theme_mhngj_gg_{background-color:var(--colorBg_mhngj);background-image:var(--colorBg_mhngj)}.___SProgressBar_mhngj_gg_._size_s_mhngj_gg_,.___SValue_mhngj_gg_._size_s_mhngj_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_mhngj_gg_._size_m_mhngj_gg_,.___SValue_mhngj_gg_._size_m_mhngj_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_mhngj_gg_._size_l_mhngj_gg_,.___SValue_mhngj_gg_._size_l_mhngj_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_mhngj_gg_._theme_invert_mhngj_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_mhngj_gg_.__animation_mhngj_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_mhngj;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_mhngj)}.___SProgressBar_mhngj_gg_._theme_custom_mhngj_gg_{background-color:var(--colorBg_mhngj);background-image:var(--colorBg_mhngj)}@media (prefers-reduced-motion){.___SProgressBar_mhngj_gg_.__animation_mhngj_gg_,.___SValue_mhngj_gg_{animation-name:none}}", /*__inner_css_end__*/"mhngj_gg_"),
14
+ const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes loading_qusry{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_qusry_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_qusry_gg_._theme_dark_qusry_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgb(84, 86, 84))}.___SValue_qusry_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, 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_qusry;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_qusry);animation-duration:var(--duration_qusry);transition-duration:var(--duration_qusry)}@supports (color:color(display-p3 0 0 0%)){.___SValue_qusry_gg_{background-image:var(--intergalactic-progress-bar-value-gradient, 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_qusry_gg_{background-image:var(--intergalactic-progress-bar-value-gradient, 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_qusry_gg_.__theme_qusry_gg_{background-color:var(--colorBg_qusry);background-image:var(--colorBg_qusry)}.___SProgressBar_qusry_gg_._size_s_qusry_gg_,.___SValue_qusry_gg_._size_s_qusry_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_qusry_gg_._size_m_qusry_gg_,.___SValue_qusry_gg_._size_m_qusry_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_qusry_gg_._size_l_qusry_gg_,.___SValue_qusry_gg_._size_l_qusry_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_qusry_gg_._theme_invert_qusry_gg_{background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_qusry_gg_.__animation_qusry_gg_{background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-pattern-gradient, 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_qusry;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_qusry)}.___SProgressBar_qusry_gg_._theme_custom_qusry_gg_{background-color:var(--colorBg_qusry);background-image:var(--colorBg_qusry)}@media (prefers-reduced-motion){.___SProgressBar_qusry_gg_.__animation_qusry_gg_,.___SValue_qusry_gg_{animation-name:none}}", /*__inner_css_end__*/"qusry_gg_"),
15
15
  /*__reshadow_css_end__*/
16
16
  {
17
- "__SProgressBar": "___SProgressBar_mhngj_gg_",
18
- "_theme_dark": "_theme_dark_mhngj_gg_",
19
- "__SValue": "___SValue_mhngj_gg_",
20
- "--width": "--width_mhngj",
21
- "--duration": "--duration_mhngj",
22
- "_theme": "__theme_mhngj_gg_",
23
- "--colorBg": "--colorBg_mhngj",
24
- "_size_s": "_size_s_mhngj_gg_",
25
- "_size_m": "_size_m_mhngj_gg_",
26
- "_size_l": "_size_l_mhngj_gg_",
27
- "_theme_invert": "_theme_invert_mhngj_gg_",
28
- "@loading": "loading_mhngj",
29
- "_animation": "__animation_mhngj_gg_",
30
- "_theme_custom": "_theme_custom_mhngj_gg_"
17
+ "__SProgressBar": "___SProgressBar_qusry_gg_",
18
+ "_theme_dark": "_theme_dark_qusry_gg_",
19
+ "__SValue": "___SValue_qusry_gg_",
20
+ "--width": "--width_qusry",
21
+ "--duration": "--duration_qusry",
22
+ "_theme": "__theme_qusry_gg_",
23
+ "--colorBg": "--colorBg_qusry",
24
+ "_size_s": "_size_s_qusry_gg_",
25
+ "_size_m": "_size_m_qusry_gg_",
26
+ "_size_l": "_size_l_qusry_gg_",
27
+ "_theme_invert": "_theme_invert_qusry_gg_",
28
+ "@loading": "loading_qusry",
29
+ "_animation": "__animation_qusry_gg_",
30
+ "_theme_custom": "_theme_custom_qusry_gg_"
31
31
  });
32
32
  function isCustomTheme(theme) {
33
33
  if (!theme) return false;
@@ -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;
@@ -7,23 +7,23 @@ import { createComponent, Component, sstyled, Root } from '@semcore/core';
7
7
  import resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEnhance';
8
8
  import React from 'react';
9
9
  /*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
10
- const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes loading_mhngj{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_mhngj_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_mhngj_gg_._theme_dark_mhngj_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_mhngj_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_mhngj;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_mhngj);animation-duration:var(--duration_mhngj);transition-duration:var(--duration_mhngj)}.___SValue_mhngj_gg_.__theme_mhngj_gg_{background-color:var(--colorBg_mhngj);background-image:var(--colorBg_mhngj)}.___SProgressBar_mhngj_gg_._size_s_mhngj_gg_,.___SValue_mhngj_gg_._size_s_mhngj_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_mhngj_gg_._size_m_mhngj_gg_,.___SValue_mhngj_gg_._size_m_mhngj_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_mhngj_gg_._size_l_mhngj_gg_,.___SValue_mhngj_gg_._size_l_mhngj_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_mhngj_gg_._theme_invert_mhngj_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_mhngj_gg_.__animation_mhngj_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_mhngj;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_mhngj)}.___SProgressBar_mhngj_gg_._theme_custom_mhngj_gg_{background-color:var(--colorBg_mhngj);background-image:var(--colorBg_mhngj)}@media (prefers-reduced-motion){.___SProgressBar_mhngj_gg_.__animation_mhngj_gg_,.___SValue_mhngj_gg_{animation-name:none}}", /*__inner_css_end__*/"mhngj_gg_"),
10
+ const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes loading_qusry{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_qusry_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_qusry_gg_._theme_dark_qusry_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgb(84, 86, 84))}.___SValue_qusry_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, 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_qusry;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_qusry);animation-duration:var(--duration_qusry);transition-duration:var(--duration_qusry)}@supports (color:color(display-p3 0 0 0%)){.___SValue_qusry_gg_{background-image:var(--intergalactic-progress-bar-value-gradient, 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_qusry_gg_{background-image:var(--intergalactic-progress-bar-value-gradient, 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_qusry_gg_.__theme_qusry_gg_{background-color:var(--colorBg_qusry);background-image:var(--colorBg_qusry)}.___SProgressBar_qusry_gg_._size_s_qusry_gg_,.___SValue_qusry_gg_._size_s_qusry_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_qusry_gg_._size_m_qusry_gg_,.___SValue_qusry_gg_._size_m_qusry_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_qusry_gg_._size_l_qusry_gg_,.___SValue_qusry_gg_._size_l_qusry_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_qusry_gg_._theme_invert_qusry_gg_{background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_qusry_gg_.__animation_qusry_gg_{background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-pattern-gradient, 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_qusry;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_qusry)}.___SProgressBar_qusry_gg_._theme_custom_qusry_gg_{background-color:var(--colorBg_qusry);background-image:var(--colorBg_qusry)}@media (prefers-reduced-motion){.___SProgressBar_qusry_gg_.__animation_qusry_gg_,.___SValue_qusry_gg_{animation-name:none}}", /*__inner_css_end__*/"qusry_gg_"),
11
11
  /*__reshadow_css_end__*/
12
12
  {
13
- "__SProgressBar": "___SProgressBar_mhngj_gg_",
14
- "_theme_dark": "_theme_dark_mhngj_gg_",
15
- "__SValue": "___SValue_mhngj_gg_",
16
- "--width": "--width_mhngj",
17
- "--duration": "--duration_mhngj",
18
- "_theme": "__theme_mhngj_gg_",
19
- "--colorBg": "--colorBg_mhngj",
20
- "_size_s": "_size_s_mhngj_gg_",
21
- "_size_m": "_size_m_mhngj_gg_",
22
- "_size_l": "_size_l_mhngj_gg_",
23
- "_theme_invert": "_theme_invert_mhngj_gg_",
24
- "@loading": "loading_mhngj",
25
- "_animation": "__animation_mhngj_gg_",
26
- "_theme_custom": "_theme_custom_mhngj_gg_"
13
+ "__SProgressBar": "___SProgressBar_qusry_gg_",
14
+ "_theme_dark": "_theme_dark_qusry_gg_",
15
+ "__SValue": "___SValue_qusry_gg_",
16
+ "--width": "--width_qusry",
17
+ "--duration": "--duration_qusry",
18
+ "_theme": "__theme_qusry_gg_",
19
+ "--colorBg": "--colorBg_qusry",
20
+ "_size_s": "_size_s_qusry_gg_",
21
+ "_size_m": "_size_m_qusry_gg_",
22
+ "_size_l": "_size_l_qusry_gg_",
23
+ "_theme_invert": "_theme_invert_qusry_gg_",
24
+ "@loading": "loading_qusry",
25
+ "_animation": "__animation_qusry_gg_",
26
+ "_theme_custom": "_theme_custom_qusry_gg_"
27
27
  });
28
28
  function isCustomTheme(theme) {
29
29
  if (!theme) return false;
@@ -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;
@@ -8,25 +8,25 @@ const style = (
8
8
  /*__reshadow_css_start__*/
9
9
  (sstyled.insert(
10
10
  /*__inner_css_start__*/
11
- "@keyframes loading_mhngj{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_mhngj_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_mhngj_gg_._theme_dark_mhngj_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_mhngj_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_mhngj;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_mhngj);animation-duration:var(--duration_mhngj);transition-duration:var(--duration_mhngj)}.___SValue_mhngj_gg_.__theme_mhngj_gg_{background-color:var(--colorBg_mhngj);background-image:var(--colorBg_mhngj)}.___SProgressBar_mhngj_gg_._size_s_mhngj_gg_,.___SValue_mhngj_gg_._size_s_mhngj_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_mhngj_gg_._size_m_mhngj_gg_,.___SValue_mhngj_gg_._size_m_mhngj_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_mhngj_gg_._size_l_mhngj_gg_,.___SValue_mhngj_gg_._size_l_mhngj_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_mhngj_gg_._theme_invert_mhngj_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_mhngj_gg_.__animation_mhngj_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_mhngj;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_mhngj)}.___SProgressBar_mhngj_gg_._theme_custom_mhngj_gg_{background-color:var(--colorBg_mhngj);background-image:var(--colorBg_mhngj)}@media (prefers-reduced-motion){.___SProgressBar_mhngj_gg_.__animation_mhngj_gg_,.___SValue_mhngj_gg_{animation-name:none}}",
11
+ "@keyframes loading_qusry{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_qusry_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_qusry_gg_._theme_dark_qusry_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgb(84, 86, 84))}.___SValue_qusry_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, 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_qusry;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_qusry);animation-duration:var(--duration_qusry);transition-duration:var(--duration_qusry)}@supports (color:color(display-p3 0 0 0%)){.___SValue_qusry_gg_{background-image:var(--intergalactic-progress-bar-value-gradient, 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_qusry_gg_{background-image:var(--intergalactic-progress-bar-value-gradient, 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_qusry_gg_.__theme_qusry_gg_{background-color:var(--colorBg_qusry);background-image:var(--colorBg_qusry)}.___SProgressBar_qusry_gg_._size_s_qusry_gg_,.___SValue_qusry_gg_._size_s_qusry_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_qusry_gg_._size_m_qusry_gg_,.___SValue_qusry_gg_._size_m_qusry_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_qusry_gg_._size_l_qusry_gg_,.___SValue_qusry_gg_._size_l_qusry_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_qusry_gg_._theme_invert_qusry_gg_{background-color:var(--intergalactic-progress-bar-bg, rgb(241, 242, 242))}.___SProgressBar_qusry_gg_.__animation_qusry_gg_{background-color:var(--intergalactic-progress-bar-value-bg, rgb(255, 255, 255));background-image:var(--intergalactic-progress-bar-pattern-gradient, 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_qusry;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_qusry)}.___SProgressBar_qusry_gg_._theme_custom_qusry_gg_{background-color:var(--colorBg_qusry);background-image:var(--colorBg_qusry)}@media (prefers-reduced-motion){.___SProgressBar_qusry_gg_.__animation_qusry_gg_,.___SValue_qusry_gg_{animation-name:none}}",
12
12
  /*__inner_css_end__*/
13
- "mhngj_gg_"
13
+ "qusry_gg_"
14
14
  ), /*__reshadow_css_end__*/
15
15
  {
16
- "__SProgressBar": "___SProgressBar_mhngj_gg_",
17
- "_theme_dark": "_theme_dark_mhngj_gg_",
18
- "__SValue": "___SValue_mhngj_gg_",
19
- "--width": "--width_mhngj",
20
- "--duration": "--duration_mhngj",
21
- "_theme": "__theme_mhngj_gg_",
22
- "--colorBg": "--colorBg_mhngj",
23
- "_size_s": "_size_s_mhngj_gg_",
24
- "_size_m": "_size_m_mhngj_gg_",
25
- "_size_l": "_size_l_mhngj_gg_",
26
- "_theme_invert": "_theme_invert_mhngj_gg_",
27
- "@loading": "loading_mhngj",
28
- "_animation": "__animation_mhngj_gg_",
29
- "_theme_custom": "_theme_custom_mhngj_gg_"
16
+ "__SProgressBar": "___SProgressBar_qusry_gg_",
17
+ "_theme_dark": "_theme_dark_qusry_gg_",
18
+ "__SValue": "___SValue_qusry_gg_",
19
+ "--width": "--width_qusry",
20
+ "--duration": "--duration_qusry",
21
+ "_theme": "__theme_qusry_gg_",
22
+ "--colorBg": "--colorBg_qusry",
23
+ "_size_s": "_size_s_qusry_gg_",
24
+ "_size_m": "_size_m_qusry_gg_",
25
+ "_size_l": "_size_l_qusry_gg_",
26
+ "_theme_invert": "_theme_invert_qusry_gg_",
27
+ "@loading": "loading_qusry",
28
+ "_animation": "__animation_qusry_gg_",
29
+ "_theme_custom": "_theme_custom_qusry_gg_"
30
30
  })
31
31
  );
32
32
  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": "17.0.2",
4
+ "version": "17.1.0-prerelease.1",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -22,9 +22,9 @@
22
22
  "directory": "semcore/progress-bar"
23
23
  },
24
24
  "devDependencies": {
25
- "@semcore/base-components": "17.0.2",
26
- "@semcore/testing-utils": "1.0.0",
27
- "@semcore/core": "17.0.1"
25
+ "@semcore/core": "17.1.0-prerelease.1",
26
+ "@semcore/base-components": "17.0.2-prerelease.1",
27
+ "@semcore/testing-utils": "1.0.0"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "pnpm semcore-builder && pnpm vite build"