@atlaskit/tabs 17.0.1 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/components/tab.js +2 -7
- package/dist/cjs/components/tabs.js +1 -1
- package/dist/es2019/components/tab.js +1 -5
- package/dist/es2019/components/tabs.js +1 -1
- package/dist/esm/components/tab.js +1 -5
- package/dist/esm/components/tabs.js +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/tabs
|
|
2
2
|
|
|
3
|
+
## 17.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#104842](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104842)
|
|
8
|
+
[`72f5b10de1847`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/72f5b10de1847) -
|
|
9
|
+
Migrated from primitives components to primitives/compiled components
|
|
10
|
+
|
|
11
|
+
## 17.0.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#103999](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103999)
|
|
16
|
+
[`9f62ecec4d422`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9f62ecec4d422) -
|
|
17
|
+
Update dependencies.
|
|
18
|
+
|
|
3
19
|
## 17.0.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -8,15 +8,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _focusRing = _interopRequireDefault(require("@atlaskit/focus-ring"));
|
|
11
|
-
var
|
|
11
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
12
12
|
var _hooks = require("../hooks");
|
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
|
-
/**
|
|
16
|
-
* TODO - https://product-fabric.atlassian.net/browse/DSP-21564
|
|
17
|
-
* Will be moved to @atlaskit/primitives/compiled, VRs will be updated.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
15
|
/**
|
|
21
16
|
* __Tab__
|
|
22
17
|
*
|
|
@@ -53,7 +48,7 @@ var Tab = /*#__PURE__*/(0, _react.forwardRef)(function Tab(_ref, ref) {
|
|
|
53
48
|
role: role,
|
|
54
49
|
tabIndex: tabIndex,
|
|
55
50
|
ref: ref
|
|
56
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
51
|
+
}, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
57
52
|
weight: "medium",
|
|
58
53
|
color: "inherit",
|
|
59
54
|
maxLines: 1
|
|
@@ -25,7 +25,7 @@ var tabsStyles = null;
|
|
|
25
25
|
var analyticsAttributes = {
|
|
26
26
|
componentName: 'tabs',
|
|
27
27
|
packageName: "@atlaskit/tabs",
|
|
28
|
-
packageVersion: "17.0
|
|
28
|
+
packageVersion: "17.1.0"
|
|
29
29
|
};
|
|
30
30
|
var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
|
|
31
31
|
var tabPanel = _ref.tabPanel,
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import FocusRing from '@atlaskit/focus-ring';
|
|
3
|
-
|
|
4
|
-
* TODO - https://product-fabric.atlassian.net/browse/DSP-21564
|
|
5
|
-
* Will be moved to @atlaskit/primitives/compiled, VRs will be updated.
|
|
6
|
-
*/
|
|
7
|
-
import { Text } from '@atlaskit/primitives';
|
|
3
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
8
4
|
import { useTab } from '../hooks';
|
|
9
5
|
/**
|
|
10
6
|
* __Tab__
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import FocusRing from '@atlaskit/focus-ring';
|
|
3
|
-
|
|
4
|
-
* TODO - https://product-fabric.atlassian.net/browse/DSP-21564
|
|
5
|
-
* Will be moved to @atlaskit/primitives/compiled, VRs will be updated.
|
|
6
|
-
*/
|
|
7
|
-
import { Text } from '@atlaskit/primitives';
|
|
3
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
8
4
|
import { useTab } from '../hooks';
|
|
9
5
|
/**
|
|
10
6
|
* __Tab__
|
|
@@ -15,7 +15,7 @@ var tabsStyles = null;
|
|
|
15
15
|
var analyticsAttributes = {
|
|
16
16
|
componentName: 'tabs',
|
|
17
17
|
packageName: "@atlaskit/tabs",
|
|
18
|
-
packageVersion: "17.0
|
|
18
|
+
packageVersion: "17.1.0"
|
|
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": "17.0
|
|
3
|
+
"version": "17.1.0",
|
|
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/"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
41
41
|
"@atlaskit/primitives": "^13.3.0",
|
|
42
42
|
"@atlaskit/theme": "^14.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^3.
|
|
43
|
+
"@atlaskit/tokens": "^3.1.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@compiled/react": "^0.18.1"
|
|
46
46
|
},
|
|
@@ -60,8 +60,7 @@
|
|
|
60
60
|
"react-dom": "^16.8.0",
|
|
61
61
|
"react-lorem-component": "^0.13.0",
|
|
62
62
|
"storybook-addon-performance": "^0.17.3",
|
|
63
|
-
"typescript": "~5.4.2"
|
|
64
|
-
"wait-for-expect": "^1.2.0"
|
|
63
|
+
"typescript": "~5.4.2"
|
|
65
64
|
},
|
|
66
65
|
"techstack": {
|
|
67
66
|
"@atlassian/frontend": {
|