@atlaskit/progress-indicator 9.5.17 → 9.5.18

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,11 @@
1
1
  # @atlaskit/progress-indicator
2
2
 
3
+ ## 9.5.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42460](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42460) [`a2a52116171`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2a52116171) - Remove role=tablist when progress indicator is not interactive
8
+
3
9
  ## 9.5.17
4
10
 
5
11
  ### Patch Changes
@@ -23,7 +23,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
23
23
  /** @jsx jsx */
24
24
 
25
25
  var packageName = "@atlaskit/progress-indicator";
26
- var packageVersion = "9.5.17";
26
+ var packageVersion = "9.5.18";
27
27
 
28
28
  /**
29
29
  * __ProgressDots__
@@ -106,7 +106,7 @@ var ProgressDots = function ProgressDots(_ref) {
106
106
  var theme = (0, _components.useGlobalTheme)();
107
107
  return (0, _react2.jsx)(_primitives.Box, {
108
108
  style: (_ref2 = {}, (0, _defineProperty2.default)(_ref2, _constants.varDotsSize, "".concat(_constants.sizes[size], "px")), (0, _defineProperty2.default)(_ref2, _constants.varDotsMargin, rawGapValue), _ref2),
109
- role: "tablist"
109
+ role: onSelect && 'tablist'
110
110
  }, (0, _react2.jsx)(_primitives.Inline, {
111
111
  testId: testId,
112
112
  ref: function ref(r) {
@@ -10,7 +10,7 @@ import { getBgColor } from './appearances';
10
10
  import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
11
11
  import { ButtonIndicator, PresentationalIndicator } from './indicator';
12
12
  const packageName = "@atlaskit/progress-indicator";
13
- const packageVersion = "9.5.17";
13
+ const packageVersion = "9.5.18";
14
14
 
15
15
  /**
16
16
  * __ProgressDots__
@@ -91,7 +91,7 @@ const ProgressDots = ({
91
91
  [varDotsSize]: `${sizes[size]}px`,
92
92
  [varDotsMargin]: rawGapValue
93
93
  },
94
- role: "tablist"
94
+ role: onSelect && 'tablist'
95
95
  }, jsx(Inline, {
96
96
  testId: testId,
97
97
  ref: r => {
@@ -12,7 +12,7 @@ import { getBgColor } from './appearances';
12
12
  import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
13
13
  import { ButtonIndicator, PresentationalIndicator } from './indicator';
14
14
  var packageName = "@atlaskit/progress-indicator";
15
- var packageVersion = "9.5.17";
15
+ var packageVersion = "9.5.18";
16
16
 
17
17
  /**
18
18
  * __ProgressDots__
@@ -95,7 +95,7 @@ var ProgressDots = function ProgressDots(_ref) {
95
95
  var theme = useGlobalTheme();
96
96
  return jsx(Box, {
97
97
  style: (_ref2 = {}, _defineProperty(_ref2, varDotsSize, "".concat(sizes[size], "px")), _defineProperty(_ref2, varDotsMargin, rawGapValue), _ref2),
98
- role: "tablist"
98
+ role: onSelect && 'tablist'
99
99
  }, jsx(Inline, {
100
100
  testId: testId,
101
101
  ref: function ref(r) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-indicator",
3
- "version": "9.5.17",
3
+ "version": "9.5.18",
4
4
  "description": "A progress indicator shows the user where they are along the steps of a journey.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/analytics-next": "^9.1.0",
30
30
  "@atlaskit/ds-lib": "^2.2.0",
31
31
  "@atlaskit/focus-ring": "^1.3.0",
32
- "@atlaskit/primitives": "^1.6.0",
32
+ "@atlaskit/primitives": "^1.9.0",
33
33
  "@atlaskit/theme": "^12.6.0",
34
34
  "@atlaskit/tokens": "^1.28.0",
35
35
  "@babel/runtime": "^7.0.0",