Skip to content

Commit

Permalink
[material-ui][Chip] Correct deleteIconColorPrimary and `deleteIconC…
Browse files Browse the repository at this point in the history
…olorSecondary` class descriptions (#41231)
  • Loading branch information
sai6855 committed Feb 22, 2024
1 parent e3257a4 commit 212678a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/pages/material-ui/api/chip.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@
{
"key": "deleteIconColorPrimary",
"className": "MuiChip-deleteIconColorPrimary",
"description": "Styles applied to the deleteIcon element if `color=\"primary\"` and `variant=\"filled\"`.",
"description": "Styles applied to the deleteIcon element if `color=\"primary\"`.",
"isGlobal": false
},
{
"key": "deleteIconColorSecondary",
"className": "MuiChip-deleteIconColorSecondary",
"description": "Styles applied to the deleteIcon element if `color=\"secondary\"` and `variant=\"filled\"`.",
"description": "Styles applied to the deleteIcon element if `color=\"secondary\"`.",
"isGlobal": false
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs/translations/api-docs/chip/chip.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@
"deleteIconColorPrimary": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the deleteIcon element",
"conditions": "<code>color=\"primary\"</code> and <code>variant=\"filled\"</code>"
"conditions": "<code>color=\"primary\"</code>"
},
"deleteIconColorSecondary": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the deleteIcon element",
"conditions": "<code>color=\"secondary\"</code> and <code>variant=\"filled\"</code>"
"conditions": "<code>color=\"secondary\"</code>"
},
"deleteIconFilledColorPrimary": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-material/src/Chip/chipClasses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"`. */
deleteIconColorPrimary: string;
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
/** Styles applied to the deleteIcon element if `color="secondary"`. */
deleteIconColorSecondary: string;
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
deleteIconOutlinedColorPrimary: string;
Expand Down

0 comments on commit 212678a

Please sign in to comment.