@atlaskit/progress-tracker 8.5.3 → 8.5.5
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 +45 -33
- package/dist/cjs/constants.js +2 -3
- package/dist/cjs/internal/bar.js +1 -2
- package/dist/cjs/internal/constants.js +14 -28
- package/dist/cjs/internal/link.js +1 -2
- package/dist/cjs/internal/marker.js +1 -2
- package/dist/cjs/internal/stage.js +4 -5
- package/dist/cjs/internal/utils.js +4 -7
- package/dist/cjs/progress-tracker.js +3 -4
- package/dist/esm/internal/stage.js +2 -2
- package/dist/esm/progress-tracker.js +2 -2
- package/package.json +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,30 +1,42 @@
|
|
|
1
1
|
# @atlaskit/progress-tracker
|
|
2
2
|
|
|
3
|
+
## 8.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41451](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41451) [`b9bbfbe5bbf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9bbfbe5bbf) - Added this package into push model consumption.
|
|
8
|
+
|
|
9
|
+
## 8.5.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 8.5.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`6ab9799d402`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ab9799d402) - The internal composition of this component has changed. There is no expected change in behavior.
|
|
8
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
19
|
+
- [#38750](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38750) [`6ab9799d402`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ab9799d402) - The internal composition of this component has changed. There is no expected change in behavior.
|
|
20
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
9
21
|
- Updated dependencies
|
|
10
22
|
|
|
11
23
|
## 8.5.2
|
|
12
24
|
|
|
13
25
|
### Patch Changes
|
|
14
26
|
|
|
15
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
27
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
16
28
|
|
|
17
29
|
## 8.5.1
|
|
18
30
|
|
|
19
31
|
### Patch Changes
|
|
20
32
|
|
|
21
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
33
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
22
34
|
|
|
23
35
|
## 8.5.0
|
|
24
36
|
|
|
25
37
|
### Minor Changes
|
|
26
38
|
|
|
27
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
39
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
@@ -34,25 +46,25 @@
|
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
- [`65e4baeea85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65e4baeea85) - Internal changes.
|
|
49
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`65e4baeea85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65e4baeea85) - Internal changes.
|
|
38
50
|
|
|
39
51
|
## 8.4.9
|
|
40
52
|
|
|
41
53
|
### Patch Changes
|
|
42
54
|
|
|
43
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
55
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
44
56
|
|
|
45
57
|
## 8.4.8
|
|
46
58
|
|
|
47
59
|
### Patch Changes
|
|
48
60
|
|
|
49
|
-
- [`173f6371859`](https://bitbucket.org/atlassian/atlassian-frontend/commits/173f6371859) - Migrates unit tests from enzyme to RTL.
|
|
61
|
+
- [#31480](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31480) [`173f6371859`](https://bitbucket.org/atlassian/atlassian-frontend/commits/173f6371859) - Migrates unit tests from enzyme to RTL.
|
|
50
62
|
|
|
51
63
|
## 8.4.7
|
|
52
64
|
|
|
53
65
|
### Patch Changes
|
|
54
66
|
|
|
55
|
-
- [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
|
|
67
|
+
- [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242) [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
|
|
56
68
|
|
|
57
69
|
## 8.4.6
|
|
58
70
|
|
|
@@ -64,19 +76,19 @@
|
|
|
64
76
|
|
|
65
77
|
### Patch Changes
|
|
66
78
|
|
|
67
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
79
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
68
80
|
|
|
69
81
|
## 8.4.4
|
|
70
82
|
|
|
71
83
|
### Patch Changes
|
|
72
84
|
|
|
73
|
-
- [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
|
|
85
|
+
- [#29227](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29227) [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
|
|
74
86
|
|
|
75
87
|
## 8.4.3
|
|
76
88
|
|
|
77
89
|
### Patch Changes
|
|
78
90
|
|
|
79
|
-
- [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes.
|
|
91
|
+
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891) [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes.
|
|
80
92
|
- Updated dependencies
|
|
81
93
|
|
|
82
94
|
## 8.4.2
|
|
@@ -95,7 +107,7 @@
|
|
|
95
107
|
|
|
96
108
|
### Minor Changes
|
|
97
109
|
|
|
98
|
-
- [`eb709e1fde3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb709e1fde3) - [ux] Apply spacing tokens and primitive components. Reduce padding between stage labels and progress bar by 4px - overall height of component is therefore also 4px shorter.
|
|
110
|
+
- [#27326](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27326) [`eb709e1fde3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb709e1fde3) - [ux] Apply spacing tokens and primitive components. Reduce padding between stage labels and progress bar by 4px - overall height of component is therefore also 4px shorter.
|
|
99
111
|
|
|
100
112
|
## 8.3.4
|
|
101
113
|
|
|
@@ -107,25 +119,25 @@
|
|
|
107
119
|
|
|
108
120
|
### Patch Changes
|
|
109
121
|
|
|
110
|
-
- [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
|
|
122
|
+
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488) [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
|
|
111
123
|
|
|
112
124
|
## 8.3.2
|
|
113
125
|
|
|
114
126
|
### Patch Changes
|
|
115
127
|
|
|
116
|
-
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
128
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
117
129
|
|
|
118
130
|
## 8.3.1
|
|
119
131
|
|
|
120
132
|
### Patch Changes
|
|
121
133
|
|
|
122
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
134
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
123
135
|
|
|
124
136
|
## 8.3.0
|
|
125
137
|
|
|
126
138
|
### Minor Changes
|
|
127
139
|
|
|
128
|
-
- [`099a8b4949e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/099a8b4949e) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
140
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`099a8b4949e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/099a8b4949e) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
129
141
|
|
|
130
142
|
### Patch Changes
|
|
131
143
|
|
|
@@ -135,7 +147,7 @@
|
|
|
135
147
|
|
|
136
148
|
### Patch Changes
|
|
137
149
|
|
|
138
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
150
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
139
151
|
|
|
140
152
|
## 8.2.4
|
|
141
153
|
|
|
@@ -147,7 +159,7 @@
|
|
|
147
159
|
|
|
148
160
|
### Patch Changes
|
|
149
161
|
|
|
150
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
162
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
151
163
|
|
|
152
164
|
## 8.2.2
|
|
153
165
|
|
|
@@ -165,7 +177,7 @@
|
|
|
165
177
|
|
|
166
178
|
### Minor Changes
|
|
167
179
|
|
|
168
|
-
- [`4e96270c06e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e96270c06e) - [ux] Instrumented progress-tracker with the new theming package, `@atlaskit/tokens`.
|
|
180
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`4e96270c06e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e96270c06e) - [ux] Instrumented progress-tracker with the new theming package, `@atlaskit/tokens`.
|
|
169
181
|
|
|
170
182
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
|
|
171
183
|
These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
|
|
@@ -178,7 +190,7 @@
|
|
|
178
190
|
|
|
179
191
|
### Minor Changes
|
|
180
192
|
|
|
181
|
-
- [`d2429272ffa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2429272ffa) - Migrates usage of `styled-components` to `@emotion`. Under the hood the component also no longer uses `@atlaskit/page/grid`, although still uses the same spacing scale.
|
|
193
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`d2429272ffa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2429272ffa) - Migrates usage of `styled-components` to `@emotion`. Under the hood the component also no longer uses `@atlaskit/page/grid`, although still uses the same spacing scale.
|
|
182
194
|
|
|
183
195
|
## 8.0.4
|
|
184
196
|
|
|
@@ -190,26 +202,26 @@
|
|
|
190
202
|
|
|
191
203
|
### Patch Changes
|
|
192
204
|
|
|
193
|
-
- [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
|
|
205
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
|
|
194
206
|
- Updated dependencies
|
|
195
207
|
|
|
196
208
|
## 8.0.2
|
|
197
209
|
|
|
198
210
|
### Patch Changes
|
|
199
211
|
|
|
200
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
212
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
201
213
|
|
|
202
214
|
## 8.0.1
|
|
203
215
|
|
|
204
216
|
### Patch Changes
|
|
205
217
|
|
|
206
|
-
- [`8ae29c21d55`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ae29c21d55) - Removed the `!important` declaration from the top margin style.
|
|
218
|
+
- [#12412](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12412) [`8ae29c21d55`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ae29c21d55) - Removed the `!important` declaration from the top margin style.
|
|
207
219
|
|
|
208
220
|
## 8.0.0
|
|
209
221
|
|
|
210
222
|
### Major Changes
|
|
211
223
|
|
|
212
|
-
- [`3e1d0e22b98`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3e1d0e22b98) - [ux] Marked a progress tracker wrapper as unordered list. Step component wrapper has been changed to li tag for each step. Added label prop that is used as aria-label.
|
|
224
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`3e1d0e22b98`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3e1d0e22b98) - [ux] Marked a progress tracker wrapper as unordered list. Step component wrapper has been changed to li tag for each step. Added label prop that is used as aria-label.
|
|
213
225
|
|
|
214
226
|
### Patch Changes
|
|
215
227
|
|
|
@@ -219,13 +231,13 @@
|
|
|
219
231
|
|
|
220
232
|
### Patch Changes
|
|
221
233
|
|
|
222
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
234
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
223
235
|
|
|
224
236
|
## 7.0.5
|
|
225
237
|
|
|
226
238
|
### Patch Changes
|
|
227
239
|
|
|
228
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
240
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
229
241
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
230
242
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
231
243
|
|
|
@@ -239,7 +251,7 @@
|
|
|
239
251
|
|
|
240
252
|
### Patch Changes
|
|
241
253
|
|
|
242
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
254
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
243
255
|
|
|
244
256
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
245
257
|
to prevent duplicates of tslib being bundled.
|
|
@@ -248,19 +260,19 @@
|
|
|
248
260
|
|
|
249
261
|
### Patch Changes
|
|
250
262
|
|
|
251
|
-
- [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
263
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293) [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
252
264
|
|
|
253
265
|
## 7.0.1
|
|
254
266
|
|
|
255
267
|
### Patch Changes
|
|
256
268
|
|
|
257
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
269
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
258
270
|
|
|
259
271
|
## 7.0.0
|
|
260
272
|
|
|
261
273
|
### Major Changes
|
|
262
274
|
|
|
263
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
275
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
264
276
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
265
277
|
|
|
266
278
|
### Patch Changes
|
|
@@ -271,13 +283,13 @@
|
|
|
271
283
|
|
|
272
284
|
### Patch Changes
|
|
273
285
|
|
|
274
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
286
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
275
287
|
|
|
276
288
|
## 6.1.7
|
|
277
289
|
|
|
278
290
|
### Patch Changes
|
|
279
291
|
|
|
280
|
-
- [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
|
|
292
|
+
- [#2677](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2677) [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
|
|
281
293
|
|
|
282
294
|
## 6.1.6
|
|
283
295
|
|
package/dist/cjs/constants.js
CHANGED
|
@@ -7,9 +7,8 @@ exports.spacing = void 0;
|
|
|
7
7
|
/**
|
|
8
8
|
* Ideally these are exported by @atlaskit/page
|
|
9
9
|
*/
|
|
10
|
-
var spacing = {
|
|
10
|
+
var spacing = exports.spacing = {
|
|
11
11
|
comfortable: "var(--ds-space-500, 40px)",
|
|
12
12
|
cosy: "var(--ds-space-200, 16px)",
|
|
13
13
|
compact: "var(--ds-space-050, 4px)"
|
|
14
|
-
};
|
|
15
|
-
exports.spacing = spacing;
|
|
14
|
+
};
|
package/dist/cjs/internal/bar.js
CHANGED
|
@@ -4,33 +4,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.varTransitionSpeed = exports.varTransitionEasing = exports.varTransitionDelay = exports.varSpacing = exports.varMarkerColor = exports.varBackgroundColor = exports.TRANSITION_SPEED = exports.SEMI_BOLD_FONT_WEIGHT = exports.REGULAR_FONT_WEIGHT = exports.PROGRESS_BAR_HEIGHT = exports.LINEAR_TRANSITION_SPEED = exports.LABEL_TOP_SPACING = exports.HALF_GRID_SIZE = exports.ANIMATION_EASE_OUT = void 0;
|
|
7
|
-
var TRANSITION_SPEED = 300;
|
|
8
|
-
exports.
|
|
9
|
-
var
|
|
10
|
-
exports.
|
|
11
|
-
var
|
|
12
|
-
exports.
|
|
13
|
-
var
|
|
14
|
-
exports.
|
|
15
|
-
var
|
|
16
|
-
exports.
|
|
17
|
-
var
|
|
18
|
-
exports.
|
|
19
|
-
var
|
|
20
|
-
exports.varTransitionEasing = varTransitionEasing;
|
|
21
|
-
var varMarkerColor = '--ds--pt--mc';
|
|
22
|
-
exports.varMarkerColor = varMarkerColor;
|
|
23
|
-
var varBackgroundColor = '--ds--pt--bg';
|
|
24
|
-
exports.varBackgroundColor = varBackgroundColor;
|
|
25
|
-
var SEMI_BOLD_FONT_WEIGHT = 'semibold';
|
|
26
|
-
exports.SEMI_BOLD_FONT_WEIGHT = SEMI_BOLD_FONT_WEIGHT;
|
|
27
|
-
var REGULAR_FONT_WEIGHT = 'regular';
|
|
28
|
-
exports.REGULAR_FONT_WEIGHT = REGULAR_FONT_WEIGHT;
|
|
29
|
-
var HALF_GRID_SIZE = "var(--ds-space-050, 4px)";
|
|
30
|
-
exports.HALF_GRID_SIZE = HALF_GRID_SIZE;
|
|
31
|
-
var PROGRESS_BAR_HEIGHT = "var(--ds-space-100, 8px)";
|
|
7
|
+
var TRANSITION_SPEED = exports.TRANSITION_SPEED = 300;
|
|
8
|
+
var LINEAR_TRANSITION_SPEED = exports.LINEAR_TRANSITION_SPEED = 50;
|
|
9
|
+
var ANIMATION_EASE_OUT = exports.ANIMATION_EASE_OUT = 'cubic-bezier(0.15,1,0.3,1)';
|
|
10
|
+
var varSpacing = exports.varSpacing = '--ds--pt--sp';
|
|
11
|
+
var varTransitionSpeed = exports.varTransitionSpeed = '--ds--pt--ts';
|
|
12
|
+
var varTransitionDelay = exports.varTransitionDelay = '--ds--pt--td';
|
|
13
|
+
var varTransitionEasing = exports.varTransitionEasing = '--ds--pt--te';
|
|
14
|
+
var varMarkerColor = exports.varMarkerColor = '--ds--pt--mc';
|
|
15
|
+
var varBackgroundColor = exports.varBackgroundColor = '--ds--pt--bg';
|
|
16
|
+
var SEMI_BOLD_FONT_WEIGHT = exports.SEMI_BOLD_FONT_WEIGHT = 'semibold';
|
|
17
|
+
var REGULAR_FONT_WEIGHT = exports.REGULAR_FONT_WEIGHT = 'regular';
|
|
18
|
+
var HALF_GRID_SIZE = exports.HALF_GRID_SIZE = "var(--ds-space-050, 4px)";
|
|
19
|
+
var PROGRESS_BAR_HEIGHT = exports.PROGRESS_BAR_HEIGHT = "var(--ds-space-100, 8px)";
|
|
32
20
|
|
|
33
21
|
// Labels sit 16px from bottom of progress bar i.e. 8 + 16
|
|
34
|
-
exports.
|
|
35
|
-
var LABEL_TOP_SPACING = "var(--ds-space-300, 24px)";
|
|
36
|
-
exports.LABEL_TOP_SPACING = LABEL_TOP_SPACING;
|
|
22
|
+
var LABEL_TOP_SPACING = exports.LABEL_TOP_SPACING = "var(--ds-space-300, 24px)";
|
|
@@ -21,8 +21,8 @@ var _bar = _interopRequireDefault(require("./bar"));
|
|
|
21
21
|
var _constants = require("./constants");
|
|
22
22
|
var _marker = _interopRequireDefault(require("./marker"));
|
|
23
23
|
var _utils = require("./utils");
|
|
24
|
-
function ownKeys(
|
|
25
|
-
function _objectSpread(
|
|
24
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26
26
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
27
27
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /* eslint-disable @atlaskit/design-system/no-nested-styles */ /** @jsx jsx */
|
|
28
28
|
var listItemContentStyles = (0, _primitives.xcss)({
|
|
@@ -47,7 +47,7 @@ var titleStyles = (0, _react2.css)({
|
|
|
47
47
|
transition: "opacity var(".concat(_constants.varTransitionSpeed, ") cubic-bezier(0.2, 0, 0, 1)")
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
|
-
var ProgressTrackerStage = /*#__PURE__*/function (_PureComponent) {
|
|
50
|
+
var ProgressTrackerStage = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
51
51
|
(0, _inherits2.default)(ProgressTrackerStage, _PureComponent);
|
|
52
52
|
var _super = _createSuper(ProgressTrackerStage);
|
|
53
53
|
function ProgressTrackerStage(props) {
|
|
@@ -144,5 +144,4 @@ var ProgressTrackerStage = /*#__PURE__*/function (_PureComponent) {
|
|
|
144
144
|
}
|
|
145
145
|
}]);
|
|
146
146
|
return ProgressTrackerStage;
|
|
147
|
-
}(_react.PureComponent);
|
|
148
|
-
exports.default = ProgressTrackerStage;
|
|
147
|
+
}(_react.PureComponent);
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getTextColor = exports.getMarkerColor = exports.getFontWeight = void 0;
|
|
7
7
|
var _colors = require("@atlaskit/theme/colors");
|
|
8
8
|
var _constants = require("./constants");
|
|
9
|
-
var getMarkerColor = function getMarkerColor(status) {
|
|
9
|
+
var getMarkerColor = exports.getMarkerColor = function getMarkerColor(status) {
|
|
10
10
|
switch (status) {
|
|
11
11
|
case 'unvisited':
|
|
12
12
|
return "var(--ds-icon-subtle, ".concat(_colors.N70, ")");
|
|
@@ -18,8 +18,7 @@ var getMarkerColor = function getMarkerColor(status) {
|
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
exports.
|
|
22
|
-
var getTextColor = function getTextColor(status) {
|
|
21
|
+
var getTextColor = exports.getTextColor = function getTextColor(status) {
|
|
23
22
|
switch (status) {
|
|
24
23
|
case 'unvisited':
|
|
25
24
|
return 'subtlest';
|
|
@@ -33,8 +32,7 @@ var getTextColor = function getTextColor(status) {
|
|
|
33
32
|
return;
|
|
34
33
|
}
|
|
35
34
|
};
|
|
36
|
-
exports.
|
|
37
|
-
var getFontWeight = function getFontWeight(status) {
|
|
35
|
+
var getFontWeight = exports.getFontWeight = function getFontWeight(status) {
|
|
38
36
|
switch (status) {
|
|
39
37
|
case 'unvisited':
|
|
40
38
|
return _constants.REGULAR_FONT_WEIGHT;
|
|
@@ -45,5 +43,4 @@ var getFontWeight = function getFontWeight(status) {
|
|
|
45
43
|
default:
|
|
46
44
|
return undefined;
|
|
47
45
|
}
|
|
48
|
-
};
|
|
49
|
-
exports.getFontWeight = getFontWeight;
|
|
46
|
+
};
|
|
@@ -18,8 +18,8 @@ var _constants = require("./constants");
|
|
|
18
18
|
var _constants2 = require("./internal/constants");
|
|
19
19
|
var _link = _interopRequireDefault(require("./internal/link"));
|
|
20
20
|
var _stage = _interopRequireDefault(require("./internal/stage"));
|
|
21
|
-
function ownKeys(
|
|
22
|
-
function _objectSpread(
|
|
21
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
23
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
24
24
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /* eslint-disable @atlaskit/design-system/no-nested-styles */ /** @jsx jsx */
|
|
25
25
|
var containerStyles = (0, _react2.css)({
|
|
@@ -35,7 +35,7 @@ var containerStyles = (0, _react2.css)({
|
|
|
35
35
|
marginTop: "var(--ds-space-500, 40px)"
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
-
var ProgressTracker = /*#__PURE__*/function (_PureComponent) {
|
|
38
|
+
var ProgressTracker = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
39
39
|
(0, _inherits2.default)(ProgressTracker, _PureComponent);
|
|
40
40
|
var _super = _createSuper(ProgressTracker);
|
|
41
41
|
function ProgressTracker() {
|
|
@@ -129,7 +129,6 @@ var ProgressTracker = /*#__PURE__*/function (_PureComponent) {
|
|
|
129
129
|
}]);
|
|
130
130
|
return ProgressTracker;
|
|
131
131
|
}(_react.PureComponent);
|
|
132
|
-
exports.default = ProgressTracker;
|
|
133
132
|
(0, _defineProperty2.default)(ProgressTracker, "defaultProps", {
|
|
134
133
|
items: [],
|
|
135
134
|
spacing: 'cosy',
|
|
@@ -5,8 +5,8 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
5
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
-
function ownKeys(
|
|
9
|
-
function _objectSpread(
|
|
8
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
10
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
/* eslint-disable @atlaskit/design-system/no-nested-styles */
|
|
@@ -5,8 +5,8 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
5
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
-
function ownKeys(
|
|
9
|
-
function _objectSpread(
|
|
8
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
10
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
/* eslint-disable @atlaskit/design-system/no-nested-styles */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/progress-tracker",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.5",
|
|
4
4
|
"description": "A progress tracker displays the steps and progress through a journey.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -17,16 +17,19 @@
|
|
|
17
17
|
"atlassian": {
|
|
18
18
|
"team": "Design System Team",
|
|
19
19
|
"releaseModel": "continuous",
|
|
20
|
+
"productPushConsumption": [
|
|
21
|
+
"jira"
|
|
22
|
+
],
|
|
20
23
|
"website": {
|
|
21
24
|
"name": "Progress tracker",
|
|
22
25
|
"category": "Components"
|
|
23
26
|
}
|
|
24
27
|
},
|
|
25
28
|
"dependencies": {
|
|
26
|
-
"@atlaskit/ds-explorations": "^
|
|
27
|
-
"@atlaskit/primitives": "^1.
|
|
28
|
-
"@atlaskit/theme": "^12.
|
|
29
|
-
"@atlaskit/tokens": "^1.
|
|
29
|
+
"@atlaskit/ds-explorations": "^3.0.0",
|
|
30
|
+
"@atlaskit/primitives": "^1.6.0",
|
|
31
|
+
"@atlaskit/theme": "^12.6.0",
|
|
32
|
+
"@atlaskit/tokens": "^1.26.0",
|
|
30
33
|
"@babel/runtime": "^7.0.0",
|
|
31
34
|
"@emotion/react": "^11.7.1",
|
|
32
35
|
"react-transition-group": "^4.4.1"
|