@atlaskit/icon-file-type 6.4.8 → 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.
- package/CHANGELOG.md +199 -78
- package/__tests__/visual-regression/icon-file-type-snapshots.test.ts +14 -24
- package/afm-jira/tsconfig.json +24 -0
- package/afm-post-office/tsconfig.json +24 -0
- package/codemods/6.1.0-metadata-entry.ts +90 -97
- package/codemods/__tests__/6.1.0-metadata-entry.ts +63 -63
- package/docs/0-intro.tsx +7 -7
- package/docs/content/props-definition.tsx +22 -5
- package/docs/content/usage.tsx +4 -4
- package/glyph/archive/16.d.ts +1 -1
- package/glyph/archive/16.js +14 -14
- package/glyph/archive/24.d.ts +1 -1
- package/glyph/archive/24.js +14 -14
- package/glyph/archive/48.d.ts +1 -1
- package/glyph/archive/48.js +15 -15
- package/glyph/audio/16.d.ts +1 -1
- package/glyph/audio/16.js +14 -14
- package/glyph/audio/24.d.ts +1 -1
- package/glyph/audio/24.js +14 -14
- package/glyph/audio/48.d.ts +1 -1
- package/glyph/audio/48.js +15 -15
- package/glyph/document/16.d.ts +1 -1
- package/glyph/document/16.js +14 -14
- package/glyph/document/24.d.ts +1 -1
- package/glyph/document/24.js +14 -14
- package/glyph/document/48.d.ts +1 -1
- package/glyph/document/48.js +15 -15
- package/glyph/excel-spreadsheet/16.d.ts +1 -1
- package/glyph/excel-spreadsheet/16.js +14 -14
- package/glyph/excel-spreadsheet/24.d.ts +1 -1
- package/glyph/excel-spreadsheet/24.js +14 -14
- package/glyph/excel-spreadsheet/48.d.ts +1 -1
- package/glyph/excel-spreadsheet/48.js +15 -15
- package/glyph/executable/16.d.ts +1 -1
- package/glyph/executable/16.js +14 -14
- package/glyph/executable/24.d.ts +1 -1
- package/glyph/executable/24.js +14 -14
- package/glyph/executable/48.d.ts +1 -1
- package/glyph/executable/48.js +15 -15
- package/glyph/figma/16.d.ts +1 -1
- package/glyph/figma/16.js +14 -14
- package/glyph/figma/24.d.ts +1 -1
- package/glyph/figma/24.js +14 -14
- package/glyph/figma/48.d.ts +1 -1
- package/glyph/figma/48.js +15 -15
- package/glyph/folder/16.d.ts +1 -1
- package/glyph/folder/16.js +14 -14
- package/glyph/folder/24.d.ts +1 -1
- package/glyph/folder/24.js +14 -14
- package/glyph/folder/48.d.ts +1 -1
- package/glyph/folder/48.js +15 -15
- package/glyph/generic/16.d.ts +1 -1
- package/glyph/generic/16.js +14 -14
- package/glyph/generic/24.d.ts +1 -1
- package/glyph/generic/24.js +14 -14
- package/glyph/generic/48.d.ts +1 -1
- package/glyph/generic/48.js +15 -15
- package/glyph/gif/16.d.ts +1 -1
- package/glyph/gif/16.js +14 -14
- package/glyph/gif/24.d.ts +1 -1
- package/glyph/gif/24.js +14 -14
- package/glyph/gif/48.d.ts +1 -1
- package/glyph/gif/48.js +15 -15
- package/glyph/google-doc/16.d.ts +1 -1
- package/glyph/google-doc/16.js +14 -14
- package/glyph/google-doc/24.d.ts +1 -1
- package/glyph/google-doc/24.js +14 -14
- package/glyph/google-doc/48.d.ts +1 -1
- package/glyph/google-doc/48.js +15 -15
- package/glyph/google-form/16.d.ts +1 -1
- package/glyph/google-form/16.js +14 -14
- package/glyph/google-form/24.d.ts +1 -1
- package/glyph/google-form/24.js +14 -14
- package/glyph/google-form/48.d.ts +1 -1
- package/glyph/google-form/48.js +15 -15
- package/glyph/google-sheet/16.d.ts +1 -1
- package/glyph/google-sheet/16.js +14 -14
- package/glyph/google-sheet/24.d.ts +1 -1
- package/glyph/google-sheet/24.js +14 -14
- package/glyph/google-sheet/48.d.ts +1 -1
- package/glyph/google-sheet/48.js +15 -15
- package/glyph/google-slide/16.d.ts +1 -1
- package/glyph/google-slide/16.js +14 -14
- package/glyph/google-slide/24.d.ts +1 -1
- package/glyph/google-slide/24.js +14 -14
- package/glyph/google-slide/48.d.ts +1 -1
- package/glyph/google-slide/48.js +15 -15
- package/glyph/image/16.d.ts +1 -1
- package/glyph/image/16.js +14 -14
- package/glyph/image/24.d.ts +1 -1
- package/glyph/image/24.js +14 -14
- package/glyph/image/48.d.ts +1 -1
- package/glyph/image/48.js +15 -15
- package/glyph/pdf-document/16.d.ts +1 -1
- package/glyph/pdf-document/16.js +14 -14
- package/glyph/pdf-document/24.d.ts +1 -1
- package/glyph/pdf-document/24.js +14 -14
- package/glyph/pdf-document/48.d.ts +1 -1
- package/glyph/pdf-document/48.js +15 -15
- package/glyph/powerpoint-presentation/16.d.ts +1 -1
- package/glyph/powerpoint-presentation/16.js +14 -14
- package/glyph/powerpoint-presentation/24.d.ts +1 -1
- package/glyph/powerpoint-presentation/24.js +14 -14
- package/glyph/powerpoint-presentation/48.d.ts +1 -1
- package/glyph/powerpoint-presentation/48.js +15 -15
- package/glyph/presentation/16.d.ts +1 -1
- package/glyph/presentation/16.js +14 -14
- package/glyph/presentation/24.d.ts +1 -1
- package/glyph/presentation/24.js +14 -14
- package/glyph/presentation/48.d.ts +1 -1
- package/glyph/presentation/48.js +15 -15
- package/glyph/sketch/16.d.ts +1 -1
- package/glyph/sketch/16.js +14 -14
- package/glyph/sketch/24.d.ts +1 -1
- package/glyph/sketch/24.js +14 -14
- package/glyph/sketch/48.d.ts +1 -1
- package/glyph/sketch/48.js +15 -15
- package/glyph/source-code/16.d.ts +1 -1
- package/glyph/source-code/16.js +14 -14
- package/glyph/source-code/24.d.ts +1 -1
- package/glyph/source-code/24.js +14 -14
- package/glyph/source-code/48.d.ts +1 -1
- package/glyph/source-code/48.js +15 -15
- package/glyph/spreadsheet/16.d.ts +1 -1
- package/glyph/spreadsheet/16.js +14 -14
- package/glyph/spreadsheet/24.d.ts +1 -1
- package/glyph/spreadsheet/24.js +14 -14
- package/glyph/spreadsheet/48.d.ts +1 -1
- package/glyph/spreadsheet/48.js +15 -15
- package/glyph/video/16.d.ts +1 -1
- package/glyph/video/16.js +14 -14
- package/glyph/video/24.d.ts +1 -1
- package/glyph/video/24.js +14 -14
- package/glyph/video/48.d.ts +1 -1
- package/glyph/video/48.js +15 -15
- package/glyph/word-document/16.d.ts +1 -1
- package/glyph/word-document/16.js +14 -14
- package/glyph/word-document/24.d.ts +1 -1
- package/glyph/word-document/24.js +14 -14
- package/glyph/word-document/48.d.ts +1 -1
- package/glyph/word-document/48.js +15 -15
- package/metadata/package.json +1 -1
- package/package.json +73 -74
- package/report.api.md +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +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
|
+
|
|
11
|
+
## 6.4.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
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
|
|
18
|
+
|
|
3
19
|
## 6.4.8
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
- [#80509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80509)
|
|
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
|
|
8
26
|
|
|
9
27
|
## 6.4.7
|
|
10
28
|
|
|
11
29
|
### Patch Changes
|
|
12
30
|
|
|
13
|
-
- [#64934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64934)
|
|
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
|
|
14
34
|
|
|
15
35
|
## 6.4.6
|
|
16
36
|
|
|
@@ -22,37 +42,50 @@
|
|
|
22
42
|
|
|
23
43
|
### Patch Changes
|
|
24
44
|
|
|
25
|
-
- [#42577](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42577)
|
|
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
|
|
26
48
|
|
|
27
49
|
## 6.4.4
|
|
28
50
|
|
|
29
51
|
### Patch Changes
|
|
30
52
|
|
|
31
|
-
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
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
|
|
32
56
|
|
|
33
57
|
## 6.4.3
|
|
34
58
|
|
|
35
59
|
### Patch Changes
|
|
36
60
|
|
|
37
|
-
- [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728)
|
|
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.
|
|
38
65
|
|
|
39
66
|
## 6.4.2
|
|
40
67
|
|
|
41
68
|
### Patch Changes
|
|
42
69
|
|
|
43
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
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
|
|
44
73
|
|
|
45
74
|
## 6.4.1
|
|
46
75
|
|
|
47
76
|
### Patch Changes
|
|
48
77
|
|
|
49
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
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`
|
|
50
81
|
|
|
51
82
|
## 6.4.0
|
|
52
83
|
|
|
53
84
|
### Minor Changes
|
|
54
85
|
|
|
55
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
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
|
|
56
89
|
|
|
57
90
|
### Patch Changes
|
|
58
91
|
|
|
@@ -62,19 +95,26 @@
|
|
|
62
95
|
|
|
63
96
|
### Patch Changes
|
|
64
97
|
|
|
65
|
-
- [#32171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32171)
|
|
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.
|
|
66
101
|
|
|
67
102
|
## 6.3.7
|
|
68
103
|
|
|
69
104
|
### Patch Changes
|
|
70
105
|
|
|
71
|
-
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
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
|
|
72
109
|
|
|
73
110
|
## 6.3.6
|
|
74
111
|
|
|
75
112
|
### Patch Changes
|
|
76
113
|
|
|
77
|
-
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
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:
|
|
78
118
|
|
|
79
119
|
- archive
|
|
80
120
|
- excel-spreadsheet
|
|
@@ -89,90 +129,126 @@
|
|
|
89
129
|
|
|
90
130
|
### Patch Changes
|
|
91
131
|
|
|
92
|
-
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
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`
|
|
93
135
|
|
|
94
136
|
## 6.3.4
|
|
95
137
|
|
|
96
138
|
### Patch Changes
|
|
97
139
|
|
|
98
|
-
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
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`.
|
|
99
143
|
|
|
100
144
|
## 6.3.3
|
|
101
145
|
|
|
102
146
|
### Patch Changes
|
|
103
147
|
|
|
104
|
-
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
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
|
|
105
151
|
|
|
106
152
|
## 6.3.2
|
|
107
153
|
|
|
108
154
|
### Patch Changes
|
|
109
155
|
|
|
110
|
-
- [#10522](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10522)
|
|
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.
|
|
111
159
|
|
|
112
160
|
## 6.3.1
|
|
113
161
|
|
|
114
162
|
### Patch Changes
|
|
115
163
|
|
|
116
|
-
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
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.
|
|
117
167
|
|
|
118
168
|
## 6.3.0
|
|
119
169
|
|
|
120
170
|
### Minor Changes
|
|
121
171
|
|
|
122
|
-
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
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`.
|
|
123
175
|
|
|
124
176
|
### Patch Changes
|
|
125
177
|
|
|
126
|
-
- [`469f36d9629`](https://bitbucket.org/atlassian/atlassian-frontend/commits/469f36d9629) - Icon
|
|
127
|
-
|
|
128
|
-
- [`
|
|
129
|
-
|
|
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.
|
|
130
187
|
- Updated dependencies
|
|
131
188
|
|
|
132
189
|
## 6.2.0
|
|
133
190
|
|
|
134
191
|
### Minor Changes
|
|
135
192
|
|
|
136
|
-
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
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.
|
|
137
197
|
|
|
138
198
|
### Patch Changes
|
|
139
199
|
|
|
140
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
141
|
-
|
|
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.
|
|
142
205
|
|
|
143
206
|
## 6.1.4
|
|
144
207
|
|
|
145
208
|
### Patch Changes
|
|
146
209
|
|
|
147
|
-
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
|
|
148
|
-
|
|
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.
|
|
149
218
|
|
|
150
219
|
## 6.1.3
|
|
151
220
|
|
|
152
221
|
### Patch Changes
|
|
153
222
|
|
|
154
|
-
- [#7425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7425)
|
|
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
|
|
155
226
|
|
|
156
227
|
## 6.1.2
|
|
157
228
|
|
|
158
229
|
### Patch Changes
|
|
159
230
|
|
|
160
|
-
- [#7589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7589)
|
|
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.
|
|
161
234
|
|
|
162
|
-
Otherwise it would run prettier which can lead to some invalid syntax outputted
|
|
163
|
-
|
|
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`.
|
|
164
237
|
|
|
165
238
|
## 6.1.1
|
|
166
239
|
|
|
167
240
|
### Patch Changes
|
|
168
241
|
|
|
169
|
-
- [#7458](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7458)
|
|
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
|
|
170
245
|
|
|
171
246
|
***
|
|
172
247
|
|
|
173
248
|
**Running the codemod cli**
|
|
174
249
|
|
|
175
|
-
To run the codemod: **You first need to have the latest version installed before you can run the
|
|
250
|
+
To run the codemod: **You first need to have the latest version installed before you can run the
|
|
251
|
+
codemod**
|
|
176
252
|
|
|
177
253
|
`yarn upgrade @atlaskit/PACKAGE@^VERSION`
|
|
178
254
|
|
|
@@ -180,22 +256,29 @@
|
|
|
180
256
|
|
|
181
257
|
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
182
258
|
|
|
183
|
-
Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
184
|
-
|
|
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.
|
|
185
262
|
|
|
186
263
|
## 6.1.0
|
|
187
264
|
|
|
188
265
|
### Minor Changes
|
|
189
266
|
|
|
190
|
-
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
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.
|
|
191
271
|
|
|
192
272
|
## 6.0.6
|
|
193
273
|
|
|
194
274
|
### Patch Changes
|
|
195
275
|
|
|
196
|
-
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
197
|
-
|
|
198
|
-
|
|
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.
|
|
199
282
|
|
|
200
283
|
## 6.0.5
|
|
201
284
|
|
|
@@ -207,35 +290,46 @@
|
|
|
207
290
|
|
|
208
291
|
### Patch Changes
|
|
209
292
|
|
|
210
|
-
- [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649)
|
|
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
|
|
211
296
|
|
|
212
297
|
## 6.0.3
|
|
213
298
|
|
|
214
299
|
### Patch Changes
|
|
215
300
|
|
|
216
|
-
- [#4682](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4682)
|
|
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)
|
|
217
304
|
|
|
218
305
|
## 6.0.2
|
|
219
306
|
|
|
220
307
|
### Patch Changes
|
|
221
308
|
|
|
222
|
-
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
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
|
|
223
312
|
|
|
224
|
-
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
225
|
-
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.
|
|
226
315
|
|
|
227
316
|
## 6.0.1
|
|
228
317
|
|
|
229
318
|
### Patch Changes
|
|
230
319
|
|
|
231
|
-
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
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
|
|
232
323
|
|
|
233
324
|
## 6.0.0
|
|
234
325
|
|
|
235
326
|
### Major Changes
|
|
236
327
|
|
|
237
|
-
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
238
|
-
|
|
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
|
|
239
333
|
|
|
240
334
|
### Patch Changes
|
|
241
335
|
|
|
@@ -247,13 +341,19 @@
|
|
|
247
341
|
|
|
248
342
|
- [patch][aff1210e19](https://bitbucket.org/atlassian/atlassian-frontend/commits/aff1210e19):
|
|
249
343
|
|
|
250
|
-
Figma file type icon added.- Updated dependencies
|
|
344
|
+
Figma file type icon added.- Updated dependencies
|
|
345
|
+
[168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
|
|
251
346
|
|
|
252
|
-
- Updated dependencies
|
|
253
|
-
|
|
254
|
-
- Updated dependencies
|
|
255
|
-
|
|
256
|
-
- Updated dependencies
|
|
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):
|
|
257
357
|
- @atlaskit/docs@8.5.1
|
|
258
358
|
- @atlaskit/modal-dialog@10.5.6
|
|
259
359
|
- @atlaskit/theme@9.5.3
|
|
@@ -268,9 +368,12 @@
|
|
|
268
368
|
Corrects accessibility behavior for wrapping span. It now will now:
|
|
269
369
|
|
|
270
370
|
- conditionally set the `aria-label` if `label` is defined
|
|
271
|
-
- conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is
|
|
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):
|
|
272
374
|
|
|
273
|
-
- Updated dependencies
|
|
375
|
+
- Updated dependencies
|
|
376
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
274
377
|
- @atlaskit/docs@8.4.0
|
|
275
378
|
- @atlaskit/button@13.3.9
|
|
276
379
|
- @atlaskit/modal-dialog@10.5.4
|
|
@@ -283,7 +386,8 @@
|
|
|
283
386
|
|
|
284
387
|
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
285
388
|
|
|
286
|
-
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
389
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
390
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
287
391
|
|
|
288
392
|
- @atlaskit/docs@8.3.2
|
|
289
393
|
- @atlaskit/button@13.3.7
|
|
@@ -298,7 +402,8 @@
|
|
|
298
402
|
|
|
299
403
|
- [patch][65c8aab025](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c8aab025):
|
|
300
404
|
|
|
301
|
-
Fix main/module fields in package.json pointing to the wrong place- Updated dependencies
|
|
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):
|
|
302
407
|
|
|
303
408
|
- @atlaskit/build-utils@2.6.0
|
|
304
409
|
|
|
@@ -308,7 +413,8 @@
|
|
|
308
413
|
|
|
309
414
|
- [major][f9b5e24662](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9b5e24662):
|
|
310
415
|
|
|
311
|
-
@atlaskit/icon-file-type and @atlaskit/icon-object have been converted to TypeScript to provide
|
|
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.
|
|
312
418
|
|
|
313
419
|
## 4.0.10
|
|
314
420
|
|
|
@@ -324,7 +430,8 @@
|
|
|
324
430
|
|
|
325
431
|
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
326
432
|
|
|
327
|
-
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
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
|
|
328
435
|
|
|
329
436
|
## 4.0.8
|
|
330
437
|
|
|
@@ -368,29 +475,34 @@
|
|
|
368
475
|
|
|
369
476
|
## 4.0.3
|
|
370
477
|
|
|
371
|
-
- Updated dependencies
|
|
478
|
+
- Updated dependencies
|
|
479
|
+
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
372
480
|
- @atlaskit/tooltip@15.0.0
|
|
373
481
|
|
|
374
482
|
## 4.0.2
|
|
375
483
|
|
|
376
484
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
377
485
|
|
|
378
|
-
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
486
|
+
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
487
|
+
Request #5942 for details
|
|
379
488
|
|
|
380
489
|
## 4.0.1
|
|
381
490
|
|
|
382
|
-
- Updated dependencies
|
|
491
|
+
- Updated dependencies
|
|
492
|
+
[06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
|
|
383
493
|
- @atlaskit/modal-dialog@10.0.0
|
|
384
494
|
|
|
385
495
|
## 4.0.0
|
|
386
496
|
|
|
387
497
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
388
498
|
|
|
389
|
-
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
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.
|
|
390
501
|
|
|
391
502
|
## 3.0.8
|
|
392
503
|
|
|
393
|
-
- Updated dependencies
|
|
504
|
+
- Updated dependencies
|
|
505
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
394
506
|
- @atlaskit/docs@7.0.3
|
|
395
507
|
- @atlaskit/button@12.0.3
|
|
396
508
|
- @atlaskit/field-text@8.0.3
|
|
@@ -400,7 +512,8 @@
|
|
|
400
512
|
|
|
401
513
|
## 3.0.7
|
|
402
514
|
|
|
403
|
-
- Updated dependencies
|
|
515
|
+
- Updated dependencies
|
|
516
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
404
517
|
- @atlaskit/docs@7.0.2
|
|
405
518
|
- @atlaskit/field-text@8.0.2
|
|
406
519
|
- @atlaskit/modal-dialog@8.0.6
|
|
@@ -416,7 +529,8 @@
|
|
|
416
529
|
|
|
417
530
|
## 3.0.5
|
|
418
531
|
|
|
419
|
-
- Updated dependencies
|
|
532
|
+
- Updated dependencies
|
|
533
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
420
534
|
- @atlaskit/docs@7.0.1
|
|
421
535
|
- @atlaskit/field-text@8.0.1
|
|
422
536
|
- @atlaskit/modal-dialog@8.0.2
|
|
@@ -426,7 +540,8 @@
|
|
|
426
540
|
|
|
427
541
|
## 3.0.4
|
|
428
542
|
|
|
429
|
-
- Updated dependencies
|
|
543
|
+
- Updated dependencies
|
|
544
|
+
[76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
430
545
|
- @atlaskit/button@10.1.3
|
|
431
546
|
- @atlaskit/docs@7.0.0
|
|
432
547
|
- @atlaskit/field-text@8.0.0
|
|
@@ -464,7 +579,8 @@
|
|
|
464
579
|
|
|
465
580
|
- [major][ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
|
|
466
581
|
|
|
467
|
-
- Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
|
|
582
|
+
- Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
|
|
583
|
+
Button or a Link component.
|
|
468
584
|
|
|
469
585
|
## 2.0.1
|
|
470
586
|
|
|
@@ -482,9 +598,9 @@
|
|
|
482
598
|
|
|
483
599
|
- Simplify the icons build process
|
|
484
600
|
|
|
485
|
-
Icons no longer need a custom `build` step to be accurate on npm. This
|
|
486
|
-
|
|
487
|
-
|
|
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.
|
|
488
604
|
|
|
489
605
|
- [major][80304f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80304f0):
|
|
490
606
|
|
|
@@ -492,9 +608,9 @@
|
|
|
492
608
|
|
|
493
609
|
- Rename `iconsInfo` to `metadata` to more accurately reflect its role
|
|
494
610
|
|
|
495
|
-
This change comes with rethinking what is exported from this object,
|
|
496
|
-
|
|
497
|
-
|
|
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.
|
|
498
614
|
|
|
499
615
|
The `icon-explorer` has an example of how to do this.
|
|
500
616
|
|
|
@@ -503,20 +619,25 @@
|
|
|
503
619
|
|
|
504
620
|
## 1.0.4
|
|
505
621
|
|
|
506
|
-
- [patch] Update to use babel-7 for build processes
|
|
622
|
+
- [patch] Update to use babel-7 for build processes
|
|
623
|
+
[e7bb74d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7bb74d)
|
|
507
624
|
|
|
508
625
|
## 1.0.3
|
|
509
626
|
|
|
510
|
-
- [patch] Adds missing implicit @babel/runtime dependency
|
|
627
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
628
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
511
629
|
|
|
512
630
|
## 1.0.2
|
|
513
631
|
|
|
514
|
-
- [patch] Publish utils folder
|
|
632
|
+
- [patch] Publish utils folder
|
|
633
|
+
[272208b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/272208b)
|
|
515
634
|
|
|
516
635
|
## 1.0.1
|
|
517
636
|
|
|
518
|
-
- [patch] icon-file-type and icon-object publish glyphs, svgs, and es5 instead of just dist
|
|
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)
|
|
519
639
|
|
|
520
640
|
## 1.0.0
|
|
521
641
|
|
|
522
|
-
- [major] Release icon-object and icon-file-type
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
8
|
+
await loadPage(page, url);
|
|
14
9
|
|
|
15
|
-
|
|
10
|
+
const element = await page.$('[data-testid="light-root"]');
|
|
16
11
|
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
expect(await element?.screenshot()).toMatchProdImageSnapshot();
|
|
13
|
+
});
|
|
19
14
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
19
|
+
await loadPage(page, url);
|
|
30
20
|
|
|
31
|
-
|
|
21
|
+
const element = await page.$('[data-testid="dark-root"]');
|
|
32
22
|
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
expect(await element?.screenshot()).toMatchProdImageSnapshot();
|
|
24
|
+
});
|
|
35
25
|
});
|