@atlaskit/tabs 18.1.11 → 18.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/components/tab-list.compiled.css +3 -11
- package/dist/cjs/components/tab-list.js +3 -8
- package/dist/cjs/components/tabs.js +2 -2
- package/dist/es2019/components/tab-list.compiled.css +0 -8
- package/dist/es2019/components/tab-list.js +2 -4
- package/dist/es2019/components/tabs.js +2 -2
- package/dist/esm/components/tab-list.compiled.css +3 -11
- package/dist/esm/components/tab-list.js +3 -8
- package/dist/esm/components/tabs.js +2 -2
- package/dist/types/components/tab.d.ts +1 -1
- package/dist/types-ts4.5/components/tab.d.ts +1 -1
- package/package.json +5 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/tabs
|
|
2
2
|
|
|
3
|
+
## 18.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`2d90078a9d301`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2d90078a9d301) -
|
|
8
|
+
[ux] Updates tabs styles to reflect our new visual design language. These changes were previously
|
|
9
|
+
behind a feature flag and are now fully rolled out.
|
|
10
|
+
|
|
11
|
+
## 18.1.12
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
|
|
16
|
+
add type info to forwardRef components
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 18.1.11
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
._rfx3lb4i:before{border-radius:var(--ds-radius-xsmall,2px)}
|
|
6
|
-
._1b8dfiwc [role=tab]:active:after{border-block-end:var(--_y4kn7q)}
|
|
7
|
-
._1b8downz [role=tab]:active:after{border-block-end:var(--_afs77)}
|
|
8
|
-
._1lzufiwc [role=tab]:hover:after{border-block-end:var(--_y4kn7q)}
|
|
9
|
-
._1lzuownz [role=tab]:hover:after{border-block-end:var(--_afs77)}
|
|
10
|
-
._rsmz12s7 [role=tab][aria-selected=true]:after{border-block-end:var(--_1c11uqn)}
|
|
11
|
-
._rsmz73hj [role=tab][aria-selected=true]:after{border-block-end:var(--_1q7mpl4)}._10vzidpf [role=tab]{margin-right:0}
|
|
2
|
+
._1b8d1mrt [role=tab]:active:after{border-block-end:3px solid var(--ds-border,transparent)}
|
|
3
|
+
._1lzu1mrt [role=tab]:hover:after{border-block-end:3px solid var(--ds-border,transparent)}
|
|
4
|
+
._rsmz12s7 [role=tab][aria-selected=true]:after{border-block-end:var(--_1c11uqn)}._10vzidpf [role=tab]{margin-right:0}
|
|
12
5
|
._140sidpf [role=tab]:hover:after{height:0}
|
|
13
6
|
._15d8b3bt [role=tab]:hover:after{content:""}
|
|
14
7
|
._15plidpf [role=tab]{margin-left:0}
|
|
@@ -60,7 +53,6 @@
|
|
|
60
53
|
._fntnidpf:before{margin-left:0}
|
|
61
54
|
._gpbcidpf [role=tab]{margin-top:0}
|
|
62
55
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
63
|
-
._kfgt1dm9:before{height:var(--ds-border-width-selected,2px)}
|
|
64
56
|
._kfgte4h9:before{height:var(--ds-border-width,1px)}
|
|
65
57
|
._kn0bidpf [role=tab][aria-selected=true]:after{margin-bottom:0}
|
|
66
58
|
._kqswh2mm{position:relative}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tab-list.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tab-list.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
@@ -10,14 +10,12 @@ require("./tab-list.compiled.css");
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var React = _react;
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
13
|
var _colors = require("@atlaskit/theme/colors");
|
|
15
14
|
var _hooks = require("../hooks");
|
|
16
15
|
var _context = require("../internal/context");
|
|
17
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
18
17
|
var baseStyles = null;
|
|
19
18
|
var tabListStyles = null;
|
|
20
|
-
var tabListStylesOld = null;
|
|
21
19
|
|
|
22
20
|
/**
|
|
23
21
|
* __TabList__
|
|
@@ -99,17 +97,14 @@ var TabList = function TabList(_ref) {
|
|
|
99
97
|
return /*#__PURE__*/React.createElement("div", {
|
|
100
98
|
role: "tablist",
|
|
101
99
|
ref: ref,
|
|
102
|
-
className: (0, _runtime.ax)(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t",
|
|
100
|
+
className: (0, _runtime.ax)(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t", "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quz1425 _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _1lzu1mrt _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oaz1fgx _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1b8d1mrt _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i2072d1 _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _rsmz12s7 _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiemln51 _pascidpf _eid3idpf _zr3eidpf _fntnidpf _1mp41kw7 _kfgte4h9 _1cs8stnw _1russudh _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc"]),
|
|
103
101
|
style: {
|
|
104
102
|
"--_13a5t4u": (0, _runtime.ix)("var(--ds-text-subtle, ".concat(_colors.N500, ")")),
|
|
105
103
|
"--_kkbq40": (0, _runtime.ix)("var(--ds-text-subtle, ".concat(_colors.B400, ")")),
|
|
106
|
-
"--_y4kn7q": (0, _runtime.ix)("3px solid ".concat("var(--ds-border, transparent)")),
|
|
107
104
|
"--_71dbsd": (0, _runtime.ix)("var(--ds-text, ".concat(_colors.B500, ")")),
|
|
108
105
|
"--_1hfkvbo": (0, _runtime.ix)("var(--ds-text-selected, ".concat(_colors.B400, ")")),
|
|
109
106
|
"--_1c11uqn": (0, _runtime.ix)("3px solid ".concat("var(--ds-border-selected, ".concat(_colors.B400, ")"))),
|
|
110
|
-
"--_lvpq93": (0, _runtime.ix)("var(--ds-border, ".concat(_colors.N30, ")"))
|
|
111
|
-
"--_afs77": (0, _runtime.ix)("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, transparent)")),
|
|
112
|
-
"--_1q7mpl4": (0, _runtime.ix)("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-selected, ".concat(_colors.B400, ")")))
|
|
107
|
+
"--_lvpq93": (0, _runtime.ix)("var(--ds-border, ".concat(_colors.N30, ")"))
|
|
113
108
|
}
|
|
114
109
|
}, childrenArray.map(function (child, index) {
|
|
115
110
|
return getTabWithContext({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tabs.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tabs.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -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.1.12"
|
|
28
28
|
};
|
|
29
29
|
var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
|
|
30
30
|
var tabPanel = _ref.tabPanel,
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
._17hylb4i [role=tab]:hover:after{border-radius:var(--ds-radius-xsmall,2px)}
|
|
3
|
-
._1jaklb4i [role=tab]:active:after{border-radius:var(--ds-radius-xsmall,2px)}
|
|
4
|
-
._9r9ulb4i [role=tab][aria-selected=true]:after{border-radius:var(--ds-radius-xsmall,2px)}
|
|
5
|
-
._rfx3lb4i:before{border-radius:var(--ds-radius-xsmall,2px)}
|
|
6
2
|
._1b8d1mrt [role=tab]:active:after{border-block-end:3px solid var(--ds-border,transparent)}
|
|
7
|
-
._1b8dokkv [role=tab]:active:after{border-block-end:var(--ds-border-width-selected,2px) solid var(--ds-border,transparent)}
|
|
8
3
|
._1lzu1mrt [role=tab]:hover:after{border-block-end:3px solid var(--ds-border,transparent)}
|
|
9
|
-
._1lzuokkv [role=tab]:hover:after{border-block-end:var(--ds-border-width-selected,2px) solid var(--ds-border,transparent)}
|
|
10
|
-
._rsmz5eut [role=tab][aria-selected=true]:after{border-block-end:var(--ds-border-width-selected,2px) solid var(--ds-border-selected,#0052cc)}
|
|
11
4
|
._rsmzwg2n [role=tab][aria-selected=true]:after{border-block-end:3px solid var(--ds-border-selected,#0052cc)}._10vzidpf [role=tab]{margin-right:0}
|
|
12
5
|
._140sidpf [role=tab]:hover:after{height:0}
|
|
13
6
|
._15d8b3bt [role=tab]:hover:after{content:""}
|
|
@@ -60,7 +53,6 @@
|
|
|
60
53
|
._fntnidpf:before{margin-left:0}
|
|
61
54
|
._gpbcidpf [role=tab]{margin-top:0}
|
|
62
55
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
63
|
-
._kfgt1dm9:before{height:var(--ds-border-width-selected,2px)}
|
|
64
56
|
._kfgte4h9:before{height:var(--ds-border-width,1px)}
|
|
65
57
|
._kn0bidpf [role=tab][aria-selected=true]:after{margin-bottom:0}
|
|
66
58
|
._kqswh2mm{position:relative}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
/* tab-list.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tab-list.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./tab-list.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { Children, createRef, useCallback } from 'react';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
import { B400, B500, N30, N500 } from '@atlaskit/theme/colors';
|
|
8
7
|
import { useTabList } from '../hooks';
|
|
9
8
|
import { TabContext } from '../internal/context';
|
|
10
9
|
const baseStyles = null;
|
|
11
10
|
const tabListStyles = null;
|
|
12
|
-
const tabListStylesOld = null;
|
|
13
11
|
|
|
14
12
|
/**
|
|
15
13
|
* __TabList__
|
|
@@ -90,7 +88,7 @@ const TabList = ({
|
|
|
90
88
|
return /*#__PURE__*/React.createElement("div", {
|
|
91
89
|
role: "tablist",
|
|
92
90
|
ref: ref,
|
|
93
|
-
className: ax(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t",
|
|
91
|
+
className: ax(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t", "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quzjjyb _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _1lzu1mrt _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oazdud1 _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1b8d1mrt _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i201ouy _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _rsmzwg2n _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiem1ldt _pascidpf _eid3idpf _zr3eidpf _fntnidpf _1mp41kw7 _kfgte4h9 _1cs8stnw _1rushloo _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc"])
|
|
94
92
|
}, childrenArray.map((child, index) => getTabWithContext({
|
|
95
93
|
tab: child,
|
|
96
94
|
index,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tabs.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tabs.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./tabs.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -10,7 +10,7 @@ const tabsStyles = null;
|
|
|
10
10
|
const analyticsAttributes = {
|
|
11
11
|
componentName: 'tabs',
|
|
12
12
|
packageName: "@atlaskit/tabs",
|
|
13
|
-
packageVersion: "18.1.
|
|
13
|
+
packageVersion: "18.1.12"
|
|
14
14
|
};
|
|
15
15
|
const getTabPanelWithContext = ({
|
|
16
16
|
tabPanel,
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
._rfx3lb4i:before{border-radius:var(--ds-radius-xsmall,2px)}
|
|
6
|
-
._1b8dfiwc [role=tab]:active:after{border-block-end:var(--_y4kn7q)}
|
|
7
|
-
._1b8downz [role=tab]:active:after{border-block-end:var(--_afs77)}
|
|
8
|
-
._1lzufiwc [role=tab]:hover:after{border-block-end:var(--_y4kn7q)}
|
|
9
|
-
._1lzuownz [role=tab]:hover:after{border-block-end:var(--_afs77)}
|
|
10
|
-
._rsmz12s7 [role=tab][aria-selected=true]:after{border-block-end:var(--_1c11uqn)}
|
|
11
|
-
._rsmz73hj [role=tab][aria-selected=true]:after{border-block-end:var(--_1q7mpl4)}._10vzidpf [role=tab]{margin-right:0}
|
|
2
|
+
._1b8d1mrt [role=tab]:active:after{border-block-end:3px solid var(--ds-border,transparent)}
|
|
3
|
+
._1lzu1mrt [role=tab]:hover:after{border-block-end:3px solid var(--ds-border,transparent)}
|
|
4
|
+
._rsmz12s7 [role=tab][aria-selected=true]:after{border-block-end:var(--_1c11uqn)}._10vzidpf [role=tab]{margin-right:0}
|
|
12
5
|
._140sidpf [role=tab]:hover:after{height:0}
|
|
13
6
|
._15d8b3bt [role=tab]:hover:after{content:""}
|
|
14
7
|
._15plidpf [role=tab]{margin-left:0}
|
|
@@ -60,7 +53,6 @@
|
|
|
60
53
|
._fntnidpf:before{margin-left:0}
|
|
61
54
|
._gpbcidpf [role=tab]{margin-top:0}
|
|
62
55
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
63
|
-
._kfgt1dm9:before{height:var(--ds-border-width-selected,2px)}
|
|
64
56
|
._kfgte4h9:before{height:var(--ds-border-width,1px)}
|
|
65
57
|
._kn0bidpf [role=tab][aria-selected=true]:after{margin-bottom:0}
|
|
66
58
|
._kqswh2mm{position:relative}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
/* tab-list.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tab-list.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./tab-list.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { Children, createRef, useCallback } from 'react';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
import { B400, B500, N30, N500 } from '@atlaskit/theme/colors';
|
|
8
7
|
import { useTabList } from '../hooks';
|
|
9
8
|
import { TabContext } from '../internal/context';
|
|
10
9
|
var baseStyles = null;
|
|
11
10
|
var tabListStyles = null;
|
|
12
|
-
var tabListStylesOld = null;
|
|
13
11
|
|
|
14
12
|
/**
|
|
15
13
|
* __TabList__
|
|
@@ -91,17 +89,14 @@ var TabList = function TabList(_ref) {
|
|
|
91
89
|
return /*#__PURE__*/React.createElement("div", {
|
|
92
90
|
role: "tablist",
|
|
93
91
|
ref: ref,
|
|
94
|
-
className: ax(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t",
|
|
92
|
+
className: ax(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t", "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quz1425 _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _1lzu1mrt _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oaz1fgx _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1b8d1mrt _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i2072d1 _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _rsmz12s7 _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiemln51 _pascidpf _eid3idpf _zr3eidpf _fntnidpf _1mp41kw7 _kfgte4h9 _1cs8stnw _1russudh _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc"]),
|
|
95
93
|
style: {
|
|
96
94
|
"--_13a5t4u": ix("var(--ds-text-subtle, ".concat(N500, ")")),
|
|
97
95
|
"--_kkbq40": ix("var(--ds-text-subtle, ".concat(B400, ")")),
|
|
98
|
-
"--_y4kn7q": ix("3px solid ".concat("var(--ds-border, transparent)")),
|
|
99
96
|
"--_71dbsd": ix("var(--ds-text, ".concat(B500, ")")),
|
|
100
97
|
"--_1hfkvbo": ix("var(--ds-text-selected, ".concat(B400, ")")),
|
|
101
98
|
"--_1c11uqn": ix("3px solid ".concat("var(--ds-border-selected, ".concat(B400, ")"))),
|
|
102
|
-
"--_lvpq93": ix("var(--ds-border, ".concat(N30, ")"))
|
|
103
|
-
"--_afs77": ix("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, transparent)")),
|
|
104
|
-
"--_1q7mpl4": ix("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-selected, ".concat(B400, ")")))
|
|
99
|
+
"--_lvpq93": ix("var(--ds-border, ".concat(N30, ")"))
|
|
105
100
|
}
|
|
106
101
|
}, childrenArray.map(function (child, index) {
|
|
107
102
|
return getTabWithContext({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tabs.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tabs.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _toArray from "@babel/runtime/helpers/toArray";
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
@@ -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.1.12"
|
|
19
19
|
};
|
|
20
20
|
var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
|
|
21
21
|
var tabPanel = _ref.tabPanel,
|
|
@@ -9,5 +9,5 @@ import { type TabProps } from '../types';
|
|
|
9
9
|
* - [Code](https://atlassian.design/components/tabs/code)
|
|
10
10
|
* - [Usage](https://atlassian.design/components/tabs/usage)
|
|
11
11
|
*/
|
|
12
|
-
declare const Tab: React.ForwardRefExoticComponent<TabProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const Tab: React.ForwardRefExoticComponent<React.PropsWithoutRef<TabProps> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
export default Tab;
|
|
@@ -9,5 +9,5 @@ import { type TabProps } from '../types';
|
|
|
9
9
|
* - [Code](https://atlassian.design/components/tabs/code)
|
|
10
10
|
* - [Usage](https://atlassian.design/components/tabs/usage)
|
|
11
11
|
*/
|
|
12
|
-
declare const Tab: React.ForwardRefExoticComponent<TabProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const Tab: React.ForwardRefExoticComponent<React.PropsWithoutRef<TabProps> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
export default Tab;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tabs",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.2.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/"
|
|
@@ -34,10 +34,9 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
36
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
37
|
-
"@atlaskit/
|
|
38
|
-
"@atlaskit/primitives": "^14.14.0",
|
|
37
|
+
"@atlaskit/primitives": "^14.15.0",
|
|
39
38
|
"@atlaskit/theme": "^21.0.0",
|
|
40
|
-
"@atlaskit/tokens": "^6.
|
|
39
|
+
"@atlaskit/tokens": "^6.4.0",
|
|
41
40
|
"@babel/runtime": "^7.0.0",
|
|
42
41
|
"@compiled/react": "^0.18.3"
|
|
43
42
|
},
|
|
@@ -51,12 +50,12 @@
|
|
|
51
50
|
"@atlaskit/button": "^23.4.0",
|
|
52
51
|
"@atlaskit/css": "^0.14.0",
|
|
53
52
|
"@atlaskit/docs": "^11.1.0",
|
|
54
|
-
"@atlaskit/ds-lib": "^5.
|
|
53
|
+
"@atlaskit/ds-lib": "^5.1.0",
|
|
55
54
|
"@atlaskit/link": "^3.2.0",
|
|
56
55
|
"@atlaskit/section-message": "^8.7.0",
|
|
57
56
|
"@atlaskit/spinner": "^19.0.0",
|
|
58
57
|
"@atlaskit/ssr": "workspace:^",
|
|
59
|
-
"@atlaskit/tooltip": "^20.
|
|
58
|
+
"@atlaskit/tooltip": "^20.5.0",
|
|
60
59
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
61
60
|
"@atlassian/ssr-tests": "^0.3.0",
|
|
62
61
|
"@testing-library/react": "^13.4.0",
|
|
@@ -88,10 +87,5 @@
|
|
|
88
87
|
"deprecation": "no-deprecated-imports"
|
|
89
88
|
}
|
|
90
89
|
},
|
|
91
|
-
"platform-feature-flags": {
|
|
92
|
-
"platform-component-visual-refresh": {
|
|
93
|
-
"type": "boolean"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
90
|
"homepage": "https://atlassian.design/components/tabs/"
|
|
97
91
|
}
|