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

@atlaskit/popper

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/popper - npm Package Compare versions

Comparing version 3.1.9 to 3.1.10

8

CHANGELOG.md
# @atlaskit/popper
## 3.1.10
### Patch Changes
- [patch][671de2d063](https://bitbucket.org/atlassian/atlassian-frontend/commits/671de2d063):
Updates `offset` prop description.
## 3.1.9

@@ -4,0 +12,0 @@

21

dist/cjs/Popper.d.ts

@@ -8,11 +8,22 @@ import React from 'react';

export interface Props {
/** Returns the element to be positioned */
/**
* Returns the element to be positioned.
*/
children: (childrenProps: PopperChildrenProps) => React.ReactNode;
/** Formatted like "0, 8px" — how far to offset the Popper from the Reference. Changes automatically based on the placement */
/**
* Distance the popup should be away from the trigger in the format of "x,y".
* Defaults to "0,8px" - which means the popup will be 8px away of the trigger on the y-axis.
*/
offset: number | string;
/** Which side of the Reference to show on. */
/**
* Which side of the Reference to show on.
*/
placement: Placement;
/** Replacement reference element to position popper relative to */
/**
* Replacement reference element to position popper relative to.
*/
referenceElement?: HTMLElement;
/** Additional modifiers and modifier overwrites */
/**
* Additional modifiers and modifier overwrites.
*/
modifiers?: PopperProps['modifiers'];

@@ -19,0 +30,0 @@ }

{
"name": "@atlaskit/popper",
"version": "3.1.9",
"version": "3.1.10",
"sideEffects": false
}

@@ -8,11 +8,22 @@ import React from 'react';

export interface Props {
/** Returns the element to be positioned */
/**
* Returns the element to be positioned.
*/
children: (childrenProps: PopperChildrenProps) => React.ReactNode;
/** Formatted like "0, 8px" — how far to offset the Popper from the Reference. Changes automatically based on the placement */
/**
* Distance the popup should be away from the trigger in the format of "x,y".
* Defaults to "0,8px" - which means the popup will be 8px away of the trigger on the y-axis.
*/
offset: number | string;
/** Which side of the Reference to show on. */
/**
* Which side of the Reference to show on.
*/
placement: Placement;
/** Replacement reference element to position popper relative to */
/**
* Replacement reference element to position popper relative to.
*/
referenceElement?: HTMLElement;
/** Additional modifiers and modifier overwrites */
/**
* Additional modifiers and modifier overwrites.
*/
modifiers?: PopperProps['modifiers'];

@@ -19,0 +30,0 @@ }

{
"name": "@atlaskit/popper",
"version": "3.1.9",
"version": "3.1.10",
"sideEffects": false
}
{
"name": "@atlaskit/popper",
"version": "3.1.9",
"version": "3.1.10",
"description": "Wrapper for react-popper with common config and some helpers",

@@ -15,8 +15,3 @@ "publishConfig": {

"author": "Atlassian Pty Ltd",
"maintainers": [
"Sean C",
"Daniel DC",
"Harsha I",
"Alex R"
],
"team": "Design System Team",
"repository": "https://bitbucket.org/atlassian/atlaskit-mk-2",

@@ -49,5 +44,4 @@ "dependencies": {

"internal": true,
"name": "Popper",
"team": "core"
"name": "Popper"
}
}

Sorry, the diff of this file is not supported yet

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