@atlaskit/progress-bar 1.0.0 → 1.0.2

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,53 @@
1
1
  # @atlaskit/progress-bar
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41729](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41729) [`04235acacd6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04235acacd6) - Enrol package to push model in Jira
8
+
9
+ ## 1.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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
14
+
3
15
  ## 1.0.0
4
16
 
5
17
  ### Major Changes
6
18
 
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.
19
+ - [#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
20
  This version contains no code changes.
9
21
 
10
22
  ## 0.6.4
11
23
 
12
24
  ### Patch Changes
13
25
 
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.
26
+ - [#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
27
 
16
28
  ## 0.6.3
17
29
 
18
30
  ### Patch Changes
19
31
 
20
- - [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
32
+ - [#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
33
 
22
34
  ## 0.6.2
23
35
 
24
36
  ### Patch Changes
25
37
 
26
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
38
+ - [#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
39
 
28
40
  ## 0.6.1
29
41
 
30
42
  ### Patch Changes
31
43
 
32
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
44
+ - [#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
45
 
34
46
  ## 0.6.0
35
47
 
36
48
  ### Minor Changes
37
49
 
38
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
50
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
39
51
 
40
52
  ### Patch Changes
41
53
 
@@ -69,32 +81,32 @@
69
81
 
70
82
  ### Patch Changes
71
83
 
72
- - [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
84
+ - [#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
85
 
74
86
  ## 0.5.11
75
87
 
76
88
  ### Patch Changes
77
89
 
78
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
90
+ - [#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
91
 
80
92
  ## 0.5.10
81
93
 
82
94
  ### Patch Changes
83
95
 
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.
96
+ - [#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
97
  - Updated dependencies
86
98
 
87
99
  ## 0.5.9
88
100
 
89
101
  ### Patch Changes
90
102
 
91
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
103
+ - [#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
104
 
93
105
  ## 0.5.8
94
106
 
95
107
  ### Patch Changes
96
108
 
97
- - [`7d4fbb433e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d4fbb433e7) - Internal styles refactor after turning on the static styles tech stack.
109
+ - [#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
110
  - [`247bf9bb0e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/247bf9bb0e4) - Introduces `testId` prop for use for automated tests.
99
111
  - [`54deac49754`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54deac49754) - [ux] Appearance prop now available for default, success, and inverse appearances.
100
112
  - [`c960c028450`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c960c028450) - Adds jsdoc descriptions to exported components.
@@ -116,7 +128,7 @@
116
128
 
117
129
  ### Patch Changes
118
130
 
119
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
131
+ - [#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
132
 
121
133
  ## 0.5.4
122
134
 
@@ -128,7 +140,7 @@
128
140
 
129
141
  ### Patch Changes
130
142
 
131
- - [`e928aca1693`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e928aca1693) - Using latest color.background.inverse.subtle token
143
+ - [#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
144
 
133
145
  ## 0.5.2
134
146
 
@@ -140,13 +152,13 @@
140
152
 
141
153
  ### Patch Changes
142
154
 
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.
155
+ - [#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
156
 
145
157
  ## 0.5.0
146
158
 
147
159
  ### Minor Changes
148
160
 
149
- - [`53060e14621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53060e14621) - [ux] Instrumented `progress-bar` with the new theming package, `@atlaskit/tokens`.
161
+ - [#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
162
 
151
163
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
152
164
  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 +171,7 @@
159
171
 
160
172
  ### Minor Changes
161
173
 
162
- - [`9d0e0a31638`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d0e0a31638) - Adds ariaLabel prop to progress bar for accessibility
174
+ - [#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
175
 
164
176
  ## 0.3.9
165
177
 
@@ -171,25 +183,25 @@
171
183
 
172
184
  ### Patch Changes
173
185
 
174
- - [`c5785203506`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5785203506) - Updated homepage in package.json
186
+ - [#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
187
 
176
188
  ## 0.3.7
177
189
 
178
190
  ### Patch Changes
179
191
 
180
- - [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
192
+ - [#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
193
 
182
194
  ## 0.3.6
183
195
 
184
196
  ### Patch Changes
185
197
 
186
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
198
+ - [#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
199
 
188
200
  ## 0.3.5
189
201
 
190
202
  ### Patch Changes
191
203
 
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.
204
+ - [#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
205
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
194
206
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
195
207
 
@@ -203,13 +215,13 @@
203
215
 
204
216
  ### Patch Changes
205
217
 
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.
218
+ - [#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
219
 
208
220
  ## 0.3.2
209
221
 
210
222
  ### Patch Changes
211
223
 
212
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
224
+ - [#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
225
 
214
226
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
215
227
  to prevent duplicates of tslib being bundled.
@@ -218,13 +230,13 @@
218
230
 
219
231
  ### Patch Changes
220
232
 
221
- - [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
233
+ - [#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
234
 
223
235
  ## 0.3.0
224
236
 
225
237
  ### Minor Changes
226
238
 
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.
239
+ - [#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
240
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
229
241
 
230
242
  ### Patch Changes
@@ -235,13 +247,13 @@
235
247
 
236
248
  ### Patch Changes
237
249
 
238
- - [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
250
+ - [#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
251
 
240
252
  ## 0.2.8
241
253
 
242
254
  ### Patch Changes
243
255
 
244
- - [`974d594a23`](https://bitbucket.org/atlassian/atlassian-frontend/commits/974d594a23) - Change imports to comply with Atlassian conventions
256
+ - [#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
257
 
246
258
  ## 0.2.7
247
259
 
@@ -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.2",
4
4
  "description": "A progress bar communicates the status of a system process.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -18,6 +18,9 @@
18
18
  "team": "Design System Team",
19
19
  "deprecatedAutoEntryPoints": true,
20
20
  "releaseModel": "continuous",
21
+ "productPushConsumption": [
22
+ "jira"
23
+ ],
21
24
  "website": {
22
25
  "name": "Progress bar",
23
26
  "category": "Components"
@@ -25,8 +28,8 @@
25
28
  },
26
29
  "dependencies": {
27
30
  "@atlaskit/ds-lib": "^2.2.0",
28
- "@atlaskit/theme": "^12.5.0",
29
- "@atlaskit/tokens": "^1.15.0",
31
+ "@atlaskit/theme": "^12.6.0",
32
+ "@atlaskit/tokens": "^1.28.0",
30
33
  "@babel/runtime": "^7.0.0",
31
34
  "@emotion/react": "^11.7.1"
32
35
  },