v6.0.0-alpha.13
Pre-releaseDec 24, 2022
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
- 🚀 New column menu design and API
- 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
- 📚 Documentation improvements
- 🐞 Bugfixes
@mui/x-data-grid@6.0.0-alpha.13 / @mui/x-data-grid-pro@6.0.0-alpha.13 / @mui/x-data-grid-premium@6.0.0-alpha.13
Breaking changes
-
New column menu design and API (#6619) MBilalShafi
The
currentColumnprop passed tocomponents.ColumnMenuwas renamed tocolDef.
Thecolumnprop passed to the items of the column menu was renamed tocolDef.
TheDATA_GRID_DEFAULT_SLOTS_COMPONENTSexport has been removed.
The following components and interfaces were been renamed for consistency:Community Package:
-<GridFilterMenuItem /> +<GridColumnMenuFilterItem />
-<HideGridColMenuItem /> +<GridColumnMenuHideItem />
-<GridColumnsMenuItem /> +<GridColumnMenuColumnsItem />
-<SortGridMenuItems /> +<GridColumnMenuSortItem />
-interface GridFilterItemProps +interface GridColumnMenuItemProps
Pro package:
-<GridColumnPinningMenuItems /> +<GridColumnMenuPinningItem />
Premium package:
-<GridAggregationColumnMenuItem /> +<GridColumnMenuAggregationItem />
-<GridRowGroupingColumnMenuItems /> -<GridRowGroupableColumnMenuItems /> +<GridColumnMenuGroupingItem />
-
Improve column definition typing (#7224) @cherniavskii
The
GridColumnstype was removed. UseGridColDef[]instead.
TheGridActionsColDefinterface was removed. UseGridColDefinstead.
TheGridEnrichedColDeftype was removed. UseGridColDefinstead.
TheGridStateColDeftype was removed.If you use it to type
searchPredicate, useGridColumnsPanelProps['searchPredicate']instead.
If you use it to typegetApplyFilterFn,GridFilterOperator['getApplyFilterFn']can be used as a replacement. -
Remove GridDensityType enum (#7304) @cherniavskii
The
GridDensityTypesenum was removed. UseGridDensitytype instead.
Changes
- [DataGrid] Allow disabling of buttons in column panel (#6947) @MBilalShafi
- [DataGrid] Improve column definition typing (#7224) @cherniavskii
- [DataGrid] Improve column menu design and API (#6619) @MBilalShafi
- [DataGrid] Remove
GridDensityTypeenum (#7304) @cherniavskii - [DataGrid] Remove
rowHeightandheaderHeightfrom the state (#7199) @DanailH - [DataGrid] Remove column separator to match table styles (#7067) @MBilalShafi
- [DataGrid] Update Russian (ru-RU) locale (#7220) @VeceluXa
- [DataGridPro] Use row ID as
keyof the detail panels (#7302) @m4theushw - [DataGridPremium] Fix
exceljsimport with the parcel (#7284) @alexfauquette
@mui/x-date-pickers@6.0.0-alpha.13 / @mui/x-date-pickers-pro@6.0.0-alpha.13
Breaking changes
-
Require Luxon 3.0.2 or higher (#7249) @flaviendelangle
AdapterLuxonnow requiresluxonin version3.0.2or higher in order to work.Take a look at the Upgrading Luxon guide if you are using an older version.
Changes
- [DateRangePicker] Fix to propagate
disabledandreadOnlyon multi-input picker (#7135) @LukasTy - [fields] Fix multi-input fields root element props order and types (#7225) @LukasTy
- [fields] Support escaped characters (#7184) @flaviendelangle
- [pickers] Allow defining custom view renderers on the pickers (#7176) @flaviendelangle
- [pickers] Avoid running validation methods several times in
DateCalendar(#7247) @flaviendelangle - [pickers] Improve Korean (ko-KR) locale (#7266) @hanbin9775
- [pickers] Require Luxon 3.0.2 or higher (#7249) @flaviendelangle
- [pickers] Rework view internals (#7097) @flaviendelangle
@mui/x-codemod@6.0.0-alpha.13
Changes
- [codemod] New codemod for view component renaming (#7264) @flaviendelangle
Docs
- [docs] Fix some selectors not being documented (#7218) @cherniavskii
- [docs] New page for
DateCalendar(#7053) @flaviendelangle - [docs] Split selection docs (#7213) @m4theushw
Core
- [core] Fix API demos callout spacing @oliviertassinari