feat: initial commit - Phase 1 & 2 core features

This commit is contained in:
hiderfong
2026-04-22 17:07:33 +08:00
commit 1773bda06b
25005 changed files with 6252106 additions and 0 deletions
@@ -0,0 +1,17 @@
import { InjectionKey, Ref } from "vue";
//#region ../../packages/components/focus-trap/src/tokens.d.ts
declare const FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
declare const FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
declare const FOCUSOUT_PREVENTED = "focus-trap.focusout-prevented";
declare const FOCUS_AFTER_TRAPPED_OPTS: EventInit;
declare const FOCUSOUT_PREVENTED_OPTS: EventInit;
declare const ON_TRAP_FOCUS_EVT = "focusAfterTrapped";
declare const ON_RELEASE_FOCUS_EVT = "focusAfterReleased";
type FocusTrapInjectionContext = {
focusTrapRef: Ref<HTMLElement | undefined>;
onKeydown: (e: KeyboardEvent) => void;
};
declare const FOCUS_TRAP_INJECTION_KEY: InjectionKey<FocusTrapInjectionContext>;
//#endregion
export { FOCUSOUT_PREVENTED, FOCUSOUT_PREVENTED_OPTS, FOCUS_AFTER_RELEASED, FOCUS_AFTER_TRAPPED, FOCUS_AFTER_TRAPPED_OPTS, FOCUS_TRAP_INJECTION_KEY, FocusTrapInjectionContext, ON_RELEASE_FOCUS_EVT, ON_TRAP_FOCUS_EVT };