@atlaskit/tabs 18.2.3 → 18.2.5

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/tabs
2
2
 
3
+ ## 18.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
8
+ Internal refactors to remove unused variables. No functional or public changes.
9
+ - Updated dependencies
10
+
11
+ ## 18.2.4
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 18.2.3
4
18
 
5
19
  ### Patch Changes
@@ -31,28 +31,24 @@ var Tab = /*#__PURE__*/(0, _react.forwardRef)(function Tab(_ref, ref) {
31
31
  onKeyDown = _useTab.onKeyDown,
32
32
  role = _useTab.role,
33
33
  tabIndex = _useTab.tabIndex;
34
- return (
35
- /*#__PURE__*/
36
- // eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
37
- _react.default.createElement(_compiled.Focusable, {
38
- as: "div",
39
- isInset: true,
40
- testId: testId,
41
- onClick: onClick,
42
- id: id,
43
- "aria-controls": ariaControls,
44
- "aria-posinset": ariaPosinset,
45
- "aria-selected": ariaSelected,
46
- "aria-setsize": ariaSetsize,
47
- onKeyDown: onKeyDown,
48
- role: role,
49
- tabIndex: tabIndex,
50
- ref: ref
51
- }, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
52
- weight: "medium",
53
- color: "inherit",
54
- maxLines: 1
55
- }, children))
56
- );
34
+ return /*#__PURE__*/_react.default.createElement(_compiled.Focusable, {
35
+ as: "div",
36
+ isInset: true,
37
+ testId: testId,
38
+ onClick: onClick,
39
+ id: id,
40
+ "aria-controls": ariaControls,
41
+ "aria-posinset": ariaPosinset,
42
+ "aria-selected": ariaSelected,
43
+ "aria-setsize": ariaSetsize,
44
+ onKeyDown: onKeyDown,
45
+ role: role,
46
+ tabIndex: tabIndex,
47
+ ref: ref
48
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
49
+ weight: "medium",
50
+ color: "inherit",
51
+ maxLines: 1
52
+ }, children));
57
53
  });
58
54
  var _default = exports.default = Tab;
@@ -24,7 +24,7 @@ var tabsStyles = null;
24
24
  var analyticsAttributes = {
25
25
  componentName: 'tabs',
26
26
  packageName: "@atlaskit/tabs",
27
- packageVersion: "18.2.2"
27
+ packageVersion: "18.2.4"
28
28
  };
29
29
  var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
30
30
  var tabPanel = _ref.tabPanel,
@@ -25,28 +25,24 @@ const Tab = /*#__PURE__*/forwardRef(function Tab({
25
25
  role,
26
26
  tabIndex
27
27
  } = useTab();
28
- return (
29
- /*#__PURE__*/
30
- // eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
31
- React.createElement(Focusable, {
32
- as: "div",
33
- isInset: true,
34
- testId: testId,
35
- onClick: onClick,
36
- id: id,
37
- "aria-controls": ariaControls,
38
- "aria-posinset": ariaPosinset,
39
- "aria-selected": ariaSelected,
40
- "aria-setsize": ariaSetsize,
41
- onKeyDown: onKeyDown,
42
- role: role,
43
- tabIndex: tabIndex,
44
- ref: ref
45
- }, /*#__PURE__*/React.createElement(Text, {
46
- weight: "medium",
47
- color: "inherit",
48
- maxLines: 1
49
- }, children))
50
- );
28
+ return /*#__PURE__*/React.createElement(Focusable, {
29
+ as: "div",
30
+ isInset: true,
31
+ testId: testId,
32
+ onClick: onClick,
33
+ id: id,
34
+ "aria-controls": ariaControls,
35
+ "aria-posinset": ariaPosinset,
36
+ "aria-selected": ariaSelected,
37
+ "aria-setsize": ariaSetsize,
38
+ onKeyDown: onKeyDown,
39
+ role: role,
40
+ tabIndex: tabIndex,
41
+ ref: ref
42
+ }, /*#__PURE__*/React.createElement(Text, {
43
+ weight: "medium",
44
+ color: "inherit",
45
+ maxLines: 1
46
+ }, children));
51
47
  });
52
48
  export default Tab;
@@ -10,7 +10,7 @@ const tabsStyles = null;
10
10
  const analyticsAttributes = {
11
11
  componentName: 'tabs',
12
12
  packageName: "@atlaskit/tabs",
13
- packageVersion: "18.2.2"
13
+ packageVersion: "18.2.4"
14
14
  };
