@atlaskit/radio 6.1.3 → 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 +637 -410
- package/dist/cjs/radio.js +1 -1
- package/dist/es2019/radio.js +1 -1
- package/dist/esm/radio.js +1 -1
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,1044 +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
|
+
|
|
3
11
|
## 6.1.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
|
-
-
|
|
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.
|
|
8
18
|
|
|
9
19
|
## 6.1.2
|
|
10
20
|
|
|
11
21
|
### Patch Changes
|
|
12
22
|
|
|
13
|
-
-
|
|
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`
|
|
14
26
|
|
|
15
27
|
## 6.1.1
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
-
|
|
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
|
|
20
34
|
|
|
21
35
|
## 6.1.0
|
|
22
36
|
|
|
23
37
|
### Minor Changes
|
|
24
38
|
|
|
25
|
-
-
|
|
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
|
|
26
43
|
|
|
27
44
|
### Patch Changes
|
|
28
45
|
|
|
29
|
-
-
|
|
46
|
+
- Updated dependencies
|
|
30
47
|
|
|
31
48
|
## 6.0.3
|
|
32
49
|
|
|
33
50
|
### Patch Changes
|
|
34
51
|
|
|
35
|
-
-
|
|
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.
|
|
36
56
|
|
|
37
57
|
## 6.0.2
|
|
38
58
|
|
|
39
59
|
### Patch Changes
|
|
40
60
|
|
|
41
|
-
-
|
|
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
|
|
42
64
|
|
|
43
65
|
## 6.0.1
|
|
44
66
|
|
|
45
67
|
### Patch Changes
|
|
46
68
|
|
|
47
|
-
-
|
|
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.
|
|
48
73
|
|
|
49
74
|
## 6.0.0
|
|
50
75
|
|
|
51
76
|
### Major Changes
|
|
52
77
|
|
|
53
|
-
-
|
|
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.
|
|
54
82
|
|
|
55
83
|
## 5.6.10
|
|
56
84
|
|
|
57
85
|
### Patch Changes
|
|
58
86
|
|
|
59
|
-
-
|
|
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.
|
|
60
90
|
|
|
61
91
|
## 5.6.9
|
|
62
92
|
|
|
63
93
|
### Patch Changes
|
|
64
94
|
|
|
65
|
-
-
|
|
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
|
|
66
98
|
|
|
67
99
|
## 5.6.8
|
|
68
100
|
|
|
69
101
|
### Patch Changes
|
|
70
102
|
|
|
71
|
-
-
|
|
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
|
|
72
106
|
|
|
73
107
|
## 5.6.7
|
|
74
108
|
|
|
75
109
|
### Patch Changes
|
|
76
110
|
|
|
77
|
-
-
|
|
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.
|
|
78
115
|
|
|
79
116
|
## 5.6.6
|
|
80
117
|
|
|
81
118
|
### Patch Changes
|
|
82
119
|
|
|
83
|
-
-
|
|
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
|
|
84
123
|
|
|
85
124
|
## 5.6.5
|
|
86
125
|
|
|
87
126
|
### Patch Changes
|
|
88
127
|
|
|
89
|
-
-
|
|
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.
|
|
90
131
|
|
|
91
132
|
## 5.6.4
|
|
92
133
|
|
|
93
134
|
### Patch Changes
|
|
94
135
|
|
|
95
|
-
-
|
|
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
|
|
96
139
|
|
|
97
140
|
## 5.6.3
|
|
98
141
|
|
|
99
142
|
### Patch Changes
|
|
100
143
|
|
|
101
|
-
-
|
|
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.
|
|
102
149
|
|
|
103
150
|
## 5.6.2
|
|
104
151
|
|
|
105
152
|
### Patch Changes
|
|
106
153
|
|
|
107
|
-
-
|
|
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.
|
|
108
158
|
|
|
109
159
|
## 5.6.1
|
|
110
160
|
|
|
111
161
|
### Patch Changes
|
|
112
162
|
|
|
113
|
-
-
|
|
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.
|
|
114
166
|
|
|
115
167
|
## 5.6.0
|
|
116
168
|
|
|
117
169
|
### Minor Changes
|
|
118
170
|
|
|
119
|
-
-
|
|
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
|
|
120
174
|
|
|
121
175
|
## 5.5.2
|
|
122
176
|
|
|
123
177
|
### Patch Changes
|
|
124
178
|
|
|
125
|
-
-
|
|
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
|
|
126
182
|
|
|
127
183
|
## 5.5.1
|
|
128
184
|
|
|
129
185
|
### Patch Changes
|
|
130
186
|
|
|
131
|
-
-
|
|
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`
|
|
132
190
|
|
|
133
191
|
## 5.5.0
|
|
134
192
|
|
|
135
193
|
### Minor Changes
|
|
136
194
|
|
|
137
|
-
-
|
|
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
|
|
138
198
|
|
|
139
199
|
### Patch Changes
|
|
140
200
|
|
|
141
|
-
-
|
|
201
|
+
- Updated dependencies
|
|
142
202
|
|
|
143
203
|
## 5.4.9
|
|
144
204
|
|
|
145
205
|
### Patch Changes
|
|
146
206
|
|
|
147
|
-
-
|
|
207
|
+
- Updated dependencies
|
|
148
208
|
|
|
149
209
|
## 5.4.8
|
|
150
210
|
|
|
151
211
|
### Patch Changes
|
|
152
212
|
|
|
153
|
-
-
|
|
213
|
+
- Updated dependencies
|
|
154
214
|
|
|
155
215
|
## 5.4.7
|
|
156
216
|
|
|
157
217
|
### Patch Changes
|
|
158
218
|
|
|
159
|
-
-
|
|
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.
|
|
160
222
|
|
|
161
223
|
## 5.4.6
|
|
162
224
|
|
|
163
225
|
### Patch Changes
|
|
164
226
|
|
|
165
|
-
-
|
|
166
|
-
|
|
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
|
|
167
233
|
|
|
168
234
|
## 5.4.5
|
|
169
235
|
|
|
170
236
|
### Patch Changes
|
|
171
237
|
|
|
172
|
-
-
|
|
238
|
+
- Updated dependencies
|
|
173
239
|
|
|
174
240
|
## 5.4.4
|
|
175
241
|
|
|
176
242
|
### Patch Changes
|
|
177
243
|
|
|
178
|
-
-
|
|
244
|
+
- Updated dependencies
|
|
179
245
|
|
|
180
246
|
## 5.4.3
|
|
181
247
|
|
|
182
248
|
### Patch Changes
|
|
183
249
|
|
|
184
|
-
-
|
|
250
|
+
- Updated dependencies
|
|
185
251
|
|
|
186
252
|
## 5.4.2
|
|
187
253
|
|
|
188
254
|
### Patch Changes
|
|
189
255
|
|
|
190
|
-
-
|
|
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.
|
|
191
259
|
|
|
192
260
|
## 5.4.1
|
|
193
261
|
|
|
194
262
|
### Patch Changes
|
|
195
263
|
|
|
196
|
-
-
|
|
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`
|
|
197
267
|
|
|
198
268
|
## 5.4.0
|
|
199
269
|
|
|
200
270
|
### Minor Changes
|
|
201
271
|
|
|
202
|
-
-
|
|
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.
|
|
203
275
|
|
|
204
276
|
### Patch Changes
|
|
205
277
|
|
|
206
|
-
-
|
|
278
|
+
- Updated dependencies
|
|
207
279
|
|
|
208
280
|
## 5.3.13
|
|
209
281
|
|
|
210
282
|
### Patch Changes
|
|
211
283
|
|
|
212
|
-
-
|
|
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`.
|
|
213
287
|
|
|
214
288
|
## 5.3.12
|
|
215
289
|
|
|
216
290
|
### Patch Changes
|
|
217
291
|
|
|
218
|
-
-
|
|
219
|
-
|
|
220
|
-
|
|
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
|
|
221
298
|
|
|
222
299
|
## 5.3.11
|
|
223
300
|
|
|
224
301
|
### Patch Changes
|
|
225
302
|
|
|
226
|
-
-
|
|
303
|
+
- Updated dependencies
|
|
227
304
|
|
|
228
305
|
## 5.3.10
|
|
229
306
|
|
|
230
307
|
### Patch Changes
|
|
231
308
|
|
|
232
|
-
-
|
|
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
|
|
233
312
|
|
|
234
313
|
## 5.3.9
|
|
235
314
|
|
|
236
315
|
### Patch Changes
|
|
237
316
|
|
|
238
|
-
-
|
|
317
|
+
- Updated dependencies
|
|
239
318
|
|
|
240
319
|
## 5.3.8
|
|
241
320
|
|
|
242
321
|
### Patch Changes
|
|
243
322
|
|
|
244
|
-
-
|
|
323
|
+
- Updated dependencies
|
|
245
324
|
|
|
246
325
|
## 5.3.7
|
|
247
326
|
|
|
248
327
|
### Patch Changes
|
|
249
328
|
|
|
250
|
-
-
|
|
329
|
+
- Updated dependencies
|
|
251
330
|
|
|
252
331
|
## 5.3.6
|
|
253
332
|
|
|
254
333
|
### Patch Changes
|
|
255
334
|
|
|
256
|
-
-
|
|
257
|
-
|
|
258
|
-
-
|
|
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
|
|
259
343
|
|
|
260
344
|
## 5.3.5
|
|
261
345
|
|
|
262
346
|
### Patch Changes
|
|
263
347
|
|
|
264
|
-
-
|
|
348
|
+
- Updated dependencies
|
|
265
349
|
|
|
266
350
|
## 5.3.4
|
|
267
351
|
|
|
268
352
|
### Patch Changes
|
|
269
353
|
|
|
270
|
-
-
|
|
271
|
-
-
|
|
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
|
|
272
359
|
|
|
273
360
|
## 5.3.3
|
|
274
361
|
|
|
275
362
|
### Patch Changes
|
|
276
363
|
|
|
277
|
-
-
|
|
364
|
+
- Updated dependencies
|
|
278
365
|
|
|
279
366
|
## 5.3.2
|
|
280
367
|
|
|
281
368
|
### Patch Changes
|
|
282
369
|
|
|
283
|
-
-
|
|
370
|
+
- Updated dependencies
|
|
284
371
|
|
|
285
372
|
## 5.3.1
|
|
286
373
|
|
|
287
374
|
### Patch Changes
|
|
288
375
|
|
|
289
|
-
-
|
|
376
|
+
- Updated dependencies
|
|
290
377
|
|
|
291
378
|
## 5.3.0
|
|
292
379
|
|
|
293
380
|
### Minor Changes
|
|
294
381
|
|
|
295
|
-
-
|
|
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`.
|
|
296
385
|
|
|
297
|
-
|
|
298
|
-
|
|
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.
|
|
299
389
|
|
|
300
390
|
### Patch Changes
|
|
301
391
|
|
|
302
|
-
-
|
|
303
|
-
|
|
304
|
-
-
|
|
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
|
|
305
397
|
|
|
306
398
|
## 5.2.1
|
|
307
399
|
|
|
308
400
|
### Patch Changes
|
|
309
401
|
|
|
310
|
-
-
|
|
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`.
|
|
311
405
|
|
|
312
406
|
## 5.2.0
|
|
313
407
|
|
|
314
408
|
### Minor Changes
|
|
315
409
|
|
|
316
|
-
-
|
|
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
|
|
317
413
|
|
|
318
414
|
## 5.1.1
|
|
319
415
|
|
|
320
416
|
### Patch Changes
|
|
321
417
|
|
|
322
|
-
-
|
|
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`
|
|
323
421
|
|
|
324
422
|
## 5.1.0
|
|
325
423
|
|
|
326
424
|
### Minor Changes
|
|
327
425
|
|
|
328
|
-
-
|
|
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
|
|
329
429
|
|
|
330
430
|
## 5.0.4
|
|
331
431
|
|
|
332
432
|
### Patch Changes
|
|
333
433
|
|
|
334
|
-
-
|
|
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.
|
|
335
437
|
|
|
336
438
|
## 5.0.3
|
|
337
439
|
|
|
338
440
|
### Patch Changes
|
|
339
441
|
|
|
340
|
-
-
|
|
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
|
|
341
445
|
|
|
342
446
|
## 5.0.2
|
|
343
447
|
|
|
344
448
|
### Patch Changes
|
|
345
449
|
|
|
346
|
-
-
|
|
347
|
-
|
|
348
|
-
|
|
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.
|
|
349
456
|
|
|
350
457
|
## 5.0.1
|
|
351
458
|
|
|
352
459
|
### Patch Changes
|
|
353
460
|
|
|
354
|
-
-
|
|
461
|
+
- Updated dependencies
|
|
355
462
|
|
|
356
463
|
## 5.0.0
|
|
357
464
|
|
|
358
465
|
### Major Changes
|
|
359
466
|
|
|
360
|
-
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
-
|
|
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
|
|
380
508
|
|
|
381
509
|
## 4.0.6
|
|
382
510
|
|
|
383
511
|
### Patch Changes
|
|
384
512
|
|
|
385
|
-
-
|
|
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
|
|
386
516
|
|
|
387
517
|
## 4.0.5
|
|
388
518
|
|
|
389
519
|
### Patch Changes
|
|
390
520
|
|
|
391
|
-
-
|
|
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
|
|
392
524
|
|
|
393
|
-
|
|
394
|
-
|
|
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.
|
|
395
527
|
|
|
396
528
|
## 4.0.4
|
|
397
529
|
|
|
398
530
|
### Patch Changes
|
|
399
531
|
|
|
400
|
-
-
|
|
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
|
|
401
535
|
|
|
402
536
|
## 4.0.3
|
|
403
537
|
|
|
404
538
|
### Patch Changes
|
|
405
539
|
|
|
406
|
-
-
|
|
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
|
|
407
543
|
|
|
408
544
|
## 4.0.2
|
|
409
545
|
|
|
410
546
|
### Patch Changes
|
|
411
547
|
|
|
412
|
-
-
|
|
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.
|
|
413
551
|
|
|
414
552
|
## 4.0.1
|
|
415
553
|
|
|
416
554
|
### Patch Changes
|
|
417
555
|
|
|
418
|
-
-
|
|
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
|
|
419
559
|
|
|
420
560
|
## 4.0.0
|
|
421
561
|
|
|
422
562
|
### Major Changes
|
|
423
563
|
|
|
424
|
-
-
|
|
425
|
-
|
|
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
|
|
426
569
|
|
|
427
570
|
### Patch Changes
|
|
428
571
|
|
|
429
|
-
-
|
|
572
|
+
- Updated dependencies
|
|
430
573
|
|
|
431
574
|
## 3.2.3
|
|
432
575
|
|
|
433
576
|
### Patch Changes
|
|
434
577
|
|
|
435
|
-
-
|
|
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
|
|
436
581
|
|
|
437
582
|
## 3.2.2
|
|
438
583
|
|
|
439
584
|
### Patch Changes
|
|
440
585
|
|
|
441
|
-
-
|
|
586
|
+
- Updated dependencies
|
|
442
587
|
|
|
443
588
|
## 3.2.1
|
|
444
589
|
|
|
445
590
|
### Patch Changes
|
|
446
591
|
|
|
447
|
-
-
|
|
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
|
|
448
595
|
|
|
449
596
|
## 3.2.0
|
|
450
597
|
|
|
451
598
|
### Minor Changes
|
|
452
599
|
|
|
453
|
-
-
|
|
600
|
+
- [minor][f0af33ead6](https://bitbucket.org/atlassian/atlassian-frontend/commits/f0af33ead6):
|
|
454
601
|
|
|
455
|
-
|
|
602
|
+
Add name prop to RadioGroup
|
|
456
603
|
|
|
457
604
|
### Patch Changes
|
|
458
605
|
|
|
459
|
-
-
|
|
460
|
-
|
|
461
|
-
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
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
|
|
465
615
|
|
|
466
616
|
## 3.1.11
|
|
467
617
|
|
|
468
618
|
### Patch Changes
|
|
469
619
|
|
|
470
|
-
-
|
|
471
|
-
|
|
472
|
-
-
|
|
473
|
-
|
|
474
|
-
-
|
|
475
|
-
|
|
476
|
-
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
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
|
|
484
642
|
|
|
485
643
|
## 3.1.10
|
|
486
644
|
|
|
487
645
|
### Patch Changes
|
|
488
646
|
|
|
489
|
-
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
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
|
|
494
653
|
|
|
495
654
|
## 3.1.9
|
|
496
655
|
|
|
497
656
|
### Patch Changes
|
|
498
657
|
|
|
499
|
-
-
|
|
658
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
500
659
|
|
|
501
|
-
|
|
660
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
661
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
502
662
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
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
|
|
511
671
|
|
|
512
672
|
## 3.1.8
|
|
513
673
|
|
|
514
674
|
### Patch Changes
|
|
515
675
|
|
|
516
|
-
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
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
|
|
522
683
|
|
|
523
684
|
## 3.1.7
|
|
524
685
|
|
|
525
686
|
### Patch Changes
|
|
526
687
|
|
|
527
|
-
-
|
|
688
|
+
- [patch][e20d7996ca](https://bitbucket.org/atlassian/atlassian-frontend/commits/e20d7996ca):
|
|
528
689
|
|
|
529
|
-
|
|
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):
|
|
530
693
|
|
|
531
|
-
-
|
|
532
|
-
|
|
694
|
+
- Updated dependencies
|
|
695
|
+
[d93de8e56e](https://bitbucket.org/atlassian/atlassian-frontend/commits/d93de8e56e):
|
|
696
|
+
- @atlaskit/form@7.0.1
|
|
533
697
|
|
|
534
698
|
## 3.1.6
|
|
535
699
|
|
|
536
700
|
### Patch Changes
|
|
537
701
|
|
|
538
|
-
-
|
|
702
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
539
703
|
|
|
540
|
-
|
|
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):
|
|
541
707
|
|
|
542
|
-
-
|
|
543
|
-
|
|
544
|
-
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
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
|
|
549
718
|
|
|
550
719
|
## 3.1.5
|
|
551
720
|
|
|
552
721
|
### Patch Changes
|
|
553
722
|
|
|
554
|
-
-
|
|
723
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
555
724
|
|
|
556
|
-
|
|
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):
|
|
557
728
|
|
|
558
|
-
-
|
|
559
|
-
|
|
560
|
-
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
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
|
|
565
740
|
|
|
566
741
|
## 3.1.4
|
|
567
742
|
|
|
568
743
|
### Patch Changes
|
|
569
744
|
|
|
570
|
-
-
|
|
745
|
+
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
|
|
571
746
|
|
|
572
|
-
|
|
747
|
+
Theme has been converted to Typescript. Typescript consumers will now get static type safety.
|
|
748
|
+
Flow types are no longer provided.
|
|
573
749
|
|
|
574
|
-
|
|
750
|
+
### Breaking
|
|
575
751
|
|
|
576
|
-
|
|
577
|
-
|
|
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:
|
|
578
755
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
756
|
+
```javascript
|
|
757
|
+
<CustomTheme.Provider
|
|
758
|
+
value={t => ({ ...t(), backgroundColor: '#333'})}
|
|
759
|
+
>
|
|
760
|
+
```
|
|
584
761
|
|
|
585
|
-
|
|
762
|
+
becomes:
|
|
586
763
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
764
|
+
```javascript
|
|
765
|
+
<CustomTheme.Provider
|
|
766
|
+
value={t => ({ ...t({}), backgroundColor: '#333'})}
|
|
767
|
+
>
|
|
768
|
+
```
|
|
592
769
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
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:
|
|
596
772
|
|
|
597
|
-
|
|
598
|
-
|
|
773
|
+
```javascript
|
|
774
|
+
import { colors } from '@atlaskit/theme';
|
|
599
775
|
|
|
600
|
-
|
|
601
|
-
|
|
776
|
+
colors.colorPalette('8');
|
|
777
|
+
```
|
|
602
778
|
|
|
603
|
-
|
|
779
|
+
to this:
|
|
604
780
|
|
|
605
|
-
|
|
606
|
-
|
|
781
|
+
```javascript
|
|
782
|
+
import { colorPalette } from '@atlaskit/theme';
|
|
607
783
|
|
|
608
|
-
|
|
609
|
-
|
|
784
|
+
colorPalette.colorPalette('8');
|
|
785
|
+
```
|
|
610
786
|
|
|
611
|
-
|
|
787
|
+
or for multi entry-point users:
|
|
612
788
|
|
|
613
|
-
|
|
614
|
-
|
|
789
|
+
```javascript
|
|
790
|
+
import * as colors from '@atlaskit/theme/colors';
|
|
615
791
|
|
|
616
|
-
|
|
617
|
-
|
|
792
|
+
colors.colorPalette('8');
|
|
793
|
+
```
|
|
618
794
|
|
|
619
|
-
|
|
795
|
+
to this:
|
|
620
796
|
|
|
621
|
-
|
|
622
|
-
|
|
797
|
+
```javascript
|
|
798
|
+
import * as colorPalettes from '@atlaskit/theme/color-palette';
|
|
623
799
|
|
|
624
|
-
|
|
625
|
-
|
|
800
|
+
colorPalettes.colorPalette('8');
|
|
801
|
+
```
|
|
626
802
|
|
|
627
803
|
## 3.1.3
|
|
628
804
|
|
|
629
805
|
### Patch Changes
|
|
630
806
|
|
|
631
|
-
-
|
|
807
|
+
- [patch][70e57645f2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70e57645f2):
|
|
632
808
|
|
|
633
|
-
|
|
809
|
+
Updates controlled example to show better pattern for state duplication between RadioGroup and
|
|
810
|
+
Form
|
|
634
811
|
|
|
635
812
|
## 3.1.2
|
|
636
813
|
|
|
637
814
|
### Patch Changes
|
|
638
815
|
|
|
639
|
-
-
|
|
816
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
640
817
|
|
|
641
|
-
|
|
818
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
642
819
|
|
|
643
820
|
## 3.1.1
|
|
644
821
|
|
|
645
822
|
### Patch Changes
|
|
646
823
|
|
|
647
|
-
-
|
|
824
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
648
825
|
|
|
649
|
-
|
|
826
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
650
827
|
|
|
651
828
|
## 3.1.0
|
|
652
829
|
|
|
653
830
|
### Minor Changes
|
|
654
831
|
|
|
655
|
-
-
|
|
832
|
+
- [minor][ff521a0e20](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ff521a0e20):
|
|
656
833
|
|
|
657
|
-
|
|
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.
|
|
658
836
|
|
|
659
837
|
## 3.0.18
|
|
660
838
|
|
|
661
|
-
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
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
|
|
666
845
|
|
|
667
846
|
## 3.0.17
|
|
668
847
|
|
|
669
848
|
### Patch Changes
|
|
670
849
|
|
|
671
|
-
-
|
|
850
|
+
- [patch][7dc767eabb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7dc767eabb):
|
|
672
851
|
|
|
673
|
-
|
|
852
|
+
onChange is now marked as an optional prop
|
|
674
853
|
|
|
675
854
|
## 3.0.16
|
|
676
855
|
|
|
677
856
|
### Patch Changes
|
|
678
857
|
|
|
679
|
-
-
|
|
858
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
680
859
|
|
|
681
|
-
|
|
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
|
|
682
862
|
|
|
683
863
|
## 3.0.15
|
|
684
864
|
|
|
685
865
|
### Patch Changes
|
|
686
866
|
|
|
687
|
-
-
|
|
867
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
688
868
|
|
|
689
|
-
|
|
869
|
+
Upgraded Typescript to 3.3.x
|
|
690
870
|
|
|
691
871
|
## 3.0.14
|
|
692
872
|
|
|
693
873
|
### Patch Changes
|
|
694
874
|
|
|
695
|
-
-
|
|
875
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
696
876
|
|
|
697
|
-
|
|
877
|
+
Change all the imports to theme in Core to use multi entry points
|
|
698
878
|
|
|
699
879
|
## 3.0.13
|
|
700
880
|
|
|
701
881
|
### Patch Changes
|
|
702
882
|
|
|
703
|
-
-
|
|
883
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
704
884
|
|
|
705
|
-
|
|
885
|
+
Updates component maintainers
|
|
706
886
|
|
|
707
887
|
## 3.0.12
|
|
708
888
|
|
|
709
889
|
### Patch Changes
|
|
710
890
|
|
|
711
|
-
-
|
|
891
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
712
892
|
|
|
713
|
-
|
|
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.
|
|
714
895
|
|
|
715
|
-
|
|
896
|
+
**Breaking changes**
|
|
716
897
|
|
|
717
|
-
|
|
718
|
-
|
|
898
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
899
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
719
900
|
|
|
720
|
-
|
|
901
|
+
**Breaking changes to TypeScript annotations**
|
|
721
902
|
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
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
|
|
733
919
|
|
|
734
920
|
## 3.0.11
|
|
735
921
|
|
|
736
922
|
### Patch Changes
|
|
737
923
|
|
|
738
|
-
-
|
|
924
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
739
925
|
|
|
740
|
-
|
|
926
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
741
927
|
|
|
742
928
|
## 3.0.10
|
|
743
929
|
|
|
744
930
|
### Patch Changes
|
|
745
931
|
|
|
746
|
-
-
|
|
932
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
747
933
|
|
|
748
|
-
|
|
934
|
+
Fixes bug, missing version.json file
|
|
749
935
|
|
|
750
936
|
## 3.0.9
|
|
751
937
|
|
|
752
938
|
### Patch Changes
|
|
753
939
|
|
|
754
|
-
-
|
|
940
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
755
941
|
|
|
756
|
-
|
|
942
|
+
In this PR, we are:
|
|
757
943
|
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
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
|
|
764
952
|
|
|
765
953
|
## 3.0.8
|
|
766
954
|
|
|
767
955
|
### Patch Changes
|
|
768
956
|
|
|
769
|
-
-
|
|
957
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
770
958
|
|
|
771
|
-
|
|
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.
|
|
772
962
|
|
|
773
|
-
|
|
963
|
+
Before:
|
|
774
964
|
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
965
|
+
```typescript
|
|
966
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
967
|
+
```
|
|
778
968
|
|
|
779
|
-
|
|
969
|
+
After:
|
|
780
970
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
971
|
+
```typescript
|
|
972
|
+
withAnalyticsEvents<Props>()(Button);
|
|
973
|
+
```
|
|
784
974
|
|
|
785
975
|
## 3.0.7
|
|
786
976
|
|
|
787
|
-
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
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
|
|
791
982
|
|
|
792
983
|
## 3.0.6
|
|
793
984
|
|
|
794
|
-
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
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
|
|
800
992
|
|
|
801
993
|
## 3.0.5
|
|
802
994
|
|
|
803
995
|
### Patch Changes
|
|
804
996
|
|
|
805
|
-
-
|
|
997
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
806
998
|
|
|
807
|
-
|
|
999
|
+
index.ts will now be ignored when publishing to npm
|
|
808
1000
|
|
|
809
1001
|
## 3.0.4
|
|
810
1002
|
|
|
811
1003
|
### Patch Changes
|
|
812
1004
|
|
|
813
|
-
-
|
|
1005
|
+
- [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6):
|
|
814
1006
|
|
|
815
|
-
|
|
1007
|
+
Added missing tslib dep
|
|
816
1008
|
|
|
817
1009
|
## 3.0.3
|
|
818
1010
|
|
|
819
|
-
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
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
|
|
825
1018
|
|
|
826
1019
|
## 3.0.2
|
|
827
1020
|
|
|
828
|
-
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
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
|
|
834
1028
|
|
|
835
1029
|
## 3.0.1
|
|
836
1030
|
|
|
837
|
-
-
|
|
1031
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
838
1032
|
|
|
839
|
-
|
|
1033
|
+
- This is just a safety release in case anything strange happened in in the previous one. See
|
|
1034
|
+
Pull Request #5942 for details
|
|
840
1035
|
|
|
841
1036
|
## 3.0.0
|
|
842
1037
|
|
|
843
|
-
-
|
|
1038
|
+
- [major][1da5351f72](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1da5351f72):
|
|
844
1039
|
|
|
845
|
-
|
|
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.
|
|
846
1042
|
|
|
847
1043
|
## 2.0.0
|
|
848
1044
|
|
|
849
|
-
-
|
|
1045
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
850
1046
|
|
|
851
|
-
|
|
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.
|
|
852
1049
|
|
|
853
1050
|
## 1.0.0
|
|
854
1051
|
|
|
855
|
-
-
|
|
1052
|
+
- [major][6c4e41ff36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6c4e41ff36):
|
|
856
1053
|
|
|
857
|
-
|
|
1054
|
+
- This major release indicates that this package is no longer under dev preview but is ready
|
|
1055
|
+
for use
|
|
858
1056
|
|
|
859
1057
|
## 0.5.3
|
|
860
1058
|
|
|
861
|
-
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
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
|
|
869
1068
|
|
|
870
1069
|
## 0.5.2
|
|
871
1070
|
|
|
872
|
-
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
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
|
|
881
1081
|
|
|
882
1082
|
## 0.5.1
|
|
883
1083
|
|
|
884
|
-
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
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
|
|
893
1094
|
|
|
894
1095
|
## 0.5.0
|
|
895
1096
|
|
|
896
|
-
-
|
|
1097
|
+
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
897
1098
|
|
|
898
|
-
|
|
1099
|
+
- Drop ES5 from all the flow modules
|
|
899
1100
|
|
|
900
|
-
|
|
1101
|
+
### Dropping CJS support in all @atlaskit packages
|
|
901
1102
|
|
|
902
|
-
|
|
903
|
-
|
|
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.
|
|
904
1106
|
|
|
905
|
-
|
|
1107
|
+
The major reason for doing this is to allow us to support multiple entry points in packages,
|
|
1108
|
+
e.g:
|
|
906
1109
|
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
1110
|
+
```js
|
|
1111
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1112
|
+
```
|
|
910
1113
|
|
|
911
|
-
|
|
1114
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
912
1115
|
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
1116
|
+
```js
|
|
1117
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1118
|
+
```
|
|
916
1119
|
|
|
917
|
-
|
|
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.
|
|
918
1125
|
|
|
919
|
-
|
|
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.
|
|
920
1129
|
|
|
921
|
-
|
|
1130
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1131
|
+
environments.
|
|
922
1132
|
|
|
923
|
-
|
|
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.
|
|
924
1136
|
|
|
925
|
-
|
|
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.
|
|
926
1140
|
|
|
927
1141
|
## 0.4.7
|
|
928
1142
|
|
|
929
|
-
-
|
|
1143
|
+
- [patch][942e0aec04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/942e0aec04):
|
|
930
1144
|
|
|
931
|
-
|
|
1145
|
+
- Added test to make sure props are passed hidden input
|
|
932
1146
|
|
|
933
1147
|
## 0.4.6
|
|
934
1148
|
|
|
935
|
-
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
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
|
|
942
1157
|
|
|
943
1158
|
## 0.4.5
|
|
944
1159
|
|
|
945
|
-
-
|
|
1160
|
+
- [patch][a048a85](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a048a85):
|
|
946
1161
|
|
|
947
|
-
|
|
1162
|
+
- Updated to be compatible with new Forms API
|
|
948
1163
|
|
|
949
|
-
-
|
|
950
|
-
|
|
1164
|
+
- Updated dependencies [647a46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/647a46f):
|
|
1165
|
+
- @atlaskit/form@5.0.0
|
|
951
1166
|
|
|
952
1167
|
## 0.4.4
|
|
953
1168
|
|
|
954
|
-
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
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
|
|
963
1178
|
|
|
964
1179
|
## 0.4.3
|
|
965
1180
|
|
|
966
|
-
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
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
|
|
974
1189
|
|
|
975
1190
|
## 0.4.2
|
|
976
1191
|
|
|
977
|
-
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
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
|
|
984
1199
|
|
|
985
1200
|
## 0.4.1
|
|
986
1201
|
|
|
987
|
-
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
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
|
|
995
1210
|
|
|
996
1211
|
## 0.4.0
|
|
997
1212
|
|
|
998
|
-
-
|
|
1213
|
+
- [minor][b42680b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b42680b):
|
|
999
1214
|
|
|
1000
|
-
|
|
1215
|
+
- Add isDisabled prop to RadioGroup, once set will set the isDisabled value for all Radio
|
|
1216
|
+
elements within the group
|
|
1001
1217
|
|
|
1002
1218
|
## 0.3.0
|
|
1003
1219
|
|
|
1004
|
-
-
|
|
1220
|
+
- [minor][8199088](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8199088):
|
|
1005
1221
|
|
|
1006
|
-
|
|
1222
|
+
- BREAKING: defaultCheckedValue and checkedValue props in the RadioGroup component now changed
|
|
1223
|
+
to defaultValue and value respectively
|
|
1007
1224
|
|
|
1008
1225
|
## 0.2.4
|
|
1009
1226
|
|
|
1010
|
-
-
|
|
1227
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1228
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1011
1229
|
|
|
1012
1230
|
## 0.2.3
|
|
1013
1231
|
|
|
1014
|
-
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
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
|
|
1021
1240
|
|
|
1022
1241
|
## 0.2.2
|
|
1023
1242
|
|
|
1024
|
-
-
|
|
1243
|
+
- [patch] Fixing analytics events for checkbox/radio/select
|
|
1244
|
+
[3e428e3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e428e3)
|
|
1025
1245
|
|
|
1026
1246
|
## 0.2.1
|
|
1027
1247
|
|
|
1028
|
-
-
|
|
1248
|
+
- [patch] Fixed radio indent styling
|
|
1249
|
+
[88520b2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/88520b2)
|
|
1029
1250
|
|
|
1030
1251
|
## 0.2.0
|
|
1031
1252
|
|
|
1032
|
-
-
|
|
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)
|
|
1033
1257
|
|
|
1034
1258
|
## 0.1.0
|
|
1035
1259
|
|
|
1036
|
-
-
|
|
1260
|
+
- [minor] Dev release of @atlaskit/radio
|
|
1261
|
+
[2b37611](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b37611)
|
|
1037
1262
|
|
|
1038
1263
|
## 0.0.3
|
|
1039
1264
|
|
|
1040
|
-
-
|
|
1265
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1266
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1041
1267
|
|
|
1042
1268
|
## 0.0.1
|
|
1043
1269
|
|
|
1044
|
-
-
|
|
1270
|
+
- [patch] Bump radio to include the new version of theme.
|
|
1271
|
+
[ea62d3d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea62d3d)
|