@atlaskit/progress-tracker 8.5.3 → 8.5.4

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,30 +1,36 @@
1
1
  # @atlaskit/progress-tracker
2
2
 
3
+ ## 8.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 8.5.3
4
10
 
5
11
  ### Patch Changes
6
12
 
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
13
+ - [#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.
14
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
9
15
  - Updated dependencies
10
16
 
11
17
  ## 8.5.2
12
18
 
13
19
  ### Patch Changes
14
20
 
15
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
21
+ - [#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
22
 
17
23
  ## 8.5.1
18
24
 
19
25
  ### Patch Changes
20
26
 
21
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
27
+ - [#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
28
 
23
29
  ## 8.5.0
24
30
 
25
31
  ### Minor Changes
26
32
 
27
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
33
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
28
34
 
29
35
  ### Patch Changes
30
36
 
@@ -34,25 +40,25 @@
34
40
 
35
41
  ### Patch Changes
36
42
 
37
- - [`65e4baeea85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65e4baeea85) - Internal changes.
43
+ - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`65e4baeea85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65e4baeea85) - Internal changes.
38
44
 
39
45
  ## 8.4.9
40
46
 
41
47
  ### Patch Changes
42
48
 
43
- - [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
49
+ - [#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
50
 
45
51
  ## 8.4.8
46
52
 
47
53
  ### Patch Changes
48
54
 
49
- - [`173f6371859`](https://bitbucket.org/atlassian/atlassian-frontend/commits/173f6371859) - Migrates unit tests from enzyme to RTL.
55
+ - [#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
56
 
51
57
  ## 8.4.7
52
58
 
53
59
  ### Patch Changes
54
60
 
55
- - [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
61
+ - [#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
62
 
57
63
  ## 8.4.6
58
64
 
@@ -64,19 +70,19 @@
64
70
 
65
71
  ### Patch Changes
66
72
 
67
- - [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
73
+ - [#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
74
 
69
75
  ## 8.4.4
70
76
 
71
77
  ### Patch Changes
72
78
 
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.
79
+ - [#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
80
 
75
81
  ## 8.4.3
76
82
 
77
83
  ### Patch Changes
78
84
 
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.
85
+ - [#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
86
  - Updated dependencies
81
87
 
82
88
  ## 8.4.2
@@ -95,7 +101,7 @@
95
101
 
96
102
  ### Minor Changes
97
103
 
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.
104
+ - [#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
105
 
100
106
  ## 8.3.4
101
107
 
@@ -107,25 +113,25 @@
107
113
 
108
114
  ### Patch Changes
109
115
 
110
- - [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
116
+ - [#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
117
 
112
118
  ## 8.3.2
113
119
 
114
120
  ### Patch Changes
115
121
 
116
- - [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
122
+ - [#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
123
 
118
124
  ## 8.3.1
119
125
 
120
126
  ### Patch Changes
121
127
 
122
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
128
+ - [#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
129
 
124
130
  ## 8.3.0
125
131
 
126
132
  ### Minor Changes
127
133
 
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.
134
+ - [#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
135
 
130
136
  ### Patch Changes
131
137
 
@@ -135,7 +141,7 @@
135
141
 
136
142
  ### Patch Changes
137
143
 
138
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
144
+ - [#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
145
 
140
146
  ## 8.2.4
141
147
 
@@ -147,7 +153,7 @@
147
153
 
148
154
  ### Patch Changes
149
155
 
150
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
156
+ - [#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
157
 
152
158
  ## 8.2.2
153
159
 
@@ -165,7 +171,7 @@
165
171
 
166
172
  ### Minor Changes
167
173
 
168
- - [`4e96270c06e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e96270c06e) - [ux] Instrumented progress-tracker with the new theming package, `@atlaskit/tokens`.
174
+ - [#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
175
 
170
176
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
171
177
  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 +184,7 @@
178
184
 
179
185
  ### Minor Changes
180
186
 
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.
187
+ - [#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
188
 
183
189
  ## 8.0.4
184
190
 
@@ -190,26 +196,26 @@
190
196
 
191
197
  ### Patch Changes
192
198
 
193
- - [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
199
+ - [#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
200
  - Updated dependencies
195
201
 
196
202
  ## 8.0.2
197
203
 
198
204
  ### Patch Changes
199
205
 
200
- - [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
206
+ - [#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
207
 
202
208
  ## 8.0.1
203
209
 
204
210
  ### Patch Changes
205
211
 
206
- - [`8ae29c21d55`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ae29c21d55) - Removed the `!important` declaration from the top margin style.
212
+ - [#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
213
 
208
214
  ## 8.0.0
209
215
 
210
216
  ### Major Changes
211
217
 
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.
218
+ - [#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
219
 
214
220
  ### Patch Changes
215
221
 
@@ -219,13 +225,13 @@
219
225
 
220
226
  ### Patch Changes
221
227
 
222
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
228
+ - [#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
229
 
224
230
  ## 7.0.5
225
231
 
226
232
  ### Patch Changes
227
233
 
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.
234
+ - [#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
235
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
230
236
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
231
237
 
@@ -239,7 +245,7 @@
239
245
 
240
246
  ### Patch Changes
241
247
 
242
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
248
+ - [#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
249
 
244
250
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
245
251
  to prevent duplicates of tslib being bundled.
@@ -248,19 +254,19 @@
248
254
 
249
255
  ### Patch Changes
250
256
 
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.
257
+ - [#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
258
 
253
259
  ## 7.0.1
254
260
 
255
261
  ### Patch Changes
256
262
 
257
- - [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
263
+ - [#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
264
 
259
265
  ## 7.0.0
260
266
 
261
267
  ### Major Changes
262
268
 
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.
269
+ - [#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
270
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
265
271
 
266
272
  ### Patch Changes
@@ -271,13 +277,13 @@
271
277
 
272
278
  ### Patch Changes
273
279
 
274
- - [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
280
+ - [#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
281
 
276
282
  ## 6.1.7
277
283
 
278
284
  ### Patch Changes
279
285
 
280
- - [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
286
+ - [#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
287
 
282
288
  ## 6.1.6
283
289
 
@@ -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
+ };
@@ -40,5 +40,4 @@ var ProgressBar = function ProgressBar(_ref) {
40
40
  css: progressBarStyles
41
41
  });
42
42
  };
43
- var _default = ProgressBar;
44
- exports.default = _default;
43
+ var _default = exports.default = ProgressBar;
@@ -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.TRANSITION_SPEED = TRANSITION_SPEED;
9
- var LINEAR_TRANSITION_SPEED = 50;
10
- exports.LINEAR_TRANSITION_SPEED = LINEAR_TRANSITION_SPEED;
11
- var ANIMATION_EASE_OUT = 'cubic-bezier(0.15,1,0.3,1)';
12
- exports.ANIMATION_EASE_OUT = ANIMATION_EASE_OUT;
13
- var varSpacing = '--ds--pt--sp';
14
- exports.varSpacing = varSpacing;
15
- var varTransitionSpeed = '--ds--pt--ts';
16
- exports.varTransitionSpeed = varTransitionSpeed;
17
- var varTransitionDelay = '--ds--pt--td';
18
- exports.varTransitionDelay = varTransitionDelay;
19
- var varTransitionEasing = '--ds--pt--te';
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.PROGRESS_BAR_HEIGHT = PROGRESS_BAR_HEIGHT;
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)";
@@ -28,5 +28,4 @@ var Link = function Link(_ref) {
28
28
  "data-testid": testId
29
29
  }, label);
30
30
  };
31
- var _default = Link;
32
- exports.default = _default;
31
+ var _default = exports.default = Link;
@@ -50,5 +50,4 @@ var ProgressMarker = function ProgressMarker(_ref) {
50
50
  })
51
51
  );
52
52
  };
53
- var _default = ProgressMarker;
54
- exports.default = _default;
53
+ var _default = exports.default = ProgressMarker;
@@ -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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
25
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
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.getMarkerColor = getMarkerColor;
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.getTextColor = getTextColor;
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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
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",
3
+ "version": "8.5.4",
4
4
  "description": "A progress tracker displays the steps and progress through a journey.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,10 +23,10 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/ds-explorations": "^2.2.0",
27
- "@atlaskit/primitives": "^1.2.0",
28
- "@atlaskit/theme": "^12.5.0",
29
- "@atlaskit/tokens": "^1.15.0",
26
+ "@atlaskit/ds-explorations": "^3.0.0",
27
+ "@atlaskit/primitives": "^1.6.0",
28
+ "@atlaskit/theme": "^12.6.0",
29
+ "@atlaskit/tokens": "^1.25.0",
30
30
  "@babel/runtime": "^7.0.0",
31
31
  "@emotion/react": "^11.7.1",
32
32
  "react-transition-group": "^4.4.1"