@zag-js/signature-pad
Advanced tools
Comparing version 0.0.0-dev-20240428225153 to 0.0.0-dev-20240502170637
@@ -6,2 +6,3 @@ import * as _zag_js_anatomy from '@zag-js/anatomy'; | ||
import { StrokeOptions } from 'perfect-freehand'; | ||
export { StrokeOptions } from 'perfect-freehand'; | ||
@@ -35,2 +36,3 @@ declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "control" | "segment" | "segmentPath" | "guide" | "clearTrigger" | "label">; | ||
}>; | ||
interface PublicContext extends DirectionProperty, CommonProperties { | ||
@@ -51,2 +53,3 @@ /** | ||
* The drawing options. | ||
* @default '{ size: 2, simulatePressure: true }' | ||
*/ | ||
@@ -53,0 +56,0 @@ drawing: DrawingOptions; |
{ | ||
"name": "@zag-js/signature-pad", | ||
"version": "0.0.0-dev-20240428225153", | ||
"version": "0.0.0-dev-20240502170637", | ||
"description": "Core logic for the signature-pad widget implemented as a state machine", | ||
@@ -32,8 +32,8 @@ "keywords": [ | ||
"perfect-freehand": "^1.2.2", | ||
"@zag-js/anatomy": "0.0.0-dev-20240428225153", | ||
"@zag-js/core": "0.0.0-dev-20240428225153", | ||
"@zag-js/dom-query": "0.0.0-dev-20240428225153", | ||
"@zag-js/dom-event": "0.0.0-dev-20240428225153", | ||
"@zag-js/utils": "0.0.0-dev-20240428225153", | ||
"@zag-js/types": "0.0.0-dev-20240428225153" | ||
"@zag-js/anatomy": "0.0.0-dev-20240502170637", | ||
"@zag-js/core": "0.0.0-dev-20240502170637", | ||
"@zag-js/dom-query": "0.0.0-dev-20240502170637", | ||
"@zag-js/dom-event": "0.0.0-dev-20240502170637", | ||
"@zag-js/utils": "0.0.0-dev-20240502170637", | ||
"@zag-js/types": "0.0.0-dev-20240502170637" | ||
}, | ||
@@ -40,0 +40,0 @@ "devDependencies": { |
@@ -15,2 +15,3 @@ export { anatomy } from "./signature-pad.anatomy" | ||
SegmentPathProps, | ||
StrokeOptions, | ||
} from "./signature-pad.types" |
@@ -45,2 +45,4 @@ import type { StateMachine as S } from "@zag-js/core" | ||
export type { StrokeOptions } | ||
/* ----------------------------------------------------------------------------- | ||
@@ -65,2 +67,3 @@ * Machine context | ||
* The drawing options. | ||
* @default '{ size: 2, simulatePressure: true }' | ||
*/ | ||
@@ -67,0 +70,0 @@ drawing: DrawingOptions |
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
83259
1279
+ Added@zag-js/anatomy@0.0.0-dev-20240502170637(transitive)
+ Added@zag-js/core@0.0.0-dev-20240502170637(transitive)
+ Added@zag-js/dom-event@0.0.0-dev-20240502170637(transitive)
+ Added@zag-js/dom-query@0.0.0-dev-20240502170637(transitive)
+ Added@zag-js/store@0.0.0-dev-20240502170637(transitive)
+ Added@zag-js/text-selection@0.0.0-dev-20240502170637(transitive)
+ Added@zag-js/types@0.0.0-dev-20240502170637(transitive)
+ Added@zag-js/utils@0.0.0-dev-20240502170637(transitive)
+ Addedproxy-compare@3.0.0(transitive)
- Removed@zag-js/anatomy@0.0.0-dev-20240428225153(transitive)
- Removed@zag-js/core@0.0.0-dev-20240428225153(transitive)
- Removed@zag-js/dom-event@0.0.0-dev-20240428225153(transitive)
- Removed@zag-js/dom-query@0.0.0-dev-20240428225153(transitive)
- Removed@zag-js/store@0.0.0-dev-20240428225153(transitive)
- Removed@zag-js/text-selection@0.0.0-dev-20240428225153(transitive)
- Removed@zag-js/types@0.0.0-dev-20240428225153(transitive)
- Removed@zag-js/utils@0.0.0-dev-20240428225153(transitive)
- Removedproxy-compare@2.6.0(transitive)