Skip to content

[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

Merged
merged 4 commits into from
Dec 18, 2023

Conversation

qiweiii
Copy link
Contributor

@qiweiii qiweiii commented Dec 7, 2023

Sorry, something went wrong.

@mui-bot
Copy link

mui-bot commented Dec 7, 2023

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 6b9cfb2

@zannager zannager added the package: joy-ui Specific to @mui/joy label Dec 7, 2023
@zannager zannager requested a review from siriwatknp December 7, 2023 11:21
@danilo-leal danilo-leal changed the title [Joy] Fix styles export [joy-ui] Fix styles export Dec 8, 2023
@ZeeshanTamboli ZeeshanTamboli changed the title [joy-ui] Fix styles export [joy-ui] Fix TypeScript module augmentation not working for custom zIndex Dec 14, 2023
@ZeeshanTamboli ZeeshanTamboli added bug 🐛 Something doesn't work typescript customization: theme Centered around the theming features labels Dec 14, 2023
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.

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.

@ZeeshanTamboli ZeeshanTamboli added the PR: needs test The pull request can't be merged label Dec 14, 2023
@ZeeshanTamboli ZeeshanTamboli removed the PR: needs test The pull request can't be merged label Dec 18, 2023
@ZeeshanTamboli ZeeshanTamboli changed the title [joy-ui] Fix TypeScript module augmentation not working for custom zIndex [joy-ui] Fix TypeScript module augmentation not working for adding custom zIndex Dec 18, 2023
@ZeeshanTamboli ZeeshanTamboli changed the title [joy-ui] Fix TypeScript module augmentation not working for adding custom zIndex [joy-ui] Address TypeScript issue with custom zIndex not functioning. Dec 18, 2023
@ZeeshanTamboli ZeeshanTamboli changed the title [joy-ui] Address TypeScript issue with custom zIndex not functioning. [joy-ui] Address TypeScript issue with custom zIndex not functioning Dec 18, 2023
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.

@qiweiii I have made the expected changes. Thanks for your contribution!

@ZeeshanTamboli ZeeshanTamboli merged commit 0e1eca2 into mui:master Dec 18, 2023
@qiweiii
Copy link
Contributor Author

qiweiii commented Dec 18, 2023

Oh thanks, I have missed my email notification, didn't see your previous comment...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work customization: theme Centered around the theming features package: joy-ui Specific to @mui/joy typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[joy-ui] TypeScript module augmentation not working for zIndex
4 participants