intergalactic 15.58.1 → 15.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/carousel/lib/cjs/Carousel.js +2 -2
  3. package/carousel/lib/cjs/Carousel.js.map +1 -1
  4. package/carousel/lib/es6/Carousel.js +2 -2
  5. package/carousel/lib/es6/Carousel.js.map +1 -1
  6. package/color-picker/lib/cjs/ColorPicker.js +2 -1
  7. package/color-picker/lib/cjs/ColorPicker.js.map +1 -1
  8. package/color-picker/lib/es6/ColorPicker.js +2 -1
  9. package/color-picker/lib/es6/ColorPicker.js.map +1 -1
  10. package/components.json +32 -32
  11. package/d3-chart/lib/cjs/Area.js +11 -11
  12. package/d3-chart/lib/cjs/Axis.js +14 -14
  13. package/d3-chart/lib/cjs/Bar.js +10 -10
  14. package/d3-chart/lib/cjs/Bubble.js +12 -12
  15. package/d3-chart/lib/cjs/Donut.js +9 -9
  16. package/d3-chart/lib/cjs/Dots.js +8 -8
  17. package/d3-chart/lib/cjs/HorizontalBar.js +10 -10
  18. package/d3-chart/lib/cjs/Hover.js +3 -3
  19. package/d3-chart/lib/cjs/Line.js +9 -9
  20. package/d3-chart/lib/cjs/Plot.js +3 -3
  21. package/d3-chart/lib/cjs/Radar.js +19 -19
  22. package/d3-chart/lib/cjs/RadialTree.js +11 -11
  23. package/d3-chart/lib/cjs/ReferenceLine.js +9 -9
  24. package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
  25. package/d3-chart/lib/cjs/Tooltip.js +9 -9
  26. package/d3-chart/lib/cjs/Venn.js +9 -9
  27. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  28. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +6 -4
  29. package/d3-chart/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  30. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  31. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  32. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  33. package/d3-chart/lib/es6/Area.js +11 -11
  34. package/d3-chart/lib/es6/Axis.js +14 -14
  35. package/d3-chart/lib/es6/Bar.js +10 -10
  36. package/d3-chart/lib/es6/Bubble.js +12 -12
  37. package/d3-chart/lib/es6/Donut.js +9 -9
  38. package/d3-chart/lib/es6/Dots.js +8 -8
  39. package/d3-chart/lib/es6/HorizontalBar.js +10 -10
  40. package/d3-chart/lib/es6/Hover.js +3 -3
  41. package/d3-chart/lib/es6/Line.js +9 -9
  42. package/d3-chart/lib/es6/Plot.js +3 -3
  43. package/d3-chart/lib/es6/Radar.js +19 -19
  44. package/d3-chart/lib/es6/RadialTree.js +11 -11
  45. package/d3-chart/lib/es6/ReferenceLine.js +9 -9
  46. package/d3-chart/lib/es6/ScatterPlot.js +9 -9
  47. package/d3-chart/lib/es6/Tooltip.js +9 -9
  48. package/d3-chart/lib/es6/Venn.js +9 -9
  49. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  50. package/d3-chart/lib/es6/a11y/PlotA11yView.js +6 -4
  51. package/d3-chart/lib/es6/a11y/PlotA11yView.js.map +1 -1
  52. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  53. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  54. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  55. package/data-table/lib/cjs/Head.js +2 -1
  56. package/data-table/lib/cjs/Head.js.map +1 -1
  57. package/data-table/lib/es6/Head.js +2 -1
  58. package/data-table/lib/es6/Head.js.map +1 -1
  59. package/icon/lib/cjs/Icon.js +3 -3
  60. package/icon/lib/cjs/Icon.js.map +1 -1
  61. package/icon/lib/es6/Icon.js +3 -3
  62. package/icon/lib/es6/Icon.js.map +1 -1
  63. package/inline-edit/lib/cjs/InlineEdit.js +4 -4
  64. package/inline-edit/lib/cjs/InlineEdit.js.map +1 -1
  65. package/inline-edit/lib/es6/InlineEdit.js +4 -4
  66. package/inline-edit/lib/es6/InlineEdit.js.map +1 -1
  67. package/inline-input/lib/cjs/InlineInput.js +4 -4
  68. package/inline-input/lib/cjs/InlineInput.js.map +1 -1
  69. package/inline-input/lib/es6/InlineInput.js +4 -4
  70. package/inline-input/lib/es6/InlineInput.js.map +1 -1
  71. package/input-tags/lib/cjs/InputTags.js +3 -3
  72. package/input-tags/lib/cjs/InputTags.js.map +1 -1
  73. package/input-tags/lib/es6/InputTags.js +3 -3
  74. package/input-tags/lib/es6/InputTags.js.map +1 -1
  75. package/package.json +1 -1
  76. package/pills/lib/cjs/Pills.js +2 -1
  77. package/pills/lib/cjs/Pills.js.map +1 -1
  78. package/pills/lib/es6/Pills.js +2 -1
  79. package/pills/lib/es6/Pills.js.map +1 -1
  80. package/switch/lib/cjs/Switch.js +5 -2
  81. package/switch/lib/cjs/Switch.js.map +1 -1
  82. package/switch/lib/es6/Switch.js +5 -2
  83. package/switch/lib/es6/Switch.js.map +1 -1
  84. package/tab-panel/lib/cjs/TabPanel.js +2 -1
  85. package/tab-panel/lib/cjs/TabPanel.js.map +1 -1
  86. package/tab-panel/lib/es6/TabPanel.js +2 -1
  87. package/tab-panel/lib/es6/TabPanel.js.map +1 -1
  88. package/tag/lib/cjs/Tag.js +4 -3
  89. package/tag/lib/cjs/Tag.js.map +1 -1
  90. package/tag/lib/es6/Tag.js +4 -3
  91. package/tag/lib/es6/Tag.js.map +1 -1
  92. package/tooltip/index.d.ts +4 -1
  93. package/tooltip/lib/cjs/Tooltip.js +14 -9
  94. package/tooltip/lib/cjs/Tooltip.js.map +1 -1
  95. package/tooltip/lib/cjs/index.d.js.map +1 -1
  96. package/tooltip/lib/cjs/style/tooltip.shadow.css +4 -0
  97. package/tooltip/lib/es6/Tooltip.js +14 -9
  98. package/tooltip/lib/es6/Tooltip.js.map +1 -1
  99. package/tooltip/lib/es6/index.d.js.map +1 -1
  100. package/tooltip/lib/es6/style/tooltip.shadow.css +4 -0
  101. package/tooltip/lib/types/index.d.ts +4 -1
  102. package/wizard/lib/cjs/Wizard.js +2 -1
  103. package/wizard/lib/cjs/Wizard.js.map +1 -1
  104. package/wizard/lib/es6/Wizard.js +2 -1
  105. package/wizard/lib/es6/Wizard.js.map +1 -1
@@ -29,25 +29,25 @@ var _utils = require("./utils");
29
29
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
30
30
  var _Pattern = require("./Pattern");
31
31
  /*__reshadow-styles__:"./style/radar.shadow.css"*/
