@maltjoy/core-vue 6.5.0-beta.3 → 6.5.0-beta.4

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.
@@ -2,12 +2,10 @@ import { type MaybeRefOrGetter, type Ref } from 'vue';
2
2
  export declare function getFocusableElements(root: HTMLElement): HTMLElement[];
3
3
  export declare function trapFocus(event: KeyboardEvent, root: HTMLElement): void;
4
4
  export interface OverlayA11yOptions {
5
- rootRef: Ref<HTMLElement | undefined>;
5
+ rootRef: Ref<HTMLElement | null | undefined>;
6
6
  isOpen: Ref<boolean>;
7
- /** When false, skip focus trap and inert. Initial focus, restore and Escape still run. */
7
+ /** When false, skip the Tab trap. Initial focus and restore still run. */
8
8
  modal?: MaybeRefOrGetter<boolean>;
9
- closeOnEscape?: MaybeRefOrGetter<boolean>;
10
- onEscape: () => void;
11
9
  /** Skip all a11y behavior (Storybook `demoMode`). */
12
10
  enabled?: MaybeRefOrGetter<boolean>;
13
11
  /** Used to find the trigger again if the original node was remounted. */