[Divider] Remove deprecated CSS classes by siriwatknp · Pull Request #48075 · mui/material-ui (original) (raw)
Conversation
Summary
Removes the deprecated withChildrenVertical CSS class from the Divider component.
Users should combine .MuiDivider-withChildren and .MuiDivider-vertical classes instead.
Breaking change
-.MuiDivider-withChildrenVertical +.MuiDivider-withChildren.MuiDivider-vertical
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it fine if there is no codemod for this?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's also add the codemod
| /> |
|---|
| ``` |
| #### Divider deprecated classes removed |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is actually a codemod, it's just not added in the readme. we can do it here, not sure why claude did not find it in the PR I created for some missing codemods.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Claude didn't add because there was no divider-classes codemod, it's divider-props codemod which is different.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})