@semcore/mini-chart 0.8.1 → 0.9.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 CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [0.9.0] - 2024-04-26
6
+
7
+ ### Changed
8
+
9
+ - Version minor update due to children dependencies update (`@semcore/flex-box` [5.22.2 ~> 5.23.0], `@semcore/utils` [4.23.2 ~> 4.24.0], `@semcore/core` [2.20.2 ~> 2.21.0]).
10
+
11
+ ## [0.8.2] - 2024-04-22
12
+
13
+ ### Changed
14
+
15
+ - Version patch update due to children dependencies update (`@semcore/flex-box` [5.22.1 ~> 5.22.2], `@semcore/utils` [4.23.1 ~> 4.23.2], `@semcore/core` [2.20.1 ~> 2.20.2]).
16
+
5
17
  ## [0.8.1] - 2024-04-16
6
18
 
7
19
  ### Changed
@@ -17,15 +17,15 @@ var _react = _interopRequireDefault(require("react"));
17
17
  var _flexBox = require("@semcore/flex-box");
18
18
  var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
19
19
  /*__reshadow-styles__:"./donut.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_u5q6u{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_u5q6u_gg_.__loading_u5q6u_gg_,.___SLineGauge_u5q6u_gg_.__loading_u5q6u_gg_,.___STrendBar_u5q6u_gg_.__loading_u5q6u_gg_,.___STrendLine_u5q6u_gg_.__loading_u5q6u_gg_{animation-name:pulse_u5q6u;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_u5q6u_gg_.__semi_u5q6u_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_u5q6u_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_u5q6u_gg_.__animate_u5q6u_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}" /*__inner_css_end__*/, "u5q6u_gg_") /*__reshadow_css_end__*/, {
21
- "__SLineGauge": "___SLineGauge_u5q6u_gg_",
22
- "_loading": "__loading_u5q6u_gg_",
23
- "__SDonutContainer": "___SDonutContainer_u5q6u_gg_",
24
- "__STrendLine": "___STrendLine_u5q6u_gg_",
25
- "__STrendBar": "___STrendBar_u5q6u_gg_",
26
- "@pulse": "pulse_u5q6u",
27
- "_animate": "__animate_u5q6u_gg_",
28
- "_semi": "__semi_u5q6u_gg_"
20
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1o1pv{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1o1pv_gg_.__loading_1o1pv_gg_,.___SLineGauge_1o1pv_gg_.__loading_1o1pv_gg_,.___STrendBar_1o1pv_gg_.__loading_1o1pv_gg_,.___STrendLine_1o1pv_gg_.__loading_1o1pv_gg_{animation-name:pulse_1o1pv;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1o1pv_gg_.__semi_1o1pv_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1o1pv_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1o1pv_gg_.__animate_1o1pv_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}" /*__inner_css_end__*/, "1o1pv_gg_") /*__reshadow_css_end__*/, {
21
+ "__SLineGauge": "___SLineGauge_1o1pv_gg_",
22
+ "_loading": "__loading_1o1pv_gg_",
23
+ "__SDonutContainer": "___SDonutContainer_1o1pv_gg_",
24
+ "__STrendLine": "___STrendLine_1o1pv_gg_",
25
+ "__STrendBar": "___STrendBar_1o1pv_gg_",
26
+ "@pulse": "pulse_1o1pv",
27
+ "_animate": "__animate_1o1pv_gg_",
28
+ "_semi": "__semi_1o1pv_gg_"
29
29
  });
30
30
  var DonutRoot = /*#__PURE__*/function (_Component) {
31
31
  (0, _inherits2["default"])(DonutRoot, _Component);
@@ -17,23 +17,23 @@ var _react = _interopRequireDefault(require("react"));
17
17
  var _flexBox = require("@semcore/flex-box");
18
18
  var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
19
19
  /*__reshadow-styles__:"./line.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1xhza{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_1xhza{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.___SDonutContainer_1xhza_gg_.__loading_1xhza_gg_,.___SLineGauge_1xhza_gg_.__loading_1xhza_gg_,.___STrendBar_1xhza_gg_.__loading_1xhza_gg_,.___STrendLine_1xhza_gg_.__loading_1xhza_gg_{animation-name:pulse_1xhza;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_1xhza_gg_{height:8px;background-color:var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineGauge_1xhza_gg_.__animate_1xhza_gg_ .___SLineValue_1xhza_gg_{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out;animation-name:move-line_1xhza;animation-duration:.5s;animation-timing-function:ease-in-out}.___SLineValue_1xhza_gg_{height:8px;background-color:var(--intergalactic-chart-palette-order-1, #2bb3ff);border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_1xhza_gg_.__percent_1xhza_gg_{width:var(--percent_1xhza)}.___SLineValue_1xhza_gg_.__color_1xhza_gg_{background-color:var(--color_1xhza, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_1xhza_gg_.__segments_1xhza_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SLineGauge_1xhza_gg_.__segments_1xhza_gg_ .___SLineValue_1xhza_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)0 0 var(--intergalactic-progress-bar-rounded, 6px)}.___SLineGaugeSegment_1xhza_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_1xhza_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_1xhza_gg_{height:8px;background:0 0;margin-right:1px;border-right-color:var(--intergalactic-chart-grid-border, #ffffff);border-right-style:solid;border-right-width:1px;box-sizing:content-box}" /*__inner_css_end__*/, "1xhza_gg_") /*__reshadow_css_end__*/, {
21
- "__SLineGauge": "___SLineGauge_1xhza_gg_",
22
- "_loading": "__loading_1xhza_gg_",
23
- "__SDonutContainer": "___SDonutContainer_1xhza_gg_",
24
- "__STrendLine": "___STrendLine_1xhza_gg_",
25
- "__STrendBar": "___STrendBar_1xhza_gg_",
26
- "@pulse": "pulse_1xhza",
27
- "_animate": "__animate_1xhza_gg_",
28
- "__SLineValue": "___SLineValue_1xhza_gg_",
29
- "_percent": "__percent_1xhza_gg_",
30
- "--percent": "--percent_1xhza",
31
- "_color": "__color_1xhza_gg_",
32
- "--color": "--color_1xhza",
33
- "_segments": "__segments_1xhza_gg_",
34
- "__SLineGaugeSegment": "___SLineGaugeSegment_1xhza_gg_",
35
- "__SLineSegmentItem": "___SLineSegmentItem_1xhza_gg_",
36
- "@move-line": "move-line_1xhza"
20
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1ezi7{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_1ezi7{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.___SDonutContainer_1ezi7_gg_.__loading_1ezi7_gg_,.___SLineGauge_1ezi7_gg_.__loading_1ezi7_gg_,.___STrendBar_1ezi7_gg_.__loading_1ezi7_gg_,.___STrendLine_1ezi7_gg_.__loading_1ezi7_gg_{animation-name:pulse_1ezi7;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_1ezi7_gg_{height:8px;background-color:var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineGauge_1ezi7_gg_.__animate_1ezi7_gg_ .___SLineValue_1ezi7_gg_{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out;animation-name:move-line_1ezi7;animation-duration:.5s;animation-timing-function:ease-in-out}.___SLineValue_1ezi7_gg_{height:8px;background-color:var(--intergalactic-chart-palette-order-1, #2bb3ff);border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_1ezi7_gg_.__percent_1ezi7_gg_{width:var(--percent_1ezi7)}.___SLineValue_1ezi7_gg_.__color_1ezi7_gg_{background-color:var(--color_1ezi7, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_1ezi7_gg_.__segments_1ezi7_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SLineGauge_1ezi7_gg_.__segments_1ezi7_gg_ .___SLineValue_1ezi7_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)0 0 var(--intergalactic-progress-bar-rounded, 6px)}.___SLineGaugeSegment_1ezi7_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_1ezi7_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_1ezi7_gg_{height:8px;background:0 0;margin-right:1px;border-right-color:var(--intergalactic-chart-grid-border, #ffffff);border-right-style:solid;border-right-width:1px;box-sizing:content-box}" /*__inner_css_end__*/, "1ezi7_gg_") /*__reshadow_css_end__*/, {
21
+ "__SLineGauge": "___SLineGauge_1ezi7_gg_",
22
+ "_loading": "__loading_1ezi7_gg_",
23
+ "__SDonutContainer": "___SDonutContainer_1ezi7_gg_",
24
+ "__STrendLine": "___STrendLine_1ezi7_gg_",
25
+ "__STrendBar": "___STrendBar_1ezi7_gg_",
26
+ "@pulse": "pulse_1ezi7",
27
+ "_animate": "__animate_1ezi7_gg_",
28
+ "__SLineValue": "___SLineValue_1ezi7_gg_",
29
+ "_percent": "__percent_1ezi7_gg_",
30
+ "--percent": "--percent_1ezi7",
31
+ "_color": "__color_1ezi7_gg_",
32
+ "--color": "--color_1ezi7",
33
+ "_segments": "__segments_1ezi7_gg_",
34
+ "__SLineGaugeSegment": "___SLineGaugeSegment_1ezi7_gg_",
35
+ "__SLineSegmentItem": "___SLineSegmentItem_1ezi7_gg_",
36
+ "@move-line": "move-line_1ezi7"
37
37
  });
38
38
  var LineRoot = /*#__PURE__*/function (_Component) {
39
39
  (0, _inherits2["default"])(LineRoot, _Component);
@@ -18,13 +18,13 @@ var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/en
18
18
  var _Trend2 = require("./Trend");
19
19
  var _flexBox = require("@semcore/flex-box");
20
20
  /*__reshadow-styles__:"../skeleton/skeleton.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_k5tjh{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_k5tjh_gg_.__loading_k5tjh_gg_,.___SLineGauge_k5tjh_gg_.__loading_k5tjh_gg_,.___STrendBar_k5tjh_gg_.__loading_k5tjh_gg_,.___STrendLine_k5tjh_gg_.__loading_k5tjh_gg_{animation-name:pulse_k5tjh;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "k5tjh_gg_") /*__reshadow_css_end__*/, {
22
- "__SLineGauge": "___SLineGauge_k5tjh_gg_",
23
- "_loading": "__loading_k5tjh_gg_",
24
- "__SDonutContainer": "___SDonutContainer_k5tjh_gg_",
25
- "__STrendLine": "___STrendLine_k5tjh_gg_",
26
- "__STrendBar": "___STrendBar_k5tjh_gg_",
27
- "@pulse": "pulse_k5tjh"
21
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_buzwf{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_buzwf_gg_.__loading_buzwf_gg_,.___SLineGauge_buzwf_gg_.__loading_buzwf_gg_,.___STrendBar_buzwf_gg_.__loading_buzwf_gg_,.___STrendLine_buzwf_gg_.__loading_buzwf_gg_{animation-name:pulse_buzwf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "buzwf_gg_") /*__reshadow_css_end__*/, {
22
+ "__SLineGauge": "___SLineGauge_buzwf_gg_",
23
+ "_loading": "__loading_buzwf_gg_",
24
+ "__SDonutContainer": "___SDonutContainer_buzwf_gg_",
25
+ "__STrendLine": "___STrendLine_buzwf_gg_",
26
+ "__STrendBar": "___STrendBar_buzwf_gg_",
27
+ "@pulse": "pulse_buzwf"
28
28
  });
29
29
  var TrendBarRoot = /*#__PURE__*/function (_Trend) {
30
30
  (0, _inherits2["default"])(TrendBarRoot, _Trend);
@@ -19,13 +19,13 @@ var _uniqueID = _interopRequireDefault(require("@semcore/utils/lib/uniqueID"));
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__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_k5tjh{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_k5tjh_gg_.__loading_k5tjh_gg_,.___SLineGauge_k5tjh_gg_.__loading_k5tjh_gg_,.___STrendBar_k5tjh_gg_.__loading_k5tjh_gg_,.___STrendLine_k5tjh_gg_.__loading_k5tjh_gg_{animation-name:pulse_k5tjh;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "k5tjh_gg_") /*__reshadow_css_end__*/, {
23
- "__SLineGauge": "___SLineGauge_k5tjh_gg_",
24
- "_loading": "__loading_k5tjh_gg_",
25
- "__SDonutContainer": "___SDonutContainer_k5tjh_gg_",
26
- "__STrendLine": "___STrendLine_k5tjh_gg_",
27
- "__STrendBar": "___STrendBar_k5tjh_gg_",
28
- "@pulse": "pulse_k5tjh"
22
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_buzwf{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_buzwf_gg_.__loading_buzwf_gg_,.___SLineGauge_buzwf_gg_.__loading_buzwf_gg_,.___STrendBar_buzwf_gg_.__loading_buzwf_gg_,.___STrendLine_buzwf_gg_.__loading_buzwf_gg_{animation-name:pulse_buzwf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "buzwf_gg_") /*__reshadow_css_end__*/, {
23
+ "__SLineGauge": "___SLineGauge_buzwf_gg_",
24
+ "_loading": "__loading_buzwf_gg_",
25
+ "__SDonutContainer": "___SDonutContainer_buzwf_gg_",
26
+ "__STrendLine": "___STrendLine_buzwf_gg_",
27
+ "__STrendBar": "___STrendBar_buzwf_gg_",
28
+ "@pulse": "pulse_buzwf"
29
29
  });
30
30
  var TrendLineRoot = /*#__PURE__*/function (_Trend) {
31
31
  (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 pulse_u5q6u{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_u5q6u_gg_.__loading_u5q6u_gg_,.___SLineGauge_u5q6u_gg_.__loading_u5q6u_gg_,.___STrendBar_u5q6u_gg_.__loading_u5q6u_gg_,.___STrendLine_u5q6u_gg_.__loading_u5q6u_gg_{animation-name:pulse_u5q6u;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_u5q6u_gg_.__semi_u5q6u_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_u5q6u_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_u5q6u_gg_.__animate_u5q6u_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}" /*__inner_css_end__*/, "u5q6u_gg_") /*__reshadow_css_end__*/, {
16
- "__SLineGauge": "___SLineGauge_u5q6u_gg_",
17
- "_loading": "__loading_u5q6u_gg_",
18
- "__SDonutContainer": "___SDonutContainer_u5q6u_gg_",
19
- "__STrendLine": "___STrendLine_u5q6u_gg_",
20
- "__STrendBar": "___STrendBar_u5q6u_gg_",
21
- "@pulse": "pulse_u5q6u",
22
- "_animate": "__animate_u5q6u_gg_",
23
- "_semi": "__semi_u5q6u_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1o1pv{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_1o1pv_gg_.__loading_1o1pv_gg_,.___SLineGauge_1o1pv_gg_.__loading_1o1pv_gg_,.___STrendBar_1o1pv_gg_.__loading_1o1pv_gg_,.___STrendLine_1o1pv_gg_.__loading_1o1pv_gg_{animation-name:pulse_1o1pv;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SDonutContainer_1o1pv_gg_.__semi_1o1pv_gg_ g{transform:rotate(180deg) translate(-24px,-24px)}.___SDonutContainer_1o1pv_gg_ g{transform:rotate(-90deg) translate(-24px)}.___SDonutContainer_1o1pv_gg_.__animate_1o1pv_gg_ circle{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out}" /*__inner_css_end__*/, "1o1pv_gg_") /*__reshadow_css_end__*/, {
16
+ "__SLineGauge": "___SLineGauge_1o1pv_gg_",
17
+ "_loading": "__loading_1o1pv_gg_",
18
+ "__SDonutContainer": "___SDonutContainer_1o1pv_gg_",
19
+ "__STrendLine": "___STrendLine_1o1pv_gg_",
20
+ "__STrendBar": "___STrendBar_1o1pv_gg_",
21
+ "@pulse": "pulse_1o1pv",
22
+ "_animate": "__animate_1o1pv_gg_",
23
+ "_semi": "__semi_1o1pv_gg_"
24
24
  });
25
25
  var DonutRoot = /*#__PURE__*/function (_Component) {
26
26
  _inherits(DonutRoot, _Component);
@@ -11,23 +11,23 @@ import createComponent, { Component, Root, sstyled } from '@semcore/core';
11
11
  import { Box, Flex } from '@semcore/flex-box';
12
12
  import resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
13
13
  /*__reshadow-styles__:"./line.shadow.css"*/
14
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1xhza{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_1xhza{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.___SDonutContainer_1xhza_gg_.__loading_1xhza_gg_,.___SLineGauge_1xhza_gg_.__loading_1xhza_gg_,.___STrendBar_1xhza_gg_.__loading_1xhza_gg_,.___STrendLine_1xhza_gg_.__loading_1xhza_gg_{animation-name:pulse_1xhza;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_1xhza_gg_{height:8px;background-color:var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineGauge_1xhza_gg_.__animate_1xhza_gg_ .___SLineValue_1xhza_gg_{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out;animation-name:move-line_1xhza;animation-duration:.5s;animation-timing-function:ease-in-out}.___SLineValue_1xhza_gg_{height:8px;background-color:var(--intergalactic-chart-palette-order-1, #2bb3ff);border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_1xhza_gg_.__percent_1xhza_gg_{width:var(--percent_1xhza)}.___SLineValue_1xhza_gg_.__color_1xhza_gg_{background-color:var(--color_1xhza, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_1xhza_gg_.__segments_1xhza_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SLineGauge_1xhza_gg_.__segments_1xhza_gg_ .___SLineValue_1xhza_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)0 0 var(--intergalactic-progress-bar-rounded, 6px)}.___SLineGaugeSegment_1xhza_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_1xhza_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_1xhza_gg_{height:8px;background:0 0;margin-right:1px;border-right-color:var(--intergalactic-chart-grid-border, #ffffff);border-right-style:solid;border-right-width:1px;box-sizing:content-box}" /*__inner_css_end__*/, "1xhza_gg_") /*__reshadow_css_end__*/, {
15
- "__SLineGauge": "___SLineGauge_1xhza_gg_",
16
- "_loading": "__loading_1xhza_gg_",
17
- "__SDonutContainer": "___SDonutContainer_1xhza_gg_",
18
- "__STrendLine": "___STrendLine_1xhza_gg_",
19
- "__STrendBar": "___STrendBar_1xhza_gg_",
20
- "@pulse": "pulse_1xhza",
21
- "_animate": "__animate_1xhza_gg_",
22
- "__SLineValue": "___SLineValue_1xhza_gg_",
23
- "_percent": "__percent_1xhza_gg_",
24
- "--percent": "--percent_1xhza",
25
- "_color": "__color_1xhza_gg_",
26
- "--color": "--color_1xhza",
27
- "_segments": "__segments_1xhza_gg_",
28
- "__SLineGaugeSegment": "___SLineGaugeSegment_1xhza_gg_",
29
- "__SLineSegmentItem": "___SLineSegmentItem_1xhza_gg_",
30
- "@move-line": "move-line_1xhza"
14
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_1ezi7{0%,to{opacity:1}50%{opacity:.4}}@keyframes move-line_1ezi7{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.___SDonutContainer_1ezi7_gg_.__loading_1ezi7_gg_,.___SLineGauge_1ezi7_gg_.__loading_1ezi7_gg_,.___STrendBar_1ezi7_gg_.__loading_1ezi7_gg_,.___STrendLine_1ezi7_gg_.__loading_1ezi7_gg_{animation-name:pulse_1ezi7;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}.___SLineGauge_1ezi7_gg_{height:8px;background-color:var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8));border-radius:var(--intergalactic-chart-rounded, 2px);overflow:hidden;position:relative}.___SLineGauge_1ezi7_gg_.__animate_1ezi7_gg_ .___SLineValue_1ezi7_gg_{transition:all var(--intergalactic-duration-extra-slow, 500) ease-in-out;animation-name:move-line_1ezi7;animation-duration:.5s;animation-timing-function:ease-in-out}.___SLineValue_1ezi7_gg_{height:8px;background-color:var(--intergalactic-chart-palette-order-1, #2bb3ff);border-radius:var(--intergalactic-chart-rounded, 2px)0 0 var(--intergalactic-chart-rounded, 2px)}.___SLineValue_1ezi7_gg_.__percent_1ezi7_gg_{width:var(--percent_1ezi7)}.___SLineValue_1ezi7_gg_.__color_1ezi7_gg_{background-color:var(--color_1ezi7, var(--intergalactic-chart-palette-order-1, #2bb3ff))}.___SLineGauge_1ezi7_gg_.__segments_1ezi7_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)}.___SLineGauge_1ezi7_gg_.__segments_1ezi7_gg_ .___SLineValue_1ezi7_gg_{border-radius:var(--intergalactic-progress-bar-rounded, 6px)0 0 var(--intergalactic-progress-bar-rounded, 6px)}.___SLineGaugeSegment_1ezi7_gg_{position:absolute;top:0;left:0;right:0;bottom:0}.___SLineSegmentItem_1ezi7_gg_:last-child{margin-right:0;border-right:none}.___SLineSegmentItem_1ezi7_gg_{height:8px;background:0 0;margin-right:1px;border-right-color:var(--intergalactic-chart-grid-border, #ffffff);border-right-style:solid;border-right-width:1px;box-sizing:content-box}" /*__inner_css_end__*/, "1ezi7_gg_") /*__reshadow_css_end__*/, {
15
+ "__SLineGauge": "___SLineGauge_1ezi7_gg_",
16
+ "_loading": "__loading_1ezi7_gg_",
17
+ "__SDonutContainer": "___SDonutContainer_1ezi7_gg_",
18
+ "__STrendLine": "___STrendLine_1ezi7_gg_",
19
+ "__STrendBar": "___STrendBar_1ezi7_gg_",
20
+ "@pulse": "pulse_1ezi7",
21
+ "_animate": "__animate_1ezi7_gg_",
22
+ "__SLineValue": "___SLineValue_1ezi7_gg_",
23
+ "_percent": "__percent_1ezi7_gg_",
24
+ "--percent": "--percent_1ezi7",
25
+ "_color": "__color_1ezi7_gg_",
26
+ "--color": "--color_1ezi7",
27
+ "_segments": "__segments_1ezi7_gg_",
28
+ "__SLineGaugeSegment": "___SLineGaugeSegment_1ezi7_gg_",
29
+ "__SLineSegmentItem": "___SLineSegmentItem_1ezi7_gg_",
30
+ "@move-line": "move-line_1ezi7"
31
31
  });
32
32
  var LineRoot = /*#__PURE__*/function (_Component) {
33
33
  _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 pulse_k5tjh{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_k5tjh_gg_.__loading_k5tjh_gg_,.___SLineGauge_k5tjh_gg_.__loading_k5tjh_gg_,.___STrendBar_k5tjh_gg_.__loading_k5tjh_gg_,.___STrendLine_k5tjh_gg_.__loading_k5tjh_gg_{animation-name:pulse_k5tjh;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "k5tjh_gg_") /*__reshadow_css_end__*/, {
16
- "__SLineGauge": "___SLineGauge_k5tjh_gg_",
17
- "_loading": "__loading_k5tjh_gg_",
18
- "__SDonutContainer": "___SDonutContainer_k5tjh_gg_",
19
- "__STrendLine": "___STrendLine_k5tjh_gg_",
20
- "__STrendBar": "___STrendBar_k5tjh_gg_",
21
- "@pulse": "pulse_k5tjh"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_buzwf{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_buzwf_gg_.__loading_buzwf_gg_,.___SLineGauge_buzwf_gg_.__loading_buzwf_gg_,.___STrendBar_buzwf_gg_.__loading_buzwf_gg_,.___STrendLine_buzwf_gg_.__loading_buzwf_gg_{animation-name:pulse_buzwf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "buzwf_gg_") /*__reshadow_css_end__*/, {
16
+ "__SLineGauge": "___SLineGauge_buzwf_gg_",
17
+ "_loading": "__loading_buzwf_gg_",
18
+ "__SDonutContainer": "___SDonutContainer_buzwf_gg_",
19
+ "__STrendLine": "___STrendLine_buzwf_gg_",
20
+ "__STrendBar": "___STrendBar_buzwf_gg_",
21
+ "@pulse": "pulse_buzwf"
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 pulse_k5tjh{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_k5tjh_gg_.__loading_k5tjh_gg_,.___SLineGauge_k5tjh_gg_.__loading_k5tjh_gg_,.___STrendBar_k5tjh_gg_.__loading_k5tjh_gg_,.___STrendLine_k5tjh_gg_.__loading_k5tjh_gg_{animation-name:pulse_k5tjh;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "k5tjh_gg_") /*__reshadow_css_end__*/, {
17
- "__SLineGauge": "___SLineGauge_k5tjh_gg_",
18
- "_loading": "__loading_k5tjh_gg_",
19
- "__SDonutContainer": "___SDonutContainer_k5tjh_gg_",
20
- "__STrendLine": "___STrendLine_k5tjh_gg_",
21
- "__STrendBar": "___STrendBar_k5tjh_gg_",
22
- "@pulse": "pulse_k5tjh"
16
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes pulse_buzwf{0%,to{opacity:1}50%{opacity:.4}}.___SDonutContainer_buzwf_gg_.__loading_buzwf_gg_,.___SLineGauge_buzwf_gg_.__loading_buzwf_gg_,.___STrendBar_buzwf_gg_.__loading_buzwf_gg_,.___STrendLine_buzwf_gg_.__loading_buzwf_gg_{animation-name:pulse_buzwf;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.6s;will-change:opacity}" /*__inner_css_end__*/, "buzwf_gg_") /*__reshadow_css_end__*/, {
17
+ "__SLineGauge": "___SLineGauge_buzwf_gg_",
18
+ "_loading": "__loading_buzwf_gg_",
19
+ "__SDonutContainer": "___SDonutContainer_buzwf_gg_",
20
+ "__STrendLine": "___STrendLine_buzwf_gg_",
21
+ "__STrendBar": "___STrendBar_buzwf_gg_",
22
+ "@pulse": "pulse_buzwf"
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.8.1",
4
+ "version": "0.9.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.22.1",
13
- "@semcore/utils": "4.23.1"
12
+ "@semcore/flex-box": "5.23.0-prerelease.0",
13
+ "@semcore/utils": "4.24.0-prerelease.0"
14
14
  },
15
15
  "peerDependencies": {
16
- "@semcore/core": "^2.17.5",
16
+ "@semcore/core": "^2.21.0-prerelease.0",
17
17
  "react": "16.8 - 18",
18
18
  "react-dom": "16.8 - 18"
19
19
  },
@@ -23,8 +23,8 @@
23
23
  "directory": "semcore/mini-chart"
24
24
  },
25
25
  "devDependencies": {
26
- "@guidepup/playwright": "0.6.1",
27
- "@playwright/test": "1.25.1",
26
+ "@guidepup/playwright": "0.13.2",
27
+ "@playwright/test": "1.43.0",
28
28
  "@types/react": "18.0.21",
29
29
  "@semcore/testing-utils": "1.0.0"
30
30
  },