@semcore/d3-chart 17.0.0 → 17.0.2-prerelease.0
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 +12 -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/cjs/style/axis.shadow.css +0 -1
- 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/es6/style/axis.shadow.css +0 -1
- 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/lib/esm/style/axis.shadow.css +0 -1
- package/package.json +18 -18
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_pjfmb_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_pjfmb);transition-timing-function:ease-in-out}.___SLine_pjfmb_gg_.__color_pjfmb_gg_{stroke:var(--color_pjfmb)}.___SLine_pjfmb_gg_.__hide_pjfmb_gg_{display:none}.___SLine_pjfmb_gg_.__transparent_pjfmb_gg_{opacity:.3}.___SNull_pjfmb_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_pjfmb_gg_.__hide_pjfmb_gg_{display:none}.___SLineArea_pjfmb_gg_{transition-property:d;transition-duration:var(--duration_pjfmb);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_pjfmb_gg_.__color_pjfmb_gg_{fill:var(--color_pjfmb)}", /*__inner_css_end__*/"pjfmb_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_pjfmb_gg_",
|
|
17
|
+
"--duration": "--duration_pjfmb",
|
|
18
|
+
"_color": "__color_pjfmb_gg_",
|
|
19
|
+
"--color": "--color_pjfmb",
|
|
20
|
+
"_hide": "__hide_pjfmb_gg_",
|
|
21
|
+
"_transparent": "__transparent_pjfmb_gg_",
|
|
22
|
+
"__SNull": "___SNull_pjfmb_gg_",
|
|
23
|
+
"__SLineArea": "___SLineArea_pjfmb_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_efsfa_gg_{overflow:hidden}.___SPlot_efsfa_gg_:focus{outline:0}.___SPlot_efsfa_gg_:active{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_efsfa_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__*/"efsfa_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SPlot": "
|
|
16
|
+
"__SPlot": "___SPlot_efsfa_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_13fhy_gg_,.___SAxisTick_13fhy_gg_,.___SAxis_13fhy_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_13fhy_gg_,.___SAxisTick_13fhy_gg_{stroke-dasharray:2}.___SAxisLine_13fhy_gg_.__active_13fhy_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_13fhy_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_13fhy_gg_.__xDirection_13fhy_gg_{text-anchor:var(--xDirection_13fhy)}.___SAxisLabel_13fhy_gg_.__yDirection_13fhy_gg_{dominant-baseline:var(--yDirection_13fhy)}.___SPolygonDot_13fhy_gg_,.___SPolygon_13fhy_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_13fhy_gg_{opacity:.2}.___SPolygon_13fhy_gg_.__color_13fhy_gg_{fill:var(--color_13fhy)}.___SPolygon_13fhy_gg_.__pattern_13fhy_gg_.__color_13fhy_gg_{fill:var(--pattern_13fhy);stroke:var(--color_13fhy);stroke-width:1px}.___SPolygonDot_13fhy_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_13fhy_gg_.__transparent_13fhy_gg_{opacity:.3}.___SPolygonDot_13fhy_gg_.__color_13fhy_gg_{fill:var(--color_13fhy)}.___SPolygonLine_13fhy_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_13fhy_gg_.__transparent_13fhy_gg_{opacity:.3}.___SPolygonLine_13fhy_gg_.__color_13fhy_gg_{stroke:var(--color_13fhy)}.___SPieRect_13fhy_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"13fhy_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_13fhy_gg_",
|
|
19
|
+
"__SAxisLine": "___SAxisLine_13fhy_gg_",
|
|
20
|
+
"__SAxisTick": "___SAxisTick_13fhy_gg_",
|
|
21
|
+
"_active": "__active_13fhy_gg_",
|
|
22
|
+
"__SAxisLabel": "___SAxisLabel_13fhy_gg_",
|
|
23
|
+
"_xDirection": "__xDirection_13fhy_gg_",
|
|
24
|
+
"--xDirection": "--xDirection_13fhy",
|
|
25
|
+
"_yDirection": "__yDirection_13fhy_gg_",
|
|
26
|
+
"--yDirection": "--yDirection_13fhy",
|
|
27
|
+
"__SPolygon": "___SPolygon_13fhy_gg_",
|
|
28
|
+
"_color": "__color_13fhy_gg_",
|
|
29
|
+
"--color": "--color_13fhy",
|
|
30
|
+
"_pattern": "__pattern_13fhy_gg_",
|
|
31
|
+
"--pattern": "--pattern_13fhy",
|
|
32
|
+
"__SPolygonDot": "___SPolygonDot_13fhy_gg_",
|
|
33
|
+
"_transparent": "__transparent_13fhy_gg_",
|
|
34
|
+
"__SPolygonLine": "___SPolygonLine_13fhy_gg_",
|
|
35
|
+
"__SPieRect": "___SPieRect_13fhy_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_62z7u_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_62z7u_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_62z7u_gg_.__stroke_62z7u_gg_{stroke:var(--stroke_62z7u)}.___SLine_62z7u_gg_.__transparent_62z7u_gg_{opacity:.3}.___SCap_62z7u_gg_{transition:r .1s}.___SCap_62z7u_gg_.__pattern_62z7u_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_62z7u_gg_.__transparent_62z7u_gg_,.___SIcon_62z7u_gg_.__transparent_62z7u_gg_,.___SLabel_62z7u_gg_.__transparent_62z7u_gg_{opacity:.3}.___SLabel_62z7u_gg_{fill:var(--color_62z7u)}@media (hover:hover){.___SRadian_62z7u_gg_:hover .___SLabel_62z7u_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_62z7u_gg_{transition:none}}", /*__inner_css_end__*/"62z7u_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_62z7u_gg_",
|
|
17
|
+
"__SLine": "___SLine_62z7u_gg_",
|
|
18
|
+
"_stroke": "__stroke_62z7u_gg_",
|
|
19
|
+
"--stroke": "--stroke_62z7u",
|
|
20
|
+
"_transparent": "__transparent_62z7u_gg_",
|
|
21
|
+
"__SCap": "___SCap_62z7u_gg_",
|
|
22
|
+
"_pattern": "__pattern_62z7u_gg_",
|
|
23
|
+
"__SIcon": "___SIcon_62z7u_gg_",
|
|
24
|
+
"__SLabel": "___SLabel_62z7u_gg_",
|
|
25
|
+
"--color": "--color_62z7u",
|
|
26
|
+
"__SLineCap": "___SLineCap_62z7u_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_jgy4n_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_jgy4n_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_jgy4n)}.___STitle_jgy4n_gg_._position_top_jgy4n_gg_{text-anchor:middle}.___STitle_jgy4n_gg_._position_bottom_jgy4n_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_jgy4n_gg_._position_left_jgy4n_gg_,.___STitle_jgy4n_gg_._position_right_jgy4n_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_jgy4n_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_jgy4n_gg_{fill:var(--fill_jgy4n)}.___SStripesPatternPath_jgy4n_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}", /*__inner_css_end__*/"jgy4n_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_jgy4n_gg_",
|
|
12
|
+
"__STitle": "___STitle_jgy4n_gg_",
|
|
13
|
+
"--transform-origin": "--transform-origin_jgy4n",
|
|
14
|
+
"_position_top": "_position_top_jgy4n_gg_",
|
|
15
|
+
"_position_bottom": "_position_bottom_jgy4n_gg_",
|
|
16
|
+
"_position_right": "_position_right_jgy4n_gg_",
|
|
17
|
+
"_position_left": "_position_left_jgy4n_gg_",
|
|
18
|
+
"__SBackground": "___SBackground_jgy4n_gg_",
|
|
19
|
+
"__SStripes": "___SStripes_jgy4n_gg_",
|
|
20
|
+
"--fill": "--fill_jgy4n",
|
|
21
|
+
"__SStripesPatternPath": "___SStripesPatternPath_jgy4n_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_93f9v_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_93f9v);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_93f9v_gg_:hover{opacity:.8}}.___SScatterPlot_93f9v_gg_.__color_93f9v_gg_{fill:var(--color_93f9v)}.___SScatterPlot_93f9v_gg_.__pattern_93f9v_gg_.__color_93f9v_gg_{fill:var(--pattern_93f9v);stroke:var(--color_93f9v);stroke-width:1px}.___SScatterPlot_93f9v_gg_.__transparent_93f9v_gg_{opacity:.3}.___SValue_93f9v_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_93f9v_gg_.__color_93f9v_gg_{stroke:var(--color_93f9v)}.___SValue_93f9v_gg_.__transparent_93f9v_gg_{opacity:.3}", /*__inner_css_end__*/"93f9v_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_93f9v_gg_",
|
|
16
|
+
"_color": "__color_93f9v_gg_",
|
|
17
|
+
"--color": "--color_93f9v",
|
|
18
|
+
"_pattern": "__pattern_93f9v_gg_",
|
|
19
|
+
"--pattern": "--pattern_93f9v",
|
|
20
|
+
"_transparent": "__transparent_93f9v_gg_",
|
|
21
|
+
"__SValue": "___SValue_93f9v_gg_",
|
|
22
|
+
"--duration": "--duration_93f9v"
|
|
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_h598b_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_h598b_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_h598b_gg_{display:flex;align-items:center}.___SDot_h598b_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_h598b_gg_.__color_h598b_gg_{background-color:var(--color_h598b);width:8px;height:8px;border-radius:50%}.___SFooter_h598b_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__*/"h598b_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_h598b_gg_",
|
|
20
|
+
"__STitle": "___STitle_h598b_gg_",
|
|
21
|
+
"__SDotGroup": "___SDotGroup_h598b_gg_",
|
|
22
|
+
"__SDot": "___SDot_h598b_gg_",
|
|
23
|
+
"__SDotCircle": "___SDotCircle_h598b_gg_",
|
|
24
|
+
"_color": "__color_h598b_gg_",
|
|
25
|
+
"--color": "--color_h598b",
|
|
26
|
+
"__SFooter": "___SFooter_h598b_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_37mg9_gg_,.___SIntersection_37mg9_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_37mg9_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_37mg9);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_37mg9_gg_:hover{fill-opacity:.7}}.___SCircle_37mg9_gg_.__color_37mg9_gg_{fill:var(--color_37mg9)}.___SCircle_37mg9_gg_.__pattern_37mg9_gg_.__color_37mg9_gg_{fill:var(--pattern_37mg9);fill-opacity:.7;stroke:var(--color_37mg9);stroke-width:1px}@media (hover:hover){.___SCircle_37mg9_gg_.__pattern_37mg9_gg_.__color_37mg9_gg_:hover{fill-opacity:.85}}.___SCircle_37mg9_gg_.__transparent_37mg9_gg_{opacity:.3}.___SIntersection_37mg9_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_37mg9_gg_:hover{fill-opacity:.1}}.___SIntersection_37mg9_gg_.__transparent_37mg9_gg_{opacity:.3}", /*__inner_css_end__*/"37mg9_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_37mg9_gg_",
|
|
19
|
+
"_color": "__color_37mg9_gg_",
|
|
20
|
+
"--color": "--color_37mg9",
|
|
21
|
+
"_transparent": "__transparent_37mg9_gg_",
|
|
22
|
+
"__SIntersection": "___SIntersection_37mg9_gg_",
|
|
23
|
+
"--duration": "--duration_37mg9",
|
|
24
|
+
"_pattern": "__pattern_37mg9_gg_",
|
|
25
|
+
"--pattern": "--pattern_37mg9"
|
|
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_oaoqy_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__*/"oaoqy_gg_"),
|
|
11
11
|
/*__reshadow_css_end__*/
|
|
12
12
|
{
|
|
13
|
-
"__SPlotA11yModule": "
|
|
13
|
+
"__SPlotA11yModule": "___SPlotA11yModule_oaoqy_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_omqvl_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_omqvl_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_omqvl_gg_ table,.___SPlotA11yView_omqvl_gg_ td,.___SPlotA11yView_omqvl_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}", /*__inner_css_end__*/"omqvl_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SPlotA11yView": "
|
|
16
|
+
"__SPlotA11yView": "___SPlotA11yView_omqvl_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_q3xi3_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_q3xi3_gg_._columnsCount_2_q3xi3_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_q3xi3_gg_._columnsCount_3_q3xi3_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}", /*__inner_css_end__*/"q3xi3_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__STooltipChildrenWrapper": "
|
|
22
|
-
"_columnsCount_2": "
|
|
23
|
-
"_columnsCount_3": "
|
|
21
|
+
"__STooltipChildrenWrapper": "___STooltipChildrenWrapper_q3xi3_gg_",
|
|
22
|
+
"_columnsCount_2": "_columnsCount_2_q3xi3_gg_",
|
|
23
|
+
"_columnsCount_3": "_columnsCount_3_q3xi3_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_5sqwz_gg_._direction_row_5sqwz_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_5sqwz_gg_._direction_column_5sqwz_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}", /*__inner_css_end__*/"5sqwz_gg_"),
|
|
12
12
|
/*__reshadow_css_end__*/
|
|
13
13
|
{
|
|
14
|
-
"__SLegendFlex": "
|
|
15
|
-
"_direction_row": "
|
|
16
|
-
"_direction_column": "
|
|
14
|
+
"__SLegendFlex": "___SLegendFlex_5sqwz_gg_",
|
|
15
|
+
"_direction_row": "_direction_row_5sqwz_gg_",
|
|
16
|
+
"_direction_column": "_direction_column_5sqwz_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_1h1ww_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1h1ww_gg_:hover{cursor:pointer}.___SLegendItem_1h1ww_gg_.__disabled_1h1ww_gg_:hover{cursor:default}}.___SPointShape_1h1ww_gg_.__color_1h1ww_gg_{background-color:var(--color_1h1ww);margin-right:8px;flex-shrink:0}.___SPointShape_1h1ww_gg_._shape_Circle_1h1ww_gg_._size_l_1h1ww_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1h1ww_gg_._shape_Circle_1h1ww_gg_._size_m_1h1ww_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1h1ww_gg_._shape_Line_1h1ww_gg_._size_l_1h1ww_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1h1ww_gg_._shape_Line_1h1ww_gg_._size_m_1h1ww_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1h1ww_gg_._shape_Square_1h1ww_gg_._size_l_1h1ww_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1h1ww_gg_._shape_Square_1h1ww_gg_._size_m_1h1ww_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1h1ww_gg_._shape_Pattern_1h1ww_gg_{background-color:transparent;margin-right:4px}.___SIcon_1h1ww_gg_{line-height:0;margin-right:4px}.___SIcon_1h1ww_gg_._size_l_1h1ww_gg_{margin-top:4px}.___SIcon_1h1ww_gg_._size_m_1h1ww_gg_{margin-top:2px}.___SLabel_1h1ww_gg_{min-width:0}.___SAdditionalLabel_1h1ww_gg_._size_l_1h1ww_gg_,.___SCount_1h1ww_gg_._size_l_1h1ww_gg_,.___SLabel_1h1ww_gg_._size_l_1h1ww_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1h1ww_gg_._size_m_1h1ww_gg_,.___SCount_1h1ww_gg_._size_m_1h1ww_gg_,.___SLabel_1h1ww_gg_._size_m_1h1ww_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1h1ww_gg_,.___SCount_1h1ww_gg_{margin-left:4px}.___SAdditionalLabel_1h1ww_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1h1ww_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_1h1ww_gg_._size_l_1h1ww_gg_::before{margin-top:10px}.___SAdditionalLabel_1h1ww_gg_._size_m_1h1ww_gg_::before{margin-top:8px}.___SPatternSymbol_1h1ww_gg_{transform:scale(.8)}", /*__inner_css_end__*/"1h1ww_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_1h1ww_gg_",
|
|
21
|
+
"_disabled": "__disabled_1h1ww_gg_",
|
|
22
|
+
"__SPointShape": "___SPointShape_1h1ww_gg_",
|
|
23
|
+
"_color": "__color_1h1ww_gg_",
|
|
24
|
+
"--color": "--color_1h1ww",
|
|
25
|
+
"_shape_Circle": "_shape_Circle_1h1ww_gg_",
|
|
26
|
+
"_size_l": "_size_l_1h1ww_gg_",
|
|
27
|
+
"_size_m": "_size_m_1h1ww_gg_",
|
|
28
|
+
"_shape_Line": "_shape_Line_1h1ww_gg_",
|
|
29
|
+
"_shape_Square": "_shape_Square_1h1ww_gg_",
|
|
30
|
+
"_shape_Pattern": "_shape_Pattern_1h1ww_gg_",
|
|
31
|
+
"__SIcon": "___SIcon_1h1ww_gg_",
|
|
32
|
+
"__SLabel": "___SLabel_1h1ww_gg_",
|
|
33
|
+
"__SAdditionalLabel": "___SAdditionalLabel_1h1ww_gg_",
|
|
34
|
+
"__SCount": "___SCount_1h1ww_gg_",
|
|
35
|
+
"__SPatternSymbol": "___SPatternSymbol_1h1ww_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_9jglg_gg_.__columns-count_9jglg_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_9jglg_gg_._size_l_9jglg_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_9jglg_gg_._size_m_9jglg_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}", /*__inner_css_end__*/"9jglg_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_9jglg_gg_",
|
|
13
|
+
"_columns-count": "__columns-count_9jglg_gg_",
|
|
14
|
+
"__SColumnItem": "___SColumnItem_9jglg_gg_",
|
|
15
|
+
"_size_l": "_size_l_9jglg_gg_",
|
|
16
|
+
"_size_m": "_size_m_9jglg_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_1je09_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_1je09_gg_.__color_1je09_gg_{fill:var(--color_1je09)}.___SArea_1je09_gg_.__pattern_1je09_gg_{fill:var(--pattern_1je09);fill-opacity:.7}.___SArea_1je09_gg_.__transparent_1je09_gg_{opacity:.3}.___SAreaLine_1je09_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1je09_gg_.__color_1je09_gg_{stroke:var(--color_1je09)}.___SAreaLine_1je09_gg_.__transparent_1je09_gg_{opacity:.3}.___SAreaLine_1je09_gg_,.___SArea_1je09_gg_{transition-property:d;transition-duration:var(--duration_1je09);transition-timing-function:ease-in-out}.___SNull_1je09_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_1je09_gg_.__hide_1je09_gg_{display:none}",
|
|
19
20
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
21
|
+
"1je09_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_1je09_gg_",
|
|
25
|
+
"_color": "__color_1je09_gg_",
|
|
26
|
+
"--color": "--color_1je09",
|
|
27
|
+
"_pattern": "__pattern_1je09_gg_",
|
|
28
|
+
"--pattern": "--pattern_1je09",
|
|
29
|
+
"_transparent": "__transparent_1je09_gg_",
|
|
30
|
+
"__SAreaLine": "___SAreaLine_1je09_gg_",
|
|
31
|
+
"--duration": "--duration_1je09",
|
|
32
|
+
"__SNull": "___SNull_1je09_gg_",
|
|
33
|
+
"_hide": "__hide_1je09_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_xn6ic_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_xn6ic_gg_.__hide_xn6ic_gg_{display:none}.___STick_xn6ic_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___STick_xn6ic_gg_.__primaryText_xn6ic_gg_{fill:var(--intergalactic-text-primary, #191b23)}.___STick_xn6ic_gg_.__hide_xn6ic_gg_{display:none}.___SGrid_xn6ic_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_xn6ic_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_xn6ic)}.___STitle_xn6ic_gg_._position_top_xn6ic_gg_{text-anchor:middle}.___STitle_xn6ic_gg_._position_bottom_xn6ic_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_xn6ic_gg_._position_left_xn6ic_gg_,.___STitle_xn6ic_gg_._position_right_xn6ic_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_xn6ic_gg_._position_left_xn6ic_gg_.__verticalWritingMode_xn6ic_gg_,.___STitle_xn6ic_gg_._position_right_xn6ic_gg_.__verticalWritingMode_xn6ic_gg_{writing-mode:vertical-rl;transform:none}.___STick_xn6ic_gg_._position_top_xn6ic_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_xn6ic_gg_._position_bottom_xn6ic_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_xn6ic_gg_._position_bottom_xn6ic_gg_ tspan{dominant-baseline:hanging}.___STick_xn6ic_gg_._position_right_xn6ic_gg_{transform:translateX(16px);dominant-baseline:middle}.___STick_xn6ic_gg_._position_left_xn6ic_gg_ tspan,.___STick_xn6ic_gg_._position_right_xn6ic_gg_ tspan{dominant-baseline:middle}.___STick_xn6ic_gg_._position_left_xn6ic_gg_.__multiline_xn6ic_gg_,.___STick_xn6ic_gg_._position_left_xn6ic_gg_.__multiline_xn6ic_gg_ tspan,.___STick_xn6ic_gg_._position_right_xn6ic_gg_.__multiline_xn6ic_gg_,.___STick_xn6ic_gg_._position_right_xn6ic_gg_.__multiline_xn6ic_gg_ tspan{dominant-baseline:auto}.___STick_xn6ic_gg_._position_left_xn6ic_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_xn6ic_gg_._position_custom_0_xn6ic_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_xn6ic_gg_._position_custom_0_xn6ic_gg_ tspan{dominant-baseline:hanging}.___STick_xn6ic_gg_._position_custom_1_xn6ic_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_xn6ic_gg_._position_custom_1_xn6ic_gg_ tspan{dominant-baseline:middle}",
|
|
12
13
|
/*__inner_css_end__*/
|
|
13
|
-
"
|
|
14
|
+
"xn6ic_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_xn6ic_gg_",
|
|
18
|
+
"_hide": "__hide_xn6ic_gg_",
|
|
19
|
+
"__STick": "___STick_xn6ic_gg_",
|
|
20
|
+
"_primaryText": "__primaryText_xn6ic_gg_",
|
|
21
|
+
"__SGrid": "___SGrid_xn6ic_gg_",
|
|
22
|
+
"__STitle": "___STitle_xn6ic_gg_",
|
|
23
|
+
"--transform-origin": "--transform-origin_xn6ic",
|
|
24
|
+
"_position_top": "_position_top_xn6ic_gg_",
|
|
25
|
+
"_position_bottom": "_position_bottom_xn6ic_gg_",
|
|
26
|
+
"_position_right": "_position_right_xn6ic_gg_",
|
|
27
|
+
"_position_left": "_position_left_xn6ic_gg_",
|
|
28
|
+
"_verticalWritingMode": "__verticalWritingMode_xn6ic_gg_",
|
|
29
|
+
"_multiline": "__multiline_xn6ic_gg_",
|
|
30
|
+
"_position_custom_0": "_position_custom_0_xn6ic_gg_",
|
|
31
|
+
"_position_custom_1": "_position_custom_1_xn6ic_gg_"
|
|
31
32
|
})
|
|
32
33
|
);
|
|
33
34
|
const CUSTOM_0 = /* @__PURE__ */ Symbol("custom_0");
|