@atlaskit/editor-core 233.0.2 → 234.0.1
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 +16 -0
- package/dist/cjs/composable-editor/core-editor.js +4 -0
- package/dist/cjs/composable-editor/editor-internal.js +18 -3
- package/dist/cjs/create-editor/ReactEditorView.js +9 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -3
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +5 -9
- package/dist/cjs/ui/quick-insert/getExtensionQuickInsertComponents.js +4 -11
- package/dist/cjs/utils/performance/components/RenderTracking.js +44 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/core-editor.js +5 -1
- package/dist/es2019/composable-editor/editor-internal.js +18 -3
- package/dist/es2019/create-editor/ReactEditorView.js +9 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +2 -4
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +5 -7
- package/dist/es2019/ui/quick-insert/getExtensionQuickInsertComponents.js +2 -2
- package/dist/es2019/utils/performance/components/RenderTracking.js +36 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/core-editor.js +5 -1
- package/dist/esm/composable-editor/editor-internal.js +18 -3
- package/dist/esm/create-editor/ReactEditorView.js +9 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +2 -4
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +5 -9
- package/dist/esm/ui/quick-insert/getExtensionQuickInsertComponents.js +5 -12
- package/dist/esm/utils/performance/components/RenderTracking.js +37 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/editor-internal.d.ts +2 -0
- package/dist/types/ui/EditorContentContainer/EditorContentContainer.d.ts +6 -5
- package/dist/types/utils/performance/components/RenderTracking.d.ts +13 -0
- package/package.json +41 -41
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -761
- package/dist/cjs/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -121
- package/dist/cjs/ui/EditorContentContainer/styles/aiPanel.js +0 -228
- package/dist/cjs/ui/EditorContentContainer/styles/annotationStyles.js +0 -52
- package/dist/cjs/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -70
- package/dist/cjs/ui/EditorContentContainer/styles/baseStyles.js +0 -121
- package/dist/cjs/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -38
- package/dist/cjs/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -113
- package/dist/cjs/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -332
- package/dist/cjs/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -244
- package/dist/cjs/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -38
- package/dist/cjs/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -39
- package/dist/cjs/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -38
- package/dist/cjs/ui/EditorContentContainer/styles/cursorStyles.js +0 -31
- package/dist/cjs/ui/EditorContentContainer/styles/dateStyles.js +0 -100
- package/dist/cjs/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -39
- package/dist/cjs/ui/EditorContentContainer/styles/embedCardStyles.js +0 -41
- package/dist/cjs/ui/EditorContentContainer/styles/emoji.js +0 -471
- package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +0 -352
- package/dist/cjs/ui/EditorContentContainer/styles/extensionStyles.js +0 -436
- package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -260
- package/dist/cjs/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -63
- package/dist/cjs/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -25
- package/dist/cjs/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -51
- package/dist/cjs/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -27
- package/dist/cjs/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -125
- package/dist/cjs/ui/EditorContentContainer/styles/gridStyles.js +0 -49
- package/dist/cjs/ui/EditorContentContainer/styles/indentationStyles.js +0 -55
- package/dist/cjs/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -56
- package/dist/cjs/ui/EditorContentContainer/styles/layout.js +0 -781
- package/dist/cjs/ui/EditorContentContainer/styles/link.js +0 -66
- package/dist/cjs/ui/EditorContentContainer/styles/list.js +0 -325
- package/dist/cjs/ui/EditorContentContainer/styles/mediaStyles.js +0 -343
- package/dist/cjs/ui/EditorContentContainer/styles/mentions.js +0 -273
- package/dist/cjs/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -20
- package/dist/cjs/ui/EditorContentContainer/styles/panelStyles.js +0 -387
- package/dist/cjs/ui/EditorContentContainer/styles/paragraphStyles.js +0 -71
- package/dist/cjs/ui/EditorContentContainer/styles/placeholderStyles.js +0 -134
- package/dist/cjs/ui/EditorContentContainer/styles/resizerStyles.js +0 -648
- package/dist/cjs/ui/EditorContentContainer/styles/rule.js +0 -48
- package/dist/cjs/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -38
- package/dist/cjs/ui/EditorContentContainer/styles/selectionStyles.js +0 -177
- package/dist/cjs/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -35
- package/dist/cjs/ui/EditorContentContainer/styles/shadowStyles.js +0 -76
- package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +0 -473
- package/dist/cjs/ui/EditorContentContainer/styles/statusStyles.js +0 -305
- package/dist/cjs/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -37
- package/dist/cjs/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -253
- package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +0 -327
- package/dist/cjs/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -467
- package/dist/cjs/ui/EditorContentContainer/styles/telepointerStyles.js +0 -233
- package/dist/cjs/ui/EditorContentContainer/styles/textColorStyles.js +0 -27
- package/dist/cjs/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -24
- package/dist/cjs/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -104
- package/dist/cjs/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -42
- package/dist/cjs/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -24
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -764
- package/dist/es2019/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -115
- package/dist/es2019/ui/EditorContentContainer/styles/aiPanel.js +0 -225
- package/dist/es2019/ui/EditorContentContainer/styles/annotationStyles.js +0 -55
- package/dist/es2019/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -64
- package/dist/es2019/ui/EditorContentContainer/styles/baseStyles.js +0 -119
- package/dist/es2019/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -32
- package/dist/es2019/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -115
- package/dist/es2019/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -338
- package/dist/es2019/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -301
- package/dist/es2019/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -32
- package/dist/es2019/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -33
- package/dist/es2019/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -32
- package/dist/es2019/ui/EditorContentContainer/styles/cursorStyles.js +0 -25
- package/dist/es2019/ui/EditorContentContainer/styles/dateStyles.js +0 -122
- package/dist/es2019/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -33
- package/dist/es2019/ui/EditorContentContainer/styles/embedCardStyles.js +0 -35
- package/dist/es2019/ui/EditorContentContainer/styles/emoji.js +0 -530
- package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +0 -346
- package/dist/es2019/ui/EditorContentContainer/styles/extensionStyles.js +0 -432
- package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -355
- package/dist/es2019/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -60
- package/dist/es2019/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -19
- package/dist/es2019/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -45
- package/dist/es2019/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -21
- package/dist/es2019/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -195
- package/dist/es2019/ui/EditorContentContainer/styles/gridStyles.js +0 -43
- package/dist/es2019/ui/EditorContentContainer/styles/indentationStyles.js +0 -49
- package/dist/es2019/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -50
- package/dist/es2019/ui/EditorContentContainer/styles/layout.js +0 -886
- package/dist/es2019/ui/EditorContentContainer/styles/link.js +0 -60
- package/dist/es2019/ui/EditorContentContainer/styles/list.js +0 -322
- package/dist/es2019/ui/EditorContentContainer/styles/mediaStyles.js +0 -483
- package/dist/es2019/ui/EditorContentContainer/styles/mentions.js +0 -287
- package/dist/es2019/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -55
- package/dist/es2019/ui/EditorContentContainer/styles/panelStyles.js +0 -381
- package/dist/es2019/ui/EditorContentContainer/styles/paragraphStyles.js +0 -65
- package/dist/es2019/ui/EditorContentContainer/styles/placeholderStyles.js +0 -128
- package/dist/es2019/ui/EditorContentContainer/styles/resizerStyles.js +0 -723
- package/dist/es2019/ui/EditorContentContainer/styles/rule.js +0 -45
- package/dist/es2019/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -32
- package/dist/es2019/ui/EditorContentContainer/styles/selectionStyles.js +0 -171
- package/dist/es2019/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -29
- package/dist/es2019/ui/EditorContentContainer/styles/shadowStyles.js +0 -81
- package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +0 -666
- package/dist/es2019/ui/EditorContentContainer/styles/statusStyles.js +0 -299
- package/dist/es2019/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -34
- package/dist/es2019/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -325
- package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +0 -341
- package/dist/es2019/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -508
- package/dist/es2019/ui/EditorContentContainer/styles/telepointerStyles.js +0 -227
- package/dist/es2019/ui/EditorContentContainer/styles/textColorStyles.js +0 -21
- package/dist/es2019/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -18
- package/dist/es2019/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -110
- package/dist/es2019/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -36
- package/dist/es2019/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -18
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -759
- package/dist/esm/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -115
- package/dist/esm/ui/EditorContentContainer/styles/aiPanel.js +0 -221
- package/dist/esm/ui/EditorContentContainer/styles/annotationStyles.js +0 -45
- package/dist/esm/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -64
- package/dist/esm/ui/EditorContentContainer/styles/baseStyles.js +0 -114
- package/dist/esm/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -32
- package/dist/esm/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -107
- package/dist/esm/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -325
- package/dist/esm/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -238
- package/dist/esm/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -32
- package/dist/esm/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -33
- package/dist/esm/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -32
- package/dist/esm/ui/EditorContentContainer/styles/cursorStyles.js +0 -25
- package/dist/esm/ui/EditorContentContainer/styles/dateStyles.js +0 -94
- package/dist/esm/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -33
- package/dist/esm/ui/EditorContentContainer/styles/embedCardStyles.js +0 -35
- package/dist/esm/ui/EditorContentContainer/styles/emoji.js +0 -464
- package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +0 -346
- package/dist/esm/ui/EditorContentContainer/styles/extensionStyles.js +0 -430
- package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -253
- package/dist/esm/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -56
- package/dist/esm/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -19
- package/dist/esm/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -45
- package/dist/esm/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -21
- package/dist/esm/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -118
- package/dist/esm/ui/EditorContentContainer/styles/gridStyles.js +0 -43
- package/dist/esm/ui/EditorContentContainer/styles/indentationStyles.js +0 -49
- package/dist/esm/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -50
- package/dist/esm/ui/EditorContentContainer/styles/layout.js +0 -774
- package/dist/esm/ui/EditorContentContainer/styles/link.js +0 -60
- package/dist/esm/ui/EditorContentContainer/styles/list.js +0 -318
- package/dist/esm/ui/EditorContentContainer/styles/mediaStyles.js +0 -337
- package/dist/esm/ui/EditorContentContainer/styles/mentions.js +0 -267
- package/dist/esm/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -14
- package/dist/esm/ui/EditorContentContainer/styles/panelStyles.js +0 -381
- package/dist/esm/ui/EditorContentContainer/styles/paragraphStyles.js +0 -65
- package/dist/esm/ui/EditorContentContainer/styles/placeholderStyles.js +0 -128
- package/dist/esm/ui/EditorContentContainer/styles/resizerStyles.js +0 -641
- package/dist/esm/ui/EditorContentContainer/styles/rule.js +0 -41
- package/dist/esm/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -32
- package/dist/esm/ui/EditorContentContainer/styles/selectionStyles.js +0 -171
- package/dist/esm/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -29
- package/dist/esm/ui/EditorContentContainer/styles/shadowStyles.js +0 -69
- package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +0 -468
- package/dist/esm/ui/EditorContentContainer/styles/statusStyles.js +0 -299
- package/dist/esm/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -30
- package/dist/esm/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -247
- package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +0 -320
- package/dist/esm/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -461
- package/dist/esm/ui/EditorContentContainer/styles/telepointerStyles.js +0 -227
- package/dist/esm/ui/EditorContentContainer/styles/textColorStyles.js +0 -21
- package/dist/esm/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -18
- package/dist/esm/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -98
- package/dist/esm/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -36
- package/dist/esm/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -18
- package/dist/types/ui/EditorContentContainer/EditorContentContainer-emotion.d.ts +0 -21
- package/dist/types/ui/EditorContentContainer/styles/agentShimmerStyles.d.ts +0 -2
- package/dist/types/ui/EditorContentContainer/styles/aiPanel.d.ts +0 -29
- package/dist/types/ui/EditorContentContainer/styles/annotationStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/backgroundColorStyles.d.ts +0 -22
- package/dist/types/ui/EditorContentContainer/styles/baseStyles.d.ts +0 -36
- package/dist/types/ui/EditorContentContainer/styles/blockMarksStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/blockSpacingStyles.d.ts +0 -18
- package/dist/types/ui/EditorContentContainer/styles/blockTypeStyles.d.ts +0 -65
- package/dist/types/ui/EditorContentContainer/styles/codeBlockStyles.d.ts +0 -39
- package/dist/types/ui/EditorContentContainer/styles/codeMarkStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/commentEditorStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/containerTypeStyles.d.ts +0 -26
- package/dist/types/ui/EditorContentContainer/styles/cursorStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/dateStyles.d.ts +0 -32
- package/dist/types/ui/EditorContentContainer/styles/editorUGCTokenStyles.d.ts +0 -16
- package/dist/types/ui/EditorContentContainer/styles/embedCardStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/emoji.d.ts +0 -55
- package/dist/types/ui/EditorContentContainer/styles/expandStyles.d.ts +0 -52
- package/dist/types/ui/EditorContentContainer/styles/extensionStyles.d.ts +0 -20
- package/dist/types/ui/EditorContentContainer/styles/findReplaceStyles.d.ts +0 -22
- package/dist/types/ui/EditorContentContainer/styles/firstBlockNodeStyles.d.ts +0 -20
- package/dist/types/ui/EditorContentContainer/styles/floatingToolbarStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/fontSizeStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/fullPageEditorStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/gapCursorStyles.d.ts +0 -15
- package/dist/types/ui/EditorContentContainer/styles/gridStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/indentationStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/layout.d.ts +0 -207
- package/dist/types/ui/EditorContentContainer/styles/link.d.ts +0 -22
- package/dist/types/ui/EditorContentContainer/styles/list.d.ts +0 -50
- package/dist/types/ui/EditorContentContainer/styles/mediaStyles.d.ts +0 -41
- package/dist/types/ui/EditorContentContainer/styles/mentions.d.ts +0 -29
- package/dist/types/ui/EditorContentContainer/styles/overflowShadowStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/panelStyles.d.ts +0 -43
- package/dist/types/ui/EditorContentContainer/styles/paragraphStyles.d.ts +0 -22
- package/dist/types/ui/EditorContentContainer/styles/placeholderStyles.d.ts +0 -22
- package/dist/types/ui/EditorContentContainer/styles/resizerStyles.d.ts +0 -145
- package/dist/types/ui/EditorContentContainer/styles/rule.d.ts +0 -15
- package/dist/types/ui/EditorContentContainer/styles/scrollbarStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/selectionStyles.d.ts +0 -74
- package/dist/types/ui/EditorContentContainer/styles/selectionToolbarStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/shadowStyles.d.ts +0 -29
- package/dist/types/ui/EditorContentContainer/styles/smartCardStyles.d.ts +0 -96
- package/dist/types/ui/EditorContentContainer/styles/statusStyles.d.ts +0 -36
- package/dist/types/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.d.ts +0 -17
- package/dist/types/ui/EditorContentContainer/styles/syncBlockStyles.d.ts +0 -36
- package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +0 -84
- package/dist/types/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +0 -77
- package/dist/types/ui/EditorContentContainer/styles/telepointerStyles.d.ts +0 -15
- package/dist/types/ui/EditorContentContainer/styles/textColorStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/textHighlightStyles.d.ts +0 -8
- package/dist/types/ui/EditorContentContainer/styles/unsupportedStyles.d.ts +0 -27
- package/dist/types/ui/EditorContentContainer/styles/vanillaTooltipStyles.d.ts +0 -11
- package/dist/types/ui/EditorContentContainer/styles/whitespaceStyles.d.ts +0 -8
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
|
|
2
|
-
@repo/internal/deprecations/deprecation-ticket-required,
|
|
3
|
-
@atlaskit/ui-styling-standard/no-exported-styles */
|
|
4
|
-
|
|
5
|
-
import { css, keyframes } from '@emotion/react';
|
|
6
|
-
import { tableMarginTop } from '@atlaskit/editor-common/styles';
|
|
7
|
-
import { akEditorShadowZIndex, akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles/constants';
|
|
8
|
-
import { scrollbarStyles } from './scrollbarStyles';
|
|
9
|
-
const tableOverflowShadowWidthWide = 32;
|
|
10
|
-
const tableInlineStartShadow = keyframes({
|
|
11
|
-
'0%': {
|
|
12
|
-
opacity: 0
|
|
13
|
-
},
|
|
14
|
-
'0.0001%, 100%': {
|
|
15
|
-
opacity: 1
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
const tableInlineEndShadow = keyframes({
|
|
19
|
-
'0%, 99.9999%': {
|
|
20
|
-
opacity: 1
|
|
21
|
-
},
|
|
22
|
-
'100%': {
|
|
23
|
-
opacity: 0
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
29
|
-
* If you need to make changes here, also update the corresponding style in
|
|
30
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
31
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
32
|
-
*/
|
|
33
|
-
export const tableLayoutFixes = css({
|
|
34
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
35
|
-
'.pm-table-header-content-wrap :not(.fabric-editor-alignment), .pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark, .pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark': {
|
|
36
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
37
|
-
'p:first-of-type': {
|
|
38
|
-
marginTop: 0
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
42
|
-
'.pm-table-cell-content-wrap .mediaGroupView-content-wrap': {
|
|
43
|
-
clear: 'both'
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
48
|
-
* If you need to make changes here, also update the corresponding style in
|
|
49
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
50
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
51
|
-
*/
|
|
52
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
53
|
-
export const tableLayoutFixesWithFontSize = css({
|
|
54
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
55
|
-
'.pm-table-header-content-wrap :not(.fabric-editor-alignment, .fabric-editor-font-size), .pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark, .pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark': {
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
57
|
-
'p:first-of-type': {
|
|
58
|
-
marginTop: 0
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
62
|
-
'.pm-table-cell-content-wrap .mediaGroupView-content-wrap': {
|
|
63
|
-
clear: 'both'
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
/**
|
|
67
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
68
|
-
* If you need to make changes here, also update the corresponding style in
|
|
69
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
70
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
71
|
-
*/
|
|
72
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
73
|
-
export const tableCommentEditorMarginOverride = css({
|
|
74
|
-
marginLeft: 0,
|
|
75
|
-
marginRight: 0
|
|
76
|
-
});
|
|
77
|
-
/**
|
|
78
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
79
|
-
* If you need to make changes here, also update the corresponding style in
|
|
80
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
81
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
82
|
-
*/
|
|
83
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
84
|
-
export const tableCommentEditorStyles = css({
|
|
85
|
-
// TODO: ED-28075 - refactor array include to unblock Compiled CSS migration
|
|
86
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
87
|
-
[`.ProseMirror .pm-table-wrapper > table`]: [tableCommentEditorMarginOverride, scrollbarStyles]
|
|
88
|
-
});
|
|
89
|
-
/**
|
|
90
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
91
|
-
* If you need to make changes here, also update the corresponding style in
|
|
92
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
93
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
94
|
-
*/
|
|
95
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
96
|
-
export const tableContainerStyles = css({
|
|
97
|
-
/* Fix for HOT-119925: Ensure table containers have proper width constraints and overflow handling */
|
|
98
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
99
|
-
'.ProseMirror .pm-table-wrapper': {
|
|
100
|
-
maxWidth: '100%',
|
|
101
|
-
overflowX: 'auto',
|
|
102
|
-
// Ensure the wrapper doesn't grow beyond its container
|
|
103
|
-
width: '100%',
|
|
104
|
-
boxSizing: 'border-box'
|
|
105
|
-
},
|
|
106
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
107
|
-
'.ProseMirror .pm-table-wrapper.pm-table-wrapper-no-overflow': {
|
|
108
|
-
overflowX: 'visible'
|
|
109
|
-
},
|
|
110
|
-
/* Fix for HOT-119925: Ensure table elements are responsive and don't overflow */
|
|
111
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
112
|
-
'.ProseMirror .pm-table-wrapper table': {
|
|
113
|
-
maxWidth: '100%',
|
|
114
|
-
width: '100%',
|
|
115
|
-
tableLayout: 'fixed',
|
|
116
|
-
// Ensure tables can be scrolled horizontally if needed
|
|
117
|
-
minWidth: 'auto'
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* SSR-safe foreground overflow shadows driven by the table wrapper's horizontal scroll timeline.
|
|
123
|
-
* The overlays are siblings of the scrollport, so they stay anchored to its edges without
|
|
124
|
-
* modifying table-cell surfaces or interaction overlays.
|
|
125
|
-
*
|
|
126
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
127
|
-
* If you need to make changes here, also update the corresponding style in
|
|
128
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
129
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
130
|
-
*/
|
|
131
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
132
|
-
export const tableScrollInlineShadowStyles = css({
|
|
133
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
134
|
-
'.ProseMirror .pm-table-container:has(> .pm-table-scroll-inline-shadow)': {
|
|
135
|
-
timelineScope: '--editor-table-inline-scroll'
|
|
136
|
-
},
|
|
137
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
138
|
-
'.ProseMirror .pm-table-scroll-inline-shadow': {
|
|
139
|
-
scrollTimelineName: '--editor-table-inline-scroll',
|
|
140
|
-
scrollTimelineAxis: 'inline'
|
|
141
|
-
},
|
|
142
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
143
|
-
'.ProseMirror .pm-table-container > [data-table-overflow-shadow]': {
|
|
144
|
-
position: 'absolute',
|
|
145
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
146
|
-
zIndex: akEditorShadowZIndex,
|
|
147
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
148
|
-
top: tableMarginTop,
|
|
149
|
-
bottom: 0,
|
|
150
|
-
width: tableOverflowShadowWidthWide,
|
|
151
|
-
opacity: 0,
|
|
152
|
-
pointerEvents: 'none',
|
|
153
|
-
animationDuration: '1ms',
|
|
154
|
-
animationFillMode: 'both',
|
|
155
|
-
animationTimingFunction: 'linear',
|
|
156
|
-
animationTimeline: '--editor-table-inline-scroll'
|
|
157
|
-
},
|
|
158
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
159
|
-
".ProseMirror .pm-table-container > [data-table-overflow-shadow='start']": {
|
|
160
|
-
left: 0,
|
|
161
|
-
backgroundImage: `linear-gradient(
|
|
162
|
-
to left,
|
|
163
|
-
transparent 0,
|
|
164
|
-
${"var(--ds-shadow-overflow-spread, #1E1F2129)"} 140%
|
|
165
|
-
),
|
|
166
|
-
linear-gradient(
|
|
167
|
-
to right,
|
|
168
|
-
${"var(--ds-shadow-overflow-perimeter, #1E1F211f)"} 0,
|
|
169
|
-
transparent 1px
|
|
170
|
-
)`,
|
|
171
|
-
animationName: tableInlineStartShadow
|
|
172
|
-
},
|
|
173
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
174
|
-
".ProseMirror .pm-table-container[data-number-column='true'] > [data-table-overflow-shadow='start']": {
|
|
175
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
176
|
-
left: akEditorTableNumberColumnWidth - 1
|
|
177
|
-
},
|
|
178
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
179
|
-
".ProseMirror .pm-table-container > [data-table-overflow-shadow='end']": {
|
|
180
|
-
right: 0,
|
|
181
|
-
backgroundImage: `linear-gradient(
|
|
182
|
-
to right,
|
|
183
|
-
transparent 0,
|
|
184
|
-
${"var(--ds-shadow-overflow-spread, #1E1F2129)"} 140%
|
|
185
|
-
),
|
|
186
|
-
linear-gradient(
|
|
187
|
-
to left,
|
|
188
|
-
${"var(--ds-shadow-overflow-perimeter, #1E1F211f)"} 0,
|
|
189
|
-
transparent 1px
|
|
190
|
-
)`,
|
|
191
|
-
animationName: tableInlineEndShadow
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
197
|
-
* If you need to make changes here, also update the corresponding style in
|
|
198
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
199
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
200
|
-
*/
|
|
201
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
202
|
-
export const tableEmptyRowStyles = css({
|
|
203
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
204
|
-
'.ProseMirror .pm-table-wrapper': {
|
|
205
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
206
|
-
'.pm-table-cell-content-wrap, .pm-table-header-content-wrap': {
|
|
207
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
208
|
-
'p:empty': {
|
|
209
|
-
/* add a minimum height to empty table rows in SSR */
|
|
210
|
-
minHeight: '1.714em'
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
/**
|
|
216
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
217
|
-
* If you need to make changes here, also update the corresponding style in
|
|
218
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
219
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
220
|
-
*/
|
|
221
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
222
|
-
export const tableContentModeStyles = css({
|
|
223
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
224
|
-
'.pm-table-resizer-container:has(table[data-initial-width-mode="content"])': {
|
|
225
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
226
|
-
width: 'max-content !important',
|
|
227
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
228
|
-
'--ak-editor-table-width': 'max-content'
|
|
229
|
-
},
|
|
230
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
231
|
-
'.resizer-item:has(table[data-initial-width-mode="content"])': {
|
|
232
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
233
|
-
width: 'max-content !important'
|
|
234
|
-
},
|
|
235
|
-
// Reset the extended hover zone padding for content-mode tables so it doesn't
|
|
236
|
-
// inflate the max-content width of parent elements (resizer-container, wrapper).
|
|
237
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
238
|
-
'.resizer-item:has(table[data-initial-width-mode="content"]) > .resizer-hover-zone.resizer-is-extended': {
|
|
239
|
-
padding: 'unset',
|
|
240
|
-
left: 'unset'
|
|
241
|
-
},
|
|
242
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
243
|
-
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"]': {
|
|
244
|
-
tableLayout: 'auto',
|
|
245
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
246
|
-
width: 'max-content !important'
|
|
247
|
-
},
|
|
248
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
249
|
-
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"] > colgroup > col': {
|
|
250
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
251
|
-
width: 'unset !important'
|
|
252
|
-
}
|
|
253
|
-
});
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
257
|
-
* If you need to make changes here, also update the corresponding style in
|
|
258
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
259
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
260
|
-
*/
|
|
261
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
262
|
-
export const tableContentModeExtensionContainmentStyles = css({
|
|
263
|
-
// Inline-size containment hides extension content from a fit-to-content table's intrinsic width.
|
|
264
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
265
|
-
'.ProseMirror table[data-initial-width-mode="content"] .extension-overflow-wrapper': {
|
|
266
|
-
containerType: 'normal'
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
272
|
-
* If you need to make changes here, also update the corresponding style in
|
|
273
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
274
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
275
|
-
*/
|
|
276
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
277
|
-
export const tableContentModeNestedTableStyles = css({
|
|
278
|
-
// Reset the base `margin-right: -1px` (ED-16212) that clips content-mode tables by 1px.
|
|
279
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
280
|
-
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"]': {
|
|
281
|
-
maxWidth: 'none',
|
|
282
|
-
marginRight: 0
|
|
283
|
-
},
|
|
284
|
-
// Let the resizer/wrapper chain grow to content width before the max-width cap.
|
|
285
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
286
|
-
'.resizer-item:has(table[data-initial-width-mode="content"]), .pm-table-container:has(> .pm-table-wrapper > table[data-initial-width-mode="content"]), .pm-table-wrapper:has(> table[data-initial-width-mode="content"])': {
|
|
287
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
288
|
-
width: 'max-content !important',
|
|
289
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
290
|
-
maxWidth: 'var(--ak-editor-table-max-width) !important'
|
|
291
|
-
},
|
|
292
|
-
// Nested content-mode table: size to content, reset base max-width and margin.
|
|
293
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
294
|
-
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper > table': {
|
|
295
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
296
|
-
width: 'max-content !important',
|
|
297
|
-
maxWidth: 'none',
|
|
298
|
-
marginRight: 0
|
|
299
|
-
},
|
|
300
|
-
// Stop nested table col widths from constraining parent table measurement.
|
|
301
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
302
|
-
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper > table > colgroup > col': {
|
|
303
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
304
|
-
width: 'unset !important'
|
|
305
|
-
},
|
|
306
|
-
// Let the nested table container/wrapper grow to content width before the cap.
|
|
307
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
308
|
-
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container, .ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper': {
|
|
309
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
310
|
-
width: 'max-content !important',
|
|
311
|
-
maxWidth: 'none',
|
|
312
|
-
overflowX: 'visible'
|
|
313
|
-
}
|
|
314
|
-
});
|
|
315
|
-
/**
|
|
316
|
-
* SSR-safe rounded corners for the outermost table cells.
|
|
317
|
-
*
|
|
318
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
319
|
-
* If you need to make changes here, also update the corresponding style in
|
|
320
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
321
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
322
|
-
*/
|
|
323
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
324
|
-
export const tableRoundedCornerStyles = css({
|
|
325
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
326
|
-
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-top][data-reaches-left], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-top][data-reaches-left]': {
|
|
327
|
-
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)"
|
|
328
|
-
},
|
|
329
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
330
|
-
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-top][data-reaches-right], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-top][data-reaches-right]': {
|
|
331
|
-
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)"
|
|
332
|
-
},
|
|
333
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
334
|
-
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-bottom][data-reaches-left], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-bottom][data-reaches-left]': {
|
|
335
|
-
borderBottomLeftRadius: "var(--ds-radius-xlarge, 12px)"
|
|
336
|
-
},
|
|
337
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
338
|
-
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-bottom][data-reaches-right], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-bottom][data-reaches-right]': {
|
|
339
|
-
borderBottomRightRadius: "var(--ds-radius-xlarge, 12px)"
|
|
340
|
-
}
|
|
341
|
-
});
|