@semcore/d3-chart 16.1.0 → 16.1.1-prerelease.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 +11 -11
- package/lib/cjs/Axis.js +14 -14
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +13 -13
- 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 +3 -4
- package/lib/cjs/component/Chart/AbstractChart.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/es6/Area.js +11 -11
- package/lib/es6/Axis.js +14 -14
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +13 -13
- 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 +3 -4
- package/lib/es6/component/Chart/AbstractChart.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/esm/Area.mjs +12 -12
- package/lib/esm/Axis.mjs +15 -15
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +14 -14
- 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 +5 -4
- 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/package.json +16 -16
|
@@ -25,24 +25,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
25
25
|
import createElement from './createElement';
|
|
26
26
|
import { PatternFill } from './Pattern';
|
|
27
27
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
28
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
28
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_1l8nu_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1l8nu);transition-timing-function:ease-in-out}.___SBar_1l8nu_gg_.__color_1l8nu_gg_{fill:var(--color_1l8nu)}.___SBar_1l8nu_gg_.__pattern_1l8nu_gg_.__color_1l8nu_gg_{fill:var(--pattern_1l8nu);stroke:var(--color_1l8nu);stroke-width:1px}.___SBar_1l8nu_gg_.__hide_1l8nu_gg_{display:none}.___SBar_1l8nu_gg_.__transparent_1l8nu_gg_{opacity:.3}.___SBackground_1l8nu_gg_.__onClick_1l8nu_gg_,.___SBar_1l8nu_gg_.__onClick_1l8nu_gg_{cursor:pointer}.___SBackground_1l8nu_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1l8nu_gg_{display:flex;justify-content:space-between}.___SBarLabel_1l8nu_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1l8nu_gg_,.___SBarPercent_1l8nu_gg_,.___SBarValue_1l8nu_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1l8nu_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1l8nu_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1l8nu_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1l8nu_gg_"),
|
|
29
29
|
/*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SBar": "
|
|
32
|
-
"--duration": "--
|
|
33
|
-
"_color": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"_pattern": "
|
|
36
|
-
"--pattern": "--
|
|
37
|
-
"_hide": "
|
|
38
|
-
"_transparent": "
|
|
39
|
-
"_onClick": "
|
|
40
|
-
"__SBackground": "
|
|
41
|
-
"__SBarAnnotation": "
|
|
42
|
-
"__SBarLabel": "
|
|
43
|
-
"__SBarPercent": "
|
|
44
|
-
"__SBarValue": "
|
|
45
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
31
|
+
"__SBar": "___SBar_1l8nu_gg_",
|
|
32
|
+
"--duration": "--duration_1l8nu",
|
|
33
|
+
"_color": "__color_1l8nu_gg_",
|
|
34
|
+
"--color": "--color_1l8nu",
|
|
35
|
+
"_pattern": "__pattern_1l8nu_gg_",
|
|
36
|
+
"--pattern": "--pattern_1l8nu",
|
|
37
|
+
"_hide": "__hide_1l8nu_gg_",
|
|
38
|
+
"_transparent": "__transparent_1l8nu_gg_",
|
|
39
|
+
"_onClick": "__onClick_1l8nu_gg_",
|
|
40
|
+
"__SBackground": "___SBackground_1l8nu_gg_",
|
|
41
|
+
"__SBarAnnotation": "___SBarAnnotation_1l8nu_gg_",
|
|
42
|
+
"__SBarLabel": "___SBarLabel_1l8nu_gg_",
|
|
43
|
+
"__SBarPercent": "___SBarPercent_1l8nu_gg_",
|
|
44
|
+
"__SBarValue": "___SBarValue_1l8nu_gg_",
|
|
45
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1l8nu_gg_"
|
|
46
46
|
});
|
|
47
47
|
import Tooltip from './Tooltip';
|
|
48
48
|
import { roundedPath, scaleToBand, eventToPoint } from './utils';
|
package/lib/es6/Donut.js
CHANGED
|
@@ -23,17 +23,17 @@ import React from 'react';
|
|
|
23
23
|
import createElement from './createElement';
|
|
24
24
|
import { PatternFill } from './Pattern';
|
|
25
25
|
/*!__reshadow-styles__:"./style/donut.shadow.css"*/
|
|
26
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
26
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPie_ne7f1_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_ne7f1_gg_.__color_ne7f1_gg_{fill:var(--color_ne7f1)}.___SPie_ne7f1_gg_.__pattern_ne7f1_gg_.__color_ne7f1_gg_{fill:var(--pattern_ne7f1);stroke:var(--color_ne7f1);stroke-width:1px}.___SPie_ne7f1_gg_.__transparent_ne7f1_gg_{opacity:.3}.___SEmptyData_ne7f1_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_ne7f1_gg_.__color_ne7f1_gg_{fill:var(--color_ne7f1)}.___SLabel_ne7f1_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}", /*__inner_css_end__*/"ne7f1_gg_"),
|
|
27
27
|
/*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SPie": "
|
|
30
|
-
"_color": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_pattern": "
|
|
33
|
-
"--pattern": "--
|
|
34
|
-
"_transparent": "
|
|
35
|
-
"__SEmptyData": "
|
|
36
|
-
"__SLabel": "
|
|
29
|
+
"__SPie": "___SPie_ne7f1_gg_",
|
|
30
|
+
"_color": "__color_ne7f1_gg_",
|
|
31
|
+
"--color": "--color_ne7f1",
|
|
32
|
+
"_pattern": "__pattern_ne7f1_gg_",
|
|
33
|
+
"--pattern": "--pattern_ne7f1",
|
|
34
|
+
"_transparent": "__transparent_ne7f1_gg_",
|
|
35
|
+
"__SEmptyData": "___SEmptyData_ne7f1_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_ne7f1_gg_"
|
|
37
37
|
});
|
|
38
38
|
import Tooltip from './Tooltip';
|
|
39
39
|
import { getChartDefaultColorName } from './utils';
|
package/lib/es6/Dots.js
CHANGED
|
@@ -7,16 +7,16 @@ import React from 'react';
|
|
|
7
7
|
import createElement from './createElement';
|
|
8
8
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
9
9
|
/*!__reshadow-styles__:"./style/dot.shadow.css"*/
|
|
10
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
10
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SDots_1afbr_gg_ .___SDot_1afbr_gg_{transition-duration:var(--duration_1afbr)}.___SDot_1afbr_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_1afbr_gg_.__hide_1afbr_gg_{display:none}.___SDot_1afbr_gg_.__color_1afbr_gg_{fill:var(--color_1afbr)}.___SDot_1afbr_gg_.__transparent_1afbr_gg_{opacity:.3}", /*__inner_css_end__*/"1afbr_gg_"),
|
|
11
11
|
/*__reshadow_css_end__*/
|
|
12
12
|
{
|
|
13
|
-
"__SDot": "
|
|
14
|
-
"_hide": "
|
|
15
|
-
"_color": "
|
|
16
|
-
"--color": "--
|
|
17
|
-
"_transparent": "
|
|
18
|
-
"__SDots": "
|
|
19
|
-
"--duration": "--
|
|
13
|
+
"__SDot": "___SDot_1afbr_gg_",
|
|
14
|
+
"_hide": "__hide_1afbr_gg_",
|
|
15
|
+
"_color": "__color_1afbr_gg_",
|
|
16
|
+
"--color": "--color_1afbr",
|
|
17
|
+
"_transparent": "__transparent_1afbr_gg_",
|
|
18
|
+
"__SDots": "___SDots_1afbr_gg_",
|
|
19
|
+
"--duration": "--duration_1afbr"
|
|
20
20
|
});
|
|
21
21
|
import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
|
|
22
22
|
function Dots(props) {
|
package/lib/es6/HorizontalBar.js
CHANGED
|
@@ -15,24 +15,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
15
15
|
import createElement from './createElement';
|
|
16
16
|
import { PatternFill } from './Pattern';
|
|
17
17
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
18
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
18
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_1l8nu_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1l8nu);transition-timing-function:ease-in-out}.___SBar_1l8nu_gg_.__color_1l8nu_gg_{fill:var(--color_1l8nu)}.___SBar_1l8nu_gg_.__pattern_1l8nu_gg_.__color_1l8nu_gg_{fill:var(--pattern_1l8nu);stroke:var(--color_1l8nu);stroke-width:1px}.___SBar_1l8nu_gg_.__hide_1l8nu_gg_{display:none}.___SBar_1l8nu_gg_.__transparent_1l8nu_gg_{opacity:.3}.___SBackground_1l8nu_gg_.__onClick_1l8nu_gg_,.___SBar_1l8nu_gg_.__onClick_1l8nu_gg_{cursor:pointer}.___SBackground_1l8nu_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1l8nu_gg_{display:flex;justify-content:space-between}.___SBarLabel_1l8nu_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1l8nu_gg_,.___SBarPercent_1l8nu_gg_,.___SBarValue_1l8nu_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1l8nu_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1l8nu_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1l8nu_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1l8nu_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SBar": "
|
|
22
|
-
"--duration": "--
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_pattern": "
|
|
26
|
-
"--pattern": "--
|
|
27
|
-
"_hide": "
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"_onClick": "
|
|
30
|
-
"__SBackground": "
|
|
31
|
-
"__SBarAnnotation": "
|
|
32
|
-
"__SBarLabel": "
|
|
33
|
-
"__SBarPercent": "
|
|
34
|
-
"__SBarValue": "
|
|
35
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
21
|
+
"__SBar": "___SBar_1l8nu_gg_",
|
|
22
|
+
"--duration": "--duration_1l8nu",
|
|
23
|
+
"_color": "__color_1l8nu_gg_",
|
|
24
|
+
"--color": "--color_1l8nu",
|
|
25
|
+
"_pattern": "__pattern_1l8nu_gg_",
|
|
26
|
+
"--pattern": "--pattern_1l8nu",
|
|
27
|
+
"_hide": "__hide_1l8nu_gg_",
|
|
28
|
+
"_transparent": "__transparent_1l8nu_gg_",
|
|
29
|
+
"_onClick": "__onClick_1l8nu_gg_",
|
|
30
|
+
"__SBackground": "___SBackground_1l8nu_gg_",
|
|
31
|
+
"__SBarAnnotation": "___SBarAnnotation_1l8nu_gg_",
|
|
32
|
+
"__SBarLabel": "___SBarLabel_1l8nu_gg_",
|
|
33
|
+
"__SBarPercent": "___SBarPercent_1l8nu_gg_",
|
|
34
|
+
"__SBarValue": "___SBarValue_1l8nu_gg_",
|
|
35
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1l8nu_gg_"
|
|
36
36
|
});
|
|
37
37
|
import { scaleToBand, roundedPath } from './utils';
|
|
38
38
|
export var MIN_WIDTH = 2;
|
package/lib/es6/Hover.js
CHANGED
|
@@ -17,11 +17,11 @@ import trottle from '@semcore/core/lib/utils/rafTrottle';
|
|
|
17
17
|
import React from 'react';
|
|
18
18
|
import createElement from './createElement';
|
|
19
19
|
/*!__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
20
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SHoverLine_1x04t_gg_,.___SHoverLine_1x04t_gg_:focus-visible{outline:0;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1x04t_gg_,.___SHoverRect_1x04t_gg_:focus-visible{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1x04t_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SHoverLine": "
|
|
24
|
-
"__SHoverRect": "
|
|
23
|
+
"__SHoverLine": "___SHoverLine_1x04t_gg_",
|
|
24
|
+
"__SHoverRect": "___SHoverRect_1x04t_gg_"
|
|
25
25
|
});
|
|
26
26
|
import Tooltip from './Tooltip';
|
|
27
27
|
import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
|
package/lib/es6/Line.js
CHANGED
|
@@ -18,17 +18,17 @@ import createElement from './createElement';
|
|
|
18
18
|
import Dots from './Dots';
|
|
19
19
|
import { resolvePatternDasharray } from './Pattern';
|
|
20
20
|
/*!__reshadow-styles__:"./style/line.shadow.css"*/
|
|
21
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
21
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLine_1ahkq_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_1ahkq);transition-timing-function:ease-in-out}.___SLine_1ahkq_gg_.__color_1ahkq_gg_{stroke:var(--color_1ahkq)}.___SLine_1ahkq_gg_.__hide_1ahkq_gg_{display:none}.___SLine_1ahkq_gg_.__transparent_1ahkq_gg_{opacity:.3}.___SNull_1ahkq_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_1ahkq_gg_.__hide_1ahkq_gg_{display:none}.___SLineArea_1ahkq_gg_{transition-property:d;transition-duration:var(--duration_1ahkq);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_1ahkq_gg_.__color_1ahkq_gg_{fill:var(--color_1ahkq)}", /*__inner_css_end__*/"1ahkq_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SLine": "
|
|
25
|
-
"--duration": "--
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_hide": "
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SNull": "
|
|
31
|
-
"__SLineArea": "
|
|
24
|
+
"__SLine": "___SLine_1ahkq_gg_",
|
|
25
|
+
"--duration": "--duration_1ahkq",
|
|
26
|
+
"_color": "__color_1ahkq_gg_",
|
|
27
|
+
"--color": "--color_1ahkq",
|
|
28
|
+
"_hide": "__hide_1ahkq_gg_",
|
|
29
|
+
"_transparent": "__transparent_1ahkq_gg_",
|
|
30
|
+
"__SNull": "___SNull_1ahkq_gg_",
|
|
31
|
+
"__SLineArea": "___SLineArea_1ahkq_gg_"
|
|
32
32
|
});
|
|
33
33
|
import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolateValue, getChartDefaultColorName, eventToPoint, invert } from './utils';
|
|
34
34
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Plot.js
CHANGED
|
@@ -20,11 +20,11 @@ import React from 'react';
|
|
|
20
20
|
import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
|
|
21
21
|
import { PlotA11yModule } from './a11y/PlotA11yModule';
|
|
22
22
|
/*!__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
23
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
23
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlot_cfrh6_gg_{overflow:hidden}.___SPlot_cfrh6_gg_:active,.___SPlot_cfrh6_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_cfrh6_gg_.__keyboardFocused_cfrh6_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}", /*__inner_css_end__*/"cfrh6_gg_"),
|
|
24
24
|
/*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SPlot": "
|
|
27
|
-
"_keyboardFocused": "
|
|
26
|
+
"__SPlot": "___SPlot_cfrh6_gg_",
|
|
27
|
+
"_keyboardFocused": "__keyboardFocused_cfrh6_gg_"
|
|
28
28
|
});
|
|
29
29
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
30
30
|
import { eventToPoint, uniqueId } from './utils';
|
package/lib/es6/Radar.js
CHANGED
|
@@ -22,27 +22,27 @@ import React, { cloneElement } from 'react';
|
|
|
22
22
|
import createElement from './createElement';
|
|
23
23
|
import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
24
24
|
/*!__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
25
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
25
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAxisLine_1ulzx_gg_,.___SAxisTick_1ulzx_gg_,.___SAxis_1ulzx_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_1ulzx_gg_,.___SAxisTick_1ulzx_gg_{stroke-dasharray:2}.___SAxisLine_1ulzx_gg_.__active_1ulzx_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_1ulzx_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1ulzx_gg_.__xDirection_1ulzx_gg_{text-anchor:var(--xDirection_1ulzx)}.___SAxisLabel_1ulzx_gg_.__yDirection_1ulzx_gg_{dominant-baseline:var(--yDirection_1ulzx)}.___SPolygonDot_1ulzx_gg_,.___SPolygon_1ulzx_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_1ulzx_gg_{opacity:.2}.___SPolygon_1ulzx_gg_.__color_1ulzx_gg_{fill:var(--color_1ulzx)}.___SPolygon_1ulzx_gg_.__pattern_1ulzx_gg_.__color_1ulzx_gg_{fill:var(--pattern_1ulzx);stroke:var(--color_1ulzx);stroke-width:1px}.___SPolygonDot_1ulzx_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_1ulzx_gg_.__transparent_1ulzx_gg_{opacity:.3}.___SPolygonDot_1ulzx_gg_.__color_1ulzx_gg_{fill:var(--color_1ulzx)}.___SPolygonLine_1ulzx_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_1ulzx_gg_.__transparent_1ulzx_gg_{opacity:.3}.___SPolygonLine_1ulzx_gg_.__color_1ulzx_gg_{stroke:var(--color_1ulzx)}.___SPieRect_1ulzx_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1ulzx_gg_"),
|
|
26
26
|
/*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__SAxis": "
|
|
29
|
-
"__SAxisLine": "
|
|
30
|
-
"__SAxisTick": "
|
|
31
|
-
"_active": "
|
|
32
|
-
"__SAxisLabel": "
|
|
33
|
-
"_xDirection": "
|
|
34
|
-
"--xDirection": "--
|
|
35
|
-
"_yDirection": "
|
|
36
|
-
"--yDirection": "--
|
|
37
|
-
"__SPolygon": "
|
|
38
|
-
"_color": "
|
|
39
|
-
"--color": "--
|
|
40
|
-
"_pattern": "
|
|
41
|
-
"--pattern": "--
|
|
42
|
-
"__SPolygonDot": "
|
|
43
|
-
"_transparent": "
|
|
44
|
-
"__SPolygonLine": "
|
|
45
|
-
"__SPieRect": "
|
|
28
|
+
"__SAxis": "___SAxis_1ulzx_gg_",
|
|
29
|
+
"__SAxisLine": "___SAxisLine_1ulzx_gg_",
|
|
30
|
+
"__SAxisTick": "___SAxisTick_1ulzx_gg_",
|
|
31
|
+
"_active": "__active_1ulzx_gg_",
|
|
32
|
+
"__SAxisLabel": "___SAxisLabel_1ulzx_gg_",
|
|
33
|
+
"_xDirection": "__xDirection_1ulzx_gg_",
|
|
34
|
+
"--xDirection": "--xDirection_1ulzx",
|
|
35
|
+
"_yDirection": "__yDirection_1ulzx_gg_",
|
|
36
|
+
"--yDirection": "--yDirection_1ulzx",
|
|
37
|
+
"__SPolygon": "___SPolygon_1ulzx_gg_",
|
|
38
|
+
"_color": "__color_1ulzx_gg_",
|
|
39
|
+
"--color": "--color_1ulzx",
|
|
40
|
+
"_pattern": "__pattern_1ulzx_gg_",
|
|
41
|
+
"--pattern": "--pattern_1ulzx",
|
|
42
|
+
"__SPolygonDot": "___SPolygonDot_1ulzx_gg_",
|
|
43
|
+
"_transparent": "__transparent_1ulzx_gg_",
|
|
44
|
+
"__SPolygonLine": "___SPolygonLine_1ulzx_gg_",
|
|
45
|
+
"__SPieRect": "___SPieRect_1ulzx_gg_"
|
|
46
46
|
});
|
|
47
47
|
import Tooltip from './Tooltip';
|
|
48
48
|
import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
package/lib/es6/RadialTree.js
CHANGED
|
@@ -22,20 +22,20 @@ import React from 'react';
|
|
|
22
22
|
import createElement from './createElement';
|
|
23
23
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
24
24
|
/*!__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
25
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
25
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SRadian_135mq_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_135mq_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_135mq_gg_.__stroke_135mq_gg_{stroke:var(--stroke_135mq)}.___SLine_135mq_gg_.__transparent_135mq_gg_{opacity:.3}.___SCap_135mq_gg_{transition:r .1s}.___SCap_135mq_gg_.__pattern_135mq_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_135mq_gg_.__transparent_135mq_gg_,.___SIcon_135mq_gg_.__transparent_135mq_gg_,.___SLabel_135mq_gg_.__transparent_135mq_gg_{opacity:.3}.___SLabel_135mq_gg_{fill:var(--color_135mq)}@media (hover:hover){.___SRadian_135mq_gg_:hover .___SLabel_135mq_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_135mq_gg_{transition:none}}", /*__inner_css_end__*/"135mq_gg_"),
|
|
26
26
|
/*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__SRadian": "
|
|
29
|
-
"__SLine": "
|
|
30
|
-
"_stroke": "
|
|
31
|
-
"--stroke": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SCap": "
|
|
34
|
-
"_pattern": "
|
|
35
|
-
"__SIcon": "
|
|
36
|
-
"__SLabel": "
|
|
37
|
-
"--color": "--
|
|
38
|
-
"__SLineCap": "
|
|
28
|
+
"__SRadian": "___SRadian_135mq_gg_",
|
|
29
|
+
"__SLine": "___SLine_135mq_gg_",
|
|
30
|
+
"_stroke": "__stroke_135mq_gg_",
|
|
31
|
+
"--stroke": "--stroke_135mq",
|
|
32
|
+
"_transparent": "__transparent_135mq_gg_",
|
|
33
|
+
"__SCap": "___SCap_135mq_gg_",
|
|
34
|
+
"_pattern": "__pattern_135mq_gg_",
|
|
35
|
+
"__SIcon": "___SIcon_135mq_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_135mq_gg_",
|
|
37
|
+
"--color": "--color_135mq",
|
|
38
|
+
"__SLineCap": "___SLineCap_135mq_gg_"
|
|
39
39
|
});
|
|
40
40
|
import { getChartDefaultColorName, measureText } from './utils';
|
|
41
41
|
var baseAngle = -Math.PI / 2; // The top vertical line
|
package/lib/es6/Reference.js
CHANGED
|
@@ -14,20 +14,20 @@ import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
|
|
|
14
14
|
import React from 'react';
|
|
15
15
|
import createElement from './createElement';
|
|
16
16
|
/*!__reshadow-styles__:"./style/reference.shadow.css"*/
|
|
17
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
17
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SReferenceLine_3b1gu_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_3b1gu_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_3b1gu)}.___STitle_3b1gu_gg_._position_top_3b1gu_gg_{text-anchor:middle}.___STitle_3b1gu_gg_._position_bottom_3b1gu_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_3b1gu_gg_._position_left_3b1gu_gg_,.___STitle_3b1gu_gg_._position_right_3b1gu_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_3b1gu_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_3b1gu_gg_{fill:var(--fill_3b1gu)}.___SStripesPatternPath_3b1gu_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}", /*__inner_css_end__*/"3b1gu_gg_"),
|
|
18
18
|
/*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SReferenceLine": "
|
|
21
|
-
"__STitle": "
|
|
22
|
-
"--transform-origin": "--transform-
|
|
23
|
-
"_position_top": "
|
|
24
|
-
"_position_bottom": "
|
|
25
|
-
"_position_right": "
|
|
26
|
-
"_position_left": "
|
|
27
|
-
"__SBackground": "
|
|
28
|
-
"__SStripes": "
|
|
29
|
-
"--fill": "--
|
|
30
|
-
"__SStripesPatternPath": "
|
|
20
|
+
"__SReferenceLine": "___SReferenceLine_3b1gu_gg_",
|
|
21
|
+
"__STitle": "___STitle_3b1gu_gg_",
|
|
22
|
+
"--transform-origin": "--transform-origin_3b1gu",
|
|
23
|
+
"_position_top": "_position_top_3b1gu_gg_",
|
|
24
|
+
"_position_bottom": "_position_bottom_3b1gu_gg_",
|
|
25
|
+
"_position_right": "_position_right_3b1gu_gg_",
|
|
26
|
+
"_position_left": "_position_left_3b1gu_gg_",
|
|
27
|
+
"__SBackground": "___SBackground_3b1gu_gg_",
|
|
28
|
+
"__SStripes": "___SStripes_3b1gu_gg_",
|
|
29
|
+
"--fill": "--fill_3b1gu",
|
|
30
|
+
"__SStripesPatternPath": "___SStripesPatternPath_3b1gu_gg_"
|
|
31
31
|
});
|
|
32
32
|
import { scaleOfBandwidth } from './utils';
|
|
33
33
|
var side2direction = {
|
package/lib/es6/ScatterPlot.js
CHANGED
|
@@ -18,17 +18,17 @@ import React from 'react';
|
|
|
18
18
|
import createElement from './createElement';
|
|
19
19
|
import { PatternFill } from './Pattern';
|
|
20
20
|
/*!__reshadow-styles__:"./style/scatterplot.shadow.css"*/
|
|
21
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
21
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SScatterPlot_dhy9r_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_dhy9r);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_dhy9r_gg_:hover{opacity:.8}}.___SScatterPlot_dhy9r_gg_.__color_dhy9r_gg_{fill:var(--color_dhy9r)}.___SScatterPlot_dhy9r_gg_.__pattern_dhy9r_gg_.__color_dhy9r_gg_{fill:var(--pattern_dhy9r);stroke:var(--color_dhy9r);stroke-width:1px}.___SScatterPlot_dhy9r_gg_.__transparent_dhy9r_gg_{opacity:.3}.___SValue_dhy9r_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_dhy9r_gg_.__color_dhy9r_gg_{stroke:var(--color_dhy9r)}.___SValue_dhy9r_gg_.__transparent_dhy9r_gg_{opacity:.3}", /*__inner_css_end__*/"dhy9r_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SScatterPlot": "
|
|
25
|
-
"_color": "
|
|
26
|
-
"--color": "--
|
|
27
|
-
"_pattern": "
|
|
28
|
-
"--pattern": "--
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SValue": "
|
|
31
|
-
"--duration": "--
|
|
24
|
+
"__SScatterPlot": "___SScatterPlot_dhy9r_gg_",
|
|
25
|
+
"_color": "__color_dhy9r_gg_",
|
|
26
|
+
"--color": "--color_dhy9r",
|
|
27
|
+
"_pattern": "__pattern_dhy9r_gg_",
|
|
28
|
+
"--pattern": "--pattern_dhy9r",
|
|
29
|
+
"_transparent": "__transparent_dhy9r_gg_",
|
|
30
|
+
"__SValue": "___SValue_dhy9r_gg_",
|
|
31
|
+
"--duration": "--duration_dhy9r"
|
|
32
32
|
});
|
|
33
33
|
import Tooltip from './Tooltip';
|
|
34
34
|
import { getScatterPlotRadius } from './utils';
|
package/lib/es6/Tooltip.js
CHANGED
|
@@ -24,17 +24,17 @@ import React from 'react';
|
|
|
24
24
|
import createElement from './createElement';
|
|
25
25
|
import { PatternSymbol } from './Pattern';
|
|
26
26
|
/*!__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
|
27
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
27
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___STooltip_y4r4h_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_y4r4h_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_y4r4h_gg_{display:flex;align-items:center}.___SDot_y4r4h_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_y4r4h_gg_.__color_y4r4h_gg_{background-color:var(--color_y4r4h);width:8px;height:8px;border-radius:50%}.___SFooter_y4r4h_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))}", /*__inner_css_end__*/"y4r4h_gg_"),
|
|
28
28
|
/*__reshadow_css_end__*/
|
|
29
29
|
{
|
|
30
|
-
"__STooltip": "
|
|
31
|
-
"__STitle": "
|
|
32
|
-
"__SDotGroup": "
|
|
33
|
-
"__SDot": "
|
|
34
|
-
"__SDotCircle": "
|
|
35
|
-
"_color": "
|
|
36
|
-
"--color": "--
|
|
37
|
-
"__SFooter": "
|
|
30
|
+
"__STooltip": "___STooltip_y4r4h_gg_",
|
|
31
|
+
"__STitle": "___STitle_y4r4h_gg_",
|
|
32
|
+
"__SDotGroup": "___SDotGroup_y4r4h_gg_",
|
|
33
|
+
"__SDot": "___SDot_y4r4h_gg_",
|
|
34
|
+
"__SDotCircle": "___SDotCircle_y4r4h_gg_",
|
|
35
|
+
"_color": "__color_y4r4h_gg_",
|
|
36
|
+
"--color": "--color_y4r4h",
|
|
37
|
+
"__SFooter": "___SFooter_y4r4h_gg_"
|
|
38
38
|
});
|
|
39
39
|
import { getChartDefaultColorName } from './utils';
|
|
40
40
|
|
package/lib/es6/Venn.js
CHANGED
|
@@ -20,17 +20,17 @@ import React from 'react';
|
|
|
20
20
|
import createElement from './createElement';
|
|
21
21
|
import { PatternFill } from './Pattern';
|
|
22
22
|
/*!__reshadow-styles__:"./style/venn.shadow.css"*/
|
|
23
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
23
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SCircle_clpo4_gg_,.___SIntersection_clpo4_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_clpo4_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_clpo4);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_clpo4_gg_:hover{fill-opacity:.7}}.___SCircle_clpo4_gg_.__color_clpo4_gg_{fill:var(--color_clpo4)}.___SCircle_clpo4_gg_.__pattern_clpo4_gg_.__color_clpo4_gg_{fill:var(--pattern_clpo4);fill-opacity:.7;stroke:var(--color_clpo4);stroke-width:1px}@media (hover:hover){.___SCircle_clpo4_gg_.__pattern_clpo4_gg_.__color_clpo4_gg_:hover{fill-opacity:.85}}.___SCircle_clpo4_gg_.__transparent_clpo4_gg_{opacity:.3}.___SIntersection_clpo4_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_clpo4_gg_:hover{fill-opacity:.1}}.___SIntersection_clpo4_gg_.__transparent_clpo4_gg_{opacity:.3}", /*__inner_css_end__*/"clpo4_gg_"),
|
|
24
24
|
/*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SCircle": "
|
|
27
|
-
"_color": "
|
|
28
|
-
"--color": "--
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SIntersection": "
|
|
31
|
-
"--duration": "--
|
|
32
|
-
"_pattern": "
|
|
33
|
-
"--pattern": "--
|
|
26
|
+
"__SCircle": "___SCircle_clpo4_gg_",
|
|
27
|
+
"_color": "__color_clpo4_gg_",
|
|
28
|
+
"--color": "--color_clpo4",
|
|
29
|
+
"_transparent": "__transparent_clpo4_gg_",
|
|
30
|
+
"__SIntersection": "___SIntersection_clpo4_gg_",
|
|
31
|
+
"--duration": "--duration_clpo4",
|
|
32
|
+
"_pattern": "__pattern_clpo4_gg_",
|
|
33
|
+
"--pattern": "--pattern_clpo4"
|
|
34
34
|
});
|
|
35
35
|
import Tooltip from './Tooltip';
|
|
36
36
|
import { getChartDefaultColorName } from './utils';
|
|
@@ -11,10 +11,10 @@ import { Box } from '@semcore/flex-box';
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import { normalizeLocale } from './locale';
|
|
13
13
|
/*!__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
|
|
14
|
-
var styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
14
|
+
var styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlotA11yModule_1jlo3_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1jlo3_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}", /*__inner_css_end__*/"1jlo3_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SPlotA11yModule": "
|
|
17
|
+
"__SPlotA11yModule": "___SPlotA11yModule_1jlo3_gg_"
|
|
18
18
|
});
|
|
19
19
|
import { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';
|
|
20
20
|
var globalWasFocused = false;
|
|
@@ -12,10 +12,10 @@ import { makeDataSummarizationConfig } from './hints';
|
|
|
12
12
|
import { getIntl } from './intl';
|
|
13
13
|
import { summarize } from './summarize';
|
|
14
14
|
/*!__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
|
|
15
|
-
var styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
15
|
+
var styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlotA11yView_1nc8r_gg_{-webkit-user-select:none;-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_1nc8r_gg_:focus,.___SPlotA11yView_1nc8r_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_1nc8r_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1nc8r_gg_ table,.___SPlotA11yView_1nc8r_gg_ td,.___SPlotA11yView_1nc8r_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}", /*__inner_css_end__*/"1nc8r_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SPlotA11yView": "
|
|
18
|
+
"__SPlotA11yView": "___SPlotA11yView_1nc8r_gg_"
|
|
19
19
|
});
|
|
20
20
|
import { localizedMessages } from './translations/view/__intergalactic-dynamic-locales';
|
|
21
21
|
export var PlotA11yView = function PlotA11yView(_ref3) {
|
|
@@ -333,9 +333,9 @@ export var AbstractChart = /*#__PURE__*/function (_Component) {
|
|
|
333
333
|
direction = _this$asProps5.direction,
|
|
334
334
|
showLegend = _this$asProps5.showLegend,
|
|
335
335
|
patterns = _this$asProps5.patterns;
|
|
336
|
-
if (
|
|
336
|
+
if (
|
|
337
337
|
// we hide Legend for one item on chart except not manually set to show.
|
|
338
|
-
this.dataKeys.length === 1
|
|
338
|
+
showLegend === undefined && this.dataKeys.length === 1 || showLegend === false) {
|
|
339
339
|
return null;
|
|
340
340
|
}
|
|
341
341
|
var _this$state = this.state,
|
|
@@ -445,7 +445,6 @@ _defineProperty(AbstractChart, "defaultProps", {
|
|
|
445
445
|
direction: 'column',
|
|
446
446
|
showXAxis: true,
|
|
447
447
|
showYAxis: true,
|
|
448
|
-
showTooltip: true
|
|
449
|
-
showLegend: true
|
|
448
|
+
showTooltip: true
|
|
450
449
|
});
|
|
451
450
|
//# sourceMappingURL=AbstractChart.js.map
|