[ImageListItemBar] Remove deprecated CSS classes by siriwatknp · Pull Request #48064 · mui/material-ui (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
Summary
- Removed deprecated compound CSS classes:
titleWrapBelow,titleWrapActionPosLeft,titleWrapActionPosRight,actionIconActionPosLeft - Also removed undocumented compound classes from
generateUtilityClasses:titleWrapBottom,titleWrapTop,actionIconActionPosRight - Simplified
useUtilityClassesandoverridesResolverfortitleWrapandactionIconslots - Updated migration guide with codemod reference
Test plan
pnpm prettierpassespnpm eslintpassespnpm typescriptpassespnpm test:unit ImageListItemBarpasses (36 passed)
| }); |
|---|
| it('should render a child div with the titleWrapBelow class', () => { |
| it('should render a child div with the titleWrap class', () => { |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for these tests could we also assert the Below and ActionPosLeft classes on the root?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done — tests now assert positionBelow and actionPositionLeft on root.
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 }})