intergalactic 15.120.0-prerelease.0 → 15.121.0-prerelease.2

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 (555) hide show
  1. package/CHANGELOG.md +142 -27
  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 +12 -10
  31. package/breadcrumbs/lib/cjs/Breadcrumbs.js.map +1 -1
  32. package/breadcrumbs/lib/es6/Breadcrumbs.js +12 -10
  33. package/breadcrumbs/lib/es6/Breadcrumbs.js.map +1 -1
  34. package/breadcrumbs/package.json +1 -1
  35. package/breakpoints/package.json +1 -1
  36. package/button/lib/cjs/component/Button/Button.js +27 -27
  37. package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
  38. package/button/lib/es6/component/Button/Button.js +27 -27
  39. package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
  40. package/button/package.json +1 -1
  41. package/card/lib/cjs/Card.js +6 -6
  42. package/card/lib/es6/Card.js +6 -6
  43. package/card/package.json +1 -1
  44. package/carousel/Carousel.types.d.ts +6 -0
  45. package/carousel/lib/cjs/Carousel.js +83 -65
  46. package/carousel/lib/cjs/Carousel.js.map +1 -1
  47. package/carousel/lib/cjs/Carousel.types.js.map +1 -1
  48. package/carousel/lib/cjs/style/carousel.shadow.css +0 -1
  49. package/carousel/lib/es6/Carousel.js +84 -65
  50. package/carousel/lib/es6/Carousel.js.map +1 -1
  51. package/carousel/lib/es6/Carousel.types.js.map +1 -1
  52. package/carousel/lib/es6/style/carousel.shadow.css +0 -1
  53. package/carousel/lib/types/Carousel.types.d.ts +6 -0
  54. package/carousel/package.json +1 -1
  55. package/checkbox/lib/cjs/Checkbox.js +18 -18
  56. package/checkbox/lib/es6/Checkbox.js +18 -18
  57. package/checkbox/package.json +1 -1
  58. package/color-picker/lib/cjs/ColorPicker.js +24 -24
  59. package/color-picker/lib/cjs/PaletteManager.js +24 -24
  60. package/color-picker/lib/cjs/components/InputColor.js +24 -24
  61. package/color-picker/lib/es6/ColorPicker.js +24 -24
  62. package/color-picker/lib/es6/PaletteManager.js +24 -24
  63. package/color-picker/lib/es6/components/InputColor.js +24 -24
  64. package/color-picker/package.json +1 -1
  65. package/components.json +73 -73
  66. package/core/package.json +1 -1
  67. package/counter/lib/cjs/Counter.js +11 -11
  68. package/counter/lib/es6/Counter.js +11 -11
  69. package/counter/package.json +1 -1
  70. package/d3-chart/lib/cjs/Area.js +11 -11
  71. package/d3-chart/lib/cjs/Axis.js +14 -14
  72. package/d3-chart/lib/cjs/Bar.js +16 -16
  73. package/d3-chart/lib/cjs/Bubble.js +12 -12
  74. package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
  75. package/d3-chart/lib/cjs/Donut.js +9 -9
  76. package/d3-chart/lib/cjs/Dots.js +8 -8
  77. package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
  78. package/d3-chart/lib/cjs/Hover.js +3 -3
  79. package/d3-chart/lib/cjs/Line.js +9 -9
  80. package/d3-chart/lib/cjs/Plot.js +10 -6
  81. package/d3-chart/lib/cjs/Plot.js.map +1 -1
  82. package/d3-chart/lib/cjs/Radar.js +19 -19
  83. package/d3-chart/lib/cjs/RadialTree.js +12 -12
  84. package/d3-chart/lib/cjs/Reference.js +12 -12
  85. package/d3-chart/lib/cjs/ScatterPlot.js +13 -11
  86. package/d3-chart/lib/cjs/ScatterPlot.js.map +1 -1
  87. package/d3-chart/lib/cjs/Tooltip.js +9 -9
  88. package/d3-chart/lib/cjs/Venn.js +9 -9
  89. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  90. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
  91. package/d3-chart/lib/cjs/component/Chart/AbstractChart.js +5 -2
  92. package/d3-chart/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
  93. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  94. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +36 -24
  95. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  96. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  97. package/d3-chart/lib/cjs/style/hover.shadow.css +2 -0
  98. package/d3-chart/lib/cjs/style/radar.shadow.css +2 -1
  99. package/d3-chart/lib/cjs/translations/en.json +1 -0
  100. package/d3-chart/lib/es6/Area.js +11 -11
  101. package/d3-chart/lib/es6/Axis.js +14 -14
  102. package/d3-chart/lib/es6/Bar.js +16 -16
  103. package/d3-chart/lib/es6/Bubble.js +12 -12
  104. package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
  105. package/d3-chart/lib/es6/Donut.js +9 -9
  106. package/d3-chart/lib/es6/Dots.js +8 -8
  107. package/d3-chart/lib/es6/HorizontalBar.js +16 -16
  108. package/d3-chart/lib/es6/Hover.js +3 -3
  109. package/d3-chart/lib/es6/Line.js +9 -9
  110. package/d3-chart/lib/es6/Plot.js +10 -6
  111. package/d3-chart/lib/es6/Plot.js.map +1 -1
  112. package/d3-chart/lib/es6/Radar.js +19 -19
  113. package/d3-chart/lib/es6/RadialTree.js +12 -12
  114. package/d3-chart/lib/es6/Reference.js +12 -12
  115. package/d3-chart/lib/es6/ScatterPlot.js +13 -11
  116. package/d3-chart/lib/es6/ScatterPlot.js.map +1 -1
  117. package/d3-chart/lib/es6/Tooltip.js +9 -9
  118. package/d3-chart/lib/es6/Venn.js +9 -9
  119. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  120. package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
  121. package/d3-chart/lib/es6/component/Chart/AbstractChart.js +5 -2
  122. package/d3-chart/lib/es6/component/Chart/AbstractChart.js.map +1 -1
  123. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  124. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +36 -24
  125. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  126. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  127. package/d3-chart/lib/es6/style/hover.shadow.css +2 -0
  128. package/d3-chart/lib/es6/style/radar.shadow.css +2 -1
  129. package/d3-chart/lib/es6/translations/en.json +1 -0
  130. package/d3-chart/lib/types/translations/__intergalactic-dynamic-locales.d.ts +1 -0
  131. package/d3-chart/package.json +1 -1
  132. package/d3-chart/translations/__intergalactic-dynamic-locales.d.ts +1 -0
  133. package/data-table/lib/cjs/Body.js +8 -6
  134. package/data-table/lib/cjs/Body.js.map +1 -1
  135. package/data-table/lib/cjs/DataTable.js +81 -95
  136. package/data-table/lib/cjs/DataTable.js.map +1 -1
  137. package/data-table/lib/cjs/Head.js +8 -5
  138. package/data-table/lib/cjs/Head.js.map +1 -1
  139. package/data-table/lib/es6/Body.js +8 -6
  140. package/data-table/lib/es6/Body.js.map +1 -1
  141. package/data-table/lib/es6/DataTable.js +81 -95
  142. package/data-table/lib/es6/DataTable.js.map +1 -1
  143. package/data-table/lib/es6/Head.js +7 -5
  144. package/data-table/lib/es6/Head.js.map +1 -1
  145. package/data-table/package.json +1 -1
  146. package/date-picker/lib/cjs/components/Calendar.js +21 -21
  147. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +36 -29
  148. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js.map +1 -1
  149. package/date-picker/lib/cjs/components/InputTrigger.js +33 -31
  150. package/date-picker/lib/cjs/components/InputTrigger.js.map +1 -1
  151. package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
  152. package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
  153. package/date-picker/lib/es6/components/Calendar.js +21 -21
  154. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +36 -29
  155. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js.map +1 -1
  156. package/date-picker/lib/es6/components/InputTrigger.js +33 -31
  157. package/date-picker/lib/es6/components/InputTrigger.js.map +1 -1
  158. package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
  159. package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
  160. package/date-picker/package.json +1 -1
  161. package/divider/lib/cjs/Divider.js +10 -10
  162. package/divider/lib/es6/Divider.js +10 -10
  163. package/divider/package.json +1 -1
  164. package/dot/lib/cjs/Dot.js +10 -10
  165. package/dot/lib/es6/Dot.js +10 -10
  166. package/dot/package.json +1 -1
  167. package/drag-and-drop/lib/cjs/DragAndDrop.js +16 -16
  168. package/drag-and-drop/lib/es6/DragAndDrop.js +16 -16
  169. package/drag-and-drop/package.json +1 -1
  170. package/dropdown/lib/cjs/AbstractDropdown.js +49 -34
  171. package/dropdown/lib/cjs/AbstractDropdown.js.map +1 -1
  172. package/dropdown/lib/cjs/Dropdown.js +16 -15
  173. package/dropdown/lib/cjs/Dropdown.js.map +1 -1
  174. package/dropdown/lib/cjs/style/dropdown.shadow.css +45 -2
  175. package/dropdown/lib/es6/AbstractDropdown.js +49 -34
  176. package/dropdown/lib/es6/AbstractDropdown.js.map +1 -1
  177. package/dropdown/lib/es6/Dropdown.js +16 -15
  178. package/dropdown/lib/es6/Dropdown.js.map +1 -1
  179. package/dropdown/lib/es6/style/dropdown.shadow.css +45 -2
  180. package/dropdown/package.json +1 -1
  181. package/dropdown-menu/index.d.ts +9 -2
  182. package/dropdown-menu/lib/cjs/DropdownMenu.js +79 -40
  183. package/dropdown-menu/lib/cjs/DropdownMenu.js.map +1 -1
  184. package/dropdown-menu/lib/cjs/index.d.js.map +1 -1
  185. package/dropdown-menu/lib/es6/DropdownMenu.js +79 -40
  186. package/dropdown-menu/lib/es6/DropdownMenu.js.map +1 -1
  187. package/dropdown-menu/lib/es6/index.d.js.map +1 -1
  188. package/dropdown-menu/lib/types/index.d.ts +9 -2
  189. package/dropdown-menu/package.json +1 -1
  190. package/ellipsis/lib/cjs/Ellipsis.js +10 -10
  191. package/ellipsis/lib/es6/Ellipsis.js +10 -10
  192. package/ellipsis/package.json +1 -1
  193. package/errors/lib/cjs/Error.js +9 -9
  194. package/errors/lib/es6/Error.js +9 -9
  195. package/errors/package.json +1 -1
  196. package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
  197. package/feature-popover/lib/es6/FeaturePopover.js +11 -11
  198. package/feature-popover/package.json +1 -1
  199. package/feedback-form/lib/cjs/FeedbackForm.js +10 -8
  200. package/feedback-form/lib/cjs/FeedbackForm.js.map +1 -1
  201. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
  202. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
  203. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +6 -6
  204. package/feedback-form/lib/cjs/style/feedback-form.shadow.css +1 -0
  205. package/feedback-form/lib/es6/FeedbackForm.js +10 -8
  206. package/feedback-form/lib/es6/FeedbackForm.js.map +1 -1
  207. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
  208. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
  209. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +6 -6
  210. package/feedback-form/lib/es6/style/feedback-form.shadow.css +1 -0
  211. package/feedback-form/package.json +1 -1
  212. package/flags/lib/cjs/Flags.js +3 -3
  213. package/flags/lib/es6/Flags.js +3 -3
  214. package/flags/lib/sprites/sprite@1x.css +256 -256
  215. package/flags/lib/sprites/sprite@2x.css +257 -257
  216. package/flags/package.json +1 -1
  217. package/flex-box/lib/cjs/Box/useBox.js +3 -3
  218. package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
  219. package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
  220. package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
  221. package/flex-box/lib/es6/Box/useBox.js +3 -3
  222. package/flex-box/lib/es6/Flex/useFlex.js +3 -3
  223. package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
  224. package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
  225. package/flex-box/package.json +1 -1
  226. package/format-text/lib/cjs/FormatText.js +5 -5
  227. package/format-text/lib/es6/FormatText.js +5 -5
  228. package/format-text/package.json +1 -1
  229. package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
  230. package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
  231. package/fullscreen-modal/package.json +1 -1
  232. package/grid/lib/cjs/Grid.js +114 -114
  233. package/grid/lib/es6/Grid.js +114 -114
  234. package/grid/package.json +1 -1
  235. package/i18n-unplugin/package.json +1 -1
  236. package/icon/color/Confluence/l/index.js +4 -4
  237. package/icon/color/Confluence/l/index.mjs +4 -4
  238. package/icon/color/Confluence/m/index.js +4 -4
  239. package/icon/color/Confluence/m/index.mjs +4 -4
  240. package/icon/color/MetaColored/l/index.js +4 -4
  241. package/icon/color/MetaColored/l/index.mjs +4 -4
  242. package/icon/color/MetaColored/m/index.js +4 -4
  243. package/icon/color/MetaColored/m/index.mjs +4 -4
  244. package/icon/color/MicrosoftOffice/l/index.js +10 -10
  245. package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
  246. package/icon/color/MicrosoftOffice/m/index.js +10 -10
  247. package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
  248. package/icon/lib/cjs/Icon.js +5 -5
  249. package/icon/lib/es6/Icon.js +5 -5
  250. package/icon/package.json +1 -1
  251. package/icon/pay/Discover/l/index.js +1 -1
  252. package/icon/pay/Discover/l/index.mjs +1 -1
  253. package/icon/pay/Discover/m/index.js +1 -1
  254. package/icon/pay/Discover/m/index.mjs +1 -1
  255. package/icon/pay/JCB/l/index.js +10 -10
  256. package/icon/pay/JCB/l/index.mjs +10 -10
  257. package/icon/pay/JCB/m/index.js +10 -10
  258. package/icon/pay/JCB/m/index.mjs +10 -10
  259. package/icon/pay/Visa/l/index.js +2 -2
  260. package/icon/pay/Visa/l/index.mjs +2 -2
  261. package/icon/pay/Visa/m/index.js +2 -2
  262. package/icon/pay/Visa/m/index.mjs +2 -2
  263. package/illustration/AccessDenied/index.js +1 -0
  264. package/illustration/AccessDenied/index.mjs +1 -0
  265. package/illustration/AccessLogIn/index.js +1 -0
  266. package/illustration/AccessLogIn/index.mjs +1 -0
  267. package/illustration/AreaChart/index.js +1 -0
  268. package/illustration/AreaChart/index.mjs +1 -0
  269. package/illustration/Blocked/index.js +1 -0
  270. package/illustration/Blocked/index.mjs +1 -0
  271. package/illustration/ChoroplethMapChart/index.js +1 -0
  272. package/illustration/ChoroplethMapChart/index.mjs +1 -0
  273. package/illustration/Coffee/index.js +1 -0
  274. package/illustration/Coffee/index.mjs +1 -0
  275. package/illustration/Collection/index.js +1 -0
  276. package/illustration/Collection/index.mjs +1 -0
  277. package/illustration/CombinedChart/index.js +1 -0
  278. package/illustration/CombinedChart/index.mjs +1 -0
  279. package/illustration/Configuration/index.js +1 -0
  280. package/illustration/Configuration/index.mjs +1 -0
  281. package/illustration/Confirmation/index.js +1 -0
  282. package/illustration/Confirmation/index.mjs +1 -0
  283. package/illustration/Congrats/index.js +1 -0
  284. package/illustration/Congrats/index.mjs +1 -0
  285. package/illustration/ConnectionLost/index.js +1 -0
  286. package/illustration/ConnectionLost/index.mjs +1 -0
  287. package/illustration/DeletedAccount/index.js +1 -0
  288. package/illustration/DeletedAccount/index.mjs +1 -0
  289. package/illustration/DeletedPage/index.js +1 -0
  290. package/illustration/DeletedPage/index.mjs +1 -0
  291. package/illustration/Dns/index.js +1 -0
  292. package/illustration/Dns/index.mjs +1 -0
  293. package/illustration/DonutChart/index.js +1 -0
  294. package/illustration/DonutChart/index.mjs +1 -0
  295. package/illustration/Duplicates/index.js +1 -0
  296. package/illustration/Duplicates/index.mjs +1 -0
  297. package/illustration/Feedback/index.js +1 -0
  298. package/illustration/Feedback/index.mjs +1 -0
  299. package/illustration/FunnelChart/index.js +1 -0
  300. package/illustration/FunnelChart/index.mjs +1 -0
  301. package/illustration/Good/index.js +1 -0
  302. package/illustration/Good/index.mjs +1 -0
  303. package/illustration/HeatMapChart/index.js +1 -0
  304. package/illustration/HeatMapChart/index.mjs +1 -0
  305. package/illustration/HorizontalBarChart/index.js +1 -0
  306. package/illustration/HorizontalBarChart/index.mjs +1 -0
  307. package/illustration/KagiChart/index.js +1 -0
  308. package/illustration/KagiChart/index.mjs +1 -0
  309. package/illustration/LineChart/index.js +1 -0
  310. package/illustration/LineChart/index.mjs +1 -0
  311. package/illustration/LollipopChart/index.js +1 -0
  312. package/illustration/LollipopChart/index.mjs +1 -0
  313. package/illustration/MailSent/index.js +1 -0
  314. package/illustration/MailSent/index.mjs +1 -0
  315. package/illustration/Maintenance/index.js +1 -0
  316. package/illustration/Maintenance/index.mjs +1 -0
  317. package/illustration/Nexttime/index.js +1 -0
  318. package/illustration/Nexttime/index.mjs +1 -0
  319. package/illustration/NoPayment/index.js +1 -0
  320. package/illustration/NoPayment/index.mjs +1 -0
  321. package/illustration/NothingFound/index.js +1 -0
  322. package/illustration/NothingFound/index.mjs +1 -0
  323. package/illustration/OtherData/index.js +1 -0
  324. package/illustration/OtherData/index.mjs +1 -0
  325. package/illustration/PageError/index.js +1 -0
  326. package/illustration/PageError/index.mjs +1 -0
  327. package/illustration/PageNotFound/index.js +1 -0
  328. package/illustration/PageNotFound/index.mjs +1 -0
  329. package/illustration/PieChart/index.js +1 -0
  330. package/illustration/PieChart/index.mjs +1 -0
  331. package/illustration/Processing/index.js +1 -0
  332. package/illustration/Processing/index.mjs +1 -0
  333. package/illustration/ProjectNotFound/index.js +1 -0
  334. package/illustration/ProjectNotFound/index.mjs +1 -0
  335. package/illustration/RadarChart/index.js +1 -0
  336. package/illustration/RadarChart/index.mjs +1 -0
  337. package/illustration/RadialTreeChart/index.js +1 -0
  338. package/illustration/RadialTreeChart/index.mjs +1 -0
  339. package/illustration/SankeyChart/index.js +1 -0
  340. package/illustration/SankeyChart/index.mjs +1 -0
  341. package/illustration/ScatterPlotChart/index.js +1 -0
  342. package/illustration/ScatterPlotChart/index.mjs +1 -0
  343. package/illustration/StackedAreaChart/index.js +1 -0
  344. package/illustration/StackedAreaChart/index.mjs +1 -0
  345. package/illustration/Suggestion/index.js +1 -0
  346. package/illustration/Suggestion/index.mjs +1 -0
  347. package/illustration/Suggestions/index.js +1 -0
  348. package/illustration/Suggestions/index.mjs +1 -0
  349. package/illustration/Table/index.js +1 -0
  350. package/illustration/Table/index.mjs +1 -0
  351. package/illustration/TagCloud/index.js +1 -0
  352. package/illustration/TagCloud/index.mjs +1 -0
  353. package/illustration/TextLinksEtc/index.js +1 -0
  354. package/illustration/TextLinksEtc/index.mjs +1 -0
  355. package/illustration/Timeout/index.js +1 -0
  356. package/illustration/Timeout/index.mjs +1 -0
  357. package/illustration/UnderConstruction/index.js +1 -0
  358. package/illustration/UnderConstruction/index.mjs +1 -0
  359. package/illustration/VennChart/index.js +1 -0
  360. package/illustration/VennChart/index.mjs +1 -0
  361. package/illustration/VerticalBarChart/index.js +1 -0
  362. package/illustration/VerticalBarChart/index.mjs +1 -0
  363. package/illustration/Waiting/index.js +1 -0
  364. package/illustration/Waiting/index.mjs +1 -0
  365. package/illustration/Warning/index.js +1 -0
  366. package/illustration/Warning/index.mjs +1 -0
  367. package/illustration/lib/cjs/index.js +1 -1
  368. package/illustration/lib/es6/index.js +1 -1
  369. package/illustration/package.json +1 -1
  370. package/inline-edit/lib/cjs/InlineEdit.js +25 -6
  371. package/inline-edit/lib/cjs/InlineEdit.js.map +1 -1
  372. package/inline-edit/lib/es6/InlineEdit.js +25 -6
  373. package/inline-edit/lib/es6/InlineEdit.js.map +1 -1
  374. package/inline-edit/package.json +1 -1
  375. package/inline-input/lib/cjs/InlineInput.js +14 -14
  376. package/inline-input/lib/es6/InlineInput.js +14 -14
  377. package/inline-input/package.json +1 -1
  378. package/input/lib/cjs/Input.js +17 -17
  379. package/input/lib/es6/Input.js +17 -17
  380. package/input/package.json +1 -1
  381. package/input-mask/lib/cjs/InputMask.js +6 -6
  382. package/input-mask/lib/es6/InputMask.js +6 -6
  383. package/input-mask/package.json +1 -1
  384. package/input-number/lib/cjs/InputNumber.js +9 -9
  385. package/input-number/lib/es6/InputNumber.js +9 -9
  386. package/input-number/package.json +1 -1
  387. package/input-tags/lib/cjs/InputTags.js +24 -14
  388. package/input-tags/lib/cjs/InputTags.js.map +1 -1
  389. package/input-tags/lib/es6/InputTags.js +24 -14
  390. package/input-tags/lib/es6/InputTags.js.map +1 -1
  391. package/input-tags/package.json +1 -1
  392. package/link/lib/cjs/Link.js +32 -16
  393. package/link/lib/cjs/Link.js.map +1 -1
  394. package/link/lib/es6/Link.js +32 -16
  395. package/link/lib/es6/Link.js.map +1 -1
  396. package/link/package.json +1 -1
  397. package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
  398. package/mini-chart/lib/cjs/component/score/Line.js +18 -18
  399. package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
  400. package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
  401. package/mini-chart/lib/es6/component/score/Donut.js +9 -9
  402. package/mini-chart/lib/es6/component/score/Line.js +18 -18
  403. package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
  404. package/mini-chart/lib/es6/component/trend/Line.js +7 -7
  405. package/mini-chart/package.json +1 -1
  406. package/modal/lib/cjs/Modal.js +8 -8
  407. package/modal/lib/es6/Modal.js +8 -8
  408. package/modal/package.json +1 -1
  409. package/neighbor-location/package.json +1 -1
  410. package/notice/lib/cjs/Notice.js +41 -22
  411. package/notice/lib/cjs/Notice.js.map +1 -1
  412. package/notice/lib/es6/Notice.js +41 -22
  413. package/notice/lib/es6/Notice.js.map +1 -1
  414. package/notice/package.json +1 -1
  415. package/notice-bubble/lib/cjs/NoticeBubble.js +41 -20
  416. package/notice-bubble/lib/cjs/NoticeBubble.js.map +1 -1
  417. package/notice-bubble/lib/cjs/NoticeBubbleManager.js +1 -1
  418. package/notice-bubble/lib/cjs/NoticeBubbleManager.js.map +1 -1
  419. package/notice-bubble/lib/es6/NoticeBubble.js +42 -20
  420. package/notice-bubble/lib/es6/NoticeBubble.js.map +1 -1
  421. package/notice-bubble/lib/es6/NoticeBubbleManager.js +1 -1
  422. package/notice-bubble/lib/es6/NoticeBubbleManager.js.map +1 -1
  423. package/notice-bubble/package.json +1 -1
  424. package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
  425. package/notice-global/lib/es6/NoticeGlobal.js +11 -11
  426. package/notice-global/package.json +1 -1
  427. package/outside-click/lib/cjs/OutsideClick.js +40 -5
  428. package/outside-click/lib/cjs/OutsideClick.js.map +1 -1
  429. package/outside-click/lib/es6/OutsideClick.js +35 -0
  430. package/outside-click/lib/es6/OutsideClick.js.map +1 -1
  431. package/outside-click/package.json +1 -1
  432. package/package.json +1 -1
  433. package/pagination/lib/cjs/Pagination.js +10 -10
  434. package/pagination/lib/es6/Pagination.js +10 -10
  435. package/pagination/package.json +1 -1
  436. package/pills/lib/cjs/Pills.js +13 -13
  437. package/pills/lib/es6/Pills.js +13 -13
  438. package/pills/package.json +1 -1
  439. package/popper/lib/cjs/Popper.js +6 -6
  440. package/popper/lib/es6/Popper.js +6 -6
  441. package/popper/package.json +1 -1
  442. package/portal/package.json +1 -1
  443. package/product-head/lib/cjs/Info.js +4 -4
  444. package/product-head/lib/cjs/ProductHead.js +5 -5
  445. package/product-head/lib/cjs/Title.js +4 -4
  446. package/product-head/lib/es6/Info.js +4 -4
  447. package/product-head/lib/es6/ProductHead.js +5 -5
  448. package/product-head/lib/es6/Title.js +4 -4
  449. package/product-head/package.json +1 -1
  450. package/progress-bar/lib/cjs/ProgressBar.js +15 -15
  451. package/progress-bar/lib/es6/ProgressBar.js +15 -15
  452. package/progress-bar/package.json +1 -1
  453. package/radio/lib/cjs/Radio.js +16 -16
  454. package/radio/lib/es6/Radio.js +16 -16
  455. package/radio/package.json +1 -1
  456. package/scroll-area/lib/cjs/ScrollArea.js +21 -21
  457. package/scroll-area/lib/cjs/ScrollBar.js +6 -6
  458. package/scroll-area/lib/es6/ScrollArea.js +21 -21
  459. package/scroll-area/lib/es6/ScrollBar.js +6 -6
  460. package/scroll-area/package.json +1 -1
  461. package/select/index.d.ts +0 -4
  462. package/select/lib/cjs/InputSearch.js +6 -6
  463. package/select/lib/cjs/Select.js +8 -8
  464. package/select/lib/cjs/index.d.js.map +1 -1
  465. package/select/lib/es6/InputSearch.js +6 -6
  466. package/select/lib/es6/Select.js +8 -8
  467. package/select/lib/es6/index.d.js.map +1 -1
  468. package/select/lib/types/index.d.ts +0 -4
  469. package/select/package.json +1 -1
  470. package/side-panel/lib/cjs/SidePanel.js +16 -16
  471. package/side-panel/lib/es6/SidePanel.js +16 -16
  472. package/side-panel/package.json +1 -1
  473. package/skeleton/lib/cjs/Charts/Area.js +9 -9
  474. package/skeleton/lib/cjs/Charts/Bar.js +9 -9
  475. package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
  476. package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
  477. package/skeleton/lib/cjs/Charts/Donut.js +9 -9
  478. package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
  479. package/skeleton/lib/cjs/Charts/Line.js +9 -9
  480. package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
  481. package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
  482. package/skeleton/lib/cjs/Charts/Venn.js +9 -9
  483. package/skeleton/lib/cjs/Skeleton.js +9 -8
  484. package/skeleton/lib/cjs/Skeleton.js.map +1 -1
  485. package/skeleton/lib/es6/Charts/Area.js +9 -9
  486. package/skeleton/lib/es6/Charts/Bar.js +9 -9
  487. package/skeleton/lib/es6/Charts/Bubble.js +9 -9
  488. package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
  489. package/skeleton/lib/es6/Charts/Donut.js +9 -9
  490. package/skeleton/lib/es6/Charts/Histogram.js +9 -9
  491. package/skeleton/lib/es6/Charts/Line.js +9 -9
  492. package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
  493. package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
  494. package/skeleton/lib/es6/Charts/Venn.js +9 -9
  495. package/skeleton/lib/es6/Skeleton.js +9 -8
  496. package/skeleton/lib/es6/Skeleton.js.map +1 -1
  497. package/skeleton/package.json +1 -1
  498. package/slider/lib/cjs/Slider.js +8 -8
  499. package/slider/lib/es6/Slider.js +8 -8
  500. package/slider/package.json +1 -1
  501. package/spin/lib/cjs/Spin.js +13 -13
  502. package/spin/lib/es6/Spin.js +13 -13
  503. package/spin/package.json +1 -1
  504. package/spin-container/lib/cjs/SpinContainer.js +8 -8
  505. package/spin-container/lib/es6/SpinContainer.js +8 -8
  506. package/spin-container/package.json +1 -1
  507. package/sticky/lib/cjs/Sticky.js +2 -2
  508. package/sticky/lib/es6/Sticky.js +2 -2
  509. package/sticky/package.json +1 -1
  510. package/switch/lib/cjs/Switch.js +21 -21
  511. package/switch/lib/es6/Switch.js +21 -21
  512. package/switch/package.json +1 -1
  513. package/tab-line/lib/cjs/TabLine.js +13 -13
  514. package/tab-line/lib/es6/TabLine.js +13 -13
  515. package/tab-line/package.json +1 -1
  516. package/tab-panel/lib/cjs/TabPanel.js +8 -8
  517. package/tab-panel/lib/es6/TabPanel.js +8 -8
  518. package/tab-panel/package.json +1 -1
  519. package/tag/lib/cjs/Tag.js +23 -23
  520. package/tag/lib/es6/Tag.js +23 -23
  521. package/tag/package.json +1 -1
  522. package/textarea/lib/cjs/Textarea.js +8 -8
  523. package/textarea/lib/es6/Textarea.js +8 -8
  524. package/textarea/package.json +1 -1
  525. package/time-picker/lib/cjs/TimePicker.js +12 -12
  526. package/time-picker/lib/es6/TimePicker.js +12 -12
  527. package/time-picker/package.json +1 -1
  528. package/tooltip/lib/cjs/Tooltip.js +13 -19
  529. package/tooltip/lib/cjs/Tooltip.js.map +1 -1
  530. package/tooltip/lib/es6/Tooltip.js +13 -19
  531. package/tooltip/lib/es6/Tooltip.js.map +1 -1
  532. package/tooltip/package.json +1 -1
  533. package/typography/lib/cjs/Blockquote.js +4 -4
  534. package/typography/lib/cjs/Hint.js +7 -7
  535. package/typography/lib/cjs/List.js +5 -5
  536. package/typography/lib/cjs/Text.js +34 -34
  537. package/typography/lib/es6/Blockquote.js +4 -4
  538. package/typography/lib/es6/Hint.js +7 -7
  539. package/typography/lib/es6/List.js +5 -5
  540. package/typography/lib/es6/Text.js +34 -34
  541. package/typography/package.json +1 -1
  542. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
  543. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
  544. package/utils/lib/injectStyle.js +1 -1
  545. package/utils/lib/injectStyle.mjs +1 -1
  546. package/utils/lib/propsForElement.js +1 -1
  547. package/utils/lib/propsForElement.js.map +1 -1
  548. package/utils/lib/propsForElement.mjs +1 -1
  549. package/utils/lib/propsForElement.mjs.map +1 -1
  550. package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
  551. package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
  552. package/widget-empty/package.json +1 -1
  553. package/wizard/lib/cjs/Wizard.js +12 -12
  554. package/wizard/lib/es6/Wizard.js +12 -12
  555. package/wizard/package.json +1 -1
