@mui/x-charts 8.20.0 → 8.22.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 (922) hide show
  1. package/BarChart/AnimatedBarElement.d.ts +2 -2
  2. package/BarChart/BarChart.d.ts +15 -15
  3. package/BarChart/BarChart.js +40 -1
  4. package/BarChart/BarChart.plugins.d.ts +9 -8
  5. package/BarChart/BarChart.plugins.js +2 -1
  6. package/BarChart/BarElement.d.ts +3 -3
  7. package/BarChart/BarElement.js +1 -2
  8. package/BarChart/BarLabel/BarLabel.d.ts +1 -1
  9. package/BarChart/BarLabel/BarLabel.js +12 -8
  10. package/BarChart/BarLabel/BarLabel.types.d.ts +5 -4
  11. package/BarChart/BarLabel/BarLabelItem.d.ts +8 -7
  12. package/BarChart/BarLabel/BarLabelPlot.d.ts +26 -7
  13. package/BarChart/BarLabel/BarLabelPlot.js +10 -9
  14. package/BarChart/BarLabel/getBarLabel.d.ts +7 -6
  15. package/BarChart/BarLabel/getBarLabel.js +3 -4
  16. package/BarChart/BarPlot.d.ts +4 -4
  17. package/BarChart/BarPlot.js +8 -4
  18. package/BarChart/FocusedBar.d.ts +2 -0
  19. package/BarChart/FocusedBar.js +68 -0
  20. package/BarChart/barElementClasses.d.ts +1 -1
  21. package/BarChart/checkBarChartScaleErrors.d.ts +7 -0
  22. package/BarChart/{checkScaleErrors.js → checkBarChartScaleErrors.js} +6 -7
  23. package/BarChart/index.d.ts +1 -0
  24. package/BarChart/index.js +12 -0
  25. package/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
  26. package/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
  27. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +5 -3
  28. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.js +3 -4
  29. package/BarChart/seriesConfig/bar/legend.d.ts +1 -1
  30. package/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
  31. package/BarChart/seriesConfig/bar/tooltipPosition.js +2 -2
  32. package/BarChart/seriesConfig/index.d.ts +1 -1
  33. package/BarChart/seriesConfig/index.js +2 -2
  34. package/BarChart/types.d.ts +6 -3
  35. package/BarChart/useBarChartProps.d.ts +9 -9
  36. package/BarChart/useBarPlotData.d.ts +5 -20
  37. package/BarChart/useBarPlotData.js +17 -89
  38. package/CHANGELOG.md +248 -0
  39. package/ChartContainer/ChartContainer.d.ts +5 -5
  40. package/ChartContainer/ChartContainer.js +58 -0
  41. package/ChartContainer/useChartContainerProps.d.ts +6 -6
  42. package/ChartDataProvider/ChartDataProvider.d.ts +6 -6
  43. package/ChartDataProvider/useChartDataProviderProps.d.ts +5 -5
  44. package/ChartsAxis/ChartsAxis.d.ts +1 -1
  45. package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
  46. package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
  47. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
  48. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
  49. package/ChartsGrid/ChartsGrid.d.ts +1 -1
  50. package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  51. package/ChartsGrid/ChartsHorizontalGrid.js +5 -2
  52. package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  53. package/ChartsGrid/ChartsVerticalGrid.js +5 -2
  54. package/ChartsLabel/ChartsLabel.d.ts +2 -2
  55. package/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
  56. package/ChartsLabel/ChartsLabelMark.d.ts +2 -2
  57. package/ChartsLegend/ChartsLegend.d.ts +2 -2
  58. package/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
  59. package/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
  60. package/ChartsLegend/chartsLegend.types.d.ts +3 -3
  61. package/ChartsLegend/colorLegend.types.d.ts +1 -1
  62. package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  63. package/ChartsLegend/legend.types.d.ts +1 -1
  64. package/ChartsLegend/legendContext.types.d.ts +3 -3
  65. package/ChartsLegend/onClickContextBuilder.d.ts +1 -1
  66. package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
  67. package/ChartsLegend/useAxis.d.ts +3 -3
  68. package/ChartsOverlay/ChartsOverlay.d.ts +2 -2
  69. package/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
  70. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
  71. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
  72. package/ChartsReferenceLine/common.d.ts +3 -3
  73. package/ChartsSurface/ChartsSurface.d.ts +1 -1
  74. package/ChartsSurface/ChartsSurface.js +1 -13
  75. package/ChartsText/ChartsText.d.ts +1 -1
  76. package/ChartsText/defaultTextPlacement.d.ts +1 -1
  77. package/ChartsTooltip/ChartTooltip.types.d.ts +1 -1
  78. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
  79. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
  80. package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
  81. package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
  82. package/ChartsTooltip/ChartsTooltipContainer.js +4 -2
  83. package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  84. package/ChartsTooltip/useAxesTooltip.d.ts +1 -1
  85. package/ChartsTooltip/useAxisTooltip.d.ts +4 -4
  86. package/ChartsTooltip/useItemTooltip.d.ts +2 -2
  87. package/ChartsTooltip/useItemTooltip.js +2 -2
  88. package/ChartsWrapper/ChartsWrapper.d.ts +3 -3
  89. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
  90. package/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +3 -1
  91. package/ChartsXAxis/ChartsSingleXAxisTicks.js +6 -2
  92. package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  93. package/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -2
  94. package/ChartsXAxis/ChartsXAxisImpl.js +9 -3
  95. package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  96. package/ChartsXAxis/shortenLabels.d.ts +3 -3
  97. package/ChartsXAxis/useAxisTicksProps.d.ts +218 -119
  98. package/ChartsXAxis/useAxisTicksProps.js +2 -0
  99. package/ChartsXAxis/utilities.d.ts +1 -1
  100. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
  101. package/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +3 -1
  102. package/ChartsYAxis/ChartsSingleYAxisTicks.js +6 -2
  103. package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  104. package/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -2
  105. package/ChartsYAxis/ChartsYAxisImpl.js +9 -3
  106. package/ChartsYAxis/shortenLabels.d.ts +3 -3
  107. package/ChartsYAxis/useAxisTicksProps.d.ts +218 -119
  108. package/ChartsYAxis/useAxisTicksProps.js +2 -0
  109. package/ChartsYAxis/utilities.d.ts +1 -1
  110. package/Gauge/Gauge.d.ts +3 -3
  111. package/Gauge/GaugeContainer.d.ts +4 -4
  112. package/Gauge/GaugeValueText.d.ts +1 -1
  113. package/LineChart/AppearingMask.d.ts +1 -1
  114. package/LineChart/AreaElement.d.ts +3 -3
  115. package/LineChart/AreaPlot.d.ts +2 -2
  116. package/LineChart/AreaPlot.js +4 -1
  117. package/LineChart/CircleMarkElement.d.ts +1 -1
  118. package/LineChart/CircleMarkElement.js +1 -1
  119. package/LineChart/FocusedLineMark.d.ts +1 -0
  120. package/LineChart/{FocusedMark.js → FocusedLineMark.js} +2 -2
  121. package/LineChart/LineChart.d.ts +17 -17
  122. package/LineChart/LineChart.js +40 -2
  123. package/LineChart/LineChart.plugins.d.ts +9 -8
  124. package/LineChart/LineChart.plugins.js +2 -1
  125. package/LineChart/LineElement.d.ts +3 -3
  126. package/LineChart/LineHighlightElement.d.ts +1 -1
  127. package/LineChart/LineHighlightPlot.d.ts +2 -2
  128. package/LineChart/LinePlot.d.ts +2 -2
  129. package/LineChart/LinePlot.js +4 -1
  130. package/LineChart/MarkElement.d.ts +1 -1
  131. package/LineChart/MarkElement.js +1 -1
  132. package/LineChart/MarkPlot.d.ts +3 -3
  133. package/LineChart/MarkPlot.js +44 -114
  134. package/LineChart/index.d.ts +1 -0
  135. package/LineChart/index.js +12 -0
  136. package/LineChart/markElementClasses.d.ts +1 -1
  137. package/LineChart/seriesConfig/extremums.d.ts +1 -1
  138. package/LineChart/seriesConfig/getColor.d.ts +1 -1
  139. package/LineChart/seriesConfig/index.d.ts +1 -1
  140. package/LineChart/seriesConfig/legend.d.ts +1 -1
  141. package/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  142. package/LineChart/seriesConfig/seriesProcessor.js +3 -3
  143. package/LineChart/useAreaPlotData.d.ts +3 -3
  144. package/LineChart/useLineChartProps.d.ts +12 -12
  145. package/LineChart/useLinePlotData.d.ts +3 -3
  146. package/LineChart/useMarkPlotData.d.ts +18 -0
  147. package/LineChart/useMarkPlotData.js +105 -0
  148. package/PieChart/PieArc.d.ts +1 -1
  149. package/PieChart/PieArcLabel.d.ts +1 -1
  150. package/PieChart/PieArcLabel.js +4 -1
  151. package/PieChart/PieArcLabelPlot.d.ts +2 -2
  152. package/PieChart/PieArcPlot.d.ts +2 -2
  153. package/PieChart/PieChart.d.ts +11 -11
  154. package/PieChart/PieChart.plugins.d.ts +6 -5
  155. package/PieChart/PieChart.plugins.js +2 -1
  156. package/PieChart/PiePlot.d.ts +2 -2
  157. package/PieChart/PiePlot.js +9 -53
  158. package/PieChart/dataTransform/useTransformData.d.ts +1 -1
  159. package/PieChart/getPieCoordinates.d.ts +2 -2
  160. package/PieChart/seriesConfig/getColor.d.ts +1 -1
  161. package/PieChart/seriesConfig/index.d.ts +1 -1
  162. package/PieChart/seriesConfig/index.js +2 -0
  163. package/PieChart/seriesConfig/legend.d.ts +1 -1
  164. package/PieChart/seriesConfig/seriesLayout.d.ts +3 -0
  165. package/PieChart/seriesConfig/seriesLayout.js +48 -0
  166. package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  167. package/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
  168. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  169. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  170. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
  171. package/RadarChart/RadarChart.d.ts +11 -11
  172. package/RadarChart/RadarChart.plugins.d.ts +6 -5
  173. package/RadarChart/RadarChart.plugins.js +2 -1
  174. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
  175. package/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
  176. package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
  177. package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
  178. package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
  179. package/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
  180. package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
  181. package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
  182. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +4 -4
  183. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +4 -4
  184. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  185. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +3 -3
  186. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  187. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  188. package/RadarChart/seriesConfig/extremums.d.ts +1 -1
  189. package/RadarChart/seriesConfig/getColor.d.ts +1 -1
  190. package/RadarChart/seriesConfig/index.d.ts +1 -1
  191. package/RadarChart/seriesConfig/index.js +4 -2
  192. package/RadarChart/seriesConfig/legend.d.ts +1 -1
  193. package/RadarChart/seriesConfig/seriesProcessor.d.ts +3 -0
  194. package/RadarChart/seriesConfig/seriesProcessor.js +29 -0
  195. package/RadarChart/seriesConfig/tooltipPosition.d.ts +3 -0
  196. package/RadarChart/seriesConfig/tooltipPosition.js +80 -0
  197. package/RadarChart/useRadarChartProps.d.ts +7 -7
  198. package/RadarChart/useRadarChartProps.js +3 -1
  199. package/ScatterChart/BatchScatter.d.ts +4 -4
  200. package/ScatterChart/FocusedScatterMark.d.ts +2 -0
  201. package/ScatterChart/FocusedScatterMark.js +51 -0
  202. package/ScatterChart/Scatter.d.ts +5 -5
  203. package/ScatterChart/Scatter.js +1 -9
  204. package/ScatterChart/ScatterChart.d.ts +16 -16
  205. package/ScatterChart/ScatterChart.js +40 -1
  206. package/ScatterChart/ScatterChart.plugins.d.ts +10 -9
  207. package/ScatterChart/ScatterChart.plugins.js +2 -1
  208. package/ScatterChart/ScatterMarker.d.ts +1 -1
  209. package/ScatterChart/ScatterMarker.types.d.ts +1 -1
  210. package/ScatterChart/ScatterPlot.d.ts +1 -1
  211. package/ScatterChart/index.d.ts +1 -0
  212. package/ScatterChart/index.js +12 -0
  213. package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  214. package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  215. package/ScatterChart/seriesConfig/index.d.ts +1 -1
  216. package/ScatterChart/seriesConfig/legend.d.ts +1 -1
  217. package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  218. package/ScatterChart/useScatterChartProps.d.ts +7 -7
  219. package/ScatterChart/useScatterPlotData.d.ts +3 -3
  220. package/SparkLineChart/SparkLineChart.d.ts +12 -12
  221. package/SparkLineChart/SparkLineChart.js +40 -2
  222. package/Toolbar/Toolbar.d.ts +1 -1
  223. package/Toolbar/Toolbar.types.d.ts +1 -1
  224. package/Toolbar/ToolbarButton.d.ts +2 -2
  225. package/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
  226. package/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
  227. package/colorPalettes/categorical/mangoFusion.d.ts +1 -1
  228. package/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
  229. package/colorPalettes/sequential/blue.d.ts +1 -1
  230. package/colorPalettes/sequential/cyan.d.ts +1 -1
  231. package/colorPalettes/sequential/green.d.ts +1 -1
  232. package/colorPalettes/sequential/orange.d.ts +1 -1
  233. package/colorPalettes/sequential/pink.d.ts +1 -1
  234. package/colorPalettes/sequential/purple.d.ts +1 -1
  235. package/colorPalettes/sequential/red.d.ts +1 -1
  236. package/colorPalettes/sequential/strawberrySky.d.ts +1 -1
  237. package/colorPalettes/sequential/yellow.d.ts +1 -1
  238. package/context/ChartProvider/ChartProvider.d.ts +3 -3
  239. package/context/ChartProvider/ChartProvider.js +2 -1
  240. package/context/ChartProvider/ChartProvider.types.d.ts +2 -2
  241. package/context/ChartProvider/useChartContext.d.ts +2 -2
  242. package/context/ChartsSlotsContext.d.ts +1 -1
  243. package/context/useChartApiContext.d.ts +1 -1
  244. package/esm/BarChart/AnimatedBarElement.d.ts +2 -2
  245. package/esm/BarChart/BarChart.d.ts +15 -15
  246. package/esm/BarChart/BarChart.js +40 -1
  247. package/esm/BarChart/BarChart.plugins.d.ts +9 -8
  248. package/esm/BarChart/BarChart.plugins.js +2 -1
  249. package/esm/BarChart/BarElement.d.ts +3 -3
  250. package/esm/BarChart/BarElement.js +1 -2
  251. package/esm/BarChart/BarLabel/BarLabel.d.ts +1 -1
  252. package/esm/BarChart/BarLabel/BarLabel.js +12 -8
  253. package/esm/BarChart/BarLabel/BarLabel.types.d.ts +5 -4
  254. package/esm/BarChart/BarLabel/BarLabelItem.d.ts +8 -7
  255. package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +26 -7
  256. package/esm/BarChart/BarLabel/BarLabelPlot.js +9 -9
  257. package/esm/BarChart/BarLabel/getBarLabel.d.ts +7 -6
  258. package/esm/BarChart/BarLabel/getBarLabel.js +2 -2
  259. package/esm/BarChart/BarPlot.d.ts +4 -4
  260. package/esm/BarChart/BarPlot.js +8 -4
  261. package/esm/BarChart/FocusedBar.d.ts +2 -0
  262. package/esm/BarChart/FocusedBar.js +61 -0
  263. package/esm/BarChart/barElementClasses.d.ts +1 -1
  264. package/esm/BarChart/checkBarChartScaleErrors.d.ts +7 -0
  265. package/esm/BarChart/{checkScaleErrors.js → checkBarChartScaleErrors.js} +5 -6
  266. package/esm/BarChart/index.d.ts +1 -0
  267. package/esm/BarChart/index.js +1 -0
  268. package/esm/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
  269. package/esm/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
  270. package/esm/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +5 -3
  271. package/esm/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.js +2 -3
  272. package/esm/BarChart/seriesConfig/bar/legend.d.ts +1 -1
  273. package/esm/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
  274. package/esm/BarChart/seriesConfig/bar/tooltipPosition.js +1 -1
  275. package/esm/BarChart/seriesConfig/index.d.ts +1 -1
  276. package/esm/BarChart/seriesConfig/index.js +1 -1
  277. package/esm/BarChart/types.d.ts +6 -3
  278. package/esm/BarChart/useBarChartProps.d.ts +9 -9
  279. package/esm/BarChart/useBarPlotData.d.ts +5 -20
  280. package/esm/BarChart/useBarPlotData.js +16 -87
  281. package/esm/ChartContainer/ChartContainer.d.ts +5 -5
  282. package/esm/ChartContainer/ChartContainer.js +58 -0
  283. package/esm/ChartContainer/useChartContainerProps.d.ts +6 -6
  284. package/esm/ChartDataProvider/ChartDataProvider.d.ts +6 -6
  285. package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +5 -5
  286. package/esm/ChartsAxis/ChartsAxis.d.ts +1 -1
  287. package/esm/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
  288. package/esm/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
  289. package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
  290. package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
  291. package/esm/ChartsGrid/ChartsGrid.d.ts +1 -1
  292. package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  293. package/esm/ChartsGrid/ChartsHorizontalGrid.js +5 -2
  294. package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  295. package/esm/ChartsGrid/ChartsVerticalGrid.js +5 -2
  296. package/esm/ChartsLabel/ChartsLabel.d.ts +2 -2
  297. package/esm/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
  298. package/esm/ChartsLabel/ChartsLabelMark.d.ts +2 -2
  299. package/esm/ChartsLegend/ChartsLegend.d.ts +2 -2
  300. package/esm/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
  301. package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
  302. package/esm/ChartsLegend/chartsLegend.types.d.ts +3 -3
  303. package/esm/ChartsLegend/colorLegend.types.d.ts +1 -1
  304. package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  305. package/esm/ChartsLegend/legend.types.d.ts +1 -1
  306. package/esm/ChartsLegend/legendContext.types.d.ts +3 -3
  307. package/esm/ChartsLegend/onClickContextBuilder.d.ts +1 -1
  308. package/esm/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
  309. package/esm/ChartsLegend/useAxis.d.ts +3 -3
  310. package/esm/ChartsOverlay/ChartsOverlay.d.ts +2 -2
  311. package/esm/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
  312. package/esm/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
  313. package/esm/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
  314. package/esm/ChartsReferenceLine/common.d.ts +3 -3
  315. package/esm/ChartsSurface/ChartsSurface.d.ts +1 -1
  316. package/esm/ChartsSurface/ChartsSurface.js +1 -13
  317. package/esm/ChartsText/ChartsText.d.ts +1 -1
  318. package/esm/ChartsText/defaultTextPlacement.d.ts +1 -1
  319. package/esm/ChartsTooltip/ChartTooltip.types.d.ts +1 -1
  320. package/esm/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
  321. package/esm/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
  322. package/esm/ChartsTooltip/ChartsTooltip.d.ts +2 -2
  323. package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
  324. package/esm/ChartsTooltip/ChartsTooltipContainer.js +4 -2
  325. package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  326. package/esm/ChartsTooltip/useAxesTooltip.d.ts +1 -1
  327. package/esm/ChartsTooltip/useAxisTooltip.d.ts +4 -4
  328. package/esm/ChartsTooltip/useItemTooltip.d.ts +2 -2
  329. package/esm/ChartsTooltip/useItemTooltip.js +1 -1
  330. package/esm/ChartsWrapper/ChartsWrapper.d.ts +3 -3
  331. package/esm/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
  332. package/esm/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +3 -1
  333. package/esm/ChartsXAxis/ChartsSingleXAxisTicks.js +6 -2
  334. package/esm/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  335. package/esm/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -2
  336. package/esm/ChartsXAxis/ChartsXAxisImpl.js +9 -3
  337. package/esm/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  338. package/esm/ChartsXAxis/shortenLabels.d.ts +3 -3
  339. package/esm/ChartsXAxis/useAxisTicksProps.d.ts +218 -119
  340. package/esm/ChartsXAxis/useAxisTicksProps.js +2 -0
  341. package/esm/ChartsXAxis/utilities.d.ts +1 -1
  342. package/esm/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
  343. package/esm/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +3 -1
  344. package/esm/ChartsYAxis/ChartsSingleYAxisTicks.js +6 -2
  345. package/esm/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  346. package/esm/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -2
  347. package/esm/ChartsYAxis/ChartsYAxisImpl.js +9 -3
  348. package/esm/ChartsYAxis/shortenLabels.d.ts +3 -3
  349. package/esm/ChartsYAxis/useAxisTicksProps.d.ts +218 -119
  350. package/esm/ChartsYAxis/useAxisTicksProps.js +2 -0
  351. package/esm/ChartsYAxis/utilities.d.ts +1 -1
  352. package/esm/Gauge/Gauge.d.ts +3 -3
  353. package/esm/Gauge/GaugeContainer.d.ts +4 -4
  354. package/esm/Gauge/GaugeValueText.d.ts +1 -1
  355. package/esm/LineChart/AppearingMask.d.ts +1 -1
  356. package/esm/LineChart/AreaElement.d.ts +3 -3
  357. package/esm/LineChart/AreaPlot.d.ts +2 -2
  358. package/esm/LineChart/AreaPlot.js +4 -1
  359. package/esm/LineChart/CircleMarkElement.d.ts +1 -1
  360. package/esm/LineChart/CircleMarkElement.js +1 -1
  361. package/esm/LineChart/FocusedLineMark.d.ts +1 -0
  362. package/esm/LineChart/{FocusedMark.js → FocusedLineMark.js} +1 -1
  363. package/esm/LineChart/LineChart.d.ts +17 -17
  364. package/esm/LineChart/LineChart.js +40 -2
  365. package/esm/LineChart/LineChart.plugins.d.ts +9 -8
  366. package/esm/LineChart/LineChart.plugins.js +2 -1
  367. package/esm/LineChart/LineElement.d.ts +3 -3
  368. package/esm/LineChart/LineHighlightElement.d.ts +1 -1
  369. package/esm/LineChart/LineHighlightPlot.d.ts +2 -2
  370. package/esm/LineChart/LinePlot.d.ts +2 -2
  371. package/esm/LineChart/LinePlot.js +4 -1
  372. package/esm/LineChart/MarkElement.d.ts +1 -1
  373. package/esm/LineChart/MarkElement.js +1 -1
  374. package/esm/LineChart/MarkPlot.d.ts +3 -3
  375. package/esm/LineChart/MarkPlot.js +44 -114
  376. package/esm/LineChart/index.d.ts +1 -0
  377. package/esm/LineChart/index.js +1 -0
  378. package/esm/LineChart/markElementClasses.d.ts +1 -1
  379. package/esm/LineChart/seriesConfig/extremums.d.ts +1 -1
  380. package/esm/LineChart/seriesConfig/getColor.d.ts +1 -1
  381. package/esm/LineChart/seriesConfig/index.d.ts +1 -1
  382. package/esm/LineChart/seriesConfig/legend.d.ts +1 -1
  383. package/esm/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  384. package/esm/LineChart/seriesConfig/seriesProcessor.js +3 -3
  385. package/esm/LineChart/useAreaPlotData.d.ts +3 -3
  386. package/esm/LineChart/useLineChartProps.d.ts +12 -12
  387. package/esm/LineChart/useLinePlotData.d.ts +3 -3
  388. package/esm/LineChart/useMarkPlotData.d.ts +18 -0
  389. package/esm/LineChart/useMarkPlotData.js +97 -0
  390. package/esm/PieChart/PieArc.d.ts +1 -1
  391. package/esm/PieChart/PieArcLabel.d.ts +1 -1
  392. package/esm/PieChart/PieArcLabel.js +4 -1
  393. package/esm/PieChart/PieArcLabelPlot.d.ts +2 -2
  394. package/esm/PieChart/PieArcPlot.d.ts +2 -2
  395. package/esm/PieChart/PieChart.d.ts +11 -11
  396. package/esm/PieChart/PieChart.plugins.d.ts +6 -5
  397. package/esm/PieChart/PieChart.plugins.js +2 -1
  398. package/esm/PieChart/PiePlot.d.ts +2 -2
  399. package/esm/PieChart/PiePlot.js +10 -54
  400. package/esm/PieChart/dataTransform/useTransformData.d.ts +1 -1
  401. package/esm/PieChart/getPieCoordinates.d.ts +2 -2
  402. package/esm/PieChart/seriesConfig/getColor.d.ts +1 -1
  403. package/esm/PieChart/seriesConfig/index.d.ts +1 -1
  404. package/esm/PieChart/seriesConfig/index.js +2 -0
  405. package/esm/PieChart/seriesConfig/legend.d.ts +1 -1
  406. package/esm/PieChart/seriesConfig/seriesLayout.d.ts +3 -0
  407. package/esm/PieChart/seriesConfig/seriesLayout.js +42 -0
  408. package/esm/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  409. package/esm/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
  410. package/esm/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  411. package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  412. package/esm/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
  413. package/esm/RadarChart/RadarChart.d.ts +11 -11
  414. package/esm/RadarChart/RadarChart.plugins.d.ts +6 -5
  415. package/esm/RadarChart/RadarChart.plugins.js +2 -1
  416. package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
  417. package/esm/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
  418. package/esm/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
  419. package/esm/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
  420. package/esm/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
  421. package/esm/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
  422. package/esm/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
  423. package/esm/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
  424. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +4 -4
  425. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +4 -4
  426. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  427. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +3 -3
  428. package/esm/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  429. package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  430. package/esm/RadarChart/seriesConfig/extremums.d.ts +1 -1
  431. package/esm/RadarChart/seriesConfig/getColor.d.ts +1 -1
  432. package/esm/RadarChart/seriesConfig/index.d.ts +1 -1
  433. package/esm/RadarChart/seriesConfig/index.js +4 -2
  434. package/esm/RadarChart/seriesConfig/legend.d.ts +1 -1
  435. package/esm/RadarChart/seriesConfig/seriesProcessor.d.ts +3 -0
  436. package/esm/RadarChart/seriesConfig/seriesProcessor.js +22 -0
  437. package/esm/RadarChart/seriesConfig/tooltipPosition.d.ts +3 -0
  438. package/esm/RadarChart/seriesConfig/tooltipPosition.js +74 -0
  439. package/esm/RadarChart/useRadarChartProps.d.ts +7 -7
  440. package/esm/RadarChart/useRadarChartProps.js +3 -1
  441. package/esm/ScatterChart/BatchScatter.d.ts +4 -4
  442. package/esm/ScatterChart/FocusedScatterMark.d.ts +2 -0
  443. package/esm/ScatterChart/FocusedScatterMark.js +44 -0
  444. package/esm/ScatterChart/Scatter.d.ts +5 -5
  445. package/esm/ScatterChart/Scatter.js +1 -9
  446. package/esm/ScatterChart/ScatterChart.d.ts +16 -16
  447. package/esm/ScatterChart/ScatterChart.js +40 -1
  448. package/esm/ScatterChart/ScatterChart.plugins.d.ts +10 -9
  449. package/esm/ScatterChart/ScatterChart.plugins.js +2 -1
  450. package/esm/ScatterChart/ScatterMarker.d.ts +1 -1
  451. package/esm/ScatterChart/ScatterMarker.types.d.ts +1 -1
  452. package/esm/ScatterChart/ScatterPlot.d.ts +1 -1
  453. package/esm/ScatterChart/index.d.ts +1 -0
  454. package/esm/ScatterChart/index.js +1 -0
  455. package/esm/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  456. package/esm/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  457. package/esm/ScatterChart/seriesConfig/index.d.ts +1 -1
  458. package/esm/ScatterChart/seriesConfig/legend.d.ts +1 -1
  459. package/esm/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  460. package/esm/ScatterChart/useScatterChartProps.d.ts +7 -7
  461. package/esm/ScatterChart/useScatterPlotData.d.ts +3 -3
  462. package/esm/SparkLineChart/SparkLineChart.d.ts +12 -12
  463. package/esm/SparkLineChart/SparkLineChart.js +40 -2
  464. package/esm/Toolbar/Toolbar.d.ts +1 -1
  465. package/esm/Toolbar/Toolbar.types.d.ts +1 -1
  466. package/esm/Toolbar/ToolbarButton.d.ts +2 -2
  467. package/esm/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
  468. package/esm/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
  469. package/esm/colorPalettes/categorical/mangoFusion.d.ts +1 -1
  470. package/esm/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
  471. package/esm/colorPalettes/sequential/blue.d.ts +1 -1
  472. package/esm/colorPalettes/sequential/cyan.d.ts +1 -1
  473. package/esm/colorPalettes/sequential/green.d.ts +1 -1
  474. package/esm/colorPalettes/sequential/orange.d.ts +1 -1
  475. package/esm/colorPalettes/sequential/pink.d.ts +1 -1
  476. package/esm/colorPalettes/sequential/purple.d.ts +1 -1
  477. package/esm/colorPalettes/sequential/red.d.ts +1 -1
  478. package/esm/colorPalettes/sequential/strawberrySky.d.ts +1 -1
  479. package/esm/colorPalettes/sequential/yellow.d.ts +1 -1
  480. package/esm/context/ChartProvider/ChartProvider.d.ts +3 -3
  481. package/esm/context/ChartProvider/ChartProvider.js +2 -1
  482. package/esm/context/ChartProvider/ChartProvider.types.d.ts +2 -2
  483. package/esm/context/ChartProvider/useChartContext.d.ts +2 -2
  484. package/esm/context/ChartsSlotsContext.d.ts +1 -1
  485. package/esm/context/useChartApiContext.d.ts +1 -1
  486. package/esm/hooks/animation/useAnimate.d.ts +1 -1
  487. package/esm/hooks/animation/useAnimateArea.d.ts +1 -1
  488. package/esm/hooks/animation/useAnimateBar.d.ts +1 -1
  489. package/esm/hooks/animation/useAnimateBarLabel.d.ts +1 -1
  490. package/esm/hooks/animation/useAnimateGaugeValueArc.d.ts +1 -1
  491. package/esm/hooks/animation/useAnimateLine.d.ts +1 -1
  492. package/esm/hooks/animation/useAnimatePieArc.d.ts +1 -1
  493. package/esm/hooks/animation/useAnimatePieArcLabel.d.ts +1 -1
  494. package/esm/hooks/index.d.ts +1 -1
  495. package/esm/hooks/index.js +1 -1
  496. package/esm/hooks/useAxis.d.ts +1 -1
  497. package/esm/hooks/useBarSeries.d.ts +3 -3
  498. package/esm/hooks/useChartGradientId.d.ts +1 -1
  499. package/esm/hooks/useChartRootRef.d.ts +1 -1
  500. package/esm/hooks/useColorScale.d.ts +1 -1
  501. package/esm/hooks/useDataset.d.ts +1 -1
  502. package/esm/hooks/useFocusedItem.d.ts +2 -2
  503. package/esm/hooks/useInteractionItemProps.d.ts +7 -6
  504. package/esm/hooks/useInteractionItemProps.js +6 -8
  505. package/esm/hooks/useIsHydrated.js +1 -1
  506. package/esm/hooks/useIsItemFocused.d.ts +1 -1
  507. package/esm/hooks/useIsItemFocusedGetter.d.ts +1 -1
  508. package/esm/hooks/useItemHighlighted.d.ts +1 -1
  509. package/esm/hooks/useLineSeries.d.ts +3 -3
  510. package/esm/hooks/usePieSeries.d.ts +10 -4
  511. package/esm/hooks/usePieSeries.js +13 -0
  512. package/esm/hooks/useRadarSeries.d.ts +3 -3
  513. package/esm/hooks/useScale.d.ts +1 -1
  514. package/esm/hooks/useScatterSeries.d.ts +3 -3
  515. package/esm/hooks/useSvgRef.d.ts +1 -1
  516. package/esm/hooks/useTicks.d.ts +22 -7
  517. package/esm/hooks/useTicks.js +125 -9
  518. package/esm/hooks/useTicksGrouped.d.ts +1 -1
  519. package/esm/index.js +1 -1
  520. package/esm/internals/Flatbush.d.ts +0 -1
  521. package/esm/internals/Flatbush.js +1 -1
  522. package/esm/internals/colorScale.d.ts +3 -3
  523. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  524. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  525. package/esm/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
  526. package/esm/internals/components/NotRendered.d.ts +1 -1
  527. package/esm/internals/configInit.d.ts +1 -1
  528. package/esm/internals/createSvgIcon.d.ts +2 -2
  529. package/esm/internals/dateHelpers.d.ts +3 -3
  530. package/esm/internals/defaultValueFormatters.d.ts +1 -1
  531. package/esm/internals/domUtils.d.ts +7 -4
  532. package/esm/internals/findMinMax.d.ts +7 -0
  533. package/esm/internals/findMinMax.js +7 -0
  534. package/esm/internals/getBandSize.d.ts +13 -0
  535. package/esm/internals/getBandSize.js +23 -0
  536. package/esm/internals/getBarDimensions.d.ts +17 -0
  537. package/esm/internals/getBarDimensions.js +44 -0
  538. package/esm/internals/getCurve.d.ts +1 -1
  539. package/esm/internals/getScale.d.ts +2 -2
  540. package/esm/internals/getSeriesColorFn.d.ts +1 -1
  541. package/esm/internals/getWordsByLines.d.ts +2 -1
  542. package/esm/internals/index.d.ts +6 -1
  543. package/esm/internals/index.js +6 -1
  544. package/esm/internals/invertScale.d.ts +1 -1
  545. package/esm/internals/invertTextAnchor.d.ts +1 -1
  546. package/esm/internals/isCartesian.d.ts +1 -1
  547. package/esm/internals/isPolar.d.ts +1 -1
  548. package/esm/internals/material/index.d.ts +2 -2
  549. package/esm/internals/plugins/allPlugins.d.ts +13 -12
  550. package/esm/internals/plugins/allPlugins.js +2 -1
  551. package/esm/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  552. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  553. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  554. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  555. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
  556. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  557. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
  558. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  559. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
  560. package/esm/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
  561. package/esm/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
  562. package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
  563. package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
  564. package/esm/internals/plugins/corePlugins/useChartSeries/index.d.ts +1 -1
  565. package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +14 -5
  566. package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.js +29 -0
  567. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
  568. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -7
  569. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +11 -3
  570. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +11 -1
  571. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +6 -5
  572. package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  573. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
  574. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +2 -2
  575. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
  576. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +7 -7
  577. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -4
  578. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
  579. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
  580. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
  581. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
  582. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
  583. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +3 -3
  584. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
  585. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
  586. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
  587. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
  588. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
  589. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
  590. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
  591. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +5 -5
  592. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +7 -67
  593. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +7 -1
  594. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +1 -1
  595. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +2 -2
  596. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
  597. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +1 -1
  598. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +4 -5
  599. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.js +1 -1
  600. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
  601. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +12 -10
  602. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +8 -7
  603. package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
  604. package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
  605. package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +3 -3
  606. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +2 -2
  607. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +2 -2
  608. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +3 -3
  609. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +2 -2
  610. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
  611. package/esm/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
  612. package/esm/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -1
  613. package/esm/internals/plugins/featurePlugins/useChartInteraction/index.js +1 -2
  614. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
  615. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -30
  616. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -6
  617. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +0 -2
  618. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +8 -20
  619. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +2 -2
  620. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +2 -2
  621. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +4 -4
  622. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -3
  623. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +5 -5
  624. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  625. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +4 -4
  626. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +4 -4
  627. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +1 -1
  628. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
  629. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
  630. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +7 -2
  631. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +10 -7
  632. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
  633. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
  634. package/esm/internals/plugins/featurePlugins/useChartTooltip/index.d.ts +3 -0
  635. package/esm/internals/plugins/featurePlugins/useChartTooltip/index.js +2 -0
  636. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.d.ts +3 -0
  637. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +44 -0
  638. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +26 -0
  639. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +58 -0
  640. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +29 -0
  641. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.js +1 -0
  642. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
  643. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
  644. package/esm/internals/plugins/models/plugin.d.ts +4 -4
  645. package/esm/internals/plugins/models/seriesConfig/index.d.ts +1 -0
  646. package/esm/internals/plugins/models/seriesConfig/index.js +1 -0
  647. package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +8 -3
  648. package/esm/internals/plugins/models/seriesConfig/seriesLayout.types.d.ts +6 -0
  649. package/esm/internals/plugins/models/seriesConfig/seriesLayout.types.js +1 -0
  650. package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +7 -7
  651. package/esm/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +9 -7
  652. package/esm/internals/plugins/utils/selectors.d.ts +2 -2
  653. package/esm/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  654. package/esm/internals/scaleGuards.d.ts +1 -1
  655. package/esm/internals/scales/scaleSymlog.d.ts +1 -1
  656. package/esm/internals/seriesSelectorOfType.d.ts +3 -3
  657. package/esm/internals/seriesSelectorOfType.js +1 -1
  658. package/esm/internals/stackSeries.d.ts +50 -4
  659. package/esm/internals/store/extractPluginParamsFromProps.d.ts +3 -3
  660. package/esm/internals/store/useCharts.d.ts +4 -4
  661. package/esm/internals/store/useCharts.types.d.ts +2 -2
  662. package/esm/internals/store/useStore.d.ts +2 -2
  663. package/esm/locales/elGR.d.ts +1 -1
  664. package/esm/locales/enUS.d.ts +1 -1
  665. package/esm/locales/frFR.d.ts +1 -1
  666. package/esm/locales/nbNO.d.ts +1 -1
  667. package/esm/locales/ptBR.d.ts +1 -1
  668. package/esm/locales/ptPT.d.ts +1 -1
  669. package/esm/locales/svSE.d.ts +1 -1
  670. package/esm/locales/utils/chartsLocaleTextApi.d.ts +1 -1
  671. package/esm/locales/utils/getChartsLocalization.d.ts +1 -1
  672. package/esm/models/axis.d.ts +20 -6
  673. package/esm/models/index.d.ts +2 -1
  674. package/esm/models/seriesType/bar.d.ts +6 -5
  675. package/esm/models/seriesType/common.d.ts +5 -2
  676. package/esm/models/seriesType/config.d.ts +17 -7
  677. package/esm/models/seriesType/index.d.ts +3 -2
  678. package/esm/models/seriesType/line.d.ts +3 -3
  679. package/esm/models/seriesType/pie.d.ts +39 -4
  680. package/esm/models/seriesType/radar.d.ts +2 -2
  681. package/esm/models/seriesType/scatter.d.ts +2 -2
  682. package/esm/models/slots/chartsBaseSlots.d.ts +2 -2
  683. package/esm/models/timeTicks.d.ts +37 -0
  684. package/esm/models/timeTicks.js +1 -0
  685. package/esm/models/z-axis.d.ts +1 -1
  686. package/esm/plugins/index.d.ts +1 -0
  687. package/esm/plugins/index.js +1 -0
  688. package/esm/themeAugmentation/components.d.ts +1 -1
  689. package/esm/themeAugmentation/overrides.d.ts +7 -7
  690. package/esm/themeAugmentation/props.d.ts +12 -12
  691. package/esm/utils/index.d.ts +2 -1
  692. package/esm/utils/index.js +2 -1
  693. package/esm/utils/niceDomain.d.ts +2 -2
  694. package/esm/utils/timeTicks.d.ts +2 -0
  695. package/esm/utils/timeTicks.js +62 -0
  696. package/hooks/animation/useAnimate.d.ts +1 -1
  697. package/hooks/animation/useAnimateArea.d.ts +1 -1
  698. package/hooks/animation/useAnimateBar.d.ts +1 -1
  699. package/hooks/animation/useAnimateBarLabel.d.ts +1 -1
  700. package/hooks/animation/useAnimateGaugeValueArc.d.ts +1 -1
  701. package/hooks/animation/useAnimateLine.d.ts +1 -1
  702. package/hooks/animation/useAnimatePieArc.d.ts +1 -1
  703. package/hooks/animation/useAnimatePieArcLabel.d.ts +1 -1
  704. package/hooks/index.d.ts +1 -1
  705. package/hooks/index.js +14 -11
  706. package/hooks/useAxis.d.ts +1 -1
  707. package/hooks/useBarSeries.d.ts +3 -3
  708. package/hooks/useChartGradientId.d.ts +1 -1
  709. package/hooks/useChartRootRef.d.ts +1 -1
  710. package/hooks/useColorScale.d.ts +1 -1
  711. package/hooks/useDataset.d.ts +1 -1
  712. package/hooks/useFocusedItem.d.ts +2 -2
  713. package/hooks/useInteractionItemProps.d.ts +7 -6
  714. package/hooks/useInteractionItemProps.js +6 -8
  715. package/hooks/useIsHydrated.js +1 -1
  716. package/hooks/useIsItemFocused.d.ts +1 -1
  717. package/hooks/useIsItemFocusedGetter.d.ts +1 -1
  718. package/hooks/useItemHighlighted.d.ts +1 -1
  719. package/hooks/useLineSeries.d.ts +3 -3
  720. package/hooks/usePieSeries.d.ts +10 -4
  721. package/hooks/usePieSeries.js +14 -0
  722. package/hooks/useRadarSeries.d.ts +3 -3
  723. package/hooks/useScale.d.ts +1 -1
  724. package/hooks/useScatterSeries.d.ts +3 -3
  725. package/hooks/useSvgRef.d.ts +1 -1
  726. package/hooks/useTicks.d.ts +22 -7
  727. package/hooks/useTicks.js +127 -10
  728. package/hooks/useTicksGrouped.d.ts +1 -1
  729. package/index.js +1 -1
  730. package/internals/Flatbush.d.ts +0 -1
  731. package/internals/Flatbush.js +1 -1
  732. package/internals/colorScale.d.ts +3 -3
  733. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  734. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  735. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
  736. package/internals/components/NotRendered.d.ts +1 -1
  737. package/internals/configInit.d.ts +1 -1
  738. package/internals/createSvgIcon.d.ts +2 -2
  739. package/internals/dateHelpers.d.ts +3 -3
  740. package/internals/defaultValueFormatters.d.ts +1 -1
  741. package/internals/domUtils.d.ts +7 -4
  742. package/internals/findMinMax.d.ts +7 -0
  743. package/internals/findMinMax.js +7 -0
  744. package/internals/getBandSize.d.ts +13 -0
  745. package/internals/getBandSize.js +29 -0
  746. package/internals/getBarDimensions.d.ts +17 -0
  747. package/internals/getBarDimensions.js +50 -0
  748. package/internals/getCurve.d.ts +1 -1
  749. package/internals/getScale.d.ts +2 -2
  750. package/internals/getSeriesColorFn.d.ts +1 -1
  751. package/internals/getWordsByLines.d.ts +2 -1
  752. package/internals/index.d.ts +6 -1
  753. package/internals/index.js +60 -12
  754. package/internals/invertScale.d.ts +1 -1
  755. package/internals/invertTextAnchor.d.ts +1 -1
  756. package/internals/isCartesian.d.ts +1 -1
  757. package/internals/isPolar.d.ts +1 -1
  758. package/internals/material/index.d.ts +2 -2
  759. package/internals/plugins/allPlugins.d.ts +13 -12
  760. package/internals/plugins/allPlugins.js +2 -1
  761. package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  762. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  763. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  764. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  765. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
  766. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  767. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
  768. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  769. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
  770. package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
  771. package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
  772. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
  773. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
  774. package/internals/plugins/corePlugins/useChartSeries/index.d.ts +1 -1
  775. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +14 -5
  776. package/internals/plugins/corePlugins/useChartSeries/processSeries.js +32 -2
  777. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
  778. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -8
  779. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +11 -3
  780. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +11 -1
  781. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +6 -5
  782. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  783. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
  784. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +1 -1
  785. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
  786. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +7 -7
  787. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -4
  788. package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
  789. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
  790. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
  791. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
  792. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
  793. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +3 -3
  794. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
  795. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
  796. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
  797. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
  798. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
  799. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
  800. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
  801. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +4 -4
  802. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +7 -67
  803. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +6 -0
  804. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +1 -1
  805. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +2 -2
  806. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
  807. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +1 -1
  808. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +4 -5
  809. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.js +1 -1
  810. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
  811. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +12 -10
  812. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +8 -7
  813. package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
  814. package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
  815. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +3 -3
  816. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +2 -2
  817. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +2 -2
  818. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +3 -3
  819. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +2 -2
  820. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
  821. package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
  822. package/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -1
  823. package/internals/plugins/featurePlugins/useChartInteraction/index.js +0 -12
  824. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
  825. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -30
  826. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -6
  827. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +1 -3
  828. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +8 -20
  829. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +2 -2
  830. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +2 -2
  831. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +4 -4
  832. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -3
  833. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +5 -5
  834. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  835. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +4 -4
  836. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +4 -4
  837. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +1 -1
  838. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
  839. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
  840. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +7 -2
  841. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +10 -6
  842. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
  843. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
  844. package/internals/plugins/featurePlugins/useChartTooltip/index.d.ts +3 -0
  845. package/internals/plugins/featurePlugins/useChartTooltip/index.js +27 -0
  846. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.d.ts +3 -0
  847. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +52 -0
  848. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +26 -0
  849. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +64 -0
  850. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +29 -0
  851. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.js +5 -0
  852. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
  853. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
  854. package/internals/plugins/models/plugin.d.ts +4 -4
  855. package/internals/plugins/models/seriesConfig/index.d.ts +1 -0
  856. package/internals/plugins/models/seriesConfig/index.js +11 -0
  857. package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +8 -3
  858. package/internals/plugins/models/seriesConfig/seriesLayout.types.d.ts +6 -0
  859. package/internals/plugins/models/seriesConfig/seriesLayout.types.js +5 -0
  860. package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +7 -7
  861. package/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +9 -7
  862. package/internals/plugins/utils/selectors.d.ts +2 -2
  863. package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  864. package/internals/scaleGuards.d.ts +1 -1
  865. package/internals/scales/scaleSymlog.d.ts +1 -1
  866. package/internals/seriesSelectorOfType.d.ts +3 -3
  867. package/internals/seriesSelectorOfType.js +1 -1
  868. package/internals/stackSeries.d.ts +50 -4
  869. package/internals/store/extractPluginParamsFromProps.d.ts +3 -3
  870. package/internals/store/useCharts.d.ts +4 -4
  871. package/internals/store/useCharts.types.d.ts +2 -2
  872. package/internals/store/useStore.d.ts +2 -2
  873. package/locales/elGR.d.ts +1 -1
  874. package/locales/enUS.d.ts +1 -1
  875. package/locales/frFR.d.ts +1 -1
  876. package/locales/nbNO.d.ts +1 -1
  877. package/locales/ptBR.d.ts +1 -1
  878. package/locales/ptPT.d.ts +1 -1
  879. package/locales/svSE.d.ts +1 -1
  880. package/locales/utils/chartsLocaleTextApi.d.ts +1 -1
  881. package/locales/utils/getChartsLocalization.d.ts +1 -1
  882. package/models/axis.d.ts +20 -6
  883. package/models/index.d.ts +2 -1
  884. package/models/seriesType/bar.d.ts +6 -5
  885. package/models/seriesType/common.d.ts +5 -2
  886. package/models/seriesType/config.d.ts +17 -7
  887. package/models/seriesType/index.d.ts +3 -2
  888. package/models/seriesType/line.d.ts +3 -3
  889. package/models/seriesType/pie.d.ts +39 -4
  890. package/models/seriesType/radar.d.ts +2 -2
  891. package/models/seriesType/scatter.d.ts +2 -2
  892. package/models/slots/chartsBaseSlots.d.ts +2 -2
  893. package/models/timeTicks.d.ts +37 -0
  894. package/models/timeTicks.js +5 -0
  895. package/models/z-axis.d.ts +1 -1
  896. package/package.json +4 -5
  897. package/plugins/index.d.ts +1 -0
  898. package/plugins/index.js +7 -0
  899. package/themeAugmentation/components.d.ts +1 -1
  900. package/themeAugmentation/overrides.d.ts +7 -7
  901. package/themeAugmentation/props.d.ts +12 -12
  902. package/utils/index.d.ts +2 -1
  903. package/utils/index.js +12 -1
  904. package/utils/niceDomain.d.ts +2 -2
  905. package/utils/timeTicks.d.ts +2 -0
  906. package/utils/timeTicks.js +68 -0
  907. package/BarChart/checkScaleErrors.d.ts +0 -10
  908. package/LineChart/FocusedMark.d.ts +0 -1
  909. package/RadarChart/seriesConfig/formatter.d.ts +0 -3
  910. package/RadarChart/seriesConfig/formatter.js +0 -18
  911. package/esm/BarChart/checkScaleErrors.d.ts +0 -10
  912. package/esm/LineChart/FocusedMark.d.ts +0 -1
  913. package/esm/RadarChart/seriesConfig/formatter.d.ts +0 -3
  914. package/esm/RadarChart/seriesConfig/formatter.js +0 -12
  915. package/esm/internals/defaultizeValueFormatter.d.ts +0 -6
  916. package/esm/internals/defaultizeValueFormatter.js +0 -10
  917. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +0 -12
  918. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.js +0 -40
  919. package/internals/defaultizeValueFormatter.d.ts +0 -6
  920. package/internals/defaultizeValueFormatter.js +0 -17
  921. package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +0 -12
  922. package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.js +0 -46
package/CHANGELOG.md CHANGED
@@ -5,6 +5,254 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.22.0
9
+
10
+ _Dec 11, 2025_
11
+
12
+ We'd like to extend a big thank you to the 11 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - Each Tree View component now exposes its own hook to initialize the `apiRef` object with accurate typing:
15
+
16
+ ```diff
17
+ -import { useTreeViewApiRef } from '@mui/x-tree-view/hooks';
18
+ +import { useSimpleTreeViewApiRef } from '@mui/x-tree-view/hooks';
19
+ -const apiRef = useTreeViewApiRef();
20
+ +const apiRef = useSimpleTreeViewApiRef();
21
+
22
+ -import { useTreeViewApiRef } from '@mui/x-tree-view/hooks';
23
+ +import { useRichTreeViewApiRef } from '@mui/x-tree-view/hooks';
24
+ -const apiRef = useTreeViewApiRef();
25
+ +const apiRef = useRichTreeViewApiRef();
26
+
27
+ -import { useTreeViewApiRef } from '@mui/x-tree-view/hooks';
28
+ +import { useRichTreeViewProApiRef } from '@mui/x-tree-view-pro/hooks';
29
+ -const apiRef = useTreeViewApiRef();
30
+ +const apiRef = useRichTreeViewProApiRef();
31
+ ```
32
+
33
+ - 📚 [Tutorial](https://mui.com/x/react-data-grid/tutorials/server-side-data/) on building a Data Grid with server-side data
34
+ - 🐞 Bugfixes
35
+
36
+ Special thanks go out to this community member for their valuable contributions:
37
+ @kzhgit
38
+
39
+ The following team members contributed to this release:
40
+ @alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @mapache-salvaje, @michelengelen, @noraleonte, @oliviertassinari
41
+
42
+ ### Data Grid
43
+
44
+ #### `@mui/x-data-grid@8.22.0`
45
+
46
+ - [DataGrid] Sync component props with theme defaults (#20590) @michelengelen
47
+ - [DataGrid] Add fallback for CSS `color-mix` if it is unsupported (#20597) @cherniavskii
48
+ - [DataGrid] Use `baseTooltip` slot for column header sort icon (#20460) @kzhgit
49
+
50
+ #### `@mui/x-data-grid-pro@8.22.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
51
+
52
+ Same changes as in `@mui/x-data-grid@8.22.0`.
53
+
54
+ #### `@mui/x-data-grid-premium@8.22.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
55
+
56
+ Same changes as in `@mui/x-data-grid-pro@8.22.0`, plus:
57
+
58
+ - [DataGridPremium] Handle pivoting column name generation for empty strings (#20608) @arminmeh
59
+ - [DataGridPremium] Pass a row with aggregated value to the custom aggregation function `valueFormatter` (#20607) @arminmeh
60
+
61
+ ### Date and Time Pickers
62
+
63
+ #### `@mui/x-date-pickers@8.22.0`
64
+
65
+ - [pickers] Fix invalid date tests (#20606) @michelengelen
66
+
67
+ #### `@mui/x-date-pickers-pro@8.22.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
68
+
69
+ Same changes as in `@mui/x-date-pickers@8.22.0`.
70
+
71
+ ### Charts
72
+
73
+ #### `@mui/x-charts@8.22.0`
74
+
75
+ - [charts] Add consistent animation duration and timing (#20564) @JCQuintas
76
+ - [charts] Extract a tooltip plugin from the interaction one (#20591) @alexfauquette
77
+ - [charts] General type improvements (#20565) @JCQuintas
78
+ - [charts] Place ordinal ticks according to a continuous scale (#19808) @alexfauquette
79
+ - [charts] Remove layout data from the tooltip internals (#20548) @alexfauquette
80
+ - [charts] Remove usage of focus outline for item highlight (#19856) @alexfauquette
81
+ - [charts] Simplify `MarkPlot` by moving calculation to `useMarkPlotData` (#20570) @JCQuintas
82
+ - [charts] Use `store.state` over `store.getSnapshot()` (#20616) @bernardobelchior
83
+ - [charts] Vendor flatqueue (#20610) @bernardobelchior
84
+ - [charts] Extract pie layout computation (#20611) @alexfauquette
85
+ - [charts][infra] Enable `@typescript-eslint/consistent-type-imports` eslint rules (#20560) @JCQuintas
86
+ - [charts][infra] Enable `import/no-cycle` eslint rules (#20554) @JCQuintas
87
+
88
+ #### `@mui/x-charts-pro@8.22.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
89
+
90
+ Same changes as in `@mui/x-charts@8.22.0`, plus:
91
+
92
+ - [charts-pro] Display sankey labels on top of nodes (#20569) @alexfauquette
93
+
94
+ #### `@mui/x-charts-premium@8.22.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
95
+
96
+ Same changes as in `@mui/x-charts-pro@8.22.0`.
97
+
98
+ ### Tree View
99
+
100
+ #### `@mui/x-tree-view@8.22.0`
101
+
102
+ - [tree view] Expose one hook per component to initialize the `apiRef` (#20235) @flaviendelangle
103
+ - [tree view] Update the typing of `updateItemChildren()` to accept `null` (#20483) @noraleonte
104
+
105
+ #### `@mui/x-tree-view-pro@8.22.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
106
+
107
+ Same changes as in `@mui/x-tree-view@8.22.0`.
108
+
109
+ ### Codemod
110
+
111
+ #### `@mui/x-codemod@8.22.0`
112
+
113
+ Internal changes.
114
+
115
+ ### Docs
116
+
117
+ - [docs] Add tutorial on building a Data Grid with server-side data (DX-22) (#19782) @mapache-salvaje
118
+ - [docs] Modify the default value for the stacking demo (#20596) @alexfauquette
119
+ - [docs] Revise the Charts Custom Components doc (#19793) @mapache-salvaje
120
+ - [docs] Remove copy-pasted `aria-label` (#20620) @alexfauquette
121
+
122
+ ### Core
123
+
124
+ - [internal] Remove unsafe dependency version from range (#20574) @oliviertassinari
125
+
126
+ ### Miscellaneous
127
+
128
+ - Bump `@mui/monorepo` digest to `800638d` (#20337) @renovate[bot]
129
+ - Bump `@next/eslint-plugin-next` to `15.5.7` (#20575) @renovate[bot]
130
+ - Bump GitHub Actions (#20577) @renovate[bot]
131
+ - Bump Tanstack query to `^5.90.12` (#20582) @renovate[bot]
132
+ - Bump Vite & Vitest (#20583) @renovate[bot]
133
+ - Bump `eslint` to `^8.48.1` (#20576) @renovate[bot]
134
+ - Bump `markdown-to-jsx` to `^9.3.2` (#20507) @renovate[bot]
135
+ - Bump `motion` to `^12.23.25` (#20579) @renovate[bot]
136
+ - Bump react monorepo to `19.2.1` (#20581) @renovate[bot]
137
+ - Bump `react-hook-form` to `^7.68.0` (#20584) @renovate[bot]
138
+ - Bump `react-router` to `^7.10.1` (#20341) @renovate[bot]
139
+ - Bump `tsx` to `^4.21.0` (#20585) @renovate[bot]
140
+ - Bump MUI infra packages (#20478) @renovate[bot]
141
+ - [infra] Automatically add teams to release PRs (#20558) @JCQuintas
142
+ - [infra] Fix codeowners typo (#20562) @JCQuintas
143
+
144
+ ## 8.21.0
145
+
146
+ _Dec 3, 2025_
147
+
148
+ We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
149
+
150
+ - ✨ Add [tick spacing property](https://mui.com/x/react-charts/axis/#tick-spacing) to charts axis to control the distance between ticks.
151
+
152
+ The following team members contributed to this release:
153
+ @alexfauquette, @bernardobelchior, @ElliottMiller, @Janpot, @JCQuintas, @romgrk, @sai6855, @siriwatknp
154
+
155
+ ### Data Grid
156
+
157
+ #### `@mui/x-data-grid@8.21.0`
158
+
159
+ - [DataGrid] Fix autosizing header width calculation (#20323) @siriwatknp
160
+ - [DataGrid] Virtualizer refactor (#19465) @romgrk
161
+
162
+ #### `@mui/x-data-grid-pro@8.21.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
163
+
164
+ Same changes as in `@mui/x-data-grid@8.21.0`.
165
+
166
+ #### `@mui/x-data-grid-premium@8.21.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
167
+
168
+ Same changes as in `@mui/x-data-grid-pro@8.21.0`, plus:
169
+
170
+ - [DataGridPremium] Prevent pasting to non-editable cells (#20333) @ElliottMiller
171
+
172
+ ### Date and Time Pickers
173
+
174
+ #### `@mui/x-date-pickers@8.21.0`
175
+
176
+ Internal changes.
177
+
178
+ #### `@mui/x-date-pickers-pro@8.21.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
179
+
180
+ Same changes as in `@mui/x-date-pickers@8.21.0`.
181
+
182
+ ### Charts
183
+
184
+ #### `@mui/x-charts@8.21.0`
185
+
186
+ - [charts] Fix string measuring types (#20454) @bernardobelchior
187
+ - [charts] Fix typo in performance note for CustomLineMarks demo (#20529) @sai6855
188
+ - [charts] Introduce the notion of series with positions (#20461) @alexfauquette
189
+ - [charts] Migrate from sinon to Vitest mocking utilities for x-charts\* packages (#20444) @Copilot
190
+ - [charts] Move series-level values to series computed data in bar plot (#20467) @bernardobelchior
191
+ - [charts] Refactor bar chart components in preparation for range bar chart (#20521) @bernardobelchior
192
+ - [charts] Remove unnecessary `any` types (#20527) @sai6855
193
+ - [charts] Remove unused `drawingArea` from `findClosestPoints` (#20471) @bernardobelchior
194
+ - [charts] Revert `useIsHydrated` to default=false (#20511) @JCQuintas
195
+ - [charts] Support tooltip anchor position for radar (#20422) @alexfauquette
196
+ - [charts] Add tick spacing property (#20282) @bernardobelchior
197
+ - [charts] Fix Vitest lint error (#20550) @bernardobelchior
198
+ - [charts] Fix infinite loop when highlighting pie slices or scatter points (#20549) @bernardobelchior
199
+
200
+ #### `@mui/x-charts-pro@8.21.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
201
+
202
+ Same changes as in `@mui/x-charts@8.21.0`, plus:
203
+
204
+ - [charts-pro] Add support for `anchor="node"` on Sankey tooltip (#20462) @alexfauquette
205
+
206
+ #### `@mui/x-charts-premium@8.21.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
207
+
208
+ Same changes as in `@mui/x-charts-pro@8.21.0`.
209
+
210
+ ### Tree View
211
+
212
+ #### `@mui/x-tree-view@8.21.0`
213
+
214
+ Internal changes.
215
+
216
+ #### `@mui/x-tree-view-pro@8.21.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
217
+
218
+ Same changes as in `@mui/x-tree-view@8.21.0`.
219
+
220
+ ### Codemod
221
+
222
+ #### `@mui/x-codemod@8.21.0`
223
+
224
+ Internal changes.
225
+
226
+ ### Docs
227
+
228
+ - [docs] Migrate to `next/font` for fonts loading (#20407) @Copilot
229
+
230
+ ### Core
231
+
232
+ - [code-infra] Enable vitest eslint plugin (#20530) @Janpot
233
+ - [code-infra] Fix missing font loading for local fonts (#20480) @Janpot
234
+ - [internal] Performance: use raw `useSyncExternalStore` (#20447) @romgrk
235
+ - [code-infra] Enable `vitest/expect-expect` and `vitest/no-standalone-expect` rules for x-charts packages (#20535) @Copilot
236
+
237
+ ### Miscellaneous
238
+
239
+ - Bump @types/d3-sankey to ^0.12.5 (#20489) @renovate[bot]
240
+ - Bump @types/react to 19.2.7 (#20490) @renovate[bot]
241
+ - Bump @types/yargs to ^17.0.35 (#20491) @renovate[bot]
242
+ - Bump Vite & Vitest to ^4.0.14 (#20500) @renovate[bot]
243
+ - Bump csstype to ^3.2.3 (#20493) @renovate[bot]
244
+ - Bump es-toolkit to ^1.42.0 (#20494) @renovate[bot]
245
+ - Bump eslint to ^8.48.0 (#20495) @renovate[bot]
246
+ - Bump lerna to ^9.0.3 (#20496) @renovate[bot]
247
+ - Bump lucide-react to ^0.555.0 (#20502) @renovate[bot]
248
+ - Bump playwright monorepo (#20503) @renovate[bot]
249
+ - Bump pnpm to 10.24.0 (#20504) @renovate[bot]
250
+ - Bump react monorepo (#20340) @renovate[bot]
251
+ - Bump react-hook-form to ^7.66.1 (#20497) @renovate[bot]
252
+ - Bump rimraf to ^6.1.2 (#20498) @renovate[bot]
253
+ - Bump webpack-bundle-analyzer to ^5.0.1 (#20508) @renovate[bot]
254
+ - Bump next to ^15.5.7 [SECURITY] (#20555) @renovate[bot]
255
+
8
256
  ## 8.20.0
9
257
 
10
258
  _Nov 26, 2025_
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { ChartSeriesType } from "../models/seriesType/config.js";
3
- import { ChartDataProviderProps } from "../ChartDataProvider/index.js";
4
- import { ChartsSurfaceProps } from "../ChartsSurface/index.js";
5
- import { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
6
- import { ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
2
+ import { type ChartSeriesType } from "../models/seriesType/config.js";
3
+ import { type ChartDataProviderProps } from "../ChartDataProvider/index.js";
4
+ import { type ChartsSurfaceProps } from "../ChartsSurface/index.js";
5
+ import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
6
+ import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
7
7
  export type ChartContainerProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = Omit<ChartDataProviderProps<SeriesType, TSignatures>, 'children'> & ChartsSurfaceProps;
8
8
  /**
9
9
  * It sets up the data providers as well as the `<svg>` for the chart.
@@ -215,6 +215,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
215
215
  tickNumber: _propTypes.default.number,
216
216
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
217
217
  tickSize: _propTypes.default.number,
218
+ tickSpacing: _propTypes.default.number,
218
219
  valueFormatter: _propTypes.default.func
219
220
  })),
220
221
  /**
@@ -260,6 +261,11 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
260
261
  labelGap: _propTypes.default.number,
261
262
  labelStyle: _propTypes.default.object,
262
263
  offset: _propTypes.default.number,
264
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
265
+ format: _propTypes.default.func.isRequired,
266
+ getTickNumber: _propTypes.default.func.isRequired,
267
+ isTick: _propTypes.default.func.isRequired
268
+ })]).isRequired),
263
269
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
264
270
  reverse: _propTypes.default.bool,
265
271
  scaleType: _propTypes.default.oneOf(['band']),
@@ -276,6 +282,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
276
282
  tickNumber: _propTypes.default.number,
277
283
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
278
284
  tickSize: _propTypes.default.number,
285
+ tickSpacing: _propTypes.default.number,
279
286
  valueFormatter: _propTypes.default.func
280
287
  }), _propTypes.default.shape({
281
288
  classes: _propTypes.default.object,
@@ -313,6 +320,11 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
313
320
  labelGap: _propTypes.default.number,
314
321
  labelStyle: _propTypes.default.object,
315
322
  offset: _propTypes.default.number,
323
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
324
+ format: _propTypes.default.func.isRequired,
325
+ getTickNumber: _propTypes.default.func.isRequired,
326
+ isTick: _propTypes.default.func.isRequired
327
+ })]).isRequired),
316
328
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
317
329
  reverse: _propTypes.default.bool,
318
330
  scaleType: _propTypes.default.oneOf(['point']),
@@ -329,6 +341,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
329
341
  tickNumber: _propTypes.default.number,
330
342
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
331
343
  tickSize: _propTypes.default.number,
344
+ tickSpacing: _propTypes.default.number,
332
345
  valueFormatter: _propTypes.default.func
333
346
  }), _propTypes.default.shape({
334
347
  classes: _propTypes.default.object,
@@ -374,6 +387,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
374
387
  tickNumber: _propTypes.default.number,
375
388
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
376
389
  tickSize: _propTypes.default.number,
390
+ tickSpacing: _propTypes.default.number,
377
391
  valueFormatter: _propTypes.default.func
378
392
  }), _propTypes.default.shape({
379
393
  classes: _propTypes.default.object,
@@ -420,6 +434,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
420
434
  tickNumber: _propTypes.default.number,
421
435
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
422
436
  tickSize: _propTypes.default.number,
437
+ tickSpacing: _propTypes.default.number,
423
438
  valueFormatter: _propTypes.default.func
424
439
  }), _propTypes.default.shape({
425
440
  classes: _propTypes.default.object,
@@ -465,6 +480,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
465
480
  tickNumber: _propTypes.default.number,
466
481
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
467
482
  tickSize: _propTypes.default.number,
483
+ tickSpacing: _propTypes.default.number,
468
484
  valueFormatter: _propTypes.default.func
469
485
  }), _propTypes.default.shape({
470
486
  classes: _propTypes.default.object,
@@ -510,6 +526,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
510
526
  tickNumber: _propTypes.default.number,
511
527
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
512
528
  tickSize: _propTypes.default.number,
529
+ tickSpacing: _propTypes.default.number,
513
530
  valueFormatter: _propTypes.default.func
514
531
  }), _propTypes.default.shape({
515
532
  classes: _propTypes.default.object,
@@ -559,6 +576,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
559
576
  tickNumber: _propTypes.default.number,
560
577
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
561
578
  tickSize: _propTypes.default.number,
579
+ tickSpacing: _propTypes.default.number,
562
580
  valueFormatter: _propTypes.default.func
563
581
  }), _propTypes.default.shape({
564
582
  classes: _propTypes.default.object,
@@ -608,6 +626,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
608
626
  tickNumber: _propTypes.default.number,
609
627
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
610
628
  tickSize: _propTypes.default.number,
629
+ tickSpacing: _propTypes.default.number,
611
630
  valueFormatter: _propTypes.default.func
612
631
  }), _propTypes.default.shape({
613
632
  classes: _propTypes.default.object,
@@ -653,6 +672,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
653
672
  tickNumber: _propTypes.default.number,
654
673
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
655
674
  tickSize: _propTypes.default.number,
675
+ tickSpacing: _propTypes.default.number,
656
676
  valueFormatter: _propTypes.default.func
657
677
  })]).isRequired),
658
678
  /**
@@ -729,6 +749,11 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
729
749
  label: _propTypes.default.string,
730
750
  labelStyle: _propTypes.default.object,
731
751
  offset: _propTypes.default.number,
752
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
753
+ format: _propTypes.default.func.isRequired,
754
+ getTickNumber: _propTypes.default.func.isRequired,
755
+ isTick: _propTypes.default.func.isRequired
756
+ })]).isRequired),
732
757
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
733
758
  reverse: _propTypes.default.bool,
734
759
  scaleType: _propTypes.default.oneOf(['band']),
@@ -745,6 +770,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
745
770
  tickNumber: _propTypes.default.number,
746
771
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
747
772
  tickSize: _propTypes.default.number,
773
+ tickSpacing: _propTypes.default.number,
748
774
  valueFormatter: _propTypes.default.func
749
775
  }), _propTypes.default.shape({
750
776
  axis: _propTypes.default.oneOf(['x']),
@@ -781,6 +807,11 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
781
807
  label: _propTypes.default.string,
782
808
  labelStyle: _propTypes.default.object,
783
809
  offset: _propTypes.default.number,
810
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
811
+ format: _propTypes.default.func.isRequired,
812
+ getTickNumber: _propTypes.default.func.isRequired,
813
+ isTick: _propTypes.default.func.isRequired
814
+ })]).isRequired),
784
815
  position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
785
816
  reverse: _propTypes.default.bool,
786
817
  scaleType: _propTypes.default.oneOf(['point']),
@@ -797,6 +828,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
797
828
  tickNumber: _propTypes.default.number,
798
829
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
799
830
  tickSize: _propTypes.default.number,
831
+ tickSpacing: _propTypes.default.number,
800
832
  valueFormatter: _propTypes.default.func
801
833
  }), _propTypes.default.shape({
802
834
  axis: _propTypes.default.oneOf(['x']),
@@ -841,6 +873,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
841
873
  tickNumber: _propTypes.default.number,
842
874
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
843
875
  tickSize: _propTypes.default.number,
876
+ tickSpacing: _propTypes.default.number,
844
877
  valueFormatter: _propTypes.default.func
845
878
  }), _propTypes.default.shape({
846
879
  axis: _propTypes.default.oneOf(['x']),
@@ -886,6 +919,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
886
919
  tickNumber: _propTypes.default.number,
887
920
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
888
921
  tickSize: _propTypes.default.number,
922
+ tickSpacing: _propTypes.default.number,
889
923
  valueFormatter: _propTypes.default.func
890
924
  }), _propTypes.default.shape({
891
925
  axis: _propTypes.default.oneOf(['x']),
@@ -930,6 +964,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
930
964
  tickNumber: _propTypes.default.number,
931
965
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
932
966
  tickSize: _propTypes.default.number,
967
+ tickSpacing: _propTypes.default.number,
933
968
  valueFormatter: _propTypes.default.func
934
969
  }), _propTypes.default.shape({
935
970
  axis: _propTypes.default.oneOf(['x']),
@@ -974,6 +1009,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
974
1009
  tickNumber: _propTypes.default.number,
975
1010
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
976
1011
  tickSize: _propTypes.default.number,
1012
+ tickSpacing: _propTypes.default.number,
977
1013
  valueFormatter: _propTypes.default.func
978
1014
  }), _propTypes.default.shape({
979
1015
  axis: _propTypes.default.oneOf(['x']),
@@ -1022,6 +1058,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1022
1058
  tickNumber: _propTypes.default.number,
1023
1059
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1024
1060
  tickSize: _propTypes.default.number,
1061
+ tickSpacing: _propTypes.default.number,
1025
1062
  valueFormatter: _propTypes.default.func
1026
1063
  }), _propTypes.default.shape({
1027
1064
  axis: _propTypes.default.oneOf(['x']),
@@ -1070,6 +1107,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1070
1107
  tickNumber: _propTypes.default.number,
1071
1108
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1072
1109
  tickSize: _propTypes.default.number,
1110
+ tickSpacing: _propTypes.default.number,
1073
1111
  valueFormatter: _propTypes.default.func
1074
1112
  }), _propTypes.default.shape({
1075
1113
  axis: _propTypes.default.oneOf(['x']),
@@ -1114,6 +1152,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1114
1152
  tickNumber: _propTypes.default.number,
1115
1153
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1116
1154
  tickSize: _propTypes.default.number,
1155
+ tickSpacing: _propTypes.default.number,
1117
1156
  valueFormatter: _propTypes.default.func
1118
1157
  })]).isRequired),
1119
1158
  /**
@@ -1157,6 +1196,11 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1157
1196
  label: _propTypes.default.string,
1158
1197
  labelStyle: _propTypes.default.object,
1159
1198
  offset: _propTypes.default.number,
1199
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
1200
+ format: _propTypes.default.func.isRequired,
1201
+ getTickNumber: _propTypes.default.func.isRequired,
1202
+ isTick: _propTypes.default.func.isRequired
1203
+ })]).isRequired),
1160
1204
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
1161
1205
  reverse: _propTypes.default.bool,
1162
1206
  scaleType: _propTypes.default.oneOf(['band']),
@@ -1172,6 +1216,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1172
1216
  tickNumber: _propTypes.default.number,
1173
1217
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1174
1218
  tickSize: _propTypes.default.number,
1219
+ tickSpacing: _propTypes.default.number,
1175
1220
  valueFormatter: _propTypes.default.func,
1176
1221
  width: _propTypes.default.number
1177
1222
  }), _propTypes.default.shape({
@@ -1208,6 +1253,11 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1208
1253
  label: _propTypes.default.string,
1209
1254
  labelStyle: _propTypes.default.object,
1210
1255
  offset: _propTypes.default.number,
1256
+ ordinalTimeTicks: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf(['biweekly', 'days', 'hours', 'months', 'quarterly', 'weeks', 'years']), _propTypes.default.shape({
1257
+ format: _propTypes.default.func.isRequired,
1258
+ getTickNumber: _propTypes.default.func.isRequired,
1259
+ isTick: _propTypes.default.func.isRequired
1260
+ })]).isRequired),
1211
1261
  position: _propTypes.default.oneOf(['left', 'none', 'right']),
1212
1262
  reverse: _propTypes.default.bool,
1213
1263
  scaleType: _propTypes.default.oneOf(['point']),
@@ -1223,6 +1273,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1223
1273
  tickNumber: _propTypes.default.number,
1224
1274
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1225
1275
  tickSize: _propTypes.default.number,
1276
+ tickSpacing: _propTypes.default.number,
1226
1277
  valueFormatter: _propTypes.default.func,
1227
1278
  width: _propTypes.default.number
1228
1279
  }), _propTypes.default.shape({
@@ -1266,6 +1317,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1266
1317
  tickNumber: _propTypes.default.number,
1267
1318
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1268
1319
  tickSize: _propTypes.default.number,
1320
+ tickSpacing: _propTypes.default.number,
1269
1321
  valueFormatter: _propTypes.default.func,
1270
1322
  width: _propTypes.default.number
1271
1323
  }), _propTypes.default.shape({
@@ -1310,6 +1362,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1310
1362
  tickNumber: _propTypes.default.number,
1311
1363
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1312
1364
  tickSize: _propTypes.default.number,
1365
+ tickSpacing: _propTypes.default.number,
1313
1366
  valueFormatter: _propTypes.default.func,
1314
1367
  width: _propTypes.default.number
1315
1368
  }), _propTypes.default.shape({
@@ -1353,6 +1406,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1353
1406
  tickNumber: _propTypes.default.number,
1354
1407
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1355
1408
  tickSize: _propTypes.default.number,
1409
+ tickSpacing: _propTypes.default.number,
1356
1410
  valueFormatter: _propTypes.default.func,
1357
1411
  width: _propTypes.default.number
1358
1412
  }), _propTypes.default.shape({
@@ -1396,6 +1450,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1396
1450
  tickNumber: _propTypes.default.number,
1397
1451
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1398
1452
  tickSize: _propTypes.default.number,
1453
+ tickSpacing: _propTypes.default.number,
1399
1454
  valueFormatter: _propTypes.default.func,
1400
1455
  width: _propTypes.default.number
1401
1456
  }), _propTypes.default.shape({
@@ -1443,6 +1498,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1443
1498
  tickNumber: _propTypes.default.number,
1444
1499
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1445
1500
  tickSize: _propTypes.default.number,
1501
+ tickSpacing: _propTypes.default.number,
1446
1502
  valueFormatter: _propTypes.default.func,
1447
1503
  width: _propTypes.default.number
1448
1504
  }), _propTypes.default.shape({
@@ -1490,6 +1546,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1490
1546
  tickNumber: _propTypes.default.number,
1491
1547
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1492
1548
  tickSize: _propTypes.default.number,
1549
+ tickSpacing: _propTypes.default.number,
1493
1550
  valueFormatter: _propTypes.default.func,
1494
1551
  width: _propTypes.default.number
1495
1552
  }), _propTypes.default.shape({
@@ -1533,6 +1590,7 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
1533
1590
  tickNumber: _propTypes.default.number,
1534
1591
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
1535
1592
  tickSize: _propTypes.default.number,
1593
+ tickSpacing: _propTypes.default.number,
1536
1594
  valueFormatter: _propTypes.default.func,
1537
1595
  width: _propTypes.default.number
1538
1596
  })]).isRequired),
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { ChartsSurfaceProps } from "../ChartsSurface/index.js";
3
- import { ChartDataProviderProps } from "../ChartDataProvider/index.js";
1
+ import type * as React from 'react';
2
+ import { type ChartsSurfaceProps } from "../ChartsSurface/index.js";
3
+ import { type ChartDataProviderProps } from "../ChartDataProvider/index.js";
4
4
  import type { ChartContainerProps } from "./ChartContainer.js";
5
- import { ChartSeriesType } from "../models/seriesType/config.js";
6
- import { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
7
- import { ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
5
+ import { type ChartSeriesType } from "../models/seriesType/config.js";
6
+ import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
7
+ import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
8
8
  export type UseChartContainerPropsReturnValue<TSeries extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = {
9
9
  chartDataProviderProps: Omit<ChartDataProviderProps<TSeries, TSignatures>, 'children'>;
10
10
  chartsSurfaceProps: ChartsSurfaceProps & {
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
- import { ChartsSlotProps, ChartsSlots } from "../internals/material/index.js";
3
- import { ChartProviderProps } from "../context/ChartProvider/index.js";
4
- import { ChartSeriesType } from "../models/seriesType/config.js";
5
- import { ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
6
- import { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
7
- import { ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
2
+ import { type ChartsSlotProps, type ChartsSlots } from "../internals/material/index.js";
3
+ import { type ChartProviderProps } from "../context/ChartProvider/index.js";
4
+ import { type ChartSeriesType } from "../models/seriesType/config.js";
5
+ import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
6
+ import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
7
+ import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
8
8
  export type ChartDataProviderProps<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>> = React.PropsWithChildren<ChartProviderProps<TSeries, TSignatures>['pluginParams'] & Pick<ChartProviderProps<TSeries, TSignatures>, 'seriesConfig' | 'plugins'>> & ChartsLocalizationProviderProps & {
9
9
  /**
10
10
  * Slots to customize charts' components.
@@ -1,9 +1,9 @@
1
1
  import type { ChartDataProviderProps } from "./ChartDataProvider.js";
2
- import { ChartProviderProps } from "../context/ChartProvider/index.js";
3
- import { ChartAnyPluginSignature } from "../internals/plugins/models/index.js";
4
- import { ChartSeriesType } from "../models/seriesType/config.js";
5
- import { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
6
- import { ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
2
+ import { type ChartProviderProps } from "../context/ChartProvider/index.js";
3
+ import { type ChartAnyPluginSignature } from "../internals/plugins/models/index.js";
4
+ import { type ChartSeriesType } from "../models/seriesType/config.js";
5
+ import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
6
+ import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
7
7
  export declare const useChartDataProviderProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(inProps: ChartDataProviderProps<TSeries, TSignatures> & ChartsLocalizationProviderProps) => {
8
8
  children: import("react").ReactNode;
9
9
  localeText: Partial<import("../locales/index.js").ChartsLocaleText> | undefined;
@@ -1,4 +1,4 @@
1
- import { ChartsAxisSlotProps, ChartsAxisSlots } from "../models/axis.js";
1
+ import { type ChartsAxisSlotProps, type ChartsAxisSlots } from "../models/axis.js";
2
2
  export interface ChartsAxisProps {
3
3
  /**
4
4
  * Overridable component slots.
@@ -1,4 +1,4 @@
1
- import { ChartsAxisHighlightProps } from "./ChartsAxisHighlight.types.js";
1
+ import { type ChartsAxisHighlightProps } from "./ChartsAxisHighlight.types.js";
2
2
  /**
3
3
  * Demos:
4
4
  *
@@ -1,4 +1,4 @@
1
- import { ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
1
+ import { type ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
2
2
  export declare const ChartsAxisHighlightPath: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
3
3
  ownerState: {
4
4
  axisHighlight: ChartsAxisHighlightType;
@@ -1,5 +1,5 @@
1
- import { ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
2
- import { ChartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.js";
1
+ import { type ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
2
+ import { type ChartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.js";
3
3
  /**
4
4
  * @ignore - internal component.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
2
- import { ChartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.js";
1
+ import { type ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
2
+ import { type ChartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.js";
3
3
  /**
4
4
  * @ignore - internal component.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { ChartsGridClasses } from "./chartsGridClasses.js";
1
+ import { type ChartsGridClasses } from "./chartsGridClasses.js";
2
2
  export interface ChartsGridProps {
3
3
  /**
4
4
  * Displays vertical grid.