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