@@ -21,28 +21,30 @@ var _checkbox = _interopRequireDefault(require("intergalactic/checkbox"));
21
21
  var _typography = require("intergalactic/typography");
22
22
  var _LegendItem = require("./LegendItem.type");
23
23
  var _resolveColorEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/resolveColorEnhance"));
24
+ var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID"));
24
25
  var _Pattern = require("../../../Pattern");
25
26
  var _utils = require("../../../utils");
26
- var _excluded = ["id", "checked", "color", "onChangeLegendItem"];
27
+ var _excluded = ["id", "checked", "color", "onChangeLegendItem", "shape"];
27
28
  /*__reshadow-styles__:"./legend-item.shadow.css"*/
28
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_115qf_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_115qf_gg_:hover{cursor:pointer}.___SLegendItem_115qf_gg_.__disabled_115qf_gg_:hover{cursor:default}}.___SPointShape_115qf_gg_.__color_115qf_gg_{background-color:var(--color_115qf);margin-right:8px;flex-shrink:0}.___SPointShape_115qf_gg_._shape_Circle_115qf_gg_._size_l_115qf_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_115qf_gg_._shape_Circle_115qf_gg_._size_m_115qf_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_115qf_gg_._shape_Line_115qf_gg_._size_l_115qf_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_115qf_gg_._shape_Line_115qf_gg_._size_m_115qf_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_115qf_gg_._shape_Square_115qf_gg_._size_l_115qf_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_115qf_gg_._shape_Square_115qf_gg_._size_m_115qf_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_115qf_gg_._shape_Pattern_115qf_gg_{background-color:transparent;margin-right:4px}.___SIcon_115qf_gg_{line-height:0;margin-right:4px}.___SIcon_115qf_gg_._size_l_115qf_gg_{margin-top:4px}.___SIcon_115qf_gg_._size_m_115qf_gg_{margin-top:2px}.___SLabel_115qf_gg_{min-width:0}.___SAdditionalLabel_115qf_gg_._size_l_115qf_gg_,.___SCount_115qf_gg_._size_l_115qf_gg_,.___SLabel_115qf_gg_._size_l_115qf_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_115qf_gg_._size_m_115qf_gg_,.___SCount_115qf_gg_._size_m_115qf_gg_,.___SLabel_115qf_gg_._size_m_115qf_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_115qf_gg_,.___SCount_115qf_gg_{margin-left:4px}.___SAdditionalLabel_115qf_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_115qf_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_115qf_gg_._size_l_115qf_gg_::before{margin-top:10px}.___SAdditionalLabel_115qf_gg_._size_m_115qf_gg_::before{margin-top:8px}.___SPatternSymbol_115qf_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "115qf_gg_") /*__reshadow_css_end__*/, {
29
- "__SLegendItem": "___SLegendItem_115qf_gg_",
30
- "_disabled": "__disabled_115qf_gg_",
31
- "__SPointShape": "___SPointShape_115qf_gg_",
32
- "_color": "__color_115qf_gg_",
33
- "--color": "--color_115qf",
34
- "_shape_Circle": "_shape_Circle_115qf_gg_",
35
- "_size_l": "_size_l_115qf_gg_",
36
- "_size_m": "_size_m_115qf_gg_",
37
- "_shape_Line": "_shape_Line_115qf_gg_",
38
- "_shape_Square": "_shape_Square_115qf_gg_",
39
- "_shape_Pattern": "_shape_Pattern_115qf_gg_",
40
- "__SIcon": "___SIcon_115qf_gg_",
41
- "__SLabel": "___SLabel_115qf_gg_",
42
- "__SAdditionalLabel": "___SAdditionalLabel_115qf_gg_",
43
- "__SCount": "___SCount_115qf_gg_",
44
- "__SPatternSymbol": "___SPatternSymbol_115qf_gg_"
29
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_1v4xu_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1v4xu_gg_:hover{cursor:pointer}.___SLegendItem_1v4xu_gg_.__disabled_1v4xu_gg_:hover{cursor:default}}.___SPointShape_1v4xu_gg_.__color_1v4xu_gg_{background-color:var(--color_1v4xu);margin-right:8px;flex-shrink:0}.___SPointShape_1v4xu_gg_._shape_Circle_1v4xu_gg_._size_l_1v4xu_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1v4xu_gg_._shape_Circle_1v4xu_gg_._size_m_1v4xu_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1v4xu_gg_._shape_Line_1v4xu_gg_._size_l_1v4xu_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1v4xu_gg_._shape_Line_1v4xu_gg_._size_m_1v4xu_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1v4xu_gg_._shape_Square_1v4xu_gg_._size_l_1v4xu_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1v4xu_gg_._shape_Square_1v4xu_gg_._size_m_1v4xu_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1v4xu_gg_._shape_Pattern_1v4xu_gg_{background-color:transparent;margin-right:4px}.___SIcon_1v4xu_gg_{line-height:0;margin-right:4px}.___SIcon_1v4xu_gg_._size_l_1v4xu_gg_{margin-top:4px}.___SIcon_1v4xu_gg_._size_m_1v4xu_gg_{margin-top:2px}.___SLabel_1v4xu_gg_{min-width:0}.___SAdditionalLabel_1v4xu_gg_._size_l_1v4xu_gg_,.___SCount_1v4xu_gg_._size_l_1v4xu_gg_,.___SLabel_1v4xu_gg_._size_l_1v4xu_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1v4xu_gg_._size_m_1v4xu_gg_,.___SCount_1v4xu_gg_._size_m_1v4xu_gg_,.___SLabel_1v4xu_gg_._size_m_1v4xu_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1v4xu_gg_,.___SCount_1v4xu_gg_{margin-left:4px}.___SAdditionalLabel_1v4xu_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1v4xu_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_1v4xu_gg_._size_l_1v4xu_gg_::before{margin-top:10px}.___SAdditionalLabel_1v4xu_gg_._size_m_1v4xu_gg_::before{margin-top:8px}.___SPatternSymbol_1v4xu_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "1v4xu_gg_") /*__reshadow_css_end__*/, {
30
+ "__SLegendItem": "___SLegendItem_1v4xu_gg_",
31
+ "_disabled": "__disabled_1v4xu_gg_",
32
+ "__SPointShape": "___SPointShape_1v4xu_gg_",
33
+ "_color": "__color_1v4xu_gg_",
34
+ "--color": "--color_1v4xu",
35
+ "_shape_Circle": "_shape_Circle_1v4xu_gg_",
36
+ "_size_l": "_size_l_1v4xu_gg_",
37
+ "_size_m": "_size_m_1v4xu_gg_",
38
+ "_shape_Line": "_shape_Line_1v4xu_gg_",
39
+ "_shape_Square": "_shape_Square_1v4xu_gg_",
40
+ "_shape_Pattern": "_shape_Pattern_1v4xu_gg_",
41
+ "__SIcon": "___SIcon_1v4xu_gg_",
42
+ "__SLabel": "___SLabel_1v4xu_gg_",
43
+ "__SAdditionalLabel": "___SAdditionalLabel_1v4xu_gg_",
44
+ "__SCount": "___SCount_1v4xu_gg_",
45
+ "__SPatternSymbol": "___SPatternSymbol_1v4xu_gg_"
45
46
  });
