Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zag-js/combobox

Package Overview
Dependencies
Maintainers
1
Versions
1053
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/combobox - npm Package Compare versions

Comparing version 0.72.0 to 0.73.0

22

dist/index.js

@@ -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"]

22

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc