@semcore/mini-chart 0.25.2-prerelease.0 → 0.26.0-prerelease.0
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/package.json +4 -4
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.26.0] - 2024-11-29
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version minor update due to children dependencies update (`@semcore/flex-box` [5.38.2 ~> 5.39.0], `@semcore/utils` [4.43.3 ~> 4.44.0], `@semcore/core` [2.36.2 ~> 2.37.0]).
|
|
10
|
+
|
|
5
11
|
## [0.25.2] - 2024-11-22
|
|
6
12
|
|
|
7
13
|
### Fixed
|
|
@@ -18,15 +18,15 @@ 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__:"./donut.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
22
|
-
"__SLineGauge": "
|
|
23
|
-
"_loading": "
|
|
24
|
-
"__SDonutContainer": "
|
|
25
|
-
"__STrendLine": "
|
|
26
|
-
"__STrendBar": "
|
|
27
|
-
"@pulse": "
|
|
28
|
-
"_animate": "
|
|
29
|
-
"_semi": "
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1s0ev{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1s0ev_gg_.__loading_1s0ev_gg_,.___SLineGauge_1s0ev_gg_.__loading_1s0ev_gg_,.___STrendBar_1s0ev_gg_.__loading_1s0ev_gg_,.___STrendLine_1s0ev_gg_.__loading_1s0ev_gg_{animation-name:pulse_1s0ev;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1s0ev_gg_.__semi_1s0ev_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1s0ev_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1s0ev_gg_.__animate_1s0ev_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}" /*__inner_css_end__*/, "1s0ev_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SLineGauge": "___SLineGauge_1s0ev_gg_",
|
|
23
|
+
"_loading": "__loading_1s0ev_gg_",
|
|
24
|
+
"__SDonutContainer": "___SDonutContainer_1s0ev_gg_",
|
|
25
|
+
"__STrendLine": "___STrendLine_1s0ev_gg_",
|
|
26
|
+
"__STrendBar": "___STrendBar_1s0ev_gg_",
|
|
27
|
+
"@pulse": "pulse_1s0ev",
|
|
28
|
+
"_animate": "__animate_1s0ev_gg_",
|
|
29
|
+
"_semi": "__semi_1s0ev_gg_"
|
|
30
30
|
});
|
|
31
31
|
var DonutRoot = /*#__PURE__*/function (_Component) {
|
|
32
32
|
(0, _inherits2["default"])(DonutRoot, _Component);
|
|
@@ -18,24 +18,24 @@ 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
|
|
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-
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_zjdbf{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_zjdbf{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_zjdbf_gg_.__loading_zjdbf_gg_,.___SLineGauge_zjdbf_gg_.__loading_zjdbf_gg_,.___STrendBar_zjdbf_gg_.__loading_zjdbf_gg_,.___STrendLine_zjdbf_gg_.__loading_zjdbf_gg_{animation-name:pulse_zjdbf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_zjdbf_gg_{height:8px;background-color:var(--base-bg-color_zjdbf, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_zjdbf_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_zjdbf_gg_.__percent_zjdbf_gg_{width:var(--percent_zjdbf)}.___SLineSegmentItem_zjdbf_gg_.__color_zjdbf_gg_,.___SLineValue_zjdbf_gg_.__color_zjdbf_gg_{background-color:var(--color_zjdbf, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_zjdbf_gg_.__segments_zjdbf_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_zjdbf_gg_,.___SLineGaugeSegment_zjdbf_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_zjdbf_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_zjdbf_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_zjdbf_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_zjdbf;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}" /*__inner_css_end__*/, "zjdbf_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SLineGauge": "___SLineGauge_zjdbf_gg_",
|
|
23
|
+
"_loading": "__loading_zjdbf_gg_",
|
|
24
|
+
"__SDonutContainer": "___SDonutContainer_zjdbf_gg_",
|
|
25
|
+
"__STrendLine": "___STrendLine_zjdbf_gg_",
|
|
26
|
+
"__STrendBar": "___STrendBar_zjdbf_gg_",
|
|
27
|
+
"@pulse": "pulse_zjdbf",
|
|
28
|
+
"--base-bg-color": "--base-bg-color_zjdbf",
|
|
29
|
+
"__SLineValue": "___SLineValue_zjdbf_gg_",
|
|
30
|
+
"_percent": "__percent_zjdbf_gg_",
|
|
31
|
+
"--percent": "--percent_zjdbf",
|
|
32
|
+
"_color": "__color_zjdbf_gg_",
|
|
33
|
+
"__SLineSegmentItem": "___SLineSegmentItem_zjdbf_gg_",
|
|
34
|
+
"--color": "--color_zjdbf",
|
|
35
|
+
"_segments": "__segments_zjdbf_gg_",
|
|
36
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_zjdbf_gg_",
|
|
37
|
+
"__SAnimationLine": "___SAnimationLine_zjdbf_gg_",
|
|
38
|
+
"@move-line": "move-line_zjdbf"
|
|
39
39
|
});
|
|
40
40
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
41
41
|
(0, _inherits2["default"])(LineRoot, _Component);
|
|
@@ -19,13 +19,13 @@ var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/en
|
|
|
19
19
|
var _Trend2 = require("./Trend");
|
|
20
20
|
var _flexBox = require("@semcore/flex-box");
|
|
21
21
|
/*__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
23
|
-
"__SLineGauge": "
|
|
24
|
-
"_loading": "
|
|
25
|
-
"__SDonutContainer": "
|
|
26
|
-
"__STrendLine": "
|
|
27
|
-
"__STrendBar": "
|
|
28
|
-
"@pulse": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_18bpf{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_18bpf_gg_.__loading_18bpf_gg_,.___SLineGauge_18bpf_gg_.__loading_18bpf_gg_,.___STrendBar_18bpf_gg_.__loading_18bpf_gg_,.___STrendLine_18bpf_gg_.__loading_18bpf_gg_{animation-name:pulse_18bpf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "18bpf_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SLineGauge": "___SLineGauge_18bpf_gg_",
|
|
24
|
+
"_loading": "__loading_18bpf_gg_",
|
|
25
|
+
"__SDonutContainer": "___SDonutContainer_18bpf_gg_",
|
|
26
|
+
"__STrendLine": "___STrendLine_18bpf_gg_",
|
|
27
|
+
"__STrendBar": "___STrendBar_18bpf_gg_",
|
|
28
|
+
"@pulse": "pulse_18bpf"
|
|
29
29
|
});
|
|
30
30
|
var TrendBarRoot = /*#__PURE__*/function (_Trend) {
|
|
31
31
|
(0, _inherits2["default"])(TrendBarRoot, _Trend);
|
|
@@ -20,13 +20,13 @@ var _uniqueID = _interopRequireDefault(require("@semcore/utils/lib/uniqueID"));
|
|
|
20
20
|
var _Trend2 = require("./Trend");
|
|
21
21
|
var _flexBox = require("@semcore/flex-box");
|
|
22
22
|
/*__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
24
|
-
"__SLineGauge": "
|
|
25
|
-
"_loading": "
|
|
26
|
-
"__SDonutContainer": "
|
|
27
|
-
"__STrendLine": "
|
|
28
|
-
"__STrendBar": "
|
|
29
|
-
"@pulse": "
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_18bpf{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_18bpf_gg_.__loading_18bpf_gg_,.___SLineGauge_18bpf_gg_.__loading_18bpf_gg_,.___STrendBar_18bpf_gg_.__loading_18bpf_gg_,.___STrendLine_18bpf_gg_.__loading_18bpf_gg_{animation-name:pulse_18bpf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "18bpf_gg_") /*__reshadow_css_end__*/, {
|
|
24
|
+
"__SLineGauge": "___SLineGauge_18bpf_gg_",
|
|
25
|
+
"_loading": "__loading_18bpf_gg_",
|
|
26
|
+
"__SDonutContainer": "___SDonutContainer_18bpf_gg_",
|
|
27
|
+
"__STrendLine": "___STrendLine_18bpf_gg_",
|
|
28
|
+
"__STrendBar": "___STrendBar_18bpf_gg_",
|
|
29
|
+
"@pulse": "pulse_18bpf"
|
|
30
30
|
});
|
|
31
31
|
var TrendLineRoot = /*#__PURE__*/function (_Trend) {
|
|
32
32
|
(0, _inherits2["default"])(TrendLineRoot, _Trend);
|
|
@@ -12,15 +12,15 @@ 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
|
|
16
|
-
"__SLineGauge": "
|
|
17
|
-
"_loading": "
|
|
18
|
-
"__SDonutContainer": "
|
|
19
|
-
"__STrendLine": "
|
|
20
|
-
"__STrendBar": "
|
|
21
|
-
"@pulse": "
|
|
22
|
-
"_animate": "
|
|
23
|
-
"_semi": "
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1s0ev{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1s0ev_gg_.__loading_1s0ev_gg_,.___SLineGauge_1s0ev_gg_.__loading_1s0ev_gg_,.___STrendBar_1s0ev_gg_.__loading_1s0ev_gg_,.___STrendLine_1s0ev_gg_.__loading_1s0ev_gg_{animation-name:pulse_1s0ev;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1s0ev_gg_.__semi_1s0ev_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1s0ev_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1s0ev_gg_.__animate_1s0ev_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}" /*__inner_css_end__*/, "1s0ev_gg_") /*__reshadow_css_end__*/, {
|
|
16
|
+
"__SLineGauge": "___SLineGauge_1s0ev_gg_",
|
|
17
|
+
"_loading": "__loading_1s0ev_gg_",
|
|
18
|
+
"__SDonutContainer": "___SDonutContainer_1s0ev_gg_",
|
|
19
|
+
"__STrendLine": "___STrendLine_1s0ev_gg_",
|
|
20
|
+
"__STrendBar": "___STrendBar_1s0ev_gg_",
|
|
21
|
+
"@pulse": "pulse_1s0ev",
|
|
22
|
+
"_animate": "__animate_1s0ev_gg_",
|
|
23
|
+
"_semi": "__semi_1s0ev_gg_"
|
|
24
24
|
});
|
|
25
25
|
var DonutRoot = /*#__PURE__*/function (_Component) {
|
|
26
26
|
_inherits(DonutRoot, _Component);
|
|
@@ -13,24 +13,24 @@ 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
|
|
17
|
-
"__SLineGauge": "
|
|
18
|
-
"_loading": "
|
|
19
|
-
"__SDonutContainer": "
|
|
20
|
-
"__STrendLine": "
|
|
21
|
-
"__STrendBar": "
|
|
22
|
-
"@pulse": "
|
|
23
|
-
"--base-bg-color": "--base-bg-
|
|
24
|
-
"__SLineValue": "
|
|
25
|
-
"_percent": "
|
|
26
|
-
"--percent": "--
|
|
27
|
-
"_color": "
|
|
28
|
-
"__SLineSegmentItem": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_segments": "
|
|
31
|
-
"__SLineGaugeSegment": "
|
|
32
|
-
"__SAnimationLine": "
|
|
33
|
-
"@move-line": "move-
|
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_zjdbf{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_zjdbf{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_zjdbf_gg_.__loading_zjdbf_gg_,.___SLineGauge_zjdbf_gg_.__loading_zjdbf_gg_,.___STrendBar_zjdbf_gg_.__loading_zjdbf_gg_,.___STrendLine_zjdbf_gg_.__loading_zjdbf_gg_{animation-name:pulse_zjdbf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_zjdbf_gg_{height:8px;background-color:var(--base-bg-color_zjdbf, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_zjdbf_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_zjdbf_gg_.__percent_zjdbf_gg_{width:var(--percent_zjdbf)}.___SLineSegmentItem_zjdbf_gg_.__color_zjdbf_gg_,.___SLineValue_zjdbf_gg_.__color_zjdbf_gg_{background-color:var(--color_zjdbf, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_zjdbf_gg_.__segments_zjdbf_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_zjdbf_gg_,.___SLineGaugeSegment_zjdbf_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_zjdbf_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_zjdbf_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_zjdbf_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_zjdbf;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}" /*__inner_css_end__*/, "zjdbf_gg_") /*__reshadow_css_end__*/, {
|
|
17
|
+
"__SLineGauge": "___SLineGauge_zjdbf_gg_",
|
|
18
|
+
"_loading": "__loading_zjdbf_gg_",
|
|
19
|
+
"__SDonutContainer": "___SDonutContainer_zjdbf_gg_",
|
|
20
|
+
"__STrendLine": "___STrendLine_zjdbf_gg_",
|
|
21
|
+
"__STrendBar": "___STrendBar_zjdbf_gg_",
|
|
22
|
+
"@pulse": "pulse_zjdbf",
|
|
23
|
+
"--base-bg-color": "--base-bg-color_zjdbf",
|
|
24
|
+
"__SLineValue": "___SLineValue_zjdbf_gg_",
|
|
25
|
+
"_percent": "__percent_zjdbf_gg_",
|
|
26
|
+
"--percent": "--percent_zjdbf",
|
|
27
|
+
"_color": "__color_zjdbf_gg_",
|
|
28
|
+
"__SLineSegmentItem": "___SLineSegmentItem_zjdbf_gg_",
|
|
29
|
+
"--color": "--color_zjdbf",
|
|
30
|
+
"_segments": "__segments_zjdbf_gg_",
|
|
31
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_zjdbf_gg_",
|
|
32
|
+
"__SAnimationLine": "___SAnimationLine_zjdbf_gg_",
|
|
33
|
+
"@move-line": "move-line_zjdbf"
|
|
34
34
|
});
|
|
35
35
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
36
36
|
_inherits(LineRoot, _Component);
|
|
@@ -12,13 +12,13 @@ import resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance
|
|
|
12
12
|
import { Trend } from './Trend';
|
|
13
13
|
import { Box } from '@semcore/flex-box';
|
|
14
14
|
/*__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
16
|
-
"__SLineGauge": "
|
|
17
|
-
"_loading": "
|
|
18
|
-
"__SDonutContainer": "
|
|
19
|
-
"__STrendLine": "
|
|
20
|
-
"__STrendBar": "
|
|
21
|
-
"@pulse": "
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_18bpf{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_18bpf_gg_.__loading_18bpf_gg_,.___SLineGauge_18bpf_gg_.__loading_18bpf_gg_,.___STrendBar_18bpf_gg_.__loading_18bpf_gg_,.___STrendLine_18bpf_gg_.__loading_18bpf_gg_{animation-name:pulse_18bpf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "18bpf_gg_") /*__reshadow_css_end__*/, {
|
|
16
|
+
"__SLineGauge": "___SLineGauge_18bpf_gg_",
|
|
17
|
+
"_loading": "__loading_18bpf_gg_",
|
|
18
|
+
"__SDonutContainer": "___SDonutContainer_18bpf_gg_",
|
|
19
|
+
"__STrendLine": "___STrendLine_18bpf_gg_",
|
|
20
|
+
"__STrendBar": "___STrendBar_18bpf_gg_",
|
|
21
|
+
"@pulse": "pulse_18bpf"
|
|
22
22
|
});
|
|
23
23
|
var TrendBarRoot = /*#__PURE__*/function (_Trend) {
|
|
24
24
|
_inherits(TrendBarRoot, _Trend);
|
|
@@ -13,13 +13,13 @@ import uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';
|
|
|
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
|
|
17
|
-
"__SLineGauge": "
|
|
18
|
-
"_loading": "
|
|
19
|
-
"__SDonutContainer": "
|
|
20
|
-
"__STrendLine": "
|
|
21
|
-
"__STrendBar": "
|
|
22
|
-
"@pulse": "
|
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_18bpf{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_18bpf_gg_.__loading_18bpf_gg_,.___SLineGauge_18bpf_gg_.__loading_18bpf_gg_,.___STrendBar_18bpf_gg_.__loading_18bpf_gg_,.___STrendLine_18bpf_gg_.__loading_18bpf_gg_{animation-name:pulse_18bpf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "18bpf_gg_") /*__reshadow_css_end__*/, {
|
|
17
|
+
"__SLineGauge": "___SLineGauge_18bpf_gg_",
|
|
18
|
+
"_loading": "__loading_18bpf_gg_",
|
|
19
|
+
"__SDonutContainer": "___SDonutContainer_18bpf_gg_",
|
|
20
|
+
"__STrendLine": "___STrendLine_18bpf_gg_",
|
|
21
|
+
"__STrendBar": "___STrendBar_18bpf_gg_",
|
|
22
|
+
"@pulse": "pulse_18bpf"
|
|
23
23
|
});
|
|
24
24
|
var TrendLineRoot = /*#__PURE__*/function (_Trend) {
|
|
25
25
|
_inherits(TrendLineRoot, _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.
|
|
4
|
+
"version": "0.26.0-prerelease.0",
|
|
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.
|
|
13
|
-
"@semcore/utils": "4.
|
|
12
|
+
"@semcore/flex-box": "5.39.0-prerelease.0",
|
|
13
|
+
"@semcore/utils": "4.44.0-prerelease.0"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@semcore/core": "^2.
|
|
16
|
+
"@semcore/core": "^2.37.0-prerelease.0",
|
|
17
17
|
"react": "16.8 - 18",
|
|
18
18
|
"react-dom": "16.8 - 18"
|
|
19
19
|
},
|