@semcore/d3-chart 3.60.0 → 3.60.1

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 (214) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/lib/cjs/Area.js +14 -12
  3. package/lib/cjs/Area.js.map +1 -1
  4. package/lib/cjs/Axis.js +17 -15
  5. package/lib/cjs/Axis.js.map +1 -1
  6. package/lib/cjs/Bar.js +19 -17
  7. package/lib/cjs/Bar.js.map +1 -1
  8. package/lib/cjs/Bubble.js +15 -13
  9. package/lib/cjs/Bubble.js.map +1 -1
  10. package/lib/cjs/CompactHorizontalBar.js +19 -17
  11. package/lib/cjs/CompactHorizontalBar.js.map +1 -1
  12. package/lib/cjs/Donut.js +12 -10
  13. package/lib/cjs/Donut.js.map +1 -1
  14. package/lib/cjs/Dots.js +11 -9
  15. package/lib/cjs/Dots.js.map +1 -1
  16. package/lib/cjs/HorizontalBar.js +19 -17
  17. package/lib/cjs/HorizontalBar.js.map +1 -1
  18. package/lib/cjs/Hover.js +6 -4
  19. package/lib/cjs/Hover.js.map +1 -1
  20. package/lib/cjs/Line.js +12 -10
  21. package/lib/cjs/Line.js.map +1 -1
  22. package/lib/cjs/Plot.js +6 -4
  23. package/lib/cjs/Plot.js.map +1 -1
  24. package/lib/cjs/Radar.js +22 -20
  25. package/lib/cjs/Radar.js.map +1 -1
  26. package/lib/cjs/RadialTree.js +15 -13
  27. package/lib/cjs/RadialTree.js.map +1 -1
  28. package/lib/cjs/Reference.js +15 -13
  29. package/lib/cjs/Reference.js.map +1 -1
  30. package/lib/cjs/ScatterPlot.js +12 -10
  31. package/lib/cjs/ScatterPlot.js.map +1 -1
  32. package/lib/cjs/Tooltip.js +12 -10
  33. package/lib/cjs/Tooltip.js.map +1 -1
  34. package/lib/cjs/Venn.js +12 -10
  35. package/lib/cjs/Venn.js.map +1 -1
  36. package/lib/cjs/a11y/PlotA11yModule.js +5 -3
  37. package/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
  38. package/lib/cjs/a11y/PlotA11yView.js +5 -3
  39. package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  40. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +7 -5
  41. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  42. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +20 -18
  43. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  44. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +9 -7
  45. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  46. package/lib/es6/Area.js +14 -12
  47. package/lib/es6/Area.js.map +1 -1
  48. package/lib/es6/Axis.js +17 -15
  49. package/lib/es6/Axis.js.map +1 -1
  50. package/lib/es6/Bar.js +19 -17
  51. package/lib/es6/Bar.js.map +1 -1
  52. package/lib/es6/Bubble.js +15 -13
  53. package/lib/es6/Bubble.js.map +1 -1
  54. package/lib/es6/CompactHorizontalBar.js +19 -17
  55. package/lib/es6/CompactHorizontalBar.js.map +1 -1
  56. package/lib/es6/Donut.js +12 -10
  57. package/lib/es6/Donut.js.map +1 -1
  58. package/lib/es6/Dots.js +11 -9
  59. package/lib/es6/Dots.js.map +1 -1
  60. package/lib/es6/HorizontalBar.js +19 -17
  61. package/lib/es6/HorizontalBar.js.map +1 -1
  62. package/lib/es6/Hover.js +6 -4
  63. package/lib/es6/Hover.js.map +1 -1
  64. package/lib/es6/Line.js +12 -10
  65. package/lib/es6/Line.js.map +1 -1
  66. package/lib/es6/Plot.js +6 -4
  67. package/lib/es6/Plot.js.map +1 -1
  68. package/lib/es6/Radar.js +22 -20
  69. package/lib/es6/Radar.js.map +1 -1
  70. package/lib/es6/RadialTree.js +15 -13
  71. package/lib/es6/RadialTree.js.map +1 -1
  72. package/lib/es6/Reference.js +15 -13
  73. package/lib/es6/Reference.js.map +1 -1
  74. package/lib/es6/ScatterPlot.js +12 -10
  75. package/lib/es6/ScatterPlot.js.map +1 -1
  76. package/lib/es6/Tooltip.js +12 -10
  77. package/lib/es6/Tooltip.js.map +1 -1
  78. package/lib/es6/Venn.js +12 -10
  79. package/lib/es6/Venn.js.map +1 -1
  80. package/lib/es6/a11y/PlotA11yModule.js +5 -3
  81. package/lib/es6/a11y/PlotA11yModule.js.map +1 -1
  82. package/lib/es6/a11y/PlotA11yView.js +5 -3
  83. package/lib/es6/a11y/PlotA11yView.js.map +1 -1
  84. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +7 -5
  85. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  86. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +20 -18
  87. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  88. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +9 -7
  89. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  90. package/lib/esm/AnimatedClipPath.mjs +54 -0
  91. package/lib/esm/Area.mjs +189 -0
  92. package/lib/esm/Axis.mjs +406 -0
  93. package/lib/esm/Bar.mjs +201 -0
  94. package/lib/esm/Bubble.mjs +216 -0
  95. package/lib/esm/CompactHorizontalBar.mjs +518 -0
  96. package/lib/esm/Donut.mjs +415 -0
  97. package/lib/esm/Dots.mjs +120 -0
  98. package/lib/esm/GroupBar.mjs +94 -0
  99. package/lib/esm/HorizontalBar.mjs +181 -0
  100. package/lib/esm/Hover.mjs +217 -0
  101. package/lib/esm/Line.mjs +199 -0
  102. package/lib/esm/Pattern.mjs +520 -0
  103. package/lib/esm/Plot.mjs +137 -0
  104. package/lib/esm/Radar.mjs +706 -0
  105. package/lib/esm/RadialTree.mjs +565 -0
  106. package/lib/esm/Reference.mjs +243 -0
  107. package/lib/esm/ResponsiveContainer.mjs +99 -0
  108. package/lib/esm/ScatterPlot.mjs +194 -0
  109. package/lib/esm/StackBar.mjs +177 -0
  110. package/lib/esm/StackedArea.mjs +84 -0
  111. package/lib/esm/Tooltip.mjs +255 -0
  112. package/lib/esm/Venn.mjs +234 -0
  113. package/lib/esm/a11y/DataAccessibilityTable.mjs +100 -0
  114. package/lib/esm/a11y/PlotA11yModule.mjs +117 -0
  115. package/lib/esm/a11y/PlotA11yView.mjs +146 -0
  116. package/lib/esm/a11y/bezier.mjs +32 -0
  117. package/lib/esm/a11y/focus.mjs +44 -0
  118. package/lib/esm/a11y/hints.mjs +122 -0
  119. package/lib/esm/a11y/insights.mjs +700 -0
  120. package/lib/esm/a11y/intl.mjs +17 -0
  121. package/lib/esm/a11y/locale.mjs +39 -0
  122. package/lib/esm/a11y/serialize.mjs +363 -0
  123. package/lib/esm/a11y/summarize.mjs +14 -0
  124. package/lib/esm/a11y/translations/module/__intergalactic-dynamic-locales.mjs +33 -0
  125. package/lib/esm/a11y/translations/module/de.json.mjs +14 -0
  126. package/lib/esm/a11y/translations/module/en.json.mjs +14 -0
  127. package/lib/esm/a11y/translations/module/es.json.mjs +14 -0
  128. package/lib/esm/a11y/translations/module/fr.json.mjs +14 -0
  129. package/lib/esm/a11y/translations/module/it.json.mjs +14 -0
  130. package/lib/esm/a11y/translations/module/ja.json.mjs +14 -0
  131. package/lib/esm/a11y/translations/module/ko.json.mjs +14 -0
  132. package/lib/esm/a11y/translations/module/nl.json.mjs +14 -0
  133. package/lib/esm/a11y/translations/module/pl.json.mjs +14 -0
  134. package/lib/esm/a11y/translations/module/pt.json.mjs +14 -0
  135. package/lib/esm/a11y/translations/module/sv.json.mjs +14 -0
  136. package/lib/esm/a11y/translations/module/tr.json.mjs +14 -0
  137. package/lib/esm/a11y/translations/module/vi.json.mjs +14 -0
  138. package/lib/esm/a11y/translations/module/zh.json.mjs +14 -0
  139. package/lib/esm/a11y/translations/view/__intergalactic-dynamic-locales.mjs +33 -0
  140. package/lib/esm/a11y/translations/view/de.json.mjs +48 -0
  141. package/lib/esm/a11y/translations/view/en.json.mjs +48 -0
  142. package/lib/esm/a11y/translations/view/es.json.mjs +48 -0
  143. package/lib/esm/a11y/translations/view/fr.json.mjs +48 -0
  144. package/lib/esm/a11y/translations/view/it.json.mjs +48 -0
  145. package/lib/esm/a11y/translations/view/ja.json.mjs +48 -0
  146. package/lib/esm/a11y/translations/view/ko.json.mjs +48 -0
  147. package/lib/esm/a11y/translations/view/nl.json.mjs +48 -0
  148. package/lib/esm/a11y/translations/view/pl.json.mjs +48 -0
  149. package/lib/esm/a11y/translations/view/pt.json.mjs +48 -0
  150. package/lib/esm/a11y/translations/view/sv.json.mjs +48 -0
  151. package/lib/esm/a11y/translations/view/tr.json.mjs +48 -0
  152. package/lib/esm/a11y/translations/view/vi.json.mjs +48 -0
  153. package/lib/esm/a11y/translations/view/zh.json.mjs +48 -0
  154. package/lib/esm/color.mjs +127 -0
  155. package/lib/esm/component/Chart/AbstractChart.mjs +408 -0
  156. package/lib/esm/component/Chart/AreaChart.mjs +145 -0
  157. package/lib/esm/component/Chart/BarChart.mjs +240 -0
  158. package/lib/esm/component/Chart/BubbleChart.mjs +135 -0
  159. package/lib/esm/component/Chart/CigaretteChart.mjs +294 -0
  160. package/lib/esm/component/Chart/CompactHorizontalBarChart.mjs +113 -0
  161. package/lib/esm/component/Chart/DonutChart.mjs +113 -0
  162. package/lib/esm/component/Chart/HistogramChart.mjs +166 -0
  163. package/lib/esm/component/Chart/LineChart.mjs +131 -0
  164. package/lib/esm/component/Chart/RadarChart.mjs +115 -0
  165. package/lib/esm/component/Chart/ScatterPlotChart.mjs +144 -0
  166. package/lib/esm/component/Chart/VennChart.mjs +141 -0
  167. package/lib/esm/component/Chart/index.mjs +27 -0
  168. package/lib/esm/component/ChartLegend/BaseLegend.mjs +91 -0
  169. package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +86 -0
  170. package/lib/esm/component/ChartLegend/LegendFlex/legend-flex.shadow.css +12 -0
  171. package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +240 -0
  172. package/lib/esm/component/ChartLegend/LegendItem/LegendItem.type.mjs +4 -0
  173. package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +129 -0
  174. package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +90 -0
  175. package/lib/esm/component/ChartLegend/LegendTable/legend-table.shadow.css +19 -0
  176. package/lib/esm/component/ChartLegend/index.mjs +5 -0
  177. package/lib/esm/component/Cigarette/Cigarette.mjs +139 -0
  178. package/lib/esm/component/StackGroupBar/StackGroupBar.mjs +141 -0
  179. package/lib/esm/createElement.mjs +104 -0
  180. package/lib/esm/index.mjs +70 -0
  181. package/lib/esm/style/area.shadow.css +50 -0
  182. package/lib/esm/style/axis.shadow.css +88 -0
  183. package/lib/esm/style/bar.shadow.css +66 -0
  184. package/lib/esm/style/bubble.shadow.css +64 -0
  185. package/lib/esm/style/donut.shadow.css +36 -0
  186. package/lib/esm/style/dot.shadow.css +27 -0
  187. package/lib/esm/style/hover.shadow.css +9 -0
  188. package/lib/esm/style/line.shadow.css +43 -0
  189. package/lib/esm/style/plot.shadow.css +19 -0
  190. package/lib/esm/style/plotA11yModule.shadow.css +12 -0
  191. package/lib/esm/style/plotA11yView.shadow.css +39 -0
  192. package/lib/esm/style/radar.shadow.css +80 -0
  193. package/lib/esm/style/radial-tree.shadow.css +54 -0
  194. package/lib/esm/style/reference.shadow.css +43 -0
  195. package/lib/esm/style/scatterplot.shadow.css +41 -0
  196. package/lib/esm/style/tooltip.shadow.css +42 -0
  197. package/lib/esm/style/venn.shadow.css +48 -0
  198. package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +31 -0
  199. package/lib/esm/translations/en.json.mjs +12 -0
  200. package/lib/esm/translations/es.json.mjs +11 -0
  201. package/lib/esm/translations/fr.json.mjs +11 -0
  202. package/lib/esm/translations/it.json.mjs +11 -0
  203. package/lib/esm/translations/ja.json.mjs +11 -0
  204. package/lib/esm/translations/ko.json.mjs +11 -0
  205. package/lib/esm/translations/nl.json.mjs +11 -0
  206. package/lib/esm/translations/pl.json.mjs +11 -0
  207. package/lib/esm/translations/pt.json.mjs +11 -0
  208. package/lib/esm/translations/sv.json.mjs +11 -0
  209. package/lib/esm/translations/tr.json.mjs +11 -0
  210. package/lib/esm/translations/vi.json.mjs +11 -0
  211. package/lib/esm/translations/zh.json.mjs +11 -0
  212. package/lib/esm/utils.mjs +266 -0
  213. package/package.json +11 -11
  214. package/vite.config.ts +2 -0
