@atlaskit/side-navigation 11.0.8 → 11.0.10

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,17 @@
1
1
  # @atlaskit/side-navigation
2
2
 
3
+ ## 11.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.0.9
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 11.0.8
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,48 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.dev-agents.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../dev-agents/tsDist/@atlaskit__side-navigation/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../css/afm-dev-agents/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../ds-lib/afm-dev-agents/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../icon/afm-dev-agents/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../menu/afm-dev-agents/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../motion/afm-dev-agents/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../primitives/afm-dev-agents/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../theme/afm-dev-agents/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../tokens/afm-dev-agents/tsconfig.json"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__side-navigation/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../css/afm-rovo-extension/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../ds-lib/afm-rovo-extension/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../icon/afm-rovo-extension/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../menu/afm-rovo-extension/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../motion/afm-rovo-extension/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../primitives/afm-rovo-extension/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../theme/afm-rovo-extension/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../tokens/afm-rovo-extension/tsconfig.json"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.volt.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../volt/tsDist/@atlaskit__side-navigation/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../css/afm-volt/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../ds-lib/afm-volt/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../icon/afm-volt/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../menu/afm-volt/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../motion/afm-volt/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../platform/feature-flags/afm-volt/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../primitives/afm-volt/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../theme/afm-volt/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../tokens/afm-volt/tsconfig.json"
46
+ }
47
+ ]
48
+ }
@@ -32,9 +32,7 @@ var styles = {
32
32
  * - [Examples](https://atlassian.design/components/side-navigation/examples#button-item)
33
33
  * - [Code](https://atlassian.design/components/side-navigation/code)
34
34
  */
35
- var ButtonItem = /*#__PURE__*/(0, _react.forwardRef)(
36
- // Type needed on props to extract types with extract react types.
37
- function (_ref, ref) {
35
+ var ButtonItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
38
36
  var className = _ref.className,
39
37
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
40
38
  var _useShouldNestedEleme = (0, _context.useShouldNestedElementRender)(),
@@ -29,9 +29,7 @@ var styles = {
29
29
  * Used to support any custom items needed by products alongside the Header and Footer patterns.
30
30
  * Specific implementation of headers and footers are provided in the examples folder.
31
31
  */
32
- var CustomItem = /*#__PURE__*/(0, _react.forwardRef)(
33
- // Type needed on props to extract types with extract react types.
34
- function (_ref, ref) {
32
+ var CustomItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
35
33
  var className = _ref.className,
36
34
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
37
35
  var _useShouldNestedEleme = (0, _context.useShouldNestedElementRender)(),
@@ -34,9 +34,7 @@ var styles = {
34
34
  * - [Examples](https://atlassian.design/components/side-navigation/examples#link-item)
35
35
  * - [Code](https://atlassian.design/components/side-navigation/code)
36
36
  */
37
- var LinkItem = /*#__PURE__*/(0, _react.forwardRef)(
38
- // Type needed on props to extract types with extract react types.
39
- function (_ref, ref) {
37
+ var LinkItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
40
38
  var href = _ref.href,
41
39
  children = _ref.children,
42
40
  className = _ref.className,
@@ -11,7 +11,6 @@ var _react = _interopRequireWildcard(require("react"));
11
11
  var _menu = require("@atlaskit/menu");
12
12
  var _context = require("../NestableNavigationContent/context");
13
13
  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); }
14
- // Type needed on props to extract types with extract react types.
15
14
  /**
16
15
  * __Section__
17
16
  *
@@ -21,9 +21,7 @@ const styles = {
21
21
  * - [Examples](https://atlassian.design/components/side-navigation/examples#button-item)
22
22
  * - [Code](https://atlassian.design/components/side-navigation/code)
23
23
  */
24
- const ButtonItem = /*#__PURE__*/forwardRef(
25
- // Type needed on props to extract types with extract react types.
26
- ({
24
+ const ButtonItem = /*#__PURE__*/forwardRef(({
27
25
  className,
28
26
  ...props
29
27
  }, ref) => {
@@ -18,9 +18,7 @@ const styles = {
18
18
  * Used to support any custom items needed by products alongside the Header and Footer patterns.
19
19
  * Specific implementation of headers and footers are provided in the examples folder.
20
20
  */
21
- const CustomItem = /*#__PURE__*/forwardRef(
22
- // Type needed on props to extract types with extract react types.
23
- ({
21
+ const CustomItem = /*#__PURE__*/forwardRef(({
24
22
  className,
25
23
  ...props
26
24
  }, ref) => {
@@ -23,9 +23,7 @@ const styles = {
23
23
  * - [Examples](https://atlassian.design/components/side-navigation/examples#link-item)
24
24
  * - [Code](https://atlassian.design/components/side-navigation/code)
25
25
  */
26
- const LinkItem = /*#__PURE__*/forwardRef(
27
- // Type needed on props to extract types with extract react types.
28
- ({
26
+ const LinkItem = /*#__PURE__*/forwardRef(({
29
27
  href,
30
28
  children,
31
29
  className,
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { forwardRef } from 'react';
3
3
  import { Section as MenuSection } from '@atlaskit/menu';
4
4
  import { useShouldNestedElementRender } from '../NestableNavigationContent/context';
5
- // Type needed on props to extract types with extract react types.
6
5
  /**
7
6
  * __Section__
8
7
  *
@@ -23,9 +23,7 @@ var styles = {
23
23
  * - [Examples](https://atlassian.design/components/side-navigation/examples#button-item)
24
24
  * - [Code](https://atlassian.design/components/side-navigation/code)
25
25
  */
26
- var ButtonItem = /*#__PURE__*/forwardRef(
27
- // Type needed on props to extract types with extract react types.
28
- function (_ref, ref) {
26
+ var ButtonItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
29
27
  var className = _ref.className,
30
28
  props = _objectWithoutProperties(_ref, _excluded);
31
29
  var _useShouldNestedEleme = useShouldNestedElementRender(),
@@ -20,9 +20,7 @@ var styles = {
20
20
  * Used to support any custom items needed by products alongside the Header and Footer patterns.
21
21
  * Specific implementation of headers and footers are provided in the examples folder.
22
22
  */
23
- var CustomItem = /*#__PURE__*/forwardRef(
24
- // Type needed on props to extract types with extract react types.
25
- function (_ref, ref) {
23
+ var CustomItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
26
24
  var className = _ref.className,
27
25
  props = _objectWithoutProperties(_ref, _excluded);
28
26
  var _useShouldNestedEleme = useShouldNestedElementRender(),
@@ -25,9 +25,7 @@ var styles = {
25
25
  * - [Examples](https://atlassian.design/components/side-navigation/examples#link-item)
26
26
  * - [Code](https://atlassian.design/components/side-navigation/code)
27
27
  */
28
- var LinkItem = /*#__PURE__*/forwardRef(
29
- // Type needed on props to extract types with extract react types.
30
- function (_ref, ref) {
28
+ var LinkItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
31
29
  var href = _ref.href,
32
30
  children = _ref.children,
33
31
  className = _ref.className,
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { forwardRef } from 'react';
3
3
  import { Section as MenuSection } from '@atlaskit/menu';
4
4
  import { useShouldNestedElementRender } from '../NestableNavigationContent/context';
5
- // Type needed on props to extract types with extract react types.
6
5
  /**
7
6
  * __Section__
8
7
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "11.0.8",
3
+ "version": "11.0.10",
4
4
  "description": "A highly composable side navigation component that supports nested views.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,19 +28,18 @@
28
28
  "type": "intent-to-deprecate",
29
29
  "description": "We are planning on deprecating Side navigation. We recommend using Navigation system instead. [View Navigation system documentation](/components/navigation-system)"
30
30
  }
31
- },
32
- "runReact18": true
31
+ }
33
32
  },
34
33
  "dependencies": {
35
34
  "@atlaskit/css": "^0.12.0",
36
- "@atlaskit/ds-lib": "^4.0.0",
37
- "@atlaskit/icon": "^27.2.0",
35
+ "@atlaskit/ds-lib": "^5.0.0",
36
+ "@atlaskit/icon": "^27.6.0",
38
37
  "@atlaskit/menu": "^8.0.0",
39
38
  "@atlaskit/motion": "^5.1.0",
40
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
40
  "@atlaskit/primitives": "^14.10.0",
42
- "@atlaskit/theme": "^18.0.0",
43
- "@atlaskit/tokens": "^5.4.0",
41
+ "@atlaskit/theme": "^19.0.0",
42
+ "@atlaskit/tokens": "^5.6.0",
44
43
  "@babel/runtime": "^7.0.0",
45
44
  "@compiled/react": "^0.18.3"
46
45
  },
@@ -54,18 +53,18 @@
54
53
  "@atlaskit/atlassian-navigation": "^5.3.0",
55
54
  "@atlaskit/button": "^23.2.0",
56
55
  "@atlaskit/docs": "^11.0.0",
57
- "@atlaskit/dropdown-menu": "^16.1.0",
56
+ "@atlaskit/dropdown-menu": "^16.3.0",
58
57
  "@atlaskit/form": "^12.0.0",
59
58
  "@atlaskit/image": "^3.0.0",
60
59
  "@atlaskit/link": "^3.2.0",
61
- "@atlaskit/logo": "^19.3.0",
62
- "@atlaskit/onboarding": "^14.2.0",
60
+ "@atlaskit/logo": "^19.5.0",
61
+ "@atlaskit/onboarding": "^14.3.0",
63
62
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
64
63
  "@atlaskit/pragmatic-drag-and-drop-live-region": "^1.3.0",
65
64
  "@atlaskit/pragmatic-drag-and-drop-react-accessibility": "^2.0.0",
66
65
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
67
- "@atlaskit/section-message": "^8.2.0",
68
- "@atlaskit/select": "^21.0.0",
66
+ "@atlaskit/section-message": "^8.3.0",
67
+ "@atlaskit/select": "^21.2.0",
69
68
  "@atlaskit/visual-regression": "workspace:^",
70
69
  "@testing-library/react": "^13.4.0",
71
70
  "raf-stub": "^2.0.1",