@alfalab/core-components-chart 3.1.8 → 3.1.9

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/Component.js CHANGED
@@ -36,7 +36,7 @@ var CustomizedHOC = function (Component, options) {
36
36
  return NewComponent;
37
37
  };
38
38
 
39
- var styles = {"coreChart":"chart__coreChart_l53sx","bar":"chart__bar_l53sx","unfocused":"chart__unfocused_l53sx"};
39
+ var styles = {"coreChart":"chart__coreChart_1g9e3","bar":"chart__bar_1g9e3","unfocused":"chart__unfocused_1g9e3"};
40
40
  require('./index.css')
41
41
 
42
42
  var Chart = function (props) {
@@ -1,19 +1,19 @@
1
- /* hash: 1g8f5 */
2
- .chart__dotUnfocused_112s3 {
1
+ /* hash: 1ckc2 */
2
+ .chart__dotUnfocused_p7bjp {
3
3
  opacity: 0.3;
4
4
  }
5
5
 
6
- .chart__dot_112s3,
7
- .chart__dotItem_112s3,
8
- .chart__dotWrap_112s3 {
6
+ .chart__dot_p7bjp,
7
+ .chart__dotItem_p7bjp,
8
+ .chart__dotWrap_p7bjp {
9
9
  transition: all 0.2s ease;
10
10
  }
11
11
 
12
- .chart__dot_112s3 {
13
- animation: chart__showDot_112s3 0.5s ease;
12
+ .chart__dot_p7bjp {
13
+ animation: chart__showDot_p7bjp 0.5s ease;
14
14
  }
15
15
 
16
- @keyframes chart__showDot_112s3 {
16
+ @keyframes chart__showDot_p7bjp {
17
17
  from {
18
18
  opacity: 0;
19
19
  }
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
9
9
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
10
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
11
11
 
12
- var styles = {"dotUnfocused":"chart__dotUnfocused_112s3","dot":"chart__dot_112s3","dotItem":"chart__dotItem_112s3","dotWrap":"chart__dotWrap_112s3","showDot":"chart__showDot_112s3"};
12
+ var styles = {"dotUnfocused":"chart__dotUnfocused_p7bjp","dot":"chart__dot_p7bjp","dotItem":"chart__dotItem_p7bjp","dotWrap":"chart__dotWrap_p7bjp","showDot":"chart__showDot_p7bjp"};
13
13
  require('./index.css')
14
14
 
15
15
  var Dot = React__default.default.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 18ofx */
1
+ /* hash: nmflm */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,25 +15,25 @@
15
15
  --gap-2xl: 32px;
16
16
  } :root {
17
17
  } :root {
18
- } .chart__legendContent_v620y {
18
+ } .chart__legendContent_cb6tz {
19
19
  display: flex;
20
20
  align-items: center;
21
21
  flex-wrap: wrap;
22
- } .chart__legendWrap_v620y {
22
+ } .chart__legendWrap_cb6tz {
23
23
  width: 100%;
24
24
  margin: 0;
25
25
  padding: 0;
26
- } .chart__legendItem_v620y {
26
+ } .chart__legendItem_cb6tz {
27
27
  margin-right: var(--gap-2xl);
28
28
  cursor: pointer;
29
29
  display: inline-block;
30
- } .chart__legendItem_v620y:last-child {
30
+ } .chart__legendItem_cb6tz:last-child {
31
31
  margin-right: 0;
32
- } .chart__legendUnactive_v620y {
32
+ } .chart__legendUnactive_cb6tz {
33
33
  opacity: 0.3;
34
- } .chart__legendIcon_v620y {
34
+ } .chart__legendIcon_cb6tz {
35
35
  margin-right: 13px;
36
36
  display: flex;
37
- } .chart__legendValue_v620y {
37
+ } .chart__legendValue_cb6tz {
38
38
  text-transform: capitalize;
39
39
  }
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"legendContent":"chart__legendContent_v620y","legendWrap":"chart__legendWrap_v620y","legendItem":"chart__legendItem_v620y","legendUnactive":"chart__legendUnactive_v620y","legendIcon":"chart__legendIcon_v620y","legendValue":"chart__legendValue_v620y"};
16
+ var styles = {"legendContent":"chart__legendContent_cb6tz","legendWrap":"chart__legendWrap_cb6tz","legendItem":"chart__legendItem_cb6tz","legendUnactive":"chart__legendUnactive_cb6tz","legendIcon":"chart__legendIcon_cb6tz","legendValue":"chart__legendValue_cb6tz"};
17
17
  require('./index.css')
18
18
 
19
19
  var icons = {
@@ -1,4 +1,4 @@
1
- /* hash: iq4ad */
1
+ /* hash: x0lns */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-dark-bg-primary: #0b1f35;
@@ -16,15 +16,15 @@
16
16
  } :root {
17
17
  } :root {
18
18
  } :root {
19
- } .chart__tickText_sx2d9 {
19
+ } .chart__tickText_1t0io {
20
20
  fill: var(--color-light-text-primary);
21
21
  font-size: 16px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
- } .chart__circle_sx2d9 {
24
+ } .chart__circle_1t0io {
25
25
  opacity: 0.3;
26
26
  fill: var(--color-dark-bg-primary);
27
- } .chart__circle_sx2d9 {
27
+ } .chart__circle_1t0io {
28
28
  opacity: 0.3;
29
29
  fill: var(--color-dark-bg-primary);
30
30
  }
@@ -8,7 +8,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
8
8
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
9
9
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
10
10
 
11
- var styles = {"tickText":"chart__tickText_sx2d9","circle":"chart__circle_sx2d9"};
11
+ var styles = {"tickText":"chart__tickText_1t0io","circle":"chart__circle_1t0io"};
12
12
  require('./index.css')
13
13
 
14
14
  var Tick = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: kl17q */
1
+ /* hash: fv9xh */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,7 +20,7 @@
20
20
  --gap-m: 16px;
21
21
  } :root {
22
22
  } :root {
23
- } .chart__tooltip_1g2qp {
23
+ } .chart__tooltip_p68vf {
24
24
  background-color: var(--color-light-bg-primary);
25
25
  border: 1px solid var(--color-light-border-primary);
26
26
  box-shadow: var(--shadow-l);
@@ -28,15 +28,15 @@
28
28
  padding: var(--gap-s) var(--gap-m);
29
29
  pointer-events: none;
30
30
  position: relative;
31
- } .chart__tooltipList_1g2qp {
31
+ } .chart__tooltipList_p68vf {
32
32
  position: relative;
33
33
  z-index: 5;
34
34
  list-style-type: none;
35
35
  padding: 0;
36
36
  margin: 0;
37
- } .chart__tooltipItem_1g2qp {
37
+ } .chart__tooltipItem_p68vf {
38
38
  margin-bottom: 10px;
39
- } .chart__tooltipArrow_1g2qp {
39
+ } .chart__tooltipArrow_p68vf {
40
40
  position: absolute;
41
41
  left: 0;
42
42
  top: 50%;
@@ -45,7 +45,7 @@
45
45
  height: 10px;
46
46
  border: 1px solid var(--color-light-border-primary);
47
47
  background-color: var(--color-light-bg-primary);
48
- } .chart__tooltipArrow_1g2qp:before {
48
+ } .chart__tooltipArrow_p68vf:before {
49
49
  content: '';
50
50
  position: absolute;
51
51
  left: -2px;
@@ -55,7 +55,7 @@
55
55
  border-style: solid;
56
56
  border-width: 0 24px 24px 0;
57
57
  border-color: transparent var(--color-light-bg-primary) transparent transparent;
58
- } .chart__tooltipArrowRight_1g2qp {
58
+ } .chart__tooltipArrowRight_p68vf {
59
59
  left: 100%;
60
60
  transform: translate(-50%, -50%) scale(-1, 1) rotate(45deg);
61
61
  }
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
9
9
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
10
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
11
11
 
12
- var styles = {"tooltip":"chart__tooltip_1g2qp","tooltipList":"chart__tooltipList_1g2qp","tooltipItem":"chart__tooltipItem_1g2qp","tooltipArrow":"chart__tooltipArrow_1g2qp","tooltipArrowRight":"chart__tooltipArrowRight_1g2qp"};
12
+ var styles = {"tooltip":"chart__tooltip_p68vf","tooltipList":"chart__tooltipList_p68vf","tooltipItem":"chart__tooltipItem_p68vf","tooltipArrow":"chart__tooltipArrow_p68vf","tooltipArrowRight":"chart__tooltipArrowRight_p68vf"};
13
13
  require('./index.css')
14
14
 
15
15
  var TooltipContent = function (_a) {
package/esm/Component.js CHANGED
@@ -29,7 +29,7 @@ var CustomizedHOC = function (Component, options) {
29
29
  return NewComponent;
30
30
  };
31
31
 
32
- var styles = {"coreChart":"chart__coreChart_l53sx","bar":"chart__bar_l53sx","unfocused":"chart__unfocused_l53sx"};
32
+ var styles = {"coreChart":"chart__coreChart_1g9e3","bar":"chart__bar_1g9e3","unfocused":"chart__unfocused_1g9e3"};
33
33
  require('./index.css')
34
34
 
35
35
  var Chart = function (props) {
@@ -1,19 +1,19 @@
1
- /* hash: 1g8f5 */
2
- .chart__dotUnfocused_112s3 {
1
+ /* hash: 1ckc2 */
2
+ .chart__dotUnfocused_p7bjp {
3
3
  opacity: 0.3;
4
4
  }
5
5
 
6
- .chart__dot_112s3,
7
- .chart__dotItem_112s3,
8
- .chart__dotWrap_112s3 {
6
+ .chart__dot_p7bjp,
7
+ .chart__dotItem_p7bjp,
8
+ .chart__dotWrap_p7bjp {
9
9
  transition: all 0.2s ease;
10
10
  }
11
11
 
12
- .chart__dot_112s3 {
13
- animation: chart__showDot_112s3 0.5s ease;
12
+ .chart__dot_p7bjp {
13
+ animation: chart__showDot_p7bjp 0.5s ease;
14
14
  }
15
15
 
16
- @keyframes chart__showDot_112s3 {
16
+ @keyframes chart__showDot_p7bjp {
17
17
  from {
18
18
  opacity: 0;
19
19
  }
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { PointIcon } from '../../icons/Point.js';
4
4
 
5
- var styles = {"dotUnfocused":"chart__dotUnfocused_112s3","dot":"chart__dot_112s3","dotItem":"chart__dotItem_112s3","dotWrap":"chart__dotWrap_112s3","showDot":"chart__showDot_112s3"};
5
+ var styles = {"dotUnfocused":"chart__dotUnfocused_p7bjp","dot":"chart__dot_p7bjp","dotItem":"chart__dotItem_p7bjp","dotWrap":"chart__dotWrap_p7bjp","showDot":"chart__showDot_p7bjp"};
6
6
  require('./index.css')
7
7
 
8
8
  var Dot = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 18ofx */
1
+ /* hash: nmflm */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,25 +15,25 @@
15
15
  --gap-2xl: 32px;
16
16
  } :root {
17
17
  } :root {
18
- } .chart__legendContent_v620y {
18
+ } .chart__legendContent_cb6tz {
19
19
  display: flex;
20
20
  align-items: center;
21
21
  flex-wrap: wrap;
22
- } .chart__legendWrap_v620y {
22
+ } .chart__legendWrap_cb6tz {
23
23
  width: 100%;
24
24
  margin: 0;
25
25
  padding: 0;
26
- } .chart__legendItem_v620y {
26
+ } .chart__legendItem_cb6tz {
27
27
  margin-right: var(--gap-2xl);
28
28
  cursor: pointer;
29
29
  display: inline-block;
30
- } .chart__legendItem_v620y:last-child {
30
+ } .chart__legendItem_cb6tz:last-child {
31
31
  margin-right: 0;
32
- } .chart__legendUnactive_v620y {
32
+ } .chart__legendUnactive_cb6tz {
33
33
  opacity: 0.3;
34
- } .chart__legendIcon_v620y {
34
+ } .chart__legendIcon_cb6tz {
35
35
  margin-right: 13px;
36
36
  display: flex;
37
- } .chart__legendValue_v620y {
37
+ } .chart__legendValue_cb6tz {
38
38
  text-transform: capitalize;
39
39
  }
@@ -6,7 +6,7 @@ import { CircleLineIcon } from '../../icons/CircleLine.js';
6
6
  import { FilledCircleIcon } from '../../icons/FilledCircle.js';
7
7
  import { StrokeCircleIcon } from '../../icons/StrokeCircle.js';
8
8
 
9
- var styles = {"legendContent":"chart__legendContent_v620y","legendWrap":"chart__legendWrap_v620y","legendItem":"chart__legendItem_v620y","legendUnactive":"chart__legendUnactive_v620y","legendIcon":"chart__legendIcon_v620y","legendValue":"chart__legendValue_v620y"};
9
+ var styles = {"legendContent":"chart__legendContent_cb6tz","legendWrap":"chart__legendWrap_cb6tz","legendItem":"chart__legendItem_cb6tz","legendUnactive":"chart__legendUnactive_cb6tz","legendIcon":"chart__legendIcon_cb6tz","legendValue":"chart__legendValue_cb6tz"};
10
10
  require('./index.css')
11
11
 
12
12
  var icons = {
@@ -1,4 +1,4 @@
1
- /* hash: iq4ad */
1
+ /* hash: x0lns */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-dark-bg-primary: #0b1f35;
@@ -16,15 +16,15 @@
16
16
  } :root {
17
17
  } :root {
18
18
  } :root {
19
- } .chart__tickText_sx2d9 {
19
+ } .chart__tickText_1t0io {
20
20
  fill: var(--color-light-text-primary);
21
21
  font-size: 16px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
- } .chart__circle_sx2d9 {
24
+ } .chart__circle_1t0io {
25
25
  opacity: 0.3;
26
26
  fill: var(--color-dark-bg-primary);
27
- } .chart__circle_sx2d9 {
27
+ } .chart__circle_1t0io {
28
28
  opacity: 0.3;
29
29
  fill: var(--color-dark-bg-primary);
30
30
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"tickText":"chart__tickText_sx2d9","circle":"chart__circle_sx2d9"};
4
+ var styles = {"tickText":"chart__tickText_1t0io","circle":"chart__circle_1t0io"};
5
5
  require('./index.css')
6
6
 
7
7
  var Tick = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: kl17q */
1
+ /* hash: fv9xh */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,7 +20,7 @@
20
20
  --gap-m: 16px;
21
21
  } :root {
22
22
  } :root {
23
- } .chart__tooltip_1g2qp {
23
+ } .chart__tooltip_p68vf {
24
24
  background-color: var(--color-light-bg-primary);
25
25
  border: 1px solid var(--color-light-border-primary);
26
26
  box-shadow: var(--shadow-l);
@@ -28,15 +28,15 @@
28
28
  padding: var(--gap-s) var(--gap-m);
29
29
  pointer-events: none;
30
30
  position: relative;
31
- } .chart__tooltipList_1g2qp {
31
+ } .chart__tooltipList_p68vf {
32
32
  position: relative;
33
33
  z-index: 5;
34
34
  list-style-type: none;
35
35
  padding: 0;
36
36
  margin: 0;
37
- } .chart__tooltipItem_1g2qp {
37
+ } .chart__tooltipItem_p68vf {
38
38
  margin-bottom: 10px;
39
- } .chart__tooltipArrow_1g2qp {
39
+ } .chart__tooltipArrow_p68vf {
40
40
  position: absolute;
41
41
  left: 0;
42
42
  top: 50%;
@@ -45,7 +45,7 @@
45
45
  height: 10px;
46
46
  border: 1px solid var(--color-light-border-primary);
47
47
  background-color: var(--color-light-bg-primary);
48
- } .chart__tooltipArrow_1g2qp:before {
48
+ } .chart__tooltipArrow_p68vf:before {
49
49
  content: '';
50
50
  position: absolute;
51
51
  left: -2px;
@@ -55,7 +55,7 @@
55
55
  border-style: solid;
56
56
  border-width: 0 24px 24px 0;
57
57
  border-color: transparent var(--color-light-bg-primary) transparent transparent;
58
- } .chart__tooltipArrowRight_1g2qp {
58
+ } .chart__tooltipArrowRight_p68vf {
59
59
  left: 100%;
60
60
  transform: translate(-50%, -50%) scale(-1, 1) rotate(45deg);
61
61
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Typography } from '@alfalab/core-components-typography/esm';
4
4
 
5
- var styles = {"tooltip":"chart__tooltip_1g2qp","tooltipList":"chart__tooltipList_1g2qp","tooltipItem":"chart__tooltipItem_1g2qp","tooltipArrow":"chart__tooltipArrow_1g2qp","tooltipArrowRight":"chart__tooltipArrowRight_1g2qp"};
5
+ var styles = {"tooltip":"chart__tooltip_p68vf","tooltipList":"chart__tooltipList_p68vf","tooltipItem":"chart__tooltipItem_p68vf","tooltipArrow":"chart__tooltipArrow_p68vf","tooltipArrowRight":"chart__tooltipArrowRight_p68vf"};
6
6
  require('./index.css')
7
7
 
8
8
  var TooltipContent = function (_a) {
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 175n2 */
1
+ /* hash: 7db35 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0b1f35;
@@ -15,14 +15,14 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .chart__coreChart_l53sx .recharts-line path {
18
+ } .chart__coreChart_1g9e3 .recharts-line path {
19
19
  transition: d 0.2s ease-out;
20
- } .chart__coreChart_l53sx .recharts-text tspan {
20
+ } .chart__coreChart_1g9e3 .recharts-text tspan {
21
21
  fill: var(--color-light-text-primary);
22
22
  font-size: 16px;
23
23
  line-height: 22px;
24
- } .chart__bar_l53sx {
24
+ } .chart__bar_1g9e3 {
25
25
  transition: opacity 0.2s ease-out, d 0.2s ease-out;
26
- } .chart__unfocused_l53sx {
26
+ } .chart__unfocused_1g9e3 {
27
27
  opacity: 0.3;
28
28
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 175n2 */
1
+ /* hash: 7db35 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0b1f35;
@@ -15,14 +15,14 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .chart__coreChart_l53sx .recharts-line path {
18
+ } .chart__coreChart_1g9e3 .recharts-line path {
19
19
  transition: d 0.2s ease-out;
20
- } .chart__coreChart_l53sx .recharts-text tspan {
20
+ } .chart__coreChart_1g9e3 .recharts-text tspan {
21
21
  fill: var(--color-light-text-primary);
22
22
  font-size: 16px;
23
23
  line-height: 22px;
24
- } .chart__bar_l53sx {
24
+ } .chart__bar_1g9e3 {
25
25
  transition: opacity 0.2s ease-out, d 0.2s ease-out;
26
- } .chart__unfocused_l53sx {
26
+ } .chart__unfocused_1g9e3 {
27
27
  opacity: 0.3;
28
28
  }
@@ -28,7 +28,7 @@ const CustomizedHOC = (Component, options) => {
28
28
  return NewComponent;
29
29
  };
30
30
 
31
- const styles = {"coreChart":"chart__coreChart_l53sx","bar":"chart__bar_l53sx","unfocused":"chart__unfocused_l53sx"};
31
+ const styles = {"coreChart":"chart__coreChart_1g9e3","bar":"chart__bar_1g9e3","unfocused":"chart__unfocused_1g9e3"};
32
32
  require('./index.css')
33
33
 
34
34
  const Chart = (props) => {
@@ -1,19 +1,19 @@
1
- /* hash: 1g8f5 */
2
- .chart__dotUnfocused_112s3 {
1
+ /* hash: 1ckc2 */
2
+ .chart__dotUnfocused_p7bjp {
3
3
  opacity: 0.3;
4
4
  }
5
5
 
6
- .chart__dot_112s3,
7
- .chart__dotItem_112s3,
8
- .chart__dotWrap_112s3 {
6
+ .chart__dot_p7bjp,
7
+ .chart__dotItem_p7bjp,
8
+ .chart__dotWrap_p7bjp {
9
9
  transition: all 0.2s ease;
10
10
  }
11
11
 
12
- .chart__dot_112s3 {
13
- animation: chart__showDot_112s3 0.5s ease;
12
+ .chart__dot_p7bjp {
13
+ animation: chart__showDot_p7bjp 0.5s ease;
14
14
  }
15
15
 
16
- @keyframes chart__showDot_112s3 {
16
+ @keyframes chart__showDot_p7bjp {
17
17
  from {
18
18
  opacity: 0;
19
19
  }
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { PointIcon } from '../../icons/Point.js';
4
4
 
5
- const styles = {"dotUnfocused":"chart__dotUnfocused_112s3","dot":"chart__dot_112s3","dotItem":"chart__dotItem_112s3","dotWrap":"chart__dotWrap_112s3","showDot":"chart__showDot_112s3"};
5
+ const styles = {"dotUnfocused":"chart__dotUnfocused_p7bjp","dot":"chart__dot_p7bjp","dotItem":"chart__dotItem_p7bjp","dotWrap":"chart__dotWrap_p7bjp","showDot":"chart__showDot_p7bjp"};
6
6
  require('./index.css')
7
7
 
8
8
  const Dot = React.forwardRef(({ cx, cy, index, activeDot, dataKey, dotSettings, value, stroke }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: 18ofx */
1
+ /* hash: nmflm */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,25 +15,25 @@
15
15
  --gap-2xl: 32px;
16
16
  } :root {
17
17
  } :root {
18
- } .chart__legendContent_v620y {
18
+ } .chart__legendContent_cb6tz {
19
19
  display: flex;
20
20
  align-items: center;
21
21
  flex-wrap: wrap;
22
- } .chart__legendWrap_v620y {
22
+ } .chart__legendWrap_cb6tz {
23
23
  width: 100%;
24
24
  margin: 0;
25
25
  padding: 0;
26
- } .chart__legendItem_v620y {
26
+ } .chart__legendItem_cb6tz {
27
27
  margin-right: var(--gap-2xl);
28
28
  cursor: pointer;
29
29
  display: inline-block;
30
- } .chart__legendItem_v620y:last-child {
30
+ } .chart__legendItem_cb6tz:last-child {
31
31
  margin-right: 0;
32
- } .chart__legendUnactive_v620y {
32
+ } .chart__legendUnactive_cb6tz {
33
33
  opacity: 0.3;
34
- } .chart__legendIcon_v620y {
34
+ } .chart__legendIcon_cb6tz {
35
35
  margin-right: 13px;
36
36
  display: flex;
37
- } .chart__legendValue_v620y {
37
+ } .chart__legendValue_cb6tz {
38
38
  text-transform: capitalize;
39
39
  }
@@ -6,7 +6,7 @@ import { CircleLineIcon } from '../../icons/CircleLine.js';
6
6
  import { FilledCircleIcon } from '../../icons/FilledCircle.js';
7
7
  import { StrokeCircleIcon } from '../../icons/StrokeCircle.js';
8
8
 
9
- const styles = {"legendContent":"chart__legendContent_v620y","legendWrap":"chart__legendWrap_v620y","legendItem":"chart__legendItem_v620y","legendUnactive":"chart__legendUnactive_v620y","legendIcon":"chart__legendIcon_v620y","legendValue":"chart__legendValue_v620y"};
9
+ const styles = {"legendContent":"chart__legendContent_cb6tz","legendWrap":"chart__legendWrap_cb6tz","legendItem":"chart__legendItem_cb6tz","legendUnactive":"chart__legendUnactive_cb6tz","legendIcon":"chart__legendIcon_cb6tz","legendValue":"chart__legendValue_cb6tz"};
10
10
  require('./index.css')
11
11
 
12
12
  const icons = {
@@ -1,4 +1,4 @@
1
- /* hash: iq4ad */
1
+ /* hash: x0lns */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-dark-bg-primary: #0b1f35;
@@ -16,15 +16,15 @@
16
16
  } :root {
17
17
  } :root {
18
18
  } :root {
19
- } .chart__tickText_sx2d9 {
19
+ } .chart__tickText_1t0io {
20
20
  fill: var(--color-light-text-primary);
21
21
  font-size: 16px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
- } .chart__circle_sx2d9 {
24
+ } .chart__circle_1t0io {
25
25
  opacity: 0.3;
26
26
  fill: var(--color-dark-bg-primary);
27
- } .chart__circle_sx2d9 {
27
+ } .chart__circle_1t0io {
28
28
  opacity: 0.3;
29
29
  fill: var(--color-dark-bg-primary);
30
30
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"tickText":"chart__tickText_sx2d9","circle":"chart__circle_sx2d9"};
4
+ const styles = {"tickText":"chart__tickText_1t0io","circle":"chart__circle_1t0io"};
5
5
  require('./index.css')
6
6
 
7
7
  const Tick = ({ y, payload, tickFormatter, xAxis }) => {
@@ -1,4 +1,4 @@
1
- /* hash: kl17q */
1
+ /* hash: fv9xh */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,7 +20,7 @@
20
20
  --gap-m: 16px;
21
21
  } :root {
22
22
  } :root {
23
- } .chart__tooltip_1g2qp {
23
+ } .chart__tooltip_p68vf {
24
24
  background-color: var(--color-light-bg-primary);
25
25
  border: 1px solid var(--color-light-border-primary);
26
26
  box-shadow: var(--shadow-l);
@@ -28,15 +28,15 @@
28
28
  padding: var(--gap-s) var(--gap-m);
29
29
  pointer-events: none;
30
30
  position: relative;
31
- } .chart__tooltipList_1g2qp {
31
+ } .chart__tooltipList_p68vf {
32
32
  position: relative;
33
33
  z-index: 5;
34
34
  list-style-type: none;
35
35
  padding: 0;
36
36
  margin: 0;
37
- } .chart__tooltipItem_1g2qp {
37
+ } .chart__tooltipItem_p68vf {
38
38
  margin-bottom: 10px;
39
- } .chart__tooltipArrow_1g2qp {
39
+ } .chart__tooltipArrow_p68vf {
40
40
  position: absolute;
41
41
  left: 0;
42
42
  top: 50%;
@@ -45,7 +45,7 @@
45
45
  height: 10px;
46
46
  border: 1px solid var(--color-light-border-primary);
47
47
  background-color: var(--color-light-bg-primary);
48
- } .chart__tooltipArrow_1g2qp:before {
48
+ } .chart__tooltipArrow_p68vf:before {
49
49
  content: '';
50
50
  position: absolute;
51
51
  left: -2px;
@@ -55,7 +55,7 @@
55
55
  border-style: solid;
56
56
  border-width: 0 24px 24px 0;
57
57
  border-color: transparent var(--color-light-bg-primary) transparent transparent;
58
- } .chart__tooltipArrowRight_1g2qp {
58
+ } .chart__tooltipArrowRight_p68vf {
59
59
  left: 100%;
60
60
  transform: translate(-50%, -50%) scale(-1, 1) rotate(45deg);
61
61
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- const styles = {"tooltip":"chart__tooltip_1g2qp","tooltipList":"chart__tooltipList_1g2qp","tooltipItem":"chart__tooltipItem_1g2qp","tooltipArrow":"chart__tooltipArrow_1g2qp","tooltipArrowRight":"chart__tooltipArrowRight_1g2qp"};
5
+ const styles = {"tooltip":"chart__tooltip_p68vf","tooltipList":"chart__tooltipList_p68vf","tooltipItem":"chart__tooltipItem_p68vf","tooltipArrow":"chart__tooltipArrow_p68vf","tooltipArrowRight":"chart__tooltipArrowRight_p68vf"};
6
6
  require('./index.css')
7
7
 
8
8
  const TooltipContent = ({ payload, separator, label, tooltipArrowSide, arrow, series, labelFormatter, labelStyle, }) => {
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 175n2 */
1
+ /* hash: 7db35 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0b1f35;
@@ -15,14 +15,14 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .chart__coreChart_l53sx .recharts-line path {
18
+ } .chart__coreChart_1g9e3 .recharts-line path {
19
19
  transition: d 0.2s ease-out;
20
- } .chart__coreChart_l53sx .recharts-text tspan {
20
+ } .chart__coreChart_1g9e3 .recharts-text tspan {
21
21
  fill: var(--color-light-text-primary);
22
22
  font-size: 16px;
23
23
  line-height: 22px;
24
- } .chart__bar_l53sx {
24
+ } .chart__bar_1g9e3 {
25
25
  transition: opacity 0.2s ease-out, d 0.2s ease-out;
26
- } .chart__unfocused_l53sx {
26
+ } .chart__unfocused_1g9e3 {
27
27
  opacity: 0.3;
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-chart",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "description": "Chart component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  "directory": "dist"
15
15
  },
16
16
  "dependencies": {
17
- "@alfalab/core-components-typography": "^3.1.1",
17
+ "@alfalab/core-components-typography": "^3.2.0",
18
18
  "classnames": "^2.3.1",
19
19
  "recharts": "^2.1.2",
20
20
  "tslib": "^2.4.0"