@mui/x-tree-view 8.0.0-alpha.1 → 8.0.0-alpha.4

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 (30) hide show
  1. package/CHANGELOG.md +604 -7
  2. package/README.md +1 -1
  3. package/RichTreeView/RichTreeView.types.d.ts +2 -2
  4. package/SimpleTreeView/SimpleTreeView.types.d.ts +2 -2
  5. package/TreeItem/TreeItem.types.d.ts +1 -1
  6. package/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.js +1 -1
  7. package/TreeItemIcon/TreeItemIcon.types.d.ts +1 -1
  8. package/TreeItemProvider/TreeItemProvider.d.ts +2 -4
  9. package/TreeItemProvider/TreeItemProvider.js +13 -11
  10. package/hooks/useTreeItemUtils/useTreeItemUtils.d.ts +4 -4
  11. package/hooks/useTreeViewApiRef.d.ts +1 -0
  12. package/index.js +1 -1
  13. package/internals/components/RichTreeViewItems.d.ts +1 -1
  14. package/internals/models/itemPlugin.d.ts +1 -1
  15. package/internals/models/plugin.d.ts +1 -1
  16. package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +30 -10
  17. package/internals/plugins/useTreeViewIcons/useTreeViewIcons.types.d.ts +1 -1
  18. package/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +252 -84
  19. package/internals/plugins/useTreeViewItems/useTreeViewItems.types.d.ts +26 -8
  20. package/internals/plugins/useTreeViewSelection/useTreeViewSelection.itemPlugin.js +13 -16
  21. package/internals/useTreeView/useTreeView.types.d.ts +1 -1
  22. package/modern/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.js +1 -1
  23. package/modern/TreeItemProvider/TreeItemProvider.js +13 -11
  24. package/modern/index.js +1 -1
  25. package/modern/internals/plugins/useTreeViewSelection/useTreeViewSelection.itemPlugin.js +13 -16
  26. package/node/TreeItemDragAndDropOverlay/TreeItemDragAndDropOverlay.js +2 -2
  27. package/node/TreeItemProvider/TreeItemProvider.js +13 -10
  28. package/node/index.js +1 -1
  29. package/node/internals/plugins/useTreeViewSelection/useTreeViewSelection.itemPlugin.js +13 -16
  30. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,362 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.0.0-alpha.4
