@zag-js/progress
Advanced tools
Comparing version 0.0.0-dev-20231129201728 to 0.0.0-dev-20231129204238
@@ -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"]; |
{ | ||
"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
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
45052
661
+ Added@zag-js/anatomy@0.0.0-dev-20231129204238(transitive)
+ Added@zag-js/core@0.0.0-dev-20231129204238(transitive)
+ Added@zag-js/dom-query@0.0.0-dev-20231129204238(transitive)
+ Added@zag-js/store@0.0.0-dev-20231129204238(transitive)
+ Added@zag-js/types@0.0.0-dev-20231129204238(transitive)
+ Added@zag-js/utils@0.0.0-dev-20231129204238(transitive)
- Removed@zag-js/anatomy@0.0.0-dev-20231129201728(transitive)
- Removed@zag-js/core@0.0.0-dev-20231129201728(transitive)
- Removed@zag-js/dom-query@0.0.0-dev-20231129201728(transitive)
- Removed@zag-js/store@0.0.0-dev-20231129201728(transitive)
- Removed@zag-js/types@0.0.0-dev-20231129201728(transitive)
- Removed@zag-js/utils@0.0.0-dev-20231129201728(transitive)