@zag-js/accordion
Advanced tools
Comparing version 0.82.1 to 0.82.2
@@ -36,3 +36,3 @@ 'use strict'; | ||
let nextValue = value2; | ||
if (multiple && nextValue.length > 1) { | ||
if (!multiple && nextValue.length > 1) { | ||
nextValue = [nextValue[0]]; | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"name": "@zag-js/accordion", | ||
"version": "0.82.1", | ||
"version": "0.82.2", | ||
"description": "Core logic for the accordion widget implemented as a state machine", | ||
@@ -29,7 +29,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.82.1", | ||
"@zag-js/core": "0.82.1", | ||
"@zag-js/dom-query": "0.82.1", | ||
"@zag-js/types": "0.82.1", | ||
"@zag-js/utils": "0.82.1" | ||
"@zag-js/anatomy": "0.82.2", | ||
"@zag-js/core": "0.82.2", | ||
"@zag-js/dom-query": "0.82.2", | ||
"@zag-js/types": "0.82.2", | ||
"@zag-js/utils": "0.82.2" | ||
}, | ||
@@ -36,0 +36,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
33324
+ Added@zag-js/anatomy@0.82.2(transitive)
+ Added@zag-js/core@0.82.2(transitive)
+ Added@zag-js/dom-query@0.82.2(transitive)
+ Added@zag-js/store@0.82.2(transitive)
+ Added@zag-js/types@0.82.2(transitive)
+ Added@zag-js/utils@0.82.2(transitive)
- Removed@zag-js/anatomy@0.82.1(transitive)
- Removed@zag-js/core@0.82.1(transitive)
- Removed@zag-js/dom-query@0.82.1(transitive)
- Removed@zag-js/store@0.82.1(transitive)
- Removed@zag-js/types@0.82.1(transitive)
- Removed@zag-js/utils@0.82.1(transitive)
Updated@zag-js/anatomy@0.82.2
Updated@zag-js/core@0.82.2
Updated@zag-js/dom-query@0.82.2
Updated@zag-js/types@0.82.2
Updated@zag-js/utils@0.82.2