@semcore/d3-chart 2.12.0 → 2.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/lib/cjs/Area.js +10 -10
- package/lib/cjs/Axis.js +14 -14
- package/lib/cjs/Bar.js +9 -9
- package/lib/cjs/Bubble.js +11 -11
- package/lib/cjs/Donut.js +8 -8
- package/lib/cjs/Dots.js +10 -10
- package/lib/cjs/HorizontalBar.js +9 -9
- package/lib/cjs/Hover.js +4 -4
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +4 -4
- package/lib/cjs/Radar.js +28 -37
- package/lib/cjs/Radar.js.map +1 -1
- package/lib/cjs/RadialTree.js +13 -13
- package/lib/cjs/ReferenceLine.js +10 -10
- package/lib/cjs/ScatterPlot.js +8 -8
- package/lib/cjs/Tooltip.js +9 -9
- package/lib/cjs/Venn.js +8 -8
- package/lib/cjs/a11y/PlotA11yModule.js +3 -3
- package/lib/cjs/a11y/PlotA11yView.js +4 -4
- package/lib/es6/Area.js +10 -10
- package/lib/es6/Axis.js +14 -14
- package/lib/es6/Bar.js +9 -9
- package/lib/es6/Bubble.js +11 -11
- package/lib/es6/Donut.js +8 -8
- package/lib/es6/Dots.js +10 -10
- package/lib/es6/HorizontalBar.js +9 -9
- package/lib/es6/Hover.js +4 -4
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +4 -4
- package/lib/es6/Radar.js +28 -37
- package/lib/es6/Radar.js.map +1 -1
- package/lib/es6/RadialTree.js +13 -13
- package/lib/es6/ReferenceLine.js +10 -10
- package/lib/es6/ScatterPlot.js +8 -8
- package/lib/es6/Tooltip.js +9 -9
- package/lib/es6/Venn.js +8 -8
- package/lib/es6/a11y/PlotA11yModule.js +3 -3
- package/lib/es6/a11y/PlotA11yView.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [2.12.2] - 2023-03-22
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/animation` [1.9.4 ~> 1.9.5], `@semcore/utils` [3.47.3 ~> 3.47.4]).
|
|
10
|
+
|
|
11
|
+
## [2.12.1] - 2023-03-21
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Fixed `Radar` chart with negative rotation hover handling.
|
|
16
|
+
|
|
5
17
|
## [2.12.0] - 2023-03-16
|
|
6
18
|
|
|
7
19
|
### Added
|
package/lib/cjs/Area.js
CHANGED
|
@@ -42,19 +42,19 @@ var style = (
|
|
|
42
42
|
/*__reshadow_css_start__*/
|
|
43
43
|
_core.sstyled.insert(
|
|
44
44
|
/*__inner_css_start__*/
|
|
45
|
-
".
|
|
45
|
+
".___SArea_1yyzk_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_1yyzk_gg_.__color_1yyzk_gg_{fill:var(--color_1yyzk)}.___SArea_1yyzk_gg_.__transparent_1yyzk_gg_{opacity:.3}.___SAreaLine_1yyzk_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1yyzk_gg_.__color_1yyzk_gg_{stroke:var(--color_1yyzk)}.___SAreaLine_1yyzk_gg_.__transparent_1yyzk_gg_{opacity:.3}.___SAreaLine_1yyzk_gg_,.___SArea_1yyzk_gg_{transition-property:d;transition-duration:var(--duration_1yyzk);transition-timing-function:ease-in-out}.___SNull_1yyzk_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_1yyzk_gg_.__hide_1yyzk_gg_{display:none}"
|
|
46
46
|
/*__inner_css_end__*/
|
|
47
|
-
, "
|
|
47
|
+
, "1yyzk_gg_")
|
|
48
48
|
/*__reshadow_css_end__*/
|
|
49
49
|
, {
|
|
50
|
-
"__SArea": "
|
|
51
|
-
"_color": "
|
|
52
|
-
"--color": "--
|
|
53
|
-
"_transparent": "
|
|
54
|
-
"__SAreaLine": "
|
|
55
|
-
"--duration": "--
|
|
56
|
-
"__SNull": "
|
|
57
|
-
"_hide": "
|
|
50
|
+
"__SArea": "___SArea_1yyzk_gg_",
|
|
51
|
+
"_color": "__color_1yyzk_gg_",
|
|
52
|
+
"--color": "--color_1yyzk",
|
|
53
|
+
"_transparent": "__transparent_1yyzk_gg_",
|
|
54
|
+
"__SAreaLine": "___SAreaLine_1yyzk_gg_",
|
|
55
|
+
"--duration": "--duration_1yyzk",
|
|
56
|
+
"__SNull": "___SNull_1yyzk_gg_",
|
|
57
|
+
"_hide": "__hide_1yyzk_gg_"
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
var AreaRoot = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/Axis.js
CHANGED
|
@@ -36,23 +36,23 @@ var style = (
|
|
|
36
36
|
/*__reshadow_css_start__*/
|
|
37
37
|
_core.sstyled.insert(
|
|
38
38
|
/*__inner_css_start__*/
|
|
39
|
-
".
|
|
39
|
+
".___SAxis_1fy16_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1fy16_gg_.__hide_1fy16_gg_,.___STick_1fy16_gg_.__hide_1fy16_gg_{display:none}.___STick_1fy16_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_1fy16_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1fy16_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1fy16)}.___STitle_1fy16_gg_._position_top_1fy16_gg_{text-anchor:middle}.___STitle_1fy16_gg_._position_bottom_1fy16_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1fy16_gg_._position_left_1fy16_gg_,.___STitle_1fy16_gg_._position_right_1fy16_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STick_1fy16_gg_._position_top_1fy16_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1fy16_gg_._position_bottom_1fy16_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1fy16_gg_._position_right_1fy16_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_1fy16_gg_._position_left_1fy16_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_1fy16_gg_._position_custom_0_1fy16_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1fy16_gg_._position_custom_1_1fy16_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}"
|
|
40
40
|
/*__inner_css_end__*/
|
|
41
|
-
, "
|
|
41
|
+
, "1fy16_gg_")
|
|
42
42
|
/*__reshadow_css_end__*/
|
|
43
43
|
, {
|
|
44
|
-
"__SAxis": "
|
|
45
|
-
"_hide": "
|
|
46
|
-
"__STick": "
|
|
47
|
-
"__SGrid": "
|
|
48
|
-
"__STitle": "
|
|
49
|
-
"--transform-origin": "--transform-
|
|
50
|
-
"_position_top": "
|
|
51
|
-
"_position_bottom": "
|
|
52
|
-
"_position_right": "
|
|
53
|
-
"_position_left": "
|
|
54
|
-
"_position_custom_0": "
|
|
55
|
-
"_position_custom_1": "
|
|
44
|
+
"__SAxis": "___SAxis_1fy16_gg_",
|
|
45
|
+
"_hide": "__hide_1fy16_gg_",
|
|
46
|
+
"__STick": "___STick_1fy16_gg_",
|
|
47
|
+
"__SGrid": "___SGrid_1fy16_gg_",
|
|
48
|
+
"__STitle": "___STitle_1fy16_gg_",
|
|
49
|
+
"--transform-origin": "--transform-origin_1fy16",
|
|
50
|
+
"_position_top": "_position_top_1fy16_gg_",
|
|
51
|
+
"_position_bottom": "_position_bottom_1fy16_gg_",
|
|
52
|
+
"_position_right": "_position_right_1fy16_gg_",
|
|
53
|
+
"_position_left": "_position_left_1fy16_gg_",
|
|
54
|
+
"_position_custom_0": "_position_custom_0_1fy16_gg_",
|
|
55
|
+
"_position_custom_1": "_position_custom_1_1fy16_gg_"
|
|
56
56
|
});
|
|
57
57
|
var CUSTOM_0 = Symbol('custom_0');
|
|
58
58
|
var CUSTOM_1 = Symbol('custom_1');
|
package/lib/cjs/Bar.js
CHANGED
|
@@ -38,18 +38,18 @@ var style = (
|
|
|
38
38
|
/*__reshadow_css_start__*/
|
|
39
39
|
_core.sstyled.insert(
|
|
40
40
|
/*__inner_css_start__*/
|
|
41
|
-
".
|
|
41
|
+
".___SBar_141uw_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_141uw);transition-timing-function:ease-in-out}.___SBar_141uw_gg_.__color_141uw_gg_{fill:var(--color_141uw)}.___SBar_141uw_gg_.__hide_141uw_gg_{display:none}.___SBar_141uw_gg_.__transparent_141uw_gg_{opacity:.3}.___SBackground_141uw_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}"
|
|
42
42
|
/*__inner_css_end__*/
|
|
43
|
-
, "
|
|
43
|
+
, "141uw_gg_")
|
|
44
44
|
/*__reshadow_css_end__*/
|
|
45
45
|
, {
|
|
46
|
-
"__SBar": "
|
|
47
|
-
"--duration": "--
|
|
48
|
-
"_color": "
|
|
49
|
-
"--color": "--
|
|
50
|
-
"_hide": "
|
|
51
|
-
"_transparent": "
|
|
52
|
-
"__SBackground": "
|
|
46
|
+
"__SBar": "___SBar_141uw_gg_",
|
|
47
|
+
"--duration": "--duration_141uw",
|
|
48
|
+
"_color": "__color_141uw_gg_",
|
|
49
|
+
"--color": "--color_141uw",
|
|
50
|
+
"_hide": "__hide_141uw_gg_",
|
|
51
|
+
"_transparent": "__transparent_141uw_gg_",
|
|
52
|
+
"__SBackground": "___SBackground_141uw_gg_"
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
var calcPartBarY = function calcPartBarY(y, minHeight, height) {
|
package/lib/cjs/Bubble.js
CHANGED
|
@@ -48,20 +48,20 @@ var style = (
|
|
|
48
48
|
/*__reshadow_css_start__*/
|
|
49
49
|
_core.sstyled.insert(
|
|
50
50
|
/*__inner_css_start__*/
|
|
51
|
-
".
|
|
51
|
+
".___SBubble_k1z41_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_k1z41);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_k1z41_gg_:hover{opacity:.8}}.___SBubble_k1z41_gg_.__color_k1z41_gg_{fill:var(--color_k1z41)}.___SBubble_k1z41_gg_.__transparent_k1z41_gg_{opacity:.3}.___SCenter_k1z41_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_k1z41_gg_.__color_k1z41_gg_{stroke:var(--color_k1z41)}.___SCenter_k1z41_gg_.__transparent_k1z41_gg_{opacity:.3}.___SLabel_k1z41_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_k1z41_gg_._position_right_k1z41_gg_{text-anchor:end}.___SLabel_k1z41_gg_._position_left_k1z41_gg_{text-anchor:start}.___SLabel_k1z41_gg_.__color_k1z41_gg_{fill:var(--color_k1z41)}.___SLabel_k1z41_gg_.__transparent_k1z41_gg_{opacity:.3}"
|
|
52
52
|
/*__inner_css_end__*/
|
|
53
|
-
, "
|
|
53
|
+
, "k1z41_gg_")
|
|
54
54
|
/*__reshadow_css_end__*/
|
|
55
55
|
, {
|
|
56
|
-
"__SBubble": "
|
|
57
|
-
"--duration": "--
|
|
58
|
-
"_color": "
|
|
59
|
-
"--color": "--
|
|
60
|
-
"_transparent": "
|
|
61
|
-
"__SCenter": "
|
|
62
|
-
"__SLabel": "
|
|
63
|
-
"_position_right": "
|
|
64
|
-
"_position_left": "
|
|
56
|
+
"__SBubble": "___SBubble_k1z41_gg_",
|
|
57
|
+
"--duration": "--duration_k1z41",
|
|
58
|
+
"_color": "__color_k1z41_gg_",
|
|
59
|
+
"--color": "--color_k1z41",
|
|
60
|
+
"_transparent": "__transparent_k1z41_gg_",
|
|
61
|
+
"__SCenter": "___SCenter_k1z41_gg_",
|
|
62
|
+
"__SLabel": "___SLabel_k1z41_gg_",
|
|
63
|
+
"_position_right": "_position_right_k1z41_gg_",
|
|
64
|
+
"_position_left": "_position_left_k1z41_gg_"
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
var BubbleRoot = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/Donut.js
CHANGED
|
@@ -52,17 +52,17 @@ var style = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
".___SPie_s7eve_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_s7eve_gg_.__color_s7eve_gg_{fill:var(--color_s7eve)}.___SPie_s7eve_gg_.__transparent_s7eve_gg_{opacity:.3}.___SEmptyData_s7eve_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_s7eve_gg_.__color_s7eve_gg_{fill:var(--color_s7eve)}.___SLabel_s7eve_gg_{text-anchor:middle;vertical-anchor:middle}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "s7eve_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__SPie": "
|
|
61
|
-
"_color": "
|
|
62
|
-
"--color": "--
|
|
63
|
-
"_transparent": "
|
|
64
|
-
"__SEmptyData": "
|
|
65
|
-
"__SLabel": "
|
|
60
|
+
"__SPie": "___SPie_s7eve_gg_",
|
|
61
|
+
"_color": "__color_s7eve_gg_",
|
|
62
|
+
"--color": "--color_s7eve",
|
|
63
|
+
"_transparent": "__transparent_s7eve_gg_",
|
|
64
|
+
"__SEmptyData": "___SEmptyData_s7eve_gg_",
|
|
65
|
+
"__SLabel": "___SLabel_s7eve_gg_"
|
|
66
66
|
});
|
|
67
67
|
var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
|
|
68
68
|
|
package/lib/cjs/Dots.js
CHANGED
|
@@ -28,19 +28,19 @@ var style = (
|
|
|
28
28
|
/*__reshadow_css_start__*/
|
|
29
29
|
_core.sstyled.insert(
|
|
30
30
|
/*__inner_css_start__*/
|
|
31
|
-
".
|
|
31
|
+
".___SDots_1v9sn_gg_ .___SDot_1v9sn_gg_{transition-duration:var(--duration_1v9sn)}.___SDot_1v9sn_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_1v9sn_gg_.__hide_1v9sn_gg_{display:none}.___SDot_1v9sn_gg_.__active_1v9sn_gg_{r:8px}.___SDot_1v9sn_gg_.__color_1v9sn_gg_{fill:var(--color_1v9sn)}.___SDot_1v9sn_gg_.__transparent_1v9sn_gg_{opacity:.3}"
|
|
32
32
|
/*__inner_css_end__*/
|
|
33
|
-
, "
|
|
33
|
+
, "1v9sn_gg_")
|
|
34
34
|
/*__reshadow_css_end__*/
|
|
35
35
|
, {
|
|
36
|
-
"__SDots": "
|
|
37
|
-
"__SDot": "
|
|
38
|
-
"--duration": "--
|
|
39
|
-
"_hide": "
|
|
40
|
-
"_active": "
|
|
41
|
-
"_color": "
|
|
42
|
-
"--color": "--
|
|
43
|
-
"_transparent": "
|
|
36
|
+
"__SDots": "___SDots_1v9sn_gg_",
|
|
37
|
+
"__SDot": "___SDot_1v9sn_gg_",
|
|
38
|
+
"--duration": "--duration_1v9sn",
|
|
39
|
+
"_hide": "__hide_1v9sn_gg_",
|
|
40
|
+
"_active": "__active_1v9sn_gg_",
|
|
41
|
+
"_color": "__color_1v9sn_gg_",
|
|
42
|
+
"--color": "--color_1v9sn",
|
|
43
|
+
"_transparent": "__transparent_1v9sn_gg_"
|
|
44
44
|
});
|
|
45
45
|
var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
|
|
46
46
|
|
package/lib/cjs/HorizontalBar.js
CHANGED
|
@@ -36,18 +36,18 @@ var style = (
|
|
|
36
36
|
/*__reshadow_css_start__*/
|
|
37
37
|
_core.sstyled.insert(
|
|
38
38
|
/*__inner_css_start__*/
|
|
39
|
-
".
|
|
39
|
+
".___SBar_141uw_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_141uw);transition-timing-function:ease-in-out}.___SBar_141uw_gg_.__color_141uw_gg_{fill:var(--color_141uw)}.___SBar_141uw_gg_.__hide_141uw_gg_{display:none}.___SBar_141uw_gg_.__transparent_141uw_gg_{opacity:.3}.___SBackground_141uw_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}"
|
|
40
40
|
/*__inner_css_end__*/
|
|
41
|
-
, "
|
|
41
|
+
, "141uw_gg_")
|
|
42
42
|
/*__reshadow_css_end__*/
|
|
43
43
|
, {
|
|
44
|
-
"__SBar": "
|
|
45
|
-
"--duration": "--
|
|
46
|
-
"_color": "
|
|
47
|
-
"--color": "--
|
|
48
|
-
"_hide": "
|
|
49
|
-
"_transparent": "
|
|
50
|
-
"__SBackground": "
|
|
44
|
+
"__SBar": "___SBar_141uw_gg_",
|
|
45
|
+
"--duration": "--duration_141uw",
|
|
46
|
+
"_color": "__color_141uw_gg_",
|
|
47
|
+
"--color": "--color_141uw",
|
|
48
|
+
"_hide": "__hide_141uw_gg_",
|
|
49
|
+
"_transparent": "__transparent_141uw_gg_",
|
|
50
|
+
"__SBackground": "___SBackground_141uw_gg_"
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
var HorizontalBarRoot = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/Hover.js
CHANGED
|
@@ -38,13 +38,13 @@ var style = (
|
|
|
38
38
|
/*__reshadow_css_start__*/
|
|
39
39
|
_core.sstyled.insert(
|
|
40
40
|
/*__inner_css_start__*/
|
|
41
|
-
".
|
|
41
|
+
".___SHoverLine_1mtlu_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1mtlu_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}"
|
|
42
42
|
/*__inner_css_end__*/
|
|
43
|
-
, "
|
|
43
|
+
, "1mtlu_gg_")
|
|
44
44
|
/*__reshadow_css_end__*/
|
|
45
45
|
, {
|
|
46
|
-
"__SHoverLine": "
|
|
47
|
-
"__SHoverRect": "
|
|
46
|
+
"__SHoverLine": "___SHoverLine_1mtlu_gg_",
|
|
47
|
+
"__SHoverRect": "___SHoverRect_1mtlu_gg_"
|
|
48
48
|
});
|
|
49
49
|
|
|
50
50
|
var Hover = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/Line.js
CHANGED
|
@@ -40,18 +40,18 @@ var style = (
|
|
|
40
40
|
/*__reshadow_css_start__*/
|
|
41
41
|
_core.sstyled.insert(
|
|
42
42
|
/*__inner_css_start__*/
|
|
43
|
-
".
|
|
43
|
+
".___SLine_1kmkh_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_1kmkh);transition-timing-function:ease-in-out}.___SLine_1kmkh_gg_.__color_1kmkh_gg_{stroke:var(--color_1kmkh)}.___SLine_1kmkh_gg_.__hide_1kmkh_gg_{display:none}.___SLine_1kmkh_gg_.__transparent_1kmkh_gg_{opacity:.3}.___SNull_1kmkh_gg_{fill:transparent;stroke:var(-intergalactic-border-primary);stroke-dasharray:4}.___SNull_1kmkh_gg_.__hide_1kmkh_gg_{display:none}"
|
|
44
44
|
/*__inner_css_end__*/
|
|
45
|
-
, "
|
|
45
|
+
, "1kmkh_gg_")
|
|
46
46
|
/*__reshadow_css_end__*/
|
|
47
47
|
, {
|
|
48
|
-
"__SLine": "
|
|
49
|
-
"--duration": "--
|
|
50
|
-
"_color": "
|
|
51
|
-
"--color": "--
|
|
52
|
-
"_hide": "
|
|
53
|
-
"_transparent": "
|
|
54
|
-
"__SNull": "
|
|
48
|
+
"__SLine": "___SLine_1kmkh_gg_",
|
|
49
|
+
"--duration": "--duration_1kmkh",
|
|
50
|
+
"_color": "__color_1kmkh_gg_",
|
|
51
|
+
"--color": "--color_1kmkh",
|
|
52
|
+
"_hide": "__hide_1kmkh_gg_",
|
|
53
|
+
"_transparent": "__transparent_1kmkh_gg_",
|
|
54
|
+
"__SNull": "___SNull_1kmkh_gg_"
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/Plot.js
CHANGED
|
@@ -46,13 +46,13 @@ var style = (
|
|
|
46
46
|
/*__reshadow_css_start__*/
|
|
47
47
|
_core.sstyled.insert(
|
|
48
48
|
/*__inner_css_start__*/
|
|
49
|
-
".
|
|
49
|
+
".___SPlot_ehjcl_gg_{overflow:hidden}.___SPlot_ehjcl_gg_:active,.___SPlot_ehjcl_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_ehjcl_gg_.__keyboardFocused_ehjcl_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.3))}"
|
|
50
50
|
/*__inner_css_end__*/
|
|
51
|
-
, "
|
|
51
|
+
, "ehjcl_gg_")
|
|
52
52
|
/*__reshadow_css_end__*/
|
|
53
53
|
, {
|
|
54
|
-
"__SPlot": "
|
|
55
|
-
"_keyboardFocused": "
|
|
54
|
+
"__SPlot": "___SPlot_ehjcl_gg_",
|
|
55
|
+
"_keyboardFocused": "__keyboardFocused_ehjcl_gg_"
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
var PlotRoot = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/Radar.js
CHANGED
|
@@ -51,27 +51,27 @@ var style = (
|
|
|
51
51
|
/*__reshadow_css_start__*/
|
|
52
52
|
_core.sstyled.insert(
|
|
53
53
|
/*__inner_css_start__*/
|
|
54
|
-
".
|
|
54
|
+
".___SAxisLine_1rkd1_gg_,.___SAxisTick_1rkd1_gg_,.___SAxis_1rkd1_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_1rkd1_gg_,.___SAxisTick_1rkd1_gg_{stroke-dasharray:2}.___SAxisLine_1rkd1_gg_.__active_1rkd1_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_1rkd1_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1rkd1_gg_.__xDirection_1rkd1_gg_{text-anchor:var(--xDirection_1rkd1)}.___SAxisLabel_1rkd1_gg_.__yDirection_1rkd1_gg_{dominant-baseline:var(--yDirection_1rkd1)}.___SPolygonDot_1rkd1_gg_,.___SPolygon_1rkd1_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_1rkd1_gg_{opacity:.2}.___SPolygon_1rkd1_gg_.__color_1rkd1_gg_{fill:var(--color_1rkd1)}.___SPolygonDot_1rkd1_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_1rkd1_gg_.__transparent_1rkd1_gg_{opacity:.3}.___SPolygonDot_1rkd1_gg_.__color_1rkd1_gg_{fill:var(--color_1rkd1)}.___SPolygonLine_1rkd1_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_1rkd1_gg_.__transparent_1rkd1_gg_{opacity:.3}.___SPolygonLine_1rkd1_gg_.__color_1rkd1_gg_{stroke:var(--color_1rkd1)}.___SPieRect_1rkd1_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}"
|
|
55
55
|
/*__inner_css_end__*/
|
|
56
|
-
, "
|
|
56
|
+
, "1rkd1_gg_")
|
|
57
57
|
/*__reshadow_css_end__*/
|
|
58
58
|
, {
|
|
59
|
-
"__SAxis": "
|
|
60
|
-
"__SAxisLine": "
|
|
61
|
-
"__SAxisTick": "
|
|
62
|
-
"_active": "
|
|
63
|
-
"__SAxisLabel": "
|
|
64
|
-
"_xDirection": "
|
|
65
|
-
"--xDirection": "--
|
|
66
|
-
"_yDirection": "
|
|
67
|
-
"--yDirection": "--
|
|
68
|
-
"__SPolygon": "
|
|
69
|
-
"_color": "
|
|
70
|
-
"--color": "--
|
|
71
|
-
"__SPolygonDot": "
|
|
72
|
-
"_transparent": "
|
|
73
|
-
"__SPolygonLine": "
|
|
74
|
-
"__SPieRect": "
|
|
59
|
+
"__SAxis": "___SAxis_1rkd1_gg_",
|
|
60
|
+
"__SAxisLine": "___SAxisLine_1rkd1_gg_",
|
|
61
|
+
"__SAxisTick": "___SAxisTick_1rkd1_gg_",
|
|
62
|
+
"_active": "__active_1rkd1_gg_",
|
|
63
|
+
"__SAxisLabel": "___SAxisLabel_1rkd1_gg_",
|
|
64
|
+
"_xDirection": "__xDirection_1rkd1_gg_",
|
|
65
|
+
"--xDirection": "--xDirection_1rkd1",
|
|
66
|
+
"_yDirection": "__yDirection_1rkd1_gg_",
|
|
67
|
+
"--yDirection": "--yDirection_1rkd1",
|
|
68
|
+
"__SPolygon": "___SPolygon_1rkd1_gg_",
|
|
69
|
+
"_color": "__color_1rkd1_gg_",
|
|
70
|
+
"--color": "--color_1rkd1",
|
|
71
|
+
"__SPolygonDot": "___SPolygonDot_1rkd1_gg_",
|
|
72
|
+
"_transparent": "__transparent_1rkd1_gg_",
|
|
73
|
+
"__SPolygonLine": "___SPolygonLine_1rkd1_gg_",
|
|
74
|
+
"__SPieRect": "___SPieRect_1rkd1_gg_"
|
|
75
75
|
});
|
|
76
76
|
|
|
77
77
|
var clampAngle = function clampAngle(angle) {
|
|
@@ -153,25 +153,16 @@ function pieContains(_ref10, _ref11) {
|
|
|
153
153
|
|
|
154
154
|
var distance = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
|
|
155
155
|
if (distance > radius) return false;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
if (startAngle <
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
} else {
|
|
167
|
-
angle += Math.abs(startAngle) - Math.PI * 2;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
endAngle += Math.abs(startAngle);
|
|
171
|
-
startAngle = 0;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
return angle > startAngle && angle < endAngle;
|
|
156
|
+
startAngle = clampAngle(startAngle);
|
|
157
|
+
endAngle = clampAngle(endAngle);
|
|
158
|
+
startAngle = startAngle < endAngle ? startAngle : startAngle - 2 * Math.PI;
|
|
159
|
+
var angle = clampAngle(Math.atan2(y, x) + Math.PI / 2);
|
|
160
|
+
var prevAngle = angle - Math.PI * 2;
|
|
161
|
+
var nextAngle = angle + Math.PI * 2;
|
|
162
|
+
if (angle > startAngle && angle < endAngle) return true;
|
|
163
|
+
if (prevAngle > startAngle && prevAngle < endAngle) return true;
|
|
164
|
+
if (nextAngle > startAngle && nextAngle < endAngle) return true;
|
|
165
|
+
return false;
|
|
175
166
|
}
|
|
176
167
|
|
|
177
168
|
function getLabelOffsetPosition(xDirection, yDirection, width, height) {
|