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

@zag-js/progress

Package Overview
Dependencies
Maintainers
1
Versions
370
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/progress - npm Package Compare versions

Comparing version 0.0.0-dev-20231129201728 to 0.0.0-dev-20231129204238

12

dist/index.d.ts

@@ -65,5 +65,17 @@ import * as _zag_js_anatomy from '@zag-js/anatomy';

interface MachineApi<T extends PropTypes> {
/**
* The current value of the progress bar.
*/
value: number | null;
/**
* The current value of the progress bar as a string.
*/
valueAsString: string;
/**
* Sets the current value of the progress bar.
*/
setValue(value: number | null): void;
/**
* Sets the current value of the progress bar to the max value.
*/
setToMax(): void;

@@ -70,0 +82,0 @@ rootProps: T["element"];

12

package.json
{
"name": "@zag-js/progress",
"version": "0.0.0-dev-20231129201728",
"version": "0.0.0-dev-20231129204238",
"description": "Core logic for the progress widget implemented as a state machine",

@@ -31,7 +31,7 @@ "keywords": [

"dependencies": {
"@zag-js/anatomy": "0.0.0-dev-20231129201728",
"@zag-js/core": "0.0.0-dev-20231129201728",
"@zag-js/dom-query": "0.0.0-dev-20231129201728",
"@zag-js/utils": "0.0.0-dev-20231129201728",
"@zag-js/types": "0.0.0-dev-20231129201728"
"@zag-js/anatomy": "0.0.0-dev-20231129204238",
"@zag-js/core": "0.0.0-dev-20231129204238",
"@zag-js/dom-query": "0.0.0-dev-20231129204238",
"@zag-js/utils": "0.0.0-dev-20231129204238",
"@zag-js/types": "0.0.0-dev-20231129204238"
},

@@ -38,0 +38,0 @@ "devDependencies": {

@@ -80,5 +80,17 @@ import type { StateMachine as S } from "@zag-js/core"

export interface MachineApi<T extends PropTypes> {
/**
* The current value of the progress bar.
*/
value: number | null
/**
* The current value of the progress bar as a string.
*/
valueAsString: string
/**
* Sets the current value of the progress bar.
*/
setValue(value: number | null): void
/**
* Sets the current value of the progress bar to the max value.
*/
setToMax(): void

@@ -85,0 +97,0 @@ rootProps: T["element"]

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