Releases: mui/mui-x
v6.19.7
We'd like to offer a big thanks to @LukasTy who made this release possible.
Date Pickers
@mui/x-date-pickers@6.19.7
@mui/x-date-pickers-pro@6.19.7
Same changes as in @mui/x-date-pickers@6.19.7
.
Docs
v7.0.0-beta.6
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/x-data-grid@7.0.0-beta.6
- [DataGrid] Fix crashing of demos on rating change (#12315) @sai6855
- [DataGrid] Fix double border below header (#12349) @joespeargresham
- [DataGrid] Fix empty sort being saved in the
sortModel
(#12325) @MBilalShafi - [DataGrid] Remove unnecessary
stopCellMode
event inrenderEditRating
component (#12335) @sai6855 - [DataGrid] Small performance optimizations (#12346) @romgrk
@mui/x-data-grid-pro@7.0.0-beta.6
Same changes as in @mui/x-data-grid@7.0.0-beta.6
, plus:
@mui/x-data-grid-premium@7.0.0-beta.6
Same changes as in @mui/x-data-grid-pro@7.0.0-beta.6
.
Charts
@mui/x-charts@7.0.0-beta.6
- [charts] Add context to axis value formatter (#12172) @alexfauquette
- [charts] Customize tick position for band scale (#12316) @alexfauquette
- [charts] Fix RTL legend (#12175) @alexfauquette
Tree View
Breaking changes
-
The component used to animate the item children is now defined as a slot on the
TreeItem
component.If you were passing a
TransitionComponent
orTransitionProps
to yourTreeItem
component,
you need to use the newgroupTransition
slot on this component:<SimpleTreeView> <TreeItem nodeId="1" label="Node 1" - TransitionComponent={Fade} + slots={{ groupTransition: Fade }} - TransitionProps={{ timeout: 600 }} + slotProps={{ groupTransition: { timeout: 600 } }} /> </SimpleTreeView>
-
The
group
class of theTreeItem
component has been renamed togroupTransition
to match with its new slot name.const StyledTreeItem = styled(TreeItem)({ - [`& .${treeItemClasses.group}`]: { + [`& .${treeItemClasses.groupTransition}`]: { marginLeft: 20, }, });
@mui/x-tree-view@7.0.0-beta.6
- [TreeView] Fix invalid nodes state when updating
props.items
(#12359) @flaviendelangle - [TreeView] In the
RichTreeView
, do not use the item id as the HTML id attribute (#12319) @flaviendelangle - [TreeView] New instance and publicAPI method:
getItem
(#12251) @flaviendelangle - [TreeView] Replace
TransitionComponent
andTransitionProps
with agroupTransition
slot (#12336) @flaviendelangle
Docs
- [docs] Add a note about
z-index
usage in SVG (#12337) @alexfauquette - [docs]
RichTreeView
customization docs (#12231) @noraleonte
Core
- [test] Add
Charts
test (#11551) @alexfauquette
v7.0.0-beta.5
We'd like to offer a big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
- 🎁 Add
getSortComparator
for more advanced sorting behaviors (#12215) @cherniavskii - 🚀 Add
use client
directive to the Grid packages (#11803) @MBilalShafi - 🌍 Improve Korean (ko-KR) and Chinese (zh-CN) locales on the Pickers
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/x-data-grid@7.0.0-beta.5
- [DataGrid] Add
getSortComparator
for more advanced sorting behaviors (#12215) @cherniavskii - [DataGrid] Add
use client
directive to the Grid packages (#11803) @MBilalShafi - [DataGrid] Fix
disableResetButton
anddisableShowHideToggle
flags to not exclude each other (#12169) @adyry - [DataGrid] Fix cell range classnames (#12230) @romgrk
- [DataGrid] Fix wrong offset for right-pinned columns when toggling dark/light modes (#12233) @cherniavskii
- [DataGrid] Improve row virtualization and rendering performance (#12247) @romgrk
- [DataGrid] Improve performance by removing
querySelector
call (#12229) @romgrk - [DataGrid] Fix
onColumnWidthChange
called before autosize affects column width (#12140) @shaharyar-shamshi - [DataGrid] Fix boolean "is" filter (#12117) @shaharyar-shamshi
- [DataGrid] Fix
upsertFilterItems
removing filters that are not part of the update (#11954) @gitstart - [DataGrid] Render scrollbars only if there is scroll (#12265) @cherniavskii
@mui/x-data-grid-pro@7.0.0-beta.5
Same changes as in @mui/x-data-grid@7.0.0-beta.5
, plus:
- [DataGridPro] Fix column resize errors on MacOS with automatic scrollbars enabled (#12217) @cherniavskii
- [DataGridPro] Fix lazy-loading crash (#12080) @romgrk
- [DataGridPro] Fix useGridRows not giving error on reversed data (#10821) @martijn-basesoft
@mui/x-data-grid-premium@7.0.0-beta.5
Same changes as in @mui/x-data-grid-pro@7.0.0-beta.5
, plus:
- [DataGridPremium] Make clipboard copy respect the sorting during cell selection (#12235) @MBilalShafi
Date Pickers
@mui/x-date-pickers@7.0.0-beta.5
- [pickers] Fix toolbar components props handling (#12211) @LukasTy
- [l10n] Improve Chinese (zh-CN) locale (#12245) @headironc
- [l10n] Improve Korean (ko-KR) locale (#12192) @Luzi
@mui/x-date-pickers-pro@7.0.0-beta.5
Same changes as in @mui/x-date-pickers@7.0.0-beta.5
.
Charts / @mui/x-charts@7.0.0-beta.5
- [charts] Fix grid duplicated key (#12208) @alexfauquette
Tree View / @mui/x-tree-view@7.0.0-beta.5
- [TreeView] Add public API and expose focus method (#12143) @noraleonte
Docs
- [docs] Fix image layout shift when loading @oliviertassinari
- [docs] Match Material UI repo comment for redirections @oliviertassinari
- [docs] Non breaking spaces @oliviertassinari
- [docs] Polish the Date Picker playground (#11869) @zanivan
- [docs] Standardize WAI-ARIA references @oliviertassinari
Core
- [core] Allow local docs next.js settings (#12227) @romgrk
- [core] Remove grid folder from
getComponentInfo
RegExp (#12241) @flaviendelangle - [core] Remove
window.
reference for common globals @oliviertassinari - [core] Use runtime agnostic setTimeout type @oliviertassinari
- [docs-infra] Fix Stack Overflow breaking space @oliviertassinari
- [docs-infra] Fix missing non breaking spaces @oliviertassinari
- [github] Update
no-response
workflow (#12193) @MBilalShafi - [infra] Fix missing permission reset @oliviertassinari
v6.19.6
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
- 🌍 Improve Korean (ko-KR) and Chinese (zh-CN) locales on the Pickers
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/x-data-grid@6.19.6
- [DataGrid] Fix error when existing rows are passed to
replaceRows
(@martijn-basesoft)
@mui/x-data-grid-pro@6.19.6
Same changes as in @mui/x-data-grid@6.19.6
.
@mui/x-data-grid-premium@6.19.6
Same changes as in @mui/x-data-grid-pro@6.19.6
, plus:
- [DataGridPremium] Make clipboard copy respect the sorting during cell selection (#12255) @MBilalShafi
Date Pickers
@mui/x-date-pickers@6.19.6
- [l10n] Improve Chinese (zh-CN) locale (#12250) @headironc
- [l10n] Improve Korean (ko-KR) locale (#12186) @Luzi
@mui/x-date-pickers-pro@6.19.6
Same changes as in @mui/x-date-pickers@6.19.6
.
Docs
- [docs] Update lazy loading demo to show skeleton rows during initial rows fetch (#12062) @cherniavskii
v7.0.0-beta.4
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
- 🎁 Introduce a new DOM structure for the field components that provides a better accessibility
- 🚀 Simplify Data Grid DOM structure for improved performance (#12013) @romgrk
- 🕥 The support for IE11 has been removed (#12151) @flaviendelangle
- 🐞 Bugfixes
- 📚 Documentation improvements
Breaking changes
- The support for IE11 has been removed from all MUI X packages. The
legacy
bundle that used to support old browsers like IE11 is no longer included.
Data Grid
Breaking changes
- The cell inner wrapper
.MuiDataGrid-cellContent
has been removed, use.MuiDataGrid-cell
to style the cells.
@mui/x-data-grid@7.0.0-beta.4
- [DataGrid] Simplify cell DOM structure (#12013) @romgrk
- [DataGrid] Fix values labels in
is any of
filter operator (#11939) @gitstart
@mui/x-data-grid-pro@7.0.0-beta.4
Same changes as in @mui/x-data-grid@7.0.0-beta.4
.
@mui/x-data-grid-premium@7.0.0-beta.4
Same changes as in @mui/x-data-grid-pro@7.0.0-beta.4
.
Date Pickers
Breaking changes
-
The
selectedSections
prop no longer accepts start and end indexes.
When selecting several — but not all — sections, the field components were not behaving correctly, you can now only select one or all sections:<DateField - selectedSections={{ startIndex: 0, endIndex: 0 }} + selectedSections={0} // If the field has 3 sections - selectedSections={{ startIndex: 0, endIndex: 2 }} + selectedSections="all" />
-
The headless field hooks (e.g.:
useDateField
) now returns a new prop calledenableAccessibleFieldDOMStructure
.
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure. Learn more about this new accessible DOM structure.
When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove enableAccessibleFieldDOMStructure
before it is passed to the DOM:
function MyCustomTextField(props) {
const {
+ // Should be ignored
+ enableAccessibleFieldDOMStructure,
// ... rest of the props you are using
} = props;
return ( /* Some UI to edit the date */ )
}
function MyCustomField(props) {
const fieldResponse = useDateField<Dayjs, false, typeof textFieldProps>({
...props,
+ // If you only support one DOM structure, we advise you to hardcode it here to avoid unwanted switches in your application
+ enableAccessibleFieldDOMStructure: false,
});
return <MyCustomTextField ref={ref} {...fieldResponse} />;
}
function App() {
return <DatePicker slots={{ field: MyCustomField }} />;
}
-
The following internal types were exported by mistake and have been removed from the public API:
UseDateFieldDefaultizedProps
UseTimeFieldDefaultizedProps
UseDateTimeFieldDefaultizedProps
UseSingleInputDateRangeFieldComponentProps
UseSingleInputTimeRangeFieldComponentProps
UseSingleInputDateTimeRangeFieldComponentProps
@mui/x-date-pickers@7.0.0-beta.4
- [fields] Add a11y support to multi-HTML field (#12173) @LukasTy
- [fields] Use the
PickersTextField
component in the fields (#10649) @flaviendelangle - [pickers] Fix styling props propagation to
DateTimePickerTabs
(#12096) @LukasTy
@mui/x-date-pickers-pro@7.0.0-beta.4
Same changes as in @mui/x-date-pickers@7.0.0-beta.4
.
Charts / @mui/x-charts@7.0.0-beta.4
Breaking changes
These components are no longer exported from @mui/x-charts
:
CartesianContextProvider
DrawingProvider
@mui/x-charts@7.0.0-beta.4
- [charts] Don't display text if no value is provided (#12127) @alexfauquette
- [charts] Remove export of context providers (#12123) @oliviertassinari
Tree View / @mui/x-tree-view@7.0.0-beta.4
- [TreeView] Stop using custom
findIndex
to support IE11 (#12129) @flaviendelangle
Docs
- [docs] Add recipe for hiding separator on non-resizable columns (#12134) @michelengelen
- [docs] Add small improvements to the Gauge Chart page (#12076) @danilo-leal
- [docs] Add the 'point' scaleType to the axis documentation (#12179) @alexfauquette
- [docs] Clarify Pickers 'Component composition' section (#12097) @LukasTy
- [docs] Fix "Licensing" page link (#12156) @LukasTy
- [docs] Fix the Treemap illustration (#12185) @danilo-leal
- [docs] Fix error raised by Grammarly on the page @oliviertassinari
- [docs] Improve performance on Charts entry point @oliviertassinari
- [docs] Link to React Transition Group with https @oliviertassinari
- [docs] Move Heatmap to
pro
plan (#12047) @alexfauquette - [docs] Reduce number of Vale errors @oliviertassinari
- [docs] Remove default value set to
undefined
(#12128) @alexfauquette
Core
- [core] Fix docs link check (#12135) @LukasTy
- [core] Fix missing context display names (#12124) @oliviertassinari
- [core] Fix shortcuts when Caps Lock enabled (#12121) @oliviertassinari
- [core] Remove IE 11 compat logic (#12119) @oliviertassinari
- [core] Simplify key utils (#12120) @oliviertassinari
- [core] Use the @mui/internal-scripts package (#12142) @michaldudak
- [all components] Remove legacy IE 11 bundle (#12151) @flaviendelangle
- [code-infra] Bump monorepo (#11880) @Janpot
- [code-infra] Use
experimental.cpus
to control amount of export workers in Next.js (#12095) @Janpot - [docs-infra] Remove randomized API page layout (#11876) @alexfauquette
- [test] Create local wrapper over
describeConformance
(#12130) @michaldudak
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