@zag-js/collapsible
Advanced tools
Comparing version 0.0.0-dev-20240210193153 to 0.0.0-dev-20240210195405
@@ -36,3 +36,3 @@ import * as _zag_js_anatomy from '@zag-js/anatomy'; | ||
*/ | ||
__controlled?: boolean; | ||
"open.controlled"?: boolean; | ||
} | ||
@@ -39,0 +39,0 @@ type ComputedContext = Readonly<{}>; |
@@ -162,3 +162,3 @@ "use strict"; | ||
guards: { | ||
isOpenControlled: (ctx2) => !!ctx2.__controlled | ||
isOpenControlled: (ctx2) => !!ctx2["open.controlled"] | ||
}, | ||
@@ -165,0 +165,0 @@ activities: { |
{ | ||
"name": "@zag-js/collapsible", | ||
"version": "0.0.0-dev-20240210193153", | ||
"version": "0.0.0-dev-20240210195405", | ||
"description": "Core logic for the collapsible widget implemented as a state machine", | ||
@@ -31,7 +31,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.0.0-dev-20240210193153", | ||
"@zag-js/core": "0.0.0-dev-20240210193153", | ||
"@zag-js/dom-query": "0.0.0-dev-20240210193153", | ||
"@zag-js/utils": "0.0.0-dev-20240210193153", | ||
"@zag-js/types": "0.0.0-dev-20240210193153" | ||
"@zag-js/anatomy": "0.0.0-dev-20240210195405", | ||
"@zag-js/core": "0.0.0-dev-20240210195405", | ||
"@zag-js/dom-query": "0.0.0-dev-20240210195405", | ||
"@zag-js/utils": "0.0.0-dev-20240210195405", | ||
"@zag-js/types": "0.0.0-dev-20240210195405" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
@@ -76,3 +76,3 @@ import { createMachine, ref } from "@zag-js/core" | ||
guards: { | ||
isOpenControlled: (ctx) => !!ctx.__controlled, | ||
isOpenControlled: (ctx) => !!ctx["open.controlled"], | ||
}, | ||
@@ -79,0 +79,0 @@ activities: { |
@@ -42,3 +42,3 @@ import type { StateMachine as S } from "@zag-js/core" | ||
*/ | ||
__controlled?: boolean | ||
"open.controlled"?: boolean | ||
} | ||
@@ -45,0 +45,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
57721
+ Added@zag-js/anatomy@0.0.0-dev-20240210195405(transitive)
+ Added@zag-js/core@0.0.0-dev-20240210195405(transitive)
+ Added@zag-js/dom-query@0.0.0-dev-20240210195405(transitive)
+ Added@zag-js/store@0.0.0-dev-20240210195405(transitive)
+ Added@zag-js/types@0.0.0-dev-20240210195405(transitive)
+ Added@zag-js/utils@0.0.0-dev-20240210195405(transitive)
- Removed@zag-js/anatomy@0.0.0-dev-20240210193153(transitive)
- Removed@zag-js/core@0.0.0-dev-20240210193153(transitive)
- Removed@zag-js/dom-query@0.0.0-dev-20240210193153(transitive)
- Removed@zag-js/store@0.0.0-dev-20240210193153(transitive)
- Removed@zag-js/types@0.0.0-dev-20240210193153(transitive)
- Removed@zag-js/utils@0.0.0-dev-20240210193153(transitive)