intergalactic 15.111.0 → 15.112.0-prerelease.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (640) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/accordion/lib/cjs/Accordion.js +9 -9
  3. package/accordion/lib/es6/Accordion.js +9 -9
  4. package/accordion/package.json +1 -1
  5. package/animation/lib/cjs/Animation.js +11 -11
  6. package/animation/lib/cjs/Collapse.js +28 -28
  7. package/animation/lib/cjs/FadeInOut.js +28 -28
  8. package/animation/lib/cjs/Scale.js +28 -28
  9. package/animation/lib/cjs/Slide.js +28 -28
  10. package/animation/lib/cjs/Transform.js +28 -28
  11. package/animation/lib/es6/Animation.js +11 -11
  12. package/animation/lib/es6/Collapse.js +28 -28
  13. package/animation/lib/es6/FadeInOut.js +28 -28
  14. package/animation/lib/es6/Scale.js +28 -28
  15. package/animation/lib/es6/Slide.js +28 -28
  16. package/animation/lib/es6/Transform.js +28 -28
  17. package/animation/package.json +1 -1
  18. package/badge/lib/cjs/Badge.js +6 -6
  19. package/badge/lib/es6/Badge.js +6 -6
  20. package/badge/package.json +1 -1
  21. package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
  22. package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
  23. package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
  24. package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
  25. package/base-trigger/lib/es6/BaseTrigger.js +18 -18
  26. package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
  27. package/base-trigger/lib/es6/FilterTrigger.js +7 -7
  28. package/base-trigger/lib/es6/LinkTrigger.js +12 -12
  29. package/base-trigger/package.json +1 -1
  30. package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
  31. package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
  32. package/breadcrumbs/package.json +1 -1
  33. package/breakpoints/package.json +1 -1
  34. package/button/lib/cjs/component/Button/Button.js +27 -27
  35. package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
  36. package/button/lib/es6/component/Button/Button.js +27 -27
  37. package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
  38. package/button/package.json +1 -1
  39. package/card/lib/cjs/Card.js +6 -6
  40. package/card/lib/es6/Card.js +6 -6
  41. package/card/package.json +1 -1
  42. package/carousel/lib/cjs/Carousel.js +23 -26
  43. package/carousel/lib/cjs/Carousel.js.map +1 -1
  44. package/carousel/lib/es6/Carousel.js +23 -26
  45. package/carousel/lib/es6/Carousel.js.map +1 -1
  46. package/carousel/package.json +1 -1
  47. package/checkbox/lib/cjs/Checkbox.js +18 -18
  48. package/checkbox/lib/es6/Checkbox.js +18 -18
  49. package/checkbox/package.json +1 -1
  50. package/color-picker/PaletteManager.d.ts +20 -31
  51. package/color-picker/lib/cjs/ColorPicker.js +24 -24
  52. package/color-picker/lib/cjs/PaletteManager.js +26 -29
  53. package/color-picker/lib/cjs/PaletteManager.js.map +1 -1
  54. package/color-picker/lib/cjs/components/InputColor.js +24 -24
  55. package/color-picker/lib/es6/ColorPicker.js +24 -24
  56. package/color-picker/lib/es6/PaletteManager.js +26 -29
  57. package/color-picker/lib/es6/PaletteManager.js.map +1 -1
  58. package/color-picker/lib/es6/components/InputColor.js +24 -24
  59. package/color-picker/lib/types/PaletteManager.d.ts +20 -31
  60. package/color-picker/package.json +1 -1
  61. package/components.json +73 -73
  62. package/core/package.json +1 -1
  63. package/counter/lib/cjs/Counter.js +13 -15
  64. package/counter/lib/cjs/Counter.js.map +1 -1
  65. package/counter/lib/es6/Counter.js +13 -15
  66. package/counter/lib/es6/Counter.js.map +1 -1
  67. package/counter/package.json +1 -1
  68. package/d3-chart/a11y/PlotA11yModule.d.ts +1 -1
  69. package/d3-chart/component/Chart/AbstractChart.d.ts +2 -1
  70. package/d3-chart/component/Chart/AbstractChart.type.d.ts +11 -1
  71. package/d3-chart/component/ChartLegend/BaseLegend.d.ts +1 -1
  72. package/d3-chart/component/ChartLegend/BaseLegend.type.d.ts +2 -1
  73. package/d3-chart/component/ChartLegend/LegendItem/LegendItem.type.d.ts +14 -4
  74. package/d3-chart/component/ChartLegend/LegendTable/LegendTable.type.d.ts +1 -1
  75. package/d3-chart/lib/cjs/Area.js +11 -11
  76. package/d3-chart/lib/cjs/Axis.js +14 -14
  77. package/d3-chart/lib/cjs/Bar.js +16 -16
  78. package/d3-chart/lib/cjs/Bubble.js +12 -12
  79. package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
  80. package/d3-chart/lib/cjs/Donut.js +9 -9
  81. package/d3-chart/lib/cjs/Dots.js +8 -8
  82. package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
  83. package/d3-chart/lib/cjs/Hover.js +3 -3
  84. package/d3-chart/lib/cjs/Line.js +9 -9
  85. package/d3-chart/lib/cjs/Plot.js +3 -3
  86. package/d3-chart/lib/cjs/Radar.js +19 -19
  87. package/d3-chart/lib/cjs/RadialTree.js +12 -12
  88. package/d3-chart/lib/cjs/Reference.js +12 -12
  89. package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
  90. package/d3-chart/lib/cjs/Tooltip.js +9 -9
  91. package/d3-chart/lib/cjs/Venn.js +9 -9
  92. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  93. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
  94. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +21 -18
  95. package/d3-chart/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  96. package/d3-chart/lib/cjs/component/Chart/AbstractChart.js +5 -2
  97. package/d3-chart/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
  98. package/d3-chart/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
  99. package/d3-chart/lib/cjs/component/Chart/AreaChart.js +10 -0
  100. package/d3-chart/lib/cjs/component/Chart/AreaChart.js.map +1 -1
  101. package/d3-chart/lib/cjs/component/Chart/BarChart.js +10 -0
  102. package/d3-chart/lib/cjs/component/Chart/BarChart.js.map +1 -1
  103. package/d3-chart/lib/cjs/component/Chart/BubbleChart.js +10 -0
  104. package/d3-chart/lib/cjs/component/Chart/BubbleChart.js.map +1 -1
  105. package/d3-chart/lib/cjs/component/Chart/CigaretteChart.js +10 -1
  106. package/d3-chart/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
  107. package/d3-chart/lib/cjs/component/Chart/CompactHorizontalBarChart.js +10 -0
  108. package/d3-chart/lib/cjs/component/Chart/CompactHorizontalBarChart.js.map +1 -1
  109. package/d3-chart/lib/cjs/component/Chart/DonutChart.js +10 -0
  110. package/d3-chart/lib/cjs/component/Chart/DonutChart.js.map +1 -1
  111. package/d3-chart/lib/cjs/component/Chart/HistogramChart.js +10 -0
  112. package/d3-chart/lib/cjs/component/Chart/HistogramChart.js.map +1 -1
  113. package/d3-chart/lib/cjs/component/Chart/LineChart.js +10 -0
  114. package/d3-chart/lib/cjs/component/Chart/LineChart.js.map +1 -1
  115. package/d3-chart/lib/cjs/component/Chart/RadarChart.js +11 -0
  116. package/d3-chart/lib/cjs/component/Chart/RadarChart.js.map +1 -1
  117. package/d3-chart/lib/cjs/component/Chart/ScatterPlotChart.js +10 -0
  118. package/d3-chart/lib/cjs/component/Chart/ScatterPlotChart.js.map +1 -1
  119. package/d3-chart/lib/cjs/component/Chart/VennChart.js +11 -3
  120. package/d3-chart/lib/cjs/component/Chart/VennChart.js.map +1 -1
  121. package/d3-chart/lib/cjs/component/ChartLegend/BaseLegend.js +4 -10
  122. package/d3-chart/lib/cjs/component/ChartLegend/BaseLegend.js.map +1 -1
  123. package/d3-chart/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -1
  124. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +7 -5
  125. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  126. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +35 -30
  127. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  128. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  129. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +8 -7
  130. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  131. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
  132. package/d3-chart/lib/cjs/translations/de.json +2 -1
  133. package/d3-chart/lib/cjs/translations/en.json +2 -1
  134. package/d3-chart/lib/cjs/translations/es.json +2 -1
  135. package/d3-chart/lib/cjs/translations/fr.json +2 -1
  136. package/d3-chart/lib/cjs/translations/it.json +2 -1
  137. package/d3-chart/lib/cjs/translations/ja.json +2 -1
  138. package/d3-chart/lib/cjs/translations/ko.json +2 -1
  139. package/d3-chart/lib/cjs/translations/nl.json +2 -1
  140. package/d3-chart/lib/cjs/translations/pl.json +2 -1
  141. package/d3-chart/lib/cjs/translations/pt.json +2 -1
  142. package/d3-chart/lib/cjs/translations/sv.json +2 -1
  143. package/d3-chart/lib/cjs/translations/tr.json +2 -1
  144. package/d3-chart/lib/cjs/translations/vi.json +2 -1
  145. package/d3-chart/lib/cjs/translations/zh.json +2 -1
  146. package/d3-chart/lib/es6/Area.js +11 -11
  147. package/d3-chart/lib/es6/Axis.js +14 -14
  148. package/d3-chart/lib/es6/Bar.js +16 -16
  149. package/d3-chart/lib/es6/Bubble.js +12 -12
  150. package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
  151. package/d3-chart/lib/es6/Donut.js +9 -9
  152. package/d3-chart/lib/es6/Dots.js +8 -8
  153. package/d3-chart/lib/es6/HorizontalBar.js +16 -16
  154. package/d3-chart/lib/es6/Hover.js +3 -3
  155. package/d3-chart/lib/es6/Line.js +9 -9
  156. package/d3-chart/lib/es6/Plot.js +3 -3
  157. package/d3-chart/lib/es6/Radar.js +19 -19
  158. package/d3-chart/lib/es6/RadialTree.js +12 -12
  159. package/d3-chart/lib/es6/Reference.js +12 -12
  160. package/d3-chart/lib/es6/ScatterPlot.js +9 -9
  161. package/d3-chart/lib/es6/Tooltip.js +9 -9
  162. package/d3-chart/lib/es6/Venn.js +9 -9
  163. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  164. package/d3-chart/lib/es6/a11y/PlotA11yModule.js.map +1 -1
  165. package/d3-chart/lib/es6/a11y/PlotA11yView.js +21 -18
  166. package/d3-chart/lib/es6/a11y/PlotA11yView.js.map +1 -1
  167. package/d3-chart/lib/es6/component/Chart/AbstractChart.js +5 -2
  168. package/d3-chart/lib/es6/component/Chart/AbstractChart.js.map +1 -1
  169. package/d3-chart/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
  170. package/d3-chart/lib/es6/component/Chart/AreaChart.js +10 -0
  171. package/d3-chart/lib/es6/component/Chart/AreaChart.js.map +1 -1
  172. package/d3-chart/lib/es6/component/Chart/BarChart.js +10 -0
  173. package/d3-chart/lib/es6/component/Chart/BarChart.js.map +1 -1
  174. package/d3-chart/lib/es6/component/Chart/BubbleChart.js +10 -0
  175. package/d3-chart/lib/es6/component/Chart/BubbleChart.js.map +1 -1
  176. package/d3-chart/lib/es6/component/Chart/CigaretteChart.js +10 -1
  177. package/d3-chart/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
  178. package/d3-chart/lib/es6/component/Chart/CompactHorizontalBarChart.js +10 -0
  179. package/d3-chart/lib/es6/component/Chart/CompactHorizontalBarChart.js.map +1 -1
  180. package/d3-chart/lib/es6/component/Chart/DonutChart.js +10 -0
  181. package/d3-chart/lib/es6/component/Chart/DonutChart.js.map +1 -1
  182. package/d3-chart/lib/es6/component/Chart/HistogramChart.js +10 -0
  183. package/d3-chart/lib/es6/component/Chart/HistogramChart.js.map +1 -1
  184. package/d3-chart/lib/es6/component/Chart/LineChart.js +10 -0
  185. package/d3-chart/lib/es6/component/Chart/LineChart.js.map +1 -1
  186. package/d3-chart/lib/es6/component/Chart/RadarChart.js +11 -0
  187. package/d3-chart/lib/es6/component/Chart/RadarChart.js.map +1 -1
  188. package/d3-chart/lib/es6/component/Chart/ScatterPlotChart.js +10 -0
  189. package/d3-chart/lib/es6/component/Chart/ScatterPlotChart.js.map +1 -1
  190. package/d3-chart/lib/es6/component/Chart/VennChart.js +11 -3
  191. package/d3-chart/lib/es6/component/Chart/VennChart.js.map +1 -1
  192. package/d3-chart/lib/es6/component/ChartLegend/BaseLegend.js +4 -10
  193. package/d3-chart/lib/es6/component/ChartLegend/BaseLegend.js.map +1 -1
  194. package/d3-chart/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -1
  195. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +7 -5
  196. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  197. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +35 -30
  198. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  199. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  200. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +8 -7
  201. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  202. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
  203. package/d3-chart/lib/es6/translations/de.json +2 -1
  204. package/d3-chart/lib/es6/translations/en.json +2 -1
  205. package/d3-chart/lib/es6/translations/es.json +2 -1
  206. package/d3-chart/lib/es6/translations/fr.json +2 -1
  207. package/d3-chart/lib/es6/translations/it.json +2 -1
  208. package/d3-chart/lib/es6/translations/ja.json +2 -1
  209. package/d3-chart/lib/es6/translations/ko.json +2 -1
  210. package/d3-chart/lib/es6/translations/nl.json +2 -1
  211. package/d3-chart/lib/es6/translations/pl.json +2 -1
  212. package/d3-chart/lib/es6/translations/pt.json +2 -1
  213. package/d3-chart/lib/es6/translations/sv.json +2 -1
  214. package/d3-chart/lib/es6/translations/tr.json +2 -1
  215. package/d3-chart/lib/es6/translations/vi.json +2 -1
  216. package/d3-chart/lib/es6/translations/zh.json +2 -1
  217. package/d3-chart/lib/types/a11y/PlotA11yModule.d.ts +1 -1
  218. package/d3-chart/lib/types/component/Chart/AbstractChart.d.ts +2 -1
  219. package/d3-chart/lib/types/component/Chart/AbstractChart.type.d.ts +11 -1
  220. package/d3-chart/lib/types/component/ChartLegend/BaseLegend.d.ts +1 -1
  221. package/d3-chart/lib/types/component/ChartLegend/BaseLegend.type.d.ts +2 -1
  222. package/d3-chart/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +14 -4
  223. package/d3-chart/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +1 -1
  224. package/d3-chart/lib/types/translations/__intergalactic-dynamic-locales.d.ts +13 -0
  225. package/d3-chart/package.json +1 -1
  226. package/d3-chart/translations/__intergalactic-dynamic-locales.d.ts +13 -0
  227. package/data-table/lib/cjs/Body.js +3 -3
  228. package/data-table/lib/cjs/DataTable.js +36 -36
  229. package/data-table/lib/es6/Body.js +3 -3
  230. package/data-table/lib/es6/DataTable.js +36 -36
  231. package/data-table/package.json +1 -1
  232. package/date-picker/lib/cjs/components/Calendar.js +21 -21
  233. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
  234. package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
  235. package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
  236. package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
  237. package/date-picker/lib/es6/components/Calendar.js +21 -21
  238. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
  239. package/date-picker/lib/es6/components/InputTrigger.js +29 -29
  240. package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
  241. package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
  242. package/date-picker/package.json +1 -1
  243. package/divider/lib/cjs/Divider.js +10 -10
  244. package/divider/lib/es6/Divider.js +10 -10
  245. package/divider/package.json +1 -1
  246. package/dot/lib/cjs/Dot.js +10 -10
  247. package/dot/lib/es6/Dot.js +10 -10
  248. package/dot/package.json +1 -1
  249. package/drag-and-drop/index.d.ts +22 -8
  250. package/drag-and-drop/lib/cjs/DragAndDrop.js +172 -125
  251. package/drag-and-drop/lib/cjs/DragAndDrop.js.map +1 -1
  252. package/drag-and-drop/lib/cjs/index.d.js.map +1 -1
  253. package/drag-and-drop/lib/cjs/translations/de.json +6 -5
  254. package/drag-and-drop/lib/cjs/translations/en.json +6 -5
  255. package/drag-and-drop/lib/cjs/translations/es.json +6 -5
  256. package/drag-and-drop/lib/cjs/translations/fr.json +6 -5
  257. package/drag-and-drop/lib/cjs/translations/it.json +6 -5
  258. package/drag-and-drop/lib/cjs/translations/ja.json +6 -5
  259. package/drag-and-drop/lib/cjs/translations/ko.json +6 -5
  260. package/drag-and-drop/lib/cjs/translations/nl.json +6 -5
  261. package/drag-and-drop/lib/cjs/translations/pl.json +6 -5
  262. package/drag-and-drop/lib/cjs/translations/pt.json +6 -5
  263. package/drag-and-drop/lib/cjs/translations/sv.json +6 -5
  264. package/drag-and-drop/lib/cjs/translations/tr.json +6 -5
  265. package/drag-and-drop/lib/cjs/translations/vi.json +6 -5
  266. package/drag-and-drop/lib/cjs/translations/zh.json +6 -5
  267. package/drag-and-drop/lib/es6/DragAndDrop.js +172 -125
  268. package/drag-and-drop/lib/es6/DragAndDrop.js.map +1 -1
  269. package/drag-and-drop/lib/es6/index.d.js.map +1 -1
  270. package/drag-and-drop/lib/es6/translations/de.json +6 -5
  271. package/drag-and-drop/lib/es6/translations/en.json +6 -5
  272. package/drag-and-drop/lib/es6/translations/es.json +6 -5
  273. package/drag-and-drop/lib/es6/translations/fr.json +6 -5
  274. package/drag-and-drop/lib/es6/translations/it.json +6 -5
  275. package/drag-and-drop/lib/es6/translations/ja.json +6 -5
  276. package/drag-and-drop/lib/es6/translations/ko.json +6 -5
  277. package/drag-and-drop/lib/es6/translations/nl.json +6 -5
  278. package/drag-and-drop/lib/es6/translations/pl.json +6 -5
  279. package/drag-and-drop/lib/es6/translations/pt.json +6 -5
  280. package/drag-and-drop/lib/es6/translations/sv.json +6 -5
  281. package/drag-and-drop/lib/es6/translations/tr.json +6 -5
  282. package/drag-and-drop/lib/es6/translations/vi.json +6 -5
  283. package/drag-and-drop/lib/es6/translations/zh.json +6 -5
  284. package/drag-and-drop/lib/types/index.d.ts +22 -8
  285. package/drag-and-drop/package.json +1 -1
  286. package/dropdown/lib/cjs/AbstractDropdown.js +1 -5
  287. package/dropdown/lib/cjs/AbstractDropdown.js.map +1 -1
  288. package/dropdown/lib/cjs/Dropdown.js +15 -15
  289. package/dropdown/lib/es6/AbstractDropdown.js +1 -5
  290. package/dropdown/lib/es6/AbstractDropdown.js.map +1 -1
  291. package/dropdown/lib/es6/Dropdown.js +15 -15
  292. package/dropdown/package.json +1 -1
  293. package/dropdown-menu/index.d.ts +2 -0
  294. package/dropdown-menu/lib/cjs/DropdownMenu.js +83 -73
  295. package/dropdown-menu/lib/cjs/DropdownMenu.js.map +1 -1
  296. package/dropdown-menu/lib/cjs/index.d.js.map +1 -1
  297. package/dropdown-menu/lib/cjs/style/dropdown-menu.shadow.css +3 -3
  298. package/dropdown-menu/lib/es6/DropdownMenu.js +80 -69
  299. package/dropdown-menu/lib/es6/DropdownMenu.js.map +1 -1
  300. package/dropdown-menu/lib/es6/index.d.js.map +1 -1
  301. package/dropdown-menu/lib/es6/style/dropdown-menu.shadow.css +3 -3
  302. package/dropdown-menu/lib/types/index.d.ts +2 -0
  303. package/dropdown-menu/package.json +1 -1
  304. package/ellipsis/lib/cjs/Ellipsis.js +23 -19
  305. package/ellipsis/lib/cjs/Ellipsis.js.map +1 -1
  306. package/ellipsis/lib/es6/Ellipsis.js +23 -19
  307. package/ellipsis/lib/es6/Ellipsis.js.map +1 -1
  308. package/ellipsis/package.json +1 -1
  309. package/errors/lib/cjs/Error.js +9 -9
  310. package/errors/lib/es6/Error.js +9 -9
  311. package/errors/package.json +1 -1
  312. package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
  313. package/feature-popover/lib/es6/FeaturePopover.js +11 -11
  314. package/feature-popover/package.json +1 -1
  315. package/feedback-form/component/feedback-rating/FeedbackRating.d.ts +5 -11
  316. package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
  317. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
  318. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
  319. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js.map +1 -1
  320. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +6 -6
  321. package/feedback-form/lib/es6/FeedbackForm.js +7 -7
  322. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
  323. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
  324. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js.map +1 -1
  325. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +6 -6
  326. package/feedback-form/lib/types/component/feedback-rating/FeedbackRating.d.ts +5 -11
  327. package/feedback-form/package.json +1 -1
  328. package/flags/lib/cjs/Flags.js +3 -3
  329. package/flags/lib/es6/Flags.js +3 -3
  330. package/flags/lib/sprites/sprite@1x.css +256 -256
  331. package/flags/lib/sprites/sprite@2x.css +257 -257
  332. package/flags/package.json +1 -1
  333. package/flex-box/lib/cjs/Box/useBox.js +3 -3
  334. package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
  335. package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
  336. package/flex-box/lib/es6/Box/useBox.js +3 -3
  337. package/flex-box/lib/es6/Flex/useFlex.js +3 -3
  338. package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
  339. package/flex-box/package.json +1 -1
  340. package/format-text/lib/cjs/FormatText.js +5 -5
  341. package/format-text/lib/es6/FormatText.js +5 -5
  342. package/format-text/package.json +1 -1
  343. package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
  344. package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
  345. package/fullscreen-modal/package.json +1 -1
  346. package/grid/lib/cjs/Grid.js +114 -114
  347. package/grid/lib/es6/Grid.js +114 -114
  348. package/grid/package.json +1 -1
  349. package/i18n-unplugin/package.json +1 -1
  350. package/icon/Tack/l/index.d.ts +6 -0
  351. package/icon/Tack/l/index.js +38 -0
  352. package/icon/Tack/l/index.mjs +26 -0
  353. package/icon/Tack/m/index.d.ts +6 -0
  354. package/icon/Tack/m/index.js +38 -0
  355. package/icon/Tack/m/index.mjs +26 -0
  356. package/icon/TackNo/l/index.d.ts +6 -0
  357. package/icon/TackNo/l/index.js +41 -0
  358. package/icon/TackNo/l/index.mjs +29 -0
  359. package/icon/TackNo/m/index.d.ts +6 -0
  360. package/icon/TackNo/m/index.js +41 -0
  361. package/icon/TackNo/m/index.mjs +29 -0
  362. package/icon/Yext/l/index.d.ts +6 -0
  363. package/icon/Yext/l/index.js +52 -0
  364. package/icon/Yext/l/index.mjs +40 -0
  365. package/icon/Yext/m/index.d.ts +6 -0
  366. package/icon/Yext/m/index.js +52 -0
  367. package/icon/Yext/m/index.mjs +40 -0
  368. package/icon/color/BirdeyeColored/l/index.d.ts +6 -0
  369. package/icon/color/BirdeyeColored/l/index.js +39 -0
  370. package/icon/color/BirdeyeColored/l/index.mjs +27 -0
  371. package/icon/color/BirdeyeColored/m/index.d.ts +6 -0
  372. package/icon/color/BirdeyeColored/m/index.js +39 -0
  373. package/icon/color/BirdeyeColored/m/index.mjs +27 -0
  374. package/icon/color/CallTrackingMetricsColored/l/index.d.ts +6 -0
  375. package/icon/color/CallTrackingMetricsColored/l/index.js +43 -0
  376. package/icon/color/CallTrackingMetricsColored/l/index.mjs +31 -0
  377. package/icon/color/CallTrackingMetricsColored/m/index.d.ts +6 -0
  378. package/icon/color/CallTrackingMetricsColored/m/index.js +43 -0
  379. package/icon/color/CallTrackingMetricsColored/m/index.mjs +31 -0
  380. package/icon/color/CampaignMonitorColored/l/index.d.ts +6 -0
  381. package/icon/color/CampaignMonitorColored/l/index.js +37 -0
  382. package/icon/color/CampaignMonitorColored/l/index.mjs +25 -0
  383. package/icon/color/CampaignMonitorColored/m/index.d.ts +6 -0
  384. package/icon/color/CampaignMonitorColored/m/index.js +37 -0
  385. package/icon/color/CampaignMonitorColored/m/index.mjs +25 -0
  386. package/icon/color/Confluence/l/index.js +4 -4
  387. package/icon/color/Confluence/l/index.mjs +4 -4
  388. package/icon/color/Confluence/m/index.js +4 -4
  389. package/icon/color/Confluence/m/index.mjs +4 -4
  390. package/icon/color/ConstantContactColored/l/index.d.ts +6 -0
  391. package/icon/color/ConstantContactColored/l/index.js +45 -0
  392. package/icon/color/ConstantContactColored/l/index.mjs +33 -0
  393. package/icon/color/ConstantContactColored/m/index.d.ts +6 -0
  394. package/icon/color/ConstantContactColored/m/index.js +45 -0
  395. package/icon/color/ConstantContactColored/m/index.mjs +33 -0
  396. package/icon/color/GoogleDisplayVideoAds/l/index.d.ts +6 -0
  397. package/icon/color/GoogleDisplayVideoAds/l/index.js +53 -0
  398. package/icon/color/GoogleDisplayVideoAds/l/index.mjs +41 -0
  399. package/icon/color/GoogleDisplayVideoAds/m/index.d.ts +6 -0
  400. package/icon/color/GoogleDisplayVideoAds/m/index.js +53 -0
  401. package/icon/color/GoogleDisplayVideoAds/m/index.mjs +41 -0
  402. package/icon/color/InstagramColored/l/index.d.ts +6 -0
  403. package/icon/color/InstagramColored/l/index.js +188 -0
  404. package/icon/color/InstagramColored/l/index.mjs +176 -0
  405. package/icon/color/InstagramColored/m/index.d.ts +6 -0
  406. package/icon/color/InstagramColored/m/index.js +188 -0
  407. package/icon/color/InstagramColored/m/index.mjs +176 -0
  408. package/icon/color/MetaColored/l/index.d.ts +6 -0
  409. package/icon/color/MetaColored/l/index.js +75 -0
  410. package/icon/color/MetaColored/l/index.mjs +63 -0
  411. package/icon/color/MetaColored/m/index.d.ts +6 -0
  412. package/icon/color/MetaColored/m/index.js +83 -0
  413. package/icon/color/MetaColored/m/index.mjs +71 -0
  414. package/icon/color/MicrosoftOffice/l/index.js +10 -10
  415. package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
  416. package/icon/color/MicrosoftOffice/m/index.js +10 -10
  417. package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
  418. package/icon/color/PipedriveColored/l/index.d.ts +6 -0
  419. package/icon/color/PipedriveColored/l/index.js +43 -0
  420. package/icon/color/PipedriveColored/l/index.mjs +31 -0
  421. package/icon/color/PipedriveColored/m/index.d.ts +6 -0
  422. package/icon/color/PipedriveColored/m/index.js +43 -0
  423. package/icon/color/PipedriveColored/m/index.mjs +31 -0
  424. package/icon/color/ShopifyColored/l/index.d.ts +6 -0
  425. package/icon/color/ShopifyColored/l/index.js +45 -0
  426. package/icon/color/ShopifyColored/l/index.mjs +33 -0
  427. package/icon/color/ShopifyColored/m/index.d.ts +6 -0
  428. package/icon/color/ShopifyColored/m/index.js +45 -0
  429. package/icon/color/ShopifyColored/m/index.mjs +33 -0
  430. package/icon/color/WhatConvertsColored/l/index.d.ts +6 -0
  431. package/icon/color/WhatConvertsColored/l/index.js +39 -0
  432. package/icon/color/WhatConvertsColored/l/index.mjs +27 -0
  433. package/icon/color/WhatConvertsColored/m/index.d.ts +6 -0
  434. package/icon/color/WhatConvertsColored/m/index.js +39 -0
  435. package/icon/color/WhatConvertsColored/m/index.mjs +27 -0
  436. package/icon/color/WooCommerceColored/l/index.d.ts +6 -0
  437. package/icon/color/WooCommerceColored/l/index.js +43 -0
  438. package/icon/color/WooCommerceColored/l/index.mjs +31 -0
  439. package/icon/color/WooCommerceColored/m/index.d.ts +6 -0
  440. package/icon/color/WooCommerceColored/m/index.js +43 -0
  441. package/icon/color/WooCommerceColored/m/index.mjs +31 -0
  442. package/icon/lib/cjs/Icon.js +5 -5
  443. package/icon/lib/es6/Icon.js +5 -5
  444. package/icon/package.json +1 -1
  445. package/icon/pay/Discover/l/index.js +1 -1
  446. package/icon/pay/Discover/l/index.mjs +1 -1
  447. package/icon/pay/Discover/m/index.js +1 -1
  448. package/icon/pay/Discover/m/index.mjs +1 -1
  449. package/icon/pay/JCB/l/index.js +10 -10
  450. package/icon/pay/JCB/l/index.mjs +10 -10
  451. package/icon/pay/JCB/m/index.js +10 -10
  452. package/icon/pay/JCB/m/index.mjs +10 -10
  453. package/icon/pay/Visa/l/index.js +2 -2
  454. package/icon/pay/Visa/l/index.mjs +2 -2
  455. package/icon/pay/Visa/m/index.js +2 -2
  456. package/icon/pay/Visa/m/index.mjs +2 -2
  457. package/illustration/lib/cjs/index.js +1 -1
  458. package/illustration/lib/es6/index.js +1 -1
  459. package/illustration/package.json +1 -1
  460. package/inline-edit/lib/cjs/InlineEdit.js +4 -4
  461. package/inline-edit/lib/es6/InlineEdit.js +4 -4
  462. package/inline-edit/package.json +1 -1
  463. package/inline-input/lib/cjs/InlineInput.js +14 -14
  464. package/inline-input/lib/es6/InlineInput.js +14 -14
  465. package/inline-input/package.json +1 -1
  466. package/input/lib/cjs/Input.js +17 -17
  467. package/input/lib/es6/Input.js +17 -17
  468. package/input/package.json +1 -1
  469. package/input-mask/lib/cjs/InputMask.js +6 -6
  470. package/input-mask/lib/cjs/InputMask.js.map +1 -1
  471. package/input-mask/lib/es6/InputMask.js +6 -6
  472. package/input-mask/lib/es6/InputMask.js.map +1 -1
  473. package/input-mask/package.json +1 -1
  474. package/input-number/lib/cjs/InputNumber.js +9 -9
  475. package/input-number/lib/es6/InputNumber.js +9 -9
  476. package/input-number/package.json +1 -1
  477. package/input-tags/lib/cjs/InputTags.js +12 -12
  478. package/input-tags/lib/es6/InputTags.js +12 -12
  479. package/input-tags/package.json +1 -1
  480. package/link/lib/cjs/Link.js +12 -12
  481. package/link/lib/es6/Link.js +12 -12
  482. package/link/package.json +1 -1
  483. package/mini-chart/component/trend/Trend.d.ts +1 -1
  484. package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
  485. package/mini-chart/lib/cjs/component/score/Donut.js.map +1 -1
  486. package/mini-chart/lib/cjs/component/score/Line.js +17 -17
  487. package/mini-chart/lib/cjs/component/score/Line.js.map +1 -1
  488. package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
  489. package/mini-chart/lib/cjs/component/trend/Bar.js.map +1 -1
  490. package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
  491. package/mini-chart/lib/cjs/component/trend/Line.js.map +1 -1
  492. package/mini-chart/lib/cjs/component/trend/Trend.js +1 -1
  493. package/mini-chart/lib/cjs/component/trend/Trend.js.map +1 -1
  494. package/mini-chart/lib/es6/component/score/Donut.js +9 -9
  495. package/mini-chart/lib/es6/component/score/Donut.js.map +1 -1
  496. package/mini-chart/lib/es6/component/score/Line.js +17 -17
  497. package/mini-chart/lib/es6/component/score/Line.js.map +1 -1
  498. package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
  499. package/mini-chart/lib/es6/component/trend/Bar.js.map +1 -1
  500. package/mini-chart/lib/es6/component/trend/Line.js +7 -7
  501. package/mini-chart/lib/es6/component/trend/Line.js.map +1 -1
  502. package/mini-chart/lib/es6/component/trend/Trend.js +1 -1
  503. package/mini-chart/lib/es6/component/trend/Trend.js.map +1 -1
  504. package/mini-chart/lib/types/component/trend/Trend.d.ts +1 -1
  505. package/mini-chart/package.json +1 -1
  506. package/modal/lib/cjs/Modal.js +8 -8
  507. package/modal/lib/es6/Modal.js +8 -8
  508. package/modal/package.json +1 -1
  509. package/neighbor-location/package.json +1 -1
  510. package/notice/lib/cjs/Notice.js +14 -14
  511. package/notice/lib/es6/Notice.js +14 -14
  512. package/notice/package.json +1 -1
  513. package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
  514. package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
  515. package/notice-bubble/package.json +1 -1
  516. package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
  517. package/notice-global/lib/es6/NoticeGlobal.js +11 -11
  518. package/notice-global/package.json +1 -1
  519. package/outside-click/package.json +1 -1
  520. package/package.json +1 -1
  521. package/pagination/lib/cjs/Pagination.js +11 -10
  522. package/pagination/lib/cjs/Pagination.js.map +1 -1
  523. package/pagination/lib/es6/Pagination.js +11 -10
  524. package/pagination/lib/es6/Pagination.js.map +1 -1
  525. package/pagination/package.json +1 -1
  526. package/pills/lib/cjs/Pills.js +13 -13
  527. package/pills/lib/es6/Pills.js +13 -13
  528. package/pills/package.json +1 -1
  529. package/popper/lib/cjs/Popper.js +6 -6
  530. package/popper/lib/es6/Popper.js +6 -6
  531. package/popper/package.json +1 -1
  532. package/portal/package.json +1 -1
  533. package/product-head/lib/cjs/Info.js +4 -4
  534. package/product-head/lib/cjs/ProductHead.js +5 -5
  535. package/product-head/lib/cjs/Title.js +4 -4
  536. package/product-head/lib/es6/Info.js +4 -4
  537. package/product-head/lib/es6/ProductHead.js +5 -5
  538. package/product-head/lib/es6/Title.js +4 -4
  539. package/product-head/package.json +1 -1
  540. package/progress-bar/lib/cjs/ProgressBar.js +15 -15
  541. package/progress-bar/lib/es6/ProgressBar.js +15 -15
  542. package/progress-bar/package.json +1 -1
  543. package/radio/lib/cjs/Radio.js +16 -16
  544. package/radio/lib/es6/Radio.js +16 -16
  545. package/radio/package.json +1 -1
  546. package/scroll-area/lib/cjs/ScrollArea.js +21 -21
  547. package/scroll-area/lib/cjs/ScrollBar.js +6 -6
  548. package/scroll-area/lib/es6/ScrollArea.js +21 -21
  549. package/scroll-area/lib/es6/ScrollBar.js +6 -6
  550. package/scroll-area/package.json +1 -1
  551. package/select/lib/cjs/InputSearch.js +6 -6
  552. package/select/lib/cjs/Select.js +8 -8
  553. package/select/lib/es6/InputSearch.js +6 -6
  554. package/select/lib/es6/Select.js +8 -8
  555. package/select/package.json +1 -1
  556. package/side-panel/lib/cjs/SidePanel.js +16 -16
  557. package/side-panel/lib/es6/SidePanel.js +16 -16
  558. package/side-panel/package.json +1 -1
  559. package/skeleton/lib/cjs/Charts/Area.js +9 -9
  560. package/skeleton/lib/cjs/Charts/Bar.js +9 -9
  561. package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
  562. package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
  563. package/skeleton/lib/cjs/Charts/Donut.js +9 -9
  564. package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
  565. package/skeleton/lib/cjs/Charts/Line.js +9 -9
  566. package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
  567. package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
  568. package/skeleton/lib/cjs/Charts/Venn.js +9 -9
  569. package/skeleton/lib/cjs/Skeleton.js +8 -8
  570. package/skeleton/lib/es6/Charts/Area.js +9 -9
  571. package/skeleton/lib/es6/Charts/Bar.js +9 -9
  572. package/skeleton/lib/es6/Charts/Bubble.js +9 -9
  573. package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
  574. package/skeleton/lib/es6/Charts/Donut.js +9 -9
  575. package/skeleton/lib/es6/Charts/Histogram.js +9 -9
  576. package/skeleton/lib/es6/Charts/Line.js +9 -9
  577. package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
  578. package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
  579. package/skeleton/lib/es6/Charts/Venn.js +9 -9
  580. package/skeleton/lib/es6/Skeleton.js +8 -8
  581. package/skeleton/package.json +1 -1
  582. package/slider/lib/cjs/Slider.js +8 -8
  583. package/slider/lib/es6/Slider.js +8 -8
  584. package/slider/package.json +1 -1
  585. package/spin/lib/cjs/Spin.js +13 -13
  586. package/spin/lib/es6/Spin.js +13 -13
  587. package/spin/package.json +1 -1
  588. package/spin-container/lib/cjs/SpinContainer.js +8 -8
  589. package/spin-container/lib/es6/SpinContainer.js +8 -8
  590. package/spin-container/package.json +1 -1
  591. package/sticky/lib/cjs/Sticky.js +2 -2
  592. package/sticky/lib/es6/Sticky.js +2 -2
  593. package/sticky/package.json +1 -1
  594. package/switch/lib/cjs/Switch.js +23 -30
  595. package/switch/lib/cjs/Switch.js.map +1 -1
  596. package/switch/lib/es6/Switch.js +23 -30
  597. package/switch/lib/es6/Switch.js.map +1 -1
  598. package/switch/package.json +1 -1
  599. package/tab-line/lib/cjs/TabLine.js +13 -13
  600. package/tab-line/lib/es6/TabLine.js +13 -13
  601. package/tab-line/package.json +1 -1
  602. package/tab-panel/lib/cjs/TabPanel.js +8 -8
  603. package/tab-panel/lib/es6/TabPanel.js +8 -8
  604. package/tab-panel/package.json +1 -1
  605. package/tag/lib/cjs/Tag.js +23 -23
  606. package/tag/lib/es6/Tag.js +23 -23
  607. package/tag/package.json +1 -1
  608. package/textarea/lib/cjs/Textarea.js +8 -8
  609. package/textarea/lib/es6/Textarea.js +8 -8
  610. package/textarea/package.json +1 -1
  611. package/time-picker/lib/cjs/TimePicker.js +12 -12
  612. package/time-picker/lib/es6/TimePicker.js +12 -12
  613. package/time-picker/package.json +1 -1
  614. package/tooltip/lib/cjs/Tooltip.js +9 -9
  615. package/tooltip/lib/es6/Tooltip.js +9 -9
  616. package/tooltip/package.json +1 -1
  617. package/typography/lib/cjs/Blockquote.js +4 -4
  618. package/typography/lib/cjs/Hint.js +7 -7
  619. package/typography/lib/cjs/List.js +5 -5
  620. package/typography/lib/cjs/Text.js +34 -34
  621. package/typography/lib/es6/Blockquote.js +4 -4
  622. package/typography/lib/es6/Hint.js +7 -7
  623. package/typography/lib/es6/List.js +5 -5
  624. package/typography/lib/es6/Text.js +34 -34
  625. package/typography/package.json +1 -1
  626. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
  627. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
  628. package/utils/lib/core/types/Component.d.ts +23 -2
  629. package/utils/lib/core/types/Component.js +1 -1
  630. package/utils/lib/core/types/Component.js.map +1 -1
  631. package/utils/lib/core/types/Component.mjs +1 -1
  632. package/utils/lib/core/types/Component.mjs.map +1 -1
  633. package/utils/lib/injectStyle.js +1 -1
  634. package/utils/lib/injectStyle.mjs +1 -1
  635. package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
  636. package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
  637. package/widget-empty/package.json +1 -1
  638. package/wizard/lib/cjs/Wizard.js +12 -12
  639. package/wizard/lib/es6/Wizard.js +12 -12
  640. package/wizard/package.json +1 -1
@@ -25,9 +25,9 @@ var _PlotA11yModule = require("./a11y/PlotA11yModule");
25
25
  var _hints = require("./a11y/hints");
26
26
  var _resolveColorEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/resolveColorEnhance"));
27
27
  /*__reshadow-styles__:"./style/plot.shadow.css"*/
28
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlot_1pt2m_gg_{overflow:hidden}.___SPlot_1pt2m_gg_:active,.___SPlot_1pt2m_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_1pt2m_gg_.__keyboardFocused_1pt2m_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__*/, "1pt2m_gg_") /*__reshadow_css_end__*/, {
29
- "__SPlot": "___SPlot_1pt2m_gg_",
30
- "_keyboardFocused": "__keyboardFocused_1pt2m_gg_"
28
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlot_axwzv_gg_{overflow:hidden}.___SPlot_axwzv_gg_:active,.___SPlot_axwzv_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_axwzv_gg_.__keyboardFocused_axwzv_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__*/, "axwzv_gg_") /*__reshadow_css_end__*/, {
29
+ "__SPlot": "___SPlot_axwzv_gg_",
30
+ "_keyboardFocused": "__keyboardFocused_axwzv_gg_"
31
31
  });
32
32
  var PlotRoot = /*#__PURE__*/function (_Component) {
33
33
  (0, _inherits2["default"])(PlotRoot, _Component);
@@ -30,25 +30,25 @@ var _utils = require("./utils");
30
30
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
31
31
  var _Pattern = require("./Pattern");
32
32
  /*__reshadow-styles__:"./style/radar.shadow.css"*/
33
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SAxisLine_13143_gg_,.___SAxisTick_13143_gg_,.___SAxis_13143_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_13143_gg_,.___SAxisTick_13143_gg_{stroke-dasharray:2}.___SAxisLine_13143_gg_.__active_13143_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_13143_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_13143_gg_.__xDirection_13143_gg_{text-anchor:var(--xDirection_13143)}.___SAxisLabel_13143_gg_.__yDirection_13143_gg_{dominant-baseline:var(--yDirection_13143)}.___SPolygonDot_13143_gg_,.___SPolygon_13143_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_13143_gg_{opacity:.2}.___SPolygon_13143_gg_.__color_13143_gg_{fill:var(--color_13143)}.___SPolygon_13143_gg_.__pattern_13143_gg_.__color_13143_gg_{fill:var(--pattern_13143);stroke:var(--color_13143);stroke-width:1px}.___SPolygonDot_13143_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_13143_gg_.__transparent_13143_gg_{opacity:.3}.___SPolygonDot_13143_gg_.__color_13143_gg_{fill:var(--color_13143)}.___SPolygonLine_13143_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_13143_gg_.__transparent_13143_gg_{opacity:.3}.___SPolygonLine_13143_gg_.__color_13143_gg_{stroke:var(--color_13143)}.___SPieRect_13143_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "13143_gg_") /*__reshadow_css_end__*/, {
34
- "__SAxis": "___SAxis_13143_gg_",
35
- "__SAxisLine": "___SAxisLine_13143_gg_",
36
- "__SAxisTick": "___SAxisTick_13143_gg_",
37
- "_active": "__active_13143_gg_",
38
- "__SAxisLabel": "___SAxisLabel_13143_gg_",
39
- "_xDirection": "__xDirection_13143_gg_",
40
- "--xDirection": "--xDirection_13143",
41
- "_yDirection": "__yDirection_13143_gg_",
42
- "--yDirection": "--yDirection_13143",
43
- "__SPolygon": "___SPolygon_13143_gg_",
44
- "_color": "__color_13143_gg_",
45
- "--color": "--color_13143",
46
- "_pattern": "__pattern_13143_gg_",
47
- "--pattern": "--pattern_13143",
48
- "__SPolygonDot": "___SPolygonDot_13143_gg_",
49
- "_transparent": "__transparent_13143_gg_",
50
- "__SPolygonLine": "___SPolygonLine_13143_gg_",
51
- "__SPieRect": "___SPieRect_13143_gg_"
33
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SAxisLine_u5a31_gg_,.___SAxisTick_u5a31_gg_,.___SAxis_u5a31_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_u5a31_gg_,.___SAxisTick_u5a31_gg_{stroke-dasharray:2}.___SAxisLine_u5a31_gg_.__active_u5a31_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_u5a31_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_u5a31_gg_.__xDirection_u5a31_gg_{text-anchor:var(--xDirection_u5a31)}.___SAxisLabel_u5a31_gg_.__yDirection_u5a31_gg_{dominant-baseline:var(--yDirection_u5a31)}.___SPolygonDot_u5a31_gg_,.___SPolygon_u5a31_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_u5a31_gg_{opacity:.2}.___SPolygon_u5a31_gg_.__color_u5a31_gg_{fill:var(--color_u5a31)}.___SPolygon_u5a31_gg_.__pattern_u5a31_gg_.__color_u5a31_gg_{fill:var(--pattern_u5a31);stroke:var(--color_u5a31);stroke-width:1px}.___SPolygonDot_u5a31_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_u5a31_gg_.__transparent_u5a31_gg_{opacity:.3}.___SPolygonDot_u5a31_gg_.__color_u5a31_gg_{fill:var(--color_u5a31)}.___SPolygonLine_u5a31_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_u5a31_gg_.__transparent_u5a31_gg_{opacity:.3}.___SPolygonLine_u5a31_gg_.__color_u5a31_gg_{stroke:var(--color_u5a31)}.___SPieRect_u5a31_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "u5a31_gg_") /*__reshadow_css_end__*/, {
34
+ "__SAxis": "___SAxis_u5a31_gg_",
35
+ "__SAxisLine": "___SAxisLine_u5a31_gg_",
36
+ "__SAxisTick": "___SAxisTick_u5a31_gg_",
37
+ "_active": "__active_u5a31_gg_",
38
+ "__SAxisLabel": "___SAxisLabel_u5a31_gg_",
39
+ "_xDirection": "__xDirection_u5a31_gg_",
40
+ "--xDirection": "--xDirection_u5a31",
41
+ "_yDirection": "__yDirection_u5a31_gg_",
42
+ "--yDirection": "--yDirection_u5a31",
43
+ "__SPolygon": "___SPolygon_u5a31_gg_",
44
+ "_color": "__color_u5a31_gg_",
45
+ "--color": "--color_u5a31",
46
+ "_pattern": "__pattern_u5a31_gg_",
47
+ "--pattern": "--pattern_u5a31",
48
+ "__SPolygonDot": "___SPolygonDot_u5a31_gg_",
49
+ "_transparent": "__transparent_u5a31_gg_",
50
+ "__SPolygonLine": "___SPolygonLine_u5a31_gg_",
51
+ "__SPieRect": "___SPieRect_u5a31_gg_"
52
52
  });
