@semcore/d3-chart 16.2.0 → 16.3.0-prerelease.3
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 +18 -0
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +92 -19
- package/lib/cjs/Axis.js.map +1 -1
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +13 -13
- package/lib/cjs/CompactHorizontalBar.js +16 -16
- package/lib/cjs/Donut.js +9 -9
- package/lib/cjs/Dots.js +8 -8
- package/lib/cjs/HorizontalBar.js +16 -16
- package/lib/cjs/Hover.js +3 -3
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +3 -3
- package/lib/cjs/Radar.js +19 -19
- package/lib/cjs/RadialTree.js +12 -12
- package/lib/cjs/Reference.js +12 -12
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +9 -9
- package/lib/cjs/Venn.js +9 -9
- package/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/lib/cjs/component/Chart/AbstractChart.js +11 -3
- package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/BarChart.js +1 -1
- package/lib/cjs/component/Chart/BarChart.js.map +1 -1
- package/lib/cjs/component/Chart/HistogramChart.js +1 -1
- package/lib/cjs/component/Chart/HistogramChart.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +42 -24
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/cjs/style/axis.shadow.css +36 -0
- package/lib/cjs/types/Axis.d.js.map +1 -1
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +91 -19
- package/lib/es6/Axis.js.map +1 -1
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +13 -13
- package/lib/es6/CompactHorizontalBar.js +16 -16
- package/lib/es6/Donut.js +9 -9
- package/lib/es6/Dots.js +8 -8
- package/lib/es6/HorizontalBar.js +16 -16
- package/lib/es6/Hover.js +3 -3
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +3 -3
- package/lib/es6/Radar.js +19 -19
- package/lib/es6/RadialTree.js +12 -12
- package/lib/es6/Reference.js +12 -12
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +9 -9
- package/lib/es6/Venn.js +9 -9
- package/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/lib/es6/a11y/PlotA11yView.js +2 -2
- package/lib/es6/component/Chart/AbstractChart.js +11 -3
- package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/es6/component/Chart/BarChart.js +1 -1
- package/lib/es6/component/Chart/BarChart.js.map +1 -1
- package/lib/es6/component/Chart/HistogramChart.js +1 -1
- package/lib/es6/component/Chart/HistogramChart.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +42 -24
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/style/axis.shadow.css +36 -0
- package/lib/es6/types/Axis.d.js.map +1 -1
- package/lib/esm/Area.mjs +12 -12
- package/lib/esm/Axis.mjs +86 -20
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +14 -14
- package/lib/esm/CompactHorizontalBar.mjs +17 -17
- package/lib/esm/Donut.mjs +10 -10
- package/lib/esm/Dots.mjs +9 -9
- package/lib/esm/HorizontalBar.mjs +17 -17
- package/lib/esm/Hover.mjs +4 -4
- package/lib/esm/Line.mjs +10 -10
- package/lib/esm/Plot.mjs +4 -4
- package/lib/esm/Radar.mjs +20 -20
- package/lib/esm/RadialTree.mjs +13 -13
- package/lib/esm/Reference.mjs +13 -13
- package/lib/esm/ScatterPlot.mjs +10 -10
- package/lib/esm/Tooltip.mjs +10 -10
- package/lib/esm/Venn.mjs +10 -10
- package/lib/esm/a11y/PlotA11yModule.mjs +3 -3
- package/lib/esm/a11y/PlotA11yView.mjs +3 -3
- package/lib/esm/component/Chart/AbstractChart.mjs +9 -3
- package/lib/esm/component/Chart/BarChart.mjs +1 -1
- package/lib/esm/component/Chart/HistogramChart.mjs +1 -1
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +37 -25
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
- package/lib/esm/style/axis.shadow.css +36 -0
- package/lib/types/Axis.d.ts +2 -0
- package/lib/types/component/Chart/AbstractChart.type.d.ts +4 -0
- package/package.json +18 -18
package/lib/esm/Axis.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
4
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
@@ -6,7 +7,7 @@ import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
|
6
7
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
8
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
8
9
|
import { sstyled, Component } from "@semcore/core";
|
|
9
|
-
import React from "react";
|
|
10
|
+
import React, { useState, useEffect } from "react";
|
|
10
11
|
import createElement from "./createElement.mjs";
|
|
11
12
|
import { scaleOfBandwidth } from "./utils.mjs";
|
|
12
13
|
/*!__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
@@ -14,24 +15,25 @@ var style = (
|
|
|
14
15
|
/*__reshadow_css_start__*/
|
|
15
16
|
(sstyled.insert(
|
|
16
17
|
/*__inner_css_start__*/
|
|
17
|
-
".
|
|
18
|
+
".___SAxis_phxnz_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_phxnz_gg_.__hide_phxnz_gg_,.___STick_phxnz_gg_.__hide_phxnz_gg_{display:none}.___STick_phxnz_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_phxnz_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_phxnz_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_phxnz)}.___STitle_phxnz_gg_._position_top_phxnz_gg_{text-anchor:middle}.___STitle_phxnz_gg_._position_bottom_phxnz_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_phxnz_gg_._position_left_phxnz_gg_,.___STitle_phxnz_gg_._position_right_phxnz_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_phxnz_gg_._position_left_phxnz_gg_.__verticalWritingMode_phxnz_gg_,.___STitle_phxnz_gg_._position_right_phxnz_gg_.__verticalWritingMode_phxnz_gg_{writing-mode:vertical-rl;transform:none}.___STick_phxnz_gg_._position_top_phxnz_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_phxnz_gg_._position_bottom_phxnz_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_phxnz_gg_._position_bottom_phxnz_gg_ tspan{dominant-baseline:hanging}.___STick_phxnz_gg_._position_right_phxnz_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_phxnz_gg_._position_left_phxnz_gg_ tspan,.___STick_phxnz_gg_._position_right_phxnz_gg_ tspan{dominant-baseline:middle}.___STick_phxnz_gg_._position_left_phxnz_gg_.__multiline_phxnz_gg_,.___STick_phxnz_gg_._position_left_phxnz_gg_.__multiline_phxnz_gg_ tspan,.___STick_phxnz_gg_._position_right_phxnz_gg_.__multiline_phxnz_gg_,.___STick_phxnz_gg_._position_right_phxnz_gg_.__multiline_phxnz_gg_ tspan{dominant-baseline:auto}.___STick_phxnz_gg_._position_left_phxnz_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_phxnz_gg_._position_custom_0_phxnz_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_phxnz_gg_._position_custom_0_phxnz_gg_ tspan{dominant-baseline:hanging}.___STick_phxnz_gg_._position_custom_1_phxnz_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_phxnz_gg_._position_custom_1_phxnz_gg_ tspan{dominant-baseline:middle}",
|
|
18
19
|
/*__inner_css_end__*/
|
|
19
|
-
"
|
|
20
|
+
"phxnz_gg_"
|
|
20
21
|
), /*__reshadow_css_end__*/
|
|
21
22
|
{
|
|
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
|
-
"_verticalWritingMode": "
|
|
33
|
-
"
|
|
34
|
-
"
|
|
23
|
+
"__SAxis": "___SAxis_phxnz_gg_",
|
|
24
|
+
"_hide": "__hide_phxnz_gg_",
|
|
25
|
+
"__STick": "___STick_phxnz_gg_",
|
|
26
|
+
"__SGrid": "___SGrid_phxnz_gg_",
|
|
27
|
+
"__STitle": "___STitle_phxnz_gg_",
|
|
28
|
+
"--transform-origin": "--transform-origin_phxnz",
|
|
29
|
+
"_position_top": "_position_top_phxnz_gg_",
|
|
30
|
+
"_position_bottom": "_position_bottom_phxnz_gg_",
|
|
31
|
+
"_position_right": "_position_right_phxnz_gg_",
|
|
32
|
+
"_position_left": "_position_left_phxnz_gg_",
|
|
33
|
+
"_verticalWritingMode": "__verticalWritingMode_phxnz_gg_",
|
|
34
|
+
"_multiline": "__multiline_phxnz_gg_",
|
|
35
|
+
"_position_custom_0": "_position_custom_0_phxnz_gg_",
|
|
36
|
+
"_position_custom_1": "_position_custom_1_phxnz_gg_"
|
|
35
37
|
})
|
|
36
38
|
);
|
|
37
39
|
var CUSTOM_0 = Symbol("custom_0");
|
|
@@ -223,6 +225,46 @@ function renderValue(value) {
|
|
|
223
225
|
}
|
|
224
226
|
return value;
|
|
225
227
|
}
|
|
228
|
+
function splitTextByWidth(root, text, maxWidth) {
|
|
229
|
+
if (!text || !maxWidth || maxWidth <= 0) return [];
|
|
230
|
+
var words = text.split(/\s+/).filter(function(word) {
|
|
231
|
+
return word.length > 0;
|
|
232
|
+
});
|
|
233
|
+
if (words.length === 0) return [];
|
|
234
|
+
var lines = [];
|
|
235
|
+
var currentLine = words[0];
|
|
236
|
+
for (var i = 1; i < words.length; i++) {
|
|
237
|
+
var testLine = "".concat(currentLine, " ").concat(words[i]).trim();
|
|
238
|
+
var testWidth = measureTextWidth(root, testLine);
|
|
239
|
+
if (testWidth <= maxWidth) {
|
|
240
|
+
currentLine = testLine;
|
|
241
|
+
} else {
|
|
242
|
+
if (currentLine) {
|
|
243
|
+
lines.push(currentLine);
|
|
244
|
+
}
|
|
245
|
+
currentLine = words[i];
|
|
246
|
+
if (measureTextWidth(root, currentLine) > maxWidth) {
|
|
247
|
+
lines.push(currentLine);
|
|
248
|
+
currentLine = "";
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
if (currentLine) {
|
|
253
|
+
lines.push(currentLine);
|
|
254
|
+
}
|
|
255
|
+
return lines;
|
|
256
|
+
}
|
|
257
|
+
function measureTextWidth(rootRef, text) {
|
|
258
|
+
var fontSize = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 12;
|
|
259
|
+
var textEl = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
260
|
+
textEl.setAttribute("font-size", fontSize);
|
|
261
|
+
textEl.setAttribute("visibility", "hidden");
|
|
262
|
+
textEl.textContent = text;
|
|
263
|
+
rootRef.appendChild(textEl);
|
|
264
|
+
var width = textEl.getComputedTextLength();
|
|
265
|
+
rootRef.removeChild(textEl);
|
|
266
|
+
return width;
|
|
267
|
+
}
|
|
226
268
|
var AxisRoot = /* @__PURE__ */ (function(_Component) {
|
|
227
269
|
function AxisRoot2() {
|
|
228
270
|
_classCallCheck(this, AxisRoot2);
|
|
@@ -284,7 +326,23 @@ _defineProperty(AxisRoot, "style", style);
|
|
|
284
326
|
_defineProperty(AxisRoot, "defaultProps", {});
|
|
285
327
|
function Ticks(props) {
|
|
286
328
|
var _MAP_POSITION_TICK$po;
|
|
287
|
-
var STick = props.Element, styles = props.styles, scale = props.scale, ticks = props.ticks, position = props.position, hide = props.hide, indexScale = props.indexScale, dataHintsHandler = props.dataHintsHandler, children = props.children, _props$childrenPositi = props.childrenPosition, childrenPosition = _props$childrenPositi === void 0 ? "inside" : _props$childrenPositi;
|
|
329
|
+
var STick = props.Element, styles = props.styles, scale = props.scale, ticks = props.ticks, position = props.position, hide = props.hide, indexScale = props.indexScale, dataHintsHandler = props.dataHintsHandler, children = props.children, _props$childrenPositi = props.childrenPosition, childrenPosition = _props$childrenPositi === void 0 ? "inside" : _props$childrenPositi, rootRef = props.rootRef, multiline = props.multiline;
|
|
330
|
+
var _useState = useState([]), _useState2 = _slicedToArray(_useState, 2), ticksState = _useState2[0], setTicksState = _useState2[1];
|
|
331
|
+
useEffect(function() {
|
|
332
|
+
var _scale$indexScale, _scale$indexScale$ban;
|
|
333
|
+
var tickBandwidth = (_scale$indexScale = scale[indexScale]) === null || _scale$indexScale === void 0 || (_scale$indexScale$ban = _scale$indexScale.bandwidth) === null || _scale$indexScale$ban === void 0 ? void 0 : _scale$indexScale$ban.call(_scale$indexScale);
|
|
334
|
+
var ticksWithLines = ticks.map(function(tick) {
|
|
335
|
+
var lines = [];
|
|
336
|
+
if (typeof tick === "string" && multiline) {
|
|
337
|
+
lines = splitTextByWidth(rootRef.current, tick, tickBandwidth);
|
|
338
|
+
}
|
|
339
|
+
return {
|
|
340
|
+
tick,
|
|
341
|
+
lines
|
|
342
|
+
};
|
|
343
|
+
});
|
|
344
|
+
setTicksState(ticksWithLines);
|
|
345
|
+
}, [ticks, multiline]);
|
|
288
346
|
var pos = (_MAP_POSITION_TICK$po = MAP_POSITION_TICK[position]) !== null && _MAP_POSITION_TICK$po !== void 0 ? _MAP_POSITION_TICK$po : MAP_POSITION_TICK[MAP_INDEX_SCALE_SYMBOL[indexScale]];
|
|
289
347
|
var positionClass = MAP_POSITION_TICK[position] ? position : "custom_".concat(indexScale);
|
|
290
348
|
if (typeof children === "function") {
|
|
@@ -301,8 +359,9 @@ function Ticks(props) {
|
|
|
301
359
|
dataHintsHandler.addKeyLabelGetter("horizontal", labelGetter);
|
|
302
360
|
}
|
|
303
361
|
}
|
|
304
|
-
return
|
|
362
|
+
return ticksState.map(function(_ref43, i) {
|
|
305
363
|
var _ref2;
|
|
364
|
+
var value = _ref43.tick, lines = _ref43.lines;
|
|
306
365
|
var displayValue = typeof children === "function" ? void 0 : renderValue(value);
|
|
307
366
|
return _ref2 = sstyled(styles), /* @__PURE__ */ React.createElement(STick, _ref2.cn("STick", _objectSpread({
|
|
308
367
|
"aria-hidden": true,
|
|
@@ -313,8 +372,15 @@ function Ticks(props) {
|
|
|
313
372
|
"value": value,
|
|
314
373
|
"index": i,
|
|
315
374
|
"position": positionClass,
|
|
316
|
-
"hide": hide
|
|
317
|
-
|
|
375
|
+
"hide": hide,
|
|
376
|
+
"multiline": multiline
|
|
377
|
+
}, pos(scale, value, position))), lines.length > 1 ? lines.map(function(line, lineIndex) {
|
|
378
|
+
return /* @__PURE__ */ React.createElement("tspan", _extends({
|
|
379
|
+
key: line
|
|
380
|
+
}, pos(scale, value, position), {
|
|
381
|
+
dy: lineIndex * 15
|
|
382
|
+
}), line);
|
|
383
|
+
}) : displayValue);
|
|
318
384
|
});
|
|
319
385
|
}
|
|
320
386
|
function Grid(props) {
|
package/lib/esm/Bar.mjs
CHANGED
|
@@ -17,26 +17,26 @@ var style = (
|
|
|
17
17
|
/*__reshadow_css_start__*/
|
|
18
18
|
(sstyled.insert(
|
|
19
19
|
/*__inner_css_start__*/
|
|
20
|
-
".
|
|
20
|
+
".___SBar_1gb94_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1gb94);transition-timing-function:ease-in-out}.___SBar_1gb94_gg_.__color_1gb94_gg_{fill:var(--color_1gb94)}.___SBar_1gb94_gg_.__pattern_1gb94_gg_.__color_1gb94_gg_{fill:var(--pattern_1gb94);stroke:var(--color_1gb94);stroke-width:1px}.___SBar_1gb94_gg_.__hide_1gb94_gg_{display:none}.___SBar_1gb94_gg_.__transparent_1gb94_gg_{opacity:.3}.___SBackground_1gb94_gg_.__onClick_1gb94_gg_,.___SBar_1gb94_gg_.__onClick_1gb94_gg_{cursor:pointer}.___SBackground_1gb94_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1gb94_gg_{display:flex;justify-content:space-between}.___SBarLabel_1gb94_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1gb94_gg_,.___SBarPercent_1gb94_gg_,.___SBarValue_1gb94_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1gb94_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1gb94_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1gb94_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
21
21
|
/*__inner_css_end__*/
|
|
22
|
-
"
|
|
22
|
+
"1gb94_gg_"
|
|
23
23
|
), /*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SBar": "
|
|
26
|
-
"--duration": "--
|
|
27
|
-
"_color": "
|
|
28
|
-
"--color": "--
|
|
29
|
-
"_pattern": "
|
|
30
|
-
"--pattern": "--
|
|
31
|
-
"_hide": "
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"_onClick": "
|
|
34
|
-
"__SBackground": "
|
|
35
|
-
"__SBarAnnotation": "
|
|
36
|
-
"__SBarLabel": "
|
|
37
|
-
"__SBarPercent": "
|
|
38
|
-
"__SBarValue": "
|
|
39
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
25
|
+
"__SBar": "___SBar_1gb94_gg_",
|
|
26
|
+
"--duration": "--duration_1gb94",
|
|
27
|
+
"_color": "__color_1gb94_gg_",
|
|
28
|
+
"--color": "--color_1gb94",
|
|
29
|
+
"_pattern": "__pattern_1gb94_gg_",
|
|
30
|
+
"--pattern": "--pattern_1gb94",
|
|
31
|
+
"_hide": "__hide_1gb94_gg_",
|
|
32
|
+
"_transparent": "__transparent_1gb94_gg_",
|
|
33
|
+
"_onClick": "__onClick_1gb94_gg_",
|
|
34
|
+
"__SBackground": "___SBackground_1gb94_gg_",
|
|
35
|
+
"__SBarAnnotation": "___SBarAnnotation_1gb94_gg_",
|
|
36
|
+
"__SBarLabel": "___SBarLabel_1gb94_gg_",
|
|
37
|
+
"__SBarPercent": "___SBarPercent_1gb94_gg_",
|
|
38
|
+
"__SBarValue": "___SBarValue_1gb94_gg_",
|
|
39
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1gb94_gg_"
|
|
40
40
|
})
|
|
41
41
|
);
|
|
42
42
|
var MIN_HEIGHT = 2;
|
package/lib/esm/Bubble.mjs
CHANGED
|
@@ -20,23 +20,23 @@ var style = (
|
|
|
20
20
|
/*__reshadow_css_start__*/
|
|
21
21
|
(sstyled.insert(
|
|
22
22
|
/*__inner_css_start__*/
|
|
23
|
-
".
|
|
23
|
+
".___SBubble_1ucvn_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_1ucvn);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1ucvn_gg_:hover{opacity:.8}}g._visible_false_1ucvn_gg_{display:none}.___SBubble_1ucvn_gg_.__color_1ucvn_gg_{fill:var(--color_1ucvn)}.___SBubble_1ucvn_gg_.__pattern_1ucvn_gg_.__color_1ucvn_gg_{fill:var(--pattern_1ucvn);stroke:var(--color_1ucvn);stroke-width:1px}.___SBubble_1ucvn_gg_.__transparent_1ucvn_gg_{opacity:.3}.___SCenter_1ucvn_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_1ucvn_gg_.__color_1ucvn_gg_{stroke:var(--color_1ucvn)}.___SCenter_1ucvn_gg_.__transparent_1ucvn_gg_{opacity:.3}.___SLabel_1ucvn_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_1ucvn_gg_._position_right_1ucvn_gg_{text-anchor:end}.___SLabel_1ucvn_gg_._position_left_1ucvn_gg_{text-anchor:start}.___SLabel_1ucvn_gg_.__color_1ucvn_gg_{fill:var(--color_1ucvn)}.___SLabel_1ucvn_gg_.__transparent_1ucvn_gg_{opacity:.3}",
|
|
24
24
|
/*__inner_css_end__*/
|
|
25
|
-
"
|
|
25
|
+
"1ucvn_gg_"
|
|
26
26
|
), /*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"_visible_false": "
|
|
29
|
-
"__SBubble": "
|
|
30
|
-
"_color": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_pattern": "
|
|
33
|
-
"--pattern": "--
|
|
34
|
-
"_transparent": "
|
|
35
|
-
"__SCenter": "
|
|
36
|
-
"__SLabel": "
|
|
37
|
-
"_position_right": "
|
|
38
|
-
"_position_left": "
|
|
39
|
-
"--duration": "--
|
|
28
|
+
"_visible_false": "_visible_false_1ucvn_gg_",
|
|
29
|
+
"__SBubble": "___SBubble_1ucvn_gg_",
|
|
30
|
+
"_color": "__color_1ucvn_gg_",
|
|
31
|
+
"--color": "--color_1ucvn",
|
|
32
|
+
"_pattern": "__pattern_1ucvn_gg_",
|
|
33
|
+
"--pattern": "--pattern_1ucvn",
|
|
34
|
+
"_transparent": "__transparent_1ucvn_gg_",
|
|
35
|
+
"__SCenter": "___SCenter_1ucvn_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_1ucvn_gg_",
|
|
37
|
+
"_position_right": "_position_right_1ucvn_gg_",
|
|
38
|
+
"_position_left": "_position_left_1ucvn_gg_",
|
|
39
|
+
"--duration": "--duration_1ucvn"
|
|
40
40
|
})
|
|
41
41
|
);
|
|
42
42
|
var BubbleRoot = /* @__PURE__ */ (function(_Component) {
|
|
@@ -23,26 +23,26 @@ var style = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
(sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
".
|
|
26
|
+
".___SBar_1gb94_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1gb94);transition-timing-function:ease-in-out}.___SBar_1gb94_gg_.__color_1gb94_gg_{fill:var(--color_1gb94)}.___SBar_1gb94_gg_.__pattern_1gb94_gg_.__color_1gb94_gg_{fill:var(--pattern_1gb94);stroke:var(--color_1gb94);stroke-width:1px}.___SBar_1gb94_gg_.__hide_1gb94_gg_{display:none}.___SBar_1gb94_gg_.__transparent_1gb94_gg_{opacity:.3}.___SBackground_1gb94_gg_.__onClick_1gb94_gg_,.___SBar_1gb94_gg_.__onClick_1gb94_gg_{cursor:pointer}.___SBackground_1gb94_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1gb94_gg_{display:flex;justify-content:space-between}.___SBarLabel_1gb94_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1gb94_gg_,.___SBarPercent_1gb94_gg_,.___SBarValue_1gb94_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1gb94_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1gb94_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1gb94_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
|
-
"
|
|
28
|
+
"1gb94_gg_"
|
|
29
29
|
), /*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SBar": "
|
|
32
|
-
"--duration": "--
|
|
33
|
-
"_color": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"_pattern": "
|
|
36
|
-
"--pattern": "--
|
|
37
|
-
"_hide": "
|
|
38
|
-
"_transparent": "
|
|
39
|
-
"_onClick": "
|
|
40
|
-
"__SBackground": "
|
|
41
|
-
"__SBarAnnotation": "
|
|
42
|
-
"__SBarLabel": "
|
|
43
|
-
"__SBarPercent": "
|
|
44
|
-
"__SBarValue": "
|
|
45
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
31
|
+
"__SBar": "___SBar_1gb94_gg_",
|
|
32
|
+
"--duration": "--duration_1gb94",
|
|
33
|
+
"_color": "__color_1gb94_gg_",
|
|
34
|
+
"--color": "--color_1gb94",
|
|
35
|
+
"_pattern": "__pattern_1gb94_gg_",
|
|
36
|
+
"--pattern": "--pattern_1gb94",
|
|
37
|
+
"_hide": "__hide_1gb94_gg_",
|
|
38
|
+
"_transparent": "__transparent_1gb94_gg_",
|
|
39
|
+
"_onClick": "__onClick_1gb94_gg_",
|
|
40
|
+
"__SBackground": "___SBackground_1gb94_gg_",
|
|
41
|
+
"__SBarAnnotation": "___SBarAnnotation_1gb94_gg_",
|
|
42
|
+
"__SBarLabel": "___SBarLabel_1gb94_gg_",
|
|
43
|
+
"__SBarPercent": "___SBarPercent_1gb94_gg_",
|
|
44
|
+
"__SBarValue": "___SBarValue_1gb94_gg_",
|
|
45
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1gb94_gg_"
|
|
46
46
|
})
|
|
47
47
|
);
|
|
48
48
|
var MIN_WIDTH = 4;
|
package/lib/esm/Donut.mjs
CHANGED
|
@@ -24,19 +24,19 @@ var style = (
|
|
|
24
24
|
/*__reshadow_css_start__*/
|
|
25
25
|
(sstyled.insert(
|
|
26
26
|
/*__inner_css_start__*/
|
|
27
|
-
".
|
|
27
|
+
".___SPie_1xjlm_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_1xjlm_gg_.__color_1xjlm_gg_{fill:var(--color_1xjlm)}.___SPie_1xjlm_gg_.__pattern_1xjlm_gg_.__color_1xjlm_gg_{fill:var(--pattern_1xjlm);stroke:var(--color_1xjlm);stroke-width:1px}.___SPie_1xjlm_gg_.__transparent_1xjlm_gg_{opacity:.3}.___SEmptyData_1xjlm_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_1xjlm_gg_.__color_1xjlm_gg_{fill:var(--color_1xjlm)}.___SLabel_1xjlm_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}",
|
|
28
28
|
/*__inner_css_end__*/
|
|
29
|
-
"
|
|
29
|
+
"1xjlm_gg_"
|
|
30
30
|
), /*__reshadow_css_end__*/
|
|
31
31
|
{
|
|
32
|
-
"__SPie": "
|
|
33
|
-
"_color": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"_pattern": "
|
|
36
|
-
"--pattern": "--
|
|
37
|
-
"_transparent": "
|
|
38
|
-
"__SEmptyData": "
|
|
39
|
-
"__SLabel": "
|
|
32
|
+
"__SPie": "___SPie_1xjlm_gg_",
|
|
33
|
+
"_color": "__color_1xjlm_gg_",
|
|
34
|
+
"--color": "--color_1xjlm",
|
|
35
|
+
"_pattern": "__pattern_1xjlm_gg_",
|
|
36
|
+
"--pattern": "--pattern_1xjlm",
|
|
37
|
+
"_transparent": "__transparent_1xjlm_gg_",
|
|
38
|
+
"__SEmptyData": "___SEmptyData_1xjlm_gg_",
|
|
39
|
+
"__SLabel": "___SLabel_1xjlm_gg_"
|
|
40
40
|
})
|
|
41
41
|
);
|
|
42
42
|
var DEFAULT_INSTANCE = Symbol("DEFAULT_INSTANCE");
|
package/lib/esm/Dots.mjs
CHANGED
|
@@ -11,18 +11,18 @@ var style = (
|
|
|
11
11
|
/*__reshadow_css_start__*/
|
|
12
12
|
(sstyled.insert(
|
|
13
13
|
/*__inner_css_start__*/
|
|
14
|
-
".
|
|
14
|
+
".___SDots_17fh8_gg_ .___SDot_17fh8_gg_{transition-duration:var(--duration_17fh8)}.___SDot_17fh8_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_17fh8_gg_.__hide_17fh8_gg_{display:none}.___SDot_17fh8_gg_.__color_17fh8_gg_{fill:var(--color_17fh8)}.___SDot_17fh8_gg_.__transparent_17fh8_gg_{opacity:.3}",
|
|
15
15
|
/*__inner_css_end__*/
|
|
16
|
-
"
|
|
16
|
+
"17fh8_gg_"
|
|
17
17
|
), /*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SDot": "
|
|
20
|
-
"_hide": "
|
|
21
|
-
"_color": "
|
|
22
|
-
"--color": "--
|
|
23
|
-
"_transparent": "
|
|
24
|
-
"__SDots": "
|
|
25
|
-
"--duration": "--
|
|
19
|
+
"__SDot": "___SDot_17fh8_gg_",
|
|
20
|
+
"_hide": "__hide_17fh8_gg_",
|
|
21
|
+
"_color": "__color_17fh8_gg_",
|
|
22
|
+
"--color": "--color_17fh8",
|
|
23
|
+
"_transparent": "__transparent_17fh8_gg_",
|
|
24
|
+
"__SDots": "___SDots_17fh8_gg_",
|
|
25
|
+
"--duration": "--duration_17fh8"
|
|
26
26
|
})
|
|
27
27
|
);
|
|
28
28
|
function Dots(props) {
|
|
@@ -16,26 +16,26 @@ var style = (
|
|
|
16
16
|
/*__reshadow_css_start__*/
|
|
17
17
|
(sstyled.insert(
|
|
18
18
|
/*__inner_css_start__*/
|
|
19
|
-
".
|
|
19
|
+
".___SBar_1gb94_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1gb94);transition-timing-function:ease-in-out}.___SBar_1gb94_gg_.__color_1gb94_gg_{fill:var(--color_1gb94)}.___SBar_1gb94_gg_.__pattern_1gb94_gg_.__color_1gb94_gg_{fill:var(--pattern_1gb94);stroke:var(--color_1gb94);stroke-width:1px}.___SBar_1gb94_gg_.__hide_1gb94_gg_{display:none}.___SBar_1gb94_gg_.__transparent_1gb94_gg_{opacity:.3}.___SBackground_1gb94_gg_.__onClick_1gb94_gg_,.___SBar_1gb94_gg_.__onClick_1gb94_gg_{cursor:pointer}.___SBackground_1gb94_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1gb94_gg_{display:flex;justify-content:space-between}.___SBarLabel_1gb94_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1gb94_gg_,.___SBarPercent_1gb94_gg_,.___SBarValue_1gb94_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1gb94_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1gb94_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1gb94_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
20
20
|
/*__inner_css_end__*/
|
|
21
|
-
"
|
|
21
|
+
"1gb94_gg_"
|
|
22
22
|
), /*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SBar": "
|
|
25
|
-
"--duration": "--
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_pattern": "
|
|
29
|
-
"--pattern": "--
|
|
30
|
-
"_hide": "
|
|
31
|
-
"_transparent": "
|
|
32
|
-
"_onClick": "
|
|
33
|
-
"__SBackground": "
|
|
34
|
-
"__SBarAnnotation": "
|
|
35
|
-
"__SBarLabel": "
|
|
36
|
-
"__SBarPercent": "
|
|
37
|
-
"__SBarValue": "
|
|
38
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
24
|
+
"__SBar": "___SBar_1gb94_gg_",
|
|
25
|
+
"--duration": "--duration_1gb94",
|
|
26
|
+
"_color": "__color_1gb94_gg_",
|
|
27
|
+
"--color": "--color_1gb94",
|
|
28
|
+
"_pattern": "__pattern_1gb94_gg_",
|
|
29
|
+
"--pattern": "--pattern_1gb94",
|
|
30
|
+
"_hide": "__hide_1gb94_gg_",
|
|
31
|
+
"_transparent": "__transparent_1gb94_gg_",
|
|
32
|
+
"_onClick": "__onClick_1gb94_gg_",
|
|
33
|
+
"__SBackground": "___SBackground_1gb94_gg_",
|
|
34
|
+
"__SBarAnnotation": "___SBarAnnotation_1gb94_gg_",
|
|
35
|
+
"__SBarLabel": "___SBarLabel_1gb94_gg_",
|
|
36
|
+
"__SBarPercent": "___SBarPercent_1gb94_gg_",
|
|
37
|
+
"__SBarValue": "___SBarValue_1gb94_gg_",
|
|
38
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1gb94_gg_"
|
|
39
39
|
})
|
|
40
40
|
);
|
|
41
41
|
var MIN_WIDTH = 2;
|
package/lib/esm/Hover.mjs
CHANGED
|
@@ -17,13 +17,13 @@ var style = (
|
|
|
17
17
|
/*__reshadow_css_start__*/
|
|
18
18
|
(sstyled.insert(
|
|
19
19
|
/*__inner_css_start__*/
|
|
20
|
-
".
|
|
20
|
+
".___SHoverLine_1675o_gg_,.___SHoverLine_1675o_gg_:focus-visible{outline:0;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1675o_gg_,.___SHoverRect_1675o_gg_:focus-visible{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
21
21
|
/*__inner_css_end__*/
|
|
22
|
-
"
|
|
22
|
+
"1675o_gg_"
|
|
23
23
|
), /*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SHoverLine": "
|
|
26
|
-
"__SHoverRect": "
|
|
25
|
+
"__SHoverLine": "___SHoverLine_1675o_gg_",
|
|
26
|
+
"__SHoverRect": "___SHoverRect_1675o_gg_"
|
|
27
27
|
})
|
|
28
28
|
);
|
|
29
29
|
var Hover = /* @__PURE__ */ (function(_Component) {
|
package/lib/esm/Line.mjs
CHANGED
|
@@ -19,19 +19,19 @@ var style = (
|
|
|
19
19
|
/*__reshadow_css_start__*/
|
|
20
20
|
(sstyled.insert(
|
|
21
21
|
/*__inner_css_start__*/
|
|
22
|
-
".
|
|
22
|
+
".___SLine_ldybw_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_ldybw);transition-timing-function:ease-in-out}.___SLine_ldybw_gg_.__color_ldybw_gg_{stroke:var(--color_ldybw)}.___SLine_ldybw_gg_.__hide_ldybw_gg_{display:none}.___SLine_ldybw_gg_.__transparent_ldybw_gg_{opacity:.3}.___SNull_ldybw_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_ldybw_gg_.__hide_ldybw_gg_{display:none}.___SLineArea_ldybw_gg_{transition-property:d;transition-duration:var(--duration_ldybw);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_ldybw_gg_.__color_ldybw_gg_{fill:var(--color_ldybw)}",
|
|
23
23
|
/*__inner_css_end__*/
|
|
24
|
-
"
|
|
24
|
+
"ldybw_gg_"
|
|
25
25
|
), /*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SLine": "
|
|
28
|
-
"--duration": "--
|
|
29
|
-
"_color": "
|
|
30
|
-
"--color": "--
|
|
31
|
-
"_hide": "
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SNull": "
|
|
34
|
-
"__SLineArea": "
|
|
27
|
+
"__SLine": "___SLine_ldybw_gg_",
|
|
28
|
+
"--duration": "--duration_ldybw",
|
|
29
|
+
"_color": "__color_ldybw_gg_",
|
|
30
|
+
"--color": "--color_ldybw",
|
|
31
|
+
"_hide": "__hide_ldybw_gg_",
|
|
32
|
+
"_transparent": "__transparent_ldybw_gg_",
|
|
33
|
+
"__SNull": "___SNull_ldybw_gg_",
|
|
34
|
+
"__SLineArea": "___SLineArea_ldybw_gg_"
|
|
35
35
|
})
|
|
36
36
|
);
|
|
37
37
|
var LineRoot = /* @__PURE__ */ (function(_Component) {
|
package/lib/esm/Plot.mjs
CHANGED
|
@@ -21,13 +21,13 @@ var style = (
|
|
|
21
21
|
/*__reshadow_css_start__*/
|
|
22
22
|
(sstyled.insert(
|
|
23
23
|
/*__inner_css_start__*/
|
|
24
|
-
".
|
|
24
|
+
".___SPlot_ebb2t_gg_{overflow:hidden}.___SPlot_ebb2t_gg_:focus{outline:0}.___SPlot_ebb2t_gg_:active{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_ebb2t_gg_.__keyboardFocused_ebb2t_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, #008ff8);outline-style:solid;outline-width:2px;outline-offset:2px;transition-duration:calc(var(--intergalactic-duration-extra-fast, 100)*1ms);transition-timing-function:ease-in-out;transition-property:outline-color,outline-width,outline-offset;border-radius:var(--intergalactic-surface-rounded, 6px)}",
|
|
25
25
|
/*__inner_css_end__*/
|
|
26
|
-
"
|
|
26
|
+
"ebb2t_gg_"
|
|
27
27
|
), /*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SPlot": "
|
|
30
|
-
"_keyboardFocused": "
|
|
29
|
+
"__SPlot": "___SPlot_ebb2t_gg_",
|
|
30
|
+
"_keyboardFocused": "__keyboardFocused_ebb2t_gg_"
|
|
31
31
|
})
|
|
32
32
|
);
|
|
33
33
|
var PlotRoot = /* @__PURE__ */ (function(_Component) {
|
package/lib/esm/Radar.mjs
CHANGED
|
@@ -23,29 +23,29 @@ var style = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
(sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
".
|
|
26
|
+
".___SAxisLine_xbfmu_gg_,.___SAxisTick_xbfmu_gg_,.___SAxis_xbfmu_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_xbfmu_gg_,.___SAxisTick_xbfmu_gg_{stroke-dasharray:2}.___SAxisLine_xbfmu_gg_.__active_xbfmu_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_xbfmu_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_xbfmu_gg_.__xDirection_xbfmu_gg_{text-anchor:var(--xDirection_xbfmu)}.___SAxisLabel_xbfmu_gg_.__yDirection_xbfmu_gg_{dominant-baseline:var(--yDirection_xbfmu)}.___SPolygonDot_xbfmu_gg_,.___SPolygon_xbfmu_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_xbfmu_gg_{opacity:.2}.___SPolygon_xbfmu_gg_.__color_xbfmu_gg_{fill:var(--color_xbfmu)}.___SPolygon_xbfmu_gg_.__pattern_xbfmu_gg_.__color_xbfmu_gg_{fill:var(--pattern_xbfmu);stroke:var(--color_xbfmu);stroke-width:1px}.___SPolygonDot_xbfmu_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_xbfmu_gg_.__transparent_xbfmu_gg_{opacity:.3}.___SPolygonDot_xbfmu_gg_.__color_xbfmu_gg_{fill:var(--color_xbfmu)}.___SPolygonLine_xbfmu_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_xbfmu_gg_.__transparent_xbfmu_gg_{opacity:.3}.___SPolygonLine_xbfmu_gg_.__color_xbfmu_gg_{stroke:var(--color_xbfmu)}.___SPieRect_xbfmu_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
|
-
"
|
|
28
|
+
"xbfmu_gg_"
|
|
29
29
|
), /*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SAxis": "
|
|
32
|
-
"__SAxisLine": "
|
|
33
|
-
"__SAxisTick": "
|
|
34
|
-
"_active": "
|
|
35
|
-
"__SAxisLabel": "
|
|
36
|
-
"_xDirection": "
|
|
37
|
-
"--xDirection": "--
|
|
38
|
-
"_yDirection": "
|
|
39
|
-
"--yDirection": "--
|
|
40
|
-
"__SPolygon": "
|
|
41
|
-
"_color": "
|
|
42
|
-
"--color": "--
|
|
43
|
-
"_pattern": "
|
|
44
|
-
"--pattern": "--
|
|
45
|
-
"__SPolygonDot": "
|
|
46
|
-
"_transparent": "
|
|
47
|
-
"__SPolygonLine": "
|
|
48
|
-
"__SPieRect": "
|
|
31
|
+
"__SAxis": "___SAxis_xbfmu_gg_",
|
|
32
|
+
"__SAxisLine": "___SAxisLine_xbfmu_gg_",
|
|
33
|
+
"__SAxisTick": "___SAxisTick_xbfmu_gg_",
|
|
34
|
+
"_active": "__active_xbfmu_gg_",
|
|
35
|
+
"__SAxisLabel": "___SAxisLabel_xbfmu_gg_",
|
|
36
|
+
"_xDirection": "__xDirection_xbfmu_gg_",
|
|
37
|
+
"--xDirection": "--xDirection_xbfmu",
|
|
38
|
+
"_yDirection": "__yDirection_xbfmu_gg_",
|
|
39
|
+
"--yDirection": "--yDirection_xbfmu",
|
|
40
|
+
"__SPolygon": "___SPolygon_xbfmu_gg_",
|
|
41
|
+
"_color": "__color_xbfmu_gg_",
|
|
42
|
+
"--color": "--color_xbfmu",
|
|
43
|
+
"_pattern": "__pattern_xbfmu_gg_",
|
|
44
|
+
"--pattern": "--pattern_xbfmu",
|
|
45
|
+
"__SPolygonDot": "___SPolygonDot_xbfmu_gg_",
|
|
46
|
+
"_transparent": "__transparent_xbfmu_gg_",
|
|
47
|
+
"__SPolygonLine": "___SPolygonLine_xbfmu_gg_",
|
|
48
|
+
"__SPieRect": "___SPieRect_xbfmu_gg_"
|
|
49
49
|
})
|
|
50
50
|
);
|
|
51
51
|
var clampAngle = function clampAngle2(angle) {
|
package/lib/esm/RadialTree.mjs
CHANGED
|
@@ -23,22 +23,22 @@ var style = (
|
|
|
23
23
|
/*__reshadow_css_start__*/
|
|
24
24
|
(sstyled.insert(
|
|
25
25
|
/*__inner_css_start__*/
|
|
26
|
-
".
|
|
26
|
+
".___SRadian_1vgfp_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1vgfp_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1vgfp_gg_.__stroke_1vgfp_gg_{stroke:var(--stroke_1vgfp)}.___SLine_1vgfp_gg_.__transparent_1vgfp_gg_{opacity:.3}.___SCap_1vgfp_gg_{transition:r .1s}.___SCap_1vgfp_gg_.__pattern_1vgfp_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1vgfp_gg_.__transparent_1vgfp_gg_,.___SIcon_1vgfp_gg_.__transparent_1vgfp_gg_,.___SLabel_1vgfp_gg_.__transparent_1vgfp_gg_{opacity:.3}.___SLabel_1vgfp_gg_{fill:var(--color_1vgfp)}@media (hover:hover){.___SRadian_1vgfp_gg_:hover .___SLabel_1vgfp_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1vgfp_gg_{transition:none}}",
|
|
27
27
|
/*__inner_css_end__*/
|
|
28
|
-
"
|
|
28
|
+
"1vgfp_gg_"
|
|
29
29
|
), /*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SRadian": "
|
|
32
|
-
"__SLine": "
|
|
33
|
-
"_stroke": "
|
|
34
|
-
"--stroke": "--
|
|
35
|
-
"_transparent": "
|
|
36
|
-
"__SCap": "
|
|
37
|
-
"_pattern": "
|
|
38
|
-
"__SIcon": "
|
|
39
|
-
"__SLabel": "
|
|
40
|
-
"--color": "--
|
|
41
|
-
"__SLineCap": "
|
|
31
|
+
"__SRadian": "___SRadian_1vgfp_gg_",
|
|
32
|
+
"__SLine": "___SLine_1vgfp_gg_",
|
|
33
|
+
"_stroke": "__stroke_1vgfp_gg_",
|
|
34
|
+
"--stroke": "--stroke_1vgfp",
|
|
35
|
+
"_transparent": "__transparent_1vgfp_gg_",
|
|
36
|
+
"__SCap": "___SCap_1vgfp_gg_",
|
|
37
|
+
"_pattern": "__pattern_1vgfp_gg_",
|
|
38
|
+
"__SIcon": "___SIcon_1vgfp_gg_",
|
|
39
|
+
"__SLabel": "___SLabel_1vgfp_gg_",
|
|
40
|
+
"--color": "--color_1vgfp",
|
|
41
|
+
"__SLineCap": "___SLineCap_1vgfp_gg_"
|
|
42
42
|
})
|
|
43
43
|
);
|
|
44
44
|
var baseAngle = -Math.PI / 2;
|