- Submenu panel name priority is explicit aria-label > menu content channel >
this instance's trigger; an explicit label drops the id reference so it cannot
be shadowed.
- openAutoFocus and animationend chain with the caller's handlers like keydown
and interact-outside, so caller callbacks run and can cancel.
- The panel loop falls back to the menu-level shouldFocusWrap and is always
passed as a boolean: an undefined -> true update is dropped by the base prop
chain, so the menu policy never applied.
- Add a jsdom CSSOM polyfill for CSS.escape via vitest setupFiles; the
animationend test no longer raises an unhandled error.
- Menu forwards the raw close policy and the item resolves item > menu
(boolean or function) > per-mode default, so action items close by default and
an explicit single/multiple policy is no longer pre-empted.
- Root popover chains caller handlers with the internal ones for keydown,
escape, interact-outside, auto focus and animation end; callers run first and
a prevented event stops the internal logic.
- Submenu panels receive the nested popover's data/style/id/extra events, honour
isKeyboardDismissDisabled without closing the parent level or a modal, and
forward shouldCloseOnInteractOutside.
- A standalone Menu provides its own content-attribute channel so the
accessible name/description land on the real role=menu node.
- Root and submenu surfaces render through the dropdown portal with the overlay
z-index, so clipping/isolation ancestors no longer cut the menu; panel height
is capped by the floating available height and the animation origin maps the
real transform origin.
- Standalone Menu is a static in-flow list: no scroll lock, no outside pointer
blocking, no floating placement and no focus stealing.
- Selection ownership is isolated per level: section disabled keys add to the
menu list, and a nested Menu resets the section owner.
- closeOnSelect resolves item > menu policy > per-mode default for selection
items; actions and radio items close, checkboxes stay open.
- Business keys no longer become DOM ids (instance ids + data-key), and submenu
surfaces label themselves from the real trigger.
- Long-press keydown runs the caller's handlers first and only opens when not
cancelled; submenu panels merge caller keydown with the internal Escape.
- Link items render a real anchor, aria labels land on the role=menu node,
submenu panels forward placement/offset/collision props and caller attrs, and
the popover provides the default Surface variant.
- Wrapper parts declare real props/emits, plus the missing official capability
props (disallowEmptySelection, escapeKeyBehavior, shouldFocusWrap, autoFocus,
shouldCloseOnSelect, close, empty slot, isKeyboardDismissDisabled,
shouldCloseOnInteractOutside, placement/offset family, scoped slots).
- Ship an independent consumer fixture for browser-level verification.