Skip to content

Commit

Permalink
fix(deps): update dependency @mui/x-data-grid to v7 (#126)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/x-data-grid](https://mui.com/x/react-data-grid/)
([source](https://togithub.com/mui/mui-x/tree/HEAD/packages/grid/x-data-grid))
| [`^6.18.4` ->
`^7.0.0`](https://renovatebot.com/diffs/npm/@mui%2fx-data-grid/6.19.10/7.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fx-data-grid/7.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fx-data-grid/7.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fx-data-grid/6.19.10/7.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fx-data-grid/6.19.10/7.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mui/mui-x (@&#8203;mui/x-data-grid)</summary>

###
[`v7.2.0`](https://togithub.com/mui/mui-x/blob/HEAD/CHANGELOG.md#720)

[Compare Source](https://togithub.com/mui/mui-x/compare/v7.1.1...v7.2.0)

*Apr 12, 2024*

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

-   🎨 Make grid colors customizable through the MUI themes API
- 🌍 Improve French (fr-FR), German (de-DE), and Swedish (sv-SE) locales
on the Data Grid and Pickers
-   🐞 Bugfixes
-   📚 Documentation improvements

##### Data Grid

##### `@mui/[email protected]`

- \[DataGrid] Add missing `api` property to `GridCallbackDetails`
([#&#8203;12742](https://togithub.com/mui/mui-x/issues/12742))
[@&#8203;sai6855](https://togithub.com/sai6855)
- \[DataGrid] Do not escape double quotes when copying to clipboard
([#&#8203;12722](https://togithub.com/mui/mui-x/issues/12722))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[DataGrid] Fix column vertical border
([#&#8203;12741](https://togithub.com/mui/mui-x/issues/12741))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[DataGrid] Fix invalid date error when filtering `date`/`dateTime`
columns ([#&#8203;12709](https://togithub.com/mui/mui-x/issues/12709))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[DataGrid] Fix overflow with dynamic row height
([#&#8203;12683](https://togithub.com/mui/mui-x/issues/12683))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[DataGrid] Make colors customizable
([#&#8203;12614](https://togithub.com/mui/mui-x/issues/12614))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[l10n] Improve French (fr-FR) locale
([#&#8203;12755](https://togithub.com/mui/mui-x/issues/12755))
[@&#8203;derek-0000](https://togithub.com/derek-0000)
- \[l10n] Improve German (de-DE) locale
([#&#8203;12752](https://togithub.com/mui/mui-x/issues/12752))
[@&#8203;Jens-Schoen](https://togithub.com/Jens-Schoen)
- \[l10n] Improve Swedish (sv-SE) locale
([#&#8203;12731](https://togithub.com/mui/mui-x/issues/12731))
[@&#8203;pontusdacke](https://togithub.com/pontusdacke)

##### `@mui/[email protected]`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/[email protected]`.

##### `@mui/[email protected]`
[![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link
"Premium plan")

Same changes as in `@mui/[email protected]`, plus:

- \[DataGridPremium] Fix clipboard paste not working when cell loses
focus ([#&#8203;12724](https://togithub.com/mui/mui-x/issues/12724))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)

##### Date and Time Pickers

##### `@mui/[email protected]`

- \[fields] Fix field editing after closing the picker
([#&#8203;12675](https://togithub.com/mui/mui-x/issues/12675))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[l10n] Improve French (fr-FR) locale
([#&#8203;12692](https://togithub.com/mui/mui-x/issues/12692))
[@&#8203;FaroukBel](https://togithub.com/FaroukBel)
- \[l10n] Improve German (de-DE) locale
([#&#8203;12752](https://togithub.com/mui/mui-x/issues/12752))
[@&#8203;Jens-Schoen](https://togithub.com/Jens-Schoen)
- \[l10n] Improve Swedish (sv-SE) locale
([#&#8203;12731](https://togithub.com/mui/mui-x/issues/12731))
[@&#8203;pontusdacke](https://togithub.com/pontusdacke)
- \[pickers] Fix desktop date time Pickers grid layout
([#&#8203;12748](https://togithub.com/mui/mui-x/issues/12748))
[@&#8203;LukasTy](https://togithub.com/LukasTy)

##### `@mui/[email protected]`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/[email protected]`, plus:

- \[DateTimeRangePicker] Fix desktop toolbar style
([#&#8203;12760](https://togithub.com/mui/mui-x/issues/12760))
[@&#8203;LukasTy](https://togithub.com/LukasTy)

##### Charts

##### `@mui/[email protected]`

- \[charts] Fix Bar chart with empty dataset throwing an error
([#&#8203;12708](https://togithub.com/mui/mui-x/issues/12708))
[@&#8203;JCQuintas](https://togithub.com/JCQuintas)
- \[charts] Fix `tickLabelInterval` not working on `YAxis`
([#&#8203;12746](https://togithub.com/mui/mui-x/issues/12746))
[@&#8203;JCQuintas](https://togithub.com/JCQuintas)

##### Tree View

##### `@mui/[email protected]`

- \[TreeView] Add a new lookup to access an item index without expansive
computation
([#&#8203;12729](https://togithub.com/mui/mui-x/issues/12729))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Clean up usage of term "node" in internals
([#&#8203;12655](https://togithub.com/mui/mui-x/issues/12655))
[@&#8203;noraleonte](https://togithub.com/noraleonte)
- \[TreeView] Improve performance by removing `getNavigableChildrenIds`
method ([#&#8203;12713](https://togithub.com/mui/mui-x/issues/12713))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Remove `state.items.itemTree`
([#&#8203;12717](https://togithub.com/mui/mui-x/issues/12717))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Remove remaining occurences of the word "node" in the
codebase ([#&#8203;12712](https://togithub.com/mui/mui-x/issues/12712))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Return `instance` and `publicAPI` methods from plugin and
populate the main objects inside `useTreeView`
([#&#8203;12650](https://togithub.com/mui/mui-x/issues/12650))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Fix behaviors when the item order changes
([#&#8203;12369](https://togithub.com/mui/mui-x/issues/12369))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

##### Docs

- \[docs] Add `AxisFormatter` documentation for customizing tick/tooltip
value formatting
([#&#8203;12700](https://togithub.com/mui/mui-x/issues/12700))
[@&#8203;JCQuintas](https://togithub.com/JCQuintas)
- \[docs] Add file explorer example to rich tree view customization docs
([#&#8203;12707](https://togithub.com/mui/mui-x/issues/12707))
[@&#8203;noraleonte](https://togithub.com/noraleonte)
- \[docs] Do not use import of depth 3 in the doc
([#&#8203;12716](https://togithub.com/mui/mui-x/issues/12716))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[docs] Explain how to clip plots with composition
([#&#8203;12679](https://togithub.com/mui/mui-x/issues/12679))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Fix typo in Data Grid v7 migration page
([#&#8203;12720](https://togithub.com/mui/mui-x/issues/12720))
[@&#8203;bfaulk96](https://togithub.com/bfaulk96)
- \[docs] Fix typo in Pickers v7 migration page
([#&#8203;12721](https://togithub.com/mui/mui-x/issues/12721))
[@&#8203;bfaulk96](https://togithub.com/bfaulk96)

##### Core

- \[core] Support multiple resolved `l10n` PR packages
([#&#8203;12735](https://togithub.com/mui/mui-x/issues/12735))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Update Netlify release references in release README
([#&#8203;12687](https://togithub.com/mui/mui-x/issues/12687))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Use `describeTreeView` for icons tests
([#&#8203;12672](https://togithub.com/mui/mui-x/issues/12672))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[core] Use `describeTreeView` in existing tests for
`useTreeViewItems`
([#&#8203;12732](https://togithub.com/mui/mui-x/issues/12732))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

###
[`v7.1.1`](https://togithub.com/mui/mui-x/blob/HEAD/CHANGELOG.md#711)

[Compare Source](https://togithub.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://togithub.com/mui/mui-x/issues/12595))
[@&#8203;flaviendelangle](https://togithub.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/[email protected]`

- \[DataGrid] Allow higher packages' props to be used in MIT
([#&#8203;12365](https://togithub.com/mui/mui-x/issues/12365))
[@&#8203;MBilalShafi](https://togithub.com/MBilalShafi)
- \[DataGrid] Fix RTL mode
([#&#8203;12583](https://togithub.com/mui/mui-x/issues/12583))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[DataGrid] Fix `ColDefChangesGridNoSnap` demo crash
([#&#8203;12663](https://togithub.com/mui/mui-x/issues/12663))
[@&#8203;MBilalShafi](https://togithub.com/MBilalShafi)
- \[DataGrid] Fix server-side filter demo not working
([#&#8203;12662](https://togithub.com/mui/mui-x/issues/12662))
[@&#8203;MBilalShafi](https://togithub.com/MBilalShafi)
- \[DataGrid] Log error if `rowCount` is used with client-side
pagination
([#&#8203;12448](https://togithub.com/mui/mui-x/issues/12448))
[@&#8203;michelengelen](https://togithub.com/michelengelen)
- \[DataGrid] Remove `GridFormatterParams` completely
([#&#8203;12660](https://togithub.com/mui/mui-x/issues/12660))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[DataGrid] Restore main slot
([#&#8203;12657](https://togithub.com/mui/mui-x/issues/12657))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[l10n] Improve Persian (fa-IR) locale
([#&#8203;12630](https://togithub.com/mui/mui-x/issues/12630))
[@&#8203;amirhosseinzf](https://togithub.com/amirhosseinzf)
- \[l10n] Improve Portuguese (pt-BR) locale
([#&#8203;12618](https://togithub.com/mui/mui-x/issues/12618))
[@&#8203;hugoalkimim](https://togithub.com/hugoalkimim)
- \[l10n] Improve Spanish (es-ES) locale
([#&#8203;12606](https://togithub.com/mui/mui-x/issues/12606))
[@&#8203;aitor40](https://togithub.com/aitor40)

##### `@mui/[email protected]`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/[email protected]`.

##### `@mui/[email protected]`
[![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link
"Premium plan")

Same changes as in `@mui/[email protected]`.

##### Date and Time Pickers

##### `@mui/[email protected]`

- \[fields] Fix `readOnly` behavior
([#&#8203;12609](https://togithub.com/mui/mui-x/issues/12609))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[l10n] Improve Persian (fa-IR) locale
([#&#8203;12632](https://togithub.com/mui/mui-x/issues/12632))
[@&#8203;misafari](https://togithub.com/misafari)
- \[l10n] Improve Portuguese (pt-BR) locale
([#&#8203;12613](https://togithub.com/mui/mui-x/issues/12613))
[@&#8203;cnHealth](https://togithub.com/cnHealth)
- \[l10n] Improve Ukrainian (uk-UA) locale
([#&#8203;12627](https://togithub.com/mui/mui-x/issues/12627))
[@&#8203;alexkobylansky](https://togithub.com/alexkobylansky)

##### `@mui/[email protected]`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/[email protected]`, plus:

- \[DateTimeRangePicker] Fix selection on same day
([#&#8203;12604](https://togithub.com/mui/mui-x/issues/12604))
[@&#8203;LukasTy](https://togithub.com/LukasTy)

##### Charts

##### `@mui/[email protected]`

- \[charts] Fix `tickInterval` usage for y-axis
([#&#8203;12592](https://togithub.com/mui/mui-x/issues/12592))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[charts] Fix Scatter series highlight when `id` is a `number`
([#&#8203;12677](https://togithub.com/mui/mui-x/issues/12677))
[@&#8203;JCQuintas](https://togithub.com/JCQuintas)
- \[charts] Fix TS error when using `sx` property on `ChartsTooltip`
([#&#8203;12659](https://togithub.com/mui/mui-x/issues/12659))
[@&#8203;JCQuintas](https://togithub.com/JCQuintas)

##### Tree View

##### `@mui/[email protected]`

- \[TreeView] Add JSDoc to all `publicAPI` methods
([#&#8203;12649](https://togithub.com/mui/mui-x/issues/12649))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Create `RichTreeViewPro` component (not released yet)
([#&#8203;12610](https://togithub.com/mui/mui-x/issues/12610))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Create pro package (not released yet)
([#&#8203;12240](https://togithub.com/mui/mui-x/issues/12240))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Fix typo in errors
([#&#8203;12623](https://togithub.com/mui/mui-x/issues/12623))
[@&#8203;alissa-tung](https://togithub.com/alissa-tung)
- \[TreeView] New API method: `setItemExpansion`
([#&#8203;12595](https://togithub.com/mui/mui-x/issues/12595))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

##### Docs

- \[docs] Add a recipe for the `checkboxSelectionVisibleOnly` prop
([#&#8203;12646](https://togithub.com/mui/mui-x/issues/12646))
[@&#8203;michelengelen](https://togithub.com/michelengelen)
- \[docs] Explain the use of `_action: 'delete'` in `processRowUpdate`
([#&#8203;12670](https://togithub.com/mui/mui-x/issues/12670))
[@&#8203;michelengelen](https://togithub.com/michelengelen)
- \[docs] Fix formatting and typo on migration guide
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix formatting in changelog
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix grammar in TreeView migration doc
([#&#8203;12615](https://togithub.com/mui/mui-x/issues/12615))
[@&#8203;joshkel](https://togithub.com/joshkel)
- \[docs] Fix missing closing props in `PieShapeNoSnap` demo
([#&#8203;12636](https://togithub.com/mui/mui-x/issues/12636))
[@&#8203;alp-ex](https://togithub.com/alp-ex)
- \[docs] Fix type arguments in Custom Field page
([#&#8203;12619](https://togithub.com/mui/mui-x/issues/12619))
[@&#8203;Juneezee](https://togithub.com/Juneezee)
- \[docs] Fix typo in `getItemId` prop description
([#&#8203;12637](https://togithub.com/mui/mui-x/issues/12637))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[docs] Make the Charts `margin` usage more visible
([#&#8203;12591](https://togithub.com/mui/mui-x/issues/12591))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Match IE 11 spacing with Material UI
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Move data grid interfaces to standard API page layout
([#&#8203;12016](https://togithub.com/mui/mui-x/issues/12016))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Remove \` around
[@&#8203;default](https://togithub.com/default) values
([#&#8203;12158](https://togithub.com/mui/mui-x/issues/12158))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Remove `day` from the default `dayOfWeekFormatter` function
params ([#&#8203;12644](https://togithub.com/mui/mui-x/issues/12644))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[docs] Use `TreeItem2` for icon expansion example on `RichTreeView`
([#&#8203;12563](https://togithub.com/mui/mui-x/issues/12563))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

##### Core

- \[core] Add cherry-pick `master` to `v6` action
([#&#8203;12648](https://togithub.com/mui/mui-x/issues/12648))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Fix typo in `@mui/x-tree-view-pro/themeAugmentation`
([#&#8203;12674](https://togithub.com/mui/mui-x/issues/12674))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[core] Introduce `describeTreeView` to run test on `SimpleTreeView`
and `RichTreeView`, using `TreeItem` and `TreeItem2` + migrate expansion
tests ([#&#8203;12428](https://togithub.com/mui/mui-x/issues/12428))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[core] Limit `test-types` CI step allowed memory
([#&#8203;12651](https://togithub.com/mui/mui-x/issues/12651))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Remove explicit `express` package
([#&#8203;12602](https://togithub.com/mui/mui-x/issues/12602))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Update to new embedded translations in the docs package
([#&#8203;12232](https://togithub.com/mui/mui-x/issues/12232))
[@&#8203;Janpot](https://togithub.com/Janpot)
- \[core] Use PR labels to identify the package a `l10n` PR belongs to
([#&#8203;12639](https://togithub.com/mui/mui-x/issues/12639))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Use `describeTreeView` for selection tests
([#&#8203;12647](https://togithub.com/mui/mui-x/issues/12647))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[docs-infra] Adjust the links to search for issues
([#&#8203;11995](https://togithub.com/mui/mui-x/issues/11995))
[@&#8203;michelengelen](https://togithub.com/michelengelen)
- \[infra] Polish support survey experience
([#&#8203;12624](https://togithub.com/mui/mui-x/issues/12624))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[support-infra] Replace author association with a permission check in
survey action
([#&#8203;12068](https://togithub.com/mui/mui-x/issues/12068))
[@&#8203;michelengelen](https://togithub.com/michelengelen)
- \[support-infra] Fix user permission check
([#&#8203;12669](https://togithub.com/mui/mui-x/issues/12669))
[@&#8203;michelengelen](https://togithub.com/michelengelen)
- \[test] Fix Tree View test import
([#&#8203;12668](https://togithub.com/mui/mui-x/issues/12668))
[@&#8203;LukasTy](https://togithub.com/LukasTy)

###
[`v7.1.0`](https://togithub.com/mui/mui-x/blob/HEAD/CHANGELOG.md#710)

[Compare Source](https://togithub.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://togithub.com/mui/mui-x/issues/12556))
[@&#8203;romgrk](https://togithub.com/romgrk)
- 🌍 Improve Chinese (Hong Kong) (zh-HK) and Italian (it-IT) locale on
the Pickers
-   🐞 Bugfixes
-   📚 Documentation improvements

##### Data Grid

##### `@mui/[email protected]`

- \[DataGrid] Add `resizeThrottleMs` prop
([#&#8203;12556](https://togithub.com/mui/mui-x/issues/12556))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[DataGrid] Do not publish `rowEditStop` event if row has fields with
errors ([#&#8203;11383](https://togithub.com/mui/mui-x/issues/11383))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[DataGrid] Fix bug in suspense
([#&#8203;12553](https://togithub.com/mui/mui-x/issues/12553))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[DataGrid] Fix missing class name in the `GridToolbarQuickFilter`
component ([#&#8203;12484](https://togithub.com/mui/mui-x/issues/12484))
[@&#8203;jhawkins11](https://togithub.com/jhawkins11)

##### `@mui/[email protected]`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/[email protected]`.

##### `@mui/[email protected]`
[![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link
"Premium plan")

Same changes as in `@mui/[email protected]`.

##### Date and Time Pickers

##### `@mui/[email protected]`

- \[fields] Fix placeholder override
([#&#8203;12589](https://togithub.com/mui/mui-x/issues/12589))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[l10n] Improve Chinese (Hong Kong) (zh-HK) locale
([#&#8203;12547](https://togithub.com/mui/mui-x/issues/12547))
[@&#8203;samchiu90](https://togithub.com/samchiu90)
- \[l10n] Improve Italian (it-IT) locale
([#&#8203;12549](https://togithub.com/mui/mui-x/issues/12549))
[@&#8203;antomanc](https://togithub.com/antomanc)
- \[pickers] Prepare compatibility with `@mui/zero-runtime` (stop using
`ownerState` in `styled`)
([#&#8203;12003](https://togithub.com/mui/mui-x/issues/12003))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

##### `@mui/[email protected]`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/[email protected]`, plus:

- \[DateRangePicker] Fix selection behavior with single input field when
`readOnly`
([#&#8203;12593](https://togithub.com/mui/mui-x/issues/12593))
[@&#8203;LukasTy](https://togithub.com/LukasTy)

##### Charts

##### `@mui/[email protected]`

- \[charts] Fix tooltip causing crash on data change
([#&#8203;12571](https://togithub.com/mui/mui-x/issues/12571))
[@&#8203;Rishi556](https://togithub.com/Rishi556)

##### Tree View

##### `@mui/[email protected]`

- \[TreeView] Do not use outdated version of the state to compute new
label first char in `RichTreeView`
([#&#8203;12512](https://togithub.com/mui/mui-x/issues/12512))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

##### Docs

- \[docs] Add example to add a second icon next to the field's opening
button ([#&#8203;12524](https://togithub.com/mui/mui-x/issues/12524))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[docs] Add missing note to Data Grid migration guide
([#&#8203;12557](https://togithub.com/mui/mui-x/issues/12557))
[@&#8203;romgrk](https://togithub.com/romgrk)
- \[docs] Fix Charts title for SEO
([#&#8203;12545](https://togithub.com/mui/mui-x/issues/12545))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix small typo
([#&#8203;12558](https://togithub.com/mui/mui-x/issues/12558))
[@&#8203;diogoparente](https://togithub.com/diogoparente)
- \[docs] Improve codemod related documentation
([#&#8203;12582](https://togithub.com/mui/mui-x/issues/12582))
[@&#8203;MBilalShafi](https://togithub.com/MBilalShafi)
- \[docs] Reduce noise in migration docs side navigation
([#&#8203;12552](https://togithub.com/mui/mui-x/issues/12552))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[docs] Sync static images from core repository
([#&#8203;12525](https://togithub.com/mui/mui-x/issues/12525))
[@&#8203;LukasTy](https://togithub.com/LukasTy)

##### Core

- \[core] Fix `l10n` script on Windows
([#&#8203;12550](https://togithub.com/mui/mui-x/issues/12550))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Include `DateTimeRangePicker` tag in `releaseChangelog`
([#&#8203;12526](https://togithub.com/mui/mui-x/issues/12526))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Upgrade monorepo
([#&#8203;12536](https://togithub.com/mui/mui-x/issues/12536))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)

###
[`v7.0.0`](https://togithub.com/mui/mui-x/blob/HEAD/CHANGELOG.md#700)

[Compare
Source](https://togithub.com/mui/mui-x/compare/v6.19.10...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://togithub.com/mui/mui-x/issues/12441))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- ✨ Set focus on the focused Tree Item instead of the Tree View
([#&#8203;12226](https://togithub.com/mui/mui-x/issues/12226))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- 🕹️ Support controlled `density` for the Data Grid
([#&#8203;12332](https://togithub.com/mui/mui-x/issues/12332))
[@&#8203;MBilalShafi](https://togithub.com/MBilalShafi)
- 🎁 Dynamic virtualization range for the Data Grid
([#&#8203;12353](https://togithub.com/mui/mui-x/issues/12353))
[@&#8203;romgrk](https://togithub.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/[email protected]`

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

##### `@mui/[email protected]`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/[email protected]`.

##### `@mui/[email protected]`
[![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link
"Premium plan")

Same changes as in `@mui/[email protected]`, plus:

- \[DataGridPremium] Add support for confirmation before clipboard paste
([#&#8203;12225](https://togithub.com/mui/mui-x/issues/12225))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[DataGridPremium] Fix single grouping column sorting
([#&#8203;9679](https://togithub.com/mui/mui-x/issues/9679))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[DataGridPremium] Fix boolean cell not rendered in group rows
([#&#8203;12492](https://togithub.com/mui/mui-x/issues/12492))
[@&#8203;sai6855](https://togithub.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/[email protected]`

- \[fields] Allow to override the separator between the start and the
end date in all range fields
([#&#8203;12174](https://togithub.com/mui/mui-x/issues/12174))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[fields] Support format without separator
([#&#8203;12489](https://togithub.com/mui/mui-x/issues/12489))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[pickers] Use renderer interceptor on `DesktopDateTimePicker`
([#&#8203;12441](https://togithub.com/mui/mui-x/issues/12441))
[@&#8203;LukasTy](https://togithub.com/LukasTy)

##### `@mui/[email protected]`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/[email protected]`, plus:

- \[DateTimeRangePicker] Add component `JSDoc`
([#&#8203;12518](https://togithub.com/mui/mui-x/issues/12518))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[DateTimeRangePicker] Fix views behavior regression
([#&#8203;12529](https://togithub.com/mui/mui-x/issues/12529))
[@&#8203;LukasTy](https://togithub.com/LukasTy)

##### Charts

##### `@mui/[email protected]`

- \[charts] Fix small typo in `CartesianContextProvider`
([#&#8203;12461](https://togithub.com/mui/mui-x/issues/12461))
[@&#8203;Janpot](https://togithub.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/[email protected]`

- \[TreeView] Rename `nodeId` to `itemId`
([#&#8203;12418](https://togithub.com/mui/mui-x/issues/12418))
[@&#8203;noraleonte](https://togithub.com/noraleonte)
- \[TreeView] Set focus on the focused Tree Item instead of the Tree
View ([#&#8203;12226](https://togithub.com/mui/mui-x/issues/12226))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[TreeView] Update JSDoc of the `ContentComponent` prop to avoid using
the word "node"
([#&#8203;12476](https://togithub.com/mui/mui-x/issues/12476))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

##### `@mui/[email protected]`

- \[codemod] Add a codemod and update the grid migration guide
([#&#8203;12488](https://togithub.com/mui/mui-x/issues/12488))
[@&#8203;MBilalShafi](https://togithub.com/MBilalShafi)

##### Docs

- \[docs] Finalize migration guide
([#&#8203;12501](https://togithub.com/mui/mui-x/issues/12501))
[@&#8203;noraleonte](https://togithub.com/noraleonte)
- \[docs] Fix nested cells alignment in the popular features demo
([#&#8203;12450](https://togithub.com/mui/mui-x/issues/12450))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[docs] Fix some Vale errors
([#&#8203;12469](https://togithub.com/mui/mui-x/issues/12469))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Remove mentions of pre release
([#&#8203;12513](https://togithub.com/mui/mui-x/issues/12513))
[@&#8203;noraleonte](https://togithub.com/noraleonte)
- \[docs] Update branch name and tags
([#&#8203;12498](https://togithub.com/mui/mui-x/issues/12498))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[docs] Update links to v6
([#&#8203;12496](https://togithub.com/mui/mui-x/issues/12496))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[docs] Update links to v7 docs
([#&#8203;12500](https://togithub.com/mui/mui-x/issues/12500))
[@&#8203;noraleonte](https://togithub.com/noraleonte)
- \[docs] Update supported versions
([#&#8203;12508](https://togithub.com/mui/mui-x/issues/12508))
[@&#8203;joserodolfofreitas](https://togithub.com/joserodolfofreitas)
- \[docs] Update "What's new in MUI X" page
[#&#8203;12527](https://togithub.com/mui/mui-x/issues/12527)
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)

##### Core

- \[core] Bump `@mui/material` peer dependency for all packages
([#&#8203;12516](https://togithub.com/mui/mui-x/issues/12516))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Fix `no-restricted-imports` ESLint rule not working for Data
Grid packages
([#&#8203;12477](https://togithub.com/mui/mui-x/issues/12477))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[core] Lower the frequency of `no-response` action runs
([#&#8203;12491](https://togithub.com/mui/mui-x/issues/12491))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[core] Remove leftover `legacy` `browserlistrc` entry
([#&#8203;12415](https://togithub.com/mui/mui-x/issues/12415))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Update NPM tag
([#&#8203;12511](https://togithub.com/mui/mui-x/issues/12511))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[core] Update supported browsers (browserlistrc)
([#&#8203;12521](https://togithub.com/mui/mui-x/issues/12521))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[core] Use Circle CI context
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[license] Fix grammar on expired license error message
([#&#8203;12460](https://togithub.com/mui/mui-x/issues/12460))
[@&#8203;joserodolfofreitas](https://togithub.com/joserodolfofreitas)

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/PingCAP-QE/ee-apps).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored May 21, 2024
1 parent bb0e065 commit 191de5e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions tibuild/website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tibuild/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@mui/icons-material": "^5.14.19",
"@mui/lab": "^5.0.0-alpha.155",
"@mui/material": "^5.14.20",
"@mui/x-data-grid": "^6.18.4",
"@mui/x-data-grid": "^7.0.0",
"@octokit/core": "^6.0.0",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
Expand Down

0 comments on commit 191de5e

Please sign in to comment.