Releases: mui/mui-x
v6.19.5
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/x-data-grid@6.19.5
- [DataGrid] Fix styling grid filter input single select (#12079) @FreakDroid
@mui/x-data-grid-pro@6.19.5
Same changes as in @mui/x-data-grid@6.19.5
.
@mui/x-data-grid-premium@6.19.5
Same changes as in @mui/x-data-grid-pro@6.19.5
.
Date Pickers
@mui/x-date-pickers@6.19.5
- [pickers] Fix
referenceDate
day calendar focus (#12136) @LukasTy - [pickers] Fix styling props propagation to
DateTimePickerTabs
(#12131) @LukasTy
@mui/x-date-pickers-pro@6.19.5
Same changes as in @mui/x-date-pickers@6.19.5
.
Charts / @mui/x-charts@6.19.5
- [charts] Allow to skip animation on sparkline bar (#12160) @alexfauquette
Docs
- [docs] Clarify Pickers 'Component composition' section (#12147) @LukasTy
- [docs] Fix 301 redirection to StackBlitz @oliviertassinari
- [docs] Fix 301 to Material UI @oliviertassinari
- [docs] Fix 301 to Material UI @oliviertassinari
- [docs] Fix 404 links to translation source @oliviertassinari
- [docs] Fix dead link to translations @oliviertassinari
- [docs] Fix the Treemap illustration (#12189) @danilo-leal
- [docs] Fix typo for
AdapterDateFnsV3
(#12037) @flaviendelangle - [docs] Improve performance on Charts entry point @oliviertassinari
- [docs] Move Heatmap to pro (#12170) @alexfauquette
- [docs] Remove Charts installation next tag call-out (#12133) @LukasTy
- [docs] Removed
focused
prop from demo (#12126) @michelengelen - [docs] Add missing Heatmap pro icon @oliviertassinari
- [docs] Add more illustrations to the Overview page (#12041) @danilo-leal
- [docs] Avoid use of shorthand (#12009) @oliviertassinari
Core
- [core] Fix CI @oliviertassinari
- [core] Fix docs link check (#12137) @LukasTy
v7.0.0-beta.3
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
-
🎁 Charts get a built in grid
-
🎛️ Charts get a Gauge component.
-
🐞 Bugfixes
-
📚 Documentation improvements
Data Grid
Breaking changes
- The
rowEditCommit
event and the related proponRowEditCommit
was removed. TheprocessRowUpdate
prop can be used in place.
@mui/x-data-grid@7.0.0-beta.3
- [DataGrid] Performance: avoid style invalidation (#12019) @romgrk
- [DataGrid] Remove legacy editing API event:
rowEditCommit
(#12073) @MBilalShafi - [DataGrid] Fix styling grid filter input single select (#11520) @FreakDroid
@mui/x-data-grid-pro@7.0.0-beta.3
Same changes as in @mui/x-data-grid@7.0.0-beta.3
.
@mui/x-data-grid-premium@7.0.0-beta.3
Same changes as in @mui/x-data-grid-pro@7.0.0-beta.3
.
Charts / @mui/x-charts@7.0.0-beta.3
- [charts] Add Gauge component (#11996) @alexfauquette
- [charts] Add a
ChartsGrid
component (#11034) @alexfauquette
Tree View / @mui/x-tree-view@7.0.0-beta.3
- [TreeView] Remove instance existence checks (#12066) @flaviendelangle
Docs
- [docs] Complete charts API pages (#12038) @alexfauquette
- [docs] Add more illustrations to the charts overview page (#12041) @danilo-leal
- [docs] Fix 301 redirection to StackBlitz @oliviertassinari
- [docs] Fix Tree space to match the reset of the docs @oliviertassinari
- [docs] Fix
dayOfWeekFormatter
typo in the pickers v6 to v7 migration document (#12043) @StylesTrip - [docs] Fix redirection @oliviertassinari
- [docs] Fix typo for
AdapterDateFnsV3
(#12036) @flaviendelangle - [docs] Removed
focused
prop from demo (#12092) @michelengelen
Core
- [core] Fix CodeSandbox CI template @oliviertassinari
- [core] Sort prop asc (#12033) @oliviertassinari
- [core] Bump monorepo (#12055) @alexfauquette
v7.0.0-beta.2
We'd like to offer a big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
- 🚀 Add slot typings on the Data Grid components (#11795) @romgrk
- 🎁 Support UTC date formatting in Charts tooltip (#11943) @shaharyar-shamshi
- 🌍 Improve Danish (da-DK) locale Data Grid (#11877) @ShahrazH
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/x-data-grid@v7.0.0-beta.2
- [DataGrid] Add
removeAllFilterItems
as a reason foronFilterModelChange
callback (#11911) @shaharyar-shamshi - [DataGrid] Add slot typings (#11795) @romgrk
- [DataGrid] Add support for dialogs in menu actions (#11909) @cherniavskii
- [DataGrid] Allow passing readonly arrays to
pageSizeOptions
prop (#11609) @pcorpet - [DataGrid] Fix incorrect computation of
lastPage
inGridPagination
(#11958) @MBilalShafi - [DataGrid] Improve vertical scrolling performance (#11924) @romgrk
- [l10n] Improve Danish (da-DK) locale (#11877) @ShahrazH
@mui/x-data-grid-pro@v7.0.0-beta.2
Same changes as in @mui/x-data-grid@v7.0.0-beta.2
.
@mui/x-data-grid-premium@v7.0.0-beta.2
Same changes as in @mui/x-data-grid-pro@v7.0.0-beta.2
, plus:
- [DataGridPremium] Fix autosize grouping cell (#11870) @romgrk
- [DataGridPremium] Fix clipboard paste not working with Caps Lock enabled (#11965) @shaharyar-shamshi
Date Pickers
@mui/x-date-pickers@v7.0.0-beta.2
- [pickers] Avoid relying on locale in Luxon
isWithinRange
method (#11936) @LukasTy - [pickers] Limit the valid values of
TDate
(#11791) @flaviendelangle
@mui/x-date-pickers-pro@v7.0.0-beta.2
Same changes as in @mui/x-date-pickers@v7.0.0-beta.2
.
Charts / @mui/x-charts@v7.0.0-beta.2
- [charts] Add
reverse
property to axes (#11899) @alexfauquette - [charts] Allow series ids to be numbers (#11941) @alexfauquette
- [charts] Support UTC date formatting in tooltip (#11943) @shaharyar-shamshi
Tree View / @mui/x-tree-view@v7.0.0-beta.2
- [TreeView] Correctly detect if an item is expandable (#11963) @swalker326
- [TreeView] Polish the default design & revise the simple version pages (#11529) @danilo-leal
License
Breaking changes
-
If you're using the commercial license, you need to update the import path:
-import { LicenseInfo } from '@mui/x-license-pro'; +import { LicenseInfo } from '@mui/x-license';
@mui/x-license@v7.0.0-beta.2
- [license] Rename
@mui/x-license-pro
to@mui/x-license
(#11938) @cherniavskii
Docs
- [docs] Add a note about
AdapterDateFnsV3
on the Getting Started page (#11985) @flaviendelangle - [docs] Add missing
Charts
breaking change steps (#11971) @alexfauquette - [docs] Fix
ChartsTooltip
typo (#11961) @thisisharsh7 - [docs] Refactor
Localization
documentation sections (#11989) @LukasTy - [docs] Use "cannot" instead of "can't" or "can not" (#11986) @flaviendelangle
- [docs] Add quick fixes to the migration guide (#11806) @danilo-leal
- [docs] Avoid the use of shorthand (#12000) @oliviertassinari
- [docs] Avoid the use of MUI Core @oliviertassinari
- [docs] Fix image size and dark mode @oliviertassinari
- [docs] Follow blank line convention with use client @oliviertassinari
- [docs] Stable layout between light and dark mode @oliviertassinari
Core
- [core] Add
docs:serve
script (#11935) @cherniavskii - [core] Bump monorepo (#12001) @cherniavskii
- [core] Deprecate
LicenseInfo
re-exports (#11956) @cherniavskii - [core] Fix
test_types
failing on thenext
branch (#11944) @cherniavskii - [core] Fix failing
test_static
on the next branch (#11977) @cherniavskii - [core] Flatten grid packages folder (#11946) @cherniavskii
- [core] Improve license info deprecation message (#11974) @cherniavskii
- [core] Integrate changes from Core #40842 PR (#11801) @michaldudak
- [core] Move next config to ESM (#11882) @Janpot
- [core] Add auto-message on closed issues (#11805) @michelengelen
- [core] Simplify bug reproduction (#11849) @oliviertassinari
- [core] Fix npm reference @oliviertassinari
- [core] Normalize issue template @oliviertassinari
v6.19.4
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
- 🌍 Improve Danish (da-DK) locale on the Data Grid (#11972) @ShahrazH
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/x-data-grid@v6.19.4
- [DataGrid] Add support for dialogs in menu actions (#11937) @cherniavskii
- [DataGrid] Allow passing readonly arrays to
pageSizeOptions
prop (#11992) @pcorpet - [DataGrid] Fix row reorder with cell selection (#11878) @PEsteves8
- [DataGrid] Replace
eval
withnew Function
(#11962) @cherniavskii - [l10n] Improve Danish (da-DK) locale (#11972) @ShahrazH
@mui/x-data-grid-pro@v6.19.4
Same changes as in @mui/x-data-grid@v6.19.4
.
@mui/x-data-grid-premium@v6.19.4
Same changes as in @mui/x-data-grid-pro@v6.19.4
, plus:
- [DataGridPremium] Fix autosize grouping cell (#11990) @romgrk
- [DataGridPremium] Fix error after closing print export (#11889) @cherniavskii
Date Pickers
@mui/x-date-pickers@v6.19.4
@mui/x-date-pickers-pro@v6.19.4
Same changes as in @mui/x-date-pickers@v6.19.4
.
Charts / @mui/x-charts@v6.19.4
- [charts] Add
reverse
property to axes (#11959) @alexfauquette - [charts] Allow series ids to be numbers (#11960) @alexfauquette
- [charts] Fix Proptypes error by supporting string values for axes (#11953) @alexfauquette
Docs
- [docs] Add a note about
AdapterDateFnsV3
on the Getting Started page (#11987) @flaviendelangle - [docs] Avoid the use of MUI Core @oliviertassinari
- [docs] Fix API links (#11930) @alexfauquette
- [docs] Fix
ChartsTooltip
typo (#11967) @thisisharsh7 - [docs] Refactor
Localization
documentation sections (#11997) @LukasTy - [code] Simplify bug reproduction (#11932) @alexfauquette
v7.0.0-beta.1
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
-
🏃 Improve the filtering performance of the Data Grid by changing the
GridColDef
methods signatures (#11573) @cherniavskii -
🎁 The Line Chart component now has animation by default (#11620) @alexfauquette
-
🚀 All charts have click handlers (#11411) @alexfauquette
Test their respective documentation demonstrations to know more about the data format:Big thanks to @giladappsforce and @yaredtsy for their contribution on exploring this feature.
Data Grid
Breaking changes
-
The signature of
GridColDef['valueGetter']
has been changed for performance reasons:- valueGetter: ({ value, row }) => value, + valueGetter: (value, row, column, apiRef) => value,
The
GridValueGetterParams
interface has been removed:- const customValueGetter = (params: GridValueGetterParams) => params.row.budget; + const customValueGetter: GridValueGetterFn = (value, row) => row.budget;
-
The signature of
GridColDef['valueFormatter']
has been changed for performance reasons:- valueFormatter: ({ value }) => value, + valueFormatter: (value, row, column, apiRef) => value,
The
GridValueFormatterParams
interface has been removed:- const gridDateFormatter = ({ value, field, id }: GridValueFormatterParams<Date>) => value.toLocaleDateString(); + const gridDateFormatter: GridValueFormatter = (value: Date) => value.toLocaleDateString();
-
The signature of
GridColDef['valueSetter']
has been changed for performance reasons:- valueSetter: (params) => { - const [firstName, lastName] = params.value!.toString().split(' '); - return { ...params.row, firstName, lastName }; - } + valueSetter: (value, row) => { + const [firstName, lastName] = value!.toString().split(' '); + return { ...row, firstName, lastName }; +}
The
GridValueSetterParams
interface has been removed:- const setFullName = (params: GridValueSetterParams) => { - const [firstName, lastName] = params.value!.toString().split(' '); - return { ...params.row, firstName, lastName }; - }; + const setFullName: GridValueSetter<Row> = (value, row) => { + const [firstName, lastName] = value!.toString().split(' '); + return { ...row, firstName, lastName }; + }
-
The signature of
GridColDef['valueParser']
has been changed for performance reasons:- valueParser: (value, params: GridCellParams) => value.toLowerCase(), + valueParser: (value, row, column, apiRef) => value.toLowerCase(),
-
The signature of
GridColDef['colSpan']
has been changed for performance reasons:- colSpan: ({ row, field, value }: GridCellParams) => (row.id === 'total' ? 2 : 1), + colSpan: (value, row, column, apiRef) => (row.id === 'total' ? 2 : 1),
-
The signature of
GridColDef['pastedValueParser']
has been changed for performance reasons:- pastedValueParser: (value, params) => new Date(value), + pastedValueParser: (value, row, column, apiRef) => new Date(value),
-
The signature of
GridColDef['groupingValueGetter']
has been changed for performance reasons:- groupingValueGetter: (params) => params.value.name, + groupingValueGetter: (value: { name: string }) => value.name,
@mui/x-data-grid@7.0.0-beta.1
- [DataGrid] Add
toggleAllMode
prop to thecolumnsManagement
slot (#10794) @H999 - [DataGrid] Change
GridColDef
methods signatures (#11573) @cherniavskii - [DataGrid] Fix row reorder with cell selection (#11783) @PEsteves8
- [DataGrid] Make columns management' casing consistent (#11858) @MBilalShafi
- [l10n] Improve Hebrew (he-IL) locale (#11788) @danielmishan85
@mui/x-data-grid-pro@7.0.0-beta.1
Same changes as in @mui/x-data-grid@7.0.0-beta.1
.
@mui/x-data-grid-premium@7.0.0-beta.1
Same changes as in @mui/x-data-grid-pro@7.0.0-beta.1
.
Date Pickers
@mui/x-date-pickers@7.0.0-beta.1
@mui/x-date-pickers-pro@7.0.0-beta.1
Same changes as in @mui/x-date-pickers@7.0.0-beta.1
.
Charts
Breaking changes
-
The line chart now have animation by default.
You can disable it withskipAnimation
prop.
See animation documentation for more information. -
Pie charts
onClick
get renamedonItemClick
for consistency with other charts click callback.
@mui/x-charts@7.0.0-beta.1
- [charts] Add
onClick
support (#11411) @alexfauquette - [charts] Add line animation (#11620) @alexfauquette
- [charts] Document how to modify color according to values (#11824) @alexfauquette
- [charts] Fix Tooltip crash with out of range lines (#11898) @alexfauquette
Docs
- [docs] Add a general uplift to the changelog page (#11396) @danilo-leal
- [docs] Do not reference the Tree View overview page in the API pages (#11826) @flaviendelangle
- [docs] Fix charts API links (#11832) @alexfauquette
- [docs] Improve Support page (#11556) @oliviertassinari
- [docs] Improve column visibility documentation (#11857) @MBilalShafi
- [docs] Polish header @oliviertassinari
- [docs] Sync support page with core @oliviertassinari
- [docs] Update whats new page with "v7 Beta blogpost" content (#11879) @joserodolfofreitas
Core
- [core] Rely on immutable ref when possible (#11847) @oliviertassinari
- [core] Bump monorepo (#11897) @alexfauquette
v6.19.3
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
- 🌍 Improve Hebrew (he-IL) locale (#11831) @danielmishan85
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/x-data-grid@6.19.3
- [l10n] Improve Hebrew (he-IL) locale (@danielmishan85) (#11831)
@mui/x-data-grid-pro@6.19.3
Same changes as in @mui/x-data-grid@6.19.3
.
@mui/x-data-grid-premium@6.19.3
Same changes as in @mui/x-data-grid-pro@6.19.3
.
Date Pickers
@mui/x-date-pickers@6.19.3
@mui/x-date-pickers-pro@6.19.3
Same changes as in @mui/x-date-pickers@6.19.3
.
Charts / @mui/x-charts@6.19.3
- [charts] Document how to modify color according to values (#11854) @alexfauquette
Docs
- [docs] Add a general uplift to the whats new page (#11883) @danilo-leal
- [docs] Fix 404 (#11852) @alexfauquette
- [docs] Fix <title> generation (#11825) @alexfauquette
- [docs] Fix docs:api when typo in slots typing (#11861) @alexfauquette
- [docs] Improve Support page (#11556) @oliviertassinari
- [docs] Sync support page with core @oliviertassinari
- [docs] These API don't exist in MUI X v6 @oliviertassinari
- [docs] Update whats new page with v7 Beta blogpost content (#11886) @joserodolfofreitas
v7.0.0-beta.0
We are glad to announce MUI X v7 beta!
This version has several improvements, bug fixes, and exciting features 🎉.
We want to offer a big thanks to the 7 contributors who made this release possible ✨:
-
🚀 Release the Date Time Range Picker component (#9528) @LukasTy
-
🎁 New column management panel design for the Data Grid (#11770) @MBilalShafi
-
🐞 Bugfixes
-
📚 Documentation improvements
Data Grid
Breaking changes
-
The columns management component has been redesigned and the component was extracted from the
ColumnsPanel
which now only serves as a wrapper to display the component above the headers as a panel. As a result, a new slotcolumnsManagement
and the related propslotProps.columnsManagement
have been introduced. The props corresponding to the columns management component which were previously passed to the propslotProps.columnsPanel
should now be passed toslotProps.columnsManagement
.slotProps.columnsPanel
could still be used to override props corresponding to thePanel
component used inColumnsPanel
which usesPopper
component under the hood.<DataGrid slotProps={{ - columnsPanel: { + columnsManagement: { sort: 'asc', autoFocusSearchField: false, }, }} />
-
Show all
andHide all
buttons in theColumnsPanel
have been combined into oneShow/Hide All
toggle in the new columns management component. The related propsdisableShowAllButton
anddisableHideAllButton
have been replaced with a new propdisableShowHideToggle
.<DataGrid - disableShowAllButton - disableHideAllButton + disableShowHideToggle />
@mui/x-data-grid@7.0.0-beta.0
- [DataGrid] Export
GridColumnTypes
interface for custom column types (#11742) @cherniavskii - [DataGrid] Initialize
apiRef
early (#11792) @cherniavskii - [DataGrid] New column management panel design (#11770) @MBilalShafi
- [DataGrid] Fix support for tree with more than 50,000 children (#11757) @zenazn
@mui/x-data-grid-pro@7.0.0-beta.0
Same changes as in @mui/x-data-grid@7.0.0-beta.0
.
@mui/x-data-grid-premium@7.0.0-beta.0
Same changes as in @mui/x-data-grid-pro@7.0.0-beta.0
.
Date Pickers
@mui/x-date-pickers@7.0.0-beta.0
- [pickers] Apply the
layout.tabs
class toTabs
slot (#11781) @LukasTy - [pickers] Avoid deep imports (#11794) @LukasTy
- [pickers] Fields typing optimization (#11779) @LukasTy
@mui/x-date-pickers-pro@7.0.0-beta.0
Same changes as in @mui/x-date-pickers@7.0.0-beta.0
, plus:
- [pickers] Add
DateTimeRangePicker
component (#9528) @LukasTy - [pickers] Add
DateTimeRangePicker
theme augmentation (#11814) @LukasTy - [DateRangePicker] Remove
calendars
prop onMobile
(#11752) @LukasTy
Tree View / @mui/x-tree-view@7.0.0-beta.0
- [TreeView] Remove unused props from prop-types and typing (#11778) @flaviendelangle
- [TreeView] Throw an error when two items have the same id (#11715) @flaviendelangle
Docs
- [docs] Add
contextValue
to the headless tree view doc (#11705) @flaviendelangle - [docs] Add section for the
disableSelection
prop (#11821) @flaviendelangle - [docs] Fix brand name non-breaking space (#11758) @oliviertassinari
- [docs] Fix typo in Data Grid components page (#11775) @flaviendelangle
- [docs] Fix use of quote, should use callout (#11759) @oliviertassinari
- [docs] Improve error message for MUI Vale rule @oliviertassinari
- [docs] Include
DateTimeRangePicker
in relevant demos (#11815) @LukasTy - [docs] Add recipe for sorting row groups by the number of child rows (#11164) @cherniavskii
Core
- [core] Cleanup script and alias setup (#11749) @LukasTy
- [core] Polish issue templates @oliviertassinari
- [code-infra] Update prettier and pretty-quick (#11735) @Janpot
v6.19.2
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
Date Pickers
@mui/x-date-pickers@6.19.2
@mui/x-date-pickers-pro@6.19.2
Same changes as in @mui/x-date-pickers@6.19.2
, plus:
Data Grid
@mui/x-data-grid@6.19.2
@mui/x-data-grid-pro@6.19.2
Same changes as in @mui/x-data-grid@6.19.2
.
@mui/x-data-grid-premium@6.19.2
Same changes as in @mui/x-data-grid-pro@6.19.2
.
v7.0.0-alpha.9
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
- 🎁 The Data Grid headers have been refactored to bring immense improvements to scrolling, state management, and overall performance of the grid.
- ⚙️ The Data Grid disabled column-specific features like filtering, sorting, grouping, etc. could now be accessed programmatically. See the related docs section.
- 🚀 Uplift the
SimpleTreeView
customization examples (#11424) @noraleonte - 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11668) on the Data Grid @BCaspari
- 🐞 Bugfixes
- 💔 Bump
@mui/material
peer dependency for all packages (#11692) @LukasTy
The minimum required version of@mui/material
is now5.15.0
.
Data Grid
Breaking changes
-
The
ariaV7
experimental flag has been removed and the Data Grid now uses the improved accessibility implementation by default.
If you were using theariaV7
flag, you can remove it from theexperimentalFeatures
prop:-<DataGrid experimentalFeatures={{ ariaV7: true }} /> +<DataGrid />
The most notable changes that might affect your application or tests are:
-
The
role="grid"
attribute along with related ARIA attributes are now applied to the innerdiv
element instead of the rootdiv
element:-<div class="MuiDataGrid-root" role="grid" aria-colcount="5" aria-rowcount="101" aria-multiselectable="false"> +<div class="MuiDataGrid-root"> <div class="MuiDataGrid-toolbarContainer"></div> - <div class="MuiDataGrid-main"></div> + <div class="MuiDataGrid-main" role="grid" aria-colcount="5" aria-rowcount="101" aria-multiselectable="false"></div> <div class="MuiDataGrid-footerContainer"></div> </div>
-
When the Tree data feature is used, the grid role is now
role="treegrid"
instead ofrole="grid"
. -
The Data Grid cells now have
role="gridcell"
instead ofrole="cell"
. -
The buttons in toolbar composable components
GridToolbarColumnsButton
,GridToolbarFilterButton
,GridToolbarDensity
, andGridToolbarExport
are now wrapped with a tooltip component and have a consistent interface. To override some props corresponding to the toolbar buttons or their corresponding tooltips, you can use theslotProps
prop. Following is an example diff. See Toolbar section for more details.function CustomToolbar() { return ( <GridToolbarContainer> <GridToolbarColumnsButton /> <GridToolbarFilterButton - title="Custom filter" // 🛑 This was previously forwarded to the tooltip component + slotProps={{ tooltip: { title: 'Custom filter' } }} // ✅ This is the correct way now /> <GridToolbarDensitySelector - variant="outlined" // 🛑 This was previously forwarded to the button component + slotProps={{ button: { variant: 'outlined' } }} // ✅ This is the correct way now /> </GridToolbarContainer> ); }
-
-
Column grouping is now enabled by default. The flag
columnGrouping
is no longer needed to be passed to theexperimentalFeatures
prop to enable it.-<DataGrid experimentalFeatures={{ columnGrouping: true }} /> +<DataGrid />
-
The column grouping API methods
getColumnGroupPath
andgetAllGroupDetails
are no longer prefixed withunstable_
. -
The column grouping selectors
gridFocusColumnGroupHeaderSelector
andgridTabIndexColumnGroupHeaderSelector
are no longer prefixed withunstable_
. -
The disabled column specific features like
hiding
,sorting
,filtering
,pinning
,row grouping
, etc could now be controlled programmatically usinginitialState
, respective controlled models, or the API object. See the related docs section.
@mui/x-data-grid@7.0.0-alpha.9
- [DataGrid] Allow to filter non-filterable columns programmatically (#11538) @MBilalShafi
- [DataGrid] Allow to programmatically sort unsortable columns (#11512) @MBilalShafi
- [DataGrid] Fix incorrect default value for
filterModel.logicOperator
(#11673) @MBilalShafi - [DataGrid] Make
column grouping
feature stable (#11698) @MBilalShafi - [DataGrid] Remove the
ariaV7
experimental flag (#11428) @cherniavskii - [DataGrid] Start the FAQ page (#11686) @MBilalShafi
- [DataGrid] Sticky headers (#10059) @romgrk
- [DataGrid] Wrap toolbar buttons with tooltip (#11357) @MBilalShafi
- [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11668) @BCaspari
@mui/x-data-grid-pro@7.0.0-alpha.9
Same changes as in @mui/x-data-grid@7.0.0-alpha.9
, plus:
- [DataGridPro] Allow non-pinnable columns to be pinned programmatically (#11680) @MBilalShafi
@mui/x-data-grid-premium@7.0.0-alpha.9
Same changes as in @mui/x-data-grid-pro@7.0.0-alpha.9
, plus:
- [DataGridPremium] Allow aggregation to be applied for non-aggregable columns (#11574) @MBilalShafi
- [DataGridPremium] Allow programmatically grouping non-groupable columns (#11539) @MBilalShafi
Date Pickers
Breaking changes
-
The
locales
export has been removed from the root of the packages.
If you were importing locales from the root, be sure to update it:-import { frFR } from '@mui/x-date-pickers'; +import { frFR } from '@mui/x-date-pickers/locales';
@mui/x-date-pickers@7.0.0-alpha.9
- [fields] Make
PickersTextField
and its dependencies public (#11581) @flaviendelangle - [fields] Support farsi digits (#11639) @flaviendelangle
- [pickers] Fix AdapterLuxon
getWeekNumber
behavior (#11697) @LukasTy - [pickers] Stop root exporting
locales
(#11612) @LukasTy
@mui/x-date-pickers-pro@7.0.0-alpha.9
Same changes as in @mui/x-date-pickers@7.0.0-alpha.9
.
Charts / @mui/x-charts@7.0.0-alpha.9
- [charts] Do not propagate
innerRadius
andouterRadius
to the DOM (#11689) @alexfauquette - [charts] Fix default
stackOffset
forLineChart
(#11647) @alexfauquette - [charts] Remove a TS ignore (#11688) @alexfauquette
Tree View
Breaking changes
-
The
expandIcon
/defaultExpandIcon
props, used to expand the children of a node (rendered when it is collapsed),
is now defined as a slot both on the Tree View and the Tree Item components.If you were using the
ChevronRight
icon from@mui/icons-material
,
you can stop passing it to your component because it is now the default value:-import ChevronRightIcon from '@mui/icons-material/ChevronRight'; <SimpleTreeView - defaultExpandIcon={<ChevronRightIcon />} > {items} </SimpleTreeView>
If you were passing another icon to your Tree View component,
you need to use the newexpandIcon
slot on this component:<SimpleTreeView - defaultExpandIcon={<MyCustomExpandIcon />} + slots={{ expandIcon: MyCustomExpandIcon }} > {items} </SimpleTreeView>
If you were passing another icon to your Tree Item component,
you need to use the newexpandIcon
slot on this component:<SimpleTreeView> <TreeItem nodeId="1" label="Node 1" - expandIcon={<MyCustomExpandIcon />} + slots={{ expandIcon: MyCustomExpandIcon }} /> </SimpleTreeView>
-
The
collapseIcon
/defaultCollapseIcon
props, used to collapse the children of a node (rendered when it is expanded),
is now defined as a slot both on the Tree View and the Tree Item components.If you were using the
ExpandMore
icon from@mui/icons-material
,
you can stop passing it to your component because it is now the default value:- import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; <SimpleTreeView - defaultCollapseIcon={<ExpandMoreIcon />} > {items} </SimpleTreeView>
If you were passing another icon to your Tree View component,
you need to use the newcollapseIcon
slot on this component:<SimpleTreeView - defaultCollapseIcon={<MyCustomCollapseIcon />} + slots={{ collapseIcon: MyCustomCollapseIcon }} > {items} </SimpleTreeView>
If you were passing another icon to your Tree Item component,
you need to use the newcollapseIcon
slot on this component:<SimpleTreeView> <TreeItem nodeId="1" label="Node 1" - collapseIcon={<MyCustomCollapseIcon />} + slots={{ collapseIcon: MyCustomCollapseIcon }} /> </SimpleTreeView>
-
The
useTreeItem
hook has been renameduseTreeItemState
.
This will help create a new headless version of theTreeItem
component based on a futureuseTreeItem
hook.-import { TreeItem, useTreeItem } from '@mui/x-tree-view/TreeItem'; +import { TreeItem, useTreeItemState } from '@mui/x-tree-view/TreeItem'; const CustomContent = React.forwardRef((props, ref) => { - const { disabled } = useTreeItem(props.nodeId); + const { disabled } = useTreeItemState(props.nodeId); // Render some UI }); function App() { return ( ...
v6.19.1
We'd like to offer a big thanks to the 1 contributors who made this release possible. Here are some highlights ✨:
- 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
- 🐞 Bugfixes
Data Grid
@mui/x-data-grid@6.19.1
- [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
@mui/x-data-grid-pro@6.19.1
Same changes as in @mui/x-data-grid@6.19.1
.
@mui/x-data-grid-premium@6.19.1
Same changes as in @mui/x-data-grid-pro@6.19.1
.
Charts / @mui/x-charts@6.19.1
- [charts] Add
arcLabelRadius
property (#11563) @alexfauquette - [charts] Do not propagate
innerRadius
andouterRadius
to the DOM (#11719) @alexfauquette - [charts] Fix default
stackOffset
forLineChart
(#11703) @alexfauquette