@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.
Files changed (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/afm-cc/tsconfig.json +52 -46
  3. package/afm-dev-agents/tsconfig.json +7 -1
  4. package/afm-jira/tsconfig.json +7 -1
  5. package/afm-passionfruit/tsconfig.json +54 -0
  6. package/afm-post-office/tsconfig.json +7 -1
  7. package/afm-rovo-extension/tsconfig.json +7 -1
  8. package/afm-townsquare/tsconfig.json +7 -1
  9. package/afm-volt/tsconfig.json +7 -1
  10. package/build/tsconfig.json +8 -2
  11. package/constellation/index/usage.mdx +2 -2
  12. package/dist/types/components/Footer/index.d.ts +0 -1
  13. package/dist/types/components/Item/button-item.d.ts +0 -1
  14. package/dist/types/components/Item/custom-item.d.ts +0 -1
  15. package/dist/types/components/Item/link-item.d.ts +0 -1
  16. package/dist/types/components/NavigationHeader/index.d.ts +0 -1
  17. package/dist/types/components/Section/heading-item.d.ts +0 -1
  18. package/dist/types/components/SideNavigation/index.d.ts +0 -1
  19. package/dist/types/components/utils/hooks.d.ts +1 -1
  20. package/dist/types-ts4.5/components/Footer/index.d.ts +0 -1
  21. package/dist/types-ts4.5/components/Item/button-item.d.ts +0 -1
  22. package/dist/types-ts4.5/components/Item/custom-item.d.ts +0 -1
  23. package/dist/types-ts4.5/components/Item/link-item.d.ts +0 -1
  24. package/dist/types-ts4.5/components/NavigationHeader/index.d.ts +0 -1
  25. package/dist/types-ts4.5/components/Section/heading-item.d.ts +0 -1
  26. package/dist/types-ts4.5/components/SideNavigation/index.d.ts +0 -1
  27. package/dist/types-ts4.5/components/utils/hooks.d.ts +1 -1
  28. package/package.json +11 -12
  29. package/tsconfig.json +8 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/side-navigation
2
2
 
3
+ ## 11.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.0.11
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 11.0.10
4
16
 
5
17
  ### Patch Changes
@@ -1,48 +1,54 @@
1
1
  {
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
- ],
19
- "references": [
20
- {
21
- "path": "../../css/afm-cc/tsconfig.json"
22
- },
23
- {
24
- "path": "../../ds-lib/afm-cc/tsconfig.json"
25
- },
26
- {
27
- "path": "../../icon/afm-cc/tsconfig.json"
28
- },
29
- {
30
- "path": "../../menu/afm-cc/tsconfig.json"
31
- },
32
- {
33
- "path": "../../motion/afm-cc/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
37
- },
38
- {
39
- "path": "../../primitives/afm-cc/tsconfig.json"
40
- },
41
- {
42
- "path": "../../theme/afm-cc/tsconfig.json"
43
- },
44
- {
45
- "path": "../../tokens/afm-cc/tsconfig.json"
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
  {
@@ -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
  {
@@ -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
  {
@@ -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 a product. For example,
8
- navigating through the topics in a Confluence space, or to specific tasks within their Jira project.
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type HeaderProps } from '../Header';
3
2
  type NewFooterProps = Omit<HeaderProps, 'component' | 'onClick'>;
4
3
  type FooterFacadeProps = (HeaderProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ButtonItemProps } from '@atlaskit/menu';
3
2
  export type { ButtonItemProps } from '@atlaskit/menu';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type CustomItemComponentProps, type CustomItemProps } from '@atlaskit/menu';
3
2
  export type { CustomItemComponentProps, CustomItemProps } from '@atlaskit/menu';
4
3
  interface CustomItemPropsHack {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type LinkItemProps } from '@atlaskit/menu';
3
2
  export type { LinkItemProps } from '@atlaskit/menu';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface NavigationHeaderProps {
3
2
  children: JSX.Element | JSX.Element[];
4
3
  }
@@ -2,7 +2,6 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- /// <reference types="react" />
6
5
  import { type HeadingItemProps } from '@atlaskit/menu';
7
6
  export type { HeadingItemProps } from '@atlaskit/menu';
8
7
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface SideNavigationProps {
3
2
  /**
4
3
  * Describes the specific role of this navigation component for people viewing the page with assistive technology.
@@ -1,5 +1,5 @@
1
1
  import { type MutableRefObject } from 'react';
2
- export declare const useChildIds: (currentStackId: string, committedStack: string[], onUnknownNest?: ((stack: string[]) => void) | undefined) => {
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type HeaderProps } from '../Header';
3
2
  type NewFooterProps = Omit<HeaderProps, 'component' | 'onClick'>;
4
3
  type FooterFacadeProps = (HeaderProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ButtonItemProps } from '@atlaskit/menu';
3
2
  export type { ButtonItemProps } from '@atlaskit/menu';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type CustomItemComponentProps, type CustomItemProps } from '@atlaskit/menu';
3
2
  export type { CustomItemComponentProps, CustomItemProps } from '@atlaskit/menu';
4
3
  interface CustomItemPropsHack {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type LinkItemProps } from '@atlaskit/menu';
3
2
  export type { LinkItemProps } from '@atlaskit/menu';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface NavigationHeaderProps {
3
2
  children: JSX.Element | JSX.Element[];
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface SideNavigationProps {
3
2
  /**
4
3
  * Describes the specific role of this navigation component for people viewing the page with assistive technology.
@@ -1,5 +1,5 @@
1
1
  import { type MutableRefObject } from 'react';
2
- export declare const useChildIds: (currentStackId: string, committedStack: string[], onUnknownNest?: ((stack: string[]) => void) | undefined) => {
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.10",
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": "^27.6.0",
37
- "@atlaskit/menu": "^8.0.0",
38
- "@atlaskit/motion": "^5.1.0",
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.10.0",
40
+ "@atlaskit/primitives": "^14.11.0",
41
41
  "@atlaskit/theme": "^19.0.0",
42
- "@atlaskit/tokens": "^5.6.0",
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.2.0",
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.0.0",
57
+ "@atlaskit/form": "^12.1.0",
58
58
  "@atlaskit/image": "^3.0.0",
59
59
  "@atlaskit/link": "^3.2.0",
60
- "@atlaskit/logo": "^19.5.0",
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.3.0",
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
  }