@zag-js/element-rect
Advanced tools
Comparing version 0.0.0-dev-20221103102301 to 0.0.0-dev-20221228121448
@@ -1,3 +0,3 @@ | ||
declare type Fn = (rect: DOMRect) => void; | ||
declare type Measurable = { | ||
type Fn = (rect: DOMRect) => void; | ||
type Measurable = { | ||
getBoundingClientRect(): DOMRect; | ||
@@ -4,0 +4,0 @@ }; |
{ | ||
"name": "@zag-js/element-rect", | ||
"version": "0.0.0-dev-20221103102301", | ||
"version": "0.0.0-dev-20221228121448", | ||
"description": "observe element's rect over time", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"keywords": [ | ||
@@ -27,6 +24,21 @@ "js", | ||
}, | ||
"clean-package": "../../../clean-package.config.json", | ||
"main": "dist/index.js", | ||
"devDependencies": { | ||
"clean-package": "2.2.0" | ||
}, | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"scripts": { | ||
"build-fast": "tsup src/index.ts --format=esm,cjs", | ||
"build-fast": "tsup src", | ||
"start": "pnpm build --watch", | ||
"build": "tsup src/index.ts --format=esm,cjs --dts", | ||
"build": "tsup src --dts", | ||
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests", | ||
@@ -33,0 +45,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
7459
1