@atlaskit/avatar 21.8.0 → 21.9.1
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 +1090 -1079
- package/codemods/18.0.0-lite-mode.ts +2 -1
- package/codemods/19.0.0-render-props.ts +2 -1
- package/dist/cjs/Avatar.js +4 -1
- package/dist/cjs/AvatarImage.js +1 -0
- package/dist/cjs/AvatarItem.js +26 -7
- package/dist/cjs/Presence.js +2 -0
- package/dist/cjs/Skeleton.js +3 -1
- package/dist/cjs/Status.js +1 -0
- package/dist/es2019/Avatar.js +4 -1
- package/dist/es2019/AvatarImage.js +1 -0
- package/dist/es2019/AvatarItem.js +25 -6
- package/dist/es2019/Presence.js +2 -0
- package/dist/es2019/Skeleton.js +3 -1
- package/dist/es2019/Status.js +1 -0
- package/dist/esm/Avatar.js +4 -1
- package/dist/esm/AvatarImage.js +1 -0
- package/dist/esm/AvatarItem.js +25 -6
- package/dist/esm/Presence.js +2 -0
- package/dist/esm/Skeleton.js +3 -1
- package/dist/esm/Status.js +1 -0
- package/dist/types/AvatarImage.d.ts +2 -2
- package/dist/types/AvatarItem.d.ts +2 -2
- package/dist/types/IconWrapper.d.ts +1 -1
- package/dist/types/Presence.d.ts +2 -2
- package/dist/types/Skeleton.d.ts +2 -2
- package/dist/types/Status.d.ts +2 -2
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/utilities.d.ts +1 -1
- package/dist/types-ts4.5/AvatarImage.d.ts +2 -2
- package/dist/types-ts4.5/AvatarItem.d.ts +2 -2
- package/dist/types-ts4.5/IconWrapper.d.ts +1 -1
- package/dist/types-ts4.5/Presence.d.ts +2 -2
- package/dist/types-ts4.5/Skeleton.d.ts +2 -2
- package/dist/types-ts4.5/Status.d.ts +2 -2
- package/dist/types-ts4.5/constants.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/dist/types-ts4.5/utilities.d.ts +1 -1
- package/package.json +13 -7
- package/dist/cjs/Text.js +0 -40
- package/dist/es2019/Text.js +0 -33
- package/dist/esm/Text.js +0 -34
- package/dist/types/Text.d.ts +0 -13
- package/dist/types-ts4.5/Text.d.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,2032 +1,2043 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 21.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 21.9.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#96699](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96699)
|
|
14
|
+
[`65f87a3ac916`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/65f87a3ac916) -
|
|
15
|
+
[ux] Increase font size of secondary text from computed 11.9px to 12px.
|
|
16
|
+
|
|
3
17
|
## 21.8.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
6
20
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
21
|
+
- [#98168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98168)
|
|
22
|
+
[`bc3ef8133b6c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc3ef8133b6c) -
|
|
23
|
+
Add support for React 18.
|
|
10
24
|
|
|
11
25
|
## 21.7.0
|
|
12
26
|
|
|
13
27
|
### Minor Changes
|
|
14
28
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
29
|
+
- [#96490](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96490)
|
|
30
|
+
[`e7e14229e1ca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e7e14229e1ca) -
|
|
31
|
+
Add support for React 18.
|
|
18
32
|
|
|
19
33
|
## 21.6.1
|
|
20
34
|
|
|
21
35
|
### Patch Changes
|
|
22
36
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
37
|
+
- [#97453](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97453)
|
|
38
|
+
[`6d382c5e1dce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6d382c5e1dce) -
|
|
39
|
+
Export types for new avatar context.
|
|
26
40
|
|
|
27
41
|
## 21.6.0
|
|
28
42
|
|
|
29
43
|
### Minor Changes
|
|
30
44
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
45
|
+
- [#95982](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95982)
|
|
46
|
+
[`44381801376a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/44381801376a) -
|
|
47
|
+
Creates a context to set the `size` prop for all avatars under the provider.
|
|
34
48
|
|
|
35
49
|
## 21.5.2
|
|
36
50
|
|
|
37
51
|
### Patch Changes
|
|
38
52
|
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
53
|
+
- [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188)
|
|
54
|
+
[`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) -
|
|
55
|
+
Minor adjustments to improve compatibility with React 18
|
|
42
56
|
|
|
43
57
|
## 21.5.1
|
|
44
58
|
|
|
45
59
|
### Patch Changes
|
|
46
60
|
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
61
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
62
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
63
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
50
64
|
|
|
51
65
|
## 21.5.0
|
|
52
66
|
|
|
53
67
|
### Minor Changes
|
|
54
68
|
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
69
|
+
- [#69996](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69996)
|
|
70
|
+
[`1b320a82df61`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1b320a82df61) -
|
|
71
|
+
Add Team fallback avatar
|
|
72
|
+
- [#73763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73763)
|
|
73
|
+
[`20bb01a34fcd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/20bb01a34fcd) -
|
|
74
|
+
test id selector added to Avatar label
|
|
61
75
|
|
|
62
76
|
## 21.4.6
|
|
63
77
|
|
|
64
78
|
### Patch Changes
|
|
65
79
|
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
80
|
+
- [#70213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70213)
|
|
81
|
+
[`31068e587071`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/31068e587071) -
|
|
82
|
+
[ux] Removes decorative images of presence and status from view of assistive technologies. The
|
|
83
|
+
presence and status are announced as part of the labeling of the parent component and therefore no
|
|
84
|
+
longer necessary.
|
|
71
85
|
|
|
72
86
|
## 21.4.5
|
|
73
87
|
|
|
74
88
|
### Patch Changes
|
|
75
89
|
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
|
|
90
|
+
- [#67339](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67339)
|
|
91
|
+
[`33c37b4c2c1e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33c37b4c2c1e) -
|
|
92
|
+
[ux] Remove nested images introduced in 21.4.3
|
|
79
93
|
|
|
80
94
|
## 21.4.4
|
|
81
95
|
|
|
82
96
|
### Patch Changes
|
|
83
97
|
|
|
84
|
-
-
|
|
85
|
-
|
|
86
|
-
|
|
98
|
+
- [#64854](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64854)
|
|
99
|
+
[`61b09a38c764`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/61b09a38c764) -
|
|
100
|
+
[ux] Adds label to custom avatars using the render prop API.
|
|
87
101
|
|
|
88
102
|
## 21.4.3
|
|
89
103
|
|
|
90
104
|
### Patch Changes
|
|
91
105
|
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
106
|
+
- [#63807](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63807)
|
|
107
|
+
[`538c46e739b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/538c46e739b6) -
|
|
108
|
+
[ux] Add accessible name to non-interactive avatars. If you are a making a test that relies on
|
|
109
|
+
there being only a single element containing the avatar's expected text, skipping any elements
|
|
110
|
+
with a `hidden` attribute will narrow down your search to only the visible element; this will make
|
|
111
|
+
the test act the same as it would before this change.
|
|
98
112
|
|
|
99
113
|
## 21.4.2
|
|
100
114
|
|
|
101
115
|
### Patch Changes
|
|
102
116
|
|
|
103
|
-
-
|
|
117
|
+
- Updated dependencies
|
|
104
118
|
|
|
105
119
|
## 21.4.1
|
|
106
120
|
|
|
107
121
|
### Patch Changes
|
|
108
122
|
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
|
|
123
|
+
- [#41729](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41729)
|
|
124
|
+
[`04235acacd6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04235acacd6) - Enrol
|
|
125
|
+
package to push model in Jira
|
|
112
126
|
|
|
113
127
|
## 21.4.0
|
|
114
128
|
|
|
115
129
|
### Minor Changes
|
|
116
130
|
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
|
|
131
|
+
- [#40977](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40977)
|
|
132
|
+
[`994a98df01b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/994a98df01b) -
|
|
133
|
+
Introduce `as` prop for customising the wrapping element
|
|
120
134
|
|
|
121
135
|
## 21.3.9
|
|
122
136
|
|
|
123
137
|
### Patch Changes
|
|
124
138
|
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
-
|
|
139
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
140
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
141
|
+
version.json
|
|
142
|
+
- Updated dependencies
|
|
129
143
|
|
|
130
144
|
## 21.3.8
|
|
131
145
|
|
|
132
146
|
### Patch Changes
|
|
133
147
|
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
|
|
148
|
+
- [#38336](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38336)
|
|
149
|
+
[`7a3cbead067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a3cbead067) - Default
|
|
150
|
+
content for label
|
|
137
151
|
|
|
138
152
|
## 21.3.7
|
|
139
153
|
|
|
140
154
|
### Patch Changes
|
|
141
155
|
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
156
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
157
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
158
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
159
|
+
testing.
|
|
146
160
|
|
|
147
161
|
## 21.3.6
|
|
148
162
|
|
|
149
163
|
### Patch Changes
|
|
150
164
|
|
|
151
|
-
-
|
|
152
|
-
|
|
153
|
-
|
|
165
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
166
|
+
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal
|
|
167
|
+
change to use shape tokens. There is no expected visual change.
|
|
154
168
|
|
|
155
169
|
## 21.3.5
|
|
156
170
|
|
|
157
171
|
### Patch Changes
|
|
158
172
|
|
|
159
|
-
-
|
|
160
|
-
|
|
161
|
-
|
|
173
|
+
- [#36027](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36027)
|
|
174
|
+
[`342bd17ba74`](https://bitbucket.org/atlassian/atlassian-frontend/commits/342bd17ba74) - Fix
|
|
175
|
+
presence and status props being expanded to all strings instead of the allowed values.
|
|
162
176
|
|
|
163
177
|
## 21.3.4
|
|
164
178
|
|
|
165
179
|
### Patch Changes
|
|
166
180
|
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
|
|
181
|
+
- [#34811](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34811)
|
|
182
|
+
[`abf69e9a4f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abf69e9a4f6) - Removes
|
|
183
|
+
usage of deprecated theme mixins in favor of static token / color usage.
|
|
170
184
|
|
|
171
185
|
## 21.3.3
|
|
172
186
|
|
|
173
187
|
### Patch Changes
|
|
174
188
|
|
|
175
|
-
-
|
|
176
|
-
|
|
177
|
-
|
|
189
|
+
- [#34804](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34804)
|
|
190
|
+
[`e2d375fa634`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2d375fa634) - Refactor
|
|
191
|
+
how some internal styles are applied; no functional changes.
|
|
178
192
|
|
|
179
193
|
## 21.3.2
|
|
180
194
|
|
|
181
195
|
### Patch Changes
|
|
182
196
|
|
|
183
|
-
-
|
|
184
|
-
|
|
185
|
-
|
|
197
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
198
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
199
|
+
legacy types are published for TS 4.5-4.8
|
|
186
200
|
|
|
187
201
|
## 21.3.1
|
|
188
202
|
|
|
189
203
|
### Patch Changes
|
|
190
204
|
|
|
191
|
-
-
|
|
192
|
-
|
|
193
|
-
|
|
205
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
206
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
207
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
194
208
|
|
|
195
209
|
## 21.3.0
|
|
196
210
|
|
|
197
211
|
### Minor Changes
|
|
198
212
|
|
|
199
|
-
-
|
|
200
|
-
|
|
201
|
-
|
|
213
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
214
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
215
|
+
minor dependency bump
|
|
202
216
|
|
|
203
217
|
### Patch Changes
|
|
204
218
|
|
|
205
|
-
-
|
|
219
|
+
- Updated dependencies
|
|
206
220
|
|
|
207
221
|
## 21.2.1
|
|
208
222
|
|
|
209
223
|
### Patch Changes
|
|
210
224
|
|
|
211
|
-
-
|
|
212
|
-
|
|
213
|
-
|
|
225
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
|
|
226
|
+
[`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal
|
|
227
|
+
changes.
|
|
214
228
|
|
|
215
229
|
## 21.2.0
|
|
216
230
|
|
|
217
231
|
### Minor Changes
|
|
218
232
|
|
|
219
|
-
-
|
|
220
|
-
|
|
221
|
-
|
|
233
|
+
- [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248)
|
|
234
|
+
[`51928bbe70c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51928bbe70c) - [ux]
|
|
235
|
+
Removes status/presence indicator images from the accessibility tree for the Avatar component.
|
|
222
236
|
|
|
223
237
|
### Patch Changes
|
|
224
238
|
|
|
225
|
-
-
|
|
226
|
-
|
|
227
|
-
-
|
|
228
|
-
|
|
239
|
+
- [`64f11e50567`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64f11e50567) - [ux]
|
|
240
|
+
Adds accessible name to standalone Presence and Status components.
|
|
241
|
+
- [`0ecd2a2238b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ecd2a2238b) - Add more
|
|
242
|
+
precision to custom component check for status and presence
|
|
229
243
|
|
|
230
244
|
## 21.1.10
|
|
231
245
|
|
|
232
246
|
### Patch Changes
|
|
233
247
|
|
|
234
|
-
-
|
|
235
|
-
|
|
236
|
-
|
|
248
|
+
- [#30134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30134)
|
|
249
|
+
[`5aab9bfc96c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5aab9bfc96c) - Replace
|
|
250
|
+
gridSize in spacing values with corresponding spacing tokens
|
|
237
251
|
|
|
238
252
|
## 21.1.9
|
|
239
253
|
|
|
240
254
|
### Patch Changes
|
|
241
255
|
|
|
242
|
-
-
|
|
256
|
+
- Updated dependencies
|
|
243
257
|
|
|
244
258
|
## 21.1.8
|
|
245
259
|
|
|
246
260
|
### Patch Changes
|
|
247
261
|
|
|
248
|
-
-
|
|
262
|
+
- Updated dependencies
|
|
249
263
|
|
|
250
264
|
## 21.1.7
|
|
251
265
|
|
|
252
266
|
### Patch Changes
|
|
253
267
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
268
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
|
|
269
|
+
[`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal
|
|
270
|
+
change to update token references. There is no expected behaviour or visual change.
|
|
257
271
|
|
|
258
272
|
## 21.1.6
|
|
259
273
|
|
|
260
274
|
### Patch Changes
|
|
261
275
|
|
|
262
|
-
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
276
|
+
- [#29227](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29227)
|
|
277
|
+
[`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) -
|
|
278
|
+
ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects`
|
|
279
|
+
when loading the page.
|
|
266
280
|
|
|
267
281
|
## 21.1.5
|
|
268
282
|
|
|
269
283
|
### Patch Changes
|
|
270
284
|
|
|
271
|
-
-
|
|
285
|
+
- Updated dependencies
|
|
272
286
|
|
|
273
287
|
## 21.1.4
|
|
274
288
|
|
|
275
289
|
### Patch Changes
|
|
276
290
|
|
|
277
|
-
-
|
|
291
|
+
- Updated dependencies
|
|
278
292
|
|
|
279
293
|
## 21.1.3
|
|
280
294
|
|
|
281
295
|
### Patch Changes
|
|
282
296
|
|
|
283
|
-
-
|
|
297
|
+
- Updated dependencies
|
|
284
298
|
|
|
285
299
|
## 21.1.2
|
|
286
300
|
|
|
287
301
|
### Patch Changes
|
|
288
302
|
|
|
289
|
-
-
|
|
290
|
-
|
|
291
|
-
|
|
303
|
+
- [#26699](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26699)
|
|
304
|
+
[`47f0e63c935`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f0e63c935) - Internal
|
|
305
|
+
changes to apply spacing tokens. This should be a no-op change.
|
|
292
306
|
|
|
293
307
|
## 21.1.1
|
|
294
308
|
|
|
295
309
|
### Patch Changes
|
|
296
310
|
|
|
297
|
-
-
|
|
298
|
-
|
|
299
|
-
|
|
311
|
+
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
|
|
312
|
+
[`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal
|
|
313
|
+
changes to apply spacing tokens. This should be a no-op change.
|
|
300
314
|
|
|
301
315
|
## 21.1.0
|
|
302
316
|
|
|
303
317
|
### Minor Changes
|
|
304
318
|
|
|
305
|
-
-
|
|
306
|
-
|
|
307
|
-
|
|
319
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
320
|
+
[`c1d012d6d20`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1d012d6d20) - Updates
|
|
321
|
+
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behaviour change.
|
|
308
322
|
|
|
309
323
|
### Patch Changes
|
|
310
324
|
|
|
311
|
-
-
|
|
325
|
+
- Updated dependencies
|
|
312
326
|
|
|
313
327
|
## 21.0.3
|
|
314
328
|
|
|
315
329
|
### Patch Changes
|
|
316
330
|
|
|
317
|
-
-
|
|
318
|
-
|
|
319
|
-
|
|
331
|
+
- [#24968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24968)
|
|
332
|
+
[`f9cd9e55e43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd9e55e43) - Update
|
|
333
|
+
to disabled tokens which slightly affects the opacity in disabled states
|
|
320
334
|
|
|
321
335
|
## 21.0.2
|
|
322
336
|
|
|
323
337
|
### Patch Changes
|
|
324
338
|
|
|
325
|
-
-
|
|
326
|
-
|
|
327
|
-
|
|
339
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
340
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
341
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
328
342
|
|
|
329
343
|
## 21.0.1
|
|
330
344
|
|
|
331
345
|
### Patch Changes
|
|
332
346
|
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
|
|
347
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
348
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
349
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
336
350
|
|
|
337
351
|
## 21.0.0
|
|
338
352
|
|
|
339
353
|
### Major Changes
|
|
340
354
|
|
|
341
|
-
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
355
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
|
|
356
|
+
[`92bb02bc46b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/92bb02bc46b) - [ux]
|
|
357
|
+
There are **no code changes required** to consume this major, but you should be aware that
|
|
358
|
+
internal changes have been made to how `@atlaskit/avatar` loads images.
|
|
345
359
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
360
|
+
Before, the image loading behaviour was written in JS. Now, it leans on a standard HTML `img` tag
|
|
361
|
+
if you provide a `src` prop, allowing it to rely on the browser to optimise the loading. These
|
|
362
|
+
changes should result in faster image loading and an improved server-side rendering story.
|
|
349
363
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
364
|
+
In this version, the **breaking change is that you will no longer see a fallback icon while the
|
|
365
|
+
image is loading**. We have intentionally removed this loading behaviour as it is no longer
|
|
366
|
+
consistent with our native `img` behaviour-first approach, and was a source of SSR bugs. Avatar
|
|
367
|
+
images will load either instantly from the cache, or very fast from a CDN. In the edge cases where
|
|
368
|
+
there is an error with the image src provided, we will still fall back to a default icon.
|
|
355
369
|
|
|
356
370
|
### Patch Changes
|
|
357
371
|
|
|
358
|
-
-
|
|
359
|
-
|
|
372
|
+
- [`be23a6d8ee1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be23a6d8ee1) - [ux]
|
|
373
|
+
Updates color tokens used to be more semantically accurate
|
|
360
374
|
|
|
361
375
|
## 20.5.10
|
|
362
376
|
|
|
363
377
|
### Patch Changes
|
|
364
378
|
|
|
365
|
-
-
|
|
379
|
+
- Updated dependencies
|
|
366
380
|
|
|
367
381
|
## 20.5.9
|
|
368
382
|
|
|
369
383
|
### Patch Changes
|
|
370
384
|
|
|
371
|
-
-
|
|
372
|
-
|
|
373
|
-
|
|
385
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
386
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
387
|
+
to TypeScript 4.2.4
|
|
374
388
|
|
|
375
389
|
## 20.5.8
|
|
376
390
|
|
|
377
391
|
### Patch Changes
|
|
378
392
|
|
|
379
|
-
-
|
|
393
|
+
- Updated dependencies
|
|
380
394
|
|
|
381
395
|
## 20.5.7
|
|
382
396
|
|
|
383
397
|
### Patch Changes
|
|
384
398
|
|
|
385
|
-
-
|
|
399
|
+
- Updated dependencies
|
|
386
400
|
|
|
387
401
|
## 20.5.6
|
|
388
402
|
|
|
389
403
|
### Patch Changes
|
|
390
404
|
|
|
391
|
-
-
|
|
405
|
+
- Updated dependencies
|
|
392
406
|
|
|
393
407
|
## 20.5.5
|
|
394
408
|
|
|
395
409
|
### Patch Changes
|
|
396
410
|
|
|
397
|
-
-
|
|
398
|
-
|
|
399
|
-
|
|
411
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
412
|
+
[`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal
|
|
413
|
+
code change turning on a new linting rule.
|
|
400
414
|
|
|
401
415
|
## 20.5.4
|
|
402
416
|
|
|
403
417
|
### Patch Changes
|
|
404
418
|
|
|
405
|
-
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
-
|
|
419
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates
|
|
420
|
+
usage of deprecated token names so they're aligned with the latest naming conventions. No UI or
|
|
421
|
+
visual changes
|
|
422
|
+
- Updated dependencies
|
|
409
423
|
|
|
410
424
|
## 20.5.3
|
|
411
425
|
|
|
412
426
|
### Patch Changes
|
|
413
427
|
|
|
414
|
-
-
|
|
428
|
+
- Updated dependencies
|
|
415
429
|
|
|
416
430
|
## 20.5.2
|
|
417
431
|
|
|
418
432
|
### Patch Changes
|
|
419
433
|
|
|
420
|
-
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
-
|
|
434
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
435
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
436
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
437
|
+
tokens() function and improving bundle size.
|
|
438
|
+
- Updated dependencies
|
|
425
439
|
|
|
426
440
|
## 20.5.1
|
|
427
441
|
|
|
428
442
|
### Patch Changes
|
|
429
443
|
|
|
430
|
-
-
|
|
444
|
+
- Updated dependencies
|
|
431
445
|
|
|
432
446
|
## 20.5.0
|
|
433
447
|
|
|
434
448
|
### Minor Changes
|
|
435
449
|
|
|
436
|
-
-
|
|
437
|
-
|
|
438
|
-
|
|
450
|
+
- [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319)
|
|
451
|
+
[`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - [ux] Fix
|
|
452
|
+
avatar focus ring in windows high contrast mode
|
|
439
453
|
|
|
440
454
|
### Patch Changes
|
|
441
455
|
|
|
442
|
-
-
|
|
456
|
+
- Updated dependencies
|
|
443
457
|
|
|
444
458
|
## 20.4.2
|
|
445
459
|
|
|
446
460
|
### Patch Changes
|
|
447
461
|
|
|
448
|
-
-
|
|
462
|
+
- Updated dependencies
|
|
449
463
|
|
|
450
464
|
## 20.4.1
|
|
451
465
|
|
|
452
466
|
### Patch Changes
|
|
453
467
|
|
|
454
|
-
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
-
|
|
460
|
-
|
|
461
|
-
-
|
|
468
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
|
|
469
|
+
[`0a759df738f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0a759df738f) - When
|
|
470
|
+
Avatar is not interactive and no `name` prop is provided, `role` and an empty `aria-label`
|
|
471
|
+
attributes are not rendered anymore. Screen readers consider these images as decorative now and
|
|
472
|
+
doesn't announce them as "Unlabeled image".
|
|
473
|
+
- [`016d19b8038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d19b8038) - [ux]
|
|
474
|
+
When avatars are disabled they no longer will appear as interactive.
|
|
475
|
+
- Updated dependencies
|
|
462
476
|
|
|
463
477
|
## 20.4.0
|
|
464
478
|
|
|
465
479
|
### Minor Changes
|
|
466
480
|
|
|
467
|
-
-
|
|
468
|
-
|
|
469
|
-
|
|
481
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
482
|
+
[`cb101fd1d29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb101fd1d29) - [ux]
|
|
483
|
+
Colors are now sourced through tokens.
|
|
470
484
|
|
|
471
485
|
### Patch Changes
|
|
472
486
|
|
|
473
|
-
-
|
|
487
|
+
- Updated dependencies
|
|
474
488
|
|
|
475
489
|
## 20.3.3
|
|
476
490
|
|
|
477
491
|
### Patch Changes
|
|
478
492
|
|
|
479
|
-
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
-
|
|
493
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
494
|
+
[`0d0ecc6e790`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d0ecc6e790) - Corrects
|
|
495
|
+
eslint supressions.
|
|
496
|
+
- Updated dependencies
|
|
483
497
|
|
|
484
498
|
## 20.3.2
|
|
485
499
|
|
|
486
500
|
### Patch Changes
|
|
487
501
|
|
|
488
|
-
-
|
|
489
|
-
|
|
490
|
-
|
|
502
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
503
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
504
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
491
505
|
|
|
492
506
|
## 20.3.1
|
|
493
507
|
|
|
494
508
|
### Patch Changes
|
|
495
509
|
|
|
496
|
-
-
|
|
497
|
-
|
|
498
|
-
|
|
510
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
511
|
+
[`34992526ab4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34992526ab4) - Removes
|
|
512
|
+
duplicate dependency (@atlaskit/tooltip) from dependency array.
|
|
499
513
|
|
|
500
514
|
## 20.3.0
|
|
501
515
|
|
|
502
516
|
### Minor Changes
|
|
503
517
|
|
|
504
|
-
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
### Patch Changes
|
|
510
|
-
|
|
511
|
-
-
|
|
512
|
-
|
|
513
|
-
-
|
|
514
|
-
|
|
515
|
-
-
|
|
516
|
-
|
|
517
|
-
-
|
|
518
|
-
|
|
519
|
-
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
-
|
|
523
|
-
|
|
524
|
-
-
|
|
525
|
-
|
|
526
|
-
-
|
|
527
|
-
|
|
528
|
-
-
|
|
529
|
-
|
|
530
|
-
-
|
|
518
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
|
|
519
|
+
[`8f84c89cad5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f84c89cad5) - [ux] The
|
|
520
|
+
styles of overflow button of avatar group has been aligned with default button styles. Also,
|
|
521
|
+
contrast issue of the button has been fixed.
|
|
522
|
+
|
|
523
|
+
### Patch Changes
|
|
524
|
+
|
|
525
|
+
- [`af5707375f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af5707375f7) - Internal
|
|
526
|
+
code changes.
|
|
527
|
+
- [`cfcefd986eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfcefd986eb) - Adds
|
|
528
|
+
jsdoc description to exported components.
|
|
529
|
+
- [`4e8f13c9b8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e8f13c9b8a) - Renames
|
|
530
|
+
internal props to match naming convention.
|
|
531
|
+
- [`1974621bc4d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1974621bc4d) - Add
|
|
532
|
+
eslint rule disable for enforcing filename and extension
|
|
533
|
+
- [`9e335c673bb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e335c673bb) - Rename
|
|
534
|
+
no-type-suffix eslint rule to type-name-no-type-suffix-nor-props, and add restriction for nameing
|
|
535
|
+
types props.
|
|
536
|
+
- [`1512054d655`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1512054d655) - Fixed
|
|
537
|
+
no-type-suffix eslint errors
|
|
538
|
+
- [`ebd98351a30`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ebd98351a30) - Corrects
|
|
539
|
+
internal jsdoc declarations.
|
|
540
|
+
- [`70679cfeb04`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70679cfeb04) - Fixed
|
|
541
|
+
eslint errors by using css object notation
|
|
542
|
+
- [`7ea77bc9fbe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ea77bc9fbe) - Internal
|
|
543
|
+
changes.
|
|
544
|
+
- Updated dependencies
|
|
531
545
|
|
|
532
546
|
## 20.2.2
|
|
533
547
|
|
|
534
548
|
### Patch Changes
|
|
535
549
|
|
|
536
|
-
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
-
|
|
550
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
551
|
+
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
552
|
+
injected package name and version for analytics instead of version.json.
|
|
553
|
+
- Updated dependencies
|
|
540
554
|
|
|
541
555
|
## 20.2.1
|
|
542
556
|
|
|
543
557
|
### Patch Changes
|
|
544
558
|
|
|
545
|
-
-
|
|
546
|
-
|
|
547
|
-
|
|
559
|
+
- [#8710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8710)
|
|
560
|
+
[`e177a840b13`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e177a840b13) - Fix
|
|
561
|
+
flickering of cached avatar images on mount
|
|
548
562
|
|
|
549
563
|
## 20.2.0
|
|
550
564
|
|
|
551
565
|
### Minor Changes
|
|
552
566
|
|
|
553
|
-
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
567
|
+
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
|
|
568
|
+
[`1a8fcbf9878`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a8fcbf9878) - [ux]
|
|
569
|
+
Avatar and AvatarItem now accept a label prop which allows the components to be accessible when
|
|
570
|
+
viewed in a screen reader. The isDisabled prop now correctly generates the appropriate markup (was
|
|
571
|
+
a span, now a disabled button) for screen reader users.
|
|
558
572
|
|
|
559
573
|
### Patch Changes
|
|
560
574
|
|
|
561
|
-
-
|
|
562
|
-
|
|
563
|
-
-
|
|
575
|
+
- [`8308fe23b9b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8308fe23b9b) - Removing
|
|
576
|
+
incorrect cursor styles from non-interactive AvatarItems
|
|
577
|
+
- Updated dependencies
|
|
564
578
|
|
|
565
579
|
## 20.1.1
|
|
566
580
|
|
|
567
581
|
### Patch Changes
|
|
568
582
|
|
|
569
|
-
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
583
|
+
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
|
|
584
|
+
[`fe59fc62a58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe59fc62a58) -
|
|
585
|
+
Increased the contrast for the fallback icon of the Avatar package so that it passes WCAG AA
|
|
586
|
+
contrast requirements.
|
|
573
587
|
|
|
574
588
|
## 20.1.0
|
|
575
589
|
|
|
576
590
|
### Minor Changes
|
|
577
591
|
|
|
578
|
-
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
592
|
+
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
593
|
+
[`4f9e6e2db5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9e6e2db5) - These
|
|
594
|
+
packages now have defined entry points -- this means that you cannot access internal files in the
|
|
595
|
+
packages that are not meant to be public. Sub-components in these packages have been explicitly
|
|
596
|
+
defined, aiding tree-shaking and reducing bundle size.
|
|
583
597
|
|
|
584
598
|
### Patch Changes
|
|
585
599
|
|
|
586
|
-
-
|
|
600
|
+
- Updated dependencies
|
|
587
601
|
|
|
588
602
|
## 20.0.8
|
|
589
603
|
|
|
590
604
|
### Patch Changes
|
|
591
605
|
|
|
592
|
-
-
|
|
593
|
-
|
|
594
|
-
|
|
606
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
607
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
608
|
+
packages using babel rather than tsc
|
|
595
609
|
|
|
596
610
|
## 20.0.7
|
|
597
611
|
|
|
598
612
|
### Patch Changes
|
|
599
613
|
|
|
600
|
-
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
614
|
+
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
|
|
615
|
+
[`5c1b4d64ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c1b4d64ef) - [ux] There
|
|
616
|
+
were two browser specific issues in avatar component. 1- Misalignment in firefox (Interactive
|
|
617
|
+
button avatar is incorrectly aligned) — To fix this we added font-size and font-family to button
|
|
618
|
+
element. 2- Hover issue in safari (On hover avatar was showing rectangular background) — To fix
|
|
619
|
+
this we have added border radius to avatar on hover.
|
|
606
620
|
|
|
607
621
|
## 20.0.6
|
|
608
622
|
|
|
609
623
|
### Patch Changes
|
|
610
624
|
|
|
611
|
-
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
625
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
626
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
627
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
628
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
629
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
630
|
+
`devDependencies` to denote version that the package was built with.
|
|
617
631
|
|
|
618
632
|
## 20.0.5
|
|
619
633
|
|
|
620
634
|
### Patch Changes
|
|
621
635
|
|
|
622
|
-
-
|
|
636
|
+
- Updated dependencies
|
|
623
637
|
|
|
624
638
|
## 20.0.4
|
|
625
639
|
|
|
626
640
|
### Patch Changes
|
|
627
641
|
|
|
628
|
-
-
|
|
642
|
+
- Updated dependencies
|
|
629
643
|
|
|
630
644
|
## 20.0.3
|
|
631
645
|
|
|
632
646
|
### Patch Changes
|
|
633
647
|
|
|
634
|
-
-
|
|
635
|
-
|
|
636
|
-
|
|
648
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
649
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
650
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
637
651
|
|
|
638
|
-
|
|
639
|
-
|
|
652
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
653
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
640
654
|
|
|
641
655
|
## 20.0.2
|
|
642
656
|
|
|
643
657
|
### Patch Changes
|
|
644
658
|
|
|
645
|
-
-
|
|
646
|
-
|
|
647
|
-
|
|
659
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
|
|
660
|
+
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme
|
|
661
|
+
and package information has been updated to point to the new design system website.
|
|
648
662
|
|
|
649
663
|
## 20.0.1
|
|
650
664
|
|
|
651
665
|
### Patch Changes
|
|
652
666
|
|
|
653
|
-
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
667
|
+
- [#4044](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4044)
|
|
668
|
+
[`dfd7418707`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfd7418707) - Added
|
|
669
|
+
types for function parameters in the Presence, Status and Skeleton avatar sub-components. Without
|
|
670
|
+
these types we were unable to generate prop tables in the documentation site using
|
|
671
|
+
`extract-react-types`.
|
|
658
672
|
|
|
659
673
|
## 20.0.0
|
|
660
674
|
|
|
661
675
|
### Major Changes
|
|
662
676
|
|
|
663
|
-
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
677
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
678
|
+
[`cde426961a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cde426961a) - Changes to
|
|
679
|
+
Avatar in this release are intended to provide users with more flexible and performant
|
|
680
|
+
customization options.
|
|
667
681
|
|
|
668
|
-
|
|
682
|
+
Previously Avatars could only be customized like so:
|
|
669
683
|
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
684
|
+
```javascript
|
|
685
|
+
<Avatar component={Button} />
|
|
686
|
+
```
|
|
673
687
|
|
|
674
|
-
|
|
675
|
-
|
|
688
|
+
This is restrictive in that you're not able to pass custom props or children to button without
|
|
689
|
+
passing props directly through to Avatar first.
|
|
676
690
|
|
|
677
|
-
|
|
691
|
+
Now with render props, we can enable that:
|
|
678
692
|
|
|
679
|
-
|
|
680
|
-
|
|
693
|
+
```jsx
|
|
694
|
+
const initials = 'MCB';
|
|
681
695
|
|
|
682
|
-
|
|
683
|
-
|
|
696
|
+
<Avatar render={(props) => <Button {...props}>{initials} // custom initials etc.</Button>} />;
|
|
697
|
+
```
|
|
684
698
|
|
|
685
|
-
|
|
686
|
-
|
|
699
|
+
Since there are significant prop and API changes we provided a codemod to help consumers upgrade
|
|
700
|
+
their components.
|
|
687
701
|
|
|
688
|
-
|
|
702
|
+
**Running the codemod cli**
|
|
689
703
|
|
|
690
|
-
|
|
691
|
-
|
|
704
|
+
To run the codemod: **You first need to have the latest avatar installed before you can run the
|
|
705
|
+
codemod**
|
|
692
706
|
|
|
693
|
-
|
|
707
|
+
`yarn upgrade @atlaskit/avatar@^19.0.0`
|
|
694
708
|
|
|
695
|
-
|
|
709
|
+
Once upgraded, use the Atlaskit codemod-cli;
|
|
696
710
|
|
|
697
|
-
|
|
711
|
+
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
698
712
|
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
713
|
+
Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
|
|
714
|
+
[this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details
|
|
715
|
+
on the codemod CLI.
|
|
702
716
|
|
|
703
|
-
|
|
717
|
+
**Change summary:**
|
|
704
718
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
719
|
+
- BREAKING: `Avatar`'s `component` prop is now a
|
|
720
|
+
[renderProp](https://reactjs.org/docs/render-props.html) and has been renamed to `render`
|
|
721
|
+
- BREAKING: `AvatarItem`'s `component` prop is now a
|
|
722
|
+
[renderProp](https://reactjs.org/docs/render-props.html) and has been renamed to `render`
|
|
723
|
+
- Avatar now forwards its ref
|
|
724
|
+
- AvatarItem now forwards its ref
|
|
725
|
+
- Type `AvatarClickType` has been renamed to `AvatarClickEventHandler`
|
|
712
726
|
|
|
713
727
|
### Patch Changes
|
|
714
728
|
|
|
715
|
-
-
|
|
716
|
-
|
|
717
|
-
-
|
|
718
|
-
|
|
719
|
-
-
|
|
720
|
-
|
|
721
|
-
-
|
|
722
|
-
|
|
729
|
+
- [`cacf9a3097`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cacf9a3097) - Fixes a
|
|
730
|
+
regression in AvatarItem where the default padding was 16px instead of 4px.
|
|
731
|
+
- [`e99c1c2ac8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99c1c2ac8) - Removes
|
|
732
|
+
text decoration from AvatarItems rendered as anchor tags
|
|
733
|
+
- [`19b9dc6daf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19b9dc6daf) - Avatar now
|
|
734
|
+
sends complete contextualised analytics metadata.
|
|
735
|
+
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
|
|
736
|
+
the theme imports to be tree-shakable
|
|
723
737
|
|
|
724
738
|
## 19.0.0
|
|
725
739
|
|
|
726
740
|
### Major Changes
|
|
727
741
|
|
|
728
|
-
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
742
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
743
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
744
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
745
|
+
IE11. For more information see:
|
|
746
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
733
747
|
|
|
734
748
|
### Patch Changes
|
|
735
749
|
|
|
736
|
-
-
|
|
750
|
+
- Updated dependencies
|
|
737
751
|
|
|
738
752
|
## 18.0.2
|
|
739
753
|
|
|
740
754
|
### Patch Changes
|
|
741
755
|
|
|
742
|
-
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
-
|
|
746
|
-
|
|
756
|
+
- [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443)
|
|
757
|
+
[`1c401b41d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c401b41d6) - Codemod
|
|
758
|
+
updated to target the correct avatarItem prop name
|
|
759
|
+
- [`e3cb6026bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3cb6026bc) - Updates
|
|
760
|
+
the v18 codemod to ensure it doesnt format files that are not relevant
|
|
747
761
|
|
|
748
762
|
## 18.0.1
|
|
749
763
|
|
|
750
764
|
### Patch Changes
|
|
751
765
|
|
|
752
|
-
-
|
|
753
|
-
|
|
754
|
-
|
|
766
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
767
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
|
|
768
|
+
supporting files will no longer be published to npm
|
|
755
769
|
|
|
756
770
|
## 18.0.0
|
|
757
771
|
|
|
758
772
|
### Major Changes
|
|
759
773
|
|
|
760
|
-
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
774
|
+
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
|
|
775
|
+
[`b1fa2d6d1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1fa2d6d1c) - Avatar has
|
|
776
|
+
been refactored to improve performance and be compliant with the lite-mode specification. Since
|
|
777
|
+
there are significant prop and API changes, we will be providing a codemod to help consumers
|
|
778
|
+
upgrade their components.
|
|
765
779
|
|
|
766
|
-
|
|
780
|
+
To run the codemod:
|
|
767
781
|
|
|
768
|
-
|
|
782
|
+
**You first need to have the latest avatar installed before you can run the codemod**
|
|
769
783
|
|
|
770
|
-
|
|
784
|
+
`yarn upgrade @atlaskit/avatar@^18.0.0`
|
|
771
785
|
|
|
772
|
-
|
|
786
|
+
**Run the codemod cli**
|
|
773
787
|
|
|
774
|
-
|
|
788
|
+
`npx @atlaskit/codemod-cli /path/to/target/directory`
|
|
775
789
|
|
|
776
|
-
|
|
777
|
-
|
|
790
|
+
For more information on @atlaskit/codemod-cli please refer to
|
|
791
|
+
[this doc](https://atlaskit.atlassian.com/docs/guides/atlassian-codemods)
|
|
778
792
|
|
|
779
|
-
|
|
793
|
+
**Summary**
|
|
780
794
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
- Replaces `styled-components` v3 with `@emotion/core` to improve runtime and bundlesize
|
|
795
|
+
- Fixes re-rendering issues
|
|
796
|
+
- Removes all deprecated theme API. This includes previous experimental dark-mode theme support
|
|
797
|
+
- Stop accepting and spreading arbitrary props
|
|
798
|
+
- Removes analytics-next HOCs in favor of hook variant (You may need to update snapshot tests)
|
|
799
|
+
- Removes all usage of HOCs
|
|
800
|
+
- Replaces `styled-components` v3 with `@emotion/core` to improve runtime and bundlesize
|
|
788
801
|
|
|
789
|
-
|
|
802
|
+
**Avatar API / PROP CHANGES**
|
|
790
803
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
804
|
+
- `enableTooltip` removed. Please use `@atlaskit/tooltip` instead
|
|
805
|
+
- `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
|
|
806
|
+
- `isHover` removed
|
|
807
|
+
- `isActive` removed
|
|
808
|
+
- `isFocus` removed
|
|
809
|
+
- `isSelected` removed
|
|
810
|
+
- `theme` removed
|
|
811
|
+
- Added prop types to the `component` prop
|
|
812
|
+
- `BORDER_WIDTH` is now a single value rather than an object
|
|
813
|
+
- `withPseudoState`, `getProps`, `getBorderRadius`, `getInnerStyles` have been removed and are
|
|
814
|
+
therefor no longer available. These methods were for designed for internal use and use within
|
|
815
|
+
the AvatarGroup component.
|
|
803
816
|
|
|
804
|
-
|
|
817
|
+
**Avatar Item API / PROP CHANGES**
|
|
805
818
|
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
819
|
+
- `enableTruncation` renamed to `isTruncationDisabled`
|
|
820
|
+
- `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
|
|
821
|
+
- `isHover` removed
|
|
822
|
+
- `isActive` removed
|
|
823
|
+
- `isFocus` removed
|
|
824
|
+
- `isSelected` removed
|
|
825
|
+
- `theme` removed
|
|
826
|
+
- Added prop types to the `component` prop
|
|
814
827
|
|
|
815
828
|
## 17.1.11
|
|
816
829
|
|
|
817
830
|
### Patch Changes
|
|
818
831
|
|
|
819
|
-
-
|
|
832
|
+
- Updated dependencies
|
|
820
833
|
|
|
821
834
|
## 17.1.10
|
|
822
835
|
|
|
823
836
|
### Patch Changes
|
|
824
837
|
|
|
825
|
-
-
|
|
838
|
+
- [patch][167a55fd7a](https://bitbucket.org/atlassian/atlassian-frontend/commits/167a55fd7a):
|
|
826
839
|
|
|
827
|
-
|
|
828
|
-
|
|
840
|
+
Change imports to comply with Atlassian conventions- Updated dependencies
|
|
841
|
+
[3940bd71f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/3940bd71f1):
|
|
829
842
|
|
|
830
|
-
-
|
|
831
|
-
|
|
832
|
-
-
|
|
833
|
-
|
|
834
|
-
-
|
|
835
|
-
|
|
836
|
-
-
|
|
837
|
-
|
|
838
|
-
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
843
|
+
- Updated dependencies
|
|
844
|
+
[9e4b195732](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e4b195732):
|
|
845
|
+
- Updated dependencies
|
|
846
|
+
[6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
|
|
847
|
+
- Updated dependencies
|
|
848
|
+
[449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
|
|
849
|
+
- Updated dependencies
|
|
850
|
+
[57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
|
|
851
|
+
- Updated dependencies
|
|
852
|
+
[fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
|
|
853
|
+
- @atlaskit/tooltip@15.2.6
|
|
854
|
+
- @atlaskit/toggle@8.1.7
|
|
855
|
+
- @atlaskit/button@13.3.11
|
|
856
|
+
- @atlaskit/icon@20.1.1
|
|
857
|
+
- @atlaskit/webdriver-runner@0.3.4
|
|
845
858
|
|
|
846
859
|
## 17.1.9
|
|
847
860
|
|
|
848
861
|
### Patch Changes
|
|
849
862
|
|
|
850
|
-
-
|
|
851
|
-
|
|
852
|
-
-
|
|
853
|
-
|
|
854
|
-
-
|
|
855
|
-
|
|
856
|
-
-
|
|
857
|
-
|
|
858
|
-
-
|
|
859
|
-
|
|
860
|
-
-
|
|
861
|
-
|
|
862
|
-
-
|
|
863
|
-
|
|
864
|
-
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
863
|
+
- Updated dependencies
|
|
864
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
865
|
+
- Updated dependencies
|
|
866
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
867
|
+
- Updated dependencies
|
|
868
|
+
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
|
|
869
|
+
- Updated dependencies
|
|
870
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
871
|
+
- Updated dependencies
|
|
872
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
873
|
+
- Updated dependencies
|
|
874
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
875
|
+
- Updated dependencies
|
|
876
|
+
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
|
|
877
|
+
- Updated dependencies
|
|
878
|
+
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
|
|
879
|
+
- @atlaskit/docs@8.4.0
|
|
880
|
+
- @atlaskit/icon@20.1.0
|
|
881
|
+
- @atlaskit/webdriver-runner@0.3.0
|
|
882
|
+
- @atlaskit/field-base@14.0.2
|
|
883
|
+
- @atlaskit/button@13.3.9
|
|
884
|
+
- @atlaskit/section-message@4.1.7
|
|
885
|
+
- @atlaskit/toggle@8.1.6
|
|
886
|
+
- @atlaskit/tooltip@15.2.5
|
|
874
887
|
|
|
875
888
|
## 17.1.8
|
|
876
889
|
|
|
877
890
|
### Patch Changes
|
|
878
891
|
|
|
879
|
-
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
892
|
+
- Updated dependencies
|
|
893
|
+
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
|
|
894
|
+
- @atlaskit/webdriver-runner@0.2.0
|
|
895
|
+
- @atlaskit/button@13.3.8
|
|
896
|
+
- @atlaskit/section-message@4.1.6
|
|
897
|
+
- @atlaskit/toggle@8.1.5
|
|
898
|
+
- @atlaskit/tooltip@15.2.4
|
|
886
899
|
|
|
887
900
|
## 17.1.7
|
|
888
901
|
|
|
889
902
|
### Patch Changes
|
|
890
903
|
|
|
891
|
-
-
|
|
904
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
892
905
|
|
|
893
|
-
|
|
894
|
-
|
|
906
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
907
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
895
908
|
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
909
|
+
- @atlaskit/docs@8.3.2
|
|
910
|
+
- @atlaskit/visual-regression@0.1.9
|
|
911
|
+
- @atlaskit/analytics-next@6.3.5
|
|
912
|
+
- @atlaskit/button@13.3.7
|
|
913
|
+
- @atlaskit/field-base@14.0.1
|
|
914
|
+
- @atlaskit/icon@20.0.1
|
|
915
|
+
- @atlaskit/section-message@4.1.5
|
|
916
|
+
- @atlaskit/theme@9.5.1
|
|
917
|
+
- @atlaskit/toggle@8.1.4
|
|
918
|
+
- @atlaskit/tooltip@15.2.3
|
|
906
919
|
|
|
907
920
|
## 17.1.6
|
|
908
921
|
|
|
909
922
|
### Patch Changes
|
|
910
923
|
|
|
911
|
-
-
|
|
924
|
+
- [patch][b9dc265bc9](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9dc265bc9):
|
|
912
925
|
|
|
913
|
-
|
|
914
|
-
|
|
926
|
+
Avatar-item will now respect the width of it's parent container- Updated dependencies
|
|
927
|
+
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
915
928
|
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
929
|
+
- @atlaskit/field-base@14.0.0
|
|
930
|
+
- @atlaskit/icon@20.0.0
|
|
931
|
+
- @atlaskit/section-message@4.1.4
|
|
932
|
+
- @atlaskit/docs@8.3.1
|
|
933
|
+
- @atlaskit/button@13.3.6
|
|
934
|
+
- @atlaskit/tooltip@15.2.2
|
|
922
935
|
|
|
923
936
|
## 17.1.5
|
|
924
937
|
|
|
925
938
|
### Patch Changes
|
|
926
939
|
|
|
927
|
-
-
|
|
940
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
928
941
|
|
|
929
|
-
|
|
930
|
-
|
|
942
|
+
Corrects bgColor type from never to string- Updated dependencies
|
|
943
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
931
944
|
|
|
932
|
-
-
|
|
933
|
-
|
|
934
|
-
-
|
|
935
|
-
|
|
936
|
-
-
|
|
937
|
-
|
|
938
|
-
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
945
|
+
- Updated dependencies
|
|
946
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
947
|
+
- Updated dependencies
|
|
948
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
949
|
+
- Updated dependencies
|
|
950
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
951
|
+
- Updated dependencies
|
|
952
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
953
|
+
- @atlaskit/tooltip@15.2.0
|
|
954
|
+
- @atlaskit/analytics-next@6.3.3
|
|
955
|
+
- @atlaskit/field-base@13.0.16
|
|
943
956
|
|
|
944
957
|
## 17.1.4
|
|
945
958
|
|
|
946
959
|
### Patch Changes
|
|
947
960
|
|
|
948
|
-
-
|
|
961
|
+
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
|
|
949
962
|
|
|
950
|
-
|
|
951
|
-
|
|
963
|
+
Theme has been converted to Typescript. Typescript consumers will now get static type safety. Flow
|
|
964
|
+
types are no longer provided.
|
|
952
965
|
|
|
953
|
-
|
|
966
|
+
### Breaking
|
|
954
967
|
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
968
|
+
** getTokens props changes ** When defining the value function passed into a ThemeProvider, the
|
|
969
|
+
getTokens parameter cannot be called without props; if no props are provided an empty object `{}`
|
|
970
|
+
must be passed in:
|
|
958
971
|
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
972
|
+
```javascript
|
|
973
|
+
<CustomTheme.Provider
|
|
974
|
+
value={t => ({ ...t(), backgroundColor: '#333'})}
|
|
975
|
+
>
|
|
976
|
+
```
|
|
964
977
|
|
|
965
|
-
|
|
978
|
+
becomes:
|
|
966
979
|
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
980
|
+
```javascript
|
|
981
|
+
<CustomTheme.Provider
|
|
982
|
+
value={t => ({ ...t({}), backgroundColor: '#333'})}
|
|
983
|
+
>
|
|
984
|
+
```
|
|
972
985
|
|
|
973
|
-
|
|
974
|
-
|
|
986
|
+
** Color palette changes ** Color palettes have been moved into their own file. Users will need to
|
|
987
|
+
update imports from this:
|
|
975
988
|
|
|
976
|
-
|
|
977
|
-
|
|
989
|
+
```javascript
|
|
990
|
+
import { colors } from '@atlaskit/theme';
|
|
978
991
|
|
|
979
|
-
|
|
980
|
-
|
|
992
|
+
colors.colorPalette('8');
|
|
993
|
+
```
|
|
981
994
|
|
|
982
|
-
|
|
995
|
+
to this:
|
|
983
996
|
|
|
984
|
-
|
|
985
|
-
|
|
997
|
+
```javascript
|
|
998
|
+
import { colorPalette } from '@atlaskit/theme';
|
|
986
999
|
|
|
987
|
-
|
|
988
|
-
|
|
1000
|
+
colorPalette.colorPalette('8');
|
|
1001
|
+
```
|
|
989
1002
|
|
|
990
|
-
|
|
1003
|
+
or for multi entry-point users:
|
|
991
1004
|
|
|
992
|
-
|
|
993
|
-
|
|
1005
|
+
```javascript
|
|
1006
|
+
import * as colors from '@atlaskit/theme/colors';
|
|
994
1007
|
|
|
995
|
-
|
|
996
|
-
|
|
1008
|
+
colors.colorPalette('8');
|
|
1009
|
+
```
|
|
997
1010
|
|
|
998
|
-
|
|
1011
|
+
to this:
|
|
999
1012
|
|
|
1000
|
-
|
|
1001
|
-
|
|
1013
|
+
```javascript
|
|
1014
|
+
import * as colorPalettes from '@atlaskit/theme/color-palette';
|
|
1002
1015
|
|
|
1003
|
-
|
|
1004
|
-
|
|
1016
|
+
colorPalettes.colorPalette('8');
|
|
1017
|
+
```
|
|
1005
1018
|
|
|
1006
1019
|
## 17.1.3
|
|
1007
1020
|
|
|
1008
1021
|
### Patch Changes
|
|
1009
1022
|
|
|
1010
|
-
-
|
|
1023
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
1011
1024
|
|
|
1012
|
-
|
|
1025
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
1013
1026
|
|
|
1014
1027
|
## 17.1.2
|
|
1015
1028
|
|
|
1016
1029
|
### Patch Changes
|
|
1017
1030
|
|
|
1018
|
-
-
|
|
1031
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
1019
1032
|
|
|
1020
|
-
|
|
1033
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
1021
1034
|
|
|
1022
1035
|
## 17.1.1
|
|
1023
1036
|
|
|
1024
1037
|
### Patch Changes
|
|
1025
1038
|
|
|
1026
|
-
-
|
|
1039
|
+
- [patch][8dff68dffa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8dff68dffa):
|
|
1027
1040
|
|
|
1028
|
-
|
|
1041
|
+
AvatarItems will only present a pointer cursor if onClick or href has been supplied
|
|
1029
1042
|
|
|
1030
1043
|
## 17.1.0
|
|
1031
1044
|
|
|
1032
1045
|
### Minor Changes
|
|
1033
1046
|
|
|
1034
|
-
-
|
|
1047
|
+
- [minor][79689c9027](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/79689c9027):
|
|
1035
1048
|
|
|
1036
|
-
|
|
1037
|
-
|
|
1049
|
+
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
|
|
1050
|
+
products to write better integration and end to end tests.
|
|
1038
1051
|
|
|
1039
1052
|
## 17.0.1
|
|
1040
1053
|
|
|
1041
1054
|
### Patch Changes
|
|
1042
1055
|
|
|
1043
|
-
-
|
|
1056
|
+
- [patch][40bda8f796](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/40bda8f796):
|
|
1044
1057
|
|
|
1045
|
-
|
|
1046
|
-
|
|
1058
|
+
@atlaskit/avatar-group has been converted to Typescript. Typescript consumers will now get static
|
|
1059
|
+
type safety. Flow types are no longer provided. No API or behavioural changes.
|
|
1047
1060
|
|
|
1048
1061
|
## 17.0.0
|
|
1049
1062
|
|
|
1050
1063
|
### Major Changes
|
|
1051
1064
|
|
|
1052
|
-
-
|
|
1065
|
+
- [major][8d0f37c23e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8d0f37c23e):
|
|
1053
1066
|
|
|
1054
|
-
|
|
1055
|
-
|
|
1067
|
+
@atlaskit/avatar has been converted to Typescript. Typescript consumers will now get static type
|
|
1068
|
+
safety. Flow types are no longer provided. No API or behavioural changes.
|
|
1056
1069
|
|
|
1057
1070
|
## 16.1.0
|
|
1058
1071
|
|
|
1059
1072
|
### Minor Changes
|
|
1060
1073
|
|
|
1061
|
-
-
|
|
1074
|
+
- [minor][c6efb2f5b6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c6efb2f5b6):
|
|
1062
1075
|
|
|
1063
|
-
|
|
1076
|
+
Prefix the legacy lifecycle methods with UNSAFE\_\* to avoid warning in React 16.9+
|
|
1064
1077
|
|
|
1065
|
-
|
|
1066
|
-
|
|
1078
|
+
More information about the deprecation of lifecycles methods can be found here:
|
|
1079
|
+
https://reactjs.org/blog/2018/03/29/react-v-16-3.html#component-lifecycle-changes
|
|
1067
1080
|
|
|
1068
1081
|
## 16.0.14
|
|
1069
1082
|
|
|
1070
1083
|
### Patch Changes
|
|
1071
1084
|
|
|
1072
|
-
-
|
|
1085
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
1073
1086
|
|
|
1074
|
-
|
|
1075
|
-
|
|
1087
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
1088
|
+
non-relative imports as relative imports
|
|
1076
1089
|
|
|
1077
1090
|
## 16.0.13
|
|
1078
1091
|
|
|
1079
1092
|
### Patch Changes
|
|
1080
1093
|
|
|
1081
|
-
-
|
|
1094
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
1082
1095
|
|
|
1083
|
-
|
|
1096
|
+
Upgraded Typescript to 3.3.x
|
|
1084
1097
|
|
|
1085
1098
|
## 16.0.12
|
|
1086
1099
|
|
|
1087
1100
|
### Patch Changes
|
|
1088
1101
|
|
|
1089
|
-
-
|
|
1102
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
1090
1103
|
|
|
1091
|
-
|
|
1104
|
+
Change all the imports to theme in Core to use multi entry points
|
|
1092
1105
|
|
|
1093
1106
|
## 16.0.11
|
|
1094
1107
|
|
|
1095
1108
|
### Patch Changes
|
|
1096
1109
|
|
|
1097
|
-
-
|
|
1110
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
1098
1111
|
|
|
1099
|
-
|
|
1112
|
+
Updates component maintainers
|
|
1100
1113
|
|
|
1101
1114
|
## 16.0.10
|
|
1102
1115
|
|
|
1103
1116
|
### Patch Changes
|
|
1104
1117
|
|
|
1105
|
-
-
|
|
1118
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
1106
1119
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1120
|
+
Analytics-next has been converted to Typescript. Typescript consumers will now get static type
|
|
1121
|
+
safety. Flow types are no longer provided. No behavioural changes.
|
|
1109
1122
|
|
|
1110
|
-
|
|
1123
|
+
**Breaking changes**
|
|
1111
1124
|
|
|
1112
|
-
|
|
1113
|
-
|
|
1125
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1126
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1114
1127
|
|
|
1115
|
-
|
|
1128
|
+
**Breaking changes to TypeScript annotations**
|
|
1116
1129
|
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1130
|
+
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1131
|
+
props as a generic type.
|
|
1132
|
+
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
1133
|
+
props as a generic type.
|
|
1134
|
+
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source
|
|
1135
|
+
code
|
|
1136
|
+
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match
|
|
1137
|
+
source code
|
|
1138
|
+
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match
|
|
1139
|
+
source code
|
|
1140
|
+
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
|
|
1141
|
+
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
|
|
1142
|
+
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
|
|
1143
|
+
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
|
|
1144
|
+
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
|
|
1145
|
+
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
|
|
1133
1146
|
|
|
1134
1147
|
## 16.0.9
|
|
1135
1148
|
|
|
1136
1149
|
### Patch Changes
|
|
1137
1150
|
|
|
1138
|
-
-
|
|
1151
|
+
- [patch][d905cbc0ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d905cbc0ac):
|
|
1139
1152
|
|
|
1140
|
-
|
|
1141
|
-
|
|
1153
|
+
Adding a condition to check if the component are referenced in tests running in CI. It reduces the
|
|
1154
|
+
noise and help reading the CI log.
|
|
1142
1155
|
|
|
1143
1156
|
## 16.0.8
|
|
1144
1157
|
|
|
1145
|
-
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1158
|
+
- Updated dependencies
|
|
1159
|
+
[7e9d653278](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e9d653278):
|
|
1160
|
+
- @atlaskit/toggle@8.0.0
|
|
1148
1161
|
|
|
1149
1162
|
## 16.0.7
|
|
1150
1163
|
|
|
1151
1164
|
### Patch Changes
|
|
1152
1165
|
|
|
1153
|
-
-
|
|
1166
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
1154
1167
|
|
|
1155
|
-
|
|
1168
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
1156
1169
|
|
|
1157
1170
|
## 16.0.6
|
|
1158
1171
|
|
|
1159
|
-
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1172
|
+
- Updated dependencies
|
|
1173
|
+
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
|
|
1174
|
+
- @atlaskit/docs@8.1.3
|
|
1175
|
+
- @atlaskit/button@13.0.9
|
|
1176
|
+
- @atlaskit/field-base@13.0.6
|
|
1177
|
+
- @atlaskit/section-message@4.0.5
|
|
1178
|
+
- @atlaskit/toggle@7.0.3
|
|
1179
|
+
- @atlaskit/tooltip@15.0.2
|
|
1180
|
+
- @atlaskit/icon@19.0.0
|
|
1168
1181
|
|
|
1169
1182
|
## 16.0.5
|
|
1170
1183
|
|
|
1171
1184
|
### Patch Changes
|
|
1172
1185
|
|
|
1173
|
-
-
|
|
1186
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
1174
1187
|
|
|
1175
|
-
|
|
1188
|
+
index.ts will now be ignored when publishing to npm
|
|
1176
1189
|
|
|
1177
1190
|
## 16.0.4
|
|
1178
1191
|
|
|
1179
|
-
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1192
|
+
- Updated dependencies
|
|
1193
|
+
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
1194
|
+
- @atlaskit/icon@18.0.1
|
|
1195
|
+
- @atlaskit/tooltip@15.0.0
|
|
1183
1196
|
|
|
1184
1197
|
## 16.0.3
|
|
1185
1198
|
|
|
1186
|
-
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1199
|
+
- Updated dependencies
|
|
1200
|
+
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
|
|
1201
|
+
- @atlaskit/docs@8.1.2
|
|
1202
|
+
- @atlaskit/button@13.0.8
|
|
1203
|
+
- @atlaskit/field-base@13.0.4
|
|
1204
|
+
- @atlaskit/section-message@4.0.2
|
|
1205
|
+
- @atlaskit/toggle@7.0.1
|
|
1206
|
+
- @atlaskit/tooltip@14.0.3
|
|
1207
|
+
- @atlaskit/icon@18.0.0
|
|
1195
1208
|
|
|
1196
1209
|
## 16.0.2
|
|
1197
1210
|
|
|
1198
|
-
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1211
|
+
- Updated dependencies
|
|
1212
|
+
[6dd86f5b07](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6dd86f5b07):
|
|
1213
|
+
- @atlaskit/icon@17.1.1
|
|
1214
|
+
- @atlaskit/theme@9.0.2
|
|
1215
|
+
- @atlaskit/section-message@4.0.0
|
|
1203
1216
|
|
|
1204
1217
|
## 16.0.1
|
|
1205
1218
|
|
|
1206
|
-
-
|
|
1219
|
+
- [patch][21854842b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21854842b5):
|
|
1207
1220
|
|
|
1208
|
-
|
|
1221
|
+
- Clean couple of TODO's that were already done
|
|
1209
1222
|
|
|
1210
1223
|
## 16.0.0
|
|
1211
1224
|
|
|
1212
|
-
-
|
|
1225
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1213
1226
|
|
|
1214
|
-
|
|
1215
|
-
|
|
1227
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1228
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
1216
1229
|
|
|
1217
1230
|
## 15.0.5
|
|
1218
1231
|
|
|
1219
|
-
-
|
|
1232
|
+
- [patch][d01ab3961b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d01ab3961b):
|
|
1220
1233
|
|
|
1221
|
-
|
|
1234
|
+
- Bugfix: fixes issue with src image flickering
|
|
1222
1235
|
|
|
1223
1236
|
## 15.0.4
|
|
1224
1237
|
|
|
1225
|
-
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1238
|
+
- Updated dependencies
|
|
1239
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
1240
|
+
- @atlaskit/docs@7.0.3
|
|
1241
|
+
- @atlaskit/button@12.0.3
|
|
1242
|
+
- @atlaskit/field-base@12.0.2
|
|
1243
|
+
- @atlaskit/icon@16.0.9
|
|
1244
|
+
- @atlaskit/section-message@2.0.3
|
|
1245
|
+
- @atlaskit/toggle@6.0.4
|
|
1246
|
+
- @atlaskit/tooltip@13.0.4
|
|
1247
|
+
- @atlaskit/theme@8.1.7
|
|
1235
1248
|
|
|
1236
1249
|
## 15.0.3
|
|
1237
1250
|
|
|
1238
|
-
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1251
|
+
- Updated dependencies
|
|
1252
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
1253
|
+
- @atlaskit/docs@7.0.2
|
|
1254
|
+
- @atlaskit/analytics-next@4.0.3
|
|
1255
|
+
- @atlaskit/icon@16.0.8
|
|
1256
|
+
- @atlaskit/section-message@2.0.2
|
|
1257
|
+
- @atlaskit/theme@8.1.6
|
|
1258
|
+
- @atlaskit/toggle@6.0.3
|
|
1259
|
+
- @atlaskit/tooltip@13.0.3
|
|
1260
|
+
- @atlaskit/button@12.0.0
|
|
1248
1261
|
|
|
1249
1262
|
## 15.0.2
|
|
1250
1263
|
|
|
1251
|
-
-
|
|
1264
|
+
- [patch][ea173a3ee2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea173a3ee2):
|
|
1252
1265
|
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1266
|
+
- Internal changes only. Component is now SSR compatible. If server side rendered, Avatar Images
|
|
1267
|
+
will begin to load immediately; before client bundle is ready. If this is undesired, `imageUrl`
|
|
1268
|
+
can be passed in after component is mounted.
|
|
1256
1269
|
|
|
1257
1270
|
## 15.0.1
|
|
1258
1271
|
|
|
1259
|
-
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1272
|
+
- Updated dependencies
|
|
1273
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
1274
|
+
- @atlaskit/docs@7.0.1
|
|
1275
|
+
- @atlaskit/analytics-next@4.0.1
|
|
1276
|
+
- @atlaskit/icon@16.0.5
|
|
1277
|
+
- @atlaskit/section-message@2.0.1
|
|
1278
|
+
- @atlaskit/theme@8.0.1
|
|
1279
|
+
- @atlaskit/toggle@6.0.1
|
|
1280
|
+
- @atlaskit/tooltip@13.0.1
|
|
1281
|
+
- @atlaskit/button@11.0.0
|
|
1269
1282
|
|
|
1270
1283
|
## 15.0.0
|
|
1271
1284
|
|
|
1272
|
-
-
|
|
1285
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1273
1286
|
|
|
1274
|
-
|
|
1287
|
+
- Drop ES5 from all the flow modules
|
|
1275
1288
|
|
|
1276
|
-
|
|
1289
|
+
### Dropping CJS support in all @atlaskit packages
|
|
1277
1290
|
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1291
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
1292
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
1293
|
+
`import` and `export` declarations.
|
|
1281
1294
|
|
|
1282
|
-
|
|
1283
|
-
e.g:
|
|
1295
|
+
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
1284
1296
|
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1297
|
+
```js
|
|
1298
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1299
|
+
```
|
|
1288
1300
|
|
|
1289
|
-
|
|
1301
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
1290
1302
|
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1303
|
+
```js
|
|
1304
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1305
|
+
```
|
|
1294
1306
|
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1307
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
|
|
1308
|
+
we have to worry about how consumers might be using things that aren't _actually_ supposed to be
|
|
1309
|
+
used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
|
|
1310
|
+
packages bundling all of theme, just to use a single color, especially in situations where tree
|
|
1311
|
+
shaking fails.
|
|
1300
1312
|
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1313
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
1314
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
1315
|
+
internal dependencies.
|
|
1304
1316
|
|
|
1305
|
-
|
|
1306
|
-
|
|
1317
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1318
|
+
environments.
|
|
1307
1319
|
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1320
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
1321
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
1322
|
+
saner API's and simpler package architecture.
|
|
1311
1323
|
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1324
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
1325
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
1326
|
+
external) if you have any questions or queries about this.
|
|
1315
1327
|
|
|
1316
1328
|
## 14.1.9
|
|
1317
1329
|
|
|
1318
|
-
-
|
|
1330
|
+
- [patch][92d8e6317c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/92d8e6317c):
|
|
1319
1331
|
|
|
1320
|
-
|
|
1321
|
-
|
|
1332
|
+
- Check if the DOM is available when rendering an AvatarImage so that SSR rendered Avatars will
|
|
1333
|
+
render with the provided image.
|
|
1322
1334
|
|
|
1323
1335
|
## 14.1.8
|
|
1324
1336
|
|
|
1325
|
-
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1337
|
+
- Updated dependencies
|
|
1338
|
+
[d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
|
|
1339
|
+
- @atlaskit/docs@6.0.1
|
|
1340
|
+
- @atlaskit/button@10.1.2
|
|
1341
|
+
- @atlaskit/field-base@11.0.14
|
|
1342
|
+
- @atlaskit/section-message@1.0.16
|
|
1343
|
+
- @atlaskit/toggle@5.0.15
|
|
1344
|
+
- @atlaskit/tooltip@12.1.15
|
|
1345
|
+
- @atlaskit/icon@16.0.0
|
|
1334
1346
|
|
|
1335
1347
|
## 14.1.7
|
|
1336
1348
|
|
|
1337
|
-
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1349
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
1350
|
+
- @atlaskit/analytics-next@3.1.2
|
|
1351
|
+
- @atlaskit/button@10.1.1
|
|
1352
|
+
- @atlaskit/field-base@11.0.13
|
|
1353
|
+
- @atlaskit/icon@15.0.2
|
|
1354
|
+
- @atlaskit/section-message@1.0.14
|
|
1355
|
+
- @atlaskit/theme@7.0.1
|
|
1356
|
+
- @atlaskit/toggle@5.0.14
|
|
1357
|
+
- @atlaskit/tooltip@12.1.13
|
|
1358
|
+
- @atlaskit/docs@6.0.0
|
|
1347
1359
|
|
|
1348
1360
|
## 14.1.6
|
|
1349
1361
|
|
|
1350
|
-
-
|
|
1362
|
+
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
1351
1363
|
|
|
1352
|
-
|
|
1353
|
-
|
|
1364
|
+
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
1365
|
+
make theming simpler. Update all dependant components.
|
|
1354
1366
|
|
|
1355
1367
|
## 14.1.5
|
|
1356
1368
|
|
|
1357
|
-
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1369
|
+
- Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
|
|
1370
|
+
- @atlaskit/docs@5.2.2
|
|
1371
|
+
- @atlaskit/button@10.0.1
|
|
1372
|
+
- @atlaskit/field-base@11.0.11
|
|
1373
|
+
- @atlaskit/section-message@1.0.12
|
|
1374
|
+
- @atlaskit/toggle@5.0.12
|
|
1375
|
+
- @atlaskit/tooltip@12.1.11
|
|
1376
|
+
- @atlaskit/icon@15.0.0
|
|
1365
1377
|
|
|
1366
1378
|
## 14.1.4
|
|
1367
1379
|
|
|
1368
|
-
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1380
|
+
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
|
|
1381
|
+
- @atlaskit/docs@5.2.1
|
|
1382
|
+
- @atlaskit/analytics-next@3.1.1
|
|
1383
|
+
- @atlaskit/icon@14.6.1
|
|
1384
|
+
- @atlaskit/section-message@1.0.11
|
|
1385
|
+
- @atlaskit/theme@6.2.1
|
|
1386
|
+
- @atlaskit/toggle@5.0.11
|
|
1387
|
+
- @atlaskit/tooltip@12.1.10
|
|
1388
|
+
- @atlaskit/button@10.0.0
|
|
1377
1389
|
|
|
1378
1390
|
## 14.1.3
|
|
1379
1391
|
|
|
1380
|
-
-
|
|
1392
|
+
- [patch][a981c43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a981c43):
|
|
1381
1393
|
|
|
1382
|
-
|
|
1394
|
+
- Update Avatar to allow to use a custom icon as status.
|
|
1383
1395
|
|
|
1384
1396
|
## 14.1.2
|
|
1385
1397
|
|
|
1386
|
-
-
|
|
1387
|
-
|
|
1398
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1399
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1388
1400
|
|
|
1389
1401
|
## 14.1.1
|
|
1390
1402
|
|
|
1391
|
-
-
|
|
1392
|
-
|
|
1403
|
+
- [patch] Update avatar index exports to fix babel transpilation bug
|
|
1404
|
+
[0208158](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0208158)
|
|
1393
1405
|
|
|
1394
1406
|
## 14.1.0
|
|
1395
1407
|
|
|
1396
|
-
-
|
|
1397
|
-
|
|
1408
|
+
- [minor] Adds new theming API to Avatar and AvatarItem components
|
|
1409
|
+
[79dd93f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/79dd93f)
|
|
1398
1410
|
|
|
1399
1411
|
## 14.0.11
|
|
1400
1412
|
|
|
1401
|
-
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1413
|
+
- [patch] Updated dependencies
|
|
1414
|
+
[65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
|
|
1415
|
+
- @atlaskit/docs@5.0.8
|
|
1416
|
+
- @atlaskit/button@9.0.13
|
|
1417
|
+
- @atlaskit/field-base@11.0.8
|
|
1418
|
+
- @atlaskit/section-message@1.0.8
|
|
1419
|
+
- @atlaskit/toggle@5.0.9
|
|
1420
|
+
- @atlaskit/tooltip@12.1.1
|
|
1421
|
+
- @atlaskit/icon@14.0.0
|
|
1410
1422
|
|
|
1411
1423
|
## 14.0.10
|
|
1412
1424
|
|
|
1413
|
-
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1425
|
+
- [patch] Fix bug where analytics was causing avatar to always have an onClick and render with
|
|
1426
|
+
onClick styles/attributes.
|
|
1427
|
+
[966f1fb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/966f1fb)
|
|
1416
1428
|
|
|
1417
1429
|
## 14.0.8
|
|
1418
1430
|
|
|
1419
|
-
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1431
|
+
- [patch] Updated dependencies
|
|
1432
|
+
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
|
|
1433
|
+
- @atlaskit/theme@6.0.0
|
|
1434
|
+
- @atlaskit/tooltip@12.0.9
|
|
1435
|
+
- @atlaskit/toggle@5.0.6
|
|
1436
|
+
- @atlaskit/section-message@1.0.5
|
|
1437
|
+
- @atlaskit/icon@13.2.5
|
|
1438
|
+
- @atlaskit/field-base@11.0.5
|
|
1439
|
+
- @atlaskit/button@9.0.6
|
|
1440
|
+
- @atlaskit/docs@5.0.6
|
|
1429
1441
|
|
|
1430
1442
|
## 14.0.7
|
|
1431
1443
|
|
|
1432
|
-
-
|
|
1433
|
-
|
|
1434
|
-
-
|
|
1435
|
-
|
|
1444
|
+
- [patch] updated the custom component proxy to be class instead of function to fix the errors
|
|
1445
|
+
related to innerRef [06690a6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06690a6)
|
|
1446
|
+
- [none] Updated dependencies
|
|
1447
|
+
[06690a6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06690a6)
|
|
1436
1448
|
|
|
1437
1449
|
## 14.0.6
|
|
1438
1450
|
|
|
1439
|
-
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1451
|
+
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
1452
|
+
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
|
|
1453
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1454
|
+
- [none] Updated dependencies
|
|
1455
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1456
|
+
- @atlaskit/tooltip@12.0.5
|
|
1457
|
+
- @atlaskit/field-base@11.0.3
|
|
1458
|
+
- @atlaskit/analytics-next@3.0.4
|
|
1459
|
+
- @atlaskit/toggle@5.0.5
|
|
1460
|
+
- @atlaskit/button@9.0.5
|
|
1461
|
+
- @atlaskit/theme@5.1.3
|
|
1462
|
+
- @atlaskit/section-message@1.0.4
|
|
1463
|
+
- @atlaskit/icon@13.2.4
|
|
1452
1464
|
|
|
1453
1465
|
## 14.0.5
|
|
1454
1466
|
|
|
1455
|
-
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1467
|
+
- [patch] Updated dependencies
|
|
1468
|
+
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
1469
|
+
- @atlaskit/tooltip@12.0.4
|
|
1470
|
+
- @atlaskit/icon@13.2.2
|
|
1471
|
+
- @atlaskit/toggle@5.0.4
|
|
1472
|
+
- @atlaskit/section-message@1.0.3
|
|
1473
|
+
- @atlaskit/button@9.0.4
|
|
1474
|
+
- @atlaskit/theme@5.1.2
|
|
1475
|
+
- @atlaskit/analytics-next@3.0.3
|
|
1476
|
+
- @atlaskit/docs@5.0.2
|
|
1477
|
+
- @atlaskit/field-base@11.0.2
|
|
1466
1478
|
|
|
1467
1479
|
## 14.0.4
|
|
1468
1480
|
|
|
1469
|
-
-
|
|
1470
|
-
|
|
1471
|
-
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
+
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
1482
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1483
|
+
- [none] Updated dependencies
|
|
1484
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1485
|
+
- @atlaskit/tooltip@12.0.3
|
|
1486
|
+
- @atlaskit/field-base@11.0.1
|
|
1487
|
+
- @atlaskit/analytics-next@3.0.2
|
|
1488
|
+
- @atlaskit/toggle@5.0.3
|
|
1489
|
+
- @atlaskit/button@9.0.3
|
|
1490
|
+
- @atlaskit/theme@5.1.1
|
|
1491
|
+
- @atlaskit/section-message@1.0.2
|
|
1492
|
+
- @atlaskit/icon@13.2.1
|
|
1481
1493
|
|
|
1482
1494
|
## 14.0.3
|
|
1483
1495
|
|
|
1484
|
-
-
|
|
1485
|
-
|
|
1486
|
-
-
|
|
1487
|
-
|
|
1496
|
+
- [patch] Update docs, change dev deps
|
|
1497
|
+
[25d6e48](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d6e48)
|
|
1498
|
+
- [none] Updated dependencies
|
|
1499
|
+
[25d6e48](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d6e48)
|
|
1488
1500
|
|
|
1489
1501
|
## 14.0.2
|
|
1490
1502
|
|
|
1491
|
-
-
|
|
1492
|
-
|
|
1493
|
-
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1503
|
+
- [patch] Move analytics tests and replace elements to core
|
|
1504
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
1505
|
+
- [none] Updated dependencies
|
|
1506
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
1507
|
+
- @atlaskit/tooltip@12.0.1
|
|
1508
|
+
- @atlaskit/analytics-next@3.0.1
|
|
1509
|
+
- @atlaskit/toggle@5.0.1
|
|
1510
|
+
- @atlaskit/button@9.0.2
|
|
1511
|
+
- @atlaskit/docs@5.0.1
|
|
1500
1512
|
|
|
1501
1513
|
## 14.0.1
|
|
1502
1514
|
|
|
1503
|
-
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1515
|
+
- [patch] Updated dependencies
|
|
1516
|
+
[e6b1985](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e6b1985)
|
|
1517
|
+
- @atlaskit/tooltip@12.0.0
|
|
1518
|
+
- @atlaskit/icon@13.1.1
|
|
1507
1519
|
|
|
1508
1520
|
## 14.0.0
|
|
1509
1521
|
|
|
1510
|
-
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
-
|
|
1516
|
-
|
|
1517
|
-
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1522
|
+
- [major] Provides analytics for common component interations. See the
|
|
1523
|
+
[Instrumented Components](https://atlaskit.atlassian.com/packages/core/analytics-next) section for
|
|
1524
|
+
more details. If you are using enzyme for testing you will have to use
|
|
1525
|
+
[our forked version of the library](https://atlaskit.atlassian.com/docs/guides/testing#we-use-a-forked-version-of-enzyme).
|
|
1526
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
1527
|
+
- [major] Updates to React ^16.4.0
|
|
1528
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1529
|
+
- [major] Updated dependencies
|
|
1530
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
1531
|
+
- @atlaskit/tooltip@11.0.0
|
|
1532
|
+
- @atlaskit/field-base@11.0.0
|
|
1533
|
+
- @atlaskit/analytics-next@3.0.0
|
|
1534
|
+
- @atlaskit/toggle@5.0.0
|
|
1535
|
+
- @atlaskit/button@9.0.0
|
|
1536
|
+
- @atlaskit/theme@5.0.0
|
|
1537
|
+
- @atlaskit/docs@5.0.0
|
|
1538
|
+
- @atlaskit/icon@13.0.0
|
|
1539
|
+
- [major] Updated dependencies
|
|
1540
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1541
|
+
- @atlaskit/tooltip@11.0.0
|
|
1542
|
+
- @atlaskit/field-base@11.0.0
|
|
1543
|
+
- @atlaskit/analytics-next@3.0.0
|
|
1544
|
+
- @atlaskit/toggle@5.0.0
|
|
1545
|
+
- @atlaskit/button@9.0.0
|
|
1546
|
+
- @atlaskit/theme@5.0.0
|
|
1547
|
+
- @atlaskit/docs@5.0.0
|
|
1548
|
+
- @atlaskit/icon@13.0.0
|
|
1537
1549
|
|
|
1538
1550
|
## 13.0.0
|
|
1539
1551
|
|
|
1540
|
-
-
|
|
1541
|
-
|
|
1542
|
-
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1552
|
+
- [major] Remove unneeded componentType and functionType type exports
|
|
1553
|
+
[7724115](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7724115)
|
|
1554
|
+
- [none] Updated dependencies
|
|
1555
|
+
[da63331](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da63331)
|
|
1556
|
+
- @atlaskit/button@8.2.5
|
|
1557
|
+
- [none] Updated dependencies
|
|
1558
|
+
[7724115](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7724115)
|
|
1559
|
+
- @atlaskit/button@8.2.5
|
|
1548
1560
|
|
|
1549
1561
|
## 12.0.0
|
|
1550
1562
|
|
|
1551
|
-
-
|
|
1552
|
-
|
|
1553
|
-
-
|
|
1554
|
-
|
|
1563
|
+
- [major] Split avatar-group into its own package
|
|
1564
|
+
[8a01bcd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8a01bcd)
|
|
1565
|
+
- [none] Updated dependencies
|
|
1566
|
+
[8a01bcd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8a01bcd)
|
|
1555
1567
|
|
|
1556
1568
|
## 11.2.2
|
|
1557
1569
|
|
|
1558
|
-
-
|
|
1559
|
-
|
|
1560
|
-
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1570
|
+
- [patch] Remove or update \$FlowFixMe
|
|
1571
|
+
[e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
|
|
1572
|
+
- [none] Updated dependencies
|
|
1573
|
+
[e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
|
|
1574
|
+
- @atlaskit/button@8.2.4
|
|
1575
|
+
- @atlaskit/icon@12.6.1
|
|
1576
|
+
- @atlaskit/dropdown-menu@5.2.1
|
|
1565
1577
|
|
|
1566
1578
|
## 11.2.1
|
|
1567
1579
|
|
|
1568
|
-
-
|
|
1569
|
-
|
|
1570
|
-
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1580
|
+
- [patch] Fix \$FlowFixMe and release packages
|
|
1581
|
+
[25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
|
|
1582
|
+
- [none] Updated dependencies
|
|
1583
|
+
[25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
|
|
1584
|
+
- @atlaskit/tooltip@10.3.1
|
|
1585
|
+
- @atlaskit/button@8.2.2
|
|
1586
|
+
- @atlaskit/icon@12.3.1
|
|
1575
1587
|
|
|
1576
1588
|
## 11.2.0
|
|
1577
1589
|
|
|
1578
|
-
-
|
|
1579
|
-
|
|
1580
|
-
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1590
|
+
- [minor] Fixes types for Flow 0.74
|
|
1591
|
+
[dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
|
|
1592
|
+
- [none] Updated dependencies
|
|
1593
|
+
[dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
|
|
1594
|
+
- @atlaskit/tooltip@10.3.0
|
|
1595
|
+
- @atlaskit/button@8.2.0
|
|
1596
|
+
- @atlaskit/icon@12.2.0
|
|
1597
|
+
- @atlaskit/dropdown-menu@5.1.0
|
|
1586
1598
|
|
|
1587
1599
|
## 11.1.1
|
|
1588
1600
|
|
|
1589
|
-
-
|
|
1590
|
-
|
|
1591
|
-
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1601
|
+
- [patch] Update changelogs to remove duplicate
|
|
1602
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1603
|
+
- [none] Updated dependencies
|
|
1604
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1605
|
+
- @atlaskit/theme@4.0.3
|
|
1606
|
+
- @atlaskit/item@7.0.4
|
|
1607
|
+
- @atlaskit/icon@12.1.1
|
|
1608
|
+
- @atlaskit/field-base@10.1.1
|
|
1609
|
+
- @atlaskit/dropdown-menu@5.0.3
|
|
1610
|
+
- @atlaskit/button@8.1.1
|
|
1611
|
+
- @atlaskit/docs@4.1.1
|
|
1600
1612
|
|
|
1601
1613
|
## 11.1.0
|
|
1602
1614
|
|
|
1603
|
-
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1615
|
+
- [none] Updated dependencies
|
|
1616
|
+
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
1617
|
+
- @atlaskit/tooltip@10.2.0
|
|
1618
|
+
- @atlaskit/item@7.0.3
|
|
1619
|
+
- @atlaskit/dropdown-menu@5.0.2
|
|
1620
|
+
- @atlaskit/icon@12.1.0
|
|
1621
|
+
- @atlaskit/toggle@4.0.2
|
|
1622
|
+
- @atlaskit/docs@4.1.0
|
|
1623
|
+
- @atlaskit/theme@4.0.2
|
|
1624
|
+
- @atlaskit/field-base@10.1.0
|
|
1625
|
+
- @atlaskit/button@8.1.0
|
|
1614
1626
|
|
|
1615
1627
|
## 11.0.1
|
|
1616
1628
|
|
|
1617
|
-
-
|
|
1618
|
-
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
+
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1630
|
+
- [patch] Updated dependencies
|
|
1631
|
+
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1632
|
+
- @atlaskit/tooltip@10.0.1
|
|
1633
|
+
- @atlaskit/item@7.0.1
|
|
1634
|
+
- @atlaskit/icon@12.0.1
|
|
1635
|
+
- @atlaskit/toggle@4.0.1
|
|
1636
|
+
- @atlaskit/field-base@10.0.1
|
|
1637
|
+
- @atlaskit/button@8.0.1
|
|
1638
|
+
- @atlaskit/theme@4.0.1
|
|
1639
|
+
- @atlaskit/docs@4.0.1
|
|
1640
|
+
- @atlaskit/dropdown-menu@5.0.1
|
|
1629
1641
|
|
|
1630
1642
|
## 11.0.0
|
|
1631
1643
|
|
|
1632
|
-
-
|
|
1633
|
-
|
|
1634
|
-
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1644
|
+
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
|
|
1645
|
+
^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1646
|
+
- [patch] Updated dependencies
|
|
1647
|
+
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1648
|
+
- @atlaskit/tooltip@10.0.0
|
|
1649
|
+
- @atlaskit/item@7.0.0
|
|
1650
|
+
- @atlaskit/icon@12.0.0
|
|
1651
|
+
- @atlaskit/toggle@4.0.0
|
|
1652
|
+
- @atlaskit/field-base@10.0.0
|
|
1653
|
+
- @atlaskit/button@8.0.0
|
|
1654
|
+
- @atlaskit/theme@4.0.0
|
|
1655
|
+
- @atlaskit/docs@4.0.0
|
|
1656
|
+
- @atlaskit/dropdown-menu@5.0.0
|
|
1645
1657
|
|
|
1646
1658
|
## 10.0.7
|
|
1647
1659
|
|
|
1648
|
-
-
|
|
1649
|
-
|
|
1650
|
-
-
|
|
1651
|
-
|
|
1660
|
+
- [patch] Fix text color for items with href in AvatarGroup
|
|
1661
|
+
[2cbb9ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2cbb9ff)
|
|
1662
|
+
- [none] Updated dependencies
|
|
1663
|
+
[2cbb9ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2cbb9ff)
|
|
1652
1664
|
|
|
1653
1665
|
## 10.0.6
|
|
1654
1666
|
|
|
1655
|
-
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1667
|
+
- [patch] Updated dependencies
|
|
1668
|
+
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
1669
|
+
- @atlaskit/icon@11.3.0
|
|
1670
|
+
- @atlaskit/tooltip@9.2.1
|
|
1671
|
+
- @atlaskit/toggle@3.0.2
|
|
1672
|
+
- @atlaskit/item@6.0.3
|
|
1673
|
+
- @atlaskit/field-base@9.0.3
|
|
1674
|
+
- @atlaskit/dropdown-menu@4.0.3
|
|
1675
|
+
- @atlaskit/button@7.2.5
|
|
1676
|
+
- @atlaskit/theme@3.2.2
|
|
1677
|
+
- @atlaskit/docs@3.0.4
|
|
1666
1678
|
|
|
1667
1679
|
## 10.0.4
|
|
1668
1680
|
|
|
1669
|
-
-
|
|
1670
|
-
|
|
1681
|
+
- [patch] Fix clipping of dropdown items in avatar group for certain browsers
|
|
1682
|
+
[7b82fa6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7b82fa6)
|
|
1671
1683
|
|
|
1672
1684
|
## 10.0.3
|
|
1673
1685
|
|
|
1674
|
-
-
|
|
1675
|
-
|
|
1686
|
+
- [patch] Fix avatars appearing clickable when no onClick or href prop is provided
|
|
1687
|
+
[e6fec4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e6fec4f)
|
|
1676
1688
|
|
|
1677
1689
|
## 10.0.2
|
|
1678
1690
|
|
|
1679
|
-
-
|
|
1680
|
-
|
|
1691
|
+
- [patch] Fix native tooltips appearing for avatars without a src prop
|
|
1692
|
+
[6a3fb67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a3fb67)
|
|
1681
1693
|
|
|
1682
1694
|
## 10.0.0
|
|
1683
1695
|
|
|
1684
|
-
-
|
|
1685
|
-
|
|
1696
|
+
- [major] Bump to React 16.3.
|
|
1697
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1686
1698
|
|
|
1687
1699
|
## 9.2.3
|
|
1688
1700
|
|
|
1689
|
-
-
|
|
1690
|
-
|
|
1691
|
-
-
|
|
1692
|
-
|
|
1701
|
+
- [patch] Remove dependency on @atlaskit/polyfill as it is not being used.
|
|
1702
|
+
[f0f9307](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f0f9307)
|
|
1703
|
+
- [patch] Add "sideEffects: false" to AKM2 packages to allow consumer's to tree-shake
|
|
1704
|
+
[c3b018a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3b018a)
|
|
1693
1705
|
|
|
1694
1706
|
## 9.2.2
|
|
1695
1707
|
|
|
1696
|
-
-
|
|
1697
|
-
|
|
1708
|
+
- [patch] Makes packages Flow types compatible with version 0.67
|
|
1709
|
+
[25daac0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25daac0)
|
|
1698
1710
|
|
|
1699
1711
|
## 9.2.1
|
|
1700
1712
|
|
|
1701
|
-
-
|
|
1702
|
-
|
|
1713
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1714
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1703
1715
|
|
|
1704
1716
|
## 9.2.0
|
|
1705
1717
|
|
|
1706
|
-
-
|
|
1707
|
-
|
|
1718
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
1719
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1708
1720
|
|
|
1709
1721
|
## 9.1.0
|
|
1710
1722
|
|
|
1711
|
-
-
|
|
1712
|
-
|
|
1723
|
+
- [minor] Create skeleton representations of various components
|
|
1724
|
+
[cd628e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cd628e4)
|
|
1713
1725
|
|
|
1714
1726
|
## 9.0.4
|
|
1715
1727
|
|
|
1716
|
-
-
|
|
1717
|
-
|
|
1728
|
+
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
|
|
1729
|
+
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
|
|
1718
1730
|
|
|
1719
1731
|
## 9.0.2
|
|
1720
1732
|
|
|
1721
|
-
-
|
|
1722
|
-
|
|
1733
|
+
- [patch] Remove babel-plugin-react-flow-props-to-prop-types
|
|
1734
|
+
[06c1f08](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c1f08)
|
|
1723
1735
|
|
|
1724
1736
|
## 9.0.1
|
|
1725
1737
|
|
|
1726
|
-
-
|
|
1727
|
-
|
|
1738
|
+
- [patch] Packages Flow types for elements components
|
|
1739
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1728
1740
|
|
|
1729
1741
|
## 9.0.0
|
|
1730
1742
|
|
|
1731
|
-
-
|
|
1732
|
-
|
|
1733
|
-
[23a488e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/23a488e)
|
|
1743
|
+
- [major] onAvatarClick prop on AvatarGroup now has a second argument. This second argument is the
|
|
1744
|
+
item that was clicked on. [23a488e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/23a488e)
|
|
1734
1745
|
|
|
1735
1746
|
## 8.4.1
|
|
1736
1747
|
|
|
1737
|
-
-
|
|
1738
|
-
|
|
1748
|
+
- [patch] Migrate Navigation from Ak repo to ak mk 2 repo, Fixed flow typing inconsistencies in ak
|
|
1749
|
+
mk 2 [bdeef5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bdeef5b)
|
|
1739
1750
|
|
|
1740
1751
|
## 8.4.0
|
|
1741
1752
|
|
|
1742
|
-
-
|
|
1743
|
-
|
|
1753
|
+
- [minor] Add React 16 support.
|
|
1754
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
1744
1755
|
|
|
1745
1756
|
## 8.3.10
|
|
1746
1757
|
|
|
1747
|
-
-
|
|
1748
|
-
|
|
1749
|
-
-
|
|
1750
|
-
|
|
1758
|
+
- [patch] update flow dep, fix flow errors
|
|
1759
|
+
[722ad83](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/722ad83)
|
|
1760
|
+
- [patch] update flow dep, fix flow errors
|
|
1761
|
+
[722ad83](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/722ad83)
|
|
1751
1762
|
|
|
1752
1763
|
## 8.3.6
|
|
1753
1764
|
|
|
1754
|
-
-
|
|
1755
|
-
|
|
1765
|
+
- [patch] migrating avatar package to new repo
|
|
1766
|
+
[f3f5e51](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f3f5e51)
|
|
1756
1767
|
|
|
1757
1768
|
## 8.3.5 (2017-11-30)
|
|
1758
1769
|
|
|
1759
|
-
-
|
|
1760
|
-
|
|
1770
|
+
- bug fix; release stories with fixed console errors
|
|
1771
|
+
([3321c2b](https://bitbucket.org/atlassian/atlaskit/commits/3321c2b))
|
|
1761
1772
|
|
|
1762
1773
|
## 8.3.4 (2017-11-28)
|
|
1763
1774
|
|
|
1764
|
-
-
|
|
1765
|
-
|
|
1775
|
+
- bug fix; fix avatar group having less width than its children (issues closed: ak-3872)
|
|
1776
|
+
([e88ee42](https://bitbucket.org/atlassian/atlaskit/commits/e88ee42))
|
|
1766
1777
|
|
|
1767
1778
|
## 8.3.3 (2017-11-23)
|
|
1768
1779
|
|
|
1769
|
-
-
|
|
1770
|
-
|
|
1780
|
+
- bug fix; fix avatar group's more items dropdown not being tabbable (issues closed: ak-3707)
|
|
1781
|
+
([a0ee45d](https://bitbucket.org/atlassian/atlaskit/commits/a0ee45d))
|
|
1771
1782
|
|
|
1772
1783
|
## 8.3.2 (2017-11-20)
|
|
1773
1784
|
|
|
1774
|
-
-
|
|
1775
|
-
|
|
1785
|
+
- bug fix; fS-3907 Use Tooltip component in Avatar
|
|
1786
|
+
([2126336](https://bitbucket.org/atlassian/atlaskit/commits/2126336))
|
|
1776
1787
|
|
|
1777
1788
|
## 8.3.1 (2017-11-16)
|
|
1778
1789
|
|
|
1779
|
-
-
|
|
1780
|
-
|
|
1790
|
+
- bug fix; avatar flex styles are now explicit to fix Firefox issue (issues closed: ak-3898)
|
|
1791
|
+
([73ac57d](https://bitbucket.org/atlassian/atlaskit/commits/73ac57d))
|
|
1781
1792
|
|
|
1782
1793
|
## 8.3.0 (2017-11-16)
|
|
1783
1794
|
|
|
1784
|
-
-
|
|
1785
|
-
|
|
1795
|
+
- feature; added a new prop background in AvatarItem to have custom background (issues closed:
|
|
1796
|
+
ak-3706) ([e93888c](https://bitbucket.org/atlassian/atlaskit/commits/e93888c))
|
|
1786
1797
|
|
|
1787
1798
|
## 8.2.4 (2017-11-15)
|
|
1788
1799
|
|
|
1789
|
-
-
|
|
1790
|
-
|
|
1800
|
+
- bug fix; fix incorrect border radius on Avatars (issues closed: ak-3897)
|
|
1801
|
+
([6570495](https://bitbucket.org/atlassian/atlaskit/commits/6570495))
|
|
1791
1802
|
|
|
1792
1803
|
## 8.2.3 (2017-11-15)
|
|
1793
1804
|
|
|
1794
|
-
-
|
|
1795
|
-
|
|
1805
|
+
- bug fix; explicitly disable tooltip on avatar when rendered in a group dropdown
|
|
1806
|
+
([593f2e9](https://bitbucket.org/atlassian/atlaskit/commits/593f2e9))
|
|
1796
1807
|
|
|
1797
1808
|
## 8.2.2 (2017-11-15)
|
|
1798
1809
|
|
|
1799
|
-
-
|
|
1800
|
-
|
|
1810
|
+
- bug fix; improve avatar perf by caching styled components (issues closed: ak-3699)
|
|
1811
|
+
([0e6fa65](https://bitbucket.org/atlassian/atlaskit/commits/0e6fa65))
|
|
1801
1812
|
|
|
1802
1813
|
## 8.2.1 (2017-11-14)
|
|
1803
1814
|
|
|
1804
|
-
-
|
|
1805
|
-
|
|
1815
|
+
- bug fix; add additional link target options (issues closed: ak-3886)
|
|
1816
|
+
([a932aa8](https://bitbucket.org/atlassian/atlaskit/commits/a932aa8))
|
|
1806
1817
|
|
|
1807
1818
|
## 8.2.0 (2017-11-14)
|
|
1808
1819
|
|
|
1809
|
-
-
|
|
1810
|
-
|
|
1820
|
+
- feature; aK-3883 Expose boundariesElement property on AvatarGroup component
|
|
1821
|
+
([78001fd](https://bitbucket.org/atlassian/atlaskit/commits/78001fd))
|
|
1811
1822
|
|
|
1812
1823
|
## 8.1.0 (2017-11-13)
|
|
1813
1824
|
|
|
1814
|
-
-
|
|
1815
|
-
|
|
1816
|
-
-
|
|
1817
|
-
|
|
1825
|
+
- feature; add support for focus presence type (issues closed: ak-3758)
|
|
1826
|
+
([06b6da3](https://bitbucket.org/atlassian/atlaskit/commits/06b6da3))
|
|
1827
|
+
- bug fix; AvatarGroup more indicator fixed in Firefox (issues closed: ak-3791)
|
|
1828
|
+
([6c9464e](https://bitbucket.org/atlassian/atlaskit/commits/6c9464e))
|
|
1818
1829
|
|
|
1819
1830
|
## 8.0.11 (2017-11-02)
|
|
1820
1831
|
|
|
1821
|
-
-
|
|
1822
|
-
|
|
1832
|
+
- bug fix; added missing dependencies (issues closed: ak-3782)
|
|
1833
|
+
([4dbc3ef](https://bitbucket.org/atlassian/atlaskit/commits/4dbc3ef))
|
|
1823
1834
|
|
|
1824
1835
|
## 8.0.10 (2017-10-26)
|
|
1825
1836
|
|
|
1826
|
-
-
|
|
1827
|
-
|
|
1837
|
+
- bug fix; fix to rebuild stories
|
|
1838
|
+
([793b2a7](https://bitbucket.org/atlassian/atlaskit/commits/793b2a7))
|
|
1828
1839
|
|
|
1829
1840
|
## 8.0.9 (2017-10-22)
|
|
1830
1841
|
|
|
1831
|
-
-
|
|
1832
|
-
|
|
1842
|
+
- bug fix; update dependencies for react-16
|
|
1843
|
+
([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
|
|
1833
1844
|
|
|
1834
1845
|
## 8.0.8 (2017-10-15)
|
|
1835
1846
|
|
|
1836
|
-
-
|
|
1837
|
-
|
|
1847
|
+
- bug fix; fix borked styles caused by missing semicolons in CSS (issues closed: ak-3694)
|
|
1848
|
+
([07e0c54](https://bitbucket.org/atlassian/atlaskit/commits/07e0c54))
|
|
1838
1849
|
|
|
1839
1850
|
## 8.0.7 (2017-10-13)
|
|
1840
1851
|
|
|
1841
|
-
-
|
|
1842
|
-
|
|
1852
|
+
- bug fix; add polyfill from AK polyfills package (issues closed: ak-3667)
|
|
1853
|
+
([a841e6d](https://bitbucket.org/atlassian/atlaskit/commits/a841e6d))
|
|
1843
1854
|
|
|
1844
1855
|
## 8.0.6 (2017-10-09)
|
|
1845
1856
|
|
|
1846
|
-
-
|
|
1847
|
-
|
|
1857
|
+
- bug fix; remove the console error Invalid prop types for border
|
|
1858
|
+
([de45a14](https://bitbucket.org/atlassian/atlaskit/commits/de45a14))
|
|
1848
1859
|
|
|
1849
1860
|
## 8.0.5 (2017-09-18)
|
|
1850
1861
|
|
|
1851
|
-
-
|
|
1852
|
-
|
|
1862
|
+
- bug fix; fix avatar isInteractive style
|
|
1863
|
+
([1296049](https://bitbucket.org/atlassian/atlaskit/commits/1296049))
|
|
1853
1864
|
|
|
1854
1865
|
## 8.0.4 (2017-09-12)
|
|
1855
1866
|
|
|
1856
|
-
-
|
|
1857
|
-
|
|
1867
|
+
- bug fix; avatars now display in Firefox when used in an Avatar Group
|
|
1868
|
+
([1db854f](https://bitbucket.org/atlassian/atlaskit/commits/1db854f))
|
|
1858
1869
|
|
|
1859
1870
|
## 8.0.3 (2017-09-11)
|
|
1860
1871
|
|
|
1861
|
-
-
|
|
1862
|
-
|
|
1872
|
+
- bug fix; limit avatar + more count to maxCount size (issues closed: ak-3472)
|
|
1873
|
+
([3516192](https://bitbucket.org/atlassian/atlaskit/commits/3516192))
|
|
1863
1874
|
|
|
1864
1875
|
## 8.0.1 (2017-09-05)
|
|
1865
1876
|
|
|
1866
|
-
-
|
|
1867
|
-
|
|
1877
|
+
- bug fix; update dark theme color palette (issues closed: ak-3172)
|
|
1878
|
+
([d23e55f](https://bitbucket.org/atlassian/atlaskit/commits/d23e55f))
|
|
1868
1879
|
|
|
1869
1880
|
## 8.0.0 (2017-08-11)
|
|
1870
1881
|
|
|
1871
|
-
-
|
|
1872
|
-
|
|
1873
|
-
-
|
|
1874
|
-
|
|
1875
|
-
-
|
|
1876
|
-
|
|
1877
|
-
-
|
|
1878
|
-
|
|
1882
|
+
- bug fix; fix the theme-dependency
|
|
1883
|
+
([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
|
|
1884
|
+
- breaking; affects internal styled-components implementation
|
|
1885
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1886
|
+
- breaking; implement dark mode theme
|
|
1887
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1888
|
+
- feature; dark mode for avatar
|
|
1889
|
+
([3eb7531](https://bitbucket.org/atlassian/atlaskit/commits/3eb7531))
|
|
1879
1890
|
|
|
1880
1891
|
## 7.0.0 (2017-08-11)
|
|
1881
1892
|
|
|
1882
|
-
-
|
|
1883
|
-
|
|
1884
|
-
-
|
|
1885
|
-
|
|
1886
|
-
-
|
|
1887
|
-
|
|
1893
|
+
- breaking; affects internal styled-components implementation
|
|
1894
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1895
|
+
- breaking; implement dark mode theme
|
|
1896
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1897
|
+
- feature; dark mode for avatar
|
|
1898
|
+
([3eb7531](https://bitbucket.org/atlassian/atlaskit/commits/3eb7531))
|
|
1888
1899
|
|
|
1889
1900
|
## 6.4.5 (2017-08-04)
|
|
1890
1901
|
|
|
1891
|
-
-
|
|
1892
|
-
|
|
1902
|
+
- bug fix; moves babel-plugin-react-flow-props-to-prop-types to a devDependency
|
|
1903
|
+
([6378b88](https://bitbucket.org/atlassian/atlaskit/commits/6378b88))
|
|
1893
1904
|
|
|
1894
1905
|
## 6.4.4 (2017-08-03)
|
|
1895
1906
|
|
|
1896
|
-
-
|
|
1897
|
-
|
|
1907
|
+
- bug fix; fixes uncaught type error in avatar by consuming latest util-shared-styles (issues
|
|
1908
|
+
closed: ak-3067) ([be705fa](https://bitbucket.org/atlassian/atlaskit/commits/be705fa))
|
|
1898
1909
|
|
|
1899
1910
|
## 6.4.3 (2017-07-28)
|
|
1900
1911
|
|
|
1901
|
-
-
|
|
1902
|
-
|
|
1912
|
+
- fix; fixes avatars devDeps to include lozenge and button-group
|
|
1913
|
+
([d9ae05f](https://bitbucket.org/atlassian/atlaskit/commits/d9ae05f))
|
|
1903
1914
|
|
|
1904
1915
|
## 6.4.2 (2017-07-27)
|
|
1905
1916
|
|
|
1906
|
-
-
|
|
1907
|
-
|
|
1917
|
+
- fix; rename jsnext:main to jsnext:experimental:main temporarily
|
|
1918
|
+
([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
|
|
1908
1919
|
|
|
1909
1920
|
## 6.4.1 (2017-07-25)
|
|
1910
1921
|
|
|
1911
|
-
-
|
|
1912
|
-
|
|
1922
|
+
- fix; use class transform in loose mode in babel to improve load performance in apps
|
|
1923
|
+
([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
|
|
1913
1924
|
|
|
1914
1925
|
## 6.1.0 (2017-07-17)
|
|
1915
1926
|
|
|
1916
|
-
-
|
|
1917
|
-
|
|
1918
|
-
-
|
|
1919
|
-
|
|
1927
|
+
- fix; rerelease, failed prepublish scripts
|
|
1928
|
+
([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
|
|
1929
|
+
- feature; added ES module builds to dist and add jsnext:main to most ADG packages
|
|
1930
|
+
([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
|
|
1920
1931
|
|
|
1921
1932
|
## 5.0.0 (2017-07-12)
|
|
1922
1933
|
|
|
1923
|
-
-
|
|
1924
|
-
|
|
1925
|
-
-
|
|
1926
|
-
|
|
1927
|
-
-
|
|
1928
|
-
|
|
1929
|
-
-
|
|
1930
|
-
|
|
1931
|
-
-
|
|
1932
|
-
|
|
1933
|
-
-
|
|
1934
|
-
|
|
1935
|
-
-
|
|
1936
|
-
|
|
1937
|
-
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
-
|
|
1941
|
-
-
|
|
1942
|
-
-
|
|
1934
|
+
- feature; added the xxlarge size to Avatar
|
|
1935
|
+
([5cfbfb5](https://bitbucket.org/atlassian/atlaskit/commits/5cfbfb5))
|
|
1936
|
+
- feature; adds AvatarGroup export with 'stack' and 'grid' appearances
|
|
1937
|
+
([59dac0c](https://bitbucket.org/atlassian/atlaskit/commits/59dac0c))
|
|
1938
|
+
- feature; adds AvatarItem named export to Avatar
|
|
1939
|
+
([9939bfd](https://bitbucket.org/atlassian/atlaskit/commits/9939bfd))
|
|
1940
|
+
- feature; adds name prop to Avatar (replaces label)
|
|
1941
|
+
([5cfe547](https://bitbucket.org/atlassian/atlaskit/commits/5cfe547))
|
|
1942
|
+
- feature; adds tooltips for Avatars
|
|
1943
|
+
([816402a](https://bitbucket.org/atlassian/atlaskit/commits/816402a))
|
|
1944
|
+
- feature; avatar how handles href, onClick and arbitrary \`component\` prop functionality
|
|
1945
|
+
([763e00c](https://bitbucket.org/atlassian/atlaskit/commits/763e00c))
|
|
1946
|
+
- feature; presence prop now accepts a react element in addition to its enumerable values (rep
|
|
1947
|
+
([dfcc3f7](https://bitbucket.org/atlassian/atlaskit/commits/dfcc3f7))
|
|
1948
|
+
- feature; replaced presenceBorderColor prop with \`borderColor\`
|
|
1949
|
+
([0e4c171](https://bitbucket.org/atlassian/atlaskit/commits/0e4c171))
|
|
1950
|
+
|
|
1951
|
+
- breaking; Removed presenceBorderColor prop (replaced with \`borderColor\`)
|
|
1952
|
+
- breaking; \`icon\` prop has been replaced with a more accepting \`presence\` prop
|
|
1953
|
+
- breaking; Label prop has been replaced with \`name\`
|
|
1943
1954
|
|
|
1944
1955
|
## 4.0.6 (2017-06-27)
|
|
1945
1956
|
|
|
1946
|
-
-
|
|
1947
|
-
|
|
1957
|
+
- fix; when src is removed after mount show default image
|
|
1958
|
+
([d3e9e2a](https://bitbucket.org/atlassian/atlaskit/commits/d3e9e2a))
|
|
1948
1959
|
|
|
1949
1960
|
## 4.0.4 (2017-05-26)
|
|
1950
1961
|
|
|
1951
|
-
-
|
|
1952
|
-
|
|
1953
|
-
-
|
|
1954
|
-
|
|
1962
|
+
- fix; change align-items: middle to align-items: center
|
|
1963
|
+
([8740b22](https://bitbucket.org/atlassian/atlaskit/commits/8740b22))
|
|
1964
|
+
- fix; add prop-types as a dependency to avoid React 15.x warnings
|
|
1965
|
+
([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
|
|
1955
1966
|
|
|
1956
1967
|
## 4.0.3 (2017-05-23)
|
|
1957
1968
|
|
|
1958
|
-
-
|
|
1959
|
-
|
|
1969
|
+
- fix; update util-shared-styles and util-readme dependencies
|
|
1970
|
+
([9c0e218](https://bitbucket.org/atlassian/atlaskit/commits/9c0e218))
|
|
1960
1971
|
|
|
1961
1972
|
## 4.0.2 (2017-05-11)
|
|
1962
1973
|
|
|
1963
|
-
-
|
|
1964
|
-
|
|
1974
|
+
- fix; load avatar from src prop correctly
|
|
1975
|
+
([d94798e](https://bitbucket.org/atlassian/atlaskit/commits/d94798e))
|
|
1965
1976
|
|
|
1966
1977
|
## 4.0.1 (2017-05-10)
|
|
1967
1978
|
|
|
1968
|
-
-
|
|
1969
|
-
|
|
1979
|
+
- fix; testing releasing more than 5 packages at a time
|
|
1980
|
+
([e69b832](https://bitbucket.org/atlassian/atlaskit/commits/e69b832))
|
|
1970
1981
|
|
|
1971
1982
|
## 4.0.0 (2017-05-03)
|
|
1972
1983
|
|
|
1973
|
-
-
|
|
1974
|
-
|
|
1975
|
-
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
-
|
|
1984
|
+
- feature; optional square avatar appearance
|
|
1985
|
+
([c43c905](https://bitbucket.org/atlassian/atlaskit/commits/c43c905))
|
|
1986
|
+
- breaking; Previously you could pass a custom Presence to an Avatar via the Avatar's children. Now,
|
|
1987
|
+
these custom Presence or icon elements should be passed to the new 'icon' prop. This change has
|
|
1988
|
+
been made to avoid overloading the concept of Presence and to make the API clearer.
|
|
1989
|
+
- ISSUES CLOSED: AK-1645
|
|
1979
1990
|
|
|
1980
1991
|
## 3.0.3 (2017-04-27)
|
|
1981
1992
|
|
|
1982
|
-
-
|
|
1983
|
-
|
|
1984
|
-
-
|
|
1985
|
-
|
|
1993
|
+
- fix; isolate getPresenceSVG in its own module so we only export a single React Component
|
|
1994
|
+
([ca8e14b](https://bitbucket.org/atlassian/atlaskit/commits/ca8e14b))
|
|
1995
|
+
- fix; remove unused constants.js, import correctly from Avatar component for tests
|
|
1996
|
+
([fcaccb9](https://bitbucket.org/atlassian/atlaskit/commits/fcaccb9))
|
|
1986
1997
|
|
|
1987
1998
|
## 3.0.2 (2017-04-27)
|
|
1988
1999
|
|
|
1989
|
-
-
|
|
1990
|
-
|
|
2000
|
+
- fix; update legal copy to be more clear. Not all modules include ADG license.
|
|
2001
|
+
([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
|
|
1991
2002
|
|
|
1992
2003
|
## 3.0.1 (2017-04-26)
|
|
1993
2004
|
|
|
1994
|
-
-
|
|
1995
|
-
|
|
2005
|
+
- fix; update legal copy and fix broken links for component README on npm. New contribution and
|
|
2006
|
+
([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
|
|
1996
2007
|
|
|
1997
2008
|
## 3.0.0 (2017-04-13)
|
|
1998
2009
|
|
|
1999
|
-
-
|
|
2000
|
-
|
|
2001
|
-
-
|
|
2002
|
-
-
|
|
2010
|
+
- null refactor avatar to styled-components
|
|
2011
|
+
([21a371c](https://bitbucket.org/atlassian/atlaskit/commits/21a371c))
|
|
2012
|
+
- breaking; added peerDependency "styled-components", removed dependency "classnames"
|
|
2013
|
+
- ISSUES CLOSED: AK-2099
|
|
2003
2014
|
|
|
2004
2015
|
## 2.1.5 (2017-04-04)
|
|
2005
2016
|
|
|
2006
|
-
-
|
|
2007
|
-
|
|
2017
|
+
- fix; fixes avatar to be able to be tested using mocha and jsdom
|
|
2018
|
+
([7a0f9fb](https://bitbucket.org/atlassian/atlaskit/commits/7a0f9fb))
|
|
2008
2019
|
|
|
2009
2020
|
## 2.1.4 (2017-03-23)
|
|
2010
2021
|
|
|
2011
|
-
-
|
|
2012
|
-
|
|
2022
|
+
- fix; Empty commit to release the component
|
|
2023
|
+
([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
|
|
2013
2024
|
|
|
2014
2025
|
## 2.1.2 (2017-03-21)
|
|
2015
2026
|
|
|
2016
|
-
-
|
|
2017
|
-
|
|
2027
|
+
- fix; maintainers for all the packages were added
|
|
2028
|
+
([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
|
|
2018
2029
|
|
|
2019
2030
|
## 2.1.0 (2017-03-06)
|
|
2020
2031
|
|
|
2021
|
-
-
|
|
2022
|
-
|
|
2032
|
+
- feature; adds 'xsmall' size to avatar appearance (16px)
|
|
2033
|
+
([d8da663](https://bitbucket.org/atlassian/atlaskit/commits/d8da663))
|
|
2023
2034
|
|
|
2024
2035
|
## 2.0.2 (2017-02-16)
|
|
2025
2036
|
|
|
2026
|
-
-
|
|
2027
|
-
|
|
2037
|
+
- fix; refactor stories to use // rather than http://
|
|
2038
|
+
([a0826cf](https://bitbucket.org/atlassian/atlaskit/commits/a0826cf))
|
|
2028
2039
|
|
|
2029
2040
|
## 2.0.1 (2017-02-10)
|
|
2030
2041
|
|
|
2031
|
-
-
|
|
2032
|
-
|
|
2042
|
+
- fix; Dummy commit to release components to registry
|
|
2043
|
+
([5bac43b](https://bitbucket.org/atlassian/atlaskit/commits/5bac43b))
|