53
53
  var clampAngle = function clampAngle(angle) {
54
54
  angle = angle % (2 * Math.PI);
@@ -28,18 +28,18 @@ var _utils = require("./utils");
28
28
  var _Pattern = require("./Pattern");
29
29
  var _excluded = ["data"];
30
30
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
31
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SRadian_1mbfx_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1mbfx_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1mbfx_gg_.__stroke_1mbfx_gg_{stroke:var(--stroke_1mbfx)}.___SLine_1mbfx_gg_.__transparent_1mbfx_gg_{opacity:.3}.___SCap_1mbfx_gg_{transition:r .1s}.___SCap_1mbfx_gg_.__pattern_1mbfx_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1mbfx_gg_.__transparent_1mbfx_gg_,.___SIcon_1mbfx_gg_.__transparent_1mbfx_gg_,.___SLabel_1mbfx_gg_.__transparent_1mbfx_gg_{opacity:.3}.___SLabel_1mbfx_gg_{fill:var(--color_1mbfx)}@media (hover:hover){.___SRadian_1mbfx_gg_:hover .___SLabel_1mbfx_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1mbfx_gg_{transition:none}}" /*__inner_css_end__*/, "1mbfx_gg_") /*__reshadow_css_end__*/, {
32
- "__SRadian": "___SRadian_1mbfx_gg_",
33
- "__SLine": "___SLine_1mbfx_gg_",
34
- "_stroke": "__stroke_1mbfx_gg_",
35
- "--stroke": "--stroke_1mbfx",
36
- "_transparent": "__transparent_1mbfx_gg_",
37
- "__SCap": "___SCap_1mbfx_gg_",
38
- "_pattern": "__pattern_1mbfx_gg_",
39
- "__SIcon": "___SIcon_1mbfx_gg_",
40
- "__SLabel": "___SLabel_1mbfx_gg_",
41
- "--color": "--color_1mbfx",
42
- "__SLineCap": "___SLineCap_1mbfx_gg_"
31
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SRadian_rwe3h_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_rwe3h_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_rwe3h_gg_.__stroke_rwe3h_gg_{stroke:var(--stroke_rwe3h)}.___SLine_rwe3h_gg_.__transparent_rwe3h_gg_{opacity:.3}.___SCap_rwe3h_gg_{transition:r .1s}.___SCap_rwe3h_gg_.__pattern_rwe3h_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_rwe3h_gg_.__transparent_rwe3h_gg_,.___SIcon_rwe3h_gg_.__transparent_rwe3h_gg_,.___SLabel_rwe3h_gg_.__transparent_rwe3h_gg_{opacity:.3}.___SLabel_rwe3h_gg_{fill:var(--color_rwe3h)}@media (hover:hover){.___SRadian_rwe3h_gg_:hover .___SLabel_rwe3h_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_rwe3h_gg_{transition:none}}" /*__inner_css_end__*/, "rwe3h_gg_") /*__reshadow_css_end__*/, {
32
+ "__SRadian": "___SRadian_rwe3h_gg_",
33
+ "__SLine": "___SLine_rwe3h_gg_",
34
+ "_stroke": "__stroke_rwe3h_gg_",
35
+ "--stroke": "--stroke_rwe3h",
36
+ "_transparent": "__transparent_rwe3h_gg_",
37
+ "__SCap": "___SCap_rwe3h_gg_",
38
+ "_pattern": "__pattern_rwe3h_gg_",
39
+ "__SIcon": "___SIcon_rwe3h_gg_",
40
+ "__SLabel": "___SLabel_rwe3h_gg_",
41
+ "--color": "--color_rwe3h",
42
+ "__SLineCap": "___SLineCap_rwe3h_gg_"
43
43
  });
