- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
9 lines
511 B
TypeScript
9 lines
511 B
TypeScript
type Modality = "keyboard" | "pointer" | "virtual";
|
|
type FocusVisibleCallback = (isFocusVisible: boolean) => void;
|
|
declare function trackFocusVisible(fn: FocusVisibleCallback): () => void;
|
|
declare function trackInteractionModality(fn: (value: Modality | null) => void): () => void;
|
|
declare function setInteractionModality(value: Modality): void;
|
|
declare function getInteractionModality(): Modality | null;
|
|
|
|
export { getInteractionModality, setInteractionModality, trackFocusVisible, trackInteractionModality };
|