intergalactic 15.52.0-prerelease.0-prerelease-dda99fd4 → 15.52.0-prerelease.0-prerelease-15fe9f5e

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/d3-chart/lib/cjs/Area.js +9 -9
  3. package/d3-chart/lib/cjs/Axis.js +14 -14
  4. package/d3-chart/lib/cjs/Bar.js +8 -8
  5. package/d3-chart/lib/cjs/Bubble.js +13 -12
  6. package/d3-chart/lib/cjs/Bubble.js.map +1 -1
  7. package/d3-chart/lib/cjs/Donut.js +7 -7
  8. package/d3-chart/lib/cjs/Dots.js +8 -8
  9. package/d3-chart/lib/cjs/HorizontalBar.js +8 -8
  10. package/d3-chart/lib/cjs/Hover.js +3 -3
  11. package/d3-chart/lib/cjs/Line.js +9 -9
  12. package/d3-chart/lib/cjs/Plot.js +3 -3
  13. package/d3-chart/lib/cjs/Radar.js +17 -17
  14. package/d3-chart/lib/cjs/RadialTree.js +10 -10
  15. package/d3-chart/lib/cjs/ReferenceLine.js +9 -9
  16. package/d3-chart/lib/cjs/ScatterPlot.js +7 -7
  17. package/d3-chart/lib/cjs/Tooltip.js +8 -8
  18. package/d3-chart/lib/cjs/Venn.js +7 -7
  19. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  20. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
  21. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  22. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +15 -15
  23. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  24. package/d3-chart/lib/es6/Area.js +9 -9
  25. package/d3-chart/lib/es6/Axis.js +14 -14
  26. package/d3-chart/lib/es6/Bar.js +8 -8
  27. package/d3-chart/lib/es6/Bubble.js +13 -12
  28. package/d3-chart/lib/es6/Bubble.js.map +1 -1
  29. package/d3-chart/lib/es6/Donut.js +7 -7
  30. package/d3-chart/lib/es6/Dots.js +8 -8
  31. package/d3-chart/lib/es6/HorizontalBar.js +8 -8
  32. package/d3-chart/lib/es6/Hover.js +3 -3
  33. package/d3-chart/lib/es6/Line.js +9 -9
  34. package/d3-chart/lib/es6/Plot.js +3 -3
  35. package/d3-chart/lib/es6/Radar.js +17 -17
  36. package/d3-chart/lib/es6/RadialTree.js +10 -10
  37. package/d3-chart/lib/es6/ReferenceLine.js +9 -9
  38. package/d3-chart/lib/es6/ScatterPlot.js +7 -7
  39. package/d3-chart/lib/es6/Tooltip.js +8 -8
  40. package/d3-chart/lib/es6/Venn.js +7 -7
  41. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  42. package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
  43. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  44. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +15 -15
  45. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  46. package/package.json +3 -3
@@ -16,8 +16,8 @@ var _intergalacticDynamicLocales = require("./translations/module/__intergalacti
16
16
  var _WithI18n = require("intergalactic/utils/lib/enhances/WithI18n");
17
17
  var _flexBox = require("intergalactic/flex-box");
18
18
  /*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
19
- var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_14de6_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_14de6_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "14de6_gg_") /*__reshadow_css_end__*/, {
20
- "__SPlotA11yModule": "___SPlotA11yModule_14de6_gg_"
19
+ var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1t7a5_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1t7a5_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1t7a5_gg_") /*__reshadow_css_end__*/, {
20
+ "__SPlotA11yModule": "___SPlotA11yModule_1t7a5_gg_"
21
21
  });
22
22
  var globalWasFocused = false;
23
23
  var globalNavWithKeyboard = false;
@@ -21,8 +21,8 @@ var _flexBox = require("intergalactic/flex-box");
21
21
  var _i18nEnhance = require("intergalactic/utils/lib/enhances/i18nEnhance");
22
22
  var _intergalacticDynamicLocales = require("./translations/view/__intergalactic-dynamic-locales");
23
23
  /*__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
24
- var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_10i0l_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_10i0l_gg_:focus,.___SPlotA11yView_10i0l_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_10i0l_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_10i0l_gg_ table,.___SPlotA11yView_10i0l_gg_ td,.___SPlotA11yView_10i0l_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "10i0l_gg_") /*__reshadow_css_end__*/, {
25
- "__SPlotA11yView": "___SPlotA11yView_10i0l_gg_"
24
+ var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_12z6v_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_12z6v_gg_:focus,.___SPlotA11yView_12z6v_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_12z6v_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_12z6v_gg_ table,.___SPlotA11yView_12z6v_gg_ td,.___SPlotA11yView_12z6v_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "12z6v_gg_") /*__reshadow_css_end__*/, {
25
+ "__SPlotA11yView": "___SPlotA11yView_12z6v_gg_"
26
26
  });
27
27
  var PlotA11yView = function PlotA11yView(_ref3) {
28
28
  var _ref = arguments[0],
@@ -22,10 +22,10 @@ var _BaseLegend2 = require("../BaseLegend");
22
22
  var _intergalacticDynamicLocales = require("../../../translations/__intergalactic-dynamic-locales");
23
23
  var _i18nEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/i18nEnhance"));
24
24
  /*__reshadow-styles__:"./legend-flex.shadow.css"*/
25
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_18sde_gg_._direction_row_18sde_gg_{align-items:center;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_18sde_gg_._direction_column_18sde_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "18sde_gg_") /*__reshadow_css_end__*/, {
26
- "__SLegendFlex": "___SLegendFlex_18sde_gg_",
27
- "_direction_row": "_direction_row_18sde_gg_",
28
- "_direction_column": "_direction_column_18sde_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_1shn8_gg_._direction_row_1shn8_gg_{align-items:center;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_1shn8_gg_._direction_column_1shn8_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "1shn8_gg_") /*__reshadow_css_end__*/, {
26
+ "__SLegendFlex": "___SLegendFlex_1shn8_gg_",
27
+ "_direction_row": "_direction_row_1shn8_gg_",
28
+ "_direction_column": "_direction_column_1shn8_gg_"
29
29
  });
