Socket
Socket
Sign inDemoInstall

@zag-js/avatar

Package Overview
Dependencies
Maintainers
1
Versions
632
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/avatar - npm Package Compare versions

Comparing version 0.0.0-dev-20240619115122 to 0.0.0-dev-20240619194623

5

dist/index.d.ts
import * as _zag_js_anatomy from '@zag-js/anatomy';
import { RequiredBy, PropTypes, CommonProperties, DirectionProperty, NormalizeProps } from '@zag-js/types';
import * as _zag_js_core from '@zag-js/core';
import { StateMachine } from '@zag-js/core';
import { Machine, StateMachine } from '@zag-js/core';

@@ -38,2 +38,3 @@ declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "image" | "fallback">;

type Send = StateMachine.Send<StateMachine.AnyEventObject>;
type Service = Machine<MachineContext, MachineState, StateMachine.AnyEventObject>;
interface MachineApi<T extends PropTypes = PropTypes> {

@@ -68,2 +69,2 @@ /**

export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type LoadStatus, type StatusChangeDetails, anatomy, connect, machine, props, splitProps };
export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type LoadStatus, type Service, type StatusChangeDetails, anatomy, connect, machine, props, splitProps };

12

package.json
{
"name": "@zag-js/avatar",
"version": "0.0.0-dev-20240619115122",
"version": "0.0.0-dev-20240619194623",
"description": "Core logic for the avatar 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": {

@@ -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, PropTypes, RequiredBy } from "@zag-js/types"

@@ -51,2 +51,4 @@

export type Service = Machine<MachineContext, MachineState, S.AnyEventObject>
/* -----------------------------------------------------------------------------

@@ -53,0 +55,0 @@ * Component API

@@ -11,2 +11,3 @@ export { anatomy } from "./avatar.anatomy"

StatusChangeDetails,
Service,
} from "./avatar.types"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc