Update API doc

pull/6537/head
GitHub Actions Bot 2024-10-04 09:03:27 +00:00
parent 0c57108f89
commit 573216a1ef
3 changed files with 80 additions and 8 deletions

View File

@ -15208,6 +15208,22 @@
"default": "", "default": "",
"description": "An array of menuitems." "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", "name": "appendTo",
"optional": true, "optional": true,
@ -15232,14 +15248,6 @@
"default": "0", "default": "0",
"description": "Base zIndex value to use in layering." "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", "name": "tabindex",
"optional": true, "optional": true,
@ -62703,6 +62711,14 @@
"default": "false", "default": "false",
"description": "Defines if menu would displayed as a popup." "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", "name": "appendTo",
"optional": true, "optional": true,
@ -76236,6 +76252,14 @@
"default": "", "default": "",
"description": "Used to pass tokens of the item section" "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", "name": "submenuIcon",
"optional": true, "optional": true,
@ -76441,6 +76465,15 @@
"default": "", "default": "",
"description": "Icon active color of item" "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", "name": "submenuIcon.size",
"token": "contextmenu.submenu.icon.size", "token": "contextmenu.submenu.icon.size",
@ -92805,6 +92838,14 @@
"default": "", "default": "",
"description": "Used to pass tokens of the item section" "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", "name": "submenuLabel",
"optional": true, "optional": true,
@ -93011,6 +93052,15 @@
"default": "", "default": "",
"description": "Icon active color of item" "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", "name": "submenuLabel.padding",
"token": "tieredmenu.submenu.label.padding", "token": "tieredmenu.submenu.label.padding",

View File

@ -145,6 +145,17 @@ export interface ContextMenuDesignTokens extends ColorSchemeDesignToken<ContextM
activeColor?: string; activeColor?: string;
}; };
}; };
/**
* Used to pass tokens of the submenu section
*/
submenu?: {
/**
* Mobile indent of submenu
*
* @designToken contextmenu.submenu.mobile.indent
*/
mobileIndent?: string;
};
/** /**
* Used to pass tokens of the submenu icon section * Used to pass tokens of the submenu icon section
*/ */

View File

@ -145,6 +145,17 @@ export interface TieredMenuDesignTokens extends ColorSchemeDesignToken<TieredMen
activeColor?: string; activeColor?: string;
}; };
}; };
/**
* Used to pass tokens of the submenu section
*/
submenu?: {
/**
* Mobile indent of submenu
*
* @designToken tieredmenu.submenu.mobile.indent
*/
mobileIndent?: string;
};
/** /**
* Used to pass tokens of the submenu label section * Used to pass tokens of the submenu label section
*/ */