@atlaskit/icon-object 6.3.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.
- package/CHANGELOG.md +197 -71
- package/__tests__/visual-regression/icon-object-snapshots.test.tsx +7 -12
- package/afm-jira/tsconfig.json +24 -0
- package/afm-post-office/tsconfig.json +24 -0
- package/build/index.tsx +28 -28
- package/codemods/6.1.0-metadata-entry.tsx +90 -97
- package/codemods/__tests__/6.1.0-metadata-entry.tsx +63 -63
- package/constellation/index/examples.mdx +2 -1
- package/constellation/index/icon-explorer.mdx +2 -1
- package/constellation/index/usage.mdx +10 -5
- package/docs/0-intro.tsx +5 -6
- package/metadata/package.json +1 -1
- package/package.json +81 -79
- package/report.api.md +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,36 @@
|
|
|
1
1
|
# @atlaskit/icon-object
|
|
2
2
|
|
|
3
|
+
## 6.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#127511](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127511)
|
|
8
|
+
[`db30e29344013`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db30e29344013) -
|
|
9
|
+
Widening range of `react` and `react-dom` peer dependencies from `^16.8.0 || ^17.0.0 || ~18.2.0`
|
|
10
|
+
to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).
|
|
11
|
+
|
|
12
|
+
This change has been done to enable usage of `react@18.3` as well as to have a consistent peer
|
|
13
|
+
dependency range for `react` and `react-dom` for `/platform` packages.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 6.4.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- [#93368](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93368)
|
|
24
|
+
[`d6c8dfe5b057`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d6c8dfe5b057) -
|
|
25
|
+
Add support for React 18 in non-strict mode.
|
|
26
|
+
|
|
3
27
|
## 6.3.9
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
6
30
|
|
|
7
|
-
- [#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
|
|
8
34
|
|
|
9
35
|
## 6.3.8
|
|
10
36
|
|
|
@@ -16,49 +42,68 @@
|
|
|
16
42
|
|
|
17
43
|
### Patch Changes
|
|
18
44
|
|
|
19
|
-
- [#41725](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41725)
|
|
45
|
+
- [#41725](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41725)
|
|
46
|
+
[`8d838ab41ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d838ab41ed) - Removed
|
|
47
|
+
all remaining legacy theming logic from Badge, IconObject, Lozenge and SectionMessage. This only
|
|
48
|
+
affects the examples and some tests in each component. No internal component logic contained
|
|
49
|
+
legacy theming.
|
|
20
50
|
|
|
21
51
|
## 6.3.6
|
|
22
52
|
|
|
23
53
|
### Patch Changes
|
|
24
54
|
|
|
25
|
-
- [#40919](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40919)
|
|
55
|
+
- [#40919](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40919)
|
|
56
|
+
[`0cd2364f0ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0cd2364f0ec) - This
|
|
57
|
+
package is now onboarded onto the product push model.
|
|
26
58
|
|
|
27
59
|
## 6.3.5
|
|
28
60
|
|
|
29
61
|
### Patch Changes
|
|
30
62
|
|
|
31
|
-
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
63
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
64
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
65
|
+
version.json
|
|
32
66
|
|
|
33
67
|
## 6.3.4
|
|
34
68
|
|
|
35
69
|
### Patch Changes
|
|
36
70
|
|
|
37
|
-
- [#38199](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38199)
|
|
71
|
+
- [#38199](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38199)
|
|
72
|
+
[`8a5ce2c105e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5ce2c105e) - This
|
|
73
|
+
package is now onboarded onto the product push model.Th
|
|
38
74
|
|
|
39
75
|
## 6.3.3
|
|
40
76
|
|
|
41
77
|
### Patch Changes
|
|
42
78
|
|
|
43
|
-
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
79
|
+
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
80
|
+
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal
|
|
81
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
82
|
+
change.
|
|
44
83
|
|
|
45
84
|
## 6.3.2
|
|
46
85
|
|
|
47
86
|
### Patch Changes
|
|
48
87
|
|
|
49
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
88
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
89
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
90
|
+
legacy types are published for TS 4.5-4.8
|
|
50
91
|
|
|
51
92
|
## 6.3.1
|
|
52
93
|
|
|
53
94
|
### Patch Changes
|
|
54
95
|
|
|
55
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
96
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
97
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
98
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
56
99
|
|
|
57
100
|
## 6.3.0
|
|
58
101
|
|
|
59
102
|
### Minor Changes
|
|
60
103
|
|
|
61
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
104
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
105
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
106
|
+
minor dependency bump
|
|
62
107
|
|
|
63
108
|
### Patch Changes
|
|
64
109
|
|
|
@@ -68,107 +113,152 @@
|
|
|
68
113
|
|
|
69
114
|
### Patch Changes
|
|
70
115
|
|
|
71
|
-
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
116
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
117
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
118
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
72
119
|
|
|
73
120
|
## 6.2.8
|
|
74
121
|
|
|
75
122
|
### Patch Changes
|
|
76
123
|
|
|
77
|
-
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
|
|
124
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
|
|
125
|
+
[`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades
|
|
126
|
+
component types to support React 18.
|
|
78
127
|
|
|
79
128
|
## 6.2.7
|
|
80
129
|
|
|
81
130
|
### Patch Changes
|
|
82
131
|
|
|
83
|
-
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
132
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
133
|
+
[`f0be7593aa3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f0be7593aa3) - Internal
|
|
134
|
+
code change turning on new linting rules.
|
|
84
135
|
|
|
85
136
|
## 6.2.6
|
|
86
137
|
|
|
87
138
|
### Patch Changes
|
|
88
139
|
|
|
89
|
-
- [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
|
|
140
|
+
- [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
|
|
141
|
+
[`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
|
|
142
|
+
`static` techstack to package, enforcing stricter style linting. In this case the package already
|
|
143
|
+
satisfied this requirement so there have been no changes to styles.
|
|
90
144
|
|
|
91
145
|
## 6.2.5
|
|
92
146
|
|
|
93
147
|
### Patch Changes
|
|
94
148
|
|
|
95
|
-
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
149
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
150
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
151
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
96
152
|
|
|
97
153
|
## 6.2.4
|
|
98
154
|
|
|
99
155
|
### Patch Changes
|
|
100
156
|
|
|
101
|
-
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
157
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
158
|
+
[`df2bb5891ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df2bb5891ef) - Use
|
|
159
|
+
named export of base icon in all icon-\* glyphs
|
|
102
160
|
|
|
103
161
|
## 6.2.3
|
|
104
162
|
|
|
105
163
|
### Patch Changes
|
|
106
164
|
|
|
107
|
-
- [#10522](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10522)
|
|
165
|
+
- [#10522](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10522)
|
|
166
|
+
[`72ef8bafec9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72ef8bafec9) - Add
|
|
167
|
+
"./glyph" entry point.
|
|
108
168
|
|
|
109
169
|
## 6.2.2
|
|
110
170
|
|
|
111
171
|
### Patch Changes
|
|
112
172
|
|
|
113
|
-
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
173
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
174
|
+
[`877e9e0b9f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/877e9e0b9f6) - Icon
|
|
175
|
+
package dependency now uses carat range.
|
|
114
176
|
|
|
115
177
|
## 6.2.1
|
|
116
178
|
|
|
117
179
|
### Patch Changes
|
|
118
180
|
|
|
119
|
-
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
- [`
|
|
181
|
+
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
182
|
+
[`469f36d9629`](https://bitbucket.org/atlassian/atlassian-frontend/commits/469f36d9629) - Icon
|
|
183
|
+
build tooling has been updated.
|
|
184
|
+
- [`3de10e7652e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3de10e7652e) -
|
|
185
|
+
Documentation updates and fixes to types for all icon packages.
|
|
186
|
+
- [`d98f1bb1169`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d98f1bb1169) - Local
|
|
187
|
+
build tooling improvements.
|
|
188
|
+
- [`3f36b048938`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36b048938) - The
|
|
189
|
+
color props have been removed from the TypeScript type definitions. The behavior has never worked
|
|
190
|
+
with the glyphs but was included in the type definitions incorrectly.
|
|
123
191
|
- Updated dependencies
|
|
124
192
|
|
|
125
193
|
## 6.2.0
|
|
126
194
|
|
|
127
195
|
### Minor Changes
|
|
128
196
|
|
|
129
|
-
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
130
|
-
|
|
197
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
198
|
+
[`ea014ce1369`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea014ce1369) - Icon
|
|
199
|
+
object now ships with cjs, esm, and es2019 bundles for exported components and utils. Glyphs
|
|
200
|
+
unfortunately aren't included and still only export cjs bundles.
|
|
201
|
+
- [`7a309444ca0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a309444ca0) - Icon
|
|
202
|
+
object now utilises the base icon from `@atlaskit/icon`.
|
|
131
203
|
|
|
132
204
|
### Patch Changes
|
|
133
205
|
|
|
134
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
135
|
-
|
|
136
|
-
- [`
|
|
206
|
+
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
207
|
+
injected package name and version for analytics instead of version.json.
|
|
208
|
+
- [`21d5d7e39d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21d5d7e39d9) -
|
|
209
|
+
Previously icon object glyphs had a size prop available on the type definitions that did not do
|
|
210
|
+
anything. This prop has now been removed.
|
|
211
|
+
- [`f922302ad53`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f922302ad53) - Icons no
|
|
212
|
+
longer ship with the `focusable` attribute in their glyph exports. This attribute was only
|
|
213
|
+
required for IE11 support. This is purely a build change and has no effect on user API.
|
|
137
214
|
- Updated dependencies
|
|
138
215
|
|
|
139
216
|
## 6.1.4
|
|
140
217
|
|
|
141
218
|
### Patch Changes
|
|
142
219
|
|
|
143
|
-
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
|
|
144
|
-
|
|
220
|
+
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
|
|
221
|
+
[`0741b1556f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0741b1556f6) - All icon
|
|
222
|
+
glpyhs are now built without inline extends helpers, reducing their bundlesize.
|
|
223
|
+
- [`8d6c79b9055`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d6c79b9055) - Typedefs
|
|
224
|
+
of glyphs have been updated to reflect an API change that occured in version 15. For context,
|
|
225
|
+
`onClick` was removed as a functional prop but it was still supported by the types. This may have
|
|
226
|
+
resulted in a confusing developer experience although the fundamental behaviour has been
|
|
227
|
+
consistent since version 15.
|
|
145
228
|
|
|
146
229
|
## 6.1.3
|
|
147
230
|
|
|
148
231
|
### Patch Changes
|
|
149
232
|
|
|
150
|
-
- [#7425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7425)
|
|
233
|
+
- [#7425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7425)
|
|
234
|
+
[`b9f0d16300`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9f0d16300) -
|
|
235
|
+
Re-generated icons using a newer version of the build process
|
|
151
236
|
|
|
152
237
|
## 6.1.2
|
|
153
238
|
|
|
154
239
|
### Patch Changes
|
|
155
240
|
|
|
156
|
-
- [#7589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7589)
|
|
241
|
+
- [#7589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7589)
|
|
242
|
+
[`c65f28c058`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c65f28c058) - Change
|
|
243
|
+
codemod to return raw source if it is not transforming a file.
|
|
157
244
|
|
|
158
|
-
Otherwise it would run prettier which can lead to some invalid syntax outputted
|
|
159
|
-
|
|
245
|
+
Otherwise it would run prettier which can lead to some invalid syntax outputted in edge cases.
|
|
246
|
+
This is likely due to an issue in either `codemod-cli` or `jscodeshift`.
|
|
160
247
|
|
|
161
248
|
## 6.1.1
|
|
162
249
|
|
|
163
250
|
### Patch Changes
|
|
164
251
|
|
|
165
|
-
- [#7458](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7458)
|
|
252
|
+
- [#7458](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7458)
|
|
253
|
+
[`8990bf36a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8990bf36a9) - Add a
|
|
254
|
+
missing codemod for the entrypoint change in 6.1.0
|
|
166
255
|
|
|
167
256
|
***
|
|
168
257
|
|
|
169
258
|
**Running the codemod cli**
|
|
170
259
|
|
|
171
|
-
To run the codemod: **You first need to have the latest version installed before you can run the
|
|
260
|
+
To run the codemod: **You first need to have the latest version installed before you can run the
|
|
261
|
+
codemod**
|
|
172
262
|
|
|
173
263
|
`yarn upgrade @atlaskit/PACKAGE@^VERSION`
|
|
174
264
|
|
|
@@ -176,14 +266,18 @@
|
|
|
176
266
|
|
|
177
267
|
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
178
268
|
|
|
179
|
-
Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
180
|
-
|
|
269
|
+
Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
|
|
270
|
+
[this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details
|
|
271
|
+
on the codemod CLI.
|
|
181
272
|
|
|
182
273
|
## 6.1.0
|
|
183
274
|
|
|
184
275
|
### Minor Changes
|
|
185
276
|
|
|
186
|
-
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
277
|
+
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
278
|
+
[`fbdf356800`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbdf356800) - Remove
|
|
279
|
+
undocumented metadata export from main entry point. To import metadata instead do it from the
|
|
280
|
+
/metadata entrypoint.
|
|
187
281
|
|
|
188
282
|
## 6.0.5
|
|
189
283
|
|
|
@@ -195,35 +289,46 @@
|
|
|
195
289
|
|
|
196
290
|
### Patch Changes
|
|
197
291
|
|
|
198
|
-
- [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649)
|
|
292
|
+
- [#4649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4649)
|
|
293
|
+
[`d6ff4c7dce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6ff4c7dce) - Removes
|
|
294
|
+
unused (and incorrect) es2019 key in package.json
|
|
199
295
|
|
|
200
296
|
## 6.0.3
|
|
201
297
|
|
|
202
298
|
### Patch Changes
|
|
203
299
|
|
|
204
|
-
- [#4682](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4682)
|
|
300
|
+
- [#4682](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4682)
|
|
301
|
+
[`f51e6ff443`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f51e6ff443) - License
|
|
302
|
+
updated to Apache 2.0 (previously under the ADG license)
|
|
205
303
|
|
|
206
304
|
## 6.0.2
|
|
207
305
|
|
|
208
306
|
### Patch Changes
|
|
209
307
|
|
|
210
|
-
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
308
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
309
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
310
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
211
311
|
|
|
212
|
-
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
213
|
-
to prevent duplicates of tslib being bundled.
|
|
312
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
313
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
214
314
|
|
|
215
315
|
## 6.0.1
|
|
216
316
|
|
|
217
317
|
### Patch Changes
|
|
218
318
|
|
|
219
|
-
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
319
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
320
|
+
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
|
|
321
|
+
the theme imports to be tree-shakable
|
|
220
322
|
|
|
221
323
|
## 6.0.0
|
|
222
324
|
|
|
223
325
|
### Major Changes
|
|
224
326
|
|
|
225
|
-
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
226
|
-
|
|
327
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
328
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
329
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
330
|
+
IE11. For more information see:
|
|
331
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
227
332
|
|
|
228
333
|
### Patch Changes
|
|
229
334
|
|
|
@@ -238,9 +343,12 @@
|
|
|
238
343
|
Corrects accessibility behavior for wrapping span. It now will now:
|
|
239
344
|
|
|
240
345
|
- conditionally set the `aria-label` if `label` is defined
|
|
241
|
-
- conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is
|
|
346
|
+
- conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is
|
|
347
|
+
not defined- Updated dependencies
|
|
348
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
242
349
|
|
|
243
|
-
- Updated dependencies
|
|
350
|
+
- Updated dependencies
|
|
351
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
244
352
|
- @atlaskit/docs@8.4.0
|
|
245
353
|
- @atlaskit/button@13.3.9
|
|
246
354
|
- @atlaskit/modal-dialog@10.5.4
|
|
@@ -253,7 +361,8 @@
|
|
|
253
361
|
|
|
254
362
|
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
255
363
|
|
|
256
|
-
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
364
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
365
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
257
366
|
|
|
258
367
|
- @atlaskit/docs@8.3.2
|
|
259
368
|
- @atlaskit/button@13.3.7
|
|
@@ -268,7 +377,8 @@
|
|
|
268
377
|
|
|
269
378
|
- [patch][65c8aab025](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c8aab025):
|
|
270
379
|
|
|
271
|
-
Fix main/module fields in package.json pointing to the wrong place- Updated dependencies
|
|
380
|
+
Fix main/module fields in package.json pointing to the wrong place- Updated dependencies
|
|
381
|
+
[ccbd1b390b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ccbd1b390b):
|
|
272
382
|
|
|
273
383
|
- @atlaskit/build-utils@2.6.0
|
|
274
384
|
|
|
@@ -278,7 +388,8 @@
|
|
|
278
388
|
|
|
279
389
|
- [major][f9b5e24662](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9b5e24662):
|
|
280
390
|
|
|
281
|
-
@atlaskit/icon-file-type and @atlaskit/icon-object have been converted to TypeScript to provide
|
|
391
|
+
@atlaskit/icon-file-type and @atlaskit/icon-object have been converted to TypeScript to provide
|
|
392
|
+
static typing. Flow types are no longer provided. No API or bahavioural changes.
|
|
282
393
|
|
|
283
394
|
## 4.0.10
|
|
284
395
|
|
|
@@ -294,7 +405,8 @@
|
|
|
294
405
|
|
|
295
406
|
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
296
407
|
|
|
297
|
-
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
408
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
409
|
+
non-relative imports as relative imports
|
|
298
410
|
|
|
299
411
|
## 4.0.8
|
|
300
412
|
|
|
@@ -338,29 +450,34 @@
|
|
|
338
450
|
|
|
339
451
|
## 4.0.3
|
|
340
452
|
|
|
341
|
-
- Updated dependencies
|
|
453
|
+
- Updated dependencies
|
|
454
|
+
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
342
455
|
- @atlaskit/tooltip@15.0.0
|
|
343
456
|
|
|
344
457
|
## 4.0.2
|
|
345
458
|
|
|
346
459
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
347
460
|
|
|
348
|
-
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
461
|
+
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
462
|
+
Request #5942 for details
|
|
349
463
|
|
|
350
464
|
## 4.0.1
|
|
351
465
|
|
|
352
|
-
- Updated dependencies
|
|
466
|
+
- Updated dependencies
|
|
467
|
+
[06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
|
|
353
468
|
- @atlaskit/modal-dialog@10.0.0
|
|
354
469
|
|
|
355
470
|
## 4.0.0
|
|
356
471
|
|
|
357
472
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
358
473
|
|
|
359
|
-
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
474
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
475
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
360
476
|
|
|
361
477
|
## 3.0.8
|
|
362
478
|
|
|
363
|
-
- Updated dependencies
|
|
479
|
+
- Updated dependencies
|
|
480
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
364
481
|
- @atlaskit/docs@7.0.3
|
|
365
482
|
- @atlaskit/button@12.0.3
|
|
366
483
|
- @atlaskit/field-text@8.0.3
|
|
@@ -370,7 +487,8 @@
|
|
|
370
487
|
|
|
371
488
|
## 3.0.7
|
|
372
489
|
|
|
373
|
-
- Updated dependencies
|
|
490
|
+
- Updated dependencies
|
|
491
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
374
492
|
- @atlaskit/docs@7.0.2
|
|
375
493
|
- @atlaskit/field-text@8.0.2
|
|
376
494
|
- @atlaskit/modal-dialog@8.0.6
|
|
@@ -386,7 +504,8 @@
|
|
|
386
504
|
|
|
387
505
|
## 3.0.5
|
|
388
506
|
|
|
389
|
-
- Updated dependencies
|
|
507
|
+
- Updated dependencies
|
|
508
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
390
509
|
- @atlaskit/docs@7.0.1
|
|
391
510
|
- @atlaskit/field-text@8.0.1
|
|
392
511
|
- @atlaskit/modal-dialog@8.0.2
|
|
@@ -396,7 +515,8 @@
|
|
|
396
515
|
|
|
397
516
|
## 3.0.4
|
|
398
517
|
|
|
399
|
-
- Updated dependencies
|
|
518
|
+
- Updated dependencies
|
|
519
|
+
[76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
400
520
|
- @atlaskit/button@10.1.3
|
|
401
521
|
- @atlaskit/docs@7.0.0
|
|
402
522
|
- @atlaskit/field-text@8.0.0
|
|
@@ -434,7 +554,8 @@
|
|
|
434
554
|
|
|
435
555
|
- [major][ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
|
|
436
556
|
|
|
437
|
-
- Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
|
|
557
|
+
- Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
|
|
558
|
+
Button or a Link component.
|
|
438
559
|
|
|
439
560
|
## 2.0.1
|
|
440
561
|
|
|
@@ -452,9 +573,9 @@
|
|
|
452
573
|
|
|
453
574
|
- Simplify the icons build process
|
|
454
575
|
|
|
455
|
-
Icons no longer need a custom `build` step to be accurate on npm. This
|
|
456
|
-
|
|
457
|
-
|
|
576
|
+
Icons no longer need a custom `build` step to be accurate on npm. This has come about by renaming
|
|
577
|
+
the `es5` folder to `cjs`. If you weren't reaching into our package's internals, you shouldn't
|
|
578
|
+
notice.
|
|
458
579
|
|
|
459
580
|
- [major][80304f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80304f0):
|
|
460
581
|
|
|
@@ -462,9 +583,9 @@
|
|
|
462
583
|
|
|
463
584
|
- Rename `iconsInfo` to `metadata` to more accurately reflect its role
|
|
464
585
|
|
|
465
|
-
This change comes with rethinking what is exported from this object,
|
|
466
|
-
|
|
467
|
-
|
|
586
|
+
This change comes with rethinking what is exported from this object, which no longer includes
|
|
587
|
+
copies of the icons. If you need to rely on the metadata to get the packages, each should be
|
|
588
|
+
required by your own code.
|
|
468
589
|
|
|
469
590
|
The `icon-explorer` has an example of how to do this.
|
|
470
591
|
|
|
@@ -473,20 +594,25 @@
|
|
|
473
594
|
|
|
474
595
|
## 1.0.4
|
|
475
596
|
|
|
476
|
-
- [patch] Update to use babel-7 for build processes
|
|
597
|
+
- [patch] Update to use babel-7 for build processes
|
|
598
|
+
[e7bb74d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7bb74d)
|
|
477
599
|
|
|
478
600
|
## 1.0.3
|
|
479
601
|
|
|
480
|
-
- [patch] Adds missing implicit @babel/runtime dependency
|
|
602
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
603
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
481
604
|
|
|
482
605
|
## 1.0.2
|
|
483
606
|
|
|
484
|
-
- [patch] Publish utils folder
|
|
607
|
+
- [patch] Publish utils folder
|
|
608
|
+
[272208b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/272208b)
|
|
485
609
|
|
|
486
610
|
## 1.0.1
|
|
487
611
|
|
|
488
|
-
- [patch] icon-file-type and icon-object publish glyphs, svgs, and es5 instead of just dist
|
|
612
|
+
- [patch] icon-file-type and icon-object publish glyphs, svgs, and es5 instead of just dist
|
|
613
|
+
[0823d35](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0823d35)
|
|
489
614
|
|
|
490
615
|
## 1.0.0
|
|
491
616
|
|
|
492
|
-
- [major] Release icon-object and icon-file-type
|
|
617
|
+
- [major] Release icon-object and icon-file-type
|
|
618
|
+
[709b239](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/709b239)
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import { getExampleUrl, loadPage } from '@atlaskit/visual-regression/helper';
|
|
2
2
|
|
|
3
3
|
describe('icon priority snapshots', () => {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
it('should match light mode icons', async () => {
|
|
5
|
+
const { __BASEURL__, page } = global as any;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
'design-system',
|
|
9
|
-
'icon-object',
|
|
10
|
-
'icon-examples',
|
|
11
|
-
__BASEURL__,
|
|
12
|
-
);
|
|
7
|
+
const url = getExampleUrl('design-system', 'icon-object', 'icon-examples', __BASEURL__);
|
|
13
8
|
|
|
14
|
-
|
|
9
|
+
await loadPage(page, url);
|
|
15
10
|
|
|
16
|
-
|
|
11
|
+
const element = await page.$('[data-testid="light-root"]');
|
|
17
12
|
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
expect(await element?.screenshot()).toMatchProdImageSnapshot();
|
|
14
|
+
});
|
|
20
15
|
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__icon-object/app",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../icon/afm-jira/tsconfig.json"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__icon-object/app",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../icon/afm-post-office/tsconfig.json"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|