@mui/x-date-pickers-pro 6.11.1 → 6.12.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +154 -31
  2. package/DateRangeCalendar/DateRangeCalendar.js +2 -2
  3. package/DateRangeCalendar/DateRangeCalendar.types.d.ts +2 -2
  4. package/DateRangePicker/DateRangePicker.js +2 -2
  5. package/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -2
  6. package/MobileDateRangePicker/MobileDateRangePicker.js +2 -2
  7. package/StaticDateRangePicker/StaticDateRangePicker.js +2 -2
  8. package/index.js +1 -1
  9. package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +3 -1
  10. package/internals/hooks/useEnrichedRangePickerFieldProps.js +4 -4
  11. package/internals/hooks/useRangePosition.js +1 -1
  12. package/internals/utils/releaseInfo.js +1 -1
  13. package/legacy/DateRangeCalendar/DateRangeCalendar.js +2 -2
  14. package/legacy/DateRangePicker/DateRangePicker.js +2 -2
  15. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -2
  16. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +2 -2
  17. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +2 -2
  18. package/legacy/index.js +1 -1
  19. package/legacy/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +3 -1
  20. package/legacy/internals/hooks/useEnrichedRangePickerFieldProps.js +4 -4
  21. package/legacy/internals/hooks/useRangePosition.js +1 -1
  22. package/legacy/internals/utils/releaseInfo.js +1 -1
  23. package/legacy/tests/describeRangeValidation/testDayViewRangeValidation.js +1 -1
  24. package/legacy/tests/describeRangeValidation/testTextFieldKeyboardRangeValidation.js +1 -1
  25. package/legacy/tests/describeRangeValidation/testTextFieldRangeValidation.js +1 -1
  26. package/modern/DateRangeCalendar/DateRangeCalendar.js +2 -2
  27. package/modern/DateRangePicker/DateRangePicker.js +2 -2
  28. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -2
  29. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +2 -2
  30. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +2 -2
  31. package/modern/index.js +1 -1
  32. package/modern/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +3 -1
  33. package/modern/internals/utils/releaseInfo.js +1 -1
  34. package/modern/tests/describeRangeValidation/testDayViewRangeValidation.js +1 -1
  35. package/modern/tests/describeRangeValidation/testTextFieldKeyboardRangeValidation.js +1 -1
  36. package/modern/tests/describeRangeValidation/testTextFieldRangeValidation.js +1 -1
  37. package/node/DateRangeCalendar/DateRangeCalendar.js +2 -2
  38. package/node/DateRangePicker/DateRangePicker.js +2 -2
  39. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -2
  40. package/node/MobileDateRangePicker/MobileDateRangePicker.js +2 -2
  41. package/node/StaticDateRangePicker/StaticDateRangePicker.js +2 -2
  42. package/node/index.js +1 -1
  43. package/node/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +3 -1
  44. package/node/internals/utils/releaseInfo.js +1 -1
  45. package/node/tests/describeRangeValidation/testDayViewRangeValidation.js +21 -21
  46. package/node/tests/describeRangeValidation/testTextFieldKeyboardRangeValidation.js +30 -30
  47. package/node/tests/describeRangeValidation/testTextFieldRangeValidation.js +32 -32
  48. package/package.json +4 -4
  49. package/tests/describeRangeValidation/testDayViewRangeValidation.js +1 -1
  50. package/tests/describeRangeValidation/testTextFieldKeyboardRangeValidation.js +1 -1
  51. package/tests/describeRangeValidation/testTextFieldRangeValidation.js +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,129 @@
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.12.0
7
+
8
+ _Aug 25, 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
+ - 📊 Support horizontal bar chart
13
+ - 💫 Improved animations on Android devices
14
+ - 🌍 Improve Ukrainian (uk-UA) locale on the data grid
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@v6.12.0`
21
+
22
+ - [DataGrid] Allow print export for more than 100 rows (#10045) @MBilalShafi
23
+ - [l10n] Improve Ukrainian (uk-UA) locale (#10076) @mkundos
24
+
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')
26
+
27
+ Same changes as in `@mui/x-data-grid@v6.12.0`.
28
+
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')
30
+
31
+ Same changes as in `@mui/x-data-grid-pro@v6.12.0`.
32
+
33
+ ### Date Pickers
34
+
35
+ #### `@mui/x-date-pickers@v6.12.0`
36
+
37
+ - [fields] Do not clamp day of month (#9973) @flaviendelangle
38
+ - [pickers] Fix `ownerState` on `desktopPaper` slot props (#10103) @LukasTy
39
+ - [pickers] Fix to `transform-origin` when popper opens to `top` (#10069) @LukasTy
40
+ - [pickers] Fix `YearCalendar` scrolling (#10135) @LukasTy
41
+ - [pickers] Improve the typing of the adapter `dateWithTimezone` method (#10029) @flaviendelangle
42
+ - [pickers] Make `openPickerButton` toggle picker (#10109) @noraleonte
43
+ - [pickers] Update `reduceAnimations` default rule (#9864) @LukasTy
44
+
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')
46
+
47
+ Same changes as in `@mui/x-date-pickers@v6.12.0`.
48
+
49
+ ### Charts / `@mui/x-charts@6.12.0`
50
+
51
+ - [charts] Fix import issue (#10111) @alexfauquette
52
+ - [charts] Fix `slotProps` propagation (#10105) @alexfauquette
53
+ - [charts] Support horizontal bar chart (#9992) @alexfauquette
54
+
55
+ ### Docs
56
+
57
+ - [docs] Address charts docs feedback (#10119) @alexfauquette
58
+ - [docs] Capitalization convention pickers @oliviertassinari
59
+ - [docs] Fix a11y issue on plan links (#10026) @oliviertassinari
60
+ - [docs] Fix some charts horizontal overflow on mobile devices (#10082) @cupok
61
+ - [docs] Fix typo in quick filter @oliviertassinari
62
+ - [docs] Fix typo in the timezone page (#10073) @flaviendelangle
63
+
64
+ ### Core
65
+
66
+ - [core] Bump monorepo (#10129) @LukasTy
67
+ - [core] Document a bit `useLazyRef` @oliviertassinari
68
+ - [core] Enable strict type checking options in the top-level tsconfig (#9925) @cherniavskii
69
+ - [core] Increase global e2e timeout (#10134) @LukasTy
70
+ - [core] Remove outdated link (#10125) @oliviertassinari
71
+ - [core] Update `no-response` workflow (#10102) @DanailH
72
+
73
+ ## 6.11.2
74
+
75
+ _Aug 17, 2023_
76
+
77
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
78
+
79
+ - 🏎️ Lower the filtering delay in the grid
80
+ - 🌍 Improve Spanish (es-ES) locale on the data grid
81
+ - 🐞 Bugfixes
82
+ - 📚 Documentation improvements
83
+
84
+ ### Data Grid
85
+
86
+ #### `@mui/x-data-grid@v6.11.2`
87
+
88
+ - [DataGrid] Fix `eval` blocked by CSP (#9863) @romgrk
89
+ - [DataGrid] Fix row id bug (#10051) @romgrk
90
+ - [DataGrid] Honor `disableExport` flag in Print Export (#10044) @MBilalShafi
91
+ - [DataGrid] Lower filter debounce delay (#9712) @romgrk
92
+ - [DataGrid] Unhide potential ref binding issue (#9965) @oliviertassinari
93
+ - [l10n] Improve Chinese (zh-CN) and Chinese(traditional) (zh-TW) locales (#9999) @MyNameIsTakenOMG
94
+ - [l10n] Improve Spanish (es-ES) locale (#10037) @Macampu420
95
+
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')
97
+
98
+ Same changes as in `@mui/x-data-grid@v6.11.2`.
99
+
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')
101
+
102
+ Same changes as in `@mui/x-data-grid-pro@v6.11.2`.
103
+
104
+ ### Date Pickers
105
+
106
+ #### `@mui/x-date-pickers@v6.11.2`
107
+
108
+ - [pickers] Fix month switcher RTL (#10003) @alexfauquette
109
+ - [pickers] Follow-up on using device motion reduction preference (#9858) @LukasTy
110
+ - [pickers] Pass the shortcut information in the `onChange` context (#9985) @flaviendelangle
111
+ - [pickers] Replace `Grid` toolbar component with a styled `div` (#10052) @LukasTy
112
+
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')
114
+
115
+ Same changes as in `@mui/x-date-pickers@v6.11.2`.
116
+
117
+ ### Docs
118
+
119
+ - [docs] Add migration guide for the Tree View (#9987) @flaviendelangle
120
+ - [docs] Fix en-US changelog @oliviertassinari
121
+ - [docs] Update column types (#10040) @romgrk
122
+
123
+ ### Core
124
+
125
+ - [core] Remove unnecessary Box (#9831) @oliviertassinari
126
+ - [core] Set GitHub Action top level permission @oliviertassinari
127
+ - [core] Split the pickers test utils (#9976) @flaviendelangle
128
+
6
129
  ## 6.11.1
7
130
 
8
131
  _Aug 11, 2023_
@@ -21,11 +144,11 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
21
144
 
22
145
  - [DataGrid] `getCellAggregationResult`: Handle `null` `rowNode` case (#9915) @romgrk
23
146
 
24
- #### `@mui/x-data-grid-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
147
+ #### `@mui/x-data-grid-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
25
148
 
26
149
  Same changes as in `@mui/x-data-grid@6.11.1`.
27
150
 
28
- #### `@mui/x-data-grid-premium@6.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
151
+ #### `@mui/x-data-grid-premium@6.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
29
152
 
30
153
  Same changes as in `@mui/x-data-grid-pro@6.11.1`.
31
154
 
@@ -40,7 +163,7 @@ Same changes as in `@mui/x-data-grid-pro@6.11.1`.
40
163
  - [l10n] Improve Finnish (fi-FI) locale (#9795) @kurkle
41
164
  - [l10n] Improve Icelandic (is-IS) locale (#9639) @magnimarels
42
165
 
43
- #### `@mui/x-date-pickers-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
166
+ #### `@mui/x-date-pickers-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
44
167
 
45
168
  Same changes as in `@mui/x-date-pickers@6.11.1`.
46
169
 
@@ -90,11 +213,11 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
90
213
  - [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
91
214
  - [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
92
215
 
93
- #### `@mui/x-data-grid-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
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')
94
217
 
95
218
  Same changes as in `@mui/x-data-grid@v6.11.0`.
96
219
 
97
- #### `@mui/x-data-grid-premium@v6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
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')
98
221
 
99
222
  Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
100
223
 
@@ -113,7 +236,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
113
236
  - [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
114
237
  - [pickers] Use device motion reduction preference (#9823) @LukasTy
115
238
 
116
- #### `@mui/x-date-pickers-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
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')
117
240
 
118
241
  Same changes as in `@mui/x-date-pickers@v6.11.0`.
119
242
 
@@ -176,11 +299,11 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
176
299
  - [DataGrid] Keep focused cell in the DOM (#7357) @yaredtsy
177
300
  - [l10n] Improve Finnish (fi-FI) locale (#9746) @sambbaahh
178
301
 
179
- #### `@mui/x-data-grid-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
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')
180
303
 
181
304
  Same changes as in `@mui/x-data-grid@v6.10.2`.
182
305
 
183
- #### `@mui/x-data-grid-premium@v6.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
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')
184
307
 
185
308
  Same changes as in `@mui/x-data-grid-pro@v6.10.2`, plus:
186
309
 
@@ -192,7 +315,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.10.2`, plus:
192
315
 
193
316
  - [pickers] Remove the `endOfDate` from `DigitalClock` timeOptions (#9800) @noraleonte
194
317
 
195
- #### `@mui/x-date-pickers-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
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')
196
319
 
197
320
  Same changes as in `@mui/x-date-pickers@v6.10.2`.
198
321
 
@@ -244,14 +367,14 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
244
367
  - [DataGrid] Update focused cell on page change via keyboard (#9203) @m4theushw
245
368
  - [DataGrid] Wait for remote stylesheets to load before print (#9665) @cherniavskii
246
369
 
247
- #### `@mui/x-data-grid-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
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')
248
371
 
249
372
  Same changes as in `@mui/x-data-grid@v6.10.1`, plus:
250
373
 
251
374
  - [DataGridPro] Improve tree data performance (#9682) @cherniavskii
252
375
  - [DataGridPro] Prevent affecting cells from child DataGrid when resizing a column (#9670) @m4theushw
253
376
 
254
- #### `@mui/x-data-grid-premium@v6.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
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')
255
378
 
256
379
  Same changes as in `@mui/x-data-grid-pro@v6.10.1`.
257
380
 
@@ -262,7 +385,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.10.1`.
262
385
  - [fields] Fix `format` and `value` update order (#9715) @LukasTy
263
386
  - [pickers] Remove `require` usage in comment (#9675) @LukasTy
264
387
 
265
- #### `@mui/x-date-pickers-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
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')
266
389
 
267
390
  Same changes as in `@mui/x-date-pickers@v6.10.1`.
268
391
 
@@ -313,11 +436,11 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
313
436
  - [DataGrid] Make `rowExpansionChange` event public (#9611) @MBilalShafi
314
437
  - [l10n] Improve Polish (pl-PL) locale (#9625) @ch1llysense
315
438
 
316
- #### `@mui/x-data-grid-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
439
+ #### `@mui/x-data-grid-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
317
440
 
318
441
  Same changes as in `@mui/x-data-grid@6.10.0`.
319
442
 
320
- #### `@mui/x-data-grid-premium@6.10.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
443
+ #### `@mui/x-data-grid-premium@6.10.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
321
444
 
322
445
  Same changes as in `@mui/x-data-grid-pro@6.10.0`.
323
446
 
@@ -328,7 +451,7 @@ Same changes as in `@mui/x-data-grid-pro@6.10.0`.
328
451
  - [pickers] Fix date calendar issues (#9652) @LukasTy
329
452
  - [l10n] Improve Norwegian (nb-NO) locale (#9608) @JosteinBrevik
330
453
 
331
- #### `@mui/x-date-pickers-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
454
+ #### `@mui/x-date-pickers-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
332
455
 
333
456
  Same changes as in `@mui/x-date-pickers@6.10.0`.
334
457
 
@@ -381,11 +504,11 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
381
504
  - [DataGrid] Correctly reflect `TablePagination`'s `rowsPerPageOptions` shape to `pageSizeOptions` (#9438) @burakkgunduzz
382
505
  - [l10n] Improve Spanish (es-ES) locale (#9500) @fufex
383
506
 
384
- #### `@mui/x-data-grid-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
507
+ #### `@mui/x-data-grid-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
385
508
 
386
509
  Same changes as in `@mui/x-data-grid@6.9.2`.
387
510
 
388
- #### `@mui/x-data-grid-premium@6.9.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
511
+ #### `@mui/x-data-grid-premium@6.9.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
389
512
 
390
513
  Same changes as in `@mui/x-data-grid-pro@6.9.2`, plus:
391
514
 
@@ -398,7 +521,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.2`, plus:
398
521
  - [pickers] Forward digital clock classes (#9555) @YoonjiJang
399
522
  - [pickers] Rename `internal` folder to `internals` on `@mui/x-date-picker-pro` (#9571) @flaviendelangle
400
523
 
401
- #### `@mui/x-date-pickers-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
524
+ #### `@mui/x-date-pickers-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
402
525
 
403
526
  Same changes as in `@mui/x-date-pickers@6.9.2`.
404
527
 
@@ -446,14 +569,14 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
446
569
  - [DataGrid] Fix `Maximum call stack size exceeded` error when using fractional width (#9516) @cherniavskii
447
570
  - [l10n] Improve Romanian (ro-RO) and Hungarian (hu-HU) translations (#9436) @noraleonte
448
571
 
449
- #### `@mui/x-data-grid-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
572
+ #### `@mui/x-data-grid-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
450
573
 
451
574
  Same changes as in `@mui/x-data-grid@6.9.1`, plus:
452
575
 
453
576
  - [DataGridPro] Don't throw error in column pinning (#9507) @romgrk
454
577
  - [DataGridPro] Fix bug with `checkboxSelection` and treeData/grouping (#9418) @romgrk
455
578
 
456
- #### `@mui/x-data-grid-premium@6.9.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
579
+ #### `@mui/x-data-grid-premium@6.9.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
457
580
 
458
581
  Same changes as in `@mui/x-data-grid-pro@6.9.1`.
459
582
 
@@ -467,7 +590,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.1`.
467
590
  - [l10n] Add Chinese (Hong Kong) (zh-HK) locale (#9468) @samchiu90
468
591
  - [l10n] Improve Romanian (ro-RO) translations (#9436) @noraleonte
469
592
 
470
- #### `@mui/x-date-pickers-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
593
+ #### `@mui/x-date-pickers-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
471
594
 
472
595
  Same changes as in `@mui/x-date-pickers@6.9.1`.
473
596
 
@@ -531,11 +654,11 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
531
654
  - [DataGrid] Use container dimensions from `getComputedStyle` (#9236) @m4theushw
532
655
  - [l10n] Improve Brazilian Portuguese (pt-BR) locale (#9404) @julioAz
533
656
 
534
- #### `@mui/x-data-grid-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
657
+ #### `@mui/x-data-grid-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
535
658
 
536
659
  Same changes as in `@mui/x-data-grid@6.9.0`.
537
660
 
538
- #### `@mui/x-data-grid-premium@6.9.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
661
+ #### `@mui/x-data-grid-premium@6.9.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
539
662
 
540
663
  Same changes as in `@mui/x-data-grid-pro@6.9.0`.
541
664
 
@@ -551,7 +674,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.0`.
551
674
  - [pickers] Reduce date range calendar vertical border width (#9368) @oliviertassinari
552
675
  - [pickers] Reset fields internal state when pasting value (#9385) @alexfauquette
553
676
 
554
- #### `@mui/x-date-pickers-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
677
+ #### `@mui/x-date-pickers-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
555
678
 
556
679
  Same changes as in `@mui/x-date-pickers@6.9.0`.
557
680
 
@@ -607,11 +730,11 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
607
730
  - [DataGrid] Scroll performance improvements (#9037) @romgrk
608
731
  - [l10n] Improve Greek (el-GR) locale (#9292) @clytras
609
732
 
610
- #### `@mui/x-data-grid-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
733
+ #### `@mui/x-data-grid-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
611
734
 
612
735
  Same changes as in `@mui/x-data-grid@6.8.0`.
613
736
 
614
- #### `@mui/x-data-grid-premium@6.8.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
737
+ #### `@mui/x-data-grid-premium@6.8.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
615
738
 
616
739
  Same changes as in `@mui/x-data-grid-pro@6.8.0`.
617
740
 
@@ -624,7 +747,7 @@ Same changes as in `@mui/x-data-grid-pro@6.8.0`.
624
747
  - [pickers] Close the calendar when a shortcut is selected (#9080) @flaviendelangle
625
748
  - [pickers] Fix disabling for digital clock (#9300) @alexfauquette
626
749
 
627
- #### `@mui/x-date-pickers-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
750
+ #### `@mui/x-date-pickers-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
628
751
 
629
752
  Same changes as in `@mui/x-date-pickers@6.8.0`.
630
753
 
@@ -700,13 +823,13 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
700
823
  - [l10n] Improve German (de-DE) locale (#9259) @ximex
701
824
  - [l10n] Improve Turkish (tr-TR) locale (#9237) @MCErtan
702
825
 
703
- #### `@mui/x-data-grid-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
826
+ #### `@mui/x-data-grid-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
704
827
 
705
828
  Same changes as in `@mui/x-data-grid@6.7.0`, plus:
706
829
 
707
830
  - [DataGridPro] Improve header filter menu visuals (#9181) @MBilalShafi
708
831
 
709
- #### `@mui/x-data-grid-premium@6.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
832
+ #### `@mui/x-data-grid-premium@6.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
710
833
 
711
834
  Same changes as in `@mui/x-data-grid-pro@6.7.0`, plus:
712
835
 
@@ -720,7 +843,7 @@ Same changes as in `@mui/x-data-grid-pro@6.7.0`, plus:
720
843
  - [l10n] Improve German (de-DE) locale (#9258) @ximex
721
844
  - [pickers] Apply dynamic default format depending on views for all desktop and mobile pickers (#9126) @flaviendelangle
722
845
 
723
- #### `@mui/x-date-pickers-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
846
+ #### `@mui/x-date-pickers-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
724
847
 
725
848
  Same changes as in `@mui/x-date-pickers@6.7.0`, plus:
726
849
 
@@ -2872,7 +2995,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
2872
2995
 
2873
2996
  #### Changes
2874
2997
 
2875
- - [DateRangePicker] Fix input focused style and mobile behaviour (#6645) @LukasTy
2998
+ - [DateRangePicker] Fix input focused style and mobile behavior (#6645) @LukasTy
2876
2999
  - [fields] Update sections when the locale changes (#6649) @flaviendelangle
2877
3000
  - [pickers] Add Ukrainian (uk-UA) locale (#6661) @Dufran
2878
3001
  - [pickers] Allow non-controlled usage of the calendar components (#6643) @flaviendelangle
@@ -610,8 +610,8 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
610
610
  */
611
611
  readOnly: PropTypes.bool,
612
612
  /**
613
- * Disable heavy animations.
614
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
613
+ * If `true`, disable heavy animations.
614
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
615
615
  */
616
616
  reduceAnimations: PropTypes.bool,
617
617
  /**
@@ -45,8 +45,8 @@ export interface ExportedDateRangeCalendarProps<TDate> extends ExportedDayCalend
45
45
  */
46
46
  readOnly?: boolean;
47
47
  /**
48
- * Disable heavy animations.
49
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
48
+ * If `true`, disable heavy animations.
49
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
50
50
  */
51
51
  reduceAnimations?: boolean;
52
52
  /**
@@ -251,8 +251,8 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
251
251
  rangePosition: PropTypes.oneOf(['end', 'start']),
252
252
  readOnly: PropTypes.bool,
253
253
  /**
254
- * Disable heavy animations.
255
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
254
+ * If `true`, disable heavy animations.
255
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
256
256
  */
257
257
  reduceAnimations: PropTypes.bool,
258
258
  /**
@@ -260,8 +260,8 @@ DesktopDateRangePicker.propTypes = {
260
260
  rangePosition: PropTypes.oneOf(['end', 'start']),
261
261
  readOnly: PropTypes.bool,
262
262
  /**
263
- * Disable heavy animations.
264
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
263
+ * If `true`, disable heavy animations.
264
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
265
265
  */
266
266
  reduceAnimations: PropTypes.bool,
267
267
  /**
@@ -260,8 +260,8 @@ MobileDateRangePicker.propTypes = {
260
260
  rangePosition: PropTypes.oneOf(['end', 'start']),
261
261
  readOnly: PropTypes.bool,
262
262
  /**
263
- * Disable heavy animations.
264
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
263
+ * If `true`, disable heavy animations.
264
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
265
265
  */
266
266
  reduceAnimations: PropTypes.bool,
267
267
  /**
@@ -210,8 +210,8 @@ StaticDateRangePicker.propTypes = {
210
210
  rangePosition: PropTypes.oneOf(['end', 'start']),
211
211
  readOnly: PropTypes.bool,
212
212
  /**
213
- * Disable heavy animations.
214
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
213
+ * If `true`, disable heavy animations.
214
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
215
215
  */
216
216
  reduceAnimations: PropTypes.bool,
217
217
  /**
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.11.1
2
+ * @mui/x-date-pickers-pro v6.12.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -34,7 +34,8 @@ export const useDesktopRangePicker = _ref => {
34
34
  disabled,
35
35
  autoFocus,
36
36
  disableOpenPicker,
37
- localeText
37
+ localeText,
38
+ reduceAnimations
38
39
  } = props;
39
40
  const fieldContainerRef = React.useRef(null);
40
41
  const popperRef = React.useRef(null);
@@ -124,6 +125,7 @@ export const useDesktopRangePicker = _ref => {
124
125
  slots: slots,
125
126
  slotProps: slotProps,
126
127
  shouldRestoreFocus: shouldRestoreFocus,
128
+ reduceAnimations: reduceAnimations,
127
129
  children: /*#__PURE__*/_jsx(Layout, _extends({}, layoutProps, slotProps == null ? void 0 : slotProps.layout, {
128
130
  slots: slots,
129
131
  slotProps: slotPropsForLayout,
@@ -28,10 +28,10 @@ const useMultiInputFieldSlotProps = ({
28
28
  }
29
29
  if (rangePosition === 'start') {
30
30
  var _startRef$current;
31
- (_startRef$current = startRef.current) == null ? void 0 : _startRef$current.focus();
31
+ (_startRef$current = startRef.current) == null || _startRef$current.focus();
32
32
  } else if (rangePosition === 'end') {
33
33
  var _endRef$current;
34
- (_endRef$current = endRef.current) == null ? void 0 : _endRef$current.focus();
34
+ (_endRef$current = endRef.current) == null || _endRef$current.focus();
35
35
  }
36
36
  }, [rangePosition, open]);
37
37
  const openRangeStartSelection = event => {
@@ -136,7 +136,7 @@ const useSingleInputFieldSlotProps = ({
136
136
  if (!open) {
137
137
  return;
138
138
  }
139
- (_inputRef$current = inputRef.current) == null ? void 0 : _inputRef$current.focus();
139
+ (_inputRef$current = inputRef.current) == null || _inputRef$current.focus();
140
140
  }, [rangePosition, open]);
141
141
  const updateRangePosition = () => {
142
142
  var _singleInputFieldRef$;
@@ -153,7 +153,7 @@ const useSingleInputFieldSlotProps = ({
153
153
  const handleSelectedSectionsChange = useEventCallback(selectedSections => {
154
154
  var _fieldProps$onSelecte;
155
155
  setTimeout(updateRangePosition);
156
- (_fieldProps$onSelecte = fieldProps.onSelectedSectionsChange) == null ? void 0 : _fieldProps$onSelecte.call(fieldProps, selectedSections);
156
+ (_fieldProps$onSelecte = fieldProps.onSelectedSectionsChange) == null || _fieldProps$onSelecte.call(fieldProps, selectedSections);
157
157
  });
158
158
  const openPicker = event => {
159
159
  event.stopPropagation();
@@ -24,7 +24,7 @@ export const useRangePosition = props => {
24
24
  const handleRangePositionChange = useEventCallback(newRangePosition => {
25
25
  var _props$onRangePositio;
26
26
  setRangePosition(newRangePosition);
27
- (_props$onRangePositio = props.onRangePositionChange) == null ? void 0 : _props$onRangePositio.call(props, newRangePosition);
27
+ (_props$onRangePositio = props.onRangePositionChange) == null || _props$onRangePositio.call(props, newRangePosition);
28
28
  syncRangePositionWithSingleInputField(newRangePosition);
29
29
  });
30
30
  return {
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5MTcwMTIwMDAwMA==";
3
+ const releaseInfo = "MTY5MjkxNDQwMDAwMA==";
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
@@ -633,8 +633,8 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
633
633
  */
634
634
  readOnly: PropTypes.bool,
635
635
  /**
636
- * Disable heavy animations.
637
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
636
+ * If `true`, disable heavy animations.
637
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
638
638
  */
639
639
  reduceAnimations: PropTypes.bool,
640
640
  /**
@@ -250,8 +250,8 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
250
250
  rangePosition: PropTypes.oneOf(['end', 'start']),
251
251
  readOnly: PropTypes.bool,
252
252
  /**
253
- * Disable heavy animations.
254
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
253
+ * If `true`, disable heavy animations.
254
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
255
255
  */
256
256
  reduceAnimations: PropTypes.bool,
257
257
  /**
@@ -259,8 +259,8 @@ DesktopDateRangePicker.propTypes = {
259
259
  rangePosition: PropTypes.oneOf(['end', 'start']),
260
260
  readOnly: PropTypes.bool,
261
261
  /**
262
- * Disable heavy animations.
263
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
262
+ * If `true`, disable heavy animations.
263
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
264
264
  */
265
265
  reduceAnimations: PropTypes.bool,
266
266
  /**
@@ -259,8 +259,8 @@ MobileDateRangePicker.propTypes = {
259
259
  rangePosition: PropTypes.oneOf(['end', 'start']),
260
260
  readOnly: PropTypes.bool,
261
261
  /**
262
- * Disable heavy animations.
263
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
262
+ * If `true`, disable heavy animations.
263
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
264
264
  */
265
265
  reduceAnimations: PropTypes.bool,
266
266
  /**
@@ -209,8 +209,8 @@ StaticDateRangePicker.propTypes = {
209
209
  rangePosition: PropTypes.oneOf(['end', 'start']),
210
210
  readOnly: PropTypes.bool,
211
211
  /**
212
- * Disable heavy animations.
213
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
212
+ * If `true`, disable heavy animations.
213
+ * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13
214
214
  */
215
215
  reduceAnimations: PropTypes.bool,
216
216
  /**
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.11.1
2
+ * @mui/x-date-pickers-pro v6.12.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -31,7 +31,8 @@ export var useDesktopRangePicker = function useDesktopRangePicker(_ref) {
31
31
  disabled = props.disabled,
32
32
  autoFocus = props.autoFocus,
33
33
  disableOpenPicker = props.disableOpenPicker,
34
- localeText = props.localeText;
34
+ localeText = props.localeText,
35
+ reduceAnimations = props.reduceAnimations;
35
36
  var fieldContainerRef = React.useRef(null);
36
37
  var popperRef = React.useRef(null);
37
38
  var _useRangePosition = useRangePosition(props),
@@ -119,6 +120,7 @@ export var useDesktopRangePicker = function useDesktopRangePicker(_ref) {
119
120
  slots: slots,
120
121
  slotProps: slotProps,
121
122
  shouldRestoreFocus: shouldRestoreFocus,
123
+ reduceAnimations: reduceAnimations,
122
124
  children: /*#__PURE__*/_jsx(Layout, _extends({}, layoutProps, slotProps == null ? void 0 : slotProps.layout, {
123
125
  slots: slots,
124
126
  slotProps: slotPropsForLayout,
@@ -27,10 +27,10 @@ var useMultiInputFieldSlotProps = function useMultiInputFieldSlotProps(_ref) {
27
27
  }
28
28
  if (rangePosition === 'start') {
29
29
  var _startRef$current;
30
- (_startRef$current = startRef.current) == null ? void 0 : _startRef$current.focus();
30
+ (_startRef$current = startRef.current) == null || _startRef$current.focus();
31
31
  } else if (rangePosition === 'end') {
32
32
  var _endRef$current;
33
- (_endRef$current = endRef.current) == null ? void 0 : _endRef$current.focus();
33
+ (_endRef$current = endRef.current) == null || _endRef$current.focus();
34
34
  }
35
35
  }, [rangePosition, open]);
36
36
  var openRangeStartSelection = function openRangeStartSelection(event) {
@@ -134,7 +134,7 @@ var useSingleInputFieldSlotProps = function useSingleInputFieldSlotProps(_ref2)
134
134
  if (!open) {
135
135
  return;
136
136
  }
137
- (_inputRef$current = inputRef.current) == null ? void 0 : _inputRef$current.focus();
137
+ (_inputRef$current = inputRef.current) == null || _inputRef$current.focus();
138
138
  }, [rangePosition, open]);
139
139
  var updateRangePosition = function updateRangePosition() {
140
140
  var _singleInputFieldRef$;
@@ -151,7 +151,7 @@ var useSingleInputFieldSlotProps = function useSingleInputFieldSlotProps(_ref2)
151
151
  var handleSelectedSectionsChange = useEventCallback(function (selectedSections) {
152
152
  var _fieldProps$onSelecte;
153
153
  setTimeout(updateRangePosition);
154
- (_fieldProps$onSelecte = fieldProps.onSelectedSectionsChange) == null ? void 0 : _fieldProps$onSelecte.call(fieldProps, selectedSections);
154
+ (_fieldProps$onSelecte = fieldProps.onSelectedSectionsChange) == null || _fieldProps$onSelecte.call(fieldProps, selectedSections);
155
155
  });
156
156
  var openPicker = function openPicker(event) {
157
157
  event.stopPropagation();