-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[joy-ui] Address TypeScript issue with custom zIndex not functioning #40133
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-ui] Address TypeScript issue with custom zIndex not functioning #40133
Conversation
Netlify deploy previewhttps://deploy-preview-40133--material-ui.netlify.app/ Bundle size report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pull request to address this. However, fixing the issue requires more than just this change. Primarily, you need to export it from packages/mui-joy/src/styles/index.ts
. Additionally, for testing, please include a TypeScript module augmentation test in packages/mui-joy/test/typescript/moduleAugmentation
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@qiweiii I have made the expected changes. Thanks for your contribution!
Oh thanks, I have missed my email notification, didn't see your previous comment... |
Fixes #40092
Before: https://codesandbox.io/p/sandbox/eloquent-boyd-56rhsv?file=%2Fsrc%2FApp.tsx%3A8%2C2
After: https://codesandbox.io/p/sandbox/joy-ui-cra-ts-forked-lr2xw5?file=%2Fsrc%2FApp.tsx%3A12%2C18