@mui/x-charts 8.0.0-beta.2 → 8.0.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 (1306) hide show
  1. package/BarChart/AnimatedBarElement.d.ts +38 -8
  2. package/BarChart/AnimatedBarElement.js +5 -5
  3. package/BarChart/BarChart.js +659 -6
  4. package/BarChart/BarClipPath.d.ts +19 -1
  5. package/BarChart/BarClipPath.js +83 -17
  6. package/BarChart/BarElement.d.ts +9 -20
  7. package/BarChart/BarElement.js +29 -26
  8. package/BarChart/BarLabel/BarLabel.d.ts +27 -854
  9. package/BarChart/BarLabel/BarLabel.js +32 -5
  10. package/BarChart/BarLabel/BarLabel.types.d.ts +2 -0
  11. package/BarChart/BarLabel/BarLabelItem.d.ts +24 -0
  12. package/BarChart/BarLabel/BarLabelItem.js +18 -6
  13. package/BarChart/BarLabel/BarLabelPlot.js +16 -46
  14. package/BarChart/BarLabel/barLabelClasses.d.ts +8 -1
  15. package/BarChart/BarLabel/barLabelClasses.js +4 -3
  16. package/BarChart/BarPlot.js +42 -63
  17. package/BarChart/barElementClasses.d.ts +26 -0
  18. package/BarChart/barElementClasses.js +29 -0
  19. package/BarChart/getRadius.d.ts +1 -1
  20. package/BarChart/index.d.ts +2 -1
  21. package/BarChart/index.js +11 -0
  22. package/BarChart/seriesConfig/getColor.js +6 -0
  23. package/BarChart/seriesConfig/index.js +3 -1
  24. package/BarChart/seriesConfig/tooltip.d.ts +2 -1
  25. package/BarChart/seriesConfig/tooltip.js +14 -1
  26. package/BarChart/types.d.ts +2 -2
  27. package/CHANGELOG.md +423 -96
  28. package/ChartContainer/ChartContainer.js +1014 -23
  29. package/ChartDataProvider/ChartDataProvider.d.ts +1 -4
  30. package/ChartDataProvider/ChartDataProvider.js +18 -16
  31. package/ChartDataProvider/useChartDataProviderProps.d.ts +1 -3
  32. package/ChartDataProvider/useChartDataProviderProps.js +4 -8
  33. package/ChartsLabel/ChartsLabelMark.js +0 -4
  34. package/ChartsLabel/index.d.ts +1 -0
  35. package/ChartsLabel/index.js +7 -0
  36. package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  37. package/ChartsTooltip/ChartsAxisTooltipContent.js +48 -64
  38. package/ChartsTooltip/ChartsItemTooltipContent.js +54 -10
  39. package/ChartsTooltip/ChartsTooltip.js +2 -2
  40. package/ChartsTooltip/ChartsTooltipContainer.js +7 -8
  41. package/ChartsTooltip/ChartsTooltipTable.d.ts +3 -1
  42. package/ChartsTooltip/ChartsTooltipTable.js +24 -9
  43. package/ChartsTooltip/chartsTooltipClasses.d.ts +4 -4
  44. package/ChartsTooltip/chartsTooltipClasses.js +2 -2
  45. package/ChartsTooltip/index.d.ts +4 -1
  46. package/ChartsTooltip/index.js +22 -7
  47. package/ChartsTooltip/useAxesTooltip.d.ts +7 -0
  48. package/ChartsTooltip/useAxesTooltip.js +18 -0
  49. package/ChartsTooltip/useAxisTooltip.d.ts +29 -7
  50. package/ChartsTooltip/useAxisTooltip.js +125 -36
  51. package/ChartsTooltip/useItemTooltip.d.ts +15 -11
  52. package/ChartsTooltip/useItemTooltip.js +52 -5
  53. package/ChartsXAxis/ChartsXAxis.js +5 -2
  54. package/ChartsYAxis/ChartsYAxis.js +69 -17
  55. package/Gauge/Gauge.js +10 -3
  56. package/Gauge/GaugeContainer.js +5 -0
  57. package/Gauge/GaugeValueArc.d.ts +7 -1
  58. package/Gauge/GaugeValueArc.js +60 -10
  59. package/Gauge/gaugeClasses.d.ts +1 -2
  60. package/Gauge/gaugeClasses.js +2 -3
  61. package/LineChart/AnimatedArea.js +5 -22
  62. package/LineChart/AnimatedLine.d.ts +1 -4
  63. package/LineChart/AnimatedLine.js +10 -25
  64. package/LineChart/AppearingMask.d.ts +5 -0
  65. package/LineChart/AppearingMask.js +25 -18
  66. package/LineChart/AreaElement.d.ts +5 -0
  67. package/LineChart/AreaElement.js +1 -1
  68. package/LineChart/AreaPlot.js +2 -2
  69. package/LineChart/CircleMarkElement.js +16 -22
  70. package/LineChart/LineChart.js +659 -6
  71. package/LineChart/LineElement.d.ts +5 -0
  72. package/LineChart/LineElement.js +1 -1
  73. package/LineChart/LineHighlightPlot.js +2 -3
  74. package/LineChart/LinePlot.js +2 -2
  75. package/LineChart/MarkElement.js +16 -27
  76. package/LineChart/MarkPlot.js +2 -3
  77. package/LineChart/markElementClasses.d.ts +8 -0
  78. package/LineChart/markElementClasses.js +4 -3
  79. package/LineChart/seriesConfig/getColor.js +6 -0
  80. package/LineChart/seriesConfig/index.js +3 -1
  81. package/LineChart/seriesConfig/tooltip.d.ts +2 -1
  82. package/LineChart/seriesConfig/tooltip.js +8 -1
  83. package/PieChart/PieArc.d.ts +24 -11
  84. package/PieChart/PieArc.js +38 -25
  85. package/PieChart/PieArcLabel.d.ts +27 -13
  86. package/PieChart/PieArcLabel.js +52 -48
  87. package/PieChart/PieArcLabelPlot.js +16 -34
  88. package/PieChart/PieArcPlot.js +21 -34
  89. package/PieChart/PiePlot.js +2 -2
  90. package/PieChart/seriesConfig/tooltip.js +3 -0
  91. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -8
  92. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +53 -15
  93. package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -2
  94. package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +1 -1
  95. package/RadarChart/RadarChart.d.ts +6 -4
  96. package/RadarChart/RadarChart.js +10 -13
  97. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +1 -1
  98. package/RadarChart/RadarDataProvider/RadarDataProvider.js +1 -1
  99. package/RadarChart/RadarGrid/CircularRadarGrid.js +11 -7
  100. package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +6 -0
  101. package/RadarChart/RadarGrid/CircularRadarStripes.js +38 -0
  102. package/RadarChart/RadarGrid/RadarGrid.js +52 -12
  103. package/RadarChart/RadarGrid/RadarGrid.types.d.ts +26 -1
  104. package/RadarChart/RadarGrid/SharpRadarGrid.js +11 -7
  105. package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +6 -0
  106. package/RadarChart/RadarGrid/SharpRadarStripes.js +44 -0
  107. package/RadarChart/RadarGrid/radarGridClasses.d.ts +12 -0
  108. package/RadarChart/RadarGrid/radarGridClasses.js +25 -0
  109. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +16 -0
  110. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +54 -7
  111. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +16 -0
  112. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +59 -10
  113. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +21 -24
  114. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +1 -2
  115. package/RadarChart/RadarSeriesPlot/index.d.ts +2 -2
  116. package/RadarChart/RadarSeriesPlot/index.js +14 -22
  117. package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +6 -2
  118. package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +3 -1
  119. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +2 -1
  120. package/RadarChart/seriesConfig/index.js +3 -1
  121. package/RadarChart/seriesConfig/tooltip.d.ts +2 -1
  122. package/RadarChart/seriesConfig/tooltip.js +25 -10
  123. package/RadarChart/useRadarChartProps.d.ts +0 -2
  124. package/RadarChart/useRadarChartProps.js +4 -7
  125. package/ScatterChart/Scatter.d.ts +2 -1
  126. package/ScatterChart/ScatterChart.js +659 -6
  127. package/ScatterChart/seriesConfig/getColor.js +9 -0
  128. package/SparkLineChart/SparkLineChart.d.ts +3 -4
  129. package/SparkLineChart/SparkLineChart.js +659 -6
  130. package/colorPalettes/colorPalettes.js +2 -2
  131. package/constants/index.d.ts +1 -1
  132. package/constants/index.js +1 -1
  133. package/context/ChartProvider/ChartProvider.d.ts +1 -1
  134. package/context/ChartProvider/ChartProvider.types.d.ts +1 -2
  135. package/esm/BarChart/AnimatedBarElement.d.ts +38 -8
  136. package/esm/BarChart/AnimatedBarElement.js +5 -5
  137. package/esm/BarChart/BarChart.js +659 -6
  138. package/esm/BarChart/BarClipPath.d.ts +19 -1
  139. package/esm/BarChart/BarClipPath.js +83 -17
  140. package/esm/BarChart/BarElement.d.ts +9 -20
  141. package/esm/BarChart/BarElement.js +28 -23
  142. package/esm/BarChart/BarLabel/BarLabel.d.ts +27 -854
  143. package/esm/BarChart/BarLabel/BarLabel.js +32 -5
  144. package/esm/BarChart/BarLabel/BarLabel.types.d.ts +2 -0
  145. package/esm/BarChart/BarLabel/BarLabelItem.d.ts +24 -0
  146. package/esm/BarChart/BarLabel/BarLabelItem.js +18 -6
  147. package/esm/BarChart/BarLabel/BarLabelPlot.js +16 -46
  148. package/esm/BarChart/BarLabel/barLabelClasses.d.ts +8 -1
  149. package/esm/BarChart/BarLabel/barLabelClasses.js +4 -3
  150. package/esm/BarChart/BarPlot.js +41 -62
  151. package/esm/BarChart/barElementClasses.d.ts +26 -0
  152. package/{modern/LineChart/markElementClasses.js → esm/BarChart/barElementClasses.js} +7 -7
  153. package/esm/BarChart/getRadius.d.ts +1 -1
  154. package/esm/BarChart/index.d.ts +2 -1
  155. package/esm/BarChart/index.js +2 -1
  156. package/esm/BarChart/seriesConfig/getColor.js +6 -0
  157. package/esm/BarChart/seriesConfig/index.js +2 -1
  158. package/esm/BarChart/seriesConfig/tooltip.d.ts +2 -1
  159. package/esm/BarChart/seriesConfig/tooltip.js +12 -0
  160. package/esm/BarChart/types.d.ts +2 -2
  161. package/esm/ChartContainer/ChartContainer.js +1014 -23
  162. package/esm/ChartDataProvider/ChartDataProvider.d.ts +1 -4
  163. package/esm/ChartDataProvider/ChartDataProvider.js +18 -16
  164. package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +1 -3
  165. package/esm/ChartDataProvider/useChartDataProviderProps.js +4 -8
  166. package/esm/ChartsLabel/ChartsLabelMark.js +0 -4
  167. package/esm/ChartsLabel/index.d.ts +1 -0
  168. package/esm/ChartsLabel/index.js +1 -0
  169. package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  170. package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +48 -64
  171. package/esm/ChartsTooltip/ChartsItemTooltipContent.js +55 -11
  172. package/esm/ChartsTooltip/ChartsTooltip.js +2 -2
  173. package/esm/ChartsTooltip/ChartsTooltipContainer.js +8 -9
  174. package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +3 -1
  175. package/esm/ChartsTooltip/ChartsTooltipTable.js +23 -9
  176. package/esm/ChartsTooltip/chartsTooltipClasses.d.ts +4 -4
  177. package/esm/ChartsTooltip/chartsTooltipClasses.js +2 -2
  178. package/esm/ChartsTooltip/index.d.ts +4 -1
  179. package/esm/ChartsTooltip/index.js +2 -1
  180. package/esm/ChartsTooltip/useAxesTooltip.d.ts +7 -0
  181. package/esm/ChartsTooltip/useAxesTooltip.js +12 -0
  182. package/esm/ChartsTooltip/useAxisTooltip.d.ts +29 -7
  183. package/esm/ChartsTooltip/useAxisTooltip.js +127 -38
  184. package/esm/ChartsTooltip/useItemTooltip.d.ts +15 -11
  185. package/esm/ChartsTooltip/useItemTooltip.js +49 -5
  186. package/esm/ChartsXAxis/ChartsXAxis.js +5 -2
  187. package/esm/ChartsYAxis/ChartsYAxis.js +69 -17
  188. package/esm/Gauge/Gauge.js +10 -3
  189. package/esm/Gauge/GaugeContainer.js +5 -0
  190. package/esm/Gauge/GaugeValueArc.d.ts +7 -1
  191. package/esm/Gauge/GaugeValueArc.js +61 -10
  192. package/esm/Gauge/gaugeClasses.d.ts +1 -2
  193. package/esm/Gauge/gaugeClasses.js +1 -2
  194. package/esm/LineChart/AnimatedArea.js +5 -22
  195. package/esm/LineChart/AnimatedLine.d.ts +1 -4
  196. package/esm/LineChart/AnimatedLine.js +9 -24
  197. package/esm/LineChart/AppearingMask.d.ts +5 -0
  198. package/esm/LineChart/AppearingMask.js +23 -18
  199. package/esm/LineChart/AreaElement.d.ts +5 -0
  200. package/esm/LineChart/AreaElement.js +1 -1
  201. package/esm/LineChart/AreaPlot.js +1 -1
  202. package/esm/LineChart/CircleMarkElement.js +19 -25
  203. package/esm/LineChart/LineChart.js +659 -6
  204. package/esm/LineChart/LineElement.d.ts +5 -0
  205. package/esm/LineChart/LineElement.js +1 -1
  206. package/esm/LineChart/LineHighlightPlot.js +3 -4
  207. package/esm/LineChart/LinePlot.js +1 -1
  208. package/esm/LineChart/MarkElement.js +17 -28
  209. package/esm/LineChart/MarkPlot.js +1 -2
  210. package/esm/LineChart/markElementClasses.d.ts +8 -0
  211. package/esm/LineChart/markElementClasses.js +4 -3
  212. package/esm/LineChart/seriesConfig/getColor.js +6 -0
  213. package/esm/LineChart/seriesConfig/index.js +2 -1
  214. package/esm/LineChart/seriesConfig/tooltip.d.ts +2 -1
  215. package/esm/LineChart/seriesConfig/tooltip.js +6 -0
  216. package/esm/PieChart/PieArc.d.ts +24 -11
  217. package/esm/PieChart/PieArc.js +37 -24
  218. package/esm/PieChart/PieArcLabel.d.ts +27 -13
  219. package/esm/PieChart/PieArcLabel.js +51 -47
  220. package/esm/PieChart/PieArcLabelPlot.js +16 -34
  221. package/esm/PieChart/PieArcPlot.js +21 -34
  222. package/esm/PieChart/PiePlot.js +1 -1
  223. package/esm/PieChart/seriesConfig/tooltip.js +3 -0
  224. package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -8
  225. package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +53 -15
  226. package/esm/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -2
  227. package/esm/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +1 -1
  228. package/esm/RadarChart/RadarChart.d.ts +6 -4
  229. package/esm/RadarChart/RadarChart.js +11 -14
  230. package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +1 -1
  231. package/esm/RadarChart/RadarDataProvider/RadarDataProvider.js +1 -1
  232. package/esm/RadarChart/RadarGrid/CircularRadarGrid.js +11 -7
  233. package/esm/RadarChart/RadarGrid/CircularRadarStripes.d.ts +6 -0
  234. package/esm/RadarChart/RadarGrid/CircularRadarStripes.js +31 -0
  235. package/esm/RadarChart/RadarGrid/RadarGrid.js +53 -13
  236. package/esm/RadarChart/RadarGrid/RadarGrid.types.d.ts +26 -1
  237. package/esm/RadarChart/RadarGrid/SharpRadarGrid.js +11 -7
  238. package/esm/RadarChart/RadarGrid/SharpRadarStripes.d.ts +6 -0
  239. package/esm/RadarChart/RadarGrid/SharpRadarStripes.js +37 -0
  240. package/esm/RadarChart/RadarGrid/radarGridClasses.d.ts +12 -0
  241. package/esm/RadarChart/RadarGrid/radarGridClasses.js +15 -0
  242. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +16 -0
  243. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +53 -7
  244. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +16 -0
  245. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +58 -10
  246. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +21 -24
  247. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +1 -2
  248. package/esm/RadarChart/RadarSeriesPlot/index.d.ts +2 -2
  249. package/esm/RadarChart/RadarSeriesPlot/index.js +2 -2
  250. package/esm/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +6 -2
  251. package/esm/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +3 -1
  252. package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +2 -1
  253. package/esm/RadarChart/seriesConfig/index.js +2 -1
  254. package/esm/RadarChart/seriesConfig/tooltip.d.ts +2 -1
  255. package/esm/RadarChart/seriesConfig/tooltip.js +23 -9
  256. package/esm/RadarChart/useRadarChartProps.d.ts +0 -2
  257. package/esm/RadarChart/useRadarChartProps.js +4 -7
  258. package/esm/ScatterChart/Scatter.d.ts +2 -1
  259. package/esm/ScatterChart/ScatterChart.js +659 -6
  260. package/esm/ScatterChart/seriesConfig/getColor.js +9 -0
  261. package/esm/SparkLineChart/SparkLineChart.d.ts +3 -4
  262. package/esm/SparkLineChart/SparkLineChart.js +659 -6
  263. package/esm/colorPalettes/colorPalettes.js +2 -2
  264. package/esm/constants/index.d.ts +1 -1
  265. package/esm/constants/index.js +1 -1
  266. package/esm/context/ChartProvider/ChartProvider.d.ts +1 -1
  267. package/esm/context/ChartProvider/ChartProvider.types.d.ts +1 -2
  268. package/esm/hooks/animation/index.d.ts +7 -0
  269. package/esm/hooks/animation/index.js +7 -0
  270. package/esm/hooks/animation/useAnimate.d.ts +83 -0
  271. package/esm/hooks/animation/useAnimate.js +47 -0
  272. package/esm/hooks/animation/useAnimateArea.d.ts +15 -0
  273. package/esm/hooks/animation/useAnimateArea.js +24 -0
  274. package/esm/hooks/animation/useAnimateBar.d.ts +17 -0
  275. package/esm/hooks/animation/useAnimateBar.js +50 -0
  276. package/esm/hooks/animation/useAnimateBarLabel.d.ts +19 -0
  277. package/esm/hooks/animation/useAnimateBarLabel.js +53 -0
  278. package/esm/hooks/animation/useAnimateGaugeValueArc.d.ts +19 -0
  279. package/esm/hooks/animation/useAnimateGaugeValueArc.js +54 -0
  280. package/esm/hooks/animation/useAnimateLine.d.ts +14 -0
  281. package/esm/hooks/animation/useAnimateLine.js +23 -0
  282. package/esm/hooks/animation/useAnimatePieArc.d.ts +15 -0
  283. package/esm/hooks/animation/useAnimatePieArc.js +62 -0
  284. package/esm/hooks/animation/useAnimatePieArcLabel.d.ts +15 -0
  285. package/esm/hooks/animation/useAnimatePieArcLabel.js +68 -0
  286. package/esm/hooks/index.d.ts +2 -1
  287. package/esm/hooks/index.js +2 -1
  288. package/esm/hooks/useAxisSystem.d.ts +8 -0
  289. package/esm/hooks/useAxisSystem.js +26 -0
  290. package/esm/hooks/useInteractionItemProps.js +11 -0
  291. package/esm/hooks/useIsHydrated.js +1 -1
  292. package/{context/AnimationProvider → esm/hooks}/useSkipAnimation.d.ts +2 -2
  293. package/esm/hooks/useSkipAnimation.js +16 -0
  294. package/esm/index.js +1 -1
  295. package/esm/internals/animation/Transition.d.ts +37 -0
  296. package/esm/internals/animation/Transition.js +83 -0
  297. package/esm/internals/animation/animation.d.ts +4 -0
  298. package/esm/internals/animation/animation.js +4 -0
  299. package/esm/internals/animation/useAnimateInternal.d.ts +21 -0
  300. package/esm/internals/animation/useAnimateInternal.js +76 -0
  301. package/esm/internals/domUtils.js +11 -6
  302. package/esm/internals/index.d.ts +0 -2
  303. package/esm/internals/index.js +0 -2
  304. package/esm/internals/isCartesian.d.ts +2 -7
  305. package/esm/internals/isCartesian.js +0 -3
  306. package/esm/internals/isPolar.d.ts +2 -7
  307. package/esm/internals/isPolar.js +0 -3
  308. package/esm/internals/plugins/allPlugins.d.ts +1 -6
  309. package/esm/internals/plugins/allPlugins.js +0 -2
  310. package/esm/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  311. package/esm/internals/plugins/corePlugins/corePlugins.js +2 -1
  312. package/esm/internals/plugins/corePlugins/useChartAnimation/index.d.ts +3 -0
  313. package/esm/internals/plugins/corePlugins/useChartAnimation/index.js +2 -0
  314. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +3 -0
  315. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.js +88 -0
  316. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +31 -0
  317. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +3 -0
  318. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +39 -0
  319. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +23 -23
  320. package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +1 -1
  321. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  322. package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -5
  323. package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -0
  324. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +1 -1
  325. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +9 -3
  326. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +5 -0
  327. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.js +21 -0
  328. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -0
  329. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +1 -0
  330. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +8 -8
  331. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +7 -9
  332. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +2 -2
  333. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +127 -151
  334. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +9 -1
  335. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +55 -26
  336. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +10 -1
  337. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +23 -23
  338. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +9 -9
  339. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
  340. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +9 -3
  341. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +6 -0
  342. package/{modern/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.js → esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js} +0 -12
  343. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +5 -0
  344. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.js +21 -0
  345. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +106 -130
  346. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +3 -22
  347. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +7 -3669
  348. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +65 -9
  349. package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +1 -1
  350. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +1 -1
  351. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +0 -1
  352. package/esm/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +10 -1
  353. package/esm/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +0 -4
  354. package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +3 -1
  355. package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +72 -7
  356. package/esm/internals/shallowEqual.d.ts +8 -0
  357. package/esm/internals/shallowEqual.js +31 -0
  358. package/esm/internals/store/useCharts.d.ts +1 -1
  359. package/esm/internals/store/useSelector.js +1 -4
  360. package/esm/models/axis.d.ts +23 -3
  361. package/esm/models/axis.js +4 -0
  362. package/esm/models/index.d.ts +1 -1
  363. package/esm/models/seriesType/common.d.ts +1 -2
  364. package/esm/models/seriesType/index.d.ts +21 -1
  365. package/esm/models/seriesType/index.js +24 -0
  366. package/esm/models/seriesType/radar.d.ts +6 -2
  367. package/esm/themeAugmentation/overrides.d.ts +1 -1
  368. package/hooks/animation/index.d.ts +7 -0
  369. package/hooks/animation/index.js +82 -0
  370. package/hooks/animation/useAnimate.d.ts +83 -0
  371. package/hooks/animation/useAnimate.js +54 -0
  372. package/hooks/animation/useAnimateArea.d.ts +15 -0
  373. package/hooks/animation/useAnimateArea.js +30 -0
  374. package/hooks/animation/useAnimateBar.d.ts +17 -0
  375. package/hooks/animation/useAnimateBar.js +56 -0
  376. package/hooks/animation/useAnimateBarLabel.d.ts +19 -0
  377. package/hooks/animation/useAnimateBarLabel.js +59 -0
  378. package/hooks/animation/useAnimateGaugeValueArc.d.ts +19 -0
  379. package/hooks/animation/useAnimateGaugeValueArc.js +60 -0
  380. package/hooks/animation/useAnimateLine.d.ts +14 -0
  381. package/hooks/animation/useAnimateLine.js +29 -0
  382. package/hooks/animation/useAnimatePieArc.d.ts +15 -0
  383. package/hooks/animation/useAnimatePieArc.js +68 -0
  384. package/hooks/animation/useAnimatePieArcLabel.d.ts +15 -0
  385. package/hooks/animation/useAnimatePieArcLabel.js +74 -0
  386. package/hooks/index.d.ts +2 -1
  387. package/hooks/index.js +13 -1
  388. package/hooks/useAxisSystem.d.ts +8 -0
  389. package/hooks/useAxisSystem.js +30 -0
  390. package/hooks/useInteractionItemProps.js +11 -0
  391. package/hooks/useIsHydrated.js +1 -1
  392. package/{esm/context/AnimationProvider → hooks}/useSkipAnimation.d.ts +2 -2
  393. package/hooks/useSkipAnimation.js +20 -0
  394. package/index.js +1 -1
  395. package/internals/animation/Transition.d.ts +37 -0
  396. package/internals/animation/Transition.js +89 -0
  397. package/internals/animation/animation.d.ts +4 -0
  398. package/internals/animation/animation.js +11 -0
  399. package/internals/animation/useAnimateInternal.d.ts +21 -0
  400. package/internals/animation/useAnimateInternal.js +82 -0
  401. package/internals/domUtils.js +11 -6
  402. package/internals/index.d.ts +0 -2
  403. package/internals/index.js +0 -12
  404. package/internals/isCartesian.d.ts +2 -7
  405. package/internals/isCartesian.js +0 -4
  406. package/internals/isPolar.d.ts +2 -7
  407. package/internals/isPolar.js +0 -4
  408. package/internals/plugins/allPlugins.d.ts +1 -6
  409. package/internals/plugins/allPlugins.js +1 -3
  410. package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  411. package/internals/plugins/corePlugins/corePlugins.js +2 -1
  412. package/internals/plugins/corePlugins/useChartAnimation/index.d.ts +3 -0
  413. package/internals/plugins/corePlugins/useChartAnimation/index.js +27 -0
  414. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +3 -0
  415. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.js +96 -0
  416. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +31 -0
  417. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +9 -0
  418. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +39 -0
  419. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +23 -23
  420. package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +1 -1
  421. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  422. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -5
  423. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -0
  424. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +1 -1
  425. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +9 -3
  426. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +5 -0
  427. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.js +28 -0
  428. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -0
  429. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +12 -0
  430. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +8 -8
  431. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +7 -9
  432. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +2 -2
  433. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +127 -151
  434. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +9 -1
  435. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +56 -27
  436. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +10 -1
  437. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +23 -23
  438. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +9 -9
  439. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
  440. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +9 -3
  441. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +6 -0
  442. package/internals/plugins/featurePlugins/useChartPolarAxis/{getAxisValue.js → getAxisIndex.js} +0 -13
  443. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +5 -0
  444. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.js +28 -0
  445. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +106 -130
  446. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +3 -22
  447. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +7 -3669
  448. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +66 -10
  449. package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +1 -1
  450. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +1 -1
  451. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +0 -1
  452. package/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +10 -1
  453. package/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +0 -4
  454. package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +3 -1
  455. package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +72 -7
  456. package/internals/shallowEqual.d.ts +8 -0
  457. package/internals/shallowEqual.js +37 -0
  458. package/internals/store/useCharts.d.ts +1 -1
  459. package/internals/store/useSelector.js +1 -5
  460. package/models/axis.d.ts +23 -3
  461. package/models/axis.js +4 -0
  462. package/models/index.d.ts +1 -1
  463. package/models/seriesType/common.d.ts +1 -2
  464. package/models/seriesType/index.d.ts +21 -1
  465. package/models/seriesType/index.js +24 -0
  466. package/models/seriesType/radar.d.ts +6 -2
  467. package/package.json +9 -18
  468. package/themeAugmentation/overrides.d.ts +1 -1
  469. package/PieChart/dataTransform/transition.d.ts +0 -4
  470. package/PieChart/dataTransform/transition.js +0 -145
  471. package/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.d.ts +0 -13
  472. package/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.js +0 -54
  473. package/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.d.ts +0 -13
  474. package/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.js +0 -57
  475. package/context/AnimationProvider/Animation.types.d.ts +0 -15
  476. package/context/AnimationProvider/AnimationContext.d.ts +0 -4
  477. package/context/AnimationProvider/AnimationContext.js +0 -17
  478. package/context/AnimationProvider/AnimationProvider.d.ts +0 -4
  479. package/context/AnimationProvider/AnimationProvider.js +0 -60
  480. package/context/AnimationProvider/index.d.ts +0 -4
  481. package/context/AnimationProvider/index.js +0 -49
  482. package/context/AnimationProvider/useSkipAnimation.js +0 -25
  483. package/context/context.types.d.ts +0 -4
  484. package/context/context.types.js +0 -5
  485. package/esm/PieChart/dataTransform/transition.d.ts +0 -4
  486. package/esm/PieChart/dataTransform/transition.js +0 -137
  487. package/esm/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.d.ts +0 -13
  488. package/esm/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.js +0 -47
  489. package/esm/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.d.ts +0 -13
  490. package/esm/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.js +0 -50
  491. package/esm/context/AnimationProvider/Animation.types.d.ts +0 -15
  492. package/esm/context/AnimationProvider/AnimationContext.d.ts +0 -4
  493. package/esm/context/AnimationProvider/AnimationContext.js +0 -10
  494. package/esm/context/AnimationProvider/AnimationProvider.d.ts +0 -4
  495. package/esm/context/AnimationProvider/AnimationProvider.js +0 -55
  496. package/esm/context/AnimationProvider/index.d.ts +0 -4
  497. package/esm/context/AnimationProvider/index.js +0 -4
  498. package/esm/context/AnimationProvider/useSkipAnimation.js +0 -20
  499. package/esm/context/context.types.d.ts +0 -4
  500. package/esm/context/context.types.js +0 -1
  501. package/esm/hooks/getValueToPositionMapper.d.ts +0 -8
  502. package/esm/hooks/getValueToPositionMapper.js +0 -15
  503. package/esm/hooks/useAxisEvents.d.ts +0 -0
  504. package/esm/hooks/useAxisEvents.js +0 -0
  505. package/esm/internals/notNull.d.ts +0 -1
  506. package/esm/internals/notNull.js +0 -3
  507. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.d.ts +0 -11
  508. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.js +0 -38
  509. package/esm/internals/plugins/featurePlugins/useChartZAxis/utils.d.ts +0 -0
  510. package/esm/internals/plugins/featurePlugins/useChartZAxis/utils.js +0 -0
  511. package/esm/internals/useStringInterpolator.d.ts +0 -1
  512. package/esm/internals/useStringInterpolator.js +0 -21
  513. package/hooks/getValueToPositionMapper.d.ts +0 -8
  514. package/hooks/getValueToPositionMapper.js +0 -20
  515. package/hooks/useAxisEvents.d.ts +0 -0
  516. package/hooks/useAxisEvents.js +0 -1
  517. package/internals/notNull.d.ts +0 -1
  518. package/internals/notNull.js +0 -9
  519. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.d.ts +0 -11
  520. package/internals/plugins/featurePlugins/useChartZAxis/utils.d.ts +0 -0
  521. package/internals/plugins/featurePlugins/useChartZAxis/utils.js +0 -1
  522. package/internals/useStringInterpolator.d.ts +0 -1
  523. package/internals/useStringInterpolator.js +0 -30
  524. package/modern/BarChart/AnimatedBarElement.d.ts +0 -12
  525. package/modern/BarChart/AnimatedBarElement.js +0 -19
  526. package/modern/BarChart/BarChart.d.ts +0 -66
  527. package/modern/BarChart/BarChart.js +0 -321
  528. package/modern/BarChart/BarChart.plugins.d.ts +0 -7
  529. package/modern/BarChart/BarChart.plugins.js +0 -5
  530. package/modern/BarChart/BarClipPath.d.ts +0 -14
  531. package/modern/BarChart/BarClipPath.js +0 -42
  532. package/modern/BarChart/BarElement.d.ts +0 -50
  533. package/modern/BarChart/BarElement.js +0 -101
  534. package/modern/BarChart/BarLabel/BarLabel.d.ts +0 -861
  535. package/modern/BarChart/BarLabel/BarLabel.js +0 -53
  536. package/modern/BarChart/BarLabel/BarLabel.types.d.ts +0 -39
  537. package/modern/BarChart/BarLabel/BarLabel.types.js +0 -1
  538. package/modern/BarChart/BarLabel/BarLabelItem.d.ts +0 -54
  539. package/modern/BarChart/BarLabel/BarLabelItem.js +0 -119
  540. package/modern/BarChart/BarLabel/BarLabelPlot.d.ts +0 -13
  541. package/modern/BarChart/BarLabel/BarLabelPlot.js +0 -75
  542. package/modern/BarChart/BarLabel/barLabelClasses.d.ts +0 -13
  543. package/modern/BarChart/BarLabel/barLabelClasses.js +0 -19
  544. package/modern/BarChart/BarLabel/getBarLabel.d.ts +0 -10
  545. package/modern/BarChart/BarLabel/getBarLabel.js +0 -24
  546. package/modern/BarChart/BarLabel/index.d.ts +0 -6
  547. package/modern/BarChart/BarLabel/index.js +0 -2
  548. package/modern/BarChart/BarPlot.d.ts +0 -49
  549. package/modern/BarChart/BarPlot.js +0 -327
  550. package/modern/BarChart/checkScaleErrors.d.ts +0 -10
  551. package/modern/BarChart/checkScaleErrors.js +0 -33
  552. package/modern/BarChart/getRadius.d.ts +0 -20
  553. package/modern/BarChart/getRadius.js +0 -30
  554. package/modern/BarChart/index.d.ts +0 -4
  555. package/modern/BarChart/index.js +0 -4
  556. package/modern/BarChart/seriesConfig/extremums.d.ts +0 -3
  557. package/modern/BarChart/seriesConfig/extremums.js +0 -75
  558. package/modern/BarChart/seriesConfig/getColor.d.ts +0 -3
  559. package/modern/BarChart/seriesConfig/getColor.js +0 -28
  560. package/modern/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
  561. package/modern/BarChart/seriesConfig/getSeriesWithDefaultValues.js +0 -8
  562. package/modern/BarChart/seriesConfig/index.d.ts +0 -2
  563. package/modern/BarChart/seriesConfig/index.js +0 -15
  564. package/modern/BarChart/seriesConfig/legend.d.ts +0 -3
  565. package/modern/BarChart/seriesConfig/legend.js +0 -22
  566. package/modern/BarChart/seriesConfig/seriesProcessor.d.ts +0 -3
  567. package/modern/BarChart/seriesConfig/seriesProcessor.js +0 -73
  568. package/modern/BarChart/seriesConfig/tooltip.d.ts +0 -3
  569. package/modern/BarChart/seriesConfig/tooltip.js +0 -25
  570. package/modern/BarChart/types.d.ts +0 -23
  571. package/modern/BarChart/types.js +0 -1
  572. package/modern/BarChart/useBarChartProps.d.ts +0 -34
  573. package/modern/BarChart/useBarChartProps.js +0 -136
  574. package/modern/ChartContainer/ChartContainer.d.ts +0 -35
  575. package/modern/ChartContainer/ChartContainer.js +0 -396
  576. package/modern/ChartContainer/index.d.ts +0 -1
  577. package/modern/ChartContainer/index.js +0 -1
  578. package/modern/ChartContainer/useChartContainerProps.d.ts +0 -15
  579. package/modern/ChartContainer/useChartContainerProps.js +0 -71
  580. package/modern/ChartDataProvider/ChartDataProvider.d.ts +0 -41
  581. package/modern/ChartDataProvider/ChartDataProvider.js +0 -98
  582. package/modern/ChartDataProvider/index.d.ts +0 -1
  583. package/modern/ChartDataProvider/index.js +0 -1
  584. package/modern/ChartDataProvider/useChartDataProviderProps.d.ts +0 -11
  585. package/modern/ChartDataProvider/useChartDataProviderProps.js +0 -31
  586. package/modern/ChartsAxis/ChartsAxis.d.ts +0 -28
  587. package/modern/ChartsAxis/ChartsAxis.js +0 -69
  588. package/modern/ChartsAxis/axisClasses.d.ts +0 -33
  589. package/modern/ChartsAxis/axisClasses.js +0 -6
  590. package/modern/ChartsAxis/index.d.ts +0 -2
  591. package/modern/ChartsAxis/index.js +0 -2
  592. package/modern/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +0 -16
  593. package/modern/ChartsAxisHighlight/ChartsAxisHighlight.js +0 -50
  594. package/modern/ChartsAxisHighlight/ChartsAxisHighlight.types.d.ts +0 -5
  595. package/modern/ChartsAxisHighlight/ChartsAxisHighlight.types.js +0 -1
  596. package/modern/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +0 -6
  597. package/modern/ChartsAxisHighlight/ChartsAxisHighlightPath.js +0 -34
  598. package/modern/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +0 -10
  599. package/modern/ChartsAxisHighlight/ChartsXAxisHighlight.js +0 -53
  600. package/modern/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +0 -10
  601. package/modern/ChartsAxisHighlight/ChartsYAxisHighlight.js +0 -53
  602. package/modern/ChartsAxisHighlight/chartsAxisHighlightClasses.d.ts +0 -7
  603. package/modern/ChartsAxisHighlight/chartsAxisHighlightClasses.js +0 -6
  604. package/modern/ChartsAxisHighlight/index.d.ts +0 -4
  605. package/modern/ChartsAxisHighlight/index.js +0 -4
  606. package/modern/ChartsClipPath/ChartsClipPath.d.ts +0 -20
  607. package/modern/ChartsClipPath/ChartsClipPath.js +0 -53
  608. package/modern/ChartsClipPath/index.d.ts +0 -1
  609. package/modern/ChartsClipPath/index.js +0 -1
  610. package/modern/ChartsGrid/ChartsGrid.d.ts +0 -30
  611. package/modern/ChartsGrid/ChartsGrid.js +0 -91
  612. package/modern/ChartsGrid/ChartsHorizontalGrid.d.ts +0 -14
  613. package/modern/ChartsGrid/ChartsHorizontalGrid.js +0 -37
  614. package/modern/ChartsGrid/ChartsVerticalGrid.d.ts +0 -14
  615. package/modern/ChartsGrid/ChartsVerticalGrid.js +0 -37
  616. package/modern/ChartsGrid/chartsGridClasses.d.ts +0 -13
  617. package/modern/ChartsGrid/chartsGridClasses.js +0 -6
  618. package/modern/ChartsGrid/index.d.ts +0 -2
  619. package/modern/ChartsGrid/index.js +0 -2
  620. package/modern/ChartsGrid/styledComponents.d.ts +0 -2
  621. package/modern/ChartsGrid/styledComponents.js +0 -22
  622. package/modern/ChartsLabel/ChartsLabel.d.ts +0 -18
  623. package/modern/ChartsLabel/ChartsLabel.js +0 -43
  624. package/modern/ChartsLabel/ChartsLabelGradient.d.ts +0 -41
  625. package/modern/ChartsLabel/ChartsLabelGradient.js +0 -135
  626. package/modern/ChartsLabel/ChartsLabelMark.d.ts +0 -31
  627. package/modern/ChartsLabel/ChartsLabelMark.js +0 -124
  628. package/modern/ChartsLabel/index.d.ts +0 -7
  629. package/modern/ChartsLabel/index.js +0 -3
  630. package/modern/ChartsLabel/labelClasses.d.ts +0 -8
  631. package/modern/ChartsLabel/labelClasses.js +0 -13
  632. package/modern/ChartsLabel/labelGradientClasses.d.ts +0 -16
  633. package/modern/ChartsLabel/labelGradientClasses.js +0 -18
  634. package/modern/ChartsLabel/labelMarkClasses.d.ts +0 -18
  635. package/modern/ChartsLabel/labelMarkClasses.js +0 -18
  636. package/modern/ChartsLegend/ChartsLegend.d.ts +0 -27
  637. package/modern/ChartsLegend/ChartsLegend.js +0 -138
  638. package/modern/ChartsLegend/ContinuousColorLegend.d.ts +0 -56
  639. package/modern/ChartsLegend/ContinuousColorLegend.js +0 -271
  640. package/modern/ChartsLegend/PiecewiseColorLegend.d.ts +0 -42
  641. package/modern/ChartsLegend/PiecewiseColorLegend.js +0 -267
  642. package/modern/ChartsLegend/chartsLegend.types.d.ts +0 -26
  643. package/modern/ChartsLegend/chartsLegend.types.js +0 -1
  644. package/modern/ChartsLegend/chartsLegendClasses.d.ts +0 -18
  645. package/modern/ChartsLegend/chartsLegendClasses.js +0 -20
  646. package/modern/ChartsLegend/colorLegend.types.d.ts +0 -13
  647. package/modern/ChartsLegend/colorLegend.types.js +0 -1
  648. package/modern/ChartsLegend/continuousColorLegendClasses.d.ts +0 -26
  649. package/modern/ChartsLegend/continuousColorLegendClasses.js +0 -23
  650. package/modern/ChartsLegend/direction.d.ts +0 -1
  651. package/modern/ChartsLegend/direction.js +0 -1
  652. package/modern/ChartsLegend/index.d.ts +0 -16
  653. package/modern/ChartsLegend/index.js +0 -12
  654. package/modern/ChartsLegend/legend.types.d.ts +0 -9
  655. package/modern/ChartsLegend/legend.types.js +0 -1
  656. package/modern/ChartsLegend/legendContext.types.d.ts +0 -55
  657. package/modern/ChartsLegend/legendContext.types.js +0 -1
  658. package/modern/ChartsLegend/onClickContextBuilder.d.ts +0 -2
  659. package/modern/ChartsLegend/onClickContextBuilder.js +0 -7
  660. package/modern/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +0 -2
  661. package/modern/ChartsLegend/piecewiseColorDefaultLabelFormatter.js +0 -9
  662. package/modern/ChartsLegend/piecewiseColorLegend.types.d.ts +0 -26
  663. package/modern/ChartsLegend/piecewiseColorLegend.types.js +0 -1
  664. package/modern/ChartsLegend/piecewiseColorLegendClasses.d.ts +0 -28
  665. package/modern/ChartsLegend/piecewiseColorLegendClasses.js +0 -23
  666. package/modern/ChartsLegend/useAxis.d.ts +0 -10
  667. package/modern/ChartsLegend/useAxis.js +0 -42
  668. package/modern/ChartsOverlay/ChartsLoadingOverlay.d.ts +0 -3
  669. package/modern/ChartsOverlay/ChartsLoadingOverlay.js +0 -36
  670. package/modern/ChartsOverlay/ChartsNoDataOverlay.d.ts +0 -3
  671. package/modern/ChartsOverlay/ChartsNoDataOverlay.js +0 -36
  672. package/modern/ChartsOverlay/ChartsOverlay.d.ts +0 -45
  673. package/modern/ChartsOverlay/ChartsOverlay.js +0 -33
  674. package/modern/ChartsOverlay/index.d.ts +0 -4
  675. package/modern/ChartsOverlay/index.js +0 -3
  676. package/modern/ChartsReferenceLine/ChartsReferenceLine.d.ts +0 -10
  677. package/modern/ChartsReferenceLine/ChartsReferenceLine.js +0 -76
  678. package/modern/ChartsReferenceLine/ChartsXReferenceLine.d.ts +0 -13
  679. package/modern/ChartsReferenceLine/ChartsXReferenceLine.js +0 -102
  680. package/modern/ChartsReferenceLine/ChartsYReferenceLine.d.ts +0 -13
  681. package/modern/ChartsReferenceLine/ChartsYReferenceLine.js +0 -102
  682. package/modern/ChartsReferenceLine/chartsReferenceLineClasses.d.ts +0 -15
  683. package/modern/ChartsReferenceLine/chartsReferenceLineClasses.js +0 -6
  684. package/modern/ChartsReferenceLine/common.d.ts +0 -41
  685. package/modern/ChartsReferenceLine/common.js +0 -20
  686. package/modern/ChartsReferenceLine/index.d.ts +0 -2
  687. package/modern/ChartsReferenceLine/index.js +0 -2
  688. package/modern/ChartsSurface/ChartsSurface.d.ts +0 -25
  689. package/modern/ChartsSurface/ChartsSurface.js +0 -100
  690. package/modern/ChartsSurface/index.d.ts +0 -1
  691. package/modern/ChartsSurface/index.js +0 -1
  692. package/modern/ChartsText/ChartsText.d.ts +0 -17
  693. package/modern/ChartsText/ChartsText.js +0 -89
  694. package/modern/ChartsText/defaultTextPlacement.d.ts +0 -9
  695. package/modern/ChartsText/defaultTextPlacement.js +0 -34
  696. package/modern/ChartsText/index.d.ts +0 -3
  697. package/modern/ChartsText/index.js +0 -1
  698. package/modern/ChartsTooltip/ChartTooltip.types.d.ts +0 -15
  699. package/modern/ChartsTooltip/ChartTooltip.types.js +0 -1
  700. package/modern/ChartsTooltip/ChartsAxisTooltipContent.d.ts +0 -15
  701. package/modern/ChartsTooltip/ChartsAxisTooltipContent.js +0 -96
  702. package/modern/ChartsTooltip/ChartsItemTooltipContent.d.ts +0 -15
  703. package/modern/ChartsTooltip/ChartsItemTooltipContent.js +0 -65
  704. package/modern/ChartsTooltip/ChartsTooltip.d.ts +0 -17
  705. package/modern/ChartsTooltip/ChartsTooltip.js +0 -199
  706. package/modern/ChartsTooltip/ChartsTooltipContainer.d.ts +0 -33
  707. package/modern/ChartsTooltip/ChartsTooltipContainer.js +0 -296
  708. package/modern/ChartsTooltip/ChartsTooltipTable.d.ts +0 -16
  709. package/modern/ChartsTooltip/ChartsTooltipTable.js +0 -85
  710. package/modern/ChartsTooltip/chartsTooltipClasses.d.ts +0 -26
  711. package/modern/ChartsTooltip/chartsTooltipClasses.js +0 -22
  712. package/modern/ChartsTooltip/index.d.ts +0 -11
  713. package/modern/ChartsTooltip/index.js +0 -10
  714. package/modern/ChartsTooltip/useAxisTooltip.d.ts +0 -20
  715. package/modern/ChartsTooltip/useAxisTooltip.js +0 -88
  716. package/modern/ChartsTooltip/useItemTooltip.d.ts +0 -12
  717. package/modern/ChartsTooltip/useItemTooltip.js +0 -40
  718. package/modern/ChartsTooltip/utils.d.ts +0 -16
  719. package/modern/ChartsTooltip/utils.js +0 -84
  720. package/modern/ChartsXAxis/ChartsXAxis.d.ts +0 -16
  721. package/modern/ChartsXAxis/ChartsXAxis.js +0 -457
  722. package/modern/ChartsXAxis/index.d.ts +0 -1
  723. package/modern/ChartsXAxis/index.js +0 -1
  724. package/modern/ChartsYAxis/ChartsYAxis.d.ts +0 -16
  725. package/modern/ChartsYAxis/ChartsYAxis.js +0 -327
  726. package/modern/ChartsYAxis/index.d.ts +0 -1
  727. package/modern/ChartsYAxis/index.js +0 -1
  728. package/modern/Gauge/Gauge.d.ts +0 -10
  729. package/modern/Gauge/Gauge.js +0 -144
  730. package/modern/Gauge/GaugeContainer.d.ts +0 -10
  731. package/modern/Gauge/GaugeContainer.js +0 -174
  732. package/modern/Gauge/GaugeProvider.d.ts +0 -117
  733. package/modern/Gauge/GaugeProvider.js +0 -91
  734. package/modern/Gauge/GaugeReferenceArc.d.ts +0 -2
  735. package/modern/Gauge/GaugeReferenceArc.js +0 -37
  736. package/modern/Gauge/GaugeValueArc.d.ts +0 -2
  737. package/modern/Gauge/GaugeValueArc.js +0 -44
  738. package/modern/Gauge/GaugeValueText.d.ts +0 -15
  739. package/modern/Gauge/GaugeValueText.js +0 -71
  740. package/modern/Gauge/gaugeClasses.d.ts +0 -14
  741. package/modern/Gauge/gaugeClasses.js +0 -7
  742. package/modern/Gauge/index.d.ts +0 -7
  743. package/modern/Gauge/index.js +0 -7
  744. package/modern/Gauge/utils.d.ts +0 -24
  745. package/modern/Gauge/utils.js +0 -66
  746. package/modern/LineChart/AnimatedArea.d.ts +0 -26
  747. package/modern/LineChart/AnimatedArea.js +0 -78
  748. package/modern/LineChart/AnimatedLine.d.ts +0 -26
  749. package/modern/LineChart/AnimatedLine.js +0 -78
  750. package/modern/LineChart/AppearingMask.d.ts +0 -12
  751. package/modern/LineChart/AppearingMask.js +0 -43
  752. package/modern/LineChart/AreaElement.d.ts +0 -61
  753. package/modern/LineChart/AreaElement.js +0 -111
  754. package/modern/LineChart/AreaPlot.d.ts +0 -29
  755. package/modern/LineChart/AreaPlot.js +0 -215
  756. package/modern/LineChart/CircleMarkElement.d.ts +0 -30
  757. package/modern/LineChart/CircleMarkElement.js +0 -111
  758. package/modern/LineChart/LineChart.d.ts +0 -82
  759. package/modern/LineChart/LineChart.js +0 -321
  760. package/modern/LineChart/LineChart.plugins.d.ts +0 -7
  761. package/modern/LineChart/LineChart.plugins.js +0 -5
  762. package/modern/LineChart/LineElement.d.ts +0 -61
  763. package/modern/LineChart/LineElement.js +0 -111
  764. package/modern/LineChart/LineHighlightElement.d.ts +0 -36
  765. package/modern/LineChart/LineHighlightElement.js +0 -79
  766. package/modern/LineChart/LineHighlightPlot.d.ts +0 -36
  767. package/modern/LineChart/LineHighlightPlot.js +0 -122
  768. package/modern/LineChart/LinePlot.d.ts +0 -28
  769. package/modern/LineChart/LinePlot.js +0 -199
  770. package/modern/LineChart/MarkElement.d.ts +0 -32
  771. package/modern/LineChart/MarkElement.js +0 -124
  772. package/modern/LineChart/MarkPlot.d.ts +0 -42
  773. package/modern/LineChart/MarkPlot.js +0 -181
  774. package/modern/LineChart/index.d.ts +0 -13
  775. package/modern/LineChart/index.js +0 -12
  776. package/modern/LineChart/markElementClasses.d.ts +0 -20
  777. package/modern/LineChart/seriesConfig/extremums.d.ts +0 -3
  778. package/modern/LineChart/seriesConfig/extremums.js +0 -57
  779. package/modern/LineChart/seriesConfig/getColor.d.ts +0 -3
  780. package/modern/LineChart/seriesConfig/getColor.js +0 -26
  781. package/modern/LineChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
  782. package/modern/LineChart/seriesConfig/getSeriesWithDefaultValues.js +0 -8
  783. package/modern/LineChart/seriesConfig/index.d.ts +0 -2
  784. package/modern/LineChart/seriesConfig/index.js +0 -15
  785. package/modern/LineChart/seriesConfig/legend.d.ts +0 -3
  786. package/modern/LineChart/seriesConfig/legend.js +0 -22
  787. package/modern/LineChart/seriesConfig/seriesProcessor.d.ts +0 -3
  788. package/modern/LineChart/seriesConfig/seriesProcessor.js +0 -77
  789. package/modern/LineChart/seriesConfig/tooltip.d.ts +0 -3
  790. package/modern/LineChart/seriesConfig/tooltip.js +0 -25
  791. package/modern/LineChart/useLineChartProps.d.ts +0 -40
  792. package/modern/LineChart/useLineChartProps.js +0 -140
  793. package/modern/PieChart/PieArc.d.ts +0 -36
  794. package/modern/PieChart/PieArc.js +0 -108
  795. package/modern/PieChart/PieArcLabel.d.ts +0 -37
  796. package/modern/PieChart/PieArcLabel.js +0 -113
  797. package/modern/PieChart/PieArcLabelPlot.d.ts +0 -36
  798. package/modern/PieChart/PieArcLabelPlot.js +0 -197
  799. package/modern/PieChart/PieArcPlot.d.ts +0 -43
  800. package/modern/PieChart/PieArcPlot.js +0 -170
  801. package/modern/PieChart/PieChart.d.ts +0 -49
  802. package/modern/PieChart/PieChart.js +0 -201
  803. package/modern/PieChart/PieChart.plugins.d.ts +0 -5
  804. package/modern/PieChart/PieChart.plugins.js +0 -3
  805. package/modern/PieChart/PiePlot.d.ts +0 -32
  806. package/modern/PieChart/PiePlot.js +0 -163
  807. package/modern/PieChart/dataTransform/transition.d.ts +0 -4
  808. package/modern/PieChart/dataTransform/transition.js +0 -137
  809. package/modern/PieChart/dataTransform/useTransformData.d.ts +0 -16
  810. package/modern/PieChart/dataTransform/useTransformData.js +0 -50
  811. package/modern/PieChart/getPieCoordinates.d.ts +0 -7
  812. package/modern/PieChart/getPieCoordinates.js +0 -19
  813. package/modern/PieChart/index.d.ts +0 -7
  814. package/modern/PieChart/index.js +0 -7
  815. package/modern/PieChart/seriesConfig/getColor.d.ts +0 -3
  816. package/modern/PieChart/seriesConfig/getColor.js +0 -6
  817. package/modern/PieChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
  818. package/modern/PieChart/seriesConfig/getSeriesWithDefaultValues.js +0 -11
  819. package/modern/PieChart/seriesConfig/index.d.ts +0 -2
  820. package/modern/PieChart/seriesConfig/index.js +0 -12
  821. package/modern/PieChart/seriesConfig/legend.d.ts +0 -3
  822. package/modern/PieChart/seriesConfig/legend.js +0 -25
  823. package/modern/PieChart/seriesConfig/seriesProcessor.d.ts +0 -3
  824. package/modern/PieChart/seriesConfig/seriesProcessor.js +0 -49
  825. package/modern/PieChart/seriesConfig/tooltip.d.ts +0 -3
  826. package/modern/PieChart/seriesConfig/tooltip.js +0 -29
  827. package/modern/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +0 -20
  828. package/modern/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +0 -42
  829. package/modern/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.d.ts +0 -13
  830. package/modern/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.js +0 -47
  831. package/modern/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.d.ts +0 -13
  832. package/modern/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.js +0 -50
  833. package/modern/RadarChart/RadarAxisHighlight/index.d.ts +0 -1
  834. package/modern/RadarChart/RadarAxisHighlight/index.js +0 -1
  835. package/modern/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -13
  836. package/modern/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +0 -6
  837. package/modern/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +0 -62
  838. package/modern/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +0 -96
  839. package/modern/RadarChart/RadarChart.d.ts +0 -25
  840. package/modern/RadarChart/RadarChart.js +0 -177
  841. package/modern/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +0 -30
  842. package/modern/RadarChart/RadarDataProvider/RadarDataProvider.js +0 -192
  843. package/modern/RadarChart/RadarDataProvider/index.d.ts +0 -1
  844. package/modern/RadarChart/RadarDataProvider/index.js +0 -1
  845. package/modern/RadarChart/RadarDataProvider/radar.types.d.ts +0 -43
  846. package/modern/RadarChart/RadarDataProvider/radar.types.js +0 -1
  847. package/modern/RadarChart/RadarGrid/CircularRadarGrid.d.ts +0 -6
  848. package/modern/RadarChart/RadarGrid/CircularRadarGrid.js +0 -36
  849. package/modern/RadarChart/RadarGrid/RadarGrid.d.ts +0 -7
  850. package/modern/RadarChart/RadarGrid/RadarGrid.js +0 -49
  851. package/modern/RadarChart/RadarGrid/RadarGrid.types.d.ts +0 -24
  852. package/modern/RadarChart/RadarGrid/RadarGrid.types.js +0 -1
  853. package/modern/RadarChart/RadarGrid/SharpRadarGrid.d.ts +0 -6
  854. package/modern/RadarChart/RadarGrid/SharpRadarGrid.js +0 -36
  855. package/modern/RadarChart/RadarGrid/index.d.ts +0 -2
  856. package/modern/RadarChart/RadarGrid/index.js +0 -2
  857. package/modern/RadarChart/RadarGrid/useRadarGridData.d.ts +0 -11
  858. package/modern/RadarChart/RadarGrid/useRadarGridData.js +0 -38
  859. package/modern/RadarChart/RadarMetricLabels/RadarMetricLabels.d.ts +0 -3
  860. package/modern/RadarChart/RadarMetricLabels/RadarMetricLabels.js +0 -35
  861. package/modern/RadarChart/RadarMetricLabels/index.d.ts +0 -1
  862. package/modern/RadarChart/RadarMetricLabels/index.js +0 -1
  863. package/modern/RadarChart/RadarMetricLabels/useRadarMetricData.d.ts +0 -8
  864. package/modern/RadarChart/RadarMetricLabels/useRadarMetricData.js +0 -35
  865. package/modern/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +0 -7
  866. package/modern/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +0 -39
  867. package/modern/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +0 -7
  868. package/modern/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +0 -38
  869. package/modern/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +0 -7
  870. package/modern/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +0 -68
  871. package/modern/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +0 -18
  872. package/modern/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.js +0 -1
  873. package/modern/RadarChart/RadarSeriesPlot/getAreaPath.d.ts +0 -4
  874. package/modern/RadarChart/RadarSeriesPlot/getAreaPath.js +0 -3
  875. package/modern/RadarChart/RadarSeriesPlot/index.d.ts +0 -6
  876. package/modern/RadarChart/RadarSeriesPlot/index.js +0 -4
  877. package/modern/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +0 -12
  878. package/modern/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +0 -15
  879. package/modern/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +0 -27
  880. package/modern/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +0 -62
  881. package/modern/RadarChart/index.d.ts +0 -8
  882. package/modern/RadarChart/index.js +0 -6
  883. package/modern/RadarChart/seriesConfig/extremums.d.ts +0 -3
  884. package/modern/RadarChart/seriesConfig/extremums.js +0 -18
  885. package/modern/RadarChart/seriesConfig/formatter.d.ts +0 -3
  886. package/modern/RadarChart/seriesConfig/formatter.js +0 -12
  887. package/modern/RadarChart/seriesConfig/getColor.d.ts +0 -3
  888. package/modern/RadarChart/seriesConfig/getColor.js +0 -4
  889. package/modern/RadarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
  890. package/modern/RadarChart/seriesConfig/getSeriesWithDefaultValues.js +0 -8
  891. package/modern/RadarChart/seriesConfig/index.d.ts +0 -2
  892. package/modern/RadarChart/seriesConfig/index.js +0 -15
  893. package/modern/RadarChart/seriesConfig/legend.d.ts +0 -3
  894. package/modern/RadarChart/seriesConfig/legend.js +0 -22
  895. package/modern/RadarChart/seriesConfig/tooltip.d.ts +0 -3
  896. package/modern/RadarChart/seriesConfig/tooltip.js +0 -25
  897. package/modern/RadarChart/useRadarChartProps.d.ts +0 -26
  898. package/modern/RadarChart/useRadarChartProps.js +0 -77
  899. package/modern/ScatterChart/Scatter.d.ts +0 -36
  900. package/modern/ScatterChart/Scatter.js +0 -134
  901. package/modern/ScatterChart/ScatterChart.d.ts +0 -70
  902. package/modern/ScatterChart/ScatterChart.js +0 -337
  903. package/modern/ScatterChart/ScatterChart.plugins.d.ts +0 -8
  904. package/modern/ScatterChart/ScatterChart.plugins.js +0 -6
  905. package/modern/ScatterChart/ScatterMarker.d.ts +0 -46
  906. package/modern/ScatterChart/ScatterMarker.js +0 -70
  907. package/modern/ScatterChart/ScatterMarker.types.d.ts +0 -24
  908. package/modern/ScatterChart/ScatterMarker.types.js +0 -1
  909. package/modern/ScatterChart/ScatterPlot.d.ts +0 -35
  910. package/modern/ScatterChart/ScatterPlot.js +0 -99
  911. package/modern/ScatterChart/index.d.ts +0 -5
  912. package/modern/ScatterChart/index.js +0 -5
  913. package/modern/ScatterChart/seriesConfig/extremums.d.ts +0 -3
  914. package/modern/ScatterChart/seriesConfig/extremums.js +0 -55
  915. package/modern/ScatterChart/seriesConfig/getColor.d.ts +0 -3
  916. package/modern/ScatterChart/seriesConfig/getColor.js +0 -43
  917. package/modern/ScatterChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
  918. package/modern/ScatterChart/seriesConfig/getSeriesWithDefaultValues.js +0 -8
  919. package/modern/ScatterChart/seriesConfig/index.d.ts +0 -2
  920. package/modern/ScatterChart/seriesConfig/index.js +0 -15
  921. package/modern/ScatterChart/seriesConfig/legend.d.ts +0 -3
  922. package/modern/ScatterChart/seriesConfig/legend.js +0 -22
  923. package/modern/ScatterChart/seriesConfig/seriesProcessor.d.ts +0 -3
  924. package/modern/ScatterChart/seriesConfig/seriesProcessor.js +0 -33
  925. package/modern/ScatterChart/seriesConfig/tooltip.d.ts +0 -3
  926. package/modern/ScatterChart/seriesConfig/tooltip.js +0 -25
  927. package/modern/ScatterChart/useScatterChartProps.d.ts +0 -29
  928. package/modern/ScatterChart/useScatterChartProps.js +0 -102
  929. package/modern/SparkLineChart/SparkLineChart.d.ts +0 -101
  930. package/modern/SparkLineChart/SparkLineChart.js +0 -374
  931. package/modern/SparkLineChart/index.d.ts +0 -1
  932. package/modern/SparkLineChart/index.js +0 -1
  933. package/modern/colorPalettes/colorPalettes.d.ts +0 -16
  934. package/modern/colorPalettes/colorPalettes.js +0 -12
  935. package/modern/colorPalettes/index.d.ts +0 -1
  936. package/modern/colorPalettes/index.js +0 -1
  937. package/modern/constants/index.d.ts +0 -13
  938. package/modern/constants/index.js +0 -15
  939. package/modern/context/AnimationProvider/Animation.types.d.ts +0 -15
  940. package/modern/context/AnimationProvider/Animation.types.js +0 -1
  941. package/modern/context/AnimationProvider/AnimationContext.d.ts +0 -4
  942. package/modern/context/AnimationProvider/AnimationContext.js +0 -10
  943. package/modern/context/AnimationProvider/AnimationProvider.d.ts +0 -4
  944. package/modern/context/AnimationProvider/AnimationProvider.js +0 -55
  945. package/modern/context/AnimationProvider/index.d.ts +0 -4
  946. package/modern/context/AnimationProvider/index.js +0 -4
  947. package/modern/context/AnimationProvider/useSkipAnimation.d.ts +0 -6
  948. package/modern/context/AnimationProvider/useSkipAnimation.js +0 -20
  949. package/modern/context/ChartProvider/ChartContext.d.ts +0 -6
  950. package/modern/context/ChartProvider/ChartContext.js +0 -8
  951. package/modern/context/ChartProvider/ChartProvider.d.ts +0 -8
  952. package/modern/context/ChartProvider/ChartProvider.js +0 -40
  953. package/modern/context/ChartProvider/ChartProvider.types.d.ts +0 -39
  954. package/modern/context/ChartProvider/ChartProvider.types.js +0 -1
  955. package/modern/context/ChartProvider/index.d.ts +0 -3
  956. package/modern/context/ChartProvider/index.js +0 -3
  957. package/modern/context/ChartProvider/useChartContext.d.ts +0 -3
  958. package/modern/context/ChartProvider/useChartContext.js +0 -11
  959. package/modern/context/context.types.d.ts +0 -4
  960. package/modern/context/context.types.js +0 -1
  961. package/modern/context/index.d.ts +0 -1
  962. package/modern/context/index.js +0 -1
  963. package/modern/hooks/getValueToPositionMapper.d.ts +0 -8
  964. package/modern/hooks/getValueToPositionMapper.js +0 -15
  965. package/modern/hooks/index.d.ts +0 -16
  966. package/modern/hooks/index.js +0 -16
  967. package/modern/hooks/useAxis.d.ts +0 -51
  968. package/modern/hooks/useAxis.js +0 -119
  969. package/modern/hooks/useAxisEvents.d.ts +0 -0
  970. package/modern/hooks/useAxisEvents.js +0 -0
  971. package/modern/hooks/useBarSeries.d.ts +0 -36
  972. package/modern/hooks/useBarSeries.js +0 -43
  973. package/modern/hooks/useChartGradientId.d.ts +0 -31
  974. package/modern/hooks/useChartGradientId.js +0 -47
  975. package/modern/hooks/useChartId.d.ts +0 -5
  976. package/modern/hooks/useChartId.js +0 -14
  977. package/modern/hooks/useColorScale.d.ts +0 -22
  978. package/modern/hooks/useColorScale.js +0 -37
  979. package/modern/hooks/useDrawingArea.d.ts +0 -16
  980. package/modern/hooks/useDrawingArea.js +0 -16
  981. package/modern/hooks/useInteractionItemProps.d.ts +0 -16
  982. package/modern/hooks/useInteractionItemProps.js +0 -76
  983. package/modern/hooks/useIsHydrated.d.ts +0 -4
  984. package/modern/hooks/useIsHydrated.js +0 -14
  985. package/modern/hooks/useItemHighlighted.d.ts +0 -23
  986. package/modern/hooks/useItemHighlighted.js +0 -23
  987. package/modern/hooks/useItemHighlightedGetter.d.ts +0 -12
  988. package/modern/hooks/useItemHighlightedGetter.js +0 -23
  989. package/modern/hooks/useLegend.d.ts +0 -13
  990. package/modern/hooks/useLegend.js +0 -30
  991. package/modern/hooks/useLineSeries.d.ts +0 -36
  992. package/modern/hooks/useLineSeries.js +0 -43
  993. package/modern/hooks/useMounted.d.ts +0 -1
  994. package/modern/hooks/useMounted.js +0 -18
  995. package/modern/hooks/usePieSeries.d.ts +0 -35
  996. package/modern/hooks/usePieSeries.js +0 -42
  997. package/modern/hooks/useRadarSeries.d.ts +0 -35
  998. package/modern/hooks/useRadarSeries.js +0 -42
  999. package/modern/hooks/useScale.d.ts +0 -24
  1000. package/modern/hooks/useScale.js +0 -47
  1001. package/modern/hooks/useScatterSeries.d.ts +0 -35
  1002. package/modern/hooks/useScatterSeries.js +0 -42
  1003. package/modern/hooks/useSeries.d.ts +0 -7
  1004. package/modern/hooks/useSeries.js +0 -15
  1005. package/modern/hooks/useSvgRef.d.ts +0 -6
  1006. package/modern/hooks/useSvgRef.js +0 -15
  1007. package/modern/hooks/useTicks.d.ts +0 -59
  1008. package/modern/hooks/useTicks.js +0 -91
  1009. package/modern/hooks/useZAxis.d.ts +0 -7
  1010. package/modern/hooks/useZAxis.js +0 -27
  1011. package/modern/index.d.ts +0 -26
  1012. package/modern/index.js +0 -33
  1013. package/modern/internals/angleConversion.d.ts +0 -2
  1014. package/modern/internals/angleConversion.js +0 -12
  1015. package/modern/internals/clampAngle.d.ts +0 -6
  1016. package/modern/internals/clampAngle.js +0 -11
  1017. package/modern/internals/cleanId.d.ts +0 -4
  1018. package/modern/internals/cleanId.js +0 -6
  1019. package/modern/internals/colorScale.d.ts +0 -5
  1020. package/modern/internals/colorScale.js +0 -16
  1021. package/modern/internals/components/AxisSharedComponents.d.ts +0 -1
  1022. package/modern/internals/components/AxisSharedComponents.js +0 -26
  1023. package/modern/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +0 -2
  1024. package/modern/internals/components/ChartsAxesGradients/ChartsAxesGradients.js +0 -133
  1025. package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +0 -19
  1026. package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +0 -56
  1027. package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +0 -13
  1028. package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +0 -61
  1029. package/modern/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +0 -12
  1030. package/modern/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.js +0 -46
  1031. package/modern/internals/components/ChartsAxesGradients/index.d.ts +0 -1
  1032. package/modern/internals/components/ChartsAxesGradients/index.js +0 -1
  1033. package/modern/internals/components/ChartsWrapper/ChartsWrapper.d.ts +0 -18
  1034. package/modern/internals/components/ChartsWrapper/ChartsWrapper.js +0 -66
  1035. package/modern/internals/components/ChartsWrapper/index.d.ts +0 -1
  1036. package/modern/internals/components/ChartsWrapper/index.js +0 -1
  1037. package/modern/internals/configInit.d.ts +0 -16
  1038. package/modern/internals/configInit.js +0 -38
  1039. package/modern/internals/consumeSlots.d.ts +0 -48
  1040. package/modern/internals/consumeSlots.js +0 -97
  1041. package/modern/internals/consumeThemeProps.d.ts +0 -50
  1042. package/modern/internals/consumeThemeProps.js +0 -70
  1043. package/modern/internals/createSeriesSelectorOfType.d.ts +0 -4
  1044. package/modern/internals/createSeriesSelectorOfType.js +0 -43
  1045. package/modern/internals/defaultizeMargin.d.ts +0 -3
  1046. package/modern/internals/defaultizeMargin.js +0 -15
  1047. package/modern/internals/defaultizeValueFormatter.d.ts +0 -6
  1048. package/modern/internals/defaultizeValueFormatter.js +0 -10
  1049. package/modern/internals/degToRad.d.ts +0 -2
  1050. package/modern/internals/degToRad.js +0 -4
  1051. package/modern/internals/domUtils.d.ts +0 -18
  1052. package/modern/internals/domUtils.js +0 -129
  1053. package/modern/internals/ellipsize.d.ts +0 -20
  1054. package/modern/internals/ellipsize.js +0 -53
  1055. package/modern/internals/geometry.d.ts +0 -9
  1056. package/modern/internals/geometry.js +0 -35
  1057. package/modern/internals/getCurve.d.ts +0 -2
  1058. package/modern/internals/getCurve.js +0 -27
  1059. package/modern/internals/getGraphemeCount.d.ts +0 -4
  1060. package/modern/internals/getGraphemeCount.js +0 -19
  1061. package/modern/internals/getLabel.d.ts +0 -1
  1062. package/modern/internals/getLabel.js +0 -3
  1063. package/modern/internals/getPercentageValue.d.ts +0 -7
  1064. package/modern/internals/getPercentageValue.js +0 -28
  1065. package/modern/internals/getSVGPoint.d.ts +0 -6
  1066. package/modern/internals/getSVGPoint.js +0 -11
  1067. package/modern/internals/getScale.d.ts +0 -2
  1068. package/modern/internals/getScale.js +0 -17
  1069. package/modern/internals/getSymbol.d.ts +0 -2
  1070. package/modern/internals/getSymbol.js +0 -21
  1071. package/modern/internals/getWordsByLines.d.ts +0 -33
  1072. package/modern/internals/getWordsByLines.js +0 -14
  1073. package/modern/internals/index.d.ts +0 -49
  1074. package/modern/internals/index.js +0 -63
  1075. package/modern/internals/invertTextAnchor.d.ts +0 -2
  1076. package/modern/internals/invertTextAnchor.js +0 -10
  1077. package/modern/internals/isBandScale.d.ts +0 -5
  1078. package/modern/internals/isBandScale.js +0 -3
  1079. package/modern/internals/isCartesian.d.ts +0 -7
  1080. package/modern/internals/isCartesian.js +0 -7
  1081. package/modern/internals/isDefined.d.ts +0 -1
  1082. package/modern/internals/isDefined.js +0 -3
  1083. package/modern/internals/isInfinity.d.ts +0 -1
  1084. package/modern/internals/isInfinity.js +0 -3
  1085. package/modern/internals/isPolar.d.ts +0 -7
  1086. package/modern/internals/isPolar.js +0 -7
  1087. package/modern/internals/notNull.d.ts +0 -1
  1088. package/modern/internals/notNull.js +0 -3
  1089. package/modern/internals/plugins/allPlugins.d.ts +0 -14
  1090. package/modern/internals/plugins/allPlugins.js +0 -10
  1091. package/modern/internals/plugins/corePlugins/corePlugins.d.ts +0 -9
  1092. package/modern/internals/plugins/corePlugins/corePlugins.js +0 -9
  1093. package/modern/internals/plugins/corePlugins/index.d.ts +0 -2
  1094. package/modern/internals/plugins/corePlugins/index.js +0 -1
  1095. package/modern/internals/plugins/corePlugins/useChartDimensions/index.d.ts +0 -3
  1096. package/modern/internals/plugins/corePlugins/useChartDimensions/index.js +0 -2
  1097. package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +0 -3
  1098. package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +0 -196
  1099. package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +0 -708
  1100. package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +0 -26
  1101. package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +0 -90
  1102. package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.js +0 -1
  1103. package/modern/internals/plugins/corePlugins/useChartId/index.d.ts +0 -3
  1104. package/modern/internals/plugins/corePlugins/useChartId/index.js +0 -2
  1105. package/modern/internals/plugins/corePlugins/useChartId/useChartId.d.ts +0 -3
  1106. package/modern/internals/plugins/corePlugins/useChartId/useChartId.js +0 -32
  1107. package/modern/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +0 -36
  1108. package/modern/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +0 -9
  1109. package/modern/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +0 -20
  1110. package/modern/internals/plugins/corePlugins/useChartId/useChartId.types.js +0 -1
  1111. package/modern/internals/plugins/corePlugins/useChartId/useChartId.utils.d.ts +0 -1
  1112. package/modern/internals/plugins/corePlugins/useChartId/useChartId.utils.js +0 -5
  1113. package/modern/internals/plugins/corePlugins/useChartSeries/index.d.ts +0 -3
  1114. package/modern/internals/plugins/corePlugins/useChartSeries/index.js +0 -2
  1115. package/modern/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +0 -23
  1116. package/modern/internals/plugins/corePlugins/useChartSeries/processSeries.js +0 -44
  1117. package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +0 -3
  1118. package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +0 -71
  1119. package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +0 -61
  1120. package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +0 -4
  1121. package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +0 -51
  1122. package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.js +0 -1
  1123. package/modern/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +0 -8
  1124. package/modern/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +0 -21
  1125. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +0 -29
  1126. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +0 -135
  1127. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +0 -22
  1128. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +0 -63
  1129. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +0 -4
  1130. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +0 -13
  1131. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +0 -6
  1132. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +0 -92
  1133. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +0 -4
  1134. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +0 -25
  1135. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.d.ts +0 -6
  1136. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.js +0 -22
  1137. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +0 -11
  1138. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js +0 -65
  1139. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +0 -8
  1140. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +0 -7
  1141. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +0 -216
  1142. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +0 -6
  1143. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +0 -3
  1144. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +0 -170
  1145. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +0 -75
  1146. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.js +0 -1
  1147. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +0 -70
  1148. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +0 -4
  1149. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +0 -3106
  1150. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +0 -89
  1151. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +0 -1
  1152. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +0 -41
  1153. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.d.ts +0 -10
  1154. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.js +0 -19
  1155. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.d.ts +0 -10
  1156. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.js +0 -19
  1157. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +0 -68
  1158. package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.js +0 -1
  1159. package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +0 -3
  1160. package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.js +0 -12
  1161. package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +0 -3
  1162. package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.js +0 -12
  1163. package/modern/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.d.ts +0 -20
  1164. package/modern/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js +0 -1
  1165. package/modern/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +0 -4
  1166. package/modern/internals/plugins/featurePlugins/useChartHighlight/index.js +0 -2
  1167. package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +0 -3
  1168. package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +0 -44
  1169. package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +0 -634
  1170. package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +0 -31
  1171. package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +0 -71
  1172. package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.js +0 -1
  1173. package/modern/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -3
  1174. package/modern/internals/plugins/featurePlugins/useChartInteraction/index.js +0 -2
  1175. package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +0 -3
  1176. package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +0 -67
  1177. package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -242
  1178. package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +0 -8
  1179. package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +0 -43
  1180. package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.js +0 -1
  1181. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +0 -27
  1182. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +0 -128
  1183. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.d.ts +0 -12
  1184. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.js +0 -8
  1185. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +0 -5
  1186. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.js +0 -24
  1187. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +0 -5
  1188. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.js +0 -21
  1189. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.d.ts +0 -11
  1190. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/index.d.ts +0 -3
  1191. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/index.js +0 -2
  1192. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +0 -3
  1193. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +0 -164
  1194. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +0 -2056
  1195. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +0 -30
  1196. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +0 -85
  1197. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.js +0 -1
  1198. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +0 -3669
  1199. package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +0 -22
  1200. package/modern/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +0 -3
  1201. package/modern/internals/plugins/featurePlugins/useChartVoronoi/index.js +0 -2
  1202. package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.d.ts +0 -3
  1203. package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.js +0 -231
  1204. package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +0 -29
  1205. package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +0 -3
  1206. package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.d.ts +0 -54
  1207. package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.js +0 -1
  1208. package/modern/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +0 -3
  1209. package/modern/internals/plugins/featurePlugins/useChartZAxis/index.js +0 -2
  1210. package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +0 -3
  1211. package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +0 -86
  1212. package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +0 -45
  1213. package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.js +0 -3
  1214. package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +0 -38
  1215. package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.js +0 -1
  1216. package/modern/internals/plugins/featurePlugins/useChartZAxis/utils.d.ts +0 -0
  1217. package/modern/internals/plugins/featurePlugins/useChartZAxis/utils.js +0 -0
  1218. package/modern/internals/plugins/models/chart.d.ts +0 -14
  1219. package/modern/internals/plugins/models/chart.js +0 -1
  1220. package/modern/internals/plugins/models/helpers.d.ts +0 -7
  1221. package/modern/internals/plugins/models/helpers.js +0 -1
  1222. package/modern/internals/plugins/models/index.d.ts +0 -4
  1223. package/modern/internals/plugins/models/index.js +0 -4
  1224. package/modern/internals/plugins/models/plugin.d.ts +0 -171
  1225. package/modern/internals/plugins/models/plugin.js +0 -1
  1226. package/modern/internals/plugins/models/seriesConfig/cartesianExtremumGetter.types.d.ts +0 -22
  1227. package/modern/internals/plugins/models/seriesConfig/cartesianExtremumGetter.types.js +0 -1
  1228. package/modern/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +0 -5
  1229. package/modern/internals/plugins/models/seriesConfig/colorProcessor.types.js +0 -1
  1230. package/modern/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +0 -3
  1231. package/modern/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.js +0 -1
  1232. package/modern/internals/plugins/models/seriesConfig/index.d.ts +0 -8
  1233. package/modern/internals/plugins/models/seriesConfig/index.js +0 -8
  1234. package/modern/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +0 -4
  1235. package/modern/internals/plugins/models/seriesConfig/legendGetter.types.js +0 -1
  1236. package/modern/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +0 -16
  1237. package/modern/internals/plugins/models/seriesConfig/polarExtremumGetter.types.js +0 -1
  1238. package/modern/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +0 -22
  1239. package/modern/internals/plugins/models/seriesConfig/seriesConfig.types.js +0 -1
  1240. package/modern/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +0 -16
  1241. package/modern/internals/plugins/models/seriesConfig/seriesProcessor.types.js +0 -1
  1242. package/modern/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +0 -7
  1243. package/modern/internals/plugins/models/seriesConfig/tooltipGetter.types.js +0 -1
  1244. package/modern/internals/plugins/utils/ChartStore.d.ts +0 -13
  1245. package/modern/internals/plugins/utils/ChartStore.js +0 -24
  1246. package/modern/internals/plugins/utils/selectors.d.ts +0 -10
  1247. package/modern/internals/plugins/utils/selectors.js +0 -37
  1248. package/modern/internals/sliceUntil.d.ts +0 -4
  1249. package/modern/internals/sliceUntil.js +0 -22
  1250. package/modern/internals/stackSeries.d.ts +0 -25
  1251. package/modern/internals/stackSeries.js +0 -94
  1252. package/modern/internals/store/extractPluginParamsFromProps.d.ts +0 -13
  1253. package/modern/internals/store/extractPluginParamsFromProps.js +0 -28
  1254. package/modern/internals/store/useChartModels.d.ts +0 -7
  1255. package/modern/internals/store/useChartModels.js +0 -64
  1256. package/modern/internals/store/useCharts.d.ts +0 -25
  1257. package/modern/internals/store/useCharts.js +0 -85
  1258. package/modern/internals/store/useCharts.types.d.ts +0 -5
  1259. package/modern/internals/store/useCharts.types.js +0 -1
  1260. package/modern/internals/store/useSelector.d.ts +0 -4
  1261. package/modern/internals/store/useSelector.js +0 -9
  1262. package/modern/internals/store/useStore.d.ts +0 -5
  1263. package/modern/internals/store/useStore.js +0 -9
  1264. package/modern/internals/ts-generic.d.ts +0 -3
  1265. package/modern/internals/ts-generic.js +0 -1
  1266. package/modern/internals/useStringInterpolator.d.ts +0 -1
  1267. package/modern/internals/useStringInterpolator.js +0 -21
  1268. package/modern/models/axis.d.ts +0 -388
  1269. package/modern/models/axis.js +0 -19
  1270. package/modern/models/colorMapping.d.ts +0 -46
  1271. package/modern/models/colorMapping.js +0 -1
  1272. package/modern/models/curve.d.ts +0 -6
  1273. package/modern/models/curve.js +0 -1
  1274. package/modern/models/index.d.ts +0 -6
  1275. package/modern/models/index.js +0 -5
  1276. package/modern/models/position.d.ts +0 -10
  1277. package/modern/models/position.js +0 -1
  1278. package/modern/models/seriesType/bar.d.ts +0 -38
  1279. package/modern/models/seriesType/bar.js +0 -1
  1280. package/modern/models/seriesType/common.d.ts +0 -60
  1281. package/modern/models/seriesType/common.js +0 -1
  1282. package/modern/models/seriesType/config.d.ts +0 -91
  1283. package/modern/models/seriesType/config.js +0 -1
  1284. package/modern/models/seriesType/index.d.ts +0 -16
  1285. package/modern/models/seriesType/index.js +0 -17
  1286. package/modern/models/seriesType/line.d.ts +0 -104
  1287. package/modern/models/seriesType/line.js +0 -1
  1288. package/modern/models/seriesType/pie.d.ts +0 -166
  1289. package/modern/models/seriesType/pie.js +0 -1
  1290. package/modern/models/seriesType/radar.d.ts +0 -24
  1291. package/modern/models/seriesType/radar.js +0 -1
  1292. package/modern/models/seriesType/scatter.d.ts +0 -63
  1293. package/modern/models/seriesType/scatter.js +0 -1
  1294. package/modern/models/stacking.d.ts +0 -2
  1295. package/modern/models/stacking.js +0 -1
  1296. package/modern/models/z-axis.d.ts +0 -22
  1297. package/modern/models/z-axis.js +0 -1
  1298. package/modern/package.json +0 -1
  1299. package/modern/themeAugmentation/components.d.ts +0 -62
  1300. package/modern/themeAugmentation/index.d.ts +0 -3
  1301. package/modern/themeAugmentation/index.js +0 -0
  1302. package/modern/themeAugmentation/overrides.d.ts +0 -34
  1303. package/modern/themeAugmentation/props.d.ts +0 -34
  1304. package/tsconfig.build.tsbuildinfo +0 -1
  1305. /package/esm/{context/AnimationProvider/Animation.types.js → internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.js} +0 -0
  1306. /package/{context/AnimationProvider/Animation.types.js → internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.js} +0 -0
