Skip to content

[material-ui][Tab] Deprecate iconWrapper class for icon class#42647

Merged
DiegoAndai merged 6 commits intomui:nextfrom
sai6855:deprecate-iconwrapper
Jun 18, 2024
Merged

[material-ui][Tab] Deprecate iconWrapper class for icon class#42647
DiegoAndai merged 6 commits intomui:nextfrom
sai6855:deprecate-iconwrapper

Conversation

@sai6855
Copy link
Member

@sai6855 sai6855 commented Jun 15, 2024

As per this comment #42549 (comment), this PR deprecates iconWrapper class and for icon class

@sai6855 sai6855 marked this pull request as draft June 15, 2024 06:34
@sai6855 sai6855 added scope: tabs Changes related to the tabs. package: material-ui v6.x labels Jun 15, 2024
@mui-bot
Copy link

mui-bot commented Jun 15, 2024

Copy link
Member

@DiegoAndai DiegoAndai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sai6855

@DiegoAndai DiegoAndai merged commit d3ef601 into mui:next Jun 18, 2024
@sai6855 sai6855 deleted the deprecate-iconwrapper branch June 18, 2024 17:38
@aarongarciah
Copy link
Member

aarongarciah commented Jun 19, 2024

@sai6855 @DiegoAndai a test is failing locally for me in latest next. The CI didn't catch it because we had a temporary regression causing most unit tests to not run in CI. See #42670

Screenshot 2024-06-19 at 14 06 21

@aarongarciah
Copy link
Member

@sai6855 @DiegoAndai fix is up for review #42686

Comment on lines +1483 to +1484
- .MuiTab-iconWrapper
+ .MuiTab-icon
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- .MuiTab-iconWrapper
+ .MuiTab-icon
-.MuiTab-iconWrapper
+.MuiTab-icon

Moved to #42711

- [`& .${tabClasses.iconWrapper}`]: {
+ [`& .${tabClasses.icon}`]: {
color: 'red',
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
},
},

Moved to #42711

joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: tabs Changes related to the tabs. v6.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants