-
Notifications
You must be signed in to change notification settings - Fork 3
Update material-ui monorepo (major) #2770
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,10 +20,10 @@ | |
| "@emotion/react": "^11.11.1", | ||
| "@emotion/styled": "^11.11.0", | ||
| "@mui/base": "5.0.0-beta.70", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The code uses deep imports for Suggested FixUpdate all deep imports from Prompt for AI Agent |
||
| "@mui/lab": "6.0.0-dev.240424162023-9968b4889d", | ||
| "@mui/material": "^6.4.5", | ||
| "@mui/material-nextjs": "^6.4.3", | ||
| "@mui/system": "^6.4.3", | ||
| "@mui/lab": "7.0.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Suggested FixUpdate the export statements in Prompt for AI Agent |
||
| "@mui/material": "^9.0.0", | ||
| "@mui/material-nextjs": "^9.0.0", | ||
| "@mui/system": "^9.0.0", | ||
| "@remixicon/react": "^4.2.0", | ||
| "@tanstack/react-query": "^5.66.0", | ||
| "@testing-library/dom": "^10.4.0", | ||
|
sentry[bot] marked this conversation as resolved.
|
||
|
|
||
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.
Bug: The
Dialogcomponent uses theTransitionComponentprop, which was removed in Material-UI v7, and will cause runtime errors or break transition animations.Severity: CRITICAL
Suggested Fix
In
Dialog.tsx, replace the deprecatedTransitionComponent={Transition}prop with the newslotsAPI:slots={{ transition: Transition }}. Also, verify that theTransitionPropsimport from@mui/material/transitionsis still valid in v7 and update its path if necessary.Prompt for AI Agent