@atlaskit/editor-shared-styles 2.13.4 → 3.0.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 +17 -0
- package/afm-cc/tsconfig.json +0 -3
- package/afm-jira/tsconfig.json +0 -3
- package/afm-post-office/tsconfig.json +0 -3
- package/dist/cjs/consts/consts.js +20 -43
- package/dist/cjs/consts/index.js +0 -132
- package/dist/cjs/index.js +0 -132
- package/dist/cjs/overflow-shadow/overflow-shadow.js +1 -2
- package/dist/cjs/scrollbar-styles.js +1 -1
- package/dist/cjs/selection/utils.js +2 -2
- package/dist/cjs/shortcut/shortcut.js +1 -3
- package/dist/es2019/consts/consts.js +20 -44
- package/dist/es2019/consts/index.js +1 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/overflow-shadow/overflow-shadow.js +10 -11
- package/dist/es2019/scrollbar-styles.js +3 -3
- package/dist/es2019/selection/utils.js +3 -3
- package/dist/es2019/shortcut/shortcut.js +3 -5
- package/dist/esm/consts/consts.js +20 -44
- package/dist/esm/consts/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/overflow-shadow/overflow-shadow.js +1 -2
- package/dist/esm/scrollbar-styles.js +1 -1
- package/dist/esm/selection/utils.js +3 -3
- package/dist/esm/shortcut/shortcut.js +1 -3
- package/dist/types/consts/consts.d.ts +14 -36
- package/dist/types/consts/index.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/consts/consts.d.ts +14 -36
- package/dist/types-ts4.5/consts/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +2 -3
- package/src/consts/consts.ts +38 -107
- package/src/consts/index.ts +0 -22
- package/src/index.ts +0 -22
- package/src/overflow-shadow/overflow-shadow.ts +12 -13
- package/src/scrollbar-styles.ts +3 -3
- package/src/selection/utils.ts +2 -3
- package/src/shortcut/shortcut.ts +3 -8
- package/tsconfig.app.json +0 -3
|
@@ -1,32 +1,20 @@
|
|
|
1
1
|
import type { EditorTheme } from './types';
|
|
2
2
|
export declare const akEditorFullPageDefaultFontSize = 16;
|
|
3
|
-
export declare const akEditorCodeFontFamily:
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const akEditorActiveBackground = "#42526E";
|
|
8
|
-
export declare const akEditorActiveForeground = "#FFFFFF";
|
|
9
|
-
export declare const akEditorBlockquoteBorderColor = "#DFE1E6";
|
|
10
|
-
export declare const akEditorDropdownActiveBackground = "#091E42";
|
|
11
|
-
export declare const akEditorPopupBackground = "#253858";
|
|
12
|
-
export declare const akEditorPopupText = "#DEEBFF";
|
|
13
|
-
export declare const akEditorPrimaryButton = "#0052CC";
|
|
14
|
-
export declare const akEditorCodeBackground = "#F4F5F7";
|
|
3
|
+
export declare const akEditorCodeFontFamily: "var(--ds-font-family-code)";
|
|
4
|
+
export declare const akEditorSubtleAccent: "var(--ds-background-accent-gray-subtler)";
|
|
5
|
+
export declare const akEditorBlockquoteBorderColor: "var(--ds-border)";
|
|
6
|
+
export declare const akEditorCodeBackground: "var(--ds-background-accent-gray-subtlest)";
|
|
15
7
|
export declare const akEditorCodeBlockPadding = "12px";
|
|
16
8
|
export declare const akEditorCodeInlinePadding = "2px 4px";
|
|
17
|
-
export declare const akEditorDeleteBackground
|
|
18
|
-
export declare const akEditorDeleteBackgroundShaded = "#FFEBE6";
|
|
9
|
+
export declare const akEditorDeleteBackground: "var(--ds-background-danger)";
|
|
19
10
|
export declare const akEditorDeleteBackgroundWithOpacity = "rgba(255, 189, 173, 0.5)";
|
|
20
|
-
export declare const akEditorDeleteBorder
|
|
21
|
-
export declare const akEditorDeleteIconColor
|
|
11
|
+
export declare const akEditorDeleteBorder: "var(--ds-border-danger)";
|
|
12
|
+
export declare const akEditorDeleteIconColor: "var(--ds-icon-danger)";
|
|
22
13
|
export declare const akEditorCustomIconSize = 20;
|
|
23
|
-
export declare const akEditorSelectedBorderColor
|
|
24
|
-
export declare const akEditorSelectedBgColor = "#DEEBFF";
|
|
25
|
-
export declare const akEditorSelectedBlanketColor = "#B3D4FF";
|
|
14
|
+
export declare const akEditorSelectedBorderColor: "var(--ds-border-selected)";
|
|
26
15
|
export declare const akEditorSelectedBorderSize = 1;
|
|
27
16
|
export declare const akEditorSelectedBorder: string;
|
|
28
17
|
export declare const akEditorSelectedBoxShadow: string;
|
|
29
|
-
export declare const akEditorSelectedIconColor = "#0052CC";
|
|
30
18
|
export declare const akEditorSelectedBorderBoldSize = 2;
|
|
31
19
|
export declare const akEditorSelectedBlanketOpacity = 0.3;
|
|
32
20
|
export declare const akEditorUnitZIndex = 1;
|
|
@@ -34,26 +22,17 @@ export declare const akEditorShadowZIndex = 2;
|
|
|
34
22
|
export declare const akEditorStickyHeaderZIndex = 11;
|
|
35
23
|
export declare const akEditorSmallZIndex: number;
|
|
36
24
|
export declare const akEditorGridLineZIndex = 2;
|
|
37
|
-
export declare const akEditorMenuZIndex
|
|
38
|
-
export declare const akEditorFloatingPanelZIndex
|
|
25
|
+
export declare const akEditorMenuZIndex = 500;
|
|
26
|
+
export declare const akEditorFloatingPanelZIndex = 400;
|
|
39
27
|
export declare const akEditorFloatingDialogZIndex: number;
|
|
40
28
|
export declare const akEditorTableCellOnStickyHeaderZIndex: number;
|
|
41
29
|
export declare const akEditorFloatingOverlapPanelZIndex: number;
|
|
42
|
-
export declare const akEditorMentionSelected = "#7A869A";
|
|
43
30
|
export declare const akEditorTableToolbarSize = 11;
|
|
44
|
-
export declare const akEditorTableBorder
|
|
45
|
-
export declare const
|
|
46
|
-
export declare const akEditorTableToolbar = "#F4F5F7";
|
|
47
|
-
export declare const akEditorTableToolbarDark = "#283447";
|
|
48
|
-
export declare const akEditorTableFloatingControls = "#F4F5F7";
|
|
49
|
-
export declare const akEditorTableCellSelected = "#B3D4FF";
|
|
31
|
+
export declare const akEditorTableBorder: "var(--ds-background-accent-gray-subtler)";
|
|
32
|
+
export declare const akEditorTableToolbar: "var(--ds-background-accent-gray-subtlest)";
|
|
50
33
|
export declare const akEditorTableHeaderCellBackground = "#F1F2F4";
|
|
51
34
|
export declare const akEditorTableHeaderCellBackgroundDark = "#2C333A";
|
|
52
|
-
export declare const
|
|
53
|
-
export declare const akEditorTableBorderSelected = "#0065FF";
|
|
54
|
-
export declare const akEditorTableCellDelete = "#FFEBE6";
|
|
55
|
-
export declare const akEditorTableBorderDelete = "#FF5630";
|
|
56
|
-
export declare const akEditorTableToolbarDelete = "#FFBDAD";
|
|
35
|
+
export declare const akEditorTableBorderSelected: "var(--ds-border-focused)";
|
|
57
36
|
export declare const akEditorTableBorderRadius = "3px";
|
|
58
37
|
export declare const akEditorTableCellBackgroundOpacity = 0.5;
|
|
59
38
|
export declare const akEditorFullPageMaxWidth = 680;
|
|
@@ -76,9 +55,8 @@ export declare const breakoutWideScaleRatio = 1.33;
|
|
|
76
55
|
export declare const akEditorCalculatedWideLayoutWidthSmallViewport = 905;
|
|
77
56
|
export declare const akEditorCalculatedWideLayoutWidth = 1011;
|
|
78
57
|
export declare const akRichMediaResizeZIndex: number;
|
|
79
|
-
export declare const akLayoutGutterOffset
|
|
58
|
+
export declare const akLayoutGutterOffset = 12;
|
|
80
59
|
export declare const akEditorLineHeight = 1.714;
|
|
81
|
-
export declare const akEditorRuleBackground = "#EBECF0";
|
|
82
60
|
export declare const akEditorRuleBorderRadius = "1px";
|
|
83
61
|
export declare const akEditorToolbarKeylineHeight = 2;
|
|
84
62
|
export declare const akEditorContextPanelWidth = 320;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type { EditorTheme } from './types';
|
|
2
|
-
export {
|
|
2
|
+
export { akEditorBlockquoteBorderColor, akEditorBreakoutPadding, akEditorCodeBackground, akEditorCodeBlockPadding, akEditorCodeFontFamily, akEditorCodeInlinePadding, akEditorContextPanelWidth, akEditorDefaultLayoutWidth, akEditorDeleteBackground, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorDeleteIconColor, akEditorFloatingDialogZIndex, akEditorFloatingOverlapPanelZIndex, akEditorFloatingPanelZIndex, akEditorFullPageMaxWidth, akEditorFullPageDefaultFontSize, akEditorFullWidthLayoutWidth, akEditorFullWidthLayoutLineLength, akEditorGridLineZIndex, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorMediaResizeHandlerPadding, akEditorMediaResizeHandlerPaddingWide, akEditorMenuZIndex, akEditorStickyHeaderZIndex, akEditorMobileBreakoutPoint, akEditorSelectedBorderColor, akEditorSelectedBorderBoldSize, akEditorSelectedBorderSize, akEditorSelectedBorder, akEditorSelectedBoxShadow, akEditorCustomIconSize, akEditorSelectedBlanketOpacity, akEditorSmallZIndex, akEditorShadowZIndex, akEditorSubtleAccent, akEditorSwoopCubicBezier, akEditorTableBorder, akEditorTableBorderRadius, akEditorTableBorderSelected, akEditorTableCellBackgroundOpacity, akEditorTableCellMinWidth, akEditorTableCellOnStickyHeaderZIndex, akEditorTableHeaderCellBackground, akEditorTableHeaderCellBackgroundDark, akEditorTableLegacyCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorTableToolbarSize, akEditorUnitZIndex, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorWideLayoutWidth, akLayoutGutterOffset, akRichMediaResizeZIndex, avatarColors, blockNodesVerticalMargin, breakoutWideScaleRatio, editorFontSize, gridMediumMaxWidth, relativeSize, relativeFontSizeToBase16, DEFAULT_EMBED_CARD_HEIGHT, DEFAULT_EMBED_CARD_WIDTH, akEditorLineHeight, akEditorRuleBorderRadius, akEditorSelectedNodeClassName, akEditorToolbarKeylineHeight, MAX_BROWSER_SCROLLBAR_HEIGHT, VIEWPORT_SIZES, akEditorMobileMaxWidth, getTableCellBackgroundDarkModeColors, ATLASSIAN_NAVIGATION_HEIGHT, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT, akEditorTableCellBlanketSelected, akEditorTableCellBlanketDeleted, } from './consts';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { akEditorBlockquoteBorderColor, akEditorBreakoutPadding, akEditorCodeBackground, akEditorCodeBlockPadding, akEditorCodeFontFamily, akEditorCodeInlinePadding, akEditorContextPanelWidth, akEditorDefaultLayoutWidth, akEditorDeleteBackground, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorDeleteIconColor, akEditorFloatingDialogZIndex, akEditorFloatingOverlapPanelZIndex, akEditorFloatingPanelZIndex, akEditorFullPageMaxWidth, akEditorFullPageDefaultFontSize, akEditorFullWidthLayoutWidth, akEditorFullWidthLayoutLineLength, akEditorGridLineZIndex, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorMediaResizeHandlerPadding, akEditorMediaResizeHandlerPaddingWide, akEditorMenuZIndex, akEditorStickyHeaderZIndex, akEditorMobileBreakoutPoint, akEditorSelectedBorderColor, akEditorSelectedBorderBoldSize, akEditorSelectedBorderSize, akEditorSelectedBorder, akEditorSelectedBoxShadow, akEditorSelectedBlanketOpacity, akEditorSmallZIndex, akEditorShadowZIndex, akEditorSubtleAccent, akEditorSwoopCubicBezier, akEditorTableBorder, akEditorTableBorderRadius, akEditorTableBorderSelected, akEditorTableCellBackgroundOpacity, akEditorTableCellMinWidth, akEditorTableCellOnStickyHeaderZIndex, akEditorTableHeaderCellBackground, akEditorTableHeaderCellBackgroundDark, akEditorTableLegacyCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorTableToolbarSize, akEditorUnitZIndex, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorWideLayoutWidth, akLayoutGutterOffset, akRichMediaResizeZIndex, avatarColors, blockNodesVerticalMargin, breakoutWideScaleRatio, editorFontSize, gridMediumMaxWidth, relativeSize, relativeFontSizeToBase16, DEFAULT_EMBED_CARD_HEIGHT, DEFAULT_EMBED_CARD_WIDTH, akEditorLineHeight, akEditorRuleBorderRadius, akEditorSelectedNodeClassName, akEditorToolbarKeylineHeight, MAX_BROWSER_SCROLLBAR_HEIGHT, VIEWPORT_SIZES, akEditorMobileMaxWidth, getTableCellBackgroundDarkModeColors, ATLASSIAN_NAVIGATION_HEIGHT, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT, akEditorTableCellBlanketSelected, akEditorTableCellBlanketDeleted, } from './consts';
|
|
2
2
|
export type { EditorTheme } from './consts';
|
|
3
3
|
export { SelectionStyle, getSelectionStyles, hideNativeBrowserTextSelectionStyles, } from './selection';
|
|
4
4
|
export { overflowShadow } from './overflow-shadow';
|
|
@@ -1,32 +1,20 @@
|
|
|
1
1
|
import type { EditorTheme } from './types';
|
|
2
2
|
export declare const akEditorFullPageDefaultFontSize = 16;
|
|
3
|
-
export declare const akEditorCodeFontFamily:
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const akEditorActiveBackground = "#42526E";
|
|
8
|
-
export declare const akEditorActiveForeground = "#FFFFFF";
|
|
9
|
-
export declare const akEditorBlockquoteBorderColor = "#DFE1E6";
|
|
10
|
-
export declare const akEditorDropdownActiveBackground = "#091E42";
|
|
11
|
-
export declare const akEditorPopupBackground = "#253858";
|
|
12
|
-
export declare const akEditorPopupText = "#DEEBFF";
|
|
13
|
-
export declare const akEditorPrimaryButton = "#0052CC";
|
|
14
|
-
export declare const akEditorCodeBackground = "#F4F5F7";
|
|
3
|
+
export declare const akEditorCodeFontFamily: "var(--ds-font-family-code)";
|
|
4
|
+
export declare const akEditorSubtleAccent: "var(--ds-background-accent-gray-subtler)";
|
|
5
|
+
export declare const akEditorBlockquoteBorderColor: "var(--ds-border)";
|
|
6
|
+
export declare const akEditorCodeBackground: "var(--ds-background-accent-gray-subtlest)";
|
|
15
7
|
export declare const akEditorCodeBlockPadding = "12px";
|
|
16
8
|
export declare const akEditorCodeInlinePadding = "2px 4px";
|
|
17
|
-
export declare const akEditorDeleteBackground
|
|
18
|
-
export declare const akEditorDeleteBackgroundShaded = "#FFEBE6";
|
|
9
|
+
export declare const akEditorDeleteBackground: "var(--ds-background-danger)";
|
|
19
10
|
export declare const akEditorDeleteBackgroundWithOpacity = "rgba(255, 189, 173, 0.5)";
|
|
20
|
-
export declare const akEditorDeleteBorder
|
|
21
|
-
export declare const akEditorDeleteIconColor
|
|
11
|
+
export declare const akEditorDeleteBorder: "var(--ds-border-danger)";
|
|
12
|
+
export declare const akEditorDeleteIconColor: "var(--ds-icon-danger)";
|
|
22
13
|
export declare const akEditorCustomIconSize = 20;
|
|
23
|
-
export declare const akEditorSelectedBorderColor
|
|
24
|
-
export declare const akEditorSelectedBgColor = "#DEEBFF";
|
|
25
|
-
export declare const akEditorSelectedBlanketColor = "#B3D4FF";
|
|
14
|
+
export declare const akEditorSelectedBorderColor: "var(--ds-border-selected)";
|
|
26
15
|
export declare const akEditorSelectedBorderSize = 1;
|
|
27
16
|
export declare const akEditorSelectedBorder: string;
|
|
28
17
|
export declare const akEditorSelectedBoxShadow: string;
|
|
29
|
-
export declare const akEditorSelectedIconColor = "#0052CC";
|
|
30
18
|
export declare const akEditorSelectedBorderBoldSize = 2;
|
|
31
19
|
export declare const akEditorSelectedBlanketOpacity = 0.3;
|
|
32
20
|
export declare const akEditorUnitZIndex = 1;
|
|
@@ -34,26 +22,17 @@ export declare const akEditorShadowZIndex = 2;
|
|
|
34
22
|
export declare const akEditorStickyHeaderZIndex = 11;
|
|
35
23
|
export declare const akEditorSmallZIndex: number;
|
|
36
24
|
export declare const akEditorGridLineZIndex = 2;
|
|
37
|
-
export declare const akEditorMenuZIndex
|
|
38
|
-
export declare const akEditorFloatingPanelZIndex
|
|
25
|
+
export declare const akEditorMenuZIndex = 500;
|
|
26
|
+
export declare const akEditorFloatingPanelZIndex = 400;
|
|
39
27
|
export declare const akEditorFloatingDialogZIndex: number;
|
|
40
28
|
export declare const akEditorTableCellOnStickyHeaderZIndex: number;
|
|
41
29
|
export declare const akEditorFloatingOverlapPanelZIndex: number;
|
|
42
|
-
export declare const akEditorMentionSelected = "#7A869A";
|
|
43
30
|
export declare const akEditorTableToolbarSize = 11;
|
|
44
|
-
export declare const akEditorTableBorder
|
|
45
|
-
export declare const
|
|
46
|
-
export declare const akEditorTableToolbar = "#F4F5F7";
|
|
47
|
-
export declare const akEditorTableToolbarDark = "#283447";
|
|
48
|
-
export declare const akEditorTableFloatingControls = "#F4F5F7";
|
|
49
|
-
export declare const akEditorTableCellSelected = "#B3D4FF";
|
|
31
|
+
export declare const akEditorTableBorder: "var(--ds-background-accent-gray-subtler)";
|
|
32
|
+
export declare const akEditorTableToolbar: "var(--ds-background-accent-gray-subtlest)";
|
|
50
33
|
export declare const akEditorTableHeaderCellBackground = "#F1F2F4";
|
|
51
34
|
export declare const akEditorTableHeaderCellBackgroundDark = "#2C333A";
|
|
52
|
-
export declare const
|
|
53
|
-
export declare const akEditorTableBorderSelected = "#0065FF";
|
|
54
|
-
export declare const akEditorTableCellDelete = "#FFEBE6";
|
|
55
|
-
export declare const akEditorTableBorderDelete = "#FF5630";
|
|
56
|
-
export declare const akEditorTableToolbarDelete = "#FFBDAD";
|
|
35
|
+
export declare const akEditorTableBorderSelected: "var(--ds-border-focused)";
|
|
57
36
|
export declare const akEditorTableBorderRadius = "3px";
|
|
58
37
|
export declare const akEditorTableCellBackgroundOpacity = 0.5;
|
|
59
38
|
export declare const akEditorFullPageMaxWidth = 680;
|
|
@@ -76,9 +55,8 @@ export declare const breakoutWideScaleRatio = 1.33;
|
|
|
76
55
|
export declare const akEditorCalculatedWideLayoutWidthSmallViewport = 905;
|
|
77
56
|
export declare const akEditorCalculatedWideLayoutWidth = 1011;
|
|
78
57
|
export declare const akRichMediaResizeZIndex: number;
|
|
79
|
-
export declare const akLayoutGutterOffset
|
|
58
|
+
export declare const akLayoutGutterOffset = 12;
|
|
80
59
|
export declare const akEditorLineHeight = 1.714;
|
|
81
|
-
export declare const akEditorRuleBackground = "#EBECF0";
|
|
82
60
|
export declare const akEditorRuleBorderRadius = "1px";
|
|
83
61
|
export declare const akEditorToolbarKeylineHeight = 2;
|
|
84
62
|
export declare const akEditorContextPanelWidth = 320;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type { EditorTheme } from './types';
|
|
2
|
-
export {
|
|
2
|
+
export { akEditorBlockquoteBorderColor, akEditorBreakoutPadding, akEditorCodeBackground, akEditorCodeBlockPadding, akEditorCodeFontFamily, akEditorCodeInlinePadding, akEditorContextPanelWidth, akEditorDefaultLayoutWidth, akEditorDeleteBackground, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorDeleteIconColor, akEditorFloatingDialogZIndex, akEditorFloatingOverlapPanelZIndex, akEditorFloatingPanelZIndex, akEditorFullPageMaxWidth, akEditorFullPageDefaultFontSize, akEditorFullWidthLayoutWidth, akEditorFullWidthLayoutLineLength, akEditorGridLineZIndex, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorMediaResizeHandlerPadding, akEditorMediaResizeHandlerPaddingWide, akEditorMenuZIndex, akEditorStickyHeaderZIndex, akEditorMobileBreakoutPoint, akEditorSelectedBorderColor, akEditorSelectedBorderBoldSize, akEditorSelectedBorderSize, akEditorSelectedBorder, akEditorSelectedBoxShadow, akEditorCustomIconSize, akEditorSelectedBlanketOpacity, akEditorSmallZIndex, akEditorShadowZIndex, akEditorSubtleAccent, akEditorSwoopCubicBezier, akEditorTableBorder, akEditorTableBorderRadius, akEditorTableBorderSelected, akEditorTableCellBackgroundOpacity, akEditorTableCellMinWidth, akEditorTableCellOnStickyHeaderZIndex, akEditorTableHeaderCellBackground, akEditorTableHeaderCellBackgroundDark, akEditorTableLegacyCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorTableToolbarSize, akEditorUnitZIndex, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorWideLayoutWidth, akLayoutGutterOffset, akRichMediaResizeZIndex, avatarColors, blockNodesVerticalMargin, breakoutWideScaleRatio, editorFontSize, gridMediumMaxWidth, relativeSize, relativeFontSizeToBase16, DEFAULT_EMBED_CARD_HEIGHT, DEFAULT_EMBED_CARD_WIDTH, akEditorLineHeight, akEditorRuleBorderRadius, akEditorSelectedNodeClassName, akEditorToolbarKeylineHeight, MAX_BROWSER_SCROLLBAR_HEIGHT, VIEWPORT_SIZES, akEditorMobileMaxWidth, getTableCellBackgroundDarkModeColors, ATLASSIAN_NAVIGATION_HEIGHT, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT, akEditorTableCellBlanketSelected, akEditorTableCellBlanketDeleted, } from './consts';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { akEditorBlockquoteBorderColor, akEditorBreakoutPadding, akEditorCodeBackground, akEditorCodeBlockPadding, akEditorCodeFontFamily, akEditorCodeInlinePadding, akEditorContextPanelWidth, akEditorDefaultLayoutWidth, akEditorDeleteBackground, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorDeleteIconColor, akEditorFloatingDialogZIndex, akEditorFloatingOverlapPanelZIndex, akEditorFloatingPanelZIndex, akEditorFullPageMaxWidth, akEditorFullPageDefaultFontSize, akEditorFullWidthLayoutWidth, akEditorFullWidthLayoutLineLength, akEditorGridLineZIndex, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorMediaResizeHandlerPadding, akEditorMediaResizeHandlerPaddingWide, akEditorMenuZIndex, akEditorStickyHeaderZIndex, akEditorMobileBreakoutPoint, akEditorSelectedBorderColor, akEditorSelectedBorderBoldSize, akEditorSelectedBorderSize, akEditorSelectedBorder, akEditorSelectedBoxShadow, akEditorSelectedBlanketOpacity, akEditorSmallZIndex, akEditorShadowZIndex, akEditorSubtleAccent, akEditorSwoopCubicBezier, akEditorTableBorder, akEditorTableBorderRadius, akEditorTableBorderSelected, akEditorTableCellBackgroundOpacity, akEditorTableCellMinWidth, akEditorTableCellOnStickyHeaderZIndex, akEditorTableHeaderCellBackground, akEditorTableHeaderCellBackgroundDark, akEditorTableLegacyCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorTableToolbarSize, akEditorUnitZIndex, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorWideLayoutWidth, akLayoutGutterOffset, akRichMediaResizeZIndex, avatarColors, blockNodesVerticalMargin, breakoutWideScaleRatio, editorFontSize, gridMediumMaxWidth, relativeSize, relativeFontSizeToBase16, DEFAULT_EMBED_CARD_HEIGHT, DEFAULT_EMBED_CARD_WIDTH, akEditorLineHeight, akEditorRuleBorderRadius, akEditorSelectedNodeClassName, akEditorToolbarKeylineHeight, MAX_BROWSER_SCROLLBAR_HEIGHT, VIEWPORT_SIZES, akEditorMobileMaxWidth, getTableCellBackgroundDarkModeColors, ATLASSIAN_NAVIGATION_HEIGHT, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT, akEditorTableCellBlanketSelected, akEditorTableCellBlanketDeleted, } from './consts';
|
|
2
2
|
export type { EditorTheme } from './consts';
|
|
3
3
|
export { SelectionStyle, getSelectionStyles, hideNativeBrowserTextSelectionStyles, } from './selection';
|
|
4
4
|
export { overflowShadow } from './overflow-shadow';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-shared-styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Style values used in the editor/renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
45
|
-
"@atlaskit/
|
|
46
|
-
"@atlaskit/tokens": "^1.59.0",
|
|
45
|
+
"@atlaskit/tokens": "^1.61.0",
|
|
47
46
|
"@babel/runtime": "^7.0.0",
|
|
48
47
|
"@emotion/react": "^11.7.1"
|
|
49
48
|
},
|
package/src/consts/consts.ts
CHANGED
|
@@ -1,90 +1,29 @@
|
|
|
1
1
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
|
-
import {
|
|
4
|
-
B100,
|
|
5
|
-
B300,
|
|
6
|
-
B400,
|
|
7
|
-
B50,
|
|
8
|
-
B500,
|
|
9
|
-
B75,
|
|
10
|
-
DN50,
|
|
11
|
-
DN70,
|
|
12
|
-
G100,
|
|
13
|
-
G300,
|
|
14
|
-
G500,
|
|
15
|
-
N0,
|
|
16
|
-
N100,
|
|
17
|
-
N20,
|
|
18
|
-
N200,
|
|
19
|
-
N30,
|
|
20
|
-
N40,
|
|
21
|
-
N50,
|
|
22
|
-
N500,
|
|
23
|
-
N70,
|
|
24
|
-
N700,
|
|
25
|
-
N800,
|
|
26
|
-
N900,
|
|
27
|
-
P100,
|
|
28
|
-
P300,
|
|
29
|
-
P500,
|
|
30
|
-
R100,
|
|
31
|
-
R300,
|
|
32
|
-
R400,
|
|
33
|
-
R50,
|
|
34
|
-
R500,
|
|
35
|
-
R75,
|
|
36
|
-
T100,
|
|
37
|
-
T300,
|
|
38
|
-
T500,
|
|
39
|
-
Y100,
|
|
40
|
-
Y300,
|
|
41
|
-
Y500,
|
|
42
|
-
} from '@atlaskit/theme/colors';
|
|
43
|
-
import {
|
|
44
|
-
codeFontFamily,
|
|
45
|
-
fontSize as defaultFontSize,
|
|
46
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
47
|
-
gridSize,
|
|
48
|
-
layers,
|
|
49
|
-
} from '@atlaskit/theme/constants';
|
|
50
3
|
import { token } from '@atlaskit/tokens';
|
|
51
4
|
|
|
52
5
|
import type { EditorTheme } from './types';
|
|
53
6
|
|
|
54
7
|
export const akEditorFullPageDefaultFontSize = 16;
|
|
55
|
-
export const akEditorCodeFontFamily =
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
59
|
-
export const akEditorActiveBackground = N500;
|
|
60
|
-
export const akEditorActiveForeground = N0;
|
|
61
|
-
export const akEditorBlockquoteBorderColor = N40;
|
|
62
|
-
export const akEditorDropdownActiveBackground = N900;
|
|
63
|
-
export const akEditorPopupBackground = N700;
|
|
64
|
-
export const akEditorPopupText = B50;
|
|
65
|
-
export const akEditorPrimaryButton = B400;
|
|
66
|
-
export const akEditorCodeBackground = N20;
|
|
8
|
+
export const akEditorCodeFontFamily = token('font.family.code');
|
|
9
|
+
export const akEditorSubtleAccent = token('color.background.accent.gray.subtler');
|
|
10
|
+
export const akEditorBlockquoteBorderColor = token('color.border');
|
|
11
|
+
export const akEditorCodeBackground = token('color.background.accent.gray.subtlest');
|
|
67
12
|
export const akEditorCodeBlockPadding = '12px';
|
|
68
13
|
export const akEditorCodeInlinePadding = '2px 4px';
|
|
69
|
-
export const akEditorDeleteBackground =
|
|
70
|
-
export const akEditorDeleteBackgroundShaded = R50;
|
|
14
|
+
export const akEditorDeleteBackground = token('color.background.danger');
|
|
71
15
|
export const akEditorDeleteBackgroundWithOpacity = 'rgba(255, 189, 173, 0.5)'; // R75 with 50% opacity
|
|
72
|
-
export const akEditorDeleteBorder =
|
|
73
|
-
export const akEditorDeleteIconColor =
|
|
16
|
+
export const akEditorDeleteBorder = token('color.border.danger');
|
|
17
|
+
export const akEditorDeleteIconColor = token('color.icon.danger');
|
|
74
18
|
export const akEditorCustomIconSize = 20;
|
|
75
|
-
export const akEditorSelectedBorderColor =
|
|
76
|
-
export const akEditorSelectedBgColor = B50;
|
|
77
|
-
export const akEditorSelectedBlanketColor = B75;
|
|
19
|
+
export const akEditorSelectedBorderColor = token('color.border.selected');
|
|
78
20
|
export const akEditorSelectedBorderSize = 1;
|
|
79
21
|
export const akEditorSelectedBorder = `${akEditorSelectedBorderSize}px solid ${token(
|
|
80
22
|
'color.border.selected',
|
|
81
|
-
akEditorSelectedBorderColor,
|
|
82
23
|
)}`;
|
|
83
24
|
export const akEditorSelectedBoxShadow = `0 0 0 ${akEditorSelectedBorderSize}px ${token(
|
|
84
25
|
'color.border.selected',
|
|
85
|
-
akEditorSelectedBorderColor,
|
|
86
26
|
)}`;
|
|
87
|
-
export const akEditorSelectedIconColor = B400;
|
|
88
27
|
export const akEditorSelectedBorderBoldSize = 2;
|
|
89
28
|
export const akEditorSelectedBlanketOpacity = 0.3;
|
|
90
29
|
export const akEditorUnitZIndex = 1;
|
|
@@ -94,30 +33,21 @@ export const akEditorSmallZIndex = akEditorStickyHeaderZIndex + 1;
|
|
|
94
33
|
export const akEditorGridLineZIndex = 2;
|
|
95
34
|
// z-index for main menu bar -
|
|
96
35
|
// this is highest as it should be above anything else in editor below.
|
|
97
|
-
export const akEditorMenuZIndex =
|
|
36
|
+
export const akEditorMenuZIndex = 500;
|
|
98
37
|
// z-index used for floating toolbars like code block, table etc
|
|
99
|
-
export const akEditorFloatingPanelZIndex =
|
|
38
|
+
export const akEditorFloatingPanelZIndex = 400;
|
|
100
39
|
// z-index used for pickers (date, emoji, mentions) and type-aheads, hyperlinks
|
|
101
40
|
export const akEditorFloatingDialogZIndex = akEditorMenuZIndex + 10;
|
|
102
41
|
// z-index used for table cell menu options button on a sticky header
|
|
103
42
|
export const akEditorTableCellOnStickyHeaderZIndex = akEditorFloatingDialogZIndex - 5;
|
|
104
43
|
// z-index used for floating toolbars table cell menu which are above block toolbars
|
|
105
44
|
export const akEditorFloatingOverlapPanelZIndex = akEditorFloatingPanelZIndex + 5;
|
|
106
|
-
export const akEditorMentionSelected = N100;
|
|
107
45
|
export const akEditorTableToolbarSize = 11;
|
|
108
|
-
export const akEditorTableBorder =
|
|
109
|
-
export const
|
|
110
|
-
export const akEditorTableToolbar = N20;
|
|
111
|
-
export const akEditorTableToolbarDark = DN50;
|
|
112
|
-
export const akEditorTableFloatingControls = N20;
|
|
113
|
-
export const akEditorTableCellSelected = B75;
|
|
46
|
+
export const akEditorTableBorder = token('color.background.accent.gray.subtler');
|
|
47
|
+
export const akEditorTableToolbar = token('color.background.accent.gray.subtlest');
|
|
114
48
|
export const akEditorTableHeaderCellBackground = '#F1F2F4';
|
|
115
49
|
export const akEditorTableHeaderCellBackgroundDark = '#2C333A';
|
|
116
|
-
export const
|
|
117
|
-
export const akEditorTableBorderSelected = B300;
|
|
118
|
-
export const akEditorTableCellDelete = R50;
|
|
119
|
-
export const akEditorTableBorderDelete = R300;
|
|
120
|
-
export const akEditorTableToolbarDelete = R75;
|
|
50
|
+
export const akEditorTableBorderSelected = token('color.border.focused');
|
|
121
51
|
export const akEditorTableBorderRadius = '3px';
|
|
122
52
|
export const akEditorTableCellBackgroundOpacity = 0.5;
|
|
123
53
|
export const akEditorFullPageMaxWidth = 680;
|
|
@@ -141,9 +71,8 @@ export const breakoutWideScaleRatio = 1.33;
|
|
|
141
71
|
export const akEditorCalculatedWideLayoutWidthSmallViewport = 905; // from breakoutConsts.calcWideWidth, layoutMaxWidth * breakoutConsts.wideScaleRatio = 904.8 ~ 905 This is a resulting width value that is applied to nodes that currently use breakouts (except table) and are set to `wide` when the viewport's width is <= 1266px.
|
|
142
72
|
export const akEditorCalculatedWideLayoutWidth = 1011; // = akEditorDefaultLayoutWidth * breakoutWideScaleRatio = 1010.8 ~ 1011 This is a resulting width value that is applied to nodes that currently use breakouts (except table) and are set to `wide` when the viewport's width is > 1329px.
|
|
143
73
|
export const akRichMediaResizeZIndex = akEditorUnitZIndex * 99;
|
|
144
|
-
export const akLayoutGutterOffset =
|
|
74
|
+
export const akLayoutGutterOffset = 12;
|
|
145
75
|
export const akEditorLineHeight = 1.714;
|
|
146
|
-
export const akEditorRuleBackground = N30;
|
|
147
76
|
export const akEditorRuleBorderRadius = '1px';
|
|
148
77
|
export const akEditorToolbarKeylineHeight = 2;
|
|
149
78
|
export const akEditorContextPanelWidth = 320;
|
|
@@ -161,6 +90,8 @@ export const MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
|
|
|
161
90
|
// @deprecated
|
|
162
91
|
export const ATLASSIAN_NAVIGATION_HEIGHT = '56px';
|
|
163
92
|
|
|
93
|
+
const DEFAULT_FONT_SIZE = 14;
|
|
94
|
+
|
|
164
95
|
export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () =>
|
|
165
96
|
fg('platform.confluence.frontend.narrow-full-page-editor-toolbar')
|
|
166
97
|
? token('space.500', '40px')
|
|
@@ -169,7 +100,7 @@ export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () =>
|
|
|
169
100
|
export const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
|
|
170
101
|
|
|
171
102
|
export const editorFontSize = ({ theme }: { theme: { baseFontSize?: number } | undefined }) =>
|
|
172
|
-
theme && theme.baseFontSize ? theme.baseFontSize :
|
|
103
|
+
theme && theme.baseFontSize ? theme.baseFontSize : DEFAULT_FONT_SIZE;
|
|
173
104
|
|
|
174
105
|
export const relativeSize =
|
|
175
106
|
(multiplier: number) =>
|
|
@@ -239,25 +170,25 @@ export function getTableCellBackgroundDarkModeColorCSS(
|
|
|
239
170
|
}
|
|
240
171
|
|
|
241
172
|
export const avatarColors = [
|
|
242
|
-
token('color.icon.accent.red'
|
|
243
|
-
token('color.background.accent.red.bolder.hovered'
|
|
244
|
-
token('color.icon.accent.magenta'
|
|
245
|
-
token('color.background.accent.magenta.bolder.hovered'
|
|
246
|
-
token('color.icon.accent.orange'
|
|
247
|
-
token('color.background.accent.orange.bolder.hovered'
|
|
248
|
-
token('color.icon.accent.green'
|
|
249
|
-
token('color.background.accent.green.bolder.hovered'
|
|
250
|
-
token('color.icon.accent.blue'
|
|
251
|
-
token('color.background.accent.blue.bolder.hovered'
|
|
252
|
-
token('color.icon.accent.teal'
|
|
253
|
-
token('color.background.accent.teal.bolder.hovered'
|
|
254
|
-
token('color.icon.accent.lime'
|
|
255
|
-
token('color.background.accent.lime.bolder.hovered'
|
|
256
|
-
token('color.icon.accent.purple'
|
|
257
|
-
token('color.background.accent.purple.bolder.hovered'
|
|
258
|
-
token('color.icon.accent.gray'
|
|
259
|
-
token('color.background.accent.gray.bolder.hovered'
|
|
260
|
-
token('color.icon.accent.yellow'
|
|
261
|
-
token('color.background.accent.yellow.bolder.hovered'
|
|
262
|
-
token('color.background.accent.yellow.bolder.pressed'
|
|
173
|
+
token('color.icon.accent.red'),
|
|
174
|
+
token('color.background.accent.red.bolder.hovered'),
|
|
175
|
+
token('color.icon.accent.magenta'),
|
|
176
|
+
token('color.background.accent.magenta.bolder.hovered'),
|
|
177
|
+
token('color.icon.accent.orange'),
|
|
178
|
+
token('color.background.accent.orange.bolder.hovered'),
|
|
179
|
+
token('color.icon.accent.green'),
|
|
180
|
+
token('color.background.accent.green.bolder.hovered'),
|
|
181
|
+
token('color.icon.accent.blue'),
|
|
182
|
+
token('color.background.accent.blue.bolder.hovered'),
|
|
183
|
+
token('color.icon.accent.teal'),
|
|
184
|
+
token('color.background.accent.teal.bolder.hovered'),
|
|
185
|
+
token('color.icon.accent.lime'),
|
|
186
|
+
token('color.background.accent.lime.bolder.hovered'),
|
|
187
|
+
token('color.icon.accent.purple'),
|
|
188
|
+
token('color.background.accent.purple.bolder.hovered'),
|
|
189
|
+
token('color.icon.accent.gray'),
|
|
190
|
+
token('color.background.accent.gray.bolder.hovered'),
|
|
191
|
+
token('color.icon.accent.yellow'),
|
|
192
|
+
token('color.background.accent.yellow.bolder.hovered'),
|
|
193
|
+
token('color.background.accent.yellow.bolder.pressed'),
|
|
263
194
|
];
|
package/src/consts/index.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export type { EditorTheme } from './types';
|
|
2
2
|
export {
|
|
3
|
-
akEditorActiveBackground,
|
|
4
|
-
akEditorActiveForeground,
|
|
5
3
|
akEditorBlockquoteBorderColor,
|
|
6
4
|
akEditorBreakoutPadding,
|
|
7
5
|
akEditorCodeBackground,
|
|
@@ -11,15 +9,12 @@ export {
|
|
|
11
9
|
akEditorContextPanelWidth,
|
|
12
10
|
akEditorDefaultLayoutWidth,
|
|
13
11
|
akEditorDeleteBackground,
|
|
14
|
-
akEditorDeleteBackgroundShaded,
|
|
15
12
|
akEditorDeleteBackgroundWithOpacity,
|
|
16
13
|
akEditorDeleteBorder,
|
|
17
14
|
akEditorDeleteIconColor,
|
|
18
|
-
akEditorDropdownActiveBackground,
|
|
19
15
|
akEditorFloatingDialogZIndex,
|
|
20
16
|
akEditorFloatingOverlapPanelZIndex,
|
|
21
17
|
akEditorFloatingPanelZIndex,
|
|
22
|
-
akEditorFocus,
|
|
23
18
|
akEditorFullPageMaxWidth,
|
|
24
19
|
akEditorFullPageDefaultFontSize,
|
|
25
20
|
akEditorFullWidthLayoutWidth,
|
|
@@ -27,49 +22,33 @@ export {
|
|
|
27
22
|
akEditorGridLineZIndex,
|
|
28
23
|
akEditorGutterPadding,
|
|
29
24
|
akEditorGutterPaddingDynamic,
|
|
30
|
-
akEditorInactiveForeground,
|
|
31
25
|
akEditorMediaResizeHandlerPadding,
|
|
32
26
|
akEditorMediaResizeHandlerPaddingWide,
|
|
33
|
-
akEditorMentionSelected,
|
|
34
27
|
akEditorMenuZIndex,
|
|
35
28
|
akEditorStickyHeaderZIndex,
|
|
36
29
|
akEditorMobileBreakoutPoint,
|
|
37
|
-
akEditorPopupBackground,
|
|
38
|
-
akEditorPopupText,
|
|
39
|
-
akEditorPrimaryButton,
|
|
40
30
|
akEditorSelectedBorderColor,
|
|
41
31
|
akEditorSelectedBorderBoldSize,
|
|
42
32
|
akEditorSelectedBorderSize,
|
|
43
33
|
akEditorSelectedBorder,
|
|
44
34
|
akEditorSelectedBoxShadow,
|
|
45
|
-
akEditorSelectedIconColor,
|
|
46
35
|
akEditorCustomIconSize,
|
|
47
|
-
akEditorSelectedBlanketColor,
|
|
48
|
-
akEditorSelectedBgColor,
|
|
49
36
|
akEditorSelectedBlanketOpacity,
|
|
50
37
|
akEditorSmallZIndex,
|
|
51
38
|
akEditorShadowZIndex,
|
|
52
39
|
akEditorSubtleAccent,
|
|
53
40
|
akEditorSwoopCubicBezier,
|
|
54
41
|
akEditorTableBorder,
|
|
55
|
-
akEditorTableBorderDark,
|
|
56
|
-
akEditorTableBorderDelete,
|
|
57
42
|
akEditorTableBorderRadius,
|
|
58
43
|
akEditorTableBorderSelected,
|
|
59
44
|
akEditorTableCellBackgroundOpacity,
|
|
60
|
-
akEditorTableCellDelete,
|
|
61
45
|
akEditorTableCellMinWidth,
|
|
62
46
|
akEditorTableCellOnStickyHeaderZIndex,
|
|
63
|
-
akEditorTableCellSelected,
|
|
64
|
-
akEditorTableFloatingControls,
|
|
65
47
|
akEditorTableHeaderCellBackground,
|
|
66
48
|
akEditorTableHeaderCellBackgroundDark,
|
|
67
49
|
akEditorTableLegacyCellMinWidth,
|
|
68
50
|
akEditorTableNumberColumnWidth,
|
|
69
51
|
akEditorTableToolbar,
|
|
70
|
-
akEditorTableToolbarDark,
|
|
71
|
-
akEditorTableToolbarDelete,
|
|
72
|
-
akEditorTableToolbarSelected,
|
|
73
52
|
akEditorTableToolbarSize,
|
|
74
53
|
akEditorUnitZIndex,
|
|
75
54
|
akEditorCalculatedWideLayoutWidth,
|
|
@@ -87,7 +66,6 @@ export {
|
|
|
87
66
|
DEFAULT_EMBED_CARD_HEIGHT,
|
|
88
67
|
DEFAULT_EMBED_CARD_WIDTH,
|
|
89
68
|
akEditorLineHeight,
|
|
90
|
-
akEditorRuleBackground,
|
|
91
69
|
akEditorRuleBorderRadius,
|
|
92
70
|
akEditorSelectedNodeClassName,
|
|
93
71
|
akEditorToolbarKeylineHeight,
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export {
|
|
2
|
-
akEditorActiveBackground,
|
|
3
|
-
akEditorActiveForeground,
|
|
4
2
|
akEditorBlockquoteBorderColor,
|
|
5
3
|
akEditorBreakoutPadding,
|
|
6
4
|
akEditorCodeBackground,
|
|
@@ -10,15 +8,12 @@ export {
|
|
|
10
8
|
akEditorContextPanelWidth,
|
|
11
9
|
akEditorDefaultLayoutWidth,
|
|
12
10
|
akEditorDeleteBackground,
|
|
13
|
-
akEditorDeleteBackgroundShaded,
|
|
14
11
|
akEditorDeleteBackgroundWithOpacity,
|
|
15
12
|
akEditorDeleteBorder,
|
|
16
13
|
akEditorDeleteIconColor,
|
|
17
|
-
akEditorDropdownActiveBackground,
|
|
18
14
|
akEditorFloatingDialogZIndex,
|
|
19
15
|
akEditorFloatingOverlapPanelZIndex,
|
|
20
16
|
akEditorFloatingPanelZIndex,
|
|
21
|
-
akEditorFocus,
|
|
22
17
|
akEditorFullPageMaxWidth,
|
|
23
18
|
akEditorFullPageDefaultFontSize,
|
|
24
19
|
akEditorFullWidthLayoutWidth,
|
|
@@ -26,48 +21,32 @@ export {
|
|
|
26
21
|
akEditorGridLineZIndex,
|
|
27
22
|
akEditorGutterPadding,
|
|
28
23
|
akEditorGutterPaddingDynamic,
|
|
29
|
-
akEditorInactiveForeground,
|
|
30
24
|
akEditorMediaResizeHandlerPadding,
|
|
31
25
|
akEditorMediaResizeHandlerPaddingWide,
|
|
32
|
-
akEditorMentionSelected,
|
|
33
26
|
akEditorMenuZIndex,
|
|
34
27
|
akEditorStickyHeaderZIndex,
|
|
35
28
|
akEditorMobileBreakoutPoint,
|
|
36
|
-
akEditorPopupBackground,
|
|
37
|
-
akEditorPopupText,
|
|
38
|
-
akEditorPrimaryButton,
|
|
39
29
|
akEditorSelectedBorderColor,
|
|
40
30
|
akEditorSelectedBorderBoldSize,
|
|
41
31
|
akEditorSelectedBorderSize,
|
|
42
32
|
akEditorSelectedBorder,
|
|
43
33
|
akEditorSelectedBoxShadow,
|
|
44
|
-
akEditorSelectedIconColor,
|
|
45
|
-
akEditorSelectedBlanketColor,
|
|
46
|
-
akEditorSelectedBgColor,
|
|
47
34
|
akEditorSelectedBlanketOpacity,
|
|
48
35
|
akEditorSmallZIndex,
|
|
49
36
|
akEditorShadowZIndex,
|
|
50
37
|
akEditorSubtleAccent,
|
|
51
38
|
akEditorSwoopCubicBezier,
|
|
52
39
|
akEditorTableBorder,
|
|
53
|
-
akEditorTableBorderDark,
|
|
54
|
-
akEditorTableBorderDelete,
|
|
55
40
|
akEditorTableBorderRadius,
|
|
56
41
|
akEditorTableBorderSelected,
|
|
57
42
|
akEditorTableCellBackgroundOpacity,
|
|
58
|
-
akEditorTableCellDelete,
|
|
59
43
|
akEditorTableCellMinWidth,
|
|
60
44
|
akEditorTableCellOnStickyHeaderZIndex,
|
|
61
|
-
akEditorTableCellSelected,
|
|
62
|
-
akEditorTableFloatingControls,
|
|
63
45
|
akEditorTableHeaderCellBackground,
|
|
64
46
|
akEditorTableHeaderCellBackgroundDark,
|
|
65
47
|
akEditorTableLegacyCellMinWidth,
|
|
66
48
|
akEditorTableNumberColumnWidth,
|
|
67
49
|
akEditorTableToolbar,
|
|
68
|
-
akEditorTableToolbarDark,
|
|
69
|
-
akEditorTableToolbarDelete,
|
|
70
|
-
akEditorTableToolbarSelected,
|
|
71
50
|
akEditorTableToolbarSize,
|
|
72
51
|
akEditorUnitZIndex,
|
|
73
52
|
akEditorCalculatedWideLayoutWidth,
|
|
@@ -85,7 +64,6 @@ export {
|
|
|
85
64
|
DEFAULT_EMBED_CARD_HEIGHT,
|
|
86
65
|
DEFAULT_EMBED_CARD_WIDTH,
|
|
87
66
|
akEditorLineHeight,
|
|
88
|
-
akEditorRuleBackground,
|
|
89
67
|
akEditorRuleBorderRadius,
|
|
90
68
|
akEditorSelectedNodeClassName,
|
|
91
69
|
akEditorToolbarKeylineHeight,
|