@mui/x-charts 9.0.0-alpha.4 → 9.0.0-beta.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 (242) hide show
  1. package/BarChart/BarChart.js +19 -28
  2. package/BarChart/BarChart.mjs +19 -28
  3. package/BarChart/BarElement.js +3 -5
  4. package/BarChart/BarElement.mjs +3 -5
  5. package/BarChart/BarLabel/BarLabelPlot.d.mts +0 -2
  6. package/BarChart/BarLabel/BarLabelPlot.d.ts +0 -2
  7. package/BarChart/BarLabel/BarLabelPlot.js +2 -3
  8. package/BarChart/BarLabel/BarLabelPlot.mjs +2 -3
  9. package/BarChart/BarPlot.d.mts +2 -12
  10. package/BarChart/BarPlot.d.ts +2 -12
  11. package/BarChart/BarPlot.js +4 -18
  12. package/BarChart/BarPlot.mjs +4 -18
  13. package/BarChart/BatchBarPlot/BatchBarPlot.js +0 -27
  14. package/BarChart/BatchBarPlot/BatchBarPlot.mjs +0 -27
  15. package/BarChart/IndividualBarPlot.d.mts +1 -2
  16. package/BarChart/IndividualBarPlot.d.ts +1 -2
  17. package/BarChart/IndividualBarPlot.js +5 -10
  18. package/BarChart/IndividualBarPlot.mjs +5 -10
  19. package/BarChart/seriesConfig/bar/descriptionGetter.d.mts +3 -0
  20. package/BarChart/seriesConfig/bar/descriptionGetter.d.ts +3 -0
  21. package/BarChart/seriesConfig/bar/descriptionGetter.js +36 -0
  22. package/BarChart/seriesConfig/bar/descriptionGetter.mjs +30 -0
  23. package/BarChart/seriesConfig/index.js +5 -1
  24. package/BarChart/seriesConfig/index.mjs +5 -1
  25. package/BarChart/useBarChartProps.js +2 -4
  26. package/BarChart/useBarChartProps.mjs +2 -4
  27. package/CHANGELOG.md +107 -1
  28. package/ChartsContainer/ChartsContainer.js +29 -29
  29. package/ChartsContainer/ChartsContainer.mjs +29 -29
  30. package/ChartsLayerContainer/ChartsLayerContainer.js +6 -2
  31. package/ChartsLayerContainer/ChartsLayerContainer.mjs +7 -2
  32. package/ChartsSvgLayer/ChartsSvgLayer.js +2 -2
  33. package/ChartsSvgLayer/ChartsSvgLayer.mjs +2 -2
  34. package/ChartsXAxis/ChartsGroupedXAxisTicks.js +12 -3
  35. package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +12 -3
  36. package/ChartsXAxis/useAxisTicksProps.d.mts +89 -89
  37. package/ChartsXAxis/useAxisTicksProps.d.ts +89 -89
  38. package/ChartsYAxis/ChartsGroupedYAxisTicks.js +12 -3
  39. package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +12 -3
  40. package/ChartsYAxis/useAxisTicksProps.d.mts +89 -89
  41. package/ChartsYAxis/useAxisTicksProps.d.ts +89 -89
  42. package/Gauge/Gauge.js +0 -4
  43. package/Gauge/Gauge.mjs +0 -4
  44. package/Gauge/GaugeContainer.d.mts +1 -1
  45. package/Gauge/GaugeContainer.d.ts +1 -1
  46. package/Gauge/GaugeContainer.js +0 -4
  47. package/Gauge/GaugeContainer.mjs +0 -4
  48. package/LineChart/AreaElement.js +5 -1
  49. package/LineChart/AreaElement.mjs +5 -1
  50. package/LineChart/CircleMarkElement.js +8 -5
  51. package/LineChart/CircleMarkElement.mjs +8 -5
  52. package/LineChart/LineChart.js +21 -19
  53. package/LineChart/LineChart.mjs +21 -19
  54. package/LineChart/LineElement.js +5 -1
  55. package/LineChart/LineElement.mjs +5 -1
  56. package/LineChart/MarkElement.js +7 -4
  57. package/LineChart/MarkElement.mjs +7 -4
  58. package/LineChart/seriesConfig/curveEvaluation.d.mts +11 -0
  59. package/LineChart/seriesConfig/curveEvaluation.d.ts +11 -0
  60. package/LineChart/seriesConfig/curveEvaluation.js +134 -0
  61. package/LineChart/seriesConfig/curveEvaluation.mjs +129 -0
  62. package/LineChart/seriesConfig/descriptionGetter.d.mts +3 -0
  63. package/LineChart/seriesConfig/descriptionGetter.d.ts +3 -0
  64. package/LineChart/seriesConfig/descriptionGetter.js +37 -0
  65. package/LineChart/seriesConfig/descriptionGetter.mjs +31 -0
  66. package/LineChart/seriesConfig/getItemAtPosition.d.mts +7 -0
  67. package/LineChart/seriesConfig/getItemAtPosition.d.ts +7 -0
  68. package/LineChart/seriesConfig/getItemAtPosition.js +356 -0
  69. package/LineChart/seriesConfig/getItemAtPosition.mjs +351 -0
  70. package/LineChart/seriesConfig/index.js +4 -0
  71. package/LineChart/seriesConfig/index.mjs +4 -0
  72. package/PieChart/PieArc.js +2 -3
  73. package/PieChart/PieArc.mjs +2 -3
  74. package/PieChart/seriesConfig/descriptionGetter.d.mts +3 -0
  75. package/PieChart/seriesConfig/descriptionGetter.d.ts +3 -0
  76. package/PieChart/seriesConfig/descriptionGetter.js +26 -0
  77. package/PieChart/seriesConfig/descriptionGetter.mjs +20 -0
  78. package/PieChart/seriesConfig/index.js +2 -0
  79. package/PieChart/seriesConfig/index.mjs +2 -0
  80. package/RadarChart/seriesConfig/descriptionGetter.d.mts +3 -0
  81. package/RadarChart/seriesConfig/descriptionGetter.d.ts +3 -0
  82. package/RadarChart/seriesConfig/descriptionGetter.js +37 -0
  83. package/RadarChart/seriesConfig/descriptionGetter.mjs +31 -0
  84. package/RadarChart/seriesConfig/index.js +2 -0
  85. package/RadarChart/seriesConfig/index.mjs +2 -0
  86. package/ScatterChart/ScatterChart.js +18 -18
  87. package/ScatterChart/ScatterChart.mjs +18 -18
  88. package/ScatterChart/seriesConfig/descriptionGetter.d.mts +3 -0
  89. package/ScatterChart/seriesConfig/descriptionGetter.d.ts +3 -0
  90. package/ScatterChart/seriesConfig/descriptionGetter.js +34 -0
  91. package/ScatterChart/seriesConfig/descriptionGetter.mjs +28 -0
  92. package/ScatterChart/seriesConfig/index.js +2 -0
  93. package/ScatterChart/seriesConfig/index.mjs +2 -0
  94. package/SparkLineChart/SparkLineChart.js +21 -19
  95. package/SparkLineChart/SparkLineChart.mjs +21 -19
  96. package/constants/index.js +0 -2
  97. package/constants/index.mjs +0 -2
  98. package/hooks/useInteractionItemProps.d.mts +1 -1
  99. package/hooks/useInteractionItemProps.d.ts +1 -1
  100. package/hooks/useInteractionItemProps.js +3 -3
  101. package/hooks/useInteractionItemProps.mjs +3 -3
  102. package/index.js +1 -1
  103. package/index.mjs +1 -1
  104. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.mts +5 -0
  105. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.ts +5 -0
  106. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.js +100 -0
  107. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.mjs +96 -0
  108. package/internals/components/ChartsAccessibilityProxy/index.d.mts +1 -0
  109. package/internals/components/ChartsAccessibilityProxy/index.d.ts +1 -0
  110. package/internals/components/ChartsAccessibilityProxy/index.js +16 -0
  111. package/internals/components/ChartsAccessibilityProxy/index.mjs +1 -0
  112. package/internals/components/ChartsAccessibilityProxy/useDescription.d.mts +5 -0
  113. package/internals/components/ChartsAccessibilityProxy/useDescription.d.ts +5 -0
  114. package/internals/components/ChartsAccessibilityProxy/useDescription.js +71 -0
  115. package/internals/components/ChartsAccessibilityProxy/useDescription.mjs +66 -0
  116. package/internals/getChartPoint.js +18 -1
  117. package/internals/getChartPoint.mjs +18 -1
  118. package/internals/plugins/corePlugins/corePlugins.d.mts +2 -2
  119. package/internals/plugins/corePlugins/corePlugins.d.ts +2 -2
  120. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.mts +2 -1
  121. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +2 -1
  122. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +2 -1
  123. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +2 -1
  124. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +22 -7
  125. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +22 -7
  126. package/internals/plugins/corePlugins/useChartSeries/index.d.mts +2 -1
  127. package/internals/plugins/corePlugins/useChartSeries/index.d.ts +2 -1
  128. package/internals/plugins/corePlugins/useChartSeries/index.js +12 -0
  129. package/internals/plugins/corePlugins/useChartSeries/index.mjs +2 -1
  130. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +1 -8
  131. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +1 -8
  132. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +1 -11
  133. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs +1 -11
  134. package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.d.mts +8 -0
  135. package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.d.ts +8 -0
  136. package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.js +19 -0
  137. package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.mjs +14 -0
  138. package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.d.mts +5 -0
  139. package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.d.ts +5 -0
  140. package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.js +5 -0
  141. package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.mjs +1 -0
  142. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.mts +1 -0
  143. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.ts +1 -0
  144. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.js +11 -0
  145. package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.mjs +1 -0
  146. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +2 -0
  147. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +2 -0
  148. package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.d.mts +4 -10
  149. package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.d.ts +4 -10
  150. package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.js +28 -19
  151. package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.mjs +28 -18
  152. package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.d.mts +5 -0
  153. package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.d.ts +5 -0
  154. package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.js +11 -0
  155. package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.mjs +5 -0
  156. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.mts +33 -0
  157. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.ts +33 -0
  158. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.js +318 -0
  159. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.mjs +311 -0
  160. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +5 -1
  161. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +5 -1
  162. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +63 -8
  163. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.mjs +62 -8
  164. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +12 -4
  165. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.mjs +12 -4
  166. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +12 -2
  167. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +12 -2
  168. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +28 -0
  169. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +27 -0
  170. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.mts +3 -1
  171. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +3 -1
  172. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +22 -2
  173. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs +3 -1
  174. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.mts +30 -0
  175. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.ts +30 -0
  176. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.js +96 -0
  177. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.mjs +91 -0
  178. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.mts +16 -0
  179. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.ts +16 -0
  180. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.js +36 -0
  181. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +31 -0
  182. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.d.mts +15 -0
  183. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.d.ts +15 -0
  184. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.js +45 -0
  185. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.mjs +39 -0
  186. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.mts +11 -0
  187. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +11 -0
  188. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +53 -11
  189. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.mjs +52 -11
  190. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +4 -9
  191. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +4 -9
  192. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +16 -40
  193. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +19 -43
  194. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.js +20 -2
  195. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.mjs +20 -2
  196. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +36 -30
  197. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +36 -30
  198. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.mts +8 -0
  199. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +8 -0
  200. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +9 -2
  201. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +9 -2
  202. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.mts +6 -0
  203. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +6 -0
  204. package/internals/store/useCharts.d.mts +1 -1
  205. package/internals/store/useCharts.d.ts +1 -1
  206. package/locales/elGR.d.mts +76 -0
  207. package/locales/elGR.d.ts +76 -0
  208. package/locales/elGR.js +89 -0
  209. package/locales/elGR.mjs +89 -0
  210. package/locales/enUS.d.mts +76 -0
  211. package/locales/enUS.d.ts +76 -0
  212. package/locales/enUS.js +89 -1
  213. package/locales/enUS.mjs +89 -1
  214. package/locales/frFR.d.mts +76 -0
  215. package/locales/frFR.d.ts +76 -0
  216. package/locales/frFR.js +89 -0
  217. package/locales/frFR.mjs +89 -0
  218. package/locales/nbNO.d.mts +76 -0
  219. package/locales/nbNO.d.ts +76 -0
  220. package/locales/nbNO.js +89 -0
  221. package/locales/nbNO.mjs +89 -0
  222. package/locales/ptBR.d.mts +76 -0
  223. package/locales/ptBR.d.ts +76 -0
  224. package/locales/ptBR.js +89 -0
  225. package/locales/ptBR.mjs +89 -0
  226. package/locales/ptPT.d.mts +76 -0
  227. package/locales/ptPT.d.ts +76 -0
  228. package/locales/ptPT.js +89 -0
  229. package/locales/ptPT.mjs +89 -0
  230. package/locales/svSE.d.mts +76 -0
  231. package/locales/svSE.d.ts +76 -0
  232. package/locales/svSE.js +89 -0
  233. package/locales/svSE.mjs +89 -0
  234. package/locales/utils/chartsLocaleTextApi.d.mts +189 -0
  235. package/locales/utils/chartsLocaleTextApi.d.ts +189 -0
  236. package/locales/utils/getChartsLocalization.d.mts +76 -0
  237. package/locales/utils/getChartsLocalization.d.ts +76 -0
  238. package/models/axis.d.mts +11 -5
  239. package/models/axis.d.ts +11 -5
  240. package/models/seriesType/config.d.mts +29 -0
  241. package/models/seriesType/config.d.ts +29 -0
  242. package/package.json +85 -85
