@atlaskit/icon-file-type 6.4.9 → 6.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/CHANGELOG.md +194 -79
  2. package/__tests__/visual-regression/icon-file-type-snapshots.test.ts +14 -24
  3. package/afm-jira/tsconfig.json +24 -0
  4. package/afm-post-office/tsconfig.json +24 -0
  5. package/codemods/6.1.0-metadata-entry.ts +90 -97
  6. package/codemods/__tests__/6.1.0-metadata-entry.ts +63 -63
  7. package/docs/0-intro.tsx +7 -7
  8. package/docs/content/props-definition.tsx +22 -5
  9. package/docs/content/usage.tsx +4 -4
  10. package/glyph/archive/16.d.ts +1 -1
  11. package/glyph/archive/16.js +14 -14
  12. package/glyph/archive/24.d.ts +1 -1
  13. package/glyph/archive/24.js +14 -14
  14. package/glyph/archive/48.d.ts +1 -1
  15. package/glyph/archive/48.js +15 -15
  16. package/glyph/audio/16.d.ts +1 -1
  17. package/glyph/audio/16.js +14 -14
  18. package/glyph/audio/24.d.ts +1 -1
  19. package/glyph/audio/24.js +14 -14
  20. package/glyph/audio/48.d.ts +1 -1
  21. package/glyph/audio/48.js +15 -15
  22. package/glyph/document/16.d.ts +1 -1
  23. package/glyph/document/16.js +14 -14
  24. package/glyph/document/24.d.ts +1 -1
  25. package/glyph/document/24.js +14 -14
  26. package/glyph/document/48.d.ts +1 -1
  27. package/glyph/document/48.js +15 -15
  28. package/glyph/excel-spreadsheet/16.d.ts +1 -1
  29. package/glyph/excel-spreadsheet/16.js +14 -14
  30. package/glyph/excel-spreadsheet/24.d.ts +1 -1
  31. package/glyph/excel-spreadsheet/24.js +14 -14
  32. package/glyph/excel-spreadsheet/48.d.ts +1 -1
  33. package/glyph/excel-spreadsheet/48.js +15 -15
  34. package/glyph/executable/16.d.ts +1 -1
  35. package/glyph/executable/16.js +14 -14
  36. package/glyph/executable/24.d.ts +1 -1
  37. package/glyph/executable/24.js +14 -14
  38. package/glyph/executable/48.d.ts +1 -1
  39. package/glyph/executable/48.js +15 -15
  40. package/glyph/figma/16.d.ts +1 -1
  41. package/glyph/figma/16.js +14 -14
  42. package/glyph/figma/24.d.ts +1 -1
  43. package/glyph/figma/24.js +14 -14
  44. package/glyph/figma/48.d.ts +1 -1
  45. package/glyph/figma/48.js +15 -15
  46. package/glyph/folder/16.d.ts +1 -1
  47. package/glyph/folder/16.js +14 -14
  48. package/glyph/folder/24.d.ts +1 -1
  49. package/glyph/folder/24.js +14 -14
  50. package/glyph/folder/48.d.ts +1 -1
  51. package/glyph/folder/48.js +15 -15
  52. package/glyph/generic/16.d.ts +1 -1
  53. package/glyph/generic/16.js +14 -14
  54. package/glyph/generic/24.d.ts +1 -1
  55. package/glyph/generic/24.js +14 -14
  56. package/glyph/generic/48.d.ts +1 -1
  57. package/glyph/generic/48.js +15 -15
  58. package/glyph/gif/16.d.ts +1 -1
  59. package/glyph/gif/16.js +14 -14
  60. package/glyph/gif/24.d.ts +1 -1
  61. package/glyph/gif/24.js +14 -14
  62. package/glyph/gif/48.d.ts +1 -1
  63. package/glyph/gif/48.js +15 -15
  64. package/glyph/google-doc/16.d.ts +1 -1
  65. package/glyph/google-doc/16.js +14 -14
  66. package/glyph/google-doc/24.d.ts +1 -1
  67. package/glyph/google-doc/24.js +14 -14
  68. package/glyph/google-doc/48.d.ts +1 -1
  69. package/glyph/google-doc/48.js +15 -15
  70. package/glyph/google-form/16.d.ts +1 -1
  71. package/glyph/google-form/16.js +14 -14
  72. package/glyph/google-form/24.d.ts +1 -1
  73. package/glyph/google-form/24.js +14 -14
  74. package/glyph/google-form/48.d.ts +1 -1
  75. package/glyph/google-form/48.js +15 -15
  76. package/glyph/google-sheet/16.d.ts +1 -1
  77. package/glyph/google-sheet/16.js +14 -14
  78. package/glyph/google-sheet/24.d.ts +1 -1
  79. package/glyph/google-sheet/24.js +14 -14
  80. package/glyph/google-sheet/48.d.ts +1 -1
  81. package/glyph/google-sheet/48.js +15 -15
  82. package/glyph/google-slide/16.d.ts +1 -1
  83. package/glyph/google-slide/16.js +14 -14
  84. package/glyph/google-slide/24.d.ts +1 -1
  85. package/glyph/google-slide/24.js +14 -14
  86. package/glyph/google-slide/48.d.ts +1 -1
  87. package/glyph/google-slide/48.js +15 -15
  88. package/glyph/image/16.d.ts +1 -1
  89. package/glyph/image/16.js +14 -14
  90. package/glyph/image/24.d.ts +1 -1
  91. package/glyph/image/24.js +14 -14
  92. package/glyph/image/48.d.ts +1 -1
  93. package/glyph/image/48.js +15 -15
  94. package/glyph/pdf-document/16.d.ts +1 -1
  95. package/glyph/pdf-document/16.js +14 -14
  96. package/glyph/pdf-document/24.d.ts +1 -1
  97. package/glyph/pdf-document/24.js +14 -14
  98. package/glyph/pdf-document/48.d.ts +1 -1
  99. package/glyph/pdf-document/48.js +15 -15
  100. package/glyph/powerpoint-presentation/16.d.ts +1 -1
  101. package/glyph/powerpoint-presentation/16.js +14 -14
  102. package/glyph/powerpoint-presentation/24.d.ts +1 -1
  103. package/glyph/powerpoint-presentation/24.js +14 -14
  104. package/glyph/powerpoint-presentation/48.d.ts +1 -1
  105. package/glyph/powerpoint-presentation/48.js +15 -15
  106. package/glyph/presentation/16.d.ts +1 -1
  107. package/glyph/presentation/16.js +14 -14
  108. package/glyph/presentation/24.d.ts +1 -1
  109. package/glyph/presentation/24.js +14 -14
  110. package/glyph/presentation/48.d.ts +1 -1
  111. package/glyph/presentation/48.js +15 -15
  112. package/glyph/sketch/16.d.ts +1 -1
  113. package/glyph/sketch/16.js +14 -14
  114. package/glyph/sketch/24.d.ts +1 -1
  115. package/glyph/sketch/24.js +14 -14
  116. package/glyph/sketch/48.d.ts +1 -1
  117. package/glyph/sketch/48.js +15 -15
  118. package/glyph/source-code/16.d.ts +1 -1
  119. package/glyph/source-code/16.js +14 -14
  120. package/glyph/source-code/24.d.ts +1 -1
  121. package/glyph/source-code/24.js +14 -14
  122. package/glyph/source-code/48.d.ts +1 -1
  123. package/glyph/source-code/48.js +15 -15
  124. package/glyph/spreadsheet/16.d.ts +1 -1
  125. package/glyph/spreadsheet/16.js +14 -14
  126. package/glyph/spreadsheet/24.d.ts +1 -1
  127. package/glyph/spreadsheet/24.js +14 -14
  128. package/glyph/spreadsheet/48.d.ts +1 -1
  129. package/glyph/spreadsheet/48.js +15 -15
  130. package/glyph/video/16.d.ts +1 -1
  131. package/glyph/video/16.js +14 -14
  132. package/glyph/video/24.d.ts +1 -1
  133. package/glyph/video/24.js +14 -14
  134. package/glyph/video/48.d.ts +1 -1
  135. package/glyph/video/48.js +15 -15
  136. package/glyph/word-document/16.d.ts +1 -1
  137. package/glyph/word-document/16.js +14 -14
  138. package/glyph/word-document/24.d.ts +1 -1
  139. package/glyph/word-document/24.js +14 -14
  140. package/glyph/word-document/48.d.ts +1 -1
  141. package/glyph/word-document/48.js +15 -15
  142. package/package.json +74 -75
  143. package/report.api.md +3 -2
