@atlaskit/dropdown-menu 11.1.0 → 11.1.3

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,24 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 11.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 11.1.1
16
+
17
+ ### Patch Changes
18
+
19
+ - [`dbf652b5183`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dbf652b5183) - Fixes an accessibility issue where menu items had the ARIA role of `menuitem` but were not contained by a parent with the correct role. The `MenuWrapper` component now has `role="menu"`.
20
+ - Updated dependencies
21
+
3
22
  ## 11.1.0
4
23
 
5
24
  ### Minor Changes
@@ -61,6 +61,7 @@ var MenuWrapper = function MenuWrapper(_ref) {
61
61
  setInitialFocusRef && setInitialFocusRef(menuItemRefs[0]); // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
62
62
 
63
63
  return /*#__PURE__*/_react.default.createElement(_menuGroup.default, (0, _extends2.default)({
64
+ role: "menu",
64
65
  onClick: closeOnMenuItemClick
65
66
  }, props));
66
67
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "11.1.0",
3
+ "version": "11.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -38,6 +38,7 @@ const MenuWrapper = ({
38
38
  setInitialFocusRef && setInitialFocusRef(menuItemRefs[0]); // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
39
39
 
40
40
  return /*#__PURE__*/React.createElement(MenuGroup, _extends({
41
+ role: "menu",
41
42
  onClick: closeOnMenuItemClick
42
43
  }, props));
43
44
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "11.1.0",
3
+ "version": "11.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -39,6 +39,7 @@ var MenuWrapper = function MenuWrapper(_ref) {
39
39
  setInitialFocusRef && setInitialFocusRef(menuItemRefs[0]); // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
40
40
 
41
41
  return /*#__PURE__*/React.createElement(MenuGroup, _extends({
42
+ role: "menu",
42
43
  onClick: closeOnMenuItemClick
43
44
  }, props));
44
45
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "11.1.0",
3
+ "version": "11.1.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "11.1.0",
3
+ "version": "11.1.3",
4
4
  "description": "A dropdown menu displays a list of actions or options to a user.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -22,15 +22,15 @@
22
22
  }
23
23
  },
24
24
  "dependencies": {
25
- "@atlaskit/button": "^16.1.0",
26
- "@atlaskit/codemod-utils": "^3.2.0",
25
+ "@atlaskit/button": "^16.2.0",
26
+ "@atlaskit/codemod-utils": "^4.0.0",
27
27
  "@atlaskit/ds-lib": "^1.4.0",
28
28
  "@atlaskit/icon": "^21.10.0",
29
- "@atlaskit/menu": "^1.0.0",
29
+ "@atlaskit/menu": "^1.3.0",
30
30
  "@atlaskit/popup": "^1.3.0",
31
31
  "@atlaskit/spinner": "^15.0.0",
32
32
  "@atlaskit/theme": "^12.1.0",
33
- "@atlaskit/tokens": "^0.6.0",
33
+ "@atlaskit/tokens": "^0.9.0",
34
34
  "@atlaskit/visually-hidden": "^1.0.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@emotion/core": "^10.0.9"
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@atlaskit/avatar": "^20.5.0",
44
44
  "@atlaskit/docs": "*",
45
- "@atlaskit/lozenge": "11.1.6",
45
+ "@atlaskit/lozenge": "11.1.9",
46
46
  "@atlaskit/modal-dialog": "^12.2.0",
47
47
  "@atlaskit/section-message": "^6.1.0",
48
48
  "@atlaskit/ssr": "*",
@@ -58,7 +58,7 @@
58
58
  "react-dom": "^16.8.0",
59
59
  "storybook-addon-performance": "^0.16.0",
60
60
  "tiny-invariant": "^1.2.0",
61
- "typescript": "3.9.6"
61
+ "typescript": "3.9.10"
62
62
  },
63
63
  "keywords": [
64
64
  "atlaskit",