@zag-js/toggle-group
Advanced tools
Comparing version 0.57.0 to 0.58.0
@@ -5,3 +5,3 @@ import * as _zag_js_anatomy from '@zag-js/anatomy'; | ||
import * as _zag_js_core from '@zag-js/core'; | ||
import { StateMachine } from '@zag-js/core'; | ||
import { Machine, StateMachine } from '@zag-js/core'; | ||
@@ -67,2 +67,3 @@ declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "item">; | ||
type Send = StateMachine.Send<StateMachine.AnyEventObject>; | ||
type Service = Machine<MachineContext, MachineState, StateMachine.AnyEventObject>; | ||
interface ItemProps { | ||
@@ -116,2 +117,2 @@ value: string; | ||
export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type ItemProps, type ItemState, type ValueChangeDetails, anatomy, connect, itemProps, machine, props, splitItemProps, splitProps }; | ||
export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type ItemProps, type ItemState, type Service, type ValueChangeDetails, anatomy, connect, itemProps, machine, props, splitItemProps, splitProps }; |
{ | ||
"name": "@zag-js/toggle-group", | ||
"version": "0.57.0", | ||
"version": "0.58.0", | ||
"description": "Core logic for the toggle widget implemented as a state machine", | ||
@@ -30,8 +30,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.57.0", | ||
"@zag-js/dom-query": "0.57.0", | ||
"@zag-js/dom-event": "0.57.0", | ||
"@zag-js/utils": "0.57.0", | ||
"@zag-js/core": "0.57.0", | ||
"@zag-js/types": "0.57.0" | ||
"@zag-js/anatomy": "0.58.0", | ||
"@zag-js/dom-query": "0.58.0", | ||
"@zag-js/dom-event": "0.58.0", | ||
"@zag-js/utils": "0.58.0", | ||
"@zag-js/core": "0.58.0", | ||
"@zag-js/types": "0.58.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
@@ -12,3 +12,4 @@ export { anatomy } from "./toggle-group.anatomy" | ||
Orientation, | ||
Service, | ||
ValueChangeDetails, | ||
} from "./toggle-group.types" |
@@ -1,2 +0,2 @@ | ||
import type { StateMachine as S } from "@zag-js/core" | ||
import type { Machine, StateMachine as S } from "@zag-js/core" | ||
import type { CommonProperties, DirectionProperty, Orientation, PropTypes, RequiredBy } from "@zag-js/types" | ||
@@ -99,2 +99,4 @@ | ||
export type Service = Machine<MachineContext, MachineState, S.AnyEventObject> | ||
/* ----------------------------------------------------------------------------- | ||
@@ -101,0 +103,0 @@ * Component API |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
86043
1277
+ Added@zag-js/anatomy@0.58.0(transitive)
+ Added@zag-js/core@0.58.0(transitive)
+ Added@zag-js/dom-event@0.58.0(transitive)
+ Added@zag-js/dom-query@0.58.0(transitive)
+ Added@zag-js/store@0.58.0(transitive)
+ Added@zag-js/text-selection@0.58.0(transitive)
+ Added@zag-js/types@0.58.0(transitive)
+ Added@zag-js/utils@0.58.0(transitive)
- Removed@zag-js/anatomy@0.57.0(transitive)
- Removed@zag-js/core@0.57.0(transitive)
- Removed@zag-js/dom-event@0.57.0(transitive)
- Removed@zag-js/dom-query@0.57.0(transitive)
- Removed@zag-js/store@0.57.0(transitive)
- Removed@zag-js/text-selection@0.57.0(transitive)
- Removed@zag-js/types@0.57.0(transitive)
- Removed@zag-js/utils@0.57.0(transitive)
Updated@zag-js/anatomy@0.58.0
Updated@zag-js/core@0.58.0
Updated@zag-js/dom-event@0.58.0
Updated@zag-js/dom-query@0.58.0
Updated@zag-js/types@0.58.0
Updated@zag-js/utils@0.58.0