@alfalab/core-components-chart 5.0.1 → 5.0.2-alfasans

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.
Files changed (35) hide show
  1. package/components/Dot/index.css +7 -7
  2. package/components/Dot/index.module.css.js +1 -1
  3. package/components/Legends/index.css +7 -7
  4. package/components/Legends/index.module.css.js +1 -1
  5. package/components/Tick/index.css +7 -5
  6. package/components/Tick/index.module.css.js +1 -1
  7. package/components/TooltipContent/index.css +6 -6
  8. package/components/TooltipContent/index.module.css.js +1 -1
  9. package/cssm/components/Tick/index.module.css +5 -3
  10. package/cssm/index.module.css +6 -3
  11. package/esm/components/Dot/index.css +7 -7
  12. package/esm/components/Dot/index.module.css.js +1 -1
  13. package/esm/components/Legends/index.css +7 -7
  14. package/esm/components/Legends/index.module.css.js +1 -1
  15. package/esm/components/Tick/index.css +7 -5
  16. package/esm/components/Tick/index.module.css.js +1 -1
  17. package/esm/components/TooltipContent/index.css +6 -6
  18. package/esm/components/TooltipContent/index.module.css.js +1 -1
  19. package/esm/index.css +10 -7
  20. package/esm/index.module.css.js +1 -1
  21. package/index.css +10 -7
  22. package/index.module.css.js +1 -1
  23. package/modern/components/Dot/index.css +7 -7
  24. package/modern/components/Dot/index.module.css.js +1 -1
  25. package/modern/components/Legends/index.css +7 -7
  26. package/modern/components/Legends/index.module.css.js +1 -1
  27. package/modern/components/Tick/index.css +7 -5
  28. package/modern/components/Tick/index.module.css.js +1 -1
  29. package/modern/components/TooltipContent/index.css +6 -6
  30. package/modern/components/TooltipContent/index.module.css.js +1 -1
  31. package/modern/index.css +10 -7
  32. package/modern/index.module.css.js +1 -1
  33. package/moderncssm/components/Tick/index.module.css +2 -1
  34. package/moderncssm/index.module.css +3 -1
  35. package/package.json +4 -4
