MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
Published by cherniavskii almost 2 years ago
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights β¨:
NextDateRangePicker
) (#6763) @LukasTyday
view (#7066) @flaviendelangleDataGridPremium
(#7124) @m4theushw@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
filterPanelOperators
translation key was renamed to filterPanelOperator
(#7062) @MBilalShaficomponents.Header
slot was removed. Use components.Toolbar
slot instead (#6999) @cherniavskiiHeader
slot (#6999) @cherniavskiifilterPanelOperators
-> filterPanelOperator
(#7062) @MBilalShafigroupId
to aggregation function (#7003) @m4theushw@mui/[email protected]
/ @mui/[email protected]
Remove the callback version of the action
prop on the actionBar
slot (#7038) @flaviendelangle
The action
prop of the actionBar
slot is no longer supporting a callback.
Instead, you can pass a callback at the slot level:
<DatePicker
componentsProps={{
- actionBar: {
- actions: (variant) => (variant === 'desktop' ? [] : ['clear']),
- },
+ actionBar: ({ wrapperVariant }) => ({
+ actions: wrapperVariant === 'desktop' ? [] : ['clear'],
+ }),
}}
/>
The selectedDays
prop has been removed from the Day
component (#7066) @flaviendelangle
If you need to access it, you can control the value and pass it to the slot using componentsProps
:
function CustomDay({ selectedDay, ...other }) {
// do something with 'selectedDay'
return <PickersDay {...other} />;
}
function App() {
const [value, setValue] = React.useState(null);
return (
<DatePicker
value={value}
onChange={(newValue) => setValue(newValue)}
components={{ Day: CustomDay }}
componentsProps={{
day: { selectedDay: value },
}}
/>
);
}
The currentlySelectingRangeEnd
/ setCurrentlySelectingRangeEnd
props on the Date Range Picker toolbar have been renamed to rangePosition
/ onRangePositionChange
(#6989) @flaviendelangle
const CustomToolbarComponent = props => (
<div>
- <button onChange={() => props.setCurrentlySelectingRangeEnd('end')}>Edit end date</button>
+ <button onClick={() => props.onRangePositionChange('end')}>Edit end date</button>
- <div>Is editing end date: {props.currentlySelectingRangeEnd === 'end'}</div>
+ <div>Is editing end date: {props.rangePosition === 'end'}</div>
</div>
)
<DateRangePicker
components={{
Toolbar: CustomToolbarComponent
}}
/>
DayCalendar
(#7066) @flaviendelangleaction
prop in the actionBar
component slot (#7038) @flaviendelangleGridCell
change in migration guide (#7087) @MBilalShafiinternals-fields
imports (#7119) @flaviendelangleApiPage.js
with monorepo (#7073) @oliviertassinariPublished by cherniavskii almost 2 years ago
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights β¨:
DataGridPremium
(#7130) @m4theushw@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
groupId
to the aggregation function (#7143) @m4theushw@mui/[email protected]
/ @mui/[email protected]
Published by alexfauquette almost 2 years ago
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
[DataGrid] Removes GridCell
fallback to valueToRender
on null
children (#7023) @MBilalShafi
Returning null
in column.renderCell
or column.renderEditCell
now renders an empty cell instead of the default formatted value.
[DataGrid] Refactor GridFilterItem
props (#6985) @MBilalShafi
Properties columnField
and operatorValue
of GridFilterItem
are renamed field
and operator
. And operator
property is now required.
filterModel: {
items: [{
- columnField: 'rating',
+ field: 'rating',
- operatorValue: '>',
+ operator: '>', // required
value: '2.5'
}],
},
GridFilterItem
props (#6985) @MBilalShafi<GridCell />
fallback to valueToRender
on null
children (#7023) @MBilalShafi@mui/[email protected]
/ @mui/[email protected]
Rename dateRangeIcon
to dateIcon
(#7024) @LukasTy
The dateRangeIcon
prop has been renamed to dateIcon
:
// Same on all other Date Time Picker variations
<DateTimePicker
componentsProps={{
tabs: {
- dateRangeIcon: <LightModeIcon />,
+ dateIcon: <LightModeIcon />,
}
}}
/>
dateRangeIcon
to dateIcon
(#7024) @LukasTyTimeClock
(#6962) @flaviendelangle@date-io
(#6972) @flaviendelangleLocalizationProvider
from previews (#6869) @flaviendelangletest:unit
with monorepo (#6907) @oliviertassinariPublished by alexfauquette almost 2 years ago
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
Published by m4theushw almost 2 years ago
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights β¨:
π Introduce the v6 pickers, built on top of the field components DatePicker, TimePicker, DateTimePicker, DateRangePicker.
The old (legacy) components will be removed at the end of the v6 beta.
π
Add support for theme.vars
in the pickers and the DataGrid (#6784, #6778) @alexfauquette
β¨ Improve DataGrid theme augmentation (#5818) @iigrik
π Documentation improvements
π Bugfixes
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
Ctrl + Enter will no longer toggle the master detail panel (#6945) @MBilalShafi
You can restore the old behavior by listening to cellKeyDown
and calling apiRef.current.toggleDetailPanel()
.
Remove unnecessary keyboard navigation events (#6863) @m4theushw
The cellNavigationKeyDown
event was removed. Use cellKeyDown
and check the key provided in the event argument.
The columnHeaderNavigationKeyDown
event was removed. Use columnHeaderKeyDown
and check the key provided in the event argument.
Rename rowsScroll
event to scrollPositionChange
(#6957) @DanailH
GridToolbar
for better visibility (#6904) @MBilalShafistyleOverrides
(#5818) @iigrikErrorOverlay
to GridErrorOverlay
(#6946) @MBilalShafitheme.vars
(#6784) @alexfauquetterowsScroll
event to scrollPositionChange
(#6957) @DanailHupdateRows
API method (#6976) @cherniavskiistyleOverrides
(#6920) @m4theushwfilterOperatorBefore
in Arabic (ar-SD) locale (#6884) @HassanGhazy@mui/[email protected]
/ @mui/[email protected]
PickersCalendarHeader
slots (#6943) @flaviendelangleLocalizationProvider
with each a localeText
prop (#6895) @flaviendelangleMobileDateRangePicker
, DesktopDateRangePicker
, DateRangePicker
and StaticDateRangePicker
based on MultiInputDateRangeField
(#6888) @flaviendelangletheme.vars
(#6778) @alexfauquettedescribeValidation
(#6942) @flaviendelanglex-codemod
package (#6876) @LukasTyPublished by m4theushw almost 2 years ago
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
ErrorOverlay
not receiving defined input props (#6885) @banoth-ravinderstyleOverrides
(#6980) @iigrikupdateRows
API method (#6875) @cherniavskiifilterOperatorBefore
in Arabic (ar-SD) locale (#6917) @HassanGhazy@mui/[email protected]
/ @mui/[email protected]
Published by LukasTy almost 2 years ago
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
ErrorOverlay
not receiving defined input props (#6819) @banoth-ravinder@types/react
(#6797) @vizvapiRef
methods private (#6700) @cherniavskiigetRowSpacing
prop (#6707) @cherniavskii@mui/[email protected]
/ @mui/[email protected]
The ClockPicker
view component has been renamed to TimeClock
to better fit its usage:
-<ClockPicker {...props} />
+<TimeClock {...props} />
Component name in the theme has changed as well:
-MuiClockPicker: {
+MuiTimeClock: {
DateRangeCalendar
and multi input range fields (#6852) @flaviendelangleampm
prop from the new pickers to their field (#6868) @flaviendelangleCalendarPickerView
, ClockPickerView
and CalendarOrClockPickerView
(#6855) @flaviendelangleClockPicker
into TimeClock
(#6851) @flaviendelangledayjs
to the dependencies (#6862) @m4theushwtest-types
out of memory error (#6850) @LukasTy@mui/utils
instead of @mui/material/utils
(#6816) @cherniavskiionError
call on the pickers (#6771) @alexfauquettePublished by LukasTy almost 2 years ago
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
@types/react
(#6883) @vizvgetRowSpacing
prop (#6858) @cherniavskiiPublished by MBilalShafi almost 2 years ago
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
@mui/[email protected]
/ @mui/[email protected]
Published by MBilalShafi almost 2 years ago
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights β¨:
@deprecated
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
@deprecated
(#6505) @DanailH@mui/[email protected]
/ @mui/[email protected]
MobileDateTimePicker
, DesktopDateTimePicker
, DateTimePicker
and StaticDateTimePicker
based on DateTimeField
(#6767) @flaviendelangleMobileTimePicker
, DesktopTimePicker
, TimePicker
and StaticTimePicker
based on TimeField
(#6728) @flaviendelangleonError
prop and add context on the onChange
prop (#6731) @flaviendelanglePublished by flaviendelangle almost 2 years ago
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights β¨:
π Allow non-controlled usage of the calendar components (#6643) @flaviendelangle
<DateCalendar defaultValue={dayjs()} />
<MonthCalendar defaultValue={dayjs()} />
<YearCalendar defaultValue={dayjs()} />
π Add Ukrainian (uk-UA) locale to pickers (#6661) @Dufran
π Documentation improvements
π Bugfixes
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
disableIgnoreModificationsIfProcessingProps
prop has been removed and its behavior when true
was incorporated as the default behavior.apiRef.current.stopRowEditMode({ ignoreModifications: true })
or apiRef.current.stopCellEditMode({ ignoreModifications: true })
.rowSelection
prop (#6499) @m4theushw@mui/material
imports to @mui/utils
(#6569) @LukasTydisableIgnoreModificationsIfProcessingProps
prop (#6640) @m4theushwapiRef
properties (#6388) @cherniavskii@mui/[email protected]
/ @mui/[email protected]
MobileDatePicker
and DatePicker
based on DateField
(#6690) @flaviendelangleStaticDatePicker
component (#6708) @flaviendelangleinputFormat
prop to format
on the new pickers (#6722) @flaviendelangletypescript:ci
failures (#6705) @LukasTyPublished by flaviendelangle almost 2 years ago
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
React.memo
from GridCellCheckboxRenderer
(#6688) @mattcorner@mui/[email protected]
/ @mui/[email protected]
Published by m4theushw almost 2 years ago
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
Stop exporting gridColumnsSelector
(#6693) @m4theushw
The gridColumnsSelector
was deprecated during v5 and is now removed from the export list.
Please consider using one of the following selectors as a replacement:
gridColumnFieldsSelector
, to obtain the column fields in the order they appear on the screen;gridColumnLookupSelector
, to access column definitions by field;gridColumnVisibilityModelSelector
, for the visibility state of each column.setRows
method not persisting new rows data after loading
prop change (#6493) @cherniavskiiGridColumnsState['all']
to GridColumnsState['orderedFields']
(#6562) @DanailHReact.memo
from GridCellCheckboxRenderer
(#6655) @mattcornergridColumnsSelector
(#6693)@mui/[email protected]
/ @mui/[email protected]
[pickers] Rename remaining private
components (#6550) @LukasTy
Previously we had 4 component names with Private
prefix in order to avoid breaking changes in v5.
These components were renamed:
PrivatePickersMonth
-> MuiPickersMonth
PrivatePickersSlideTransition
-> MuiPickersSlideTransition
PrivatePickersToolbarText
-> MuiPickersToolbarText
PrivatePickersYear
-> MuiPickersYear
Manual style overriding will need to use updated classes:
-.PrivatePickersMonth-root {
+.MuiPickersMonth-root {
-.PrivatePickersSlideTransition-root {
+.MuiPickersSlideTransition-root {
-.PrivatePickersToolbarText-root {
+.MuiPickersToolbarText-root {
-.PrivatePickersYear-root {
+.MuiPickersYear-root {
Component name changes are also reflected in themeAugmentation
:
const theme = createTheme({
components: {
- PrivatePickersMonth: {
+ MuiPickersMonth: {
// overrides
},
- PrivatePickersSlideTransition: {
+ MuiPickersSlideTransition: {
// overrides
},
- PrivatePickersToolbarText: {
+ MuiPickersToolbarText: {
// overrides
},
- PrivatePickersYear: {
+ MuiPickersYear: {
// overrides
},
},
});
theme.rtl=true
(#6636) @alexfauquetteprivate
components (#6550) @LukasTyDesktopDatePicker
based on DateField
(#6548) @flaviendelangleno-response
workflow (#6658) @cherniavskiiPublished by m4theushw almost 2 years ago
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
setRows
method not persisting new rows data after loading
prop change (#6637) @cherniavskii@mui/[email protected]
/ @mui/[email protected]
inputFormat
is modified (#6617) @alexfauquettePublished by alexfauquette about 2 years ago
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
To avoid confusion with the props that will be added for the cell selection feature, some props related to row selection were renamed to have "row" in their name.
The renamed props are the following:
Old name | New name |
---|---|
selectionModel |
rowSelectionModel |
onSelectionModelChange |
onRowSelectionModelChange |
disableSelectionOnClick |
disableRowSelectionOnClick |
disableMultipleSelection |
disableMultipleRowSelection |
The gridSelectionStateSelector
selector was renamed to gridRowSelectionStateSelector
.
The selectionChange
event was renamed to rowSelectionChange
.
searchPredicate
prop to GridColumnsPanel
component (#6557) @cherniavskiirowCount
prop change (#5982) @cherniavskii@mui/[email protected]
/ @mui/[email protected]
The ToolbarComponent
has been replaced by a Toolbar
component slot.
You can find more information about this pattern in the MUI Base documentation:
// Same on all other pickers
<DatePicker
- ToolbarComponent: MyToolbar,
+ components={{ Toolbar: MyToolbar }}
/>
The toolbarPlaceholder
and toolbarFormat
props have been moved to the toolbar
components props slot:
// Same on all other pickers
<DatePicker
- toolbarPlaceholder="__"
- toolbarFormat="DD / MM / YYYY"
+ componentsProps={{
+ toolbar: {
+ toolbarPlaceholder: "__",
+ toolbarFormat: "DD / MM / YYYY",
+ }
+ }}
/>
The toolbarTitle
prop has been moved to the localization object:
// Same on all other pickers
<DatePicker
- toolbarTitle="Title"
+ localeText={{ toolbarTitle: "Title" }}
/>
The toolbar related translation keys have been renamed to better fit their usage:
// Same on all other pickers
<DatePicker
localeText={{
- datePickerDefaultToolbarTitle: 'Date Picker',
+ datePickerToolbarTitle: 'Date Picker',
- timePickerDefaultToolbarTitle: 'Time Picker',
+ timePickerToolbarTitle: 'Time Picker',
- dateTimePickerDefaultToolbarTitle: 'Date Time Picker',
+ dateTimePickerToolbarTitle: 'Date Time Picker',
- dateRangePickerDefaultToolbarTitle: 'Date Range Picker',
+ dateRangePickerToolbarTitle: 'Date Range Picker',
}}
/>
The onChange
/ openView
props on the toolbar have been renamed onViewChange
/ view
The hideTabs
, dateRangeIcon
, and timeIcon
props have been moved to tabs
component props:
// Same on all other Date Time picker variations
<DateTimePicker
- hideTabs={false}
- dateRangeIcon={<LightModeIcon />}
- timeIcon={<AcUnitIcon />}
+ componentsProps={{
+ tabs: {
+ hidden: false,
+ dateRangeIcon: <LightModeIcon />,
+ timeIcon: <AcUnitIcon />,
+ }
+ }}
/>
The onChange
prop on DateTimePickerTabs
component has been renamed to onViewChange
to better fit its usage:
<DateTimePickerTabs
- onChange={() => {}}
+ onViewChange={() => {}}
/>
validationError
property to the onChange
callback (#6539) @flaviendelangleTabs
component slot (#6543) @flaviendelangle@mui/material
imports to @mui/utils
(#6443) @LukasTydocsearch.js
dependency (#6242) @oliviertassinariPublished by alexfauquette about 2 years ago
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
searchPredicate
prop to GridColumnsPanel
component (#6572) @cherniavskiirowCount
prop change (#6474) @cherniavskii@mui/[email protected]
/ @mui/[email protected]
props.date
contains a disabled date (#6537) @flaviendelanglePublished by MBilalShafi about 2 years ago
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights β¨:
βοΈ New components to edit date and time with keyboardβwithout using any modal or dropdown UI.
Please check out our documentation to discover those new components.
DateField
to edit dateTimeField
to edit timeDateTimeField
to edit date and timeMultiInputDateRangeField
/ SingleInputDateRangeField
to edit date rangeMultiInputTimeRangeField
to edit time range with two inputsMultiInputDateTimeRangeField
to edit date and time range with two inputsβ οΈ These components are unstable.
They might receive breaking changes on their props to have the best components possible by the time of the stable release.
π Allow to limit to one filter per column for DataGridPro
and DataGridPremium
(#6333) @MBilalShafi
π New page describing the validation props on each picker (#6064) @flaviendelangle
π Documentation improvements
π Bugfixes
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
[DataGrid] Remove legacy editing API
The editing API that is enabled by default was replaced with a new API that contains better support for server-side persistence, validation and customization. This new editing feature was already available in v5 under the newEditingApi
experimental flag. In v6, this flag can be removed.
<DataGrid
- experimentalFeatures={{ newEditingApi: true }}
/>
For users that didn't migrate to the new editing API in v5, additional work may be needed because the new API is not equivalent to the legacy API. Although, some migration steps are available to help in this task.
editCellPropsChange
event was removed. If you still need it please file a new issue so we can propose an alternative.cellEditCommit
event was removed and the processRowUpdate
prop can be used in place. More information, check the docs section about the topic.editRowsModel
and onEditRowsModelChange
props were removed. The cellModesModel
or rowModesModel
props can be used to achieve the same goal.apiRef.current.stopCellEditMode
to replace apiRef.current.commitCellChange
apiRef.current.startCellEditMode
to replace apiRef.current.setCellMode(id, field, 'edit')
apiRef.current.stopRowEditMode
to replace apiRef.current.commitRowChange
apiRef.current.startRowMode
to replace apiRef.current.setRowMode(id, 'edit')
cellModesModel
or rowModesModel
props to replace apiRef.current.setEditRowsModel
useGridApiContext
and useGridApiRef
type overrides (#6423) @cherniavskii@mui/[email protected]
/ @mui/[email protected]
All the props used by the mobile and desktop wrappers to override components or components' props have been replaced by component slots. You can find more information about this pattern in the MUI Base documentation.
Some of the names have also been prefixed by desktop
when it was unclear that the behavior was only applied on the desktop version of the pickers (or the responsive version when used on a desktop).
The DialogProps
prop has been replaced by a dialog
component props slot on responsive and mobile pickers:
// Same on MobileDatePicker, DateTimePicker, MobileDateTimePicker,
// TimePicker, MobileTimePicker, DateRangePicker and MobileDateRangePicker.
<DatePicker
- DialogProps={{ backgroundColor: 'red' }}
+ componentsProps={{ dialog: { backgroundColor: 'red }}}
/>
The PaperProps
prop has been replaced by a desktopPaper
component props slot on all responsive and desktop pickers:
// Same on DesktopDatePicker, DateTimePicker, DesktopDateTimePicker,
// TimePicker, DesktopTimePicker, DateRangePicker and DesktopDateRangePicker.
<DatePicker
- PaperProps={{ backgroundColor: 'red' }}
+ componentsProps={{ desktopPaper: { backgroundColor: 'red }}}
/>
The PopperProps
prop has been replaced by a popper
component props slot on all responsive and desktop pickers:
// Same on DesktopDatePicker, DateTimePicker, DesktopDateTimePicker,
// TimePicker, DesktopTimePicker, DateRangePicker and DesktopDateRangePicker.
<DatePicker
- PopperProps={{ onClick: handleClick }}
+ componentsProps={{ popper: { onClick: handleClick }}}
/>
The TransitionComponent
prop has been replaced by a DesktopTransition
component slot on all responsive and desktop pickers:
// Same on DesktopDatePicker, DateTimePicker, DesktopDateTimePicker,
// TimePicker, DesktopTimePicker, DateRangePicker and DesktopDateRangePicker.
<DatePicker
- TransitionComponent={Fade}
+ components={{ DesktopTransition: Fade }}
/>
The TrapFocusProps
prop has been replaced by a desktopTrapFocus
component props slot on all responsive and desktop pickers:
// Same on DesktopDatePicker, DateTimePicker, DesktopDateTimePicker,
// TimePicker, DesktopTimePicker, DateRangePicker and DesktopDateRangePicker.
<DatePicker
- TrapFocusProps={{ isEnabled: () => false }}
+ componentsProps={{ desktopTrapFocus: { isEnabled: () => false }}}
/>
The view components allowing to pick a date or parts of a date without an input have been renamed to better fit their usage:
-<CalendarPicker {...props} />
+<DateCalendar {...props} />
-<DayPicker {...props} />
+<DayCalendar {...props} />
-<CalendarPickerSkeleton {...props} />
+<DayCalendarSkeleton {...props} />
-<MonthPicker {...props} />
+<MonthCalendar {...props} />
-<YearPicker {...props} />
+<YearCalendar {...props} />
Component names in the theme have changed as well:
-MuiCalendarPicker: {
+MuiDateCalendar: {
-MuiDayPicker: {
+MuiDayCalendar: {
-MuiCalendarPickerSkeleton: {
+MuiDayCalendarSkeleton: {
-MuiMonthPicker: {
+MuiMonthCalendar: {
-MuiYearPicker: {
+MuiYearCalendar: {
MultiInputDateTimeRangePicker
and MultiInputTimeRangePicker
(#6392) @alexfauquettePartial
for components
and componentsProps
props (#6463) @flaviendelangleDateRangeCalendar
(#6416) @flaviendelanglePicker
prefix in the view component by Calendar
(eg: MonthPicker
=> MonthCalendar
) (#6389) @flaviendelangleXXXComponent
and XXXProps
(#6381) @flaviendelanglereact-text-mask
package (#6408) @LukasTyPublished by MBilalShafi about 2 years ago
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
Published by LukasTy about 2 years ago
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
π The aggregation is no longer experimental.
You can now use the aggregation without the experimentalFeatures.aggregation
flag enabled.
<DataGridPremium
- experimentalFeatures={{ aggregation: true }}
/>
The aggregation of the columns through the column menu is now enabled by default on DataGridPremium
. You can set disableAggregation={true}
to disable it.
.MuiDataGrid-filterForm
(#6313) @m4theushwvalueOptions
(#6401) @DanailH@mui/[email protected]
/ @mui/[email protected]
The renderDay
prop has been replaced by a Day
component slot.
You can find more information about this pattern in the MUI Base documentation.
// Same for any other date, date time or date range picker.
<DatePicker
- renderDay={(_, dayProps) => <CustomDay {...dayProps} />}
+ components={{ Day: CustomDay }}
/>
renderDay
prop with a Day
component slot (#6293) @flaviendelangleSelectorsDocs
(#6103) @flaviendelangleReact.render
with React.createRoot
in e2e tests (#6393) @m4theushwPublished by LukasTy about 2 years ago
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights β¨:
@mui/[email protected]
/ @mui/[email protected]
/ @mui/[email protected]
valueOptions
(#6400) @DanailH@mui/[email protected]
/ @mui/[email protected]
CalendarPicker
getting focus when autoFocus=false
(#6304) (#6362) @alexfauquette