@mui/x-codemod 9.0.0-alpha.3 → 9.0.0-rc.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,388 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.0.0-rc.0
4
+
5
+ <!-- generated comparing v9.0.0-beta.0..master -->
6
+
7
+ _Apr 7, 2026_
8
+
9
+ We'd like to extend a big thank you to the 18 contributors who made this release possible.
10
+
11
+ Special thanks go out to these community members for their valuable contributions:
12
+ @mixelburg, @sibananda485, @youjin-hong
13
+
14
+ The following team members contributed to this release:
15
+ @aemartos, @alexfauquette, @arminmeh, @brijeshb42, @flaviendelangle, @JCQuintas, @LukasTy, @mapache-salvaje, @MBilalShafi, @michelengelen, @noraleonte, @rita-codes, @romgrk, @siriwatknp, @ZeeshanTamboli
16
+
17
+ ### Data Grid
18
+
19
+ #### `@mui/x-data-grid@9.0.0-rc.0`
20
+
21
+ - [DataGrid] Rename filter panel `Columns` label to singular `Column` (#21935) @youjin-hong
22
+ - [DataGrid] Export `GridColumnUnsortedIconProps` for custom column icon slots (#21658) @mixelburg
23
+ - [DataGrid] Remove `x-virtualizer`'s `virtualScroller` from public API (#21936) @romgrk
24
+ - [DataGrid][virtualizer] Scrolling without render gaps (#21616) @romgrk
25
+
26
+ #### `@mui/x-data-grid-pro@9.0.0-rc.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
27
+
28
+ Same changes as in `@mui/x-data-grid@9.0.0-rc.0`, plus:
29
+
30
+ - [DataGridPro] Improve trigger for nested row reordering (#21642) @MBilalShafi
31
+ - [DataGridPro] Undeprecate `onRowsScrollEnd` prop (#21912) @MBilalShafi
32
+
33
+ #### `@mui/x-data-grid-premium@9.0.0-rc.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
34
+
35
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-rc.0`, plus:
36
+
37
+ - [DataGridPremium] Fix clipboard paste issue in portal (#21931) @sibananda485
38
+
39
+ ### Date and Time Pickers
40
+
41
+ #### Breaking changes
42
+
43
+ - Accessible DOM structure is now the only default. [Read more](https://next.mui.com/x/migration/migration-pickers-v8/#accessible-dom-structure-is-now-the-default)
44
+ - The `PickerDay2` and `DateRangePickerDay2` components were propagated to stable while removing the previous defaults. [Read more](https://next.mui.com/x/migration/migration-pickers-v8/#day-slot)
45
+
46
+ #### `@mui/x-date-pickers@9.0.0-rc.0`
47
+
48
+ - [pickers] Remove `PickersDay` and `DateRangePickerDay` and promote their `2` versions as replacements (#21739) @michelengelen
49
+
50
+ #### `@mui/x-date-pickers-pro@9.0.0-rc.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
51
+
52
+ Same changes as in `@mui/x-date-pickers@9.0.0-rc.0`.
53
+
54
+ ### Charts
55
+
56
+ #### `@mui/x-charts@9.0.0-rc.0.0`
57
+
58
+ - [charts] Make line visibility toggle start from the baseline (#21893) @alexfauquette
59
+ - [charts] Remove the container overflow (#21955) @alexfauquette
60
+ - [charts] Revert `theme.alpha` for non-channel token (#21965) @siriwatknp
61
+
62
+ #### `@mui/x-charts-pro@9.0.0-rc.0.0` [![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-rc.0.0`, plus:
65
+
66
+ - [charts-pro] Zoom slider touch improvements (#21832) @JCQuintas
67
+ - [charts-pro] Add `seriesIds` filter to zoom slider preview (#21933) @JCQuintas
68
+ - [charts-pro] Fix zoom slider preview with discard filter mode (#21883) @JCQuintas
69
+
70
+ #### `@mui/x-charts-premium@9.0.0-rc.0.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
71
+
72
+ Same changes as in `@mui/x-charts-pro@9.0.0-rc.0.0`, plus:
73
+
74
+ - [charts-premium] Add series `valueFormatter` to candlestick chart (#21905) @JCQuintas
75
+ - [charts-premium] Add zoom slider preview support for candlestick charts (#21914) @JCQuintas
76
+ - [charts-premium] Allow color customization in `Candlestick` chart (#21838) @JCQuintas
77
+ - [charts-premium] Support hide/show for OHLC (candlestick) series (#21807) @Copilot
78
+ - [charts-premium] Add `dataset` support to `Candlestick` chart (#21872) @JCQuintas
79
+ - [charts-premium] Add candlestick page to sidebar navigation (#21834) @JCQuintas
80
+
81
+ ### Tree View
82
+
83
+ #### `@mui/x-tree-view@9.0.0-rc.0`
84
+
85
+ Internal changes.
86
+
87
+ #### `@mui/x-tree-view-pro@9.0.0-rc.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
88
+
89
+ Same changes as in `@mui/x-tree-view@9.0.0-rc.0`, plus:
90
+
91
+ - [RichTreeViewPro] Allow to auto-expand lazy loaded items (#21759) @flaviendelangle
92
+
93
+ ### Scheduler
94
+
95
+ #### `@mui/x-scheduler@9.0.0-alpha.0`
96
+
97
+ - [scheduler] Add locale files, adapt l10n scripts, and add localization table to docs (#21870) @rita-codes
98
+ - [scheduler] Add planned features to the docs (#21705) @rita-codes
99
+ - [scheduler] Add scheduler to docs introduction (#21845) @rita-codes
100
+ - [scheduler] Add wide docs to scheduler (#21860) @noraleonte
101
+ - [scheduler] All day event bugfixes (#21884) @noraleonte
102
+ - [scheduler] Autofocus title field (#21947) @noraleonte
103
+ - [scheduler] Change default event creation trigger to single click (#21979) @rita-codes
104
+ - [scheduler] Change order of the views on the view selector (#21904) @rita-codes
105
+ - [scheduler] Disabled border color for the repeat day picker in dark mode (#21987) @rita-codes
106
+ - [scheduler] Drop unused dependency (#21956) @flaviendelangle
107
+ - [scheduler] Fix all-day event shifting to previous day in negative UTC offsets (#21994) @rita-codes
108
+ - [scheduler] Fix dark theme localization demos (#21992) @noraleonte
109
+ - [scheduler] Fix licensing confusion in docs (#21939) @rita-codes
110
+ - [scheduler] Fix preferences menu width shift when toggling options + Improve preferences menu accessibility (#21902) @rita-codes
111
+ - [scheduler] Prepare for the alpha launch (#21859) @rita-codes
112
+ - [scheduler] Sync Base UI internals and apply good practices (#21946) @flaviendelangle
113
+ - [scheduler] Update close modal aria label translation (#21940) @rita-codes
114
+ - [scheduler] Add Spanish (es-ES) locale (#21900) @rita-codes
115
+ - [scheduler] Improve French (fr-FR) locale (#21941) @rita-codes
116
+ - [scheduler] Improve Romanian (ro-RO) locale (#21942) @rita-codes
117
+
118
+ #### `@mui/x-scheduler-premium@9.0.0-alpha.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
119
+
120
+ Same changes as in `@mui/x-scheduler@9.0.0-alpha.0`.
121
+
122
+ ### Codemod
123
+
124
+ #### `@mui/x-codemod@9.0.0-rc.0`
125
+
126
+ Internal changes.
127
+
128
+ ### Docs
129
+
130
+ - [docs] Fix JSDOM → jsdom casing (#21907) @JCQuintas
131
+ - [docs] Remove Joy UI references and dependency (#21937) @siriwatknp
132
+ - [docs] Remove none generated files (#21886) @alexfauquette
133
+ - [docs] Remove unused interactive demo code (#21945) @LukasTy
134
+ - [docs] Revise the Funnel doc (#21677) @mapache-salvaje
135
+ - [docs] Revise the Line chart docs (#21554) @mapache-salvaje
136
+ - [docs] Revise the Radar doc (#21674) @mapache-salvaje
137
+ - [docs] Revise the Sankey doc (#21678) @mapache-salvaje
138
+ - [docs] Revise the Scatter chart docs (#21564) @mapache-salvaje
139
+
140
+ ### Core
141
+
142
+ - [docs-infra] Update to the latest monorepo (#21971) @brijeshb42
143
+ - [internal] Remove checks for `materialVersion >= 6` (#21975) @LukasTy
144
+
145
+ ### Miscellaneous
146
+
147
+ - [core] Bump @mui/material to v9.0.0-beta.1 (#21858) @siriwatknp
148
+ - [core] Update browserslistrc (#21974) @siriwatknp
149
+ - [deps] Bump minimum core packages to 7.3.0 to adopt theme color manipulator (#21892) @siriwatknp
150
+ - [telemetry] Prefer upstream remote over origin for `projectId` (#21882) @aemartos
151
+ - [telemetry] Send `repoHash`, `[x]packageNameHash`, and `rootPathHash` alongside `projectId` (#21896) @aemartos
152
+ - [test] Exclude flaky `DataGrid` argos test (#21977) @MBilalShafi
153
+ - [test] Fix flaky `DataGrid` test (#22000) @arminmeh
154
+ - [test] Remove `componentsProp` test from `describeConformance` (#21897) @ZeeshanTamboli
155
+ - [x-license] Change `orderId` type from `number` to `string` (#21885) @aemartos
156
+
157
+ ## 9.0.0-beta.0
158
+
159
+ <!-- generated comparing v9.0.0-alpha.4..master -->
160
+
161
+ _Mar 27, 2026_
162
+
163
+ We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
164
+
165
+ - 🔊 New Charts voiceover component for improved screen reader support
166
+ - ⌨️ Charts keyboard navigation improvements: axis tooltip now shows when navigating with the keyboard
167
+ - 📊 Charts axes now can be set to automatically resize to fit their content
168
+ - 📝 New `rowCheckbox` slot in Data Grid for easier checkbox column customization
169
+ - ⚡️ `fetchRows()` API in Data Grid Pro now defaults `start` and `end` based on scroll position with lazy loading
170
+ - 🐞 Bugfixes and internal improvements
171
+
172
+ The following team members contributed to this release:
173
+ @aemartos, @alexfauquette, @arminmeh, @cherniavskii, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes
174
+
175
+ ### Data Grid
176
+
177
+ #### `@mui/x-data-grid@9.0.0-beta.0`
178
+
179
+ - [DataGrid] Add `rowCheckbox` slot for easier customization (#21797) @michelengelen
180
+ - [DataGrid] Prevent repeated `hasScrollbar` state updates (#21820) @arminmeh
181
+
182
+ #### `@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')
183
+
184
+ Same changes as in `@mui/x-data-grid@9.0.0-beta.0`, plus:
185
+
186
+ - [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21742) @arminmeh
187
+
188
+ #### `@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')
189
+
190
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-beta.0`.
191
+
192
+ ### Date and Time Pickers
193
+
194
+ #### `@mui/x-date-pickers@9.0.0-beta.0`
195
+
196
+ Internal changes.
197
+
198
+ #### `@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')
199
+
200
+ Same changes as in `@mui/x-date-pickers@9.0.0-beta.0`.
201
+
202
+ ### Charts
203
+
204
+ #### `@mui/x-charts@9.0.0-beta.0`
205
+
206
+ - [charts] Add `className` prop to Pro chart plot components (#21793) @JCQuintas
207
+ - [charts] Add experimental position-based pointer interaction for line series (#21809) @JCQuintas
208
+ - [charts] Add l10n to the bar accessibility (#21815) @alexfauquette
209
+ - [charts] Add localization for the basic charts (#21822) @alexfauquette
210
+ - [charts] Add voiceover component (#21344) @alexfauquette
211
+ - [charts] Allow axes to automatically resize to content (#21087) @JCQuintas
212
+ - [charts] Document multiple use-cases for references (#21768) @alexfauquette
213
+ - [charts] Remove compatibility layer for React vs native events (#21780) @JCQuintas
214
+ - [charts] Remove deprecated `barLabel` props (#21783) @alexfauquette
215
+ - [charts] Show axis tooltip when navigating with keyboard (#21689) @Copilot
216
+
217
+ #### `@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')
218
+
219
+ Same changes as in `@mui/x-charts@9.0.0-beta.0`.
220
+
221
+ #### `@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')
222
+
223
+ Same changes as in `@mui/x-charts-pro@9.0.0-beta.0`.
224
+
225
+ ### Tree View
226
+
227
+ #### `@mui/x-tree-view@9.0.0-alpha.4`
228
+
229
+ Internal changes.
230
+
231
+ #### `@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')
232
+
233
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
234
+
235
+ ### Codemod
236
+
237
+ #### `@mui/x-codemod@9.0.0-alpha.4`
238
+
239
+ Internal changes.
240
+
241
+ ### Docs
242
+
243
+ - [docs] Document how to customize voiceover announcement (#21833) @alexfauquette
244
+ - [docs] Remove Discord mention from docs (#21855) @mapache-salvaje
245
+ - [docs] Remove stabilized experimental feature from demo (#21869) @JCQuintas
246
+ - [docs] Update telemetry guide to reflect pseudonymous data collection and license compliance (#21812) @aemartos
247
+ - [docs] Revise the Sparkline doc (#21614) @mapache-salvaje
248
+ - [docs] Revise the Gauge doc (#21673) @mapache-salvaje
249
+ - [docs] Revise the Heatmap doc (#21676) @mapache-salvaje
250
+
251
+ ### Core
252
+
253
+ - [code-infra] Remove unused deps and unify es-toolkit via catalog (#21840) @Janpot
254
+ - [code-infra] Update @mui/internal-bundle-size-checker to canary.68 (#21836) @Janpot
255
+ - [code-infra] Update next (#21837) @Janpot
256
+ - [internal] Remove headless data grid packages (#21843) @cherniavskii
257
+
258
+ ### Miscellaneous
259
+
260
+ - Add @romgrk to CODEOWNERS for `x-virtualizer` and `x-internals` (#21819) @Copilot
261
+ - [x-license] add 2022 plan version (#21814) @aemartos
262
+
263
+ ## 9.0.0-alpha.4
264
+
265
+ _Mar 19, 2026_
266
+
267
+ We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
268
+
269
+ - 🐞 Bugfixes and internal improvements
270
+
271
+ The following team members contributed to this release:
272
+ @aemartos, @alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp
273
+
274
+ ### Data Grid
275
+
276
+ #### `@mui/x-data-grid@9.0.0-alpha.4`
277
+
278
+ - [DataGrid] Mark charts integration as stable (#21764) @JCQuintas
279
+ - [DataGrid] Move `elementOverrides` to constants and remove duplicates (#21618) @sai6855
280
+ - [DataGrid] Migrate from deprecated Material UI APIs (#21682) @siriwatknp
281
+
282
+ #### `@mui/x-data-grid-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
283
+
284
+ Same changes as in `@mui/x-data-grid@9.0.0-alpha.4`.
285
+
286
+ #### `@mui/x-data-grid-premium@9.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
287
+
288
+ Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.4`.
289
+
290
+ ### Date and Time Pickers
291
+
292
+ #### `@mui/x-date-pickers@9.0.0-alpha.4`
293
+
294
+ - [pickers] Avoid stealing focus on click away (#13434) @LukasTy
295
+ - [pickers] Promote `fieldRef` to stable and add `clearValue` method (#21655) @michelengelen
296
+
297
+ #### `@mui/x-date-pickers-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
298
+
299
+ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
300
+
301
+ ### Charts
302
+
303
+ #### `@mui/x-charts@9.0.0-alpha.4`
304
+
305
+ - [charts] Add v9 chart series types and helper functions migration (#21009) @bernardobelchior
306
+ - [charts] Extract event listener to the layer container (#21751) @alexfauquette
307
+ - [charts] Fix WebGL print export canvas stretching (#21738) @JCQuintas
308
+ - [charts] Improve deprecation warnings (#21760) @alexfauquette
309
+ - [charts] Improve type safety in `identifierCleaner` (#21719) @bernardobelchior
310
+ - [charts] Make `preferStrictDomainInLineCharts` the default (#21744) @JCQuintas
311
+ - [charts] Move title and description to the layer container (#21757) @alexfauquette
312
+ - [charts] Refactor `FunnelChart` classes structure (#21652) @JCQuintas
313
+ - [charts] Refactor `Heatmap` classes structure (#21653) @JCQuintas
314
+ - [charts] Refactor `RadarChart` classes structure (#21650) @JCQuintas
315
+ - [charts] Refactor `SankeyChart` classes structure (#21654) @JCQuintas
316
+ - [charts] Refactor legend getters to use utility functions (#21628) @sai6855
317
+ - [charts] Remove deprecated `ChartContainer` and `ChartDataProvider` (#21777) @alexfauquette
318
+ - [charts] Remove deprecated `itemId` from `SeriesLegendItemContext` (#21788) @alexfauquette
319
+ - [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
320
+ - [charts] Remove deprecated classes (#21775) @alexfauquette
321
+ - [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
322
+ - [charts] Remove get\*UtilityClass from public exports (#21769) @JCQuintas
323
+ - [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
324
+ - [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
325
+ - [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
326
+ - [charts] Remove deprecated pieArcClasses (#21795) @alexfauquette
327
+ - [charts] Rename `data-series-id` by `data-series` (#21761) @alexfauquette
328
+ - [charts] Rename `voronoiMaxRadius`/`disableVoronoi` to `hitAreaRadius`/`disableHitArea` (#21750) @bernardobelchior
329
+ - [charts] Update pt-PT locale (#21296) @bernardobelchior
330
+ - [charts] Use different shape per series by default (#21713) @alexfauquette
331
+ - [charts] Add className prop to Radar components (#21794) @JCQuintas
332
+ - [charts] Add className prop to shared chart components (#21792) @JCQuintas
333
+ - [charts] Add className prop to BarPlot (#21791) @JCQuintas
334
+ - [charts] Portal tooltip into ChartsLayerContainer (#21801) @JCQuintas
335
+
336
+ #### `@mui/x-charts-pro@9.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
337
+
338
+ Same changes as in `@mui/x-charts@9.0.0-alpha.4`, plus:
339
+
340
+ - [charts-pro] Allow `brush` interaction to accept `requiredKeys/pointerMode` (#21716) @JCQuintas
341
+ - [charts-pro] Remove deprecated `onAxisClick` for Heatmap (#21786) @alexfauquette
342
+
343
+ #### `@mui/x-charts-premium@9.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
344
+
345
+ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.4`, plus:
346
+
347
+ - [charts-premium] Add candlestick chart (#21129) @bernardobelchior
348
+
349
+ ### Tree View
350
+
351
+ #### `@mui/x-tree-view@9.0.0-alpha.4`
352
+
353
+ Internal changes.
354
+
355
+ #### `@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')
356
+
357
+ Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
358
+
359
+ ### Codemod
360
+
361
+ #### `@mui/x-codemod@9.0.0-alpha.4`
362
+
363
+ Internal changes.
364
+
365
+ ### Docs
366
+
367
+ - [docs-infra] Exclude `ServerSideLazyLoadingRevalidation` from argos (#21734) @sai6855
368
+ - [docs] Update charts v9 migration guide to include premium package (#21743) @bernardobelchior
369
+ - [docs] Update v9 migration guides to install next tag (#21741) @bernardobelchior
370
+ - [docs] Revise the Pie chart docs (#21565) @mapache-salvaje
371
+ - [docs] Revise the Bar Chart docs (#21482) @mapache-salvaje
372
+ - [docs] Removed a `console.log` from an aggregation demo (#21698) @michelengelen
373
+
374
+ ### Core
375
+
376
+ - [code-infra] Add pkg-pr-new as dev dependency (#21754) @Janpot
377
+ - [code-infra] Prevent `combiner` to have default parameters (#21707) @JCQuintas
378
+ - [code-infra] Remove CI coverage collection and upload to Codecov (#21671) @Janpot
379
+ - [internal] Remove @bernardobelchior from Charts CODEOWNERS (#21776) @Copilot
380
+
381
+ ### Miscellaneous
382
+
383
+ - [x-license] Fix process.env.MUI_VERSION not being replaced during build (#21727) @aemartos
384
+ - [x-license] Add new watermark license status message (#21720) @aemartos
385
+
3
386
  ## 9.0.0-alpha.3
4
387
 
5
388
  _Mar 12, 2026_
@@ -84,7 +467,7 @@ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
84
467
  - Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
85
468
  - The `<RichTreeViewPro />` component has now virtualization enabled by default.
86
469
  - 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.
470
+ - The items of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
88
471
 
89
472
  #### `@mui/x-tree-view@9.0.0-alpha.3`
90
473
 
package/README.md CHANGED
@@ -76,9 +76,29 @@ The corresponding sub-sections are listed below
76
76
 
77
77
  <!-- - [`preset-safe-for-tree-view`](#preset-safe-for-tree-view-v900) -->
78
78
  <!-- - [`preset-safe-for-data-grid`](#preset-safe-for-data-grid-v900) -->
79
- <!-- - [`preset-safe-for-pickers`](#preset-safe-for-pickers-v900) -->
80
79
 
81
80
  - [`preset-safe-for-charts`](#preset-safe-for-charts-v900)
81
+ - [`preset-safe-for-pickers`](#preset-safe-for-pickers-v900)
82
+
83
+ ### Data Grid codemods
84
+
85
+ #### `remove-stabilized-experimentalFeatures`
86
+
87
+ Removes the `charts` property from the `experimentalFeatures` prop of `DataGridPremium`.
88
+ If `charts` is the only property, the entire `experimentalFeatures` prop is removed.
89
+
90
+ <!-- #npm-tag-reference -->
91
+
92
+ ```bash
93
+ npx @mui/x-codemod@next v9.0.0/data-grid/remove-stabilized-experimentalFeatures <path|folder>
94
+ ```
95
+
96
+ ```diff
97
+ <DataGridPremium
98
+ - experimentalFeatures={{ charts: true }}
99
+ chartsIntegration
100
+ />
101
+ ```
82
102
 
83
103
  ### Charts codemods
84
104
 
@@ -103,6 +123,9 @@ The list includes these transformers
103
123
  - [`rename-chart-data-provider`](#rename-chart-data-provider)
104
124
  - [`rename-chart-zoom-slider`](#rename-chart-zoom-slider)
105
125
  - [`remove-enable-keyboard-navigation`](#remove-enable-keyboard-navigation)
126
+ - [`remove-stabilized-experimentalFeatures`](#remove-stabilized-experimentalfeatures)
127
+ - [`remove-deprecated-series-types`](#remove-deprecated-series-types)
128
+ - [`remove-is-bar-series-helpers`](#remove-is-bar-series-helpers)
106
129
 
107
130
  #### `replace-heatmap-hide-legend-false`
108
131
 
@@ -240,6 +263,230 @@ Removes the `enableKeyboardNavigation` props set to `true` since it's now the de
240
263
  />
241
264
  ```
242
265
 
266
+ #### `remove-stabilized-experimentalFeatures`
267
+
268
+ Removes the `preferStrictDomainInLineCharts` property from the `experimentalFeatures` prop since it's now the default behavior.
269
+ If `preferStrictDomainInLineCharts` is the only property in the object, the entire `experimentalFeatures` prop is removed.
270
+
271
+ ```diff
272
+ <LineChart
273
+ - experimentalFeatures={{ preferStrictDomainInLineCharts: true }}
274
+ series={[]}
275
+ />
276
+ ```
277
+
278
+ #### `remove-deprecated-series-types`
279
+
280
+ Replaces deprecated series type aliases (`CartesianSeriesType`, `DefaultizedCartesianSeriesType`, `StackableSeriesType`) with their new equivalents using generic types.
281
+
282
+ ```diff
283
+ -import { CartesianSeriesType, DefaultizedCartesianSeriesType, StackableSeriesType } from '@mui/x-charts';
284
+ +import { AllSeriesType, DefaultizedSeriesType, CartesianChartSeriesType, StackableChartSeriesType } from '@mui/x-charts';
285
+
286
+ -function processCartesian(series: CartesianSeriesType) {}
287
+ +function processCartesian(series: AllSeriesType<CartesianChartSeriesType>) {}
288
+
289
+ -function processDefaultizedCartesian(series: DefaultizedCartesianSeriesType) {}
290
+ +function processDefaultizedCartesian(series: DefaultizedSeriesType<CartesianChartSeriesType>) {}
291
+
292
+ -function processStackable(series: StackableSeriesType) {}
293
+ +function processStackable(series: DefaultizedSeriesType<StackableChartSeriesType>) {}
294
+ ```
295
+
296
+ #### `remove-is-bar-series-helpers`
297
+
298
+ Replaces the deprecated `isBarSeries()` and `isDefaultizedBarSeries()` helper functions with direct `series.type === 'bar'` checks and removes the corresponding imports.
299
+
300
+ ```diff
301
+ -import { isBarSeries, isDefaultizedBarSeries } from '@mui/x-charts';
302
+ -
303
+ -if (isBarSeries(series)) {
304
+ +if (series.type === 'bar') {
305
+ console.log('bar series');
306
+ }
307
+
308
+ -if (isDefaultizedBarSeries(series)) {
309
+ +if (series.type === 'bar') {
310
+ console.log('defaultized bar series');
311
+ }
312
+ ```
313
+
314
+ ### Pickers codemods
315
+
316
+ #### 🚀 `preset-safe` for Pickers v9.0.0 <a id="preset-safe-for-pickers-v900"></a>
317
+
318
+ The `preset-safe` codemods for Pickers.
319
+
320
+ <!-- #npm-tag-reference -->
321
+
322
+ ```bash
323
+ npx @mui/x-codemod@next v9.0.0/pickers/preset-safe <path|folder>
324
+ ```
325
+
326
+ The list includes these transformers
327
+
328
+ - [`rename-field-ref`](#rename-field-ref)
329
+ - [`remove-enable-accessible-field-dom-structure`](#remove-enable-accessible-field-dom-structure)
330
+ - [`remove-picker-day-2`](#remove-picker-day-2)
331
+ - [`rename-picker-day-2`](#rename-picker-day-2)
332
+ - [`rename-pickers-day`](#rename-pickers-day)
333
+ - [`rename-picker-classes`](#rename-picker-classes)
334
+ - [`remove-disable-margin`](#remove-disable-margin)
335
+
336
+ #### `rename-field-ref`
337
+
338
+ Renames the `unstableFieldRef` prop to `fieldRef` on all Picker and Field components.
339
+
340
+ ```diff
341
+ -<DateField unstableFieldRef={fieldRef} />
342
+ +<DateField fieldRef={fieldRef} />
343
+
344
+ -<DateRangePicker unstableStartFieldRef={startRef} unstableEndFieldRef={endRef} />
345
+ +<DateRangePicker startFieldRef={startRef} endFieldRef={endRef} />
346
+
347
+ -<DatePicker slotProps={{ field: { unstableFieldRef: fieldRef } }} />
348
+ +<DatePicker slotProps={{ field: { fieldRef: fieldRef } }} />
349
+ ```
350
+
351
+ <!-- #npm-tag-reference -->
352
+
353
+ ```bash
354
+ npx @mui/x-codemod@next v9.0.0/pickers/rename-field-ref <path|folder>
355
+ ```
356
+
357
+ #### `remove-enable-accessible-field-dom-structure`
358
+
359
+ Removes the `enableAccessibleFieldDOMStructure` prop from all Picker and Field components.
360
+ The accessible DOM structure is now the only supported option and this prop has no effect.
361
+
362
+ ```diff
363
+ -<DateField enableAccessibleFieldDOMStructure={false} />
364
+ +<DateField />
365
+
366
+ -<DatePicker enableAccessibleFieldDOMStructure={false} slots={{ textField: MyCustomTextField }} />
367
+ +<DatePicker slots={{ textField: MyCustomTextField }} />
368
+
369
+ -<DatePicker slotProps={{ field: { enableAccessibleFieldDOMStructure: false } }} />
370
+ +<DatePicker />
371
+ ```
372
+
373
+ <!-- #npm-tag-reference -->
374
+
375
+ ```bash
376
+ npx @mui/x-codemod@next v9.0.0/pickers/remove-enable-accessible-field-dom-structure <path|folder>
377
+ ```
378
+
379
+ #### `remove-picker-day-2`
380
+
381
+ Removes the unnecessary `slots={{ day: PickerDay2 }}` and `slots={{ day: DateRangePickerDay2 }}` usages, since `PickerDay2` and `DateRangePickerDay2` are the new defaults.
382
+ Also handles objects passed through variables (for example `const slots = { day: PickerDay2 }`).
383
+
384
+ ```diff
385
+ -<DatePicker slots={{ day: PickerDay2 }} />
386
+ +<DatePicker />
387
+
388
+ -<DateRangePicker slots={{ day: DateRangePickerDay2 }} />
389
+ +<DateRangePicker />
390
+ ```
391
+
392
+ <!-- #npm-tag-reference -->
393
+
394
+ ```bash
395
+ npx @mui/x-codemod@next v9.0.0/pickers/remove-picker-day-2 <path>
396
+ ```
397
+
398
+ #### `rename-picker-day-2`
399
+
400
+ Renames `PickerDay2` and `DateRangePickerDay2` components and their related types, classes, and theme component names to `PickerDay` and `DateRangePickerDay`.
401
+
402
+ ```diff
403
+ -import { PickerDay2, PickerDay2Props, pickerDay2Classes } from '@mui/x-date-pickers/PickerDay2';
404
+ +import { PickerDay, PickerDayProps, pickerDayClasses } from '@mui/x-date-pickers/PickerDay';
405
+
406
+ -import { DateRangePickerDay2 } from '@mui/x-date-pickers-pro/DateRangePickerDay2';
407
+ +import { DateRangePickerDay } from '@mui/x-date-pickers-pro/DateRangePickerDay';
408
+
409
+ const theme = createTheme({
410
+ components: {
411
+ - MuiPickerDay2: {
412
+ + MuiPickerDay: {
413
+ styleOverrides: { root: { color: 'red' } },
414
+ },
415
+ },
416
+ });
417
+ ```
418
+
419
+ <!-- #npm-tag-reference -->
420
+
421
+ ```bash
422
+ npx @mui/x-codemod@next v9.0.0/pickers/rename-picker-day-2 <path>
423
+ ```
424
+
425
+ #### `rename-pickers-day`
426
+
427
+ Renames `PickersDay` to `PickerDay` and all related types, classes, and theme component names.
428
+
429
+ ```diff
430
+ -import { PickersDay, PickersDayProps, pickersDayClasses } from '@mui/x-date-pickers/PickersDay';
431
+ +import { PickerDay, PickerDayProps, pickerDayClasses } from '@mui/x-date-pickers/PickerDay';
432
+
433
+ const theme = createTheme({
434
+ components: {
435
+ - MuiPickersDay: {
436
+ + MuiPickerDay: {
437
+ styleOverrides: { root: { color: 'red' } },
438
+ },
439
+ },
440
+ });
441
+ ```
442
+
443
+ <!-- #npm-tag-reference -->
444
+
445
+ ```bash
446
+ npx @mui/x-codemod@next v9.0.0/pickers/rename-pickers-day <path>
447
+ ```
448
+
449
+ #### `rename-picker-classes`
450
+
451
+ Renames `PickerDay` and `DateRangePickerDay` CSS class keys to their new equivalents.
452
+
453
+ ```diff
454
+ -'& .MuiPickerDay-outsideCurrentMonth'
455
+ +'& .MuiPickerDay-dayOutsideMonth'
456
+
457
+ -'& .MuiDateRangePickerDay-rangeIntervalDayHighlightStart'
458
+ +'& .MuiDateRangePickerDay-selectionStart'
459
+
460
+ -'& .MuiDateRangePickerDay-dayInsideRangeInterval'
461
+ +'& .MuiDateRangePickerDay-insideSelection'
462
+ ```
463
+
464
+ <!-- #npm-tag-reference -->
465
+
466
+ ```bash
467
+ npx @mui/x-codemod@next v9.0.0/pickers/rename-picker-classes <path>
468
+ ```
469
+
470
+ #### `remove-disable-margin`
471
+
472
+ Removes the `disableMargin` prop from `PickerDay` and `DateRangePickerDay` components and replaces it with the `--PickerDay-horizontalMargin` CSS variable via the `sx` prop.
473
+
474
+ ```diff
475
+ -<PickerDay disableMargin day={day} />
476
+ +<PickerDay day={day} sx={{ '--PickerDay-horizontalMargin': 0 }} />
477
+
478
+ -<DatePicker slotProps={{ day: { disableMargin: true } }} />
479
+ +<DatePicker slotProps={{ day: { sx: { '--PickerDay-horizontalMargin': 0 } } }} />
480
+ ```
481
+
482
+ When `disableMargin={false}`, the prop is simply removed without adding the CSS variable.
483
+
484
+ <!-- #npm-tag-reference -->
485
+
486
+ ```bash
487
+ npx @mui/x-codemod@next v9.0.0/pickers/remove-disable-margin <path>
488
+ ```
489
+
243
490
  ## v8.0.0
244
491
 
245
492
  ### 🚀 `preset-safe` for v8.0.0
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@mui/x-codemod",
3
- "version": "9.0.0-alpha.3",
3
+ "version": "9.0.0-rc.0",
4
4
  "author": "MUI Team",
5
5
  "description": "Codemod scripts for MUI X.",
6
+ "license": "MIT",
6
7
  "keywords": [
7
8
  "react",
8
9
  "react-component",
@@ -16,7 +17,6 @@
16
17
  "url": "git+https://github.com/mui/mui-x.git",
17
18
  "directory": "packages/x-codemod"
18
19
  },
19
- "license": "MIT",
20
20
  "homepage": "https://github.com/mui/mui-x/tree/master/packages/x-codemod",
21
21
  "funding": {
22
22
  "type": "opencollective",
@@ -28,7 +28,7 @@
28
28
  "@babel/traverse": "^7.29.0",
29
29
  "jscodeshift": "17.3.0",
30
30
  "yargs": "^18.0.0",
31
- "@mui/x-internals": "9.0.0-alpha.2"
31
+ "@mui/x-internals": "9.0.0-rc.0"
32
32
  },
33
33
  "sideEffects": false,
34
34
  "publishConfig": {