@atlaskit/icon 21.12.7 → 21.12.8

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,52 +1,58 @@
1
1
  # @atlaskit/icon
2
2
 
3
+ ## 21.12.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42106](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42106) [`f4b2c484864`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4b2c484864) - Improve typing and prop naming in icon explorer utility.
8
+
3
9
  ## 21.12.7
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [`8a5ce2c105e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5ce2c105e) - This package is now onboarded onto the product push model.Th
13
+ - [#38199](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38199) [`8a5ce2c105e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5ce2c105e) - This package is now onboarded onto the product push model.Th
8
14
 
9
15
  ## 21.12.6
10
16
 
11
17
  ### Patch Changes
12
18
 
13
- - [`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.
19
+ - [#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.
14
20
 
15
21
  ## 21.12.5
16
22
 
17
23
  ### Patch Changes
18
24
 
19
- - [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
25
+ - [#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.
20
26
 
21
27
  ## 21.12.4
22
28
 
23
29
  ### Patch Changes
24
30
 
25
- - [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
31
+ - [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652) [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
26
32
 
27
33
  ## 21.12.3
28
34
 
29
35
  ### Patch Changes
30
36
 
31
- - [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
37
+ - [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935) [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
32
38
 
33
39
  ## 21.12.2
34
40
 
35
41
  ### Patch Changes
36
42
 
37
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
43
+ - [#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
38
44
 
39
45
  ## 21.12.1
40
46
 
41
47
  ### Patch Changes
42
48
 
43
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
49
+ - [#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`
44
50
 
45
51
  ## 21.12.0
46
52
 
47
53
  ### Minor Changes
48
54
 
49
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
55
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
50
56
 
51
57
  ### Patch Changes
52
58
 
@@ -80,20 +86,20 @@
80
86
 
81
87
  ### Patch Changes
82
88
 
83
- - [`88a34a8c2dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88a34a8c2dd) - Remove redundant `role=presentation` on wrapping @atlaskit/icon and @atlaskit/logo spans.
89
+ - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`88a34a8c2dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88a34a8c2dd) - Remove redundant `role=presentation` on wrapping @atlaskit/icon and @atlaskit/logo spans.
84
90
  - [`15d704e3090`](https://bitbucket.org/atlassian/atlassian-frontend/commits/15d704e3090) - For an SVG icon, do not render a `aria-label` when empty.
85
91
 
86
92
  ## 21.11.0
87
93
 
88
94
  ### Minor Changes
89
95
 
90
- - [`a3973745679`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a3973745679) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
96
+ - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`a3973745679`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a3973745679) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
91
97
 
92
98
  ## 21.10.8
93
99
 
94
100
  ### Patch Changes
95
101
 
96
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
102
+ - [#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`
97
103
 
98
104
  ## 21.10.7
99
105
 
@@ -123,7 +129,7 @@
123
129
 
124
130
  ### Patch Changes
125
131
 
126
- - [`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal code change turning on a new linting rule.
132
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal code change turning on a new linting rule.
127
133
 
128
134
  ## 21.10.2
129
135
 
@@ -142,7 +148,7 @@
142
148
 
143
149
  ### Minor Changes
144
150
 
145
- - [`1c835620aa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c835620aa5) - **Note**: It is a re-release of the wrongly `patched` version `21.9.2` that should have been a `minor` release.
151
+ - [#17576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17576) [`1c835620aa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c835620aa5) - **Note**: It is a re-release of the wrongly `patched` version `21.9.2` that should have been a `minor` release.
146
152
 
147
153
  CETI-16 added remove emoji icon so that it appears in mobilekit too
148
154
 
@@ -154,7 +160,7 @@
154
160
 
155
161
  ### Patch Changes
156
162
 
157
- - [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
163
+ - [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
158
164
 
159
165
  ## 21.9.2
160
166
 
@@ -162,7 +168,7 @@
162
168
 
163
169
  _WRONG RELEASE TYPE - DON'T USE_
164
170
 
165
- - [`229177bb85d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229177bb85d) - CETI-16 added remove emoji icon so that it appears in mobilekit too
171
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`229177bb85d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229177bb85d) - CETI-16 added remove emoji icon so that it appears in mobilekit too
166
172
 
167
173
  ### Patch Changes
168
174
 
@@ -179,7 +185,7 @@ _WRONG RELEASE TYPE - DON'T USE_
179
185
 
180
186
  ### Minor Changes
181
187
 
182
- - [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - [ux] add single layout support for layout
188
+ - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - [ux] add single layout support for layout
183
189
 
184
190
  ### Patch Changes
185
191
 
@@ -195,7 +201,7 @@ _WRONG RELEASE TYPE - DON'T USE_
195
201
 
196
202
  ### Minor Changes
197
203
 
198
- - [`22b8dd3f590`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b8dd3f590) - Instrumented Icon with the new theming package, `@atlaskit/tokens`.
204
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`22b8dd3f590`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b8dd3f590) - Instrumented Icon with the new theming package, `@atlaskit/tokens`.
199
205
 
200
206
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
201
207
 
@@ -209,13 +215,13 @@ _WRONG RELEASE TYPE - DON'T USE_
209
215
 
210
216
  ### Patch Changes
211
217
 
212
- - [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) - Internal changes to supress eslint rules.
218
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) - Internal changes to supress eslint rules.
213
219
 
214
220
  ## 21.7.3
215
221
 
216
222
  ### Patch Changes
217
223
 
218
- - [`0d0ecc6e790`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d0ecc6e790) - Corrects eslint supressions.
224
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`0d0ecc6e790`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d0ecc6e790) - Corrects eslint supressions.
219
225
  - [`8279380176b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8279380176b) - Internal code changes.
220
226
  - [`9a84a3ceb82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a84a3ceb82) - Internal code changes.
221
227
  - Updated dependencies
@@ -224,19 +230,19 @@ _WRONG RELEASE TYPE - DON'T USE_
224
230
 
225
231
  ### Patch Changes
226
232
 
227
- - [`0c0c4315085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0c4315085) - [ux] Fixed a regression where Icons used static colors in High Contrast Mode when they should actually dynamically respond to changes to the `primaryColor` and `secondaryColor` props.
233
+ - [#13102](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13102) [`0c0c4315085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0c4315085) - [ux] Fixed a regression where Icons used static colors in High Contrast Mode when they should actually dynamically respond to changes to the `primaryColor` and `secondaryColor` props.
228
234
 
229
235
  ## 21.7.1
230
236
 
231
237
  ### Patch Changes
232
238
 
233
- - [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
239
+ - [#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`.
234
240
 
235
241
  ## 21.7.0
236
242
 
237
243
  ### Minor Changes
238
244
 
239
- - [`662739d8c28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/662739d8c28) - Icon now uses internal techstack "design-system: v1" and "styling: emotion".
245
+ - [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`662739d8c28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/662739d8c28) - Icon now uses internal techstack "design-system: v1" and "styling: emotion".
240
246
 
241
247
  ### Patch Changes
242
248
 
@@ -247,25 +253,25 @@ _WRONG RELEASE TYPE - DON'T USE_
247
253
 
248
254
  ### Patch Changes
249
255
 
250
- - [`9f5d6ed95f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f5d6ed95f0) - Added aria-hidden to icon wrapper when there is no label provided
256
+ - [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`9f5d6ed95f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f5d6ed95f0) - Added aria-hidden to icon wrapper when there is no label provided
251
257
 
252
258
  ## 21.6.0
253
259
 
254
260
  ### Minor Changes
255
261
 
256
- - [`b9c78813d40`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9c78813d40) - Use named export of base icon instead of default in icon glyphs
262
+ - [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`b9c78813d40`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9c78813d40) - Use named export of base icon instead of default in icon glyphs
257
263
 
258
264
  ## 21.5.1
259
265
 
260
266
  ### Patch Changes
261
267
 
262
- - [`72ef8bafec9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72ef8bafec9) - Add "./glyph" entry point.
268
+ - [#10522](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10522) [`72ef8bafec9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72ef8bafec9) - Add "./glyph" entry point.
263
269
 
264
270
  ## 21.5.0
265
271
 
266
272
  ### Minor Changes
267
273
 
268
- - [`017587eca78`](https://bitbucket.org/atlassian/atlassian-frontend/commits/017587eca78) - Icon now exposes an additional component `SVG` which can be used to for custom icon use cases.
274
+ - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083) [`017587eca78`](https://bitbucket.org/atlassian/atlassian-frontend/commits/017587eca78) - Icon now exposes an additional component `SVG` which can be used to for custom icon use cases.
269
275
  - [`4203387aa43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4203387aa43) - Internal changes to the way Icon styles are generated. Additional types have also been exposed to match the glyph component.
270
276
 
271
277
  ### Patch Changes
@@ -279,7 +285,7 @@ _WRONG RELEASE TYPE - DON'T USE_
279
285
 
280
286
  ### Minor Changes
281
287
 
282
- - [`2f1a299688b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2f1a299688b) - The `sizeOpts` type has been renamed to `Size`, available in both the `./` and `./types` entrypoints.
288
+ - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`2f1a299688b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2f1a299688b) - The `sizeOpts` type has been renamed to `Size`, available in both the `./` and `./types` entrypoints.
283
289
 
284
290
  ### Patch Changes
285
291
 
@@ -290,7 +296,7 @@ _WRONG RELEASE TYPE - DON'T USE_
290
296
 
291
297
  ### Minor Changes
292
298
 
293
- - [`b9265389fa0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9265389fa0) - Icon now exposes a base icon via the `@atlaskit/icon/base` entrypoint. This is used in all generated glyphs inside the icon package.
299
+ - [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178) [`b9265389fa0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9265389fa0) - Icon now exposes a base icon via the `@atlaskit/icon/base` entrypoint. This is used in all generated glyphs inside the icon package.
294
300
  - [`83944ca2cf2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83944ca2cf2) - Icon now ships with cjs, esm, and es2019 bundles for components and utils exported in the icon package. Glyphs unfortunately aren't included and still only export cjs bundles.
295
301
  - [`6ef8824baee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ef8824baee) - - Icon now uses React.memo() to stop unnecessary re-renders.
296
302
 
@@ -367,19 +373,19 @@ _WRONG RELEASE TYPE - DON'T USE_
367
373
 
368
374
  ### Patch Changes
369
375
 
370
- - [`37afe4a0fd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37afe4a0fd5) - [ux] Update Dropbox icon and arrow-left icon
376
+ - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762) [`37afe4a0fd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37afe4a0fd5) - [ux] Update Dropbox icon and arrow-left icon
371
377
 
372
378
  ## 21.2.3
373
379
 
374
380
  ### Patch Changes
375
381
 
376
- - [`b9f0d16300`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9f0d16300) - Re-generated icons using a newer version of the build process
382
+ - [#7425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7425) [`b9f0d16300`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9f0d16300) - Re-generated icons using a newer version of the build process
377
383
 
378
384
  ## 21.2.2
379
385
 
380
386
  ### Patch Changes
381
387
 
382
- - [`c65f28c058`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c65f28c058) - Change codemod to return raw source if it is not transforming a file.
388
+ - [#7589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7589) [`c65f28c058`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c65f28c058) - Change codemod to return raw source if it is not transforming a file.
383
389
 
384
390
  Otherwise it would run prettier which can lead to some invalid syntax outputted
385
391
  in edge cases. This is likely due to an issue in either `codemod-cli` or `jscodeshift`.
@@ -388,7 +394,7 @@ _WRONG RELEASE TYPE - DON'T USE_
388
394
 
389
395
  ### Patch Changes
390
396
 
391
- - [`bc896a20b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc896a20b0) - Add a missing codemod for the entrypoint change in 21.2.0
397
+ - [#7458](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7458) [`bc896a20b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc896a20b0) - Add a missing codemod for the entrypoint change in 21.2.0
392
398
 
393
399
  ***
394
400
 
@@ -403,19 +409,19 @@ _WRONG RELEASE TYPE - DON'T USE_
403
409
  `npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
404
410
 
405
411
  Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
406
- For Atlassians, refer to [this doc](https://developer.atlassian.com/cloud/framework/atlassian-frontend/codemods/01-atlassian-codemods/) for more details on the codemod CLI.
412
+ For Atlassians, refer to [this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on the codemod CLI.
407
413
 
408
414
  ## 21.2.0
409
415
 
410
416
  ### Minor Changes
411
417
 
412
- - [`fbdf356800`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbdf356800) - Remove undocumented metadata export from main entry point. To import metadata instead do it from the /metadata entrypoint.
418
+ - [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170) [`fbdf356800`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbdf356800) - Remove undocumented metadata export from main entry point. To import metadata instead do it from the /metadata entrypoint.
413
419
 
414
420
  ## 21.1.4
415
421
 
416
422
  ### Patch Changes
417
423
 
418
- - [`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.
424
+ - [#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.
419
425
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
420
426
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
421
427
 
@@ -429,25 +435,25 @@ _WRONG RELEASE TYPE - DON'T USE_
429
435
 
430
436
  ### Patch Changes
431
437
 
432
- - [`d6ff4c7dce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6ff4c7dce) - Removes unused (and incorrect) es2019 key in package.json
438
+ - [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649) [`d6ff4c7dce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6ff4c7dce) - Removes unused (and incorrect) es2019 key in package.json
433
439
 
434
440
  ## 21.1.1
435
441
 
436
442
  ### Patch Changes
437
443
 
438
- - [`f51e6ff443`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f51e6ff443) - License updated to Apache 2.0 (previously under the ADG license)
444
+ - [#4682](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4682) [`f51e6ff443`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f51e6ff443) - License updated to Apache 2.0 (previously under the ADG license)
439
445
 
440
446
  ## 21.1.0
441
447
 
442
448
  ### Minor Changes
443
449
 
444
- - [`2f414dd083`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2f414dd083) - The new ArchiveIcon is now available to use via `import ArchiveIcon from '@atlaskit/icon/glyph/archive';`
450
+ - [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424) [`2f414dd083`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2f414dd083) - The new ArchiveIcon is now available to use via `import ArchiveIcon from '@atlaskit/icon/glyph/archive';`
445
451
 
446
452
  ## 21.0.3
447
453
 
448
454
  ### Patch Changes
449
455
 
450
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
456
+ - [#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
451
457
 
452
458
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
453
459
  to prevent duplicates of tslib being bundled.
@@ -456,19 +462,19 @@ _WRONG RELEASE TYPE - DON'T USE_
456
462
 
457
463
  ### Patch Changes
458
464
 
459
- - [`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
465
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
460
466
 
461
467
  ## 21.0.1
462
468
 
463
469
  ### Patch Changes
464
470
 
465
- - [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
471
+ - [#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
466
472
 
467
473
  ## 21.0.0
468
474
 
469
475
  ### Major Changes
470
476
 
471
- - [`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.
477
+ - [#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.
472
478
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
473
479
 
474
480
  ### Patch Changes
@@ -479,7 +485,7 @@ _WRONG RELEASE TYPE - DON'T USE_
479
485
 
480
486
  ### Patch Changes
481
487
 
482
- - [`eae51ceead`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eae51ceead) - Add mobile icon- Updated dependencies
488
+ - [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`eae51ceead`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eae51ceead) - Add mobile icon- Updated dependencies
483
489
 
484
490
  ## 20.1.1
485
491
 
@@ -1007,7 +1013,7 @@ _WRONG RELEASE TYPE - DON'T USE_
1007
1013
 
1008
1014
  ## 14.2.0
1009
1015
 
1010
- - [minor][fe3c283" d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fe3c283"
1016
+ - [minor][fe3c283](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fe3c283"
1011
1017
  d):
1012
1018
 
1013
1019
  - ED-5600: add icons for new table ux
@@ -12,8 +12,8 @@ var _react2 = require("@emotion/react");
12
12
  var _components = require("@atlaskit/theme/components");
13
13
  var _utils = require("./utils");
14
14
  var _styles = require("./styles");
15
- 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; }
16
- 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; } /** @jsx jsx */
15
+ 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; }
16
+ 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; } /** @jsx jsx */
17
17
  /**
18
18
  * We are hiding these props from consumers as they're used to
19
19
  * hack around icon sizing specifically for icon-file-type.
@@ -76,7 +76,7 @@ var secondaryTransparentHcmStyles = (0, _react2.css)({
76
76
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
77
77
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
78
78
  */
79
- var Icon = /*#__PURE__*/(0, _react.memo)(function Icon(props) {
79
+ var Icon = exports.Icon = /*#__PURE__*/(0, _react.memo)(function Icon(props) {
80
80
  var _ref = props,
81
81
  Glyph = _ref.glyph,
82
82
  dangerouslySetGlyph = _ref.dangerouslySetGlyph,
@@ -127,6 +127,4 @@ var Icon = /*#__PURE__*/(0, _react.memo)(function Icon(props) {
127
127
  })]
128
128
  }));
129
129
  });
130
- exports.Icon = Icon;
131
- var _default = Icon;
132
- exports.default = _default;
130
+ var _default = exports.default = Icon;
@@ -39,5 +39,4 @@ var Skeleton = /*#__PURE__*/(0, _react2.memo)(function Skeleton(_ref) {
39
39
  css: [skeletonStyles, weight === 'strong' ? strongOpacityStyles : subtleOpacityStyles, _styles.sizeStyleMap[size]]
40
40
  });
41
41
  });
42
- var _default = Skeleton;
43
- exports.default = _default;
42
+ var _default = exports.default = Skeleton;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.sizeStyleMap = exports.getIconSize = exports.commonSVGStyles = void 0;
7
7
  var _constants = require("../constants");
8
8
  var _react = require("@emotion/react");
9
- var commonSVGStyles = {
9
+ var commonSVGStyles = exports.commonSVGStyles = {
10
10
  overflow: 'hidden',
11
11
  pointerEvents: 'none',
12
12
  /**
@@ -18,14 +18,13 @@ var commonSVGStyles = {
18
18
  stopColor: 'currentColor'
19
19
  }
20
20
  };
21
- exports.commonSVGStyles = commonSVGStyles;
22
21
  var smallStyles = (0, _react.css)(_constants.dimensions.small);
23
22
  var mediumStyles = (0, _react.css)(_constants.dimensions.medium);
24
23
  var largeStyles = (0, _react.css)(_constants.dimensions.large);
25
24
  var xlargeStyles = (0, _react.css)(_constants.dimensions.xlarge);
26
25
 
27
26
  // pre-built css style-size map
28
- var sizeStyleMap = {
27
+ var sizeStyleMap = exports.sizeStyleMap = {
29
28
  small: smallStyles,
30
29
  medium: mediumStyles,
31
30
  large: largeStyles,
@@ -40,8 +39,7 @@ var sizeStyleMap = {
40
39
  * a secondary fallback which in 95% of cases is not required.
41
40
  * It's only really being kept to maintain backward compatability.
42
41
  */
43
- exports.sizeStyleMap = sizeStyleMap;
44
- var getIconSize = function getIconSize(_ref) {
42
+ var getIconSize = exports.getIconSize = function getIconSize(_ref) {
45
43
  var width = _ref.width,
46
44
  height = _ref.height,
47
45
  size = _ref.size;
@@ -55,5 +53,4 @@ var getIconSize = function getIconSize(_ref) {
55
53
  return _constants.dimensions[size];
56
54
  }
57
55
  return undefined;
58
- };
59
- exports.getIconSize = getIconSize;
56
+ };
@@ -45,5 +45,4 @@ var SVG = /*#__PURE__*/(0, _react.memo)(function SVG(_ref) {
45
45
  role: label ? 'img' : 'presentation'
46
46
  }, children);
47
47
  });
48
- var _default = SVG;
49
- exports.default = _default;
48
+ var _default = exports.default = SVG;
@@ -13,8 +13,7 @@ var themedBackground = {
13
13
  * Returns the background color depending on the passed through mode.
14
14
  * @param mode
15
15
  */
16
- var getBackground = function getBackground() {
16
+ var getBackground = exports.getBackground = function getBackground() {
17
17
  var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light';
18
18
  return themedBackground[mode];
19
- };
20
- exports.getBackground = getBackground;
19
+ };
@@ -4,21 +4,19 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.sizes = exports.sizeMap = exports.dimensions = void 0;
7
- var sizes = {
7
+ var sizes = exports.sizes = {
8
8
  small: '16px',
9
9
  medium: '24px',
10
10
  large: '32px',
11
11
  xlarge: '48px'
12
12
  };
13
- exports.sizes = sizes;
14
- var sizeMap = {
13
+ var sizeMap = exports.sizeMap = {
15
14
  small: 'small',
16
15
  medium: 'medium',
17
16
  large: 'large',
18
17
  xlarge: 'xlarge'
19
18
  };
20
- exports.sizeMap = sizeMap;
21
- var dimensions = {
19
+ var dimensions = exports.dimensions = {
22
20
  small: {
23
21
  width: sizes.small,
24
22
  height: sizes.small
@@ -35,5 +33,4 @@ var dimensions = {
35
33
  width: sizes.xlarge,
36
34
  height: sizes.xlarge
37
35
  }
38
- };
39
- exports.dimensions = dimensions;
36
+ };
@@ -1797,5 +1797,4 @@ var metaData = {
1797
1797
  package: '@atlaskit/icon/glyph/world'
1798
1798
  }
1799
1799
  };
1800
- var _default = metaData;
1801
- exports.default = _default;
1800
+ var _default = exports.default = metaData;
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
- 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; }
4
- 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; }
3
+ 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; }
4
+ 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; }
5
5
  /** @jsx jsx */
6
6
  import { memo } from 'react';
7
7
  import { css, jsx } from '@emotion/react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "21.12.7",
3
+ "version": "21.12.8",
4
4
  "description": "An icon is a visual representation of a command, device, directory, or common action.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,8 +29,8 @@
29
29
  "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
30
30
  },
31
31
  "dependencies": {
32
- "@atlaskit/theme": "^12.5.0",
33
- "@atlaskit/tokens": "^1.14.0",
32
+ "@atlaskit/theme": "^12.6.0",
33
+ "@atlaskit/tokens": "^1.28.0",
34
34
  "@babel/runtime": "^7.0.0",
35
35
  "@emotion/react": "^11.7.1"
36
36
  },
@@ -40,7 +40,6 @@
40
40
  "devDependencies": {
41
41
  "@af/accessibility-testing": "*",
42
42
  "@af/icon-build-process": "^0.3.0",
43
- "@af/visual-regression": "*",
44
43
  "@atlaskit/ds-lib": "^2.2.0",
45
44
  "@atlaskit/logo": "^13.14.0",
46
45
  "@atlaskit/ssr": "*",
@@ -3,87 +3,87 @@ Unlike its sister icon info files, this one is manually curated
3
3
  */
4
4
 
5
5
  import {
6
- AtlassianIcon,
7
- BitbucketIcon,
8
- ConfluenceIcon,
9
- HipchatIcon,
10
- JiraCoreIcon,
11
- JiraServiceDeskIcon,
12
- JiraSoftwareIcon,
13
- JiraIcon,
14
- StatuspageIcon,
15
- StrideIcon,
16
- } from '@atlaskit/logo';
6
+ AtlassianIcon,
7
+ BitbucketIcon,
8
+ ConfluenceIcon,
9
+ HipchatIcon,
10
+ JiraCoreIcon,
11
+ JiraServiceDeskIcon,
12
+ JiraSoftwareIcon,
13
+ JiraIcon,
14
+ StatuspageIcon,
15
+ StrideIcon,
16
+ } from '@atlaskit/logo';
17
17
 
18
- export default {
19
- AtlassianIcon: {
20
- componentName: 'AtlassianIcon',
21
- namedImport: true,
22
- component: AtlassianIcon,
23
- keywords: ['product', 'logo', 'atlassian'],
24
- package: '@atlaskit/logo'
25
- },
26
- BitbucketIcon: {
27
- componentName: 'BitbucketIcon',
28
- namedImport: true,
29
- component: BitbucketIcon,
30
- keywords: ['product', 'logo', 'bitbucket'],
31
- package: '@atlaskit/logo'
32
- },
33
- ConfluenceIcon: {
34
- componentName: 'ConfluenceIcon',
35
- namedImport: true,
36
- component: ConfluenceIcon,
37
- keywords: ['product', 'logo', 'confluence'],
38
- package: '@atlaskit/logo'
39
- },
40
- HipchatIcon: {
41
- componentName: 'HipchatIcon',
42
- namedImport: true,
43
- component: HipchatIcon,
44
- keywords: ['product', 'logo', 'hipchat'],
45
- package: '@atlaskit/logo'
46
- },
47
- JiraCoreIcon: {
48
- componentName: 'JiraCoreIcon',
49
- namedImport: true,
50
- component: JiraCoreIcon,
51
- keywords: ['product', 'logo', 'jira', 'core'],
52
- package: '@atlaskit/logo'
53
- },
54
- JiraServiceDeskIcon: {
55
- componentName: 'JiraServiceDeskIcon',
56
- namedImport: true,
57
- component: JiraServiceDeskIcon,
58
- keywords: ['product', 'logo', 'jira', 'servicedesk'],
59
- package: '@atlaskit/logo'
60
- },
61
- JiraSoftwareIcon: {
62
- componentName: 'JiraSoftwareIcon',
63
- namedImport: true,
64
- component: JiraSoftwareIcon,
65
- keywords: ['product', 'logo', 'jira', 'software'],
66
- package: '@atlaskit/logo'
67
- },
68
- JiraIcon: {
69
- componentName: 'JiraIcon',
70
- namedImport: true,
71
- component: JiraIcon,
72
- keywords: ['product', 'logo', 'jira'],
73
- package: '@atlaskit/logo'
74
- },
75
- StatuspageIcon: {
76
- componentName: 'StatuspageIcon',
77
- namedImport: true,
78
- component: StatuspageIcon,
79
- keywords: ['product', 'logo', 'statuspage'],
80
- package: '@atlaskit/logo'
81
- },
82
- StrideIcon: {
83
- componentName: 'StrideIcon',
84
- namedImport: true,
85
- component: StrideIcon,
86
- keywords: ['product', 'logo', 'stride'],
87
- package: '@atlaskit/logo'
88
- },
89
- };
18
+ export default {
19
+ AtlassianIcon: {
20
+ componentName: 'AtlassianIcon',
21
+ isNamedImport: true,
22
+ component: AtlassianIcon,
23
+ keywords: ['product', 'logo', 'atlassian'],
24
+ package: '@atlaskit/logo',
25
+ },
26
+ BitbucketIcon: {
27
+ componentName: 'BitbucketIcon',
28
+ isNamedImport: true,
29
+ component: BitbucketIcon,
30
+ keywords: ['product', 'logo', 'bitbucket'],
31
+ package: '@atlaskit/logo',
32
+ },
33
+ ConfluenceIcon: {
34
+ componentName: 'ConfluenceIcon',
35
+ isNamedImport: true,
36
+ component: ConfluenceIcon,
37
+ keywords: ['product', 'logo', 'confluence'],
38
+ package: '@atlaskit/logo',
39
+ },
40
+ HipchatIcon: {
41
+ componentName: 'HipchatIcon',
42
+ isNamedImport: true,
43
+ component: HipchatIcon,
44
+ keywords: ['product', 'logo', 'hipchat'],
45
+ package: '@atlaskit/logo',
46
+ },
47
+ JiraCoreIcon: {
48
+ componentName: 'JiraCoreIcon',
49
+ isNamedImport: true,
50
+ component: JiraCoreIcon,
51
+ keywords: ['product', 'logo', 'jira', 'core'],
52
+ package: '@atlaskit/logo',
53
+ },
54
+ JiraServiceDeskIcon: {
55
+ componentName: 'JiraServiceDeskIcon',
56
+ isNamedImport: true,
57
+ component: JiraServiceDeskIcon,
58
+ keywords: ['product', 'logo', 'jira', 'servicedesk'],
59
+ package: '@atlaskit/logo',
60
+ },
61
+ JiraSoftwareIcon: {
62
+ componentName: 'JiraSoftwareIcon',
63
+ isNamedImport: true,
64
+ component: JiraSoftwareIcon,
65
+ keywords: ['product', 'logo', 'jira', 'software'],
66
+ package: '@atlaskit/logo',
67
+ },
68
+ JiraIcon: {
69
+ componentName: 'JiraIcon',
70
+ isNamedImport: true,
71
+ component: JiraIcon,
72
+ keywords: ['product', 'logo', 'jira'],
73
+ package: '@atlaskit/logo',
74
+ },
75
+ StatuspageIcon: {
76
+ componentName: 'StatuspageIcon',
77
+ isNamedImport: true,
78
+ component: StatuspageIcon,
79
+ keywords: ['product', 'logo', 'statuspage'],
80
+ package: '@atlaskit/logo',
81
+ },
82
+ StrideIcon: {
83
+ componentName: 'StrideIcon',
84
+ isNamedImport: true,
85
+ component: StrideIcon,
86
+ keywords: ['product', 'logo', 'stride'],
87
+ package: '@atlaskit/logo',
88
+ },
89
+ };
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/icon",
3
- "version": "21.12.7",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/icon",
3
- "version": "21.12.7",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/icon",
3
- "version": "21.12.7",
4
- "sideEffects": false
5
- }