@semcore/progress-bar 4.24.2 → 4.25.0-prerelease.3

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,11 +2,11 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [4.24.2] - 2024-05-22
5
+ ## [4.25.0] - 2024-05-22
6
6
 
7
7
  ### Changed
8
8
 
9
- - Version patch update due to children dependencies update (`@semcore/flex-box` [5.25.1 ~> 5.25.2], `@semcore/utils` [4.26.2 ~> 4.26.3], `@semcore/core` [2.23.1 ~> 2.23.2]).
9
+ - Version minor update due to children dependencies update (`@semcore/flex-box` [5.25.1 ~> 5.26.0], `@semcore/utils` [4.26.2 ~> 4.27.0], `@semcore/core` [2.23.1 ~> 2.24.0]).
10
10
 
11
11
  ## [4.24.1] - 2024-05-17
12
12
 
@@ -18,21 +18,21 @@ var _react = _interopRequireDefault(require("react"));
18
18
  var _flexBox = require("@semcore/flex-box");
19
19
  var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
20
20
  /*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_5a9oo{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_5a9oo_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_5a9oo_gg_._theme_dark_5a9oo_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_5a9oo_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_5a9oo;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_5a9oo);animation-duration:var(--duration_5a9oo);transition-duration:var(--duration_5a9oo)}.___SValue_5a9oo_gg_.__theme_5a9oo_gg_{background-color:var(--colorBg_5a9oo);background-image:var(--colorBg_5a9oo)}.___SProgressBar_5a9oo_gg_._size_s_5a9oo_gg_,.___SValue_5a9oo_gg_._size_s_5a9oo_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_5a9oo_gg_._size_m_5a9oo_gg_,.___SValue_5a9oo_gg_._size_m_5a9oo_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_5a9oo_gg_._size_l_5a9oo_gg_,.___SValue_5a9oo_gg_._size_l_5a9oo_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_5a9oo_gg_._theme_invert_5a9oo_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_5a9oo_gg_.__animation_5a9oo_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_5a9oo;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_5a9oo)}.___SProgressBar_5a9oo_gg_._theme_custom_5a9oo_gg_{background-color:var(--colorBg_5a9oo);background-image:var(--colorBg_5a9oo)}@media (prefers-reduced-motion){.___SProgressBar_5a9oo_gg_.__animation_5a9oo_gg_,.___SValue_5a9oo_gg_{animation-name:none}}" /*__inner_css_end__*/, "5a9oo_gg_") /*__reshadow_css_end__*/, {
22
- "__SProgressBar": "___SProgressBar_5a9oo_gg_",
23
- "_theme_dark": "_theme_dark_5a9oo_gg_",
24
- "__SValue": "___SValue_5a9oo_gg_",
25
- "--width": "--width_5a9oo",
26
- "--duration": "--duration_5a9oo",
27
- "_theme": "__theme_5a9oo_gg_",
28
- "--colorBg": "--colorBg_5a9oo",
29
- "_size_s": "_size_s_5a9oo_gg_",
30
- "_size_m": "_size_m_5a9oo_gg_",
31
- "_size_l": "_size_l_5a9oo_gg_",
32
- "_theme_invert": "_theme_invert_5a9oo_gg_",
33
- "@loading": "loading_5a9oo",
34
- "_animation": "__animation_5a9oo_gg_",
35
- "_theme_custom": "_theme_custom_5a9oo_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_abpdj{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_abpdj_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_abpdj_gg_._theme_dark_abpdj_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_abpdj_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_abpdj;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_abpdj);animation-duration:var(--duration_abpdj);transition-duration:var(--duration_abpdj)}.___SValue_abpdj_gg_.__theme_abpdj_gg_{background-color:var(--colorBg_abpdj);background-image:var(--colorBg_abpdj)}.___SProgressBar_abpdj_gg_._size_s_abpdj_gg_,.___SValue_abpdj_gg_._size_s_abpdj_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_abpdj_gg_._size_m_abpdj_gg_,.___SValue_abpdj_gg_._size_m_abpdj_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_abpdj_gg_._size_l_abpdj_gg_,.___SValue_abpdj_gg_._size_l_abpdj_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_abpdj_gg_._theme_invert_abpdj_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_abpdj_gg_.__animation_abpdj_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_abpdj;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_abpdj)}.___SProgressBar_abpdj_gg_._theme_custom_abpdj_gg_{background-color:var(--colorBg_abpdj);background-image:var(--colorBg_abpdj)}@media (prefers-reduced-motion){.___SProgressBar_abpdj_gg_.__animation_abpdj_gg_,.___SValue_abpdj_gg_{animation-name:none}}" /*__inner_css_end__*/, "abpdj_gg_") /*__reshadow_css_end__*/, {
22
+ "__SProgressBar": "___SProgressBar_abpdj_gg_",
23
+ "_theme_dark": "_theme_dark_abpdj_gg_",
24
+ "__SValue": "___SValue_abpdj_gg_",
25
+ "--width": "--width_abpdj",
26
+ "--duration": "--duration_abpdj",
27
+ "_theme": "__theme_abpdj_gg_",
28
+ "--colorBg": "--colorBg_abpdj",
29
+ "_size_s": "_size_s_abpdj_gg_",
30
+ "_size_m": "_size_m_abpdj_gg_",
31
+ "_size_l": "_size_l_abpdj_gg_",
32
+ "_theme_invert": "_theme_invert_abpdj_gg_",
33
+ "@loading": "loading_abpdj",
34
+ "_animation": "__animation_abpdj_gg_",
35
+ "_theme_custom": "_theme_custom_abpdj_gg_"
36
36
  });
