@atlaskit/progress-tracker 10.4.0 → 10.4.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.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/internal/stage.compiled.css +2 -2
- package/dist/cjs/internal/stage.js +4 -4
- package/dist/es2019/internal/stage.compiled.css +2 -2
- package/dist/es2019/internal/stage.js +4 -4
- package/dist/esm/internal/stage.compiled.css +2 -2
- package/dist/esm/internal/stage.js +4 -4
- package/package.json +9 -9
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,
|
|
@@ -167,7 +167,7 @@ var ProgressTrackerStage = exports.default = /*#__PURE__*/function (_PureCompone
|
|
|
167
167
|
nodeRef: this.nodeRefTitle
|
|
168
168
|
}, /*#__PURE__*/React.createElement("div", {
|
|
169
169
|
"data-testid": testId && "".concat(testId, "-title"),
|
|
170
|
-
className: (0, _runtime.ax)(["
|
|
170
|
+
className: (0, _runtime.ax)(["_11c8fhey _v564ph28 _1pfhv47k _y3gn1h6o _1t9yph28 _1ez2kb7n _1uuw17dr", textColor[item.status], fontWeight[item.status]])
|
|
171
171
|
}, this.shouldShowLink() ? render.link({
|
|
172
172
|
item: item
|
|
173
173
|
}) : 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,
|
|
@@ -147,7 +147,7 @@ export default class ProgressTrackerStage extends PureComponent {
|
|
|
147
147
|
nodeRef: this.nodeRefTitle
|
|
148
148
|
}, /*#__PURE__*/React.createElement("div", {
|
|
149
149
|
"data-testid": testId && `${testId}-title`,
|
|
150
|
-
className: ax(["
|
|
150
|
+
className: ax(["_11c8fhey _v564ph28 _1pfhv47k _y3gn1h6o _1t9yph28 _1ez2kb7n _1uuw17dr", textColor[item.status], fontWeight[item.status]])
|
|
151
151
|
}, this.shouldShowLink() ? render.link({
|
|
152
152
|
item
|
|
153
153
|
}) : 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,
|
|
@@ -158,7 +158,7 @@ var ProgressTrackerStage = /*#__PURE__*/function (_PureComponent) {
|
|
|
158
158
|
nodeRef: this.nodeRefTitle
|
|
159
159
|
}, /*#__PURE__*/React.createElement("div", {
|
|
160
160
|
"data-testid": testId && "".concat(testId, "-title"),
|
|
161
|
-
className: ax(["
|
|
161
|
+
className: ax(["_11c8fhey _v564ph28 _1pfhv47k _y3gn1h6o _1t9yph28 _1ez2kb7n _1uuw17dr", textColor[item.status], fontWeight[item.status]])
|
|
162
162
|
}, this.shouldShowLink() ? render.link({
|
|
163
163
|
item: item
|
|
164
164
|
}) : 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.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/"
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/css": "^0.
|
|
28
|
-
"@atlaskit/primitives": "^
|
|
27
|
+
"@atlaskit/css": "^0.19.0",
|
|
28
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
29
29
|
"@atlaskit/theme": "^21.0.0",
|
|
30
|
-
"@atlaskit/tokens": "^
|
|
30
|
+
"@atlaskit/tokens": "^10.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": "^29.
|
|
45
|
-
"@atlaskit/link": "^3.
|
|
46
|
-
"@atlaskit/section-message": "^8.
|
|
43
|
+
"@atlaskit/docs": "^11.3.0",
|
|
44
|
+
"@atlaskit/icon": "^29.4.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",
|