We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
-
🎁 Introduce the v6 pickers, built on top of the field components DatePicker, TimePicker, DateTimePicker, DateRangePicker.
The old (legacy) components will be removed at the end of the v6 beta.
-
💅 Add support for
theme.vars
in the pickers and the DataGrid (#6784, #6778) @alexfauquette -
📚 Documentation improvements
-
🐞 Bugfixes
@mui/x-data-grid@v6.0.0-alpha.9
/ @mui/x-data-grid-pro@v6.0.0-alpha.9
/ @mui/x-data-grid-premium@v6.0.0-alpha.9
Breaking changes
-
Ctrl + Enter will no longer toggle the master detail panel (#6945) @MBilalShafi
You can restore the old behavior by listening tocellKeyDown
and callingapiRef.current.toggleDetailPanel()
. -
Remove unnecessary keyboard navigation events (#6863) @m4theushw
ThecellNavigationKeyDown
event was removed. UsecellKeyDown
and check the key provided in the event argument.
ThecolumnHeaderNavigationKeyDown
event was removed. UsecolumnHeaderKeyDown
and check the key provided in the event argument. -
Rename
rowsScroll
event toscrollPositionChange
(#6957) @DanailH
Changes
- [DataGrid] Add spacing in
GridToolbar
for better visibility (#6904) @MBilalShafi - [DataGrid] Improve typing for the theme in
styleOverrides
(#5818) @iigrik - [DataGrid] Prevents master detail panel toggle with Ctrl + Enter (#6945) @MBilalShafi
- [DataGrid] Remove unnecessary keyboard navigation events (#6863) @m4theushw
- [DataGrid] Rename
ErrorOverlay
toGridErrorOverlay
(#6946) @MBilalShafi - [DataGrid] Stop exporting root base state selectors (#6912) @DanailH
- [DataGrid] Support
theme.vars
(#6784) @alexfauquette - [DataGrid] Rename
rowsScroll
event toscrollPositionChange
(#6957) @DanailH - [DataGridPro] Fix lazy-loaded rows not working with
updateRows
API method (#6976) @cherniavskii - [DataGridPremium] Improve typing for theme in
styleOverrides
(#6920) @m4theushw - [l10n] Fix translation of
filterOperatorBefore
in Arabic (ar-SD) locale (#6884) @HassanGhazy
@mui/x-date-pickers@v6.0.0-alpha.9
/ @mui/x-date-pickers-pro@v6.0.0-alpha.9
Changes
- [DatePicker] Display week number (#6144) @alexfauquette
- [pickers] Clean
PickersCalendarHeader
slots (#6943) @flaviendelangle - [pickers] Do not loose the translations when using nested
LocalizationProvider
with each alocaleText
prop (#6895) @flaviendelangle - [pickers] Fix calendar header switch view button hover circle (#6938) @rajendraarora16
- [pickers] Fix focus management (#6914) @alexfauquette
- [pickers] Fix usage with Shadow DOM (#6952) @flaviendelangle
- [pickers] New
MobileDateRangePicker
,DesktopDateRangePicker
,DateRangePicker
andStaticDateRangePicker
based onMultiInputDateRangeField
(#6888) @flaviendelangle - [pickers] Support
theme.vars
(#6778) @alexfauquette
Docs
- [docs] Add new "Expired package version" error type (#6937) @oliviertassinari
- [docs] Add support for API pages of unstable components (#6981) @flaviendelangle
- [docs] Create docs for the new date pickers (#6902) @flaviendelangle
- [docs] Create docs for the new time, date time and date range pickers (#6958) @flaviendelangle
- [docs] Fix demos live edit (#6975) @oliviertassinari
- [docs] Fix toggle button bug in demos in Custom Components page (#6913) @01zulfi
- [docs] Remove partial Portuguese and Chinese translations of the pickers pages (#6893) @flaviendelangle
Core
- [core] Cleanup
describeValidation
(#6942) @flaviendelangle - [core] Group renovate GitHub Action dependency updates @oliviertassinari
- [core] Introduce
x-codemod
package (#6876) @LukasTy - [core] Update minimum supported version of Node.js to 14.0.0 (#6966) @cherniavskii
- [core] Upgrade monorepo (#6905) @cherniavskii
- [core] Upgrade node to v14.21 (#6916) @piwysocki
- [core] Upgrade ESLint (#6738) @Janpot
- [test] Test validation on date range view (#6941) @alexfauquette