@semcore/d3-chart 2.14.7 → 2.14.9
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 +9 -9
- package/lib/cjs/Axis.js +13 -13
- 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 +9 -9
- package/lib/cjs/HorizontalBar.js +8 -8
- package/lib/cjs/Hover.js +3 -3
- package/lib/cjs/Line.js +8 -8
- package/lib/cjs/Plot.js +3 -3
- package/lib/cjs/Radar.js +17 -17
- package/lib/cjs/RadialTree.js +21 -21
- 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 +3 -3
- package/lib/es6/Area.js +9 -9
- package/lib/es6/Axis.js +13 -13
- 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 +9 -9
- package/lib/es6/HorizontalBar.js +8 -8
- package/lib/es6/Hover.js +3 -3
- package/lib/es6/Line.js +8 -8
- package/lib/es6/Plot.js +3 -3
- package/lib/es6/Radar.js +17 -17
- package/lib/es6/RadialTree.js +21 -21
- 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 +3 -3
- 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.14.9] - 2023-05-22
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/popper` [4.17.10 ~> 4.17.11]).
|
|
10
|
+
|
|
11
|
+
## [2.14.8] - 2023-05-12
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Fixed radial tree icons displaying.
|
|
16
|
+
|
|
5
17
|
## [2.14.7] - 2023-05-11
|
|
6
18
|
|
|
7
19
|
### Changed
|
package/lib/cjs/Area.js
CHANGED
|
@@ -21,15 +21,15 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
21
21
|
var _utils = require("./utils");
|
|
22
22
|
var _ClipPath = _interopRequireDefault(require("./ClipPath"));
|
|
23
23
|
/*__reshadow-styles__:"./style/area.shadow.css"*/
|
|
24
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
25
|
-
"__SArea": "
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"__SAreaLine": "
|
|
30
|
-
"--duration": "--
|
|
31
|
-
"__SNull": "
|
|
32
|
-
"_hide": "
|
|
24
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SArea_ekzpr_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_ekzpr_gg_.__color_ekzpr_gg_{fill:var(--color_ekzpr)}.___SArea_ekzpr_gg_.__transparent_ekzpr_gg_{opacity:.3}.___SAreaLine_ekzpr_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_ekzpr_gg_.__color_ekzpr_gg_{stroke:var(--color_ekzpr)}.___SAreaLine_ekzpr_gg_.__transparent_ekzpr_gg_{opacity:.3}.___SAreaLine_ekzpr_gg_,.___SArea_ekzpr_gg_{transition-property:d;transition-duration:var(--duration_ekzpr);transition-timing-function:ease-in-out}.___SNull_ekzpr_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_ekzpr_gg_.__hide_ekzpr_gg_{display:none}" /*__inner_css_end__*/, "ekzpr_gg_") /*__reshadow_css_end__*/, {
|
|
25
|
+
"__SArea": "___SArea_ekzpr_gg_",
|
|
26
|
+
"_color": "__color_ekzpr_gg_",
|
|
27
|
+
"--color": "--color_ekzpr",
|
|
28
|
+
"_transparent": "__transparent_ekzpr_gg_",
|
|
29
|
+
"__SAreaLine": "___SAreaLine_ekzpr_gg_",
|
|
30
|
+
"--duration": "--duration_ekzpr",
|
|
31
|
+
"__SNull": "___SNull_ekzpr_gg_",
|
|
32
|
+
"_hide": "__hide_ekzpr_gg_"
|
|
33
33
|
});
|
|
34
34
|
var AreaRoot = /*#__PURE__*/function (_Component) {
|
|
35
35
|
(0, _inherits2["default"])(AreaRoot, _Component);
|
package/lib/cjs/Axis.js
CHANGED
|
@@ -18,19 +18,19 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
18
18
|
var _utils = require("./utils");
|
|
19
19
|
var _MAP_POSITION_AXIS, _MAP_POSITION_TICK;
|
|
20
20
|
/*__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
22
|
-
"__SAxis": "
|
|
23
|
-
"_hide": "
|
|
24
|
-
"__STick": "
|
|
25
|
-
"__SGrid": "
|
|
26
|
-
"__STitle": "
|
|
27
|
-
"--transform-origin": "--transform-
|
|
28
|
-
"_position_top": "
|
|
29
|
-
"_position_bottom": "
|
|
30
|
-
"_position_right": "
|
|
31
|
-
"_position_left": "
|
|
32
|
-
"_position_custom_0": "
|
|
33
|
-
"_position_custom_1": "
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAxis_1xx6a_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1xx6a_gg_.__hide_1xx6a_gg_,.___STick_1xx6a_gg_.__hide_1xx6a_gg_{display:none}.___STick_1xx6a_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_1xx6a_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1xx6a_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1xx6a)}.___STitle_1xx6a_gg_._position_top_1xx6a_gg_{text-anchor:middle}.___STitle_1xx6a_gg_._position_bottom_1xx6a_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1xx6a_gg_._position_left_1xx6a_gg_,.___STitle_1xx6a_gg_._position_right_1xx6a_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STick_1xx6a_gg_._position_top_1xx6a_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1xx6a_gg_._position_bottom_1xx6a_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1xx6a_gg_._position_right_1xx6a_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_1xx6a_gg_._position_left_1xx6a_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_1xx6a_gg_._position_custom_0_1xx6a_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1xx6a_gg_._position_custom_1_1xx6a_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "1xx6a_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SAxis": "___SAxis_1xx6a_gg_",
|
|
23
|
+
"_hide": "__hide_1xx6a_gg_",
|
|
24
|
+
"__STick": "___STick_1xx6a_gg_",
|
|
25
|
+
"__SGrid": "___SGrid_1xx6a_gg_",
|
|
26
|
+
"__STitle": "___STitle_1xx6a_gg_",
|
|
27
|
+
"--transform-origin": "--transform-origin_1xx6a",
|
|
28
|
+
"_position_top": "_position_top_1xx6a_gg_",
|
|
29
|
+
"_position_bottom": "_position_bottom_1xx6a_gg_",
|
|
30
|
+
"_position_right": "_position_right_1xx6a_gg_",
|
|
31
|
+
"_position_left": "_position_left_1xx6a_gg_",
|
|
32
|
+
"_position_custom_0": "_position_custom_0_1xx6a_gg_",
|
|
33
|
+
"_position_custom_1": "_position_custom_1_1xx6a_gg_"
|
|
34
34
|
});
|
|
35
35
|
var CUSTOM_0 = Symbol('custom_0');
|
|
36
36
|
var CUSTOM_1 = Symbol('custom_1');
|
package/lib/cjs/Bar.js
CHANGED
|
@@ -19,14 +19,14 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
19
19
|
var _ClipPath = _interopRequireDefault(require("./ClipPath"));
|
|
20
20
|
var _utils = require("./utils");
|
|
21
21
|
/*__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SBar": "
|
|
24
|
-
"--duration": "--
|
|
25
|
-
"_color": "
|
|
26
|
-
"--color": "--
|
|
27
|
-
"_hide": "
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"__SBackground": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBar_nbvqj_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_nbvqj);transition-timing-function:ease-in-out}.___SBar_nbvqj_gg_.__color_nbvqj_gg_{fill:var(--color_nbvqj)}.___SBar_nbvqj_gg_.__hide_nbvqj_gg_{display:none}.___SBar_nbvqj_gg_.__transparent_nbvqj_gg_{opacity:.3}.___SBackground_nbvqj_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "nbvqj_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SBar": "___SBar_nbvqj_gg_",
|
|
24
|
+
"--duration": "--duration_nbvqj",
|
|
25
|
+
"_color": "__color_nbvqj_gg_",
|
|
26
|
+
"--color": "--color_nbvqj",
|
|
27
|
+
"_hide": "__hide_nbvqj_gg_",
|
|
28
|
+
"_transparent": "__transparent_nbvqj_gg_",
|
|
29
|
+
"__SBackground": "___SBackground_nbvqj_gg_"
|
|
30
30
|
});
|
|
31
31
|
var MIN_HEIGHT = 2;
|
|
32
32
|
exports.MIN_HEIGHT = MIN_HEIGHT;
|
package/lib/cjs/Bubble.js
CHANGED
|
@@ -24,16 +24,16 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
24
24
|
var _ClipPath = _interopRequireDefault(require("./ClipPath"));
|
|
25
25
|
var _utils = require("./utils");
|
|
26
26
|
/*__reshadow-styles__:"./style/bubble.shadow.css"*/
|
|
27
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
28
|
-
"__SBubble": "
|
|
29
|
-
"--duration": "--
|
|
30
|
-
"_color": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SCenter": "
|
|
34
|
-
"__SLabel": "
|
|
35
|
-
"_position_right": "
|
|
36
|
-
"_position_left": "
|
|
27
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBubble_14abu_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_14abu);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_14abu_gg_:hover{opacity:.8}}.___SBubble_14abu_gg_.__color_14abu_gg_{fill:var(--color_14abu)}.___SBubble_14abu_gg_.__transparent_14abu_gg_{opacity:.3}.___SCenter_14abu_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_14abu_gg_.__color_14abu_gg_{stroke:var(--color_14abu)}.___SCenter_14abu_gg_.__transparent_14abu_gg_{opacity:.3}.___SLabel_14abu_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_14abu_gg_._position_right_14abu_gg_{text-anchor:end}.___SLabel_14abu_gg_._position_left_14abu_gg_{text-anchor:start}.___SLabel_14abu_gg_.__color_14abu_gg_{fill:var(--color_14abu)}.___SLabel_14abu_gg_.__transparent_14abu_gg_{opacity:.3}" /*__inner_css_end__*/, "14abu_gg_") /*__reshadow_css_end__*/, {
|
|
28
|
+
"__SBubble": "___SBubble_14abu_gg_",
|
|
29
|
+
"--duration": "--duration_14abu",
|
|
30
|
+
"_color": "__color_14abu_gg_",
|
|
31
|
+
"--color": "--color_14abu",
|
|
32
|
+
"_transparent": "__transparent_14abu_gg_",
|
|
33
|
+
"__SCenter": "___SCenter_14abu_gg_",
|
|
34
|
+
"__SLabel": "___SLabel_14abu_gg_",
|
|
35
|
+
"_position_right": "_position_right_14abu_gg_",
|
|
36
|
+
"_position_left": "_position_left_14abu_gg_"
|
|
37
37
|
});
|
|
38
38
|
var BubbleRoot = /*#__PURE__*/function (_Component) {
|
|
39
39
|
(0, _inherits2["default"])(BubbleRoot, _Component);
|
package/lib/cjs/Donut.js
CHANGED
|
@@ -26,13 +26,13 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
26
26
|
var _utils = require("./utils");
|
|
27
27
|
var _excluded = ["Element", "styles", "d3Arc", "data", "color", "$animationActivePie", "active", "d3ArcOut", "name", "dataKey", "dataHintsHandler", "transparent"];
|
|
28
28
|
/*__reshadow-styles__:"./style/donut.shadow.css"*/
|
|
29
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
30
|
-
"__SPie": "
|
|
31
|
-
"_color": "
|
|
32
|
-
"--color": "--
|
|
33
|
-
"_transparent": "
|
|
34
|
-
"__SEmptyData": "
|
|
35
|
-
"__SLabel": "
|
|
29
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPie_vwfvz_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_vwfvz_gg_.__color_vwfvz_gg_{fill:var(--color_vwfvz)}.___SPie_vwfvz_gg_.__transparent_vwfvz_gg_{opacity:.3}.___SEmptyData_vwfvz_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_vwfvz_gg_.__color_vwfvz_gg_{fill:var(--color_vwfvz)}.___SLabel_vwfvz_gg_{text-anchor:middle;vertical-anchor:middle}" /*__inner_css_end__*/, "vwfvz_gg_") /*__reshadow_css_end__*/, {
|
|
30
|
+
"__SPie": "___SPie_vwfvz_gg_",
|
|
31
|
+
"_color": "__color_vwfvz_gg_",
|
|
32
|
+
"--color": "--color_vwfvz",
|
|
33
|
+
"_transparent": "__transparent_vwfvz_gg_",
|
|
34
|
+
"__SEmptyData": "___SEmptyData_vwfvz_gg_",
|
|
35
|
+
"__SLabel": "___SLabel_vwfvz_gg_"
|
|
36
36
|
});
|
|
37
37
|
var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
|
|
38
38
|
function transitionAnglePie(_ref4) {
|
package/lib/cjs/Dots.js
CHANGED
|
@@ -14,15 +14,15 @@ var _rafTrottle = _interopRequireDefault(require("@semcore/utils/lib/rafTrottle"
|
|
|
14
14
|
var _createElement = _interopRequireDefault(require("./createElement"));
|
|
15
15
|
var _utils = require("./utils");
|
|
16
16
|
/*__reshadow-styles__:"./style/dot.shadow.css"*/
|
|
17
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
18
|
-
"__SDots": "
|
|
19
|
-
"__SDot": "
|
|
20
|
-
"--duration": "--
|
|
21
|
-
"_hide": "
|
|
22
|
-
"_active": "
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_transparent": "
|
|
17
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SDots_ppvk0_gg_ .___SDot_ppvk0_gg_{transition-duration:var(--duration_ppvk0)}.___SDot_ppvk0_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_ppvk0_gg_.__hide_ppvk0_gg_{display:none}.___SDot_ppvk0_gg_.__active_ppvk0_gg_{r:8px}.___SDot_ppvk0_gg_.__color_ppvk0_gg_{fill:var(--color_ppvk0)}.___SDot_ppvk0_gg_.__transparent_ppvk0_gg_{opacity:.3}" /*__inner_css_end__*/, "ppvk0_gg_") /*__reshadow_css_end__*/, {
|
|
18
|
+
"__SDots": "___SDots_ppvk0_gg_",
|
|
19
|
+
"__SDot": "___SDot_ppvk0_gg_",
|
|
20
|
+
"--duration": "--duration_ppvk0",
|
|
21
|
+
"_hide": "__hide_ppvk0_gg_",
|
|
22
|
+
"_active": "__active_ppvk0_gg_",
|
|
23
|
+
"_color": "__color_ppvk0_gg_",
|
|
24
|
+
"--color": "--color_ppvk0",
|
|
25
|
+
"_transparent": "__transparent_ppvk0_gg_"
|
|
26
26
|
});
|
|
27
27
|
var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
|
|
28
28
|
function Dots(props) {
|
package/lib/cjs/HorizontalBar.js
CHANGED
|
@@ -18,14 +18,14 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
18
18
|
var _ClipPath = _interopRequireDefault(require("./ClipPath"));
|
|
19
19
|
var _utils = require("./utils");
|
|
20
20
|
/*__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
22
|
-
"__SBar": "
|
|
23
|
-
"--duration": "--
|
|
24
|
-
"_color": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"_hide": "
|
|
27
|
-
"_transparent": "
|
|
28
|
-
"__SBackground": "
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBar_nbvqj_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_nbvqj);transition-timing-function:ease-in-out}.___SBar_nbvqj_gg_.__color_nbvqj_gg_{fill:var(--color_nbvqj)}.___SBar_nbvqj_gg_.__hide_nbvqj_gg_{display:none}.___SBar_nbvqj_gg_.__transparent_nbvqj_gg_{opacity:.3}.___SBackground_nbvqj_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "nbvqj_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SBar": "___SBar_nbvqj_gg_",
|
|
23
|
+
"--duration": "--duration_nbvqj",
|
|
24
|
+
"_color": "__color_nbvqj_gg_",
|
|
25
|
+
"--color": "--color_nbvqj",
|
|
26
|
+
"_hide": "__hide_nbvqj_gg_",
|
|
27
|
+
"_transparent": "__transparent_nbvqj_gg_",
|
|
28
|
+
"__SBackground": "___SBackground_nbvqj_gg_"
|
|
29
29
|
});
|
|
30
30
|
var MIN_WIDTH = 2;
|
|
31
31
|
exports.MIN_WIDTH = MIN_WIDTH;
|
package/lib/cjs/Hover.js
CHANGED
|
@@ -19,9 +19,9 @@ var _rafTrottle = _interopRequireDefault(require("@semcore/utils/lib/rafTrottle"
|
|
|
19
19
|
var _createElement = _interopRequireDefault(require("./createElement"));
|
|
20
20
|
var _utils = require("./utils");
|
|
21
21
|
/*__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SHoverLine": "
|
|
24
|
-
"__SHoverRect": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SHoverLine_191pb_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_191pb_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "191pb_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SHoverLine": "___SHoverLine_191pb_gg_",
|
|
24
|
+
"__SHoverRect": "___SHoverRect_191pb_gg_"
|
|
25
25
|
});
|
|
26
26
|
var Hover = /*#__PURE__*/function (_Component) {
|
|
27
27
|
(0, _inherits2["default"])(Hover, _Component);
|
package/lib/cjs/Line.js
CHANGED
|
@@ -20,14 +20,14 @@ var _utils = require("./utils");
|
|
|
20
20
|
var _Dots = _interopRequireDefault(require("./Dots"));
|
|
21
21
|
var _ClipPath = _interopRequireDefault(require("./ClipPath"));
|
|
22
22
|
/*__reshadow-styles__:"./style/line.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
24
|
-
"__SLine": "
|
|
25
|
-
"--duration": "--
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_hide": "
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SNull": "
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLine_1fagy_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_1fagy);transition-timing-function:ease-in-out}.___SLine_1fagy_gg_.__color_1fagy_gg_{stroke:var(--color_1fagy)}.___SLine_1fagy_gg_.__hide_1fagy_gg_{display:none}.___SLine_1fagy_gg_.__transparent_1fagy_gg_{opacity:.3}.___SNull_1fagy_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_1fagy_gg_.__hide_1fagy_gg_{display:none}" /*__inner_css_end__*/, "1fagy_gg_") /*__reshadow_css_end__*/, {
|
|
24
|
+
"__SLine": "___SLine_1fagy_gg_",
|
|
25
|
+
"--duration": "--duration_1fagy",
|
|
26
|
+
"_color": "__color_1fagy_gg_",
|
|
27
|
+
"--color": "--color_1fagy",
|
|
28
|
+
"_hide": "__hide_1fagy_gg_",
|
|
29
|
+
"_transparent": "__transparent_1fagy_gg_",
|
|
30
|
+
"__SNull": "___SNull_1fagy_gg_"
|
|
31
31
|
});
|
|
32
32
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
33
33
|
(0, _inherits2["default"])(LineRoot, _Component);
|
package/lib/cjs/Plot.js
CHANGED
|
@@ -23,9 +23,9 @@ var _utils = require("./utils");
|
|
|
23
23
|
var _PlotA11yModule = require("./a11y/PlotA11yModule");
|
|
24
24
|
var _hints = require("./a11y/hints");
|
|
25
25
|
/*__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
26
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
27
|
-
"__SPlot": "
|
|
28
|
-
"_keyboardFocused": "
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlot_c16lt_gg_{overflow:hidden}.___SPlot_c16lt_gg_:active,.___SPlot_c16lt_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_c16lt_gg_.__keyboardFocused_c16lt_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))}" /*__inner_css_end__*/, "c16lt_gg_") /*__reshadow_css_end__*/, {
|
|
27
|
+
"__SPlot": "___SPlot_c16lt_gg_",
|
|
28
|
+
"_keyboardFocused": "__keyboardFocused_c16lt_gg_"
|
|
29
29
|
});
|
|
30
30
|
var PlotRoot = /*#__PURE__*/function (_Component) {
|
|
31
31
|
(0, _inherits2["default"])(PlotRoot, _Component);
|
package/lib/cjs/Radar.js
CHANGED
|
@@ -26,23 +26,23 @@ var _d3Shape = require("d3-shape");
|
|
|
26
26
|
var _createElement = _interopRequireDefault(require("./createElement"));
|
|
27
27
|
var _utils = require("./utils");
|
|
28
28
|
/*__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
29
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
30
|
-
"__SAxis": "
|
|
31
|
-
"__SAxisLine": "
|
|
32
|
-
"__SAxisTick": "
|
|
33
|
-
"_active": "
|
|
34
|
-
"__SAxisLabel": "
|
|
35
|
-
"_xDirection": "
|
|
36
|
-
"--xDirection": "--
|
|
37
|
-
"_yDirection": "
|
|
38
|
-
"--yDirection": "--
|
|
39
|
-
"__SPolygon": "
|
|
40
|
-
"_color": "
|
|
41
|
-
"--color": "--
|
|
42
|
-
"__SPolygonDot": "
|
|
43
|
-
"_transparent": "
|
|
44
|
-
"__SPolygonLine": "
|
|
45
|
-
"__SPieRect": "
|
|
29
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAxisLine_1a404_gg_,.___SAxisTick_1a404_gg_,.___SAxis_1a404_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_1a404_gg_,.___SAxisTick_1a404_gg_{stroke-dasharray:2}.___SAxisLine_1a404_gg_.__active_1a404_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_1a404_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1a404_gg_.__xDirection_1a404_gg_{text-anchor:var(--xDirection_1a404)}.___SAxisLabel_1a404_gg_.__yDirection_1a404_gg_{dominant-baseline:var(--yDirection_1a404)}.___SPolygonDot_1a404_gg_,.___SPolygon_1a404_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_1a404_gg_{opacity:.2}.___SPolygon_1a404_gg_.__color_1a404_gg_{fill:var(--color_1a404)}.___SPolygonDot_1a404_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_1a404_gg_.__transparent_1a404_gg_{opacity:.3}.___SPolygonDot_1a404_gg_.__color_1a404_gg_{fill:var(--color_1a404)}.___SPolygonLine_1a404_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_1a404_gg_.__transparent_1a404_gg_{opacity:.3}.___SPolygonLine_1a404_gg_.__color_1a404_gg_{stroke:var(--color_1a404)}.___SPieRect_1a404_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1a404_gg_") /*__reshadow_css_end__*/, {
|
|
30
|
+
"__SAxis": "___SAxis_1a404_gg_",
|
|
31
|
+
"__SAxisLine": "___SAxisLine_1a404_gg_",
|
|
32
|
+
"__SAxisTick": "___SAxisTick_1a404_gg_",
|
|
33
|
+
"_active": "__active_1a404_gg_",
|
|
34
|
+
"__SAxisLabel": "___SAxisLabel_1a404_gg_",
|
|
35
|
+
"_xDirection": "__xDirection_1a404_gg_",
|
|
36
|
+
"--xDirection": "--xDirection_1a404",
|
|
37
|
+
"_yDirection": "__yDirection_1a404_gg_",
|
|
38
|
+
"--yDirection": "--yDirection_1a404",
|
|
39
|
+
"__SPolygon": "___SPolygon_1a404_gg_",
|
|
40
|
+
"_color": "__color_1a404_gg_",
|
|
41
|
+
"--color": "--color_1a404",
|
|
42
|
+
"__SPolygonDot": "___SPolygonDot_1a404_gg_",
|
|
43
|
+
"_transparent": "__transparent_1a404_gg_",
|
|
44
|
+
"__SPolygonLine": "___SPolygonLine_1a404_gg_",
|
|
45
|
+
"__SPieRect": "___SPieRect_1a404_gg_"
|
|
46
46
|
});
|
|
47
47
|
var clampAngle = function clampAngle(angle) {
|
|
48
48
|
angle = angle % (2 * Math.PI);
|
package/lib/cjs/RadialTree.js
CHANGED
|
@@ -27,18 +27,18 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
27
27
|
var _utils = require("./utils");
|
|
28
28
|
var _excluded = ["data"];
|
|
29
29
|
/*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
30
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
31
|
-
"__SRadian": "
|
|
32
|
-
"__SLine": "
|
|
33
|
-
"_color": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"_transparent": "
|
|
36
|
-
"__SCap": "
|
|
37
|
-
"__SIcon": "
|
|
38
|
-
"__SLabel": "
|
|
39
|
-
"--text-cursor": "--text-
|
|
40
|
-
"--color-hovered": "--color-
|
|
41
|
-
"__SLineCap": "
|
|
30
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SRadian_1f5y8_gg_{cursor:pointer;fill:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_1f5y8_gg_{stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_1f5y8_gg_.__color_1f5y8_gg_{stroke:var(--color_1f5y8)}.___SCap_1f5y8_gg_.__transparent_1f5y8_gg_,.___SIcon_1f5y8_gg_.__transparent_1f5y8_gg_,.___SLabel_1f5y8_gg_.__transparent_1f5y8_gg_,.___SLine_1f5y8_gg_.__transparent_1f5y8_gg_{opacity:.3}.___SCap_1f5y8_gg_{transition:r .1s}.___SLabel_1f5y8_gg_{fill:var(--color_1f5y8);cursor:var(--text-cursor_1f5y8)}@media (hover:hover){.___SRadian_1f5y8_gg_:hover .___SLabel_1f5y8_gg_{fill:var(--color-hovered_1f5y8)}}@media (prefers-reduced-motion){.___SLineCap_1f5y8_gg_{transition:none}}" /*__inner_css_end__*/, "1f5y8_gg_") /*__reshadow_css_end__*/, {
|
|
31
|
+
"__SRadian": "___SRadian_1f5y8_gg_",
|
|
32
|
+
"__SLine": "___SLine_1f5y8_gg_",
|
|
33
|
+
"_color": "__color_1f5y8_gg_",
|
|
34
|
+
"--color": "--color_1f5y8",
|
|
35
|
+
"_transparent": "__transparent_1f5y8_gg_",
|
|
36
|
+
"__SCap": "___SCap_1f5y8_gg_",
|
|
37
|
+
"__SIcon": "___SIcon_1f5y8_gg_",
|
|
38
|
+
"__SLabel": "___SLabel_1f5y8_gg_",
|
|
39
|
+
"--text-cursor": "--text-cursor_1f5y8",
|
|
40
|
+
"--color-hovered": "--color-hovered_1f5y8",
|
|
41
|
+
"__SLineCap": "___SLineCap_1f5y8_gg_"
|
|
42
42
|
});
|
|
43
43
|
var baseAngle = -Math.PI / 2; // The top vertical line
|
|
44
44
|
var RadialTreeBase = /*#__PURE__*/function (_Component) {
|
|
@@ -249,7 +249,7 @@ var RadialTreeBase = /*#__PURE__*/function (_Component) {
|
|
|
249
249
|
var Children = this.asProps.Children;
|
|
250
250
|
this.asProps.dataHintsHandler.establishDataType('values-set');
|
|
251
251
|
return _ref = (0, _core.sstyled)(this.asProps.styles), /*#__PURE__*/_react["default"].createElement(SRadialTree, _ref.cn("SRadialTree", {
|
|
252
|
-
"render":
|
|
252
|
+
"render": "g"
|
|
253
253
|
}), /*#__PURE__*/_react["default"].createElement(Children, _ref.cn("Children", {})));
|
|
254
254
|
}
|
|
255
255
|
}]);
|
|
@@ -361,7 +361,7 @@ var RadialTreeRadian = /*#__PURE__*/function (_Component2) {
|
|
|
361
361
|
return _ref17 = {
|
|
362
362
|
x: x,
|
|
363
363
|
y: y
|
|
364
|
-
}, (0, _defineProperty2["default"])(_ref17, 'data-x', x), (0, _defineProperty2["default"])(_ref17, 'data-y', y), (0, _defineProperty2["default"])(_ref17, "iconSize", iconSize), (0, _defineProperty2["default"])(_ref17, "color", iconColor !== null && iconColor !== void 0 ? iconColor : '#fff'), (0, _defineProperty2["default"])(_ref17, 'data-radial-animation', "".concat(uid, "-cap-icon")), (0, _defineProperty2["default"])(_ref17, 'data-radian-index', index), (0, _defineProperty2["default"])(_ref17, "icon", icon), (0, _defineProperty2["default"])(_ref17, "isActive", isActive), _ref17;
|
|
364
|
+
}, (0, _defineProperty2["default"])(_ref17, 'data-x', x), (0, _defineProperty2["default"])(_ref17, 'data-y', y), (0, _defineProperty2["default"])(_ref17, "iconSize", iconSize), (0, _defineProperty2["default"])(_ref17, "color", iconColor !== null && iconColor !== void 0 ? iconColor : '#fff'), (0, _defineProperty2["default"])(_ref17, 'data-radial-animation', "".concat(uid, "-cap-icon")), (0, _defineProperty2["default"])(_ref17, 'data-radian-index', index), (0, _defineProperty2["default"])(_ref17, "icon", icon), (0, _defineProperty2["default"])(_ref17, "tag", icon), (0, _defineProperty2["default"])(_ref17, "isActive", isActive), _ref17;
|
|
365
365
|
}
|
|
366
366
|
}, {
|
|
367
367
|
key: "getLabelProps",
|
|
@@ -498,8 +498,8 @@ var InteractiveArea = function InteractiveArea(_ref20) {
|
|
|
498
498
|
var SInteractiveArea = _ref20.Element,
|
|
499
499
|
styles = _ref20.styles;
|
|
500
500
|
return _ref4 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SInteractiveArea, _ref4.cn("SInteractiveArea", {
|
|
501
|
-
"stroke":
|
|
502
|
-
"render":
|
|
501
|
+
"stroke": "transparent",
|
|
502
|
+
"render": "line"
|
|
503
503
|
}));
|
|
504
504
|
};
|
|
505
505
|
var Line = function Line(_ref21) {
|
|
@@ -509,7 +509,7 @@ var Line = function Line(_ref21) {
|
|
|
509
509
|
stroke = _ref21.stroke,
|
|
510
510
|
transparent = _ref21.transparent;
|
|
511
511
|
return _ref5 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SLine, _ref5.cn("SLine", {
|
|
512
|
-
"render":
|
|
512
|
+
"render": "line",
|
|
513
513
|
"stroke": stroke,
|
|
514
514
|
"transparent": transparent
|
|
515
515
|
}));
|
|
@@ -524,7 +524,7 @@ var Cap = function Cap(_ref22) {
|
|
|
524
524
|
color = _ref22.color,
|
|
525
525
|
transparent = _ref22.transparent;
|
|
526
526
|
return _ref6 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SCap, _ref6.cn("SCap", {
|
|
527
|
-
"render":
|
|
527
|
+
"render": "circle",
|
|
528
528
|
"cx": x,
|
|
529
529
|
"cy": y,
|
|
530
530
|
"r": radius,
|
|
@@ -620,9 +620,9 @@ var Title = function Title(_ref25) {
|
|
|
620
620
|
}
|
|
621
621
|
return _ref8 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(STitle, _ref8.cn("STitle", {
|
|
622
622
|
"aria-hidden": true,
|
|
623
|
-
"render":
|
|
624
|
-
"textAnchor":
|
|
625
|
-
"dominantBaseline":
|
|
623
|
+
"render": "text",
|
|
624
|
+
"textAnchor": "middle",
|
|
625
|
+
"dominantBaseline": "central",
|
|
626
626
|
"fontSize": textSize,
|
|
627
627
|
"fill": color,
|
|
628
628
|
"x": x,
|