15
15
  const getTabPanelWithContext = ({
16
16
  tabPanel,
@@ -23,28 +23,24 @@ var Tab = /*#__PURE__*/forwardRef(function Tab(_ref, ref) {
23
23
  onKeyDown = _useTab.onKeyDown,
24
24
  role = _useTab.role,
25
25
  tabIndex = _useTab.tabIndex;
26
- return (
27
- /*#__PURE__*/
28
- // eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
29
- React.createElement(Focusable, {
30
- as: "div",
31
- isInset: true,
32
- testId: testId,
33
- onClick: onClick,
34
- id: id,
35
- "aria-controls": ariaControls,
36
- "aria-posinset": ariaPosinset,
37
- "aria-selected": ariaSelected,
38
- "aria-setsize": ariaSetsize,
39
- onKeyDown: onKeyDown,
40
- role: role,
41
- tabIndex: tabIndex,
42
- ref: ref
43
- }, /*#__PURE__*/React.createElement(Text, {
44
- weight: "medium",
45
- color: "inherit",
46
- maxLines: 1
47
- }, children))
48
- );
26
+ return /*#__PURE__*/React.createElement(Focusable, {
27
+ as: "div",
28
+ isInset: true,
29
+ testId: testId,
30
+ onClick: onClick,
31
+ id: id,
32
+ "aria-controls": ariaControls,
33
+ "aria-posinset": ariaPosinset,
34
+ "aria-selected": ariaSelected,
35
+ "aria-setsize": ariaSetsize,
36
+ onKeyDown: onKeyDown,
37
+ role: role,
38
+ tabIndex: tabIndex,
39
+ ref: ref
40
+ }, /*#__PURE__*/React.createElement(Text, {
41
+ weight: "medium",
42
+ color: "inherit",
43
+ maxLines: 1
44
+ }, children));
49
45
  });
50
46
  export default Tab;
@@ -15,7 +15,7 @@ var tabsStyles = null;
15
15
  var analyticsAttributes = {
16
16
  componentName: 'tabs',
17
17
  packageName: "@atlaskit/tabs",
18
- packageVersion: "18.2.2"
18
+ packageVersion: "18.2.4"
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",
3
+ "version": "18.2.5",
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/"
@@ -33,10 +33,9 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@atlaskit/analytics-next": "^11.1.0",
36
- "@atlaskit/focus-ring": "^3.0.0",
37
- "@atlaskit/primitives": "^16.0.0",
36
+ "@atlaskit/primitives": "^16.4.0",
38
37
  "@atlaskit/theme": "^21.0.0",
39
- "@atlaskit/tokens": "^7.0.0",
38
+ "@atlaskit/tokens": "^8.4.0",
40
39
  "@babel/runtime": "^7.0.0",
41
40
  "@compiled/react": "^0.18.6"
42
41
  },
@@ -47,17 +46,16 @@
47
46
  "@af/accessibility-testing": "workspace:^",
48
47
  "@af/integration-testing": "workspace:^",
49
48
  "@af/visual-regression": "workspace:^",
50
- "@atlaskit/button": "^23.5.0",
51
- "@atlaskit/css": "^0.15.0",
49
+ "@atlaskit/button": "^23.6.0",
50
+ "@atlaskit/css": "^0.17.0",
52
51
  "@atlaskit/docs": "^11.2.0",
53
- "@atlaskit/ds-lib": "^5.1.0",
52
+ "@atlaskit/ds-lib": "^5.3.0",
54
53
  "@atlaskit/link": "^3.2.0",
55
- "@atlaskit/section-message": "^8.7.0",
54
+ "@atlaskit/section-message": "^8.9.0",
56
55
  "@atlaskit/spinner": "^19.0.0",
57
- "@atlaskit/ssr": "workspace:^",
58
- "@atlaskit/tooltip": "^20.5.0",
56
+ "@atlaskit/tooltip": "^20.11.0",
59
57
  "@atlaskit/visually-hidden": "^3.0.0",
60
- "@atlassian/ssr-tests": "^0.3.0",
58
+ "@atlassian/ssr-tests": "workspace:^",
61
59
  "@testing-library/react": "^13.4.0",
62
60
  "@testing-library/user-event": "^14.4.3",
63
61
  "react-dom": "^18.2.0",