@zag-js/interact-outside
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -1,28 +0,2 @@ | ||
"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, { | ||
trackInteractOutside: () => trackInteractOutside | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// ../dom/dist/index.mjs | ||
// ../dom/dist/index.js | ||
var runIfFn = (v, ...a) => { | ||
@@ -100,3 +74,3 @@ const res = typeof v === "function" ? v(...a) : v; | ||
// ../core/dist/index.mjs | ||
// ../core/dist/index.js | ||
var callAll = (...fns) => (...a) => { | ||
@@ -186,5 +160,4 @@ fns.forEach(function(fn) { | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
export { | ||
trackInteractOutside | ||
}); | ||
}; |
{ | ||
"type": "module", | ||
"name": "@zag-js/interact-outside", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Track interations or focus outside an element", | ||
@@ -14,3 +15,2 @@ "keywords": [ | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
@@ -23,4 +23,4 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/interact-outside", | ||
"devDependencies": { | ||
"@zag-js/dom-utils": "0.1.11", | ||
"@zag-js/utils": "0.1.4" | ||
"@zag-js/dom-utils": "0.1.12", | ||
"@zag-js/utils": "0.1.5" | ||
}, | ||
@@ -34,5 +34,5 @@ "publishConfig": { | ||
"scripts": { | ||
"build-fast": "tsup src/index.ts --format=esm,cjs", | ||
"build-fast": "tsup src/index.ts --format=esm", | ||
"start": "pnpm build --watch", | ||
"build": "tsup src/index.ts --format=esm,cjs --dts", | ||
"build": "tsup src/index.ts --format=esm --dts", | ||
"test": "jest --config ../../../jest.config.js --rootDir tests", | ||
@@ -39,0 +39,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
Yes
9047
5
178