@zag-js/avatar
Advanced tools
Comparing version 1.0.0 to 1.0.1
import * as _zag_js_anatomy from '@zag-js/anatomy'; | ||
import { CommonProperties, DirectionProperty, PropTypes, NormalizeProps } from '@zag-js/types'; | ||
import * as _zag_js_core from '@zag-js/core'; | ||
import { Service } from '@zag-js/core'; | ||
import { Service, Machine } from '@zag-js/core'; | ||
@@ -47,2 +47,3 @@ declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "image" | "fallback">; | ||
type AvatarService = Service<AvatarSchema>; | ||
type AvatarMachine = Machine<AvatarSchema>; | ||
interface AvatarApi<T extends PropTypes = PropTypes> { | ||
@@ -72,3 +73,3 @@ /** | ||
declare const machine: _zag_js_core.MachineConfig<AvatarSchema>; | ||
declare const machine: _zag_js_core.Machine<AvatarSchema>; | ||
@@ -78,2 +79,2 @@ declare const props: (keyof AvatarProps)[]; | ||
export { type AvatarApi as Api, type ElementIds, type LoadStatus, type AvatarProps as Props, type AvatarService as Service, type StatusChangeDetails, anatomy, connect, machine, props, splitProps }; | ||
export { type AvatarApi as Api, type ElementIds, type LoadStatus, type AvatarMachine as Machine, type AvatarProps as Props, type AvatarService as Service, type StatusChangeDetails, anatomy, connect, machine, props, splitProps }; |
{ | ||
"name": "@zag-js/avatar", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Core logic for the avatar widget implemented as a state machine", | ||
@@ -30,7 +30,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "1.0.0", | ||
"@zag-js/core": "1.0.0", | ||
"@zag-js/dom-query": "1.0.0", | ||
"@zag-js/utils": "1.0.0", | ||
"@zag-js/types": "1.0.0" | ||
"@zag-js/anatomy": "1.0.1", | ||
"@zag-js/core": "1.0.1", | ||
"@zag-js/dom-query": "1.0.1", | ||
"@zag-js/utils": "1.0.1", | ||
"@zag-js/types": "1.0.1" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
16621
386
+ Added@zag-js/anatomy@1.0.1(transitive)
+ Added@zag-js/core@1.0.1(transitive)
+ Added@zag-js/dom-query@1.0.1(transitive)
+ Added@zag-js/types@1.0.1(transitive)
+ Added@zag-js/utils@1.0.1(transitive)
- Removed@zag-js/anatomy@1.0.0(transitive)
- Removed@zag-js/core@1.0.0(transitive)
- Removed@zag-js/dom-query@1.0.0(transitive)
- Removed@zag-js/types@1.0.0(transitive)
- Removed@zag-js/utils@1.0.0(transitive)
Updated@zag-js/anatomy@1.0.1
Updated@zag-js/core@1.0.1
Updated@zag-js/dom-query@1.0.1
Updated@zag-js/types@1.0.1
Updated@zag-js/utils@1.0.1