@alfalab/core-components-chart 3.4.0 → 3.4.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/Component.js +1 -1
- package/components/Dot/index.css +8 -8
- package/components/Dot/index.js +1 -1
- package/components/Legends/index.css +12 -11
- package/components/Legends/index.js +1 -1
- package/components/Tick/index.css +4 -4
- package/components/Tick/index.js +1 -1
- package/components/TooltipContent/index.css +18 -14
- package/components/TooltipContent/index.js +1 -1
- package/cssm/components/Legends/index.module.css +5 -4
- package/cssm/components/Tick/index.module.css +1 -1
- package/cssm/components/TooltipContent/index.module.css +12 -8
- package/cssm/index.module.css +1 -1
- package/esm/Component.js +1 -1
- package/esm/components/Dot/index.css +8 -8
- package/esm/components/Dot/index.js +1 -1
- package/esm/components/Legends/index.css +12 -11
- package/esm/components/Legends/index.js +1 -1
- package/esm/components/Tick/index.css +4 -4
- package/esm/components/Tick/index.js +1 -1
- package/esm/components/TooltipContent/index.css +18 -14
- package/esm/components/TooltipContent/index.js +1 -1
- package/esm/index.css +5 -5
- package/index.css +5 -5
- package/modern/Component.js +1 -1
- package/modern/components/Dot/index.css +8 -8
- package/modern/components/Dot/index.js +1 -1
- package/modern/components/Legends/index.css +12 -11
- package/modern/components/Legends/index.js +1 -1
- package/modern/components/Tick/index.css +4 -4
- package/modern/components/Tick/index.js +1 -1
- package/modern/components/TooltipContent/index.css +18 -14
- package/modern/components/TooltipContent/index.js +1 -1
- package/modern/index.css +5 -5
- package/moderncssm/components/Legends/index.module.css +3 -3
- package/moderncssm/components/TooltipContent/index.module.css +6 -6
- package/package.json +4 -4
- package/src/components/Legends/index.module.css +3 -3
- package/src/components/TooltipContent/index.module.css +6 -6
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
.legendWrap {
|
|
10
10
|
width: 100%;
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
11
|
+
margin: var(--gap-0);
|
|
12
|
+
padding: var(--gap-0);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.legendItem {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.legendItem:last-child {
|
|
22
|
-
margin-right: 0;
|
|
22
|
+
margin-right: var(--gap-0);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.legendUnactive {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
background-color: var(--color-light-base-bg-primary);
|
|
5
5
|
border: 1px solid var(--color-light-neutral-400);
|
|
6
6
|
box-shadow: var(--shadow-l);
|
|
7
|
-
border-radius: var(--border-radius-
|
|
7
|
+
border-radius: var(--border-radius-8);
|
|
8
8
|
padding: var(--gap-12) var(--gap-16);
|
|
9
9
|
pointer-events: none;
|
|
10
10
|
position: relative;
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
position: relative;
|
|
15
15
|
z-index: 5;
|
|
16
16
|
list-style-type: none;
|
|
17
|
-
padding: 0;
|
|
18
|
-
margin: 0;
|
|
17
|
+
padding: var(--gap-0);
|
|
18
|
+
margin: var(--gap-0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.tooltipItem {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.tooltipArrow {
|
|
26
26
|
position: absolute;
|
|
27
|
-
left: 0;
|
|
27
|
+
left: var(--gap-0);
|
|
28
28
|
top: 50%;
|
|
29
29
|
transform: translate(-50%, -50%) scale(1, 1) rotate(45deg);
|
|
30
30
|
width: 10px;
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
.tooltipArrow:before {
|
|
37
37
|
content: '';
|
|
38
38
|
position: absolute;
|
|
39
|
-
left: -
|
|
40
|
-
top: -
|
|
39
|
+
left: var(--gap-2-neg);
|
|
40
|
+
top: var(--gap-2-neg);
|
|
41
41
|
width: 0;
|
|
42
42
|
height: 0;
|
|
43
43
|
border-style: solid;
|