@@ -0,0 +1,43 @@
1
+ @import './var.css';
2
+
3
+ SLine {
4
+ fill: transparent;
5
+ stroke-width: 3;
6
+ stroke: var(--intergalactic-chart-palette-order-1, #2bb3ff);
7
+ transition-property: d;
8
+ transition-duration: var(--duration);
9
+ transition-timing-function: ease-in-out;
10
+ }
11
+
12
+ SLine[color] {
13
+ stroke: var(--color);
14
+ }
15
+
16
+ SLine[hide] {
17
+ display: none;
18
+ }
19
+
20
+ SLine[transparent] {
21
+ opacity: 0.3;
22
+ }
23
+
24
+ SNull {
25
+ fill: transparent;
26
+ stroke: var(--intergalactic-border-primary, #c4c7cf);
27
+ stroke-dasharray: 4;
28
+ }
29
+
30
+ SNull[hide] {
31
+ display: none;
32
+ }
33
+
34
+ SLineArea {
35
+ transition-property: d;
36
+ transition-duration: var(--duration);
37
+ transition-timing-function: ease-in-out;
38
+ opacity: 0.3;
39
+ fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
40
+ }
41
+ SLineArea[color] {
42
+ fill: var(--color);
43
+ }
@@ -0,0 +1,19 @@
1
+ @import './var.css';
2
+
3
+ SPlot {
4
+ overflow: hidden;
5
+ }
6
+ SPlot:active,
7
+ SPlot:focus {
8
+ outline: 0;
9
+ text-decoration: none;
10
+ }
11
+
12
+ foreignObject[data-aria-only] {
13
+ pointer-events: none;
14
+ }
15
+
16
+ SPlot[keyboardFocused] {
17
+ border: 1px solid var(--intergalactic-chart-palette-order-9, #008ff8);
18
+ box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));
19
+ }
@@ -0,0 +1,12 @@
1
+ @import './var.css';
2
+
3
+ SPlotA11yModule {
4
+ user-select: none;
5
+ pointer-events: none;
6
+ opacity: 0;
7
+ }
8
+ SPlotA11yModule:focus {
9
+ user-select: all;
10
+ pointer-events: all;
11
+ opacity: 1;
12
+ }
@@ -0,0 +1,39 @@
1
+ @import './var.css';
2
+
3
+ SPlotA11yView {
4
+ user-select: none;
5
+ pointer-events: none;
6
+ opacity: 0;
7
+ background-color: var(--intergalactic-bg-primary-neutral, #ffffff);
8
+ color: var(--intergalactic-text-primary, #191b23);
9
+ border: 3px solid var(--intergalactic-border-primary, #c4c7cf);
10
+ font-size: var(--intergalactic-fs-50, 10px);
11
+ /* disable-tokens-validator */
12
+ padding: 2px;
13
+ width: 200px;
14
+ height: 200px;
15
+ max-width: 80%;
16
+ max-height: 80%;
17
+ overflow: auto;
18
+ }
19
+ SPlotA11yView:focus-within,
20
+ SPlotA11yView:focus {
21
+ user-select: all;
22
+ pointer-events: all;
23
+ opacity: 1;
24
+ z-index: var(--intergalactic-z-index-overlay, 500);
25
+ position: relative;
26
+ display: block;
27
+ }
28
+ SPlotA11yView a {
29
+ cursor: pointer;
30
+ text-decoration: underline;
31
+ margin-bottom: var(--intergalactic-spacing-2x, 8px);
32
+ display: block;
33
+ }
34
+
35
+ SPlotA11yView table,
36
+ SPlotA11yView td,
37
+ SPlotA11yView th {
38
+ border: 1px solid var(--intergalactic-border-primary, #c4c7cf);
39
+ }
@@ -0,0 +1,80 @@
1
+ SAxis {
2
+ stroke: var(--intergalactic-chart-grid-line, #e0e1e9);
3
+ stroke-width: 1;
4
+ fill: transparent;
5
+ }
6
+
7
+ SAxisLine,
8
+ SAxisTick {
9
+ stroke: var(--intergalactic-chart-grid-line, #e0e1e9);
10
+ stroke-width: 1;
11
+ stroke-dasharray: 2;
12
+ fill: transparent;
13
+ }
14
+
15
+ SAxisLine[active] {
16
+ stroke: var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6);
17
+ }
18
+
19
+ SAxisLabel {
20
+ text-anchor: middle;
21
+ dominant-baseline: central;
22
+ font-size: 12px;
23
+ }
24
+
25
+ SAxisLabel[xDirection] {
26
+ text-anchor: var(--xDirection);
27
+ }
28
+
29
+ SAxisLabel[yDirection] {
30
+ dominant-baseline: var(--yDirection);
31
+ }
32
+
33
+ SPolygon {
34
+ fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
35
+ opacity: 0.2;
36
+ }
37
+
38
+ SPolygon[color] {
39
+ fill: var(--color);
40
+ }
41
+
42
+ SPolygon[pattern][color] {
43
+ fill: var(--pattern);
44
+ stroke: var(--color);
45
+ stroke-width: 1px;
46
+ }
47
+
48
+ SPolygonDot {
49
+ stroke-width: 2px;
50
+ stroke: var(--intergalactic-chart-grid-border, #ffffff);
51
+ r: 6px;
52
+ fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
53
+ }
54
+
55
+ SPolygonDot[transparent] {
56
+ opacity: 0.3;
57
+ }
58
+
59
+ SPolygonDot[color] {
60
+ fill: var(--color);
61
+ }
62
+
63
+ SPolygonLine {
64
+ stroke: var(--intergalactic-chart-palette-order-1, #2bb3ff);
65
+ stroke-width: 3;
66
+ fill: transparent;
67
+ }
68
+
69
+ SPolygonLine[transparent] {
70
+ opacity: 0.3;
71
+ }
72
+
73
+ SPolygonLine[color] {
74
+ stroke: var(--color);
75
+ }
76
+
77
+ SPieRect {
78
+ outline: none;
79
+ fill: var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3));
80
+ }
@@ -0,0 +1,54 @@
1
+ @import './var.css';
2
+
3
+ SRadian {
4
+ cursor: pointer;
5
+ fill: var(--intergalactic-text-large-info, #008ff8);
6
+ }
7
+
8
+ SLine {
9
+ stroke: var(--intergalactic-text-large-info, #008ff8);
10
+ }
11
+
12
+ SLine[stroke] {
13
+ stroke: var(--stroke);
14
+ }
15
+
16
+ SLine[transparent] {
17
+ opacity: 0.3;
18
+ }
19
+
20
+ SCap {
21
+ transition: r 0.1s;
22
+ }
23
+
24
+ SCap[pattern] {
25
+ stroke: var(--intergalactic-chart-grid-border, #ffffff);
26
+ stroke-width: 1px;
27
+ }
28
+
29
+ SCap[transparent] {
30
+ opacity: 0.3;
31
+ }
32
+
33
+ SIcon[transparent] {
34
+ opacity: 0.3;
35
+ }
36
+
37
+ SLabel {
38
+ fill: var(--color);
39
+ }
40
+
41
+ SLabel[transparent] {
42
+ opacity: 0.3;
43
+ }
44
+
45
+ SRadian:hover SLabel {
46
+ cursor: pointer;
47
+ filter: brightness(0.6);
48
+ }
49
+
50
+ @media (prefers-reduced-motion) {
51
+ SLineCap {
52
+ transition: none;
53
+ }
54
+ }
@@ -0,0 +1,43 @@
1
+ SReferenceLine {
2
+ fill: none;
3
+ stroke: var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6);
4
+ }
5
+
6
+ STitle {
7
+ font-size: var(--intergalactic-fs-100, 12px);
8
+ fill: var(--intergalactic-chart-grid-text-label, #6c6e79);
9
+ transform-origin: var(--transform-origin);
10
+ }
11
+
12
+ STitle[position='top'] {
13
+ text-anchor: middle;
14
+ }
15
+
16
+ STitle[position='bottom'] {
17
+ text-anchor: middle;
18
+ dominant-baseline: hanging;
19
+ }
20
+
21
+ STitle[position='right'] {
22
+ transform: rotate(-90deg);
23
+ dominant-baseline: middle;
24
+ text-anchor: middle;
25
+ }
26
+
27
+ STitle[position='left'] {
28
+ transform: rotate(-90deg);
29
+ text-anchor: middle;
30
+ dominant-baseline: middle;
31
+ }
32
+
33
+ SBackground {
34
+ fill: var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2));
35
+ }
36
+ SStripes {
37
+ fill: var(--fill);
38
+ }
39
+
40
+ SStripesPatternPath {
41
+ stroke: var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));
42
+ stroke-width: 1px;
43
+ }
@@ -0,0 +1,41 @@
1
+ @import './var.css';
2
+
3
+ SScatterPlot {
4
+ fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
5
+ transition-property: cx, cy;
6
+ transition-duration: var(--duration);
7
+ transition-timing-function: ease-in-out;
8
+ opacity: 0.5;
9
+
10
+ &:hover {
11
+ opacity: 0.8;
12
+ }
13
+ }
14
+
15
+ SScatterPlot[color] {
16
+ fill: var(--color);
17
+ }
18
+
19
+ SScatterPlot[pattern][color] {
20
+ fill: var(--pattern);
21
+ stroke: var(--color);
22
+ stroke-width: 1px;
23
+ }
24
+
25
+ SScatterPlot[transparent] {
26
+ opacity: 0.3;
27
+ }
28
+
29
+ SValue {
30
+ text-anchor: middle;
31
+ font-size: var(--intergalactic-fs-50, 10px);
32
+ stroke: var(--intergalactic-chart-palette-order-9, #008ff8);
33
+ }
34
+
35
+ SValue[color] {
36
+ stroke: var(--color);
37
+ }
38
+
39
+ SValue[transparent] {
40
+ opacity: 0.3;
41
+ }
@@ -0,0 +1,42 @@
1
+ @import './var.css';
2
+
3
+ STooltip {
4
+ font-size: var(--intergalactic-fs-100, 12px);
5
+ line-height: var(--intergalactic-lh-100, 133%);
6
+ position: relative;
7
+ background-color: var(--intergalactic-bg-primary-neutral, #ffffff);
8
+ border-radius: var(--intergalactic-popper-rounded, 6px);
9
+ border: 1px solid var(--intergalactic-border-secondary, #e0e1e9);
10
+ box-sizing: border-box;
11
+ box-shadow: var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));
12
+ padding: var(--intergalactic-spacing-3x, 12px);
13
+ }
14
+
15
+ STitle {
16
+ color: var(--intergalactic-text-secondary, #6c6e79);
17
+ margin-bottom: var(--intergalactic-spacing-2x, 8px);
18
+ }
19
+
20
+ SDotGroup {
21
+ display: flex;
22
+ align-items: center;
23
+ }
24
+
25
+ SDot {
26
+ margin-right: var(--intergalactic-spacing-2x, 8px);
27
+ }
28
+
29
+ SDotCircle[color] {
30
+ background-color: var(--color);
31
+ width: 8px;
32
+ height: 8px;
33
+ border-radius: 50%;
34
+ }
35
+
36
+
37
+ SFooter {
38
+ background: var(--intergalactic-bg-secondary-neutral, #f4f5f9);
39
+ padding: var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);
40
+ border-radius: 0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);
41
+ margin: var(--intergalactic-spacing-3x, 12px) calc(-1 * var(--intergalactic-spacing-3x, 12px)) calc(-1 * var(--intergalactic-spacing-3x, 12px));
42
+ }
@@ -0,0 +1,48 @@
1
+ @import './var.css';
2
+
3
+ SCircle {
4
+ fill: var(--intergalactic-chart-palette-order-2, #59ddaa);
5
+ stroke: var(--intergalactic-chart-grid-border, #ffffff);
6
+ stroke-width: 2px;
7
+ fill-opacity: 0.5;
8
+ transition-property: cx, cy;
9
+ transition-duration: var(--duration);
10
+ transition-timing-function: ease-in-out;
11
+
12
+ &:hover {
13
+ fill-opacity: 0.7;
14
+ }
15
+ }
16
+
17
+ SCircle[color] {
18
+ fill: var(--color);
19
+ }
20
+
21
+ SCircle[pattern][color] {
22
+ fill: var(--pattern);
23
+ fill-opacity: 0.7;
24
+ stroke: var(--color);
25
+ stroke-width: 1px;
26
+
27
+ &:hover {
28
+ fill-opacity: 0.85;
29
+ }
30
+ }
31
+
32
+ SCircle[transparent] {
33
+ opacity: 0.3;
34
+ }
35
+
36
+ SIntersection {
37
+ stroke: var(--intergalactic-chart-grid-border, #ffffff);
38
+ stroke-width: 2px;
39
+ fill-opacity: 0;
40
+
41
+ &:hover {
42
+ fill-opacity: 0.1;
43
+ }
44
+ }
45
+
46
+ SIntersection[transparent] {
47
+ opacity: 0.3;
48
+ }
@@ -0,0 +1,31 @@
1
+ import en from "./en.json.mjs";
2
+ import es from "./es.json.mjs";
3
+ import fr from "./fr.json.mjs";
4
+ import it from "./it.json.mjs";
5
+ import ja from "./ja.json.mjs";
6
+ import ko from "./ko.json.mjs";
7
+ import nl from "./nl.json.mjs";
8
+ import pt from "./pt.json.mjs";
9
+ import tr from "./tr.json.mjs";
10
+ import vi from "./vi.json.mjs";
11
+ import zh from "./zh.json.mjs";
12
+ import pl from "./pl.json.mjs";
13
+ import sv from "./sv.json.mjs";
14
+ var localizedMessages = {
15
+ en,
16
+ es,
17
+ fr,
18
+ it,
19
+ ja,
20
+ ko,
21
+ nl,
22
+ pt,
23
+ tr,
24
+ vi,
25
+ zh,
26
+ pl,
27
+ sv
28
+ };
29
+ export {
30
+ localizedMessages
31
+ };
@@ -0,0 +1,12 @@
1
+ const trend = "Trend";
2
+ const legendForChart = "Chart legend";
3
+ const en = {
4
+ "d3Chart.Plot:aria-label": "Chart",
5
+ trend,
6
+ legendForChart
7
+ };
8
+ export {
9
+ en as default,
10
+ legendForChart,
11
+ trend
12
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Tendencia";
2
+ const legendForChart = "Leyenda del gráfico";
3
+ const es = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ es as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Tendance";
2
+ const legendForChart = "Légende du diagramme";
3
+ const fr = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ fr as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Trend";
2
+ const legendForChart = "Legenda del grafico";
3
+ const it = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ it as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "トレンド";
2
+ const legendForChart = "チャートの凡例";
3
+ const ja = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ ja as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "추세";
2
+ const legendForChart = "차트 범례";
3
+ const ko = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ ko as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Trend";
2
+ const legendForChart = "Legenda van grafiek";
3
+ const nl = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ nl as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Trend";
2
+ const legendForChart = "Legenda wykresu";
3
+ const pl = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ pl as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Tendência";
2
+ const legendForChart = "Legenda do gráfico";
3
+ const pt = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ pt as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Trend";
2
+ const legendForChart = "Diagramförklaring";
3
+ const sv = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ sv as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Trend";
2
+ const legendForChart = "Chart legend";
3
+ const tr = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ tr as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "Xu hướng";
2
+ const legendForChart = "Chú thích biểu đồ";
3
+ const vi = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ vi as default,
9
+ legendForChart,
10
+ trend
11
+ };
@@ -0,0 +1,11 @@
1
+ const trend = "趋势";
2
+ const legendForChart = "图例";
3
+ const zh = {
4
+ trend,
5
+ legendForChart
6
+ };
7
+ export {
8
+ zh as default,
9
+ legendForChart,
10
+ trend
11
+ };