@mui/x-charts 9.2.0 → 9.4.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 (228) hide show
  1. package/BarChart/BarChart.js +10 -10
  2. package/BarChart/BarChart.mjs +10 -10
  3. package/BarChart/BarElement.d.mts +3 -2
  4. package/BarChart/BarElement.d.ts +3 -2
  5. package/BarChart/BarLabel/BarLabelItem.d.mts +3 -2
  6. package/BarChart/BarLabel/BarLabelItem.d.ts +3 -2
  7. package/BarChart/seriesConfig/bar/extremums.js +7 -2
  8. package/BarChart/seriesConfig/bar/extremums.mjs +7 -2
  9. package/BarChart/seriesConfig/bar/getColor.js +7 -53
  10. package/BarChart/seriesConfig/bar/getColor.mjs +7 -53
  11. package/BarChart/seriesConfig/bar/seriesProcessor.js +3 -1
  12. package/BarChart/seriesConfig/bar/seriesProcessor.mjs +3 -1
  13. package/BarChart/seriesConfig/bar/tooltip.js +4 -27
  14. package/BarChart/seriesConfig/bar/tooltip.mjs +4 -27
  15. package/CHANGELOG.md +314 -0
  16. package/ChartsContainer/ChartsContainer.js +30 -9
  17. package/ChartsContainer/ChartsContainer.mjs +30 -9
  18. package/ChartsLabel/ChartsLabelMark.js +1 -23
  19. package/ChartsLabel/ChartsLabelMark.mjs +0 -22
  20. package/ChartsLabel/labelMarkClasses.d.mts +0 -1
  21. package/ChartsLabel/labelMarkClasses.d.ts +0 -1
  22. package/ChartsLabel/labelMarkClasses.js +1 -2
  23. package/ChartsLabel/labelMarkClasses.mjs +2 -2
  24. package/ChartsLayerContainer/ChartsLayerContainer.js +36 -30
  25. package/ChartsLayerContainer/ChartsLayerContainer.mjs +36 -30
  26. package/ChartsLegend/chartsLegend.types.d.mts +3 -2
  27. package/ChartsLegend/chartsLegend.types.d.ts +3 -2
  28. package/ChartsLegend/piecewiseColorLegendClasses.js +8 -2
  29. package/ChartsLegend/piecewiseColorLegendClasses.mjs +8 -2
  30. package/ChartsOverlay/ChartsOverlay.d.mts +5 -4
  31. package/ChartsOverlay/ChartsOverlay.d.ts +5 -4
  32. package/ChartsReferenceLine/ChartsXReferenceLine.js +6 -1
  33. package/ChartsReferenceLine/ChartsXReferenceLine.mjs +6 -1
  34. package/ChartsReferenceLine/ChartsYReferenceLine.js +5 -0
  35. package/ChartsReferenceLine/ChartsYReferenceLine.mjs +5 -0
  36. package/ChartsTooltip/ChartTooltip.types.d.mts +3 -2
  37. package/ChartsTooltip/ChartTooltip.types.d.ts +3 -2
  38. package/ChartsTooltip/useAxesTooltip.js +2 -2
  39. package/ChartsTooltip/useAxesTooltip.mjs +2 -2
  40. package/ChartsTooltip/useItemTooltip.js +2 -2
  41. package/ChartsTooltip/useItemTooltip.mjs +2 -2
  42. package/ChartsXAxis/ChartsXAxis.js +3 -1
  43. package/ChartsXAxis/ChartsXAxis.mjs +3 -1
  44. package/ChartsXAxis/useAxisTicksProps.d.mts +84 -3
  45. package/ChartsXAxis/useAxisTicksProps.d.ts +84 -3
  46. package/ChartsYAxis/ChartsYAxis.js +3 -1
  47. package/ChartsYAxis/ChartsYAxis.mjs +3 -1
  48. package/ChartsYAxis/useAxisTicksProps.d.mts +84 -3
  49. package/ChartsYAxis/useAxisTicksProps.d.ts +84 -3
  50. package/LineChart/AreaElement.d.mts +3 -2
  51. package/LineChart/AreaElement.d.ts +3 -2
  52. package/LineChart/LineChart.js +6 -6
  53. package/LineChart/LineChart.mjs +6 -6
  54. package/LineChart/LineElement.d.mts +3 -2
  55. package/LineChart/LineElement.d.ts +3 -2
  56. package/LineChart/LineHighlightPlot.d.mts +3 -2
  57. package/LineChart/LineHighlightPlot.d.ts +3 -2
  58. package/LineChart/LineHighlightPlot.js +65 -45
  59. package/LineChart/LineHighlightPlot.mjs +65 -45
  60. package/LineChart/MarkPlot.d.mts +3 -2
  61. package/LineChart/MarkPlot.d.ts +3 -2
  62. package/LineChart/seriesConfig/curveEvaluation.js +40 -15
  63. package/LineChart/seriesConfig/curveEvaluation.mjs +39 -15
  64. package/LineChart/seriesConfig/extremums.js +5 -1
  65. package/LineChart/seriesConfig/extremums.mjs +5 -1
  66. package/LineChart/seriesConfig/getColor.js +7 -54
  67. package/LineChart/seriesConfig/getColor.mjs +7 -54
  68. package/LineChart/seriesConfig/seriesProcessor.d.mts +2 -4
  69. package/LineChart/seriesConfig/seriesProcessor.d.ts +2 -4
  70. package/LineChart/seriesConfig/seriesProcessor.js +2 -139
  71. package/LineChart/seriesConfig/seriesProcessor.mjs +2 -138
  72. package/LineChart/seriesConfig/tooltip.js +4 -25
  73. package/LineChart/seriesConfig/tooltip.mjs +4 -25
  74. package/LineChart/useMarkPlotData.js +3 -1
  75. package/LineChart/useMarkPlotData.mjs +3 -1
  76. package/PieChart/PieArcLabelPlot.d.mts +3 -2
  77. package/PieChart/PieArcLabelPlot.d.ts +3 -2
  78. package/PieChart/PieArcPlot.d.mts +3 -2
  79. package/PieChart/PieArcPlot.d.ts +3 -2
  80. package/PieChart/PieChart.js +6 -6
  81. package/PieChart/PieChart.mjs +6 -6
  82. package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +2 -2
  83. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +2 -2
  84. package/RadarChart/RadarAxis/useRadarAxis.js +1 -1
  85. package/RadarChart/RadarAxis/useRadarAxis.mjs +1 -1
  86. package/RadarChart/RadarChart.js +8 -8
  87. package/RadarChart/RadarChart.mjs +8 -8
  88. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +3 -1
  89. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +3 -1
  90. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +1 -0
  91. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +1 -0
  92. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +1 -0
  93. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +1 -0
  94. package/ScatterChart/BatchScatter.d.mts +2 -8
  95. package/ScatterChart/BatchScatter.d.ts +2 -8
  96. package/ScatterChart/BatchScatter.js +17 -12
  97. package/ScatterChart/BatchScatter.mjs +17 -12
  98. package/ScatterChart/FocusedScatterMark.js +2 -2
  99. package/ScatterChart/FocusedScatterMark.mjs +2 -2
  100. package/ScatterChart/HighlightedScatterMark.js +3 -3
  101. package/ScatterChart/HighlightedScatterMark.mjs +3 -3
  102. package/ScatterChart/Scatter.d.mts +5 -0
  103. package/ScatterChart/Scatter.d.ts +5 -0
  104. package/ScatterChart/Scatter.js +7 -2
  105. package/ScatterChart/Scatter.mjs +7 -2
  106. package/ScatterChart/ScatterChart.d.mts +2 -1
  107. package/ScatterChart/ScatterChart.d.ts +2 -1
  108. package/ScatterChart/ScatterChart.js +32 -11
  109. package/ScatterChart/ScatterChart.mjs +32 -11
  110. package/ScatterChart/ScatterMarker.types.d.mts +3 -2
  111. package/ScatterChart/ScatterMarker.types.d.ts +3 -2
  112. package/ScatterChart/ScatterPlot.d.mts +3 -2
  113. package/ScatterChart/ScatterPlot.d.ts +3 -2
  114. package/ScatterChart/ScatterPlot.js +6 -1
  115. package/ScatterChart/ScatterPlot.mjs +6 -1
  116. package/ScatterChart/seriesConfig/extremums.js +6 -0
  117. package/ScatterChart/seriesConfig/extremums.mjs +6 -0
  118. package/ScatterChart/seriesConfig/getColor.js +1 -1
  119. package/ScatterChart/seriesConfig/getColor.mjs +1 -1
  120. package/ScatterChart/seriesConfig/getMarkerSize.d.mts +18 -0
  121. package/ScatterChart/seriesConfig/getMarkerSize.d.ts +18 -0
  122. package/ScatterChart/seriesConfig/getMarkerSize.js +43 -0
  123. package/ScatterChart/seriesConfig/getMarkerSize.mjs +37 -0
  124. package/ScatterChart/seriesConfig/seriesProcessor.js +23 -8
  125. package/ScatterChart/seriesConfig/seriesProcessor.mjs +23 -8
  126. package/ScatterChart/seriesConfig/tooltip.js +2 -24
  127. package/ScatterChart/seriesConfig/tooltip.mjs +2 -24
  128. package/ScatterChart/useScatterItemPosition.d.mts +4 -0
  129. package/ScatterChart/useScatterItemPosition.d.ts +4 -0
  130. package/ScatterChart/useScatterItemPosition.js +9 -0
  131. package/ScatterChart/useScatterItemPosition.mjs +8 -0
  132. package/SparkLineChart/SparkLineChart.js +27 -27
  133. package/SparkLineChart/SparkLineChart.mjs +27 -27
  134. package/Toolbar/Toolbar.types.d.mts +3 -2
  135. package/Toolbar/Toolbar.types.d.ts +3 -2
  136. package/index.js +1 -1
  137. package/index.mjs +1 -1
  138. package/internals/animation/animation.d.mts +1 -2
  139. package/internals/animation/animation.d.ts +1 -2
  140. package/internals/commonNextFocusItem.d.mts +10 -2
  141. package/internals/commonNextFocusItem.d.ts +10 -2
  142. package/internals/commonNextFocusItem.js +12 -4
  143. package/internals/commonNextFocusItem.mjs +12 -4
  144. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.js +1 -1
  145. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.mjs +1 -1
  146. package/internals/createCommonKeyboardFocusHandler.d.mts +1 -1
  147. package/internals/createCommonKeyboardFocusHandler.d.ts +1 -1
  148. package/internals/createCommonKeyboardFocusHandler.js +3 -3
  149. package/internals/createCommonKeyboardFocusHandler.mjs +3 -3
  150. package/internals/getLineLikeTooltip.d.mts +9 -0
  151. package/internals/getLineLikeTooltip.d.ts +9 -0
  152. package/internals/getLineLikeTooltip.js +38 -0
  153. package/internals/getLineLikeTooltip.mjs +31 -0
  154. package/internals/incompleteDatasetKeysError.d.mts +1 -0
  155. package/internals/incompleteDatasetKeysError.d.ts +1 -0
  156. package/internals/incompleteDatasetKeysError.js +11 -0
  157. package/internals/incompleteDatasetKeysError.mjs +4 -0
  158. package/internals/index.d.mts +5 -0
  159. package/internals/index.d.ts +5 -0
  160. package/internals/index.js +48 -0
  161. package/internals/index.mjs +5 -0
  162. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +4 -2
  163. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +4 -2
  164. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +3 -2
  165. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.mjs +4 -3
  166. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +2 -2
  167. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.mjs +3 -3
  168. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +10 -1
  169. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +10 -1
  170. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +18 -1
  171. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.mjs +16 -0
  172. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +11 -3
  173. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +11 -3
  174. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +24 -5
  175. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +24 -5
  176. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.mts +1 -1
  177. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +1 -1
  178. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.js +46 -2
  179. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.mjs +47 -2
  180. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +46 -11
  181. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.mjs +46 -11
  182. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +2 -1
  183. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +2 -1
  184. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +6 -2
  185. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.mjs +6 -2
  186. package/internals/plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.d.mts +4 -0
  187. package/internals/plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.d.ts +4 -0
  188. package/internals/plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.js +3 -1
  189. package/internals/plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.mjs +1 -0
  190. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +5 -3
  191. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.mjs +7 -5
  192. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +17 -3
  193. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.mjs +17 -3
  194. package/internals/processLineLikeSeries.d.mts +6 -0
  195. package/internals/processLineLikeSeries.d.ts +6 -0
  196. package/internals/processLineLikeSeries.js +145 -0
  197. package/internals/processLineLikeSeries.mjs +138 -0
  198. package/internals/resolveColorProcessor.d.mts +11 -0
  199. package/internals/resolveColorProcessor.d.ts +11 -0
  200. package/internals/resolveColorProcessor.js +62 -0
  201. package/internals/resolveColorProcessor.mjs +56 -0
  202. package/internals/sizeScale.d.mts +6 -0
  203. package/internals/sizeScale.d.ts +6 -0
  204. package/internals/sizeScale.js +46 -0
  205. package/internals/sizeScale.mjs +38 -0
  206. package/models/axis.d.mts +18 -12
  207. package/models/axis.d.ts +18 -12
  208. package/models/chartsSlotsComponentsProps.d.mts +25 -0
  209. package/models/chartsSlotsComponentsProps.d.ts +25 -0
  210. package/models/chartsSlotsComponentsProps.js +5 -0
  211. package/models/chartsSlotsComponentsProps.mjs +1 -0
  212. package/models/index.d.mts +1 -0
  213. package/models/index.d.ts +1 -0
  214. package/models/index.js +11 -0
  215. package/models/index.mjs +1 -0
  216. package/models/seriesType/line.d.mts +5 -2
  217. package/models/seriesType/line.d.ts +5 -2
  218. package/models/seriesType/scatter.d.mts +34 -2
  219. package/models/seriesType/scatter.d.ts +34 -2
  220. package/models/sizeMapping.d.mts +64 -0
  221. package/models/sizeMapping.d.ts +64 -0
  222. package/models/sizeMapping.js +5 -0
  223. package/models/sizeMapping.mjs +1 -0
  224. package/models/slots/chartsBaseSlots.d.mts +6 -5
  225. package/models/slots/chartsBaseSlots.d.ts +6 -5
  226. package/models/z-axis.d.mts +10 -1
  227. package/models/z-axis.d.ts +10 -1
  228. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,319 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.4.0
4
+
5
+ <!-- generated comparing v9.3.0..master -->
6
+
7
+ _Jun 4, 2026_
8
+
9
+ We'd like to extend a big thank you to the 21 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🎉 Scheduler is now in Beta shipping with Timeline vitualization and lazy loading
12
+ - 📆 Implement Event Timeline virtualization (#22339)
13
+ - 🫧 Introduce bubble charts (#22537)
14
+ - 🐞 Bugfixes
15
+ - 📚 Documentation improvements
16
+
17
+ Special thanks go out to these community members for their valuable contributions:
18
+ @imxv, @mixelburg, @mustafajw07
19
+
20
+ The following team members contributed to this release:
21
+ @aemartos, @alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @hasdfa, @Janpot, @JCQuintas, @joserodolfofreitas, @LukasTy, @MBilalShafi, @michelengelen, @mj12albert, @noraleonte, @oliviertassinari, @rita-codes, @romgrk, @sai6855
22
+
23
+ ### Data Grid
24
+
25
+ #### `@mui/x-data-grid@9.4.0`
26
+
27
+ - [DataGrid] Fix `avg` aggregation when the average is zero (#22652) @mj12albert
28
+ - [DataGrid] Inherit icon `fontSize` from `baseIconButton` size (#22187) @imxv
29
+ - [DataGrid] Fix `noRowsOverlay` flicker between `dataSource` re-fetches (#22465) @LukasTy
30
+
31
+ #### `@mui/x-data-grid-pro@9.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
32
+
33
+ Same changes as in `@mui/x-data-grid@9.4.0`.
34
+
35
+ #### `@mui/x-data-grid-premium@9.4.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
36
+
37
+ > This release includes a version bump of the `@mui/x-internal-exceljs-fork` package to address the vulnerable dependencies.
38
+ > The following CVEs are fixed:
39
+ >
40
+ > - <https://github.com/advisories/GHSA-ph9p-34f9-6g65>
41
+ > - <https://github.com/isaacs/minimatch/security/advisories/GHSA-23c5-xmqv-rm74>
42
+ > - <https://github.com/advisories/GHSA-w5hq-g745-h8pq>
43
+ >
44
+ > To make this security update possible, we bumped the `node` version requirement from `>=14.0.0` to `>=14.17.0`.
45
+ > [Node.js 14.17.0](https://nodejs.org/en/blog/release/v14.17.0) was released in May 2021, so we consider it safe to bump the requirement without causing issues for our users.
46
+
47
+ Same changes as in `@mui/x-data-grid-pro@9.4.0`, plus:
48
+
49
+ - [DataGridPremium] Nested Lazy Loading (#21043) @MBilalShafi
50
+ - [DataGridPremium] Update exceljs fork (#22658) @cherniavskii
51
+
52
+ ### Date and Time Pickers
53
+
54
+ #### `@mui/x-date-pickers@9.4.0`
55
+
56
+ Internal changes.
57
+
58
+ #### `@mui/x-date-pickers-pro@9.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
59
+
60
+ Same changes as in `@mui/x-date-pickers@9.4.0`.
61
+
62
+ ### Charts
63
+
64
+ #### `@mui/x-charts@9.4.0`
65
+
66
+ - [charts] Add functionality to hide elements during chart export (#22525) @sai6855
67
+ - [charts] Add option to show marks only on the first/last values (#22645) @alexfauquette
68
+ - [charts] Add text customization section and demo for axis labels (#22597) @sai6855
69
+ - [charts] Allow axes to scale according to the visible series only (#22566) @alexfauquette
70
+ - [charts] Correctly handle different identifiers for each series (#22556) @sai6855
71
+ - [charts] Fix inverted Y axis zoom/pan on ordinal scales (#22654) @JCQuintas
72
+ - [charts] Introduce bubble charts (#22537) @alexfauquette
73
+ - [charts] Let scatter chart tooltip ignore hidden series (#22614) @alexfauquette
74
+ - [charts] Make `'sqrt'` size mapping the default (#22683) @alexfauquette
75
+ - [charts] Remove unused proptypes (#22618) @alexfauquette
76
+ - [charts] Support module augmentation for slots (#22519) @sai6855
77
+ - [charts] Support multiple marker size in `findClosestPoint` (#22622) @alexfauquette
78
+ - [charts] Upgrade bezier-easing to v3 and use it for line chart hit-detection (#22608) @sai6855
79
+ - [charts] Use `useLayoutEffect` with `ResizeObserver` (#22646) @JCQuintas
80
+
81
+ #### `@mui/x-charts-pro@9.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
82
+
83
+ Same changes as in `@mui/x-charts@9.4.0`, plus:
84
+
85
+ - [charts-pro] Auto-select range button matching current zoom (#22137) @JCQuintas
86
+ - [charts-pro] Support range values in `initialZoom` (#22563) @JCQuintas
87
+
88
+ #### `@mui/x-charts-premium@9.4.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
89
+
90
+ Same changes as in `@mui/x-charts-pro@9.4.0`, plus:
91
+
92
+ - [charts-premium] Support range-bar series in WebGL bar renderer (#22607) @JCQuintas
93
+ - [charts-premium] Fix `onAxisClick` for radial bar and lines (#22522) @alexfauquette
94
+
95
+ ### Tree View
96
+
97
+ #### `@mui/x-tree-view@9.4.0`
98
+
99
+ Internal changes.
100
+
101
+ #### `@mui/x-tree-view-pro@9.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
102
+
103
+ Same changes as in `@mui/x-tree-view@9.4.0`.
104
+
105
+ ### Scheduler
106
+
107
+ #### Breaking changes
108
+
109
+ The theme `styleOverrides` slots for the skeleton and the error container were
110
+ renamed and unified. The CSS utility class names (for example
111
+ `.MuiEventCalendar-eventSkeleton`) are **not** affected — only
112
+ `theme.components.*` overrides need updating.
113
+
114
+ **Event skeleton**
115
+
116
+ | Before | After |
117
+ | --------------------------------------- | ------------------------------ |
118
+ | `MuiEventCalendar` slot `EventSkeleton` | `MuiEventSkeleton` slot `Root` |
119
+ | `MuiEventTimeline` slot `EventSkeleton` | `MuiEventSkeleton` slot `Root` |
120
+
121
+ **Error container**
122
+
123
+ | Before | After |
124
+ | ------------------------------------------------------------- | --------------------------------------- |
125
+ | `MuiEventCalendar` / `MuiEventTimeline` slot `ErrorContainer` | `MuiEventErrorContainer` slot `Root` |
126
+ | `MuiEventCalendar` / `MuiEventTimeline` slot `ErrorAlert` | `MuiEventErrorContainer` slot `Alert` |
127
+ | `MuiEventCalendar` / `MuiEventTimeline` slot `ErrorMessage` | `MuiEventErrorContainer` slot `Message` |
128
+
129
+ If you customized these through the theme, update the component name and slot
130
+ names accordingly:
131
+
132
+ ```diff
133
+ components: {
134
+ - MuiEventCalendar: {
135
+ + MuiEventSkeleton: {
136
+ styleOverrides: {
137
+ - EventSkeleton: { /* ... */ },
138
+ + Root: { /* ... */ },
139
+ },
140
+ },
141
+ },
142
+ }
143
+ ```
144
+
145
+ #### `@mui/x-scheduler@9.0.0-beta.0`
146
+
147
+ - [scheduler] Add a prop to control whether the resource of an event can be cleared (#22464) @rita-codes
148
+ - [scheduler] Add week number labels to agenda, day and week views (#22594) @mustafajw07
149
+ - [scheduler] Add `weekStartsOn` preference and update date functions to support custom week start (#22426) @mustafajw07
150
+ - [scheduler] Export premium version of the standalone views (#22621) @flaviendelangle
151
+ - [scheduler] Implement timeline virtualization (#22339) @romgrk
152
+ - [scheduler] Split scheduler overview (#22453) @joserodolfofreitas
153
+ - [scheduler] Unify `EventSkeleton` and `ErrorContainer` between `EventCalendar` and `EventTimeline` (#22676) @noraleonte
154
+
155
+ #### `@mui/x-scheduler-premium@9.0.0-beta.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
156
+
157
+ Same changes as in `@mui/x-scheduler@9.0.0-beta.0`.
158
+
159
+ ### Docs
160
+
161
+ - [docs] Add a performance docs page for charts (#22656) @alexfauquette
162
+ - [docs] Add real dataset for maps documentation (#22599) @alexfauquette
163
+ - [docs] Add spacing between selects on charts overview demo (#22589) @bernardobelchior
164
+ - [docs] Reorganize existing chat docs navigation (#22478) @hasdfa
165
+ - [docs] Switch to visionscarto's world atlas dataset (#22669) @cherniavskii
166
+ - [docs] Update TreeView `domstructure` docs and add demo (#22420) @mj12albert
167
+ - [docs] Fix indexation of Scheduler (#22567) @oliviertassinari
168
+ - [docs] Fix wide layout on event timeline lazy loading and Import title (#22604) @rita-codes
169
+ - [docs] Derive class name owners for shared charts classes (#22674) @JCQuintas
170
+
171
+ ### Core
172
+
173
+ - [code-infra] Drop unused and now-transitive deps from docs/package.json (#22549) @LukasTy
174
+ - [code-infra] Refresh CI Node pins to 22.22.3 (#22598) @LukasTy
175
+ - [code-infra] Skip empty product sections in changelog (#22541) @rita-codes
176
+ - [code-infra] Stabilize DataGridScrollRestoration visual regression test (#22553) @Janpot
177
+ - [internal] Add license to the `x-data-grid-generator` (#22240) @arminmeh
178
+ - [internal] Express default value for resource_class (#22569) @oliviertassinari
179
+ - [internal] Fix use of ellipsis (#21852) @oliviertassinari
180
+ - [internal] `useLayoutEffect` with `ResizeObserver` (#22428) @romgrk
181
+
182
+ ### Miscellaneous
183
+
184
+ - [chat-headless] Add built-in chat adapters (#22479) @hasdfa
185
+ - [chat-headless] Harden runtime model and message errors (#22480) @hasdfa
186
+ - [core] Prepare for TypeScript 6 bump (#22551) @LukasTy
187
+ - [core] Use CircleCI Gen2 resource classes (#22610) @LukasTy
188
+ - [infra] Fix broken tag retrieval on `master` during release (#22174) @michelengelen
189
+ - [infra] Group Base UI renovate updates (#22590) @LukasTy
190
+ - [pnpm] Add security settings to pnpm-workspace.yaml (#22611) @Janpot
191
+ - [release] Fix release PR scripts (#22680) @JCQuintas
192
+ - [test] Add a Tree View regression test for lazy loading with getChildrenCount returning -1 (#22605) @mixelburg
193
+ - [test] Disable LCD subpixel antialiasing in regression screenshots (#22602) @Janpot
194
+ - [test] Fix flaky Data Grid Pro data source tree data tests (#22659) @LukasTy
195
+ - [test] Remove stale form-submit TODO from e2e suite (#22564) @LukasTy
196
+ - [x-license] Exclude test keys from the published npm package (#22647) @aemartos
197
+ - [test] Fix flaky WebGL benchmark by polling for canvas content (#22535) @JCQuintas
198
+
199
+ ## 9.3.0
200
+
201
+ _May 21, 2026_
202
+
203
+ We'd like to extend a big thank you to the 16 contributors who made this release possible. Here are some highlights ✨:
204
+
205
+ - 📆 Refactor Calendar Range drag editing to use Pointer Events instead of drag and touch events combination (#22279)
206
+ - ✨ Apply lazy loading to `EventTimelinePremium` (#22308)
207
+ - 🐞 Bugfixes
208
+ - 📚 Documentation improvements
209
+ - 🌎 Added Norwegian bokmål (nb-NO) locale to the Scheduler
210
+ - 🌎 Improved Swedish (sv-SE) locale on the Data Grid
211
+
212
+ Special thanks go out to these community members for their valuable contributions:
213
+ @Anexus5919, @jvskriubakken, @oscar-b, @rin, @viktormelin
214
+
215
+ The following team members contributed to this release:
216
+ @aemartos, @alexfauquette, @arminmeh, @Janpot, @JCQuintas, @LukasTy, @mj12albert, @oliviertassinari, @rita-codes, @romgrk, @sai6855
217
+
218
+ ### Data Grid
219
+
220
+ #### `@mui/x-data-grid@9.3.0`
221
+
222
+ - [DataGrid] Fix scrollbar disappearing after multiple resizes (#22512) @LukasTy
223
+ - [DataGrid] Revert "Add support for pinned columns in `GridVirtualScroller`" (#22467) @oliviertassinari
224
+ - [l10n] Improve Swedish (svSE) locale (#21851) @viktormelin
225
+
226
+ #### `@mui/x-data-grid-pro@9.3.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
227
+
228
+ Same changes as in `@mui/x-data-grid@9.3.0`.
229
+
230
+ #### `@mui/x-data-grid-premium@9.3.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
231
+
232
+ Same changes as in `@mui/x-data-grid-pro@9.3.0`.
233
+
234
+ ### Date and Time Pickers
235
+
236
+ #### `@mui/x-date-pickers@9.3.0`
237
+
238
+ - [pickers] Fix disabled state styling for `PickersTextField` standard and filled variants (#22189) @LukasTy
239
+ - [pickers] Fix previous month disabled state calculation (#22524) @mj12albert
240
+ - [pickers] Merge `slotProps.sectionContent` in `PickersInputBase` (#22324) @rin
241
+
242
+ #### `@mui/x-date-pickers-pro@9.3.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
243
+
244
+ Same changes as in `@mui/x-date-pickers@9.3.0`, plus:
245
+
246
+ - [DateRangeCalendar] Use Pointer Events for drag editing (#22279) @LukasTy
247
+
248
+ ### Charts
249
+
250
+ #### `@mui/x-charts@9.3.0`
251
+
252
+ - [charts] Add `data-series` to elements of radar chart (#22523) @alexfauquette
253
+ - [charts] Add environment check for warning messages in axis and radar hooks (#22506) @sai6855
254
+ - [charts] Chart `seriesConfig` deduplication for lines and bars (#22257) @sai6855
255
+ - [charts] Fix highlighted item crash (#22539) @oscar-b
256
+ - [charts] Fix the line and mark class (#22526) @alexfauquette
257
+ - [charts] Fix use of deprecated API in docs (#22469) @oliviertassinari
258
+ - [charts] Improve performance of `evaluateCurveY` function (#22407) @sai6855
259
+
260
+ #### `@mui/x-charts-pro@9.3.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
261
+
262
+ Same changes as in `@mui/x-charts@9.3.0`.
263
+
264
+ #### `@mui/x-charts-premium@9.3.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
265
+
266
+ Same changes as in `@mui/x-charts-pro@9.3.0`, plus:
267
+
268
+ - [charts-premium] Add `closePath` option to the radial line series (#22517) @alexfauquette
269
+
270
+ ### Tree View
271
+
272
+ #### `@mui/x-tree-view-pro@9.3.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
273
+
274
+ Internal changes.
275
+
276
+ ### Scheduler
277
+
278
+ #### `@mui/x-scheduler@9.0.0-alpha.7`
279
+
280
+ - [I10n] Add Norwegian bokmål (nb-NO) locale (#22415) @jvskriubakken
281
+
282
+ #### `@mui/x-scheduler-premium@9.0.0-alpha.7` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
283
+
284
+ Same changes as in `@mui/x-scheduler@9.0.0-alpha.7`, plus:
285
+
286
+ - [scheduler] Apply lazy loading to `EventTimelinePremium` (#22308) @rita-codes
287
+ - [scheduler] Deduplicate staged ranges within the debounce window (#22476) @Anexus5919
288
+ - [scheduler] Pass full event objects to `dataSource.updateEvents` (#22462) @rita-codes
289
+
290
+ ### Docs
291
+
292
+ - [docs] Automatically update supported versions (#21850) @arminmeh
293
+ - [docs] Fix `New` label on bar charts docs (#22473) @oliviertassinari
294
+ - [docs] Improve premium page header for charts (#22474) @oliviertassinari
295
+ - [docs] Sync `README` with licensing/licensing.md in scheduler (#22468) @oliviertassinari
296
+
297
+ ### Core
298
+
299
+ - [code-infra] Cover docs overview composites with Argos (#22283) @LukasTy
300
+ - [code-infra] Enable `mui/no-presentation-role` lint rule (#22360) @Janpot
301
+ - [code-infra] Make generated `propTypes` union order deterministic (#22521) @JCQuintas
302
+ - [code-infra] Make screenshots stable across different ordering of the tests (#22449) @Janpot
303
+ - [code-infra] Optimize visual regression testing (#22447) @Janpot
304
+ - [code-infra] Replace markdownlint with remark from code-infra (#22255) @Janpot
305
+
306
+ ### Miscellaneous
307
+
308
+ - [virtualizer] Improve `controlled` mode performance (#22123) @romgrk
309
+ - [data-grid-generator] Include `tree-data` params in `useDemoData` cache key (#22456) @Janpot
310
+ - [test] Fix flaky browser tests and optimize (#22431) @Janpot
311
+ - [test] Speed up `test_types` job (#22442) @Janpot
312
+ - [test] Trim ffmpeg install in `test_regressions` (#22459) @Janpot
313
+ - [test] Add WebGL performance benchmarks for charts (#22471) @JCQuintas
314
+ - [test] Expand chart performance benchmarks for charts (#22472) @JCQuintas
315
+ - [x-license] use workspace dep for v9 in cross-major compat tests (#22504) @aemartos
316
+
3
317
  ## 9.2.0
4
318
 
5
319
  _May 13, 2026_
@@ -136,11 +136,11 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
136
136
  hiddenItems: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
137
137
  dataIndex: _propTypes.default.number,
138
138
  seriesId: _propTypes.default.string.isRequired,
139
- type: _propTypes.default.oneOf(['bar', 'line', 'pie', 'radar', 'scatter'])
139
+ type: _propTypes.default.oneOf(['bar', 'line', 'pie', 'radar', 'scatter']).isRequired
140
140
  }), _propTypes.default.shape({
141
141
  dataIndex: _propTypes.default.number,
142
142
  seriesId: _propTypes.default.string.isRequired,
143
- type: _propTypes.default.oneOf(['bar', 'line', 'pie', 'radar', 'scatter']).isRequired
143
+ type: _propTypes.default.oneOf(['bar', 'line', 'pie', 'radar', 'scatter'])
144
144
  })]).isRequired),
145
145
  /**
146
146
  * The controlled axis highlight.
@@ -197,11 +197,11 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
197
197
  initialHiddenItems: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
198
198
  dataIndex: _propTypes.default.number,
199
199
  seriesId: _propTypes.default.string.isRequired,
200
- type: _propTypes.default.oneOf(['bar', 'line', 'pie', 'radar', 'scatter'])
200
+ type: _propTypes.default.oneOf(['bar', 'line', 'pie', 'radar', 'scatter']).isRequired
201
201
  }), _propTypes.default.shape({
202
202
  dataIndex: _propTypes.default.number,
203
203
  seriesId: _propTypes.default.string.isRequired,
204
- type: _propTypes.default.oneOf(['bar', 'line', 'pie', 'radar', 'scatter']).isRequired
204
+ type: _propTypes.default.oneOf(['bar', 'line', 'pie', 'radar', 'scatter'])
205
205
  })]).isRequired),
206
206
  /**
207
207
  * Localized text for chart components.
@@ -345,11 +345,6 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
345
345
  */
346
346
  zAxis: _propTypes.default.arrayOf(_propTypes.default.shape({
347
347
  colorMap: _propTypes.default.oneOfType([_propTypes.default.shape({
348
- colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
349
- type: _propTypes.default.oneOf(['ordinal']).isRequired,
350
- unknownColor: _propTypes.default.string,
351
- values: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number, _propTypes.default.string]).isRequired)
352
- }), _propTypes.default.shape({
353
348
  color: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired), _propTypes.default.func]).isRequired,
354
349
  max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
355
350
  min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
@@ -358,12 +353,38 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
358
353
  colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
359
354
  thresholds: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]).isRequired).isRequired,
360
355
  type: _propTypes.default.oneOf(['piecewise']).isRequired
356
+ }), _propTypes.default.shape({
357
+ colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
358
+ type: _propTypes.default.oneOf(['ordinal']).isRequired,
359
+ unknownColor: _propTypes.default.string,
360
+ values: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number, _propTypes.default.string]).isRequired)
361
361
  })]),
362
362
  data: _propTypes.default.array,
363
363
  dataKey: _propTypes.default.string,
364
364
  id: _propTypes.default.string,
365
365
  max: _propTypes.default.number,
366
366
  min: _propTypes.default.number,
367
+ sizeMap: _propTypes.default.oneOfType([_propTypes.default.shape({
368
+ interpolator: _propTypes.default.oneOf(['linear', 'log', 'sqrt']),
369
+ max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
370
+ min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
371
+ size: _propTypes.default.arrayOf(_propTypes.default.number.isRequired).isRequired,
372
+ type: _propTypes.default.oneOf(['continuous']).isRequired
373
+ }), _propTypes.default.shape({
374
+ max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
375
+ min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
376
+ size: _propTypes.default.func.isRequired,
377
+ type: _propTypes.default.oneOf(['continuous']).isRequired
378
+ }), _propTypes.default.shape({
379
+ sizes: _propTypes.default.arrayOf(_propTypes.default.number).isRequired,
380
+ thresholds: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]).isRequired).isRequired,
381
+ type: _propTypes.default.oneOf(['piecewise']).isRequired
382
+ }), _propTypes.default.shape({
383
+ sizes: _propTypes.default.arrayOf(_propTypes.default.number).isRequired,
384
+ type: _propTypes.default.oneOf(['ordinal']).isRequired,
385
+ unknownSize: _propTypes.default.number,
386
+ values: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number, _propTypes.default.string]).isRequired)
387
+ })]),
367
388
  valueGetter: _propTypes.default.func
368
389
  }))
369
390
  } : void 0;
@@ -129,11 +129,11 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
129
129
  hiddenItems: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({
130
130
  dataIndex: PropTypes.number,
131
131
  seriesId: PropTypes.string.isRequired,
132
- type: PropTypes.oneOf(['bar', 'line', 'pie', 'radar', 'scatter'])
132
+ type: PropTypes.oneOf(['bar', 'line', 'pie', 'radar', 'scatter']).isRequired
133
133
  }), PropTypes.shape({
134
134
  dataIndex: PropTypes.number,
135
135
  seriesId: PropTypes.string.isRequired,
136
- type: PropTypes.oneOf(['bar', 'line', 'pie', 'radar', 'scatter']).isRequired
136
+ type: PropTypes.oneOf(['bar', 'line', 'pie', 'radar', 'scatter'])
137
137
  })]).isRequired),
138
138
  /**
139
139
  * The controlled axis highlight.
@@ -190,11 +190,11 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
190
190
  initialHiddenItems: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({
191
191
  dataIndex: PropTypes.number,
192
192
  seriesId: PropTypes.string.isRequired,
193
- type: PropTypes.oneOf(['bar', 'line', 'pie', 'radar', 'scatter'])
193
+ type: PropTypes.oneOf(['bar', 'line', 'pie', 'radar', 'scatter']).isRequired
194
194
  }), PropTypes.shape({
195
195
  dataIndex: PropTypes.number,
196
196
  seriesId: PropTypes.string.isRequired,
197
- type: PropTypes.oneOf(['bar', 'line', 'pie', 'radar', 'scatter']).isRequired
197
+ type: PropTypes.oneOf(['bar', 'line', 'pie', 'radar', 'scatter'])
198
198
  })]).isRequired),
199
199
  /**
200
200
  * Localized text for chart components.
@@ -338,11 +338,6 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
338
338
  */
339
339
  zAxis: PropTypes.arrayOf(PropTypes.shape({
340
340
  colorMap: PropTypes.oneOfType([PropTypes.shape({
341
- colors: PropTypes.arrayOf(PropTypes.string).isRequired,
342
- type: PropTypes.oneOf(['ordinal']).isRequired,
343
- unknownColor: PropTypes.string,
344
- values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
345
- }), PropTypes.shape({
346
341
  color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
347
342
  max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
348
343
  min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
@@ -351,12 +346,38 @@ process.env.NODE_ENV !== "production" ? ChartsContainer.propTypes = {
351
346
  colors: PropTypes.arrayOf(PropTypes.string).isRequired,
352
347
  thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
353
348
  type: PropTypes.oneOf(['piecewise']).isRequired
349
+ }), PropTypes.shape({
350
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
351
+ type: PropTypes.oneOf(['ordinal']).isRequired,
352
+ unknownColor: PropTypes.string,
353
+ values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
354
354
  })]),
355
355
  data: PropTypes.array,
356
356
  dataKey: PropTypes.string,
357
357
  id: PropTypes.string,
358
358
  max: PropTypes.number,
359
359
  min: PropTypes.number,
360
+ sizeMap: PropTypes.oneOfType([PropTypes.shape({
361
+ interpolator: PropTypes.oneOf(['linear', 'log', 'sqrt']),
362
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
363
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
364
+ size: PropTypes.arrayOf(PropTypes.number.isRequired).isRequired,
365
+ type: PropTypes.oneOf(['continuous']).isRequired
366
+ }), PropTypes.shape({
367
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
368
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
369
+ size: PropTypes.func.isRequired,
370
+ type: PropTypes.oneOf(['continuous']).isRequired
371
+ }), PropTypes.shape({
372
+ sizes: PropTypes.arrayOf(PropTypes.number).isRequired,
373
+ thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
374
+ type: PropTypes.oneOf(['piecewise']).isRequired
375
+ }), PropTypes.shape({
376
+ sizes: PropTypes.arrayOf(PropTypes.number).isRequired,
377
+ type: PropTypes.oneOf(['ordinal']).isRequired,
378
+ unknownSize: PropTypes.number,
379
+ values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
380
+ })]),
360
381
  valueGetter: PropTypes.func
361
382
  }))
362
383
  } : void 0;
@@ -10,7 +10,6 @@ exports.ChartsLabelMark = void 0;
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
12
12
  var React = _interopRequireWildcard(require("react"));
13
- var _propTypes = _interopRequireDefault(require("prop-types"));
14
13
  var _clsx = _interopRequireDefault(require("clsx"));
15
14
  var _styles = require("@mui/material/styles");
16
15
  var _d3Shape = require("@mui/x-charts-vendor/d3-shape");
@@ -37,8 +36,6 @@ const Root = (0, _styles.styled)('div', {
37
36
  alignItems: 'center'
38
37
  },
39
38
  [`&.${_labelMarkClasses.labelMarkClasses.lineAndMark}`]: {
40
- width: 16,
41
- height: 16,
42
39
  alignItems: 'center'
43
40
  },
44
41
  [`&.${_labelMarkClasses.labelMarkClasses.square}`]: {
@@ -135,23 +132,4 @@ const ChartsLabelMark = exports.ChartsLabelMark = (0, _consumeThemeProps.consume
135
132
  })]
136
133
  })
137
134
  }));
138
- });
139
- process.env.NODE_ENV !== "production" ? ChartsLabelMark.propTypes = {
140
- // ----------------------------- Warning --------------------------------
141
- // | These PropTypes are generated from the TypeScript type definitions |
142
- // | To update them edit the TypeScript types and run "pnpm proptypes" |
143
- // ----------------------------------------------------------------------
144
- /**
145
- * Override or extend the styles applied to the component.
146
- */
147
- classes: _propTypes.default.object,
148
- /**
149
- * The color of the mark.
150
- */
151
- color: _propTypes.default.string,
152
- /**
153
- * The type of the mark.
154
- * @default 'square'
155
- */
156
- type: _propTypes.default.oneOf(['circle', 'line', 'square'])
157
- } : void 0;
135
+ });
@@ -4,7 +4,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["type", "markShape", "color", "className", "classes"];
6
6
  import * as React from 'react';
7
- import PropTypes from 'prop-types';
8
7
  import clsx from 'clsx';
9
8
  import { styled, useTheme } from '@mui/material/styles';
10
9
  import { symbol as d3Symbol, symbolsFill as d3SymbolsFill } from '@mui/x-charts-vendor/d3-shape';
@@ -30,8 +29,6 @@ const Root = styled('div', {
30
29
  alignItems: 'center'
31
30
  },
32
31
  [`&.${labelMarkClasses.lineAndMark}`]: {
33
- width: 16,
34
- height: 16,
35
32
  alignItems: 'center'
36
33
  },
37
34
  [`&.${labelMarkClasses.square}`]: {
@@ -129,23 +126,4 @@ const ChartsLabelMark = consumeThemeProps('MuiChartsLabelMark', {
129
126
  })
130
127
  }));
131
128
  });
132
- process.env.NODE_ENV !== "production" ? ChartsLabelMark.propTypes = {
133
- // ----------------------------- Warning --------------------------------
134
- // | These PropTypes are generated from the TypeScript type definitions |
135
- // | To update them edit the TypeScript types and run "pnpm proptypes" |
136
- // ----------------------------------------------------------------------
137
- /**
138
- * Override or extend the styles applied to the component.
139
- */
140
- classes: PropTypes.object,
141
- /**
142
- * The color of the mark.
143
- */
144
- color: PropTypes.string,
145
- /**
146
- * The type of the mark.
147
- * @default 'square'
148
- */
149
- type: PropTypes.oneOf(['circle', 'line', 'square'])
150
- } : void 0;
151
129
  export { ChartsLabelMark };
@@ -13,6 +13,5 @@ export interface ChartsLabelMarkClasses {
13
13
  /** Styles applied to the element with fill={color} attribute. */
14
14
  fill: string;
15
15
  }
16
- export declare function getLabelMarkUtilityClass(slot: string): string;
17
16
  export declare const labelMarkClasses: ChartsLabelMarkClasses;
18
17
  export declare const useUtilityClasses: (props: ChartsLabelMarkProps) => Record<"root" | "fill", string>;
@@ -13,6 +13,5 @@ export interface ChartsLabelMarkClasses {
13
13
  /** Styles applied to the element with fill={color} attribute. */
14
14
  fill: string;
15
15
  }
16
- export declare function getLabelMarkUtilityClass(slot: string): string;
17
16
  export declare const labelMarkClasses: ChartsLabelMarkClasses;
18
17
  export declare const useUtilityClasses: (props: ChartsLabelMarkProps) => Record<"root" | "fill", string>;
@@ -4,7 +4,6 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.getLabelMarkUtilityClass = getLabelMarkUtilityClass;
8
7
  exports.useUtilityClasses = exports.labelMarkClasses = void 0;
9
8
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
10
9
  var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
@@ -18,7 +17,7 @@ const useUtilityClasses = props => {
18
17
  type
19
18
  } = props;
20
19
  const slots = {
21
- root: typeof type === 'function' ? ['root'] : ['root', type],
20
+ root: typeof type === 'function' ? ['root'] : ['root', type === 'line+mark' ? 'lineAndMark' : type],
22
21
  fill: ['fill']
23
22
  };
24
23
  return (0, _composeClasses.default)(slots, getLabelMarkUtilityClass, props.classes);
@@ -1,7 +1,7 @@
1
1
  import composeClasses from '@mui/utils/composeClasses';
2
2
  import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
4
- export function getLabelMarkUtilityClass(slot) {
4
+ function getLabelMarkUtilityClass(slot) {
5
5
  return generateUtilityClass('MuiChartsLabelMark', slot);
6
6
  }
7
7
  export const labelMarkClasses = generateUtilityClasses('MuiChartsLabelMark', ['root', 'line', 'lineAndMark', 'square', 'circle', 'fill']);
@@ -10,7 +10,7 @@ export const useUtilityClasses = props => {
10
10
  type
11
11
  } = props;
12
12
  const slots = {
13
- root: typeof type === 'function' ? ['root'] : ['root', type],
13
+ root: typeof type === 'function' ? ['root'] : ['root', type === 'line+mark' ? 'lineAndMark' : type],
14
14
  fill: ['fill']
15
15
  };
16
16
  return composeClasses(slots, getLabelMarkUtilityClass, props.classes);