-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
[core] Temporarily fallback to v5 of Material UI #198
Conversation
brijeshb42
commented
Aug 7, 2024
- Fixes the issues with the current build failing for the latest beta of @mui/material package. To be investigated separately (to unblock release) since it does not directly concern Pigment CSS.
- Fixed some TS errors coming from emotion.
- Updated WyW to latest version.
- I have followed (at least) the PR section of the contributing guide.
This fixes the issues with the current build failing for the latest beta of @mui/material package. To be investigated separately since it does not directly concern Pigment. Also fixed some TS errors coming from emotion and updated WyW packages.
@@ -1,7 +1,7 @@ | |||
/* eslint-env node */ | |||
// eslint-ignore-next-line import/no-unresolved | |||
const { withPigment } = require('@pigment-css/nextjs-plugin'); | |||
const { extendTheme } = require('@mui/material/styles'); | |||
const { experimental_extendTheme: extendTheme } = require('@mui/material/styles'); |
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.
Is this part of the root cause that the CI fails?
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.
Ah, you changed to v5.
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.
Hey, wait. v5 does not have stringifyTheme
.
That does not concern the app in this repo. Pigment has a fallback for this method. I have to investigate more to pinpoint the exact version of Material UI that is causing the issue. But I don't want to block release for that. |
"@mui/material": "^5.16.6", | ||
"@mui/material-nextjs": "^5.16.6", |
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.
Can you change to 6.0.0-beta.2
if the latest beta fails.
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.
It does not make sense to use v5.
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.
beta.2 also has the same issue.