@zag-js/progress
Advanced tools
Comparing version 0.0.0-dev-20240619115122 to 0.0.0-dev-20240619194623
@@ -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'; | ||
@@ -87,2 +87,3 @@ declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "label" | "track" | "range" | "valueText" | "view" | "circle" | "circleTrack" | "circleRange">; | ||
type Send = StateMachine.Send<StateMachine.AnyEventObject>; | ||
type Service = Machine<MachineContext, MachineState, StateMachine.AnyEventObject>; | ||
interface ViewProps { | ||
@@ -126,2 +127,2 @@ state: ProgressState; | ||
export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type IntlTranslations, type ProgressState, type ValueTranslationDetails, type ViewProps, anatomy, connect, machine, props, splitProps }; | ||
export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type IntlTranslations, type ProgressState, type Service, type ValueTranslationDetails, type ViewProps, anatomy, connect, machine, props, splitProps }; |
{ | ||
"name": "@zag-js/progress", | ||
"version": "0.0.0-dev-20240619115122", | ||
"version": "0.0.0-dev-20240619194623", | ||
"description": "Core logic for the progress widget implemented as a state machine", | ||
@@ -31,7 +31,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.0.0-dev-20240619115122", | ||
"@zag-js/core": "0.0.0-dev-20240619115122", | ||
"@zag-js/dom-query": "0.0.0-dev-20240619115122", | ||
"@zag-js/utils": "0.0.0-dev-20240619115122", | ||
"@zag-js/types": "0.0.0-dev-20240619115122" | ||
"@zag-js/anatomy": "0.0.0-dev-20240619194623", | ||
"@zag-js/core": "0.0.0-dev-20240619194623", | ||
"@zag-js/dom-query": "0.0.0-dev-20240619194623", | ||
"@zag-js/utils": "0.0.0-dev-20240619194623", | ||
"@zag-js/types": "0.0.0-dev-20240619194623" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
@@ -12,4 +12,5 @@ export { anatomy } from "./progress.anatomy" | ||
ProgressState, | ||
Service, | ||
ValueTranslationDetails, | ||
ViewProps, | ||
} from "./progress.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 { | ||
@@ -107,2 +107,4 @@ CommonProperties, | ||
export type Service = Machine<MachineContext, MachineState, S.AnyEventObject> | ||
/* ----------------------------------------------------------------------------- | ||
@@ -109,0 +111,0 @@ * Component API |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
69633
1097
+ Added@zag-js/anatomy@0.0.0-dev-20240619194623(transitive)
+ Added@zag-js/core@0.0.0-dev-20240619194623(transitive)
+ Added@zag-js/dom-query@0.0.0-dev-20240619194623(transitive)
+ Added@zag-js/store@0.0.0-dev-20240619194623(transitive)
+ Added@zag-js/types@0.0.0-dev-20240619194623(transitive)
+ Added@zag-js/utils@0.0.0-dev-20240619194623(transitive)
- Removed@zag-js/anatomy@0.0.0-dev-20240619115122(transitive)
- Removed@zag-js/core@0.0.0-dev-20240619115122(transitive)
- Removed@zag-js/dom-query@0.0.0-dev-20240619115122(transitive)
- Removed@zag-js/store@0.0.0-dev-20240619115122(transitive)
- Removed@zag-js/types@0.0.0-dev-20240619115122(transitive)
- Removed@zag-js/utils@0.0.0-dev-20240619115122(transitive)