@zag-js/editable
Advanced tools
Comparing version 0.73.1 to 0.74.0
@@ -145,3 +145,4 @@ 'use strict'; | ||
if (localName === "textarea") { | ||
if (!domQuery.isModKey(event2)) return; | ||
const submitMod = domQuery.isApple() ? event2.metaKey : event2.ctrlKey; | ||
if (!submitMod) return; | ||
send({ type: "SUBMIT", src: "keydown.enter" }); | ||
@@ -148,0 +149,0 @@ return; |
{ | ||
"name": "@zag-js/editable", | ||
"version": "0.73.1", | ||
"version": "0.74.0", | ||
"description": "Core logic for the editable widget implemented as a state machine", | ||
@@ -29,10 +29,10 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.73.1", | ||
"@zag-js/core": "0.73.1", | ||
"@zag-js/interact-outside": "0.73.1", | ||
"@zag-js/utils": "0.73.1", | ||
"@zag-js/dom-query": "0.73.1", | ||
"@zag-js/dom-event": "0.73.1", | ||
"@zag-js/form-utils": "0.73.1", | ||
"@zag-js/types": "0.73.1" | ||
"@zag-js/anatomy": "0.74.0", | ||
"@zag-js/core": "0.74.0", | ||
"@zag-js/interact-outside": "0.74.0", | ||
"@zag-js/utils": "0.74.0", | ||
"@zag-js/dom-query": "0.74.0", | ||
"@zag-js/dom-event": "0.74.0", | ||
"@zag-js/form-utils": "0.74.0", | ||
"@zag-js/types": "0.74.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
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
49888
1207
+ Added@zag-js/anatomy@0.74.0(transitive)
+ Added@zag-js/core@0.74.0(transitive)
+ Added@zag-js/dom-event@0.74.0(transitive)
+ Added@zag-js/dom-query@0.74.0(transitive)
+ Added@zag-js/form-utils@0.74.0(transitive)
+ Added@zag-js/interact-outside@0.74.0(transitive)
+ Added@zag-js/store@0.74.0(transitive)
+ Added@zag-js/text-selection@0.74.0(transitive)
+ Added@zag-js/types@0.74.0(transitive)
+ Added@zag-js/utils@0.74.0(transitive)
- Removed@zag-js/anatomy@0.73.1(transitive)
- Removed@zag-js/core@0.73.1(transitive)
- Removed@zag-js/dom-event@0.73.1(transitive)
- Removed@zag-js/dom-query@0.73.1(transitive)
- Removed@zag-js/form-utils@0.73.1(transitive)
- Removed@zag-js/interact-outside@0.73.1(transitive)
- Removed@zag-js/store@0.73.1(transitive)
- Removed@zag-js/text-selection@0.73.1(transitive)
- Removed@zag-js/types@0.73.1(transitive)
- Removed@zag-js/utils@0.73.1(transitive)
Updated@zag-js/anatomy@0.74.0
Updated@zag-js/core@0.74.0
Updated@zag-js/dom-event@0.74.0
Updated@zag-js/dom-query@0.74.0
Updated@zag-js/form-utils@0.74.0
Updated@zag-js/types@0.74.0
Updated@zag-js/utils@0.74.0