32
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAxisLine_14ydc_gg_,.___SAxisTick_14ydc_gg_,.___SAxis_14ydc_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_14ydc_gg_,.___SAxisTick_14ydc_gg_{stroke-dasharray:2}.___SAxisLine_14ydc_gg_.__active_14ydc_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_14ydc_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_14ydc_gg_.__xDirection_14ydc_gg_{text-anchor:var(--xDirection_14ydc)}.___SAxisLabel_14ydc_gg_.__yDirection_14ydc_gg_{dominant-baseline:var(--yDirection_14ydc)}.___SPolygonDot_14ydc_gg_,.___SPolygon_14ydc_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_14ydc_gg_{opacity:.2}.___SPolygon_14ydc_gg_.__color_14ydc_gg_{fill:var(--color_14ydc)}.___SPolygon_14ydc_gg_.__pattern_14ydc_gg_.__color_14ydc_gg_{fill:var(--pattern_14ydc);stroke:var(--color_14ydc);stroke-width:1px}.___SPolygonDot_14ydc_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_14ydc_gg_.__transparent_14ydc_gg_{opacity:.3}.___SPolygonDot_14ydc_gg_.__color_14ydc_gg_{fill:var(--color_14ydc)}.___SPolygonLine_14ydc_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_14ydc_gg_.__transparent_14ydc_gg_{opacity:.3}.___SPolygonLine_14ydc_gg_.__color_14ydc_gg_{stroke:var(--color_14ydc)}.___SPieRect_14ydc_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "14ydc_gg_") /*__reshadow_css_end__*/, {
33
- "__SAxis": "___SAxis_14ydc_gg_",
34
- "__SAxisLine": "___SAxisLine_14ydc_gg_",
35
- "__SAxisTick": "___SAxisTick_14ydc_gg_",
36
- "_active": "__active_14ydc_gg_",
37
- "__SAxisLabel": "___SAxisLabel_14ydc_gg_",
38
- "_xDirection": "__xDirection_14ydc_gg_",
39
- "--xDirection": "--xDirection_14ydc",
40
- "_yDirection": "__yDirection_14ydc_gg_",
41
- "--yDirection": "--yDirection_14ydc",
42
- "__SPolygon": "___SPolygon_14ydc_gg_",
43
- "_color": "__color_14ydc_gg_",
44
- "--color": "--color_14ydc",
45
- "_pattern": "__pattern_14ydc_gg_",
46
- "--pattern": "--pattern_14ydc",
47
- "__SPolygonDot": "___SPolygonDot_14ydc_gg_",
48
- "_transparent": "__transparent_14ydc_gg_",
49
- "__SPolygonLine": "___SPolygonLine_14ydc_gg_",
50
- "__SPieRect": "___SPieRect_14ydc_gg_"
32
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAxisLine_pzb05_gg_,.___SAxisTick_pzb05_gg_,.___SAxis_pzb05_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_pzb05_gg_,.___SAxisTick_pzb05_gg_{stroke-dasharray:2}.___SAxisLine_pzb05_gg_.__active_pzb05_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_pzb05_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_pzb05_gg_.__xDirection_pzb05_gg_{text-anchor:var(--xDirection_pzb05)}.___SAxisLabel_pzb05_gg_.__yDirection_pzb05_gg_{dominant-baseline:var(--yDirection_pzb05)}.___SPolygonDot_pzb05_gg_,.___SPolygon_pzb05_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_pzb05_gg_{opacity:.2}.___SPolygon_pzb05_gg_.__color_pzb05_gg_{fill:var(--color_pzb05)}.___SPolygon_pzb05_gg_.__pattern_pzb05_gg_.__color_pzb05_gg_{fill:var(--pattern_pzb05);stroke:var(--color_pzb05);stroke-width:1px}.___SPolygonDot_pzb05_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_pzb05_gg_.__transparent_pzb05_gg_{opacity:.3}.___SPolygonDot_pzb05_gg_.__color_pzb05_gg_{fill:var(--color_pzb05)}.___SPolygonLine_pzb05_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_pzb05_gg_.__transparent_pzb05_gg_{opacity:.3}.___SPolygonLine_pzb05_gg_.__color_pzb05_gg_{stroke:var(--color_pzb05)}.___SPieRect_pzb05_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "pzb05_gg_") /*__reshadow_css_end__*/, {
33
+ "__SAxis": "___SAxis_pzb05_gg_",
34
+ "__SAxisLine": "___SAxisLine_pzb05_gg_",
35
+ "__SAxisTick": "___SAxisTick_pzb05_gg_",
36
+ "_active": "__active_pzb05_gg_",
37
+ "__SAxisLabel": "___SAxisLabel_pzb05_gg_",
38
+ "_xDirection": "__xDirection_pzb05_gg_",
39
+ "--xDirection": "--xDirection_pzb05",
40
+ "_yDirection": "__yDirection_pzb05_gg_",
41
+ "--yDirection": "--yDirection_pzb05",
42
+ "__SPolygon": "___SPolygon_pzb05_gg_",
43
+ "_color": "__color_pzb05_gg_",
44
+ "--color": "--color_pzb05",
45
+ "_pattern": "__pattern_pzb05_gg_",
46
+ "--pattern": "--pattern_pzb05",
47
+ "__SPolygonDot": "___SPolygonDot_pzb05_gg_",
48
+ "_transparent": "__transparent_pzb05_gg_",
49
+ "__SPolygonLine": "___SPolygonLine_pzb05_gg_",
50
+ "__SPieRect": "___SPieRect_pzb05_gg_"
51
51
  });
52
52
  var clampAngle = function clampAngle(angle) {
53
53
  angle = angle % (2 * Math.PI);
@@ -27,17 +27,17 @@ var _utils = require("./utils");
27
27
  var _Pattern = require("./Pattern");
28
28
  var _excluded = ["data"];
29
29
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
30
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SRadian_1x95e_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1x95e_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1x95e_gg_.__color_1x95e_gg_{stroke:var(--color_1x95e)}.___SLine_1x95e_gg_.__transparent_1x95e_gg_{opacity:.3}.___SCap_1x95e_gg_{transition:r .1s}.___SCap_1x95e_gg_.__pattern_1x95e_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1x95e_gg_.__transparent_1x95e_gg_,.___SIcon_1x95e_gg_.__transparent_1x95e_gg_,.___SLabel_1x95e_gg_.__transparent_1x95e_gg_{opacity:.3}.___SLabel_1x95e_gg_{fill:var(--color_1x95e)}@media (hover:hover){.___SRadian_1x95e_gg_:hover .___SLabel_1x95e_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1x95e_gg_{transition:none}}" /*__inner_css_end__*/, "1x95e_gg_") /*__reshadow_css_end__*/, {
31
- "__SRadian": "___SRadian_1x95e_gg_",
32
- "__SLine": "___SLine_1x95e_gg_",
33
- "_color": "__color_1x95e_gg_",
34
- "--color": "--color_1x95e",
35
- "_transparent": "__transparent_1x95e_gg_",
36
- "__SCap": "___SCap_1x95e_gg_",
37
- "_pattern": "__pattern_1x95e_gg_",
38
- "__SIcon": "___SIcon_1x95e_gg_",
39
- "__SLabel": "___SLabel_1x95e_gg_",
40
- "__SLineCap": "___SLineCap_1x95e_gg_"
30
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SRadian_uugdi_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_uugdi_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_uugdi_gg_.__color_uugdi_gg_{stroke:var(--color_uugdi)}.___SLine_uugdi_gg_.__transparent_uugdi_gg_{opacity:.3}.___SCap_uugdi_gg_{transition:r .1s}.___SCap_uugdi_gg_.__pattern_uugdi_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_uugdi_gg_.__transparent_uugdi_gg_,.___SIcon_uugdi_gg_.__transparent_uugdi_gg_,.___SLabel_uugdi_gg_.__transparent_uugdi_gg_{opacity:.3}.___SLabel_uugdi_gg_{fill:var(--color_uugdi)}@media (hover:hover){.___SRadian_uugdi_gg_:hover .___SLabel_uugdi_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_uugdi_gg_{transition:none}}" /*__inner_css_end__*/, "uugdi_gg_") /*__reshadow_css_end__*/, {
31
+ "__SRadian": "___SRadian_uugdi_gg_",
32
+ "__SLine": "___SLine_uugdi_gg_",
33
+ "_color": "__color_uugdi_gg_",
34
+ "--color": "--color_uugdi",
35
+ "_transparent": "__transparent_uugdi_gg_",
36
+ "__SCap": "___SCap_uugdi_gg_",
37
+ "_pattern": "__pattern_uugdi_gg_",
38
+ "__SIcon": "___SIcon_uugdi_gg_",
39
+ "__SLabel": "___SLabel_uugdi_gg_",
40
+ "__SLineCap": "___SLineCap_uugdi_gg_"
41
41
  });
42
42
  var baseAngle = -Math.PI / 2; // The top vertical line
43
43
  var RadialTreeBase = /*#__PURE__*/function (_Component) {
@@ -17,15 +17,15 @@ var _react = _interopRequireDefault(require("react"));
17
17
  var _createElement = _interopRequireDefault(require("./createElement"));
18
18
  var _utils = require("./utils");
19
19
  /*__reshadow-styles__:"./style/reference-line.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1ou3c_gg_{fill:none;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___STitle_1ou3c_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1ou3c)}.___STitle_1ou3c_gg_._position_top_1ou3c_gg_{text-anchor:middle}.___STitle_1ou3c_gg_._position_bottom_1ou3c_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1ou3c_gg_._position_left_1ou3c_gg_,.___STitle_1ou3c_gg_._position_right_1ou3c_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___SBackground_1ou3c_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}" /*__inner_css_end__*/, "1ou3c_gg_") /*__reshadow_css_end__*/, {
21
- "__SReferenceLine": "___SReferenceLine_1ou3c_gg_",
22
- "__STitle": "___STitle_1ou3c_gg_",
23
- "--transform-origin": "--transform-origin_1ou3c",
24
- "_position_top": "_position_top_1ou3c_gg_",
25
- "_position_bottom": "_position_bottom_1ou3c_gg_",
26
- "_position_right": "_position_right_1ou3c_gg_",
27
- "_position_left": "_position_left_1ou3c_gg_",
28
- "__SBackground": "___SBackground_1ou3c_gg_"
20
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1491v_gg_{fill:none;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___STitle_1491v_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1491v)}.___STitle_1491v_gg_._position_top_1491v_gg_{text-anchor:middle}.___STitle_1491v_gg_._position_bottom_1491v_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1491v_gg_._position_left_1491v_gg_,.___STitle_1491v_gg_._position_right_1491v_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___SBackground_1491v_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}" /*__inner_css_end__*/, "1491v_gg_") /*__reshadow_css_end__*/, {
21
+ "__SReferenceLine": "___SReferenceLine_1491v_gg_",
22
+ "__STitle": "___STitle_1491v_gg_",
23
+ "--transform-origin": "--transform-origin_1491v",
24
+ "_position_top": "_position_top_1491v_gg_",
25
+ "_position_bottom": "_position_bottom_1491v_gg_",
26
+ "_position_right": "_position_right_1491v_gg_",
27
+ "_position_left": "_position_left_1491v_gg_",
28
+ "__SBackground": "___SBackground_1491v_gg_"
29
29
  });
30
30
  var side2direction = {
31
31
  left: 'vertical',
@@ -23,15 +23,15 @@ var _utils = require("./utils");
23
23
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
24
24
  var _Pattern = require("./Pattern");
25
25
  /*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
26
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_cu296_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_cu296);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_cu296_gg_:hover{opacity:.8}}.___SScatterPlot_cu296_gg_.__color_cu296_gg_{fill:var(--color_cu296)}.___SScatterPlot_cu296_gg_.__pattern_cu296_gg_.__color_cu296_gg_{fill:var(--pattern_cu296);stroke:var(--color_cu296);stroke-width:1px}.___SScatterPlot_cu296_gg_.__transparent_cu296_gg_{opacity:.3}.___SValue_cu296_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_cu296_gg_.__color_cu296_gg_{stroke:var(--color_cu296)}.___SValue_cu296_gg_.__transparent_cu296_gg_{opacity:.3}" /*__inner_css_end__*/, "cu296_gg_") /*__reshadow_css_end__*/, {
27
- "__SScatterPlot": "___SScatterPlot_cu296_gg_",
28
- "_color": "__color_cu296_gg_",
29
- "--color": "--color_cu296",
30
- "_pattern": "__pattern_cu296_gg_",
31
- "--pattern": "--pattern_cu296",
32
- "_transparent": "__transparent_cu296_gg_",
33
- "__SValue": "___SValue_cu296_gg_",
34
- "--duration": "--duration_cu296"
26
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_m8i1t_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_m8i1t);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_m8i1t_gg_:hover{opacity:.8}}.___SScatterPlot_m8i1t_gg_.__color_m8i1t_gg_{fill:var(--color_m8i1t)}.___SScatterPlot_m8i1t_gg_.__pattern_m8i1t_gg_.__color_m8i1t_gg_{fill:var(--pattern_m8i1t);stroke:var(--color_m8i1t);stroke-width:1px}.___SScatterPlot_m8i1t_gg_.__transparent_m8i1t_gg_{opacity:.3}.___SValue_m8i1t_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_m8i1t_gg_.__color_m8i1t_gg_{stroke:var(--color_m8i1t)}.___SValue_m8i1t_gg_.__transparent_m8i1t_gg_{opacity:.3}" /*__inner_css_end__*/, "m8i1t_gg_") /*__reshadow_css_end__*/, {
27
+ "__SScatterPlot": "___SScatterPlot_m8i1t_gg_",
28
+ "_color": "__color_m8i1t_gg_",
29
+ "--color": "--color_m8i1t",
30
+ "_pattern": "__pattern_m8i1t_gg_",
31
+ "--pattern": "--pattern_m8i1t",
32
+ "_transparent": "__transparent_m8i1t_gg_",
33
+ "__SValue": "___SValue_m8i1t_gg_",
34
+ "--duration": "--duration_m8i1t"
35
35
  });
36
36
  var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
37
37
  (0, _inherits2["default"])(ScatterPlotRoot, _Component);
@@ -24,15 +24,15 @@ var _useColorResolver = require("intergalactic/utils/lib/use/useColorResolver");
24
24
  var _Pattern = require("./Pattern");
25
25
  var _excluded = ["Children", "children", "tag", "forcedAdvancedMode"];
26
26
  /*__reshadow-styles__:"./style/tooltip.shadow.css"*/
27
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___STooltip_q7ep3_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_q7ep3_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_q7ep3_gg_{display:flex;align-items:center}.___SDot_q7ep3_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_q7ep3_gg_.__color_q7ep3_gg_{background-color:var(--color_q7ep3);width:12px;height:12px;border-radius:50%}.___SFooter_q7ep3_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}" /*__inner_css_end__*/, "q7ep3_gg_") /*__reshadow_css_end__*/, {
28
- "__STooltip": "___STooltip_q7ep3_gg_",
29
- "__STitle": "___STitle_q7ep3_gg_",
30
- "__SDotGroup": "___SDotGroup_q7ep3_gg_",
31
- "__SDot": "___SDot_q7ep3_gg_",
32
- "__SDotCircle": "___SDotCircle_q7ep3_gg_",
33
- "_color": "__color_q7ep3_gg_",
34
- "--color": "--color_q7ep3",
35
- "__SFooter": "___SFooter_q7ep3_gg_"
27
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___STooltip_10t1l_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_10t1l_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_10t1l_gg_{display:flex;align-items:center}.___SDot_10t1l_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_10t1l_gg_.__color_10t1l_gg_{background-color:var(--color_10t1l);width:12px;height:12px;border-radius:50%}.___SFooter_10t1l_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}" /*__inner_css_end__*/, "10t1l_gg_") /*__reshadow_css_end__*/, {
28
+ "__STooltip": "___STooltip_10t1l_gg_",
29
+ "__STitle": "___STitle_10t1l_gg_",
30
+ "__SDotGroup": "___SDotGroup_10t1l_gg_",
31
+ "__SDot": "___SDot_10t1l_gg_",
32
+ "__SDotCircle": "___SDotCircle_10t1l_gg_",
33
+ "_color": "__color_10t1l_gg_",
34
+ "--color": "--color_10t1l",
35
+ "__SFooter": "___SFooter_10t1l_gg_"
36
36
  });
37
37
  /**
38
38
  * `TooltipDotRenderContext` is a hack to bypass problem that getDotProps doesn't work for D3 tooltip.
@@ -25,15 +25,15 @@ var _Tooltip = _interopRequireDefault(require("./Tooltip"));
25
25
  var _Pattern = require("./Pattern");
26
26
  var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID"));
27
27
  /*__reshadow-styles__:"./style/venn.shadow.css"*/
28
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SCircle_dwrd7_gg_,.___SIntersection_dwrd7_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_dwrd7_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_dwrd7);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_dwrd7_gg_:hover{fill-opacity:.7}}.___SCircle_dwrd7_gg_.__color_dwrd7_gg_{fill:var(--color_dwrd7)}.___SCircle_dwrd7_gg_.__pattern_dwrd7_gg_.__color_dwrd7_gg_{fill:var(--pattern_dwrd7);fill-opacity:.7;stroke:var(--color_dwrd7);stroke-width:1px}@media (hover:hover){.___SCircle_dwrd7_gg_.__pattern_dwrd7_gg_.__color_dwrd7_gg_:hover{fill-opacity:.85}}.___SCircle_dwrd7_gg_.__transparent_dwrd7_gg_{opacity:.3}.___SIntersection_dwrd7_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_dwrd7_gg_:hover{fill-opacity:.1}}.___SIntersection_dwrd7_gg_.__transparent_dwrd7_gg_{opacity:.3}" /*__inner_css_end__*/, "dwrd7_gg_") /*__reshadow_css_end__*/, {
29
- "__SCircle": "___SCircle_dwrd7_gg_",
30
- "_color": "__color_dwrd7_gg_",
31
- "--color": "--color_dwrd7",
32
- "_transparent": "__transparent_dwrd7_gg_",
33
- "__SIntersection": "___SIntersection_dwrd7_gg_",
34
- "--duration": "--duration_dwrd7",
35
- "_pattern": "__pattern_dwrd7_gg_",
36
- "--pattern": "--pattern_dwrd7"
28
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SCircle_hc3z4_gg_,.___SIntersection_hc3z4_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_hc3z4_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_hc3z4);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_hc3z4_gg_:hover{fill-opacity:.7}}.___SCircle_hc3z4_gg_.__color_hc3z4_gg_{fill:var(--color_hc3z4)}.___SCircle_hc3z4_gg_.__pattern_hc3z4_gg_.__color_hc3z4_gg_{fill:var(--pattern_hc3z4);fill-opacity:.7;stroke:var(--color_hc3z4);stroke-width:1px}@media (hover:hover){.___SCircle_hc3z4_gg_.__pattern_hc3z4_gg_.__color_hc3z4_gg_:hover{fill-opacity:.85}}.___SCircle_hc3z4_gg_.__transparent_hc3z4_gg_{opacity:.3}.___SIntersection_hc3z4_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_hc3z4_gg_:hover{fill-opacity:.1}}.___SIntersection_hc3z4_gg_.__transparent_hc3z4_gg_{opacity:.3}" /*__inner_css_end__*/, "hc3z4_gg_") /*__reshadow_css_end__*/, {
29
+ "__SCircle": "___SCircle_hc3z4_gg_",
30
+ "_color": "__color_hc3z4_gg_",
31
+ "--color": "--color_hc3z4",
32
+ "_transparent": "__transparent_hc3z4_gg_",
33
+ "__SIntersection": "___SIntersection_hc3z4_gg_",
34
+ "--duration": "--duration_hc3z4",
35
+ "_pattern": "__pattern_hc3z4_gg_",
36
+ "--pattern": "--pattern_hc3z4"
37
37
  });
38
38
  var VennRoot = /*#__PURE__*/function (_Component) {
39
39
  (0, _inherits2["default"])(VennRoot, _Component);
@@ -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_18i0k_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_18i0k_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "18i0k_gg_") /*__reshadow_css_end__*/, {
20
- "__SPlotA11yModule": "___SPlotA11yModule_18i0k_gg_"
19
+ var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1hohn_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1hohn_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1hohn_gg_") /*__reshadow_css_end__*/, {
20
+ "__SPlotA11yModule": "___SPlotA11yModule_1hohn_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_1pvmu_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_1pvmu_gg_:focus,.___SPlotA11yView_1pvmu_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_1pvmu_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1pvmu_gg_ table,.___SPlotA11yView_1pvmu_gg_ td,.___SPlotA11yView_1pvmu_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1pvmu_gg_") /*__reshadow_css_end__*/, {
25
- "__SPlotA11yView": "___SPlotA11yView_1pvmu_gg_"
24
+ var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_1h82j_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_1h82j_gg_:focus,.___SPlotA11yView_1h82j_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_1h82j_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1h82j_gg_ table,.___SPlotA11yView_1h82j_gg_ td,.___SPlotA11yView_1h82j_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1h82j_gg_") /*__reshadow_css_end__*/, {
25
+ "__SPlotA11yView": "___SPlotA11yView_1h82j_gg_"
26
26
  });
27
27
  var PlotA11yView = function PlotA11yView(_ref3) {
28
28
  var _ref = arguments[0],
@@ -135,7 +135,8 @@ var PlotA11yView = function PlotA11yView(_ref3) {
135
135
  (_heavyFindNextFocusab = (0, _focus.heavyFindNextFocusableElement)(plotRef.current)) === null || _heavyFindNextFocusab === void 0 ? void 0 : _heavyFindNextFocusab.focus();
136
136
  }, []);
137
137
  var handleSkipKeyboard = _react["default"].useCallback(function (event) {
138
- if (event.key !== 'Enter') return;
138
+ if (!(event.code === 'Enter' || event.code === 'Space')) return;
139
+ event.preventDefault();
139
140
  handleSkip();
140
141
  }, [handleSkip]);
