@zag-js/checkbox
Advanced tools
Comparing version
@@ -66,3 +66,3 @@ import type { StateMachine as S } from "@zag-js/core"; | ||
"aria-labelledby"?: string; | ||
"aria-invalid"?: true | undefined; | ||
"aria-invalid"?: boolean; | ||
"aria-describedby"?: string; | ||
@@ -81,7 +81,19 @@ }; | ||
*/ | ||
isRtl: boolean; | ||
readonly isRtl: boolean; | ||
}>; | ||
declare type PrivateContext = Context<{ | ||
/** | ||
* @internal | ||
* Whether the checkbox is pressed | ||
*/ | ||
active: boolean; | ||
/** | ||
* @internal | ||
* Whether the checkbox has focus | ||
*/ | ||
focused: boolean; | ||
/** | ||
* @internal | ||
* Whether the checkbox is hovered | ||
*/ | ||
hovered: boolean; | ||
@@ -88,0 +100,0 @@ }>; |
{ | ||
"name": "@zag-js/checkbox", | ||
"version": "0.0.0-dev-20220616103428", | ||
"version": "0.0.0-dev-20220616103638", | ||
"description": "Core logic for the checkbox widget implemented as a state machine", | ||
@@ -42,6 +42,6 @@ "keywords": [ | ||
"@zag-js/core": "0.1.6", | ||
"@zag-js/dom-utils": "0.0.0-dev-20220616103428", | ||
"@zag-js/types": "0.0.0-dev-20220616103428", | ||
"@zag-js/dom-utils": "0.0.0-dev-20220616103638", | ||
"@zag-js/types": "0.0.0-dev-20220616103638", | ||
"@zag-js/utils": "0.1.2" | ||
} | ||
} |
34754
0.62%1063
1.14%+ Added
+ Added
- Removed
- Removed