@reach/popover
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -5,3 +5,3 @@ /** | ||
import React from "react"; | ||
import { TRect } from "@reach/rect"; | ||
import { PRect } from "@reach/rect"; | ||
/** | ||
@@ -23,2 +23,2 @@ * Popover | ||
export declare const positionMatchWidth: Position; | ||
export declare type Position = (targetRect?: TRect, popoverRect?: TRect) => React.CSSProperties; | ||
export declare type Position = (targetRect?: PRect | null, popoverRect?: PRect | null) => React.CSSProperties; |
{ | ||
"name": "@reach/popover", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Render a portal positioned relative to another element.", | ||
"author": "React Training <hello@reacttraining.com>", | ||
"license": "MIT", | ||
"repository": { | ||
@@ -10,16 +12,11 @@ "type": "git", | ||
}, | ||
"main": "dist/index.js", | ||
"umd:main": "dist/popover.umd.production.js", | ||
"module": "dist/popover.esm.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "cross-env NODE_ENV=production tsdx build --format=cjs,esm,umd" | ||
"build": "yarn clean && cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json", | ||
"clean": "rm -rf ./dist", | ||
"compile": "cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json" | ||
}, | ||
"dependencies": { | ||
"@reach/portal": "^0.7.1", | ||
"@reach/rect": "^0.7.1", | ||
"@reach/utils": "^0.7.1", | ||
"@reach/portal": "^0.7.2", | ||
"@reach/rect": "^0.7.2", | ||
"@reach/utils": "^0.7.2", | ||
"tabbable": "^4.0.0" | ||
@@ -31,4 +28,9 @@ }, | ||
}, | ||
"author": "React Training <hello@reacttraining.com>", | ||
"license": "MIT" | ||
"main": "dist/index.js", | ||
"module": "dist/popover.esm.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"gitHead": "96cf6c191cca0f2cbcb7ff578f15e289efeda1e2" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
3
0
75364
10
531
Updated@reach/portal@^0.7.2
Updated@reach/rect@^0.7.2
Updated@reach/utils@^0.7.2