@atlaskit/tabs 18.2.0 → 18.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -7
- package/dist/cjs/components/tab.js +1 -1
- package/dist/cjs/components/tabs.js +1 -1
- package/dist/es2019/components/tab.js +1 -1
- package/dist/es2019/components/tabs.js +1 -1
- package/dist/esm/components/tab.js +1 -1
- package/dist/esm/components/tabs.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/tabs
|
|
2
2
|
|
|
3
|
+
## 18.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 18.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 18.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -986,7 +998,6 @@
|
|
|
986
998
|
`shouldUnmountTabPanelOnChange` is the inverse of `isContentPersisted`.
|
|
987
999
|
|
|
988
1000
|
### Other changes
|
|
989
|
-
|
|
990
1001
|
- Remove `TabItem` and `TabContent` export.
|
|
991
1002
|
- Remove the types: `TabItemElementProps`, `TabItemComponentProvided`,
|
|
992
1003
|
`TabContentComponentProvided`, `TabItemType`, `TabContentType`, `SelectedProp`,
|
|
@@ -1171,7 +1182,6 @@
|
|
|
1171
1182
|
|
|
1172
1183
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1173
1184
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1174
|
-
|
|
1175
1185
|
- @atlaskit/docs@8.3.2
|
|
1176
1186
|
- @atlaskit/visual-regression@0.1.9
|
|
1177
1187
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1344,12 +1354,10 @@
|
|
|
1344
1354
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1345
1355
|
|
|
1346
1356
|
**Breaking changes**
|
|
1347
|
-
|
|
1348
1357
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1349
1358
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1350
1359
|
|
|
1351
1360
|
**Breaking changes to TypeScript annotations**
|
|
1352
|
-
|
|
1353
1361
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1354
1362
|
props as a generic type.
|
|
1355
1363
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1440,7 +1448,6 @@
|
|
|
1440
1448
|
## 10.0.2
|
|
1441
1449
|
|
|
1442
1450
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
1443
|
-
|
|
1444
1451
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
1445
1452
|
Request #5942 for details
|
|
1446
1453
|
|
|
@@ -1453,7 +1460,6 @@
|
|
|
1453
1460
|
## 10.0.0
|
|
1454
1461
|
|
|
1455
1462
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1456
|
-
|
|
1457
1463
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1458
1464
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1459
1465
|
|
|
@@ -1469,7 +1475,6 @@
|
|
|
1469
1475
|
## 9.0.0
|
|
1470
1476
|
|
|
1471
1477
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1472
|
-
|
|
1473
1478
|
- Drop ES5 from all the flow modules
|
|
1474
1479
|
|
|
1475
1480
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -33,7 +33,7 @@ var Tab = /*#__PURE__*/(0, _react.forwardRef)(function Tab(_ref, ref) {
|
|
|
33
33
|
tabIndex = _useTab.tabIndex;
|
|
34
34
|
return (
|
|
35
35
|
/*#__PURE__*/
|
|
36
|
-
// eslint-disable-next-line
|
|
36
|
+
// eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
|
|
37
37
|
_react.default.createElement(_compiled.Focusable, {
|
|
38
38
|
as: "div",
|
|
39
39
|
isInset: true,
|
|
@@ -24,7 +24,7 @@ var tabsStyles = null;
|
|
|
24
24
|
var analyticsAttributes = {
|
|
25
25
|
componentName: 'tabs',
|
|
26
26
|
packageName: "@atlaskit/tabs",
|
|
27
|
-
packageVersion: "18.1
|
|
27
|
+
packageVersion: "18.2.1"
|
|
28
28
|
};
|
|
29
29
|
var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
|
|
30
30
|
var tabPanel = _ref.tabPanel,
|
|
@@ -27,7 +27,7 @@ const Tab = /*#__PURE__*/forwardRef(function Tab({
|
|
|
27
27
|
} = useTab();
|
|
28
28
|
return (
|
|
29
29
|
/*#__PURE__*/
|
|
30
|
-
// eslint-disable-next-line
|
|
30
|
+
// eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
|
|
31
31
|
React.createElement(Focusable, {
|
|
32
32
|
as: "div",
|
|
33
33
|
isInset: true,
|
|
@@ -25,7 +25,7 @@ var Tab = /*#__PURE__*/forwardRef(function Tab(_ref, ref) {
|
|
|
25
25
|
tabIndex = _useTab.tabIndex;
|
|
26
26
|
return (
|
|
27
27
|
/*#__PURE__*/
|
|
28
|
-
// eslint-disable-next-line
|
|
28
|
+
// eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
|
|
29
29
|
React.createElement(Focusable, {
|
|
30
30
|
as: "div",
|
|
31
31
|
isInset: true,
|
|
@@ -15,7 +15,7 @@ var tabsStyles = null;
|
|
|
15
15
|
var analyticsAttributes = {
|
|
16
16
|
componentName: 'tabs',
|
|
17
17
|
packageName: "@atlaskit/tabs",
|
|
18
|
-
packageVersion: "18.1
|
|
18
|
+
packageVersion: "18.2.1"
|
|
19
19
|
};
|
|
20
20
|
var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
|
|
21
21
|
var tabPanel = _ref.tabPanel,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tabs",
|
|
3
|
-
"version": "18.2.
|
|
3
|
+
"version": "18.2.2",
|
|
4
4
|
"description": "Tabs are used to organize content by grouping similar information on the same page.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
36
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
37
|
-
"@atlaskit/primitives": "^
|
|
37
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
38
38
|
"@atlaskit/theme": "^21.0.0",
|
|
39
|
-
"@atlaskit/tokens": "^
|
|
39
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
|
-
"@compiled/react": "^0.18.
|
|
41
|
+
"@compiled/react": "^0.18.6"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": "^18.2.0"
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"@af/accessibility-testing": "workspace:^",
|
|
48
48
|
"@af/integration-testing": "workspace:^",
|
|
49
49
|
"@af/visual-regression": "workspace:^",
|
|
50
|
-
"@atlaskit/button": "^23.
|
|
51
|
-
"@atlaskit/css": "^0.
|
|
52
|
-
"@atlaskit/docs": "^11.
|
|
50
|
+
"@atlaskit/button": "^23.5.0",
|
|
51
|
+
"@atlaskit/css": "^0.15.0",
|
|
52
|
+
"@atlaskit/docs": "^11.2.0",
|
|
53
53
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
54
54
|
"@atlaskit/link": "^3.2.0",
|
|
55
55
|
"@atlaskit/section-message": "^8.7.0",
|