@semcore/d3-chart 17.0.0 → 17.0.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 +16 -16
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +14 -14
- 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 +2 -2
- 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 +4 -4
- 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 +16 -16
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +14 -14
- 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 +2 -2
- 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 +4 -4
- 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 +13 -12
- package/lib/esm/Axis.mjs +18 -17
- package/lib/esm/Bar.mjs +18 -17
- package/lib/esm/Bubble.mjs +16 -15
- package/lib/esm/CompactHorizontalBar.mjs +18 -17
- package/lib/esm/Donut.mjs +11 -10
- package/lib/esm/Dots.mjs +10 -9
- package/lib/esm/HorizontalBar.mjs +18 -17
- package/lib/esm/Hover.mjs +5 -4
- package/lib/esm/Line.mjs +11 -10
- package/lib/esm/Plot.mjs +4 -3
- package/lib/esm/Radar.mjs +21 -20
- package/lib/esm/RadialTree.mjs +14 -13
- package/lib/esm/Reference.mjs +14 -13
- package/lib/esm/ScatterPlot.mjs +11 -10
- package/lib/esm/Tooltip.mjs +11 -10
- package/lib/esm/Venn.mjs +11 -10
- package/lib/esm/a11y/PlotA11yModule.mjs +4 -3
- package/lib/esm/a11y/PlotA11yView.mjs +4 -3
- package/lib/esm/component/Chart/AbstractChart.mjs +6 -5
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +6 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +19 -18
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +8 -7
- package/package.json +15 -15
package/lib/es6/Line.js
CHANGED
|
@@ -10,17 +10,17 @@ import createElement from './createElement';
|
|
|
10
10
|
import Dots from './Dots';
|
|
11
11
|
import { resolvePatternDasharray } from './Pattern';
|
|
12
12
|
/*!__reshadow-styles__:"./style/line.shadow.css"*/
|
|
13
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
13
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLine_1r87s_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_1r87s);transition-timing-function:ease-in-out}.___SLine_1r87s_gg_.__color_1r87s_gg_{stroke:var(--color_1r87s)}.___SLine_1r87s_gg_.__hide_1r87s_gg_{display:none}.___SLine_1r87s_gg_.__transparent_1r87s_gg_{opacity:.3}.___SNull_1r87s_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_1r87s_gg_.__hide_1r87s_gg_{display:none}.___SLineArea_1r87s_gg_{transition-property:d;transition-duration:var(--duration_1r87s);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_1r87s_gg_.__color_1r87s_gg_{fill:var(--color_1r87s)}", /*__inner_css_end__*/"1r87s_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SLine": "
|
|
17
|
-
"--duration": "--
|
|
18
|
-
"_color": "
|
|
19
|
-
"--color": "--
|
|
20
|
-
"_hide": "
|
|
21
|
-
"_transparent": "
|
|
22
|
-
"__SNull": "
|
|
23
|
-
"__SLineArea": "
|
|
16
|
+
"__SLine": "___SLine_1r87s_gg_",
|
|
17
|
+
"--duration": "--duration_1r87s",
|
|
18
|
+
"_color": "__color_1r87s_gg_",
|
|
19
|
+
"--color": "--color_1r87s",
|
|
20
|
+
"_hide": "__hide_1r87s_gg_",
|
|
21
|
+
"_transparent": "__transparent_1r87s_gg_",
|
|
22
|
+
"__SNull": "___SNull_1r87s_gg_",
|
|
23
|
+
"__SLineArea": "___SLineArea_1r87s_gg_"
|
|
24
24
|
});
|
|
25
25
|
import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolateValue, getChartDefaultColorName, eventToPoint, invert } from './utils';
|
|
26
26
|
class LineRoot extends Component {
|
package/lib/es6/Plot.js
CHANGED
|
@@ -10,10 +10,10 @@ import React from 'react';
|
|
|
10
10
|
import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
|
|
11
11
|
import { PlotA11yModule } from './a11y/PlotA11yModule';
|
|
12
12
|
/*!__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
13
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
13
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlot_l2at0_gg_{overflow:hidden}.___SPlot_l2at0_gg_:focus{outline:0}.___SPlot_l2at0_gg_:active{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_l2at0_gg_:has(foreignObject[data-aria-only]:focus-within){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)}", /*__inner_css_end__*/"l2at0_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SPlot": "
|
|
16
|
+
"__SPlot": "___SPlot_l2at0_gg_"
|
|
17
17
|
});
|
|
18
18
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
19
19
|
import { eventToPoint, uniqueId } from './utils';
|
package/lib/es6/Radar.js
CHANGED
|
@@ -12,27 +12,27 @@ import React, { cloneElement } from 'react';
|
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
14
14
|
/*!__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
15
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
15
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAxisLine_rgkom_gg_,.___SAxisTick_rgkom_gg_,.___SAxis_rgkom_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_rgkom_gg_,.___SAxisTick_rgkom_gg_{stroke-dasharray:2}.___SAxisLine_rgkom_gg_.__active_rgkom_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_rgkom_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_rgkom_gg_.__xDirection_rgkom_gg_{text-anchor:var(--xDirection_rgkom)}.___SAxisLabel_rgkom_gg_.__yDirection_rgkom_gg_{dominant-baseline:var(--yDirection_rgkom)}.___SPolygonDot_rgkom_gg_,.___SPolygon_rgkom_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_rgkom_gg_{opacity:.2}.___SPolygon_rgkom_gg_.__color_rgkom_gg_{fill:var(--color_rgkom)}.___SPolygon_rgkom_gg_.__pattern_rgkom_gg_.__color_rgkom_gg_{fill:var(--pattern_rgkom);stroke:var(--color_rgkom);stroke-width:1px}.___SPolygonDot_rgkom_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_rgkom_gg_.__transparent_rgkom_gg_{opacity:.3}.___SPolygonDot_rgkom_gg_.__color_rgkom_gg_{fill:var(--color_rgkom)}.___SPolygonLine_rgkom_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_rgkom_gg_.__transparent_rgkom_gg_{opacity:.3}.___SPolygonLine_rgkom_gg_.__color_rgkom_gg_{stroke:var(--color_rgkom)}.___SPieRect_rgkom_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"rgkom_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SAxis": "
|
|
19
|
-
"__SAxisLine": "
|
|
20
|
-
"__SAxisTick": "
|
|
21
|
-
"_active": "
|
|
22
|
-
"__SAxisLabel": "
|
|
23
|
-
"_xDirection": "
|
|
24
|
-
"--xDirection": "--
|
|
25
|
-
"_yDirection": "
|
|
26
|
-
"--yDirection": "--
|
|
27
|
-
"__SPolygon": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"__SPolygonDot": "
|
|
33
|
-
"_transparent": "
|
|
34
|
-
"__SPolygonLine": "
|
|
35
|
-
"__SPieRect": "
|
|
18
|
+
"__SAxis": "___SAxis_rgkom_gg_",
|
|
19
|
+
"__SAxisLine": "___SAxisLine_rgkom_gg_",
|
|
20
|
+
"__SAxisTick": "___SAxisTick_rgkom_gg_",
|
|
21
|
+
"_active": "__active_rgkom_gg_",
|
|
22
|
+
"__SAxisLabel": "___SAxisLabel_rgkom_gg_",
|
|
23
|
+
"_xDirection": "__xDirection_rgkom_gg_",
|
|
24
|
+
"--xDirection": "--xDirection_rgkom",
|
|
25
|
+
"_yDirection": "__yDirection_rgkom_gg_",
|
|
26
|
+
"--yDirection": "--yDirection_rgkom",
|
|
27
|
+
"__SPolygon": "___SPolygon_rgkom_gg_",
|
|
28
|
+
"_color": "__color_rgkom_gg_",
|
|
29
|
+
"--color": "--color_rgkom",
|
|
30
|
+
"_pattern": "__pattern_rgkom_gg_",
|
|
31
|
+
"--pattern": "--pattern_rgkom",
|
|
32
|
+
"__SPolygonDot": "___SPolygonDot_rgkom_gg_",
|
|
33
|
+
"_transparent": "__transparent_rgkom_gg_",
|
|
34
|
+
"__SPolygonLine": "___SPolygonLine_rgkom_gg_",
|
|
35
|
+
"__SPieRect": "___SPieRect_rgkom_gg_"
|
|
36
36
|
});
|
|
37
37
|
import Tooltip from './Tooltip';
|
|
38
38
|
import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
package/lib/es6/RadialTree.js
CHANGED
|
@@ -10,20 +10,20 @@ import React from 'react';
|
|
|
10
10
|
import createElement from './createElement';
|
|
11
11
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
12
12
|
/*!__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
13
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
13
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SRadian_1xb4i_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1xb4i_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1xb4i_gg_.__stroke_1xb4i_gg_{stroke:var(--stroke_1xb4i)}.___SLine_1xb4i_gg_.__transparent_1xb4i_gg_{opacity:.3}.___SCap_1xb4i_gg_{transition:r .1s}.___SCap_1xb4i_gg_.__pattern_1xb4i_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1xb4i_gg_.__transparent_1xb4i_gg_,.___SIcon_1xb4i_gg_.__transparent_1xb4i_gg_,.___SLabel_1xb4i_gg_.__transparent_1xb4i_gg_{opacity:.3}.___SLabel_1xb4i_gg_{fill:var(--color_1xb4i)}@media (hover:hover){.___SRadian_1xb4i_gg_:hover .___SLabel_1xb4i_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1xb4i_gg_{transition:none}}", /*__inner_css_end__*/"1xb4i_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SRadian": "
|
|
17
|
-
"__SLine": "
|
|
18
|
-
"_stroke": "
|
|
19
|
-
"--stroke": "--
|
|
20
|
-
"_transparent": "
|
|
21
|
-
"__SCap": "
|
|
22
|
-
"_pattern": "
|
|
23
|
-
"__SIcon": "
|
|
24
|
-
"__SLabel": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"__SLineCap": "
|
|
16
|
+
"__SRadian": "___SRadian_1xb4i_gg_",
|
|
17
|
+
"__SLine": "___SLine_1xb4i_gg_",
|
|
18
|
+
"_stroke": "__stroke_1xb4i_gg_",
|
|
19
|
+
"--stroke": "--stroke_1xb4i",
|
|
20
|
+
"_transparent": "__transparent_1xb4i_gg_",
|
|
21
|
+
"__SCap": "___SCap_1xb4i_gg_",
|
|
22
|
+
"_pattern": "__pattern_1xb4i_gg_",
|
|
23
|
+
"__SIcon": "___SIcon_1xb4i_gg_",
|
|
24
|
+
"__SLabel": "___SLabel_1xb4i_gg_",
|
|
25
|
+
"--color": "--color_1xb4i",
|
|
26
|
+
"__SLineCap": "___SLineCap_1xb4i_gg_"
|
|
27
27
|
});
|
|
28
28
|
import { getChartDefaultColorName, measureText } from './utils';
|
|
29
29
|
const baseAngle = -Math.PI / 2; // The top vertical line
|
package/lib/es6/Reference.js
CHANGED
|
@@ -5,20 +5,20 @@ import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import createElement from './createElement';
|
|
7
7
|
/*!__reshadow-styles__:"./style/reference.shadow.css"*/
|
|
8
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
8
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SReferenceLine_112b5_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_112b5_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_112b5)}.___STitle_112b5_gg_._position_top_112b5_gg_{text-anchor:middle}.___STitle_112b5_gg_._position_bottom_112b5_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_112b5_gg_._position_left_112b5_gg_,.___STitle_112b5_gg_._position_right_112b5_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_112b5_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_112b5_gg_{fill:var(--fill_112b5)}.___SStripesPatternPath_112b5_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}", /*__inner_css_end__*/"112b5_gg_"),
|
|
9
9
|
/*__reshadow_css_end__*/
|
|
10
10
|
{
|
|
11
|
-
"__SReferenceLine": "
|
|
12
|
-
"__STitle": "
|
|
13
|
-
"--transform-origin": "--transform-
|
|
14
|
-
"_position_top": "
|
|
15
|
-
"_position_bottom": "
|
|
16
|
-
"_position_right": "
|
|
17
|
-
"_position_left": "
|
|
18
|
-
"__SBackground": "
|
|
19
|
-
"__SStripes": "
|
|
20
|
-
"--fill": "--
|
|
21
|
-
"__SStripesPatternPath": "
|
|
11
|
+
"__SReferenceLine": "___SReferenceLine_112b5_gg_",
|
|
12
|
+
"__STitle": "___STitle_112b5_gg_",
|
|
13
|
+
"--transform-origin": "--transform-origin_112b5",
|
|
14
|
+
"_position_top": "_position_top_112b5_gg_",
|
|
15
|
+
"_position_bottom": "_position_bottom_112b5_gg_",
|
|
16
|
+
"_position_right": "_position_right_112b5_gg_",
|
|
17
|
+
"_position_left": "_position_left_112b5_gg_",
|
|
18
|
+
"__SBackground": "___SBackground_112b5_gg_",
|
|
19
|
+
"__SStripes": "___SStripes_112b5_gg_",
|
|
20
|
+
"--fill": "--fill_112b5",
|
|
21
|
+
"__SStripesPatternPath": "___SStripesPatternPath_112b5_gg_"
|
|
22
22
|
});
|
|
23
23
|
import { scaleOfBandwidth } from './utils';
|
|
24
24
|
const side2direction = {
|
package/lib/es6/ScatterPlot.js
CHANGED
|
@@ -9,17 +9,17 @@ import React from 'react';
|
|
|
9
9
|
import createElement from './createElement';
|
|
10
10
|
import { PatternFill } from './Pattern';
|
|
11
11
|
/*!__reshadow-styles__:"./style/scatterplot.shadow.css"*/
|
|
12
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
12
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SScatterPlot_1fqya_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1fqya);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1fqya_gg_:hover{opacity:.8}}.___SScatterPlot_1fqya_gg_.__color_1fqya_gg_{fill:var(--color_1fqya)}.___SScatterPlot_1fqya_gg_.__pattern_1fqya_gg_.__color_1fqya_gg_{fill:var(--pattern_1fqya);stroke:var(--color_1fqya);stroke-width:1px}.___SScatterPlot_1fqya_gg_.__transparent_1fqya_gg_{opacity:.3}.___SValue_1fqya_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1fqya_gg_.__color_1fqya_gg_{stroke:var(--color_1fqya)}.___SValue_1fqya_gg_.__transparent_1fqya_gg_{opacity:.3}", /*__inner_css_end__*/"1fqya_gg_"),
|
|
13
13
|
/*__reshadow_css_end__*/
|
|
14
14
|
{
|
|
15
|
-
"__SScatterPlot": "
|
|
16
|
-
"_color": "
|
|
17
|
-
"--color": "--
|
|
18
|
-
"_pattern": "
|
|
19
|
-
"--pattern": "--
|
|
20
|
-
"_transparent": "
|
|
21
|
-
"__SValue": "
|
|
22
|
-
"--duration": "--
|
|
15
|
+
"__SScatterPlot": "___SScatterPlot_1fqya_gg_",
|
|
16
|
+
"_color": "__color_1fqya_gg_",
|
|
17
|
+
"--color": "--color_1fqya",
|
|
18
|
+
"_pattern": "__pattern_1fqya_gg_",
|
|
19
|
+
"--pattern": "--pattern_1fqya",
|
|
20
|
+
"_transparent": "__transparent_1fqya_gg_",
|
|
21
|
+
"__SValue": "___SValue_1fqya_gg_",
|
|
22
|
+
"--duration": "--duration_1fqya"
|
|
23
23
|
});
|
|
24
24
|
import Tooltip from './Tooltip';
|
|
25
25
|
import { getScatterPlotRadius } from './utils';
|
package/lib/es6/Tooltip.js
CHANGED
|
@@ -13,17 +13,17 @@ import React from 'react';
|
|
|
13
13
|
import createElement from './createElement';
|
|
14
14
|
import { PatternSymbol } from './Pattern';
|
|
15
15
|
/*!__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
|
16
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
16
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___STooltip_942l4_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_942l4_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_942l4_gg_{display:flex;align-items:center}.___SDot_942l4_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_942l4_gg_.__color_942l4_gg_{background-color:var(--color_942l4);width:8px;height:8px;border-radius:50%}.___SFooter_942l4_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__*/"942l4_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__STooltip": "
|
|
20
|
-
"__STitle": "
|
|
21
|
-
"__SDotGroup": "
|
|
22
|
-
"__SDot": "
|
|
23
|
-
"__SDotCircle": "
|
|
24
|
-
"_color": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"__SFooter": "
|
|
19
|
+
"__STooltip": "___STooltip_942l4_gg_",
|
|
20
|
+
"__STitle": "___STitle_942l4_gg_",
|
|
21
|
+
"__SDotGroup": "___SDotGroup_942l4_gg_",
|
|
22
|
+
"__SDot": "___SDot_942l4_gg_",
|
|
23
|
+
"__SDotCircle": "___SDotCircle_942l4_gg_",
|
|
24
|
+
"_color": "__color_942l4_gg_",
|
|
25
|
+
"--color": "--color_942l4",
|
|
26
|
+
"__SFooter": "___SFooter_942l4_gg_"
|
|
27
27
|
});
|
|
28
28
|
import { getChartDefaultColorName } from './utils';
|
|
29
29
|
|
package/lib/es6/Venn.js
CHANGED
|
@@ -12,17 +12,17 @@ import React from 'react';
|
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
import { PatternFill } from './Pattern';
|
|
14
14
|
/*!__reshadow-styles__:"./style/venn.shadow.css"*/
|
|
15
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
15
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SCircle_1pi5b_gg_,.___SIntersection_1pi5b_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_1pi5b_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_1pi5b);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_1pi5b_gg_:hover{fill-opacity:.7}}.___SCircle_1pi5b_gg_.__color_1pi5b_gg_{fill:var(--color_1pi5b)}.___SCircle_1pi5b_gg_.__pattern_1pi5b_gg_.__color_1pi5b_gg_{fill:var(--pattern_1pi5b);fill-opacity:.7;stroke:var(--color_1pi5b);stroke-width:1px}@media (hover:hover){.___SCircle_1pi5b_gg_.__pattern_1pi5b_gg_.__color_1pi5b_gg_:hover{fill-opacity:.85}}.___SCircle_1pi5b_gg_.__transparent_1pi5b_gg_{opacity:.3}.___SIntersection_1pi5b_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_1pi5b_gg_:hover{fill-opacity:.1}}.___SIntersection_1pi5b_gg_.__transparent_1pi5b_gg_{opacity:.3}", /*__inner_css_end__*/"1pi5b_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SCircle": "
|
|
19
|
-
"_color": "
|
|
20
|
-
"--color": "--
|
|
21
|
-
"_transparent": "
|
|
22
|
-
"__SIntersection": "
|
|
23
|
-
"--duration": "--
|
|
24
|
-
"_pattern": "
|
|
25
|
-
"--pattern": "--
|
|
18
|
+
"__SCircle": "___SCircle_1pi5b_gg_",
|
|
19
|
+
"_color": "__color_1pi5b_gg_",
|
|
20
|
+
"--color": "--color_1pi5b",
|
|
21
|
+
"_transparent": "__transparent_1pi5b_gg_",
|
|
22
|
+
"__SIntersection": "___SIntersection_1pi5b_gg_",
|
|
23
|
+
"--duration": "--duration_1pi5b",
|
|
24
|
+
"_pattern": "__pattern_1pi5b_gg_",
|
|
25
|
+
"--pattern": "--pattern_1pi5b"
|
|
26
26
|
});
|
|
27
27
|
import Tooltip from './Tooltip';
|
|
28
28
|
import { getChartDefaultColorName } from './utils';
|
|
@@ -7,10 +7,10 @@ import { Context as I18nContext, useI18n } from '@semcore/core/lib/utils/enhance
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { normalizeLocale } from './locale';
|
|
9
9
|
/*!__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
|
|
10
|
-
const styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
10
|
+
const styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlotA11yModule_1t4qj_gg_{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0,}", /*__inner_css_end__*/"1t4qj_gg_"),
|
|
11
11
|
/*__reshadow_css_end__*/
|
|
12
12
|
{
|
|
13
|
-
"__SPlotA11yModule": "
|
|
13
|
+
"__SPlotA11yModule": "___SPlotA11yModule_1t4qj_gg_"
|
|
14
14
|
});
|
|
15
15
|
import { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';
|
|
16
16
|
export function PlotA11yModule(props) {
|
|
@@ -10,10 +10,10 @@ import { makeDataSummarizationConfig } from './hints';
|
|
|
10
10
|
import { getIntl } from './intl';
|
|
11
11
|
import { summarize } from './summarize';
|
|
12
12
|
/*!__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
|
|
13
|
-
const styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
13
|
+
const styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlotA11yView_1h3zj_gg_{position:relative;display:block;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);z-index:var(--intergalactic-z-index-overlay, 500);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_1h3zj_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1h3zj_gg_ table,.___SPlotA11yView_1h3zj_gg_ td,.___SPlotA11yView_1h3zj_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}", /*__inner_css_end__*/"1h3zj_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SPlotA11yView": "
|
|
16
|
+
"__SPlotA11yView": "___SPlotA11yView_1h3zj_gg_"
|
|
17
17
|
});
|
|
18
18
|
import { localizedMessages } from './translations/view/__intergalactic-dynamic-locales';
|
|
19
19
|
export function PlotA11yView({
|
|
@@ -15,12 +15,12 @@ import React, { Fragment } from 'react';
|
|
|
15
15
|
import { Plot, XAxis, YAxis } from '../..';
|
|
16
16
|
import { makeDataHintsContainer } from '../../a11y/hints';
|
|
17
17
|
/*!__reshadow-styles__:"../../style/abstract-chart.shadow.css"*/
|
|
18
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
18
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___STooltipChildrenWrapper_16iik_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_16iik_gg_._columnsCount_2_16iik_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_16iik_gg_._columnsCount_3_16iik_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}", /*__inner_css_end__*/"16iik_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__STooltipChildrenWrapper": "
|
|
22
|
-
"_columnsCount_2": "
|
|
23
|
-
"_columnsCount_3": "
|
|
21
|
+
"__STooltipChildrenWrapper": "___STooltipChildrenWrapper_16iik_gg_",
|
|
22
|
+
"_columnsCount_2": "_columnsCount_2_16iik_gg_",
|
|
23
|
+
"_columnsCount_3": "_columnsCount_3_16iik_gg_"
|
|
24
24
|
});
|
|
25
25
|
import { interpolateValue } from '../../utils';
|
|
26
26
|
import ChartLegend, { ChartLegendTable } from '../ChartLegend';
|
|
@@ -8,12 +8,12 @@ import i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
|
8
8
|
import Divider from '@semcore/divider';
|
|
9
9
|
import React from 'react';
|
|
10
10
|
/*!__reshadow-styles__:"./legend-flex.shadow.css"*/
|
|
11
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
11
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLegendFlex_1x0kb_gg_._direction_row_1x0kb_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_1x0kb_gg_._direction_column_1x0kb_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}", /*__inner_css_end__*/"1x0kb_gg_"),
|
|
12
12
|
/*__reshadow_css_end__*/
|
|
13
13
|
{
|
|
14
|
-
"__SLegendFlex": "
|
|
15
|
-
"_direction_row": "
|
|
16
|
-
"_direction_column": "
|
|
14
|
+
"__SLegendFlex": "___SLegendFlex_1x0kb_gg_",
|
|
15
|
+
"_direction_row": "_direction_row_1x0kb_gg_",
|
|
16
|
+
"_direction_column": "_direction_column_1x0kb_gg_"
|
|
17
17
|
});
|
|
18
18
|
import { localizedMessages } from '../../../translations/__intergalactic-dynamic-locales';
|
|
19
19
|
import { BaseLegend } from '../BaseLegend';
|
|
@@ -14,25 +14,25 @@ import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
|
|
|
14
14
|
import { Text as TypographyText } from '@semcore/typography';
|
|
15
15
|
import React from 'react';
|
|
16
16
|
/*!__reshadow-styles__:"./legend-item.shadow.css"*/
|
|
17
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
17
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLegendItem_11yr1_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_11yr1_gg_:hover{cursor:pointer}.___SLegendItem_11yr1_gg_.__disabled_11yr1_gg_:hover{cursor:default}}.___SPointShape_11yr1_gg_.__color_11yr1_gg_{background-color:var(--color_11yr1);margin-right:8px;flex-shrink:0}.___SPointShape_11yr1_gg_._shape_Circle_11yr1_gg_._size_l_11yr1_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_11yr1_gg_._shape_Circle_11yr1_gg_._size_m_11yr1_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_11yr1_gg_._shape_Line_11yr1_gg_._size_l_11yr1_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_11yr1_gg_._shape_Line_11yr1_gg_._size_m_11yr1_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_11yr1_gg_._shape_Square_11yr1_gg_._size_l_11yr1_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_11yr1_gg_._shape_Square_11yr1_gg_._size_m_11yr1_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_11yr1_gg_._shape_Pattern_11yr1_gg_{background-color:transparent;margin-right:4px}.___SIcon_11yr1_gg_{line-height:0;margin-right:4px}.___SIcon_11yr1_gg_._size_l_11yr1_gg_{margin-top:4px}.___SIcon_11yr1_gg_._size_m_11yr1_gg_{margin-top:2px}.___SLabel_11yr1_gg_{min-width:0}.___SAdditionalLabel_11yr1_gg_._size_l_11yr1_gg_,.___SCount_11yr1_gg_._size_l_11yr1_gg_,.___SLabel_11yr1_gg_._size_l_11yr1_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_11yr1_gg_._size_m_11yr1_gg_,.___SCount_11yr1_gg_._size_m_11yr1_gg_,.___SLabel_11yr1_gg_._size_m_11yr1_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_11yr1_gg_,.___SCount_11yr1_gg_{margin-left:4px}.___SAdditionalLabel_11yr1_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_11yr1_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_11yr1_gg_._size_l_11yr1_gg_::before{margin-top:10px}.___SAdditionalLabel_11yr1_gg_._size_m_11yr1_gg_::before{margin-top:8px}.___SPatternSymbol_11yr1_gg_{transform:scale(.8)}", /*__inner_css_end__*/"11yr1_gg_"),
|
|
18
18
|
/*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SLegendItem": "
|
|
21
|
-
"_disabled": "
|
|
22
|
-
"__SPointShape": "
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_shape_Circle": "
|
|
26
|
-
"_size_l": "
|
|
27
|
-
"_size_m": "
|
|
28
|
-
"_shape_Line": "
|
|
29
|
-
"_shape_Square": "
|
|
30
|
-
"_shape_Pattern": "
|
|
31
|
-
"__SIcon": "
|
|
32
|
-
"__SLabel": "
|
|
33
|
-
"__SAdditionalLabel": "
|
|
34
|
-
"__SCount": "
|
|
35
|
-
"__SPatternSymbol": "
|
|
20
|
+
"__SLegendItem": "___SLegendItem_11yr1_gg_",
|
|
21
|
+
"_disabled": "__disabled_11yr1_gg_",
|
|
22
|
+
"__SPointShape": "___SPointShape_11yr1_gg_",
|
|
23
|
+
"_color": "__color_11yr1_gg_",
|
|
24
|
+
"--color": "--color_11yr1",
|
|
25
|
+
"_shape_Circle": "_shape_Circle_11yr1_gg_",
|
|
26
|
+
"_size_l": "_size_l_11yr1_gg_",
|
|
27
|
+
"_size_m": "_size_m_11yr1_gg_",
|
|
28
|
+
"_shape_Line": "_shape_Line_11yr1_gg_",
|
|
29
|
+
"_shape_Square": "_shape_Square_11yr1_gg_",
|
|
30
|
+
"_shape_Pattern": "_shape_Pattern_11yr1_gg_",
|
|
31
|
+
"__SIcon": "___SIcon_11yr1_gg_",
|
|
32
|
+
"__SLabel": "___SLabel_11yr1_gg_",
|
|
33
|
+
"__SAdditionalLabel": "___SAdditionalLabel_11yr1_gg_",
|
|
34
|
+
"__SCount": "___SCount_11yr1_gg_",
|
|
35
|
+
"__SPatternSymbol": "___SPatternSymbol_11yr1_gg_"
|
|
36
36
|
});
|
|
37
37
|
import { StaticShapes } from './LegendItem.type';
|
|
38
38
|
import { PatternSymbol } from '../../../Pattern';
|
|
@@ -6,14 +6,14 @@ import { Box } from '@semcore/base-components';
|
|
|
6
6
|
import { createComponent, sstyled, Root } from '@semcore/core';
|
|
7
7
|
import React from 'react';
|
|
8
8
|
/*!__reshadow-styles__:"./legend-table.shadow.css"*/
|
|
9
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
9
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLegendTable_1ep80_gg_.__columns-count_1ep80_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_1ep80_gg_._size_l_1ep80_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_1ep80_gg_._size_m_1ep80_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}", /*__inner_css_end__*/"1ep80_gg_"),
|
|
10
10
|
/*__reshadow_css_end__*/
|
|
11
11
|
{
|
|
12
|
-
"__SLegendTable": "
|
|
13
|
-
"_columns-count": "__columns-
|
|
14
|
-
"__SColumnItem": "
|
|
15
|
-
"_size_l": "
|
|
16
|
-
"_size_m": "
|
|
12
|
+
"__SLegendTable": "___SLegendTable_1ep80_gg_",
|
|
13
|
+
"_columns-count": "__columns-count_1ep80_gg_",
|
|
14
|
+
"__SColumnItem": "___SColumnItem_1ep80_gg_",
|
|
15
|
+
"_size_l": "_size_l_1ep80_gg_",
|
|
16
|
+
"_size_m": "_size_m_1ep80_gg_"
|
|
17
17
|
});
|
|
18
18
|
import { BaseLegend } from '../BaseLegend';
|
|
19
19
|
import { LegendItemComponent } from '../LegendItem/LegendItem';
|
package/lib/esm/Area.mjs
CHANGED
|
@@ -11,25 +11,26 @@ import createElement from "./createElement.mjs";
|
|
|
11
11
|
import Dots from "./Dots.mjs";
|
|
12
12
|
import { PatternFill } from "./Pattern.mjs";
|
|
13
13
|
import { interpolateValue, getNullData, definedNullData, eventToPoint, invert, definedData, scaleOfBandwidth } from "./utils.mjs";
|
|
14
|
+
/*!__reshadow-styles__:"./style/area.shadow.css"*/
|
|
14
15
|
const style = (
|
|
15
16
|
/*__reshadow_css_start__*/
|
|
16
17
|
(sstyled.insert(
|
|
17
18
|
/*__inner_css_start__*/
|
|
18
|
-
".
|
|
19
|
+
".___SArea_3iood_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_3iood_gg_.__color_3iood_gg_{fill:var(--color_3iood)}.___SArea_3iood_gg_.__pattern_3iood_gg_{fill:var(--pattern_3iood);fill-opacity:.7}.___SArea_3iood_gg_.__transparent_3iood_gg_{opacity:.3}.___SAreaLine_3iood_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_3iood_gg_.__color_3iood_gg_{stroke:var(--color_3iood)}.___SAreaLine_3iood_gg_.__transparent_3iood_gg_{opacity:.3}.___SAreaLine_3iood_gg_,.___SArea_3iood_gg_{transition-property:d;transition-duration:var(--duration_3iood);transition-timing-function:ease-in-out}.___SNull_3iood_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_3iood_gg_.__hide_3iood_gg_{display:none}",
|
|
19
20
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
21
|
+
"3iood_gg_"
|
|
21
22
|
), /*__reshadow_css_end__*/
|
|
22
23
|
{
|
|
23
|
-
"__SArea": "
|
|
24
|
-
"_color": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"_pattern": "
|
|
27
|
-
"--pattern": "--
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"__SAreaLine": "
|
|
30
|
-
"--duration": "--
|
|
31
|
-
"__SNull": "
|
|
32
|
-
"_hide": "
|
|
24
|
+
"__SArea": "___SArea_3iood_gg_",
|
|
25
|
+
"_color": "__color_3iood_gg_",
|
|
26
|
+
"--color": "--color_3iood",
|
|
27
|
+
"_pattern": "__pattern_3iood_gg_",
|
|
28
|
+
"--pattern": "--pattern_3iood",
|
|
29
|
+
"_transparent": "__transparent_3iood_gg_",
|
|
30
|
+
"__SAreaLine": "___SAreaLine_3iood_gg_",
|
|
31
|
+
"--duration": "--duration_3iood",
|
|
32
|
+
"__SNull": "___SNull_3iood_gg_",
|
|
33
|
+
"_hide": "__hide_3iood_gg_"
|
|
33
34
|
})
|
|
34
35
|
);
|
|
35
36
|
class AreaRoot extends Component {
|
package/lib/esm/Axis.mjs
CHANGED
|
@@ -4,30 +4,31 @@ import { sstyled, Component } from "@semcore/core";
|
|
|
4
4
|
import React, { useState, useEffect } from "react";
|
|
5
5
|
import createElement from "./createElement.mjs";
|
|
6
6
|
import { scaleOfBandwidth } from "./utils.mjs";
|
|
7
|
+
/*!__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
7
8
|
const style = (
|
|
8
9
|
/*__reshadow_css_start__*/
|
|
9
10
|
(sstyled.insert(
|
|
10
11
|
/*__inner_css_start__*/
|
|
11
|
-
".
|
|
12
|
+
".___SAxis_1po6x_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1po6x_gg_.__hide_1po6x_gg_{display:none}.___STick_1po6x_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___STick_1po6x_gg_.__primaryText_1po6x_gg_{fill:var(--intergalactic-text-primary, #191b23)}.___STick_1po6x_gg_.__hide_1po6x_gg_{display:none}.___SGrid_1po6x_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1po6x_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1po6x)}.___STitle_1po6x_gg_._position_top_1po6x_gg_{text-anchor:middle}.___STitle_1po6x_gg_._position_bottom_1po6x_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1po6x_gg_._position_left_1po6x_gg_,.___STitle_1po6x_gg_._position_right_1po6x_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_1po6x_gg_._position_left_1po6x_gg_.__verticalWritingMode_1po6x_gg_,.___STitle_1po6x_gg_._position_right_1po6x_gg_.__verticalWritingMode_1po6x_gg_{writing-mode:vertical-rl;transform:none}.___STick_1po6x_gg_._position_top_1po6x_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1po6x_gg_._position_bottom_1po6x_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1po6x_gg_._position_bottom_1po6x_gg_ tspan{dominant-baseline:hanging}.___STick_1po6x_gg_._position_right_1po6x_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_1po6x_gg_._position_left_1po6x_gg_ tspan,.___STick_1po6x_gg_._position_right_1po6x_gg_ tspan{dominant-baseline:middle}.___STick_1po6x_gg_._position_left_1po6x_gg_.__multiline_1po6x_gg_,.___STick_1po6x_gg_._position_left_1po6x_gg_.__multiline_1po6x_gg_ tspan,.___STick_1po6x_gg_._position_right_1po6x_gg_.__multiline_1po6x_gg_,.___STick_1po6x_gg_._position_right_1po6x_gg_.__multiline_1po6x_gg_ tspan{dominant-baseline:auto}.___STick_1po6x_gg_._position_left_1po6x_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_1po6x_gg_._position_custom_0_1po6x_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1po6x_gg_._position_custom_0_1po6x_gg_ tspan{dominant-baseline:hanging}.___STick_1po6x_gg_._position_custom_1_1po6x_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_1po6x_gg_._position_custom_1_1po6x_gg_ tspan{dominant-baseline:middle}",
|
|
12
13
|
/*__inner_css_end__*/
|
|
13
|
-
"
|
|
14
|
+
"1po6x_gg_"
|
|
14
15
|
), /*__reshadow_css_end__*/
|
|
15
16
|
{
|
|
16
|
-
"__SAxis": "
|
|
17
|
-
"_hide": "
|
|
18
|
-
"__STick": "
|
|
19
|
-
"_primaryText": "
|
|
20
|
-
"__SGrid": "
|
|
21
|
-
"__STitle": "
|
|
22
|
-
"--transform-origin": "--transform-
|
|
23
|
-
"_position_top": "
|
|
24
|
-
"_position_bottom": "
|
|
25
|
-
"_position_right": "
|
|
26
|
-
"_position_left": "
|
|
27
|
-
"_verticalWritingMode": "
|
|
28
|
-
"_multiline": "
|
|
29
|
-
"_position_custom_0": "
|
|
30
|
-
"_position_custom_1": "
|
|
17
|
+
"__SAxis": "___SAxis_1po6x_gg_",
|
|
18
|
+
"_hide": "__hide_1po6x_gg_",
|
|
19
|
+
"__STick": "___STick_1po6x_gg_",
|
|
20
|
+
"_primaryText": "__primaryText_1po6x_gg_",
|
|
21
|
+
"__SGrid": "___SGrid_1po6x_gg_",
|
|
22
|
+
"__STitle": "___STitle_1po6x_gg_",
|
|
23
|
+
"--transform-origin": "--transform-origin_1po6x",
|
|
24
|
+
"_position_top": "_position_top_1po6x_gg_",
|
|
25
|
+
"_position_bottom": "_position_bottom_1po6x_gg_",
|
|
26
|
+
"_position_right": "_position_right_1po6x_gg_",
|
|
27
|
+
"_position_left": "_position_left_1po6x_gg_",
|
|
28
|
+
"_verticalWritingMode": "__verticalWritingMode_1po6x_gg_",
|
|
29
|
+
"_multiline": "__multiline_1po6x_gg_",
|
|
30
|
+
"_position_custom_0": "_position_custom_0_1po6x_gg_",
|
|
31
|
+
"_position_custom_1": "_position_custom_1_1po6x_gg_"
|
|
31
32
|
})
|
|
32
33
|
);
|
|
33
34
|
const CUSTOM_0 = /* @__PURE__ */ Symbol("custom_0");
|
package/lib/esm/Bar.mjs
CHANGED
|
@@ -7,30 +7,31 @@ import AnimatedClipPath from "./AnimatedClipPath.mjs";
|
|
|
7
7
|
import createElement from "./createElement.mjs";
|
|
8
8
|
import { PatternFill } from "./Pattern.mjs";
|
|
9
9
|
import { scaleToBand, roundedPath } from "./utils.mjs";
|
|
10
|
+
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
10
11
|
const style = (
|
|
11
12
|
/*__reshadow_css_start__*/
|
|
12
13
|
(sstyled.insert(
|
|
13
14
|
/*__inner_css_start__*/
|
|
14
|
-
".
|
|
15
|
+
".___SBar_12z5v_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_12z5v);transition-timing-function:ease-in-out}.___SBar_12z5v_gg_.__color_12z5v_gg_{fill:var(--color_12z5v)}.___SBar_12z5v_gg_.__pattern_12z5v_gg_.__color_12z5v_gg_{fill:var(--pattern_12z5v);stroke:var(--color_12z5v);stroke-width:1px}.___SBar_12z5v_gg_.__hide_12z5v_gg_{display:none}.___SBar_12z5v_gg_.__transparent_12z5v_gg_{opacity:.3}.___SBackground_12z5v_gg_.__onClick_12z5v_gg_,.___SBar_12z5v_gg_.__onClick_12z5v_gg_{cursor:pointer}.___SBackground_12z5v_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_12z5v_gg_{display:flex;justify-content:space-between}.___SBarLabel_12z5v_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_12z5v_gg_,.___SBarPercent_12z5v_gg_,.___SBarValue_12z5v_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_12z5v_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_12z5v_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_12z5v_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
15
16
|
/*__inner_css_end__*/
|
|
16
|
-
"
|
|
17
|
+
"12z5v_gg_"
|
|
17
18
|
), /*__reshadow_css_end__*/
|
|
18
19
|
{
|
|
19
|
-
"__SBar": "
|
|
20
|
-
"--duration": "--
|
|
21
|
-
"_color": "
|
|
22
|
-
"--color": "--
|
|
23
|
-
"_pattern": "
|
|
24
|
-
"--pattern": "--
|
|
25
|
-
"_hide": "
|
|
26
|
-
"_transparent": "
|
|
27
|
-
"_onClick": "
|
|
28
|
-
"__SBackground": "
|
|
29
|
-
"__SBarAnnotation": "
|
|
30
|
-
"__SBarLabel": "
|
|
31
|
-
"__SBarPercent": "
|
|
32
|
-
"__SBarValue": "
|
|
33
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
20
|
+
"__SBar": "___SBar_12z5v_gg_",
|
|
21
|
+
"--duration": "--duration_12z5v",
|
|
22
|
+
"_color": "__color_12z5v_gg_",
|
|
23
|
+
"--color": "--color_12z5v",
|
|
24
|
+
"_pattern": "__pattern_12z5v_gg_",
|
|
25
|
+
"--pattern": "--pattern_12z5v",
|
|
26
|
+
"_hide": "__hide_12z5v_gg_",
|
|
27
|
+
"_transparent": "__transparent_12z5v_gg_",
|
|
28
|
+
"_onClick": "__onClick_12z5v_gg_",
|
|
29
|
+
"__SBackground": "___SBackground_12z5v_gg_",
|
|
30
|
+
"__SBarAnnotation": "___SBarAnnotation_12z5v_gg_",
|
|
31
|
+
"__SBarLabel": "___SBarLabel_12z5v_gg_",
|
|
32
|
+
"__SBarPercent": "___SBarPercent_12z5v_gg_",
|
|
33
|
+
"__SBarValue": "___SBarValue_12z5v_gg_",
|
|
34
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_12z5v_gg_"
|
|
34
35
|
})
|
|
35
36
|
);
|
|
36
37
|
const MIN_HEIGHT = 2;
|