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

@interop-ui/popper

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interop-ui/popper - npm Package Compare versions

Comparing version 0.0.1-3 to 0.0.1-4

9

dist/index.d.ts
import * as CSS from "csstype";
import { Side, Align, Size } from "@interop-ui/utils";
type GetPlacementDataOptions = {
/** The rect of the target we are placing around */
targetRect?: ClientRect;
/** The rect of the anchor we are placing around */
anchorRect?: ClientRect;
/** The size of the popper to place */

@@ -9,3 +10,3 @@ popperSize?: Size;

arrowSize?: Size;
/** An optional arrow offset (along the side, default: 20) */
/** An optional arrow offset (along the side, default: 0) */
arrowOffset?: number;

@@ -44,4 +45,4 @@ /** The desired side */

*/
export function getPlacementData({ targetRect, popperSize, arrowSize, arrowOffset, side, sideOffset, align, alignOffset, shouldAvoidCollisions, collisionTolerance, }: GetPlacementDataOptions): PlacementData;
export function getPlacementData({ anchorRect, popperSize, arrowSize, arrowOffset, side, sideOffset, align, alignOffset, shouldAvoidCollisions, collisionTolerance, }: GetPlacementDataOptions): PlacementData;
//# sourceMappingURL=index.d.ts.map
{
"name": "@interop-ui/popper",
"version": "0.0.1-3",
"version": "0.0.1-4",
"license": "MIT",

@@ -14,16 +14,16 @@ "source": "src/index.ts",

"scripts": {
"build": "parcel build src/index.ts",
"build": "parcel build src/index.ts --no-cache",
"clean": "rm -rf dist",
"bump": "yarn version --deferred",
"version": "yarn version",
"prepublish": "yarn clean && yarn build"
},
"dependencies": {
"@interop-ui/utils": "0.0.1-2",
"@interop-ui/utils": "0.0.1-3",
"csstype": "^2.6.11"
},
"devDependencies": {
"@interop-ui/react-use-size": "0.0.1-3",
"@interop-ui/react-utils": "0.0.1-3",
"@interop-ui/react-use-size": "0.0.1-4",
"@interop-ui/react-utils": "0.0.1-4",
"parcel": "^2.0.0-beta.1"
}
}

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