Skip to content
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

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

Merged
merged 6 commits into from
Jun 18, 2024

Conversation

sai6855
Copy link
Contributor

@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 component: tabs This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material 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
22 checks passed
@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tabs This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material v6.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants