From 573216a1ef683662907d5ffb6317c7880b3ec5c6 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Fri, 4 Oct 2024 09:03:27 +0000 Subject: [PATCH] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 66 +++++++++++++++++--- packages/themes/types/contextmenu/index.d.ts | 11 ++++ packages/themes/types/tieredmenu/index.d.ts | 11 ++++ 3 files changed, 80 insertions(+), 8 deletions(-) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 17a5e19e2..3ab3a9595 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -15208,6 +15208,22 @@ "default": "", "description": "An array of menuitems." }, + { + "name": "breakpoint", + "optional": true, + "readonly": false, + "type": "string", + "default": "960px", + "description": "The breakpoint to define the maximum width boundary." + }, + { + "name": "global", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "Attaches the menu to document instead of a particular item." + }, { "name": "appendTo", "optional": true, @@ -15232,14 +15248,6 @@ "default": "0", "description": "Base zIndex value to use in layering." }, - { - "name": "global", - "optional": true, - "readonly": false, - "type": "boolean", - "default": "false", - "description": "Attaches the menu to document instead of a particular item." - }, { "name": "tabindex", "optional": true, @@ -62703,6 +62711,14 @@ "default": "false", "description": "Defines if menu would displayed as a popup." }, + { + "name": "breakpoint", + "optional": true, + "readonly": false, + "type": "string", + "default": "960px", + "description": "The breakpoint to define the maximum width boundary." + }, { "name": "appendTo", "optional": true, @@ -76236,6 +76252,14 @@ "default": "", "description": "Used to pass tokens of the item section" }, + { + "name": "submenu", + "optional": true, + "readonly": false, + "type": "Object", + "default": "", + "description": "Used to pass tokens of the submenu section" + }, { "name": "submenuIcon", "optional": true, @@ -76441,6 +76465,15 @@ "default": "", "description": "Icon active color of item" }, + { + "name": "submenu.mobileIndent", + "token": "contextmenu.submenu.mobile.indent", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Mobile indent of submenu" + }, { "name": "submenuIcon.size", "token": "contextmenu.submenu.icon.size", @@ -92805,6 +92838,14 @@ "default": "", "description": "Used to pass tokens of the item section" }, + { + "name": "submenu", + "optional": true, + "readonly": false, + "type": "Object", + "default": "", + "description": "Used to pass tokens of the submenu section" + }, { "name": "submenuLabel", "optional": true, @@ -93011,6 +93052,15 @@ "default": "", "description": "Icon active color of item" }, + { + "name": "submenu.mobileIndent", + "token": "tieredmenu.submenu.mobile.indent", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Mobile indent of submenu" + }, { "name": "submenuLabel.padding", "token": "tieredmenu.submenu.label.padding", diff --git a/packages/themes/types/contextmenu/index.d.ts b/packages/themes/types/contextmenu/index.d.ts index da5ea1bd0..b00b2303a 100644 --- a/packages/themes/types/contextmenu/index.d.ts +++ b/packages/themes/types/contextmenu/index.d.ts @@ -145,6 +145,17 @@ export interface ContextMenuDesignTokens extends ColorSchemeDesignToken