@atlaskit/button 17.14.0 → 17.14.2
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 +1264 -721
- package/dist/cjs/old-button/shared/button-base.js +1 -1
- package/dist/es2019/new-button/variants/default/button.js +2 -2
- package/dist/es2019/new-button/variants/icon/button.js +3 -3
- package/dist/es2019/old-button/shared/button-base.js +1 -1
- package/dist/esm/new-button/variants/default/button.js +2 -2
- package/dist/esm/new-button/variants/icon/button.js +3 -3
- package/dist/esm/old-button/shared/button-base.js +1 -1
- package/package.json +10 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,164 +1,248 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 17.14.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 17.14.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316)
|
|
14
|
+
[`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) -
|
|
15
|
+
Upgrading internal dependency `bind-event-listener` to `@^3.0.0`
|
|
16
|
+
- [#93980](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93980)
|
|
17
|
+
[`0437b8b3c791`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0437b8b3c791) -
|
|
18
|
+
Updated imports of `UNSAFE_PRESSABLE` primitive to new `Pressable` export
|
|
19
|
+
|
|
3
20
|
## 17.14.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
6
23
|
|
|
7
|
-
-
|
|
24
|
+
- [#91634](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91634)
|
|
25
|
+
[`f38506801b8f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f38506801b8f) -
|
|
26
|
+
Added a purple `discovery` appearance to new Buttons to be used to communicate change or new
|
|
27
|
+
features.
|
|
8
28
|
|
|
9
29
|
### Patch Changes
|
|
10
30
|
|
|
11
|
-
-
|
|
31
|
+
- Updated dependencies
|
|
12
32
|
|
|
13
33
|
## 17.13.0
|
|
14
34
|
|
|
15
35
|
### Minor Changes
|
|
16
36
|
|
|
17
|
-
-
|
|
37
|
+
- [#92980](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92980)
|
|
38
|
+
[`612718d81d68`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/612718d81d68) -
|
|
39
|
+
Prevent new buttons from shrinking inside flex containers
|
|
18
40
|
|
|
19
41
|
## 17.12.2
|
|
20
42
|
|
|
21
43
|
### Patch Changes
|
|
22
44
|
|
|
23
|
-
-
|
|
45
|
+
- [#91492](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91492)
|
|
46
|
+
[`0af5682714ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0af5682714ea) -
|
|
47
|
+
Refactors internal styling logic of the new button to align to our upcoming styling standards.
|
|
24
48
|
|
|
25
49
|
## 17.12.1
|
|
26
50
|
|
|
27
51
|
### Patch Changes
|
|
28
52
|
|
|
29
|
-
-
|
|
53
|
+
- [#90619](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90619)
|
|
54
|
+
[`acbd9680ed68`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/acbd9680ed68) -
|
|
55
|
+
Replaces internal ref merge with one from our util set
|
|
30
56
|
|
|
31
57
|
## 17.12.0
|
|
32
58
|
|
|
33
59
|
### Minor Changes
|
|
34
60
|
|
|
35
|
-
-
|
|
61
|
+
- [#89657](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89657)
|
|
62
|
+
[`aa76565f1f5b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/aa76565f1f5b) -
|
|
63
|
+
New buttons now accept render props for icon properties. This can be useful when setting props
|
|
64
|
+
on icons directly.
|
|
36
65
|
|
|
37
66
|
## 17.11.0
|
|
38
67
|
|
|
39
68
|
### Minor Changes
|
|
40
69
|
|
|
41
|
-
-
|
|
70
|
+
- [#85696](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85696)
|
|
71
|
+
[`3f4e688ce636`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f4e688ce636) -
|
|
72
|
+
Tooltips are now included within icon buttons. They are disabled by default. To enable set
|
|
73
|
+
`isTooltipDisabled` to false.
|
|
42
74
|
|
|
43
75
|
## 17.10.0
|
|
44
76
|
|
|
45
77
|
### Minor Changes
|
|
46
78
|
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
79
|
+
- [#88036](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88036)
|
|
80
|
+
[`c1d62ce0679e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c1d62ce0679e) - -
|
|
81
|
+
Fixed a bug in new loading buttons where the spinner color was incorrect in selected state.
|
|
82
|
+
- Fixed a bug where the `isLoading` prop on new buttons was mistakenly added to unsupported
|
|
83
|
+
link buttons.
|
|
84
|
+
- New loading buttons now display a loading cursor (`cursor: progress`), rather than a
|
|
85
|
+
disabled cursor (`cursor: not-allowed`).
|
|
50
86
|
|
|
51
87
|
### Patch Changes
|
|
52
88
|
|
|
53
|
-
-
|
|
89
|
+
- [#87335](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87335)
|
|
90
|
+
[`4bb74bb023d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4bb74bb023d4) -
|
|
91
|
+
Added explicit `text-decoration` styles to new button focus states. This ensures button styles
|
|
92
|
+
are not interfered with by global styles.
|
|
54
93
|
|
|
55
94
|
## 17.9.0
|
|
56
95
|
|
|
57
96
|
### Minor Changes
|
|
58
97
|
|
|
59
|
-
-
|
|
98
|
+
- [#87334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87334)
|
|
99
|
+
[`b779928f2d49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b779928f2d49) -
|
|
100
|
+
[ux] New buttons now have hovered and pressed interaction states when they are selected
|
|
101
|
+
(`isSelected`)
|
|
60
102
|
|
|
61
103
|
## 17.8.0
|
|
62
104
|
|
|
63
105
|
### Minor Changes
|
|
64
106
|
|
|
65
|
-
-
|
|
107
|
+
- [#85228](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85228)
|
|
108
|
+
[`9564de632638`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9564de632638) -
|
|
109
|
+
Introduces isLoading prop to the new Button and IconButton components. When set to true a
|
|
110
|
+
traditional loading spinner will be shown.
|
|
66
111
|
|
|
67
112
|
## 17.7.2
|
|
68
113
|
|
|
69
114
|
### Patch Changes
|
|
70
115
|
|
|
71
|
-
-
|
|
116
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
117
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
118
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
72
119
|
|
|
73
120
|
## 17.7.1
|
|
74
121
|
|
|
75
122
|
### Patch Changes
|
|
76
123
|
|
|
77
|
-
-
|
|
124
|
+
- Updated dependencies
|
|
78
125
|
|
|
79
126
|
## 17.7.0
|
|
80
127
|
|
|
81
128
|
### Minor Changes
|
|
82
129
|
|
|
83
|
-
-
|
|
130
|
+
- [#73843](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73843)
|
|
131
|
+
[`9a090e6e7733`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9a090e6e7733) -
|
|
132
|
+
The new icon button incorrectly supported `spacing="none"`. This release removes support for
|
|
133
|
+
this, leaving `"default"` and `"compact"` as the only two options.
|
|
84
134
|
|
|
85
|
-
|
|
135
|
+
The icon button docs have also been updated to better reflect the intended use of the `label`
|
|
136
|
+
prop instead of `aria-label`. The `label` prop is designed to abstract the technical
|
|
137
|
+
implementation for accessibility requirements. The new icon button does not use the `aria-label`
|
|
138
|
+
attribute under the hood, rather it relys on visually hidden text instead. This is done for
|
|
139
|
+
accessibility reasons as `aria-label` is not always translated whereas visually hidden text will
|
|
140
|
+
be.
|
|
86
141
|
|
|
87
142
|
## 17.6.2
|
|
88
143
|
|
|
89
144
|
### Patch Changes
|
|
90
145
|
|
|
91
|
-
-
|
|
146
|
+
- [#77547](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77547)
|
|
147
|
+
[`cce378569da1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cce378569da1) -
|
|
148
|
+
Migration documentation for changing from old to new button components. Documentation-only
|
|
149
|
+
change.
|
|
92
150
|
|
|
93
151
|
## 17.6.1
|
|
94
152
|
|
|
95
153
|
### Patch Changes
|
|
96
154
|
|
|
97
|
-
-
|
|
155
|
+
- Updated dependencies
|
|
98
156
|
|
|
99
157
|
## 17.6.0
|
|
100
158
|
|
|
101
159
|
### Minor Changes
|
|
102
160
|
|
|
103
|
-
-
|
|
161
|
+
- [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240)
|
|
162
|
+
[`75b2ade8b254`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/75b2ade8b254) -
|
|
163
|
+
New buttons no longer directly emit analytics tracking events to prevent duplicate events, as
|
|
164
|
+
the underlying primitive components already have tracking. Any analytics context set on new
|
|
165
|
+
buttons are retained through forwarding to the primitives
|
|
104
166
|
|
|
105
167
|
### Patch Changes
|
|
106
168
|
|
|
107
|
-
-
|
|
169
|
+
- Updated dependencies
|
|
108
170
|
|
|
109
171
|
## 17.5.0
|
|
110
172
|
|
|
111
173
|
### Minor Changes
|
|
112
174
|
|
|
113
|
-
-
|
|
175
|
+
- [#75714](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75714)
|
|
176
|
+
[`ba18e89df3d9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ba18e89df3d9) -
|
|
177
|
+
Icon buttons no longer accept `aria-label` attributes to prevent possible duplicate labels being
|
|
178
|
+
applied (the dedicated `label` prop handles this)
|
|
114
179
|
|
|
115
180
|
## 17.4.0
|
|
116
181
|
|
|
117
182
|
### Minor Changes
|
|
118
183
|
|
|
119
|
-
-
|
|
184
|
+
- [#72130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72130)
|
|
185
|
+
[`b037e5451037`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b037e5451037) -
|
|
186
|
+
Update new button text color fallback for default theme (non-token) to match that of old button
|
|
187
|
+
current text color
|
|
120
188
|
|
|
121
189
|
## 17.3.2
|
|
122
190
|
|
|
123
191
|
### Patch Changes
|
|
124
192
|
|
|
125
|
-
-
|
|
193
|
+
- [#70231](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70231)
|
|
194
|
+
[`e55d8295c1c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e55d8295c1c1) -
|
|
195
|
+
Changes to add a page and more specific information in link button documentation.
|
|
126
196
|
|
|
127
197
|
## 17.3.1
|
|
128
198
|
|
|
129
199
|
### Patch Changes
|
|
130
200
|
|
|
131
|
-
-
|
|
201
|
+
- [#65509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65509)
|
|
202
|
+
[`9e9847bebdbe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9e9847bebdbe) -
|
|
203
|
+
Fix aria-disabled not being passed to custom theme button
|
|
132
204
|
|
|
133
205
|
## 17.3.0
|
|
134
206
|
|
|
135
207
|
### Minor Changes
|
|
136
208
|
|
|
137
|
-
-
|
|
209
|
+
- [#70040](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70040)
|
|
210
|
+
[`d18ec4d7ce20`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d18ec4d7ce20) -
|
|
211
|
+
[ux] Tidy up of the `platform.design-system-team.icon-button-spacing-fix_o1zc5` Platform Feature
|
|
212
|
+
Flag which applies a small adjustment to icon spacing for buttons using `iconBefore` and
|
|
213
|
+
`iconAfter` props. Small visual adjustment is to be expected — keep this in mind when reviewing
|
|
214
|
+
any VR tests breaking. The spacing around the icons will be reduced.
|
|
138
215
|
|
|
139
216
|
## 17.2.1
|
|
140
217
|
|
|
141
218
|
### Patch Changes
|
|
142
219
|
|
|
143
|
-
-
|
|
220
|
+
- Updated dependencies
|
|
144
221
|
|
|
145
222
|
## 17.2.0
|
|
146
223
|
|
|
147
224
|
### Minor Changes
|
|
148
225
|
|
|
149
|
-
-
|
|
226
|
+
- [#64419](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64419)
|
|
227
|
+
[`6e9ab538f37b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6e9ab538f37b) -
|
|
228
|
+
Export ButtonGroupProps type
|
|
150
229
|
|
|
151
230
|
## 17.1.0
|
|
152
231
|
|
|
153
232
|
### Minor Changes
|
|
154
233
|
|
|
155
|
-
-
|
|
234
|
+
- [#60205](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60205)
|
|
235
|
+
[`d8f830e29011`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d8f830e29011) -
|
|
236
|
+
[ux] Assistive technologies now define ButtonGroup as a group. Additionally `label` and
|
|
237
|
+
`titleId` props introduced to label the current group.
|
|
156
238
|
|
|
157
239
|
## 17.0.0
|
|
158
240
|
|
|
159
241
|
### Major Changes
|
|
160
242
|
|
|
161
|
-
-
|
|
243
|
+
- [#60024](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60024)
|
|
244
|
+
[`c6418d429d47`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6418d429d47) -
|
|
245
|
+
New Button goes open beta!
|
|
162
246
|
|
|
163
247
|
#### Breaking changes
|
|
164
248
|
|
|
@@ -178,7 +262,8 @@ See new features for new exports and entrypoint ⤵
|
|
|
178
262
|
|
|
179
263
|
New Button goes open beta!
|
|
180
264
|
|
|
181
|
-
Check out the exports under `@atlaskit/button/new` and the
|
|
265
|
+
Check out the exports under `@atlaskit/button/new` and the
|
|
266
|
+
[docs](/components/button/button-new/examples) for our new approach.
|
|
182
267
|
|
|
183
268
|
##### Button
|
|
184
269
|
|
|
@@ -210,599 +295,778 @@ import { SplitButton } from '@atlaskit/button/new';
|
|
|
210
295
|
|
|
211
296
|
### Patch Changes
|
|
212
297
|
|
|
213
|
-
-
|
|
298
|
+
- [#58871](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58871)
|
|
299
|
+
[`4c7dc39947e8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c7dc39947e8) -
|
|
300
|
+
Add code docs for icon button and update types
|
|
214
301
|
|
|
215
302
|
## 16.18.0
|
|
216
303
|
|
|
217
304
|
### Minor Changes
|
|
218
305
|
|
|
219
|
-
-
|
|
306
|
+
- [#59441](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59441)
|
|
307
|
+
[`23a1d31d3c09`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23a1d31d3c09) -
|
|
308
|
+
Add entrypoint for new button work heading to open beta at `@atlaskit/button/new`
|
|
220
309
|
|
|
221
310
|
## 16.17.12
|
|
222
311
|
|
|
223
312
|
### Patch Changes
|
|
224
313
|
|
|
225
|
-
-
|
|
314
|
+
- [#59085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59085)
|
|
315
|
+
[`67c05dbef826`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/67c05dbef826) -
|
|
316
|
+
Exclude medium from UNSAFE_iconBefore_size and UNSAFE_iconAfter_size types.
|
|
226
317
|
|
|
227
318
|
## 16.17.11
|
|
228
319
|
|
|
229
320
|
### Patch Changes
|
|
230
321
|
|
|
231
|
-
-
|
|
322
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
323
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
324
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
232
325
|
|
|
233
326
|
## 16.17.10
|
|
234
327
|
|
|
235
328
|
### Patch Changes
|
|
236
329
|
|
|
237
|
-
-
|
|
330
|
+
- [#55666](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/55666)
|
|
331
|
+
[`7be116fed51b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7be116fed51b) -
|
|
332
|
+
Add support for shape to IconButton
|
|
238
333
|
|
|
239
334
|
## 16.17.9
|
|
240
335
|
|
|
241
336
|
### Patch Changes
|
|
242
337
|
|
|
243
|
-
-
|
|
338
|
+
- [#57808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57808)
|
|
339
|
+
[`b99d50f91202`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b99d50f91202) -
|
|
340
|
+
Internal changes to styling on SplitButton (closed beta) to fix issues with border radius when
|
|
341
|
+
wrapper elements are used.
|
|
244
342
|
|
|
245
343
|
## 16.17.8
|
|
246
344
|
|
|
247
345
|
### Patch Changes
|
|
248
346
|
|
|
249
|
-
-
|
|
347
|
+
- [#56967](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/56967)
|
|
348
|
+
[`d491c321ae12`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d491c321ae12) -
|
|
349
|
+
Remove use of aria-busy
|
|
250
350
|
|
|
251
351
|
## 16.17.7
|
|
252
352
|
|
|
253
353
|
### Patch Changes
|
|
254
354
|
|
|
255
|
-
-
|
|
355
|
+
- [#57511](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57511)
|
|
356
|
+
[`a3fc003a2d20`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3fc003a2d20) -
|
|
357
|
+
[ux] Fixes a bug in `LinkIconButton` (in closed beta) where the `UNSAFE_size` prop did not apply
|
|
256
358
|
|
|
257
359
|
## 16.17.6
|
|
258
360
|
|
|
259
361
|
### Patch Changes
|
|
260
362
|
|
|
261
|
-
-
|
|
363
|
+
- [#57229](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57229)
|
|
364
|
+
[`dd91461d616d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd91461d616d) -
|
|
365
|
+
[ux] Fixes a bug in new Buttons (in closed beta) that affected text alignment
|
|
262
366
|
|
|
263
367
|
## 16.17.5
|
|
264
368
|
|
|
265
369
|
### Patch Changes
|
|
266
370
|
|
|
267
|
-
-
|
|
371
|
+
- [#43918](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43918)
|
|
372
|
+
[`d100ca42f46`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d100ca42f46) - Push
|
|
373
|
+
model consumption configuration done for these packages
|
|
268
374
|
|
|
269
375
|
## 16.17.4
|
|
270
376
|
|
|
271
377
|
### Patch Changes
|
|
272
378
|
|
|
273
|
-
-
|
|
379
|
+
- [#43835](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43835)
|
|
380
|
+
[`eba86990eef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eba86990eef) - Update
|
|
381
|
+
new Button (in closed beta) API for `iconBefore` and `iconAfter` to be bounded with unsafe
|
|
382
|
+
fallbacks for icon sizing
|
|
274
383
|
|
|
275
384
|
## 16.17.3
|
|
276
385
|
|
|
277
386
|
### Patch Changes
|
|
278
387
|
|
|
279
|
-
-
|
|
388
|
+
- [#43714](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43714)
|
|
389
|
+
[`d4c4a73a30a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d4c4a73a30a) - [ux]
|
|
390
|
+
Updates supported SplitButton (closed beta) appearances to be 'default' or 'primary'. Makes
|
|
391
|
+
dividers full height to match existing uses outside of navigation contexts.
|
|
280
392
|
|
|
281
393
|
## 16.17.2
|
|
282
394
|
|
|
283
395
|
### Patch Changes
|
|
284
396
|
|
|
285
|
-
-
|
|
397
|
+
- [#43263](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43263)
|
|
398
|
+
[`09f29df6245`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09f29df6245) - Update
|
|
399
|
+
IconButton (in closed beta) API to be bounded with unsafe fallback for icon sizing
|
|
286
400
|
|
|
287
401
|
## 16.17.1
|
|
288
402
|
|
|
289
403
|
### Patch Changes
|
|
290
404
|
|
|
291
|
-
-
|
|
405
|
+
- [#42681](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42681)
|
|
406
|
+
[`df138bd3900`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df138bd3900) - [ux]
|
|
407
|
+
Update to divider colors and height in SplitButton (alpha)
|
|
292
408
|
|
|
293
409
|
## 16.17.0
|
|
294
410
|
|
|
295
411
|
### Minor Changes
|
|
296
412
|
|
|
297
|
-
-
|
|
413
|
+
- [#43311](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43311)
|
|
414
|
+
[`8764ee956ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8764ee956ae) - [ux]
|
|
415
|
+
Remove `appearance` prop options `link` and `subtle-link` from the new Button (in Alpha). They
|
|
416
|
+
are now reserved for the new LinkButton component
|
|
298
417
|
|
|
299
418
|
## 16.16.1
|
|
300
419
|
|
|
301
420
|
### Patch Changes
|
|
302
421
|
|
|
303
|
-
-
|
|
422
|
+
- Updated dependencies
|
|
304
423
|
|
|
305
424
|
## 16.16.0
|
|
306
425
|
|
|
307
426
|
### Minor Changes
|
|
308
427
|
|
|
309
|
-
-
|
|
428
|
+
- [#42973](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42973)
|
|
429
|
+
[`0fe0a5121a7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fe0a5121a7) - Add
|
|
430
|
+
missing `testId` prop to `<ButtonGroup>` to enable testing
|
|
310
431
|
|
|
311
432
|
## 16.15.0
|
|
312
433
|
|
|
313
434
|
### Minor Changes
|
|
314
435
|
|
|
315
|
-
-
|
|
436
|
+
- [#42950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42950)
|
|
437
|
+
[`9691abc55ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9691abc55ce) -
|
|
438
|
+
Restructure new Button (in Alpha) types for documentation purposes
|
|
316
439
|
|
|
317
440
|
## 16.14.0
|
|
318
441
|
|
|
319
442
|
### Minor Changes
|
|
320
443
|
|
|
321
|
-
-
|
|
444
|
+
- [#42928](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42928)
|
|
445
|
+
[`f858870ae90`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f858870ae90) - Added
|
|
446
|
+
new Button variants (in Alpha) unsafe exports to root entrypoint for documentation purposes
|
|
322
447
|
|
|
323
448
|
## 16.13.0
|
|
324
449
|
|
|
325
450
|
### Minor Changes
|
|
326
451
|
|
|
327
|
-
-
|
|
452
|
+
- [#42603](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42603)
|
|
453
|
+
[`48423992847`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48423992847) - Add
|
|
454
|
+
new Link Button variants to unsafe entrypoint for internal testing purposes.
|
|
328
455
|
|
|
329
456
|
## 16.12.0
|
|
330
457
|
|
|
331
458
|
### Minor Changes
|
|
332
459
|
|
|
333
|
-
-
|
|
460
|
+
- [#42305](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42305)
|
|
461
|
+
[`4c9d4a7be34`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c9d4a7be34) - - Link
|
|
462
|
+
button variants (still in Alpha) `<LinkButton>` and `<LinkIconButton>` now support router link
|
|
463
|
+
components through use of an app provider
|
|
334
464
|
|
|
335
465
|
### Patch Changes
|
|
336
466
|
|
|
337
|
-
-
|
|
467
|
+
- Updated dependencies
|
|
338
468
|
|
|
339
469
|
## 16.11.0
|
|
340
470
|
|
|
341
471
|
### Minor Changes
|
|
342
472
|
|
|
343
|
-
-
|
|
473
|
+
- [#41859](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41859)
|
|
474
|
+
[`7c662f243b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c662f243b9) - Expose
|
|
475
|
+
more UNSAFE exports from UNSAFE entry point for internal work. PLEASE DO NO USE ANYTHING FROM
|
|
476
|
+
"UNSAFE" ENTRY POINT WITH "UNSAFE" PREFIX.
|
|
344
477
|
|
|
345
478
|
## 16.10.2
|
|
346
479
|
|
|
347
480
|
### Patch Changes
|
|
348
481
|
|
|
349
|
-
-
|
|
482
|
+
- [#41229](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41229)
|
|
483
|
+
[`22075b34cb8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22075b34cb8) -
|
|
484
|
+
Removing static styling violations
|
|
350
485
|
|
|
351
486
|
## 16.10.1
|
|
352
487
|
|
|
353
488
|
### Patch Changes
|
|
354
489
|
|
|
355
|
-
-
|
|
490
|
+
- [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787)
|
|
491
|
+
[`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) -
|
|
492
|
+
Internal changes to use space tokens. There is no expected visual or behaviour change.
|
|
356
493
|
|
|
357
494
|
## 16.10.0
|
|
358
495
|
|
|
359
496
|
### Minor Changes
|
|
360
497
|
|
|
361
|
-
-
|
|
498
|
+
- [#39701](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39701)
|
|
499
|
+
[`8c6ebfca290`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c6ebfca290) - Expose
|
|
500
|
+
temporary "unsafe" entry point for internal work. It will be removed soon. PLEASE DO NOT USE.
|
|
362
501
|
|
|
363
502
|
### Patch Changes
|
|
364
503
|
|
|
365
|
-
-
|
|
504
|
+
- Updated dependencies
|
|
366
505
|
|
|
367
506
|
## 16.9.4
|
|
368
507
|
|
|
369
508
|
### Patch Changes
|
|
370
509
|
|
|
371
|
-
-
|
|
510
|
+
- [#39579](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39579)
|
|
511
|
+
[`f204e4e0e55`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f204e4e0e55) -
|
|
512
|
+
Updated dependencies
|
|
372
513
|
|
|
373
514
|
## 16.9.3
|
|
374
515
|
|
|
375
516
|
### Patch Changes
|
|
376
517
|
|
|
377
|
-
-
|
|
378
|
-
-
|
|
518
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
519
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
520
|
+
version.json
|
|
521
|
+
- Updated dependencies
|
|
379
522
|
|
|
380
523
|
## 16.9.2
|
|
381
524
|
|
|
382
525
|
### Patch Changes
|
|
383
526
|
|
|
384
|
-
-
|
|
527
|
+
- [#38730](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38730)
|
|
528
|
+
[`234448e5bb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/234448e5bb3) - [ux]
|
|
529
|
+
Updated inner space fix values to be -2px to cover up for 2px margins.
|
|
385
530
|
|
|
386
531
|
## 16.9.1
|
|
387
532
|
|
|
388
533
|
### Patch Changes
|
|
389
534
|
|
|
390
|
-
-
|
|
535
|
+
- [#38291](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38291)
|
|
536
|
+
[`696e8c196a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/696e8c196a3) - Update
|
|
537
|
+
our documentation of our CustomThemeButton export to note the impending deprecation that we have
|
|
538
|
+
planned.
|
|
391
539
|
|
|
392
540
|
## 16.9.0
|
|
393
541
|
|
|
394
542
|
### Minor Changes
|
|
395
543
|
|
|
396
|
-
-
|
|
544
|
+
- [#38259](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38259)
|
|
545
|
+
[`f4aff27416d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4aff27416d) - [ux]
|
|
546
|
+
We are testing icon button internal spacing fix behind a feature flag. Now the space between
|
|
547
|
+
icons and right or left edge of the button will be optically perceived as even. If this fix is
|
|
548
|
+
successful it will be available in a later release.
|
|
397
549
|
|
|
398
550
|
## 16.8.5
|
|
399
551
|
|
|
400
552
|
### Patch Changes
|
|
401
553
|
|
|
402
|
-
-
|
|
554
|
+
- [#37681](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37681)
|
|
555
|
+
[`54b69a2fc03`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54b69a2fc03) -
|
|
556
|
+
Refactor out rest props from button and make props more explicit.
|
|
403
557
|
|
|
404
558
|
## 16.8.4
|
|
405
559
|
|
|
406
560
|
### Patch Changes
|
|
407
561
|
|
|
408
|
-
-
|
|
562
|
+
- [#37682](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37682)
|
|
563
|
+
[`4b3cfb2276b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b3cfb2276b) -
|
|
564
|
+
Refactor button base to remove rest props and make props more explicit.
|
|
409
565
|
|
|
410
566
|
## 16.8.3
|
|
411
567
|
|
|
412
568
|
### Patch Changes
|
|
413
569
|
|
|
414
|
-
-
|
|
570
|
+
- [#37605](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37605)
|
|
571
|
+
[`11cd2f83450`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11cd2f83450) -
|
|
572
|
+
Refactor loading button to use less rest props to pass props more explicitly.
|
|
415
573
|
|
|
416
574
|
## 16.8.2
|
|
417
575
|
|
|
418
576
|
### Patch Changes
|
|
419
577
|
|
|
420
|
-
-
|
|
578
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
579
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
580
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
581
|
+
testing.
|
|
421
582
|
|
|
422
583
|
## 16.8.1
|
|
423
584
|
|
|
424
585
|
### Patch Changes
|
|
425
586
|
|
|
426
|
-
-
|
|
587
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
588
|
+
[`ba43427b3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba43427b3e8) -
|
|
589
|
+
Internal changes to account for introduction of shape/radius tokens.
|
|
427
590
|
|
|
428
591
|
## 16.8.0
|
|
429
592
|
|
|
430
593
|
### Minor Changes
|
|
431
594
|
|
|
432
|
-
-
|
|
595
|
+
- [#34532](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34532)
|
|
596
|
+
[`5104149700b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5104149700b) - Button
|
|
597
|
+
no longer unnecessarily sets `tabindex` as `0` for focus when using default `<button>` or `<a>`
|
|
598
|
+
elements, as they are already focusable. This is still set when using the `component` prop so
|
|
599
|
+
other elements can still be be focused. (This change is feature flagged)
|
|
433
600
|
|
|
434
601
|
## 16.7.6
|
|
435
602
|
|
|
436
603
|
### Patch Changes
|
|
437
604
|
|
|
438
|
-
-
|
|
605
|
+
- [#34644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34644)
|
|
606
|
+
[`687e9b93266`](https://bitbucket.org/atlassian/atlassian-frontend/commits/687e9b93266) -
|
|
607
|
+
Updated dependencies
|
|
439
608
|
|
|
440
609
|
## 16.7.5
|
|
441
610
|
|
|
442
611
|
### Patch Changes
|
|
443
612
|
|
|
444
|
-
-
|
|
613
|
+
- [#34192](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34192)
|
|
614
|
+
[`3a14ab26d19`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3a14ab26d19) -
|
|
615
|
+
Updated dependencies
|
|
445
616
|
|
|
446
617
|
## 16.7.4
|
|
447
618
|
|
|
448
619
|
### Patch Changes
|
|
449
620
|
|
|
450
|
-
-
|
|
621
|
+
- [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051)
|
|
622
|
+
[`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) -
|
|
623
|
+
Migrated use of `gridSize` to space tokens where possible. There is no expected visual or
|
|
624
|
+
behaviour change.
|
|
451
625
|
|
|
452
626
|
## 16.7.3
|
|
453
627
|
|
|
454
628
|
### Patch Changes
|
|
455
629
|
|
|
456
|
-
-
|
|
630
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
631
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
632
|
+
legacy types are published for TS 4.5-4.8
|
|
457
633
|
|
|
458
634
|
## 16.7.2
|
|
459
635
|
|
|
460
636
|
### Patch Changes
|
|
461
637
|
|
|
462
|
-
-
|
|
638
|
+
- [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771)
|
|
639
|
+
[`96b5112590b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96b5112590b) -
|
|
640
|
+
Updated dependencies
|
|
463
641
|
|
|
464
642
|
## 16.7.1
|
|
465
643
|
|
|
466
644
|
### Patch Changes
|
|
467
645
|
|
|
468
|
-
-
|
|
646
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
647
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
648
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
469
649
|
|
|
470
650
|
## 16.7.0
|
|
471
651
|
|
|
472
652
|
### Minor Changes
|
|
473
653
|
|
|
474
|
-
-
|
|
654
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
655
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
656
|
+
minor dependency bump
|
|
475
657
|
|
|
476
658
|
### Patch Changes
|
|
477
659
|
|
|
478
|
-
-
|
|
660
|
+
- Updated dependencies
|
|
479
661
|
|
|
480
662
|
## 16.6.1
|
|
481
663
|
|
|
482
664
|
### Patch Changes
|
|
483
665
|
|
|
484
|
-
-
|
|
666
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
|
|
667
|
+
[`23a850fe471`](https://bitbucket.org/atlassian/atlassian-frontend/commits/23a850fe471) -
|
|
668
|
+
Updated dependencies
|
|
485
669
|
|
|
486
670
|
## 16.6.0
|
|
487
671
|
|
|
488
672
|
### Minor Changes
|
|
489
673
|
|
|
490
|
-
-
|
|
491
|
-
|
|
492
|
-
|
|
674
|
+
- [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299)
|
|
675
|
+
[`3367210dce8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3367210dce8) - [ux]
|
|
676
|
+
Internal change to the way focus is rendered for buttons. Focus states now apply a 2px offset to
|
|
677
|
+
the focus ring to aid the contrast of the focus state when applied on the 'primary' and
|
|
678
|
+
'selected' buttons. As part of this change, and to settle on a more systemic approach to focus,
|
|
679
|
+
button also no longer applies a different colored shadow per appearance.
|
|
493
680
|
|
|
494
681
|
## 16.5.7
|
|
495
682
|
|
|
496
683
|
### Patch Changes
|
|
497
684
|
|
|
498
|
-
-
|
|
499
|
-
-
|
|
685
|
+
- [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248)
|
|
686
|
+
[`729e45efa7f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/729e45efa7f) - [ux]
|
|
687
|
+
Fix a bug where the incorrect design tokens were used for the color of spinners in warning,
|
|
688
|
+
disabled and selected buttons
|
|
689
|
+
- Updated dependencies
|
|
500
690
|
|
|
501
691
|
## 16.5.6
|
|
502
692
|
|
|
503
693
|
### Patch Changes
|
|
504
694
|
|
|
505
|
-
-
|
|
695
|
+
- Updated dependencies
|
|
506
696
|
|
|
507
697
|
## 16.5.5
|
|
508
698
|
|
|
509
699
|
### Patch Changes
|
|
510
700
|
|
|
511
|
-
-
|
|
701
|
+
- Updated dependencies
|
|
512
702
|
|
|
513
703
|
## 16.5.4
|
|
514
704
|
|
|
515
705
|
### Patch Changes
|
|
516
706
|
|
|
517
|
-
-
|
|
707
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
|
|
708
|
+
[`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) -
|
|
709
|
+
Internal change to update token references. There is no expected behaviour or visual change.
|
|
518
710
|
|
|
519
711
|
## 16.5.3
|
|
520
712
|
|
|
521
713
|
### Patch Changes
|
|
522
714
|
|
|
523
|
-
-
|
|
715
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
716
|
+
[`f96f3ebd861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f96f3ebd861) - [ux]
|
|
717
|
+
Use color.background.neutral.subtle token to represent transparent background.
|
|
524
718
|
|
|
525
719
|
## 16.5.2
|
|
526
720
|
|
|
527
721
|
### Patch Changes
|
|
528
722
|
|
|
529
|
-
-
|
|
723
|
+
- Updated dependencies
|
|
530
724
|
|
|
531
725
|
## 16.5.1
|
|
532
726
|
|
|
533
727
|
### Patch Changes
|
|
534
728
|
|
|
535
|
-
-
|
|
729
|
+
- Updated dependencies
|
|
536
730
|
|
|
537
731
|
## 16.5.0
|
|
538
732
|
|
|
539
733
|
### Minor Changes
|
|
540
734
|
|
|
541
|
-
-
|
|
735
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
736
|
+
[`71799e16ae6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71799e16ae6) -
|
|
737
|
+
Introduce InteractionContext to @atlaskit/button
|
|
542
738
|
|
|
543
739
|
### Patch Changes
|
|
544
740
|
|
|
545
|
-
-
|
|
546
|
-
|
|
741
|
+
- [`3c76f243e7f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c76f243e7f) -
|
|
742
|
+
InteractionContext is nullable
|
|
743
|
+
- Updated dependencies
|
|
547
744
|
|
|
548
745
|
## 16.4.1
|
|
549
746
|
|
|
550
747
|
### Patch Changes
|
|
551
748
|
|
|
552
|
-
-
|
|
749
|
+
- Updated dependencies
|
|
553
750
|
|
|
554
751
|
## 16.4.0
|
|
555
752
|
|
|
556
753
|
### Minor Changes
|
|
557
754
|
|
|
558
|
-
-
|
|
755
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
|
|
756
|
+
[`9f6369f5505`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f6369f5505) -
|
|
757
|
+
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behaviour change.
|
|
559
758
|
|
|
560
759
|
### Patch Changes
|
|
561
760
|
|
|
562
|
-
-
|
|
761
|
+
- Updated dependencies
|
|
563
762
|
|
|
564
763
|
## 16.3.10
|
|
565
764
|
|
|
566
765
|
### Patch Changes
|
|
567
766
|
|
|
568
|
-
-
|
|
767
|
+
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
|
|
768
|
+
[`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) -
|
|
769
|
+
Internal changes to apply spacing tokens. This should be a no-op change.
|
|
569
770
|
|
|
570
771
|
## 16.3.9
|
|
571
772
|
|
|
572
773
|
### Patch Changes
|
|
573
774
|
|
|
574
|
-
-
|
|
775
|
+
- [#25237](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25237)
|
|
776
|
+
[`1f4dba8f1a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f4dba8f1a5) - [ux]
|
|
777
|
+
DSP-6696: prevent ButtonGroup items from being squished
|
|
575
778
|
|
|
576
779
|
## 16.3.8
|
|
577
780
|
|
|
578
781
|
### Patch Changes
|
|
579
782
|
|
|
580
|
-
-
|
|
783
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
784
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
785
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
581
786
|
|
|
582
787
|
## 16.3.7
|
|
583
788
|
|
|
584
789
|
### Patch Changes
|
|
585
790
|
|
|
586
|
-
-
|
|
791
|
+
- [#24921](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24921)
|
|
792
|
+
[`14d635468f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/14d635468f6) - [ux]
|
|
793
|
+
DSP-6696: prevent empty ButtonGroup items from showing spacing by switching to flexbox gap
|
|
587
794
|
|
|
588
795
|
## 16.3.6
|
|
589
796
|
|
|
590
797
|
### Patch Changes
|
|
591
798
|
|
|
592
|
-
-
|
|
799
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
800
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
801
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
593
802
|
|
|
594
803
|
## 16.3.5
|
|
595
804
|
|
|
596
805
|
### Patch Changes
|
|
597
806
|
|
|
598
|
-
-
|
|
599
|
-
-
|
|
807
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
808
|
+
[`e09f1576233`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e09f1576233) -
|
|
809
|
+
Internal code change turning on new linting rules.
|
|
810
|
+
- Updated dependencies
|
|
600
811
|
|
|
601
812
|
## 16.3.4
|
|
602
813
|
|
|
603
814
|
### Patch Changes
|
|
604
815
|
|
|
605
|
-
-
|
|
816
|
+
- [#23191](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23191)
|
|
817
|
+
[`65a90f6ba14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65a90f6ba14) - Use
|
|
818
|
+
medium icons for button examples
|
|
606
819
|
|
|
607
820
|
## 16.3.3
|
|
608
821
|
|
|
609
822
|
### Patch Changes
|
|
610
823
|
|
|
611
|
-
-
|
|
824
|
+
- [#22614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22614)
|
|
825
|
+
[`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) -
|
|
826
|
+
Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
612
827
|
|
|
613
828
|
## 16.3.2
|
|
614
829
|
|
|
615
830
|
### Patch Changes
|
|
616
831
|
|
|
617
|
-
-
|
|
832
|
+
- Updated dependencies
|
|
618
833
|
|
|
619
834
|
## 16.3.1
|
|
620
835
|
|
|
621
836
|
### Patch Changes
|
|
622
837
|
|
|
623
|
-
-
|
|
838
|
+
- Updated dependencies
|
|
624
839
|
|
|
625
840
|
## 16.3.0
|
|
626
841
|
|
|
627
842
|
### Minor Changes
|
|
628
843
|
|
|
629
|
-
-
|
|
844
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
845
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Export
|
|
846
|
+
BaseProps type to prevent it being referenced via deep import path in d.ts files
|
|
630
847
|
|
|
631
848
|
### Patch Changes
|
|
632
849
|
|
|
633
|
-
-
|
|
850
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
851
|
+
Upgrade to TypeScript 4.2.4
|
|
634
852
|
|
|
635
853
|
## 16.2.2
|
|
636
854
|
|
|
637
855
|
### Patch Changes
|
|
638
856
|
|
|
639
|
-
-
|
|
857
|
+
- Updated dependencies
|
|
640
858
|
|
|
641
859
|
## 16.2.1
|
|
642
860
|
|
|
643
861
|
### Patch Changes
|
|
644
862
|
|
|
645
|
-
-
|
|
646
|
-
-
|
|
863
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
|
|
864
|
+
[`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) -
|
|
865
|
+
Migrates all usage of brand tokens to either selected or information tokens. This change is
|
|
866
|
+
purely for semantic reasons, there are no visual or behavioural changes.
|
|
867
|
+
- Updated dependencies
|
|
647
868
|
|
|
648
869
|
## 16.2.0
|
|
649
870
|
|
|
650
871
|
### Minor Changes
|
|
651
872
|
|
|
652
|
-
-
|
|
873
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
|
|
874
|
+
[`dde969b6ef5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dde969b6ef5) - Fix
|
|
875
|
+
type error with missing 'css' prop when importing Buttons directly from
|
|
876
|
+
"@atlaskit/button/standard-button"
|
|
653
877
|
|
|
654
878
|
### Patch Changes
|
|
655
879
|
|
|
656
|
-
-
|
|
880
|
+
- Updated dependencies
|
|
657
881
|
|
|
658
882
|
## 16.1.6
|
|
659
883
|
|
|
660
884
|
### Patch Changes
|
|
661
885
|
|
|
662
|
-
-
|
|
663
|
-
|
|
664
|
-
|
|
886
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
887
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) -
|
|
888
|
+
Performance optimisations (reduce tree size and improve style building)
|
|
889
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) -
|
|
890
|
+
Updates usage of deprecated token names so they're aligned with the latest naming conventions.
|
|
891
|
+
No UI or visual changes
|
|
892
|
+
- Updated dependencies
|
|
665
893
|
|
|
666
894
|
## 16.1.5
|
|
667
895
|
|
|
668
896
|
### Patch Changes
|
|
669
897
|
|
|
670
|
-
-
|
|
898
|
+
- Updated dependencies
|
|
671
899
|
|
|
672
900
|
## 16.1.4
|
|
673
901
|
|
|
674
902
|
### Patch Changes
|
|
675
903
|
|
|
676
|
-
-
|
|
677
|
-
-
|
|
904
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
905
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
906
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
907
|
+
tokens() function and improving bundle size.
|
|
908
|
+
- Updated dependencies
|
|
678
909
|
|
|
679
910
|
## 16.1.3
|
|
680
911
|
|
|
681
912
|
### Patch Changes
|
|
682
913
|
|
|
683
|
-
-
|
|
684
|
-
-
|
|
914
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
915
|
+
[`c3b0a17a96c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3b0a17a96c) - Fix
|
|
916
|
+
spinner colours for disabled, warning and selected states when using tokens
|
|
917
|
+
- Updated dependencies
|
|
685
918
|
|
|
686
919
|
## 16.1.2
|
|
687
920
|
|
|
688
921
|
### Patch Changes
|
|
689
922
|
|
|
690
|
-
-
|
|
923
|
+
- Updated dependencies
|
|
691
924
|
|
|
692
925
|
## 16.1.1
|
|
693
926
|
|
|
694
927
|
### Patch Changes
|
|
695
928
|
|
|
696
|
-
-
|
|
929
|
+
- Updated dependencies
|
|
697
930
|
|
|
698
931
|
## 16.1.0
|
|
699
932
|
|
|
700
933
|
### Minor Changes
|
|
701
934
|
|
|
702
|
-
-
|
|
935
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
936
|
+
[`e267e790d38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e267e790d38) - [ux]
|
|
937
|
+
Colors are now sourced through tokens.
|
|
703
938
|
|
|
704
939
|
### Patch Changes
|
|
705
940
|
|
|
706
|
-
-
|
|
707
|
-
|
|
941
|
+
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) -
|
|
942
|
+
Updates token usage to match the latest token set
|
|
943
|
+
- Updated dependencies
|
|
708
944
|
|
|
709
945
|
## 16.0.0
|
|
710
946
|
|
|
711
947
|
### Major Changes
|
|
712
948
|
|
|
713
|
-
-
|
|
949
|
+
- An accidental release occurred, you can safely upgrade without making any changes as there is no
|
|
950
|
+
difference between 15.1.8 and 16.0.0.
|
|
714
951
|
|
|
715
952
|
### Patch Changes
|
|
716
953
|
|
|
717
|
-
-
|
|
954
|
+
- Updated dependencies
|
|
718
955
|
|
|
719
956
|
## 15.1.8
|
|
720
957
|
|
|
721
958
|
### Patch Changes
|
|
722
959
|
|
|
723
|
-
-
|
|
960
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
961
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
962
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
724
963
|
|
|
725
964
|
## 15.1.7
|
|
726
965
|
|
|
727
966
|
### Patch Changes
|
|
728
967
|
|
|
729
|
-
-
|
|
968
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
969
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) -
|
|
970
|
+
Updates to development dependency `storybook-addon-performance`
|
|
730
971
|
|
|
731
972
|
## 15.1.6
|
|
732
973
|
|
|
733
974
|
### Patch Changes
|
|
734
975
|
|
|
735
|
-
-
|
|
736
|
-
-
|
|
976
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
|
|
977
|
+
[`49961803553`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49961803553) - Now
|
|
978
|
+
utlises the auto focus hook from `ds-lib`.
|
|
979
|
+
- Updated dependencies
|
|
737
980
|
|
|
738
981
|
## 15.1.5
|
|
739
982
|
|
|
740
983
|
### Patch Changes
|
|
741
984
|
|
|
742
|
-
-
|
|
985
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
986
|
+
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
987
|
+
injected package name and version for analytics instead of version.json.
|
|
743
988
|
|
|
744
989
|
## 15.1.4
|
|
745
990
|
|
|
746
991
|
### Patch Changes
|
|
747
992
|
|
|
748
|
-
-
|
|
993
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
994
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
|
|
995
|
+
Transpile packages using babel rather than tsc
|
|
749
996
|
|
|
750
997
|
## 15.1.3
|
|
751
998
|
|
|
752
999
|
### Patch Changes
|
|
753
1000
|
|
|
754
|
-
-
|
|
1001
|
+
- [#6091](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6091)
|
|
1002
|
+
[`9f733e3f59`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f733e3f59) - Fixes
|
|
1003
|
+
inlined inferred types in @atlaskit/button/loading-button - no material change
|
|
755
1004
|
|
|
756
1005
|
## 15.1.2
|
|
757
1006
|
|
|
758
1007
|
### Patch Changes
|
|
759
1008
|
|
|
760
|
-
-
|
|
1009
|
+
- [#5860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5860)
|
|
1010
|
+
[`d7540c04cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7540c04cd) - Before
|
|
1011
|
+
`15.x` it was possible for you to pass in `data-testid` and for that to be applied. In `15.x` we
|
|
1012
|
+
changed how props are spread so that is no longer possible. Please use the public API prop
|
|
1013
|
+
`testId` to control `data-testid`
|
|
761
1014
|
|
|
762
|
-
|
|
1015
|
+
We have:
|
|
763
1016
|
|
|
764
|
-
|
|
765
|
-
|
|
1017
|
+
- Improved the types of button so that if you pass in `data-testid` or `data-has-overlay` you
|
|
1018
|
+
will get a type warning
|
|
1019
|
+
- Added a _codemod_ to shift over any usages of `data-testid` to `testId` on any of our
|
|
1020
|
+
buttons (`CustomThemeButton`, `LoadingButton` or `StandardButton`)
|
|
766
1021
|
|
|
767
|
-
|
|
1022
|
+
#### Upgrading with codemod
|
|
768
1023
|
|
|
769
|
-
|
|
1024
|
+
You first need to have the latest button installed before you can run the codemod
|
|
770
1025
|
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
1026
|
+
```
|
|
1027
|
+
yarn upgrade @atlaskit/button@^15.1.1
|
|
1028
|
+
```
|
|
774
1029
|
|
|
775
|
-
|
|
1030
|
+
Then you can use our cli tool to run the codemod
|
|
776
1031
|
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
1032
|
+
```
|
|
1033
|
+
npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]
|
|
1034
|
+
```
|
|
780
1035
|
|
|
781
1036
|
## 15.1.1
|
|
782
1037
|
|
|
783
1038
|
### Patch Changes
|
|
784
1039
|
|
|
785
|
-
-
|
|
786
|
-
|
|
787
|
-
|
|
1040
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
1041
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
1042
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
1043
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle
|
|
1044
|
+
Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
1045
|
+
`devDependencies` to denote version that the package was built with.
|
|
788
1046
|
|
|
789
1047
|
## 15.1.0
|
|
790
1048
|
|
|
791
1049
|
### Minor Changes
|
|
792
1050
|
|
|
793
|
-
-
|
|
1051
|
+
- [#5344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5344)
|
|
1052
|
+
[`1944b0b626`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1944b0b626) - Export
|
|
1053
|
+
BaseOwnProps type to prevent it being referenced via deep import path in declaration files of
|
|
1054
|
+
dependendents
|
|
794
1055
|
|
|
795
1056
|
### Patch Changes
|
|
796
1057
|
|
|
797
|
-
-
|
|
1058
|
+
- Updated dependencies
|
|
798
1059
|
|
|
799
1060
|
## 15.0.0
|
|
800
1061
|
|
|
801
1062
|
### Major Changes
|
|
802
1063
|
|
|
803
|
-
-
|
|
1064
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
1065
|
+
[`f75fedbf16`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f75fedbf16) - In this
|
|
1066
|
+
version we made button dramatically faster and lighter and improved buttons internal spacing 🤩
|
|
804
1067
|
|
|
805
|
-
There are now 3 button variants. We highly recommend you only install button through entry points to
|
|
1068
|
+
There are now 3 button variants. We highly recommend you only install button through entry points to
|
|
1069
|
+
ensure minimum kbs. Our codemod will automatically shift you over to the entry point format
|
|
806
1070
|
|
|
807
1071
|
```js
|
|
808
1072
|
// button variants
|
|
@@ -819,30 +1083,38 @@ import { CustomThemeButtonProps } from '@atlaskit/button/types';
|
|
|
819
1083
|
|
|
820
1084
|
We have made some intentional changes to button spacing:
|
|
821
1085
|
|
|
822
|
-
-
|
|
823
|
-
|
|
1086
|
+
- There is now a smaller gap between button text and icons (`8px` → `4px`). This makes a buttons
|
|
1087
|
+
text and icon feel more connected
|
|
1088
|
+
- Icon only buttons are now square, rather than _almost_ being square (`36px` x `32px` → `32px` x
|
|
1089
|
+
`32px`)
|
|
824
1090
|
|
|
825
1091
|
### 1 → 3 button variants
|
|
826
1092
|
|
|
827
|
-
`<Button/>` as we know and love it today, has been split into three variants so that consumers only
|
|
1093
|
+
`<Button/>` as we know and love it today, has been split into three variants so that consumers only
|
|
1094
|
+
pay for the features that they use
|
|
828
1095
|
|
|
829
|
-
1. **Standard button (`<Button/>`)**: The standard button that is as fast as possible which is for
|
|
1096
|
+
1. **Standard button (`<Button/>`)**: The standard button that is as fast as possible which is for
|
|
1097
|
+
most usages
|
|
830
1098
|
|
|
831
|
-
-
|
|
1099
|
+
- ✅ Supports the existing (discouraged) `GlobalTheme` dark mode pattern
|
|
832
1100
|
|
|
833
|
-
2. **Loading button (`<LoadingButton/>`)**: A small wrapper around `<Button/>` that allows you to
|
|
1101
|
+
2. **Loading button (`<LoadingButton/>`)**: A small wrapper around `<Button/>` that allows you to
|
|
1102
|
+
show a `@atlaskit/spinner` as an overlay on the button when you set an `isLoading` prop to `true`
|
|
834
1103
|
|
|
835
|
-
-
|
|
1104
|
+
- ✅ Supports the existing (discouraged) `GlobalTheme` dark mode pattern
|
|
836
1105
|
|
|
837
|
-
3. **Custom theme button (`<CustomThemeButton/>`)**: This is a 1:1 of what `<Button/>` was
|
|
1106
|
+
3. **Custom theme button (`<CustomThemeButton/>`)**: This is a 1:1 of what `<Button/>` was
|
|
1107
|
+
previously
|
|
838
1108
|
|
|
839
|
-
-
|
|
840
|
-
-
|
|
841
|
-
|
|
1109
|
+
- ✅ Supports the same `isLoading` behavior as `<LoadingButton/>`
|
|
1110
|
+
- ✅ Supports our (discouraged) experimental component theming API. This API has been identified
|
|
1111
|
+
as a performance problem
|
|
1112
|
+
- ✅ Supports the existing (discouraged) `GlobalTheme` dark mode pattern
|
|
842
1113
|
|
|
843
1114
|
### Installing
|
|
844
1115
|
|
|
845
|
-
**All of the variants are all available through separate entry points to ensure minimum bundle
|
|
1116
|
+
**All of the variants are all available through separate entry points to ensure minimum bundle
|
|
1117
|
+
size**
|
|
846
1118
|
|
|
847
1119
|
```js
|
|
848
1120
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -850,16 +1122,24 @@ import LoadingButton from '@atlaskit/button/loading-button';
|
|
|
850
1122
|
import CustomThemeButton from '@atlaskit/button/custom-theme-button';
|
|
851
1123
|
```
|
|
852
1124
|
|
|
853
|
-
You can also import them all from the root entry point if you like! Heads up though, **if your
|
|
1125
|
+
You can also import them all from the root entry point if you like! Heads up though, **if your
|
|
1126
|
+
bundler does not support tree shaking then you will not get the minimum possible bundle size**
|
|
854
1127
|
|
|
855
|
-
We have a **automated codemod** you can run to perform many upgrade processes for you. It comes in
|
|
1128
|
+
We have a **automated codemod** you can run to perform many upgrade processes for you. It comes in
|
|
1129
|
+
two flavours:
|
|
856
1130
|
|
|
857
|
-
-
|
|
858
|
-
|
|
1131
|
+
- `optimistic-15.0.0-lite-mode.ts`: An "optimistic" codemod that moves your buttons to the correct
|
|
1132
|
+
version based on the props you've provided. If you use the `isLoading` prop, it will change the
|
|
1133
|
+
import to use `loading-button`. If you use `theme` prop, imports to `custom-theme-button` will
|
|
1134
|
+
be used. If you have a ThemeProvider above your buttons in the React tree the optimistic codemod
|
|
1135
|
+
can't tell, and this could lead to regressions. Use this codemod with care!
|
|
1136
|
+
- `15.0.0-lite-mode.ts`: If you wrap your application in a ThemeProvider, you can use this "safe"
|
|
1137
|
+
codemod to change all usages of button to the `custom-theme-button`.
|
|
859
1138
|
|
|
860
1139
|
**Running the codemod cli**
|
|
861
1140
|
|
|
862
|
-
To run the codemod: **You first need to have the latest version of button installed before you can
|
|
1141
|
+
To run the codemod: **You first need to have the latest version of button installed before you can
|
|
1142
|
+
run the codemod**
|
|
863
1143
|
|
|
864
1144
|
`yarn upgrade @atlaskit/button@^15.0.0`
|
|
865
1145
|
|
|
@@ -867,8 +1147,9 @@ Once upgraded, use the Atlaskit codemod-cli;
|
|
|
867
1147
|
|
|
868
1148
|
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
869
1149
|
|
|
870
|
-
Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
871
|
-
|
|
1150
|
+
Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
|
|
1151
|
+
[this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on
|
|
1152
|
+
the codemod CLI.
|
|
872
1153
|
|
|
873
1154
|
```js
|
|
874
1155
|
import Button, { LoadingButton, CustomThemeButton } from '@atlaskit/button';
|
|
@@ -884,7 +1165,8 @@ import Button from '@atlaskit/button';
|
|
|
884
1165
|
|
|
885
1166
|
Now the default export is our 'standard button' which does not support the `theme` prop.
|
|
886
1167
|
|
|
887
|
-
Don't worry if you do use the theming API – our codemods will help move your usages to the correct
|
|
1168
|
+
Don't worry if you do use the theming API – our codemods will help move your usages to the correct
|
|
1169
|
+
version.
|
|
888
1170
|
|
|
889
1171
|
```js
|
|
890
1172
|
// before codemod
|
|
@@ -896,45 +1178,63 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
896
1178
|
|
|
897
1179
|
### Improved behaviour: disabled buttons
|
|
898
1180
|
|
|
899
|
-
Previously disabled buttons had fairly simple behaviour. They would call `event.stopPropagation()`
|
|
1181
|
+
Previously disabled buttons had fairly simple behaviour. They would call `event.stopPropagation()`
|
|
1182
|
+
on an inner element in the _bubble_ phase. This would prevent `onClick` handlers from being called,
|
|
1183
|
+
but not other event types.
|
|
900
1184
|
|
|
901
|
-
We have invested a lot of effort to make a more robust disabled button experience regardless of
|
|
1185
|
+
We have invested a lot of effort to make a more robust disabled button experience regardless of
|
|
1186
|
+
element type.
|
|
902
1187
|
|
|
903
1188
|
#### New disabled button approach
|
|
904
1189
|
|
|
905
|
-
A disabled `<button>` is a native HTML concept, but disabled is not a native concept for other
|
|
1190
|
+
A disabled `<button>` is a native HTML concept, but disabled is not a native concept for other
|
|
1191
|
+
element types such as `<a>` and `<span>`.
|
|
906
1192
|
|
|
907
1193
|
The behavior of a disabled `<button>` is imitated as much as possible regardless of element type.
|
|
908
1194
|
|
|
909
1195
|
A disabled `<button>` will not fire any user events. We imitate this by:
|
|
910
1196
|
|
|
911
|
-
-
|
|
912
|
-
|
|
913
|
-
-
|
|
1197
|
+
- Applying `pointer-events: none` to all children elements of the button element. This prevents
|
|
1198
|
+
inner elements publishing events.
|
|
1199
|
+
- Calling `event.preventDefault()` and `event.stopPropagation()` in the
|
|
1200
|
+
[capture phase](https://javascript.info/bubbling-and-capturing) for the following events:
|
|
1201
|
+
`'mousedown'`,`'mouseup'`, `'keydown'`, `'keyup'`, `'touchstart'`, `'touchend'`, `'pointerdown'`, `'pointerup'`, and
|
|
1202
|
+
`'click`'. This prevents the event performing its default browser behavior and stops the event
|
|
1203
|
+
from proceeding to the bubble phase.
|
|
1204
|
+
- Not calling provided bubble and capture event listeners.
|
|
914
1205
|
|
|
915
|
-
For a disabled button we also set `tabIndex={-1}`, and if the element has focus, we call
|
|
1206
|
+
For a disabled button we also set `tabIndex={-1}`, and if the element has focus, we call
|
|
1207
|
+
`element.blur()`.
|
|
916
1208
|
|
|
917
1209
|
### New prop: `overlay` (Standard button only)
|
|
918
1210
|
|
|
919
|
-
The `overlay` prop allows you to render a `React.ReactNode` over the top of the content inside of a
|
|
1211
|
+
The `overlay` prop allows you to render a `React.ReactNode` over the top of the content inside of a
|
|
1212
|
+
button. This prop is only available for the standard button. `LoadingButton` and `CustomThemeButton`
|
|
1213
|
+
use the `overlay` prop for displaying a `@atlaskit/spinner` as needed.
|
|
920
1214
|
|
|
921
1215
|
### Improved behavior: overlays
|
|
922
1216
|
|
|
923
|
-
When an overlay is being used (such as for a `@atlaskit/spinner` for `LoadingButton`), then these
|
|
1217
|
+
When an overlay is being used (such as for a `@atlaskit/spinner` for `LoadingButton`), then these
|
|
1218
|
+
changes are applied:
|
|
924
1219
|
|
|
925
|
-
-
|
|
926
|
-
-
|
|
927
|
-
|
|
928
|
-
-
|
|
1220
|
+
- block events as if it is disabled
|
|
1221
|
+
- won’t lose focus automatically when the overlay is shown (unlike when it is disabled, where the
|
|
1222
|
+
focus is lost)
|
|
1223
|
+
- allows focus to be given and removed from the element
|
|
1224
|
+
- won't show `:active` and `:hover` styles (otherwise keeps the same visual and cursor experience
|
|
1225
|
+
as if it did not have an overlay)
|
|
929
1226
|
|
|
930
|
-
Previously, when an overlay was used, the button simply applied `pointer-events: none` to the button
|
|
1227
|
+
Previously, when an overlay was used, the button simply applied `pointer-events: none` to the button
|
|
1228
|
+
content. This approach had a number of shortcomings.
|
|
931
1229
|
|
|
932
1230
|
### Other changes
|
|
933
1231
|
|
|
934
|
-
-
|
|
935
|
-
|
|
936
|
-
-
|
|
937
|
-
-
|
|
1232
|
+
- Adding `font-family: inherit` style rule. Recently, Chrome decided to add `font-family: arial`
|
|
1233
|
+
to the default `<button>` style rules. We fixed this issue by releasing a patch version of
|
|
1234
|
+
`@atlaskit/css-reset`. We have now added the fix into this package as well
|
|
1235
|
+
- Renaming the `ButtonAppearance` `type` to `Appearance` (the codemod will safely upgrade usages)
|
|
1236
|
+
- Documentation cleanup
|
|
1237
|
+
- Examples cleanup
|
|
938
1238
|
|
|
939
1239
|
**Automatic upgrading**
|
|
940
1240
|
|
|
@@ -951,1218 +1251,1461 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
951
1251
|
|
|
952
1252
|
We have created **two** different codemods for you to choose from:
|
|
953
1253
|
|
|
954
|
-
1. **Safe codemod**: This codemod will shift everything over to `CustomThemeButton` which is a 1:1
|
|
955
|
-
|
|
1254
|
+
1. **Safe codemod**: This codemod will shift everything over to `CustomThemeButton` which is a 1:1
|
|
1255
|
+
of what exists today. This is super safe and you don’t need to do anything but sit back and
|
|
1256
|
+
enjoy. You get some nice performance wins for just doing this. You can then opportunistically
|
|
1257
|
+
move to the other `button` variants at your future convenience.
|
|
1258
|
+
2. **Optimistic codemod**: The codemod will try it’s hardest to move to the best `button` variant in
|
|
1259
|
+
a module based on usage. This is pretty tricky because we are splitting one thing into three. It
|
|
1260
|
+
can also be a bit dangerous because technically you can use a `ButtonTheme.Provider` higher in
|
|
1261
|
+
the React tree and all buttons will pick up that theme. The codemod cannot know about that
|
|
1262
|
+
nuance. This codemod will add comments to any files where it thinks you will need to make a
|
|
1263
|
+
decision and also point out when you might run into any `ButtonTheme.Provider` issues.
|
|
956
1264
|
|
|
957
1265
|
_When you use `@atlaskit/codemod-cli` you will be able to select which codemod you want to run_
|
|
958
1266
|
|
|
959
1267
|
### Patch Changes
|
|
960
1268
|
|
|
961
|
-
-
|
|
962
|
-
|
|
963
|
-
-
|
|
964
|
-
|
|
965
|
-
|
|
1269
|
+
- [`83e32fa998`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83e32fa998) - Now uses
|
|
1270
|
+
`useAnalyticsEventHandler` in @atlaskit/analytics-next rather than its own version of the hook
|
|
1271
|
+
- [`e45be534ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e45be534ce) - [ux]
|
|
1272
|
+
Unwinding anchor style change in AltaskitThemeProvider. Restoring color: !important to button to
|
|
1273
|
+
deal with specificity wars
|
|
1274
|
+
- [`6ea0de1281`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ea0de1281) - [ux] Not
|
|
1275
|
+
allowing anchors to have :visited styles. This restores previous behaviour
|
|
1276
|
+
- [`642a8a7735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642a8a7735) - [ux]
|
|
1277
|
+
`AtlaskitThemeProvider` (deprecated) applies a colour reset to anchor tags. This was impacting
|
|
1278
|
+
the colouring of `@atlaskit/button`. To go around specificity issues caused by
|
|
1279
|
+
`AtlaskitThemeProvider` in the past `@atlaskit/button` would apply a `!important` to it's
|
|
1280
|
+
`color` values. We have changed `AtlaskitThemeProvider` so that it will no longer impact the
|
|
1281
|
+
`color` values of `@atlaskit/button`
|
|
1282
|
+
- Updated dependencies
|
|
966
1283
|
|
|
967
1284
|
## 14.0.4
|
|
968
1285
|
|
|
969
1286
|
### Patch Changes
|
|
970
1287
|
|
|
971
|
-
-
|
|
1288
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707)
|
|
1289
|
+
[`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable
|
|
1290
|
+
integration tests for Edge browser
|
|
972
1291
|
|
|
973
1292
|
## 14.0.3
|
|
974
1293
|
|
|
975
1294
|
### Patch Changes
|
|
976
1295
|
|
|
977
|
-
-
|
|
1296
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
1297
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
1298
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
978
1299
|
|
|
979
|
-
|
|
980
|
-
|
|
1300
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this
|
|
1301
|
+
tslib upgrade to prevent duplicates of tslib being bundled.
|
|
981
1302
|
|
|
982
1303
|
## 14.0.2
|
|
983
1304
|
|
|
984
1305
|
### Patch Changes
|
|
985
1306
|
|
|
986
|
-
-
|
|
1307
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
1308
|
+
[`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form
|
|
1309
|
+
elements now have a default font explicitly set
|
|
987
1310
|
|
|
988
1311
|
## 14.0.1
|
|
989
1312
|
|
|
990
1313
|
### Patch Changes
|
|
991
1314
|
|
|
992
|
-
-
|
|
1315
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
|
|
1316
|
+
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The
|
|
1317
|
+
readme and package information has been updated to point to the new design system website.
|
|
993
1318
|
|
|
994
1319
|
## 14.0.0
|
|
995
1320
|
|
|
996
1321
|
### Major Changes
|
|
997
1322
|
|
|
998
|
-
-
|
|
999
|
-
|
|
1323
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
1324
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
|
|
1325
|
+
Officially dropping IE11 support, from this version onwards there are no warranties of the
|
|
1326
|
+
package working in IE11. For more information see:
|
|
1327
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
1000
1328
|
|
|
1001
1329
|
### Patch Changes
|
|
1002
1330
|
|
|
1003
|
-
-
|
|
1331
|
+
- Updated dependencies
|
|
1004
1332
|
|
|
1005
1333
|
## 13.4.2
|
|
1006
1334
|
|
|
1007
1335
|
### Patch Changes
|
|
1008
1336
|
|
|
1009
|
-
-
|
|
1337
|
+
- Updated dependencies
|
|
1010
1338
|
|
|
1011
1339
|
## 13.4.1
|
|
1012
1340
|
|
|
1013
1341
|
### Patch Changes
|
|
1014
1342
|
|
|
1015
|
-
-
|
|
1343
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
1344
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build
|
|
1345
|
+
and supporting files will no longer be published to npm
|
|
1016
1346
|
|
|
1017
1347
|
## 13.4.0
|
|
1018
1348
|
|
|
1019
1349
|
### Minor Changes
|
|
1020
1350
|
|
|
1021
|
-
-
|
|
1351
|
+
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
|
|
1352
|
+
[`afc842d132`](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc842d132) - FIX:
|
|
1353
|
+
Buton text font-weight changed from normal to medium as per ADG spec
|
|
1022
1354
|
|
|
1023
1355
|
### Patch Changes
|
|
1024
1356
|
|
|
1025
|
-
-
|
|
1026
|
-
|
|
1357
|
+
- [`98f462e2aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f462e2aa) - Bumping
|
|
1358
|
+
use the latest version of @atlaskit/spinner
|
|
1359
|
+
- Updated dependencies
|
|
1027
1360
|
|
|
1028
1361
|
## 13.3.12
|
|
1029
1362
|
|
|
1030
1363
|
### Patch Changes
|
|
1031
1364
|
|
|
1032
|
-
-
|
|
1365
|
+
- Updated dependencies
|
|
1033
1366
|
|
|
1034
1367
|
## 13.3.11
|
|
1035
1368
|
|
|
1036
1369
|
### Patch Changes
|
|
1037
1370
|
|
|
1038
|
-
-
|
|
1371
|
+
- [patch][6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
|
|
1039
1372
|
|
|
1040
|
-
|
|
1373
|
+
Change imports to comply with Atlassian conventions-
|
|
1374
|
+
[patch][57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
|
|
1041
1375
|
|
|
1042
|
-
|
|
1376
|
+
FIX: Button focus ring color changed to B100- Updated dependencies
|
|
1377
|
+
[449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
|
|
1043
1378
|
|
|
1044
|
-
-
|
|
1045
|
-
|
|
1046
|
-
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1379
|
+
- Updated dependencies
|
|
1380
|
+
[f6667f2909](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6667f2909):
|
|
1381
|
+
- Updated dependencies
|
|
1382
|
+
[68ff159118](https://bitbucket.org/atlassian/atlassian-frontend/commits/68ff159118):
|
|
1383
|
+
- Updated dependencies
|
|
1384
|
+
[6efb12e06d](https://bitbucket.org/atlassian/atlassian-frontend/commits/6efb12e06d):
|
|
1385
|
+
- Updated dependencies
|
|
1386
|
+
[fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
|
|
1387
|
+
- @atlaskit/icon@20.1.1
|
|
1388
|
+
- @atlaskit/select@11.0.10
|
|
1389
|
+
- @atlaskit/logo@12.3.4
|
|
1390
|
+
- @atlaskit/checkbox@10.1.11
|
|
1391
|
+
- @atlaskit/webdriver-runner@0.3.4
|
|
1053
1392
|
|
|
1054
1393
|
## 13.3.10
|
|
1055
1394
|
|
|
1056
1395
|
### Patch Changes
|
|
1057
1396
|
|
|
1058
|
-
-
|
|
1397
|
+
- [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
1059
1398
|
|
|
1060
|
-
|
|
1399
|
+
Deletes internal package @atlaskit/type-helpers and removes all usages. @atlaskit/type-helpers
|
|
1400
|
+
has been superseded by native typescript helper utilities.- Updated dependencies
|
|
1401
|
+
[168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
|
|
1061
1402
|
|
|
1062
|
-
-
|
|
1063
|
-
|
|
1064
|
-
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1403
|
+
- Updated dependencies
|
|
1404
|
+
[0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
|
|
1405
|
+
- Updated dependencies
|
|
1406
|
+
[109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
1407
|
+
- Updated dependencies
|
|
1408
|
+
[b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
|
|
1409
|
+
- @atlaskit/docs@8.5.1
|
|
1410
|
+
- @atlaskit/theme@9.5.3
|
|
1411
|
+
- @atlaskit/analytics-next@6.3.6
|
|
1068
1412
|
|
|
1069
1413
|
## 13.3.9
|
|
1070
1414
|
|
|
1071
1415
|
### Patch Changes
|
|
1072
1416
|
|
|
1073
|
-
-
|
|
1074
|
-
|
|
1075
|
-
-
|
|
1076
|
-
|
|
1077
|
-
-
|
|
1078
|
-
|
|
1079
|
-
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1417
|
+
- Updated dependencies
|
|
1418
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
1419
|
+
- Updated dependencies
|
|
1420
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
1421
|
+
- Updated dependencies
|
|
1422
|
+
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
|
|
1423
|
+
- Updated dependencies
|
|
1424
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
1425
|
+
- Updated dependencies
|
|
1426
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
1427
|
+
- Updated dependencies
|
|
1428
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
1429
|
+
- Updated dependencies
|
|
1430
|
+
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
|
|
1431
|
+
- Updated dependencies
|
|
1432
|
+
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
|
|
1433
|
+
- @atlaskit/docs@8.4.0
|
|
1434
|
+
- @atlaskit/icon@20.1.0
|
|
1435
|
+
- @atlaskit/logo@12.3.3
|
|
1436
|
+
- @atlaskit/webdriver-runner@0.3.0
|
|
1437
|
+
- @atlaskit/checkbox@10.1.10
|
|
1438
|
+
- @atlaskit/select@11.0.9
|
|
1439
|
+
- @atlaskit/spinner@12.1.6
|
|
1088
1440
|
|
|
1089
1441
|
## 13.3.8
|
|
1090
1442
|
|
|
1091
1443
|
### Patch Changes
|
|
1092
1444
|
|
|
1093
|
-
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1445
|
+
- Updated dependencies
|
|
1446
|
+
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
|
|
1447
|
+
- @atlaskit/webdriver-runner@0.2.0
|
|
1448
|
+
- @atlaskit/checkbox@10.1.9
|
|
1449
|
+
- @atlaskit/select@11.0.8
|
|
1450
|
+
- @atlaskit/spinner@12.1.5
|
|
1098
1451
|
|
|
1099
1452
|
## 13.3.7
|
|
1100
1453
|
|
|
1101
1454
|
### Patch Changes
|
|
1102
1455
|
|
|
1103
|
-
-
|
|
1456
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1104
1457
|
|
|
1105
|
-
|
|
1458
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1459
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1106
1460
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1461
|
+
- @atlaskit/docs@8.3.2
|
|
1462
|
+
- @atlaskit/visual-regression@0.1.9
|
|
1463
|
+
- @atlaskit/analytics-next@6.3.5
|
|
1464
|
+
- @atlaskit/checkbox@10.1.7
|
|
1465
|
+
- @atlaskit/icon@20.0.1
|
|
1466
|
+
- @atlaskit/logo@12.3.2
|
|
1467
|
+
- @atlaskit/select@11.0.7
|
|
1468
|
+
- @atlaskit/spinner@12.1.4
|
|
1469
|
+
- @atlaskit/theme@9.5.1
|
|
1470
|
+
- @atlaskit/type-helpers@4.2.3
|
|
1117
1471
|
|
|
1118
1472
|
## 13.3.6
|
|
1119
1473
|
|
|
1120
1474
|
### Patch Changes
|
|
1121
1475
|
|
|
1122
|
-
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1476
|
+
- Updated dependencies
|
|
1477
|
+
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
1478
|
+
- @atlaskit/icon@20.0.0
|
|
1479
|
+
- @atlaskit/logo@12.3.1
|
|
1480
|
+
- @atlaskit/docs@8.3.1
|
|
1481
|
+
- @atlaskit/checkbox@10.1.6
|
|
1482
|
+
- @atlaskit/select@11.0.6
|
|
1128
1483
|
|
|
1129
1484
|
## 13.3.5
|
|
1130
1485
|
|
|
1131
1486
|
### Patch Changes
|
|
1132
1487
|
|
|
1133
|
-
-
|
|
1488
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
1134
1489
|
|
|
1135
|
-
|
|
1490
|
+
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
|
|
1491
|
+
Updated dependencies
|
|
1492
|
+
[28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
|
|
1136
1493
|
|
|
1137
|
-
-
|
|
1138
|
-
|
|
1139
|
-
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1494
|
+
- Updated dependencies
|
|
1495
|
+
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
1496
|
+
- Updated dependencies
|
|
1497
|
+
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
1498
|
+
- Updated dependencies
|
|
1499
|
+
[6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866):
|
|
1500
|
+
- @atlaskit/icon@19.1.0
|
|
1501
|
+
- @atlaskit/theme@9.5.0
|
|
1502
|
+
- @atlaskit/checkbox@10.1.5
|
|
1503
|
+
- @atlaskit/select@11.0.4
|
|
1504
|
+
- @atlaskit/spinner@12.1.3
|
|
1145
1505
|
|
|
1146
1506
|
## 13.3.4
|
|
1147
1507
|
|
|
1148
1508
|
### Patch Changes
|
|
1149
1509
|
|
|
1150
|
-
-
|
|
1510
|
+
- [patch][30acc30979](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/30acc30979):
|
|
1151
1511
|
|
|
1152
|
-
|
|
1512
|
+
@atlaskit/select has been converted to Typescript. Typescript consumers will now get static type
|
|
1513
|
+
safety. Flow types are no longer provided. No API or behavioural changes.
|
|
1153
1514
|
|
|
1154
1515
|
## 13.3.3
|
|
1155
1516
|
|
|
1156
1517
|
### Patch Changes
|
|
1157
1518
|
|
|
1158
|
-
-
|
|
1519
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
1159
1520
|
|
|
1160
|
-
|
|
1521
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
1161
1522
|
|
|
1162
1523
|
## 13.3.2
|
|
1163
1524
|
|
|
1164
1525
|
### Patch Changes
|
|
1165
1526
|
|
|
1166
|
-
-
|
|
1527
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
1167
1528
|
|
|
1168
|
-
|
|
1529
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
1169
1530
|
|
|
1170
1531
|
## 13.3.1
|
|
1171
1532
|
|
|
1172
|
-
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1533
|
+
- Updated dependencies
|
|
1534
|
+
[97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
|
|
1535
|
+
- @atlaskit/select@10.1.1
|
|
1536
|
+
- @atlaskit/checkbox@10.0.0
|
|
1537
|
+
- @atlaskit/docs@8.1.7
|
|
1176
1538
|
|
|
1177
1539
|
## 13.3.0
|
|
1178
1540
|
|
|
1179
1541
|
### Minor Changes
|
|
1180
1542
|
|
|
1181
|
-
-
|
|
1543
|
+
- [minor][66e147e6a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/66e147e6a1):
|
|
1182
1544
|
|
|
1183
|
-
|
|
1545
|
+
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
|
|
1546
|
+
products to write better integration and end to end tests.
|
|
1184
1547
|
|
|
1185
1548
|
## 13.2.0
|
|
1186
1549
|
|
|
1187
1550
|
### Minor Changes
|
|
1188
1551
|
|
|
1189
|
-
-
|
|
1552
|
+
- [minor][93022be303](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93022be303):
|
|
1190
1553
|
|
|
1191
|
-
|
|
1554
|
+
Align button and subtle button text colour with ADG guidelines (improved contrast)
|
|
1192
1555
|
|
|
1193
1556
|
## 13.1.7
|
|
1194
1557
|
|
|
1195
1558
|
### Patch Changes
|
|
1196
1559
|
|
|
1197
|
-
-
|
|
1560
|
+
- [patch][67a3a1ee02](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67a3a1ee02):
|
|
1198
1561
|
|
|
1199
|
-
|
|
1562
|
+
Converts prop types to interfaces
|
|
1200
1563
|
|
|
1201
1564
|
## 13.1.6
|
|
1202
1565
|
|
|
1203
1566
|
### Patch Changes
|
|
1204
1567
|
|
|
1205
|
-
-
|
|
1568
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
1206
1569
|
|
|
1207
|
-
|
|
1570
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
1571
|
+
non-relative imports as relative imports
|
|
1208
1572
|
|
|
1209
1573
|
## 13.1.5
|
|
1210
1574
|
|
|
1211
1575
|
### Patch Changes
|
|
1212
1576
|
|
|
1213
|
-
-
|
|
1577
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
1214
1578
|
|
|
1215
|
-
|
|
1579
|
+
Upgraded Typescript to 3.3.x
|
|
1216
1580
|
|
|
1217
1581
|
## 13.1.4
|
|
1218
1582
|
|
|
1219
1583
|
### Patch Changes
|
|
1220
1584
|
|
|
1221
|
-
-
|
|
1585
|
+
- [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
|
|
1222
1586
|
|
|
1223
|
-
|
|
1587
|
+
Bumping internal dependency (memoize-one) to latest version (5.1.0). memoize-one@5.1.0 has full
|
|
1588
|
+
typescript support so it is recommended that typescript consumers use it also.
|
|
1224
1589
|
|
|
1225
1590
|
## 13.1.3
|
|
1226
1591
|
|
|
1227
1592
|
### Patch Changes
|
|
1228
1593
|
|
|
1229
|
-
-
|
|
1594
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
1230
1595
|
|
|
1231
|
-
|
|
1596
|
+
Updates component maintainers
|
|
1232
1597
|
|
|
1233
1598
|
## 13.1.2
|
|
1234
1599
|
|
|
1235
1600
|
### Patch Changes
|
|
1236
1601
|
|
|
1237
|
-
-
|
|
1602
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
1238
1603
|
|
|
1239
|
-
|
|
1604
|
+
Analytics-next has been converted to Typescript. Typescript consumers will now get static type
|
|
1605
|
+
safety. Flow types are no longer provided. No behavioural changes.
|
|
1240
1606
|
|
|
1241
|
-
|
|
1607
|
+
**Breaking changes**
|
|
1242
1608
|
|
|
1243
|
-
|
|
1244
|
-
|
|
1609
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1610
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1245
1611
|
|
|
1246
|
-
|
|
1612
|
+
**Breaking changes to TypeScript annotations**
|
|
1247
1613
|
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1614
|
+
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to
|
|
1615
|
+
provide props as a generic type.
|
|
1616
|
+
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to
|
|
1617
|
+
provide props as a generic type.
|
|
1618
|
+
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match
|
|
1619
|
+
source code
|
|
1620
|
+
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match
|
|
1621
|
+
source code
|
|
1622
|
+
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to
|
|
1623
|
+
match source code
|
|
1624
|
+
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
|
|
1625
|
+
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
|
|
1626
|
+
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
|
|
1627
|
+
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
|
|
1628
|
+
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
|
|
1629
|
+
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
|
|
1259
1630
|
|
|
1260
1631
|
## 13.1.1
|
|
1261
1632
|
|
|
1262
1633
|
### Patch Changes
|
|
1263
1634
|
|
|
1264
|
-
-
|
|
1635
|
+
- [patch][688f2957ca](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/688f2957ca):
|
|
1265
1636
|
|
|
1266
|
-
|
|
1637
|
+
Fixes various TypeScript errors which were previously failing silently
|
|
1267
1638
|
|
|
1268
1639
|
## 13.1.0
|
|
1269
1640
|
|
|
1270
1641
|
### Minor Changes
|
|
1271
1642
|
|
|
1272
|
-
-
|
|
1643
|
+
- [minor][8fcbe23ec6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8fcbe23ec6):
|
|
1273
1644
|
|
|
1274
|
-
|
|
1645
|
+
Updated types for analytics-next and buttons to make them easier to consume
|
|
1275
1646
|
|
|
1276
1647
|
## 13.0.16
|
|
1277
1648
|
|
|
1278
1649
|
### Patch Changes
|
|
1279
1650
|
|
|
1280
|
-
-
|
|
1651
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
1281
1652
|
|
|
1282
|
-
|
|
1653
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
1283
1654
|
|
|
1284
1655
|
## 13.0.15
|
|
1285
1656
|
|
|
1286
1657
|
### Patch Changes
|
|
1287
1658
|
|
|
1288
|
-
-
|
|
1659
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
1289
1660
|
|
|
1290
|
-
|
|
1661
|
+
Fixes bug, missing version.json file
|
|
1291
1662
|
|
|
1292
1663
|
## 13.0.14
|
|
1293
1664
|
|
|
1294
1665
|
### Patch Changes
|
|
1295
1666
|
|
|
1296
|
-
-
|
|
1667
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
1297
1668
|
|
|
1298
|
-
|
|
1669
|
+
In this PR, we are:
|
|
1299
1670
|
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1671
|
+
- Re-introducing dist build folders
|
|
1672
|
+
- Adding back cjs
|
|
1673
|
+
- Replacing es5 by cjs and es2015 by esm
|
|
1674
|
+
- Creating folders at the root for entry-points
|
|
1675
|
+
- Removing the generation of the entry-points at the root Please see this
|
|
1676
|
+
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
|
|
1677
|
+
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
|
|
1678
|
+
for further details
|
|
1306
1679
|
|
|
1307
1680
|
## 13.0.13
|
|
1308
1681
|
|
|
1309
1682
|
### Patch Changes
|
|
1310
1683
|
|
|
1311
|
-
-
|
|
1684
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
1312
1685
|
|
|
1313
|
-
|
|
1686
|
+
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide
|
|
1687
|
+
props as a generic type. This is so that TypeScript can correctly calculate the props and
|
|
1688
|
+
defaultProps of the returned component.
|
|
1314
1689
|
|
|
1315
|
-
|
|
1690
|
+
Before:
|
|
1316
1691
|
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1692
|
+
```typescript
|
|
1693
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
1694
|
+
```
|
|
1320
1695
|
|
|
1321
|
-
|
|
1696
|
+
After:
|
|
1322
1697
|
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1698
|
+
```typescript
|
|
1699
|
+
withAnalyticsEvents<Props>()(Button);
|
|
1700
|
+
```
|
|
1326
1701
|
|
|
1327
1702
|
## 13.0.12
|
|
1328
1703
|
|
|
1329
1704
|
### Patch Changes
|
|
1330
1705
|
|
|
1331
|
-
-
|
|
1706
|
+
- [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
|
|
1332
1707
|
|
|
1333
|
-
|
|
1708
|
+
Use default react import in typescript files.
|
|
1334
1709
|
|
|
1335
1710
|
## 13.0.11
|
|
1336
1711
|
|
|
1337
|
-
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1712
|
+
- Updated dependencies
|
|
1713
|
+
[790e66bece](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/790e66bece):
|
|
1714
|
+
- @atlaskit/logo@12.1.1
|
|
1715
|
+
- @atlaskit/select@10.0.0
|
|
1340
1716
|
|
|
1341
1717
|
## 13.0.10
|
|
1342
1718
|
|
|
1343
|
-
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1719
|
+
- Updated dependencies
|
|
1720
|
+
[87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
|
|
1721
|
+
- @atlaskit/select@9.1.10
|
|
1722
|
+
- @atlaskit/checkbox@9.0.0
|
|
1346
1723
|
|
|
1347
1724
|
## 13.0.9
|
|
1348
1725
|
|
|
1349
|
-
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1726
|
+
- Updated dependencies
|
|
1727
|
+
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
|
|
1728
|
+
- @atlaskit/docs@8.1.3
|
|
1729
|
+
- @atlaskit/checkbox@8.0.5
|
|
1730
|
+
- @atlaskit/select@9.1.8
|
|
1731
|
+
- @atlaskit/icon@19.0.0
|
|
1354
1732
|
|
|
1355
1733
|
## 13.0.8
|
|
1356
1734
|
|
|
1357
|
-
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1735
|
+
- Updated dependencies
|
|
1736
|
+
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
|
|
1737
|
+
- @atlaskit/docs@8.1.2
|
|
1738
|
+
- @atlaskit/checkbox@8.0.2
|
|
1739
|
+
- @atlaskit/select@9.1.5
|
|
1740
|
+
- @atlaskit/icon@18.0.0
|
|
1362
1741
|
|
|
1363
1742
|
## 13.0.7
|
|
1364
1743
|
|
|
1365
1744
|
### Patch Changes
|
|
1366
1745
|
|
|
1367
|
-
-
|
|
1746
|
+
- [patch][aaf9d37b31](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aaf9d37b31):
|
|
1368
1747
|
|
|
1369
|
-
|
|
1748
|
+
Move @types/react-router-dom to devDependencies
|
|
1370
1749
|
|
|
1371
1750
|
## 13.0.6
|
|
1372
1751
|
|
|
1373
|
-
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1752
|
+
- Updated dependencies
|
|
1753
|
+
[70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
|
|
1754
|
+
- @atlaskit/select@9.1.4
|
|
1755
|
+
- @atlaskit/checkbox@8.0.0
|
|
1756
|
+
- @atlaskit/icon@17.2.0
|
|
1757
|
+
- @atlaskit/theme@9.1.0
|
|
1378
1758
|
|
|
1379
1759
|
## 13.0.5
|
|
1380
1760
|
|
|
1381
|
-
-
|
|
1761
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
1382
1762
|
|
|
1383
|
-
|
|
1763
|
+
- This is just a safety release in case anything strange happened in in the previous one. See
|
|
1764
|
+
Pull Request #5942 for details
|
|
1384
1765
|
|
|
1385
1766
|
## 13.0.4
|
|
1386
1767
|
|
|
1387
|
-
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1768
|
+
- Updated dependencies
|
|
1769
|
+
[215688984e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/215688984e):
|
|
1770
|
+
- @atlaskit/select@9.1.2
|
|
1771
|
+
- @atlaskit/spinner@12.0.0
|
|
1390
1772
|
|
|
1391
1773
|
## 13.0.3
|
|
1392
1774
|
|
|
1393
|
-
-
|
|
1775
|
+
- [patch][2a2d2060ae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2a2d2060ae):
|
|
1394
1776
|
|
|
1395
|
-
|
|
1777
|
+
- Fixing invalid style for isLoading button
|
|
1396
1778
|
|
|
1397
1779
|
## 13.0.2
|
|
1398
1780
|
|
|
1399
|
-
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1781
|
+
- Updated dependencies
|
|
1782
|
+
[4b07b57640](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4b07b57640):
|
|
1783
|
+
- @atlaskit/icon@17.0.2
|
|
1784
|
+
- @atlaskit/select@9.1.1
|
|
1785
|
+
- @atlaskit/logo@12.0.0
|
|
1403
1786
|
|
|
1404
1787
|
## 13.0.1
|
|
1405
1788
|
|
|
1406
|
-
-
|
|
1789
|
+
- [patch][754f83b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/754f83b6f0):
|
|
1407
1790
|
|
|
1408
|
-
|
|
1791
|
+
- Makes dependency on @atlaskit/spinner a caret version. No API or behaviour changes.
|
|
1409
1792
|
|
|
1410
1793
|
## 13.0.0
|
|
1411
1794
|
|
|
1412
|
-
-
|
|
1795
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1413
1796
|
|
|
1414
|
-
|
|
1797
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1798
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
1415
1799
|
|
|
1416
1800
|
## 12.0.8
|
|
1417
1801
|
|
|
1418
|
-
-
|
|
1802
|
+
- [hotfix] fixes style error and changes spinner to a caret version.
|
|
1419
1803
|
|
|
1420
1804
|
## 12.0.7
|
|
1421
1805
|
|
|
1422
|
-
-
|
|
1806
|
+
- BROKEN RELEASE. DO NOT USE.
|
|
1423
1807
|
|
|
1424
1808
|
## 12.0.6
|
|
1425
1809
|
|
|
1426
|
-
-
|
|
1810
|
+
- [patch][e0e3fabf8e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e0e3fabf8e):
|
|
1427
1811
|
|
|
1428
|
-
|
|
1812
|
+
- Change button to use theme's multiple entry points. This should reduce the bundle size of
|
|
1813
|
+
button
|
|
1429
1814
|
|
|
1430
1815
|
## 12.0.5
|
|
1431
1816
|
|
|
1432
|
-
-
|
|
1817
|
+
- [patch][d3cad2622e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3cad2622e):
|
|
1433
1818
|
|
|
1434
|
-
|
|
1819
|
+
- Removes babel-runtime in favour of @babel/runtime
|
|
1435
1820
|
|
|
1436
1821
|
## 12.0.4
|
|
1437
1822
|
|
|
1438
|
-
-
|
|
1823
|
+
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
|
1439
1824
|
|
|
1440
|
-
|
|
1825
|
+
- Bump tslib
|
|
1441
1826
|
|
|
1442
1827
|
## 12.0.3
|
|
1443
1828
|
|
|
1444
|
-
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1829
|
+
- Updated dependencies
|
|
1830
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
1831
|
+
- @atlaskit/docs@7.0.3
|
|
1832
|
+
- @atlaskit/checkbox@6.0.4
|
|
1833
|
+
- @atlaskit/icon@16.0.9
|
|
1834
|
+
- @atlaskit/logo@10.0.4
|
|
1835
|
+
- @atlaskit/spinner@10.0.7
|
|
1836
|
+
- @atlaskit/theme@8.1.7
|
|
1451
1837
|
|
|
1452
1838
|
## 12.0.2
|
|
1453
1839
|
|
|
1454
|
-
-
|
|
1840
|
+
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
1455
1841
|
|
|
1456
|
-
|
|
1842
|
+
- @atlaskit/analytics-next-types is deprecated. Now you can use types for
|
|
1843
|
+
@atlaskit/analytics-next supplied from itself.
|
|
1457
1844
|
|
|
1458
1845
|
## 12.0.1
|
|
1459
1846
|
|
|
1460
|
-
-
|
|
1461
|
-
|
|
1847
|
+
- Updated dependencies
|
|
1848
|
+
[d263485853](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d263485853):
|
|
1849
|
+
- @atlaskit/spinner@10.0.6
|
|
1462
1850
|
|
|
1463
1851
|
## 12.0.0
|
|
1464
1852
|
|
|
1465
|
-
-
|
|
1853
|
+
- [major][1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
1466
1854
|
|
|
1467
|
-
|
|
1855
|
+
**Highlights**
|
|
1468
1856
|
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1857
|
+
- **New theming API** - Button now supports the new Atlaskit theming API, which allows for
|
|
1858
|
+
powerful custom theming of Buttons and its internal components.
|
|
1859
|
+
- **Speed improvements** - Button has been re-written from the ground up - on heavy-load
|
|
1860
|
+
benchmarks, Button is twice as fast (taking 48% of the time to load).
|
|
1861
|
+
- **Emotion support** - Button is now built using Emotion 10! This is part of a wider push for
|
|
1862
|
+
Emotion across all Atlaskit components.
|
|
1475
1863
|
|
|
1476
|
-
|
|
1864
|
+
**Breaking Changes:**
|
|
1477
1865
|
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1866
|
+
- The old theming API is no longer supported.
|
|
1867
|
+
- Styling a Button using Styled Components is no longer supported.
|
|
1868
|
+
- Button exports a Theme to use as context instead of using Styled Components' ThemeProvider.
|
|
1869
|
+
- Camel-case ARIA props have been renamed (**ariaExpanded**, **ariaHaspopup** and
|
|
1870
|
+
**ariaLabel**).
|
|
1482
1871
|
|
|
1483
|
-
|
|
1872
|
+
See the [upgrade guide](https://atlaskit.atlassian.com/packages/core/button/docs/upgrade-guide)
|
|
1873
|
+
for more details
|
|
1484
1874
|
|
|
1485
1875
|
## 11.0.11
|
|
1486
1876
|
|
|
1487
|
-
-
|
|
1877
|
+
- [patch][f8d92ffc5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8d92ffc5e):
|
|
1488
1878
|
|
|
1489
|
-
|
|
1879
|
+
- Revert the change to consume entry points from theme
|
|
1490
1880
|
|
|
1491
1881
|
## 11.0.10
|
|
1492
1882
|
|
|
1493
|
-
-
|
|
1883
|
+
- [patch][5e3ad7f751](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5e3ad7f751):
|
|
1494
1884
|
|
|
1495
|
-
|
|
1885
|
+
- Importing theme components from the root theme package instead of the theme build file
|
|
1496
1886
|
|
|
1497
1887
|
## 11.0.9
|
|
1498
1888
|
|
|
1499
|
-
-
|
|
1889
|
+
- [patch][872b3b905a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/872b3b905a):
|
|
1500
1890
|
|
|
1501
|
-
|
|
1891
|
+
- Updates theme to the version which exposes multiple entry points
|
|
1502
1892
|
|
|
1503
1893
|
## 11.0.8
|
|
1504
1894
|
|
|
1505
|
-
-
|
|
1895
|
+
- [patch][22ce87801e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/22ce87801e):
|
|
1506
1896
|
|
|
1507
|
-
|
|
1897
|
+
- Optimised usages of theme in button using multiple entry points
|
|
1508
1898
|
|
|
1509
1899
|
## 11.0.7
|
|
1510
1900
|
|
|
1511
|
-
-
|
|
1901
|
+
- [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
|
|
1512
1902
|
|
|
1513
|
-
|
|
1903
|
+
- Enable esModuleInterop for typescript, this allows correct use of default exports
|
|
1514
1904
|
|
|
1515
1905
|
## 11.0.6
|
|
1516
1906
|
|
|
1517
|
-
-
|
|
1518
|
-
|
|
1907
|
+
- Updated dependencies
|
|
1908
|
+
[fd940a833b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fd940a833b):
|
|
1909
|
+
- @atlaskit/spinner@10.0.4
|
|
1519
1910
|
|
|
1520
1911
|
## 11.0.5
|
|
1521
1912
|
|
|
1522
|
-
-
|
|
1913
|
+
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
1523
1914
|
|
|
1524
|
-
|
|
1915
|
+
- Removes duplicate babel-runtime dependency
|
|
1525
1916
|
|
|
1526
1917
|
## 11.0.4
|
|
1527
1918
|
|
|
1528
|
-
-
|
|
1529
|
-
|
|
1919
|
+
- Updated dependencies
|
|
1920
|
+
[986c5e47c8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/986c5e47c8):
|
|
1921
|
+
- @atlaskit/spinner@10.0.2
|
|
1530
1922
|
|
|
1531
1923
|
## 11.0.3
|
|
1532
1924
|
|
|
1533
|
-
-
|
|
1925
|
+
- [patch][59d4ab031b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/59d4ab031b):
|
|
1534
1926
|
|
|
1535
|
-
|
|
1927
|
+
- Call mouse handlers (e.g. onMouseDown) which are passed in as props
|
|
1536
1928
|
|
|
1537
1929
|
## 11.0.2
|
|
1538
1930
|
|
|
1539
|
-
-
|
|
1931
|
+
- [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
|
|
1540
1932
|
|
|
1541
|
-
|
|
1933
|
+
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of
|
|
1934
|
+
index.js
|
|
1542
1935
|
|
|
1543
1936
|
## 11.0.1
|
|
1544
1937
|
|
|
1545
|
-
-
|
|
1938
|
+
- [patch][90a14be594](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90a14be594):
|
|
1546
1939
|
|
|
1547
|
-
|
|
1940
|
+
- Fix broken type-helpers
|
|
1548
1941
|
|
|
1549
1942
|
## 11.0.0
|
|
1550
1943
|
|
|
1551
|
-
-
|
|
1944
|
+
- [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
1552
1945
|
|
|
1553
|
-
|
|
1946
|
+
- Dropped ES5 distributables from the typescript packages
|
|
1554
1947
|
|
|
1555
1948
|
## 10.1.3
|
|
1556
1949
|
|
|
1557
|
-
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1950
|
+
- Updated dependencies
|
|
1951
|
+
[76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1952
|
+
- @atlaskit/icon@16.0.4
|
|
1953
|
+
- @atlaskit/docs@7.0.0
|
|
1954
|
+
- @atlaskit/analytics-next@4.0.0
|
|
1955
|
+
- @atlaskit/checkbox@6.0.0
|
|
1956
|
+
- @atlaskit/logo@10.0.0
|
|
1957
|
+
- @atlaskit/spinner@10.0.0
|
|
1958
|
+
- @atlaskit/theme@8.0.0
|
|
1565
1959
|
|
|
1566
1960
|
## 10.1.2
|
|
1567
1961
|
|
|
1568
|
-
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1962
|
+
- Updated dependencies
|
|
1963
|
+
[d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
|
|
1964
|
+
- @atlaskit/docs@6.0.1
|
|
1965
|
+
- @atlaskit/checkbox@5.0.11
|
|
1966
|
+
- @atlaskit/icon@16.0.0
|
|
1572
1967
|
|
|
1573
1968
|
## 10.1.1
|
|
1574
1969
|
|
|
1575
|
-
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1970
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
1971
|
+
- @atlaskit/analytics-next@3.1.2
|
|
1972
|
+
- @atlaskit/checkbox@5.0.9
|
|
1973
|
+
- @atlaskit/icon@15.0.2
|
|
1974
|
+
- @atlaskit/logo@9.2.6
|
|
1975
|
+
- @atlaskit/spinner@9.0.13
|
|
1976
|
+
- @atlaskit/theme@7.0.1
|
|
1977
|
+
- @atlaskit/docs@6.0.0
|
|
1583
1978
|
|
|
1584
1979
|
## 10.1.0
|
|
1585
1980
|
|
|
1586
|
-
-
|
|
1981
|
+
- [minor][36929ef](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36929ef):
|
|
1587
1982
|
|
|
1588
|
-
|
|
1983
|
+
- Add reset as it is listed as a valid type for button and is useful when building forms
|
|
1589
1984
|
|
|
1590
1985
|
## 10.0.4
|
|
1591
1986
|
|
|
1592
|
-
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1987
|
+
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
1988
|
+
- @atlaskit/docs@5.2.3
|
|
1989
|
+
- @atlaskit/checkbox@5.0.8
|
|
1990
|
+
- @atlaskit/icon@15.0.1
|
|
1991
|
+
- @atlaskit/logo@9.2.5
|
|
1992
|
+
- @atlaskit/spinner@9.0.12
|
|
1993
|
+
- @atlaskit/theme@7.0.0
|
|
1599
1994
|
|
|
1600
1995
|
## 10.0.3
|
|
1601
1996
|
|
|
1602
|
-
-
|
|
1997
|
+
- [patch][76a8f1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76a8f1c):
|
|
1603
1998
|
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1999
|
+
- Convert @atlaskit/textarea to Typescript
|
|
2000
|
+
- Dist paths have changed, if you are importing by exact file path you will need to update
|
|
2001
|
+
your imports `import '@atlaskit/button/dist/es5/components/ButtonGroup'`
|
|
2002
|
+
- Flow types are not present any more, Typescript definitions are shipped instead
|
|
1607
2003
|
|
|
1608
2004
|
## 10.0.2
|
|
1609
2005
|
|
|
1610
|
-
-
|
|
2006
|
+
- [patch][8f89287](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8f89287):
|
|
1611
2007
|
|
|
1612
|
-
|
|
2008
|
+
- Add tslib to dependencies to stop load breaking when it's not there
|
|
1613
2009
|
|
|
1614
2010
|
## 10.0.1
|
|
1615
2011
|
|
|
1616
|
-
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
2012
|
+
- Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
|
|
2013
|
+
- @atlaskit/docs@5.2.2
|
|
2014
|
+
- @atlaskit/checkbox@5.0.7
|
|
2015
|
+
- @atlaskit/icon@15.0.0
|
|
1620
2016
|
|
|
1621
2017
|
## 10.0.0
|
|
1622
2018
|
|
|
1623
|
-
-
|
|
2019
|
+
- [major][6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
|
|
1624
2020
|
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
2021
|
+
- Converted @atlaskit/button to Typescript
|
|
2022
|
+
- Dist paths have changed, if you are importing by exact file path you will need to update
|
|
2023
|
+
your imports
|
|
2024
|
+
- E.g. `import '@atlaskit/button/dist/cjs/components/ButtonGroup';` would need to be
|
|
2025
|
+
updated to `import '@atlaskit/button/dist/es5/components/ButtonGroup'`
|
|
2026
|
+
- Flow types are not present any more, Typescript definitions are shipped instead
|
|
1629
2027
|
|
|
1630
|
-
-
|
|
1631
|
-
|
|
1632
|
-
|
|
2028
|
+
- Updated dependencies [bfac186](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bfac186):
|
|
2029
|
+
- @atlaskit/analytics-next-types@3.1.2
|
|
2030
|
+
- @atlaskit/type-helpers@2.0.0
|
|
1633
2031
|
|
|
1634
2032
|
## 9.0.16
|
|
1635
2033
|
|
|
1636
|
-
-
|
|
2034
|
+
- [patch] Fix truncation in button
|
|
2035
|
+
[508ca2c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/508ca2c)
|
|
1637
2036
|
|
|
1638
2037
|
## 9.0.15
|
|
1639
2038
|
|
|
1640
|
-
-
|
|
2039
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
2040
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1641
2041
|
|
|
1642
2042
|
## 9.0.14
|
|
1643
2043
|
|
|
1644
|
-
-
|
|
2044
|
+
- [patch] Fix styling of button rendering icon in IE
|
|
2045
|
+
[b4c5b87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b4c5b87)
|
|
1645
2046
|
|
|
1646
2047
|
## 9.0.13
|
|
1647
2048
|
|
|
1648
|
-
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
2049
|
+
- [patch] Updated dependencies
|
|
2050
|
+
[65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
|
|
2051
|
+
- @atlaskit/docs@5.0.8
|
|
2052
|
+
- @atlaskit/checkbox@5.0.2
|
|
2053
|
+
- @atlaskit/icon@14.0.0
|
|
1652
2054
|
|
|
1653
2055
|
## 9.0.12
|
|
1654
2056
|
|
|
1655
|
-
-
|
|
2057
|
+
- [patch] Add help appearance
|
|
2058
|
+
[3548c3f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3548c3f)
|
|
1656
2059
|
|
|
1657
2060
|
## 9.0.11
|
|
1658
2061
|
|
|
1659
|
-
-
|
|
2062
|
+
- [patch] Update the appearance of selected for Help
|
|
2063
|
+
[196603f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/196603f)
|
|
1660
2064
|
|
|
1661
2065
|
## 9.0.10
|
|
1662
2066
|
|
|
1663
|
-
-
|
|
1664
|
-
|
|
2067
|
+
- [patch] Updated dependencies
|
|
2068
|
+
[7d51a09](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d51a09)
|
|
2069
|
+
- @atlaskit/spinner@9.0.9
|
|
1665
2070
|
|
|
1666
2071
|
## 9.0.9
|
|
1667
2072
|
|
|
1668
|
-
-
|
|
1669
|
-
|
|
2073
|
+
- [patch] Updated dependencies
|
|
2074
|
+
[80e1925](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80e1925)
|
|
2075
|
+
- @atlaskit/checkbox@5.0.0
|
|
1670
2076
|
|
|
1671
2077
|
## 9.0.8
|
|
1672
2078
|
|
|
1673
|
-
-
|
|
2079
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
2080
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1674
2081
|
|
|
1675
2082
|
## 9.0.6
|
|
1676
2083
|
|
|
1677
|
-
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
2084
|
+
- [patch] Updated dependencies
|
|
2085
|
+
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
|
|
2086
|
+
- @atlaskit/theme@6.0.0
|
|
2087
|
+
- @atlaskit/spinner@9.0.6
|
|
2088
|
+
- @atlaskit/icon@13.2.5
|
|
2089
|
+
- @atlaskit/checkbox@4.0.4
|
|
2090
|
+
- @atlaskit/docs@5.0.6
|
|
1683
2091
|
|
|
1684
2092
|
## 9.0.5
|
|
1685
2093
|
|
|
1686
|
-
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
2094
|
+
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
2095
|
+
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
|
|
2096
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
2097
|
+
- [patch] Updated dependencies
|
|
2098
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
2099
|
+
- @atlaskit/analytics-next@3.0.4
|
|
2100
|
+
- @atlaskit/checkbox@4.0.3
|
|
2101
|
+
- @atlaskit/theme@5.1.3
|
|
2102
|
+
- @atlaskit/spinner@9.0.5
|
|
2103
|
+
- @atlaskit/icon@13.2.4
|
|
1693
2104
|
|
|
1694
2105
|
## 9.0.4
|
|
1695
2106
|
|
|
1696
|
-
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
2107
|
+
- [patch] Updated dependencies
|
|
2108
|
+
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
2109
|
+
- @atlaskit/icon@13.2.2
|
|
2110
|
+
- @atlaskit/checkbox@4.0.2
|
|
2111
|
+
- @atlaskit/theme@5.1.2
|
|
2112
|
+
- @atlaskit/spinner@9.0.4
|
|
2113
|
+
- @atlaskit/analytics-next@3.0.3
|
|
2114
|
+
- @atlaskit/docs@5.0.2
|
|
1703
2115
|
|
|
1704
2116
|
## 9.0.3
|
|
1705
2117
|
|
|
1706
|
-
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
2118
|
+
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
2119
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
2120
|
+
- [patch] Updated dependencies
|
|
2121
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
2122
|
+
- @atlaskit/analytics-next@3.0.2
|
|
2123
|
+
- @atlaskit/checkbox@4.0.1
|
|
2124
|
+
- @atlaskit/theme@5.1.1
|
|
2125
|
+
- @atlaskit/spinner@9.0.3
|
|
2126
|
+
- @atlaskit/icon@13.2.1
|
|
1713
2127
|
|
|
1714
2128
|
## 9.0.2
|
|
1715
2129
|
|
|
1716
|
-
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
2130
|
+
- [patch] Move analytics tests and replace elements to core
|
|
2131
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
2132
|
+
- [patch] Updated dependencies
|
|
2133
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
2134
|
+
- @atlaskit/analytics-next@3.0.1
|
|
2135
|
+
- @atlaskit/spinner@9.0.2
|
|
2136
|
+
- @atlaskit/docs@5.0.1
|
|
1721
2137
|
|
|
1722
2138
|
## 9.0.1
|
|
1723
2139
|
|
|
1724
|
-
-
|
|
1725
|
-
|
|
2140
|
+
- [patch] Updated dependencies
|
|
2141
|
+
[619ab41](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/619ab41)
|
|
2142
|
+
- @atlaskit/spinner@9.0.1
|
|
1726
2143
|
|
|
1727
2144
|
## 9.0.0
|
|
1728
2145
|
|
|
1729
|
-
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
2146
|
+
- [major] Provides analytics for common component interations. See the
|
|
2147
|
+
[Instrumented Components](https://atlaskit.atlassian.com/packages/core/analytics-next) section
|
|
2148
|
+
for more details. If you are using enzyme for testing you will have to use
|
|
2149
|
+
[our forked version of the library](https://atlaskit.atlassian.com/docs/guides/testing#we-use-a-forked-version-of-enzyme).
|
|
2150
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
2151
|
+
- [major] Updates to React ^16.4.0
|
|
2152
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
2153
|
+
- [major] Updated dependencies
|
|
2154
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
2155
|
+
- @atlaskit/analytics-next@3.0.0
|
|
2156
|
+
- @atlaskit/checkbox@4.0.0
|
|
2157
|
+
- @atlaskit/theme@5.0.0
|
|
2158
|
+
- @atlaskit/spinner@9.0.0
|
|
2159
|
+
- @atlaskit/docs@5.0.0
|
|
2160
|
+
- @atlaskit/icon@13.0.0
|
|
2161
|
+
- [major] Updated dependencies
|
|
2162
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
2163
|
+
- @atlaskit/analytics-next@3.0.0
|
|
2164
|
+
- @atlaskit/checkbox@4.0.0
|
|
2165
|
+
- @atlaskit/theme@5.0.0
|
|
2166
|
+
- @atlaskit/spinner@9.0.0
|
|
2167
|
+
- @atlaskit/docs@5.0.0
|
|
2168
|
+
- @atlaskit/icon@13.0.0
|
|
1745
2169
|
|
|
1746
2170
|
## 8.2.7
|
|
1747
2171
|
|
|
1748
|
-
-
|
|
1749
|
-
|
|
2172
|
+
- [patch] Fixed spinner position and size for isLoading state of buttons
|
|
2173
|
+
[d6fb3c9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d6fb3c9)
|
|
2174
|
+
- [none] Updated dependencies
|
|
2175
|
+
[d6fb3c9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d6fb3c9)
|
|
1750
2176
|
|
|
1751
2177
|
## 8.2.6
|
|
1752
2178
|
|
|
1753
|
-
-
|
|
1754
|
-
|
|
2179
|
+
- [patch] Updated prop description for button. Added button label props for inline-edit
|
|
2180
|
+
accessibility. [11205df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11205df)
|
|
2181
|
+
- [none] Updated dependencies
|
|
2182
|
+
[11205df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11205df)
|
|
1755
2183
|
|
|
1756
2184
|
## 8.2.5
|
|
1757
2185
|
|
|
1758
|
-
-
|
|
2186
|
+
- [patch] Fix flow types [da63331](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da63331)
|
|
1759
2187
|
|
|
1760
|
-
-
|
|
1761
|
-
|
|
2188
|
+
- [none] Updated dependencies
|
|
2189
|
+
[da63331](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da63331)
|
|
2190
|
+
- [none] Updated dependencies
|
|
2191
|
+
[7724115](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7724115)
|
|
1762
2192
|
|
|
1763
2193
|
## 8.2.4
|
|
1764
2194
|
|
|
1765
|
-
-
|
|
1766
|
-
|
|
1767
|
-
|
|
2195
|
+
- [patch] Remove or update \$FlowFixMe
|
|
2196
|
+
[e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
|
|
2197
|
+
- [none] Updated dependencies
|
|
2198
|
+
[e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
|
|
2199
|
+
- @atlaskit/icon@12.6.1
|
|
1768
2200
|
|
|
1769
2201
|
## 8.2.3
|
|
1770
2202
|
|
|
1771
|
-
-
|
|
1772
|
-
|
|
2203
|
+
- [patch] Updated dependencies
|
|
2204
|
+
[cdba8b3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba8b3)
|
|
2205
|
+
- @atlaskit/spinner@8.0.0
|
|
1773
2206
|
|
|
1774
2207
|
## 8.2.2
|
|
1775
2208
|
|
|
1776
|
-
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
2209
|
+
- [patch] Fix \$FlowFixMe and release packages
|
|
2210
|
+
[25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
|
|
2211
|
+
- [patch] Updated dependencies
|
|
2212
|
+
[25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
|
|
2213
|
+
- @atlaskit/spinner@7.1.1
|
|
2214
|
+
- @atlaskit/checkbox@3.1.2
|
|
2215
|
+
- @atlaskit/icon@12.3.1
|
|
1781
2216
|
|
|
1782
2217
|
## 8.2.1
|
|
1783
2218
|
|
|
1784
|
-
-
|
|
1785
|
-
|
|
2219
|
+
- [patch] Fixed interactions for isLoading state. Now prevents interactions (click, hover,
|
|
2220
|
+
keyboard submit) while loading
|
|
2221
|
+
[4605f44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4605f44)
|
|
2222
|
+
- [none] Updated dependencies
|
|
2223
|
+
[4605f44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4605f44)
|
|
1786
2224
|
|
|
1787
2225
|
## 8.2.0
|
|
1788
2226
|
|
|
1789
|
-
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
2227
|
+
- [minor] Fixes types for Flow 0.74
|
|
2228
|
+
[dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
|
|
2229
|
+
- [patch] Updated dependencies
|
|
2230
|
+
[dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
|
|
2231
|
+
- @atlaskit/spinner@7.1.0
|
|
2232
|
+
- @atlaskit/checkbox@3.1.0
|
|
2233
|
+
- @atlaskit/icon@12.2.0
|
|
1794
2234
|
|
|
1795
2235
|
## 8.1.2
|
|
1796
2236
|
|
|
1797
|
-
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
2237
|
+
- [patch] Clean Changelogs - remove duplicates and empty entries
|
|
2238
|
+
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
2239
|
+
- [patch] Updated dependencies
|
|
2240
|
+
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
2241
|
+
- @atlaskit/theme@4.0.4
|
|
2242
|
+
- @atlaskit/spinner@7.0.2
|
|
2243
|
+
- @atlaskit/checkbox@3.0.6
|
|
2244
|
+
- @atlaskit/icon@12.1.2
|
|
1803
2245
|
|
|
1804
2246
|
## 8.1.1
|
|
1805
2247
|
|
|
1806
|
-
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
2248
|
+
- [patch] Update changelogs to remove duplicate
|
|
2249
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
2250
|
+
- [patch] Updated dependencies
|
|
2251
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
2252
|
+
- @atlaskit/theme@4.0.3
|
|
2253
|
+
- @atlaskit/spinner@7.0.1
|
|
2254
|
+
- @atlaskit/icon@12.1.1
|
|
2255
|
+
- @atlaskit/analytics-next@2.1.8
|
|
2256
|
+
- @atlaskit/checkbox@3.0.5
|
|
2257
|
+
- @atlaskit/docs@4.1.1
|
|
1814
2258
|
|
|
1815
2259
|
## 8.1.0
|
|
1816
2260
|
|
|
1817
|
-
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
2261
|
+
- [patch] Updated dependencies
|
|
2262
|
+
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
2263
|
+
- @atlaskit/spinner@7.0.0
|
|
2264
|
+
- @atlaskit/icon@12.1.0
|
|
2265
|
+
- @atlaskit/checkbox@3.0.4
|
|
2266
|
+
- @atlaskit/docs@4.1.0
|
|
2267
|
+
- @atlaskit/theme@4.0.2
|
|
2268
|
+
- @atlaskit/analytics-next@2.1.7
|
|
1824
2269
|
|
|
1825
2270
|
## 8.0.1
|
|
1826
2271
|
|
|
1827
|
-
-
|
|
1828
|
-
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
2272
|
+
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
2273
|
+
- [patch] Updated dependencies
|
|
2274
|
+
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
2275
|
+
- @atlaskit/icon@12.0.1
|
|
2276
|
+
- @atlaskit/analytics-next@2.1.5
|
|
2277
|
+
- @atlaskit/checkbox@3.0.1
|
|
2278
|
+
- @atlaskit/theme@4.0.1
|
|
2279
|
+
- @atlaskit/spinner@6.0.1
|
|
2280
|
+
- @atlaskit/docs@4.0.1
|
|
1835
2281
|
|
|
1836
2282
|
## 8.0.0
|
|
1837
2283
|
|
|
1838
|
-
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
2284
|
+
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
|
|
2285
|
+
^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
2286
|
+
- [patch] Updated dependencies
|
|
2287
|
+
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
2288
|
+
- @atlaskit/icon@12.0.0
|
|
2289
|
+
- @atlaskit/analytics-next@2.1.4
|
|
2290
|
+
- @atlaskit/checkbox@3.0.0
|
|
2291
|
+
- @atlaskit/theme@4.0.0
|
|
2292
|
+
- @atlaskit/spinner@6.0.0
|
|
2293
|
+
- @atlaskit/docs@4.0.0
|
|
1846
2294
|
|
|
1847
2295
|
## 7.2.5
|
|
1848
2296
|
|
|
1849
|
-
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
2297
|
+
- [patch] Updated dependencies
|
|
2298
|
+
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
2299
|
+
- @atlaskit/icon@11.3.0
|
|
2300
|
+
- @atlaskit/analytics-next@2.1.1
|
|
2301
|
+
- @atlaskit/theme@3.2.2
|
|
2302
|
+
- @atlaskit/docs@3.0.4
|
|
1854
2303
|
|
|
1855
2304
|
## 7.2.4
|
|
1856
2305
|
|
|
1857
|
-
-
|
|
1858
|
-
|
|
2306
|
+
- [patch] Export types for Button
|
|
2307
|
+
[6a47d88](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a47d88)
|
|
2308
|
+
- [none] Updated dependencies
|
|
2309
|
+
[6a47d88](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a47d88)
|
|
1859
2310
|
|
|
1860
2311
|
## 7.2.3
|
|
1861
2312
|
|
|
1862
|
-
-
|
|
1863
|
-
|
|
2313
|
+
- [patch] Fix invalid css in button
|
|
2314
|
+
[2363d14](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2363d14)
|
|
2315
|
+
- [none] Updated dependencies
|
|
2316
|
+
[2363d14](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2363d14)
|
|
1864
2317
|
|
|
1865
2318
|
## 7.2.2
|
|
1866
2319
|
|
|
1867
|
-
-
|
|
2320
|
+
- [patch] Fix react ref dev warnings when using custom components
|
|
2321
|
+
[40b743c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/40b743c)
|
|
1868
2322
|
|
|
1869
2323
|
## 7.2.0
|
|
1870
2324
|
|
|
1871
|
-
-
|
|
2325
|
+
- [minor] Add ariaLabel prop to button so that it can be passed to the underlying component
|
|
2326
|
+
[d7a1e7e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7a1e7e)
|
|
1872
2327
|
|
|
1873
2328
|
## 7.1.0
|
|
1874
2329
|
|
|
1875
|
-
-
|
|
2330
|
+
- [minor] Add `autoFocus` to button, allowing button to be automatically focused on first render.
|
|
2331
|
+
[bf36eb6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bf36eb6)
|
|
1876
2332
|
|
|
1877
2333
|
## 7.0.3
|
|
1878
2334
|
|
|
1879
|
-
-
|
|
2335
|
+
- [patch] Fix a react dev warning when using a custom component
|
|
2336
|
+
[8fb3bc1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8fb3bc1)
|
|
1880
2337
|
|
|
1881
2338
|
## 7.0.2
|
|
1882
2339
|
|
|
1883
|
-
-
|
|
2340
|
+
- [patch] Update empty state and button to have consistent types
|
|
2341
|
+
[f0da143](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f0da143)
|
|
1884
2342
|
|
|
1885
2343
|
## 7.0.1
|
|
1886
2344
|
|
|
1887
|
-
-
|
|
1888
|
-
|
|
2345
|
+
- [patch] Update tests + flow
|
|
2346
|
+
[05d406d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/05d406d)
|
|
2347
|
+
- [patch] Remove default props to have it optional
|
|
2348
|
+
[0907a36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0907a36)
|
|
1889
2349
|
|
|
1890
2350
|
## 7.0.0
|
|
1891
2351
|
|
|
1892
|
-
-
|
|
2352
|
+
- [major] Bump to React 16.3.
|
|
2353
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1893
2354
|
|
|
1894
2355
|
## 6.6.4
|
|
1895
2356
|
|
|
1896
|
-
-
|
|
1897
|
-
|
|
2357
|
+
- [patch] Updates flow types of withAnalyticsEvents and withAnalyticsContext HOCs
|
|
2358
|
+
[26778bc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/26778bc)
|
|
2359
|
+
- [patch] Uses element config flow type with button deprecation warnings hoc
|
|
2360
|
+
[a9aa90a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a9aa90a)
|
|
1898
2361
|
|
|
1899
2362
|
## 6.6.3
|
|
1900
2363
|
|
|
1901
|
-
-
|
|
2364
|
+
- [patch] added onBlur and onFocus hooks
|
|
2365
|
+
[27d01b7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27d01b7)
|
|
1902
2366
|
|
|
1903
2367
|
## 6.6.2
|
|
1904
2368
|
|
|
1905
|
-
-
|
|
2369
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
2370
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1906
2371
|
|
|
1907
2372
|
## 6.6.1
|
|
1908
2373
|
|
|
1909
|
-
-
|
|
2374
|
+
- [patch] added selected focus state for button
|
|
2375
|
+
[dad190d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dad190d)
|
|
1910
2376
|
|
|
1911
2377
|
## 6.6.0
|
|
1912
2378
|
|
|
1913
|
-
-
|
|
2379
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
2380
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1914
2381
|
|
|
1915
2382
|
## 6.5.0
|
|
1916
2383
|
|
|
1917
|
-
-
|
|
2384
|
+
- [minor] Instrument button with analytics
|
|
2385
|
+
[4e84f5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4e84f5b)
|
|
1918
2386
|
|
|
1919
2387
|
## 6.4.2
|
|
1920
2388
|
|
|
1921
|
-
-
|
|
2389
|
+
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
|
|
2390
|
+
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
|
|
1922
2391
|
|
|
1923
2392
|
## 6.4.1
|
|
1924
2393
|
|
|
1925
|
-
-
|
|
2394
|
+
- [patch] Packages Flow types for elements components
|
|
2395
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1926
2396
|
|
|
1927
2397
|
## 6.4.0
|
|
1928
2398
|
|
|
1929
|
-
-
|
|
2399
|
+
- [minor] id property on Button component is not propagated if href property is provided
|
|
2400
|
+
[7d46c81](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d46c81)
|
|
1930
2401
|
|
|
1931
2402
|
## 6.3.1
|
|
1932
2403
|
|
|
1933
|
-
-
|
|
2404
|
+
- [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website,
|
|
2405
|
+
\$ [007de27](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/007de27)
|
|
1934
2406
|
|
|
1935
2407
|
## 6.3.0
|
|
1936
2408
|
|
|
1937
|
-
-
|
|
2409
|
+
- [minor] Add React 16 support.
|
|
2410
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
1938
2411
|
|
|
1939
2412
|
## 6.2.0
|
|
1940
2413
|
|
|
1941
|
-
-
|
|
2414
|
+
- [minor] replace flow type to be less restrictive
|
|
2415
|
+
[a28cdbd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28cdbd)
|
|
1942
2416
|
|
|
1943
2417
|
## 6.1.0
|
|
1944
2418
|
|
|
1945
|
-
-
|
|
1946
|
-
|
|
2419
|
+
- [minor] Add theming to Button. Deprecate 'help' appearance from Button.
|
|
2420
|
+
[c14ea2e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c14ea2e)
|
|
2421
|
+
- [minor] Add theming to Button. Deprecate 'help' appearance from Button.
|
|
2422
|
+
[c14ea2e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c14ea2e)
|
|
1947
2423
|
|
|
1948
2424
|
## 6.0.0
|
|
1949
2425
|
|
|
1950
|
-
-
|
|
1951
|
-
|
|
1952
|
-
-
|
|
1953
|
-
|
|
2426
|
+
- [major] Remove typescript
|
|
2427
|
+
[4635000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4635000)
|
|
2428
|
+
- [major] Remove typescript
|
|
2429
|
+
[4635000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4635000)
|
|
2430
|
+
- [patch] Move button to new repo, tidy types
|
|
2431
|
+
[2dafda6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dafda6)
|
|
2432
|
+
- [patch] Move button to new repo, tidy types
|
|
2433
|
+
[2dafda6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dafda6)
|
|
1954
2434
|
|
|
1955
2435
|
## 5.4.14 (2017-12-01)
|
|
1956
2436
|
|
|
1957
|
-
-
|
|
2437
|
+
- bug fix; fix button group spacing (issues closed: ak-3978)
|
|
2438
|
+
([f0037f2](https://bitbucket.org/atlassian/atlaskit/commits/f0037f2))
|
|
1958
2439
|
|
|
1959
2440
|
## 5.4.13 (2017-11-30)
|
|
1960
2441
|
|
|
1961
|
-
-
|
|
2442
|
+
- bug fix; fix disabled buttons with child elements propagating click events
|
|
2443
|
+
([584ffdc](https://bitbucket.org/atlassian/atlaskit/commits/584ffdc))
|
|
1962
2444
|
|
|
1963
2445
|
## 5.4.12 (2017-11-27)
|
|
1964
2446
|
|
|
1965
|
-
-
|
|
2447
|
+
- bug fix; export interface for ts
|
|
2448
|
+
([15c291c](https://bitbucket.org/atlassian/atlaskit/commits/15c291c))
|
|
1966
2449
|
|
|
1967
2450
|
## 5.4.11 (2017-11-27)
|
|
1968
2451
|
|
|
1969
|
-
-
|
|
2452
|
+
- bug fix; fix disabled buttons not swallowing click events (issues closed: ak-3646)
|
|
2453
|
+
([80e976b](https://bitbucket.org/atlassian/atlaskit/commits/80e976b))
|
|
1970
2454
|
|
|
1971
2455
|
## 5.4.10 (2017-11-24)
|
|
1972
2456
|
|
|
1973
|
-
-
|
|
2457
|
+
- bug fix; fix button-group prop validation to ignore null children
|
|
2458
|
+
([3f7f0c3](https://bitbucket.org/atlassian/atlaskit/commits/3f7f0c3))
|
|
1974
2459
|
|
|
1975
2460
|
## 5.4.9 (2017-11-21)
|
|
1976
2461
|
|
|
1977
|
-
-
|
|
2462
|
+
- bug fix; bumping internal dependencies to latest version
|
|
2463
|
+
([5e81848](https://bitbucket.org/atlassian/atlaskit/commits/5e81848))
|
|
1978
2464
|
|
|
1979
2465
|
## 5.4.8 (2017-10-27)
|
|
1980
2466
|
|
|
1981
|
-
-
|
|
2467
|
+
- bug fix; correct formatting for user-select style
|
|
2468
|
+
([fe9419c](https://bitbucket.org/atlassian/atlaskit/commits/fe9419c))
|
|
1982
2469
|
|
|
1983
2470
|
## 5.4.7 (2017-10-27)
|
|
1984
2471
|
|
|
1985
|
-
-
|
|
2472
|
+
- bug fix; change icon to be unselectable so button content can be copied
|
|
2473
|
+
([e8c876a](https://bitbucket.org/atlassian/atlaskit/commits/e8c876a))
|
|
1986
2474
|
|
|
1987
2475
|
## 5.4.6 (2017-10-27)
|
|
1988
2476
|
|
|
1989
|
-
-
|
|
2477
|
+
- bug fix; updated button props typings
|
|
2478
|
+
([c7a9c09](https://bitbucket.org/atlassian/atlaskit/commits/c7a9c09))
|
|
1990
2479
|
|
|
1991
2480
|
## 5.4.5 (2017-10-23)
|
|
1992
2481
|
|
|
1993
|
-
-
|
|
2482
|
+
- bug fix; support false/null/undefined children in ButtonGroup
|
|
2483
|
+
([4667228](https://bitbucket.org/atlassian/atlaskit/commits/4667228))
|
|
1994
2484
|
|
|
1995
2485
|
## 5.4.4 (2017-10-22)
|
|
1996
2486
|
|
|
1997
|
-
-
|
|
2487
|
+
- bug fix; update dependencies for react-16
|
|
2488
|
+
([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
|
|
1998
2489
|
|
|
1999
2490
|
## 5.4.3 (2017-10-16)
|
|
2000
2491
|
|
|
2001
|
-
-
|
|
2492
|
+
- bug fix; fix issue where invalid box-shadow style was applied (issues closed: ak-3704)
|
|
2493
|
+
([a786038](https://bitbucket.org/atlassian/atlaskit/commits/a786038))
|
|
2002
2494
|
|
|
2003
2495
|
## 5.4.2 (2017-10-03)
|
|
2004
2496
|
|
|
2005
|
-
-
|
|
2497
|
+
- bug fix; improve button performance
|
|
2498
|
+
([1bbf0d1](https://bitbucket.org/atlassian/atlaskit/commits/1bbf0d1))
|
|
2006
2499
|
|
|
2007
2500
|
## 5.4.1 (2017-09-27)
|
|
2008
2501
|
|
|
2009
|
-
-
|
|
2502
|
+
- bug fix; button will truncate if wider than its parent (issues closed: ak-3332)
|
|
2503
|
+
([a701ea1](https://bitbucket.org/atlassian/atlaskit/commits/a701ea1))
|
|
2010
2504
|
|
|
2011
2505
|
## 5.4.0 (2017-09-22)
|
|
2012
2506
|
|
|
2013
|
-
-
|
|
2507
|
+
- feature; buttons no longer prevent text selection (issues closed: ak-3270)
|
|
2508
|
+
([9ab343b](https://bitbucket.org/atlassian/atlaskit/commits/9ab343b))
|
|
2014
2509
|
|
|
2015
2510
|
## 5.3.0 (2017-09-18)
|
|
2016
2511
|
|
|
2017
|
-
-
|
|
2512
|
+
- feature; support new Help button appearance (issues closed: ak-3535)
|
|
2513
|
+
([69728ed](https://bitbucket.org/atlassian/atlaskit/commits/69728ed))
|
|
2018
2514
|
|
|
2019
2515
|
## 5.2.0 (2017-09-12)
|
|
2020
2516
|
|
|
2021
|
-
-
|
|
2517
|
+
- feature; we need the ability to reference elements
|
|
2518
|
+
([cbf5c12](https://bitbucket.org/atlassian/atlaskit/commits/cbf5c12))
|
|
2022
2519
|
|
|
2023
2520
|
## 5.1.2 (2017-09-08)
|
|
2024
2521
|
|
|
2025
|
-
-
|
|
2522
|
+
- bug fix; adding ButtonGroup to type declarations of button pckage.
|
|
2523
|
+
([bb373c1](https://bitbucket.org/atlassian/atlaskit/commits/bb373c1))
|
|
2026
2524
|
|
|
2027
2525
|
## 5.1.1 (2017-08-24)
|
|
2028
2526
|
|
|
2029
|
-
-
|
|
2527
|
+
- bug fix; improved focus ring contrast for warning and danger buttons
|
|
2528
|
+
([39ddda7](https://bitbucket.org/atlassian/atlaskit/commits/39ddda7))
|
|
2030
2529
|
|
|
2031
2530
|
## 5.1.0 (2017-08-23)
|
|
2032
2531
|
|
|
2033
|
-
-
|
|
2034
|
-
|
|
2532
|
+
- bug fix; subtle-link button font colour is slightly updated (issues closed: ak-2480)
|
|
2533
|
+
([510393a](https://bitbucket.org/atlassian/atlaskit/commits/510393a))
|
|
2534
|
+
- feature; added warning (yellow) and danger (red) options to Button.appearance prop (issues
|
|
2535
|
+
closed: ak-2480) ([ba4cfde](https://bitbucket.org/atlassian/atlaskit/commits/ba4cfde))
|
|
2035
2536
|
|
|
2036
2537
|
## 5.0.1 (2017-08-16)
|
|
2037
2538
|
|
|
2038
|
-
-
|
|
2539
|
+
- bug fix; fix react warning about PropTypes
|
|
2540
|
+
([6b4cd29](https://bitbucket.org/atlassian/atlaskit/commits/6b4cd29))
|
|
2039
2541
|
|
|
2040
2542
|
## 5.0.0 (2017-08-11)
|
|
2041
2543
|
|
|
2042
|
-
-
|
|
2043
|
-
|
|
2044
|
-
-
|
|
2045
|
-
|
|
2046
|
-
-
|
|
2047
|
-
|
|
2544
|
+
- bug fix; fix the theme-dependency
|
|
2545
|
+
([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
|
|
2546
|
+
- bug fix; button: fix focus box shadow
|
|
2547
|
+
([9746e73](https://bitbucket.org/atlassian/atlaskit/commits/9746e73))
|
|
2548
|
+
- bug fix; button: fix dark link color - default / hover / active
|
|
2549
|
+
([7b85a29](https://bitbucket.org/atlassian/atlaskit/commits/7b85a29))
|
|
2550
|
+
- breaking; affects internal styled-components implementation
|
|
2551
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
2552
|
+
- breaking; implement dark mode theme
|
|
2553
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
2554
|
+
- feature; implement dark mode
|
|
2555
|
+
([d959bb1](https://bitbucket.org/atlassian/atlaskit/commits/d959bb1))
|
|
2048
2556
|
|
|
2049
2557
|
## 4.0.0 (2017-08-11)
|
|
2050
2558
|
|
|
2051
|
-
-
|
|
2052
|
-
|
|
2053
|
-
-
|
|
2054
|
-
|
|
2055
|
-
-
|
|
2559
|
+
- bug fix; button: fix focus box shadow
|
|
2560
|
+
([9746e73](https://bitbucket.org/atlassian/atlaskit/commits/9746e73))
|
|
2561
|
+
- bug fix; button: fix dark link color - default / hover / active
|
|
2562
|
+
([7b85a29](https://bitbucket.org/atlassian/atlaskit/commits/7b85a29))
|
|
2563
|
+
- breaking; affects internal styled-components implementation
|
|
2564
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
2565
|
+
- breaking; implement dark mode theme
|
|
2566
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
2567
|
+
- feature; implement dark mode
|
|
2568
|
+
([d959bb1](https://bitbucket.org/atlassian/atlaskit/commits/d959bb1))
|
|
2056
2569
|
|
|
2057
2570
|
## 3.6.0 (2017-08-09)
|
|
2058
2571
|
|
|
2059
|
-
-
|
|
2572
|
+
- feature; export ButtonGroup from button package (issues closed: ak-2382)
|
|
2573
|
+
([61682c6](https://bitbucket.org/atlassian/atlaskit/commits/61682c6))
|
|
2060
2574
|
|
|
2061
2575
|
## 3.5.3 (2017-07-27)
|
|
2062
2576
|
|
|
2063
|
-
-
|
|
2577
|
+
- fix; rename jsnext:main to jsnext:experimental:main temporarily
|
|
2578
|
+
([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
|
|
2064
2579
|
|
|
2065
2580
|
## 3.5.2 (2017-07-25)
|
|
2066
2581
|
|
|
2067
|
-
-
|
|
2582
|
+
- fix; use class transform in loose mode in babel to improve load performance in apps
|
|
2583
|
+
([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
|
|
2068
2584
|
|
|
2069
2585
|
## 3.5.1 (2017-07-20)
|
|
2070
2586
|
|
|
2071
|
-
-
|
|
2587
|
+
- fix; return focus ring to buttons
|
|
2588
|
+
([94f1ad0](https://bitbucket.org/atlassian/atlaskit/commits/94f1ad0))
|
|
2072
2589
|
|
|
2073
2590
|
## 3.2.0 (2017-07-17)
|
|
2074
2591
|
|
|
2075
|
-
-
|
|
2592
|
+
- fix; rerelease, failed prepublish scripts
|
|
2593
|
+
([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
|
|
2076
2594
|
|
|
2077
2595
|
## 3.2.0 (2017-07-17)
|
|
2078
2596
|
|
|
2079
|
-
-
|
|
2597
|
+
- feature; added ES module builds to dist and add jsnext:main to most ADG packages
|
|
2598
|
+
([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
|
|
2080
2599
|
|
|
2081
2600
|
## 3.1.0 (2017-07-10)
|
|
2082
2601
|
|
|
2083
|
-
-
|
|
2602
|
+
- feature; added functionality to have full-width buttons via optional prop
|
|
2603
|
+
([ad7fae6](https://bitbucket.org/atlassian/atlaskit/commits/ad7fae6))
|
|
2084
2604
|
|
|
2085
2605
|
## 2.0.0 (2017-06-01)
|
|
2086
2606
|
|
|
2087
|
-
-
|
|
2088
|
-
|
|
2089
|
-
-
|
|
2090
|
-
|
|
2607
|
+
- fix; add prop-types as a dependency to avoid React 15.x warnings
|
|
2608
|
+
([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
|
|
2609
|
+
- refactored button to styled-components
|
|
2610
|
+
([de6465b](https://bitbucket.org/atlassian/atlaskit/commits/de6465b))
|
|
2611
|
+
- breaking; refactored to styled-components
|
|
2612
|
+
- ISSUES CLOSED: AK-2381, AK-2300
|
|
2091
2613
|
|
|
2092
2614
|
## 1.1.4 (2017-05-25)
|
|
2093
2615
|
|
|
2094
|
-
-
|
|
2616
|
+
- fix; update util-shared-styles dependency in button
|
|
2617
|
+
([159dd02](https://bitbucket.org/atlassian/atlaskit/commits/159dd02))
|
|
2095
2618
|
|
|
2096
2619
|
## 1.1.3 (2017-05-06)
|
|
2097
2620
|
|
|
2098
|
-
-
|
|
2621
|
+
- fix; link buttons with no spacing are now baseline aligned correctly
|
|
2622
|
+
([66f5e65](https://bitbucket.org/atlassian/atlaskit/commits/66f5e65))
|
|
2099
2623
|
|
|
2100
2624
|
## 1.1.2 (2017-04-27)
|
|
2101
2625
|
|
|
2102
|
-
-
|
|
2626
|
+
- fix; update legal copy to be more clear. Not all modules include ADG license.
|
|
2627
|
+
([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
|
|
2103
2628
|
|
|
2104
2629
|
## 1.1.1 (2017-04-26)
|
|
2105
2630
|
|
|
2106
|
-
-
|
|
2631
|
+
- fix; update legal copy and fix broken links for component README on npm. New contribution and
|
|
2632
|
+
([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
|
|
2107
2633
|
|
|
2108
2634
|
## 1.1.0 (2017-04-20)
|
|
2109
2635
|
|
|
2110
|
-
-
|
|
2636
|
+
- feature; removed explicit style! imports, set style-loader in webpack config
|
|
2637
|
+
([891fc3c](https://bitbucket.org/atlassian/atlaskit/commits/891fc3c))
|
|
2111
2638
|
|
|
2112
2639
|
## 1.0.16 (2017-04-04)
|
|
2113
2640
|
|
|
2114
|
-
-
|
|
2641
|
+
- fix; adds defensive code to allow testing in mocha/jsdom
|
|
2642
|
+
([3f9b72c](https://bitbucket.org/atlassian/atlaskit/commits/3f9b72c))
|
|
2115
2643
|
|
|
2116
2644
|
## 1.0.15 (2017-03-23)
|
|
2117
2645
|
|
|
2118
|
-
-
|
|
2646
|
+
- fix; Empty commit to release the component
|
|
2647
|
+
([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
|
|
2119
2648
|
|
|
2120
2649
|
## 1.0.13 (2017-03-21)
|
|
2121
2650
|
|
|
2122
|
-
-
|
|
2651
|
+
- fix; maintainers for all the packages were added
|
|
2652
|
+
([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
|
|
2123
2653
|
|
|
2124
2654
|
## 1.0.11 (2017-03-08)
|
|
2125
2655
|
|
|
2126
|
-
-
|
|
2656
|
+
- fix; fix subtle-link button to use the correct color default color
|
|
2657
|
+
([c4c274d](https://bitbucket.org/atlassian/atlaskit/commits/c4c274d))
|
|
2127
2658
|
|
|
2128
2659
|
## 1.0.10 (2017-02-28)
|
|
2129
2660
|
|
|
2130
|
-
-
|
|
2661
|
+
- fix; dummy commit to release stories
|
|
2662
|
+
([3df5d9f](https://bitbucket.org/atlassian/atlaskit/commits/3df5d9f))
|
|
2131
2663
|
|
|
2132
2664
|
## 1.0.9 (2017-02-28)
|
|
2133
2665
|
|
|
2134
|
-
-
|
|
2666
|
+
- fix; dummy commit to fix broken stories and missing registry pages
|
|
2667
|
+
([a31e92a](https://bitbucket.org/atlassian/atlaskit/commits/a31e92a))
|
|
2135
2668
|
|
|
2136
2669
|
## 1.0.8 (2017-02-28)
|
|
2137
2670
|
|
|
2138
|
-
-
|
|
2671
|
+
- fix; dummy commit to release stories for components
|
|
2672
|
+
([a105c02](https://bitbucket.org/atlassian/atlaskit/commits/a105c02))
|
|
2139
2673
|
|
|
2140
2674
|
## 1.0.7 (2017-02-28)
|
|
2141
2675
|
|
|
2142
|
-
-
|
|
2676
|
+
- fix; Removes jsdoc annotations from button
|
|
2677
|
+
([fe8e23b](https://bitbucket.org/atlassian/atlaskit/commits/fe8e23b))
|
|
2143
2678
|
|
|
2144
2679
|
## 1.0.6 (2017-02-24)
|
|
2145
2680
|
|
|
2146
|
-
-
|
|
2147
|
-
|
|
2148
|
-
-
|
|
2681
|
+
- fix; fixes AK-1787: buttons with z-index + shadow
|
|
2682
|
+
([014af88](https://bitbucket.org/atlassian/atlaskit/commits/014af88))
|
|
2683
|
+
- fix; spinner related tests fixed
|
|
2684
|
+
([e6d8ad5](https://bitbucket.org/atlassian/atlaskit/commits/e6d8ad5))
|
|
2685
|
+
- fix; storybook clean up and button margin fixed
|
|
2686
|
+
([e06b9c5](https://bitbucket.org/atlassian/atlaskit/commits/e06b9c5))
|
|
2149
2687
|
|
|
2150
2688
|
## 1.0.5 (2017-02-20)
|
|
2151
2689
|
|
|
2152
|
-
-
|
|
2690
|
+
- fix; use correctly scoped package names in npm docs
|
|
2691
|
+
([91dbd2f](https://bitbucket.org/atlassian/atlaskit/commits/91dbd2f))
|
|
2153
2692
|
|
|
2154
2693
|
## 1.0.4 (2017-02-16)
|
|
2155
2694
|
|
|
2156
|
-
-
|
|
2695
|
+
- fix; refactor stories to use // rather than http://
|
|
2696
|
+
([a0826cf](https://bitbucket.org/atlassian/atlaskit/commits/a0826cf))
|
|
2157
2697
|
|
|
2158
2698
|
## 1.0.3 (2017-02-09)
|
|
2159
2699
|
|
|
2160
|
-
-
|
|
2700
|
+
- fix; avoiding binding render to this
|
|
2701
|
+
([40c9951](https://bitbucket.org/atlassian/atlaskit/commits/40c9951))
|
|
2161
2702
|
|
|
2162
2703
|
## 1.0.2 (2017-02-09)
|
|
2163
2704
|
|
|
2164
|
-
-
|
|
2705
|
+
- fix; readme refactor to use util-readme
|
|
2706
|
+
([1adf905](https://bitbucket.org/atlassian/atlaskit/commits/1adf905))
|
|
2165
2707
|
|
|
2166
2708
|
## 1.0.1 (2017-02-06)
|
|
2167
2709
|
|
|
2168
|
-
-
|
|
2710
|
+
- fix; Updates package to use ak scoped packages
|
|
2711
|
+
([1262016](https://bitbucket.org/atlassian/atlaskit/commits/1262016))
|