Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@zag-js/signature-pad

Package Overview
Dependencies
Maintainers
1
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/signature-pad - npm Package Compare versions

Comparing version 0.0.0-dev-20240428225153 to 0.0.0-dev-20240502170637

3

dist/index.d.ts

@@ -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;

14

package.json
{
"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

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