@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.
- package/CHANGELOG.md +214 -207
- package/afm-jira/tsconfig.json +31 -0
- package/dist/cjs/consts/consts.js +4 -1
- package/dist/cjs/consts/index.js +6 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/shortcut/shortcut.js +1 -1
- package/dist/es2019/consts/consts.js +1 -0
- package/dist/es2019/consts/index.js +1 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/shortcut/shortcut.js +10 -10
- package/dist/esm/consts/consts.js +3 -0
- package/dist/esm/consts/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/shortcut/shortcut.js +1 -1
- package/dist/types/consts/consts.d.ts +1 -0
- package/dist/types/consts/index.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/selection/index.d.ts +1 -1
- package/dist/types-ts4.5/consts/consts.d.ts +1 -0
- package/dist/types-ts4.5/consts/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/index.d.ts +1 -1
- package/package.json +6 -5
- package/report.api.md +50 -53
- package/src/consts/consts.test.ts +17 -17
- package/src/consts/consts.ts +119 -119
- package/src/consts/index.ts +98 -97
- package/src/consts/types.ts +1 -1
- package/src/index.ts +100 -99
- package/src/overflow-shadow/overflow-shadow.ts +11 -17
- package/src/scrollbar-styles.ts +3 -12
- package/src/selection/__tests__/unit/utils.ts +30 -34
- package/src/selection/index.ts +1 -4
- package/src/selection/types.ts +4 -4
- package/src/selection/utils.ts +22 -27
- package/src/shortcut/shortcut.ts +13 -13
- package/tsconfig.app.json +44 -44
- package/tsconfig.dev.json +38 -38
package/src/index.ts
CHANGED
|
@@ -1,107 +1,108 @@
|
|
|
1
1
|
export {
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
-
|
|
9
|
-
|
|
8
|
+
leftCoverWidth,
|
|
9
|
+
rightCoverWidth,
|
|
10
10
|
}: {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
leftCoverWidth?: string;
|
|
12
|
+
rightCoverWidth?: string;
|
|
13
13
|
}) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
const width = token('space.100', '8px');
|
|
15
|
+
const leftCoverWidthResolved = leftCoverWidth || width;
|
|
16
|
+
const rightCoverWidthResolved = rightCoverWidth || width;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
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 */
|
package/src/scrollbar-styles.ts
CHANGED
|
@@ -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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
32
|
+
const css = getSelectionStyles(allStyles);
|
|
37
33
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
34
|
+
for (const regex of allRegex) {
|
|
35
|
+
expect(css).toMatch(regex);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
43
39
|
});
|
package/src/selection/index.ts
CHANGED
package/src/selection/types.ts
CHANGED
package/src/selection/utils.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { token } from '@atlaskit/tokens';
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
25
|
-
)
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
|
|
61
|
-
|
|
58
|
+
case SelectionStyle.BoxShadow:
|
|
59
|
+
return `
|
|
62
60
|
box-shadow: ${akEditorSelectedBoxShadow};
|
|
63
61
|
border-color: transparent;
|
|
64
62
|
`;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
default:
|
|
86
|
+
return '';
|
|
87
|
+
}
|
|
93
88
|
};
|
package/src/shortcut/shortcut.ts
CHANGED
|
@@ -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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
}
|