New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zag-js/checkbox

Package Overview
Dependencies
Maintainers
1
Versions
976
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/checkbox - npm Package Compare versions

Comparing version

to
0.81.2

7

dist/index.js

@@ -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