-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
[WIP][docs] Add migration for v6 #42242
base: next
Are you sure you want to change the base?
Conversation
### `components` and `componentsProps` | ||
|
||
<!-- TODO: add info and codemod instruction --> | ||
|
||
### Component style overrides | ||
|
||
<!-- TODO: add info and codemod instruction --> |
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.
@DiegoAndai Need your help on these sections.
Netlify deploy previewBundle size report |
<!-- Add minimum React & TypeScript version --> | ||
|
||
## New features and improvements | ||
|
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.
### Apply styles utility | |
<!-- theme.applyStyles --> |
The Grid v2 is now becoming the default Grid component. Check out the [migration guide](/material-ui/migration/migration-grid-v2/) to see the differences and improvements. | ||
|
||
## Deprecations | ||
|
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.
### ListItemSecondaryAction | |
Hey @siriwatknp! I merged #42194. I'll complete the deprecations section as soon as possible. |
|
||
Apart from the support for Pigment CSS, the v6 release provides a stable API for adopting CSS variables which open more customization possibilities and offers a more enjoyable developer experience. | ||
|
||
Additionally, the v6 release does not include any breaking changes. Some APIs are deprecated to bring more consistent developer experience which are easily migrated using our codemod. |
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.
Additionally, the v6 release does not include any breaking changes. Some APIs are deprecated to bring more consistent developer experience which are easily migrated using our codemod. | |
Additionally, the v6 release does not include any breaking changes, apart from the browser support & node.js version bump. Some APIs are deprecated to bring more consistent developer experience which are easily migrated using our codemod. |
Maybe to make sure we are not setting wrong expectations.
|
||
<!-- TODO: add codemod instruction --> | ||
|
||
## Pigment CSS integration |
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.
## Pigment CSS integration | |
## Pigment CSS integration (optional) |
To make sure people know that they don't need to do this right away.
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.
Additional thing, we decided to keep in emotion the current overrides precendence (base styles vs variants), but change it in Pigment CSS. We need to add section on this and maybe troubleshooting guide if the styles differ.
Blocked by: