@atlaskit/atlassian-navigation 3.2.3 → 3.2.4

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,11 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 3.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#77467](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77467) [`8d01fc556d89`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d01fc556d89) - Add prop `shouldRenderToParent` to `PrimaryItemsContainer` and `PrimaryItemsContainerV2`. It makes the content visible in nested menu.
8
+
3
9
  ## 3.2.3
4
10
 
5
11
  ### Patch Changes
@@ -89,6 +89,7 @@ var PrimaryItemsContainer = exports.PrimaryItemsContainer = function PrimaryItem
89
89
  openOverflowMenu: openOverflowMenu,
90
90
  closeOverflowMenu: onMoreClose
91
91
  }, visibleItems), overflowItems.length > 0 && (0, _react2.jsx)(_popup.default, {
92
+ shouldRenderToParent: true,
92
93
  placement: "bottom-start",
93
94
  content: content,
94
95
  isOpen: isMoreOpen,
@@ -76,6 +76,7 @@ var MoreItemsPopup = function MoreItemsPopup(_ref) {
76
76
  }, items);
77
77
  }, [items, openOverflowMenu, onMoreClose]);
78
78
  return /*#__PURE__*/_react.default.createElement(_popup.default, {
79
+ shouldRenderToParent: true,
79
80
  placement: "bottom-start",
80
81
  isOpen: isMoreOpen,
81
82
  onClose: onMoreClose,
@@ -75,6 +75,7 @@ export const PrimaryItemsContainer = ({
75
75
  openOverflowMenu: openOverflowMenu,
76
76
  closeOverflowMenu: onMoreClose
77
77
  }, visibleItems), overflowItems.length > 0 && jsx(Popup, {
78
+ shouldRenderToParent: true,
78
79
  placement: "bottom-start",
79
80
  content: content,
80
81
  isOpen: isMoreOpen,
@@ -54,6 +54,7 @@ const MoreItemsPopup = ({
54
54
  closeOverflowMenu: onMoreClose
55
55
  }, items), [items, openOverflowMenu, onMoreClose]);
56
56
  return /*#__PURE__*/React.createElement(Popup, {
57
+ shouldRenderToParent: true,
57
58
  placement: "bottom-start",
58
59
  isOpen: isMoreOpen,
59
60
  onClose: onMoreClose,
@@ -81,6 +81,7 @@ export var PrimaryItemsContainer = function PrimaryItemsContainer(_ref) {
81
81
  openOverflowMenu: openOverflowMenu,
82
82
  closeOverflowMenu: onMoreClose
83
83
  }, visibleItems), overflowItems.length > 0 && jsx(Popup, {
84
+ shouldRenderToParent: true,
84
85
  placement: "bottom-start",
85
86
  content: content,
86
87
  isOpen: isMoreOpen,
@@ -66,6 +66,7 @@ var MoreItemsPopup = function MoreItemsPopup(_ref) {
66
66
  }, items);
67
67
  }, [items, openOverflowMenu, onMoreClose]);
68
68
  return /*#__PURE__*/React.createElement(Popup, {
69
+ shouldRenderToParent: true,
69
70
  placement: "bottom-start",
70
71
  isOpen: isMoreOpen,
71
72
  onClose: onMoreClose,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "A horizontal navigation component for Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
46
- "@atlaskit/button": "^17.6.0",
46
+ "@atlaskit/button": "^17.7.0",
47
47
  "@atlaskit/ds-lib": "^2.2.0",
48
48
  "@atlaskit/icon": "^22.1.0",
49
49
  "@atlaskit/logo": "*",
@@ -65,7 +65,7 @@
65
65
  "devDependencies": {
66
66
  "@af/accessibility-testing": "*",
67
67
  "@af/visual-regression": "*",
68
- "@atlaskit/dropdown-menu": "^12.6.0",
68
+ "@atlaskit/dropdown-menu": "^12.7.0",
69
69
  "@atlaskit/notification-indicator": "*",
70
70
  "@atlaskit/notification-log-client": "*",
71
71
  "@atlaskit/visual-regression": "*",
@@ -113,4 +113,4 @@
113
113
  "type": "boolean"
114
114
  }
115
115
  }
116
- }
116
+ }