@semcore/d3-chart 2.8.5 → 2.8.7
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 +8 -2
- package/lib/cjs/Area.js +10 -10
- package/lib/cjs/Axis.js +14 -14
- package/lib/cjs/Bar.js +9 -9
- package/lib/cjs/Bubble.js +11 -11
- package/lib/cjs/Donut.js +143 -156
- package/lib/cjs/Donut.js.map +1 -1
- package/lib/cjs/Dots.js +10 -10
- package/lib/cjs/HorizontalBar.js +9 -9
- package/lib/cjs/Hover.js +4 -4
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +4 -4
- package/lib/cjs/RadialTree.js +48 -62
- package/lib/cjs/RadialTree.js.map +1 -1
- package/lib/cjs/ReferenceLine.js +10 -10
- package/lib/cjs/ScatterPlot.js +8 -8
- package/lib/cjs/Tooltip.js +8 -8
- package/lib/cjs/Venn.js +8 -8
- package/lib/cjs/a11y/PlotA11yModule.js +3 -3
- package/lib/cjs/a11y/PlotA11yView.js +4 -4
- package/lib/cjs/style/area.shadow.css +2 -2
- package/lib/cjs/style/bar.shadow.css +1 -1
- package/lib/cjs/style/bubble.shadow.css +3 -3
- package/lib/cjs/style/donut.shadow.css +1 -1
- package/lib/cjs/style/dot.shadow.css +1 -1
- package/lib/cjs/style/line.shadow.css +1 -1
- package/lib/cjs/style/plot.shadow.css +1 -1
- package/lib/cjs/style/radial-tree.shadow.css +2 -2
- package/lib/cjs/style/scatterplot.shadow.css +2 -2
- package/lib/cjs/style/venn.shadow.css +1 -1
- package/lib/es6/Area.js +10 -10
- package/lib/es6/Axis.js +14 -14
- package/lib/es6/Bar.js +9 -9
- package/lib/es6/Bubble.js +11 -11
- package/lib/es6/Donut.js +145 -156
- package/lib/es6/Donut.js.map +1 -1
- package/lib/es6/Dots.js +10 -10
- package/lib/es6/HorizontalBar.js +9 -9
- package/lib/es6/Hover.js +4 -4
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +4 -4
- package/lib/es6/RadialTree.js +48 -62
- package/lib/es6/RadialTree.js.map +1 -1
- package/lib/es6/ReferenceLine.js +10 -10
- package/lib/es6/ScatterPlot.js +8 -8
- package/lib/es6/Tooltip.js +8 -8
- package/lib/es6/Venn.js +8 -8
- package/lib/es6/a11y/PlotA11yModule.js +3 -3
- package/lib/es6/a11y/PlotA11yView.js +4 -4
- package/lib/es6/style/area.shadow.css +2 -2
- package/lib/es6/style/bar.shadow.css +1 -1
- package/lib/es6/style/bubble.shadow.css +3 -3
- package/lib/es6/style/donut.shadow.css +1 -1
- package/lib/es6/style/dot.shadow.css +1 -1
- package/lib/es6/style/line.shadow.css +1 -1
- package/lib/es6/style/plot.shadow.css +1 -1
- package/lib/es6/style/radial-tree.shadow.css +2 -2
- package/lib/es6/style/scatterplot.shadow.css +2 -2
- package/lib/es6/style/venn.shadow.css +1 -1
- package/package.json +1 -1
package/lib/es6/ScatterPlot.js
CHANGED
|
@@ -30,17 +30,17 @@ var style = (
|
|
|
30
30
|
/*__reshadow_css_start__*/
|
|
31
31
|
_sstyled.insert(
|
|
32
32
|
/*__inner_css_start__*/
|
|
33
|
-
".
|
|
33
|
+
".___SScatterPlot_3e5x0_gg_{fill:var(--intergalactic-chart-palette-order-1,#2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_3e5x0);transition-timing-function:ease-in-out;opacity:.5}@media (hover: hover){.___SScatterPlot_3e5x0_gg_:hover{opacity:.8}}.___SScatterPlot_3e5x0_gg_.__color_3e5x0_gg_{fill:var(--color_3e5x0)}.___SScatterPlot_3e5x0_gg_.__transparent_3e5x0_gg_{opacity:.3}.___SValue_3e5x0_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50,10px);stroke:var(--intergalactic-chart-palette-order-9,#008ff8)}.___SValue_3e5x0_gg_.__color_3e5x0_gg_{stroke:var(--color_3e5x0)}.___SValue_3e5x0_gg_.__transparent_3e5x0_gg_{opacity:.3}"
|
|
34
34
|
/*__inner_css_end__*/
|
|
35
|
-
, "
|
|
35
|
+
, "3e5x0_gg_")
|
|
36
36
|
/*__reshadow_css_end__*/
|
|
37
37
|
, {
|
|
38
|
-
"__SScatterPlot": "
|
|
39
|
-
"--duration": "--
|
|
40
|
-
"_color": "
|
|
41
|
-
"--color": "--
|
|
42
|
-
"_transparent": "
|
|
43
|
-
"__SValue": "
|
|
38
|
+
"__SScatterPlot": "___SScatterPlot_3e5x0_gg_",
|
|
39
|
+
"--duration": "--duration_3e5x0",
|
|
40
|
+
"_color": "__color_3e5x0_gg_",
|
|
41
|
+
"--color": "--color_3e5x0",
|
|
42
|
+
"_transparent": "__transparent_3e5x0_gg_",
|
|
43
|
+
"__SValue": "___SValue_3e5x0_gg_"
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Tooltip.js
CHANGED
|
@@ -34,17 +34,17 @@ var style = (
|
|
|
34
34
|
/*__reshadow_css_start__*/
|
|
35
35
|
_sstyled.insert(
|
|
36
36
|
/*__inner_css_start__*/
|
|
37
|
-
".
|
|
37
|
+
".___STooltip_141dd_gg_{font-size:var(--intergalactic-fs-100,12px);line-height:var(--intergalactic-lh-100,133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral,#fff);border-radius:var(--intergalactic-rounded-medium,6px);border:1px solid var(--intergalactic-border-secondary,#e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper,0 1px 12px 0 rgba(25,27,35,.15));padding:var(--intergalactic-spacing-3x,12px)}.___STitle_141dd_gg_{color:var(--intergalactic-text-secondary,#6c6e79);margin-bottom:var(--intergalactic-spacing-2x,8px)}.___SDotGroup_141dd_gg_{display:flex;align-items:center}.___SDot_141dd_gg_{width:8px;height:8px;border-radius:50%;margin-right:var(--intergalactic-spacing-2x,8px);background:var(--intergalactic-icon-secondary-info,#2bb3ff)}.___SDot_141dd_gg_.__color_141dd_gg_{background:var(--color_141dd)}"
|
|
38
38
|
/*__inner_css_end__*/
|
|
39
|
-
, "
|
|
39
|
+
, "141dd_gg_")
|
|
40
40
|
/*__reshadow_css_end__*/
|
|
41
41
|
, {
|
|
42
|
-
"__STooltip": "
|
|
43
|
-
"__STitle": "
|
|
44
|
-
"__SDotGroup": "
|
|
45
|
-
"__SDot": "
|
|
46
|
-
"_color": "
|
|
47
|
-
"--color": "--
|
|
42
|
+
"__STooltip": "___STooltip_141dd_gg_",
|
|
43
|
+
"__STitle": "___STitle_141dd_gg_",
|
|
44
|
+
"__SDotGroup": "___SDotGroup_141dd_gg_",
|
|
45
|
+
"__SDot": "___SDot_141dd_gg_",
|
|
46
|
+
"_color": "__color_141dd_gg_",
|
|
47
|
+
"--color": "--color_141dd"
|
|
48
48
|
});
|
|
49
49
|
|
|
50
50
|
var TooltipRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Venn.js
CHANGED
|
@@ -26,17 +26,17 @@ var style = (
|
|
|
26
26
|
/*__reshadow_css_start__*/
|
|
27
27
|
_sstyled.insert(
|
|
28
28
|
/*__inner_css_start__*/
|
|
29
|
-
".
|
|
29
|
+
".___SCircle_1wbht_gg_{fill:var(--intergalactic-chart-palette-order-2,#59ddaa);stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_1wbht);transition-timing-function:ease-in-out}@media (hover: hover){.___SCircle_1wbht_gg_:hover{fill-opacity:.7}}.___SCircle_1wbht_gg_.__color_1wbht_gg_{fill:var(--color_1wbht)}.___SCircle_1wbht_gg_.__transparent_1wbht_gg_{opacity:.3}.___SIntersection_1wbht_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;fill-opacity:0}@media (hover: hover){.___SIntersection_1wbht_gg_:hover{fill-opacity:.1}}.___SIntersection_1wbht_gg_.__transparent_1wbht_gg_{opacity:.3}"
|
|
30
30
|
/*__inner_css_end__*/
|
|
31
|
-
, "
|
|
31
|
+
, "1wbht_gg_")
|
|
32
32
|
/*__reshadow_css_end__*/
|
|
33
33
|
, {
|
|
34
|
-
"__SCircle": "
|
|
35
|
-
"--duration": "--
|
|
36
|
-
"_color": "
|
|
37
|
-
"--color": "--
|
|
38
|
-
"_transparent": "
|
|
39
|
-
"__SIntersection": "
|
|
34
|
+
"__SCircle": "___SCircle_1wbht_gg_",
|
|
35
|
+
"--duration": "--duration_1wbht",
|
|
36
|
+
"_color": "__color_1wbht_gg_",
|
|
37
|
+
"--color": "--color_1wbht",
|
|
38
|
+
"_transparent": "__transparent_1wbht_gg_",
|
|
39
|
+
"__SIntersection": "___SIntersection_1wbht_gg_"
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
var VennRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -20,12 +20,12 @@ var styles = (
|
|
|
20
20
|
/*__reshadow_css_start__*/
|
|
21
21
|
_sstyled.insert(
|
|
22
22
|
/*__inner_css_start__*/
|
|
23
|
-
".
|
|
23
|
+
".___SPlotA11yModule_1fxbn_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1fxbn_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}"
|
|
24
24
|
/*__inner_css_end__*/
|
|
25
|
-
, "
|
|
25
|
+
, "1fxbn_gg_")
|
|
26
26
|
/*__reshadow_css_end__*/
|
|
27
27
|
, {
|
|
28
|
-
"__SPlotA11yModule": "
|
|
28
|
+
"__SPlotA11yModule": "___SPlotA11yModule_1fxbn_gg_"
|
|
29
29
|
});
|
|
30
30
|
import { Context as I18nContext, useI18n } from '@semcore/utils/lib/enhances/WithI18n';
|
|
31
31
|
import { Box } from '@semcore/flex-box';
|
|
@@ -27,13 +27,13 @@ var styles = (
|
|
|
27
27
|
/*__reshadow_css_start__*/
|
|
28
28
|
_sstyled.insert(
|
|
29
29
|
/*__inner_css_start__*/
|
|
30
|
-
".
|
|
30
|
+
".___SPlotA11yView_1fz4w_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral,#fff);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_1fz4w_gg_:focus,.___SPlotA11yView_1fz4w_gg_.__focus-within_1fz4w_gg_{-webkit-user-select:all;-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_1fz4w_gg_:focus,.___SPlotA11yView_1fz4w_gg_:focus-within{-webkit-user-select:all;-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_1fz4w_gg_ a{cursor:pointer;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x,8px);display:block}.___SPlotA11yView_1fz4w_gg_ table,.___SPlotA11yView_1fz4w_gg_ td,.___SPlotA11yView_1fz4w_gg_ th{border:1px solid var(--intergalactic-border-primary,#c4c7cf)}"
|
|
31
31
|
/*__inner_css_end__*/
|
|
32
|
-
, "
|
|
32
|
+
, "1fz4w_gg_")
|
|
33
33
|
/*__reshadow_css_end__*/
|
|
34
34
|
, {
|
|
35
|
-
"__SPlotA11yView": "
|
|
36
|
-
"_focus-within": "__focus-
|
|
35
|
+
"__SPlotA11yView": "___SPlotA11yView_1fz4w_gg_",
|
|
36
|
+
"_focus-within": "__focus-within_1fz4w_gg_"
|
|
37
37
|
});
|
|
38
38
|
import { Box } from '@semcore/flex-box';
|
|
39
39
|
import { useAsyncI18nMessages } from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SArea {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
5
5
|
fill-opacity: 0.2;
|
|
6
6
|
}
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ SArea[transparent] {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
SAreaLine {
|
|
17
|
-
stroke: var(--intergalactic-chart-palette-order-
|
|
17
|
+
stroke: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
18
18
|
stroke-width: 3;
|
|
19
19
|
fill: transparent;
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SBar {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
5
5
|
transition-property: height, width, y;
|
|
6
6
|
transition-duration: var(--duration);
|
|
7
7
|
transition-timing-function: ease-in-out;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SBubble {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
5
5
|
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
6
6
|
stroke-width: 2px;
|
|
7
7
|
transition-property: cx, cy;
|
|
@@ -25,7 +25,7 @@ SCenter {
|
|
|
25
25
|
text-anchor: middle;
|
|
26
26
|
/* disable-tokens-validator */
|
|
27
27
|
font-size: calc(var(--intergalactic-fs-100, 12px) - 1px);
|
|
28
|
-
stroke: var(--intergalactic-chart-palette-order-
|
|
28
|
+
stroke: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
SCenter[color] {
|
|
@@ -37,7 +37,7 @@ SCenter[transparent] {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
SLabel {
|
|
40
|
-
fill: var(--intergalactic-chart-palette-order-
|
|
40
|
+
fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
SLabel[position='right'] {
|
|
@@ -10,7 +10,7 @@ SDot {
|
|
|
10
10
|
stroke-width: 2px;
|
|
11
11
|
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
12
12
|
r: 6px;
|
|
13
|
-
fill: var(--intergalactic-chart-palette-order-
|
|
13
|
+
fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
14
14
|
transition-property: cx, cy;
|
|
15
15
|
transition-timing-function: ease-in-out;
|
|
16
16
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
SLine {
|
|
4
4
|
fill: transparent;
|
|
5
5
|
stroke-width: 3;
|
|
6
|
-
stroke: var(--intergalactic-chart-palette-order-
|
|
6
|
+
stroke: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
7
7
|
transition-property: d;
|
|
8
8
|
transition-duration: var(--duration);
|
|
9
9
|
transition-timing-function: ease-in-out;
|
|
@@ -14,6 +14,6 @@ foreignObject[data-aria-only] {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
SPlot[keyboardFocused] {
|
|
17
|
-
border: 1px solid var(--intergalactic-chart-palette-order-
|
|
17
|
+
border: 1px solid var(--intergalactic-chart-palette-order-9, #008ff8);
|
|
18
18
|
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.3));
|
|
19
19
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
SRadian {
|
|
4
4
|
cursor: pointer;
|
|
5
|
-
fill: var(--intergalactic-chart-palette-order-
|
|
5
|
+
fill: var(--intergalactic-chart-palette-order-9, #008ff8);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
SLine {
|
|
9
|
-
stroke: var(--intergalactic-chart-palette-order-
|
|
9
|
+
stroke: var(--intergalactic-chart-palette-order-9, #008ff8);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
SLine[color] {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SScatterPlot {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, #2bb3ff);
|
|
5
5
|
transition-property: cx, cy;
|
|
6
6
|
transition-duration: var(--duration);
|
|
7
7
|
transition-timing-function: ease-in-out;
|
|
@@ -22,7 +22,7 @@ SScatterPlot[transparent] {
|
|
|
22
22
|
SValue {
|
|
23
23
|
text-anchor: middle;
|
|
24
24
|
font-size: var(--intergalactic-fs-50, 10px);
|
|
25
|
-
stroke: var(--intergalactic-chart-palette-order-
|
|
25
|
+
stroke: var(--intergalactic-chart-palette-order-9, #008ff8);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
SValue[color] {
|