Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
40 lines
1.9 KiB
JSON
40 lines
1.9 KiB
JSON
{
|
|
"componentDescription": "A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/.\nIt's exposed to help customization of the [`Menu`](/material-ui/api/menu/) component if you\nuse it separately you need to move focus into the component manually. Once\nthe focus is placed inside the component it is fully keyboard accessible.",
|
|
"propDescriptions": {
|
|
"autoFocus": {
|
|
"description": "If <code>true</code>, will focus the <code>[role="menu"]</code> container and move into tab order."
|
|
},
|
|
"autoFocusItem": {
|
|
"description": "If <code>true</code>, will focus the first menuitem if <code>variant="menu"</code> or selected item if <code>variant="selectedMenu"</code>."
|
|
},
|
|
"children": { "description": "MenuList contents, normally <code>MenuItem</code>s." },
|
|
"disabledItemsFocusable": {
|
|
"description": "If <code>true</code>, will allow focus on disabled items."
|
|
},
|
|
"disableListWrap": {
|
|
"description": "If <code>true</code>, the menu items will not wrap focus."
|
|
},
|
|
"variant": {
|
|
"description": "The variant to use. Use <code>menu</code> to prevent selected items from impacting the initial focus and the vertical alignment relative to the anchor element."
|
|
}
|
|
},
|
|
"classDescriptions": {
|
|
"dense": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "dense"
|
|
},
|
|
"padding": {
|
|
"description": "Styles applied to {{nodeName}} unless {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>disablePadding={true}</code>"
|
|
},
|
|
"root": { "description": "Styles applied to the root element." },
|
|
"subheader": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "a <code>subheader</code> is provided"
|
|
}
|
|
}
|
|
}
|