yarn @mui/x-date-pickers 7.0.0-alpha.6
v7.0.0-alpha.6

latest releases: 7.22.2, 7.22.1, 7.22.0...
10 months ago

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 the filterModel
  • 🌍 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 and getOptionLabel props were removed from the following components:

    • GridEditSingleSelectCell
    • GridFilterInputSingleSelect
    • GridFilterInputMultipleSingleSelect

    Use the getOptionValue and getOptionLabel properties on the singleSelect 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 supports Date objects as values for date and dateTime column types.
    The filterModel still accepts strings as values for date and dateTime column types,
    but all updates to the filterModel coming from the UI (e.g. filter panel) will set the value as a Date object.

@mui/x-data-grid@7.0.0-alpha.6

@mui/x-data-grid-pro@7.0.0-alpha.6 pro

Same changes as in @mui/x-data-grid@7.0.0-alpha.6.

@mui/x-data-grid-premium@7.0.0-alpha.6 premium

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

@mui/x-date-pickers-pro@7.0.0-alpha.6 pro

Same changes as in @mui/x-date-pickers@7.0.0-alpha.6.

Charts / @mui/x-charts@7.0.0-alpha.5

Docs

Core

Don't miss a new x-date-pickers release

NewReleases is sending notifications on new releases.