From e7849a9321efb76c7e16855bed065548d418611f Mon Sep 17 00:00:00 2001 From: sai6855 <60743144+sai6855@users.noreply.github.com> Date: Tue, 5 Sep 2023 16:24:39 +0530 Subject: [PATCH] docs:api --- docs/pages/joy-ui/api/accordion-group.json | 19 ++++++- .../accordion-group/accordion-group.json | 50 +++++++++++++++++++ 2 files changed, 68 insertions(+), 1 deletion(-) diff --git a/docs/pages/joy-ui/api/accordion-group.json b/docs/pages/joy-ui/api/accordion-group.json index 15517683f2ae85..762cb6a3ddf8c7 100644 --- a/docs/pages/joy-ui/api/accordion-group.json +++ b/docs/pages/joy-ui/api/accordion-group.json @@ -62,7 +62,24 @@ "class": ".MuiAccordionGroup-root" } ], - "classes": { "classes": ["sizeLg", "sizeMd", "sizeSm"], "globalClasses": {} }, + "classes": { + "classes": [ + "colorContext", + "colorDanger", + "colorNeutral", + "colorPrimary", + "colorSuccess", + "colorWarning", + "sizeLg", + "sizeMd", + "sizeSm", + "variantOutlined", + "variantPlain", + "variantSoft", + "variantSolid" + ], + "globalClasses": {} + }, "spread": true, "themeDefaultProps": true, "muiName": "JoyAccordionGroup", diff --git a/docs/translations/api-docs-joy/accordion-group/accordion-group.json b/docs/translations/api-docs-joy/accordion-group/accordion-group.json index 880f29343d65ef..d630c9495a0800 100644 --- a/docs/translations/api-docs-joy/accordion-group/accordion-group.json +++ b/docs/translations/api-docs-joy/accordion-group/accordion-group.json @@ -26,6 +26,56 @@ }, "classDescriptions": { "root": { "description": "Class name applied to the root element." }, + "colorPrimary": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "color=\"primary\"" + }, + "colorNeutral": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "color=\"neutral\"" + }, + "colorDanger": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "color=\"danger\"" + }, + "colorSuccess": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "color=\"success\"" + }, + "colorWarning": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "color=\"warning\"" + }, + "colorContext": { + "description": "Class name applied to {{nodeName}} when {{conditions}}.", + "nodeName": "the root element", + "conditions": "color inversion is triggered" + }, + "variantPlain": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "variant=\"plain\"" + }, + "variantOutlined": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "variant=\"outlined\"" + }, + "variantSoft": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "variant=\"soft\"" + }, + "variantSolid": { + "description": "Class name applied to {{nodeName}} if {{conditions}}.", + "nodeName": "the root element", + "conditions": "variant=\"solid\"" + }, "sizeSm": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element",