@atlaskit/navigation-system 4.5.1 → 4.6.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,13 @@
1
1
  # @atlassian/navigation-system
2
2
 
3
+ ## 4.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`5bda2d3b2d6cd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5bda2d3b2d6cd) -
8
+ Clicking dropdown menu items will no longer collapse the side navigation on mobile. This change
9
+ was behind a feature flag, which has now been removed.
10
+
3
11
  ## 4.5.1
4
12
 
5
13
  ### Patch Changes
@@ -425,7 +425,7 @@ function SideNavInternal(_ref) {
425
425
  // Ignore if our element references are invalid
426
426
  return;
427
427
  }
428
- if (!event.target.isConnected && (0, _platformFeatureFlags.fg)('platform_dst_nav4_side_nav_click_outside_fix')) {
428
+ if (!event.target.isConnected) {
429
429
  /**
430
430
  * If the element that was clicked is no longer in the document, we should not collapse the side nav.
431
431
  * This can happen when the user clicks on a dropdown menu item (such as one used in a `...` More menu),
@@ -409,7 +409,7 @@ function SideNavInternal({
409
409
  // Ignore if our element references are invalid
410
410
  return;
411
411
  }
412
- if (!event.target.isConnected && fg('platform_dst_nav4_side_nav_click_outside_fix')) {
412
+ if (!event.target.isConnected) {
413
413
  /**
414
414
  * If the element that was clicked is no longer in the document, we should not collapse the side nav.
415
415
  * This can happen when the user clicks on a dropdown menu item (such as one used in a `...` More menu),
@@ -415,7 +415,7 @@ function SideNavInternal(_ref) {
415
415
  // Ignore if our element references are invalid
416
416
  return;
417
417
  }
418
- if (!event.target.isConnected && fg('platform_dst_nav4_side_nav_click_outside_fix')) {
418
+ if (!event.target.isConnected) {
419
419
  /**
420
420
  * If the element that was clicked is no longer in the document, we should not collapse the side nav.
421
421
  * This can happen when the user clicks on a dropdown menu item (such as one used in a `...` More menu),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/navigation-system",
3
- "version": "4.5.1",
3
+ "version": "4.6.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",
@@ -178,9 +178,6 @@
178
178
  "platform-dst-tooltip-shortcuts": {
179
179
  "type": "boolean"
180
180
  },
181
- "platform_dst_nav4_side_nav_click_outside_fix": {
182
- "type": "boolean"
183
- },
184
181
  "platform_dst_flyout_menu_item_chevron_color": {
185
182
  "type": "boolean"
186
183
  },