@@ -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 = ["className", "skipAnimation", "onItemClick", "borderRadius", "barLabel", "renderer"];
5
+ const _excluded = ["className", "skipAnimation", "onItemClick", "borderRadius", "renderer"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import clsx from 'clsx';
@@ -45,7 +45,6 @@ function BarPlot(props) {
45
45
  skipAnimation: inSkipAnimation,
46
46
  onItemClick,
47
47
  borderRadius,
48
- barLabel,
49
48
  renderer
50
49
  } = props,
51
50
  other = _objectWithoutPropertiesLoose(props, _excluded);
@@ -72,16 +71,12 @@ function BarPlot(props) {
72
71
  /* The batch renderer doesn't animate bars after the initial mount. Providing skipAnimation was causing an issue
73
72
  * where bars would animate again after a zoom interaction because skipAnimation would change from true to false. */,
74
73
  skipAnimation: renderer === 'svg-batch' ? batchSkipAnimation : skipAnimation,
75
- onItemClick:
76
- /* `onItemClick` accepts a `MouseEvent` when the renderer is "svg-batch" and a `React.MouseEvent` otherwise,
77
- * so we need this cast to prevent TypeScript from complaining. */
78
- onItemClick,
74
+ onItemClick: onItemClick,
79
75
  borderRadius: borderRadius
80
76
  }, other)), completedData.map(processedSeries => /*#__PURE__*/_jsx(BarLabelPlot, _extends({
81
77
  className: classes.seriesLabels,
82
78
  processedSeries: processedSeries,
83
- skipAnimation: skipAnimation,
84
- barLabel: barLabel
79
+ skipAnimation: skipAnimation
85
80
  }, other), processedSeries.seriesId))]
