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