44
44
  var baseAngle = -Math.PI / 2; // The top vertical line
45
45
  var RadialTreeBase = /*#__PURE__*/function (_Component) {
@@ -19,18 +19,18 @@ var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID
19
19
  var _createElement = _interopRequireDefault(require("./createElement"));
20
20
  var _utils = require("./utils");
21
21
  /*__reshadow-styles__:"./style/reference.shadow.css"*/
22
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_ubj1i_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_ubj1i_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_ubj1i)}.___STitle_ubj1i_gg_._position_top_ubj1i_gg_{text-anchor:middle}.___STitle_ubj1i_gg_._position_bottom_ubj1i_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_ubj1i_gg_._position_left_ubj1i_gg_,.___STitle_ubj1i_gg_._position_right_ubj1i_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_ubj1i_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_ubj1i_gg_{fill:var(--fill_ubj1i)}.___SStripesPatternPath_ubj1i_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "ubj1i_gg_") /*__reshadow_css_end__*/, {
23
- "__SReferenceLine": "___SReferenceLine_ubj1i_gg_",
24
- "__STitle": "___STitle_ubj1i_gg_",
25
- "--transform-origin": "--transform-origin_ubj1i",
26
- "_position_top": "_position_top_ubj1i_gg_",
27
- "_position_bottom": "_position_bottom_ubj1i_gg_",
28
- "_position_right": "_position_right_ubj1i_gg_",
29
- "_position_left": "_position_left_ubj1i_gg_",
30
- "__SBackground": "___SBackground_ubj1i_gg_",
31
- "__SStripes": "___SStripes_ubj1i_gg_",
32
- "--fill": "--fill_ubj1i",
33
- "__SStripesPatternPath": "___SStripesPatternPath_ubj1i_gg_"
22
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_pndv3_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_pndv3_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_pndv3)}.___STitle_pndv3_gg_._position_top_pndv3_gg_{text-anchor:middle}.___STitle_pndv3_gg_._position_bottom_pndv3_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_pndv3_gg_._position_left_pndv3_gg_,.___STitle_pndv3_gg_._position_right_pndv3_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_pndv3_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_pndv3_gg_{fill:var(--fill_pndv3)}.___SStripesPatternPath_pndv3_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "pndv3_gg_") /*__reshadow_css_end__*/, {
23
+ "__SReferenceLine": "___SReferenceLine_pndv3_gg_",
24
+ "__STitle": "___STitle_pndv3_gg_",
25
+ "--transform-origin": "--transform-origin_pndv3",
26
+ "_position_top": "_position_top_pndv3_gg_",
27
+ "_position_bottom": "_position_bottom_pndv3_gg_",
28
+ "_position_right": "_position_right_pndv3_gg_",
29
+ "_position_left": "_position_left_pndv3_gg_",
30
+ "__SBackground": "___SBackground_pndv3_gg_",
31
+ "__SStripes": "___SStripes_pndv3_gg_",
32
+ "--fill": "--fill_pndv3",
33
+ "__SStripesPatternPath": "___SStripesPatternPath_pndv3_gg_"
34
34
  });
35
35
  var side2direction = {
36
36
  left: 'vertical',
@@ -24,15 +24,15 @@ var _utils = require("./utils");
24
24
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
25
25
  var _Pattern = require("./Pattern");
26
26
  /*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
27
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_pot5s_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_pot5s);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_pot5s_gg_:hover{opacity:.8}}.___SScatterPlot_pot5s_gg_.__color_pot5s_gg_{fill:var(--color_pot5s)}.___SScatterPlot_pot5s_gg_.__pattern_pot5s_gg_.__color_pot5s_gg_{fill:var(--pattern_pot5s);stroke:var(--color_pot5s);stroke-width:1px}.___SScatterPlot_pot5s_gg_.__transparent_pot5s_gg_{opacity:.3}.___SValue_pot5s_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_pot5s_gg_.__color_pot5s_gg_{stroke:var(--color_pot5s)}.___SValue_pot5s_gg_.__transparent_pot5s_gg_{opacity:.3}" /*__inner_css_end__*/, "pot5s_gg_") /*__reshadow_css_end__*/, {
28
- "__SScatterPlot": "___SScatterPlot_pot5s_gg_",
29
- "_color": "__color_pot5s_gg_",
30
- "--color": "--color_pot5s",
31
- "_pattern": "__pattern_pot5s_gg_",
32
- "--pattern": "--pattern_pot5s",
33
- "_transparent": "__transparent_pot5s_gg_",
34
- "__SValue": "___SValue_pot5s_gg_",
35
- "--duration": "--duration_pot5s"
27
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_1fbca_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1fbca);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1fbca_gg_:hover{opacity:.8}}.___SScatterPlot_1fbca_gg_.__color_1fbca_gg_{fill:var(--color_1fbca)}.___SScatterPlot_1fbca_gg_.__pattern_1fbca_gg_.__color_1fbca_gg_{fill:var(--pattern_1fbca);stroke:var(--color_1fbca);stroke-width:1px}.___SScatterPlot_1fbca_gg_.__transparent_1fbca_gg_{opacity:.3}.___SValue_1fbca_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1fbca_gg_.__color_1fbca_gg_{stroke:var(--color_1fbca)}.___SValue_1fbca_gg_.__transparent_1fbca_gg_{opacity:.3}" /*__inner_css_end__*/, "1fbca_gg_") /*__reshadow_css_end__*/, {
28
+ "__SScatterPlot": "___SScatterPlot_1fbca_gg_",
29
+ "_color": "__color_1fbca_gg_",
30
+ "--color": "--color_1fbca",
31
+ "_pattern": "__pattern_1fbca_gg_",
32
+ "--pattern": "--pattern_1fbca",
33
+ "_transparent": "__transparent_1fbca_gg_",
34
+ "__SValue": "___SValue_1fbca_gg_",
35
+ "--duration": "--duration_1fbca"
36
36
  });
37
37
  var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
38
38
  (0, _inherits2["default"])(ScatterPlotRoot, _Component);
@@ -25,15 +25,15 @@ var _useColorResolver = require("intergalactic/utils/lib/use/useColorResolver");
25
25
  var _Pattern = require("./Pattern");
26
26
  var _excluded = ["Children", "children", "tag", "forcedAdvancedMode", "onClick"];
27
27
  /*__reshadow-styles__:"./style/tooltip.shadow.css"*/
28
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___STooltip_1lxfx_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_1lxfx_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_1lxfx_gg_{display:flex;align-items:center}.___SDot_1lxfx_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_1lxfx_gg_.__color_1lxfx_gg_{background-color:var(--color_1lxfx);width:8px;height:8px;border-radius:50%}.___SFooter_1lxfx_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__*/, "1lxfx_gg_") /*__reshadow_css_end__*/, {
29
- "__STooltip": "___STooltip_1lxfx_gg_",
30
- "__STitle": "___STitle_1lxfx_gg_",
31
- "__SDotGroup": "___SDotGroup_1lxfx_gg_",
32
- "__SDot": "___SDot_1lxfx_gg_",
33
- "__SDotCircle": "___SDotCircle_1lxfx_gg_",
34
- "_color": "__color_1lxfx_gg_",
35
- "--color": "--color_1lxfx",
36
- "__SFooter": "___SFooter_1lxfx_gg_"
28
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___STooltip_6mzzo_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_6mzzo_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_6mzzo_gg_{display:flex;align-items:center}.___SDot_6mzzo_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_6mzzo_gg_.__color_6mzzo_gg_{background-color:var(--color_6mzzo);width:8px;height:8px;border-radius:50%}.___SFooter_6mzzo_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__*/, "6mzzo_gg_") /*__reshadow_css_end__*/, {
29
+ "__STooltip": "___STooltip_6mzzo_gg_",
30
+ "__STitle": "___STitle_6mzzo_gg_",
31
+ "__SDotGroup": "___SDotGroup_6mzzo_gg_",
32
+ "__SDot": "___SDot_6mzzo_gg_",
33
+ "__SDotCircle": "___SDotCircle_6mzzo_gg_",
34
+ "_color": "__color_6mzzo_gg_",
35
+ "--color": "--color_6mzzo",
36
+ "__SFooter": "___SFooter_6mzzo_gg_"
37
37
  });
38
38
  /**
39
39
  * `TooltipDotRenderContext` is a hack to bypass problem that getDotProps doesn't work for D3 tooltip.
@@ -26,15 +26,15 @@ var _Tooltip = _interopRequireDefault(require("./Tooltip"));
26
26
  var _Pattern = require("./Pattern");
27
27
  var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID"));
28
28
  /*__reshadow-styles__:"./style/venn.shadow.css"*/
29
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SCircle_10lwc_gg_,.___SIntersection_10lwc_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_10lwc_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_10lwc);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_10lwc_gg_:hover{fill-opacity:.7}}.___SCircle_10lwc_gg_.__color_10lwc_gg_{fill:var(--color_10lwc)}.___SCircle_10lwc_gg_.__pattern_10lwc_gg_.__color_10lwc_gg_{fill:var(--pattern_10lwc);fill-opacity:.7;stroke:var(--color_10lwc);stroke-width:1px}@media (hover:hover){.___SCircle_10lwc_gg_.__pattern_10lwc_gg_.__color_10lwc_gg_:hover{fill-opacity:.85}}.___SCircle_10lwc_gg_.__transparent_10lwc_gg_{opacity:.3}.___SIntersection_10lwc_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_10lwc_gg_:hover{fill-opacity:.1}}.___SIntersection_10lwc_gg_.__transparent_10lwc_gg_{opacity:.3}" /*__inner_css_end__*/, "10lwc_gg_") /*__reshadow_css_end__*/, {
30
- "__SCircle": "___SCircle_10lwc_gg_",
31
- "_color": "__color_10lwc_gg_",
32
- "--color": "--color_10lwc",
33
- "_transparent": "__transparent_10lwc_gg_",
34
- "__SIntersection": "___SIntersection_10lwc_gg_",
35
- "--duration": "--duration_10lwc",
36
- "_pattern": "__pattern_10lwc_gg_",
37
- "--pattern": "--pattern_10lwc"
29
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SCircle_9ke4h_gg_,.___SIntersection_9ke4h_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_9ke4h_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_9ke4h);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_9ke4h_gg_:hover{fill-opacity:.7}}.___SCircle_9ke4h_gg_.__color_9ke4h_gg_{fill:var(--color_9ke4h)}.___SCircle_9ke4h_gg_.__pattern_9ke4h_gg_.__color_9ke4h_gg_{fill:var(--pattern_9ke4h);fill-opacity:.7;stroke:var(--color_9ke4h);stroke-width:1px}@media (hover:hover){.___SCircle_9ke4h_gg_.__pattern_9ke4h_gg_.__color_9ke4h_gg_:hover{fill-opacity:.85}}.___SCircle_9ke4h_gg_.__transparent_9ke4h_gg_{opacity:.3}.___SIntersection_9ke4h_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_9ke4h_gg_:hover{fill-opacity:.1}}.___SIntersection_9ke4h_gg_.__transparent_9ke4h_gg_{opacity:.3}" /*__inner_css_end__*/, "9ke4h_gg_") /*__reshadow_css_end__*/, {
30
+ "__SCircle": "___SCircle_9ke4h_gg_",
31
+ "_color": "__color_9ke4h_gg_",
32
+ "--color": "--color_9ke4h",
33
+ "_transparent": "__transparent_9ke4h_gg_",
34
+ "__SIntersection": "___SIntersection_9ke4h_gg_",
35
+ "--duration": "--duration_9ke4h",
36
+ "_pattern": "__pattern_9ke4h_gg_",
37
+ "--pattern": "--pattern_9ke4h"
38
38
  });