47
+ var enhance = [(0, _resolveColorEnhance["default"])(), (0, _uniqueID["default"])()];
46
48
  var LegendItemRoot = /*#__PURE__*/function (_Component) {
47
49
  (0, _inherits2["default"])(LegendItemRoot, _Component);
48
50
  var _super = (0, _createSuper2["default"])(LegendItemRoot);
@@ -51,6 +53,12 @@ var LegendItemRoot = /*#__PURE__*/function (_Component) {
51
53
  return _super.apply(this, arguments);
52
54
  }
53
55
  (0, _createClass2["default"])(LegendItemRoot, [{
56
+ key: "getUniqueID",
57
+ value: function getUniqueID() {
58
+ var uid = this.asProps.uid;
59
+ return "chart-legend-item-".concat(uid);
60
+ }
61
+ }, {
54
62
  key: "getShapeProps",
55
63
  value: function getShapeProps() {
56
64
  var _this$asProps = this.asProps,
@@ -74,7 +82,7 @@ var LegendItemRoot = /*#__PURE__*/function (_Component) {
74
82
  onChange: function onChange(value) {
75
83
  onChangeLegendItem(id, value);
76
84
  },
77
- 'aria-labelledby': id
85
+ 'aria-labelledby': shape === 'Checkbox' ? this.getUniqueID() : null
78
86
  };
79
87
  }
80
88
  }, {
@@ -93,9 +101,10 @@ var LegendItemRoot = /*#__PURE__*/function (_Component) {
93
101
  checked = _this$asProps2.checked,
94
102
  color = _this$asProps2.color,
95
103
  onChangeLegendItem = _this$asProps2.onChangeLegendItem,
104
+ shape = _this$asProps2.shape,
96
105
  props = (0, _objectWithoutProperties2["default"])(_this$asProps2, _excluded);
97
106
  return (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, props), {}, {
98
- id: id,
107
+ id: this.getUniqueID(),
99
108
  checked: checked,
100
109
  onClick: function onClick() {
101
110
  return onChangeLegendItem(id, !checked);
@@ -135,7 +144,8 @@ var LegendItemRoot = /*#__PURE__*/function (_Component) {
135
144
  // @ts-ignore
136
145
  var disabled = _LegendItem.StaticShapes.includes(shape);
137
146
  return _ref7 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SLegendItem, _ref7.cn("SLegendItem", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
138
- "disabled": disabled
147
+ "disabled": disabled,
148
+ "__excludeProps": ['id']
139
149
  }, _ref))), /*#__PURE__*/_react["default"].createElement(Children, _ref7.cn("Children", {})));
140
150
  }
141
151
  }]);
