@atlaskit/navigation-system 1.1.0 → 1.2.0

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,15 @@
1
1
  # @atlassian/navigation-system
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`c48c55f280ef8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c48c55f280ef8) -
8
+ FlyoutMenuItemContent will render its popup alongside the trigger, instead of using a portal. This
9
+ improves the experience for assistive technology users.
10
+
11
+ This change is behind a feature flag.
12
+
3
13
  ## 1.1.0
4
14
 
5
15
  ### Minor Changes
@@ -60,7 +60,8 @@ var FlyoutMenuItemContent = exports.FlyoutMenuItemContent = /*#__PURE__*/(0, _re
60
60
  * and should have negligible performance impacts, because the flyout menus should rarely
61
61
  * need to be repositioned.
62
62
  */,
63
- shouldDisableGpuAcceleration: true
63
+ shouldDisableGpuAcceleration: true,
64
+ shouldRenderToParent: (0, _platformFeatureFlags.fg)('platform_dst_nav4_flyoutmenuitem_render_to_parent')
64
65
  }, function (_ref2) {
65
66
  var update = _ref2.update;
66
67
  return /*#__PURE__*/_react.default.createElement(UpdatePopperOnContentResize, {
@@ -51,7 +51,8 @@ export const FlyoutMenuItemContent = /*#__PURE__*/forwardRef(({
51
51
  * and should have negligible performance impacts, because the flyout menus should rarely
52
52
  * need to be repositioned.
53
53
  */,
54
- shouldDisableGpuAcceleration: true
54
+ shouldDisableGpuAcceleration: true,
55
+ shouldRenderToParent: fg('platform_dst_nav4_flyoutmenuitem_render_to_parent')
55
56
  }, ({
56
57
  update
57
58
  }) => /*#__PURE__*/React.createElement(UpdatePopperOnContentResize, {
@@ -51,7 +51,8 @@ export var FlyoutMenuItemContent = /*#__PURE__*/forwardRef(function (_ref, forwa
51
51
  * and should have negligible performance impacts, because the flyout menus should rarely
52
52
  * need to be repositioned.
53
53
  */,
54
- shouldDisableGpuAcceleration: true
54
+ shouldDisableGpuAcceleration: true,
55
+ shouldRenderToParent: fg('platform_dst_nav4_flyoutmenuitem_render_to_parent')
55
56
  }, function (_ref2) {
56
57
  var update = _ref2.update;
57
58
  return /*#__PURE__*/React.createElement(UpdatePopperOnContentResize, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/navigation-system",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "The latest navigation system for Atlassian apps.",
5
5
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
6
6
  "author": "Atlassian Pty Ltd",
@@ -112,7 +112,7 @@
112
112
  "@atlaskit/button": "^23.4.0",
113
113
  "@atlaskit/css": "^0.12.0",
114
114
  "@atlaskit/ds-lib": "^5.0.0",
115
- "@atlaskit/icon": "^28.0.0",
115
+ "@atlaskit/icon": "^28.1.0",
116
116
  "@atlaskit/layering": "^3.0.0",
117
117
  "@atlaskit/logo": "^19.7.0",
118
118
  "@atlaskit/platform-feature-flags": "^1.1.0",
@@ -222,6 +222,9 @@
222
222
  },
223
223
  "platform_dst_nav4_actionsonhover_focus_fix": {
224
224
  "type": "boolean"
225
+ },
226
+ "platform_dst_nav4_flyoutmenuitem_render_to_parent": {
227
+ "type": "boolean"
225
228
  }
226
229
  },
227
230
  "homepage": "https://atlassian.design/components/navigation-system"