@atlaskit/dropdown-menu 16.10.3 → 16.10.5

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,20 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 16.10.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 16.10.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`6d0485dce81c4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6d0485dce81c4) -
14
+ Internal: updated to the new `@atlaskit/top-layer` `Popover`/`Dialog` behaviour where the host
15
+ element unmounts after the exit animation completes. No consumer action required.
16
+ - Updated dependencies
17
+
3
18
  ## 16.10.3
4
19
 
5
20
  ### Patch Changes
@@ -150,12 +150,14 @@ function DropdownMenuTopLayer(_ref2) {
150
150
  (0, _useAnchorPosition.useAnchorPosition)({
151
151
  anchorRef: triggerRef,
152
152
  popoverRef: popoverRef,
153
- placement: topLayerPlacement
153
+ placement: topLayerPlacement,
154
+ isOpen: isLocalOpen
154
155
  });
155
156
  (0, _useWidthFromAnchor.useWidthFromAnchor)({
156
157
  mode: shouldFitContainer ? 'min-anchor' : 'none',
157
158
  popoverRef: popoverRef,
158
- anchorRef: triggerRef
159
+ anchorRef: triggerRef,
160
+ isOpen: isLocalOpen
159
161
  });
160
162
 
161
163
  // Close handling.
@@ -122,12 +122,14 @@ function DropdownMenuTopLayer({
122
122
  useAnchorPosition({
123
123
  anchorRef: triggerRef,
124
124
  popoverRef,
125
- placement: topLayerPlacement
125
+ placement: topLayerPlacement,
126
+ isOpen: isLocalOpen
126
127
  });
127
128
  useWidthFromAnchor({
128
129
  mode: shouldFitContainer ? 'min-anchor' : 'none',
129
130
  popoverRef,
130
- anchorRef: triggerRef
131
+ anchorRef: triggerRef,
132
+ isOpen: isLocalOpen
131
133
  });
132
134
 
133
135
  // Close handling.
@@ -141,12 +141,14 @@ function DropdownMenuTopLayer(_ref2) {
141
141
  useAnchorPosition({
142
142
  anchorRef: triggerRef,
143
143
  popoverRef: popoverRef,
144
- placement: topLayerPlacement
144
+ placement: topLayerPlacement,
145
+ isOpen: isLocalOpen
145
146
  });
146
147
  useWidthFromAnchor({
147
148
  mode: shouldFitContainer ? 'min-anchor' : 'none',
148
149
  popoverRef: popoverRef,
149
- anchorRef: triggerRef
150
+ anchorRef: triggerRef,
151
+ isOpen: isLocalOpen
150
152
  });
151
153
 
152
154
  // Close handling.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "16.10.3",
3
+ "version": "16.10.5",
4
4
  "description": "A dropdown menu displays a list of actions or options to a user.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,12 +38,12 @@
38
38
  "@atlaskit/layering": "^3.8.0",
39
39
  "@atlaskit/menu": "^8.5.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/popup": "^4.23.0",
41
+ "@atlaskit/popup": "^4.25.0",
42
42
  "@atlaskit/primitives": "^19.0.0",
43
43
  "@atlaskit/spinner": "^19.1.0",
44
44
  "@atlaskit/theme": "^25.0.0",
45
- "@atlaskit/tokens": "^13.3.0",
46
- "@atlaskit/top-layer": "^0.15.0",
45
+ "@atlaskit/tokens": "^13.4.0",
46
+ "@atlaskit/top-layer": "^0.17.0",
47
47
  "@atlaskit/visually-hidden": "^3.1.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@compiled/react": "^0.20.0",
@@ -65,8 +65,8 @@
65
65
  "@atlaskit/form": "^15.5.0",
66
66
  "@atlaskit/heading": "^5.4.0",
67
67
  "@atlaskit/link": "^3.4.0",
68
- "@atlaskit/lozenge": "^13.8.0",
69
- "@atlaskit/modal-dialog": "^15.2.0",
68
+ "@atlaskit/lozenge": "^13.9.0",
69
+ "@atlaskit/modal-dialog": "^15.3.0",
70
70
  "@atlaskit/section-message": "^8.13.0",
71
71
  "@atlaskit/textfield": "^8.3.0",
72
72
  "@atlaskit/toggle": "^16.1.0",