@@ -143,7 +153,7 @@ var LegendItemRoot = /*#__PURE__*/function (_Component) {
143
153
  }(_core.Component);
144
154
  (0, _defineProperty2["default"])(LegendItemRoot, "displayName", 'LegendItem');
145
155
  (0, _defineProperty2["default"])(LegendItemRoot, "style", style);
146
- (0, _defineProperty2["default"])(LegendItemRoot, "enhance", [(0, _resolveColorEnhance["default"])()]);
156
+ (0, _defineProperty2["default"])(LegendItemRoot, "enhance", enhance);
147
157
  (0, _defineProperty2["default"])(LegendItemRoot, "defaultProps", function () {
148
158
  return {
149
159
  children: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(LegendItemComponent.Shape, null), /*#__PURE__*/_react["default"].createElement(LegendItemComponent.Icon, null), /*#__PURE__*/_react["default"].createElement(LegendItemComponent.Label, null), /*#__PURE__*/_react["default"].createElement(LegendItemComponent.AdditionalLabel, null), /*#__PURE__*/_react["default"].createElement(LegendItemComponent.Count, null))
@@ -174,7 +184,8 @@ function Shape(props) {
174
184
  "mr": 1
175
185
  }), /*#__PURE__*/_react["default"].createElement(SPatternSymbol, _ref8.cn("SPatternSymbol", {
176
186
  "color": color,
177
- "patternKey": patternKey
187
+ "patternKey": patternKey,
188
+ "aria-hidden": true
178
189
  })));
179
190
  }
180
191
  if (shape === 'Checkbox') {
@@ -190,7 +201,8 @@ function Shape(props) {
190
201
  "mr": 1
191
202
  }), /*#__PURE__*/_react["default"].createElement(SPatternSymbol, _ref9.cn("SPatternSymbol", {
192
203
  "color": color,
193
- "patternKey": patternKey
204
+ "patternKey": patternKey,
205
+ "aria-hidden": true
194
206
  }))));
195
207
  }
196
208
  return _ref10 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SPointShape, _ref10.cn("SPointShape", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({}, _ref2))), /*#__PURE__*/_react["default"].createElement(Children, _ref10.cn("Children", {})));
@@ -1 +1 @@
1
- {"version":3,"file":"LegendItem.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_flexBox","_checkbox","_typography","_LegendItem","_resolveColorEnhance","_Pattern","_utils","_excluded","style","_index","sstyled","insert","LegendItemRoot","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","getShapeProps","_this$asProps","asProps","checked","color","shape","label","id","size","resolveColor","patterns","onChangeLegendItem","patternKey","onChange","getIconProps","props","_objectSpread2","children","icon","getLabelProps","_this$asProps2","_objectWithoutProperties2","onClick","getAdditionalLabelProps","additionalInfo","concat","undefined","getCountProps","count","render","_ref","_ref7","SLegendItem","Flex","_this$asProps3","styles","Children","disabled","StaticShapes","includes","createElement","cn","assignProps","Component","_defineProperty2","resolveColorEnhance","Fragment","LegendItemComponent","Shape","Icon","Label","AdditionalLabel","Count","_ref2","arguments[0]","_ref10","SPointShape","Box","SPatternSymbol","PatternSymbol","_props$patternKey","getChartDefaultColorName","hasChildren","_ref8","_ref9","_ref15","_ref3","_ref11","SIcon","displayName","_ref16","_ref4","_ref12","SLabel","TypographyText","_ref17","_ref5","_ref13","SAdditionalLabel","_ref18","_ref6","_ref14","SCount","createComponent","exports"],"sources":["../../../../../src/component/ChartLegend/LegendItem/LegendItem.tsx"],"sourcesContent":["import React, { DOMAttributes, HTMLProps } from 'react';\nimport createComponent, { Component, sstyled, Root, IRootComponentProps } from '@semcore/core';\nimport { Flex, Box } from '@semcore/flex-box';\nimport Checkbox from '@semcore/checkbox';\nimport { Text as TypographyText } from '@semcore/typography';\n\nimport style from './legend-item.shadow.css';\nimport {\n ShapeProps,\n LegendItemProps,\n LegendItemType,\n LegendItem,\n StaticShapes,\n} from './LegendItem.type';\nimport resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';\nimport { PatternSymbol } from '../../../Pattern';\nimport { getChartDefaultColorName } from '../../../utils';\n\nclass LegendItemRoot extends Component<\n LegendItemProps & { resolveColor: ReturnType<typeof resolveColorEnhance> }\n> {\n static displayName = 'LegendItem';\n static style = style;\n\n static enhance = [resolveColorEnhance()];\n\n static defaultProps = () => ({\n children: (\n <>\n <LegendItemComponent.Shape />\n <LegendItemComponent.Icon />\n <LegendItemComponent.Label />\n <LegendItemComponent.AdditionalLabel />\n <LegendItemComponent.Count />\n </>\n ),\n });\n\n getShapeProps() {\n const { checked, color, shape, label, id, size, resolveColor, patterns, onChangeLegendItem } =\n this.asProps;\n\n return {\n label,\n shape,\n checked,\n color: resolveColor(color),\n patternKey: color,\n patterns,\n size,\n onChange: (value: boolean) => {\n onChangeLegendItem(id, value);\n },\n 'aria-labelledby': id,\n };\n }\n\n getIconProps(): LegendItem & IRootComponentProps {\n const props = this.asProps;\n\n return {\n ...props,\n children: props.icon,\n };\n }\n\n getLabelProps(): Omit<LegendItem, 'color'> & IRootComponentProps & { onClick: () => void } {\n const { id, checked, color, onChangeLegendItem, ...props } = this.asProps;\n\n return {\n ...props,\n id,\n checked,\n onClick: () => onChangeLegendItem(id, !checked),\n children: props.label,\n };\n }\n\n getAdditionalLabelProps(): LegendItem & IRootComponentProps {\n const props = this.asProps;\n\n const { additionalInfo } = props;\n\n return {\n ...props,\n children: additionalInfo && 'label' in additionalInfo ? `${additionalInfo.label}` : undefined,\n };\n }\n\n getCountProps(): LegendItem & IRootComponentProps {\n const props = this.asProps;\n\n const { additionalInfo } = props;\n\n return {\n ...props,\n children:\n additionalInfo && 'count' in additionalInfo ? `(${additionalInfo.count})` : undefined,\n };\n }\n\n render() {\n const SLegendItem = Root;\n const { styles, Children, shape } = this.asProps;\n\n // @ts-ignore\n const disabled = StaticShapes.includes(shape);\n\n return sstyled(styles)(\n <SLegendItem render={Flex} disabled={disabled}>\n <Children />\n </SLegendItem>,\n );\n }\n}\n\nfunction Shape(props: IRootComponentProps & ShapeProps & DOMAttributes<HTMLLabelElement>) {\n const SPointShape = Root;\n const SPatternSymbol = PatternSymbol;\n const {\n styles,\n size,\n shape,\n checked,\n color,\n patternKey = getChartDefaultColorName(0),\n Children,\n children: hasChildren,\n patterns,\n onChange,\n } = props;\n\n if (hasChildren) {\n return <Children />;\n }\n\n if (shape === 'Pattern') {\n return sstyled(styles)(\n <Box mr={1}>\n <SPatternSymbol color={color} patternKey={patternKey} />\n </Box>,\n );\n }\n\n if (shape === 'Checkbox') {\n return sstyled(styles)(\n <>\n <Checkbox\n size={size}\n checked={checked}\n theme={checked ? color : undefined}\n onChange={onChange}\n aria-labelledby={props['aria-labelledby']}\n />\n {patterns && (\n <Box mt={'2px'} mr={1}>\n <SPatternSymbol color={color} patternKey={patternKey} />\n </Box>\n )}\n </>,\n );\n }\n\n return sstyled(styles)(\n <SPointShape render={Box}>\n <Children />\n </SPointShape>,\n );\n}\n\nfunction Icon({ styles, children: hasChildren, Children }: IRootComponentProps) {\n const SIcon = Root;\n\n if (!hasChildren) {\n return null;\n }\n\n return sstyled(styles)(\n <SIcon render={Box} tag={'span'}>\n <Children />\n </SIcon>,\n );\n}\nIcon.displayName = 'Icon';\n\nfunction Label({ styles, children: hasChildren, Children }: IRootComponentProps) {\n const SLabel = Root;\n\n if (!hasChildren) {\n return null;\n }\n\n return sstyled(styles)(\n <SLabel render={TypographyText} use={'primary'}>\n <Children />\n </SLabel>,\n );\n}\nLabel.displayName = 'Label';\n\nfunction AdditionalLabel({ styles, children: hasChildren, Children }: IRootComponentProps) {\n const SAdditionalLabel = Root;\n\n if (!hasChildren) {\n return null;\n }\n\n return sstyled(styles)(\n <SAdditionalLabel render={TypographyText} use={'secondary'}>\n <Children />\n </SAdditionalLabel>,\n );\n}\nAdditionalLabel.displayName = 'AdditionalLabel';\n\nfunction Count({ styles, children: hasChildren, Children }: IRootComponentProps) {\n const SCount = Root;\n\n if (!hasChildren) {\n return null;\n }\n\n return sstyled(styles)(\n <SCount render={TypographyText} use={'secondary'}>\n <Children />\n </SCount>,\n );\n}\nCount.displayName = 'Count';\n\nexport const LegendItemComponent: LegendItemType = createComponent(LegendItemRoot, {\n Shape,\n Icon,\n Label,\n AdditionalLabel,\n Count,\n});\n"],"mappings":";;;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AAGA,IAAAM,WAAA,GAAAN,OAAA;AAOA,IAAAO,oBAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,MAAA,GAAAT,OAAA;AAA0D,IAAAU,SAAA;AAAA;AAAA,IAAAC,KAAA,+BAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAAA,IAEpDC,cAAc,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,cAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,cAAA;EAAA,SAAAA,eAAA;IAAA,IAAAK,g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endItem.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_flexBox","_checkbox","_typography","_LegendItem","_resolveColorEnhance","_uniqueID","_Pattern","_utils","_excluded","style","_index","sstyled","insert","enhance","resolveColorEnhance","uniqueIDEnhancement","LegendItemRoot","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","getUniqueID","uid","asProps","concat","getShapeProps","_this$asProps","checked","color","shape","label","id","size","resolveColor","patterns","onChangeLegendItem","patternKey","onChange","getIconProps","props","_objectSpread2","children","icon","getLabelProps","_this$asProps2","_objectWithoutProperties2","onClick","getAdditionalLabelProps","additionalInfo","undefined","getCountProps","count","render","_ref","_ref7","SLegendItem","Flex","_this$asProps3","styles","Children","disabled","StaticShapes","includes","createElement","cn","assignProps","Component","_defineProperty2","Fragment","LegendItemComponent","Shape","Icon","Label","AdditionalLabel","Count","_ref2","arguments[0]","_ref10","SPointShape","Box","SPatternSymbol","PatternSymbol","_props$patternKey","getChartDefaultColorName","hasChildren","_ref8","_ref9","_ref15","_ref3","_ref11","SIcon","displayName","_ref16","_ref4","_ref12","SLabel","TypographyText","_ref17","_ref5","_ref13","SAdditionalLabel","_ref18","_ref6","_ref14","SCount","createComponent","exports"],"sources":["../../../../../src/component/ChartLegend/LegendItem/LegendItem.tsx"],"sourcesContent":["import React, { DOMAttributes } from 'react';\nimport createComponent, { Component, sstyled, Root, IRootComponentProps } from '@semcore/core';\nimport { Flex, Box } from '@semcore/flex-box';\nimport Checkbox from '@semcore/checkbox';\nimport { Text as TypographyText } from '@semcore/typography';\n\nimport style from './legend-item.shadow.css';\nimport {\n ShapeProps,\n LegendItemProps,\n LegendItemType,\n LegendItem,\n StaticShapes,\n} from './LegendItem.type';\nimport resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';\nimport uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';\nimport { PatternSymbol } from '../../../Pattern';\nimport { getChartDefaultColorName } from '../../../utils';\n\nconst enhance = [resolveColorEnhance(), uniqueIDEnhancement()] as const;\nclass LegendItemRoot extends Component<LegendItemProps, {}, {}, typeof enhance> {\n static displayName = 'LegendItem';\n static style = style;\n\n static enhance = enhance;\n\n static defaultProps = () => ({\n children: (\n <>\n <LegendItemComponent.Shape />\n <LegendItemComponent.Icon />\n <LegendItemComponent.Label />\n <LegendItemComponent.AdditionalLabel />\n <LegendItemComponent.Count />\n </>\n ),\n });\n\n getUniqueID() {\n const { uid } = this.asProps;\n return `chart-legend-item-${uid}`;\n }\n\n getShapeProps() {\n const { checked, color, shape, label, id, size, resolveColor, patterns, onChangeLegendItem } =\n this.asProps;\n return {\n label,\n shape,\n checked,\n color: resolveColor(color),\n patternKey: color,\n patterns,\n size,\n onChange: (value: boolean) => {\n onChangeLegendItem(id, value);\n },\n 'aria-labelledby': shape === 'Checkbox' ? this.getUniqueID() : null,\n };\n }\n\n getIconProps(): LegendItem & IRootComponentProps {\n const props = this.asProps;\n\n return {\n ...props,\n children: props.icon,\n };\n }\n\n getLabelProps(): Omit<LegendItem, 'color'> & IRootComponentProps & { onClick: () => void } {\n const { id, checked, color, onChangeLegendItem, shape, ...props } = this.asProps;\n\n return {\n ...props,\n id: this.getUniqueID(),\n checked,\n onClick: () => onChangeLegendItem(id, !checked),\n children: props.label,\n };\n }\n\n getAdditionalLabelProps(): LegendItem & IRootComponentProps {\n const props = this.asProps;\n\n const { additionalInfo } = props;\n\n return {\n ...props,\n children: additionalInfo && 'label' in additionalInfo ? `${additionalInfo.label}` : undefined,\n };\n }\n\n getCountProps(): LegendItem & IRootComponentProps {\n const props = this.asProps;\n\n const { additionalInfo } = props;\n\n return {\n ...props,\n children:\n additionalInfo && 'count' in additionalInfo ? `(${additionalInfo.count})` : undefined,\n };\n }\n\n render() {\n const SLegendItem = Root;\n const { styles, Children, shape } = this.asProps;\n\n // @ts-ignore\n const disabled = StaticShapes.includes(shape);\n\n return sstyled(styles)(\n <SLegendItem render={Flex} disabled={disabled} __excludeProps={['id']}>\n <Children />\n </SLegendItem>,\n );\n }\n}\n\nfunction Shape(props: IRootComponentProps & ShapeProps & DOMAttributes<HTMLLabelElement>) {\n const SPointShape = Root;\n const SPatternSymbol = PatternSymbol;\n const {\n styles,\n size,\n shape,\n checked,\n color,\n patternKey = getChartDefaultColorName(0),\n Children,\n children: hasChildren,\n patterns,\n onChange,\n } = props;\n\n if (hasChildren) {\n return <Children />;\n }\n\n if (shape === 'Pattern') {\n return sstyled(styles)(\n <Box mr={1}>\n <SPatternSymbol color={color} patternKey={patternKey} aria-hidden />\n </Box>,\n );\n }\n\n if (shape === 'Checkbox') {\n return sstyled(styles)(\n <>\n <Checkbox\n size={size}\n checked={checked}\n theme={checked ? color : undefined}\n onChange={onChange}\n aria-labelledby={props['aria-labelledby']}\n />\n {patterns && (\n <Box mt={'2px'} mr={1}>\n <SPatternSymbol color={color} patternKey={patternKey} aria-hidden />\n </Box>\n )}\n </>,\n );\n }\n\n return sstyled(styles)(\n <SPointShape render={Box}>\n <Children />\n </SPointShape>,\n );\n}\n\nfunction Icon({ styles, children: hasChildren, Children }: IRootComponentProps) {\n const SIcon = Root;\n\n if (!hasChildren) {\n return null;\n }\n\n return sstyled(styles)(\n <SIcon render={Box} tag={'span'}>\n <Children />\n </SIcon>,\n );\n}\nIcon.displayName = 'Icon';\n\nfunction Label({ styles, children: hasChildren, Children }: IRootComponentProps) {\n const SLabel = Root;\n\n if (!hasChildren) {\n return null;\n }\n\n return sstyled(styles)(\n <SLabel render={TypographyText} use={'primary'}>\n <Children />\n </SLabel>,\n );\n}\nLabel.displayName = 'Label';\n\nfunction AdditionalLabel({ styles, children: hasChildren, Children }: IRootComponentProps) {\n const SAdditionalLabel = Root;\n\n if (!hasChildren) {\n return null;\n }\n\n return sstyled(styles)(\n <SAdditionalLabel render={TypographyText} use={'secondary'}>\n <Children />\n </SAdditionalLabel>,\n );\n}\nAdditionalLabel.displayName = 'AdditionalLabel';\n\nfunction Count({ styles, children: hasChildren, Children }: IRootComponentProps) {\n const SCount = Root;\n\n if (!hasChildren) {\n return null;\n }\n\n return sstyled(styles)(\n <SCount render={TypographyText} use={'secondary'}>\n <Children />\n </SCount>,\n );\n}\nCount.displayName = 'Count';\n\nexport const LegendItemComponent: LegendItemType = createComponent(LegendItemRoot, {\n Shape,\n Icon,\n Label,\n AdditionalLabel,\n Count,\n});\n"],"mappings":";;;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AAGA,IAAAM,WAAA,GAAAN,OAAA;AAOA,IAAAO,oBAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,SAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,MAAA,GAAAV,OAAA;AAA0D,IAAAW,SAAA;AAAA;AAAA,IAAAC,KAAA,+BAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAE1D,IAAMC,OAAO,GAAG,CAAC,IAAAC,+BAAmB,GAAE,EAAE,IAAAC,oBAAmB,GAAE,CAAU;AAAC,IAClEC,cAAc,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,cAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,cAAA;EAAA,SAAAA,eAAA;IAAA,IAAAK,gBAAA,mBAAAL,cAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,IAAAC,aAAA,aAAAR,cAAA;IAAAS,GAAA;IAAAC,KAAA,EAkBlB,SAAAC,YAAA,EAAc;MACZ,I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AAK,EAALA,KAAK;EACLC,eAAe,EAAfA,eAAe;EACfC,KAAK,EAALA;AACF,CAAC,CAAC;AAACgC,OAAA,CAAArC,mBAAA,GAAAA,mBAAA"}
@@ -19,12 +19,12 @@ var _flexBox = require("intergalactic/flex-box");
19
19
  var _LegendItem = require("../LegendItem/LegendItem");
