@atlaskit/navigation-system 11.1.0 → 11.1.2

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
  # @atlassian/navigation-system
2
2
 
3
+ ## 11.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`457c77d8f6992`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/457c77d8f6992) -
8
+ Behind `platform-dst-top-layer-tooltip`: the side nav toggle tooltip stays open when pressed and
9
+ shows its new label.
10
+ - Updated dependencies
11
+
12
+ ## 11.1.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [`0f780b942b35d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f780b942b35d) -
17
+ Use Popup's shared trigger types for existing trigger ARIA contracts.
18
+ - Updated dependencies
19
+
3
20
  ## 11.1.0
4
21
 
5
22
  ### Minor Changes
@@ -32,7 +32,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
32
32
  var toggleButtonTooltipOptions = {
33
33
  // We're disabling pointer events on the tooltip to prevent it from blocking mouse events, so that the side nav flyout stays open
34
34
  // when moving the mouse from the top bar to the side nav.
35
- ignoreTooltipPointerEvents: true
35
+ ignoreTooltipPointerEvents: true,
36
+ // A press swaps the label between `collapseLabel` and `expandLabel`, so keep the
37
+ // tooltip open to show the new label.
38
+ hasNewContentOnTriggerClick: true
36
39
  };
37
40
 
38
41
  // For duplicate "mouseenter" issue when changing icons (see below)
@@ -19,7 +19,10 @@ import { useToggleSideNav } from './use-toggle-side-nav';
19
19
  const toggleButtonTooltipOptions = {
20
20
  // We're disabling pointer events on the tooltip to prevent it from blocking mouse events, so that the side nav flyout stays open
21
21
  // when moving the mouse from the top bar to the side nav.
22
- ignoreTooltipPointerEvents: true
22
+ ignoreTooltipPointerEvents: true,
23
+ // A press swaps the label between `collapseLabel` and `expandLabel`, so keep the
24
+ // tooltip open to show the new label.
25
+ hasNewContentOnTriggerClick: true
23
26
  };
24
27
 
25
28
  // For duplicate "mouseenter" issue when changing icons (see below)
@@ -23,7 +23,10 @@ import { useToggleSideNav } from './use-toggle-side-nav';
23
23
  var toggleButtonTooltipOptions = {
24
24
  // We're disabling pointer events on the tooltip to prevent it from blocking mouse events, so that the side nav flyout stays open
25
25
  // when moving the mouse from the top bar to the side nav.
26
- ignoreTooltipPointerEvents: true
26
+ ignoreTooltipPointerEvents: true,
27
+ // A press swaps the label between `collapseLabel` and `expandLabel`, so keep the
28
+ // tooltip open to show the new label.
29
+ hasNewContentOnTriggerClick: true
27
30
  };
28
31
 
29
32
  // For duplicate "mouseenter" issue when changing icons (see below)
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
3
3
  import type { IconButtonProps } from '@atlaskit/button/icon/button';
4
- import type { TriggerProps } from '@atlaskit/popup/types';
4
+ import type { TriggerAriaProps } from '@atlaskit/popup/types';
5
5
  import type { TooltipProps } from '@atlaskit/tooltip/types';
6
- export interface EndItemProps extends Partial<Pick<TriggerProps, 'aria-controls' | 'aria-expanded' | 'aria-haspopup'>> {
6
+ export interface EndItemProps extends Partial<TriggerAriaProps> {
7
7
  /**
8
8
  * Provide an accessible label, often used by screen readers.
9
9
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/navigation-system",
3
- "version": "11.1.0",
3
+ "version": "11.1.2",
4
4
  "description": "The latest navigation system for Atlassian apps.",
5
5
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
6
6
  "license": "Apache-2.0",
@@ -66,16 +66,16 @@
66
66
  "@atlaskit/icon": "^38.0.0",
67
67
  "@atlaskit/layering": "^6.0.0",
68
68
  "@atlaskit/logo": "^23.3.0",
69
- "@atlaskit/motion": "^9.0.0",
69
+ "@atlaskit/motion": "^9.1.0",
70
70
  "@atlaskit/platform-feature-flags": "^2.2.0",
71
71
  "@atlaskit/platform-feature-flags-react": "^1.2.0",
72
- "@atlaskit/popup": "^8.1.0",
72
+ "@atlaskit/popup": "^9.0.0",
73
73
  "@atlaskit/pragmatic-drag-and-drop": "^4.0.0",
74
74
  "@atlaskit/primitives": "^22.5.0",
75
75
  "@atlaskit/react-compiler-gating": "^0.2.0",
76
76
  "@atlaskit/side-nav-items": "^2.5.0",
77
77
  "@atlaskit/tokens": "^20.1.0",
78
- "@atlaskit/tooltip": "^24.3.0",
78
+ "@atlaskit/tooltip": "^24.4.0",
79
79
  "@atlaskit/visually-hidden": "^4.4.0",
80
80
  "@babel/runtime": "^7.0.0",
81
81
  "@compiled/react": "^1.0.2",
@@ -94,7 +94,7 @@
94
94
  "@atlaskit/badge": "^22.0.0",
95
95
  "@atlaskit/banner": "^15.3.0",
96
96
  "@atlaskit/breadcrumbs": "^17.8.0",
97
- "@atlaskit/dropdown-menu": "^20.0.0",
97
+ "@atlaskit/dropdown-menu": "^21.0.0",
98
98
  "@atlaskit/flag": "^19.0.0",
99
99
  "@atlaskit/form": "^18.0.0",
100
100
  "@atlaskit/heading": "^8.0.0",
@@ -116,7 +116,7 @@
116
116
  "@atlaskit/tabs": "^21.3.0",
117
117
  "@atlaskit/tag": "^17.0.0",
118
118
  "@atlaskit/textfield": "^10.2.0",
119
- "@atlaskit/top-layer": "^6.0.0",
119
+ "@atlaskit/top-layer": "^6.1.0",
120
120
  "@atlassian/feature-flags-test-utils": "^1.3.0",
121
121
  "@atlassian/gemini": "^1.54.0",
122
122
  "@atlassian/panel-system": "^1.12.0",