@atlaskit/progress-bar 0.6.4 → 1.0.1
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 +38 -25
- package/dist/cjs/components/progress-bar.js +2 -3
- package/dist/cjs/components/success-progress-bar.js +1 -2
- package/dist/cjs/components/transparent-progress-bar.js +1 -2
- package/dist/cjs/theme.js +2 -3
- package/dist/es2019/components/progress-bar.js +1 -1
- package/dist/esm/components/progress-bar.js +1 -1
- package/package.json +3 -3
- package/tmp/api-report-tmp.d.ts +53 -0
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,34 +1,47 @@
|
|
|
1
1
|
# @atlaskit/progress-bar
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41141](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41141) [`91b814bddb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/91b814bddb4) - Add default for env variable to fix typechecking errors
|
|
8
|
+
|
|
9
|
+
## 1.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [#38972](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38972) [`b175ec37c65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b175ec37c65) - Cuts the first major release of this package. It is now considered stable and ready for general adoption.
|
|
14
|
+
This version contains no code changes.
|
|
15
|
+
|
|
3
16
|
## 0.6.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
6
19
|
|
|
7
|
-
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
20
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
8
21
|
|
|
9
22
|
## 0.6.3
|
|
10
23
|
|
|
11
24
|
### Patch Changes
|
|
12
25
|
|
|
13
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
26
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
14
27
|
|
|
15
28
|
## 0.6.2
|
|
16
29
|
|
|
17
30
|
### Patch Changes
|
|
18
31
|
|
|
19
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
32
|
+
- [#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
|
|
20
33
|
|
|
21
34
|
## 0.6.1
|
|
22
35
|
|
|
23
36
|
### Patch Changes
|
|
24
37
|
|
|
25
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
38
|
+
- [#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`
|
|
26
39
|
|
|
27
40
|
## 0.6.0
|
|
28
41
|
|
|
29
42
|
### Minor Changes
|
|
30
43
|
|
|
31
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
44
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
32
45
|
|
|
33
46
|
### Patch Changes
|
|
34
47
|
|
|
@@ -62,32 +75,32 @@
|
|
|
62
75
|
|
|
63
76
|
### Patch Changes
|
|
64
77
|
|
|
65
|
-
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
78
|
+
- [#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.
|
|
66
79
|
|
|
67
80
|
## 0.5.11
|
|
68
81
|
|
|
69
82
|
### Patch Changes
|
|
70
83
|
|
|
71
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
84
|
+
- [#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`
|
|
72
85
|
|
|
73
86
|
## 0.5.10
|
|
74
87
|
|
|
75
88
|
### Patch Changes
|
|
76
89
|
|
|
77
|
-
- [`8eb92195540`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eb92195540) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
90
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`8eb92195540`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eb92195540) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
78
91
|
- Updated dependencies
|
|
79
92
|
|
|
80
93
|
## 0.5.9
|
|
81
94
|
|
|
82
95
|
### Patch Changes
|
|
83
96
|
|
|
84
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
97
|
+
- [#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`.
|
|
85
98
|
|
|
86
99
|
## 0.5.8
|
|
87
100
|
|
|
88
101
|
### Patch Changes
|
|
89
102
|
|
|
90
|
-
- [`7d4fbb433e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d4fbb433e7) - Internal styles refactor after turning on the static styles tech stack.
|
|
103
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`7d4fbb433e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d4fbb433e7) - Internal styles refactor after turning on the static styles tech stack.
|
|
91
104
|
- [`247bf9bb0e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/247bf9bb0e4) - Introduces `testId` prop for use for automated tests.
|
|
92
105
|
- [`54deac49754`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54deac49754) - [ux] Appearance prop now available for default, success, and inverse appearances.
|
|
93
106
|
- [`c960c028450`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c960c028450) - Adds jsdoc descriptions to exported components.
|
|
@@ -109,7 +122,7 @@
|
|
|
109
122
|
|
|
110
123
|
### Patch Changes
|
|
111
124
|
|
|
112
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
125
|
+
- [#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
|
|
113
126
|
|
|
114
127
|
## 0.5.4
|
|
115
128
|
|
|
@@ -121,7 +134,7 @@
|
|
|
121
134
|
|
|
122
135
|
### Patch Changes
|
|
123
136
|
|
|
124
|
-
- [`e928aca1693`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e928aca1693) - Using latest color.background.inverse.subtle token
|
|
137
|
+
- [#20065](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20065) [`e928aca1693`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e928aca1693) - Using latest color.background.inverse.subtle token
|
|
125
138
|
|
|
126
139
|
## 0.5.2
|
|
127
140
|
|
|
@@ -133,13 +146,13 @@
|
|
|
133
146
|
|
|
134
147
|
### Patch Changes
|
|
135
148
|
|
|
136
|
-
- [`cc9f9e1d294`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc9f9e1d294) - Adds warning in developer console for `theme` prop, which is going to be deprecated after 13 May 2022.
|
|
149
|
+
- [#19395](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19395) [`cc9f9e1d294`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc9f9e1d294) - Adds warning in developer console for `theme` prop, which is going to be deprecated after 13 May 2022.
|
|
137
150
|
|
|
138
151
|
## 0.5.0
|
|
139
152
|
|
|
140
153
|
### Minor Changes
|
|
141
154
|
|
|
142
|
-
- [`53060e14621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53060e14621) - [ux] Instrumented `progress-bar` with the new theming package, `@atlaskit/tokens`.
|
|
155
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`53060e14621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53060e14621) - [ux] Instrumented `progress-bar` with the new theming package, `@atlaskit/tokens`.
|
|
143
156
|
|
|
144
157
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
|
|
145
158
|
These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
|
|
@@ -152,7 +165,7 @@
|
|
|
152
165
|
|
|
153
166
|
### Minor Changes
|
|
154
167
|
|
|
155
|
-
- [`9d0e0a31638`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d0e0a31638) - Adds ariaLabel prop to progress bar for accessibility
|
|
168
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`9d0e0a31638`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d0e0a31638) - Adds ariaLabel prop to progress bar for accessibility
|
|
156
169
|
|
|
157
170
|
## 0.3.9
|
|
158
171
|
|
|
@@ -164,25 +177,25 @@
|
|
|
164
177
|
|
|
165
178
|
### Patch Changes
|
|
166
179
|
|
|
167
|
-
- [`c5785203506`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5785203506) - Updated homepage in package.json
|
|
180
|
+
- [#13728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13728) [`c5785203506`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5785203506) - Updated homepage in package.json
|
|
168
181
|
|
|
169
182
|
## 0.3.7
|
|
170
183
|
|
|
171
184
|
### Patch Changes
|
|
172
185
|
|
|
173
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
186
|
+
- [#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`.
|
|
174
187
|
|
|
175
188
|
## 0.3.6
|
|
176
189
|
|
|
177
190
|
### Patch Changes
|
|
178
191
|
|
|
179
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
192
|
+
- [#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
|
|
180
193
|
|
|
181
194
|
## 0.3.5
|
|
182
195
|
|
|
183
196
|
### Patch Changes
|
|
184
197
|
|
|
185
|
-
- [`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.
|
|
198
|
+
- [#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.
|
|
186
199
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
187
200
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
188
201
|
|
|
@@ -196,13 +209,13 @@
|
|
|
196
209
|
|
|
197
210
|
### Patch Changes
|
|
198
211
|
|
|
199
|
-
- [`b284fba3d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b284fba3d1) - Components that had missing names are now fixed - this helps when looking for them using the React Dev Tools.
|
|
212
|
+
- [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649) [`b284fba3d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b284fba3d1) - Components that had missing names are now fixed - this helps when looking for them using the React Dev Tools.
|
|
200
213
|
|
|
201
214
|
## 0.3.2
|
|
202
215
|
|
|
203
216
|
### Patch Changes
|
|
204
217
|
|
|
205
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
218
|
+
- [#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
|
|
206
219
|
|
|
207
220
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
208
221
|
to prevent duplicates of tslib being bundled.
|
|
@@ -211,13 +224,13 @@
|
|
|
211
224
|
|
|
212
225
|
### Patch Changes
|
|
213
226
|
|
|
214
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
227
|
+
- [#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
|
|
215
228
|
|
|
216
229
|
## 0.3.0
|
|
217
230
|
|
|
218
231
|
### Minor Changes
|
|
219
232
|
|
|
220
|
-
- [`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.
|
|
233
|
+
- [#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.
|
|
221
234
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
222
235
|
|
|
223
236
|
### Patch Changes
|
|
@@ -228,13 +241,13 @@
|
|
|
228
241
|
|
|
229
242
|
### Patch Changes
|
|
230
243
|
|
|
231
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
244
|
+
- [#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
|
|
232
245
|
|
|
233
246
|
## 0.2.8
|
|
234
247
|
|
|
235
248
|
### Patch Changes
|
|
236
249
|
|
|
237
|
-
- [`974d594a23`](https://bitbucket.org/atlassian/atlassian-frontend/commits/974d594a23) - Change imports to comply with Atlassian conventions
|
|
250
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`974d594a23`](https://bitbucket.org/atlassian/atlassian-frontend/commits/974d594a23) - Change imports to comply with Atlassian conventions
|
|
238
251
|
|
|
239
252
|
## 0.2.7
|
|
240
253
|
|
|
@@ -102,7 +102,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
102
102
|
_ref$value = _ref.value,
|
|
103
103
|
value = _ref$value === void 0 ? 0 : _ref$value;
|
|
104
104
|
var valueParsed = isIndeterminate ? MIN_VALUE : Math.max(MIN_VALUE, Math.min(value, MAX_VALUE));
|
|
105
|
-
(0, _deprecationWarning.propDeprecationWarning)("@atlaskit/progress-bar", 'theme', (0, _typeof2.default)(theme) !== undefined, 'https://community.developer.atlassian.com/t/theme-prop-in-atlaskit-progress-bar-is-being-deprecated/56198');
|
|
105
|
+
(0, _deprecationWarning.propDeprecationWarning)("@atlaskit/progress-bar" || '', 'theme', (0, _typeof2.default)(theme) !== undefined, 'https://community.developer.atlassian.com/t/theme-prop-in-atlaskit-progress-bar-is-being-deprecated/56198');
|
|
106
106
|
return (0, _react2.jsx)(_theme.Theme.Provider, {
|
|
107
107
|
value: theme
|
|
108
108
|
}, (0, _react2.jsx)(_theme.Theme.Consumer, {
|
|
@@ -129,5 +129,4 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
129
129
|
}));
|
|
130
130
|
}));
|
|
131
131
|
};
|
|
132
|
-
var _default = ProgressBar;
|
|
133
|
-
exports.default = _default;
|
|
132
|
+
var _default = exports.default = ProgressBar;
|
package/dist/cjs/theme.js
CHANGED
|
@@ -10,7 +10,7 @@ var _components = require("@atlaskit/theme/components");
|
|
|
10
10
|
*
|
|
11
11
|
* @deprecated
|
|
12
12
|
*/
|
|
13
|
-
var Theme = (0, _components.createTheme)(function (props) {
|
|
13
|
+
var Theme = exports.Theme = (0, _components.createTheme)(function (props) {
|
|
14
14
|
return {
|
|
15
15
|
container: {},
|
|
16
16
|
bar: {},
|
|
@@ -18,5 +18,4 @@ var Theme = (0, _components.createTheme)(function (props) {
|
|
|
18
18
|
increasingBar: {},
|
|
19
19
|
decreasingBar: {}
|
|
20
20
|
};
|
|
21
|
-
});
|
|
22
|
-
exports.Theme = Theme;
|
|
21
|
+
});
|
|
@@ -90,7 +90,7 @@ const ProgressBar = ({
|
|
|
90
90
|
value = 0
|
|
91
91
|
}) => {
|
|
92
92
|
const valueParsed = isIndeterminate ? MIN_VALUE : Math.max(MIN_VALUE, Math.min(value, MAX_VALUE));
|
|
93
|
-
propDeprecationWarning("@atlaskit/progress-bar", 'theme', typeof theme !== undefined, 'https://community.developer.atlassian.com/t/theme-prop-in-atlaskit-progress-bar-is-being-deprecated/56198');
|
|
93
|
+
propDeprecationWarning("@atlaskit/progress-bar" || '', 'theme', typeof theme !== undefined, 'https://community.developer.atlassian.com/t/theme-prop-in-atlaskit-progress-bar-is-being-deprecated/56198');
|
|
94
94
|
return jsx(Theme.Provider, {
|
|
95
95
|
value: theme
|
|
96
96
|
}, jsx(Theme.Consumer, {
|
|
@@ -94,7 +94,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
94
94
|
_ref$value = _ref.value,
|
|
95
95
|
value = _ref$value === void 0 ? 0 : _ref$value;
|
|
96
96
|
var valueParsed = isIndeterminate ? MIN_VALUE : Math.max(MIN_VALUE, Math.min(value, MAX_VALUE));
|
|
97
|
-
propDeprecationWarning("@atlaskit/progress-bar", 'theme', _typeof(theme) !== undefined, 'https://community.developer.atlassian.com/t/theme-prop-in-atlaskit-progress-bar-is-being-deprecated/56198');
|
|
97
|
+
propDeprecationWarning("@atlaskit/progress-bar" || '', 'theme', _typeof(theme) !== undefined, 'https://community.developer.atlassian.com/t/theme-prop-in-atlaskit-progress-bar-is-being-deprecated/56198');
|
|
98
98
|
return jsx(Theme.Provider, {
|
|
99
99
|
value: theme
|
|
100
100
|
}, jsx(Theme.Consumer, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/progress-bar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A progress bar communicates the status of a system process.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
28
|
-
"@atlaskit/theme": "^12.
|
|
29
|
-
"@atlaskit/tokens": "^1.
|
|
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
|
},
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/progress-bar"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import { jsx } from '@emotion/react';
|
|
10
|
+
import { ThemeProp } from '@atlaskit/theme/components';
|
|
11
|
+
|
|
12
|
+
// @public (undocumented)
|
|
13
|
+
interface CustomProgressBarProps {
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
isIndeterminate?: boolean;
|
|
16
|
+
testId?: string;
|
|
17
|
+
value?: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// @public (undocumented)
|
|
21
|
+
interface DefaultProgressBarProps extends CustomProgressBarProps {
|
|
22
|
+
appearance?: 'default' | 'inverse' | 'success';
|
|
23
|
+
// @deprecated (undocumented)
|
|
24
|
+
theme?: ThemeProp<ThemeTokens, ThemeProps>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// @public
|
|
28
|
+
const ProgressBar: ({ appearance, ariaLabel, isIndeterminate, testId, theme, value, }: DefaultProgressBarProps) => jsx.JSX.Element;
|
|
29
|
+
export default ProgressBar;
|
|
30
|
+
|
|
31
|
+
// @public
|
|
32
|
+
export const SuccessProgressBar: ({ ariaLabel, isIndeterminate, testId, value, }: CustomProgressBarProps) => JSX.Element;
|
|
33
|
+
|
|
34
|
+
// @public @deprecated (undocumented)
|
|
35
|
+
type ThemeProps = {
|
|
36
|
+
value: number | string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// @public @deprecated (undocumented)
|
|
40
|
+
type ThemeTokens = {
|
|
41
|
+
container: any;
|
|
42
|
+
bar: any;
|
|
43
|
+
determinateBar: any;
|
|
44
|
+
increasingBar: any;
|
|
45
|
+
decreasingBar: any;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
// @public
|
|
49
|
+
export const TransparentProgressBar: ({ ariaLabel, isIndeterminate, testId, value, }: CustomProgressBarProps) => JSX.Element;
|
|
50
|
+
|
|
51
|
+
// (No @packageDocumentation comment for this package)
|
|
52
|
+
|
|
53
|
+
```
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED