@semcore/d3-chart 3.23.1 → 3.24.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 +7 -1
- package/lib/cjs/Area.js +9 -9
- package/lib/cjs/Axis.js +14 -14
- package/lib/cjs/Bar.js +8 -8
- package/lib/cjs/Bubble.js +10 -10
- package/lib/cjs/Donut.js +7 -7
- package/lib/cjs/Dots.js +8 -8
- package/lib/cjs/HorizontalBar.js +8 -8
- 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 +17 -17
- package/lib/cjs/RadialTree.js +10 -10
- package/lib/cjs/RadialTree.js.map +1 -1
- package/lib/cjs/ReferenceLine.js +9 -9
- package/lib/cjs/ScatterPlot.js +7 -7
- package/lib/cjs/Tooltip.js +8 -8
- package/lib/cjs/Venn.js +7 -7
- 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 +15 -15
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/cjs/types/Plot.d.js.map +1 -1
- package/lib/cjs/types/Tooltip.d.js.map +1 -1
- package/lib/es6/Area.js +9 -9
- package/lib/es6/Axis.js +14 -14
- package/lib/es6/Bar.js +8 -8
- package/lib/es6/Bubble.js +10 -10
- package/lib/es6/Donut.js +7 -7
- package/lib/es6/Dots.js +8 -8
- package/lib/es6/HorizontalBar.js +8 -8
- 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 +17 -17
- package/lib/es6/RadialTree.js +10 -10
- package/lib/es6/RadialTree.js.map +1 -1
- package/lib/es6/ReferenceLine.js +9 -9
- package/lib/es6/ScatterPlot.js +7 -7
- package/lib/es6/Tooltip.js +8 -8
- package/lib/es6/Venn.js +7 -7
- 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 +15 -15
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/types/Plot.d.js.map +1 -1
- package/lib/es6/types/Tooltip.d.js.map +1 -1
- package/lib/types/Plot.d.ts +1 -1
- package/lib/types/RadialTree.d.ts +2 -2
- package/lib/types/Tooltip.d.ts +5 -1
- package/package.json +7 -7
package/lib/es6/Axis.js
CHANGED
|
@@ -12,20 +12,20 @@ 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__*/".
|
|
16
|
-
"__SAxis": "
|
|
17
|
-
"_hide": "
|
|
18
|
-
"__STick": "
|
|
19
|
-
"__SGrid": "
|
|
20
|
-
"__STitle": "
|
|
21
|
-
"--transform-origin": "--transform-
|
|
22
|
-
"_position_top": "
|
|
23
|
-
"_position_bottom": "
|
|
24
|
-
"_position_right": "
|
|
25
|
-
"_position_left": "
|
|
26
|
-
"_verticalWritingMode": "
|
|
27
|
-
"_position_custom_0": "
|
|
28
|
-
"_position_custom_1": "
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_yltg1_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_yltg1_gg_.__hide_yltg1_gg_,.___STick_yltg1_gg_.__hide_yltg1_gg_{display:none}.___STick_yltg1_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_yltg1_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_yltg1_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_yltg1)}.___STitle_yltg1_gg_._position_top_yltg1_gg_{text-anchor:middle}.___STitle_yltg1_gg_._position_bottom_yltg1_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_yltg1_gg_._position_left_yltg1_gg_,.___STitle_yltg1_gg_._position_right_yltg1_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_yltg1_gg_._position_left_yltg1_gg_.__verticalWritingMode_yltg1_gg_,.___STitle_yltg1_gg_._position_right_yltg1_gg_.__verticalWritingMode_yltg1_gg_{writing-mode:vertical-rl;transform:none}.___STick_yltg1_gg_._position_top_yltg1_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_yltg1_gg_._position_bottom_yltg1_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_yltg1_gg_._position_right_yltg1_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_yltg1_gg_._position_left_yltg1_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_yltg1_gg_._position_custom_0_yltg1_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_yltg1_gg_._position_custom_1_yltg1_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "yltg1_gg_") /*__reshadow_css_end__*/, {
|
|
16
|
+
"__SAxis": "___SAxis_yltg1_gg_",
|
|
17
|
+
"_hide": "__hide_yltg1_gg_",
|
|
18
|
+
"__STick": "___STick_yltg1_gg_",
|
|
19
|
+
"__SGrid": "___SGrid_yltg1_gg_",
|
|
20
|
+
"__STitle": "___STitle_yltg1_gg_",
|
|
21
|
+
"--transform-origin": "--transform-origin_yltg1",
|
|
22
|
+
"_position_top": "_position_top_yltg1_gg_",
|
|
23
|
+
"_position_bottom": "_position_bottom_yltg1_gg_",
|
|
24
|
+
"_position_right": "_position_right_yltg1_gg_",
|
|
25
|
+
"_position_left": "_position_left_yltg1_gg_",
|
|
26
|
+
"_verticalWritingMode": "__verticalWritingMode_yltg1_gg_",
|
|
27
|
+
"_position_custom_0": "_position_custom_0_yltg1_gg_",
|
|
28
|
+
"_position_custom_1": "_position_custom_1_yltg1_gg_"
|
|
29
29
|
});
|
|
30
30
|
var CUSTOM_0 = Symbol('custom_0');
|
|
31
31
|
var CUSTOM_1 = Symbol('custom_1');
|
package/lib/es6/Bar.js
CHANGED
|
@@ -13,14 +13,14 @@ import createElement from './createElement';
|
|
|
13
13
|
import AnimatedClipPath from './AnimatedClipPath';
|
|
14
14
|
import { scaleToBand, roundedPath } from './utils';
|
|
15
15
|
/*__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
16
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
17
|
-
"__SBar": "
|
|
18
|
-
"--duration": "--
|
|
19
|
-
"_color": "
|
|
20
|
-
"--color": "--
|
|
21
|
-
"_hide": "
|
|
22
|
-
"_transparent": "
|
|
23
|
-
"__SBackground": "
|
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_zsnwj_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_zsnwj);transition-timing-function:ease-in-out}.___SBar_zsnwj_gg_.__color_zsnwj_gg_{fill:var(--color_zsnwj)}.___SBar_zsnwj_gg_.__hide_zsnwj_gg_{display:none}.___SBar_zsnwj_gg_.__transparent_zsnwj_gg_{opacity:.3}.___SBackground_zsnwj_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "zsnwj_gg_") /*__reshadow_css_end__*/, {
|
|
17
|
+
"__SBar": "___SBar_zsnwj_gg_",
|
|
18
|
+
"--duration": "--duration_zsnwj",
|
|
19
|
+
"_color": "__color_zsnwj_gg_",
|
|
20
|
+
"--color": "--color_zsnwj",
|
|
21
|
+
"_hide": "__hide_zsnwj_gg_",
|
|
22
|
+
"_transparent": "__transparent_zsnwj_gg_",
|
|
23
|
+
"__SBackground": "___SBackground_zsnwj_gg_"
|
|
24
24
|
});
|
|
25
25
|
export var MIN_HEIGHT = 2;
|
|
26
26
|
var calcPartBarY = function calcPartBarY(y, minHeight, height) {
|
package/lib/es6/Bubble.js
CHANGED
|
@@ -19,16 +19,16 @@ import createElement from './createElement';
|
|
|
19
19
|
import { CONSTANT, measureText } from './utils';
|
|
20
20
|
import Tooltip from './Tooltip';
|
|
21
21
|
/*__reshadow-styles__:"./style/bubble.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SBubble": "
|
|
24
|
-
"_color": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"_transparent": "
|
|
27
|
-
"__SCenter": "
|
|
28
|
-
"__SLabel": "
|
|
29
|
-
"_position_right": "
|
|
30
|
-
"_position_left": "
|
|
31
|
-
"--duration": "--
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_6ptzr_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_6ptzr);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_6ptzr_gg_:hover{opacity:.8}}.___SBubble_6ptzr_gg_.__color_6ptzr_gg_{fill:var(--color_6ptzr)}.___SBubble_6ptzr_gg_.__transparent_6ptzr_gg_{opacity:.3}.___SCenter_6ptzr_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_6ptzr_gg_.__color_6ptzr_gg_{stroke:var(--color_6ptzr)}.___SCenter_6ptzr_gg_.__transparent_6ptzr_gg_{opacity:.3}.___SLabel_6ptzr_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_6ptzr_gg_._position_right_6ptzr_gg_{text-anchor:end}.___SLabel_6ptzr_gg_._position_left_6ptzr_gg_{text-anchor:start}.___SLabel_6ptzr_gg_.__color_6ptzr_gg_{fill:var(--color_6ptzr)}.___SLabel_6ptzr_gg_.__transparent_6ptzr_gg_{opacity:.3}" /*__inner_css_end__*/, "6ptzr_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SBubble": "___SBubble_6ptzr_gg_",
|
|
24
|
+
"_color": "__color_6ptzr_gg_",
|
|
25
|
+
"--color": "--color_6ptzr",
|
|
26
|
+
"_transparent": "__transparent_6ptzr_gg_",
|
|
27
|
+
"__SCenter": "___SCenter_6ptzr_gg_",
|
|
28
|
+
"__SLabel": "___SLabel_6ptzr_gg_",
|
|
29
|
+
"_position_right": "_position_right_6ptzr_gg_",
|
|
30
|
+
"_position_left": "_position_left_6ptzr_gg_",
|
|
31
|
+
"--duration": "--duration_6ptzr"
|
|
32
32
|
});
|
|
33
33
|
var BubbleRoot = /*#__PURE__*/function (_Component) {
|
|
34
34
|
_inherits(BubbleRoot, _Component);
|
package/lib/es6/Donut.js
CHANGED
|
@@ -22,13 +22,13 @@ import createElement from './createElement';
|
|
|
22
22
|
import { CONSTANT, getChartDefaultColorName } from './utils';
|
|
23
23
|
import Tooltip from './Tooltip';
|
|
24
24
|
/*__reshadow-styles__:"./style/donut.shadow.css"*/
|
|
25
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
26
|
-
"__SPie": "
|
|
27
|
-
"_color": "
|
|
28
|
-
"--color": "--
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SEmptyData": "
|
|
31
|
-
"__SLabel": "
|
|
25
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_glzqt_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_glzqt_gg_.__color_glzqt_gg_{fill:var(--color_glzqt)}.___SPie_glzqt_gg_.__transparent_glzqt_gg_{opacity:.3}.___SEmptyData_glzqt_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_glzqt_gg_.__color_glzqt_gg_{fill:var(--color_glzqt)}.___SLabel_glzqt_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "glzqt_gg_") /*__reshadow_css_end__*/, {
|
|
26
|
+
"__SPie": "___SPie_glzqt_gg_",
|
|
27
|
+
"_color": "__color_glzqt_gg_",
|
|
28
|
+
"--color": "--color_glzqt",
|
|
29
|
+
"_transparent": "__transparent_glzqt_gg_",
|
|
30
|
+
"__SEmptyData": "___SEmptyData_glzqt_gg_",
|
|
31
|
+
"__SLabel": "___SLabel_glzqt_gg_"
|
|
32
32
|
});
|
|
33
33
|
var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
|
|
34
34
|
function transitionAnglePie(_ref6) {
|
package/lib/es6/Dots.js
CHANGED
|
@@ -7,14 +7,14 @@ import trottle from '@semcore/utils/lib/rafTrottle';
|
|
|
7
7
|
import createElement from './createElement';
|
|
8
8
|
import { eventToPoint, invert, interpolateValue } from './utils';
|
|
9
9
|
/*__reshadow-styles__:"./style/dot.shadow.css"*/
|
|
10
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
11
|
-
"__SDot": "
|
|
12
|
-
"_hide": "
|
|
13
|
-
"_color": "
|
|
14
|
-
"--color": "--
|
|
15
|
-
"_transparent": "
|
|
16
|
-
"__SDots": "
|
|
17
|
-
"--duration": "--
|
|
10
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_hpkdq_gg_ .___SDot_hpkdq_gg_{transition-duration:var(--duration_hpkdq)}.___SDot_hpkdq_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_hpkdq_gg_.__hide_hpkdq_gg_{display:none}.___SDot_hpkdq_gg_.__color_hpkdq_gg_{fill:var(--color_hpkdq)}.___SDot_hpkdq_gg_.__transparent_hpkdq_gg_{opacity:.3}" /*__inner_css_end__*/, "hpkdq_gg_") /*__reshadow_css_end__*/, {
|
|
11
|
+
"__SDot": "___SDot_hpkdq_gg_",
|
|
12
|
+
"_hide": "__hide_hpkdq_gg_",
|
|
13
|
+
"_color": "__color_hpkdq_gg_",
|
|
14
|
+
"--color": "--color_hpkdq",
|
|
15
|
+
"_transparent": "__transparent_hpkdq_gg_",
|
|
16
|
+
"__SDots": "___SDots_hpkdq_gg_",
|
|
17
|
+
"--duration": "--duration_hpkdq"
|
|
18
18
|
});
|
|
19
19
|
var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
|
|
20
20
|
function Dots(props) {
|
package/lib/es6/HorizontalBar.js
CHANGED
|
@@ -12,14 +12,14 @@ import createElement from './createElement';
|
|
|
12
12
|
import AnimatedClipPath from './AnimatedClipPath';
|
|
13
13
|
import { scaleToBand, roundedPath } from './utils';
|
|
14
14
|
/*__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
16
|
-
"__SBar": "
|
|
17
|
-
"--duration": "--
|
|
18
|
-
"_color": "
|
|
19
|
-
"--color": "--
|
|
20
|
-
"_hide": "
|
|
21
|
-
"_transparent": "
|
|
22
|
-
"__SBackground": "
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_zsnwj_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_zsnwj);transition-timing-function:ease-in-out}.___SBar_zsnwj_gg_.__color_zsnwj_gg_{fill:var(--color_zsnwj)}.___SBar_zsnwj_gg_.__hide_zsnwj_gg_{display:none}.___SBar_zsnwj_gg_.__transparent_zsnwj_gg_{opacity:.3}.___SBackground_zsnwj_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "zsnwj_gg_") /*__reshadow_css_end__*/, {
|
|
16
|
+
"__SBar": "___SBar_zsnwj_gg_",
|
|
17
|
+
"--duration": "--duration_zsnwj",
|
|
18
|
+
"_color": "__color_zsnwj_gg_",
|
|
19
|
+
"--color": "--color_zsnwj",
|
|
20
|
+
"_hide": "__hide_zsnwj_gg_",
|
|
21
|
+
"_transparent": "__transparent_zsnwj_gg_",
|
|
22
|
+
"__SBackground": "___SBackground_zsnwj_gg_"
|
|
23
23
|
});
|
|
24
24
|
export var MIN_WIDTH = 2;
|
|
25
25
|
var calcPartBarX = function calcPartBarX(x, minWidth, width) {
|
package/lib/es6/Hover.js
CHANGED
|
@@ -16,9 +16,9 @@ import trottle from '@semcore/utils/lib/rafTrottle';
|
|
|
16
16
|
import createElement from './createElement';
|
|
17
17
|
import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, CONSTANT, scaleToBand } from './utils';
|
|
18
18
|
/*__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
19
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
20
|
-
"__SHoverLine": "
|
|
21
|
-
"__SHoverRect": "
|
|
19
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_gyp3b_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_gyp3b_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "gyp3b_gg_") /*__reshadow_css_end__*/, {
|
|
20
|
+
"__SHoverLine": "___SHoverLine_gyp3b_gg_",
|
|
21
|
+
"__SHoverRect": "___SHoverRect_gyp3b_gg_"
|
|
22
22
|
});
|
|
23
23
|
import Tooltip from './Tooltip';
|
|
24
24
|
var Hover = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Line.js
CHANGED
|
@@ -14,15 +14,15 @@ import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolat
|
|
|
14
14
|
import Dots from './Dots';
|
|
15
15
|
import AnimatedClipPath from './AnimatedClipPath';
|
|
16
16
|
/*__reshadow-styles__:"./style/line.shadow.css"*/
|
|
17
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
18
|
-
"__SLine": "
|
|
19
|
-
"--duration": "--
|
|
20
|
-
"_color": "
|
|
21
|
-
"--color": "--
|
|
22
|
-
"_hide": "
|
|
23
|
-
"_transparent": "
|
|
24
|
-
"__SNull": "
|
|
25
|
-
"__SAria": "
|
|
17
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_dgkk6_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_dgkk6);transition-timing-function:ease-in-out}.___SLine_dgkk6_gg_.__color_dgkk6_gg_{stroke:var(--color_dgkk6)}.___SLine_dgkk6_gg_.__hide_dgkk6_gg_{display:none}.___SLine_dgkk6_gg_.__transparent_dgkk6_gg_{opacity:.3}.___SNull_dgkk6_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_dgkk6_gg_.__hide_dgkk6_gg_{display:none}.___SAria_dgkk6_gg_{transition-property:d;transition-duration:var(--duration_dgkk6);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SAria_dgkk6_gg_.__color_dgkk6_gg_{fill:var(--color_dgkk6)}" /*__inner_css_end__*/, "dgkk6_gg_") /*__reshadow_css_end__*/, {
|
|
18
|
+
"__SLine": "___SLine_dgkk6_gg_",
|
|
19
|
+
"--duration": "--duration_dgkk6",
|
|
20
|
+
"_color": "__color_dgkk6_gg_",
|
|
21
|
+
"--color": "--color_dgkk6",
|
|
22
|
+
"_hide": "__hide_dgkk6_gg_",
|
|
23
|
+
"_transparent": "__transparent_dgkk6_gg_",
|
|
24
|
+
"__SNull": "___SNull_dgkk6_gg_",
|
|
25
|
+
"__SAria": "___SAria_dgkk6_gg_"
|
|
26
26
|
});
|
|
27
27
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
28
28
|
_inherits(LineRoot, _Component);
|
package/lib/es6/Plot.js
CHANGED
|
@@ -18,9 +18,9 @@ import { PlotA11yModule } from './a11y/PlotA11yModule';
|
|
|
18
18
|
import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
|
|
19
19
|
import colorResolverEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
|
|
20
20
|
/*__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
22
|
-
"__SPlot": "
|
|
23
|
-
"_keyboardFocused": "
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_i8whz_gg_{overflow:hidden}.___SPlot_i8whz_gg_:active,.___SPlot_i8whz_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_i8whz_gg_.__keyboardFocused_i8whz_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "i8whz_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SPlot": "___SPlot_i8whz_gg_",
|
|
23
|
+
"_keyboardFocused": "__keyboardFocused_i8whz_gg_"
|
|
24
24
|
});
|
|
25
25
|
var PlotRoot = /*#__PURE__*/function (_Component) {
|
|
26
26
|
_inherits(PlotRoot, _Component);
|
package/lib/es6/Radar.js
CHANGED
|
@@ -21,23 +21,23 @@ import createElement from './createElement';
|
|
|
21
21
|
import { CONSTANT, eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
|
22
22
|
import Tooltip from './Tooltip';
|
|
23
23
|
/*__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
24
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
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
|
-
"__SPolygonDot": "
|
|
38
|
-
"_transparent": "
|
|
39
|
-
"__SPolygonLine": "
|
|
40
|
-
"__SPieRect": "
|
|
24
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_1lgtn_gg_,.___SAxisTick_1lgtn_gg_,.___SAxis_1lgtn_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_1lgtn_gg_,.___SAxisTick_1lgtn_gg_{stroke-dasharray:2}.___SAxisLine_1lgtn_gg_.__active_1lgtn_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_1lgtn_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1lgtn_gg_.__xDirection_1lgtn_gg_{text-anchor:var(--xDirection_1lgtn)}.___SAxisLabel_1lgtn_gg_.__yDirection_1lgtn_gg_{dominant-baseline:var(--yDirection_1lgtn)}.___SPolygonDot_1lgtn_gg_,.___SPolygon_1lgtn_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_1lgtn_gg_{opacity:.2}.___SPolygon_1lgtn_gg_.__color_1lgtn_gg_{fill:var(--color_1lgtn)}.___SPolygonDot_1lgtn_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_1lgtn_gg_.__transparent_1lgtn_gg_{opacity:.3}.___SPolygonDot_1lgtn_gg_.__color_1lgtn_gg_{fill:var(--color_1lgtn)}.___SPolygonLine_1lgtn_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_1lgtn_gg_.__transparent_1lgtn_gg_{opacity:.3}.___SPolygonLine_1lgtn_gg_.__color_1lgtn_gg_{stroke:var(--color_1lgtn)}.___SPieRect_1lgtn_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1lgtn_gg_") /*__reshadow_css_end__*/, {
|
|
25
|
+
"__SAxis": "___SAxis_1lgtn_gg_",
|
|
26
|
+
"__SAxisLine": "___SAxisLine_1lgtn_gg_",
|
|
27
|
+
"__SAxisTick": "___SAxisTick_1lgtn_gg_",
|
|
28
|
+
"_active": "__active_1lgtn_gg_",
|
|
29
|
+
"__SAxisLabel": "___SAxisLabel_1lgtn_gg_",
|
|
30
|
+
"_xDirection": "__xDirection_1lgtn_gg_",
|
|
31
|
+
"--xDirection": "--xDirection_1lgtn",
|
|
32
|
+
"_yDirection": "__yDirection_1lgtn_gg_",
|
|
33
|
+
"--yDirection": "--yDirection_1lgtn",
|
|
34
|
+
"__SPolygon": "___SPolygon_1lgtn_gg_",
|
|
35
|
+
"_color": "__color_1lgtn_gg_",
|
|
36
|
+
"--color": "--color_1lgtn",
|
|
37
|
+
"__SPolygonDot": "___SPolygonDot_1lgtn_gg_",
|
|
38
|
+
"_transparent": "__transparent_1lgtn_gg_",
|
|
39
|
+
"__SPolygonLine": "___SPolygonLine_1lgtn_gg_",
|
|
40
|
+
"__SPieRect": "___SPieRect_1lgtn_gg_"
|
|
41
41
|
});
|
|
42
42
|
var clampAngle = function clampAngle(angle) {
|
|
43
43
|
angle = angle % (2 * Math.PI);
|
package/lib/es6/RadialTree.js
CHANGED
|
@@ -20,16 +20,16 @@ import canUseDOM from '@semcore/utils/lib/canUseDOM';
|
|
|
20
20
|
import createElement from './createElement';
|
|
21
21
|
import { measureText } from './utils';
|
|
22
22
|
/*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
24
|
-
"__SRadian": "
|
|
25
|
-
"__SLine": "
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"__SCap": "
|
|
30
|
-
"__SIcon": "
|
|
31
|
-
"__SLabel": "
|
|
32
|
-
"__SLineCap": "
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_u6j62_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_u6j62_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_u6j62_gg_.__color_u6j62_gg_{stroke:var(--color_u6j62)}.___SCap_u6j62_gg_.__transparent_u6j62_gg_,.___SIcon_u6j62_gg_.__transparent_u6j62_gg_,.___SLabel_u6j62_gg_.__transparent_u6j62_gg_,.___SLine_u6j62_gg_.__transparent_u6j62_gg_{opacity:.3}.___SCap_u6j62_gg_{transition:r .1s}.___SLabel_u6j62_gg_{fill:var(--color_u6j62)}@media (hover:hover){.___SRadian_u6j62_gg_:hover .___SLabel_u6j62_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_u6j62_gg_{transition:none}}" /*__inner_css_end__*/, "u6j62_gg_") /*__reshadow_css_end__*/, {
|
|
24
|
+
"__SRadian": "___SRadian_u6j62_gg_",
|
|
25
|
+
"__SLine": "___SLine_u6j62_gg_",
|
|
26
|
+
"_color": "__color_u6j62_gg_",
|
|
27
|
+
"--color": "--color_u6j62",
|
|
28
|
+
"_transparent": "__transparent_u6j62_gg_",
|
|
29
|
+
"__SCap": "___SCap_u6j62_gg_",
|
|
30
|
+
"__SIcon": "___SIcon_u6j62_gg_",
|
|
31
|
+
"__SLabel": "___SLabel_u6j62_gg_",
|
|
32
|
+
"__SLineCap": "___SLineCap_u6j62_gg_"
|
|
33
33
|
});
|
|
34
34
|
var baseAngle = -Math.PI / 2; // The top vertical line
|
|
35
35
|
var RadialTreeBase = /*#__PURE__*/function (_Component) {
|