@atlaskit/checkbox 13.1.5 → 13.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +880 -562
- package/dist/cjs/checkbox.js +1 -1
- package/dist/es2019/checkbox.js +1 -1
- package/dist/esm/checkbox.js +1 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,405 +1,521 @@
|
|
|
1
1
|
# @atlaskit/checkbox
|
|
2
2
|
|
|
3
|
+
## 13.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#96187](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96187)
|
|
8
|
+
[`53443aace88d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53443aace88d) -
|
|
9
|
+
Add support for React 18.
|
|
10
|
+
|
|
3
11
|
## 13.1.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
|
-
-
|
|
15
|
+
- [#89923](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89923)
|
|
16
|
+
[`32bc9f9f09b3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32bc9f9f09b3) -
|
|
17
|
+
Internal changes to typography, no visual change.
|
|
8
18
|
|
|
9
19
|
## 13.1.4
|
|
10
20
|
|
|
11
21
|
### Patch Changes
|
|
12
22
|
|
|
13
|
-
-
|
|
23
|
+
- [#84905](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84905)
|
|
24
|
+
[`f03cb7163ffc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f03cb7163ffc) -
|
|
25
|
+
Fixes a bug with input focus styles.
|
|
14
26
|
|
|
15
27
|
## 13.1.3
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
-
|
|
31
|
+
- [#83297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83297)
|
|
32
|
+
[`6b1707c169e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b1707c169e0) -
|
|
33
|
+
The internal composition of this component has changed. There is no expected change in
|
|
34
|
+
behaviour.
|
|
20
35
|
|
|
21
36
|
## 13.1.2
|
|
22
37
|
|
|
23
38
|
### Patch Changes
|
|
24
39
|
|
|
25
|
-
-
|
|
40
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
41
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
42
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
26
43
|
|
|
27
44
|
## 13.1.1
|
|
28
45
|
|
|
29
46
|
### Patch Changes
|
|
30
47
|
|
|
31
|
-
-
|
|
48
|
+
- [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644)
|
|
49
|
+
[`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) -
|
|
50
|
+
Revert input border change from the previous version
|
|
32
51
|
|
|
33
52
|
## 13.1.0
|
|
34
53
|
|
|
35
54
|
### Minor Changes
|
|
36
55
|
|
|
37
|
-
-
|
|
56
|
+
- [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805)
|
|
57
|
+
[`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) -
|
|
58
|
+
[ux] update border with from 2px to 1px with darker color to meet 3:1 color contrast for
|
|
59
|
+
accessibility improvement
|
|
38
60
|
|
|
39
61
|
### Patch Changes
|
|
40
62
|
|
|
41
|
-
-
|
|
63
|
+
- Updated dependencies
|
|
42
64
|
|
|
43
65
|
## 13.0.2
|
|
44
66
|
|
|
45
67
|
### Patch Changes
|
|
46
68
|
|
|
47
|
-
-
|
|
69
|
+
- [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598)
|
|
70
|
+
[`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) -
|
|
71
|
+
[ux] Improved visibility of focus styles by adding a gap between the checkbox and focus ring.
|
|
72
|
+
This makes the focus ring easier to distinguish to a selected checkbox, which is also blue.
|
|
48
73
|
|
|
49
74
|
## 13.0.1
|
|
50
75
|
|
|
51
76
|
### Patch Changes
|
|
52
77
|
|
|
53
|
-
-
|
|
78
|
+
- Updated dependencies
|
|
54
79
|
|
|
55
80
|
## 13.0.0
|
|
56
81
|
|
|
57
82
|
### Major Changes
|
|
58
83
|
|
|
59
|
-
-
|
|
84
|
+
- [#41760](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41760)
|
|
85
|
+
[`909e4a30fe7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/909e4a30fe7) -
|
|
86
|
+
Removed all remaining legacy theming logic from the Blanket, Breadcrumbs and Checkbox
|
|
87
|
+
components.
|
|
60
88
|
|
|
61
89
|
## 12.6.11
|
|
62
90
|
|
|
63
91
|
### Patch Changes
|
|
64
92
|
|
|
65
|
-
-
|
|
93
|
+
- [#38875](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38875)
|
|
94
|
+
[`b580abfbc29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b580abfbc29) - Remove
|
|
95
|
+
onClick from checkbox label
|
|
66
96
|
|
|
67
97
|
## 12.6.10
|
|
68
98
|
|
|
69
99
|
### Patch Changes
|
|
70
100
|
|
|
71
|
-
-
|
|
101
|
+
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
|
|
102
|
+
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
|
|
103
|
+
version.json
|
|
72
104
|
|
|
73
105
|
## 12.6.9
|
|
74
106
|
|
|
75
107
|
### Patch Changes
|
|
76
108
|
|
|
77
|
-
-
|
|
109
|
+
- [#38201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38201)
|
|
110
|
+
[`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This
|
|
111
|
+
package is now onboarded onto the product push model.
|
|
78
112
|
|
|
79
113
|
## 12.6.8
|
|
80
114
|
|
|
81
115
|
### Patch Changes
|
|
82
116
|
|
|
83
|
-
-
|
|
117
|
+
- [#37615](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37615)
|
|
118
|
+
[`ba0a43d8ccc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba0a43d8ccc) - [ux]
|
|
119
|
+
update focused color fallback to meet contrast requirement
|
|
84
120
|
|
|
85
121
|
## 12.6.7
|
|
86
122
|
|
|
87
123
|
### Patch Changes
|
|
88
124
|
|
|
89
|
-
-
|
|
125
|
+
- [#37452](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37452)
|
|
126
|
+
[`9cc3b8d1902`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9cc3b8d1902) -
|
|
127
|
+
chore(checkbox): use new feature flag for border contrast
|
|
90
128
|
|
|
91
129
|
## 12.6.6
|
|
92
130
|
|
|
93
131
|
### Patch Changes
|
|
94
132
|
|
|
95
|
-
-
|
|
133
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
134
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
135
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
136
|
+
testing.
|
|
96
137
|
|
|
97
138
|
## 12.6.5
|
|
98
139
|
|
|
99
140
|
### Patch Changes
|
|
100
141
|
|
|
101
|
-
-
|
|
142
|
+
- [#36666](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36666)
|
|
143
|
+
[`3958636a718`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3958636a718) - update
|
|
144
|
+
border width with border spacing token
|
|
102
145
|
|
|
103
146
|
## 12.6.4
|
|
104
147
|
|
|
105
148
|
### Patch Changes
|
|
106
149
|
|
|
107
|
-
-
|
|
150
|
+
- [#35111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35111)
|
|
151
|
+
[`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend
|
|
152
|
+
border contrast feature flag to support confluence
|
|
108
153
|
|
|
109
154
|
## 12.6.3
|
|
110
155
|
|
|
111
156
|
### Patch Changes
|
|
112
157
|
|
|
113
|
-
-
|
|
158
|
+
- [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051)
|
|
159
|
+
[`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) -
|
|
160
|
+
Migrated use of `gridSize` to space tokens where possible. There is no expected visual or
|
|
161
|
+
behaviour change.
|
|
114
162
|
|
|
115
163
|
## 12.6.2
|
|
116
164
|
|
|
117
165
|
### Patch Changes
|
|
118
166
|
|
|
119
|
-
-
|
|
167
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
168
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
169
|
+
legacy types are published for TS 4.5-4.8
|
|
120
170
|
|
|
121
171
|
## 12.6.1
|
|
122
172
|
|
|
123
173
|
### Patch Changes
|
|
124
174
|
|
|
125
|
-
-
|
|
175
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
176
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
177
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
126
178
|
|
|
127
179
|
## 12.6.0
|
|
128
180
|
|
|
129
181
|
### Minor Changes
|
|
130
182
|
|
|
131
|
-
-
|
|
183
|
+
- [#33335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33335)
|
|
184
|
+
[`8d0fd2d3f6c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d0fd2d3f6c) - [ux]
|
|
185
|
+
reduce stroke width from 2px to 1px with new color to meet contrast requirement
|
|
132
186
|
|
|
133
187
|
## 12.5.0
|
|
134
188
|
|
|
135
189
|
### Minor Changes
|
|
136
190
|
|
|
137
|
-
-
|
|
191
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
192
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
193
|
+
minor dependency bump
|
|
138
194
|
|
|
139
195
|
### Patch Changes
|
|
140
196
|
|
|
141
|
-
-
|
|
197
|
+
- Updated dependencies
|
|
142
198
|
|
|
143
199
|
## 12.4.6
|
|
144
200
|
|
|
145
201
|
### Patch Changes
|
|
146
202
|
|
|
147
|
-
-
|
|
203
|
+
- Updated dependencies
|
|
148
204
|
|
|
149
205
|
## 12.4.5
|
|
150
206
|
|
|
151
207
|
### Patch Changes
|
|
152
208
|
|
|
153
|
-
-
|
|
209
|
+
- Updated dependencies
|
|
154
210
|
|
|
155
211
|
## 12.4.4
|
|
156
212
|
|
|
157
213
|
### Patch Changes
|
|
158
214
|
|
|
159
|
-
-
|
|
215
|
+
- Updated dependencies
|
|
160
216
|
|
|
161
217
|
## 12.4.3
|
|
162
218
|
|
|
163
219
|
### Patch Changes
|
|
164
220
|
|
|
165
|
-
-
|
|
221
|
+
- Updated dependencies
|
|
166
222
|
|
|
167
223
|
## 12.4.2
|
|
168
224
|
|
|
169
225
|
### Patch Changes
|
|
170
226
|
|
|
171
|
-
-
|
|
227
|
+
- [#27738](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27738)
|
|
228
|
+
[`ed1b0fd2c2d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed1b0fd2c2d) - [ux]
|
|
229
|
+
Removes redundant whitespace from checkbox when no visual label is applied - eg when an
|
|
230
|
+
aria-label or id is used instead.
|
|
172
231
|
|
|
173
232
|
## 12.4.1
|
|
174
233
|
|
|
175
234
|
### Patch Changes
|
|
176
235
|
|
|
177
|
-
-
|
|
236
|
+
- Updated dependencies
|
|
178
237
|
|
|
179
238
|
## 12.4.0
|
|
180
239
|
|
|
181
240
|
### Minor Changes
|
|
182
241
|
|
|
183
|
-
-
|
|
242
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
243
|
+
[`0944c0e7eed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0944c0e7eed) -
|
|
244
|
+
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
184
245
|
|
|
185
246
|
### Patch Changes
|
|
186
247
|
|
|
187
|
-
-
|
|
248
|
+
- Updated dependencies
|
|
188
249
|
|
|
189
250
|
## 12.3.20
|
|
190
251
|
|
|
191
252
|
### Patch Changes
|
|
192
253
|
|
|
193
|
-
-
|
|
254
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
255
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
256
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
194
257
|
|
|
195
258
|
## 12.3.19
|
|
196
259
|
|
|
197
260
|
### Patch Changes
|
|
198
261
|
|
|
199
|
-
-
|
|
262
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
263
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
264
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
200
265
|
|
|
201
266
|
## 12.3.18
|
|
202
267
|
|
|
203
268
|
### Patch Changes
|
|
204
269
|
|
|
205
|
-
-
|
|
206
|
-
-
|
|
270
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
271
|
+
[`fe575d49d66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe575d49d66) -
|
|
272
|
+
Updated styles to use new input design tokens
|
|
273
|
+
- Updated dependencies
|
|
207
274
|
|
|
208
275
|
## 12.3.17
|
|
209
276
|
|
|
210
277
|
### Patch Changes
|
|
211
278
|
|
|
212
|
-
-
|
|
279
|
+
- [#23299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23299)
|
|
280
|
+
[`90e89e12034`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90e89e12034) - [ux]
|
|
281
|
+
Updated colors to use appropriate tokens
|
|
213
282
|
|
|
214
283
|
## 12.3.16
|
|
215
284
|
|
|
216
285
|
### Patch Changes
|
|
217
286
|
|
|
218
|
-
-
|
|
287
|
+
- [#23179](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23179)
|
|
288
|
+
[`f55cf469372`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f55cf469372) - Added
|
|
289
|
+
id property to the checkbox label for compatibility with aria-labelledby
|
|
219
290
|
|
|
220
291
|
## 12.3.15
|
|
221
292
|
|
|
222
293
|
### Patch Changes
|
|
223
294
|
|
|
224
|
-
-
|
|
295
|
+
- Updated dependencies
|
|
225
296
|
|
|
226
297
|
## 12.3.14
|
|
227
298
|
|
|
228
299
|
### Patch Changes
|
|
229
300
|
|
|
230
|
-
-
|
|
301
|
+
- [#22130](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22130)
|
|
302
|
+
[`ff75f6c3189`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff75f6c3189) - [ux]
|
|
303
|
+
Checkbox now uses grid layout in order to position the hidden checkbox over the area where the
|
|
304
|
+
icon is. This improves the virtual cursor for screen readers while also meaning that modifier
|
|
305
|
+
keys used when clicking the checkbox work."
|
|
231
306
|
|
|
232
307
|
## 12.3.13
|
|
233
308
|
|
|
234
309
|
### Patch Changes
|
|
235
310
|
|
|
236
|
-
-
|
|
311
|
+
- Updated dependencies
|
|
237
312
|
|
|
238
313
|
## 12.3.12
|
|
239
314
|
|
|
240
315
|
### Patch Changes
|
|
241
316
|
|
|
242
|
-
-
|
|
317
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
318
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
319
|
+
Upgrade to TypeScript 4.2.4
|
|
243
320
|
|
|
244
321
|
## 12.3.11
|
|
245
322
|
|
|
246
323
|
### Patch Changes
|
|
247
324
|
|
|
248
|
-
-
|
|
325
|
+
- Updated dependencies
|
|
249
326
|
|
|
250
327
|
## 12.3.10
|
|
251
328
|
|
|
252
329
|
### Patch Changes
|
|
253
330
|
|
|
254
|
-
-
|
|
331
|
+
- Updated dependencies
|
|
255
332
|
|
|
256
333
|
## 12.3.9
|
|
257
334
|
|
|
258
335
|
### Patch Changes
|
|
259
336
|
|
|
260
|
-
-
|
|
337
|
+
- Updated dependencies
|
|
261
338
|
|
|
262
339
|
## 12.3.8
|
|
263
340
|
|
|
264
341
|
### Patch Changes
|
|
265
342
|
|
|
266
|
-
-
|
|
267
|
-
-
|
|
343
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
|
|
344
|
+
[`5d27b03c5cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d27b03c5cf) - Styles
|
|
345
|
+
have been rewritten in preparation for migration to compiled.
|
|
346
|
+
- Updated dependencies
|
|
268
347
|
|
|
269
348
|
## 12.3.7
|
|
270
349
|
|
|
271
350
|
### Patch Changes
|
|
272
351
|
|
|
273
|
-
-
|
|
274
|
-
-
|
|
352
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
353
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) -
|
|
354
|
+
Updates usage of deprecated token names so they're aligned with the latest naming conventions.
|
|
355
|
+
No UI or visual changes
|
|
356
|
+
- Updated dependencies
|
|
275
357
|
|
|
276
358
|
## 12.3.6
|
|
277
359
|
|
|
278
360
|
### Patch Changes
|
|
279
361
|
|
|
280
|
-
-
|
|
362
|
+
- Updated dependencies
|
|
281
363
|
|
|
282
364
|
## 12.3.5
|
|
283
365
|
|
|
284
366
|
### Patch Changes
|
|
285
367
|
|
|
286
|
-
-
|
|
287
|
-
-
|
|
368
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
369
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
370
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
371
|
+
tokens() function and improving bundle size.
|
|
372
|
+
- Updated dependencies
|
|
288
373
|
|
|
289
374
|
## 12.3.4
|
|
290
375
|
|
|
291
376
|
### Patch Changes
|
|
292
377
|
|
|
293
|
-
-
|
|
378
|
+
- Updated dependencies
|
|
294
379
|
|
|
295
380
|
## 12.3.3
|
|
296
381
|
|
|
297
382
|
### Patch Changes
|
|
298
383
|
|
|
299
|
-
-
|
|
384
|
+
- Updated dependencies
|
|
300
385
|
|
|
301
386
|
## 12.3.2
|
|
302
387
|
|
|
303
388
|
### Patch Changes
|
|
304
389
|
|
|
305
|
-
-
|
|
390
|
+
- Updated dependencies
|
|
306
391
|
|
|
307
392
|
## 12.3.1
|
|
308
393
|
|
|
309
394
|
### Patch Changes
|
|
310
395
|
|
|
311
|
-
-
|
|
312
|
-
-
|
|
396
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
|
|
397
|
+
[`6e2231d4609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e2231d4609) -
|
|
398
|
+
Checkbox no longer creates an empty `<span/>` element next to the input if no label is provided.
|
|
399
|
+
- Updated dependencies
|
|
313
400
|
|
|
314
401
|
## 12.3.0
|
|
315
402
|
|
|
316
403
|
### Minor Changes
|
|
317
404
|
|
|
318
|
-
-
|
|
405
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
406
|
+
[`fe79d66ea34`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe79d66ea34) -
|
|
407
|
+
Instruments checkbox with the new tokens api. This will continue to work alongside the existing
|
|
408
|
+
theming implementation. No visual changes
|
|
319
409
|
|
|
320
410
|
### Patch Changes
|
|
321
411
|
|
|
322
|
-
-
|
|
323
|
-
|
|
324
|
-
-
|
|
412
|
+
- [`b6b4c4100cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6b4c4100cd) -
|
|
413
|
+
Updates high contrast css declarations to use system color tokens + generic media query
|
|
414
|
+
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) -
|
|
415
|
+
Updates token usage to match the latest token set
|
|
416
|
+
- Updated dependencies
|
|
325
417
|
|
|
326
418
|
## 12.2.2
|
|
327
419
|
|
|
328
420
|
### Patch Changes
|
|
329
421
|
|
|
330
|
-
-
|
|
331
|
-
-
|
|
422
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
423
|
+
[`18c128f6b73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18c128f6b73) - [ux]
|
|
424
|
+
Fix bug in which modified click events (e.g. Ctrl+Click) would not get passed down to the
|
|
425
|
+
underlying input element in Firefox.
|
|
426
|
+
- Updated dependencies
|
|
332
427
|
|
|
333
428
|
## 12.2.1
|
|
334
429
|
|
|
335
430
|
### Patch Changes
|
|
336
431
|
|
|
337
|
-
-
|
|
432
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
433
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
434
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
338
435
|
|
|
339
436
|
## 12.2.0
|
|
340
437
|
|
|
341
438
|
### Minor Changes
|
|
342
439
|
|
|
343
|
-
-
|
|
440
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
|
|
441
|
+
[`987e2fc4ddd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/987e2fc4ddd) - Add
|
|
442
|
+
configuration to eslint rule label-has-associated-control
|
|
344
443
|
|
|
345
444
|
### Patch Changes
|
|
346
445
|
|
|
347
|
-
-
|
|
348
|
-
|
|
446
|
+
- [`3c67db1a6e9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c67db1a6e9) - Fix
|
|
447
|
+
for checkbox to account for a change in the @atlaskit/icon API
|
|
448
|
+
- Updated dependencies
|
|
349
449
|
|
|
350
450
|
## 12.1.3
|
|
351
451
|
|
|
352
452
|
### Patch Changes
|
|
353
453
|
|
|
354
|
-
-
|
|
454
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
455
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) -
|
|
456
|
+
Updates to development dependency `storybook-addon-performance`
|
|
355
457
|
|
|
356
458
|
## 12.1.2
|
|
357
459
|
|
|
358
460
|
### Patch Changes
|
|
359
461
|
|
|
360
|
-
-
|
|
462
|
+
- [#11584](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11584)
|
|
463
|
+
[`37324ccc750`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37324ccc750) - Fix
|
|
464
|
+
styling error causing rendering errors in iOS Safari, and focus rings in Firefox
|
|
361
465
|
|
|
362
466
|
## 12.1.1
|
|
363
467
|
|
|
364
468
|
### Patch Changes
|
|
365
469
|
|
|
366
|
-
-
|
|
367
|
-
-
|
|
470
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
|
|
471
|
+
[`a99925b1634`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a99925b1634) - Added
|
|
472
|
+
styles for edge high contrast modes (black on white and white on black)
|
|
473
|
+
- Updated dependencies
|
|
368
474
|
|
|
369
475
|
## 12.1.0
|
|
370
476
|
|
|
371
477
|
### Minor Changes
|
|
372
478
|
|
|
373
|
-
-
|
|
479
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
480
|
+
[`02a0cdbd98b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02a0cdbd98b) - Added
|
|
481
|
+
aria-invalid to checkbox input which corresponds the isInvalid prop
|
|
374
482
|
|
|
375
483
|
## 12.0.2
|
|
376
484
|
|
|
377
485
|
### Patch Changes
|
|
378
486
|
|
|
379
|
-
-
|
|
380
|
-
-
|
|
487
|
+
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
488
|
+
[`e0278312c57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0278312c57) -
|
|
489
|
+
Checkbox now uses the new `SVG` component from @atlaskit/icon.
|
|
490
|
+
- Updated dependencies
|
|
381
491
|
|
|
382
492
|
## 12.0.1
|
|
383
493
|
|
|
384
494
|
### Patch Changes
|
|
385
495
|
|
|
386
|
-
-
|
|
387
|
-
|
|
496
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
497
|
+
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
498
|
+
injected package name and version for analytics instead of version.json.
|
|
499
|
+
- [`08c1f789a45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/08c1f789a45) - [ux]
|
|
500
|
+
Fixes flickering when transitioning to and from indeterminate states
|
|
388
501
|
|
|
389
502
|
## 12.0.0
|
|
390
503
|
|
|
391
504
|
### Major Changes
|
|
392
505
|
|
|
393
|
-
-
|
|
394
|
-
|
|
506
|
+
- [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571)
|
|
507
|
+
[`ee02ee0aaa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee02ee0aaa) In this
|
|
508
|
+
version, we made `Checkbox` dramatically faster and more lightweight 😍
|
|
395
509
|
|
|
396
510
|
### Changes
|
|
397
511
|
|
|
398
|
-
In `12.0.0` we improved the performance of `Checkbox` by making it more similar to a native checkbox
|
|
512
|
+
In `12.0.0` we improved the performance of `Checkbox` by making it more similar to a native checkbox
|
|
513
|
+
and removing performance-heavy API.
|
|
399
514
|
|
|
400
515
|
### Overrides
|
|
401
516
|
|
|
402
|
-
`overrides` is an API that allowed extreme customisation flexibility. Previously you could customise
|
|
517
|
+
`overrides` is an API that allowed extreme customisation flexibility. Previously you could customise
|
|
518
|
+
the css and attributes of 6 internal components or replace the component entirely.
|
|
403
519
|
|
|
404
520
|
```
|
|
405
521
|
<Checkbox
|
|
@@ -416,13 +532,25 @@ In `12.0.0` we improved the performance of `Checkbox` by making it more similar
|
|
|
416
532
|
/>
|
|
417
533
|
```
|
|
418
534
|
|
|
419
|
-
This proved to be a significant performance problem even if you weren't using the API. It also
|
|
535
|
+
This proved to be a significant performance problem even if you weren't using the API. It also
|
|
536
|
+
exposes internal structure as external API which prevents us from changing the structure and
|
|
537
|
+
improving the component. We found that not many consumers were using `overrides` so we decided to
|
|
538
|
+
benefit all consumers of `Checkbox` we have removed `overrides` from the package. If you are using
|
|
539
|
+
`overrides` and we haven't already been in contact with you, contact the design system team for
|
|
540
|
+
assistance in migrating away from it.
|
|
420
541
|
|
|
421
542
|
### Theming
|
|
422
543
|
|
|
423
|
-
`theme` is another API that allows you to customise the appearance of `Checkbox`. Theming could
|
|
544
|
+
`theme` is another API that allows you to customise the appearance of `Checkbox`. Theming could
|
|
545
|
+
previously be used to customise the various colours, spacing and sizes used in `Checkbox`. Much like
|
|
546
|
+
`overrides` there was minimal usage of this API and it was identified to have a negative performance
|
|
547
|
+
impact regardless of whether it was used.
|
|
424
548
|
|
|
425
|
-
We decided to also remove this API to benefit all consumers of `Checkbox`. If you would like to
|
|
549
|
+
We decided to also remove this API to benefit all consumers of `Checkbox`. If you would like to
|
|
550
|
+
continue customising checkbox there are now two ways of doing this. `Checkbox` now spreads any
|
|
551
|
+
`HTMLInputAttribute` onto the checkbox input. Therefore you can put a `className` on the checkbox
|
|
552
|
+
input and target the svg that is actually being shown, in the exact same way that we target the svg
|
|
553
|
+
based off checkbox styles. For example,
|
|
426
554
|
|
|
427
555
|
```
|
|
428
556
|
import React from 'react';
|
|
@@ -465,28 +593,42 @@ export default function LargeSizeExample() {
|
|
|
465
593
|
|
|
466
594
|
```
|
|
467
595
|
|
|
468
|
-
Note that `Checkbox` still supports the light mode / dark mode global token. Along with this change
|
|
596
|
+
Note that `Checkbox` still supports the light mode / dark mode global token. Along with this change
|
|
597
|
+
we have removed the exports `ComponentTokens` and `ThemeFn` from `Checkbox` as they can no longer be
|
|
598
|
+
used with the removal of `theme`.
|
|
469
599
|
|
|
470
600
|
### Other changes
|
|
471
601
|
|
|
472
|
-
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
-
|
|
479
|
-
|
|
602
|
+
- Previously all interaction styles were generated in JS using events, causing unnecessary and
|
|
603
|
+
slow rerenders for actions like hovering and focusing. Now all styles for the `Checkbox` are
|
|
604
|
+
applied using css selectors.
|
|
605
|
+
- To generate less dom elements we have removed the dependency on `@atlaskit/icon` and instead
|
|
606
|
+
changed to an `svg` that can be customised to be the default checkbox or the indeterminate
|
|
607
|
+
checkbox. This `svg` is styled from the input element with the sibling selector.
|
|
608
|
+
- The disabled state of `Checkbox` previously had no border. This was not intentional and now
|
|
609
|
+
`Checkbox` has a 2px border when it is disabled, this is consistent with all other states of
|
|
610
|
+
`Checkbox`.
|
|
611
|
+
- `CheckboxProps` now extends `HTMLInputAttribute` which means you can pass any input attribute as
|
|
612
|
+
a prop onto `Checkbox`.
|
|
613
|
+
- Changed the `inputRef` prop to be `ref` which returns the `ref` of the checkbox input using
|
|
614
|
+
`forwardRef`. This new `ref` prop will accept the type of the old `inputRef` prop,
|
|
615
|
+
`(input?: HTMLInputElement) => any`, as well as if `ref` is created with `createRef`.
|
|
616
|
+
- Removed the prop `isFullWidth` as it did not do anything.
|
|
617
|
+
- Updated the entry point to only export `Checkbox` and `CheckboxProps`. `Checkbox` can now be a
|
|
618
|
+
named or default import. As the old entry point allowed access to every export at the base level
|
|
619
|
+
these exports have now been removed; `ComponentTokens`, `ThemeFn`, `CheckboxWithoutAnalytics`,
|
|
620
|
+
`CheckboxIcon` as well as all exported types.
|
|
621
|
+
- Changed indeterminate checkboxes to set `aria-checked` to be `mixed`.
|
|
480
622
|
|
|
481
623
|
### Automatic upgrading
|
|
482
624
|
|
|
483
625
|
There is a codemod that assists you in upgrading most of the changes from above.
|
|
484
626
|
|
|
485
|
-
-
|
|
486
|
-
-
|
|
487
|
-
-
|
|
488
|
-
-
|
|
489
|
-
-
|
|
627
|
+
- Removes `isFullWidth`, `theme` and `overrides` prop.
|
|
628
|
+
- Shifts over usages of `inputRef` to `ref`
|
|
629
|
+
- Removes imports of `ComponentTokens` and `ThemeFn`.
|
|
630
|
+
- Changes imports of `CheckboxProps` to be at the base level.
|
|
631
|
+
- Changes imports of `CheckboxWithoutAnalytics` to import `Checkbox` at the base level.
|
|
490
632
|
|
|
491
633
|
```
|
|
492
634
|
# You first need to have the latest `Checkbox` installed before you can run the codemod
|
|
@@ -499,967 +641,1143 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
499
641
|
|
|
500
642
|
### Patch Changes
|
|
501
643
|
|
|
502
|
-
-
|
|
503
|
-
|
|
644
|
+
- [`c7604cdf02`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c7604cdf02) - In
|
|
645
|
+
`12.0.0` the `checkbox` input accidentally changed vertical alignment from `top` to `center`.
|
|
646
|
+
This had a visual impact when you had a checkbox label the spanned multiple lines. This changes
|
|
647
|
+
the vertical alignment of the `checkbox` input back to `top`.
|
|
648
|
+
- [`6cb7f0c5e5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cb7f0c5e5) - Patch
|
|
649
|
+
fix to make the svg not shrink and give Checkbox a display name.
|
|
504
650
|
|
|
505
651
|
## 11.0.8
|
|
506
652
|
|
|
507
653
|
### Patch Changes
|
|
508
654
|
|
|
509
|
-
-
|
|
655
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
656
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
|
|
657
|
+
Transpile packages using babel rather than tsc
|
|
510
658
|
|
|
511
659
|
## 11.0.7
|
|
512
660
|
|
|
513
661
|
### Patch Changes
|
|
514
662
|
|
|
515
|
-
-
|
|
516
|
-
|
|
517
|
-
|
|
663
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
664
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
665
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
666
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle
|
|
667
|
+
Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
668
|
+
`devDependencies` to denote version that the package was built with.
|
|
518
669
|
|
|
519
670
|
## 11.0.6
|
|
520
671
|
|
|
521
672
|
### Patch Changes
|
|
522
673
|
|
|
523
|
-
-
|
|
674
|
+
- Updated dependencies
|
|
524
675
|
|
|
525
676
|
## 11.0.5
|
|
526
677
|
|
|
527
678
|
### Patch Changes
|
|
528
679
|
|
|
529
|
-
-
|
|
680
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707)
|
|
681
|
+
[`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable
|
|
682
|
+
integration tests for Edge browser
|
|
530
683
|
|
|
531
684
|
## 11.0.4
|
|
532
685
|
|
|
533
686
|
### Patch Changes
|
|
534
687
|
|
|
535
|
-
-
|
|
688
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
689
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
690
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
536
691
|
|
|
537
|
-
|
|
538
|
-
|
|
692
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this
|
|
693
|
+
tslib upgrade to prevent duplicates of tslib being bundled.
|
|
539
694
|
|
|
540
695
|
## 11.0.3
|
|
541
696
|
|
|
542
697
|
### Patch Changes
|
|
543
698
|
|
|
544
|
-
-
|
|
545
|
-
|
|
699
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
700
|
+
[`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the
|
|
701
|
+
'lodash' package instead of single-function 'lodash.\*' packages
|
|
702
|
+
- [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form
|
|
703
|
+
elements now have a default font explicitly set
|
|
546
704
|
|
|
547
705
|
## 11.0.2
|
|
548
706
|
|
|
549
707
|
### Patch Changes
|
|
550
708
|
|
|
551
|
-
-
|
|
709
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
|
|
710
|
+
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The
|
|
711
|
+
readme and package information has been updated to point to the new design system website.
|
|
552
712
|
|
|
553
713
|
## 11.0.1
|
|
554
714
|
|
|
555
715
|
### Patch Changes
|
|
556
716
|
|
|
557
|
-
-
|
|
717
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
718
|
+
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update
|
|
719
|
+
all the theme imports to be tree-shakable
|
|
558
720
|
|
|
559
721
|
## 11.0.0
|
|
560
722
|
|
|
561
723
|
### Major Changes
|
|
562
724
|
|
|
563
|
-
-
|
|
564
|
-
|
|
725
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
726
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
|
|
727
|
+
Officially dropping IE11 support, from this version onwards there are no warranties of the
|
|
728
|
+
package working in IE11. For more information see:
|
|
729
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
565
730
|
|
|
566
731
|
### Patch Changes
|
|
567
732
|
|
|
568
|
-
-
|
|
733
|
+
- Updated dependencies
|
|
569
734
|
|
|
570
735
|
## 10.1.14
|
|
571
736
|
|
|
572
737
|
### Patch Changes
|
|
573
738
|
|
|
574
|
-
-
|
|
739
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
740
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build
|
|
741
|
+
and supporting files will no longer be published to npm
|
|
575
742
|
|
|
576
743
|
## 10.1.13
|
|
577
744
|
|
|
578
745
|
### Patch Changes
|
|
579
746
|
|
|
580
|
-
-
|
|
747
|
+
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
|
|
748
|
+
[`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove
|
|
749
|
+
unused dependencies
|
|
581
750
|
|
|
582
751
|
## 10.1.12
|
|
583
752
|
|
|
584
753
|
### Patch Changes
|
|
585
754
|
|
|
586
|
-
-
|
|
755
|
+
- Updated dependencies
|
|
587
756
|
|
|
588
757
|
## 10.1.11
|
|
589
758
|
|
|
590
759
|
### Patch Changes
|
|
591
760
|
|
|
592
|
-
-
|
|
761
|
+
- [patch][68ff159118](https://bitbucket.org/atlassian/atlassian-frontend/commits/68ff159118):
|
|
593
762
|
|
|
594
|
-
|
|
763
|
+
Change imports to comply with Atlassian conventions- Updated dependencies
|
|
764
|
+
[6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
|
|
595
765
|
|
|
596
|
-
-
|
|
597
|
-
|
|
598
|
-
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
766
|
+
- Updated dependencies
|
|
767
|
+
[449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
|
|
768
|
+
- Updated dependencies
|
|
769
|
+
[57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
|
|
770
|
+
- Updated dependencies
|
|
771
|
+
[0059d26429](https://bitbucket.org/atlassian/atlassian-frontend/commits/0059d26429):
|
|
772
|
+
- Updated dependencies
|
|
773
|
+
[fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
|
|
774
|
+
- @atlaskit/button@13.3.11
|
|
775
|
+
- @atlaskit/icon@20.1.1
|
|
776
|
+
- @atlaskit/form@7.2.1
|
|
777
|
+
- @atlaskit/webdriver-runner@0.3.4
|
|
604
778
|
|
|
605
779
|
## 10.1.10
|
|
606
780
|
|
|
607
781
|
### Patch Changes
|
|
608
782
|
|
|
609
|
-
-
|
|
610
|
-
|
|
611
|
-
-
|
|
612
|
-
|
|
613
|
-
-
|
|
614
|
-
|
|
615
|
-
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
783
|
+
- Updated dependencies
|
|
784
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
785
|
+
- Updated dependencies
|
|
786
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
787
|
+
- Updated dependencies
|
|
788
|
+
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
|
|
789
|
+
- Updated dependencies
|
|
790
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
791
|
+
- Updated dependencies
|
|
792
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
793
|
+
- Updated dependencies
|
|
794
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
795
|
+
- Updated dependencies
|
|
796
|
+
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
|
|
797
|
+
- Updated dependencies
|
|
798
|
+
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
|
|
799
|
+
- @atlaskit/docs@8.4.0
|
|
800
|
+
- @atlaskit/icon@20.1.0
|
|
801
|
+
- @atlaskit/webdriver-runner@0.3.0
|
|
802
|
+
- @atlaskit/button@13.3.9
|
|
803
|
+
- @atlaskit/form@7.1.5
|
|
804
|
+
- @atlaskit/section-message@4.1.7
|
|
623
805
|
|
|
624
806
|
## 10.1.9
|
|
625
807
|
|
|
626
808
|
### Patch Changes
|
|
627
809
|
|
|
628
|
-
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
810
|
+
- Updated dependencies
|
|
811
|
+
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
|
|
812
|
+
- @atlaskit/webdriver-runner@0.2.0
|
|
813
|
+
- @atlaskit/button@13.3.8
|
|
814
|
+
- @atlaskit/form@7.1.4
|
|
815
|
+
- @atlaskit/section-message@4.1.6
|
|
633
816
|
|
|
634
817
|
## 10.1.8
|
|
635
818
|
|
|
636
819
|
### Patch Changes
|
|
637
820
|
|
|
638
|
-
-
|
|
821
|
+
- [patch][c1992227dc](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1992227dc):
|
|
639
822
|
|
|
640
|
-
|
|
823
|
+
Bump to lodash.merge to 4.6.2- Updated dependencies
|
|
824
|
+
[eaad41d56c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eaad41d56c):
|
|
641
825
|
|
|
642
|
-
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
826
|
+
- Updated dependencies
|
|
827
|
+
[c12ba5eb3e](https://bitbucket.org/atlassian/atlassian-frontend/commits/c12ba5eb3e):
|
|
828
|
+
- Updated dependencies
|
|
829
|
+
[0603860c07](https://bitbucket.org/atlassian/atlassian-frontend/commits/0603860c07):
|
|
830
|
+
- @atlaskit/form@7.1.3
|
|
831
|
+
- @atlaskit/icon@20.0.2
|
|
646
832
|
|
|
647
833
|
## 10.1.7
|
|
648
834
|
|
|
649
835
|
### Patch Changes
|
|
650
836
|
|
|
651
|
-
-
|
|
837
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
652
838
|
|
|
653
|
-
|
|
839
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
840
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
654
841
|
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
842
|
+
- @atlaskit/docs@8.3.2
|
|
843
|
+
- @atlaskit/visual-regression@0.1.9
|
|
844
|
+
- @atlaskit/analytics-next@6.3.5
|
|
845
|
+
- @atlaskit/button@13.3.7
|
|
846
|
+
- @atlaskit/form@7.1.2
|
|
847
|
+
- @atlaskit/icon@20.0.1
|
|
848
|
+
- @atlaskit/section-message@4.1.5
|
|
849
|
+
- @atlaskit/theme@9.5.1
|
|
663
850
|
|
|
664
851
|
## 10.1.6
|
|
665
852
|
|
|
666
853
|
### Patch Changes
|
|
667
854
|
|
|
668
|
-
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
855
|
+
- Updated dependencies
|
|
856
|
+
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
857
|
+
- @atlaskit/icon@20.0.0
|
|
858
|
+
- @atlaskit/form@7.1.1
|
|
859
|
+
- @atlaskit/section-message@4.1.4
|
|
860
|
+
- @atlaskit/docs@8.3.1
|
|
861
|
+
- @atlaskit/button@13.3.6
|
|
674
862
|
|
|
675
863
|
## 10.1.5
|
|
676
864
|
|
|
677
865
|
### Patch Changes
|
|
678
866
|
|
|
679
|
-
-
|
|
867
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
680
868
|
|
|
681
|
-
|
|
869
|
+
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
|
|
870
|
+
[patch][6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866):
|
|
682
871
|
|
|
683
|
-
|
|
872
|
+
Fixes an issue where focus rings and borders were not appearing as expected on some checkboxes-
|
|
873
|
+
Updated dependencies
|
|
874
|
+
[28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
|
|
684
875
|
|
|
685
|
-
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
876
|
+
- Updated dependencies
|
|
877
|
+
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
878
|
+
- Updated dependencies
|
|
879
|
+
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
880
|
+
- @atlaskit/icon@19.1.0
|
|
881
|
+
- @atlaskit/theme@9.5.0
|
|
882
|
+
- @atlaskit/button@13.3.5
|
|
883
|
+
- @atlaskit/section-message@4.1.3
|
|
691
884
|
|
|
692
885
|
## 10.1.4
|
|
693
886
|
|
|
694
887
|
### Patch Changes
|
|
695
888
|
|
|
696
|
-
-
|
|
889
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
697
890
|
|
|
698
|
-
|
|
891
|
+
Form has been converted to Typescript. TypeScript consumers will now get static type safety.
|
|
892
|
+
Flow types are no longer provided. No API changes.-
|
|
893
|
+
[patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
699
894
|
|
|
700
|
-
|
|
895
|
+
fixes disabled checkbox not having correct cursor when hovering over icons- Updated dependencies
|
|
896
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
701
897
|
|
|
702
|
-
-
|
|
703
|
-
|
|
704
|
-
-
|
|
705
|
-
|
|
706
|
-
|
|
898
|
+
- Updated dependencies
|
|
899
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
900
|
+
- Updated dependencies
|
|
901
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
902
|
+
- Updated dependencies
|
|
903
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
904
|
+
- @atlaskit/analytics-next@6.3.3
|
|
905
|
+
- @atlaskit/form@7.0.0
|
|
707
906
|
|
|
708
907
|
## 10.1.3
|
|
709
908
|
|
|
710
909
|
### Patch Changes
|
|
711
910
|
|
|
712
|
-
-
|
|
911
|
+
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
|
|
713
912
|
|
|
714
|
-
|
|
913
|
+
Theme has been converted to Typescript. Typescript consumers will now get static type safety.
|
|
914
|
+
Flow types are no longer provided.
|
|
715
915
|
|
|
716
|
-
|
|
916
|
+
### Breaking
|
|
717
917
|
|
|
718
|
-
|
|
719
|
-
|
|
918
|
+
** getTokens props changes ** When defining the value function passed into a ThemeProvider, the
|
|
919
|
+
getTokens parameter cannot be called without props; if no props are provided an empty object
|
|
920
|
+
`{}` must be passed in:
|
|
720
921
|
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
922
|
+
```javascript
|
|
923
|
+
<CustomTheme.Provider
|
|
924
|
+
value={t => ({ ...t(), backgroundColor: '#333'})}
|
|
925
|
+
>
|
|
926
|
+
```
|
|
726
927
|
|
|
727
|
-
|
|
928
|
+
becomes:
|
|
728
929
|
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
930
|
+
```javascript
|
|
931
|
+
<CustomTheme.Provider
|
|
932
|
+
value={t => ({ ...t({}), backgroundColor: '#333'})}
|
|
933
|
+
>
|
|
934
|
+
```
|
|
734
935
|
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
Users will need to update imports from this:
|
|
936
|
+
** Color palette changes ** Color palettes have been moved into their own file. Users will need
|
|
937
|
+
to update imports from this:
|
|
738
938
|
|
|
739
|
-
|
|
740
|
-
|
|
939
|
+
```javascript
|
|
940
|
+
import { colors } from '@atlaskit/theme';
|
|
741
941
|
|
|
742
|
-
|
|
743
|
-
|
|
942
|
+
colors.colorPalette('8');
|
|
943
|
+
```
|
|
744
944
|
|
|
745
|
-
|
|
945
|
+
to this:
|
|
746
946
|
|
|
747
|
-
|
|
748
|
-
|
|
947
|
+
```javascript
|
|
948
|
+
import { colorPalette } from '@atlaskit/theme';
|
|
749
949
|
|
|
750
|
-
|
|
751
|
-
|
|
950
|
+
colorPalette.colorPalette('8');
|
|
951
|
+
```
|
|
752
952
|
|
|
753
|
-
|
|
953
|
+
or for multi entry-point users:
|
|
754
954
|
|
|
755
|
-
|
|
756
|
-
|
|
955
|
+
```javascript
|
|
956
|
+
import * as colors from '@atlaskit/theme/colors';
|
|
757
957
|
|
|
758
|
-
|
|
759
|
-
|
|
958
|
+
colors.colorPalette('8');
|
|
959
|
+
```
|
|
760
960
|
|
|
761
|
-
|
|
961
|
+
to this:
|
|
762
962
|
|
|
763
|
-
|
|
764
|
-
|
|
963
|
+
```javascript
|
|
964
|
+
import * as colorPalettes from '@atlaskit/theme/color-palette';
|
|
765
965
|
|
|
766
|
-
|
|
767
|
-
|
|
966
|
+
colorPalettes.colorPalette('8');
|
|
967
|
+
```
|
|
768
968
|
|
|
769
969
|
## 10.1.2
|
|
770
970
|
|
|
771
971
|
### Patch Changes
|
|
772
972
|
|
|
773
|
-
-
|
|
973
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
774
974
|
|
|
775
|
-
|
|
975
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
776
976
|
|
|
777
977
|
## 10.1.1
|
|
778
978
|
|
|
779
979
|
### Patch Changes
|
|
780
980
|
|
|
781
|
-
-
|
|
981
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
782
982
|
|
|
783
|
-
|
|
983
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
784
984
|
|
|
785
985
|
## 10.1.0
|
|
786
986
|
|
|
787
987
|
### Minor Changes
|
|
788
988
|
|
|
789
|
-
-
|
|
989
|
+
- [minor][f22f6e1e4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f22f6e1e4f):
|
|
790
990
|
|
|
791
|
-
|
|
991
|
+
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
|
|
992
|
+
products to write better integration and end to end tests.
|
|
792
993
|
|
|
793
994
|
## 10.0.0
|
|
794
995
|
|
|
795
996
|
### Major Changes
|
|
796
997
|
|
|
797
|
-
-
|
|
998
|
+
- [major][97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
|
|
798
999
|
|
|
799
|
-
|
|
1000
|
+
`@atlaskit/checkbox` **10.x** includes the following changes:
|
|
800
1001
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
-
|
|
1002
|
+
- Replaced previous theme implementation with new `@atlaskit/theme` v2 implementation
|
|
1003
|
+
- Please read more about this implementation in the
|
|
1004
|
+
[theming guide](https://atlaskit.atlassian.com/packages/core/theme/docs/theming-guide)
|
|
1005
|
+
- Added `overrides` prop which enables targeted customisations of key components in the
|
|
1006
|
+
@atlaskit/checkbox package.
|
|
1007
|
+
- Please read more about this implementation in the
|
|
1008
|
+
[overrides guide](https://atlaskit.atlassian.com/packages/core/theme/docs/overrides-guide)
|
|
805
1009
|
|
|
806
|
-
|
|
1010
|
+
### Breaking Changes
|
|
807
1011
|
|
|
808
|
-
|
|
1012
|
+
**HiddenCheckbox and spread props**
|
|
809
1013
|
|
|
810
|
-
|
|
811
|
-
|
|
1014
|
+
Passing props to the `<Checkbox/>` component for them to be spread onto the underlying
|
|
1015
|
+
`<HiddenCheckbox/>` component is now **no longer possible**. `@atlaskit/checkbox` still supports
|
|
1016
|
+
passing props down to the `<HiddenCheckbox/>` component, however we've opted to make this
|
|
1017
|
+
behaviour more explicit.
|
|
812
1018
|
|
|
813
|
-
|
|
1019
|
+
Whereas previously you would do this:
|
|
814
1020
|
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
1021
|
+
```js
|
|
1022
|
+
<Checkbox
|
|
1023
|
+
...supportedCheckboxProps
|
|
1024
|
+
'data-testid'='test-checkbox'
|
|
1025
|
+
/>
|
|
1026
|
+
```
|
|
821
1027
|
|
|
822
|
-
|
|
1028
|
+
Now you would leverage the overrides prop to pass these props down to the `<HiddenCheckbox/>`
|
|
1029
|
+
component like so:
|
|
823
1030
|
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
1031
|
+
```js
|
|
1032
|
+
<Checkbox
|
|
1033
|
+
...supportedCheckboxProps
|
|
1034
|
+
overrides={{
|
|
1035
|
+
HiddenCheckbox:{
|
|
1036
|
+
attributesFn: () => ({ 'data-testid': 'test-checkbox' })
|
|
1037
|
+
}
|
|
1038
|
+
}}
|
|
1039
|
+
/>
|
|
1040
|
+
```
|
|
834
1041
|
|
|
835
1042
|
## 9.0.9
|
|
836
1043
|
|
|
837
1044
|
### Patch Changes
|
|
838
1045
|
|
|
839
|
-
-
|
|
1046
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
840
1047
|
|
|
841
|
-
|
|
1048
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
1049
|
+
non-relative imports as relative imports
|
|
842
1050
|
|
|
843
1051
|
## 9.0.8
|
|
844
1052
|
|
|
845
1053
|
### Patch Changes
|
|
846
1054
|
|
|
847
|
-
-
|
|
1055
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
848
1056
|
|
|
849
|
-
|
|
1057
|
+
Upgraded Typescript to 3.3.x
|
|
850
1058
|
|
|
851
1059
|
## 9.0.7
|
|
852
1060
|
|
|
853
1061
|
### Patch Changes
|
|
854
1062
|
|
|
855
|
-
-
|
|
1063
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
856
1064
|
|
|
857
|
-
|
|
1065
|
+
Change all the imports to theme in Core to use multi entry points
|
|
858
1066
|
|
|
859
1067
|
## 9.0.6
|
|
860
1068
|
|
|
861
1069
|
### Patch Changes
|
|
862
1070
|
|
|
863
|
-
-
|
|
1071
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
864
1072
|
|
|
865
|
-
|
|
1073
|
+
Updates component maintainers
|
|
866
1074
|
|
|
867
1075
|
## 9.0.5
|
|
868
1076
|
|
|
869
1077
|
### Patch Changes
|
|
870
1078
|
|
|
871
|
-
-
|
|
1079
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
872
1080
|
|
|
873
|
-
|
|
1081
|
+
Analytics-next has been converted to Typescript. Typescript consumers will now get static type
|
|
1082
|
+
safety. Flow types are no longer provided. No behavioural changes.
|
|
874
1083
|
|
|
875
|
-
|
|
1084
|
+
**Breaking changes**
|
|
876
1085
|
|
|
877
|
-
|
|
878
|
-
|
|
1086
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1087
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
879
1088
|
|
|
880
|
-
|
|
1089
|
+
**Breaking changes to TypeScript annotations**
|
|
881
1090
|
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
1091
|
+
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to
|
|
1092
|
+
provide props as a generic type.
|
|
1093
|
+
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to
|
|
1094
|
+
provide props as a generic type.
|
|
1095
|
+
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match
|
|
1096
|
+
source code
|
|
1097
|
+
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match
|
|
1098
|
+
source code
|
|
1099
|
+
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to
|
|
1100
|
+
match source code
|
|
1101
|
+
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
|
|
1102
|
+
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
|
|
1103
|
+
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
|
|
1104
|
+
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
|
|
1105
|
+
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
|
|
1106
|
+
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
|
|
893
1107
|
|
|
894
1108
|
## 9.0.4
|
|
895
1109
|
|
|
896
1110
|
### Patch Changes
|
|
897
1111
|
|
|
898
|
-
-
|
|
1112
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
899
1113
|
|
|
900
|
-
|
|
1114
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
901
1115
|
|
|
902
1116
|
## 9.0.3
|
|
903
1117
|
|
|
904
1118
|
### Patch Changes
|
|
905
1119
|
|
|
906
|
-
-
|
|
1120
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
907
1121
|
|
|
908
|
-
|
|
1122
|
+
Fixes bug, missing version.json file
|
|
909
1123
|
|
|
910
1124
|
## 9.0.2
|
|
911
1125
|
|
|
912
1126
|
### Patch Changes
|
|
913
1127
|
|
|
914
|
-
-
|
|
1128
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
915
1129
|
|
|
916
|
-
|
|
1130
|
+
In this PR, we are:
|
|
917
1131
|
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
1132
|
+
- Re-introducing dist build folders
|
|
1133
|
+
- Adding back cjs
|
|
1134
|
+
- Replacing es5 by cjs and es2015 by esm
|
|
1135
|
+
- Creating folders at the root for entry-points
|
|
1136
|
+
- Removing the generation of the entry-points at the root Please see this
|
|
1137
|
+
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
|
|
1138
|
+
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
|
|
1139
|
+
for further details
|
|
924
1140
|
|
|
925
1141
|
## 9.0.1
|
|
926
1142
|
|
|
927
1143
|
### Patch Changes
|
|
928
1144
|
|
|
929
|
-
-
|
|
1145
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
930
1146
|
|
|
931
|
-
|
|
1147
|
+
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide
|
|
1148
|
+
props as a generic type. This is so that TypeScript can correctly calculate the props and
|
|
1149
|
+
defaultProps of the returned component.
|
|
932
1150
|
|
|
933
|
-
|
|
1151
|
+
Before:
|
|
934
1152
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
1153
|
+
```typescript
|
|
1154
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
1155
|
+
```
|
|
938
1156
|
|
|
939
|
-
|
|
1157
|
+
After:
|
|
940
1158
|
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
1159
|
+
```typescript
|
|
1160
|
+
withAnalyticsEvents<Props>()(Button);
|
|
1161
|
+
```
|
|
944
1162
|
|
|
945
1163
|
## 9.0.0
|
|
946
1164
|
|
|
947
1165
|
### Major Changes
|
|
948
1166
|
|
|
949
|
-
-
|
|
1167
|
+
- [major][87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
|
|
950
1168
|
|
|
951
|
-
|
|
1169
|
+
Replaced `styled-components` with `emotion 10` as part of Atlaskit-wide conversion process.
|
|
952
1170
|
|
|
953
|
-
|
|
1171
|
+
**No changes to styling or API**; only a breaking change if checkbox is being styled using the
|
|
1172
|
+
styled-components `styled` function or via the styled-components theming library.
|
|
954
1173
|
|
|
955
1174
|
## 8.0.5
|
|
956
1175
|
|
|
957
|
-
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
1176
|
+
- Updated dependencies
|
|
1177
|
+
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
|
|
1178
|
+
- @atlaskit/docs@8.1.3
|
|
1179
|
+
- @atlaskit/button@13.0.9
|
|
1180
|
+
- @atlaskit/form@6.1.1
|
|
1181
|
+
- @atlaskit/section-message@4.0.5
|
|
1182
|
+
- @atlaskit/icon@19.0.0
|
|
963
1183
|
|
|
964
1184
|
## 8.0.4
|
|
965
1185
|
|
|
966
1186
|
### Patch Changes
|
|
967
1187
|
|
|
968
|
-
-
|
|
1188
|
+
- [patch][9c404c7c44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c404c7c44):
|
|
969
1189
|
|
|
970
|
-
|
|
1190
|
+
Using updated icons
|
|
971
1191
|
|
|
972
1192
|
## 8.0.3
|
|
973
1193
|
|
|
974
1194
|
### Patch Changes
|
|
975
1195
|
|
|
976
|
-
-
|
|
1196
|
+
- [patch][9c80ef7539](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c80ef7539):
|
|
977
1197
|
|
|
978
|
-
|
|
1198
|
+
The update to node 10 reveals that unknown type is breaking the extract react types. I had to
|
|
1199
|
+
replace unknown type by any
|
|
979
1200
|
|
|
980
1201
|
## 8.0.2
|
|
981
1202
|
|
|
982
|
-
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
1203
|
+
- Updated dependencies
|
|
1204
|
+
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
|
|
1205
|
+
- @atlaskit/docs@8.1.2
|
|
1206
|
+
- @atlaskit/button@13.0.8
|
|
1207
|
+
- @atlaskit/form@6.0.5
|
|
1208
|
+
- @atlaskit/section-message@4.0.2
|
|
1209
|
+
- @atlaskit/icon@18.0.0
|
|
988
1210
|
|
|
989
1211
|
## 8.0.1
|
|
990
1212
|
|
|
991
1213
|
### Patch Changes
|
|
992
1214
|
|
|
993
|
-
-
|
|
1215
|
+
- [patch][c67483c207](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c67483c207):
|
|
994
1216
|
|
|
995
|
-
|
|
1217
|
+
Fixed a scrollbar bug with checkboxes
|
|
996
1218
|
|
|
997
1219
|
## 8.0.0
|
|
998
1220
|
|
|
999
|
-
-
|
|
1221
|
+
- [major][70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
|
|
1000
1222
|
|
|
1001
|
-
|
|
1223
|
+
- Checkbox has been converted to Typescript. Typescript consumers will now get static type
|
|
1224
|
+
safety. Flow types are no longer provided. No API or behavioural changes.
|
|
1002
1225
|
|
|
1003
1226
|
## 7.0.1
|
|
1004
1227
|
|
|
1005
|
-
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1228
|
+
- Updated dependencies
|
|
1229
|
+
[6dd86f5b07](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6dd86f5b07):
|
|
1230
|
+
- @atlaskit/form@6.0.2
|
|
1231
|
+
- @atlaskit/icon@17.1.1
|
|
1232
|
+
- @atlaskit/theme@9.0.2
|
|
1233
|
+
- @atlaskit/section-message@4.0.0
|
|
1010
1234
|
|
|
1011
1235
|
## 7.0.0
|
|
1012
1236
|
|
|
1013
|
-
-
|
|
1237
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1014
1238
|
|
|
1015
|
-
|
|
1239
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1240
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
1016
1241
|
|
|
1017
1242
|
## 6.0.4
|
|
1018
1243
|
|
|
1019
|
-
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1244
|
+
- Updated dependencies
|
|
1245
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
1246
|
+
- @atlaskit/docs@7.0.3
|
|
1247
|
+
- @atlaskit/button@12.0.3
|
|
1248
|
+
- @atlaskit/form@5.2.7
|
|
1249
|
+
- @atlaskit/icon@16.0.9
|
|
1250
|
+
- @atlaskit/section-message@2.0.3
|
|
1251
|
+
- @atlaskit/theme@8.1.7
|
|
1026
1252
|
|
|
1027
1253
|
## 6.0.3
|
|
1028
1254
|
|
|
1029
|
-
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1255
|
+
- Updated dependencies
|
|
1256
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
1257
|
+
- @atlaskit/docs@7.0.2
|
|
1258
|
+
- @atlaskit/analytics-next@4.0.3
|
|
1259
|
+
- @atlaskit/form@5.2.5
|
|
1260
|
+
- @atlaskit/icon@16.0.8
|
|
1261
|
+
- @atlaskit/section-message@2.0.2
|
|
1262
|
+
- @atlaskit/theme@8.1.6
|
|
1263
|
+
- @atlaskit/button@12.0.0
|
|
1037
1264
|
|
|
1038
1265
|
## 6.0.2
|
|
1039
1266
|
|
|
1040
|
-
-
|
|
1267
|
+
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
1041
1268
|
|
|
1042
|
-
|
|
1269
|
+
- Removes duplicate babel-runtime dependency
|
|
1043
1270
|
|
|
1044
1271
|
## 6.0.1
|
|
1045
1272
|
|
|
1046
|
-
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1273
|
+
- Updated dependencies
|
|
1274
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
1275
|
+
- @atlaskit/docs@7.0.1
|
|
1276
|
+
- @atlaskit/analytics-next@4.0.1
|
|
1277
|
+
- @atlaskit/form@5.2.1
|
|
1278
|
+
- @atlaskit/icon@16.0.5
|
|
1279
|
+
- @atlaskit/section-message@2.0.1
|
|
1280
|
+
- @atlaskit/theme@8.0.1
|
|
1281
|
+
- @atlaskit/button@11.0.0
|
|
1054
1282
|
|
|
1055
1283
|
## 6.0.0
|
|
1056
1284
|
|
|
1057
|
-
-
|
|
1285
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1058
1286
|
|
|
1059
|
-
|
|
1287
|
+
- Drop ES5 from all the flow modules
|
|
1060
1288
|
|
|
1061
|
-
|
|
1289
|
+
### Dropping CJS support in all @atlaskit packages
|
|
1062
1290
|
|
|
1063
|
-
|
|
1064
|
-
|
|
1291
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
1292
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
1293
|
+
`import` and `export` declarations.
|
|
1065
1294
|
|
|
1066
|
-
|
|
1295
|
+
The major reason for doing this is to allow us to support multiple entry points in packages,
|
|
1296
|
+
e.g:
|
|
1067
1297
|
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1298
|
+
```js
|
|
1299
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1300
|
+
```
|
|
1071
1301
|
|
|
1072
|
-
|
|
1302
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
1073
1303
|
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1304
|
+
```js
|
|
1305
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1306
|
+
```
|
|
1077
1307
|
|
|
1078
|
-
|
|
1308
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors
|
|
1309
|
+
harder, we have to worry about how consumers might be using things that aren't _actually_
|
|
1310
|
+
supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads
|
|
1311
|
+
to lots of packages bundling all of theme, just to use a single color, especially in situations
|
|
1312
|
+
where tree shaking fails.
|
|
1079
1313
|
|
|
1080
|
-
|
|
1314
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
1315
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
1316
|
+
internal dependencies.
|
|
1081
1317
|
|
|
1082
|
-
|
|
1318
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1319
|
+
environments.
|
|
1083
1320
|
|
|
1084
|
-
|
|
1321
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
1322
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
1323
|
+
saner API's and simpler package architecture.
|
|
1085
1324
|
|
|
1086
|
-
|
|
1325
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
1326
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
1327
|
+
external) if you have any questions or queries about this.
|
|
1087
1328
|
|
|
1088
1329
|
## 5.0.14
|
|
1089
1330
|
|
|
1090
|
-
-
|
|
1331
|
+
- [patch][c0ad531a70](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0ad531a70):
|
|
1091
1332
|
|
|
1092
|
-
|
|
1333
|
+
- Added test to make use props are passed down to hidden input
|
|
1093
1334
|
|
|
1094
1335
|
## 5.0.13
|
|
1095
1336
|
|
|
1096
|
-
-
|
|
1337
|
+
- [patch][3ae465b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3ae465b6f0):
|
|
1097
1338
|
|
|
1098
|
-
|
|
1339
|
+
- fix for checkbox logging error on mount
|
|
1099
1340
|
|
|
1100
1341
|
## 5.0.12
|
|
1101
1342
|
|
|
1102
|
-
-
|
|
1343
|
+
- [patch][b0153ee6c9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0153ee6c9):
|
|
1103
1344
|
|
|
1104
|
-
|
|
1345
|
+
- Enabled the isRequired validation on checkbox and added the asterisk after the checkbox
|
|
1346
|
+
label to signify the required field
|
|
1105
1347
|
|
|
1106
1348
|
## 5.0.11
|
|
1107
1349
|
|
|
1108
|
-
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1350
|
+
- Updated dependencies
|
|
1351
|
+
[d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
|
|
1352
|
+
- @atlaskit/docs@6.0.1
|
|
1353
|
+
- @atlaskit/button@10.1.2
|
|
1354
|
+
- @atlaskit/section-message@1.0.16
|
|
1355
|
+
- @atlaskit/icon@16.0.0
|
|
1113
1356
|
|
|
1114
1357
|
## 5.0.10
|
|
1115
1358
|
|
|
1116
|
-
-
|
|
1359
|
+
- [patch][fad28be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fad28be):
|
|
1117
1360
|
|
|
1118
|
-
|
|
1361
|
+
- Fixing invalid type for checkbox id prop
|
|
1119
1362
|
|
|
1120
1363
|
## 5.0.9
|
|
1121
1364
|
|
|
1122
|
-
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1365
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
1366
|
+
- @atlaskit/analytics-next@3.1.2
|
|
1367
|
+
- @atlaskit/button@10.1.1
|
|
1368
|
+
- @atlaskit/icon@15.0.2
|
|
1369
|
+
- @atlaskit/section-message@1.0.14
|
|
1370
|
+
- @atlaskit/theme@7.0.1
|
|
1371
|
+
- @atlaskit/docs@6.0.0
|
|
1129
1372
|
|
|
1130
1373
|
## 5.0.8
|
|
1131
1374
|
|
|
1132
|
-
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1375
|
+
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
1376
|
+
- @atlaskit/docs@5.2.3
|
|
1377
|
+
- @atlaskit/button@10.0.4
|
|
1378
|
+
- @atlaskit/icon@15.0.1
|
|
1379
|
+
- @atlaskit/section-message@1.0.13
|
|
1380
|
+
- @atlaskit/theme@7.0.0
|
|
1138
1381
|
|
|
1139
1382
|
## 5.0.7
|
|
1140
1383
|
|
|
1141
|
-
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1384
|
+
- Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
|
|
1385
|
+
- @atlaskit/docs@5.2.2
|
|
1386
|
+
- @atlaskit/button@10.0.1
|
|
1387
|
+
- @atlaskit/section-message@1.0.12
|
|
1388
|
+
- @atlaskit/icon@15.0.0
|
|
1146
1389
|
|
|
1147
1390
|
## 5.0.6
|
|
1148
1391
|
|
|
1149
|
-
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1392
|
+
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
|
|
1393
|
+
- @atlaskit/docs@5.2.1
|
|
1394
|
+
- @atlaskit/analytics-next@3.1.1
|
|
1395
|
+
- @atlaskit/icon@14.6.1
|
|
1396
|
+
- @atlaskit/section-message@1.0.11
|
|
1397
|
+
- @atlaskit/theme@6.2.1
|
|
1398
|
+
- @atlaskit/button@10.0.0
|
|
1156
1399
|
|
|
1157
1400
|
## 5.0.5
|
|
1158
1401
|
|
|
1159
|
-
-
|
|
1402
|
+
- [patch] Upgrade guide & minor flow type fixes
|
|
1403
|
+
[0be287d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0be287d)
|
|
1160
1404
|
|
|
1161
1405
|
## 5.0.4
|
|
1162
1406
|
|
|
1163
|
-
-
|
|
1407
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1408
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1164
1409
|
|
|
1165
1410
|
## 5.0.3
|
|
1166
1411
|
|
|
1167
|
-
-
|
|
1412
|
+
- [patch] Fixed bug where checkbox would use state isChecked value when passing false to isChecked
|
|
1413
|
+
as props [eaf8d16](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/eaf8d16)
|
|
1168
1414
|
|
|
1169
1415
|
## 5.0.2
|
|
1170
1416
|
|
|
1171
|
-
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1417
|
+
- [patch] Updated dependencies
|
|
1418
|
+
[65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
|
|
1419
|
+
- @atlaskit/docs@5.0.8
|
|
1420
|
+
- @atlaskit/button@9.0.13
|
|
1421
|
+
- @atlaskit/icon@14.0.0
|
|
1175
1422
|
|
|
1176
1423
|
## 5.0.1
|
|
1177
1424
|
|
|
1178
|
-
-
|
|
1425
|
+
- [patch] Checkbox now only fires onChange once
|
|
1426
|
+
[c78e59e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c78e59e)
|
|
1179
1427
|
|
|
1180
1428
|
## 5.0.0
|
|
1181
1429
|
|
|
1182
|
-
-
|
|
1430
|
+
- [major] Checkbox refactored to remove the need for CheckboxStateless
|
|
1431
|
+
[80e1925](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80e1925)
|
|
1183
1432
|
|
|
1184
|
-
|
|
1185
|
-
|
|
1433
|
+
`@atlaskit/checkbox` 5.x is part of an ongoing body of work to normalize atlaskit form
|
|
1434
|
+
components. There are a few breaking changes you need to be aware of in upgrading from 4.x to
|
|
1435
|
+
5.x.
|
|
1186
1436
|
|
|
1187
|
-
|
|
1437
|
+
**Exports**
|
|
1188
1438
|
|
|
1189
|
-
|
|
1190
|
-
|
|
1439
|
+
`@atlaskit/checkbox` no longer specifies the Checkbox component as the default export. Moreover
|
|
1440
|
+
the following changes have been made to exports from the `@atlaskit/checkbox` package.
|
|
1191
1441
|
|
|
1192
|
-
|
|
1442
|
+
### Checkbox
|
|
1193
1443
|
|
|
1194
|
-
|
|
1444
|
+
Checkbox is now a named export of the `@atlaskit/checkbox`package. Please import it as below.
|
|
1195
1445
|
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1446
|
+
```
|
|
1447
|
+
import { Checkbox } from @atlaskit/checkbox;
|
|
1448
|
+
```
|
|
1199
1449
|
|
|
1200
|
-
|
|
1201
|
-
|
|
1450
|
+
The Checkbox component is now a conditionally controlled component, the `isChecked` prop is
|
|
1451
|
+
exposed for users to control the checked state of the component. This was the sole reason for
|
|
1452
|
+
having the `CheckboxStateless` component in pre 5.x, and as a result leveraging this pattern
|
|
1453
|
+
allows us to do away with the `CheckboxStateless` component.
|
|
1202
1454
|
|
|
1203
|
-
|
|
1455
|
+
To let the component take care of checked state, leave the `isChecked` prop unset, or explicitly
|
|
1456
|
+
set it to undefined.
|
|
1204
1457
|
|
|
1205
|
-
|
|
1206
|
-
|
|
1458
|
+
Additionally, one can control the initial checked state of a component by setting the
|
|
1459
|
+
`defaultChecked` (boolean) prop. This is used as the initial value of the internal `isChecked`
|
|
1460
|
+
property in state. This value will be overridden by additional user interactions with the
|
|
1461
|
+
component.
|
|
1207
1462
|
|
|
1208
|
-
|
|
1463
|
+
### CheckboxStateless - deprecated
|
|
1209
1464
|
|
|
1210
|
-
|
|
1465
|
+
This component has been deprecated in favor of the conditionally controlled component pattern
|
|
1466
|
+
specified above.\*\*
|
|
1211
1467
|
|
|
1212
|
-
|
|
1468
|
+
### CheckboxGroup - deprecated:
|
|
1213
1469
|
|
|
1214
|
-
|
|
1470
|
+
`@atlaskit/checkbox` no longer exports a CheckboxGroup component. It has been removed for the
|
|
1471
|
+
following reasons:
|
|
1215
1472
|
|
|
1216
|
-
|
|
1217
|
-
|
|
1473
|
+
- It was really a thin wrapper enforcing very basic styling opinions over its children
|
|
1474
|
+
(display: flex, flex: column).
|
|
1475
|
+
- The existing styling blocks the horizontal display of checkbox group children.
|
|
1218
1476
|
|
|
1219
|
-
|
|
1477
|
+
**Prop Changes**
|
|
1220
1478
|
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1479
|
+
- `<Checkbox/>` - `initiallyChecked` renamed to `defaultChecked`
|
|
1480
|
+
- `<Checkbox/>` - `label` prop now accepts type Node instead of type string.
|
|
1481
|
+
- `<Checkbox/>` - `isChecked` is now an optional boolean prop on the Checkbox component.
|
|
1224
1482
|
|
|
1225
1483
|
## 4.0.6
|
|
1226
1484
|
|
|
1227
|
-
-
|
|
1485
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1486
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1228
1487
|
|
|
1229
1488
|
## 4.0.4
|
|
1230
1489
|
|
|
1231
|
-
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1490
|
+
- [patch] Updated dependencies
|
|
1491
|
+
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
|
|
1492
|
+
- @atlaskit/theme@6.0.0
|
|
1493
|
+
- @atlaskit/icon@13.2.5
|
|
1494
|
+
- @atlaskit/button@9.0.6
|
|
1495
|
+
- @atlaskit/docs@5.0.6
|
|
1236
1496
|
|
|
1237
1497
|
## 4.0.3
|
|
1238
1498
|
|
|
1239
|
-
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1499
|
+
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
1500
|
+
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
|
|
1501
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1502
|
+
- [none] Updated dependencies
|
|
1503
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1504
|
+
- @atlaskit/analytics-next@3.0.4
|
|
1505
|
+
- @atlaskit/button@9.0.5
|
|
1506
|
+
- @atlaskit/theme@5.1.3
|
|
1507
|
+
- @atlaskit/icon@13.2.4
|
|
1245
1508
|
|
|
1246
1509
|
## 4.0.2
|
|
1247
1510
|
|
|
1248
|
-
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1511
|
+
- [patch] Updated dependencies
|
|
1512
|
+
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
1513
|
+
- @atlaskit/icon@13.2.2
|
|
1514
|
+
- @atlaskit/button@9.0.4
|
|
1515
|
+
- @atlaskit/theme@5.1.2
|
|
1516
|
+
- @atlaskit/analytics-next@3.0.3
|
|
1517
|
+
- @atlaskit/docs@5.0.2
|
|
1254
1518
|
|
|
1255
1519
|
## 4.0.1
|
|
1256
1520
|
|
|
1257
|
-
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1521
|
+
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
1522
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1523
|
+
- [none] Updated dependencies
|
|
1524
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1525
|
+
- @atlaskit/analytics-next@3.0.2
|
|
1526
|
+
- @atlaskit/button@9.0.3
|
|
1527
|
+
- @atlaskit/theme@5.1.1
|
|
1528
|
+
- @atlaskit/icon@13.2.1
|
|
1263
1529
|
|
|
1264
1530
|
## 4.0.0
|
|
1265
1531
|
|
|
1266
|
-
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1532
|
+
- [major] Provides analytics for common component interations. See the
|
|
1533
|
+
[Instrumented Components](https://atlaskit.atlassian.com/packages/core/analytics-next) section
|
|
1534
|
+
for more details. If you are using enzyme for testing you will have to use
|
|
1535
|
+
[our forked version of the library](https://atlaskit.atlassian.com/docs/guides/testing#we-use-a-forked-version-of-enzyme).
|
|
1536
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
1537
|
+
- [major] Updates to React ^16.4.0
|
|
1538
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1539
|
+
- [major] Updated dependencies
|
|
1540
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
1541
|
+
- @atlaskit/analytics-next@3.0.0
|
|
1542
|
+
- @atlaskit/button@9.0.0
|
|
1543
|
+
- @atlaskit/theme@5.0.0
|
|
1544
|
+
- @atlaskit/docs@5.0.0
|
|
1545
|
+
- @atlaskit/icon@13.0.0
|
|
1546
|
+
- [major] Updated dependencies
|
|
1547
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1548
|
+
- @atlaskit/analytics-next@3.0.0
|
|
1549
|
+
- @atlaskit/button@9.0.0
|
|
1550
|
+
- @atlaskit/theme@5.0.0
|
|
1551
|
+
- @atlaskit/docs@5.0.0
|
|
1552
|
+
- @atlaskit/icon@13.0.0
|
|
1280
1553
|
|
|
1281
1554
|
## 3.1.3
|
|
1282
1555
|
|
|
1283
|
-
-
|
|
1284
|
-
|
|
1556
|
+
- [patch] Button should be a dev dependency
|
|
1557
|
+
[50ca31b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/50ca31b)
|
|
1558
|
+
- [none] Updated dependencies
|
|
1559
|
+
[50ca31b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/50ca31b)
|
|
1285
1560
|
|
|
1286
1561
|
## 3.1.2
|
|
1287
1562
|
|
|
1288
|
-
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1563
|
+
- [patch] Fix \$FlowFixMe and release packages
|
|
1564
|
+
[25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
|
|
1565
|
+
- [none] Updated dependencies
|
|
1566
|
+
[25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
|
|
1567
|
+
- @atlaskit/button@8.2.2
|
|
1568
|
+
- @atlaskit/icon@12.3.1
|
|
1292
1569
|
|
|
1293
1570
|
## 3.1.1
|
|
1294
1571
|
|
|
1295
|
-
-
|
|
1296
|
-
|
|
1572
|
+
- [patch] update to active box color of checkbox to b50 to inline with ADG3 guideline
|
|
1573
|
+
[21073ca](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21073ca)
|
|
1574
|
+
- [none] Updated dependencies
|
|
1575
|
+
[21073ca](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21073ca)
|
|
1297
1576
|
|
|
1298
1577
|
## 3.1.0
|
|
1299
1578
|
|
|
1300
|
-
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1579
|
+
- [minor] Fixes types for Flow 0.74
|
|
1580
|
+
[dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
|
|
1581
|
+
- [none] Updated dependencies
|
|
1582
|
+
[dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
|
|
1583
|
+
- @atlaskit/button@8.2.0
|
|
1584
|
+
- @atlaskit/icon@12.2.0
|
|
1304
1585
|
|
|
1305
1586
|
## 3.0.6
|
|
1306
1587
|
|
|
1307
|
-
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1588
|
+
- [patch] Clean Changelogs - remove duplicates and empty entries
|
|
1589
|
+
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
1590
|
+
- [none] Updated dependencies
|
|
1591
|
+
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
1592
|
+
- @atlaskit/button@8.1.2
|
|
1593
|
+
- @atlaskit/theme@4.0.4
|
|
1594
|
+
- @atlaskit/icon@12.1.2
|
|
1312
1595
|
|
|
1313
1596
|
## 3.0.5
|
|
1314
1597
|
|
|
1315
|
-
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1598
|
+
- [patch] Update changelogs to remove duplicate
|
|
1599
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1600
|
+
- [none] Updated dependencies
|
|
1601
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1602
|
+
- @atlaskit/theme@4.0.3
|
|
1603
|
+
- @atlaskit/icon@12.1.1
|
|
1604
|
+
- @atlaskit/button@8.1.1
|
|
1605
|
+
- @atlaskit/docs@4.1.1
|
|
1321
1606
|
|
|
1322
1607
|
## 3.0.4
|
|
1323
1608
|
|
|
1324
|
-
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1609
|
+
- [none] Updated dependencies
|
|
1610
|
+
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
1611
|
+
- @atlaskit/icon@12.1.0
|
|
1612
|
+
- @atlaskit/docs@4.1.0
|
|
1613
|
+
- @atlaskit/theme@4.0.2
|
|
1614
|
+
- @atlaskit/button@8.1.0
|
|
1329
1615
|
|
|
1330
1616
|
## 3.0.3
|
|
1331
1617
|
|
|
1332
|
-
-
|
|
1333
|
-
|
|
1618
|
+
- [patch] ref prop on checkbox stateless component is now reference to class
|
|
1619
|
+
[05b4ffd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/05b4ffd)
|
|
1620
|
+
- [none] Updated dependencies
|
|
1621
|
+
[05b4ffd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/05b4ffd)
|
|
1334
1622
|
|
|
1335
1623
|
## 3.0.2
|
|
1336
1624
|
|
|
1337
|
-
-
|
|
1338
|
-
-
|
|
1339
|
-
|
|
1340
|
-
-
|
|
1625
|
+
- [patch] Fix for flow [33f632f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/33f632f)
|
|
1626
|
+
- [patch] Update onChange function to pass type for name and value
|
|
1627
|
+
[f3e768c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f3e768c)
|
|
1628
|
+
- [none] Updated dependencies
|
|
1629
|
+
[33f632f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/33f632f)
|
|
1630
|
+
- [none] Updated dependencies
|
|
1631
|
+
[f3e768c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f3e768c)
|
|
1341
1632
|
|
|
1342
1633
|
## 3.0.1
|
|
1343
1634
|
|
|
1344
|
-
-
|
|
1345
|
-
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1635
|
+
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1636
|
+
- [patch] Updated dependencies
|
|
1637
|
+
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1638
|
+
- @atlaskit/icon@12.0.1
|
|
1639
|
+
- @atlaskit/button@8.0.1
|
|
1640
|
+
- @atlaskit/theme@4.0.1
|
|
1641
|
+
- @atlaskit/docs@4.0.1
|
|
1350
1642
|
|
|
1351
1643
|
## 3.0.0
|
|
1352
1644
|
|
|
1353
|
-
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1645
|
+
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
|
|
1646
|
+
^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1647
|
+
- [patch] Updated dependencies
|
|
1648
|
+
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1649
|
+
- @atlaskit/icon@12.0.0
|
|
1650
|
+
- @atlaskit/button@8.0.0
|
|
1651
|
+
- @atlaskit/theme@4.0.0
|
|
1652
|
+
- @atlaskit/docs@4.0.0
|
|
1359
1653
|
|
|
1360
1654
|
## 2.1.0
|
|
1361
1655
|
|
|
1362
|
-
-
|
|
1363
|
-
|
|
1656
|
+
- [minor] Updated the appearance for checkbox and radio items
|
|
1657
|
+
[ece7426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ece7426)
|
|
1658
|
+
- [none] Updated dependencies
|
|
1659
|
+
[ece7426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ece7426)
|
|
1364
1660
|
|
|
1365
1661
|
## 2.0.2
|
|
1366
1662
|
|
|
1367
|
-
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1663
|
+
- [patch] Updated dependencies
|
|
1664
|
+
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
1665
|
+
- @atlaskit/icon@11.3.0
|
|
1666
|
+
- @atlaskit/button@7.2.5
|
|
1667
|
+
- @atlaskit/theme@3.2.2
|
|
1668
|
+
- @atlaskit/docs@3.0.4
|
|
1372
1669
|
|
|
1373
1670
|
## 2.0.0
|
|
1374
1671
|
|
|
1375
|
-
-
|
|
1672
|
+
- [major] Bump to React 16.3.
|
|
1673
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1376
1674
|
|
|
1377
1675
|
## 1.4.0
|
|
1378
1676
|
|
|
1379
|
-
-
|
|
1677
|
+
- [minor] Add indeterminate prop to stateless checkbox
|
|
1678
|
+
[3fc6c5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3fc6c5e)
|
|
1380
1679
|
|
|
1381
1680
|
## 1.3.1
|
|
1382
1681
|
|
|
1383
|
-
-
|
|
1682
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1683
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1384
1684
|
|
|
1385
1685
|
## 1.3.0
|
|
1386
1686
|
|
|
1387
|
-
-
|
|
1687
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
1688
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1388
1689
|
|
|
1389
1690
|
## 1.2.3
|
|
1390
1691
|
|
|
1391
|
-
-
|
|
1692
|
+
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
|
|
1693
|
+
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
|
|
1392
1694
|
|
|
1393
1695
|
## 1.2.2
|
|
1394
1696
|
|
|
1395
|
-
-
|
|
1697
|
+
- [patch] Packages Flow types for elements components
|
|
1698
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1396
1699
|
|
|
1397
1700
|
## 1.2.1
|
|
1398
1701
|
|
|
1399
|
-
-
|
|
1702
|
+
- [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website,
|
|
1703
|
+
\$ [007de27](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/007de27)
|
|
1400
1704
|
|
|
1401
1705
|
## 1.2.0
|
|
1402
1706
|
|
|
1403
|
-
-
|
|
1707
|
+
- [minor] Add React 16 support.
|
|
1708
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
1404
1709
|
|
|
1405
1710
|
## 1.1.8
|
|
1406
1711
|
|
|
1407
|
-
-
|
|
1712
|
+
- [patch] update flow dep, fix flow errors
|
|
1713
|
+
[722ad83](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/722ad83)
|
|
1408
1714
|
|
|
1409
1715
|
## 1.1.7
|
|
1410
1716
|
|
|
1411
|
-
-
|
|
1412
|
-
|
|
1717
|
+
- [patch] Updates dependency on button to 6.0.0
|
|
1718
|
+
[2b02ebc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b02ebc)
|
|
1719
|
+
- [patch] Moved to new repo & build system. Cleaned up docs & examples & added Flow
|
|
1720
|
+
[9b55672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9b55672)
|
|
1413
1721
|
|
|
1414
1722
|
## 1.1.6 (2017-11-24)
|
|
1415
1723
|
|
|
1416
1724
|
### Bug Fixes
|
|
1417
1725
|
|
|
1418
|
-
-
|
|
1726
|
+
- **component:** fixed typo in Checkbox defaultProps
|
|
1727
|
+
([4388a11](https://bitbucket.org/atlassian/atlaskit/commits/4388a11))
|
|
1419
1728
|
|
|
1420
1729
|
## 1.1.5 (2017-11-22)
|
|
1421
1730
|
|
|
1422
1731
|
### Bug Fixes
|
|
1423
1732
|
|
|
1424
|
-
-
|
|
1425
|
-
|
|
1733
|
+
- **component:** checkbox and radio should not highlight when parent element is focused
|
|
1734
|
+
([5c900ff](https://bitbucket.org/atlassian/atlaskit/commits/5c900ff))
|
|
1735
|
+
- **component:** removed focus styling from radio and checkbox svg as they will never be focused
|
|
1736
|
+
([ec68128](https://bitbucket.org/atlassian/atlaskit/commits/ec68128))
|
|
1426
1737
|
|
|
1427
1738
|
## 1.1.4 (2017-11-15)
|
|
1428
1739
|
|
|
1429
1740
|
### Bug Fixes
|
|
1430
1741
|
|
|
1431
|
-
-
|
|
1742
|
+
- **component:** bumping internal dependencies to latest major version
|
|
1743
|
+
([91833c3](https://bitbucket.org/atlassian/atlaskit/commits/91833c3))
|
|
1432
1744
|
|
|
1433
1745
|
## 1.1.3 (2017-10-27)
|
|
1434
1746
|
|
|
1435
1747
|
### Bug Fixes
|
|
1436
1748
|
|
|
1437
|
-
-
|
|
1749
|
+
- **stories:** rebuild stories
|
|
1750
|
+
([7aa7337](https://bitbucket.org/atlassian/atlaskit/commits/7aa7337))
|
|
1438
1751
|
|
|
1439
1752
|
## 1.1.2 (2017-10-22)
|
|
1440
1753
|
|
|
1441
1754
|
### Bug Fixes
|
|
1442
1755
|
|
|
1443
|
-
-
|
|
1756
|
+
- **package:** update dependencies for react-16
|
|
1757
|
+
([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
|
|
1444
1758
|
|
|
1445
1759
|
## 1.1.1 (2017-10-10)
|
|
1446
1760
|
|
|
1447
1761
|
### Bug Fixes
|
|
1448
1762
|
|
|
1449
|
-
-
|
|
1763
|
+
- **package:** removed internal label from keywords
|
|
1764
|
+
([b76b4f2](https://bitbucket.org/atlassian/atlaskit/commits/b76b4f2))
|
|
1450
1765
|
|
|
1451
1766
|
# 1.1.0 (2017-09-27)
|
|
1452
1767
|
|
|
1453
1768
|
### Bug Fixes
|
|
1454
1769
|
|
|
1455
|
-
-
|
|
1770
|
+
- **component:** change margin of icon
|
|
1771
|
+
([4459e96](https://bitbucket.org/atlassian/atlaskit/commits/4459e96))
|
|
1456
1772
|
|
|
1457
1773
|
### Features
|
|
1458
1774
|
|
|
1459
|
-
-
|
|
1775
|
+
- **component:** dark mode checkbox
|
|
1776
|
+
([554c978](https://bitbucket.org/atlassian/atlaskit/commits/554c978))
|
|
1460
1777
|
|
|
1461
1778
|
# 1.0.0 (2017-09-13)
|
|
1462
1779
|
|
|
1463
1780
|
### Features
|
|
1464
1781
|
|
|
1465
|
-
-
|
|
1782
|
+
- **component:** create checkbox component
|
|
1783
|
+
([5ce7055](https://bitbucket.org/atlassian/atlaskit/commits/5ce7055))
|