/** * @prop { String } fullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. * @csspart bibContainer - Apply css to the bib container. */ export class AuroDropdownBib extends LitElement { static get styles(): import("lit").CSSResult[]; static get properties(): { /** * If declared, will take the fullscreen when the bib is displayed. */ isFullscreen: { type: BooleanConstructor; reflect: boolean; }; /** * If declared, will apply all styles for the common theme. */ common: { type: BooleanConstructor; reflect: boolean; }; /** * If declared, will apply extra padding to bib content. */ inset: { type: BooleanConstructor; reflect: boolean; }; /** * If declared, the bib width will match the trigger width. * @private */ matchWidth: { type: BooleanConstructor; reflect: boolean; }; /** * If declared, will apply border-radius to the bib. */ rounded: { type: BooleanConstructor; reflect: boolean; }; /** * A reference to the associated bib template element. */ bibTemplate: { type: ObjectConstructor; }; shape: { type: StringConstructor; reflect: boolean; }; /** * Accessible label for the dialog element, used when displayed as a modal. * Applied via aria-labelledby on a visually hidden element rather than * aria-label because iOS VoiceOver does not reliably read aria-label * on elements. * @private */ dialogLabel: { type: StringConstructor; }; /** * Overrides the native role of the dialog element. * For example, set to `"presentation"` on desktop combobox to prevent * VoiceOver from announcing "listbox inside of a dialog". * When `undefined`, the dialog keeps its native role. * @private */ dialogRole: { type: StringConstructor; }; }; /** * @private */ private _mobileBreakpointValue; shape: string; matchWidth: boolean; set mobileFullscreenBreakpoint(value: string); get mobileFullscreenBreakpoint(): string; updated(changedProperties: any): void; bibTemplate: any; firstUpdated(changedProperties: any): void; /** * Forwards the dialog's native `cancel` event (fired on ESC) as * an `auro-bib-cancel` custom event so parent components can close. * @param {HTMLDialogElement} dialog * @private */ private _setupCancelHandler; /** * showModal() creates a closed focus scope — keyboard events inside * the dialog's shadow DOM do NOT bubble out to the combobox/select * keydown handlers in the parent shadow DOM. This handler bridges * that gap by re-dispatching navigation keys so they cross the * shadow boundary and reach the menu navigation logic in the parent * component. * * The trade-off: intercepting these keys means native keyboard * behaviors that would normally "just work" must be manually * re-implemented here: * * - Enter on buttons: Custom elements (auro-button) don't get the * native Enter→click that