Update dependency @mui/x-data-grid to v7 #6

Merged
pierre merged 1 commits from renovate/mui-x-data-grid-7.x into master 2024-04-07 00:34:06 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
@mui/x-data-grid (source) dependencies major ^6.12.1 -> ^7.0.0

Release Notes

mui/mui-x (@​mui/x-data-grid)

v7.1.1

Compare Source

Apr 5, 2024

We'd like to offer a big thanks to the 19 contributors who made this release possible. Here are some highlights :

  • 🚀 Add setItemExpansion Tree View API method (#​12595) @​flaviendelangle
  • 🌍 Improve Persian (fa-IR), Portuguese (pt-BR), and Spanish (es-ES) locale on the Data Grid
  • 🌍 Improve Persian (fa-IR), Portuguese (pt-BR), and Ukrainian (uk-UA) locale on the Pickers
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/x-data-grid@7.1.1
  • DataGrid] Allow higher packages' props to be used in MIT ([#​12365](https://github.com/mui/mui-x/issues/12365)) [@​MBilalShafi](https://github.com/MBilalShafi)
    
  • DataGrid] Fix RTL mode ([#​12583](https://github.com/mui/mui-x/issues/12583)) [@​romgrk](https://github.com/romgrk)
    
  • DataGrid] Fix `ColDefChangesGridNoSnap` demo crash ([#​12663](https://github.com/mui/mui-x/issues/12663)) [@​MBilalShafi](https://github.com/MBilalShafi)
    
  • DataGrid] Fix server-side filter demo not working ([#​12662](https://github.com/mui/mui-x/issues/12662)) [@​MBilalShafi](https://github.com/MBilalShafi)
    
  • DataGrid] Log error if `rowCount` is used with client-side pagination ([#​12448](https://github.com/mui/mui-x/issues/12448)) [@​michelengelen](https://github.com/michelengelen)
    
  • DataGrid] Remove `GridFormatterParams` completely ([#​12660](https://github.com/mui/mui-x/issues/12660)) [@​romgrk](https://github.com/romgrk)
    
  • DataGrid] Restore main slot ([#​12657](https://github.com/mui/mui-x/issues/12657)) [@​romgrk](https://github.com/romgrk)
    
  • l10n] Improve Persian (fa-IR) locale ([#​12630](https://github.com/mui/mui-x/issues/12630)) [@​amirhosseinzf](https://github.com/amirhosseinzf)
    
  • l10n] Improve Portuguese (pt-BR) locale ([#​12618](https://github.com/mui/mui-x/issues/12618)) [@​hugoalkimim](https://github.com/hugoalkimim)
    
  • l10n] Improve Spanish (es-ES) locale ([#​12606](https://github.com/mui/mui-x/issues/12606)) [@​aitor40](https://github.com/aitor40)
    
    

Same changes as in @mui/x-data-grid@7.1.1.

Same changes as in @mui/x-data-grid-pro@7.1.1.

Date and Time Pickers
@mui/x-date-pickers@7.1.1
  • fields] Fix `readOnly` behavior ([#​12609](https://github.com/mui/mui-x/issues/12609)) [@​LukasTy](https://github.com/LukasTy)
    
  • l10n] Improve Persian (fa-IR) locale ([#​12632](https://github.com/mui/mui-x/issues/12632)) [@​misafari](https://github.com/misafari)
    
  • l10n] Improve Portuguese (pt-BR) locale ([#​12613](https://github.com/mui/mui-x/issues/12613)) [@​cnHealth](https://github.com/cnHealth)
    
  • l10n] Improve Ukrainian (uk-UA) locale ([#​12627](https://github.com/mui/mui-x/issues/12627)) [@​alexkobylansky](https://github.com/alexkobylansky)
    
    

Same changes as in @mui/x-date-pickers@7.1.1, plus:

  • DateTimeRangePicker] Fix selection on same day ([#​12604](https://github.com/mui/mui-x/issues/12604)) [@​LukasTy](https://github.com/LukasTy)
    
    
Charts
@mui/x-charts@7.1.1
  • charts] Fix `tickInterval` usage for y-axis ([#​12592](https://github.com/mui/mui-x/issues/12592)) [@​alexfauquette](https://github.com/alexfauquette)
    
  • charts] Fix Scatter series highlight when `id` is a `number` ([#​12677](https://github.com/mui/mui-x/issues/12677)) [@​JCQuintas](https://github.com/JCQuintas)
    
  • charts] Fix TS error when using `sx` property on `ChartsTooltip` ([#​12659](https://github.com/mui/mui-x/issues/12659)) [@​JCQuintas](https://github.com/JCQuintas)
    
    
Tree View
@mui/x-tree-view@7.1.1
  • TreeView] Add JSDoc to all `publicAPI` methods ([#​12649](https://github.com/mui/mui-x/issues/12649)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • TreeView] Create `RichTreeViewPro` component (not released yet) ([#​12610](https://github.com/mui/mui-x/issues/12610)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • TreeView] Create pro package (not released yet) ([#​12240](https://github.com/mui/mui-x/issues/12240)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • TreeView] Fix typo in errors ([#​12623](https://github.com/mui/mui-x/issues/12623)) [@​alissa-tung](https://github.com/alissa-tung)
    
  • TreeView] New API method: `setItemExpansion` ([#​12595](https://github.com/mui/mui-x/issues/12595)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
    
Docs
  • docs] Add a recipe for the `checkboxSelectionVisibleOnly` prop ([#​12646](https://github.com/mui/mui-x/issues/12646)) [@​michelengelen](https://github.com/michelengelen)
    
  • docs] Explain the use of `_action: 'delete'` in `processRowUpdate` ([#​12670](https://github.com/mui/mui-x/issues/12670)) [@​michelengelen](https://github.com/michelengelen)
    
  • docs] Fix formatting and typo on migration guide [@​oliviertassinari](https://github.com/oliviertassinari)
    
  • docs] Fix formatting in changelog [@​oliviertassinari](https://github.com/oliviertassinari)
    
  • docs] Fix grammar in TreeView migration doc ([#​12615](https://github.com/mui/mui-x/issues/12615)) [@​joshkel](https://github.com/joshkel)
    
  • docs] Fix missing closing props in `PieShapeNoSnap` demo ([#​12636](https://github.com/mui/mui-x/issues/12636)) [@​alp-ex](https://github.com/alp-ex)
    
  • docs] Fix type arguments in Custom Field page ([#​12619](https://github.com/mui/mui-x/issues/12619)) [@​Juneezee](https://github.com/Juneezee)
    
  • docs] Fix typo in `getItemId` prop description ([#​12637](https://github.com/mui/mui-x/issues/12637)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • docs] Make the Charts `margin` usage more visible ([#​12591](https://github.com/mui/mui-x/issues/12591)) [@​alexfauquette](https://github.com/alexfauquette)
    
  • docs] Match IE 11 spacing with Material UI [@​oliviertassinari](https://github.com/oliviertassinari)
    
  • docs] Move data grid interfaces to standard API page layout ([#​12016](https://github.com/mui/mui-x/issues/12016)) [@​alexfauquette](https://github.com/alexfauquette)
    
  • docs] Remove \` around [@​default](https://github.com/default) values ([#​12158](https://github.com/mui/mui-x/issues/12158)) [@​alexfauquette](https://github.com/alexfauquette)
    
  • docs] Remove `day` from the default `dayOfWeekFormatter` function params ([#​12644](https://github.com/mui/mui-x/issues/12644)) [@​LukasTy](https://github.com/LukasTy)
    
  • docs] Use `TreeItem2` for icon expansion example on `RichTreeView` ([#​12563](https://github.com/mui/mui-x/issues/12563)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
    
Core
  • core] Add cherry-pick `master` to `v6` action ([#​12648](https://github.com/mui/mui-x/issues/12648)) [@​LukasTy](https://github.com/LukasTy)
    
  • core] Fix typo in `@mui/x-tree-view-pro/themeAugmentation` ([#​12674](https://github.com/mui/mui-x/issues/12674)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • core] Introduce `describeTreeView` to run test on `SimpleTreeView` and `RichTreeView`, using `TreeItem` and `TreeItem2` + migrate expansion tests ([#​12428](https://github.com/mui/mui-x/issues/12428)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • core] Limit `test-types` CI step allowed memory ([#​12651](https://github.com/mui/mui-x/issues/12651)) [@​LukasTy](https://github.com/LukasTy)
    
  • core] Remove explicit `express` package ([#​12602](https://github.com/mui/mui-x/issues/12602)) [@​LukasTy](https://github.com/LukasTy)
    
  • core] Update to new embedded translations in the docs package ([#​12232](https://github.com/mui/mui-x/issues/12232)) [@​Janpot](https://github.com/Janpot)
    
  • core] Use PR labels to identify the package a `l10n` PR belongs to ([#​12639](https://github.com/mui/mui-x/issues/12639)) [@​LukasTy](https://github.com/LukasTy)
    
  • core] Use `describeTreeView` for selection tests ([#​12647](https://github.com/mui/mui-x/issues/12647)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • docs-infra] Adjust the links to search for issues ([#​11995](https://github.com/mui/mui-x/issues/11995)) [@​michelengelen](https://github.com/michelengelen)
    
  • infra] Polish support survey experience ([#​12624](https://github.com/mui/mui-x/issues/12624)) [@​oliviertassinari](https://github.com/oliviertassinari)
    
  • support-infra] Replace author association with a permission check in survey action ([#​12068](https://github.com/mui/mui-x/issues/12068)) [@​michelengelen](https://github.com/michelengelen)
    
  • support-infra] Fix user permission check ([#​12669](https://github.com/mui/mui-x/issues/12669)) [@​michelengelen](https://github.com/michelengelen)
    
  • test] Fix Tree View test import ([#​12668](https://github.com/mui/mui-x/issues/12668)) [@​LukasTy](https://github.com/LukasTy)
    
    

v7.1.0

Compare Source

Mar 28, 2024

We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights :

  • 🚀 Add resizeThrottleMs prop (#​12556) @​romgrk
  • 🌍 Improve Chinese (Hong Kong) (zh-HK) and Italian (it-IT) locale on the Pickers
  • 🐞 Bugfixes
  • 📚 Documentation improvements
Data Grid
@mui/x-data-grid@7.1.0
  • DataGrid] Add `resizeThrottleMs` prop ([#​12556](https://github.com/mui/mui-x/issues/12556)) [@​romgrk](https://github.com/romgrk)
    
  • DataGrid] Do not publish `rowEditStop` event if row has fields with errors ([#​11383](https://github.com/mui/mui-x/issues/11383)) [@​cherniavskii](https://github.com/cherniavskii)
    
  • DataGrid] Fix bug in suspense ([#​12553](https://github.com/mui/mui-x/issues/12553)) [@​romgrk](https://github.com/romgrk)
    
  • DataGrid] Fix missing class name in the `GridToolbarQuickFilter` component ([#​12484](https://github.com/mui/mui-x/issues/12484)) [@​jhawkins11](https://github.com/jhawkins11)
    
    

Same changes as in @mui/x-data-grid@7.1.0.

Same changes as in @mui/x-data-grid-pro@7.1.0.

Date and Time Pickers
@mui/x-date-pickers@7.1.0
  • fields] Fix placeholder override ([#​12589](https://github.com/mui/mui-x/issues/12589)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • l10n] Improve Chinese (Hong Kong) (zh-HK) locale ([#​12547](https://github.com/mui/mui-x/issues/12547)) [@​samchiu90](https://github.com/samchiu90)
    
  • l10n] Improve Italian (it-IT) locale ([#​12549](https://github.com/mui/mui-x/issues/12549)) [@​antomanc](https://github.com/antomanc)
    
  • pickers] Prepare compatibility with `@mui/zero-runtime` (stop using `ownerState` in `styled`) ([#​12003](https://github.com/mui/mui-x/issues/12003)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
    

Same changes as in @mui/x-date-pickers@7.1.0, plus:

  • DateRangePicker] Fix selection behavior with single input field when `readOnly` ([#​12593](https://github.com/mui/mui-x/issues/12593)) [@​LukasTy](https://github.com/LukasTy)
    
    
Charts
@mui/x-charts@7.1.0
  • charts] Fix tooltip causing crash on data change ([#​12571](https://github.com/mui/mui-x/issues/12571)) [@​Rishi556](https://github.com/Rishi556)
    
    
Tree View
@mui/x-tree-view@7.1.0
  • TreeView] Do not use outdated version of the state to compute new label first char in `RichTreeView` ([#​12512](https://github.com/mui/mui-x/issues/12512)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
    
Docs
  • docs] Add example to add a second icon next to the field's opening button ([#​12524](https://github.com/mui/mui-x/issues/12524)) [@​flaviendelangle](https://github.com/flaviendelangle)
    
  • docs] Add missing note to Data Grid migration guide ([#​12557](https://github.com/mui/mui-x/issues/12557)) [@​romgrk](https://github.com/romgrk)
    
  • docs] Fix Charts title for SEO ([#​12545](https://github.com/mui/mui-x/issues/12545)) [@​oliviertassinari](https://github.com/oliviertassinari)
    
  • docs] Fix small typo ([#​12558](https://github.com/mui/mui-x/issues/12558)) [@​diogoparente](https://github.com/diogoparente)
    
  • docs] Improve codemod related documentation ([#​12582](https://github.com/mui/mui-x/issues/12582)) [@​MBilalShafi](https://github.com/MBilalShafi)
    
  • docs] Reduce noise in migration docs side navigation ([#​12552](https://github.com/mui/mui-x/issues/12552)) [@​cherniavskii](https://github.com/cherniavskii)
    
  • docs] Sync static images from core repository ([#​12525](https://github.com/mui/mui-x/issues/12525)) [@​LukasTy](https://github.com/LukasTy)
    
    
Core
  • core] Fix `l10n` script on Windows ([#​12550](https://github.com/mui/mui-x/issues/12550)) [@​LukasTy](https://github.com/LukasTy)
    
  • core] Include `DateTimeRangePicker` tag in `releaseChangelog` ([#​12526](https://github.com/mui/mui-x/issues/12526)) [@​LukasTy](https://github.com/LukasTy)
    
  • core] Upgrade monorepo ([#​12536](https://github.com/mui/mui-x/issues/12536)) [@​cherniavskii](https://github.com/cherniavskii)
    
    

v7.0.0

Compare Source

Mar 22, 2024

We're excited to announce the first v7 stable release! 🎉🚀

This is now the officially supported major version, where we'll keep rolling out new features, bug fixes, and improvements.
Migration guides are available with a complete list of the breaking changes:

We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights :

Data Grid
Breaking changes
  • The density is a controlled prop now, if you were previously passing the density prop to the Data Grid, you will need to do one of the following:

    1. Move it to the initialState.density to initialize it.
     <DataGrid
    -  density="compact"
    +  initialState={{ density: "compact" }}
     />
    
    1. Move it to the state and use onDensityChange callback to update the density prop accordingly for it to work as expected.
    + const [density, setDensity] = React.useState<GridDensity>('compact');
     <DataGrid
    -  density="compact"
    +  density={density}
    +  onDensityChange={(newDensity) => setDensity(newDensity)}
     />
    
  • The selector gridDensityValueSelector was removed, use the gridDensitySelector instead.

  • The props rowBuffer and columnBuffer were renamed to rowBufferPx and columnBufferPx.
    Their value is now a pixel value rather than a number of items. Their default value is now 150.

  • The props rowThreshold and columnThreshold have been removed.
    If you had the rowThreshold prop set to 0 to force new rows to be rendered more often – this is no longer necessary.

@mui/x-data-grid@7.0.0
  • DataGrid] Allow to control the grid density ([#&#8203;12332](https://github.com/mui/mui-x/issues/12332)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi)
    
  • DataGrid] Dynamic virtualization range ([#&#8203;12353](https://github.com/mui/mui-x/issues/12353)) [@&#8203;romgrk](https://github.com/romgrk)
    
  • DataGrid] Fix `ElementType` usage ([#&#8203;12479](https://github.com/mui/mui-x/issues/12479)) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
  • DataGrid] Fix cell value formatting on copy ([#&#8203;12357](https://github.com/mui/mui-x/issues/12357)) [@&#8203;sai6855](https://github.com/sai6855)
    
  • DataGrid] Fix checkbox selection is keeping selection when filtering ([#&#8203;11751](https://github.com/mui/mui-x/issues/11751)) [@&#8203;g1mishra](https://github.com/g1mishra)
    
  • DataGrid] Make `rows` an optional prop ([#&#8203;12478](https://github.com/mui/mui-x/issues/12478)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi)
    
    

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

Same changes as in @mui/x-data-grid-pro@7.0.0, plus:

  • DataGridPremium] Add support for confirmation before clipboard paste ([#&#8203;12225](https://github.com/mui/mui-x/issues/12225)) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
  • DataGridPremium] Fix single grouping column sorting ([#&#8203;9679](https://github.com/mui/mui-x/issues/9679)) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
  • DataGridPremium] Fix boolean cell not rendered in group rows ([#&#8203;12492](https://github.com/mui/mui-x/issues/12492)) [@&#8203;sai6855](https://github.com/sai6855)
    
    
Date and Time Pickers
Breaking changes
  • The DesktopDateTimePicker view rendering has been optimized by using the same technique as for DesktopDateTimeRangePicker.
    • The dateTimeViewRenderers have been removed in favor of reusing existing time view renderers (renderTimeViewClock, renderDigitalClockTimeView and renderMultiSectionDigitalClockTimeView) and date view renderer (renderDateViewCalendar).
    • Passing renderTimeViewClock to time view renderers will no longer revert to the old behavior of rendering only date or time view.
@mui/x-date-pickers@7.0.0
  • fields] Allow to override the separator between the start and the end date in all range fields ([#&#8203;12174](https://github.com/mui/mui-x/issues/12174)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle)
    
  • fields] Support format without separator ([#&#8203;12489](https://github.com/mui/mui-x/issues/12489)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle)
    
  • pickers] Use renderer interceptor on `DesktopDateTimePicker` ([#&#8203;12441](https://github.com/mui/mui-x/issues/12441)) [@&#8203;LukasTy](https://github.com/LukasTy)
    
    

Same changes as in @mui/x-date-pickers@7.0.0, plus:

  • DateTimeRangePicker] Add component `JSDoc` ([#&#8203;12518](https://github.com/mui/mui-x/issues/12518)) [@&#8203;LukasTy](https://github.com/LukasTy)
    
  • DateTimeRangePicker] Fix views behavior regression ([#&#8203;12529](https://github.com/mui/mui-x/issues/12529)) [@&#8203;LukasTy](https://github.com/LukasTy)
    
    
Charts
@mui/x-charts@7.0.0
  • charts] Fix small typo in `CartesianContextProvider` ([#&#8203;12461](https://github.com/mui/mui-x/issues/12461)) [@&#8203;Janpot](https://github.com/Janpot)
    
    
Tree View
Breaking changes
  • The required nodeId prop used by the TreeItem has been renamed to itemId for consistency:
 <TreeView>
-    <TreeItem label="Item 1" nodeId="one">
+    <TreeItem label="Item 1" itemId="one">
 </TreeView>
  • The focus is now applied to the Tree Item root element instead of the Tree View root element.

    This change will allow new features that require the focus to be on the Tree Item,
    like the drag and drop reordering of items.
    It also solves several issues with focus management,
    like the inability to scroll to the focused item when a lot of items are rendered.

    This will mostly impact how you write tests to interact with the Tree View:

    For example, if you were writing a test with react-testing-library, here is what the changes could look like:

     it('test example on first item', () => {
    -  const { getByRole } = render(
    +  const { getAllByRole } = render(
         <SimpleTreeView>
           <TreeItem nodeId="one" />
           <TreeItem nodeId="two" />
        </SimpleTreeView>
       );
    
    -  const tree = getByRole('tree');
    +  const firstTreeItem = getAllByRole('treeitem')[0];
       act(() => {
    -    tree.focus();
    +    firstTreeItem.focus();
       });
    -  fireEvent.keyDown(tree, { key: 'ArrowDown' });
    +  fireEvent.keyDown(firstTreeItem, { key: 'ArrowDown' });
     })
    
@mui/x-tree-view@7.0.0
  • TreeView] Rename `nodeId` to `itemId` ([#&#8203;12418](https://github.com/mui/mui-x/issues/12418)) [@&#8203;noraleonte](https://github.com/noraleonte)
    
  • TreeView] Set focus on the focused Tree Item instead of the Tree View ([#&#8203;12226](https://github.com/mui/mui-x/issues/12226)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle)
    
  • TreeView] Update JSDoc of the `ContentComponent` prop to avoid using the word "node" ([#&#8203;12476](https://github.com/mui/mui-x/issues/12476)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle)
    
    
@mui/x-codemod@7.0.0
  • codemod] Add a codemod and update the grid migration guide ([#&#8203;12488](https://github.com/mui/mui-x/issues/12488)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi)
    
    
Docs
  • docs] Finalize migration guide ([#&#8203;12501](https://github.com/mui/mui-x/issues/12501)) [@&#8203;noraleonte](https://github.com/noraleonte)
    
  • docs] Fix nested cells alignment in the popular features demo ([#&#8203;12450](https://github.com/mui/mui-x/issues/12450)) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
  • docs] Fix some Vale errors ([#&#8203;12469](https://github.com/mui/mui-x/issues/12469)) [@&#8203;oliviertassinari](https://github.com/oliviertassinari)
    
  • docs] Remove mentions of pre release ([#&#8203;12513](https://github.com/mui/mui-x/issues/12513)) [@&#8203;noraleonte](https://github.com/noraleonte)
    
  • docs] Update branch name and tags ([#&#8203;12498](https://github.com/mui/mui-x/issues/12498)) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
  • docs] Update links to v6 ([#&#8203;12496](https://github.com/mui/mui-x/issues/12496)) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
  • docs] Update links to v7 docs ([#&#8203;12500](https://github.com/mui/mui-x/issues/12500)) [@&#8203;noraleonte](https://github.com/noraleonte)
    
  • docs] Update supported versions ([#&#8203;12508](https://github.com/mui/mui-x/issues/12508)) [@&#8203;joserodolfofreitas](https://github.com/joserodolfofreitas)
    
  • docs] Update "What's new in MUI X" page [#&#8203;12527](https://github.com/mui/mui-x/issues/12527) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
    
Core
  • core] Bump `@mui/material` peer dependency for all packages ([#&#8203;12516](https://github.com/mui/mui-x/issues/12516)) [@&#8203;LukasTy](https://github.com/LukasTy)
    
  • core] Fix `no-restricted-imports` ESLint rule not working for Data Grid packages ([#&#8203;12477](https://github.com/mui/mui-x/issues/12477)) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
  • core] Lower the frequency of `no-response` action runs ([#&#8203;12491](https://github.com/mui/mui-x/issues/12491)) [@&#8203;michaldudak](https://github.com/michaldudak)
    
  • core] Remove leftover `legacy` `browserlistrc` entry ([#&#8203;12415](https://github.com/mui/mui-x/issues/12415)) [@&#8203;LukasTy](https://github.com/LukasTy)
    
  • core] Update NPM tag ([#&#8203;12511](https://github.com/mui/mui-x/issues/12511)) [@&#8203;cherniavskii](https://github.com/cherniavskii)
    
  • core] Update supported browsers (browserlistrc) ([#&#8203;12521](https://github.com/mui/mui-x/issues/12521)) [@&#8203;LukasTy](https://github.com/LukasTy)
    
  • core] Use Circle CI context [@&#8203;oliviertassinari](https://github.com/oliviertassinari)
    
  • license] Fix grammar on expired license error message ([#&#8203;12460](https://github.com/mui/mui-x/issues/12460)) [@&#8203;joserodolfofreitas](https://github.com/joserodolfofreitas)
    
    

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@mui/x-data-grid](https://mui.com/x/react-data-grid/) ([source](https://github.com/mui/mui-x/tree/HEAD/packages/x-data-grid)) | dependencies | major | [`^6.12.1` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@mui%2fx-data-grid/6.19.9/7.1.1) | --- ### Release Notes <details> <summary>mui/mui-x (@&#8203;mui/x-data-grid)</summary> ### [`v7.1.1`](https://github.com/mui/mui-x/blob/HEAD/CHANGELOG.md#711) [Compare Source](https://github.com/mui/mui-x/compare/v7.1.0...v7.1.1) *Apr 5, 2024* We'd like to offer a big thanks to the 19 contributors who made this release possible. Here are some highlights ✨: - 🚀 Add `setItemExpansion` Tree View API method ([#&#8203;12595](https://github.com/mui/mui-x/issues/12595)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - 🌍 Improve Persian (fa-IR), Portuguese (pt-BR), and Spanish (es-ES) locale on the Data Grid - 🌍 Improve Persian (fa-IR), Portuguese (pt-BR), and Ukrainian (uk-UA) locale on the Pickers - 🐞 Bugfixes - 📚 Documentation improvements ##### Data Grid ##### `@mui/x-data-grid@7.1.1` - \[DataGrid] Allow higher packages' props to be used in MIT ([#&#8203;12365](https://github.com/mui/mui-x/issues/12365)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) - \[DataGrid] Fix RTL mode ([#&#8203;12583](https://github.com/mui/mui-x/issues/12583)) [@&#8203;romgrk](https://github.com/romgrk) - \[DataGrid] Fix `ColDefChangesGridNoSnap` demo crash ([#&#8203;12663](https://github.com/mui/mui-x/issues/12663)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) - \[DataGrid] Fix server-side filter demo not working ([#&#8203;12662](https://github.com/mui/mui-x/issues/12662)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) - \[DataGrid] Log error if `rowCount` is used with client-side pagination ([#&#8203;12448](https://github.com/mui/mui-x/issues/12448)) [@&#8203;michelengelen](https://github.com/michelengelen) - \[DataGrid] Remove `GridFormatterParams` completely ([#&#8203;12660](https://github.com/mui/mui-x/issues/12660)) [@&#8203;romgrk](https://github.com/romgrk) - \[DataGrid] Restore main slot ([#&#8203;12657](https://github.com/mui/mui-x/issues/12657)) [@&#8203;romgrk](https://github.com/romgrk) - \[l10n] Improve Persian (fa-IR) locale ([#&#8203;12630](https://github.com/mui/mui-x/issues/12630)) [@&#8203;amirhosseinzf](https://github.com/amirhosseinzf) - \[l10n] Improve Portuguese (pt-BR) locale ([#&#8203;12618](https://github.com/mui/mui-x/issues/12618)) [@&#8203;hugoalkimim](https://github.com/hugoalkimim) - \[l10n] Improve Spanish (es-ES) locale ([#&#8203;12606](https://github.com/mui/mui-x/issues/12606)) [@&#8203;aitor40](https://github.com/aitor40) ##### `@mui/x-data-grid-pro@7.1.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-data-grid@7.1.1`. ##### `@mui/x-data-grid-premium@7.1.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link "Premium plan") Same changes as in `@mui/x-data-grid-pro@7.1.1`. ##### Date and Time Pickers ##### `@mui/x-date-pickers@7.1.1` - \[fields] Fix `readOnly` behavior ([#&#8203;12609](https://github.com/mui/mui-x/issues/12609)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[l10n] Improve Persian (fa-IR) locale ([#&#8203;12632](https://github.com/mui/mui-x/issues/12632)) [@&#8203;misafari](https://github.com/misafari) - \[l10n] Improve Portuguese (pt-BR) locale ([#&#8203;12613](https://github.com/mui/mui-x/issues/12613)) [@&#8203;cnHealth](https://github.com/cnHealth) - \[l10n] Improve Ukrainian (uk-UA) locale ([#&#8203;12627](https://github.com/mui/mui-x/issues/12627)) [@&#8203;alexkobylansky](https://github.com/alexkobylansky) ##### `@mui/x-date-pickers-pro@7.1.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-date-pickers@7.1.1`, plus: - \[DateTimeRangePicker] Fix selection on same day ([#&#8203;12604](https://github.com/mui/mui-x/issues/12604)) [@&#8203;LukasTy](https://github.com/LukasTy) ##### Charts ##### `@mui/x-charts@7.1.1` - \[charts] Fix `tickInterval` usage for y-axis ([#&#8203;12592](https://github.com/mui/mui-x/issues/12592)) [@&#8203;alexfauquette](https://github.com/alexfauquette) - \[charts] Fix Scatter series highlight when `id` is a `number` ([#&#8203;12677](https://github.com/mui/mui-x/issues/12677)) [@&#8203;JCQuintas](https://github.com/JCQuintas) - \[charts] Fix TS error when using `sx` property on `ChartsTooltip` ([#&#8203;12659](https://github.com/mui/mui-x/issues/12659)) [@&#8203;JCQuintas](https://github.com/JCQuintas) ##### Tree View ##### `@mui/x-tree-view@7.1.1` - \[TreeView] Add JSDoc to all `publicAPI` methods ([#&#8203;12649](https://github.com/mui/mui-x/issues/12649)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[TreeView] Create `RichTreeViewPro` component (not released yet) ([#&#8203;12610](https://github.com/mui/mui-x/issues/12610)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[TreeView] Create pro package (not released yet) ([#&#8203;12240](https://github.com/mui/mui-x/issues/12240)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[TreeView] Fix typo in errors ([#&#8203;12623](https://github.com/mui/mui-x/issues/12623)) [@&#8203;alissa-tung](https://github.com/alissa-tung) - \[TreeView] New API method: `setItemExpansion` ([#&#8203;12595](https://github.com/mui/mui-x/issues/12595)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) ##### Docs - \[docs] Add a recipe for the `checkboxSelectionVisibleOnly` prop ([#&#8203;12646](https://github.com/mui/mui-x/issues/12646)) [@&#8203;michelengelen](https://github.com/michelengelen) - \[docs] Explain the use of `_action: 'delete'` in `processRowUpdate` ([#&#8203;12670](https://github.com/mui/mui-x/issues/12670)) [@&#8203;michelengelen](https://github.com/michelengelen) - \[docs] Fix formatting and typo on migration guide [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - \[docs] Fix formatting in changelog [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - \[docs] Fix grammar in TreeView migration doc ([#&#8203;12615](https://github.com/mui/mui-x/issues/12615)) [@&#8203;joshkel](https://github.com/joshkel) - \[docs] Fix missing closing props in `PieShapeNoSnap` demo ([#&#8203;12636](https://github.com/mui/mui-x/issues/12636)) [@&#8203;alp-ex](https://github.com/alp-ex) - \[docs] Fix type arguments in Custom Field page ([#&#8203;12619](https://github.com/mui/mui-x/issues/12619)) [@&#8203;Juneezee](https://github.com/Juneezee) - \[docs] Fix typo in `getItemId` prop description ([#&#8203;12637](https://github.com/mui/mui-x/issues/12637)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[docs] Make the Charts `margin` usage more visible ([#&#8203;12591](https://github.com/mui/mui-x/issues/12591)) [@&#8203;alexfauquette](https://github.com/alexfauquette) - \[docs] Match IE 11 spacing with Material UI [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - \[docs] Move data grid interfaces to standard API page layout ([#&#8203;12016](https://github.com/mui/mui-x/issues/12016)) [@&#8203;alexfauquette](https://github.com/alexfauquette) - \[docs] Remove \` around [@&#8203;default](https://github.com/default) values ([#&#8203;12158](https://github.com/mui/mui-x/issues/12158)) [@&#8203;alexfauquette](https://github.com/alexfauquette) - \[docs] Remove `day` from the default `dayOfWeekFormatter` function params ([#&#8203;12644](https://github.com/mui/mui-x/issues/12644)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[docs] Use `TreeItem2` for icon expansion example on `RichTreeView` ([#&#8203;12563](https://github.com/mui/mui-x/issues/12563)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) ##### Core - \[core] Add cherry-pick `master` to `v6` action ([#&#8203;12648](https://github.com/mui/mui-x/issues/12648)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Fix typo in `@mui/x-tree-view-pro/themeAugmentation` ([#&#8203;12674](https://github.com/mui/mui-x/issues/12674)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[core] Introduce `describeTreeView` to run test on `SimpleTreeView` and `RichTreeView`, using `TreeItem` and `TreeItem2` + migrate expansion tests ([#&#8203;12428](https://github.com/mui/mui-x/issues/12428)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[core] Limit `test-types` CI step allowed memory ([#&#8203;12651](https://github.com/mui/mui-x/issues/12651)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Remove explicit `express` package ([#&#8203;12602](https://github.com/mui/mui-x/issues/12602)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Update to new embedded translations in the docs package ([#&#8203;12232](https://github.com/mui/mui-x/issues/12232)) [@&#8203;Janpot](https://github.com/Janpot) - \[core] Use PR labels to identify the package a `l10n` PR belongs to ([#&#8203;12639](https://github.com/mui/mui-x/issues/12639)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Use `describeTreeView` for selection tests ([#&#8203;12647](https://github.com/mui/mui-x/issues/12647)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[docs-infra] Adjust the links to search for issues ([#&#8203;11995](https://github.com/mui/mui-x/issues/11995)) [@&#8203;michelengelen](https://github.com/michelengelen) - \[infra] Polish support survey experience ([#&#8203;12624](https://github.com/mui/mui-x/issues/12624)) [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - \[support-infra] Replace author association with a permission check in survey action ([#&#8203;12068](https://github.com/mui/mui-x/issues/12068)) [@&#8203;michelengelen](https://github.com/michelengelen) - \[support-infra] Fix user permission check ([#&#8203;12669](https://github.com/mui/mui-x/issues/12669)) [@&#8203;michelengelen](https://github.com/michelengelen) - \[test] Fix Tree View test import ([#&#8203;12668](https://github.com/mui/mui-x/issues/12668)) [@&#8203;LukasTy](https://github.com/LukasTy) ### [`v7.1.0`](https://github.com/mui/mui-x/blob/HEAD/CHANGELOG.md#710) [Compare Source](https://github.com/mui/mui-x/compare/v7.0.0...v7.1.0) *Mar 28, 2024* We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨: - 🚀 Add `resizeThrottleMs` prop ([#&#8203;12556](https://github.com/mui/mui-x/issues/12556)) [@&#8203;romgrk](https://github.com/romgrk) - 🌍 Improve Chinese (Hong Kong) (zh-HK) and Italian (it-IT) locale on the Pickers - 🐞 Bugfixes - 📚 Documentation improvements ##### Data Grid ##### `@mui/x-data-grid@7.1.0` - \[DataGrid] Add `resizeThrottleMs` prop ([#&#8203;12556](https://github.com/mui/mui-x/issues/12556)) [@&#8203;romgrk](https://github.com/romgrk) - \[DataGrid] Do not publish `rowEditStop` event if row has fields with errors ([#&#8203;11383](https://github.com/mui/mui-x/issues/11383)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[DataGrid] Fix bug in suspense ([#&#8203;12553](https://github.com/mui/mui-x/issues/12553)) [@&#8203;romgrk](https://github.com/romgrk) - \[DataGrid] Fix missing class name in the `GridToolbarQuickFilter` component ([#&#8203;12484](https://github.com/mui/mui-x/issues/12484)) [@&#8203;jhawkins11](https://github.com/jhawkins11) ##### `@mui/x-data-grid-pro@7.1.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-data-grid@7.1.0`. ##### `@mui/x-data-grid-premium@7.1.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link "Premium plan") Same changes as in `@mui/x-data-grid-pro@7.1.0`. ##### Date and Time Pickers ##### `@mui/x-date-pickers@7.1.0` - \[fields] Fix placeholder override ([#&#8203;12589](https://github.com/mui/mui-x/issues/12589)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[l10n] Improve Chinese (Hong Kong) (zh-HK) locale ([#&#8203;12547](https://github.com/mui/mui-x/issues/12547)) [@&#8203;samchiu90](https://github.com/samchiu90) - \[l10n] Improve Italian (it-IT) locale ([#&#8203;12549](https://github.com/mui/mui-x/issues/12549)) [@&#8203;antomanc](https://github.com/antomanc) - \[pickers] Prepare compatibility with `@mui/zero-runtime` (stop using `ownerState` in `styled`) ([#&#8203;12003](https://github.com/mui/mui-x/issues/12003)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) ##### `@mui/x-date-pickers-pro@7.1.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-date-pickers@7.1.0`, plus: - \[DateRangePicker] Fix selection behavior with single input field when `readOnly` ([#&#8203;12593](https://github.com/mui/mui-x/issues/12593)) [@&#8203;LukasTy](https://github.com/LukasTy) ##### Charts ##### `@mui/x-charts@7.1.0` - \[charts] Fix tooltip causing crash on data change ([#&#8203;12571](https://github.com/mui/mui-x/issues/12571)) [@&#8203;Rishi556](https://github.com/Rishi556) ##### Tree View ##### `@mui/x-tree-view@7.1.0` - \[TreeView] Do not use outdated version of the state to compute new label first char in `RichTreeView` ([#&#8203;12512](https://github.com/mui/mui-x/issues/12512)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) ##### Docs - \[docs] Add example to add a second icon next to the field's opening button ([#&#8203;12524](https://github.com/mui/mui-x/issues/12524)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[docs] Add missing note to Data Grid migration guide ([#&#8203;12557](https://github.com/mui/mui-x/issues/12557)) [@&#8203;romgrk](https://github.com/romgrk) - \[docs] Fix Charts title for SEO ([#&#8203;12545](https://github.com/mui/mui-x/issues/12545)) [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - \[docs] Fix small typo ([#&#8203;12558](https://github.com/mui/mui-x/issues/12558)) [@&#8203;diogoparente](https://github.com/diogoparente) - \[docs] Improve codemod related documentation ([#&#8203;12582](https://github.com/mui/mui-x/issues/12582)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) - \[docs] Reduce noise in migration docs side navigation ([#&#8203;12552](https://github.com/mui/mui-x/issues/12552)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[docs] Sync static images from core repository ([#&#8203;12525](https://github.com/mui/mui-x/issues/12525)) [@&#8203;LukasTy](https://github.com/LukasTy) ##### Core - \[core] Fix `l10n` script on Windows ([#&#8203;12550](https://github.com/mui/mui-x/issues/12550)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Include `DateTimeRangePicker` tag in `releaseChangelog` ([#&#8203;12526](https://github.com/mui/mui-x/issues/12526)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Upgrade monorepo ([#&#8203;12536](https://github.com/mui/mui-x/issues/12536)) [@&#8203;cherniavskii](https://github.com/cherniavskii) ### [`v7.0.0`](https://github.com/mui/mui-x/blob/HEAD/CHANGELOG.md#700) [Compare Source](https://github.com/mui/mui-x/compare/v6.19.9...v7.0.0) *Mar 22, 2024* We're excited to [announce the first v7 stable release](https://mui.com/blog/mui-x-v7/)! 🎉🚀 This is now the officially supported major version, where we'll keep rolling out new features, bug fixes, and improvements. Migration guides are available with a complete list of the breaking changes: - [Data Grid](https://mui.com/x/migration/migration-data-grid-v6/) - [Date and Time Pickers](https://mui.com/x/migration/migration-pickers-v6/) - [Tree View](https://mui.com/x/migration/migration-tree-view-v6/) - [Charts](https://mui.com/x/migration/migration-charts-v6/) We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨: - 🚀 Improve the usage of custom `viewRenderers` on `DateTimePicker` ([#&#8203;12441](https://github.com/mui/mui-x/issues/12441)) [@&#8203;LukasTy](https://github.com/LukasTy) - ✨ Set focus on the focused Tree Item instead of the Tree View ([#&#8203;12226](https://github.com/mui/mui-x/issues/12226)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - 🕹️ Support controlled `density` for the Data Grid ([#&#8203;12332](https://github.com/mui/mui-x/issues/12332)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) - 🎁 Dynamic virtualization range for the Data Grid ([#&#8203;12353](https://github.com/mui/mui-x/issues/12353)) [@&#8203;romgrk](https://github.com/romgrk) - 🐞 Bugfixes - 📚 Documentation improvements ##### Data Grid ##### Breaking changes - The `density` is a [controlled prop](https://mui.com/x/react-data-grid/accessibility/#set-the-density-programmatically) now, if you were previously passing the `density` prop to the Data Grid, you will need to do one of the following: 1. Move it to the `initialState.density` to initialize it. ```diff <DataGrid - density="compact" + initialState={{ density: "compact" }} /> ``` 2. Move it to the state and use `onDensityChange` callback to update the `density` prop accordingly for it to work as expected. ```diff + const [density, setDensity] = React.useState<GridDensity>('compact'); <DataGrid - density="compact" + density={density} + onDensityChange={(newDensity) => setDensity(newDensity)} /> ``` - The selector `gridDensityValueSelector` was removed, use the `gridDensitySelector` instead. - The props `rowBuffer` and `columnBuffer` were renamed to `rowBufferPx` and `columnBufferPx`. Their value is now a pixel value rather than a number of items. Their default value is now `150`. - The props `rowThreshold` and `columnThreshold` have been removed. If you had the `rowThreshold` prop set to `0` to force new rows to be rendered more often – this is no longer necessary. ##### `@mui/x-data-grid@7.0.0` - \[DataGrid] Allow to control the grid density ([#&#8203;12332](https://github.com/mui/mui-x/issues/12332)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) - \[DataGrid] Dynamic virtualization range ([#&#8203;12353](https://github.com/mui/mui-x/issues/12353)) [@&#8203;romgrk](https://github.com/romgrk) - \[DataGrid] Fix `ElementType` usage ([#&#8203;12479](https://github.com/mui/mui-x/issues/12479)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[DataGrid] Fix cell value formatting on copy ([#&#8203;12357](https://github.com/mui/mui-x/issues/12357)) [@&#8203;sai6855](https://github.com/sai6855) - \[DataGrid] Fix checkbox selection is keeping selection when filtering ([#&#8203;11751](https://github.com/mui/mui-x/issues/11751)) [@&#8203;g1mishra](https://github.com/g1mishra) - \[DataGrid] Make `rows` an optional prop ([#&#8203;12478](https://github.com/mui/mui-x/issues/12478)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) ##### `@mui/x-data-grid-pro@7.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-data-grid@7.0.0`. ##### `@mui/x-data-grid-premium@7.0.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link "Premium plan") Same changes as in `@mui/x-data-grid-pro@7.0.0`, plus: - \[DataGridPremium] Add support for confirmation before clipboard paste ([#&#8203;12225](https://github.com/mui/mui-x/issues/12225)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[DataGridPremium] Fix single grouping column sorting ([#&#8203;9679](https://github.com/mui/mui-x/issues/9679)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[DataGridPremium] Fix boolean cell not rendered in group rows ([#&#8203;12492](https://github.com/mui/mui-x/issues/12492)) [@&#8203;sai6855](https://github.com/sai6855) ##### Date and Time Pickers ##### Breaking changes - The `DesktopDateTimePicker` view rendering has been optimized by using the same technique as for `DesktopDateTimeRangePicker`. - The `dateTimeViewRenderers` have been removed in favor of reusing existing time view renderers (`renderTimeViewClock`, `renderDigitalClockTimeView` and `renderMultiSectionDigitalClockTimeView`) and date view renderer (`renderDateViewCalendar`). - Passing `renderTimeViewClock` to time view renderers will no longer revert to the old behavior of rendering only date or time view. ##### `@mui/x-date-pickers@7.0.0` - \[fields] Allow to override the separator between the start and the end date in all range fields ([#&#8203;12174](https://github.com/mui/mui-x/issues/12174)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[fields] Support format without separator ([#&#8203;12489](https://github.com/mui/mui-x/issues/12489)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[pickers] Use renderer interceptor on `DesktopDateTimePicker` ([#&#8203;12441](https://github.com/mui/mui-x/issues/12441)) [@&#8203;LukasTy](https://github.com/LukasTy) ##### `@mui/x-date-pickers-pro@7.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-date-pickers@7.0.0`, plus: - \[DateTimeRangePicker] Add component `JSDoc` ([#&#8203;12518](https://github.com/mui/mui-x/issues/12518)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[DateTimeRangePicker] Fix views behavior regression ([#&#8203;12529](https://github.com/mui/mui-x/issues/12529)) [@&#8203;LukasTy](https://github.com/LukasTy) ##### Charts ##### `@mui/x-charts@7.0.0` - \[charts] Fix small typo in `CartesianContextProvider` ([#&#8203;12461](https://github.com/mui/mui-x/issues/12461)) [@&#8203;Janpot](https://github.com/Janpot) ##### Tree View ##### Breaking changes - The required `nodeId` prop used by the `TreeItem` has been renamed to `itemId` for consistency: ```diff <TreeView> - <TreeItem label="Item 1" nodeId="one"> + <TreeItem label="Item 1" itemId="one"> </TreeView> ``` - The focus is now applied to the Tree Item root element instead of the Tree View root element. This change will allow new features that require the focus to be on the Tree Item, like the drag and drop reordering of items. It also solves several issues with focus management, like the inability to scroll to the focused item when a lot of items are rendered. This will mostly impact how you write tests to interact with the Tree View: For example, if you were writing a test with `react-testing-library`, here is what the changes could look like: ```diff it('test example on first item', () => { - const { getByRole } = render( + const { getAllByRole } = render( <SimpleTreeView> <TreeItem nodeId="one" /> <TreeItem nodeId="two" /> </SimpleTreeView> ); - const tree = getByRole('tree'); + const firstTreeItem = getAllByRole('treeitem')[0]; act(() => { - tree.focus(); + firstTreeItem.focus(); }); - fireEvent.keyDown(tree, { key: 'ArrowDown' }); + fireEvent.keyDown(firstTreeItem, { key: 'ArrowDown' }); }) ``` ##### `@mui/x-tree-view@7.0.0` - \[TreeView] Rename `nodeId` to `itemId` ([#&#8203;12418](https://github.com/mui/mui-x/issues/12418)) [@&#8203;noraleonte](https://github.com/noraleonte) - \[TreeView] Set focus on the focused Tree Item instead of the Tree View ([#&#8203;12226](https://github.com/mui/mui-x/issues/12226)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) - \[TreeView] Update JSDoc of the `ContentComponent` prop to avoid using the word "node" ([#&#8203;12476](https://github.com/mui/mui-x/issues/12476)) [@&#8203;flaviendelangle](https://github.com/flaviendelangle) ##### `@mui/x-codemod@7.0.0` - \[codemod] Add a codemod and update the grid migration guide ([#&#8203;12488](https://github.com/mui/mui-x/issues/12488)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) ##### Docs - \[docs] Finalize migration guide ([#&#8203;12501](https://github.com/mui/mui-x/issues/12501)) [@&#8203;noraleonte](https://github.com/noraleonte) - \[docs] Fix nested cells alignment in the popular features demo ([#&#8203;12450](https://github.com/mui/mui-x/issues/12450)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[docs] Fix some Vale errors ([#&#8203;12469](https://github.com/mui/mui-x/issues/12469)) [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - \[docs] Remove mentions of pre release ([#&#8203;12513](https://github.com/mui/mui-x/issues/12513)) [@&#8203;noraleonte](https://github.com/noraleonte) - \[docs] Update branch name and tags ([#&#8203;12498](https://github.com/mui/mui-x/issues/12498)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[docs] Update links to v6 ([#&#8203;12496](https://github.com/mui/mui-x/issues/12496)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[docs] Update links to v7 docs ([#&#8203;12500](https://github.com/mui/mui-x/issues/12500)) [@&#8203;noraleonte](https://github.com/noraleonte) - \[docs] Update supported versions ([#&#8203;12508](https://github.com/mui/mui-x/issues/12508)) [@&#8203;joserodolfofreitas](https://github.com/joserodolfofreitas) - \[docs] Update "What's new in MUI X" page [#&#8203;12527](https://github.com/mui/mui-x/issues/12527) [@&#8203;cherniavskii](https://github.com/cherniavskii) ##### Core - \[core] Bump `@mui/material` peer dependency for all packages ([#&#8203;12516](https://github.com/mui/mui-x/issues/12516)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Fix `no-restricted-imports` ESLint rule not working for Data Grid packages ([#&#8203;12477](https://github.com/mui/mui-x/issues/12477)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[core] Lower the frequency of `no-response` action runs ([#&#8203;12491](https://github.com/mui/mui-x/issues/12491)) [@&#8203;michaldudak](https://github.com/michaldudak) - \[core] Remove leftover `legacy` `browserlistrc` entry ([#&#8203;12415](https://github.com/mui/mui-x/issues/12415)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Update NPM tag ([#&#8203;12511](https://github.com/mui/mui-x/issues/12511)) [@&#8203;cherniavskii](https://github.com/cherniavskii) - \[core] Update supported browsers (browserlistrc) ([#&#8203;12521](https://github.com/mui/mui-x/issues/12521)) [@&#8203;LukasTy](https://github.com/LukasTy) - \[core] Use Circle CI context [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - \[license] Fix grammar on expired license error message ([#&#8203;12460](https://github.com/mui/mui-x/issues/12460)) [@&#8203;joserodolfofreitas](https://github.com/joserodolfofreitas) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yODAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI4MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
pierre added 1 commit 2024-04-07 00:14:08 +00:00
Update dependency @mui/x-data-grid to v7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
c96b8cbad1
pierre scheduled this pull request to auto merge when all checks succeed 2024-04-07 00:14:08 +00:00
pierre merged commit c96b8cbad1 into master 2024-04-07 00:34:06 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pierre/VirtWeb#6
No description provided.