@semcore/progress-bar 4.18.1-prerelease.1 → 4.18.2-prerelease.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,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
- ## [4.18.1-prerelease.1] - 2024-02-06
5
+ ## [4.18.2-prerelease.1] - 2024-02-09
6
+
7
+ ### Changed
8
+
9
+ - Version prepatch update due to children dependencies update (`@semcore/flex-box` [5.19.0 ~> 5.19.1], `@semcore/utils` [4.20.1 ~> 4.20.2], `@semcore/core` [2.17.1 ~> 2.17.2]).
10
+
11
+ ## [4.18.1] - 2024-02-06
6
12
 
7
13
  ### Changed
8
14
 
@@ -17,21 +17,21 @@ var _react = _interopRequireDefault(require("react"));
17
17
  var _flexBox = require("@semcore/flex-box");
18
18
  var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
19
19
  /*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_y1c9l{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_y1c9l_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_y1c9l_gg_._theme_dark_y1c9l_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_y1c9l_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_y1c9l;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_y1c9l);animation-duration:var(--duration_y1c9l);transition-duration:var(--duration_y1c9l)}.___SValue_y1c9l_gg_.__theme_y1c9l_gg_{background-color:var(--colorBg_y1c9l);background-image:var(--colorBg_y1c9l)}.___SProgressBar_y1c9l_gg_._size_s_y1c9l_gg_,.___SValue_y1c9l_gg_._size_s_y1c9l_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_y1c9l_gg_._size_m_y1c9l_gg_,.___SValue_y1c9l_gg_._size_m_y1c9l_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_y1c9l_gg_._size_l_y1c9l_gg_,.___SValue_y1c9l_gg_._size_l_y1c9l_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_y1c9l_gg_._theme_invert_y1c9l_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_y1c9l_gg_.__animation_y1c9l_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_y1c9l;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_y1c9l)}.___SProgressBar_y1c9l_gg_._theme_custom_y1c9l_gg_{background-color:var(--colorBg_y1c9l);background-image:var(--colorBg_y1c9l)}@media (prefers-reduced-motion){.___SProgressBar_y1c9l_gg_.__animation_y1c9l_gg_,.___SValue_y1c9l_gg_{animation-name:none}}" /*__inner_css_end__*/, "y1c9l_gg_") /*__reshadow_css_end__*/, {
21
- "__SProgressBar": "___SProgressBar_y1c9l_gg_",
22
- "_theme_dark": "_theme_dark_y1c9l_gg_",
23
- "__SValue": "___SValue_y1c9l_gg_",
24
- "--width": "--width_y1c9l",
25
- "--duration": "--duration_y1c9l",
26
- "_theme": "__theme_y1c9l_gg_",
27
- "--colorBg": "--colorBg_y1c9l",
28
- "_size_s": "_size_s_y1c9l_gg_",
29
- "_size_m": "_size_m_y1c9l_gg_",
30
- "_size_l": "_size_l_y1c9l_gg_",
31
- "_theme_invert": "_theme_invert_y1c9l_gg_",
32
- "@loading": "loading_y1c9l",
33
- "_animation": "__animation_y1c9l_gg_",
34
- "_theme_custom": "_theme_custom_y1c9l_gg_"
20
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_1kg8t{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1kg8t_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1kg8t_gg_._theme_dark_1kg8t_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1kg8t_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_1kg8t;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1kg8t);animation-duration:var(--duration_1kg8t);transition-duration:var(--duration_1kg8t)}.___SValue_1kg8t_gg_.__theme_1kg8t_gg_{background-color:var(--colorBg_1kg8t);background-image:var(--colorBg_1kg8t)}.___SProgressBar_1kg8t_gg_._size_s_1kg8t_gg_,.___SValue_1kg8t_gg_._size_s_1kg8t_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1kg8t_gg_._size_m_1kg8t_gg_,.___SValue_1kg8t_gg_._size_m_1kg8t_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1kg8t_gg_._size_l_1kg8t_gg_,.___SValue_1kg8t_gg_._size_l_1kg8t_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1kg8t_gg_._theme_invert_1kg8t_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1kg8t_gg_.__animation_1kg8t_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_1kg8t;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1kg8t)}.___SProgressBar_1kg8t_gg_._theme_custom_1kg8t_gg_{background-color:var(--colorBg_1kg8t);background-image:var(--colorBg_1kg8t)}@media (prefers-reduced-motion){.___SProgressBar_1kg8t_gg_.__animation_1kg8t_gg_,.___SValue_1kg8t_gg_{animation-name:none}}" /*__inner_css_end__*/, "1kg8t_gg_") /*__reshadow_css_end__*/, {
21
+ "__SProgressBar": "___SProgressBar_1kg8t_gg_",
22
+ "_theme_dark": "_theme_dark_1kg8t_gg_",
23
+ "__SValue": "___SValue_1kg8t_gg_",
24
+ "--width": "--width_1kg8t",
25
+ "--duration": "--duration_1kg8t",
26
+ "_theme": "__theme_1kg8t_gg_",
27
+ "--colorBg": "--colorBg_1kg8t",
28
+ "_size_s": "_size_s_1kg8t_gg_",
29
+ "_size_m": "_size_m_1kg8t_gg_",
30
+ "_size_l": "_size_l_1kg8t_gg_",
31
+ "_theme_invert": "_theme_invert_1kg8t_gg_",
32
+ "@loading": "loading_1kg8t",
33
+ "_animation": "__animation_1kg8t_gg_",
34
+ "_theme_custom": "_theme_custom_1kg8t_gg_"
35
35
  });
