@atlaskit/button 17.14.1 → 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
CHANGED
|
@@ -1,171 +1,248 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 17.14.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 17.14.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
8
|
-
|
|
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
|
|
9
19
|
|
|
10
20
|
## 17.14.0
|
|
11
21
|
|
|
12
22
|
### Minor Changes
|
|
13
23
|
|
|
14
|
-
-
|
|
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.
|
|
15
28
|
|
|
16
29
|
### Patch Changes
|
|
17
30
|
|
|
18
|
-
-
|
|
31
|
+
- Updated dependencies
|
|
19
32
|
|
|
20
33
|
## 17.13.0
|
|
21
34
|
|
|
22
35
|
### Minor Changes
|
|
23
36
|
|
|
24
|
-
-
|
|
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
|
|
25
40
|
|
|
26
41
|
## 17.12.2
|
|
27
42
|
|
|
28
43
|
### Patch Changes
|
|
29
44
|
|
|
30
|
-
-
|
|
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.
|
|
31
48
|
|
|
32
49
|
## 17.12.1
|
|
33
50
|
|
|
34
51
|
### Patch Changes
|
|
35
52
|
|
|
36
|
-
-
|
|
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
|
|
37
56
|
|
|
38
57
|
## 17.12.0
|
|
39
58
|
|
|
40
59
|
### Minor Changes
|
|
41
60
|
|
|
42
|
-
-
|
|
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.
|
|
43
65
|
|
|
44
66
|
## 17.11.0
|
|
45
67
|
|
|
46
68
|
### Minor Changes
|
|
47
69
|
|
|
48
|
-
-
|
|
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.
|
|
49
74
|
|
|
50
75
|
## 17.10.0
|
|
51
76
|
|
|
52
77
|
### Minor Changes
|
|
53
78
|
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
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`).
|
|
57
86
|
|
|
58
87
|
### Patch Changes
|
|
59
88
|
|
|
60
|
-
-
|
|
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.
|
|
61
93
|
|
|
62
94
|
## 17.9.0
|
|
63
95
|
|
|
64
96
|
### Minor Changes
|
|
65
97
|
|
|
66
|
-
-
|
|
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`)
|
|
67
102
|
|
|
68
103
|
## 17.8.0
|
|
69
104
|
|
|
70
105
|
### Minor Changes
|
|
71
106
|
|
|
72
|
-
-
|
|
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.
|
|
73
111
|
|
|
74
112
|
## 17.7.2
|
|
75
113
|
|
|
76
114
|
### Patch Changes
|
|
77
115
|
|
|
78
|
-
-
|
|
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`
|
|
79
119
|
|
|
80
120
|
## 17.7.1
|
|
81
121
|
|
|
82
122
|
### Patch Changes
|
|
83
123
|
|
|
84
|
-
-
|
|
124
|
+
- Updated dependencies
|
|
85
125
|
|
|
86
126
|
## 17.7.0
|
|
87
127
|
|
|
88
128
|
### Minor Changes
|
|
89
129
|
|
|
90
|
-
-
|
|
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.
|
|
91
134
|
|
|
92
|
-
|
|
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.
|
|
93
141
|
|
|
94
142
|
## 17.6.2
|
|
95
143
|
|
|
96
144
|
### Patch Changes
|
|
97
145
|
|
|
98
|
-
-
|
|
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.
|
|
99
150
|
|
|
100
151
|
## 17.6.1
|
|
101
152
|
|
|
102
153
|
### Patch Changes
|
|
103
154
|
|
|
104
|
-
-
|
|
155
|
+
- Updated dependencies
|
|
105
156
|
|
|
106
157
|
## 17.6.0
|
|
107
158
|
|
|
108
159
|
### Minor Changes
|
|
109
160
|
|
|
110
|
-
-
|
|
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
|
|
111
166
|
|
|
112
167
|
### Patch Changes
|
|
113
168
|
|
|
114
|
-
-
|
|
169
|
+
- Updated dependencies
|
|
115
170
|
|
|
116
171
|
## 17.5.0
|
|
117
172
|
|
|
118
173
|
### Minor Changes
|
|
119
174
|
|
|
120
|
-
-
|
|
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)
|
|
121
179
|
|
|
122
180
|
## 17.4.0
|
|
123
181
|
|
|
124
182
|
### Minor Changes
|
|
125
183
|
|
|
126
|
-
-
|
|
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
|
|
127
188
|
|
|
128
189
|
## 17.3.2
|
|
129
190
|
|
|
130
191
|
### Patch Changes
|
|
131
192
|
|
|
132
|
-
-
|
|
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.
|
|
133
196
|
|
|
134
197
|
## 17.3.1
|
|
135
198
|
|
|
136
199
|
### Patch Changes
|
|
137
200
|
|
|
138
|
-
-
|
|
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
|
|
139
204
|
|
|
140
205
|
## 17.3.0
|
|
141
206
|
|
|
142
207
|
### Minor Changes
|
|
143
208
|
|
|
144
|
-
-
|
|
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.
|
|
145
215
|
|
|
146
216
|
## 17.2.1
|
|
147
217
|
|
|
148
218
|
### Patch Changes
|
|
149
219
|
|
|
150
|
-
-
|
|
220
|
+
- Updated dependencies
|
|
151
221
|
|
|
152
222
|
## 17.2.0
|
|
153
223
|
|
|
154
224
|
### Minor Changes
|
|
155
225
|
|
|
156
|
-
-
|
|
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
|
|
157
229
|
|
|
158
230
|
## 17.1.0
|
|
159
231
|
|
|
160
232
|
### Minor Changes
|
|
161
233
|
|
|
162
|
-
-
|
|
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.
|
|
163
238
|
|
|
164
239
|
## 17.0.0
|
|
165
240
|
|
|
166
241
|
### Major Changes
|
|
167
242
|
|
|
168
|
-
-
|
|
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!
|
|
169
246
|
|
|
170
247
|
#### Breaking changes
|
|
171
248
|
|
|
@@ -185,7 +262,8 @@ See new features for new exports and entrypoint ⤵
|
|
|
185
262
|
|
|
186
263
|
New Button goes open beta!
|
|
187
264
|
|
|
188
|
-
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.
|
|
189
267
|
|
|
190
268
|
##### Button
|
|
191
269
|
|
|
@@ -217,599 +295,778 @@ import { SplitButton } from '@atlaskit/button/new';
|
|
|
217
295
|
|
|
218
296
|
### Patch Changes
|
|
219
297
|
|
|
220
|
-
-
|
|
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
|
|
221
301
|
|
|
222
302
|
## 16.18.0
|
|
223
303
|
|
|
224
304
|
### Minor Changes
|
|
225
305
|
|
|
226
|
-
-
|
|
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`
|
|
227
309
|
|
|
228
310
|
## 16.17.12
|
|
229
311
|
|
|
230
312
|
### Patch Changes
|
|
231
313
|
|
|
232
|
-
-
|
|
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.
|
|
233
317
|
|
|
234
318
|
## 16.17.11
|
|
235
319
|
|
|
236
320
|
### Patch Changes
|
|
237
321
|
|
|
238
|
-
-
|
|
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).
|
|
239
325
|
|
|
240
326
|
## 16.17.10
|
|
241
327
|
|
|
242
328
|
### Patch Changes
|
|
243
329
|
|
|
244
|
-
-
|
|
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
|
|
245
333
|
|
|
246
334
|
## 16.17.9
|
|
247
335
|
|
|
248
336
|
### Patch Changes
|
|
249
337
|
|
|
250
|
-
-
|
|
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.
|
|
251
342
|
|
|
252
343
|
## 16.17.8
|
|
253
344
|
|
|
254
345
|
### Patch Changes
|
|
255
346
|
|
|
256
|
-
-
|
|
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
|
|
257
350
|
|
|
258
351
|
## 16.17.7
|
|
259
352
|
|
|
260
353
|
### Patch Changes
|
|
261
354
|
|
|
262
|
-
-
|
|
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
|
|
263
358
|
|
|
264
359
|
## 16.17.6
|
|
265
360
|
|
|
266
361
|
### Patch Changes
|
|
267
362
|
|
|
268
|
-
-
|
|
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
|
|
269
366
|
|
|
270
367
|
## 16.17.5
|
|
271
368
|
|
|
272
369
|
### Patch Changes
|
|
273
370
|
|
|
274
|
-
-
|
|
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
|
|
275
374
|
|
|
276
375
|
## 16.17.4
|
|
277
376
|
|
|
278
377
|
### Patch Changes
|
|
279
378
|
|
|
280
|
-
-
|
|
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
|
|
281
383
|
|
|
282
384
|
## 16.17.3
|
|
283
385
|
|
|
284
386
|
### Patch Changes
|
|
285
387
|
|
|
286
|
-
-
|
|
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.
|
|
287
392
|
|
|
288
393
|
## 16.17.2
|
|
289
394
|
|
|
290
395
|
### Patch Changes
|
|
291
396
|
|
|
292
|
-
-
|
|
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
|
|
293
400
|
|
|
294
401
|
## 16.17.1
|
|
295
402
|
|
|
296
403
|
### Patch Changes
|
|
297
404
|
|
|
298
|
-
-
|
|
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)
|
|
299
408
|
|
|
300
409
|
## 16.17.0
|
|
301
410
|
|
|
302
411
|
### Minor Changes
|
|
303
412
|
|
|
304
|
-
-
|
|
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
|
|
305
417
|
|
|
306
418
|
## 16.16.1
|
|
307
419
|
|
|
308
420
|
### Patch Changes
|
|
309
421
|
|
|
310
|
-
-
|
|
422
|
+
- Updated dependencies
|
|
311
423
|
|
|
312
424
|
## 16.16.0
|
|
313
425
|
|
|
314
426
|
### Minor Changes
|
|
315
427
|
|
|
316
|
-
-
|
|
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
|
|
317
431
|
|
|
318
432
|
## 16.15.0
|
|
319
433
|
|
|
320
434
|
### Minor Changes
|
|
321
435
|
|
|
322
|
-
-
|
|
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
|
|
323
439
|
|
|
324
440
|
## 16.14.0
|
|
325
441
|
|
|
326
442
|
### Minor Changes
|
|
327
443
|
|
|
328
|
-
-
|
|
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
|
|
329
447
|
|
|
330
448
|
## 16.13.0
|
|
331
449
|
|
|
332
450
|
### Minor Changes
|
|
333
451
|
|
|
334
|
-
-
|
|
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.
|
|
335
455
|
|
|
336
456
|
## 16.12.0
|
|
337
457
|
|
|
338
458
|
### Minor Changes
|
|
339
459
|
|
|
340
|
-
-
|
|
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
|
|
341
464
|
|
|
342
465
|
### Patch Changes
|
|
343
466
|
|
|
344
|
-
-
|
|
467
|
+
- Updated dependencies
|
|
345
468
|
|
|
346
469
|
## 16.11.0
|
|
347
470
|
|
|
348
471
|
### Minor Changes
|
|
349
472
|
|
|
350
|
-
-
|
|
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.
|
|
351
477
|
|
|
352
478
|
## 16.10.2
|
|
353
479
|
|
|
354
480
|
### Patch Changes
|
|
355
481
|
|
|
356
|
-
-
|
|
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
|
|
357
485
|
|
|
358
486
|
## 16.10.1
|
|
359
487
|
|
|
360
488
|
### Patch Changes
|
|
361
489
|
|
|
362
|
-
-
|
|
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.
|
|
363
493
|
|
|
364
494
|
## 16.10.0
|
|
365
495
|
|
|
366
496
|
### Minor Changes
|
|
367
497
|
|
|
368
|
-
-
|
|
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.
|
|
369
501
|
|
|
370
502
|
### Patch Changes
|
|
371
503
|
|
|
372
|
-
-
|
|
504
|
+
- Updated dependencies
|
|
373
505
|
|
|
374
506
|
## 16.9.4
|
|
375
507
|
|
|
376
508
|
### Patch Changes
|
|
377
509
|
|
|
378
|
-
-
|
|
510
|
+
- [#39579](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39579)
|
|
511
|
+
[`f204e4e0e55`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f204e4e0e55) -
|
|
512
|
+
Updated dependencies
|
|
379
513
|
|
|
380
514
|
## 16.9.3
|
|
381
515
|
|
|
382
516
|
### Patch Changes
|
|
383
517
|
|
|
384
|
-
-
|
|
385
|
-
-
|
|
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
|
|
386
522
|
|
|
387
523
|
## 16.9.2
|
|
388
524
|
|
|
389
525
|
### Patch Changes
|
|
390
526
|
|
|
391
|
-
-
|
|
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.
|
|
392
530
|
|
|
393
531
|
## 16.9.1
|
|
394
532
|
|
|
395
533
|
### Patch Changes
|
|
396
534
|
|
|
397
|
-
-
|
|
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.
|
|
398
539
|
|
|
399
540
|
## 16.9.0
|
|
400
541
|
|
|
401
542
|
### Minor Changes
|
|
402
543
|
|
|
403
|
-
-
|
|
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.
|
|
404
549
|
|
|
405
550
|
## 16.8.5
|
|
406
551
|
|
|
407
552
|
### Patch Changes
|
|
408
553
|
|
|
409
|
-
-
|
|
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.
|
|
410
557
|
|
|
411
558
|
## 16.8.4
|
|
412
559
|
|
|
413
560
|
### Patch Changes
|
|
414
561
|
|
|
415
|
-
-
|
|
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.
|
|
416
565
|
|
|
417
566
|
## 16.8.3
|
|
418
567
|
|
|
419
568
|
### Patch Changes
|
|
420
569
|
|
|
421
|
-
-
|
|
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.
|
|
422
573
|
|
|
423
574
|
## 16.8.2
|
|
424
575
|
|
|
425
576
|
### Patch Changes
|
|
426
577
|
|
|
427
|
-
-
|
|
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.
|
|
428
582
|
|
|
429
583
|
## 16.8.1
|
|
430
584
|
|
|
431
585
|
### Patch Changes
|
|
432
586
|
|
|
433
|
-
-
|
|
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.
|
|
434
590
|
|
|
435
591
|
## 16.8.0
|
|
436
592
|
|
|
437
593
|
### Minor Changes
|
|
438
594
|
|
|
439
|
-
-
|
|
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)
|
|
440
600
|
|
|
441
601
|
## 16.7.6
|
|
442
602
|
|
|
443
603
|
### Patch Changes
|
|
444
604
|
|
|
445
|
-
-
|
|
605
|
+
- [#34644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34644)
|
|
606
|
+
[`687e9b93266`](https://bitbucket.org/atlassian/atlassian-frontend/commits/687e9b93266) -
|
|
607
|
+
Updated dependencies
|
|
446
608
|
|
|
447
609
|
## 16.7.5
|
|
448
610
|
|
|
449
611
|
### Patch Changes
|
|
450
612
|
|
|
451
|
-
-
|
|
613
|
+
- [#34192](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34192)
|
|
614
|
+
[`3a14ab26d19`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3a14ab26d19) -
|
|
615
|
+
Updated dependencies
|
|
452
616
|
|
|
453
617
|
## 16.7.4
|
|
454
618
|
|
|
455
619
|
### Patch Changes
|
|
456
620
|
|
|
457
|
-
-
|
|
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.
|
|
458
625
|
|
|
459
626
|
## 16.7.3
|
|
460
627
|
|
|
461
628
|
### Patch Changes
|
|
462
629
|
|
|
463
|
-
-
|
|
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
|
|
464
633
|
|
|
465
634
|
## 16.7.2
|
|
466
635
|
|
|
467
636
|
### Patch Changes
|
|
468
637
|
|
|
469
|
-
-
|
|
638
|
+
- [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771)
|
|
639
|
+
[`96b5112590b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96b5112590b) -
|
|
640
|
+
Updated dependencies
|
|
470
641
|
|
|
471
642
|
## 16.7.1
|
|
472
643
|
|
|
473
644
|
### Patch Changes
|
|
474
645
|
|
|
475
|
-
-
|
|
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`
|
|
476
649
|
|
|
477
650
|
## 16.7.0
|
|
478
651
|
|
|
479
652
|
### Minor Changes
|
|
480
653
|
|
|
481
|
-
-
|
|
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
|
|
482
657
|
|
|
483
658
|
### Patch Changes
|
|
484
659
|
|
|
485
|
-
-
|
|
660
|
+
- Updated dependencies
|
|
486
661
|
|
|
487
662
|
## 16.6.1
|
|
488
663
|
|
|
489
664
|
### Patch Changes
|
|
490
665
|
|
|
491
|
-
-
|
|
666
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
|
|
667
|
+
[`23a850fe471`](https://bitbucket.org/atlassian/atlassian-frontend/commits/23a850fe471) -
|
|
668
|
+
Updated dependencies
|
|
492
669
|
|
|
493
670
|
## 16.6.0
|
|
494
671
|
|
|
495
672
|
### Minor Changes
|
|
496
673
|
|
|
497
|
-
-
|
|
498
|
-
|
|
499
|
-
|
|
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.
|
|
500
680
|
|
|
501
681
|
## 16.5.7
|
|
502
682
|
|
|
503
683
|
### Patch Changes
|
|
504
684
|
|
|
505
|
-
-
|
|
506
|
-
-
|
|
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
|
|
507
690
|
|
|
508
691
|
## 16.5.6
|
|
509
692
|
|
|
510
693
|
### Patch Changes
|
|
511
694
|
|
|
512
|
-
-
|
|
695
|
+
- Updated dependencies
|
|
513
696
|
|
|
514
697
|
## 16.5.5
|
|
515
698
|
|
|
516
699
|
### Patch Changes
|
|
517
700
|
|
|
518
|
-
-
|
|
701
|
+
- Updated dependencies
|
|
519
702
|
|
|
520
703
|
## 16.5.4
|
|
521
704
|
|
|
522
705
|
### Patch Changes
|
|
523
706
|
|
|
524
|
-
-
|
|
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.
|
|
525
710
|
|
|
526
711
|
## 16.5.3
|
|
527
712
|
|
|
528
713
|
### Patch Changes
|
|
529
714
|
|
|
530
|
-
-
|
|
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.
|
|
531
718
|
|
|
532
719
|
## 16.5.2
|
|
533
720
|
|
|
534
721
|
### Patch Changes
|
|
535
722
|
|
|
536
|
-
-
|
|
723
|
+
- Updated dependencies
|
|
537
724
|
|
|
538
725
|
## 16.5.1
|
|
539
726
|
|
|
540
727
|
### Patch Changes
|
|
541
728
|
|
|
542
|
-
-
|
|
729
|
+
- Updated dependencies
|
|
543
730
|
|
|
544
731
|
## 16.5.0
|
|
545
732
|
|
|
546
733
|
### Minor Changes
|
|
547
734
|
|
|
548
|
-
-
|
|
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
|
|
549
738
|
|
|
550
739
|
### Patch Changes
|
|
551
740
|
|
|
552
|
-
-
|
|
553
|
-
|
|
741
|
+
- [`3c76f243e7f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c76f243e7f) -
|
|
742
|
+
InteractionContext is nullable
|
|
743
|
+
- Updated dependencies
|
|
554
744
|
|
|
555
745
|
## 16.4.1
|
|
556
746
|
|
|
557
747
|
### Patch Changes
|
|
558
748
|
|
|
559
|
-
-
|
|
749
|
+
- Updated dependencies
|
|
560
750
|
|
|
561
751
|
## 16.4.0
|
|
562
752
|
|
|
563
753
|
### Minor Changes
|
|
564
754
|
|
|
565
|
-
-
|
|
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.
|
|
566
758
|
|
|
567
759
|
### Patch Changes
|
|
568
760
|
|
|
569
|
-
-
|
|
761
|
+
- Updated dependencies
|
|
570
762
|
|
|
571
763
|
## 16.3.10
|
|
572
764
|
|
|
573
765
|
### Patch Changes
|
|
574
766
|
|
|
575
|
-
-
|
|
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.
|
|
576
770
|
|
|
577
771
|
## 16.3.9
|
|
578
772
|
|
|
579
773
|
### Patch Changes
|
|
580
774
|
|
|
581
|
-
-
|
|
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
|
|
582
778
|
|
|
583
779
|
## 16.3.8
|
|
584
780
|
|
|
585
781
|
### Patch Changes
|
|
586
782
|
|
|
587
|
-
-
|
|
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`
|
|
588
786
|
|
|
589
787
|
## 16.3.7
|
|
590
788
|
|
|
591
789
|
### Patch Changes
|
|
592
790
|
|
|
593
|
-
-
|
|
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
|
|
594
794
|
|
|
595
795
|
## 16.3.6
|
|
596
796
|
|
|
597
797
|
### Patch Changes
|
|
598
798
|
|
|
599
|
-
-
|
|
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`.
|
|
600
802
|
|
|
601
803
|
## 16.3.5
|
|
602
804
|
|
|
603
805
|
### Patch Changes
|
|
604
806
|
|
|
605
|
-
-
|
|
606
|
-
-
|
|
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
|
|
607
811
|
|
|
608
812
|
## 16.3.4
|
|
609
813
|
|
|
610
814
|
### Patch Changes
|
|
611
815
|
|
|
612
|
-
-
|
|
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
|
|
613
819
|
|
|
614
820
|
## 16.3.3
|
|
615
821
|
|
|
616
822
|
### Patch Changes
|
|
617
823
|
|
|
618
|
-
-
|
|
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
|
|
619
827
|
|
|
620
828
|
## 16.3.2
|
|
621
829
|
|
|
622
830
|
### Patch Changes
|
|
623
831
|
|
|
624
|
-
-
|
|
832
|
+
- Updated dependencies
|
|
625
833
|
|
|
626
834
|
## 16.3.1
|
|
627
835
|
|
|
628
836
|
### Patch Changes
|
|
629
837
|
|
|
630
|
-
-
|
|
838
|
+
- Updated dependencies
|
|
631
839
|
|
|
632
840
|
## 16.3.0
|
|
633
841
|
|
|
634
842
|
### Minor Changes
|
|
635
843
|
|
|
636
|
-
-
|
|
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
|
|
637
847
|
|
|
638
848
|
### Patch Changes
|
|
639
849
|
|
|
640
|
-
-
|
|
850
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
851
|
+
Upgrade to TypeScript 4.2.4
|
|
641
852
|
|
|
642
853
|
## 16.2.2
|
|
643
854
|
|
|
644
855
|
### Patch Changes
|
|
645
856
|
|
|
646
|
-
-
|
|
857
|
+
- Updated dependencies
|
|
647
858
|
|
|
648
859
|
## 16.2.1
|
|
649
860
|
|
|
650
861
|
### Patch Changes
|
|
651
862
|
|
|
652
|
-
-
|
|
653
|
-
-
|
|
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
|
|
654
868
|
|
|
655
869
|
## 16.2.0
|
|
656
870
|
|
|
657
871
|
### Minor Changes
|
|
658
872
|
|
|
659
|
-
-
|
|
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"
|
|
660
877
|
|
|
661
878
|
### Patch Changes
|
|
662
879
|
|
|
663
|
-
-
|
|
880
|
+
- Updated dependencies
|
|
664
881
|
|
|
665
882
|
## 16.1.6
|
|
666
883
|
|
|
667
884
|
### Patch Changes
|
|
668
885
|
|
|
669
|
-
-
|
|
670
|
-
|
|
671
|
-
|
|
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
|
|
672
893
|
|
|
673
894
|
## 16.1.5
|
|
674
895
|
|
|
675
896
|
### Patch Changes
|
|
676
897
|
|
|
677
|
-
-
|
|
898
|
+
- Updated dependencies
|
|
678
899
|
|
|
679
900
|
## 16.1.4
|
|
680
901
|
|
|
681
902
|
### Patch Changes
|
|
682
903
|
|
|
683
|
-
-
|
|
684
|
-
-
|
|
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
|
|
685
909
|
|
|
686
910
|
## 16.1.3
|
|
687
911
|
|
|
688
912
|
### Patch Changes
|
|
689
913
|
|
|
690
|
-
-
|
|
691
|
-
-
|
|
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
|
|
692
918
|
|
|
693
919
|
## 16.1.2
|
|
694
920
|
|
|
695
921
|
### Patch Changes
|
|
696
922
|
|
|
697
|
-
-
|
|
923
|
+
- Updated dependencies
|
|
698
924
|
|
|
699
925
|
## 16.1.1
|
|
700
926
|
|
|
701
927
|
### Patch Changes
|
|
702
928
|
|
|
703
|
-
-
|
|
929
|
+
- Updated dependencies
|
|
704
930
|
|
|
705
931
|
## 16.1.0
|
|
706
932
|
|
|
707
933
|
### Minor Changes
|
|
708
934
|
|
|
709
|
-
-
|
|
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.
|
|
710
938
|
|
|
711
939
|
### Patch Changes
|
|
712
940
|
|
|
713
|
-
-
|
|
714
|
-
|
|
941
|
+
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) -
|
|
942
|
+
Updates token usage to match the latest token set
|
|
943
|
+
- Updated dependencies
|
|
715
944
|
|
|
716
945
|
## 16.0.0
|
|
717
946
|
|
|
718
947
|
### Major Changes
|
|
719
948
|
|
|
720
|
-
-
|
|
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.
|
|
721
951
|
|
|
722
952
|
### Patch Changes
|
|
723
953
|
|
|
724
|
-
-
|
|
954
|
+
- Updated dependencies
|
|
725
955
|
|
|
726
956
|
## 15.1.8
|
|
727
957
|
|
|
728
958
|
### Patch Changes
|
|
729
959
|
|
|
730
|
-
-
|
|
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`.
|
|
731
963
|
|
|
732
964
|
## 15.1.7
|
|
733
965
|
|
|
734
966
|
### Patch Changes
|
|
735
967
|
|
|
736
|
-
-
|
|
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`
|
|
737
971
|
|
|
738
972
|
## 15.1.6
|
|
739
973
|
|
|
740
974
|
### Patch Changes
|
|
741
975
|
|
|
742
|
-
-
|
|
743
|
-
-
|
|
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
|
|
744
980
|
|
|
745
981
|
## 15.1.5
|
|
746
982
|
|
|
747
983
|
### Patch Changes
|
|
748
984
|
|
|
749
|
-
-
|
|
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.
|
|
750
988
|
|
|
751
989
|
## 15.1.4
|
|
752
990
|
|
|
753
991
|
### Patch Changes
|
|
754
992
|
|
|
755
|
-
-
|
|
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
|
|
756
996
|
|
|
757
997
|
## 15.1.3
|
|
758
998
|
|
|
759
999
|
### Patch Changes
|
|
760
1000
|
|
|
761
|
-
-
|
|
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
|
|
762
1004
|
|
|
763
1005
|
## 15.1.2
|
|
764
1006
|
|
|
765
1007
|
### Patch Changes
|
|
766
1008
|
|
|
767
|
-
-
|
|
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`
|
|
768
1014
|
|
|
769
|
-
|
|
1015
|
+
We have:
|
|
770
1016
|
|
|
771
|
-
|
|
772
|
-
|
|
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`)
|
|
773
1021
|
|
|
774
|
-
|
|
1022
|
+
#### Upgrading with codemod
|
|
775
1023
|
|
|
776
|
-
|
|
1024
|
+
You first need to have the latest button installed before you can run the codemod
|
|
777
1025
|
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
1026
|
+
```
|
|
1027
|
+
yarn upgrade @atlaskit/button@^15.1.1
|
|
1028
|
+
```
|
|
781
1029
|
|
|
782
|
-
|
|
1030
|
+
Then you can use our cli tool to run the codemod
|
|
783
1031
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
1032
|
+
```
|
|
1033
|
+
npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]
|
|
1034
|
+
```
|
|
787
1035
|
|
|
788
1036
|
## 15.1.1
|
|
789
1037
|
|
|
790
1038
|
### Patch Changes
|
|
791
1039
|
|
|
792
|
-
-
|
|
793
|
-
|
|
794
|
-
|
|
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.
|
|
795
1046
|
|
|
796
1047
|
## 15.1.0
|
|
797
1048
|
|
|
798
1049
|
### Minor Changes
|
|
799
1050
|
|
|
800
|
-
-
|
|
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
|
|
801
1055
|
|
|
802
1056
|
### Patch Changes
|
|
803
1057
|
|
|
804
|
-
-
|
|
1058
|
+
- Updated dependencies
|
|
805
1059
|
|
|
806
1060
|
## 15.0.0
|
|
807
1061
|
|
|
808
1062
|
### Major Changes
|
|
809
1063
|
|
|
810
|
-
-
|
|
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 🤩
|
|
811
1067
|
|
|
812
|
-
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
|
|
813
1070
|
|
|
814
1071
|
```js
|
|
815
1072
|
// button variants
|
|
@@ -826,30 +1083,38 @@ import { CustomThemeButtonProps } from '@atlaskit/button/types';
|
|
|
826
1083
|
|
|
827
1084
|
We have made some intentional changes to button spacing:
|
|
828
1085
|
|
|
829
|
-
-
|
|
830
|
-
|
|
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`)
|
|
831
1090
|
|
|
832
1091
|
### 1 → 3 button variants
|
|
833
1092
|
|
|
834
|
-
`<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
|
|
835
1095
|
|
|
836
|
-
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
|
|
837
1098
|
|
|
838
|
-
-
|
|
1099
|
+
- ✅ Supports the existing (discouraged) `GlobalTheme` dark mode pattern
|
|
839
1100
|
|
|
840
|
-
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`
|
|
841
1103
|
|
|
842
|
-
-
|
|
1104
|
+
- ✅ Supports the existing (discouraged) `GlobalTheme` dark mode pattern
|
|
843
1105
|
|
|
844
|
-
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
|
|
845
1108
|
|
|
846
|
-
-
|
|
847
|
-
-
|
|
848
|
-
|
|
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
|
|
849
1113
|
|
|
850
1114
|
### Installing
|
|
851
1115
|
|
|
852
|
-
**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**
|
|
853
1118
|
|
|
854
1119
|
```js
|
|
855
1120
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -857,16 +1122,24 @@ import LoadingButton from '@atlaskit/button/loading-button';
|
|
|
857
1122
|
import CustomThemeButton from '@atlaskit/button/custom-theme-button';
|
|
858
1123
|
```
|
|
859
1124
|
|
|
860
|
-
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**
|
|
861
1127
|
|
|
862
|
-
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:
|
|
863
1130
|
|
|
864
|
-
-
|
|
865
|
-
|
|
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`.
|
|
866
1138
|
|
|
867
1139
|
**Running the codemod cli**
|
|
868
1140
|
|
|
869
|
-
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**
|
|
870
1143
|
|
|
871
1144
|
`yarn upgrade @atlaskit/button@^15.0.0`
|
|
872
1145
|
|
|
@@ -874,8 +1147,9 @@ Once upgraded, use the Atlaskit codemod-cli;
|
|
|
874
1147
|
|
|
875
1148
|
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
876
1149
|
|
|
877
|
-
Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
878
|
-
|
|
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.
|
|
879
1153
|
|
|
880
1154
|
```js
|
|
881
1155
|
import Button, { LoadingButton, CustomThemeButton } from '@atlaskit/button';
|
|
@@ -891,7 +1165,8 @@ import Button from '@atlaskit/button';
|
|
|
891
1165
|
|
|
892
1166
|
Now the default export is our 'standard button' which does not support the `theme` prop.
|
|
893
1167
|
|
|
894
|
-
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.
|
|
895
1170
|
|
|
896
1171
|
```js
|
|
897
1172
|
// before codemod
|
|
@@ -903,45 +1178,63 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
903
1178
|
|
|
904
1179
|
### Improved behaviour: disabled buttons
|
|
905
1180
|
|
|
906
|
-
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.
|
|
907
1184
|
|
|
908
|
-
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.
|
|
909
1187
|
|
|
910
1188
|
#### New disabled button approach
|
|
911
1189
|
|
|
912
|
-
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>`.
|
|
913
1192
|
|
|
914
1193
|
The behavior of a disabled `<button>` is imitated as much as possible regardless of element type.
|
|
915
1194
|
|
|
916
1195
|
A disabled `<button>` will not fire any user events. We imitate this by:
|
|
917
1196
|
|
|
918
|
-
-
|
|
919
|
-
|
|
920
|
-
-
|
|
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.
|
|
921
1205
|
|
|
922
|
-
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()`.
|
|
923
1208
|
|
|
924
1209
|
### New prop: `overlay` (Standard button only)
|
|
925
1210
|
|
|
926
|
-
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.
|
|
927
1214
|
|
|
928
1215
|
### Improved behavior: overlays
|
|
929
1216
|
|
|
930
|
-
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:
|
|
931
1219
|
|
|
932
|
-
-
|
|
933
|
-
-
|
|
934
|
-
|
|
935
|
-
-
|
|
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)
|
|
936
1226
|
|
|
937
|
-
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.
|
|
938
1229
|
|
|
939
1230
|
### Other changes
|
|
940
1231
|
|
|
941
|
-
-
|
|
942
|
-
|
|
943
|
-
-
|
|
944
|
-
-
|
|
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
|
|
945
1238
|
|
|
946
1239
|
**Automatic upgrading**
|
|
947
1240
|
|
|
@@ -958,1218 +1251,1461 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
958
1251
|
|
|
959
1252
|
We have created **two** different codemods for you to choose from:
|
|
960
1253
|
|
|
961
|
-
1. **Safe codemod**: This codemod will shift everything over to `CustomThemeButton` which is a 1:1
|
|
962
|
-
|
|
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.
|
|
963
1264
|
|
|
964
1265
|
_When you use `@atlaskit/codemod-cli` you will be able to select which codemod you want to run_
|
|
965
1266
|
|
|
966
1267
|
### Patch Changes
|
|
967
1268
|
|
|
968
|
-
-
|
|
969
|
-
|
|
970
|
-
-
|
|
971
|
-
|
|
972
|
-
|
|
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
|
|
973
1283
|
|
|
974
1284
|
## 14.0.4
|
|
975
1285
|
|
|
976
1286
|
### Patch Changes
|
|
977
1287
|
|
|
978
|
-
-
|
|
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
|
|
979
1291
|
|
|
980
1292
|
## 14.0.3
|
|
981
1293
|
|
|
982
1294
|
### Patch Changes
|
|
983
1295
|
|
|
984
|
-
-
|
|
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
|
|
985
1299
|
|
|
986
|
-
|
|
987
|
-
|
|
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.
|
|
988
1302
|
|
|
989
1303
|
## 14.0.2
|
|
990
1304
|
|
|
991
1305
|
### Patch Changes
|
|
992
1306
|
|
|
993
|
-
-
|
|
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
|
|
994
1310
|
|
|
995
1311
|
## 14.0.1
|
|
996
1312
|
|
|
997
1313
|
### Patch Changes
|
|
998
1314
|
|
|
999
|
-
-
|
|
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.
|
|
1000
1318
|
|
|
1001
1319
|
## 14.0.0
|
|
1002
1320
|
|
|
1003
1321
|
### Major Changes
|
|
1004
1322
|
|
|
1005
|
-
-
|
|
1006
|
-
|
|
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
|
|
1007
1328
|
|
|
1008
1329
|
### Patch Changes
|
|
1009
1330
|
|
|
1010
|
-
-
|
|
1331
|
+
- Updated dependencies
|
|
1011
1332
|
|
|
1012
1333
|
## 13.4.2
|
|
1013
1334
|
|
|
1014
1335
|
### Patch Changes
|
|
1015
1336
|
|
|
1016
|
-
-
|
|
1337
|
+
- Updated dependencies
|
|
1017
1338
|
|
|
1018
1339
|
## 13.4.1
|
|
1019
1340
|
|
|
1020
1341
|
### Patch Changes
|
|
1021
1342
|
|
|
1022
|
-
-
|
|
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
|
|
1023
1346
|
|
|
1024
1347
|
## 13.4.0
|
|
1025
1348
|
|
|
1026
1349
|
### Minor Changes
|
|
1027
1350
|
|
|
1028
|
-
-
|
|
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
|
|
1029
1354
|
|
|
1030
1355
|
### Patch Changes
|
|
1031
1356
|
|
|
1032
|
-
-
|
|
1033
|
-
|
|
1357
|
+
- [`98f462e2aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f462e2aa) - Bumping
|
|
1358
|
+
use the latest version of @atlaskit/spinner
|
|
1359
|
+
- Updated dependencies
|
|
1034
1360
|
|
|
1035
1361
|
## 13.3.12
|
|
1036
1362
|
|
|
1037
1363
|
### Patch Changes
|
|
1038
1364
|
|
|
1039
|
-
-
|
|
1365
|
+
- Updated dependencies
|
|
1040
1366
|
|
|
1041
1367
|
## 13.3.11
|
|
1042
1368
|
|
|
1043
1369
|
### Patch Changes
|
|
1044
1370
|
|
|
1045
|
-
-
|
|
1371
|
+
- [patch][6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
|
|
1046
1372
|
|
|
1047
|
-
|
|
1373
|
+
Change imports to comply with Atlassian conventions-
|
|
1374
|
+
[patch][57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
|
|
1048
1375
|
|
|
1049
|
-
|
|
1376
|
+
FIX: Button focus ring color changed to B100- Updated dependencies
|
|
1377
|
+
[449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
|
|
1050
1378
|
|
|
1051
|
-
-
|
|
1052
|
-
|
|
1053
|
-
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
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
|
|
1060
1392
|
|
|
1061
1393
|
## 13.3.10
|
|
1062
1394
|
|
|
1063
1395
|
### Patch Changes
|
|
1064
1396
|
|
|
1065
|
-
-
|
|
1397
|
+
- [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
1066
1398
|
|
|
1067
|
-
|
|
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):
|
|
1068
1402
|
|
|
1069
|
-
-
|
|
1070
|
-
|
|
1071
|
-
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
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
|
|
1075
1412
|
|
|
1076
1413
|
## 13.3.9
|
|
1077
1414
|
|
|
1078
1415
|
### Patch Changes
|
|
1079
1416
|
|
|
1080
|
-
-
|
|
1081
|
-
|
|
1082
|
-
-
|
|
1083
|
-
|
|
1084
|
-
-
|
|
1085
|
-
|
|
1086
|
-
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
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
|
|
1095
1440
|
|
|
1096
1441
|
## 13.3.8
|
|
1097
1442
|
|
|
1098
1443
|
### Patch Changes
|
|
1099
1444
|
|
|
1100
|
-
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
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
|
|
1105
1451
|
|
|
1106
1452
|
## 13.3.7
|
|
1107
1453
|
|
|
1108
1454
|
### Patch Changes
|
|
1109
1455
|
|
|
1110
|
-
-
|
|
1456
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1111
1457
|
|
|
1112
|
-
|
|
1458
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1459
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1113
1460
|
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
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
|
|
1124
1471
|
|
|
1125
1472
|
## 13.3.6
|
|
1126
1473
|
|
|
1127
1474
|
### Patch Changes
|
|
1128
1475
|
|
|
1129
|
-
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
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
|
|
1135
1483
|
|
|
1136
1484
|
## 13.3.5
|
|
1137
1485
|
|
|
1138
1486
|
### Patch Changes
|
|
1139
1487
|
|
|
1140
|
-
-
|
|
1488
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
1141
1489
|
|
|
1142
|
-
|
|
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):
|
|
1143
1493
|
|
|
1144
|
-
-
|
|
1145
|
-
|
|
1146
|
-
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
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
|
|
1152
1505
|
|
|
1153
1506
|
## 13.3.4
|
|
1154
1507
|
|
|
1155
1508
|
### Patch Changes
|
|
1156
1509
|
|
|
1157
|
-
-
|
|
1510
|
+
- [patch][30acc30979](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/30acc30979):
|
|
1158
1511
|
|
|
1159
|
-
|
|
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.
|
|
1160
1514
|
|
|
1161
1515
|
## 13.3.3
|
|
1162
1516
|
|
|
1163
1517
|
### Patch Changes
|
|
1164
1518
|
|
|
1165
|
-
-
|
|
1519
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
1166
1520
|
|
|
1167
|
-
|
|
1521
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
1168
1522
|
|
|
1169
1523
|
## 13.3.2
|
|
1170
1524
|
|
|
1171
1525
|
### Patch Changes
|
|
1172
1526
|
|
|
1173
|
-
-
|
|
1527
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
1174
1528
|
|
|
1175
|
-
|
|
1529
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
1176
1530
|
|
|
1177
1531
|
## 13.3.1
|
|
1178
1532
|
|
|
1179
|
-
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
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
|
|
1183
1538
|
|
|
1184
1539
|
## 13.3.0
|
|
1185
1540
|
|
|
1186
1541
|
### Minor Changes
|
|
1187
1542
|
|
|
1188
|
-
-
|
|
1543
|
+
- [minor][66e147e6a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/66e147e6a1):
|
|
1189
1544
|
|
|
1190
|
-
|
|
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.
|
|
1191
1547
|
|
|
1192
1548
|
## 13.2.0
|
|
1193
1549
|
|
|
1194
1550
|
### Minor Changes
|
|
1195
1551
|
|
|
1196
|
-
-
|
|
1552
|
+
- [minor][93022be303](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93022be303):
|
|
1197
1553
|
|
|
1198
|
-
|
|
1554
|
+
Align button and subtle button text colour with ADG guidelines (improved contrast)
|
|
1199
1555
|
|
|
1200
1556
|
## 13.1.7
|
|
1201
1557
|
|
|
1202
1558
|
### Patch Changes
|
|
1203
1559
|
|
|
1204
|
-
-
|
|
1560
|
+
- [patch][67a3a1ee02](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67a3a1ee02):
|
|
1205
1561
|
|
|
1206
|
-
|
|
1562
|
+
Converts prop types to interfaces
|
|
1207
1563
|
|
|
1208
1564
|
## 13.1.6
|
|
1209
1565
|
|
|
1210
1566
|
### Patch Changes
|
|
1211
1567
|
|
|
1212
|
-
-
|
|
1568
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
1213
1569
|
|
|
1214
|
-
|
|
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
|
|
1215
1572
|
|
|
1216
1573
|
## 13.1.5
|
|
1217
1574
|
|
|
1218
1575
|
### Patch Changes
|
|
1219
1576
|
|
|
1220
|
-
-
|
|
1577
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
1221
1578
|
|
|
1222
|
-
|
|
1579
|
+
Upgraded Typescript to 3.3.x
|
|
1223
1580
|
|
|
1224
1581
|
## 13.1.4
|
|
1225
1582
|
|
|
1226
1583
|
### Patch Changes
|
|
1227
1584
|
|
|
1228
|
-
-
|
|
1585
|
+
- [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
|
|
1229
1586
|
|
|
1230
|
-
|
|
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.
|
|
1231
1589
|
|
|
1232
1590
|
## 13.1.3
|
|
1233
1591
|
|
|
1234
1592
|
### Patch Changes
|
|
1235
1593
|
|
|
1236
|
-
-
|
|
1594
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
1237
1595
|
|
|
1238
|
-
|
|
1596
|
+
Updates component maintainers
|
|
1239
1597
|
|
|
1240
1598
|
## 13.1.2
|
|
1241
1599
|
|
|
1242
1600
|
### Patch Changes
|
|
1243
1601
|
|
|
1244
|
-
-
|
|
1602
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
1245
1603
|
|
|
1246
|
-
|
|
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.
|
|
1247
1606
|
|
|
1248
|
-
|
|
1607
|
+
**Breaking changes**
|
|
1249
1608
|
|
|
1250
|
-
|
|
1251
|
-
|
|
1609
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1610
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1252
1611
|
|
|
1253
|
-
|
|
1612
|
+
**Breaking changes to TypeScript annotations**
|
|
1254
1613
|
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
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
|
|
1266
1630
|
|
|
1267
1631
|
## 13.1.1
|
|
1268
1632
|
|
|
1269
1633
|
### Patch Changes
|
|
1270
1634
|
|
|
1271
|
-
-
|
|
1635
|
+
- [patch][688f2957ca](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/688f2957ca):
|
|
1272
1636
|
|
|
1273
|
-
|
|
1637
|
+
Fixes various TypeScript errors which were previously failing silently
|
|
1274
1638
|
|
|
1275
1639
|
## 13.1.0
|
|
1276
1640
|
|
|
1277
1641
|
### Minor Changes
|
|
1278
1642
|
|
|
1279
|
-
-
|
|
1643
|
+
- [minor][8fcbe23ec6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8fcbe23ec6):
|
|
1280
1644
|
|
|
1281
|
-
|
|
1645
|
+
Updated types for analytics-next and buttons to make them easier to consume
|
|
1282
1646
|
|
|
1283
1647
|
## 13.0.16
|
|
1284
1648
|
|
|
1285
1649
|
### Patch Changes
|
|
1286
1650
|
|
|
1287
|
-
-
|
|
1651
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
1288
1652
|
|
|
1289
|
-
|
|
1653
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
1290
1654
|
|
|
1291
1655
|
## 13.0.15
|
|
1292
1656
|
|
|
1293
1657
|
### Patch Changes
|
|
1294
1658
|
|
|
1295
|
-
-
|
|
1659
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
1296
1660
|
|
|
1297
|
-
|
|
1661
|
+
Fixes bug, missing version.json file
|
|
1298
1662
|
|
|
1299
1663
|
## 13.0.14
|
|
1300
1664
|
|
|
1301
1665
|
### Patch Changes
|
|
1302
1666
|
|
|
1303
|
-
-
|
|
1667
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
1304
1668
|
|
|
1305
|
-
|
|
1669
|
+
In this PR, we are:
|
|
1306
1670
|
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
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
|
|
1313
1679
|
|
|
1314
1680
|
## 13.0.13
|
|
1315
1681
|
|
|
1316
1682
|
### Patch Changes
|
|
1317
1683
|
|
|
1318
|
-
-
|
|
1684
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
1319
1685
|
|
|
1320
|
-
|
|
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.
|
|
1321
1689
|
|
|
1322
|
-
|
|
1690
|
+
Before:
|
|
1323
1691
|
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1692
|
+
```typescript
|
|
1693
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
1694
|
+
```
|
|
1327
1695
|
|
|
1328
|
-
|
|
1696
|
+
After:
|
|
1329
1697
|
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1698
|
+
```typescript
|
|
1699
|
+
withAnalyticsEvents<Props>()(Button);
|
|
1700
|
+
```
|
|
1333
1701
|
|
|
1334
1702
|
## 13.0.12
|
|
1335
1703
|
|
|
1336
1704
|
### Patch Changes
|
|
1337
1705
|
|
|
1338
|
-
-
|
|
1706
|
+
- [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
|
|
1339
1707
|
|
|
1340
|
-
|
|
1708
|
+
Use default react import in typescript files.
|
|
1341
1709
|
|
|
1342
1710
|
## 13.0.11
|
|
1343
1711
|
|
|
1344
|
-
-
|
|
1345
|
-
|
|
1346
|
-
|
|
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
|
|
1347
1716
|
|
|
1348
1717
|
## 13.0.10
|
|
1349
1718
|
|
|
1350
|
-
-
|
|
1351
|
-
|
|
1352
|
-
|
|
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
|
|
1353
1723
|
|
|
1354
1724
|
## 13.0.9
|
|
1355
1725
|
|
|
1356
|
-
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
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
|
|
1361
1732
|
|
|
1362
1733
|
## 13.0.8
|
|
1363
1734
|
|
|
1364
|
-
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
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
|
|
1369
1741
|
|
|
1370
1742
|
## 13.0.7
|
|
1371
1743
|
|
|
1372
1744
|
### Patch Changes
|
|
1373
1745
|
|
|
1374
|
-
-
|
|
1746
|
+
- [patch][aaf9d37b31](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aaf9d37b31):
|
|
1375
1747
|
|
|
1376
|
-
|
|
1748
|
+
Move @types/react-router-dom to devDependencies
|
|
1377
1749
|
|
|
1378
1750
|
## 13.0.6
|
|
1379
1751
|
|
|
1380
|
-
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
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
|
|
1385
1758
|
|
|
1386
1759
|
## 13.0.5
|
|
1387
1760
|
|
|
1388
|
-
-
|
|
1761
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
1389
1762
|
|
|
1390
|
-
|
|
1763
|
+
- This is just a safety release in case anything strange happened in in the previous one. See
|
|
1764
|
+
Pull Request #5942 for details
|
|
1391
1765
|
|
|
1392
1766
|
## 13.0.4
|
|
1393
1767
|
|
|
1394
|
-
-
|
|
1395
|
-
|
|
1396
|
-
|
|
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
|
|
1397
1772
|
|
|
1398
1773
|
## 13.0.3
|
|
1399
1774
|
|
|
1400
|
-
-
|
|
1775
|
+
- [patch][2a2d2060ae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2a2d2060ae):
|
|
1401
1776
|
|
|
1402
|
-
|
|
1777
|
+
- Fixing invalid style for isLoading button
|
|
1403
1778
|
|
|
1404
1779
|
## 13.0.2
|
|
1405
1780
|
|
|
1406
|
-
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
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
|
|
1410
1786
|
|
|
1411
1787
|
## 13.0.1
|
|
1412
1788
|
|
|
1413
|
-
-
|
|
1789
|
+
- [patch][754f83b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/754f83b6f0):
|
|
1414
1790
|
|
|
1415
|
-
|
|
1791
|
+
- Makes dependency on @atlaskit/spinner a caret version. No API or behaviour changes.
|
|
1416
1792
|
|
|
1417
1793
|
## 13.0.0
|
|
1418
1794
|
|
|
1419
|
-
-
|
|
1795
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1420
1796
|
|
|
1421
|
-
|
|
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.
|
|
1422
1799
|
|
|
1423
1800
|
## 12.0.8
|
|
1424
1801
|
|
|
1425
|
-
-
|
|
1802
|
+
- [hotfix] fixes style error and changes spinner to a caret version.
|
|
1426
1803
|
|
|
1427
1804
|
## 12.0.7
|
|
1428
1805
|
|
|
1429
|
-
-
|
|
1806
|
+
- BROKEN RELEASE. DO NOT USE.
|
|
1430
1807
|
|
|
1431
1808
|
## 12.0.6
|
|
1432
1809
|
|
|
1433
|
-
-
|
|
1810
|
+
- [patch][e0e3fabf8e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e0e3fabf8e):
|
|
1434
1811
|
|
|
1435
|
-
|
|
1812
|
+
- Change button to use theme's multiple entry points. This should reduce the bundle size of
|
|
1813
|
+
button
|
|
1436
1814
|
|
|
1437
1815
|
## 12.0.5
|
|
1438
1816
|
|
|
1439
|
-
-
|
|
1817
|
+
- [patch][d3cad2622e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3cad2622e):
|
|
1440
1818
|
|
|
1441
|
-
|
|
1819
|
+
- Removes babel-runtime in favour of @babel/runtime
|
|
1442
1820
|
|
|
1443
1821
|
## 12.0.4
|
|
1444
1822
|
|
|
1445
|
-
-
|
|
1823
|
+
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
|
1446
1824
|
|
|
1447
|
-
|
|
1825
|
+
- Bump tslib
|
|
1448
1826
|
|
|
1449
1827
|
## 12.0.3
|
|
1450
1828
|
|
|
1451
|
-
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
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
|
|
1458
1837
|
|
|
1459
1838
|
## 12.0.2
|
|
1460
1839
|
|
|
1461
|
-
-
|
|
1840
|
+
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
1462
1841
|
|
|
1463
|
-
|
|
1842
|
+
- @atlaskit/analytics-next-types is deprecated. Now you can use types for
|
|
1843
|
+
@atlaskit/analytics-next supplied from itself.
|
|
1464
1844
|
|
|
1465
1845
|
## 12.0.1
|
|
1466
1846
|
|
|
1467
|
-
-
|
|
1468
|
-
|
|
1847
|
+
- Updated dependencies
|
|
1848
|
+
[d263485853](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d263485853):
|
|
1849
|
+
- @atlaskit/spinner@10.0.6
|
|
1469
1850
|
|
|
1470
1851
|
## 12.0.0
|
|
1471
1852
|
|
|
1472
|
-
-
|
|
1853
|
+
- [major][1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
1473
1854
|
|
|
1474
|
-
|
|
1855
|
+
**Highlights**
|
|
1475
1856
|
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
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.
|
|
1482
1863
|
|
|
1483
|
-
|
|
1864
|
+
**Breaking Changes:**
|
|
1484
1865
|
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
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**).
|
|
1489
1871
|
|
|
1490
|
-
|
|
1872
|
+
See the [upgrade guide](https://atlaskit.atlassian.com/packages/core/button/docs/upgrade-guide)
|
|
1873
|
+
for more details
|
|
1491
1874
|
|
|
1492
1875
|
## 11.0.11
|
|
1493
1876
|
|
|
1494
|
-
-
|
|
1877
|
+
- [patch][f8d92ffc5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8d92ffc5e):
|
|
1495
1878
|
|
|
1496
|
-
|
|
1879
|
+
- Revert the change to consume entry points from theme
|
|
1497
1880
|
|
|
1498
1881
|
## 11.0.10
|
|
1499
1882
|
|
|
1500
|
-
-
|
|
1883
|
+
- [patch][5e3ad7f751](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5e3ad7f751):
|
|
1501
1884
|
|
|
1502
|
-
|
|
1885
|
+
- Importing theme components from the root theme package instead of the theme build file
|
|
1503
1886
|
|
|
1504
1887
|
## 11.0.9
|
|
1505
1888
|
|
|
1506
|
-
-
|
|
1889
|
+
- [patch][872b3b905a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/872b3b905a):
|
|
1507
1890
|
|
|
1508
|
-
|
|
1891
|
+
- Updates theme to the version which exposes multiple entry points
|
|
1509
1892
|
|
|
1510
1893
|
## 11.0.8
|
|
1511
1894
|
|
|
1512
|
-
-
|
|
1895
|
+
- [patch][22ce87801e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/22ce87801e):
|
|
1513
1896
|
|
|
1514
|
-
|
|
1897
|
+
- Optimised usages of theme in button using multiple entry points
|
|
1515
1898
|
|
|
1516
1899
|
## 11.0.7
|
|
1517
1900
|
|
|
1518
|
-
-
|
|
1901
|
+
- [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
|
|
1519
1902
|
|
|
1520
|
-
|
|
1903
|
+
- Enable esModuleInterop for typescript, this allows correct use of default exports
|
|
1521
1904
|
|
|
1522
1905
|
## 11.0.6
|
|
1523
1906
|
|
|
1524
|
-
-
|
|
1525
|
-
|
|
1907
|
+
- Updated dependencies
|
|
1908
|
+
[fd940a833b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fd940a833b):
|
|
1909
|
+
- @atlaskit/spinner@10.0.4
|
|
1526
1910
|
|
|
1527
1911
|
## 11.0.5
|
|
1528
1912
|
|
|
1529
|
-
-
|
|
1913
|
+
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
1530
1914
|
|
|
1531
|
-
|
|
1915
|
+
- Removes duplicate babel-runtime dependency
|
|
1532
1916
|
|
|
1533
1917
|
## 11.0.4
|
|
1534
1918
|
|
|
1535
|
-
-
|
|
1536
|
-
|
|
1919
|
+
- Updated dependencies
|
|
1920
|
+
[986c5e47c8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/986c5e47c8):
|
|
1921
|
+
- @atlaskit/spinner@10.0.2
|
|
1537
1922
|
|
|
1538
1923
|
## 11.0.3
|
|
1539
1924
|
|
|
1540
|
-
-
|
|
1925
|
+
- [patch][59d4ab031b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/59d4ab031b):
|
|
1541
1926
|
|
|
1542
|
-
|
|
1927
|
+
- Call mouse handlers (e.g. onMouseDown) which are passed in as props
|
|
1543
1928
|
|
|
1544
1929
|
## 11.0.2
|
|
1545
1930
|
|
|
1546
|
-
-
|
|
1931
|
+
- [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
|
|
1547
1932
|
|
|
1548
|
-
|
|
1933
|
+
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of
|
|
1934
|
+
index.js
|
|
1549
1935
|
|
|
1550
1936
|
## 11.0.1
|
|
1551
1937
|
|
|
1552
|
-
-
|
|
1938
|
+
- [patch][90a14be594](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90a14be594):
|
|
1553
1939
|
|
|
1554
|
-
|
|
1940
|
+
- Fix broken type-helpers
|
|
1555
1941
|
|
|
1556
1942
|
## 11.0.0
|
|
1557
1943
|
|
|
1558
|
-
-
|
|
1944
|
+
- [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
1559
1945
|
|
|
1560
|
-
|
|
1946
|
+
- Dropped ES5 distributables from the typescript packages
|
|
1561
1947
|
|
|
1562
1948
|
## 10.1.3
|
|
1563
1949
|
|
|
1564
|
-
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
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
|
|
1572
1959
|
|
|
1573
1960
|
## 10.1.2
|
|
1574
1961
|
|
|
1575
|
-
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
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
|
|
1579
1967
|
|
|
1580
1968
|
## 10.1.1
|
|
1581
1969
|
|
|
1582
|
-
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
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
|
|
1590
1978
|
|
|
1591
1979
|
## 10.1.0
|
|
1592
1980
|
|
|
1593
|
-
-
|
|
1981
|
+
- [minor][36929ef](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36929ef):
|
|
1594
1982
|
|
|
1595
|
-
|
|
1983
|
+
- Add reset as it is listed as a valid type for button and is useful when building forms
|
|
1596
1984
|
|
|
1597
1985
|
## 10.0.4
|
|
1598
1986
|
|
|
1599
|
-
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
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
|
|
1606
1994
|
|
|
1607
1995
|
## 10.0.3
|
|
1608
1996
|
|
|
1609
|
-
-
|
|
1997
|
+
- [patch][76a8f1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76a8f1c):
|
|
1610
1998
|
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
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
|
|
1614
2003
|
|
|
1615
2004
|
## 10.0.2
|
|
1616
2005
|
|
|
1617
|
-
-
|
|
2006
|
+
- [patch][8f89287](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8f89287):
|
|
1618
2007
|
|
|
1619
|
-
|
|
2008
|
+
- Add tslib to dependencies to stop load breaking when it's not there
|
|
1620
2009
|
|
|
1621
2010
|
## 10.0.1
|
|
1622
2011
|
|
|
1623
|
-
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
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
|
|
1627
2016
|
|
|
1628
2017
|
## 10.0.0
|
|
1629
2018
|
|
|
1630
|
-
-
|
|
2019
|
+
- [major][6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
|
|
1631
2020
|
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
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
|
|
1636
2027
|
|
|
1637
|
-
-
|
|
1638
|
-
|
|
1639
|
-
|
|
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
|
|
1640
2031
|
|
|
1641
2032
|
## 9.0.16
|
|
1642
2033
|
|
|
1643
|
-
-
|
|
2034
|
+
- [patch] Fix truncation in button
|
|
2035
|
+
[508ca2c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/508ca2c)
|
|
1644
2036
|
|
|
1645
2037
|
## 9.0.15
|
|
1646
2038
|
|
|
1647
|
-
-
|
|
2039
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
2040
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1648
2041
|
|
|
1649
2042
|
## 9.0.14
|
|
1650
2043
|
|
|
1651
|
-
-
|
|
2044
|
+
- [patch] Fix styling of button rendering icon in IE
|
|
2045
|
+
[b4c5b87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b4c5b87)
|
|
1652
2046
|
|
|
1653
2047
|
## 9.0.13
|
|
1654
2048
|
|
|
1655
|
-
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
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
|
|
1659
2054
|
|
|
1660
2055
|
## 9.0.12
|
|
1661
2056
|
|
|
1662
|
-
-
|
|
2057
|
+
- [patch] Add help appearance
|
|
2058
|
+
[3548c3f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3548c3f)
|
|
1663
2059
|
|
|
1664
2060
|
## 9.0.11
|
|
1665
2061
|
|
|
1666
|
-
-
|
|
2062
|
+
- [patch] Update the appearance of selected for Help
|
|
2063
|
+
[196603f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/196603f)
|
|
1667
2064
|
|
|
1668
2065
|
## 9.0.10
|
|
1669
2066
|
|
|
1670
|
-
-
|
|
1671
|
-
|
|
2067
|
+
- [patch] Updated dependencies
|
|
2068
|
+
[7d51a09](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d51a09)
|
|
2069
|
+
- @atlaskit/spinner@9.0.9
|
|
1672
2070
|
|
|
1673
2071
|
## 9.0.9
|
|
1674
2072
|
|
|
1675
|
-
-
|
|
1676
|
-
|
|
2073
|
+
- [patch] Updated dependencies
|
|
2074
|
+
[80e1925](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80e1925)
|
|
2075
|
+
- @atlaskit/checkbox@5.0.0
|
|
1677
2076
|
|
|
1678
2077
|
## 9.0.8
|
|
1679
2078
|
|
|
1680
|
-
-
|
|
2079
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
2080
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1681
2081
|
|
|
1682
2082
|
## 9.0.6
|
|
1683
2083
|
|
|
1684
|
-
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
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
|
|
1690
2091
|
|
|
1691
2092
|
## 9.0.5
|
|
1692
2093
|
|
|
1693
|
-
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
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
|
|
1700
2104
|
|
|
1701
2105
|
## 9.0.4
|
|
1702
2106
|
|
|
1703
|
-
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
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
|
|
1710
2115
|
|
|
1711
2116
|
## 9.0.3
|
|
1712
2117
|
|
|
1713
|
-
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
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
|
|
1720
2127
|
|
|
1721
2128
|
## 9.0.2
|
|
1722
2129
|
|
|
1723
|
-
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
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
|
|
1728
2137
|
|
|
1729
2138
|
## 9.0.1
|
|
1730
2139
|
|
|
1731
|
-
-
|
|
1732
|
-
|
|
2140
|
+
- [patch] Updated dependencies
|
|
2141
|
+
[619ab41](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/619ab41)
|
|
2142
|
+
- @atlaskit/spinner@9.0.1
|
|
1733
2143
|
|
|
1734
2144
|
## 9.0.0
|
|
1735
2145
|
|
|
1736
|
-
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
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
|
|
1752
2169
|
|
|
1753
2170
|
## 8.2.7
|
|
1754
2171
|
|
|
1755
|
-
-
|
|
1756
|
-
|
|
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)
|
|
1757
2176
|
|
|
1758
2177
|
## 8.2.6
|
|
1759
2178
|
|
|
1760
|
-
-
|
|
1761
|
-
|
|
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)
|
|
1762
2183
|
|
|
1763
2184
|
## 8.2.5
|
|
1764
2185
|
|
|
1765
|
-
-
|
|
2186
|
+
- [patch] Fix flow types [da63331](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da63331)
|
|
1766
2187
|
|
|
1767
|
-
-
|
|
1768
|
-
|
|
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)
|
|
1769
2192
|
|
|
1770
2193
|
## 8.2.4
|
|
1771
2194
|
|
|
1772
|
-
-
|
|
1773
|
-
|
|
1774
|
-
|
|
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
|
|
1775
2200
|
|
|
1776
2201
|
## 8.2.3
|
|
1777
2202
|
|
|
1778
|
-
-
|
|
1779
|
-
|
|
2203
|
+
- [patch] Updated dependencies
|
|
2204
|
+
[cdba8b3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba8b3)
|
|
2205
|
+
- @atlaskit/spinner@8.0.0
|
|
1780
2206
|
|
|
1781
2207
|
## 8.2.2
|
|
1782
2208
|
|
|
1783
|
-
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
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
|
|
1788
2216
|
|
|
1789
2217
|
## 8.2.1
|
|
1790
2218
|
|
|
1791
|
-
-
|
|
1792
|
-
|
|
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)
|
|
1793
2224
|
|
|
1794
2225
|
## 8.2.0
|
|
1795
2226
|
|
|
1796
|
-
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
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
|
|
1801
2234
|
|
|
1802
2235
|
## 8.1.2
|
|
1803
2236
|
|
|
1804
|
-
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
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
|
|
1810
2245
|
|
|
1811
2246
|
## 8.1.1
|
|
1812
2247
|
|
|
1813
|
-
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
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
|
|
1821
2258
|
|
|
1822
2259
|
## 8.1.0
|
|
1823
2260
|
|
|
1824
|
-
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
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
|
|
1831
2269
|
|
|
1832
2270
|
## 8.0.1
|
|
1833
2271
|
|
|
1834
|
-
-
|
|
1835
|
-
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
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
|
|
1842
2281
|
|
|
1843
2282
|
## 8.0.0
|
|
1844
2283
|
|
|
1845
|
-
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
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
|
|
1853
2294
|
|
|
1854
2295
|
## 7.2.5
|
|
1855
2296
|
|
|
1856
|
-
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
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
|
|
1861
2303
|
|
|
1862
2304
|
## 7.2.4
|
|
1863
2305
|
|
|
1864
|
-
-
|
|
1865
|
-
|
|
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)
|
|
1866
2310
|
|
|
1867
2311
|
## 7.2.3
|
|
1868
2312
|
|
|
1869
|
-
-
|
|
1870
|
-
|
|
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)
|
|
1871
2317
|
|
|
1872
2318
|
## 7.2.2
|
|
1873
2319
|
|
|
1874
|
-
-
|
|
2320
|
+
- [patch] Fix react ref dev warnings when using custom components
|
|
2321
|
+
[40b743c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/40b743c)
|
|
1875
2322
|
|
|
1876
2323
|
## 7.2.0
|
|
1877
2324
|
|
|
1878
|
-
-
|
|
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)
|
|
1879
2327
|
|
|
1880
2328
|
## 7.1.0
|
|
1881
2329
|
|
|
1882
|
-
-
|
|
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)
|
|
1883
2332
|
|
|
1884
2333
|
## 7.0.3
|
|
1885
2334
|
|
|
1886
|
-
-
|
|
2335
|
+
- [patch] Fix a react dev warning when using a custom component
|
|
2336
|
+
[8fb3bc1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8fb3bc1)
|
|
1887
2337
|
|
|
1888
2338
|
## 7.0.2
|
|
1889
2339
|
|
|
1890
|
-
-
|
|
2340
|
+
- [patch] Update empty state and button to have consistent types
|
|
2341
|
+
[f0da143](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f0da143)
|
|
1891
2342
|
|
|
1892
2343
|
## 7.0.1
|
|
1893
2344
|
|
|
1894
|
-
-
|
|
1895
|
-
|
|
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)
|
|
1896
2349
|
|
|
1897
2350
|
## 7.0.0
|
|
1898
2351
|
|
|
1899
|
-
-
|
|
2352
|
+
- [major] Bump to React 16.3.
|
|
2353
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1900
2354
|
|
|
1901
2355
|
## 6.6.4
|
|
1902
2356
|
|
|
1903
|
-
-
|
|
1904
|
-
|
|
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)
|
|
1905
2361
|
|
|
1906
2362
|
## 6.6.3
|
|
1907
2363
|
|
|
1908
|
-
-
|
|
2364
|
+
- [patch] added onBlur and onFocus hooks
|
|
2365
|
+
[27d01b7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27d01b7)
|
|
1909
2366
|
|
|
1910
2367
|
## 6.6.2
|
|
1911
2368
|
|
|
1912
|
-
-
|
|
2369
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
2370
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1913
2371
|
|
|
1914
2372
|
## 6.6.1
|
|
1915
2373
|
|
|
1916
|
-
-
|
|
2374
|
+
- [patch] added selected focus state for button
|
|
2375
|
+
[dad190d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dad190d)
|
|
1917
2376
|
|
|
1918
2377
|
## 6.6.0
|
|
1919
2378
|
|
|
1920
|
-
-
|
|
2379
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
2380
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1921
2381
|
|
|
1922
2382
|
## 6.5.0
|
|
1923
2383
|
|
|
1924
|
-
-
|
|
2384
|
+
- [minor] Instrument button with analytics
|
|
2385
|
+
[4e84f5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4e84f5b)
|
|
1925
2386
|
|
|
1926
2387
|
## 6.4.2
|
|
1927
2388
|
|
|
1928
|
-
-
|
|
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)
|
|
1929
2391
|
|
|
1930
2392
|
## 6.4.1
|
|
1931
2393
|
|
|
1932
|
-
-
|
|
2394
|
+
- [patch] Packages Flow types for elements components
|
|
2395
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1933
2396
|
|
|
1934
2397
|
## 6.4.0
|
|
1935
2398
|
|
|
1936
|
-
-
|
|
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)
|
|
1937
2401
|
|
|
1938
2402
|
## 6.3.1
|
|
1939
2403
|
|
|
1940
|
-
-
|
|
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)
|
|
1941
2406
|
|
|
1942
2407
|
## 6.3.0
|
|
1943
2408
|
|
|
1944
|
-
-
|
|
2409
|
+
- [minor] Add React 16 support.
|
|
2410
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
1945
2411
|
|
|
1946
2412
|
## 6.2.0
|
|
1947
2413
|
|
|
1948
|
-
-
|
|
2414
|
+
- [minor] replace flow type to be less restrictive
|
|
2415
|
+
[a28cdbd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28cdbd)
|
|
1949
2416
|
|
|
1950
2417
|
## 6.1.0
|
|
1951
2418
|
|
|
1952
|
-
-
|
|
1953
|
-
|
|
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)
|
|
1954
2423
|
|
|
1955
2424
|
## 6.0.0
|
|
1956
2425
|
|
|
1957
|
-
-
|
|
1958
|
-
|
|
1959
|
-
-
|
|
1960
|
-
|
|
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)
|
|
1961
2434
|
|
|
1962
2435
|
## 5.4.14 (2017-12-01)
|
|
1963
2436
|
|
|
1964
|
-
-
|
|
2437
|
+
- bug fix; fix button group spacing (issues closed: ak-3978)
|
|
2438
|
+
([f0037f2](https://bitbucket.org/atlassian/atlaskit/commits/f0037f2))
|
|
1965
2439
|
|
|
1966
2440
|
## 5.4.13 (2017-11-30)
|
|
1967
2441
|
|
|
1968
|
-
-
|
|
2442
|
+
- bug fix; fix disabled buttons with child elements propagating click events
|
|
2443
|
+
([584ffdc](https://bitbucket.org/atlassian/atlaskit/commits/584ffdc))
|
|
1969
2444
|
|
|
1970
2445
|
## 5.4.12 (2017-11-27)
|
|
1971
2446
|
|
|
1972
|
-
-
|
|
2447
|
+
- bug fix; export interface for ts
|
|
2448
|
+
([15c291c](https://bitbucket.org/atlassian/atlaskit/commits/15c291c))
|
|
1973
2449
|
|
|
1974
2450
|
## 5.4.11 (2017-11-27)
|
|
1975
2451
|
|
|
1976
|
-
-
|
|
2452
|
+
- bug fix; fix disabled buttons not swallowing click events (issues closed: ak-3646)
|
|
2453
|
+
([80e976b](https://bitbucket.org/atlassian/atlaskit/commits/80e976b))
|
|
1977
2454
|
|
|
1978
2455
|
## 5.4.10 (2017-11-24)
|
|
1979
2456
|
|
|
1980
|
-
-
|
|
2457
|
+
- bug fix; fix button-group prop validation to ignore null children
|
|
2458
|
+
([3f7f0c3](https://bitbucket.org/atlassian/atlaskit/commits/3f7f0c3))
|
|
1981
2459
|
|
|
1982
2460
|
## 5.4.9 (2017-11-21)
|
|
1983
2461
|
|
|
1984
|
-
-
|
|
2462
|
+
- bug fix; bumping internal dependencies to latest version
|
|
2463
|
+
([5e81848](https://bitbucket.org/atlassian/atlaskit/commits/5e81848))
|
|
1985
2464
|
|
|
1986
2465
|
## 5.4.8 (2017-10-27)
|
|
1987
2466
|
|
|
1988
|
-
-
|
|
2467
|
+
- bug fix; correct formatting for user-select style
|
|
2468
|
+
([fe9419c](https://bitbucket.org/atlassian/atlaskit/commits/fe9419c))
|
|
1989
2469
|
|
|
1990
2470
|
## 5.4.7 (2017-10-27)
|
|
1991
2471
|
|
|
1992
|
-
-
|
|
2472
|
+
- bug fix; change icon to be unselectable so button content can be copied
|
|
2473
|
+
([e8c876a](https://bitbucket.org/atlassian/atlaskit/commits/e8c876a))
|
|
1993
2474
|
|
|
1994
2475
|
## 5.4.6 (2017-10-27)
|
|
1995
2476
|
|
|
1996
|
-
-
|
|
2477
|
+
- bug fix; updated button props typings
|
|
2478
|
+
([c7a9c09](https://bitbucket.org/atlassian/atlaskit/commits/c7a9c09))
|
|
1997
2479
|
|
|
1998
2480
|
## 5.4.5 (2017-10-23)
|
|
1999
2481
|
|
|
2000
|
-
-
|
|
2482
|
+
- bug fix; support false/null/undefined children in ButtonGroup
|
|
2483
|
+
([4667228](https://bitbucket.org/atlassian/atlaskit/commits/4667228))
|
|
2001
2484
|
|
|
2002
2485
|
## 5.4.4 (2017-10-22)
|
|
2003
2486
|
|
|
2004
|
-
-
|
|
2487
|
+
- bug fix; update dependencies for react-16
|
|
2488
|
+
([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
|
|
2005
2489
|
|
|
2006
2490
|
## 5.4.3 (2017-10-16)
|
|
2007
2491
|
|
|
2008
|
-
-
|
|
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))
|
|
2009
2494
|
|
|
2010
2495
|
## 5.4.2 (2017-10-03)
|
|
2011
2496
|
|
|
2012
|
-
-
|
|
2497
|
+
- bug fix; improve button performance
|
|
2498
|
+
([1bbf0d1](https://bitbucket.org/atlassian/atlaskit/commits/1bbf0d1))
|
|
2013
2499
|
|
|
2014
2500
|
## 5.4.1 (2017-09-27)
|
|
2015
2501
|
|
|
2016
|
-
-
|
|
2502
|
+
- bug fix; button will truncate if wider than its parent (issues closed: ak-3332)
|
|
2503
|
+
([a701ea1](https://bitbucket.org/atlassian/atlaskit/commits/a701ea1))
|
|
2017
2504
|
|
|
2018
2505
|
## 5.4.0 (2017-09-22)
|
|
2019
2506
|
|
|
2020
|
-
-
|
|
2507
|
+
- feature; buttons no longer prevent text selection (issues closed: ak-3270)
|
|
2508
|
+
([9ab343b](https://bitbucket.org/atlassian/atlaskit/commits/9ab343b))
|
|
2021
2509
|
|
|
2022
2510
|
## 5.3.0 (2017-09-18)
|
|
2023
2511
|
|
|
2024
|
-
-
|
|
2512
|
+
- feature; support new Help button appearance (issues closed: ak-3535)
|
|
2513
|
+
([69728ed](https://bitbucket.org/atlassian/atlaskit/commits/69728ed))
|
|
2025
2514
|
|
|
2026
2515
|
## 5.2.0 (2017-09-12)
|
|
2027
2516
|
|
|
2028
|
-
-
|
|
2517
|
+
- feature; we need the ability to reference elements
|
|
2518
|
+
([cbf5c12](https://bitbucket.org/atlassian/atlaskit/commits/cbf5c12))
|
|
2029
2519
|
|
|
2030
2520
|
## 5.1.2 (2017-09-08)
|
|
2031
2521
|
|
|
2032
|
-
-
|
|
2522
|
+
- bug fix; adding ButtonGroup to type declarations of button pckage.
|
|
2523
|
+
([bb373c1](https://bitbucket.org/atlassian/atlaskit/commits/bb373c1))
|
|
2033
2524
|
|
|
2034
2525
|
## 5.1.1 (2017-08-24)
|
|
2035
2526
|
|
|
2036
|
-
-
|
|
2527
|
+
- bug fix; improved focus ring contrast for warning and danger buttons
|
|
2528
|
+
([39ddda7](https://bitbucket.org/atlassian/atlaskit/commits/39ddda7))
|
|
2037
2529
|
|
|
2038
2530
|
## 5.1.0 (2017-08-23)
|
|
2039
2531
|
|
|
2040
|
-
-
|
|
2041
|
-
|
|
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))
|
|
2042
2536
|
|
|
2043
2537
|
## 5.0.1 (2017-08-16)
|
|
2044
2538
|
|
|
2045
|
-
-
|
|
2539
|
+
- bug fix; fix react warning about PropTypes
|
|
2540
|
+
([6b4cd29](https://bitbucket.org/atlassian/atlaskit/commits/6b4cd29))
|
|
2046
2541
|
|
|
2047
2542
|
## 5.0.0 (2017-08-11)
|
|
2048
2543
|
|
|
2049
|
-
-
|
|
2050
|
-
|
|
2051
|
-
-
|
|
2052
|
-
|
|
2053
|
-
-
|
|
2054
|
-
|
|
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))
|
|
2055
2556
|
|
|
2056
2557
|
## 4.0.0 (2017-08-11)
|
|
2057
2558
|
|
|
2058
|
-
-
|
|
2059
|
-
|
|
2060
|
-
-
|
|
2061
|
-
|
|
2062
|
-
-
|
|
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))
|
|
2063
2569
|
|
|
2064
2570
|
## 3.6.0 (2017-08-09)
|
|
2065
2571
|
|
|
2066
|
-
-
|
|
2572
|
+
- feature; export ButtonGroup from button package (issues closed: ak-2382)
|
|
2573
|
+
([61682c6](https://bitbucket.org/atlassian/atlaskit/commits/61682c6))
|
|
2067
2574
|
|
|
2068
2575
|
## 3.5.3 (2017-07-27)
|
|
2069
2576
|
|
|
2070
|
-
-
|
|
2577
|
+
- fix; rename jsnext:main to jsnext:experimental:main temporarily
|
|
2578
|
+
([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
|
|
2071
2579
|
|
|
2072
2580
|
## 3.5.2 (2017-07-25)
|
|
2073
2581
|
|
|
2074
|
-
-
|
|
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))
|
|
2075
2584
|
|
|
2076
2585
|
## 3.5.1 (2017-07-20)
|
|
2077
2586
|
|
|
2078
|
-
-
|
|
2587
|
+
- fix; return focus ring to buttons
|
|
2588
|
+
([94f1ad0](https://bitbucket.org/atlassian/atlaskit/commits/94f1ad0))
|
|
2079
2589
|
|
|
2080
2590
|
## 3.2.0 (2017-07-17)
|
|
2081
2591
|
|
|
2082
|
-
-
|
|
2592
|
+
- fix; rerelease, failed prepublish scripts
|
|
2593
|
+
([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
|
|
2083
2594
|
|
|
2084
2595
|
## 3.2.0 (2017-07-17)
|
|
2085
2596
|
|
|
2086
|
-
-
|
|
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))
|
|
2087
2599
|
|
|
2088
2600
|
## 3.1.0 (2017-07-10)
|
|
2089
2601
|
|
|
2090
|
-
-
|
|
2602
|
+
- feature; added functionality to have full-width buttons via optional prop
|
|
2603
|
+
([ad7fae6](https://bitbucket.org/atlassian/atlaskit/commits/ad7fae6))
|
|
2091
2604
|
|
|
2092
2605
|
## 2.0.0 (2017-06-01)
|
|
2093
2606
|
|
|
2094
|
-
-
|
|
2095
|
-
|
|
2096
|
-
-
|
|
2097
|
-
|
|
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
|
|
2098
2613
|
|
|
2099
2614
|
## 1.1.4 (2017-05-25)
|
|
2100
2615
|
|
|
2101
|
-
-
|
|
2616
|
+
- fix; update util-shared-styles dependency in button
|
|
2617
|
+
([159dd02](https://bitbucket.org/atlassian/atlaskit/commits/159dd02))
|
|
2102
2618
|
|
|
2103
2619
|
## 1.1.3 (2017-05-06)
|
|
2104
2620
|
|
|
2105
|
-
-
|
|
2621
|
+
- fix; link buttons with no spacing are now baseline aligned correctly
|
|
2622
|
+
([66f5e65](https://bitbucket.org/atlassian/atlaskit/commits/66f5e65))
|
|
2106
2623
|
|
|
2107
2624
|
## 1.1.2 (2017-04-27)
|
|
2108
2625
|
|
|
2109
|
-
-
|
|
2626
|
+
- fix; update legal copy to be more clear. Not all modules include ADG license.
|
|
2627
|
+
([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
|
|
2110
2628
|
|
|
2111
2629
|
## 1.1.1 (2017-04-26)
|
|
2112
2630
|
|
|
2113
|
-
-
|
|
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))
|
|
2114
2633
|
|
|
2115
2634
|
## 1.1.0 (2017-04-20)
|
|
2116
2635
|
|
|
2117
|
-
-
|
|
2636
|
+
- feature; removed explicit style! imports, set style-loader in webpack config
|
|
2637
|
+
([891fc3c](https://bitbucket.org/atlassian/atlaskit/commits/891fc3c))
|
|
2118
2638
|
|
|
2119
2639
|
## 1.0.16 (2017-04-04)
|
|
2120
2640
|
|
|
2121
|
-
-
|
|
2641
|
+
- fix; adds defensive code to allow testing in mocha/jsdom
|
|
2642
|
+
([3f9b72c](https://bitbucket.org/atlassian/atlaskit/commits/3f9b72c))
|
|
2122
2643
|
|
|
2123
2644
|
## 1.0.15 (2017-03-23)
|
|
2124
2645
|
|
|
2125
|
-
-
|
|
2646
|
+
- fix; Empty commit to release the component
|
|
2647
|
+
([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
|
|
2126
2648
|
|
|
2127
2649
|
## 1.0.13 (2017-03-21)
|
|
2128
2650
|
|
|
2129
|
-
-
|
|
2651
|
+
- fix; maintainers for all the packages were added
|
|
2652
|
+
([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
|
|
2130
2653
|
|
|
2131
2654
|
## 1.0.11 (2017-03-08)
|
|
2132
2655
|
|
|
2133
|
-
-
|
|
2656
|
+
- fix; fix subtle-link button to use the correct color default color
|
|
2657
|
+
([c4c274d](https://bitbucket.org/atlassian/atlaskit/commits/c4c274d))
|
|
2134
2658
|
|
|
2135
2659
|
## 1.0.10 (2017-02-28)
|
|
2136
2660
|
|
|
2137
|
-
-
|
|
2661
|
+
- fix; dummy commit to release stories
|
|
2662
|
+
([3df5d9f](https://bitbucket.org/atlassian/atlaskit/commits/3df5d9f))
|
|
2138
2663
|
|
|
2139
2664
|
## 1.0.9 (2017-02-28)
|
|
2140
2665
|
|
|
2141
|
-
-
|
|
2666
|
+
- fix; dummy commit to fix broken stories and missing registry pages
|
|
2667
|
+
([a31e92a](https://bitbucket.org/atlassian/atlaskit/commits/a31e92a))
|
|
2142
2668
|
|
|
2143
2669
|
## 1.0.8 (2017-02-28)
|
|
2144
2670
|
|
|
2145
|
-
-
|
|
2671
|
+
- fix; dummy commit to release stories for components
|
|
2672
|
+
([a105c02](https://bitbucket.org/atlassian/atlaskit/commits/a105c02))
|
|
2146
2673
|
|
|
2147
2674
|
## 1.0.7 (2017-02-28)
|
|
2148
2675
|
|
|
2149
|
-
-
|
|
2676
|
+
- fix; Removes jsdoc annotations from button
|
|
2677
|
+
([fe8e23b](https://bitbucket.org/atlassian/atlaskit/commits/fe8e23b))
|
|
2150
2678
|
|
|
2151
2679
|
## 1.0.6 (2017-02-24)
|
|
2152
2680
|
|
|
2153
|
-
-
|
|
2154
|
-
|
|
2155
|
-
-
|
|
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))
|
|
2156
2687
|
|
|
2157
2688
|
## 1.0.5 (2017-02-20)
|
|
2158
2689
|
|
|
2159
|
-
-
|
|
2690
|
+
- fix; use correctly scoped package names in npm docs
|
|
2691
|
+
([91dbd2f](https://bitbucket.org/atlassian/atlaskit/commits/91dbd2f))
|
|
2160
2692
|
|
|
2161
2693
|
## 1.0.4 (2017-02-16)
|
|
2162
2694
|
|
|
2163
|
-
-
|
|
2695
|
+
- fix; refactor stories to use // rather than http://
|
|
2696
|
+
([a0826cf](https://bitbucket.org/atlassian/atlaskit/commits/a0826cf))
|
|
2164
2697
|
|
|
2165
2698
|
## 1.0.3 (2017-02-09)
|
|
2166
2699
|
|
|
2167
|
-
-
|
|
2700
|
+
- fix; avoiding binding render to this
|
|
2701
|
+
([40c9951](https://bitbucket.org/atlassian/atlaskit/commits/40c9951))
|
|
2168
2702
|
|
|
2169
2703
|
## 1.0.2 (2017-02-09)
|
|
2170
2704
|
|
|
2171
|
-
-
|
|
2705
|
+
- fix; readme refactor to use util-readme
|
|
2706
|
+
([1adf905](https://bitbucket.org/atlassian/atlaskit/commits/1adf905))
|
|
2172
2707
|
|
|
2173
2708
|
## 1.0.1 (2017-02-06)
|
|
2174
2709
|
|
|
2175
|
-
-
|
|
2710
|
+
- fix; Updates package to use ak scoped packages
|
|
2711
|
+
([1262016](https://bitbucket.org/atlassian/atlaskit/commits/1262016))
|