v7.0.0-alpha.6
版本发布时间: 2023-12-24 18:16:44
mui/mui-x最新发布版本:v7.22.1(2024-11-01 13:51:01)
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
- 🎁 Data Grid now supports
Date
objects in thefilterModel
- 🌍 Improve Russian (ru-RU) locale on the Data Grid
- 🐞 Bugfixes
Data Grid
Breaking changes
-
The filter panel no longer uses the native version of the
Select
component for all components. -
The
getOptionValue
andgetOptionLabel
props were removed from the following components:-
GridEditSingleSelectCell
-
GridFilterInputSingleSelect
-
GridFilterInputMultipleSingleSelect
Use the
getOptionValue
andgetOptionLabel
properties on thesingleSelect
column definition instead:const column: GridColDef = { type: 'singleSelect', field: 'country', valueOptions: [ { code: 'BR', name: 'Brazil' }, { code: 'FR', name: 'France' }, ], getOptionValue: (value: any) => value.code, getOptionLabel: (value: any) => value.name, };
-
-
The
filterModel
now supportsDate
objects as values fordate
anddateTime
column types. ThefilterModel
still accepts strings as values fordate
anddateTime
column types, but all updates to thefilterModel
coming from the UI (e.g. filter panel) will set the value as aDate
object.
@mui/x-data-grid@7.0.0-alpha.6
- [DataGrid] Fix typos in the JSDoc (#11451) @flaviendelangle
- [DataGrid] Make
checkboxSelection
respect thedisableMultipleRowSelection
prop (#11448) @cherniavskii - [DataGrid] Support
Date
objects in filter model (#7069) @cherniavskii - [DataGrid] Use non-native
Select
s by default (#11330) @cherniavskii - [l10n] Improve Russian (ru-RU) locale (#11441) @wensiet
@mui/x-data-grid-pro@7.0.0-alpha.6
Same changes as in @mui/x-data-grid@7.0.0-alpha.6
.
@mui/x-data-grid-premium@7.0.0-alpha.6
Same changes as in @mui/x-data-grid-pro@7.0.0-alpha.6
.
Date Pickers
@mui/x-date-pickers@7.0.0-alpha.6
- [fields] Adjust
PickersInput
sizing styles (#11392) @noraleonte - [fields] Fix section pasting (#11447) @LukasTy
- [pickers] Add
PickersTextField
standard
andfilled
variants (#11250) @noraleonte - [pickers] Add missing breaking changes to changelog (#11420) @MBilalShafi
- [pickers] Cleanup error messages in
PickersSectionList
(#11449) @flaviendelangle - [pickers] Create new component
PickersSectionList
(#11352) @flaviendelangle
@mui/x-date-pickers-pro@7.0.0-alpha.6
Same changes as in @mui/x-date-pickers@7.0.0-alpha.6
.
Charts / @mui/x-charts@7.0.0-alpha.6
- [charts] Allow percentage values for pie chart center and radius (#11464) @alexfauquette
- [charts] Improve dataset typing (#11372) @alexfauquette
- [charts] Make error message more explicit (#11457) @alexfauquette
- [charts] Make the helper
ChartsText
component public (#11370) @alexfauquette
Docs
- [docs] Document
false
default values for boolean props (#11477) @cherniavskii - [docs] Improve Pickers
name
prop examples (#11422) @LukasTy - [docs] Limit
date-fns
package to v2 in codesandbox (#11463) @LukasTy
Core
- [core] Cherry pick follow up (#11469) @LukasTy
- [core] Fix
cherry-pick
action (#11446) @LukasTy - [core] Fix security regressions in cherry-pick-next-to-master.yml (#11482) @MBilalShafi
- [test] Reload the page if its blank and there are no links to the remaining tests (#11466) @cherniavskii