@atlaskit/progress-tracker 8.6.1 → 8.6.2

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.
@@ -104,7 +104,9 @@ var ProgressTrackerStage = exports.default = /*#__PURE__*/function (_PureCompone
104
104
  var ariaCurrent = item.status === 'current' ? 'step' : 'false';
105
105
  var listInlineStyles = (_listInlineStyles = {}, (0, _defineProperty2.default)(_listInlineStyles, _constants.varTransitionSpeed, "".concat(transitionSpeed, "ms")), (0, _defineProperty2.default)(_listInlineStyles, _constants.varTransitionDelay, "".concat(transitionDelay, "ms")), (0, _defineProperty2.default)(_listInlineStyles, _constants.varTransitionEasing, transitionEasing), (0, _defineProperty2.default)(_listInlineStyles, _constants.varMarkerColor, this.state.oldMarkerColor), (0, _defineProperty2.default)(_listInlineStyles, _constants.varBackgroundColor, (0, _utils.getMarkerColor)(item.status)), _listInlineStyles);
106
106
  return (0, _react2.jsx)("li", {
107
- "data-testid": testId,
107
+ "data-testid": testId
108
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
109
+ ,
108
110
  style: listInlineStyles,
109
111
  css: listItemStyles,
110
112
  "aria-current": ariaCurrent
@@ -120,7 +120,9 @@ var ProgressTracker = exports.default = /*#__PURE__*/function (_PureComponent) {
120
120
  gridTemplateColumns: "repeat(".concat(items.length, ", 1fr)")
121
121
  }, (0, _defineProperty2.default)(_listInlineStyles, _constants2.varSpacing, _constants.spacing[this.props.spacing]), (0, _defineProperty2.default)(_listInlineStyles, "maxWidth", 8 * 10 * items.length * 2), _listInlineStyles);
122
122
  return (0, _react2.jsx)("ul", {
123
- "data-testid": testId,
123
+ "data-testid": testId
124
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
125
+ ,
124
126
  style: listInlineStyles,
125
127
  css: containerStyles,
126
128
  "aria-label": label
@@ -84,7 +84,9 @@ export default class ProgressTrackerStage extends PureComponent {
84
84
  [varBackgroundColor]: getMarkerColor(item.status)
85
85
  };
86
86
  return jsx("li", {
87
- "data-testid": testId,
87
+ "data-testid": testId
88
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
89
+ ,
88
90
  style: listInlineStyles,
89
91
  css: listItemStyles,
90
92
  "aria-current": ariaCurrent
@@ -84,7 +84,9 @@ export default class ProgressTracker extends PureComponent {
84
84
  maxWidth: 8 * 10 * items.length * 2
85
85
  };
86
86
  return jsx("ul", {
87
- "data-testid": testId,
87
+ "data-testid": testId
88
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
89
+ ,
88
90
  style: listInlineStyles,
89
91
  css: containerStyles,
90
92
  "aria-label": label
@@ -99,7 +99,9 @@ var ProgressTrackerStage = /*#__PURE__*/function (_PureComponent) {
99
99
  var ariaCurrent = item.status === 'current' ? 'step' : 'false';
100
100
  var listInlineStyles = (_listInlineStyles = {}, _defineProperty(_listInlineStyles, varTransitionSpeed, "".concat(transitionSpeed, "ms")), _defineProperty(_listInlineStyles, varTransitionDelay, "".concat(transitionDelay, "ms")), _defineProperty(_listInlineStyles, varTransitionEasing, transitionEasing), _defineProperty(_listInlineStyles, varMarkerColor, this.state.oldMarkerColor), _defineProperty(_listInlineStyles, varBackgroundColor, getMarkerColor(item.status)), _listInlineStyles);
101
101
  return jsx("li", {
102
- "data-testid": testId,
102
+ "data-testid": testId
103
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
104
+ ,
103
105
  style: listInlineStyles,
104
106
  css: listItemStyles,
105
107
  "aria-current": ariaCurrent
@@ -115,7 +115,9 @@ var ProgressTracker = /*#__PURE__*/function (_PureComponent) {
115
115
  gridTemplateColumns: "repeat(".concat(items.length, ", 1fr)")
116
116
  }, _defineProperty(_listInlineStyles, varSpacing, spacing[this.props.spacing]), _defineProperty(_listInlineStyles, "maxWidth", 8 * 10 * items.length * 2), _listInlineStyles);
117
117
  return jsx("ul", {
118
- "data-testid": testId,
118
+ "data-testid": testId
119
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
120
+ ,
119
121
  style: listInlineStyles,
120
122
  css: containerStyles,
121
123
  "aria-label": label
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
3
- import { Stage } from '../types';
2
+ import { type FC } from 'react';
3
+ import { type Stage } from '../types';
4
4
  /**
5
5
  * __Progress tracker link__
6
6
  */
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
2
+ import { type FC } from 'react';
3
3
  /**
4
4
  * __Progress marker__
5
5
  *
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
3
- import { Stage } from '../types';
2
+ import { type FC } from 'react';
3
+ import { type Stage } from '../types';
4
4
  /**
5
5
  * __Progress tracker link__
6
6
  */
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
2
+ import { type FC } from 'react';
3
3
  /**
4
4
  * __Progress marker__
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-tracker",
3
- "version": "8.6.1",
3
+ "version": "8.6.2",
4
4
  "description": "A progress tracker displays the steps and progress through a journey.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,9 +27,9 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/primitives": "^6.2.0",
31
- "@atlaskit/theme": "^12.8.0",
32
- "@atlaskit/tokens": "^1.48.0",
30
+ "@atlaskit/primitives": "^7.0.0",
31
+ "@atlaskit/theme": "^12.9.0",
32
+ "@atlaskit/tokens": "^1.49.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/react": "^11.7.1",
35
35
  "react-transition-group": "^4.4.1"
@@ -43,7 +43,6 @@
43
43
  "@atlaskit/ds-lib": "^2.3.0",
44
44
  "@atlaskit/ssr": "*",
45
45
  "@atlaskit/visual-regression": "*",
46
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
47
46
  "@testing-library/react": "^12.1.5",
48
47
  "@testing-library/user-event": "^14.4.3",
49
48
  "@types/react-transition-group": "^2.0.6",
@@ -86,6 +85,5 @@
86
85
  "./types": "./src/types.tsx",
87
86
  ".": "./src/index.tsx"
88
87
  },
89
- "homepage": "https://atlassian.design/components/progress-tracker/",
90
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
88
+ "homepage": "https://atlassian.design/components/progress-tracker/"
91
89
  }