@atlaskit/side-navigation 11.0.10 → 11.0.12
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 +12 -0
- package/afm-cc/tsconfig.json +52 -46
- package/afm-dev-agents/tsconfig.json +7 -1
- package/afm-jira/tsconfig.json +7 -1
- package/afm-passionfruit/tsconfig.json +54 -0
- package/afm-post-office/tsconfig.json +7 -1
- package/afm-rovo-extension/tsconfig.json +7 -1
- package/afm-townsquare/tsconfig.json +7 -1
- package/afm-volt/tsconfig.json +7 -1
- package/build/tsconfig.json +8 -2
- package/constellation/index/usage.mdx +2 -2
- package/dist/types/components/Footer/index.d.ts +0 -1
- package/dist/types/components/Item/button-item.d.ts +0 -1
- package/dist/types/components/Item/custom-item.d.ts +0 -1
- package/dist/types/components/Item/link-item.d.ts +0 -1
- package/dist/types/components/NavigationHeader/index.d.ts +0 -1
- package/dist/types/components/Section/heading-item.d.ts +0 -1
- package/dist/types/components/SideNavigation/index.d.ts +0 -1
- package/dist/types/components/utils/hooks.d.ts +1 -1
- package/dist/types-ts4.5/components/Footer/index.d.ts +0 -1
- package/dist/types-ts4.5/components/Item/button-item.d.ts +0 -1
- package/dist/types-ts4.5/components/Item/custom-item.d.ts +0 -1
- package/dist/types-ts4.5/components/Item/link-item.d.ts +0 -1
- package/dist/types-ts4.5/components/NavigationHeader/index.d.ts +0 -1
- package/dist/types-ts4.5/components/Section/heading-item.d.ts +0 -1
- package/dist/types-ts4.5/components/SideNavigation/index.d.ts +0 -1
- package/dist/types-ts4.5/components/utils/hooks.d.ts +1 -1
- package/package.json +11 -12
- package/tsconfig.json +8 -3
package/CHANGELOG.md
CHANGED
package/afm-cc/tsconfig.json
CHANGED
|
@@ -1,48 +1,54 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"outDir": "../../../../../confluence/tsDist/@atlaskit__side-navigation",
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
24
|
+
],
|
|
25
|
+
"references": [
|
|
26
|
+
{
|
|
27
|
+
"path": "../../css/afm-cc/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../ds-lib/afm-cc/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../icon/afm-cc/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../menu/afm-cc/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../motion/afm-cc/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../primitives/afm-cc/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../theme/afm-cc/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../tokens/afm-cc/tsconfig.json"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
48
54
|
}
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.passionfruit.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../passionfruit/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
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
24
|
+
],
|
|
25
|
+
"references": [
|
|
26
|
+
{
|
|
27
|
+
"path": "../../css/afm-passionfruit/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../ds-lib/afm-passionfruit/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../icon/afm-passionfruit/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../menu/afm-passionfruit/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../motion/afm-passionfruit/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../primitives/afm-passionfruit/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../theme/afm-passionfruit/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../tokens/afm-passionfruit/tsconfig.json"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
package/afm-volt/tsconfig.json
CHANGED
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
package/build/tsconfig.json
CHANGED
|
@@ -12,6 +12,12 @@
|
|
|
12
12
|
"exclude": [
|
|
13
13
|
"../src/**/__tests__/*",
|
|
14
14
|
"../src/**/*.test.*",
|
|
15
|
-
"../src/**/test.*"
|
|
15
|
+
"../src/**/test.*",
|
|
16
|
+
"../src/**/examples.*",
|
|
17
|
+
"../src/**/examples/*",
|
|
18
|
+
"../src/**/examples/**/*",
|
|
19
|
+
"../src/**/*.stories.*",
|
|
20
|
+
"../src/**/stories/*",
|
|
21
|
+
"../src/**/stories/**/*"
|
|
16
22
|
]
|
|
17
|
-
}
|
|
23
|
+
}
|
|
@@ -4,8 +4,8 @@ order: 2
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
|
-
The side navigation helps people move around within a subsection of
|
|
8
|
-
|
|
7
|
+
The side navigation helps people move around within a subsection of an app. For example, navigating
|
|
8
|
+
through the topics in a Confluence space, or to specific tasks within their Jira project.
|
|
9
9
|
|
|
10
10
|
Use the side navigation with the [page layout component](/components/page-layout/examples) to
|
|
11
11
|
compose your navigation experience. This ensures that you get access to useful accessibility and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MutableRefObject } from 'react';
|
|
2
|
-
export declare const useChildIds: (currentStackId: string, committedStack: string[], onUnknownNest?: (
|
|
2
|
+
export declare const useChildIds: (currentStackId: string, committedStack: string[], onUnknownNest?: (stack: string[]) => void) => {
|
|
3
3
|
childIdsRef: MutableRefObject<Set<string>>;
|
|
4
4
|
};
|
|
5
5
|
export declare const useChildIdsEffect: (childIds: MutableRefObject<Set<string>>, id: string) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MutableRefObject } from 'react';
|
|
2
|
-
export declare const useChildIds: (currentStackId: string, committedStack: string[], onUnknownNest?: (
|
|
2
|
+
export declare const useChildIds: (currentStackId: string, committedStack: string[], onUnknownNest?: (stack: string[]) => void) => {
|
|
3
3
|
childIdsRef: MutableRefObject<Set<string>>;
|
|
4
4
|
};
|
|
5
5
|
export declare const useChildIdsEffect: (childIds: MutableRefObject<Set<string>>, id: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.12",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/css": "^0.12.0",
|
|
35
35
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
36
|
-
"@atlaskit/icon": "^
|
|
37
|
-
"@atlaskit/menu": "^8.
|
|
38
|
-
"@atlaskit/motion": "^5.
|
|
36
|
+
"@atlaskit/icon": "^28.0.0",
|
|
37
|
+
"@atlaskit/menu": "^8.3.0",
|
|
38
|
+
"@atlaskit/motion": "^5.3.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/primitives": "^14.
|
|
40
|
+
"@atlaskit/primitives": "^14.11.0",
|
|
41
41
|
"@atlaskit/theme": "^19.0.0",
|
|
42
|
-
"@atlaskit/tokens": "^
|
|
42
|
+
"@atlaskit/tokens": "^6.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@compiled/react": "^0.18.3"
|
|
45
45
|
},
|
|
@@ -51,25 +51,24 @@
|
|
|
51
51
|
"@af/integration-testing": "workspace:^",
|
|
52
52
|
"@af/visual-regression": "workspace:^",
|
|
53
53
|
"@atlaskit/atlassian-navigation": "^5.3.0",
|
|
54
|
-
"@atlaskit/button": "^23.
|
|
54
|
+
"@atlaskit/button": "^23.4.0",
|
|
55
55
|
"@atlaskit/docs": "^11.0.0",
|
|
56
56
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
57
|
-
"@atlaskit/form": "^12.
|
|
57
|
+
"@atlaskit/form": "^12.1.0",
|
|
58
58
|
"@atlaskit/image": "^3.0.0",
|
|
59
59
|
"@atlaskit/link": "^3.2.0",
|
|
60
|
-
"@atlaskit/logo": "^19.
|
|
60
|
+
"@atlaskit/logo": "^19.7.0",
|
|
61
61
|
"@atlaskit/onboarding": "^14.3.0",
|
|
62
62
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
63
63
|
"@atlaskit/pragmatic-drag-and-drop-live-region": "^1.3.0",
|
|
64
64
|
"@atlaskit/pragmatic-drag-and-drop-react-accessibility": "^2.0.0",
|
|
65
65
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
66
|
-
"@atlaskit/section-message": "^8.
|
|
66
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
67
67
|
"@atlaskit/select": "^21.2.0",
|
|
68
68
|
"@atlaskit/visual-regression": "workspace:^",
|
|
69
69
|
"@testing-library/react": "^13.4.0",
|
|
70
70
|
"raf-stub": "^2.0.1",
|
|
71
|
-
"tiny-invariant": "^1.2.0"
|
|
72
|
-
"typescript": "~5.4.2"
|
|
71
|
+
"tiny-invariant": "^1.2.0"
|
|
73
72
|
},
|
|
74
73
|
"techstack": {
|
|
75
74
|
"@atlassian/frontend": {
|
package/tsconfig.json
CHANGED
|
@@ -4,11 +4,16 @@
|
|
|
4
4
|
"src/**/*.ts",
|
|
5
5
|
"src/**/*.tsx",
|
|
6
6
|
"examples/**/*.ts",
|
|
7
|
-
"examples/**/*.tsx"
|
|
7
|
+
"examples/**/*.tsx",
|
|
8
|
+
"**/stories.ts",
|
|
9
|
+
"**/stories.tsx",
|
|
10
|
+
"**/stories/*.ts",
|
|
11
|
+
"**/stories/*.tsx",
|
|
12
|
+
"**/stories/**/*.ts",
|
|
13
|
+
"**/stories/**/*.tsx"
|
|
8
14
|
],
|
|
9
15
|
"exclude": [
|
|
10
16
|
"node_modules"
|
|
11
17
|
],
|
|
12
|
-
"compilerOptions": {
|
|
13
|
-
}
|
|
18
|
+
"compilerOptions": {}
|
|
14
19
|
}
|