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