@zag-js/rect-utils
Advanced tools
Comparing version 0.0.0-dev-20220604091934 to 0.0.0-dev-20220604123458
@@ -155,5 +155,7 @@ var __defProp = Object.defineProperty; | ||
// ../core/dist/index.mjs | ||
var isDom = () => typeof window !== "undefined"; | ||
var isArray = (v) => Array.isArray(v); | ||
var isObject = (v) => !(v == null || typeof v !== "object" || isArray(v)); | ||
var hasProp = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop); | ||
var isTouchDevice = isDom() && !!navigator.maxTouchPoints; | ||
var isTouchEvent = (v) => isObject(v) && hasProp(v, "touches"); | ||
@@ -160,0 +162,0 @@ |
{ | ||
"name": "@zag-js/rect-utils", | ||
"version": "0.0.0-dev-20220604091934", | ||
"version": "0.0.0-dev-20220604123458", | ||
"description": "", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/utils": "0.0.0-dev-20220604091934" | ||
"@zag-js/utils": "0.0.0-dev-20220604123458" | ||
}, | ||
@@ -31,0 +31,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
64329
606
+ Added@zag-js/utils@0.0.0-dev-20220604123458(transitive)
- Removed@zag-js/utils@0.0.0-dev-20220604091934(transitive)