@atlaskit/navigation-system 10.17.9 → 11.0.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,28 @@
1
1
  # @atlassian/navigation-system
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`ae5c32fe7bfd6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ae5c32fe7bfd6) -
8
+ Record the rollback of the DSP-25935 popup trigger type expansion in PR #487935. This restores
9
+ compatibility with existing consumers, including Jira Assets audit logs and linked objects.
10
+
11
+ Popup's `aria-haspopup` trigger contract returns to `boolean | 'dialog'`. The affected public
12
+ trigger props in Dropdown Menu, Avatar, Lozenge, Universal Create, Rovo Pins, and Navigation
13
+ System also return to their earlier contracts. Consumers using the newly added role-specific
14
+ string values must return to values supported by those earlier contracts. Popup no longer exports
15
+ `AriaHasPopup` or `TriggerAriaProps`; use `TriggerProps['aria-haspopup']` and
16
+ `Pick<TriggerProps, 'aria-controls' | 'aria-expanded' | 'aria-haspopup'>` instead.
17
+
18
+ Popup and Dropdown Menu retain their existing top-layer runtime ARIA values through the prior
19
+ compatibility adapters. Conversation Assistant returns to its previous internal trigger type
20
+ annotation without changing its public API.
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+
3
26
  ## 10.17.9
4
27
 
5
28
  ### Patch Changes
@@ -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 { TriggerAriaProps } from '@atlaskit/popup/types';
4
+ import type { TriggerProps } from '@atlaskit/popup/types';
5
5
  import type { TooltipProps } from '@atlaskit/tooltip/types';
6
- export interface EndItemProps extends Partial<TriggerAriaProps> {
6
+ export interface EndItemProps extends Partial<Pick<TriggerProps, 'aria-controls' | 'aria-expanded' | 'aria-haspopup'>> {
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": "10.17.9",
3
+ "version": "11.0.0",
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",
@@ -59,7 +59,7 @@
59
59
  "dependencies": {
60
60
  "@atlaskit/analytics-next": "^12.5.0",
61
61
  "@atlaskit/app-provider": "^8.0.0",
62
- "@atlaskit/avatar": "^29.2.0",
62
+ "@atlaskit/avatar": "^30.0.0",
63
63
  "@atlaskit/button": "^25.4.0",
64
64
  "@atlaskit/css": "^1.1.0",
65
65
  "@atlaskit/ds-lib": "^8.0.0",
@@ -69,7 +69,7 @@
69
69
  "@atlaskit/motion": "^9.0.0",
70
70
  "@atlaskit/platform-feature-flags": "^2.2.0",
71
71
  "@atlaskit/platform-feature-flags-react": "^1.2.0",
72
- "@atlaskit/popup": "^7.0.0",
72
+ "@atlaskit/popup": "^8.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",
@@ -94,14 +94,14 @@
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": "^19.0.0",
97
+ "@atlaskit/dropdown-menu": "^20.0.0",
98
98
  "@atlaskit/flag": "^19.0.0",
99
99
  "@atlaskit/form": "^18.0.0",
100
100
  "@atlaskit/heading": "^8.0.0",
101
101
  "@atlaskit/image": "^5.2.0",
102
102
  "@atlaskit/inline-dialog": "^20.3.0",
103
103
  "@atlaskit/link": "^5.1.0",
104
- "@atlaskit/lozenge": "^16.1.0",
104
+ "@atlaskit/lozenge": "^17.0.0",
105
105
  "@atlaskit/menu": "^11.0.0",
106
106
  "@atlaskit/modal-dialog": "^17.0.0",
107
107
  "@atlaskit/onboarding": "^15.4.0",