86
81
  });
87
82
  }
@@ -90,15 +85,6 @@ process.env.NODE_ENV !== "production" ? BarPlot.propTypes = {
90
85
  // | These PropTypes are generated from the TypeScript type definitions |
91
86
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
92
87
  // ----------------------------------------------------------------------
93
- /**
94
- * @deprecated Use `barLabel` in the chart series instead.
95
- * If provided, the function will be used to format the label of the bar.
96
- * It can be set to 'value' to display the current value.
97
- * @param {BarItem} item The item to format.
98
- * @param {BarLabelContext} context data about the bar.
99
- * @returns {string} The formatted label.
100
- */
101
- barLabel: PropTypes.oneOfType([PropTypes.oneOf(['value']), PropTypes.func]),
102
88
  /**
103
89
  * Defines the border radius of the bar element.
104
90
  */
@@ -109,7 +95,7 @@ process.env.NODE_ENV !== "production" ? BarPlot.propTypes = {
109
95
  className: PropTypes.string,
110
96
  /**
111
97
  * Callback fired when a bar item is clicked.
112
- * @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
98
+ * @param {MouseEvent} event The event source of the callback.
113
99
  * @param {BarItemIdentifier} barItemIdentifier The bar item identifier.
114
100
  */
115
101
  onItemClick: PropTypes.func,
@@ -7,15 +7,12 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.BatchBarPlot = BatchBarPlot;
9
9
  var React = _interopRequireWildcard(require("react"));
10
- var _hooks = require("../../hooks");
11
10
  var _barClasses = require("../barClasses");
12
11
  var _useChartsContext = require("../../context/ChartsProvider/useChartsContext");
13
12
  var _useChartHighlight = require("../../internals/plugins/featurePlugins/useChartHighlight");
14
13
  var _useRegisterItemClickHandlers = require("../useRegisterItemClickHandlers");
15
14
  var _useCreateBarPaths = require("./useCreateBarPaths");
16
15
  var _BarGroup = require("./BarGroup");
17
- var _useRegisterPointerInteractions = require("../../internals/plugins/featurePlugins/shared/useRegisterPointerInteractions");
18
- var _useChartCartesianAxisPosition = require("../../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors");
19
16
  var _jsxRuntime = require("react/jsx-runtime");
20
17
  function BatchBarPlot({
21
18
  completedData,
@@ -23,30 +20,6 @@ function BatchBarPlot({
23
20
  onItemClick,
24
21
  skipAnimation = false
25
22
  }) {
26
- const prevCursorRef = React.useRef(null);
27
- const chartsLayerContainerRef = (0, _hooks.useChartsLayerContainerRef)();
28
- const onItemEnter = onItemClick ? () => {
29
- const svg = chartsLayerContainerRef.current;
30
- if (!svg) {
31
- return;
32
- }
33
- if (prevCursorRef.current == null) {
34
- prevCursorRef.current = svg.style.cursor;
35
- // eslint-disable-next-line react-compiler/react-compiler
36
- svg.style.cursor = 'pointer';
37
- }
38
- } : undefined;
39
- const onItemLeave = onItemClick ? () => {
40
- const svg = chartsLayerContainerRef.current;
41
- if (!svg) {
42
- return;
43
- }
44
- if (prevCursorRef.current != null) {
45
- svg.style.cursor = prevCursorRef.current;
46
- prevCursorRef.current = null;
47
- }
48
- } : undefined;
49
- (0, _useRegisterPointerInteractions.useRegisterPointerInteractions)(_useChartCartesianAxisPosition.selectorBarItemAtPosition, onItemEnter, onItemLeave);
50
23
  (0, _useRegisterItemClickHandlers.useRegisterItemClickHandlers)(onItemClick);
51
24
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(React.Fragment, {
52
25
  children: completedData.map(series => /*#__PURE__*/(0, _jsxRuntime.jsx)(SeriesBatchPlot, {
@@ -1,15 +1,12 @@
1
1
  'use client';
2
2
 
3
3
  import * as React from 'react';
4
- import { useChartsLayerContainerRef } from "../../hooks/index.mjs";
5
4
  import { useUtilityClasses } from "../barClasses.mjs";
6
5
  import { useChartsContext } from "../../context/ChartsProvider/useChartsContext.mjs";
7
6
  import { selectorChartIsSeriesFaded, selectorChartIsSeriesHighlighted, selectorChartSeriesHighlightedItem, selectorChartSeriesUnfadedItem } from "../../internals/plugins/featurePlugins/useChartHighlight/index.mjs";
8
7
  import { useRegisterItemClickHandlers } from "../useRegisterItemClickHandlers.mjs";
9
8
  import { createPath, useCreateBarPaths } from "./useCreateBarPaths.mjs";
10
9
  import { BarGroup } from "./BarGroup.mjs";
11
- import { useRegisterPointerInteractions } from "../../internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.mjs";
12
- import { selectorBarItemAtPosition } from "../../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.mjs";
13
10
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
11
  export function BatchBarPlot({
15
12
  completedData,
@@ -17,30 +14,6 @@ export function BatchBarPlot({
17
14
  onItemClick,
18
15
  skipAnimation = false
19
16
  }) {
20
- const prevCursorRef = React.useRef(null);
21
- const chartsLayerContainerRef = useChartsLayerContainerRef();
22
- const onItemEnter = onItemClick ? () => {
23
- const svg = chartsLayerContainerRef.current;
24
- if (!svg) {
25
- return;
26
- }
27
- if (prevCursorRef.current == null) {
28
- prevCursorRef.current = svg.style.cursor;
29
- // eslint-disable-next-line react-compiler/react-compiler
30
- svg.style.cursor = 'pointer';
31
- }
32
- } : undefined;
33
- const onItemLeave = onItemClick ? () => {
34
- const svg = chartsLayerContainerRef.current;
35
- if (!svg) {
36
- return;
37
- }
38
- if (prevCursorRef.current != null) {
39
- svg.style.cursor = prevCursorRef.current;
40
- prevCursorRef.current = null;
41
- }
42
- } : undefined;
43
- useRegisterPointerInteractions(selectorBarItemAtPosition, onItemEnter, onItemLeave);
44
17
  useRegisterItemClickHandlers(onItemClick);
45
18
  return /*#__PURE__*/_jsx(React.Fragment, {
46
19
  children: completedData.map(series => /*#__PURE__*/_jsx(SeriesBatchPlot, {
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  import { type BarPlotSlotProps, type BarPlotSlots } from "./BarPlot.mjs";
3
2
  import { type BarItemIdentifier } from "../models/index.mjs";
4
3
  import { type MaskData, type ProcessedBarSeriesData } from "./types.mjs";
@@ -7,7 +6,7 @@ export interface IndividualBarPlotProps {
7
6
  masksData: MaskData[];
8
7
  borderRadius?: number;
9
8
  skipAnimation?: boolean;
10
- onItemClick?: (event: React.MouseEvent<SVGElement, MouseEvent>, barItemIdentifier: BarItemIdentifier) => void;
9
+ onItemClick?: (event: MouseEvent, barItemIdentifier: BarItemIdentifier) => void;
11
10
  slotProps?: BarPlotSlotProps;
12
11
  slots?: BarPlotSlots;
13
12
  }
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  import { type BarPlotSlotProps, type BarPlotSlots } from "./BarPlot.js";
3
2
  import { type BarItemIdentifier } from "../models/index.js";
4
3
  import { type MaskData, type ProcessedBarSeriesData } from "./types.js";
@@ -7,7 +6,7 @@ export interface IndividualBarPlotProps {
7
6
  masksData: MaskData[];
8
7
  borderRadius?: number;
9
8
  skipAnimation?: boolean;
10
- onItemClick?: (event: React.MouseEvent<SVGElement, MouseEvent>, barItemIdentifier: BarItemIdentifier) => void;
9
+ onItemClick?: (event: MouseEvent, barItemIdentifier: BarItemIdentifier) => void;
11
10
  slotProps?: BarPlotSlotProps;
12
11
  slots?: BarPlotSlots;
13
12
  }
@@ -12,6 +12,7 @@ var React = _interopRequireWildcard(require("react"));
12
12
  var _BarElement = require("./BarElement");
13
13
  var _barClasses = require("./barClasses");
14
14
  var _BarClipPath = require("./BarClipPath");
15
+ var _useRegisterItemClickHandlers = require("./useRegisterItemClickHandlers");
15
16
  var _jsxRuntime = require("react/jsx-runtime");
16
17
  const _excluded = ["completedData", "masksData", "borderRadius", "onItemClick", "skipAnimation"];
17
18
  function IndividualBarPlot(_ref) {
@@ -23,6 +24,7 @@ function IndividualBarPlot(_ref) {
23
24
  skipAnimation
24
25
  } = _ref,
25
26
  other = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
27
+ (0, _useRegisterItemClickHandlers.useRegisterItemClickHandlers)(onItemClick);
26
28
  const classes = (0, _barClasses.useUtilityClasses)();
27
29
  const withoutBorderRadius = !borderRadius || borderRadius <= 0;
28
30
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
@@ -82,16 +84,9 @@ function IndividualBarPlot(_ref) {
82
84
  y: y,
83
85
  yOrigin: yOrigin,
84
86
  width: width,
85
- height: height
86
- }, other, {
87
- onClick: onItemClick && (event => {
88
- onItemClick(event, {
89
- type: 'bar',
90
- seriesId,
91
- dataIndex
92
- });
93
- })
94
- }), dataIndex);
87
+ height: height,
88
+ cursor: onItemClick ? 'pointer' : undefined
89
+ }, other), dataIndex);
95
90
  if (withoutBorderRadius) {
96
91
  return barElement;
97
92
  }
@@ -5,6 +5,7 @@ import * as React from 'react';
5
5
  import { BarElement } from "./BarElement.mjs";
6
6
  import { useUtilityClasses } from "./barClasses.mjs";
7
7
  import { BarClipPath } from "./BarClipPath.mjs";
8
+ import { useRegisterItemClickHandlers } from "./useRegisterItemClickHandlers.mjs";
8
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
10
  export function IndividualBarPlot(_ref) {
10
11
  let {
@@ -15,6 +16,7 @@ export function IndividualBarPlot(_ref) {
15
16
  skipAnimation
16
17
  } = _ref,
17
18
  other = _objectWithoutPropertiesLoose(_ref, _excluded);
19
+ useRegisterItemClickHandlers(onItemClick);
18
20
  const classes = useUtilityClasses();
19
21
  const withoutBorderRadius = !borderRadius || borderRadius <= 0;
20
22
  return /*#__PURE__*/_jsxs(React.Fragment, {
@@ -74,16 +76,9 @@ export function IndividualBarPlot(_ref) {
74
76
  y: y,
75
77
  yOrigin: yOrigin,
76
78
  width: width,
77
- height: height
78
- }, other, {
79
- onClick: onItemClick && (event => {
80
- onItemClick(event, {
81
- type: 'bar',
82
- seriesId,
83
- dataIndex
84
- });
85
- })
86
- }), dataIndex);
79
+ height: height,
80
+ cursor: onItemClick ? 'pointer' : undefined
81
+ }, other), dataIndex);
87
82
  if (withoutBorderRadius) {
88
83
  return barElement;
89
84
  }
@@ -0,0 +1,3 @@
1
+ import type { DescriptionGetter } from "../../../internals/plugins/corePlugins/useChartSeriesConfig/index.mjs";
2
+ declare const descriptionGetter: DescriptionGetter<'bar'>;
3
+ export default descriptionGetter;
@@ -0,0 +1,3 @@
1
+ import type { DescriptionGetter } from "../../../internals/plugins/corePlugins/useChartSeriesConfig/index.js";
2
+ declare const descriptionGetter: DescriptionGetter<'bar'>;
3
+ export default descriptionGetter;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _getLabel = require("../../../internals/getLabel");
8
+ const descriptionGetter = params => {
9
+ const {
10
+ identifier,
11
+ series,
12
+ xAxis,
13
+ yAxis,
14
+ localeText
15
+ } = params;
16
+ const label = (0, _getLabel.getLabel)(series.label, 'tooltip');
17
+ const value = series.data[identifier.dataIndex] ?? null;
18
+ const isHorizontal = series.layout === 'horizontal';
19
+ const categoryAxis = isHorizontal ? yAxis : xAxis;
20
+ const categoryValue = categoryAxis.data?.[identifier.dataIndex] ?? null;
21
+ const formattedValue = series.valueFormatter(value, {
22
+ dataIndex: identifier.dataIndex
23
+ });
24
+ const formattedCategory = categoryAxis.valueFormatter?.(categoryValue, {
25
+ location: 'tooltip',
26
+ scale: categoryAxis.scale
27
+ });
28
+ return localeText.barDescription({
29
+ value,
30
+ formattedValue: formattedValue ?? '',
31
+ categoryValue,
32
+ formattedCategoryValue: formattedCategory ?? '',
33
+ seriesLabel: label
34
+ });
35
+ };
36
+ var _default = exports.default = descriptionGetter;
@@ -0,0 +1,30 @@
1
+ import { getLabel } from "../../../internals/getLabel.mjs";
2
+ const descriptionGetter = params => {
3
+ const {
4
+ identifier,
5
+ series,
6
+ xAxis,
7
+ yAxis,
8
+ localeText
9
+ } = params;
10
+ const label = getLabel(series.label, 'tooltip');
11
+ const value = series.data[identifier.dataIndex] ?? null;
12
+ const isHorizontal = series.layout === 'horizontal';
13
+ const categoryAxis = isHorizontal ? yAxis : xAxis;
14
+ const categoryValue = categoryAxis.data?.[identifier.dataIndex] ?? null;
15
+ const formattedValue = series.valueFormatter(value, {
16
+ dataIndex: identifier.dataIndex
17
+ });
18
+ const formattedCategory = categoryAxis.valueFormatter?.(categoryValue, {
19
+ location: 'tooltip',
20
+ scale: categoryAxis.scale
21
+ });
22
+ return localeText.barDescription({
23
+ value,
24
+ formattedValue: formattedValue ?? '',
25
+ categoryValue,
26
+ formattedCategoryValue: formattedCategory ?? '',
27
+ seriesLabel: label
28
+ });
29
+ };
30
+ export default descriptionGetter;
@@ -14,8 +14,10 @@ var _keyboardFocusHandler = _interopRequireDefault(require("./bar/keyboardFocusH
14
14
  var _tooltip = _interopRequireWildcard(require("./bar/tooltip"));
15
15
  var _tooltipPosition = _interopRequireDefault(require("./bar/tooltipPosition"));
16
16
  var _getSeriesWithDefaultValues = require("./bar/getSeriesWithDefaultValues");
17
+ var _useChartCartesianAxisPosition = require("../../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors");
17
18
  var _identifierSerializer = require("../../internals/identifierSerializer");
18
19
  var _identifierCleaner = require("../../internals/identifierCleaner");
20
+ var _descriptionGetter = _interopRequireDefault(require("./bar/descriptionGetter"));
19
21
  var _useChartHighlight = require("../../internals/plugins/featurePlugins/useChartHighlight");
20
22
  const barSeriesConfig = exports.barSeriesConfig = {
21
23
  seriesProcessor: _seriesProcessor.default,
@@ -27,9 +29,11 @@ const barSeriesConfig = exports.barSeriesConfig = {
27
29
  xExtremumGetter: _extremums.getExtremumX,
28
30
  yExtremumGetter: _extremums.getExtremumY,
29
31
  getSeriesWithDefaultValues: _getSeriesWithDefaultValues.getSeriesWithDefaultValues,
30
- keyboardFocusHandler: _keyboardFocusHandler.default,
32
+ getItemAtPosition: _useChartCartesianAxisPosition.selectorBarItemAtPosition,
31
33
  identifierSerializer: _identifierSerializer.identifierSerializerSeriesIdDataIndex,
32
34
  identifierCleaner: _identifierCleaner.identifierCleanerSeriesIdDataIndex,
35
+ descriptionGetter: _descriptionGetter.default,
36
+ keyboardFocusHandler: _keyboardFocusHandler.default,
33
37
  isHighlightedCreator: _useChartHighlight.createIsHighlighted,
34
38
  isFadedCreator: _useChartHighlight.createIsFaded
35
39
  };
@@ -6,8 +6,10 @@ import keyboardFocusHandler from "./bar/keyboardFocusHandler.mjs";
6
6
  import tooltipGetter, { axisTooltipGetter } from "./bar/tooltip.mjs";
7
7
  import tooltipItemPositionGetter from "./bar/tooltipPosition.mjs";
8
8
  import { getSeriesWithDefaultValues } from "./bar/getSeriesWithDefaultValues.mjs";
9
+ import { selectorBarItemAtPosition } from "../../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.mjs";
9
10
  import { identifierSerializerSeriesIdDataIndex } from "../../internals/identifierSerializer.mjs";
10
11
  import { identifierCleanerSeriesIdDataIndex } from "../../internals/identifierCleaner.mjs";
12
+ import descriptionGetter from "./bar/descriptionGetter.mjs";
11
13
  import { createIsHighlighted, createIsFaded } from "../../internals/plugins/featurePlugins/useChartHighlight/index.mjs";
12
14
  export const barSeriesConfig = {
13
15
  seriesProcessor,
@@ -19,9 +21,11 @@ export const barSeriesConfig = {
19
21
  xExtremumGetter: getExtremumX,
20
22
  yExtremumGetter: getExtremumY,
21
23
  getSeriesWithDefaultValues,
22
- keyboardFocusHandler,
24
+ getItemAtPosition: selectorBarItemAtPosition,
23
25
  identifierSerializer: identifierSerializerSeriesIdDataIndex,
24
26
  identifierCleaner: identifierCleanerSeriesIdDataIndex,
27
+ descriptionGetter,
28
+ keyboardFocusHandler,
25
29
  isHighlightedCreator: createIsHighlighted,
26
30
  isFadedCreator: createIsFaded
27
31
  };
@@ -13,7 +13,7 @@ var React = _interopRequireWildcard(require("react"));
13
13
  var _useId = _interopRequireDefault(require("@mui/utils/useId"));
14
14
  var _constants = require("../constants");
15
15
  var _BarChart = require("./BarChart.plugins");
16
- const _excluded = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors", "dataset", "sx", "axisHighlight", "grid", "children", "slots", "slotProps", "skipAnimation", "loading", "layout", "onItemClick", "highlightedItem", "onHighlightChange", "borderRadius", "barLabel", "className", "hideLegend", "showToolbar", "brushConfig", "renderer"];
16
+ const _excluded = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors", "dataset", "sx", "axisHighlight", "grid", "children", "slots", "slotProps", "skipAnimation", "loading", "layout", "onItemClick", "highlightedItem", "onHighlightChange", "borderRadius", "className", "hideLegend", "showToolbar", "brushConfig", "renderer"];
17
17
  /**
18
18
  * A helper function that extracts BarChartProps from the input props
19
19
  * and returns an object with props for the children components of BarChart.
@@ -44,7 +44,6 @@ const useBarChartProps = props => {
44
44
  highlightedItem,
45
45
  onHighlightChange,
46
46
  borderRadius,
47
- barLabel,
48
47
  className,
49
48
  brushConfig,
50
49
  renderer
@@ -111,8 +110,7 @@ const useBarChartProps = props => {
111
110
  slots,
112
111
  slotProps,
113
112
  borderRadius,
114
- renderer,
115
- barLabel
113
+ renderer
116
114
  };
117
115
  const gridProps = {
118
116
  vertical: grid?.vertical,
@@ -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 = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors", "dataset", "sx", "axisHighlight", "grid", "children", "slots", "slotProps", "skipAnimation", "loading", "layout", "onItemClick", "highlightedItem", "onHighlightChange", "borderRadius", "barLabel", "className", "hideLegend", "showToolbar", "brushConfig", "renderer"];
5
+ const _excluded = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors", "dataset", "sx", "axisHighlight", "grid", "children", "slots", "slotProps", "skipAnimation", "loading", "layout", "onItemClick", "highlightedItem", "onHighlightChange", "borderRadius", "className", "hideLegend", "showToolbar", "brushConfig", "renderer"];
6
6
  import * as React from 'react';
7
7
  import useId from '@mui/utils/useId';
8
8
  import { DEFAULT_X_AXIS_KEY, DEFAULT_Y_AXIS_KEY } from "../constants/index.mjs";
@@ -37,7 +37,6 @@ export const useBarChartProps = props => {
37
37
  highlightedItem,
38
38
  onHighlightChange,
39
39
  borderRadius,
40
- barLabel,
41
40
  className,
42
41
  brushConfig,
43
42
  renderer
@@ -104,8 +103,7 @@ export const useBarChartProps = props => {
104
103
  slots,
105
104
  slotProps,
106
105
  borderRadius,
107
- renderer,
108
- barLabel
106
+ renderer
109
107
  };
110
108
  const gridProps = {
111
109
  vertical: grid?.vertical,
package/CHANGELOG.md CHANGED
@@ -1,5 +1,111 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.0.0-beta.0
4
+
5
+ <!-- generated comparing v9.0.0-alpha.4..master -->
6
+
7
+ _Mar 27, 2026_
8
+
9
+ We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🔊 New Charts voiceover component for improved screen reader support
12
+ - ⌨️ Charts keyboard navigation improvements: axis tooltip now shows when navigating with the keyboard
13
+ - 📊 Charts axes now can be set to automatically resize to fit their content
14
+ - 📝 New `rowCheckbox` slot in Data Grid for easier checkbox column customization
15
+ - ⚡️ `fetchRows()` API in Data Grid Pro now defaults `start` and `end` based on scroll position with lazy loading
16
+ - 🐞 Bugfixes and internal improvements
17
+
18
+ The following team members contributed to this release:
19
+ @aemartos, @alexfauquette, @arminmeh, @cherniavskii, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes
20
+
21
+ ### Data Grid
22
+
23
+ #### `@mui/x-data-grid@9.0.0-beta.0`
24
+
25
+ - [DataGrid] Add `rowCheckbox` slot for easier customization (#21797) @michelengelen
26
+ - [DataGrid] Prevent repeated `hasScrollbar` state updates (#21820) @arminmeh
27
+
28
+ #### `@mui/x-data-grid-pro@9.0.0-beta.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
29
+
30
+ Same changes as in `@mui/x-data-grid@9.0.0-beta.0`, plus:
31
+
32
+ - [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21742) @arminmeh
33
+
34
+ #### `@mui/x-data-grid-premium@9.0.0-beta.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
35
+
36
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-beta.0`.
37
+
38
+ ### Date and Time Pickers
39
+
40
+ #### `@mui/x-date-pickers@9.0.0-beta.0`
41
+
42
+ Internal changes.
43
+
44
+ #### `@mui/x-date-pickers-pro@9.0.0-beta.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
45
+
46
+ Same changes as in `@mui/x-date-pickers@9.0.0-beta.0`.
47
+
48
+ ### Charts
49
+
50
+ #### `@mui/x-charts@9.0.0-beta.0`
51
+
52
+ - [charts] Add `className` prop to Pro chart plot components (#21793) @JCQuintas
53
+ - [charts] Add experimental position-based pointer interaction for line series (#21809) @JCQuintas
54
+ - [charts] Add l10n to the bar accessibility (#21815) @alexfauquette
55
+ - [charts] Add localization for the basic charts (#21822) @alexfauquette
56
+ - [charts] Add voiceover component (#21344) @alexfauquette
57
+ - [charts] Allow axes to automatically resize to content (#21087) @JCQuintas
58
+ - [charts] Document multiple use-cases for references (#21768) @alexfauquette
59
+ - [charts] Remove compatibility layer for React vs native events (#21780) @JCQuintas
60
+ - [charts] Remove deprecated `barLabel` props (#21783) @alexfauquette
61
+ - [charts] Show axis tooltip when navigating with keyboard (#21689) @Copilot
62
+
63
+ #### `@mui/x-charts-pro@9.0.0-beta.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
64
+
65
+ Same changes as in `@mui/x-charts@9.0.0-beta.0`.
66
+
67
+ #### `@mui/x-charts-premium@9.0.0-beta.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
68
+
69
+ Same changes as in `@mui/x-charts-pro@9.0.0-beta.0`.
70
+
71
+ ### Tree View
72
+
73
+ #### `@mui/x-tree-view@9.0.0-alpha.4`
74
+
75
+ Internal changes.
76
+
77
+ #### `@mui/x-tree-view-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
78
+
79
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
80
+
81
+ ### Codemod
82
+
83
+ #### `@mui/x-codemod@9.0.0-alpha.4`
84
+
85
+ Internal changes.
86
+
87
+ ### Docs
88
+
89
+ - [docs] Document how to customize voiceover announcement (#21833) @alexfauquette
90
+ - [docs] Remove Discord mention from docs (#21855) @mapache-salvaje
91
+ - [docs] Remove stabilized experimental feature from demo (#21869) @JCQuintas
92
+ - [docs] Update telemetry guide to reflect pseudonymous data collection and license compliance (#21812) @aemartos
93
+ - [docs] Revise the Sparkline doc (#21614) @mapache-salvaje
94
+ - [docs] Revise the Gauge doc (#21673) @mapache-salvaje
95
+ - [docs] Revise the Heatmap doc (#21676) @mapache-salvaje
96
+
97
+ ### Core
98
+
99
+ - [code-infra] Remove unused deps and unify es-toolkit via catalog (#21840) @Janpot
100
+ - [code-infra] Update @mui/internal-bundle-size-checker to canary.68 (#21836) @Janpot
101
+ - [code-infra] Update next (#21837) @Janpot
102
+ - [internal] Remove headless data grid packages (#21843) @cherniavskii
103
+
104
+ ### Miscellaneous
105
+
106
+ - Add @romgrk to CODEOWNERS for `x-virtualizer` and `x-internals` (#21819) @Copilot
107
+ - [x-license] add 2022 plan version (#21814) @aemartos
108
+
3
109
  ## 9.0.0-alpha.4
4
110
 
5
111
  _Mar 19, 2026_
@@ -59,7 +165,7 @@ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
59
165
  - [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
60
166
  - [charts] Remove deprecated classes (#21775) @alexfauquette
61
167
  - [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
62
- - [charts] Remove get*UtilityClass from public exports (#21769) @JCQuintas
168
+ - [charts] Remove get\*UtilityClass from public exports (#21769) @JCQuintas
63
169
  - [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
64
170
  - [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
65
171
  - [charts] Remove deprecated props about voronoi (#21796) @alexfauquette