@atlaskit/progress-bar 2.1.0 → 2.2.0
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 +169 -162
- package/README.md +2 -1
- package/dist/cjs/components/progress-bar.js +5 -0
- package/dist/es2019/components/progress-bar.js +5 -0
- package/dist/esm/components/progress-bar.js +5 -0
- package/dist/types/components/progress-bar.d.ts +1 -1
- package/dist/types/components/success-progress-bar.d.ts +1 -1
- package/dist/types/components/transparent-progress-bar.d.ts +1 -1
- package/dist/types-ts4.5/components/progress-bar.d.ts +1 -1
- package/dist/types-ts4.5/components/success-progress-bar.d.ts +1 -1
- package/dist/types-ts4.5/components/transparent-progress-bar.d.ts +1 -1
- package/package.json +81 -83
- package/report.api.md +30 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,436 +1,443 @@
|
|
|
1
1
|
# @atlaskit/progress-bar
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#110836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110836)
|
|
8
|
+
[`a8bd419fd70b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a8bd419fd70b9) -
|
|
9
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
10
|
+
is implicitly set to automatic.
|
|
11
|
+
|
|
3
12
|
## 2.1.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
6
15
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
16
|
+
- [#93762](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93762)
|
|
17
|
+
[`9a9edcac07f8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9a9edcac07f8) -
|
|
18
|
+
Add support for React 18 in non-strict mode.
|
|
10
19
|
|
|
11
20
|
## 2.0.2
|
|
12
21
|
|
|
13
22
|
### Patch Changes
|
|
14
23
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
25
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
26
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
18
27
|
|
|
19
28
|
## 2.0.1
|
|
20
29
|
|
|
21
30
|
### Patch Changes
|
|
22
31
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
32
|
+
- [#69022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69022)
|
|
33
|
+
[`395c74147990`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/395c74147990) -
|
|
34
|
+
Migrate packages to use declarative entry points
|
|
26
35
|
|
|
27
36
|
## 2.0.0
|
|
28
37
|
|
|
29
38
|
### Major Changes
|
|
30
39
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
40
|
+
- [#52318](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/52318)
|
|
41
|
+
[`71ad9704d42f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/71ad9704d42f) -
|
|
42
|
+
Removed all remaining legacy theming logic from the ProgressBar component.
|
|
34
43
|
|
|
35
44
|
## 1.0.2
|
|
36
45
|
|
|
37
46
|
### Patch Changes
|
|
38
47
|
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
48
|
+
- [#41729](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41729)
|
|
49
|
+
[`04235acacd6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04235acacd6) - Enrol
|
|
50
|
+
package to push model in Jira
|
|
42
51
|
|
|
43
52
|
## 1.0.1
|
|
44
53
|
|
|
45
54
|
### Patch Changes
|
|
46
55
|
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
56
|
+
- [#41141](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41141)
|
|
57
|
+
[`91b814bddb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/91b814bddb4) - Add
|
|
58
|
+
default for env variable to fix typechecking errors
|
|
50
59
|
|
|
51
60
|
## 1.0.0
|
|
52
61
|
|
|
53
62
|
### Major Changes
|
|
54
63
|
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
64
|
+
- [#38972](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38972)
|
|
65
|
+
[`b175ec37c65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b175ec37c65) - Cuts the
|
|
66
|
+
first major release of this package. It is now considered stable and ready for general adoption.
|
|
67
|
+
This version contains no code changes.
|
|
59
68
|
|
|
60
69
|
## 0.6.4
|
|
61
70
|
|
|
62
71
|
### Patch Changes
|
|
63
72
|
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
73
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
74
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
75
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
76
|
+
testing.
|
|
68
77
|
|
|
69
78
|
## 0.6.3
|
|
70
79
|
|
|
71
80
|
### Patch Changes
|
|
72
81
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
83
|
+
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal
|
|
84
|
+
change to use shape tokens. There is no expected visual change.
|
|
76
85
|
|
|
77
86
|
## 0.6.2
|
|
78
87
|
|
|
79
88
|
### Patch Changes
|
|
80
89
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
90
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
91
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
92
|
+
legacy types are published for TS 4.5-4.8
|
|
84
93
|
|
|
85
94
|
## 0.6.1
|
|
86
95
|
|
|
87
96
|
### Patch Changes
|
|
88
97
|
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
98
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
99
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
100
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
92
101
|
|
|
93
102
|
## 0.6.0
|
|
94
103
|
|
|
95
104
|
### Minor Changes
|
|
96
105
|
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
106
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
107
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
108
|
+
minor dependency bump
|
|
100
109
|
|
|
101
110
|
### Patch Changes
|
|
102
111
|
|
|
103
|
-
-
|
|
112
|
+
- Updated dependencies
|
|
104
113
|
|
|
105
114
|
## 0.5.16
|
|
106
115
|
|
|
107
116
|
### Patch Changes
|
|
108
117
|
|
|
109
|
-
-
|
|
118
|
+
- Updated dependencies
|
|
110
119
|
|
|
111
120
|
## 0.5.15
|
|
112
121
|
|
|
113
122
|
### Patch Changes
|
|
114
123
|
|
|
115
|
-
-
|
|
124
|
+
- Updated dependencies
|
|
116
125
|
|
|
117
126
|
## 0.5.14
|
|
118
127
|
|
|
119
128
|
### Patch Changes
|
|
120
129
|
|
|
121
|
-
-
|
|
130
|
+
- Updated dependencies
|
|
122
131
|
|
|
123
132
|
## 0.5.13
|
|
124
133
|
|
|
125
134
|
### Patch Changes
|
|
126
135
|
|
|
127
|
-
-
|
|
136
|
+
- Updated dependencies
|
|
128
137
|
|
|
129
138
|
## 0.5.12
|
|
130
139
|
|
|
131
140
|
### Patch Changes
|
|
132
141
|
|
|
133
|
-
-
|
|
134
|
-
|
|
135
|
-
|
|
142
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
143
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
144
|
+
change to introduce spacing tokens to design system components.
|
|
136
145
|
|
|
137
146
|
## 0.5.11
|
|
138
147
|
|
|
139
148
|
### Patch Changes
|
|
140
149
|
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
|
|
150
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
151
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
152
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
144
153
|
|
|
145
154
|
## 0.5.10
|
|
146
155
|
|
|
147
156
|
### Patch Changes
|
|
148
157
|
|
|
149
|
-
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
-
|
|
158
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
159
|
+
[`8eb92195540`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eb92195540) - Updates
|
|
160
|
+
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
161
|
+
- Updated dependencies
|
|
153
162
|
|
|
154
163
|
## 0.5.9
|
|
155
164
|
|
|
156
165
|
### Patch Changes
|
|
157
166
|
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
167
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
168
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
169
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
161
170
|
|
|
162
171
|
## 0.5.8
|
|
163
172
|
|
|
164
173
|
### Patch Changes
|
|
165
174
|
|
|
166
|
-
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
-
|
|
170
|
-
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
-
|
|
175
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
176
|
+
[`7d4fbb433e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d4fbb433e7) - Internal
|
|
177
|
+
styles refactor after turning on the static styles tech stack.
|
|
178
|
+
- [`247bf9bb0e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/247bf9bb0e4) -
|
|
179
|
+
Introduces `testId` prop for use for automated tests.
|
|
180
|
+
- [`54deac49754`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54deac49754) - [ux]
|
|
181
|
+
Appearance prop now available for default, success, and inverse appearances.
|
|
182
|
+
- [`c960c028450`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c960c028450) - Adds
|
|
183
|
+
jsdoc descriptions to exported components.
|
|
184
|
+
- Updated dependencies
|
|
176
185
|
|
|
177
186
|
## 0.5.7
|
|
178
187
|
|
|
179
188
|
### Patch Changes
|
|
180
189
|
|
|
181
|
-
-
|
|
190
|
+
- Updated dependencies
|
|
182
191
|
|
|
183
192
|
## 0.5.6
|
|
184
193
|
|
|
185
194
|
### Patch Changes
|
|
186
195
|
|
|
187
|
-
-
|
|
196
|
+
- Updated dependencies
|
|
188
197
|
|
|
189
198
|
## 0.5.5
|
|
190
199
|
|
|
191
200
|
### Patch Changes
|
|
192
201
|
|
|
193
|
-
-
|
|
194
|
-
|
|
195
|
-
|
|
202
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
203
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
204
|
+
to TypeScript 4.2.4
|
|
196
205
|
|
|
197
206
|
## 0.5.4
|
|
198
207
|
|
|
199
208
|
### Patch Changes
|
|
200
209
|
|
|
201
|
-
-
|
|
210
|
+
- Updated dependencies
|
|
202
211
|
|
|
203
212
|
## 0.5.3
|
|
204
213
|
|
|
205
214
|
### Patch Changes
|
|
206
215
|
|
|
207
|
-
-
|
|
208
|
-
|
|
209
|
-
|
|
216
|
+
- [#20065](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20065)
|
|
217
|
+
[`e928aca1693`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e928aca1693) - Using
|
|
218
|
+
latest color.background.inverse.subtle token
|
|
210
219
|
|
|
211
220
|
## 0.5.2
|
|
212
221
|
|
|
213
222
|
### Patch Changes
|
|
214
223
|
|
|
215
|
-
-
|
|
224
|
+
- Updated dependencies
|
|
216
225
|
|
|
217
226
|
## 0.5.1
|
|
218
227
|
|
|
219
228
|
### Patch Changes
|
|
220
229
|
|
|
221
|
-
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
May 2022.
|
|
230
|
+
- [#19395](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19395)
|
|
231
|
+
[`cc9f9e1d294`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc9f9e1d294) - Adds
|
|
232
|
+
warning in developer console for `theme` prop, which is going to be deprecated after 13 May 2022.
|
|
225
233
|
|
|
226
234
|
## 0.5.0
|
|
227
235
|
|
|
228
236
|
### Minor Changes
|
|
229
237
|
|
|
230
|
-
-
|
|
231
|
-
|
|
232
|
-
|
|
238
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
|
|
239
|
+
[`53060e14621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53060e14621) - [ux]
|
|
240
|
+
Instrumented `progress-bar` with the new theming package, `@atlaskit/tokens`.
|
|
233
241
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
242
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
243
|
+
alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
244
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
237
245
|
|
|
238
246
|
### Patch Changes
|
|
239
247
|
|
|
240
|
-
-
|
|
248
|
+
- Updated dependencies
|
|
241
249
|
|
|
242
250
|
## 0.4.0
|
|
243
251
|
|
|
244
252
|
### Minor Changes
|
|
245
253
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
254
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
|
|
255
|
+
[`9d0e0a31638`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d0e0a31638) - Adds
|
|
256
|
+
ariaLabel prop to progress bar for accessibility
|
|
249
257
|
|
|
250
258
|
## 0.3.9
|
|
251
259
|
|
|
252
260
|
### Patch Changes
|
|
253
261
|
|
|
254
|
-
-
|
|
262
|
+
- Updated dependencies
|
|
255
263
|
|
|
256
264
|
## 0.3.8
|
|
257
265
|
|
|
258
266
|
### Patch Changes
|
|
259
267
|
|
|
260
|
-
-
|
|
261
|
-
|
|
262
|
-
|
|
268
|
+
- [#13728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13728)
|
|
269
|
+
[`c5785203506`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5785203506) - Updated
|
|
270
|
+
homepage in package.json
|
|
263
271
|
|
|
264
272
|
## 0.3.7
|
|
265
273
|
|
|
266
274
|
### Patch Changes
|
|
267
275
|
|
|
268
|
-
-
|
|
269
|
-
|
|
270
|
-
|
|
276
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
277
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
278
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
271
279
|
|
|
272
280
|
## 0.3.6
|
|
273
281
|
|
|
274
282
|
### Patch Changes
|
|
275
283
|
|
|
276
|
-
-
|
|
277
|
-
|
|
278
|
-
|
|
284
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
285
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
286
|
+
packages using babel rather than tsc
|
|
279
287
|
|
|
280
288
|
## 0.3.5
|
|
281
289
|
|
|
282
290
|
### Patch Changes
|
|
283
291
|
|
|
284
|
-
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
292
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
293
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
294
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
295
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
296
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
297
|
+
`devDependencies` to denote version that the package was built with.
|
|
290
298
|
|
|
291
299
|
## 0.3.4
|
|
292
300
|
|
|
293
301
|
### Patch Changes
|
|
294
302
|
|
|
295
|
-
-
|
|
303
|
+
- Updated dependencies
|
|
296
304
|
|
|
297
305
|
## 0.3.3
|
|
298
306
|
|
|
299
307
|
### Patch Changes
|
|
300
308
|
|
|
301
|
-
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
React Dev Tools.
|
|
309
|
+
- [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649)
|
|
310
|
+
[`b284fba3d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b284fba3d1) - Components
|
|
311
|
+
that had missing names are now fixed - this helps when looking for them using the React Dev Tools.
|
|
305
312
|
|
|
306
313
|
## 0.3.2
|
|
307
314
|
|
|
308
315
|
### Patch Changes
|
|
309
316
|
|
|
310
|
-
-
|
|
311
|
-
|
|
312
|
-
|
|
317
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
318
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
319
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
313
320
|
|
|
314
|
-
|
|
315
|
-
|
|
321
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
322
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
316
323
|
|
|
317
324
|
## 0.3.1
|
|
318
325
|
|
|
319
326
|
### Patch Changes
|
|
320
327
|
|
|
321
|
-
-
|
|
322
|
-
|
|
323
|
-
|
|
328
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
329
|
+
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
|
|
330
|
+
the theme imports to be tree-shakable
|
|
324
331
|
|
|
325
332
|
## 0.3.0
|
|
326
333
|
|
|
327
334
|
### Minor Changes
|
|
328
335
|
|
|
329
|
-
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
336
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
337
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
338
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
339
|
+
IE11. For more information see:
|
|
340
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
334
341
|
|
|
335
342
|
### Patch Changes
|
|
336
343
|
|
|
337
|
-
-
|
|
344
|
+
- Updated dependencies
|
|
338
345
|
|
|
339
346
|
## 0.2.9
|
|
340
347
|
|
|
341
348
|
### Patch Changes
|
|
342
349
|
|
|
343
|
-
-
|
|
344
|
-
|
|
345
|
-
|
|
350
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
351
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
|
|
352
|
+
supporting files will no longer be published to npm
|
|
346
353
|
|
|
347
354
|
## 0.2.8
|
|
348
355
|
|
|
349
356
|
### Patch Changes
|
|
350
357
|
|
|
351
|
-
-
|
|
352
|
-
|
|
353
|
-
|
|
358
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868)
|
|
359
|
+
[`974d594a23`](https://bitbucket.org/atlassian/atlassian-frontend/commits/974d594a23) - Change
|
|
360
|
+
imports to comply with Atlassian conventions
|
|
354
361
|
|
|
355
362
|
## 0.2.7
|
|
356
363
|
|
|
357
364
|
### Patch Changes
|
|
358
365
|
|
|
359
|
-
-
|
|
366
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
360
367
|
|
|
361
|
-
|
|
362
|
-
|
|
368
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
369
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
363
370
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
371
|
+
- @atlaskit/docs@8.3.2
|
|
372
|
+
- @atlaskit/button@13.3.7
|
|
373
|
+
- @atlaskit/theme@9.5.1
|
|
367
374
|
|
|
368
375
|
## 0.2.6
|
|
369
376
|
|
|
370
377
|
### Patch Changes
|
|
371
378
|
|
|
372
|
-
-
|
|
379
|
+
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
|
|
373
380
|
|
|
374
|
-
|
|
381
|
+
Rebuilds package to fix typescript typing error.
|
|
375
382
|
|
|
376
383
|
## 0.2.5
|
|
377
384
|
|
|
378
385
|
### Patch Changes
|
|
379
386
|
|
|
380
|
-
-
|
|
387
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
381
388
|
|
|
382
|
-
|
|
383
|
-
|
|
389
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
390
|
+
non-relative imports as relative imports
|
|
384
391
|
|
|
385
392
|
## 0.2.4
|
|
386
393
|
|
|
387
394
|
### Patch Changes
|
|
388
395
|
|
|
389
|
-
-
|
|
396
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
390
397
|
|
|
391
|
-
|
|
398
|
+
Upgraded Typescript to 3.3.x
|
|
392
399
|
|
|
393
400
|
## 0.2.3
|
|
394
401
|
|
|
395
402
|
### Patch Changes
|
|
396
403
|
|
|
397
|
-
-
|
|
404
|
+
- [patch][6742fbf2cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6742fbf2cc):
|
|
398
405
|
|
|
399
|
-
|
|
406
|
+
bugfix, fixes missing version.json file
|
|
400
407
|
|
|
401
408
|
## 0.2.2
|
|
402
409
|
|
|
403
410
|
### Patch Changes
|
|
404
411
|
|
|
405
|
-
-
|
|
412
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
406
413
|
|
|
407
|
-
|
|
414
|
+
In this PR, we are:
|
|
408
415
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
416
|
+
- Re-introducing dist build folders
|
|
417
|
+
- Adding back cjs
|
|
418
|
+
- Replacing es5 by cjs and es2015 by esm
|
|
419
|
+
- Creating folders at the root for entry-points
|
|
420
|
+
- Removing the generation of the entry-points at the root Please see this
|
|
421
|
+
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
|
|
422
|
+
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
|
|
423
|
+
for further details
|
|
417
424
|
|
|
418
425
|
## 0.2.1
|
|
419
426
|
|
|
420
427
|
### Patch Changes
|
|
421
428
|
|
|
422
|
-
-
|
|
429
|
+
- [patch][7fd8d40029](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7fd8d40029):
|
|
423
430
|
|
|
424
|
-
|
|
431
|
+
Fix invalid "module" field. The package should expose _.js file instead of _.ts
|
|
425
432
|
|
|
426
433
|
## 0.2.0
|
|
427
434
|
|
|
428
|
-
-
|
|
435
|
+
- [minor][06e6dd5731](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06e6dd5731):
|
|
429
436
|
|
|
430
|
-
|
|
437
|
+
- Initial release of Progress Bar component.
|
|
431
438
|
|
|
432
439
|
## 0.1.0
|
|
433
440
|
|
|
434
|
-
-
|
|
441
|
+
- [minor][b2eb85b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b2eb85b):
|
|
435
442
|
|
|
436
|
-
|
|
443
|
+
- Initial release of Progress Bar component.
|
package/README.md
CHANGED
|
@@ -10,4 +10,5 @@ yarn add @atlaskit/progress-bar
|
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
Detailed docs and example usage can be found
|
|
13
|
+
Detailed docs and example usage can be found
|
|
14
|
+
[here](https://atlaskit.atlassian.com/packages/server/progress-bar).
|
|
@@ -8,8 +8,13 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
10
|
var _colors = require("@atlaskit/theme/colors");
|
|
11
|
+
/**
|
|
12
|
+
* @jsxRuntime classic
|
|
13
|
+
*/
|
|
11
14
|
/** @jsx jsx */
|
|
12
15
|
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
+
|
|
13
18
|
var MIN_VALUE = 0;
|
|
14
19
|
var MAX_VALUE = 1;
|
|
15
20
|
var increasingBarAnimation = (0, _react2.keyframes)({
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
2
5
|
import React from 'react';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
8
|
import { css, jsx, keyframes } from '@emotion/react';
|
|
4
9
|
import { G300, N40A, N500 } from '@atlaskit/theme/colors';
|
|
5
10
|
const MIN_VALUE = 0;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
2
5
|
import React from 'react';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
8
|
import { css, jsx, keyframes } from '@emotion/react';
|
|
4
9
|
import { G300, N40A, N500 } from '@atlaskit/theme/colors';
|
|
5
10
|
var MIN_VALUE = 0;
|
package/package.json
CHANGED
|
@@ -1,84 +1,82 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
84
|
-
}
|
|
2
|
+
"name": "@atlaskit/progress-bar",
|
|
3
|
+
"version": "2.2.0",
|
|
4
|
+
"description": "A progress bar communicates the status of a system process.",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"module:es2019": "dist/es2019/index.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"atlaskit:src": "src/index.tsx",
|
|
17
|
+
"af:exports": {
|
|
18
|
+
".": "./src/index.tsx",
|
|
19
|
+
"./types": "./src/types.tsx"
|
|
20
|
+
},
|
|
21
|
+
"atlassian": {
|
|
22
|
+
"team": "Design System Team",
|
|
23
|
+
"releaseModel": "continuous",
|
|
24
|
+
"runReact18": true,
|
|
25
|
+
"productPushConsumption": [
|
|
26
|
+
"jira"
|
|
27
|
+
],
|
|
28
|
+
"website": {
|
|
29
|
+
"name": "Progress bar",
|
|
30
|
+
"category": "Components"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@atlaskit/theme": "^12.10.0",
|
|
35
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
36
|
+
"@babel/runtime": "^7.0.0",
|
|
37
|
+
"@emotion/react": "^11.7.1"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@af/accessibility-testing": "*",
|
|
44
|
+
"@af/visual-regression": "*",
|
|
45
|
+
"@atlaskit/visual-regression": "*",
|
|
46
|
+
"@testing-library/react": "^12.1.5",
|
|
47
|
+
"react-dom": "^16.8.0",
|
|
48
|
+
"typescript": "~5.4.2"
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"atlaskit",
|
|
52
|
+
"react",
|
|
53
|
+
"ui"
|
|
54
|
+
],
|
|
55
|
+
"techstack": {
|
|
56
|
+
"@atlassian/frontend": {
|
|
57
|
+
"import-structure": "atlassian-conventions"
|
|
58
|
+
},
|
|
59
|
+
"@repo/internal": {
|
|
60
|
+
"dom-events": "use-bind-event-listener",
|
|
61
|
+
"design-system": "v1",
|
|
62
|
+
"design-tokens": [
|
|
63
|
+
"color",
|
|
64
|
+
"spacing"
|
|
65
|
+
],
|
|
66
|
+
"deprecation": "no-deprecated-imports",
|
|
67
|
+
"styling": [
|
|
68
|
+
"static",
|
|
69
|
+
"emotion"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"typesVersions": {
|
|
74
|
+
">=4.5 <4.9": {
|
|
75
|
+
"*": [
|
|
76
|
+
"dist/types-ts4.5/*",
|
|
77
|
+
"dist/types-ts4.5/index.d.ts"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"homepage": "https://atlassian.design/components/progress-bar/"
|
|
82
|
+
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/progress-bar"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -22,58 +23,58 @@ import { ThemeProp } from '@atlaskit/theme/components';
|
|
|
22
23
|
|
|
23
24
|
// @public (undocumented)
|
|
24
25
|
interface CustomProgressBarProps {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
ariaLabel?: string;
|
|
27
|
+
isIndeterminate?: boolean;
|
|
28
|
+
testId?: string;
|
|
29
|
+
value?: number;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
// @public (undocumented)
|
|
32
33
|
interface DefaultProgressBarProps extends CustomProgressBarProps {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
appearance?: 'default' | 'inverse' | 'success';
|
|
35
|
+
// @deprecated (undocumented)
|
|
36
|
+
theme?: ThemeProp<ThemeTokens, ThemeProps>;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
// @public
|
|
39
40
|
const ProgressBar: ({
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
appearance,
|
|
42
|
+
ariaLabel,
|
|
43
|
+
isIndeterminate,
|
|
44
|
+
testId,
|
|
45
|
+
theme,
|
|
46
|
+
value,
|
|
46
47
|
}: DefaultProgressBarProps) => jsx.JSX.Element;
|
|
47
48
|
export default ProgressBar;
|
|
48
49
|
|
|
49
50
|
// @public
|
|
50
51
|
export const SuccessProgressBar: ({
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
ariaLabel,
|
|
53
|
+
isIndeterminate,
|
|
54
|
+
testId,
|
|
55
|
+
value,
|
|
55
56
|
}: CustomProgressBarProps) => JSX.Element;
|
|
56
57
|
|
|
57
58
|
// @public @deprecated (undocumented)
|
|
58
59
|
type ThemeProps = {
|
|
59
|
-
|
|
60
|
+
value: number | string;
|
|
60
61
|
};
|
|
61
62
|
|
|
62
63
|
// @public @deprecated (undocumented)
|
|
63
64
|
type ThemeTokens = {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
container: any;
|
|
66
|
+
bar: any;
|
|
67
|
+
determinateBar: any;
|
|
68
|
+
increasingBar: any;
|
|
69
|
+
decreasingBar: any;
|
|
69
70
|
};
|
|
70
71
|
|
|
71
72
|
// @public
|
|
72
73
|
export const TransparentProgressBar: ({
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
ariaLabel,
|
|
75
|
+
isIndeterminate,
|
|
76
|
+
testId,
|
|
77
|
+
value,
|
|
77
78
|
}: CustomProgressBarProps) => JSX.Element;
|
|
78
79
|
|
|
79
80
|
// (No @packageDocumentation comment for this package)
|
|
@@ -87,7 +88,7 @@ export const TransparentProgressBar: ({
|
|
|
87
88
|
|
|
88
89
|
```json
|
|
89
90
|
{
|
|
90
|
-
|
|
91
|
+
"react": "^16.8.0"
|
|
91
92
|
}
|
|
92
93
|
```
|
|
93
94
|
|