@zag-js/pressable
Advanced tools
Comparing version 0.0.0-dev-20220830122012 to 0.0.0-dev-20220830133710
@@ -263,2 +263,5 @@ "use strict"; | ||
onPointerDown(event) { | ||
if (state2.context.disabled) { | ||
return; | ||
} | ||
if (event.button !== 0 || !contains(event.currentTarget, event.target)) { | ||
@@ -265,0 +268,0 @@ return; |
{ | ||
"name": "@zag-js/pressable", | ||
"version": "0.0.0-dev-20220830122012", | ||
"version": "0.0.0-dev-20220830133710", | ||
"description": "Core logic for the pressable widget implemented as a state machine", | ||
@@ -26,7 +26,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/core": "0.0.0-dev-20220830122012", | ||
"@zag-js/types": "0.0.0-dev-20220830122012" | ||
"@zag-js/core": "0.0.0-dev-20220830133710", | ||
"@zag-js/types": "0.0.0-dev-20220830133710" | ||
}, | ||
"devDependencies": { | ||
"@zag-js/dom-utils": "0.0.0-dev-20220830122012" | ||
"@zag-js/dom-utils": "0.0.0-dev-20220830133710" | ||
}, | ||
@@ -33,0 +33,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
45372
1248
+ Added@zag-js/core@0.0.0-dev-20220830133710(transitive)
+ Added@zag-js/store@0.0.0-dev-20220830133710(transitive)
+ Added@zag-js/types@0.0.0-dev-20220830133710(transitive)
- Removed@zag-js/core@0.0.0-dev-20220830122012(transitive)
- Removed@zag-js/store@0.0.0-dev-20220830122012(transitive)
- Removed@zag-js/types@0.0.0-dev-20220830122012(transitive)