@atlaskit/tabs 18.0.2 → 18.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 CHANGED
@@ -1,5 +1,27 @@
1
1
  # @atlaskit/tabs
2
2
 
3
+ ## 18.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#157071](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/157071)
8
+ [`a149a0b1559ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a149a0b1559ec) -
9
+ We are testing the migration to the ADS Link component behind a feature flag. If this fix is
10
+ successful it will be available in a later release.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 18.0.3
17
+
18
+ ### Patch Changes
19
+
20
+ - [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972)
21
+ [`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) -
22
+ Update `@compiled/react` dependency for improved type checking support.
23
+ - Updated dependencies
24
+
3
25
  ## 18.0.2
4
26
 
5
27
  ### Patch Changes
@@ -99,9 +99,7 @@ var TabList = function TabList(_ref) {
99
99
  }, [length, onKeyDown, onChange, tabsId]);
100
100
  return /*#__PURE__*/React.createElement("div", {
101
101
  role: "tablist",
102
- ref: ref
103
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
104
- ,
102
+ ref: ref,
105
103
  className: (0, _runtime.ax)(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t", (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quz1425 _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _1lzu1hjo _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oaz1fgx _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1b8d1hjo _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i2072d1 _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _rsmzmfou _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiemln51 _pascidpf _eid3idpf _zr3eidpf _fntnidpf _1mp41kw7 _kfgte4h9 _1cs8stnw _1russudh _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc" : "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quz1425 _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _17hygqwt _1lzupl7t _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oaz1fgx _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1jakgqwt _1b8dpl7t _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i2072d1 _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _9r9ugqwt _rsmz8hos _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiemln51 _pascidpf _eid3idpf _zr3eidpf _fntnidpf _rfx3gqwt _1mp41kw7 _kfgt1bk5 _1cs8stnw _1russudh _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc"]),
106
104
  style: {
107
105
  "--_13a5t4u": (0, _runtime.ix)("var(--ds-text-subtle, ".concat(_colors.N500, ")")),
@@ -25,7 +25,7 @@ var tabsStyles = null;
25
25
  var analyticsAttributes = {
26
26
  componentName: 'tabs',
27
27
  packageName: "@atlaskit/tabs",
28
- packageVersion: "18.0.2"
28
+ packageVersion: "18.1.0"
29
29
  };
30
30
  var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
31
31
  var tabPanel = _ref.tabPanel,
@@ -113,9 +113,7 @@ var Tabs = function Tabs(props) {
113
113
  });
114
114
  });
115
115
  return /*#__PURE__*/React.createElement("div", {
116
- "data-testid": testId
117
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
118
- ,
116
+ "data-testid": testId,
119
117
  className: (0, _runtime.ax)(["_1e0c1txw _p12f1osq _1tkeidpf _i0dl1osq _2lx21bp4 _16jlkb7n", "_1c3y1txw _ftfaidpf _18i0kb7n _185bglyw"])
120
118
  }, /*#__PURE__*/React.createElement(_context.TabListContext.Provider, {
121
119
  value: {
@@ -89,9 +89,7 @@ const TabList = ({
89
89
  }, tab), [length, onKeyDown, onChange, tabsId]);
90
90
  return /*#__PURE__*/React.createElement("div", {
91
91
  role: "tablist",
92
- ref: ref
93
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
94
- ,
92
+ ref: ref,
95
93
  className: ax(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t", fg('platform-component-visual-refresh') ? "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quzjjyb _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _1lzu1ec3 _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oazdud1 _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1b8d1ec3 _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i201ouy _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _rsmz174y _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiem1ldt _pascidpf _eid3idpf _zr3eidpf _fntnidpf _1mp41kw7 _kfgte4h9 _1cs8stnw _1rushloo _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc" : "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quzjjyb _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _17hygqwt _1lzu990c _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oazdud1 _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1jakgqwt _1b8d990c _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i201ouy _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _9r9ugqwt _rsmz1gcm _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiem1ldt _pascidpf _eid3idpf _zr3eidpf _fntnidpf _rfx3gqwt _1mp41kw7 _kfgt1bk5 _1cs8stnw _1rushloo _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc"])
96
94
  }, childrenArray.map((child, index) => getTabWithContext({
97
95
  tab: child,
@@ -10,7 +10,7 @@ const tabsStyles = null;
10
10
  const analyticsAttributes = {
11
11
  componentName: 'tabs',
12
12
  packageName: "@atlaskit/tabs",
13
- packageVersion: "18.0.2"
13
+ packageVersion: "18.1.0"
14
14
  };
15
15
  const getTabPanelWithContext = ({
16
16
  tabPanel,
@@ -89,9 +89,7 @@ const Tabs = props => {
89
89
  tabsId: id
90
90
  }));
91
91
  return /*#__PURE__*/React.createElement("div", {
92
- "data-testid": testId
93
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
94
- ,
92
+ "data-testid": testId,
95
93
  className: ax(["_1e0c1txw _p12f1osq _1tkeidpf _i0dl1osq _2lx21bp4 _16jlkb7n", "_1c3y1txw _ftfaidpf _18i0kb7n _185bglyw"])
96
94
  }, /*#__PURE__*/React.createElement(TabListContext.Provider, {
97
95
  value: {
@@ -90,9 +90,7 @@ var TabList = function TabList(_ref) {
90
90
  }, [length, onKeyDown, onChange, tabsId]);
91
91
  return /*#__PURE__*/React.createElement("div", {
92
92
  role: "tablist",
93
- ref: ref
94
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
95
- ,
93
+ ref: ref,
96
94
  className: ax(["_1e0c1txw _kqswh2mm _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t", fg('platform-component-visual-refresh') ? "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quz1425 _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _1lzu1hjo _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oaz1fgx _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1b8d1hjo _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i2072d1 _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _rsmzmfou _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiemln51 _pascidpf _eid3idpf _zr3eidpf _fntnidpf _1mp41kw7 _kfgte4h9 _1cs8stnw _1russudh _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc" : "_k48p1wq8 _ahbqx0bf _gpbcidpf _10vzidpf _1mmwidpf _15plidpf _7hip15vq _1fud15vq _bb0mh2mm _1quz1425 _rzxytlke _1ofh12x7 _pryi12x7 _1a85u2gc _rmpau2gc _1dze1l2s _1tms1q9c _fiizidpf _1xrmidpf _xyihidpf _166qidpf _17hygqwt _1lzupl7t _24g71kw7 _140sidpf _lycustnw _15d8b3bt _1fztidpf _wd7eu2gc _1olcu2gc _1oaz1fgx _w9ewidpf _170tidpf _y1g1idpf _1nvfidpf _1jakgqwt _1b8dpl7t _1n121kw7 _7p9oidpf _o2e1stnw _16u6b3bt _1yk1idpf _1lbou2gc _1c9uu2gc _1i2072d1 _bppridpf _1mbxidpf _kn0bidpf _wsgdidpf _9r9ugqwt _rsmz8hos _1m0e1kw7 _93pdidpf _1sglstnw _1ksob3bt _1p9sidpf _1qa1u2gc _1jjcu2gc _fiemln51 _pascidpf _eid3idpf _zr3eidpf _fntnidpf _rfx3gqwt _1mp41kw7 _kfgt1bk5 _1cs8stnw _1russudh _1kt9b3bt _1fkridpf _1enwidpf _z5wtu2gc"]),
97
95
  style: {
98
96
  "--_13a5t4u": ix("var(--ds-text-subtle, ".concat(N500, ")")),
@@ -15,7 +15,7 @@ var tabsStyles = null;
15
15
  var analyticsAttributes = {
16
16
  componentName: 'tabs',
17
17
  packageName: "@atlaskit/tabs",
18
- packageVersion: "18.0.2"
18
+ packageVersion: "18.1.0"
19
19
  };
20
20
  var getTabPanelWithContext = function getTabPanelWithContext(_ref) {
21
21
  var tabPanel = _ref.tabPanel,
@@ -103,9 +103,7 @@ var Tabs = function Tabs(props) {
103
103
  });
104
104
  });
105
105
  return /*#__PURE__*/React.createElement("div", {
106
- "data-testid": testId
107
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
108
- ,
106
+ "data-testid": testId,
109
107
  className: ax(["_1e0c1txw _p12f1osq _1tkeidpf _i0dl1osq _2lx21bp4 _16jlkb7n", "_1c3y1txw _ftfaidpf _18i0kb7n _185bglyw"])
110
108
  }, /*#__PURE__*/React.createElement(TabListContext.Provider, {
111
109
  value: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tabs",
3
- "version": "18.0.2",
3
+ "version": "18.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/"
@@ -38,28 +38,29 @@
38
38
  "@atlaskit/css": "^0.10.0",
39
39
  "@atlaskit/focus-ring": "^3.0.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/primitives": "^14.1.0",
41
+ "@atlaskit/primitives": "^14.8.0",
42
42
  "@atlaskit/theme": "^18.0.0",
43
- "@atlaskit/tokens": "^4.4.0",
43
+ "@atlaskit/tokens": "^4.9.0",
44
44
  "@babel/runtime": "^7.0.0",
45
- "@compiled/react": "^0.18.2"
45
+ "@compiled/react": "^0.18.3"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": "^18.2.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@af/accessibility-testing": "^2.0.0",
52
- "@af/integration-testing": "^0.5.0",
53
- "@af/visual-regression": "^1.3.0",
54
- "@atlaskit/button": "^21.1.0",
51
+ "@af/accessibility-testing": "workspace:^",
52
+ "@af/integration-testing": "workspace:^",
53
+ "@af/visual-regression": "workspace:^",
54
+ "@atlaskit/button": "^23.2.0",
55
55
  "@atlaskit/docs": "^10.0.0",
56
56
  "@atlaskit/ds-lib": "^4.0.0",
57
- "@atlaskit/link": "^3.0.0",
58
- "@atlaskit/section-message": "^8.1.0",
57
+ "@atlaskit/link": "^3.2.0",
58
+ "@atlaskit/section-message": "^8.2.0",
59
59
  "@atlaskit/spinner": "^18.0.0",
60
- "@atlaskit/ssr": "^0.4.0",
60
+ "@atlaskit/ssr": "workspace:^",
61
61
  "@atlaskit/tooltip": "^20.0.0",
62
62
  "@atlaskit/visually-hidden": "^3.0.0",
63
+ "@atlassian/ssr-tests": "^0.2.0",
63
64
  "@testing-library/react": "^13.4.0",
64
65
  "@testing-library/user-event": "^14.4.3",
65
66
  "react-dom": "^18.2.0",