@atlaskit/side-navigation 3.3.5 → 3.4.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 +22 -0
- package/afm-post-office/tsconfig.json +45 -0
- package/dist/cjs/components/Header/index.js +1 -1
- package/dist/cjs/components/LoadingItems/index.js +1 -1
- package/dist/cjs/components/NavigationContent/index.js +1 -1
- package/dist/cjs/components/NavigationHeader/index.js +1 -1
- package/dist/cjs/components/NestableNavigationContent/index.js +1 -1
- package/dist/cjs/components/NestableNavigationContent/nesting-motion.js +2 -1
- package/dist/cjs/components/NestingItem/hack-for-ert.js +1 -1
- package/dist/cjs/components/NestingItem/index.js +1 -1
- package/dist/cjs/components/SideNavigation/index.js +1 -1
- package/dist/es2019/components/Header/index.js +1 -1
- package/dist/es2019/components/LoadingItems/index.js +1 -1
- package/dist/es2019/components/NavigationContent/index.js +1 -1
- package/dist/es2019/components/NavigationHeader/index.js +1 -1
- package/dist/es2019/components/NestableNavigationContent/index.js +1 -1
- package/dist/es2019/components/NestableNavigationContent/nesting-motion.js +1 -1
- package/dist/es2019/components/NestingItem/hack-for-ert.js +1 -1
- package/dist/es2019/components/NestingItem/index.js +1 -1
- package/dist/es2019/components/SideNavigation/index.js +1 -1
- package/dist/esm/components/Header/index.js +1 -1
- package/dist/esm/components/LoadingItems/index.js +1 -1
- package/dist/esm/components/NavigationContent/index.js +1 -1
- package/dist/esm/components/NavigationHeader/index.js +1 -1
- package/dist/esm/components/NestableNavigationContent/index.js +1 -1
- package/dist/esm/components/NestableNavigationContent/nesting-motion.js +1 -1
- package/dist/esm/components/NestingItem/hack-for-ert.js +1 -1
- package/dist/esm/components/NestingItem/index.js +1 -1
- package/dist/esm/components/SideNavigation/index.js +1 -1
- package/dist/types/components/NavigationContent/index.d.ts +1 -1
- package/dist/types/components/NavigationHeader/index.d.ts +1 -1
- package/dist/types/components/NestableNavigationContent/nesting-motion.d.ts +1 -1
- package/dist/types/components/NestingItem/index.d.ts +1 -1
- package/dist/types-ts4.5/components/NavigationContent/index.d.ts +1 -1
- package/dist/types-ts4.5/components/NavigationHeader/index.d.ts +1 -1
- package/dist/types-ts4.5/components/NestableNavigationContent/nesting-motion.d.ts +1 -1
- package/dist/types-ts4.5/components/NestingItem/index.d.ts +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#127511](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127511)
|
|
8
|
+
[`db30e29344013`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db30e29344013) -
|
|
9
|
+
Widening range of `react` and `react-dom` peer dependencies from `^16.8.0 || ^17.0.0 || ~18.2.0`
|
|
10
|
+
to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).
|
|
11
|
+
|
|
12
|
+
This change has been done to enable usage of `react@18.3` as well as to have a consistent peer
|
|
13
|
+
dependency range for `react` and `react-dom` for `/platform` packages.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 3.3.6
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 3.3.5
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__side-navigation/app",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"rootDir": "../"
|
|
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": "../../ds-lib/afm-post-office/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../icon/afm-post-office/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../menu/afm-post-office/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../motion/afm-post-office/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../primitives/afm-post-office/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../theme/afm-post-office/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../tokens/afm-post-office/tsconfig.json"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -18,8 +18,8 @@ var _excluded = ["children", "data-testid"],
|
|
|
18
18
|
_excluded2 = ["children"];
|
|
19
19
|
/**
|
|
20
20
|
* @jsxRuntime classic
|
|
21
|
+
* @jsx jsx
|
|
21
22
|
*/
|
|
22
|
-
/** @jsx jsx */
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
24
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
25
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -11,8 +11,8 @@ var _motion = require("@atlaskit/motion");
|
|
|
11
11
|
var _context = require("../NestableNavigationContent/context");
|
|
12
12
|
/**
|
|
13
13
|
* @jsxRuntime classic
|
|
14
|
+
* @jsx jsx
|
|
14
15
|
*/
|
|
15
|
-
/** @jsx jsx */
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
|
|
18
18
|
var baseMotionStyles = (0, _react.css)({
|
|
@@ -12,8 +12,8 @@ var _context = require("../NestableNavigationContent/context");
|
|
|
12
12
|
var _styles = require("./styles");
|
|
13
13
|
/**
|
|
14
14
|
* @jsxRuntime classic
|
|
15
|
+
* @jsx jsx
|
|
15
16
|
*/
|
|
16
|
-
/** @jsx jsx */
|
|
17
17
|
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
19
|
|
|
@@ -8,8 +8,8 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
var _primitives = require("@atlaskit/primitives");
|
|
9
9
|
/**
|
|
10
10
|
* @jsxRuntime classic
|
|
11
|
+
* @jsx jsx
|
|
11
12
|
*/
|
|
12
|
-
/** @jsx jsx */
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
14
|
|
|
15
15
|
var navigationFooterStyles = (0, _primitives.xcss)({
|
|
@@ -17,8 +17,8 @@ var _context = require("./context");
|
|
|
17
17
|
var _nestingMotion = require("./nesting-motion");
|
|
18
18
|
/**
|
|
19
19
|
* @jsxRuntime classic
|
|
20
|
+
* @jsx jsx
|
|
20
21
|
*/
|
|
21
|
-
/** @jsx jsx */
|
|
22
22
|
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
24
|
|
|
@@ -11,7 +11,8 @@ var _motion = require("@atlaskit/motion");
|
|
|
11
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
|
|
13
13
|
* @jsxRuntime classic
|
|
14
|
-
|
|
14
|
+
* @jsx jsx
|
|
15
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
16
|
/**
|
|
16
17
|
* @internal
|
|
17
18
|
*/
|
|
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = _default;
|
|
7
|
-
// eslint-disable-next-line @repo/internal/react/use-noop
|
|
7
|
+
// eslint-disable-next-line @repo/internal/react/use-noop, import/no-anonymous-default-export
|
|
8
8
|
function _default(_) {}
|
|
@@ -25,8 +25,8 @@ var _styles2 = require("./styles");
|
|
|
25
25
|
var _excluded = ["children", "iconAfter", "title", "onClick", "cssFn", "isSelected", "id", "component", "testId"];
|
|
26
26
|
/**
|
|
27
27
|
* @jsxRuntime classic
|
|
28
|
+
* @jsx jsx
|
|
28
29
|
*/
|
|
29
|
-
/** @jsx jsx */
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
31
31
|
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); }
|
|
32
32
|
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 && Object.prototype.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; }
|
|
@@ -10,8 +10,8 @@ var _menu = require("@atlaskit/menu");
|
|
|
10
10
|
var _colors = require("@atlaskit/theme/colors");
|
|
11
11
|
/**
|
|
12
12
|
* @jsxRuntime classic
|
|
13
|
+
* @jsx jsx
|
|
13
14
|
*/
|
|
14
|
-
/** @jsx jsx */
|
|
15
15
|
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { ExitingPersistence, FadeIn, mediumDurationMs } from '@atlaskit/motion';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// eslint-disable-next-line @repo/internal/react/use-noop
|
|
1
|
+
// eslint-disable-next-line @repo/internal/react/use-noop, import/no-anonymous-default-export
|
|
2
2
|
export default function (_) {}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
import React, { Fragment, useCallback, useMemo, useState } from 'react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -7,8 +7,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
8
|
/**
|
|
9
9
|
* @jsxRuntime classic
|
|
10
|
+
* @jsx jsx
|
|
10
11
|
*/
|
|
11
|
-
/** @jsx jsx */
|
|
12
12
|
import { forwardRef } from 'react';
|
|
13
13
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { ExitingPersistence, FadeIn, mediumDurationMs } from '@atlaskit/motion';
|
|
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
/**
|
|
4
4
|
* @jsxRuntime classic
|
|
5
|
+
* @jsx jsx
|
|
5
6
|
*/
|
|
6
|
-
/** @jsx jsx */
|
|
7
7
|
import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -3,8 +3,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
/**
|
|
5
5
|
* @jsxRuntime classic
|
|
6
|
+
* @jsx jsx
|
|
6
7
|
*/
|
|
7
|
-
/** @jsx jsx */
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { jsx } from '@emotion/react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// eslint-disable-next-line @repo/internal/react/use-noop
|
|
1
|
+
// eslint-disable-next-line @repo/internal/react/use-noop, import/no-anonymous-default-export
|
|
2
2
|
export default function (_) {}
|
|
@@ -8,8 +8,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
8
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
9
|
/**
|
|
10
10
|
* @jsxRuntime classic
|
|
11
|
+
* @jsx jsx
|
|
11
12
|
*/
|
|
12
|
-
/** @jsx jsx */
|
|
13
13
|
import React, { Fragment, useCallback, useMemo, useState } from 'react';
|
|
14
14
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,19 +30,19 @@
|
|
|
30
30
|
"runReact18": true
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@atlaskit/ds-lib": "^2.
|
|
34
|
-
"@atlaskit/icon": "^22.
|
|
35
|
-
"@atlaskit/menu": "^2.
|
|
36
|
-
"@atlaskit/motion": "^1.
|
|
33
|
+
"@atlaskit/ds-lib": "^2.4.0",
|
|
34
|
+
"@atlaskit/icon": "^22.12.0",
|
|
35
|
+
"@atlaskit/menu": "^2.11.0",
|
|
36
|
+
"@atlaskit/motion": "^1.9.0",
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
38
|
-
"@atlaskit/primitives": "^
|
|
39
|
-
"@atlaskit/theme": "^12.
|
|
40
|
-
"@atlaskit/tokens": "^1.
|
|
38
|
+
"@atlaskit/primitives": "^12.0.0",
|
|
39
|
+
"@atlaskit/theme": "^12.12.0",
|
|
40
|
+
"@atlaskit/tokens": "^1.58.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"@emotion/react": "^11.7.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"react": "^16.8.0 || ^17.0.0 ||
|
|
45
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@af/accessibility-testing": "*",
|