@atlaskit/tabs 16.0.0 → 16.1.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 +834 -558
- package/dist/cjs/components/tabs.js +1 -1
- package/dist/es2019/components/tabs.js +1 -1
- package/dist/esm/components/tabs.js +1 -1
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,1282 +1,1558 @@
|
|
|
1
1
|
# @atlaskit/tabs
|
|
2
2
|
|
|
3
|
+
## 16.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#96791](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96791)
|
|
8
|
+
[`d85b0f65d608`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d85b0f65d608) -
|
|
9
|
+
Add support for React 18.
|
|
10
|
+
|
|
3
11
|
## 16.0.0
|
|
4
12
|
|
|
5
13
|
### Major Changes
|
|
6
14
|
|
|
7
|
-
-
|
|
15
|
+
- [#92009](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92009)
|
|
16
|
+
[`ef3d43779d3a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ef3d43779d3a) -
|
|
17
|
+
Removed `onMouseDown` prop from `Tab` and `TabPanel`.
|
|
8
18
|
|
|
9
19
|
## 15.0.0
|
|
10
20
|
|
|
11
21
|
### Major Changes
|
|
12
22
|
|
|
13
|
-
-
|
|
14
|
-
|
|
23
|
+
- [#91586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91586)
|
|
24
|
+
[`e229d87eecd0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e229d87eecd0) - -
|
|
25
|
+
[ux] Removed horizontal padding from Tab container to ensure Tab labels and panel content align
|
|
26
|
+
with other elements on the page. Tab label hit-boxes remain the same.
|
|
27
|
+
- Adjusted line height and overall Tab label height to be consistent with the Atlassian Design
|
|
28
|
+
System.
|
|
15
29
|
|
|
16
30
|
## 14.1.0
|
|
17
31
|
|
|
18
32
|
### Minor Changes
|
|
19
33
|
|
|
20
|
-
-
|
|
34
|
+
- [#90584](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90584)
|
|
35
|
+
[`fccb64237f6c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fccb64237f6c) -
|
|
36
|
+
[ux] Internal changes to focus styles
|
|
21
37
|
|
|
22
38
|
## 14.0.5
|
|
23
39
|
|
|
24
40
|
### Patch Changes
|
|
25
41
|
|
|
26
|
-
-
|
|
42
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
43
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
44
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
27
45
|
|
|
28
46
|
## 14.0.4
|
|
29
47
|
|
|
30
48
|
### Patch Changes
|
|
31
49
|
|
|
32
|
-
-
|
|
50
|
+
- Updated dependencies
|
|
33
51
|
|
|
34
52
|
## 14.0.3
|
|
35
53
|
|
|
36
54
|
### Patch Changes
|
|
37
55
|
|
|
38
|
-
-
|
|
56
|
+
- Updated dependencies
|
|
39
57
|
|
|
40
58
|
## 14.0.2
|
|
41
59
|
|
|
42
60
|
### Patch Changes
|
|
43
61
|
|
|
44
|
-
-
|
|
62
|
+
- Updated dependencies
|
|
45
63
|
|
|
46
64
|
## 14.0.1
|
|
47
65
|
|
|
48
66
|
### Patch Changes
|
|
49
67
|
|
|
50
|
-
-
|
|
68
|
+
- Updated dependencies
|
|
51
69
|
|
|
52
70
|
## 14.0.0
|
|
53
71
|
|
|
54
72
|
### Major Changes
|
|
55
73
|
|
|
56
|
-
-
|
|
74
|
+
- [#41866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41866)
|
|
75
|
+
[`ed8b6957789`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed8b6957789) -
|
|
76
|
+
Removes any usage of deprecated legacy theming APIs. These have been superseeded by design
|
|
77
|
+
tokens.
|
|
57
78
|
|
|
58
79
|
## 13.4.9
|
|
59
80
|
|
|
60
81
|
### Patch Changes
|
|
61
82
|
|
|
62
|
-
-
|
|
83
|
+
- [#40650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40650)
|
|
84
|
+
[`07aa588c8a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07aa588c8a4) -
|
|
85
|
+
Reverts the fix to text descender cut-off, due to incompatibilities with Firefox and Safari.
|
|
63
86
|
|
|
64
87
|
## 13.4.8
|
|
65
88
|
|
|
66
89
|
### Patch Changes
|
|
67
90
|
|
|
68
|
-
-
|
|
91
|
+
- Updated dependencies
|
|
69
92
|
|
|
70
93
|
## 13.4.7
|
|
71
94
|
|
|
72
95
|
### Patch Changes
|
|
73
96
|
|
|
74
|
-
-
|
|
97
|
+
- [#40919](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40919)
|
|
98
|
+
[`0cd2364f0ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0cd2364f0ec) - This
|
|
99
|
+
package is now onboarded onto the product push model.
|
|
75
100
|
|
|
76
101
|
## 13.4.6
|
|
77
102
|
|
|
78
103
|
### Patch Changes
|
|
79
104
|
|
|
80
|
-
-
|
|
105
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
|
|
106
|
+
[`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) -
|
|
107
|
+
Connect yarn changeset to packages, upgrade adf-schema
|
|
81
108
|
|
|
82
109
|
## 13.4.5
|
|
83
110
|
|
|
84
111
|
### Patch Changes
|
|
85
112
|
|
|
86
|
-
-
|
|
87
|
-
-
|
|
113
|
+
- [#38753](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38753)
|
|
114
|
+
[`e7f99a81404`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7f99a81404) - Update
|
|
115
|
+
to use `xcss` where possible. There should be no difference in behaviour.
|
|
116
|
+
- Updated dependencies
|
|
88
117
|
|
|
89
118
|
## 13.4.4
|
|
90
119
|
|
|
91
120
|
### Patch Changes
|
|
92
121
|
|
|
93
|
-
-
|
|
122
|
+
- [#38209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38209)
|
|
123
|
+
[`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a
|
|
124
|
+
bug where text descenders were cut off at high zoom levels on Windows
|
|
94
125
|
|
|
95
126
|
## 13.4.3
|
|
96
127
|
|
|
97
128
|
### Patch Changes
|
|
98
129
|
|
|
99
|
-
-
|
|
130
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
131
|
+
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) -
|
|
132
|
+
Internal change to use shape tokens. There is no expected visual change.
|
|
100
133
|
|
|
101
134
|
## 13.4.2
|
|
102
135
|
|
|
103
136
|
### Patch Changes
|
|
104
137
|
|
|
105
|
-
-
|
|
138
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
139
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
140
|
+
legacy types are published for TS 4.5-4.8
|
|
106
141
|
|
|
107
142
|
## 13.4.1
|
|
108
143
|
|
|
109
144
|
### Patch Changes
|
|
110
145
|
|
|
111
|
-
-
|
|
146
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
147
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
148
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
112
149
|
|
|
113
150
|
## 13.4.0
|
|
114
151
|
|
|
115
152
|
### Minor Changes
|
|
116
153
|
|
|
117
|
-
-
|
|
154
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
155
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
156
|
+
minor dependency bump
|
|
118
157
|
|
|
119
158
|
### Patch Changes
|
|
120
159
|
|
|
121
|
-
-
|
|
160
|
+
- Updated dependencies
|
|
122
161
|
|
|
123
162
|
## 13.3.13
|
|
124
163
|
|
|
125
164
|
### Patch Changes
|
|
126
165
|
|
|
127
|
-
-
|
|
166
|
+
- [#30849](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30849)
|
|
167
|
+
[`7156bd737b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7156bd737b4) -
|
|
168
|
+
Internal changes to some tokens. Should be a no-op.
|
|
128
169
|
|
|
129
170
|
## 13.3.12
|
|
130
171
|
|
|
131
172
|
### Patch Changes
|
|
132
173
|
|
|
133
|
-
-
|
|
174
|
+
- Updated dependencies
|
|
134
175
|
|
|
135
176
|
## 13.3.11
|
|
136
177
|
|
|
137
178
|
### Patch Changes
|
|
138
179
|
|
|
139
|
-
-
|
|
180
|
+
- Updated dependencies
|
|
140
181
|
|
|
141
182
|
## 13.3.10
|
|
142
183
|
|
|
143
184
|
### Patch Changes
|
|
144
185
|
|
|
145
|
-
-
|
|
146
|
-
-
|
|
186
|
+
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
|
|
187
|
+
[`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) -
|
|
188
|
+
Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs.
|
|
189
|
+
There are no visual or behaviour changes.
|
|
190
|
+
- Updated dependencies
|
|
147
191
|
|
|
148
192
|
## 13.3.9
|
|
149
193
|
|
|
150
194
|
### Patch Changes
|
|
151
195
|
|
|
152
|
-
-
|
|
196
|
+
- [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064)
|
|
197
|
+
[`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) -
|
|
198
|
+
Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
153
199
|
|
|
154
200
|
## 13.3.8
|
|
155
201
|
|
|
156
202
|
### Patch Changes
|
|
157
203
|
|
|
158
|
-
-
|
|
204
|
+
- Updated dependencies
|
|
159
205
|
|
|
160
206
|
## 13.3.7
|
|
161
207
|
|
|
162
208
|
### Patch Changes
|
|
163
209
|
|
|
164
|
-
-
|
|
210
|
+
- Updated dependencies
|
|
165
211
|
|
|
166
212
|
## 13.3.6
|
|
167
213
|
|
|
168
214
|
### Patch Changes
|
|
169
215
|
|
|
170
|
-
-
|
|
216
|
+
- Updated dependencies
|
|
171
217
|
|
|
172
218
|
## 13.3.5
|
|
173
219
|
|
|
174
220
|
### Patch Changes
|
|
175
221
|
|
|
176
|
-
-
|
|
222
|
+
- [#25984](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25984)
|
|
223
|
+
[`0637c50e226`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0637c50e226) -
|
|
224
|
+
Updated Tabs compnent to prefer to use focus-visible over focus css selectors.
|
|
177
225
|
|
|
178
226
|
## 13.3.4
|
|
179
227
|
|
|
180
228
|
### Patch Changes
|
|
181
229
|
|
|
182
|
-
-
|
|
183
|
-
-
|
|
230
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
|
|
231
|
+
[`e35fc41dc33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e35fc41dc33) -
|
|
232
|
+
Internal change to use updated primtive spacing prop values. No expected behaviour change.
|
|
233
|
+
- Updated dependencies
|
|
184
234
|
|
|
185
235
|
## 13.3.3
|
|
186
236
|
|
|
187
237
|
### Patch Changes
|
|
188
238
|
|
|
189
|
-
-
|
|
239
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
240
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
241
|
+
change to introduce spacing tokens to design system components.
|
|
190
242
|
|
|
191
243
|
## 13.3.2
|
|
192
244
|
|
|
193
245
|
### Patch Changes
|
|
194
246
|
|
|
195
|
-
-
|
|
247
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
248
|
+
[`0d42cd1c926`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d42cd1c926) -
|
|
249
|
+
Internal changes to the way styles are applied. There should be no noticeable changes to
|
|
250
|
+
consumers.
|
|
196
251
|
|
|
197
252
|
## 13.3.1
|
|
198
253
|
|
|
199
254
|
### Patch Changes
|
|
200
255
|
|
|
201
|
-
-
|
|
256
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
257
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
258
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
202
259
|
|
|
203
260
|
## 13.3.0
|
|
204
261
|
|
|
205
262
|
### Minor Changes
|
|
206
263
|
|
|
207
|
-
-
|
|
264
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
265
|
+
[`7ec1c1a023f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ec1c1a023f) -
|
|
266
|
+
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
208
267
|
|
|
209
268
|
### Patch Changes
|
|
210
269
|
|
|
211
|
-
-
|
|
270
|
+
- Updated dependencies
|
|
212
271
|
|
|
213
272
|
## 13.2.13
|
|
214
273
|
|
|
215
274
|
### Patch Changes
|
|
216
275
|
|
|
217
|
-
-
|
|
276
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
277
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
278
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
218
279
|
|
|
219
280
|
## 13.2.12
|
|
220
281
|
|
|
221
282
|
### Patch Changes
|
|
222
283
|
|
|
223
|
-
-
|
|
284
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
285
|
+
[`f0056770cce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f0056770cce) -
|
|
286
|
+
Internal code change turning on new linting rules.
|
|
224
287
|
|
|
225
288
|
## 13.2.11
|
|
226
289
|
|
|
227
290
|
### Patch Changes
|
|
228
291
|
|
|
229
|
-
-
|
|
292
|
+
- Updated dependencies
|
|
230
293
|
|
|
231
294
|
## 13.2.10
|
|
232
295
|
|
|
233
296
|
### Patch Changes
|
|
234
297
|
|
|
235
|
-
-
|
|
298
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
299
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
300
|
+
Upgrade to TypeScript 4.2.4
|
|
236
301
|
|
|
237
302
|
## 13.2.9
|
|
238
303
|
|
|
239
304
|
### Patch Changes
|
|
240
305
|
|
|
241
|
-
-
|
|
306
|
+
- Updated dependencies
|
|
242
307
|
|
|
243
308
|
## 13.2.8
|
|
244
309
|
|
|
245
310
|
### Patch Changes
|
|
246
311
|
|
|
247
|
-
-
|
|
248
|
-
-
|
|
312
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
|
|
313
|
+
[`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) -
|
|
314
|
+
Migrates all usage of brand tokens to either selected or information tokens. This change is
|
|
315
|
+
purely for semantic reasons, there are no visual or behavioural changes.
|
|
316
|
+
- Updated dependencies
|
|
249
317
|
|
|
250
318
|
## 13.2.7
|
|
251
319
|
|
|
252
320
|
### Patch Changes
|
|
253
321
|
|
|
254
|
-
-
|
|
322
|
+
- Updated dependencies
|
|
255
323
|
|
|
256
324
|
## 13.2.6
|
|
257
325
|
|
|
258
326
|
### Patch Changes
|
|
259
327
|
|
|
260
|
-
-
|
|
261
|
-
-
|
|
328
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
329
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
330
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
331
|
+
auto-fixing by correctly formatting token ids.
|
|
332
|
+
- Updated dependencies
|
|
262
333
|
|
|
263
334
|
## 13.2.5
|
|
264
335
|
|
|
265
336
|
### Patch Changes
|
|
266
337
|
|
|
267
|
-
-
|
|
338
|
+
- Updated dependencies
|
|
268
339
|
|
|
269
340
|
## 13.2.4
|
|
270
341
|
|
|
271
342
|
### Patch Changes
|
|
272
343
|
|
|
273
|
-
-
|
|
274
|
-
-
|
|
344
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
345
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
346
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
347
|
+
tokens() function and improving bundle size.
|
|
348
|
+
- Updated dependencies
|
|
275
349
|
|
|
276
350
|
## 13.2.3
|
|
277
351
|
|
|
278
352
|
### Patch Changes
|
|
279
353
|
|
|
280
|
-
-
|
|
354
|
+
- Updated dependencies
|
|
281
355
|
|
|
282
356
|
## 13.2.2
|
|
283
357
|
|
|
284
358
|
### Patch Changes
|
|
285
359
|
|
|
286
|
-
-
|
|
360
|
+
- Updated dependencies
|
|
287
361
|
|
|
288
362
|
## 13.2.1
|
|
289
363
|
|
|
290
364
|
### Patch Changes
|
|
291
365
|
|
|
292
|
-
-
|
|
366
|
+
- Updated dependencies
|
|
293
367
|
|
|
294
368
|
## 13.2.0
|
|
295
369
|
|
|
296
370
|
### Minor Changes
|
|
297
371
|
|
|
298
|
-
-
|
|
372
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
373
|
+
[`cc54bf994d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc54bf994d6) -
|
|
374
|
+
Instrumented Tabs with the new theming package, `@atlaskit/tokens`.
|
|
299
375
|
|
|
300
|
-
|
|
301
|
-
|
|
376
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently
|
|
377
|
+
in alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
378
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
302
379
|
|
|
303
380
|
### Patch Changes
|
|
304
381
|
|
|
305
|
-
-
|
|
306
|
-
|
|
382
|
+
- [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) -
|
|
383
|
+
Internal changes to supress eslint rules.
|
|
384
|
+
- Updated dependencies
|
|
307
385
|
|
|
308
386
|
## 13.1.4
|
|
309
387
|
|
|
310
388
|
### Patch Changes
|
|
311
389
|
|
|
312
|
-
-
|
|
313
|
-
-
|
|
390
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
391
|
+
[`9a84a3ceb82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a84a3ceb82) -
|
|
392
|
+
Internal code changes.
|
|
393
|
+
- Updated dependencies
|
|
314
394
|
|
|
315
395
|
## 13.1.3
|
|
316
396
|
|
|
317
397
|
### Patch Changes
|
|
318
398
|
|
|
319
|
-
-
|
|
399
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
400
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
401
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
320
402
|
|
|
321
403
|
## 13.1.2
|
|
322
404
|
|
|
323
405
|
### Patch Changes
|
|
324
406
|
|
|
325
|
-
-
|
|
326
|
-
-
|
|
407
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
|
|
408
|
+
[`ecbf4a3267f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecbf4a3267f) - [ux]
|
|
409
|
+
Fix tabs focus ring in the windows high contrast mode
|
|
410
|
+
- Updated dependencies
|
|
327
411
|
|
|
328
412
|
## 13.1.1
|
|
329
413
|
|
|
330
414
|
### Patch Changes
|
|
331
415
|
|
|
332
|
-
-
|
|
416
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
417
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) -
|
|
418
|
+
Updates to development dependency `storybook-addon-performance`
|
|
333
419
|
|
|
334
420
|
## 13.1.0
|
|
335
421
|
|
|
336
422
|
### Minor Changes
|
|
337
423
|
|
|
338
|
-
-
|
|
424
|
+
- [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569)
|
|
425
|
+
[`4f40ecb4471`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f40ecb4471) - [ux]
|
|
426
|
+
Added `Home` and `End` keys handlers for tablist. Changed arrow keys handlers to make tabs
|
|
427
|
+
cycled. Now when you press the left arrow key on the first tab the last tab will be selected and
|
|
428
|
+
when you press right arrow key on the last tab the first tab will be selected
|
|
339
429
|
|
|
340
430
|
### Patch Changes
|
|
341
431
|
|
|
342
|
-
-
|
|
432
|
+
- Updated dependencies
|
|
343
433
|
|
|
344
434
|
## 13.0.1
|
|
345
435
|
|
|
346
436
|
### Patch Changes
|
|
347
437
|
|
|
348
|
-
-
|
|
438
|
+
- Updated dependencies
|
|
349
439
|
|
|
350
440
|
## 13.0.0
|
|
351
441
|
|
|
352
442
|
### Major Changes
|
|
353
443
|
|
|
354
|
-
-
|
|
444
|
+
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
|
|
445
|
+
[`c17fe6144f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c17fe6144f8) - ###
|
|
446
|
+
Major Changes
|
|
355
447
|
|
|
356
|
-
|
|
448
|
+
In this version, `Tabs` has had a pretty substantial rewrite. As well as now being dramatically
|
|
449
|
+
faster and more lightweight, it has a brand new flexible composable API and a bunch of
|
|
450
|
+
accessibility improvements.
|
|
357
451
|
|
|
358
|
-
|
|
452
|
+
### Composable API
|
|
359
453
|
|
|
360
|
-
|
|
454
|
+
The old version of `Tabs` had a `tabs` prop that would map to `TabItem`'s and `TabContent`'s.
|
|
361
455
|
|
|
362
|
-
|
|
363
|
-
|
|
456
|
+
```
|
|
457
|
+
import Tabs from '@atlaskit/tabs';
|
|
364
458
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
459
|
+
const ComponentUsingTabs = () => (
|
|
460
|
+
<Tabs tabs={
|
|
461
|
+
{ label: 'Tab 1', content: 'One' },
|
|
462
|
+
{ label: 'Tab 2', content: 'Two' },
|
|
463
|
+
{ label: 'Tab 3', content: 'Three' },
|
|
464
|
+
]} />
|
|
465
|
+
);
|
|
466
|
+
```
|
|
373
467
|
|
|
374
|
-
|
|
468
|
+
We've changed the language to match the W3 spec so a `TabItem` is now a `Tab` and a `TabContent`
|
|
469
|
+
is a `TabPanel`. We now export these components as well as a `TabList` so consumers use a
|
|
470
|
+
composable API that matches the DOM structure.
|
|
375
471
|
|
|
376
|
-
|
|
377
|
-
|
|
472
|
+
```
|
|
473
|
+
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
378
474
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
>
|
|
383
|
-
<TabList>
|
|
384
|
-
<Tab>Tab 1</Tab>
|
|
385
|
-
<Tab>Tab 2</Tab>
|
|
386
|
-
<Tab>Tab 3</Tab>
|
|
387
|
-
</TabList>
|
|
388
|
-
<TabPanel>
|
|
389
|
-
One
|
|
390
|
-
</TabPanel>
|
|
391
|
-
<TabPanel>
|
|
392
|
-
Two
|
|
393
|
-
</TabPanel>
|
|
394
|
-
<TabPanel>
|
|
395
|
-
Three
|
|
396
|
-
</TabPanel>
|
|
397
|
-
</Tabs>
|
|
398
|
-
);
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
This allows you to easily customise your usage, for example if you want to add a tooltip.
|
|
402
|
-
|
|
403
|
-
```
|
|
404
|
-
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
405
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
406
|
-
|
|
407
|
-
const TooltipTab = ({ label, tooltip }: { label: string; tooltip: string }) => (
|
|
408
|
-
<Tooltip content={tooltip}>
|
|
409
|
-
<Tab>{label}</Tab>
|
|
410
|
-
</Tooltip>
|
|
411
|
-
);
|
|
412
|
-
|
|
413
|
-
const ComponentUsingTabs = () => (
|
|
414
|
-
<Tabs
|
|
415
|
-
id="component-using-tabs"
|
|
416
|
-
>
|
|
417
|
-
<TabList>
|
|
418
|
-
<TooltipTab label="Tab 1" tooltip="Tooltip for tab 1" />
|
|
419
|
-
<TooltipTab label="Tab 2" tooltip="Tooltip for tab 2" />
|
|
420
|
-
<TooltipTab label="Tab 3" tooltip="Tooltip for tab 3" />
|
|
421
|
-
</TabList>
|
|
422
|
-
<TabPanel>
|
|
423
|
-
One
|
|
424
|
-
</TabPanel>
|
|
425
|
-
<TabPanel>
|
|
426
|
-
Two
|
|
427
|
-
</TabPanel>
|
|
428
|
-
<TabPanel>
|
|
429
|
-
Three
|
|
430
|
-
</TabPanel>
|
|
431
|
-
</Tabs>
|
|
432
|
-
);
|
|
433
|
-
```
|
|
434
|
-
|
|
435
|
-
### Hooks replacing Component prop
|
|
436
|
-
|
|
437
|
-
The `component` prop allowed you to customise the `Tab` and `TabPanel`. This approach seemed counter-intuitive and had a performance impact regardless of whether you were using it. Instead with composability we have have added two hooks, `useTab` and `useTabPanel`.
|
|
438
|
-
|
|
439
|
-
To create a custom `Tab`, call `useTab` and spread those attributes onto the custom tab. From there you can use it in place of a `Tab`. For example if you want to change the font size you would do so like this.
|
|
440
|
-
|
|
441
|
-
```
|
|
442
|
-
import { useTab } from '@atlaskit/tabs';
|
|
443
|
-
|
|
444
|
-
const CustomTab = ({ label }: { label: string }) => {
|
|
445
|
-
const tabAttributes = useTab();
|
|
446
|
-
|
|
447
|
-
return (
|
|
448
|
-
<div
|
|
449
|
-
css={css`
|
|
450
|
-
font-size: 16px;
|
|
451
|
-
`}
|
|
452
|
-
{...tabAttributes}
|
|
475
|
+
const ComponentUsingTabs = () => (
|
|
476
|
+
<Tabs
|
|
477
|
+
id="component-using-tabs"
|
|
453
478
|
>
|
|
454
|
-
|
|
455
|
-
|
|
479
|
+
<TabList>
|
|
480
|
+
<Tab>Tab 1</Tab>
|
|
481
|
+
<Tab>Tab 2</Tab>
|
|
482
|
+
<Tab>Tab 3</Tab>
|
|
483
|
+
</TabList>
|
|
484
|
+
<TabPanel>
|
|
485
|
+
One
|
|
486
|
+
</TabPanel>
|
|
487
|
+
<TabPanel>
|
|
488
|
+
Two
|
|
489
|
+
</TabPanel>
|
|
490
|
+
<TabPanel>
|
|
491
|
+
Three
|
|
492
|
+
</TabPanel>
|
|
493
|
+
</Tabs>
|
|
456
494
|
);
|
|
457
|
-
|
|
458
|
-
```
|
|
495
|
+
```
|
|
459
496
|
|
|
460
|
-
|
|
497
|
+
This allows you to easily customise your usage, for example if you want to add a tooltip.
|
|
461
498
|
|
|
462
|
-
|
|
463
|
-
|
|
499
|
+
```
|
|
500
|
+
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
501
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
464
502
|
|
|
465
|
-
|
|
466
|
-
|
|
503
|
+
const TooltipTab = ({ label, tooltip }: { label: string; tooltip: string }) => (
|
|
504
|
+
<Tooltip content={tooltip}>
|
|
505
|
+
<Tab>{label}</Tab>
|
|
506
|
+
</Tooltip>
|
|
507
|
+
);
|
|
467
508
|
|
|
468
|
-
|
|
469
|
-
<
|
|
470
|
-
|
|
471
|
-
margin: 12px;
|
|
472
|
-
`}
|
|
473
|
-
{...tabPanelAttributes}
|
|
509
|
+
const ComponentUsingTabs = () => (
|
|
510
|
+
<Tabs
|
|
511
|
+
id="component-using-tabs"
|
|
474
512
|
>
|
|
475
|
-
|
|
476
|
-
|
|
513
|
+
<TabList>
|
|
514
|
+
<TooltipTab label="Tab 1" tooltip="Tooltip for tab 1" />
|
|
515
|
+
<TooltipTab label="Tab 2" tooltip="Tooltip for tab 2" />
|
|
516
|
+
<TooltipTab label="Tab 3" tooltip="Tooltip for tab 3" />
|
|
517
|
+
</TabList>
|
|
518
|
+
<TabPanel>
|
|
519
|
+
One
|
|
520
|
+
</TabPanel>
|
|
521
|
+
<TabPanel>
|
|
522
|
+
Two
|
|
523
|
+
</TabPanel>
|
|
524
|
+
<TabPanel>
|
|
525
|
+
Three
|
|
526
|
+
</TabPanel>
|
|
527
|
+
</Tabs>
|
|
477
528
|
);
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
### Hooks replacing Component prop
|
|
532
|
+
|
|
533
|
+
The `component` prop allowed you to customise the `Tab` and `TabPanel`. This approach seemed
|
|
534
|
+
counter-intuitive and had a performance impact regardless of whether you were using it. Instead
|
|
535
|
+
with composability we have have added two hooks, `useTab` and `useTabPanel`.
|
|
536
|
+
|
|
537
|
+
To create a custom `Tab`, call `useTab` and spread those attributes onto the custom tab. From
|
|
538
|
+
there you can use it in place of a `Tab`. For example if you want to change the font size you
|
|
539
|
+
would do so like this.
|
|
540
|
+
|
|
541
|
+
```
|
|
542
|
+
import { useTab } from '@atlaskit/tabs';
|
|
543
|
+
|
|
544
|
+
const CustomTab = ({ label }: { label: string }) => {
|
|
545
|
+
const tabAttributes = useTab();
|
|
546
|
+
|
|
547
|
+
return (
|
|
548
|
+
<div
|
|
549
|
+
css={css`
|
|
550
|
+
font-size: 16px;
|
|
551
|
+
`}
|
|
552
|
+
{...tabAttributes}
|
|
553
|
+
>
|
|
554
|
+
{label}
|
|
555
|
+
</div>
|
|
556
|
+
);
|
|
557
|
+
};
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
Likewise, to create a custom `TabPanel`, call `useTabPanel` and spread those attributes onto the
|
|
561
|
+
custom tab panel.
|
|
562
|
+
|
|
563
|
+
```
|
|
564
|
+
import { useTabPanel } from '@atlaskit/tabs';
|
|
565
|
+
|
|
566
|
+
const CustomTabPanel = ({ body }: { body: string }) => {
|
|
567
|
+
const tabPanelAttributes = useTabPanel();
|
|
568
|
+
|
|
569
|
+
return (
|
|
570
|
+
<div
|
|
571
|
+
css={css`
|
|
572
|
+
margin: 12px;
|
|
573
|
+
`}
|
|
574
|
+
{...tabPanelAttributes}
|
|
575
|
+
>
|
|
576
|
+
{body}
|
|
577
|
+
</div>
|
|
578
|
+
);
|
|
579
|
+
};
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
### onSelect -> onChange
|
|
583
|
+
|
|
584
|
+
The `onSelect` prop has been renamed to `onChange` to be consistent with other design system
|
|
585
|
+
components. Internal state has now changed to keep track of the selected index. Previously the
|
|
586
|
+
object in the `tabs` prop array of type `TabData` was passed as well as the index. If you were
|
|
587
|
+
using this object you will have to change to use the index.
|
|
588
|
+
|
|
589
|
+
The type has changed from
|
|
590
|
+
`(selected: TabData, selectedIndex: number, analyticsEvent: UIAnalyticsEvent) => void;` to
|
|
591
|
+
`(index: number, analyticsEvent: UIAnalyticsEvent) => void;`
|
|
592
|
+
|
|
593
|
+
This also means if you are using the `selected` prop you will have to ensure you are using the
|
|
594
|
+
index of the selected tab instead of the object of type `TabData`.
|
|
595
|
+
|
|
596
|
+
### isSelectedTest
|
|
597
|
+
|
|
598
|
+
Previously you could provide the prop `isSelectedTest` to `Tabs` and it would determine what tab
|
|
599
|
+
is selected by seeing what tab returns true when `isSelectedTest` is called. This is a messy API
|
|
600
|
+
that effectively means there were two ways of making `Tabs` controlled. If you are using
|
|
601
|
+
`isSelectedTest` you should swap to using the `selected` prop to indicate that a tab is
|
|
602
|
+
selected.
|
|
603
|
+
|
|
604
|
+
### Accessibility and required ID
|
|
605
|
+
|
|
606
|
+
According to the w3 spec each tab should be linked to its corresponding tab panel. We have added
|
|
607
|
+
the `aria-controls` attribute to tabs and the `aria-labelledby` attribute to tab panels. In
|
|
608
|
+
order to do this we needed to generate a unique id for each tab and tab panel. To ensure these
|
|
609
|
+
id's are unique if there are multiple `Tabs` components on the same page there is now a required
|
|
610
|
+
`id` prop.
|
|
611
|
+
|
|
612
|
+
### shouldUnmountTabPanelOnChange
|
|
613
|
+
|
|
614
|
+
There was previously a prop `isContentPersisted` which defaults to false. When true it would
|
|
615
|
+
render all tab panels. The new default behaviour of `Tabs` is to leave each tab panel mounted on
|
|
616
|
+
the page after it has been selected. This means that tab panels will only mount if selected and
|
|
617
|
+
will not unmount and remount when changing tabs. In light of this change, `isContentPersisted`
|
|
618
|
+
has been removed and `shouldUnmountTabPanelOnChange` has been introduced. It defaults to false
|
|
619
|
+
and if it is set to true it will unmount a `TabPanel` when it is not selected. Effectively
|
|
620
|
+
`shouldUnmountTabPanelOnChange` is the inverse of `isContentPersisted`.
|
|
621
|
+
|
|
622
|
+
### Other changes
|
|
623
|
+
|
|
624
|
+
- Remove `TabItem` and `TabContent` export.
|
|
625
|
+
- Remove the types: `TabItemElementProps`, `TabItemComponentProvided`,
|
|
626
|
+
`TabContentComponentProvided`, `TabItemType`, `TabContentType`, `SelectedProp`,
|
|
627
|
+
`IsSelectedTestFunction`, `OnSelectCallback`, `TabsState`, `TabsNavigationProps` and `Mode`.
|
|
628
|
+
|
|
629
|
+
### Automatic upgrading
|
|
495
630
|
|
|
496
|
-
|
|
631
|
+
There is a codemod that assists you in upgrading most of the changes from above. Depending on
|
|
632
|
+
your usage, you will most likely have to do a manual step as this is a fairly big change in API.
|
|
633
|
+
The codemod will do its best job at making sure everything functions but you may want to clean
|
|
634
|
+
up your usage of `@atlaskit/tabs`. It does these following changes:
|
|
635
|
+
|
|
636
|
+
- Adds a randomly generated ID
|
|
637
|
+
- Changes `onSelect` to `onChange` and defines a new inline function that will functionally
|
|
638
|
+
work the same as it used to. It is however a messy solution and you may want to change the
|
|
639
|
+
function to only use the selected index.
|
|
640
|
+
- Remove the `TabItem` and `TabContent` imports.
|
|
641
|
+
- Map the array you supplied as a `tabs` prop to create `Tab`'s and `TabPanel`'s.
|
|
642
|
+
- Remove the `component` and `isSelectedTest` prop.
|
|
643
|
+
- Removes types that no longer exist.
|
|
644
|
+
- Migrates your usage of `isContentPersisted` to one of `shouldUnmountTabPanelOnChange`.
|
|
645
|
+
|
|
646
|
+
To run the codemod: **You first need to have the latest version installed**
|
|
647
|
+
|
|
648
|
+
```bash
|
|
649
|
+
yarn upgrade @atlaskit/tabs@^13.0.0
|
|
650
|
+
```
|
|
651
|
+
|
|
652
|
+
Once upgraded, use `@atlaskit/codemod-cli`:
|
|
653
|
+
|
|
654
|
+
```bash
|
|
655
|
+
npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]
|
|
656
|
+
```
|
|
497
657
|
|
|
498
|
-
|
|
658
|
+
The CLI will show a list of components and versions so select `@atlaskit/tabs@^13.0.0` and you
|
|
659
|
+
will automatically be upgraded.
|
|
499
660
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
### Other changes
|
|
505
|
-
|
|
506
|
-
- Remove `TabItem` and `TabContent` export.
|
|
507
|
-
- Remove the types: `TabItemElementProps`, `TabItemComponentProvided`, `TabContentComponentProvided`, `TabItemType`, `TabContentType`, `SelectedProp`, `IsSelectedTestFunction`, `OnSelectCallback`, `TabsState`, `TabsNavigationProps` and `Mode`.
|
|
508
|
-
|
|
509
|
-
### Automatic upgrading
|
|
510
|
-
|
|
511
|
-
There is a codemod that assists you in upgrading most of the changes from above.
|
|
512
|
-
Depending on your usage, you will most likely have to do a manual step as this is a fairly big change in API. The codemod will do its best job at making sure everything functions but you may want to clean up your usage of `@atlaskit/tabs`. It does these following changes:
|
|
513
|
-
|
|
514
|
-
- Adds a randomly generated ID
|
|
515
|
-
- Changes `onSelect` to `onChange` and defines a new inline function that will functionally work the same as it used to. It is however a messy solution and you may want to change the function to only use the selected index.
|
|
516
|
-
- Remove the `TabItem` and `TabContent` imports.
|
|
517
|
-
- Map the array you supplied as a `tabs` prop to create `Tab`'s and `TabPanel`'s.
|
|
518
|
-
- Remove the `component` and `isSelectedTest` prop.
|
|
519
|
-
- Removes types that no longer exist.
|
|
520
|
-
- Migrates your usage of `isContentPersisted` to one of `shouldUnmountTabPanelOnChange`.
|
|
521
|
-
|
|
522
|
-
To run the codemod: **You first need to have the latest version installed**
|
|
523
|
-
|
|
524
|
-
```bash
|
|
525
|
-
yarn upgrade @atlaskit/tabs@^13.0.0
|
|
526
|
-
```
|
|
527
|
-
|
|
528
|
-
Once upgraded,
|
|
529
|
-
use `@atlaskit/codemod-cli`:
|
|
530
|
-
|
|
531
|
-
```bash
|
|
532
|
-
npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]
|
|
533
|
-
```
|
|
534
|
-
|
|
535
|
-
The CLI will show a list of components and versions so select `@atlaskit/tabs@^13.0.0` and you will automatically be upgraded.
|
|
536
|
-
|
|
537
|
-
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
538
|
-
For Atlassians,
|
|
539
|
-
refer to the [documentation](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on the codemod CLI.
|
|
661
|
+
Run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to the
|
|
662
|
+
[documentation](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more
|
|
663
|
+
details on the codemod CLI.
|
|
540
664
|
|
|
541
665
|
### Patch Changes
|
|
542
666
|
|
|
543
|
-
-
|
|
544
|
-
|
|
545
|
-
-
|
|
667
|
+
- [`4a969d5c40f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a969d5c40f) - Fix a
|
|
668
|
+
bug where the active element is blurred instead of the current element when clicked.
|
|
669
|
+
- [`1adf9a493f5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1adf9a493f5) - Fix
|
|
670
|
+
codemod issue
|
|
671
|
+
- Updated dependencies
|
|
546
672
|
|
|
547
673
|
## 12.1.3
|
|
548
674
|
|
|
549
675
|
### Patch Changes
|
|
550
676
|
|
|
551
|
-
-
|
|
677
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
678
|
+
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
679
|
+
injected package name and version for analytics instead of version.json.
|
|
552
680
|
|
|
553
681
|
## 12.1.2
|
|
554
682
|
|
|
555
683
|
### Patch Changes
|
|
556
684
|
|
|
557
|
-
-
|
|
685
|
+
- [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930)
|
|
686
|
+
[`e795d0a849`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e795d0a849) - The
|
|
687
|
+
`Tabs` component now uses emotion instead of styled-components for it's internal styling.
|
|
558
688
|
|
|
559
689
|
## 12.1.1
|
|
560
690
|
|
|
561
691
|
### Patch Changes
|
|
562
692
|
|
|
563
|
-
-
|
|
693
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
694
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
|
|
695
|
+
Transpile packages using babel rather than tsc
|
|
564
696
|
|
|
565
697
|
## 12.1.0
|
|
566
698
|
|
|
567
699
|
### Minor Changes
|
|
568
700
|
|
|
569
|
-
-
|
|
701
|
+
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
|
|
702
|
+
[`98c957d889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98c957d889) - [ux]
|
|
703
|
+
Content of tabs will be preserved on the DOM while switching between tabs
|
|
570
704
|
|
|
571
705
|
## 12.0.6
|
|
572
706
|
|
|
573
707
|
### Patch Changes
|
|
574
708
|
|
|
575
|
-
-
|
|
576
|
-
|
|
577
|
-
|
|
709
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
710
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
711
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
712
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle
|
|
713
|
+
Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
714
|
+
`devDependencies` to denote version that the package was built with.
|
|
578
715
|
|
|
579
716
|
## 12.0.5
|
|
580
717
|
|
|
581
718
|
### Patch Changes
|
|
582
719
|
|
|
583
|
-
-
|
|
720
|
+
- Updated dependencies
|
|
584
721
|
|
|
585
722
|
## 12.0.4
|
|
586
723
|
|
|
587
724
|
### Patch Changes
|
|
588
725
|
|
|
589
|
-
-
|
|
726
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707)
|
|
727
|
+
[`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable
|
|
728
|
+
integration tests for Edge browser
|
|
590
729
|
|
|
591
730
|
## 12.0.3
|
|
592
731
|
|
|
593
732
|
### Patch Changes
|
|
594
733
|
|
|
595
|
-
-
|
|
734
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
735
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
736
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
596
737
|
|
|
597
|
-
|
|
598
|
-
|
|
738
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this
|
|
739
|
+
tslib upgrade to prevent duplicates of tslib being bundled.
|
|
599
740
|
|
|
600
741
|
## 12.0.2
|
|
601
742
|
|
|
602
743
|
### Patch Changes
|
|
603
744
|
|
|
604
|
-
-
|
|
745
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
|
|
746
|
+
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The
|
|
747
|
+
readme and package information has been updated to point to the new design system website.
|
|
605
748
|
|
|
606
749
|
## 12.0.1
|
|
607
750
|
|
|
608
751
|
### Patch Changes
|
|
609
752
|
|
|
610
|
-
-
|
|
753
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
754
|
+
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update
|
|
755
|
+
all the theme imports to be tree-shakable
|
|
611
756
|
|
|
612
757
|
## 12.0.0
|
|
613
758
|
|
|
614
759
|
### Major Changes
|
|
615
760
|
|
|
616
|
-
-
|
|
617
|
-
|
|
761
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
762
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
|
|
763
|
+
Officially dropping IE11 support, from this version onwards there are no warranties of the
|
|
764
|
+
package working in IE11. For more information see:
|
|
765
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
618
766
|
|
|
619
767
|
### Patch Changes
|
|
620
768
|
|
|
621
|
-
-
|
|
769
|
+
- Updated dependencies
|
|
622
770
|
|
|
623
771
|
## 11.2.11
|
|
624
772
|
|
|
625
773
|
### Patch Changes
|
|
626
774
|
|
|
627
|
-
-
|
|
775
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
776
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build
|
|
777
|
+
and supporting files will no longer be published to npm
|
|
628
778
|
|
|
629
779
|
## 11.2.10
|
|
630
780
|
|
|
631
781
|
### Patch Changes
|
|
632
782
|
|
|
633
|
-
-
|
|
783
|
+
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
|
|
784
|
+
[`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove
|
|
785
|
+
unused dependencies
|
|
634
786
|
|
|
635
787
|
## 11.2.9
|
|
636
788
|
|
|
637
789
|
### Patch Changes
|
|
638
790
|
|
|
639
|
-
-
|
|
791
|
+
- Updated dependencies
|
|
640
792
|
|
|
641
793
|
## 11.2.8
|
|
642
794
|
|
|
643
795
|
### Patch Changes
|
|
644
796
|
|
|
645
|
-
-
|
|
797
|
+
- [patch][b41c0887cd](https://bitbucket.org/atlassian/atlassian-frontend/commits/b41c0887cd):
|
|
646
798
|
|
|
647
|
-
|
|
799
|
+
Change imports to comply with Atlassian conventions- Updated dependencies
|
|
800
|
+
[3940bd71f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/3940bd71f1):
|
|
648
801
|
|
|
649
|
-
-
|
|
650
|
-
|
|
651
|
-
|
|
802
|
+
- Updated dependencies
|
|
803
|
+
[fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
|
|
804
|
+
- @atlaskit/tooltip@15.2.6
|
|
805
|
+
- @atlaskit/webdriver-runner@0.3.4
|
|
652
806
|
|
|
653
807
|
## 11.2.7
|
|
654
808
|
|
|
655
809
|
### Patch Changes
|
|
656
810
|
|
|
657
|
-
-
|
|
658
|
-
|
|
659
|
-
-
|
|
660
|
-
|
|
661
|
-
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
811
|
+
- Updated dependencies
|
|
812
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
813
|
+
- Updated dependencies
|
|
814
|
+
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
|
|
815
|
+
- Updated dependencies
|
|
816
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
817
|
+
- Updated dependencies
|
|
818
|
+
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
|
|
819
|
+
- Updated dependencies
|
|
820
|
+
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
|
|
821
|
+
- @atlaskit/docs@8.4.0
|
|
822
|
+
- @atlaskit/webdriver-runner@0.3.0
|
|
823
|
+
- @atlaskit/spinner@12.1.6
|
|
824
|
+
- @atlaskit/tooltip@15.2.5
|
|
666
825
|
|
|
667
826
|
## 11.2.6
|
|
668
827
|
|
|
669
828
|
### Patch Changes
|
|
670
829
|
|
|
671
|
-
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
830
|
+
- Updated dependencies
|
|
831
|
+
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
|
|
832
|
+
- @atlaskit/webdriver-runner@0.2.0
|
|
833
|
+
- @atlaskit/spinner@12.1.5
|
|
834
|
+
- @atlaskit/tooltip@15.2.4
|
|
675
835
|
|
|
676
836
|
## 11.2.5
|
|
677
837
|
|
|
678
838
|
### Patch Changes
|
|
679
839
|
|
|
680
|
-
-
|
|
840
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
681
841
|
|
|
682
|
-
|
|
842
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
843
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
683
844
|
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
845
|
+
- @atlaskit/docs@8.3.2
|
|
846
|
+
- @atlaskit/visual-regression@0.1.9
|
|
847
|
+
- @atlaskit/analytics-next@6.3.5
|
|
848
|
+
- @atlaskit/spinner@12.1.4
|
|
849
|
+
- @atlaskit/theme@9.5.1
|
|
850
|
+
- @atlaskit/tooltip@15.2.3
|
|
690
851
|
|
|
691
852
|
## 11.2.4
|
|
692
853
|
|
|
693
854
|
### Patch Changes
|
|
694
855
|
|
|
695
|
-
-
|
|
856
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
696
857
|
|
|
697
|
-
|
|
858
|
+
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
|
|
859
|
+
Updated dependencies
|
|
860
|
+
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
698
861
|
|
|
699
|
-
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
862
|
+
- Updated dependencies
|
|
863
|
+
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
864
|
+
- @atlaskit/theme@9.5.0
|
|
865
|
+
- @atlaskit/spinner@12.1.3
|
|
866
|
+
- @atlaskit/tooltip@15.2.1
|
|
703
867
|
|
|
704
868
|
## 11.2.3
|
|
705
869
|
|
|
706
870
|
### Patch Changes
|
|
707
871
|
|
|
708
|
-
-
|
|
872
|
+
- [patch][36f6e99c5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36f6e99c5b):
|
|
709
873
|
|
|
710
|
-
|
|
874
|
+
Fix type errors caused when generating declaration files
|
|
711
875
|
|
|
712
876
|
## 11.2.2
|
|
713
877
|
|
|
714
878
|
### Patch Changes
|
|
715
879
|
|
|
716
|
-
-
|
|
880
|
+
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
|
|
717
881
|
|
|
718
|
-
|
|
882
|
+
Theme has been converted to Typescript. Typescript consumers will now get static type safety.
|
|
883
|
+
Flow types are no longer provided.
|
|
719
884
|
|
|
720
|
-
|
|
885
|
+
### Breaking
|
|
721
886
|
|
|
722
|
-
|
|
723
|
-
|
|
887
|
+
** getTokens props changes ** When defining the value function passed into a ThemeProvider, the
|
|
888
|
+
getTokens parameter cannot be called without props; if no props are provided an empty object
|
|
889
|
+
`{}` must be passed in:
|
|
724
890
|
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
891
|
+
```javascript
|
|
892
|
+
<CustomTheme.Provider
|
|
893
|
+
value={t => ({ ...t(), backgroundColor: '#333'})}
|
|
894
|
+
>
|
|
895
|
+
```
|
|
730
896
|
|
|
731
|
-
|
|
897
|
+
becomes:
|
|
732
898
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
899
|
+
```javascript
|
|
900
|
+
<CustomTheme.Provider
|
|
901
|
+
value={t => ({ ...t({}), backgroundColor: '#333'})}
|
|
902
|
+
>
|
|
903
|
+
```
|
|
738
904
|
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
Users will need to update imports from this:
|
|
905
|
+
** Color palette changes ** Color palettes have been moved into their own file. Users will need
|
|
906
|
+
to update imports from this:
|
|
742
907
|
|
|
743
|
-
|
|
744
|
-
|
|
908
|
+
```javascript
|
|
909
|
+
import { colors } from '@atlaskit/theme';
|
|
745
910
|
|
|
746
|
-
|
|
747
|
-
|
|
911
|
+
colors.colorPalette('8');
|
|
912
|
+
```
|
|
748
913
|
|
|
749
|
-
|
|
914
|
+
to this:
|
|
750
915
|
|
|
751
|
-
|
|
752
|
-
|
|
916
|
+
```javascript
|
|
917
|
+
import { colorPalette } from '@atlaskit/theme';
|
|
753
918
|
|
|
754
|
-
|
|
755
|
-
|
|
919
|
+
colorPalette.colorPalette('8');
|
|
920
|
+
```
|
|
756
921
|
|
|
757
|
-
|
|
922
|
+
or for multi entry-point users:
|
|
758
923
|
|
|
759
|
-
|
|
760
|
-
|
|
924
|
+
```javascript
|
|
925
|
+
import * as colors from '@atlaskit/theme/colors';
|
|
761
926
|
|
|
762
|
-
|
|
763
|
-
|
|
927
|
+
colors.colorPalette('8');
|
|
928
|
+
```
|
|
764
929
|
|
|
765
|
-
|
|
930
|
+
to this:
|
|
766
931
|
|
|
767
|
-
|
|
768
|
-
|
|
932
|
+
```javascript
|
|
933
|
+
import * as colorPalettes from '@atlaskit/theme/color-palette';
|
|
769
934
|
|
|
770
|
-
|
|
771
|
-
|
|
935
|
+
colorPalettes.colorPalette('8');
|
|
936
|
+
```
|
|
772
937
|
|
|
773
938
|
## 11.2.1
|
|
774
939
|
|
|
775
940
|
### Patch Changes
|
|
776
941
|
|
|
777
|
-
-
|
|
942
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
778
943
|
|
|
779
|
-
|
|
944
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
780
945
|
|
|
781
946
|
## 11.2.0
|
|
782
947
|
|
|
783
948
|
### Minor Changes
|
|
784
949
|
|
|
785
|
-
-
|
|
950
|
+
- [minor][99957d4a20](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/99957d4a20):
|
|
786
951
|
|
|
787
|
-
|
|
952
|
+
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
|
|
953
|
+
products to write better integration and end to end tests.
|
|
788
954
|
|
|
789
955
|
## 11.1.1
|
|
790
956
|
|
|
791
957
|
### Patch Changes
|
|
792
958
|
|
|
793
|
-
-
|
|
959
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
794
960
|
|
|
795
|
-
|
|
961
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
796
962
|
|
|
797
963
|
## 11.1.0
|
|
798
964
|
|
|
799
965
|
### Minor Changes
|
|
800
966
|
|
|
801
|
-
-
|
|
967
|
+
- [minor][c6efb2f5b6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c6efb2f5b6):
|
|
802
968
|
|
|
803
|
-
|
|
969
|
+
Prefix the legacy lifecycle methods with UNSAFE\_\* to avoid warning in React 16.9+
|
|
804
970
|
|
|
805
|
-
|
|
806
|
-
|
|
971
|
+
More information about the deprecation of lifecycles methods can be found here:
|
|
972
|
+
https://reactjs.org/blog/2018/03/29/react-v-16-3.html#component-lifecycle-changes
|
|
807
973
|
|
|
808
974
|
## 11.0.9
|
|
809
975
|
|
|
810
976
|
### Patch Changes
|
|
811
977
|
|
|
812
|
-
-
|
|
978
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
813
979
|
|
|
814
|
-
|
|
980
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
981
|
+
non-relative imports as relative imports
|
|
815
982
|
|
|
816
983
|
## 11.0.8
|
|
817
984
|
|
|
818
985
|
### Patch Changes
|
|
819
986
|
|
|
820
|
-
-
|
|
987
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
821
988
|
|
|
822
|
-
|
|
989
|
+
Upgraded Typescript to 3.3.x
|
|
823
990
|
|
|
824
991
|
## 11.0.7
|
|
825
992
|
|
|
826
993
|
### Patch Changes
|
|
827
994
|
|
|
828
|
-
-
|
|
995
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
829
996
|
|
|
830
|
-
|
|
997
|
+
Change all the imports to theme in Core to use multi entry points
|
|
831
998
|
|
|
832
999
|
## 11.0.6
|
|
833
1000
|
|
|
834
1001
|
### Patch Changes
|
|
835
1002
|
|
|
836
|
-
-
|
|
1003
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
837
1004
|
|
|
838
|
-
|
|
1005
|
+
Updates component maintainers
|
|
839
1006
|
|
|
840
1007
|
## 11.0.5
|
|
841
1008
|
|
|
842
1009
|
### Patch Changes
|
|
843
1010
|
|
|
844
|
-
-
|
|
1011
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
845
1012
|
|
|
846
|
-
|
|
1013
|
+
Analytics-next has been converted to Typescript. Typescript consumers will now get static type
|
|
1014
|
+
safety. Flow types are no longer provided. No behavioural changes.
|
|
847
1015
|
|
|
848
|
-
|
|
1016
|
+
**Breaking changes**
|
|
849
1017
|
|
|
850
|
-
|
|
851
|
-
|
|
1018
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1019
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
852
1020
|
|
|
853
|
-
|
|
1021
|
+
**Breaking changes to TypeScript annotations**
|
|
854
1022
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
1023
|
+
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to
|
|
1024
|
+
provide props as a generic type.
|
|
1025
|
+
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to
|
|
1026
|
+
provide props as a generic type.
|
|
1027
|
+
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match
|
|
1028
|
+
source code
|
|
1029
|
+
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match
|
|
1030
|
+
source code
|
|
1031
|
+
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to
|
|
1032
|
+
match source code
|
|
1033
|
+
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
|
|
1034
|
+
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
|
|
1035
|
+
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
|
|
1036
|
+
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
|
|
1037
|
+
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
|
|
1038
|
+
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
|
|
866
1039
|
|
|
867
1040
|
## 11.0.4
|
|
868
1041
|
|
|
869
1042
|
### Patch Changes
|
|
870
1043
|
|
|
871
|
-
-
|
|
1044
|
+
- [patch][3342f64d5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3342f64d5e):
|
|
872
1045
|
|
|
873
|
-
|
|
1046
|
+
Removed unused dependencies from package.json for tabs: keycode was unused.
|
|
874
1047
|
|
|
875
1048
|
## 11.0.3
|
|
876
1049
|
|
|
877
1050
|
### Patch Changes
|
|
878
1051
|
|
|
879
|
-
-
|
|
1052
|
+
- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
|
|
880
1053
|
|
|
881
|
-
|
|
1054
|
+
Type definition files are now referenced in package.json
|
|
882
1055
|
|
|
883
1056
|
## 11.0.2
|
|
884
1057
|
|
|
885
1058
|
### Patch Changes
|
|
886
1059
|
|
|
887
|
-
-
|
|
1060
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
888
1061
|
|
|
889
|
-
|
|
1062
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
890
1063
|
|
|
891
1064
|
## 11.0.1
|
|
892
1065
|
|
|
893
1066
|
### Patch Changes
|
|
894
1067
|
|
|
895
|
-
-
|
|
1068
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
896
1069
|
|
|
897
|
-
|
|
1070
|
+
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide
|
|
1071
|
+
props as a generic type. This is so that TypeScript can correctly calculate the props and
|
|
1072
|
+
defaultProps of the returned component.
|
|
898
1073
|
|
|
899
|
-
|
|
1074
|
+
Before:
|
|
900
1075
|
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
1076
|
+
```typescript
|
|
1077
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
1078
|
+
```
|
|
904
1079
|
|
|
905
|
-
|
|
1080
|
+
After:
|
|
906
1081
|
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
1082
|
+
```typescript
|
|
1083
|
+
withAnalyticsEvents<Props>()(Button);
|
|
1084
|
+
```
|
|
910
1085
|
|
|
911
1086
|
## 11.0.0
|
|
912
1087
|
|
|
913
1088
|
### Major Changes
|
|
914
1089
|
|
|
915
|
-
-
|
|
1090
|
+
- [major][61a919319a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/61a919319a):
|
|
916
1091
|
|
|
917
|
-
|
|
1092
|
+
@atlaskit/tabs has been converted to Typescript. Typescript consumers will now get static type
|
|
1093
|
+
safety. Flow types are no longer provided. No API or behavioural changes. tabIndex now only
|
|
1094
|
+
accepts type number.
|
|
918
1095
|
|
|
919
1096
|
## 10.0.4
|
|
920
1097
|
|
|
921
1098
|
### Patch Changes
|
|
922
1099
|
|
|
923
|
-
-
|
|
1100
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
924
1101
|
|
|
925
|
-
|
|
1102
|
+
index.ts will now be ignored when publishing to npm
|
|
926
1103
|
|
|
927
1104
|
## 10.0.3
|
|
928
1105
|
|
|
929
|
-
-
|
|
930
|
-
|
|
1106
|
+
- Updated dependencies
|
|
1107
|
+
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
1108
|
+
- @atlaskit/tooltip@15.0.0
|
|
931
1109
|
|
|
932
1110
|
## 10.0.2
|
|
933
1111
|
|
|
934
|
-
-
|
|
1112
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
935
1113
|
|
|
936
|
-
|
|
1114
|
+
- This is just a safety release in case anything strange happened in in the previous one. See
|
|
1115
|
+
Pull Request #5942 for details
|
|
937
1116
|
|
|
938
1117
|
## 10.0.1
|
|
939
1118
|
|
|
940
|
-
-
|
|
941
|
-
|
|
1119
|
+
- Updated dependencies
|
|
1120
|
+
[215688984e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/215688984e):
|
|
1121
|
+
- @atlaskit/spinner@12.0.0
|
|
942
1122
|
|
|
943
1123
|
## 10.0.0
|
|
944
1124
|
|
|
945
|
-
-
|
|
1125
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
946
1126
|
|
|
947
|
-
|
|
1127
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1128
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
948
1129
|
|
|
949
1130
|
## 9.0.1
|
|
950
1131
|
|
|
951
|
-
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
1132
|
+
- Updated dependencies
|
|
1133
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
1134
|
+
- @atlaskit/docs@7.0.3
|
|
1135
|
+
- @atlaskit/spinner@10.0.7
|
|
1136
|
+
- @atlaskit/tooltip@13.0.4
|
|
1137
|
+
- @atlaskit/theme@8.1.7
|
|
956
1138
|
|
|
957
1139
|
## 9.0.0
|
|
958
1140
|
|
|
959
|
-
-
|
|
1141
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
960
1142
|
|
|
961
|
-
|
|
1143
|
+
- Drop ES5 from all the flow modules
|
|
962
1144
|
|
|
963
|
-
|
|
1145
|
+
### Dropping CJS support in all @atlaskit packages
|
|
964
1146
|
|
|
965
|
-
|
|
966
|
-
|
|
1147
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
1148
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
1149
|
+
`import` and `export` declarations.
|
|
967
1150
|
|
|
968
|
-
|
|
1151
|
+
The major reason for doing this is to allow us to support multiple entry points in packages,
|
|
1152
|
+
e.g:
|
|
969
1153
|
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
1154
|
+
```js
|
|
1155
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1156
|
+
```
|
|
973
1157
|
|
|
974
|
-
|
|
1158
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
975
1159
|
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
1160
|
+
```js
|
|
1161
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1162
|
+
```
|
|
979
1163
|
|
|
980
|
-
|
|
1164
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors
|
|
1165
|
+
harder, we have to worry about how consumers might be using things that aren't _actually_
|
|
1166
|
+
supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads
|
|
1167
|
+
to lots of packages bundling all of theme, just to use a single color, especially in situations
|
|
1168
|
+
where tree shaking fails.
|
|
981
1169
|
|
|
982
|
-
|
|
1170
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
1171
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
1172
|
+
internal dependencies.
|
|
983
1173
|
|
|
984
|
-
|
|
1174
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1175
|
+
environments.
|
|
985
1176
|
|
|
986
|
-
|
|
1177
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
1178
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
1179
|
+
saner API's and simpler package architecture.
|
|
987
1180
|
|
|
988
|
-
|
|
1181
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
1182
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
1183
|
+
external) if you have any questions or queries about this.
|
|
989
1184
|
|
|
990
1185
|
## 8.0.11
|
|
991
1186
|
|
|
992
|
-
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
1187
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
1188
|
+
- @atlaskit/analytics-next@3.1.2
|
|
1189
|
+
- @atlaskit/spinner@9.0.13
|
|
1190
|
+
- @atlaskit/theme@7.0.1
|
|
1191
|
+
- @atlaskit/tooltip@12.1.13
|
|
1192
|
+
- @atlaskit/docs@6.0.0
|
|
998
1193
|
|
|
999
1194
|
## 8.0.10
|
|
1000
1195
|
|
|
1001
|
-
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1196
|
+
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
1197
|
+
- @atlaskit/docs@5.2.3
|
|
1198
|
+
- @atlaskit/spinner@9.0.12
|
|
1199
|
+
- @atlaskit/tooltip@12.1.12
|
|
1200
|
+
- @atlaskit/theme@7.0.0
|
|
1006
1201
|
|
|
1007
1202
|
## 8.0.9
|
|
1008
1203
|
|
|
1009
|
-
-
|
|
1204
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1205
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1010
1206
|
|
|
1011
1207
|
## 8.0.8
|
|
1012
1208
|
|
|
1013
|
-
-
|
|
1209
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1210
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1014
1211
|
|
|
1015
1212
|
## 8.0.6
|
|
1016
1213
|
|
|
1017
|
-
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1214
|
+
- [patch] Updated dependencies
|
|
1215
|
+
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
|
|
1216
|
+
- @atlaskit/theme@6.0.0
|
|
1217
|
+
- @atlaskit/tooltip@12.0.9
|
|
1218
|
+
- @atlaskit/spinner@9.0.6
|
|
1219
|
+
- @atlaskit/docs@5.0.6
|
|
1022
1220
|
|
|
1023
1221
|
## 8.0.5
|
|
1024
1222
|
|
|
1025
|
-
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1223
|
+
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
1224
|
+
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
|
|
1225
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1226
|
+
- [none] Updated dependencies
|
|
1227
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1228
|
+
- @atlaskit/tooltip@12.0.5
|
|
1229
|
+
- @atlaskit/analytics-next@3.0.4
|
|
1230
|
+
- @atlaskit/theme@5.1.3
|
|
1231
|
+
- @atlaskit/spinner@9.0.5
|
|
1031
1232
|
|
|
1032
1233
|
## 8.0.4
|
|
1033
1234
|
|
|
1034
|
-
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1235
|
+
- [patch] Updated dependencies
|
|
1236
|
+
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
1237
|
+
- @atlaskit/tooltip@12.0.4
|
|
1238
|
+
- @atlaskit/theme@5.1.2
|
|
1239
|
+
- @atlaskit/spinner@9.0.4
|
|
1240
|
+
- @atlaskit/analytics-next@3.0.3
|
|
1241
|
+
- @atlaskit/docs@5.0.2
|
|
1040
1242
|
|
|
1041
1243
|
## 8.0.3
|
|
1042
1244
|
|
|
1043
|
-
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1245
|
+
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
1246
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1247
|
+
- [none] Updated dependencies
|
|
1248
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1249
|
+
- @atlaskit/tooltip@12.0.3
|
|
1250
|
+
- @atlaskit/analytics-next@3.0.2
|
|
1251
|
+
- @atlaskit/theme@5.1.1
|
|
1252
|
+
- @atlaskit/spinner@9.0.3
|
|
1049
1253
|
|
|
1050
1254
|
## 8.0.2
|
|
1051
1255
|
|
|
1052
|
-
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1256
|
+
- [patch] Move analytics tests and replace elements to core
|
|
1257
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
1258
|
+
- [none] Updated dependencies
|
|
1259
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
1260
|
+
- @atlaskit/tooltip@12.0.1
|
|
1261
|
+
- @atlaskit/analytics-next@3.0.1
|
|
1262
|
+
- @atlaskit/spinner@9.0.2
|
|
1263
|
+
- @atlaskit/docs@5.0.1
|
|
1058
1264
|
|
|
1059
1265
|
## 8.0.1
|
|
1060
1266
|
|
|
1061
|
-
-
|
|
1062
|
-
|
|
1267
|
+
- [patch] Updated dependencies
|
|
1268
|
+
[e6b1985](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e6b1985)
|
|
1269
|
+
- @atlaskit/tooltip@12.0.0
|
|
1063
1270
|
|
|
1064
1271
|
## 8.0.0
|
|
1065
1272
|
|
|
1066
|
-
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1273
|
+
- [major] Provides analytics for common component interations. See the
|
|
1274
|
+
[Instrumented Components](https://atlaskit.atlassian.com/packages/core/analytics-next) section
|
|
1275
|
+
for more details. If you are using enzyme for testing you will have to use
|
|
1276
|
+
[our forked version of the library](https://atlaskit.atlassian.com/docs/guides/testing#we-use-a-forked-version-of-enzyme).
|
|
1277
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
1278
|
+
- [major] Updates to React ^16.4.0
|
|
1279
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1280
|
+
- [major] Updated dependencies
|
|
1281
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
1282
|
+
- @atlaskit/tooltip@11.0.0
|
|
1283
|
+
- @atlaskit/analytics-next@3.0.0
|
|
1284
|
+
- @atlaskit/theme@5.0.0
|
|
1285
|
+
- @atlaskit/spinner@9.0.0
|
|
1286
|
+
- @atlaskit/docs@5.0.0
|
|
1287
|
+
- [major] Updated dependencies
|
|
1288
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1289
|
+
- @atlaskit/tooltip@11.0.0
|
|
1290
|
+
- @atlaskit/analytics-next@3.0.0
|
|
1291
|
+
- @atlaskit/theme@5.0.0
|
|
1292
|
+
- @atlaskit/spinner@9.0.0
|
|
1293
|
+
- @atlaskit/docs@5.0.0
|
|
1080
1294
|
|
|
1081
1295
|
## 7.1.3
|
|
1082
1296
|
|
|
1083
|
-
-
|
|
1084
|
-
|
|
1297
|
+
- [patch] Updated dependencies
|
|
1298
|
+
[cdba8b3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba8b3)
|
|
1299
|
+
- @atlaskit/spinner@8.0.0
|
|
1085
1300
|
|
|
1086
1301
|
## 7.1.2
|
|
1087
1302
|
|
|
1088
|
-
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1303
|
+
- [patch] Clean Changelogs - remove duplicates and empty entries
|
|
1304
|
+
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
1305
|
+
- [none] Updated dependencies
|
|
1306
|
+
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
1307
|
+
- @atlaskit/tooltip@10.2.1
|
|
1308
|
+
- @atlaskit/theme@4.0.4
|
|
1309
|
+
- @atlaskit/spinner@7.0.2
|
|
1093
1310
|
|
|
1094
1311
|
## 7.1.1
|
|
1095
1312
|
|
|
1096
|
-
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1313
|
+
- [patch] Update changelogs to remove duplicate
|
|
1314
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1315
|
+
- [none] Updated dependencies
|
|
1316
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1317
|
+
- @atlaskit/theme@4.0.3
|
|
1318
|
+
- @atlaskit/spinner@7.0.1
|
|
1319
|
+
- @atlaskit/docs@4.1.1
|
|
1101
1320
|
|
|
1102
1321
|
## 7.1.0
|
|
1103
1322
|
|
|
1104
|
-
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1323
|
+
- [patch] Updated dependencies
|
|
1324
|
+
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
1325
|
+
- @atlaskit/spinner@7.0.0
|
|
1326
|
+
- @atlaskit/tooltip@10.2.0
|
|
1327
|
+
- @atlaskit/docs@4.1.0
|
|
1328
|
+
- @atlaskit/theme@4.0.2
|
|
1109
1329
|
|
|
1110
1330
|
## 7.0.1
|
|
1111
1331
|
|
|
1112
|
-
-
|
|
1113
|
-
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1332
|
+
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1333
|
+
- [patch] Updated dependencies
|
|
1334
|
+
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1335
|
+
- @atlaskit/tooltip@10.0.1
|
|
1336
|
+
- @atlaskit/theme@4.0.1
|
|
1337
|
+
- @atlaskit/spinner@6.0.1
|
|
1338
|
+
- @atlaskit/docs@4.0.1
|
|
1118
1339
|
|
|
1119
1340
|
## 7.0.0
|
|
1120
1341
|
|
|
1121
|
-
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1342
|
+
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
|
|
1343
|
+
^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1344
|
+
- [patch] Updated dependencies
|
|
1345
|
+
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1346
|
+
- @atlaskit/tooltip@10.0.0
|
|
1347
|
+
- @atlaskit/theme@4.0.0
|
|
1348
|
+
- @atlaskit/spinner@6.0.0
|
|
1349
|
+
- @atlaskit/docs@4.0.0
|
|
1127
1350
|
|
|
1128
1351
|
## 6.0.3
|
|
1129
1352
|
|
|
1130
|
-
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1353
|
+
- [patch] Updated dependencies
|
|
1354
|
+
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
1355
|
+
- @atlaskit/tooltip@9.2.1
|
|
1356
|
+
- @atlaskit/theme@3.2.2
|
|
1357
|
+
- @atlaskit/spinner@5.0.2
|
|
1358
|
+
- @atlaskit/docs@3.0.4
|
|
1135
1359
|
|
|
1136
1360
|
## 6.0.1
|
|
1137
1361
|
|
|
1138
|
-
-
|
|
1362
|
+
- [patch] Update types [0073768](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0073768)
|
|
1139
1363
|
|
|
1140
1364
|
## 6.0.0
|
|
1141
1365
|
|
|
1142
|
-
-
|
|
1366
|
+
- [major] Bump to React 16.3.
|
|
1367
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1143
1368
|
|
|
1144
1369
|
## 5.2.1
|
|
1145
1370
|
|
|
1146
|
-
-
|
|
1371
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1372
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1147
1373
|
|
|
1148
1374
|
## 5.2.0
|
|
1149
1375
|
|
|
1150
|
-
-
|
|
1376
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
1377
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1151
1378
|
|
|
1152
1379
|
## 5.1.3
|
|
1153
1380
|
|
|
1154
|
-
-
|
|
1381
|
+
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
|
|
1382
|
+
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
|
|
1155
1383
|
|
|
1156
1384
|
## 5.1.2
|
|
1157
1385
|
|
|
1158
|
-
-
|
|
1386
|
+
- [patch] Tabs now abide by selected prop when tabs and selected props both change, instead of
|
|
1387
|
+
using internal selected state
|
|
1388
|
+
[3facabc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3facabc)
|
|
1159
1389
|
|
|
1160
1390
|
## 5.1.1
|
|
1161
1391
|
|
|
1162
|
-
-
|
|
1392
|
+
- [patch] Packages Flow types for elements components
|
|
1393
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1163
1394
|
|
|
1164
1395
|
## 5.1.0
|
|
1165
1396
|
|
|
1166
|
-
-
|
|
1397
|
+
- [minor] Add React 16 support.
|
|
1398
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
1167
1399
|
|
|
1168
1400
|
## 5.0.1
|
|
1169
1401
|
|
|
1170
|
-
-
|
|
1402
|
+
- [patch] fix tabs so that it re-renders when content props update
|
|
1403
|
+
[9b039dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9b039dd)
|
|
1171
1404
|
|
|
1172
1405
|
## 5.0.0
|
|
1173
1406
|
|
|
1174
|
-
-
|
|
1407
|
+
- [major] Re-write tabs to provide a more flexible API. Breaking changes: 1) The package no longer
|
|
1408
|
+
exports TabsStateless. The Tabs component manages its own state by default, but will behave as a
|
|
1409
|
+
controlled component if the selectedTab prop is set. 2) The component no longer recognises the
|
|
1410
|
+
defaultSelected property on individual tab objects. Tabs now takes a defaultSelectedTab prop
|
|
1411
|
+
which accepts either a tab object or tab index. 3) The tabs prop is now required - the component
|
|
1412
|
+
will not render if this prop is not set. 4) It is no longer possible to render Tabs without a
|
|
1413
|
+
tab being selected. If the defaultSelectedTab and selectedTab props are not set the first tab
|
|
1414
|
+
will be selected by default.
|
|
1415
|
+
[10a5a5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10a5a5a)
|
|
1175
1416
|
|
|
1176
1417
|
## 4.1.0
|
|
1177
1418
|
|
|
1178
|
-
-
|
|
1419
|
+
- [minor] Update type for label to accept string
|
|
1420
|
+
[0d0ca5f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0d0ca5f)
|
|
1179
1421
|
|
|
1180
1422
|
## 4.0.5
|
|
1181
1423
|
|
|
1182
|
-
-
|
|
1424
|
+
- [patch] Migrate to ak-mk-2
|
|
1425
|
+
[4c679a0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4c679a0)
|
|
1183
1426
|
|
|
1184
1427
|
## 4.0.4 (2017-11-17)
|
|
1185
1428
|
|
|
1186
|
-
-
|
|
1429
|
+
- bug fix; bumping internal dependencies to latest version
|
|
1430
|
+
([f87bb04](https://bitbucket.org/atlassian/atlaskit/commits/f87bb04))
|
|
1187
1431
|
|
|
1188
1432
|
## 4.0.3 (2017-10-26)
|
|
1189
1433
|
|
|
1190
|
-
-
|
|
1434
|
+
- bug fix; fix to rebuild stories
|
|
1435
|
+
([793b2a7](https://bitbucket.org/atlassian/atlaskit/commits/793b2a7))
|
|
1191
1436
|
|
|
1192
1437
|
## 4.0.2 (2017-10-22)
|
|
1193
1438
|
|
|
1194
|
-
-
|
|
1439
|
+
- bug fix; update styled-components dep and react peerDep
|
|
1440
|
+
([6a67bf8](https://bitbucket.org/atlassian/atlaskit/commits/6a67bf8))
|
|
1195
1441
|
|
|
1196
1442
|
## 4.0.1 (2017-10-04)
|
|
1197
1443
|
|
|
1198
|
-
-
|
|
1444
|
+
- bug fix; tabs now hide overflow, and ellipsis text-overflow (issues closed: #ak3519)
|
|
1445
|
+
([aa91734](https://bitbucket.org/atlassian/atlaskit/commits/aa91734))
|
|
1199
1446
|
|
|
1200
1447
|
## 4.0.0 (2017-08-11)
|
|
1201
1448
|
|
|
1202
|
-
-
|
|
1203
|
-
|
|
1204
|
-
-
|
|
1205
|
-
|
|
1206
|
-
-
|
|
1207
|
-
|
|
1208
|
-
-
|
|
1449
|
+
- bug fix; fix the theme-dependency
|
|
1450
|
+
([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
|
|
1451
|
+
- breaking; affects internal styled-components implementation
|
|
1452
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1453
|
+
- breaking; implement dark mode theme
|
|
1454
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1455
|
+
- bug fix; fix prop types ([8abfd3c](https://bitbucket.org/atlassian/atlaskit/commits/8abfd3c))
|
|
1456
|
+
- bug fix; make tab types clearer
|
|
1457
|
+
([3071418](https://bitbucket.org/atlassian/atlaskit/commits/3071418))
|
|
1458
|
+
- bug fix; move babel-plugin-react-flow-props-to-prop-types to devDep
|
|
1459
|
+
([e1cd3aa](https://bitbucket.org/atlassian/atlaskit/commits/e1cd3aa))
|
|
1460
|
+
- feature; dark mode for Tabs, plus a bunch of cleanup for the component and its docs
|
|
1461
|
+
([a111cf2](https://bitbucket.org/atlassian/atlaskit/commits/a111cf2))
|
|
1209
1462
|
|
|
1210
1463
|
## 3.0.0 (2017-08-11)
|
|
1211
1464
|
|
|
1212
|
-
-
|
|
1213
|
-
|
|
1214
|
-
-
|
|
1215
|
-
|
|
1216
|
-
-
|
|
1217
|
-
-
|
|
1465
|
+
- breaking; affects internal styled-components implementation
|
|
1466
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1467
|
+
- breaking; implement dark mode theme
|
|
1468
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1469
|
+
- bug fix; fix prop types ([8abfd3c](https://bitbucket.org/atlassian/atlaskit/commits/8abfd3c))
|
|
1470
|
+
- bug fix; make tab types clearer
|
|
1471
|
+
([3071418](https://bitbucket.org/atlassian/atlaskit/commits/3071418))
|
|
1472
|
+
- bug fix; move babel-plugin-react-flow-props-to-prop-types to devDep
|
|
1473
|
+
([e1cd3aa](https://bitbucket.org/atlassian/atlaskit/commits/e1cd3aa))
|
|
1474
|
+
- feature; dark mode for Tabs, plus a bunch of cleanup for the component and its docs
|
|
1475
|
+
([a111cf2](https://bitbucket.org/atlassian/atlaskit/commits/a111cf2))
|
|
1218
1476
|
|
|
1219
1477
|
## 2.4.2 (2017-07-27)
|
|
1220
1478
|
|
|
1221
|
-
-
|
|
1479
|
+
- fix; rename jsnext:main to jsnext:experimental:main temporarily
|
|
1480
|
+
([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
|
|
1222
1481
|
|
|
1223
1482
|
## 2.4.1 (2017-07-25)
|
|
1224
1483
|
|
|
1225
|
-
-
|
|
1484
|
+
- fix; use class transform in loose mode in babel to improve load performance in apps
|
|
1485
|
+
([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
|
|
1226
1486
|
|
|
1227
1487
|
## 2.1.0 (2017-07-17)
|
|
1228
1488
|
|
|
1229
|
-
-
|
|
1489
|
+
- fix; rerelease, failed prepublish scripts
|
|
1490
|
+
([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
|
|
1230
1491
|
|
|
1231
1492
|
## 2.1.0 (2017-07-17)
|
|
1232
1493
|
|
|
1233
|
-
-
|
|
1494
|
+
- feature; added ES module builds to dist and add jsnext:main to most ADG packages
|
|
1495
|
+
([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
|
|
1234
1496
|
|
|
1235
1497
|
## 2.0.0 (2017-05-30)
|
|
1236
1498
|
|
|
1237
|
-
-
|
|
1238
|
-
|
|
1239
|
-
-
|
|
1499
|
+
- refactor tabs to styled-components. Rename StatelessTabs named export to TabsSta
|
|
1500
|
+
([b77172d](https://bitbucket.org/atlassian/atlaskit/commits/b77172d))
|
|
1501
|
+
- breaking; Rename StatelessTabs named export to TabsStateless for consistency.
|
|
1502
|
+
- ISSUES CLOSED: #AK-2396
|
|
1240
1503
|
|
|
1241
1504
|
## 1.3.3 (2017-05-26)
|
|
1242
1505
|
|
|
1243
|
-
-
|
|
1244
|
-
|
|
1506
|
+
- fix; add prop-types as a dependency to avoid React 15.x warnings
|
|
1507
|
+
([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
|
|
1508
|
+
- fix; pin react-lorem-component version to avoid newly released broken version
|
|
1509
|
+
([6f3d9c6](https://bitbucket.org/atlassian/atlaskit/commits/6f3d9c6))
|
|
1245
1510
|
|
|
1246
1511
|
## 1.3.2 (2017-04-27)
|
|
1247
1512
|
|
|
1248
|
-
-
|
|
1513
|
+
- fix; update legal copy to be more clear. Not all modules include ADG license.
|
|
1514
|
+
([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
|
|
1249
1515
|
|
|
1250
1516
|
## 1.3.1 (2017-04-26)
|
|
1251
1517
|
|
|
1252
|
-
-
|
|
1518
|
+
- fix; update legal copy and fix broken links for component README on npm. New contribution and
|
|
1519
|
+
([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
|
|
1253
1520
|
|
|
1254
1521
|
## 1.3.0 (2017-04-20)
|
|
1255
1522
|
|
|
1256
|
-
-
|
|
1523
|
+
- feature; removed explicit style! imports, set style-loader in webpack config
|
|
1524
|
+
([891fc3c](https://bitbucket.org/atlassian/atlaskit/commits/891fc3c))
|
|
1257
1525
|
|
|
1258
1526
|
## 1.2.8 (2017-03-23)
|
|
1259
1527
|
|
|
1260
|
-
-
|
|
1528
|
+
- fix; empty commit to force release of tabs
|
|
1529
|
+
([47d958e](https://bitbucket.org/atlassian/atlaskit/commits/47d958e))
|
|
1261
1530
|
|
|
1262
1531
|
## 1.2.6 (2017-03-21)
|
|
1263
1532
|
|
|
1264
|
-
-
|
|
1533
|
+
- fix; maintainers for all the packages were added
|
|
1534
|
+
([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
|
|
1265
1535
|
|
|
1266
1536
|
## 1.2.5 (2017-02-22)
|
|
1267
1537
|
|
|
1268
|
-
-
|
|
1538
|
+
- fix; trigger onSelect prop on keyboard nav
|
|
1539
|
+
([71bb315](https://bitbucket.org/atlassian/atlaskit/commits/71bb315))
|
|
1269
1540
|
|
|
1270
1541
|
## 1.2.4 (2017-02-10)
|
|
1271
1542
|
|
|
1272
|
-
-
|
|
1543
|
+
- fix; render tabs with flex content correctly in FF and IE11
|
|
1544
|
+
([dc181da](https://bitbucket.org/atlassian/atlaskit/commits/dc181da))
|
|
1273
1545
|
|
|
1274
1546
|
## 1.2.2 (2017-02-07)
|
|
1275
1547
|
|
|
1276
|
-
-
|
|
1277
|
-
|
|
1548
|
+
- fix; Updates docs to use https to load demo image
|
|
1549
|
+
([0468d4d](https://bitbucket.org/atlassian/atlaskit/commits/0468d4d))
|
|
1550
|
+
- fix; small design fixes for tabs
|
|
1551
|
+
([d3a6666](https://bitbucket.org/atlassian/atlaskit/commits/d3a6666))
|
|
1278
1552
|
|
|
1279
1553
|
## 1.2.0 (2017-02-03)
|
|
1280
1554
|
|
|
1281
|
-
-
|
|
1282
|
-
|
|
1555
|
+
- fix; support centering of tab flex children
|
|
1556
|
+
([87fe198](https://bitbucket.org/atlassian/atlaskit/commits/87fe198))
|
|
1557
|
+
- feature; support fitting tabs inside a flex box container
|
|
1558
|
+
([4158cd8](https://bitbucket.org/atlassian/atlaskit/commits/4158cd8))
|