30
30
  var LegendFlexRoot = /*#__PURE__*/function (_BaseLegend) {
31
31
  (0, _inherits2["default"])(LegendFlexRoot, _BaseLegend);
@@ -22,21 +22,21 @@ var _LegendItem = require("./LegendItem.type");
22
22
  var _resolveColorEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/resolveColorEnhance"));
23
23
  var _excluded = ["color"];
24
24
  /*__reshadow-styles__:"./legend-item.shadow.css"*/
25
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_1hqc3_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1hqc3_gg_:hover{cursor:pointer}.___SLegendItem_1hqc3_gg_.__disabled_1hqc3_gg_:hover{cursor:default}}.___SPointShape_1hqc3_gg_.__color_1hqc3_gg_{background-color:var(--color_1hqc3);margin-right:8px;flex-shrink:0}.___SPointShape_1hqc3_gg_._shape_Circle_1hqc3_gg_._size_l_1hqc3_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1hqc3_gg_._shape_Circle_1hqc3_gg_._size_m_1hqc3_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1hqc3_gg_._shape_Line_1hqc3_gg_._size_l_1hqc3_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1hqc3_gg_._shape_Line_1hqc3_gg_._size_m_1hqc3_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1hqc3_gg_._shape_Square_1hqc3_gg_._size_l_1hqc3_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1hqc3_gg_._shape_Square_1hqc3_gg_._size_m_1hqc3_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SIcon_1hqc3_gg_{line-height:0;margin-right:4px}.___SIcon_1hqc3_gg_._size_l_1hqc3_gg_{margin-top:4px}.___SIcon_1hqc3_gg_._size_m_1hqc3_gg_{margin-top:2px}.___SLabel_1hqc3_gg_{min-width:0}.___SAdditionalLabel_1hqc3_gg_._size_l_1hqc3_gg_,.___SCount_1hqc3_gg_._size_l_1hqc3_gg_,.___SLabel_1hqc3_gg_._size_l_1hqc3_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1hqc3_gg_._size_m_1hqc3_gg_,.___SCount_1hqc3_gg_._size_m_1hqc3_gg_,.___SLabel_1hqc3_gg_._size_m_1hqc3_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1hqc3_gg_,.___SCount_1hqc3_gg_{margin-left:4px}.___SAdditionalLabel_1hqc3_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1hqc3_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_1hqc3_gg_._size_l_1hqc3_gg_::before{margin-top:10px}.___SAdditionalLabel_1hqc3_gg_._size_m_1hqc3_gg_::before{margin-top:8px}" /*__inner_css_end__*/, "1hqc3_gg_") /*__reshadow_css_end__*/, {
26
- "__SLegendItem": "___SLegendItem_1hqc3_gg_",
27
- "_disabled": "__disabled_1hqc3_gg_",
28
- "__SPointShape": "___SPointShape_1hqc3_gg_",
29
- "_color": "__color_1hqc3_gg_",
30
- "--color": "--color_1hqc3",
31
- "_shape_Circle": "_shape_Circle_1hqc3_gg_",
32
- "_size_l": "_size_l_1hqc3_gg_",
33
- "_size_m": "_size_m_1hqc3_gg_",
34
- "_shape_Line": "_shape_Line_1hqc3_gg_",
35
- "_shape_Square": "_shape_Square_1hqc3_gg_",
36
- "__SIcon": "___SIcon_1hqc3_gg_",
37
- "__SLabel": "___SLabel_1hqc3_gg_",
38
- "__SAdditionalLabel": "___SAdditionalLabel_1hqc3_gg_",
39
- "__SCount": "___SCount_1hqc3_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_8qeo3_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_8qeo3_gg_:hover{cursor:pointer}.___SLegendItem_8qeo3_gg_.__disabled_8qeo3_gg_:hover{cursor:default}}.___SPointShape_8qeo3_gg_.__color_8qeo3_gg_{background-color:var(--color_8qeo3);margin-right:8px;flex-shrink:0}.___SPointShape_8qeo3_gg_._shape_Circle_8qeo3_gg_._size_l_8qeo3_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_8qeo3_gg_._shape_Circle_8qeo3_gg_._size_m_8qeo3_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_8qeo3_gg_._shape_Line_8qeo3_gg_._size_l_8qeo3_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_8qeo3_gg_._shape_Line_8qeo3_gg_._size_m_8qeo3_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_8qeo3_gg_._shape_Square_8qeo3_gg_._size_l_8qeo3_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_8qeo3_gg_._shape_Square_8qeo3_gg_._size_m_8qeo3_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SIcon_8qeo3_gg_{line-height:0;margin-right:4px}.___SIcon_8qeo3_gg_._size_l_8qeo3_gg_{margin-top:4px}.___SIcon_8qeo3_gg_._size_m_8qeo3_gg_{margin-top:2px}.___SLabel_8qeo3_gg_{min-width:0}.___SAdditionalLabel_8qeo3_gg_._size_l_8qeo3_gg_,.___SCount_8qeo3_gg_._size_l_8qeo3_gg_,.___SLabel_8qeo3_gg_._size_l_8qeo3_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_8qeo3_gg_._size_m_8qeo3_gg_,.___SCount_8qeo3_gg_._size_m_8qeo3_gg_,.___SLabel_8qeo3_gg_._size_m_8qeo3_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_8qeo3_gg_,.___SCount_8qeo3_gg_{margin-left:4px}.___SAdditionalLabel_8qeo3_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_8qeo3_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_8qeo3_gg_._size_l_8qeo3_gg_::before{margin-top:10px}.___SAdditionalLabel_8qeo3_gg_._size_m_8qeo3_gg_::before{margin-top:8px}" /*__inner_css_end__*/, "8qeo3_gg_") /*__reshadow_css_end__*/, {
26
+ "__SLegendItem": "___SLegendItem_8qeo3_gg_",
27
+ "_disabled": "__disabled_8qeo3_gg_",
28
+ "__SPointShape": "___SPointShape_8qeo3_gg_",
29
+ "_color": "__color_8qeo3_gg_",
30
+ "--color": "--color_8qeo3",
31
+ "_shape_Circle": "_shape_Circle_8qeo3_gg_",
32
+ "_size_l": "_size_l_8qeo3_gg_",
33
+ "_size_m": "_size_m_8qeo3_gg_",
34
+ "_shape_Line": "_shape_Line_8qeo3_gg_",
35
+ "_shape_Square": "_shape_Square_8qeo3_gg_",
36
+ "__SIcon": "___SIcon_8qeo3_gg_",
37
+ "__SLabel": "___SLabel_8qeo3_gg_",
38
+ "__SAdditionalLabel": "___SAdditionalLabel_8qeo3_gg_",
39
+ "__SCount": "___SCount_8qeo3_gg_"
40
40
  });
41
41
  var LegendItemRoot = /*#__PURE__*/function (_Component) {
42
42
  (0, _inherits2["default"])(LegendItemRoot, _Component);
@@ -18,12 +18,12 @@ var _flexBox = require("intergalactic/flex-box");
18
18
  var _LegendItem = require("../LegendItem/LegendItem");
19
19
  var _BaseLegend2 = require("../BaseLegend");
20
20
  /*__reshadow-styles__:"./legend-table.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendTable_mv2o9_gg_.__columns-count_mv2o9_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_mv2o9_gg_._size_l_mv2o9_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_mv2o9_gg_._size_m_mv2o9_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "mv2o9_gg_") /*__reshadow_css_end__*/, {
22
- "__SLegendTable": "___SLegendTable_mv2o9_gg_",
23
- "_columns-count": "__columns-count_mv2o9_gg_",
24
- "__SColumnItem": "___SColumnItem_mv2o9_gg_",
25
- "_size_l": "_size_l_mv2o9_gg_",
26
- "_size_m": "_size_m_mv2o9_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendTable_6t6q8_gg_.__columns-count_6t6q8_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_6t6q8_gg_._size_l_6t6q8_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_6t6q8_gg_._size_m_6t6q8_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "6t6q8_gg_") /*__reshadow_css_end__*/, {
22
+ "__SLegendTable": "___SLegendTable_6t6q8_gg_",
23
+ "_columns-count": "__columns-count_6t6q8_gg_",
24
+ "__SColumnItem": "___SColumnItem_6t6q8_gg_",
25
+ "_size_l": "_size_l_6t6q8_gg_",
26
+ "_size_m": "_size_m_6t6q8_gg_"
27
27
  });
28
28
  var LegendTableRoot = /*#__PURE__*/function (_BaseLegend) {
29
29
  (0, _inherits2["default"])(LegendTableRoot, _BaseLegend);
@@ -15,15 +15,15 @@ import createElement from './createElement';
15
15
  import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolateValue } from './utils';
16
16
  import AnimatedClipPath from './AnimatedClipPath';
17
17
  /*__reshadow-styles__:"./style/area.shadow.css"*/
18
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_ve5ya_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_ve5ya_gg_.__color_ve5ya_gg_{fill:var(--color_ve5ya)}.___SArea_ve5ya_gg_.__transparent_ve5ya_gg_{opacity:.3}.___SAreaLine_ve5ya_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_ve5ya_gg_.__color_ve5ya_gg_{stroke:var(--color_ve5ya)}.___SAreaLine_ve5ya_gg_.__transparent_ve5ya_gg_{opacity:.3}.___SAreaLine_ve5ya_gg_,.___SArea_ve5ya_gg_{transition-property:d;transition-duration:var(--duration_ve5ya);transition-timing-function:ease-in-out}.___SNull_ve5ya_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_ve5ya_gg_.__hide_ve5ya_gg_{display:none}" /*__inner_css_end__*/, "ve5ya_gg_") /*__reshadow_css_end__*/, {
19
- "__SArea": "___SArea_ve5ya_gg_",
20
- "_color": "__color_ve5ya_gg_",
21
- "--color": "--color_ve5ya",
22
- "_transparent": "__transparent_ve5ya_gg_",
23
- "__SAreaLine": "___SAreaLine_ve5ya_gg_",
24
- "--duration": "--duration_ve5ya",
25
- "__SNull": "___SNull_ve5ya_gg_",
26
- "_hide": "__hide_ve5ya_gg_"
18
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_1yf1x_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_1yf1x_gg_.__color_1yf1x_gg_{fill:var(--color_1yf1x)}.___SArea_1yf1x_gg_.__transparent_1yf1x_gg_{opacity:.3}.___SAreaLine_1yf1x_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1yf1x_gg_.__color_1yf1x_gg_{stroke:var(--color_1yf1x)}.___SAreaLine_1yf1x_gg_.__transparent_1yf1x_gg_{opacity:.3}.___SAreaLine_1yf1x_gg_,.___SArea_1yf1x_gg_{transition-property:d;transition-duration:var(--duration_1yf1x);transition-timing-function:ease-in-out}.___SNull_1yf1x_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_1yf1x_gg_.__hide_1yf1x_gg_{display:none}" /*__inner_css_end__*/, "1yf1x_gg_") /*__reshadow_css_end__*/, {
19
+ "__SArea": "___SArea_1yf1x_gg_",
20
+ "_color": "__color_1yf1x_gg_",
21
+ "--color": "--color_1yf1x",
22
+ "_transparent": "__transparent_1yf1x_gg_",
23
+ "__SAreaLine": "___SAreaLine_1yf1x_gg_",
24
+ "--duration": "--duration_1yf1x",
25
+ "__SNull": "___SNull_1yf1x_gg_",
26
+ "_hide": "__hide_1yf1x_gg_"
27
27
  });
28
28
  var AreaRoot = /*#__PURE__*/function (_Component) {
29
29
  _inherits(AreaRoot, _Component);
@@ -12,20 +12,20 @@ import { Component, sstyled } from 'intergalactic/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__*/".___SAxis_19zn8_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_19zn8_gg_.__hide_19zn8_gg_,.___STick_19zn8_gg_.__hide_19zn8_gg_{display:none}.___STick_19zn8_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_19zn8_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_19zn8_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_19zn8)}.___STitle_19zn8_gg_._position_top_19zn8_gg_{text-anchor:middle}.___STitle_19zn8_gg_._position_bottom_19zn8_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_19zn8_gg_._position_left_19zn8_gg_,.___STitle_19zn8_gg_._position_right_19zn8_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_19zn8_gg_._position_left_19zn8_gg_.__verticalWritingMode_19zn8_gg_,.___STitle_19zn8_gg_._position_right_19zn8_gg_.__verticalWritingMode_19zn8_gg_{writing-mode:vertical-rl;transform:none}.___STick_19zn8_gg_._position_top_19zn8_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_19zn8_gg_._position_bottom_19zn8_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_19zn8_gg_._position_right_19zn8_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_19zn8_gg_._position_left_19zn8_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_19zn8_gg_._position_custom_0_19zn8_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_19zn8_gg_._position_custom_1_19zn8_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "19zn8_gg_") /*__reshadow_css_end__*/, {
16
- "__SAxis": "___SAxis_19zn8_gg_",
17
- "_hide": "__hide_19zn8_gg_",
18
- "__STick": "___STick_19zn8_gg_",
19
- "__SGrid": "___SGrid_19zn8_gg_",
20
- "__STitle": "___STitle_19zn8_gg_",
21
- "--transform-origin": "--transform-origin_19zn8",
22
- "_position_top": "_position_top_19zn8_gg_",
23
- "_position_bottom": "_position_bottom_19zn8_gg_",
24
- "_position_right": "_position_right_19zn8_gg_",
25
- "_position_left": "_position_left_19zn8_gg_",
26
- "_verticalWritingMode": "__verticalWritingMode_19zn8_gg_",
27
- "_position_custom_0": "_position_custom_0_19zn8_gg_",
28
- "_position_custom_1": "_position_custom_1_19zn8_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_1fbsd_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1fbsd_gg_.__hide_1fbsd_gg_,.___STick_1fbsd_gg_.__hide_1fbsd_gg_{display:none}.___STick_1fbsd_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_1fbsd_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1fbsd_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1fbsd)}.___STitle_1fbsd_gg_._position_top_1fbsd_gg_{text-anchor:middle}.___STitle_1fbsd_gg_._position_bottom_1fbsd_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1fbsd_gg_._position_left_1fbsd_gg_,.___STitle_1fbsd_gg_._position_right_1fbsd_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_1fbsd_gg_._position_left_1fbsd_gg_.__verticalWritingMode_1fbsd_gg_,.___STitle_1fbsd_gg_._position_right_1fbsd_gg_.__verticalWritingMode_1fbsd_gg_{writing-mode:vertical-rl;transform:none}.___STick_1fbsd_gg_._position_top_1fbsd_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1fbsd_gg_._position_bottom_1fbsd_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1fbsd_gg_._position_right_1fbsd_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_1fbsd_gg_._position_left_1fbsd_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_1fbsd_gg_._position_custom_0_1fbsd_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1fbsd_gg_._position_custom_1_1fbsd_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "1fbsd_gg_") /*__reshadow_css_end__*/, {
16
+ "__SAxis": "___SAxis_1fbsd_gg_",
17
+ "_hide": "__hide_1fbsd_gg_",
18
+ "__STick": "___STick_1fbsd_gg_",
19
+ "__SGrid": "___SGrid_1fbsd_gg_",
20
+ "__STitle": "___STitle_1fbsd_gg_",
21
+ "--transform-origin": "--transform-origin_1fbsd",
22
+ "_position_top": "_position_top_1fbsd_gg_",
23
+ "_position_bottom": "_position_bottom_1fbsd_gg_",
24
+ "_position_right": "_position_right_1fbsd_gg_",
25
+ "_position_left": "_position_left_1fbsd_gg_",
26
+ "_verticalWritingMode": "__verticalWritingMode_1fbsd_gg_",
27
+ "_position_custom_0": "_position_custom_0_1fbsd_gg_",
28
+ "_position_custom_1": "_position_custom_1_1fbsd_gg_"
29
29
  });
30
30
  var CUSTOM_0 = Symbol('custom_0');
31
31
  var CUSTOM_1 = Symbol('custom_1');
@@ -13,14 +13,14 @@ import createElement from './createElement';
13
13
  import AnimatedClipPath from './AnimatedClipPath';
14
14
  import { scaleToBand, roundedPath } from './utils';
15
15
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
16
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_16u41_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_16u41);transition-timing-function:ease-in-out}.___SBar_16u41_gg_.__color_16u41_gg_{fill:var(--color_16u41)}.___SBar_16u41_gg_.__hide_16u41_gg_{display:none}.___SBar_16u41_gg_.__transparent_16u41_gg_{opacity:.3}.___SBackground_16u41_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "16u41_gg_") /*__reshadow_css_end__*/, {
17
- "__SBar": "___SBar_16u41_gg_",
18
- "--duration": "--duration_16u41",
19
- "_color": "__color_16u41_gg_",
20
- "--color": "--color_16u41",
21
- "_hide": "__hide_16u41_gg_",
22
- "_transparent": "__transparent_16u41_gg_",
23
- "__SBackground": "___SBackground_16u41_gg_"
16
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_17f9y_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_17f9y);transition-timing-function:ease-in-out}.___SBar_17f9y_gg_.__color_17f9y_gg_{fill:var(--color_17f9y)}.___SBar_17f9y_gg_.__hide_17f9y_gg_{display:none}.___SBar_17f9y_gg_.__transparent_17f9y_gg_{opacity:.3}.___SBackground_17f9y_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "17f9y_gg_") /*__reshadow_css_end__*/, {
17
+ "__SBar": "___SBar_17f9y_gg_",
18
+ "--duration": "--duration_17f9y",
19
+ "_color": "__color_17f9y_gg_",
20
+ "--color": "--color_17f9y",
21
+ "_hide": "__hide_17f9y_gg_",
22
+ "_transparent": "__transparent_17f9y_gg_",
23
+ "__SBackground": "___SBackground_17f9y_gg_"
24
24
  });
25
25
  export var MIN_HEIGHT = 2;
26
26
  var calcPartBarY = function calcPartBarY(y, minHeight, height) {
@@ -19,16 +19,16 @@ import createElement from './createElement';
19
19
  import { CONSTANT, measureText } from './utils';
20
20
  import Tooltip from './Tooltip';
21
21
  /*__reshadow-styles__:"./style/bubble.shadow.css"*/
22
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_12mbk_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_12mbk);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_12mbk_gg_:hover{opacity:.8}}.___SBubble_12mbk_gg_.__color_12mbk_gg_{fill:var(--color_12mbk)}.___SBubble_12mbk_gg_.__transparent_12mbk_gg_{opacity:.3}.___SCenter_12mbk_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_12mbk_gg_.__color_12mbk_gg_{stroke:var(--color_12mbk)}.___SCenter_12mbk_gg_.__transparent_12mbk_gg_{opacity:.3}.___SLabel_12mbk_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_12mbk_gg_._position_right_12mbk_gg_{text-anchor:end}.___SLabel_12mbk_gg_._position_left_12mbk_gg_{text-anchor:start}.___SLabel_12mbk_gg_.__color_12mbk_gg_{fill:var(--color_12mbk)}.___SLabel_12mbk_gg_.__transparent_12mbk_gg_{opacity:.3}" /*__inner_css_end__*/, "12mbk_gg_") /*__reshadow_css_end__*/, {
23
- "__SBubble": "___SBubble_12mbk_gg_",
24
- "_color": "__color_12mbk_gg_",
25
- "--color": "--color_12mbk",
26
- "_transparent": "__transparent_12mbk_gg_",
27
- "__SCenter": "___SCenter_12mbk_gg_",
28
- "__SLabel": "___SLabel_12mbk_gg_",
29
- "_position_right": "_position_right_12mbk_gg_",
30
- "_position_left": "_position_left_12mbk_gg_",
31
- "--duration": "--duration_12mbk"
22
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_6h1ys_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_6h1ys);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_6h1ys_gg_:hover{opacity:.8}}.___SBubble_6h1ys_gg_.__color_6h1ys_gg_{fill:var(--color_6h1ys)}.___SBubble_6h1ys_gg_.__transparent_6h1ys_gg_{opacity:.3}.___SCenter_6h1ys_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_6h1ys_gg_.__color_6h1ys_gg_{stroke:var(--color_6h1ys)}.___SCenter_6h1ys_gg_.__transparent_6h1ys_gg_{opacity:.3}.___SLabel_6h1ys_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_6h1ys_gg_._position_right_6h1ys_gg_{text-anchor:end}.___SLabel_6h1ys_gg_._position_left_6h1ys_gg_{text-anchor:start}.___SLabel_6h1ys_gg_.__color_6h1ys_gg_{fill:var(--color_6h1ys)}.___SLabel_6h1ys_gg_.__transparent_6h1ys_gg_{opacity:.3}" /*__inner_css_end__*/, "6h1ys_gg_") /*__reshadow_css_end__*/, {
23
+ "__SBubble": "___SBubble_6h1ys_gg_",
24
+ "_color": "__color_6h1ys_gg_",
25
+ "--color": "--color_6h1ys",
26
+ "_transparent": "__transparent_6h1ys_gg_",
27
+ "__SCenter": "___SCenter_6h1ys_gg_",
28
+ "__SLabel": "___SLabel_6h1ys_gg_",
29
+ "_position_right": "_position_right_6h1ys_gg_",
30
+ "_position_left": "_position_left_6h1ys_gg_",
31
+ "--duration": "--duration_6h1ys"
32
32
  });
33
33
  var BubbleRoot = /*#__PURE__*/function (_Component) {
34
34
  _inherits(BubbleRoot, _Component);
@@ -82,9 +82,10 @@ var BubbleRoot = /*#__PURE__*/function (_Component) {
82
82
  })))]).range([5.5, 50.5]);
83
83
  var selectRect = transition().selection().selectAll("[id^=".concat(uid).concat(uid, "]")).attr('r', 0);
84
84
  var selectRectNode = selectRect.node();
85
- if (duration > 0 && selectRectNode) {
85
+ if (selectRectNode) {
86
86
  selectRect.transition().duration(duration).attr('r', function (_, ind) {
87
- return z(data[ind][value]);
87
+ var _data$ind;
88
+ return z((_data$ind = data[ind]) === null || _data$ind === void 0 ? void 0 : _data$ind[value]);
88
89
  });
89
90
  }
90
91
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Bubble.js","names":["React","scaleSqrt","transition","Component","Root","sstyled","canUseDOM","uniqueIDEnhancement","createElement","CONSTANT","measureText","Tooltip","style","_sstyled","insert","BubbleRoot","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","document","visible","props","tooltipProps","_ref4","x","clientX","y","clientY","eventEmitter","asProps","virtualElement","getBoundingClientRect","generateGetBoundingClientRect","VIRTUAL_ELEMENT","emit","_createClass","key","value","undefined","width","height","top","right","bottom","left","animationCircle","_this$asProps","duration","uid","data","z","domain","Math","max","_toConsumableArray","map","el","range","selectRect","selection","selectAll","attr","selectRectNode","node","_","ind","componentDidUpdate","componentDidMount","renderCircle","d","i","_ref2","_d$color","_this$asProps2","color","scale","offset","styles","label","markedCross","size","transparent","resolveColor","_scale","_slicedToArray","xScale","yScale","SBubble","Element","SCenter","SLabel","margin","min","labelPosition","labelDistance","cn","bindHandlerTooltip","xIndex","index","render","_this$asProps3","_scale2","xSize","abs","ySize","xMargin","yMargin","dataHintsHandler","specifyDataRowFields","establishDataType","Fragment","bind","id","BubbleTooltip","_ref","arguments[0]","_ref3","SBubbleTooltip","_objectSpread","_assignProps","Bubble","_______childrenComponents"],"sources":["../../src/Bubble.jsx"],"sourcesContent":["import React from 'react';\nimport { scaleSqrt } from 'd3-scale';\nimport { transition } from 'd3-transition';\nimport { Component, Root, sstyled } from '@semcore/core';\nimport canUseDOM from '@semcore/utils/lib/canUseDOM';\nimport uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';\nimport createElement from './createElement';\nimport { CONSTANT, measureText } from './utils';\nimport Tooltip from './Tooltip';\n\nimport style from './style/bubble.shadow.css';\n\nclass BubbleRoot extends Component {\n static displayName = 'Bubble';\n static style = style;\n static enhance = [uniqueIDEnhancement()];\n\n static defaultProps = {\n offset: [0, 0],\n duration: 500,\n markedCross: true,\n };\n\n virtualElement = canUseDOM() ? document.createElement('div') : {};\n\n generateGetBoundingClientRect(x = 0, y = 0) {\n return () => ({ width: 0, height: 0, top: y, right: x, bottom: y, left: x });\n }\n\n bindHandlerTooltip = (visible, props, tooltipProps) => ({ clientX: x, clientY: y }) => {\n const { eventEmitter } = this.asProps;\n this.virtualElement.getBoundingClientRect = this.generateGetBoundingClientRect(x, y);\n this.virtualElement[CONSTANT.VIRTUAL_ELEMENT] = true;\n eventEmitter.emit('onTooltipVisible', visible, props, tooltipProps, this.virtualElement);\n };\n\n animationCircle() {\n const { duration, uid, data, value } = this.asProps;\n const z = scaleSqrt()\n .domain([0, Math.max(...data.map((el) => el[value]))])\n .range([5.5, 50.5]);\n\n const selectRect = transition().selection().selectAll(`[id^=${uid}${uid}]`).attr('r', 0);\n\n const selectRectNode = selectRect.node();\n if (duration > 0 && selectRectNode) {\n selectRect\n .transition()\n .duration(duration)\n .attr('r', function (_, ind) {\n return z(data[ind][value]);\n });\n }\n }\n\n componentDidUpdate() {\n this.animationCircle();\n }\n\n componentDidMount() {\n this.animationCircle();\n }\n\n renderCircle(d, i) {\n const {\n color,\n scale,\n x,\n y,\n offset,\n styles,\n uid,\n duration,\n value,\n label,\n markedCross,\n size,\n data,\n transparent,\n resolveColor,\n } = this.asProps;\n const [xScale, yScale] = scale;\n\n const SBubble = this.Element;\n const SCenter = 'text';\n const SLabel = 'text';\n const z = scaleSqrt()\n .domain([0, Math.max(...data.map((el) => el[value]))])\n .range([5.5, 50.5]);\n\n const margin = Math.min(xScale.range()[0], xScale.range()[1]);\n\n const labelPosition =\n size[0] - 2 * margin - (xScale(d[x]) + offset[0] + z(d[value])) < measureText(d[label])\n ? 'right'\n : 'left';\n const labelDistance = {\n right: xScale(d[x]) + offset[0] - z(d[value]),\n left: xScale(d[x]) + offset[0] + z(d[value]),\n }[labelPosition];\n\n return sstyled(styles)(\n <g\n key={`circle(#${i})`}\n onMouseMove={this.bindHandlerTooltip(true, this.props, { xIndex: i, index: i })}\n onMouseLeave={this.bindHandlerTooltip(false, this.props, { xIndex: i, index: i })}\n >\n {markedCross && (\n <SCenter\n aria-hidden\n x={xScale(d[x]) + offset[0]}\n y={yScale(d[y]) + offset[1]}\n dy='.3em'\n clipPath={`url(#${uid})`}\n color={resolveColor(d[color] ?? color)}\n transparent={transparent}\n >\n &#43;\n </SCenter>\n )}\n <SBubble\n aria-hidden\n id={`${uid}${uid}`}\n index={i}\n render='circle'\n clipPath={`url(#${uid})`}\n cx={xScale(d[x]) + offset[0]}\n cy={yScale(d[y]) + offset[1]}\n color={resolveColor(d[color])}\n r={z(d[value])}\n use:duration={`${duration}ms`}\n transparent={transparent}\n />\n {d[label] && (\n <SLabel\n aria-hidden\n x={labelDistance}\n y={yScale(d[y]) + offset[1]}\n dy='.3em'\n clipPath={`url(#${uid})`}\n position={labelPosition}\n color={resolveColor(d[color])}\n transparent={transparent}\n >\n {d[label]}\n </SLabel>\n )}\n </g>,\n );\n }\n\n render() {\n const { data, uid, scale, x, y, value } = this.asProps;\n const [xScale, yScale] = scale;\n const xSize = Math.abs(xScale.range()[0] - xScale.range()[1]);\n const ySize = Math.abs(yScale.range()[0] - yScale.range()[1]);\n const xMargin = Math.min(xScale.range()[0], xScale.range()[1]);\n const yMargin = Math.min(yScale.range()[0], yScale.range()[1]);\n\n this.asProps.dataHintsHandler.specifyDataRowFields(x, y, value);\n this.asProps.dataHintsHandler.establishDataType('points-cloud');\n\n return (\n <>\n {data.map(this.renderCircle.bind(this))}\n {data.map(this.animationCircle.bind(this))}\n <clipPath aria-hidden id={uid}>\n <rect x={xMargin} y={yMargin} width={`${xSize}px`} height={`${ySize}px`} />{' '}\n </clipPath>\n </>\n );\n }\n}\n\nconst BubbleTooltip = (props) => {\n const SBubbleTooltip = Root;\n return sstyled(props.styles)(<SBubbleTooltip render={Tooltip} excludeAnchorProps />);\n};\n\nconst Bubble = createElement(BubbleRoot, {\n Tooltip: [BubbleTooltip, Tooltip._______childrenComponents],\n});\n\nexport default Bubble;\n"],"mappings":";;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,QAAQ,UAAU;AACpC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,SAAS,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AACxD,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,mBAAmB,MAAM,6BAA6B;AAC7D,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,SAASC,QAAQ,EAAEC,WAAW,QAAQ,SAAS;AAC/C,OAAOC,OAAO,MAAM,WAAW;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAAA,IAI1BC,UAAU,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,UAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,UAAA;EAAA,SAAAA,WAAA;IAAA,IAAAK,KAAA;IAAAC,eAAA,OAAAN,UAAA;IAAA,SAAAO,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA;MAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA;IAA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AAC;AAAAwB,eAAA,CAHpChB,UAAU,kBAKQ;EACpB2E,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;EACd7B,QAAQ,EAAE,GAAG;EACbgC,WAAW,EAAE;AACf,CAAC;AAyJH,IAAMkC,aAAa,GAAG,SAAhBA,aAAaA,CAAI5F,KAAK,EAAK;EAAA,IAAA6F,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC/B,IAAMC,cAAc,GACiCxH,OAAO;EAA5D,OAAAuH,KAAA,GAAO7H,OAAO,CAAC8B,KAAK,CAACwD,MAAM,CAAC,eAAC3F,KAAA,CAAAQ,aAAA,CAAC2H,cAAc,EAAAD,KAAA,CAAArB,EAAA,mBAAAuB,aAAA,KAAAC,YAAA;IAAA;EAAA,GAAAL,IAAA,IAAuC;AACrF,CAAC;AAED,IAAMM,MAAM,GAAG9H,aAAa,CAACO,UAAU,EAAE;EACvCJ,OAAO,EAAE,CAACoH,aAAa,EAAEpH,OAAO,CAAC4H,yBAAyB;AAC5D,CAAC,CAAC;AAEF,eAAeD,MAAM"}
1
+ {"version":3,"file":"Bubble.js","names":["React","scaleSqrt","transition","Component","Root","sstyled","canUseDOM","uniqueIDEnhancement","createElement","CONSTANT","measureText","Tooltip","style","_sstyled","insert","BubbleRoot","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","document","visible","props","tooltipProps","_ref4","x","clientX","y","clientY","eventEmitter","asProps","virtualElement","getBoundingClientRect","generateGetBoundingClientRect","VIRTUAL_ELEMENT","emit","_createClass","key","value","undefined","width","height","top","right","bottom","left","animationCircle","_this$asProps","duration","uid","data","z","domain","Math","max","_toConsumableArray","map","el","range","selectRect","selection","selectAll","attr","selectRectNode","node","_","ind","_data$ind","componentDidUpdate","componentDidMount","renderCircle","d","i","_ref2","_d$color","_this$asProps2","color","scale","offset","styles","label","markedCross","size","transparent","resolveColor","_scale","_slicedToArray","xScale","yScale","SBubble","Element","SCenter","SLabel","margin","min","labelPosition","labelDistance","cn","bindHandlerTooltip","xIndex","index","render","_this$asProps3","_scale2","xSize","abs","ySize","xMargin","yMargin","dataHintsHandler","specifyDataRowFields","establishDataType","Fragment","bind","id","BubbleTooltip","_ref","arguments[0]","_ref3","SBubbleTooltip","_objectSpread","_assignProps","Bubble","_______childrenComponents"],"sources":["../../src/Bubble.jsx"],"sourcesContent":["import React from 'react';\nimport { scaleSqrt } from 'd3-scale';\nimport { transition } from 'd3-transition';\nimport { Component, Root, sstyled } from '@semcore/core';\nimport canUseDOM from '@semcore/utils/lib/canUseDOM';\nimport uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';\nimport createElement from './createElement';\nimport { CONSTANT, measureText } from './utils';\nimport Tooltip from './Tooltip';\n\nimport style from './style/bubble.shadow.css';\n\nclass BubbleRoot extends Component {\n static displayName = 'Bubble';\n static style = style;\n static enhance = [uniqueIDEnhancement()];\n\n static defaultProps = {\n offset: [0, 0],\n duration: 500,\n markedCross: true,\n };\n\n virtualElement = canUseDOM() ? document.createElement('div') : {};\n\n generateGetBoundingClientRect(x = 0, y = 0) {\n return () => ({ width: 0, height: 0, top: y, right: x, bottom: y, left: x });\n }\n\n bindHandlerTooltip = (visible, props, tooltipProps) => ({ clientX: x, clientY: y }) => {\n const { eventEmitter } = this.asProps;\n this.virtualElement.getBoundingClientRect = this.generateGetBoundingClientRect(x, y);\n this.virtualElement[CONSTANT.VIRTUAL_ELEMENT] = true;\n eventEmitter.emit('onTooltipVisible', visible, props, tooltipProps, this.virtualElement);\n };\n\n animationCircle() {\n const { duration, uid, data, value } = this.asProps;\n const z = scaleSqrt()\n .domain([0, Math.max(...data.map((el) => el[value]))])\n .range([5.5, 50.5]);\n\n const selectRect = transition().selection().selectAll(`[id^=${uid}${uid}]`).attr('r', 0);\n\n const selectRectNode = selectRect.node();\n if (selectRectNode) {\n selectRect\n .transition()\n .duration(duration)\n .attr('r', function (_, ind) {\n return z(data[ind]?.[value]);\n });\n }\n }\n\n componentDidUpdate() {\n this.animationCircle();\n }\n\n componentDidMount() {\n this.animationCircle();\n }\n\n renderCircle(d, i) {\n const {\n color,\n scale,\n x,\n y,\n offset,\n styles,\n uid,\n duration,\n value,\n label,\n markedCross,\n size,\n data,\n transparent,\n resolveColor,\n } = this.asProps;\n const [xScale, yScale] = scale;\n\n const SBubble = this.Element;\n const SCenter = 'text';\n const SLabel = 'text';\n const z = scaleSqrt()\n .domain([0, Math.max(...data.map((el) => el[value]))])\n .range([5.5, 50.5]);\n\n const margin = Math.min(xScale.range()[0], xScale.range()[1]);\n\n const labelPosition =\n size[0] - 2 * margin - (xScale(d[x]) + offset[0] + z(d[value])) < measureText(d[label])\n ? 'right'\n : 'left';\n const labelDistance = {\n right: xScale(d[x]) + offset[0] - z(d[value]),\n left: xScale(d[x]) + offset[0] + z(d[value]),\n }[labelPosition];\n\n return sstyled(styles)(\n <g\n key={`circle(#${i})`}\n onMouseMove={this.bindHandlerTooltip(true, this.props, { xIndex: i, index: i })}\n onMouseLeave={this.bindHandlerTooltip(false, this.props, { xIndex: i, index: i })}\n >\n {markedCross && (\n <SCenter\n aria-hidden\n x={xScale(d[x]) + offset[0]}\n y={yScale(d[y]) + offset[1]}\n dy='.3em'\n clipPath={`url(#${uid})`}\n color={resolveColor(d[color] ?? color)}\n transparent={transparent}\n >\n &#43;\n </SCenter>\n )}\n <SBubble\n aria-hidden\n id={`${uid}${uid}`}\n index={i}\n render='circle'\n clipPath={`url(#${uid})`}\n cx={xScale(d[x]) + offset[0]}\n cy={yScale(d[y]) + offset[1]}\n color={resolveColor(d[color])}\n r={z(d[value])}\n use:duration={`${duration}ms`}\n transparent={transparent}\n />\n {d[label] && (\n <SLabel\n aria-hidden\n x={labelDistance}\n y={yScale(d[y]) + offset[1]}\n dy='.3em'\n clipPath={`url(#${uid})`}\n position={labelPosition}\n color={resolveColor(d[color])}\n transparent={transparent}\n >\n {d[label]}\n </SLabel>\n )}\n </g>,\n );\n }\n\n render() {\n const { data, uid, scale, x, y, value } = this.asProps;\n const [xScale, yScale] = scale;\n const xSize = Math.abs(xScale.range()[0] - xScale.range()[1]);\n const ySize = Math.abs(yScale.range()[0] - yScale.range()[1]);\n const xMargin = Math.min(xScale.range()[0], xScale.range()[1]);\n const yMargin = Math.min(yScale.range()[0], yScale.range()[1]);\n\n this.asProps.dataHintsHandler.specifyDataRowFields(x, y, value);\n this.asProps.dataHintsHandler.establishDataType('points-cloud');\n\n return (\n <>\n {data.map(this.renderCircle.bind(this))}\n {data.map(this.animationCircle.bind(this))}\n <clipPath aria-hidden id={uid}>\n <rect x={xMargin} y={yMargin} width={`${xSize}px`} height={`${ySize}px`} />{' '}\n </clipPath>\n </>\n );\n }\n}\n\nconst BubbleTooltip = (props) => {\n const SBubbleTooltip = Root;\n return sstyled(props.styles)(<SBubbleTooltip render={Tooltip} excludeAnchorProps />);\n};\n\nconst Bubble = createElement(BubbleRoot, {\n Tooltip: [BubbleTooltip, Tooltip._______childrenComponents],\n});\n\nexport default Bubble;\n"],"mappings":";;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,QAAQ,UAAU;AACpC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,SAAS,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AACxD,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,mBAAmB,MAAM,6BAA6B;AAC7D,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,SAASC,QAAQ,EAAEC,WAAW,QAAQ,SAAS;AAC/C,OAAOC,OAAO,MAAM,WAAW;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAAA,IAI1BC,UAAU,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,UAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,UAAA;EAA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KAAK,OAAK;QAAC/D,MAAM,KAAAxB,MAAA,CAAKyF,KAAK;MAAK,EAAG,EAAC,GAAG,CACtE,CACV;IAEP;EAAC;EAAA,OAAAxG,UAAA;AAAA,EA/JsBZ,SAAS;AAAA4B,eAAA,CAA5BhB,UAAU,iBACO,QAAQ;AAAAgB,eAAA,CADzBhB,UAAU,WAECH,KAAK;AAAAmB,eAAA,CAFhBhB,UAAU,aAGG,CAACR,mBAAmB,EAAE,CAAC;AAAAwB,eAAA,CAHpChB,UAAU,kBAKQ;EACpB4E,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;EACd9B,QAAQ,EAAE,GAAG;EACbiC,WAAW,EAAE;AACf,CAAC;AAyJH,IAAMkC,aAAa,GAAG,SAAhBA,aAAaA,CAAI7F,KAAK,EAAK;EAAA,IAAA8F,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC/B,IAAMC,cAAc,GACiCzH,OAAO;EAA5D,OAAAwH,KAAA,GAAO9H,OAAO,CAAC8B,KAAK,CAACyD,MAAM,CAAC,eAAC5F,KAAA,CAAAQ,aAAA,CAAC4H,cAAc,EAAAD,KAAA,CAAArB,EAAA,mBAAAuB,aAAA,KAAAC,YAAA;IAAA;EAAA,GAAAL,IAAA,IAAuC;AACrF,CAAC;AAED,IAAMM,MAAM,GAAG/H,aAAa,CAACO,UAAU,EAAE;EACvCJ,OAAO,EAAE,CAACqH,aAAa,EAAErH,OAAO,CAAC6H,yBAAyB;AAC5D,CAAC,CAAC;AAEF,eAAeD,MAAM"}
@@ -22,13 +22,13 @@ import createElement from './createElement';
22
22
  import { CONSTANT, getChartDefaultColorName } from './utils';
23
23
  import Tooltip from './Tooltip';
24
24
  /*__reshadow-styles__:"./style/donut.shadow.css"*/
25
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_xj50o_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_xj50o_gg_.__color_xj50o_gg_{fill:var(--color_xj50o)}.___SPie_xj50o_gg_.__transparent_xj50o_gg_{opacity:.3}.___SEmptyData_xj50o_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_xj50o_gg_.__color_xj50o_gg_{fill:var(--color_xj50o)}.___SLabel_xj50o_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "xj50o_gg_") /*__reshadow_css_end__*/, {
26
- "__SPie": "___SPie_xj50o_gg_",
27
- "_color": "__color_xj50o_gg_",
28
- "--color": "--color_xj50o",
29
- "_transparent": "__transparent_xj50o_gg_",
30
- "__SEmptyData": "___SEmptyData_xj50o_gg_",
31
- "__SLabel": "___SLabel_xj50o_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_1muu1_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_1muu1_gg_.__color_1muu1_gg_{fill:var(--color_1muu1)}.___SPie_1muu1_gg_.__transparent_1muu1_gg_{opacity:.3}.___SEmptyData_1muu1_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_1muu1_gg_.__color_1muu1_gg_{fill:var(--color_1muu1)}.___SLabel_1muu1_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "1muu1_gg_") /*__reshadow_css_end__*/, {
26
+ "__SPie": "___SPie_1muu1_gg_",
27
+ "_color": "__color_1muu1_gg_",
28
+ "--color": "--color_1muu1",
29
+ "_transparent": "__transparent_1muu1_gg_",
30
+ "__SEmptyData": "___SEmptyData_1muu1_gg_",
31
+ "__SLabel": "___SLabel_1muu1_gg_"
32
32
  });
