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