@atlaskit/progress-tracker 10.4.1 → 10.4.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 +12 -0
- package/dist/cjs/internal/stage.compiled.css +2 -2
- package/dist/cjs/internal/stage.js +6 -4
- package/dist/es2019/internal/stage.compiled.css +2 -2
- package/dist/es2019/internal/stage.js +6 -4
- package/dist/esm/internal/stage.compiled.css +2 -2
- package/dist/esm/internal/stage.js +6 -4
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._1t9yph28.fade-appear.fade-appear-active{transition:opacity var(--ds--pt--ts) cubic-bezier(.2,0,0,1)}
|
|
3
3
|
._v564ph28{transition:opacity var(--ds--pt--ts) cubic-bezier(.2,0,0,1)}
|
|
4
4
|
._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
12
12
|
._ahbqze3t{margin-inline-start:var(--ds-space-0,0)}
|
|
13
13
|
._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
|
|
14
|
-
.
|
|
14
|
+
._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
|
|
15
15
|
._kqswh2mm{position:relative}
|
|
16
16
|
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
17
17
|
._syaz1oa5{color:var(--ds-text-brand,#1868db)}
|
|
@@ -39,9 +39,9 @@ var textColor = {
|
|
|
39
39
|
};
|
|
40
40
|
var fontWeight = {
|
|
41
41
|
unvisited: "_k48pi7a9",
|
|
42
|
-
current: "
|
|
43
|
-
visited: "
|
|
44
|
-
disabled: "
|
|
42
|
+
current: "_k48pwu06",
|
|
43
|
+
visited: "_k48pwu06",
|
|
44
|
+
disabled: "_k48pwu06"
|
|
45
45
|
};
|
|
46
46
|
var getMarkerColor = function getMarkerColor(_ref) {
|
|
47
47
|
var status = _ref.status,
|
|
@@ -65,6 +65,8 @@ var getMarkerColor = function getMarkerColor(_ref) {
|
|
|
65
65
|
};
|
|
66
66
|
var listItemStyles = null;
|
|
67
67
|
var titleStyles = null;
|
|
68
|
+
|
|
69
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
68
70
|
var ProgressTrackerStage = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
69
71
|
function ProgressTrackerStage(props) {
|
|
70
72
|
var _this;
|
|
@@ -167,7 +169,7 @@ var ProgressTrackerStage = exports.default = /*#__PURE__*/function (_PureCompone
|
|
|
167
169
|
nodeRef: this.nodeRefTitle
|
|
168
170
|
}, /*#__PURE__*/React.createElement("div", {
|
|
169
171
|
"data-testid": testId && "".concat(testId, "-title"),
|
|
170
|
-
className: (0, _runtime.ax)(["
|
|
172
|
+
className: (0, _runtime.ax)(["_11c8fhey _v564ph28 _1pfhv47k _y3gn1h6o _1t9yph28 _1ez2kb7n _1uuw17dr", textColor[item.status], fontWeight[item.status]])
|
|
171
173
|
}, this.shouldShowLink() ? render.link({
|
|
172
174
|
item: item
|
|
173
175
|
}) : item.label))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._1t9yph28.fade-appear.fade-appear-active{transition:opacity var(--ds--pt--ts) cubic-bezier(.2,0,0,1)}
|
|
3
3
|
._v564ph28{transition:opacity var(--ds--pt--ts) cubic-bezier(.2,0,0,1)}
|
|
4
4
|
._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
12
12
|
._ahbqze3t{margin-inline-start:var(--ds-space-0,0)}
|
|
13
13
|
._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
|
|
14
|
-
.
|
|
14
|
+
._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
|
|
15
15
|
._kqswh2mm{position:relative}
|
|
16
16
|
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
17
17
|
._syaz1oa5{color:var(--ds-text-brand,#1868db)}
|
|
@@ -20,9 +20,9 @@ const textColor = {
|
|
|
20
20
|
};
|
|
21
21
|
const fontWeight = {
|
|
22
22
|
unvisited: "_k48pi7a9",
|
|
23
|
-
current: "
|
|
24
|
-
visited: "
|
|
25
|
-
disabled: "
|
|
23
|
+
current: "_k48pwu06",
|
|
24
|
+
visited: "_k48pwu06",
|
|
25
|
+
disabled: "_k48pwu06"
|
|
26
26
|
};
|
|
27
27
|
const getMarkerColor = ({
|
|
28
28
|
status,
|
|
@@ -47,6 +47,8 @@ const getMarkerColor = ({
|
|
|
47
47
|
};
|
|
48
48
|
const listItemStyles = null;
|
|
49
49
|
const titleStyles = null;
|
|
50
|
+
|
|
51
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
50
52
|
export default class ProgressTrackerStage extends PureComponent {
|
|
51
53
|
constructor(props) {
|
|
52
54
|
super(props);
|
|
@@ -147,7 +149,7 @@ export default class ProgressTrackerStage extends PureComponent {
|
|
|
147
149
|
nodeRef: this.nodeRefTitle
|
|
148
150
|
}, /*#__PURE__*/React.createElement("div", {
|
|
149
151
|
"data-testid": testId && `${testId}-title`,
|
|
150
|
-
className: ax(["
|
|
152
|
+
className: ax(["_11c8fhey _v564ph28 _1pfhv47k _y3gn1h6o _1t9yph28 _1ez2kb7n _1uuw17dr", textColor[item.status], fontWeight[item.status]])
|
|
151
153
|
}, this.shouldShowLink() ? render.link({
|
|
152
154
|
item
|
|
153
155
|
}) : item.label))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._1t9yph28.fade-appear.fade-appear-active{transition:opacity var(--ds--pt--ts) cubic-bezier(.2,0,0,1)}
|
|
3
3
|
._v564ph28{transition:opacity var(--ds--pt--ts) cubic-bezier(.2,0,0,1)}
|
|
4
4
|
._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
12
12
|
._ahbqze3t{margin-inline-start:var(--ds-space-0,0)}
|
|
13
13
|
._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
|
|
14
|
-
.
|
|
14
|
+
._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
|
|
15
15
|
._kqswh2mm{position:relative}
|
|
16
16
|
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
17
17
|
._syaz1oa5{color:var(--ds-text-brand,#1868db)}
|
|
@@ -30,9 +30,9 @@ var textColor = {
|
|
|
30
30
|
};
|
|
31
31
|
var fontWeight = {
|
|
32
32
|
unvisited: "_k48pi7a9",
|
|
33
|
-
current: "
|
|
34
|
-
visited: "
|
|
35
|
-
disabled: "
|
|
33
|
+
current: "_k48pwu06",
|
|
34
|
+
visited: "_k48pwu06",
|
|
35
|
+
disabled: "_k48pwu06"
|
|
36
36
|
};
|
|
37
37
|
var getMarkerColor = function getMarkerColor(_ref) {
|
|
38
38
|
var status = _ref.status,
|
|
@@ -56,6 +56,8 @@ var getMarkerColor = function getMarkerColor(_ref) {
|
|
|
56
56
|
};
|
|
57
57
|
var listItemStyles = null;
|
|
58
58
|
var titleStyles = null;
|
|
59
|
+
|
|
60
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
59
61
|
var ProgressTrackerStage = /*#__PURE__*/function (_PureComponent) {
|
|
60
62
|
function ProgressTrackerStage(props) {
|
|
61
63
|
var _this;
|
|
@@ -158,7 +160,7 @@ var ProgressTrackerStage = /*#__PURE__*/function (_PureComponent) {
|
|
|
158
160
|
nodeRef: this.nodeRefTitle
|
|
159
161
|
}, /*#__PURE__*/React.createElement("div", {
|
|
160
162
|
"data-testid": testId && "".concat(testId, "-title"),
|
|
161
|
-
className: ax(["
|
|
163
|
+
className: ax(["_11c8fhey _v564ph28 _1pfhv47k _y3gn1h6o _1t9yph28 _1ez2kb7n _1uuw17dr", textColor[item.status], fontWeight[item.status]])
|
|
162
164
|
}, this.shouldShowLink() ? render.link({
|
|
163
165
|
item: item
|
|
164
166
|
}) : item.label))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/progress-tracker",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.3",
|
|
4
4
|
"description": "A progress tracker displays the steps and progress through a journey.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/css": "^0.19.0",
|
|
28
|
-
"@atlaskit/primitives": "^
|
|
28
|
+
"@atlaskit/primitives": "^18.0.0",
|
|
29
29
|
"@atlaskit/theme": "^21.0.0",
|
|
30
|
-
"@atlaskit/tokens": "^
|
|
30
|
+
"@atlaskit/tokens": "^11.0.0",
|
|
31
31
|
"@babel/runtime": "^7.0.0",
|
|
32
32
|
"@compiled/react": "^0.18.6",
|
|
33
33
|
"react-transition-group": "^4.4.1"
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@af/integration-testing": "workspace:^",
|
|
41
41
|
"@af/visual-regression": "workspace:^",
|
|
42
42
|
"@atlaskit/button": "^23.9.0",
|
|
43
|
-
"@atlaskit/docs": "^11.
|
|
44
|
-
"@atlaskit/icon": "^
|
|
45
|
-
"@atlaskit/link": "^3.
|
|
46
|
-
"@atlaskit/section-message": "^8.
|
|
43
|
+
"@atlaskit/docs": "^11.3.0",
|
|
44
|
+
"@atlaskit/icon": "^30.0.0",
|
|
45
|
+
"@atlaskit/link": "^3.3.0",
|
|
46
|
+
"@atlaskit/section-message": "^8.12.0",
|
|
47
47
|
"@atlassian/ssr-tests": "workspace:^",
|
|
48
|
-
"@testing-library/react": "^
|
|
48
|
+
"@testing-library/react": "^16.3.0",
|
|
49
49
|
"@testing-library/user-event": "^14.4.3",
|
|
50
50
|
"@types/react-transition-group": "^2.0.6",
|
|
51
51
|
"jest-in-case": "^1.0.2",
|