33
33
  var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
34
34
  function transitionAnglePie(_ref6) {
@@ -7,14 +7,14 @@ import trottle from 'intergalactic/utils/lib/rafTrottle';
7
7
  import createElement from './createElement';
8
8
  import { eventToPoint, invert, interpolateValue } from './utils';
9
9
  /*__reshadow-styles__:"./style/dot.shadow.css"*/
10
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_1osxb_gg_ .___SDot_1osxb_gg_{transition-duration:var(--duration_1osxb)}.___SDot_1osxb_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_1osxb_gg_.__hide_1osxb_gg_{display:none}.___SDot_1osxb_gg_.__color_1osxb_gg_{fill:var(--color_1osxb)}.___SDot_1osxb_gg_.__transparent_1osxb_gg_{opacity:.3}" /*__inner_css_end__*/, "1osxb_gg_") /*__reshadow_css_end__*/, {
11
- "__SDot": "___SDot_1osxb_gg_",
12
- "_hide": "__hide_1osxb_gg_",
13
- "_color": "__color_1osxb_gg_",
14
- "--color": "--color_1osxb",
15
- "_transparent": "__transparent_1osxb_gg_",
16
- "__SDots": "___SDots_1osxb_gg_",
17
- "--duration": "--duration_1osxb"
10
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_1iabl_gg_ .___SDot_1iabl_gg_{transition-duration:var(--duration_1iabl)}.___SDot_1iabl_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_1iabl_gg_.__hide_1iabl_gg_{display:none}.___SDot_1iabl_gg_.__color_1iabl_gg_{fill:var(--color_1iabl)}.___SDot_1iabl_gg_.__transparent_1iabl_gg_{opacity:.3}" /*__inner_css_end__*/, "1iabl_gg_") /*__reshadow_css_end__*/, {
11
+ "__SDot": "___SDot_1iabl_gg_",
12
+ "_hide": "__hide_1iabl_gg_",
13
+ "_color": "__color_1iabl_gg_",
14
+ "--color": "--color_1iabl",
15
+ "_transparent": "__transparent_1iabl_gg_",
16
+ "__SDots": "___SDots_1iabl_gg_",
17
+ "--duration": "--duration_1iabl"
18
18
  });
