@atlaskit/editor-core 233.0.2 → 234.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 +8 -0
- package/dist/cjs/composable-editor/editor-internal.js +2 -2
- 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/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +2 -2
- 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/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +2 -2
- 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/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/EditorContentContainer.d.ts +6 -5
- package/package.json +40 -40
- 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,325 +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 { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName, SyncBlockStateCssClassName } from '@atlaskit/editor-common/sync-block';
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
9
|
-
* If you need to make changes here, also update the corresponding style in
|
|
10
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
11
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
12
|
-
*/
|
|
13
|
-
export const syncBlockStylesBase = css({
|
|
14
|
-
'@property --angle': {
|
|
15
|
-
syntax: '"<angle>"',
|
|
16
|
-
initialValue: '0deg',
|
|
17
|
-
inherits: 'false'
|
|
18
|
-
},
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
20
|
-
'.ProseMirror': {
|
|
21
|
-
// 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
|
|
22
|
-
[`.${SyncBlockSharedCssClassName.prefix}, .${BodiedSyncBlockSharedCssClassName.prefix}`]: {
|
|
23
|
-
position: 'relative',
|
|
24
|
-
cursor: 'pointer',
|
|
25
|
-
borderRadius: "var(--ds-radius-small, 3px)",
|
|
26
|
-
marginBottom: 0,
|
|
27
|
-
marginTop: "var(--ds-space-075, 6px)",
|
|
28
|
-
paddingBlock: "var(--ds-space-150, 12px)",
|
|
29
|
-
color: 'inherit',
|
|
30
|
-
/* Hover state */
|
|
31
|
-
'&:hover': {
|
|
32
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
33
|
-
boxShadow: `0px 0px 0px 1px ${"var(--ds-border, #0B120E24)"}`,
|
|
34
|
-
transition: 'box-shadow 200ms ease-in',
|
|
35
|
-
// 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
|
|
36
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
37
|
-
opacity: 1,
|
|
38
|
-
visibility: 'visible',
|
|
39
|
-
transition: 'opacity 200ms ease-in, visibility 200ms ease-in'
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
/* Selection state when cursor inside sync block */
|
|
43
|
-
// 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
|
|
44
|
-
[`&.${BodiedSyncBlockSharedCssClassName.selectionInside}`]: {
|
|
45
|
-
boxShadow: `0 0 0 1px ${"var(--ds-border, #0B120E24)"}`,
|
|
46
|
-
// 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
|
|
47
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
48
|
-
opacity: 1,
|
|
49
|
-
visibility: 'visible'
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
/* Node selection state */
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
54
|
-
'&.ak-editor-selected-node': {
|
|
55
|
-
boxShadow: `0 0 0 1px var(--ak-editor-sync-block-selected-border-color, ${"var(--ds-border-focused, #4688EC)"})`,
|
|
56
|
-
// 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
|
|
57
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
58
|
-
opacity: 1,
|
|
59
|
-
visibility: 'visible',
|
|
60
|
-
backgroundColor: `var(--ak-editor-sync-block-selected-label-background-color, ${"var(--ds-background-selected, #E9F2FE)"})`,
|
|
61
|
-
top: '-14px',
|
|
62
|
-
paddingBottom: "var(--ds-space-050, 4px)",
|
|
63
|
-
paddingTop: "var(--ds-space-050, 4px)",
|
|
64
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
65
|
-
'> span': {
|
|
66
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
67
|
-
color: `${"var(--ds-text-selected, #1868DB)"} !important`
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
/* Danger state */
|
|
72
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
73
|
-
'&.danger': {
|
|
74
|
-
boxShadow: `0 0 0 1px ${"var(--ds-border-danger, #E2483D)"}`,
|
|
75
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
76
|
-
'.ak-editor-panel__icon': {
|
|
77
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
78
|
-
color: `${"var(--ds-icon-danger, #C9372C)"} !important`
|
|
79
|
-
},
|
|
80
|
-
// 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
|
|
81
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
82
|
-
backgroundColor: "var(--ds-background-danger, #FFECEB)",
|
|
83
|
-
top: '-14px',
|
|
84
|
-
paddingBottom: "var(--ds-space-050, 4px)",
|
|
85
|
-
paddingTop: "var(--ds-space-050, 4px)",
|
|
86
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
87
|
-
'> span': {
|
|
88
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
89
|
-
color: `${"var(--ds-text-danger, #AE2E24)"} !important`
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
/* Node disabled state */
|
|
94
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
95
|
-
[`&.${SyncBlockStateCssClassName.disabledClassName}`]: {
|
|
96
|
-
backgroundColor: "var(--ds-background-disabled, #0515240F)",
|
|
97
|
-
boxShadow: `0 0 0 1px ${"var(--ds-border-disabled, #0515240F)"}`,
|
|
98
|
-
userSelect: 'none',
|
|
99
|
-
// 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
|
|
100
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
101
|
-
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
102
|
-
'&::before': {
|
|
103
|
-
border: 'none'
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
/* Creation loading state */
|
|
108
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
109
|
-
[`&.${SyncBlockStateCssClassName.creationLoadingClassName}`]: {
|
|
110
|
-
animation: `${keyframes({
|
|
111
|
-
from: {
|
|
112
|
-
'--angle': '0deg'
|
|
113
|
-
},
|
|
114
|
-
to: {
|
|
115
|
-
'--angle': '360deg'
|
|
116
|
-
}
|
|
117
|
-
})} 2s linear infinite`,
|
|
118
|
-
border: '1px solid transparent',
|
|
119
|
-
background: `linear-gradient(${"var(--ds-surface, #FFFFFF)"}, ${"var(--ds-surface, #FFFFFF)"}) padding-box, conic-gradient(from var(--angle), #1868DB, ${"var(--ds-background-accent-purple-subtlest-pressed, #E3BDFA)"}, #3279E0, #1868DB) border-box`,
|
|
120
|
-
backgroundClip: 'padding-box, border-box',
|
|
121
|
-
boxShadow: 'none',
|
|
122
|
-
transition: 'boxShadow 200ms ease-in',
|
|
123
|
-
// 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
|
|
124
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
125
|
-
display: 'none'
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
/* Error state */
|
|
129
|
-
/* In error state sync block should have disabled background colour */
|
|
130
|
-
// 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
|
|
131
|
-
[`:has(.${SyncBlockSharedCssClassName.error})`]: {
|
|
132
|
-
backgroundColor: "var(--ds-background-disabled, #0515240F)"
|
|
133
|
-
},
|
|
134
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
135
|
-
[`:has(.${SyncBlockSharedCssClassName.loading})`]: {
|
|
136
|
-
boxShadow: `0 0 0 1px ${"var(--ds-border, #0B120E24)"}`,
|
|
137
|
-
// 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
|
|
138
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
139
|
-
opacity: 0,
|
|
140
|
-
visibility: 'hidden'
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
/* Live doc view mode state */
|
|
144
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
145
|
-
[`&.${SyncBlockStateCssClassName.viewModeClassName}`]: {
|
|
146
|
-
boxShadow: 'none',
|
|
147
|
-
backgroundColor: 'unset',
|
|
148
|
-
// 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
|
|
149
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
150
|
-
opacity: 0,
|
|
151
|
-
visibility: 'hidden'
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
/* Dragging state */
|
|
155
|
-
// 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
|
|
156
|
-
[`&.${SyncBlockStateCssClassName.draggingClassName}`]: {
|
|
157
|
-
boxShadow: `0 0 0 1px ${"var(--ds-border, #0B120E24)"}`,
|
|
158
|
-
// 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
|
|
159
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
160
|
-
opacity: 1,
|
|
161
|
-
visibility: 'visible'
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
// 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
|
|
165
|
-
[`.${BodiedSyncBlockSharedCssClassName.content}`]: {
|
|
166
|
-
paddingTop: 0,
|
|
167
|
-
paddingBottom: 0,
|
|
168
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
169
|
-
paddingLeft: '19px',
|
|
170
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
171
|
-
paddingRight: '18px',
|
|
172
|
-
cursor: 'text'
|
|
173
|
-
},
|
|
174
|
-
// 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
|
|
175
|
-
[`.${SyncBlockSharedCssClassName.renderer}`]: {
|
|
176
|
-
paddingTop: 0,
|
|
177
|
-
paddingBottom: 0,
|
|
178
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
179
|
-
paddingLeft: '19px',
|
|
180
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
181
|
-
paddingRight: '18px'
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
// 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
|
|
185
|
-
[`.${BodiedSyncBlockSharedCssClassName.content}`]: {
|
|
186
|
-
// First child node that has drag handle widget next to it is overridden with marginTop: 0, see globalStyles in editor-plugin-block-controls/src/ui/global-styles.tsx
|
|
187
|
-
// Hence we set marginTop: 0 when by default to avoid flickering when hovering on and off the first node
|
|
188
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
189
|
-
'> :nth-child(1 of :not(style, .ProseMirror-gapcursor, .ProseMirror-widget, span))': {
|
|
190
|
-
marginTop: 0
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
194
|
-
[`.${SyncBlockSharedCssClassName.renderer}`]: {
|
|
195
|
-
// First child node in bodiedSyncBlock is overridden with marginTop: 0, hence apply the same style to syncBlock for consistency
|
|
196
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
197
|
-
'.ak-renderer-document > :first-child': {
|
|
198
|
-
marginTop: 0
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
// 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
|
|
203
|
-
[`.${SyncBlockLabelSharedCssClassName.labelClassName}`]: {
|
|
204
|
-
borderRadius: "var(--ds-radius-small, 3px)",
|
|
205
|
-
position: 'absolute',
|
|
206
|
-
gap: "var(--ds-space-050, 4px)",
|
|
207
|
-
justifyContent: 'center',
|
|
208
|
-
alignItems: 'center',
|
|
209
|
-
display: 'flex',
|
|
210
|
-
opacity: 0,
|
|
211
|
-
visibility: 'hidden',
|
|
212
|
-
boxShadow: 'none',
|
|
213
|
-
zIndex: 1,
|
|
214
|
-
paddingLeft: "var(--ds-space-100, 8px)",
|
|
215
|
-
paddingRight: "var(--ds-space-100, 8px)",
|
|
216
|
-
top: '-10px',
|
|
217
|
-
right: "var(--ds-space-150, 12px)",
|
|
218
|
-
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
219
|
-
maxWidth: '140px'
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
|
|
223
|
-
// Export the default styles with negative margins (original behavior)
|
|
224
|
-
/**
|
|
225
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
226
|
-
* If you need to make changes here, also update the corresponding style in
|
|
227
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
228
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
229
|
-
*/
|
|
230
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
231
|
-
export const syncBlockStyles = css({
|
|
232
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
233
|
-
'.ProseMirror': {
|
|
234
|
-
// 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
|
|
235
|
-
[`.${SyncBlockSharedCssClassName.prefix}, .${BodiedSyncBlockSharedCssClassName.prefix}`]: {
|
|
236
|
-
marginRight: `-19px`,
|
|
237
|
-
marginLeft: `-19px`
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
/**
|
|
242
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
243
|
-
* If you need to make changes here, also update the corresponding style in
|
|
244
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
245
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
246
|
-
*/
|
|
247
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
248
|
-
export const syncBlockOverflowStyles = css({
|
|
249
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
250
|
-
'.ProseMirror': {
|
|
251
|
-
// 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
|
|
252
|
-
[`.${BodiedSyncBlockSharedCssClassName.content}`]: {
|
|
253
|
-
// Contain floated elements (wrap-left/wrap-right) within synced block borders
|
|
254
|
-
// Use display: flow-root to create a block formatting context without clipping other content e.g. telepointers
|
|
255
|
-
display: 'flow-root'
|
|
256
|
-
},
|
|
257
|
-
// 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
|
|
258
|
-
[`.${SyncBlockSharedCssClassName.renderer}`]: {
|
|
259
|
-
// Contain floated elements (wrap-left/wrap-right) within synced block borders
|
|
260
|
-
// Use display: flow-root to create a block formatting context without clipping other content e.g. telepointers
|
|
261
|
-
display: 'flow-root'
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
});
|
|
265
|
-
|
|
266
|
-
// Styles for text selection in reference sync blocks.
|
|
267
|
-
/**
|
|
268
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
269
|
-
* If you need to make changes here, also update the corresponding style in
|
|
270
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
271
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
272
|
-
*/
|
|
273
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
274
|
-
export const syncBlockTextSelectionStyles = css({
|
|
275
|
-
// 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
|
|
276
|
-
[`.${SyncBlockSharedCssClassName.renderer}`]: {
|
|
277
|
-
// Show text cursor to indicate content is selectable
|
|
278
|
-
cursor: 'text',
|
|
279
|
-
// Remove browser focus outline on the contentEditable renderer wrapper
|
|
280
|
-
outline: 'none',
|
|
281
|
-
// Hide the blinking insertion caret. contentEditable="true" is set on
|
|
282
|
-
// the renderer to enable text selection, but the content is read-only.
|
|
283
|
-
caretColor: 'transparent',
|
|
284
|
-
// Override cursor: pointer set by the editor's layout styles on
|
|
285
|
-
// [data-layout-section] elements rendered inside the sync block content.
|
|
286
|
-
// Without this, layout nodes inside reference sync blocks show a pointer
|
|
287
|
-
// cursor instead of a text cursor.
|
|
288
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
289
|
-
'[data-layout-section]': {
|
|
290
|
-
cursor: 'text'
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
// Suppress ProseMirror's selected-node box-shadow and backgroundColor on emojis inside
|
|
294
|
-
// the contentEditable renderer wrapper. PM applies .ak-editor-selected-node
|
|
295
|
-
// to inline nodes within contentEditable regions.
|
|
296
|
-
// 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
|
|
297
|
-
[`.ProseMirror .ak-editor-selected-node .${SyncBlockSharedCssClassName.renderer}`]: {
|
|
298
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
299
|
-
'span[data-emoji-id], span[data-emoji-id] span': {
|
|
300
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
301
|
-
boxShadow: 'none !important',
|
|
302
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
303
|
-
'&::before': {
|
|
304
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
305
|
-
backgroundColor: 'transparent !important'
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
});
|
|
310
|
-
/**
|
|
311
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
312
|
-
* If you need to make changes here, also update the corresponding style in
|
|
313
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
314
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
315
|
-
*/
|
|
316
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
317
|
-
export const syncBlockFirstNodeStyles = css({
|
|
318
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
319
|
-
[`.ProseMirror > .fabric-editor-breakout-mark:first-child`]: {
|
|
320
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
321
|
-
[`.${SyncBlockSharedCssClassName.prefix}, .${BodiedSyncBlockSharedCssClassName.prefix}`]: {
|
|
322
|
-
marginTop: 0
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
});
|