@atlaskit/popper
Advanced tools
Comparing version 5.5.5 to 5.6.0
554
CHANGELOG.md
# @atlaskit/popper | ||
## 5.6.0 | ||
### Minor Changes | ||
- [#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. | ||
## 5.5.5 | ||
@@ -7,3 +15,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` | ||
@@ -14,3 +24,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 | ||
@@ -21,3 +33,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 | ||
@@ -28,3 +42,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` | ||
@@ -35,3 +51,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. | ||
@@ -42,7 +60,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 | ||
@@ -53,3 +73,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 | ||
@@ -60,3 +82,3 @@ ## 5.4.10 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -67,3 +89,3 @@ ## 5.4.9 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -74,3 +96,3 @@ ## 5.4.8 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -81,3 +103,3 @@ ## 5.4.7 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -88,4 +110,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 | ||
@@ -96,3 +120,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 | ||
@@ -103,3 +129,3 @@ ## 5.4.4 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -110,3 +136,3 @@ ## 5.4.3 | ||
- Updated dependencies | ||
- Updated dependencies | ||
@@ -117,3 +143,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. | ||
@@ -124,3 +153,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 | ||
@@ -131,3 +162,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. | ||
@@ -138,3 +172,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. | ||
@@ -145,8 +181,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. | ||
@@ -157,3 +194,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. | ||
@@ -164,3 +203,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` | ||
@@ -171,3 +212,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`. | ||
@@ -178,3 +221,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. | ||
@@ -185,3 +230,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. | ||
@@ -192,3 +239,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 | ||
@@ -199,3 +248,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. | ||
@@ -206,3 +258,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 | ||
@@ -213,3 +267,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. | ||
@@ -220,3 +276,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`. | ||
@@ -227,3 +285,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 | ||
@@ -234,3 +294,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. | ||
@@ -241,3 +305,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 | ||
@@ -248,5 +314,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. | ||
@@ -257,3 +326,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 | ||
@@ -264,6 +335,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. | ||
@@ -274,50 +347,68 @@ ## 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. | ||
@@ -328,3 +419,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 | ||
@@ -335,4 +428,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 | ||
@@ -343,3 +439,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 | ||
@@ -350,8 +448,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 | ||
@@ -362,9 +462,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 | ||
@@ -375,5 +476,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. | ||
@@ -384,9 +485,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 | ||
@@ -397,5 +501,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. | ||
@@ -406,5 +510,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 | ||
@@ -415,5 +520,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. | ||
@@ -424,5 +529,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 | ||
@@ -433,5 +538,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 | ||
@@ -442,5 +548,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 | ||
@@ -451,5 +557,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. | ||
@@ -460,5 +567,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 | ||
@@ -469,5 +576,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 | ||
@@ -478,5 +585,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 | ||
@@ -487,5 +594,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. | ||
@@ -496,166 +604,206 @@ ## 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": "5.5.5", | ||
"version": "5.6.0", | ||
"description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable", | ||
@@ -26,3 +26,4 @@ "publishConfig": { | ||
"category": "Libraries" | ||
} | ||
}, | ||
"runReact18": true | ||
}, | ||
@@ -32,7 +33,7 @@ "dependencies": { | ||
"@babel/runtime": "^7.0.0", | ||
"@popperjs/core": "^2.9.1", | ||
"react-popper": "^2.2.3" | ||
"@popperjs/core": "^2.11.8", | ||
"react-popper": "^2.3.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0" | ||
"react": "^16.8.0 || ^17.0.0 || ~18.2.0" | ||
}, | ||
@@ -42,3 +43,3 @@ "devDependencies": { | ||
"@af/visual-regression": "*", | ||
"@atlaskit/ds-lib": "^2.2.0", | ||
"@atlaskit/ds-lib": "^2.3.0", | ||
"@atlaskit/ssr": "*", | ||
@@ -45,0 +46,0 @@ "@atlaskit/visual-regression": "*", |
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
78538
+ Addedreact@18.2.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
Updated@popperjs/core@^2.11.8
Updatedreact-popper@^2.3.0