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

[docs][material-ui][system] Edit "How to use components selector API" section to add about direct import #43377

Merged
merged 5 commits into from
Sep 10, 2024

Conversation

IAluI
Copy link
Contributor

@IAluI IAluI commented Aug 20, 2024

  • add @mui/material to @emotion/babel-plugin config
  • add note about @emotion/babel-plugin and babel-plugin-direct-import order

Proof that it works: https://stackblitz.com/edit/vitejs-vite-t82o8s?file=vite.config.ts,src%2FApp.tsx&terminal=dev

@IAluI IAluI changed the title edit "How to use components selector API" [docs][styled-engine] Edit "How to use components selector API" Aug 20, 2024
@mui-bot
Copy link

mui-bot commented Aug 20, 2024

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 5ecbf57

@zannager zannager added docs Improvements or additions to the documentation package: styled-engine-sc Specific to styled-components labels Aug 20, 2024
@zannager zannager requested a review from mnajdova August 20, 2024 15:23
@ZeeshanTamboli ZeeshanTamboli added package: styled-engine Specific to @mui/styled-engine package: material-ui Specific to @mui/material and removed package: styled-engine-sc Specific to styled-components package: styled-engine Specific to @mui/styled-engine labels Sep 9, 2024
@ZeeshanTamboli ZeeshanTamboli changed the base branch from v5.x to master September 9, 2024 10:11
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

@IAluI It looks good. But can you open a new PR and point it to master instead? Version 6 also supports Emotion JS. You can tag me once you open a PR and close this one.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Sep 9, 2024
- add @mui/material to @emotion/babel-plugin config
- add note about @emotion/babel-plugin and babel-plugin-direct-import order

Signed-off-by: Ilya Molostov <29124424+IAluI@users.noreply.github.com>
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Sep 9, 2024
@IAluI
Copy link
Contributor Author

IAluI commented Sep 9, 2024

@ZeeshanTamboli I noticed that MUI changed the default branch. I made the appropriate changes to my fork. Still need a new PR?

@ZeeshanTamboli ZeeshanTamboli changed the title [docs][styled-engine] Edit "How to use components selector API" [docs][material-ui][system] Edit "How to use components selector API" to add about direct import Sep 10, 2024
@ZeeshanTamboli ZeeshanTamboli changed the title [docs][material-ui][system] Edit "How to use components selector API" to add about direct import [docs][material-ui][system] Edit "How to use components selector API" section to add about direct import Sep 10, 2024
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

@IAluI Looks good! I've linked proof that it works here: https://stackblitz.com/edit/vitejs-vite-t82o8s?file=vite.config.ts,src%2FApp.tsx&terminal=dev (also added in the description). I made a few tweaks, which you can see in the commits. Thanks for the pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation package: material-ui Specific to @mui/material
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants