@atlaskit/popup 6.3.10 → 8.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @atlaskit/popup
2
2
 
3
+ ## 8.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
+
26
+ ## 7.0.0
27
+
28
+ ### Major Changes
29
+
30
+ - [`5e712839d1e00`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5e712839d1e00) -
31
+ Popup's trigger render props now include the role-specific `aria-haspopup` values `"menu"`,
32
+ `"listbox"`, `"tree"`, and `"grid"`, which the top-layer path could already provide at runtime.
33
+ Popup also exports `AriaHasPopup` and `TriggerAriaProps` for consumers to type trigger ARIA
34
+ attributes. Use booleans instead of the string values `"true"` and `"false"`.
35
+
36
+ Dropdown Menu's custom trigger props now reflect Popup's `aria-haspopup` values, and Dropdown Item
37
+ accepts the same roles and booleans. Custom triggers forward Popup's value on the legacy path; the
38
+ top-layer path provides `"menu"`. Dropdown items already forwarded `aria-controls` and
39
+ `aria-expanded` at runtime.
40
+
41
+ ### Patch Changes
42
+
43
+ - Updated dependencies
44
+
3
45
  ## 6.3.10
4
46
 
5
47
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "6.3.10",
3
+ "version": "8.0.0",
4
4
  "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/portal": "^7.0.0",
44
44
  "@atlaskit/primitives": "^22.5.0",
45
45
  "@atlaskit/react-compiler-gating": "^0.2.0",
46
- "@atlaskit/tokens": "^20.0.0",
46
+ "@atlaskit/tokens": "^20.1.0",
47
47
  "@atlaskit/top-layer": "^6.0.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@compiled/react": "^1.0.2",
@@ -64,8 +64,8 @@
64
64
  "@atlaskit/button": "^25.4.0",
65
65
  "@atlaskit/code": "^20.0.0",
66
66
  "@atlaskit/datetime-picker": "^19.0.0",
67
- "@atlaskit/docs": "^12.2.0",
68
- "@atlaskit/dropdown-menu": "^18.3.0",
67
+ "@atlaskit/docs": "^12.3.0",
68
+ "@atlaskit/dropdown-menu": "^20.0.0",
69
69
  "@atlaskit/form": "^18.0.0",
70
70
  "@atlaskit/heading": "^8.0.0",
71
71
  "@atlaskit/icon": "^38.0.0",
@@ -74,7 +74,7 @@
74
74
  "@atlaskit/modal-dialog": "^17.0.0",
75
75
  "@atlaskit/radio": "^10.2.0",
76
76
  "@atlaskit/section-message": "^10.2.0",
77
- "@atlaskit/select": "^23.0.0",
77
+ "@atlaskit/select": "^23.1.0",
78
78
  "@atlaskit/textfield": "^10.2.0",
79
79
  "@atlaskit/toggle": "^17.3.0",
80
80
  "@atlaskit/visually-hidden": "^4.4.0",