37
37
  function isCustomTheme(theme) {
38
38
  return !['dark', 'invert'].includes(theme);
@@ -12,21 +12,21 @@ import createComponent, { Component, sstyled, Root } from '@semcore/core';
12
12
  import { Box } from '@semcore/flex-box';
13
13
  import resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
14
14
  /*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_5a9oo{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_5a9oo_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_5a9oo_gg_._theme_dark_5a9oo_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_5a9oo_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_5a9oo;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_5a9oo);animation-duration:var(--duration_5a9oo);transition-duration:var(--duration_5a9oo)}.___SValue_5a9oo_gg_.__theme_5a9oo_gg_{background-color:var(--colorBg_5a9oo);background-image:var(--colorBg_5a9oo)}.___SProgressBar_5a9oo_gg_._size_s_5a9oo_gg_,.___SValue_5a9oo_gg_._size_s_5a9oo_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_5a9oo_gg_._size_m_5a9oo_gg_,.___SValue_5a9oo_gg_._size_m_5a9oo_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_5a9oo_gg_._size_l_5a9oo_gg_,.___SValue_5a9oo_gg_._size_l_5a9oo_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_5a9oo_gg_._theme_invert_5a9oo_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_5a9oo_gg_.__animation_5a9oo_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_5a9oo;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_5a9oo)}.___SProgressBar_5a9oo_gg_._theme_custom_5a9oo_gg_{background-color:var(--colorBg_5a9oo);background-image:var(--colorBg_5a9oo)}@media (prefers-reduced-motion){.___SProgressBar_5a9oo_gg_.__animation_5a9oo_gg_,.___SValue_5a9oo_gg_{animation-name:none}}" /*__inner_css_end__*/, "5a9oo_gg_") /*__reshadow_css_end__*/, {
16
- "__SProgressBar": "___SProgressBar_5a9oo_gg_",
17
- "_theme_dark": "_theme_dark_5a9oo_gg_",
18
- "__SValue": "___SValue_5a9oo_gg_",
19
- "--width": "--width_5a9oo",
20
- "--duration": "--duration_5a9oo",
21
- "_theme": "__theme_5a9oo_gg_",
22
- "--colorBg": "--colorBg_5a9oo",
23
- "_size_s": "_size_s_5a9oo_gg_",
24
- "_size_m": "_size_m_5a9oo_gg_",
25
- "_size_l": "_size_l_5a9oo_gg_",
26
- "_theme_invert": "_theme_invert_5a9oo_gg_",
27
- "@loading": "loading_5a9oo",
28
- "_animation": "__animation_5a9oo_gg_",
29
- "_theme_custom": "_theme_custom_5a9oo_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_abpdj{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_abpdj_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_abpdj_gg_._theme_dark_abpdj_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_abpdj_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_abpdj;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_abpdj);animation-duration:var(--duration_abpdj);transition-duration:var(--duration_abpdj)}.___SValue_abpdj_gg_.__theme_abpdj_gg_{background-color:var(--colorBg_abpdj);background-image:var(--colorBg_abpdj)}.___SProgressBar_abpdj_gg_._size_s_abpdj_gg_,.___SValue_abpdj_gg_._size_s_abpdj_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_abpdj_gg_._size_m_abpdj_gg_,.___SValue_abpdj_gg_._size_m_abpdj_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_abpdj_gg_._size_l_abpdj_gg_,.___SValue_abpdj_gg_._size_l_abpdj_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_abpdj_gg_._theme_invert_abpdj_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_abpdj_gg_.__animation_abpdj_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_abpdj;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_abpdj)}.___SProgressBar_abpdj_gg_._theme_custom_abpdj_gg_{background-color:var(--colorBg_abpdj);background-image:var(--colorBg_abpdj)}@media (prefers-reduced-motion){.___SProgressBar_abpdj_gg_.__animation_abpdj_gg_,.___SValue_abpdj_gg_{animation-name:none}}" /*__inner_css_end__*/, "abpdj_gg_") /*__reshadow_css_end__*/, {
16
+ "__SProgressBar": "___SProgressBar_abpdj_gg_",
17
+ "_theme_dark": "_theme_dark_abpdj_gg_",
18
+ "__SValue": "___SValue_abpdj_gg_",
19
+ "--width": "--width_abpdj",
20
+ "--duration": "--duration_abpdj",
21
+ "_theme": "__theme_abpdj_gg_",
22
+ "--colorBg": "--colorBg_abpdj",
23
+ "_size_s": "_size_s_abpdj_gg_",
24
+ "_size_m": "_size_m_abpdj_gg_",
25
+ "_size_l": "_size_l_abpdj_gg_",
26
+ "_theme_invert": "_theme_invert_abpdj_gg_",
27
+ "@loading": "loading_abpdj",
28
+ "_animation": "__animation_abpdj_gg_",
29
+ "_theme_custom": "_theme_custom_abpdj_gg_"
30
30
  });
31
31
  function isCustomTheme(theme) {
32
32
  return !['dark', 'invert'].includes(theme);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/progress-bar",
3
3
  "description": "Semrush ProgressBar Component",
4
- "version": "4.24.2",
4
+ "version": "4.25.0-prerelease.3",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -9,11 +9,11 @@
9
9
  "author": "UI-kit team <ui-kit-team@semrush.com>",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@semcore/flex-box": "5.25.2",
13
- "@semcore/utils": "4.26.3"
12
+ "@semcore/flex-box": "5.26.0-prerelease.3",
13
+ "@semcore/utils": "4.27.0-prerelease.3"
14
14
  },
15
15
  "peerDependencies": {
16
- "@semcore/core": "^2.17.5",
16
+ "@semcore/core": "^2.24.0-prerelease.3",
17
17
  "react": "16.8 - 18",
18
18
  "react-dom": "16.8 - 18"
19
19
  },