@alfalab/core-components-chart 5.0.1 → 5.0.2
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/components/Dot/index.css +7 -7
- package/components/Dot/index.module.css.js +1 -1
- package/components/Legends/index.css +7 -7
- package/components/Legends/index.module.css.js +1 -1
- package/components/Tick/index.css +2 -2
- package/components/Tick/index.module.css.js +1 -1
- package/components/TooltipContent/index.css +6 -6
- package/components/TooltipContent/index.module.css.js +1 -1
- package/esm/components/Dot/index.css +7 -7
- package/esm/components/Dot/index.module.css.js +1 -1
- package/esm/components/Legends/index.css +7 -7
- package/esm/components/Legends/index.module.css.js +1 -1
- package/esm/components/Tick/index.css +2 -2
- package/esm/components/Tick/index.module.css.js +1 -1
- package/esm/components/TooltipContent/index.css +6 -6
- package/esm/components/TooltipContent/index.module.css.js +1 -1
- package/esm/index.css +4 -4
- package/esm/index.module.css.js +1 -1
- package/index.css +4 -4
- package/index.module.css.js +1 -1
- package/modern/components/Dot/index.css +7 -7
- package/modern/components/Dot/index.module.css.js +1 -1
- package/modern/components/Legends/index.css +7 -7
- package/modern/components/Legends/index.module.css.js +1 -1
- package/modern/components/Tick/index.css +2 -2
- package/modern/components/Tick/index.module.css.js +1 -1
- package/modern/components/TooltipContent/index.css +6 -6
- package/modern/components/TooltipContent/index.module.css.js +1 -1
- package/modern/index.css +4 -4
- package/modern/index.module.css.js +1 -1
- package/package.json +2 -2
package/components/Dot/index.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.
|
|
1
|
+
.chart__dotUnfocused_y9lol {
|
|
2
2
|
opacity: 0.3;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
5
|
+
.chart__dot_y9lol,
|
|
6
|
+
.chart__dotItem_y9lol,
|
|
7
|
+
.chart__dotWrap_y9lol {
|
|
8
8
|
transition: all 0.2s ease;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
12
|
-
animation:
|
|
11
|
+
.chart__dot_y9lol {
|
|
12
|
+
animation: chart__showDot_y9lol 0.5s ease;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@keyframes
|
|
15
|
+
@keyframes chart__showDot_y9lol {
|
|
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":"
|
|
5
|
+
var styles = {"dotUnfocused":"chart__dotUnfocused_y9lol","dot":"chart__dot_y9lol","dotItem":"chart__dotItem_y9lol","dotWrap":"chart__dotWrap_y9lol"};
|
|
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
|
-
.
|
|
6
|
+
.chart__legendContent_5fpw7 {
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
flex-wrap: wrap;
|
|
10
10
|
}
|
|
11
|
-
.
|
|
11
|
+
.chart__legendWrap_5fpw7 {
|
|
12
12
|
width: 100%;
|
|
13
13
|
margin: var(--gap-0);
|
|
14
14
|
padding: var(--gap-0);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.chart__legendItem_5fpw7 {
|
|
17
17
|
margin-right: var(--gap-32);
|
|
18
18
|
cursor: pointer;
|
|
19
19
|
display: inline-block;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.chart__legendItem_5fpw7:last-child {
|
|
22
22
|
margin-right: var(--gap-0);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.chart__legendUnactive_5fpw7 {
|
|
25
25
|
opacity: 0.3;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.chart__legendIcon_5fpw7 {
|
|
28
28
|
margin-right: 13px;
|
|
29
29
|
display: flex;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.chart__legendValue_5fpw7 {
|
|
32
32
|
text-transform: capitalize;
|
|
33
33
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"legendContent":"
|
|
5
|
+
var styles = {"legendContent":"chart__legendContent_5fpw7","legendWrap":"chart__legendWrap_5fpw7","legendItem":"chart__legendItem_5fpw7","legendUnactive":"chart__legendUnactive_5fpw7","legendIcon":"chart__legendIcon_5fpw7","legendValue":"chart__legendValue_5fpw7"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
--font-family-system:
|
|
7
7
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.chart__tickText_w5meh {
|
|
10
10
|
fill: var(--color-light-text-primary);
|
|
11
11
|
font-size: 16px;
|
|
12
12
|
line-height: 24px;
|
|
13
13
|
font-weight: 400;
|
|
14
14
|
font-family: var(--font-family-system);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.chart__circle_w5meh {
|
|
17
17
|
opacity: 0.3;
|
|
18
18
|
fill: var(--color-dark-base-bg-primary);
|
|
19
19
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"tickText":"
|
|
5
|
+
var styles = {"tickText":"chart__tickText_w5meh","circle":"chart__circle_w5meh"};
|
|
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
|
-
.
|
|
24
|
+
.chart__tooltip_bt0p1 {
|
|
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
|
-
.
|
|
33
|
+
.chart__tooltipList_bt0p1 {
|
|
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
|
-
.
|
|
40
|
+
.chart__tooltipItem_bt0p1 {
|
|
41
41
|
margin-bottom: var(--gap-10);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.chart__tooltipArrow_bt0p1 {
|
|
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
|
-
.
|
|
53
|
+
.chart__tooltipArrow_bt0p1: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
|
-
.
|
|
64
|
+
.chart__tooltipArrowRight_bt0p1 {
|
|
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":"
|
|
5
|
+
var styles = {"tooltip":"chart__tooltip_bt0p1","tooltipList":"chart__tooltipList_bt0p1","tooltipItem":"chart__tooltipItem_bt0p1","tooltipArrow":"chart__tooltipArrow_bt0p1","tooltipArrowRight":"chart__tooltipArrowRight_bt0p1"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.
|
|
1
|
+
.chart__dotUnfocused_y9lol {
|
|
2
2
|
opacity: 0.3;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
5
|
+
.chart__dot_y9lol,
|
|
6
|
+
.chart__dotItem_y9lol,
|
|
7
|
+
.chart__dotWrap_y9lol {
|
|
8
8
|
transition: all 0.2s ease;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
12
|
-
animation:
|
|
11
|
+
.chart__dot_y9lol {
|
|
12
|
+
animation: chart__showDot_y9lol 0.5s ease;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@keyframes
|
|
15
|
+
@keyframes chart__showDot_y9lol {
|
|
16
16
|
from {
|
|
17
17
|
opacity: 0;
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"dotUnfocused":"
|
|
3
|
+
var styles = {"dotUnfocused":"chart__dotUnfocused_y9lol","dot":"chart__dot_y9lol","dotItem":"chart__dotItem_y9lol","dotWrap":"chart__dotWrap_y9lol"};
|
|
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
|
-
.
|
|
6
|
+
.chart__legendContent_5fpw7 {
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
flex-wrap: wrap;
|
|
10
10
|
}
|
|
11
|
-
.
|
|
11
|
+
.chart__legendWrap_5fpw7 {
|
|
12
12
|
width: 100%;
|
|
13
13
|
margin: var(--gap-0);
|
|
14
14
|
padding: var(--gap-0);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.chart__legendItem_5fpw7 {
|
|
17
17
|
margin-right: var(--gap-32);
|
|
18
18
|
cursor: pointer;
|
|
19
19
|
display: inline-block;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.chart__legendItem_5fpw7:last-child {
|
|
22
22
|
margin-right: var(--gap-0);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.chart__legendUnactive_5fpw7 {
|
|
25
25
|
opacity: 0.3;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.chart__legendIcon_5fpw7 {
|
|
28
28
|
margin-right: 13px;
|
|
29
29
|
display: flex;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.chart__legendValue_5fpw7 {
|
|
32
32
|
text-transform: capitalize;
|
|
33
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"legendContent":"
|
|
3
|
+
var styles = {"legendContent":"chart__legendContent_5fpw7","legendWrap":"chart__legendWrap_5fpw7","legendItem":"chart__legendItem_5fpw7","legendUnactive":"chart__legendUnactive_5fpw7","legendIcon":"chart__legendIcon_5fpw7","legendValue":"chart__legendValue_5fpw7"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
--font-family-system:
|
|
7
7
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.chart__tickText_w5meh {
|
|
10
10
|
fill: var(--color-light-text-primary);
|
|
11
11
|
font-size: 16px;
|
|
12
12
|
line-height: 24px;
|
|
13
13
|
font-weight: 400;
|
|
14
14
|
font-family: var(--font-family-system);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.chart__circle_w5meh {
|
|
17
17
|
opacity: 0.3;
|
|
18
18
|
fill: var(--color-dark-base-bg-primary);
|
|
19
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"tickText":"
|
|
3
|
+
var styles = {"tickText":"chart__tickText_w5meh","circle":"chart__circle_w5meh"};
|
|
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
|
-
.
|
|
24
|
+
.chart__tooltip_bt0p1 {
|
|
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
|
-
.
|
|
33
|
+
.chart__tooltipList_bt0p1 {
|
|
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
|
-
.
|
|
40
|
+
.chart__tooltipItem_bt0p1 {
|
|
41
41
|
margin-bottom: var(--gap-10);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.chart__tooltipArrow_bt0p1 {
|
|
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
|
-
.
|
|
53
|
+
.chart__tooltipArrow_bt0p1: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
|
-
.
|
|
64
|
+
.chart__tooltipArrowRight_bt0p1 {
|
|
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":"
|
|
3
|
+
var styles = {"tooltip":"chart__tooltip_bt0p1","tooltipList":"chart__tooltipList_bt0p1","tooltipItem":"chart__tooltipItem_bt0p1","tooltipArrow":"chart__tooltipArrow_bt0p1","tooltipArrowRight":"chart__tooltipArrowRight_bt0p1"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/esm/index.css
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
--font-family-system:
|
|
6
6
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
7
7
|
}
|
|
8
|
-
.
|
|
8
|
+
.chart__coreChart_1fkto .recharts-line path {
|
|
9
9
|
transition: d 0.2s ease-out;
|
|
10
10
|
}
|
|
11
|
-
.
|
|
11
|
+
.chart__coreChart_1fkto .recharts-text tspan {
|
|
12
12
|
fill: var(--color-light-text-primary);
|
|
13
13
|
|
|
14
14
|
font-size: 16px;
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
|
|
20
20
|
font-family: var(--font-family-system);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.chart__bar_1fkto {
|
|
23
23
|
transition:
|
|
24
24
|
opacity 0.2s ease-out,
|
|
25
25
|
d 0.2s ease-out;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.chart__unfocused_1fkto {
|
|
28
28
|
opacity: 0.3;
|
|
29
29
|
}
|
package/esm/index.module.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"coreChart":"
|
|
3
|
+
var styles = {"coreChart":"chart__coreChart_1fkto","bar":"chart__bar_1fkto","unfocused":"chart__unfocused_1fkto"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/index.css
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
--font-family-system:
|
|
6
6
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
7
7
|
}
|
|
8
|
-
.
|
|
8
|
+
.chart__coreChart_1fkto .recharts-line path {
|
|
9
9
|
transition: d 0.2s ease-out;
|
|
10
10
|
}
|
|
11
|
-
.
|
|
11
|
+
.chart__coreChart_1fkto .recharts-text tspan {
|
|
12
12
|
fill: var(--color-light-text-primary);
|
|
13
13
|
|
|
14
14
|
font-size: 16px;
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
|
|
20
20
|
font-family: var(--font-family-system);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.chart__bar_1fkto {
|
|
23
23
|
transition:
|
|
24
24
|
opacity 0.2s ease-out,
|
|
25
25
|
d 0.2s ease-out;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.chart__unfocused_1fkto {
|
|
28
28
|
opacity: 0.3;
|
|
29
29
|
}
|
package/index.module.css.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"coreChart":"
|
|
5
|
+
var styles = {"coreChart":"chart__coreChart_1fkto","bar":"chart__bar_1fkto","unfocused":"chart__unfocused_1fkto"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.
|
|
1
|
+
.chart__dotUnfocused_y9lol {
|
|
2
2
|
opacity: 0.3;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
5
|
+
.chart__dot_y9lol,
|
|
6
|
+
.chart__dotItem_y9lol,
|
|
7
|
+
.chart__dotWrap_y9lol {
|
|
8
8
|
transition: all 0.2s ease;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
12
|
-
animation:
|
|
11
|
+
.chart__dot_y9lol {
|
|
12
|
+
animation: chart__showDot_y9lol 0.5s ease;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@keyframes
|
|
15
|
+
@keyframes chart__showDot_y9lol {
|
|
16
16
|
from {
|
|
17
17
|
opacity: 0;
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"dotUnfocused":"
|
|
3
|
+
const styles = {"dotUnfocused":"chart__dotUnfocused_y9lol","dot":"chart__dot_y9lol","dotItem":"chart__dotItem_y9lol","dotWrap":"chart__dotWrap_y9lol"};
|
|
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
|
-
.
|
|
6
|
+
.chart__legendContent_5fpw7 {
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
flex-wrap: wrap;
|
|
10
10
|
}
|
|
11
|
-
.
|
|
11
|
+
.chart__legendWrap_5fpw7 {
|
|
12
12
|
width: 100%;
|
|
13
13
|
margin: var(--gap-0);
|
|
14
14
|
padding: var(--gap-0);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.chart__legendItem_5fpw7 {
|
|
17
17
|
margin-right: var(--gap-32);
|
|
18
18
|
cursor: pointer;
|
|
19
19
|
display: inline-block;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.chart__legendItem_5fpw7:last-child {
|
|
22
22
|
margin-right: var(--gap-0);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.chart__legendUnactive_5fpw7 {
|
|
25
25
|
opacity: 0.3;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.chart__legendIcon_5fpw7 {
|
|
28
28
|
margin-right: 13px;
|
|
29
29
|
display: flex;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.chart__legendValue_5fpw7 {
|
|
32
32
|
text-transform: capitalize;
|
|
33
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"legendContent":"
|
|
3
|
+
const styles = {"legendContent":"chart__legendContent_5fpw7","legendWrap":"chart__legendWrap_5fpw7","legendItem":"chart__legendItem_5fpw7","legendUnactive":"chart__legendUnactive_5fpw7","legendIcon":"chart__legendIcon_5fpw7","legendValue":"chart__legendValue_5fpw7"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
--font-family-system:
|
|
7
7
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.chart__tickText_w5meh {
|
|
10
10
|
fill: var(--color-light-text-primary);
|
|
11
11
|
font-size: 16px;
|
|
12
12
|
line-height: 24px;
|
|
13
13
|
font-weight: 400;
|
|
14
14
|
font-family: var(--font-family-system);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.chart__circle_w5meh {
|
|
17
17
|
opacity: 0.3;
|
|
18
18
|
fill: var(--color-dark-base-bg-primary);
|
|
19
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"tickText":"
|
|
3
|
+
const styles = {"tickText":"chart__tickText_w5meh","circle":"chart__circle_w5meh"};
|
|
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
|
-
.
|
|
24
|
+
.chart__tooltip_bt0p1 {
|
|
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
|
-
.
|
|
33
|
+
.chart__tooltipList_bt0p1 {
|
|
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
|
-
.
|
|
40
|
+
.chart__tooltipItem_bt0p1 {
|
|
41
41
|
margin-bottom: var(--gap-10);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.chart__tooltipArrow_bt0p1 {
|
|
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
|
-
.
|
|
53
|
+
.chart__tooltipArrow_bt0p1: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
|
-
.
|
|
64
|
+
.chart__tooltipArrowRight_bt0p1 {
|
|
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":"
|
|
3
|
+
const styles = {"tooltip":"chart__tooltip_bt0p1","tooltipList":"chart__tooltipList_bt0p1","tooltipItem":"chart__tooltipItem_bt0p1","tooltipArrow":"chart__tooltipArrow_bt0p1","tooltipArrowRight":"chart__tooltipArrowRight_bt0p1"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/modern/index.css
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
--font-family-system:
|
|
6
6
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
7
7
|
}
|
|
8
|
-
.
|
|
8
|
+
.chart__coreChart_1fkto .recharts-line path {
|
|
9
9
|
transition: d 0.2s ease-out;
|
|
10
10
|
}
|
|
11
|
-
.
|
|
11
|
+
.chart__coreChart_1fkto .recharts-text tspan {
|
|
12
12
|
fill: var(--color-light-text-primary);
|
|
13
13
|
|
|
14
14
|
font-size: 16px;
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
|
|
20
20
|
font-family: var(--font-family-system);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.chart__bar_1fkto {
|
|
23
23
|
transition:
|
|
24
24
|
opacity 0.2s ease-out,
|
|
25
25
|
d 0.2s ease-out;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.chart__unfocused_1fkto {
|
|
28
28
|
opacity: 0.3;
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"coreChart":"
|
|
3
|
+
const styles = {"coreChart":"chart__coreChart_1fkto","bar":"chart__bar_1fkto","unfocused":"chart__unfocused_1fkto"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-chart",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
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.
|
|
13
|
+
"@alfalab/core-components-typography": "^6.0.2",
|
|
14
14
|
"classnames": "^2.5.1",
|
|
15
15
|
"recharts": "^2.15.4",
|
|
16
16
|
"tslib": "^2.4.0"
|