@semcore/progress-bar 3.3.20 → 3.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,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
- ## [3.3.20] - 2023-04-14
5
+ ## [3.3.21] - 2023-04-24
6
6
 
7
7
  ### Changed
8
8
 
9
- - Version patch update due to children dependencies update (`@semcore/flex-box` [4.7.18 ~> 4.7.19], `@semcore/utils` [3.50.0 ~> 3.50.2]).
9
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [4.7.19 ~> 4.7.20], `@semcore/utils` [3.50.3 ~> 3.50.4]).
10
10
 
11
11
  ## [3.3.9] - 2023-02-09
12
12
 
@@ -17,21 +17,21 @@ var _react = _interopRequireDefault(require("react"));
17
17
  var _flexBox = require("@semcore/flex-box");
18
18
  var _color = _interopRequireDefault(require("@semcore/utils/lib/color"));
19
19
  /*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_13s6g{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_13s6g_gg_{position:relative;width:100%;overflow:hidden}.___SValue_13s6g_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(\n -45deg,\n rgba(0, 159, 129, 0.9) 25%,\n rgba(0, 159, 129, 1) 0%,\n rgba(0, 159, 129, 1) 50%,\n rgba(0, 159, 129, 0.9) 0%,\n rgba(0, 159, 129, 0.9) 75%,\n rgba(0, 159, 129, 1) 0%\n )\n );overflow:hidden;animation-name:loading_13s6g;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;transition-duration:1000ms}.___SProgressBar_13s6g_gg_._size_s_13s6g_gg_,.___SValue_13s6g_gg_._size_s_13s6g_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_13s6g_gg_._size_m_13s6g_gg_,.___SValue_13s6g_gg_._size_m_13s6g_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_13s6g_gg_._size_l_13s6g_gg_,.___SValue_13s6g_gg_._size_l_13s6g_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_13s6g_gg_._theme_dark_13s6g_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SProgressBar_13s6g_gg_,.___SProgressBar_13s6g_gg_._theme_invert_13s6g_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_13s6g_gg_.__animation_13s6g_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(\n -45deg,\n rgba(224, 225, 233, 0.9) 25%,\n rgba(224, 225, 233, 1) 0%,\n rgba(224, 225, 233, 1) 50%,\n rgba(224, 225, 233, 0.9) 0%,\n rgba(224, 225, 233, 0.9) 75%,\n rgba(224, 225, 233, 1) 0%\n )\n );animation-name:loading_13s6g;animation-timing-function:linear;animation-iteration-count:infinite}.___SProgressBar_13s6g_gg_._theme_custom_13s6g_gg_{background-color:var(--colorBg_13s6g);background-image:var(--colorBg_13s6g)}.___SProgressBar_13s6g_gg_.__animation_13s6g_gg_,.___SValue_13s6g_gg_{animation-duration:var(--duration_13s6g)}.___SValue_13s6g_gg_{width:var(--width_13s6g)}.___SValue_13s6g_gg_.__theme_13s6g_gg_{background-color:var(--colorBg_13s6g);background-image:var(--colorBg_13s6g)}@media (prefers-reduced-motion){.___SProgressBar_13s6g_gg_.__animation_13s6g_gg_,.___SValue_13s6g_gg_{animation-name:none}}" /*__inner_css_end__*/, "13s6g_gg_") /*__reshadow_css_end__*/, {
21
- "__SProgressBar": "___SProgressBar_13s6g_gg_",
22
- "__SValue": "___SValue_13s6g_gg_",
23
- "_size_s": "_size_s_13s6g_gg_",
24
- "_size_m": "_size_m_13s6g_gg_",
25
- "_size_l": "_size_l_13s6g_gg_",
26
- "_theme_dark": "_theme_dark_13s6g_gg_",
27
- "_theme_invert": "_theme_invert_13s6g_gg_",
28
- "@loading": "loading_13s6g",
29
- "_animation": "__animation_13s6g_gg_",
30
- "_theme_custom": "_theme_custom_13s6g_gg_",
31
- "--colorBg": "--colorBg_13s6g",
32
- "--duration": "--duration_13s6g",
33
- "--width": "--width_13s6g",
34
- "_theme": "__theme_13s6g_gg_"
20
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes loading_1jvp0{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1jvp0_gg_{position:relative;width:100%;overflow:hidden}.___SValue_1jvp0_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(\n -45deg,\n rgba(0, 159, 129, 0.9) 25%,\n rgba(0, 159, 129, 1) 0%,\n rgba(0, 159, 129, 1) 50%,\n rgba(0, 159, 129, 0.9) 0%,\n rgba(0, 159, 129, 0.9) 75%,\n rgba(0, 159, 129, 1) 0%\n )\n );overflow:hidden;animation-name:loading_1jvp0;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;transition-duration:1000ms}.___SProgressBar_1jvp0_gg_._size_s_1jvp0_gg_,.___SValue_1jvp0_gg_._size_s_1jvp0_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1jvp0_gg_._size_m_1jvp0_gg_,.___SValue_1jvp0_gg_._size_m_1jvp0_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1jvp0_gg_._size_l_1jvp0_gg_,.___SValue_1jvp0_gg_._size_l_1jvp0_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1jvp0_gg_._theme_dark_1jvp0_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SProgressBar_1jvp0_gg_,.___SProgressBar_1jvp0_gg_._theme_invert_1jvp0_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1jvp0_gg_.__animation_1jvp0_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(\n -45deg,\n rgba(224, 225, 233, 0.9) 25%,\n rgba(224, 225, 233, 1) 0%,\n rgba(224, 225, 233, 1) 50%,\n rgba(224, 225, 233, 0.9) 0%,\n rgba(224, 225, 233, 0.9) 75%,\n rgba(224, 225, 233, 1) 0%\n )\n );animation-name:loading_1jvp0;animation-timing-function:linear;animation-iteration-count:infinite}.___SProgressBar_1jvp0_gg_._theme_custom_1jvp0_gg_{background-color:var(--colorBg_1jvp0);background-image:var(--colorBg_1jvp0)}.___SProgressBar_1jvp0_gg_.__animation_1jvp0_gg_,.___SValue_1jvp0_gg_{animation-duration:var(--duration_1jvp0)}.___SValue_1jvp0_gg_{width:var(--width_1jvp0)}.___SValue_1jvp0_gg_.__theme_1jvp0_gg_{background-color:var(--colorBg_1jvp0);background-image:var(--colorBg_1jvp0)}@media (prefers-reduced-motion){.___SProgressBar_1jvp0_gg_.__animation_1jvp0_gg_,.___SValue_1jvp0_gg_{animation-name:none}}" /*__inner_css_end__*/, "1jvp0_gg_") /*__reshadow_css_end__*/, {
21
+ "__SProgressBar": "___SProgressBar_1jvp0_gg_",
22
+ "__SValue": "___SValue_1jvp0_gg_",
23
+ "_size_s": "_size_s_1jvp0_gg_",
24
+ "_size_m": "_size_m_1jvp0_gg_",
25
+ "_size_l": "_size_l_1jvp0_gg_",
26
+ "_theme_dark": "_theme_dark_1jvp0_gg_",
27
+ "_theme_invert": "_theme_invert_1jvp0_gg_",
28
+ "@loading": "loading_1jvp0",
29
+ "_animation": "__animation_1jvp0_gg_",
30
+ "_theme_custom": "_theme_custom_1jvp0_gg_",
31
+ "--colorBg": "--colorBg_1jvp0",
32
+ "--duration": "--duration_1jvp0",
33
+ "--width": "--width_1jvp0",
34
+ "_theme": "__theme_1jvp0_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 resolveColor from '@semcore/utils/lib/color';
14
14
  /*__reshadow-styles__:"./style/progress-bar.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_13s6g{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_13s6g_gg_{position:relative;width:100%;overflow:hidden}.___SValue_13s6g_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(\n -45deg,\n rgba(0, 159, 129, 0.9) 25%,\n rgba(0, 159, 129, 1) 0%,\n rgba(0, 159, 129, 1) 50%,\n rgba(0, 159, 129, 0.9) 0%,\n rgba(0, 159, 129, 0.9) 75%,\n rgba(0, 159, 129, 1) 0%\n )\n );overflow:hidden;animation-name:loading_13s6g;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;transition-duration:1000ms}.___SProgressBar_13s6g_gg_._size_s_13s6g_gg_,.___SValue_13s6g_gg_._size_s_13s6g_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_13s6g_gg_._size_m_13s6g_gg_,.___SValue_13s6g_gg_._size_m_13s6g_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_13s6g_gg_._size_l_13s6g_gg_,.___SValue_13s6g_gg_._size_l_13s6g_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_13s6g_gg_._theme_dark_13s6g_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SProgressBar_13s6g_gg_,.___SProgressBar_13s6g_gg_._theme_invert_13s6g_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_13s6g_gg_.__animation_13s6g_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(\n -45deg,\n rgba(224, 225, 233, 0.9) 25%,\n rgba(224, 225, 233, 1) 0%,\n rgba(224, 225, 233, 1) 50%,\n rgba(224, 225, 233, 0.9) 0%,\n rgba(224, 225, 233, 0.9) 75%,\n rgba(224, 225, 233, 1) 0%\n )\n );animation-name:loading_13s6g;animation-timing-function:linear;animation-iteration-count:infinite}.___SProgressBar_13s6g_gg_._theme_custom_13s6g_gg_{background-color:var(--colorBg_13s6g);background-image:var(--colorBg_13s6g)}.___SProgressBar_13s6g_gg_.__animation_13s6g_gg_,.___SValue_13s6g_gg_{animation-duration:var(--duration_13s6g)}.___SValue_13s6g_gg_{width:var(--width_13s6g)}.___SValue_13s6g_gg_.__theme_13s6g_gg_{background-color:var(--colorBg_13s6g);background-image:var(--colorBg_13s6g)}@media (prefers-reduced-motion){.___SProgressBar_13s6g_gg_.__animation_13s6g_gg_,.___SValue_13s6g_gg_{animation-name:none}}" /*__inner_css_end__*/, "13s6g_gg_") /*__reshadow_css_end__*/, {
16
- "__SProgressBar": "___SProgressBar_13s6g_gg_",
17
- "__SValue": "___SValue_13s6g_gg_",
18
- "_size_s": "_size_s_13s6g_gg_",
19
- "_size_m": "_size_m_13s6g_gg_",
20
- "_size_l": "_size_l_13s6g_gg_",
21
- "_theme_dark": "_theme_dark_13s6g_gg_",
22
- "_theme_invert": "_theme_invert_13s6g_gg_",
23
- "@loading": "loading_13s6g",
24
- "_animation": "__animation_13s6g_gg_",
25
- "_theme_custom": "_theme_custom_13s6g_gg_",
26
- "--colorBg": "--colorBg_13s6g",
27
- "--duration": "--duration_13s6g",
28
- "--width": "--width_13s6g",
29
- "_theme": "__theme_13s6g_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes loading_1jvp0{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_1jvp0_gg_{position:relative;width:100%;overflow:hidden}.___SValue_1jvp0_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(\n -45deg,\n rgba(0, 159, 129, 0.9) 25%,\n rgba(0, 159, 129, 1) 0%,\n rgba(0, 159, 129, 1) 50%,\n rgba(0, 159, 129, 0.9) 0%,\n rgba(0, 159, 129, 0.9) 75%,\n rgba(0, 159, 129, 1) 0%\n )\n );overflow:hidden;animation-name:loading_1jvp0;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;transition-duration:1000ms}.___SProgressBar_1jvp0_gg_._size_s_1jvp0_gg_,.___SValue_1jvp0_gg_._size_s_1jvp0_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_1jvp0_gg_._size_m_1jvp0_gg_,.___SValue_1jvp0_gg_._size_m_1jvp0_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_1jvp0_gg_._size_l_1jvp0_gg_,.___SValue_1jvp0_gg_._size_l_1jvp0_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_1jvp0_gg_._theme_dark_1jvp0_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SProgressBar_1jvp0_gg_,.___SProgressBar_1jvp0_gg_._theme_invert_1jvp0_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_1jvp0_gg_.__animation_1jvp0_gg_{background-color:var(--intergalactic-progress-bar-value-bg, #000000);background-image:var(--intergalactic-progress-bar-pattern-gradient,\n linear-gradient(\n -45deg,\n rgba(224, 225, 233, 0.9) 25%,\n rgba(224, 225, 233, 1) 0%,\n rgba(224, 225, 233, 1) 50%,\n rgba(224, 225, 233, 0.9) 0%,\n rgba(224, 225, 233, 0.9) 75%,\n rgba(224, 225, 233, 1) 0%\n )\n );animation-name:loading_1jvp0;animation-timing-function:linear;animation-iteration-count:infinite}.___SProgressBar_1jvp0_gg_._theme_custom_1jvp0_gg_{background-color:var(--colorBg_1jvp0);background-image:var(--colorBg_1jvp0)}.___SProgressBar_1jvp0_gg_.__animation_1jvp0_gg_,.___SValue_1jvp0_gg_{animation-duration:var(--duration_1jvp0)}.___SValue_1jvp0_gg_{width:var(--width_1jvp0)}.___SValue_1jvp0_gg_.__theme_1jvp0_gg_{background-color:var(--colorBg_1jvp0);background-image:var(--colorBg_1jvp0)}@media (prefers-reduced-motion){.___SProgressBar_1jvp0_gg_.__animation_1jvp0_gg_,.___SValue_1jvp0_gg_{animation-name:none}}" /*__inner_css_end__*/, "1jvp0_gg_") /*__reshadow_css_end__*/, {
16
+ "__SProgressBar": "___SProgressBar_1jvp0_gg_",
17
+ "__SValue": "___SValue_1jvp0_gg_",
18
+ "_size_s": "_size_s_1jvp0_gg_",
19
+ "_size_m": "_size_m_1jvp0_gg_",
20
+ "_size_l": "_size_l_1jvp0_gg_",
21
+ "_theme_dark": "_theme_dark_1jvp0_gg_",
22
+ "_theme_invert": "_theme_invert_1jvp0_gg_",
23
+ "@loading": "loading_1jvp0",
24
+ "_animation": "__animation_1jvp0_gg_",
25
+ "_theme_custom": "_theme_custom_1jvp0_gg_",
26
+ "--colorBg": "--colorBg_1jvp0",
27
+ "--duration": "--duration_1jvp0",
28
+ "--width": "--width_1jvp0",
29
+ "_theme": "__theme_1jvp0_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": "3.3.20",
4
+ "version": "3.3.21",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",