@atlaskit/side-navigation 1.1.2

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 (140) hide show
  1. package/CHANGELOG.md +517 -0
  2. package/LICENSE +13 -0
  3. package/README.md +16 -0
  4. package/build/tsconfig.json +17 -0
  5. package/codemods/0.8.0-change-css-fn-prop.ts +184 -0
  6. package/codemods/__tests__/0.8.0-change-css-fn-prop.ts +360 -0
  7. package/codemods/helpers/generic.ts +674 -0
  8. package/dist/cjs/common/constants.js +10 -0
  9. package/dist/cjs/common/styles.js +104 -0
  10. package/dist/cjs/components/Footer/index.js +67 -0
  11. package/dist/cjs/components/Header/index.js +73 -0
  12. package/dist/cjs/components/Item/button-item.js +47 -0
  13. package/dist/cjs/components/Item/custom-item.js +52 -0
  14. package/dist/cjs/components/Item/go-back-item.js +65 -0
  15. package/dist/cjs/components/Item/index.js +47 -0
  16. package/dist/cjs/components/Item/link-item.js +47 -0
  17. package/dist/cjs/components/Item/skeleton-item.js +43 -0
  18. package/dist/cjs/components/LoadingItems/index.js +51 -0
  19. package/dist/cjs/components/NavigationContent/index.js +52 -0
  20. package/dist/cjs/components/NavigationContent/styles.js +152 -0
  21. package/dist/cjs/components/NavigationFooter/index.js +27 -0
  22. package/dist/cjs/components/NavigationHeader/index.js +27 -0
  23. package/dist/cjs/components/NestableNavigationContent/context.js +51 -0
  24. package/dist/cjs/components/NestableNavigationContent/index.js +182 -0
  25. package/dist/cjs/components/NestableNavigationContent/nesting-motion.js +40 -0
  26. package/dist/cjs/components/NestingItem/hack-for-ert.js +8 -0
  27. package/dist/cjs/components/NestingItem/index.js +173 -0
  28. package/dist/cjs/components/NestingItem/styles.js +47 -0
  29. package/dist/cjs/components/Section/heading-item.js +35 -0
  30. package/dist/cjs/components/Section/index.js +31 -0
  31. package/dist/cjs/components/Section/section.js +45 -0
  32. package/dist/cjs/components/Section/skeleton-heading-item.js +39 -0
  33. package/dist/cjs/components/SideNavigation/index.js +41 -0
  34. package/dist/cjs/components/index.js +131 -0
  35. package/dist/cjs/index.js +131 -0
  36. package/dist/cjs/version.json +5 -0
  37. package/dist/es2019/common/constants.js +2 -0
  38. package/dist/es2019/common/styles.js +78 -0
  39. package/dist/es2019/components/Footer/index.js +52 -0
  40. package/dist/es2019/components/Header/index.js +46 -0
  41. package/dist/es2019/components/Item/button-item.js +25 -0
  42. package/dist/es2019/components/Item/custom-item.js +31 -0
  43. package/dist/es2019/components/Item/go-back-item.js +34 -0
  44. package/dist/es2019/components/Item/index.js +5 -0
  45. package/dist/es2019/components/Item/link-item.js +25 -0
  46. package/dist/es2019/components/Item/skeleton-item.js +28 -0
  47. package/dist/es2019/components/LoadingItems/index.js +38 -0
  48. package/dist/es2019/components/NavigationContent/index.js +38 -0
  49. package/dist/es2019/components/NavigationContent/styles.js +120 -0
  50. package/dist/es2019/components/NavigationFooter/index.js +18 -0
  51. package/dist/es2019/components/NavigationHeader/index.js +20 -0
  52. package/dist/es2019/components/NestableNavigationContent/context.js +41 -0
  53. package/dist/es2019/components/NestableNavigationContent/index.js +148 -0
  54. package/dist/es2019/components/NestableNavigationContent/nesting-motion.js +21 -0
  55. package/dist/es2019/components/NestingItem/hack-for-ert.js +1 -0
  56. package/dist/es2019/components/NestingItem/index.js +128 -0
  57. package/dist/es2019/components/NestingItem/styles.js +39 -0
  58. package/dist/es2019/components/Section/heading-item.js +22 -0
  59. package/dist/es2019/components/Section/index.js +3 -0
  60. package/dist/es2019/components/Section/section.js +25 -0
  61. package/dist/es2019/components/Section/skeleton-heading-item.js +24 -0
  62. package/dist/es2019/components/SideNavigation/index.js +30 -0
  63. package/dist/es2019/components/index.js +11 -0
  64. package/dist/es2019/index.js +3 -0
  65. package/dist/es2019/version.json +5 -0
  66. package/dist/esm/common/constants.js +2 -0
  67. package/dist/esm/common/styles.js +82 -0
  68. package/dist/esm/components/Footer/index.js +51 -0
  69. package/dist/esm/components/Header/index.js +50 -0
  70. package/dist/esm/components/Item/button-item.js +25 -0
  71. package/dist/esm/components/Item/custom-item.js +31 -0
  72. package/dist/esm/components/Item/go-back-item.js +41 -0
  73. package/dist/esm/components/Item/index.js +5 -0
  74. package/dist/esm/components/Item/link-item.js +25 -0
  75. package/dist/esm/components/Item/skeleton-item.js +29 -0
  76. package/dist/esm/components/LoadingItems/index.js +39 -0
  77. package/dist/esm/components/NavigationContent/index.js +37 -0
  78. package/dist/esm/components/NavigationContent/styles.js +130 -0
  79. package/dist/esm/components/NavigationFooter/index.js +17 -0
  80. package/dist/esm/components/NavigationHeader/index.js +18 -0
  81. package/dist/esm/components/NestableNavigationContent/context.js +36 -0
  82. package/dist/esm/components/NestableNavigationContent/index.js +163 -0
  83. package/dist/esm/components/NestableNavigationContent/nesting-motion.js +28 -0
  84. package/dist/esm/components/NestingItem/hack-for-ert.js +1 -0
  85. package/dist/esm/components/NestingItem/index.js +144 -0
  86. package/dist/esm/components/NestingItem/styles.js +34 -0
  87. package/dist/esm/components/Section/heading-item.js +21 -0
  88. package/dist/esm/components/Section/index.js +3 -0
  89. package/dist/esm/components/Section/section.js +24 -0
  90. package/dist/esm/components/Section/skeleton-heading-item.js +25 -0
  91. package/dist/esm/components/SideNavigation/index.js +28 -0
  92. package/dist/esm/components/index.js +11 -0
  93. package/dist/esm/index.js +3 -0
  94. package/dist/esm/version.json +5 -0
  95. package/dist/types/common/constants.d.ts +2 -0
  96. package/dist/types/common/styles.d.ts +10 -0
  97. package/dist/types/components/Footer/index.d.ts +4 -0
  98. package/dist/types/components/Header/index.d.ts +43 -0
  99. package/dist/types/components/Item/button-item.d.ts +5 -0
  100. package/dist/types/components/Item/custom-item.d.ts +13 -0
  101. package/dist/types/components/Item/go-back-item.d.ts +5 -0
  102. package/dist/types/components/Item/index.d.ts +10 -0
  103. package/dist/types/components/Item/link-item.d.ts +5 -0
  104. package/dist/types/components/Item/skeleton-item.d.ts +4 -0
  105. package/dist/types/components/LoadingItems/index.d.ts +30 -0
  106. package/dist/types/components/NavigationContent/index.d.ts +17 -0
  107. package/dist/types/components/NavigationContent/styles.d.ts +91 -0
  108. package/dist/types/components/NavigationFooter/index.d.ts +7 -0
  109. package/dist/types/components/NavigationHeader/index.d.ts +5 -0
  110. package/dist/types/components/NestableNavigationContent/context.d.ts +20 -0
  111. package/dist/types/components/NestableNavigationContent/index.d.ts +58 -0
  112. package/dist/types/components/NestableNavigationContent/nesting-motion.d.ts +18 -0
  113. package/dist/types/components/NestingItem/hack-for-ert.d.ts +2 -0
  114. package/dist/types/components/NestingItem/index.d.ts +91 -0
  115. package/dist/types/components/NestingItem/styles.d.ts +28 -0
  116. package/dist/types/components/Section/heading-item.d.ts +4 -0
  117. package/dist/types/components/Section/index.d.ts +6 -0
  118. package/dist/types/components/Section/section.d.ts +25 -0
  119. package/dist/types/components/Section/skeleton-heading-item.d.ts +4 -0
  120. package/dist/types/components/SideNavigation/index.d.ts +23 -0
  121. package/dist/types/components/index.d.ts +22 -0
  122. package/dist/types/index.d.ts +4 -0
  123. package/docs/00-intro.tsx +70 -0
  124. package/docs/01-side-navigation.tsx +33 -0
  125. package/docs/02-navigation-header.tsx +39 -0
  126. package/docs/03-navigation-content.tsx +40 -0
  127. package/docs/04-nestable-navigation-content.tsx +95 -0
  128. package/docs/05-navigation-footer.tsx +38 -0
  129. package/docs/99-loading-states.tsx +95 -0
  130. package/docs/button-item.tsx +38 -0
  131. package/docs/custom-item.tsx +45 -0
  132. package/docs/go-back-item.tsx +31 -0
  133. package/docs/heading-item.tsx +30 -0
  134. package/docs/link-item.tsx +39 -0
  135. package/docs/nesting-item.tsx +52 -0
  136. package/docs/section.tsx +40 -0
  137. package/docs/skeleton-heading-item.tsx +30 -0
  138. package/docs/skeleton-item.tsx +30 -0
  139. package/package.json +71 -0
  140. package/tsconfig.json +15 -0
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+ import SectionMessage from '@atlaskit/section-message';
5
+
6
+ export default md`
7
+ ${(
8
+ <SectionMessage title="Important usage instructions">
9
+ The <a href="section">section component</a> is required to be used to
10
+ ensure spacing around blocks of items exists! Make sure to use it.
11
+ </SectionMessage>
12
+ )}
13
+
14
+ Will render an item wrapped in a button tag \`<button>\` -
15
+ useful when you have an action that does something _other than_ changing routes.
16
+
17
+ ${code`
18
+ import { ButtonItem } from '@atlaskit/side-navigation';
19
+
20
+ <ButtonItem>Create article</ButtonItem>
21
+ `}
22
+
23
+ ${(
24
+ <Example
25
+ title=""
26
+ Component={require('../examples/button-item.tsx').default}
27
+ source={require('!!raw-loader!../examples/button-item.tsx')}
28
+ />
29
+ )}
30
+
31
+ ${(
32
+ <Props
33
+ heading="Props"
34
+ // We point to the original props object because for some reason ERT can't follow package boundaries.
35
+ props={require('!!extract-react-types-loader!../../../design-system/menu/src/menu-item/button-item')}
36
+ />
37
+ )}
38
+ `;
@@ -0,0 +1,45 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+ import SectionMessage from '@atlaskit/section-message';
5
+
6
+ export default md`
7
+ ${(
8
+ <SectionMessage title="Important usage instructions">
9
+ The <a href="section">section component</a> is required to be used to
10
+ ensure spacing around blocks of items exists! Make sure to use it.
11
+ </SectionMessage>
12
+ )}
13
+
14
+ Useful when wanting to create a item using a your own component that inherits the look and feel of a menu item.
15
+ Use cases could include using your own router link component for example.
16
+
17
+ Your custom component will be given all overflow props passed to the custom item component,
18
+ as well as when using TypeScript will add the custom component props to the root component props type for type safety.
19
+
20
+ ${code`
21
+ import { CustomItem, CustomItemComponentProps } from '@atlaskit/side-navigation';
22
+
23
+ const Container = (props: CustomItemComponentProps) => {
24
+ return <span {...props}>{children}</span>;
25
+ };
26
+
27
+ <CustomItem component={Container}>Create article</CustomItem>
28
+ `}
29
+
30
+ ${(
31
+ <Example
32
+ title=""
33
+ Component={require('../examples/custom-item.tsx').default}
34
+ source={require('!!raw-loader!../examples/custom-item.tsx')}
35
+ />
36
+ )}
37
+
38
+ ${(
39
+ <Props
40
+ heading="Props"
41
+ // We point to the original props object because for some reason ERT can't follow package boundaries.
42
+ props={require('!!extract-react-types-loader!../../../design-system/menu/extract-react-types/custom-item-hack-for-ert')}
43
+ />
44
+ )}
45
+ `;
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+
5
+ export default md`
6
+ Used when wanting to customize the go back button in [nestable navigation content](/packages/navigation/side-navigation/docs/nestable-navigation-content) and [nesting item](/packages/navigation/side-navigation/docs/nesting-item).
7
+ The most common case for this is needing to translate the text,
8
+ but another would be if you want an SPA transition to happen when a user interacts with the element.
9
+
10
+ ${code`
11
+ import { GoBackItem } from '@atlaskit/side-navigation';
12
+
13
+ <GoBackItem>Back to project</GoBackItem>
14
+ `}
15
+
16
+ ${(
17
+ <Example
18
+ title=""
19
+ Component={require('../examples/go-back-item.tsx').default}
20
+ source={require('!!raw-loader!../examples/go-back-item.tsx')}
21
+ />
22
+ )}
23
+
24
+ ${(
25
+ <Props
26
+ heading="Props"
27
+ // We point to the original props object because for some reason ERT can't follow package boundaries.
28
+ props={require('!!extract-react-types-loader!../../../design-system/menu/src/menu-item/button-item')}
29
+ />
30
+ )}
31
+ `;
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+
5
+ export default md`
6
+ Heading that should be displayed inside a [section](/packages/navigation/side-navigation/docs/section).
7
+ When using the \`title\` prop you won't need to use this directly.
8
+
9
+ ${code`
10
+ import { HeadingItem } from '@atlaskit/side-navigation';
11
+
12
+ <HeadingItem>Actions</HeadingItem>
13
+ `}
14
+
15
+ ${(
16
+ <Example
17
+ title=""
18
+ Component={require('../examples/heading-item.tsx').default}
19
+ source={require('!!raw-loader!../examples/heading-item.tsx')}
20
+ />
21
+ )}
22
+
23
+ ${(
24
+ <Props
25
+ heading="Props"
26
+ // We point to the original props object because for some reason ERT can't follow package boundaries.
27
+ props={require('!!extract-react-types-loader!../../../design-system/menu/src/menu-item/heading-item')}
28
+ />
29
+ )}
30
+ `;
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+ import SectionMessage from '@atlaskit/section-message';
5
+
6
+ export default md`
7
+ ${(
8
+ <SectionMessage title="Important usage instructions">
9
+ The <a href="section">section component</a> is required to be used to
10
+ ensure spacing around blocks of items exists! Make sure to use it.
11
+ </SectionMessage>
12
+ )}
13
+
14
+ Will render an item wrapped in an anchor tag \`<a>\` -
15
+ useful when you have an item that should change routes.
16
+ If wanting to do SPA transitions make sure to use a [custom item](/packages/navigation/side-navigation/docs/custom-item) with your router link instead.
17
+
18
+ ${code`
19
+ import { LinkItem } from '@atlaskit/side-navigation';
20
+
21
+ <LinkItem href="#">My articles</LinkItem>
22
+ `}
23
+
24
+ ${(
25
+ <Example
26
+ title=""
27
+ Component={require('../examples/link-item.tsx').default}
28
+ source={require('!!raw-loader!../examples/link-item.tsx')}
29
+ />
30
+ )}
31
+
32
+ ${(
33
+ <Props
34
+ heading="Props"
35
+ // We point to the original props object because for some reason ERT can't follow package boundaries.
36
+ props={require('!!extract-react-types-loader!../../../design-system/menu/src/menu-item/link-item')}
37
+ />
38
+ )}
39
+ `;
@@ -0,0 +1,52 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+
5
+ export default md`
6
+ Used to create a nested view inside a [nestable navigation content](/packages/navigation/side-navigation/docs/nestable-navigation-content) component.
7
+ Will only work inside one - if you render it outside you'll get an error.
8
+ You can infinitely nest nesting items,
9
+ but the rule of thumb is try and limit nesting to three layers.
10
+
11
+ Will render its children when the view is active,
12
+ else will render itself as a button item waiting to be interacted with.
13
+ Once interacted,
14
+ the nested view will be shown.
15
+
16
+ ${code`highlight=7,11
17
+ import {
18
+ NestableNavigationContent,
19
+ NestingItem
20
+ } from '@atlaskit/side-navigation';
21
+
22
+ <NavigationHeader label="project">
23
+ <NavigationHeader>
24
+ <Header>Money machine</Header>
25
+ </NavigationHeader>
26
+ <NestableNavigationContent>
27
+ <Section>
28
+ <NestingItem title="Print money">
29
+ <Section>
30
+ <ButtonItem>Money printed</ButtonItem>
31
+ </Section>
32
+ </NestingItem>
33
+ </Section>
34
+ </NestableNavigationContent>
35
+ </NavigationHeader>
36
+ `}
37
+
38
+ ${(
39
+ <Example
40
+ title=""
41
+ Component={require('../examples/nesting-item').default}
42
+ source={require('!!raw-loader!../examples/nesting-item')}
43
+ />
44
+ )}
45
+
46
+ ${(
47
+ <Props
48
+ heading="Props"
49
+ props={require('!!extract-react-types-loader!../src/components/NestingItem/hack-for-ert')}
50
+ />
51
+ )}
52
+ `;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+ import SectionMessage from '@atlaskit/section-message';
5
+
6
+ export default md`
7
+ ${(
8
+ <SectionMessage title="Important usage instructions">
9
+ Section is required to be used to ensure spacing around blocks of items
10
+ exists! Make sure to use it.
11
+ </SectionMessage>
12
+ )}
13
+
14
+ Used to separate items into sections.
15
+ When using the \`title\` prop your section will implicitly group the items for screen readers without you needing to do anything.
16
+
17
+ ${code`
18
+ import { Section } from '@atlaskit/side-navigation';
19
+
20
+ <Section title="Actions">
21
+ <ButtonItem>Create issue</ButtonItem>
22
+ </Section>
23
+ `}
24
+
25
+ ${(
26
+ <Example
27
+ title=""
28
+ Component={require('../examples/section.tsx').default}
29
+ source={require('!!raw-loader!../examples/section.tsx')}
30
+ />
31
+ )}
32
+
33
+ ${(
34
+ <Props
35
+ heading="Props"
36
+ // We point to the original props object because for some reason ERT can't follow package boundaries.
37
+ props={require('!!extract-react-types-loader!../src/components/Section/section')}
38
+ />
39
+ )}
40
+ `;
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+
5
+ export default md`
6
+ Renders a skeleton which should be used in place of any heading item that is currently loading.
7
+ See [loading states](/packages/navigation/side-navigation/docs/loading-states) for best practices.
8
+
9
+ ${code`
10
+ import { SkeletonHeadingItem } from '@atlaskit/side-navigation';
11
+
12
+ <SkeletonHeadingItem />
13
+ `}
14
+
15
+ ${(
16
+ <Example
17
+ title=""
18
+ Component={require('../examples/skeleton-heading-item.tsx').default}
19
+ source={require('!!raw-loader!../examples/skeleton-heading-item.tsx')}
20
+ />
21
+ )}
22
+
23
+ ${(
24
+ <Props
25
+ heading="Props"
26
+ // We point to the original props object because for some reason ERT can't follow package boundaries.
27
+ props={require('!!extract-react-types-loader!../../../design-system/menu/src/menu-item/skeleton-heading-item')}
28
+ />
29
+ )}
30
+ `;
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+
3
+ import { code, Example, md, Props } from '@atlaskit/docs';
4
+
5
+ export default md`
6
+ Renders a skeleton which should be used in place any any item that is currently loading.
7
+ See [loading states](/packages/navigation/side-navigation/docs/loading-states) for best practices.
8
+
9
+ ${code`
10
+ import { SkeletonItem } from '@atlaskit/side-navigation';
11
+
12
+ <SkeletonItem />
13
+ `}
14
+
15
+ ${(
16
+ <Example
17
+ title=""
18
+ Component={require('../examples/skeleton-item.tsx').default}
19
+ source={require('!!raw-loader!../examples/skeleton-item.tsx')}
20
+ />
21
+ )}
22
+
23
+ ${(
24
+ <Props
25
+ heading="Props"
26
+ // We point to the original props object because for some reason ERT can't follow package boundaries.
27
+ props={require('!!extract-react-types-loader!../../../design-system/menu/src/menu-item/skeleton-item')}
28
+ />
29
+ )}
30
+ `;
package/package.json ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "@atlaskit/side-navigation",
3
+ "version": "1.1.2",
4
+ "description": "A highly composable side navigation component that supports nested views.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "sideEffects": false,
16
+ "atlaskit:src": "src/index.ts",
17
+ "atlassian": {
18
+ "team": "Design System Team",
19
+ "deprecatedAutoEntryPoints": true,
20
+ "releaseModel": "scheduled",
21
+ "website": {
22
+ "name": "Side navigation"
23
+ }
24
+ },
25
+ "dependencies": {
26
+ "@atlaskit/ds-lib": "^1.1.0",
27
+ "@atlaskit/icon": "^21.9.0",
28
+ "@atlaskit/menu": "^1.1.0",
29
+ "@atlaskit/motion": "^1.0.0",
30
+ "@atlaskit/theme": "^12.0.0",
31
+ "@atlaskit/tokens": "^0.2.0",
32
+ "@babel/runtime": "^7.0.0",
33
+ "@emotion/core": "^10.0.9"
34
+ },
35
+ "peerDependencies": {
36
+ "react": "^16.8.0"
37
+ },
38
+ "devDependencies": {
39
+ "@atlaskit/atlassian-navigation": "^1.1.0",
40
+ "@atlaskit/button": "^16.0.0",
41
+ "@atlaskit/docs": "*",
42
+ "@atlaskit/logo": "^13.5.0",
43
+ "@atlaskit/onboarding": "^10.1.0",
44
+ "@atlaskit/section-message": "^6.0.0",
45
+ "@atlaskit/select": "^15.2.0",
46
+ "@atlaskit/visual-regression": "*",
47
+ "@atlaskit/webdriver-runner": "*",
48
+ "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
49
+ "@testing-library/react": "^8.0.1",
50
+ "@types/jest-axe": "^3.5.0",
51
+ "ast-types": "^0.13.3",
52
+ "jest-axe": "^4.0.0",
53
+ "jest-emotion": "^10.0.32",
54
+ "jscodeshift": "^0.13.0",
55
+ "raf-stub": "^2.0.1",
56
+ "react-beautiful-dnd": "^12.1.1",
57
+ "typescript": "3.9.6"
58
+ },
59
+ "techstack": {
60
+ "@atlassian/frontend": {
61
+ "import-structure": "atlassian-conventions"
62
+ },
63
+ "@repo/internal": {
64
+ "ui-components": "lite-mode",
65
+ "analytics": "analytics-next",
66
+ "theming": "tokens",
67
+ "deprecation": "no-deprecated-imports"
68
+ }
69
+ },
70
+ "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
71
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "extends": "../../../tsconfig.json",
3
+ "include": [
4
+ "src/**/*.ts",
5
+ "src/**/*.tsx",
6
+ "examples/**/*.ts",
7
+ "examples/**/*.tsx"
8
+ ],
9
+ "exclude": [
10
+ "node_modules"
11
+ ],
12
+ "compilerOptions": {
13
+ "baseUrl": "./"
14
+ }
15
+ }