9
+
10
+ _Dec 13, 2024_
11
+
12
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🌍 Improve Romanian locale on the Data Grid and Pickers
15
+ - 📚 Documentation improvements
16
+ - 🐞 Bugfixes
17
+
18
+ Special thanks go out to the community contributors who have helped make this release possible:
19
+ @k-rajat19, @nusr, @rares985, @zivl.
20
+ Following are all team members who have contributed to this release:
21
+ @alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi.
22
+
23
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
24
+
25
+ ### Data Grid
26
+
27
+ #### Breaking changes
28
+
29
+ - The selectors signature has been updated due to the support of arguments in the selectors. Pass `undefined` as `arguments` if the selector doesn't use any arguments.
30
+
31
+ ```diff
32
+ -mySelector(state, instanceId)
33
+ +mySelector(state, arguments, instanceId)
34
+ ```
35
+
36
+ - The `useGridSelector` signature has been updated due to the introduction of arguments parameter in the selectors. Pass `undefined` as `arguments` if the selector doesn't use any arguments.
37
+
38
+ ```diff
39
+ -const output = useGridSelector(apiRef, selector, equals)
40
+ +const output = useGridSelector(apiRef, selector, arguments, equals)
41
+ ```
42
+ - The default variant for text fields and selects in the filter panel has been changed to `outlined`.
43
+ - The "row spanning" feature is now stable.
44
+ ```diff
45
+ <DataGrid
46
+ - unstable_rowSpanning
47
+ + rowSpanning
48
+ />
49
+ ```
50
+ - Selected row is now deselected when clicked again.
51
+
52
+ #### `@mui/x-data-grid@8.0.0-alpha.4`
53
+
54
+ - [DataGrid] Deselect selected row on click (#15509) @k-rajat19
55
+ - [DataGrid] Fix "No rows" displaying when all rows are pinned (#15335) @nusr
56
+ - [DataGrid] Make row spanning feature stable (#15742) @MBilalShafi
57
+ - [DataGrid] Round dimensions to avoid subpixel rendering error (#15850) @KenanYusuf
58
+ - [DataGrid] Toggle menu on click in `<GridActionsCell />` (#15867) @k-rajat19
59
+ - [DataGrid] Trigger row spanning computation on rows update (#15858) @MBilalShafi
60
+ - [DataGrid] Update filter panel input variant (#15807) @KenanYusuf
61
+ - [DataGrid] Use `columnsManagement` slot (#15817) @k-rajat19
62
+ - [DataGrid] Use new selector signature (#15200) @MBilalShafi
63
+ - [l10n] Improve Romanian (ro-RO) locale (#15745) @rares985
64
+
65
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
66
+
67
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.4`, plus:
68
+
69
+ - [DataGridPro] Make row reordering work with pagination (#15355) @k-rajat19
70
+
71
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
72
+
73
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.4`, plus:
74
+
75
+ - [DataGridPremium] Fix group column ignoring `valueOptions` for `singleSelect` column type (#15739) @arminmeh
76
+
77
+ ### Date and Time Pickers
78
+
79
+ #### `@mui/x-date-pickers@8.0.0-alpha.4`
80
+
81
+ - [l10n] Improve Romanian (ro-RO) locale (#15745) @rares985
82
+ - [pickers] Clean `usePicker` logic (#15763) @flaviendelangle
83
+ - [pickers] Rename layout `ownerState` property from `isRtl` to `layoutDirection` (#15803) @flaviendelangle
84
+ - [pickers] Use the new `ownerState` in `useClearableField` (#15776) @flaviendelangle
85
+ - [pickers] Use the new `ownerState` in the toolbar components (#15777) @flaviendelangle
86
+ - [pickers] Use the new `ownerState` object for the clock components and the desktop / mobile wrappers (#15669) @flaviendelangle
87
+
88
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
89
+
90
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.4`.
91
+
92
+ ### Charts
93
+
94
+ #### Breaking changes
95
+
96
+ - The default styling of the charts tooltip has been updated.
97
+
98
+ #### `@mui/x-charts@8.0.0-alpha.4`
99
+
100
+ - [charts] Fix hydration missmatch (#15647) @alexfauquette
101
+ - [charts] Fix internal spelling typo (#15805) @zivl
102
+ - [charts] Fix scatter dataset with missing data (#15802) @alexfauquette
103
+ - [charts] HTML Labels (#15813) @JCQuintas
104
+ - [charts] Only access store values by using hooks (#15764) @alexfauquette
105
+ - [charts] Update Tooltip style (#15630) @alexfauquette
106
+
107
+ #### `@mui/x-charts-pro@8.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
108
+
109
+ Same changes as in `@mui/x-charts@8.0.0-alpha.4`.
110
+
111
+ ### Tree View
112
+
113
+ #### `@mui/x-tree-view@8.0.0-alpha.4`
114
+
115
+ No changes, releasing to keep the versions in sync.
116
+
117
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
118
+
119
+ Releasing to benefit from license package fix (#15814).
120
+
121
+ ### Docs
122
+
123
+ - [docs] Clean Joy and Browser custom field demos (#15707) @flaviendelangle
124
+ - [docs] Fix outdated link to handbook (#15855) @oliviertassinari
125
+ - [docs] Improve Pickers accessible DOM migration section description (#15596) @LukasTy
126
+ - [docs] Use `updateRows` method for list view demos (#15732) @KenanYusuf
127
+ - [docs] Use date library version from package dev dependencies for sandboxes (#15762) @LukasTy
128
+
129
+ ### Core
130
+
131
+ - [code-infra] Add Charts sandbox generation (#15830) @JCQuintas
132
+ - [code-infra] Remove redundant `@type/react-test-renderer` dep (#15766) @LukasTy
133
+ - [license] Use `console.log` for the error message on Codesandbox to avoid rendering error (#15814) @arminmeh
134
+
135
+ ## 8.0.0-alpha.3
136
+
137
+ _Dec 5, 2024_
138
+
139
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
140
+
141
+ - 💫 Support [Server-side lazy loading](https://mui.com/x/react-data-grid/server-side-data/lazy-loading/) on the Data Grid. Use [data source](https://mui.com/x/react-data-grid/server-side-data/#data-source) to fetch a range of rows on demand and update the rows in the same way as described in [Infinite loading](https://mui.com/x/react-data-grid/row-updates/#infinite-loading) and [Lazy loading](https://mui.com/x/react-data-grid/row-updates/#lazy-loading) without the need to use any additional event listeners and callbacks.
142
+ - 🎯 Improved [data caching](https://mui.com/x/react-data-grid/server-side-data/#data-caching). Check out our [recommendations](https://mui.com/x/react-data-grid/server-side-data/#improving-the-cache-hit-rate) for improving the cache hit rate.
143
+
144
+ Special thanks go out to the community contributors who have helped make this release possible:
145
+ @ihsanberkozcan, @k-rajat19, @perezShaked.
146
+ Following are all team members who have contributed to this release:
147
+ @arminmeh, @cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @noraleonte.
148
+
149
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
150
+
151
+ ### Data Grid
152
+
153
+ #### Breaking changes
154
+
155
+ - The "Select all" checkbox is now checked when all the selectable rows are selected, ignoring rows that are not selectable because of the `isRowSelectable` prop.
156
+ - The `rowPositionsDebounceMs` prop was removed.
157
+ - The `gridRowsDataRowIdToIdLookupSelector` selector was removed. Use the `gridRowsLookupSelector` selector in combination with the `getRowId()` API method instead.
158
+ ```diff
159
+ -const idToIdLookup = gridRowsDataRowIdToIdLookupSelector(apiRef);
160
+ -const rowId = idToIdLookup[id]
161
+ +const rowsLookup = gridRowsLookupSelector(apiRef);
162
+ +const rowId = apiRef.current.getRowId(rowsLookup[id])
163
+ ```
164
+ - The Grid is now more aligned with the WAI-ARIA authoring practices and sets the `role` attribute to `treegrid` if the Data Grid is used with row grouping feature.
165
+
166
+ #### `@mui/x-data-grid@8.0.0-alpha.3`
167
+
168
+ - [DataGrid] Fix deselection not working with `isRowSelectable` (#15692) @MBilalShafi
169
+ - [DataGrid] Make column autosizing work with flex columns (#15465) @cherniavskii
170
+ - [DataGrid] Remove `gridRowsDataRowIdToIdLookupSelector` selector (#15698) @arminmeh
171
+ - [DataGrid] Remove `rowPositionsDebounceMs` prop (#15482) @k-rajat19
172
+ - [l10n] Improve Hebrew (he-IL) locale (#15699) @perezShaked
173
+ - [l10n] Improve Turkish (tr-TR) locale (#15734) @ihsanberkozcan
174
+
175
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
176
+
177
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.3`, plus:
178
+
179
+ - [DataGridPro] Cleanup pinned rows on removal (#15697) @cherniavskii
180
+ - [DataGridPro] Server-side lazy loading (#13878) @arminmeh
181
+
182
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
183
+
184
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.3`, plus:
185
+
186
+ - [DataGridPremium] Remove the `ariaV8` experimental flag (#15694) @arminmeh
187
+
188
+ ### Date and Time Pickers
189
+
190
+ #### Breaking changes
191
+
192
+ - The `onOpen()` and `onClose()` methods of the `usePickerContext()` hook have been replaced with a single `setOpen` method — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#usepickercontext).
193
+
194
+ #### `@mui/x-date-pickers@8.0.0-alpha.3`
195
+
196
+ - [pickers] Replace the `onOpen()` and `onClose()` methods of `usePickerContext()` with a single `setOpen()` method. (#15701) @flaviendelangle
197
+
198
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.3` [![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@8.0.0-alpha.3`.
201
+
202
+ ### Charts
203
+
204
+ #### `@mui/x-charts@8.0.0-alpha.3`
205
+
206
+ - [charts] Improve SVG `pattern` and `gradient` support (#15720) @JCQuintas
207
+
208
+ #### `@mui/x-charts-pro@8.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
209
+
210
+ Same changes as in `@mui/x-charts@8.0.0-alpha.3`.
211
+
212
+ ### Tree View
213
+
214
+ #### `@mui/x-tree-view@8.0.0-alpha.3`
215
+
216
+ No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.2`.
217
+
218
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
219
+
220
+ Same changes as in `@mui/x-tree-view@8.0.0-alpha.3`.
221
+
222
+ ### Docs
223
+
224
+ - [docs] Add a customization demo for the Date and Time Pickers overview page (#15118) @noraleonte
225
+ - [docs] Fix typo in charts axis documentation (#15743) @JCQuintas
226
+ - [docs] Improve SEO titles for the Data Grid (#15695) @MBilalShafi
227
+
228
+ ### Core
229
+
230
+ - [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15316) @flaviendelangle
231
+ - [code-infra] Lock file maintenance (#11894)
232
+ - [code-infra] Check if `preset-safe` folder exists in codemod test (#15703) @JCQuintas
233
+ - [code-infra] Import Pickers `preset-safe` into global codemod config (#15659) @JCQuintas
234
+ - [code-infra] Playwright 1.49 (#15493) @JCQuintas
235
+ - [test] Force hover in headless Chrome (#15710) @cherniavskii
236
+
237
+ ## v8.0.0-alpha.2
238
+
239
+ _Nov 29, 2024_
240
+
241
+ We'd like to offer a big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
242
+
243
+ - 👨🏽‍💻 Improve resize performance on the Data Gird.
244
+ - `<ChartDataProvider />` and `<ChartsSurface />` components are now fully divided — [Learn more](https://next.mui.com/x/react-charts/composition/#overview).
245
+ - Users can create their own HTML components using chart data — [Learn more](https://next.mui.com/x/react-charts/components/#html-components).
246
+ - 🌍 Improve Spanish, Portuguese, Chinese locales on the Data Grid component.
247
+ - 🌍 Improve Dutch locale on the Date and Time Pickers components.
248
+ - 🐞 Bugfixes
249
+ - 📚 Documentation improvements
250
+
251
+ Special thanks go out to the community contributors who have helped make this release possible:
252
+ @dloeda, @headironc, @jedesroches, @k-rajat19, @lauri865, @mathzdev, @nphmuller, @zinoroman.
253
+ Following are all team members who have contributed to this release:
254
+ @arminmeh, @alexfauquette, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @oliviertassinari.
255
+
256
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
257
+
258
+ ### Data Grid
259
+
260
+ #### Breaking changes
261
+
262
+ - The `<GridOverlays />` component is not exported anymore.
263
+ - The `indeterminateCheckboxAction` prop has been removed. Clicking on an indeterminate checkbox "selects" the unselected descendants.
264
+ - The `apiRef.current.resize()` method was removed.
265
+ - The default value of the `rowSelectionPropagation` prop has been changed to `{ parents: true, descendants: true }` which means that the selection will be propagated to the parents and descendants by default.
266
+ To revert to the previous behavior, pass `rowSelectionPropagation` as `{ parents: false, descendants: false }`.
267
+ - If `estimatedRowCount` is used, the text provided to the [Table Pagination](/material-ui/api/table-pagination/) component from the Material UI library is updated and requires additional translations. Check the example at the end of [Index-based pagination section](/x/react-data-grid/pagination/#index-based-pagination).
268
+
269
+ #### `@mui/x-data-grid@v8.0.0-alpha.2`
270
+
271
+ - [DataGrid] Change test dom check from `/jsdom/` to `/jsdom|HappyDOM/`. (#15634) @jedesroches
272
+ - [DataGrid] Clear timers on unmount (#15620) @cherniavskii
273
+ - [DataGrid] Fix order of spread props on toolbar items (#15556) @KenanYusuf
274
+ - [DataGrid] Improve resize performance (#15549) @lauri865
275
+ - [DataGrid] Make estimation label more accurate (#15632) @arminmeh
276
+ - [DataGrid] Remove `<GridOverlays />` export (#15573) @k-rajat19
277
+ - [DataGrid] Remove `indeterminateCheckboxAction` prop (#15522) @MBilalShafi
278
+ - [DataGrid] Remove try/catch from `<GridCell />` due to performance issues (#15616) @lauri865
279
+ - [DataGrid] Remove unused `resize` method (#15599) @cherniavskii
280
+ - [DataGrid] Support column virtualization with dynamic row height (#15541) @cherniavskii
281
+ - [DataGrid] Update the default value for `rowSelectionPropagation` (#15523) @MBilalShafi
282
+ - [l10n] Improve Chinese (zh-CN) locale (#15570) @headironc
283
+ - [l10n] Improve Portuguese (pt-PT) locale (#15561) @mathzdev
284
+
285
+ #### `@mui/x-data-grid-pro@v8.0.0-alpha.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
286
+
287
+ Same changes as in `@mui/x-data-grid@v8.0.0-alpha.2`, plus:
288
+
289
+ - [DataGridPro] Fix header filtering with `boolean` column type (#15528) @k-rajat19
290
+ - [DataGridPro] Fix pagination state not updating if the data source response has no rows (#15622) @zinoroman
291
+ - [DataGridPro] Fix selection propagation issue on initialization (#15461) @MBilalShafi
292
+
293
+ #### `@mui/x-data-grid-premium@v8.0.0-alpha.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
294
+
295
+ Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.2`.
296
+
297
+ ### Date and Time Pickers
298
+
299
+ #### Breaking changes
300
+
301
+ - The props received by the `layout` and the `toolbar` slots have been reworked — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#do-not-pass-the-section-type-as-a-generic).
302
+
303
+ - The `TSection` generic of the `FieldRef` type has been replaced with the `TValue` generic — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slots-breaking-changes).
304
+
305
+ #### `@mui/x-date-pickers@v8.0.0-alpha.2`
306
+
307
+ - [l10n] Improve Dutch (nl-NL) locale (#15564) @nphmuller
308
+ - [pickers] Fix DST issue with `America/Asuncion` timezone and `AdapterMoment` (#15552) @flaviendelangle
309
+ - [pickers] Improve validation internals (#15419) @flaviendelangle
310
+ - [pickers] Remove `TSection` and strictly type `TValue` (#15434) @flaviendelangle
311
+ - [pickers] Remove `orientation`, `isLandscape`, `isRtl`, `wrapperVariant` and `disabled` props from `PickersLayout` (#15494) @flaviendelangle
312
+ - [pickers] Use the new `ownerState` in `<PickersCalendarHeader />`, `<PickersArrowSwitcher />` and `<DayCalendarSkeleton />` (#15499) @flaviendelangle
313
+ - [pickers] Use the new `ownerState` object in all the field components (#15510) @flaviendelangle
314
+
315
+ #### `@mui/x-date-pickers-pro@v8.0.0-alpha.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
316
+
317
+ Same changes as in `@mui/x-date-pickers@v8.0.0-alpha.2`.
318
+
319
+ ### Charts
320
+
321
+ #### Breaking changes
322
+
323
+ - Charts Container don't have a `<div />` wrapping them anymore. All props are now passed to the root `<svg />` instead of the `<div />`.
324
+
325
+ #### `@mui/x-charts@v8.0.0-alpha.2`
326
+
327
+ - [charts] Allow the creation of custom HTML components using charts data (#15511) @JCQuintas
328
+ - [charts] Flatten imports from `@mui/utils` and `@mui/system` (#15603) @alexfauquette
329
+ - [charts] Introduce the plugin system (#15513) @alexfauquette
330
+ - [charts] Prevent invalid `releasePointerCapture` (#15602) @alexfauquette
331
+ - [charts] Fix custom Tooltip demos (#15631) @alexfauquette
332
+
333
+ #### `@mui/x-charts-pro@v8.0.0-alpha.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
334
+
335
+ Same changes as in `@mui/x-charts@v8.0.0-alpha.2`.
336
+
337
+ ### Tree View
338
+
339
+ #### `@mui/x-tree-view@v8.0.0-alpha.2`
340
+
341
+ - [TreeView] Flatten import from `@mui/utils` and `@mui/system` (#15604) @alexfauquette
342
+
343
+ #### `@mui/x-tree-view-pro@v8.0.0-alpha.2`
344
+
345
+ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.2`.
346
+
347
+ ### Docs
348
+
349
+ - [docs] Fix 404 links (#15575) @oliviertassinari
350
+ - [docs] Fix bash comments (#15571) @oliviertassinari
351
+ - [docs] Fix Pickers theme augmentation example (#15672) @LukasTy
352
+ - [docs] Replace use of "e.g." with "for example" (#15572) @oliviertassinari
353
+ - [docs] Update stale `new` and `preview` tags in v8 docs (#15547) @JCQuintas
354
+ - [docs] Fix layout shift image on Tree View docs (#15626) @oliviertassinari
355
+ - [docs] Fix `anchorEl` API page for charts (#15625) @oliviertassinari
356
+ - [docs] Add documentation for the list view feature (#15344) @KenanYusuf
357
+
358
+ ### Core
359
+
360
+ - [core] Follow `()` function convention for docs @oliviertassinari
361
+ - [core] Remove dead translation key (#15566) @oliviertassinari
362
+ - [code-infra] Auto-merge `@types/node` bumps (#15591) @LukasTy
363
+
8
364
  ## v8.0.0-alpha.1
9
365
 
10
366
  _Nov 22, 2024_
@@ -17,8 +373,6 @@ We'd like to offer a big thanks to the 16 contributors who made this release pos
17
373
  - 🐞 Bugfixes
18
374
  - 📚 Documentation improvements
19
375
 
20
- ### Breaking change
21
-
22
376
  Special thanks go out to the community contributors who have helped make this release possible:
23
377
  @CarlosLopezLg, @headironc, @hendrikpeilke, @k-rajat19, @lhilgert9, @viktormelin.
24
378
  Following are all team members who have contributed to this release:
@@ -56,7 +410,7 @@ Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.1`, plus:
56
410
  #### Breaking change
57
411
 
58
412
  - The `FieldValueType` type has been renamed to `PickerValueType` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#renamed-variables).
59
- - The `toolbar` and `layout` slots no longer receive the `disabled` and `readOnly` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slots-breaking-changes).
413
+ - The `toolbar` and `layout` slots no longer receive the `disabled` and `readOnly` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slots-breaking-changes).
60
414
 
61
415
  #### `@mui/x-date-pickers@v8.0.0-alpha.1`
62
416
 
@@ -64,9 +418,9 @@ Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.1`, plus:
64
418
  - [pickers] React 19 support (#15342) @arminmeh
65
419
  - [pickers] Add new properties to `PickerOwnerState` and `PickerContextValue` (#15415) @flaviendelangle
66
420
  - [pickers] Always use `props.value` when it changes (#15490) @flaviendelangle
67
- - [pickers] Ensure internal value timezone is updated (#15435) @LukasTy
421
+ - [pickers] Ensure internal value timezone is updated (#15435) @LukasTy
68
422
  - [pickers] Fix unused code in `<PickersToolbar />` component (#15515) @LukasTy
69
- - [pickers] Remove `FieldValueType` in favor of `PickerValueType` (#15259) @arthurbalduini
423
+ - [pickers] Remove `FieldValueType` in favor of `PickerValueType` (#15259) @arthurbalduini
70
424
  - [pickers] Remove the form props from the layout and the toolbar slots (#15492) @flaviendelangle
71
425
  - [pickers] Use `props.referenceDate` timezone when `props.value` and `props.defaultValue` are not defined (#15532) @flaviendelangle
72
426
  - [TimePicker] Prevent mouse events after `touchend` event (#15346) @arthurbalduini
@@ -82,12 +436,14 @@ Same changes as in `@mui/x-date-pickers@v8.0.0-alpha.1`, plus:
82
436
  #### Breaking change
83
437
 
84
438
  - The DX of the Tooltip customization has been refactored
439
+
85
440
  - The `tooltip` prop has been removed in favor of `slotProps.tooltip` for consistency.
86
- - The `popper`, `axisContent`, and `itemContent` slots have been removed in favor of the `tooltip` slot which overrides the entire tooltip.
441
+ - The `popper`, `axisContent`, and `itemContent` slots have been removed in favor of the `tooltip` slot which overrides the entire tooltip.
87
442
  - To override the tooltip content, use the `useItemTooltip` or `useAxisTooltip` hook to get the data, and wrap your component in `ChartsTooltipContainer` to follow the pointer position.
88
443
  - To override the tooltip placement, use the `ChartsItemTooltipContent` or `ChartsItemTooltipContent` to get default data and place them in your custom tooltip.
89
444
 
90
445
  - The library now uses the SVG `filter` attribute instead of `d3-color` for color manipulation.
446
+
91
447
  - This modification impacts the `LinePlot`, `AreaPlot`, and `BarPlot` components.
92
448
  If you've customized the `fill` of those elements, you might need to override it by using the CSS `filter`.
93
449
  - The `theme.styleOverride` is removed for `MuiLineElement`, `MuiAreaElement`, and `MuiBarElement` to improve performance.
@@ -338,6 +694,247 @@ Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
338
694
  - [release] v8 preparation (#15054) @michelengelen
339
695
  - [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
340
696
 
697
+ ## 7.23.2
698
+
699
+ _Dec 12, 2024_
700
+
701
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
702
+
703
+ - 🌍 Improve Romanian and Turkish locales on the Data Grid
704
+ - 🌍 Improve Romanian locale on the Pickers
705
+ - 📚 Documentation improvements
706
+ - 🐞 Bugfixes
707
+
708
+ Special thanks go out to the community contributors who have helped make this release possible:
709
+ @ihsanberkozcan, @k-rajat19, @lhilgert9, @nusr, @rares985.
710
+
711
+ Following are all team members who have contributed to this release:
712
+ @alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy.
713
+
714
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
715
+
716
+ ### Data Grid
717
+
718
+ #### `@mui/x-data-grid@7.23.2`
719
+
720
+ - [DataGrid] Fix "No rows" displaying when all rows are pinned (#15851) @nusr
721
+ - [DataGrid] Use `columnsManagement` slot (#15821) @k-rajat19
722
+ - [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
723
+ - [l10n] Improve Turkish (tr-TR) locale (#15748) @ihsanberkozcan
724
+
725
+ #### `@mui/x-data-grid-pro@7.23.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
726
+
727
+ Same changes as in `@mui/x-data-grid@7.23.2`, plus:
728
+
729
+ - [DataGridPro] Make Row reordering work with pagination (#15782) @k-rajat19
730
+
731
+ #### `@mui/x-data-grid-premium@7.23.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
732
+
733
+ Same changes as in `@mui/x-data-grid-pro@7.23.2`, plus:
734
+
735
+ - [DataGridPremium] Fix group column ignoring `valueOptions` for `singleSelect` column type (#15754) @arminmeh
736
+
737
+ ### Date and Time Pickers
738
+
739
+ #### `@mui/x-date-pickers@7.23.2`
740
+
741
+ - [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
742
+
743
+ #### `@mui/x-date-pickers-pro@7.23.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
744
+
745
+ Same changes as in `@mui/x-date-pickers@7.23.2`.
746
+
747
+ ### Charts
748
+
749
+ #### `@mui/x-charts@7.23.2`
750
+
751
+ - [charts] Fix key generation for the ChartsGrid (#15864) @alexfauquette
752
+ - [charts] Fix scatter dataset with missing data (#15804) @alexfauquette
753
+
754
+ #### `@mui/x-charts-pro@7.23.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
755
+
756
+ Same changes as in `@mui/x-charts@7.23.2`.
757
+
758
+ #### `@mui/x-tree-view@v7.23.2`
759
+
760
+ No changes, releasing to keep the versions in sync.
761
+
762
+ #### `@mui/x-tree-view-pro@7.23.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
763
+
764
+ Releasing to benefit from license package fix (#15818).
765
+
766
+ ### Docs
767
+
768
+ - [docs] Fix typo in charts axis documentation (#15746) @JCQuintas
769
+ - [docs] Improve Pickers accessible DOM structure description (#15752) @LukasTy
770
+ - [docs] Use `updateRows` method for list view demos (#15824) @KenanYusuf
771
+ - [docs] Use date library version from package dev dependencies for sandboxes (#15767) @LukasTy
772
+
773
+ ### Core
774
+
775
+ - [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
776
+ - [license] Use `console.log` for the error message on Codesandbox to avoid rendering error (#15818) @arminmeh
777
+
778
+ ## 7.23.1
779
+
780
+ _Dec 5, 2024_
781
+
782
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
783
+
784
+ - 🌍 Improve German locale on the Data Grid component
785
+ - 🐞 Bugfixes
786
+
787
+ Special thanks go out to the community contributors who have helped make this release possible:
788
+ @lhilgert9.
789
+
790
+ Following are all team members who have contributed to this release:
791
+ @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @LukasTy and @MBilalShafi.
792
+
793
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
794
+
795
+ ### Data Grid
796
+
797
+ #### `@mui/x-data-grid@7.23.1`
798
+
799
+ - [DataGrid] Make column autosizing work with flex columns (#15712) @cherniavskii
800
+ - [l10n] Improve German (de-DE) locale (#15641) @lhilgert9
801
+
802
+ #### `@mui/x-data-grid-pro@7.23.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
803
+
804
+ Same changes as in `@mui/x-data-grid@7.23.1`, plus:
805
+
806
+ - [DataGridPro] Cleanup pinned rows on removal (#15702) @cherniavskii
807
+
808
+ #### `@mui/x-data-grid-premium@7.23.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
809
+
810
+ Same changes as in `@mui/x-data-grid-pro@7.23.1`.
811
+
812
+ ### Date and Time Pickers
813
+
814
+ #### `@mui/x-date-pickers@7.23.1`
815
+
816
+ - [TimePicker] Prevent mouse events after `touchend` event (#15430) @arthurbalduini
817
+
818
+ #### `@mui/x-date-pickers-pro@7.23.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
819
+
820
+ Same changes as in `@mui/x-date-pickers@7.23.1`.
821
+
822
+ ### Charts
823
+
824
+ #### `@mui/x-charts@7.23.1`
825
+
826
+ - [charts] Improve SVG `pattern` and `gradient` support (#15724) @JCQuintas
827
+
828
+ #### `@mui/x-charts-pro@7.23.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
829
+
830
+ Same changes as in `@mui/x-charts@7.23.1`.
831
+
832
+ ### Docs
833
+
834
+ - [docs] Fix Pickers theme augmentation example (#15675) @LukasTy
835
+ - [docs] Remove duplicated warning (#15715) @cherniavskii
836
+ - [test] Force hover in headless Chrome (#15711) @cherniavskii
837
+ - [docs-infra] Bump `@mui/internal-markdown` to support nested demo imports (#15738) @alexfauquette
838
+ - [docs] Improve SEO titles for the Data Grid (#15695) @MBilalShafi
839
+
840
+ ### Core
841
+
842
+ - [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
843
+
844
+ ## 7.23.0
845
+
846
+ _Nov 29, 2024_
847
+
848
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
849
+
850
+ - ✨ Support for a new display mode on the Data Grid with the [List View feature](https://mui.com/x/react-data-grid/list-view/), offering an extremely flexible way to render datasets and enabling developers to adapt how data is displayed across different screen sizes.
851
+
852
+ https://github.com/user-attachments/assets/61286adc-03fc-4323-9739-8ca726fcc16c
853
+
854
+ - ⚛️ React 19 support
855
+ - 📚 Documentation improvements
856
+ - 🌍 Improve Spanish, Portuguese, Chinese locales on the Data Grid component.
857
+ - 🌍 Improve Dutch locale on the Date and Time Picker components.
858
+ - 🐞 Bugfixes
859
+
860
+ Special thanks go out to the community contributors who have helped make this release possible:
861
+ @dloeda, @headironc, @mathzdev, @nphmuller, @lhilgert9, @lauri865.
862
+ Following are all team members who have contributed to this release:
863
+ @oliviertassinari, @arminmeh, @KenanYusuf, @flaviendelangle, @MBilalShafi.
864
+
865
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
866
+
867
+ ### Data Grid
868
+
869
+ #### `@mui/x-data-grid@v7.23.0`
870
+
871
+ - [DataGrid] React 19 support (#15557) @arminmeh
872
+ - [DataGrid] Change test dom check from `/jsdom/` to `/jsdom|HappyDOM/`. (#15642) @jedesroches
873
+ - [DataGrid] Fix last separator not being hidden when grid is scrollable (#15551) @KenanYusuf
874
+ - [DataGrid] Fix order of spread props on toolbar items (#15556) @KenanYusuf
875
+ - [DataGrid] Fix row-spanning in combination with column-pinning (#15460) @lhilgert9
876
+ - [DataGrid] Improve resize performance (#15592) @lauri865
877
+ - [DataGrid] Support column virtualization with dynamic row height (#15567) @cherniavskii
878
+ - [DataGrid] Improve `GridCell` performance (#15621) @lauri865
879
+ - [l10n] Improve Chinese (zh-CN) locale (#15570) @headironc
880
+ - [l10n] Improve Portuguese (pt-PT) locale (#15561) @mathzdev
881
+
882
+ #### `@mui/x-data-grid-pro@v7.23.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
883
+
884
+ Same changes as in `@mui/x-data-grid@v7.23.0`, plus:
885
+
886
+ - [DataGridPro] Fix header filtering with `boolean` column type (#15640) @k-rajat19
887
+ - [DataGridPro] Fix pagination state not updating if the data source response has no rows (#15643) @zinoroman
888
+ - [DataGridPro] Fix selection propagation issue on initialization (#15593) @MBilalShafi
889
+
890
+ #### `@mui/x-data-grid-premium@v7.23.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
891
+
892
+ Same changes as in `@mui/x-data-grid-pro@v7.23.0`.
893
+
894
+ ### Date and Time Pickers
895
+
896
+ #### `@mui/x-date-pickers@v7.23.0`
897
+
898
+ - [pickers] React 19 support (#15557) @arminmeh
899
+ - [pickers] Fix DST issue with `America/Asuncion` timezone and `AdapterMoment` (#15653) @flaviendelangle
900
+ - [pickers] Use `props.referenceDate` timezone when `props.value` and `props.defaultValue` are not defined (#15544) @flaviendelangle
901
+ - [l10n] Improve Dutch (nl-NL) locale (#15564) @nphmuller
902
+
903
+ #### `@mui/x-date-pickers-pro@v7.23.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
904
+
905
+ Same changes as in `@mui/x-date-pickers@v7.23.0`.
906
+
907
+ ### Charts
908
+
909
+ #### `@mui/x-charts@v7.23.0`
910
+
911
+ - [charts] React 19 support (#15557) @arminmeh
912
+ - [charts] Prevent invalid `releasePointerCapture` (#15609) @alexfauquette
913
+
914
+ #### `@mui/x-charts-pro@v7.23.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
915
+
916
+ Same changes as in `@mui/x-charts@v7.23.0`.
917
+
918
+ ### Tree View
919
+
920
+ #### `@mui/x-tree-view@v7.23.0`
921
+
922
+ - [TreeView] React 19 support (#15557) @arminmeh
923
+
924
+ #### `@mui/x-tree-view-pro@7.23.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
925
+
926
+ Same changes as in `@mui/x-tree-view@7.23.0`.
927
+
928
+ ### Docs
929
+
930
+ - [docs] Add data caching to lazy loaded detail panel demo (#15555) @cherniavskii
931
+ - [docs] Remove selectors section from list view docs (#15639) @KenanYusuf
932
+ - [docs] Add documentation for the list view feature (#15344) @KenanYusuf
933
+
934
+ ### Core
935
+
936
+ - [core] Update @mui/monorepo (#15574) @oliviertassinari
937
+
341
938
  ## v7.22.3
342
939
 
343
940
  _Nov 21, 2024_
@@ -4803,7 +5400,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.5`.
4803
5400
 
4804
5401
  The `useClearableField` hook API has been simplified to now take a `props` parameter instead of a `fieldProps`, `InputProps`, `clearable`, `onClear`, `slots` and `slotProps` parameters.
4805
5402
 
4806
- You should now be able to directly pass the returned value from your field hook (e.g: `useDateField`) to `useClearableField`
5403
+ You should now be able to directly pass the returned value from your field hook (for example `useDateField`) to `useClearableField`
4807
5404
 
4808
5405
  ```diff
4809
5406
  const fieldResponse = useDateField(props);
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # MUI X Tree View
2
2
 
3
3
  This package is the Community plan edition of the Tree View components.
4
- It's part of [MUI X](https://mui.com/x/), an open-core extension of MUI Core, with advanced components.
4
+ It's part of [MUI X](https://mui.com/x/), an open-core extension of our Core libraries, with advanced components.
5
5
 
6
6
  ## Installation
7
7
 
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Theme } from '@mui/material/styles';
3
- import { SxProps } from '@mui/system';
4
- import { SlotComponentProps } from '@mui/utils';
3
+ import { SxProps } from '@mui/system/styleFunctionSx';
4
+ import { SlotComponentProps } from '@mui/utils/types';
5
5
  import { RichTreeViewClasses } from './richTreeViewClasses';
6
6
  import { RichTreeViewPluginParameters, RichTreeViewPluginSlotProps, RichTreeViewPluginSlots, RichTreeViewPluginSignatures } from './RichTreeView.plugins';
7
7
  import { TreeViewExperimentalFeatures, TreeViewPublicAPI } from '../internals/models';