141
142
  var handleGoToTable = _react["default"].useCallback(function () {
@@ -143,7 +144,8 @@ var PlotA11yView = function PlotA11yView(_ref3) {
143
144
  (_dataTableRef$current = dataTableRef.current) === null || _dataTableRef$current === void 0 ? void 0 : _dataTableRef$current.focus();
144
145
  }, []);
145
146
  var handleGoToTableKeyboard = _react["default"].useCallback(function (event) {
146
- if (event.key !== 'Enter') return;
147
+ if (!(event.code === 'Enter' || event.code === 'Space')) return;
148
+ event.preventDefault();
147
149
  handleGoToTable();
148
150
  }, [handleGoToTable]);
149
151
  var texts = _react["default"].useMemo(function () {
@@ -1 +1 @@
1
- {"version":3,"file":"PlotA11yView.js","names":["_core","require","_react","_interopRequireDefault","_focus","_hints","_serialize","_intl","_summarize","_flexBox","_i18nEnhance","_intergalacticDynamicLocales","styles","sstyled","insert","PlotA11yView","_ref3","_ref","arguments[0]","_ref2","id","providedData","data","hints","plotLabel","plotRef","providedConfig","config","locale","SPlotA11yView","Box","translations","useAsyncI18nMessages","localizedMessages","intl","React","useMemo","getIntl","makeDataSummarizationConfig","Array","isArray","keys","_fromHints","_fromHints2","_fromHints3","_fromHints4","_fromHints5","fromHints","push","apply","_toConsumableArray2","fields","verticalAxes","horizontalAxes","valueAxes","additionalFields","Object","values","Set","filter","key","length","forEach","row","_fromHints6","duplicatedBaseKeys","baseKeys","titles","valuesAxes","map","has","axesTitle","vertical","horizontal","entry","undefined","doublicated","handled","_iterator","_createForOfIteratorHelper2","_step","s","n","done","_step$value","_slicedToArray2","value","label","err","e","f","renderTitle","useCallback","dataKey","_React$useState","useState","_React$useState2","summary","setSummary","_React$useState3","_React$useState4","generatingSummary","setGeneratingSummary","useEffect","disable","override","setTimeout","summarize","handleSkip","_heavyFindNextFocusab","current","heavyFindNextFocusableElement","focus","handleSkipKeyboard","event","handleGoToTable","_dataTableRef$current","dataTableRef","handleGoToTableKeyboard","texts","formatMessage","close","skipPlot","goToTable","summaryPlaceholder","table","useRef","createElement","cn","_objectSpread2","assignProps","concat","index","item","_typeof2","join","_ref4","_ref5","formatValue","exports"],"sources":["../../../src/a11y/PlotA11yView.tsx"],"sourcesContent":["import React from 'react';\nimport { heavyFindNextFocusableElement } from './focus';\nimport { makeDataSummarizationConfig } from './hints';\nimport type { A11yViewProps } from './PlotA11yModule';\nimport { formatValue } from './serialize';\nimport { getIntl } from './intl';\nimport { summarize } from './summarize';\nimport { Root, sstyled } from '@semcore/core';\nimport styles from '../style/plotA11yView.shadow.css';\nimport { Box } from '@semcore/flex-box';\nimport { useAsyncI18nMessages } from '@semcore/utils/lib/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/view/__intergalactic-dynamic-locales';\n\nexport const PlotA11yView: React.FC<A11yViewProps> = ({\n id,\n data: providedData,\n hints,\n plotLabel,\n plotRef,\n config: providedConfig,\n locale,\n}) => {\n const SPlotA11yView = Root;\n const translations = useAsyncI18nMessages(localizedMessages, locale);\n const intl = React.useMemo(\n () => getIntl(locale, translations, localizedMessages),\n [locale, translations, localizedMessages],\n );\n const config = React.useMemo(() => makeDataSummarizationConfig(providedConfig), [providedConfig]);\n const data = React.useMemo(\n () => (Array.isArray(providedData) ? providedData : [providedData]),\n [providedData],\n );\n const keys = React.useMemo(() => {\n let fromHints: (string | number)[] = [];\n fromHints.push(...hints.fields.verticalAxes);\n fromHints.push(...hints.fields.horizontalAxes);\n fromHints.push(...hints.fields.valueAxes);\n fromHints.push(...config.additionalFields);\n fromHints.push(...Object.keys(hints.fields.values));\n\n fromHints = [...new Set(fromHints)].filter((key) => key in data[0]);\n\n if (fromHints.length === 0) {\n data.forEach((row) => fromHints.push(...Object.keys(row)));\n }\n\n return [...new Set(fromHints)];\n }, [data, hints]);\n const duplicatedBaseKeys = React.useMemo(() => {\n const baseKeys = keys\n .filter((key) => !hints.titles.valuesAxes[key])\n .map((key) => {\n if (hints.fields.verticalAxes.has(key) && hints.axesTitle.vertical)\n return [key, hints.axesTitle.vertical];\n if (hints.fields.horizontalAxes.has(key) && hints.axesTitle.horizontal)\n return [key, hints.axesTitle.horizontal];\n })\n .filter((entry) => entry !== undefined)\n .map((entry) => entry!);\n const doublicated: Record<string, true> = {};\n const handled: Record<string, string | number> = {};\n for (const [key, label] of baseKeys) {\n if (handled[label]) {\n doublicated[key] = true;\n doublicated[handled[label]] = true;\n }\n handled[label] = key;\n }\n return doublicated;\n }, [keys, hints]);\n const renderTitle = React.useCallback(\n (dataKey: string | number) => {\n if (hints.titles.valuesAxes[dataKey]) return hints.titles.valuesAxes[dataKey];\n if (!duplicatedBaseKeys[dataKey]) {\n if (hints.fields.verticalAxes.has(dataKey) && hints.axesTitle.vertical)\n return hints.axesTitle.vertical;\n if (hints.fields.horizontalAxes.has(dataKey) && hints.axesTitle.horizontal)\n return hints.axesTitle.horizontal;\n }\n\n return dataKey;\n },\n [data, hints, duplicatedBaseKeys],\n );\n\n const [summary, setSummary] = React.useState<string | null>(null);\n const [generatingSummary, setGeneratingSummary] = React.useState(true);\n\n React.useEffect(() => {\n if (config.disable) {\n setSummary('');\n setGeneratingSummary(false);\n return;\n }\n if (config.override) {\n setSummary(config.override);\n setGeneratingSummary(false);\n return;\n }\n setTimeout(() => {\n setSummary(summarize(providedData, hints, config, locale, translations, localizedMessages));\n setGeneratingSummary(false);\n }, 0);\n }, [providedData, hints, config, locale, translations, localizedMessages]);\n\n const handleSkip = React.useCallback(() => {\n if (!plotRef.current) return;\n\n heavyFindNextFocusableElement(plotRef.current)?.focus();\n }, []);\n const handleSkipKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (event.key !== 'Enter') return;\n\n handleSkip();\n },\n [handleSkip],\n );\n const handleGoToTable = React.useCallback(() => {\n dataTableRef.current?.focus();\n }, []);\n const handleGoToTableKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (event.key !== 'Enter') return;\n\n handleGoToTable();\n },\n [handleGoToTable],\n );\n\n const texts = React.useMemo(\n () => ({\n label: intl.formatMessage(\n { id: 'view-label' },\n { plotLabel: plotLabel ?? intl.formatMessage({ id: 'view-default-plot-label' }) },\n ),\n close: intl.formatMessage({ id: 'view-close' }),\n skipPlot: intl.formatMessage({ id: 'view-skip-plot' }),\n goToTable: intl.formatMessage({ id: 'view-go-to-table' }),\n summary: intl.formatMessage({ id: 'view-data-summary' }),\n summaryPlaceholder: intl.formatMessage({ id: 'view-summary-placeholder' }),\n table: intl.formatMessage({ id: 'view-table' }),\n }),\n [intl, plotLabel],\n );\n\n const dataTableRef = React.useRef<HTMLTableElement>(null);\n\n return sstyled(styles)(\n <SPlotA11yView render={Box} tabIndex={0} aria-label={texts.label}>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a aria-hidden onClick={handleSkip}>\n {texts.close}\n </a>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a role='link' tabIndex={0} onKeyDown={handleSkipKeyboard} onClick={handleSkip}>\n {texts.skipPlot}\n </a>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a role='link' tabIndex={0} onKeyDown={handleGoToTableKeyboard} onClick={handleGoToTable}>\n {texts.goToTable}\n </a>\n <strong>\n <label htmlFor={`${id}-data-summary`}>{texts.summary}</label>\n </strong>\n <div id={`${id}-data-summary`} aria-busy={generatingSummary} tabIndex={0}>\n {generatingSummary ? texts.summaryPlaceholder : summary}\n </div>\n <strong>\n <label htmlFor={`${id}-data-table`}>{texts.table}</label>\n </strong>\n <table id={`${id}-data-table`} tabIndex={0} ref={dataTableRef}>\n <thead>\n <tr>\n {keys.map((key, index) => (\n <th key={`${key}-${index}`}>{renderTitle(key)}</th>\n ))}\n </tr>\n </thead>\n <tbody>\n {data.map((row, index) => (\n <tr\n key={`${Object.values(row)\n .filter((item) => typeof item !== 'symbol')\n .join('-')}-${index}`}\n >\n {keys\n .map((key) => (typeof row[key] !== 'symbol' ? [key, row[key]] : [key, '']))\n .map(([key, value], index) => (\n <td key={`${key}-${index}`}>{formatValue(intl, value)}</td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n </SPlotA11yView>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;;;AAOA,IAAAA,KAAA,GAAAC,OAAA;AAPA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAGA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,4BAAA,GAAAV,OAAA;AAAwF;AAAA,IAAAW,MAAA,+BAAAZ,KAAA,CAAAa,OAAA,CAAAC,MAAA;EAAA;AAAA;AAEjF,IAAMC,YAAqC,GAAG,SAAxCA,YAAqCA,CAAAC,KAAA,EAQ5C;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAAA,IAPJC,EAAE,GAAAJ,KAAA,CAAFI,EAAE;IACIC,YAAY,GAAAL,KAAA,C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uE,MAAA,CAAIC,KAAK;MAAG,GAAE,IAAAM,sBAAW,EAACxG,IAAI,EAAEoD,KAAK,CAAC,CAAM;IAAA,CAC5D,CAAC,CACD;EAAA,CACN,CAAC,CACI,CACF,CACM;AAEpB,CAAC;AAACqD,OAAA,CAAA5H,YAAA,GAAAA,YAAA"}
1
+ {"version":3,"file":"PlotA11yView.js","names":["_core","require","_react","_interopRequireDefault","_focus","_hints","_serialize","_intl","_summarize","_flexBox","_i18nEnhance","_intergalacticDynamicLocales","styles","sstyled","insert","PlotA11yView","_ref3","_ref","arguments[0]","_ref2","id","providedData","data","hints","plotLabel","plotRef","providedConfig","config","locale","SPlotA11yView","Box","translations","useAsyncI18nMessages","localizedMessages","intl","React","useMemo","getIntl","makeDataSummarizationConfig","Array","isArray","keys","_fromHints","_fromHints2","_fromHints3","_fromHints4","_fromHints5","fromHints","push","apply","_toConsumableArray2","fields","verticalAxes","horizontalAxes","valueAxes","additionalFields","Object","values","Set","filter","key","length","forEach","row","_fromHints6","duplicatedBaseKeys","baseKeys","titles","valuesAxes","map","has","axesTitle","vertical","horizontal","entry","undefined","doublicated","handled","_iterator","_createForOfIteratorHelper2","_step","s","n","done","_step$value","_slicedToArray2","value","label","err","e","f","renderTitle","useCallback","dataKey","_React$useState","useState","_React$useState2","summary","setSummary","_React$useState3","_React$useState4","generatingSummary","setGeneratingSummary","useEffect","disable","override","setTimeout","summarize","handleSkip","_heavyFindNextFocusab","current","heavyFindNextFocusableElement","focus","handleSkipKeyboard","event","code","preventDefault","handleGoToTable","_dataTableRef$current","dataTableRef","handleGoToTableKeyboard","texts","formatMessage","close","skipPlot","goToTable","summaryPlaceholder","table","useRef","createElement","cn","_objectSpread2","assignProps","concat","index","item","_typeof2","join","_ref4","_ref5","formatValue","exports"],"sources":["../../../src/a11y/PlotA11yView.tsx"],"sourcesContent":["import React from 'react';\nimport { heavyFindNextFocusableElement } from './focus';\nimport { makeDataSummarizationConfig } from './hints';\nimport type { A11yViewProps } from './PlotA11yModule';\nimport { formatValue } from './serialize';\nimport { getIntl } from './intl';\nimport { summarize } from './summarize';\nimport { Root, sstyled } from '@semcore/core';\nimport styles from '../style/plotA11yView.shadow.css';\nimport { Box } from '@semcore/flex-box';\nimport { useAsyncI18nMessages } from '@semcore/utils/lib/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/view/__intergalactic-dynamic-locales';\n\nexport const PlotA11yView: React.FC<A11yViewProps> = ({\n id,\n data: providedData,\n hints,\n plotLabel,\n plotRef,\n config: providedConfig,\n locale,\n}) => {\n const SPlotA11yView = Root;\n const translations = useAsyncI18nMessages(localizedMessages, locale);\n const intl = React.useMemo(\n () => getIntl(locale, translations, localizedMessages),\n [locale, translations, localizedMessages],\n );\n const config = React.useMemo(() => makeDataSummarizationConfig(providedConfig), [providedConfig]);\n const data = React.useMemo(\n () => (Array.isArray(providedData) ? providedData : [providedData]),\n [providedData],\n );\n const keys = React.useMemo(() => {\n let fromHints: (string | number)[] = [];\n fromHints.push(...hints.fields.verticalAxes);\n fromHints.push(...hints.fields.horizontalAxes);\n fromHints.push(...hints.fields.valueAxes);\n fromHints.push(...config.additionalFields);\n fromHints.push(...Object.keys(hints.fields.values));\n\n fromHints = [...new Set(fromHints)].filter((key) => key in data[0]);\n\n if (fromHints.length === 0) {\n data.forEach((row) => fromHints.push(...Object.keys(row)));\n }\n\n return [...new Set(fromHints)];\n }, [data, hints]);\n const duplicatedBaseKeys = React.useMemo(() => {\n const baseKeys = keys\n .filter((key) => !hints.titles.valuesAxes[key])\n .map((key) => {\n if (hints.fields.verticalAxes.has(key) && hints.axesTitle.vertical)\n return [key, hints.axesTitle.vertical];\n if (hints.fields.horizontalAxes.has(key) && hints.axesTitle.horizontal)\n return [key, hints.axesTitle.horizontal];\n })\n .filter((entry) => entry !== undefined)\n .map((entry) => entry!);\n const doublicated: Record<string, true> = {};\n const handled: Record<string, string | number> = {};\n for (const [key, label] of baseKeys) {\n if (handled[label]) {\n doublicated[key] = true;\n doublicated[handled[label]] = true;\n }\n handled[label] = key;\n }\n return doublicated;\n }, [keys, hints]);\n const renderTitle = React.useCallback(\n (dataKey: string | number) => {\n if (hints.titles.valuesAxes[dataKey]) return hints.titles.valuesAxes[dataKey];\n if (!duplicatedBaseKeys[dataKey]) {\n if (hints.fields.verticalAxes.has(dataKey) && hints.axesTitle.vertical)\n return hints.axesTitle.vertical;\n if (hints.fields.horizontalAxes.has(dataKey) && hints.axesTitle.horizontal)\n return hints.axesTitle.horizontal;\n }\n\n return dataKey;\n },\n [data, hints, duplicatedBaseKeys],\n );\n\n const [summary, setSummary] = React.useState<string | null>(null);\n const [generatingSummary, setGeneratingSummary] = React.useState(true);\n\n React.useEffect(() => {\n if (config.disable) {\n setSummary('');\n setGeneratingSummary(false);\n return;\n }\n if (config.override) {\n setSummary(config.override);\n setGeneratingSummary(false);\n return;\n }\n setTimeout(() => {\n setSummary(summarize(providedData, hints, config, locale, translations, localizedMessages));\n setGeneratingSummary(false);\n }, 0);\n }, [providedData, hints, config, locale, translations, localizedMessages]);\n\n const handleSkip = React.useCallback(() => {\n if (!plotRef.current) return;\n\n heavyFindNextFocusableElement(plotRef.current)?.focus();\n }, []);\n const handleSkipKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (!(event.code === 'Enter' || event.code === 'Space')) return;\n\n event.preventDefault();\n handleSkip();\n },\n [handleSkip],\n );\n const handleGoToTable = React.useCallback(() => {\n dataTableRef.current?.focus();\n }, []);\n const handleGoToTableKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (!(event.code === 'Enter' || event.code === 'Space')) return;\n\n event.preventDefault();\n handleGoToTable();\n },\n [handleGoToTable],\n );\n\n const texts = React.useMemo(\n () => ({\n label: intl.formatMessage(\n { id: 'view-label' },\n { plotLabel: plotLabel ?? intl.formatMessage({ id: 'view-default-plot-label' }) },\n ),\n close: intl.formatMessage({ id: 'view-close' }),\n skipPlot: intl.formatMessage({ id: 'view-skip-plot' }),\n goToTable: intl.formatMessage({ id: 'view-go-to-table' }),\n summary: intl.formatMessage({ id: 'view-data-summary' }),\n summaryPlaceholder: intl.formatMessage({ id: 'view-summary-placeholder' }),\n table: intl.formatMessage({ id: 'view-table' }),\n }),\n [intl, plotLabel],\n );\n\n const dataTableRef = React.useRef<HTMLTableElement>(null);\n\n return sstyled(styles)(\n <SPlotA11yView render={Box} tabIndex={0} aria-label={texts.label}>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a aria-hidden onClick={handleSkip}>\n {texts.close}\n </a>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a role='link' tabIndex={0} onKeyDown={handleSkipKeyboard} onClick={handleSkip}>\n {texts.skipPlot}\n </a>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a role='link' tabIndex={0} onKeyDown={handleGoToTableKeyboard} onClick={handleGoToTable}>\n {texts.goToTable}\n </a>\n <strong>\n <label htmlFor={`${id}-data-summary`}>{texts.summary}</label>\n </strong>\n <div id={`${id}-data-summary`} aria-busy={generatingSummary} tabIndex={0}>\n {generatingSummary ? texts.summaryPlaceholder : summary}\n </div>\n <strong>\n <label htmlFor={`${id}-data-table`}>{texts.table}</label>\n </strong>\n <table id={`${id}-data-table`} tabIndex={0} ref={dataTableRef}>\n <thead>\n <tr>\n {keys.map((key, index) => (\n <th key={`${key}-${index}`}>{renderTitle(key)}</th>\n ))}\n </tr>\n </thead>\n <tbody>\n {data.map((row, index) => (\n <tr\n key={`${Object.values(row)\n .filter((item) => typeof item !== 'symbol')\n .join('-')}-${index}`}\n >\n {keys\n .map((key) => (typeof row[key] !== 'symbol' ? [key, row[key]] : [key, '']))\n .map(([key, value], index) => (\n <td key={`${key}-${index}`}>{formatValue(intl, value)}</td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n </SPlotA11yView>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;;;AAOA,IAAAA,KAAA,GAAAC,OAAA;AAPA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,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AA,CAAK7E,MAAM,CAACC,MAAM,CAACM,GAAG,CAAC,CACvBJ,MAAM,CAAC,UAAC4E,IAAI;QAAA,OAAK,IAAAC,QAAA,aAAOD,IAAI,MAAK,QAAQ;MAAA,EAAC,CAC1CE,IAAI,CAAC,GAAG,CAAC,OAAAJ,MAAA,CAAIC,KAAK;IAAG,GAEvB7F,IAAI,CACF4B,GAAG,CAAC,UAACT,GAAG;MAAA,OAAM,IAAA4E,QAAA,aAAOzE,GAAG,CAACH,GAAG,CAAC,MAAK,QAAQ,GAAG,CAACA,GAAG,EAAEG,GAAG,CAACH,GAAG,CAAC,CAAC,GAAG,CAACA,GAAG,EAAE,EAAE,CAAC;IAAA,CAAC,CAAC,CAC1ES,GAAG,CAAC,UAAAqE,KAAA,EAAeJ,KAAK;MAAA,IAAAK,KAAA,OAAAtD,eAAA,aAAAqD,KAAA;QAAlB9E,GAAG,GAAA+E,KAAA;QAAErD,KAAK,GAAAqD,KAAA;MAAA,oBACfzI,MAAA,YAAA+H,aAAA;QAAIrE,GAAG,KAAAyE,MAAA,CAAKzE,GAAG,OAAAyE,MAAA,CAAIC,KAAK;MAAG,GAAE,IAAAM,sBAAW,EAAC1G,IAAI,EAAEoD,KAAK,CAAC,CAAM;IAAA,CAC5D,CAAC,CACD;EAAA,CACN,CAAC,CACI,CACF,CACM;AAEpB,CAAC;AAACuD,OAAA,CAAA9H,YAAA,GAAAA,YAAA"}
@@ -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_irrvu_gg_._direction_row_irrvu_gg_{align-items:center;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_irrvu_gg_._direction_column_irrvu_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "irrvu_gg_") /*__reshadow_css_end__*/, {
26
- "__SLegendFlex": "___SLegendFlex_irrvu_gg_",
27
- "_direction_row": "_direction_row_irrvu_gg_",
28
- "_direction_column": "_direction_column_irrvu_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_18v1j_gg_._direction_row_18v1j_gg_{align-items:center;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_18v1j_gg_._direction_column_18v1j_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "18v1j_gg_") /*__reshadow_css_end__*/, {
26
+ "__SLegendFlex": "___SLegendFlex_18v1j_gg_",
27
+ "_direction_row": "_direction_row_18v1j_gg_",
28
+ "_direction_column": "_direction_column_18v1j_gg_"
29
29
  });
30
30
  var LegendFlexRoot = /*#__PURE__*/function (_BaseLegend) {
31
31
  (0, _inherits2["default"])(LegendFlexRoot, _BaseLegend);
@@ -24,23 +24,23 @@ var _Pattern = require("../../../Pattern");
24
24
  var _utils = require("../../../utils");
25
25
  var _excluded = ["color"];
26
26
  /*__reshadow-styles__:"./legend-item.shadow.css"*/
27
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_1oci1_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1oci1_gg_:hover{cursor:pointer}.___SLegendItem_1oci1_gg_.__disabled_1oci1_gg_:hover{cursor:default}}.___SPointShape_1oci1_gg_.__color_1oci1_gg_{background-color:var(--color_1oci1);margin-right:8px;flex-shrink:0}.___SPointShape_1oci1_gg_._shape_Circle_1oci1_gg_._size_l_1oci1_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1oci1_gg_._shape_Circle_1oci1_gg_._size_m_1oci1_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1oci1_gg_._shape_Line_1oci1_gg_._size_l_1oci1_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1oci1_gg_._shape_Line_1oci1_gg_._size_m_1oci1_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1oci1_gg_._shape_Square_1oci1_gg_._size_l_1oci1_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1oci1_gg_._shape_Square_1oci1_gg_._size_m_1oci1_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1oci1_gg_._shape_Pattern_1oci1_gg_{background-color:transparent;margin-right:4px}.___SIcon_1oci1_gg_{line-height:0;margin-right:4px}.___SIcon_1oci1_gg_._size_l_1oci1_gg_{margin-top:4px}.___SIcon_1oci1_gg_._size_m_1oci1_gg_{margin-top:2px}.___SLabel_1oci1_gg_{min-width:0}.___SAdditionalLabel_1oci1_gg_._size_l_1oci1_gg_,.___SCount_1oci1_gg_._size_l_1oci1_gg_,.___SLabel_1oci1_gg_._size_l_1oci1_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1oci1_gg_._size_m_1oci1_gg_,.___SCount_1oci1_gg_._size_m_1oci1_gg_,.___SLabel_1oci1_gg_._size_m_1oci1_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1oci1_gg_,.___SCount_1oci1_gg_{margin-left:4px}.___SAdditionalLabel_1oci1_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1oci1_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_1oci1_gg_._size_l_1oci1_gg_::before{margin-top:10px}.___SAdditionalLabel_1oci1_gg_._size_m_1oci1_gg_::before{margin-top:8px}.___SPatternSymbol_1oci1_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "1oci1_gg_") /*__reshadow_css_end__*/, {
28
- "__SLegendItem": "___SLegendItem_1oci1_gg_",
29
- "_disabled": "__disabled_1oci1_gg_",
30
- "__SPointShape": "___SPointShape_1oci1_gg_",
31
- "_color": "__color_1oci1_gg_",
32
- "--color": "--color_1oci1",
33
- "_shape_Circle": "_shape_Circle_1oci1_gg_",
34
- "_size_l": "_size_l_1oci1_gg_",
35
- "_size_m": "_size_m_1oci1_gg_",
36
- "_shape_Line": "_shape_Line_1oci1_gg_",
37
- "_shape_Square": "_shape_Square_1oci1_gg_",
38
- "_shape_Pattern": "_shape_Pattern_1oci1_gg_",
39
- "__SIcon": "___SIcon_1oci1_gg_",
40
- "__SLabel": "___SLabel_1oci1_gg_",
41
- "__SAdditionalLabel": "___SAdditionalLabel_1oci1_gg_",
42
- "__SCount": "___SCount_1oci1_gg_",
43
- "__SPatternSymbol": "___SPatternSymbol_1oci1_gg_"
27
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_161ik_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_161ik_gg_:hover{cursor:pointer}.___SLegendItem_161ik_gg_.__disabled_161ik_gg_:hover{cursor:default}}.___SPointShape_161ik_gg_.__color_161ik_gg_{background-color:var(--color_161ik);margin-right:8px;flex-shrink:0}.___SPointShape_161ik_gg_._shape_Circle_161ik_gg_._size_l_161ik_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_161ik_gg_._shape_Circle_161ik_gg_._size_m_161ik_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_161ik_gg_._shape_Line_161ik_gg_._size_l_161ik_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_161ik_gg_._shape_Line_161ik_gg_._size_m_161ik_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_161ik_gg_._shape_Square_161ik_gg_._size_l_161ik_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_161ik_gg_._shape_Square_161ik_gg_._size_m_161ik_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_161ik_gg_._shape_Pattern_161ik_gg_{background-color:transparent;margin-right:4px}.___SIcon_161ik_gg_{line-height:0;margin-right:4px}.___SIcon_161ik_gg_._size_l_161ik_gg_{margin-top:4px}.___SIcon_161ik_gg_._size_m_161ik_gg_{margin-top:2px}.___SLabel_161ik_gg_{min-width:0}.___SAdditionalLabel_161ik_gg_._size_l_161ik_gg_,.___SCount_161ik_gg_._size_l_161ik_gg_,.___SLabel_161ik_gg_._size_l_161ik_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_161ik_gg_._size_m_161ik_gg_,.___SCount_161ik_gg_._size_m_161ik_gg_,.___SLabel_161ik_gg_._size_m_161ik_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_161ik_gg_,.___SCount_161ik_gg_{margin-left:4px}.___SAdditionalLabel_161ik_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_161ik_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_161ik_gg_._size_l_161ik_gg_::before{margin-top:10px}.___SAdditionalLabel_161ik_gg_._size_m_161ik_gg_::before{margin-top:8px}.___SPatternSymbol_161ik_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "161ik_gg_") /*__reshadow_css_end__*/, {
28
+ "__SLegendItem": "___SLegendItem_161ik_gg_",
29
+ "_disabled": "__disabled_161ik_gg_",
30
+ "__SPointShape": "___SPointShape_161ik_gg_",
31
+ "_color": "__color_161ik_gg_",
32
+ "--color": "--color_161ik",
33
+ "_shape_Circle": "_shape_Circle_161ik_gg_",
34
+ "_size_l": "_size_l_161ik_gg_",
35
+ "_size_m": "_size_m_161ik_gg_",
36
+ "_shape_Line": "_shape_Line_161ik_gg_",
37
+ "_shape_Square": "_shape_Square_161ik_gg_",
38
+ "_shape_Pattern": "_shape_Pattern_161ik_gg_",
39
+ "__SIcon": "___SIcon_161ik_gg_",
40
+ "__SLabel": "___SLabel_161ik_gg_",
41
+ "__SAdditionalLabel": "___SAdditionalLabel_161ik_gg_",
42
+ "__SCount": "___SCount_161ik_gg_",
43
+ "__SPatternSymbol": "___SPatternSymbol_161ik_gg_"
44
44
  });
45
45
  var LegendItemRoot = /*#__PURE__*/function (_Component) {
46
46
  (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_zjv49_gg_.__columns-count_zjv49_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_zjv49_gg_._size_l_zjv49_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_zjv49_gg_._size_m_zjv49_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "zjv49_gg_") /*__reshadow_css_end__*/, {
22
- "__SLegendTable": "___SLegendTable_zjv49_gg_",
23
- "_columns-count": "__columns-count_zjv49_gg_",
24
- "__SColumnItem": "___SColumnItem_zjv49_gg_",
25
- "_size_l": "_size_l_zjv49_gg_",
26
- "_size_m": "_size_m_zjv49_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendTable_ilt3i_gg_.__columns-count_ilt3i_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_ilt3i_gg_._size_l_ilt3i_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_ilt3i_gg_._size_m_ilt3i_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "ilt3i_gg_") /*__reshadow_css_end__*/, {
22
+ "__SLegendTable": "___SLegendTable_ilt3i_gg_",
23
+ "_columns-count": "__columns-count_ilt3i_gg_",
24
+ "__SColumnItem": "___SColumnItem_ilt3i_gg_",
25
+ "_size_l": "_size_l_ilt3i_gg_",
26
+ "_size_m": "_size_m_ilt3i_gg_"
27
27
  });
28
28
  var LegendTableRoot = /*#__PURE__*/function (_BaseLegend) {
29
29
  (0, _inherits2["default"])(LegendTableRoot, _BaseLegend);
@@ -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__*/".___SArea_c3qpu_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_c3qpu_gg_.__color_c3qpu_gg_{fill:var(--color_c3qpu)}.___SArea_c3qpu_gg_.__pattern_c3qpu_gg_{fill:var(--pattern_c3qpu);fill-opacity:.7}.___SArea_c3qpu_gg_.__transparent_c3qpu_gg_{opacity:.3}.___SAreaLine_c3qpu_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_c3qpu_gg_.__color_c3qpu_gg_{stroke:var(--color_c3qpu)}.___SAreaLine_c3qpu_gg_.__transparent_c3qpu_gg_{opacity:.3}.___SAreaLine_c3qpu_gg_,.___SArea_c3qpu_gg_{transition-property:d;transition-duration:var(--duration_c3qpu);transition-timing-function:ease-in-out}.___SNull_c3qpu_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_c3qpu_gg_.__hide_c3qpu_gg_{display:none}" /*__inner_css_end__*/, "c3qpu_gg_") /*__reshadow_css_end__*/, {
20
- "__SArea": "___SArea_c3qpu_gg_",
21
- "_color": "__color_c3qpu_gg_",
22
- "--color": "--color_c3qpu",
23
- "_pattern": "__pattern_c3qpu_gg_",
24
- "--pattern": "--pattern_c3qpu",
25
- "_transparent": "__transparent_c3qpu_gg_",
26
- "__SAreaLine": "___SAreaLine_c3qpu_gg_",
27
- "--duration": "--duration_c3qpu",
28
- "__SNull": "___SNull_c3qpu_gg_",
29
- "_hide": "__hide_c3qpu_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_16orq_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_16orq_gg_.__color_16orq_gg_{fill:var(--color_16orq)}.___SArea_16orq_gg_.__pattern_16orq_gg_{fill:var(--pattern_16orq);fill-opacity:.7}.___SArea_16orq_gg_.__transparent_16orq_gg_{opacity:.3}.___SAreaLine_16orq_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_16orq_gg_.__color_16orq_gg_{stroke:var(--color_16orq)}.___SAreaLine_16orq_gg_.__transparent_16orq_gg_{opacity:.3}.___SAreaLine_16orq_gg_,.___SArea_16orq_gg_{transition-property:d;transition-duration:var(--duration_16orq);transition-timing-function:ease-in-out}.___SNull_16orq_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_16orq_gg_.__hide_16orq_gg_{display:none}" /*__inner_css_end__*/, "16orq_gg_") /*__reshadow_css_end__*/, {
20
+ "__SArea": "___SArea_16orq_gg_",
21
+ "_color": "__color_16orq_gg_",
22
+ "--color": "--color_16orq",
23
+ "_pattern": "__pattern_16orq_gg_",
24
+ "--pattern": "--pattern_16orq",
25
+ "_transparent": "__transparent_16orq_gg_",
26
+ "__SAreaLine": "___SAreaLine_16orq_gg_",
27
+ "--duration": "--duration_16orq",
28
+ "__SNull": "___SNull_16orq_gg_",
29
+ "_hide": "__hide_16orq_gg_"
30
30
  });
31
31
  var AreaRoot = /*#__PURE__*/function (_Component) {
32
32
  _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_1enrz_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1enrz_gg_.__hide_1enrz_gg_,.___STick_1enrz_gg_.__hide_1enrz_gg_{display:none}.___STick_1enrz_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_1enrz_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1enrz_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1enrz)}.___STitle_1enrz_gg_._position_top_1enrz_gg_{text-anchor:middle}.___STitle_1enrz_gg_._position_bottom_1enrz_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1enrz_gg_._position_left_1enrz_gg_,.___STitle_1enrz_gg_._position_right_1enrz_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_1enrz_gg_._position_left_1enrz_gg_.__verticalWritingMode_1enrz_gg_,.___STitle_1enrz_gg_._position_right_1enrz_gg_.__verticalWritingMode_1enrz_gg_{writing-mode:vertical-rl;transform:none}.___STick_1enrz_gg_._position_top_1enrz_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1enrz_gg_._position_bottom_1enrz_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1enrz_gg_._position_right_1enrz_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_1enrz_gg_._position_left_1enrz_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_1enrz_gg_._position_custom_0_1enrz_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1enrz_gg_._position_custom_1_1enrz_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "1enrz_gg_") /*__reshadow_css_end__*/, {
16
- "__SAxis": "___SAxis_1enrz_gg_",
17
- "_hide": "__hide_1enrz_gg_",
18
- "__STick": "___STick_1enrz_gg_",
19
- "__SGrid": "___SGrid_1enrz_gg_",
20
- "__STitle": "___STitle_1enrz_gg_",
21
- "--transform-origin": "--transform-origin_1enrz",
22
- "_position_top": "_position_top_1enrz_gg_",
23
- "_position_bottom": "_position_bottom_1enrz_gg_",
24
- "_position_right": "_position_right_1enrz_gg_",
25
- "_position_left": "_position_left_1enrz_gg_",
26
- "_verticalWritingMode": "__verticalWritingMode_1enrz_gg_",
27
- "_position_custom_0": "_position_custom_0_1enrz_gg_",
28
- "_position_custom_1": "_position_custom_1_1enrz_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_1024f_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1024f_gg_.__hide_1024f_gg_,.___STick_1024f_gg_.__hide_1024f_gg_{display:none}.___STick_1024f_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_1024f_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1024f_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1024f)}.___STitle_1024f_gg_._position_top_1024f_gg_{text-anchor:middle}.___STitle_1024f_gg_._position_bottom_1024f_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1024f_gg_._position_left_1024f_gg_,.___STitle_1024f_gg_._position_right_1024f_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_1024f_gg_._position_left_1024f_gg_.__verticalWritingMode_1024f_gg_,.___STitle_1024f_gg_._position_right_1024f_gg_.__verticalWritingMode_1024f_gg_{writing-mode:vertical-rl;transform:none}.___STick_1024f_gg_._position_top_1024f_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1024f_gg_._position_bottom_1024f_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1024f_gg_._position_right_1024f_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_1024f_gg_._position_left_1024f_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_1024f_gg_._position_custom_0_1024f_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1024f_gg_._position_custom_1_1024f_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "1024f_gg_") /*__reshadow_css_end__*/, {
16
+ "__SAxis": "___SAxis_1024f_gg_",
17
+ "_hide": "__hide_1024f_gg_",
18
+ "__STick": "___STick_1024f_gg_",
19
+ "__SGrid": "___SGrid_1024f_gg_",
20
+ "__STitle": "___STitle_1024f_gg_",
21
+ "--transform-origin": "--transform-origin_1024f",
22
+ "_position_top": "_position_top_1024f_gg_",
23
+ "_position_bottom": "_position_bottom_1024f_gg_",
24
+ "_position_right": "_position_right_1024f_gg_",
25
+ "_position_left": "_position_left_1024f_gg_",
26
+ "_verticalWritingMode": "__verticalWritingMode_1024f_gg_",
27
+ "_position_custom_0": "_position_custom_0_1024f_gg_",
28
+ "_position_custom_1": "_position_custom_1_1024f_gg_"
29
29
  });