36
36
  function isCustomTheme(theme) {
37
37
  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_y1c9l{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_y1c9l_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_y1c9l_gg_._theme_dark_y1c9l_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_y1c9l_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_y1c9l;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_y1c9l);animation-duration:var(--duration_y1c9l);transition-duration:var(--duration_y1c9l)}.___SValue_y1c9l_gg_.__theme_y1c9l_gg_{background-color:var(--colorBg_y1c9l);background-image:var(--colorBg_y1c9l)}.___SProgressBar_y1c9l_gg_._size_s_y1c9l_gg_,.___SValue_y1c9l_gg_._size_s_y1c9l_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_y1c9l_gg_._size_m_y1c9l_gg_,.___SValue_y1c9l_gg_._size_m_y1c9l_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_y1c9l_gg_._size_l_y1c9l_gg_,.___SValue_y1c9l_gg_._size_l_y1c9l_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_y1c9l_gg_._theme_invert_y1c9l_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_y1c9l_gg_.__animation_y1c9l_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_y1c9l;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_y1c9l)}.___SProgressBar_y1c9l_gg_._theme_custom_y1c9l_gg_{background-color:var(--colorBg_y1c9l);background-image:var(--colorBg_y1c9l)}@media (prefers-reduced-motion){.___SProgressBar_y1c9l_gg_.__animation_y1c9l_gg_,.___SValue_y1c9l_gg_{animation-name:none}}" /*__inner_css_end__*/, "y1c9l_gg_") /*__reshadow_css_end__*/, {
16
- "__SProgressBar": "___SProgressBar_y1c9l_gg_",
17
- "_theme_dark": "_theme_dark_y1c9l_gg_",
18
- "__SValue": "___SValue_y1c9l_gg_",
19
- "--width": "--width_y1c9l",
20
- "--duration": "--duration_y1c9l",
21
- "_theme": "__theme_y1c9l_gg_",
22
- "--colorBg": "--colorBg_y1c9l",
23
- "_size_s": "_size_s_y1c9l_gg_",
24
- "_size_m": "_size_m_y1c9l_gg_",
25
- "_size_l": "_size_l_y1c9l_gg_",
26
- "_theme_invert": "_theme_invert_y1c9l_gg_",
27
- "@loading": "loading_y1c9l",
28
- "_animation": "__animation_y1c9l_gg_",
29
- "_theme_custom": "_theme_custom_y1c9l_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_1kg8t{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1kg8t_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1kg8t_gg_._theme_dark_1kg8t_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_1kg8t_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_1kg8t;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_1kg8t);animation-duration:var(--duration_1kg8t);transition-duration:var(--duration_1kg8t)}.___SValue_1kg8t_gg_.__theme_1kg8t_gg_{background-color:var(--colorBg_1kg8t);background-image:var(--colorBg_1kg8t)}.___SProgressBar_1kg8t_gg_._size_s_1kg8t_gg_,.___SValue_1kg8t_gg_._size_s_1kg8t_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1kg8t_gg_._size_m_1kg8t_gg_,.___SValue_1kg8t_gg_._size_m_1kg8t_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1kg8t_gg_._size_l_1kg8t_gg_,.___SValue_1kg8t_gg_._size_l_1kg8t_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1kg8t_gg_._theme_invert_1kg8t_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1kg8t_gg_.__animation_1kg8t_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_1kg8t;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_1kg8t)}.___SProgressBar_1kg8t_gg_._theme_custom_1kg8t_gg_{background-color:var(--colorBg_1kg8t);background-image:var(--colorBg_1kg8t)}@media (prefers-reduced-motion){.___SProgressBar_1kg8t_gg_.__animation_1kg8t_gg_,.___SValue_1kg8t_gg_{animation-name:none}}" /*__inner_css_end__*/, "1kg8t_gg_") /*__reshadow_css_end__*/, {
16
+ "__SProgressBar": "___SProgressBar_1kg8t_gg_",
17
+ "_theme_dark": "_theme_dark_1kg8t_gg_",
18
+ "__SValue": "___SValue_1kg8t_gg_",
19
+ "--width": "--width_1kg8t",
20
+ "--duration": "--duration_1kg8t",
21
+ "_theme": "__theme_1kg8t_gg_",
22
+ "--colorBg": "--colorBg_1kg8t",
23
+ "_size_s": "_size_s_1kg8t_gg_",
24
+ "_size_m": "_size_m_1kg8t_gg_",
25
+ "_size_l": "_size_l_1kg8t_gg_",
26
+ "_theme_invert": "_theme_invert_1kg8t_gg_",
27
+ "@loading": "loading_1kg8t",
28
+ "_animation": "__animation_1kg8t_gg_",
29
+ "_theme_custom": "_theme_custom_1kg8t_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.18.1-prerelease.1",
4
+ "version": "4.18.2-prerelease.1",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -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.19.0-prerelease.1",
13
- "@semcore/utils": "4.20.1-prerelease.1"
12
+ "@semcore/flex-box": "5.19.1-prerelease.1",
13
+ "@semcore/utils": "4.20.2-prerelease.1"
14
14
  },
15
15
  "peerDependencies": {
16
- "@semcore/core": "^2.17.1-prerelease.1",
16
+ "@semcore/core": "^2.17.2-prerelease.1",
17
17
  "react": "16.8 - 18",
18
18
  "react-dom": "16.8 - 18"
19
19
  },