@semcore/d3-chart 16.1.4 → 16.1.5-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 +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 +12 -10
- package/lib/cjs/Dots.js.map +1 -1
- 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 +12 -10
- package/lib/es6/Dots.js.map +1 -1
- 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 +13 -11
- 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 +19 -18
package/lib/cjs/Reference.js
CHANGED
|
@@ -21,20 +21,20 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
21
21
|
var _utils = require("./utils");
|
|
22
22
|
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)); }
|
|
23
23
|
/*!__reshadow-styles__:"./style/reference.shadow.css"*/
|
|
24
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
24
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SReferenceLine_alu16_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_alu16_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_alu16)}.___STitle_alu16_gg_._position_top_alu16_gg_{text-anchor:middle}.___STitle_alu16_gg_._position_bottom_alu16_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_alu16_gg_._position_left_alu16_gg_,.___STitle_alu16_gg_._position_right_alu16_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_alu16_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_alu16_gg_{fill:var(--fill_alu16)}.___SStripesPatternPath_alu16_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}", /*__inner_css_end__*/"alu16_gg_"),
|
|
25
25
|
/*__reshadow_css_end__*/
|
|
26
26
|
{
|
|
27
|
-
"__SReferenceLine": "
|
|
28
|
-
"__STitle": "
|
|
29
|
-
"--transform-origin": "--transform-
|
|
30
|
-
"_position_top": "
|
|
31
|
-
"_position_bottom": "
|
|
32
|
-
"_position_right": "
|
|
33
|
-
"_position_left": "
|
|
34
|
-
"__SBackground": "
|
|
35
|
-
"__SStripes": "
|
|
36
|
-
"--fill": "--
|
|
37
|
-
"__SStripesPatternPath": "
|
|
27
|
+
"__SReferenceLine": "___SReferenceLine_alu16_gg_",
|
|
28
|
+
"__STitle": "___STitle_alu16_gg_",
|
|
29
|
+
"--transform-origin": "--transform-origin_alu16",
|
|
30
|
+
"_position_top": "_position_top_alu16_gg_",
|
|
31
|
+
"_position_bottom": "_position_bottom_alu16_gg_",
|
|
32
|
+
"_position_right": "_position_right_alu16_gg_",
|
|
33
|
+
"_position_left": "_position_left_alu16_gg_",
|
|
34
|
+
"__SBackground": "___SBackground_alu16_gg_",
|
|
35
|
+
"__SStripes": "___SStripes_alu16_gg_",
|
|
36
|
+
"--fill": "--fill_alu16",
|
|
37
|
+
"__SStripesPatternPath": "___SStripesPatternPath_alu16_gg_"
|
|
38
38
|
});
|
|
39
39
|
var side2direction = {
|
|
40
40
|
left: 'vertical',
|
package/lib/cjs/ScatterPlot.js
CHANGED
|
@@ -25,17 +25,17 @@ var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
|
25
25
|
var _utils = require("./utils");
|
|
26
26
|
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)); }
|
|
27
27
|
/*!__reshadow-styles__:"./style/scatterplot.shadow.css"*/
|
|
28
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
28
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SScatterPlot_1m4hi_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1m4hi);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1m4hi_gg_:hover{opacity:.8}}.___SScatterPlot_1m4hi_gg_.__color_1m4hi_gg_{fill:var(--color_1m4hi)}.___SScatterPlot_1m4hi_gg_.__pattern_1m4hi_gg_.__color_1m4hi_gg_{fill:var(--pattern_1m4hi);stroke:var(--color_1m4hi);stroke-width:1px}.___SScatterPlot_1m4hi_gg_.__transparent_1m4hi_gg_{opacity:.3}.___SValue_1m4hi_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1m4hi_gg_.__color_1m4hi_gg_{stroke:var(--color_1m4hi)}.___SValue_1m4hi_gg_.__transparent_1m4hi_gg_{opacity:.3}", /*__inner_css_end__*/"1m4hi_gg_"),
|
|
29
29
|
/*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SScatterPlot": "
|
|
32
|
-
"_color": "
|
|
33
|
-
"--color": "--
|
|
34
|
-
"_pattern": "
|
|
35
|
-
"--pattern": "--
|
|
36
|
-
"_transparent": "
|
|
37
|
-
"__SValue": "
|
|
38
|
-
"--duration": "--
|
|
31
|
+
"__SScatterPlot": "___SScatterPlot_1m4hi_gg_",
|
|
32
|
+
"_color": "__color_1m4hi_gg_",
|
|
33
|
+
"--color": "--color_1m4hi",
|
|
34
|
+
"_pattern": "__pattern_1m4hi_gg_",
|
|
35
|
+
"--pattern": "--pattern_1m4hi",
|
|
36
|
+
"_transparent": "__transparent_1m4hi_gg_",
|
|
37
|
+
"__SValue": "___SValue_1m4hi_gg_",
|
|
38
|
+
"--duration": "--duration_1m4hi"
|
|
39
39
|
});
|
|
40
40
|
var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
|
|
41
41
|
function ScatterPlotRoot() {
|
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_7b60a_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_7b60a_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_7b60a_gg_{display:flex;align-items:center}.___SDot_7b60a_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_7b60a_gg_.__color_7b60a_gg_{background-color:var(--color_7b60a);width:8px;height:8px;border-radius:50%}.___SFooter_7b60a_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__*/"7b60a_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_7b60a_gg_",
|
|
33
|
+
"__STitle": "___STitle_7b60a_gg_",
|
|
34
|
+
"__SDotGroup": "___SDotGroup_7b60a_gg_",
|
|
35
|
+
"__SDot": "___SDot_7b60a_gg_",
|
|
36
|
+
"__SDotCircle": "___SDotCircle_7b60a_gg_",
|
|
37
|
+
"_color": "__color_7b60a_gg_",
|
|
38
|
+
"--color": "--color_7b60a",
|
|
39
|
+
"__SFooter": "___SFooter_7b60a_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_50fxi_gg_,.___SIntersection_50fxi_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_50fxi_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_50fxi);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_50fxi_gg_:hover{fill-opacity:.7}}.___SCircle_50fxi_gg_.__color_50fxi_gg_{fill:var(--color_50fxi)}.___SCircle_50fxi_gg_.__pattern_50fxi_gg_.__color_50fxi_gg_{fill:var(--pattern_50fxi);fill-opacity:.7;stroke:var(--color_50fxi);stroke-width:1px}@media (hover:hover){.___SCircle_50fxi_gg_.__pattern_50fxi_gg_.__color_50fxi_gg_:hover{fill-opacity:.85}}.___SCircle_50fxi_gg_.__transparent_50fxi_gg_{opacity:.3}.___SIntersection_50fxi_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_50fxi_gg_:hover{fill-opacity:.1}}.___SIntersection_50fxi_gg_.__transparent_50fxi_gg_{opacity:.3}", /*__inner_css_end__*/"50fxi_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_50fxi_gg_",
|
|
34
|
+
"_color": "__color_50fxi_gg_",
|
|
35
|
+
"--color": "--color_50fxi",
|
|
36
|
+
"_transparent": "__transparent_50fxi_gg_",
|
|
37
|
+
"__SIntersection": "___SIntersection_50fxi_gg_",
|
|
38
|
+
"--duration": "--duration_50fxi",
|
|
39
|
+
"_pattern": "__pattern_50fxi_gg_",
|
|
40
|
+
"--pattern": "--pattern_50fxi"
|
|
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_q76l3_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_q76l3_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}", /*__inner_css_end__*/"q76l3_gg_"),
|
|
20
20
|
/*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SPlotA11yModule": "
|
|
22
|
+
"__SPlotA11yModule": "___SPlotA11yModule_q76l3_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_oqyzs_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_oqyzs_gg_:focus,.___SPlotA11yView_oqyzs_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_oqyzs_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_oqyzs_gg_ table,.___SPlotA11yView_oqyzs_gg_ td,.___SPlotA11yView_oqyzs_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}", /*__inner_css_end__*/"oqyzs_gg_"),
|
|
22
22
|
/*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SPlotA11yView": "
|
|
24
|
+
"__SPlotA11yView": "___SPlotA11yView_oqyzs_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_fmhsm_gg_._direction_row_fmhsm_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_fmhsm_gg_._direction_column_fmhsm_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}", /*__inner_css_end__*/"fmhsm_gg_"),
|
|
28
28
|
/*__reshadow_css_end__*/
|
|
29
29
|
{
|
|
30
|
-
"__SLegendFlex": "
|
|
31
|
-
"_direction_row": "
|
|
32
|
-
"_direction_column": "
|
|
30
|
+
"__SLegendFlex": "___SLegendFlex_fmhsm_gg_",
|
|
31
|
+
"_direction_row": "_direction_row_fmhsm_gg_",
|
|
32
|
+
"_direction_column": "_direction_column_fmhsm_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_14u34_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_14u34_gg_:hover{cursor:pointer}.___SLegendItem_14u34_gg_.__disabled_14u34_gg_:hover{cursor:default}}.___SPointShape_14u34_gg_.__color_14u34_gg_{background-color:var(--color_14u34);margin-right:8px;flex-shrink:0}.___SPointShape_14u34_gg_._shape_Circle_14u34_gg_._size_l_14u34_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_14u34_gg_._shape_Circle_14u34_gg_._size_m_14u34_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_14u34_gg_._shape_Line_14u34_gg_._size_l_14u34_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_14u34_gg_._shape_Line_14u34_gg_._size_m_14u34_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_14u34_gg_._shape_Square_14u34_gg_._size_l_14u34_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_14u34_gg_._shape_Square_14u34_gg_._size_m_14u34_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_14u34_gg_._shape_Pattern_14u34_gg_{background-color:transparent;margin-right:4px}.___SIcon_14u34_gg_{line-height:0;margin-right:4px}.___SIcon_14u34_gg_._size_l_14u34_gg_{margin-top:4px}.___SIcon_14u34_gg_._size_m_14u34_gg_{margin-top:2px}.___SLabel_14u34_gg_{min-width:0}.___SAdditionalLabel_14u34_gg_._size_l_14u34_gg_,.___SCount_14u34_gg_._size_l_14u34_gg_,.___SLabel_14u34_gg_._size_l_14u34_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_14u34_gg_._size_m_14u34_gg_,.___SCount_14u34_gg_._size_m_14u34_gg_,.___SLabel_14u34_gg_._size_m_14u34_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_14u34_gg_,.___SCount_14u34_gg_{margin-left:4px}.___SAdditionalLabel_14u34_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_14u34_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_14u34_gg_._size_l_14u34_gg_::before{margin-top:10px}.___SAdditionalLabel_14u34_gg_._size_m_14u34_gg_::before{margin-top:8px}.___SPatternSymbol_14u34_gg_{transform:scale(.8)}", /*__inner_css_end__*/"14u34_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_14u34_gg_",
|
|
34
|
+
"_disabled": "__disabled_14u34_gg_",
|
|
35
|
+
"__SPointShape": "___SPointShape_14u34_gg_",
|
|
36
|
+
"_color": "__color_14u34_gg_",
|
|
37
|
+
"--color": "--color_14u34",
|
|
38
|
+
"_shape_Circle": "_shape_Circle_14u34_gg_",
|
|
39
|
+
"_size_l": "_size_l_14u34_gg_",
|
|
40
|
+
"_size_m": "_size_m_14u34_gg_",
|
|
41
|
+
"_shape_Line": "_shape_Line_14u34_gg_",
|
|
42
|
+
"_shape_Square": "_shape_Square_14u34_gg_",
|
|
43
|
+
"_shape_Pattern": "_shape_Pattern_14u34_gg_",
|
|
44
|
+
"__SIcon": "___SIcon_14u34_gg_",
|
|
45
|
+
"__SLabel": "___SLabel_14u34_gg_",
|
|
46
|
+
"__SAdditionalLabel": "___SAdditionalLabel_14u34_gg_",
|
|
47
|
+
"__SCount": "___SCount_14u34_gg_",
|
|
48
|
+
"__SPatternSymbol": "___SPatternSymbol_14u34_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_ax66b_gg_.__columns-count_ax66b_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_ax66b_gg_._size_l_ax66b_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_ax66b_gg_._size_m_ax66b_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}", /*__inner_css_end__*/"ax66b_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_ax66b_gg_",
|
|
27
|
+
"_columns-count": "__columns-count_ax66b_gg_",
|
|
28
|
+
"__SColumnItem": "___SColumnItem_ax66b_gg_",
|
|
29
|
+
"_size_l": "_size_l_ax66b_gg_",
|
|
30
|
+
"_size_m": "_size_m_ax66b_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_e0yhj_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_e0yhj_gg_.__color_e0yhj_gg_{fill:var(--color_e0yhj)}.___SArea_e0yhj_gg_.__pattern_e0yhj_gg_{fill:var(--pattern_e0yhj);fill-opacity:.7}.___SArea_e0yhj_gg_.__transparent_e0yhj_gg_{opacity:.3}.___SAreaLine_e0yhj_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_e0yhj_gg_.__color_e0yhj_gg_{stroke:var(--color_e0yhj)}.___SAreaLine_e0yhj_gg_.__transparent_e0yhj_gg_{opacity:.3}.___SAreaLine_e0yhj_gg_,.___SArea_e0yhj_gg_{transition-property:d;transition-duration:var(--duration_e0yhj);transition-timing-function:ease-in-out}.___SNull_e0yhj_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_e0yhj_gg_.__hide_e0yhj_gg_{display:none}", /*__inner_css_end__*/"e0yhj_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_e0yhj_gg_",
|
|
27
|
+
"_color": "__color_e0yhj_gg_",
|
|
28
|
+
"--color": "--color_e0yhj",
|
|
29
|
+
"_pattern": "__pattern_e0yhj_gg_",
|
|
30
|
+
"--pattern": "--pattern_e0yhj",
|
|
31
|
+
"_transparent": "__transparent_e0yhj_gg_",
|
|
32
|
+
"__SAreaLine": "___SAreaLine_e0yhj_gg_",
|
|
33
|
+
"--duration": "--duration_e0yhj",
|
|
34
|
+
"__SNull": "___SNull_e0yhj_gg_",
|
|
35
|
+
"_hide": "__hide_e0yhj_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_19dgf_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_19dgf_gg_.__hide_19dgf_gg_,.___STick_19dgf_gg_.__hide_19dgf_gg_{display:none}.___STick_19dgf_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_19dgf_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_19dgf_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_19dgf)}.___STitle_19dgf_gg_._position_top_19dgf_gg_{text-anchor:middle}.___STitle_19dgf_gg_._position_bottom_19dgf_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_19dgf_gg_._position_left_19dgf_gg_,.___STitle_19dgf_gg_._position_right_19dgf_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_19dgf_gg_._position_left_19dgf_gg_.__verticalWritingMode_19dgf_gg_,.___STitle_19dgf_gg_._position_right_19dgf_gg_.__verticalWritingMode_19dgf_gg_{writing-mode:vertical-rl;transform:none}.___STick_19dgf_gg_._position_top_19dgf_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_19dgf_gg_._position_bottom_19dgf_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_19dgf_gg_._position_right_19dgf_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_19dgf_gg_._position_left_19dgf_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_19dgf_gg_._position_custom_0_19dgf_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_19dgf_gg_._position_custom_1_19dgf_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}", /*__inner_css_end__*/"19dgf_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_19dgf_gg_",
|
|
20
|
+
"_hide": "__hide_19dgf_gg_",
|
|
21
|
+
"__STick": "___STick_19dgf_gg_",
|
|
22
|
+
"__SGrid": "___SGrid_19dgf_gg_",
|
|
23
|
+
"__STitle": "___STitle_19dgf_gg_",
|
|
24
|
+
"--transform-origin": "--transform-origin_19dgf",
|
|
25
|
+
"_position_top": "_position_top_19dgf_gg_",
|
|
26
|
+
"_position_bottom": "_position_bottom_19dgf_gg_",
|
|
27
|
+
"_position_right": "_position_right_19dgf_gg_",
|
|
28
|
+
"_position_left": "_position_left_19dgf_gg_",
|
|
29
|
+
"_verticalWritingMode": "__verticalWritingMode_19dgf_gg_",
|
|
30
|
+
"_position_custom_0": "_position_custom_0_19dgf_gg_",
|
|
31
|
+
"_position_custom_1": "_position_custom_1_19dgf_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_1wa8u_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1wa8u);transition-timing-function:ease-in-out}.___SBar_1wa8u_gg_.__color_1wa8u_gg_{fill:var(--color_1wa8u)}.___SBar_1wa8u_gg_.__pattern_1wa8u_gg_.__color_1wa8u_gg_{fill:var(--pattern_1wa8u);stroke:var(--color_1wa8u);stroke-width:1px}.___SBar_1wa8u_gg_.__hide_1wa8u_gg_{display:none}.___SBar_1wa8u_gg_.__transparent_1wa8u_gg_{opacity:.3}.___SBackground_1wa8u_gg_.__onClick_1wa8u_gg_,.___SBar_1wa8u_gg_.__onClick_1wa8u_gg_{cursor:pointer}.___SBackground_1wa8u_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1wa8u_gg_{display:flex;justify-content:space-between}.___SBarLabel_1wa8u_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1wa8u_gg_,.___SBarPercent_1wa8u_gg_,.___SBarValue_1wa8u_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1wa8u_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1wa8u_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1wa8u_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1wa8u_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_1wa8u_gg_",
|
|
23
|
+
"--duration": "--duration_1wa8u",
|
|
24
|
+
"_color": "__color_1wa8u_gg_",
|
|
25
|
+
"--color": "--color_1wa8u",
|
|
26
|
+
"_pattern": "__pattern_1wa8u_gg_",
|
|
27
|
+
"--pattern": "--pattern_1wa8u",
|
|
28
|
+
"_hide": "__hide_1wa8u_gg_",
|
|
29
|
+
"_transparent": "__transparent_1wa8u_gg_",
|
|
30
|
+
"_onClick": "__onClick_1wa8u_gg_",
|
|
31
|
+
"__SBackground": "___SBackground_1wa8u_gg_",
|
|
32
|
+
"__SBarAnnotation": "___SBarAnnotation_1wa8u_gg_",
|
|
33
|
+
"__SBarLabel": "___SBarLabel_1wa8u_gg_",
|
|
34
|
+
"__SBarPercent": "___SBarPercent_1wa8u_gg_",
|
|
35
|
+
"__SBarValue": "___SBarValue_1wa8u_gg_",
|
|
36
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1wa8u_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_1elth_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_1elth);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1elth_gg_:hover{opacity:.8}}g._visible_false_1elth_gg_{display:none}.___SBubble_1elth_gg_.__color_1elth_gg_{fill:var(--color_1elth)}.___SBubble_1elth_gg_.__pattern_1elth_gg_.__color_1elth_gg_{fill:var(--pattern_1elth);stroke:var(--color_1elth);stroke-width:1px}.___SBubble_1elth_gg_.__transparent_1elth_gg_{opacity:.3}.___SCenter_1elth_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_1elth_gg_.__color_1elth_gg_{stroke:var(--color_1elth)}.___SCenter_1elth_gg_.__transparent_1elth_gg_{opacity:.3}.___SLabel_1elth_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_1elth_gg_._position_right_1elth_gg_{text-anchor:end}.___SLabel_1elth_gg_._position_left_1elth_gg_{text-anchor:start}.___SLabel_1elth_gg_.__color_1elth_gg_{fill:var(--color_1elth)}.___SLabel_1elth_gg_.__transparent_1elth_gg_{opacity:.3}", /*__inner_css_end__*/"1elth_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_1elth_gg_",
|
|
26
|
+
"__SBubble": "___SBubble_1elth_gg_",
|
|
27
|
+
"_color": "__color_1elth_gg_",
|
|
28
|
+
"--color": "--color_1elth",
|
|
29
|
+
"_pattern": "__pattern_1elth_gg_",
|
|
30
|
+
"--pattern": "--pattern_1elth",
|
|
31
|
+
"_transparent": "__transparent_1elth_gg_",
|
|
32
|
+
"__SCenter": "___SCenter_1elth_gg_",
|
|
33
|
+
"__SLabel": "___SLabel_1elth_gg_",
|
|
34
|
+
"_position_right": "_position_right_1elth_gg_",
|
|
35
|
+
"_position_left": "_position_left_1elth_gg_",
|
|
36
|
+
"--duration": "--duration_1elth"
|
|
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_1wa8u_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1wa8u);transition-timing-function:ease-in-out}.___SBar_1wa8u_gg_.__color_1wa8u_gg_{fill:var(--color_1wa8u)}.___SBar_1wa8u_gg_.__pattern_1wa8u_gg_.__color_1wa8u_gg_{fill:var(--pattern_1wa8u);stroke:var(--color_1wa8u);stroke-width:1px}.___SBar_1wa8u_gg_.__hide_1wa8u_gg_{display:none}.___SBar_1wa8u_gg_.__transparent_1wa8u_gg_{opacity:.3}.___SBackground_1wa8u_gg_.__onClick_1wa8u_gg_,.___SBar_1wa8u_gg_.__onClick_1wa8u_gg_{cursor:pointer}.___SBackground_1wa8u_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1wa8u_gg_{display:flex;justify-content:space-between}.___SBarLabel_1wa8u_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1wa8u_gg_,.___SBarPercent_1wa8u_gg_,.___SBarValue_1wa8u_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1wa8u_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1wa8u_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1wa8u_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}", /*__inner_css_end__*/"1wa8u_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_1wa8u_gg_",
|
|
32
|
+
"--duration": "--duration_1wa8u",
|
|
33
|
+
"_color": "__color_1wa8u_gg_",
|
|
34
|
+
"--color": "--color_1wa8u",
|
|
35
|
+
"_pattern": "__pattern_1wa8u_gg_",
|
|
36
|
+
"--pattern": "--pattern_1wa8u",
|
|
37
|
+
"_hide": "__hide_1wa8u_gg_",
|
|
38
|
+
"_transparent": "__transparent_1wa8u_gg_",
|
|
39
|
+
"_onClick": "__onClick_1wa8u_gg_",
|
|
40
|
+
"__SBackground": "___SBackground_1wa8u_gg_",
|
|
41
|
+
"__SBarAnnotation": "___SBarAnnotation_1wa8u_gg_",
|
|
42
|
+
"__SBarLabel": "___SBarLabel_1wa8u_gg_",
|
|
43
|
+
"__SBarPercent": "___SBarPercent_1wa8u_gg_",
|
|
44
|
+
"__SBarValue": "___SBarValue_1wa8u_gg_",
|
|
45
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1wa8u_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_157b3_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_157b3_gg_.__color_157b3_gg_{fill:var(--color_157b3)}.___SPie_157b3_gg_.__pattern_157b3_gg_.__color_157b3_gg_{fill:var(--pattern_157b3);stroke:var(--color_157b3);stroke-width:1px}.___SPie_157b3_gg_.__transparent_157b3_gg_{opacity:.3}.___SEmptyData_157b3_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_157b3_gg_.__color_157b3_gg_{fill:var(--color_157b3)}.___SLabel_157b3_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}", /*__inner_css_end__*/"157b3_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_157b3_gg_",
|
|
30
|
+
"_color": "__color_157b3_gg_",
|
|
31
|
+
"--color": "--color_157b3",
|
|
32
|
+
"_pattern": "__pattern_157b3_gg_",
|
|
33
|
+
"--pattern": "--pattern_157b3",
|
|
34
|
+
"_transparent": "__transparent_157b3_gg_",
|
|
35
|
+
"__SEmptyData": "___SEmptyData_157b3_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_157b3_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_o5xku_gg_ .___SDot_o5xku_gg_{transition-duration:var(--duration_o5xku)}.___SDot_o5xku_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_o5xku_gg_.__hide_o5xku_gg_{display:none}.___SDot_o5xku_gg_.__color_o5xku_gg_{fill:var(--color_o5xku)}.___SDot_o5xku_gg_.__transparent_o5xku_gg_{opacity:.3}", /*__inner_css_end__*/"o5xku_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_o5xku_gg_",
|
|
14
|
+
"_hide": "__hide_o5xku_gg_",
|
|
15
|
+
"_color": "__color_o5xku_gg_",
|
|
16
|
+
"--color": "--color_o5xku",
|
|
17
|
+
"_transparent": "__transparent_o5xku_gg_",
|
|
18
|
+
"__SDots": "___SDots_o5xku_gg_",
|
|
19
|
+
"--duration": "--duration_o5xku"
|
|
20
20
|
});
|
|
21
21
|
import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
|
|
22
22
|
function Dots(props) {
|
|
@@ -119,7 +119,8 @@ function Dots(props) {
|
|
|
119
119
|
"transparent": transparent,
|
|
120
120
|
"cx": d3.x()(d),
|
|
121
121
|
"cy": d3.y()(d),
|
|
122
|
-
"r": radius
|
|
122
|
+
"r": radius,
|
|
123
|
+
"__excludeProps": ['display', 'data', 'scale']
|
|
123
124
|
}))));
|
|
124
125
|
} else {
|
|
125
126
|
var _ref2;
|
|
@@ -134,7 +135,8 @@ function Dots(props) {
|
|
|
134
135
|
"radius": radius,
|
|
135
136
|
"visible": visible,
|
|
136
137
|
"active": active,
|
|
137
|
-
"hide": hide
|
|
138
|
+
"hide": hide,
|
|
139
|
+
"__excludeProps": ['display', 'data', 'scale']
|
|
138
140
|
}))));
|
|
139
141
|
}
|
|
140
142
|
return acc;
|