@zag-js/radio
Advanced tools
Comparing version 0.0.0-dev-20220919164136 to 0.0.0-dev-20220928123644
@@ -1,2 +0,29 @@ | ||
// ../../utilities/dom/dist/index.js | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
connect: () => connect, | ||
machine: () => machine | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// ../../utilities/dom/dist/index.mjs | ||
var dataAttr = (guard) => { | ||
@@ -261,5 +288,5 @@ return guard ? "" : void 0; | ||
// src/radio.machine.ts | ||
import { createMachine } from "@zag-js/core"; | ||
var import_core = require("@zag-js/core"); | ||
// ../../utilities/form-utils/dist/index.js | ||
// ../../utilities/form-utils/dist/index.mjs | ||
function getWindow(el) { | ||
@@ -328,3 +355,3 @@ return (el == null ? void 0 : el.ownerDocument.defaultView) ?? window; | ||
function machine(ctx) { | ||
return createMachine( | ||
return (0, import_core.createMachine)( | ||
{ | ||
@@ -416,5 +443,6 @@ id: "radio", | ||
} | ||
export { | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
connect, | ||
machine | ||
}; | ||
}); |
{ | ||
"type": "module", | ||
"name": "@zag-js/radio", | ||
"version": "0.0.0-dev-20220919164136", | ||
"version": "0.0.0-dev-20220928123644", | ||
"description": "Core logic for the radio widget implemented as a state machine", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"keywords": [ | ||
@@ -18,4 +20,2 @@ "js", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/radio", | ||
@@ -33,13 +33,13 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@zag-js/core": "0.0.0-dev-20220919164136", | ||
"@zag-js/types": "0.0.0-dev-20220919164136" | ||
"@zag-js/core": "0.0.0-dev-20220928123644", | ||
"@zag-js/types": "0.0.0-dev-20220928123644" | ||
}, | ||
"devDependencies": { | ||
"@zag-js/dom-utils": "0.0.0-dev-20220919164136", | ||
"@zag-js/form-utils": "0.0.0-dev-20220919164136" | ||
"@zag-js/dom-utils": "0.0.0-dev-20220928123644", | ||
"@zag-js/form-utils": "0.0.0-dev-20220928123644" | ||
}, | ||
"scripts": { | ||
"build-fast": "tsup src/index.ts --format=esm", | ||
"build-fast": "tsup src/index.ts --format=esm,cjs", | ||
"start": "pnpm build --watch", | ||
"build": "tsup src/index.ts --format=esm --dts", | ||
"build": "tsup src/index.ts --format=esm,cjs --dts", | ||
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", | ||
@@ -46,0 +46,0 @@ "lint": "eslint src --ext .ts,.tsx", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33178
6
944
No
+ Added@zag-js/core@0.0.0-dev-20220928123644(transitive)
+ Added@zag-js/store@0.0.0-dev-20220928123644(transitive)
+ Added@zag-js/types@0.0.0-dev-20220928123644(transitive)
- Removed@zag-js/core@0.0.0-dev-20220919164136(transitive)
- Removed@zag-js/store@0.0.0-dev-20220919164136(transitive)
- Removed@zag-js/types@0.0.0-dev-20220919164136(transitive)