@semcore/mini-chart 0.29.3 → 0.29.4
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/component/score/Donut.js +9 -9
- package/lib/cjs/component/score/Line.js +18 -18
- package/lib/cjs/component/trend/Bar.js +7 -7
- package/lib/cjs/component/trend/Line.js +7 -7
- package/lib/es6/component/score/Donut.js +9 -9
- package/lib/es6/component/score/Line.js +18 -18
- package/lib/es6/component/trend/Bar.js +7 -7
- package/lib/es6/component/trend/Line.js +7 -7
- package/lib/esm/component/score/Donut.mjs +10 -10
- package/lib/esm/component/score/Line.mjs +19 -19
- package/lib/esm/component/trend/Bar.mjs +8 -8
- package/lib/esm/component/trend/Line.mjs +8 -8
- package/package.json +3 -3
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
|
+
## [0.29.4] - 2025-05-13
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [5.41.3 ~> 5.41.4], `@semcore/utils` [4.48.4 ~> 4.48.5], `@semcore/core` [2.39.3 ~> 2.39.4]).
|
|
10
|
+
|
|
5
11
|
## [0.29.3] - 2025-05-09
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
@@ -19,17 +19,17 @@ var _flexBox = require("@semcore/flex-box");
|
|
|
19
19
|
var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
|
|
20
20
|
var _ariaProps = require("@semcore/utils/lib/ariaProps");
|
|
21
21
|
/*!__reshadow-styles__:"./donut.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1uvfz{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1uvfz_gg_.__loading_1uvfz_gg_,.___SLineGauge_1uvfz_gg_.__loading_1uvfz_gg_,.___STrendBar_1uvfz_gg_.__loading_1uvfz_gg_,.___STrendLine_1uvfz_gg_.__loading_1uvfz_gg_{animation-name:pulse_1uvfz;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1uvfz_gg_.__semi_1uvfz_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1uvfz_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1uvfz_gg_.__animate_1uvfz_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}", /*__inner_css_end__*/"1uvfz_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SLineGauge": "
|
|
26
|
-
"_loading": "
|
|
27
|
-
"__SDonutContainer": "
|
|
28
|
-
"__STrendLine": "
|
|
29
|
-
"__STrendBar": "
|
|
30
|
-
"@pulse": "
|
|
31
|
-
"_animate": "
|
|
32
|
-
"_semi": "
|
|
25
|
+
"__SLineGauge": "___SLineGauge_1uvfz_gg_",
|
|
26
|
+
"_loading": "__loading_1uvfz_gg_",
|
|
27
|
+
"__SDonutContainer": "___SDonutContainer_1uvfz_gg_",
|
|
28
|
+
"__STrendLine": "___STrendLine_1uvfz_gg_",
|
|
29
|
+
"__STrendBar": "___STrendBar_1uvfz_gg_",
|
|
30
|
+
"@pulse": "pulse_1uvfz",
|
|
31
|
+
"_animate": "__animate_1uvfz_gg_",
|
|
32
|
+
"_semi": "__semi_1uvfz_gg_"
|
|
33
33
|
});
|
|
34
34
|
var DonutRoot = /*#__PURE__*/function (_Component) {
|
|
35
35
|
(0, _inherits2["default"])(DonutRoot, _Component);
|
|
@@ -18,26 +18,26 @@ 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__:"./line.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_13rvt{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_13rvt{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_13rvt_gg_.__loading_13rvt_gg_,.___SLineGauge_13rvt_gg_.__loading_13rvt_gg_,.___STrendBar_13rvt_gg_.__loading_13rvt_gg_,.___STrendLine_13rvt_gg_.__loading_13rvt_gg_{animation-name:pulse_13rvt;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_13rvt_gg_{height:8px;background-color:var(--base-bg-color_13rvt, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_13rvt_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_13rvt_gg_.__percent_13rvt_gg_{width:var(--percent_13rvt)}.___SLineSegmentItem_13rvt_gg_.__color_13rvt_gg_,.___SLineValue_13rvt_gg_.__color_13rvt_gg_{background-color:var(--color_13rvt, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_13rvt_gg_.__segments_13rvt_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_13rvt_gg_,.___SLineGaugeSegment_13rvt_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_13rvt_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_13rvt_gg_{height:8px;background:0 0;border-right-color:var(--intergalactic-chart-grid-border, #ffffff);border-right-style:solid;border-right-width:1px;box-sizing:content-box}.___SAnimationLine_13rvt_gg_{background-color:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9);transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out;animation-name:move-line_13rvt;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}", /*__inner_css_end__*/"13rvt_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SLineGauge": "
|
|
25
|
-
"_loading": "
|
|
26
|
-
"__SDonutContainer": "
|
|
27
|
-
"__STrendLine": "
|
|
28
|
-
"__STrendBar": "
|
|
29
|
-
"@pulse": "
|
|
30
|
-
"--base-bg-color": "--base-bg-
|
|
31
|
-
"__SLineValue": "
|
|
32
|
-
"_percent": "
|
|
33
|
-
"--percent": "--
|
|
34
|
-
"_color": "
|
|
35
|
-
"__SLineSegmentItem": "
|
|
36
|
-
"--color": "--
|
|
37
|
-
"_segments": "
|
|
38
|
-
"__SLineGaugeSegment": "
|
|
39
|
-
"__SAnimationLine": "
|
|
40
|
-
"@move-line": "move-
|
|
24
|
+
"__SLineGauge": "___SLineGauge_13rvt_gg_",
|
|
25
|
+
"_loading": "__loading_13rvt_gg_",
|
|
26
|
+
"__SDonutContainer": "___SDonutContainer_13rvt_gg_",
|
|
27
|
+
"__STrendLine": "___STrendLine_13rvt_gg_",
|
|
28
|
+
"__STrendBar": "___STrendBar_13rvt_gg_",
|
|
29
|
+
"@pulse": "pulse_13rvt",
|
|
30
|
+
"--base-bg-color": "--base-bg-color_13rvt",
|
|
31
|
+
"__SLineValue": "___SLineValue_13rvt_gg_",
|
|
32
|
+
"_percent": "__percent_13rvt_gg_",
|
|
33
|
+
"--percent": "--percent_13rvt",
|
|
34
|
+
"_color": "__color_13rvt_gg_",
|
|
35
|
+
"__SLineSegmentItem": "___SLineSegmentItem_13rvt_gg_",
|
|
36
|
+
"--color": "--color_13rvt",
|
|
37
|
+
"_segments": "__segments_13rvt_gg_",
|
|
38
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_13rvt_gg_",
|
|
39
|
+
"__SAnimationLine": "___SAnimationLine_13rvt_gg_",
|
|
40
|
+
"@move-line": "move-line_13rvt"
|
|
41
41
|
});
|
|
42
42
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
43
43
|
(0, _inherits2["default"])(LineRoot, _Component);
|
|
@@ -21,15 +21,15 @@ var _Trend2 = require("./Trend");
|
|
|
21
21
|
var _flexBox = require("@semcore/flex-box");
|
|
22
22
|
var _ariaProps = require("@semcore/utils/lib/ariaProps");
|
|
23
23
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
24
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
24
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1k9zd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1k9zd_gg_.__loading_1k9zd_gg_,.___SLineGauge_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendBar_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendLine_1k9zd_gg_.__loading_1k9zd_gg_{animation-name:pulse_1k9zd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1k9zd_gg_"),
|
|
25
25
|
/*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SLineGauge": "
|
|
28
|
-
"_loading": "
|
|
29
|
-
"__SDonutContainer": "
|
|
30
|
-
"__STrendLine": "
|
|
31
|
-
"__STrendBar": "
|
|
32
|
-
"@pulse": "
|
|
27
|
+
"__SLineGauge": "___SLineGauge_1k9zd_gg_",
|
|
28
|
+
"_loading": "__loading_1k9zd_gg_",
|
|
29
|
+
"__SDonutContainer": "___SDonutContainer_1k9zd_gg_",
|
|
30
|
+
"__STrendLine": "___STrendLine_1k9zd_gg_",
|
|
31
|
+
"__STrendBar": "___STrendBar_1k9zd_gg_",
|
|
32
|
+
"@pulse": "pulse_1k9zd"
|
|
33
33
|
});
|
|
34
34
|
var TrendBarRoot = /*#__PURE__*/function (_Trend) {
|
|
35
35
|
(0, _inherits2["default"])(TrendBarRoot, _Trend);
|
|
@@ -22,15 +22,15 @@ var _Trend2 = require("./Trend");
|
|
|
22
22
|
var _flexBox = require("@semcore/flex-box");
|
|
23
23
|
var _ariaProps = require("@semcore/utils/lib/ariaProps");
|
|
24
24
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
25
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
25
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1k9zd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1k9zd_gg_.__loading_1k9zd_gg_,.___SLineGauge_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendBar_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendLine_1k9zd_gg_.__loading_1k9zd_gg_{animation-name:pulse_1k9zd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1k9zd_gg_"),
|
|
26
26
|
/*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__SLineGauge": "
|
|
29
|
-
"_loading": "
|
|
30
|
-
"__SDonutContainer": "
|
|
31
|
-
"__STrendLine": "
|
|
32
|
-
"__STrendBar": "
|
|
33
|
-
"@pulse": "
|
|
28
|
+
"__SLineGauge": "___SLineGauge_1k9zd_gg_",
|
|
29
|
+
"_loading": "__loading_1k9zd_gg_",
|
|
30
|
+
"__SDonutContainer": "___SDonutContainer_1k9zd_gg_",
|
|
31
|
+
"__STrendLine": "___STrendLine_1k9zd_gg_",
|
|
32
|
+
"__STrendBar": "___STrendBar_1k9zd_gg_",
|
|
33
|
+
"@pulse": "pulse_1k9zd"
|
|
34
34
|
});
|
|
35
35
|
var TrendLineRoot = /*#__PURE__*/function (_Trend) {
|
|
36
36
|
(0, _inherits2["default"])(TrendLineRoot, _Trend);
|
|
@@ -12,17 +12,17 @@ import { Box } from '@semcore/flex-box';
|
|
|
12
12
|
import resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
|
|
13
13
|
import { assignProps } from '@semcore/core';
|
|
14
14
|
/*!__reshadow-styles__:"./donut.shadow.css"*/
|
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1uvfz{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1uvfz_gg_.__loading_1uvfz_gg_,.___SLineGauge_1uvfz_gg_.__loading_1uvfz_gg_,.___STrendBar_1uvfz_gg_.__loading_1uvfz_gg_,.___STrendLine_1uvfz_gg_.__loading_1uvfz_gg_{animation-name:pulse_1uvfz;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1uvfz_gg_.__semi_1uvfz_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1uvfz_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1uvfz_gg_.__animate_1uvfz_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}", /*__inner_css_end__*/"1uvfz_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SLineGauge": "
|
|
19
|
-
"_loading": "
|
|
20
|
-
"__SDonutContainer": "
|
|
21
|
-
"__STrendLine": "
|
|
22
|
-
"__STrendBar": "
|
|
23
|
-
"@pulse": "
|
|
24
|
-
"_animate": "
|
|
25
|
-
"_semi": "
|
|
18
|
+
"__SLineGauge": "___SLineGauge_1uvfz_gg_",
|
|
19
|
+
"_loading": "__loading_1uvfz_gg_",
|
|
20
|
+
"__SDonutContainer": "___SDonutContainer_1uvfz_gg_",
|
|
21
|
+
"__STrendLine": "___STrendLine_1uvfz_gg_",
|
|
22
|
+
"__STrendBar": "___STrendBar_1uvfz_gg_",
|
|
23
|
+
"@pulse": "pulse_1uvfz",
|
|
24
|
+
"_animate": "__animate_1uvfz_gg_",
|
|
25
|
+
"_semi": "__semi_1uvfz_gg_"
|
|
26
26
|
});
|
|
27
27
|
import { extractAriaProps } from '@semcore/utils/lib/ariaProps';
|
|
28
28
|
var DonutRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -13,26 +13,26 @@ import createComponent, { Component, Root, sstyled } from '@semcore/core';
|
|
|
13
13
|
import { Box, Flex } from '@semcore/flex-box';
|
|
14
14
|
import resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
|
|
15
15
|
/*!__reshadow-styles__:"./line.shadow.css"*/
|
|
16
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_13rvt{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_13rvt{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_13rvt_gg_.__loading_13rvt_gg_,.___SLineGauge_13rvt_gg_.__loading_13rvt_gg_,.___STrendBar_13rvt_gg_.__loading_13rvt_gg_,.___STrendLine_13rvt_gg_.__loading_13rvt_gg_{animation-name:pulse_13rvt;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_13rvt_gg_{height:8px;background-color:var(--base-bg-color_13rvt, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_13rvt_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_13rvt_gg_.__percent_13rvt_gg_{width:var(--percent_13rvt)}.___SLineSegmentItem_13rvt_gg_.__color_13rvt_gg_,.___SLineValue_13rvt_gg_.__color_13rvt_gg_{background-color:var(--color_13rvt, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_13rvt_gg_.__segments_13rvt_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_13rvt_gg_,.___SLineGaugeSegment_13rvt_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_13rvt_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_13rvt_gg_{height:8px;background:0 0;border-right-color:var(--intergalactic-chart-grid-border, #ffffff);border-right-style:solid;border-right-width:1px;box-sizing:content-box}.___SAnimationLine_13rvt_gg_{background-color:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9);transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out;animation-name:move-line_13rvt;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}", /*__inner_css_end__*/"13rvt_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SLineGauge": "
|
|
20
|
-
"_loading": "
|
|
21
|
-
"__SDonutContainer": "
|
|
22
|
-
"__STrendLine": "
|
|
23
|
-
"__STrendBar": "
|
|
24
|
-
"@pulse": "
|
|
25
|
-
"--base-bg-color": "--base-bg-
|
|
26
|
-
"__SLineValue": "
|
|
27
|
-
"_percent": "
|
|
28
|
-
"--percent": "--
|
|
29
|
-
"_color": "
|
|
30
|
-
"__SLineSegmentItem": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_segments": "
|
|
33
|
-
"__SLineGaugeSegment": "
|
|
34
|
-
"__SAnimationLine": "
|
|
35
|
-
"@move-line": "move-
|
|
19
|
+
"__SLineGauge": "___SLineGauge_13rvt_gg_",
|
|
20
|
+
"_loading": "__loading_13rvt_gg_",
|
|
21
|
+
"__SDonutContainer": "___SDonutContainer_13rvt_gg_",
|
|
22
|
+
"__STrendLine": "___STrendLine_13rvt_gg_",
|
|
23
|
+
"__STrendBar": "___STrendBar_13rvt_gg_",
|
|
24
|
+
"@pulse": "pulse_13rvt",
|
|
25
|
+
"--base-bg-color": "--base-bg-color_13rvt",
|
|
26
|
+
"__SLineValue": "___SLineValue_13rvt_gg_",
|
|
27
|
+
"_percent": "__percent_13rvt_gg_",
|
|
28
|
+
"--percent": "--percent_13rvt",
|
|
29
|
+
"_color": "__color_13rvt_gg_",
|
|
30
|
+
"__SLineSegmentItem": "___SLineSegmentItem_13rvt_gg_",
|
|
31
|
+
"--color": "--color_13rvt",
|
|
32
|
+
"_segments": "__segments_13rvt_gg_",
|
|
33
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_13rvt_gg_",
|
|
34
|
+
"__SAnimationLine": "___SAnimationLine_13rvt_gg_",
|
|
35
|
+
"@move-line": "move-line_13rvt"
|
|
36
36
|
});
|
|
37
37
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
38
38
|
_inherits(LineRoot, _Component);
|
|
@@ -13,15 +13,15 @@ import resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance
|
|
|
13
13
|
import { Trend } from './Trend';
|
|
14
14
|
import { Box } from '@semcore/flex-box';
|
|
15
15
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
16
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1k9zd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1k9zd_gg_.__loading_1k9zd_gg_,.___SLineGauge_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendBar_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendLine_1k9zd_gg_.__loading_1k9zd_gg_{animation-name:pulse_1k9zd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1k9zd_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SLineGauge": "
|
|
20
|
-
"_loading": "
|
|
21
|
-
"__SDonutContainer": "
|
|
22
|
-
"__STrendLine": "
|
|
23
|
-
"__STrendBar": "
|
|
24
|
-
"@pulse": "
|
|
19
|
+
"__SLineGauge": "___SLineGauge_1k9zd_gg_",
|
|
20
|
+
"_loading": "__loading_1k9zd_gg_",
|
|
21
|
+
"__SDonutContainer": "___SDonutContainer_1k9zd_gg_",
|
|
22
|
+
"__STrendLine": "___STrendLine_1k9zd_gg_",
|
|
23
|
+
"__STrendBar": "___STrendBar_1k9zd_gg_",
|
|
24
|
+
"@pulse": "pulse_1k9zd"
|
|
25
25
|
});
|
|
26
26
|
import { extractAriaProps } from '@semcore/utils/lib/ariaProps';
|
|
27
27
|
var TrendBarRoot = /*#__PURE__*/function (_Trend) {
|
|
@@ -14,15 +14,15 @@ import uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';
|
|
|
14
14
|
import { Trend } from './Trend';
|
|
15
15
|
import { Box } from '@semcore/flex-box';
|
|
16
16
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
17
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
17
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1k9zd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1k9zd_gg_.__loading_1k9zd_gg_,.___SLineGauge_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendBar_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendLine_1k9zd_gg_.__loading_1k9zd_gg_{animation-name:pulse_1k9zd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1k9zd_gg_"),
|
|
18
18
|
/*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SLineGauge": "
|
|
21
|
-
"_loading": "
|
|
22
|
-
"__SDonutContainer": "
|
|
23
|
-
"__STrendLine": "
|
|
24
|
-
"__STrendBar": "
|
|
25
|
-
"@pulse": "
|
|
20
|
+
"__SLineGauge": "___SLineGauge_1k9zd_gg_",
|
|
21
|
+
"_loading": "__loading_1k9zd_gg_",
|
|
22
|
+
"__SDonutContainer": "___SDonutContainer_1k9zd_gg_",
|
|
23
|
+
"__STrendLine": "___STrendLine_1k9zd_gg_",
|
|
24
|
+
"__STrendBar": "___STrendBar_1k9zd_gg_",
|
|
25
|
+
"@pulse": "pulse_1k9zd"
|
|
26
26
|
});
|
|
27
27
|
import { extractAriaProps } from '@semcore/utils/lib/ariaProps';
|
|
28
28
|
var TrendLineRoot = /*#__PURE__*/function (_Trend) {
|
|
@@ -15,19 +15,19 @@ var style = (
|
|
|
15
15
|
/*__reshadow_css_start__*/
|
|
16
16
|
(sstyled.insert(
|
|
17
17
|
/*__inner_css_start__*/
|
|
18
|
-
"@keyframes
|
|
18
|
+
"@keyframes pulse_1uvfz{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1uvfz_gg_.__loading_1uvfz_gg_,.___SLineGauge_1uvfz_gg_.__loading_1uvfz_gg_,.___STrendBar_1uvfz_gg_.__loading_1uvfz_gg_,.___STrendLine_1uvfz_gg_.__loading_1uvfz_gg_{animation-name:pulse_1uvfz;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1uvfz_gg_.__semi_1uvfz_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1uvfz_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1uvfz_gg_.__animate_1uvfz_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}",
|
|
19
19
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
20
|
+
"1uvfz_gg_"
|
|
21
21
|
), /*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SLineGauge": "
|
|
24
|
-
"_loading": "
|
|
25
|
-
"__SDonutContainer": "
|
|
26
|
-
"__STrendLine": "
|
|
27
|
-
"__STrendBar": "
|
|
28
|
-
"@pulse": "
|
|
29
|
-
"_animate": "
|
|
30
|
-
"_semi": "
|
|
23
|
+
"__SLineGauge": "___SLineGauge_1uvfz_gg_",
|
|
24
|
+
"_loading": "__loading_1uvfz_gg_",
|
|
25
|
+
"__SDonutContainer": "___SDonutContainer_1uvfz_gg_",
|
|
26
|
+
"__STrendLine": "___STrendLine_1uvfz_gg_",
|
|
27
|
+
"__STrendBar": "___STrendBar_1uvfz_gg_",
|
|
28
|
+
"@pulse": "pulse_1uvfz",
|
|
29
|
+
"_animate": "__animate_1uvfz_gg_",
|
|
30
|
+
"_semi": "__semi_1uvfz_gg_"
|
|
31
31
|
})
|
|
32
32
|
);
|
|
33
33
|
var DonutRoot = /* @__PURE__ */ function(_Component) {
|
|
@@ -14,28 +14,28 @@ var style = (
|
|
|
14
14
|
/*__reshadow_css_start__*/
|
|
15
15
|
(sstyled.insert(
|
|
16
16
|
/*__inner_css_start__*/
|
|
17
|
-
"@keyframes
|
|
17
|
+
"@keyframes pulse_13rvt{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_13rvt{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_13rvt_gg_.__loading_13rvt_gg_,.___SLineGauge_13rvt_gg_.__loading_13rvt_gg_,.___STrendBar_13rvt_gg_.__loading_13rvt_gg_,.___STrendLine_13rvt_gg_.__loading_13rvt_gg_{animation-name:pulse_13rvt;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_13rvt_gg_{height:8px;background-color:var(--base-bg-color_13rvt, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_13rvt_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_13rvt_gg_.__percent_13rvt_gg_{width:var(--percent_13rvt)}.___SLineSegmentItem_13rvt_gg_.__color_13rvt_gg_,.___SLineValue_13rvt_gg_.__color_13rvt_gg_{background-color:var(--color_13rvt, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_13rvt_gg_.__segments_13rvt_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_13rvt_gg_,.___SLineGaugeSegment_13rvt_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_13rvt_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_13rvt_gg_{height:8px;background:0 0;border-right-color:var(--intergalactic-chart-grid-border, #ffffff);border-right-style:solid;border-right-width:1px;box-sizing:content-box}.___SAnimationLine_13rvt_gg_{background-color:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9);transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out;animation-name:move-line_13rvt;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}",
|
|
18
18
|
/*__inner_css_end__*/
|
|
19
|
-
"
|
|
19
|
+
"13rvt_gg_"
|
|
20
20
|
), /*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SLineGauge": "
|
|
23
|
-
"_loading": "
|
|
24
|
-
"__SDonutContainer": "
|
|
25
|
-
"__STrendLine": "
|
|
26
|
-
"__STrendBar": "
|
|
27
|
-
"@pulse": "
|
|
28
|
-
"--base-bg-color": "--base-bg-
|
|
29
|
-
"__SLineValue": "
|
|
30
|
-
"_percent": "
|
|
31
|
-
"--percent": "--
|
|
32
|
-
"_color": "
|
|
33
|
-
"__SLineSegmentItem": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"_segments": "
|
|
36
|
-
"__SLineGaugeSegment": "
|
|
37
|
-
"__SAnimationLine": "
|
|
38
|
-
"@move-line": "move-
|
|
22
|
+
"__SLineGauge": "___SLineGauge_13rvt_gg_",
|
|
23
|
+
"_loading": "__loading_13rvt_gg_",
|
|
24
|
+
"__SDonutContainer": "___SDonutContainer_13rvt_gg_",
|
|
25
|
+
"__STrendLine": "___STrendLine_13rvt_gg_",
|
|
26
|
+
"__STrendBar": "___STrendBar_13rvt_gg_",
|
|
27
|
+
"@pulse": "pulse_13rvt",
|
|
28
|
+
"--base-bg-color": "--base-bg-color_13rvt",
|
|
29
|
+
"__SLineValue": "___SLineValue_13rvt_gg_",
|
|
30
|
+
"_percent": "__percent_13rvt_gg_",
|
|
31
|
+
"--percent": "--percent_13rvt",
|
|
32
|
+
"_color": "__color_13rvt_gg_",
|
|
33
|
+
"__SLineSegmentItem": "___SLineSegmentItem_13rvt_gg_",
|
|
34
|
+
"--color": "--color_13rvt",
|
|
35
|
+
"_segments": "__segments_13rvt_gg_",
|
|
36
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_13rvt_gg_",
|
|
37
|
+
"__SAnimationLine": "___SAnimationLine_13rvt_gg_",
|
|
38
|
+
"@move-line": "move-line_13rvt"
|
|
39
39
|
})
|
|
40
40
|
);
|
|
41
41
|
var LineRoot = /* @__PURE__ */ function(_Component) {
|
|
@@ -17,17 +17,17 @@ var style = (
|
|
|
17
17
|
/*__reshadow_css_start__*/
|
|
18
18
|
(sstyled.insert(
|
|
19
19
|
/*__inner_css_start__*/
|
|
20
|
-
"@keyframes
|
|
20
|
+
"@keyframes pulse_1k9zd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1k9zd_gg_.__loading_1k9zd_gg_,.___SLineGauge_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendBar_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendLine_1k9zd_gg_.__loading_1k9zd_gg_{animation-name:pulse_1k9zd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}",
|
|
21
21
|
/*__inner_css_end__*/
|
|
22
|
-
"
|
|
22
|
+
"1k9zd_gg_"
|
|
23
23
|
), /*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SLineGauge": "
|
|
26
|
-
"_loading": "
|
|
27
|
-
"__SDonutContainer": "
|
|
28
|
-
"__STrendLine": "
|
|
29
|
-
"__STrendBar": "
|
|
30
|
-
"@pulse": "
|
|
25
|
+
"__SLineGauge": "___SLineGauge_1k9zd_gg_",
|
|
26
|
+
"_loading": "__loading_1k9zd_gg_",
|
|
27
|
+
"__SDonutContainer": "___SDonutContainer_1k9zd_gg_",
|
|
28
|
+
"__STrendLine": "___STrendLine_1k9zd_gg_",
|
|
29
|
+
"__STrendBar": "___STrendBar_1k9zd_gg_",
|
|
30
|
+
"@pulse": "pulse_1k9zd"
|
|
31
31
|
})
|
|
32
32
|
);
|
|
33
33
|
var TrendBarRoot = /* @__PURE__ */ function(_Trend) {
|
|
@@ -18,17 +18,17 @@ var style = (
|
|
|
18
18
|
/*__reshadow_css_start__*/
|
|
19
19
|
(sstyled.insert(
|
|
20
20
|
/*__inner_css_start__*/
|
|
21
|
-
"@keyframes
|
|
21
|
+
"@keyframes pulse_1k9zd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1k9zd_gg_.__loading_1k9zd_gg_,.___SLineGauge_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendBar_1k9zd_gg_.__loading_1k9zd_gg_,.___STrendLine_1k9zd_gg_.__loading_1k9zd_gg_{animation-name:pulse_1k9zd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}",
|
|
22
22
|
/*__inner_css_end__*/
|
|
23
|
-
"
|
|
23
|
+
"1k9zd_gg_"
|
|
24
24
|
), /*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SLineGauge": "
|
|
27
|
-
"_loading": "
|
|
28
|
-
"__SDonutContainer": "
|
|
29
|
-
"__STrendLine": "
|
|
30
|
-
"__STrendBar": "
|
|
31
|
-
"@pulse": "
|
|
26
|
+
"__SLineGauge": "___SLineGauge_1k9zd_gg_",
|
|
27
|
+
"_loading": "__loading_1k9zd_gg_",
|
|
28
|
+
"__SDonutContainer": "___SDonutContainer_1k9zd_gg_",
|
|
29
|
+
"__STrendLine": "___STrendLine_1k9zd_gg_",
|
|
30
|
+
"__STrendBar": "___STrendBar_1k9zd_gg_",
|
|
31
|
+
"@pulse": "pulse_1k9zd"
|
|
32
32
|
})
|
|
33
33
|
);
|
|
34
34
|
var TrendLineRoot = /* @__PURE__ */ function(_Trend) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/mini-chart",
|
|
3
3
|
"description": "Semrush MiniChart Component",
|
|
4
|
-
"version": "0.29.
|
|
4
|
+
"version": "0.29.4",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/flex-box": "5.41.
|
|
18
|
-
"@semcore/utils": "4.48.
|
|
17
|
+
"@semcore/flex-box": "5.41.4",
|
|
18
|
+
"@semcore/utils": "4.48.5"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@semcore/core": "^2.17.5",
|