@atlaskit/dropdown-menu 14.0.2 → 14.0.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,13 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 14.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#142008](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142008)
8
+ [`aebe96bb58f46`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aebe96bb58f46) -
9
+ Improve semantics while loading for assistive technologies.
10
+
3
11
  ## 14.0.2
4
12
 
5
13
  ### Patch Changes
@@ -44,7 +44,6 @@ var DropdownMenuItemGroup = /*#__PURE__*/(0, _react.forwardRef)(function (_ref,
44
44
  // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-deprecated-apis
45
45
  ,
46
46
  overrides: overrides
47
- // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
48
47
  }, rest), title && /*#__PURE__*/_react.default.createElement(_groupTitle.default, {
49
48
  id: titleId,
50
49
  title: title
@@ -31,7 +31,8 @@ var LoadingIndicator = function LoadingIndicator(_ref) {
31
31
  statusLabel = _ref$statusLabel === void 0 ? 'Loading' : _ref$statusLabel,
32
32
  testId = _ref.testId;
33
33
  return (0, _react2.jsx)(_primitives.Box, {
34
- xcss: spinnerContainerStyles
34
+ xcss: spinnerContainerStyles,
35
+ role: "menuitem"
35
36
  }, (0, _react2.jsx)(_spinner.default, {
36
37
  size: "small",
37
38
  label: statusLabel,
@@ -34,7 +34,6 @@ const DropdownMenuItemGroup = /*#__PURE__*/forwardRef(({
34
34
  // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-deprecated-apis
35
35
  ,
36
36
  overrides: overrides
37
- // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
38
37
  }, rest), title && /*#__PURE__*/React.createElement(GroupTitle, {
39
38
  id: titleId,
40
39
  title: title
@@ -22,7 +22,8 @@ const LoadingIndicator = ({
22
22
  statusLabel = 'Loading',
23
23
  testId
24
24
  }) => jsx(Box, {
25
- xcss: spinnerContainerStyles
25
+ xcss: spinnerContainerStyles,
26
+ role: "menuitem"
26
27
  }, jsx(Spinner, {
27
28
  size: "small",
28
29
  label: statusLabel,
@@ -35,7 +35,6 @@ var DropdownMenuItemGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {
35
35
  // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-deprecated-apis
36
36
  ,
37
37
  overrides: overrides
38
- // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
39
38
  }, rest), title && /*#__PURE__*/React.createElement(GroupTitle, {
40
39
  id: titleId,
41
40
  title: title
@@ -23,7 +23,8 @@ var LoadingIndicator = function LoadingIndicator(_ref) {
23
23
  statusLabel = _ref$statusLabel === void 0 ? 'Loading' : _ref$statusLabel,
24
24
  testId = _ref.testId;
25
25
  return jsx(Box, {
26
- xcss: spinnerContainerStyles
26
+ xcss: spinnerContainerStyles,
27
+ role: "menuitem"
27
28
  }, jsx(Spinner, {
28
29
  size: "small",
29
30
  label: statusLabel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "14.0.2",
3
+ "version": "14.0.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/"
@@ -28,15 +28,15 @@
28
28
  "@atlaskit/button": "^23.0.0",
29
29
  "@atlaskit/codemod-utils": "^4.2.0",
30
30
  "@atlaskit/ds-lib": "^4.0.0",
31
- "@atlaskit/icon": "^25.5.0",
31
+ "@atlaskit/icon": "^25.6.0",
32
32
  "@atlaskit/layering": "^2.1.0",
33
33
  "@atlaskit/menu": "^3.2.0",
34
34
  "@atlaskit/platform-feature-flags": "^1.1.0",
35
- "@atlaskit/popup": "^4.0.0",
36
- "@atlaskit/primitives": "^14.3.0",
35
+ "@atlaskit/popup": "^4.1.0",
36
+ "@atlaskit/primitives": "^14.4.0",
37
37
  "@atlaskit/spinner": "^18.0.0",
38
38
  "@atlaskit/theme": "^18.0.0",
39
- "@atlaskit/tokens": "^4.7.0",
39
+ "@atlaskit/tokens": "^4.8.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "@emotion/react": "^11.7.1",
42
42
  "bind-event-listener": "^3.0.0"
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/checkbox": "^17.0.0",
56
56
  "@atlaskit/docs": "^10.0.0",
57
57
  "@atlaskit/form": "^12.0.0",
58
- "@atlaskit/heading": "^5.1.0",
58
+ "@atlaskit/heading": "^5.2.0",
59
59
  "@atlaskit/link": "^3.1.0",
60
60
  "@atlaskit/lozenge": "^12.2.0",
61
61
  "@atlaskit/modal-dialog": "^14.1.0",