@semcore/d3-chart 16.7.0-prerelease.3 → 16.7.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 +1 -1
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +15 -15
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +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 +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 +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 +15 -15
- 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 +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 +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 +14 -14
- package/lib/esm/Axis.mjs +16 -16
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +15 -15
- 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 -5
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +18 -18
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
- package/lib/esm/utils.mjs +1 -1
- package/package.json +18 -18
package/lib/es6/Line.js
CHANGED
|
@@ -15,17 +15,17 @@ import createElement from './createElement';
|
|
|
15
15
|
import Dots from './Dots';
|
|
16
16
|
import { resolvePatternDasharray } from './Pattern';
|
|
17
17
|
/*!__reshadow-styles__:"./style/line.shadow.css"*/
|
|
18
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
18
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLine_rq2tt_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));transition-property:d;transition-duration:var(--duration_rq2tt);transition-timing-function:ease-in-out}.___SLine_rq2tt_gg_.__color_rq2tt_gg_{stroke:var(--color_rq2tt)}.___SLine_rq2tt_gg_.__hide_rq2tt_gg_{display:none}.___SLine_rq2tt_gg_.__transparent_rq2tt_gg_{opacity:.3}.___SNull_rq2tt_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161));stroke-dasharray:4}@supports (color:color(display-p3 0 0 0%)){.___SNull_rq2tt_gg_{stroke:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SNull_rq2tt_gg_{stroke:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SNull_rq2tt_gg_.__hide_rq2tt_gg_{display:none}.___SLineArea_rq2tt_gg_{transition-property:d;transition-duration:var(--duration_rq2tt);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219))}.___SLineArea_rq2tt_gg_.__color_rq2tt_gg_{fill:var(--color_rq2tt)}", /*__inner_css_end__*/"rq2tt_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SLine": "
|
|
22
|
-
"--duration": "--
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_hide": "
|
|
26
|
-
"_transparent": "
|
|
27
|
-
"__SNull": "
|
|
28
|
-
"__SLineArea": "
|
|
21
|
+
"__SLine": "___SLine_rq2tt_gg_",
|
|
22
|
+
"--duration": "--duration_rq2tt",
|
|
23
|
+
"_color": "__color_rq2tt_gg_",
|
|
24
|
+
"--color": "--color_rq2tt",
|
|
25
|
+
"_hide": "__hide_rq2tt_gg_",
|
|
26
|
+
"_transparent": "__transparent_rq2tt_gg_",
|
|
27
|
+
"__SNull": "___SNull_rq2tt_gg_",
|
|
28
|
+
"__SLineArea": "___SLineArea_rq2tt_gg_"
|
|
29
29
|
});
|
|
30
30
|
import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolateValue, getChartDefaultColorName, eventToPoint, invert } from './utils';
|
|
31
31
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Plot.js
CHANGED
|
@@ -17,11 +17,11 @@ import React from 'react';
|
|
|
17
17
|
import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
|
|
18
18
|
import { PlotA11yModule } from './a11y/PlotA11yModule';
|
|
19
19
|
/*!__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
20
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlot_sfwjb_gg_{overflow:hidden}.___SPlot_sfwjb_gg_:focus{outline:0}.___SPlot_sfwjb_gg_:active{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_sfwjb_gg_.__keyboardFocused_sfwjb_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 32, 221, 0.469));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, calc(6px + 2px))}@supports (color:color(display-p3 0 0 0%)){.___SPlot_sfwjb_gg_.__keyboardFocused_sfwjb_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 32, 221, 0.469))}@media (color-gamut:p3){.___SPlot_sfwjb_gg_.__keyboardFocused_sfwjb_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, color(display-p3 0.03256 0.12227 0.83249 / 0.469))}}}", /*__inner_css_end__*/"sfwjb_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SPlot": "
|
|
24
|
-
"_keyboardFocused": "
|
|
23
|
+
"__SPlot": "___SPlot_sfwjb_gg_",
|
|
24
|
+
"_keyboardFocused": "__keyboardFocused_sfwjb_gg_"
|
|
25
25
|
});
|
|
26
26
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
27
27
|
import { eventToPoint, uniqueId } from './utils';
|
package/lib/es6/Radar.js
CHANGED
|
@@ -19,27 +19,27 @@ import React, { cloneElement } from 'react';
|
|
|
19
19
|
import createElement from './createElement';
|
|
20
20
|
import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
21
21
|
/*!__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
22
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
22
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAxisLine_hu9b6_gg_,.___SAxisTick_hu9b6_gg_,.___SAxis_hu9b6_gg_{stroke:var(--intergalactic-chart-grid-line, rgb(237, 239, 238));stroke-width:1;fill:transparent}.___SAxisLine_hu9b6_gg_,.___SAxisTick_hu9b6_gg_{stroke-dasharray:2}.___SAxisLine_hu9b6_gg_.__active_hu9b6_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, rgb(214, 216, 215))}.___SAxisLabel_hu9b6_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_hu9b6_gg_.__xDirection_hu9b6_gg_{text-anchor:var(--xDirection_hu9b6)}.___SAxisLabel_hu9b6_gg_.__yDirection_hu9b6_gg_{dominant-baseline:var(--yDirection_hu9b6)}.___SPolygonDot_hu9b6_gg_,.___SPolygon_hu9b6_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219))}.___SPolygon_hu9b6_gg_{opacity:.2}.___SPolygon_hu9b6_gg_.__color_hu9b6_gg_{fill:var(--color_hu9b6)}.___SPolygon_hu9b6_gg_.__pattern_hu9b6_gg_.__color_hu9b6_gg_{fill:var(--pattern_hu9b6);stroke:var(--color_hu9b6);stroke-width:1px}.___SPolygonDot_hu9b6_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #fff);r:6px}.___SPolygonDot_hu9b6_gg_.__transparent_hu9b6_gg_{opacity:.3}.___SPolygonDot_hu9b6_gg_.__color_hu9b6_gg_{fill:var(--color_hu9b6)}.___SPolygonLine_hu9b6_gg_{stroke:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));stroke-width:3;fill:transparent}.___SPolygonLine_hu9b6_gg_.__transparent_hu9b6_gg_{opacity:.3}.___SPolygonLine_hu9b6_gg_.__color_hu9b6_gg_{stroke:var(--color_hu9b6)}.___SPieRect_hu9b6_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"hu9b6_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SAxis": "
|
|
26
|
-
"__SAxisLine": "
|
|
27
|
-
"__SAxisTick": "
|
|
28
|
-
"_active": "
|
|
29
|
-
"__SAxisLabel": "
|
|
30
|
-
"_xDirection": "
|
|
31
|
-
"--xDirection": "--
|
|
32
|
-
"_yDirection": "
|
|
33
|
-
"--yDirection": "--
|
|
34
|
-
"__SPolygon": "
|
|
35
|
-
"_color": "
|
|
36
|
-
"--color": "--
|
|
37
|
-
"_pattern": "
|
|
38
|
-
"--pattern": "--
|
|
39
|
-
"__SPolygonDot": "
|
|
40
|
-
"_transparent": "
|
|
41
|
-
"__SPolygonLine": "
|
|
42
|
-
"__SPieRect": "
|
|
25
|
+
"__SAxis": "___SAxis_hu9b6_gg_",
|
|
26
|
+
"__SAxisLine": "___SAxisLine_hu9b6_gg_",
|
|
27
|
+
"__SAxisTick": "___SAxisTick_hu9b6_gg_",
|
|
28
|
+
"_active": "__active_hu9b6_gg_",
|
|
29
|
+
"__SAxisLabel": "___SAxisLabel_hu9b6_gg_",
|
|
30
|
+
"_xDirection": "__xDirection_hu9b6_gg_",
|
|
31
|
+
"--xDirection": "--xDirection_hu9b6",
|
|
32
|
+
"_yDirection": "__yDirection_hu9b6_gg_",
|
|
33
|
+
"--yDirection": "--yDirection_hu9b6",
|
|
34
|
+
"__SPolygon": "___SPolygon_hu9b6_gg_",
|
|
35
|
+
"_color": "__color_hu9b6_gg_",
|
|
36
|
+
"--color": "--color_hu9b6",
|
|
37
|
+
"_pattern": "__pattern_hu9b6_gg_",
|
|
38
|
+
"--pattern": "--pattern_hu9b6",
|
|
39
|
+
"__SPolygonDot": "___SPolygonDot_hu9b6_gg_",
|
|
40
|
+
"_transparent": "__transparent_hu9b6_gg_",
|
|
41
|
+
"__SPolygonLine": "___SPolygonLine_hu9b6_gg_",
|
|
42
|
+
"__SPieRect": "___SPieRect_hu9b6_gg_"
|
|
43
43
|
});
|
|
44
44
|
import Tooltip from './Tooltip';
|
|
45
45
|
import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
package/lib/es6/RadialTree.js
CHANGED
|
@@ -19,20 +19,20 @@ import React from 'react';
|
|
|
19
19
|
import createElement from './createElement';
|
|
20
20
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
21
21
|
/*!__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
22
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
22
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SRadian_jcn5g_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, rgb(92, 92, 196))}.___SLine_jcn5g_gg_{stroke:var(--intergalactic-text-large-info, rgb(92, 92, 196))}.___SLine_jcn5g_gg_.__stroke_jcn5g_gg_{stroke:var(--stroke_jcn5g)}.___SLine_jcn5g_gg_.__transparent_jcn5g_gg_{opacity:.3}.___SCap_jcn5g_gg_{transition:r .1s}.___SCap_jcn5g_gg_.__pattern_jcn5g_gg_{stroke:var(--intergalactic-chart-grid-border, #fff);stroke-width:1px}.___SCap_jcn5g_gg_.__transparent_jcn5g_gg_,.___SIcon_jcn5g_gg_.__transparent_jcn5g_gg_,.___SLabel_jcn5g_gg_.__transparent_jcn5g_gg_{opacity:.3}.___SLabel_jcn5g_gg_{fill:var(--color_jcn5g)}@media (hover:hover){.___SRadian_jcn5g_gg_:hover .___SLabel_jcn5g_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_jcn5g_gg_{transition:none}}", /*__inner_css_end__*/"jcn5g_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SRadian": "
|
|
26
|
-
"__SLine": "
|
|
27
|
-
"_stroke": "
|
|
28
|
-
"--stroke": "--
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SCap": "
|
|
31
|
-
"_pattern": "
|
|
32
|
-
"__SIcon": "
|
|
33
|
-
"__SLabel": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"__SLineCap": "
|
|
25
|
+
"__SRadian": "___SRadian_jcn5g_gg_",
|
|
26
|
+
"__SLine": "___SLine_jcn5g_gg_",
|
|
27
|
+
"_stroke": "__stroke_jcn5g_gg_",
|
|
28
|
+
"--stroke": "--stroke_jcn5g",
|
|
29
|
+
"_transparent": "__transparent_jcn5g_gg_",
|
|
30
|
+
"__SCap": "___SCap_jcn5g_gg_",
|
|
31
|
+
"_pattern": "__pattern_jcn5g_gg_",
|
|
32
|
+
"__SIcon": "___SIcon_jcn5g_gg_",
|
|
33
|
+
"__SLabel": "___SLabel_jcn5g_gg_",
|
|
34
|
+
"--color": "--color_jcn5g",
|
|
35
|
+
"__SLineCap": "___SLineCap_jcn5g_gg_"
|
|
36
36
|
});
|
|
37
37
|
import { getChartDefaultColorName, measureText } from './utils';
|
|
38
38
|
var baseAngle = -Math.PI / 2; // The top vertical line
|
package/lib/es6/Reference.js
CHANGED
|
@@ -11,20 +11,20 @@ import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
/*!__reshadow-styles__:"./style/reference.shadow.css"*/
|
|
14
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
14
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SReferenceLine_17cdn_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, rgb(214, 216, 215))}.___STitle_17cdn_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583));transform-origin:var(--transform-origin_17cdn)}@supports (color:color(display-p3 0 0 0%)){.___STitle_17cdn_gg_{fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_17cdn_gg_{fill:var(--intergalactic-chart-grid-text-label, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___STitle_17cdn_gg_._position_top_17cdn_gg_{text-anchor:middle}.___STitle_17cdn_gg_._position_bottom_17cdn_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_17cdn_gg_._position_left_17cdn_gg_,.___STitle_17cdn_gg_._position_right_17cdn_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_17cdn_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgb(241, 242, 242))}.___SStripes_17cdn_gg_{fill:var(--fill_17cdn)}.___SStripesPatternPath_17cdn_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgb(237, 239, 238));stroke-width:1px}", /*__inner_css_end__*/"17cdn_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SReferenceLine": "
|
|
18
|
-
"__STitle": "
|
|
19
|
-
"--transform-origin": "--transform-
|
|
20
|
-
"_position_top": "
|
|
21
|
-
"_position_bottom": "
|
|
22
|
-
"_position_right": "
|
|
23
|
-
"_position_left": "
|
|
24
|
-
"__SBackground": "
|
|
25
|
-
"__SStripes": "
|
|
26
|
-
"--fill": "--
|
|
27
|
-
"__SStripesPatternPath": "
|
|
17
|
+
"__SReferenceLine": "___SReferenceLine_17cdn_gg_",
|
|
18
|
+
"__STitle": "___STitle_17cdn_gg_",
|
|
19
|
+
"--transform-origin": "--transform-origin_17cdn",
|
|
20
|
+
"_position_top": "_position_top_17cdn_gg_",
|
|
21
|
+
"_position_bottom": "_position_bottom_17cdn_gg_",
|
|
22
|
+
"_position_right": "_position_right_17cdn_gg_",
|
|
23
|
+
"_position_left": "_position_left_17cdn_gg_",
|
|
24
|
+
"__SBackground": "___SBackground_17cdn_gg_",
|
|
25
|
+
"__SStripes": "___SStripes_17cdn_gg_",
|
|
26
|
+
"--fill": "--fill_17cdn",
|
|
27
|
+
"__SStripesPatternPath": "___SStripesPatternPath_17cdn_gg_"
|
|
28
28
|
});
|
|
29
29
|
import { scaleOfBandwidth } from './utils';
|
|
30
30
|
var side2direction = {
|
package/lib/es6/ScatterPlot.js
CHANGED
|
@@ -15,17 +15,17 @@ import React from 'react';
|
|
|
15
15
|
import createElement from './createElement';
|
|
16
16
|
import { PatternFill } from './Pattern';
|
|
17
17
|
/*!__reshadow-styles__:"./style/scatterplot.shadow.css"*/
|
|
18
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
18
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SScatterPlot_7mh1r_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));transition-property:cx,cy;transition-duration:var(--duration_7mh1r);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_7mh1r_gg_:hover{opacity:.8}}.___SScatterPlot_7mh1r_gg_.__color_7mh1r_gg_{fill:var(--color_7mh1r)}.___SScatterPlot_7mh1r_gg_.__pattern_7mh1r_gg_.__color_7mh1r_gg_{fill:var(--pattern_7mh1r);stroke:var(--color_7mh1r);stroke-width:1px}.___SScatterPlot_7mh1r_gg_.__transparent_7mh1r_gg_{opacity:.3}.___SValue_7mh1r_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, rgb(92, 92, 196))}.___SValue_7mh1r_gg_.__color_7mh1r_gg_{stroke:var(--color_7mh1r)}.___SValue_7mh1r_gg_.__transparent_7mh1r_gg_{opacity:.3}", /*__inner_css_end__*/"7mh1r_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SScatterPlot": "
|
|
22
|
-
"_color": "
|
|
23
|
-
"--color": "--
|
|
24
|
-
"_pattern": "
|
|
25
|
-
"--pattern": "--
|
|
26
|
-
"_transparent": "
|
|
27
|
-
"__SValue": "
|
|
28
|
-
"--duration": "--
|
|
21
|
+
"__SScatterPlot": "___SScatterPlot_7mh1r_gg_",
|
|
22
|
+
"_color": "__color_7mh1r_gg_",
|
|
23
|
+
"--color": "--color_7mh1r",
|
|
24
|
+
"_pattern": "__pattern_7mh1r_gg_",
|
|
25
|
+
"--pattern": "--pattern_7mh1r",
|
|
26
|
+
"_transparent": "__transparent_7mh1r_gg_",
|
|
27
|
+
"__SValue": "___SValue_7mh1r_gg_",
|
|
28
|
+
"--duration": "--duration_7mh1r"
|
|
29
29
|
});
|
|
30
30
|
import Tooltip from './Tooltip';
|
|
31
31
|
import { getScatterPlotRadius } from './utils';
|
package/lib/es6/Tooltip.js
CHANGED
|
@@ -21,17 +21,17 @@ import React from 'react';
|
|
|
21
21
|
import createElement from './createElement';
|
|
22
22
|
import { PatternSymbol } from './Pattern';
|
|
23
23
|
/*!__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
|
24
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
24
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___STooltip_13quy_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, rgb(255, 255, 255));border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, rgba(0, 21, 16, 0.07));box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07));padding:var(--intergalactic-spacing-3x, 12px)}@supports (color:color(display-p3 0 0 0%)){.___STooltip_13quy_gg_{border:1px solid var(--intergalactic-border-secondary, rgba(0, 21, 16, 0.07));box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07))}@media (color-gamut:p3){.___STooltip_13quy_gg_{border:1px solid var(--intergalactic-border-secondary, color(display-p3 0.01753 0.08157 0.06372 / 0.07));box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px color(display-p3 0.01753 0.08157 0.06372 / 0.07))}}}.___STitle_13quy_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));margin-bottom:var(--intergalactic-spacing-2x, 8px)}@supports (color:color(display-p3 0 0 0%)){.___STitle_13quy_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_13quy_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SDotGroup_13quy_gg_{display:flex;align-items:center}.___SDot_13quy_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_13quy_gg_.__color_13quy_gg_{background-color:var(--color_13quy);width:8px;height:8px;border-radius:50%}.___SFooter_13quy_gg_{background:var(--intergalactic-bg-secondary-neutral, rgb(248, 249, 248));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__*/"13quy_gg_"),
|
|
25
25
|
/*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__STooltip": "
|
|
28
|
-
"__STitle": "
|
|
29
|
-
"__SDotGroup": "
|
|
30
|
-
"__SDot": "
|
|
31
|
-
"__SDotCircle": "
|
|
32
|
-
"_color": "
|
|
33
|
-
"--color": "--
|
|
34
|
-
"__SFooter": "
|
|
27
|
+
"__STooltip": "___STooltip_13quy_gg_",
|
|
28
|
+
"__STitle": "___STitle_13quy_gg_",
|
|
29
|
+
"__SDotGroup": "___SDotGroup_13quy_gg_",
|
|
30
|
+
"__SDot": "___SDot_13quy_gg_",
|
|
31
|
+
"__SDotCircle": "___SDotCircle_13quy_gg_",
|
|
32
|
+
"_color": "__color_13quy_gg_",
|
|
33
|
+
"--color": "--color_13quy",
|
|
34
|
+
"__SFooter": "___SFooter_13quy_gg_"
|
|
35
35
|
});
|
|
36
36
|
import { getChartDefaultColorName } from './utils';
|
|
37
37
|
|
package/lib/es6/Venn.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/venn.shadow.css"*/
|
|
21
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
21
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SCircle_h7w8o_gg_,.___SIntersection_h7w8o_gg_{stroke:var(--intergalactic-chart-grid-border, #fff);stroke-width:2px}.___SCircle_h7w8o_gg_{fill:var(--intergalactic-chart-palette-order-2, rgb(56, 227, 181));fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_h7w8o);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_h7w8o_gg_:hover{fill-opacity:.7}}.___SCircle_h7w8o_gg_.__color_h7w8o_gg_{fill:var(--color_h7w8o)}.___SCircle_h7w8o_gg_.__pattern_h7w8o_gg_.__color_h7w8o_gg_{fill:var(--pattern_h7w8o);fill-opacity:.7;stroke:var(--color_h7w8o);stroke-width:1px}@media (hover:hover){.___SCircle_h7w8o_gg_.__pattern_h7w8o_gg_.__color_h7w8o_gg_:hover{fill-opacity:.85}}.___SCircle_h7w8o_gg_.__transparent_h7w8o_gg_{opacity:.3}.___SIntersection_h7w8o_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_h7w8o_gg_:hover{fill-opacity:.1}}.___SIntersection_h7w8o_gg_.__transparent_h7w8o_gg_{opacity:.3}", /*__inner_css_end__*/"h7w8o_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SCircle": "
|
|
25
|
-
"_color": "
|
|
26
|
-
"--color": "--
|
|
27
|
-
"_transparent": "
|
|
28
|
-
"__SIntersection": "
|
|
29
|
-
"--duration": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
24
|
+
"__SCircle": "___SCircle_h7w8o_gg_",
|
|
25
|
+
"_color": "__color_h7w8o_gg_",
|
|
26
|
+
"--color": "--color_h7w8o",
|
|
27
|
+
"_transparent": "__transparent_h7w8o_gg_",
|
|
28
|
+
"__SIntersection": "___SIntersection_h7w8o_gg_",
|
|
29
|
+
"--duration": "--duration_h7w8o",
|
|
30
|
+
"_pattern": "__pattern_h7w8o_gg_",
|
|
31
|
+
"--pattern": "--pattern_h7w8o"
|
|
32
32
|
});
|
|
33
33
|
import Tooltip from './Tooltip';
|
|
34
34
|
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_1bu48_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1bu48_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}", /*__inner_css_end__*/"1bu48_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SPlotA11yModule": "
|
|
17
|
+
"__SPlotA11yModule": "___SPlotA11yModule_1bu48_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_d4ich_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral, rgb(255, 255, 255));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));border:3px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161));font-size:var(--intergalactic-fs-50, 10px);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}@supports (color:color(display-p3 0 0 0%)){.___SPlotA11yView_d4ich_gg_{border:3px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SPlotA11yView_d4ich_gg_{border:3px solid var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SPlotA11yView_d4ich_gg_:focus,.___SPlotA11yView_d4ich_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_d4ich_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_d4ich_gg_ table,.___SPlotA11yView_d4ich_gg_ td,.___SPlotA11yView_d4ich_gg_ th{border:1px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___SPlotA11yView_d4ich_gg_ table,.___SPlotA11yView_d4ich_gg_ td,.___SPlotA11yView_d4ich_gg_ th{border:1px solid var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SPlotA11yView_d4ich_gg_ table,.___SPlotA11yView_d4ich_gg_ td,.___SPlotA11yView_d4ich_gg_ th{border:1px solid var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}", /*__inner_css_end__*/"d4ich_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SPlotA11yView": "
|
|
18
|
+
"__SPlotA11yView": "___SPlotA11yView_d4ich_gg_"
|
|
19
19
|
});
|
|
20
20
|
import { localizedMessages } from './translations/view/__intergalactic-dynamic-locales';
|
|
21
21
|
export var PlotA11yView = function PlotA11yView(_ref3) {
|
|
@@ -23,12 +23,12 @@ import React, { Fragment } from 'react';
|
|
|
23
23
|
import { Plot, XAxis, YAxis } from '../..';
|
|
24
24
|
import { makeDataHintsContainer } from '../../a11y/hints';
|
|
25
25
|
/*!__reshadow-styles__:"../../style/abstract-chart.shadow.css"*/
|
|
26
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
26
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___STooltipChildrenWrapper_1fccq_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_1fccq_gg_._columnsCount_2_1fccq_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_1fccq_gg_._columnsCount_3_1fccq_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}", /*__inner_css_end__*/"1fccq_gg_"),
|
|
27
27
|
/*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__STooltipChildrenWrapper": "
|
|
30
|
-
"_columnsCount_2": "
|
|
31
|
-
"_columnsCount_3": "
|
|
29
|
+
"__STooltipChildrenWrapper": "___STooltipChildrenWrapper_1fccq_gg_",
|
|
30
|
+
"_columnsCount_2": "_columnsCount_2_1fccq_gg_",
|
|
31
|
+
"_columnsCount_3": "_columnsCount_3_1fccq_gg_"
|
|
32
32
|
});
|
|
33
33
|
import { interpolateValue } from '../../utils';
|
|
34
34
|
import ChartLegend, { ChartLegendTable } from '../ChartLegend';
|
|
@@ -13,12 +13,12 @@ import Divider from '@semcore/divider';
|
|
|
13
13
|
import { Flex } from '@semcore/flex-box';
|
|
14
14
|
import React from 'react';
|
|
15
15
|
/*!__reshadow-styles__:"./legend-flex.shadow.css"*/
|
|
16
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
16
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLegendFlex_oj47d_gg_._direction_row_oj47d_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_oj47d_gg_._direction_column_oj47d_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}", /*__inner_css_end__*/"oj47d_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SLegendFlex": "
|
|
20
|
-
"_direction_row": "
|
|
21
|
-
"_direction_column": "
|
|
19
|
+
"__SLegendFlex": "___SLegendFlex_oj47d_gg_",
|
|
20
|
+
"_direction_row": "_direction_row_oj47d_gg_",
|
|
21
|
+
"_direction_column": "_direction_column_oj47d_gg_"
|
|
22
22
|
});
|
|
23
23
|
import { localizedMessages } from '../../../translations/__intergalactic-dynamic-locales';
|
|
24
24
|
import { BaseLegend } from '../BaseLegend';
|
|
@@ -21,25 +21,25 @@ import { Flex, Box } from '@semcore/flex-box';
|
|
|
21
21
|
import { Text as TypographyText } from '@semcore/typography';
|
|
22
22
|
import React from 'react';
|
|
23
23
|
/*!__reshadow-styles__:"./legend-item.shadow.css"*/
|
|
24
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
24
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLegendItem_1iq66_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1iq66_gg_:hover{cursor:pointer}.___SLegendItem_1iq66_gg_.__disabled_1iq66_gg_:hover{cursor:default}}.___SPointShape_1iq66_gg_.__color_1iq66_gg_{background-color:var(--color_1iq66);margin-right:8px;flex-shrink:0}.___SPointShape_1iq66_gg_._shape_Circle_1iq66_gg_._size_l_1iq66_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1iq66_gg_._shape_Circle_1iq66_gg_._size_m_1iq66_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1iq66_gg_._shape_Line_1iq66_gg_._size_l_1iq66_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1iq66_gg_._shape_Line_1iq66_gg_._size_m_1iq66_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1iq66_gg_._shape_Square_1iq66_gg_._size_l_1iq66_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1iq66_gg_._shape_Square_1iq66_gg_._size_m_1iq66_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1iq66_gg_._shape_Pattern_1iq66_gg_{background-color:transparent;margin-right:4px}.___SIcon_1iq66_gg_{line-height:0;margin-right:4px}.___SIcon_1iq66_gg_._size_l_1iq66_gg_{margin-top:4px}.___SIcon_1iq66_gg_._size_m_1iq66_gg_{margin-top:2px}.___SLabel_1iq66_gg_{min-width:0}.___SAdditionalLabel_1iq66_gg_._size_l_1iq66_gg_,.___SCount_1iq66_gg_._size_l_1iq66_gg_,.___SLabel_1iq66_gg_._size_l_1iq66_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1iq66_gg_._size_m_1iq66_gg_,.___SCount_1iq66_gg_._size_m_1iq66_gg_,.___SLabel_1iq66_gg_._size_m_1iq66_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1iq66_gg_,.___SCount_1iq66_gg_{margin-left:4px}.___SAdditionalLabel_1iq66_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1iq66_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));height:4px;width:4px;border-radius:2px;margin-right:4px}@supports (color:color(display-p3 0 0 0%)){.___SAdditionalLabel_1iq66_gg_::before{background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SAdditionalLabel_1iq66_gg_::before{background-color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SAdditionalLabel_1iq66_gg_._size_l_1iq66_gg_::before{margin-top:10px}.___SAdditionalLabel_1iq66_gg_._size_m_1iq66_gg_::before{margin-top:8px}.___SPatternSymbol_1iq66_gg_{transform:scale(.8)}", /*__inner_css_end__*/"1iq66_gg_"),
|
|
25
25
|
/*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SLegendItem": "
|
|
28
|
-
"_disabled": "
|
|
29
|
-
"__SPointShape": "
|
|
30
|
-
"_color": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_shape_Circle": "
|
|
33
|
-
"_size_l": "
|
|
34
|
-
"_size_m": "
|
|
35
|
-
"_shape_Line": "
|
|
36
|
-
"_shape_Square": "
|
|
37
|
-
"_shape_Pattern": "
|
|
38
|
-
"__SIcon": "
|
|
39
|
-
"__SLabel": "
|
|
40
|
-
"__SAdditionalLabel": "
|
|
41
|
-
"__SCount": "
|
|
42
|
-
"__SPatternSymbol": "
|
|
27
|
+
"__SLegendItem": "___SLegendItem_1iq66_gg_",
|
|
28
|
+
"_disabled": "__disabled_1iq66_gg_",
|
|
29
|
+
"__SPointShape": "___SPointShape_1iq66_gg_",
|
|
30
|
+
"_color": "__color_1iq66_gg_",
|
|
31
|
+
"--color": "--color_1iq66",
|
|
32
|
+
"_shape_Circle": "_shape_Circle_1iq66_gg_",
|
|
33
|
+
"_size_l": "_size_l_1iq66_gg_",
|
|
34
|
+
"_size_m": "_size_m_1iq66_gg_",
|
|
35
|
+
"_shape_Line": "_shape_Line_1iq66_gg_",
|
|
36
|
+
"_shape_Square": "_shape_Square_1iq66_gg_",
|
|
37
|
+
"_shape_Pattern": "_shape_Pattern_1iq66_gg_",
|
|
38
|
+
"__SIcon": "___SIcon_1iq66_gg_",
|
|
39
|
+
"__SLabel": "___SLabel_1iq66_gg_",
|
|
40
|
+
"__SAdditionalLabel": "___SAdditionalLabel_1iq66_gg_",
|
|
41
|
+
"__SCount": "___SCount_1iq66_gg_",
|
|
42
|
+
"__SPatternSymbol": "___SPatternSymbol_1iq66_gg_"
|
|
43
43
|
});
|
|
44
44
|
import { StaticShapes } from './LegendItem.type';
|
|
45
45
|
import { PatternSymbol } from '../../../Pattern';
|
|
@@ -11,14 +11,14 @@ import { createComponent, sstyled, Root } from '@semcore/core';
|
|
|
11
11
|
import { Box } from '@semcore/flex-box';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
/*!__reshadow-styles__:"./legend-table.shadow.css"*/
|
|
14
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
14
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLegendTable_1tal4_gg_.__columns-count_1tal4_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_1tal4_gg_._size_l_1tal4_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_1tal4_gg_._size_m_1tal4_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}", /*__inner_css_end__*/"1tal4_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SLegendTable": "
|
|
18
|
-
"_columns-count": "__columns-
|
|
19
|
-
"__SColumnItem": "
|
|
20
|
-
"_size_l": "
|
|
21
|
-
"_size_m": "
|
|
17
|
+
"__SLegendTable": "___SLegendTable_1tal4_gg_",
|
|
18
|
+
"_columns-count": "__columns-count_1tal4_gg_",
|
|
19
|
+
"__SColumnItem": "___SColumnItem_1tal4_gg_",
|
|
20
|
+
"_size_l": "_size_l_1tal4_gg_",
|
|
21
|
+
"_size_m": "_size_m_1tal4_gg_"
|
|
22
22
|
});
|
|
23
23
|
import { BaseLegend } from '../BaseLegend';
|
|
24
24
|
import { LegendItemComponent } from '../LegendItem/LegendItem';
|
package/lib/esm/Area.mjs
CHANGED
|
@@ -8,34 +8,34 @@ import { sstyled, Component } from "@semcore/core";
|
|
|
8
8
|
import findComponent from "@semcore/core/lib/utils/findComponent";
|
|
9
9
|
import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
|
|
10
10
|
import { bisector } from "d3-array";
|
|
11
|
-
import { line,
|
|
11
|
+
import { line, curveLinear, area } from "d3-shape";
|
|
12
12
|
import React from "react";
|
|
13
13
|
import AnimatedClipPath from "./AnimatedClipPath.mjs";
|
|
14
14
|
import { SvgElement } from "./component/SvgElement.mjs";
|
|
15
15
|
import createElement from "./createElement.mjs";
|
|
16
16
|
import Dots from "./Dots.mjs";
|
|
17
17
|
import { PatternFill } from "./Pattern.mjs";
|
|
18
|
-
import {
|
|
18
|
+
import { definedData, scaleOfBandwidth, interpolateValue, getNullData, definedNullData, eventToPoint, invert } from "./utils.mjs";
|
|
19
19
|
/*!__reshadow-styles__:"./style/area.shadow.css"*/
|
|
20
20
|
var style = (
|
|
21
21
|
/*__reshadow_css_start__*/
|
|
22
22
|
(sstyled.insert(
|
|
23
23
|
/*__inner_css_start__*/
|
|
24
|
-
".
|
|
24
|
+
".___SArea_1wli8_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));fill-opacity:.2}.___SArea_1wli8_gg_.__color_1wli8_gg_{fill:var(--color_1wli8)}.___SArea_1wli8_gg_.__pattern_1wli8_gg_{fill:var(--pattern_1wli8);fill-opacity:.7}.___SArea_1wli8_gg_.__transparent_1wli8_gg_{opacity:.3}.___SAreaLine_1wli8_gg_{stroke:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));stroke-width:3;fill:transparent}.___SAreaLine_1wli8_gg_.__color_1wli8_gg_{stroke:var(--color_1wli8)}.___SAreaLine_1wli8_gg_.__transparent_1wli8_gg_{opacity:.3}.___SAreaLine_1wli8_gg_,.___SArea_1wli8_gg_{transition-property:d;transition-duration:var(--duration_1wli8);transition-timing-function:ease-in-out}.___SNull_1wli8_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, rgb(214, 216, 215));stroke-dasharray:4}.___SNull_1wli8_gg_.__hide_1wli8_gg_{display:none}",
|
|
25
25
|
/*__inner_css_end__*/
|
|
26
|
-
"
|
|
26
|
+
"1wli8_gg_"
|
|
27
27
|
), /*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SArea": "
|
|
30
|
-
"_color": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_pattern": "
|
|
33
|
-
"--pattern": "--
|
|
34
|
-
"_transparent": "
|
|
35
|
-
"__SAreaLine": "
|
|
36
|
-
"--duration": "--
|
|
37
|
-
"__SNull": "
|
|
38
|
-
"_hide": "
|
|
29
|
+
"__SArea": "___SArea_1wli8_gg_",
|
|
30
|
+
"_color": "__color_1wli8_gg_",
|
|
31
|
+
"--color": "--color_1wli8",
|
|
32
|
+
"_pattern": "__pattern_1wli8_gg_",
|
|
33
|
+
"--pattern": "--pattern_1wli8",
|
|
34
|
+
"_transparent": "__transparent_1wli8_gg_",
|
|
35
|
+
"__SAreaLine": "___SAreaLine_1wli8_gg_",
|
|
36
|
+
"--duration": "--duration_1wli8",
|
|
37
|
+
"__SNull": "___SNull_1wli8_gg_",
|
|
38
|
+
"_hide": "__hide_1wli8_gg_"
|
|
39
39
|
})
|
|
40
40
|
);
|
|
41
41
|
var AreaRoot = /* @__PURE__ */ (function(_Component) {
|
package/lib/esm/Axis.mjs
CHANGED
|
@@ -15,25 +15,25 @@ var style = (
|
|
|
15
15
|
/*__reshadow_css_start__*/
|
|
16
16
|
(sstyled.insert(
|
|
17
17
|
/*__inner_css_start__*/
|
|
18
|
-
".
|
|
18
|
+
".___SAxis_a27vn_gg_{stroke:var(--intergalactic-chart-grid-x-axis, rgb(214, 216, 215))}.___SAxis_a27vn_gg_.__hide_a27vn_gg_,.___STick_a27vn_gg_.__hide_a27vn_gg_{display:none}.___STick_a27vn_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583))}@supports (color:color(display-p3 0 0 0%)){.___STick_a27vn_gg_{fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STick_a27vn_gg_{fill:var(--intergalactic-chart-grid-text-label, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SGrid_a27vn_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, rgba(0, 21, 16, 0.07))}@supports (color:color(display-p3 0 0 0%)){.___SGrid_a27vn_gg_{stroke:var(--intergalactic-border-secondary, rgba(0, 21, 16, 0.07))}@media (color-gamut:p3){.___SGrid_a27vn_gg_{stroke:var(--intergalactic-border-secondary, color(display-p3 0.01753 0.08157 0.06372 / 0.07))}}}.___STitle_a27vn_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, rgba(0, 3, 0, 0.583));transform-origin:var(--transform-origin_a27vn)}@supports (color:color(display-p3 0 0 0%)){.___STitle_a27vn_gg_{fill:var(--intergalactic-text-hint, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_a27vn_gg_{fill:var(--intergalactic-text-hint, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___STitle_a27vn_gg_._position_top_a27vn_gg_{text-anchor:middle}.___STitle_a27vn_gg_._position_bottom_a27vn_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_a27vn_gg_._position_left_a27vn_gg_,.___STitle_a27vn_gg_._position_right_a27vn_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_a27vn_gg_._position_left_a27vn_gg_.__verticalWritingMode_a27vn_gg_,.___STitle_a27vn_gg_._position_right_a27vn_gg_.__verticalWritingMode_a27vn_gg_{writing-mode:vertical-rl;transform:none}.___STick_a27vn_gg_._position_top_a27vn_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_a27vn_gg_._position_bottom_a27vn_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_a27vn_gg_._position_bottom_a27vn_gg_ tspan{dominant-baseline:hanging}.___STick_a27vn_gg_._position_right_a27vn_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_a27vn_gg_._position_left_a27vn_gg_ tspan,.___STick_a27vn_gg_._position_right_a27vn_gg_ tspan{dominant-baseline:middle}.___STick_a27vn_gg_._position_left_a27vn_gg_.__multiline_a27vn_gg_,.___STick_a27vn_gg_._position_left_a27vn_gg_.__multiline_a27vn_gg_ tspan,.___STick_a27vn_gg_._position_right_a27vn_gg_.__multiline_a27vn_gg_,.___STick_a27vn_gg_._position_right_a27vn_gg_.__multiline_a27vn_gg_ tspan{dominant-baseline:auto}.___STick_a27vn_gg_._position_left_a27vn_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_a27vn_gg_._position_custom_0_a27vn_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_a27vn_gg_._position_custom_0_a27vn_gg_ tspan{dominant-baseline:hanging}.___STick_a27vn_gg_._position_custom_1_a27vn_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_a27vn_gg_._position_custom_1_a27vn_gg_ tspan{dominant-baseline:middle}",
|
|
19
19
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
20
|
+
"a27vn_gg_"
|
|
21
21
|
), /*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SAxis": "
|
|
24
|
-
"_hide": "
|
|
25
|
-
"__STick": "
|
|
26
|
-
"__SGrid": "
|
|
27
|
-
"__STitle": "
|
|
28
|
-
"--transform-origin": "--transform-
|
|
29
|
-
"_position_top": "
|
|
30
|
-
"_position_bottom": "
|
|
31
|
-
"_position_right": "
|
|
32
|
-
"_position_left": "
|
|
33
|
-
"_verticalWritingMode": "
|
|
34
|
-
"_multiline": "
|
|
35
|
-
"_position_custom_0": "
|
|
36
|
-
"_position_custom_1": "
|
|
23
|
+
"__SAxis": "___SAxis_a27vn_gg_",
|
|
24
|
+
"_hide": "__hide_a27vn_gg_",
|
|
25
|
+
"__STick": "___STick_a27vn_gg_",
|
|
26
|
+
"__SGrid": "___SGrid_a27vn_gg_",
|
|
27
|
+
"__STitle": "___STitle_a27vn_gg_",
|
|
28
|
+
"--transform-origin": "--transform-origin_a27vn",
|
|
29
|
+
"_position_top": "_position_top_a27vn_gg_",
|
|
30
|
+
"_position_bottom": "_position_bottom_a27vn_gg_",
|
|
31
|
+
"_position_right": "_position_right_a27vn_gg_",
|
|
32
|
+
"_position_left": "_position_left_a27vn_gg_",
|
|
33
|
+
"_verticalWritingMode": "__verticalWritingMode_a27vn_gg_",
|
|
34
|
+
"_multiline": "__multiline_a27vn_gg_",
|
|
35
|
+
"_position_custom_0": "_position_custom_0_a27vn_gg_",
|
|
36
|
+
"_position_custom_1": "_position_custom_1_a27vn_gg_"
|
|
37
37
|
})
|
|
38
38
|
);
|
|
39
39
|
var CUSTOM_0 = Symbol("custom_0");
|