39
39
  var VennRoot = /*#__PURE__*/function (_Component) {
40
40
  (0, _inherits2["default"])(VennRoot, _Component);
@@ -17,8 +17,8 @@ var _intergalacticDynamicLocales = require("./translations/module/__intergalacti
17
17
  var _WithI18n = require("intergalactic/utils/lib/enhances/WithI18n");
18
18
  var _flexBox = require("intergalactic/flex-box");
19
19
  /*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
20
- var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_100fm_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_100fm_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "100fm_gg_") /*__reshadow_css_end__*/, {
21
- "__SPlotA11yModule": "___SPlotA11yModule_100fm_gg_"
20
+ var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1rqzh_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1rqzh_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1rqzh_gg_") /*__reshadow_css_end__*/, {
21
+ "__SPlotA11yModule": "___SPlotA11yModule_1rqzh_gg_"
22
22
  });
23
23
  var globalWasFocused = false;
24
24
  var globalNavWithKeyboard = false;
@@ -1 +1 @@
1
- {"version":3,"file":"PlotA11yModule.js","names":["_core","require","_react","_interopRequireDefault","_locale","_intergalacticDynamicLocales","_WithI18n","_flexBox","styles","_index","sstyled","insert","globalWasFocused","globalNavWithKeyboard","PlotA11yModule","props","_ref","arguments[0]","_ref5","SPlotA11yModule","Box","_React$useState","React","useState","_React$useState2","_slicedToArray2","wasFocused","setWasFocused","_React$useState3","_React$useState4","navWithKeyboard","setNavWithKeyboard","_React$useState5","_React$useState6","plotA11yView","setPlotA11yView","hadnleHiddenElementsFocus","useCallback","_React$useState7","_React$useState8","loading","setLoading","_React$useState9","_React$useState10","error","setError","contextLocale","useContext","I18nContext","locale","useMemo","_props$locale","normalizeLocale","localizedMessages","t","useI18n","useEffect","_props$plotRef$curren","focusListener","plotRef","current","addEventListener","_props$plotRef$curren2","removeEventListener","_document$body","keyboardListener","event","navigationKeys","includes","key","document","body","_document$body2","shouldDisplayView","Promise","resolve","then","_interopRequireWildcard2","_ref6","PlotA11yView","Component","console","_ref2","createElement","_extends2","_ref3","cn","_objectSpread2","assignProps","_ref4","exports"],"sources":["../../../src/a11y/PlotA11yModule.tsx"],"sourcesContent":["import React from 'react';\nimport { DataStructureHints, PartialDataSummarizationConfig } from './hints';\nimport { normalizeLocale } from './locale';\nimport { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';\nimport { Root, sstyled } from '@semcore/core';\nimport styles from '../style/plotA11yModule.shadow.css';\nimport { Context as I18nContext, useI18n } from '@semcore/utils/lib/enhances/WithI18n';\nimport { Box } from '@semcore/flex-box';\n\nlet globalWasFocused = false;\nlet globalNavWithKeyboard = false;\n\nexport type A11yViewProps = {\n id: string;\n data: Record<string, unknown>[];\n hints: DataStructureHints;\n plotLabel: string;\n locale: NavigatorLanguage['language'];\n config: PartialDataSummarizationConfig;\n\n plotRef: React.RefObject<Element>;\n};\n\nexport const PlotA11yModule: React.FC<A11yViewProps> = (props) => {\n const SPlotA11yModule = Root;\n const [wasFocused, setWasFocused] = React.useState(globalWasFocused);\n const [navWithKeyboard, setNavWithKeyboard] = React.useState(globalNavWithKeyboard);\n const [plotA11yView, setPlotA11yView] = React.useState<{\n Component: React.FC<A11yViewProps>;\n } | null>(null);\n\n const hadnleHiddenElementsFocus = React.useCallback(() => {\n setWasFocused(true);\n setNavWithKeyboard(true);\n }, []);\n\n const [loading, setLoading] = React.useState(false);\n const [error, setError] = React.useState<Error | null>(null);\n\n const contextLocale = React.useContext(I18nContext);\n const locale = React.useMemo(\n () => normalizeLocale(props.locale ?? contextLocale, localizedMessages),\n [props.locale],\n );\n const t = useI18n(localizedMessages, locale!);\n\n React.useEffect(() => {\n if (wasFocused) return;\n const focusListener = () => {\n globalWasFocused = true;\n setWasFocused(true);\n };\n\n props.plotRef.current?.addEventListener('focus', focusListener);\n return () => props.plotRef.current?.removeEventListener('focus', focusListener);\n }, [wasFocused, props.plotRef]);\n React.useEffect(() => {\n if (navWithKeyboard) return;\n const keyboardListener = (event: Event) => {\n const navigationKeys = [\n 'Tab',\n 'ArrowUp',\n 'ArrowLeft',\n 'ArrowDown',\n 'ArrowRight',\n 'ArrowUp',\n 'ArrowLeft',\n ];\n if ('key' in event && navigationKeys.includes((event as KeyboardEvent).key)) {\n setNavWithKeyboard(true);\n globalNavWithKeyboard = true;\n }\n };\n document.body?.addEventListener('keydown', keyboardListener);\n return () => document.body?.removeEventListener('keydown', keyboardListener);\n }, [navWithKeyboard]);\n\n const shouldDisplayView = wasFocused && navWithKeyboard;\n\n React.useEffect(() => {\n if (!shouldDisplayView) return;\n if (plotA11yView) return;\n if (loading) return;\n\n setLoading(true);\n\n import('./PlotA11yView')\n .then(({ PlotA11yView }) => {\n setPlotA11yView({ Component: PlotA11yView });\n setLoading(false);\n setError(null);\n })\n .catch((error) => {\n console.error(error);\n setError(error);\n });\n }, [plotA11yView, shouldDisplayView, loading, setLoading]);\n\n if (plotA11yView) {\n return sstyled(styles)(\n <plotA11yView.Component {...props} locale={locale!} />,\n ) as React.ReactElement;\n }\n\n if (error) {\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} aria-live='assertive'>\n {t('failed')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n }\n if (loading) {\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} aria-live='polite'>\n {t('loading')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n }\n\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} onFocus={hadnleHiddenElementsFocus}>\n {t('disabled')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAJA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,4BAAA,GAAAJ,OAAA;AAGA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AAAwC;AAAA,IAAAO,MAAA,+BAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA;EAAA;AAAA;AAExC,IAAIC,gBAAgB,GAAG,KAAK;AAC5B,IAAIC,qBAAqB,GAAG,KAAK;AAa1B,IAAMC,cAAuC,GAAG,SAA1CA,cAAuCA,CAAIC,KAAK,EAAK;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAChE,IAAMC,eAAe,GAgGMC,YAAG;EA/F9B,IAAAC,eAAA,GAAoCC,iBAAK,CAACC,QAAQ,CAACX,gBAAgB,CAAC;IAAAY,gBAAA,OAAAC,eAAA,aAAAJ,eAAA;IAA7DK,UAAU,GAAAF,gBAAA;IAAEG,aAAa,GAAAH,gBAAA;EAChC,IAAAI,gBAA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AA,CAAChE,eAAe,EAAAkE,KAAA,CAAAC,EAAA,wBAAAC,cAAA,qBAAAvF,KAAA,CAAAwF,WAAA;MAAA,YAAwB,CAAC;MAAA,aAAY;IAAW,GAAAxE,IAAA,KAC7DsC,CAAC,CAAC,QAAQ,CAAC,CACI;EAEtB;EACA,IAAId,OAAO,EAAE;IAAA,IAAAiD,KAAA;IACX,OAAAA,KAAA,GAAO,IAAA/E,aAAO,EAACF,MAAM,CAAC,eACpBN,MAAA,YAAAiF,aAAA,CAAChE,eAAe,EAAAsE,KAAA,CAAAH,EAAA,wBAAAC,cAAA,qBAAAvF,KAAA,CAAAwF,WAAA;MAAA,YAAwB,CAAC;MAAA,aAAY;IAAQ,GAAAxE,IAAA,KAC1DsC,CAAC,CAAC,SAAS,CAAC,CACG;EAEtB;EAEA,OAAApC,KAAA,GAAO,IAAAR,aAAO,EAACF,MAAM,CAAC,eACpBN,MAAA,YAAAiF,aAAA,CAAChE,eAAe,EAAAD,KAAA,CAAAoE,EAAA,wBAAAC,cAAA,qBAAAvF,KAAA,CAAAwF,WAAA;IAAA,YAAwB,CAAC;IAAA,WAAWpD;EAAyB,GAAApB,IAAA,KAC1EsC,CAAC,CAAC,UAAU,CAAC,CACE;AAEtB,CAAC;AAACoC,OAAA,CAAA5E,cAAA,GAAAA,cAAA"}
1
+ {"version":3,"file":"PlotA11yModule.js","names":["_core","require","_react","_interopRequireDefault","_locale","_intergalacticDynamicLocales","_WithI18n","_flexBox","styles","_index","sstyled","insert","globalWasFocused","globalNavWithKeyboard","PlotA11yModule","props","_ref","arguments[0]","_ref5","SPlotA11yModule","Box","_React$useState","React","useState","_React$useState2","_slicedToArray2","wasFocused","setWasFocused","_React$useState3","_React$useState4","navWithKeyboard","setNavWithKeyboard","_React$useState5","_React$useState6","plotA11yView","setPlotA11yView","hadnleHiddenElementsFocus","useCallback","_React$useState7","_React$useState8","loading","setLoading","_React$useState9","_React$useState10","error","setError","contextLocale","useContext","I18nContext","locale","useMemo","_props$locale","normalizeLocale","localizedMessages","t","useI18n","useEffect","_props$plotRef$curren","focusListener","plotRef","current","addEventListener","_props$plotRef$curren2","removeEventListener","_document$body","keyboardListener","event","navigationKeys","includes","key","document","body","_document$body2","shouldDisplayView","Promise","resolve","then","_interopRequireWildcard2","_ref6","PlotA11yView","Component","console","_ref2","createElement","_extends2","_ref3","cn","_objectSpread2","assignProps","_ref4","exports"],"sources":["../../../src/a11y/PlotA11yModule.tsx"],"sourcesContent":["import React from 'react';\nimport { DataStructureHints, PartialDataSummarizationConfig } from './hints';\nimport { normalizeLocale } from './locale';\nimport { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';\nimport { Root, sstyled } from '@semcore/core';\nimport styles from '../style/plotA11yModule.shadow.css';\nimport { Context as I18nContext, useI18n } from '@semcore/utils/lib/enhances/WithI18n';\nimport { Box } from '@semcore/flex-box';\n\nlet globalWasFocused = false;\nlet globalNavWithKeyboard = false;\n\nexport type A11yViewProps = {\n id: string;\n data: Record<string, unknown>[];\n hints: DataStructureHints;\n plotLabel: string;\n locale: NavigatorLanguage['language'];\n config: PartialDataSummarizationConfig;\n\n plotRef: React.RefObject<HTMLElement>;\n};\n\nexport const PlotA11yModule: React.FC<A11yViewProps> = (props) => {\n const SPlotA11yModule = Root;\n const [wasFocused, setWasFocused] = React.useState(globalWasFocused);\n const [navWithKeyboard, setNavWithKeyboard] = React.useState(globalNavWithKeyboard);\n const [plotA11yView, setPlotA11yView] = React.useState<{\n Component: React.FC<A11yViewProps>;\n } | null>(null);\n\n const hadnleHiddenElementsFocus = React.useCallback(() => {\n setWasFocused(true);\n setNavWithKeyboard(true);\n }, []);\n\n const [loading, setLoading] = React.useState(false);\n const [error, setError] = React.useState<Error | null>(null);\n\n const contextLocale = React.useContext(I18nContext);\n const locale = React.useMemo(\n () => normalizeLocale(props.locale ?? contextLocale, localizedMessages),\n [props.locale],\n );\n const t = useI18n(localizedMessages, locale!);\n\n React.useEffect(() => {\n if (wasFocused) return;\n const focusListener = () => {\n globalWasFocused = true;\n setWasFocused(true);\n };\n\n props.plotRef.current?.addEventListener('focus', focusListener);\n return () => props.plotRef.current?.removeEventListener('focus', focusListener);\n }, [wasFocused, props.plotRef]);\n React.useEffect(() => {\n if (navWithKeyboard) return;\n const keyboardListener = (event: Event) => {\n const navigationKeys = [\n 'Tab',\n 'ArrowUp',\n 'ArrowLeft',\n 'ArrowDown',\n 'ArrowRight',\n 'ArrowUp',\n 'ArrowLeft',\n ];\n if ('key' in event && navigationKeys.includes((event as KeyboardEvent).key)) {\n setNavWithKeyboard(true);\n globalNavWithKeyboard = true;\n }\n };\n document.body?.addEventListener('keydown', keyboardListener);\n return () => document.body?.removeEventListener('keydown', keyboardListener);\n }, [navWithKeyboard]);\n\n const shouldDisplayView = wasFocused && navWithKeyboard;\n\n React.useEffect(() => {\n if (!shouldDisplayView) return;\n if (plotA11yView) return;\n if (loading) return;\n\n setLoading(true);\n\n import('./PlotA11yView')\n .then(({ PlotA11yView }) => {\n setPlotA11yView({ Component: PlotA11yView });\n setLoading(false);\n setError(null);\n })\n .catch((error) => {\n console.error(error);\n setError(error);\n });\n }, [plotA11yView, shouldDisplayView, loading, setLoading]);\n\n if (plotA11yView) {\n return sstyled(styles)(\n <plotA11yView.Component {...props} locale={locale!} />,\n ) as React.ReactElement;\n }\n\n if (error) {\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} aria-live='assertive'>\n {t('failed')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n }\n if (loading) {\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} aria-live='polite'>\n {t('loading')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n }\n\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} onFocus={hadnleHiddenElementsFocus}>\n {t('disabled')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAJA,IAAAC,MAAA,GAA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AAD,KAAA,CAAAoE,EAAA,wBAAAC,cAAA,qBAAAvF,KAAA,CAAAwF,WAAA;IAAA,YAAwB,CAAC;IAAA,WAAWpD;EAAyB,GAAApB,IAAA,KAC1EsC,CAAC,CAAC,UAAU,CAAC,CACE;AAEtB,CAAC;AAACoC,OAAA,CAAA5E,cAAA,GAAAA,cAAA"}
@@ -19,8 +19,8 @@ var _i18nEnhance = require("intergalactic/utils/lib/enhances/i18nEnhance");
19
19
  var _intergalacticDynamicLocales = require("./translations/view/__intergalactic-dynamic-locales");
20
20
  var _DataAccessibilityTable = require("./DataAccessibilityTable");
21
21
  /*__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
22
- var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_ug05b_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_ug05b_gg_:focus,.___SPlotA11yView_ug05b_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_ug05b_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_ug05b_gg_ table,.___SPlotA11yView_ug05b_gg_ td,.___SPlotA11yView_ug05b_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "ug05b_gg_") /*__reshadow_css_end__*/, {
23
- "__SPlotA11yView": "___SPlotA11yView_ug05b_gg_"
22
+ var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_1spbs_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_1spbs_gg_:focus,.___SPlotA11yView_1spbs_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_1spbs_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1spbs_gg_ table,.___SPlotA11yView_1spbs_gg_ td,.___SPlotA11yView_1spbs_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1spbs_gg_") /*__reshadow_css_end__*/, {
23
+ "__SPlotA11yView": "___SPlotA11yView_1spbs_gg_"
24
24
  });
25
25
  var PlotA11yView = function PlotA11yView(_ref3) {
26
26
  var _ref = arguments[0],
@@ -67,24 +67,28 @@ var PlotA11yView = function PlotA11yView(_ref3) {
67
67
  setGeneratingSummary(false);
68
68
  }, 0);
69
69
  }, [providedData, hints, config, locale, translations, _intergalacticDynamicLocales.localizedMessages]);
