From 212678a3fab918677828efaa3f1a3da4e7e739eb Mon Sep 17 00:00:00 2001 From: sai chand <60743144+sai6855@users.noreply.github.com> Date: Thu, 22 Feb 2024 14:47:01 +0530 Subject: [PATCH] [material-ui][Chip] Correct `deleteIconColorPrimary` and `deleteIconColorSecondary` class descriptions (#41231) --- docs/pages/material-ui/api/chip.json | 4 ++-- docs/translations/api-docs/chip/chip.json | 4 ++-- packages/mui-material/src/Chip/chipClasses.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/pages/material-ui/api/chip.json b/docs/pages/material-ui/api/chip.json index a094e87167319b..999e26c5b18a97 100644 --- a/docs/pages/material-ui/api/chip.json +++ b/docs/pages/material-ui/api/chip.json @@ -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 }, { diff --git a/docs/translations/api-docs/chip/chip.json b/docs/translations/api-docs/chip/chip.json index 3cbbc11437a3bc..88d78e196f18a1 100644 --- a/docs/translations/api-docs/chip/chip.json +++ b/docs/translations/api-docs/chip/chip.json @@ -125,12 +125,12 @@ "deleteIconColorPrimary": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the deleteIcon element", - "conditions": "color=\"primary\" and variant=\"filled\"" + "conditions": "color=\"primary\"" }, "deleteIconColorSecondary": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the deleteIcon element", - "conditions": "color=\"secondary\" and variant=\"filled\"" + "conditions": "color=\"secondary\"" }, "deleteIconFilledColorPrimary": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", diff --git a/packages/mui-material/src/Chip/chipClasses.ts b/packages/mui-material/src/Chip/chipClasses.ts index bb4f7b105f0d77..e7fb0fd51d1a43 100644 --- a/packages/mui-material/src/Chip/chipClasses.ts +++ b/packages/mui-material/src/Chip/chipClasses.ts @@ -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;