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

[core] Temporarily fallback to v5 of Material UI #198

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

brijeshb42
Copy link
Contributor

  1. 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.
  2. Fixed some TS errors coming from emotion.
  3. Updated WyW to latest version.

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.
@brijeshb42 brijeshb42 added typescript core Infrastructure work going on behind the scenes labels Aug 7, 2024
@brijeshb42 brijeshb42 mentioned this pull request Aug 7, 2024
1 task
@@ -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');
Copy link
Member

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?

Copy link
Member

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.

Copy link
Member

@siriwatknp siriwatknp left a 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.

@brijeshb42
Copy link
Contributor Author

brijeshb42 commented Aug 7, 2024

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.

@siriwatknp

@brijeshb42 brijeshb42 requested a review from siriwatknp August 7, 2024 11:07
Comment on lines +13 to +14
"@mui/material": "^5.16.6",
"@mui/material-nextjs": "^5.16.6",
Copy link
Member

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.

Copy link
Member

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.

Copy link
Contributor Author

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.

@brijeshb42 brijeshb42 merged commit 534e148 into mui:master Aug 7, 2024
13 of 14 checks passed
@brijeshb42 brijeshb42 deleted the fix-build branch August 7, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants