@atlaskit/popper
Advanced tools
Comparing version 3.1.9 to 3.1.10
# @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 @@ |
@@ -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
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
25297
242