@semcore/d3-chart 3.60.2 → 3.61.0-prerelease.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +14 -14
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +12 -12
- 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/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/cjs/style/area.shadow.css +3 -3
- package/lib/cjs/style/axis.shadow.css +4 -4
- package/lib/cjs/style/bar.shadow.css +6 -6
- package/lib/cjs/style/bubble.shadow.css +4 -4
- package/lib/cjs/style/donut.shadow.css +3 -3
- package/lib/cjs/style/dot.shadow.css +2 -2
- package/lib/cjs/style/hover.shadow.css +2 -2
- package/lib/cjs/style/line.shadow.css +3 -3
- package/lib/cjs/style/plot.shadow.css +2 -2
- package/lib/cjs/style/plotA11yView.shadow.css +4 -4
- package/lib/cjs/style/radar.shadow.css +8 -8
- package/lib/cjs/style/radial-tree.shadow.css +3 -3
- package/lib/cjs/style/reference.shadow.css +4 -4
- package/lib/cjs/style/scatterplot.shadow.css +2 -2
- package/lib/cjs/style/tooltip.shadow.css +5 -5
- package/lib/cjs/style/venn.shadow.css +3 -3
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +14 -14
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +12 -12
- 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/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/style/area.shadow.css +3 -3
- package/lib/es6/style/axis.shadow.css +4 -4
- package/lib/es6/style/bar.shadow.css +6 -6
- package/lib/es6/style/bubble.shadow.css +4 -4
- package/lib/es6/style/donut.shadow.css +3 -3
- package/lib/es6/style/dot.shadow.css +2 -2
- package/lib/es6/style/hover.shadow.css +2 -2
- package/lib/es6/style/line.shadow.css +3 -3
- package/lib/es6/style/plot.shadow.css +2 -2
- package/lib/es6/style/plotA11yView.shadow.css +4 -4
- package/lib/es6/style/radar.shadow.css +8 -8
- package/lib/es6/style/radial-tree.shadow.css +3 -3
- package/lib/es6/style/reference.shadow.css +4 -4
- package/lib/es6/style/scatterplot.shadow.css +2 -2
- package/lib/es6/style/tooltip.shadow.css +5 -5
- package/lib/es6/style/venn.shadow.css +3 -3
- package/lib/esm/Area.mjs +12 -12
- package/lib/esm/Axis.mjs +15 -15
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +13 -13
- 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/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +18 -18
- package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
- package/lib/esm/style/area.shadow.css +3 -3
- package/lib/esm/style/axis.shadow.css +4 -4
- package/lib/esm/style/bar.shadow.css +6 -6
- package/lib/esm/style/bubble.shadow.css +4 -4
- package/lib/esm/style/donut.shadow.css +3 -3
- package/lib/esm/style/dot.shadow.css +2 -2
- package/lib/esm/style/hover.shadow.css +2 -2
- package/lib/esm/style/line.shadow.css +3 -3
- package/lib/esm/style/plot.shadow.css +2 -2
- package/lib/esm/style/plotA11yView.shadow.css +4 -4
- package/lib/esm/style/radar.shadow.css +8 -8
- package/lib/esm/style/radial-tree.shadow.css +3 -3
- package/lib/esm/style/reference.shadow.css +4 -4
- package/lib/esm/style/scatterplot.shadow.css +2 -2
- package/lib/esm/style/tooltip.shadow.css +5 -5
- package/lib/esm/style/venn.shadow.css +3 -3
- package/package.json +10 -10
package/lib/es6/Area.js
CHANGED
|
@@ -16,19 +16,19 @@ import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolat
|
|
|
16
16
|
import AnimatedClipPath from './AnimatedClipPath';
|
|
17
17
|
import { PatternFill } from './Pattern';
|
|
18
18
|
/*!__reshadow-styles__:"./style/area.shadow.css"*/
|
|
19
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
19
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_1auoc_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));fill-opacity:.2}.___SArea_1auoc_gg_.__color_1auoc_gg_{fill:var(--color_1auoc)}.___SArea_1auoc_gg_.__pattern_1auoc_gg_{fill:var(--pattern_1auoc);fill-opacity:.7}.___SArea_1auoc_gg_.__transparent_1auoc_gg_{opacity:.3}.___SAreaLine_1auoc_gg_{stroke:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));stroke-width:3;fill:transparent}.___SAreaLine_1auoc_gg_.__color_1auoc_gg_{stroke:var(--color_1auoc)}.___SAreaLine_1auoc_gg_.__transparent_1auoc_gg_{opacity:.3}.___SAreaLine_1auoc_gg_,.___SArea_1auoc_gg_{transition-property:d;transition-duration:var(--duration_1auoc);transition-timing-function:ease-in-out}.___SNull_1auoc_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, rgb(214, 216, 215));stroke-dasharray:4}.___SNull_1auoc_gg_.__hide_1auoc_gg_{display:none}", /*__inner_css_end__*/"1auoc_gg_"),
|
|
20
20
|
/*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SArea": "
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_pattern": "
|
|
26
|
-
"--pattern": "--
|
|
27
|
-
"_transparent": "
|
|
28
|
-
"__SAreaLine": "
|
|
29
|
-
"--duration": "--
|
|
30
|
-
"__SNull": "
|
|
31
|
-
"_hide": "
|
|
22
|
+
"__SArea": "___SArea_1auoc_gg_",
|
|
23
|
+
"_color": "__color_1auoc_gg_",
|
|
24
|
+
"--color": "--color_1auoc",
|
|
25
|
+
"_pattern": "__pattern_1auoc_gg_",
|
|
26
|
+
"--pattern": "--pattern_1auoc",
|
|
27
|
+
"_transparent": "__transparent_1auoc_gg_",
|
|
28
|
+
"__SAreaLine": "___SAreaLine_1auoc_gg_",
|
|
29
|
+
"--duration": "--duration_1auoc",
|
|
30
|
+
"__SNull": "___SNull_1auoc_gg_",
|
|
31
|
+
"_hide": "__hide_1auoc_gg_"
|
|
32
32
|
});
|
|
33
33
|
var AreaRoot = /*#__PURE__*/function (_Component) {
|
|
34
34
|
_inherits(AreaRoot, _Component);
|
package/lib/es6/Axis.js
CHANGED
|
@@ -12,22 +12,22 @@ import { Component, sstyled } from '@semcore/core';
|
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
import { scaleOfBandwidth } from './utils';
|
|
14
14
|
/*!__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_tudrd_gg_{stroke:var(--intergalactic-chart-grid-x-axis, rgb(214, 216, 215))}.___SAxis_tudrd_gg_.__hide_tudrd_gg_,.___STick_tudrd_gg_.__hide_tudrd_gg_{display:none}.___STick_tudrd_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_tudrd_gg_{fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STick_tudrd_gg_{fill:var(--intergalactic-chart-grid-text-label, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SGrid_tudrd_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, rgba(0, 21, 16, 0.07))}@supports (color:color(display-p3 0 0 0)){.___SGrid_tudrd_gg_{stroke:var(--intergalactic-border-secondary, rgba(0, 21, 16, 0.07))}@media (color-gamut:p3){.___SGrid_tudrd_gg_{stroke:var(--intergalactic-border-secondary, color(display-p3 0.01753 0.08157 0.06372 / 0.07))}}}.___STitle_tudrd_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, rgba(0, 3, 0, 0.583));transform-origin:var(--transform-origin_tudrd)}@supports (color:color(display-p3 0 0 0)){.___STitle_tudrd_gg_{fill:var(--intergalactic-text-hint, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_tudrd_gg_{fill:var(--intergalactic-text-hint, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___STitle_tudrd_gg_._position_top_tudrd_gg_{text-anchor:middle}.___STitle_tudrd_gg_._position_bottom_tudrd_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_tudrd_gg_._position_left_tudrd_gg_,.___STitle_tudrd_gg_._position_right_tudrd_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_tudrd_gg_._position_left_tudrd_gg_.__verticalWritingMode_tudrd_gg_,.___STitle_tudrd_gg_._position_right_tudrd_gg_.__verticalWritingMode_tudrd_gg_{writing-mode:vertical-rl;transform:none}.___STick_tudrd_gg_._position_top_tudrd_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_tudrd_gg_._position_bottom_tudrd_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_tudrd_gg_._position_right_tudrd_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_tudrd_gg_._position_left_tudrd_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_tudrd_gg_._position_custom_0_tudrd_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_tudrd_gg_._position_custom_1_tudrd_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}", /*__inner_css_end__*/"tudrd_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SAxis": "
|
|
19
|
-
"_hide": "
|
|
20
|
-
"__STick": "
|
|
21
|
-
"__SGrid": "
|
|
22
|
-
"__STitle": "
|
|
23
|
-
"--transform-origin": "--transform-
|
|
24
|
-
"_position_top": "
|
|
25
|
-
"_position_bottom": "
|
|
26
|
-
"_position_right": "
|
|
27
|
-
"_position_left": "
|
|
28
|
-
"_verticalWritingMode": "
|
|
29
|
-
"_position_custom_0": "
|
|
30
|
-
"_position_custom_1": "
|
|
18
|
+
"__SAxis": "___SAxis_tudrd_gg_",
|
|
19
|
+
"_hide": "__hide_tudrd_gg_",
|
|
20
|
+
"__STick": "___STick_tudrd_gg_",
|
|
21
|
+
"__SGrid": "___SGrid_tudrd_gg_",
|
|
22
|
+
"__STitle": "___STitle_tudrd_gg_",
|
|
23
|
+
"--transform-origin": "--transform-origin_tudrd",
|
|
24
|
+
"_position_top": "_position_top_tudrd_gg_",
|
|
25
|
+
"_position_bottom": "_position_bottom_tudrd_gg_",
|
|
26
|
+
"_position_right": "_position_right_tudrd_gg_",
|
|
27
|
+
"_position_left": "_position_left_tudrd_gg_",
|
|
28
|
+
"_verticalWritingMode": "__verticalWritingMode_tudrd_gg_",
|
|
29
|
+
"_position_custom_0": "_position_custom_0_tudrd_gg_",
|
|
30
|
+
"_position_custom_1": "_position_custom_1_tudrd_gg_"
|
|
31
31
|
});
|
|
32
32
|
var CUSTOM_0 = Symbol('custom_0');
|
|
33
33
|
var CUSTOM_1 = Symbol('custom_1');
|
package/lib/es6/Bar.js
CHANGED
|
@@ -14,24 +14,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
14
14
|
import { scaleToBand, roundedPath } from './utils';
|
|
15
15
|
import { PatternFill } from './Pattern';
|
|
16
16
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
17
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
17
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1rguf_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));transition-property:height,width,y;transition-duration:var(--duration_1rguf);transition-timing-function:ease-in-out}.___SBar_1rguf_gg_.__color_1rguf_gg_{fill:var(--color_1rguf)}.___SBar_1rguf_gg_.__pattern_1rguf_gg_.__color_1rguf_gg_{fill:var(--pattern_1rguf);stroke:var(--color_1rguf);stroke-width:1px}.___SBar_1rguf_gg_.__hide_1rguf_gg_{display:none}.___SBar_1rguf_gg_.__transparent_1rguf_gg_{opacity:.3}.___SBackground_1rguf_gg_.__onClick_1rguf_gg_,.___SBar_1rguf_gg_.__onClick_1rguf_gg_{cursor:pointer}.___SBackground_1rguf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, rgb(241, 242, 242))}.___SBarAnnotation_1rguf_gg_{display:flex;justify-content:space-between}.___SBarLabel_1rguf_gg_,.___SBarPercent_1rguf_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarLabel_1rguf_gg_{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:auto}.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));margin-right:var(--intergalactic-spacing-2x, 8px)}@supports (color:color(display-p3 0 0 0)){.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SBarValue_1rguf_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);text-align:right}.___SCompactHorizontalBarHoverRect_1rguf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"1rguf_gg_"),
|
|
18
18
|
/*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SBar": "
|
|
21
|
-
"--duration": "--
|
|
22
|
-
"_color": "
|
|
23
|
-
"--color": "--
|
|
24
|
-
"_pattern": "
|
|
25
|
-
"--pattern": "--
|
|
26
|
-
"_hide": "
|
|
27
|
-
"_transparent": "
|
|
28
|
-
"_onClick": "
|
|
29
|
-
"__SBackground": "
|
|
30
|
-
"__SBarAnnotation": "
|
|
31
|
-
"__SBarLabel": "
|
|
32
|
-
"__SBarPercent": "
|
|
33
|
-
"__SBarValue": "
|
|
34
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
20
|
+
"__SBar": "___SBar_1rguf_gg_",
|
|
21
|
+
"--duration": "--duration_1rguf",
|
|
22
|
+
"_color": "__color_1rguf_gg_",
|
|
23
|
+
"--color": "--color_1rguf",
|
|
24
|
+
"_pattern": "__pattern_1rguf_gg_",
|
|
25
|
+
"--pattern": "--pattern_1rguf",
|
|
26
|
+
"_hide": "__hide_1rguf_gg_",
|
|
27
|
+
"_transparent": "__transparent_1rguf_gg_",
|
|
28
|
+
"_onClick": "__onClick_1rguf_gg_",
|
|
29
|
+
"__SBackground": "___SBackground_1rguf_gg_",
|
|
30
|
+
"__SBarAnnotation": "___SBarAnnotation_1rguf_gg_",
|
|
31
|
+
"__SBarLabel": "___SBarLabel_1rguf_gg_",
|
|
32
|
+
"__SBarPercent": "___SBarPercent_1rguf_gg_",
|
|
33
|
+
"__SBarValue": "___SBarValue_1rguf_gg_",
|
|
34
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1rguf_gg_"
|
|
35
35
|
});
|
|
36
36
|
export var MIN_HEIGHT = 2;
|
|
37
37
|
var calcPartBarY = function calcPartBarY(y, minHeight, height) {
|
package/lib/es6/Bubble.js
CHANGED
|
@@ -17,20 +17,20 @@ import { getBubbleChartValueScale, measureText } from './utils';
|
|
|
17
17
|
import Tooltip from './Tooltip';
|
|
18
18
|
import { PatternFill } from './Pattern';
|
|
19
19
|
/*!__reshadow-styles__:"./style/bubble.shadow.css"*/
|
|
20
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
20
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_bosjb_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));stroke:var(--intergalactic-chart-grid-border, #fff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_bosjb);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_bosjb_gg_:hover{opacity:.8}}.___SBubble_bosjb_gg_.__color_bosjb_gg_{fill:var(--color_bosjb)}.___SBubble_bosjb_gg_.__pattern_bosjb_gg_.__color_bosjb_gg_{fill:var(--pattern_bosjb);stroke:var(--color_bosjb);stroke-width:1px}.___SBubble_bosjb_gg_.__transparent_bosjb_gg_{opacity:.3}.___SCenter_bosjb_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210))}.___SCenter_bosjb_gg_.__color_bosjb_gg_{stroke:var(--color_bosjb)}.___SCenter_bosjb_gg_.__transparent_bosjb_gg_{opacity:.3}.___SLabel_bosjb_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210))}.___SLabel_bosjb_gg_._position_right_bosjb_gg_{text-anchor:end}.___SLabel_bosjb_gg_._position_left_bosjb_gg_{text-anchor:start}.___SLabel_bosjb_gg_.__color_bosjb_gg_{fill:var(--color_bosjb)}.___SLabel_bosjb_gg_.__transparent_bosjb_gg_{opacity:.3}", /*__inner_css_end__*/"bosjb_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SBubble": "
|
|
24
|
-
"_color": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"_pattern": "
|
|
27
|
-
"--pattern": "--
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"__SCenter": "
|
|
30
|
-
"__SLabel": "
|
|
31
|
-
"_position_right": "
|
|
32
|
-
"_position_left": "
|
|
33
|
-
"--duration": "--
|
|
23
|
+
"__SBubble": "___SBubble_bosjb_gg_",
|
|
24
|
+
"_color": "__color_bosjb_gg_",
|
|
25
|
+
"--color": "--color_bosjb",
|
|
26
|
+
"_pattern": "__pattern_bosjb_gg_",
|
|
27
|
+
"--pattern": "--pattern_bosjb",
|
|
28
|
+
"_transparent": "__transparent_bosjb_gg_",
|
|
29
|
+
"__SCenter": "___SCenter_bosjb_gg_",
|
|
30
|
+
"__SLabel": "___SLabel_bosjb_gg_",
|
|
31
|
+
"_position_right": "_position_right_bosjb_gg_",
|
|
32
|
+
"_position_left": "_position_left_bosjb_gg_",
|
|
33
|
+
"--duration": "--duration_bosjb"
|
|
34
34
|
});
|
|
35
35
|
var BubbleRoot = /*#__PURE__*/function (_Component) {
|
|
36
36
|
_inherits(BubbleRoot, _Component);
|
|
@@ -23,24 +23,24 @@ import Tooltip from './Tooltip';
|
|
|
23
23
|
import { eventToPoint } from './utils';
|
|
24
24
|
import { callAllEventHandlers } from '@semcore/utils/lib/assignProps';
|
|
25
25
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
26
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1rguf_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));transition-property:height,width,y;transition-duration:var(--duration_1rguf);transition-timing-function:ease-in-out}.___SBar_1rguf_gg_.__color_1rguf_gg_{fill:var(--color_1rguf)}.___SBar_1rguf_gg_.__pattern_1rguf_gg_.__color_1rguf_gg_{fill:var(--pattern_1rguf);stroke:var(--color_1rguf);stroke-width:1px}.___SBar_1rguf_gg_.__hide_1rguf_gg_{display:none}.___SBar_1rguf_gg_.__transparent_1rguf_gg_{opacity:.3}.___SBackground_1rguf_gg_.__onClick_1rguf_gg_,.___SBar_1rguf_gg_.__onClick_1rguf_gg_{cursor:pointer}.___SBackground_1rguf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, rgb(241, 242, 242))}.___SBarAnnotation_1rguf_gg_{display:flex;justify-content:space-between}.___SBarLabel_1rguf_gg_,.___SBarPercent_1rguf_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarLabel_1rguf_gg_{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:auto}.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));margin-right:var(--intergalactic-spacing-2x, 8px)}@supports (color:color(display-p3 0 0 0)){.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SBarValue_1rguf_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);text-align:right}.___SCompactHorizontalBarHoverRect_1rguf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"1rguf_gg_"),
|
|
27
27
|
/*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SBar": "
|
|
30
|
-
"--duration": "--
|
|
31
|
-
"_color": "
|
|
32
|
-
"--color": "--
|
|
33
|
-
"_pattern": "
|
|
34
|
-
"--pattern": "--
|
|
35
|
-
"_hide": "
|
|
36
|
-
"_transparent": "
|
|
37
|
-
"_onClick": "
|
|
38
|
-
"__SBackground": "
|
|
39
|
-
"__SBarAnnotation": "
|
|
40
|
-
"__SBarLabel": "
|
|
41
|
-
"__SBarPercent": "
|
|
42
|
-
"__SBarValue": "
|
|
43
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
29
|
+
"__SBar": "___SBar_1rguf_gg_",
|
|
30
|
+
"--duration": "--duration_1rguf",
|
|
31
|
+
"_color": "__color_1rguf_gg_",
|
|
32
|
+
"--color": "--color_1rguf",
|
|
33
|
+
"_pattern": "__pattern_1rguf_gg_",
|
|
34
|
+
"--pattern": "--pattern_1rguf",
|
|
35
|
+
"_hide": "__hide_1rguf_gg_",
|
|
36
|
+
"_transparent": "__transparent_1rguf_gg_",
|
|
37
|
+
"_onClick": "__onClick_1rguf_gg_",
|
|
38
|
+
"__SBackground": "___SBackground_1rguf_gg_",
|
|
39
|
+
"__SBarAnnotation": "___SBarAnnotation_1rguf_gg_",
|
|
40
|
+
"__SBarLabel": "___SBarLabel_1rguf_gg_",
|
|
41
|
+
"__SBarPercent": "___SBarPercent_1rguf_gg_",
|
|
42
|
+
"__SBarValue": "___SBarValue_1rguf_gg_",
|
|
43
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1rguf_gg_"
|
|
44
44
|
});
|
|
45
45
|
import canUseDOM from '@semcore/utils/lib/canUseDOM';
|
|
46
46
|
import { Box } from '@semcore/flex-box';
|
package/lib/es6/Donut.js
CHANGED
|
@@ -23,17 +23,17 @@ import { getChartDefaultColorName } from './utils';
|
|
|
23
23
|
import Tooltip from './Tooltip';
|
|
24
24
|
import { PatternFill } from './Pattern';
|
|
25
25
|
/*!__reshadow-styles__:"./style/donut.shadow.css"*/
|
|
26
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_9fyho_gg_{stroke:var(--intergalactic-chart-grid-border, #fff);fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210))}.___SPie_9fyho_gg_.__color_9fyho_gg_{fill:var(--color_9fyho)}.___SPie_9fyho_gg_.__pattern_9fyho_gg_.__color_9fyho_gg_{fill:var(--pattern_9fyho);stroke:var(--color_9fyho);stroke-width:1px}.___SPie_9fyho_gg_.__transparent_9fyho_gg_{opacity:.3}.___SEmptyData_9fyho_gg_{fill:var(--intergalactic-chart-palette-order-null, rgb(221, 222, 222))}.___SEmptyData_9fyho_gg_.__color_9fyho_gg_{fill:var(--color_9fyho)}.___SLabel_9fyho_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}", /*__inner_css_end__*/"9fyho_gg_"),
|
|
27
27
|
/*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SPie": "
|
|
30
|
-
"_color": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_pattern": "
|
|
33
|
-
"--pattern": "--
|
|
34
|
-
"_transparent": "
|
|
35
|
-
"__SEmptyData": "
|
|
36
|
-
"__SLabel": "
|
|
29
|
+
"__SPie": "___SPie_9fyho_gg_",
|
|
30
|
+
"_color": "__color_9fyho_gg_",
|
|
31
|
+
"--color": "--color_9fyho",
|
|
32
|
+
"_pattern": "__pattern_9fyho_gg_",
|
|
33
|
+
"--pattern": "--pattern_9fyho",
|
|
34
|
+
"_transparent": "__transparent_9fyho_gg_",
|
|
35
|
+
"__SEmptyData": "___SEmptyData_9fyho_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_9fyho_gg_"
|
|
37
37
|
});
|
|
38
38
|
var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
|
|
39
39
|
function transitionAnglePie(_ref6) {
|
package/lib/es6/Dots.js
CHANGED
|
@@ -7,16 +7,16 @@ import trottle from '@semcore/utils/lib/rafTrottle';
|
|
|
7
7
|
import createElement from './createElement';
|
|
8
8
|
import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
|
|
9
9
|
/*!__reshadow-styles__:"./style/dot.shadow.css"*/
|
|
10
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
10
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_p1vep_gg_ .___SDot_p1vep_gg_{transition-duration:var(--duration_p1vep)}.___SDot_p1vep_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #fff);fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_p1vep_gg_.__hide_p1vep_gg_{display:none}.___SDot_p1vep_gg_.__color_p1vep_gg_{fill:var(--color_p1vep)}.___SDot_p1vep_gg_.__transparent_p1vep_gg_{opacity:.3}", /*__inner_css_end__*/"p1vep_gg_"),
|
|
11
11
|
/*__reshadow_css_end__*/
|
|
12
12
|
{
|
|
13
|
-
"__SDot": "
|
|
14
|
-
"_hide": "
|
|
15
|
-
"_color": "
|
|
16
|
-
"--color": "--
|
|
17
|
-
"_transparent": "
|
|
18
|
-
"__SDots": "
|
|
19
|
-
"--duration": "--
|
|
13
|
+
"__SDot": "___SDot_p1vep_gg_",
|
|
14
|
+
"_hide": "__hide_p1vep_gg_",
|
|
15
|
+
"_color": "__color_p1vep_gg_",
|
|
16
|
+
"--color": "--color_p1vep",
|
|
17
|
+
"_transparent": "__transparent_p1vep_gg_",
|
|
18
|
+
"__SDots": "___SDots_p1vep_gg_",
|
|
19
|
+
"--duration": "--duration_p1vep"
|
|
20
20
|
});
|
|
21
21
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
22
22
|
var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
|
package/lib/es6/HorizontalBar.js
CHANGED
|
@@ -13,24 +13,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
13
13
|
import { scaleToBand, roundedPath } from './utils';
|
|
14
14
|
import { PatternFill } from './Pattern';
|
|
15
15
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
16
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1rguf_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));transition-property:height,width,y;transition-duration:var(--duration_1rguf);transition-timing-function:ease-in-out}.___SBar_1rguf_gg_.__color_1rguf_gg_{fill:var(--color_1rguf)}.___SBar_1rguf_gg_.__pattern_1rguf_gg_.__color_1rguf_gg_{fill:var(--pattern_1rguf);stroke:var(--color_1rguf);stroke-width:1px}.___SBar_1rguf_gg_.__hide_1rguf_gg_{display:none}.___SBar_1rguf_gg_.__transparent_1rguf_gg_{opacity:.3}.___SBackground_1rguf_gg_.__onClick_1rguf_gg_,.___SBar_1rguf_gg_.__onClick_1rguf_gg_{cursor:pointer}.___SBackground_1rguf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, rgb(241, 242, 242))}.___SBarAnnotation_1rguf_gg_{display:flex;justify-content:space-between}.___SBarLabel_1rguf_gg_,.___SBarPercent_1rguf_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarLabel_1rguf_gg_{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:auto}.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));margin-right:var(--intergalactic-spacing-2x, 8px)}@supports (color:color(display-p3 0 0 0)){.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SBarPercent_1rguf_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SBarValue_1rguf_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);text-align:right}.___SCompactHorizontalBarHoverRect_1rguf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"1rguf_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
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": "
|
|
19
|
+
"__SBar": "___SBar_1rguf_gg_",
|
|
20
|
+
"--duration": "--duration_1rguf",
|
|
21
|
+
"_color": "__color_1rguf_gg_",
|
|
22
|
+
"--color": "--color_1rguf",
|
|
23
|
+
"_pattern": "__pattern_1rguf_gg_",
|
|
24
|
+
"--pattern": "--pattern_1rguf",
|
|
25
|
+
"_hide": "__hide_1rguf_gg_",
|
|
26
|
+
"_transparent": "__transparent_1rguf_gg_",
|
|
27
|
+
"_onClick": "__onClick_1rguf_gg_",
|
|
28
|
+
"__SBackground": "___SBackground_1rguf_gg_",
|
|
29
|
+
"__SBarAnnotation": "___SBarAnnotation_1rguf_gg_",
|
|
30
|
+
"__SBarLabel": "___SBarLabel_1rguf_gg_",
|
|
31
|
+
"__SBarPercent": "___SBarPercent_1rguf_gg_",
|
|
32
|
+
"__SBarValue": "___SBarValue_1rguf_gg_",
|
|
33
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1rguf_gg_"
|
|
34
34
|
});
|
|
35
35
|
export var MIN_WIDTH = 2;
|
|
36
36
|
var calcPartBarX = function calcPartBarX(x, minWidth, width) {
|
package/lib/es6/Hover.js
CHANGED
|
@@ -16,11 +16,11 @@ import trottle from '@semcore/utils/lib/rafTrottle';
|
|
|
16
16
|
import createElement from './createElement';
|
|
17
17
|
import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
|
|
18
18
|
/*!__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
19
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
19
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_fi6k4_gg_{outline:0;stroke:var(--intergalactic-chart-grid-x-axis, rgb(214, 216, 215))}.___SHoverRect_fi6k4_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"fi6k4_gg_"),
|
|
20
20
|
/*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SHoverLine": "
|
|
23
|
-
"__SHoverRect": "
|
|
22
|
+
"__SHoverLine": "___SHoverLine_fi6k4_gg_",
|
|
23
|
+
"__SHoverRect": "___SHoverRect_fi6k4_gg_"
|
|
24
24
|
});
|
|
25
25
|
import Tooltip from './Tooltip';
|
|
26
26
|
var Hover = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Line.js
CHANGED
|
@@ -15,17 +15,17 @@ import Dots from './Dots';
|
|
|
15
15
|
import AnimatedClipPath from './AnimatedClipPath';
|
|
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_1kkrq_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));transition-property:d;transition-duration:var(--duration_1kkrq);transition-timing-function:ease-in-out}.___SLine_1kkrq_gg_.__color_1kkrq_gg_{stroke:var(--color_1kkrq)}.___SLine_1kkrq_gg_.__hide_1kkrq_gg_{display:none}.___SLine_1kkrq_gg_.__transparent_1kkrq_gg_{opacity:.3}.___SNull_1kkrq_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_1kkrq_gg_{stroke:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SNull_1kkrq_gg_{stroke:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SNull_1kkrq_gg_.__hide_1kkrq_gg_{display:none}.___SLineArea_1kkrq_gg_{transition-property:d;transition-duration:var(--duration_1kkrq);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210))}.___SLineArea_1kkrq_gg_.__color_1kkrq_gg_{fill:var(--color_1kkrq)}", /*__inner_css_end__*/"1kkrq_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_1kkrq_gg_",
|
|
22
|
+
"--duration": "--duration_1kkrq",
|
|
23
|
+
"_color": "__color_1kkrq_gg_",
|
|
24
|
+
"--color": "--color_1kkrq",
|
|
25
|
+
"_hide": "__hide_1kkrq_gg_",
|
|
26
|
+
"_transparent": "__transparent_1kkrq_gg_",
|
|
27
|
+
"__SNull": "___SNull_1kkrq_gg_",
|
|
28
|
+
"__SLineArea": "___SLineArea_1kkrq_gg_"
|
|
29
29
|
});
|
|
30
30
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
31
31
|
_inherits(LineRoot, _Component);
|
package/lib/es6/Plot.js
CHANGED
|
@@ -20,11 +20,11 @@ import colorResolverEnhance from '@semcore/utils/lib/enhances/resolveColorEnhanc
|
|
|
20
20
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
21
21
|
import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
22
22
|
/*!__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_oalum_gg_{overflow:hidden}.___SPlot_oalum_gg_:active,.___SPlot_oalum_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_oalum_gg_.__keyboardFocused_oalum_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, rgb(91, 96, 186));box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441))}", /*__inner_css_end__*/"oalum_gg_"),
|
|
24
24
|
/*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SPlot": "
|
|
27
|
-
"_keyboardFocused": "
|
|
26
|
+
"__SPlot": "___SPlot_oalum_gg_",
|
|
27
|
+
"_keyboardFocused": "__keyboardFocused_oalum_gg_"
|
|
28
28
|
});
|
|
29
29
|
var PlotRoot = /*#__PURE__*/function (_Component) {
|
|
30
30
|
_inherits(PlotRoot, _Component);
|
package/lib/es6/Radar.js
CHANGED
|
@@ -22,27 +22,27 @@ import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
|
|
22
22
|
import Tooltip from './Tooltip';
|
|
23
23
|
import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
24
24
|
/*!__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
25
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
25
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_2663h_gg_,.___SAxisTick_2663h_gg_,.___SAxis_2663h_gg_{stroke:var(--intergalactic-chart-grid-line, rgb(237, 239, 238));stroke-width:1;fill:transparent}.___SAxisLine_2663h_gg_,.___SAxisTick_2663h_gg_{stroke-dasharray:2}.___SAxisLine_2663h_gg_.__active_2663h_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, rgb(214, 216, 215))}.___SAxisLabel_2663h_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_2663h_gg_.__xDirection_2663h_gg_{text-anchor:var(--xDirection_2663h)}.___SAxisLabel_2663h_gg_.__yDirection_2663h_gg_{dominant-baseline:var(--yDirection_2663h)}.___SPolygonDot_2663h_gg_,.___SPolygon_2663h_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210))}.___SPolygon_2663h_gg_{opacity:.2}.___SPolygon_2663h_gg_.__color_2663h_gg_{fill:var(--color_2663h)}.___SPolygon_2663h_gg_.__pattern_2663h_gg_.__color_2663h_gg_{fill:var(--pattern_2663h);stroke:var(--color_2663h);stroke-width:1px}.___SPolygonDot_2663h_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #fff);r:6px}.___SPolygonDot_2663h_gg_.__transparent_2663h_gg_{opacity:.3}.___SPolygonDot_2663h_gg_.__color_2663h_gg_{fill:var(--color_2663h)}.___SPolygonLine_2663h_gg_{stroke:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));stroke-width:3;fill:transparent}.___SPolygonLine_2663h_gg_.__transparent_2663h_gg_{opacity:.3}.___SPolygonLine_2663h_gg_.__color_2663h_gg_{stroke:var(--color_2663h)}.___SPieRect_2663h_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"2663h_gg_"),
|
|
26
26
|
/*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__SAxis": "
|
|
29
|
-
"__SAxisLine": "
|
|
30
|
-
"__SAxisTick": "
|
|
31
|
-
"_active": "
|
|
32
|
-
"__SAxisLabel": "
|
|
33
|
-
"_xDirection": "
|
|
34
|
-
"--xDirection": "--
|
|
35
|
-
"_yDirection": "
|
|
36
|
-
"--yDirection": "--
|
|
37
|
-
"__SPolygon": "
|
|
38
|
-
"_color": "
|
|
39
|
-
"--color": "--
|
|
40
|
-
"_pattern": "
|
|
41
|
-
"--pattern": "--
|
|
42
|
-
"__SPolygonDot": "
|
|
43
|
-
"_transparent": "
|
|
44
|
-
"__SPolygonLine": "
|
|
45
|
-
"__SPieRect": "
|
|
28
|
+
"__SAxis": "___SAxis_2663h_gg_",
|
|
29
|
+
"__SAxisLine": "___SAxisLine_2663h_gg_",
|
|
30
|
+
"__SAxisTick": "___SAxisTick_2663h_gg_",
|
|
31
|
+
"_active": "__active_2663h_gg_",
|
|
32
|
+
"__SAxisLabel": "___SAxisLabel_2663h_gg_",
|
|
33
|
+
"_xDirection": "__xDirection_2663h_gg_",
|
|
34
|
+
"--xDirection": "--xDirection_2663h",
|
|
35
|
+
"_yDirection": "__yDirection_2663h_gg_",
|
|
36
|
+
"--yDirection": "--yDirection_2663h",
|
|
37
|
+
"__SPolygon": "___SPolygon_2663h_gg_",
|
|
38
|
+
"_color": "__color_2663h_gg_",
|
|
39
|
+
"--color": "--color_2663h",
|
|
40
|
+
"_pattern": "__pattern_2663h_gg_",
|
|
41
|
+
"--pattern": "--pattern_2663h",
|
|
42
|
+
"__SPolygonDot": "___SPolygonDot_2663h_gg_",
|
|
43
|
+
"_transparent": "__transparent_2663h_gg_",
|
|
44
|
+
"__SPolygonLine": "___SPolygonLine_2663h_gg_",
|
|
45
|
+
"__SPieRect": "___SPieRect_2663h_gg_"
|
|
46
46
|
});
|
|
47
47
|
var clampAngle = function clampAngle(angle) {
|
|
48
48
|
angle = angle % (2 * Math.PI);
|
package/lib/es6/RadialTree.js
CHANGED
|
@@ -21,20 +21,20 @@ import createElement from './createElement';
|
|
|
21
21
|
import { getChartDefaultColorName, measureText } from './utils';
|
|
22
22
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
23
23
|
/*!__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
24
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
24
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_4x28y_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, rgb(36, 93, 229))}.___SLine_4x28y_gg_{stroke:var(--intergalactic-text-large-info, rgb(36, 93, 229))}.___SLine_4x28y_gg_.__stroke_4x28y_gg_{stroke:var(--stroke_4x28y)}.___SLine_4x28y_gg_.__transparent_4x28y_gg_{opacity:.3}.___SCap_4x28y_gg_{transition:r .1s}.___SCap_4x28y_gg_.__pattern_4x28y_gg_{stroke:var(--intergalactic-chart-grid-border, #fff);stroke-width:1px}.___SCap_4x28y_gg_.__transparent_4x28y_gg_,.___SIcon_4x28y_gg_.__transparent_4x28y_gg_,.___SLabel_4x28y_gg_.__transparent_4x28y_gg_{opacity:.3}.___SLabel_4x28y_gg_{fill:var(--color_4x28y)}@media (hover:hover){.___SRadian_4x28y_gg_:hover .___SLabel_4x28y_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_4x28y_gg_{transition:none}}", /*__inner_css_end__*/"4x28y_gg_"),
|
|
25
25
|
/*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SRadian": "
|
|
28
|
-
"__SLine": "
|
|
29
|
-
"_stroke": "
|
|
30
|
-
"--stroke": "--
|
|
31
|
-
"_transparent": "
|
|
32
|
-
"__SCap": "
|
|
33
|
-
"_pattern": "
|
|
34
|
-
"__SIcon": "
|
|
35
|
-
"__SLabel": "
|
|
36
|
-
"--color": "--
|
|
37
|
-
"__SLineCap": "
|
|
27
|
+
"__SRadian": "___SRadian_4x28y_gg_",
|
|
28
|
+
"__SLine": "___SLine_4x28y_gg_",
|
|
29
|
+
"_stroke": "__stroke_4x28y_gg_",
|
|
30
|
+
"--stroke": "--stroke_4x28y",
|
|
31
|
+
"_transparent": "__transparent_4x28y_gg_",
|
|
32
|
+
"__SCap": "___SCap_4x28y_gg_",
|
|
33
|
+
"_pattern": "__pattern_4x28y_gg_",
|
|
34
|
+
"__SIcon": "___SIcon_4x28y_gg_",
|
|
35
|
+
"__SLabel": "___SLabel_4x28y_gg_",
|
|
36
|
+
"--color": "--color_4x28y",
|
|
37
|
+
"__SLineCap": "___SLineCap_4x28y_gg_"
|
|
38
38
|
});
|
|
39
39
|
var baseAngle = -Math.PI / 2; // The top vertical line
|
|
40
40
|
var RadialTreeBase = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Reference.js
CHANGED
|
@@ -12,20 +12,20 @@ import uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';
|
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
import { scaleOfBandwidth } from './utils';
|
|
14
14
|
/*!__reshadow-styles__:"./style/reference.shadow.css"*/
|
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_4tpck_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, rgb(214, 216, 215))}.___STitle_4tpck_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_4tpck)}@supports (color:color(display-p3 0 0 0)){.___STitle_4tpck_gg_{fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_4tpck_gg_{fill:var(--intergalactic-chart-grid-text-label, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___STitle_4tpck_gg_._position_top_4tpck_gg_{text-anchor:middle}.___STitle_4tpck_gg_._position_bottom_4tpck_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_4tpck_gg_._position_left_4tpck_gg_,.___STitle_4tpck_gg_._position_right_4tpck_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_4tpck_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgb(241, 242, 242))}.___SStripes_4tpck_gg_{fill:var(--fill_4tpck)}.___SStripesPatternPath_4tpck_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgb(237, 239, 238));stroke-width:1px}", /*__inner_css_end__*/"4tpck_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SReferenceLine": "
|
|
19
|
-
"__STitle": "
|
|
20
|
-
"--transform-origin": "--transform-
|
|
21
|
-
"_position_top": "
|
|
22
|
-
"_position_bottom": "
|
|
23
|
-
"_position_right": "
|
|
24
|
-
"_position_left": "
|
|
25
|
-
"__SBackground": "
|
|
26
|
-
"__SStripes": "
|
|
27
|
-
"--fill": "--
|
|
28
|
-
"__SStripesPatternPath": "
|
|
18
|
+
"__SReferenceLine": "___SReferenceLine_4tpck_gg_",
|
|
19
|
+
"__STitle": "___STitle_4tpck_gg_",
|
|
20
|
+
"--transform-origin": "--transform-origin_4tpck",
|
|
21
|
+
"_position_top": "_position_top_4tpck_gg_",
|
|
22
|
+
"_position_bottom": "_position_bottom_4tpck_gg_",
|
|
23
|
+
"_position_right": "_position_right_4tpck_gg_",
|
|
24
|
+
"_position_left": "_position_left_4tpck_gg_",
|
|
25
|
+
"__SBackground": "___SBackground_4tpck_gg_",
|
|
26
|
+
"__SStripes": "___SStripes_4tpck_gg_",
|
|
27
|
+
"--fill": "--fill_4tpck",
|
|
28
|
+
"__SStripesPatternPath": "___SStripesPatternPath_4tpck_gg_"
|
|
29
29
|
});
|
|
30
30
|
var side2direction = {
|
|
31
31
|
left: 'vertical',
|
package/lib/es6/ScatterPlot.js
CHANGED
|
@@ -18,17 +18,17 @@ import { getScatterPlotRadius } from './utils';
|
|
|
18
18
|
import Tooltip from './Tooltip';
|
|
19
19
|
import { PatternFill } from './Pattern';
|
|
20
20
|
/*!__reshadow-styles__:"./style/scatterplot.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_19ugg_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(104, 109, 210));transition-property:cx,cy;transition-duration:var(--duration_19ugg);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_19ugg_gg_:hover{opacity:.8}}.___SScatterPlot_19ugg_gg_.__color_19ugg_gg_{fill:var(--color_19ugg)}.___SScatterPlot_19ugg_gg_.__pattern_19ugg_gg_.__color_19ugg_gg_{fill:var(--pattern_19ugg);stroke:var(--color_19ugg);stroke-width:1px}.___SScatterPlot_19ugg_gg_.__transparent_19ugg_gg_{opacity:.3}.___SValue_19ugg_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, rgb(91, 96, 186))}.___SValue_19ugg_gg_.__color_19ugg_gg_{stroke:var(--color_19ugg)}.___SValue_19ugg_gg_.__transparent_19ugg_gg_{opacity:.3}", /*__inner_css_end__*/"19ugg_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SScatterPlot": "
|
|
25
|
-
"_color": "
|
|
26
|
-
"--color": "--
|
|
27
|
-
"_pattern": "
|
|
28
|
-
"--pattern": "--
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SValue": "
|
|
31
|
-
"--duration": "--
|
|
24
|
+
"__SScatterPlot": "___SScatterPlot_19ugg_gg_",
|
|
25
|
+
"_color": "__color_19ugg_gg_",
|
|
26
|
+
"--color": "--color_19ugg",
|
|
27
|
+
"_pattern": "__pattern_19ugg_gg_",
|
|
28
|
+
"--pattern": "--pattern_19ugg",
|
|
29
|
+
"_transparent": "__transparent_19ugg_gg_",
|
|
30
|
+
"__SValue": "___SValue_19ugg_gg_",
|
|
31
|
+
"--duration": "--duration_19ugg"
|
|
32
32
|
});
|
|
33
33
|
var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
|
|
34
34
|
_inherits(ScatterPlotRoot, _Component);
|