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 6.0.0 to 6.1.0

703

CHANGELOG.md
# @atlaskit/popper
## 6.1.0
### Minor Changes
- [#110836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110836)
[`a8bd419fd70b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a8bd419fd70b9) -
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
is implicitly set to automatic.
## 6.0.0

@@ -7,5 +16,5 @@

- [#102675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102675)
[`5a358ae041de`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5a358ae041de) -
Removing @atlaskit/in-product-testing and its usages. Entry point removals require a major bump.
- [#102675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102675)
[`5a358ae041de`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5a358ae041de) -
Removing @atlaskit/in-product-testing and its usages. Entry point removals require a major bump.

@@ -16,5 +25,5 @@ ## 5.6.0

- [#99248](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99248)
[`ffd6f7e683e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ffd6f7e683e0) -
Add support for React 18.
- [#99248](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99248)
[`ffd6f7e683e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ffd6f7e683e0) -
Add support for React 18 in non-strict mode.

@@ -25,5 +34,5 @@ ## 5.5.5

- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
Upgrade Typescript from `4.9.5` to `5.4.2`
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
Upgrade Typescript from `4.9.5` to `5.4.2`

@@ -34,5 +43,5 @@ ## 5.5.4

- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
version.json
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
version.json

@@ -43,5 +52,5 @@ ## 5.5.3

- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
legacy types are published for TS 4.5-4.8
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
legacy types are published for TS 4.5-4.8

@@ -52,5 +61,5 @@ ## 5.5.2

- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
Upgrade Typescript from `4.5.5` to `4.9.5`
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
Typescript from `4.5.5` to `4.9.5`

@@ -61,5 +70,5 @@ ## 5.5.1

- [#32945](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32945)
[`f859e9ccda4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f859e9ccda4) -
Migrates unit tests from enzyme to RTL.
- [#32945](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32945)
[`f859e9ccda4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f859e9ccda4) - Migrates
unit tests from enzyme to RTL.

@@ -70,9 +79,9 @@ ## 5.5.0

- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
minor dependency bump
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
minor dependency bump
### Patch Changes
- Updated dependencies
- Updated dependencies

@@ -83,5 +92,5 @@ ## 5.4.11

- [#29327](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29327)
[`d84f56e6e50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d84f56e6e50) - Remove
the unused feature flag
- [#29327](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29327)
[`d84f56e6e50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d84f56e6e50) - Remove
the unused feature flag

@@ -92,3 +101,3 @@ ## 5.4.10

- Updated dependencies
- Updated dependencies

@@ -99,3 +108,3 @@ ## 5.4.9

- Updated dependencies
- Updated dependencies

@@ -106,3 +115,3 @@ ## 5.4.8

- Updated dependencies
- Updated dependencies

@@ -113,3 +122,3 @@ ## 5.4.7

- Updated dependencies
- Updated dependencies

@@ -120,6 +129,6 @@ ## 5.4.6

- [#28158](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28158)
[`7888ba61c3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7888ba61c3b) - Add
platform feature flag registration and dynamic type generation for platform feature flag client
- Updated dependencies
- [#28158](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28158)
[`7888ba61c3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7888ba61c3b) - Add
platform feature flag registration and dynamic type generation for platform feature flag client
- Updated dependencies

@@ -130,5 +139,5 @@ ## 5.4.5

- [#28303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28303)
[`85dc0230439`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85dc0230439) - Add
eslint rule to allow for platform feature flag usage
- [#28303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28303)
[`85dc0230439`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85dc0230439) - Add
eslint rule to allow for platform feature flag usage

@@ -139,3 +148,3 @@ ## 5.4.4

- Updated dependencies
- Updated dependencies

@@ -146,3 +155,3 @@ ## 5.4.3

- Updated dependencies
- Updated dependencies

@@ -153,6 +162,6 @@ ## 5.4.2

- [#27890](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27890)
[`03a51e8100d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03a51e8100d) -
Introduces a hidden, dummy html element to validate that our new deployment pipeline is working
end-to-end.
- [#27890](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27890)
[`03a51e8100d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03a51e8100d) -
Introduces a hidden, dummy html element to validate that our new deployment pipeline is working
end-to-end.

@@ -163,5 +172,5 @@ ## 5.4.1

- [#27756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27756)
[`211c04b1c96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/211c04b1c96) - Fixes
in-product testing typos causing assert errors
- [#27756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27756)
[`211c04b1c96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/211c04b1c96) - Fixes
in-product testing typos causing assert errors

@@ -172,6 +181,6 @@ ## 5.4.0

- [#27549](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27549)
[`cd2800156bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd2800156bd) -
Updates to in-product testing interface. The change switches
popperRendersWithPositionFixedTestCase to popperRendersTestCase.
- [#27549](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27549)
[`cd2800156bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd2800156bd) - Updates
to in-product testing interface. The change switches popperRendersWithPositionFixedTestCase to
popperRendersTestCase.

@@ -182,5 +191,5 @@ ## 5.3.0

- [#27258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27258)
[`6d5881c30a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d5881c30a4) -
Introducing in-product testing entrypoints to popper.
- [#27258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27258)
[`6d5881c30a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d5881c30a4) -
Introducing in-product testing entrypoints to popper.

@@ -191,9 +200,9 @@ ## 5.2.11

- [#27294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27294)
[`dc53dc3201b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc53dc3201b) - Add
'productPushConsumption' as a new optional field in package.json.
- [#27294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27294)
[`dc53dc3201b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc53dc3201b) - Add
'productPushConsumption' as a new optional field in package.json.
_Note_: We want to track the information if the package was moved from the pull into the push
model in the product. Hence, we extended the `package.json` file by adding a new field e.g.:
"atlassian.productPushConsumption": ["jira"] This field is optional.
_Note_: We want to track the information if the package was moved from the pull into the push
model in the product. Hence, we extended the `package.json` file by adding a new field e.g.:
"atlassian.productPushConsumption": ["jira"] This field is optional.

@@ -204,5 +213,5 @@ ## 5.2.10

- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
change to introduce spacing tokens to design system components.
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
change to introduce spacing tokens to design system components.

@@ -213,5 +222,5 @@ ## 5.2.9

- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
Upgrade Typescript from `4.3.5` to `4.5.5`
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
Typescript from `4.3.5` to `4.5.5`

@@ -222,5 +231,5 @@ ## 5.2.8

- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
Upgrade Typescript from `4.2.4` to `4.3.5`.
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
Typescript from `4.2.4` to `4.3.5`.

@@ -231,5 +240,5 @@ ## 5.2.7

- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
[`ff5655480e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff5655480e6) -
Internal code change turning on new linting rules.
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
[`ff5655480e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff5655480e6) - Internal
code change turning on new linting rules.

@@ -240,5 +249,5 @@ ## 5.2.6

- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
[`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved
to using declarative entrypoints internally. Public API is unchanged.
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
[`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to
using declarative entrypoints internally. Public API is unchanged.

@@ -249,5 +258,5 @@ ## 5.2.5

- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
Upgrade to TypeScript 4.2.4
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
to TypeScript 4.2.4

@@ -258,6 +267,6 @@ ## 5.2.4

- [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
[`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
`static` techstack to package, enforcing stricter style linting. In this case the package
already satisfied this requirement so there have been no changes to styles.
- [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
[`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
`static` techstack to package, enforcing stricter style linting. In this case the package already
satisfied this requirement so there have been no changes to styles.

@@ -268,5 +277,5 @@ ## 5.2.3

- [#19678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19678)
[`10d1f4d4a4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10d1f4d4a4b) - Export
placement options
- [#19678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19678)
[`10d1f4d4a4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10d1f4d4a4b) - Export
placement options

@@ -277,5 +286,5 @@ ## 5.2.2

- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
[`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) -
Internal wiring up to the tokens techstack, no code changes.
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
[`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal
wiring up to the tokens techstack, no code changes.

@@ -286,5 +295,5 @@ ## 5.2.1

- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
`@atlaskit/theme` to version `^11.3.0`.
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
`@atlaskit/theme` to version `^11.3.0`.

@@ -295,5 +304,5 @@ ## 5.2.0

- [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170)
[`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) -
Removes usage of styled-components in favour of standardising on emotion
- [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170)
[`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes
usage of styled-components in favour of standardising on emotion

@@ -304,7 +313,7 @@ ## 5.1.0

- [#8388](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8388)
[`81f4f9f7562`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81f4f9f7562) - Update
core `@popperjs/core` dependency to `^2.9.1`, fixing some positioning bugs, such as in parents
with `will-change` CSS properties set. For more information on the specific changes, see the
popper docs.
- [#8388](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8388)
[`81f4f9f7562`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81f4f9f7562) - Update
core `@popperjs/core` dependency to `^2.9.1`, fixing some positioning bugs, such as in parents
with `will-change` CSS properties set. For more information on the specific changes, see the
popper docs.

@@ -315,5 +324,5 @@ ## 5.0.4

- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
Transpile packages using babel rather than tsc
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
packages using babel rather than tsc

@@ -324,8 +333,8 @@ ## 5.0.3

- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
compiler option. This requires version 3.8 of Typescript, read more about how we handle
Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
`devDependencies` to denote version that the package was built with.
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
`devDependencies` to denote version that the package was built with.

@@ -336,5 +345,5 @@ ## 5.0.2

- [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346)
[`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix
codemod utilities being exposed through the codemod cli
- [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346)
[`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix
codemod utilities being exposed through the codemod cli

@@ -345,8 +354,8 @@ ## 5.0.1

- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
to TypeScript 3.9.6 and tslib to 2.0.0
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
to TypeScript 3.9.6 and tslib to 2.0.0
Since tslib is a dependency for all our packages we recommend that products also follow this
tslib upgrade to prevent duplicates of tslib being bundled.
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
upgrade to prevent duplicates of tslib being bundled.

@@ -357,68 +366,65 @@ ## 5.0.0

- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
[`044869b067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/044869b067) - This
major release of Popper upgrades from react-popper v.1.3.6 to 2.2.3, which includes version 2 of
Popper JS (@popperjs/core). This is a complete re-write of popper.js which comes with
bundle-size and performance improvements, as well as a number of bug fixes and longer-term
support.
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
[`044869b067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/044869b067) - This major
release of Popper upgrades from react-popper v.1.3.6 to 2.2.3, which includes version 2 of Popper
JS (@popperjs/core). This is a complete re-write of popper.js which comes with bundle-size and
performance improvements, as well as a number of bug fixes and longer-term support.
There are a number of major changes for consumers are listed below; ⚙️ indicates the change has
codemod support:
There are a number of major changes for consumers are listed below; ⚙️ indicates the change has
codemod support:
- **Component Props**:
- ⚙️ `offset` is no longer a string, but an array of two integers (i.e. '0px 8px' is now
[0, 8])
- **Render Props**:
- ⚙️ `outOfBoundaries` has been replaced with `isReferenceHidden`, and is now true when
the popper is hidden (i.e. by a scroll container)
- ⚙️ `scheduleUpdate`, for async updates, has been renamed to `update`, and now returns a
Promise.
- **✨new** `hasPopperEscaped` tracks when the reference element is fully clipped or
hidden
- **✨new** `forceUpdate` is exposed to perform synchronous updates
- **Types**:
- @atlaskit/popper now exports a number of useful types from both `@popperjs/core`
(`Placement`) and `react-popper` (`ManagerProps`, `ReferenceProps`, `PopperProps`,
`PopperArrowProps`, `PopperChildrenProps`, `StrictModifier`, `Modifier`).
- Custom modifiers are now more strongly typed; to improve the specificity of the types,
pass a generic type with the modifier names you plan to use.
- **Custom modifiers**: This only affects users applying custom modifiers via the `modifiers`
prop:
- the `modifiers` prop has been significantly updated:
- The format is now an array of objects, each labelled via a `name` key:value pair. Previously
the prop was an object where each property was the modifier name.
- Prop options are grouped together in an `options` object
- default boundary paddings have been removed from `preventOverflow` and `flip`; to restore
original padding, set `padding: 5`
- modifiers that supported a `boundariesElement` option now have two options in its place:
- `boundary`, which takes `clippingParents` (similar to `scrollParent`)
- `rootBoundary` which takes `viewport` or `document` (replacing `viewport` and
`window`respectively)
- **Component Props**:
- ⚙️ `offset` is no longer a string, but an array of two integers (i.e. '0px 8px' is now [0, 8])
- **Render Props**:
- ⚙️ `outOfBoundaries` has been replaced with `isReferenceHidden`, and is now true when the
popper is hidden (i.e. by a scroll container)
- ⚙️ `scheduleUpdate`, for async updates, has been renamed to `update`, and now returns a
Promise.
- **✨new** `hasPopperEscaped` tracks when the reference element is fully clipped or hidden
- **✨new** `forceUpdate` is exposed to perform synchronous updates
- **Types**:
- @atlaskit/popper now exports a number of useful types from both `@popperjs/core` (`Placement`)
and `react-popper` (`ManagerProps`, `ReferenceProps`, `PopperProps`, `PopperArrowProps`,
`PopperChildrenProps`, `StrictModifier`, `Modifier`).
- Custom modifiers are now more strongly typed; to improve the specificity of the types, pass a
generic type with the modifier names you plan to use.
- **Custom modifiers**: This only affects users applying custom modifiers via the `modifiers`
prop:
- the `modifiers` prop has been significantly updated:
- The format is now an array of objects, each labelled via a `name` key:value pair. Previously the
prop was an object where each property was the modifier name.
- Prop options are grouped together in an `options` object
- default boundary paddings have been removed from `preventOverflow` and `flip`; to restore
original padding, set `padding: 5`
- modifiers that supported a `boundariesElement` option now have two options in its place:
- `boundary`, which takes `clippingParents` (similar to `scrollParent`)
- `rootBoundary` which takes `viewport` or `document` (replacing `viewport` and
`window`respectively)
Each modifier has more internal changes not listed here: see
[the Popper JS docs](https://popper.js.org/docs/v2/modifiers/) for more information, as well as
the [Popper migration guide](https://popper.js.org/docs/v2/migration-guide/) for an example of
the new list structure.
Each modifier has more internal changes not listed here: see
[the Popper JS docs](https://popper.js.org/docs/v2/modifiers/) for more information, as well as
the [Popper migration guide](https://popper.js.org/docs/v2/migration-guide/) for an example of the
new list structure.
Due to the highly specific nature of these modifiers, codemod support is not provided for this
change
Due to the highly specific nature of these modifiers, codemod support is not provided for this
change
Note: due to a bug in `react-popper`, a console.error message relating to React `act()` may be
raised on some tests. It should not cause test failures. This issue has been raised in
[the React Popper issue tracker](https://github.com/popperjs/react-popper/issues/368)
Note: due to a bug in `react-popper`, a console.error message relating to React `act()` may be
raised on some tests. It should not cause test failures. This issue has been raised in
[the React Popper issue tracker](https://github.com/popperjs/react-popper/issues/368)
**Running the codemod cli**
**Running the codemod cli**
To run the codemod: **You first need to have the latest version of popper installed before you
can run the codemod**
To run the codemod: **You first need to have the latest version of popper installed before you can
run the codemod**
`yarn upgrade @atlaskit/popper@^5.0.0`
`yarn upgrade @atlaskit/popper@^5.0.0`
Once upgraded, use the Atlaskit codemod-cli;
Once upgraded, use the Atlaskit codemod-cli;
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
[this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more
details on the codemod CLI.
Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
[this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details
on the codemod CLI.

@@ -429,5 +435,5 @@ ## 4.0.1

- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update
all the theme imports to be tree-shakable
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
the theme imports to be tree-shakable

@@ -438,7 +444,7 @@ ## 4.0.0

- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
Officially dropping IE11 support, from this version onwards there are no warranties of the
package working in IE11. For more information see:
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
dropping IE11 support, from this version onwards there are no warranties of the package working in
IE11. For more information see:
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534

@@ -449,5 +455,5 @@ ## 3.1.13

- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build
and supporting files will no longer be published to npm
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
supporting files will no longer be published to npm

@@ -458,10 +464,10 @@ ## 3.1.12

- [patch][cf8577f5d6](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf8577f5d6):
- [patch][cf8577f5d6](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf8577f5d6):
Change imports to comply with Atlassian conventions- Updated dependencies
[6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
Change imports to comply with Atlassian conventions- Updated dependencies
[6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
- Updated dependencies
[57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
- @atlaskit/button@13.3.11
- Updated dependencies
[57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
- @atlaskit/button@13.3.11

@@ -472,10 +478,10 @@ ## 3.1.11

- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
- @atlaskit/docs@8.3.2
- @atlaskit/button@13.3.7
- @atlaskit/theme@9.5.1
- @atlaskit/docs@8.3.2
- @atlaskit/button@13.3.7
- @atlaskit/theme@9.5.1

@@ -486,5 +492,5 @@ ## 3.1.10

- [patch][671de2d063](https://bitbucket.org/atlassian/atlassian-frontend/commits/671de2d063):
- [patch][671de2d063](https://bitbucket.org/atlassian/atlassian-frontend/commits/671de2d063):
Updates `offset` prop description.
Updates `offset` prop description.

@@ -495,12 +501,12 @@ ## 3.1.9

- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
Updated dependencies
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
Updated dependencies
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
- Updated dependencies
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
- @atlaskit/theme@9.5.0
- @atlaskit/button@13.3.5
- Updated dependencies
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
- @atlaskit/theme@9.5.0
- @atlaskit/button@13.3.5

@@ -511,5 +517,5 @@ ## 3.1.8

- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
Updates react-popper dependency to a safe version.
Updates react-popper dependency to a safe version.

@@ -520,6 +526,6 @@ ## 3.1.7

- [patch][542080be8a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/542080be8a):
- [patch][542080be8a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/542080be8a):
Bumped react-popper and resolved infinite looping refs issue, and fixed close-on-outside-click
for @atlaskit/popup
Bumped react-popper and resolved infinite looping refs issue, and fixed close-on-outside-click for
@atlaskit/popup

@@ -530,5 +536,5 @@ ## 3.1.6

- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.

@@ -539,5 +545,5 @@ ## 3.1.5

- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
Updated version of analytics-next to fix potential incompatibilities with TS 3.6

@@ -548,6 +554,6 @@ ## 3.1.4

- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
non-relative imports as relative imports
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
non-relative imports as relative imports

@@ -558,5 +564,5 @@ ## 3.1.3

- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
Upgraded Typescript to 3.3.x
Upgraded Typescript to 3.3.x

@@ -567,6 +573,6 @@ ## 3.1.2

- [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
- [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
Bumping internal dependency (memoize-one) to latest version (5.1.0). memoize-one@5.1.0 has full
typescript support so it is recommended that typescript consumers use it also.
Bumping internal dependency (memoize-one) to latest version (5.1.0). memoize-one@5.1.0 has full
typescript support so it is recommended that typescript consumers use it also.

@@ -577,5 +583,5 @@ ## 3.1.1

- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
Updates component maintainers
Updates component maintainers

@@ -586,5 +592,5 @@ ## 3.1.0

- [minor][0a3116e217](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a3116e217):
- [minor][0a3116e217](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a3116e217):
Add ability to overwrite and adjust modifiers in popper
Add ability to overwrite and adjust modifiers in popper

@@ -595,5 +601,5 @@ ## 3.0.1

- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
Type definition files are now referenced in package.json
Type definition files are now referenced in package.json

@@ -604,6 +610,6 @@ ## 3.0.0

- [major][ebfeb03eb7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebfeb03eb7):
- [major][ebfeb03eb7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebfeb03eb7):
popper has been converted to Typescript. Typescript consumers will now get static type safety.
Flow types are no longer provided. No API or behavioral changes.
popper has been converted to Typescript. Typescript consumers will now get static type safety.
Flow types are no longer provided. No API or behavioral changes.

@@ -614,206 +620,205 @@ ## 2.0.1

- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
index.ts will now be ignored when publishing to npm
index.ts will now be ignored when publishing to npm
## 2.0.0
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
this package, please ensure you use at least this version of react and react-dom.
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
this package, please ensure you use at least this version of react and react-dom.
## 1.0.0
- [major][8b5f052003](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8b5f052003):
- [major][8b5f052003](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8b5f052003):
- This major release indicates that this package is no longer under dev preview but is ready
for use
- This major release indicates that this package is no longer under dev preview but is ready for
use
## 0.4.3
- Updated dependencies
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
- @atlaskit/docs@7.0.3
- @atlaskit/button@12.0.3
- @atlaskit/theme@8.1.7
- Updated dependencies
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
- @atlaskit/docs@7.0.3
- @atlaskit/button@12.0.3
- @atlaskit/theme@8.1.7
## 0.4.2
- Updated dependencies
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
- @atlaskit/docs@7.0.2
- @atlaskit/theme@8.1.6
- @atlaskit/button@12.0.0
- Updated dependencies
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
- @atlaskit/docs@7.0.2
- @atlaskit/theme@8.1.6
- @atlaskit/button@12.0.0
## 0.4.1
- Updated dependencies
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
- @atlaskit/docs@7.0.1
- @atlaskit/theme@8.0.1
- @atlaskit/button@11.0.0
- Updated dependencies
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
- @atlaskit/docs@7.0.1
- @atlaskit/theme@8.0.1
- @atlaskit/button@11.0.0
## 0.4.0
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
- Drop ES5 from all the flow modules
- Drop ES5 from all the flow modules
### Dropping CJS support in all @atlaskit packages
### Dropping CJS support in all @atlaskit packages
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
distribute esm. This means all distributed code will be transpiled, but will still contain
`import` and `export` declarations.
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
distribute esm. This means all distributed code will be transpiled, but will still contain
`import` and `export` declarations.
The major reason for doing this is to allow us to support multiple entry points in packages,
e.g:
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
```js
import colors from `@atlaskit/theme/colors`;
```
```js
import colors from `@atlaskit/theme/colors`;
```
Previously this was sort of possible for consumers by doing something like:
Previously this was sort of possible for consumers by doing something like:
```js
import colors from `@atlaskit/theme/dist/esm/colors`;
```
```js
import colors from `@atlaskit/theme/dist/esm/colors`;
```
This has a couple of issues. 1, it treats the file system as API making internal refactors
harder, we have to worry about how consumers might be using things that aren't _actually_
supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads
to lots of packages bundling all of theme, just to use a single color, especially in situations
where tree shaking fails.
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
we have to worry about how consumers might be using things that aren't _actually_ supposed to be
used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
packages bundling all of theme, just to use a single color, especially in situations where tree
shaking fails.
To support being able to use multiple entrypoints internally, we unfortunately cannot have
multiple distributions as they would need to have very different imports from of their own
internal dependencies.
To support being able to use multiple entrypoints internally, we unfortunately cannot have
multiple distributions as they would need to have very different imports from of their own
internal dependencies.
ES Modules are widely supported by all modern bundlers and can be worked around in node
environments.
ES Modules are widely supported by all modern bundlers and can be worked around in node
environments.
We may choose to revisit this solution in the future if we find any unintended condequences, but
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
saner API's and simpler package architecture.
We may choose to revisit this solution in the future if we find any unintended condequences, but
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
saner API's and simpler package architecture.
Please reach out to #fabric-build (if in Atlassian) or create an issue in
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
external) if you have any questions or queries about this.
Please reach out to #fabric-build (if in Atlassian) or create an issue in
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
external) if you have any questions or queries about this.
## 0.3.7
- [patch][efc35d1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/efc35d1):
- [patch][efc35d1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/efc35d1):
- Internal changes: - Adding react-dom and build utils as dev dependencies - Adding unit test
for server side rendering use-case - Adding unit test to cover Popper component
- Internal changes: - Adding react-dom and build utils as dev dependencies - Adding unit test for
server side rendering use-case - Adding unit test to cover Popper component
## 0.3.6
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
- @atlaskit/button@10.1.1
- @atlaskit/theme@7.0.1
- @atlaskit/docs@6.0.0
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
- @atlaskit/button@10.1.1
- @atlaskit/theme@7.0.1
- @atlaskit/docs@6.0.0
## 0.3.5
- [patch][82fc5f5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/82fc5f5):
- [patch][82fc5f5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/82fc5f5):
- Pinning react-popper to 1.0.2 to avoid recursive bug
- Pinning react-popper to 1.0.2 to avoid recursive bug
## 0.3.4
- [patch][0a297ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a297ba):
- [patch][0a297ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a297ba):
- Packages should not be shown in the navigation, search and overview
- Packages should not be shown in the navigation, search and overview
## 0.3.3
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
- @atlaskit/docs@5.2.3
- @atlaskit/button@10.0.4
- @atlaskit/theme@7.0.0
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
- @atlaskit/docs@5.2.3
- @atlaskit/button@10.0.4
- @atlaskit/theme@7.0.0
## 0.3.2
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
- @atlaskit/docs@5.2.1
- @atlaskit/theme@6.2.1
- @atlaskit/button@10.0.0
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
- @atlaskit/docs@5.2.1
- @atlaskit/theme@6.2.1
- @atlaskit/button@10.0.0
## 0.3.1
- [patch] Fix referenceElement overriding ref from Reference component
[874d5bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/874d5bd)
- [patch] Fix referenceElement overriding ref from Reference component
[874d5bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/874d5bd)
## 0.3.0
- [minor] Adds replacementElement prop to enable onboarding use-case. See prop documentation
[here](https://github.com/FezVrasta/react-popper#usage-without-a-reference-htmlelement)
[1a752e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1a752e6)
- [minor] Adds replacementElement prop to enable onboarding use-case. See prop documentation
[here](https://github.com/FezVrasta/react-popper#usage-without-a-reference-htmlelement)
[1a752e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1a752e6)
## 0.2.5
- [patch] Adds missing implicit @babel/runtime dependency
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
- [patch] Adds missing implicit @babel/runtime dependency
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
## 0.2.4
- [patch] Fixed popper placement offset to not fire deprecation warning.
[4fcff1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4fcff1c)
- [patch] Fixed popper placement offset to not fire deprecation warning.
[4fcff1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4fcff1c)
## 0.2.3
- [patch] Adds sideEffects: false to allow proper tree shaking
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
- [patch] Adds sideEffects: false to allow proper tree shaking
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
## 0.2.2
- [patch] Using the latest popper to avoid recursive setState calls.
[9dceca9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9dceca9)
- [patch] Using the latest popper to avoid recursive setState calls.
[9dceca9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9dceca9)
## 0.2.1
- [patch] Updated dependencies
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
- @atlaskit/theme@6.0.0
- @atlaskit/button@9.0.6
- @atlaskit/docs@5.0.6
- [patch] Updated dependencies
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
- @atlaskit/theme@6.0.0
- @atlaskit/button@9.0.6
- @atlaskit/docs@5.0.6
## 0.2.0
- [minor] Bumped react-popper version to get bug fixes, also added offset prop
[a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
- [none] Updated dependencies
[1d9e75a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1d9e75a)
- [none] Updated dependencies
[a3109d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a3109d3)
- [none] Updated dependencies
[87d45d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87d45d3)
- [none] Updated dependencies
[a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
- [minor] Bumped react-popper version to get bug fixes, also added offset prop
[a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
- [none] Updated dependencies
[1d9e75a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1d9e75a)
- [none] Updated dependencies
[a3109d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a3109d3)
- [none] Updated dependencies
[87d45d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87d45d3)
- [none] Updated dependencies
[a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
## 0.1.2
- [patch] Replace @atlaskit/layer in date time picker with @atlaskit/popper, changed configuration
of flipbehavior modifier to use viewport as the element boundary rather than the window.
[4286672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4286672)
- [patch] Updated datetime-picker to use @atlaskit/popper internally instead of @atlaskit/layer.
Minor fix to @atlaskit/popper, boundariesElement for flipbehavior is now viewport and not
window. [f2159f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f2159f4)
- [none] Updated dependencies
[4286672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4286672)
- [none] Updated dependencies
[f2159f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f2159f4)
- [patch] Replace @atlaskit/layer in date time picker with @atlaskit/popper, changed configuration
of flipbehavior modifier to use viewport as the element boundary rather than the window.
[4286672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4286672)
- [patch] Updated datetime-picker to use @atlaskit/popper internally instead of @atlaskit/layer.
Minor fix to @atlaskit/popper, boundariesElement for flipbehavior is now viewport and not window.
[f2159f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f2159f4)
- [none] Updated dependencies
[4286672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4286672)
- [none] Updated dependencies
[f2159f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f2159f4)
## 0.1.1
- [patch] Updated dependencies
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
- @atlaskit/button@9.0.4
- @atlaskit/theme@5.1.2
- @atlaskit/docs@5.0.2
- [patch] Updated dependencies
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
- @atlaskit/button@9.0.4
- @atlaskit/theme@5.1.2
- @atlaskit/docs@5.0.2
## 0.1.0
- [minor] Dev release for popper
[e987222](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e987222)
- [minor] Dev release for popper
[e987222](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e987222)
{
"name": "@atlaskit/popper",
"version": "6.0.0",
"description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
"author": "Atlassian Pty Ltd",
"license": "Apache-2.0",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"module:es2019": "dist/es2019/index.js",
"types": "dist/types/index.d.ts",
"sideEffects": false,
"atlaskit:src": "src/index.tsx",
"atlassian": {
"team": "Design System Team",
"productPushConsumption": [
"jira"
],
"releaseModel": "continuous",
"website": {
"name": "Popper",
"category": "Libraries"
},
"runReact18": true
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@popperjs/core": "^2.11.8",
"react-popper": "^2.3.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
},
"devDependencies": {
"@af/accessibility-testing": "*",
"@af/visual-regression": "*",
"@atlaskit/ds-lib": "^2.3.0",
"@atlaskit/ssr": "*",
"@atlaskit/visual-regression": "*",
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.0.0",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/jscodeshift": "^0.11.0",
"ast-types": "^0.13.3",
"jscodeshift": "^0.13.0",
"react-dom": "^16.8.0",
"react-lorem-component": "^0.13.0",
"typescript": "~5.4.2",
"wait-for-expect": "^1.2.0"
},
"keywords": [
"atlaskit",
"ui"
],
"techstack": {
"@atlassian/frontend": {
"import-structure": "atlassian-conventions"
},
"@repo/internal": {
"dom-events": "use-bind-event-listener",
"design-system": "v1",
"ui-components": "lite-mode",
"analytics": "analytics-next",
"design-tokens": [
"color",
"spacing"
],
"deprecation": "no-deprecated-imports",
"styling": [
"static",
"emotion"
]
}
},
"typesVersions": {
">=4.5 <4.9": {
"*": [
"dist/types-ts4.5/*",
"dist/types-ts4.5/index.d.ts"
]
}
},
"af:exports": {
".": "./src/index.tsx",
"./Popper": "./src/popper.tsx"
},
"homepage": "https://atlassian.design/components/popper",
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
}
"name": "@atlaskit/popper",
"version": "6.1.0",
"description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
"author": "Atlassian Pty Ltd",
"license": "Apache-2.0",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"module:es2019": "dist/es2019/index.js",
"types": "dist/types/index.d.ts",
"sideEffects": false,
"atlaskit:src": "src/index.tsx",
"atlassian": {
"team": "Design System Team",
"productPushConsumption": [
"jira"
],
"releaseModel": "continuous",
"website": {
"name": "Popper",
"category": "Libraries"
},
"runReact18": true
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@popperjs/core": "^2.11.8",
"react-popper": "^2.3.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
},
"devDependencies": {
"@af/accessibility-testing": "*",
"@af/visual-regression": "*",
"@atlaskit/ds-lib": "^2.3.0",
"@atlaskit/ssr": "*",
"@atlaskit/visual-regression": "*",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.0.0",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/jscodeshift": "^0.11.0",
"ast-types": "^0.13.3",
"jscodeshift": "^0.13.0",
"react-dom": "^16.8.0",
"react-lorem-component": "^0.13.0",
"typescript": "~5.4.2",
"wait-for-expect": "^1.2.0"
},
"keywords": [
"atlaskit",
"ui"
],
"techstack": {
"@atlassian/frontend": {
"import-structure": "atlassian-conventions"
},
"@repo/internal": {
"dom-events": "use-bind-event-listener",
"design-system": "v1",
"ui-components": "lite-mode",
"analytics": "analytics-next",
"design-tokens": [
"color",
"spacing"
],
"deprecation": "no-deprecated-imports",
"styling": [
"static",
"emotion"
]
}
},
"typesVersions": {
">=4.5 <4.9": {
"*": [
"dist/types-ts4.5/*",
"dist/types-ts4.5/index.d.ts"
]
}
},
"af:exports": {
".": "./src/index.tsx",
"./Popper": "./src/popper.tsx"
},
"homepage": "https://atlassian.design/components/popper"
}

@@ -5,3 +5,4 @@ <!-- API Report Version: 2.3 -->

> Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
> Do not edit this file. This report is auto-generated using
> [API Extractor](https://api-extractor.com/).
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)

@@ -35,8 +36,8 @@

interface CustomPopperProps<Modifiers> {
children?: (childrenProps: PopperChildrenProps) => React_2.ReactNode;
modifiers?: PopperProps<Modifiers>['modifiers'];
offset?: Offset;
placement?: Placement;
referenceElement?: HTMLElement | VirtualElement;
strategy?: PopperProps<Modifiers>['strategy'];
children?: (childrenProps: PopperChildrenProps) => React_2.ReactNode;
modifiers?: PopperProps<Modifiers>['modifiers'];
offset?: Offset;
placement?: Placement;
referenceElement?: HTMLElement | VirtualElement;
strategy?: PopperProps<Modifiers>['strategy'];
}

@@ -59,8 +60,8 @@

export function Popper<CustomModifiers>({
children,
offset,
placement,
referenceElement,
modifiers,
strategy,
children,
offset,
placement,
referenceElement,
modifiers,
strategy,
}: CustomPopperProps<CustomModifiers>): JSX.Element;

@@ -91,3 +92,3 @@

{
"react": "^16.8.0"
"react": "^16.8.0"
}

@@ -94,0 +95,0 @@ ```

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

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

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