Skip to content

[material-ui][Chip] Correct deleteIconColorPrimary and deleteIconColorSecondary class descriptions#41231

Merged
ZeeshanTamboli merged 1 commit intomui:masterfrom
sai6855:chip-class-description
Feb 22, 2024
Merged

[material-ui][Chip] Correct deleteIconColorPrimary and deleteIconColorSecondary class descriptions#41231
ZeeshanTamboli merged 1 commit intomui:masterfrom
sai6855:chip-class-description

Conversation

@sai6855
Copy link
Copy Markdown
Member

@sai6855 sai6855 commented Feb 22, 2024

@sai6855 sai6855 added docs Improvements or additions to the documentation. scope: chip Changes related to the chip. package: material-ui labels Feb 22, 2024
@mui-bot
Copy link
Copy Markdown

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

/** 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
Copy Markdown
Member 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
Copy Markdown
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 type: bug It doesn't behave as expected. label Feb 22, 2024
@sai6855
Copy link
Copy Markdown
Member 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
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

docs Improvements or additions to the documentation. scope: chip Changes related to the chip. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants