import{type PropertyValues,type TemplateResult}from'lit';import type{Placement}from'@floating-ui/dom';import{LyraElement}from'../../../internal/lyra-element.js';import type{PlaceStrategy,PlaceSync}from'../../../internal/positioner.js';import{type LyraArrowPlacement}from'./overlay-arrow.js';import{type OverlayVirtualRect}from'./overlay-shared.js'; /** Semantic role vocabulary for a popover surface or mapped trigger contract. */ /** * Semantic role a popover's positioned surface takes on. * * `'none'` is the escape hatch for the WAI-ARIA **disclosure navigation** pattern: a list of links * is not an application action menu (`'menu'` announces "menu, menu item" and expects `menuitem` * children) and is not an interruptive surface (`'dialog'`). Under `'none'` the popover contributes * positioning, light dismiss, and the `aria-expanded`/`aria-controls` wiring the disclosure pattern * requires, while the author's own `