@mui/x-internals 8.0.0-alpha.2 → 8.0.0-alpha.6

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
@@ -5,6 +5,417 @@
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.6
9
+
10
+ _Dec 26, 2024_
11
+
12
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🏎️ Improve Data Grid scrolling performance
15
+ - 🌍 Improve Dutch (nl-NL) locale on the Data Grid
16
+ - 🐞 Bugfixes
17
+
18
+ Special thanks go out to the community contributors who have helped make this release possible:
19
+ @JoepVerkoelen, @k-rajat19, @lauri865.
20
+ Following are all team members who have contributed to this release:
21
+ @flaviendelangle, @JCQuintas, @LukasTy, @MBilalShafi, @romgrk.
22
+
23
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
24
+
25
+ ### Data Grid
26
+
27
+ #### Breaking changes
28
+
29
+ - The `sanitizeFilterItemValue()` utility is not exported anymore.
30
+
31
+ #### `@mui/x-data-grid@8.0.0-alpha.6`
32
+
33
+ - [DataGrid] Avoid subscribing to `renderContext` state in grid root for better scroll performance (#15986) @lauri865
34
+ - [DataGrid] Fix header filters showing clear button while empty (#15829) @k-rajat19
35
+ - [DataGrid] Improve test coverage of server side data source (#15942) @MBilalShafi
36
+ - [DataGrid] Move progress components to leaf import (#15914) @romgrk
37
+ - [DataGrid] Move skeleton to leaf import (#15931) @romgrk
38
+ - [DataGrid] Replace `forwardRef` with a shim for forward compatibility (#15955) @lauri865
39
+ - [l10n] Improve Dutch (nl-NL) locale (#15994) @JoepVerkoelen
40
+
41
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
42
+
43
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.6`.
44
+
45
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.6` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
46
+
47
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.6`, plus:
48
+
49
+ - [DataGridPremium] Fix column unpinning with row grouping (#15908) @k-rajat19
50
+
51
+ ### Date and Time Pickers
52
+
53
+ #### `@mui/x-date-pickers@8.0.0-alpha.6`
54
+
55
+ - [pickers] Use `usePickerContext()` and `usePickerActionsContext()` to get the actions in the `actionBar` slot and in internal components (#15843) @flaviendelangle
56
+ - [pickers] Use `usePickerContext()` to get the view-related props in the layout, toolbar and tabs slots (#15606) @flaviendelangle
57
+
58
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
59
+
60
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.6`.
61
+
62
+ ### Charts
63
+
64
+ #### `@mui/x-charts@8.0.0-alpha.6`
65
+
66
+ No changes since `@mui/x-charts@v8.0.0-alpha.5`.
67
+
68
+ #### `@mui/x-charts-pro@8.0.0-alpha.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
69
+
70
+ Same changes as in `@mui/x-charts@8.0.0-alpha.6`.
71
+
72
+ ### Tree View
73
+
74
+ #### `@mui/x-tree-view@8.0.0-alpha.6`
75
+
76
+ No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.5`.
77
+
78
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.6` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
79
+
80
+ Same changes as in `@mui/x-tree-view@8.0.0-alpha.6`.
81
+
82
+ ### Docs
83
+
84
+ - [docs] Remove production profiler from docs build (#15959) @lauri865
85
+ - [code-infra] Add new `next-env.d.ts` changes (#15947) @JCQuintas
86
+
87
+ ## 8.0.0-alpha.5
88
+
89
+ _Dec 19, 2024_
90
+
91
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
92
+
93
+ - 🌍 Improve Korean (ko-KR) locale on the Data Grid
94
+ - 🐞 Bugfixes
95
+
96
+ Special thanks go out to the community contributors who have helped make this release possible:
97
+ @good-jinu, @k-rajat19.
98
+ Following are all team members who have contributed to this release:
99
+ @alexfauquette, @cherniavskii, @flaviendelangle, @KenanYusuf, @LukasTy, @MBilalShafi, @romgrk.
100
+
101
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
102
+
103
+ ### Data Grid
104
+
105
+ #### Breaking changes
106
+
107
+ - Passing additional props (like `data-*`, `aria-*`) directly on the Data Grid component is no longer supported. To pass the props, use `slotProps`.
108
+
109
+ - For `.root` element, use `slotProps.root`.
110
+ - For `.main` element (the one with `role="grid"`), use `slotProps.main`.
111
+
112
+ - `detailPanelExpandedRowIds` and `onDetailPanelExpandedRowIdsChange` props use a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array:
113
+
114
+ ```diff
115
+ -detailPanelExpandedRowIds?: GridRowId[];
116
+ +detailPanelExpandedRowIds?: Set<GridRowId>;
117
+
118
+ -onDetailPanelExpandedRowIdsChange?: (ids: GridRowId[], details: GridCallbackDetails) => void;
119
+ +onDetailPanelExpandedRowIdsChange?: (ids: Set<GridRowId>, details: GridCallbackDetails) => void;
120
+ ```
121
+
122
+ - `apiRef.current.getExpandedDetailPanels` and `apiRef.current.setExpandedDetailPanels` methods receive and return a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array.
123
+ - `gridDetailPanelExpandedRowIdsSelector` returns a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array.
124
+ - `gridDetailPanelExpandedRowsHeightCacheSelector` was removed.
125
+
126
+ #### `@mui/x-data-grid@8.0.0-alpha.5`
127
+
128
+ - [DataGrid] Consider `columnGroupHeaderHeight` prop in `getTotalHeaderHeight` method (#15915) @k-rajat19
129
+ - [DataGrid] Fix autosizing with virtualized columns (#15116) @k-rajat19
130
+ - [DataGrid] Move `<Badge />` to leaf import (#15879) @romgrk
131
+ - [DataGrid] Move `<ListItemText />` and `<ListItemIcon />` to leaf import (#15869) @romgrk
132
+ - [DataGrid] Remove the Joy UI demo (#15913) @romgrk
133
+ - [DataGrid] Update quick filter input variant (#15909) @KenanYusuf
134
+ - [DataGrid] Use `slotProps` to forward props to `.main` and `.root` elements (#15870) @MBilalShafi
135
+ - [l10n] Improve Korean(ko-KR) locale (#15878) @good-jinu
136
+
137
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
138
+
139
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.5`, plus:
140
+
141
+ - [DataGridPro] Use `Set` for `detailPanelExpandedRowIds` (#15835) @cherniavskii
142
+
143
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.5` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
144
+
145
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.5`.
146
+
147
+ ### Date and Time Pickers
148
+
149
+ #### Breaking changes
150
+
151
+ - The `<PickersMonth />` component has been moved inside the Month Calendar component — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#month-calendar).
152
+
153
+ - The `<PickersYear />` component has been moved inside the Year Calendar component — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#year-calendar).
154
+
155
+ #### `@mui/x-date-pickers@8.0.0-alpha.5`
156
+
157
+ - [pickers] Add verification to disable skipped hours in spring forward DST (#15849) @flaviendelangle
158
+ - [pickers] Remove `PickersMonth` and `PickersYear` from the theme and remove the `div` wrapping each button (#15806) @flaviendelangle
159
+ - [pickers] Use the new `ownerState` object on the `<PickersTextField />` component (#15863) @flaviendelangle
160
+
161
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
162
+
163
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.5`.
164
+
165
+ ### Charts
166
+
167
+ #### `@mui/x-charts@8.0.0-alpha.5`
168
+
169
+ - [charts] Fix `<ScatterChart />` value type if `null` (#15917) @alexfauquette
170
+
171
+ #### `@mui/x-charts-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
172
+
173
+ Same changes as in `@mui/x-charts@8.0.0-alpha.5`.
174
+
175
+ ### Tree View
176
+
177
+ #### `@mui/x-tree-view@8.0.0-alpha.5`
178
+
179
+ No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.4`.
180
+
181
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
182
+
183
+ Same changes as in `@mui/x-tree-view@8.0.0-alpha.5`.
184
+
185
+ ### Core
186
+
187
+ - [code-infra] Remove `@mui/material-nextjs` dependency (#15925) @LukasTy
188
+
189
+ ## 8.0.0-alpha.4
190
+
191
+ _Dec 13, 2024_
192
+
193
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
194
+
195
+ - 🌍 Improve Romanian locale on the Data Grid and Pickers
196
+ - 📚 Documentation improvements
197
+ - 🐞 Bugfixes
198
+
199
+ Special thanks go out to the community contributors who have helped make this release possible:
200
+ @k-rajat19, @nusr, @rares985, @zivl.
201
+ Following are all team members who have contributed to this release:
202
+ @alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi.
203
+
204
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
205
+
206
+ ### Data Grid
207
+
208
+ #### Breaking changes
209
+
210
+ - 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.
211
+
212
+ ```diff
213
+ -mySelector(state, instanceId)
214
+ +mySelector(state, arguments, instanceId)
215
+ ```
216
+
217
+ - 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.
218
+
219
+ ```diff
220
+ -const output = useGridSelector(apiRef, selector, equals)
221
+ +const output = useGridSelector(apiRef, selector, arguments, equals)
222
+ ```
223
+
224
+ - The default variant for text fields and selects in the filter panel has been changed to `outlined`.
225
+ - The "row spanning" feature is now stable.
226
+ ```diff
227
+ <DataGrid
228
+ - unstable_rowSpanning
229
+ + rowSpanning
230
+ />
231
+ ```
232
+ - Selected row is now deselected when clicked again.
233
+
234
+ #### `@mui/x-data-grid@8.0.0-alpha.4`
235
+
236
+ - [DataGrid] Deselect selected row on click (#15509) @k-rajat19
237
+ - [DataGrid] Fix "No rows" displaying when all rows are pinned (#15335) @nusr
238
+ - [DataGrid] Make row spanning feature stable (#15742) @MBilalShafi
239
+ - [DataGrid] Round dimensions to avoid subpixel rendering error (#15850) @KenanYusuf
240
+ - [DataGrid] Toggle menu on click in `<GridActionsCell />` (#15867) @k-rajat19
241
+ - [DataGrid] Trigger row spanning computation on rows update (#15858) @MBilalShafi
242
+ - [DataGrid] Update filter panel input variant (#15807) @KenanYusuf
243
+ - [DataGrid] Use `columnsManagement` slot (#15817) @k-rajat19
244
+ - [DataGrid] Use new selector signature (#15200) @MBilalShafi
245
+ - [l10n] Improve Romanian (ro-RO) locale (#15745) @rares985
246
+
247
+ #### `@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')
248
+
249
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.4`, plus:
250
+
251
+ - [DataGridPro] Make row reordering work with pagination (#15355) @k-rajat19
252
+
253
+ #### `@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')
254
+
255
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.4`, plus:
256
+
257
+ - [DataGridPremium] Fix group column ignoring `valueOptions` for `singleSelect` column type (#15739) @arminmeh
258
+
259
+ ### Date and Time Pickers
260
+
261
+ #### `@mui/x-date-pickers@8.0.0-alpha.4`
262
+
263
+ - [l10n] Improve Romanian (ro-RO) locale (#15745) @rares985
264
+ - [pickers] Clean `usePicker` logic (#15763) @flaviendelangle
265
+ - [pickers] Rename layout `ownerState` property from `isRtl` to `layoutDirection` (#15803) @flaviendelangle
266
+ - [pickers] Use the new `ownerState` in `useClearableField` (#15776) @flaviendelangle
267
+ - [pickers] Use the new `ownerState` in the toolbar components (#15777) @flaviendelangle
268
+ - [pickers] Use the new `ownerState` object for the clock components and the desktop / mobile wrappers (#15669) @flaviendelangle
269
+
270
+ #### `@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')
271
+
272
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.4`.
273
+
274
+ ### Charts
275
+
276
+ #### Breaking changes
277
+
278
+ - The default styling of the charts tooltip has been updated.
279
+
280
+ #### `@mui/x-charts@8.0.0-alpha.4`
281
+
282
+ - [charts] Fix hydration missmatch (#15647) @alexfauquette
283
+ - [charts] Fix internal spelling typo (#15805) @zivl
284
+ - [charts] Fix scatter dataset with missing data (#15802) @alexfauquette
285
+ - [charts] HTML Labels (#15813) @JCQuintas
286
+ - [charts] Only access store values by using hooks (#15764) @alexfauquette
287
+ - [charts] Update Tooltip style (#15630) @alexfauquette
288
+
289
+ #### `@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')
290
+
291
+ Same changes as in `@mui/x-charts@8.0.0-alpha.4`.
292
+
293
+ ### Tree View
294
+
295
+ #### `@mui/x-tree-view@8.0.0-alpha.4`
296
+
297
+ No changes, releasing to keep the versions in sync.
298
+
299
+ #### `@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')
300
+
301
+ Releasing to benefit from license package fix (#15814).
302
+
303
+ ### Docs
304
+
305
+ - [docs] Clean Joy and Browser custom field demos (#15707) @flaviendelangle
306
+ - [docs] Fix outdated link to handbook (#15855) @oliviertassinari
307
+ - [docs] Improve Pickers accessible DOM migration section description (#15596) @LukasTy
308
+ - [docs] Use `updateRows` method for list view demos (#15732) @KenanYusuf
309
+ - [docs] Use date library version from package dev dependencies for sandboxes (#15762) @LukasTy
310
+
311
+ ### Core
312
+
313
+ - [code-infra] Add Charts sandbox generation (#15830) @JCQuintas
314
+ - [code-infra] Remove redundant `@type/react-test-renderer` dep (#15766) @LukasTy
315
+ - [license] Use `console.log` for the error message on Codesandbox to avoid rendering error (#15814) @arminmeh
316
+
317
+ ## 8.0.0-alpha.3
318
+
319
+ _Dec 5, 2024_
320
+
321
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
322
+
323
+ - 💫 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.
324
+ - 🎯 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.
325
+
326
+ Special thanks go out to the community contributors who have helped make this release possible:
327
+ @ihsanberkozcan, @k-rajat19, @perezShaked.
328
+ Following are all team members who have contributed to this release:
329
+ @arminmeh, @cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @noraleonte.
330
+
331
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
332
+
333
+ ### Data Grid
334
+
335
+ #### Breaking changes
336
+
337
+ - 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.
338
+ - The `rowPositionsDebounceMs` prop was removed.
339
+ - The `gridRowsDataRowIdToIdLookupSelector` selector was removed. Use the `gridRowsLookupSelector` selector in combination with the `getRowId()` API method instead.
340
+ ```diff
341
+ -const idToIdLookup = gridRowsDataRowIdToIdLookupSelector(apiRef);
342
+ -const rowId = idToIdLookup[id]
343
+ +const rowsLookup = gridRowsLookupSelector(apiRef);
344
+ +const rowId = apiRef.current.getRowId(rowsLookup[id])
345
+ ```
346
+ - 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.
347
+
348
+ #### `@mui/x-data-grid@8.0.0-alpha.3`
349
+
350
+ - [DataGrid] Fix deselection not working with `isRowSelectable` (#15692) @MBilalShafi
351
+ - [DataGrid] Make column autosizing work with flex columns (#15465) @cherniavskii
352
+ - [DataGrid] Remove `gridRowsDataRowIdToIdLookupSelector` selector (#15698) @arminmeh
353
+ - [DataGrid] Remove `rowPositionsDebounceMs` prop (#15482) @k-rajat19
354
+ - [l10n] Improve Hebrew (he-IL) locale (#15699) @perezShaked
355
+ - [l10n] Improve Turkish (tr-TR) locale (#15734) @ihsanberkozcan
356
+
357
+ #### `@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')
358
+
359
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.3`, plus:
360
+
361
+ - [DataGridPro] Cleanup pinned rows on removal (#15697) @cherniavskii
362
+ - [DataGridPro] Server-side lazy loading (#13878) @arminmeh
363
+
364
+ #### `@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')
365
+
366
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.3`, plus:
367
+
368
+ - [DataGridPremium] Remove the `ariaV8` experimental flag (#15694) @arminmeh
369
+
370
+ ### Date and Time Pickers
371
+
372
+ #### Breaking changes
373
+
374
+ - 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).
375
+
376
+ #### `@mui/x-date-pickers@8.0.0-alpha.3`
377
+
378
+ - [pickers] Replace the `onOpen()` and `onClose()` methods of `usePickerContext()` with a single `setOpen()` method. (#15701) @flaviendelangle
379
+
380
+ #### `@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')
381
+
382
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.3`.
383
+
384
+ ### Charts
385
+
386
+ #### `@mui/x-charts@8.0.0-alpha.3`
387
+
388
+ - [charts] Improve SVG `pattern` and `gradient` support (#15720) @JCQuintas
389
+
390
+ #### `@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')
391
+
392
+ Same changes as in `@mui/x-charts@8.0.0-alpha.3`.
393
+
394
+ ### Tree View
395
+
396
+ #### `@mui/x-tree-view@8.0.0-alpha.3`
397
+
398
+ No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.2`.
399
+
400
+ #### `@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')
401
+
402
+ Same changes as in `@mui/x-tree-view@8.0.0-alpha.3`.
403
+
404
+ ### Docs
405
+
406
+ - [docs] Add a customization demo for the Date and Time Pickers overview page (#15118) @noraleonte
407
+ - [docs] Fix typo in charts axis documentation (#15743) @JCQuintas
408
+ - [docs] Improve SEO titles for the Data Grid (#15695) @MBilalShafi
409
+
410
+ ### Core
411
+
412
+ - [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15316) @flaviendelangle
413
+ - [code-infra] Lock file maintenance (#11894)
414
+ - [code-infra] Check if `preset-safe` folder exists in codemod test (#15703) @JCQuintas
415
+ - [code-infra] Import Pickers `preset-safe` into global codemod config (#15659) @JCQuintas
416
+ - [code-infra] Playwright 1.49 (#15493) @JCQuintas
417
+ - [test] Force hover in headless Chrome (#15710) @cherniavskii
418
+
8
419
  ## v8.0.0-alpha.2
9
420
 
10
421
  _Nov 29, 2024_
@@ -465,6 +876,153 @@ Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
465
876
  - [release] v8 preparation (#15054) @michelengelen
466
877
  - [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
467
878
 
879
+ ## 7.23.2
880
+
881
+ _Dec 12, 2024_
882
+
883
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
884
+
885
+ - 🌍 Improve Romanian and Turkish locales on the Data Grid
886
+ - 🌍 Improve Romanian locale on the Pickers
887
+ - 📚 Documentation improvements
888
+ - 🐞 Bugfixes
889
+
890
+ Special thanks go out to the community contributors who have helped make this release possible:
891
+ @ihsanberkozcan, @k-rajat19, @lhilgert9, @nusr, @rares985.
892
+
893
+ Following are all team members who have contributed to this release:
894
+ @alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy.
895
+
896
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
897
+
898
+ ### Data Grid
899
+
900
+ #### `@mui/x-data-grid@7.23.2`
901
+
902
+ - [DataGrid] Fix "No rows" displaying when all rows are pinned (#15851) @nusr
903
+ - [DataGrid] Use `columnsManagement` slot (#15821) @k-rajat19
904
+ - [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
905
+ - [l10n] Improve Turkish (tr-TR) locale (#15748) @ihsanberkozcan
906
+
907
+ #### `@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')
908
+
909
+ Same changes as in `@mui/x-data-grid@7.23.2`, plus:
910
+
911
+ - [DataGridPro] Make Row reordering work with pagination (#15782) @k-rajat19
912
+
913
+ #### `@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')
914
+
915
+ Same changes as in `@mui/x-data-grid-pro@7.23.2`, plus:
916
+
917
+ - [DataGridPremium] Fix group column ignoring `valueOptions` for `singleSelect` column type (#15754) @arminmeh
918
+
919
+ ### Date and Time Pickers
920
+
921
+ #### `@mui/x-date-pickers@7.23.2`
922
+
923
+ - [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
924
+
925
+ #### `@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')
926
+
927
+ Same changes as in `@mui/x-date-pickers@7.23.2`.
928
+
929
+ ### Charts
930
+
931
+ #### `@mui/x-charts@7.23.2`
932
+
933
+ - [charts] Fix key generation for the ChartsGrid (#15864) @alexfauquette
934
+ - [charts] Fix scatter dataset with missing data (#15804) @alexfauquette
935
+
936
+ #### `@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')
937
+
938
+ Same changes as in `@mui/x-charts@7.23.2`.
939
+
940
+ #### `@mui/x-tree-view@v7.23.2`
941
+
942
+ No changes, releasing to keep the versions in sync.
943
+
944
+ #### `@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')
945
+
946
+ Releasing to benefit from license package fix (#15818).
947
+
948
+ ### Docs
949
+
950
+ - [docs] Fix typo in charts axis documentation (#15746) @JCQuintas
951
+ - [docs] Improve Pickers accessible DOM structure description (#15752) @LukasTy
952
+ - [docs] Use `updateRows` method for list view demos (#15824) @KenanYusuf
953
+ - [docs] Use date library version from package dev dependencies for sandboxes (#15767) @LukasTy
954
+
955
+ ### Core
956
+
957
+ - [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
958
+ - [license] Use `console.log` for the error message on Codesandbox to avoid rendering error (#15818) @arminmeh
959
+
960
+ ## 7.23.1
961
+
962
+ _Dec 5, 2024_
963
+
964
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
965
+
966
+ - 🌍 Improve German locale on the Data Grid component
967
+ - 🐞 Bugfixes
968
+
969
+ Special thanks go out to the community contributors who have helped make this release possible:
970
+ @lhilgert9.
971
+
972
+ Following are all team members who have contributed to this release:
973
+ @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @LukasTy and @MBilalShafi.
974
+
975
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
976
+
977
+ ### Data Grid
978
+
979
+ #### `@mui/x-data-grid@7.23.1`
980
+
981
+ - [DataGrid] Make column autosizing work with flex columns (#15712) @cherniavskii
982
+ - [l10n] Improve German (de-DE) locale (#15641) @lhilgert9
983
+
984
+ #### `@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')
985
+
986
+ Same changes as in `@mui/x-data-grid@7.23.1`, plus:
987
+
988
+ - [DataGridPro] Cleanup pinned rows on removal (#15702) @cherniavskii
989
+
990
+ #### `@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')
991
+
992
+ Same changes as in `@mui/x-data-grid-pro@7.23.1`.
993
+
994
+ ### Date and Time Pickers
995
+
996
+ #### `@mui/x-date-pickers@7.23.1`
997
+
998
+ - [TimePicker] Prevent mouse events after `touchend` event (#15430) @arthurbalduini
999
+
1000
+ #### `@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')
1001
+
1002
+ Same changes as in `@mui/x-date-pickers@7.23.1`.
1003
+
1004
+ ### Charts
1005
+
1006
+ #### `@mui/x-charts@7.23.1`
1007
+
1008
+ - [charts] Improve SVG `pattern` and `gradient` support (#15724) @JCQuintas
1009
+
1010
+ #### `@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')
1011
+
1012
+ Same changes as in `@mui/x-charts@7.23.1`.
1013
+
1014
+ ### Docs
1015
+
1016
+ - [docs] Fix Pickers theme augmentation example (#15675) @LukasTy
1017
+ - [docs] Remove duplicated warning (#15715) @cherniavskii
1018
+ - [test] Force hover in headless Chrome (#15711) @cherniavskii
1019
+ - [docs-infra] Bump `@mui/internal-markdown` to support nested demo imports (#15738) @alexfauquette
1020
+ - [docs] Improve SEO titles for the Data Grid (#15695) @MBilalShafi
1021
+
1022
+ ### Core
1023
+
1024
+ - [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
1025
+
468
1026
  ## 7.23.0
469
1027
 
470
1028
  _Nov 29, 2024_
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import reactMajor from "../reactMajor.js";
3
+
4
+ // Compatibility shim that ensures stable props object for forwardRef components
5
+ // Fixes https://github.com/facebook/react/issues/31613
6
+ // We ensure that the ref is always present in the props object (even if that's not the case for older versions of React) to avoid the footgun of spreading props over the ref in the newer versions of React.
7
+ // Footgun: <Component ref={ref} {...props} /> will break past React 19, but the types will now warn us that we should use <Component {...props} ref={ref} /> instead.
8
+ export const forwardRef = render => {
9
+ if (reactMajor >= 19) {
10
+ const Component = props => render(props, props.ref ?? null);
11
+ Component.displayName = render.displayName ?? render.name;
12
+ return Component;
13
+ }
14
+ return /*#__PURE__*/React.forwardRef(render);
15
+ };
@@ -0,0 +1 @@
1
+ export * from "./forwardRef.js";
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare const forwardRef: <T, P = {}>(render: React.ForwardRefRenderFunction<T, P & {
3
+ ref: React.Ref<T>;
4
+ }>) => React.ForwardRefExoticComponent<P> | React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.forwardRef = void 0;
9
+ var React = _interopRequireWildcard(require("react"));
10
+ var _reactMajor = _interopRequireDefault(require("../reactMajor"));
11
+ // Compatibility shim that ensures stable props object for forwardRef components
12
+ // Fixes https://github.com/facebook/react/issues/31613
13
+ // We ensure that the ref is always present in the props object (even if that's not the case for older versions of React) to avoid the footgun of spreading props over the ref in the newer versions of React.
14
+ // Footgun: <Component ref={ref} {...props} /> will break past React 19, but the types will now warn us that we should use <Component {...props} ref={ref} /> instead.
15
+ const forwardRef = render => {
16
+ if (_reactMajor.default >= 19) {
17
+ const Component = props => render(props, props.ref ?? null);
18
+ Component.displayName = render.displayName ?? render.name;
19
+ return Component;
20
+ }
21
+ return /*#__PURE__*/React.forwardRef(render);
22
+ };
23
+ exports.forwardRef = forwardRef;
@@ -0,0 +1 @@
1
+ export * from './forwardRef';
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _forwardRef = require("./forwardRef");
7
+ Object.keys(_forwardRef).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _forwardRef[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _forwardRef[key];
14
+ }
15
+ });
16
+ });
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "../esm/forwardRef/index.js",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import reactMajor from "../reactMajor.js";
3
+
4
+ // Compatibility shim that ensures stable props object for forwardRef components
5
+ // Fixes https://github.com/facebook/react/issues/31613
6
+ // We ensure that the ref is always present in the props object (even if that's not the case for older versions of React) to avoid the footgun of spreading props over the ref in the newer versions of React.
7
+ // Footgun: <Component ref={ref} {...props} /> will break past React 19, but the types will now warn us that we should use <Component {...props} ref={ref} /> instead.
8
+ export const forwardRef = render => {
9
+ if (reactMajor >= 19) {
10
+ const Component = props => render(props, props.ref ?? null);
11
+ Component.displayName = render.displayName ?? render.name;
12
+ return Component;
13
+ }
14
+ return /*#__PURE__*/React.forwardRef(render);
15
+ };
@@ -0,0 +1 @@
1
+ export * from "./forwardRef.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-internals",
3
- "version": "8.0.0-alpha.2",
3
+ "version": "8.0.0-alpha.6",
4
4
  "description": "Utility functions for the MUI X packages (internal use only).",
5
5
  "author": "MUI Team",
6
6
  "license": "MIT",