@veevarts/design-system 2.1.0-beta.15 → 2.1.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +232 -230
- package/dist/patterns/ModalPanels/focus.d.ts +5 -0
- package/package.json +1 -1
|
@@ -6,6 +6,11 @@ export declare function canStillFocus(element: HTMLElement | null, container: HT
|
|
|
6
6
|
* A popup (menu, listbox) currently open from a trigger inside `container`,
|
|
7
7
|
* found through the trigger's own ARIA wiring: `aria-expanded="true"` plus
|
|
8
8
|
* `aria-controls` naming the popup.
|
|
9
|
+
*
|
|
10
|
+
* Only POPUPS: the trigger declares `aria-haspopup`, or the element it
|
|
11
|
+
* controls has a popup role. An expanded accordion or disclosure carries the
|
|
12
|
+
* same `aria-expanded` + `aria-controls` pair, but its region is page content
|
|
13
|
+
* that cannot take focus; treating it as a popup sent focus nowhere.
|
|
9
14
|
*/
|
|
10
15
|
export declare function openPopupFrom(container: HTMLElement): HTMLElement | null;
|
|
11
16
|
/**
|