20
20
  var _BaseLegend2 = require("../BaseLegend");
21
21
  /*__reshadow-styles__:"./legend-table.shadow.css"*/
22
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLegendTable_1ccji_gg_.__columns-count_1ccji_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_1ccji_gg_._size_l_1ccji_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_1ccji_gg_._size_m_1ccji_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "1ccji_gg_") /*__reshadow_css_end__*/, {
23
- "__SLegendTable": "___SLegendTable_1ccji_gg_",
24
- "_columns-count": "__columns-count_1ccji_gg_",
25
- "__SColumnItem": "___SColumnItem_1ccji_gg_",
26
- "_size_l": "_size_l_1ccji_gg_",
27
- "_size_m": "_size_m_1ccji_gg_"
22
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLegendTable_16buu_gg_.__columns-count_16buu_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_16buu_gg_._size_l_16buu_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_16buu_gg_._size_m_16buu_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "16buu_gg_") /*__reshadow_css_end__*/, {
23
+ "__SLegendTable": "___SLegendTable_16buu_gg_",
24
+ "_columns-count": "__columns-count_16buu_gg_",
25
+ "__SColumnItem": "___SColumnItem_16buu_gg_",
26
+ "_size_l": "_size_l_16buu_gg_",
27
+ "_size_m": "_size_m_16buu_gg_"
28
28
  });
29
29
  var LegendTableRoot = /*#__PURE__*/function (_BaseLegend) {
30
30
  (0, _inherits2["default"])(LegendTableRoot, _BaseLegend);
@@ -1,7 +1,9 @@
1
1
  SHoverLine {
2
+ outline: none;
2
3
  stroke: var(--intergalactic-chart-grid-x-axis, #c4c7cf);
3
4
  }
4
5
 
5
6
  SHoverRect {
7
+ outline: none;
6
8
  fill: var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3));
7
9
  }
@@ -75,5 +75,6 @@ SPolygonLine[color] {
75
75
  }
76
76
 
77
77
  SPieRect {
78
+ outline: none;
78
79
  fill: var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3));
79
- }
80
+ }
@@ -1,4 +1,5 @@
1
1
  {
2
+ "d3Chart.Plot:aria-label": "Chart",
2
3
  "trend": "Trend",
3
4
  "legendForChart": "Chart legend"
4
5
  }
@@ -16,17 +16,17 @@ import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolat
16
16
  import AnimatedClipPath from './AnimatedClipPath';
17
17
  import { PatternFill } from './Pattern';
18
18
  /*__reshadow-styles__:"./style/area.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_sw41w_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_sw41w_gg_.__color_sw41w_gg_{fill:var(--color_sw41w)}.___SArea_sw41w_gg_.__pattern_sw41w_gg_{fill:var(--pattern_sw41w);fill-opacity:.7}.___SArea_sw41w_gg_.__transparent_sw41w_gg_{opacity:.3}.___SAreaLine_sw41w_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_sw41w_gg_.__color_sw41w_gg_{stroke:var(--color_sw41w)}.___SAreaLine_sw41w_gg_.__transparent_sw41w_gg_{opacity:.3}.___SAreaLine_sw41w_gg_,.___SArea_sw41w_gg_{transition-property:d;transition-duration:var(--duration_sw41w);transition-timing-function:ease-in-out}.___SNull_sw41w_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_sw41w_gg_.__hide_sw41w_gg_{display:none}" /*__inner_css_end__*/, "sw41w_gg_") /*__reshadow_css_end__*/, {
20
- "__SArea": "___SArea_sw41w_gg_",
21
- "_color": "__color_sw41w_gg_",
22
- "--color": "--color_sw41w",
23
- "_pattern": "__pattern_sw41w_gg_",
24
- "--pattern": "--pattern_sw41w",
25
- "_transparent": "__transparent_sw41w_gg_",
26
- "__SAreaLine": "___SAreaLine_sw41w_gg_",
27
- "--duration": "--duration_sw41w",
28
- "__SNull": "___SNull_sw41w_gg_",
29
- "_hide": "__hide_sw41w_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_zn13u_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_zn13u_gg_.__color_zn13u_gg_{fill:var(--color_zn13u)}.___SArea_zn13u_gg_.__pattern_zn13u_gg_{fill:var(--pattern_zn13u);fill-opacity:.7}.___SArea_zn13u_gg_.__transparent_zn13u_gg_{opacity:.3}.___SAreaLine_zn13u_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_zn13u_gg_.__color_zn13u_gg_{stroke:var(--color_zn13u)}.___SAreaLine_zn13u_gg_.__transparent_zn13u_gg_{opacity:.3}.___SAreaLine_zn13u_gg_,.___SArea_zn13u_gg_{transition-property:d;transition-duration:var(--duration_zn13u);transition-timing-function:ease-in-out}.___SNull_zn13u_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_zn13u_gg_.__hide_zn13u_gg_{display:none}" /*__inner_css_end__*/, "zn13u_gg_") /*__reshadow_css_end__*/, {
20
+ "__SArea": "___SArea_zn13u_gg_",
21
+ "_color": "__color_zn13u_gg_",
22
+ "--color": "--color_zn13u",
23
+ "_pattern": "__pattern_zn13u_gg_",
24
+ "--pattern": "--pattern_zn13u",
25
+ "_transparent": "__transparent_zn13u_gg_",
26
+ "__SAreaLine": "___SAreaLine_zn13u_gg_",
27
+ "--duration": "--duration_zn13u",
28
+ "__SNull": "___SNull_zn13u_gg_",
29
+ "_hide": "__hide_zn13u_gg_"
30
30
  });
31
31
  var AreaRoot = /*#__PURE__*/function (_Component) {
32
32
  _inherits(AreaRoot, _Component);
@@ -12,20 +12,20 @@ import { Component, sstyled } from 'intergalactic/core';
12
12
  import createElement from './createElement';
13
13
  import { scaleOfBandwidth } from './utils';
14
14
  /*__reshadow-styles__:"./style/axis.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_18qs8_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_18qs8_gg_.__hide_18qs8_gg_,.___STick_18qs8_gg_.__hide_18qs8_gg_{display:none}.___STick_18qs8_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_18qs8_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_18qs8_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_18qs8)}.___STitle_18qs8_gg_._position_top_18qs8_gg_{text-anchor:middle}.___STitle_18qs8_gg_._position_bottom_18qs8_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_18qs8_gg_._position_left_18qs8_gg_,.___STitle_18qs8_gg_._position_right_18qs8_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_18qs8_gg_._position_left_18qs8_gg_.__verticalWritingMode_18qs8_gg_,.___STitle_18qs8_gg_._position_right_18qs8_gg_.__verticalWritingMode_18qs8_gg_{writing-mode:vertical-rl;transform:none}.___STick_18qs8_gg_._position_top_18qs8_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_18qs8_gg_._position_bottom_18qs8_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_18qs8_gg_._position_right_18qs8_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_18qs8_gg_._position_left_18qs8_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_18qs8_gg_._position_custom_0_18qs8_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_18qs8_gg_._position_custom_1_18qs8_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}" /*__inner_css_end__*/, "18qs8_gg_") /*__reshadow_css_end__*/, {
16
- "__SAxis": "___SAxis_18qs8_gg_",
17
- "_hide": "__hide_18qs8_gg_",
18
- "__STick": "___STick_18qs8_gg_",
19
- "__SGrid": "___SGrid_18qs8_gg_",
20
- "__STitle": "___STitle_18qs8_gg_",
21
- "--transform-origin": "--transform-origin_18qs8",
22
- "_position_top": "_position_top_18qs8_gg_",
23
- "_position_bottom": "_position_bottom_18qs8_gg_",
24
- "_position_right": "_position_right_18qs8_gg_",
25
- "_position_left": "_position_left_18qs8_gg_",
26
- "_verticalWritingMode": "__verticalWritingMode_18qs8_gg_",
27
- "_position_custom_0": "_position_custom_0_18qs8_gg_",
28
- "_position_custom_1": "_position_custom_1_18qs8_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_vyeld_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_vyeld_gg_.__hide_vyeld_gg_,.___STick_vyeld_gg_.__hide_vyeld_gg_{display:none}.___STick_vyeld_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_vyeld_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_vyeld_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_vyeld)}.___STitle_vyeld_gg_._position_top_vyeld_gg_{text-anchor:middle}.___STitle_vyeld_gg_._position_bottom_vyeld_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_vyeld_gg_._position_left_vyeld_gg_,.___STitle_vyeld_gg_._position_right_vyeld_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_vyeld_gg_._position_left_vyeld_gg_.__verticalWritingMode_vyeld_gg_,.___STitle_vyeld_gg_._position_right_vyeld_gg_.__verticalWritingMode_vyeld_gg_{writing-mode:vertical-rl;transform:none}.___STick_vyeld_gg_._position_top_vyeld_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_vyeld_gg_._position_bottom_vyeld_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_vyeld_gg_._position_right_vyeld_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_vyeld_gg_._position_left_vyeld_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_vyeld_gg_._position_custom_0_vyeld_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_vyeld_gg_._position_custom_1_vyeld_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}" /*__inner_css_end__*/, "vyeld_gg_") /*__reshadow_css_end__*/, {
16
+ "__SAxis": "___SAxis_vyeld_gg_",
17
+ "_hide": "__hide_vyeld_gg_",
18
+ "__STick": "___STick_vyeld_gg_",
19
+ "__SGrid": "___SGrid_vyeld_gg_",
20
+ "__STitle": "___STitle_vyeld_gg_",
21
+ "--transform-origin": "--transform-origin_vyeld",
22
+ "_position_top": "_position_top_vyeld_gg_",
23
+ "_position_bottom": "_position_bottom_vyeld_gg_",
24
+ "_position_right": "_position_right_vyeld_gg_",
25
+ "_position_left": "_position_left_vyeld_gg_",
26
+ "_verticalWritingMode": "__verticalWritingMode_vyeld_gg_",
27
+ "_position_custom_0": "_position_custom_0_vyeld_gg_",
28
+ "_position_custom_1": "_position_custom_1_vyeld_gg_"
29
29
  });
