-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[Joy] Some components still use Joy[Component] class name instead of Mui[Component] #36082
Comments
I like having the Joy prefix for clear distinction between Mui and Joy |
@Bestwebdesign Nice catch! do you want to submit a PR? |
The conclusion is to go with |
@siriwatknp I wasn't able to find the cause of this bug, so I leave it to the expert. |
@siriwatknp created PR which should close part of this issue. #36167 |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
https://codesandbox.io/s/sad-nightingale-lqil0l?file=/demo.js
Steps:
Current behavior 😯
The class names still have "Joy" prefix:
JoyGrid-root JoyGrid-container JoyGrid-direction-xs-row
JoyStack-root
JoyBox-root
Also the documentation contains wrong class names:
https://mui.com/joy-ui/react-card/#anatomy (JoyCard-root instead of MuiCard-root)
https://mui.com/joy-ui/react-grid/#anatomy (JoyGrid-root instead of MuiGrid-root)
https://mui.com/joy-ui/react-grid/#anatomy (JoyStack-root instead of MuiStack-root)
Expected behavior 🤔
According to #35718 class names should be prefixed with "Mui":
MuiGrid-root MuiGrid-container MuiGrid-direction-xs-row
MuiStack-root
MuiBox-root
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: