@semcore/d3-chart 16.5.0 → 16.6.0-prerelease.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/CHANGELOG.md +13 -0
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +15 -15
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +20 -15
- package/lib/cjs/Bubble.js.map +1 -1
- package/lib/cjs/CompactHorizontalBar.js +16 -16
- package/lib/cjs/Donut.js +9 -9
- package/lib/cjs/Dots.js +8 -8
- package/lib/cjs/HorizontalBar.js +16 -16
- package/lib/cjs/Hover.js +3 -3
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +3 -3
- package/lib/cjs/Radar.js +19 -19
- package/lib/cjs/RadialTree.js +12 -12
- package/lib/cjs/Reference.js +12 -12
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +9 -9
- package/lib/cjs/Venn.js +9 -9
- package/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/lib/cjs/component/Chart/AbstractChart.js +9 -23
- package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.js +252 -90
- package/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/cjs/style/bubble.shadow.css +4 -0
- package/lib/cjs/utils.js +3 -2
- package/lib/cjs/utils.js.map +1 -1
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +15 -15
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +20 -15
- package/lib/es6/Bubble.js.map +1 -1
- package/lib/es6/CompactHorizontalBar.js +16 -16
- package/lib/es6/Donut.js +9 -9
- package/lib/es6/Dots.js +8 -8
- package/lib/es6/HorizontalBar.js +16 -16
- package/lib/es6/Hover.js +3 -3
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +3 -3
- package/lib/es6/Radar.js +19 -19
- package/lib/es6/RadialTree.js +12 -12
- package/lib/es6/Reference.js +12 -12
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +9 -9
- package/lib/es6/Venn.js +9 -9
- package/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/lib/es6/a11y/PlotA11yView.js +2 -2
- package/lib/es6/component/Chart/AbstractChart.js +9 -23
- package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/lib/es6/component/Chart/CigaretteChart.js +254 -92
- package/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/es6/component/Chart/CigaretteChart.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/style/bubble.shadow.css +4 -0
- package/lib/es6/utils.js +3 -2
- package/lib/es6/utils.js.map +1 -1
- package/lib/esm/Area.mjs +12 -12
- package/lib/esm/Axis.mjs +16 -16
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +20 -17
- package/lib/esm/CompactHorizontalBar.mjs +17 -17
- package/lib/esm/Donut.mjs +10 -10
- package/lib/esm/Dots.mjs +9 -9
- package/lib/esm/HorizontalBar.mjs +17 -17
- package/lib/esm/Hover.mjs +4 -4
- package/lib/esm/Line.mjs +10 -10
- package/lib/esm/Plot.mjs +4 -4
- package/lib/esm/Radar.mjs +20 -20
- package/lib/esm/RadialTree.mjs +13 -13
- package/lib/esm/Reference.mjs +13 -13
- package/lib/esm/ScatterPlot.mjs +10 -10
- package/lib/esm/Tooltip.mjs +10 -10
- package/lib/esm/Venn.mjs +10 -10
- package/lib/esm/a11y/PlotA11yModule.mjs +3 -3
- package/lib/esm/a11y/PlotA11yView.mjs +3 -3
- package/lib/esm/component/Chart/AbstractChart.mjs +10 -24
- package/lib/esm/component/Chart/CigaretteChart.mjs +210 -61
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +18 -18
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
- package/lib/esm/style/bubble.shadow.css +4 -0
- package/lib/esm/utils.mjs +2 -2
- package/lib/types/component/Chart/AbstractChart.d.ts +4 -7
- package/lib/types/component/Chart/CigaretteChart.type.d.ts +7 -4
- package/package.json +6 -6
|
@@ -16,26 +16,26 @@ var style = (
|
|
|
16
16
|
/*__reshadow_css_start__*/
|
|
17
17
|
(sstyled.insert(
|
|
18
18
|
/*__inner_css_start__*/
|
|
19
|
-
".
|
|
19
|
+
".___SBar_bdlu1_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_bdlu1);transition-timing-function:ease-in-out}.___SBar_bdlu1_gg_.__color_bdlu1_gg_{fill:var(--color_bdlu1)}.___SBar_bdlu1_gg_.__pattern_bdlu1_gg_.__color_bdlu1_gg_{fill:var(--pattern_bdlu1);stroke:var(--color_bdlu1);stroke-width:1px}.___SBar_bdlu1_gg_.__hide_bdlu1_gg_{display:none}.___SBar_bdlu1_gg_.__transparent_bdlu1_gg_{opacity:.3}.___SBackground_bdlu1_gg_.__onClick_bdlu1_gg_,.___SBar_bdlu1_gg_.__onClick_bdlu1_gg_{cursor:pointer}.___SBackground_bdlu1_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_bdlu1_gg_{display:flex;justify-content:space-between}.___SBarLabel_bdlu1_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_bdlu1_gg_,.___SBarPercent_bdlu1_gg_,.___SBarValue_bdlu1_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_bdlu1_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_bdlu1_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_bdlu1_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
20
20
|
/*__inner_css_end__*/
|
|
21
|
-
"
|
|
21
|
+
"bdlu1_gg_"
|
|
22
22
|
), /*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SBar": "
|
|
25
|
-
"--duration": "--
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_pattern": "
|
|
29
|
-
"--pattern": "--
|
|
30
|
-
"_hide": "
|
|
31
|
-
"_transparent": "
|
|
32
|
-
"_onClick": "
|
|
33
|
-
"__SBackground": "
|
|
34
|
-
"__SBarAnnotation": "
|
|
35
|
-
"__SBarLabel": "
|
|
36
|
-
"__SBarPercent": "
|
|
37
|
-
"__SBarValue": "
|
|
38
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
24
|
+
"__SBar": "___SBar_bdlu1_gg_",
|
|
25
|
+
"--duration": "--duration_bdlu1",
|
|
26
|
+
"_color": "__color_bdlu1_gg_",
|
|
27
|
+
"--color": "--color_bdlu1",
|
|
28
|
+
"_pattern": "__pattern_bdlu1_gg_",
|
|
29
|
+
"--pattern": "--pattern_bdlu1",
|
|
30
|
+
"_hide": "__hide_bdlu1_gg_",
|
|
31
|
+
"_transparent": "__transparent_bdlu1_gg_",
|
|
32
|
+
"_onClick": "__onClick_bdlu1_gg_",
|
|
33
|
+
"__SBackground": "___SBackground_bdlu1_gg_",
|
|
34
|
+
"__SBarAnnotation": "___SBarAnnotation_bdlu1_gg_",
|
|
35
|
+
"__SBarLabel": "___SBarLabel_bdlu1_gg_",
|
|
36
|
+
"__SBarPercent": "___SBarPercent_bdlu1_gg_",
|
|
37
|
+
"__SBarValue": "___SBarValue_bdlu1_gg_",
|
|
38
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_bdlu1_gg_"
|
|
39
39
|
})
|
|
40
40
|
);
|
|
41
41
|
var MIN_WIDTH = 2;
|
package/lib/esm/Hover.mjs
CHANGED
|
@@ -18,13 +18,13 @@ var style = (
|
|
|
18
18
|
/*__reshadow_css_start__*/
|
|
19
19
|
(sstyled.insert(
|
|
20
20
|
/*__inner_css_start__*/
|
|
21
|
-
".
|
|
21
|
+
".___SHoverLine_7h3de_gg_,.___SHoverLine_7h3de_gg_:focus-visible{outline:0;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_7h3de_gg_,.___SHoverRect_7h3de_gg_:focus-visible{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
22
22
|
/*__inner_css_end__*/
|
|
23
|
-
"
|
|
23
|
+
"7h3de_gg_"
|
|
24
24
|
), /*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SHoverLine": "
|
|
27
|
-
"__SHoverRect": "
|
|
26
|
+
"__SHoverLine": "___SHoverLine_7h3de_gg_",
|
|
27
|
+
"__SHoverRect": "___SHoverRect_7h3de_gg_"
|
|
28
28
|
})
|
|
29
29
|
);
|
|
30
30
|
var Hover = /* @__PURE__ */ (function(_Component) {
|
package/lib/esm/Line.mjs
CHANGED
|
@@ -19,19 +19,19 @@ var style = (
|
|
|
19
19
|
/*__reshadow_css_start__*/
|
|
20
20
|
(sstyled.insert(
|
|
21
21
|
/*__inner_css_start__*/
|
|
22
|
-
".
|
|
22
|
+
".___SLine_1eh64_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_1eh64);transition-timing-function:ease-in-out}.___SLine_1eh64_gg_.__color_1eh64_gg_{stroke:var(--color_1eh64)}.___SLine_1eh64_gg_.__hide_1eh64_gg_{display:none}.___SLine_1eh64_gg_.__transparent_1eh64_gg_{opacity:.3}.___SNull_1eh64_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_1eh64_gg_.__hide_1eh64_gg_{display:none}.___SLineArea_1eh64_gg_{transition-property:d;transition-duration:var(--duration_1eh64);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_1eh64_gg_.__color_1eh64_gg_{fill:var(--color_1eh64)}",
|
|
23
23
|
/*__inner_css_end__*/
|
|
24
|
-
"
|
|
24
|
+
"1eh64_gg_"
|
|
25
25
|
), /*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SLine": "
|
|
28
|
-
"--duration": "--
|
|
29
|
-
"_color": "
|
|
30
|
-
"--color": "--
|
|
31
|
-
"_hide": "
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SNull": "
|
|
34
|
-
"__SLineArea": "
|
|
27
|
+
"__SLine": "___SLine_1eh64_gg_",
|
|
28
|
+
"--duration": "--duration_1eh64",
|
|
29
|
+
"_color": "__color_1eh64_gg_",
|
|
30
|
+
"--color": "--color_1eh64",
|
|
31
|
+
"_hide": "__hide_1eh64_gg_",
|
|
32
|
+
"_transparent": "__transparent_1eh64_gg_",
|
|
33
|
+
"__SNull": "___SNull_1eh64_gg_",
|
|
34
|
+
"__SLineArea": "___SLineArea_1eh64_gg_"
|
|
35
35
|
})
|
|
36
36
|
);
|
|
37
37
|
var LineRoot = /* @__PURE__ */ (function(_Component) {
|
package/lib/esm/Plot.mjs
CHANGED
|
@@ -21,13 +21,13 @@ var style = (
|
|
|
21
21
|
/*__reshadow_css_start__*/
|
|
22
22
|
(sstyled.insert(
|
|
23
23
|
/*__inner_css_start__*/
|
|
24
|
-
".
|
|
24
|
+
".___SPlot_t4rh7_gg_{overflow:hidden}.___SPlot_t4rh7_gg_:focus{outline:0}.___SPlot_t4rh7_gg_:active{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_t4rh7_gg_.__keyboardFocused_t4rh7_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, #008ff8);outline-style:solid;outline-width:2px;outline-offset:2px;transition-duration:calc(var(--intergalactic-duration-extra-fast, 100)*1ms);transition-timing-function:ease-in-out;transition-property:outline-color,outline-width,outline-offset;border-radius:var(--intergalactic-surface-rounded, 6px)}",
|
|
25
25
|
/*__inner_css_end__*/
|
|
26
|
-
"
|
|
26
|
+
"t4rh7_gg_"
|
|
27
27
|
), /*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SPlot": "
|
|
30
|
-
"_keyboardFocused": "
|
|
29
|
+
"__SPlot": "___SPlot_t4rh7_gg_",
|
|
30
|
+
"_keyboardFocused": "__keyboardFocused_t4rh7_gg_"
|
|
31
31
|
})
|
|
32
32
|
);
|
|
33
33
|
var PlotRoot = /* @__PURE__ */ (function(_Component) {
|
package/lib/esm/Radar.mjs
CHANGED
|
@@ -23,29 +23,29 @@ var style = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
(sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
".
|
|
26
|
+
".___SAxisLine_t7iw1_gg_,.___SAxisTick_t7iw1_gg_,.___SAxis_t7iw1_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_t7iw1_gg_,.___SAxisTick_t7iw1_gg_{stroke-dasharray:2}.___SAxisLine_t7iw1_gg_.__active_t7iw1_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_t7iw1_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_t7iw1_gg_.__xDirection_t7iw1_gg_{text-anchor:var(--xDirection_t7iw1)}.___SAxisLabel_t7iw1_gg_.__yDirection_t7iw1_gg_{dominant-baseline:var(--yDirection_t7iw1)}.___SPolygonDot_t7iw1_gg_,.___SPolygon_t7iw1_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_t7iw1_gg_{opacity:.2}.___SPolygon_t7iw1_gg_.__color_t7iw1_gg_{fill:var(--color_t7iw1)}.___SPolygon_t7iw1_gg_.__pattern_t7iw1_gg_.__color_t7iw1_gg_{fill:var(--pattern_t7iw1);stroke:var(--color_t7iw1);stroke-width:1px}.___SPolygonDot_t7iw1_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_t7iw1_gg_.__transparent_t7iw1_gg_{opacity:.3}.___SPolygonDot_t7iw1_gg_.__color_t7iw1_gg_{fill:var(--color_t7iw1)}.___SPolygonLine_t7iw1_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_t7iw1_gg_.__transparent_t7iw1_gg_{opacity:.3}.___SPolygonLine_t7iw1_gg_.__color_t7iw1_gg_{stroke:var(--color_t7iw1)}.___SPieRect_t7iw1_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
|
-
"
|
|
28
|
+
"t7iw1_gg_"
|
|
29
29
|
), /*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SAxis": "
|
|
32
|
-
"__SAxisLine": "
|
|
33
|
-
"__SAxisTick": "
|
|
34
|
-
"_active": "
|
|
35
|
-
"__SAxisLabel": "
|
|
36
|
-
"_xDirection": "
|
|
37
|
-
"--xDirection": "--
|
|
38
|
-
"_yDirection": "
|
|
39
|
-
"--yDirection": "--
|
|
40
|
-
"__SPolygon": "
|
|
41
|
-
"_color": "
|
|
42
|
-
"--color": "--
|
|
43
|
-
"_pattern": "
|
|
44
|
-
"--pattern": "--
|
|
45
|
-
"__SPolygonDot": "
|
|
46
|
-
"_transparent": "
|
|
47
|
-
"__SPolygonLine": "
|
|
48
|
-
"__SPieRect": "
|
|
31
|
+
"__SAxis": "___SAxis_t7iw1_gg_",
|
|
32
|
+
"__SAxisLine": "___SAxisLine_t7iw1_gg_",
|
|
33
|
+
"__SAxisTick": "___SAxisTick_t7iw1_gg_",
|
|
34
|
+
"_active": "__active_t7iw1_gg_",
|
|
35
|
+
"__SAxisLabel": "___SAxisLabel_t7iw1_gg_",
|
|
36
|
+
"_xDirection": "__xDirection_t7iw1_gg_",
|
|
37
|
+
"--xDirection": "--xDirection_t7iw1",
|
|
38
|
+
"_yDirection": "__yDirection_t7iw1_gg_",
|
|
39
|
+
"--yDirection": "--yDirection_t7iw1",
|
|
40
|
+
"__SPolygon": "___SPolygon_t7iw1_gg_",
|
|
41
|
+
"_color": "__color_t7iw1_gg_",
|
|
42
|
+
"--color": "--color_t7iw1",
|
|
43
|
+
"_pattern": "__pattern_t7iw1_gg_",
|
|
44
|
+
"--pattern": "--pattern_t7iw1",
|
|
45
|
+
"__SPolygonDot": "___SPolygonDot_t7iw1_gg_",
|
|
46
|
+
"_transparent": "__transparent_t7iw1_gg_",
|
|
47
|
+
"__SPolygonLine": "___SPolygonLine_t7iw1_gg_",
|
|
48
|
+
"__SPieRect": "___SPieRect_t7iw1_gg_"
|
|
49
49
|
})
|
|
50
50
|
);
|
|
51
51
|
var clampAngle = function clampAngle2(angle) {
|
package/lib/esm/RadialTree.mjs
CHANGED
|
@@ -23,22 +23,22 @@ var style = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
(sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
".
|
|
26
|
+
".___SRadian_1csu0_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1csu0_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1csu0_gg_.__stroke_1csu0_gg_{stroke:var(--stroke_1csu0)}.___SLine_1csu0_gg_.__transparent_1csu0_gg_{opacity:.3}.___SCap_1csu0_gg_{transition:r .1s}.___SCap_1csu0_gg_.__pattern_1csu0_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1csu0_gg_.__transparent_1csu0_gg_,.___SIcon_1csu0_gg_.__transparent_1csu0_gg_,.___SLabel_1csu0_gg_.__transparent_1csu0_gg_{opacity:.3}.___SLabel_1csu0_gg_{fill:var(--color_1csu0)}@media (hover:hover){.___SRadian_1csu0_gg_:hover .___SLabel_1csu0_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1csu0_gg_{transition:none}}",
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
|
-
"
|
|
28
|
+
"1csu0_gg_"
|
|
29
29
|
), /*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SRadian": "
|
|
32
|
-
"__SLine": "
|
|
33
|
-
"_stroke": "
|
|
34
|
-
"--stroke": "--
|
|
35
|
-
"_transparent": "
|
|
36
|
-
"__SCap": "
|
|
37
|
-
"_pattern": "
|
|
38
|
-
"__SIcon": "
|
|
39
|
-
"__SLabel": "
|
|
40
|
-
"--color": "--
|
|
41
|
-
"__SLineCap": "
|
|
31
|
+
"__SRadian": "___SRadian_1csu0_gg_",
|
|
32
|
+
"__SLine": "___SLine_1csu0_gg_",
|
|
33
|
+
"_stroke": "__stroke_1csu0_gg_",
|
|
34
|
+
"--stroke": "--stroke_1csu0",
|
|
35
|
+
"_transparent": "__transparent_1csu0_gg_",
|
|
36
|
+
"__SCap": "___SCap_1csu0_gg_",
|
|
37
|
+
"_pattern": "__pattern_1csu0_gg_",
|
|
38
|
+
"__SIcon": "___SIcon_1csu0_gg_",
|
|
39
|
+
"__SLabel": "___SLabel_1csu0_gg_",
|
|
40
|
+
"--color": "--color_1csu0",
|
|
41
|
+
"__SLineCap": "___SLineCap_1csu0_gg_"
|
|
42
42
|
})
|
|
43
43
|
);
|
|
44
44
|
var baseAngle = -Math.PI / 2;
|
package/lib/esm/Reference.mjs
CHANGED
|
@@ -15,22 +15,22 @@ var style = (
|
|
|
15
15
|
/*__reshadow_css_start__*/
|
|
16
16
|
(sstyled.insert(
|
|
17
17
|
/*__inner_css_start__*/
|
|
18
|
-
".
|
|
18
|
+
".___SReferenceLine_1am5a_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_1am5a_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1am5a)}.___STitle_1am5a_gg_._position_top_1am5a_gg_{text-anchor:middle}.___STitle_1am5a_gg_._position_bottom_1am5a_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1am5a_gg_._position_left_1am5a_gg_,.___STitle_1am5a_gg_._position_right_1am5a_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_1am5a_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_1am5a_gg_{fill:var(--fill_1am5a)}.___SStripesPatternPath_1am5a_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}",
|
|
19
19
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
20
|
+
"1am5a_gg_"
|
|
21
21
|
), /*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SReferenceLine": "
|
|
24
|
-
"__STitle": "
|
|
25
|
-
"--transform-origin": "--transform-
|
|
26
|
-
"_position_top": "
|
|
27
|
-
"_position_bottom": "
|
|
28
|
-
"_position_right": "
|
|
29
|
-
"_position_left": "
|
|
30
|
-
"__SBackground": "
|
|
31
|
-
"__SStripes": "
|
|
32
|
-
"--fill": "--
|
|
33
|
-
"__SStripesPatternPath": "
|
|
23
|
+
"__SReferenceLine": "___SReferenceLine_1am5a_gg_",
|
|
24
|
+
"__STitle": "___STitle_1am5a_gg_",
|
|
25
|
+
"--transform-origin": "--transform-origin_1am5a",
|
|
26
|
+
"_position_top": "_position_top_1am5a_gg_",
|
|
27
|
+
"_position_bottom": "_position_bottom_1am5a_gg_",
|
|
28
|
+
"_position_right": "_position_right_1am5a_gg_",
|
|
29
|
+
"_position_left": "_position_left_1am5a_gg_",
|
|
30
|
+
"__SBackground": "___SBackground_1am5a_gg_",
|
|
31
|
+
"__SStripes": "___SStripes_1am5a_gg_",
|
|
32
|
+
"--fill": "--fill_1am5a",
|
|
33
|
+
"__SStripesPatternPath": "___SStripesPatternPath_1am5a_gg_"
|
|
34
34
|
})
|
|
35
35
|
);
|
|
36
36
|
var side2direction = {
|
package/lib/esm/ScatterPlot.mjs
CHANGED
|
@@ -19,19 +19,19 @@ var style = (
|
|
|
19
19
|
/*__reshadow_css_start__*/
|
|
20
20
|
(sstyled.insert(
|
|
21
21
|
/*__inner_css_start__*/
|
|
22
|
-
".
|
|
22
|
+
".___SScatterPlot_1dk3f_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1dk3f);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1dk3f_gg_:hover{opacity:.8}}.___SScatterPlot_1dk3f_gg_.__color_1dk3f_gg_{fill:var(--color_1dk3f)}.___SScatterPlot_1dk3f_gg_.__pattern_1dk3f_gg_.__color_1dk3f_gg_{fill:var(--pattern_1dk3f);stroke:var(--color_1dk3f);stroke-width:1px}.___SScatterPlot_1dk3f_gg_.__transparent_1dk3f_gg_{opacity:.3}.___SValue_1dk3f_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1dk3f_gg_.__color_1dk3f_gg_{stroke:var(--color_1dk3f)}.___SValue_1dk3f_gg_.__transparent_1dk3f_gg_{opacity:.3}",
|
|
23
23
|
/*__inner_css_end__*/
|
|
24
|
-
"
|
|
24
|
+
"1dk3f_gg_"
|
|
25
25
|
), /*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SScatterPlot": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SValue": "
|
|
34
|
-
"--duration": "--
|
|
27
|
+
"__SScatterPlot": "___SScatterPlot_1dk3f_gg_",
|
|
28
|
+
"_color": "__color_1dk3f_gg_",
|
|
29
|
+
"--color": "--color_1dk3f",
|
|
30
|
+
"_pattern": "__pattern_1dk3f_gg_",
|
|
31
|
+
"--pattern": "--pattern_1dk3f",
|
|
32
|
+
"_transparent": "__transparent_1dk3f_gg_",
|
|
33
|
+
"__SValue": "___SValue_1dk3f_gg_",
|
|
34
|
+
"--duration": "--duration_1dk3f"
|
|
35
35
|
})
|
|
36
36
|
);
|
|
37
37
|
var ScatterPlotRoot = /* @__PURE__ */ (function(_Component) {
|
package/lib/esm/Tooltip.mjs
CHANGED
|
@@ -20,19 +20,19 @@ var style = (
|
|
|
20
20
|
/*__reshadow_css_start__*/
|
|
21
21
|
(sstyled.insert(
|
|
22
22
|
/*__inner_css_start__*/
|
|
23
|
-
".
|
|
23
|
+
".___STooltip_1wre6_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_1wre6_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_1wre6_gg_{display:flex;align-items:center}.___SDot_1wre6_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_1wre6_gg_.__color_1wre6_gg_{background-color:var(--color_1wre6);width:8px;height:8px;border-radius:50%}.___SFooter_1wre6_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}",
|
|
24
24
|
/*__inner_css_end__*/
|
|
25
|
-
"
|
|
25
|
+
"1wre6_gg_"
|
|
26
26
|
), /*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__STooltip": "
|
|
29
|
-
"__STitle": "
|
|
30
|
-
"__SDotGroup": "
|
|
31
|
-
"__SDot": "
|
|
32
|
-
"__SDotCircle": "
|
|
33
|
-
"_color": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"__SFooter": "
|
|
28
|
+
"__STooltip": "___STooltip_1wre6_gg_",
|
|
29
|
+
"__STitle": "___STitle_1wre6_gg_",
|
|
30
|
+
"__SDotGroup": "___SDotGroup_1wre6_gg_",
|
|
31
|
+
"__SDot": "___SDot_1wre6_gg_",
|
|
32
|
+
"__SDotCircle": "___SDotCircle_1wre6_gg_",
|
|
33
|
+
"_color": "__color_1wre6_gg_",
|
|
34
|
+
"--color": "--color_1wre6",
|
|
35
|
+
"__SFooter": "___SFooter_1wre6_gg_"
|
|
36
36
|
})
|
|
37
37
|
);
|
|
38
38
|
var TooltipDotRenderContext = /* @__PURE__ */ React.createContext({
|
package/lib/esm/Venn.mjs
CHANGED
|
@@ -22,19 +22,19 @@ var style = (
|
|
|
22
22
|
/*__reshadow_css_start__*/
|
|
23
23
|
(sstyled.insert(
|
|
24
24
|
/*__inner_css_start__*/
|
|
25
|
-
".
|
|
25
|
+
".___SCircle_gjugu_gg_,.___SIntersection_gjugu_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_gjugu_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_gjugu);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_gjugu_gg_:hover{fill-opacity:.7}}.___SCircle_gjugu_gg_.__color_gjugu_gg_{fill:var(--color_gjugu)}.___SCircle_gjugu_gg_.__pattern_gjugu_gg_.__color_gjugu_gg_{fill:var(--pattern_gjugu);fill-opacity:.7;stroke:var(--color_gjugu);stroke-width:1px}@media (hover:hover){.___SCircle_gjugu_gg_.__pattern_gjugu_gg_.__color_gjugu_gg_:hover{fill-opacity:.85}}.___SCircle_gjugu_gg_.__transparent_gjugu_gg_{opacity:.3}.___SIntersection_gjugu_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_gjugu_gg_:hover{fill-opacity:.1}}.___SIntersection_gjugu_gg_.__transparent_gjugu_gg_{opacity:.3}",
|
|
26
26
|
/*__inner_css_end__*/
|
|
27
|
-
"
|
|
27
|
+
"gjugu_gg_"
|
|
28
28
|
), /*__reshadow_css_end__*/
|
|
29
29
|
{
|
|
30
|
-
"__SCircle": "
|
|
31
|
-
"_color": "
|
|
32
|
-
"--color": "--
|
|
33
|
-
"_transparent": "
|
|
34
|
-
"__SIntersection": "
|
|
35
|
-
"--duration": "--
|
|
36
|
-
"_pattern": "
|
|
37
|
-
"--pattern": "--
|
|
30
|
+
"__SCircle": "___SCircle_gjugu_gg_",
|
|
31
|
+
"_color": "__color_gjugu_gg_",
|
|
32
|
+
"--color": "--color_gjugu",
|
|
33
|
+
"_transparent": "__transparent_gjugu_gg_",
|
|
34
|
+
"__SIntersection": "___SIntersection_gjugu_gg_",
|
|
35
|
+
"--duration": "--duration_gjugu",
|
|
36
|
+
"_pattern": "__pattern_gjugu_gg_",
|
|
37
|
+
"--pattern": "--pattern_gjugu"
|
|
38
38
|
})
|
|
39
39
|
);
|
|
40
40
|
var VennRoot = /* @__PURE__ */ (function(_Component) {
|
|
@@ -12,12 +12,12 @@ var styles = (
|
|
|
12
12
|
/*__reshadow_css_start__*/
|
|
13
13
|
(sstyled.insert(
|
|
14
14
|
/*__inner_css_start__*/
|
|
15
|
-
".
|
|
15
|
+
".___SPlotA11yModule_a990g_gg_{-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_a990g_gg_:focus{-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}",
|
|
16
16
|
/*__inner_css_end__*/
|
|
17
|
-
"
|
|
17
|
+
"a990g_gg_"
|
|
18
18
|
), /*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SPlotA11yModule": "
|
|
20
|
+
"__SPlotA11yModule": "___SPlotA11yModule_a990g_gg_"
|
|
21
21
|
})
|
|
22
22
|
);
|
|
23
23
|
var globalWasFocused = false;
|
|
@@ -15,12 +15,12 @@ var styles = (
|
|
|
15
15
|
/*__reshadow_css_start__*/
|
|
16
16
|
(sstyled.insert(
|
|
17
17
|
/*__inner_css_start__*/
|
|
18
|
-
".
|
|
18
|
+
".___SPlotA11yView_7vfm5_gg_{-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);border:3px solid var(--intergalactic-border-primary, #c4c7cf);font-size:var(--intergalactic-fs-50, 10px);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_7vfm5_gg_:focus,.___SPlotA11yView_7vfm5_gg_:focus-within{-moz-user-select:all;user-select:all;pointer-events:all;opacity:1;z-index:var(--intergalactic-z-index-overlay, 500);position:relative;display:block}.___SPlotA11yView_7vfm5_gg_ a{cursor:pointer;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_7vfm5_gg_ table,.___SPlotA11yView_7vfm5_gg_ td,.___SPlotA11yView_7vfm5_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}",
|
|
19
19
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
20
|
+
"7vfm5_gg_"
|
|
21
21
|
), /*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SPlotA11yView": "
|
|
23
|
+
"__SPlotA11yView": "___SPlotA11yView_7vfm5_gg_"
|
|
24
24
|
})
|
|
25
25
|
);
|
|
26
26
|
var PlotA11yView = function PlotA11yView2(_ref3) {
|
|
@@ -23,14 +23,14 @@ var style = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
(sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
".
|
|
26
|
+
".___STooltipChildrenWrapper_1ym6g_gg_{display:grid;grid-column-gap:var(--intergalactic-spacing-2x, 8px);-moz-column-gap:var(--intergalactic-spacing-2x, 8px);column-gap:var(--intergalactic-spacing-2x, 8px)}.___STooltipChildrenWrapper_1ym6g_gg_._columnsCount_2_1ym6g_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_1ym6g_gg_._columnsCount_3_1ym6g_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}",
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
|
-
"
|
|
28
|
+
"1ym6g_gg_"
|
|
29
29
|
), /*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__STooltipChildrenWrapper": "
|
|
32
|
-
"_columnsCount_2": "
|
|
33
|
-
"_columnsCount_3": "
|
|
31
|
+
"__STooltipChildrenWrapper": "___STooltipChildrenWrapper_1ym6g_gg_",
|
|
32
|
+
"_columnsCount_2": "_columnsCount_2_1ym6g_gg_",
|
|
33
|
+
"_columnsCount_3": "_columnsCount_3_1ym6g_gg_"
|
|
34
34
|
})
|
|
35
35
|
);
|
|
36
36
|
var NOT_A_VALUE = "n/a";
|
|
@@ -41,11 +41,6 @@ var AbstractChart = /* @__PURE__ */ (function(_Component) {
|
|
|
41
41
|
_this = _callSuper(this, AbstractChart2, [props]);
|
|
42
42
|
_defineProperty(_this, "plotPadding", 6);
|
|
43
43
|
_defineProperty(_this, "dataHints", makeDataHintsContainer());
|
|
44
|
-
_defineProperty(_this, "state", {
|
|
45
|
-
dataDefinitions: _this.getDefaultDataDefinitions(),
|
|
46
|
-
highlightedLine: -1,
|
|
47
|
-
withTrend: false
|
|
48
|
-
});
|
|
49
44
|
_this.setHighlightedLine = _this.setHighlightedLine.bind(_this);
|
|
50
45
|
_this.handleChangeVisible = _this.handleChangeVisible.bind(_this);
|
|
51
46
|
_this.handleMouseEnter = _this.handleMouseEnter.bind(_this);
|
|
@@ -53,6 +48,11 @@ var AbstractChart = /* @__PURE__ */ (function(_Component) {
|
|
|
53
48
|
_this.resolveColor = _this.resolveColor.bind(_this);
|
|
54
49
|
_this.tooltipValueFormatter = _this.tooltipValueFormatter.bind(_this);
|
|
55
50
|
_this.handleWithTrendChange = _this.handleWithTrendChange.bind(_this);
|
|
51
|
+
_this.state = {
|
|
52
|
+
dataDefinitions: _this.getDefaultDataDefinitions(),
|
|
53
|
+
highlightedLine: -1,
|
|
54
|
+
withTrend: false
|
|
55
|
+
};
|
|
56
56
|
return _this;
|
|
57
57
|
}
|
|
58
58
|
_inherits(AbstractChart2, _Component);
|
|
@@ -241,20 +241,6 @@ var AbstractChart = /* @__PURE__ */ (function(_Component) {
|
|
|
241
241
|
}
|
|
242
242
|
return total;
|
|
243
243
|
}
|
|
244
|
-
}, {
|
|
245
|
-
key: "percentValue",
|
|
246
|
-
value: function percentValue(data, key) {
|
|
247
|
-
var total = this.totalValue(data);
|
|
248
|
-
var value = data[key];
|
|
249
|
-
if (typeof value === "number" && total !== 0) {
|
|
250
|
-
var percent = Math.round(100 * value / total);
|
|
251
|
-
return "".concat(percent, "%");
|
|
252
|
-
}
|
|
253
|
-
if (value === null) {
|
|
254
|
-
return "0%";
|
|
255
|
-
}
|
|
256
|
-
return NOT_A_VALUE;
|
|
257
|
-
}
|
|
258
244
|
}, {
|
|
259
245
|
key: "getValueScale",
|
|
260
246
|
value: function getValueScale(values) {
|