19
19
  var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
20
20
  function Dots(props) {
@@ -12,14 +12,14 @@ import createElement from './createElement';
12
12
  import AnimatedClipPath from './AnimatedClipPath';
13
13
  import { scaleToBand, roundedPath } from './utils';
14
14
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_16u41_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_16u41);transition-timing-function:ease-in-out}.___SBar_16u41_gg_.__color_16u41_gg_{fill:var(--color_16u41)}.___SBar_16u41_gg_.__hide_16u41_gg_{display:none}.___SBar_16u41_gg_.__transparent_16u41_gg_{opacity:.3}.___SBackground_16u41_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "16u41_gg_") /*__reshadow_css_end__*/, {
16
- "__SBar": "___SBar_16u41_gg_",
17
- "--duration": "--duration_16u41",
18
- "_color": "__color_16u41_gg_",
19
- "--color": "--color_16u41",
20
- "_hide": "__hide_16u41_gg_",
21
- "_transparent": "__transparent_16u41_gg_",
22
- "__SBackground": "___SBackground_16u41_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_17f9y_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_17f9y);transition-timing-function:ease-in-out}.___SBar_17f9y_gg_.__color_17f9y_gg_{fill:var(--color_17f9y)}.___SBar_17f9y_gg_.__hide_17f9y_gg_{display:none}.___SBar_17f9y_gg_.__transparent_17f9y_gg_{opacity:.3}.___SBackground_17f9y_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "17f9y_gg_") /*__reshadow_css_end__*/, {
16
+ "__SBar": "___SBar_17f9y_gg_",
17
+ "--duration": "--duration_17f9y",
18
+ "_color": "__color_17f9y_gg_",
19
+ "--color": "--color_17f9y",
20
+ "_hide": "__hide_17f9y_gg_",
21
+ "_transparent": "__transparent_17f9y_gg_",
22
+ "__SBackground": "___SBackground_17f9y_gg_"
23
23
  });
24
24
  export var MIN_WIDTH = 2;
25
25
  var calcPartBarX = function calcPartBarX(x, minWidth, width) {
@@ -16,9 +16,9 @@ import trottle from 'intergalactic/utils/lib/rafTrottle';
16
16
  import createElement from './createElement';
17
17
  import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, CONSTANT, scaleToBand } from './utils';
18
18
  /*__reshadow-styles__:"./style/hover.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_x35l3_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_x35l3_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "x35l3_gg_") /*__reshadow_css_end__*/, {
20
- "__SHoverLine": "___SHoverLine_x35l3_gg_",
21
- "__SHoverRect": "___SHoverRect_x35l3_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_5nwsf_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_5nwsf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "5nwsf_gg_") /*__reshadow_css_end__*/, {
20
+ "__SHoverLine": "___SHoverLine_5nwsf_gg_",
21
+ "__SHoverRect": "___SHoverRect_5nwsf_gg_"
22
22
  });
23
23
  import Tooltip from './Tooltip';
24
24
  var Hover = /*#__PURE__*/function (_Component) {
@@ -14,15 +14,15 @@ import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolat
14
14
  import Dots from './Dots';
15
15
  import AnimatedClipPath from './AnimatedClipPath';
16
16
  /*__reshadow-styles__:"./style/line.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_n85t6_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_n85t6);transition-timing-function:ease-in-out}.___SLine_n85t6_gg_.__color_n85t6_gg_{stroke:var(--color_n85t6)}.___SLine_n85t6_gg_.__hide_n85t6_gg_{display:none}.___SLine_n85t6_gg_.__transparent_n85t6_gg_{opacity:.3}.___SNull_n85t6_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_n85t6_gg_.__hide_n85t6_gg_{display:none}.___SAria_n85t6_gg_{transition-property:d;transition-duration:var(--duration_n85t6);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SAria_n85t6_gg_.__color_n85t6_gg_{fill:var(--color_n85t6)}" /*__inner_css_end__*/, "n85t6_gg_") /*__reshadow_css_end__*/, {
18
- "__SLine": "___SLine_n85t6_gg_",
19
- "--duration": "--duration_n85t6",
20
- "_color": "__color_n85t6_gg_",
21
- "--color": "--color_n85t6",
22
- "_hide": "__hide_n85t6_gg_",
23
- "_transparent": "__transparent_n85t6_gg_",
24
- "__SNull": "___SNull_n85t6_gg_",
25
- "__SAria": "___SAria_n85t6_gg_"
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_9jk4k_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_9jk4k);transition-timing-function:ease-in-out}.___SLine_9jk4k_gg_.__color_9jk4k_gg_{stroke:var(--color_9jk4k)}.___SLine_9jk4k_gg_.__hide_9jk4k_gg_{display:none}.___SLine_9jk4k_gg_.__transparent_9jk4k_gg_{opacity:.3}.___SNull_9jk4k_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_9jk4k_gg_.__hide_9jk4k_gg_{display:none}.___SAria_9jk4k_gg_{transition-property:d;transition-duration:var(--duration_9jk4k);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SAria_9jk4k_gg_.__color_9jk4k_gg_{fill:var(--color_9jk4k)}" /*__inner_css_end__*/, "9jk4k_gg_") /*__reshadow_css_end__*/, {
18
+ "__SLine": "___SLine_9jk4k_gg_",
19
+ "--duration": "--duration_9jk4k",
20
+ "_color": "__color_9jk4k_gg_",
21
+ "--color": "--color_9jk4k",
22
+ "_hide": "__hide_9jk4k_gg_",
23
+ "_transparent": "__transparent_9jk4k_gg_",
24
+ "__SNull": "___SNull_9jk4k_gg_",
25
+ "__SAria": "___SAria_9jk4k_gg_"
26
26
  });
27
27
  var LineRoot = /*#__PURE__*/function (_Component) {
28
28
  _inherits(LineRoot, _Component);
@@ -18,9 +18,9 @@ import { PlotA11yModule } from './a11y/PlotA11yModule';
18
18
  import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
19
19
  import colorResolverEnhance from 'intergalactic/utils/lib/enhances/resolveColorEnhance';
20
20
  /*__reshadow-styles__:"./style/plot.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_ees9s_gg_{overflow:hidden}.___SPlot_ees9s_gg_:active,.___SPlot_ees9s_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_ees9s_gg_.__keyboardFocused_ees9s_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__*/, "ees9s_gg_") /*__reshadow_css_end__*/, {
22
- "__SPlot": "___SPlot_ees9s_gg_",
23
- "_keyboardFocused": "__keyboardFocused_ees9s_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_7k30v_gg_{overflow:hidden}.___SPlot_7k30v_gg_:active,.___SPlot_7k30v_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_7k30v_gg_.__keyboardFocused_7k30v_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__*/, "7k30v_gg_") /*__reshadow_css_end__*/, {
22
+ "__SPlot": "___SPlot_7k30v_gg_",
23
+ "_keyboardFocused": "__keyboardFocused_7k30v_gg_"
24
24
  });
