feat!: Added support for separators in menus. (#8767)

* feat!: Added support for separators in menus.

* chore: Do English gooder.

* fix: Remove menu separators from the DOM during dispose.
This commit is contained in:
Aaron Dodson
2025-02-27 14:00:40 -08:00
committed by GitHub
parent 0ed6c82acc
commit fa4fce5c12
8 changed files with 186 additions and 48 deletions

View File

@@ -48,6 +48,9 @@ export enum Role {
// ARIA role for a tree item that sometimes may be expanded or collapsed.
TREEITEM = 'treeitem',
// ARIA role for a visual separator in e.g. a menu.
SEPARATOR = 'separator',
}
/**