@zag-js/focus-visible
Advanced tools
Comparing version
declare type FocusVisibleCallback = (isFocusVisible: boolean) => void; | ||
export declare function trackFocusVisible(fn: FocusVisibleCallback): () => boolean; | ||
export declare function trackFocusVisible(fn: FocusVisibleCallback): () => void; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -95,4 +95,6 @@ var __defProp = Object.defineProperty; | ||
handlers.add(handler); | ||
return () => handlers.delete(handler); | ||
return () => { | ||
handlers.delete(handler); | ||
}; | ||
} | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@zag-js/focus-visible", | ||
"version": "0.0.0-dev-20220604230945", | ||
"version": "0.0.0-dev-20220605192656", | ||
"description": "Focus visible polyfill utility based on WICG", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18582
0.39%180
2.27%