@atlaskit/section-message 6.6.3 → 6.6.4

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,14 @@
1
1
  # @atlaskit/section-message
2
2
 
3
+ ## 6.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#137586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137586)
8
+ [`7ef921d67c033`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7ef921d67c033) -
9
+ Accessibility changes. Add roles to improve semantics.
10
+ - Updated dependencies
11
+
3
12
  ## 6.6.3
4
13
 
5
14
  ### Patch Changes
@@ -77,8 +77,14 @@ var SectionMessage = /*#__PURE__*/(0, _react.forwardRef)(function SectionMessage
77
77
  testId: testId && "".concat(testId, "--actions"),
78
78
  separator: "\xB7",
79
79
  space: "space.100",
80
- rowSpace: "space.0"
81
- }, actionsArray))));
80
+ rowSpace: "space.0",
81
+ role: "list"
82
+ }, actionsArray.map(function (action, id) {
83
+ return /*#__PURE__*/_react.default.createElement(_primitives.Inline, {
84
+ role: "listitem",
85
+ key: id
86
+ }, action);
87
+ })))));
82
88
  });
83
89
  var appearanceMap = {
84
90
  information: 'color.background.information',
@@ -68,8 +68,12 @@ const SectionMessage = /*#__PURE__*/forwardRef(function SectionMessage({
68
68
  testId: testId && `${testId}--actions`,
69
69
  separator: "\xB7",
70
70
  space: "space.100",
71
- rowSpace: "space.0"
72
- }, actionsArray))));
71
+ rowSpace: "space.0",
72
+ role: "list"
73
+ }, actionsArray.map((action, id) => /*#__PURE__*/React.createElement(Inline, {
74
+ role: "listitem",
75
+ key: id
76
+ }, action))))));
73
77
  });
74
78
  const appearanceMap = {
75
79
  information: 'color.background.information',
@@ -67,8 +67,14 @@ var SectionMessage = /*#__PURE__*/forwardRef(function SectionMessage(_ref, ref)
67
67
  testId: testId && "".concat(testId, "--actions"),
68
68
  separator: "\xB7",
69
69
  space: "space.100",
70
- rowSpace: "space.0"
71
- }, actionsArray))));
70
+ rowSpace: "space.0",
71
+ role: "list"
72
+ }, actionsArray.map(function (action, id) {
73
+ return /*#__PURE__*/React.createElement(Inline, {
74
+ role: "listitem",
75
+ key: id
76
+ }, action);
77
+ })))));
72
78
  });
73
79
  var appearanceMap = {
74
80
  information: 'color.background.information',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.6.3",
3
+ "version": "6.6.4",
4
4
  "description": "A section message is used to alert users to a particular section of the screen.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/button": "^20.1.0",
41
41
  "@atlaskit/codemod-utils": "^4.2.0",
42
42
  "@atlaskit/heading": "^2.4.0",
43
- "@atlaskit/icon": "^22.15.0",
43
+ "@atlaskit/icon": "^22.16.0",
44
44
  "@atlaskit/primitives": "^12.1.0",
45
45
  "@atlaskit/theme": "^13.0.0",
46
46
  "@atlaskit/tokens": "^1.59.0",