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

[lab] Remove tree view import from @mui/lab #39685

Merged
merged 8 commits into from
Nov 6, 2023

Conversation

alexfauquette
Copy link
Member

Linked to mui/mui-x#10845

@alexfauquette alexfauquette added package: lab Specific to @mui/lab component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! labels Oct 31, 2023
@mui-bot
Copy link

mui-bot commented Oct 31, 2023

Netlify deploy preview

https://deploy-preview-39685--material-ui.netlify.app/

@material-ui/lab: parsed: -9.48% 😍, gzip: -9.16% 😍

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against bdcb810

@flaviendelangle
Copy link
Member

Nice work 👌

Equivalent of #33386 for the pickers

Your missing the removal from the theme augmentation (right now we import interfaces that no longer exists)

@alexfauquette alexfauquette marked this pull request as ready for review November 2, 2023 09:55
Copy link
Member

@flaviendelangle flaviendelangle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let someone from the core team double check just in case

packages/mui-lab/src/TreeItem/TreeItem.tsx Show resolved Hide resolved
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea, I copy what was done in the pickers

The same for why keeping import PropTypes from 'prop-types'; whereas it's not used

@alexfauquette alexfauquette merged commit 6b9cee5 into mui:master Nov 6, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! package: lab Specific to @mui/lab
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants