@mui/x-data-grid-pro 6.12.0 → 6.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,143 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 6.13.0
7
+
8
+ _Sep 8, 2023_
9
+
10
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎁 Fix `anchorRef` behavior on range pickers (#10077) @LukasTy
13
+
14
+ The range picker popup will now be anchored to the first input element and left aligned like other pickers.
15
+ - 🌍 Improve Slovak (sk-SK) locale on the data grid
16
+ - 🐞 Bugfixes
17
+ - 📚 Documentation improvements
18
+
19
+ ### Data Grid
20
+
21
+ #### `@mui/x-data-grid@6.13.0`
22
+
23
+ - [DataGrid] Allow to override the default overlay height in `autoHeight` mode (#10203) @cherniavskii
24
+ - [DataGrid] Allow to override the default row count component in footer (#10063) @hungmanhle
25
+ - [DataGrid] Fix an error when hovering on a row, the background changed to white (#10214) @chucamphong
26
+ - [DataGrid] Fix custom column docs, remove legacy `extendType` (#10175) @oliviertassinari
27
+ - [DataGrid] Make the pinned rows be on top of the no rows overlay (#9986) @DanailH
28
+ - [l10n] Improve Slovak (sk-SK) locale (#10182) @msidlo
29
+
30
+ #### `@mui/x-data-grid-pro@6.13.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
31
+
32
+ Same changes as in `@mui/x-data-grid@6.13.0`, plus:
33
+
34
+ - [DataGridPro] Fix column resize with pinned rows (#10229) @cherniavskii
35
+
36
+ #### `@mui/x-data-grid-premium@6.13.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
37
+
38
+ Same changes as in `@mui/x-data-grid-pro@6.13.0`, plus:
39
+
40
+ - [DataGridPremium] Fix aggregated column resizing (#10079) @cherniavskii
41
+
42
+ ### Date Pickers
43
+
44
+ #### `@mui/x-date-pickers@6.13.0`
45
+
46
+ - [pickers] Respect the adapter locale in `AdapterMoment.getWeekdays` (#10221) @flaviendelangle
47
+
48
+ #### `@mui/x-date-pickers-pro@6.13.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
49
+
50
+ Same changes as in `@mui/x-date-pickers@6.13.0`, plus:
51
+
52
+ - [DateRangePicker] Fix `anchorRef` behavior (#10077) @LukasTy
53
+
54
+ ### Charts / `@mui/x-charts@6.0.0-alpha.10`
55
+
56
+ - [charts] Remove require condition from package.json exports (#10272) @Janpot
57
+
58
+ ### Tree View / `@mui/x-tree-view@6.0.0-alpha.2`
59
+
60
+ - [TreeView] Add missing export (#10245) @flaviendelangle
61
+
62
+ ### Docs
63
+
64
+ - [docs] Add a `Getting Started` page for the Tree View (#10218) @flaviendelangle
65
+ - [docs] Add pickers `Custom opening button` page (#10200) @flaviendelangle
66
+ - [docs] Add pie chart demo with a center label (#10220) @giladappsforce
67
+ - [docs] Do not document ignored components (#10258) @flaviendelangle
68
+ - [docs] Fix charts demo using too deep import (#10263) @LukasTy
69
+ - [docs] Fix `e.g.` typo @oliviertassinari
70
+ - [docs] Fix npm package indentation @oliviertassinari
71
+ - [docs] Fix typo in tree view docs @oliviertassinari
72
+ - [docs] Improve the week picker example (#8257) @flaviendelangle
73
+ - [docs] Include code links in the data grid demo (#10219) @cherniavskii
74
+ - [docs] Polish page for SEO (#10216) @oliviertassinari
75
+ - [docs] Use `Base UI` `Portal` for the quick filter recipe (#10188) @DanailH
76
+
77
+ ### Core
78
+
79
+ - [core] Finish migration to GA4 @oliviertassinari
80
+ - [core] Fix yarn docs:create-playground script @oliviertassinari
81
+ - [core] Move @mui/base from peer dependency to dependency (#10215) @oliviertassinari
82
+ - [core] Prevent `e.g.` typo (#10193) @oliviertassinari
83
+ - [core] Remove unused `babel-plugin-tester` package (#10243) @LukasTy
84
+
85
+ ## 6.12.1
86
+
87
+ _Aug 31, 2023_
88
+
89
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
90
+
91
+ - 🏎️ Perf improvement for line charts
92
+ - 🎁 Add `referenceDate` prop on pickers (#9991) @flaviendelangle
93
+ Find out more about this feature in the [documentation section](https://mui.com/x/react-date-pickers/base-concepts/#reference-date-when-no-value-is-defined).
94
+ - 🐞 Bugfixes
95
+ - 📚 Documentation improvements
96
+
97
+ ### Data Grid
98
+
99
+ #### `@mui/x-data-grid@6.12.1`
100
+
101
+ - [DataGrid] Add a recipe showing how to render components outside of the grid (#10121) @DanailH
102
+ - [DataGrid] Fix `valueFormatter` being persisted on column type change (#10041) @cherniavskii
103
+ - [DataGrid] Fix error when keyboard navigating an empty grid (#10081) @romgrk
104
+ - [DataGrid] Replace timeout with `useTimeout` (#10179) @romgrk
105
+
106
+ #### `@mui/x-data-grid-pro@6.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
107
+
108
+ Same changes as in `@mui/x-data-grid@6.12.1`.
109
+
110
+ #### `@mui/x-data-grid-premium@6.12.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
111
+
112
+ Same changes as in `@mui/x-data-grid-pro@6.12.1`.
113
+
114
+ ### Date Pickers
115
+
116
+ #### `@mui/x-date-pickers@6.12.1`
117
+
118
+ - [pickers] Add `referenceDate` on picker components (and `DateRangeCalendar`) (#9991) @flaviendelangle
119
+
120
+ #### `@mui/x-date-pickers-pro@6.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
121
+
122
+ Same changes as in `@mui/x-date-pickers@6.12.1`.
123
+
124
+ ### Charts / `@mui/x-charts@6.0.0-alpha.9`
125
+
126
+ - [charts] Move the line item highligh into a dedicated component (#10117) @alexfauquette
127
+
128
+ ### Docs
129
+
130
+ - [docs] Add `DemoContainer` and `DemoItem` JSDoc (#10186) @LukasTy
131
+ - [docs] Add link to `custom layout` page (#10184) @LukasTy
132
+ - [docs] Add tree view nav item (#10181) @LukasTy
133
+ - [docs] Fix wrong chart tooltip reference (#10169) @oliviertassinari
134
+ - [docs] Improve chart SEO (#10170) @oliviertassinari
135
+ - [docs] Precise expired license key condition (#10165) @oliviertassinari
136
+ - [docs] Reorganize the page menu (#10139) @alexfauquette
137
+
138
+ ### Core
139
+
140
+ - [core] Update babel configs (#9713) @romgrk
141
+ - [test] Disable false positive e2e test on webkit (#10187) @LukasTy
142
+
6
143
  ## 6.12.0
7
144
 
8
145
  _Aug 25, 2023_
@@ -17,22 +154,22 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
17
154
 
18
155
  ### Data Grid
19
156
 
20
- #### `@mui/x-data-grid@v6.12.0`
157
+ #### `@mui/x-data-grid@6.12.0`
21
158
 
22
159
  - [DataGrid] Allow print export for more than 100 rows (#10045) @MBilalShafi
23
160
  - [l10n] Improve Ukrainian (uk-UA) locale (#10076) @mkundos
24
161
 
25
- #### `@mui/x-data-grid-pro@v6.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
162
+ #### `@mui/x-data-grid-pro@6.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
26
163
 
27
- Same changes as in `@mui/x-data-grid@v6.12.0`.
164
+ Same changes as in `@mui/x-data-grid@6.12.0`.
28
165
 
29
- #### `@mui/x-data-grid-premium@v6.12.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
166
+ #### `@mui/x-data-grid-premium@6.12.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
30
167
 
31
- Same changes as in `@mui/x-data-grid-pro@v6.12.0`.
168
+ Same changes as in `@mui/x-data-grid-pro@6.12.0`.
32
169
 
33
170
  ### Date Pickers
34
171
 
35
- #### `@mui/x-date-pickers@v6.12.0`
172
+ #### `@mui/x-date-pickers@6.12.0`
36
173
 
37
174
  - [fields] Do not clamp day of month (#9973) @flaviendelangle
38
175
  - [pickers] Fix `ownerState` on `desktopPaper` slot props (#10103) @LukasTy
@@ -42,11 +179,11 @@ Same changes as in `@mui/x-data-grid-pro@v6.12.0`.
42
179
  - [pickers] Make `openPickerButton` toggle picker (#10109) @noraleonte
43
180
  - [pickers] Update `reduceAnimations` default rule (#9864) @LukasTy
44
181
 
45
- #### `@mui/x-date-pickers-pro@v6.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
182
+ #### `@mui/x-date-pickers-pro@6.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
46
183
 
47
- Same changes as in `@mui/x-date-pickers@v6.12.0`.
184
+ Same changes as in `@mui/x-date-pickers@6.12.0`.
48
185
 
49
- ### Charts / `@mui/x-charts@6.12.0`
186
+ ### Charts / `@mui/x-charts@6.0.0-alpha.8`
50
187
 
51
188
  - [charts] Fix import issue (#10111) @alexfauquette
52
189
  - [charts] Fix `slotProps` propagation (#10105) @alexfauquette
@@ -83,7 +220,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
83
220
 
84
221
  ### Data Grid
85
222
 
86
- #### `@mui/x-data-grid@v6.11.2`
223
+ #### `@mui/x-data-grid@6.11.2`
87
224
 
88
225
  - [DataGrid] Fix `eval` blocked by CSP (#9863) @romgrk
89
226
  - [DataGrid] Fix row id bug (#10051) @romgrk
@@ -93,26 +230,26 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
93
230
  - [l10n] Improve Chinese (zh-CN) and Chinese(traditional) (zh-TW) locales (#9999) @MyNameIsTakenOMG
94
231
  - [l10n] Improve Spanish (es-ES) locale (#10037) @Macampu420
95
232
 
96
- #### `@mui/x-data-grid-pro@v6.11.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
233
+ #### `@mui/x-data-grid-pro@6.11.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
97
234
 
98
- Same changes as in `@mui/x-data-grid@v6.11.2`.
235
+ Same changes as in `@mui/x-data-grid@6.11.2`.
99
236
 
100
- #### `@mui/x-data-grid-premium@v6.11.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
237
+ #### `@mui/x-data-grid-premium@6.11.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
101
238
 
102
- Same changes as in `@mui/x-data-grid-pro@v6.11.2`.
239
+ Same changes as in `@mui/x-data-grid-pro@6.11.2`.
103
240
 
104
241
  ### Date Pickers
105
242
 
106
- #### `@mui/x-date-pickers@v6.11.2`
243
+ #### `@mui/x-date-pickers@6.11.2`
107
244
 
108
245
  - [pickers] Fix month switcher RTL (#10003) @alexfauquette
109
246
  - [pickers] Follow-up on using device motion reduction preference (#9858) @LukasTy
110
247
  - [pickers] Pass the shortcut information in the `onChange` context (#9985) @flaviendelangle
111
248
  - [pickers] Replace `Grid` toolbar component with a styled `div` (#10052) @LukasTy
112
249
 
113
- #### `@mui/x-date-pickers-pro@v6.11.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
250
+ #### `@mui/x-date-pickers-pro@6.11.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
114
251
 
115
- Same changes as in `@mui/x-date-pickers@v6.11.2`.
252
+ Same changes as in `@mui/x-date-pickers@6.11.2`.
116
253
 
117
254
  ### Docs
118
255
 
@@ -167,7 +304,7 @@ Same changes as in `@mui/x-data-grid-pro@6.11.1`.
167
304
 
168
305
  Same changes as in `@mui/x-date-pickers@6.11.1`.
169
306
 
170
- ### Charts / `@mui/x-charts@v6.0.0-alpha.7`
307
+ ### Charts / `@mui/x-charts@6.0.0-alpha.7`
171
308
 
172
309
  - [charts] Fix label and tick alignment (#9952) @LukasTy
173
310
  - [charts] Remove not functional component `styleOverrides` (#9996) @LukasTy
@@ -175,7 +312,7 @@ Same changes as in `@mui/x-date-pickers@6.11.1`.
175
312
  - [charts] Use `slot`/`slotProps` for customization (#9744) @alexfauquette
176
313
  - [charts] Extend cheerful fiesta palette (#9980) @noraleonte
177
314
 
178
- ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.1`
315
+ ### Tree View / `@mui/x-tree-view@6.0.0-alpha.1`
179
316
 
180
317
  - [TreeView] Add theme augmentation (#9967) @flaviendelangle
181
318
 
@@ -205,7 +342,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
205
342
 
206
343
  ### Data Grid
207
344
 
208
- #### `@mui/x-data-grid@v6.11.0`
345
+ #### `@mui/x-data-grid@6.11.0`
209
346
 
210
347
  - [DataGrid] Add `ariaV7` experimental flag (#9496) @cherniavskii
211
348
  - [DataGrid] Fix cell size when column width is set to `undefined` (#9871) @gitstart
@@ -213,17 +350,17 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
213
350
  - [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
214
351
  - [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
215
352
 
216
- #### `@mui/x-data-grid-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
353
+ #### `@mui/x-data-grid-pro@6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
217
354
 
218
- Same changes as in `@mui/x-data-grid@v6.11.0`.
355
+ Same changes as in `@mui/x-data-grid@6.11.0`.
219
356
 
220
- #### `@mui/x-data-grid-premium@v6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
357
+ #### `@mui/x-data-grid-premium@6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
221
358
 
222
- Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
359
+ Same changes as in `@mui/x-data-grid-pro@6.11.0`.
223
360
 
224
361
  ### Date Pickers
225
362
 
226
- #### `@mui/x-date-pickers@v6.11.0`
363
+ #### `@mui/x-date-pickers@6.11.0`
227
364
 
228
365
  - [fields] Correctly handle events with a complete value insertion (#9896) @LukasTy
229
366
  - [fields] Fix hours editing on dayjs with timezone and DST (#9901) @flaviendelangle
@@ -236,18 +373,18 @@ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
236
373
  - [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
237
374
  - [pickers] Use device motion reduction preference (#9823) @LukasTy
238
375
 
239
- #### `@mui/x-date-pickers-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
376
+ #### `@mui/x-date-pickers-pro@6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
240
377
 
241
- Same changes as in `@mui/x-date-pickers@v6.11.0`.
378
+ Same changes as in `@mui/x-date-pickers@6.11.0`.
242
379
 
243
- ### Charts / `@mui/x-charts@v6.0.0-alpha.6`
380
+ ### Charts / `@mui/x-charts@6.0.0-alpha.6`
244
381
 
245
382
  - [charts] Add TS definition to the exported elements (#9885) @alexfauquette
246
383
  - [charts] Add sparkline (#9662) @alexfauquette
247
384
  - [charts] Fix missing configuration types (#9886) @alexfauquette
248
385
  - [charts] Introduce dataset to simplify plot of data from API (#9774) @alexfauquette
249
386
 
250
- ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.0`
387
+ ### Tree View / `@mui/x-tree-view@6.0.0-alpha.0`
251
388
 
252
389
  - [TreeView] Add missing exported types (#9862) @flaviendelangle
253
390
  - [TreeView] Add tree view to changelog generator script (#9903) @MBilalShafi
@@ -292,34 +429,34 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
292
429
 
293
430
  ### Data Grid
294
431
 
295
- #### `@mui/x-data-grid@v6.10.2`
432
+ #### `@mui/x-data-grid@6.10.2`
296
433
 
297
434
  - [DataGrid] Fix quick filter & aggregation error (#9729) @romgrk
298
435
  - [DataGrid] Fix row click propagation causing error in nested grid (#9741) @cherniavskii
299
436
  - [DataGrid] Keep focused cell in the DOM (#7357) @yaredtsy
300
437
  - [l10n] Improve Finnish (fi-FI) locale (#9746) @sambbaahh
301
438
 
302
- #### `@mui/x-data-grid-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
439
+ #### `@mui/x-data-grid-pro@6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
303
440
 
304
- Same changes as in `@mui/x-data-grid@v6.10.2`.
441
+ Same changes as in `@mui/x-data-grid@6.10.2`.
305
442
 
306
- #### `@mui/x-data-grid-premium@v6.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
443
+ #### `@mui/x-data-grid-premium@6.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
307
444
 
308
- Same changes as in `@mui/x-data-grid-pro@v6.10.2`, plus:
445
+ Same changes as in `@mui/x-data-grid-pro@6.10.2`, plus:
309
446
 
310
447
  - [DataGridPremium] Allow to customize grouping cell offset (#9417) @cherniavskii
311
448
 
312
449
  ### Date Pickers
313
450
 
314
- #### `@mui/x-date-pickers@v6.10.2`
451
+ #### `@mui/x-date-pickers@6.10.2`
315
452
 
316
453
  - [pickers] Remove the `endOfDate` from `DigitalClock` timeOptions (#9800) @noraleonte
317
454
 
318
- #### `@mui/x-date-pickers-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
455
+ #### `@mui/x-date-pickers-pro@6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
319
456
 
320
- Same changes as in `@mui/x-date-pickers@v6.10.2`.
457
+ Same changes as in `@mui/x-date-pickers@6.10.2`.
321
458
 
322
- ### Charts / `@mui/x-charts@v6.0.0-alpha.5`
459
+ ### Charts / `@mui/x-charts@6.0.0-alpha.5`
323
460
 
324
461
  - [charts] Improve JSDoc for axis-related props (#9779) @flaviendelangle
325
462
  - [charts] Improve performances of Scatter component (#9527) @flaviendelangle
@@ -357,7 +494,7 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
357
494
 
358
495
  ### Data Grid
359
496
 
360
- #### `@mui/x-data-grid@v6.10.1`
497
+ #### `@mui/x-data-grid@6.10.1`
361
498
 
362
499
  - [DataGrid] Filtering performance: compile filter applier with `eval` (#9635) @romgrk
363
500
  - [DataGrid] Fix CSV export for values containing double quotes (#9667) @cherniavskii
@@ -367,29 +504,29 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
367
504
  - [DataGrid] Update focused cell on page change via keyboard (#9203) @m4theushw
368
505
  - [DataGrid] Wait for remote stylesheets to load before print (#9665) @cherniavskii
369
506
 
370
- #### `@mui/x-data-grid-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
507
+ #### `@mui/x-data-grid-pro@6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
371
508
 
372
- Same changes as in `@mui/x-data-grid@v6.10.1`, plus:
509
+ Same changes as in `@mui/x-data-grid@6.10.1`, plus:
373
510
 
374
511
  - [DataGridPro] Improve tree data performance (#9682) @cherniavskii
375
512
  - [DataGridPro] Prevent affecting cells from child DataGrid when resizing a column (#9670) @m4theushw
376
513
 
377
- #### `@mui/x-data-grid-premium@v6.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
514
+ #### `@mui/x-data-grid-premium@6.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
378
515
 
379
- Same changes as in `@mui/x-data-grid-pro@v6.10.1`.
516
+ Same changes as in `@mui/x-data-grid-pro@6.10.1`.
380
517
 
381
518
  ### Date Pickers
382
519
 
383
- #### `@mui/x-date-pickers@v6.10.1`
520
+ #### `@mui/x-date-pickers@6.10.1`
384
521
 
385
522
  - [fields] Fix `format` and `value` update order (#9715) @LukasTy
386
523
  - [pickers] Remove `require` usage in comment (#9675) @LukasTy
387
524
 
388
- #### `@mui/x-date-pickers-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
525
+ #### `@mui/x-date-pickers-pro@6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
389
526
 
390
- Same changes as in `@mui/x-date-pickers@v6.10.1`.
527
+ Same changes as in `@mui/x-date-pickers@6.10.1`.
391
528
 
392
- ### Charts / `@mui/x-charts@v6.0.0-alpha.4`
529
+ ### Charts / `@mui/x-charts@6.0.0-alpha.4`
393
530
 
394
531
  - [charts] Fix blinking in responsive charts and extremums computation for line charts (#9734) @alexfauquette
395
532
  - [charts] Use ESM with imports (#9645) @alexfauquette
@@ -131,8 +131,8 @@ const VirtualScrollerPinnedRows = styled('div', {
131
131
  const boxShadowColor = getBoxShadowColor(theme);
132
132
  return _extends({
133
133
  position: 'sticky',
134
- // should be above the detail panel
135
- zIndex: 3,
134
+ // should be above the no rows overlay
135
+ zIndex: 4,
136
136
  backgroundColor: (theme.vars || theme).palette.background.default
137
137
  }, theme.vars ? {
138
138
  backgroundImage: (_theme$vars$overlays2 = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays2[2]
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
4
4
  import clsx from 'clsx';
5
5
  import { unstable_composeClasses as composeClasses, unstable_useEventCallback as useEventCallback } from '@mui/utils';
6
6
  import { styled } from '@mui/system';
7
- import { getTotalHeaderHeight } from '@mui/x-data-grid/internals';
7
+ import { getTotalHeaderHeight, useTimeout } from '@mui/x-data-grid/internals';
8
8
  import { getDataGridUtilityClass, gridClasses, gridDensityFactorSelector, useGridApiContext, useGridApiEventHandler, useGridSelector, gridColumnsTotalWidthSelector } from '@mui/x-data-grid';
9
9
  import { useGridRootProps } from '../hooks/utils/useGridRootProps';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -47,7 +47,7 @@ function GridScrollAreaRaw(props) {
47
47
  } = props;
48
48
  const rootRef = React.useRef(null);
49
49
  const apiRef = useGridApiContext();
50
- const timeout = React.useRef();
50
+ const timeout = useTimeout();
51
51
  const [dragging, setDragging] = React.useState(false);
52
52
  const [canScrollMore, setCanScrollMore] = React.useState(true);
53
53
  const densityFactor = useGridSelector(apiRef, gridDensityFactorSelector);
@@ -92,20 +92,15 @@ function GridScrollAreaRaw(props) {
92
92
  throw new Error('MUI: Wrong drag direction');
93
93
  }
94
94
  offset = (offset - CLIFF) * SLOP + CLIFF;
95
- clearTimeout(timeout.current);
95
+
96
96
  // Avoid freeze and inertia.
97
- timeout.current = setTimeout(() => {
97
+ timeout.start(0, () => {
98
98
  apiRef.current.scroll({
99
99
  left: scrollPosition.current.left + offset,
100
100
  top: scrollPosition.current.top
101
101
  });
102
102
  });
103
- }, [scrollDirection, apiRef]);
104
- React.useEffect(() => {
105
- return () => {
106
- clearTimeout(timeout.current);
107
- };
108
- }, []);
103
+ }, [scrollDirection, apiRef, timeout]);
109
104
  const handleColumnHeaderDragStart = useEventCallback(() => {
110
105
  setDragging(true);
111
106
  });
@@ -133,20 +133,14 @@ export const useGridColumnResize = (apiRef, props) => {
133
133
  const finishResize = nativeEvent => {
134
134
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
135
135
  stopListening();
136
- apiRef.current.updateColumns([colDefRef.current]);
136
+ if (colDefRef.current) {
137
+ apiRef.current.setColumnWidth(colDefRef.current.field, colDefRef.current.width);
138
+ logger.debug(`Updating col ${colDefRef.current.field} with new width: ${colDefRef.current.width}`);
139
+ }
137
140
  clearTimeout(stopResizeEventTimeout.current);
138
141
  stopResizeEventTimeout.current = setTimeout(() => {
139
142
  apiRef.current.publishEvent('columnResizeStop', null, nativeEvent);
140
- if (colDefRef.current) {
141
- var _colDefRef$current;
142
- apiRef.current.publishEvent('columnWidthChange', {
143
- element: colElementRef.current,
144
- colDef: colDefRef.current,
145
- width: (_colDefRef$current = colDefRef.current) == null ? void 0 : _colDefRef$current.computedWidth
146
- }, nativeEvent);
147
- }
148
143
  });
149
- logger.debug(`Updating col ${colDefRef.current.field} with new width: ${colDefRef.current.width}`);
150
144
  };
151
145
  const handleResizeMouseUp = useEventCallback(finishResize);
152
146
  const handleResizeMouseMove = useEventCallback(nativeEvent => {
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.12.0
2
+ * @mui/x-data-grid-pro v6.13.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -131,8 +131,8 @@ var VirtualScrollerPinnedRows = styled('div', {
131
131
  var boxShadowColor = getBoxShadowColor(theme);
132
132
  return _extends({
133
133
  position: 'sticky',
134
- // should be above the detail panel
135
- zIndex: 3,
134
+ // should be above the no rows overlay
135
+ zIndex: 4,
136
136
  backgroundColor: (theme.vars || theme).palette.background.default
137
137
  }, theme.vars ? {
138
138
  backgroundImage: (_theme$vars$overlays2 = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays2[2]
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import clsx from 'clsx';
7
7
  import { unstable_composeClasses as composeClasses, unstable_useEventCallback as useEventCallback } from '@mui/utils';
8
8
  import { styled } from '@mui/system';
9
- import { getTotalHeaderHeight } from '@mui/x-data-grid/internals';
9
+ import { getTotalHeaderHeight, useTimeout } from '@mui/x-data-grid/internals';
10
10
  import { getDataGridUtilityClass, gridClasses, gridDensityFactorSelector, useGridApiContext, useGridApiEventHandler, useGridSelector, gridColumnsTotalWidthSelector } from '@mui/x-data-grid';
11
11
  import { useGridRootProps } from '../hooks/utils/useGridRootProps';
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -44,7 +44,7 @@ function GridScrollAreaRaw(props) {
44
44
  var scrollDirection = props.scrollDirection;
45
45
  var rootRef = React.useRef(null);
46
46
  var apiRef = useGridApiContext();
47
- var timeout = React.useRef();
47
+ var timeout = useTimeout();
48
48
  var _React$useState = React.useState(false),
49
49
  _React$useState2 = _slicedToArray(_React$useState, 2),
50
50
  dragging = _React$useState2[0],
@@ -95,20 +95,15 @@ function GridScrollAreaRaw(props) {
95
95
  throw new Error('MUI: Wrong drag direction');
96
96
  }
97
97
  offset = (offset - CLIFF) * SLOP + CLIFF;
98
- clearTimeout(timeout.current);
98
+
99
99
  // Avoid freeze and inertia.
100
- timeout.current = setTimeout(function () {
100
+ timeout.start(0, function () {
101
101
  apiRef.current.scroll({
102
102
  left: scrollPosition.current.left + offset,
103
103
  top: scrollPosition.current.top
104
104
  });
105
105
  });
106
- }, [scrollDirection, apiRef]);
107
- React.useEffect(function () {
108
- return function () {
109
- clearTimeout(timeout.current);
110
- };
111
- }, []);
106
+ }, [scrollDirection, apiRef, timeout]);
112
107
  var handleColumnHeaderDragStart = useEventCallback(function () {
113
108
  setDragging(true);
114
109
  });
@@ -136,20 +136,14 @@ export var useGridColumnResize = function useGridColumnResize(apiRef, props) {
136
136
  var finishResize = function finishResize(nativeEvent) {
137
137
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
138
138
  stopListening();
139
- apiRef.current.updateColumns([colDefRef.current]);
139
+ if (colDefRef.current) {
140
+ apiRef.current.setColumnWidth(colDefRef.current.field, colDefRef.current.width);
141
+ logger.debug("Updating col ".concat(colDefRef.current.field, " with new width: ").concat(colDefRef.current.width));
142
+ }
140
143
  clearTimeout(stopResizeEventTimeout.current);
141
144
  stopResizeEventTimeout.current = setTimeout(function () {
142
145
  apiRef.current.publishEvent('columnResizeStop', null, nativeEvent);
143
- if (colDefRef.current) {
144
- var _colDefRef$current;
145
- apiRef.current.publishEvent('columnWidthChange', {
146
- element: colElementRef.current,
147
- colDef: colDefRef.current,
148
- width: (_colDefRef$current = colDefRef.current) == null ? void 0 : _colDefRef$current.computedWidth
149
- }, nativeEvent);
150
- }
151
146
  });
152
- logger.debug("Updating col ".concat(colDefRef.current.field, " with new width: ").concat(colDefRef.current.width));
153
147
  };
154
148
  var handleResizeMouseUp = useEventCallback(finishResize);
155
149
  var handleResizeMouseMove = useEventCallback(function (nativeEvent) {
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.12.0
2
+ * @mui/x-data-grid-pro v6.13.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -11,7 +11,7 @@ export function findGroupHeaderElementsFromField(elem, field) {
11
11
  return Array.from((_elem$querySelectorAl = elem.querySelectorAll("[data-fields*=\"|-".concat(field, "-|\"]"))) != null ? _elem$querySelectorAl : []);
12
12
  }
13
13
  export function findGridCellElementsFromCol(col, api) {
14
- var _api$virtualScrollerR;
14
+ var _api$virtualScrollerR, _api$virtualScrollerR2;
15
15
  var root = findParentElementFromClassName(col, gridClasses.root);
16
16
  if (!root) {
17
17
  throw new Error('MUI: The root element is not found.');
@@ -22,11 +22,10 @@ export function findGridCellElementsFromCol(col, api) {
22
22
  }
23
23
  var colIndex = Number(ariaColIndex) - 1;
24
24
  var cells = [];
25
- var virtualScrollerContent = (_api$virtualScrollerR = api.virtualScrollerRef) == null || (_api$virtualScrollerR = _api$virtualScrollerR.current) == null ? void 0 : _api$virtualScrollerR.firstElementChild;
26
- if (!virtualScrollerContent) {
25
+ if (!((_api$virtualScrollerR = api.virtualScrollerRef) != null && _api$virtualScrollerR.current)) {
27
26
  return [];
28
27
  }
29
- var renderedRowElements = virtualScrollerContent.querySelectorAll(":scope > div > .".concat(gridClasses.row) // Use > to ignore rows from detail panels
28
+ var renderedRowElements = (_api$virtualScrollerR2 = api.virtualScrollerRef) == null ? void 0 : _api$virtualScrollerR2.current.querySelectorAll(":scope > div > div > .".concat(gridClasses.row) // Use > to ignore rows from nested data grids (e.g. in detail panel)
30
29
  );
31
30
  renderedRowElements.forEach(function (rowElement) {
32
31
  var rowId = rowElement.getAttribute('data-id');
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTY5MjkxNDQwMDAwMA==";
3
+ var releaseInfo = "MTY5NDEyMDQwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -128,8 +128,8 @@ const VirtualScrollerPinnedRows = styled('div', {
128
128
  const boxShadowColor = getBoxShadowColor(theme);
129
129
  return _extends({
130
130
  position: 'sticky',
131
- // should be above the detail panel
132
- zIndex: 3,
131
+ // should be above the no rows overlay
132
+ zIndex: 4,
133
133
  backgroundColor: (theme.vars || theme).palette.background.default
134
134
  }, theme.vars ? {
135
135
  backgroundImage: theme.vars.overlays?.[2]
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
4
4
  import clsx from 'clsx';
5
5
  import { unstable_composeClasses as composeClasses, unstable_useEventCallback as useEventCallback } from '@mui/utils';
6
6
  import { styled } from '@mui/system';
7
- import { getTotalHeaderHeight } from '@mui/x-data-grid/internals';
7
+ import { getTotalHeaderHeight, useTimeout } from '@mui/x-data-grid/internals';
8
8
  import { getDataGridUtilityClass, gridClasses, gridDensityFactorSelector, useGridApiContext, useGridApiEventHandler, useGridSelector, gridColumnsTotalWidthSelector } from '@mui/x-data-grid';
9
9
  import { useGridRootProps } from '../hooks/utils/useGridRootProps';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -47,7 +47,7 @@ function GridScrollAreaRaw(props) {
47
47
  } = props;
48
48
  const rootRef = React.useRef(null);
49
49
  const apiRef = useGridApiContext();
50
- const timeout = React.useRef();
50
+ const timeout = useTimeout();
51
51
  const [dragging, setDragging] = React.useState(false);
52
52
  const [canScrollMore, setCanScrollMore] = React.useState(true);
53
53
  const densityFactor = useGridSelector(apiRef, gridDensityFactorSelector);
@@ -92,20 +92,15 @@ function GridScrollAreaRaw(props) {
92
92
  throw new Error('MUI: Wrong drag direction');
93
93
  }
94
94
  offset = (offset - CLIFF) * SLOP + CLIFF;
95
- clearTimeout(timeout.current);
95
+
96
96
  // Avoid freeze and inertia.
97
- timeout.current = setTimeout(() => {
97
+ timeout.start(0, () => {
98
98
  apiRef.current.scroll({
99
99
  left: scrollPosition.current.left + offset,
100
100
  top: scrollPosition.current.top
101
101
  });
102
102
  });
103
- }, [scrollDirection, apiRef]);
104
- React.useEffect(() => {
105
- return () => {
106
- clearTimeout(timeout.current);
107
- };
108
- }, []);
103
+ }, [scrollDirection, apiRef, timeout]);
109
104
  const handleColumnHeaderDragStart = useEventCallback(() => {
110
105
  setDragging(true);
111
106
  });
@@ -133,19 +133,14 @@ export const useGridColumnResize = (apiRef, props) => {
133
133
  const finishResize = nativeEvent => {
134
134
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
135
135
  stopListening();
136
- apiRef.current.updateColumns([colDefRef.current]);
136
+ if (colDefRef.current) {
137
+ apiRef.current.setColumnWidth(colDefRef.current.field, colDefRef.current.width);
138
+ logger.debug(`Updating col ${colDefRef.current.field} with new width: ${colDefRef.current.width}`);
139
+ }
137
140
  clearTimeout(stopResizeEventTimeout.current);
138
141
  stopResizeEventTimeout.current = setTimeout(() => {
139
142
  apiRef.current.publishEvent('columnResizeStop', null, nativeEvent);
140
- if (colDefRef.current) {
141
- apiRef.current.publishEvent('columnWidthChange', {
142
- element: colElementRef.current,
143
- colDef: colDefRef.current,
144
- width: colDefRef.current?.computedWidth
145
- }, nativeEvent);
146
- }
147
143
  });
148
- logger.debug(`Updating col ${colDefRef.current.field} with new width: ${colDefRef.current.width}`);
149
144
  };
150
145
  const handleResizeMouseUp = useEventCallback(finishResize);
151
146
  const handleResizeMouseMove = useEventCallback(nativeEvent => {
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.12.0
2
+ * @mui/x-data-grid-pro v6.13.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -20,11 +20,10 @@ export function findGridCellElementsFromCol(col, api) {
20
20
  }
21
21
  const colIndex = Number(ariaColIndex) - 1;
22
22
  const cells = [];
23
- const virtualScrollerContent = api.virtualScrollerRef?.current?.firstElementChild;
24
- if (!virtualScrollerContent) {
23
+ if (!api.virtualScrollerRef?.current) {
25
24
  return [];
26
25
  }
27
- const renderedRowElements = virtualScrollerContent.querySelectorAll(`:scope > div > .${gridClasses.row}` // Use > to ignore rows from detail panels
26
+ const renderedRowElements = api.virtualScrollerRef?.current.querySelectorAll(`:scope > div > div > .${gridClasses.row}` // Use > to ignore rows from nested data grids (e.g. in detail panel)
28
27
  );
29
28
 
30
29
  renderedRowElements.forEach(rowElement => {
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5MjkxNDQwMDAwMA==";
3
+ const releaseInfo = "MTY5NDEyMDQwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -137,8 +137,8 @@ const VirtualScrollerPinnedRows = (0, _styles.styled)('div', {
137
137
  const boxShadowColor = getBoxShadowColor(theme);
138
138
  return (0, _extends2.default)({
139
139
  position: 'sticky',
140
- // should be above the detail panel
141
- zIndex: 3,
140
+ // should be above the no rows overlay
141
+ zIndex: 4,
142
142
  backgroundColor: (theme.vars || theme).palette.background.default
143
143
  }, theme.vars ? {
144
144
  backgroundImage: theme.vars.overlays?.[2]
@@ -56,7 +56,7 @@ function GridScrollAreaRaw(props) {
56
56
  } = props;
57
57
  const rootRef = React.useRef(null);
58
58
  const apiRef = (0, _xDataGrid.useGridApiContext)();
59
- const timeout = React.useRef();
59
+ const timeout = (0, _internals.useTimeout)();
60
60
  const [dragging, setDragging] = React.useState(false);
61
61
  const [canScrollMore, setCanScrollMore] = React.useState(true);
62
62
  const densityFactor = (0, _xDataGrid.useGridSelector)(apiRef, _xDataGrid.gridDensityFactorSelector);
@@ -101,20 +101,15 @@ function GridScrollAreaRaw(props) {
101
101
  throw new Error('MUI: Wrong drag direction');
102
102
  }
103
103
  offset = (offset - CLIFF) * SLOP + CLIFF;
104
- clearTimeout(timeout.current);
104
+
105
105
  // Avoid freeze and inertia.
106
- timeout.current = setTimeout(() => {
106
+ timeout.start(0, () => {
107
107
  apiRef.current.scroll({
108
108
  left: scrollPosition.current.left + offset,
109
109
  top: scrollPosition.current.top
110
110
  });
111
111
  });
112
- }, [scrollDirection, apiRef]);
113
- React.useEffect(() => {
114
- return () => {
115
- clearTimeout(timeout.current);
116
- };
117
- }, []);
112
+ }, [scrollDirection, apiRef, timeout]);
118
113
  const handleColumnHeaderDragStart = (0, _utils.unstable_useEventCallback)(() => {
119
114
  setDragging(true);
120
115
  });
@@ -143,19 +143,14 @@ const useGridColumnResize = (apiRef, props) => {
143
143
  const finishResize = nativeEvent => {
144
144
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
145
145
  stopListening();
146
- apiRef.current.updateColumns([colDefRef.current]);
146
+ if (colDefRef.current) {
147
+ apiRef.current.setColumnWidth(colDefRef.current.field, colDefRef.current.width);
148
+ logger.debug(`Updating col ${colDefRef.current.field} with new width: ${colDefRef.current.width}`);
149
+ }
147
150
  clearTimeout(stopResizeEventTimeout.current);
148
151
  stopResizeEventTimeout.current = setTimeout(() => {
149
152
  apiRef.current.publishEvent('columnResizeStop', null, nativeEvent);
150
- if (colDefRef.current) {
151
- apiRef.current.publishEvent('columnWidthChange', {
152
- element: colElementRef.current,
153
- colDef: colDefRef.current,
154
- width: colDefRef.current?.computedWidth
155
- }, nativeEvent);
156
- }
157
153
  });
158
- logger.debug(`Updating col ${colDefRef.current.field} with new width: ${colDefRef.current.width}`);
159
154
  };
160
155
  const handleResizeMouseUp = (0, _utils.unstable_useEventCallback)(finishResize);
161
156
  const handleResizeMouseMove = (0, _utils.unstable_useEventCallback)(nativeEvent => {
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.12.0
2
+ * @mui/x-data-grid-pro v6.13.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -29,11 +29,10 @@ function findGridCellElementsFromCol(col, api) {
29
29
  }
30
30
  const colIndex = Number(ariaColIndex) - 1;
31
31
  const cells = [];
32
- const virtualScrollerContent = api.virtualScrollerRef?.current?.firstElementChild;
33
- if (!virtualScrollerContent) {
32
+ if (!api.virtualScrollerRef?.current) {
34
33
  return [];
35
34
  }
36
- const renderedRowElements = virtualScrollerContent.querySelectorAll(`:scope > div > .${_xDataGrid.gridClasses.row}` // Use > to ignore rows from detail panels
35
+ const renderedRowElements = api.virtualScrollerRef?.current.querySelectorAll(`:scope > div > div > .${_xDataGrid.gridClasses.row}` // Use > to ignore rows from nested data grids (e.g. in detail panel)
37
36
  );
38
37
 
39
38
  renderedRowElements.forEach(rowElement => {
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getReleaseInfo = void 0;
7
7
  var _utils = require("@mui/utils");
8
8
  const getReleaseInfo = () => {
9
- const releaseInfo = "MTY5MjkxNDQwMDAwMA==";
9
+ const releaseInfo = "MTY5NDEyMDQwMDAwMA==";
10
10
  if (process.env.NODE_ENV !== 'production') {
11
11
  // A simple hack to set the value in the test environment (has no build step).
12
12
  // eslint-disable-next-line no-useless-concat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-pro",
3
- "version": "6.12.0",
3
+ "version": "6.13.0",
4
4
  "description": "The Pro plan edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -31,9 +31,9 @@
31
31
  "directory": "packages/grid/x-data-grid-pro"
32
32
  },
33
33
  "dependencies": {
34
- "@babel/runtime": "^7.22.11",
35
- "@mui/utils": "^5.14.5",
36
- "@mui/x-data-grid": "6.12.0",
34
+ "@babel/runtime": "^7.22.15",
35
+ "@mui/utils": "^5.14.7",
36
+ "@mui/x-data-grid": "6.13.0",
37
37
  "@mui/x-license-pro": "6.10.2",
38
38
  "@types/format-util": "^1.0.2",
39
39
  "clsx": "^2.0.0",
package/utils/domUtils.js CHANGED
@@ -11,7 +11,7 @@ export function findGroupHeaderElementsFromField(elem, field) {
11
11
  return Array.from((_elem$querySelectorAl = elem.querySelectorAll(`[data-fields*="|-${field}-|"]`)) != null ? _elem$querySelectorAl : []);
12
12
  }
13
13
  export function findGridCellElementsFromCol(col, api) {
14
- var _api$virtualScrollerR;
14
+ var _api$virtualScrollerR, _api$virtualScrollerR2;
15
15
  const root = findParentElementFromClassName(col, gridClasses.root);
16
16
  if (!root) {
17
17
  throw new Error('MUI: The root element is not found.');
@@ -22,11 +22,10 @@ export function findGridCellElementsFromCol(col, api) {
22
22
  }
23
23
  const colIndex = Number(ariaColIndex) - 1;
24
24
  const cells = [];
25
- const virtualScrollerContent = (_api$virtualScrollerR = api.virtualScrollerRef) == null || (_api$virtualScrollerR = _api$virtualScrollerR.current) == null ? void 0 : _api$virtualScrollerR.firstElementChild;
26
- if (!virtualScrollerContent) {
25
+ if (!((_api$virtualScrollerR = api.virtualScrollerRef) != null && _api$virtualScrollerR.current)) {
27
26
  return [];
28
27
  }
29
- const renderedRowElements = virtualScrollerContent.querySelectorAll(`:scope > div > .${gridClasses.row}` // Use > to ignore rows from detail panels
28
+ const renderedRowElements = (_api$virtualScrollerR2 = api.virtualScrollerRef) == null ? void 0 : _api$virtualScrollerR2.current.querySelectorAll(`:scope > div > div > .${gridClasses.row}` // Use > to ignore rows from nested data grids (e.g. in detail panel)
30
29
  );
31
30
 
32
31
  renderedRowElements.forEach(rowElement => {
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5MjkxNDQwMDAwMA==";
3
+ const releaseInfo = "MTY5NDEyMDQwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat