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.0.0-dev-20220710093812

3

dist/checkbox.dom.d.ts

@@ -15,2 +15,5 @@ import type { MachineContext as Ctx } from "./checkbox.types";

}) => HTMLElement;
getById: (ctx: {
getRootNode?: () => Node | Document | ShadowRoot;
}, id: string) => HTMLElement;
} & {

@@ -17,0 +20,0 @@ getRootId: (ctx: Ctx) => string;

3

dist/index.js

@@ -91,3 +91,4 @@ "use strict";

},
getActiveElement: (ctx) => roots.getDoc(ctx).activeElement
getActiveElement: (ctx) => roots.getDoc(ctx).activeElement,
getById: (ctx, id) => roots.getRootNode(ctx).getElementById(id)
};

@@ -94,0 +95,0 @@ return __spreadValues2(__spreadValues2({}, roots), domUtils);

{
"name": "@zag-js/checkbox",
"version": "0.0.0-dev-20220709181637",
"version": "0.0.0-dev-20220710093812",
"description": "Core logic for the checkbox widget implemented as a state machine",

@@ -42,8 +42,8 @@ "keywords": [

"@zag-js/core": "0.1.7",
"@zag-js/types": "0.0.0-dev-20220709181637"
"@zag-js/types": "0.0.0-dev-20220710093812"
},
"devDependencies": {
"@zag-js/dom-utils": "0.0.0-dev-20220709181637",
"@zag-js/dom-utils": "0.0.0-dev-20220710093812",
"@zag-js/utils": "0.1.2"
}
}

Sorry, the diff of this file is not supported yet