@zag-js/dom-event
Advanced tools
Comparing version 0.0.0-dev-20240612172509 to 0.0.0-dev-20240614092224
@@ -74,3 +74,3 @@ import { JSX } from '@zag-js/types'; | ||
declare function queueBeforeEvent(element: Element, type: string, cb: () => void): () => void; | ||
declare function queueBeforeEvent(element: EventTarget, type: string, cb: () => void): () => void; | ||
@@ -77,0 +77,0 @@ declare function requestPointerLock(doc: Document, fn?: (locked: boolean) => void): (() => void) | undefined; |
{ | ||
"name": "@zag-js/dom-event", | ||
"version": "0.0.0-dev-20240612172509", | ||
"version": "0.0.0-dev-20240614092224", | ||
"description": "", | ||
@@ -28,5 +28,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/types": "0.0.0-dev-20240612172509", | ||
"@zag-js/dom-query": "0.0.0-dev-20240612172509", | ||
"@zag-js/text-selection": "0.0.0-dev-20240612172509" | ||
"@zag-js/types": "0.0.0-dev-20240614092224", | ||
"@zag-js/dom-query": "0.0.0-dev-20240614092224", | ||
"@zag-js/text-selection": "0.0.0-dev-20240614092224" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
export function queueBeforeEvent(element: Element, type: string, cb: () => void) { | ||
export function queueBeforeEvent(element: EventTarget, type: string, cb: () => void) { | ||
const createTimer = (callback: () => void) => { | ||
@@ -3,0 +3,0 @@ const timerId = requestAnimationFrame(callback) |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115135
+ Added@zag-js/dom-query@0.0.0-dev-20240614092224(transitive)
+ Added@zag-js/text-selection@0.0.0-dev-20240614092224(transitive)
+ Added@zag-js/types@0.0.0-dev-20240614092224(transitive)
- Removed@zag-js/dom-query@0.0.0-dev-20240612172509(transitive)
- Removed@zag-js/text-selection@0.0.0-dev-20240612172509(transitive)
- Removed@zag-js/types@0.0.0-dev-20240612172509(transitive)