@zag-js/checkbox
Advanced tools
Comparing version
@@ -127,5 +127,5 @@ import * as _zag_js_anatomy from '@zag-js/anatomy'; | ||
declare const props: ("invalid" | "form" | "value" | "dir" | "id" | "getRootNode" | "name" | "disabled" | "checked" | "required" | "ids" | "readOnly" | "onCheckedChange")[]; | ||
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "invalid" | "form" | "value" | "dir" | "id" | "getRootNode" | "name" | "disabled" | "checked" | "required" | "ids" | "readOnly" | "onCheckedChange">]; | ||
declare const props: ("disabled" | "form" | "dir" | "id" | "checked" | "name" | "value" | "required" | "getRootNode" | "invalid" | "ids" | "readOnly" | "onCheckedChange")[]; | ||
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "disabled" | "form" | "dir" | "id" | "checked" | "name" | "value" | "required" | "getRootNode" | "invalid" | "ids" | "readOnly" | "onCheckedChange">]; | ||
export { type MachineApi as Api, type CheckedChangeDetails, type CheckedState, type UserDefinedContext as Context, type ElementIds, type Service, anatomy, connect, machine, props, splitProps }; |
@@ -7,3 +7,2 @@ 'use strict'; | ||
var core = require('@zag-js/core'); | ||
var domEvent = require('@zag-js/dom-event'); | ||
var formUtils = require('@zag-js/form-utils'); | ||
@@ -192,3 +191,3 @@ var utils = require('@zag-js/utils'); | ||
if (ctx2.isDisabled) return; | ||
return domEvent.trackPress({ | ||
return domQuery.trackPress({ | ||
pointerNode: dom.getRootEl(ctx2), | ||
@@ -195,0 +194,0 @@ keyboardNode: dom.getHiddenInputEl(ctx2), |
{ | ||
"name": "@zag-js/checkbox", | ||
"version": "0.80.0", | ||
"version": "0.81.0", | ||
"description": "Core logic for the checkbox widget implemented as a state machine", | ||
@@ -29,10 +29,9 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.80.0", | ||
"@zag-js/core": "0.80.0", | ||
"@zag-js/types": "0.80.0", | ||
"@zag-js/dom-query": "0.80.0", | ||
"@zag-js/focus-visible": "0.80.0", | ||
"@zag-js/dom-event": "0.80.0", | ||
"@zag-js/form-utils": "0.80.0", | ||
"@zag-js/utils": "0.80.0" | ||
"@zag-js/anatomy": "0.81.0", | ||
"@zag-js/core": "0.81.0", | ||
"@zag-js/types": "0.81.0", | ||
"@zag-js/dom-query": "0.81.0", | ||
"@zag-js/focus-visible": "0.81.0", | ||
"@zag-js/form-utils": "0.81.0", | ||
"@zag-js/utils": "0.81.0" | ||
}, | ||
@@ -39,0 +38,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7
-12.5%30075
-0.38%681
-0.29%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated