@zag-js/combobox
Advanced tools
Comparing version 0.72.0 to 0.73.0
@@ -741,3 +741,14 @@ 'use strict'; | ||
"INPUT.ENTER": [ | ||
// == group 1 == | ||
{ | ||
guard: and("isOpenControlled", "isCustomValue", not("hasHighlightedItem"), not("allowCustomValue")), | ||
actions: ["revertInputValue", "invokeOnClose"] | ||
}, | ||
{ | ||
guard: and("isCustomValue", not("hasHighlightedItem"), not("allowCustomValue")), | ||
target: "focused", | ||
actions: ["revertInputValue", "invokeOnClose"] | ||
}, | ||
// == group 2 == | ||
{ | ||
guard: and("isOpenControlled", "closeOnSelect"), | ||
@@ -899,3 +910,14 @@ actions: ["selectHighlightedItem", "invokeOnClose"] | ||
"INPUT.ENTER": [ | ||
// == group 1 == | ||
{ | ||
guard: and("isOpenControlled", "isCustomValue", not("hasHighlightedItem"), not("allowCustomValue")), | ||
actions: ["revertInputValue", "invokeOnClose"] | ||
}, | ||
{ | ||
guard: and("isCustomValue", not("hasHighlightedItem"), not("allowCustomValue")), | ||
target: "focused", | ||
actions: ["revertInputValue", "invokeOnClose"] | ||
}, | ||
// == group 2 == | ||
{ | ||
guard: and("isOpenControlled", "closeOnSelect"), | ||
@@ -902,0 +924,0 @@ actions: ["selectHighlightedItem", "invokeOnClose"] |
{ | ||
"name": "@zag-js/combobox", | ||
"version": "0.72.0", | ||
"version": "0.73.0", | ||
"description": "Core logic for the combobox widget implemented as a state machine", | ||
@@ -29,12 +29,12 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.72.0", | ||
"@zag-js/aria-hidden": "0.72.0", | ||
"@zag-js/collection": "0.72.0", | ||
"@zag-js/core": "0.72.0", | ||
"@zag-js/dismissable": "0.72.0", | ||
"@zag-js/dom-query": "0.72.0", | ||
"@zag-js/dom-event": "0.72.0", | ||
"@zag-js/utils": "0.72.0", | ||
"@zag-js/popper": "0.72.0", | ||
"@zag-js/types": "0.72.0" | ||
"@zag-js/anatomy": "0.73.0", | ||
"@zag-js/aria-hidden": "0.73.0", | ||
"@zag-js/collection": "0.73.0", | ||
"@zag-js/core": "0.73.0", | ||
"@zag-js/dismissable": "0.73.0", | ||
"@zag-js/dom-query": "0.73.0", | ||
"@zag-js/dom-event": "0.73.0", | ||
"@zag-js/utils": "0.73.0", | ||
"@zag-js/popper": "0.73.0", | ||
"@zag-js/types": "0.73.0" | ||
}, | ||
@@ -41,0 +41,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
124136
3217
+ Added@zag-js/anatomy@0.73.0(transitive)
+ Added@zag-js/aria-hidden@0.73.0(transitive)
+ Added@zag-js/collection@0.73.0(transitive)
+ Added@zag-js/core@0.73.0(transitive)
+ Added@zag-js/dismissable@0.73.0(transitive)
+ Added@zag-js/dom-event@0.73.0(transitive)
+ Added@zag-js/dom-query@0.73.0(transitive)
+ Added@zag-js/interact-outside@0.73.0(transitive)
+ Added@zag-js/popper@0.73.0(transitive)
+ Added@zag-js/store@0.73.0(transitive)
+ Added@zag-js/text-selection@0.73.0(transitive)
+ Added@zag-js/types@0.73.0(transitive)
+ Added@zag-js/utils@0.73.0(transitive)
- Removed@zag-js/anatomy@0.72.0(transitive)
- Removed@zag-js/aria-hidden@0.72.0(transitive)
- Removed@zag-js/collection@0.72.0(transitive)
- Removed@zag-js/core@0.72.0(transitive)
- Removed@zag-js/dismissable@0.72.0(transitive)
- Removed@zag-js/dom-event@0.72.0(transitive)
- Removed@zag-js/dom-query@0.72.0(transitive)
- Removed@zag-js/interact-outside@0.72.0(transitive)
- Removed@zag-js/popper@0.72.0(transitive)
- Removed@zag-js/store@0.72.0(transitive)
- Removed@zag-js/text-selection@0.72.0(transitive)
- Removed@zag-js/types@0.72.0(transitive)
- Removed@zag-js/utils@0.72.0(transitive)
Updated@zag-js/anatomy@0.73.0
Updated@zag-js/aria-hidden@0.73.0
Updated@zag-js/collection@0.73.0
Updated@zag-js/core@0.73.0
Updated@zag-js/dismissable@0.73.0
Updated@zag-js/dom-event@0.73.0
Updated@zag-js/dom-query@0.73.0
Updated@zag-js/popper@0.73.0
Updated@zag-js/types@0.73.0
Updated@zag-js/utils@0.73.0