@mui/x-codemod 9.0.0-alpha.4 → 9.0.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 +374 -2
- package/README.md +211 -4
- package/package.json +3 -3
- package/util/addComponentsSlots.js +21 -4
- package/util/renameClasses.js +7 -0
- package/v9.0.0/pickers/migrate-text-field-props/index.js +192 -0
- package/v9.0.0/pickers/preset-safe/index.js +18 -2
- package/v9.0.0/pickers/remove-disable-margin/index.js +134 -0
- package/v9.0.0/pickers/remove-enable-accessible-field-dom-structure/index.js +72 -0
- package/v9.0.0/pickers/remove-picker-day-2/index.js +155 -0
- package/v9.0.0/pickers/rename-picker-classes/index.js +126 -0
- package/v9.0.0/pickers/rename-picker-day-2/index.js +105 -0
- package/v9.0.0/pickers/rename-pickers-day/index.js +90 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,377 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v9.0.0-rc.0..master -->
|
|
6
|
+
|
|
7
|
+
_Apr 8, 2026_
|
|
8
|
+
|
|
9
|
+
🥳 We're excited to announce the stable release of MUI X v9!
|
|
10
|
+
This major release includes many new features and improvements. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- Data Grid – [Charts integration](https://mui.com/x/react-data-grid/charts-integration/) [Premium]
|
|
13
|
+
- Data Grid – [AI Assistant](https://mui.com/x/react-data-grid/ai-assistant/) [Premium]
|
|
14
|
+
- Data Grid – [Undo and redo](https://mui.com/x/react-data-grid/undo-redo/) [Premium]
|
|
15
|
+
- Data Grid – [Drag fill](https://mui.com/x/react-data-grid/clipboard/#drag-to-fill) [Premium]
|
|
16
|
+
- Data Grid – [longText column type](https://mui.com/x/react-data-grid/column-definition/#column-types)
|
|
17
|
+
- Charts – [Interaction and accessibility](https://mui.com/x/react-charts/accessibility/)
|
|
18
|
+
- Charts – [Candlestick](https://mui.com/x/react-charts/candlestick/) [Premium]
|
|
19
|
+
- Charts – [Range bar charts](https://mui.com/x/react-charts/range-bar/) [Premium]
|
|
20
|
+
- Charts – [WebGL Heatmap renderer](https://mui.com/x/react-charts/heatmap/#webgl-renderer) [Premium]
|
|
21
|
+
- Tree View – [Virtualization](https://mui.com/x/react-tree-view/rich-tree-view/virtualization/) [Pro]
|
|
22
|
+
- New [Scheduler](https://mui.com/x/react-scheduler/) packages [Alpha]
|
|
23
|
+
|
|
24
|
+
We'd like to extend a big thank you to the 5 contributors who made this release possible.
|
|
25
|
+
The following team members contributed to this release:
|
|
26
|
+
@DanailH, @LukasTy, @MBilalShafi, @oliviertassinari, @siriwatknp
|
|
27
|
+
|
|
28
|
+
### Data Grid
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid@9.0.0`
|
|
31
|
+
|
|
32
|
+
Internal changes.
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-pro@9.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid@9.0.0`, plus:
|
|
37
|
+
|
|
38
|
+
- [DataGridPro] Preserve parent selection for non-selectable children (#21132) @MBilalShafi
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-premium@9.0.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0`, plus:
|
|
43
|
+
|
|
44
|
+
- [DataGridPremium] Drag fill (#21717) @MBilalShafi
|
|
45
|
+
|
|
46
|
+
### Date and Time Pickers
|
|
47
|
+
|
|
48
|
+
#### Breaking changes
|
|
49
|
+
|
|
50
|
+
- Removed the legacy Pickers and Field TextField props (for example: `InputProps`) in favor of the nested `slotProps`. [Read more](https://mui.com/x/migration/migration-pickers-v8/#drop-deprecated-pickerstextfield-props)
|
|
51
|
+
- The `utils` field in `PickersAdapterContextValue` has been removed in favor of the `adapter` field.
|
|
52
|
+
This should no longer affect you, as the context export has also been removed.
|
|
53
|
+
- `MuiPickersAdapterContext` export has been removed.
|
|
54
|
+
Prefer using the `usePickerAdapter` hook. [Read more](https://mui.com/x/migration/migration-pickers-v8/#localizationprovider-breaking-changes).
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-date-pickers@9.0.0`
|
|
57
|
+
|
|
58
|
+
- [pickers] Refactor `PickersTextField` to use `slotProps` approach (#22002) @LukasTy
|
|
59
|
+
- [pickers] Remove deprecated LocalizationProvider legacy API (#22010) @LukasTy
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-date-pickers-pro@9.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-date-pickers@9.0.0`.
|
|
64
|
+
|
|
65
|
+
### Charts
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts@9.0.0`
|
|
68
|
+
|
|
69
|
+
Internal changes.
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-charts-pro@9.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-charts@9.0.0`.
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-charts-premium@9.0.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
76
|
+
|
|
77
|
+
Same changes as in `@mui/x-charts-pro@9.0.0`.
|
|
78
|
+
|
|
79
|
+
### Tree View
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-tree-view@9.0.0`
|
|
82
|
+
|
|
83
|
+
Internal changes.
|
|
84
|
+
|
|
85
|
+
#### `@mui/x-tree-view-pro@9.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
86
|
+
|
|
87
|
+
Same changes as in `@mui/x-tree-view@9.0.0`.
|
|
88
|
+
|
|
89
|
+
### Scheduler
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-scheduler@9.0.0-alpha.0`
|
|
92
|
+
|
|
93
|
+
Internal changes.
|
|
94
|
+
|
|
95
|
+
#### `@mui/x-scheduler-premium@9.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
96
|
+
|
|
97
|
+
Same changes as in `@mui/x-scheduler-pro@9.0.0-alpha.0`.
|
|
98
|
+
|
|
99
|
+
### Codemod
|
|
100
|
+
|
|
101
|
+
#### `@mui/x-codemod@9.0.0`
|
|
102
|
+
|
|
103
|
+
Internal changes.
|
|
104
|
+
|
|
105
|
+
### Docs
|
|
106
|
+
|
|
107
|
+
- [docs] Add explanation for v8 -> v9 license migration (#22004) @DanailH
|
|
108
|
+
|
|
109
|
+
### Core
|
|
110
|
+
|
|
111
|
+
- [code-infra] Optimize dependency definition (#22006) @LukasTy
|
|
112
|
+
- [internal] Prepare v9 stable (#22018) @siriwatknp
|
|
113
|
+
- [internal] Remove 'conf' from codebase (#21989) @oliviertassinari
|
|
114
|
+
|
|
115
|
+
## 9.0.0-rc.0
|
|
116
|
+
|
|
117
|
+
<!-- generated comparing v9.0.0-beta.0..master -->
|
|
118
|
+
|
|
119
|
+
_Apr 7, 2026_
|
|
120
|
+
|
|
121
|
+
We'd like to extend a big thank you to the 18 contributors who made this release possible.
|
|
122
|
+
|
|
123
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
124
|
+
@mixelburg, @sibananda485, @youjin-hong
|
|
125
|
+
|
|
126
|
+
The following team members contributed to this release:
|
|
127
|
+
@aemartos, @alexfauquette, @arminmeh, @brijeshb42, @flaviendelangle, @JCQuintas, @LukasTy, @mapache-salvaje, @MBilalShafi, @michelengelen, @noraleonte, @rita-codes, @romgrk, @siriwatknp, @ZeeshanTamboli
|
|
128
|
+
|
|
129
|
+
### Data Grid
|
|
130
|
+
|
|
131
|
+
#### `@mui/x-data-grid@9.0.0-rc.0`
|
|
132
|
+
|
|
133
|
+
- [DataGrid] Rename filter panel `Columns` label to singular `Column` (#21935) @youjin-hong
|
|
134
|
+
- [DataGrid] Export `GridColumnUnsortedIconProps` for custom column icon slots (#21658) @mixelburg
|
|
135
|
+
- [DataGrid] Remove `x-virtualizer`'s `virtualScroller` from public API (#21936) @romgrk
|
|
136
|
+
- [DataGrid][virtualizer] Scrolling without render gaps (#21616) @romgrk
|
|
137
|
+
|
|
138
|
+
#### `@mui/x-data-grid-pro@9.0.0-rc.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
139
|
+
|
|
140
|
+
Same changes as in `@mui/x-data-grid@9.0.0-rc.0`, plus:
|
|
141
|
+
|
|
142
|
+
- [DataGridPro] Improve trigger for nested row reordering (#21642) @MBilalShafi
|
|
143
|
+
- [DataGridPro] Undeprecate `onRowsScrollEnd` prop (#21912) @MBilalShafi
|
|
144
|
+
|
|
145
|
+
#### `@mui/x-data-grid-premium@9.0.0-rc.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
146
|
+
|
|
147
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-rc.0`, plus:
|
|
148
|
+
|
|
149
|
+
- [DataGridPremium] Fix clipboard paste issue in portal (#21931) @sibananda485
|
|
150
|
+
|
|
151
|
+
### Date and Time Pickers
|
|
152
|
+
|
|
153
|
+
#### Breaking changes
|
|
154
|
+
|
|
155
|
+
- Accessible DOM structure is now the only default. [Read more](https://mui.com/x/migration/migration-pickers-v8/#accessible-dom-structure-is-now-the-default)
|
|
156
|
+
- The `PickerDay2` and `DateRangePickerDay2` components were propagated to stable while removing the previous defaults. [Read more](https://mui.com/x/migration/migration-pickers-v8/#day-slot)
|
|
157
|
+
|
|
158
|
+
#### `@mui/x-date-pickers@9.0.0-rc.0`
|
|
159
|
+
|
|
160
|
+
- [pickers] Remove `PickersDay` and `DateRangePickerDay` and promote their `2` versions as replacements (#21739) @michelengelen
|
|
161
|
+
|
|
162
|
+
#### `@mui/x-date-pickers-pro@9.0.0-rc.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
163
|
+
|
|
164
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-rc.0`.
|
|
165
|
+
|
|
166
|
+
### Charts
|
|
167
|
+
|
|
168
|
+
#### `@mui/x-charts@9.0.0-rc.0.0`
|
|
169
|
+
|
|
170
|
+
- [charts] Make line visibility toggle start from the baseline (#21893) @alexfauquette
|
|
171
|
+
- [charts] Remove the container overflow (#21955) @alexfauquette
|
|
172
|
+
- [charts] Revert `theme.alpha` for non-channel token (#21965) @siriwatknp
|
|
173
|
+
|
|
174
|
+
#### `@mui/x-charts-pro@9.0.0-rc.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
175
|
+
|
|
176
|
+
Same changes as in `@mui/x-charts@9.0.0-rc.0.0`, plus:
|
|
177
|
+
|
|
178
|
+
- [charts-pro] Zoom slider touch improvements (#21832) @JCQuintas
|
|
179
|
+
- [charts-pro] Add `seriesIds` filter to zoom slider preview (#21933) @JCQuintas
|
|
180
|
+
- [charts-pro] Fix zoom slider preview with discard filter mode (#21883) @JCQuintas
|
|
181
|
+
|
|
182
|
+
#### `@mui/x-charts-premium@9.0.0-rc.0.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
183
|
+
|
|
184
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-rc.0.0`, plus:
|
|
185
|
+
|
|
186
|
+
- [charts-premium] Add series `valueFormatter` to candlestick chart (#21905) @JCQuintas
|
|
187
|
+
- [charts-premium] Add zoom slider preview support for candlestick charts (#21914) @JCQuintas
|
|
188
|
+
- [charts-premium] Allow color customization in `Candlestick` chart (#21838) @JCQuintas
|
|
189
|
+
- [charts-premium] Support hide/show for OHLC (candlestick) series (#21807) @Copilot
|
|
190
|
+
- [charts-premium] Add `dataset` support to `Candlestick` chart (#21872) @JCQuintas
|
|
191
|
+
- [charts-premium] Add candlestick page to sidebar navigation (#21834) @JCQuintas
|
|
192
|
+
|
|
193
|
+
### Tree View
|
|
194
|
+
|
|
195
|
+
#### `@mui/x-tree-view@9.0.0-rc.0`
|
|
196
|
+
|
|
197
|
+
Internal changes.
|
|
198
|
+
|
|
199
|
+
#### `@mui/x-tree-view-pro@9.0.0-rc.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
200
|
+
|
|
201
|
+
Same changes as in `@mui/x-tree-view@9.0.0-rc.0`, plus:
|
|
202
|
+
|
|
203
|
+
- [RichTreeViewPro] Allow to auto-expand lazy loaded items (#21759) @flaviendelangle
|
|
204
|
+
|
|
205
|
+
### Scheduler
|
|
206
|
+
|
|
207
|
+
#### `@mui/x-scheduler@9.0.0-alpha.0`
|
|
208
|
+
|
|
209
|
+
- [scheduler] Add locale files, adapt l10n scripts, and add localization table to docs (#21870) @rita-codes
|
|
210
|
+
- [scheduler] Add planned features to the docs (#21705) @rita-codes
|
|
211
|
+
- [scheduler] Add scheduler to docs introduction (#21845) @rita-codes
|
|
212
|
+
- [scheduler] Add wide docs to scheduler (#21860) @noraleonte
|
|
213
|
+
- [scheduler] All day event bugfixes (#21884) @noraleonte
|
|
214
|
+
- [scheduler] Autofocus title field (#21947) @noraleonte
|
|
215
|
+
- [scheduler] Change default event creation trigger to single click (#21979) @rita-codes
|
|
216
|
+
- [scheduler] Change order of the views on the view selector (#21904) @rita-codes
|
|
217
|
+
- [scheduler] Disabled border color for the repeat day picker in dark mode (#21987) @rita-codes
|
|
218
|
+
- [scheduler] Drop unused dependency (#21956) @flaviendelangle
|
|
219
|
+
- [scheduler] Fix all-day event shifting to previous day in negative UTC offsets (#21994) @rita-codes
|
|
220
|
+
- [scheduler] Fix dark theme localization demos (#21992) @noraleonte
|
|
221
|
+
- [scheduler] Fix licensing confusion in docs (#21939) @rita-codes
|
|
222
|
+
- [scheduler] Fix preferences menu width shift when toggling options + Improve preferences menu accessibility (#21902) @rita-codes
|
|
223
|
+
- [scheduler] Prepare for the alpha launch (#21859) @rita-codes
|
|
224
|
+
- [scheduler] Sync Base UI internals and apply good practices (#21946) @flaviendelangle
|
|
225
|
+
- [scheduler] Update close modal aria label translation (#21940) @rita-codes
|
|
226
|
+
- [scheduler] Add Spanish (es-ES) locale (#21900) @rita-codes
|
|
227
|
+
- [scheduler] Improve French (fr-FR) locale (#21941) @rita-codes
|
|
228
|
+
- [scheduler] Improve Romanian (ro-RO) locale (#21942) @rita-codes
|
|
229
|
+
|
|
230
|
+
#### `@mui/x-scheduler-premium@9.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
231
|
+
|
|
232
|
+
Same changes as in `@mui/x-scheduler@9.0.0-alpha.0`.
|
|
233
|
+
|
|
234
|
+
### Codemod
|
|
235
|
+
|
|
236
|
+
#### `@mui/x-codemod@9.0.0-rc.0`
|
|
237
|
+
|
|
238
|
+
Internal changes.
|
|
239
|
+
|
|
240
|
+
### Docs
|
|
241
|
+
|
|
242
|
+
- [docs] Fix JSDOM → jsdom casing (#21907) @JCQuintas
|
|
243
|
+
- [docs] Remove Joy UI references and dependency (#21937) @siriwatknp
|
|
244
|
+
- [docs] Remove none generated files (#21886) @alexfauquette
|
|
245
|
+
- [docs] Remove unused interactive demo code (#21945) @LukasTy
|
|
246
|
+
- [docs] Revise the Funnel doc (#21677) @mapache-salvaje
|
|
247
|
+
- [docs] Revise the Line chart docs (#21554) @mapache-salvaje
|
|
248
|
+
- [docs] Revise the Radar doc (#21674) @mapache-salvaje
|
|
249
|
+
- [docs] Revise the Sankey doc (#21678) @mapache-salvaje
|
|
250
|
+
- [docs] Revise the Scatter chart docs (#21564) @mapache-salvaje
|
|
251
|
+
|
|
252
|
+
### Core
|
|
253
|
+
|
|
254
|
+
- [docs-infra] Update to the latest monorepo (#21971) @brijeshb42
|
|
255
|
+
- [internal] Remove checks for `materialVersion >= 6` (#21975) @LukasTy
|
|
256
|
+
|
|
257
|
+
### Miscellaneous
|
|
258
|
+
|
|
259
|
+
- [core] Bump @mui/material to v9.0.0-beta.1 (#21858) @siriwatknp
|
|
260
|
+
- [core] Update browserslistrc (#21974) @siriwatknp
|
|
261
|
+
- [deps] Bump minimum core packages to 7.3.0 to adopt theme color manipulator (#21892) @siriwatknp
|
|
262
|
+
- [telemetry] Prefer upstream remote over origin for `projectId` (#21882) @aemartos
|
|
263
|
+
- [telemetry] Send `repoHash`, `[x]packageNameHash`, and `rootPathHash` alongside `projectId` (#21896) @aemartos
|
|
264
|
+
- [test] Exclude flaky `DataGrid` argos test (#21977) @MBilalShafi
|
|
265
|
+
- [test] Fix flaky `DataGrid` test (#22000) @arminmeh
|
|
266
|
+
- [test] Remove `componentsProp` test from `describeConformance` (#21897) @ZeeshanTamboli
|
|
267
|
+
- [x-license] Change `orderId` type from `number` to `string` (#21885) @aemartos
|
|
268
|
+
|
|
269
|
+
## 9.0.0-beta.0
|
|
270
|
+
|
|
271
|
+
<!-- generated comparing v9.0.0-alpha.4..master -->
|
|
272
|
+
|
|
273
|
+
_Mar 27, 2026_
|
|
274
|
+
|
|
275
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
276
|
+
|
|
277
|
+
- 🔊 New Charts voiceover component for improved screen reader support
|
|
278
|
+
- ⌨️ Charts keyboard navigation improvements: axis tooltip now shows when navigating with the keyboard
|
|
279
|
+
- 📊 Charts axes now can be set to automatically resize to fit their content
|
|
280
|
+
- 📝 New `rowCheckbox` slot in Data Grid for easier checkbox column customization
|
|
281
|
+
- ⚡️ `fetchRows()` API in Data Grid Pro now defaults `start` and `end` based on scroll position with lazy loading
|
|
282
|
+
- 🐞 Bugfixes and internal improvements
|
|
283
|
+
|
|
284
|
+
The following team members contributed to this release:
|
|
285
|
+
@aemartos, @alexfauquette, @arminmeh, @cherniavskii, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes
|
|
286
|
+
|
|
287
|
+
### Data Grid
|
|
288
|
+
|
|
289
|
+
#### `@mui/x-data-grid@9.0.0-beta.0`
|
|
290
|
+
|
|
291
|
+
- [DataGrid] Add `rowCheckbox` slot for easier customization (#21797) @michelengelen
|
|
292
|
+
- [DataGrid] Prevent repeated `hasScrollbar` state updates (#21820) @arminmeh
|
|
293
|
+
|
|
294
|
+
#### `@mui/x-data-grid-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
295
|
+
|
|
296
|
+
Same changes as in `@mui/x-data-grid@9.0.0-beta.0`, plus:
|
|
297
|
+
|
|
298
|
+
- [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21742) @arminmeh
|
|
299
|
+
|
|
300
|
+
#### `@mui/x-data-grid-premium@9.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
301
|
+
|
|
302
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-beta.0`.
|
|
303
|
+
|
|
304
|
+
### Date and Time Pickers
|
|
305
|
+
|
|
306
|
+
#### `@mui/x-date-pickers@9.0.0-beta.0`
|
|
307
|
+
|
|
308
|
+
Internal changes.
|
|
309
|
+
|
|
310
|
+
#### `@mui/x-date-pickers-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
311
|
+
|
|
312
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-beta.0`.
|
|
313
|
+
|
|
314
|
+
### Charts
|
|
315
|
+
|
|
316
|
+
#### `@mui/x-charts@9.0.0-beta.0`
|
|
317
|
+
|
|
318
|
+
- [charts] Add `className` prop to Pro chart plot components (#21793) @JCQuintas
|
|
319
|
+
- [charts] Add experimental position-based pointer interaction for line series (#21809) @JCQuintas
|
|
320
|
+
- [charts] Add l10n to the bar accessibility (#21815) @alexfauquette
|
|
321
|
+
- [charts] Add localization for the basic charts (#21822) @alexfauquette
|
|
322
|
+
- [charts] Add voiceover component (#21344) @alexfauquette
|
|
323
|
+
- [charts] Allow axes to automatically resize to content (#21087) @JCQuintas
|
|
324
|
+
- [charts] Document multiple use-cases for references (#21768) @alexfauquette
|
|
325
|
+
- [charts] Remove compatibility layer for React vs native events (#21780) @JCQuintas
|
|
326
|
+
- [charts] Remove deprecated `barLabel` props (#21783) @alexfauquette
|
|
327
|
+
- [charts] Show axis tooltip when navigating with keyboard (#21689) @Copilot
|
|
328
|
+
|
|
329
|
+
#### `@mui/x-charts-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
330
|
+
|
|
331
|
+
Same changes as in `@mui/x-charts@9.0.0-beta.0`.
|
|
332
|
+
|
|
333
|
+
#### `@mui/x-charts-premium@9.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
334
|
+
|
|
335
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-beta.0`.
|
|
336
|
+
|
|
337
|
+
### Tree View
|
|
338
|
+
|
|
339
|
+
#### `@mui/x-tree-view@9.0.0-alpha.4`
|
|
340
|
+
|
|
341
|
+
Internal changes.
|
|
342
|
+
|
|
343
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
344
|
+
|
|
345
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
|
|
346
|
+
|
|
347
|
+
### Codemod
|
|
348
|
+
|
|
349
|
+
#### `@mui/x-codemod@9.0.0-alpha.4`
|
|
350
|
+
|
|
351
|
+
Internal changes.
|
|
352
|
+
|
|
353
|
+
### Docs
|
|
354
|
+
|
|
355
|
+
- [docs] Document how to customize voiceover announcement (#21833) @alexfauquette
|
|
356
|
+
- [docs] Remove Discord mention from docs (#21855) @mapache-salvaje
|
|
357
|
+
- [docs] Remove stabilized experimental feature from demo (#21869) @JCQuintas
|
|
358
|
+
- [docs] Update telemetry guide to reflect pseudonymous data collection and license compliance (#21812) @aemartos
|
|
359
|
+
- [docs] Revise the Sparkline doc (#21614) @mapache-salvaje
|
|
360
|
+
- [docs] Revise the Gauge doc (#21673) @mapache-salvaje
|
|
361
|
+
- [docs] Revise the Heatmap doc (#21676) @mapache-salvaje
|
|
362
|
+
|
|
363
|
+
### Core
|
|
364
|
+
|
|
365
|
+
- [code-infra] Remove unused deps and unify es-toolkit via catalog (#21840) @Janpot
|
|
366
|
+
- [code-infra] Update @mui/internal-bundle-size-checker to canary.68 (#21836) @Janpot
|
|
367
|
+
- [code-infra] Update next (#21837) @Janpot
|
|
368
|
+
- [internal] Remove headless data grid packages (#21843) @cherniavskii
|
|
369
|
+
|
|
370
|
+
### Miscellaneous
|
|
371
|
+
|
|
372
|
+
- Add @romgrk to CODEOWNERS for `x-virtualizer` and `x-internals` (#21819) @Copilot
|
|
373
|
+
- [x-license] add 2022 plan version (#21814) @aemartos
|
|
374
|
+
|
|
3
375
|
## 9.0.0-alpha.4
|
|
4
376
|
|
|
5
377
|
_Mar 19, 2026_
|
|
@@ -59,7 +431,7 @@ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
|
|
|
59
431
|
- [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
|
|
60
432
|
- [charts] Remove deprecated classes (#21775) @alexfauquette
|
|
61
433
|
- [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
|
|
62
|
-
- [charts] Remove get
|
|
434
|
+
- [charts] Remove get\*UtilityClass from public exports (#21769) @JCQuintas
|
|
63
435
|
- [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
|
|
64
436
|
- [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
|
|
65
437
|
- [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
|
|
@@ -207,7 +579,7 @@ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
|
|
|
207
579
|
- Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
|
|
208
580
|
- The `<RichTreeViewPro />` component has now virtualization enabled by default.
|
|
209
581
|
- The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
|
|
210
|
-
- The
|
|
582
|
+
- The items of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
|
|
211
583
|
|
|
212
584
|
#### `@mui/x-tree-view@9.0.0-alpha.3`
|
|
213
585
|
|
package/README.md
CHANGED
|
@@ -69,16 +69,16 @@ To run codemods for a specific package, refer to the respective section.
|
|
|
69
69
|
<!-- #npm-tag-reference -->
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
|
-
npx @mui/x-codemod@
|
|
72
|
+
npx @mui/x-codemod@latest v9.0.0/preset-safe <path|folder>
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
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
82
|
|
|
83
83
|
### Data Grid codemods
|
|
84
84
|
|
|
@@ -90,7 +90,7 @@ If `charts` is the only property, the entire `experimentalFeatures` prop is remo
|
|
|
90
90
|
<!-- #npm-tag-reference -->
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
npx @mui/x-codemod@
|
|
93
|
+
npx @mui/x-codemod@latest v9.0.0/data-grid/remove-stabilized-experimentalFeatures <path|folder>
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
```diff
|
|
@@ -109,7 +109,7 @@ The `preset-safe` codemods for Charts.
|
|
|
109
109
|
<!-- #npm-tag-reference -->
|
|
110
110
|
|
|
111
111
|
```bash
|
|
112
|
-
npx @mui/x-codemod@
|
|
112
|
+
npx @mui/x-codemod@latest v9.0.0/charts/preset-safe <path|folder>
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
The list includes these transformers
|
|
@@ -311,6 +311,213 @@ Replaces the deprecated `isBarSeries()` and `isDefaultizedBarSeries()` helper fu
|
|
|
311
311
|
}
|
|
312
312
|
```
|
|
313
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@latest 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
|
+
- [`migrate-text-field-props`](#migrate-text-field-props)
|
|
336
|
+
|
|
337
|
+
#### `rename-field-ref`
|
|
338
|
+
|
|
339
|
+
Renames the `unstableFieldRef` prop to `fieldRef` on all Picker and Field components.
|
|
340
|
+
|
|
341
|
+
```diff
|
|
342
|
+
-<DateField unstableFieldRef={fieldRef} />
|
|
343
|
+
+<DateField fieldRef={fieldRef} />
|
|
344
|
+
|
|
345
|
+
-<DateRangePicker unstableStartFieldRef={startRef} unstableEndFieldRef={endRef} />
|
|
346
|
+
+<DateRangePicker startFieldRef={startRef} endFieldRef={endRef} />
|
|
347
|
+
|
|
348
|
+
-<DatePicker slotProps={{ field: { unstableFieldRef: fieldRef } }} />
|
|
349
|
+
+<DatePicker slotProps={{ field: { fieldRef: fieldRef } }} />
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
<!-- #npm-tag-reference -->
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
npx @mui/x-codemod@latest v9.0.0/pickers/rename-field-ref <path|folder>
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
#### `remove-enable-accessible-field-dom-structure`
|
|
359
|
+
|
|
360
|
+
Removes the `enableAccessibleFieldDOMStructure` prop from all Picker and Field components.
|
|
361
|
+
The accessible DOM structure is now the only supported option and this prop has no effect.
|
|
362
|
+
|
|
363
|
+
```diff
|
|
364
|
+
-<DateField enableAccessibleFieldDOMStructure={false} />
|
|
365
|
+
+<DateField />
|
|
366
|
+
|
|
367
|
+
-<DatePicker enableAccessibleFieldDOMStructure={false} slots={{ textField: MyCustomTextField }} />
|
|
368
|
+
+<DatePicker slots={{ textField: MyCustomTextField }} />
|
|
369
|
+
|
|
370
|
+
-<DatePicker slotProps={{ field: { enableAccessibleFieldDOMStructure: false } }} />
|
|
371
|
+
+<DatePicker />
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
<!-- #npm-tag-reference -->
|
|
375
|
+
|
|
376
|
+
```bash
|
|
377
|
+
npx @mui/x-codemod@latest v9.0.0/pickers/remove-enable-accessible-field-dom-structure <path|folder>
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
#### `remove-picker-day-2`
|
|
381
|
+
|
|
382
|
+
Removes the unnecessary `slots={{ day: PickerDay2 }}` and `slots={{ day: DateRangePickerDay2 }}` usages, since `PickerDay2` and `DateRangePickerDay2` are the new defaults.
|
|
383
|
+
Also handles objects passed through variables (for example `const slots = { day: PickerDay2 }`).
|
|
384
|
+
|
|
385
|
+
```diff
|
|
386
|
+
-<DatePicker slots={{ day: PickerDay2 }} />
|
|
387
|
+
+<DatePicker />
|
|
388
|
+
|
|
389
|
+
-<DateRangePicker slots={{ day: DateRangePickerDay2 }} />
|
|
390
|
+
+<DateRangePicker />
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
<!-- #npm-tag-reference -->
|
|
394
|
+
|
|
395
|
+
```bash
|
|
396
|
+
npx @mui/x-codemod@latest v9.0.0/pickers/remove-picker-day-2 <path>
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
#### `rename-picker-day-2`
|
|
400
|
+
|
|
401
|
+
Renames `PickerDay2` and `DateRangePickerDay2` components and their related types, classes, and theme component names to `PickerDay` and `DateRangePickerDay`.
|
|
402
|
+
|
|
403
|
+
```diff
|
|
404
|
+
-import { PickerDay2, PickerDay2Props, pickerDay2Classes } from '@mui/x-date-pickers/PickerDay2';
|
|
405
|
+
+import { PickerDay, PickerDayProps, pickerDayClasses } from '@mui/x-date-pickers/PickerDay';
|
|
406
|
+
|
|
407
|
+
-import { DateRangePickerDay2 } from '@mui/x-date-pickers-pro/DateRangePickerDay2';
|
|
408
|
+
+import { DateRangePickerDay } from '@mui/x-date-pickers-pro/DateRangePickerDay';
|
|
409
|
+
|
|
410
|
+
const theme = createTheme({
|
|
411
|
+
components: {
|
|
412
|
+
- MuiPickerDay2: {
|
|
413
|
+
+ MuiPickerDay: {
|
|
414
|
+
styleOverrides: { root: { color: 'red' } },
|
|
415
|
+
},
|
|
416
|
+
},
|
|
417
|
+
});
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
<!-- #npm-tag-reference -->
|
|
421
|
+
|
|
422
|
+
```bash
|
|
423
|
+
npx @mui/x-codemod@latest v9.0.0/pickers/rename-picker-day-2 <path>
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
#### `rename-pickers-day`
|
|
427
|
+
|
|
428
|
+
Renames `PickersDay` to `PickerDay` and all related types, classes, and theme component names.
|
|
429
|
+
|
|
430
|
+
```diff
|
|
431
|
+
-import { PickersDay, PickersDayProps, pickersDayClasses } from '@mui/x-date-pickers/PickersDay';
|
|
432
|
+
+import { PickerDay, PickerDayProps, pickerDayClasses } from '@mui/x-date-pickers/PickerDay';
|
|
433
|
+
|
|
434
|
+
const theme = createTheme({
|
|
435
|
+
components: {
|
|
436
|
+
- MuiPickersDay: {
|
|
437
|
+
+ MuiPickerDay: {
|
|
438
|
+
styleOverrides: { root: { color: 'red' } },
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
});
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
<!-- #npm-tag-reference -->
|
|
445
|
+
|
|
446
|
+
```bash
|
|
447
|
+
npx @mui/x-codemod@latest v9.0.0/pickers/rename-pickers-day <path>
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
#### `rename-picker-classes`
|
|
451
|
+
|
|
452
|
+
Renames `PickerDay` and `DateRangePickerDay` CSS class keys to their new equivalents.
|
|
453
|
+
|
|
454
|
+
```diff
|
|
455
|
+
-'& .MuiPickerDay-outsideCurrentMonth'
|
|
456
|
+
+'& .MuiPickerDay-dayOutsideMonth'
|
|
457
|
+
|
|
458
|
+
-'& .MuiDateRangePickerDay-rangeIntervalDayHighlightStart'
|
|
459
|
+
+'& .MuiDateRangePickerDay-selectionStart'
|
|
460
|
+
|
|
461
|
+
-'& .MuiDateRangePickerDay-dayInsideRangeInterval'
|
|
462
|
+
+'& .MuiDateRangePickerDay-insideSelection'
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
<!-- #npm-tag-reference -->
|
|
466
|
+
|
|
467
|
+
```bash
|
|
468
|
+
npx @mui/x-codemod@latest v9.0.0/pickers/rename-picker-classes <path>
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
#### `remove-disable-margin`
|
|
472
|
+
|
|
473
|
+
Removes the `disableMargin` prop from `PickerDay` and `DateRangePickerDay` components and replaces it with the `--PickerDay-horizontalMargin` CSS variable via the `sx` prop.
|
|
474
|
+
|
|
475
|
+
```diff
|
|
476
|
+
-<PickerDay disableMargin day={day} />
|
|
477
|
+
+<PickerDay day={day} sx={{ '--PickerDay-horizontalMargin': 0 }} />
|
|
478
|
+
|
|
479
|
+
-<DatePicker slotProps={{ day: { disableMargin: true } }} />
|
|
480
|
+
+<DatePicker slotProps={{ day: { sx: { '--PickerDay-horizontalMargin': 0 } } }} />
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
When `disableMargin={false}`, the prop is simply removed without adding the CSS variable.
|
|
484
|
+
|
|
485
|
+
<!-- #npm-tag-reference -->
|
|
486
|
+
|
|
487
|
+
```bash
|
|
488
|
+
npx @mui/x-codemod@latest v9.0.0/pickers/remove-disable-margin <path>
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
#### `migrate-text-field-props`
|
|
492
|
+
|
|
493
|
+
Rewrites the legacy `InputProps`, `inputProps`, `InputLabelProps` and `FormHelperTextProps` props on Picker, Field and `PickersTextField` components into the new `slotProps.{input,htmlInput,inputLabel,formHelperText}` shape. On Picker and Field components the new keys are nested inside `slotProps.textField.slotProps`; on `PickersTextField` they live directly under `slotProps`.
|
|
494
|
+
|
|
495
|
+
```diff
|
|
496
|
+
-<DateField
|
|
497
|
+
- InputProps={{ name: 'birthday' }}
|
|
498
|
+
- inputProps={{ 'data-testid': 'html-input' }}
|
|
499
|
+
-/>
|
|
500
|
+
+<DateField
|
|
501
|
+
+ slotProps={{
|
|
502
|
+
+ textField: {
|
|
503
|
+
+ slotProps: {
|
|
504
|
+
+ input: { name: 'birthday' },
|
|
505
|
+
+ htmlInput: { 'data-testid': 'html-input' },
|
|
506
|
+
+ },
|
|
507
|
+
+ },
|
|
508
|
+
+ }}
|
|
509
|
+
+/>
|
|
510
|
+
|
|
511
|
+
-<DatePicker slotProps={{ textField: { InputProps: { name: 'date' } } }} />
|
|
512
|
+
+<DatePicker slotProps={{ textField: { slotProps: { input: { name: 'date' } } } }} />
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
<!-- #npm-tag-reference -->
|
|
516
|
+
|
|
517
|
+
```bash
|
|
518
|
+
npx @mui/x-codemod@next v9.0.0/pickers/migrate-text-field-props <path>
|
|
519
|
+
```
|
|
520
|
+
|
|
314
521
|
## v8.0.0
|
|
315
522
|
|
|
316
523
|
### 🚀 `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
|
|
3
|
+
"version": "9.0.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
|
|
31
|
+
"@mui/x-internals": "^9.0.0"
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"publishConfig": {
|