@semcore/d3-chart 16.0.2-prerelease.4 → 16.0.3-prerelease.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (453) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -50
  3. package/lib/cjs/AnimatedClipPath.js +13 -13
  4. package/lib/cjs/AnimatedClipPath.js.map +1 -1
  5. package/lib/cjs/Area.js +29 -27
  6. package/lib/cjs/Area.js.map +1 -1
  7. package/lib/cjs/Axis.js +97 -101
  8. package/lib/cjs/Axis.js.map +1 -1
  9. package/lib/cjs/Bar.js +31 -32
  10. package/lib/cjs/Bar.js.map +1 -1
  11. package/lib/cjs/Bubble.js +26 -27
  12. package/lib/cjs/Bubble.js.map +1 -1
  13. package/lib/cjs/CompactHorizontalBar.js +65 -68
  14. package/lib/cjs/CompactHorizontalBar.js.map +1 -1
  15. package/lib/cjs/Donut.js +94 -95
  16. package/lib/cjs/Donut.js.map +1 -1
  17. package/lib/cjs/Dots.js +36 -34
  18. package/lib/cjs/Dots.js.map +1 -1
  19. package/lib/cjs/GroupBar.js +16 -16
  20. package/lib/cjs/GroupBar.js.map +1 -1
  21. package/lib/cjs/HorizontalBar.js +30 -31
  22. package/lib/cjs/HorizontalBar.js.map +1 -1
  23. package/lib/cjs/Hover.js +27 -33
  24. package/lib/cjs/Hover.js.map +1 -1
  25. package/lib/cjs/Line.js +23 -23
  26. package/lib/cjs/Line.js.map +1 -1
  27. package/lib/cjs/Pattern.js +13 -11
  28. package/lib/cjs/Pattern.js.map +1 -1
  29. package/lib/cjs/Plot.js +26 -27
  30. package/lib/cjs/Plot.js.map +1 -1
  31. package/lib/cjs/Radar.js +125 -132
  32. package/lib/cjs/Radar.js.map +1 -1
  33. package/lib/cjs/RadialTree.js +164 -145
  34. package/lib/cjs/RadialTree.js.map +1 -1
  35. package/lib/cjs/Reference.js +47 -49
  36. package/lib/cjs/Reference.js.map +1 -1
  37. package/lib/cjs/ResponsiveContainer.js +19 -20
  38. package/lib/cjs/ResponsiveContainer.js.map +1 -1
  39. package/lib/cjs/ScatterPlot.js +24 -25
  40. package/lib/cjs/ScatterPlot.js.map +1 -1
  41. package/lib/cjs/StackBar.js +20 -23
  42. package/lib/cjs/StackBar.js.map +1 -1
  43. package/lib/cjs/StackedArea.js +14 -15
  44. package/lib/cjs/StackedArea.js.map +1 -1
  45. package/lib/cjs/Tooltip.js +34 -35
  46. package/lib/cjs/Tooltip.js.map +1 -1
  47. package/lib/cjs/Venn.js +28 -29
  48. package/lib/cjs/Venn.js.map +1 -1
  49. package/lib/cjs/a11y/DataAccessibilityTable.js +2 -3
  50. package/lib/cjs/a11y/DataAccessibilityTable.js.map +1 -1
  51. package/lib/cjs/a11y/PlotA11yModule.js +11 -12
  52. package/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
  53. package/lib/cjs/a11y/PlotA11yView.js +10 -11
  54. package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  55. package/lib/cjs/a11y/bezier.js +1 -2
  56. package/lib/cjs/a11y/bezier.js.map +1 -1
  57. package/lib/cjs/a11y/focus.js +4 -5
  58. package/lib/cjs/a11y/focus.js.map +1 -1
  59. package/lib/cjs/a11y/hints.js +5 -8
  60. package/lib/cjs/a11y/hints.js.map +1 -1
  61. package/lib/cjs/a11y/insights.js +63 -64
  62. package/lib/cjs/a11y/insights.js.map +1 -1
  63. package/lib/cjs/a11y/intl.js +1 -2
  64. package/lib/cjs/a11y/intl.js.map +1 -1
  65. package/lib/cjs/a11y/locale.js +4 -5
  66. package/lib/cjs/a11y/locale.js.map +1 -1
  67. package/lib/cjs/a11y/serialize.js +15 -17
  68. package/lib/cjs/a11y/serialize.js.map +1 -1
  69. package/lib/cjs/a11y/summarize.js +1 -2
  70. package/lib/cjs/a11y/summarize.js.map +1 -1
  71. package/lib/cjs/a11y/translations/module/__intergalactic-dynamic-locales.js +4 -5
  72. package/lib/cjs/a11y/translations/module/__intergalactic-dynamic-locales.js.map +1 -1
  73. package/lib/cjs/a11y/translations/view/__intergalactic-dynamic-locales.js +4 -5
  74. package/lib/cjs/a11y/translations/view/__intergalactic-dynamic-locales.js.map +1 -1
  75. package/lib/cjs/color.js +2 -3
  76. package/lib/cjs/color.js.map +1 -1
  77. package/lib/cjs/component/Chart/AbstractChart.js +43 -46
  78. package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
  79. package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
  80. package/lib/cjs/component/Chart/AreaChart.js +17 -20
  81. package/lib/cjs/component/Chart/AreaChart.js.map +1 -1
  82. package/lib/cjs/component/Chart/AreaChart.type.js.map +1 -1
  83. package/lib/cjs/component/Chart/BarChart.js +17 -21
  84. package/lib/cjs/component/Chart/BarChart.js.map +1 -1
  85. package/lib/cjs/component/Chart/BarChart.type.js.map +1 -1
  86. package/lib/cjs/component/Chart/BubbleChart.js +18 -19
  87. package/lib/cjs/component/Chart/BubbleChart.js.map +1 -1
  88. package/lib/cjs/component/Chart/BubbleChart.type.js.map +1 -1
  89. package/lib/cjs/component/Chart/CigaretteChart.js +19 -23
  90. package/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
  91. package/lib/cjs/component/Chart/CigaretteChart.type.js.map +1 -1
  92. package/lib/cjs/component/Chart/CompactHorizontalBarChart.js +13 -14
  93. package/lib/cjs/component/Chart/CompactHorizontalBarChart.js.map +1 -1
  94. package/lib/cjs/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
  95. package/lib/cjs/component/Chart/DonutChart.js +13 -14
  96. package/lib/cjs/component/Chart/DonutChart.js.map +1 -1
  97. package/lib/cjs/component/Chart/DonutChart.type.js.map +1 -1
  98. package/lib/cjs/component/Chart/HistogramChart.js +15 -16
  99. package/lib/cjs/component/Chart/HistogramChart.js.map +1 -1
  100. package/lib/cjs/component/Chart/HistogramChart.type.js.map +1 -1
  101. package/lib/cjs/component/Chart/LineChart.js +17 -18
  102. package/lib/cjs/component/Chart/LineChart.js.map +1 -1
  103. package/lib/cjs/component/Chart/LineChart.type.js.map +1 -1
  104. package/lib/cjs/component/Chart/RadarChart.js +14 -17
  105. package/lib/cjs/component/Chart/RadarChart.js.map +1 -1
  106. package/lib/cjs/component/Chart/RadarChart.type.js.map +1 -1
  107. package/lib/cjs/component/Chart/ScatterPlotChart.js +14 -15
  108. package/lib/cjs/component/Chart/ScatterPlotChart.js.map +1 -1
  109. package/lib/cjs/component/Chart/ScatterPlotChart.type.js.map +1 -1
  110. package/lib/cjs/component/Chart/VennChart.js +12 -13
  111. package/lib/cjs/component/Chart/VennChart.js.map +1 -1
  112. package/lib/cjs/component/Chart/VennChart.type.js.map +1 -1
  113. package/lib/cjs/component/Chart/index.js +7 -8
  114. package/lib/cjs/component/Chart/index.js.map +1 -1
  115. package/lib/cjs/component/ChartLegend/BaseLegend.js +42 -20
  116. package/lib/cjs/component/ChartLegend/BaseLegend.js.map +1 -1
  117. package/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -1
  118. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +20 -20
  119. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  120. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
  121. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +79 -67
  122. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  123. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js +1 -2
  124. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  125. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +18 -18
  126. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  127. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
  128. package/lib/cjs/component/ChartLegend/index.js +1 -2
  129. package/lib/cjs/component/ChartLegend/index.js.map +1 -1
  130. package/lib/cjs/component/Cigarette/Cigarette.js +18 -19
  131. package/lib/cjs/component/Cigarette/Cigarette.js.map +1 -1
  132. package/lib/cjs/component/StackGroupBar/StackGroupBar.js +22 -26
  133. package/lib/cjs/component/StackGroupBar/StackGroupBar.js.map +1 -1
  134. package/lib/cjs/component/StackGroupBar/StackGroupBar.type.js.map +1 -1
  135. package/lib/cjs/component/SvgElement.js +21 -0
  136. package/lib/cjs/component/SvgElement.js.map +1 -0
  137. package/lib/cjs/createElement.d.js.map +1 -1
  138. package/lib/cjs/createElement.js +7 -8
  139. package/lib/cjs/createElement.js.map +1 -1
  140. package/lib/cjs/index.js +9 -2
  141. package/lib/cjs/index.js.map +1 -1
  142. package/lib/cjs/translations/__intergalactic-dynamic-locales.js +4 -5
  143. package/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -1
  144. package/lib/cjs/types/Area.d.js.map +1 -1
  145. package/lib/cjs/types/Axis.d.js.map +1 -1
  146. package/lib/cjs/types/Bar.d.js.map +1 -1
  147. package/lib/cjs/types/Bubble.d.js.map +1 -1
  148. package/lib/cjs/types/ClipPath.d.js.map +1 -1
  149. package/lib/cjs/types/CompactHorizontalBar.d.js.map +1 -1
  150. package/lib/cjs/types/Donut.d.js.map +1 -1
  151. package/lib/cjs/types/GroupBar.d.js.map +1 -1
  152. package/lib/cjs/types/HorizontalBar.d.js.map +1 -1
  153. package/lib/cjs/types/Hover.d.js.map +1 -1
  154. package/lib/cjs/types/Line.d.js.map +1 -1
  155. package/lib/cjs/types/Plot.d.js.map +1 -1
  156. package/lib/cjs/types/Radar.d.js.map +1 -1
  157. package/lib/cjs/types/Reference.d.js.map +1 -1
  158. package/lib/cjs/types/ResponsiveContainer.d.js.map +1 -1
  159. package/lib/cjs/types/ScatterPlot.d.js.map +1 -1
  160. package/lib/cjs/types/StackBar.d.js.map +1 -1
  161. package/lib/cjs/types/StackedArea.d.js.map +1 -1
  162. package/lib/cjs/types/Tooltip.d.js.map +1 -1
  163. package/lib/cjs/types/Venn.d.js.map +1 -1
  164. package/lib/cjs/types/context.d.js.map +1 -1
  165. package/lib/cjs/types/index.d.js +2 -2
  166. package/lib/cjs/types/index.d.js.map +1 -1
  167. package/lib/cjs/utils.js +31 -52
  168. package/lib/cjs/utils.js.map +1 -1
  169. package/lib/es6/AnimatedClipPath.js +11 -10
  170. package/lib/es6/AnimatedClipPath.js.map +1 -1
  171. package/lib/es6/Area.js +27 -24
  172. package/lib/es6/Area.js.map +1 -1
  173. package/lib/es6/Axis.js +96 -98
  174. package/lib/es6/Axis.js.map +1 -1
  175. package/lib/es6/Bar.js +28 -27
  176. package/lib/es6/Bar.js.map +1 -1
  177. package/lib/es6/Bubble.js +24 -24
  178. package/lib/es6/Bubble.js.map +1 -1
  179. package/lib/es6/CompactHorizontalBar.js +63 -65
  180. package/lib/es6/CompactHorizontalBar.js.map +1 -1
  181. package/lib/es6/Donut.js +92 -92
  182. package/lib/es6/Donut.js.map +1 -1
  183. package/lib/es6/Dots.js +36 -33
  184. package/lib/es6/Dots.js.map +1 -1
  185. package/lib/es6/GroupBar.js +14 -13
  186. package/lib/es6/GroupBar.js.map +1 -1
  187. package/lib/es6/HorizontalBar.js +27 -26
  188. package/lib/es6/HorizontalBar.js.map +1 -1
  189. package/lib/es6/Hover.js +24 -28
  190. package/lib/es6/Hover.js.map +1 -1
  191. package/lib/es6/Line.js +20 -19
  192. package/lib/es6/Line.js.map +1 -1
  193. package/lib/es6/Pattern.js +4 -2
  194. package/lib/es6/Pattern.js.map +1 -1
  195. package/lib/es6/Plot.js +25 -25
  196. package/lib/es6/Plot.js.map +1 -1
  197. package/lib/es6/Radar.js +122 -128
  198. package/lib/es6/Radar.js.map +1 -1
  199. package/lib/es6/RadialTree.js +162 -142
  200. package/lib/es6/RadialTree.js.map +1 -1
  201. package/lib/es6/Reference.js +44 -43
  202. package/lib/es6/Reference.js.map +1 -1
  203. package/lib/es6/ResponsiveContainer.js +17 -17
  204. package/lib/es6/ResponsiveContainer.js.map +1 -1
  205. package/lib/es6/ScatterPlot.js +22 -22
  206. package/lib/es6/ScatterPlot.js.map +1 -1
  207. package/lib/es6/StackBar.js +17 -19
  208. package/lib/es6/StackBar.js.map +1 -1
  209. package/lib/es6/StackedArea.js +12 -12
  210. package/lib/es6/StackedArea.js.map +1 -1
  211. package/lib/es6/Tooltip.js +33 -33
  212. package/lib/es6/Tooltip.js.map +1 -1
  213. package/lib/es6/Venn.js +26 -26
  214. package/lib/es6/Venn.js.map +1 -1
  215. package/lib/es6/a11y/DataAccessibilityTable.js.map +1 -1
  216. package/lib/es6/a11y/PlotA11yModule.js +11 -11
  217. package/lib/es6/a11y/PlotA11yModule.js.map +1 -1
  218. package/lib/es6/a11y/PlotA11yView.js +9 -9
  219. package/lib/es6/a11y/PlotA11yView.js.map +1 -1
  220. package/lib/es6/a11y/bezier.js.map +1 -1
  221. package/lib/es6/a11y/focus.js +3 -3
  222. package/lib/es6/a11y/focus.js.map +1 -1
  223. package/lib/es6/a11y/hints.js +1 -1
  224. package/lib/es6/a11y/hints.js.map +1 -1
  225. package/lib/es6/a11y/insights.js +61 -61
  226. package/lib/es6/a11y/insights.js.map +1 -1
  227. package/lib/es6/a11y/intl.js.map +1 -1
  228. package/lib/es6/a11y/locale.js +2 -2
  229. package/lib/es6/a11y/locale.js.map +1 -1
  230. package/lib/es6/a11y/serialize.js +14 -13
  231. package/lib/es6/a11y/serialize.js.map +1 -1
  232. package/lib/es6/a11y/summarize.js.map +1 -1
  233. package/lib/es6/a11y/translations/module/__intergalactic-dynamic-locales.js +2 -2
  234. package/lib/es6/a11y/translations/module/__intergalactic-dynamic-locales.js.map +1 -1
  235. package/lib/es6/a11y/translations/view/__intergalactic-dynamic-locales.js +2 -2
  236. package/lib/es6/a11y/translations/view/__intergalactic-dynamic-locales.js.map +1 -1
  237. package/lib/es6/color.js +1 -1
  238. package/lib/es6/color.js.map +1 -1
  239. package/lib/es6/component/Chart/AbstractChart.js +40 -41
  240. package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
  241. package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
  242. package/lib/es6/component/Chart/AreaChart.js +16 -16
  243. package/lib/es6/component/Chart/AreaChart.js.map +1 -1
  244. package/lib/es6/component/Chart/AreaChart.type.js.map +1 -1
  245. package/lib/es6/component/Chart/BarChart.js +15 -17
  246. package/lib/es6/component/Chart/BarChart.js.map +1 -1
  247. package/lib/es6/component/Chart/BarChart.type.js.map +1 -1
  248. package/lib/es6/component/Chart/BubbleChart.js +17 -15
  249. package/lib/es6/component/Chart/BubbleChart.js.map +1 -1
  250. package/lib/es6/component/Chart/BubbleChart.type.js.map +1 -1
  251. package/lib/es6/component/Chart/CigaretteChart.js +17 -17
  252. package/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
  253. package/lib/es6/component/Chart/CigaretteChart.type.js.map +1 -1
  254. package/lib/es6/component/Chart/CompactHorizontalBarChart.js +11 -10
  255. package/lib/es6/component/Chart/CompactHorizontalBarChart.js.map +1 -1
  256. package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
  257. package/lib/es6/component/Chart/DonutChart.js +12 -10
  258. package/lib/es6/component/Chart/DonutChart.js.map +1 -1
  259. package/lib/es6/component/Chart/DonutChart.type.js.map +1 -1
  260. package/lib/es6/component/Chart/HistogramChart.js +14 -12
  261. package/lib/es6/component/Chart/HistogramChart.js.map +1 -1
  262. package/lib/es6/component/Chart/HistogramChart.type.js.map +1 -1
  263. package/lib/es6/component/Chart/LineChart.js +15 -14
  264. package/lib/es6/component/Chart/LineChart.js.map +1 -1
  265. package/lib/es6/component/Chart/LineChart.type.js.map +1 -1
  266. package/lib/es6/component/Chart/RadarChart.js +12 -13
  267. package/lib/es6/component/Chart/RadarChart.js.map +1 -1
  268. package/lib/es6/component/Chart/RadarChart.type.js.map +1 -1
  269. package/lib/es6/component/Chart/ScatterPlotChart.js +13 -11
  270. package/lib/es6/component/Chart/ScatterPlotChart.js.map +1 -1
  271. package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +1 -1
  272. package/lib/es6/component/Chart/VennChart.js +10 -9
  273. package/lib/es6/component/Chart/VennChart.js.map +1 -1
  274. package/lib/es6/component/Chart/VennChart.type.js.map +1 -1
  275. package/lib/es6/component/Chart/index.js +6 -6
  276. package/lib/es6/component/Chart/index.js.map +1 -1
  277. package/lib/es6/component/ChartLegend/BaseLegend.js +40 -17
  278. package/lib/es6/component/ChartLegend/BaseLegend.js.map +1 -1
  279. package/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -1
  280. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +18 -17
  281. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  282. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
  283. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +77 -64
  284. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  285. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  286. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +16 -15
  287. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  288. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
  289. package/lib/es6/component/ChartLegend/index.js.map +1 -1
  290. package/lib/es6/component/Cigarette/Cigarette.js +16 -16
  291. package/lib/es6/component/Cigarette/Cigarette.js.map +1 -1
  292. package/lib/es6/component/StackGroupBar/StackGroupBar.js +20 -21
  293. package/lib/es6/component/StackGroupBar/StackGroupBar.js.map +1 -1
  294. package/lib/es6/component/StackGroupBar/StackGroupBar.type.js.map +1 -1
  295. package/lib/es6/component/SvgElement.js +14 -0
  296. package/lib/es6/component/SvgElement.js.map +1 -0
  297. package/lib/es6/createElement.d.js.map +1 -1
  298. package/lib/es6/createElement.js +5 -5
  299. package/lib/es6/createElement.js.map +1 -1
  300. package/lib/es6/index.js +1 -0
  301. package/lib/es6/index.js.map +1 -1
  302. package/lib/es6/translations/__intergalactic-dynamic-locales.js +2 -2
  303. package/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -1
  304. package/lib/es6/types/Area.d.js.map +1 -1
  305. package/lib/es6/types/Axis.d.js.map +1 -1
  306. package/lib/es6/types/Bar.d.js.map +1 -1
  307. package/lib/es6/types/Bubble.d.js.map +1 -1
  308. package/lib/es6/types/ClipPath.d.js.map +1 -1
  309. package/lib/es6/types/CompactHorizontalBar.d.js.map +1 -1
  310. package/lib/es6/types/Donut.d.js.map +1 -1
  311. package/lib/es6/types/GroupBar.d.js.map +1 -1
  312. package/lib/es6/types/HorizontalBar.d.js.map +1 -1
  313. package/lib/es6/types/Hover.d.js.map +1 -1
  314. package/lib/es6/types/Line.d.js.map +1 -1
  315. package/lib/es6/types/Plot.d.js.map +1 -1
  316. package/lib/es6/types/Radar.d.js.map +1 -1
  317. package/lib/es6/types/Reference.d.js.map +1 -1
  318. package/lib/es6/types/ResponsiveContainer.d.js.map +1 -1
  319. package/lib/es6/types/ScatterPlot.d.js.map +1 -1
  320. package/lib/es6/types/StackBar.d.js.map +1 -1
  321. package/lib/es6/types/StackedArea.d.js.map +1 -1
  322. package/lib/es6/types/Tooltip.d.js.map +1 -1
  323. package/lib/es6/types/Venn.d.js.map +1 -1
  324. package/lib/es6/types/context.d.js.map +1 -1
  325. package/lib/es6/types/index.d.js +1 -0
  326. package/lib/es6/types/index.d.js.map +1 -1
  327. package/lib/es6/utils.js +11 -13
  328. package/lib/es6/utils.js.map +1 -1
  329. package/lib/esm/AnimatedClipPath.mjs +10 -7
  330. package/lib/esm/Area.mjs +30 -25
  331. package/lib/esm/Axis.mjs +67 -67
  332. package/lib/esm/Bar.mjs +31 -28
  333. package/lib/esm/Bubble.mjs +28 -26
  334. package/lib/esm/CompactHorizontalBar.mjs +61 -60
  335. package/lib/esm/Donut.mjs +50 -49
  336. package/lib/esm/Dots.mjs +32 -27
  337. package/lib/esm/GroupBar.mjs +14 -11
  338. package/lib/esm/HorizontalBar.mjs +30 -27
  339. package/lib/esm/Hover.mjs +28 -30
  340. package/lib/esm/Line.mjs +23 -20
  341. package/lib/esm/Pattern.mjs +1 -1
  342. package/lib/esm/Plot.mjs +27 -25
  343. package/lib/esm/Radar.mjs +90 -94
  344. package/lib/esm/RadialTree.mjs +86 -86
  345. package/lib/esm/Reference.mjs +34 -31
  346. package/lib/esm/ResponsiveContainer.mjs +19 -17
  347. package/lib/esm/ScatterPlot.mjs +26 -24
  348. package/lib/esm/StackBar.mjs +17 -17
  349. package/lib/esm/StackedArea.mjs +13 -11
  350. package/lib/esm/Tooltip.mjs +35 -33
  351. package/lib/esm/Venn.mjs +29 -27
  352. package/lib/esm/a11y/DataAccessibilityTable.mjs +2 -2
  353. package/lib/esm/a11y/PlotA11yModule.mjs +8 -8
  354. package/lib/esm/a11y/PlotA11yView.mjs +9 -9
  355. package/lib/esm/a11y/focus.mjs +3 -3
  356. package/lib/esm/a11y/hints.mjs +1 -1
  357. package/lib/esm/a11y/insights.mjs +77 -78
  358. package/lib/esm/a11y/intl.mjs +1 -1
  359. package/lib/esm/a11y/locale.mjs +2 -2
  360. package/lib/esm/a11y/serialize.mjs +12 -12
  361. package/lib/esm/a11y/translations/module/__intergalactic-dynamic-locales.mjs +2 -2
  362. package/lib/esm/a11y/translations/view/__intergalactic-dynamic-locales.mjs +2 -2
  363. package/lib/esm/component/Chart/AbstractChart.mjs +38 -37
  364. package/lib/esm/component/Chart/AreaChart.mjs +19 -15
  365. package/lib/esm/component/Chart/BarChart.mjs +20 -17
  366. package/lib/esm/component/Chart/BubbleChart.mjs +16 -13
  367. package/lib/esm/component/Chart/CigaretteChart.mjs +24 -17
  368. package/lib/esm/component/Chart/CompactHorizontalBarChart.mjs +18 -10
  369. package/lib/esm/component/Chart/DonutChart.mjs +13 -10
  370. package/lib/esm/component/Chart/HistogramChart.mjs +18 -12
  371. package/lib/esm/component/Chart/LineChart.mjs +18 -12
  372. package/lib/esm/component/Chart/RadarChart.mjs +19 -12
  373. package/lib/esm/component/Chart/ScatterPlotChart.mjs +14 -11
  374. package/lib/esm/component/Chart/VennChart.mjs +12 -9
  375. package/lib/esm/component/Chart/index.mjs +6 -6
  376. package/lib/esm/component/ChartLegend/BaseLegend.mjs +42 -17
  377. package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +21 -18
  378. package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +67 -56
  379. package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +23 -20
  380. package/lib/esm/component/Cigarette/Cigarette.mjs +18 -16
  381. package/lib/esm/component/StackGroupBar/StackGroupBar.mjs +20 -19
  382. package/lib/esm/component/SvgElement.mjs +14 -0
  383. package/lib/esm/createElement.mjs +5 -5
  384. package/lib/esm/index.mjs +2 -0
  385. package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +2 -2
  386. package/lib/esm/utils.mjs +8 -8
  387. package/lib/types/Area.d.ts +7 -6
  388. package/lib/types/Axis.d.ts +4 -3
  389. package/lib/types/Bar.d.ts +7 -6
  390. package/lib/types/Bubble.d.ts +6 -5
  391. package/lib/types/ClipPath.d.ts +4 -3
  392. package/lib/types/CompactHorizontalBar.d.ts +7 -8
  393. package/lib/types/Donut.d.ts +6 -5
  394. package/lib/types/GroupBar.d.ts +6 -6
  395. package/lib/types/HorizontalBar.d.ts +7 -6
  396. package/lib/types/Hover.d.ts +8 -8
  397. package/lib/types/Line.d.ts +7 -6
  398. package/lib/types/Pattern.d.ts +51 -51
  399. package/lib/types/Plot.d.ts +10 -9
  400. package/lib/types/Radar.d.ts +8 -7
  401. package/lib/types/RadialTree.d.ts +9 -54
  402. package/lib/types/Reference.d.ts +5 -4
  403. package/lib/types/ResponsiveContainer.d.ts +5 -4
  404. package/lib/types/ScatterPlot.d.ts +6 -5
  405. package/lib/types/StackBar.d.ts +7 -6
  406. package/lib/types/StackedArea.d.ts +6 -5
  407. package/lib/types/Tooltip.d.ts +14 -12
  408. package/lib/types/Venn.d.ts +7 -6
  409. package/lib/types/a11y/DataAccessibilityTable.d.ts +2 -2
  410. package/lib/types/a11y/PlotA11yModule.d.ts +1 -1
  411. package/lib/types/a11y/hints.d.ts +5 -5
  412. package/lib/types/a11y/insights.d.ts +1 -1
  413. package/lib/types/a11y/intl.d.ts +1 -1
  414. package/lib/types/a11y/serialize.d.ts +7 -7
  415. package/lib/types/a11y/summarize.d.ts +2 -2
  416. package/lib/types/component/Chart/AbstractChart.d.ts +6 -6
  417. package/lib/types/component/Chart/AbstractChart.type.d.ts +27 -27
  418. package/lib/types/component/Chart/AreaChart.d.ts +1 -1
  419. package/lib/types/component/Chart/AreaChart.type.d.ts +6 -6
  420. package/lib/types/component/Chart/BarChart.d.ts +1 -1
  421. package/lib/types/component/Chart/BarChart.type.d.ts +6 -6
  422. package/lib/types/component/Chart/BubbleChart.d.ts +1 -1
  423. package/lib/types/component/Chart/BubbleChart.type.d.ts +4 -4
  424. package/lib/types/component/Chart/CigaretteChart.d.ts +1 -1
  425. package/lib/types/component/Chart/CigaretteChart.type.d.ts +4 -4
  426. package/lib/types/component/Chart/CompactHorizontalBarChart.d.ts +1 -1
  427. package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +5 -5
  428. package/lib/types/component/Chart/DonutChart.d.ts +1 -1
  429. package/lib/types/component/Chart/DonutChart.type.d.ts +5 -5
  430. package/lib/types/component/Chart/HistogramChart.d.ts +1 -1
  431. package/lib/types/component/Chart/HistogramChart.type.d.ts +4 -4
  432. package/lib/types/component/Chart/LineChart.d.ts +1 -1
  433. package/lib/types/component/Chart/LineChart.type.d.ts +7 -7
  434. package/lib/types/component/Chart/RadarChart.d.ts +1 -1
  435. package/lib/types/component/Chart/RadarChart.type.d.ts +4 -4
  436. package/lib/types/component/Chart/ScatterPlotChart.d.ts +1 -1
  437. package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +5 -5
  438. package/lib/types/component/Chart/VennChart.d.ts +1 -1
  439. package/lib/types/component/Chart/VennChart.type.d.ts +4 -4
  440. package/lib/types/component/ChartLegend/BaseLegend.d.ts +6 -4
  441. package/lib/types/component/ChartLegend/BaseLegend.type.d.ts +4 -5
  442. package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.d.ts +1 -1
  443. package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.type.d.ts +4 -5
  444. package/lib/types/component/ChartLegend/LegendItem/LegendItem.d.ts +1 -1
  445. package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +17 -10
  446. package/lib/types/component/ChartLegend/LegendTable/LegendTable.d.ts +1 -1
  447. package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +5 -5
  448. package/lib/types/component/StackGroupBar/StackGroupBar.d.ts +1 -1
  449. package/lib/types/component/StackGroupBar/StackGroupBar.type.d.ts +3 -4
  450. package/lib/types/component/SvgElement.d.ts +10 -0
  451. package/lib/types/index.d.ts +2 -1
  452. package/lib/types/utils.d.ts +6 -6
  453. package/package.json +22 -23
