@semcore/d3-chart 2.14.6 → 2.14.8
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/cjs/a11y/translations/view/de.json +2 -1
- package/lib/cjs/a11y/translations/view/es.json +2 -1
- package/lib/cjs/a11y/translations/view/fr.json +2 -1
- package/lib/cjs/a11y/translations/view/it.json +2 -1
- package/lib/cjs/a11y/translations/view/ja.json +2 -1
- package/lib/cjs/a11y/translations/view/ko.json +2 -1
- package/lib/cjs/a11y/translations/view/pt.json +2 -1
- package/lib/cjs/a11y/translations/view/tr.json +2 -1
- package/lib/cjs/a11y/translations/view/vi.json +2 -1
- package/lib/cjs/a11y/translations/view/zh.json +2 -1
- 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/lib/es6/a11y/translations/view/de.json +2 -1
- package/lib/es6/a11y/translations/view/es.json +2 -1
- package/lib/es6/a11y/translations/view/fr.json +2 -1
- package/lib/es6/a11y/translations/view/it.json +2 -1
- package/lib/es6/a11y/translations/view/ja.json +2 -1
- package/lib/es6/a11y/translations/view/ko.json +2 -1
- package/lib/es6/a11y/translations/view/pt.json +2 -1
- package/lib/es6/a11y/translations/view/tr.json +2 -1
- package/lib/es6/a11y/translations/view/vi.json +2 -1
- package/lib/es6/a11y/translations/view/zh.json +2 -1
- package/lib/types/a11y/translations/view/__intergalactic-dynamic-locales.d.ts +10 -0
- 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.8] - 2023-05-12
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Fixed radial tree icons displaying.
|
|
10
|
+
|
|
11
|
+
## [2.14.7] - 2023-05-11
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Version patch update due to children dependencies update (`@semcore/animation` [1.10.8 ~> 1.10.9], `@semcore/utils` [3.50.6 ~> 3.50.7]).
|
|
16
|
+
|
|
5
17
|
## [2.14.6] - 2023-05-04
|
|
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_15hek_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_15hek_gg_.__color_15hek_gg_{fill:var(--color_15hek)}.___SArea_15hek_gg_.__transparent_15hek_gg_{opacity:.3}.___SAreaLine_15hek_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_15hek_gg_.__color_15hek_gg_{stroke:var(--color_15hek)}.___SAreaLine_15hek_gg_.__transparent_15hek_gg_{opacity:.3}.___SAreaLine_15hek_gg_,.___SArea_15hek_gg_{transition-property:d;transition-duration:var(--duration_15hek);transition-timing-function:ease-in-out}.___SNull_15hek_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_15hek_gg_.__hide_15hek_gg_{display:none}" /*__inner_css_end__*/, "15hek_gg_") /*__reshadow_css_end__*/, {
|
|
25
|
+
"__SArea": "___SArea_15hek_gg_",
|
|
26
|
+
"_color": "__color_15hek_gg_",
|
|
27
|
+
"--color": "--color_15hek",
|
|
28
|
+
"_transparent": "__transparent_15hek_gg_",
|
|
29
|
+
"__SAreaLine": "___SAreaLine_15hek_gg_",
|
|
30
|
+
"--duration": "--duration_15hek",
|
|
31
|
+
"__SNull": "___SNull_15hek_gg_",
|
|
32
|
+
"_hide": "__hide_15hek_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_e6m3x_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_e6m3x_gg_.__hide_e6m3x_gg_,.___STick_e6m3x_gg_.__hide_e6m3x_gg_{display:none}.___STick_e6m3x_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_e6m3x_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_e6m3x_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_e6m3x)}.___STitle_e6m3x_gg_._position_top_e6m3x_gg_{text-anchor:middle}.___STitle_e6m3x_gg_._position_bottom_e6m3x_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_e6m3x_gg_._position_left_e6m3x_gg_,.___STitle_e6m3x_gg_._position_right_e6m3x_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STick_e6m3x_gg_._position_top_e6m3x_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_e6m3x_gg_._position_bottom_e6m3x_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_e6m3x_gg_._position_right_e6m3x_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_e6m3x_gg_._position_left_e6m3x_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_e6m3x_gg_._position_custom_0_e6m3x_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_e6m3x_gg_._position_custom_1_e6m3x_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "e6m3x_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SAxis": "___SAxis_e6m3x_gg_",
|
|
23
|
+
"_hide": "__hide_e6m3x_gg_",
|
|
24
|
+
"__STick": "___STick_e6m3x_gg_",
|
|
25
|
+
"__SGrid": "___SGrid_e6m3x_gg_",
|
|
26
|
+
"__STitle": "___STitle_e6m3x_gg_",
|
|
27
|
+
"--transform-origin": "--transform-origin_e6m3x",
|
|
28
|
+
"_position_top": "_position_top_e6m3x_gg_",
|
|
29
|
+
"_position_bottom": "_position_bottom_e6m3x_gg_",
|
|
30
|
+
"_position_right": "_position_right_e6m3x_gg_",
|
|
31
|
+
"_position_left": "_position_left_e6m3x_gg_",
|
|
32
|
+
"_position_custom_0": "_position_custom_0_e6m3x_gg_",
|
|
33
|
+
"_position_custom_1": "_position_custom_1_e6m3x_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_1jpoy_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1jpoy);transition-timing-function:ease-in-out}.___SBar_1jpoy_gg_.__color_1jpoy_gg_{fill:var(--color_1jpoy)}.___SBar_1jpoy_gg_.__hide_1jpoy_gg_{display:none}.___SBar_1jpoy_gg_.__transparent_1jpoy_gg_{opacity:.3}.___SBackground_1jpoy_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "1jpoy_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SBar": "___SBar_1jpoy_gg_",
|
|
24
|
+
"--duration": "--duration_1jpoy",
|
|
25
|
+
"_color": "__color_1jpoy_gg_",
|
|
26
|
+
"--color": "--color_1jpoy",
|
|
27
|
+
"_hide": "__hide_1jpoy_gg_",
|
|
28
|
+
"_transparent": "__transparent_1jpoy_gg_",
|
|
29
|
+
"__SBackground": "___SBackground_1jpoy_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_1h0c6_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_1h0c6);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1h0c6_gg_:hover{opacity:.8}}.___SBubble_1h0c6_gg_.__color_1h0c6_gg_{fill:var(--color_1h0c6)}.___SBubble_1h0c6_gg_.__transparent_1h0c6_gg_{opacity:.3}.___SCenter_1h0c6_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_1h0c6_gg_.__color_1h0c6_gg_{stroke:var(--color_1h0c6)}.___SCenter_1h0c6_gg_.__transparent_1h0c6_gg_{opacity:.3}.___SLabel_1h0c6_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_1h0c6_gg_._position_right_1h0c6_gg_{text-anchor:end}.___SLabel_1h0c6_gg_._position_left_1h0c6_gg_{text-anchor:start}.___SLabel_1h0c6_gg_.__color_1h0c6_gg_{fill:var(--color_1h0c6)}.___SLabel_1h0c6_gg_.__transparent_1h0c6_gg_{opacity:.3}" /*__inner_css_end__*/, "1h0c6_gg_") /*__reshadow_css_end__*/, {
|
|
28
|
+
"__SBubble": "___SBubble_1h0c6_gg_",
|
|
29
|
+
"--duration": "--duration_1h0c6",
|
|
30
|
+
"_color": "__color_1h0c6_gg_",
|
|
31
|
+
"--color": "--color_1h0c6",
|
|
32
|
+
"_transparent": "__transparent_1h0c6_gg_",
|
|
33
|
+
"__SCenter": "___SCenter_1h0c6_gg_",
|
|
34
|
+
"__SLabel": "___SLabel_1h0c6_gg_",
|
|
35
|
+
"_position_right": "_position_right_1h0c6_gg_",
|
|
36
|
+
"_position_left": "_position_left_1h0c6_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_pjsar_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_pjsar_gg_.__color_pjsar_gg_{fill:var(--color_pjsar)}.___SPie_pjsar_gg_.__transparent_pjsar_gg_{opacity:.3}.___SEmptyData_pjsar_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_pjsar_gg_.__color_pjsar_gg_{fill:var(--color_pjsar)}.___SLabel_pjsar_gg_{text-anchor:middle;vertical-anchor:middle}" /*__inner_css_end__*/, "pjsar_gg_") /*__reshadow_css_end__*/, {
|
|
30
|
+
"__SPie": "___SPie_pjsar_gg_",
|
|
31
|
+
"_color": "__color_pjsar_gg_",
|
|
32
|
+
"--color": "--color_pjsar",
|
|
33
|
+
"_transparent": "__transparent_pjsar_gg_",
|
|
34
|
+
"__SEmptyData": "___SEmptyData_pjsar_gg_",
|
|
35
|
+
"__SLabel": "___SLabel_pjsar_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_1l7ig_gg_ .___SDot_1l7ig_gg_{transition-duration:var(--duration_1l7ig)}.___SDot_1l7ig_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_1l7ig_gg_.__hide_1l7ig_gg_{display:none}.___SDot_1l7ig_gg_.__active_1l7ig_gg_{r:8px}.___SDot_1l7ig_gg_.__color_1l7ig_gg_{fill:var(--color_1l7ig)}.___SDot_1l7ig_gg_.__transparent_1l7ig_gg_{opacity:.3}" /*__inner_css_end__*/, "1l7ig_gg_") /*__reshadow_css_end__*/, {
|
|
18
|
+
"__SDots": "___SDots_1l7ig_gg_",
|
|
19
|
+
"__SDot": "___SDot_1l7ig_gg_",
|
|
20
|
+
"--duration": "--duration_1l7ig",
|
|
21
|
+
"_hide": "__hide_1l7ig_gg_",
|
|
22
|
+
"_active": "__active_1l7ig_gg_",
|
|
23
|
+
"_color": "__color_1l7ig_gg_",
|
|
24
|
+
"--color": "--color_1l7ig",
|
|
25
|
+
"_transparent": "__transparent_1l7ig_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_1jpoy_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1jpoy);transition-timing-function:ease-in-out}.___SBar_1jpoy_gg_.__color_1jpoy_gg_{fill:var(--color_1jpoy)}.___SBar_1jpoy_gg_.__hide_1jpoy_gg_{display:none}.___SBar_1jpoy_gg_.__transparent_1jpoy_gg_{opacity:.3}.___SBackground_1jpoy_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "1jpoy_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SBar": "___SBar_1jpoy_gg_",
|
|
23
|
+
"--duration": "--duration_1jpoy",
|
|
24
|
+
"_color": "__color_1jpoy_gg_",
|
|
25
|
+
"--color": "--color_1jpoy",
|
|
26
|
+
"_hide": "__hide_1jpoy_gg_",
|
|
27
|
+
"_transparent": "__transparent_1jpoy_gg_",
|
|
28
|
+
"__SBackground": "___SBackground_1jpoy_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_1p6fr_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1p6fr_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1p6fr_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SHoverLine": "___SHoverLine_1p6fr_gg_",
|
|
24
|
+
"__SHoverRect": "___SHoverRect_1p6fr_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_1j9l1_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_1j9l1);transition-timing-function:ease-in-out}.___SLine_1j9l1_gg_.__color_1j9l1_gg_{stroke:var(--color_1j9l1)}.___SLine_1j9l1_gg_.__hide_1j9l1_gg_{display:none}.___SLine_1j9l1_gg_.__transparent_1j9l1_gg_{opacity:.3}.___SNull_1j9l1_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_1j9l1_gg_.__hide_1j9l1_gg_{display:none}" /*__inner_css_end__*/, "1j9l1_gg_") /*__reshadow_css_end__*/, {
|
|
24
|
+
"__SLine": "___SLine_1j9l1_gg_",
|
|
25
|
+
"--duration": "--duration_1j9l1",
|
|
26
|
+
"_color": "__color_1j9l1_gg_",
|
|
27
|
+
"--color": "--color_1j9l1",
|
|
28
|
+
"_hide": "__hide_1j9l1_gg_",
|
|
29
|
+
"_transparent": "__transparent_1j9l1_gg_",
|
|
30
|
+
"__SNull": "___SNull_1j9l1_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_hwusj_gg_{overflow:hidden}.___SPlot_hwusj_gg_:active,.___SPlot_hwusj_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_hwusj_gg_.__keyboardFocused_hwusj_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__*/, "hwusj_gg_") /*__reshadow_css_end__*/, {
|
|
27
|
+
"__SPlot": "___SPlot_hwusj_gg_",
|
|
28
|
+
"_keyboardFocused": "__keyboardFocused_hwusj_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_ojha5_gg_,.___SAxisTick_ojha5_gg_,.___SAxis_ojha5_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_ojha5_gg_,.___SAxisTick_ojha5_gg_{stroke-dasharray:2}.___SAxisLine_ojha5_gg_.__active_ojha5_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_ojha5_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_ojha5_gg_.__xDirection_ojha5_gg_{text-anchor:var(--xDirection_ojha5)}.___SAxisLabel_ojha5_gg_.__yDirection_ojha5_gg_{dominant-baseline:var(--yDirection_ojha5)}.___SPolygonDot_ojha5_gg_,.___SPolygon_ojha5_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_ojha5_gg_{opacity:.2}.___SPolygon_ojha5_gg_.__color_ojha5_gg_{fill:var(--color_ojha5)}.___SPolygonDot_ojha5_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_ojha5_gg_.__transparent_ojha5_gg_{opacity:.3}.___SPolygonDot_ojha5_gg_.__color_ojha5_gg_{fill:var(--color_ojha5)}.___SPolygonLine_ojha5_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_ojha5_gg_.__transparent_ojha5_gg_{opacity:.3}.___SPolygonLine_ojha5_gg_.__color_ojha5_gg_{stroke:var(--color_ojha5)}.___SPieRect_ojha5_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "ojha5_gg_") /*__reshadow_css_end__*/, {
|
|
30
|
+
"__SAxis": "___SAxis_ojha5_gg_",
|
|
31
|
+
"__SAxisLine": "___SAxisLine_ojha5_gg_",
|
|
32
|
+
"__SAxisTick": "___SAxisTick_ojha5_gg_",
|
|
33
|
+
"_active": "__active_ojha5_gg_",
|
|
34
|
+
"__SAxisLabel": "___SAxisLabel_ojha5_gg_",
|
|
35
|
+
"_xDirection": "__xDirection_ojha5_gg_",
|
|
36
|
+
"--xDirection": "--xDirection_ojha5",
|
|
37
|
+
"_yDirection": "__yDirection_ojha5_gg_",
|
|
38
|
+
"--yDirection": "--yDirection_ojha5",
|
|
39
|
+
"__SPolygon": "___SPolygon_ojha5_gg_",
|
|
40
|
+
"_color": "__color_ojha5_gg_",
|
|
41
|
+
"--color": "--color_ojha5",
|
|
42
|
+
"__SPolygonDot": "___SPolygonDot_ojha5_gg_",
|
|
43
|
+
"_transparent": "__transparent_ojha5_gg_",
|
|
44
|
+
"__SPolygonLine": "___SPolygonLine_ojha5_gg_",
|
|
45
|
+
"__SPieRect": "___SPieRect_ojha5_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_vmxx5_gg_{cursor:pointer;fill:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_vmxx5_gg_{stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_vmxx5_gg_.__color_vmxx5_gg_{stroke:var(--color_vmxx5)}.___SCap_vmxx5_gg_.__transparent_vmxx5_gg_,.___SIcon_vmxx5_gg_.__transparent_vmxx5_gg_,.___SLabel_vmxx5_gg_.__transparent_vmxx5_gg_,.___SLine_vmxx5_gg_.__transparent_vmxx5_gg_{opacity:.3}.___SCap_vmxx5_gg_{transition:r .1s}.___SLabel_vmxx5_gg_{fill:var(--color_vmxx5);cursor:var(--text-cursor_vmxx5)}@media (hover:hover){.___SRadian_vmxx5_gg_:hover .___SLabel_vmxx5_gg_{fill:var(--color-hovered_vmxx5)}}@media (prefers-reduced-motion){.___SLineCap_vmxx5_gg_{transition:none}}" /*__inner_css_end__*/, "vmxx5_gg_") /*__reshadow_css_end__*/, {
|
|
31
|
+
"__SRadian": "___SRadian_vmxx5_gg_",
|
|
32
|
+
"__SLine": "___SLine_vmxx5_gg_",
|
|
33
|
+
"_color": "__color_vmxx5_gg_",
|
|
34
|
+
"--color": "--color_vmxx5",
|
|
35
|
+
"_transparent": "__transparent_vmxx5_gg_",
|
|
36
|
+
"__SCap": "___SCap_vmxx5_gg_",
|
|
37
|
+
"__SIcon": "___SIcon_vmxx5_gg_",
|
|
38
|
+
"__SLabel": "___SLabel_vmxx5_gg_",
|
|
39
|
+
"--text-cursor": "--text-cursor_vmxx5",
|
|
40
|
+
"--color-hovered": "--color-hovered_vmxx5",
|
|
41
|
+
"__SLineCap": "___SLineCap_vmxx5_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,
|