@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.
- package/CHANGELOG.md +6 -0
- package/lib/cjs/Area.js +14 -12
- package/lib/cjs/Area.js.map +1 -1
- package/lib/cjs/Axis.js +17 -15
- package/lib/cjs/Axis.js.map +1 -1
- package/lib/cjs/Bar.js +19 -17
- package/lib/cjs/Bar.js.map +1 -1
- package/lib/cjs/Bubble.js +15 -13
- package/lib/cjs/Bubble.js.map +1 -1
- package/lib/cjs/CompactHorizontalBar.js +19 -17
- package/lib/cjs/CompactHorizontalBar.js.map +1 -1
- package/lib/cjs/Donut.js +12 -10
- package/lib/cjs/Donut.js.map +1 -1
- package/lib/cjs/Dots.js +11 -9
- package/lib/cjs/Dots.js.map +1 -1
- package/lib/cjs/HorizontalBar.js +19 -17
- package/lib/cjs/HorizontalBar.js.map +1 -1
- package/lib/cjs/Hover.js +6 -4
- package/lib/cjs/Hover.js.map +1 -1
- package/lib/cjs/Line.js +12 -10
- package/lib/cjs/Line.js.map +1 -1
- package/lib/cjs/Plot.js +6 -4
- package/lib/cjs/Plot.js.map +1 -1
- package/lib/cjs/Radar.js +22 -20
- package/lib/cjs/Radar.js.map +1 -1
- package/lib/cjs/RadialTree.js +15 -13
- package/lib/cjs/RadialTree.js.map +1 -1
- package/lib/cjs/Reference.js +15 -13
- package/lib/cjs/Reference.js.map +1 -1
- package/lib/cjs/ScatterPlot.js +12 -10
- package/lib/cjs/ScatterPlot.js.map +1 -1
- package/lib/cjs/Tooltip.js +12 -10
- package/lib/cjs/Tooltip.js.map +1 -1
- package/lib/cjs/Venn.js +12 -10
- package/lib/cjs/Venn.js.map +1 -1
- package/lib/cjs/a11y/PlotA11yModule.js +5 -3
- package/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
- package/lib/cjs/a11y/PlotA11yView.js +5 -3
- package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +7 -5
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +20 -18
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +9 -7
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
- package/lib/es6/Area.js +14 -12
- package/lib/es6/Area.js.map +1 -1
- package/lib/es6/Axis.js +17 -15
- package/lib/es6/Axis.js.map +1 -1
- package/lib/es6/Bar.js +19 -17
- package/lib/es6/Bar.js.map +1 -1
- package/lib/es6/Bubble.js +15 -13
- package/lib/es6/Bubble.js.map +1 -1
- package/lib/es6/CompactHorizontalBar.js +19 -17
- package/lib/es6/CompactHorizontalBar.js.map +1 -1
- package/lib/es6/Donut.js +12 -10
- package/lib/es6/Donut.js.map +1 -1
- package/lib/es6/Dots.js +11 -9
- package/lib/es6/Dots.js.map +1 -1
- package/lib/es6/HorizontalBar.js +19 -17
- package/lib/es6/HorizontalBar.js.map +1 -1
- package/lib/es6/Hover.js +6 -4
- package/lib/es6/Hover.js.map +1 -1
- package/lib/es6/Line.js +12 -10
- package/lib/es6/Line.js.map +1 -1
- package/lib/es6/Plot.js +6 -4
- package/lib/es6/Plot.js.map +1 -1
- package/lib/es6/Radar.js +22 -20
- package/lib/es6/Radar.js.map +1 -1
- package/lib/es6/RadialTree.js +15 -13
- package/lib/es6/RadialTree.js.map +1 -1
- package/lib/es6/Reference.js +15 -13
- package/lib/es6/Reference.js.map +1 -1
- package/lib/es6/ScatterPlot.js +12 -10
- package/lib/es6/ScatterPlot.js.map +1 -1
- package/lib/es6/Tooltip.js +12 -10
- package/lib/es6/Tooltip.js.map +1 -1
- package/lib/es6/Venn.js +12 -10
- package/lib/es6/Venn.js.map +1 -1
- package/lib/es6/a11y/PlotA11yModule.js +5 -3
- package/lib/es6/a11y/PlotA11yModule.js.map +1 -1
- package/lib/es6/a11y/PlotA11yView.js +5 -3
- package/lib/es6/a11y/PlotA11yView.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +7 -5
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +20 -18
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +9 -7
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
- package/lib/esm/AnimatedClipPath.mjs +54 -0
- package/lib/esm/Area.mjs +189 -0
- package/lib/esm/Axis.mjs +406 -0
- package/lib/esm/Bar.mjs +201 -0
- package/lib/esm/Bubble.mjs +216 -0
- package/lib/esm/CompactHorizontalBar.mjs +518 -0
- package/lib/esm/Donut.mjs +415 -0
- package/lib/esm/Dots.mjs +120 -0
- package/lib/esm/GroupBar.mjs +94 -0
- package/lib/esm/HorizontalBar.mjs +181 -0
- package/lib/esm/Hover.mjs +217 -0
- package/lib/esm/Line.mjs +199 -0
- package/lib/esm/Pattern.mjs +520 -0
- package/lib/esm/Plot.mjs +137 -0
- package/lib/esm/Radar.mjs +706 -0
- package/lib/esm/RadialTree.mjs +565 -0
- package/lib/esm/Reference.mjs +243 -0
- package/lib/esm/ResponsiveContainer.mjs +99 -0
- package/lib/esm/ScatterPlot.mjs +194 -0
- package/lib/esm/StackBar.mjs +177 -0
- package/lib/esm/StackedArea.mjs +84 -0
- package/lib/esm/Tooltip.mjs +255 -0
- package/lib/esm/Venn.mjs +234 -0
- package/lib/esm/a11y/DataAccessibilityTable.mjs +100 -0
- package/lib/esm/a11y/PlotA11yModule.mjs +117 -0
- package/lib/esm/a11y/PlotA11yView.mjs +146 -0
- package/lib/esm/a11y/bezier.mjs +32 -0
- package/lib/esm/a11y/focus.mjs +44 -0
- package/lib/esm/a11y/hints.mjs +122 -0
- package/lib/esm/a11y/insights.mjs +700 -0
- package/lib/esm/a11y/intl.mjs +17 -0
- package/lib/esm/a11y/locale.mjs +39 -0
- package/lib/esm/a11y/serialize.mjs +363 -0
- package/lib/esm/a11y/summarize.mjs +14 -0
- package/lib/esm/a11y/translations/module/__intergalactic-dynamic-locales.mjs +33 -0
- package/lib/esm/a11y/translations/module/de.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/en.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/es.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/fr.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/it.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/ja.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/ko.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/nl.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/pl.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/pt.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/sv.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/tr.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/vi.json.mjs +14 -0
- package/lib/esm/a11y/translations/module/zh.json.mjs +14 -0
- package/lib/esm/a11y/translations/view/__intergalactic-dynamic-locales.mjs +33 -0
- package/lib/esm/a11y/translations/view/de.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/en.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/es.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/fr.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/it.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/ja.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/ko.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/nl.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/pl.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/pt.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/sv.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/tr.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/vi.json.mjs +48 -0
- package/lib/esm/a11y/translations/view/zh.json.mjs +48 -0
- package/lib/esm/color.mjs +127 -0
- package/lib/esm/component/Chart/AbstractChart.mjs +408 -0
- package/lib/esm/component/Chart/AreaChart.mjs +145 -0
- package/lib/esm/component/Chart/BarChart.mjs +240 -0
- package/lib/esm/component/Chart/BubbleChart.mjs +135 -0
- package/lib/esm/component/Chart/CigaretteChart.mjs +294 -0
- package/lib/esm/component/Chart/CompactHorizontalBarChart.mjs +113 -0
- package/lib/esm/component/Chart/DonutChart.mjs +113 -0
- package/lib/esm/component/Chart/HistogramChart.mjs +166 -0
- package/lib/esm/component/Chart/LineChart.mjs +131 -0
- package/lib/esm/component/Chart/RadarChart.mjs +115 -0
- package/lib/esm/component/Chart/ScatterPlotChart.mjs +144 -0
- package/lib/esm/component/Chart/VennChart.mjs +141 -0
- package/lib/esm/component/Chart/index.mjs +27 -0
- package/lib/esm/component/ChartLegend/BaseLegend.mjs +91 -0
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +86 -0
- package/lib/esm/component/ChartLegend/LegendFlex/legend-flex.shadow.css +12 -0
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +240 -0
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.type.mjs +4 -0
- package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +129 -0
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +90 -0
- package/lib/esm/component/ChartLegend/LegendTable/legend-table.shadow.css +19 -0
- package/lib/esm/component/ChartLegend/index.mjs +5 -0
- package/lib/esm/component/Cigarette/Cigarette.mjs +139 -0
- package/lib/esm/component/StackGroupBar/StackGroupBar.mjs +141 -0
- package/lib/esm/createElement.mjs +104 -0
- package/lib/esm/index.mjs +70 -0
- package/lib/esm/style/area.shadow.css +50 -0
- package/lib/esm/style/axis.shadow.css +88 -0
- package/lib/esm/style/bar.shadow.css +66 -0
- package/lib/esm/style/bubble.shadow.css +64 -0
- package/lib/esm/style/donut.shadow.css +36 -0
- package/lib/esm/style/dot.shadow.css +27 -0
- package/lib/esm/style/hover.shadow.css +9 -0
- package/lib/esm/style/line.shadow.css +43 -0
- package/lib/esm/style/plot.shadow.css +19 -0
- package/lib/esm/style/plotA11yModule.shadow.css +12 -0
- package/lib/esm/style/plotA11yView.shadow.css +39 -0
- package/lib/esm/style/radar.shadow.css +80 -0
- package/lib/esm/style/radial-tree.shadow.css +54 -0
- package/lib/esm/style/reference.shadow.css +43 -0
- package/lib/esm/style/scatterplot.shadow.css +41 -0
- package/lib/esm/style/tooltip.shadow.css +42 -0
- package/lib/esm/style/venn.shadow.css +48 -0
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +31 -0
- package/lib/esm/translations/en.json.mjs +12 -0
- package/lib/esm/translations/es.json.mjs +11 -0
- package/lib/esm/translations/fr.json.mjs +11 -0
- package/lib/esm/translations/it.json.mjs +11 -0
- package/lib/esm/translations/ja.json.mjs +11 -0
- package/lib/esm/translations/ko.json.mjs +11 -0
- package/lib/esm/translations/nl.json.mjs +11 -0
- package/lib/esm/translations/pl.json.mjs +11 -0
- package/lib/esm/translations/pt.json.mjs +11 -0
- package/lib/esm/translations/sv.json.mjs +11 -0
- package/lib/esm/translations/tr.json.mjs +11 -0
- package/lib/esm/translations/vi.json.mjs +11 -0
- package/lib/esm/translations/zh.json.mjs +11 -0
- package/lib/esm/utils.mjs +266 -0
- package/package.json +11 -11
- 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,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
|
+
};
|