@semcore/d3-chart 3.51.4 → 3.51.5
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 +12 -12
- 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 +12 -12
- 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/package.json +6 -6
package/lib/cjs/Venn.js
CHANGED
|
@@ -26,15 +26,15 @@ var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
|
26
26
|
var _Pattern = require("./Pattern");
|
|
27
27
|
var _uniqueID = _interopRequireDefault(require("@semcore/utils/lib/uniqueID"));
|
|
28
28
|
/*__reshadow-styles__:"./style/venn.shadow.css"*/
|
|
29
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
30
|
-
"__SCircle": "
|
|
31
|
-
"_color": "
|
|
32
|
-
"--color": "--
|
|
33
|
-
"_transparent": "
|
|
34
|
-
"__SIntersection": "
|
|
35
|
-
"--duration": "--
|
|
36
|
-
"_pattern": "
|
|
37
|
-
"--pattern": "--
|
|
29
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SCircle_1p3wm_gg_,.___SIntersection_1p3wm_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_1p3wm_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_1p3wm);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_1p3wm_gg_:hover{fill-opacity:.7}}.___SCircle_1p3wm_gg_.__color_1p3wm_gg_{fill:var(--color_1p3wm)}.___SCircle_1p3wm_gg_.__pattern_1p3wm_gg_.__color_1p3wm_gg_{fill:var(--pattern_1p3wm);fill-opacity:.7;stroke:var(--color_1p3wm);stroke-width:1px}@media (hover:hover){.___SCircle_1p3wm_gg_.__pattern_1p3wm_gg_.__color_1p3wm_gg_:hover{fill-opacity:.85}}.___SCircle_1p3wm_gg_.__transparent_1p3wm_gg_{opacity:.3}.___SIntersection_1p3wm_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_1p3wm_gg_:hover{fill-opacity:.1}}.___SIntersection_1p3wm_gg_.__transparent_1p3wm_gg_{opacity:.3}" /*__inner_css_end__*/, "1p3wm_gg_") /*__reshadow_css_end__*/, {
|
|
30
|
+
"__SCircle": "___SCircle_1p3wm_gg_",
|
|
31
|
+
"_color": "__color_1p3wm_gg_",
|
|
32
|
+
"--color": "--color_1p3wm",
|
|
33
|
+
"_transparent": "__transparent_1p3wm_gg_",
|
|
34
|
+
"__SIntersection": "___SIntersection_1p3wm_gg_",
|
|
35
|
+
"--duration": "--duration_1p3wm",
|
|
36
|
+
"_pattern": "__pattern_1p3wm_gg_",
|
|
37
|
+
"--pattern": "--pattern_1p3wm"
|
|
38
38
|
});
|
|
39
39
|
var VennRoot = /*#__PURE__*/function (_Component) {
|
|
40
40
|
(0, _inherits2["default"])(VennRoot, _Component);
|
|
@@ -17,8 +17,8 @@ var _intergalacticDynamicLocales = require("./translations/module/__intergalacti
|
|
|
17
17
|
var _WithI18n = require("@semcore/utils/lib/enhances/WithI18n");
|
|
18
18
|
var _flexBox = require("@semcore/flex-box");
|
|
19
19
|
/*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
|
|
20
|
-
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
21
|
-
"__SPlotA11yModule": "
|
|
20
|
+
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1tc21_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1tc21_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1tc21_gg_") /*__reshadow_css_end__*/, {
|
|
21
|
+
"__SPlotA11yModule": "___SPlotA11yModule_1tc21_gg_"
|
|
22
22
|
});
|
|
23
23
|
var globalWasFocused = false;
|
|
24
24
|
var globalNavWithKeyboard = false;
|
|
@@ -19,8 +19,8 @@ var _i18nEnhance = require("@semcore/utils/lib/enhances/i18nEnhance");
|
|
|
19
19
|
var _intergalacticDynamicLocales = require("./translations/view/__intergalactic-dynamic-locales");
|
|
20
20
|
var _DataAccessibilityTable = require("./DataAccessibilityTable");
|
|
21
21
|
/*__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
|
|
22
|
-
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SPlotA11yView": "
|
|
22
|
+
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_1reot_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_1reot_gg_:focus,.___SPlotA11yView_1reot_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_1reot_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1reot_gg_ table,.___SPlotA11yView_1reot_gg_ td,.___SPlotA11yView_1reot_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1reot_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SPlotA11yView": "___SPlotA11yView_1reot_gg_"
|
|
24
24
|
});
|
|
25
25
|
var PlotA11yView = function PlotA11yView(_ref3) {
|
|
26
26
|
var _ref = arguments[0],
|
|
@@ -23,10 +23,10 @@ var _BaseLegend2 = require("../BaseLegend");
|
|
|
23
23
|
var _intergalacticDynamicLocales = require("../../../translations/__intergalactic-dynamic-locales");
|
|
24
24
|
var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i18nEnhance"));
|
|
25
25
|
/*__reshadow-styles__:"./legend-flex.shadow.css"*/
|
|
26
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
27
|
-
"__SLegendFlex": "
|
|
28
|
-
"_direction_row": "
|
|
29
|
-
"_direction_column": "
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_1sobw_gg_._direction_row_1sobw_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_1sobw_gg_._direction_column_1sobw_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "1sobw_gg_") /*__reshadow_css_end__*/, {
|
|
27
|
+
"__SLegendFlex": "___SLegendFlex_1sobw_gg_",
|
|
28
|
+
"_direction_row": "_direction_row_1sobw_gg_",
|
|
29
|
+
"_direction_column": "_direction_column_1sobw_gg_"
|
|
30
30
|
});
|
|
31
31
|
var LegendFlexRoot = /*#__PURE__*/function (_BaseLegend) {
|
|
32
32
|
(0, _inherits2["default"])(LegendFlexRoot, _BaseLegend);
|
|
@@ -25,23 +25,23 @@ var _Pattern = require("../../../Pattern");
|
|
|
25
25
|
var _utils = require("../../../utils");
|
|
26
26
|
var _excluded = ["color"];
|
|
27
27
|
/*__reshadow-styles__:"./legend-item.shadow.css"*/
|
|
28
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
29
|
-
"__SLegendItem": "
|
|
30
|
-
"_disabled": "
|
|
31
|
-
"__SPointShape": "
|
|
32
|
-
"_color": "
|
|
33
|
-
"--color": "--
|
|
34
|
-
"_shape_Circle": "
|
|
35
|
-
"_size_l": "
|
|
36
|
-
"_size_m": "
|
|
37
|
-
"_shape_Line": "
|
|
38
|
-
"_shape_Square": "
|
|
39
|
-
"_shape_Pattern": "
|
|
40
|
-
"__SIcon": "
|
|
41
|
-
"__SLabel": "
|
|
42
|
-
"__SAdditionalLabel": "
|
|
43
|
-
"__SCount": "
|
|
44
|
-
"__SPatternSymbol": "
|
|
28
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_wpx1k_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_wpx1k_gg_:hover{cursor:pointer}.___SLegendItem_wpx1k_gg_.__disabled_wpx1k_gg_:hover{cursor:default}}.___SPointShape_wpx1k_gg_.__color_wpx1k_gg_{background-color:var(--color_wpx1k);margin-right:8px;flex-shrink:0}.___SPointShape_wpx1k_gg_._shape_Circle_wpx1k_gg_._size_l_wpx1k_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_wpx1k_gg_._shape_Circle_wpx1k_gg_._size_m_wpx1k_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_wpx1k_gg_._shape_Line_wpx1k_gg_._size_l_wpx1k_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_wpx1k_gg_._shape_Line_wpx1k_gg_._size_m_wpx1k_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_wpx1k_gg_._shape_Square_wpx1k_gg_._size_l_wpx1k_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_wpx1k_gg_._shape_Square_wpx1k_gg_._size_m_wpx1k_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_wpx1k_gg_._shape_Pattern_wpx1k_gg_{background-color:transparent;margin-right:4px}.___SIcon_wpx1k_gg_{line-height:0;margin-right:4px}.___SIcon_wpx1k_gg_._size_l_wpx1k_gg_{margin-top:4px}.___SIcon_wpx1k_gg_._size_m_wpx1k_gg_{margin-top:2px}.___SLabel_wpx1k_gg_{min-width:0}.___SAdditionalLabel_wpx1k_gg_._size_l_wpx1k_gg_,.___SCount_wpx1k_gg_._size_l_wpx1k_gg_,.___SLabel_wpx1k_gg_._size_l_wpx1k_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_wpx1k_gg_._size_m_wpx1k_gg_,.___SCount_wpx1k_gg_._size_m_wpx1k_gg_,.___SLabel_wpx1k_gg_._size_m_wpx1k_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_wpx1k_gg_,.___SCount_wpx1k_gg_{margin-left:4px}.___SAdditionalLabel_wpx1k_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_wpx1k_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_wpx1k_gg_._size_l_wpx1k_gg_::before{margin-top:10px}.___SAdditionalLabel_wpx1k_gg_._size_m_wpx1k_gg_::before{margin-top:8px}.___SPatternSymbol_wpx1k_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "wpx1k_gg_") /*__reshadow_css_end__*/, {
|
|
29
|
+
"__SLegendItem": "___SLegendItem_wpx1k_gg_",
|
|
30
|
+
"_disabled": "__disabled_wpx1k_gg_",
|
|
31
|
+
"__SPointShape": "___SPointShape_wpx1k_gg_",
|
|
32
|
+
"_color": "__color_wpx1k_gg_",
|
|
33
|
+
"--color": "--color_wpx1k",
|
|
34
|
+
"_shape_Circle": "_shape_Circle_wpx1k_gg_",
|
|
35
|
+
"_size_l": "_size_l_wpx1k_gg_",
|
|
36
|
+
"_size_m": "_size_m_wpx1k_gg_",
|
|
37
|
+
"_shape_Line": "_shape_Line_wpx1k_gg_",
|
|
38
|
+
"_shape_Square": "_shape_Square_wpx1k_gg_",
|
|
39
|
+
"_shape_Pattern": "_shape_Pattern_wpx1k_gg_",
|
|
40
|
+
"__SIcon": "___SIcon_wpx1k_gg_",
|
|
41
|
+
"__SLabel": "___SLabel_wpx1k_gg_",
|
|
42
|
+
"__SAdditionalLabel": "___SAdditionalLabel_wpx1k_gg_",
|
|
43
|
+
"__SCount": "___SCount_wpx1k_gg_",
|
|
44
|
+
"__SPatternSymbol": "___SPatternSymbol_wpx1k_gg_"
|
|
45
45
|
});
|
|
46
46
|
var LegendItemRoot = /*#__PURE__*/function (_Component) {
|
|
47
47
|
(0, _inherits2["default"])(LegendItemRoot, _Component);
|
|
@@ -19,12 +19,12 @@ var _flexBox = require("@semcore/flex-box");
|
|
|
19
19
|
var _LegendItem = require("../LegendItem/LegendItem");
|
|
20
20
|
var _BaseLegend2 = require("../BaseLegend");
|
|
21
21
|
/*__reshadow-styles__:"./legend-table.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SLegendTable": "
|
|
24
|
-
"_columns-count": "__columns-
|
|
25
|
-
"__SColumnItem": "
|
|
26
|
-
"_size_l": "
|
|
27
|
-
"_size_m": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLegendTable_ob5uf_gg_.__columns-count_ob5uf_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_ob5uf_gg_._size_l_ob5uf_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_ob5uf_gg_._size_m_ob5uf_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "ob5uf_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SLegendTable": "___SLegendTable_ob5uf_gg_",
|
|
24
|
+
"_columns-count": "__columns-count_ob5uf_gg_",
|
|
25
|
+
"__SColumnItem": "___SColumnItem_ob5uf_gg_",
|
|
26
|
+
"_size_l": "_size_l_ob5uf_gg_",
|
|
27
|
+
"_size_m": "_size_m_ob5uf_gg_"
|
|
28
28
|
});
|
|
29
29
|
var LegendTableRoot = /*#__PURE__*/function (_BaseLegend) {
|
|
30
30
|
(0, _inherits2["default"])(LegendTableRoot, _BaseLegend);
|
package/lib/es6/Area.js
CHANGED
|
@@ -16,17 +16,17 @@ import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolat
|
|
|
16
16
|
import AnimatedClipPath from './AnimatedClipPath';
|
|
17
17
|
import { PatternFill } from './Pattern';
|
|
18
18
|
/*__reshadow-styles__:"./style/area.shadow.css"*/
|
|
19
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
20
|
-
"__SArea": "
|
|
21
|
-
"_color": "
|
|
22
|
-
"--color": "--
|
|
23
|
-
"_pattern": "
|
|
24
|
-
"--pattern": "--
|
|
25
|
-
"_transparent": "
|
|
26
|
-
"__SAreaLine": "
|
|
27
|
-
"--duration": "--
|
|
28
|
-
"__SNull": "
|
|
29
|
-
"_hide": "
|
|
19
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_1wlo9_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_1wlo9_gg_.__color_1wlo9_gg_{fill:var(--color_1wlo9)}.___SArea_1wlo9_gg_.__pattern_1wlo9_gg_{fill:var(--pattern_1wlo9);fill-opacity:.7}.___SArea_1wlo9_gg_.__transparent_1wlo9_gg_{opacity:.3}.___SAreaLine_1wlo9_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1wlo9_gg_.__color_1wlo9_gg_{stroke:var(--color_1wlo9)}.___SAreaLine_1wlo9_gg_.__transparent_1wlo9_gg_{opacity:.3}.___SAreaLine_1wlo9_gg_,.___SArea_1wlo9_gg_{transition-property:d;transition-duration:var(--duration_1wlo9);transition-timing-function:ease-in-out}.___SNull_1wlo9_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_1wlo9_gg_.__hide_1wlo9_gg_{display:none}" /*__inner_css_end__*/, "1wlo9_gg_") /*__reshadow_css_end__*/, {
|
|
20
|
+
"__SArea": "___SArea_1wlo9_gg_",
|
|
21
|
+
"_color": "__color_1wlo9_gg_",
|
|
22
|
+
"--color": "--color_1wlo9",
|
|
23
|
+
"_pattern": "__pattern_1wlo9_gg_",
|
|
24
|
+
"--pattern": "--pattern_1wlo9",
|
|
25
|
+
"_transparent": "__transparent_1wlo9_gg_",
|
|
26
|
+
"__SAreaLine": "___SAreaLine_1wlo9_gg_",
|
|
27
|
+
"--duration": "--duration_1wlo9",
|
|
28
|
+
"__SNull": "___SNull_1wlo9_gg_",
|
|
29
|
+
"_hide": "__hide_1wlo9_gg_"
|
|
30
30
|
});
|
|
31
31
|
var AreaRoot = /*#__PURE__*/function (_Component) {
|
|
32
32
|
_inherits(AreaRoot, _Component);
|
package/lib/es6/Axis.js
CHANGED
|
@@ -12,20 +12,20 @@ import { Component, sstyled } from '@semcore/core';
|
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
import { scaleOfBandwidth } from './utils';
|
|
14
14
|
/*__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
16
|
-
"__SAxis": "
|
|
17
|
-
"_hide": "
|
|
18
|
-
"__STick": "
|
|
19
|
-
"__SGrid": "
|
|
20
|
-
"__STitle": "
|
|
21
|
-
"--transform-origin": "--transform-
|
|
22
|
-
"_position_top": "
|
|
23
|
-
"_position_bottom": "
|
|
24
|
-
"_position_right": "
|
|
25
|
-
"_position_left": "
|
|
26
|
-
"_verticalWritingMode": "
|
|
27
|
-
"_position_custom_0": "
|
|
28
|
-
"_position_custom_1": "
|
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_1sbn7_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1sbn7_gg_.__hide_1sbn7_gg_,.___STick_1sbn7_gg_.__hide_1sbn7_gg_{display:none}.___STick_1sbn7_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_1sbn7_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1sbn7_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1sbn7)}.___STitle_1sbn7_gg_._position_top_1sbn7_gg_{text-anchor:middle}.___STitle_1sbn7_gg_._position_bottom_1sbn7_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1sbn7_gg_._position_left_1sbn7_gg_,.___STitle_1sbn7_gg_._position_right_1sbn7_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_1sbn7_gg_._position_left_1sbn7_gg_.__verticalWritingMode_1sbn7_gg_,.___STitle_1sbn7_gg_._position_right_1sbn7_gg_.__verticalWritingMode_1sbn7_gg_{writing-mode:vertical-rl;transform:none}.___STick_1sbn7_gg_._position_top_1sbn7_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1sbn7_gg_._position_bottom_1sbn7_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1sbn7_gg_._position_right_1sbn7_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_1sbn7_gg_._position_left_1sbn7_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_1sbn7_gg_._position_custom_0_1sbn7_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1sbn7_gg_._position_custom_1_1sbn7_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}" /*__inner_css_end__*/, "1sbn7_gg_") /*__reshadow_css_end__*/, {
|
|
16
|
+
"__SAxis": "___SAxis_1sbn7_gg_",
|
|
17
|
+
"_hide": "__hide_1sbn7_gg_",
|
|
18
|
+
"__STick": "___STick_1sbn7_gg_",
|
|
19
|
+
"__SGrid": "___SGrid_1sbn7_gg_",
|
|
20
|
+
"__STitle": "___STitle_1sbn7_gg_",
|
|
21
|
+
"--transform-origin": "--transform-origin_1sbn7",
|
|
22
|
+
"_position_top": "_position_top_1sbn7_gg_",
|
|
23
|
+
"_position_bottom": "_position_bottom_1sbn7_gg_",
|
|
24
|
+
"_position_right": "_position_right_1sbn7_gg_",
|
|
25
|
+
"_position_left": "_position_left_1sbn7_gg_",
|
|
26
|
+
"_verticalWritingMode": "__verticalWritingMode_1sbn7_gg_",
|
|
27
|
+
"_position_custom_0": "_position_custom_0_1sbn7_gg_",
|
|
28
|
+
"_position_custom_1": "_position_custom_1_1sbn7_gg_"
|
|
29
29
|
});
|
|
30
30
|
var CUSTOM_0 = Symbol('custom_0');
|
|
31
31
|
var CUSTOM_1 = Symbol('custom_1');
|
package/lib/es6/Bar.js
CHANGED
|
@@ -14,22 +14,22 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
14
14
|
import { scaleToBand, roundedPath } from './utils';
|
|
15
15
|
import { PatternFill } from './Pattern';
|
|
16
16
|
/*__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
17
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
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": "
|
|
17
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1qg3b_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1qg3b);transition-timing-function:ease-in-out}.___SBar_1qg3b_gg_.__color_1qg3b_gg_{fill:var(--color_1qg3b)}.___SBar_1qg3b_gg_.__pattern_1qg3b_gg_.__color_1qg3b_gg_{fill:var(--pattern_1qg3b);stroke:var(--color_1qg3b);stroke-width:1px}.___SBar_1qg3b_gg_.__hide_1qg3b_gg_{display:none}.___SBar_1qg3b_gg_.__transparent_1qg3b_gg_{opacity:.3}.___SBackground_1qg3b_gg_.__onClick_1qg3b_gg_,.___SBar_1qg3b_gg_.__onClick_1qg3b_gg_{cursor:pointer}.___SBackground_1qg3b_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1qg3b_gg_{display:flex;justify-content:space-between}.___SBarLabel_1qg3b_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1qg3b_gg_,.___SBarPercent_1qg3b_gg_,.___SBarValue_1qg3b_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1qg3b_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1qg3b_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1qg3b_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1qg3b_gg_") /*__reshadow_css_end__*/, {
|
|
18
|
+
"__SBar": "___SBar_1qg3b_gg_",
|
|
19
|
+
"--duration": "--duration_1qg3b",
|
|
20
|
+
"_color": "__color_1qg3b_gg_",
|
|
21
|
+
"--color": "--color_1qg3b",
|
|
22
|
+
"_pattern": "__pattern_1qg3b_gg_",
|
|
23
|
+
"--pattern": "--pattern_1qg3b",
|
|
24
|
+
"_hide": "__hide_1qg3b_gg_",
|
|
25
|
+
"_transparent": "__transparent_1qg3b_gg_",
|
|
26
|
+
"_onClick": "__onClick_1qg3b_gg_",
|
|
27
|
+
"__SBackground": "___SBackground_1qg3b_gg_",
|
|
28
|
+
"__SBarAnnotation": "___SBarAnnotation_1qg3b_gg_",
|
|
29
|
+
"__SBarLabel": "___SBarLabel_1qg3b_gg_",
|
|
30
|
+
"__SBarPercent": "___SBarPercent_1qg3b_gg_",
|
|
31
|
+
"__SBarValue": "___SBarValue_1qg3b_gg_",
|
|
32
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1qg3b_gg_"
|
|
33
33
|
});
|
|
34
34
|
export var MIN_HEIGHT = 2;
|
|
35
35
|
var calcPartBarY = function calcPartBarY(y, minHeight, height) {
|
package/lib/es6/Bubble.js
CHANGED
|
@@ -17,18 +17,18 @@ import { getBubbleChartValueScale, measureText } from './utils';
|
|
|
17
17
|
import Tooltip from './Tooltip';
|
|
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__*/".
|
|
21
|
-
"__SBubble": "
|
|
22
|
-
"_color": "
|
|
23
|
-
"--color": "--
|
|
24
|
-
"_pattern": "
|
|
25
|
-
"--pattern": "--
|
|
26
|
-
"_transparent": "
|
|
27
|
-
"__SCenter": "
|
|
28
|
-
"__SLabel": "
|
|
29
|
-
"_position_right": "
|
|
30
|
-
"_position_left": "
|
|
31
|
-
"--duration": "--
|
|
20
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_eatec_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_eatec);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_eatec_gg_:hover{opacity:.8}}.___SBubble_eatec_gg_.__color_eatec_gg_{fill:var(--color_eatec)}.___SBubble_eatec_gg_.__pattern_eatec_gg_.__color_eatec_gg_{fill:var(--pattern_eatec);stroke:var(--color_eatec);stroke-width:1px}.___SBubble_eatec_gg_.__transparent_eatec_gg_{opacity:.3}.___SCenter_eatec_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_eatec_gg_.__color_eatec_gg_{stroke:var(--color_eatec)}.___SCenter_eatec_gg_.__transparent_eatec_gg_{opacity:.3}.___SLabel_eatec_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_eatec_gg_._position_right_eatec_gg_{text-anchor:end}.___SLabel_eatec_gg_._position_left_eatec_gg_{text-anchor:start}.___SLabel_eatec_gg_.__color_eatec_gg_{fill:var(--color_eatec)}.___SLabel_eatec_gg_.__transparent_eatec_gg_{opacity:.3}" /*__inner_css_end__*/, "eatec_gg_") /*__reshadow_css_end__*/, {
|
|
21
|
+
"__SBubble": "___SBubble_eatec_gg_",
|
|
22
|
+
"_color": "__color_eatec_gg_",
|
|
23
|
+
"--color": "--color_eatec",
|
|
24
|
+
"_pattern": "__pattern_eatec_gg_",
|
|
25
|
+
"--pattern": "--pattern_eatec",
|
|
26
|
+
"_transparent": "__transparent_eatec_gg_",
|
|
27
|
+
"__SCenter": "___SCenter_eatec_gg_",
|
|
28
|
+
"__SLabel": "___SLabel_eatec_gg_",
|
|
29
|
+
"_position_right": "_position_right_eatec_gg_",
|
|
30
|
+
"_position_left": "_position_left_eatec_gg_",
|
|
31
|
+
"--duration": "--duration_eatec"
|
|
32
32
|
});
|
|
33
33
|
var BubbleRoot = /*#__PURE__*/function (_Component) {
|
|
34
34
|
_inherits(BubbleRoot, _Component);
|
|
@@ -23,22 +23,22 @@ import Tooltip from './Tooltip';
|
|
|
23
23
|
import { eventToPoint } from './utils';
|
|
24
24
|
import { callAllEventHandlers } from '@semcore/utils/lib/assignProps';
|
|
25
25
|
/*__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
26
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
27
|
-
"__SBar": "
|
|
28
|
-
"--duration": "--
|
|
29
|
-
"_color": "
|
|
30
|
-
"--color": "--
|
|
31
|
-
"_pattern": "
|
|
32
|
-
"--pattern": "--
|
|
33
|
-
"_hide": "
|
|
34
|
-
"_transparent": "
|
|
35
|
-
"_onClick": "
|
|
36
|
-
"__SBackground": "
|
|
37
|
-
"__SBarAnnotation": "
|
|
38
|
-
"__SBarLabel": "
|
|
39
|
-
"__SBarPercent": "
|
|
40
|
-
"__SBarValue": "
|
|
41
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1qg3b_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1qg3b);transition-timing-function:ease-in-out}.___SBar_1qg3b_gg_.__color_1qg3b_gg_{fill:var(--color_1qg3b)}.___SBar_1qg3b_gg_.__pattern_1qg3b_gg_.__color_1qg3b_gg_{fill:var(--pattern_1qg3b);stroke:var(--color_1qg3b);stroke-width:1px}.___SBar_1qg3b_gg_.__hide_1qg3b_gg_{display:none}.___SBar_1qg3b_gg_.__transparent_1qg3b_gg_{opacity:.3}.___SBackground_1qg3b_gg_.__onClick_1qg3b_gg_,.___SBar_1qg3b_gg_.__onClick_1qg3b_gg_{cursor:pointer}.___SBackground_1qg3b_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1qg3b_gg_{display:flex;justify-content:space-between}.___SBarLabel_1qg3b_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1qg3b_gg_,.___SBarPercent_1qg3b_gg_,.___SBarValue_1qg3b_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1qg3b_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1qg3b_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1qg3b_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1qg3b_gg_") /*__reshadow_css_end__*/, {
|
|
27
|
+
"__SBar": "___SBar_1qg3b_gg_",
|
|
28
|
+
"--duration": "--duration_1qg3b",
|
|
29
|
+
"_color": "__color_1qg3b_gg_",
|
|
30
|
+
"--color": "--color_1qg3b",
|
|
31
|
+
"_pattern": "__pattern_1qg3b_gg_",
|
|
32
|
+
"--pattern": "--pattern_1qg3b",
|
|
33
|
+
"_hide": "__hide_1qg3b_gg_",
|
|
34
|
+
"_transparent": "__transparent_1qg3b_gg_",
|
|
35
|
+
"_onClick": "__onClick_1qg3b_gg_",
|
|
36
|
+
"__SBackground": "___SBackground_1qg3b_gg_",
|
|
37
|
+
"__SBarAnnotation": "___SBarAnnotation_1qg3b_gg_",
|
|
38
|
+
"__SBarLabel": "___SBarLabel_1qg3b_gg_",
|
|
39
|
+
"__SBarPercent": "___SBarPercent_1qg3b_gg_",
|
|
40
|
+
"__SBarValue": "___SBarValue_1qg3b_gg_",
|
|
41
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1qg3b_gg_"
|
|
42
42
|
});
|
|
43
43
|
import canUseDOM from '@semcore/utils/lib/canUseDOM';
|
|
44
44
|
import { Box } from '@semcore/flex-box';
|
package/lib/es6/Donut.js
CHANGED
|
@@ -23,15 +23,15 @@ import { getChartDefaultColorName } from './utils';
|
|
|
23
23
|
import Tooltip from './Tooltip';
|
|
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__*/".
|
|
27
|
-
"__SPie": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SEmptyData": "
|
|
34
|
-
"__SLabel": "
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_3fp1d_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_3fp1d_gg_.__color_3fp1d_gg_{fill:var(--color_3fp1d)}.___SPie_3fp1d_gg_.__pattern_3fp1d_gg_.__color_3fp1d_gg_{fill:var(--pattern_3fp1d);stroke:var(--color_3fp1d);stroke-width:1px}.___SPie_3fp1d_gg_.__transparent_3fp1d_gg_{opacity:.3}.___SEmptyData_3fp1d_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_3fp1d_gg_.__color_3fp1d_gg_{fill:var(--color_3fp1d)}.___SLabel_3fp1d_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "3fp1d_gg_") /*__reshadow_css_end__*/, {
|
|
27
|
+
"__SPie": "___SPie_3fp1d_gg_",
|
|
28
|
+
"_color": "__color_3fp1d_gg_",
|
|
29
|
+
"--color": "--color_3fp1d",
|
|
30
|
+
"_pattern": "__pattern_3fp1d_gg_",
|
|
31
|
+
"--pattern": "--pattern_3fp1d",
|
|
32
|
+
"_transparent": "__transparent_3fp1d_gg_",
|
|
33
|
+
"__SEmptyData": "___SEmptyData_3fp1d_gg_",
|
|
34
|
+
"__SLabel": "___SLabel_3fp1d_gg_"
|
|
35
35
|
});
|
|
36
36
|
var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
|
|
37
37
|
function transitionAnglePie(_ref6) {
|
package/lib/es6/Dots.js
CHANGED
|
@@ -7,14 +7,14 @@ import trottle from '@semcore/utils/lib/rafTrottle';
|
|
|
7
7
|
import createElement from './createElement';
|
|
8
8
|
import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
|
|
9
9
|
/*__reshadow-styles__:"./style/dot.shadow.css"*/
|
|
10
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
11
|
-
"__SDot": "
|
|
12
|
-
"_hide": "
|
|
13
|
-
"_color": "
|
|
14
|
-
"--color": "--
|
|
15
|
-
"_transparent": "
|
|
16
|
-
"__SDots": "
|
|
17
|
-
"--duration": "--
|
|
10
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_1pnbk_gg_ .___SDot_1pnbk_gg_{transition-duration:var(--duration_1pnbk)}.___SDot_1pnbk_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_1pnbk_gg_.__hide_1pnbk_gg_{display:none}.___SDot_1pnbk_gg_.__color_1pnbk_gg_{fill:var(--color_1pnbk)}.___SDot_1pnbk_gg_.__transparent_1pnbk_gg_{opacity:.3}" /*__inner_css_end__*/, "1pnbk_gg_") /*__reshadow_css_end__*/, {
|
|
11
|
+
"__SDot": "___SDot_1pnbk_gg_",
|
|
12
|
+
"_hide": "__hide_1pnbk_gg_",
|
|
13
|
+
"_color": "__color_1pnbk_gg_",
|
|
14
|
+
"--color": "--color_1pnbk",
|
|
15
|
+
"_transparent": "__transparent_1pnbk_gg_",
|
|
16
|
+
"__SDots": "___SDots_1pnbk_gg_",
|
|
17
|
+
"--duration": "--duration_1pnbk"
|
|
18
18
|
});
|
|
19
19
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
20
20
|
var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
|
package/lib/es6/HorizontalBar.js
CHANGED
|
@@ -13,22 +13,22 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
13
13
|
import { scaleToBand, roundedPath } from './utils';
|
|
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__*/".
|
|
17
|
-
"__SBar": "
|
|
18
|
-
"--duration": "--
|
|
19
|
-
"_color": "
|
|
20
|
-
"--color": "--
|
|
21
|
-
"_pattern": "
|
|
22
|
-
"--pattern": "--
|
|
23
|
-
"_hide": "
|
|
24
|
-
"_transparent": "
|
|
25
|
-
"_onClick": "
|
|
26
|
-
"__SBackground": "
|
|
27
|
-
"__SBarAnnotation": "
|
|
28
|
-
"__SBarLabel": "
|
|
29
|
-
"__SBarPercent": "
|
|
30
|
-
"__SBarValue": "
|
|
31
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1qg3b_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1qg3b);transition-timing-function:ease-in-out}.___SBar_1qg3b_gg_.__color_1qg3b_gg_{fill:var(--color_1qg3b)}.___SBar_1qg3b_gg_.__pattern_1qg3b_gg_.__color_1qg3b_gg_{fill:var(--pattern_1qg3b);stroke:var(--color_1qg3b);stroke-width:1px}.___SBar_1qg3b_gg_.__hide_1qg3b_gg_{display:none}.___SBar_1qg3b_gg_.__transparent_1qg3b_gg_{opacity:.3}.___SBackground_1qg3b_gg_.__onClick_1qg3b_gg_,.___SBar_1qg3b_gg_.__onClick_1qg3b_gg_{cursor:pointer}.___SBackground_1qg3b_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1qg3b_gg_{display:flex;justify-content:space-between}.___SBarLabel_1qg3b_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1qg3b_gg_,.___SBarPercent_1qg3b_gg_,.___SBarValue_1qg3b_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1qg3b_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1qg3b_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1qg3b_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1qg3b_gg_") /*__reshadow_css_end__*/, {
|
|
17
|
+
"__SBar": "___SBar_1qg3b_gg_",
|
|
18
|
+
"--duration": "--duration_1qg3b",
|
|
19
|
+
"_color": "__color_1qg3b_gg_",
|
|
20
|
+
"--color": "--color_1qg3b",
|
|
21
|
+
"_pattern": "__pattern_1qg3b_gg_",
|
|
22
|
+
"--pattern": "--pattern_1qg3b",
|
|
23
|
+
"_hide": "__hide_1qg3b_gg_",
|
|
24
|
+
"_transparent": "__transparent_1qg3b_gg_",
|
|
25
|
+
"_onClick": "__onClick_1qg3b_gg_",
|
|
26
|
+
"__SBackground": "___SBackground_1qg3b_gg_",
|
|
27
|
+
"__SBarAnnotation": "___SBarAnnotation_1qg3b_gg_",
|
|
28
|
+
"__SBarLabel": "___SBarLabel_1qg3b_gg_",
|
|
29
|
+
"__SBarPercent": "___SBarPercent_1qg3b_gg_",
|
|
30
|
+
"__SBarValue": "___SBarValue_1qg3b_gg_",
|
|
31
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1qg3b_gg_"
|
|
32
32
|
});
|
|
33
33
|
export var MIN_WIDTH = 2;
|
|
34
34
|
var calcPartBarX = function calcPartBarX(x, minWidth, width) {
|
package/lib/es6/Hover.js
CHANGED
|
@@ -16,9 +16,9 @@ import trottle from '@semcore/utils/lib/rafTrottle';
|
|
|
16
16
|
import createElement from './createElement';
|
|
17
17
|
import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
|
|
18
18
|
/*__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
19
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
20
|
-
"__SHoverLine": "
|
|
21
|
-
"__SHoverRect": "
|
|
19
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_1hrnq_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1hrnq_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1hrnq_gg_") /*__reshadow_css_end__*/, {
|
|
20
|
+
"__SHoverLine": "___SHoverLine_1hrnq_gg_",
|
|
21
|
+
"__SHoverRect": "___SHoverRect_1hrnq_gg_"
|
|
22
22
|
});
|
|
23
23
|
import Tooltip from './Tooltip';
|
|
24
24
|
var Hover = /*#__PURE__*/function (_Component) {
|
package/lib/es6/Line.js
CHANGED
|
@@ -15,15 +15,15 @@ import Dots from './Dots';
|
|
|
15
15
|
import AnimatedClipPath from './AnimatedClipPath';
|
|
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__*/".
|
|
19
|
-
"__SLine": "
|
|
20
|
-
"--duration": "--
|
|
21
|
-
"_color": "
|
|
22
|
-
"--color": "--
|
|
23
|
-
"_hide": "
|
|
24
|
-
"_transparent": "
|
|
25
|
-
"__SNull": "
|
|
26
|
-
"__SLineArea": "
|
|
18
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_6vhty_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_6vhty);transition-timing-function:ease-in-out}.___SLine_6vhty_gg_.__color_6vhty_gg_{stroke:var(--color_6vhty)}.___SLine_6vhty_gg_.__hide_6vhty_gg_{display:none}.___SLine_6vhty_gg_.__transparent_6vhty_gg_{opacity:.3}.___SNull_6vhty_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_6vhty_gg_.__hide_6vhty_gg_{display:none}.___SLineArea_6vhty_gg_{transition-property:d;transition-duration:var(--duration_6vhty);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_6vhty_gg_.__color_6vhty_gg_{fill:var(--color_6vhty)}" /*__inner_css_end__*/, "6vhty_gg_") /*__reshadow_css_end__*/, {
|
|
19
|
+
"__SLine": "___SLine_6vhty_gg_",
|
|
20
|
+
"--duration": "--duration_6vhty",
|
|
21
|
+
"_color": "__color_6vhty_gg_",
|
|
22
|
+
"--color": "--color_6vhty",
|
|
23
|
+
"_hide": "__hide_6vhty_gg_",
|
|
24
|
+
"_transparent": "__transparent_6vhty_gg_",
|
|
25
|
+
"__SNull": "___SNull_6vhty_gg_",
|
|
26
|
+
"__SLineArea": "___SLineArea_6vhty_gg_"
|
|
27
27
|
});
|
|
28
28
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
29
29
|
_inherits(LineRoot, _Component);
|
package/lib/es6/Plot.js
CHANGED
|
@@ -18,9 +18,9 @@ import { PlotA11yModule } from './a11y/PlotA11yModule';
|
|
|
18
18
|
import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
|
|
19
19
|
import colorResolverEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
|
|
20
20
|
/*__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
22
|
-
"__SPlot": "
|
|
23
|
-
"_keyboardFocused": "
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_muf01_gg_{overflow:hidden}.___SPlot_muf01_gg_:active,.___SPlot_muf01_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_muf01_gg_.__keyboardFocused_muf01_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "muf01_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SPlot": "___SPlot_muf01_gg_",
|
|
23
|
+
"_keyboardFocused": "__keyboardFocused_muf01_gg_"
|
|
24
24
|
});
|
|
25
25
|
var PlotRoot = /*#__PURE__*/function (_Component) {
|
|
26
26
|
_inherits(PlotRoot, _Component);
|
package/lib/es6/Radar.js
CHANGED
|
@@ -22,25 +22,25 @@ import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
|
|
22
22
|
import Tooltip from './Tooltip';
|
|
23
23
|
import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
24
24
|
/*__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
25
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
26
|
-
"__SAxis": "
|
|
27
|
-
"__SAxisLine": "
|
|
28
|
-
"__SAxisTick": "
|
|
29
|
-
"_active": "
|
|
30
|
-
"__SAxisLabel": "
|
|
31
|
-
"_xDirection": "
|
|
32
|
-
"--xDirection": "--
|
|
33
|
-
"_yDirection": "
|
|
34
|
-
"--yDirection": "--
|
|
35
|
-
"__SPolygon": "
|
|
36
|
-
"_color": "
|
|
37
|
-
"--color": "--
|
|
38
|
-
"_pattern": "
|
|
39
|
-
"--pattern": "--
|
|
40
|
-
"__SPolygonDot": "
|
|
41
|
-
"_transparent": "
|
|
42
|
-
"__SPolygonLine": "
|
|
43
|
-
"__SPieRect": "
|
|
25
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_q8m6c_gg_,.___SAxisTick_q8m6c_gg_,.___SAxis_q8m6c_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_q8m6c_gg_,.___SAxisTick_q8m6c_gg_{stroke-dasharray:2}.___SAxisLine_q8m6c_gg_.__active_q8m6c_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_q8m6c_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_q8m6c_gg_.__xDirection_q8m6c_gg_{text-anchor:var(--xDirection_q8m6c)}.___SAxisLabel_q8m6c_gg_.__yDirection_q8m6c_gg_{dominant-baseline:var(--yDirection_q8m6c)}.___SPolygonDot_q8m6c_gg_,.___SPolygon_q8m6c_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_q8m6c_gg_{opacity:.2}.___SPolygon_q8m6c_gg_.__color_q8m6c_gg_{fill:var(--color_q8m6c)}.___SPolygon_q8m6c_gg_.__pattern_q8m6c_gg_.__color_q8m6c_gg_{fill:var(--pattern_q8m6c);stroke:var(--color_q8m6c);stroke-width:1px}.___SPolygonDot_q8m6c_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_q8m6c_gg_.__transparent_q8m6c_gg_{opacity:.3}.___SPolygonDot_q8m6c_gg_.__color_q8m6c_gg_{fill:var(--color_q8m6c)}.___SPolygonLine_q8m6c_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_q8m6c_gg_.__transparent_q8m6c_gg_{opacity:.3}.___SPolygonLine_q8m6c_gg_.__color_q8m6c_gg_{stroke:var(--color_q8m6c)}.___SPieRect_q8m6c_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "q8m6c_gg_") /*__reshadow_css_end__*/, {
|
|
26
|
+
"__SAxis": "___SAxis_q8m6c_gg_",
|
|
27
|
+
"__SAxisLine": "___SAxisLine_q8m6c_gg_",
|
|
28
|
+
"__SAxisTick": "___SAxisTick_q8m6c_gg_",
|
|
29
|
+
"_active": "__active_q8m6c_gg_",
|
|
30
|
+
"__SAxisLabel": "___SAxisLabel_q8m6c_gg_",
|
|
31
|
+
"_xDirection": "__xDirection_q8m6c_gg_",
|
|
32
|
+
"--xDirection": "--xDirection_q8m6c",
|
|
33
|
+
"_yDirection": "__yDirection_q8m6c_gg_",
|
|
34
|
+
"--yDirection": "--yDirection_q8m6c",
|
|
35
|
+
"__SPolygon": "___SPolygon_q8m6c_gg_",
|
|
36
|
+
"_color": "__color_q8m6c_gg_",
|
|
37
|
+
"--color": "--color_q8m6c",
|
|
38
|
+
"_pattern": "__pattern_q8m6c_gg_",
|
|
39
|
+
"--pattern": "--pattern_q8m6c",
|
|
40
|
+
"__SPolygonDot": "___SPolygonDot_q8m6c_gg_",
|
|
41
|
+
"_transparent": "__transparent_q8m6c_gg_",
|
|
42
|
+
"__SPolygonLine": "___SPolygonLine_q8m6c_gg_",
|
|
43
|
+
"__SPieRect": "___SPieRect_q8m6c_gg_"
|
|
44
44
|
});
|
|
45
45
|
var clampAngle = function clampAngle(angle) {
|
|
46
46
|
angle = angle % (2 * Math.PI);
|