@zag-js/dom-query
Advanced tools
Comparing version 0.0.0-dev-20230223073112 to 0.0.0-dev-20230225065338
@@ -266,3 +266,3 @@ "use strict"; | ||
var isTouchDevice = () => isDom() && !!navigator.maxTouchPoints; | ||
var isMac = () => pt(/^Mac/) && !isTouchDevice; | ||
var isMac = () => pt(/^Mac/) && !isTouchDevice(); | ||
var isIPhone = () => pt(/^iPhone/); | ||
@@ -269,0 +269,0 @@ var isSafari = () => isApple() && vn(/apple/i); |
declare const isDom: () => boolean; | ||
declare function getPlatform(): any; | ||
declare const isTouchDevice: () => boolean; | ||
declare const isMac: () => false; | ||
declare const isMac: () => boolean; | ||
declare const isIPhone: () => boolean; | ||
@@ -6,0 +6,0 @@ declare const isSafari: () => boolean; |
@@ -43,3 +43,3 @@ "use strict"; | ||
var isTouchDevice = () => isDom() && !!navigator.maxTouchPoints; | ||
var isMac = () => pt(/^Mac/) && !isTouchDevice; | ||
var isMac = () => pt(/^Mac/) && !isTouchDevice(); | ||
var isIPhone = () => pt(/^iPhone/); | ||
@@ -46,0 +46,0 @@ var isSafari = () => isApple() && vn(/apple/i); |
{ | ||
"name": "@zag-js/dom-query", | ||
"version": "0.0.0-dev-20230223073112", | ||
"version": "0.0.0-dev-20230225065338", | ||
"description": "The dom helper library for zag.js machines", | ||
@@ -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
55832