@@ -2,21 +2,25 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
4
4
  import _createClass from "@babel/runtime/helpers/esm/createClass";
5
+ import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
6
+ import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
7
+ import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
5
8
  import _inherits from "@babel/runtime/helpers/esm/inherits";
6
- import _createSuper from "@babel/runtime/helpers/esm/createSuper";
7
9
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
8
- import React from "react";
9
10
  import { createComponent, Component } from "@semcore/core";
10
11
  import propsForElement from "@semcore/core/lib/utils/propsForElement";
12
+ import React from "react";
11
13
  var _excluded = ["id", "transition", "tag", "style", "className"];
14
+ function _callSuper(t, o, e) {
15
+ return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
16
+ }
12
17
  var AnimatedClipPath = /* @__PURE__ */ function(_Component) {
13
- _inherits(AnimatedClipPath2, _Component);
14
- var _super = _createSuper(AnimatedClipPath2);
15
18
  function AnimatedClipPath2() {
16
19
  _classCallCheck(this, AnimatedClipPath2);
17
- return _super.apply(this, arguments);
20
+ return _callSuper(this, AnimatedClipPath2, arguments);
18
21
  }
19
- _createClass(AnimatedClipPath2, [{
22
+ _inherits(AnimatedClipPath2, _Component);
23
+ return _createClass(AnimatedClipPath2, [{
20
24
  key: "render",
21
25
  value: function render() {
22
26
  var _this$asProps = this.asProps, id = _this$asProps.id;
@@ -40,7 +44,6 @@ var AnimatedClipPath = /* @__PURE__ */ function(_Component) {
40
44
  }, propsForElement(other, Tag)))));
41
45
  }
42
46
  }]);
43
- return AnimatedClipPath2;
44
47
  }(Component);
45
48
  _defineProperty(AnimatedClipPath, "defaultProps", {
46
49
  tag: "rect",
package/lib/esm/Area.mjs CHANGED
@@ -1,49 +1,54 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
2
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/esm/createClass";
4
+ import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
5
+ import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
6
+ import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
4
7
  import _inherits from "@babel/runtime/helpers/esm/inherits";
5
- import _createSuper from "@babel/runtime/helpers/esm/createSuper";
6
8
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
7
9
  import { sstyled, Component } from "@semcore/core";
8
- import React from "react";
9
- import { area, line, curveLinear } from "d3-shape";
10
- import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
11
10
  import findComponent from "@semcore/core/lib/utils/findComponent";
12
- import Dots from "./Dots.mjs";
13
- import createElement from "./createElement.mjs";
14
- import { definedData, scaleOfBandwidth, interpolateValue, getNullData, definedNullData } from "./utils.mjs";
11
+ import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
12
+ import { line, area, curveLinear } from "d3-shape";
13
+ import React from "react";
15
14
  import AnimatedClipPath from "./AnimatedClipPath.mjs";
15
+ import { SvgElement } from "./component/SvgElement.mjs";
16
+ import createElement from "./createElement.mjs";
17
+ import Dots from "./Dots.mjs";
16
18
  import { PatternFill } from "./Pattern.mjs";
19
+ import { interpolateValue, getNullData, definedNullData, definedData, scaleOfBandwidth } from "./utils.mjs";
20
+ function _callSuper(t, o, e) {
21
+ return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
22
+ }
17
23
  /*!__reshadow-styles__:"./style/area.shadow.css"*/
18
24
  var style = (
19
25
  /*__reshadow_css_start__*/
20
26
  (sstyled.insert(
21
27
  /*__inner_css_start__*/
22
- ".___SArea_ba4bt_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_ba4bt_gg_.__color_ba4bt_gg_{fill:var(--color_ba4bt)}.___SArea_ba4bt_gg_.__pattern_ba4bt_gg_{fill:var(--pattern_ba4bt);fill-opacity:.7}.___SArea_ba4bt_gg_.__transparent_ba4bt_gg_{opacity:.3}.___SAreaLine_ba4bt_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_ba4bt_gg_.__color_ba4bt_gg_{stroke:var(--color_ba4bt)}.___SAreaLine_ba4bt_gg_.__transparent_ba4bt_gg_{opacity:.3}.___SAreaLine_ba4bt_gg_,.___SArea_ba4bt_gg_{transition-property:d;transition-duration:var(--duration_ba4bt);transition-timing-function:ease-in-out}.___SNull_ba4bt_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_ba4bt_gg_.__hide_ba4bt_gg_{display:none}",
28
+ ".___SArea_5x61l_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_5x61l_gg_.__color_5x61l_gg_{fill:var(--color_5x61l)}.___SArea_5x61l_gg_.__pattern_5x61l_gg_{fill:var(--pattern_5x61l);fill-opacity:.7}.___SArea_5x61l_gg_.__transparent_5x61l_gg_{opacity:.3}.___SAreaLine_5x61l_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_5x61l_gg_.__color_5x61l_gg_{stroke:var(--color_5x61l)}.___SAreaLine_5x61l_gg_.__transparent_5x61l_gg_{opacity:.3}.___SAreaLine_5x61l_gg_,.___SArea_5x61l_gg_{transition-property:d;transition-duration:var(--duration_5x61l);transition-timing-function:ease-in-out}.___SNull_5x61l_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_5x61l_gg_.__hide_5x61l_gg_{display:none}",
23
29
  /*__inner_css_end__*/
24
- "ba4bt_gg_"
30
+ "5x61l_gg_"
25
31
  ), /*__reshadow_css_end__*/
26
32
  {
27
- "__SArea": "___SArea_ba4bt_gg_",
28
- "_color": "__color_ba4bt_gg_",
29
- "--color": "--color_ba4bt",
30
- "_pattern": "__pattern_ba4bt_gg_",
31
- "--pattern": "--pattern_ba4bt",
32
- "_transparent": "__transparent_ba4bt_gg_",
33
- "__SAreaLine": "___SAreaLine_ba4bt_gg_",
34
- "--duration": "--duration_ba4bt",
35
- "__SNull": "___SNull_ba4bt_gg_",
36
- "_hide": "__hide_ba4bt_gg_"
33
+ "__SArea": "___SArea_5x61l_gg_",
34
+ "_color": "__color_5x61l_gg_",
35
+ "--color": "--color_5x61l",
36
+ "_pattern": "__pattern_5x61l_gg_",
37
+ "--pattern": "--pattern_5x61l",
38
+ "_transparent": "__transparent_5x61l_gg_",
39
+ "__SAreaLine": "___SAreaLine_5x61l_gg_",
40
+ "--duration": "--duration_5x61l",
41
+ "__SNull": "___SNull_5x61l_gg_",
42
+ "_hide": "__hide_5x61l_gg_"
37
43
  })
38
44
  );
39
45
  var AreaRoot = /* @__PURE__ */ function(_Component) {
40
- _inherits(AreaRoot2, _Component);
41
- var _super = _createSuper(AreaRoot2);
42
46
  function AreaRoot2() {
43
47
  _classCallCheck(this, AreaRoot2);
44
- return _super.apply(this, arguments);
48
+ return _callSuper(this, AreaRoot2, arguments);
45
49
  }
46
- _createClass(AreaRoot2, [{
50
+ _inherits(AreaRoot2, _Component);
51
+ return _createClass(AreaRoot2, [{
47
52
  key: "getDotsProps",
48
53
  value: function getDotsProps() {
49
54
  var _this$asProps = this.asProps, x = _this$asProps.x, y = _this$asProps.y, color = _this$asProps.color, d3Line = _this$asProps.d3Line, transparent = _this$asProps.transparent, resolveColor = _this$asProps.resolveColor, patterns = _this$asProps.patterns;
@@ -93,7 +98,7 @@ var AreaRoot = /* @__PURE__ */ function(_Component) {
93
98
  value: function render() {
94
99
  var _ref;
95
100
  var SArea = this.Element;
96
- var SAreaLine = "path";
101
+ var SAreaLine = SvgElement;
97
102
  var _this$asProps4 = this.asProps, styles = _this$asProps4.styles, hide = _this$asProps4.hide, d3 = _this$asProps4.d3, d3Line = _this$asProps4.d3Line, color = _this$asProps4.color, uid = _this$asProps4.uid, size = _this$asProps4.size, duration = _this$asProps4.duration, x = _this$asProps4.x, y = _this$asProps4.y, Children = _this$asProps4.Children, transparent = _this$asProps4.transparent, forcedAdvancedMode = _this$asProps4.forcedAdvancedMode, resolveColor = _this$asProps4.resolveColor, patterns = _this$asProps4.patterns;
98
103
  var advancedMode = forcedAdvancedMode || !!findComponent(Children, [Area.Line.displayName]);
99
104
  var data = this.asProps.data.filter(function(item) {
@@ -102,6 +107,7 @@ var AreaRoot = /* @__PURE__ */ function(_Component) {
102
107
  this.asProps.dataHintsHandler.specifyDataRowFields(x, y);
103
108
  this.asProps.dataHintsHandler.establishDataType("time-series");
104
109
  return _ref = sstyled(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, !advancedMode && /* @__PURE__ */ React.createElement(SAreaLine, _ref.cn("SAreaLine", {
110
+ "tag": "path",
105
111
  "aria-hidden": true,
106
112
  "clipPath": "url(#".concat(uid, "-animation)"),
107
113
  "d": d3Line(data),
@@ -131,7 +137,6 @@ var AreaRoot = /* @__PURE__ */ function(_Component) {
131
137
  })));
132
138
  }
133
139
  }]);
134
- return AreaRoot2;
135
140
  }(Component);
136
141
  _defineProperty(AreaRoot, "displayName", "Area");
137
142
  _defineProperty(AreaRoot, "style", style);
package/lib/esm/Axis.mjs CHANGED
@@ -1,38 +1,42 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/esm/createClass";
4
+ import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
5
+ import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
6
+ import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
4
7
  import _inherits from "@babel/runtime/helpers/esm/inherits";
5
- import _createSuper from "@babel/runtime/helpers/esm/createSuper";
6
8
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
7
9
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
8
10
  import { sstyled, Component } from "@semcore/core";
9
11
  import React from "react";
10
12
  import createElement from "./createElement.mjs";
11
13
  import { scaleOfBandwidth } from "./utils.mjs";
12
- var _MAP_POSITION_AXIS, _MAP_POSITION_TICK;
14
+ function _callSuper(t, o, e) {
15
+ return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
16
+ }
13
17
  /*!__reshadow-styles__:"./style/axis.shadow.css"*/
14
18
  var style = (
15
19
  /*__reshadow_css_start__*/
16
20
  (sstyled.insert(
17
21
  /*__inner_css_start__*/
18
- ".___SAxis_di5wm_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_di5wm_gg_.__hide_di5wm_gg_,.___STick_di5wm_gg_.__hide_di5wm_gg_{display:none}.___STick_di5wm_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_di5wm_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_di5wm_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_di5wm)}.___STitle_di5wm_gg_._position_top_di5wm_gg_{text-anchor:middle}.___STitle_di5wm_gg_._position_bottom_di5wm_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_di5wm_gg_._position_left_di5wm_gg_,.___STitle_di5wm_gg_._position_right_di5wm_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_di5wm_gg_._position_left_di5wm_gg_.__verticalWritingMode_di5wm_gg_,.___STitle_di5wm_gg_._position_right_di5wm_gg_.__verticalWritingMode_di5wm_gg_{writing-mode:vertical-rl;transform:none}.___STick_di5wm_gg_._position_top_di5wm_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_di5wm_gg_._position_bottom_di5wm_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_di5wm_gg_._position_right_di5wm_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_di5wm_gg_._position_left_di5wm_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_di5wm_gg_._position_custom_0_di5wm_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_di5wm_gg_._position_custom_1_di5wm_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}",
22
+ ".___SAxis_1k6z3_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1k6z3_gg_.__hide_1k6z3_gg_,.___STick_1k6z3_gg_.__hide_1k6z3_gg_{display:none}.___STick_1k6z3_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_1k6z3_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1k6z3_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1k6z3)}.___STitle_1k6z3_gg_._position_top_1k6z3_gg_{text-anchor:middle}.___STitle_1k6z3_gg_._position_bottom_1k6z3_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1k6z3_gg_._position_left_1k6z3_gg_,.___STitle_1k6z3_gg_._position_right_1k6z3_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_1k6z3_gg_._position_left_1k6z3_gg_.__verticalWritingMode_1k6z3_gg_,.___STitle_1k6z3_gg_._position_right_1k6z3_gg_.__verticalWritingMode_1k6z3_gg_{writing-mode:vertical-rl;transform:none}.___STick_1k6z3_gg_._position_top_1k6z3_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1k6z3_gg_._position_bottom_1k6z3_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1k6z3_gg_._position_right_1k6z3_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_1k6z3_gg_._position_left_1k6z3_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_1k6z3_gg_._position_custom_0_1k6z3_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1k6z3_gg_._position_custom_1_1k6z3_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}",
19
23
  /*__inner_css_end__*/
20
- "di5wm_gg_"
24
+ "1k6z3_gg_"
21
25
  ), /*__reshadow_css_end__*/
22
26
  {
23
- "__SAxis": "___SAxis_di5wm_gg_",
24
- "_hide": "__hide_di5wm_gg_",
25
- "__STick": "___STick_di5wm_gg_",
26
- "__SGrid": "___SGrid_di5wm_gg_",
27
- "__STitle": "___STitle_di5wm_gg_",
28
- "--transform-origin": "--transform-origin_di5wm",
29
- "_position_top": "_position_top_di5wm_gg_",
30
- "_position_bottom": "_position_bottom_di5wm_gg_",
31
- "_position_right": "_position_right_di5wm_gg_",
32
- "_position_left": "_position_left_di5wm_gg_",
33
- "_verticalWritingMode": "__verticalWritingMode_di5wm_gg_",
34
- "_position_custom_0": "_position_custom_0_di5wm_gg_",
35
- "_position_custom_1": "_position_custom_1_di5wm_gg_"
27
+ "__SAxis": "___SAxis_1k6z3_gg_",
28
+ "_hide": "__hide_1k6z3_gg_",
29
+ "__STick": "___STick_1k6z3_gg_",
30
+ "__SGrid": "___SGrid_1k6z3_gg_",
31
+ "__STitle": "___STitle_1k6z3_gg_",
32
+ "--transform-origin": "--transform-origin_1k6z3",
33
+ "_position_top": "_position_top_1k6z3_gg_",
34
+ "_position_bottom": "_position_bottom_1k6z3_gg_",
35
+ "_position_right": "_position_right_1k6z3_gg_",
36
+ "_position_left": "_position_left_1k6z3_gg_",
37
+ "_verticalWritingMode": "__verticalWritingMode_1k6z3_gg_",
38
+ "_position_custom_0": "_position_custom_0_1k6z3_gg_",
39
+ "_position_custom_1": "_position_custom_1_1k6z3_gg_"
36
40
  })
37
41
  );
38
42
  var CUSTOM_0 = Symbol("custom_0");
@@ -47,7 +51,7 @@ var MAP_POSITION_REVERT = {
47
51
  bottom: "top",
48
52
  left: "right"
49
53
  };
50
- var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
54
+ var MAP_POSITION_AXIS = _defineProperty(_defineProperty({
51
55
  top: function top(_ref5) {
52
56
  var _ref6 = _slicedToArray(_ref5, 2), xScale = _ref6[0], yScale = _ref6[1];
53
57
  var xRange = xScale.range();
@@ -71,7 +75,7 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
71
75
  };
72
76
  },
73
77
  right: function right(_ref9) {
74
- var _ref10 = _slicedToArray(_ref9, 2), xScale = _ref10[0], yScale = _ref10[1];
78
+ var _ref0 = _slicedToArray(_ref9, 2), xScale = _ref0[0], yScale = _ref0[1];
75
79
  var xRange = xScale.range();
76
80
  var yRange = yScale.range();
77
81
  return {
@@ -81,8 +85,8 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
81
85
  y2: yRange[1]
82
86
  };
83
87
  },
84
- left: function left(_ref11) {
85
- var _ref12 = _slicedToArray(_ref11, 2), xScale = _ref12[0], yScale = _ref12[1];
88
+ left: function left(_ref1) {
89
+ var _ref10 = _slicedToArray(_ref1, 2), xScale = _ref10[0], yScale = _ref10[1];
86
90
  var xRange = xScale.range();
87
91
  var yRange = yScale.range();
88
92
  return {
@@ -92,8 +96,8 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
92
96
  y2: yRange[1]
93
97
  };
94
98
  }
95
- }, _defineProperty(_MAP_POSITION_AXIS, CUSTOM_0, function(_ref13, pos) {
96
- var _ref14 = _slicedToArray(_ref13, 2), xScale = _ref14[0], yScale = _ref14[1];
99
+ }, CUSTOM_0, function(_ref11, pos) {
100
+ var _ref12 = _slicedToArray(_ref11, 2), xScale = _ref12[0], yScale = _ref12[1];
97
101
  var xRange = xScale.range();
98
102
  return {
99
103
  x1: xRange[0],
@@ -101,8 +105,8 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
101
105
  x2: xRange[1],
102
106
  y2: scaleOfBandwidth(yScale, pos)
103
107
  };
104
- }), _defineProperty(_MAP_POSITION_AXIS, CUSTOM_1, function(_ref15, pos) {
105
- var _ref16 = _slicedToArray(_ref15, 2), xScale = _ref16[0], yScale = _ref16[1];
108
+ }), CUSTOM_1, function(_ref13, pos) {
109
+ var _ref14 = _slicedToArray(_ref13, 2), xScale = _ref14[0], yScale = _ref14[1];
106
110
  var yRange = yScale.range();
107
111
  return {
108
112
  x1: scaleOfBandwidth(xScale, pos),
@@ -110,56 +114,56 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
110
114
  x2: scaleOfBandwidth(xScale, pos),
111
115
  y2: yRange[1]
112
116
  };
113
- }), _MAP_POSITION_AXIS);
114
- var MAP_POSITION_TICK = (_MAP_POSITION_TICK = {
115
- top: function top2(_ref17, value) {
116
- var _ref18 = _slicedToArray(_ref17, 2), xScale = _ref18[0], yScale = _ref18[1];
117
+ });
118
+ var MAP_POSITION_TICK = _defineProperty(_defineProperty({
119
+ top: function top2(_ref15, value) {
120
+ var _ref16 = _slicedToArray(_ref15, 2), xScale = _ref16[0], yScale = _ref16[1];
117
121
  var yRange = yScale.range();
118
122
  return {
119
123
  x: scaleOfBandwidth(xScale, value),
120
124
  y: yRange[1]
121
125
  };
122
126
  },
123
- bottom: function bottom2(_ref19, value) {
124
- var _ref20 = _slicedToArray(_ref19, 2), xScale = _ref20[0], yScale = _ref20[1];
127
+ bottom: function bottom2(_ref17, value) {
128
+ var _ref18 = _slicedToArray(_ref17, 2), xScale = _ref18[0], yScale = _ref18[1];
125
129
  var yRange = yScale.range();
126
130
  return {
127
131
  x: scaleOfBandwidth(xScale, value),
128
132
  y: yRange[0]
129
133
  };
130
134
  },
131
- right: function right2(_ref21, value) {
132
- var _ref22 = _slicedToArray(_ref21, 2), xScale = _ref22[0], yScale = _ref22[1];
135
+ right: function right2(_ref19, value) {
136
+ var _ref20 = _slicedToArray(_ref19, 2), xScale = _ref20[0], yScale = _ref20[1];
133
137
  var xRange = xScale.range();
134
138
  return {
135
139
  x: xRange[1],
136
140
  y: scaleOfBandwidth(yScale, value)
137
141
  };
138
142
  },
139
- left: function left2(_ref23, value) {
140
- var _ref24 = _slicedToArray(_ref23, 2), xScale = _ref24[0], yScale = _ref24[1];
143
+ left: function left2(_ref21, value) {
144
+ var _ref22 = _slicedToArray(_ref21, 2), xScale = _ref22[0], yScale = _ref22[1];
141
145
  var xRange = xScale.range();
142
146
  return {
143
147
  x: xRange[0],
144
148
  y: scaleOfBandwidth(yScale, value)
145
149
  };
146
150
  }
147
- }, _defineProperty(_MAP_POSITION_TICK, CUSTOM_0, function(_ref25, value, pos) {
148
- var _ref26 = _slicedToArray(_ref25, 2), xScale = _ref26[0], yScale = _ref26[1];
151
+ }, CUSTOM_0, function(_ref23, value, pos) {
152
+ var _ref24 = _slicedToArray(_ref23, 2), xScale = _ref24[0], yScale = _ref24[1];
149
153
  return {
150
154
  x: scaleOfBandwidth(xScale, value),
151
155
  y: scaleOfBandwidth(yScale, pos)
152
156
  };
153
- }), _defineProperty(_MAP_POSITION_TICK, CUSTOM_1, function(_ref27, value, pos) {
154
- var _ref28 = _slicedToArray(_ref27, 2), xScale = _ref28[0], yScale = _ref28[1];
157
+ }), CUSTOM_1, function(_ref25, value, pos) {
158
+ var _ref26 = _slicedToArray(_ref25, 2), xScale = _ref26[0], yScale = _ref26[1];
155
159
  return {
156
160
  x: scaleOfBandwidth(xScale, pos),
157
161
  y: scaleOfBandwidth(yScale, value)
158
162
  };
159
- }), _MAP_POSITION_TICK);
163
+ });
160
164
  var MAP_POSITION_GRID = {
161
- 0: function _(_ref29, value) {
162
- var _ref30 = _slicedToArray(_ref29, 2), xScale = _ref30[0], yScale = _ref30[1];
165
+ 0: function _(_ref27, value) {
166
+ var _ref28 = _slicedToArray(_ref27, 2), xScale = _ref28[0], yScale = _ref28[1];
163
167
  var yRange = yScale.range();
164
168
  var x = scaleOfBandwidth(xScale, value);
165
169
  return {
@@ -169,8 +173,8 @@ var MAP_POSITION_GRID = {
169
173
  y2: yRange[1]
170
174
  };
171
175
  },
172
- 1: function _2(_ref31, value) {
173
- var _ref32 = _slicedToArray(_ref31, 2), xScale = _ref32[0], yScale = _ref32[1];
176
+ 1: function _2(_ref29, value) {
177
+ var _ref30 = _slicedToArray(_ref29, 2), xScale = _ref30[0], yScale = _ref30[1];
174
178
  var xRange = xScale.range();
175
179
  var y = scaleOfBandwidth(yScale, value);
176
180
  return {
@@ -183,34 +187,34 @@ var MAP_POSITION_GRID = {
183
187
  };
184
188
  var OFFSET_TITLE = 10;
185
189
  var MAP_POSITION_TITlE = {
186
- top: function top3(_ref33) {
187
- var _ref34 = _slicedToArray(_ref33, 1), xScale = _ref34[0];
190
+ top: function top3(_ref31) {
191
+ var _ref32 = _slicedToArray(_ref31, 1), xScale = _ref32[0];
188
192
  var xRange = xScale.range();
189
193
  return {
190
194
  x: (xRange[1] + xRange[0]) / 2,
191
195
  y: OFFSET_TITLE
192
196
  };
193
197
  },
194
- bottom: function bottom3(_ref35, _ref36) {
195
- var _ref37 = _slicedToArray(_ref35, 1), xScale = _ref37[0];
196
- var _ref38 = _slicedToArray(_ref36, 2), height = _ref38[1];
198
+ bottom: function bottom3(_ref33, _ref34) {
199
+ var _ref35 = _slicedToArray(_ref33, 1), xScale = _ref35[0];
200
+ var _ref36 = _slicedToArray(_ref34, 2), height = _ref36[1];
197
201
  var xRange = xScale.range();
198
202
  return {
199
203
  x: (xRange[1] + xRange[0]) / 2,
200
204
  y: height - OFFSET_TITLE
201
205
  };
202
206
  },
203
- right: function right3(_ref39, _ref40) {
204
- var _ref41 = _slicedToArray(_ref39, 2), yScale = _ref41[1];
205
- var _ref42 = _slicedToArray(_ref40, 1), width = _ref42[0];
207
+ right: function right3(_ref37, _ref38) {
208
+ var _ref39 = _slicedToArray(_ref37, 2), yScale = _ref39[1];
209
+ var _ref40 = _slicedToArray(_ref38, 1), width = _ref40[0];
206
210
  var yRange = yScale.range();
207
211
  return {
208
212
  x: width - OFFSET_TITLE,
209
213
  y: (yRange[0] + yRange[1]) / 2
210
214
  };
211
215
  },
212
- left: function left3(_ref43) {
213
- var _ref44 = _slicedToArray(_ref43, 2), yScale = _ref44[1];
216
+ left: function left3(_ref41) {
217
+ var _ref42 = _slicedToArray(_ref41, 2), yScale = _ref42[1];
214
218
  var yRange = yScale.range();
215
219
  return {
216
220
  x: OFFSET_TITLE,
@@ -225,13 +229,12 @@ function renderValue(value) {
225
229
  return value;
226
230
  }
227
231
  var AxisRoot = /* @__PURE__ */ function(_Component) {
228
- _inherits(AxisRoot2, _Component);
229
- var _super = _createSuper(AxisRoot2);
230
232
  function AxisRoot2() {
231
233
  _classCallCheck(this, AxisRoot2);
232
- return _super.apply(this, arguments);
234
+ return _callSuper(this, AxisRoot2, arguments);
233
235
  }
234
- _createClass(AxisRoot2, [{
236
+ _inherits(AxisRoot2, _Component);
237
+ return _createClass(AxisRoot2, [{
235
238
  key: "ticks",
236
239
  get: function get() {
237
240
  var _scl$ticks, _scl$domain;
@@ -280,7 +283,6 @@ var AxisRoot = /* @__PURE__ */ function(_Component) {
280
283
  }, pos(scale, position))));
281
284
  }
282
285
  }]);
283
- return AxisRoot2;
284
286
  }(Component);
285
287
  _defineProperty(AxisRoot, "displayName", "Axis");
286
288
  _defineProperty(AxisRoot, "style", style);
@@ -362,13 +364,12 @@ function Title(props) {
362
364
  "y": y
363
365
  }));
364
366
  }
365
- var XAxisRoot = /* @__PURE__ */ function(_AxisRoot) {
366
- _inherits(XAxisRoot2, _AxisRoot);
367
- var _super2 = _createSuper(XAxisRoot2);
367
+ var XAxisRoot = /* @__PURE__ */ function(_AxisRoot2) {
368
368
  function XAxisRoot2() {
369
369
  _classCallCheck(this, XAxisRoot2);
370
- return _super2.apply(this, arguments);
370
+ return _callSuper(this, XAxisRoot2, arguments);
371
371
  }
372
+ _inherits(XAxisRoot2, _AxisRoot2);
372
373
  return _createClass(XAxisRoot2);
373
374
  }(AxisRoot);
374
375
  _defineProperty(XAxisRoot, "defaultProps", _objectSpread(_objectSpread({}, AxisRoot.defaultProps), {}, {
@@ -380,13 +381,12 @@ var XAxis = createElement(XAxisRoot, {
380
381
  Grid,
381
382
  Title
382
383
  });
383
- var YAxisRoot = /* @__PURE__ */ function(_AxisRoot2) {
384
- _inherits(YAxisRoot2, _AxisRoot2);
385
- var _super3 = _createSuper(YAxisRoot2);
384
+ var YAxisRoot = /* @__PURE__ */ function(_AxisRoot3) {
386
385
  function YAxisRoot2() {
387
386
  _classCallCheck(this, YAxisRoot2);
388
- return _super3.apply(this, arguments);
387
+ return _callSuper(this, YAxisRoot2, arguments);
389
388
  }
389
+ _inherits(YAxisRoot2, _AxisRoot3);
390
390
  return _createClass(YAxisRoot2);
391
391
  }(AxisRoot);
392
392
  _defineProperty(YAxisRoot, "defaultProps", _objectSpread(_objectSpread({}, AxisRoot.defaultProps), {}, {
package/lib/esm/Bar.mjs CHANGED
@@ -1,42 +1,47 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
2
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/esm/createClass";
4
+ import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
5
+ import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
6
+ import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
4
7
  import _inherits from "@babel/runtime/helpers/esm/inherits";
5
- import _createSuper from "@babel/runtime/helpers/esm/createSuper";
6
8
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
7
9
  import { sstyled, Component } from "@semcore/core";
8
- import React from "react";
9
- import { transition } from "d3-transition";
10
10
  import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
11
- import createElement from "./createElement.mjs";
11
+ import { transition } from "d3-transition";
12
+ import React from "react";
12
13
  import AnimatedClipPath from "./AnimatedClipPath.mjs";
13
- import { scaleToBand, roundedPath } from "./utils.mjs";
14
+ import createElement from "./createElement.mjs";
14
15
  import { PatternFill } from "./Pattern.mjs";
16
+ import { scaleToBand, roundedPath } from "./utils.mjs";
17
+ function _callSuper(t, o, e) {
18
+ return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
19
+ }
15
20
  /*!__reshadow-styles__:"./style/bar.shadow.css"*/
16
21
  var style = (
17
22
  /*__reshadow_css_start__*/
18
23
  (sstyled.insert(
19
24
  /*__inner_css_start__*/
20
- ".___SBar_1q4d3_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1q4d3);transition-timing-function:ease-in-out}.___SBar_1q4d3_gg_.__color_1q4d3_gg_{fill:var(--color_1q4d3)}.___SBar_1q4d3_gg_.__pattern_1q4d3_gg_.__color_1q4d3_gg_{fill:var(--pattern_1q4d3);stroke:var(--color_1q4d3);stroke-width:1px}.___SBar_1q4d3_gg_.__hide_1q4d3_gg_{display:none}.___SBar_1q4d3_gg_.__transparent_1q4d3_gg_{opacity:.3}.___SBackground_1q4d3_gg_.__onClick_1q4d3_gg_,.___SBar_1q4d3_gg_.__onClick_1q4d3_gg_{cursor:pointer}.___SBackground_1q4d3_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1q4d3_gg_{display:flex;justify-content:space-between}.___SBarLabel_1q4d3_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1q4d3_gg_,.___SBarPercent_1q4d3_gg_,.___SBarValue_1q4d3_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1q4d3_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1q4d3_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1q4d3_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
25
+ ".___SBar_1e83s_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1e83s);transition-timing-function:ease-in-out}.___SBar_1e83s_gg_.__color_1e83s_gg_{fill:var(--color_1e83s)}.___SBar_1e83s_gg_.__pattern_1e83s_gg_.__color_1e83s_gg_{fill:var(--pattern_1e83s);stroke:var(--color_1e83s);stroke-width:1px}.___SBar_1e83s_gg_.__hide_1e83s_gg_{display:none}.___SBar_1e83s_gg_.__transparent_1e83s_gg_{opacity:.3}.___SBackground_1e83s_gg_.__onClick_1e83s_gg_,.___SBar_1e83s_gg_.__onClick_1e83s_gg_{cursor:pointer}.___SBackground_1e83s_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1e83s_gg_{display:flex;justify-content:space-between}.___SBarLabel_1e83s_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1e83s_gg_,.___SBarPercent_1e83s_gg_,.___SBarValue_1e83s_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1e83s_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1e83s_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1e83s_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
21
26
  /*__inner_css_end__*/
22
- "1q4d3_gg_"
27
+ "1e83s_gg_"
23
28
  ), /*__reshadow_css_end__*/
24
29
  {
25
- "__SBar": "___SBar_1q4d3_gg_",
26
- "--duration": "--duration_1q4d3",
27
- "_color": "__color_1q4d3_gg_",
28
- "--color": "--color_1q4d3",
29
- "_pattern": "__pattern_1q4d3_gg_",
30
- "--pattern": "--pattern_1q4d3",
31
- "_hide": "__hide_1q4d3_gg_",
32
- "_transparent": "__transparent_1q4d3_gg_",
33
- "_onClick": "__onClick_1q4d3_gg_",
34
- "__SBackground": "___SBackground_1q4d3_gg_",
35
- "__SBarAnnotation": "___SBarAnnotation_1q4d3_gg_",
36
- "__SBarLabel": "___SBarLabel_1q4d3_gg_",
37
- "__SBarPercent": "___SBarPercent_1q4d3_gg_",
38
- "__SBarValue": "___SBarValue_1q4d3_gg_",
39
- "__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1q4d3_gg_"
30
+ "__SBar": "___SBar_1e83s_gg_",
31
+ "--duration": "--duration_1e83s",
32
+ "_color": "__color_1e83s_gg_",
33
+ "--color": "--color_1e83s",
34
+ "_pattern": "__pattern_1e83s_gg_",
35
+ "--pattern": "--pattern_1e83s",
36
+ "_hide": "__hide_1e83s_gg_",
37
+ "_transparent": "__transparent_1e83s_gg_",
38
+ "_onClick": "__onClick_1e83s_gg_",
39
+ "__SBackground": "___SBackground_1e83s_gg_",
40
+ "__SBarAnnotation": "___SBarAnnotation_1e83s_gg_",
41
+ "__SBarLabel": "___SBarLabel_1e83s_gg_",
42
+ "__SBarPercent": "___SBarPercent_1e83s_gg_",
43
+ "__SBarValue": "___SBarValue_1e83s_gg_",
44
+ "__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1e83s_gg_"
40
45
  })
41
46
  );
42
47
  var MIN_HEIGHT = 2;
@@ -47,13 +52,12 @@ var calcPartBarY = function calcPartBarY2(y, minHeight, height) {
47
52
  return height <= minHeight ? minHeight : 0;
48
53
  };
49
54
  var BarRoot = /* @__PURE__ */ function(_Component) {
50
- _inherits(BarRoot2, _Component);
51
- var _super = _createSuper(BarRoot2);
52
55
  function BarRoot2() {
53
56
  _classCallCheck(this, BarRoot2);
54
- return _super.apply(this, arguments);
57
+ return _callSuper(this, BarRoot2, arguments);
55
58
  }
56
- _createClass(BarRoot2, [{
59
+ _inherits(BarRoot2, _Component);
60
+ return _createClass(BarRoot2, [{
57
61
  key: "getBackgroundProps",
58
62
  value: function getBackgroundProps(_props, index) {
59
63
  var _this$asProps = this.asProps, x = _this$asProps.x, data = _this$asProps.data;
@@ -87,7 +91,7 @@ var BarRoot = /* @__PURE__ */ function(_Component) {
87
91
  value: function renderBar(d, i) {
88
92
  var _ref, _d$y, _d$y2, _d$y3;
89
93
  var SBar = this.Element;
90
- var _this$asProps3 = this.asProps, styles = _this$asProps3.styles, color = _this$asProps3.color, resolveColor = _this$asProps3.resolveColor, x = _this$asProps3.x, y = _this$asProps3.y, y0 = _this$asProps3.y0, scale = _this$asProps3.scale, hide = _this$asProps3.hide, offsetProps = _this$asProps3.offset, duration = _this$asProps3.duration, uid = _this$asProps3.uid, r = _this$asProps3.r, hMin = _this$asProps3.hMin, widthProps = _this$asProps3.width, groupKey = _this$asProps3.groupKey, onClick = _this$asProps3.onClick, transparent = _this$asProps3.transparent, _this$asProps3$maxBar = _this$asProps3.maxBarSize, maxBarSize = _this$asProps3$maxBar === void 0 ? Infinity : _this$asProps3$maxBar, patterns = _this$asProps3.patterns, dataHintsHandler = _this$asProps3.dataHintsHandler;
94
+ var _this$asProps3 = this.asProps, styles = _this$asProps3.styles, color = _this$asProps3.color, resolveColor = _this$asProps3.resolveColor, x = _this$asProps3.x, y = _this$asProps3.y, y0 = _this$asProps3.y0, scale = _this$asProps3.scale, hide = _this$asProps3.hide, offsetProps = _this$asProps3.offset, duration = _this$asProps3.duration, uid = _this$asProps3.uid, r = _this$asProps3.r, hMin = _this$asProps3.hMin, widthProps = _this$asProps3.width, groupKey = _this$asProps3.groupKey, onClick = _this$asProps3.onClick, transparent = _this$asProps3.transparent, _this$asProps3$maxBar = _this$asProps3.maxBarSize, maxBarSize = _this$asProps3$maxBar === void 0 ? Number.POSITIVE_INFINITY : _this$asProps3$maxBar, patterns = _this$asProps3.patterns, dataHintsHandler = _this$asProps3.dataHintsHandler;
91
95
  var offset = typeof offsetProps === "function" ? offsetProps(i) : offsetProps;
92
96
  var _scale = _slicedToArray(scale, 2), xScale = _scale[0], yScale = _scale[1];
93
97
  var absHeight = Math.abs(yScale(d[y]) - Math.min(yScale(yScale.domain()[0]), yScale((_d$y = d[y0]) !== null && _d$y !== void 0 ? _d$y : 0)));
@@ -156,7 +160,6 @@ var BarRoot = /* @__PURE__ */ function(_Component) {
156
160
  }));
157
161
  }
158
162
  }]);
159
- return BarRoot2;
160
163
  }(Component);
161
164
  _defineProperty(BarRoot, "displayName", "Bar");
162
165
  _defineProperty(BarRoot, "style", style);