package/CHANGELOG.md CHANGED
@@ -1,22 +1,36 @@
1
1
  # @atlaskit/icon-file-type
2
2
 
3
+ ## 6.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#132147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/132147)
8
+ [`580c0e6f55a69`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/580c0e6f55a69) -
9
+ Updates to support React 18
10
+
3
11
  ## 6.4.9
4
12
 
5
13
  ### Patch Changes
6
14
 
7
- - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007) [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) - Migrated to the new button component
15
+ - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
16
+ [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
17
+ Migrated to the new button component
8
18
 
9
19
  ## 6.4.8
10
20
 
11
21
  ### Patch Changes
12
22
 
13
- - [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509) [`fcf7481f594f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcf7481f594f) - Upgrade dependency of `@emotion/styled` to version 11
23
+ - [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509)
24
+ [`fcf7481f594f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcf7481f594f) -
25
+ Upgrade dependency of `@emotion/styled` to version 11
14
26
 
15
27
  ## 6.4.7
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [#64934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64934) [`532734a858a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/532734a858a1) - Update to internal metadata order, following update of @atlaskit/icon-build-process
31
+ - [#64934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64934)
32
+ [`532734a858a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/532734a858a1) -
33
+ Update to internal metadata order, following update of @atlaskit/icon-build-process
20
34
 
21
35
  ## 6.4.6
22
36
 
@@ -28,37 +42,50 @@
28
42
 
29
43
  ### Patch Changes
30
44
 
31
- - [#42577](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42577) [`d51b45b02fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d51b45b02fb) - Add component to push model consumption in JFE
45
+ - [#42577](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42577)
46
+ [`d51b45b02fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d51b45b02fb) - Add
47
+ component to push model consumption in JFE
32
48
 
33
49
  ## 6.4.4
34
50
 
35
51
  ### Patch Changes
36
52
 
37
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
53
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
54
+ [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
55
+ version.json
38
56
 
39
57
  ## 6.4.3
40
58
 
41
59
  ### Patch Changes
42
60
 
43
- - [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728) [`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
61
+ - [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728)
62
+ [`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) - Internal
63
+ change to enforce token usage for spacing properties. There is no expected visual or behaviour
64
+ change.
44
65
 
45
66
  ## 6.4.2
46
67
 
47
68
  ### Patch Changes
48
69
 
49
- - [#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
70
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
71
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
72
+ legacy types are published for TS 4.5-4.8
50
73
 
51
74
  ## 6.4.1
52
75
 
53
76
  ### Patch Changes
54
77
 
55
- - [#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`
78
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
79
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
80
+ Typescript from `4.5.5` to `4.9.5`
56
81
 
57
82
  ## 6.4.0
58
83
 
59
84
  ### Minor Changes
60
85
 
61
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
86
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
87
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
88
+ minor dependency bump
62
89
 
63
90
  ### Patch Changes
64
91
 
@@ -68,19 +95,26 @@
68
95
 
69
96
  ### Patch Changes
70
97
 
71
- - [#32171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32171) [`daefffa7e1a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/daefffa7e1a) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
98
+ - [#32171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32171)
99
+ [`daefffa7e1a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/daefffa7e1a) - Migrated
100
+ use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
72
101
 
73
102
  ## 6.3.7
74
103
 
75
104
  ### Patch Changes
76
105
 
77
- - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`ea9ecef219f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea9ecef219f) - Updated Icon File Type documentation with new tab structure
106
+ - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
107
+ [`ea9ecef219f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea9ecef219f) - Updated
108
+ Icon File Type documentation with new tab structure
78
109
 
79
110
  ## 6.3.6
80
111
 
81
112
  ### Patch Changes
82
113
 
83
- - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`d2f7ffb6b78`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2f7ffb6b78) - [ux] Updated the fill color of the following file icons to use new colors from the new color palette to avoid contrast issue in dark mode:
114
+ - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
115
+ [`d2f7ffb6b78`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2f7ffb6b78) - [ux]
116
+ Updated the fill color of the following file icons to use new colors from the new color palette to
117
+ avoid contrast issue in dark mode:
84
118
 
85
119
  - archive
86
120
  - excel-spreadsheet
@@ -95,90 +129,126 @@
95
129
 
96
130
  ### Patch Changes
97
131
 
98
- - [#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`
132
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
133
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
134
+ Typescript from `4.3.5` to `4.5.5`
99
135
 
100
136
  ## 6.3.4
101
137
 
102
138
  ### Patch Changes
103
139
 
104
- - [#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`.
140
+ - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
141
+ [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
142
+ `@atlaskit/theme` to version `^11.3.0`.
105
143
 
106
144
  ## 6.3.3
107
145
 
108
146
  ### Patch Changes
109
147
 
110
- - [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`df2bb5891ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df2bb5891ef) - Use named export of base icon in all icon-\* glyphs
148
+ - [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
149
+ [`df2bb5891ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df2bb5891ef) - Use
150
+ named export of base icon in all icon-\* glyphs
111
151
 
112
152
  ## 6.3.2
113
153
 
114
154
  ### Patch Changes
115
155
 
116
- - [#10522](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10522) [`72ef8bafec9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72ef8bafec9) - Add "./glyph" entry point.
156
+ - [#10522](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10522)
157
+ [`72ef8bafec9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72ef8bafec9) - Add
158
+ "./glyph" entry point.
117
159
 
118
160
  ## 6.3.1
119
161
 
120
162
  ### Patch Changes
121
163
 
122
- - [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`877e9e0b9f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/877e9e0b9f6) - Icon package dependency now uses carat range.
164
+ - [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
165
+ [`877e9e0b9f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/877e9e0b9f6) - Icon
166
+ package dependency now uses carat range.
123
167
 
124
168
  ## 6.3.0
125
169
 
126
170
  ### Minor Changes
127
171
 
128
- - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083) [`62968ed79be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62968ed79be) - Icon file type now utilises the base icon from `@atlaskit/icon`.
172
+ - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
173
+ [`62968ed79be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62968ed79be) - Icon
174
+ file type now utilises the base icon from `@atlaskit/icon`.
129
175
 
130
176
  ### Patch Changes
131
177
 
132
- - [`469f36d9629`](https://bitbucket.org/atlassian/atlassian-frontend/commits/469f36d9629) - Icon build tooling has been updated.
133
- - [`3de10e7652e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3de10e7652e) - Documentation updates and fixes to types for all icon packages.
134
- - [`d98f1bb1169`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d98f1bb1169) - Local build tooling improvements.
135
- - [`3f36b048938`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36b048938) - The color props have been removed from the TypeScript type definitions. The behavior has never worked with the glyphs but was included in the type definitions incorrectly.
178
+ - [`469f36d9629`](https://bitbucket.org/atlassian/atlassian-frontend/commits/469f36d9629) - Icon
179
+ build tooling has been updated.
180
+ - [`3de10e7652e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3de10e7652e) -
181
+ Documentation updates and fixes to types for all icon packages.
182
+ - [`d98f1bb1169`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d98f1bb1169) - Local
183
+ build tooling improvements.
184
+ - [`3f36b048938`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36b048938) - The
185
+ color props have been removed from the TypeScript type definitions. The behavior has never worked
186
+ with the glyphs but was included in the type definitions incorrectly.
136
187
  - Updated dependencies
137
188
 
138
189
  ## 6.2.0
139
190
 
140
191
  ### Minor Changes
141
192
 
142
- - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`6967b72747c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6967b72747c) - Icon file type now ships with cjs, esm, and es2019 bundles for exported components and utils. Glyphs unfortunately aren't included and still only export cjs bundles.
193
+ - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
194
+ [`6967b72747c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6967b72747c) - Icon
195
+ file type now ships with cjs, esm, and es2019 bundles for exported components and utils. Glyphs
196
+ unfortunately aren't included and still only export cjs bundles.
143
197
 
144
198
  ### Patch Changes
145
199
 
146
- - [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
147
- - [`f922302ad53`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f922302ad53) - Icons no longer ship with the `focusable` attribute in their glyph exports. This attribute was only required for IE11 support. This is purely a build change and has no effect on user API.
200
+ - [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
201
+ injected package name and version for analytics instead of version.json.
202
+ - [`f922302ad53`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f922302ad53) - Icons no
203
+ longer ship with the `focusable` attribute in their glyph exports. This attribute was only
204
+ required for IE11 support. This is purely a build change and has no effect on user API.
148
205
 
149
206
  ## 6.1.4
150
207
 
151
208
  ### Patch Changes
152
209
 
153
- - [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178) [`0741b1556f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0741b1556f6) - All icon glpyhs are now built without inline extends helpers, reducing their bundlesize.
154
- - [`8d6c79b9055`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d6c79b9055) - Typedefs of glyphs have been updated to reflect an API change that occured in version 15. For context, `onClick` was removed as a functional prop but it was still supported by the types. This may have resulted in a confusing developer experience although the fundamental behaviour has been consistent since version 15.
210
+ - [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
211
+ [`0741b1556f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0741b1556f6) - All icon
212
+ glpyhs are now built without inline extends helpers, reducing their bundlesize.
213
+ - [`8d6c79b9055`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d6c79b9055) - Typedefs
214
+ of glyphs have been updated to reflect an API change that occured in version 15. For context,
215
+ `onClick` was removed as a functional prop but it was still supported by the types. This may have
216
+ resulted in a confusing developer experience although the fundamental behaviour has been
217
+ consistent since version 15.
155
218
 
156
219
  ## 6.1.3
157
220
 
158
221
  ### Patch Changes
159
222
 
160
- - [#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
223
+ - [#7425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7425)
224
+ [`b9f0d16300`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9f0d16300) -
225
+ Re-generated icons using a newer version of the build process
161
226
 
162
227
  ## 6.1.2
163
228
 
164
229
  ### Patch Changes
165
230
 
166
- - [#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.
231
+ - [#7589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7589)
232
+ [`c65f28c058`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c65f28c058) - Change
233
+ codemod to return raw source if it is not transforming a file.
167
234
 
168
- Otherwise it would run prettier which can lead to some invalid syntax outputted
169
- in edge cases. This is likely due to an issue in either `codemod-cli` or `jscodeshift`.
235
+ Otherwise it would run prettier which can lead to some invalid syntax outputted in edge cases.
236
+ This is likely due to an issue in either `codemod-cli` or `jscodeshift`.
170
237
 
171
238
  ## 6.1.1
172
239
 
173
240
  ### Patch Changes
174
241
 
175
- - [#7458](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7458) [`8990bf36a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8990bf36a9) - Add a missing codemod for the entrypoint change in 6.1.0
242
+ - [#7458](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7458)
243
+ [`8990bf36a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8990bf36a9) - Add a
244
+ missing codemod for the entrypoint change in 6.1.0
176
245
 
177
246
  ***
178
247
 
179
248
  **Running the codemod cli**
180
249
 
181
- To run the codemod: **You first need to have the latest version installed before you can run the codemod**
250
+ To run the codemod: **You first need to have the latest version installed before you can run the
251
+ codemod**
182
252
 
183
253
  `yarn upgrade @atlaskit/PACKAGE@^VERSION`
184
254
 
@@ -186,22 +256,29 @@
186
256
 
187
257
  `npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
188
258
 
189
- Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
190
- For Atlassians, refer to [this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on the codemod CLI.
259
+ Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
260
+ [this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details
261
+ on the codemod CLI.
191
262
 
192
263
  ## 6.1.0
193
264
 
194
265
  ### Minor Changes
195
266
 
196
- - [#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.
267
+ - [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
268
+ [`fbdf356800`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbdf356800) - Remove
269
+ undocumented metadata export from main entry point. To import metadata instead do it from the
270
+ /metadata entrypoint.
197
271
 
198
272
  ## 6.0.6
199
273
 
200
274
  ### Patch Changes
201
275
 
202
- - [#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.
203
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
204
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
276
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
277
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
278
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
279
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
280
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
281
+ `devDependencies` to denote version that the package was built with.
205
282
 
206
283
  ## 6.0.5
207
284
 
@@ -213,35 +290,46 @@
213
290
 
214
291
  ### Patch Changes
215
292
 
216
- - [#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
293
+ - [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649)
294
+ [`d6ff4c7dce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6ff4c7dce) - Removes
295
+ unused (and incorrect) es2019 key in package.json
217
296
 
218
297
  ## 6.0.3
219
298
 
220
299
  ### Patch Changes
221
300
 
222
- - [#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)
301
+ - [#4682](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4682)
302
+ [`f51e6ff443`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f51e6ff443) - License
303
+ updated to Apache 2.0 (previously under the ADG license)
223
304
 
224
305
  ## 6.0.2
225
306
 
226
307
  ### Patch Changes
227
308
 
228
- - [#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
309
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
310
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
311
+ to TypeScript 3.9.6 and tslib to 2.0.0
229
312
 
230
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
231
- to prevent duplicates of tslib being bundled.
313
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
314
+ upgrade to prevent duplicates of tslib being bundled.
232
315
 
233
316
  ## 6.0.1
234
317
 
235
318
  ### Patch Changes
236
319
 
237
- - [#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
320
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
321
+ [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
322
+ the theme imports to be tree-shakable
238
323
 
239
324
  ## 6.0.0
240
325
 
241
326
  ### Major Changes
242
327
 
243
- - [#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.
244
- For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
328
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
329
+ [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
330
+ dropping IE11 support, from this version onwards there are no warranties of the package working in
331
+ IE11. For more information see:
332
+ https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
245
333
 
246
334
  ### Patch Changes
247
335
 
@@ -253,13 +341,19 @@
253
341
 
254
342
  - [patch][aff1210e19](https://bitbucket.org/atlassian/atlassian-frontend/commits/aff1210e19):
255
343
 
256
- Figma file type icon added.- Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
344
+ Figma file type icon added.- Updated dependencies
345
+ [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
257
346
 
258
- - Updated dependencies [f5b654c328](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5b654c328):
259
- - Updated dependencies [0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
260
- - Updated dependencies [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
261
- - Updated dependencies [b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
262
- - Updated dependencies [89bf723567](https://bitbucket.org/atlassian/atlassian-frontend/commits/89bf723567):
347
+ - Updated dependencies
348
+ [f5b654c328](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5b654c328):
349
+ - Updated dependencies
350
+ [0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
351
+ - Updated dependencies
352
+ [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
353
+ - Updated dependencies
354
+ [b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
355
+ - Updated dependencies
356
+ [89bf723567](https://bitbucket.org/atlassian/atlassian-frontend/commits/89bf723567):
263
357
  - @atlaskit/docs@8.5.1
264
358
  - @atlaskit/modal-dialog@10.5.6
265
359
  - @atlaskit/theme@9.5.3
@@ -274,9 +368,12 @@
274
368
  Corrects accessibility behavior for wrapping span. It now will now:
275
369
 
276
370
  - conditionally set the `aria-label` if `label` is defined
277
- - conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is not defined- Updated dependencies [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
371
+ - conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is
372
+ not defined- Updated dependencies
373
+ [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
278
374
 
279
- - Updated dependencies [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
375
+ - Updated dependencies
376
+ [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
280
377
  - @atlaskit/docs@8.4.0
281
378
  - @atlaskit/button@13.3.9
282
379
  - @atlaskit/modal-dialog@10.5.4
@@ -289,7 +386,8 @@
289
386
 
290
387
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
291
388
 
292
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
389
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
390
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
293
391
 
294
392
  - @atlaskit/docs@8.3.2
295
393
  - @atlaskit/button@13.3.7
@@ -304,7 +402,8 @@
304
402
 
305
403
  - [patch][65c8aab025](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c8aab025):
306
404
 
307
- Fix main/module fields in package.json pointing to the wrong place- Updated dependencies [ccbd1b390b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ccbd1b390b):
405
+ Fix main/module fields in package.json pointing to the wrong place- Updated dependencies
406
+ [ccbd1b390b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ccbd1b390b):
308
407
 
309
408
  - @atlaskit/build-utils@2.6.0
310
409
 
@@ -314,7 +413,8 @@
314
413
 
315
414
  - [major][f9b5e24662](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9b5e24662):
316
415
 
317
- @atlaskit/icon-file-type and @atlaskit/icon-object have been converted to TypeScript to provide static typing. Flow types are no longer provided. No API or bahavioural changes.
416
+ @atlaskit/icon-file-type and @atlaskit/icon-object have been converted to TypeScript to provide
417
+ static typing. Flow types are no longer provided. No API or bahavioural changes.
318
418
 
319
419
  ## 4.0.10
320
420
 
@@ -330,7 +430,8 @@
330
430
 
331
431
  - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
332
432
 
333
- Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
433
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
434
+ non-relative imports as relative imports
334
435
 
335
436
  ## 4.0.8
336
437
 
@@ -374,29 +475,34 @@
374
475
 
375
476
  ## 4.0.3
376
477
 
377
- - Updated dependencies [67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
478
+ - Updated dependencies
479
+ [67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
378
480
  - @atlaskit/tooltip@15.0.0
379
481
 
380
482
  ## 4.0.2
381
483
 
382
484
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
383
485
 
384
- - This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
486
+ - This is just a safety release in case anything strange happened in in the previous one. See Pull
487
+ Request #5942 for details
385
488
 
386
489
  ## 4.0.1
387
490
 
388
- - Updated dependencies [06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
491
+ - Updated dependencies
492
+ [06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
389
493
  - @atlaskit/modal-dialog@10.0.0
390
494
 
391
495
  ## 4.0.0
392
496
 
393
497
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
394
498
 
395
- - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.
499
+ - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
500
+ this package, please ensure you use at least this version of react and react-dom.
396
501
 
397
502
  ## 3.0.8
398
503
 
399
- - Updated dependencies [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
504
+ - Updated dependencies
505
+ [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
400
506
  - @atlaskit/docs@7.0.3
401
507
  - @atlaskit/button@12.0.3
402
508
  - @atlaskit/field-text@8.0.3
@@ -406,7 +512,8 @@
406
512
 
407
513
  ## 3.0.7
408
514
 
409
- - Updated dependencies [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
515
+ - Updated dependencies
516
+ [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
410
517
  - @atlaskit/docs@7.0.2
411
518
  - @atlaskit/field-text@8.0.2
412
519
  - @atlaskit/modal-dialog@8.0.6
@@ -422,7 +529,8 @@
422
529
 
423
530
  ## 3.0.5
424
531
 
425
- - Updated dependencies [9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
532
+ - Updated dependencies
533
+ [9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
426
534
  - @atlaskit/docs@7.0.1
427
535
  - @atlaskit/field-text@8.0.1
428
536
  - @atlaskit/modal-dialog@8.0.2
@@ -432,7 +540,8 @@
432
540
 
433
541
  ## 3.0.4
434
542
 
435
- - Updated dependencies [76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
543
+ - Updated dependencies
544
+ [76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
436
545
  - @atlaskit/button@10.1.3
437
546
  - @atlaskit/docs@7.0.0
438
547
  - @atlaskit/field-text@8.0.0
@@ -470,7 +579,8 @@
470
579
 
471
580
  - [major][ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
472
581
 
473
- - Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a Button or a Link component.
582
+ - Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
583
+ Button or a Link component.
474
584
 
475
585
  ## 2.0.1
476
586
 
@@ -488,9 +598,9 @@
488
598
 
489
599
  - Simplify the icons build process
490
600
 
491
- Icons no longer need a custom `build` step to be accurate on npm. This
492
- has come about by renaming the `es5` folder to `cjs`. If you weren't reaching
493
- into our package's internals, you shouldn't notice.
601
+ Icons no longer need a custom `build` step to be accurate on npm. This has come about by renaming
602
+ the `es5` folder to `cjs`. If you weren't reaching into our package's internals, you shouldn't
603
+ notice.
494
604
 
495
605
  - [major][80304f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80304f0):
496
606
 
@@ -498,9 +608,9 @@
498
608
 
499
609
  - Rename `iconsInfo` to `metadata` to more accurately reflect its role
500
610
 
501
- This change comes with rethinking what is exported from this object,
502
- which no longer includes copies of the icons. If you need to rely on the
503
- metadata to get the packages, each should be required by your own code.
611
+ This change comes with rethinking what is exported from this object, which no longer includes
612
+ copies of the icons. If you need to rely on the metadata to get the packages, each should be
613
+ required by your own code.
504
614
 
505
615
  The `icon-explorer` has an example of how to do this.
506
616
 
@@ -509,20 +619,25 @@
509
619
 
510
620
  ## 1.0.4
511
621
 
512
- - [patch] Update to use babel-7 for build processes [e7bb74d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7bb74d)
622
+ - [patch] Update to use babel-7 for build processes
623
+ [e7bb74d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7bb74d)
513
624
 
514
625
  ## 1.0.3
515
626
 
516
- - [patch] Adds missing implicit @babel/runtime dependency [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
627
+ - [patch] Adds missing implicit @babel/runtime dependency
628
+ [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
517
629
 
518
630
  ## 1.0.2
519
631
 
520
- - [patch] Publish utils folder [272208b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/272208b)
632
+ - [patch] Publish utils folder
633
+ [272208b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/272208b)
521
634
 
522
635
  ## 1.0.1
523
636
 
524
- - [patch] icon-file-type and icon-object publish glyphs, svgs, and es5 instead of just dist [0823d35](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0823d35)
637
+ - [patch] icon-file-type and icon-object publish glyphs, svgs, and es5 instead of just dist
638
+ [0823d35](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0823d35)
525
639
 
526
640
  ## 1.0.0
527
641
 
528
- - [major] Release icon-object and icon-file-type [709b239](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/709b239)
642
+ - [major] Release icon-object and icon-file-type
643
+ [709b239](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/709b239)
@@ -1,35 +1,25 @@
1
1
  import { getExampleUrl, loadPage } from '@atlaskit/visual-regression/helper';
2
2
 
3
3
  describe('icon file type snapshots', () => {
4
- it('should match light mode icons', async () => {
5
- const { __BASEURL__, page } = global as any;
6
- const url = getExampleUrl(
7
- 'media',
8
- 'icon-file-type',
9
- 'icon-examples',
10
- __BASEURL__,
11
- );
4
+ it('should match light mode icons', async () => {
5
+ const { __BASEURL__, page } = global as any;
6
+ const url = getExampleUrl('media', 'icon-file-type', 'icon-examples', __BASEURL__);
12
7
 
13
- await loadPage(page, url);
8
+ await loadPage(page, url);
14
9
 
15
- const element = await page.$('[data-testid="light-root"]');
10
+ const element = await page.$('[data-testid="light-root"]');
16
11
 
17
- expect(await element?.screenshot()).toMatchProdImageSnapshot();
18
- });
12
+ expect(await element?.screenshot()).toMatchProdImageSnapshot();
13
+ });
19
14
 
20
- it('should match dark mode icons', async () => {
21
- const { __BASEURL__, page } = global as any;
22
- const url = getExampleUrl(
23
- 'media',
24
- 'icon-file-type',
25
- 'icon-examples',
26
- __BASEURL__,
27
- );
15
+ it('should match dark mode icons', async () => {
16
+ const { __BASEURL__, page } = global as any;
17
+ const url = getExampleUrl('media', 'icon-file-type', 'icon-examples', __BASEURL__);
28
18
 
29
- await loadPage(page, url);
19
+ await loadPage(page, url);
30
20
 
31
- const element = await page.$('[data-testid="dark-root"]');
21
+ const element = await page.$('[data-testid="dark-root"]');
32
22
 
33
- expect(await element?.screenshot()).toMatchProdImageSnapshot();
34
- });
23
+ expect(await element?.screenshot()).toMatchProdImageSnapshot();
24
+ });
35
25
  });