70
- var handleSkip = _react["default"].useCallback(function () {
70
+ var handleClose = _react["default"].useCallback(function () {
71
+ var _plotRef$current;
72
+ (_plotRef$current = plotRef.current) === null || _plotRef$current === void 0 ? void 0 : _plotRef$current.focus();
73
+ }, []);
74
+ var handleSkip = _react["default"].useCallback(function (event) {
71
75
  var _heavyFindNextFocusab;
76
+ event.preventDefault();
72
77
  if (!plotRef.current) return;
73
78
  (_heavyFindNextFocusab = (0, _focus.heavyFindNextFocusableElement)(plotRef.current)) === null || _heavyFindNextFocusab === void 0 ? void 0 : _heavyFindNextFocusab.focus();
74
79
  }, []);
75
80
  var handleSkipKeyboard = _react["default"].useCallback(function (event) {
76
81
  if (!(event.key === 'Enter' || event.key === ' ')) return;
77
- event.preventDefault();
78
- handleSkip();
82
+ handleSkip(event);
79
83
  }, [handleSkip]);
80
- var handleGoToTable = _react["default"].useCallback(function () {
84
+ var handleGoToTable = _react["default"].useCallback(function (event) {
81
85
  var _dataTableRef$current;
86
+ event.preventDefault();
82
87
  (_dataTableRef$current = dataTableRef.current) === null || _dataTableRef$current === void 0 ? void 0 : _dataTableRef$current.focus();
83
88
  }, []);
84
89
  var handleGoToTableKeyboard = _react["default"].useCallback(function (event) {
85
90
  if (!(event.key === 'Enter' || event.key === ' ')) return;
86
- event.preventDefault();
87
- handleGoToTable();
91
+ handleGoToTable(event);
88
92
  }, [handleGoToTable]);
89
93
  var texts = _react["default"].useMemo(function () {
90
94
  return {
@@ -118,26 +122,25 @@ var PlotA11yView = function PlotA11yView(_ref3) {
118
122
  var dataTableRef = _react["default"].useRef(null);
119
123
  return _ref2 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SPlotA11yView, _ref2.cn("SPlotA11yView", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
120
124
  "tabIndex": 0,
121
- "aria-label": texts.label
122
- }, _ref))), /*#__PURE__*/_react["default"].createElement("a", _ref2.cn("a", {
123
- "aria-hidden": true,
124
- "onClick": handleSkip
125
+ "aria-label": texts.label,
126
+ "role": 'dialog',
127
+ "__excludeProps": ['data']
128
+ }, _ref))), /*#__PURE__*/_react["default"].createElement("button", _ref2.cn("button", {
129
+ "type": 'button',
130
+ "onClick": handleClose
125
131
  }), texts.close), /*#__PURE__*/_react["default"].createElement("a", _ref2.cn("a", {
126
- "role": 'link',
127
- "tabIndex": 0,
132
+ "href": '#',
128
133
  "onKeyDown": handleSkipKeyboard,
129
134
  "onClick": handleSkip
130
135
  }), texts.skipPlot), /*#__PURE__*/_react["default"].createElement("a", _ref2.cn("a", {
131
- "role": 'link',
132
- "tabIndex": 0,
136
+ "href": "#".concat(id, "-data-table"),
133
137
  "onKeyDown": handleGoToTableKeyboard,
134
138
  "onClick": handleGoToTable
135
139
  }), texts.goToTable), /*#__PURE__*/_react["default"].createElement("strong", _ref2.cn("strong", {}), /*#__PURE__*/_react["default"].createElement("label", _ref2.cn("label", {
136
140
  "htmlFor": "".concat(id, "-data-summary")
137
141
  }), texts.summary)), /*#__PURE__*/_react["default"].createElement("div", _ref2.cn("div", {
138
142
  "id": "".concat(id, "-data-summary"),
139
- "aria-busy": generatingSummary,
140
- "tabIndex": 0
143
+ "aria-busy": generatingSummary
141
144
  }), generatingSummary ? texts.summaryPlaceholder : summary), /*#__PURE__*/_react["default"].createElement("strong", _ref2.cn("strong", {}), /*#__PURE__*/_react["default"].createElement("label", _ref2.cn("label", {
142
145
  "htmlFor": "".concat(id, "-data-table")
143
146
  }), texts.table)), /*#__PURE__*/_react["default"].createElement(_DataAccessibilityTable.DataAccessibilityTable, _ref2.cn("DataAccessibilityTable", {
@@ -1 +1 @@
1
- {"version":3,"file":"PlotA11yView.js","names":["_core","require","_react","_interopRequireDefault","_focus","_hints","_intl","_summarize","_flexBox","_i18nEnhance","_intergalacticDynamicLocales","_DataAccessibilityTable","styles","_index","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","_React$useState","useState","_React$useState2","_slicedToArray2","summary","setSummary","_React$useState3","_React$useState4","generatingSummary","setGeneratingSummary","useEffect","disable","override","setTimeout","summarize","handleSkip","useCallback","_heavyFindNextFocusab","current","heavyFindNextFocusableElement","focus","handleSkipKeyboard","event","key","preventDefault","handleGoToTable","_dataTableRef$current","dataTableRef","handleGoToTableKeyboard","texts","label","formatMessage","close","skipPlot","goToTable","summaryPlaceholder","table","useRef","createElement","cn","_objectSpread2","assignProps","concat","DataAccessibilityTable","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 { 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';\nimport { DataAccessibilityTable } from './DataAccessibilityTable';\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\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' || event.key === ' ')) 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.key === 'Enter' || event.key === ' ')) 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 <DataAccessibilityTable\n id={id}\n dataTableRef={dataTableRef}\n data={data}\n hints={hints}\n config={config}\n intl={intl}\n />\n </SPlotA11yView>,\n ) as React.ReactElement;\n};\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A5D,KAAA,CAAA6D,EAAA;IAAA,QAAQ,MAAM;IAAA,YAAW,CAAC;IAAA,aAAaX,uBAAuB;IAAA,WAAWH;EAAe,IACrFI,KAAK,CAACK,SAAS,CACd,eACJ1E,MAAA,YAAA8E,aAAA,WAAA5D,KAAA,CAAA6D,EAAA,6BACE/E,MAAA,YAAA8E,aAAA,UAAA5D,KAAA,CAAA6D,EAAA;IAAA,cAAAG,MAAA,CAAmB/D,EAAE;EAAA,IAAkBkD,KAAK,CAACzB,OAAO,CAAS,CACtD,eACT5C,MAAA,YAAA8E,aAAA,QAAA5D,KAAA,CAAA6D,EAAA;IAAA,SAAAG,MAAA,CAAY/D,EAAE;IAAA,aAA4B6B,iBAAiB;IAAA,YAAY;EAAC,IACrEA,iBAAiB,GAAGqB,KAAK,CAACM,kBAAkB,GAAG/B,OAAO,CACnD,eACN5C,MAAA,YAAA8E,aAAA,WAAA5D,KAAA,CAAA6D,EAAA,6BACE/E,MAAA,YAAA8E,aAAA,UAAA5D,KAAA,CAAA6D,EAAA;IAAA,cAAAG,MAAA,CAAmB/D,EAAE;EAAA,IAAgBkD,KAAK,CAACO,KAAK,CAAS,CAClD,eACT5E,MAAA,YAAA8E,aAAA,CAACrE,uBAAA,CAAA0E,sBAAsB,EAAAjE,KAAA,CAAA6D,EAAA;IAAA,MACjB5D,EAAE;IAAA,gBACQgD,YAAY;IAAA,QACpB9C,IAAI;IAAA,SACHC,KAAK;IAAA,UACJI,MAAM;IAAA,QACRO;EAAI,GACV,CACY;AAEpB,CAAC;AAACmD,OAAA,CAAAtE,YAAA,GAAAA,YAAA"}
1
+ {"version":3,"file":"PlotA11yView.js","names":["_core","require","_react","_interopRequireDefault","_focus","_hints","_intl","_summarize","_flexBox","_i18nEnhance","_intergalacticDynamicLocales","_DataAccessibilityTable","styles","_index","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","_React$useState","useState","_React$useState2","_slicedToArray2","summary","setSummary","_React$useState3","_React$useState4","generatingSummary","setGeneratingSummary","useEffect","disable","override","setTimeout","summarize","handleClose","useCallback","_plotRef$current","current","focus","handleSkip","event","_heavyFindNextFocusab","preventDefault","heavyFindNextFocusableElement","handleSkipKeyboard","key","handleGoToTable","_dataTableRef$current","dataTableRef","handleGoToTableKeyboard","texts","label","formatMessage","close","skipPlot","goToTable","summaryPlaceholder","table","useRef","createElement","cn","_objectSpread2","assignProps","concat","DataAccessibilityTable","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 { 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';\nimport { DataAccessibilityTable } from './DataAccessibilityTable';\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\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 handleClose = React.useCallback(() => {\n plotRef.current?.focus();\n }, []);\n const handleSkip = React.useCallback((event: React.SyntheticEvent) => {\n event.preventDefault();\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' || event.key === ' ')) return;\n\n handleSkip(event);\n },\n [handleSkip],\n );\n const handleGoToTable = React.useCallback((event: React.SyntheticEvent) => {\n event.preventDefault();\n dataTableRef.current?.focus();\n }, []);\n const handleGoToTableKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (!(event.key === 'Enter' || event.key === ' ')) return;\n\n handleGoToTable(event);\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\n render={Box}\n tabIndex={0}\n aria-label={texts.label}\n role={'dialog'}\n __excludeProps={['data']}\n >\n <button type={'button'} onClick={handleClose}>\n {texts.close}\n </button>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a href={'#'} onKeyDown={handleSkipKeyboard} onClick={handleSkip}>\n {texts.skipPlot}\n </a>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a href={`#${id}-data-table`} 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}>\n {generatingSummary ? texts.summaryPlaceholder : summary}\n </div>\n <strong>\n <label htmlFor={`${id}-data-table`}>{texts.table}</label>\n </strong>\n <DataAccessibilityTable\n id={id}\n dataTableRef={dataTableRef}\n data={data}\n hints={hints}\n config={config}\n intl={intl}\n />\n </SPlotA11yView>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;AAMA,IAAAA,KAAA,GAAAC,OAAA;AANA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAEA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AAGA,IAAAO,QAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,4BAAA,GAAAT,OAAA;AACA,IAAAU,uBAAA,GAAAV,OAAA;AAAkE;AAAA,IAAAW,MAAA,+BAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA;EAAA;AAAA;AAE3D,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,CAAlBM,IAAI;IACJC,KAAK,GAAAP,KAAA,CAALO,KAAK;IACLC,SAAS,GAAAR,KAAA,CAATQ,SAAS;IACTC,OAAO,GAAAT,KAAA,CAAPS,OAAO;IACCC,cAAc,GAAAV,KAAA,CAAtBW,MAAM;IACNC,MAAM,GAAAZ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C,MAAA,YAAAgF,aAAA,WAAA9D,KAAA,CAAA+D,EAAA,6BACEjF,MAAA,YAAAgF,aAAA,UAAA9D,KAAA,CAAA+D,EAAA;IAAA,cAAAG,MAAA,CAAmBjE,EAAE;EAAA,IAAgBoD,KAAK,CAACO,KAAK,CAAS,CAClD,eACT9E,MAAA,YAAAgF,aAAA,CAACvE,uBAAA,CAAA4E,sBAAsB,EAAAnE,KAAA,CAAA+D,EAAA;IAAA,MACjB9D,EAAE;IAAA,gBACQkD,YAAY;IAAA,QACpBhD,IAAI;IAAA,SACHC,KAAK;IAAA,UACJI,MAAM;IAAA,QACRO;EAAI,GACV,CACY;AAEpB,CAAC;AAACqD,OAAA,CAAAxE,YAAA,GAAAA,YAAA"}
@@ -359,7 +359,8 @@ var AbstractChart = /*#__PURE__*/function (_Component) {
359
359
  direction: (_lProps$direction = lProps.direction) !== null && _lProps$direction !== void 0 ? _lProps$direction : direction === 'row' || direction === 'row-reverse' ? 'column' : 'row',
360
360
  onChangeVisibleItem: lProps.disableSelectItems ? undefined : (0, _assignProps2.callAllEventHandlers)(lProps.onChangeVisibleItem, this.handleChangeVisible),
361
361
  onMouseEnterItem: lProps.disableHoverItems ? undefined : (0, _assignProps2.callAllEventHandlers)(lProps.onMouseEnterItem, this.handleMouseEnter),
362
- onMouseLeaveItem: lProps.disableHoverItems ? undefined : (0, _assignProps2.callAllEventHandlers)(lProps.onMouseLeaveItem, this.handleMouseLeave)
362
+ onMouseLeaveItem: lProps.disableHoverItems ? undefined : (0, _assignProps2.callAllEventHandlers)(lProps.onMouseLeaveItem, this.handleMouseLeave),
363
+ 'aria-label': this.getLegendAriaLabel()
363
364
  };
364
365
  if (lProps.legendType === 'Table') {
365
366
  return /*#__PURE__*/_react["default"].createElement(_ChartLegend.ChartLegendTable, commonLegendProps);
@@ -427,7 +428,9 @@ var AbstractChart = /*#__PURE__*/function (_Component) {
427
428
  a11yAltTextConfig = _this$asProps7.a11yAltTextConfig,
428
429
  duration = _this$asProps7.duration;
429
430
  return _ref2 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SChart, _ref2.cn("SChart", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
430
- "gap": 5
431
+ "gap": 5,
432
+ "__excludeProps": ['data'],
433
+ "role": 'group'
431
434
  }, _ref))), this.renderLegend(), /*#__PURE__*/_react["default"].createElement(_.Plot, _ref2.cn("Plot", {
432
435
  "data": data,
433
436
  "scale": [this.xScale, this.yScale],