30
30
  var CUSTOM_0 = Symbol('custom_0');
31
31
  var CUSTOM_1 = Symbol('custom_1');
@@ -14,16 +14,16 @@ 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__*/".___SBar_ltnqm_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_ltnqm);transition-timing-function:ease-in-out}.___SBar_ltnqm_gg_.__color_ltnqm_gg_{fill:var(--color_ltnqm)}.___SBar_ltnqm_gg_.__pattern_ltnqm_gg_.__color_ltnqm_gg_{fill:var(--pattern_ltnqm);stroke:var(--color_ltnqm);stroke-width:1px}.___SBar_ltnqm_gg_.__hide_ltnqm_gg_{display:none}.___SBar_ltnqm_gg_.__transparent_ltnqm_gg_{opacity:.3}.___SBackground_ltnqm_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "ltnqm_gg_") /*__reshadow_css_end__*/, {
18
- "__SBar": "___SBar_ltnqm_gg_",
19
- "--duration": "--duration_ltnqm",
20
- "_color": "__color_ltnqm_gg_",
21
- "--color": "--color_ltnqm",
22
- "_pattern": "__pattern_ltnqm_gg_",
23
- "--pattern": "--pattern_ltnqm",
24
- "_hide": "__hide_ltnqm_gg_",
25
- "_transparent": "__transparent_ltnqm_gg_",
26
- "__SBackground": "___SBackground_ltnqm_gg_"
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1u7qq_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1u7qq);transition-timing-function:ease-in-out}.___SBar_1u7qq_gg_.__color_1u7qq_gg_{fill:var(--color_1u7qq)}.___SBar_1u7qq_gg_.__pattern_1u7qq_gg_.__color_1u7qq_gg_{fill:var(--pattern_1u7qq);stroke:var(--color_1u7qq);stroke-width:1px}.___SBar_1u7qq_gg_.__hide_1u7qq_gg_{display:none}.___SBar_1u7qq_gg_.__transparent_1u7qq_gg_{opacity:.3}.___SBackground_1u7qq_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "1u7qq_gg_") /*__reshadow_css_end__*/, {
18
+ "__SBar": "___SBar_1u7qq_gg_",
19
+ "--duration": "--duration_1u7qq",
20
+ "_color": "__color_1u7qq_gg_",
21
+ "--color": "--color_1u7qq",
22
+ "_pattern": "__pattern_1u7qq_gg_",
23
+ "--pattern": "--pattern_1u7qq",
24
+ "_hide": "__hide_1u7qq_gg_",
25
+ "_transparent": "__transparent_1u7qq_gg_",
26
+ "__SBackground": "___SBackground_1u7qq_gg_"
27
27
  });
28
28
  export var MIN_HEIGHT = 2;
29
29
  var calcPartBarY = function calcPartBarY(y, minHeight, height) {