v7.0.0-alpha.4
版本发布时间: 2023-12-08 22:37:33
mui/mui-x最新发布版本:v7.22.1(2024-11-01 13:51:01)
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
-
🚀 The scatter charts now use voronoi to trigger items
Users needed to hover the item to highlight the scatter item or show the tooltip. Now they can interact with data by triggering the closest element. See the docs page for more info.
-
📚 Add Pickers FAQ page
-
🎉 The Data Grid Header filters feature is now stable
-
🌍 Improve Danish (da-DK) locale on Data Grid
-
🐞 Bugfixes
Data Grid
Breaking changes
-
The header filters feature is now stable.
unstable_
prefix is removed from propheaderFilters
and related exports. See migration docs for more details. -
The
GridColDef['type']
has been narrowed down to only accept the built-in column types. TypeScript users need to use theGridColDef
interface when defining columns:// 🛑 `type` is inferred as `string` and is too wide const columns = [{ type: 'number', field: 'id' }]; <DataGrid columns={columns} />; // ✅ `type` is `'number'` const columns: GridColDef[] = [{ type: 'number', field: 'id' }]; <DataGrid columns={columns} />; // ✅ Alternalively, `as const` can be used to narrow down the type const columns = [{ type: 'number' as const, field: 'id' }]; <DataGrid columns={columns} />;
@mui/x-data-grid@7.0.0-alpha.4
- [DataGrid] Added a guard for reorder cells (#11159) @michelengelen
- [DataGrid] Narrow down
GridColDef['type']
(#11270) @cherniavskii - [l10n] Improve Danish (da-DK) locale (#11304) @goibon
@mui/x-data-grid-pro@7.0.0-alpha.4
Same changes as in @mui/x-data-grid@7.0.0-alpha.4
, plus:
- [DataGridPro] Make header filters feature stable (#11243) @MBilalShafi
@mui/x-data-grid-premium@7.0.0-alpha.4
Same changes as in @mui/x-data-grid-pro@7.0.0-alpha.4
.
Date Pickers
@mui/x-date-pickers@7.0.0-alpha.4
- [fields] Rework
PickersTextField
(#11258) @flaviendelangle - [pickers] Fix
MultiSectionDigitalClock
issues (#11305) @LukasTy - [pickers] Fix views height consistency (#11337) @LukasTy
@mui/x-date-pickers-pro@7.0.0-alpha.4
Same changes as in @mui/x-date-pickers@7.0.0-alpha.4
.
Charts / @mui/x-charts@7.0.0-alpha.4
- [charts] Remove animation on sparkline (#11311) @oliviertassinari
- [charts] Use voronoi cells to trigger interaction with scatter items (#10981) @alexfauquette
- [charts] Add
@mui/utils
as a dependency (#11351) @michelengelen
Docs
- [docs] Add FAQ page (#11271) @noraleonte
- [docs] Add a doc section on how to override the start of the week with each adapter (#11223) @flaviendelangle
- [docs] Added params to
onPaginationModelChange
docs (#10191) @JFBenzs - [docs] Fix typo (#11324) @cadam11
- [docs] Improve
DemoContainer
styling coverage (#11315) @LukasTy - [docs] General revision of the Charts docs (#11249) @danilo-leal