@atlaskit/editor-shared-styles 2.11.0 → 2.12.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +214 -207
  2. package/afm-jira/tsconfig.json +31 -0
  3. package/dist/cjs/consts/consts.js +4 -1
  4. package/dist/cjs/consts/index.js +6 -0
  5. package/dist/cjs/index.js +6 -0
  6. package/dist/cjs/shortcut/shortcut.js +1 -1
  7. package/dist/es2019/consts/consts.js +1 -0
  8. package/dist/es2019/consts/index.js +1 -1
  9. package/dist/es2019/index.js +1 -1
  10. package/dist/es2019/shortcut/shortcut.js +10 -10
  11. package/dist/esm/consts/consts.js +3 -0
  12. package/dist/esm/consts/index.js +1 -1
  13. package/dist/esm/index.js +1 -1
  14. package/dist/esm/shortcut/shortcut.js +1 -1
  15. package/dist/types/consts/consts.d.ts +1 -0
  16. package/dist/types/consts/index.d.ts +1 -1
  17. package/dist/types/index.d.ts +1 -1
  18. package/dist/types/selection/index.d.ts +1 -1
  19. package/dist/types-ts4.5/consts/consts.d.ts +1 -0
  20. package/dist/types-ts4.5/consts/index.d.ts +1 -1
  21. package/dist/types-ts4.5/index.d.ts +1 -1
  22. package/dist/types-ts4.5/selection/index.d.ts +1 -1
  23. package/package.json +6 -5
  24. package/report.api.md +50 -53
  25. package/src/consts/consts.test.ts +17 -17
  26. package/src/consts/consts.ts +119 -119
  27. package/src/consts/index.ts +98 -97
  28. package/src/consts/types.ts +1 -1
  29. package/src/index.ts +100 -99
  30. package/src/overflow-shadow/overflow-shadow.ts +11 -17
  31. package/src/scrollbar-styles.ts +3 -12
  32. package/src/selection/__tests__/unit/utils.ts +30 -34
  33. package/src/selection/index.ts +1 -4
  34. package/src/selection/types.ts +4 -4
  35. package/src/selection/utils.ts +22 -27
  36. package/src/shortcut/shortcut.ts +13 -13
  37. package/tsconfig.app.json +44 -44
  38. package/tsconfig.dev.json +38 -38
package/src/index.ts CHANGED
@@ -1,107 +1,108 @@
1
1
  export {
2
- akEditorActiveBackground,
3
- akEditorActiveForeground,
4
- akEditorBlockquoteBorderColor,
5
- akEditorBreakoutPadding,
6
- akEditorCodeBackground,
7
- akEditorCodeBlockPadding,
8
- akEditorCodeFontFamily,
9
- akEditorCodeInlinePadding,
10
- akEditorContextPanelWidth,
11
- akEditorDefaultLayoutWidth,
12
- akEditorDeleteBackground,
13
- akEditorDeleteBackgroundShaded,
14
- akEditorDeleteBackgroundWithOpacity,
15
- akEditorDeleteBorder,
16
- akEditorDeleteIconColor,
17
- akEditorDropdownActiveBackground,
18
- akEditorFloatingDialogZIndex,
19
- akEditorFloatingOverlapPanelZIndex,
20
- akEditorFloatingPanelZIndex,
21
- akEditorFocus,
22
- akEditorFullPageMaxWidth,
23
- akEditorFullPageDefaultFontSize,
24
- akEditorFullWidthLayoutWidth,
25
- akEditorFullWidthLayoutLineLength,
26
- akEditorGridLineZIndex,
27
- akEditorGutterPadding,
28
- akEditorInactiveForeground,
29
- akEditorMediaResizeHandlerPadding,
30
- akEditorMediaResizeHandlerPaddingWide,
31
- akEditorMentionSelected,
32
- akEditorMenuZIndex,
33
- akEditorStickyHeaderZIndex,
34
- akEditorMobileBreakoutPoint,
35
- akEditorPopupBackground,
36
- akEditorPopupText,
37
- akEditorPrimaryButton,
38
- akEditorSelectedBorderColor,
39
- akEditorSelectedBorderBoldSize,
40
- akEditorSelectedBorderSize,
41
- akEditorSelectedBorder,
42
- akEditorSelectedBoxShadow,
43
- akEditorSelectedIconColor,
44
- akEditorSelectedBlanketColor,
45
- akEditorSelectedBgColor,
46
- akEditorSelectedBlanketOpacity,
47
- akEditorSmallZIndex,
48
- akEditorShadowZIndex,
49
- akEditorSubtleAccent,
50
- akEditorSwoopCubicBezier,
51
- akEditorTableBorder,
52
- akEditorTableBorderDark,
53
- akEditorTableBorderDelete,
54
- akEditorTableBorderRadius,
55
- akEditorTableBorderSelected,
56
- akEditorTableCellBackgroundOpacity,
57
- akEditorTableCellDelete,
58
- akEditorTableCellMinWidth,
59
- akEditorTableCellOnStickyHeaderZIndex,
60
- akEditorTableCellSelected,
61
- akEditorTableFloatingControls,
62
- akEditorTableHeaderCellBackground,
63
- akEditorTableHeaderCellBackgroundDark,
64
- akEditorTableLegacyCellMinWidth,
65
- akEditorTableNumberColumnWidth,
66
- akEditorTableToolbar,
67
- akEditorTableToolbarDark,
68
- akEditorTableToolbarDelete,
69
- akEditorTableToolbarSelected,
70
- akEditorTableToolbarSize,
71
- akEditorUnitZIndex,
72
- akEditorCalculatedWideLayoutWidth,
73
- akEditorWideLayoutWidth,
74
- akLayoutGutterOffset,
75
- akRichMediaResizeZIndex,
76
- avatarColors,
77
- blockNodesVerticalMargin,
78
- breakoutWideScaleRatio,
79
- editorFontSize,
80
- gridMediumMaxWidth,
81
- relativeSize,
82
- relativeFontSizeToBase16,
83
- DEFAULT_EMBED_CARD_HEIGHT,
84
- DEFAULT_EMBED_CARD_WIDTH,
85
- akEditorLineHeight,
86
- akEditorRuleBackground,
87
- akEditorRuleBorderRadius,
88
- akEditorSelectedNodeClassName,
89
- akEditorToolbarKeylineHeight,
90
- MAX_BROWSER_SCROLLBAR_HEIGHT,
91
- VIEWPORT_SIZES,
92
- akEditorMobileMaxWidth,
93
- getTableCellBackgroundDarkModeColors,
94
- ATLASSIAN_NAVIGATION_HEIGHT,
95
- FULL_PAGE_EDITOR_TOOLBAR_HEIGHT,
96
- akEditorTableCellBlanketSelected,
97
- akEditorTableCellBlanketDeleted,
2
+ akEditorActiveBackground,
3
+ akEditorActiveForeground,
4
+ akEditorBlockquoteBorderColor,
5
+ akEditorBreakoutPadding,
6
+ akEditorCodeBackground,
7
+ akEditorCodeBlockPadding,
8
+ akEditorCodeFontFamily,
9
+ akEditorCodeInlinePadding,
10
+ akEditorContextPanelWidth,
11
+ akEditorDefaultLayoutWidth,
12
+ akEditorDeleteBackground,
13
+ akEditorDeleteBackgroundShaded,
14
+ akEditorDeleteBackgroundWithOpacity,
15
+ akEditorDeleteBorder,
16
+ akEditorDeleteIconColor,
17
+ akEditorDropdownActiveBackground,
18
+ akEditorFloatingDialogZIndex,
19
+ akEditorFloatingOverlapPanelZIndex,
20
+ akEditorFloatingPanelZIndex,
21
+ akEditorFocus,
22
+ akEditorFullPageMaxWidth,
23
+ akEditorFullPageDefaultFontSize,
24
+ akEditorFullWidthLayoutWidth,
25
+ akEditorFullWidthLayoutLineLength,
26
+ akEditorGridLineZIndex,
27
+ akEditorGutterPadding,
28
+ akEditorGutterPaddingDynamic,
29
+ akEditorInactiveForeground,
30
+ akEditorMediaResizeHandlerPadding,
31
+ akEditorMediaResizeHandlerPaddingWide,
32
+ akEditorMentionSelected,
33
+ akEditorMenuZIndex,
34
+ akEditorStickyHeaderZIndex,
35
+ akEditorMobileBreakoutPoint,
36
+ akEditorPopupBackground,
37
+ akEditorPopupText,
38
+ akEditorPrimaryButton,
39
+ akEditorSelectedBorderColor,
40
+ akEditorSelectedBorderBoldSize,
41
+ akEditorSelectedBorderSize,
42
+ akEditorSelectedBorder,
43
+ akEditorSelectedBoxShadow,
44
+ akEditorSelectedIconColor,
45
+ akEditorSelectedBlanketColor,
46
+ akEditorSelectedBgColor,
47
+ akEditorSelectedBlanketOpacity,
48
+ akEditorSmallZIndex,
49
+ akEditorShadowZIndex,
50
+ akEditorSubtleAccent,
51
+ akEditorSwoopCubicBezier,
52
+ akEditorTableBorder,
53
+ akEditorTableBorderDark,
54
+ akEditorTableBorderDelete,
55
+ akEditorTableBorderRadius,
56
+ akEditorTableBorderSelected,
57
+ akEditorTableCellBackgroundOpacity,
58
+ akEditorTableCellDelete,
59
+ akEditorTableCellMinWidth,
60
+ akEditorTableCellOnStickyHeaderZIndex,
61
+ akEditorTableCellSelected,
62
+ akEditorTableFloatingControls,
63
+ akEditorTableHeaderCellBackground,
64
+ akEditorTableHeaderCellBackgroundDark,
65
+ akEditorTableLegacyCellMinWidth,
66
+ akEditorTableNumberColumnWidth,
67
+ akEditorTableToolbar,
68
+ akEditorTableToolbarDark,
69
+ akEditorTableToolbarDelete,
70
+ akEditorTableToolbarSelected,
71
+ akEditorTableToolbarSize,
72
+ akEditorUnitZIndex,
73
+ akEditorCalculatedWideLayoutWidth,
74
+ akEditorWideLayoutWidth,
75
+ akLayoutGutterOffset,
76
+ akRichMediaResizeZIndex,
77
+ avatarColors,
78
+ blockNodesVerticalMargin,
79
+ breakoutWideScaleRatio,
80
+ editorFontSize,
81
+ gridMediumMaxWidth,
82
+ relativeSize,
83
+ relativeFontSizeToBase16,
84
+ DEFAULT_EMBED_CARD_HEIGHT,
85
+ DEFAULT_EMBED_CARD_WIDTH,
86
+ akEditorLineHeight,
87
+ akEditorRuleBackground,
88
+ akEditorRuleBorderRadius,
89
+ akEditorSelectedNodeClassName,
90
+ akEditorToolbarKeylineHeight,
91
+ MAX_BROWSER_SCROLLBAR_HEIGHT,
92
+ VIEWPORT_SIZES,
93
+ akEditorMobileMaxWidth,
94
+ getTableCellBackgroundDarkModeColors,
95
+ ATLASSIAN_NAVIGATION_HEIGHT,
96
+ FULL_PAGE_EDITOR_TOOLBAR_HEIGHT,
97
+ akEditorTableCellBlanketSelected,
98
+ akEditorTableCellBlanketDeleted,
98
99
  } from './consts';
