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][Chip] Correct deleteIconColorPrimary and deleteIconColorSecondary class descriptions #41231

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

sai6855
Copy link
Contributor

@sai6855 sai6855 commented Feb 22, 2024

@sai6855 sai6855 added docs Improvements or additions to the documentation component: chip This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material labels Feb 22, 2024
@mui-bot
Copy link

mui-bot commented Feb 22, 2024

Netlify deploy preview

https://deploy-preview-41231--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 7ceffb5

@@ -78,9 +78,9 @@ export interface ChipClasses {
deleteIconSmall: string;
/** Styles applied to the deleteIcon element if `size="medium"`. */
deleteIconMedium: string;
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
/** Styles applied to the deleteIcon element if `color="primary"`. */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

deleteIconColorPrimary is applied to the deleteIcon irrespective of the variant value, so I've removed variant='filled' from the description.

there is already a class called deleteIconFilledColorPrimary combining color and variant

Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

Nice catch! Looks like it was just copied over. Once the merge unfreezes for the current release, I'll go ahead and merge it.

Just a reminder, make sure the product comes first in the PR title, followed by the component name: [product-name][component-name].

@ZeeshanTamboli ZeeshanTamboli changed the title [Chip][material-ui] Correct deleteIconColorPrimary and deleteIconColorSecondary class description [material-ui][Chip] Correct deleteIconColorPrimary and deleteIconColorSecondary class descriptions Feb 22, 2024
@ZeeshanTamboli ZeeshanTamboli added the bug 🐛 Something doesn't work label Feb 22, 2024
@sai6855
Copy link
Contributor Author

sai6855 commented Feb 22, 2024

Just a reminder, make sure the product comes first in the PR title, followed by the component name: [product-name][component-name].

Noted.

@ZeeshanTamboli ZeeshanTamboli merged commit 212678a into mui:master Feb 22, 2024
25 of 26 checks passed
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: chip This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation package: material-ui Specific to @mui/material
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants