@atlaskit/progress-bar 1.0.0 → 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 CHANGED
@@ -1,41 +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
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major Changes
6
12
 
7
- - [`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.
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.
8
14
  This version contains no code changes.
9
15
 
10
16
  ## 0.6.4
11
17
 
12
18
  ### Patch Changes
13
19
 
14
- - [`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.
15
21
 
16
22
  ## 0.6.3
17
23
 
18
24
  ### Patch Changes
19
25
 
20
- - [`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.
21
27
 
22
28
  ## 0.6.2
23
29
 
24
30
  ### Patch Changes
25
31
 
26
- - [`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
27
33
 
28
34
  ## 0.6.1
29
35
 
30
36
  ### Patch Changes
31
37
 
32
- - [`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`
33
39
 
34
40
  ## 0.6.0
35
41
 
36
42
  ### Minor Changes
37
43
 
38
- - [`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
39
45
 
40
46
  ### Patch Changes
41
47
 
@@ -69,32 +75,32 @@
69
75
 
70
76
  ### Patch Changes
71
77
 
72
- - [`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.
73
79
 
74
80
  ## 0.5.11
75
81
 
76
82
  ### Patch Changes
77
83
 
78
- - [`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`
79
85
 
80
86
  ## 0.5.10
81
87
 
82
88
  ### Patch Changes
83
89
 
84
- - [`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.
85
91
  - Updated dependencies
86
92
 
87
93
  ## 0.5.9
88
94
 
89
95
  ### Patch Changes
90
96
 
91
- - [`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`.
92
98
 
93
99
  ## 0.5.8
94
100
 
95
101
  ### Patch Changes
96
102
 
97
- - [`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.
98
104
  - [`247bf9bb0e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/247bf9bb0e4) - Introduces `testId` prop for use for automated tests.
99
105
  - [`54deac49754`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54deac49754) - [ux] Appearance prop now available for default, success, and inverse appearances.
100
106
  - [`c960c028450`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c960c028450) - Adds jsdoc descriptions to exported components.
@@ -116,7 +122,7 @@
116
122
 
117
123
  ### Patch Changes
118
124
 
119
- - [`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
120
126
 
121
127
  ## 0.5.4
122
128
 
@@ -128,7 +134,7 @@
128
134
 
129
135
  ### Patch Changes
130
136
 
131
- - [`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
132
138
 
133
139
  ## 0.5.2
134
140
 
@@ -140,13 +146,13 @@
140
146
 
141
147
  ### Patch Changes
142
148
 
143
- - [`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.
144
150
 
145
151
  ## 0.5.0
146
152
 
147
153
  ### Minor Changes
148
154
 
149
- - [`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`.
150
156
 
151
157
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
152
158
  These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
@@ -159,7 +165,7 @@
159
165
 
160
166
  ### Minor Changes
161
167
 
162
- - [`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
163
169
 
164
170
  ## 0.3.9
165
171
 
@@ -171,25 +177,25 @@
171
177
 
172
178
  ### Patch Changes
173
179
 
174
- - [`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
175
181
 
176
182
  ## 0.3.7
177
183
 
178
184
  ### Patch Changes
179
185
 
180
- - [`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`.
181
187
 
182
188
  ## 0.3.6
183
189
 
184
190
  ### Patch Changes
185
191
 
186
- - [`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
187
193
 
188
194
  ## 0.3.5
189
195
 
190
196
  ### Patch Changes
191
197
 
192
- - [`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.
193
199
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
194
200
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
195
201
 
@@ -203,13 +209,13 @@
203
209
 
204
210
  ### Patch Changes
205
211
 
206
- - [`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.
207
213
 
208
214
  ## 0.3.2
209
215
 
210
216
  ### Patch Changes
211
217
 
212
- - [`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
213
219
 
214
220
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
215
221
  to prevent duplicates of tslib being bundled.
@@ -218,13 +224,13 @@
218
224
 
219
225
  ### Patch Changes
220
226
 
221
- - [`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
222
228
 
223
229
  ## 0.3.0
224
230
 
225
231
  ### Minor Changes
226
232
 
227
- - [`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.
228
234
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
229
235
 
230
236
  ### Patch Changes
@@ -235,13 +241,13 @@
235
241
 
236
242
  ### Patch Changes
237
243
 
238
- - [`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
239
245
 
240
246
  ## 0.2.8
241
247
 
242
248
  ### Patch Changes
243
249
 
244
- - [`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
245
251
 
246
252
  ## 0.2.7
247
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;
@@ -30,5 +30,4 @@ var SuccessProgressBar = function SuccessProgressBar(_ref) {
30
30
  testId: testId
31
31
  });
32
32
  };
33
- var _default = SuccessProgressBar;
34
- exports.default = _default;
33
+ var _default = exports.default = SuccessProgressBar;
@@ -30,5 +30,4 @@ var TransparentProgressBar = function TransparentProgressBar(_ref) {
30
30
  testId: testId
31
31
  });
32
32
  };
33
- var _default = TransparentProgressBar;
34
- exports.default = _default;
33
+ var _default = exports.default = TransparentProgressBar;
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": "1.0.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.5.0",
29
- "@atlaskit/tokens": "^1.15.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
  },