Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zag-js/checkbox

Package Overview
Dependencies
Maintainers
1
Versions
947
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 0.0.0-dev-20220627213436 to 0.0.0-dev-20220628115342

6

dist/checkbox.connect.d.ts

@@ -1,4 +0,4 @@

import { PropTypes, ReactPropTypes } from "@zag-js/types";
import { State, Send } from "./checkbox.types";
export declare function connect<T extends PropTypes = ReactPropTypes>(state: State, send: Send, normalize?: import("@zag-js/types").NormalizeProps): {
import type { NormalizeProps, PropTypes } from "@zag-js/types";
import type { Send, State } from "./checkbox.types";
export declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): {
isChecked: boolean;

@@ -5,0 +5,0 @@ isDisabled: boolean;

@@ -42,12 +42,2 @@ "use strict";

// ../../types/dist/index.mjs
function createNormalizer(fn) {
return new Proxy({}, {
get() {
return fn;
}
});
}
var normalizeProp = createNormalizer((v) => v);
// ../../utilities/dom/dist/index.mjs

@@ -174,3 +164,3 @@ var dataAttr = (guard) => {

// src/checkbox.connect.ts
function connect(state, send, normalize = normalizeProp) {
function connect(state, send, normalize) {
var _a;

@@ -177,0 +167,0 @@ const isChecked = state.matches("checked");

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

@@ -41,9 +41,9 @@ "keywords": [

"dependencies": {
"@zag-js/core": "0.0.0-dev-20220627213436",
"@zag-js/types": "0.2.0"
"@zag-js/core": "0.0.0-dev-20220628115342",
"@zag-js/types": "0.0.0-dev-20220628115342"
},
"devDependencies": {
"@zag-js/dom-utils": "0.0.0-dev-20220627213436",
"@zag-js/dom-utils": "0.0.0-dev-20220628115342",
"@zag-js/utils": "0.1.2"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc