@atlaskit/side-navigation 9.0.0 → 9.1.1

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,23 @@
1
1
  # @atlaskit/side-navigation
2
2
 
3
+ ## 9.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#146281](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/146281)
14
+ [`14f44715214af`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14f44715214af) -
15
+ Internal change to Header component to remove deprecated APIs.
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 9.0.0
4
22
 
5
23
  ### Major Changes
@@ -14,8 +14,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  var _colors = require("@atlaskit/theme/colors");
16
16
  var _Item = require("../Item");
17
- var _excluded = ["children", "data-testid"],
18
- _excluded2 = ["children"];
17
+ var _excluded = ["children", "data-testid"];
19
18
  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); }
20
19
  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; }
21
20
  var styles = {
@@ -73,17 +72,7 @@ var Header = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
73
72
  return /*#__PURE__*/_react.default.createElement(_Item.CustomItem, (0, _extends2.default)({}, props, {
74
73
  ref: ref,
75
74
  component: props.component || Container,
76
- // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides
77
- overrides: {
78
- Title: {
79
- // eslint-disable-next-line @atlaskit/design-system/use-heading
80
- render: function render(_, _ref3) {
81
- var children = _ref3.children,
82
- props = (0, _objectWithoutProperties2.default)(_ref3, _excluded2);
83
- return /*#__PURE__*/_react.default.createElement("h2", props, children);
84
- }
85
- }
86
- },
75
+ isTitleHeading: true,
87
76
  className: (0, _runtime.ax)([styles.header])
88
77
  }));
89
78
  });
@@ -60,16 +60,7 @@ const Header = /*#__PURE__*/forwardRef((props, ref) => {
60
60
  return /*#__PURE__*/React.createElement(CustomItem, _extends({}, props, {
61
61
  ref: ref,
62
62
  component: props.component || Container,
63
- // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides
64
- overrides: {
65
- Title: {
66
- // eslint-disable-next-line @atlaskit/design-system/use-heading
67
- render: (_, {
68
- children,
69
- ...props
70
- }) => /*#__PURE__*/React.createElement("h2", props, children)
71
- }
72
- },
63
+ isTitleHeading: true,
73
64
  className: ax([styles.header])
74
65
  }));
75
66
  });
@@ -1,8 +1,7 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["children", "data-testid"],
5
- _excluded2 = ["children"];
4
+ var _excluded = ["children", "data-testid"];
6
5
  import "./index.compiled.css";
7
6
  import { ax, ix } from "@compiled/react/runtime";
8
7
  import React, { forwardRef } from 'react';
@@ -63,17 +62,7 @@ var Header = /*#__PURE__*/forwardRef(function (props, ref) {
63
62
  return /*#__PURE__*/React.createElement(CustomItem, _extends({}, props, {
64
63
  ref: ref,
65
64
  component: props.component || Container,
66
- // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides
67
- overrides: {
68
- Title: {
69
- // eslint-disable-next-line @atlaskit/design-system/use-heading
70
- render: function render(_, _ref3) {
71
- var children = _ref3.children,
72
- props = _objectWithoutProperties(_ref3, _excluded2);
73
- return /*#__PURE__*/React.createElement("h2", props, children);
74
- }
75
- }
76
- },
65
+ isTitleHeading: true,
77
66
  className: ax([styles.header])
78
67
  }));
79
68
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "9.0.0",
3
+ "version": "9.1.1",
4
4
  "description": "A highly composable side navigation component that supports nested views.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,7 +26,7 @@
26
26
  "category": "Navigation",
27
27
  "status": {
28
28
  "type": "intent-to-deprecate",
29
- "description": "We are in the process of building a new side navigation component: [@atlassian/navigation-system](https://staging.atlassian.design/components/navigation-system/side-navigation/examples) (For Atlassian employees only at this stage)"
29
+ "description": "We are in the process of building a new side navigation component: [@atlassian/navigation-system](/components/navigation-system/side-navigation/examples) (For Atlassian employees only at this stage)"
30
30
  }
31
31
  },
32
32
  "runReact18": true
@@ -34,11 +34,11 @@
34
34
  "dependencies": {
35
35
  "@atlaskit/css": "^0.10.0",
36
36
  "@atlaskit/ds-lib": "^4.0.0",
37
- "@atlaskit/icon": "^25.6.0",
38
- "@atlaskit/menu": "^4.0.0",
37
+ "@atlaskit/icon": "^26.0.0",
38
+ "@atlaskit/menu": "^5.0.0",
39
39
  "@atlaskit/motion": "^5.1.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/primitives": "^14.4.0",
41
+ "@atlaskit/primitives": "^14.7.0",
42
42
  "@atlaskit/theme": "^18.0.0",
43
43
  "@atlaskit/tokens": "^4.8.0",
44
44
  "@babel/runtime": "^7.0.0",
@@ -58,7 +58,7 @@
58
58
  "@atlaskit/form": "^12.0.0",
59
59
  "@atlaskit/image": "^3.0.0",
60
60
  "@atlaskit/link": "^3.1.0",
61
- "@atlaskit/logo": "^16.0.0",
61
+ "@atlaskit/logo": "^18.0.0",
62
62
  "@atlaskit/onboarding": "^14.0.0",
63
63
  "@atlaskit/pragmatic-drag-and-drop": "^1.6.0",
64
64
  "@atlaskit/pragmatic-drag-and-drop-live-region": "^1.3.0",