@semcore/mini-chart 16.0.8 → 16.0.9-prerelease.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/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 +5 -5
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.9] - 2025-09-09
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/base-components` [16.2.2 ~> 16.2.3], `@semcore/flex-box` [16.0.8 ~> 16.0.9]).
|
|
10
|
+
|
|
5
11
|
## [16.0.8] - 2025-09-05
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
@@ -21,17 +21,17 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
21
21
|
var _ScoreDonutUtils = require("../../utils/ScoreDonutUtils");
|
|
22
22
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
23
23
|
/*!__reshadow-styles__:"./donut.shadow.css"*/
|
|
24
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
24
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes pulse_14jjd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_14jjd_gg_.__loading_14jjd_gg_,.___SLineGauge_14jjd_gg_.__loading_14jjd_gg_,.___STrendBar_14jjd_gg_.__loading_14jjd_gg_,.___STrendLine_14jjd_gg_.__loading_14jjd_gg_{animation-name:pulse_14jjd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_14jjd_gg_.__semi_14jjd_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_14jjd_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_14jjd_gg_.__animate_14jjd_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}", /*__inner_css_end__*/"14jjd_gg_"),
|
|
25
25
|
/*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SLineGauge": "
|
|
28
|
-
"_loading": "
|
|
29
|
-
"__SDonutContainer": "
|
|
30
|
-
"__STrendLine": "
|
|
31
|
-
"__STrendBar": "
|
|
32
|
-
"@pulse": "
|
|
33
|
-
"_animate": "
|
|
34
|
-
"_semi": "
|
|
27
|
+
"__SLineGauge": "___SLineGauge_14jjd_gg_",
|
|
28
|
+
"_loading": "__loading_14jjd_gg_",
|
|
29
|
+
"__SDonutContainer": "___SDonutContainer_14jjd_gg_",
|
|
30
|
+
"__STrendLine": "___STrendLine_14jjd_gg_",
|
|
31
|
+
"__STrendBar": "___STrendBar_14jjd_gg_",
|
|
32
|
+
"@pulse": "pulse_14jjd",
|
|
33
|
+
"_animate": "__animate_14jjd_gg_",
|
|
34
|
+
"_semi": "__semi_14jjd_gg_"
|
|
35
35
|
});
|
|
36
36
|
var DonutRoot = /*#__PURE__*/function (_Component) {
|
|
37
37
|
function DonutRoot() {
|
|
@@ -19,26 +19,26 @@ var _flexBox = require("@semcore/flex-box");
|
|
|
19
19
|
var _react = _interopRequireDefault(require("react"));
|
|
20
20
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
21
21
|
/*!__reshadow-styles__:"./line.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_57xz9{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_57xz9{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_57xz9_gg_.__loading_57xz9_gg_,.___SLineGauge_57xz9_gg_.__loading_57xz9_gg_,.___STrendBar_57xz9_gg_.__loading_57xz9_gg_,.___STrendLine_57xz9_gg_.__loading_57xz9_gg_{animation-name:pulse_57xz9;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_57xz9_gg_{height:8px;background-color:var(--base-bg-color_57xz9, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_57xz9_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_57xz9_gg_.__percent_57xz9_gg_{width:var(--percent_57xz9)}.___SLineSegmentItem_57xz9_gg_.__color_57xz9_gg_,.___SLineValue_57xz9_gg_.__color_57xz9_gg_{background-color:var(--color_57xz9, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_57xz9_gg_.__segments_57xz9_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_57xz9_gg_,.___SLineGaugeSegment_57xz9_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_57xz9_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_57xz9_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_57xz9_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_57xz9;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}", /*__inner_css_end__*/"57xz9_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SLineGauge": "
|
|
26
|
-
"_loading": "
|
|
27
|
-
"__SDonutContainer": "
|
|
28
|
-
"__STrendLine": "
|
|
29
|
-
"__STrendBar": "
|
|
30
|
-
"@pulse": "
|
|
31
|
-
"--base-bg-color": "--base-bg-
|
|
32
|
-
"__SLineValue": "
|
|
33
|
-
"_percent": "
|
|
34
|
-
"--percent": "--
|
|
35
|
-
"_color": "
|
|
36
|
-
"__SLineSegmentItem": "
|
|
37
|
-
"--color": "--
|
|
38
|
-
"_segments": "
|
|
39
|
-
"__SLineGaugeSegment": "
|
|
40
|
-
"__SAnimationLine": "
|
|
41
|
-
"@move-line": "move-
|
|
25
|
+
"__SLineGauge": "___SLineGauge_57xz9_gg_",
|
|
26
|
+
"_loading": "__loading_57xz9_gg_",
|
|
27
|
+
"__SDonutContainer": "___SDonutContainer_57xz9_gg_",
|
|
28
|
+
"__STrendLine": "___STrendLine_57xz9_gg_",
|
|
29
|
+
"__STrendBar": "___STrendBar_57xz9_gg_",
|
|
30
|
+
"@pulse": "pulse_57xz9",
|
|
31
|
+
"--base-bg-color": "--base-bg-color_57xz9",
|
|
32
|
+
"__SLineValue": "___SLineValue_57xz9_gg_",
|
|
33
|
+
"_percent": "__percent_57xz9_gg_",
|
|
34
|
+
"--percent": "--percent_57xz9",
|
|
35
|
+
"_color": "__color_57xz9_gg_",
|
|
36
|
+
"__SLineSegmentItem": "___SLineSegmentItem_57xz9_gg_",
|
|
37
|
+
"--color": "--color_57xz9",
|
|
38
|
+
"_segments": "__segments_57xz9_gg_",
|
|
39
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_57xz9_gg_",
|
|
40
|
+
"__SAnimationLine": "___SAnimationLine_57xz9_gg_",
|
|
41
|
+
"@move-line": "move-line_57xz9"
|
|
42
42
|
});
|
|
43
43
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
44
44
|
function LineRoot() {
|
|
@@ -22,15 +22,15 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
22
22
|
var _Trend2 = require("./Trend");
|
|
23
23
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
24
24
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
25
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
25
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes pulse_1d47w{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1d47w_gg_.__loading_1d47w_gg_,.___SLineGauge_1d47w_gg_.__loading_1d47w_gg_,.___STrendBar_1d47w_gg_.__loading_1d47w_gg_,.___STrendLine_1d47w_gg_.__loading_1d47w_gg_{animation-name:pulse_1d47w;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1d47w_gg_"),
|
|
26
26
|
/*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__SLineGauge": "
|
|
29
|
-
"_loading": "
|
|
30
|
-
"__SDonutContainer": "
|
|
31
|
-
"__STrendLine": "
|
|
32
|
-
"__STrendBar": "
|
|
33
|
-
"@pulse": "
|
|
28
|
+
"__SLineGauge": "___SLineGauge_1d47w_gg_",
|
|
29
|
+
"_loading": "__loading_1d47w_gg_",
|
|
30
|
+
"__SDonutContainer": "___SDonutContainer_1d47w_gg_",
|
|
31
|
+
"__STrendLine": "___STrendLine_1d47w_gg_",
|
|
32
|
+
"__STrendBar": "___STrendBar_1d47w_gg_",
|
|
33
|
+
"@pulse": "pulse_1d47w"
|
|
34
34
|
});
|
|
35
35
|
var TrendBarRoot = /*#__PURE__*/function (_Trend) {
|
|
36
36
|
function TrendBarRoot() {
|
|
@@ -23,15 +23,15 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
23
23
|
var _Trend2 = require("./Trend");
|
|
24
24
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
25
25
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
26
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
26
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes pulse_1d47w{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1d47w_gg_.__loading_1d47w_gg_,.___SLineGauge_1d47w_gg_.__loading_1d47w_gg_,.___STrendBar_1d47w_gg_.__loading_1d47w_gg_,.___STrendLine_1d47w_gg_.__loading_1d47w_gg_{animation-name:pulse_1d47w;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1d47w_gg_"),
|
|
27
27
|
/*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SLineGauge": "
|
|
30
|
-
"_loading": "
|
|
31
|
-
"__SDonutContainer": "
|
|
32
|
-
"__STrendLine": "
|
|
33
|
-
"__STrendBar": "
|
|
34
|
-
"@pulse": "
|
|
29
|
+
"__SLineGauge": "___SLineGauge_1d47w_gg_",
|
|
30
|
+
"_loading": "__loading_1d47w_gg_",
|
|
31
|
+
"__SDonutContainer": "___SDonutContainer_1d47w_gg_",
|
|
32
|
+
"__STrendLine": "___STrendLine_1d47w_gg_",
|
|
33
|
+
"__STrendBar": "___STrendBar_1d47w_gg_",
|
|
34
|
+
"@pulse": "pulse_1d47w"
|
|
35
35
|
});
|
|
36
36
|
var TrendLineRoot = /*#__PURE__*/function (_Trend) {
|
|
37
37
|
function TrendLineRoot() {
|
|
@@ -16,17 +16,17 @@ import resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEn
|
|
|
16
16
|
import { Box } from '@semcore/flex-box';
|
|
17
17
|
import React from 'react';
|
|
18
18
|
/*!__reshadow-styles__:"./donut.shadow.css"*/
|
|
19
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
19
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes pulse_14jjd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_14jjd_gg_.__loading_14jjd_gg_,.___SLineGauge_14jjd_gg_.__loading_14jjd_gg_,.___STrendBar_14jjd_gg_.__loading_14jjd_gg_,.___STrendLine_14jjd_gg_.__loading_14jjd_gg_{animation-name:pulse_14jjd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_14jjd_gg_.__semi_14jjd_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_14jjd_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_14jjd_gg_.__animate_14jjd_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}", /*__inner_css_end__*/"14jjd_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_14jjd_gg_",
|
|
23
|
+
"_loading": "__loading_14jjd_gg_",
|
|
24
|
+
"__SDonutContainer": "___SDonutContainer_14jjd_gg_",
|
|
25
|
+
"__STrendLine": "___STrendLine_14jjd_gg_",
|
|
26
|
+
"__STrendBar": "___STrendBar_14jjd_gg_",
|
|
27
|
+
"@pulse": "pulse_14jjd",
|
|
28
|
+
"_animate": "__animate_14jjd_gg_",
|
|
29
|
+
"_semi": "__semi_14jjd_gg_"
|
|
30
30
|
});
|
|
31
31
|
import { ScoreDonutUtils } from '../../utils/ScoreDonutUtils';
|
|
32
32
|
var DonutRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -16,26 +16,26 @@ import resolveColorEnhance from '@semcore/core/lib/utils/enhances/resolveColorEn
|
|
|
16
16
|
import { Box, Flex } from '@semcore/flex-box';
|
|
17
17
|
import React from 'react';
|
|
18
18
|
/*!__reshadow-styles__:"./line.shadow.css"*/
|
|
19
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
19
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes pulse_57xz9{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_57xz9{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_57xz9_gg_.__loading_57xz9_gg_,.___SLineGauge_57xz9_gg_.__loading_57xz9_gg_,.___STrendBar_57xz9_gg_.__loading_57xz9_gg_,.___STrendLine_57xz9_gg_.__loading_57xz9_gg_{animation-name:pulse_57xz9;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_57xz9_gg_{height:8px;background-color:var(--base-bg-color_57xz9, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_57xz9_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_57xz9_gg_.__percent_57xz9_gg_{width:var(--percent_57xz9)}.___SLineSegmentItem_57xz9_gg_.__color_57xz9_gg_,.___SLineValue_57xz9_gg_.__color_57xz9_gg_{background-color:var(--color_57xz9, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_57xz9_gg_.__segments_57xz9_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_57xz9_gg_,.___SLineGaugeSegment_57xz9_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_57xz9_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_57xz9_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_57xz9_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_57xz9;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}", /*__inner_css_end__*/"57xz9_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_57xz9_gg_",
|
|
23
|
+
"_loading": "__loading_57xz9_gg_",
|
|
24
|
+
"__SDonutContainer": "___SDonutContainer_57xz9_gg_",
|
|
25
|
+
"__STrendLine": "___STrendLine_57xz9_gg_",
|
|
26
|
+
"__STrendBar": "___STrendBar_57xz9_gg_",
|
|
27
|
+
"@pulse": "pulse_57xz9",
|
|
28
|
+
"--base-bg-color": "--base-bg-color_57xz9",
|
|
29
|
+
"__SLineValue": "___SLineValue_57xz9_gg_",
|
|
30
|
+
"_percent": "__percent_57xz9_gg_",
|
|
31
|
+
"--percent": "--percent_57xz9",
|
|
32
|
+
"_color": "__color_57xz9_gg_",
|
|
33
|
+
"__SLineSegmentItem": "___SLineSegmentItem_57xz9_gg_",
|
|
34
|
+
"--color": "--color_57xz9",
|
|
35
|
+
"_segments": "__segments_57xz9_gg_",
|
|
36
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_57xz9_gg_",
|
|
37
|
+
"__SAnimationLine": "___SAnimationLine_57xz9_gg_",
|
|
38
|
+
"@move-line": "move-line_57xz9"
|
|
39
39
|
});
|
|
40
40
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
41
41
|
function LineRoot() {
|
|
@@ -17,15 +17,15 @@ import { Box } from '@semcore/flex-box';
|
|
|
17
17
|
import React from 'react';
|
|
18
18
|
import { Trend } from './Trend';
|
|
19
19
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
20
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes pulse_1d47w{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1d47w_gg_.__loading_1d47w_gg_,.___SLineGauge_1d47w_gg_.__loading_1d47w_gg_,.___STrendBar_1d47w_gg_.__loading_1d47w_gg_,.___STrendLine_1d47w_gg_.__loading_1d47w_gg_{animation-name:pulse_1d47w;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1d47w_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SLineGauge": "
|
|
24
|
-
"_loading": "
|
|
25
|
-
"__SDonutContainer": "
|
|
26
|
-
"__STrendLine": "
|
|
27
|
-
"__STrendBar": "
|
|
28
|
-
"@pulse": "
|
|
23
|
+
"__SLineGauge": "___SLineGauge_1d47w_gg_",
|
|
24
|
+
"_loading": "__loading_1d47w_gg_",
|
|
25
|
+
"__SDonutContainer": "___SDonutContainer_1d47w_gg_",
|
|
26
|
+
"__STrendLine": "___STrendLine_1d47w_gg_",
|
|
27
|
+
"__STrendBar": "___STrendBar_1d47w_gg_",
|
|
28
|
+
"@pulse": "pulse_1d47w"
|
|
29
29
|
});
|
|
30
30
|
var TrendBarRoot = /*#__PURE__*/function (_Trend) {
|
|
31
31
|
function TrendBarRoot() {
|
|
@@ -18,15 +18,15 @@ import { Box } from '@semcore/flex-box';
|
|
|
18
18
|
import React from 'react';
|
|
19
19
|
import { Trend } from './Trend';
|
|
20
20
|
/*!__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
|
|
21
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
21
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes pulse_1d47w{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1d47w_gg_.__loading_1d47w_gg_,.___SLineGauge_1d47w_gg_.__loading_1d47w_gg_,.___STrendBar_1d47w_gg_.__loading_1d47w_gg_,.___STrendLine_1d47w_gg_.__loading_1d47w_gg_{animation-name:pulse_1d47w;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}", /*__inner_css_end__*/"1d47w_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SLineGauge": "
|
|
25
|
-
"_loading": "
|
|
26
|
-
"__SDonutContainer": "
|
|
27
|
-
"__STrendLine": "
|
|
28
|
-
"__STrendBar": "
|
|
29
|
-
"@pulse": "
|
|
24
|
+
"__SLineGauge": "___SLineGauge_1d47w_gg_",
|
|
25
|
+
"_loading": "__loading_1d47w_gg_",
|
|
26
|
+
"__SDonutContainer": "___SDonutContainer_1d47w_gg_",
|
|
27
|
+
"__STrendLine": "___STrendLine_1d47w_gg_",
|
|
28
|
+
"__STrendBar": "___STrendBar_1d47w_gg_",
|
|
29
|
+
"@pulse": "pulse_1d47w"
|
|
30
30
|
});
|
|
31
31
|
var TrendLineRoot = /*#__PURE__*/function (_Trend) {
|
|
32
32
|
function TrendLineRoot() {
|
|
@@ -20,19 +20,19 @@ var style = (
|
|
|
20
20
|
/*__reshadow_css_start__*/
|
|
21
21
|
(sstyled.insert(
|
|
22
22
|
/*__inner_css_start__*/
|
|
23
|
-
"@keyframes
|
|
23
|
+
"@keyframes pulse_14jjd{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_14jjd_gg_.__loading_14jjd_gg_,.___SLineGauge_14jjd_gg_.__loading_14jjd_gg_,.___STrendBar_14jjd_gg_.__loading_14jjd_gg_,.___STrendLine_14jjd_gg_.__loading_14jjd_gg_{animation-name:pulse_14jjd;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_14jjd_gg_.__semi_14jjd_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_14jjd_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_14jjd_gg_.__animate_14jjd_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}",
|
|
24
24
|
/*__inner_css_end__*/
|
|
25
|
-
"
|
|
25
|
+
"14jjd_gg_"
|
|
26
26
|
), /*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__SLineGauge": "
|
|
29
|
-
"_loading": "
|
|
30
|
-
"__SDonutContainer": "
|
|
31
|
-
"__STrendLine": "
|
|
32
|
-
"__STrendBar": "
|
|
33
|
-
"@pulse": "
|
|
34
|
-
"_animate": "
|
|
35
|
-
"_semi": "
|
|
28
|
+
"__SLineGauge": "___SLineGauge_14jjd_gg_",
|
|
29
|
+
"_loading": "__loading_14jjd_gg_",
|
|
30
|
+
"__SDonutContainer": "___SDonutContainer_14jjd_gg_",
|
|
31
|
+
"__STrendLine": "___STrendLine_14jjd_gg_",
|
|
32
|
+
"__STrendBar": "___STrendBar_14jjd_gg_",
|
|
33
|
+
"@pulse": "pulse_14jjd",
|
|
34
|
+
"_animate": "__animate_14jjd_gg_",
|
|
35
|
+
"_semi": "__semi_14jjd_gg_"
|
|
36
36
|
})
|
|
37
37
|
);
|
|
38
38
|
var DonutRoot = /* @__PURE__ */ function(_Component) {
|
|
@@ -18,28 +18,28 @@ var style = (
|
|
|
18
18
|
/*__reshadow_css_start__*/
|
|
19
19
|
(sstyled.insert(
|
|
20
20
|
/*__inner_css_start__*/
|
|
21
|
-
"@keyframes
|
|
21
|
+
"@keyframes pulse_57xz9{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_57xz9{0%{transform:translateX(0)}to{transform:translateX(100%)}}.___SDonutContainer_57xz9_gg_.__loading_57xz9_gg_,.___SLineGauge_57xz9_gg_.__loading_57xz9_gg_,.___STrendBar_57xz9_gg_.__loading_57xz9_gg_,.___STrendLine_57xz9_gg_.__loading_57xz9_gg_{animation-name:pulse_57xz9;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_57xz9_gg_{height:8px;background-color:var(--base-bg-color_57xz9, var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineValue_57xz9_gg_{height:8px;border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_57xz9_gg_.__percent_57xz9_gg_{width:var(--percent_57xz9)}.___SLineSegmentItem_57xz9_gg_.__color_57xz9_gg_,.___SLineValue_57xz9_gg_.__color_57xz9_gg_{background-color:var(--color_57xz9, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_57xz9_gg_.__segments_57xz9_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SAnimationLine_57xz9_gg_,.___SLineGaugeSegment_57xz9_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_57xz9_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_57xz9_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_57xz9_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_57xz9;animation-duration:.5s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}",
|
|
22
22
|
/*__inner_css_end__*/
|
|
23
|
-
"
|
|
23
|
+
"57xz9_gg_"
|
|
24
24
|
), /*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SLineGauge": "
|
|
27
|
-
"_loading": "
|
|
28
|
-
"__SDonutContainer": "
|
|
29
|
-
"__STrendLine": "
|
|
30
|
-
"__STrendBar": "
|
|
31
|
-
"@pulse": "
|
|
32
|
-
"--base-bg-color": "--base-bg-
|
|
33
|
-
"__SLineValue": "
|
|
34
|
-
"_percent": "
|
|
35
|
-
"--percent": "--
|
|
36
|
-
"_color": "
|
|
37
|
-
"__SLineSegmentItem": "
|
|
38
|
-
"--color": "--
|
|
39
|
-
"_segments": "
|
|
40
|
-
"__SLineGaugeSegment": "
|
|
41
|
-
"__SAnimationLine": "
|
|
42
|
-
"@move-line": "move-
|
|
26
|
+
"__SLineGauge": "___SLineGauge_57xz9_gg_",
|
|
27
|
+
"_loading": "__loading_57xz9_gg_",
|
|
28
|
+
"__SDonutContainer": "___SDonutContainer_57xz9_gg_",
|
|
29
|
+
"__STrendLine": "___STrendLine_57xz9_gg_",
|
|
30
|
+
"__STrendBar": "___STrendBar_57xz9_gg_",
|
|
31
|
+
"@pulse": "pulse_57xz9",
|
|
32
|
+
"--base-bg-color": "--base-bg-color_57xz9",
|
|
33
|
+
"__SLineValue": "___SLineValue_57xz9_gg_",
|
|
34
|
+
"_percent": "__percent_57xz9_gg_",
|
|
35
|
+
"--percent": "--percent_57xz9",
|
|
36
|
+
"_color": "__color_57xz9_gg_",
|
|
37
|
+
"__SLineSegmentItem": "___SLineSegmentItem_57xz9_gg_",
|
|
38
|
+
"--color": "--color_57xz9",
|
|
39
|
+
"_segments": "__segments_57xz9_gg_",
|
|
40
|
+
"__SLineGaugeSegment": "___SLineGaugeSegment_57xz9_gg_",
|
|
41
|
+
"__SAnimationLine": "___SAnimationLine_57xz9_gg_",
|
|
42
|
+
"@move-line": "move-line_57xz9"
|
|
43
43
|
})
|
|
44
44
|
);
|
|
45
45
|
var LineRoot = /* @__PURE__ */ function(_Component) {
|
|
@@ -21,17 +21,17 @@ var style = (
|
|
|
21
21
|
/*__reshadow_css_start__*/
|
|
22
22
|
(sstyled.insert(
|
|
23
23
|
/*__inner_css_start__*/
|
|
24
|
-
"@keyframes
|
|
24
|
+
"@keyframes pulse_1d47w{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1d47w_gg_.__loading_1d47w_gg_,.___SLineGauge_1d47w_gg_.__loading_1d47w_gg_,.___STrendBar_1d47w_gg_.__loading_1d47w_gg_,.___STrendLine_1d47w_gg_.__loading_1d47w_gg_{animation-name:pulse_1d47w;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}",
|
|
25
25
|
/*__inner_css_end__*/
|
|
26
|
-
"
|
|
26
|
+
"1d47w_gg_"
|
|
27
27
|
), /*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SLineGauge": "
|
|
30
|
-
"_loading": "
|
|
31
|
-
"__SDonutContainer": "
|
|
32
|
-
"__STrendLine": "
|
|
33
|
-
"__STrendBar": "
|
|
34
|
-
"@pulse": "
|
|
29
|
+
"__SLineGauge": "___SLineGauge_1d47w_gg_",
|
|
30
|
+
"_loading": "__loading_1d47w_gg_",
|
|
31
|
+
"__SDonutContainer": "___SDonutContainer_1d47w_gg_",
|
|
32
|
+
"__STrendLine": "___STrendLine_1d47w_gg_",
|
|
33
|
+
"__STrendBar": "___STrendBar_1d47w_gg_",
|
|
34
|
+
"@pulse": "pulse_1d47w"
|
|
35
35
|
})
|
|
36
36
|
);
|
|
37
37
|
var TrendBarRoot = /* @__PURE__ */ function(_Trend) {
|
|
@@ -22,17 +22,17 @@ var style = (
|
|
|
22
22
|
/*__reshadow_css_start__*/
|
|
23
23
|
(sstyled.insert(
|
|
24
24
|
/*__inner_css_start__*/
|
|
25
|
-
"@keyframes
|
|
25
|
+
"@keyframes pulse_1d47w{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1d47w_gg_.__loading_1d47w_gg_,.___SLineGauge_1d47w_gg_.__loading_1d47w_gg_,.___STrendBar_1d47w_gg_.__loading_1d47w_gg_,.___STrendLine_1d47w_gg_.__loading_1d47w_gg_{animation-name:pulse_1d47w;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}",
|
|
26
26
|
/*__inner_css_end__*/
|
|
27
|
-
"
|
|
27
|
+
"1d47w_gg_"
|
|
28
28
|
), /*__reshadow_css_end__*/
|
|
29
29
|
{
|
|
30
|
-
"__SLineGauge": "
|
|
31
|
-
"_loading": "
|
|
32
|
-
"__SDonutContainer": "
|
|
33
|
-
"__STrendLine": "
|
|
34
|
-
"__STrendBar": "
|
|
35
|
-
"@pulse": "
|
|
30
|
+
"__SLineGauge": "___SLineGauge_1d47w_gg_",
|
|
31
|
+
"_loading": "__loading_1d47w_gg_",
|
|
32
|
+
"__SDonutContainer": "___SDonutContainer_1d47w_gg_",
|
|
33
|
+
"__STrendLine": "___STrendLine_1d47w_gg_",
|
|
34
|
+
"__STrendBar": "___STrendBar_1d47w_gg_",
|
|
35
|
+
"@pulse": "pulse_1d47w"
|
|
36
36
|
})
|
|
37
37
|
);
|
|
38
38
|
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.9-prerelease.1",
|
|
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.
|
|
18
|
-
"@semcore/flex-box": "^16.0.
|
|
17
|
+
"@semcore/base-components": "^16.2.3-prerelease.1",
|
|
18
|
+
"@semcore/flex-box": "^16.0.9-prerelease.1"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"directory": "semcore/mini-chart"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@semcore/
|
|
27
|
-
"@semcore/
|
|
26
|
+
"@semcore/core": "16.3.0-prerelease.1",
|
|
27
|
+
"@semcore/testing-utils": "1.0.0"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "pnpm semcore-builder --source=ts && pnpm vite build"
|