@zag-js/qr-code
Advanced tools
Comparing version 0.0.0-dev-20240619115122 to 0.0.0-dev-20240619194623
import * as _zag_js_anatomy from '@zag-js/anatomy'; | ||
import { RequiredBy, PropTypes, DirectionProperty, CommonProperties, 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'; | ||
import { DataUrlType } from '@zag-js/dom-query'; | ||
@@ -46,2 +46,3 @@ import { QrCodeGenerateOptions, QrCodeGenerateResult } from 'uqr'; | ||
type Send = StateMachine.Send<StateMachine.AnyEventObject>; | ||
type Service = Machine<MachineContext, MachineState, StateMachine.AnyEventObject>; | ||
interface MachineApi<T extends PropTypes = PropTypes> { | ||
@@ -73,2 +74,2 @@ /** | ||
export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, anatomy, connect, machine, props, splitProps }; | ||
export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type Service, anatomy, connect, machine, props, splitProps }; |
{ | ||
"name": "@zag-js/qr-code", | ||
"version": "0.0.0-dev-20240619115122", | ||
"version": "0.0.0-dev-20240619194623", | ||
"description": "Core logic for the qr-code widget implemented as a state machine", | ||
@@ -33,7 +33,7 @@ "keywords": [ | ||
"uqr": "0.1.2", | ||
"@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" | ||
}, | ||
@@ -40,0 +40,0 @@ "devDependencies": { |
@@ -11,2 +11,3 @@ export { anatomy } from "./qr-code.anatomy" | ||
QrCodeGenerateResult, | ||
Service, | ||
} from "./qr-code.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 { DataUrlType } from "@zag-js/dom-query" | ||
@@ -49,2 +49,4 @@ import type { CommonProperties, DirectionProperty, PropTypes, RequiredBy } from "@zag-js/types" | ||
export type Service = Machine<MachineContext, MachineState, S.AnyEventObject> | ||
/* ----------------------------------------------------------------------------- | ||
@@ -51,0 +53,0 @@ * Component API |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36052
532
+ 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)