@semcore/d3-chart 16.1.3 → 16.1.4-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 +6 -0
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +14 -14
- 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/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +14 -14
- 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/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/esm/Area.mjs +12 -12
- package/lib/esm/Axis.mjs +15 -15
- 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/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +18 -18
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
- package/package.json +16 -16
package/lib/cjs/Tooltip.js
CHANGED
|
@@ -26,17 +26,17 @@ var _utils = require("./utils");
|
|
|
26
26
|
var _excluded = ["Children", "children", "tag", "forcedAdvancedMode", "onClick"];
|
|
27
27
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
28
28
|
/*!__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
|
29
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
29
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___STooltip_11lam_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_11lam_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_11lam_gg_{display:flex;align-items:center}.___SDot_11lam_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_11lam_gg_.__color_11lam_gg_{background-color:var(--color_11lam);width:8px;height:8px;border-radius:50%}.___SFooter_11lam_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}", /*__inner_css_end__*/"11lam_gg_"),
|
|
30
30
|
/*__reshadow_css_end__*/
|
|
31
31
|
{
|
|
32
|
-
"__STooltip": "
|
|
33
|
-
"__STitle": "
|
|
34
|
-
"__SDotGroup": "
|
|
35
|
-
"__SDot": "
|
|
36
|
-
"__SDotCircle": "
|
|
37
|
-
"_color": "
|
|
38
|
-
"--color": "--
|
|
39
|
-
"__SFooter": "
|
|
32
|
+
"__STooltip": "___STooltip_11lam_gg_",
|
|
33
|
+
"__STitle": "___STitle_11lam_gg_",
|
|
34
|
+
"__SDotGroup": "___SDotGroup_11lam_gg_",
|
|
35
|
+
"__SDot": "___SDot_11lam_gg_",
|
|
36
|
+
"__SDotCircle": "___SDotCircle_11lam_gg_",
|
|
37
|
+
"_color": "__color_11lam_gg_",
|
|
38
|
+
"--color": "--color_11lam",
|
|
39
|
+
"__SFooter": "___SFooter_11lam_gg_"
|
|
40
40
|
});
|
|
41
41
|
/**
|
|
42
42
|
* `TooltipDotRenderContext` is a hack to bypass problem that getDotProps doesn't work for D3 tooltip.
|
package/lib/cjs/Venn.js
CHANGED
|
@@ -27,17 +27,17 @@ var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
|
27
27
|
var _utils = require("./utils");
|
|
28
28
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
29
29
|
/*!__reshadow-styles__:"./style/venn.shadow.css"*/
|
|
30
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
30
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SCircle_p1sy8_gg_,.___SIntersection_p1sy8_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_p1sy8_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_p1sy8);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_p1sy8_gg_:hover{fill-opacity:.7}}.___SCircle_p1sy8_gg_.__color_p1sy8_gg_{fill:var(--color_p1sy8)}.___SCircle_p1sy8_gg_.__pattern_p1sy8_gg_.__color_p1sy8_gg_{fill:var(--pattern_p1sy8);fill-opacity:.7;stroke:var(--color_p1sy8);stroke-width:1px}@media (hover:hover){.___SCircle_p1sy8_gg_.__pattern_p1sy8_gg_.__color_p1sy8_gg_:hover{fill-opacity:.85}}.___SCircle_p1sy8_gg_.__transparent_p1sy8_gg_{opacity:.3}.___SIntersection_p1sy8_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_p1sy8_gg_:hover{fill-opacity:.1}}.___SIntersection_p1sy8_gg_.__transparent_p1sy8_gg_{opacity:.3}", /*__inner_css_end__*/"p1sy8_gg_"),
|
|
31
31
|
/*__reshadow_css_end__*/
|
|
32
32
|
{
|
|
33
|
-
"__SCircle": "
|
|
34
|
-
"_color": "
|
|
35
|
-
"--color": "--
|
|
36
|
-
"_transparent": "
|
|
37
|
-
"__SIntersection": "
|
|
38
|
-
"--duration": "--
|
|
39
|
-
"_pattern": "
|
|
40
|
-
"--pattern": "--
|
|
33
|
+
"__SCircle": "___SCircle_p1sy8_gg_",
|
|
34
|
+
"_color": "__color_p1sy8_gg_",
|
|
35
|
+
"--color": "--color_p1sy8",
|
|
36
|
+
"_transparent": "__transparent_p1sy8_gg_",
|
|
37
|
+
"__SIntersection": "___SIntersection_p1sy8_gg_",
|
|
38
|
+
"--duration": "--duration_p1sy8",
|
|
39
|
+
"_pattern": "__pattern_p1sy8_gg_",
|
|
40
|
+
"--pattern": "--pattern_p1sy8"
|
|
41
41
|
});
|
|
42
42
|
var VennRoot = /*#__PURE__*/function (_Component) {
|
|
43
43
|
function VennRoot() {
|
|
@@ -16,10 +16,10 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
16
16
|
var _locale = require("./locale");
|
|
17
17
|
var _intergalacticDynamicLocales = require("./translations/module/__intergalactic-dynamic-locales");
|
|
18
18
|
/*!__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
|
|
19
|
-
var styles = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
19
|
+
var styles = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SPlotA11yModule_1boxh_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1boxh_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}", /*__inner_css_end__*/"1boxh_gg_"),
|
|
20
20
|
/*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SPlotA11yModule": "
|
|
22
|
+
"__SPlotA11yModule": "___SPlotA11yModule_1boxh_gg_"
|
|
23
23
|
});
|
|
24
24
|
var globalWasFocused = false;
|
|
25
25
|
var globalNavWithKeyboard = false;
|
|
@@ -18,10 +18,10 @@ var _intl = require("./intl");
|
|
|
18
18
|
var _summarize = require("./summarize");
|
|
19
19
|
var _intergalacticDynamicLocales = require("./translations/view/__intergalactic-dynamic-locales");
|
|
20
20
|
/*!__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
|
|
21
|
-
var styles = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
21
|
+
var styles = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SPlotA11yView_q82n4_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);border:3px solid var(--intergalactic-border-primary, #c4c7cf);font-size:var(--intergalactic-fs-50, 10px);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_q82n4_gg_:focus,.___SPlotA11yView_q82n4_gg_:focus-within{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1;z-index:var(--intergalactic-z-index-overlay, 500);position:relative;display:block}.___SPlotA11yView_q82n4_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_q82n4_gg_ table,.___SPlotA11yView_q82n4_gg_ td,.___SPlotA11yView_q82n4_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}", /*__inner_css_end__*/"q82n4_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SPlotA11yView": "
|
|
24
|
+
"__SPlotA11yView": "___SPlotA11yView_q82n4_gg_"
|
|
25
25
|
});
|
|
26
26
|
var PlotA11yView = exports.PlotA11yView = function PlotA11yView(_ref3) {
|
|
27
27
|
var _ref = arguments[0],
|
|
@@ -24,12 +24,12 @@ var _BaseLegend2 = require("../BaseLegend");
|
|
|
24
24
|
var _LegendItem = require("../LegendItem/LegendItem");
|
|
25
25
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
26
26
|
/*!__reshadow-styles__:"./legend-flex.shadow.css"*/
|
|
27
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
27
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SLegendFlex_1b1n5_gg_._direction_row_1b1n5_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_1b1n5_gg_._direction_column_1b1n5_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}", /*__inner_css_end__*/"1b1n5_gg_"),
|
|
28
28
|
/*__reshadow_css_end__*/
|
|
29
29
|
{
|
|
30
|
-
"__SLegendFlex": "
|
|
31
|
-
"_direction_row": "
|
|
32
|
-
"_direction_column": "
|
|
30
|
+
"__SLegendFlex": "___SLegendFlex_1b1n5_gg_",
|
|
31
|
+
"_direction_row": "_direction_row_1b1n5_gg_",
|
|
32
|
+
"_direction_column": "_direction_column_1b1n5_gg_"
|
|
33
33
|
});
|
|
34
34
|
var LegendFlexRoot = /*#__PURE__*/function (_BaseLegend) {
|
|
35
35
|
function LegendFlexRoot() {
|
|
@@ -27,25 +27,25 @@ var _utils = require("../../../utils");
|
|
|
27
27
|
var _excluded = ["id", "checked", "color", "onChangeLegendItem", "shape"];
|
|
28
28
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
29
29
|
/*!__reshadow-styles__:"./legend-item.shadow.css"*/
|
|
30
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
30
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SLegendItem_1o3lh_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1o3lh_gg_:hover{cursor:pointer}.___SLegendItem_1o3lh_gg_.__disabled_1o3lh_gg_:hover{cursor:default}}.___SPointShape_1o3lh_gg_.__color_1o3lh_gg_{background-color:var(--color_1o3lh);margin-right:8px;flex-shrink:0}.___SPointShape_1o3lh_gg_._shape_Circle_1o3lh_gg_._size_l_1o3lh_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1o3lh_gg_._shape_Circle_1o3lh_gg_._size_m_1o3lh_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1o3lh_gg_._shape_Line_1o3lh_gg_._size_l_1o3lh_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1o3lh_gg_._shape_Line_1o3lh_gg_._size_m_1o3lh_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1o3lh_gg_._shape_Square_1o3lh_gg_._size_l_1o3lh_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1o3lh_gg_._shape_Square_1o3lh_gg_._size_m_1o3lh_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1o3lh_gg_._shape_Pattern_1o3lh_gg_{background-color:transparent;margin-right:4px}.___SIcon_1o3lh_gg_{line-height:0;margin-right:4px}.___SIcon_1o3lh_gg_._size_l_1o3lh_gg_{margin-top:4px}.___SIcon_1o3lh_gg_._size_m_1o3lh_gg_{margin-top:2px}.___SLabel_1o3lh_gg_{min-width:0}.___SAdditionalLabel_1o3lh_gg_._size_l_1o3lh_gg_,.___SCount_1o3lh_gg_._size_l_1o3lh_gg_,.___SLabel_1o3lh_gg_._size_l_1o3lh_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1o3lh_gg_._size_m_1o3lh_gg_,.___SCount_1o3lh_gg_._size_m_1o3lh_gg_,.___SLabel_1o3lh_gg_._size_m_1o3lh_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1o3lh_gg_,.___SCount_1o3lh_gg_{margin-left:4px}.___SAdditionalLabel_1o3lh_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1o3lh_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_1o3lh_gg_._size_l_1o3lh_gg_::before{margin-top:10px}.___SAdditionalLabel_1o3lh_gg_._size_m_1o3lh_gg_::before{margin-top:8px}.___SPatternSymbol_1o3lh_gg_{transform:scale(.8)}", /*__inner_css_end__*/"1o3lh_gg_"),
|
|
31
31
|
/*__reshadow_css_end__*/
|
|
32
32
|
{
|
|
33
|
-
"__SLegendItem": "
|
|
34
|
-
"_disabled": "
|
|
35
|
-
"__SPointShape": "
|
|
36
|
-
"_color": "
|
|
37
|
-
"--color": "--
|
|
38
|
-
"_shape_Circle": "
|
|
39
|
-
"_size_l": "
|
|
40
|
-
"_size_m": "
|
|
41
|
-
"_shape_Line": "
|
|
42
|
-
"_shape_Square": "
|
|
43
|
-
"_shape_Pattern": "
|
|
44
|
-
"__SIcon": "
|
|
45
|
-
"__SLabel": "
|
|
46
|
-
"__SAdditionalLabel": "
|
|
47
|
-
"__SCount": "
|
|
48
|
-
"__SPatternSymbol": "
|
|
33
|
+
"__SLegendItem": "___SLegendItem_1o3lh_gg_",
|
|
34
|
+
"_disabled": "__disabled_1o3lh_gg_",
|
|
35
|
+
"__SPointShape": "___SPointShape_1o3lh_gg_",
|
|
36
|
+
"_color": "__color_1o3lh_gg_",
|
|
37
|
+
"--color": "--color_1o3lh",
|
|
38
|
+
"_shape_Circle": "_shape_Circle_1o3lh_gg_",
|
|
39
|
+
"_size_l": "_size_l_1o3lh_gg_",
|
|
40
|
+
"_size_m": "_size_m_1o3lh_gg_",
|
|
41
|
+
"_shape_Line": "_shape_Line_1o3lh_gg_",
|
|
42
|
+
"_shape_Square": "_shape_Square_1o3lh_gg_",
|
|
43
|
+
"_shape_Pattern": "_shape_Pattern_1o3lh_gg_",
|
|
44
|
+
"__SIcon": "___SIcon_1o3lh_gg_",
|
|
45
|
+
"__SLabel": "___SLabel_1o3lh_gg_",
|
|
46
|
+
"__SAdditionalLabel": "___SAdditionalLabel_1o3lh_gg_",
|
|
47
|
+
"__SCount": "___SCount_1o3lh_gg_",
|
|
48
|
+
"__SPatternSymbol": "___SPatternSymbol_1o3lh_gg_"
|
|
49
49
|
});
|
|
50
50
|
var enhance = [(0, _resolveColorEnhance["default"])(), (0, _uniqueID["default"])()];
|
|
51
51
|
var LegendItemRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -20,14 +20,14 @@ var _BaseLegend2 = require("../BaseLegend");
|
|
|
20
20
|
var _LegendItem = require("../LegendItem/LegendItem");
|
|
21
21
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
22
22
|
/*!__reshadow-styles__:"./legend-table.shadow.css"*/
|
|
23
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
23
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SLegendTable_cnk5w_gg_.__columns-count_cnk5w_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_cnk5w_gg_._size_l_cnk5w_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_cnk5w_gg_._size_m_cnk5w_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}", /*__inner_css_end__*/"cnk5w_gg_"),
|
|
24
24
|
/*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SLegendTable": "
|
|
27
|
-
"_columns-count": "__columns-
|
|
28
|
-
"__SColumnItem": "
|
|
29
|
-
"_size_l": "
|
|
30
|
-
"_size_m": "
|
|
26
|
+
"__SLegendTable": "___SLegendTable_cnk5w_gg_",
|
|
27
|
+
"_columns-count": "__columns-count_cnk5w_gg_",
|
|
28
|
+
"__SColumnItem": "___SColumnItem_cnk5w_gg_",
|
|
29
|
+
"_size_l": "_size_l_cnk5w_gg_",
|
|
30
|
+
"_size_m": "_size_m_cnk5w_gg_"
|
|
31
31
|
});
|
|
32
32
|
var LegendTableRoot = /*#__PURE__*/function (_BaseLegend) {
|
|
33
33
|
function LegendTableRoot() {
|
package/lib/es6/Area.js
CHANGED
|
@@ -20,19 +20,19 @@ import createElement from './createElement';
|
|
|
20
20
|
import Dots from './Dots';
|
|
21
21
|
import { PatternFill } from './Pattern';
|
|
22
22
|
/*!__reshadow-styles__:"./style/area.shadow.css"*/
|
|
23
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
23
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SArea_1i8rp_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_1i8rp_gg_.__color_1i8rp_gg_{fill:var(--color_1i8rp)}.___SArea_1i8rp_gg_.__pattern_1i8rp_gg_{fill:var(--pattern_1i8rp);fill-opacity:.7}.___SArea_1i8rp_gg_.__transparent_1i8rp_gg_{opacity:.3}.___SAreaLine_1i8rp_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1i8rp_gg_.__color_1i8rp_gg_{stroke:var(--color_1i8rp)}.___SAreaLine_1i8rp_gg_.__transparent_1i8rp_gg_{opacity:.3}.___SAreaLine_1i8rp_gg_,.___SArea_1i8rp_gg_{transition-property:d;transition-duration:var(--duration_1i8rp);transition-timing-function:ease-in-out}.___SNull_1i8rp_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_1i8rp_gg_.__hide_1i8rp_gg_{display:none}", /*__inner_css_end__*/"1i8rp_gg_"),
|
|
24
24
|
/*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SArea": "
|
|
27
|
-
"_color": "
|
|
28
|
-
"--color": "--
|
|
29
|
-
"_pattern": "
|
|
30
|
-
"--pattern": "--
|
|
31
|
-
"_transparent": "
|
|
32
|
-
"__SAreaLine": "
|
|
33
|
-
"--duration": "--
|
|
34
|
-
"__SNull": "
|
|
35
|
-
"_hide": "
|
|
26
|
+
"__SArea": "___SArea_1i8rp_gg_",
|
|
27
|
+
"_color": "__color_1i8rp_gg_",
|
|
28
|
+
"--color": "--color_1i8rp",
|
|
29
|
+
"_pattern": "__pattern_1i8rp_gg_",
|
|
30
|
+
"--pattern": "--pattern_1i8rp",
|
|
31
|
+
"_transparent": "__transparent_1i8rp_gg_",
|
|
32
|
+
"__SAreaLine": "___SAreaLine_1i8rp_gg_",
|
|
33
|
+
"--duration": "--duration_1i8rp",
|
|
34
|
+
"__SNull": "___SNull_1i8rp_gg_",
|
|
35
|
+
"_hide": "__hide_1i8rp_gg_"
|
|
36
36
|
});
|
|
37
37
|
import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolateValue, eventToPoint, invert } from './utils';
|
|
38
38
|
var AreaRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Axis.js
CHANGED
|
@@ -13,22 +13,22 @@ import { Component, sstyled } from '@semcore/core';
|
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import createElement from './createElement';
|
|
15
15
|
/*!__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
16
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
16
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAxis_bw55s_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_bw55s_gg_.__hide_bw55s_gg_,.___STick_bw55s_gg_.__hide_bw55s_gg_{display:none}.___STick_bw55s_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_bw55s_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_bw55s_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_bw55s)}.___STitle_bw55s_gg_._position_top_bw55s_gg_{text-anchor:middle}.___STitle_bw55s_gg_._position_bottom_bw55s_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_bw55s_gg_._position_left_bw55s_gg_,.___STitle_bw55s_gg_._position_right_bw55s_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_bw55s_gg_._position_left_bw55s_gg_.__verticalWritingMode_bw55s_gg_,.___STitle_bw55s_gg_._position_right_bw55s_gg_.__verticalWritingMode_bw55s_gg_{writing-mode:vertical-rl;transform:none}.___STick_bw55s_gg_._position_top_bw55s_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_bw55s_gg_._position_bottom_bw55s_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_bw55s_gg_._position_right_bw55s_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_bw55s_gg_._position_left_bw55s_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_bw55s_gg_._position_custom_0_bw55s_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_bw55s_gg_._position_custom_1_bw55s_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}", /*__inner_css_end__*/"bw55s_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SAxis": "
|
|
20
|
-
"_hide": "
|
|
21
|
-
"__STick": "
|
|
22
|
-
"__SGrid": "
|
|
23
|
-
"__STitle": "
|
|
24
|
-
"--transform-origin": "--transform-
|
|
25
|
-
"_position_top": "
|
|
26
|
-
"_position_bottom": "
|
|
27
|
-
"_position_right": "
|
|
28
|
-
"_position_left": "
|
|
29
|
-
"_verticalWritingMode": "
|
|
30
|
-
"_position_custom_0": "
|
|
31
|
-
"_position_custom_1": "
|
|
19
|
+
"__SAxis": "___SAxis_bw55s_gg_",
|
|
20
|
+
"_hide": "__hide_bw55s_gg_",
|
|
21
|
+
"__STick": "___STick_bw55s_gg_",
|
|
22
|
+
"__SGrid": "___SGrid_bw55s_gg_",
|
|
23
|
+
"__STitle": "___STitle_bw55s_gg_",
|
|
24
|
+
"--transform-origin": "--transform-origin_bw55s",
|
|
25
|
+
"_position_top": "_position_top_bw55s_gg_",
|
|
26
|
+
"_position_bottom": "_position_bottom_bw55s_gg_",
|
|
27
|
+
"_position_right": "_position_right_bw55s_gg_",
|
|
28
|
+
"_position_left": "_position_left_bw55s_gg_",
|
|
29
|
+
"_verticalWritingMode": "__verticalWritingMode_bw55s_gg_",
|
|
30
|
+
"_position_custom_0": "_position_custom_0_bw55s_gg_",
|
|
31
|
+
"_position_custom_1": "_position_custom_1_bw55s_gg_"
|
|
32
32
|
});
|
|
33
33
|
import { scaleOfBandwidth } from './utils';
|
|
34
34
|
var CUSTOM_0 = Symbol('custom_0');
|
package/lib/es6/Bar.js
CHANGED
|
@@ -16,24 +16,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
16
16
|
import createElement from './createElement';
|
|
17
17
|
import { PatternFill } from './Pattern';
|
|
18
18
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
19
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
19
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_1bx3c_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1bx3c);transition-timing-function:ease-in-out}.___SBar_1bx3c_gg_.__color_1bx3c_gg_{fill:var(--color_1bx3c)}.___SBar_1bx3c_gg_.__pattern_1bx3c_gg_.__color_1bx3c_gg_{fill:var(--pattern_1bx3c);stroke:var(--color_1bx3c);stroke-width:1px}.___SBar_1bx3c_gg_.__hide_1bx3c_gg_{display:none}.___SBar_1bx3c_gg_.__transparent_1bx3c_gg_{opacity:.3}.___SBackground_1bx3c_gg_.__onClick_1bx3c_gg_,.___SBar_1bx3c_gg_.__onClick_1bx3c_gg_{cursor:pointer}.___SBackground_1bx3c_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1bx3c_gg_{display:flex;justify-content:space-between}.___SBarLabel_1bx3c_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1bx3c_gg_,.___SBarPercent_1bx3c_gg_,.___SBarValue_1bx3c_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1bx3c_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1bx3c_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1bx3c_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1bx3c_gg_"),
|
|
20
20
|
/*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SBar": "
|
|
23
|
-
"--duration": "--
|
|
24
|
-
"_color": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"_pattern": "
|
|
27
|
-
"--pattern": "--
|
|
28
|
-
"_hide": "
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"_onClick": "
|
|
31
|
-
"__SBackground": "
|
|
32
|
-
"__SBarAnnotation": "
|
|
33
|
-
"__SBarLabel": "
|
|
34
|
-
"__SBarPercent": "
|
|
35
|
-
"__SBarValue": "
|
|
36
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
22
|
+
"__SBar": "___SBar_1bx3c_gg_",
|
|
23
|
+
"--duration": "--duration_1bx3c",
|
|
24
|
+
"_color": "__color_1bx3c_gg_",
|
|
25
|
+
"--color": "--color_1bx3c",
|
|
26
|
+
"_pattern": "__pattern_1bx3c_gg_",
|
|
27
|
+
"--pattern": "--pattern_1bx3c",
|
|
28
|
+
"_hide": "__hide_1bx3c_gg_",
|
|
29
|
+
"_transparent": "__transparent_1bx3c_gg_",
|
|
30
|
+
"_onClick": "__onClick_1bx3c_gg_",
|
|
31
|
+
"__SBackground": "___SBackground_1bx3c_gg_",
|
|
32
|
+
"__SBarAnnotation": "___SBarAnnotation_1bx3c_gg_",
|
|
33
|
+
"__SBarLabel": "___SBarLabel_1bx3c_gg_",
|
|
34
|
+
"__SBarPercent": "___SBarPercent_1bx3c_gg_",
|
|
35
|
+
"__SBarValue": "___SBarValue_1bx3c_gg_",
|
|
36
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1bx3c_gg_"
|
|
37
37
|
});
|
|
38
38
|
import { scaleToBand, roundedPath } from './utils';
|
|
39
39
|
export var MIN_HEIGHT = 2;
|
package/lib/es6/Bubble.js
CHANGED
|
@@ -19,21 +19,21 @@ import { SvgElement } from './component/SvgElement';
|
|
|
19
19
|
import createElement from './createElement';
|
|
20
20
|
import { PatternFill } from './Pattern';
|
|
21
21
|
/*!__reshadow-styles__:"./style/bubble.shadow.css"*/
|
|
22
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
22
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBubble_1dq2t_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_1dq2t);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1dq2t_gg_:hover{opacity:.8}}g._visible_false_1dq2t_gg_{display:none}.___SBubble_1dq2t_gg_.__color_1dq2t_gg_{fill:var(--color_1dq2t)}.___SBubble_1dq2t_gg_.__pattern_1dq2t_gg_.__color_1dq2t_gg_{fill:var(--pattern_1dq2t);stroke:var(--color_1dq2t);stroke-width:1px}.___SBubble_1dq2t_gg_.__transparent_1dq2t_gg_{opacity:.3}.___SCenter_1dq2t_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_1dq2t_gg_.__color_1dq2t_gg_{stroke:var(--color_1dq2t)}.___SCenter_1dq2t_gg_.__transparent_1dq2t_gg_{opacity:.3}.___SLabel_1dq2t_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_1dq2t_gg_._position_right_1dq2t_gg_{text-anchor:end}.___SLabel_1dq2t_gg_._position_left_1dq2t_gg_{text-anchor:start}.___SLabel_1dq2t_gg_.__color_1dq2t_gg_{fill:var(--color_1dq2t)}.___SLabel_1dq2t_gg_.__transparent_1dq2t_gg_{opacity:.3}", /*__inner_css_end__*/"1dq2t_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"_visible_false": "
|
|
26
|
-
"__SBubble": "
|
|
27
|
-
"_color": "
|
|
28
|
-
"--color": "--
|
|
29
|
-
"_pattern": "
|
|
30
|
-
"--pattern": "--
|
|
31
|
-
"_transparent": "
|
|
32
|
-
"__SCenter": "
|
|
33
|
-
"__SLabel": "
|
|
34
|
-
"_position_right": "
|
|
35
|
-
"_position_left": "
|
|
36
|
-
"--duration": "--
|
|
25
|
+
"_visible_false": "_visible_false_1dq2t_gg_",
|
|
26
|
+
"__SBubble": "___SBubble_1dq2t_gg_",
|
|
27
|
+
"_color": "__color_1dq2t_gg_",
|
|
28
|
+
"--color": "--color_1dq2t",
|
|
29
|
+
"_pattern": "__pattern_1dq2t_gg_",
|
|
30
|
+
"--pattern": "--pattern_1dq2t",
|
|
31
|
+
"_transparent": "__transparent_1dq2t_gg_",
|
|
32
|
+
"__SCenter": "___SCenter_1dq2t_gg_",
|
|
33
|
+
"__SLabel": "___SLabel_1dq2t_gg_",
|
|
34
|
+
"_position_right": "_position_right_1dq2t_gg_",
|
|
35
|
+
"_position_left": "_position_left_1dq2t_gg_",
|
|
36
|
+
"--duration": "--duration_1dq2t"
|
|
37
37
|
});
|
|
38
38
|
import Tooltip from './Tooltip';
|
|
39
39
|
import { getBubbleChartValueScale, measureText } from './utils';
|
|
@@ -25,24 +25,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
25
25
|
import createElement from './createElement';
|
|
26
26
|
import { PatternFill } from './Pattern';
|
|
27
27
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
28
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
28
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_1bx3c_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1bx3c);transition-timing-function:ease-in-out}.___SBar_1bx3c_gg_.__color_1bx3c_gg_{fill:var(--color_1bx3c)}.___SBar_1bx3c_gg_.__pattern_1bx3c_gg_.__color_1bx3c_gg_{fill:var(--pattern_1bx3c);stroke:var(--color_1bx3c);stroke-width:1px}.___SBar_1bx3c_gg_.__hide_1bx3c_gg_{display:none}.___SBar_1bx3c_gg_.__transparent_1bx3c_gg_{opacity:.3}.___SBackground_1bx3c_gg_.__onClick_1bx3c_gg_,.___SBar_1bx3c_gg_.__onClick_1bx3c_gg_{cursor:pointer}.___SBackground_1bx3c_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1bx3c_gg_{display:flex;justify-content:space-between}.___SBarLabel_1bx3c_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1bx3c_gg_,.___SBarPercent_1bx3c_gg_,.___SBarValue_1bx3c_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1bx3c_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1bx3c_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1bx3c_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1bx3c_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_1bx3c_gg_",
|
|
32
|
+
"--duration": "--duration_1bx3c",
|
|
33
|
+
"_color": "__color_1bx3c_gg_",
|
|
34
|
+
"--color": "--color_1bx3c",
|
|
35
|
+
"_pattern": "__pattern_1bx3c_gg_",
|
|
36
|
+
"--pattern": "--pattern_1bx3c",
|
|
37
|
+
"_hide": "__hide_1bx3c_gg_",
|
|
38
|
+
"_transparent": "__transparent_1bx3c_gg_",
|
|
39
|
+
"_onClick": "__onClick_1bx3c_gg_",
|
|
40
|
+
"__SBackground": "___SBackground_1bx3c_gg_",
|
|
41
|
+
"__SBarAnnotation": "___SBarAnnotation_1bx3c_gg_",
|
|
42
|
+
"__SBarLabel": "___SBarLabel_1bx3c_gg_",
|
|
43
|
+
"__SBarPercent": "___SBarPercent_1bx3c_gg_",
|
|
44
|
+
"__SBarValue": "___SBarValue_1bx3c_gg_",
|
|
45
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1bx3c_gg_"
|
|
46
46
|
});
|
|
47
47
|
import Tooltip from './Tooltip';
|
|
48
48
|
import { roundedPath, scaleToBand, eventToPoint } from './utils';
|
package/lib/es6/Donut.js
CHANGED
|
@@ -23,17 +23,17 @@ import React from 'react';
|
|
|
23
23
|
import createElement from './createElement';
|
|
24
24
|
import { PatternFill } from './Pattern';
|
|
25
25
|
/*!__reshadow-styles__:"./style/donut.shadow.css"*/
|
|
26
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
26
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPie_1bchg_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_1bchg_gg_.__color_1bchg_gg_{fill:var(--color_1bchg)}.___SPie_1bchg_gg_.__pattern_1bchg_gg_.__color_1bchg_gg_{fill:var(--pattern_1bchg);stroke:var(--color_1bchg);stroke-width:1px}.___SPie_1bchg_gg_.__transparent_1bchg_gg_{opacity:.3}.___SEmptyData_1bchg_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_1bchg_gg_.__color_1bchg_gg_{fill:var(--color_1bchg)}.___SLabel_1bchg_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}", /*__inner_css_end__*/"1bchg_gg_"),
|
|
27
27
|
/*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SPie": "
|
|
30
|
-
"_color": "
|
|
31
|
-
"--color": "--
|
|
32
|
-
"_pattern": "
|
|
33
|
-
"--pattern": "--
|
|
34
|
-
"_transparent": "
|
|
35
|
-
"__SEmptyData": "
|
|
36
|
-
"__SLabel": "
|
|
29
|
+
"__SPie": "___SPie_1bchg_gg_",
|
|
30
|
+
"_color": "__color_1bchg_gg_",
|
|
31
|
+
"--color": "--color_1bchg",
|
|
32
|
+
"_pattern": "__pattern_1bchg_gg_",
|
|
33
|
+
"--pattern": "--pattern_1bchg",
|
|
34
|
+
"_transparent": "__transparent_1bchg_gg_",
|
|
35
|
+
"__SEmptyData": "___SEmptyData_1bchg_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_1bchg_gg_"
|
|
37
37
|
});
|
|
38
38
|
import Tooltip from './Tooltip';
|
|
39
39
|
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_xldlv_gg_ .___SDot_xldlv_gg_{transition-duration:var(--duration_xldlv)}.___SDot_xldlv_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_xldlv_gg_.__hide_xldlv_gg_{display:none}.___SDot_xldlv_gg_.__color_xldlv_gg_{fill:var(--color_xldlv)}.___SDot_xldlv_gg_.__transparent_xldlv_gg_{opacity:.3}", /*__inner_css_end__*/"xldlv_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_xldlv_gg_",
|
|
14
|
+
"_hide": "__hide_xldlv_gg_",
|
|
15
|
+
"_color": "__color_xldlv_gg_",
|
|
16
|
+
"--color": "--color_xldlv",
|
|
17
|
+
"_transparent": "__transparent_xldlv_gg_",
|
|
18
|
+
"__SDots": "___SDots_xldlv_gg_",
|
|
19
|
+
"--duration": "--duration_xldlv"
|
|
20
20
|
});
|
|
21
21
|
import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
|
|
22
22
|
function Dots(props) {
|
package/lib/es6/HorizontalBar.js
CHANGED
|
@@ -15,24 +15,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
15
15
|
import createElement from './createElement';
|
|
16
16
|
import { PatternFill } from './Pattern';
|
|
17
17
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
18
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
18
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_1bx3c_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1bx3c);transition-timing-function:ease-in-out}.___SBar_1bx3c_gg_.__color_1bx3c_gg_{fill:var(--color_1bx3c)}.___SBar_1bx3c_gg_.__pattern_1bx3c_gg_.__color_1bx3c_gg_{fill:var(--pattern_1bx3c);stroke:var(--color_1bx3c);stroke-width:1px}.___SBar_1bx3c_gg_.__hide_1bx3c_gg_{display:none}.___SBar_1bx3c_gg_.__transparent_1bx3c_gg_{opacity:.3}.___SBackground_1bx3c_gg_.__onClick_1bx3c_gg_,.___SBar_1bx3c_gg_.__onClick_1bx3c_gg_{cursor:pointer}.___SBackground_1bx3c_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1bx3c_gg_{display:flex;justify-content:space-between}.___SBarLabel_1bx3c_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1bx3c_gg_,.___SBarPercent_1bx3c_gg_,.___SBarValue_1bx3c_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1bx3c_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1bx3c_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1bx3c_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1bx3c_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SBar": "
|
|
22
|
-
"--duration": "--
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_pattern": "
|
|
26
|
-
"--pattern": "--
|
|
27
|
-
"_hide": "
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"_onClick": "
|
|
30
|
-
"__SBackground": "
|
|
31
|
-
"__SBarAnnotation": "
|
|
32
|
-
"__SBarLabel": "
|
|
33
|
-
"__SBarPercent": "
|
|
34
|
-
"__SBarValue": "
|
|
35
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
21
|
+
"__SBar": "___SBar_1bx3c_gg_",
|
|
22
|
+
"--duration": "--duration_1bx3c",
|
|
23
|
+
"_color": "__color_1bx3c_gg_",
|
|
24
|
+
"--color": "--color_1bx3c",
|
|
25
|
+
"_pattern": "__pattern_1bx3c_gg_",
|
|
26
|
+
"--pattern": "--pattern_1bx3c",
|
|
27
|
+
"_hide": "__hide_1bx3c_gg_",
|
|
28
|
+
"_transparent": "__transparent_1bx3c_gg_",
|
|
29
|
+
"_onClick": "__onClick_1bx3c_gg_",
|
|
30
|
+
"__SBackground": "___SBackground_1bx3c_gg_",
|
|
31
|
+
"__SBarAnnotation": "___SBarAnnotation_1bx3c_gg_",
|
|
32
|
+
"__SBarLabel": "___SBarLabel_1bx3c_gg_",
|
|
33
|
+
"__SBarPercent": "___SBarPercent_1bx3c_gg_",
|
|
34
|
+
"__SBarValue": "___SBarValue_1bx3c_gg_",
|
|
35
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1bx3c_gg_"
|
|
36
36
|
});
|
|
37
37
|
import { scaleToBand, roundedPath } from './utils';
|
|
38
38
|
export var MIN_WIDTH = 2;
|
package/lib/es6/Hover.js
CHANGED
|
@@ -17,11 +17,11 @@ import trottle from '@semcore/core/lib/utils/rafTrottle';
|
|
|
17
17
|
import React from 'react';
|
|
18
18
|
import createElement from './createElement';
|
|
19
19
|
/*!__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
20
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SHoverLine_dpdcq_gg_,.___SHoverLine_dpdcq_gg_:focus-visible{outline:0;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_dpdcq_gg_,.___SHoverRect_dpdcq_gg_:focus-visible{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"dpdcq_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SHoverLine": "
|
|
24
|
-
"__SHoverRect": "
|
|
23
|
+
"__SHoverLine": "___SHoverLine_dpdcq_gg_",
|
|
24
|
+
"__SHoverRect": "___SHoverRect_dpdcq_gg_"
|
|
25
25
|
});
|
|
26
26
|
import Tooltip from './Tooltip';
|
|
27
27
|
import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
|
package/lib/es6/Line.js
CHANGED
|
@@ -18,17 +18,17 @@ import createElement from './createElement';
|
|
|
18
18
|
import Dots from './Dots';
|
|
19
19
|
import { resolvePatternDasharray } from './Pattern';
|
|
20
20
|
/*!__reshadow-styles__:"./style/line.shadow.css"*/
|
|
21
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
21
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLine_1kv8a_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_1kv8a);transition-timing-function:ease-in-out}.___SLine_1kv8a_gg_.__color_1kv8a_gg_{stroke:var(--color_1kv8a)}.___SLine_1kv8a_gg_.__hide_1kv8a_gg_{display:none}.___SLine_1kv8a_gg_.__transparent_1kv8a_gg_{opacity:.3}.___SNull_1kv8a_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_1kv8a_gg_.__hide_1kv8a_gg_{display:none}.___SLineArea_1kv8a_gg_{transition-property:d;transition-duration:var(--duration_1kv8a);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_1kv8a_gg_.__color_1kv8a_gg_{fill:var(--color_1kv8a)}", /*__inner_css_end__*/"1kv8a_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SLine": "
|
|
25
|
-
"--duration": "--
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_hide": "
|
|
29
|
-
"_transparent": "
|
|
30
|
-
"__SNull": "
|
|
31
|
-
"__SLineArea": "
|
|
24
|
+
"__SLine": "___SLine_1kv8a_gg_",
|
|
25
|
+
"--duration": "--duration_1kv8a",
|
|
26
|
+
"_color": "__color_1kv8a_gg_",
|
|
27
|
+
"--color": "--color_1kv8a",
|
|
28
|
+
"_hide": "__hide_1kv8a_gg_",
|
|
29
|
+
"_transparent": "__transparent_1kv8a_gg_",
|
|
30
|
+
"__SNull": "___SNull_1kv8a_gg_",
|
|
31
|
+
"__SLineArea": "___SLineArea_1kv8a_gg_"
|
|
32
32
|
});
|
|
33
33
|
import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolateValue, getChartDefaultColorName, eventToPoint, invert } from './utils';
|
|
34
34
|
var LineRoot = /*#__PURE__*/function (_Component) {
|