@zag-js/checkbox
Advanced tools
Comparing version
@@ -7,3 +7,2 @@ 'use strict'; | ||
var core = require('@zag-js/core'); | ||
var formUtils = require('@zag-js/form-utils'); | ||
var utils = require('@zag-js/utils'); | ||
@@ -205,3 +204,3 @@ var types = require('@zag-js/types'); | ||
trackFormControlState(ctx2, _evt, { send, initialContext }) { | ||
return formUtils.trackFormControl(dom.getHiddenInputEl(ctx2), { | ||
return domQuery.trackFormControl(dom.getHiddenInputEl(ctx2), { | ||
onFieldsetDisabledChange(disabled) { | ||
@@ -223,3 +222,3 @@ ctx2.fieldsetDisabled = disabled; | ||
if (!inputEl) return; | ||
formUtils.setElementChecked(inputEl, ctx2.isChecked); | ||
domQuery.setElementChecked(inputEl, ctx2.isChecked); | ||
inputEl.indeterminate = ctx2.isIndeterminate; | ||
@@ -242,3 +241,3 @@ }, | ||
const inputEl = dom.getHiddenInputEl(ctx2); | ||
formUtils.dispatchInputCheckedEvent(inputEl, { checked: isChecked(ctx2.checked) }); | ||
domQuery.dispatchInputCheckedEvent(inputEl, { checked: isChecked(ctx2.checked) }); | ||
} | ||
@@ -245,0 +244,0 @@ } |
{ | ||
"name": "@zag-js/checkbox", | ||
"version": "0.81.1", | ||
"version": "0.81.2", | ||
"description": "Core logic for the checkbox widget implemented as a state machine", | ||
@@ -29,9 +29,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.81.1", | ||
"@zag-js/core": "0.81.1", | ||
"@zag-js/types": "0.81.1", | ||
"@zag-js/dom-query": "0.81.1", | ||
"@zag-js/focus-visible": "0.81.1", | ||
"@zag-js/form-utils": "0.81.1", | ||
"@zag-js/utils": "0.81.1" | ||
"@zag-js/anatomy": "0.81.2", | ||
"@zag-js/core": "0.81.2", | ||
"@zag-js/types": "0.81.2", | ||
"@zag-js/dom-query": "0.81.2", | ||
"@zag-js/focus-visible": "0.81.2", | ||
"@zag-js/utils": "0.81.2" | ||
}, | ||
@@ -38,0 +37,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
6
-14.29%29952
-0.41%679
-0.29%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated