@semcore/progress-bar 17.0.0-prerelease.43 → 17.0.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 +6 -0
- package/lib/cjs/ProgressBar.js +15 -15
- package/lib/es6/ProgressBar.js +15 -15
- package/lib/esm/ProgressBar.mjs +17 -16
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/lib/cjs/ProgressBar.js
CHANGED
|
@@ -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
|
|
14
|
+
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes loading_12yye{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_12yye_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_12yye_gg_._theme_dark_12yye_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_12yye_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_12yye;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_12yye);animation-duration:var(--duration_12yye);transition-duration:var(--duration_12yye)}.___SValue_12yye_gg_.__theme_12yye_gg_{background-color:var(--colorBg_12yye);background-image:var(--colorBg_12yye)}.___SProgressBar_12yye_gg_._size_s_12yye_gg_,.___SValue_12yye_gg_._size_s_12yye_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_12yye_gg_._size_m_12yye_gg_,.___SValue_12yye_gg_._size_m_12yye_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_12yye_gg_._size_l_12yye_gg_,.___SValue_12yye_gg_._size_l_12yye_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_12yye_gg_._theme_invert_12yye_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_12yye_gg_.__animation_12yye_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_12yye;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_12yye)}.___SProgressBar_12yye_gg_._theme_custom_12yye_gg_{background-color:var(--colorBg_12yye);background-image:var(--colorBg_12yye)}@media (prefers-reduced-motion){.___SProgressBar_12yye_gg_.__animation_12yye_gg_,.___SValue_12yye_gg_{animation-name:none}}", /*__inner_css_end__*/"12yye_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SProgressBar": "
|
|
18
|
-
"_theme_dark": "
|
|
19
|
-
"__SValue": "
|
|
20
|
-
"--width": "--
|
|
21
|
-
"--duration": "--
|
|
22
|
-
"_theme": "
|
|
23
|
-
"--colorBg": "--
|
|
24
|
-
"_size_s": "
|
|
25
|
-
"_size_m": "
|
|
26
|
-
"_size_l": "
|
|
27
|
-
"_theme_invert": "
|
|
28
|
-
"@loading": "
|
|
29
|
-
"_animation": "
|
|
30
|
-
"_theme_custom": "
|
|
17
|
+
"__SProgressBar": "___SProgressBar_12yye_gg_",
|
|
18
|
+
"_theme_dark": "_theme_dark_12yye_gg_",
|
|
19
|
+
"__SValue": "___SValue_12yye_gg_",
|
|
20
|
+
"--width": "--width_12yye",
|
|
21
|
+
"--duration": "--duration_12yye",
|
|
22
|
+
"_theme": "__theme_12yye_gg_",
|
|
23
|
+
"--colorBg": "--colorBg_12yye",
|
|
24
|
+
"_size_s": "_size_s_12yye_gg_",
|
|
25
|
+
"_size_m": "_size_m_12yye_gg_",
|
|
26
|
+
"_size_l": "_size_l_12yye_gg_",
|
|
27
|
+
"_theme_invert": "_theme_invert_12yye_gg_",
|
|
28
|
+
"@loading": "loading_12yye",
|
|
29
|
+
"_animation": "__animation_12yye_gg_",
|
|
30
|
+
"_theme_custom": "_theme_custom_12yye_gg_"
|
|
31
31
|
});
|
|
32
32
|
function isCustomTheme(theme) {
|
|
33
33
|
if (!theme) return false;
|
package/lib/es6/ProgressBar.js
CHANGED
|
@@ -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
|
|
10
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes loading_12yye{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_12yye_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_12yye_gg_._theme_dark_12yye_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_12yye_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_12yye;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_12yye);animation-duration:var(--duration_12yye);transition-duration:var(--duration_12yye)}.___SValue_12yye_gg_.__theme_12yye_gg_{background-color:var(--colorBg_12yye);background-image:var(--colorBg_12yye)}.___SProgressBar_12yye_gg_._size_s_12yye_gg_,.___SValue_12yye_gg_._size_s_12yye_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_12yye_gg_._size_m_12yye_gg_,.___SValue_12yye_gg_._size_m_12yye_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_12yye_gg_._size_l_12yye_gg_,.___SValue_12yye_gg_._size_l_12yye_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_12yye_gg_._theme_invert_12yye_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_12yye_gg_.__animation_12yye_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_12yye;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_12yye)}.___SProgressBar_12yye_gg_._theme_custom_12yye_gg_{background-color:var(--colorBg_12yye);background-image:var(--colorBg_12yye)}@media (prefers-reduced-motion){.___SProgressBar_12yye_gg_.__animation_12yye_gg_,.___SValue_12yye_gg_{animation-name:none}}", /*__inner_css_end__*/"12yye_gg_"),
|
|
11
11
|
/*__reshadow_css_end__*/
|
|
12
12
|
{
|
|
13
|
-
"__SProgressBar": "
|
|
14
|
-
"_theme_dark": "
|
|
15
|
-
"__SValue": "
|
|
16
|
-
"--width": "--
|
|
17
|
-
"--duration": "--
|
|
18
|
-
"_theme": "
|
|
19
|
-
"--colorBg": "--
|
|
20
|
-
"_size_s": "
|
|
21
|
-
"_size_m": "
|
|
22
|
-
"_size_l": "
|
|
23
|
-
"_theme_invert": "
|
|
24
|
-
"@loading": "
|
|
25
|
-
"_animation": "
|
|
26
|
-
"_theme_custom": "
|
|
13
|
+
"__SProgressBar": "___SProgressBar_12yye_gg_",
|
|
14
|
+
"_theme_dark": "_theme_dark_12yye_gg_",
|
|
15
|
+
"__SValue": "___SValue_12yye_gg_",
|
|
16
|
+
"--width": "--width_12yye",
|
|
17
|
+
"--duration": "--duration_12yye",
|
|
18
|
+
"_theme": "__theme_12yye_gg_",
|
|
19
|
+
"--colorBg": "--colorBg_12yye",
|
|
20
|
+
"_size_s": "_size_s_12yye_gg_",
|
|
21
|
+
"_size_m": "_size_m_12yye_gg_",
|
|
22
|
+
"_size_l": "_size_l_12yye_gg_",
|
|
23
|
+
"_theme_invert": "_theme_invert_12yye_gg_",
|
|
24
|
+
"@loading": "loading_12yye",
|
|
25
|
+
"_animation": "__animation_12yye_gg_",
|
|
26
|
+
"_theme_custom": "_theme_custom_12yye_gg_"
|
|
27
27
|
});
|
|
28
28
|
function isCustomTheme(theme) {
|
|
29
29
|
if (!theme) return false;
|
package/lib/esm/ProgressBar.mjs
CHANGED
|
@@ -3,29 +3,30 @@ import { sstyled, Component, assignProps, createComponent } from "@semcore/core"
|
|
|
3
3
|
import { Box } from "@semcore/base-components";
|
|
4
4
|
import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
|
|
5
5
|
import React from "react";
|
|
6
|
+
/*!__reshadow-styles__:"./style/progress-bar.shadow.css"*/
|
|
6
7
|
const style = (
|
|
7
8
|
/*__reshadow_css_start__*/
|
|
8
9
|
(sstyled.insert(
|
|
9
10
|
/*__inner_css_start__*/
|
|
10
|
-
"@keyframes
|
|
11
|
+
"@keyframes loading_12yye{0%{background-position:0 0}to{background-position:60px 0}}.___SProgressBar_12yye_gg_{position:relative;width:100%;overflow:hidden;background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_12yye_gg_._theme_dark_12yye_gg_{background-color:var(--intergalactic-progress-bar-bg-invert, rgba(255, 255, 255, 0.2))}.___SValue_12yye_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_12yye;animation-timing-function:linear;animation-iteration-count:infinite;transition-property:width;transition-timing-function:linear;width:var(--width_12yye);animation-duration:var(--duration_12yye);transition-duration:var(--duration_12yye)}.___SValue_12yye_gg_.__theme_12yye_gg_{background-color:var(--colorBg_12yye);background-image:var(--colorBg_12yye)}.___SProgressBar_12yye_gg_._size_s_12yye_gg_,.___SValue_12yye_gg_._size_s_12yye_gg_{height:4px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:8px 8px}.___SProgressBar_12yye_gg_._size_m_12yye_gg_,.___SValue_12yye_gg_._size_m_12yye_gg_{height:8px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:12px 12px}.___SProgressBar_12yye_gg_._size_l_12yye_gg_,.___SValue_12yye_gg_._size_l_12yye_gg_{height:12px;border-radius:var(--intergalactic-progress-bar-rounded, 6px);background-size:16px 16px}.___SProgressBar_12yye_gg_._theme_invert_12yye_gg_{background-color:var(--intergalactic-progress-bar-bg, #e0e1e9)}.___SProgressBar_12yye_gg_.__animation_12yye_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_12yye;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:var(--duration_12yye)}.___SProgressBar_12yye_gg_._theme_custom_12yye_gg_{background-color:var(--colorBg_12yye);background-image:var(--colorBg_12yye)}@media (prefers-reduced-motion){.___SProgressBar_12yye_gg_.__animation_12yye_gg_,.___SValue_12yye_gg_{animation-name:none}}",
|
|
11
12
|
/*__inner_css_end__*/
|
|
12
|
-
"
|
|
13
|
+
"12yye_gg_"
|
|
13
14
|
), /*__reshadow_css_end__*/
|
|
14
15
|
{
|
|
15
|
-
"__SProgressBar": "
|
|
16
|
-
"_theme_dark": "
|
|
17
|
-
"__SValue": "
|
|
18
|
-
"--width": "--
|
|
19
|
-
"--duration": "--
|
|
20
|
-
"_theme": "
|
|
21
|
-
"--colorBg": "--
|
|
22
|
-
"_size_s": "
|
|
23
|
-
"_size_m": "
|
|
24
|
-
"_size_l": "
|
|
25
|
-
"_theme_invert": "
|
|
26
|
-
"@loading": "
|
|
27
|
-
"_animation": "
|
|
28
|
-
"_theme_custom": "
|
|
16
|
+
"__SProgressBar": "___SProgressBar_12yye_gg_",
|
|
17
|
+
"_theme_dark": "_theme_dark_12yye_gg_",
|
|
18
|
+
"__SValue": "___SValue_12yye_gg_",
|
|
19
|
+
"--width": "--width_12yye",
|
|
20
|
+
"--duration": "--duration_12yye",
|
|
21
|
+
"_theme": "__theme_12yye_gg_",
|
|
22
|
+
"--colorBg": "--colorBg_12yye",
|
|
23
|
+
"_size_s": "_size_s_12yye_gg_",
|
|
24
|
+
"_size_m": "_size_m_12yye_gg_",
|
|
25
|
+
"_size_l": "_size_l_12yye_gg_",
|
|
26
|
+
"_theme_invert": "_theme_invert_12yye_gg_",
|
|
27
|
+
"@loading": "loading_12yye",
|
|
28
|
+
"_animation": "__animation_12yye_gg_",
|
|
29
|
+
"_theme_custom": "_theme_custom_12yye_gg_"
|
|
29
30
|
})
|
|
30
31
|
);
|
|
31
32
|
function isCustomTheme(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": "17.0.
|
|
4
|
+
"version": "17.0.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"require": "./lib/cjs/index.js"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@semcore/base-components": "^17.0.
|
|
17
|
+
"@semcore/base-components": "^17.0.1"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"directory": "semcore/progress-bar"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@semcore/
|
|
25
|
+
"@semcore/base-components": "17.0.1",
|
|
26
26
|
"@semcore/testing-utils": "1.0.0",
|
|
27
|
-
"@semcore/
|
|
27
|
+
"@semcore/core": "17.0.1"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "pnpm semcore-builder && pnpm vite build"
|