@atlaskit/tabs 15.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 +839 -557
- package/dist/cjs/components/tab-list.js +0 -2
- package/dist/cjs/components/tab-panel.js +0 -2
- package/dist/cjs/components/tab.js +0 -2
- package/dist/cjs/components/tabs.js +1 -3
- package/dist/es2019/components/tab-list.js +0 -2
- package/dist/es2019/components/tab-panel.js +0 -2
- package/dist/es2019/components/tab.js +0 -2
- package/dist/es2019/components/tabs.js +1 -3
- package/dist/esm/components/tab-list.js +0 -2
- package/dist/esm/components/tab-panel.js +0 -2
- package/dist/esm/components/tab.js +0 -2
- package/dist/esm/components/tabs.js +1 -3
- package/dist/types/types.d.ts +1 -9
- package/dist/types-ts4.5/types.d.ts +1 -9
- package/package.json +9 -8
- package/dist/cjs/internal/utils.js +0 -20
- package/dist/es2019/internal/utils.js +0 -14
- package/dist/esm/internal/utils.js +0 -14
- package/dist/types/internal/utils.d.ts +0 -2
- package/dist/types-ts4.5/internal/utils.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,1276 +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
|
+
|
|
11
|
+
## 16.0.0
|
|
12
|
+
|
|
13
|
+
### Major Changes
|
|
14
|
+
|
|
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`.
|
|
18
|
+
|
|
3
19
|
## 15.0.0
|
|
4
20
|
|
|
5
21
|
### Major Changes
|
|
6
22
|
|
|
7
|
-
-
|
|
8
|
-
|
|
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.
|
|
9
29
|
|
|
10
30
|
## 14.1.0
|
|
11
31
|
|
|
12
32
|
### Minor Changes
|
|
13
33
|
|
|
14
|
-
-
|
|
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
|
|
15
37
|
|
|
16
38
|
## 14.0.5
|
|
17
39
|
|
|
18
40
|
### Patch Changes
|
|
19
41
|
|
|
20
|
-
-
|
|
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`
|
|
21
45
|
|
|
22
46
|
## 14.0.4
|
|
23
47
|
|
|
24
48
|
### Patch Changes
|
|
25
49
|
|
|
26
|
-
-
|
|
50
|
+
- Updated dependencies
|
|
27
51
|
|
|
28
52
|
## 14.0.3
|
|
29
53
|
|
|
30
54
|
### Patch Changes
|
|
31
55
|
|
|
32
|
-
-
|
|
56
|
+
- Updated dependencies
|
|
33
57
|
|
|
34
58
|
## 14.0.2
|
|
35
59
|
|
|
36
60
|
### Patch Changes
|
|
37
61
|
|
|
38
|
-
-
|
|
62
|
+
- Updated dependencies
|
|
39
63
|
|
|
40
64
|
## 14.0.1
|
|
41
65
|
|
|
42
66
|
### Patch Changes
|
|
43
67
|
|
|
44
|
-
-
|
|
68
|
+
- Updated dependencies
|
|
45
69
|
|
|
46
70
|
## 14.0.0
|
|
47
71
|
|
|
48
72
|
### Major Changes
|
|
49
73
|
|
|
50
|
-
-
|
|
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.
|
|
51
78
|
|
|
52
79
|
## 13.4.9
|
|
53
80
|
|
|
54
81
|
### Patch Changes
|
|
55
82
|
|
|
56
|
-
-
|
|
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.
|
|
57
86
|
|
|
58
87
|
## 13.4.8
|
|
59
88
|
|
|
60
89
|
### Patch Changes
|
|
61
90
|
|
|
62
|
-
-
|
|
91
|
+
- Updated dependencies
|
|
63
92
|
|
|
64
93
|
## 13.4.7
|
|
65
94
|
|
|
66
95
|
### Patch Changes
|
|
67
96
|
|
|
68
|
-
-
|
|
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.
|
|
69
100
|
|
|
70
101
|
## 13.4.6
|
|
71
102
|
|
|
72
103
|
### Patch Changes
|
|
73
104
|
|
|
74
|
-
-
|
|
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
|
|
75
108
|
|
|
76
109
|
## 13.4.5
|
|
77
110
|
|
|
78
111
|
### Patch Changes
|
|
79
112
|
|
|
80
|
-
-
|
|
81
|
-
-
|
|
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
|
|
82
117
|
|
|
83
118
|
## 13.4.4
|
|
84
119
|
|
|
85
120
|
### Patch Changes
|
|
86
121
|
|
|
87
|
-
-
|
|
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
|
|
88
125
|
|
|
89
126
|
## 13.4.3
|
|
90
127
|
|
|
91
128
|
### Patch Changes
|
|
92
129
|
|
|
93
|
-
-
|
|
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.
|
|
94
133
|
|
|
95
134
|
## 13.4.2
|
|
96
135
|
|
|
97
136
|
### Patch Changes
|
|
98
137
|
|
|
99
|
-
-
|
|
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
|
|
100
141
|
|
|
101
142
|
## 13.4.1
|
|
102
143
|
|
|
103
144
|
### Patch Changes
|
|
104
145
|
|
|
105
|
-
-
|
|
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`
|
|
106
149
|
|
|
107
150
|
## 13.4.0
|
|
108
151
|
|
|
109
152
|
### Minor Changes
|
|
110
153
|
|
|
111
|
-
-
|
|
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
|
|
112
157
|
|
|
113
158
|
### Patch Changes
|
|
114
159
|
|
|
115
|
-
-
|
|
160
|
+
- Updated dependencies
|
|
116
161
|
|
|
117
162
|
## 13.3.13
|
|
118
163
|
|
|
119
164
|
### Patch Changes
|
|
120
165
|
|
|
121
|
-
-
|
|
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.
|
|
122
169
|
|
|
123
170
|
## 13.3.12
|
|
124
171
|
|
|
125
172
|
### Patch Changes
|
|
126
173
|
|
|
127
|
-
-
|
|
174
|
+
- Updated dependencies
|
|
128
175
|
|
|
129
176
|
## 13.3.11
|
|
130
177
|
|
|
131
178
|
### Patch Changes
|
|
132
179
|
|
|
133
|
-
-
|
|
180
|
+
- Updated dependencies
|
|
134
181
|
|
|
135
182
|
## 13.3.10
|
|
136
183
|
|
|
137
184
|
### Patch Changes
|
|
138
185
|
|
|
139
|
-
-
|
|
140
|
-
-
|
|
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
|
|
141
191
|
|
|
142
192
|
## 13.3.9
|
|
143
193
|
|
|
144
194
|
### Patch Changes
|
|
145
195
|
|
|
146
|
-
-
|
|
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.
|
|
147
199
|
|
|
148
200
|
## 13.3.8
|
|
149
201
|
|
|
150
202
|
### Patch Changes
|
|
151
203
|
|
|
152
|
-
-
|
|
204
|
+
- Updated dependencies
|
|
153
205
|
|
|
154
206
|
## 13.3.7
|
|
155
207
|
|
|
156
208
|
### Patch Changes
|
|
157
209
|
|
|
158
|
-
-
|
|
210
|
+
- Updated dependencies
|
|
159
211
|
|
|
160
212
|
## 13.3.6
|
|
161
213
|
|
|
162
214
|
### Patch Changes
|
|
163
215
|
|
|
164
|
-
-
|
|
216
|
+
- Updated dependencies
|
|
165
217
|
|
|
166
218
|
## 13.3.5
|
|
167
219
|
|
|
168
220
|
### Patch Changes
|
|
169
221
|
|
|
170
|
-
-
|
|
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.
|
|
171
225
|
|
|
172
226
|
## 13.3.4
|
|
173
227
|
|
|
174
228
|
### Patch Changes
|
|
175
229
|
|
|
176
|
-
-
|
|
177
|
-
-
|
|
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
|
|
178
234
|
|
|
179
235
|
## 13.3.3
|
|
180
236
|
|
|
181
237
|
### Patch Changes
|
|
182
238
|
|
|
183
|
-
-
|
|
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.
|
|
184
242
|
|
|
185
243
|
## 13.3.2
|
|
186
244
|
|
|
187
245
|
### Patch Changes
|
|
188
246
|
|
|
189
|
-
-
|
|
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.
|
|
190
251
|
|
|
191
252
|
## 13.3.1
|
|
192
253
|
|
|
193
254
|
### Patch Changes
|
|
194
255
|
|
|
195
|
-
-
|
|
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`
|
|
196
259
|
|
|
197
260
|
## 13.3.0
|
|
198
261
|
|
|
199
262
|
### Minor Changes
|
|
200
263
|
|
|
201
|
-
-
|
|
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.
|
|
202
267
|
|
|
203
268
|
### Patch Changes
|
|
204
269
|
|
|
205
|
-
-
|
|
270
|
+
- Updated dependencies
|
|
206
271
|
|
|
207
272
|
## 13.2.13
|
|
208
273
|
|
|
209
274
|
### Patch Changes
|
|
210
275
|
|
|
211
|
-
-
|
|
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`.
|
|
212
279
|
|
|
213
280
|
## 13.2.12
|
|
214
281
|
|
|
215
282
|
### Patch Changes
|
|
216
283
|
|
|
217
|
-
-
|
|
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.
|
|
218
287
|
|
|
219
288
|
## 13.2.11
|
|
220
289
|
|
|
221
290
|
### Patch Changes
|
|
222
291
|
|
|
223
|
-
-
|
|
292
|
+
- Updated dependencies
|
|
224
293
|
|
|
225
294
|
## 13.2.10
|
|
226
295
|
|
|
227
296
|
### Patch Changes
|
|
228
297
|
|
|
229
|
-
-
|
|
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
|
|
230
301
|
|
|
231
302
|
## 13.2.9
|
|
232
303
|
|
|
233
304
|
### Patch Changes
|
|
234
305
|
|
|
235
|
-
-
|
|
306
|
+
- Updated dependencies
|
|
236
307
|
|
|
237
308
|
## 13.2.8
|
|
238
309
|
|
|
239
310
|
### Patch Changes
|
|
240
311
|
|
|
241
|
-
-
|
|
242
|
-
-
|
|
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
|
|
243
317
|
|
|
244
318
|
## 13.2.7
|
|
245
319
|
|
|
246
320
|
### Patch Changes
|
|
247
321
|
|
|
248
|
-
-
|
|
322
|
+
- Updated dependencies
|
|
249
323
|
|
|
250
324
|
## 13.2.6
|
|
251
325
|
|
|
252
326
|
### Patch Changes
|
|
253
327
|
|
|
254
|
-
-
|
|
255
|
-
-
|
|
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
|
|
256
333
|
|
|
257
334
|
## 13.2.5
|
|
258
335
|
|
|
259
336
|
### Patch Changes
|
|
260
337
|
|
|
261
|
-
-
|
|
338
|
+
- Updated dependencies
|
|
262
339
|
|
|
263
340
|
## 13.2.4
|
|
264
341
|
|
|
265
342
|
### Patch Changes
|
|
266
343
|
|
|
267
|
-
-
|
|
268
|
-
-
|
|
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
|
|
269
349
|
|
|
270
350
|
## 13.2.3
|
|
271
351
|
|
|
272
352
|
### Patch Changes
|
|
273
353
|
|
|
274
|
-
-
|
|
354
|
+
- Updated dependencies
|
|
275
355
|
|
|
276
356
|
## 13.2.2
|
|
277
357
|
|
|
278
358
|
### Patch Changes
|
|
279
359
|
|
|
280
|
-
-
|
|
360
|
+
- Updated dependencies
|
|
281
361
|
|
|
282
362
|
## 13.2.1
|
|
283
363
|
|
|
284
364
|
### Patch Changes
|
|
285
365
|
|
|
286
|
-
-
|
|
366
|
+
- Updated dependencies
|
|
287
367
|
|
|
288
368
|
## 13.2.0
|
|
289
369
|
|
|
290
370
|
### Minor Changes
|
|
291
371
|
|
|
292
|
-
-
|
|
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`.
|
|
293
375
|
|
|
294
|
-
|
|
295
|
-
|
|
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.
|
|
296
379
|
|
|
297
380
|
### Patch Changes
|
|
298
381
|
|
|
299
|
-
-
|
|
300
|
-
|
|
382
|
+
- [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) -
|
|
383
|
+
Internal changes to supress eslint rules.
|
|
384
|
+
- Updated dependencies
|
|
301
385
|
|
|
302
386
|
## 13.1.4
|
|
303
387
|
|
|
304
388
|
### Patch Changes
|
|
305
389
|
|
|
306
|
-
-
|
|
307
|
-
-
|
|
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
|
|
308
394
|
|
|
309
395
|
## 13.1.3
|
|
310
396
|
|
|
311
397
|
### Patch Changes
|
|
312
398
|
|
|
313
|
-
-
|
|
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`.
|
|
314
402
|
|
|
315
403
|
## 13.1.2
|
|
316
404
|
|
|
317
405
|
### Patch Changes
|
|
318
406
|
|
|
319
|
-
-
|
|
320
|
-
-
|
|
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
|
|
321
411
|
|
|
322
412
|
## 13.1.1
|
|
323
413
|
|
|
324
414
|
### Patch Changes
|
|
325
415
|
|
|
326
|
-
-
|
|
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`
|
|
327
419
|
|
|
328
420
|
## 13.1.0
|
|
329
421
|
|
|
330
422
|
### Minor Changes
|
|
331
423
|
|
|
332
|
-
-
|
|
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
|
|
333
429
|
|
|
334
430
|
### Patch Changes
|
|
335
431
|
|
|
336
|
-
-
|
|
432
|
+
- Updated dependencies
|
|
337
433
|
|
|
338
434
|
## 13.0.1
|
|
339
435
|
|
|
340
436
|
### Patch Changes
|
|
341
437
|
|
|
342
|
-
-
|
|
438
|
+
- Updated dependencies
|
|
343
439
|
|
|
344
440
|
## 13.0.0
|
|
345
441
|
|
|
346
442
|
### Major Changes
|
|
347
443
|
|
|
348
|
-
-
|
|
444
|
+
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
|
|
445
|
+
[`c17fe6144f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c17fe6144f8) - ###
|
|
446
|
+
Major Changes
|
|
349
447
|
|
|
350
|
-
|
|
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.
|
|
351
451
|
|
|
352
|
-
|
|
452
|
+
### Composable API
|
|
353
453
|
|
|
354
|
-
|
|
454
|
+
The old version of `Tabs` had a `tabs` prop that would map to `TabItem`'s and `TabContent`'s.
|
|
355
455
|
|
|
356
|
-
|
|
357
|
-
|
|
456
|
+
```
|
|
457
|
+
import Tabs from '@atlaskit/tabs';
|
|
358
458
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
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
|
+
```
|
|
367
467
|
|
|
368
|
-
|
|
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.
|
|
369
471
|
|
|
370
|
-
|
|
371
|
-
|
|
472
|
+
```
|
|
473
|
+
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
372
474
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
>
|
|
377
|
-
<TabList>
|
|
378
|
-
<Tab>Tab 1</Tab>
|
|
379
|
-
<Tab>Tab 2</Tab>
|
|
380
|
-
<Tab>Tab 3</Tab>
|
|
381
|
-
</TabList>
|
|
382
|
-
<TabPanel>
|
|
383
|
-
One
|
|
384
|
-
</TabPanel>
|
|
385
|
-
<TabPanel>
|
|
386
|
-
Two
|
|
387
|
-
</TabPanel>
|
|
388
|
-
<TabPanel>
|
|
389
|
-
Three
|
|
390
|
-
</TabPanel>
|
|
391
|
-
</Tabs>
|
|
392
|
-
);
|
|
393
|
-
```
|
|
394
|
-
|
|
395
|
-
This allows you to easily customise your usage, for example if you want to add a tooltip.
|
|
396
|
-
|
|
397
|
-
```
|
|
398
|
-
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
399
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
400
|
-
|
|
401
|
-
const TooltipTab = ({ label, tooltip }: { label: string; tooltip: string }) => (
|
|
402
|
-
<Tooltip content={tooltip}>
|
|
403
|
-
<Tab>{label}</Tab>
|
|
404
|
-
</Tooltip>
|
|
405
|
-
);
|
|
406
|
-
|
|
407
|
-
const ComponentUsingTabs = () => (
|
|
408
|
-
<Tabs
|
|
409
|
-
id="component-using-tabs"
|
|
410
|
-
>
|
|
411
|
-
<TabList>
|
|
412
|
-
<TooltipTab label="Tab 1" tooltip="Tooltip for tab 1" />
|
|
413
|
-
<TooltipTab label="Tab 2" tooltip="Tooltip for tab 2" />
|
|
414
|
-
<TooltipTab label="Tab 3" tooltip="Tooltip for tab 3" />
|
|
415
|
-
</TabList>
|
|
416
|
-
<TabPanel>
|
|
417
|
-
One
|
|
418
|
-
</TabPanel>
|
|
419
|
-
<TabPanel>
|
|
420
|
-
Two
|
|
421
|
-
</TabPanel>
|
|
422
|
-
<TabPanel>
|
|
423
|
-
Three
|
|
424
|
-
</TabPanel>
|
|
425
|
-
</Tabs>
|
|
426
|
-
);
|
|
427
|
-
```
|
|
428
|
-
|
|
429
|
-
### Hooks replacing Component prop
|
|
430
|
-
|
|
431
|
-
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`.
|
|
432
|
-
|
|
433
|
-
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.
|
|
434
|
-
|
|
435
|
-
```
|
|
436
|
-
import { useTab } from '@atlaskit/tabs';
|
|
437
|
-
|
|
438
|
-
const CustomTab = ({ label }: { label: string }) => {
|
|
439
|
-
const tabAttributes = useTab();
|
|
440
|
-
|
|
441
|
-
return (
|
|
442
|
-
<div
|
|
443
|
-
css={css`
|
|
444
|
-
font-size: 16px;
|
|
445
|
-
`}
|
|
446
|
-
{...tabAttributes}
|
|
475
|
+
const ComponentUsingTabs = () => (
|
|
476
|
+
<Tabs
|
|
477
|
+
id="component-using-tabs"
|
|
447
478
|
>
|
|
448
|
-
|
|
449
|
-
|
|
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>
|
|
450
494
|
);
|
|
451
|
-
|
|
452
|
-
```
|
|
495
|
+
```
|
|
453
496
|
|
|
454
|
-
|
|
497
|
+
This allows you to easily customise your usage, for example if you want to add a tooltip.
|
|
455
498
|
|
|
456
|
-
|
|
457
|
-
|
|
499
|
+
```
|
|
500
|
+
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
501
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
458
502
|
|
|
459
|
-
|
|
460
|
-
|
|
503
|
+
const TooltipTab = ({ label, tooltip }: { label: string; tooltip: string }) => (
|
|
504
|
+
<Tooltip content={tooltip}>
|
|
505
|
+
<Tab>{label}</Tab>
|
|
506
|
+
</Tooltip>
|
|
507
|
+
);
|
|
461
508
|
|
|
462
|
-
|
|
463
|
-
<
|
|
464
|
-
|
|
465
|
-
margin: 12px;
|
|
466
|
-
`}
|
|
467
|
-
{...tabPanelAttributes}
|
|
509
|
+
const ComponentUsingTabs = () => (
|
|
510
|
+
<Tabs
|
|
511
|
+
id="component-using-tabs"
|
|
468
512
|
>
|
|
469
|
-
|
|
470
|
-
|
|
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>
|
|
471
528
|
);
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
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
|
|
485
630
|
|
|
486
|
-
|
|
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
|
+
```
|
|
487
657
|
|
|
488
|
-
|
|
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.
|
|
489
660
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
### shouldUnmountTabPanelOnChange
|
|
495
|
-
|
|
496
|
-
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`.
|
|
497
|
-
|
|
498
|
-
### Other changes
|
|
499
|
-
|
|
500
|
-
- Remove `TabItem` and `TabContent` export.
|
|
501
|
-
- Remove the types: `TabItemElementProps`, `TabItemComponentProvided`, `TabContentComponentProvided`, `TabItemType`, `TabContentType`, `SelectedProp`, `IsSelectedTestFunction`, `OnSelectCallback`, `TabsState`, `TabsNavigationProps` and `Mode`.
|
|
502
|
-
|
|
503
|
-
### Automatic upgrading
|
|
504
|
-
|
|
505
|
-
There is a codemod that assists you in upgrading most of the changes from above.
|
|
506
|
-
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:
|
|
507
|
-
|
|
508
|
-
- Adds a randomly generated ID
|
|
509
|
-
- 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.
|
|
510
|
-
- Remove the `TabItem` and `TabContent` imports.
|
|
511
|
-
- Map the array you supplied as a `tabs` prop to create `Tab`'s and `TabPanel`'s.
|
|
512
|
-
- Remove the `component` and `isSelectedTest` prop.
|
|
513
|
-
- Removes types that no longer exist.
|
|
514
|
-
- Migrates your usage of `isContentPersisted` to one of `shouldUnmountTabPanelOnChange`.
|
|
515
|
-
|
|
516
|
-
To run the codemod: **You first need to have the latest version installed**
|
|
517
|
-
|
|
518
|
-
```bash
|
|
519
|
-
yarn upgrade @atlaskit/tabs@^13.0.0
|
|
520
|
-
```
|
|
521
|
-
|
|
522
|
-
Once upgraded,
|
|
523
|
-
use `@atlaskit/codemod-cli`:
|
|
524
|
-
|
|
525
|
-
```bash
|
|
526
|
-
npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]
|
|
527
|
-
```
|
|
528
|
-
|
|
529
|
-
The CLI will show a list of components and versions so select `@atlaskit/tabs@^13.0.0` and you will automatically be upgraded.
|
|
530
|
-
|
|
531
|
-
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
532
|
-
For Atlassians,
|
|
533
|
-
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.
|
|
534
664
|
|
|
535
665
|
### Patch Changes
|
|
536
666
|
|
|
537
|
-
-
|
|
538
|
-
|
|
539
|
-
-
|
|
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
|
|
540
672
|
|
|
541
673
|
## 12.1.3
|
|
542
674
|
|
|
543
675
|
### Patch Changes
|
|
544
676
|
|
|
545
|
-
-
|
|
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.
|
|
546
680
|
|
|
547
681
|
## 12.1.2
|
|
548
682
|
|
|
549
683
|
### Patch Changes
|
|
550
684
|
|
|
551
|
-
-
|
|
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.
|
|
552
688
|
|
|
553
689
|
## 12.1.1
|
|
554
690
|
|
|
555
691
|
### Patch Changes
|
|
556
692
|
|
|
557
|
-
-
|
|
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
|
|
558
696
|
|
|
559
697
|
## 12.1.0
|
|
560
698
|
|
|
561
699
|
### Minor Changes
|
|
562
700
|
|
|
563
|
-
-
|
|
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
|
|
564
704
|
|
|
565
705
|
## 12.0.6
|
|
566
706
|
|
|
567
707
|
### Patch Changes
|
|
568
708
|
|
|
569
|
-
-
|
|
570
|
-
|
|
571
|
-
|
|
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.
|
|
572
715
|
|
|
573
716
|
## 12.0.5
|
|
574
717
|
|
|
575
718
|
### Patch Changes
|
|
576
719
|
|
|
577
|
-
-
|
|
720
|
+
- Updated dependencies
|
|
578
721
|
|
|
579
722
|
## 12.0.4
|
|
580
723
|
|
|
581
724
|
### Patch Changes
|
|
582
725
|
|
|
583
|
-
-
|
|
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
|
|
584
729
|
|
|
585
730
|
## 12.0.3
|
|
586
731
|
|
|
587
732
|
### Patch Changes
|
|
588
733
|
|
|
589
|
-
-
|
|
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
|
|
590
737
|
|
|
591
|
-
|
|
592
|
-
|
|
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.
|
|
593
740
|
|
|
594
741
|
## 12.0.2
|
|
595
742
|
|
|
596
743
|
### Patch Changes
|
|
597
744
|
|
|
598
|
-
-
|
|
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.
|
|
599
748
|
|
|
600
749
|
## 12.0.1
|
|
601
750
|
|
|
602
751
|
### Patch Changes
|
|
603
752
|
|
|
604
|
-
-
|
|
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
|
|
605
756
|
|
|
606
757
|
## 12.0.0
|
|
607
758
|
|
|
608
759
|
### Major Changes
|
|
609
760
|
|
|
610
|
-
-
|
|
611
|
-
|
|
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
|
|
612
766
|
|
|
613
767
|
### Patch Changes
|
|
614
768
|
|
|
615
|
-
-
|
|
769
|
+
- Updated dependencies
|
|
616
770
|
|
|
617
771
|
## 11.2.11
|
|
618
772
|
|
|
619
773
|
### Patch Changes
|
|
620
774
|
|
|
621
|
-
-
|
|
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
|
|
622
778
|
|
|
623
779
|
## 11.2.10
|
|
624
780
|
|
|
625
781
|
### Patch Changes
|
|
626
782
|
|
|
627
|
-
-
|
|
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
|
|
628
786
|
|
|
629
787
|
## 11.2.9
|
|
630
788
|
|
|
631
789
|
### Patch Changes
|
|
632
790
|
|
|
633
|
-
-
|
|
791
|
+
- Updated dependencies
|
|
634
792
|
|
|
635
793
|
## 11.2.8
|
|
636
794
|
|
|
637
795
|
### Patch Changes
|
|
638
796
|
|
|
639
|
-
-
|
|
797
|
+
- [patch][b41c0887cd](https://bitbucket.org/atlassian/atlassian-frontend/commits/b41c0887cd):
|
|
640
798
|
|
|
641
|
-
|
|
799
|
+
Change imports to comply with Atlassian conventions- Updated dependencies
|
|
800
|
+
[3940bd71f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/3940bd71f1):
|
|
642
801
|
|
|
643
|
-
-
|
|
644
|
-
|
|
645
|
-
|
|
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
|
|
646
806
|
|
|
647
807
|
## 11.2.7
|
|
648
808
|
|
|
649
809
|
### Patch Changes
|
|
650
810
|
|
|
651
|
-
-
|
|
652
|
-
|
|
653
|
-
-
|
|
654
|
-
|
|
655
|
-
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
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
|
|
660
825
|
|
|
661
826
|
## 11.2.6
|
|
662
827
|
|
|
663
828
|
### Patch Changes
|
|
664
829
|
|
|
665
|
-
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
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
|
|
669
835
|
|
|
670
836
|
## 11.2.5
|
|
671
837
|
|
|
672
838
|
### Patch Changes
|
|
673
839
|
|
|
674
|
-
-
|
|
840
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
675
841
|
|
|
676
|
-
|
|
842
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
843
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
677
844
|
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
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
|
|
684
851
|
|
|
685
852
|
## 11.2.4
|
|
686
853
|
|
|
687
854
|
### Patch Changes
|
|
688
855
|
|
|
689
|
-
-
|
|
856
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
690
857
|
|
|
691
|
-
|
|
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):
|
|
692
861
|
|
|
693
|
-
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
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
|
|
697
867
|
|
|
698
868
|
## 11.2.3
|
|
699
869
|
|
|
700
870
|
### Patch Changes
|
|
701
871
|
|
|
702
|
-
-
|
|
872
|
+
- [patch][36f6e99c5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36f6e99c5b):
|
|
703
873
|
|
|
704
|
-
|
|
874
|
+
Fix type errors caused when generating declaration files
|
|
705
875
|
|
|
706
876
|
## 11.2.2
|
|
707
877
|
|
|
708
878
|
### Patch Changes
|
|
709
879
|
|
|
710
|
-
-
|
|
880
|
+
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
|
|
711
881
|
|
|
712
|
-
|
|
882
|
+
Theme has been converted to Typescript. Typescript consumers will now get static type safety.
|
|
883
|
+
Flow types are no longer provided.
|
|
713
884
|
|
|
714
|
-
|
|
885
|
+
### Breaking
|
|
715
886
|
|
|
716
|
-
|
|
717
|
-
|
|
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:
|
|
718
890
|
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
891
|
+
```javascript
|
|
892
|
+
<CustomTheme.Provider
|
|
893
|
+
value={t => ({ ...t(), backgroundColor: '#333'})}
|
|
894
|
+
>
|
|
895
|
+
```
|
|
724
896
|
|
|
725
|
-
|
|
897
|
+
becomes:
|
|
726
898
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
899
|
+
```javascript
|
|
900
|
+
<CustomTheme.Provider
|
|
901
|
+
value={t => ({ ...t({}), backgroundColor: '#333'})}
|
|
902
|
+
>
|
|
903
|
+
```
|
|
732
904
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
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:
|
|
736
907
|
|
|
737
|
-
|
|
738
|
-
|
|
908
|
+
```javascript
|
|
909
|
+
import { colors } from '@atlaskit/theme';
|
|
739
910
|
|
|
740
|
-
|
|
741
|
-
|
|
911
|
+
colors.colorPalette('8');
|
|
912
|
+
```
|
|
742
913
|
|
|
743
|
-
|
|
914
|
+
to this:
|
|
744
915
|
|
|
745
|
-
|
|
746
|
-
|
|
916
|
+
```javascript
|
|
917
|
+
import { colorPalette } from '@atlaskit/theme';
|
|
747
918
|
|
|
748
|
-
|
|
749
|
-
|
|
919
|
+
colorPalette.colorPalette('8');
|
|
920
|
+
```
|
|
750
921
|
|
|
751
|
-
|
|
922
|
+
or for multi entry-point users:
|
|
752
923
|
|
|
753
|
-
|
|
754
|
-
|
|
924
|
+
```javascript
|
|
925
|
+
import * as colors from '@atlaskit/theme/colors';
|
|
755
926
|
|
|
756
|
-
|
|
757
|
-
|
|
927
|
+
colors.colorPalette('8');
|
|
928
|
+
```
|
|
758
929
|
|
|
759
|
-
|
|
930
|
+
to this:
|
|
760
931
|
|
|
761
|
-
|
|
762
|
-
|
|
932
|
+
```javascript
|
|
933
|
+
import * as colorPalettes from '@atlaskit/theme/color-palette';
|
|
763
934
|
|
|
764
|
-
|
|
765
|
-
|
|
935
|
+
colorPalettes.colorPalette('8');
|
|
936
|
+
```
|
|
766
937
|
|
|
767
938
|
## 11.2.1
|
|
768
939
|
|
|
769
940
|
### Patch Changes
|
|
770
941
|
|
|
771
|
-
-
|
|
942
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
772
943
|
|
|
773
|
-
|
|
944
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
774
945
|
|
|
775
946
|
## 11.2.0
|
|
776
947
|
|
|
777
948
|
### Minor Changes
|
|
778
949
|
|
|
779
|
-
-
|
|
950
|
+
- [minor][99957d4a20](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/99957d4a20):
|
|
780
951
|
|
|
781
|
-
|
|
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.
|
|
782
954
|
|
|
783
955
|
## 11.1.1
|
|
784
956
|
|
|
785
957
|
### Patch Changes
|
|
786
958
|
|
|
787
|
-
-
|
|
959
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
788
960
|
|
|
789
|
-
|
|
961
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
790
962
|
|
|
791
963
|
## 11.1.0
|
|
792
964
|
|
|
793
965
|
### Minor Changes
|
|
794
966
|
|
|
795
|
-
-
|
|
967
|
+
- [minor][c6efb2f5b6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c6efb2f5b6):
|
|
796
968
|
|
|
797
|
-
|
|
969
|
+
Prefix the legacy lifecycle methods with UNSAFE\_\* to avoid warning in React 16.9+
|
|
798
970
|
|
|
799
|
-
|
|
800
|
-
|
|
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
|
|
801
973
|
|
|
802
974
|
## 11.0.9
|
|
803
975
|
|
|
804
976
|
### Patch Changes
|
|
805
977
|
|
|
806
|
-
-
|
|
978
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
807
979
|
|
|
808
|
-
|
|
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
|
|
809
982
|
|
|
810
983
|
## 11.0.8
|
|
811
984
|
|
|
812
985
|
### Patch Changes
|
|
813
986
|
|
|
814
|
-
-
|
|
987
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
815
988
|
|
|
816
|
-
|
|
989
|
+
Upgraded Typescript to 3.3.x
|
|
817
990
|
|
|
818
991
|
## 11.0.7
|
|
819
992
|
|
|
820
993
|
### Patch Changes
|
|
821
994
|
|
|
822
|
-
-
|
|
995
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
823
996
|
|
|
824
|
-
|
|
997
|
+
Change all the imports to theme in Core to use multi entry points
|
|
825
998
|
|
|
826
999
|
## 11.0.6
|
|
827
1000
|
|
|
828
1001
|
### Patch Changes
|
|
829
1002
|
|
|
830
|
-
-
|
|
1003
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
831
1004
|
|
|
832
|
-
|
|
1005
|
+
Updates component maintainers
|
|
833
1006
|
|
|
834
1007
|
## 11.0.5
|
|
835
1008
|
|
|
836
1009
|
### Patch Changes
|
|
837
1010
|
|
|
838
|
-
-
|
|
1011
|
+
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
839
1012
|
|
|
840
|
-
|
|
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.
|
|
841
1015
|
|
|
842
|
-
|
|
1016
|
+
**Breaking changes**
|
|
843
1017
|
|
|
844
|
-
|
|
845
|
-
|
|
1018
|
+
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1019
|
+
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
846
1020
|
|
|
847
|
-
|
|
1021
|
+
**Breaking changes to TypeScript annotations**
|
|
848
1022
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
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
|
|
860
1039
|
|
|
861
1040
|
## 11.0.4
|
|
862
1041
|
|
|
863
1042
|
### Patch Changes
|
|
864
1043
|
|
|
865
|
-
-
|
|
1044
|
+
- [patch][3342f64d5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3342f64d5e):
|
|
866
1045
|
|
|
867
|
-
|
|
1046
|
+
Removed unused dependencies from package.json for tabs: keycode was unused.
|
|
868
1047
|
|
|
869
1048
|
## 11.0.3
|
|
870
1049
|
|
|
871
1050
|
### Patch Changes
|
|
872
1051
|
|
|
873
|
-
-
|
|
1052
|
+
- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
|
|
874
1053
|
|
|
875
|
-
|
|
1054
|
+
Type definition files are now referenced in package.json
|
|
876
1055
|
|
|
877
1056
|
## 11.0.2
|
|
878
1057
|
|
|
879
1058
|
### Patch Changes
|
|
880
1059
|
|
|
881
|
-
-
|
|
1060
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
882
1061
|
|
|
883
|
-
|
|
1062
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
884
1063
|
|
|
885
1064
|
## 11.0.1
|
|
886
1065
|
|
|
887
1066
|
### Patch Changes
|
|
888
1067
|
|
|
889
|
-
-
|
|
1068
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
890
1069
|
|
|
891
|
-
|
|
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.
|
|
892
1073
|
|
|
893
|
-
|
|
1074
|
+
Before:
|
|
894
1075
|
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1076
|
+
```typescript
|
|
1077
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
1078
|
+
```
|
|
898
1079
|
|
|
899
|
-
|
|
1080
|
+
After:
|
|
900
1081
|
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
1082
|
+
```typescript
|
|
1083
|
+
withAnalyticsEvents<Props>()(Button);
|
|
1084
|
+
```
|
|
904
1085
|
|
|
905
1086
|
## 11.0.0
|
|
906
1087
|
|
|
907
1088
|
### Major Changes
|
|
908
1089
|
|
|
909
|
-
-
|
|
1090
|
+
- [major][61a919319a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/61a919319a):
|
|
910
1091
|
|
|
911
|
-
|
|
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.
|
|
912
1095
|
|
|
913
1096
|
## 10.0.4
|
|
914
1097
|
|
|
915
1098
|
### Patch Changes
|
|
916
1099
|
|
|
917
|
-
-
|
|
1100
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
918
1101
|
|
|
919
|
-
|
|
1102
|
+
index.ts will now be ignored when publishing to npm
|
|
920
1103
|
|
|
921
1104
|
## 10.0.3
|
|
922
1105
|
|
|
923
|
-
-
|
|
924
|
-
|
|
1106
|
+
- Updated dependencies
|
|
1107
|
+
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
1108
|
+
- @atlaskit/tooltip@15.0.0
|
|
925
1109
|
|
|
926
1110
|
## 10.0.2
|
|
927
1111
|
|
|
928
|
-
-
|
|
1112
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
929
1113
|
|
|
930
|
-
|
|
1114
|
+
- This is just a safety release in case anything strange happened in in the previous one. See
|
|
1115
|
+
Pull Request #5942 for details
|
|
931
1116
|
|
|
932
1117
|
## 10.0.1
|
|
933
1118
|
|
|
934
|
-
-
|
|
935
|
-
|
|
1119
|
+
- Updated dependencies
|
|
1120
|
+
[215688984e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/215688984e):
|
|
1121
|
+
- @atlaskit/spinner@12.0.0
|
|
936
1122
|
|
|
937
1123
|
## 10.0.0
|
|
938
1124
|
|
|
939
|
-
-
|
|
1125
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
940
1126
|
|
|
941
|
-
|
|
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.
|
|
942
1129
|
|
|
943
1130
|
## 9.0.1
|
|
944
1131
|
|
|
945
|
-
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
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
|
|
950
1138
|
|
|
951
1139
|
## 9.0.0
|
|
952
1140
|
|
|
953
|
-
-
|
|
1141
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
954
1142
|
|
|
955
|
-
|
|
1143
|
+
- Drop ES5 from all the flow modules
|
|
956
1144
|
|
|
957
|
-
|
|
1145
|
+
### Dropping CJS support in all @atlaskit packages
|
|
958
1146
|
|
|
959
|
-
|
|
960
|
-
|
|
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.
|
|
961
1150
|
|
|
962
|
-
|
|
1151
|
+
The major reason for doing this is to allow us to support multiple entry points in packages,
|
|
1152
|
+
e.g:
|
|
963
1153
|
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
1154
|
+
```js
|
|
1155
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1156
|
+
```
|
|
967
1157
|
|
|
968
|
-
|
|
1158
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
969
1159
|
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
1160
|
+
```js
|
|
1161
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1162
|
+
```
|
|
973
1163
|
|
|
974
|
-
|
|
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.
|
|
975
1169
|
|
|
976
|
-
|
|
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.
|
|
977
1173
|
|
|
978
|
-
|
|
1174
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1175
|
+
environments.
|
|
979
1176
|
|
|
980
|
-
|
|
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.
|
|
981
1180
|
|
|
982
|
-
|
|
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.
|
|
983
1184
|
|
|
984
1185
|
## 8.0.11
|
|
985
1186
|
|
|
986
|
-
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
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
|
|
992
1193
|
|
|
993
1194
|
## 8.0.10
|
|
994
1195
|
|
|
995
|
-
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
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
|
|
1000
1201
|
|
|
1001
1202
|
## 8.0.9
|
|
1002
1203
|
|
|
1003
|
-
-
|
|
1204
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1205
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1004
1206
|
|
|
1005
1207
|
## 8.0.8
|
|
1006
1208
|
|
|
1007
|
-
-
|
|
1209
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1210
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1008
1211
|
|
|
1009
1212
|
## 8.0.6
|
|
1010
1213
|
|
|
1011
|
-
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
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
|
|
1016
1220
|
|
|
1017
1221
|
## 8.0.5
|
|
1018
1222
|
|
|
1019
|
-
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
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
|
|
1025
1232
|
|
|
1026
1233
|
## 8.0.4
|
|
1027
1234
|
|
|
1028
|
-
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
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
|
|
1034
1242
|
|
|
1035
1243
|
## 8.0.3
|
|
1036
1244
|
|
|
1037
|
-
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
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
|
|
1043
1253
|
|
|
1044
1254
|
## 8.0.2
|
|
1045
1255
|
|
|
1046
|
-
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
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
|
|
1052
1264
|
|
|
1053
1265
|
## 8.0.1
|
|
1054
1266
|
|
|
1055
|
-
-
|
|
1056
|
-
|
|
1267
|
+
- [patch] Updated dependencies
|
|
1268
|
+
[e6b1985](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e6b1985)
|
|
1269
|
+
- @atlaskit/tooltip@12.0.0
|
|
1057
1270
|
|
|
1058
1271
|
## 8.0.0
|
|
1059
1272
|
|
|
1060
|
-
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
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
|
|
1074
1294
|
|
|
1075
1295
|
## 7.1.3
|
|
1076
1296
|
|
|
1077
|
-
-
|
|
1078
|
-
|
|
1297
|
+
- [patch] Updated dependencies
|
|
1298
|
+
[cdba8b3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba8b3)
|
|
1299
|
+
- @atlaskit/spinner@8.0.0
|
|
1079
1300
|
|
|
1080
1301
|
## 7.1.2
|
|
1081
1302
|
|
|
1082
|
-
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
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
|
|
1087
1310
|
|
|
1088
1311
|
## 7.1.1
|
|
1089
1312
|
|
|
1090
|
-
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
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
|
|
1095
1320
|
|
|
1096
1321
|
## 7.1.0
|
|
1097
1322
|
|
|
1098
|
-
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
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
|
|
1103
1329
|
|
|
1104
1330
|
## 7.0.1
|
|
1105
1331
|
|
|
1106
|
-
-
|
|
1107
|
-
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
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
|
|
1112
1339
|
|
|
1113
1340
|
## 7.0.0
|
|
1114
1341
|
|
|
1115
|
-
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
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
|
|
1121
1350
|
|
|
1122
1351
|
## 6.0.3
|
|
1123
1352
|
|
|
1124
|
-
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
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
|
|
1129
1359
|
|
|
1130
1360
|
## 6.0.1
|
|
1131
1361
|
|
|
1132
|
-
-
|
|
1362
|
+
- [patch] Update types [0073768](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0073768)
|
|
1133
1363
|
|
|
1134
1364
|
## 6.0.0
|
|
1135
1365
|
|
|
1136
|
-
-
|
|
1366
|
+
- [major] Bump to React 16.3.
|
|
1367
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1137
1368
|
|
|
1138
1369
|
## 5.2.1
|
|
1139
1370
|
|
|
1140
|
-
-
|
|
1371
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1372
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1141
1373
|
|
|
1142
1374
|
## 5.2.0
|
|
1143
1375
|
|
|
1144
|
-
-
|
|
1376
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
1377
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1145
1378
|
|
|
1146
1379
|
## 5.1.3
|
|
1147
1380
|
|
|
1148
|
-
-
|
|
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)
|
|
1149
1383
|
|
|
1150
1384
|
## 5.1.2
|
|
1151
1385
|
|
|
1152
|
-
-
|
|
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)
|
|
1153
1389
|
|
|
1154
1390
|
## 5.1.1
|
|
1155
1391
|
|
|
1156
|
-
-
|
|
1392
|
+
- [patch] Packages Flow types for elements components
|
|
1393
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1157
1394
|
|
|
1158
1395
|
## 5.1.0
|
|
1159
1396
|
|
|
1160
|
-
-
|
|
1397
|
+
- [minor] Add React 16 support.
|
|
1398
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
1161
1399
|
|
|
1162
1400
|
## 5.0.1
|
|
1163
1401
|
|
|
1164
|
-
-
|
|
1402
|
+
- [patch] fix tabs so that it re-renders when content props update
|
|
1403
|
+
[9b039dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9b039dd)
|
|
1165
1404
|
|
|
1166
1405
|
## 5.0.0
|
|
1167
1406
|
|
|
1168
|
-
-
|
|
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)
|
|
1169
1416
|
|
|
1170
1417
|
## 4.1.0
|
|
1171
1418
|
|
|
1172
|
-
-
|
|
1419
|
+
- [minor] Update type for label to accept string
|
|
1420
|
+
[0d0ca5f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0d0ca5f)
|
|
1173
1421
|
|
|
1174
1422
|
## 4.0.5
|
|
1175
1423
|
|
|
1176
|
-
-
|
|
1424
|
+
- [patch] Migrate to ak-mk-2
|
|
1425
|
+
[4c679a0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4c679a0)
|
|
1177
1426
|
|
|
1178
1427
|
## 4.0.4 (2017-11-17)
|
|
1179
1428
|
|
|
1180
|
-
-
|
|
1429
|
+
- bug fix; bumping internal dependencies to latest version
|
|
1430
|
+
([f87bb04](https://bitbucket.org/atlassian/atlaskit/commits/f87bb04))
|
|
1181
1431
|
|
|
1182
1432
|
## 4.0.3 (2017-10-26)
|
|
1183
1433
|
|
|
1184
|
-
-
|
|
1434
|
+
- bug fix; fix to rebuild stories
|
|
1435
|
+
([793b2a7](https://bitbucket.org/atlassian/atlaskit/commits/793b2a7))
|
|
1185
1436
|
|
|
1186
1437
|
## 4.0.2 (2017-10-22)
|
|
1187
1438
|
|
|
1188
|
-
-
|
|
1439
|
+
- bug fix; update styled-components dep and react peerDep
|
|
1440
|
+
([6a67bf8](https://bitbucket.org/atlassian/atlaskit/commits/6a67bf8))
|
|
1189
1441
|
|
|
1190
1442
|
## 4.0.1 (2017-10-04)
|
|
1191
1443
|
|
|
1192
|
-
-
|
|
1444
|
+
- bug fix; tabs now hide overflow, and ellipsis text-overflow (issues closed: #ak3519)
|
|
1445
|
+
([aa91734](https://bitbucket.org/atlassian/atlaskit/commits/aa91734))
|
|
1193
1446
|
|
|
1194
1447
|
## 4.0.0 (2017-08-11)
|
|
1195
1448
|
|
|
1196
|
-
-
|
|
1197
|
-
|
|
1198
|
-
-
|
|
1199
|
-
|
|
1200
|
-
-
|
|
1201
|
-
|
|
1202
|
-
-
|
|
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))
|
|
1203
1462
|
|
|
1204
1463
|
## 3.0.0 (2017-08-11)
|
|
1205
1464
|
|
|
1206
|
-
-
|
|
1207
|
-
|
|
1208
|
-
-
|
|
1209
|
-
|
|
1210
|
-
-
|
|
1211
|
-
-
|
|
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))
|
|
1212
1476
|
|
|
1213
1477
|
## 2.4.2 (2017-07-27)
|
|
1214
1478
|
|
|
1215
|
-
-
|
|
1479
|
+
- fix; rename jsnext:main to jsnext:experimental:main temporarily
|
|
1480
|
+
([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
|
|
1216
1481
|
|
|
1217
1482
|
## 2.4.1 (2017-07-25)
|
|
1218
1483
|
|
|
1219
|
-
-
|
|
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))
|
|
1220
1486
|
|
|
1221
1487
|
## 2.1.0 (2017-07-17)
|
|
1222
1488
|
|
|
1223
|
-
-
|
|
1489
|
+
- fix; rerelease, failed prepublish scripts
|
|
1490
|
+
([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
|
|
1224
1491
|
|
|
1225
1492
|
## 2.1.0 (2017-07-17)
|
|
1226
1493
|
|
|
1227
|
-
-
|
|
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))
|
|
1228
1496
|
|
|
1229
1497
|
## 2.0.0 (2017-05-30)
|
|
1230
1498
|
|
|
1231
|
-
-
|
|
1232
|
-
|
|
1233
|
-
-
|
|
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
|
|
1234
1503
|
|
|
1235
1504
|
## 1.3.3 (2017-05-26)
|
|
1236
1505
|
|
|
1237
|
-
-
|
|
1238
|
-
|
|
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))
|
|
1239
1510
|
|
|
1240
1511
|
## 1.3.2 (2017-04-27)
|
|
1241
1512
|
|
|
1242
|
-
-
|
|
1513
|
+
- fix; update legal copy to be more clear. Not all modules include ADG license.
|
|
1514
|
+
([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
|
|
1243
1515
|
|
|
1244
1516
|
## 1.3.1 (2017-04-26)
|
|
1245
1517
|
|
|
1246
|
-
-
|
|
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))
|
|
1247
1520
|
|
|
1248
1521
|
## 1.3.0 (2017-04-20)
|
|
1249
1522
|
|
|
1250
|
-
-
|
|
1523
|
+
- feature; removed explicit style! imports, set style-loader in webpack config
|
|
1524
|
+
([891fc3c](https://bitbucket.org/atlassian/atlaskit/commits/891fc3c))
|
|
1251
1525
|
|
|
1252
1526
|
## 1.2.8 (2017-03-23)
|
|
1253
1527
|
|
|
1254
|
-
-
|
|
1528
|
+
- fix; empty commit to force release of tabs
|
|
1529
|
+
([47d958e](https://bitbucket.org/atlassian/atlaskit/commits/47d958e))
|
|
1255
1530
|
|
|
1256
1531
|
## 1.2.6 (2017-03-21)
|
|
1257
1532
|
|
|
1258
|
-
-
|
|
1533
|
+
- fix; maintainers for all the packages were added
|
|
1534
|
+
([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
|
|
1259
1535
|
|
|
1260
1536
|
## 1.2.5 (2017-02-22)
|
|
1261
1537
|
|
|
1262
|
-
-
|
|
1538
|
+
- fix; trigger onSelect prop on keyboard nav
|
|
1539
|
+
([71bb315](https://bitbucket.org/atlassian/atlaskit/commits/71bb315))
|
|
1263
1540
|
|
|
1264
1541
|
## 1.2.4 (2017-02-10)
|
|
1265
1542
|
|
|
1266
|
-
-
|
|
1543
|
+
- fix; render tabs with flex content correctly in FF and IE11
|
|
1544
|
+
([dc181da](https://bitbucket.org/atlassian/atlaskit/commits/dc181da))
|
|
1267
1545
|
|
|
1268
1546
|
## 1.2.2 (2017-02-07)
|
|
1269
1547
|
|
|
1270
|
-
-
|
|
1271
|
-
|
|
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))
|
|
1272
1552
|
|
|
1273
1553
|
## 1.2.0 (2017-02-03)
|
|
1274
1554
|
|
|
1275
|
-
-
|
|
1276
|
-
|
|
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))
|