@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,227 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors,
|
|
2
|
-
@repo/internal/deprecations/deprecation-ticket-required,
|
|
3
|
-
@atlaskit/ui-styling-standard/no-exported-styles */
|
|
4
|
-
/* eslint-disable @atlaskit/ui-styling-standard/no-exported-styles */
|
|
5
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled */
|
|
6
|
-
|
|
7
|
-
import { css, keyframes } from '@emotion/react';
|
|
8
|
-
var pulseIn = keyframes({
|
|
9
|
-
'0%, 100%': {
|
|
10
|
-
transform: 'scaleX(0)',
|
|
11
|
-
opacity: 0
|
|
12
|
-
},
|
|
13
|
-
'10%': {
|
|
14
|
-
transform: 'scaleX(1.4)',
|
|
15
|
-
opacity: 1
|
|
16
|
-
},
|
|
17
|
-
'15%, 85%': {
|
|
18
|
-
transform: 'scaleX(1)',
|
|
19
|
-
opacity: 1
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
var pulseOut = keyframes({
|
|
23
|
-
'0%, 90%, 100%': {
|
|
24
|
-
transform: 'scaleX(1)',
|
|
25
|
-
opacity: 1
|
|
26
|
-
},
|
|
27
|
-
'10%, 80%': {
|
|
28
|
-
transform: 'scaleX(0)',
|
|
29
|
-
opacity: 0
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
var pulseInDuringTr = keyframes({
|
|
33
|
-
'0%, 95%': {
|
|
34
|
-
transform: 'scaleX(1)',
|
|
35
|
-
opacity: 1
|
|
36
|
-
},
|
|
37
|
-
'100%': {
|
|
38
|
-
transform: 'scaleX(0)',
|
|
39
|
-
opacity: 0
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
var pulseOutDuringTr = keyframes({
|
|
43
|
-
'100%': {
|
|
44
|
-
transform: 'scaleX(1)',
|
|
45
|
-
opacity: 1
|
|
46
|
-
},
|
|
47
|
-
'0%, 90%': {
|
|
48
|
-
transform: 'scaleX(0)',
|
|
49
|
-
opacity: 0
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
55
|
-
* If you need to make changes here, also update the corresponding style in
|
|
56
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
57
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
58
|
-
*/
|
|
59
|
-
export var telepointerColorAndCommonStyle = css({
|
|
60
|
-
'.ProseMirror .telepointer': {
|
|
61
|
-
position: 'relative',
|
|
62
|
-
transition: 'opacity 200ms',
|
|
63
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
64
|
-
'&.telepointer-selection:not(.inlineNodeView)': {
|
|
65
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
66
|
-
lineHeight: 1.2,
|
|
67
|
-
pointerEvents: 'none',
|
|
68
|
-
userSelect: 'none'
|
|
69
|
-
},
|
|
70
|
-
'&.telepointer-dim': {
|
|
71
|
-
opacity: 0.2
|
|
72
|
-
},
|
|
73
|
-
'&.color-0': {
|
|
74
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
75
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-red-bolder, #C9372C)"
|
|
76
|
-
},
|
|
77
|
-
'&.color-1': {
|
|
78
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
79
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-blue-bolder, #1868DB)"
|
|
80
|
-
},
|
|
81
|
-
'&.color-2': {
|
|
82
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
83
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-green-bolder, #1F845A)"
|
|
84
|
-
},
|
|
85
|
-
'&.color-3': {
|
|
86
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
87
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-yellow-bolder, #946F00)"
|
|
88
|
-
},
|
|
89
|
-
'&.color-4': {
|
|
90
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
91
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-purple-bolder, #964AC0)"
|
|
92
|
-
},
|
|
93
|
-
'&.color-5': {
|
|
94
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
95
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-magenta-bolder, #AE4787)"
|
|
96
|
-
},
|
|
97
|
-
'&.color-6': {
|
|
98
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
99
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-teal-bolder, #227D9B)"
|
|
100
|
-
},
|
|
101
|
-
'&.color-7': {
|
|
102
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
103
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-orange-bolder, #BD5B00)"
|
|
104
|
-
},
|
|
105
|
-
'&.color-8': {
|
|
106
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
107
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-lime-bolder, #5B7F24)"
|
|
108
|
-
},
|
|
109
|
-
'&.color-9': {
|
|
110
|
-
'--telepointer-participant-text-color': "var(--ds-text-inverse, #FFFFFF)",
|
|
111
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-gray-bolder, #6B6E76)"
|
|
112
|
-
},
|
|
113
|
-
'&.color-10': {
|
|
114
|
-
'--telepointer-participant-text-color': "var(--ds-text-accent-gray-bolder, #1E1F21)",
|
|
115
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-blue-subtle, #669DF1)"
|
|
116
|
-
},
|
|
117
|
-
'&.color-11': {
|
|
118
|
-
'--telepointer-participant-text-color': "var(--ds-text-accent-gray-bolder, #1E1F21)",
|
|
119
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-red-subtle, #F87168)"
|
|
120
|
-
},
|
|
121
|
-
'&.color-12': {
|
|
122
|
-
'--telepointer-participant-text-color': "var(--ds-text-accent-gray-bolder, #1E1F21)",
|
|
123
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-orange-subtle, #FCA700)"
|
|
124
|
-
},
|
|
125
|
-
'&.color-13': {
|
|
126
|
-
'--telepointer-participant-text-color': "var(--ds-text-accent-gray-bolder, #1E1F21)",
|
|
127
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-yellow-subtle, #EED12B)"
|
|
128
|
-
},
|
|
129
|
-
'&.color-14': {
|
|
130
|
-
'--telepointer-participant-text-color': "var(--ds-text-accent-gray-bolder, #1E1F21)",
|
|
131
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-green-subtle, #4BCE97)"
|
|
132
|
-
},
|
|
133
|
-
'&.color-15': {
|
|
134
|
-
'--telepointer-participant-text-color': "var(--ds-text-accent-gray-bolder, #1E1F21)",
|
|
135
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-teal-subtle, #6CC3E0)"
|
|
136
|
-
},
|
|
137
|
-
'&.color-16': {
|
|
138
|
-
'--telepointer-participant-text-color': "var(--ds-text-accent-gray-bolder, #1E1F21)",
|
|
139
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-purple-subtle, #C97CF4)"
|
|
140
|
-
},
|
|
141
|
-
'&.color-17': {
|
|
142
|
-
'--telepointer-participant-text-color': "var(--ds-text-accent-gray-bolder, #1E1F21)",
|
|
143
|
-
'--telepointer-participant-bg-color': "var(--ds-background-accent-magenta-subtle, #E774BB)"
|
|
144
|
-
},
|
|
145
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
146
|
-
'html:not([data-color-mode=dark]) &': {
|
|
147
|
-
'--telepointer-participant-background-first-stop': '-850000%',
|
|
148
|
-
'--telepointer-participant-background-second-stop': '150000%'
|
|
149
|
-
},
|
|
150
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
151
|
-
'html[data-color-mode=dark] &': {
|
|
152
|
-
'--telepointer-participant-background-first-stop': '-800000%',
|
|
153
|
-
'--telepointer-participant-background-second-stop': '200000%'
|
|
154
|
-
},
|
|
155
|
-
'&[class*="color-"]': {
|
|
156
|
-
background: 'linear-gradient(to bottom, var(--telepointer-participant-bg-color) var(--telepointer-participant-background-first-stop), transparent var(--telepointer-participant-background-second-stop))',
|
|
157
|
-
'&::after': {
|
|
158
|
-
backgroundColor: 'var(--telepointer-participant-bg-color)',
|
|
159
|
-
color: 'var(--telepointer-participant-text-color)',
|
|
160
|
-
borderColor: 'var(--telepointer-participant-bg-color)'
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
168
|
-
* If you need to make changes here, also update the corresponding style in
|
|
169
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
170
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
171
|
-
*/
|
|
172
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
173
|
-
export var telepointerStyle = css({
|
|
174
|
-
'.ProseMirror .telepointer': {
|
|
175
|
-
'&.telepointer-selection-badge': {
|
|
176
|
-
'.telepointer-initial, .telepointer-fullname': {
|
|
177
|
-
position: 'absolute',
|
|
178
|
-
display: 'block',
|
|
179
|
-
userSelect: 'none',
|
|
180
|
-
whiteSpace: 'pre',
|
|
181
|
-
top: -14,
|
|
182
|
-
left: 0,
|
|
183
|
-
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
184
|
-
paddingLeft: "var(--ds-space-050, 4px)",
|
|
185
|
-
paddingRight: "var(--ds-space-050, 4px)",
|
|
186
|
-
borderRadius: "0 ".concat("var(--ds-radius-xsmall, 2px)", " ", "var(--ds-radius-xsmall, 2px)", " 0")
|
|
187
|
-
},
|
|
188
|
-
'.telepointer-initial': {
|
|
189
|
-
opacity: 1,
|
|
190
|
-
transition: 'opacity 0.15s ease-out'
|
|
191
|
-
},
|
|
192
|
-
'.telepointer-fullname': {
|
|
193
|
-
opacity: 0,
|
|
194
|
-
transform: 'scaleX(0)',
|
|
195
|
-
transformOrigin: 'top left',
|
|
196
|
-
transition: 'transform 0.15s ease-out, opacity 0.15s ease-out'
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
'&.telepointer-pulse-animate': {
|
|
200
|
-
'.telepointer-initial': {
|
|
201
|
-
animation: "".concat(pulseOut, " 2.5s ease-in-out")
|
|
202
|
-
},
|
|
203
|
-
'.telepointer-fullname': {
|
|
204
|
-
animation: "".concat(pulseIn, " 2.5s ease-in-out")
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
'&.telepointer-pulse-during-tr': {
|
|
208
|
-
'.telepointer-initial': {
|
|
209
|
-
animation: "".concat(pulseOutDuringTr, " 7500ms ease-in-out")
|
|
210
|
-
},
|
|
211
|
-
'.telepointer-fullname': {
|
|
212
|
-
animation: "".concat(pulseInDuringTr, " 7500ms ease-in-out")
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
'&:hover': {
|
|
216
|
-
'.telepointer-initial': {
|
|
217
|
-
opacity: 0,
|
|
218
|
-
transitionDelay: '150ms'
|
|
219
|
-
},
|
|
220
|
-
'.telepointer-fullname': {
|
|
221
|
-
transform: 'scaleX(1)',
|
|
222
|
-
opacity: 1,
|
|
223
|
-
zIndex: 1
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
});
|
|
@@ -1,21 +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 } from '@emotion/react';
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
8
|
-
* If you need to make changes here, also update the corresponding style in
|
|
9
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
10
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
11
|
-
*/
|
|
12
|
-
export var textColorStyles = css({
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
14
|
-
'.fabric-text-color-mark': {
|
|
15
|
-
color: 'var(--custom-palette-color, inherit)'
|
|
16
|
-
},
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
18
|
-
'a .fabric-text-color-mark': {
|
|
19
|
-
color: 'unset'
|
|
20
|
-
}
|
|
21
|
-
});
|
|
@@ -1,18 +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 } from '@emotion/react';
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
8
|
-
* If you need to make changes here, also update the corresponding style in
|
|
9
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
10
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
11
|
-
*/
|
|
12
|
-
export var textHighlightStyle = css({
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
14
|
-
'.text-highlight': {
|
|
15
|
-
backgroundColor: "var(--ds-background-accent-blue-subtlest, #E9F2FE)",
|
|
16
|
-
borderBottom: "2px solid ".concat("var(--ds-background-accent-blue-subtler, #CFE1FD)")
|
|
17
|
-
}
|
|
18
|
-
});
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
|
|
3
|
-
@repo/internal/deprecations/deprecation-ticket-required,
|
|
4
|
-
@atlaskit/ui-styling-standard/no-exported-styles */
|
|
5
|
-
|
|
6
|
-
import { css } from '@emotion/react';
|
|
7
|
-
import { backgroundSelectionStyles, borderSelectionStyles, hideNativeBrowserTextSelectionStyles } from './selectionStyles';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
11
|
-
* If you need to make changes here, also update the corresponding style in
|
|
12
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
13
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
14
|
-
*/
|
|
15
|
-
export var UnsupportedSharedCssClassName = {
|
|
16
|
-
BLOCK_CONTAINER: 'unsupportedBlockView-content-wrap',
|
|
17
|
-
INLINE_CONTAINER: 'unsupportedInlineView-content-wrap'
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
23
|
-
* If you need to make changes here, also update the corresponding style in
|
|
24
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
25
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* Styles for UnsupportedBlockNodeView — gated behind platform_editor_vanilla_node_views_phase1.
|
|
29
|
-
* Applied in EditorContentContainerEmotion — will be removed as part of compiled upgrade.
|
|
30
|
-
*
|
|
31
|
-
* The `unsupported-*-vanilla-*` class names are produced by `VanillaUnsupportedCssClassName` in
|
|
32
|
-
* editor-plugin-unsupported-content/src/nodeviews/unsupported-block-node-view.ts — keep both in sync
|
|
33
|
-
* when renaming.
|
|
34
|
-
*/
|
|
35
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
36
|
-
export var vanillaUnsupportedStyles = css({
|
|
37
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
38
|
-
'.ProseMirror': {
|
|
39
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
40
|
-
'.unsupported-block-vanilla-inner': {
|
|
41
|
-
alignItems: 'center',
|
|
42
|
-
background: "var(--ds-background-disabled, #0515240F)",
|
|
43
|
-
border: "var(--ds-border-width, 1px)".concat(" dashed ", "var(--ds-border-disabled, #0515240F)"),
|
|
44
|
-
borderRadius: "var(--ds-radius-small, 3px)",
|
|
45
|
-
boxSizing: 'border-box',
|
|
46
|
-
cursor: 'pointer',
|
|
47
|
-
display: 'flex',
|
|
48
|
-
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
49
|
-
margin: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
50
|
-
minHeight: '24px',
|
|
51
|
-
minWidth: '120px',
|
|
52
|
-
padding: "var(--ds-space-150, 12px)",
|
|
53
|
-
textAlign: 'center',
|
|
54
|
-
justifyContent: 'center'
|
|
55
|
-
},
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
57
|
-
'.unsupported-inline-vanilla-inner': {
|
|
58
|
-
alignItems: 'center',
|
|
59
|
-
background: "var(--ds-background-disabled, #0515240F)",
|
|
60
|
-
border: "var(--ds-border-width, 1px)".concat(" dashed ", "var(--ds-border-disabled, #0515240F)"),
|
|
61
|
-
borderRadius: "var(--ds-radius-small, 3px)",
|
|
62
|
-
boxSizing: 'border-box',
|
|
63
|
-
cursor: 'default',
|
|
64
|
-
display: 'inline-flex',
|
|
65
|
-
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
66
|
-
margin: "0 ".concat("var(--ds-space-025, 2px)"),
|
|
67
|
-
minHeight: '24px',
|
|
68
|
-
padding: "0 ".concat("var(--ds-space-100, 8px)"),
|
|
69
|
-
verticalAlign: 'middle',
|
|
70
|
-
whiteSpace: 'nowrap'
|
|
71
|
-
},
|
|
72
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
73
|
-
'.unsupported-vanilla-icon': {
|
|
74
|
-
padding: "var(--ds-space-050, 4px)",
|
|
75
|
-
display: 'inline-flex',
|
|
76
|
-
alignItems: 'center'
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
82
|
-
export var unsupportedStyles = css(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(UnsupportedSharedCssClassName.BLOCK_CONTAINER, " > div, .").concat(UnsupportedSharedCssClassName.INLINE_CONTAINER, " > span:nth-of-type(2)"), {
|
|
83
|
-
cursor: 'pointer'
|
|
84
|
-
}), '.ak-editor-selected-node', _defineProperty({}, "&.".concat(UnsupportedSharedCssClassName.BLOCK_CONTAINER, " > div, &.").concat(UnsupportedSharedCssClassName.INLINE_CONTAINER, " > span:nth-of-type(2)"),
|
|
85
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
86
|
-
[
|
|
87
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
88
|
-
backgroundSelectionStyles,
|
|
89
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
90
|
-
borderSelectionStyles,
|
|
91
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
92
|
-
hideNativeBrowserTextSelectionStyles])), '.danger', {
|
|
93
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
94
|
-
'.ak-editor-selected-node': _defineProperty({}, "&.".concat(UnsupportedSharedCssClassName.BLOCK_CONTAINER, " > div, &.").concat(UnsupportedSharedCssClassName.INLINE_CONTAINER, " > span:nth-of-type(2)"), {
|
|
95
|
-
border: "1px solid ".concat("var(--ds-border-danger, #E2483D)"),
|
|
96
|
-
backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
|
|
97
|
-
})
|
|
98
|
-
}));
|
|
@@ -1,36 +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 } from '@emotion/react';
|
|
6
|
-
/**
|
|
7
|
-
* Default look for tooltips created by `VanillaTooltip` (`editor-common/vanilla-tooltip`).
|
|
8
|
-
* Opt in with `VANILLA_TOOLTIP_DEFAULT_CLASS`. Spelt out here because the selector has to stay
|
|
9
|
-
* statically analysable, so rename in step with that constant.
|
|
10
|
-
*
|
|
11
|
-
* The tooltip is a `[popover]`: the browser paints it in the top layer but leaves it in the
|
|
12
|
-
* DOM, so this descendant selector still matches. `VanillaTooltip` sets `opacity`,
|
|
13
|
-
* `visibility` and `transition` inline for the show/hide animation;
|
|
14
|
-
*/
|
|
15
|
-
export var vanillaTooltipDefaultStyles = css({
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
17
|
-
'.ProseMirror': {
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
19
|
-
'.ak-editor-vanilla-tooltip-default': {
|
|
20
|
-
boxSizing: 'border-box',
|
|
21
|
-
maxWidth: '240px',
|
|
22
|
-
backgroundColor: "var(--ds-background-neutral-bold, #292A2E)",
|
|
23
|
-
border: 'none',
|
|
24
|
-
borderRadius: "var(--ds-radius-small, 3px)",
|
|
25
|
-
color: "var(--ds-text-inverse, #FFFFFF)",
|
|
26
|
-
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
27
|
-
fontFamily: "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
28
|
-
insetBlockStart: "var(--ds-space-0, 0px)",
|
|
29
|
-
insetInlineStart: "var(--ds-space-0, 0px)",
|
|
30
|
-
overflowWrap: 'break-word',
|
|
31
|
-
paddingBlock: "var(--ds-space-050, 4px)",
|
|
32
|
-
paddingInline: "var(--ds-space-075, 6px)",
|
|
33
|
-
whiteSpace: 'normal'
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
});
|
|
@@ -1,18 +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 } from '@emotion/react';
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
8
|
-
* If you need to make changes here, also update the corresponding style in
|
|
9
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
10
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
11
|
-
*/
|
|
12
|
-
export var whitespaceStyles = css({
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
14
|
-
'.ProseMirror': {
|
|
15
|
-
wordWrap: 'break-word',
|
|
16
|
-
whiteSpace: 'pre-wrap'
|
|
17
|
-
}
|
|
18
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { EditorAppearance, EditorContentMode, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
7
|
-
export type EditorContentContainerProps = {
|
|
8
|
-
appearance?: EditorAppearance;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
contentMode?: EditorContentMode;
|
|
12
|
-
featureFlags?: FeatureFlags;
|
|
13
|
-
isScrollable?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* When true, nodes maintain their standard width without negative margins
|
|
16
|
-
* For when the drag handle is visible and the editor has limited space.
|
|
17
|
-
*/
|
|
18
|
-
useStandardNodeWidth?: boolean;
|
|
19
|
-
viewMode?: 'view' | 'edit';
|
|
20
|
-
};
|
|
21
|
-
export declare const EditorContentContainerEmotion: React.ForwardRefExoticComponent<EditorContentContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
4
|
-
* If you need to make changes here, also update the corresponding style in
|
|
5
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
6
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
7
|
-
*/
|
|
8
|
-
export declare const aiPanelBaseStyles: SerializedStyles;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
11
|
-
* If you need to make changes here, also update the corresponding style in
|
|
12
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
13
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
14
|
-
*/
|
|
15
|
-
export declare const aiPanelBaseFirefoxStyles: SerializedStyles;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
18
|
-
* If you need to make changes here, also update the corresponding style in
|
|
19
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
20
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
21
|
-
*/
|
|
22
|
-
export declare const aiPanelDarkStyles: SerializedStyles;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
25
|
-
* If you need to make changes here, also update the corresponding style in
|
|
26
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
27
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
28
|
-
*/
|
|
29
|
-
export declare const aiPanelDarkFirefoxStyles: SerializedStyles;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
4
|
-
* If you need to make changes here, also update the corresponding style in
|
|
5
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
6
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
7
|
-
*/
|
|
8
|
-
export declare const annotationStyles: SerializedStyles;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
4
|
-
* If you need to make changes here, also update the corresponding style in
|
|
5
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
6
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
7
|
-
*/
|
|
8
|
-
export declare const textHighlightPaddingStyles: SerializedStyles;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
11
|
-
* If you need to make changes here, also update the corresponding style in
|
|
12
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
13
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
14
|
-
*/
|
|
15
|
-
export declare const backgroundColorStyles: SerializedStyles;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
18
|
-
* If you need to make changes here, also update the corresponding style in
|
|
19
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
20
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
21
|
-
*/
|
|
22
|
-
export declare const highlightLinksUnsetStyles: SerializedStyles;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
4
|
-
* If you need to make changes here, also update the corresponding style in
|
|
5
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
6
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
7
|
-
*/
|
|
8
|
-
export declare const baseStyles: SerializedStyles;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
11
|
-
* If you need to make changes here, also update the corresponding style in
|
|
12
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
13
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
14
|
-
*/
|
|
15
|
-
export declare const maxModeReizeFixStyles: SerializedStyles;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
18
|
-
* If you need to make changes here, also update the corresponding style in
|
|
19
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
20
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
21
|
-
*/
|
|
22
|
-
export declare const baseStylesMaxContainerWidthFixes: SerializedStyles;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
25
|
-
* If you need to make changes here, also update the corresponding style in
|
|
26
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
27
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
28
|
-
*/
|
|
29
|
-
export declare const editorGutterPaddingBaseStyles: SerializedStyles;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
32
|
-
* If you need to make changes here, also update the corresponding style in
|
|
33
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
34
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
35
|
-
*/
|
|
36
|
-
export declare const editorLargeGutterPuddingReducedBaseStyles: SerializedStyles;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
4
|
-
* If you need to make changes here, also update the corresponding style in
|
|
5
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
6
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
7
|
-
*/
|
|
8
|
-
export declare const blockMarksStyles: SerializedStyles;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
-
/**
|
|
3
|
-
* Emotion mirror of the block-spacing styles in EditorContentContainer-compiled.tsx.
|
|
4
|
-
*
|
|
5
|
-
* Re-declares the block-element vertical margins so they read from the
|
|
6
|
-
* --ak-editor-extension-block-spacing CSS custom property (falling back to the original
|
|
7
|
-
* 0.75rem). This is applied LAST in the Emotion container's css array, and only when
|
|
8
|
-
* the platform_editor_extension_block_spacing experiment is enabled, so it overrides
|
|
9
|
-
* the base block margins by source order without affecting the experiment-off behaviour.
|
|
10
|
-
*
|
|
11
|
-
* Keep this in sync with the block-spacing styles in EditorContentContainer-compiled.tsx.
|
|
12
|
-
*/
|
|
13
|
-
export declare const blockSpacingVarStyles: SerializedStyles;
|
|
14
|
-
/**
|
|
15
|
-
* Scaled (em-based) variant of the block-spacing styles for dense/scaled paragraph contexts.
|
|
16
|
-
* Keep this in sync with the scaled block-spacing styles in EditorContentContainer-compiled.tsx.
|
|
17
|
-
*/
|
|
18
|
-
export declare const blockSpacingVarScaledStyles: SerializedStyles;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
4
|
-
* If you need to make changes here, also update the corresponding style in
|
|
5
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
6
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
7
|
-
*/
|
|
8
|
-
export declare const blocktypeStyles: SerializedStyles;
|
|
9
|
-
export declare const headingScrollMarginStyles: SerializedStyles;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
12
|
-
* If you need to make changes here, also update the corresponding style in
|
|
13
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
14
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
15
|
-
*/
|
|
16
|
-
export declare const blockquoteDangerStyles: SerializedStyles;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
19
|
-
* If you need to make changes here, also update the corresponding style in
|
|
20
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
21
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
22
|
-
*/
|
|
23
|
-
export declare const blockquoteSelectedNodeStyles: SerializedStyles;
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
26
|
-
* If you need to make changes here, also update the corresponding style in
|
|
27
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
28
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
29
|
-
*/
|
|
30
|
-
export declare const blocktypeStyles_fg_platform_editor_typography_ugc: SerializedStyles;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
33
|
-
* If you need to make changes here, also update the corresponding style in
|
|
34
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
35
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
36
|
-
*/
|
|
37
|
-
export declare const blocktypeStylesNestedDnd: SerializedStyles;
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
40
|
-
* If you need to make changes here, also update the corresponding style in
|
|
41
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
42
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
43
|
-
*/
|
|
44
|
-
export declare const listSelectedNodeStyles: SerializedStyles;
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
47
|
-
* If you need to make changes here, also update the corresponding style in
|
|
48
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
49
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
50
|
-
*/
|
|
51
|
-
export declare const listDangerStyles: SerializedStyles;
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
54
|
-
* If you need to make changes here, also update the corresponding style in
|
|
55
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
56
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
57
|
-
*/
|
|
58
|
-
export declare const textSelectedNodeStyles: SerializedStyles;
|
|
59
|
-
/**
|
|
60
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
61
|
-
* If you need to make changes here, also update the corresponding style in
|
|
62
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
63
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
64
|
-
*/
|
|
65
|
-
export declare const textDangerStyles: SerializedStyles;
|