30
30
  var CUSTOM_0 = Symbol('custom_0');
31
31
  var CUSTOM_1 = Symbol('custom_1');
@@ -14,22 +14,22 @@ import AnimatedClipPath from './AnimatedClipPath';
14
14
  import { scaleToBand, roundedPath } from './utils';
15
15
  import { PatternFill } from './Pattern';
16
16
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_rcwo4_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_rcwo4);transition-timing-function:ease-in-out}.___SBar_rcwo4_gg_.__color_rcwo4_gg_{fill:var(--color_rcwo4)}.___SBar_rcwo4_gg_.__pattern_rcwo4_gg_.__color_rcwo4_gg_{fill:var(--pattern_rcwo4);stroke:var(--color_rcwo4);stroke-width:1px}.___SBar_rcwo4_gg_.__hide_rcwo4_gg_{display:none}.___SBar_rcwo4_gg_.__transparent_rcwo4_gg_{opacity:.3}.___SBackground_rcwo4_gg_.__onClick_rcwo4_gg_,.___SBar_rcwo4_gg_.__onClick_rcwo4_gg_{cursor:pointer}.___SBackground_rcwo4_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_rcwo4_gg_{display:flex;justify-content:space-between}.___SBarLabel_rcwo4_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_rcwo4_gg_,.___SBarPercent_rcwo4_gg_,.___SBarValue_rcwo4_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_rcwo4_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_rcwo4_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_rcwo4_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "rcwo4_gg_") /*__reshadow_css_end__*/, {
18
- "__SBar": "___SBar_rcwo4_gg_",
19
- "--duration": "--duration_rcwo4",
20
- "_color": "__color_rcwo4_gg_",
21
- "--color": "--color_rcwo4",
22
- "_pattern": "__pattern_rcwo4_gg_",
23
- "--pattern": "--pattern_rcwo4",
24
- "_hide": "__hide_rcwo4_gg_",
25
- "_transparent": "__transparent_rcwo4_gg_",
26
- "_onClick": "__onClick_rcwo4_gg_",
27
- "__SBackground": "___SBackground_rcwo4_gg_",
28
- "__SBarAnnotation": "___SBarAnnotation_rcwo4_gg_",
29
- "__SBarLabel": "___SBarLabel_rcwo4_gg_",
30
- "__SBarPercent": "___SBarPercent_rcwo4_gg_",
31
- "__SBarValue": "___SBarValue_rcwo4_gg_",
32
- "__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_rcwo4_gg_"
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_12eho_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_12eho);transition-timing-function:ease-in-out}.___SBar_12eho_gg_.__color_12eho_gg_{fill:var(--color_12eho)}.___SBar_12eho_gg_.__pattern_12eho_gg_.__color_12eho_gg_{fill:var(--pattern_12eho);stroke:var(--color_12eho);stroke-width:1px}.___SBar_12eho_gg_.__hide_12eho_gg_{display:none}.___SBar_12eho_gg_.__transparent_12eho_gg_{opacity:.3}.___SBackground_12eho_gg_.__onClick_12eho_gg_,.___SBar_12eho_gg_.__onClick_12eho_gg_{cursor:pointer}.___SBackground_12eho_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_12eho_gg_{display:flex;justify-content:space-between}.___SBarLabel_12eho_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_12eho_gg_,.___SBarPercent_12eho_gg_,.___SBarValue_12eho_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_12eho_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_12eho_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_12eho_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "12eho_gg_") /*__reshadow_css_end__*/, {
18
+ "__SBar": "___SBar_12eho_gg_",
19
+ "--duration": "--duration_12eho",
20
+ "_color": "__color_12eho_gg_",
21
+ "--color": "--color_12eho",
22
+ "_pattern": "__pattern_12eho_gg_",
23
+ "--pattern": "--pattern_12eho",
24
+ "_hide": "__hide_12eho_gg_",
25
+ "_transparent": "__transparent_12eho_gg_",
26
+ "_onClick": "__onClick_12eho_gg_",
27
+ "__SBackground": "___SBackground_12eho_gg_",
28
+ "__SBarAnnotation": "___SBarAnnotation_12eho_gg_",
29
+ "__SBarLabel": "___SBarLabel_12eho_gg_",
30
+ "__SBarPercent": "___SBarPercent_12eho_gg_",
31
+ "__SBarValue": "___SBarValue_12eho_gg_",
32
+ "__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_12eho_gg_"
33
33
  });
34
34
  export var MIN_HEIGHT = 2;
35
35
  var calcPartBarY = function calcPartBarY(y, minHeight, height) {
@@ -17,18 +17,18 @@ import { getBubbleChartValueScale, measureText } from './utils';
17
17
  import Tooltip from './Tooltip';
18
18
  import { PatternFill } from './Pattern';
19
19
  /*__reshadow-styles__:"./style/bubble.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_2pr4v_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_2pr4v);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_2pr4v_gg_:hover{opacity:.8}}.___SBubble_2pr4v_gg_.__color_2pr4v_gg_{fill:var(--color_2pr4v)}.___SBubble_2pr4v_gg_.__pattern_2pr4v_gg_.__color_2pr4v_gg_{fill:var(--pattern_2pr4v);stroke:var(--color_2pr4v);stroke-width:1px}.___SBubble_2pr4v_gg_.__transparent_2pr4v_gg_{opacity:.3}.___SCenter_2pr4v_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_2pr4v_gg_.__color_2pr4v_gg_{stroke:var(--color_2pr4v)}.___SCenter_2pr4v_gg_.__transparent_2pr4v_gg_{opacity:.3}.___SLabel_2pr4v_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_2pr4v_gg_._position_right_2pr4v_gg_{text-anchor:end}.___SLabel_2pr4v_gg_._position_left_2pr4v_gg_{text-anchor:start}.___SLabel_2pr4v_gg_.__color_2pr4v_gg_{fill:var(--color_2pr4v)}.___SLabel_2pr4v_gg_.__transparent_2pr4v_gg_{opacity:.3}" /*__inner_css_end__*/, "2pr4v_gg_") /*__reshadow_css_end__*/, {
21
- "__SBubble": "___SBubble_2pr4v_gg_",
22
- "_color": "__color_2pr4v_gg_",
23
- "--color": "--color_2pr4v",
24
- "_pattern": "__pattern_2pr4v_gg_",
25
- "--pattern": "--pattern_2pr4v",
26
- "_transparent": "__transparent_2pr4v_gg_",
27
- "__SCenter": "___SCenter_2pr4v_gg_",
28
- "__SLabel": "___SLabel_2pr4v_gg_",
29
- "_position_right": "_position_right_2pr4v_gg_",
30
- "_position_left": "_position_left_2pr4v_gg_",
31
- "--duration": "--duration_2pr4v"
20
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_1u9yg_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_1u9yg);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1u9yg_gg_:hover{opacity:.8}}.___SBubble_1u9yg_gg_.__color_1u9yg_gg_{fill:var(--color_1u9yg)}.___SBubble_1u9yg_gg_.__pattern_1u9yg_gg_.__color_1u9yg_gg_{fill:var(--pattern_1u9yg);stroke:var(--color_1u9yg);stroke-width:1px}.___SBubble_1u9yg_gg_.__transparent_1u9yg_gg_{opacity:.3}.___SCenter_1u9yg_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_1u9yg_gg_.__color_1u9yg_gg_{stroke:var(--color_1u9yg)}.___SCenter_1u9yg_gg_.__transparent_1u9yg_gg_{opacity:.3}.___SLabel_1u9yg_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_1u9yg_gg_._position_right_1u9yg_gg_{text-anchor:end}.___SLabel_1u9yg_gg_._position_left_1u9yg_gg_{text-anchor:start}.___SLabel_1u9yg_gg_.__color_1u9yg_gg_{fill:var(--color_1u9yg)}.___SLabel_1u9yg_gg_.__transparent_1u9yg_gg_{opacity:.3}" /*__inner_css_end__*/, "1u9yg_gg_") /*__reshadow_css_end__*/, {
21
+ "__SBubble": "___SBubble_1u9yg_gg_",
22
+ "_color": "__color_1u9yg_gg_",
23
+ "--color": "--color_1u9yg",
24
+ "_pattern": "__pattern_1u9yg_gg_",
25
+ "--pattern": "--pattern_1u9yg",
26
+ "_transparent": "__transparent_1u9yg_gg_",
27
+ "__SCenter": "___SCenter_1u9yg_gg_",
28
+ "__SLabel": "___SLabel_1u9yg_gg_",
29
+ "_position_right": "_position_right_1u9yg_gg_",
30
+ "_position_left": "_position_left_1u9yg_gg_",
31
+ "--duration": "--duration_1u9yg"
32
32
  });
33
33
  var BubbleRoot = /*#__PURE__*/function (_Component) {
34
34
  _inherits(BubbleRoot, _Component);
@@ -23,22 +23,22 @@ import Tooltip from './Tooltip';
23
23
  import { eventToPoint } from './utils';
24
24
  import { callAllEventHandlers } from 'intergalactic/utils/lib/assignProps';
25
25
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
26
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_rcwo4_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_rcwo4);transition-timing-function:ease-in-out}.___SBar_rcwo4_gg_.__color_rcwo4_gg_{fill:var(--color_rcwo4)}.___SBar_rcwo4_gg_.__pattern_rcwo4_gg_.__color_rcwo4_gg_{fill:var(--pattern_rcwo4);stroke:var(--color_rcwo4);stroke-width:1px}.___SBar_rcwo4_gg_.__hide_rcwo4_gg_{display:none}.___SBar_rcwo4_gg_.__transparent_rcwo4_gg_{opacity:.3}.___SBackground_rcwo4_gg_.__onClick_rcwo4_gg_,.___SBar_rcwo4_gg_.__onClick_rcwo4_gg_{cursor:pointer}.___SBackground_rcwo4_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_rcwo4_gg_{display:flex;justify-content:space-between}.___SBarLabel_rcwo4_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_rcwo4_gg_,.___SBarPercent_rcwo4_gg_,.___SBarValue_rcwo4_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_rcwo4_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_rcwo4_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_rcwo4_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "rcwo4_gg_") /*__reshadow_css_end__*/, {
27
- "__SBar": "___SBar_rcwo4_gg_",
28
- "--duration": "--duration_rcwo4",
29
- "_color": "__color_rcwo4_gg_",
30
- "--color": "--color_rcwo4",
31
- "_pattern": "__pattern_rcwo4_gg_",
32
- "--pattern": "--pattern_rcwo4",
33
- "_hide": "__hide_rcwo4_gg_",
34
- "_transparent": "__transparent_rcwo4_gg_",
35
- "_onClick": "__onClick_rcwo4_gg_",
36
- "__SBackground": "___SBackground_rcwo4_gg_",
37
- "__SBarAnnotation": "___SBarAnnotation_rcwo4_gg_",
38
- "__SBarLabel": "___SBarLabel_rcwo4_gg_",
39
- "__SBarPercent": "___SBarPercent_rcwo4_gg_",
40
- "__SBarValue": "___SBarValue_rcwo4_gg_",
41
- "__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_rcwo4_gg_"
26
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_12eho_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_12eho);transition-timing-function:ease-in-out}.___SBar_12eho_gg_.__color_12eho_gg_{fill:var(--color_12eho)}.___SBar_12eho_gg_.__pattern_12eho_gg_.__color_12eho_gg_{fill:var(--pattern_12eho);stroke:var(--color_12eho);stroke-width:1px}.___SBar_12eho_gg_.__hide_12eho_gg_{display:none}.___SBar_12eho_gg_.__transparent_12eho_gg_{opacity:.3}.___SBackground_12eho_gg_.__onClick_12eho_gg_,.___SBar_12eho_gg_.__onClick_12eho_gg_{cursor:pointer}.___SBackground_12eho_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_12eho_gg_{display:flex;justify-content:space-between}.___SBarLabel_12eho_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_12eho_gg_,.___SBarPercent_12eho_gg_,.___SBarValue_12eho_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_12eho_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_12eho_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_12eho_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "12eho_gg_") /*__reshadow_css_end__*/, {
27
+ "__SBar": "___SBar_12eho_gg_",
28
+ "--duration": "--duration_12eho",
29
+ "_color": "__color_12eho_gg_",
30
+ "--color": "--color_12eho",
31
+ "_pattern": "__pattern_12eho_gg_",
32
+ "--pattern": "--pattern_12eho",
33
+ "_hide": "__hide_12eho_gg_",
34
+ "_transparent": "__transparent_12eho_gg_",
35
+ "_onClick": "__onClick_12eho_gg_",
36
+ "__SBackground": "___SBackground_12eho_gg_",
37
+ "__SBarAnnotation": "___SBarAnnotation_12eho_gg_",
38
+ "__SBarLabel": "___SBarLabel_12eho_gg_",
39
+ "__SBarPercent": "___SBarPercent_12eho_gg_",
40
+ "__SBarValue": "___SBarValue_12eho_gg_",
41
+ "__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_12eho_gg_"
42
42
  });
43
43
  import canUseDOM from 'intergalactic/utils/lib/canUseDOM';
44
44
  import { Box } from 'intergalactic/flex-box';
@@ -23,15 +23,15 @@ import { getChartDefaultColorName } from './utils';
23
23
  import Tooltip from './Tooltip';
24
24
  import { PatternFill } from './Pattern';
25
25
  /*__reshadow-styles__:"./style/donut.shadow.css"*/
26
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_wtxwq_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_wtxwq_gg_.__color_wtxwq_gg_{fill:var(--color_wtxwq)}.___SPie_wtxwq_gg_.__pattern_wtxwq_gg_.__color_wtxwq_gg_{fill:var(--pattern_wtxwq);stroke:var(--color_wtxwq);stroke-width:1px}.___SPie_wtxwq_gg_.__transparent_wtxwq_gg_{opacity:.3}.___SEmptyData_wtxwq_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_wtxwq_gg_.__color_wtxwq_gg_{fill:var(--color_wtxwq)}.___SLabel_wtxwq_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "wtxwq_gg_") /*__reshadow_css_end__*/, {
27
- "__SPie": "___SPie_wtxwq_gg_",
28
- "_color": "__color_wtxwq_gg_",
29
- "--color": "--color_wtxwq",
30
- "_pattern": "__pattern_wtxwq_gg_",
31
- "--pattern": "--pattern_wtxwq",
32
- "_transparent": "__transparent_wtxwq_gg_",
33
- "__SEmptyData": "___SEmptyData_wtxwq_gg_",
34
- "__SLabel": "___SLabel_wtxwq_gg_"
26
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_1en1k_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_1en1k_gg_.__color_1en1k_gg_{fill:var(--color_1en1k)}.___SPie_1en1k_gg_.__pattern_1en1k_gg_.__color_1en1k_gg_{fill:var(--pattern_1en1k);stroke:var(--color_1en1k);stroke-width:1px}.___SPie_1en1k_gg_.__transparent_1en1k_gg_{opacity:.3}.___SEmptyData_1en1k_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_1en1k_gg_.__color_1en1k_gg_{fill:var(--color_1en1k)}.___SLabel_1en1k_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "1en1k_gg_") /*__reshadow_css_end__*/, {
27
+ "__SPie": "___SPie_1en1k_gg_",
28
+ "_color": "__color_1en1k_gg_",
29
+ "--color": "--color_1en1k",
30
+ "_pattern": "__pattern_1en1k_gg_",
31
+ "--pattern": "--pattern_1en1k",
32
+ "_transparent": "__transparent_1en1k_gg_",
33
+ "__SEmptyData": "___SEmptyData_1en1k_gg_",
34
+ "__SLabel": "___SLabel_1en1k_gg_"
35
35
  });
36
36
  var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
37
37
  function transitionAnglePie(_ref6) {
@@ -7,14 +7,14 @@ import trottle from 'intergalactic/utils/lib/rafTrottle';
7
7
  import createElement from './createElement';
8
8
  import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
9
9
  /*__reshadow-styles__:"./style/dot.shadow.css"*/
10
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_11n48_gg_ .___SDot_11n48_gg_{transition-duration:var(--duration_11n48)}.___SDot_11n48_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_11n48_gg_.__hide_11n48_gg_{display:none}.___SDot_11n48_gg_.__color_11n48_gg_{fill:var(--color_11n48)}.___SDot_11n48_gg_.__transparent_11n48_gg_{opacity:.3}" /*__inner_css_end__*/, "11n48_gg_") /*__reshadow_css_end__*/, {
11
- "__SDot": "___SDot_11n48_gg_",
12
- "_hide": "__hide_11n48_gg_",
13
- "_color": "__color_11n48_gg_",
14
- "--color": "--color_11n48",
15
- "_transparent": "__transparent_11n48_gg_",
16
- "__SDots": "___SDots_11n48_gg_",
17
- "--duration": "--duration_11n48"
10
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_fdq21_gg_ .___SDot_fdq21_gg_{transition-duration:var(--duration_fdq21)}.___SDot_fdq21_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_fdq21_gg_.__hide_fdq21_gg_{display:none}.___SDot_fdq21_gg_.__color_fdq21_gg_{fill:var(--color_fdq21)}.___SDot_fdq21_gg_.__transparent_fdq21_gg_{opacity:.3}" /*__inner_css_end__*/, "fdq21_gg_") /*__reshadow_css_end__*/, {
11
+ "__SDot": "___SDot_fdq21_gg_",
12
+ "_hide": "__hide_fdq21_gg_",
13
+ "_color": "__color_fdq21_gg_",
14
+ "--color": "--color_fdq21",
15
+ "_transparent": "__transparent_fdq21_gg_",
16
+ "__SDots": "___SDots_fdq21_gg_",
17
+ "--duration": "--duration_fdq21"
18
18
  });
19
19
  import { PatternSymbol, getPatternSymbolSize } from './Pattern';
20
20
  var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
@@ -13,22 +13,22 @@ import AnimatedClipPath from './AnimatedClipPath';
13
13
  import { scaleToBand, roundedPath } from './utils';
14
14
  import { PatternFill } from './Pattern';
15
15
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
16
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_rcwo4_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_rcwo4);transition-timing-function:ease-in-out}.___SBar_rcwo4_gg_.__color_rcwo4_gg_{fill:var(--color_rcwo4)}.___SBar_rcwo4_gg_.__pattern_rcwo4_gg_.__color_rcwo4_gg_{fill:var(--pattern_rcwo4);stroke:var(--color_rcwo4);stroke-width:1px}.___SBar_rcwo4_gg_.__hide_rcwo4_gg_{display:none}.___SBar_rcwo4_gg_.__transparent_rcwo4_gg_{opacity:.3}.___SBackground_rcwo4_gg_.__onClick_rcwo4_gg_,.___SBar_rcwo4_gg_.__onClick_rcwo4_gg_{cursor:pointer}.___SBackground_rcwo4_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_rcwo4_gg_{display:flex;justify-content:space-between}.___SBarLabel_rcwo4_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_rcwo4_gg_,.___SBarPercent_rcwo4_gg_,.___SBarValue_rcwo4_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_rcwo4_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_rcwo4_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_rcwo4_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "rcwo4_gg_") /*__reshadow_css_end__*/, {
17
- "__SBar": "___SBar_rcwo4_gg_",
18
- "--duration": "--duration_rcwo4",
19
- "_color": "__color_rcwo4_gg_",
20
- "--color": "--color_rcwo4",
21
- "_pattern": "__pattern_rcwo4_gg_",
22
- "--pattern": "--pattern_rcwo4",
23
- "_hide": "__hide_rcwo4_gg_",
24
- "_transparent": "__transparent_rcwo4_gg_",
25
- "_onClick": "__onClick_rcwo4_gg_",
26
- "__SBackground": "___SBackground_rcwo4_gg_",
27
- "__SBarAnnotation": "___SBarAnnotation_rcwo4_gg_",
28
- "__SBarLabel": "___SBarLabel_rcwo4_gg_",
29
- "__SBarPercent": "___SBarPercent_rcwo4_gg_",
30
- "__SBarValue": "___SBarValue_rcwo4_gg_",
31
- "__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_rcwo4_gg_"
16
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_12eho_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_12eho);transition-timing-function:ease-in-out}.___SBar_12eho_gg_.__color_12eho_gg_{fill:var(--color_12eho)}.___SBar_12eho_gg_.__pattern_12eho_gg_.__color_12eho_gg_{fill:var(--pattern_12eho);stroke:var(--color_12eho);stroke-width:1px}.___SBar_12eho_gg_.__hide_12eho_gg_{display:none}.___SBar_12eho_gg_.__transparent_12eho_gg_{opacity:.3}.___SBackground_12eho_gg_.__onClick_12eho_gg_,.___SBar_12eho_gg_.__onClick_12eho_gg_{cursor:pointer}.___SBackground_12eho_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_12eho_gg_{display:flex;justify-content:space-between}.___SBarLabel_12eho_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_12eho_gg_,.___SBarPercent_12eho_gg_,.___SBarValue_12eho_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_12eho_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_12eho_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_12eho_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "12eho_gg_") /*__reshadow_css_end__*/, {
17
+ "__SBar": "___SBar_12eho_gg_",
18
+ "--duration": "--duration_12eho",
19
+ "_color": "__color_12eho_gg_",
20
+ "--color": "--color_12eho",
21
+ "_pattern": "__pattern_12eho_gg_",
22
+ "--pattern": "--pattern_12eho",
23
+ "_hide": "__hide_12eho_gg_",
24
+ "_transparent": "__transparent_12eho_gg_",
25
+ "_onClick": "__onClick_12eho_gg_",
26
+ "__SBackground": "___SBackground_12eho_gg_",
27
+ "__SBarAnnotation": "___SBarAnnotation_12eho_gg_",
28
+ "__SBarLabel": "___SBarLabel_12eho_gg_",
29
+ "__SBarPercent": "___SBarPercent_12eho_gg_",
30
+ "__SBarValue": "___SBarValue_12eho_gg_",
31
+ "__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_12eho_gg_"
32
32
  });
33
33
  export var MIN_WIDTH = 2;
34
34
  var calcPartBarX = function calcPartBarX(x, minWidth, width) {
@@ -16,9 +16,9 @@ import trottle from 'intergalactic/utils/lib/rafTrottle';
16
16
  import createElement from './createElement';
17
17
  import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
18
18
  /*__reshadow-styles__:"./style/hover.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_tv5k7_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_tv5k7_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "tv5k7_gg_") /*__reshadow_css_end__*/, {
20
- "__SHoverLine": "___SHoverLine_tv5k7_gg_",
21
- "__SHoverRect": "___SHoverRect_tv5k7_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_rxz6v_gg_{outline:0;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_rxz6v_gg_{outline:0;fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "rxz6v_gg_") /*__reshadow_css_end__*/, {
20
+ "__SHoverLine": "___SHoverLine_rxz6v_gg_",
21
+ "__SHoverRect": "___SHoverRect_rxz6v_gg_"
22
22
  });
23
23
  import Tooltip from './Tooltip';
24
24
  var Hover = /*#__PURE__*/function (_Component) {