@zag-js/popper
Advanced tools
Comparing version 0.0.0-dev-20220604091934 to 0.0.0-dev-20220604123458
@@ -45,6 +45,8 @@ var __defProp = Object.defineProperty; | ||
// ../core/dist/index.mjs | ||
var isDom = () => typeof window !== "undefined"; | ||
var isBoolean = (v) => v === true || v === false; | ||
var isTouchDevice = isDom() && !!navigator.maxTouchPoints; | ||
var noop = () => { | ||
}; | ||
var pipe = (...fns) => (v) => fns.reduce((a, b) => b(a), v); | ||
var isBoolean = (v) => v === true || v === false; | ||
@@ -55,2 +57,5 @@ // src/auto-update.ts | ||
// ../dom/dist/index.mjs | ||
var isDom2 = () => typeof window !== "undefined"; | ||
var hasProp = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop); | ||
var isTouchDevice2 = isDom2() && !!navigator.maxTouchPoints; | ||
var runIfFn = (v, ...a) => { | ||
@@ -62,3 +67,2 @@ const res = typeof v === "function" ? v(...a) : v; | ||
}; | ||
var hasProp = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop); | ||
function getListenerElements() { | ||
@@ -65,0 +69,0 @@ ; |
{ | ||
"name": "@zag-js/popper", | ||
"version": "0.0.0-dev-20220604091934", | ||
"version": "0.0.0-dev-20220604123458", | ||
"description": "Dynamic positioning logic for ui machines", | ||
@@ -29,4 +29,4 @@ "keywords": [ | ||
"@floating-ui/dom": "^0.4.2", | ||
"@zag-js/dom-utils": "0.0.0-dev-20220604091934", | ||
"@zag-js/utils": "0.0.0-dev-20220604091934" | ||
"@zag-js/dom-utils": "0.0.0-dev-20220604123458", | ||
"@zag-js/utils": "0.0.0-dev-20220604123458" | ||
}, | ||
@@ -33,0 +33,0 @@ "scripts": { |
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
1013
189027
+ Added@zag-js/dom-utils@0.0.0-dev-20220604123458(transitive)
+ Added@zag-js/utils@0.0.0-dev-20220604123458(transitive)
- Removed@zag-js/dom-utils@0.0.0-dev-20220604091934(transitive)
- Removed@zag-js/utils@0.0.0-dev-20220604091934(transitive)
- Removedcompute-scroll-into-view@1.0.20(transitive)
- Removedscroll-into-view-if-needed@2.2.31(transitive)