@@ -1,18 +1,18 @@
1
- .chart__dotUnfocused_rqz42 {
1
+ .chart__dotUnfocused_4a1h5 {
2
2
  opacity: 0.3;
3
3
  }
4
4
 
5
- .chart__dot_rqz42,
6
- .chart__dotItem_rqz42,
7
- .chart__dotWrap_rqz42 {
5
+ .chart__dot_4a1h5,
6
+ .chart__dotItem_4a1h5,
7
+ .chart__dotWrap_4a1h5 {
8
8
  transition: all 0.2s ease;
9
9
  }
10
10
 
11
- .chart__dot_rqz42 {
12
- animation: chart__showDot_rqz42 0.5s ease;
11
+ .chart__dot_4a1h5 {
12
+ animation: chart__showDot_4a1h5 0.5s ease;
13
13
  }
14
14
 
15
- @keyframes chart__showDot_rqz42 {
15
+ @keyframes chart__showDot_4a1h5 {
16
16
  from {
17
17
  opacity: 0;
18
18
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"dotUnfocused":"chart__dotUnfocused_rqz42","dot":"chart__dot_rqz42","dotItem":"chart__dotItem_rqz42","dotWrap":"chart__dotWrap_rqz42"};
5
+ var styles = {"dotUnfocused":"chart__dotUnfocused_4a1h5","dot":"chart__dot_4a1h5","dotItem":"chart__dotItem_4a1h5","dotWrap":"chart__dotWrap_4a1h5"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -3,31 +3,31 @@
3
3
  --gap-0: 0px;
4
4
  --gap-32: var(--gap-2xl);
5
5
  }
6
- .chart__legendContent_cxp19 {
6
+ .chart__legendContent_jjc8y {
7
7
  display: flex;
8
8
  align-items: center;
9
9
  flex-wrap: wrap;
10
10
  }
11
- .chart__legendWrap_cxp19 {
11
+ .chart__legendWrap_jjc8y {
12
12
  width: 100%;
13
13
  margin: var(--gap-0);
14
14
  padding: var(--gap-0);
15
15
  }
16
- .chart__legendItem_cxp19 {
16
+ .chart__legendItem_jjc8y {
17
17
  margin-right: var(--gap-32);
18
18
  cursor: pointer;
19
19
  display: inline-block;
20
20
  }
21
- .chart__legendItem_cxp19:last-child {
21
+ .chart__legendItem_jjc8y:last-child {
22
22
  margin-right: var(--gap-0);
23
23
  }
24
- .chart__legendUnactive_cxp19 {
24
+ .chart__legendUnactive_jjc8y {
25
25
  opacity: 0.3;
26
26
  }
27
- .chart__legendIcon_cxp19 {
27
+ .chart__legendIcon_jjc8y {
28
28
  margin-right: 13px;
29
29
  display: flex;
30
30
  }
31
- .chart__legendValue_cxp19 {
31
+ .chart__legendValue_jjc8y {
32
32
  text-transform: capitalize;
33
33
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"legendContent":"chart__legendContent_cxp19","legendWrap":"chart__legendWrap_cxp19","legendItem":"chart__legendItem_cxp19","legendUnactive":"chart__legendUnactive_cxp19","legendIcon":"chart__legendIcon_cxp19","legendValue":"chart__legendValue_cxp19"};
5
+ var styles = {"legendContent":"chart__legendContent_jjc8y","legendWrap":"chart__legendWrap_jjc8y","legendItem":"chart__legendItem_jjc8y","legendUnactive":"chart__legendUnactive_jjc8y","legendIcon":"chart__legendIcon_jjc8y","legendValue":"chart__legendValue_jjc8y"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -3,17 +3,19 @@
3
3
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
4
4
  }
5
5
  :root {
6
- --font-family-system:
7
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
6
+ --font-family-alfasans:
7
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
8
+ Helvetica, sans-serif;
8
9
  }
9
- .chart__tickText_41yxo {
10
+ .chart__tickText_9tcx8 {
10
11
  fill: var(--color-light-text-primary);
11
12
  font-size: 16px;
12
13
  line-height: 24px;
13
14
  font-weight: 400;
14
- font-family: var(--font-family-system);
15
+ letter-spacing: -0.24px;
16
+ font-family: var(--font-family-alfasans);
15
17
  }
16
- .chart__circle_41yxo {
18
+ .chart__circle_9tcx8 {
17
19
  opacity: 0.3;
18
20
  fill: var(--color-dark-base-bg-primary);
19
21
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"tickText":"chart__tickText_41yxo","circle":"chart__circle_41yxo"};
5
+ var styles = {"tickText":"chart__tickText_9tcx8","circle":"chart__circle_9tcx8"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -21,7 +21,7 @@
21
21
  --gap-16: var(--gap-m);
22
22
  --gap-2-neg: var(--gap-3xs-neg);
23
23
  }
24
- .chart__tooltip_1j1ch {
24
+ .chart__tooltip_10v3w {
25
25
  background-color: var(--color-light-base-bg-primary);
26
26
  border: 1px solid var(--color-light-neutral-400);
27
27
  box-shadow: var(--shadow-l);
@@ -30,17 +30,17 @@
30
30
  pointer-events: none;
31
31
  position: relative;
32
32
  }
33
- .chart__tooltipList_1j1ch {
33
+ .chart__tooltipList_10v3w {
34
34
  position: relative;
35
35
  z-index: 5;
36
36
  list-style-type: none;
37
37
  padding: var(--gap-0);
38
38
  margin: var(--gap-0);
39
39
  }
40
- .chart__tooltipItem_1j1ch {
40
+ .chart__tooltipItem_10v3w {
41
41
  margin-bottom: var(--gap-10);
42
42
  }
43
- .chart__tooltipArrow_1j1ch {
43
+ .chart__tooltipArrow_10v3w {
44
44
  position: absolute;
45
45
  left: var(--gap-0);
46
46
  top: 50%;
@@ -50,7 +50,7 @@
50
50
  border: 1px solid var(--color-light-neutral-400);
51
51
  background-color: var(--color-light-base-bg-primary);
52
52
  }
53
- .chart__tooltipArrow_1j1ch:before {
53
+ .chart__tooltipArrow_10v3w:before {
54
54
  content: '';
55
55
  position: absolute;
56
56
  left: var(--gap-2-neg);
@@ -61,7 +61,7 @@
61
61
  border-width: 0 14px 14px 0;
62
62
  border-color: transparent var(--color-light-base-bg-primary) transparent transparent;
63
63
  }
64
- .chart__tooltipArrowRight_1j1ch {
64
+ .chart__tooltipArrowRight_10v3w {
65
65
  left: 100%;
66
66
  transform: translate(-50%, -50%) scale(-1, 1) rotate(45deg);
67
67
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"tooltip":"chart__tooltip_1j1ch","tooltipList":"chart__tooltipList_1j1ch","tooltipItem":"chart__tooltipItem_1j1ch","tooltipArrow":"chart__tooltipArrow_1j1ch","tooltipArrowRight":"chart__tooltipArrowRight_1j1ch"};
5
+ var styles = {"tooltip":"chart__tooltip_10v3w","tooltipList":"chart__tooltipList_10v3w","tooltipItem":"chart__tooltipItem_10v3w","tooltipArrow":"chart__tooltipArrow_10v3w","tooltipArrowRight":"chart__tooltipArrowRight_10v3w"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -3,15 +3,17 @@
3
3
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
4
4
  }
5
5
  :root {
6
- --font-family-system:
7
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
6
+ --font-family-alfasans:
7
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
8
+ Helvetica, sans-serif;
8
9
  }
9
10
  .tickText {
10
11
  fill: var(--color-light-text-primary);
11
12
  font-size: 16px;
12
13
  line-height: 24px;
13
14
  font-weight: 400;
14
- font-family: var(--font-family-system);
15
+ letter-spacing: -0.24px;
16
+ font-family: var(--font-family-alfasans);
15
17
  }
16
18
  .circle {
17
19
  opacity: 0.3;
@@ -2,8 +2,9 @@
2
2
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
3
3
  }
4
4
  :root {
5
- --font-family-system:
6
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
5
+ --font-family-alfasans:
6
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
7
+ Helvetica, sans-serif;
7
8
  }
8
9
  .coreChart :global(.recharts-line path) {
9
10
  transition: d 0.2s ease-out;
@@ -17,7 +18,9 @@
17
18
 
18
19
  font-weight: 400;
19
20
 
20
- font-family: var(--font-family-system);
21
+ letter-spacing: -0.24px;
22
+
23
+ font-family: var(--font-family-alfasans);
21
24
  }
22
25
  .bar {
23
26
  transition:
@@ -1,18 +1,18 @@
1
- .chart__dotUnfocused_rqz42 {
1
+ .chart__dotUnfocused_4a1h5 {
2
2
  opacity: 0.3;
3
3
  }
4
4
 
5
- .chart__dot_rqz42,
6
- .chart__dotItem_rqz42,
7
- .chart__dotWrap_rqz42 {
5
+ .chart__dot_4a1h5,
6
+ .chart__dotItem_4a1h5,
7
+ .chart__dotWrap_4a1h5 {
8
8
  transition: all 0.2s ease;
9
9
  }
10
10
 
11
- .chart__dot_rqz42 {
12
- animation: chart__showDot_rqz42 0.5s ease;
11
+ .chart__dot_4a1h5 {
12
+ animation: chart__showDot_4a1h5 0.5s ease;
13
13
  }
14
14
 
15
- @keyframes chart__showDot_rqz42 {
15
+ @keyframes chart__showDot_4a1h5 {
16
16
  from {
17
17
  opacity: 0;
18
18
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"dotUnfocused":"chart__dotUnfocused_rqz42","dot":"chart__dot_rqz42","dotItem":"chart__dotItem_rqz42","dotWrap":"chart__dotWrap_rqz42"};
3
+ var styles = {"dotUnfocused":"chart__dotUnfocused_4a1h5","dot":"chart__dot_4a1h5","dotItem":"chart__dotItem_4a1h5","dotWrap":"chart__dotWrap_4a1h5"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -3,31 +3,31 @@
3
3
  --gap-0: 0px;
4
4
  --gap-32: var(--gap-2xl);
5
5
  }
6
- .chart__legendContent_cxp19 {
6
+ .chart__legendContent_jjc8y {
7
7
  display: flex;
8
8
  align-items: center;
9
9
  flex-wrap: wrap;
10
10
  }
11
- .chart__legendWrap_cxp19 {
11
+ .chart__legendWrap_jjc8y {
12
12
  width: 100%;
13
13
  margin: var(--gap-0);
14
14
  padding: var(--gap-0);
15
15
  }
16
- .chart__legendItem_cxp19 {
16
+ .chart__legendItem_jjc8y {
17
17
  margin-right: var(--gap-32);
18
18
  cursor: pointer;
19
19
  display: inline-block;
20
20
  }
21
- .chart__legendItem_cxp19:last-child {
21
+ .chart__legendItem_jjc8y:last-child {
22
22
  margin-right: var(--gap-0);
23
23
  }
24
- .chart__legendUnactive_cxp19 {
24
+ .chart__legendUnactive_jjc8y {
25
25
  opacity: 0.3;
26
26
  }
27
- .chart__legendIcon_cxp19 {
27
+ .chart__legendIcon_jjc8y {
28
28
  margin-right: 13px;
29
29
  display: flex;
30
30
  }
31
- .chart__legendValue_cxp19 {
31
+ .chart__legendValue_jjc8y {
32
32
  text-transform: capitalize;
33
33
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"legendContent":"chart__legendContent_cxp19","legendWrap":"chart__legendWrap_cxp19","legendItem":"chart__legendItem_cxp19","legendUnactive":"chart__legendUnactive_cxp19","legendIcon":"chart__legendIcon_cxp19","legendValue":"chart__legendValue_cxp19"};
3
+ var styles = {"legendContent":"chart__legendContent_jjc8y","legendWrap":"chart__legendWrap_jjc8y","legendItem":"chart__legendItem_jjc8y","legendUnactive":"chart__legendUnactive_jjc8y","legendIcon":"chart__legendIcon_jjc8y","legendValue":"chart__legendValue_jjc8y"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -3,17 +3,19 @@
3
3
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
4
4
  }
5
5
  :root {
6
- --font-family-system:
7
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
6
+ --font-family-alfasans:
7
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
8
+ Helvetica, sans-serif;
8
9
  }
9
- .chart__tickText_41yxo {
10
+ .chart__tickText_9tcx8 {
10
11
  fill: var(--color-light-text-primary);
11
12
  font-size: 16px;
12
13
  line-height: 24px;
13
14
  font-weight: 400;
14
- font-family: var(--font-family-system);
15
+ letter-spacing: -0.24px;
16
+ font-family: var(--font-family-alfasans);
15
17
  }
16
- .chart__circle_41yxo {
18
+ .chart__circle_9tcx8 {
17
19
  opacity: 0.3;
18
20
  fill: var(--color-dark-base-bg-primary);
19
21
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"tickText":"chart__tickText_41yxo","circle":"chart__circle_41yxo"};
3
+ var styles = {"tickText":"chart__tickText_9tcx8","circle":"chart__circle_9tcx8"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -21,7 +21,7 @@
21
21
  --gap-16: var(--gap-m);
22
22
  --gap-2-neg: var(--gap-3xs-neg);
23
23
  }
24
- .chart__tooltip_1j1ch {
24
+ .chart__tooltip_10v3w {
25
25
  background-color: var(--color-light-base-bg-primary);
26
26
  border: 1px solid var(--color-light-neutral-400);
27
27
  box-shadow: var(--shadow-l);
@@ -30,17 +30,17 @@
30
30
  pointer-events: none;
31
31
  position: relative;
32
32
  }
33
- .chart__tooltipList_1j1ch {
33
+ .chart__tooltipList_10v3w {
34
34
  position: relative;
35
35
  z-index: 5;
36
36
  list-style-type: none;
37
37
  padding: var(--gap-0);
38
38
  margin: var(--gap-0);
39
39
  }
40
- .chart__tooltipItem_1j1ch {
40
+ .chart__tooltipItem_10v3w {
41
41
  margin-bottom: var(--gap-10);
42
42
  }
43
- .chart__tooltipArrow_1j1ch {
43
+ .chart__tooltipArrow_10v3w {
44
44
  position: absolute;
45
45
  left: var(--gap-0);
46
46
  top: 50%;
@@ -50,7 +50,7 @@
50
50
  border: 1px solid var(--color-light-neutral-400);
51
51
  background-color: var(--color-light-base-bg-primary);
52
52
  }
53
- .chart__tooltipArrow_1j1ch:before {
53
+ .chart__tooltipArrow_10v3w:before {
54
54
  content: '';
55
55
  position: absolute;
56
56
  left: var(--gap-2-neg);
@@ -61,7 +61,7 @@
61
61
  border-width: 0 14px 14px 0;
62
62
  border-color: transparent var(--color-light-base-bg-primary) transparent transparent;
63
63
  }
64
- .chart__tooltipArrowRight_1j1ch {
64
+ .chart__tooltipArrowRight_10v3w {
65
65
  left: 100%;
66
66
  transform: translate(-50%, -50%) scale(-1, 1) rotate(45deg);
67
67
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"tooltip":"chart__tooltip_1j1ch","tooltipList":"chart__tooltipList_1j1ch","tooltipItem":"chart__tooltipItem_1j1ch","tooltipArrow":"chart__tooltipArrow_1j1ch","tooltipArrowRight":"chart__tooltipArrowRight_1j1ch"};
3
+ var styles = {"tooltip":"chart__tooltip_10v3w","tooltipList":"chart__tooltipList_10v3w","tooltipItem":"chart__tooltipItem_10v3w","tooltipArrow":"chart__tooltipArrow_10v3w","tooltipArrowRight":"chart__tooltipArrowRight_10v3w"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
package/esm/index.css CHANGED
@@ -2,13 +2,14 @@
2
2
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
3
3
  }
4
4
  :root {
5
- --font-family-system:
6
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
5
+ --font-family-alfasans:
6
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
7
+ Helvetica, sans-serif;
7
8
  }
8
- .chart__coreChart_v723j .recharts-line path {
9
+ .chart__coreChart_khfmc .recharts-line path {
9
10
  transition: d 0.2s ease-out;
10
11
  }
11
- .chart__coreChart_v723j .recharts-text tspan {
12
+ .chart__coreChart_khfmc .recharts-text tspan {
12
13
  fill: var(--color-light-text-primary);
13
14
 
14
15
  font-size: 16px;
@@ -17,13 +18,15 @@
17
18
 
18
19
  font-weight: 400;
19
20
 
20
- font-family: var(--font-family-system);
21
+ letter-spacing: -0.24px;
22
+
23
+ font-family: var(--font-family-alfasans);
21
24
  }
22
- .chart__bar_v723j {
25
+ .chart__bar_khfmc {
23
26
  transition:
24
27
  opacity 0.2s ease-out,
25
28
  d 0.2s ease-out;
26
29
  }
27
- .chart__unfocused_v723j {
30
+ .chart__unfocused_khfmc {
28
31
  opacity: 0.3;
29
32
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"coreChart":"chart__coreChart_v723j","bar":"chart__bar_v723j","unfocused":"chart__unfocused_v723j"};
3
+ var styles = {"coreChart":"chart__coreChart_khfmc","bar":"chart__bar_khfmc","unfocused":"chart__unfocused_khfmc"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
package/index.css CHANGED
@@ -2,13 +2,14 @@
2
2
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
3
3
  }
4
4
  :root {
5
- --font-family-system:
6
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
5
+ --font-family-alfasans:
6
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
7
+ Helvetica, sans-serif;
7
8
  }
8
- .chart__coreChart_v723j .recharts-line path {
9
+ .chart__coreChart_khfmc .recharts-line path {
9
10
  transition: d 0.2s ease-out;
10
11
  }
11
- .chart__coreChart_v723j .recharts-text tspan {
12
+ .chart__coreChart_khfmc .recharts-text tspan {
12
13
  fill: var(--color-light-text-primary);
13
14
 
14
15
  font-size: 16px;
@@ -17,13 +18,15 @@
17
18
 
18
19
  font-weight: 400;
19
20
 
20
- font-family: var(--font-family-system);
21
+ letter-spacing: -0.24px;
22
+
23
+ font-family: var(--font-family-alfasans);
21
24
  }
22
- .chart__bar_v723j {
25
+ .chart__bar_khfmc {
23
26
  transition:
24
27
  opacity 0.2s ease-out,
25
28
  d 0.2s ease-out;
26
29
  }
27
- .chart__unfocused_v723j {
30
+ .chart__unfocused_khfmc {
28
31
  opacity: 0.3;
29
32
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"coreChart":"chart__coreChart_v723j","bar":"chart__bar_v723j","unfocused":"chart__unfocused_v723j"};
5
+ var styles = {"coreChart":"chart__coreChart_khfmc","bar":"chart__bar_khfmc","unfocused":"chart__unfocused_khfmc"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -1,18 +1,18 @@
1
- .chart__dotUnfocused_rqz42 {
1
+ .chart__dotUnfocused_4a1h5 {
2
2
  opacity: 0.3;
3
3
  }
4
4
 
5
- .chart__dot_rqz42,
6
- .chart__dotItem_rqz42,
7
- .chart__dotWrap_rqz42 {
5
+ .chart__dot_4a1h5,
6
+ .chart__dotItem_4a1h5,
7
+ .chart__dotWrap_4a1h5 {
8
8
  transition: all 0.2s ease;
9
9
  }
10
10
 
11
- .chart__dot_rqz42 {
12
- animation: chart__showDot_rqz42 0.5s ease;
11
+ .chart__dot_4a1h5 {
12
+ animation: chart__showDot_4a1h5 0.5s ease;
13
13
  }
14
14
 
15
- @keyframes chart__showDot_rqz42 {
15
+ @keyframes chart__showDot_4a1h5 {
16
16
  from {
17
17
  opacity: 0;
18
18
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"dotUnfocused":"chart__dotUnfocused_rqz42","dot":"chart__dot_rqz42","dotItem":"chart__dotItem_rqz42","dotWrap":"chart__dotWrap_rqz42"};
3
+ const styles = {"dotUnfocused":"chart__dotUnfocused_4a1h5","dot":"chart__dot_4a1h5","dotItem":"chart__dotItem_4a1h5","dotWrap":"chart__dotWrap_4a1h5"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -3,31 +3,31 @@
3
3
  --gap-0: 0px;
4
4
  --gap-32: var(--gap-2xl);
5
5
  }
6
- .chart__legendContent_cxp19 {
6
+ .chart__legendContent_jjc8y {
7
7
  display: flex;
8
8
  align-items: center;
9
9
  flex-wrap: wrap;
10
10
  }
11
- .chart__legendWrap_cxp19 {
11
+ .chart__legendWrap_jjc8y {
12
12
  width: 100%;
13
13
  margin: var(--gap-0);
14
14
  padding: var(--gap-0);
15
15
  }
16
- .chart__legendItem_cxp19 {
16
+ .chart__legendItem_jjc8y {
17
17
  margin-right: var(--gap-32);
18
18
  cursor: pointer;
19
19
  display: inline-block;
20
20
  }
21
- .chart__legendItem_cxp19:last-child {
21
+ .chart__legendItem_jjc8y:last-child {
22
22
  margin-right: var(--gap-0);
23
23
  }
24
- .chart__legendUnactive_cxp19 {
24
+ .chart__legendUnactive_jjc8y {
25
25
  opacity: 0.3;
26
26
  }
27
- .chart__legendIcon_cxp19 {
27
+ .chart__legendIcon_jjc8y {
28
28
  margin-right: 13px;
29
29
  display: flex;
30
30
  }
31
- .chart__legendValue_cxp19 {
31
+ .chart__legendValue_jjc8y {
32
32
  text-transform: capitalize;
33
33
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"legendContent":"chart__legendContent_cxp19","legendWrap":"chart__legendWrap_cxp19","legendItem":"chart__legendItem_cxp19","legendUnactive":"chart__legendUnactive_cxp19","legendIcon":"chart__legendIcon_cxp19","legendValue":"chart__legendValue_cxp19"};
3
+ const styles = {"legendContent":"chart__legendContent_jjc8y","legendWrap":"chart__legendWrap_jjc8y","legendItem":"chart__legendItem_jjc8y","legendUnactive":"chart__legendUnactive_jjc8y","legendIcon":"chart__legendIcon_jjc8y","legendValue":"chart__legendValue_jjc8y"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -3,17 +3,19 @@
3
3
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
4
4
  }
5
5
  :root {
6
- --font-family-system:
7
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
6
+ --font-family-alfasans:
7
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
8
+ Helvetica, sans-serif;
8
9
  }
9
- .chart__tickText_41yxo {
10
+ .chart__tickText_9tcx8 {
10
11
  fill: var(--color-light-text-primary);
11
12
  font-size: 16px;
12
13
  line-height: 24px;
13
14
  font-weight: 400;
14
- font-family: var(--font-family-system);
15
+ letter-spacing: -0.24px;
16
+ font-family: var(--font-family-alfasans);
15
17
  }
16
- .chart__circle_41yxo {
18
+ .chart__circle_9tcx8 {
17
19
  opacity: 0.3;
18
20
  fill: var(--color-dark-base-bg-primary);
19
21
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"tickText":"chart__tickText_41yxo","circle":"chart__circle_41yxo"};
3
+ const styles = {"tickText":"chart__tickText_9tcx8","circle":"chart__circle_9tcx8"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -21,7 +21,7 @@
21
21
  --gap-16: var(--gap-m);
22
22
  --gap-2-neg: var(--gap-3xs-neg);
23
23
  }
24
- .chart__tooltip_1j1ch {
24
+ .chart__tooltip_10v3w {
25
25
  background-color: var(--color-light-base-bg-primary);
26
26
  border: 1px solid var(--color-light-neutral-400);
27
27
  box-shadow: var(--shadow-l);
@@ -30,17 +30,17 @@
30
30
  pointer-events: none;
31
31
  position: relative;
32
32
  }
33
- .chart__tooltipList_1j1ch {
33
+ .chart__tooltipList_10v3w {
34
34
  position: relative;
35
35
  z-index: 5;
36
36
  list-style-type: none;
37
37
  padding: var(--gap-0);
38
38
  margin: var(--gap-0);
39
39
  }
40
- .chart__tooltipItem_1j1ch {
40
+ .chart__tooltipItem_10v3w {
41
41
  margin-bottom: var(--gap-10);
42
42
  }
43
- .chart__tooltipArrow_1j1ch {
43
+ .chart__tooltipArrow_10v3w {
44
44
  position: absolute;
45
45
  left: var(--gap-0);
46
46
  top: 50%;
@@ -50,7 +50,7 @@
50
50
  border: 1px solid var(--color-light-neutral-400);
51
51
  background-color: var(--color-light-base-bg-primary);
52
52
  }
53
- .chart__tooltipArrow_1j1ch:before {
53
+ .chart__tooltipArrow_10v3w:before {
54
54
  content: '';
55
55
  position: absolute;
56
56
  left: var(--gap-2-neg);
@@ -61,7 +61,7 @@
61
61
  border-width: 0 14px 14px 0;
62
62
  border-color: transparent var(--color-light-base-bg-primary) transparent transparent;
63
63
  }
64
- .chart__tooltipArrowRight_1j1ch {
64
+ .chart__tooltipArrowRight_10v3w {
65
65
  left: 100%;
66
66
  transform: translate(-50%, -50%) scale(-1, 1) rotate(45deg);
67
67
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"tooltip":"chart__tooltip_1j1ch","tooltipList":"chart__tooltipList_1j1ch","tooltipItem":"chart__tooltipItem_1j1ch","tooltipArrow":"chart__tooltipArrow_1j1ch","tooltipArrowRight":"chart__tooltipArrowRight_1j1ch"};
3
+ const styles = {"tooltip":"chart__tooltip_10v3w","tooltipList":"chart__tooltipList_10v3w","tooltipItem":"chart__tooltipItem_10v3w","tooltipArrow":"chart__tooltipArrow_10v3w","tooltipArrowRight":"chart__tooltipArrowRight_10v3w"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
package/modern/index.css CHANGED
@@ -2,13 +2,14 @@
2
2
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
3
3
  }
4
4
  :root {
5
- --font-family-system:
6
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
5
+ --font-family-alfasans:
6
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
7
+ Helvetica, sans-serif;
7
8
  }
8
- .chart__coreChart_v723j .recharts-line path {
9
+ .chart__coreChart_khfmc .recharts-line path {
9
10
  transition: d 0.2s ease-out;
10
11
  }
11
- .chart__coreChart_v723j .recharts-text tspan {
12
+ .chart__coreChart_khfmc .recharts-text tspan {
12
13
  fill: var(--color-light-text-primary);
13
14
 
14
15
  font-size: 16px;
@@ -17,13 +18,15 @@
17
18
 
18
19
  font-weight: 400;
19
20
 
20
- font-family: var(--font-family-system);
21
+ letter-spacing: -0.24px;
22
+
23
+ font-family: var(--font-family-alfasans);
21
24
  }
22
- .chart__bar_v723j {
25
+ .chart__bar_khfmc {
23
26
  transition:
24
27
  opacity 0.2s ease-out,
25
28
  d 0.2s ease-out;
26
29
  }
27
- .chart__unfocused_v723j {
30
+ .chart__unfocused_khfmc {
28
31
  opacity: 0.3;
29
32
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"coreChart":"chart__coreChart_v723j","bar":"chart__bar_v723j","unfocused":"chart__unfocused_v723j"};
3
+ const styles = {"coreChart":"chart__coreChart_khfmc","bar":"chart__bar_khfmc","unfocused":"chart__unfocused_khfmc"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -5,7 +5,8 @@
5
5
  font-size: 16px;
6
6
  line-height: 24px;
7
7
  font-weight: 400;
8
- font-family: var(--font-family-system);
8
+ letter-spacing: -0.24px;
9
+ font-family: var(--font-family-alfasans);
9
10
  }
10
11
 
11
12
  .circle {
@@ -12,7 +12,9 @@
12
12
 
13
13
  font-weight: 400;
14
14
 
15
- font-family: var(--font-family-system);
15
+ letter-spacing: -0.24px;
16
+
17
+ font-family: var(--font-family-alfasans);
16
18
  }
17
19
 
18
20
  .bar {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-chart",
3
- "version": "5.0.1",
3
+ "version": "5.0.2-alfasans",
4
4
  "description": "Chart component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "main": "index.js",
11
11
  "module": "./esm/index.js",
12
12
  "dependencies": {
13
- "@alfalab/core-components-typography": "^6.0.1",
13
+ "@alfalab/core-components-typography": "6.0.2-alfasans",
14
14
  "classnames": "^2.5.1",
15
15
  "recharts": "^2.15.4",
16
16
  "tslib": "^2.4.0"
@@ -23,6 +23,6 @@
23
23
  "access": "public",
24
24
  "directory": "dist"
25
25
  },
26
- "themesVersion": "15.0.1",
27
- "varsVersion": "11.0.1"
26
+ "themesVersion": "15.0.1-alfasans",
27
+ "varsVersion": "11.0.1-alfasans"
28
28
  }