@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.
Files changed (39) hide show
  1. package/Component.js +1 -1
  2. package/components/Dot/index.css +8 -8
  3. package/components/Dot/index.js +1 -1
  4. package/components/Legends/index.css +12 -11
  5. package/components/Legends/index.js +1 -1
  6. package/components/Tick/index.css +4 -4
  7. package/components/Tick/index.js +1 -1
  8. package/components/TooltipContent/index.css +18 -14
  9. package/components/TooltipContent/index.js +1 -1
  10. package/cssm/components/Legends/index.module.css +5 -4
  11. package/cssm/components/Tick/index.module.css +1 -1
  12. package/cssm/components/TooltipContent/index.module.css +12 -8
  13. package/cssm/index.module.css +1 -1
  14. package/esm/Component.js +1 -1
  15. package/esm/components/Dot/index.css +8 -8
  16. package/esm/components/Dot/index.js +1 -1
  17. package/esm/components/Legends/index.css +12 -11
  18. package/esm/components/Legends/index.js +1 -1
  19. package/esm/components/Tick/index.css +4 -4
  20. package/esm/components/Tick/index.js +1 -1
  21. package/esm/components/TooltipContent/index.css +18 -14
  22. package/esm/components/TooltipContent/index.js +1 -1
  23. package/esm/index.css +5 -5
  24. package/index.css +5 -5
  25. package/modern/Component.js +1 -1
  26. package/modern/components/Dot/index.css +8 -8
  27. package/modern/components/Dot/index.js +1 -1
  28. package/modern/components/Legends/index.css +12 -11
  29. package/modern/components/Legends/index.js +1 -1
  30. package/modern/components/Tick/index.css +4 -4
  31. package/modern/components/Tick/index.js +1 -1
  32. package/modern/components/TooltipContent/index.css +18 -14
  33. package/modern/components/TooltipContent/index.js +1 -1
  34. package/modern/index.css +5 -5
  35. package/moderncssm/components/Legends/index.module.css +3 -3
  36. package/moderncssm/components/TooltipContent/index.module.css +6 -6
  37. package/package.json +4 -4
  38. package/src/components/Legends/index.module.css +3 -3
  39. 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-m);
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: -2px;
40
- top: -2px;
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;