25
25
  var PlotRoot = /*#__PURE__*/function (_Component) {
26
26
  _inherits(PlotRoot, _Component);
@@ -21,23 +21,23 @@ import createElement from './createElement';
21
21
  import { CONSTANT, eventToPoint, getChartDefaultColorName, measureText } from './utils';
22
22
  import Tooltip from './Tooltip';
23
23
  /*__reshadow-styles__:"./style/radar.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_fcjot_gg_,.___SAxisTick_fcjot_gg_,.___SAxis_fcjot_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_fcjot_gg_,.___SAxisTick_fcjot_gg_{stroke-dasharray:2}.___SAxisLine_fcjot_gg_.__active_fcjot_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_fcjot_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_fcjot_gg_.__xDirection_fcjot_gg_{text-anchor:var(--xDirection_fcjot)}.___SAxisLabel_fcjot_gg_.__yDirection_fcjot_gg_{dominant-baseline:var(--yDirection_fcjot)}.___SPolygonDot_fcjot_gg_,.___SPolygon_fcjot_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_fcjot_gg_{opacity:.2}.___SPolygon_fcjot_gg_.__color_fcjot_gg_{fill:var(--color_fcjot)}.___SPolygonDot_fcjot_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_fcjot_gg_.__transparent_fcjot_gg_{opacity:.3}.___SPolygonDot_fcjot_gg_.__color_fcjot_gg_{fill:var(--color_fcjot)}.___SPolygonLine_fcjot_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_fcjot_gg_.__transparent_fcjot_gg_{opacity:.3}.___SPolygonLine_fcjot_gg_.__color_fcjot_gg_{stroke:var(--color_fcjot)}.___SPieRect_fcjot_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "fcjot_gg_") /*__reshadow_css_end__*/, {
25
- "__SAxis": "___SAxis_fcjot_gg_",
26
- "__SAxisLine": "___SAxisLine_fcjot_gg_",
27
- "__SAxisTick": "___SAxisTick_fcjot_gg_",
28
- "_active": "__active_fcjot_gg_",
29
- "__SAxisLabel": "___SAxisLabel_fcjot_gg_",
30
- "_xDirection": "__xDirection_fcjot_gg_",
31
- "--xDirection": "--xDirection_fcjot",
32
- "_yDirection": "__yDirection_fcjot_gg_",
33
- "--yDirection": "--yDirection_fcjot",
34
- "__SPolygon": "___SPolygon_fcjot_gg_",
35
- "_color": "__color_fcjot_gg_",
36
- "--color": "--color_fcjot",
37
- "__SPolygonDot": "___SPolygonDot_fcjot_gg_",
38
- "_transparent": "__transparent_fcjot_gg_",
39
- "__SPolygonLine": "___SPolygonLine_fcjot_gg_",
40
- "__SPieRect": "___SPieRect_fcjot_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_1c9tw_gg_,.___SAxisTick_1c9tw_gg_,.___SAxis_1c9tw_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_1c9tw_gg_,.___SAxisTick_1c9tw_gg_{stroke-dasharray:2}.___SAxisLine_1c9tw_gg_.__active_1c9tw_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_1c9tw_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1c9tw_gg_.__xDirection_1c9tw_gg_{text-anchor:var(--xDirection_1c9tw)}.___SAxisLabel_1c9tw_gg_.__yDirection_1c9tw_gg_{dominant-baseline:var(--yDirection_1c9tw)}.___SPolygonDot_1c9tw_gg_,.___SPolygon_1c9tw_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_1c9tw_gg_{opacity:.2}.___SPolygon_1c9tw_gg_.__color_1c9tw_gg_{fill:var(--color_1c9tw)}.___SPolygonDot_1c9tw_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_1c9tw_gg_.__transparent_1c9tw_gg_{opacity:.3}.___SPolygonDot_1c9tw_gg_.__color_1c9tw_gg_{fill:var(--color_1c9tw)}.___SPolygonLine_1c9tw_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_1c9tw_gg_.__transparent_1c9tw_gg_{opacity:.3}.___SPolygonLine_1c9tw_gg_.__color_1c9tw_gg_{stroke:var(--color_1c9tw)}.___SPieRect_1c9tw_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1c9tw_gg_") /*__reshadow_css_end__*/, {
25
+ "__SAxis": "___SAxis_1c9tw_gg_",
26
+ "__SAxisLine": "___SAxisLine_1c9tw_gg_",
27
+ "__SAxisTick": "___SAxisTick_1c9tw_gg_",
28
+ "_active": "__active_1c9tw_gg_",
29
+ "__SAxisLabel": "___SAxisLabel_1c9tw_gg_",
30
+ "_xDirection": "__xDirection_1c9tw_gg_",
31
+ "--xDirection": "--xDirection_1c9tw",
32
+ "_yDirection": "__yDirection_1c9tw_gg_",
33
+ "--yDirection": "--yDirection_1c9tw",
34
+ "__SPolygon": "___SPolygon_1c9tw_gg_",
35
+ "_color": "__color_1c9tw_gg_",
36
+ "--color": "--color_1c9tw",
37
+ "__SPolygonDot": "___SPolygonDot_1c9tw_gg_",
38
+ "_transparent": "__transparent_1c9tw_gg_",
39
+ "__SPolygonLine": "___SPolygonLine_1c9tw_gg_",
40
+ "__SPieRect": "___SPieRect_1c9tw_gg_"
41
41
  });
42
42
  var clampAngle = function clampAngle(angle) {
43
43
  angle = angle % (2 * Math.PI);
@@ -20,16 +20,16 @@ import canUseDOM from 'intergalactic/utils/lib/canUseDOM';
20
20
  import createElement from './createElement';
21
21
  import { measureText } from './utils';
22
22
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
23
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_6vmvw_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_6vmvw_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_6vmvw_gg_.__color_6vmvw_gg_{stroke:var(--color_6vmvw)}.___SCap_6vmvw_gg_.__transparent_6vmvw_gg_,.___SIcon_6vmvw_gg_.__transparent_6vmvw_gg_,.___SLabel_6vmvw_gg_.__transparent_6vmvw_gg_,.___SLine_6vmvw_gg_.__transparent_6vmvw_gg_{opacity:.3}.___SCap_6vmvw_gg_{transition:r .1s}.___SLabel_6vmvw_gg_{fill:var(--color_6vmvw)}@media (hover:hover){.___SRadian_6vmvw_gg_:hover .___SLabel_6vmvw_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_6vmvw_gg_{transition:none}}" /*__inner_css_end__*/, "6vmvw_gg_") /*__reshadow_css_end__*/, {
24
- "__SRadian": "___SRadian_6vmvw_gg_",
25
- "__SLine": "___SLine_6vmvw_gg_",
26
- "_color": "__color_6vmvw_gg_",
27
- "--color": "--color_6vmvw",
28
- "_transparent": "__transparent_6vmvw_gg_",
29
- "__SCap": "___SCap_6vmvw_gg_",
30
- "__SIcon": "___SIcon_6vmvw_gg_",
31
- "__SLabel": "___SLabel_6vmvw_gg_",
32
- "__SLineCap": "___SLineCap_6vmvw_gg_"
23
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_botil_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_botil_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_botil_gg_.__color_botil_gg_{stroke:var(--color_botil)}.___SCap_botil_gg_.__transparent_botil_gg_,.___SIcon_botil_gg_.__transparent_botil_gg_,.___SLabel_botil_gg_.__transparent_botil_gg_,.___SLine_botil_gg_.__transparent_botil_gg_{opacity:.3}.___SCap_botil_gg_{transition:r .1s}.___SLabel_botil_gg_{fill:var(--color_botil)}@media (hover:hover){.___SRadian_botil_gg_:hover .___SLabel_botil_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_botil_gg_{transition:none}}" /*__inner_css_end__*/, "botil_gg_") /*__reshadow_css_end__*/, {
24
+ "__SRadian": "___SRadian_botil_gg_",
25
+ "__SLine": "___SLine_botil_gg_",
26
+ "_color": "__color_botil_gg_",
27
+ "--color": "--color_botil",
28
+ "_transparent": "__transparent_botil_gg_",
29
+ "__SCap": "___SCap_botil_gg_",
30
+ "__SIcon": "___SIcon_botil_gg_",
31
+ "__SLabel": "___SLabel_botil_gg_",
32
+ "__SLineCap": "___SLineCap_botil_gg_"
33
33
  });
34
34
  var baseAngle = -Math.PI / 2; // The top vertical line
35
35
  var RadialTreeBase = /*#__PURE__*/function (_Component) {