@semcore/mini-chart 16.0.0 → 16.0.1-prerelease.3
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
|
+
## [16.0.1] - 2025-05-30
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.0.0 ~> 16.0.1], `@semcore/flex-box` [16.0.0 ~> 16.0.1]).
|
|
10
|
+
|
|
5
11
|
## [16.0.0] - 2025-05-19
|
|
6
12
|
|
|
7
13
|
### Added
|
|
@@ -17,17 +17,17 @@ var _flexBox = require("@semcore/flex-box");
|
|
|
17
17
|
var _resolveColorEnhance = _interopRequireDefault(require("@semcore/core/lib/utils/enhances/resolveColorEnhance"));
|
|
18
18
|
var _ariaProps = require("@semcore/core/lib/utils/ariaProps");
|
|
19
19
|
/*!__reshadow-styles__:"./donut.shadow.css"*/
|
|
20
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
20
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1i1x7{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1i1x7_gg_.__loading_1i1x7_gg_,.___SLineGauge_1i1x7_gg_.__loading_1i1x7_gg_,.___STrendBar_1i1x7_gg_.__loading_1i1x7_gg_,.___STrendLine_1i1x7_gg_.__loading_1i1x7_gg_{animation-name:pulse_1i1x7;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1i1x7_gg_.__semi_1i1x7_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1i1x7_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1i1x7_gg_.__animate_1i1x7_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}", /*__inner_css_end__*/"1i1x7_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_1i1x7_gg_",
|
|
24
|
+
"_loading": "__loading_1i1x7_gg_",
|
|
25
|
+
"__SDonutContainer": "___SDonutContainer_1i1x7_gg_",
|
|
26
|
+
"__STrendLine": "___STrendLine_1i1x7_gg_",
|
|
27
|
+
"__STrendBar": "___STrendBar_1i1x7_gg_",
|
|
28
|
+
"@pulse": "pulse_1i1x7",
|
|
29
|
+
"_animate": "__animate_1i1x7_gg_",
|
|
30
|
+
"_semi": "__semi_1i1x7_gg_"
|
|
31
31
|
});
|
|
32
32
|
var DonutRoot = /*#__PURE__*/function (_Component) {
|
|
33
33
|
(0, _inherits2["default"])(DonutRoot, _Component);
|
|
@@ -16,26 +16,26 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
16
16
|
var _flexBox = require("@semcore/flex-box");
|
|
17
17
|
var _resolveColorEnhance = _interopRequireDefault(require("@semcore/core/lib/utils/enhances/resolveColorEnhance"));
|
|
18
18
|
/*!__reshadow-styles__:"./line.shadow.css"*/
|
|
19
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
19
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_7icm2{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_7icm2{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_7icm2_gg_.__loading_7icm2_gg_,.___SLineGauge_7icm2_gg_.__loading_7icm2_gg_,.___STrendBar_7icm2_gg_.__loading_7icm2_gg_,.___STrendLine_7icm2_gg_.__loading_7icm2_gg_{animation-name:pulse_7icm2;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_7icm2_gg_{height:8px;background-color:var(--base-bg-color_7icm2, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_7icm2_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_7icm2_gg_.__percent_7icm2_gg_{width:var(--percent_7icm2)}.___SLineSegmentItem_7icm2_gg_.__color_7icm2_gg_,.___SLineValue_7icm2_gg_.__color_7icm2_gg_{background-color:var(--color_7icm2, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_7icm2_gg_.__segments_7icm2_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_7icm2_gg_,.___SLineGaugeSegment_7icm2_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_7icm2_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_7icm2_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_7icm2_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_7icm2;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}", /*__inner_css_end__*/"7icm2_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_7icm2_gg_",
|
|
23
|
+
"_loading": "__loading_7icm2_gg_",
|
|
24
|
+
"__SDonutContainer": "___SDonutContainer_7icm2_gg_",
|
|
25
|
+
"__STrendLine": "___STrendLine_7icm2_gg_",
|
|
26
|
+
"__STrendBar": "___STrendBar_7icm2_gg_",
|
|
27
|
+
"@pulse": "pulse_7icm2",
|
|
28
|
+
"--base-bg-color": "--base-bg-color_7icm2",
|
|
29
|
+
"__SLineValue": "___SLineValue_7icm2_gg_",
|
|
30
|
+
"_percent": "__percent_7icm2_gg_",
|
|
31
|
+
"--percent": "--percent_7icm2",
|
|
32
|
+
"_color": "__color_7icm2_gg_",
|
|
33
|
+
"__SLineSegmentItem": "___SLineSegmentItem_7icm2_gg_",
|
|
34
|
+
"--color": "--color_7icm2",
|
|
35
|
+
"_segments": "__segments_7icm2_gg_",
|
|
36
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_7icm2_gg_",
|
|
37
|
+
"__SAnimationLine": "___SAnimationLine_7icm2_gg_",
|
|
38
|
+
"@move-line": "move-line_7icm2"
|
|
39
39
|
});
|
|
40
40
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
41
41
|
(0, _inherits2["default"])(LineRoot, _Component);
|
|
@@ -19,15 +19,15 @@ var _Trend2 = require("./Trend");
|
|
|
19
19
|
var _flexBox = require("@semcore/flex-box");
|
|
20
20
|
var _ariaProps = require("@semcore/core/lib/utils/ariaProps");
|
|
21
21
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1ql6o{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1ql6o_gg_.__loading_1ql6o_gg_,.___SLineGauge_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendBar_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendLine_1ql6o_gg_.__loading_1ql6o_gg_{animation-name:pulse_1ql6o;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1ql6o_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SLineGauge": "
|
|
26
|
-
"_loading": "
|
|
27
|
-
"__SDonutContainer": "
|
|
28
|
-
"__STrendLine": "
|
|
29
|
-
"__STrendBar": "
|
|
30
|
-
"@pulse": "
|
|
25
|
+
"__SLineGauge": "___SLineGauge_1ql6o_gg_",
|
|
26
|
+
"_loading": "__loading_1ql6o_gg_",
|
|
27
|
+
"__SDonutContainer": "___SDonutContainer_1ql6o_gg_",
|
|
28
|
+
"__STrendLine": "___STrendLine_1ql6o_gg_",
|
|
29
|
+
"__STrendBar": "___STrendBar_1ql6o_gg_",
|
|
30
|
+
"@pulse": "pulse_1ql6o"
|
|
31
31
|
});
|
|
32
32
|
var TrendBarRoot = /*#__PURE__*/function (_Trend) {
|
|
33
33
|
(0, _inherits2["default"])(TrendBarRoot, _Trend);
|
|
@@ -20,15 +20,15 @@ var _Trend2 = require("./Trend");
|
|
|
20
20
|
var _flexBox = require("@semcore/flex-box");
|
|
21
21
|
var _ariaProps = require("@semcore/core/lib/utils/ariaProps");
|
|
22
22
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1ql6o{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1ql6o_gg_.__loading_1ql6o_gg_,.___SLineGauge_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendBar_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendLine_1ql6o_gg_.__loading_1ql6o_gg_{animation-name:pulse_1ql6o;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1ql6o_gg_"),
|
|
24
24
|
/*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SLineGauge": "
|
|
27
|
-
"_loading": "
|
|
28
|
-
"__SDonutContainer": "
|
|
29
|
-
"__STrendLine": "
|
|
30
|
-
"__STrendBar": "
|
|
31
|
-
"@pulse": "
|
|
26
|
+
"__SLineGauge": "___SLineGauge_1ql6o_gg_",
|
|
27
|
+
"_loading": "__loading_1ql6o_gg_",
|
|
28
|
+
"__SDonutContainer": "___SDonutContainer_1ql6o_gg_",
|
|
29
|
+
"__STrendLine": "___STrendLine_1ql6o_gg_",
|
|
30
|
+
"__STrendBar": "___STrendBar_1ql6o_gg_",
|
|
31
|
+
"@pulse": "pulse_1ql6o"
|
|
32
32
|
});
|
|
33
33
|
var TrendLineRoot = /*#__PURE__*/function (_Trend) {
|
|
34
34
|
(0, _inherits2["default"])(TrendLineRoot, _Trend);
|
|
@@ -12,17 +12,17 @@ import { Box } from '@semcore/flex-box';
|
|
|
12
12
|
import resolveColorEnhance from '@semcore/core/lib/utils/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_1i1x7{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1i1x7_gg_.__loading_1i1x7_gg_,.___SLineGauge_1i1x7_gg_.__loading_1i1x7_gg_,.___STrendBar_1i1x7_gg_.__loading_1i1x7_gg_,.___STrendLine_1i1x7_gg_.__loading_1i1x7_gg_{animation-name:pulse_1i1x7;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1i1x7_gg_.__semi_1i1x7_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1i1x7_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1i1x7_gg_.__animate_1i1x7_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}", /*__inner_css_end__*/"1i1x7_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_1i1x7_gg_",
|
|
19
|
+
"_loading": "__loading_1i1x7_gg_",
|
|
20
|
+
"__SDonutContainer": "___SDonutContainer_1i1x7_gg_",
|
|
21
|
+
"__STrendLine": "___STrendLine_1i1x7_gg_",
|
|
22
|
+
"__STrendBar": "___STrendBar_1i1x7_gg_",
|
|
23
|
+
"@pulse": "pulse_1i1x7",
|
|
24
|
+
"_animate": "__animate_1i1x7_gg_",
|
|
25
|
+
"_semi": "__semi_1i1x7_gg_"
|
|
26
26
|
});
|
|
27
27
|
import { extractAriaProps } from '@semcore/core/lib/utils/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/core/lib/utils/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_7icm2{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_7icm2{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_7icm2_gg_.__loading_7icm2_gg_,.___SLineGauge_7icm2_gg_.__loading_7icm2_gg_,.___STrendBar_7icm2_gg_.__loading_7icm2_gg_,.___STrendLine_7icm2_gg_.__loading_7icm2_gg_{animation-name:pulse_7icm2;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_7icm2_gg_{height:8px;background-color:var(--base-bg-color_7icm2, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_7icm2_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_7icm2_gg_.__percent_7icm2_gg_{width:var(--percent_7icm2)}.___SLineSegmentItem_7icm2_gg_.__color_7icm2_gg_,.___SLineValue_7icm2_gg_.__color_7icm2_gg_{background-color:var(--color_7icm2, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_7icm2_gg_.__segments_7icm2_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_7icm2_gg_,.___SLineGaugeSegment_7icm2_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_7icm2_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_7icm2_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_7icm2_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_7icm2;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}", /*__inner_css_end__*/"7icm2_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_7icm2_gg_",
|
|
20
|
+
"_loading": "__loading_7icm2_gg_",
|
|
21
|
+
"__SDonutContainer": "___SDonutContainer_7icm2_gg_",
|
|
22
|
+
"__STrendLine": "___STrendLine_7icm2_gg_",
|
|
23
|
+
"__STrendBar": "___STrendBar_7icm2_gg_",
|
|
24
|
+
"@pulse": "pulse_7icm2",
|
|
25
|
+
"--base-bg-color": "--base-bg-color_7icm2",
|
|
26
|
+
"__SLineValue": "___SLineValue_7icm2_gg_",
|
|
27
|
+
"_percent": "__percent_7icm2_gg_",
|
|
28
|
+
"--percent": "--percent_7icm2",
|
|
29
|
+
"_color": "__color_7icm2_gg_",
|
|
30
|
+
"__SLineSegmentItem": "___SLineSegmentItem_7icm2_gg_",
|
|
31
|
+
"--color": "--color_7icm2",
|
|
32
|
+
"_segments": "__segments_7icm2_gg_",
|
|
33
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_7icm2_gg_",
|
|
34
|
+
"__SAnimationLine": "___SAnimationLine_7icm2_gg_",
|
|
35
|
+
"@move-line": "move-line_7icm2"
|
|
36
36
|
});
|
|
37
37
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
38
38
|
_inherits(LineRoot, _Component);
|
|
@@ -13,15 +13,15 @@ import resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEn
|
|
|
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_1ql6o{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1ql6o_gg_.__loading_1ql6o_gg_,.___SLineGauge_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendBar_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendLine_1ql6o_gg_.__loading_1ql6o_gg_{animation-name:pulse_1ql6o;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1ql6o_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SLineGauge": "
|
|
20
|
-
"_loading": "
|
|
21
|
-
"__SDonutContainer": "
|
|
22
|
-
"__STrendLine": "
|
|
23
|
-
"__STrendBar": "
|
|
24
|
-
"@pulse": "
|
|
19
|
+
"__SLineGauge": "___SLineGauge_1ql6o_gg_",
|
|
20
|
+
"_loading": "__loading_1ql6o_gg_",
|
|
21
|
+
"__SDonutContainer": "___SDonutContainer_1ql6o_gg_",
|
|
22
|
+
"__STrendLine": "___STrendLine_1ql6o_gg_",
|
|
23
|
+
"__STrendBar": "___STrendBar_1ql6o_gg_",
|
|
24
|
+
"@pulse": "pulse_1ql6o"
|
|
25
25
|
});
|
|
26
26
|
import { extractAriaProps } from '@semcore/core/lib/utils/ariaProps';
|
|
27
27
|
var TrendBarRoot = /*#__PURE__*/function (_Trend) {
|
|
@@ -14,15 +14,15 @@ import uniqueIDEnhancement from '@semcore/core/lib/utils/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_1ql6o{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1ql6o_gg_.__loading_1ql6o_gg_,.___SLineGauge_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendBar_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendLine_1ql6o_gg_.__loading_1ql6o_gg_{animation-name:pulse_1ql6o;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1ql6o_gg_"),
|
|
18
18
|
/*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SLineGauge": "
|
|
21
|
-
"_loading": "
|
|
22
|
-
"__SDonutContainer": "
|
|
23
|
-
"__STrendLine": "
|
|
24
|
-
"__STrendBar": "
|
|
25
|
-
"@pulse": "
|
|
20
|
+
"__SLineGauge": "___SLineGauge_1ql6o_gg_",
|
|
21
|
+
"_loading": "__loading_1ql6o_gg_",
|
|
22
|
+
"__SDonutContainer": "___SDonutContainer_1ql6o_gg_",
|
|
23
|
+
"__STrendLine": "___STrendLine_1ql6o_gg_",
|
|
24
|
+
"__STrendBar": "___STrendBar_1ql6o_gg_",
|
|
25
|
+
"@pulse": "pulse_1ql6o"
|
|
26
26
|
});
|
|
27
27
|
import { extractAriaProps } from '@semcore/core/lib/utils/ariaProps';
|
|
28
28
|
var TrendLineRoot = /*#__PURE__*/function (_Trend) {
|
|
@@ -14,19 +14,19 @@ var style = (
|
|
|
14
14
|
/*__reshadow_css_start__*/
|
|
15
15
|
(sstyled.insert(
|
|
16
16
|
/*__inner_css_start__*/
|
|
17
|
-
"@keyframes
|
|
17
|
+
"@keyframes pulse_1i1x7{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1i1x7_gg_.__loading_1i1x7_gg_,.___SLineGauge_1i1x7_gg_.__loading_1i1x7_gg_,.___STrendBar_1i1x7_gg_.__loading_1i1x7_gg_,.___STrendLine_1i1x7_gg_.__loading_1i1x7_gg_{animation-name:pulse_1i1x7;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1i1x7_gg_.__semi_1i1x7_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1i1x7_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1i1x7_gg_.__animate_1i1x7_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}",
|
|
18
18
|
/*__inner_css_end__*/
|
|
19
|
-
"
|
|
19
|
+
"1i1x7_gg_"
|
|
20
20
|
), /*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SLineGauge": "
|
|
23
|
-
"_loading": "
|
|
24
|
-
"__SDonutContainer": "
|
|
25
|
-
"__STrendLine": "
|
|
26
|
-
"__STrendBar": "
|
|
27
|
-
"@pulse": "
|
|
28
|
-
"_animate": "
|
|
29
|
-
"_semi": "
|
|
22
|
+
"__SLineGauge": "___SLineGauge_1i1x7_gg_",
|
|
23
|
+
"_loading": "__loading_1i1x7_gg_",
|
|
24
|
+
"__SDonutContainer": "___SDonutContainer_1i1x7_gg_",
|
|
25
|
+
"__STrendLine": "___STrendLine_1i1x7_gg_",
|
|
26
|
+
"__STrendBar": "___STrendBar_1i1x7_gg_",
|
|
27
|
+
"@pulse": "pulse_1i1x7",
|
|
28
|
+
"_animate": "__animate_1i1x7_gg_",
|
|
29
|
+
"_semi": "__semi_1i1x7_gg_"
|
|
30
30
|
})
|
|
31
31
|
);
|
|
32
32
|
var DonutRoot = /* @__PURE__ */ function(_Component) {
|
|
@@ -13,28 +13,28 @@ var style = (
|
|
|
13
13
|
/*__reshadow_css_start__*/
|
|
14
14
|
(sstyled.insert(
|
|
15
15
|
/*__inner_css_start__*/
|
|
16
|
-
"@keyframes
|
|
16
|
+
"@keyframes pulse_7icm2{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_7icm2{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_7icm2_gg_.__loading_7icm2_gg_,.___SLineGauge_7icm2_gg_.__loading_7icm2_gg_,.___STrendBar_7icm2_gg_.__loading_7icm2_gg_,.___STrendLine_7icm2_gg_.__loading_7icm2_gg_{animation-name:pulse_7icm2;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_7icm2_gg_{height:8px;background-color:var(--base-bg-color_7icm2, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_7icm2_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_7icm2_gg_.__percent_7icm2_gg_{width:var(--percent_7icm2)}.___SLineSegmentItem_7icm2_gg_.__color_7icm2_gg_,.___SLineValue_7icm2_gg_.__color_7icm2_gg_{background-color:var(--color_7icm2, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_7icm2_gg_.__segments_7icm2_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_7icm2_gg_,.___SLineGaugeSegment_7icm2_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_7icm2_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_7icm2_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_7icm2_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_7icm2;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}",
|
|
17
17
|
/*__inner_css_end__*/
|
|
18
|
-
"
|
|
18
|
+
"7icm2_gg_"
|
|
19
19
|
), /*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SLineGauge": "
|
|
22
|
-
"_loading": "
|
|
23
|
-
"__SDonutContainer": "
|
|
24
|
-
"__STrendLine": "
|
|
25
|
-
"__STrendBar": "
|
|
26
|
-
"@pulse": "
|
|
27
|
-
"--base-bg-color": "--base-bg-
|
|
28
|
-
"__SLineValue": "
|
|
29
|
-
"_percent": "
|
|
30
|
-
"--percent": "--
|
|
31
|
-
"_color": "
|
|
32
|
-
"__SLineSegmentItem": "
|
|
33
|
-
"--color": "--
|
|
34
|
-
"_segments": "
|
|
35
|
-
"__SLineGaugeSegment": "
|
|
36
|
-
"__SAnimationLine": "
|
|
37
|
-
"@move-line": "move-
|
|
21
|
+
"__SLineGauge": "___SLineGauge_7icm2_gg_",
|
|
22
|
+
"_loading": "__loading_7icm2_gg_",
|
|
23
|
+
"__SDonutContainer": "___SDonutContainer_7icm2_gg_",
|
|
24
|
+
"__STrendLine": "___STrendLine_7icm2_gg_",
|
|
25
|
+
"__STrendBar": "___STrendBar_7icm2_gg_",
|
|
26
|
+
"@pulse": "pulse_7icm2",
|
|
27
|
+
"--base-bg-color": "--base-bg-color_7icm2",
|
|
28
|
+
"__SLineValue": "___SLineValue_7icm2_gg_",
|
|
29
|
+
"_percent": "__percent_7icm2_gg_",
|
|
30
|
+
"--percent": "--percent_7icm2",
|
|
31
|
+
"_color": "__color_7icm2_gg_",
|
|
32
|
+
"__SLineSegmentItem": "___SLineSegmentItem_7icm2_gg_",
|
|
33
|
+
"--color": "--color_7icm2",
|
|
34
|
+
"_segments": "__segments_7icm2_gg_",
|
|
35
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_7icm2_gg_",
|
|
36
|
+
"__SAnimationLine": "___SAnimationLine_7icm2_gg_",
|
|
37
|
+
"@move-line": "move-line_7icm2"
|
|
38
38
|
})
|
|
39
39
|
);
|
|
40
40
|
var LineRoot = /* @__PURE__ */ function(_Component) {
|
|
@@ -16,17 +16,17 @@ var style = (
|
|
|
16
16
|
/*__reshadow_css_start__*/
|
|
17
17
|
(sstyled.insert(
|
|
18
18
|
/*__inner_css_start__*/
|
|
19
|
-
"@keyframes
|
|
19
|
+
"@keyframes pulse_1ql6o{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1ql6o_gg_.__loading_1ql6o_gg_,.___SLineGauge_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendBar_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendLine_1ql6o_gg_.__loading_1ql6o_gg_{animation-name:pulse_1ql6o;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}",
|
|
20
20
|
/*__inner_css_end__*/
|
|
21
|
-
"
|
|
21
|
+
"1ql6o_gg_"
|
|
22
22
|
), /*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SLineGauge": "
|
|
25
|
-
"_loading": "
|
|
26
|
-
"__SDonutContainer": "
|
|
27
|
-
"__STrendLine": "
|
|
28
|
-
"__STrendBar": "
|
|
29
|
-
"@pulse": "
|
|
24
|
+
"__SLineGauge": "___SLineGauge_1ql6o_gg_",
|
|
25
|
+
"_loading": "__loading_1ql6o_gg_",
|
|
26
|
+
"__SDonutContainer": "___SDonutContainer_1ql6o_gg_",
|
|
27
|
+
"__STrendLine": "___STrendLine_1ql6o_gg_",
|
|
28
|
+
"__STrendBar": "___STrendBar_1ql6o_gg_",
|
|
29
|
+
"@pulse": "pulse_1ql6o"
|
|
30
30
|
})
|
|
31
31
|
);
|
|
32
32
|
var TrendBarRoot = /* @__PURE__ */ function(_Trend) {
|
|
@@ -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_1ql6o{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1ql6o_gg_.__loading_1ql6o_gg_,.___SLineGauge_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendBar_1ql6o_gg_.__loading_1ql6o_gg_,.___STrendLine_1ql6o_gg_.__loading_1ql6o_gg_{animation-name:pulse_1ql6o;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}",
|
|
21
21
|
/*__inner_css_end__*/
|
|
22
|
-
"
|
|
22
|
+
"1ql6o_gg_"
|
|
23
23
|
), /*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SLineGauge": "
|
|
26
|
-
"_loading": "
|
|
27
|
-
"__SDonutContainer": "
|
|
28
|
-
"__STrendLine": "
|
|
29
|
-
"__STrendBar": "
|
|
30
|
-
"@pulse": "
|
|
25
|
+
"__SLineGauge": "___SLineGauge_1ql6o_gg_",
|
|
26
|
+
"_loading": "__loading_1ql6o_gg_",
|
|
27
|
+
"__SDonutContainer": "___SDonutContainer_1ql6o_gg_",
|
|
28
|
+
"__STrendLine": "___STrendLine_1ql6o_gg_",
|
|
29
|
+
"__STrendBar": "___STrendBar_1ql6o_gg_",
|
|
30
|
+
"@pulse": "pulse_1ql6o"
|
|
31
31
|
})
|
|
32
32
|
);
|
|
33
33
|
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": "16.0.
|
|
4
|
+
"version": "16.0.1-prerelease.3",
|
|
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
|
"peerDependencies": {
|
|
17
|
-
"@semcore/base-components": "^16.0.
|
|
18
|
-
"@semcore/flex-box": "^16.0.
|
|
17
|
+
"@semcore/base-components": "^16.0.1-prerelease.3",
|
|
18
|
+
"@semcore/flex-box": "^16.0.1-prerelease.3"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|