@atlaskit/radio 6.1.2 → 6.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 +642 -409
- package/dist/cjs/radio.js +2 -4
- package/dist/es2019/radio.js +2 -4
- package/dist/esm/radio.js +2 -4
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,1038 +1,1271 @@
|
|
|
1
1
|
# @atlaskit/radio
|
|
2
2
|
|
|
3
|
+
## 6.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#93965](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93965)
|
|
8
|
+
[`9399fbaa016c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9399fbaa016c) -
|
|
9
|
+
Add support for React 18.
|
|
10
|
+
|
|
11
|
+
## 6.1.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#90003](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90003)
|
|
16
|
+
[`31fa4f46303a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/31fa4f46303a) -
|
|
17
|
+
Internal changes to typography, no visual change.
|
|
18
|
+
|
|
3
19
|
## 6.1.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
-
|
|
23
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
24
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
25
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
26
|
|
|
9
27
|
## 6.1.1
|
|
10
28
|
|
|
11
29
|
### Patch Changes
|
|
12
30
|
|
|
13
|
-
-
|
|
31
|
+
- [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644)
|
|
32
|
+
[`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) -
|
|
33
|
+
Revert input border change from the previous version
|
|
14
34
|
|
|
15
35
|
## 6.1.0
|
|
16
36
|
|
|
17
37
|
### Minor Changes
|
|
18
38
|
|
|
19
|
-
-
|
|
39
|
+
- [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805)
|
|
40
|
+
[`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) -
|
|
41
|
+
[ux] update border with from 2px to 1px with darker color to meet 3:1 color contrast for
|
|
42
|
+
accessibility improvement
|
|
20
43
|
|
|
21
44
|
### Patch Changes
|
|
22
45
|
|
|
23
|
-
-
|
|
46
|
+
- Updated dependencies
|
|
24
47
|
|
|
25
48
|
## 6.0.3
|
|
26
49
|
|
|
27
50
|
### Patch Changes
|
|
28
51
|
|
|
29
|
-
-
|
|
52
|
+
- [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598)
|
|
53
|
+
[`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) -
|
|
54
|
+
[ux] Improved visibility of focus styles by adding a gap between the radio and focus ring. This
|
|
55
|
+
makes the focus ring easier to distinguish to a selected radio, which is also blue.
|
|
30
56
|
|
|
31
57
|
## 6.0.2
|
|
32
58
|
|
|
33
59
|
### Patch Changes
|
|
34
60
|
|
|
35
|
-
-
|
|
61
|
+
- [#71177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71177)
|
|
62
|
+
[`a82da4c52cfb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a82da4c52cfb) -
|
|
63
|
+
Fix type bug where 'crossOrigin' appeared as a required prop for Radio
|
|
36
64
|
|
|
37
65
|
## 6.0.1
|
|
38
66
|
|
|
39
67
|
### Patch Changes
|
|
40
68
|
|
|
41
|
-
-
|
|
69
|
+
- [#61610](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61610)
|
|
70
|
+
[`6b5d817a38e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b5d817a38e9) -
|
|
71
|
+
Expose a `testId` on `RadioGroup`. This applies `data-testid` to the root level element, as well
|
|
72
|
+
as propagates the value to `Radio` children.
|
|
42
73
|
|
|
43
74
|
## 6.0.0
|
|
44
75
|
|
|
45
76
|
### Major Changes
|
|
46
77
|
|
|
47
|
-
-
|
|
78
|
+
- [#41866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41866)
|
|
79
|
+
[`ed8b6957789`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed8b6957789) -
|
|
80
|
+
Removes any usage of deprecated legacy theming APIs. These have been superseeded by design
|
|
81
|
+
tokens.
|
|
48
82
|
|
|
49
83
|
## 5.6.10
|
|
50
84
|
|
|
51
85
|
### Patch Changes
|
|
52
86
|
|
|
53
|
-
-
|
|
87
|
+
- [#39802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39802)
|
|
88
|
+
[`d6eab5e857c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6eab5e857c) - Fix
|
|
89
|
+
loose inequality check in determining if a radio button is checked or not.
|
|
54
90
|
|
|
55
91
|
## 5.6.9
|
|
56
92
|
|
|
57
93
|
### Patch Changes
|
|
58
94
|
|
|
59
|
-
-
|
|
95
|
+
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
|
|
96
|
+
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
|
|
97
|
+
version.json
|
|
60
98
|
|
|
61
99
|
## 5.6.8
|
|
62
100
|
|
|
63
101
|
### Patch Changes
|
|
64
102
|
|
|
65
|
-
-
|
|
103
|
+
- [#37455](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37455)
|
|
104
|
+
[`931210a5b65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/931210a5b65) - use
|
|
105
|
+
new feature flag for border contrast update
|
|
66
106
|
|
|
67
107
|
## 5.6.7
|
|
68
108
|
|
|
69
109
|
### Patch Changes
|
|
70
110
|
|
|
71
|
-
-
|
|
111
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
112
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
113
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
114
|
+
testing.
|
|
72
115
|
|
|
73
116
|
## 5.6.6
|
|
74
117
|
|
|
75
118
|
### Patch Changes
|
|
76
119
|
|
|
77
|
-
-
|
|
120
|
+
- [#36664](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36664)
|
|
121
|
+
[`2e1fa43ac4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e1fa43ac4b) - update
|
|
122
|
+
border width to use border spacing token
|
|
78
123
|
|
|
79
124
|
## 5.6.5
|
|
80
125
|
|
|
81
126
|
### Patch Changes
|
|
82
127
|
|
|
83
|
-
-
|
|
128
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
129
|
+
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) -
|
|
130
|
+
Internal change to use shape tokens. There is no expected visual change.
|
|
84
131
|
|
|
85
132
|
## 5.6.4
|
|
86
133
|
|
|
87
134
|
### Patch Changes
|
|
88
135
|
|
|
89
|
-
-
|
|
136
|
+
- [#35111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35111)
|
|
137
|
+
[`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend
|
|
138
|
+
border contrast feature flag to support confluence
|
|
90
139
|
|
|
91
140
|
## 5.6.3
|
|
92
141
|
|
|
93
142
|
### Patch Changes
|
|
94
143
|
|
|
95
|
-
-
|
|
144
|
+
- [#35194](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35194)
|
|
145
|
+
[`53ffecf71cb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53ffecf71cb) -
|
|
146
|
+
Updated selected radio to use `color.background.selected.bold` instead of
|
|
147
|
+
`color.background.brand.bold`. There's no visual change as these tokens have same hex value in
|
|
148
|
+
both light and dark mode.
|
|
96
149
|
|
|
97
150
|
## 5.6.2
|
|
98
151
|
|
|
99
152
|
### Patch Changes
|
|
100
153
|
|
|
101
|
-
-
|
|
154
|
+
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
155
|
+
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) -
|
|
156
|
+
Internal change to enforce token usage for spacing properties. There is no expected visual or
|
|
157
|
+
behaviour change.
|
|
102
158
|
|
|
103
159
|
## 5.6.1
|
|
104
160
|
|
|
105
161
|
### Patch Changes
|
|
106
162
|
|
|
107
|
-
-
|
|
163
|
+
- [#34124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34124)
|
|
164
|
+
[`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol
|
|
165
|
+
packages to push-model consumption in Jira.
|
|
108
166
|
|
|
109
167
|
## 5.6.0
|
|
110
168
|
|
|
111
169
|
### Minor Changes
|
|
112
170
|
|
|
113
|
-
-
|
|
171
|
+
- [#33476](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33476)
|
|
172
|
+
[`b257978b66a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b257978b66a) - [ux]
|
|
173
|
+
reduce the border from 2px to 1px
|
|
114
174
|
|
|
115
175
|
## 5.5.2
|
|
116
176
|
|
|
117
177
|
### Patch Changes
|
|
118
178
|
|
|
119
|
-
-
|
|
179
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
180
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
181
|
+
legacy types are published for TS 4.5-4.8
|
|
120
182
|
|
|
121
183
|
## 5.5.1
|
|
122
184
|
|
|
123
185
|
### Patch Changes
|
|
124
186
|
|
|
125
|
-
-
|
|
187
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
188
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
189
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
126
190
|
|
|
127
191
|
## 5.5.0
|
|
128
192
|
|
|
129
193
|
### Minor Changes
|
|
130
194
|
|
|
131
|
-
-
|
|
195
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
196
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
197
|
+
minor dependency bump
|
|
132
198
|
|
|
133
199
|
### Patch Changes
|
|
134
200
|
|
|
135
|
-
-
|
|
201
|
+
- Updated dependencies
|
|
136
202
|
|
|
137
203
|
## 5.4.9
|
|
138
204
|
|
|
139
205
|
### Patch Changes
|
|
140
206
|
|
|
141
|
-
-
|
|
207
|
+
- Updated dependencies
|
|
142
208
|
|
|
143
209
|
## 5.4.8
|
|
144
210
|
|
|
145
211
|
### Patch Changes
|
|
146
212
|
|
|
147
|
-
-
|
|
213
|
+
- Updated dependencies
|
|
148
214
|
|
|
149
215
|
## 5.4.7
|
|
150
216
|
|
|
151
217
|
### Patch Changes
|
|
152
218
|
|
|
153
|
-
-
|
|
219
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
|
|
220
|
+
[`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) -
|
|
221
|
+
Internal change to update token references. There is no expected behaviour or visual change.
|
|
154
222
|
|
|
155
223
|
## 5.4.6
|
|
156
224
|
|
|
157
225
|
### Patch Changes
|
|
158
226
|
|
|
159
|
-
-
|
|
160
|
-
|
|
227
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
228
|
+
[`22d4be4674b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22d4be4674b) - Fixes
|
|
229
|
+
issue where disabled radios were using the wrong background and border tokens
|
|
230
|
+
- [`8e6acf8f038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e6acf8f038) -
|
|
231
|
+
Updates tokens used for border and dot, improved tokens appearance when radio is both checked
|
|
232
|
+
and disabled
|
|
161
233
|
|
|
162
234
|
## 5.4.5
|
|
163
235
|
|
|
164
236
|
### Patch Changes
|
|
165
237
|
|
|
166
|
-
-
|
|
238
|
+
- Updated dependencies
|
|
167
239
|
|
|
168
240
|
## 5.4.4
|
|
169
241
|
|
|
170
242
|
### Patch Changes
|
|
171
243
|
|
|
172
|
-
-
|
|
244
|
+
- Updated dependencies
|
|
173
245
|
|
|
174
246
|
## 5.4.3
|
|
175
247
|
|
|
176
248
|
### Patch Changes
|
|
177
249
|
|
|
178
|
-
-
|
|
250
|
+
- Updated dependencies
|
|
179
251
|
|
|
180
252
|
## 5.4.2
|
|
181
253
|
|
|
182
254
|
### Patch Changes
|
|
183
255
|
|
|
184
|
-
-
|
|
256
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
257
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
258
|
+
change to introduce spacing tokens to design system components.
|
|
185
259
|
|
|
186
260
|
## 5.4.1
|
|
187
261
|
|
|
188
262
|
### Patch Changes
|
|
189
263
|
|
|
190
|
-
-
|
|
264
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
265
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
266
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
191
267
|
|
|
192
268
|
## 5.4.0
|
|
193
269
|
|
|
194
270
|
### Minor Changes
|
|
195
271
|
|
|
196
|
-
-
|
|
272
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
273
|
+
[`54a5b7576a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a5b7576a6) -
|
|
274
|
+
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
197
275
|
|
|
198
276
|
### Patch Changes
|
|
199
277
|
|
|
200
|
-
-
|
|
278
|
+
- Updated dependencies
|
|
201
279
|
|
|
202
280
|
## 5.3.13
|
|
203
281
|
|
|
204
282
|
### Patch Changes
|
|
205
283
|
|
|
206
|
-
-
|
|
284
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
285
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
286
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
207
287
|
|
|
208
288
|
## 5.3.12
|
|
209
289
|
|
|
210
290
|
### Patch Changes
|
|
211
291
|
|
|
212
|
-
-
|
|
213
|
-
|
|
214
|
-
|
|
292
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
293
|
+
[`72cfbe1a536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72cfbe1a536) -
|
|
294
|
+
Internal code change turning on new linting rules.
|
|
295
|
+
- [`fe575d49d66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe575d49d66) -
|
|
296
|
+
Updated styles to use new input design tokens
|
|
297
|
+
- Updated dependencies
|
|
215
298
|
|
|
216
299
|
## 5.3.11
|
|
217
300
|
|
|
218
301
|
### Patch Changes
|
|
219
302
|
|
|
220
|
-
-
|
|
303
|
+
- Updated dependencies
|
|
221
304
|
|
|
222
305
|
## 5.3.10
|
|
223
306
|
|
|
224
307
|
### Patch Changes
|
|
225
308
|
|
|
226
|
-
-
|
|
309
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
310
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
311
|
+
Upgrade to TypeScript 4.2.4
|
|
227
312
|
|
|
228
313
|
## 5.3.9
|
|
229
314
|
|
|
230
315
|
### Patch Changes
|
|
231
316
|
|
|
232
|
-
-
|
|
317
|
+
- Updated dependencies
|
|
233
318
|
|
|
234
319
|
## 5.3.8
|
|
235
320
|
|
|
236
321
|
### Patch Changes
|
|
237
322
|
|
|
238
|
-
-
|
|
323
|
+
- Updated dependencies
|
|
239
324
|
|
|
240
325
|
## 5.3.7
|
|
241
326
|
|
|
242
327
|
### Patch Changes
|
|
243
328
|
|
|
244
|
-
-
|
|
329
|
+
- Updated dependencies
|
|
245
330
|
|
|
246
331
|
## 5.3.6
|
|
247
332
|
|
|
248
333
|
### Patch Changes
|
|
249
334
|
|
|
250
|
-
-
|
|
251
|
-
|
|
252
|
-
-
|
|
335
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
336
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
337
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
338
|
+
auto-fixing by correctly formatting token ids.
|
|
339
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
340
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
341
|
+
auto-fixing by correctly formatting token ids.
|
|
342
|
+
- Updated dependencies
|
|
253
343
|
|
|
254
344
|
## 5.3.5
|
|
255
345
|
|
|
256
346
|
### Patch Changes
|
|
257
347
|
|
|
258
|
-
-
|
|
348
|
+
- Updated dependencies
|
|
259
349
|
|
|
260
350
|
## 5.3.4
|
|
261
351
|
|
|
262
352
|
### Patch Changes
|
|
263
353
|
|
|
264
|
-
-
|
|
265
|
-
-
|
|
354
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
355
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
356
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
357
|
+
tokens() function and improving bundle size.
|
|
358
|
+
- Updated dependencies
|
|
266
359
|
|
|
267
360
|
## 5.3.3
|
|
268
361
|
|
|
269
362
|
### Patch Changes
|
|
270
363
|
|
|
271
|
-
-
|
|
364
|
+
- Updated dependencies
|
|
272
365
|
|
|
273
366
|
## 5.3.2
|
|
274
367
|
|
|
275
368
|
### Patch Changes
|
|
276
369
|
|
|
277
|
-
-
|
|
370
|
+
- Updated dependencies
|
|
278
371
|
|
|
279
372
|
## 5.3.1
|
|
280
373
|
|
|
281
374
|
### Patch Changes
|
|
282
375
|
|
|
283
|
-
-
|
|
376
|
+
- Updated dependencies
|
|
284
377
|
|
|
285
378
|
## 5.3.0
|
|
286
379
|
|
|
287
380
|
### Minor Changes
|
|
288
381
|
|
|
289
|
-
-
|
|
382
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
383
|
+
[`f276913fa2c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f276913fa2c) -
|
|
384
|
+
Instrumented Radio with the new theming package, `@atlaskit/tokens`.
|
|
290
385
|
|
|
291
|
-
|
|
292
|
-
|
|
386
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently
|
|
387
|
+
in alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
388
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
293
389
|
|
|
294
390
|
### Patch Changes
|
|
295
391
|
|
|
296
|
-
-
|
|
297
|
-
|
|
298
|
-
-
|
|
392
|
+
- [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) -
|
|
393
|
+
Internal changes to supress eslint rules.
|
|
394
|
+
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) -
|
|
395
|
+
Updates token usage to match the latest token set
|
|
396
|
+
- Updated dependencies
|
|
299
397
|
|
|
300
398
|
## 5.2.1
|
|
301
399
|
|
|
302
400
|
### Patch Changes
|
|
303
401
|
|
|
304
|
-
-
|
|
402
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
403
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
404
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
305
405
|
|
|
306
406
|
## 5.2.0
|
|
307
407
|
|
|
308
408
|
### Minor Changes
|
|
309
409
|
|
|
310
|
-
-
|
|
410
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
411
|
+
[`5c4717067dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c4717067dd) - [ux]
|
|
412
|
+
Add aria-labelledby prop to RadioGroup
|
|
311
413
|
|
|
312
414
|
## 5.1.1
|
|
313
415
|
|
|
314
416
|
### Patch Changes
|
|
315
417
|
|
|
316
|
-
-
|
|
418
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
419
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) -
|
|
420
|
+
Updates to development dependency `storybook-addon-performance`
|
|
317
421
|
|
|
318
422
|
## 5.1.0
|
|
319
423
|
|
|
320
424
|
### Minor Changes
|
|
321
425
|
|
|
322
|
-
-
|
|
426
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
|
|
427
|
+
[`7af2427f3a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7af2427f3a8) - [ux]
|
|
428
|
+
Update form field examples for validation and add a new prop to RadioGroup component
|
|
323
429
|
|
|
324
430
|
## 5.0.4
|
|
325
431
|
|
|
326
432
|
### Patch Changes
|
|
327
433
|
|
|
328
|
-
-
|
|
434
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
435
|
+
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
436
|
+
injected package name and version for analytics instead of version.json.
|
|
329
437
|
|
|
330
438
|
## 5.0.3
|
|
331
439
|
|
|
332
440
|
### Patch Changes
|
|
333
441
|
|
|
334
|
-
-
|
|
442
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
443
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
|
|
444
|
+
Transpile packages using babel rather than tsc
|
|
335
445
|
|
|
336
446
|
## 5.0.2
|
|
337
447
|
|
|
338
448
|
### Patch Changes
|
|
339
449
|
|
|
340
|
-
-
|
|
341
|
-
|
|
342
|
-
|
|
450
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
451
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
452
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
453
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle
|
|
454
|
+
Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
455
|
+
`devDependencies` to denote version that the package was built with.
|
|
343
456
|
|
|
344
457
|
## 5.0.1
|
|
345
458
|
|
|
346
459
|
### Patch Changes
|
|
347
460
|
|
|
348
|
-
-
|
|
461
|
+
- Updated dependencies
|
|
349
462
|
|
|
350
463
|
## 5.0.0
|
|
351
464
|
|
|
352
465
|
### Major Changes
|
|
353
466
|
|
|
354
|
-
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
-
|
|
467
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
468
|
+
[`44ef6437cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/44ef6437cd) - In this
|
|
469
|
+
version, we made radio dramatically faster and lighter 😍
|
|
470
|
+
|
|
471
|
+
### Changes
|
|
472
|
+
|
|
473
|
+
In `5.0.0` we improved the performance of radio by making it more similar to a native radio
|
|
474
|
+
input.
|
|
475
|
+
|
|
476
|
+
- Previously we rendered a hidden input and an svg for the radio icon. This way we could get
|
|
477
|
+
all the accessibility benefits of using a native radio input while being able to style the
|
|
478
|
+
svg. We now use `appearance: none` on the input, enabling us to style the input and the
|
|
479
|
+
`after` pseudo-element. This removes the need for an svg.
|
|
480
|
+
- Previously all interaction styles were generated in JS using events, causing unnecessary and
|
|
481
|
+
slow rerenders. Now all styles for the radio are applied using css selectors.
|
|
482
|
+
- Because the input is now visible, we have changed the test id from `${testId}--hidden-radio`
|
|
483
|
+
to `${testId}--radio-input` to provide less usage friction. We looked into product usage of
|
|
484
|
+
the `testId` and we have reached out to the owners of any code that would be effected (there
|
|
485
|
+
was only one).
|
|
486
|
+
- Dropped the `peerDependency` on `styled-components@3` in favour of using `@emotion/core`.
|
|
487
|
+
- Converted to function components.
|
|
488
|
+
- Added the ability to forward a `ref` to a radio input.
|
|
489
|
+
- Remove the `RadioIcon` export, you should just use the `Radio` without a label if you want
|
|
490
|
+
this functionality.
|
|
491
|
+
- Restricted types for `Radio` and `RadioGroup`. `RadioGroup` previously allowed you to pass
|
|
492
|
+
any props so this has been restricted to only those used. The `isChecked` prop in
|
|
493
|
+
the`options` prop for `RadioGroup` has been removed. You can only set a `Radio` as checked
|
|
494
|
+
if the value of the `Radio` is the selected value in the `RadioGroup`. `Radio` used to
|
|
495
|
+
explicitly define input attributes as props and now it extends `InputHTMLAttributes`
|
|
496
|
+
allowing you to pass any input attribute as a prop.
|
|
497
|
+
- There was a bug where all `onMouse` events were passed onto both the input element and the
|
|
498
|
+
`Radio`, which means they would be called multiple times. Now they are only passed to the
|
|
499
|
+
input element.
|
|
500
|
+
- As `Radio` acts as a native radio input, the `name` prop on each `RadioGroup` needs to be
|
|
501
|
+
unique or each `RadioGroup` with the same name needs to be inside a form element. This is
|
|
502
|
+
because the `name` attribute on radio inputs is used to link the inputs so if you have two
|
|
503
|
+
separate `RadioGroup`'s with the same name, the browser views them as one radio group.
|
|
504
|
+
|
|
505
|
+
### Patch Changes
|
|
506
|
+
|
|
507
|
+
- Updated dependencies
|
|
374
508
|
|
|
375
509
|
## 4.0.6
|
|
376
510
|
|
|
377
511
|
### Patch Changes
|
|
378
512
|
|
|
379
|
-
-
|
|
513
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707)
|
|
514
|
+
[`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable
|
|
515
|
+
integration tests for Edge browser
|
|
380
516
|
|
|
381
517
|
## 4.0.5
|
|
382
518
|
|
|
383
519
|
### Patch Changes
|
|
384
520
|
|
|
385
|
-
-
|
|
521
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
522
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
523
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
386
524
|
|
|
387
|
-
|
|
388
|
-
|
|
525
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this
|
|
526
|
+
tslib upgrade to prevent duplicates of tslib being bundled.
|
|
389
527
|
|
|
390
528
|
## 4.0.4
|
|
391
529
|
|
|
392
530
|
### Patch Changes
|
|
393
531
|
|
|
394
|
-
-
|
|
532
|
+
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393)
|
|
533
|
+
[`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump
|
|
534
|
+
required because of conflicts on wadmal release
|
|
395
535
|
|
|
396
536
|
## 4.0.3
|
|
397
537
|
|
|
398
538
|
### Patch Changes
|
|
399
539
|
|
|
400
|
-
-
|
|
540
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
541
|
+
[`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form
|
|
542
|
+
elements now have a default font explicitly set
|
|
401
543
|
|
|
402
544
|
## 4.0.2
|
|
403
545
|
|
|
404
546
|
### Patch Changes
|
|
405
547
|
|
|
406
|
-
-
|
|
548
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
|
|
549
|
+
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The
|
|
550
|
+
readme and package information has been updated to point to the new design system website.
|
|
407
551
|
|
|
408
552
|
## 4.0.1
|
|
409
553
|
|
|
410
554
|
### Patch Changes
|
|
411
555
|
|
|
412
|
-
-
|
|
556
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
557
|
+
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update
|
|
558
|
+
all the theme imports to be tree-shakable
|
|
413
559
|
|
|
414
560
|
## 4.0.0
|
|
415
561
|
|
|
416
562
|
### Major Changes
|
|
417
563
|
|
|
418
|
-
-
|
|
419
|
-
|
|
564
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
565
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
|
|
566
|
+
Officially dropping IE11 support, from this version onwards there are no warranties of the
|
|
567
|
+
package working in IE11. For more information see:
|
|
568
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
420
569
|
|
|
421
570
|
### Patch Changes
|
|
422
571
|
|
|
423
|
-
-
|
|
572
|
+
- Updated dependencies
|
|
424
573
|
|
|
425
574
|
## 3.2.3
|
|
426
575
|
|
|
427
576
|
### Patch Changes
|
|
428
577
|
|
|
429
|
-
-
|
|
578
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
579
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build
|
|
580
|
+
and supporting files will no longer be published to npm
|
|
430
581
|
|
|
431
582
|
## 3.2.2
|
|
432
583
|
|
|
433
584
|
### Patch Changes
|
|
434
585
|
|
|
435
|
-
-
|
|
586
|
+
- Updated dependencies
|
|
436
587
|
|
|
437
588
|
## 3.2.1
|
|
438
589
|
|
|
439
590
|
### Patch Changes
|
|
440
591
|
|
|
441
|
-
-
|
|
592
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868)
|
|
593
|
+
[`966efe3f95`](https://bitbucket.org/atlassian/atlassian-frontend/commits/966efe3f95) - Change
|
|
594
|
+
imports to comply with Atlassian conventions- Updated dependencies
|
|
442
595
|
|
|
443
596
|
## 3.2.0
|
|
444
597
|
|
|
445
598
|
### Minor Changes
|
|
446
599
|
|
|
447
|
-
-
|
|
600
|
+
- [minor][f0af33ead6](https://bitbucket.org/atlassian/atlassian-frontend/commits/f0af33ead6):
|
|
448
601
|
|
|
449
|
-
|
|
602
|
+
Add name prop to RadioGroup
|
|
450
603
|
|
|
451
604
|
### Patch Changes
|
|
452
605
|
|
|
453
|
-
-
|
|
454
|
-
|
|
455
|
-
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
606
|
+
- Updated dependencies
|
|
607
|
+
[294c05bcdf](https://bitbucket.org/atlassian/atlassian-frontend/commits/294c05bcdf):
|
|
608
|
+
- Updated dependencies
|
|
609
|
+
[dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82):
|
|
610
|
+
- Updated dependencies
|
|
611
|
+
[8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6):
|
|
612
|
+
- @atlaskit/form@7.2.0
|
|
613
|
+
- @atlaskit/build-utils@2.6.4
|
|
614
|
+
- @atlaskit/docs@8.5.0
|
|
459
615
|
|
|
460
616
|
## 3.1.11
|
|
461
617
|
|
|
462
618
|
### Patch Changes
|
|
463
619
|
|
|
464
|
-
-
|
|
465
|
-
|
|
466
|
-
-
|
|
467
|
-
|
|
468
|
-
-
|
|
469
|
-
|
|
470
|
-
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
620
|
+
- Updated dependencies
|
|
621
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
622
|
+
- Updated dependencies
|
|
623
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
624
|
+
- Updated dependencies
|
|
625
|
+
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
|
|
626
|
+
- Updated dependencies
|
|
627
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
628
|
+
- Updated dependencies
|
|
629
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
630
|
+
- Updated dependencies
|
|
631
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
632
|
+
- Updated dependencies
|
|
633
|
+
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
|
|
634
|
+
- Updated dependencies
|
|
635
|
+
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
|
|
636
|
+
- @atlaskit/docs@8.4.0
|
|
637
|
+
- @atlaskit/icon@20.1.0
|
|
638
|
+
- @atlaskit/webdriver-runner@0.3.0
|
|
639
|
+
- @atlaskit/button@13.3.9
|
|
640
|
+
- @atlaskit/checkbox@10.1.10
|
|
641
|
+
- @atlaskit/form@7.1.5
|
|
478
642
|
|
|
479
643
|
## 3.1.10
|
|
480
644
|
|
|
481
645
|
### Patch Changes
|
|
482
646
|
|
|
483
|
-
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
647
|
+
- Updated dependencies
|
|
648
|
+
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
|
|
649
|
+
- @atlaskit/webdriver-runner@0.2.0
|
|
650
|
+
- @atlaskit/button@13.3.8
|
|
651
|
+
- @atlaskit/checkbox@10.1.9
|
|
652
|
+
- @atlaskit/form@7.1.4
|
|
488
653
|
|
|
489
654
|
## 3.1.9
|
|
490
655
|
|
|
491
656
|
### Patch Changes
|
|
492
657
|
|
|
493
|
-
-
|
|
658
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
494
659
|
|
|
495
|
-
|
|
660
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
661
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
496
662
|
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
663
|
+
- @atlaskit/docs@8.3.2
|
|
664
|
+
- @atlaskit/visual-regression@0.1.9
|
|
665
|
+
- @atlaskit/analytics-next@6.3.5
|
|
666
|
+
- @atlaskit/button@13.3.7
|
|
667
|
+
- @atlaskit/checkbox@10.1.7
|
|
668
|
+
- @atlaskit/form@7.1.2
|
|
669
|
+
- @atlaskit/icon@20.0.1
|
|
670
|
+
- @atlaskit/theme@9.5.1
|
|
505
671
|
|
|
506
672
|
## 3.1.8
|
|
507
673
|
|
|
508
674
|
### Patch Changes
|
|
509
675
|
|
|
510
|
-
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
676
|
+
- Updated dependencies
|
|
677
|
+
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
678
|
+
- @atlaskit/icon@20.0.0
|
|
679
|
+
- @atlaskit/form@7.1.1
|
|
680
|
+
- @atlaskit/docs@8.3.1
|
|
681
|
+
- @atlaskit/button@13.3.6
|
|
682
|
+
- @atlaskit/checkbox@10.1.6
|
|
516
683
|
|
|
517
684
|
## 3.1.7
|
|
518
685
|
|
|
519
686
|
### Patch Changes
|
|
520
687
|
|
|
521
|
-
-
|
|
688
|
+
- [patch][e20d7996ca](https://bitbucket.org/atlassian/atlassian-frontend/commits/e20d7996ca):
|
|
522
689
|
|
|
523
|
-
|
|
690
|
+
Fixes radio value from `string | number` to just `string` to match the current implementation.-
|
|
691
|
+
Updated dependencies
|
|
692
|
+
[ec76622d34](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec76622d34):
|
|
524
693
|
|
|
525
|
-
-
|
|
526
|
-
|
|
694
|
+
- Updated dependencies
|
|
695
|
+
[d93de8e56e](https://bitbucket.org/atlassian/atlassian-frontend/commits/d93de8e56e):
|
|
696
|
+
- @atlaskit/form@7.0.1
|
|
527
697
|
|
|
528
698
|
## 3.1.6
|
|
529
699
|
|
|
530
700
|
### Patch Changes
|
|
531
701
|
|
|
532
|
-
-
|
|
702
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
533
703
|
|
|
534
|
-
|
|
704
|
+
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
|
|
705
|
+
Updated dependencies
|
|
706
|
+
[28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
|
|
535
707
|
|
|
536
|
-
-
|
|
537
|
-
|
|
538
|
-
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
708
|
+
- Updated dependencies
|
|
709
|
+
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
710
|
+
- Updated dependencies
|
|
711
|
+
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
712
|
+
- Updated dependencies
|
|
713
|
+
[6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866):
|
|
714
|
+
- @atlaskit/icon@19.1.0
|
|
715
|
+
- @atlaskit/theme@9.5.0
|
|
716
|
+
- @atlaskit/button@13.3.5
|
|
717
|
+
- @atlaskit/checkbox@10.1.5
|
|
543
718
|
|
|
544
719
|
## 3.1.5
|
|
545
720
|
|
|
546
721
|
### Patch Changes
|
|
547
722
|
|
|
548
|
-
-
|
|
723
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
549
724
|
|
|
550
|
-
|
|
725
|
+
Form has been converted to Typescript. TypeScript consumers will now get static type safety.
|
|
726
|
+
Flow types are no longer provided. No API changes.- Updated dependencies
|
|
727
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
551
728
|
|
|
552
|
-
-
|
|
553
|
-
|
|
554
|
-
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
729
|
+
- Updated dependencies
|
|
730
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
731
|
+
- Updated dependencies
|
|
732
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
733
|
+
- Updated dependencies
|
|
734
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
735
|
+
- Updated dependencies
|
|
736
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
737
|
+
- @atlaskit/analytics-next@6.3.3
|
|
738
|
+
- @atlaskit/form@7.0.0
|
|
739
|
+
- @atlaskit/checkbox@10.1.4
|
|
559
740
|
|
|
560
741
|
## 3.1.4
|
|
561
742
|
|
|
562
743
|
### Patch Changes
|
|
563
744
|
|
|
564
|
-
-
|
|
745
|
+
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
|
|
565
746
|
|
|
566
|
-
|
|
747
|
+
Theme has been converted to Typescript. Typescript consumers will now get static type safety.
|
|
748
|
+
Flow types are no longer provided.
|
|
567
749
|
|
|
568
|
-
|
|
750
|
+
### Breaking
|
|
569
751
|
|
|
570
|
-
|
|
571
|
-
|
|
752
|
+
** getTokens props changes ** When defining the value function passed into a ThemeProvider, the
|
|
753
|
+
getTokens parameter cannot be called without props; if no props are provided an empty object
|
|
754
|
+
`{}` must be passed in:
|
|
572
755
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
756
|
+
```javascript
|
|
757
|
+
<CustomTheme.Provider
|
|
758
|
+
value={t => ({ ...t(), backgroundColor: '#333'})}
|
|
759
|
+
>
|
|
760
|
+
```
|
|
578
761
|
|
|
579
|
-
|
|
762
|
+
becomes:
|
|
580
763
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
764
|
+
```javascript
|
|
765
|
+
<CustomTheme.Provider
|
|
766
|
+
value={t => ({ ...t({}), backgroundColor: '#333'})}
|
|
767
|
+
>
|
|
768
|
+
```
|
|
586
769
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
Users will need to update imports from this:
|
|
770
|
+
** Color palette changes ** Color palettes have been moved into their own file. Users will need
|
|
771
|
+
to update imports from this:
|
|
590
772
|
|
|
591
|
-
|
|
592
|
-
|
|
773
|
+
```javascript
|
|
774
|
+
import { colors } from '@atlaskit/theme';
|
|
593
775
|
|
|
594
|
-
|
|
595
|
-
|
|
776
|
+
colors.colorPalette('8');
|
|
777
|
+
```
|
|
596
778
|
|
|
597
|
-
|
|
779
|
+
to this:
|
|
598
780
|
|
|
599
|
-
|
|
600
|
-
|
|
781
|
+
```javascript
|
|
782
|
+
import { colorPalette } from '@atlaskit/theme';
|
|
601
783
|
|
|
602
|
-
|
|
603
|
-
|
|
784
|
+
colorPalette.colorPalette('8');
|
|
785
|
+
```
|
|
604
786
|
|
|
605
|
-
|
|
787
|
+
or for multi entry-point users:
|
|
606
788
|
|
|
607
|
-
|
|
608
|
-
|
|
789
|
+
```javascript
|
|
790
|
+
import * as colors from '@atlaskit/theme/colors';
|
|
609
791
|
|
|
610
|
-
|
|
611
|
-
|
|
792
|
+
colors.colorPalette('8');
|
|
793
|
+
```
|
|
612
794
|
|
|
613
|
-
|
|
795
|
+
to this:
|
|
614
796
|
|
|
615
|
-
|
|
616
|
-
|
|
797
|
+
```javascript
|
|
798
|
+
import * as colorPalettes from '@atlaskit/theme/color-palette';
|
|
617
799
|
|
|
618
|
-
|
|
619
|
-
|
|
800
|
+
colorPalettes.colorPalette('8');
|
|
801
|
+
```
|
|
620
802
|
|
|
621
803
|
## 3.1.3
|
|
622
804
|
|
|
623
805
|
### Patch Changes
|
|
624
806
|
|
|
625
|
-
-
|
|
807
|
+
- [patch][70e57645f2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70e57645f2):
|
|
626
808
|
|
|
627
|
-
|
|
809
|
+
Updates controlled example to show better pattern for state duplication between RadioGroup and
|
|
810
|
+
Form
|
|
628
811
|
|
|
629
812
|
## 3.1.2
|
|
630
813
|
|
|
631
814
|
### Patch Changes
|
|
632
815
|
|
|
633
|
-
-
|
|
816
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
634
817
|
|
|
635
|
-
|
|
818
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
636
819
|
|
|
637
820
|
## 3.1.1
|
|
638
821
|
|
|
639
822
|
### Patch Changes
|
|
640
823
|
|
|
641
|
-
-
|
|
824
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
642
825
|
|
|
643
|
-
|
|
826
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
644
827
|
|
|
645
828
|
## 3.1.0
|
|
646
829
|
|
|
647
830
|
### Minor Changes
|
|
648
831
|
|
|
649
|
-
-
|
|
832
|
+
- [minor][ff521a0e20](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ff521a0e20):
|
|
650
833
|
|
|
651
|
-
|
|
834
|
+
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
|
|
835
|
+
products to write better integration and end to end tests.
|
|
652
836
|
|
|
653
837
|
## 3.0.18
|
|
654
838
|
|
|
655
|
-
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
839
|
+
- Updated dependencies
|
|
840
|
+
[97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
|
|
841
|
+
- @atlaskit/button@13.3.1
|
|
842
|
+
- @atlaskit/form@6.2.3
|
|
843
|
+
- @atlaskit/checkbox@10.0.0
|
|
844
|
+
- @atlaskit/docs@8.1.7
|
|
660
845
|
|
|
661
846
|
## 3.0.17
|
|
662
847
|
|
|
663
848
|
### Patch Changes
|
|
664
849
|
|
|
665
|
-
-
|
|
850
|
+
- [patch][7dc767eabb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7dc767eabb):
|
|
666
851
|
|
|
667
|
-
|
|
852
|
+
onChange is now marked as an optional prop
|
|
668
853
|
|
|
669
854
|
## 3.0.16
|
|
670
855
|
|
|
671
856
|
### Patch Changes
|
|
672
857
|
|
|
673
|
-
-
|
|
858
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
674
859
|
|
|
675
|
-
|
|
860
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
861
|
+
non-relative imports as relative imports
|
|
676
862
|
|
|
677
863
|
## 3.0.15
|
|
678
864
|
|
|
679
865
|
### Patch Changes
|
|
680
866
|
|
|
681
|
-
-
|
|
867
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
682
868
|
|
|
683
|
-
|
|
869
|
+
Upgraded Typescript to 3.3.x
|
|
684
870
|
|
|
685
871
|
## 3.0.14
|
|
686
872
|
|
|
687
873
|
### Patch Changes
|
|
688
874
|
|
|
689
|
-
-
|
|
875
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
690
876
|
|
|
691
|
-
|
|
877
|
+
Change all the imports to theme in Core to use multi entry points
|
|
692
878
|
|
|
693
879
|
## 3.0.13
|
|
694
880
|
|
|
695
881
|
### Patch Changes
|
|
696
882
|
|
|
697
|
-
-
|
|
883
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
698
884
|
|
|
699
|
-
|
|
885
|
+
Updates component maintainers
|
|
700
886
|
|
|
701
887
|
## 3.0.12
|
|
702
888
|
|
|
703
889
|
### Patch Changes
|
|
704
890
|
|
|
705
|
-
-
|
|
891
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
706
892
|
|
|
707
|
-
|
|
893
|
+
Analytics-next has been converted to Typescript. Typescript consumers will now get static type
|
|
894
|
+
safety. Flow types are no longer provided. No behavioural changes.
|
|
708
895
|
|
|
709
|
-
|
|
896
|
+
**Breaking changes**
|
|
710
897
|
|
|
711
|
-
|
|
712
|
-
|
|
898
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
899
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
713
900
|
|
|
714
|
-
|
|
901
|
+
**Breaking changes to TypeScript annotations**
|
|
715
902
|
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
903
|
+
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to
|
|
904
|
+
provide props as a generic type.
|
|
905
|
+
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to
|
|
906
|
+
provide props as a generic type.
|
|
907
|
+
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match
|
|
908
|
+
source code
|
|
909
|
+
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match
|
|
910
|
+
source code
|
|
911
|
+
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to
|
|
912
|
+
match source code
|
|
913
|
+
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
|
|
914
|
+
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
|
|
915
|
+
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
|
|
916
|
+
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
|
|
917
|
+
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
|
|
918
|
+
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
|
|
727
919
|
|
|
728
920
|
## 3.0.11
|
|
729
921
|
|
|
730
922
|
### Patch Changes
|
|
731
923
|
|
|
732
|
-
-
|
|
924
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
733
925
|
|
|
734
|
-
|
|
926
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
735
927
|
|
|
736
928
|
## 3.0.10
|
|
737
929
|
|
|
738
930
|
### Patch Changes
|
|
739
931
|
|
|
740
|
-
-
|
|
932
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
741
933
|
|
|
742
|
-
|
|
934
|
+
Fixes bug, missing version.json file
|
|
743
935
|
|
|
744
936
|
## 3.0.9
|
|
745
937
|
|
|
746
938
|
### Patch Changes
|
|
747
939
|
|
|
748
|
-
-
|
|
940
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
749
941
|
|
|
750
|
-
|
|
942
|
+
In this PR, we are:
|
|
751
943
|
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
944
|
+
- Re-introducing dist build folders
|
|
945
|
+
- Adding back cjs
|
|
946
|
+
- Replacing es5 by cjs and es2015 by esm
|
|
947
|
+
- Creating folders at the root for entry-points
|
|
948
|
+
- Removing the generation of the entry-points at the root Please see this
|
|
949
|
+
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
|
|
950
|
+
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
|
|
951
|
+
for further details
|
|
758
952
|
|
|
759
953
|
## 3.0.8
|
|
760
954
|
|
|
761
955
|
### Patch Changes
|
|
762
956
|
|
|
763
|
-
-
|
|
957
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
764
958
|
|
|
765
|
-
|
|
959
|
+
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide
|
|
960
|
+
props as a generic type. This is so that TypeScript can correctly calculate the props and
|
|
961
|
+
defaultProps of the returned component.
|
|
766
962
|
|
|
767
|
-
|
|
963
|
+
Before:
|
|
768
964
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
965
|
+
```typescript
|
|
966
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
967
|
+
```
|
|
772
968
|
|
|
773
|
-
|
|
969
|
+
After:
|
|
774
970
|
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
971
|
+
```typescript
|
|
972
|
+
withAnalyticsEvents<Props>()(Button);
|
|
973
|
+
```
|
|
778
974
|
|
|
779
975
|
## 3.0.7
|
|
780
976
|
|
|
781
|
-
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
977
|
+
- Updated dependencies
|
|
978
|
+
[87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
|
|
979
|
+
- @atlaskit/button@13.0.10
|
|
980
|
+
- @atlaskit/form@6.1.2
|
|
981
|
+
- @atlaskit/checkbox@9.0.0
|
|
785
982
|
|
|
786
983
|
## 3.0.6
|
|
787
984
|
|
|
788
|
-
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
985
|
+
- Updated dependencies
|
|
986
|
+
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
|
|
987
|
+
- @atlaskit/docs@8.1.3
|
|
988
|
+
- @atlaskit/button@13.0.9
|
|
989
|
+
- @atlaskit/checkbox@8.0.5
|
|
990
|
+
- @atlaskit/form@6.1.1
|
|
991
|
+
- @atlaskit/icon@19.0.0
|
|
794
992
|
|
|
795
993
|
## 3.0.5
|
|
796
994
|
|
|
797
995
|
### Patch Changes
|
|
798
996
|
|
|
799
|
-
-
|
|
997
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
800
998
|
|
|
801
|
-
|
|
999
|
+
index.ts will now be ignored when publishing to npm
|
|
802
1000
|
|
|
803
1001
|
## 3.0.4
|
|
804
1002
|
|
|
805
1003
|
### Patch Changes
|
|
806
1004
|
|
|
807
|
-
-
|
|
1005
|
+
- [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6):
|
|
808
1006
|
|
|
809
|
-
|
|
1007
|
+
Added missing tslib dep
|
|
810
1008
|
|
|
811
1009
|
## 3.0.3
|
|
812
1010
|
|
|
813
|
-
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
1011
|
+
- Updated dependencies
|
|
1012
|
+
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
|
|
1013
|
+
- @atlaskit/docs@8.1.2
|
|
1014
|
+
- @atlaskit/button@13.0.8
|
|
1015
|
+
- @atlaskit/checkbox@8.0.2
|
|
1016
|
+
- @atlaskit/form@6.0.5
|
|
1017
|
+
- @atlaskit/icon@18.0.0
|
|
819
1018
|
|
|
820
1019
|
## 3.0.2
|
|
821
1020
|
|
|
822
|
-
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
1021
|
+
- Updated dependencies
|
|
1022
|
+
[70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
|
|
1023
|
+
- @atlaskit/button@13.0.6
|
|
1024
|
+
- @atlaskit/form@6.0.4
|
|
1025
|
+
- @atlaskit/checkbox@8.0.0
|
|
1026
|
+
- @atlaskit/icon@17.2.0
|
|
1027
|
+
- @atlaskit/theme@9.1.0
|
|
828
1028
|
|
|
829
1029
|
## 3.0.1
|
|
830
1030
|
|
|
831
|
-
-
|
|
1031
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
832
1032
|
|
|
833
|
-
|
|
1033
|
+
- This is just a safety release in case anything strange happened in in the previous one. See
|
|
1034
|
+
Pull Request #5942 for details
|
|
834
1035
|
|
|
835
1036
|
## 3.0.0
|
|
836
1037
|
|
|
837
|
-
-
|
|
1038
|
+
- [major][1da5351f72](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1da5351f72):
|
|
838
1039
|
|
|
839
|
-
|
|
1040
|
+
- @atlaskit/radio has been converted to Typescript. Typescript consumers will now get static
|
|
1041
|
+
type safety. Flow types are no longer provided. No API or behavioural changes.
|
|
840
1042
|
|
|
841
1043
|
## 2.0.0
|
|
842
1044
|
|
|
843
|
-
-
|
|
1045
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
844
1046
|
|
|
845
|
-
|
|
1047
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1048
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
846
1049
|
|
|
847
1050
|
## 1.0.0
|
|
848
1051
|
|
|
849
|
-
-
|
|
1052
|
+
- [major][6c4e41ff36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6c4e41ff36):
|
|
850
1053
|
|
|
851
|
-
|
|
1054
|
+
- This major release indicates that this package is no longer under dev preview but is ready
|
|
1055
|
+
for use
|
|
852
1056
|
|
|
853
1057
|
## 0.5.3
|
|
854
1058
|
|
|
855
|
-
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
1059
|
+
- Updated dependencies
|
|
1060
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
1061
|
+
- @atlaskit/docs@7.0.3
|
|
1062
|
+
- @atlaskit/button@12.0.3
|
|
1063
|
+
- @atlaskit/checkbox@6.0.4
|
|
1064
|
+
- @atlaskit/form@5.2.7
|
|
1065
|
+
- @atlaskit/icon@16.0.9
|
|
1066
|
+
- @atlaskit/section-message@2.0.3
|
|
1067
|
+
- @atlaskit/theme@8.1.7
|
|
863
1068
|
|
|
864
1069
|
## 0.5.2
|
|
865
1070
|
|
|
866
|
-
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
1071
|
+
- Updated dependencies
|
|
1072
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
1073
|
+
- @atlaskit/docs@7.0.2
|
|
1074
|
+
- @atlaskit/analytics-next@4.0.3
|
|
1075
|
+
- @atlaskit/checkbox@6.0.3
|
|
1076
|
+
- @atlaskit/form@5.2.5
|
|
1077
|
+
- @atlaskit/icon@16.0.8
|
|
1078
|
+
- @atlaskit/section-message@2.0.2
|
|
1079
|
+
- @atlaskit/theme@8.1.6
|
|
1080
|
+
- @atlaskit/button@12.0.0
|
|
875
1081
|
|
|
876
1082
|
## 0.5.1
|
|
877
1083
|
|
|
878
|
-
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
1084
|
+
- Updated dependencies
|
|
1085
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
1086
|
+
- @atlaskit/docs@7.0.1
|
|
1087
|
+
- @atlaskit/analytics-next@4.0.1
|
|
1088
|
+
- @atlaskit/checkbox@6.0.1
|
|
1089
|
+
- @atlaskit/form@5.2.1
|
|
1090
|
+
- @atlaskit/icon@16.0.5
|
|
1091
|
+
- @atlaskit/section-message@2.0.1
|
|
1092
|
+
- @atlaskit/theme@8.0.1
|
|
1093
|
+
- @atlaskit/button@11.0.0
|
|
887
1094
|
|
|
888
1095
|
## 0.5.0
|
|
889
1096
|
|
|
890
|
-
-
|
|
1097
|
+
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
891
1098
|
|
|
892
|
-
|
|
1099
|
+
- Drop ES5 from all the flow modules
|
|
893
1100
|
|
|
894
|
-
|
|
1101
|
+
### Dropping CJS support in all @atlaskit packages
|
|
895
1102
|
|
|
896
|
-
|
|
897
|
-
|
|
1103
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
1104
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
1105
|
+
`import` and `export` declarations.
|
|
898
1106
|
|
|
899
|
-
|
|
1107
|
+
The major reason for doing this is to allow us to support multiple entry points in packages,
|
|
1108
|
+
e.g:
|
|
900
1109
|
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
1110
|
+
```js
|
|
1111
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1112
|
+
```
|
|
904
1113
|
|
|
905
|
-
|
|
1114
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
906
1115
|
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
1116
|
+
```js
|
|
1117
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1118
|
+
```
|
|
910
1119
|
|
|
911
|
-
|
|
1120
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors
|
|
1121
|
+
harder, we have to worry about how consumers might be using things that aren't _actually_
|
|
1122
|
+
supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads
|
|
1123
|
+
to lots of packages bundling all of theme, just to use a single color, especially in situations
|
|
1124
|
+
where tree shaking fails.
|
|
912
1125
|
|
|
913
|
-
|
|
1126
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
1127
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
1128
|
+
internal dependencies.
|
|
914
1129
|
|
|
915
|
-
|
|
1130
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1131
|
+
environments.
|
|
916
1132
|
|
|
917
|
-
|
|
1133
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
1134
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
1135
|
+
saner API's and simpler package architecture.
|
|
918
1136
|
|
|
919
|
-
|
|
1137
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
1138
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
1139
|
+
external) if you have any questions or queries about this.
|
|
920
1140
|
|
|
921
1141
|
## 0.4.7
|
|
922
1142
|
|
|
923
|
-
-
|
|
1143
|
+
- [patch][942e0aec04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/942e0aec04):
|
|
924
1144
|
|
|
925
|
-
|
|
1145
|
+
- Added test to make sure props are passed hidden input
|
|
926
1146
|
|
|
927
1147
|
## 0.4.6
|
|
928
1148
|
|
|
929
|
-
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
1149
|
+
- Updated dependencies
|
|
1150
|
+
[d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
|
|
1151
|
+
- @atlaskit/docs@6.0.1
|
|
1152
|
+
- @atlaskit/button@10.1.2
|
|
1153
|
+
- @atlaskit/checkbox@5.0.11
|
|
1154
|
+
- @atlaskit/form@5.1.2
|
|
1155
|
+
- @atlaskit/section-message@1.0.16
|
|
1156
|
+
- @atlaskit/icon@16.0.0
|
|
936
1157
|
|
|
937
1158
|
## 0.4.5
|
|
938
1159
|
|
|
939
|
-
-
|
|
1160
|
+
- [patch][a048a85](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a048a85):
|
|
940
1161
|
|
|
941
|
-
|
|
1162
|
+
- Updated to be compatible with new Forms API
|
|
942
1163
|
|
|
943
|
-
-
|
|
944
|
-
|
|
1164
|
+
- Updated dependencies [647a46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/647a46f):
|
|
1165
|
+
- @atlaskit/form@5.0.0
|
|
945
1166
|
|
|
946
1167
|
## 0.4.4
|
|
947
1168
|
|
|
948
|
-
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
1169
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
1170
|
+
- @atlaskit/analytics-next@3.1.2
|
|
1171
|
+
- @atlaskit/button@10.1.1
|
|
1172
|
+
- @atlaskit/checkbox@5.0.9
|
|
1173
|
+
- @atlaskit/form@4.0.21
|
|
1174
|
+
- @atlaskit/icon@15.0.2
|
|
1175
|
+
- @atlaskit/section-message@1.0.14
|
|
1176
|
+
- @atlaskit/theme@7.0.1
|
|
1177
|
+
- @atlaskit/docs@6.0.0
|
|
957
1178
|
|
|
958
1179
|
## 0.4.3
|
|
959
1180
|
|
|
960
|
-
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
1181
|
+
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
1182
|
+
- @atlaskit/docs@5.2.3
|
|
1183
|
+
- @atlaskit/button@10.0.4
|
|
1184
|
+
- @atlaskit/field-base@11.0.12
|
|
1185
|
+
- @atlaskit/form@4.0.20
|
|
1186
|
+
- @atlaskit/icon@15.0.1
|
|
1187
|
+
- @atlaskit/section-message@1.0.13
|
|
1188
|
+
- @atlaskit/theme@7.0.0
|
|
968
1189
|
|
|
969
1190
|
## 0.4.2
|
|
970
1191
|
|
|
971
|
-
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
1192
|
+
- Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
|
|
1193
|
+
- @atlaskit/docs@5.2.2
|
|
1194
|
+
- @atlaskit/button@10.0.1
|
|
1195
|
+
- @atlaskit/field-base@11.0.11
|
|
1196
|
+
- @atlaskit/form@4.0.19
|
|
1197
|
+
- @atlaskit/section-message@1.0.12
|
|
1198
|
+
- @atlaskit/icon@15.0.0
|
|
978
1199
|
|
|
979
1200
|
## 0.4.1
|
|
980
1201
|
|
|
981
|
-
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
1202
|
+
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
|
|
1203
|
+
- @atlaskit/docs@5.2.1
|
|
1204
|
+
- @atlaskit/analytics-next@3.1.1
|
|
1205
|
+
- @atlaskit/form@4.0.18
|
|
1206
|
+
- @atlaskit/icon@14.6.1
|
|
1207
|
+
- @atlaskit/section-message@1.0.11
|
|
1208
|
+
- @atlaskit/theme@6.2.1
|
|
1209
|
+
- @atlaskit/button@10.0.0
|
|
989
1210
|
|
|
990
1211
|
## 0.4.0
|
|
991
1212
|
|
|
992
|
-
-
|
|
1213
|
+
- [minor][b42680b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b42680b):
|
|
993
1214
|
|
|
994
|
-
|
|
1215
|
+
- Add isDisabled prop to RadioGroup, once set will set the isDisabled value for all Radio
|
|
1216
|
+
elements within the group
|
|
995
1217
|
|
|
996
1218
|
## 0.3.0
|
|
997
1219
|
|
|
998
|
-
-
|
|
1220
|
+
- [minor][8199088](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8199088):
|
|
999
1221
|
|
|
1000
|
-
|
|
1222
|
+
- BREAKING: defaultCheckedValue and checkedValue props in the RadioGroup component now changed
|
|
1223
|
+
to defaultValue and value respectively
|
|
1001
1224
|
|
|
1002
1225
|
## 0.2.4
|
|
1003
1226
|
|
|
1004
|
-
-
|
|
1227
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1228
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1005
1229
|
|
|
1006
1230
|
## 0.2.3
|
|
1007
1231
|
|
|
1008
|
-
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1232
|
+
- [patch] Updated dependencies
|
|
1233
|
+
[65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
|
|
1234
|
+
- @atlaskit/docs@5.0.8
|
|
1235
|
+
- @atlaskit/button@9.0.13
|
|
1236
|
+
- @atlaskit/field-base@11.0.8
|
|
1237
|
+
- @atlaskit/form@4.0.10
|
|
1238
|
+
- @atlaskit/section-message@1.0.8
|
|
1239
|
+
- @atlaskit/icon@14.0.0
|
|
1015
1240
|
|
|
1016
1241
|
## 0.2.2
|
|
1017
1242
|
|
|
1018
|
-
-
|
|
1243
|
+
- [patch] Fixing analytics events for checkbox/radio/select
|
|
1244
|
+
[3e428e3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e428e3)
|
|
1019
1245
|
|
|
1020
1246
|
## 0.2.1
|
|
1021
1247
|
|
|
1022
|
-
-
|
|
1248
|
+
- [patch] Fixed radio indent styling
|
|
1249
|
+
[88520b2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/88520b2)
|
|
1023
1250
|
|
|
1024
1251
|
## 0.2.0
|
|
1025
1252
|
|
|
1026
|
-
-
|
|
1253
|
+
- [minor] Removed radioInput component, replaced Radio children prop with optional label prop to
|
|
1254
|
+
enable the use case facilitated by RadioInput. Added aria-label prop to Radio for accessibility.
|
|
1255
|
+
Wrapped Radio component in Analytics.
|
|
1256
|
+
[866a29b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/866a29b)
|
|
1027
1257
|
|
|
1028
1258
|
## 0.1.0
|
|
1029
1259
|
|
|
1030
|
-
-
|
|
1260
|
+
- [minor] Dev release of @atlaskit/radio
|
|
1261
|
+
[2b37611](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b37611)
|
|
1031
1262
|
|
|
1032
1263
|
## 0.0.3
|
|
1033
1264
|
|
|
1034
|
-
-
|
|
1265
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1266
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1035
1267
|
|
|
1036
1268
|
## 0.0.1
|
|
1037
1269
|
|
|
1038
|
-
-
|
|
1270
|
+
- [patch] Bump radio to include the new version of theme.
|
|
1271
|
+
[ea62d3d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea62d3d)
|