@atlaskit/checkbox 13.1.4 → 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 +885 -561
- package/dist/cjs/checkbox.js +1 -1
- package/dist/cjs/internal/label.js +1 -2
- package/dist/es2019/checkbox.js +1 -1
- package/dist/es2019/internal/label.js +1 -2
- package/dist/esm/checkbox.js +1 -1
- package/dist/esm/internal/label.js +1 -2
- package/package.json +7 -6
- package/dist/cjs/internal/constants.js +0 -8
- package/dist/es2019/internal/constants.js +0 -2
- package/dist/esm/internal/constants.js +0 -2
- package/dist/types/internal/constants.d.ts +0 -1
- package/dist/types-ts4.5/internal/constants.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,399 +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
|
+
|
|
11
|
+
## 13.1.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
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.
|
|
18
|
+
|
|
3
19
|
## 13.1.4
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
-
|
|
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.
|
|
8
26
|
|
|
9
27
|
## 13.1.3
|
|
10
28
|
|
|
11
29
|
### Patch Changes
|
|
12
30
|
|
|
13
|
-
-
|
|
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.
|
|
14
35
|
|
|
15
36
|
## 13.1.2
|
|
16
37
|
|
|
17
38
|
### Patch Changes
|
|
18
39
|
|
|
19
|
-
-
|
|
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`
|
|
20
43
|
|
|
21
44
|
## 13.1.1
|
|
22
45
|
|
|
23
46
|
### Patch Changes
|
|
24
47
|
|
|
25
|
-
-
|
|
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
|
|
26
51
|
|
|
27
52
|
## 13.1.0
|
|
28
53
|
|
|
29
54
|
### Minor Changes
|
|
30
55
|
|
|
31
|
-
-
|
|
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
|
|
32
60
|
|
|
33
61
|
### Patch Changes
|
|
34
62
|
|
|
35
|
-
-
|
|
63
|
+
- Updated dependencies
|
|
36
64
|
|
|
37
65
|
## 13.0.2
|
|
38
66
|
|
|
39
67
|
### Patch Changes
|
|
40
68
|
|
|
41
|
-
-
|
|
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.
|
|
42
73
|
|
|
43
74
|
## 13.0.1
|
|
44
75
|
|
|
45
76
|
### Patch Changes
|
|
46
77
|
|
|
47
|
-
-
|
|
78
|
+
- Updated dependencies
|
|
48
79
|
|
|
49
80
|
## 13.0.0
|
|
50
81
|
|
|
51
82
|
### Major Changes
|
|
52
83
|
|
|
53
|
-
-
|
|
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.
|
|
54
88
|
|
|
55
89
|
## 12.6.11
|
|
56
90
|
|
|
57
91
|
### Patch Changes
|
|
58
92
|
|
|
59
|
-
-
|
|
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
|
|
60
96
|
|
|
61
97
|
## 12.6.10
|
|
62
98
|
|
|
63
99
|
### Patch Changes
|
|
64
100
|
|
|
65
|
-
-
|
|
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
|
|
66
104
|
|
|
67
105
|
## 12.6.9
|
|
68
106
|
|
|
69
107
|
### Patch Changes
|
|
70
108
|
|
|
71
|
-
-
|
|
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.
|
|
72
112
|
|
|
73
113
|
## 12.6.8
|
|
74
114
|
|
|
75
115
|
### Patch Changes
|
|
76
116
|
|
|
77
|
-
-
|
|
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
|
|
78
120
|
|
|
79
121
|
## 12.6.7
|
|
80
122
|
|
|
81
123
|
### Patch Changes
|
|
82
124
|
|
|
83
|
-
-
|
|
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
|
|
84
128
|
|
|
85
129
|
## 12.6.6
|
|
86
130
|
|
|
87
131
|
### Patch Changes
|
|
88
132
|
|
|
89
|
-
-
|
|
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.
|
|
90
137
|
|
|
91
138
|
## 12.6.5
|
|
92
139
|
|
|
93
140
|
### Patch Changes
|
|
94
141
|
|
|
95
|
-
-
|
|
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
|
|
96
145
|
|
|
97
146
|
## 12.6.4
|
|
98
147
|
|
|
99
148
|
### Patch Changes
|
|
100
149
|
|
|
101
|
-
-
|
|
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
|
|
102
153
|
|
|
103
154
|
## 12.6.3
|
|
104
155
|
|
|
105
156
|
### Patch Changes
|
|
106
157
|
|
|
107
|
-
-
|
|
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.
|
|
108
162
|
|
|
109
163
|
## 12.6.2
|
|
110
164
|
|
|
111
165
|
### Patch Changes
|
|
112
166
|
|
|
113
|
-
-
|
|
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
|
|
114
170
|
|
|
115
171
|
## 12.6.1
|
|
116
172
|
|
|
117
173
|
### Patch Changes
|
|
118
174
|
|
|
119
|
-
-
|
|
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`
|
|
120
178
|
|
|
121
179
|
## 12.6.0
|
|
122
180
|
|
|
123
181
|
### Minor Changes
|
|
124
182
|
|
|
125
|
-
-
|
|
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
|
|
126
186
|
|
|
127
187
|
## 12.5.0
|
|
128
188
|
|
|
129
189
|
### Minor Changes
|
|
130
190
|
|
|
131
|
-
-
|
|
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
|
|
132
194
|
|
|
133
195
|
### Patch Changes
|
|
134
196
|
|
|
135
|
-
-
|
|
197
|
+
- Updated dependencies
|
|
136
198
|
|
|
137
199
|
## 12.4.6
|
|
138
200
|
|
|
139
201
|
### Patch Changes
|
|
140
202
|
|
|
141
|
-
-
|
|
203
|
+
- Updated dependencies
|
|
142
204
|
|
|
143
205
|
## 12.4.5
|
|
144
206
|
|
|
145
207
|
### Patch Changes
|
|
146
208
|
|
|
147
|
-
-
|
|
209
|
+
- Updated dependencies
|
|
148
210
|
|
|
149
211
|
## 12.4.4
|
|
150
212
|
|
|
151
213
|
### Patch Changes
|
|
152
214
|
|
|
153
|
-
-
|
|
215
|
+
- Updated dependencies
|
|
154
216
|
|
|
155
217
|
## 12.4.3
|
|
156
218
|
|
|
157
219
|
### Patch Changes
|
|
158
220
|
|
|
159
|
-
-
|
|
221
|
+
- Updated dependencies
|
|
160
222
|
|
|
161
223
|
## 12.4.2
|
|
162
224
|
|
|
163
225
|
### Patch Changes
|
|
164
226
|
|
|
165
|
-
-
|
|
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.
|
|
166
231
|
|
|
167
232
|
## 12.4.1
|
|
168
233
|
|
|
169
234
|
### Patch Changes
|
|
170
235
|
|
|
171
|
-
-
|
|
236
|
+
- Updated dependencies
|
|
172
237
|
|
|
173
238
|
## 12.4.0
|
|
174
239
|
|
|
175
240
|
### Minor Changes
|
|
176
241
|
|
|
177
|
-
-
|
|
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.
|
|
178
245
|
|
|
179
246
|
### Patch Changes
|
|
180
247
|
|
|
181
|
-
-
|
|
248
|
+
- Updated dependencies
|
|
182
249
|
|
|
183
250
|
## 12.3.20
|
|
184
251
|
|
|
185
252
|
### Patch Changes
|
|
186
253
|
|
|
187
|
-
-
|
|
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`
|
|
188
257
|
|
|
189
258
|
## 12.3.19
|
|
190
259
|
|
|
191
260
|
### Patch Changes
|
|
192
261
|
|
|
193
|
-
-
|
|
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`.
|
|
194
265
|
|
|
195
266
|
## 12.3.18
|
|
196
267
|
|
|
197
268
|
### Patch Changes
|
|
198
269
|
|
|
199
|
-
-
|
|
200
|
-
-
|
|
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
|
|
201
274
|
|
|
202
275
|
## 12.3.17
|
|
203
276
|
|
|
204
277
|
### Patch Changes
|
|
205
278
|
|
|
206
|
-
-
|
|
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
|
|
207
282
|
|
|
208
283
|
## 12.3.16
|
|
209
284
|
|
|
210
285
|
### Patch Changes
|
|
211
286
|
|
|
212
|
-
-
|
|
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
|
|
213
290
|
|
|
214
291
|
## 12.3.15
|
|
215
292
|
|
|
216
293
|
### Patch Changes
|
|
217
294
|
|
|
218
|
-
-
|
|
295
|
+
- Updated dependencies
|
|
219
296
|
|
|
220
297
|
## 12.3.14
|
|
221
298
|
|
|
222
299
|
### Patch Changes
|
|
223
300
|
|
|
224
|
-
-
|
|
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."
|
|
225
306
|
|
|
226
307
|
## 12.3.13
|
|
227
308
|
|
|
228
309
|
### Patch Changes
|
|
229
310
|
|
|
230
|
-
-
|
|
311
|
+
- Updated dependencies
|
|
231
312
|
|
|
232
313
|
## 12.3.12
|
|
233
314
|
|
|
234
315
|
### Patch Changes
|
|
235
316
|
|
|
236
|
-
-
|
|
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
|
|
237
320
|
|
|
238
321
|
## 12.3.11
|
|
239
322
|
|
|
240
323
|
### Patch Changes
|
|
241
324
|
|
|
242
|
-
-
|
|
325
|
+
- Updated dependencies
|
|
243
326
|
|
|
244
327
|
## 12.3.10
|
|
245
328
|
|
|
246
329
|
### Patch Changes
|
|
247
330
|
|
|
248
|
-
-
|
|
331
|
+
- Updated dependencies
|
|
249
332
|
|
|
250
333
|
## 12.3.9
|
|
251
334
|
|
|
252
335
|
### Patch Changes
|
|
253
336
|
|
|
254
|
-
-
|
|
337
|
+
- Updated dependencies
|
|
255
338
|
|
|
256
339
|
## 12.3.8
|
|
257
340
|
|
|
258
341
|
### Patch Changes
|
|
259
342
|
|
|
260
|
-
-
|
|
261
|
-
-
|
|
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
|
|
262
347
|
|
|
263
348
|
## 12.3.7
|
|
264
349
|
|
|
265
350
|
### Patch Changes
|
|
266
351
|
|
|
267
|
-
-
|
|
268
|
-
-
|
|
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
|
|
269
357
|
|
|
270
358
|
## 12.3.6
|
|
271
359
|
|
|
272
360
|
### Patch Changes
|
|
273
361
|
|
|
274
|
-
-
|
|
362
|
+
- Updated dependencies
|
|
275
363
|
|
|
276
364
|
## 12.3.5
|
|
277
365
|
|
|
278
366
|
### Patch Changes
|
|
279
367
|
|
|
280
|
-
-
|
|
281
|
-
-
|
|
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
|
|
282
373
|
|
|
283
374
|
## 12.3.4
|
|
284
375
|
|
|
285
376
|
### Patch Changes
|
|
286
377
|
|
|
287
|
-
-
|
|
378
|
+
- Updated dependencies
|
|
288
379
|
|
|
289
380
|
## 12.3.3
|
|
290
381
|
|
|
291
382
|
### Patch Changes
|
|
292
383
|
|
|
293
|
-
-
|
|
384
|
+
- Updated dependencies
|
|
294
385
|
|
|
295
386
|
## 12.3.2
|
|
296
387
|
|
|
297
388
|
### Patch Changes
|
|
298
389
|
|
|
299
|
-
-
|
|
390
|
+
- Updated dependencies
|
|
300
391
|
|
|
301
392
|
## 12.3.1
|
|
302
393
|
|
|
303
394
|
### Patch Changes
|
|
304
395
|
|
|
305
|
-
-
|
|
306
|
-
-
|
|
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
|
|
307
400
|
|
|
308
401
|
## 12.3.0
|
|
309
402
|
|
|
310
403
|
### Minor Changes
|
|
311
404
|
|
|
312
|
-
-
|
|
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
|
|
313
409
|
|
|
314
410
|
### Patch Changes
|
|
315
411
|
|
|
316
|
-
-
|
|
317
|
-
|
|
318
|
-
-
|
|
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
|
|
319
417
|
|
|
320
418
|
## 12.2.2
|
|
321
419
|
|
|
322
420
|
### Patch Changes
|
|
323
421
|
|
|
324
|
-
-
|
|
325
|
-
-
|
|
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
|
|
326
427
|
|
|
327
428
|
## 12.2.1
|
|
328
429
|
|
|
329
430
|
### Patch Changes
|
|
330
431
|
|
|
331
|
-
-
|
|
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`.
|
|
332
435
|
|
|
333
436
|
## 12.2.0
|
|
334
437
|
|
|
335
438
|
### Minor Changes
|
|
336
439
|
|
|
337
|
-
-
|
|
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
|
|
338
443
|
|
|
339
444
|
### Patch Changes
|
|
340
445
|
|
|
341
|
-
-
|
|
342
|
-
|
|
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
|
|
343
449
|
|
|
344
450
|
## 12.1.3
|
|
345
451
|
|
|
346
452
|
### Patch Changes
|
|
347
453
|
|
|
348
|
-
-
|
|
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`
|
|
349
457
|
|
|
350
458
|
## 12.1.2
|
|
351
459
|
|
|
352
460
|
### Patch Changes
|
|
353
461
|
|
|
354
|
-
-
|
|
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
|
|
355
465
|
|
|
356
466
|
## 12.1.1
|
|
357
467
|
|
|
358
468
|
### Patch Changes
|
|
359
469
|
|
|
360
|
-
-
|
|
361
|
-
-
|
|
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
|
|
362
474
|
|
|
363
475
|
## 12.1.0
|
|
364
476
|
|
|
365
477
|
### Minor Changes
|
|
366
478
|
|
|
367
|
-
-
|
|
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
|
|
368
482
|
|
|
369
483
|
## 12.0.2
|
|
370
484
|
|
|
371
485
|
### Patch Changes
|
|
372
486
|
|
|
373
|
-
-
|
|
374
|
-
-
|
|
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
|
|
375
491
|
|
|
376
492
|
## 12.0.1
|
|
377
493
|
|
|
378
494
|
### Patch Changes
|
|
379
495
|
|
|
380
|
-
-
|
|
381
|
-
|
|
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
|
|
382
501
|
|
|
383
502
|
## 12.0.0
|
|
384
503
|
|
|
385
504
|
### Major Changes
|
|
386
505
|
|
|
387
|
-
-
|
|
388
|
-
|
|
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 😍
|
|
389
509
|
|
|
390
510
|
### Changes
|
|
391
511
|
|
|
392
|
-
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.
|
|
393
514
|
|
|
394
515
|
### Overrides
|
|
395
516
|
|
|
396
|
-
`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.
|
|
397
519
|
|
|
398
520
|
```
|
|
399
521
|
<Checkbox
|
|
@@ -410,13 +532,25 @@ In `12.0.0` we improved the performance of `Checkbox` by making it more similar
|
|
|
410
532
|
/>
|
|
411
533
|
```
|
|
412
534
|
|
|
413
|
-
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.
|
|
414
541
|
|
|
415
542
|
### Theming
|
|
416
543
|
|
|
417
|
-
`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.
|
|
418
548
|
|
|
419
|
-
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,
|
|
420
554
|
|
|
421
555
|
```
|
|
422
556
|
import React from 'react';
|
|
@@ -459,28 +593,42 @@ export default function LargeSizeExample() {
|
|
|
459
593
|
|
|
460
594
|
```
|
|
461
595
|
|
|
462
|
-
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`.
|
|
463
599
|
|
|
464
600
|
### Other changes
|
|
465
601
|
|
|
466
|
-
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
-
|
|
473
|
-
|
|
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`.
|
|
474
622
|
|
|
475
623
|
### Automatic upgrading
|
|
476
624
|
|
|
477
625
|
There is a codemod that assists you in upgrading most of the changes from above.
|
|
478
626
|
|
|
479
|
-
-
|
|
480
|
-
-
|
|
481
|
-
-
|
|
482
|
-
-
|
|
483
|
-
-
|
|
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.
|
|
484
632
|
|
|
485
633
|
```
|
|
486
634
|
# You first need to have the latest `Checkbox` installed before you can run the codemod
|
|
@@ -493,967 +641,1143 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
493
641
|
|
|
494
642
|
### Patch Changes
|
|
495
643
|
|
|
496
|
-
-
|
|
497
|
-
|
|
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.
|
|
498
650
|
|
|
499
651
|
## 11.0.8
|
|
500
652
|
|
|
501
653
|
### Patch Changes
|
|
502
654
|
|
|
503
|
-
-
|
|
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
|
|
504
658
|
|
|
505
659
|
## 11.0.7
|
|
506
660
|
|
|
507
661
|
### Patch Changes
|
|
508
662
|
|
|
509
|
-
-
|
|
510
|
-
|
|
511
|
-
|
|
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.
|
|
512
669
|
|
|
513
670
|
## 11.0.6
|
|
514
671
|
|
|
515
672
|
### Patch Changes
|
|
516
673
|
|
|
517
|
-
-
|
|
674
|
+
- Updated dependencies
|
|
518
675
|
|
|
519
676
|
## 11.0.5
|
|
520
677
|
|
|
521
678
|
### Patch Changes
|
|
522
679
|
|
|
523
|
-
-
|
|
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
|
|
524
683
|
|
|
525
684
|
## 11.0.4
|
|
526
685
|
|
|
527
686
|
### Patch Changes
|
|
528
687
|
|
|
529
|
-
-
|
|
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
|
|
530
691
|
|
|
531
|
-
|
|
532
|
-
|
|
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.
|
|
533
694
|
|
|
534
695
|
## 11.0.3
|
|
535
696
|
|
|
536
697
|
### Patch Changes
|
|
537
698
|
|
|
538
|
-
-
|
|
539
|
-
|
|
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
|
|
540
704
|
|
|
541
705
|
## 11.0.2
|
|
542
706
|
|
|
543
707
|
### Patch Changes
|
|
544
708
|
|
|
545
|
-
-
|
|
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.
|
|
546
712
|
|
|
547
713
|
## 11.0.1
|
|
548
714
|
|
|
549
715
|
### Patch Changes
|
|
550
716
|
|
|
551
|
-
-
|
|
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
|
|
552
720
|
|
|
553
721
|
## 11.0.0
|
|
554
722
|
|
|
555
723
|
### Major Changes
|
|
556
724
|
|
|
557
|
-
-
|
|
558
|
-
|
|
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
|
|
559
730
|
|
|
560
731
|
### Patch Changes
|
|
561
732
|
|
|
562
|
-
-
|
|
733
|
+
- Updated dependencies
|
|
563
734
|
|
|
564
735
|
## 10.1.14
|
|
565
736
|
|
|
566
737
|
### Patch Changes
|
|
567
738
|
|
|
568
|
-
-
|
|
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
|
|
569
742
|
|
|
570
743
|
## 10.1.13
|
|
571
744
|
|
|
572
745
|
### Patch Changes
|
|
573
746
|
|
|
574
|
-
-
|
|
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
|
|
575
750
|
|
|
576
751
|
## 10.1.12
|
|
577
752
|
|
|
578
753
|
### Patch Changes
|
|
579
754
|
|
|
580
|
-
-
|
|
755
|
+
- Updated dependencies
|
|
581
756
|
|
|
582
757
|
## 10.1.11
|
|
583
758
|
|
|
584
759
|
### Patch Changes
|
|
585
760
|
|
|
586
|
-
-
|
|
761
|
+
- [patch][68ff159118](https://bitbucket.org/atlassian/atlassian-frontend/commits/68ff159118):
|
|
587
762
|
|
|
588
|
-
|
|
763
|
+
Change imports to comply with Atlassian conventions- Updated dependencies
|
|
764
|
+
[6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
|
|
589
765
|
|
|
590
|
-
-
|
|
591
|
-
|
|
592
|
-
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
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
|
|
598
778
|
|
|
599
779
|
## 10.1.10
|
|
600
780
|
|
|
601
781
|
### Patch Changes
|
|
602
782
|
|
|
603
|
-
-
|
|
604
|
-
|
|
605
|
-
-
|
|
606
|
-
|
|
607
|
-
-
|
|
608
|
-
|
|
609
|
-
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
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
|
|
617
805
|
|
|
618
806
|
## 10.1.9
|
|
619
807
|
|
|
620
808
|
### Patch Changes
|
|
621
809
|
|
|
622
|
-
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
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
|
|
627
816
|
|
|
628
817
|
## 10.1.8
|
|
629
818
|
|
|
630
819
|
### Patch Changes
|
|
631
820
|
|
|
632
|
-
-
|
|
821
|
+
- [patch][c1992227dc](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1992227dc):
|
|
633
822
|
|
|
634
|
-
|
|
823
|
+
Bump to lodash.merge to 4.6.2- Updated dependencies
|
|
824
|
+
[eaad41d56c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eaad41d56c):
|
|
635
825
|
|
|
636
|
-
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
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
|
|
640
832
|
|
|
641
833
|
## 10.1.7
|
|
642
834
|
|
|
643
835
|
### Patch Changes
|
|
644
836
|
|
|
645
|
-
-
|
|
837
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
646
838
|
|
|
647
|
-
|
|
839
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
840
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
648
841
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
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
|
|
657
850
|
|
|
658
851
|
## 10.1.6
|
|
659
852
|
|
|
660
853
|
### Patch Changes
|
|
661
854
|
|
|
662
|
-
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
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
|
|
668
862
|
|
|
669
863
|
## 10.1.5
|
|
670
864
|
|
|
671
865
|
### Patch Changes
|
|
672
866
|
|
|
673
|
-
-
|
|
867
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
674
868
|
|
|
675
|
-
|
|
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):
|
|
676
871
|
|
|
677
|
-
|
|
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):
|
|
678
875
|
|
|
679
|
-
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
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
|
|
685
884
|
|
|
686
885
|
## 10.1.4
|
|
687
886
|
|
|
688
887
|
### Patch Changes
|
|
689
888
|
|
|
690
|
-
-
|
|
889
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
691
890
|
|
|
692
|
-
|
|
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):
|
|
693
894
|
|
|
694
|
-
|
|
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):
|
|
695
897
|
|
|
696
|
-
-
|
|
697
|
-
|
|
698
|
-
-
|
|
699
|
-
|
|
700
|
-
|
|
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
|
|
701
906
|
|
|
702
907
|
## 10.1.3
|
|
703
908
|
|
|
704
909
|
### Patch Changes
|
|
705
910
|
|
|
706
|
-
-
|
|
911
|
+
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
|
|
707
912
|
|
|
708
|
-
|
|
913
|
+
Theme has been converted to Typescript. Typescript consumers will now get static type safety.
|
|
914
|
+
Flow types are no longer provided.
|
|
709
915
|
|
|
710
|
-
|
|
916
|
+
### Breaking
|
|
711
917
|
|
|
712
|
-
|
|
713
|
-
|
|
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:
|
|
714
921
|
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
922
|
+
```javascript
|
|
923
|
+
<CustomTheme.Provider
|
|
924
|
+
value={t => ({ ...t(), backgroundColor: '#333'})}
|
|
925
|
+
>
|
|
926
|
+
```
|
|
720
927
|
|
|
721
|
-
|
|
928
|
+
becomes:
|
|
722
929
|
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
930
|
+
```javascript
|
|
931
|
+
<CustomTheme.Provider
|
|
932
|
+
value={t => ({ ...t({}), backgroundColor: '#333'})}
|
|
933
|
+
>
|
|
934
|
+
```
|
|
728
935
|
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
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:
|
|
732
938
|
|
|
733
|
-
|
|
734
|
-
|
|
939
|
+
```javascript
|
|
940
|
+
import { colors } from '@atlaskit/theme';
|
|
735
941
|
|
|
736
|
-
|
|
737
|
-
|
|
942
|
+
colors.colorPalette('8');
|
|
943
|
+
```
|
|
738
944
|
|
|
739
|
-
|
|
945
|
+
to this:
|
|
740
946
|
|
|
741
|
-
|
|
742
|
-
|
|
947
|
+
```javascript
|
|
948
|
+
import { colorPalette } from '@atlaskit/theme';
|
|
743
949
|
|
|
744
|
-
|
|
745
|
-
|
|
950
|
+
colorPalette.colorPalette('8');
|
|
951
|
+
```
|
|
746
952
|
|
|
747
|
-
|
|
953
|
+
or for multi entry-point users:
|
|
748
954
|
|
|
749
|
-
|
|
750
|
-
|
|
955
|
+
```javascript
|
|
956
|
+
import * as colors from '@atlaskit/theme/colors';
|
|
751
957
|
|
|
752
|
-
|
|
753
|
-
|
|
958
|
+
colors.colorPalette('8');
|
|
959
|
+
```
|
|
754
960
|
|
|
755
|
-
|
|
961
|
+
to this:
|
|
756
962
|
|
|
757
|
-
|
|
758
|
-
|
|
963
|
+
```javascript
|
|
964
|
+
import * as colorPalettes from '@atlaskit/theme/color-palette';
|
|
759
965
|
|
|
760
|
-
|
|
761
|
-
|
|
966
|
+
colorPalettes.colorPalette('8');
|
|
967
|
+
```
|
|
762
968
|
|
|
763
969
|
## 10.1.2
|
|
764
970
|
|
|
765
971
|
### Patch Changes
|
|
766
972
|
|
|
767
|
-
-
|
|
973
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
768
974
|
|
|
769
|
-
|
|
975
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
770
976
|
|
|
771
977
|
## 10.1.1
|
|
772
978
|
|
|
773
979
|
### Patch Changes
|
|
774
980
|
|
|
775
|
-
-
|
|
981
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
776
982
|
|
|
777
|
-
|
|
983
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
778
984
|
|
|
779
985
|
## 10.1.0
|
|
780
986
|
|
|
781
987
|
### Minor Changes
|
|
782
988
|
|
|
783
|
-
-
|
|
989
|
+
- [minor][f22f6e1e4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f22f6e1e4f):
|
|
784
990
|
|
|
785
|
-
|
|
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.
|
|
786
993
|
|
|
787
994
|
## 10.0.0
|
|
788
995
|
|
|
789
996
|
### Major Changes
|
|
790
997
|
|
|
791
|
-
-
|
|
998
|
+
- [major][97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
|
|
792
999
|
|
|
793
|
-
|
|
1000
|
+
`@atlaskit/checkbox` **10.x** includes the following changes:
|
|
794
1001
|
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
-
|
|
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)
|
|
799
1009
|
|
|
800
|
-
|
|
1010
|
+
### Breaking Changes
|
|
801
1011
|
|
|
802
|
-
|
|
1012
|
+
**HiddenCheckbox and spread props**
|
|
803
1013
|
|
|
804
|
-
|
|
805
|
-
|
|
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.
|
|
806
1018
|
|
|
807
|
-
|
|
1019
|
+
Whereas previously you would do this:
|
|
808
1020
|
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
1021
|
+
```js
|
|
1022
|
+
<Checkbox
|
|
1023
|
+
...supportedCheckboxProps
|
|
1024
|
+
'data-testid'='test-checkbox'
|
|
1025
|
+
/>
|
|
1026
|
+
```
|
|
815
1027
|
|
|
816
|
-
|
|
1028
|
+
Now you would leverage the overrides prop to pass these props down to the `<HiddenCheckbox/>`
|
|
1029
|
+
component like so:
|
|
817
1030
|
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
1031
|
+
```js
|
|
1032
|
+
<Checkbox
|
|
1033
|
+
...supportedCheckboxProps
|
|
1034
|
+
overrides={{
|
|
1035
|
+
HiddenCheckbox:{
|
|
1036
|
+
attributesFn: () => ({ 'data-testid': 'test-checkbox' })
|
|
1037
|
+
}
|
|
1038
|
+
}}
|
|
1039
|
+
/>
|
|
1040
|
+
```
|
|
828
1041
|
|
|
829
1042
|
## 9.0.9
|
|
830
1043
|
|
|
831
1044
|
### Patch Changes
|
|
832
1045
|
|
|
833
|
-
-
|
|
1046
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
834
1047
|
|
|
835
|
-
|
|
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
|
|
836
1050
|
|
|
837
1051
|
## 9.0.8
|
|
838
1052
|
|
|
839
1053
|
### Patch Changes
|
|
840
1054
|
|
|
841
|
-
-
|
|
1055
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
842
1056
|
|
|
843
|
-
|
|
1057
|
+
Upgraded Typescript to 3.3.x
|
|
844
1058
|
|
|
845
1059
|
## 9.0.7
|
|
846
1060
|
|
|
847
1061
|
### Patch Changes
|
|
848
1062
|
|
|
849
|
-
-
|
|
1063
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
850
1064
|
|
|
851
|
-
|
|
1065
|
+
Change all the imports to theme in Core to use multi entry points
|
|
852
1066
|
|
|
853
1067
|
## 9.0.6
|
|
854
1068
|
|
|
855
1069
|
### Patch Changes
|
|
856
1070
|
|
|
857
|
-
-
|
|
1071
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
858
1072
|
|
|
859
|
-
|
|
1073
|
+
Updates component maintainers
|
|
860
1074
|
|
|
861
1075
|
## 9.0.5
|
|
862
1076
|
|
|
863
1077
|
### Patch Changes
|
|
864
1078
|
|
|
865
|
-
-
|
|
1079
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
866
1080
|
|
|
867
|
-
|
|
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.
|
|
868
1083
|
|
|
869
|
-
|
|
1084
|
+
**Breaking changes**
|
|
870
1085
|
|
|
871
|
-
|
|
872
|
-
|
|
1086
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1087
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
873
1088
|
|
|
874
|
-
|
|
1089
|
+
**Breaking changes to TypeScript annotations**
|
|
875
1090
|
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
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
|
|
887
1107
|
|
|
888
1108
|
## 9.0.4
|
|
889
1109
|
|
|
890
1110
|
### Patch Changes
|
|
891
1111
|
|
|
892
|
-
-
|
|
1112
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
893
1113
|
|
|
894
|
-
|
|
1114
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
895
1115
|
|
|
896
1116
|
## 9.0.3
|
|
897
1117
|
|
|
898
1118
|
### Patch Changes
|
|
899
1119
|
|
|
900
|
-
-
|
|
1120
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
901
1121
|
|
|
902
|
-
|
|
1122
|
+
Fixes bug, missing version.json file
|
|
903
1123
|
|
|
904
1124
|
## 9.0.2
|
|
905
1125
|
|
|
906
1126
|
### Patch Changes
|
|
907
1127
|
|
|
908
|
-
-
|
|
1128
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
909
1129
|
|
|
910
|
-
|
|
1130
|
+
In this PR, we are:
|
|
911
1131
|
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
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
|
|
918
1140
|
|
|
919
1141
|
## 9.0.1
|
|
920
1142
|
|
|
921
1143
|
### Patch Changes
|
|
922
1144
|
|
|
923
|
-
-
|
|
1145
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
924
1146
|
|
|
925
|
-
|
|
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.
|
|
926
1150
|
|
|
927
|
-
|
|
1151
|
+
Before:
|
|
928
1152
|
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
1153
|
+
```typescript
|
|
1154
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
1155
|
+
```
|
|
932
1156
|
|
|
933
|
-
|
|
1157
|
+
After:
|
|
934
1158
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
1159
|
+
```typescript
|
|
1160
|
+
withAnalyticsEvents<Props>()(Button);
|
|
1161
|
+
```
|
|
938
1162
|
|
|
939
1163
|
## 9.0.0
|
|
940
1164
|
|
|
941
1165
|
### Major Changes
|
|
942
1166
|
|
|
943
|
-
-
|
|
1167
|
+
- [major][87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
|
|
944
1168
|
|
|
945
|
-
|
|
1169
|
+
Replaced `styled-components` with `emotion 10` as part of Atlaskit-wide conversion process.
|
|
946
1170
|
|
|
947
|
-
|
|
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.
|
|
948
1173
|
|
|
949
1174
|
## 8.0.5
|
|
950
1175
|
|
|
951
|
-
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
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
|
|
957
1183
|
|
|
958
1184
|
## 8.0.4
|
|
959
1185
|
|
|
960
1186
|
### Patch Changes
|
|
961
1187
|
|
|
962
|
-
-
|
|
1188
|
+
- [patch][9c404c7c44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c404c7c44):
|
|
963
1189
|
|
|
964
|
-
|
|
1190
|
+
Using updated icons
|
|
965
1191
|
|
|
966
1192
|
## 8.0.3
|
|
967
1193
|
|
|
968
1194
|
### Patch Changes
|
|
969
1195
|
|
|
970
|
-
-
|
|
1196
|
+
- [patch][9c80ef7539](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c80ef7539):
|
|
971
1197
|
|
|
972
|
-
|
|
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
|
|
973
1200
|
|
|
974
1201
|
## 8.0.2
|
|
975
1202
|
|
|
976
|
-
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
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
|
|
982
1210
|
|
|
983
1211
|
## 8.0.1
|
|
984
1212
|
|
|
985
1213
|
### Patch Changes
|
|
986
1214
|
|
|
987
|
-
-
|
|
1215
|
+
- [patch][c67483c207](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c67483c207):
|
|
988
1216
|
|
|
989
|
-
|
|
1217
|
+
Fixed a scrollbar bug with checkboxes
|
|
990
1218
|
|
|
991
1219
|
## 8.0.0
|
|
992
1220
|
|
|
993
|
-
-
|
|
1221
|
+
- [major][70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
|
|
994
1222
|
|
|
995
|
-
|
|
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.
|
|
996
1225
|
|
|
997
1226
|
## 7.0.1
|
|
998
1227
|
|
|
999
|
-
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
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
|
|
1004
1234
|
|
|
1005
1235
|
## 7.0.0
|
|
1006
1236
|
|
|
1007
|
-
-
|
|
1237
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1008
1238
|
|
|
1009
|
-
|
|
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.
|
|
1010
1241
|
|
|
1011
1242
|
## 6.0.4
|
|
1012
1243
|
|
|
1013
|
-
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
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
|
|
1020
1252
|
|
|
1021
1253
|
## 6.0.3
|
|
1022
1254
|
|
|
1023
|
-
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
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
|
|
1031
1264
|
|
|
1032
1265
|
## 6.0.2
|
|
1033
1266
|
|
|
1034
|
-
-
|
|
1267
|
+
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
1035
1268
|
|
|
1036
|
-
|
|
1269
|
+
- Removes duplicate babel-runtime dependency
|
|
1037
1270
|
|
|
1038
1271
|
## 6.0.1
|
|
1039
1272
|
|
|
1040
|
-
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
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
|
|
1048
1282
|
|
|
1049
1283
|
## 6.0.0
|
|
1050
1284
|
|
|
1051
|
-
-
|
|
1285
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1052
1286
|
|
|
1053
|
-
|
|
1287
|
+
- Drop ES5 from all the flow modules
|
|
1054
1288
|
|
|
1055
|
-
|
|
1289
|
+
### Dropping CJS support in all @atlaskit packages
|
|
1056
1290
|
|
|
1057
|
-
|
|
1058
|
-
|
|
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.
|
|
1059
1294
|
|
|
1060
|
-
|
|
1295
|
+
The major reason for doing this is to allow us to support multiple entry points in packages,
|
|
1296
|
+
e.g:
|
|
1061
1297
|
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1298
|
+
```js
|
|
1299
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1300
|
+
```
|
|
1065
1301
|
|
|
1066
|
-
|
|
1302
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
1067
1303
|
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1304
|
+
```js
|
|
1305
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1306
|
+
```
|
|
1071
1307
|
|
|
1072
|
-
|
|
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.
|
|
1073
1313
|
|
|
1074
|
-
|
|
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.
|
|
1075
1317
|
|
|
1076
|
-
|
|
1318
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1319
|
+
environments.
|
|
1077
1320
|
|
|
1078
|
-
|
|
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.
|
|
1079
1324
|
|
|
1080
|
-
|
|
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.
|
|
1081
1328
|
|
|
1082
1329
|
## 5.0.14
|
|
1083
1330
|
|
|
1084
|
-
-
|
|
1331
|
+
- [patch][c0ad531a70](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0ad531a70):
|
|
1085
1332
|
|
|
1086
|
-
|
|
1333
|
+
- Added test to make use props are passed down to hidden input
|
|
1087
1334
|
|
|
1088
1335
|
## 5.0.13
|
|
1089
1336
|
|
|
1090
|
-
-
|
|
1337
|
+
- [patch][3ae465b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3ae465b6f0):
|
|
1091
1338
|
|
|
1092
|
-
|
|
1339
|
+
- fix for checkbox logging error on mount
|
|
1093
1340
|
|
|
1094
1341
|
## 5.0.12
|
|
1095
1342
|
|
|
1096
|
-
-
|
|
1343
|
+
- [patch][b0153ee6c9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0153ee6c9):
|
|
1097
1344
|
|
|
1098
|
-
|
|
1345
|
+
- Enabled the isRequired validation on checkbox and added the asterisk after the checkbox
|
|
1346
|
+
label to signify the required field
|
|
1099
1347
|
|
|
1100
1348
|
## 5.0.11
|
|
1101
1349
|
|
|
1102
|
-
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
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
|
|
1107
1356
|
|
|
1108
1357
|
## 5.0.10
|
|
1109
1358
|
|
|
1110
|
-
-
|
|
1359
|
+
- [patch][fad28be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fad28be):
|
|
1111
1360
|
|
|
1112
|
-
|
|
1361
|
+
- Fixing invalid type for checkbox id prop
|
|
1113
1362
|
|
|
1114
1363
|
## 5.0.9
|
|
1115
1364
|
|
|
1116
|
-
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
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
|
|
1123
1372
|
|
|
1124
1373
|
## 5.0.8
|
|
1125
1374
|
|
|
1126
|
-
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
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
|
|
1132
1381
|
|
|
1133
1382
|
## 5.0.7
|
|
1134
1383
|
|
|
1135
|
-
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
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
|
|
1140
1389
|
|
|
1141
1390
|
## 5.0.6
|
|
1142
1391
|
|
|
1143
|
-
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
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
|
|
1150
1399
|
|
|
1151
1400
|
## 5.0.5
|
|
1152
1401
|
|
|
1153
|
-
-
|
|
1402
|
+
- [patch] Upgrade guide & minor flow type fixes
|
|
1403
|
+
[0be287d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0be287d)
|
|
1154
1404
|
|
|
1155
1405
|
## 5.0.4
|
|
1156
1406
|
|
|
1157
|
-
-
|
|
1407
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1408
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1158
1409
|
|
|
1159
1410
|
## 5.0.3
|
|
1160
1411
|
|
|
1161
|
-
-
|
|
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)
|
|
1162
1414
|
|
|
1163
1415
|
## 5.0.2
|
|
1164
1416
|
|
|
1165
|
-
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
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
|
|
1169
1422
|
|
|
1170
1423
|
## 5.0.1
|
|
1171
1424
|
|
|
1172
|
-
-
|
|
1425
|
+
- [patch] Checkbox now only fires onChange once
|
|
1426
|
+
[c78e59e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c78e59e)
|
|
1173
1427
|
|
|
1174
1428
|
## 5.0.0
|
|
1175
1429
|
|
|
1176
|
-
-
|
|
1430
|
+
- [major] Checkbox refactored to remove the need for CheckboxStateless
|
|
1431
|
+
[80e1925](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80e1925)
|
|
1177
1432
|
|
|
1178
|
-
|
|
1179
|
-
|
|
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.
|
|
1180
1436
|
|
|
1181
|
-
|
|
1437
|
+
**Exports**
|
|
1182
1438
|
|
|
1183
|
-
|
|
1184
|
-
|
|
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.
|
|
1185
1441
|
|
|
1186
|
-
|
|
1442
|
+
### Checkbox
|
|
1187
1443
|
|
|
1188
|
-
|
|
1444
|
+
Checkbox is now a named export of the `@atlaskit/checkbox`package. Please import it as below.
|
|
1189
1445
|
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1446
|
+
```
|
|
1447
|
+
import { Checkbox } from @atlaskit/checkbox;
|
|
1448
|
+
```
|
|
1193
1449
|
|
|
1194
|
-
|
|
1195
|
-
|
|
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.
|
|
1196
1454
|
|
|
1197
|
-
|
|
1455
|
+
To let the component take care of checked state, leave the `isChecked` prop unset, or explicitly
|
|
1456
|
+
set it to undefined.
|
|
1198
1457
|
|
|
1199
|
-
|
|
1200
|
-
|
|
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.
|
|
1201
1462
|
|
|
1202
|
-
|
|
1463
|
+
### CheckboxStateless - deprecated
|
|
1203
1464
|
|
|
1204
|
-
|
|
1465
|
+
This component has been deprecated in favor of the conditionally controlled component pattern
|
|
1466
|
+
specified above.\*\*
|
|
1205
1467
|
|
|
1206
|
-
|
|
1468
|
+
### CheckboxGroup - deprecated:
|
|
1207
1469
|
|
|
1208
|
-
|
|
1470
|
+
`@atlaskit/checkbox` no longer exports a CheckboxGroup component. It has been removed for the
|
|
1471
|
+
following reasons:
|
|
1209
1472
|
|
|
1210
|
-
|
|
1211
|
-
|
|
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.
|
|
1212
1476
|
|
|
1213
|
-
|
|
1477
|
+
**Prop Changes**
|
|
1214
1478
|
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
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.
|
|
1218
1482
|
|
|
1219
1483
|
## 4.0.6
|
|
1220
1484
|
|
|
1221
|
-
-
|
|
1485
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1486
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1222
1487
|
|
|
1223
1488
|
## 4.0.4
|
|
1224
1489
|
|
|
1225
|
-
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
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
|
|
1230
1496
|
|
|
1231
1497
|
## 4.0.3
|
|
1232
1498
|
|
|
1233
|
-
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
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
|
|
1239
1508
|
|
|
1240
1509
|
## 4.0.2
|
|
1241
1510
|
|
|
1242
|
-
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
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
|
|
1248
1518
|
|
|
1249
1519
|
## 4.0.1
|
|
1250
1520
|
|
|
1251
|
-
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
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
|
|
1257
1529
|
|
|
1258
1530
|
## 4.0.0
|
|
1259
1531
|
|
|
1260
|
-
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
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
|
|
1274
1553
|
|
|
1275
1554
|
## 3.1.3
|
|
1276
1555
|
|
|
1277
|
-
-
|
|
1278
|
-
|
|
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)
|
|
1279
1560
|
|
|
1280
1561
|
## 3.1.2
|
|
1281
1562
|
|
|
1282
|
-
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
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
|
|
1286
1569
|
|
|
1287
1570
|
## 3.1.1
|
|
1288
1571
|
|
|
1289
|
-
-
|
|
1290
|
-
|
|
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)
|
|
1291
1576
|
|
|
1292
1577
|
## 3.1.0
|
|
1293
1578
|
|
|
1294
|
-
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
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
|
|
1298
1585
|
|
|
1299
1586
|
## 3.0.6
|
|
1300
1587
|
|
|
1301
|
-
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
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
|
|
1306
1595
|
|
|
1307
1596
|
## 3.0.5
|
|
1308
1597
|
|
|
1309
|
-
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
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
|
|
1315
1606
|
|
|
1316
1607
|
## 3.0.4
|
|
1317
1608
|
|
|
1318
|
-
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
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
|
|
1323
1615
|
|
|
1324
1616
|
## 3.0.3
|
|
1325
1617
|
|
|
1326
|
-
-
|
|
1327
|
-
|
|
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)
|
|
1328
1622
|
|
|
1329
1623
|
## 3.0.2
|
|
1330
1624
|
|
|
1331
|
-
-
|
|
1332
|
-
-
|
|
1333
|
-
|
|
1334
|
-
-
|
|
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)
|
|
1335
1632
|
|
|
1336
1633
|
## 3.0.1
|
|
1337
1634
|
|
|
1338
|
-
-
|
|
1339
|
-
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
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
|
|
1344
1642
|
|
|
1345
1643
|
## 3.0.0
|
|
1346
1644
|
|
|
1347
|
-
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
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
|
|
1353
1653
|
|
|
1354
1654
|
## 2.1.0
|
|
1355
1655
|
|
|
1356
|
-
-
|
|
1357
|
-
|
|
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)
|
|
1358
1660
|
|
|
1359
1661
|
## 2.0.2
|
|
1360
1662
|
|
|
1361
|
-
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
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
|
|
1366
1669
|
|
|
1367
1670
|
## 2.0.0
|
|
1368
1671
|
|
|
1369
|
-
-
|
|
1672
|
+
- [major] Bump to React 16.3.
|
|
1673
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1370
1674
|
|
|
1371
1675
|
## 1.4.0
|
|
1372
1676
|
|
|
1373
|
-
-
|
|
1677
|
+
- [minor] Add indeterminate prop to stateless checkbox
|
|
1678
|
+
[3fc6c5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3fc6c5e)
|
|
1374
1679
|
|
|
1375
1680
|
## 1.3.1
|
|
1376
1681
|
|
|
1377
|
-
-
|
|
1682
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1683
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1378
1684
|
|
|
1379
1685
|
## 1.3.0
|
|
1380
1686
|
|
|
1381
|
-
-
|
|
1687
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
1688
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1382
1689
|
|
|
1383
1690
|
## 1.2.3
|
|
1384
1691
|
|
|
1385
|
-
-
|
|
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)
|
|
1386
1694
|
|
|
1387
1695
|
## 1.2.2
|
|
1388
1696
|
|
|
1389
|
-
-
|
|
1697
|
+
- [patch] Packages Flow types for elements components
|
|
1698
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1390
1699
|
|
|
1391
1700
|
## 1.2.1
|
|
1392
1701
|
|
|
1393
|
-
-
|
|
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)
|
|
1394
1704
|
|
|
1395
1705
|
## 1.2.0
|
|
1396
1706
|
|
|
1397
|
-
-
|
|
1707
|
+
- [minor] Add React 16 support.
|
|
1708
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
1398
1709
|
|
|
1399
1710
|
## 1.1.8
|
|
1400
1711
|
|
|
1401
|
-
-
|
|
1712
|
+
- [patch] update flow dep, fix flow errors
|
|
1713
|
+
[722ad83](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/722ad83)
|
|
1402
1714
|
|
|
1403
1715
|
## 1.1.7
|
|
1404
1716
|
|
|
1405
|
-
-
|
|
1406
|
-
|
|
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)
|
|
1407
1721
|
|
|
1408
1722
|
## 1.1.6 (2017-11-24)
|
|
1409
1723
|
|
|
1410
1724
|
### Bug Fixes
|
|
1411
1725
|
|
|
1412
|
-
-
|
|
1726
|
+
- **component:** fixed typo in Checkbox defaultProps
|
|
1727
|
+
([4388a11](https://bitbucket.org/atlassian/atlaskit/commits/4388a11))
|
|
1413
1728
|
|
|
1414
1729
|
## 1.1.5 (2017-11-22)
|
|
1415
1730
|
|
|
1416
1731
|
### Bug Fixes
|
|
1417
1732
|
|
|
1418
|
-
-
|
|
1419
|
-
|
|
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))
|
|
1420
1737
|
|
|
1421
1738
|
## 1.1.4 (2017-11-15)
|
|
1422
1739
|
|
|
1423
1740
|
### Bug Fixes
|
|
1424
1741
|
|
|
1425
|
-
-
|
|
1742
|
+
- **component:** bumping internal dependencies to latest major version
|
|
1743
|
+
([91833c3](https://bitbucket.org/atlassian/atlaskit/commits/91833c3))
|
|
1426
1744
|
|
|
1427
1745
|
## 1.1.3 (2017-10-27)
|
|
1428
1746
|
|
|
1429
1747
|
### Bug Fixes
|
|
1430
1748
|
|
|
1431
|
-
-
|
|
1749
|
+
- **stories:** rebuild stories
|
|
1750
|
+
([7aa7337](https://bitbucket.org/atlassian/atlaskit/commits/7aa7337))
|
|
1432
1751
|
|
|
1433
1752
|
## 1.1.2 (2017-10-22)
|
|
1434
1753
|
|
|
1435
1754
|
### Bug Fixes
|
|
1436
1755
|
|
|
1437
|
-
-
|
|
1756
|
+
- **package:** update dependencies for react-16
|
|
1757
|
+
([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
|
|
1438
1758
|
|
|
1439
1759
|
## 1.1.1 (2017-10-10)
|
|
1440
1760
|
|
|
1441
1761
|
### Bug Fixes
|
|
1442
1762
|
|
|
1443
|
-
-
|
|
1763
|
+
- **package:** removed internal label from keywords
|
|
1764
|
+
([b76b4f2](https://bitbucket.org/atlassian/atlaskit/commits/b76b4f2))
|
|
1444
1765
|
|
|
1445
1766
|
# 1.1.0 (2017-09-27)
|
|
1446
1767
|
|
|
1447
1768
|
### Bug Fixes
|
|
1448
1769
|
|
|
1449
|
-
-
|
|
1770
|
+
- **component:** change margin of icon
|
|
1771
|
+
([4459e96](https://bitbucket.org/atlassian/atlaskit/commits/4459e96))
|
|
1450
1772
|
|
|
1451
1773
|
### Features
|
|
1452
1774
|
|
|
1453
|
-
-
|
|
1775
|
+
- **component:** dark mode checkbox
|
|
1776
|
+
([554c978](https://bitbucket.org/atlassian/atlaskit/commits/554c978))
|
|
1454
1777
|
|
|
1455
1778
|
# 1.0.0 (2017-09-13)
|
|
1456
1779
|
|
|
1457
1780
|
### Features
|
|
1458
1781
|
|
|
1459
|
-
-
|
|
1782
|
+
- **component:** create checkbox component
|
|
1783
|
+
([5ce7055](https://bitbucket.org/atlassian/atlaskit/commits/5ce7055))
|