From 191de5eea334cc20f7770b6c76ddae880ef24aab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 07:05:46 +0000 Subject: [PATCH] fix(deps): update dependency @mui/x-data-grid to v7 (#126) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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
mui/mui-x (@​mui/x-data-grid) ### [`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/x-data-grid@7.2.0` - \[DataGrid] Add missing `api` property to `GridCallbackDetails` ([#​12742](https://togithub.com/mui/mui-x/issues/12742)) [@​sai6855](https://togithub.com/sai6855) - \[DataGrid] Do not escape double quotes when copying to clipboard ([#​12722](https://togithub.com/mui/mui-x/issues/12722)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[DataGrid] Fix column vertical border ([#​12741](https://togithub.com/mui/mui-x/issues/12741)) [@​romgrk](https://togithub.com/romgrk) - \[DataGrid] Fix invalid date error when filtering `date`/`dateTime` columns ([#​12709](https://togithub.com/mui/mui-x/issues/12709)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[DataGrid] Fix overflow with dynamic row height ([#​12683](https://togithub.com/mui/mui-x/issues/12683)) [@​romgrk](https://togithub.com/romgrk) - \[DataGrid] Make colors customizable ([#​12614](https://togithub.com/mui/mui-x/issues/12614)) [@​romgrk](https://togithub.com/romgrk) - \[l10n] Improve French (fr-FR) locale ([#​12755](https://togithub.com/mui/mui-x/issues/12755)) [@​derek-0000](https://togithub.com/derek-0000) - \[l10n] Improve German (de-DE) locale ([#​12752](https://togithub.com/mui/mui-x/issues/12752)) [@​Jens-Schoen](https://togithub.com/Jens-Schoen) - \[l10n] Improve Swedish (sv-SE) locale ([#​12731](https://togithub.com/mui/mui-x/issues/12731)) [@​pontusdacke](https://togithub.com/pontusdacke) ##### `@mui/x-data-grid-pro@7.2.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.2.0`. ##### `@mui/x-data-grid-premium@7.2.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.2.0`, plus: - \[DataGridPremium] Fix clipboard paste not working when cell loses focus ([#​12724](https://togithub.com/mui/mui-x/issues/12724)) [@​cherniavskii](https://togithub.com/cherniavskii) ##### Date and Time Pickers ##### `@mui/x-date-pickers@7.2.0` - \[fields] Fix field editing after closing the picker ([#​12675](https://togithub.com/mui/mui-x/issues/12675)) [@​LukasTy](https://togithub.com/LukasTy) - \[l10n] Improve French (fr-FR) locale ([#​12692](https://togithub.com/mui/mui-x/issues/12692)) [@​FaroukBel](https://togithub.com/FaroukBel) - \[l10n] Improve German (de-DE) locale ([#​12752](https://togithub.com/mui/mui-x/issues/12752)) [@​Jens-Schoen](https://togithub.com/Jens-Schoen) - \[l10n] Improve Swedish (sv-SE) locale ([#​12731](https://togithub.com/mui/mui-x/issues/12731)) [@​pontusdacke](https://togithub.com/pontusdacke) - \[pickers] Fix desktop date time Pickers grid layout ([#​12748](https://togithub.com/mui/mui-x/issues/12748)) [@​LukasTy](https://togithub.com/LukasTy) ##### `@mui/x-date-pickers-pro@7.2.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.2.0`, plus: - \[DateTimeRangePicker] Fix desktop toolbar style ([#​12760](https://togithub.com/mui/mui-x/issues/12760)) [@​LukasTy](https://togithub.com/LukasTy) ##### Charts ##### `@mui/x-charts@7.2.0` - \[charts] Fix Bar chart with empty dataset throwing an error ([#​12708](https://togithub.com/mui/mui-x/issues/12708)) [@​JCQuintas](https://togithub.com/JCQuintas) - \[charts] Fix `tickLabelInterval` not working on `YAxis` ([#​12746](https://togithub.com/mui/mui-x/issues/12746)) [@​JCQuintas](https://togithub.com/JCQuintas) ##### Tree View ##### `@mui/x-tree-view@7.2.0` - \[TreeView] Add a new lookup to access an item index without expansive computation ([#​12729](https://togithub.com/mui/mui-x/issues/12729)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Clean up usage of term "node" in internals ([#​12655](https://togithub.com/mui/mui-x/issues/12655)) [@​noraleonte](https://togithub.com/noraleonte) - \[TreeView] Improve performance by removing `getNavigableChildrenIds` method ([#​12713](https://togithub.com/mui/mui-x/issues/12713)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Remove `state.items.itemTree` ([#​12717](https://togithub.com/mui/mui-x/issues/12717)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Remove remaining occurences of the word "node" in the codebase ([#​12712](https://togithub.com/mui/mui-x/issues/12712)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Return `instance` and `publicAPI` methods from plugin and populate the main objects inside `useTreeView` ([#​12650](https://togithub.com/mui/mui-x/issues/12650)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Fix behaviors when the item order changes ([#​12369](https://togithub.com/mui/mui-x/issues/12369)) [@​flaviendelangle](https://togithub.com/flaviendelangle) ##### Docs - \[docs] Add `AxisFormatter` documentation for customizing tick/tooltip value formatting ([#​12700](https://togithub.com/mui/mui-x/issues/12700)) [@​JCQuintas](https://togithub.com/JCQuintas) - \[docs] Add file explorer example to rich tree view customization docs ([#​12707](https://togithub.com/mui/mui-x/issues/12707)) [@​noraleonte](https://togithub.com/noraleonte) - \[docs] Do not use import of depth 3 in the doc ([#​12716](https://togithub.com/mui/mui-x/issues/12716)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[docs] Explain how to clip plots with composition ([#​12679](https://togithub.com/mui/mui-x/issues/12679)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[docs] Fix typo in Data Grid v7 migration page ([#​12720](https://togithub.com/mui/mui-x/issues/12720)) [@​bfaulk96](https://togithub.com/bfaulk96) - \[docs] Fix typo in Pickers v7 migration page ([#​12721](https://togithub.com/mui/mui-x/issues/12721)) [@​bfaulk96](https://togithub.com/bfaulk96) ##### Core - \[core] Support multiple resolved `l10n` PR packages ([#​12735](https://togithub.com/mui/mui-x/issues/12735)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Update Netlify release references in release README ([#​12687](https://togithub.com/mui/mui-x/issues/12687)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Use `describeTreeView` for icons tests ([#​12672](https://togithub.com/mui/mui-x/issues/12672)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[core] Use `describeTreeView` in existing tests for `useTreeViewItems` ([#​12732](https://togithub.com/mui/mui-x/issues/12732)) [@​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 ([#​12595](https://togithub.com/mui/mui-x/issues/12595)) [@​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/x-data-grid@7.1.1` - \[DataGrid] Allow higher packages' props to be used in MIT ([#​12365](https://togithub.com/mui/mui-x/issues/12365)) [@​MBilalShafi](https://togithub.com/MBilalShafi) - \[DataGrid] Fix RTL mode ([#​12583](https://togithub.com/mui/mui-x/issues/12583)) [@​romgrk](https://togithub.com/romgrk) - \[DataGrid] Fix `ColDefChangesGridNoSnap` demo crash ([#​12663](https://togithub.com/mui/mui-x/issues/12663)) [@​MBilalShafi](https://togithub.com/MBilalShafi) - \[DataGrid] Fix server-side filter demo not working ([#​12662](https://togithub.com/mui/mui-x/issues/12662)) [@​MBilalShafi](https://togithub.com/MBilalShafi) - \[DataGrid] Log error if `rowCount` is used with client-side pagination ([#​12448](https://togithub.com/mui/mui-x/issues/12448)) [@​michelengelen](https://togithub.com/michelengelen) - \[DataGrid] Remove `GridFormatterParams` completely ([#​12660](https://togithub.com/mui/mui-x/issues/12660)) [@​romgrk](https://togithub.com/romgrk) - \[DataGrid] Restore main slot ([#​12657](https://togithub.com/mui/mui-x/issues/12657)) [@​romgrk](https://togithub.com/romgrk) - \[l10n] Improve Persian (fa-IR) locale ([#​12630](https://togithub.com/mui/mui-x/issues/12630)) [@​amirhosseinzf](https://togithub.com/amirhosseinzf) - \[l10n] Improve Portuguese (pt-BR) locale ([#​12618](https://togithub.com/mui/mui-x/issues/12618)) [@​hugoalkimim](https://togithub.com/hugoalkimim) - \[l10n] Improve Spanish (es-ES) locale ([#​12606](https://togithub.com/mui/mui-x/issues/12606)) [@​aitor40](https://togithub.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 ([#​12609](https://togithub.com/mui/mui-x/issues/12609)) [@​LukasTy](https://togithub.com/LukasTy) - \[l10n] Improve Persian (fa-IR) locale ([#​12632](https://togithub.com/mui/mui-x/issues/12632)) [@​misafari](https://togithub.com/misafari) - \[l10n] Improve Portuguese (pt-BR) locale ([#​12613](https://togithub.com/mui/mui-x/issues/12613)) [@​cnHealth](https://togithub.com/cnHealth) - \[l10n] Improve Ukrainian (uk-UA) locale ([#​12627](https://togithub.com/mui/mui-x/issues/12627)) [@​alexkobylansky](https://togithub.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 ([#​12604](https://togithub.com/mui/mui-x/issues/12604)) [@​LukasTy](https://togithub.com/LukasTy) ##### Charts ##### `@mui/x-charts@7.1.1` - \[charts] Fix `tickInterval` usage for y-axis ([#​12592](https://togithub.com/mui/mui-x/issues/12592)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[charts] Fix Scatter series highlight when `id` is a `number` ([#​12677](https://togithub.com/mui/mui-x/issues/12677)) [@​JCQuintas](https://togithub.com/JCQuintas) - \[charts] Fix TS error when using `sx` property on `ChartsTooltip` ([#​12659](https://togithub.com/mui/mui-x/issues/12659)) [@​JCQuintas](https://togithub.com/JCQuintas) ##### Tree View ##### `@mui/x-tree-view@7.1.1` - \[TreeView] Add JSDoc to all `publicAPI` methods ([#​12649](https://togithub.com/mui/mui-x/issues/12649)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Create `RichTreeViewPro` component (not released yet) ([#​12610](https://togithub.com/mui/mui-x/issues/12610)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Create pro package (not released yet) ([#​12240](https://togithub.com/mui/mui-x/issues/12240)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Fix typo in errors ([#​12623](https://togithub.com/mui/mui-x/issues/12623)) [@​alissa-tung](https://togithub.com/alissa-tung) - \[TreeView] New API method: `setItemExpansion` ([#​12595](https://togithub.com/mui/mui-x/issues/12595)) [@​flaviendelangle](https://togithub.com/flaviendelangle) ##### Docs - \[docs] Add a recipe for the `checkboxSelectionVisibleOnly` prop ([#​12646](https://togithub.com/mui/mui-x/issues/12646)) [@​michelengelen](https://togithub.com/michelengelen) - \[docs] Explain the use of `_action: 'delete'` in `processRowUpdate` ([#​12670](https://togithub.com/mui/mui-x/issues/12670)) [@​michelengelen](https://togithub.com/michelengelen) - \[docs] Fix formatting and typo on migration guide [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Fix formatting in changelog [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Fix grammar in TreeView migration doc ([#​12615](https://togithub.com/mui/mui-x/issues/12615)) [@​joshkel](https://togithub.com/joshkel) - \[docs] Fix missing closing props in `PieShapeNoSnap` demo ([#​12636](https://togithub.com/mui/mui-x/issues/12636)) [@​alp-ex](https://togithub.com/alp-ex) - \[docs] Fix type arguments in Custom Field page ([#​12619](https://togithub.com/mui/mui-x/issues/12619)) [@​Juneezee](https://togithub.com/Juneezee) - \[docs] Fix typo in `getItemId` prop description ([#​12637](https://togithub.com/mui/mui-x/issues/12637)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[docs] Make the Charts `margin` usage more visible ([#​12591](https://togithub.com/mui/mui-x/issues/12591)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[docs] Match IE 11 spacing with Material UI [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Move data grid interfaces to standard API page layout ([#​12016](https://togithub.com/mui/mui-x/issues/12016)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[docs] Remove \` around [@​default](https://togithub.com/default) values ([#​12158](https://togithub.com/mui/mui-x/issues/12158)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[docs] Remove `day` from the default `dayOfWeekFormatter` function params ([#​12644](https://togithub.com/mui/mui-x/issues/12644)) [@​LukasTy](https://togithub.com/LukasTy) - \[docs] Use `TreeItem2` for icon expansion example on `RichTreeView` ([#​12563](https://togithub.com/mui/mui-x/issues/12563)) [@​flaviendelangle](https://togithub.com/flaviendelangle) ##### Core - \[core] Add cherry-pick `master` to `v6` action ([#​12648](https://togithub.com/mui/mui-x/issues/12648)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Fix typo in `@mui/x-tree-view-pro/themeAugmentation` ([#​12674](https://togithub.com/mui/mui-x/issues/12674)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[core] Introduce `describeTreeView` to run test on `SimpleTreeView` and `RichTreeView`, using `TreeItem` and `TreeItem2` + migrate expansion tests ([#​12428](https://togithub.com/mui/mui-x/issues/12428)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[core] Limit `test-types` CI step allowed memory ([#​12651](https://togithub.com/mui/mui-x/issues/12651)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Remove explicit `express` package ([#​12602](https://togithub.com/mui/mui-x/issues/12602)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Update to new embedded translations in the docs package ([#​12232](https://togithub.com/mui/mui-x/issues/12232)) [@​Janpot](https://togithub.com/Janpot) - \[core] Use PR labels to identify the package a `l10n` PR belongs to ([#​12639](https://togithub.com/mui/mui-x/issues/12639)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Use `describeTreeView` for selection tests ([#​12647](https://togithub.com/mui/mui-x/issues/12647)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[docs-infra] Adjust the links to search for issues ([#​11995](https://togithub.com/mui/mui-x/issues/11995)) [@​michelengelen](https://togithub.com/michelengelen) - \[infra] Polish support survey experience ([#​12624](https://togithub.com/mui/mui-x/issues/12624)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[support-infra] Replace author association with a permission check in survey action ([#​12068](https://togithub.com/mui/mui-x/issues/12068)) [@​michelengelen](https://togithub.com/michelengelen) - \[support-infra] Fix user permission check ([#​12669](https://togithub.com/mui/mui-x/issues/12669)) [@​michelengelen](https://togithub.com/michelengelen) - \[test] Fix Tree View test import ([#​12668](https://togithub.com/mui/mui-x/issues/12668)) [@​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 ([#​12556](https://togithub.com/mui/mui-x/issues/12556)) [@​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/x-data-grid@7.1.0` - \[DataGrid] Add `resizeThrottleMs` prop ([#​12556](https://togithub.com/mui/mui-x/issues/12556)) [@​romgrk](https://togithub.com/romgrk) - \[DataGrid] Do not publish `rowEditStop` event if row has fields with errors ([#​11383](https://togithub.com/mui/mui-x/issues/11383)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[DataGrid] Fix bug in suspense ([#​12553](https://togithub.com/mui/mui-x/issues/12553)) [@​romgrk](https://togithub.com/romgrk) - \[DataGrid] Fix missing class name in the `GridToolbarQuickFilter` component ([#​12484](https://togithub.com/mui/mui-x/issues/12484)) [@​jhawkins11](https://togithub.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 ([#​12589](https://togithub.com/mui/mui-x/issues/12589)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[l10n] Improve Chinese (Hong Kong) (zh-HK) locale ([#​12547](https://togithub.com/mui/mui-x/issues/12547)) [@​samchiu90](https://togithub.com/samchiu90) - \[l10n] Improve Italian (it-IT) locale ([#​12549](https://togithub.com/mui/mui-x/issues/12549)) [@​antomanc](https://togithub.com/antomanc) - \[pickers] Prepare compatibility with `@mui/zero-runtime` (stop using `ownerState` in `styled`) ([#​12003](https://togithub.com/mui/mui-x/issues/12003)) [@​flaviendelangle](https://togithub.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` ([#​12593](https://togithub.com/mui/mui-x/issues/12593)) [@​LukasTy](https://togithub.com/LukasTy) ##### Charts ##### `@mui/x-charts@7.1.0` - \[charts] Fix tooltip causing crash on data change ([#​12571](https://togithub.com/mui/mui-x/issues/12571)) [@​Rishi556](https://togithub.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://togithub.com/mui/mui-x/issues/12512)) [@​flaviendelangle](https://togithub.com/flaviendelangle) ##### Docs - \[docs] Add example to add a second icon next to the field's opening button ([#​12524](https://togithub.com/mui/mui-x/issues/12524)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[docs] Add missing note to Data Grid migration guide ([#​12557](https://togithub.com/mui/mui-x/issues/12557)) [@​romgrk](https://togithub.com/romgrk) - \[docs] Fix Charts title for SEO ([#​12545](https://togithub.com/mui/mui-x/issues/12545)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Fix small typo ([#​12558](https://togithub.com/mui/mui-x/issues/12558)) [@​diogoparente](https://togithub.com/diogoparente) - \[docs] Improve codemod related documentation ([#​12582](https://togithub.com/mui/mui-x/issues/12582)) [@​MBilalShafi](https://togithub.com/MBilalShafi) - \[docs] Reduce noise in migration docs side navigation ([#​12552](https://togithub.com/mui/mui-x/issues/12552)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[docs] Sync static images from core repository ([#​12525](https://togithub.com/mui/mui-x/issues/12525)) [@​LukasTy](https://togithub.com/LukasTy) ##### Core - \[core] Fix `l10n` script on Windows ([#​12550](https://togithub.com/mui/mui-x/issues/12550)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Include `DateTimeRangePicker` tag in `releaseChangelog` ([#​12526](https://togithub.com/mui/mui-x/issues/12526)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Upgrade monorepo ([#​12536](https://togithub.com/mui/mui-x/issues/12536)) [@​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` ([#​12441](https://togithub.com/mui/mui-x/issues/12441)) [@​LukasTy](https://togithub.com/LukasTy) - ✨ Set focus on the focused Tree Item instead of the Tree View ([#​12226](https://togithub.com/mui/mui-x/issues/12226)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - 🕹ī¸ Support controlled `density` for the Data Grid ([#​12332](https://togithub.com/mui/mui-x/issues/12332)) [@​MBilalShafi](https://togithub.com/MBilalShafi) - 🎁 Dynamic virtualization range for the Data Grid ([#​12353](https://togithub.com/mui/mui-x/issues/12353)) [@​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 ``` 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('compact'); 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 ([#​12332](https://togithub.com/mui/mui-x/issues/12332)) [@​MBilalShafi](https://togithub.com/MBilalShafi) - \[DataGrid] Dynamic virtualization range ([#​12353](https://togithub.com/mui/mui-x/issues/12353)) [@​romgrk](https://togithub.com/romgrk) - \[DataGrid] Fix `ElementType` usage ([#​12479](https://togithub.com/mui/mui-x/issues/12479)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[DataGrid] Fix cell value formatting on copy ([#​12357](https://togithub.com/mui/mui-x/issues/12357)) [@​sai6855](https://togithub.com/sai6855) - \[DataGrid] Fix checkbox selection is keeping selection when filtering ([#​11751](https://togithub.com/mui/mui-x/issues/11751)) [@​g1mishra](https://togithub.com/g1mishra) - \[DataGrid] Make `rows` an optional prop ([#​12478](https://togithub.com/mui/mui-x/issues/12478)) [@​MBilalShafi](https://togithub.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 ([#​12225](https://togithub.com/mui/mui-x/issues/12225)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[DataGridPremium] Fix single grouping column sorting ([#​9679](https://togithub.com/mui/mui-x/issues/9679)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[DataGridPremium] Fix boolean cell not rendered in group rows ([#​12492](https://togithub.com/mui/mui-x/issues/12492)) [@​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/x-date-pickers@7.0.0` - \[fields] Allow to override the separator between the start and the end date in all range fields ([#​12174](https://togithub.com/mui/mui-x/issues/12174)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[fields] Support format without separator ([#​12489](https://togithub.com/mui/mui-x/issues/12489)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[pickers] Use renderer interceptor on `DesktopDateTimePicker` ([#​12441](https://togithub.com/mui/mui-x/issues/12441)) [@​LukasTy](https://togithub.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` ([#​12518](https://togithub.com/mui/mui-x/issues/12518)) [@​LukasTy](https://togithub.com/LukasTy) - \[DateTimeRangePicker] Fix views behavior regression ([#​12529](https://togithub.com/mui/mui-x/issues/12529)) [@​LukasTy](https://togithub.com/LukasTy) ##### Charts ##### `@mui/x-charts@7.0.0` - \[charts] Fix small typo in `CartesianContextProvider` ([#​12461](https://togithub.com/mui/mui-x/issues/12461)) [@​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 - + ``` - 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( ); - 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` ([#​12418](https://togithub.com/mui/mui-x/issues/12418)) [@​noraleonte](https://togithub.com/noraleonte) - \[TreeView] Set focus on the focused Tree Item instead of the Tree View ([#​12226](https://togithub.com/mui/mui-x/issues/12226)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[TreeView] Update JSDoc of the `ContentComponent` prop to avoid using the word "node" ([#​12476](https://togithub.com/mui/mui-x/issues/12476)) [@​flaviendelangle](https://togithub.com/flaviendelangle) ##### `@mui/x-codemod@7.0.0` - \[codemod] Add a codemod and update the grid migration guide ([#​12488](https://togithub.com/mui/mui-x/issues/12488)) [@​MBilalShafi](https://togithub.com/MBilalShafi) ##### Docs - \[docs] Finalize migration guide ([#​12501](https://togithub.com/mui/mui-x/issues/12501)) [@​noraleonte](https://togithub.com/noraleonte) - \[docs] Fix nested cells alignment in the popular features demo ([#​12450](https://togithub.com/mui/mui-x/issues/12450)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[docs] Fix some Vale errors ([#​12469](https://togithub.com/mui/mui-x/issues/12469)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Remove mentions of pre release ([#​12513](https://togithub.com/mui/mui-x/issues/12513)) [@​noraleonte](https://togithub.com/noraleonte) - \[docs] Update branch name and tags ([#​12498](https://togithub.com/mui/mui-x/issues/12498)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[docs] Update links to v6 ([#​12496](https://togithub.com/mui/mui-x/issues/12496)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[docs] Update links to v7 docs ([#​12500](https://togithub.com/mui/mui-x/issues/12500)) [@​noraleonte](https://togithub.com/noraleonte) - \[docs] Update supported versions ([#​12508](https://togithub.com/mui/mui-x/issues/12508)) [@​joserodolfofreitas](https://togithub.com/joserodolfofreitas) - \[docs] Update "What's new in MUI X" page [#​12527](https://togithub.com/mui/mui-x/issues/12527) [@​cherniavskii](https://togithub.com/cherniavskii) ##### Core - \[core] Bump `@mui/material` peer dependency for all packages ([#​12516](https://togithub.com/mui/mui-x/issues/12516)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Fix `no-restricted-imports` ESLint rule not working for Data Grid packages ([#​12477](https://togithub.com/mui/mui-x/issues/12477)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[core] Lower the frequency of `no-response` action runs ([#​12491](https://togithub.com/mui/mui-x/issues/12491)) [@​michaldudak](https://togithub.com/michaldudak) - \[core] Remove leftover `legacy` `browserlistrc` entry ([#​12415](https://togithub.com/mui/mui-x/issues/12415)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Update NPM tag ([#​12511](https://togithub.com/mui/mui-x/issues/12511)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[core] Update supported browsers (browserlistrc) ([#​12521](https://togithub.com/mui/mui-x/issues/12521)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Use Circle CI context [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[license] Fix grammar on expired license error message ([#​12460](https://togithub.com/mui/mui-x/issues/12460)) [@​joserodolfofreitas](https://togithub.com/joserodolfofreitas)
--- ### 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. --- - [ ] 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). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- tibuild/website/package-lock.json | 20 ++++++++++---------- tibuild/website/package.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tibuild/website/package-lock.json b/tibuild/website/package-lock.json index 62ea725..2e8cf9e 100644 --- a/tibuild/website/package-lock.json +++ b/tibuild/website/package-lock.json @@ -13,7 +13,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", @@ -4178,13 +4178,14 @@ } }, "node_modules/@mui/x-data-grid": { - "version": "6.19.10", - "resolved": "https://registry.npmjs.org/@mui/x-data-grid/-/x-data-grid-6.19.10.tgz", - "integrity": "sha512-p6cc6pJvPPXw/KqDbU8xqaxvv1qVNU2qawTCGfXwtCUwjWaa8VumLfXioX4Sn9yHxf1SuCxnW9ZasHlaS577eg==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@mui/x-data-grid/-/x-data-grid-7.2.0.tgz", + "integrity": "sha512-WKmFo0eKhj3W7Fv8u5n2XP4UcdzuJ+mEYALiMUDAYsah/hPBH9mA1miXn9DjXF3i3dxgzrTjdJemTgTJxAQZKg==", "dependencies": { - "@babel/runtime": "^7.23.2", - "@mui/utils": "^5.14.16", - "clsx": "^2.0.0", + "@babel/runtime": "^7.24.0", + "@mui/system": "^5.15.14", + "@mui/utils": "^5.15.14", + "clsx": "^2.1.0", "prop-types": "^15.8.1", "reselect": "^4.1.8" }, @@ -4193,11 +4194,10 @@ }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/mui" + "url": "https://opencollective.com/mui-org" }, "peerDependencies": { - "@mui/material": "^5.4.1", - "@mui/system": "^5.4.1", + "@mui/material": "^5.15.14", "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" } diff --git a/tibuild/website/package.json b/tibuild/website/package.json index 3e5b1a1..3a7d0c4 100644 --- a/tibuild/website/package.json +++ b/tibuild/website/package.json @@ -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",