@zag-js/interact-outside
Advanced tools
Comparing version 0.0.0-dev-20220706194607 to 0.0.0-dev-20220707125149
@@ -79,3 +79,4 @@ "use strict"; | ||
return; | ||
const event = new CustomEvent(type, init); | ||
const win = getWindow(el); | ||
const event = new win.CustomEvent(type, init); | ||
return el.dispatchEvent(event); | ||
@@ -82,0 +83,0 @@ } |
{ | ||
"name": "@zag-js/interact-outside", | ||
"version": "0.0.0-dev-20220706194607", | ||
"version": "0.0.0-dev-20220707125149", | ||
"description": "Track interations or focus outside an element", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/dom-utils": "0.0.0-dev-20220706194607" | ||
"@zag-js/dom-utils": "0.0.0-dev-20220707125149" | ||
}, | ||
@@ -34,0 +34,0 @@ "publishConfig": { |
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
13557
338
+ Added@zag-js/dom-utils@0.0.0-dev-20220707125149(transitive)
+ Added@zag-js/types@0.0.0-dev-20220707125149(transitive)
- Removed@zag-js/dom-utils@0.0.0-dev-20220706194607(transitive)
- Removed@zag-js/types@0.0.0-dev-20220706194607(transitive)