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