Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @mui/x-data-grid to v7 #126

Merged
merged 1 commit into from
May 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 16, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@mui/x-data-grid (source) ^6.18.4 -> ^7.0.0 age adoption passing confidence

Release Notes

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

v7.2.0

Compare Source

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
@mui/x-data-grid-pro@7.2.0 pro

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

@mui/x-data-grid-premium@7.2.0 premium

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

Date and Time Pickers
@mui/x-date-pickers@7.2.0
@mui/x-date-pickers-pro@7.2.0 pro

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

Charts
@mui/x-charts@7.2.0
Tree View
@mui/x-tree-view@7.2.0
Docs
Core

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
@mui/x-data-grid-pro@7.1.1 pro

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

@mui/x-data-grid-premium@7.1.1 premium

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

Date and Time Pickers
@mui/x-date-pickers@7.1.1
@mui/x-date-pickers-pro@7.1.1 pro

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

Charts
@mui/x-charts@7.1.1
Tree View
@mui/x-tree-view@7.1.1
Docs
Core

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
@mui/x-data-grid-pro@7.1.0 pro

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

@mui/x-data-grid-premium@7.1.0 premium

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

Date and Time Pickers
@mui/x-date-pickers@7.1.0
@mui/x-date-pickers-pro@7.1.0 pro

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

  • [DateRangePicker] Fix selection behavior with single input field when readOnly (#​12593) @​LukasTy
Charts
@mui/x-charts@7.1.0
Tree View
@mui/x-tree-view@7.1.0
Docs
Core

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
@mui/x-data-grid-pro@7.0.0 pro

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

@mui/x-data-grid-premium@7.0.0 premium

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

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
@mui/x-date-pickers-pro@7.0.0 pro

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

Charts
@mui/x-charts@7.0.0
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
@mui/x-codemod@7.0.0
Docs
Core

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. View repository job log here.

@ti-chi-bot ti-chi-bot bot requested review from purelind and wuhuizuo April 16, 2024 03:34
@renovate renovate bot force-pushed the renovate/major-material-ui-monorepo branch from 8ab5138 to 722b733 Compare April 16, 2024 03:43
@ti-chi-bot ti-chi-bot bot added size/S and removed size/L labels Apr 16, 2024
@renovate renovate bot force-pushed the renovate/major-material-ui-monorepo branch from 722b733 to 54cd4fd Compare April 16, 2024 09:10
Copy link

ti-chi-bot bot commented May 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wuhuizuo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

ti-chi-bot bot commented May 21, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-05-21 07:05:03.929746383 +0000 UTC m=+2155257.686881959: ☑️ agreed by wuhuizuo.

@ti-chi-bot ti-chi-bot bot merged commit 191de5e into main May 21, 2024
3 checks passed
@ti-chi-bot ti-chi-bot bot deleted the renovate/major-material-ui-monorepo branch May 21, 2024 07:05
wuhuizuo added a commit that referenced this pull request Jun 6, 2024
introduced by #126

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant