@semcore/d3-chart 16.6.0-prerelease.5 → 16.7.0-prerelease.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +15 -15
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +14 -14
- 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 +4 -4
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/cjs/style/area.shadow.css +3 -3
- package/lib/cjs/style/axis.shadow.css +4 -4
- package/lib/cjs/style/bar.shadow.css +6 -6
- package/lib/cjs/style/bubble.shadow.css +4 -4
- package/lib/cjs/style/donut.shadow.css +3 -3
- package/lib/cjs/style/dot.shadow.css +2 -2
- package/lib/cjs/style/hover.shadow.css +2 -2
- package/lib/cjs/style/line.shadow.css +3 -3
- package/lib/cjs/style/plot.shadow.css +1 -1
- package/lib/cjs/style/plotA11yView.shadow.css +4 -4
- package/lib/cjs/style/radar.shadow.css +8 -8
- package/lib/cjs/style/radial-tree.shadow.css +3 -3
- package/lib/cjs/style/reference.shadow.css +4 -4
- package/lib/cjs/style/scatterplot.shadow.css +2 -2
- package/lib/cjs/style/tooltip.shadow.css +5 -5
- package/lib/cjs/style/venn.shadow.css +3 -3
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +15 -15
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +14 -14
- 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 +4 -4
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/style/area.shadow.css +3 -3
- package/lib/es6/style/axis.shadow.css +4 -4
- package/lib/es6/style/bar.shadow.css +6 -6
- package/lib/es6/style/bubble.shadow.css +4 -4
- package/lib/es6/style/donut.shadow.css +3 -3
- package/lib/es6/style/dot.shadow.css +2 -2
- package/lib/es6/style/hover.shadow.css +2 -2
- package/lib/es6/style/line.shadow.css +3 -3
- package/lib/es6/style/plot.shadow.css +1 -1
- package/lib/es6/style/plotA11yView.shadow.css +4 -4
- package/lib/es6/style/radar.shadow.css +8 -8
- package/lib/es6/style/radial-tree.shadow.css +3 -3
- package/lib/es6/style/reference.shadow.css +4 -4
- package/lib/es6/style/scatterplot.shadow.css +2 -2
- package/lib/es6/style/tooltip.shadow.css +5 -5
- package/lib/es6/style/venn.shadow.css +3 -3
- package/lib/esm/Area.mjs +12 -12
- package/lib/esm/Axis.mjs +16 -16
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +15 -15
- 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 +5 -5
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +18 -18
- package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
- package/lib/esm/style/area.shadow.css +3 -3
- package/lib/esm/style/axis.shadow.css +4 -4
- package/lib/esm/style/bar.shadow.css +6 -6
- package/lib/esm/style/bubble.shadow.css +4 -4
- package/lib/esm/style/donut.shadow.css +3 -3
- package/lib/esm/style/dot.shadow.css +2 -2
- package/lib/esm/style/hover.shadow.css +2 -2
- package/lib/esm/style/line.shadow.css +3 -3
- package/lib/esm/style/plot.shadow.css +1 -1
- package/lib/esm/style/plotA11yView.shadow.css +4 -4
- package/lib/esm/style/radar.shadow.css +8 -8
- package/lib/esm/style/radial-tree.shadow.css +3 -3
- package/lib/esm/style/reference.shadow.css +4 -4
- package/lib/esm/style/scatterplot.shadow.css +2 -2
- package/lib/esm/style/tooltip.shadow.css +5 -5
- package/lib/esm/style/venn.shadow.css +3 -3
- package/package.json +18 -18
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SCircle {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-2,
|
|
5
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-2, oklch(0.82 0.15 170));
|
|
5
|
+
stroke: var(--intergalactic-chart-grid-border, #fff);
|
|
6
6
|
stroke-width: 2px;
|
|
7
7
|
fill-opacity: 0.5;
|
|
8
8
|
transition-property: cx, cy;
|
|
@@ -34,7 +34,7 @@ SCircle[transparent] {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
SIntersection {
|
|
37
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
37
|
+
stroke: var(--intergalactic-chart-grid-border, #fff);
|
|
38
38
|
stroke-width: 2px;
|
|
39
39
|
fill-opacity: 0;
|
|
40
40
|
|
package/lib/es6/Area.js
CHANGED
|
@@ -17,19 +17,19 @@ import createElement from './createElement';
|
|
|
17
17
|
import Dots from './Dots';
|
|
18
18
|
import { PatternFill } from './Pattern';
|
|
19
19
|
/*!__reshadow-styles__:"./style/area.shadow.css"*/
|
|
20
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SArea_1q484_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));fill-opacity:.2}.___SArea_1q484_gg_.__color_1q484_gg_{fill:var(--color_1q484)}.___SArea_1q484_gg_.__pattern_1q484_gg_{fill:var(--pattern_1q484);fill-opacity:.7}.___SArea_1q484_gg_.__transparent_1q484_gg_{opacity:.3}.___SAreaLine_1q484_gg_{stroke:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));stroke-width:3;fill:transparent}.___SAreaLine_1q484_gg_.__color_1q484_gg_{stroke:var(--color_1q484)}.___SAreaLine_1q484_gg_.__transparent_1q484_gg_{opacity:.3}.___SAreaLine_1q484_gg_,.___SArea_1q484_gg_{transition-property:d;transition-duration:var(--duration_1q484);transition-timing-function:ease-in-out}.___SNull_1q484_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, rgb(214, 216, 215));stroke-dasharray:4}.___SNull_1q484_gg_.__hide_1q484_gg_{display:none}", /*__inner_css_end__*/"1q484_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SArea": "
|
|
24
|
-
"_color": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"_pattern": "
|
|
27
|
-
"--pattern": "--
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"__SAreaLine": "
|
|
30
|
-
"--duration": "--
|
|
31
|
-
"__SNull": "
|
|
32
|
-
"_hide": "
|
|
23
|
+
"__SArea": "___SArea_1q484_gg_",
|
|
24
|
+
"_color": "__color_1q484_gg_",
|
|
25
|
+
"--color": "--color_1q484",
|
|
26
|
+
"_pattern": "__pattern_1q484_gg_",
|
|
27
|
+
"--pattern": "--pattern_1q484",
|
|
28
|
+
"_transparent": "__transparent_1q484_gg_",
|
|
29
|
+
"__SAreaLine": "___SAreaLine_1q484_gg_",
|
|
30
|
+
"--duration": "--duration_1q484",
|
|
31
|
+
"__SNull": "___SNull_1q484_gg_",
|
|
32
|
+
"_hide": "__hide_1q484_gg_"
|
|
33
33
|
});
|
|
34
34
|
import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolateValue, eventToPoint, invert } from './utils';
|
|
35
35
|
var AreaRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Axis.js
CHANGED
|
@@ -11,23 +11,23 @@ import { Component, sstyled } from '@semcore/core';
|
|
|
11
11
|
import React, { useState, useEffect } from 'react';
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
/*!__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
14
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
14
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAxis_vyvv7_gg_{stroke:var(--intergalactic-chart-grid-x-axis, rgb(214, 216, 215))}.___SAxis_vyvv7_gg_.__hide_vyvv7_gg_,.___STick_vyvv7_gg_.__hide_vyvv7_gg_{display:none}.___STick_vyvv7_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583))}@supports (color:color(display-p3 0 0 0%)){.___STick_vyvv7_gg_{fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STick_vyvv7_gg_{fill:var(--intergalactic-chart-grid-text-label, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SGrid_vyvv7_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, rgba(0, 21, 16, 0.07))}@supports (color:color(display-p3 0 0 0%)){.___SGrid_vyvv7_gg_{stroke:var(--intergalactic-border-secondary, rgba(0, 21, 16, 0.07))}@media (color-gamut:p3){.___SGrid_vyvv7_gg_{stroke:var(--intergalactic-border-secondary, color(display-p3 0.01753 0.08157 0.06372 / 0.07))}}}.___STitle_vyvv7_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, rgba(0, 3, 0, 0.583));transform-origin:var(--transform-origin_vyvv7)}@supports (color:color(display-p3 0 0 0%)){.___STitle_vyvv7_gg_{fill:var(--intergalactic-text-hint, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_vyvv7_gg_{fill:var(--intergalactic-text-hint, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___STitle_vyvv7_gg_._position_top_vyvv7_gg_{text-anchor:middle}.___STitle_vyvv7_gg_._position_bottom_vyvv7_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_vyvv7_gg_._position_left_vyvv7_gg_,.___STitle_vyvv7_gg_._position_right_vyvv7_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_vyvv7_gg_._position_left_vyvv7_gg_.__verticalWritingMode_vyvv7_gg_,.___STitle_vyvv7_gg_._position_right_vyvv7_gg_.__verticalWritingMode_vyvv7_gg_{writing-mode:vertical-rl;transform:none}.___STick_vyvv7_gg_._position_top_vyvv7_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_vyvv7_gg_._position_bottom_vyvv7_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_vyvv7_gg_._position_bottom_vyvv7_gg_ tspan{dominant-baseline:hanging}.___STick_vyvv7_gg_._position_right_vyvv7_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_vyvv7_gg_._position_left_vyvv7_gg_ tspan,.___STick_vyvv7_gg_._position_right_vyvv7_gg_ tspan{dominant-baseline:middle}.___STick_vyvv7_gg_._position_left_vyvv7_gg_.__multiline_vyvv7_gg_,.___STick_vyvv7_gg_._position_left_vyvv7_gg_.__multiline_vyvv7_gg_ tspan,.___STick_vyvv7_gg_._position_right_vyvv7_gg_.__multiline_vyvv7_gg_,.___STick_vyvv7_gg_._position_right_vyvv7_gg_.__multiline_vyvv7_gg_ tspan{dominant-baseline:auto}.___STick_vyvv7_gg_._position_left_vyvv7_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_vyvv7_gg_._position_custom_0_vyvv7_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_vyvv7_gg_._position_custom_0_vyvv7_gg_ tspan{dominant-baseline:hanging}.___STick_vyvv7_gg_._position_custom_1_vyvv7_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_vyvv7_gg_._position_custom_1_vyvv7_gg_ tspan{dominant-baseline:middle}", /*__inner_css_end__*/"vyvv7_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SAxis": "
|
|
18
|
-
"_hide": "
|
|
19
|
-
"__STick": "
|
|
20
|
-
"__SGrid": "
|
|
21
|
-
"__STitle": "
|
|
22
|
-
"--transform-origin": "--transform-
|
|
23
|
-
"_position_top": "
|
|
24
|
-
"_position_bottom": "
|
|
25
|
-
"_position_right": "
|
|
26
|
-
"_position_left": "
|
|
27
|
-
"_verticalWritingMode": "
|
|
28
|
-
"_multiline": "
|
|
29
|
-
"_position_custom_0": "
|
|
30
|
-
"_position_custom_1": "
|
|
17
|
+
"__SAxis": "___SAxis_vyvv7_gg_",
|
|
18
|
+
"_hide": "__hide_vyvv7_gg_",
|
|
19
|
+
"__STick": "___STick_vyvv7_gg_",
|
|
20
|
+
"__SGrid": "___SGrid_vyvv7_gg_",
|
|
21
|
+
"__STitle": "___STitle_vyvv7_gg_",
|
|
22
|
+
"--transform-origin": "--transform-origin_vyvv7",
|
|
23
|
+
"_position_top": "_position_top_vyvv7_gg_",
|
|
24
|
+
"_position_bottom": "_position_bottom_vyvv7_gg_",
|
|
25
|
+
"_position_right": "_position_right_vyvv7_gg_",
|
|
26
|
+
"_position_left": "_position_left_vyvv7_gg_",
|
|
27
|
+
"_verticalWritingMode": "__verticalWritingMode_vyvv7_gg_",
|
|
28
|
+
"_multiline": "__multiline_vyvv7_gg_",
|
|
29
|
+
"_position_custom_0": "_position_custom_0_vyvv7_gg_",
|
|
30
|
+
"_position_custom_1": "_position_custom_1_vyvv7_gg_"
|
|
31
31
|
});
|
|
32
32
|
import { scaleOfBandwidth } from './utils';
|
|
33
33
|
var CUSTOM_0 = Symbol('custom_0');
|
package/lib/es6/Bar.js
CHANGED
|
@@ -13,24 +13,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
13
13
|
import createElement from './createElement';
|
|
14
14
|
import { PatternFill } from './Pattern';
|
|
15
15
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
16
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
16
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_ypckh_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));transition-property:height,width,y;transition-duration:var(--duration_ypckh);transition-timing-function:ease-in-out}.___SBar_ypckh_gg_.__color_ypckh_gg_{fill:var(--color_ypckh)}.___SBar_ypckh_gg_.__pattern_ypckh_gg_.__color_ypckh_gg_{fill:var(--pattern_ypckh);stroke:var(--color_ypckh);stroke-width:1px}.___SBar_ypckh_gg_.__hide_ypckh_gg_{display:none}.___SBar_ypckh_gg_.__transparent_ypckh_gg_{opacity:.3}.___SBackground_ypckh_gg_.__onClick_ypckh_gg_,.___SBar_ypckh_gg_.__onClick_ypckh_gg_{cursor:pointer}.___SBackground_ypckh_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, rgb(241, 242, 242))}.___SBarAnnotation_ypckh_gg_{display:flex;justify-content:space-between}.___SBarLabel_ypckh_gg_,.___SBarPercent_ypckh_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarLabel_ypckh_gg_{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:auto}.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));margin-right:var(--intergalactic-spacing-2x, 8px)}@supports (color:color(display-p3 0 0 0%)){.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SBarValue_ypckh_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);text-align:right}.___SCompactHorizontalBarHoverRect_ypckh_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"ypckh_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SBar": "
|
|
20
|
-
"--duration": "--
|
|
21
|
-
"_color": "
|
|
22
|
-
"--color": "--
|
|
23
|
-
"_pattern": "
|
|
24
|
-
"--pattern": "--
|
|
25
|
-
"_hide": "
|
|
26
|
-
"_transparent": "
|
|
27
|
-
"_onClick": "
|
|
28
|
-
"__SBackground": "
|
|
29
|
-
"__SBarAnnotation": "
|
|
30
|
-
"__SBarLabel": "
|
|
31
|
-
"__SBarPercent": "
|
|
32
|
-
"__SBarValue": "
|
|
33
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
19
|
+
"__SBar": "___SBar_ypckh_gg_",
|
|
20
|
+
"--duration": "--duration_ypckh",
|
|
21
|
+
"_color": "__color_ypckh_gg_",
|
|
22
|
+
"--color": "--color_ypckh",
|
|
23
|
+
"_pattern": "__pattern_ypckh_gg_",
|
|
24
|
+
"--pattern": "--pattern_ypckh",
|
|
25
|
+
"_hide": "__hide_ypckh_gg_",
|
|
26
|
+
"_transparent": "__transparent_ypckh_gg_",
|
|
27
|
+
"_onClick": "__onClick_ypckh_gg_",
|
|
28
|
+
"__SBackground": "___SBackground_ypckh_gg_",
|
|
29
|
+
"__SBarAnnotation": "___SBarAnnotation_ypckh_gg_",
|
|
30
|
+
"__SBarLabel": "___SBarLabel_ypckh_gg_",
|
|
31
|
+
"__SBarPercent": "___SBarPercent_ypckh_gg_",
|
|
32
|
+
"__SBarValue": "___SBarValue_ypckh_gg_",
|
|
33
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_ypckh_gg_"
|
|
34
34
|
});
|
|
35
35
|
import { scaleToBand, roundedPath } from './utils';
|
|
36
36
|
export var MIN_HEIGHT = 2;
|
package/lib/es6/Bubble.js
CHANGED
|
@@ -17,22 +17,22 @@ import { SvgElement } from './component/SvgElement';
|
|
|
17
17
|
import createElement from './createElement';
|
|
18
18
|
import { PatternFill } from './Pattern';
|
|
19
19
|
/*!__reshadow-styles__:"./style/bubble.shadow.css"*/
|
|
20
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBubble_1e4ew_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));stroke:var(--intergalactic-chart-grid-border, #fff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_1e4ew);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1e4ew_gg_:hover{opacity:.8}}g._visible_false_1e4ew_gg_{display:none}.___SBubble_1e4ew_gg_.__clickable_1e4ew_gg_{cursor:pointer}.___SBubble_1e4ew_gg_.__color_1e4ew_gg_{fill:var(--color_1e4ew)}.___SBubble_1e4ew_gg_.__pattern_1e4ew_gg_.__color_1e4ew_gg_{fill:var(--pattern_1e4ew);stroke:var(--color_1e4ew);stroke-width:1px}.___SBubble_1e4ew_gg_.__transparent_1e4ew_gg_{opacity:.3}.___SCenter_1e4ew_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219))}.___SCenter_1e4ew_gg_.__color_1e4ew_gg_{stroke:var(--color_1e4ew)}.___SCenter_1e4ew_gg_.__transparent_1e4ew_gg_{opacity:.3}.___SLabel_1e4ew_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219))}.___SLabel_1e4ew_gg_._position_right_1e4ew_gg_{text-anchor:end}.___SLabel_1e4ew_gg_._position_left_1e4ew_gg_{text-anchor:start}.___SLabel_1e4ew_gg_.__color_1e4ew_gg_{fill:var(--color_1e4ew)}.___SLabel_1e4ew_gg_.__transparent_1e4ew_gg_{opacity:.3}", /*__inner_css_end__*/"1e4ew_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"_visible_false": "
|
|
24
|
-
"__SBubble": "
|
|
25
|
-
"_clickable": "
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_pattern": "
|
|
29
|
-
"--pattern": "--
|
|
30
|
-
"_transparent": "
|
|
31
|
-
"__SCenter": "
|
|
32
|
-
"__SLabel": "
|
|
33
|
-
"_position_right": "
|
|
34
|
-
"_position_left": "
|
|
35
|
-
"--duration": "--
|
|
23
|
+
"_visible_false": "_visible_false_1e4ew_gg_",
|
|
24
|
+
"__SBubble": "___SBubble_1e4ew_gg_",
|
|
25
|
+
"_clickable": "__clickable_1e4ew_gg_",
|
|
26
|
+
"_color": "__color_1e4ew_gg_",
|
|
27
|
+
"--color": "--color_1e4ew",
|
|
28
|
+
"_pattern": "__pattern_1e4ew_gg_",
|
|
29
|
+
"--pattern": "--pattern_1e4ew",
|
|
30
|
+
"_transparent": "__transparent_1e4ew_gg_",
|
|
31
|
+
"__SCenter": "___SCenter_1e4ew_gg_",
|
|
32
|
+
"__SLabel": "___SLabel_1e4ew_gg_",
|
|
33
|
+
"_position_right": "_position_right_1e4ew_gg_",
|
|
34
|
+
"_position_left": "_position_left_1e4ew_gg_",
|
|
35
|
+
"--duration": "--duration_1e4ew"
|
|
36
36
|
});
|
|
37
37
|
import Tooltip from './Tooltip';
|
|
38
38
|
import { getBubbleChartValueScale, measureText } from './utils';
|
|
@@ -22,24 +22,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
22
22
|
import createElement from './createElement';
|
|
23
23
|
import { PatternFill } from './Pattern';
|
|
24
24
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
25
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
25
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_ypckh_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));transition-property:height,width,y;transition-duration:var(--duration_ypckh);transition-timing-function:ease-in-out}.___SBar_ypckh_gg_.__color_ypckh_gg_{fill:var(--color_ypckh)}.___SBar_ypckh_gg_.__pattern_ypckh_gg_.__color_ypckh_gg_{fill:var(--pattern_ypckh);stroke:var(--color_ypckh);stroke-width:1px}.___SBar_ypckh_gg_.__hide_ypckh_gg_{display:none}.___SBar_ypckh_gg_.__transparent_ypckh_gg_{opacity:.3}.___SBackground_ypckh_gg_.__onClick_ypckh_gg_,.___SBar_ypckh_gg_.__onClick_ypckh_gg_{cursor:pointer}.___SBackground_ypckh_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, rgb(241, 242, 242))}.___SBarAnnotation_ypckh_gg_{display:flex;justify-content:space-between}.___SBarLabel_ypckh_gg_,.___SBarPercent_ypckh_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarLabel_ypckh_gg_{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:auto}.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));margin-right:var(--intergalactic-spacing-2x, 8px)}@supports (color:color(display-p3 0 0 0%)){.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SBarValue_ypckh_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);text-align:right}.___SCompactHorizontalBarHoverRect_ypckh_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"ypckh_gg_"),
|
|
26
26
|
/*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__SBar": "
|
|
29
|
-
"--duration": "--
|
|
30
|
-
"_color": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_pattern": "
|
|
33
|
-
"--pattern": "--
|
|
34
|
-
"_hide": "
|
|
35
|
-
"_transparent": "
|
|
36
|
-
"_onClick": "
|
|
37
|
-
"__SBackground": "
|
|
38
|
-
"__SBarAnnotation": "
|
|
39
|
-
"__SBarLabel": "
|
|
40
|
-
"__SBarPercent": "
|
|
41
|
-
"__SBarValue": "
|
|
42
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
28
|
+
"__SBar": "___SBar_ypckh_gg_",
|
|
29
|
+
"--duration": "--duration_ypckh",
|
|
30
|
+
"_color": "__color_ypckh_gg_",
|
|
31
|
+
"--color": "--color_ypckh",
|
|
32
|
+
"_pattern": "__pattern_ypckh_gg_",
|
|
33
|
+
"--pattern": "--pattern_ypckh",
|
|
34
|
+
"_hide": "__hide_ypckh_gg_",
|
|
35
|
+
"_transparent": "__transparent_ypckh_gg_",
|
|
36
|
+
"_onClick": "__onClick_ypckh_gg_",
|
|
37
|
+
"__SBackground": "___SBackground_ypckh_gg_",
|
|
38
|
+
"__SBarAnnotation": "___SBarAnnotation_ypckh_gg_",
|
|
39
|
+
"__SBarLabel": "___SBarLabel_ypckh_gg_",
|
|
40
|
+
"__SBarPercent": "___SBarPercent_ypckh_gg_",
|
|
41
|
+
"__SBarValue": "___SBarValue_ypckh_gg_",
|
|
42
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_ypckh_gg_"
|
|
43
43
|
});
|
|
44
44
|
import Tooltip from './Tooltip';
|
|
45
45
|
import { roundedPath, scaleToBand, eventToPoint } from './utils';
|
package/lib/es6/Donut.js
CHANGED
|
@@ -21,17 +21,17 @@ import React from 'react';
|
|
|
21
21
|
import createElement from './createElement';
|
|
22
22
|
import { PatternFill } from './Pattern';
|
|
23
23
|
/*!__reshadow-styles__:"./style/donut.shadow.css"*/
|
|
24
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
24
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPie_1q03a_gg_{stroke:var(--intergalactic-chart-grid-border, #fff);fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219))}.___SPie_1q03a_gg_.__color_1q03a_gg_{fill:var(--color_1q03a)}.___SPie_1q03a_gg_.__pattern_1q03a_gg_.__color_1q03a_gg_{fill:var(--pattern_1q03a);stroke:var(--color_1q03a);stroke-width:1px}.___SPie_1q03a_gg_.__transparent_1q03a_gg_{opacity:.3}.___SEmptyData_1q03a_gg_{fill:var(--intergalactic-chart-palette-order-null, rgb(221, 222, 222))}.___SEmptyData_1q03a_gg_.__color_1q03a_gg_{fill:var(--color_1q03a)}.___SLabel_1q03a_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}", /*__inner_css_end__*/"1q03a_gg_"),
|
|
25
25
|
/*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SPie": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SEmptyData": "
|
|
34
|
-
"__SLabel": "
|
|
27
|
+
"__SPie": "___SPie_1q03a_gg_",
|
|
28
|
+
"_color": "__color_1q03a_gg_",
|
|
29
|
+
"--color": "--color_1q03a",
|
|
30
|
+
"_pattern": "__pattern_1q03a_gg_",
|
|
31
|
+
"--pattern": "--pattern_1q03a",
|
|
32
|
+
"_transparent": "__transparent_1q03a_gg_",
|
|
33
|
+
"__SEmptyData": "___SEmptyData_1q03a_gg_",
|
|
34
|
+
"__SLabel": "___SLabel_1q03a_gg_"
|
|
35
35
|
});
|
|
36
36
|
import Tooltip from './Tooltip';
|
|
37
37
|
import { getChartDefaultColorName } from './utils';
|
package/lib/es6/Dots.js
CHANGED
|
@@ -7,16 +7,16 @@ import React from 'react';
|
|
|
7
7
|
import createElement from './createElement';
|
|
8
8
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
9
9
|
/*!__reshadow-styles__:"./style/dot.shadow.css"*/
|
|
10
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
10
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SDots_1k634_gg_ .___SDot_1k634_gg_{transition-duration:var(--duration_1k634)}.___SDot_1k634_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #fff);fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_1k634_gg_.__hide_1k634_gg_{display:none}.___SDot_1k634_gg_.__color_1k634_gg_{fill:var(--color_1k634)}.___SDot_1k634_gg_.__transparent_1k634_gg_{opacity:.3}", /*__inner_css_end__*/"1k634_gg_"),
|
|
11
11
|
/*__reshadow_css_end__*/
|
|
12
12
|
{
|
|
13
|
-
"__SDot": "
|
|
14
|
-
"_hide": "
|
|
15
|
-
"_color": "
|
|
16
|
-
"--color": "--
|
|
17
|
-
"_transparent": "
|
|
18
|
-
"__SDots": "
|
|
19
|
-
"--duration": "--
|
|
13
|
+
"__SDot": "___SDot_1k634_gg_",
|
|
14
|
+
"_hide": "__hide_1k634_gg_",
|
|
15
|
+
"_color": "__color_1k634_gg_",
|
|
16
|
+
"--color": "--color_1k634",
|
|
17
|
+
"_transparent": "__transparent_1k634_gg_",
|
|
18
|
+
"__SDots": "___SDots_1k634_gg_",
|
|
19
|
+
"--duration": "--duration_1k634"
|
|
20
20
|
});
|
|
21
21
|
import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
|
|
22
22
|
function Dots(props) {
|
package/lib/es6/HorizontalBar.js
CHANGED
|
@@ -12,24 +12,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
import { PatternFill } from './Pattern';
|
|
14
14
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
15
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
15
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_ypckh_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));transition-property:height,width,y;transition-duration:var(--duration_ypckh);transition-timing-function:ease-in-out}.___SBar_ypckh_gg_.__color_ypckh_gg_{fill:var(--color_ypckh)}.___SBar_ypckh_gg_.__pattern_ypckh_gg_.__color_ypckh_gg_{fill:var(--pattern_ypckh);stroke:var(--color_ypckh);stroke-width:1px}.___SBar_ypckh_gg_.__hide_ypckh_gg_{display:none}.___SBar_ypckh_gg_.__transparent_ypckh_gg_{opacity:.3}.___SBackground_ypckh_gg_.__onClick_ypckh_gg_,.___SBar_ypckh_gg_.__onClick_ypckh_gg_{cursor:pointer}.___SBackground_ypckh_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, rgb(241, 242, 242))}.___SBarAnnotation_ypckh_gg_{display:flex;justify-content:space-between}.___SBarLabel_ypckh_gg_,.___SBarPercent_ypckh_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarLabel_ypckh_gg_{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin-right:auto}.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));margin-right:var(--intergalactic-spacing-2x, 8px)}@supports (color:color(display-p3 0 0 0%)){.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SBarPercent_ypckh_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SBarValue_ypckh_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);text-align:right}.___SCompactHorizontalBarHoverRect_ypckh_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"ypckh_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SBar": "
|
|
19
|
-
"--duration": "--
|
|
20
|
-
"_color": "
|
|
21
|
-
"--color": "--
|
|
22
|
-
"_pattern": "
|
|
23
|
-
"--pattern": "--
|
|
24
|
-
"_hide": "
|
|
25
|
-
"_transparent": "
|
|
26
|
-
"_onClick": "
|
|
27
|
-
"__SBackground": "
|
|
28
|
-
"__SBarAnnotation": "
|
|
29
|
-
"__SBarLabel": "
|
|
30
|
-
"__SBarPercent": "
|
|
31
|
-
"__SBarValue": "
|
|
32
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
18
|
+
"__SBar": "___SBar_ypckh_gg_",
|
|
19
|
+
"--duration": "--duration_ypckh",
|
|
20
|
+
"_color": "__color_ypckh_gg_",
|
|
21
|
+
"--color": "--color_ypckh",
|
|
22
|
+
"_pattern": "__pattern_ypckh_gg_",
|
|
23
|
+
"--pattern": "--pattern_ypckh",
|
|
24
|
+
"_hide": "__hide_ypckh_gg_",
|
|
25
|
+
"_transparent": "__transparent_ypckh_gg_",
|
|
26
|
+
"_onClick": "__onClick_ypckh_gg_",
|
|
27
|
+
"__SBackground": "___SBackground_ypckh_gg_",
|
|
28
|
+
"__SBarAnnotation": "___SBarAnnotation_ypckh_gg_",
|
|
29
|
+
"__SBarLabel": "___SBarLabel_ypckh_gg_",
|
|
30
|
+
"__SBarPercent": "___SBarPercent_ypckh_gg_",
|
|
31
|
+
"__SBarValue": "___SBarValue_ypckh_gg_",
|
|
32
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_ypckh_gg_"
|
|
33
33
|
});
|
|
34
34
|
import { scaleToBand, roundedPath } from './utils';
|
|
35
35
|
export var MIN_WIDTH = 2;
|
package/lib/es6/Hover.js
CHANGED
|
@@ -15,11 +15,11 @@ import trottle from '@semcore/core/lib/utils/rafTrottle';
|
|
|
15
15
|
import React from 'react';
|
|
16
16
|
import createElement from './createElement';
|
|
17
17
|
/*!__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
18
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
18
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SHoverLine_1m0wx_gg_,.___SHoverLine_1m0wx_gg_:focus-visible{outline:0;stroke:var(--intergalactic-chart-grid-x-axis, rgb(214, 216, 215))}.___SHoverRect_1m0wx_gg_,.___SHoverRect_1m0wx_gg_:focus-visible{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"1m0wx_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SHoverLine": "
|
|
22
|
-
"__SHoverRect": "
|
|
21
|
+
"__SHoverLine": "___SHoverLine_1m0wx_gg_",
|
|
22
|
+
"__SHoverRect": "___SHoverRect_1m0wx_gg_"
|
|
23
23
|
});
|
|
24
24
|
import Tooltip from './Tooltip';
|
|
25
25
|
import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
|
package/lib/es6/Line.js
CHANGED
|
@@ -15,17 +15,17 @@ import createElement from './createElement';
|
|
|
15
15
|
import Dots from './Dots';
|
|
16
16
|
import { resolvePatternDasharray } from './Pattern';
|
|
17
17
|
/*!__reshadow-styles__:"./style/line.shadow.css"*/
|
|
18
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
18
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLine_hc4yd_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));transition-property:d;transition-duration:var(--duration_hc4yd);transition-timing-function:ease-in-out}.___SLine_hc4yd_gg_.__color_hc4yd_gg_{stroke:var(--color_hc4yd)}.___SLine_hc4yd_gg_.__hide_hc4yd_gg_{display:none}.___SLine_hc4yd_gg_.__transparent_hc4yd_gg_{opacity:.3}.___SNull_hc4yd_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161));stroke-dasharray:4}@supports (color:color(display-p3 0 0 0%)){.___SNull_hc4yd_gg_{stroke:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SNull_hc4yd_gg_{stroke:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SNull_hc4yd_gg_.__hide_hc4yd_gg_{display:none}.___SLineArea_hc4yd_gg_{transition-property:d;transition-duration:var(--duration_hc4yd);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219))}.___SLineArea_hc4yd_gg_.__color_hc4yd_gg_{fill:var(--color_hc4yd)}", /*__inner_css_end__*/"hc4yd_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SLine": "
|
|
22
|
-
"--duration": "--
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_hide": "
|
|
26
|
-
"_transparent": "
|
|
27
|
-
"__SNull": "
|
|
28
|
-
"__SLineArea": "
|
|
21
|
+
"__SLine": "___SLine_hc4yd_gg_",
|
|
22
|
+
"--duration": "--duration_hc4yd",
|
|
23
|
+
"_color": "__color_hc4yd_gg_",
|
|
24
|
+
"--color": "--color_hc4yd",
|
|
25
|
+
"_hide": "__hide_hc4yd_gg_",
|
|
26
|
+
"_transparent": "__transparent_hc4yd_gg_",
|
|
27
|
+
"__SNull": "___SNull_hc4yd_gg_",
|
|
28
|
+
"__SLineArea": "___SLineArea_hc4yd_gg_"
|
|
29
29
|
});
|
|
30
30
|
import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolateValue, getChartDefaultColorName, eventToPoint, invert } from './utils';
|
|
31
31
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Plot.js
CHANGED
|
@@ -17,11 +17,11 @@ import React from 'react';
|
|
|
17
17
|
import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
|
|
18
18
|
import { PlotA11yModule } from './a11y/PlotA11yModule';
|
|
19
19
|
/*!__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
20
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlot_1myhv_gg_{overflow:hidden}.___SPlot_1myhv_gg_:focus{outline:0}.___SPlot_1myhv_gg_:active{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_1myhv_gg_.__keyboardFocused_1myhv_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, calc(6px + 2px))}", /*__inner_css_end__*/"1myhv_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SPlot": "
|
|
24
|
-
"_keyboardFocused": "
|
|
23
|
+
"__SPlot": "___SPlot_1myhv_gg_",
|
|
24
|
+
"_keyboardFocused": "__keyboardFocused_1myhv_gg_"
|
|
25
25
|
});
|
|
26
26
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
27
27
|
import { eventToPoint, uniqueId } from './utils';
|
package/lib/es6/Radar.js
CHANGED
|
@@ -19,27 +19,27 @@ import React, { cloneElement } from 'react';
|
|
|
19
19
|
import createElement from './createElement';
|
|
20
20
|
import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
21
21
|
/*!__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
22
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
22
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAxisLine_w2sou_gg_,.___SAxisTick_w2sou_gg_,.___SAxis_w2sou_gg_{stroke:var(--intergalactic-chart-grid-line, rgb(237, 239, 238));stroke-width:1;fill:transparent}.___SAxisLine_w2sou_gg_,.___SAxisTick_w2sou_gg_{stroke-dasharray:2}.___SAxisLine_w2sou_gg_.__active_w2sou_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, rgb(214, 216, 215))}.___SAxisLabel_w2sou_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_w2sou_gg_.__xDirection_w2sou_gg_{text-anchor:var(--xDirection_w2sou)}.___SAxisLabel_w2sou_gg_.__yDirection_w2sou_gg_{dominant-baseline:var(--yDirection_w2sou)}.___SPolygonDot_w2sou_gg_,.___SPolygon_w2sou_gg_{fill:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219))}.___SPolygon_w2sou_gg_{opacity:.2}.___SPolygon_w2sou_gg_.__color_w2sou_gg_{fill:var(--color_w2sou)}.___SPolygon_w2sou_gg_.__pattern_w2sou_gg_.__color_w2sou_gg_{fill:var(--pattern_w2sou);stroke:var(--color_w2sou);stroke-width:1px}.___SPolygonDot_w2sou_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #fff);r:6px}.___SPolygonDot_w2sou_gg_.__transparent_w2sou_gg_{opacity:.3}.___SPolygonDot_w2sou_gg_.__color_w2sou_gg_{fill:var(--color_w2sou)}.___SPolygonLine_w2sou_gg_{stroke:var(--intergalactic-chart-palette-order-1, rgb(102, 107, 219));stroke-width:3;fill:transparent}.___SPolygonLine_w2sou_gg_.__transparent_w2sou_gg_{opacity:.3}.___SPolygonLine_w2sou_gg_.__color_w2sou_gg_{stroke:var(--color_w2sou)}.___SPieRect_w2sou_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(0, 22, 16, 0.028))}", /*__inner_css_end__*/"w2sou_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SAxis": "
|
|
26
|
-
"__SAxisLine": "
|
|
27
|
-
"__SAxisTick": "
|
|
28
|
-
"_active": "
|
|
29
|
-
"__SAxisLabel": "
|
|
30
|
-
"_xDirection": "
|
|
31
|
-
"--xDirection": "--
|
|
32
|
-
"_yDirection": "
|
|
33
|
-
"--yDirection": "--
|
|
34
|
-
"__SPolygon": "
|
|
35
|
-
"_color": "
|
|
36
|
-
"--color": "--
|
|
37
|
-
"_pattern": "
|
|
38
|
-
"--pattern": "--
|
|
39
|
-
"__SPolygonDot": "
|
|
40
|
-
"_transparent": "
|
|
41
|
-
"__SPolygonLine": "
|
|
42
|
-
"__SPieRect": "
|
|
25
|
+
"__SAxis": "___SAxis_w2sou_gg_",
|
|
26
|
+
"__SAxisLine": "___SAxisLine_w2sou_gg_",
|
|
27
|
+
"__SAxisTick": "___SAxisTick_w2sou_gg_",
|
|
28
|
+
"_active": "__active_w2sou_gg_",
|
|
29
|
+
"__SAxisLabel": "___SAxisLabel_w2sou_gg_",
|
|
30
|
+
"_xDirection": "__xDirection_w2sou_gg_",
|
|
31
|
+
"--xDirection": "--xDirection_w2sou",
|
|
32
|
+
"_yDirection": "__yDirection_w2sou_gg_",
|
|
33
|
+
"--yDirection": "--yDirection_w2sou",
|
|
34
|
+
"__SPolygon": "___SPolygon_w2sou_gg_",
|
|
35
|
+
"_color": "__color_w2sou_gg_",
|
|
36
|
+
"--color": "--color_w2sou",
|
|
37
|
+
"_pattern": "__pattern_w2sou_gg_",
|
|
38
|
+
"--pattern": "--pattern_w2sou",
|
|
39
|
+
"__SPolygonDot": "___SPolygonDot_w2sou_gg_",
|
|
40
|
+
"_transparent": "__transparent_w2sou_gg_",
|
|
41
|
+
"__SPolygonLine": "___SPolygonLine_w2sou_gg_",
|
|
42
|
+
"__SPieRect": "___SPieRect_w2sou_gg_"
|
|
43
43
|
});
|
|
44
44
|
import Tooltip from './Tooltip';
|
|
45
45
|
import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
package/lib/es6/RadialTree.js
CHANGED
|
@@ -19,20 +19,20 @@ import React from 'react';
|
|
|
19
19
|
import createElement from './createElement';
|
|
20
20
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
21
21
|
/*!__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
22
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
22
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SRadian_5ss1o_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, rgb(92, 92, 196))}.___SLine_5ss1o_gg_{stroke:var(--intergalactic-text-large-info, rgb(92, 92, 196))}.___SLine_5ss1o_gg_.__stroke_5ss1o_gg_{stroke:var(--stroke_5ss1o)}.___SLine_5ss1o_gg_.__transparent_5ss1o_gg_{opacity:.3}.___SCap_5ss1o_gg_{transition:r .1s}.___SCap_5ss1o_gg_.__pattern_5ss1o_gg_{stroke:var(--intergalactic-chart-grid-border, #fff);stroke-width:1px}.___SCap_5ss1o_gg_.__transparent_5ss1o_gg_,.___SIcon_5ss1o_gg_.__transparent_5ss1o_gg_,.___SLabel_5ss1o_gg_.__transparent_5ss1o_gg_{opacity:.3}.___SLabel_5ss1o_gg_{fill:var(--color_5ss1o)}@media (hover:hover){.___SRadian_5ss1o_gg_:hover .___SLabel_5ss1o_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_5ss1o_gg_{transition:none}}", /*__inner_css_end__*/"5ss1o_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__SRadian": "
|
|
26
|
-
"__SLine": "
|
|
27
|
-
"_stroke": "
|
|
28
|
-
"--stroke": "--
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SCap": "
|
|
31
|
-
"_pattern": "
|
|
32
|
-
"__SIcon": "
|
|
33
|
-
"__SLabel": "
|
|
34
|
-
"--color": "--
|
|
35
|
-
"__SLineCap": "
|
|
25
|
+
"__SRadian": "___SRadian_5ss1o_gg_",
|
|
26
|
+
"__SLine": "___SLine_5ss1o_gg_",
|
|
27
|
+
"_stroke": "__stroke_5ss1o_gg_",
|
|
28
|
+
"--stroke": "--stroke_5ss1o",
|
|
29
|
+
"_transparent": "__transparent_5ss1o_gg_",
|
|
30
|
+
"__SCap": "___SCap_5ss1o_gg_",
|
|
31
|
+
"_pattern": "__pattern_5ss1o_gg_",
|
|
32
|
+
"__SIcon": "___SIcon_5ss1o_gg_",
|
|
33
|
+
"__SLabel": "___SLabel_5ss1o_gg_",
|
|
34
|
+
"--color": "--color_5ss1o",
|
|
35
|
+
"__SLineCap": "___SLineCap_5ss1o_gg_"
|
|
36
36
|
});
|
|
37
37
|
import { getChartDefaultColorName, measureText } from './utils';
|
|
38
38
|
var baseAngle = -Math.PI / 2; // The top vertical line
|
package/lib/es6/Reference.js
CHANGED
|
@@ -11,20 +11,20 @@ import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
/*!__reshadow-styles__:"./style/reference.shadow.css"*/
|
|
14
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
14
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SReferenceLine_1bbcz_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, rgb(214, 216, 215))}.___STitle_1bbcz_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583));transform-origin:var(--transform-origin_1bbcz)}@supports (color:color(display-p3 0 0 0%)){.___STitle_1bbcz_gg_{fill:var(--intergalactic-chart-grid-text-label, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___STitle_1bbcz_gg_{fill:var(--intergalactic-chart-grid-text-label, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___STitle_1bbcz_gg_._position_top_1bbcz_gg_{text-anchor:middle}.___STitle_1bbcz_gg_._position_bottom_1bbcz_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1bbcz_gg_._position_left_1bbcz_gg_,.___STitle_1bbcz_gg_._position_right_1bbcz_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_1bbcz_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgb(241, 242, 242))}.___SStripes_1bbcz_gg_{fill:var(--fill_1bbcz)}.___SStripesPatternPath_1bbcz_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgb(237, 239, 238));stroke-width:1px}", /*__inner_css_end__*/"1bbcz_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SReferenceLine": "
|
|
18
|
-
"__STitle": "
|
|
19
|
-
"--transform-origin": "--transform-
|
|
20
|
-
"_position_top": "
|
|
21
|
-
"_position_bottom": "
|
|
22
|
-
"_position_right": "
|
|
23
|
-
"_position_left": "
|
|
24
|
-
"__SBackground": "
|
|
25
|
-
"__SStripes": "
|
|
26
|
-
"--fill": "--
|
|
27
|
-
"__SStripesPatternPath": "
|
|
17
|
+
"__SReferenceLine": "___SReferenceLine_1bbcz_gg_",
|
|
18
|
+
"__STitle": "___STitle_1bbcz_gg_",
|
|
19
|
+
"--transform-origin": "--transform-origin_1bbcz",
|
|
20
|
+
"_position_top": "_position_top_1bbcz_gg_",
|
|
21
|
+
"_position_bottom": "_position_bottom_1bbcz_gg_",
|
|
22
|
+
"_position_right": "_position_right_1bbcz_gg_",
|
|
23
|
+
"_position_left": "_position_left_1bbcz_gg_",
|
|
24
|
+
"__SBackground": "___SBackground_1bbcz_gg_",
|
|
25
|
+
"__SStripes": "___SStripes_1bbcz_gg_",
|
|
26
|
+
"--fill": "--fill_1bbcz",
|
|
27
|
+
"__SStripesPatternPath": "___SStripesPatternPath_1bbcz_gg_"
|
|
28
28
|
});
|
|
29
29
|
import { scaleOfBandwidth } from './utils';
|
|
30
30
|
var side2direction = {
|