@@ -0,0 +1,83 @@
1
+ import * as React from 'react';
2
+ export interface UseAnimateParams<Props extends {}, Elem extends Element, T extends {} = Props> {
3
+ /**
4
+ * Function that returns the interpolation function for animating props.
5
+ *
6
+ * @param {object} lastProps Props to animate from, i.e., props when the animation was last stopped. If this is the first
7
+ * animation, this value be `initialProps`.
8
+ * @param {object} newProps Props to animate to.
9
+ *
10
+ * @returns {function} Interpolation function that takes a time value between 0 and 1 and returns the interpolated
11
+ * props at time t. This function is called on every frame of the animation.
12
+ */
13
+ createInterpolator: (lastProps: Props, newProps: Props) => (t: number) => Props;
14
+ /**
15
+ * Transforms the interpolated props to be passed to `applyProps`, which usually means transforming them to element
16
+ * attributes, e.g., transforming an array of points into a `d` attribute for a path.
17
+ *
18
+ * @param {object} props The interpolated props.
19
+ *
20
+ * @returns {object} The transformed props.
21
+ */
22
+ transformProps: (props: Props) => T;
23
+ /**
24
+ * Applies the transformed props to the element. Usually this will be a call to `element.setAttribute("x", x)` or
25
+ * to `element.style.width = width` so that updating the element does not go through the React lifecycle (i.e., not
26
+ * causing a re-render), with the objective of improving performance.
27
+ *
28
+ * This function is called on every frame of the animation.
29
+ * @param {Element} element The element to apply the props to.
30
+ * @param {object} props The transformed props to apply to the element.
31
+ */
32
+ applyProps: (element: Elem, props: T) => void;
33
+ /**
34
+ * If `true`, the animation will be skipped and the final props will be applied immediately.
35
+ */
36
+ skip?: boolean;
37
+ /**
38
+ * Initial props to animate from. If not provided, defaults to the props passed as the first argument of `useAnimate`.
39
+ */
40
+ initialProps?: Props;
41
+ /**
42
+ * Optional ref to merge with the ref returned from this hook.
43
+ */
44
+ ref?: React.Ref<Elem>;
45
+ }
46
+ export type UseAnimateReturn<Elem extends Element, T extends {}> = Omit<T, 'ref'> & {
47
+ /**
48
+ * Ref to be passed to the element to animate.
49
+ */
50
+ ref: React.Ref<Elem>;
51
+ };
52
+ /**
53
+ * Hook to customize the animation of an element.
54
+ * Animates a ref from `initialProps` to `props`.
55
+ *
56
+ * @param {object} props The props to animate to.
57
+ *
58
+ * @returns an object containing a ref that should be passed to the element to animate and the transformed props.
59
+ * If `skip` is true, the transformed props are the `props` to animate to; if it is false, the transformed props are the
60
+ * `initialProps`.
61
+ *
62
+ * The animated props are only accessible in `applyProps`. The props returned from this hook are not animated.
63
+ *
64
+ * When an animation starts, an interpolator is created using `createInterpolator`.
65
+ * On every animation frame:
66
+ * 1. The interpolator is called to get the interpolated props;
67
+ * 2. `transformProps` is called to transform the interpolated props;
68
+ * 3. `applyProps` is called to apply the transformed props to the element.
69
+ *
70
+ * If `props` change while an animation is progress, the animation will continue towards the new `props`.
71
+ *
72
+ * The animation can be skipped by setting `skip` to true. If a transition is in progress, it will immediately end
73
+ * and `applyProps` be called with the final value. If there isn't a transition in progress, a new one won't be
74
+ * started and `applyProps` will not be called.
75
+ * */
76
+ export declare function useAnimate<Props extends {}, Elem extends Element, T extends {} = Props>(props: Props, {
77
+ createInterpolator,
78
+ transformProps,
79
+ applyProps,
80
+ skip,
81
+ initialProps,
82
+ ref
83
+ }: UseAnimateParams<Props, Elem, T>): UseAnimateReturn<Elem, T>;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.useAnimate = useAnimate;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _useForkRef = _interopRequireDefault(require("@mui/utils/useForkRef"));
10
+ var _useAnimateInternal = require("../../internals/animation/useAnimateInternal");
11
+ /**
12
+ * Hook to customize the animation of an element.
13
+ * Animates a ref from `initialProps` to `props`.
14
+ *
15
+ * @param {object} props The props to animate to.
16
+ *
17
+ * @returns an object containing a ref that should be passed to the element to animate and the transformed props.
18
+ * If `skip` is true, the transformed props are the `props` to animate to; if it is false, the transformed props are the
19
+ * `initialProps`.
20
+ *
21
+ * The animated props are only accessible in `applyProps`. The props returned from this hook are not animated.
22
+ *
23
+ * When an animation starts, an interpolator is created using `createInterpolator`.
24
+ * On every animation frame:
25
+ * 1. The interpolator is called to get the interpolated props;
26
+ * 2. `transformProps` is called to transform the interpolated props;
27
+ * 3. `applyProps` is called to apply the transformed props to the element.
28
+ *
29
+ * If `props` change while an animation is progress, the animation will continue towards the new `props`.
30
+ *
31
+ * The animation can be skipped by setting `skip` to true. If a transition is in progress, it will immediately end
32
+ * and `applyProps` be called with the final value. If there isn't a transition in progress, a new one won't be
33
+ * started and `applyProps` will not be called.
34
+ * */
35
+ function useAnimate(props, {
36
+ createInterpolator,
37
+ transformProps,
38
+ applyProps,
39
+ skip,
40
+ initialProps = props,
41
+ ref
42
+ }) {
43
+ const transform = transformProps ?? (p => p);
44
+ const animateRef = (0, _useAnimateInternal.useAnimateInternal)(props, {
45
+ initialProps,
46
+ createInterpolator,
47
+ applyProps: (element, animatedProps) => applyProps(element, transform(animatedProps)),
48
+ skip
49
+ });
50
+ const usedProps = skip ? props : initialProps;
51
+ return (0, _extends2.default)({}, transformProps(usedProps), {
52
+ ref: (0, _useForkRef.default)(animateRef, ref)
53
+ });
54
+ }
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import type { AnimatedAreaProps } from '../../LineChart';
3
+ type UseAnimateAreaParams = Pick<AnimatedAreaProps, 'd' | 'skipAnimation'> & {
4
+ ref?: React.Ref<SVGPathElement>;
5
+ };
6
+ type UseAnimatedAreaReturn = {
7
+ ref: React.Ref<SVGPathElement>;
8
+ d: string;
9
+ };
10
+ /** Animates an area of a line chart using a `path` element.
11
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
12
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called.
13
+ */
14
+ export declare function useAnimateArea(props: UseAnimateAreaParams): UseAnimatedAreaReturn;
15
+ export {};
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useAnimateArea = useAnimateArea;
7
+ var _d3Interpolate = require("@mui/x-charts-vendor/d3-interpolate");
8
+ var _useAnimate = require("./useAnimate");
9
+ /** Animates an area of a line chart using a `path` element.
10
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
11
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called.
12
+ */
13
+ function useAnimateArea(props) {
14
+ return (0, _useAnimate.useAnimate)({
15
+ d: props.d
16
+ }, {
17
+ createInterpolator: (lastProps, newProps) => {
18
+ const interpolate = (0, _d3Interpolate.interpolateString)(lastProps.d, newProps.d);
19
+ return t => ({
20
+ d: interpolate(t)
21
+ });
22
+ },
23
+ applyProps: (element, {
24
+ d
25
+ }) => element.setAttribute('d', d),
26
+ transformProps: p => p,
27
+ skip: props.skipAnimation,
28
+ ref: props.ref
29
+ });
30
+ }
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import type { BarProps } from '../../BarChart/AnimatedBarElement';
3
+ type UseAnimateBarParams = Pick<BarProps, 'x' | 'y' | 'xOrigin' | 'yOrigin' | 'width' | 'height' | 'skipAnimation' | 'layout'> & {
4
+ ref?: React.Ref<SVGRectElement>;
5
+ };
6
+ type UseAnimateBarReturnValue = {
7
+ ref: React.Ref<SVGRectElement>;
8
+ } & Pick<BarProps, 'x' | 'y' | 'width' | 'height'>;
9
+ /**
10
+ * Animates a bar from the start of the axis (x-axis for vertical layout, y-axis for horizontal layout) to its
11
+ * final position.
12
+ *
13
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
14
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called.
15
+ */
16
+ export declare function useAnimateBar(props: UseAnimateBarParams): UseAnimateBarReturnValue;
17
+ export {};
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useAnimateBar = useAnimateBar;
7
+ var _d3Interpolate = require("@mui/x-charts-vendor/d3-interpolate");
8
+ var _useAnimate = require("./useAnimate");
9
+ function barPropsInterpolator(from, to) {
10
+ const interpolateX = (0, _d3Interpolate.interpolateNumber)(from.x, to.x);
11
+ const interpolateY = (0, _d3Interpolate.interpolateNumber)(from.y, to.y);
12
+ const interpolateWidth = (0, _d3Interpolate.interpolateNumber)(from.width, to.width);
13
+ const interpolateHeight = (0, _d3Interpolate.interpolateNumber)(from.height, to.height);
14
+ return t => {
15
+ return {
16
+ x: interpolateX(t),
17
+ y: interpolateY(t),
18
+ width: interpolateWidth(t),
19
+ height: interpolateHeight(t)
20
+ };
21
+ };
22
+ }
23
+
24
+ /**
25
+ * Animates a bar from the start of the axis (x-axis for vertical layout, y-axis for horizontal layout) to its
26
+ * final position.
27
+ *
28
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
29
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called.
30
+ */
31
+ function useAnimateBar(props) {
32
+ const initialProps = {
33
+ x: props.layout === 'vertical' ? props.x : props.xOrigin,
34
+ y: props.layout === 'vertical' ? props.yOrigin : props.y,
35
+ width: props.layout === 'vertical' ? props.width : 0,
36
+ height: props.layout === 'vertical' ? 0 : props.height
37
+ };
38
+ return (0, _useAnimate.useAnimate)({
39
+ x: props.x,
40
+ y: props.y,
41
+ width: props.width,
42
+ height: props.height
43
+ }, {
44
+ createInterpolator: barPropsInterpolator,
45
+ applyProps(element, animatedProps) {
46
+ element.setAttribute('x', animatedProps.x.toString());
47
+ element.setAttribute('y', animatedProps.y.toString());
48
+ element.setAttribute('width', animatedProps.width.toString());
49
+ element.setAttribute('height', animatedProps.height.toString());
50
+ },
51
+ transformProps: p => p,
52
+ initialProps,
53
+ skip: props.skipAnimation,
54
+ ref: props.ref
55
+ });
56
+ }
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ import type { BarLabelProps } from '../../BarChart';
3
+ type UseAnimateBarLabelParams = Pick<BarLabelProps, 'xOrigin' | 'yOrigin' | 'x' | 'y' | 'width' | 'height' | 'layout' | 'skipAnimation'> & {
4
+ ref?: React.Ref<SVGTextElement>;
5
+ };
6
+ type UseAnimateBarLabelReturn = {
7
+ ref: React.Ref<SVGTextElement>;
8
+ } & Pick<BarLabelProps, 'x' | 'y' | 'width' | 'height'>;
9
+ /**
10
+ * Animates a bar label from the start of the axis (x-axis for vertical layout, y-axis for horizontal layout) to the
11
+ * center of the bar it belongs to.
12
+ * The label is horizontally centered within the bar when the layout is vertical, and vertically centered for laid out
13
+ * horizontally.
14
+ *
15
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
16
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called.
17
+ */
18
+ export declare function useAnimateBarLabel(props: UseAnimateBarLabelParams): UseAnimateBarLabelReturn;
19
+ export {};
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useAnimateBarLabel = useAnimateBarLabel;
7
+ var _d3Interpolate = require("@mui/x-charts-vendor/d3-interpolate");
8
+ var _useAnimate = require("./useAnimate");
9
+ function barLabelPropsInterpolator(from, to) {
10
+ const interpolateX = (0, _d3Interpolate.interpolateNumber)(from.x, to.x);
11
+ const interpolateY = (0, _d3Interpolate.interpolateNumber)(from.y, to.y);
12
+ const interpolateWidth = (0, _d3Interpolate.interpolateNumber)(from.width, to.width);
13
+ const interpolateHeight = (0, _d3Interpolate.interpolateNumber)(from.height, to.height);
14
+ return t => {
15
+ return {
16
+ x: interpolateX(t),
17
+ y: interpolateY(t),
18
+ width: interpolateWidth(t),
19
+ height: interpolateHeight(t)
20
+ };
21
+ };
22
+ }
23
+
24
+ /**
25
+ * Animates a bar label from the start of the axis (x-axis for vertical layout, y-axis for horizontal layout) to the
26
+ * center of the bar it belongs to.
27
+ * The label is horizontally centered within the bar when the layout is vertical, and vertically centered for laid out
28
+ * horizontally.
29
+ *
30
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
31
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called.
32
+ */
33
+ function useAnimateBarLabel(props) {
34
+ const initialProps = {
35
+ x: props.layout === 'vertical' ? props.x + props.width / 2 : props.xOrigin,
36
+ y: props.layout === 'vertical' ? props.yOrigin : props.y + props.height / 2,
37
+ width: props.width,
38
+ height: props.height
39
+ };
40
+ const currentProps = {
41
+ x: props.x + props.width / 2,
42
+ y: props.y + props.height / 2,
43
+ width: props.width,
44
+ height: props.height
45
+ };
46
+ return (0, _useAnimate.useAnimate)(currentProps, {
47
+ createInterpolator: barLabelPropsInterpolator,
48
+ transformProps: p => p,
49
+ applyProps(element, animatedProps) {
50
+ element.setAttribute('x', animatedProps.x.toString());
51
+ element.setAttribute('y', animatedProps.y.toString());
52
+ element.setAttribute('width', animatedProps.width.toString());
53
+ element.setAttribute('height', animatedProps.height.toString());
54
+ },
55
+ initialProps,
56
+ skip: props.skipAnimation,
57
+ ref: props.ref
58
+ });
59
+ }
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ interface UseAnimateGaugeValueArcParams {
3
+ ref?: React.Ref<SVGPathElement>;
4
+ startAngle: number;
5
+ endAngle: number;
6
+ cornerRadius: number;
7
+ innerRadius: number;
8
+ outerRadius: number;
9
+ skipAnimation: boolean;
10
+ }
11
+ type UseAnimateGaugeValueArcReturnValue = {
12
+ ref: React.Ref<SVGPathElement>;
13
+ d: string;
14
+ };
15
+ /** Animates a arc of a gauge chart by increasing the `endAngle` from the start angle to the end angle.
16
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
17
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */
18
+ export declare function useAnimateGaugeValueArc(props: UseAnimateGaugeValueArcParams): UseAnimateGaugeValueArcReturnValue;
19
+ export {};
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useAnimateGaugeValueArc = useAnimateGaugeValueArc;
7
+ var _d3Shape = require("@mui/x-charts-vendor/d3-shape");
8
+ var _d3Interpolate = require("@mui/x-charts-vendor/d3-interpolate");
9
+ var _useAnimate = require("./useAnimate");
10
+ function gaugeValueArcPropsInterpolator(from, to) {
11
+ const interpolateStartAngle = (0, _d3Interpolate.interpolateNumber)(from.startAngle, to.startAngle);
12
+ const interpolateEndAngle = (0, _d3Interpolate.interpolateNumber)(from.endAngle, to.endAngle);
13
+ const interpolateInnerRadius = (0, _d3Interpolate.interpolateNumber)(from.innerRadius, to.innerRadius);
14
+ const interpolateOuterRadius = (0, _d3Interpolate.interpolateNumber)(from.outerRadius, to.outerRadius);
15
+ const interpolateCornerRadius = (0, _d3Interpolate.interpolateNumber)(from.cornerRadius, to.cornerRadius);
16
+ return t => {
17
+ return {
18
+ startAngle: interpolateStartAngle(t),
19
+ endAngle: interpolateEndAngle(t),
20
+ innerRadius: interpolateInnerRadius(t),
21
+ outerRadius: interpolateOuterRadius(t),
22
+ cornerRadius: interpolateCornerRadius(t)
23
+ };
24
+ };
25
+ }
26
+
27
+ /** Animates a arc of a gauge chart by increasing the `endAngle` from the start angle to the end angle.
28
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
29
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */
30
+ function useAnimateGaugeValueArc(props) {
31
+ return (0, _useAnimate.useAnimate)({
32
+ startAngle: props.startAngle,
33
+ endAngle: props.endAngle,
34
+ innerRadius: props.innerRadius,
35
+ outerRadius: props.outerRadius,
36
+ cornerRadius: props.cornerRadius
37
+ }, {
38
+ createInterpolator: gaugeValueArcPropsInterpolator,
39
+ transformProps: p => ({
40
+ d: (0, _d3Shape.arc)().cornerRadius(p.cornerRadius)({
41
+ innerRadius: p.innerRadius,
42
+ outerRadius: p.outerRadius,
43
+ startAngle: p.startAngle,
44
+ endAngle: p.endAngle
45
+ })
46
+ }),
47
+ applyProps(element, p) {
48
+ element.setAttribute('d', p.d);
49
+ },
50
+ initialProps: {
51
+ startAngle: props.startAngle,
52
+ endAngle: props.startAngle,
53
+ innerRadius: props.innerRadius,
54
+ outerRadius: props.outerRadius,
55
+ cornerRadius: props.cornerRadius
56
+ },
57
+ skip: props.skipAnimation,
58
+ ref: props.ref
59
+ });
60
+ }
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ import type { AnimatedLineProps } from '../../LineChart';
3
+ type UseAnimateLineParams = Pick<AnimatedLineProps, 'd' | 'skipAnimation'> & {
4
+ ref?: React.Ref<SVGPathElement>;
5
+ };
6
+ type UseAnimatedReturnValue = {
7
+ ref: React.Ref<SVGPathElement>;
8
+ d: string;
9
+ };
10
+ /** Animates a line of a line chart using a `path` element.
11
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
12
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */
13
+ export declare function useAnimateLine(props: UseAnimateLineParams): UseAnimatedReturnValue;
14
+ export {};
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useAnimateLine = useAnimateLine;
7
+ var _d3Interpolate = require("@mui/x-charts-vendor/d3-interpolate");
8
+ var _useAnimate = require("./useAnimate");
9
+ /** Animates a line of a line chart using a `path` element.
10
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
11
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */
12
+ function useAnimateLine(props) {
13
+ return (0, _useAnimate.useAnimate)({
14
+ d: props.d
15
+ }, {
16
+ createInterpolator: (lastProps, newProps) => {
17
+ const interpolate = (0, _d3Interpolate.interpolateString)(lastProps.d, newProps.d);
18
+ return t => ({
19
+ d: interpolate(t)
20
+ });
21
+ },
22
+ applyProps: (element, {
23
+ d
24
+ }) => element.setAttribute('d', d),
25
+ skip: props.skipAnimation,
26
+ transformProps: p => p,
27
+ ref: props.ref
28
+ });
29
+ }
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import type { PieArcProps } from '../../PieChart';
3
+ type UseAnimatePieArcParams = Pick<PieArcProps, 'startAngle' | 'endAngle' | 'cornerRadius' | 'paddingAngle' | 'innerRadius' | 'outerRadius' | 'skipAnimation'> & {
4
+ ref?: React.Ref<SVGPathElement>;
5
+ };
6
+ type UseAnimatePieArcReturnValue = {
7
+ ref: React.Ref<SVGPathElement>;
8
+ d: string;
9
+ visibility: 'hidden' | 'visible';
10
+ };
11
+ /** Animates a slice of a pie chart by increasing the start and end angles from the middle angle to their final values.
12
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
13
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */
14
+ export declare function useAnimatePieArc(props: UseAnimatePieArcParams): UseAnimatePieArcReturnValue;
15
+ export {};
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useAnimatePieArc = useAnimatePieArc;
7
+ var _d3Shape = require("@mui/x-charts-vendor/d3-shape");
8
+ var _d3Interpolate = require("@mui/x-charts-vendor/d3-interpolate");
9
+ var _useAnimate = require("./useAnimate");
10
+ function pieArcPropsInterpolator(from, to) {
11
+ const interpolateStartAngle = (0, _d3Interpolate.interpolateNumber)(from.startAngle, to.startAngle);
12
+ const interpolateEndAngle = (0, _d3Interpolate.interpolateNumber)(from.endAngle, to.endAngle);
13
+ const interpolateInnerRadius = (0, _d3Interpolate.interpolateNumber)(from.innerRadius, to.innerRadius);
14
+ const interpolateOuterRadius = (0, _d3Interpolate.interpolateNumber)(from.outerRadius, to.outerRadius);
15
+ const interpolatePaddingAngle = (0, _d3Interpolate.interpolateNumber)(from.paddingAngle, to.paddingAngle);
16
+ const interpolateCornerRadius = (0, _d3Interpolate.interpolateNumber)(from.cornerRadius, to.cornerRadius);
17
+ return t => {
18
+ return {
19
+ startAngle: interpolateStartAngle(t),
20
+ endAngle: interpolateEndAngle(t),
21
+ innerRadius: interpolateInnerRadius(t),
22
+ outerRadius: interpolateOuterRadius(t),
23
+ paddingAngle: interpolatePaddingAngle(t),
24
+ cornerRadius: interpolateCornerRadius(t)
25
+ };
26
+ };
27
+ }
28
+
29
+ /** Animates a slice of a pie chart by increasing the start and end angles from the middle angle to their final values.
30
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
31
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */
32
+ function useAnimatePieArc(props) {
33
+ const initialProps = {
34
+ startAngle: (props.startAngle + props.endAngle) / 2,
35
+ endAngle: (props.startAngle + props.endAngle) / 2,
36
+ innerRadius: props.innerRadius,
37
+ outerRadius: props.outerRadius,
38
+ paddingAngle: props.paddingAngle,
39
+ cornerRadius: props.cornerRadius
40
+ };
41
+ return (0, _useAnimate.useAnimate)({
42
+ startAngle: props.startAngle,
43
+ endAngle: props.endAngle,
44
+ innerRadius: props.innerRadius,
45
+ outerRadius: props.outerRadius,
46
+ paddingAngle: props.paddingAngle,
47
+ cornerRadius: props.cornerRadius
48
+ }, {
49
+ createInterpolator: pieArcPropsInterpolator,
50
+ transformProps: p => ({
51
+ d: (0, _d3Shape.arc)().cornerRadius(p.cornerRadius)({
52
+ padAngle: p.paddingAngle,
53
+ innerRadius: p.innerRadius,
54
+ outerRadius: p.outerRadius,
55
+ startAngle: p.startAngle,
56
+ endAngle: p.endAngle
57
+ }),
58
+ visibility: p.startAngle === p.endAngle ? 'hidden' : 'visible'
59
+ }),
60
+ applyProps(element, p) {
61
+ element.setAttribute('d', p.d);
62
+ element.setAttribute('visibility', p.visibility);
63
+ },
64
+ initialProps,
65
+ skip: props.skipAnimation,
66
+ ref: props.ref
67
+ });
68
+ }
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import type { PieArcLabelProps } from '../../PieChart';
3
+ type UseAnimatePieArcLabelParams = Pick<PieArcLabelProps, 'startAngle' | 'endAngle' | 'cornerRadius' | 'paddingAngle' | 'innerRadius' | 'outerRadius' | 'skipAnimation'> & {
4
+ ref?: React.Ref<SVGTextElement>;
5
+ };
6
+ type UseAnimatePieArcLabelReturn = {
7
+ ref: React.Ref<SVGTextElement>;
8
+ x: number;
9
+ y: number;
10
+ };
11
+ /** Animates the label of pie slice from its middle point to the centroid of the slice.
12
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
13
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */
14
+ export declare function useAnimatePieArcLabel(props: UseAnimatePieArcLabelParams): UseAnimatePieArcLabelReturn;
15
+ export {};
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useAnimatePieArcLabel = useAnimatePieArcLabel;
7
+ var _d3Shape = require("@mui/x-charts-vendor/d3-shape");
8
+ var _d3Interpolate = require("@mui/x-charts-vendor/d3-interpolate");
9
+ var _useAnimate = require("./useAnimate");
10
+ function pieArcLabelPropsInterpolator(from, to) {
11
+ const interpolateStartAngle = (0, _d3Interpolate.interpolateNumber)(from.startAngle, to.startAngle);
12
+ const interpolateEndAngle = (0, _d3Interpolate.interpolateNumber)(from.endAngle, to.endAngle);
13
+ const interpolateInnerRadius = (0, _d3Interpolate.interpolateNumber)(from.innerRadius, to.innerRadius);
14
+ const interpolateOuterRadius = (0, _d3Interpolate.interpolateNumber)(from.outerRadius, to.outerRadius);
15
+ const interpolatePaddingAngle = (0, _d3Interpolate.interpolateNumber)(from.paddingAngle, to.paddingAngle);
16
+ const interpolateCornerRadius = (0, _d3Interpolate.interpolateNumber)(from.cornerRadius, to.cornerRadius);
17
+ return t => {
18
+ return {
19
+ startAngle: interpolateStartAngle(t),
20
+ endAngle: interpolateEndAngle(t),
21
+ innerRadius: interpolateInnerRadius(t),
22
+ outerRadius: interpolateOuterRadius(t),
23
+ paddingAngle: interpolatePaddingAngle(t),
24
+ cornerRadius: interpolateCornerRadius(t)
25
+ };
26
+ };
27
+ }
28
+
29
+ /** Animates the label of pie slice from its middle point to the centroid of the slice.
30
+ * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can
31
+ * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */
32
+ function useAnimatePieArcLabel(props) {
33
+ const initialProps = {
34
+ startAngle: (props.startAngle + props.endAngle) / 2,
35
+ endAngle: (props.startAngle + props.endAngle) / 2,
36
+ innerRadius: props.innerRadius,
37
+ outerRadius: props.outerRadius,
38
+ paddingAngle: props.paddingAngle,
39
+ cornerRadius: props.cornerRadius
40
+ };
41
+ return (0, _useAnimate.useAnimate)({
42
+ startAngle: props.startAngle,
43
+ endAngle: props.endAngle,
44
+ innerRadius: props.innerRadius,
45
+ outerRadius: props.outerRadius,
46
+ paddingAngle: props.paddingAngle,
47
+ cornerRadius: props.cornerRadius
48
+ }, {
49
+ createInterpolator: pieArcLabelPropsInterpolator,
50
+ transformProps: animatedProps => {
51
+ const [x, y] = (0, _d3Shape.arc)().cornerRadius(animatedProps.cornerRadius).centroid({
52
+ padAngle: animatedProps.paddingAngle,
53
+ startAngle: animatedProps.startAngle,
54
+ endAngle: animatedProps.endAngle,
55
+ innerRadius: animatedProps.innerRadius,
56
+ outerRadius: animatedProps.outerRadius
57
+ });
58
+ return {
59
+ x,
60
+ y
61
+ };
62
+ },
63
+ applyProps(element, {
64
+ x,
65
+ y
66
+ }) {
67
+ element.setAttribute('x', x.toString());
68
+ element.setAttribute('y', y.toString());
69
+ },
70
+ initialProps,
71
+ skip: props.skipAnimation,
72
+ ref: props.ref
73
+ });
74
+ }
package/hooks/index.d.ts CHANGED
@@ -13,4 +13,5 @@ export * from "./useLineSeries.js";
13
13
  export * from "./useItemHighlighted.js";
14
14
  export * from "./useItemHighlightedGetter.js";
15
15
  export * from "./useLegend.js";
16
- export { useChartGradientId, useChartGradientIdObjectBound } from "./useChartGradientId.js";
16
+ export { useChartGradientId, useChartGradientIdObjectBound } from "./useChartGradientId.js";
17
+ export * from "./animation/index.js";