99
100
  export type { EditorTheme } from './consts';
100
101
 
101
102
  export {
102
- SelectionStyle,
103
- getSelectionStyles,
104
- hideNativeBrowserTextSelectionStyles,
103
+ SelectionStyle,
104
+ getSelectionStyles,
105
+ hideNativeBrowserTextSelectionStyles,
105
106
  } from './selection';
106
107
 
107
108
  export { overflowShadow } from './overflow-shadow';
@@ -5,18 +5,18 @@ import { N20 } from '@atlaskit/theme/colors';
5
5
  import { token } from '@atlaskit/tokens';
6
6
 
7
7
  export const overflowShadow = ({
8
- leftCoverWidth,
9
- rightCoverWidth,
8
+ leftCoverWidth,
9
+ rightCoverWidth,
10
10
  }: {
11
- leftCoverWidth?: string;
12
- rightCoverWidth?: string;
11
+ leftCoverWidth?: string;
12
+ rightCoverWidth?: string;
13
13
  }) => {
14
- const width = token('space.100', '8px');
15
- const leftCoverWidthResolved = leftCoverWidth || width;
16
- const rightCoverWidthResolved = rightCoverWidth || width;
14
+ const width = token('space.100', '8px');
15
+ const leftCoverWidthResolved = leftCoverWidth || width;
16
+ const rightCoverWidthResolved = rightCoverWidth || width;
17
17
 
18
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
19
- return css`
18
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
19
+ return css`
20
20
  /* shadow cover left */
21
21
  linear-gradient(
22
22
  to right,
@@ -26,10 +26,7 @@ export const overflowShadow = ({
26
26
  /* shadow cover background left */
27
27
  linear-gradient(
28
28
  to right,
29
- ${token(
30
- 'elevation.surface.raised',
31
- 'transparent',
32
- )} ${leftCoverWidthResolved},
29
+ ${token('elevation.surface.raised', 'transparent')} ${leftCoverWidthResolved},
33
30
  transparent ${leftCoverWidthResolved}
34
31
  ),
35
32
  /* shadow cover right */
@@ -41,10 +38,7 @@ export const overflowShadow = ({
41
38
  /* shadow cover background right */
42
39
  linear-gradient(
43
40
  to left,
44
- ${token(
45
- 'elevation.surface.raised',
46
- 'transparent',
47
- )} ${rightCoverWidthResolved},
41
+ ${token('elevation.surface.raised', 'transparent')} ${rightCoverWidthResolved},
48
42
  transparent ${rightCoverWidthResolved}
49
43
  ),
50
44
  /* overflow shadow right spread */
@@ -13,24 +13,15 @@ export const scrollbarStyles = `
13
13
  }
14
14
 
15
15
  &::-webkit-scrollbar-thumb {
16
- background-color: ${token(
17
- 'color.background.neutral.subtle',
18
- 'rgba(0, 0, 0, 0)',
19
- )};
16
+ background-color: ${token('color.background.neutral.subtle', 'rgba(0, 0, 0, 0)')};
20
17
  }
21
18
 
22
19
  &:hover::-webkit-scrollbar-thumb {
23
- background-color: ${token(
24
- 'color.background.neutral.bold',
25
- 'rgba(0, 0, 0, 0.2)',
26
- )};
20
+ background-color: ${token('color.background.neutral.bold', 'rgba(0, 0, 0, 0.2)')};
27
21
  border-radius: 8px;
28
22
  }
29
23
 
30
24
  &::-webkit-scrollbar-thumb:hover {
31
- background-color: ${token(
32
- 'color.background.neutral.bold.hovered',
33
- 'rgba(0, 0, 0, 0.4)',
34
- )};
25
+ background-color: ${token('color.background.neutral.bold.hovered', 'rgba(0, 0, 0, 0.4)')};
35
26
  }
36
27
  `;
@@ -2,42 +2,38 @@ import { SelectionStyle } from '../../types';
2
2
  import { getSelectionStyles } from '../../utils';
3
3
 
4
4
  describe('selection plugin: utils', () => {
5
- describe('getSelectionStyles', () => {
6
- const selectionStyles = [
7
- { name: 'border', style: SelectionStyle.Border, regex: /border\:/ },
8
- {
9
- name: 'box-shadow',
10
- style: SelectionStyle.BoxShadow,
11
- regex: /box\-shadow\:/,
12
- },
13
- {
14
- name: 'background',
15
- style: SelectionStyle.Background,
16
- regex: /background\-color\:/,
17
- },
18
- { name: 'blanket', style: SelectionStyle.Blanket, regex: /\:\:before/ },
19
- ];
5
+ describe('getSelectionStyles', () => {
6
+ const selectionStyles = [
7
+ { name: 'border', style: SelectionStyle.Border, regex: /border\:/ },
8
+ {
9
+ name: 'box-shadow',
10
+ style: SelectionStyle.BoxShadow,
11
+ regex: /box\-shadow\:/,
12
+ },
13
+ {
14
+ name: 'background',
15
+ style: SelectionStyle.Background,
16
+ regex: /background\-color\:/,
17
+ },
18
+ { name: 'blanket', style: SelectionStyle.Blanket, regex: /\:\:before/ },
19
+ ];
20
20
 
21
- for (const selectionStyle of selectionStyles) {
22
- it(`gets styles for ${selectionStyle.name}`, () => {
23
- const css = getSelectionStyles([selectionStyle.style]);
24
- expect(css).toMatch(selectionStyle.regex);
25
- });
26
- }
21
+ for (const selectionStyle of selectionStyles) {
22
+ it(`gets styles for ${selectionStyle.name}`, () => {
23
+ const css = getSelectionStyles([selectionStyle.style]);
24
+ expect(css).toMatch(selectionStyle.regex);
25
+ });
26
+ }
27
27
 
28
- it('combines multiple styles', () => {
29
- const allStyles = selectionStyles.map(
30
- (selectionStyle) => selectionStyle.style,
31
- );
32
- const allRegex = selectionStyles.map(
33
- (selectionStyle) => selectionStyle.regex,
34
- );
28
+ it('combines multiple styles', () => {
29
+ const allStyles = selectionStyles.map((selectionStyle) => selectionStyle.style);
30
+ const allRegex = selectionStyles.map((selectionStyle) => selectionStyle.regex);
35
31
 
36
- const css = getSelectionStyles(allStyles);
32
+ const css = getSelectionStyles(allStyles);
37
33
 
38
- for (const regex of allRegex) {
39
- expect(css).toMatch(regex);
40
- }
41
- });
42
- });
34
+ for (const regex of allRegex) {
35
+ expect(css).toMatch(regex);
36
+ }
37
+ });
38
+ });
43
39
  });
@@ -1,5 +1,2 @@
1
1
  export { SelectionStyle } from './types';
2
- export {
3
- getSelectionStyles,
4
- hideNativeBrowserTextSelectionStyles,
5
- } from './utils';
2
+ export { getSelectionStyles, hideNativeBrowserTextSelectionStyles } from './utils';
@@ -4,8 +4,8 @@
4
4
  * file in editor-core
5
5
  */
6
6
  export enum SelectionStyle {
7
- Border,
8
- BoxShadow,
9
- Background,
10
- Blanket,
7
+ Border,
8
+ BoxShadow,
9
+ Background,
10
+ Blanket,
11
11
  }
@@ -1,11 +1,11 @@
1
1
  import { token } from '@atlaskit/tokens';
2
2
 
3
3
  import {
4
- akEditorSelectedBgColor,
5
- akEditorSelectedBorder,
6
- akEditorSelectedBorderColor,
7
- akEditorSelectedBoxShadow,
8
- akEditorSmallZIndex,
4
+ akEditorSelectedBgColor,
5
+ akEditorSelectedBorder,
6
+ akEditorSelectedBorderColor,
7
+ akEditorSelectedBoxShadow,
8
+ akEditorSmallZIndex,
9
9
  } from '../consts';
10
10
 
11
11
  import { SelectionStyle } from './types';
@@ -20,13 +20,11 @@ import { SelectionStyle } from './types';
20
20
  * }
21
21
  *
22
22
  */
23
- export const getSelectionStyles = (
24
- selectionStyles: Array<SelectionStyle>,
25
- ): string =>
26
- selectionStyles
27
- .map((selectionStyle) => getSelectionStyle(selectionStyle))
28
- .concat(hideNativeBrowserTextSelectionStyles)
29
- .join('\n');
23
+ export const getSelectionStyles = (selectionStyles: Array<SelectionStyle>): string =>
24
+ selectionStyles
25
+ .map((selectionStyle) => getSelectionStyle(selectionStyle))
26
+ .concat(hideNativeBrowserTextSelectionStyles)
27
+ .join('\n');
30
28
 
31
29
  export const hideNativeBrowserTextSelectionStyles = `
32
30
  ::selection,*::selection {
@@ -38,9 +36,9 @@ export const hideNativeBrowserTextSelectionStyles = `
38
36
  `;
39
37
 
40
38
  const getSelectionStyle = (style: SelectionStyle): string => {
41
- switch (style) {
42
- case SelectionStyle.Border:
43
- return `
39
+ switch (style) {
40
+ case SelectionStyle.Border:
41
+ return `
44
42
  border: ${akEditorSelectedBorder};
45
43
 
46
44
  // Fixes ED-15246: Trello card is visible through a border of a table border
@@ -57,18 +55,15 @@ const getSelectionStyle = (style: SelectionStyle): string => {
57
55
  display: inline-block;
58
56
  }
59
57
  `;
60
- case SelectionStyle.BoxShadow:
61
- return `
58
+ case SelectionStyle.BoxShadow:
59
+ return `
62
60
  box-shadow: ${akEditorSelectedBoxShadow};
63
61
  border-color: transparent;
64
62
  `;
65
- case SelectionStyle.Background:
66
- return `background-color: ${token(
67
- 'color.background.selected',
68
- akEditorSelectedBgColor,
69
- )};`;
70
- case SelectionStyle.Blanket:
71
- return `
63
+ case SelectionStyle.Background:
64
+ return `background-color: ${token('color.background.selected', akEditorSelectedBgColor)};`;
65
+ case SelectionStyle.Blanket:
66
+ return `
72
67
  position: relative;
73
68
 
74
69
  // Fixes ED-9263, where emoji or inline card in panel makes selection go outside the panel
@@ -87,7 +82,7 @@ const getSelectionStyle = (style: SelectionStyle): string => {
87
82
  z-index: ${akEditorSmallZIndex};
88
83
  background-color: ${token('color.blanket.selected', '#B3D4FF4C')}
89
84
  }`;
90
- default:
91
- return '';
92
- }
85
+ default:
86
+ return '';
87
+ }
93
88
  };
@@ -8,17 +8,17 @@ import { akEditorMobileMaxWidth, relativeFontSizeToBase16 } from '../consts';
8
8
 
9
9
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
10
10
  export const shortcutStyle = css`
11
- background-color: ${token(
12
- 'color.background.neutral',
13
- 'rgba(223, 225, 229, 0.5)',
14
- )}; /* N60 at 50% */
15
- color: ${token('color.text.subtle', N100)};
16
- border-radius: ${borderRadius()}px;
17
- padding: ${token('space.050', '4px')};
18
- line-height: 12px;
19
- font-size: ${relativeFontSizeToBase16(11.67)};
20
- align-self: flex-end;
21
- @media (max-width: ${akEditorMobileMaxWidth}px) {
22
- display: none;
23
- }
11
+ background-color: ${token(
12
+ 'color.background.neutral',
13
+ 'rgba(223, 225, 229, 0.5)',
14
+ )}; /* N60 at 50% */
15
+ color: ${token('color.text.subtle', N100)};
16
+ border-radius: ${borderRadius()}px;
17
+ padding: ${token('space.050', '4px')};
18
+ line-height: 12px;
19
+ font-size: ${relativeFontSizeToBase16(11.67)};
20
+ align-self: flex-end;
21
+ @media (max-width: ${akEditorMobileMaxWidth}px) {
22
+ display: none;
23
+ }
24
24
  `;
package/tsconfig.app.json CHANGED
@@ -1,46 +1,46 @@
1
1
  {
2
- "extends": "../../../tsconfig.base.json",
3
- "include": ["./src/**/*.ts", "./src/**/*.tsx"],
4
- "exclude": [
5
- "**/docs/**/*",
6
- "**/__tests__/**/*",
7
- "**/vr-tests/**/*",
8
- "**/__perf__/**/*",
9
- "**/*.test.*",
10
- "**/test.*",
11
- "**/test-*",
12
- "**/examples.ts",
13
- "**/examples.tsx",
14
- "**/examples/*.ts",
15
- "**/examples/*.tsx",
16
- "**/examples/**/*.ts",
17
- "**/examples/**/*.tsx",
18
- "**/storybook/**/*",
19
- "**/constellation/**/*",
20
- ".storybook/*",
21
- "./__fixtures__/**/*",
22
- "./__generated__/**/*",
23
- "./mocks/**/*",
24
- "./__mocks__/**/*",
25
- "**/mock.*",
26
- "**/codemods/**/*.ts",
27
- "**/codemods/**/*.tsx"
28
- ],
29
- "compilerOptions": {
30
- "baseUrl": "./",
31
- "composite": true,
32
- "outDir": "../../../tsDist/@atlaskit__editor-shared-styles/app"
33
- },
34
- "references": [
35
- {
36
- "path": "../../platform/feature-flags/tsconfig.app.json"
37
- },
38
- {
39
- "path": "../../design-system/theme/tsconfig.app.json"
40
- },
41
- {
42
- "path": "../../design-system/tokens/tsconfig.app.json"
43
- }
44
- ],
45
- "files": []
2
+ "extends": "../../../tsconfig.base.json",
3
+ "include": ["./src/**/*.ts", "./src/**/*.tsx"],
4
+ "exclude": [
5
+ "**/docs/**/*",
6
+ "**/__tests__/**/*",
7
+ "**/vr-tests/**/*",
8
+ "**/__perf__/**/*",
9
+ "**/*.test.*",
10
+ "**/test.*",
11
+ "**/test-*",
12
+ "**/examples.ts",
13
+ "**/examples.tsx",
14
+ "**/examples/*.ts",
15
+ "**/examples/*.tsx",
16
+ "**/examples/**/*.ts",
17
+ "**/examples/**/*.tsx",
18
+ "**/storybook/**/*",
19
+ "**/constellation/**/*",
20
+ ".storybook/*",
21
+ "./__fixtures__/**/*",
22
+ "./__generated__/**/*",
23
+ "./mocks/**/*",
24
+ "./__mocks__/**/*",
25
+ "**/mock.*",
26
+ "**/codemods/**/*.ts",
27
+ "**/codemods/**/*.tsx"
28
+ ],
29
+ "compilerOptions": {
30
+ "baseUrl": "./",
31
+ "composite": true,
32
+ "outDir": "../../../tsDist/@atlaskit__editor-shared-styles/app"
33
+ },
34
+ "references": [
35
+ {
36
+ "path": "../../platform/feature-flags/tsconfig.app.json"
37
+ },
38
+ {
39
+ "path": "../../design-system/theme/tsconfig.app.json"
40
+ },
41
+ {
42
+ "path": "../../design-system/tokens/tsconfig.app.json"
43
+ }
44
+ ],
45
+ "files": []
46
46
  }