@atlaskit/popup 5.1.6 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/popup
2
2
 
3
+ ## 5.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`3f6f3bd7da074`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f6f3bd7da074) -
14
+ Updates usage of the Top Layer primitives to consume changes to animation API.
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 5.1.6
4
21
 
5
22
  ### Patch Changes
@@ -187,7 +187,7 @@ function PopupContentTopLayer(_ref) {
187
187
  ref: popoverRef
188
188
  }, roleProps, {
189
189
  isOpen: isOpen,
190
- animate: true,
190
+ shouldAnimate: true,
191
191
  placement: topLayerPlacement,
192
192
  onClose: handleOnClose,
193
193
  testId: testId && "".concat(testId, "--content")
@@ -232,7 +232,7 @@ var PopupTopLayer = exports.PopupTopLayer = /*#__PURE__*/(0, _react.memo)(functi
232
232
  }, roleProps, {
233
233
  isOpen: isOpen,
234
234
  onClose: handleOnClose,
235
- animate: true,
235
+ shouldAnimate: true,
236
236
  placement: topLayerPlacement,
237
237
  testId: testId && "".concat(testId, "--content")
238
238
  }), Container ? /*#__PURE__*/React.createElement(Container, {
@@ -195,7 +195,7 @@ export function PopupContentTopLayer({
195
195
  ref: popoverRef
196
196
  }, roleProps, {
197
197
  isOpen: isOpen,
198
- animate: true,
198
+ shouldAnimate: true,
199
199
  placement: topLayerPlacement,
200
200
  onClose: handleOnClose,
201
201
  testId: testId && `${testId}--content`
@@ -242,7 +242,7 @@ export const PopupTopLayer = /*#__PURE__*/memo(function PopupTopLayer({
242
242
  }, roleProps, {
243
243
  isOpen: isOpen,
244
244
  onClose: handleOnClose,
245
- animate: true,
245
+ shouldAnimate: true,
246
246
  placement: topLayerPlacement,
247
247
  testId: testId && `${testId}--content`
248
248
  }), Container ? /*#__PURE__*/React.createElement(Container, {
@@ -178,7 +178,7 @@ export function PopupContentTopLayer(_ref) {
178
178
  ref: popoverRef
179
179
  }, roleProps, {
180
180
  isOpen: isOpen,
181
- animate: true,
181
+ shouldAnimate: true,
182
182
  placement: topLayerPlacement,
183
183
  onClose: handleOnClose,
184
184
  testId: testId && "".concat(testId, "--content")
@@ -223,7 +223,7 @@ export var PopupTopLayer = /*#__PURE__*/memo(function PopupTopLayer(_ref) {
223
223
  }, roleProps, {
224
224
  isOpen: isOpen,
225
225
  onClose: handleOnClose,
226
- animate: true,
226
+ shouldAnimate: true,
227
227
  placement: topLayerPlacement,
228
228
  testId: testId && "".concat(testId, "--content")
229
229
  }), Container ? /*#__PURE__*/React.createElement(Container, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "5.1.6",
3
+ "version": "5.2.1",
4
4
  "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,14 +34,14 @@
34
34
  "@atlaskit/css": "^1.0.0",
35
35
  "@atlaskit/ds-lib": "^8.0.0",
36
36
  "@atlaskit/layering": "^5.0.0",
37
- "@atlaskit/motion": "^7.5.0",
37
+ "@atlaskit/motion": "^8.0.0",
38
38
  "@atlaskit/platform-feature-flags": "^2.1.0",
39
- "@atlaskit/popper": "^8.3.0",
39
+ "@atlaskit/popper": "^8.4.0",
40
40
  "@atlaskit/portal": "^6.1.0",
41
- "@atlaskit/primitives": "^22.1.0",
41
+ "@atlaskit/primitives": "^22.2.0",
42
42
  "@atlaskit/react-compiler-gating": "^0.2.0",
43
- "@atlaskit/tokens": "^16.2.0",
44
- "@atlaskit/top-layer": "^1.10.0",
43
+ "@atlaskit/tokens": "^16.3.0",
44
+ "@atlaskit/top-layer": "^2.0.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@compiled/react": "^1.0.0",
47
47
  "bind-event-listener": "^3.0.0",
@@ -62,9 +62,9 @@
62
62
  "@atlaskit/docs": "^12.1.0",
63
63
  "@atlaskit/form": "^16.1.0",
64
64
  "@atlaskit/heading": "^6.2.0",
65
- "@atlaskit/icon": "^37.1.0",
65
+ "@atlaskit/icon": "^37.2.0",
66
66
  "@atlaskit/link": "^4.3.0",
67
- "@atlaskit/modal-dialog": "^16.1.0",
67
+ "@atlaskit/modal-dialog": "^16.2.0",
68
68
  "@atlaskit/section-message": "^9.2.0",
69
69
  "@atlaskit/textfield": "^9.1.0",
70
70
  "@atlaskit/toggle": "^17.1.0",