@mui/x-charts 9.0.0-alpha.2 → 9.0.0-alpha.3

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 (329) hide show
  1. package/BarChart/AnimatedBarElement.d.mts +1 -1
  2. package/BarChart/AnimatedBarElement.d.ts +1 -1
  3. package/BarChart/BarChart.js +5 -2
  4. package/BarChart/BarChart.mjs +5 -2
  5. package/BarChart/BarElement.d.mts +1 -1
  6. package/BarChart/BarElement.d.ts +1 -1
  7. package/BarChart/BarElement.js +8 -7
  8. package/BarChart/BarElement.mjs +8 -7
  9. package/BarChart/BarLabel/BarLabel.js +4 -0
  10. package/BarChart/BarLabel/BarLabel.mjs +4 -0
  11. package/BarChart/BarLabel/BarLabel.types.d.mts +2 -2
  12. package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
  13. package/BarChart/BarLabel/BarLabelItem.js +8 -7
  14. package/BarChart/BarLabel/BarLabelItem.mjs +8 -7
  15. package/BarChart/BarLabel/barLabelClasses.d.mts +15 -0
  16. package/BarChart/BarLabel/barLabelClasses.d.ts +15 -0
  17. package/BarChart/BarLabel/barLabelClasses.js +19 -0
  18. package/BarChart/BarLabel/barLabelClasses.mjs +20 -0
  19. package/BarChart/BarPlot.js +1 -2
  20. package/BarChart/BarPlot.mjs +2 -3
  21. package/BarChart/barClasses.d.mts +21 -1
  22. package/BarChart/barClasses.d.ts +21 -1
  23. package/BarChart/barClasses.js +9 -3
  24. package/BarChart/barClasses.mjs +9 -3
  25. package/BarChart/barElementClasses.d.mts +17 -10
  26. package/BarChart/barElementClasses.d.ts +17 -10
  27. package/BarChart/barElementClasses.js +19 -0
  28. package/BarChart/barElementClasses.mjs +20 -0
  29. package/BarChart/index.d.mts +1 -1
  30. package/BarChart/index.d.ts +1 -1
  31. package/BarChart/index.js +1 -8
  32. package/BarChart/index.mjs +1 -1
  33. package/CHANGELOG.md +123 -1
  34. package/ChartContainer/ChartContainer.d.mts +1 -1
  35. package/ChartContainer/ChartContainer.d.ts +1 -1
  36. package/ChartContainer/useChartContainerProps.d.mts +2 -2
  37. package/ChartContainer/useChartContainerProps.d.ts +2 -2
  38. package/ChartDataProvider/ChartDataProvider.d.mts +1 -1
  39. package/ChartDataProvider/ChartDataProvider.d.ts +1 -1
  40. package/ChartDataProvider/useChartDataProviderProps.d.mts +2 -2
  41. package/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
  42. package/ChartsContainer/ChartsContainer.d.mts +1 -1
  43. package/ChartsContainer/ChartsContainer.d.ts +1 -1
  44. package/ChartsContainer/ChartsContainer.js +5 -2
  45. package/ChartsContainer/ChartsContainer.mjs +5 -2
  46. package/ChartsContainer/useChartsContainerProps.d.mts +3 -3
  47. package/ChartsContainer/useChartsContainerProps.d.ts +3 -3
  48. package/ChartsContainer/useChartsContainerProps.js +3 -3
  49. package/ChartsContainer/useChartsContainerProps.mjs +3 -3
  50. package/ChartsDataProvider/ChartsDataProvider.d.mts +2 -2
  51. package/ChartsDataProvider/ChartsDataProvider.d.ts +2 -2
  52. package/ChartsDataProvider/useChartsDataProviderProps.d.mts +2 -2
  53. package/ChartsDataProvider/useChartsDataProviderProps.d.ts +2 -2
  54. package/ChartsLabel/ChartsLabelMark.d.mts +8 -1
  55. package/ChartsLabel/ChartsLabelMark.d.ts +8 -1
  56. package/ChartsLabel/ChartsLabelMark.js +29 -3
  57. package/ChartsLabel/ChartsLabelMark.mjs +29 -3
  58. package/ChartsLabel/labelMarkClasses.d.mts +2 -0
  59. package/ChartsLabel/labelMarkClasses.d.ts +2 -0
  60. package/ChartsLabel/labelMarkClasses.js +1 -1
  61. package/ChartsLabel/labelMarkClasses.mjs +1 -1
  62. package/ChartsLegend/ChartsLegend.js +4 -2
  63. package/ChartsLegend/ChartsLegend.mjs +4 -2
  64. package/ChartsLegend/legendContext.types.d.mts +1 -0
  65. package/ChartsLegend/legendContext.types.d.ts +1 -0
  66. package/ChartsTooltip/ChartsAxisTooltipContent.js +3 -1
  67. package/ChartsTooltip/ChartsAxisTooltipContent.mjs +3 -1
  68. package/ChartsTooltip/ChartsItemTooltipContent.js +6 -2
  69. package/ChartsTooltip/ChartsItemTooltipContent.mjs +6 -2
  70. package/ChartsTooltip/ChartsTooltipContainer.js +7 -5
  71. package/ChartsTooltip/ChartsTooltipContainer.mjs +6 -4
  72. package/ChartsTooltip/ChartsTooltipTable.d.mts +1 -1
  73. package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  74. package/ChartsTooltip/useAxesTooltip.d.mts +1 -0
  75. package/ChartsTooltip/useAxesTooltip.d.ts +1 -0
  76. package/ChartsTooltip/useAxesTooltip.js +6 -4
  77. package/ChartsTooltip/useAxesTooltip.mjs +6 -4
  78. package/ChartsTooltip/useItemTooltip.d.mts +5 -3
  79. package/ChartsTooltip/useItemTooltip.d.ts +5 -3
  80. package/ChartsXAxis/useAxisTicksProps.d.mts +286 -286
  81. package/ChartsXAxis/useAxisTicksProps.d.ts +286 -286
  82. package/ChartsYAxis/useAxisTicksProps.d.mts +286 -286
  83. package/ChartsYAxis/useAxisTicksProps.d.ts +286 -286
  84. package/LineChart/AreaElement.d.mts +12 -0
  85. package/LineChart/AreaElement.d.ts +12 -0
  86. package/LineChart/AreaElement.js +28 -9
  87. package/LineChart/AreaElement.mjs +30 -9
  88. package/LineChart/AreaPlot.js +10 -4
  89. package/LineChart/AreaPlot.mjs +11 -5
  90. package/LineChart/CircleMarkElement.js +9 -2
  91. package/LineChart/CircleMarkElement.mjs +10 -3
  92. package/LineChart/LineChart.js +5 -2
  93. package/LineChart/LineChart.mjs +5 -2
  94. package/LineChart/LineElement.d.mts +12 -0
  95. package/LineChart/LineElement.d.ts +12 -0
  96. package/LineChart/LineElement.js +28 -9
  97. package/LineChart/LineElement.mjs +30 -9
  98. package/LineChart/LineHighlightElement.d.mts +12 -0
  99. package/LineChart/LineHighlightElement.d.ts +12 -0
  100. package/LineChart/LineHighlightElement.js +22 -3
  101. package/LineChart/LineHighlightElement.mjs +24 -3
  102. package/LineChart/LinePlot.js +11 -5
  103. package/LineChart/LinePlot.mjs +12 -6
  104. package/LineChart/MarkElement.js +9 -2
  105. package/LineChart/MarkElement.mjs +10 -3
  106. package/LineChart/MarkPlot.js +19 -9
  107. package/LineChart/MarkPlot.mjs +20 -10
  108. package/LineChart/index.d.mts +3 -1
  109. package/LineChart/index.d.ts +3 -1
  110. package/LineChart/index.js +10 -2
  111. package/LineChart/index.mjs +2 -1
  112. package/LineChart/lineClasses.d.mts +34 -0
  113. package/LineChart/lineClasses.d.ts +34 -0
  114. package/LineChart/lineClasses.js +32 -0
  115. package/LineChart/lineClasses.mjs +23 -0
  116. package/LineChart/markElementClasses.d.mts +17 -8
  117. package/LineChart/markElementClasses.d.ts +17 -8
  118. package/LineChart/markElementClasses.js +19 -0
  119. package/LineChart/markElementClasses.mjs +20 -0
  120. package/LineChart/seriesConfig/legend.js +1 -0
  121. package/LineChart/seriesConfig/legend.mjs +1 -0
  122. package/LineChart/seriesConfig/seriesProcessor.js +1 -1
  123. package/LineChart/seriesConfig/seriesProcessor.mjs +1 -1
  124. package/LineChart/seriesConfig/tooltip.js +2 -1
  125. package/LineChart/seriesConfig/tooltip.mjs +2 -1
  126. package/PieChart/FocusedPieArc.js +8 -6
  127. package/PieChart/FocusedPieArc.mjs +8 -6
  128. package/PieChart/PieArc.d.mts +14 -11
  129. package/PieChart/PieArc.d.ts +14 -11
  130. package/PieChart/PieArc.js +22 -4
  131. package/PieChart/PieArc.mjs +24 -4
  132. package/PieChart/PieArcLabel.d.mts +16 -2
  133. package/PieChart/PieArcLabel.d.ts +16 -2
  134. package/PieChart/PieArcLabel.js +26 -5
  135. package/PieChart/PieArcLabel.mjs +28 -5
  136. package/PieChart/PieArcLabelPlot.js +6 -1
  137. package/PieChart/PieArcLabelPlot.mjs +6 -1
  138. package/PieChart/PieArcPlot.js +6 -1
  139. package/PieChart/PieArcPlot.mjs +6 -1
  140. package/PieChart/PieChart.js +5 -2
  141. package/PieChart/PieChart.mjs +5 -2
  142. package/PieChart/PiePlot.d.mts +1 -0
  143. package/PieChart/PiePlot.d.ts +1 -0
  144. package/PieChart/PiePlot.js +4 -1
  145. package/PieChart/PiePlot.mjs +4 -1
  146. package/PieChart/dataTransform/useTransformData.js +6 -8
  147. package/PieChart/dataTransform/useTransformData.mjs +6 -8
  148. package/PieChart/pieClasses.d.mts +22 -1
  149. package/PieChart/pieClasses.d.ts +22 -1
  150. package/PieChart/pieClasses.js +10 -3
  151. package/PieChart/pieClasses.mjs +10 -3
  152. package/RadarChart/RadarChart.js +5 -2
  153. package/RadarChart/RadarChart.mjs +5 -2
  154. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +3 -3
  155. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +3 -3
  156. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +7 -14
  157. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +7 -14
  158. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +2 -2
  159. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +2 -2
  160. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +7 -14
  161. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +7 -14
  162. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +4 -9
  163. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +4 -9
  164. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +1 -1
  165. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  166. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +8 -16
  167. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +8 -16
  168. package/RadarChart/seriesConfig/tooltip.js +13 -8
  169. package/RadarChart/seriesConfig/tooltip.mjs +13 -8
  170. package/RadarChart/useRadarChartProps.js +3 -3
  171. package/RadarChart/useRadarChartProps.mjs +3 -3
  172. package/ScatterChart/BatchScatter.d.mts +2 -1
  173. package/ScatterChart/BatchScatter.d.ts +2 -1
  174. package/ScatterChart/BatchScatter.js +5 -3
  175. package/ScatterChart/BatchScatter.mjs +4 -3
  176. package/ScatterChart/FocusedScatterMark.d.mts +4 -1
  177. package/ScatterChart/FocusedScatterMark.d.ts +4 -1
  178. package/ScatterChart/FocusedScatterMark.js +12 -2
  179. package/ScatterChart/FocusedScatterMark.mjs +11 -1
  180. package/ScatterChart/Scatter.d.mts +1 -1
  181. package/ScatterChart/Scatter.d.ts +1 -1
  182. package/ScatterChart/Scatter.js +11 -9
  183. package/ScatterChart/Scatter.mjs +11 -9
  184. package/ScatterChart/ScatterChart.js +5 -2
  185. package/ScatterChart/ScatterChart.mjs +5 -2
  186. package/ScatterChart/ScatterPlot.d.mts +2 -1
  187. package/ScatterChart/ScatterPlot.d.ts +2 -1
  188. package/ScatterChart/ScatterPlot.js +16 -2
  189. package/ScatterChart/ScatterPlot.mjs +16 -2
  190. package/ScatterChart/index.d.mts +2 -2
  191. package/ScatterChart/index.d.ts +2 -2
  192. package/ScatterChart/scatterClasses.d.mts +14 -2
  193. package/ScatterChart/scatterClasses.d.ts +14 -2
  194. package/ScatterChart/scatterClasses.js +9 -3
  195. package/ScatterChart/scatterClasses.mjs +9 -3
  196. package/SparkLineChart/SparkLineChart.js +5 -2
  197. package/SparkLineChart/SparkLineChart.mjs +5 -2
  198. package/context/ChartApi.d.mts +1 -1
  199. package/context/ChartApi.d.ts +1 -1
  200. package/context/ChartProvider/ChartProvider.types.d.mts +2 -2
  201. package/context/ChartProvider/ChartProvider.types.d.ts +2 -2
  202. package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
  203. package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
  204. package/context/ChartsProvider/ChartsProvider.types.d.mts +3 -3
  205. package/context/ChartsProvider/ChartsProvider.types.d.ts +3 -3
  206. package/hooks/index.d.mts +2 -2
  207. package/hooks/index.d.ts +2 -2
  208. package/hooks/index.js +8 -8
  209. package/hooks/index.mjs +2 -2
  210. package/hooks/useInteractionItemProps.d.mts +1 -2
  211. package/hooks/useInteractionItemProps.d.ts +1 -2
  212. package/hooks/{useItemHighlighted.d.mts → useItemHighlightState.d.mts} +5 -13
  213. package/hooks/{useItemHighlighted.d.ts → useItemHighlightState.d.ts} +5 -13
  214. package/hooks/{useItemHighlighted.js → useItemHighlightState.js} +5 -10
  215. package/hooks/useItemHighlightState.mjs +17 -0
  216. package/hooks/useItemHighlightStateGetter.d.mts +9 -0
  217. package/hooks/useItemHighlightStateGetter.d.ts +9 -0
  218. package/hooks/useItemHighlightStateGetter.js +21 -0
  219. package/hooks/useItemHighlightStateGetter.mjs +16 -0
  220. package/index.js +1 -1
  221. package/index.mjs +1 -1
  222. package/internals/commonNextFocusItem.d.mts +5 -5
  223. package/internals/commonNextFocusItem.d.ts +5 -5
  224. package/internals/createCommonKeyboardFocusHandler.d.mts +2 -2
  225. package/internals/createCommonKeyboardFocusHandler.d.ts +2 -2
  226. package/internals/identifierCleaner.d.mts +8 -4
  227. package/internals/identifierCleaner.d.ts +8 -4
  228. package/internals/identifierCleaner.js +5 -1
  229. package/internals/identifierCleaner.mjs +5 -1
  230. package/internals/identifierSerializer.d.mts +10 -2
  231. package/internals/identifierSerializer.d.ts +10 -2
  232. package/internals/identifierSerializer.js +8 -0
  233. package/internals/identifierSerializer.mjs +8 -0
  234. package/internals/plugins/allPlugins.d.mts +2 -2
  235. package/internals/plugins/allPlugins.d.ts +2 -2
  236. package/internals/plugins/corePlugins/corePlugins.d.mts +1 -1
  237. package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  238. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +6 -6
  239. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +6 -6
  240. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.mts +9 -9
  241. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +9 -9
  242. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.mts +2 -2
  243. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  244. package/internals/plugins/corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.d.mts +3 -3
  245. package/internals/plugins/corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.d.ts +3 -3
  246. package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +4 -4
  247. package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +4 -4
  248. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.mts +2 -2
  249. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.ts +2 -2
  250. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.mts +1 -1
  251. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.ts +1 -1
  252. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.mts +1 -1
  253. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.ts +1 -1
  254. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.mts +1 -1
  255. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.ts +1 -1
  256. package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.mts +1 -1
  257. package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.ts +1 -1
  258. package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.mts +3 -3
  259. package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.ts +3 -3
  260. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +28 -28
  261. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +28 -28
  262. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.mts +2 -2
  263. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.ts +2 -2
  264. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.mts +6 -6
  265. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.ts +6 -6
  266. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +21 -11
  267. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +21 -11
  268. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +4 -4
  269. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +4 -4
  270. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.mts +10 -10
  271. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +10 -10
  272. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.mts +3 -3
  273. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.ts +3 -3
  274. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/serializeIdentifier.d.mts +3 -3
  275. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/serializeIdentifier.d.ts +3 -3
  276. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +5 -5
  277. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +5 -5
  278. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +1 -1
  279. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
  280. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +5 -5
  281. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +5 -5
  282. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.mts +1 -2
  283. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +1 -2
  284. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.js +0 -5
  285. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.mjs +0 -4
  286. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +10 -29
  287. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +10 -29
  288. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +27 -64
  289. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.mjs +24 -60
  290. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.mts +3 -3
  291. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.ts +3 -3
  292. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +8 -10
  293. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +8 -10
  294. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +1 -1
  295. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +1 -1
  296. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.mts +8 -2
  297. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +8 -2
  298. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +5 -5
  299. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  300. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +1 -1
  301. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
  302. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +1 -1
  303. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
  304. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +6 -4
  305. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs +6 -4
  306. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.mts +10 -10
  307. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +10 -10
  308. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.mts +16 -16
  309. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +16 -16
  310. package/internals/plugins/models/chart.d.mts +1 -1
  311. package/internals/plugins/models/chart.d.ts +1 -1
  312. package/models/seriesType/config.d.mts +18 -6
  313. package/models/seriesType/config.d.ts +18 -6
  314. package/models/seriesType/index.d.mts +8 -8
  315. package/models/seriesType/index.d.ts +8 -8
  316. package/models/seriesType/line.d.mts +2 -1
  317. package/models/seriesType/line.d.ts +2 -1
  318. package/models/seriesType/radar.d.mts +1 -1
  319. package/models/seriesType/radar.d.ts +1 -1
  320. package/package.json +3 -3
  321. package/themeAugmentation/components.d.mts +26 -1
  322. package/themeAugmentation/components.d.ts +26 -1
  323. package/themeAugmentation/overrides.d.mts +15 -1
  324. package/themeAugmentation/overrides.d.ts +15 -1
  325. package/hooks/useItemHighlighted.mjs +0 -22
  326. package/hooks/useItemHighlightedGetter.d.mts +0 -53
  327. package/hooks/useItemHighlightedGetter.d.ts +0 -53
  328. package/hooks/useItemHighlightedGetter.js +0 -26
  329. package/hooks/useItemHighlightedGetter.mjs +0 -21
@@ -1,4 +1,8 @@
1
- import { type SeriesId } from "../models/seriesType/common.js";
1
+ import type { BarElementOwnerState } from "./barClasses.js";
2
+ export { type BarElementOwnerState };
3
+ /**
4
+ * @deprecated Use `BarClasses` from `./barClasses` instead.
5
+ */
2
6
  export interface BarElementClasses {
3
7
  /** Styles applied to the root element. */
4
8
  root: string;
@@ -18,16 +22,19 @@ export interface BarElementClasses {
18
22
  */
19
23
  series: string;
20
24
  }
25
+ /**
26
+ * @deprecated Use `BarClassKey` from `./barClasses` instead.
27
+ */
21
28
  export type BarElementClassKey = keyof BarElementClasses;
22
- export interface BarElementOwnerState {
23
- seriesId: SeriesId;
24
- dataIndex: number;
25
- color: string;
26
- isFaded: boolean;
27
- isHighlighted: boolean;
28
- isFocused: boolean;
29
- classes?: Partial<BarElementClasses>;
30
- }
29
+ /**
30
+ * @deprecated Use `getBarUtilityClass` from `./barClasses` instead.
31
+ */
31
32
  export declare function getBarElementUtilityClass(slot: string): string;
33
+ /**
34
+ * @deprecated Use `barClasses` from `./barClasses` instead.
35
+ */
32
36
  export declare const barElementClasses: BarElementClasses;
37
+ /**
38
+ * @deprecated Use `useBarElementUtilityClasses` from `./barClasses` instead.
39
+ */
33
40
  export declare const useUtilityClasses: (ownerState: BarElementOwnerState) => Record<"root", string>;
@@ -10,10 +10,29 @@ exports.useUtilityClasses = void 0;
10
10
  var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
11
11
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
12
12
  var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
13
+ /**
14
+ * @deprecated Use `BarClasses` from `./barClasses` instead.
15
+ */
16
+
17
+ /**
18
+ * @deprecated Use `BarClassKey` from `./barClasses` instead.
19
+ */
20
+
21
+ /**
22
+ * @deprecated Use `getBarUtilityClass` from `./barClasses` instead.
23
+ */
13
24
  function getBarElementUtilityClass(slot) {
14
25
  return (0, _generateUtilityClass.default)('MuiBarElement', slot);
15
26
  }
27
+
28
+ /**
29
+ * @deprecated Use `barClasses` from `./barClasses` instead.
30
+ */
16
31
  const barElementClasses = exports.barElementClasses = (0, _generateUtilityClasses.default)('MuiBarElement', ['root', 'highlighted', 'faded', 'series']);
32
+
33
+ /**
34
+ * @deprecated Use `useBarElementUtilityClasses` from `./barClasses` instead.
35
+ */
17
36
  const useUtilityClasses = ownerState => {
18
37
  const {
19
38
  classes,
@@ -1,10 +1,30 @@
1
1
  import generateUtilityClass from '@mui/utils/generateUtilityClass';
2
2
  import composeClasses from '@mui/utils/composeClasses';
3
3
  import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
4
+
5
+ /**
6
+ * @deprecated Use `BarClasses` from `./barClasses` instead.
7
+ */
8
+
9
+ /**
10
+ * @deprecated Use `BarClassKey` from `./barClasses` instead.
11
+ */
12
+
13
+ /**
14
+ * @deprecated Use `getBarUtilityClass` from `./barClasses` instead.
15
+ */
4
16
  export function getBarElementUtilityClass(slot) {
5
17
  return generateUtilityClass('MuiBarElement', slot);
6
18
  }
19
+
20
+ /**
21
+ * @deprecated Use `barClasses` from `./barClasses` instead.
22
+ */
7
23
  export const barElementClasses = generateUtilityClasses('MuiBarElement', ['root', 'highlighted', 'faded', 'series']);
24
+
25
+ /**
26
+ * @deprecated Use `useBarElementUtilityClasses` from `./barClasses` instead.
27
+ */
8
28
  export const useUtilityClasses = ownerState => {
9
29
  const {
10
30
  classes,
@@ -6,5 +6,5 @@ export * from "./FocusedBar.mjs";
6
6
  export * from "./barElementClasses.mjs";
7
7
  export * from "./BarChart.plugins.mjs";
8
8
  export { type BarProps } from "./AnimatedBarElement.mjs";
9
- export { barClasses, getBarUtilityClass } from "./barClasses.mjs";
9
+ export { barClasses } from "./barClasses.mjs";
10
10
  export type { BarClassKey, BarClasses } from "./barClasses.mjs";
@@ -6,5 +6,5 @@ export * from "./FocusedBar.js";
6
6
  export * from "./barElementClasses.js";
7
7
  export * from "./BarChart.plugins.js";
8
8
  export { type BarProps } from "./AnimatedBarElement.js";
9
- export { barClasses, getBarUtilityClass } from "./barClasses.js";
9
+ export { barClasses } from "./barClasses.js";
10
10
  export type { BarClassKey, BarClasses } from "./barClasses.js";
package/BarChart/index.js CHANGED
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  var _exportNames = {
7
- barClasses: true,
8
- getBarUtilityClass: true
7
+ barClasses: true
9
8
  };
10
9
  Object.defineProperty(exports, "barClasses", {
11
10
  enumerable: true,
@@ -13,12 +12,6 @@ Object.defineProperty(exports, "barClasses", {
13
12
  return _barClasses.barClasses;
14
13
  }
15
14
  });
16
- Object.defineProperty(exports, "getBarUtilityClass", {
17
- enumerable: true,
18
- get: function () {
19
- return _barClasses.getBarUtilityClass;
20
- }
21
- });
22
15
  var _BarChart = require("./BarChart");
23
16
  Object.keys(_BarChart).forEach(function (key) {
24
17
  if (key === "default" || key === "__esModule") return;
@@ -5,4 +5,4 @@ export * from "./BarLabel/index.mjs";
5
5
  export * from "./FocusedBar.mjs";
6
6
  export * from "./barElementClasses.mjs";
7
7
  export * from "./BarChart.plugins.mjs";
8
- export { barClasses, getBarUtilityClass } from "./barClasses.mjs";
8
+ export { barClasses } from "./barClasses.mjs";
package/CHANGELOG.md CHANGED
@@ -1,5 +1,127 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.0.0-alpha.3
4
+
5
+ _Mar 12, 2026_
6
+
7
+ We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🐞 Bugfixes and internal improvements
10
+
11
+ The following team members contributed to this release:
12
+ @aemartos, @alexfauquette, @bernardobelchior, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @michelengelen, @rita-codes, @sai6855, @siriwatknp
13
+
14
+ ### Data Grid
15
+
16
+ #### `@mui/x-data-grid@9.0.0-alpha.3`
17
+
18
+ - [DataGrid] Fix crash when `rows` and `rowModesModel` are updated simultaneously (#21265) @michelengelen
19
+ - [DataGrid] Add missing `resizablePanelHandle` classes to `gridClasses` object (#21538) @sai6855
20
+ - [DataGrid] Refactor `headerAlign` style calls (#21541) @sai6855
21
+
22
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
23
+
24
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.3`, plus:
25
+
26
+ - [DataGridPro] Add `role="presentation"` to detail panel toggle header content (#21634) @michelengelen
27
+ - [DataGridPro] Fix sorting not reflected in nested server-side data (#21619) @MBilalShafi
28
+
29
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
30
+
31
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.3`.
32
+
33
+ ### Date and Time Pickers
34
+
35
+ #### `@mui/x-date-pickers@9.0.0-alpha.3`
36
+
37
+ - [pickers] Refactor `DateRangePickerDay` overrides to use a centralized `elementOverrides` object (#21426) @sai6855
38
+ - [pickers] Migrate from deprecated props for `PickersModalDialog` (#21702) @siriwatknp
39
+
40
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
41
+
42
+ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.3`.
43
+
44
+ ### Charts
45
+
46
+ #### `@mui/x-charts@9.0.0-alpha.3`
47
+
48
+ - [charts] Differentiate Line Plot roots classes (#21679) @JCQuintas
49
+ - [charts] Enable keyboard navigation by default (#21675) @alexfauquette
50
+ - [charts] Fix keyboard tooltip radar (#21667) @alexfauquette
51
+ - [charts] Fix selector default parameter (#21638) @JCQuintas
52
+ - [charts] Fix tooltip blink between node and pointer anchor (#21611) @alexfauquette
53
+ - [charts] Let tooltip and legend reflect the line shape (#21475) @alexfauquette
54
+ - [charts] Refactor `BarChart` classes structure (#21601) @JCQuintas
55
+ - [charts] Refactor `LineChart` classes structure (#21648) @JCQuintas
56
+ - [charts] Refactor `ScatterChart` classes structure (#21651) @JCQuintas
57
+ - [charts] Refactor `PieChart` classes structure (#21649) @JCQuintas
58
+ - [charts] Remove batch rendering checks in highlight selectors (#21646) @bernardobelchior
59
+ - [charts] Standardize generic arg names to `SeriesType` (#21694) @alexfauquette
60
+ - [charts] Simplify highlight hooks return types (#21695) @alexfauquette
61
+
62
+ #### `@mui/x-charts-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
63
+
64
+ Same changes as in `@mui/x-charts@9.0.0-alpha.3`, plus:
65
+
66
+ - [charts-pro] Fix heatmap style override from `arc` to `cell` (#21693) @Copilot
67
+ - [charts-pro] Fix image export truncated when page is zoomed out (#21685) @bernardobelchior
68
+ - [charts-pro] Speed-up heatmap cell search with an index lookup (#21130) @alexfauquette
69
+ - [charts-pro] Fix heatmap highlight not working (#21710) @Copilot
70
+
71
+ #### `@mui/x-charts-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
72
+
73
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
74
+
75
+ - [charts-premium] Re-enable WebGL tests (#21708) @bernardobelchior
76
+
77
+ ### Tree View
78
+
79
+ #### Breaking changes
80
+
81
+ - Remove `TreeViewBaseItem` type (use `TreeViewDefaultItemModelProperties` or a custom interface)
82
+ - Remove `useTreeViewApiRef` hook (use `useRichTreeViewApiRef`, `useSimpleTreeViewApiRef`, or `useRichTreeViewProApiRef`)
83
+ - Remove `status` from content slot props returned by `getContentProps()` (use `data-*` attributes; `status` on `useTreeItem` return value is unchanged)
84
+ - Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
85
+ - The `<RichTreeViewPro />` component has now virtualization enabled by default.
86
+ - The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
87
+ - The events of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
88
+
89
+ #### `@mui/x-tree-view@9.0.0-alpha.3`
90
+
91
+ - [tree view] Remove deprecated APIs (#21591) @flaviendelangle
92
+ - [tree view] Fix collapsed children not selected with `selectionPropagation.descendants` in `SimpleTreeView` (#21253) @flaviendelangle
93
+
94
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
95
+
96
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.3`, plus:
97
+
98
+ - [RichTreeViewPro] Make the virtualization opt-out and port the layout doc from the data grid (#21461) @flaviendelangle
99
+
100
+ ### Codemod
101
+
102
+ #### `@mui/x-codemod@9.0.0-alpha.3`
103
+
104
+ Internal changes.
105
+
106
+ ### Docs
107
+
108
+ - [docs] Fix `AssistantWithDataSource` demo crashing (#21555) @sai6855
109
+ - [docs] Remove `Preview` pill from Sankey (#21623) @bernardobelchior
110
+ - [docs] Migrate internal Material UI deprecated APIs (#21680) @siriwatknp
111
+ - [docs] Remove `New` flag on Tree View and Date and Time Pickers features released before v9 alpha (#21585) @flaviendelangle
112
+
113
+ ### Core
114
+
115
+ - [code-infra] Remove checkout step (#21688) @Janpot
116
+ - [code-infra] Fix contributor generation in changelog (#21718) @brijeshb42
117
+ - [docs-infra] Do not point to non-existent v8 subdomain (#21640) @cherniavskii
118
+
119
+ ### Miscellaneous
120
+
121
+ - [test] Add missing tests for forwarding props to filter operators in DataGrid (#21441) @siriwatknp
122
+ - [x-license] Export additional license types and constants (#21625) @aemartos
123
+ - [x-license] Refactor license verification to accept package info object and add v9 version gating (#21690) @aemartos
124
+
3
125
  ## 9.0.0-alpha.2
4
126
 
5
127
  _Mar 5, 2026_
@@ -92,7 +214,7 @@ Internal changes.
92
214
 
93
215
  - [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
94
216
  - [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
95
- - [docs] Update Roadmap section in the docs (#20892) @alelthomas
217
+ - [docs] Update Roadmap section in the docs (#20892) @alelthomas
96
218
  - [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
97
219
  - [docs] Fix missing codemod docs (#21604) @JCQuintas
98
220
 
@@ -17,6 +17,6 @@ export type ChartContainerProps<SeriesType extends ChartSeriesType = ChartSeries
17
17
  /**
18
18
  * @deprecated Use `ChartsContainer` instead. We added S to the charts prefix to align with other components.
19
19
  */
20
- export declare const ChartContainer: <TSeries extends ChartSeriesType>(props: ChartsContainerProps<TSeries> & {
20
+ export declare const ChartContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
21
21
  ref?: React.ForwardedRef<HTMLDivElement>;
22
22
  }) => React.JSX.Element;
@@ -17,6 +17,6 @@ export type ChartContainerProps<SeriesType extends ChartSeriesType = ChartSeries
17
17
  /**
18
18
  * @deprecated Use `ChartsContainer` instead. We added S to the charts prefix to align with other components.
19
19
  */
20
- export declare const ChartContainer: <TSeries extends ChartSeriesType>(props: ChartsContainerProps<TSeries> & {
20
+ export declare const ChartContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
21
21
  ref?: React.ForwardedRef<HTMLDivElement>;
22
22
  }) => React.JSX.Element;
@@ -6,8 +6,8 @@ import type { ChartContainerProps } from "./ChartContainer.mjs";
6
6
  /**
7
7
  * @deprecated Use `UseChartsContainerPropsReturnValue` instead.
8
8
  */
9
- export type UseChartContainerPropsReturnValue<TSeries extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = UseChartsContainerPropsReturnValue<TSeries, TSignatures>;
9
+ export type UseChartContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;
10
10
  /**
11
11
  * @deprecated Use `useChartsContainerProps` instead.
12
12
  */
13
- export declare const useChartContainerProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartContainerProps<TSeries, TSignatures>) => UseChartContainerPropsReturnValue<TSeries, TSignatures>;
13
+ export declare const useChartContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartContainerProps<SeriesType, TSignatures>) => UseChartContainerPropsReturnValue<SeriesType, TSignatures>;
@@ -6,8 +6,8 @@ import type { ChartContainerProps } from "./ChartContainer.js";
6
6
  /**
7
7
  * @deprecated Use `UseChartsContainerPropsReturnValue` instead.
8
8
  */
9
- export type UseChartContainerPropsReturnValue<TSeries extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = UseChartsContainerPropsReturnValue<TSeries, TSignatures>;
9
+ export type UseChartContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;
10
10
  /**
11
11
  * @deprecated Use `useChartsContainerProps` instead.
12
12
  */
13
- export declare const useChartContainerProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartContainerProps<TSeries, TSignatures>) => UseChartContainerPropsReturnValue<TSeries, TSignatures>;
13
+ export declare const useChartContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartContainerProps<SeriesType, TSignatures>) => UseChartContainerPropsReturnValue<SeriesType, TSignatures>;
@@ -13,7 +13,7 @@ export type ChartDataProviderSlotProps = ChartsDataProviderSlotProps;
13
13
  /**
14
14
  * @deprecated Use `ChartsDataProviderProps` instead. We added S to the charts prefix to align with other components.
15
15
  */
16
- export type ChartDataProviderProps<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>> = ChartsDataProviderProps<TSeries, TSignatures>;
16
+ export type ChartDataProviderProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = ChartsDataProviderProps<SeriesType, TSignatures>;
17
17
  /**
18
18
  * @deprecated Use `ChartsDataProvider` instead. We added S to the charts prefix to align with other components.
19
19
  */
@@ -13,7 +13,7 @@ export type ChartDataProviderSlotProps = ChartsDataProviderSlotProps;
13
13
  /**
14
14
  * @deprecated Use `ChartsDataProviderProps` instead. We added S to the charts prefix to align with other components.
15
15
  */
16
- export type ChartDataProviderProps<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>> = ChartsDataProviderProps<TSeries, TSignatures>;
16
+ export type ChartDataProviderProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = ChartsDataProviderProps<SeriesType, TSignatures>;
17
17
  /**
18
18
  * @deprecated Use `ChartsDataProvider` instead. We added S to the charts prefix to align with other components.
19
19
  */
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @deprecated Use `useChartsDataProviderProps` instead. We added S to the charts prefix to align with other components.
3
3
  */
4
- export declare const useChartDataProviderProps: <TSeries extends import("../internals/index.mjs").ChartSeriesType = keyof import("../internals/index.mjs").ChartsSeriesConfig, TSignatures extends readonly import("../internals/index.mjs").ChartAnyPluginSignature[] = import("../internals/plugins/allPlugins.mjs").AllPluginSignatures<TSeries>>(inProps: import("../index.mjs").ChartsDataProviderProps<TSeries, TSignatures> & import("../index.mjs").ChartsLocalizationProviderProps) => {
4
+ export declare const useChartDataProviderProps: <SeriesType extends import("../internals/index.mjs").ChartSeriesType = keyof import("../internals/index.mjs").ChartsSeriesConfig, TSignatures extends readonly import("../internals/index.mjs").ChartAnyPluginSignature[] = import("../internals/plugins/allPlugins.mjs").AllPluginSignatures<SeriesType>>(inProps: import("../index.mjs").ChartsDataProviderProps<SeriesType, TSignatures> & import("../index.mjs").ChartsLocalizationProviderProps) => {
5
5
  children: import("react").ReactNode;
6
6
  localeText: Partial<import("../locales/index.mjs").ChartsLocaleText> | undefined;
7
- chartProviderProps: import("../internals/index.mjs").ChartsProviderProps<TSeries, TSignatures>;
7
+ chartProviderProps: import("../internals/index.mjs").ChartsProviderProps<SeriesType, TSignatures>;
8
8
  slots: Partial<import("../index.mjs").ChartsDataProviderSlots> | undefined;
9
9
  slotProps: Partial<import("../index.mjs").ChartsDataProviderSlotProps> | undefined;
10
10
  };
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @deprecated Use `useChartsDataProviderProps` instead. We added S to the charts prefix to align with other components.
3
3
  */
4
- export declare const useChartDataProviderProps: <TSeries extends import("../internals/index.js").ChartSeriesType = keyof import("../internals/index.js").ChartsSeriesConfig, TSignatures extends readonly import("../internals/index.js").ChartAnyPluginSignature[] = import("../internals/plugins/allPlugins.js").AllPluginSignatures<TSeries>>(inProps: import("../index.js").ChartsDataProviderProps<TSeries, TSignatures> & import("../index.js").ChartsLocalizationProviderProps) => {
4
+ export declare const useChartDataProviderProps: <SeriesType extends import("../internals/index.js").ChartSeriesType = keyof import("../internals/index.js").ChartsSeriesConfig, TSignatures extends readonly import("../internals/index.js").ChartAnyPluginSignature[] = import("../internals/plugins/allPlugins.js").AllPluginSignatures<SeriesType>>(inProps: import("../index.js").ChartsDataProviderProps<SeriesType, TSignatures> & import("../index.js").ChartsLocalizationProviderProps) => {
5
5
  children: import("react").ReactNode;
6
6
  localeText: Partial<import("../locales/index.js").ChartsLocaleText> | undefined;
7
- chartProviderProps: import("../internals/index.js").ChartsProviderProps<TSeries, TSignatures>;
7
+ chartProviderProps: import("../internals/index.js").ChartsProviderProps<SeriesType, TSignatures>;
8
8
  slots: Partial<import("../index.js").ChartsDataProviderSlots> | undefined;
9
9
  slotProps: Partial<import("../index.js").ChartsDataProviderSlotProps> | undefined;
10
10
  };
@@ -31,7 +31,7 @@ export type ChartsContainerProps<SeriesType extends ChartSeriesType = ChartSerie
31
31
  * </ChartsContainer>
32
32
  * ```
33
33
  */
34
- declare const ChartsContainer: <TSeries extends ChartSeriesType>(props: ChartsContainerProps<TSeries> & {
34
+ declare const ChartsContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
35
35
  ref?: React.ForwardedRef<HTMLDivElement>;
36
36
  }) => React.JSX.Element;
37
37
  export { ChartsContainer };
@@ -31,7 +31,7 @@ export type ChartsContainerProps<SeriesType extends ChartSeriesType = ChartSerie
31
31
  * </ChartsContainer>
32
32
  * ```
33
33
  */
34
- declare const ChartsContainer: <TSeries extends ChartSeriesType>(props: ChartsContainerProps<TSeries> & {
34
+ declare const ChartsContainer: <SeriesType extends ChartSeriesType>(props: ChartsContainerProps<SeriesType> & {
35
35
  ref?: React.ForwardedRef<HTMLDivElement>;
36
36
  }) => React.JSX.Element;
37
37
  export { ChartsContainer };
@@ -93,11 +93,14 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
93
93
  * @default false
94
94
  */
95
95
  disableAxisListener: _propTypes.default.bool,
96
+ /**
97
+ * If `true`, disables keyboard navigation for the chart.
98
+ */
99
+ disableKeyboardNavigation: _propTypes.default.bool,
96
100
  /**
97
101
  * If true, the voronoi interaction are ignored.
98
102
  */
99
103
  disableVoronoi: _propTypes.default.bool,
100
- enableKeyboardNavigation: _propTypes.default.bool,
101
104
  /**
102
105
  * Options to enable features planned for the next major.
103
106
  */
@@ -252,7 +255,7 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
252
255
  /**
253
256
  * The callback fired when the tooltip item changes.
254
257
  *
255
- * @param {SeriesItemIdentifier<TSeries> | null} tooltipItem The newly highlighted item.
258
+ * @param {SeriesItemIdentifier<SeriesType> | null} tooltipItem The newly highlighted item.
256
259
  */
257
260
  onTooltipItemChange: _propTypes.default.func,
258
261
  /**
@@ -86,11 +86,14 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
86
86
  * @default false
87
87
  */
88
88
  disableAxisListener: PropTypes.bool,
89
+ /**
90
+ * If `true`, disables keyboard navigation for the chart.
91
+ */
92
+ disableKeyboardNavigation: PropTypes.bool,
89
93
  /**
90
94
  * If true, the voronoi interaction are ignored.
91
95
  */
92
96
  disableVoronoi: PropTypes.bool,
93
- enableKeyboardNavigation: PropTypes.bool,
94
97
  /**
95
98
  * Options to enable features planned for the next major.
96
99
  */
@@ -245,7 +248,7 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
245
248
  /**
246
249
  * The callback fired when the tooltip item changes.
247
250
  *
248
- * @param {SeriesItemIdentifier<TSeries> | null} tooltipItem The newly highlighted item.
251
+ * @param {SeriesItemIdentifier<SeriesType> | null} tooltipItem The newly highlighted item.
249
252
  */
250
253
  onTooltipItemChange: PropTypes.func,
251
254
  /**
@@ -4,9 +4,9 @@ import type { ChartsContainerProps } from "./ChartsContainer.mjs";
4
4
  import { type ChartSeriesType } from "../models/seriesType/config.mjs";
5
5
  import { type AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
6
6
  import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.mjs";
7
- export type UseChartsContainerPropsReturnValue<TSeries extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = {
8
- chartDataProviderProps: ChartDataProviderProps<TSeries, TSignatures>;
7
+ export type UseChartsContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = {
8
+ chartDataProviderProps: ChartDataProviderProps<SeriesType, TSignatures>;
9
9
  chartsSurfaceProps: ChartsSurfaceProps;
10
10
  children: React.ReactNode;
11
11
  };
12
- export declare const useChartsContainerProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartsContainerProps<TSeries, TSignatures>) => UseChartsContainerPropsReturnValue<TSeries, TSignatures>;
12
+ export declare const useChartsContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsContainerProps<SeriesType, TSignatures>) => UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;
@@ -4,9 +4,9 @@ import type { ChartsContainerProps } from "./ChartsContainer.js";
4
4
  import { type ChartSeriesType } from "../models/seriesType/config.js";
5
5
  import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
6
6
  import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
7
- export type UseChartsContainerPropsReturnValue<TSeries extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = {
8
- chartDataProviderProps: ChartDataProviderProps<TSeries, TSignatures>;
7
+ export type UseChartsContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = {
8
+ chartDataProviderProps: ChartDataProviderProps<SeriesType, TSignatures>;
9
9
  chartsSurfaceProps: ChartsSurfaceProps;
10
10
  children: React.ReactNode;
11
11
  };
12
- export declare const useChartsContainerProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartsContainerProps<TSeries, TSignatures>) => UseChartsContainerPropsReturnValue<TSeries, TSignatures>;
12
+ export declare const useChartsContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsContainerProps<SeriesType, TSignatures>) => UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;
@@ -9,7 +9,7 @@ exports.useChartsContainerProps = void 0;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
11
11
  var _allPlugins = require("../internals/plugins/allPlugins");
12
- const _excluded = ["width", "height", "margin", "children", "series", "colors", "dataset", "desc", "onAxisClick", "highlightedAxis", "onHighlightedAxisChange", "tooltipAxis", "onTooltipAxisChange", "tooltipItem", "onTooltipItemChange", "disableVoronoi", "voronoiMaxRadius", "onItemClick", "disableAxisListener", "highlightedItem", "onHighlightChange", "sx", "title", "axesGap", "xAxis", "yAxis", "zAxis", "rotationAxis", "radiusAxis", "skipAnimation", "seriesConfig", "plugins", "localeText", "slots", "slotProps", "experimentalFeatures", "enableKeyboardNavigation", "brushConfig", "onHiddenItemsChange", "hiddenItems", "initialHiddenItems"];
12
+ const _excluded = ["width", "height", "margin", "children", "series", "colors", "dataset", "desc", "onAxisClick", "highlightedAxis", "onHighlightedAxisChange", "tooltipAxis", "onTooltipAxisChange", "tooltipItem", "onTooltipItemChange", "disableVoronoi", "voronoiMaxRadius", "onItemClick", "disableAxisListener", "highlightedItem", "onHighlightChange", "sx", "title", "axesGap", "xAxis", "yAxis", "zAxis", "rotationAxis", "radiusAxis", "skipAnimation", "seriesConfig", "plugins", "localeText", "slots", "slotProps", "experimentalFeatures", "disableKeyboardNavigation", "brushConfig", "onHiddenItemsChange", "hiddenItems", "initialHiddenItems"];
13
13
  const useChartsContainerProps = props => {
14
14
  const _ref = props,
15
15
  {
@@ -49,7 +49,7 @@ const useChartsContainerProps = props => {
49
49
  slots,
50
50
  slotProps,
51
51
  experimentalFeatures,
52
- enableKeyboardNavigation,
52
+ disableKeyboardNavigation,
53
53
  brushConfig,
54
54
  onHiddenItemsChange,
55
55
  hiddenItems,
@@ -91,7 +91,7 @@ const useChartsContainerProps = props => {
91
91
  localeText,
92
92
  seriesConfig,
93
93
  experimentalFeatures,
94
- enableKeyboardNavigation,
94
+ disableKeyboardNavigation,
95
95
  brushConfig,
96
96
  onHiddenItemsChange,
97
97
  hiddenItems,
@@ -2,7 +2,7 @@
2
2
 
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
- const _excluded = ["width", "height", "margin", "children", "series", "colors", "dataset", "desc", "onAxisClick", "highlightedAxis", "onHighlightedAxisChange", "tooltipAxis", "onTooltipAxisChange", "tooltipItem", "onTooltipItemChange", "disableVoronoi", "voronoiMaxRadius", "onItemClick", "disableAxisListener", "highlightedItem", "onHighlightChange", "sx", "title", "axesGap", "xAxis", "yAxis", "zAxis", "rotationAxis", "radiusAxis", "skipAnimation", "seriesConfig", "plugins", "localeText", "slots", "slotProps", "experimentalFeatures", "enableKeyboardNavigation", "brushConfig", "onHiddenItemsChange", "hiddenItems", "initialHiddenItems"];
5
+ const _excluded = ["width", "height", "margin", "children", "series", "colors", "dataset", "desc", "onAxisClick", "highlightedAxis", "onHighlightedAxisChange", "tooltipAxis", "onTooltipAxisChange", "tooltipItem", "onTooltipItemChange", "disableVoronoi", "voronoiMaxRadius", "onItemClick", "disableAxisListener", "highlightedItem", "onHighlightChange", "sx", "title", "axesGap", "xAxis", "yAxis", "zAxis", "rotationAxis", "radiusAxis", "skipAnimation", "seriesConfig", "plugins", "localeText", "slots", "slotProps", "experimentalFeatures", "disableKeyboardNavigation", "brushConfig", "onHiddenItemsChange", "hiddenItems", "initialHiddenItems"];
6
6
  import { DEFAULT_PLUGINS } from "../internals/plugins/allPlugins.mjs";
7
7
  export const useChartsContainerProps = props => {
8
8
  const _ref = props,
@@ -43,7 +43,7 @@ export const useChartsContainerProps = props => {
43
43
  slots,
44
44
  slotProps,
45
45
  experimentalFeatures,
46
- enableKeyboardNavigation,
46
+ disableKeyboardNavigation,
47
47
  brushConfig,
48
48
  onHiddenItemsChange,
49
49
  hiddenItems,
@@ -85,7 +85,7 @@ export const useChartsContainerProps = props => {
85
85
  localeText,
86
86
  seriesConfig,
87
87
  experimentalFeatures,
88
- enableKeyboardNavigation,
88
+ disableKeyboardNavigation,
89
89
  brushConfig,
90
90
  onHiddenItemsChange,
91
91
  hiddenItems,
@@ -7,7 +7,7 @@ import { type AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
7
7
  import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.mjs";
8
8
  export interface ChartsDataProviderSlots extends ChartsSlots {}
9
9
  export interface ChartsDataProviderSlotProps extends ChartsSlotProps {}
10
- export type ChartsDataProviderProps<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>> = React.PropsWithChildren<ChartsProviderProps<TSeries, TSignatures>['pluginParams'] & Pick<ChartsProviderProps<TSeries, TSignatures>, 'plugins'>> & ChartsLocalizationProviderProps & {
10
+ export type ChartsDataProviderProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = React.PropsWithChildren<ChartsProviderProps<SeriesType, TSignatures>['pluginParams'] & Pick<ChartsProviderProps<SeriesType, TSignatures>, 'plugins'>> & ChartsLocalizationProviderProps & {
11
11
  /**
12
12
  * Slots to customize charts' components.
13
13
  */
@@ -44,7 +44,7 @@ export type ChartsDataProviderProps<TSeries extends ChartSeriesType = ChartSerie
44
44
  * </ChartsDataProvider>
45
45
  * ```
46
46
  */
47
- declare function ChartsDataProvider<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartsDataProviderProps<TSeries, TSignatures>): import("react/jsx-runtime").JSX.Element;
47
+ declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>): import("react/jsx-runtime").JSX.Element;
48
48
  declare namespace ChartsDataProvider {
49
49
  var propTypes: any;
50
50
  }
@@ -7,7 +7,7 @@ import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
7
7
  import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
8
8
  export interface ChartsDataProviderSlots extends ChartsSlots {}
9
9
  export interface ChartsDataProviderSlotProps extends ChartsSlotProps {}
10
- export type ChartsDataProviderProps<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>> = React.PropsWithChildren<ChartsProviderProps<TSeries, TSignatures>['pluginParams'] & Pick<ChartsProviderProps<TSeries, TSignatures>, 'plugins'>> & ChartsLocalizationProviderProps & {
10
+ export type ChartsDataProviderProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = React.PropsWithChildren<ChartsProviderProps<SeriesType, TSignatures>['pluginParams'] & Pick<ChartsProviderProps<SeriesType, TSignatures>, 'plugins'>> & ChartsLocalizationProviderProps & {
11
11
  /**
12
12
  * Slots to customize charts' components.
13
13
  */
@@ -44,7 +44,7 @@ export type ChartsDataProviderProps<TSeries extends ChartSeriesType = ChartSerie
44
44
  * </ChartsDataProvider>
45
45
  * ```
46
46
  */
47
- declare function ChartsDataProvider<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartsDataProviderProps<TSeries, TSignatures>): import("react/jsx-runtime").JSX.Element;
47
+ declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>): import("react/jsx-runtime").JSX.Element;
48
48
  declare namespace ChartsDataProvider {
49
49
  var propTypes: any;
50
50
  }
@@ -4,10 +4,10 @@ import { type ChartAnyPluginSignature } from "../internals/plugins/models/index.
4
4
  import { type ChartSeriesType } from "../models/seriesType/config.mjs";
5
5
  import { type AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
6
6
  import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.mjs";
7
- export declare const useChartsDataProviderProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(inProps: ChartsDataProviderProps<TSeries, TSignatures> & ChartsLocalizationProviderProps) => {
7
+ export declare const useChartsDataProviderProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(inProps: ChartsDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
8
8
  children: import("react").ReactNode;
9
9
  localeText: Partial<import("../locales/index.mjs").ChartsLocaleText> | undefined;
10
- chartProviderProps: ChartsProviderProps<TSeries, TSignatures>;
10
+ chartProviderProps: ChartsProviderProps<SeriesType, TSignatures>;
11
11
  slots: Partial<import("./ChartsDataProvider.mjs").ChartsDataProviderSlots> | undefined;
12
12
  slotProps: Partial<import("./ChartsDataProvider.mjs").ChartsDataProviderSlotProps> | undefined;
13
13
  };
@@ -4,10 +4,10 @@ import { type ChartAnyPluginSignature } from "../internals/plugins/models/index.
4
4
  import { type ChartSeriesType } from "../models/seriesType/config.js";
5
5
  import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
6
6
  import { type ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js";
7
- export declare const useChartsDataProviderProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(inProps: ChartsDataProviderProps<TSeries, TSignatures> & ChartsLocalizationProviderProps) => {
7
+ export declare const useChartsDataProviderProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(inProps: ChartsDataProviderProps<SeriesType, TSignatures> & ChartsLocalizationProviderProps) => {
8
8
  children: import("react").ReactNode;
9
9
  localeText: Partial<import("../locales/index.js").ChartsLocaleText> | undefined;
10
- chartProviderProps: ChartsProviderProps<TSeries, TSignatures>;
10
+ chartProviderProps: ChartsProviderProps<SeriesType, TSignatures>;
11
11
  slots: Partial<import("./ChartsDataProvider.js").ChartsDataProviderSlots> | undefined;
12
12
  slotProps: Partial<import("./ChartsDataProvider.js").ChartsDataProviderSlotProps> | undefined;
13
13
  };