@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,648 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.resizerStyles = exports.resizerItemClassName = exports.resizerHoverZoneClassName = exports.resizerHandleTrackClassName = exports.resizerHandleThumbWidth = exports.resizerHandleThumbClassName = exports.resizerHandleClassName = exports.resizerExtendedZone = exports.resizerDangerClassName = exports.resizerBottomHandleStyles = exports.pragmaticStylesLayoutFirstNodeResizeHandleFix = exports.pragmaticResizerStylesWithReducedEditorGutter = exports.pragmaticResizerStylesSyncedBlock = exports.pragmaticResizerStylesPanelAndRule = exports.pragmaticResizerStylesForTooltip = exports.pragmaticResizerStylesExtensions = exports.pragmaticResizerStylesCodeBlockSyncedBlockPatch = exports.pragmaticResizerStylesCodeBlockLegacy = exports.pragmaticResizerStyles = exports.handleWrapperClass = void 0;
|
|
8
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
-
var _react = require("@emotion/react");
|
|
10
|
-
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
11
|
-
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
|
|
12
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
|
|
13
|
-
@repo/internal/deprecations/deprecation-ticket-required,
|
|
14
|
-
@atlaskit/ui-styling-standard/no-exported-styles */
|
|
15
|
-
|
|
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
|
-
var resizerItemClassName = exports.resizerItemClassName = 'resizer-item';
|
|
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
|
-
var resizerHoverZoneClassName = exports.resizerHoverZoneClassName = 'resizer-hover-zone';
|
|
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
|
-
var resizerExtendedZone = exports.resizerExtendedZone = 'resizer-is-extended';
|
|
37
|
-
|
|
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
|
-
var resizerHandleClassName = exports.resizerHandleClassName = 'resizer-handle';
|
|
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
|
-
var resizerHandleTrackClassName = exports.resizerHandleTrackClassName = "".concat(resizerHandleClassName, "-track");
|
|
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
|
-
var resizerHandleThumbClassName = exports.resizerHandleThumbClassName = "".concat(resizerHandleClassName, "-thumb");
|
|
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
|
-
var resizerDangerClassName = exports.resizerDangerClassName = "".concat(resizerHandleClassName, "-danger");
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
69
|
-
* If you need to make changes here, also update the corresponding style in
|
|
70
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
71
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
72
|
-
*/
|
|
73
|
-
var resizerHandleThumbWidth = exports.resizerHandleThumbWidth = 3;
|
|
74
|
-
/**
|
|
75
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
76
|
-
* If you need to make changes here, also update the corresponding style in
|
|
77
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
78
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
79
|
-
*/
|
|
80
|
-
var handleWrapperClass = exports.handleWrapperClass = 'resizer-handle-wrapper';
|
|
81
|
-
|
|
82
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766, Seems perfectly safe to autofix, but comments would be lost…
|
|
83
|
-
/**
|
|
84
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
85
|
-
* If you need to make changes here, also update the corresponding style in
|
|
86
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
87
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
88
|
-
*/
|
|
89
|
-
var resizerStyles = exports.resizerStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(resizerItemClassName), (0, _defineProperty2.default)({
|
|
90
|
-
willChange: 'width',
|
|
91
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
92
|
-
'&:hover, &.display-handle': (0, _defineProperty2.default)({}, "& > .".concat(handleWrapperClass, " > .").concat(resizerHandleClassName), {
|
|
93
|
-
visibility: 'visible',
|
|
94
|
-
opacity: 1
|
|
95
|
-
}),
|
|
96
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
97
|
-
'&.is-resizing': (0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
98
|
-
background: "var(--ds-border-focused, #4688EC)"
|
|
99
|
-
})
|
|
100
|
-
}, "&.".concat(resizerDangerClassName), (0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
101
|
-
transition: 'none',
|
|
102
|
-
background: "var(--ds-icon-danger, #C9372C)"
|
|
103
|
-
}))), ".".concat(resizerHandleClassName), {
|
|
104
|
-
display: 'flex',
|
|
105
|
-
visibility: 'hidden',
|
|
106
|
-
opacity: 0,
|
|
107
|
-
flexDirection: 'column',
|
|
108
|
-
justifyContent: 'center',
|
|
109
|
-
alignItems: 'center',
|
|
110
|
-
width: 7,
|
|
111
|
-
transition: 'visibility 0.2s, opacity 0.2s',
|
|
112
|
-
// NOTE: The below style is targeted at the div element added by the tooltip. We don't have any means of injecting styles
|
|
113
|
-
// into the tooltip
|
|
114
|
-
// Guard skips top-layer elements (eg tooltip, modal); `:where()` keeps specificity unchanged.
|
|
115
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
116
|
-
"& div[role='presentation']:not(:where([popover], dialog, [popover] *, dialog *))": {
|
|
117
|
-
width: '100%',
|
|
118
|
-
height: '100%',
|
|
119
|
-
display: 'flex',
|
|
120
|
-
flexDirection: 'column',
|
|
121
|
-
justifyContent: 'center',
|
|
122
|
-
alignItems: 'center',
|
|
123
|
-
marginTop: "var(--ds-space-negative-200, -16px)",
|
|
124
|
-
whiteSpace: 'normal'
|
|
125
|
-
},
|
|
126
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
127
|
-
'&.left': {
|
|
128
|
-
alignItems: 'flex-start'
|
|
129
|
-
},
|
|
130
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
131
|
-
'&.right': {
|
|
132
|
-
alignItems: 'flex-end'
|
|
133
|
-
},
|
|
134
|
-
// Handle Sizing
|
|
135
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
136
|
-
'&.small': (0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
137
|
-
height: 43
|
|
138
|
-
}),
|
|
139
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
140
|
-
'&.medium': (0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
141
|
-
height: 64
|
|
142
|
-
}),
|
|
143
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
144
|
-
'&.large': (0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
145
|
-
height: 96
|
|
146
|
-
}),
|
|
147
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
148
|
-
'&.clamped': (0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
149
|
-
height: 'clamp(43px, calc(100% - 32px), 96px)'
|
|
150
|
-
}),
|
|
151
|
-
// Handle Alignment
|
|
152
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
153
|
-
'&.sticky': (0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
154
|
-
position: 'sticky',
|
|
155
|
-
top: "var(--ds-space-150, 12px)",
|
|
156
|
-
bottom: "var(--ds-space-150, 12px)"
|
|
157
|
-
}),
|
|
158
|
-
'&:hover': (0, _defineProperty2.default)((0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
159
|
-
background: "var(--ds-border-focused, #4688EC)"
|
|
160
|
-
}), "& .".concat(resizerHandleTrackClassName), {
|
|
161
|
-
visibility: 'visible',
|
|
162
|
-
opacity: 0.5
|
|
163
|
-
})
|
|
164
|
-
}), ".".concat(resizerHandleThumbClassName), {
|
|
165
|
-
content: "' '",
|
|
166
|
-
display: 'flex',
|
|
167
|
-
width: 3,
|
|
168
|
-
margin: "0 ".concat("var(--ds-space-025, 2px)"),
|
|
169
|
-
height: 64,
|
|
170
|
-
transition: 'background-color 0.2s',
|
|
171
|
-
borderRadius: "var(--ds-radius-medium, 6px)",
|
|
172
|
-
border: 0,
|
|
173
|
-
padding: 0,
|
|
174
|
-
zIndex: 2,
|
|
175
|
-
outline: 'none',
|
|
176
|
-
minHeight: 24,
|
|
177
|
-
background: "var(--ds-border, #0B120E24)",
|
|
178
|
-
'&:hover': {
|
|
179
|
-
cursor: 'col-resize'
|
|
180
|
-
},
|
|
181
|
-
'&:focus': {
|
|
182
|
-
background: "var(--ds-border-selected, #1868DB)",
|
|
183
|
-
'&::after': {
|
|
184
|
-
content: "''",
|
|
185
|
-
position: 'absolute',
|
|
186
|
-
top: "var(--ds-space-negative-050, -4px)",
|
|
187
|
-
right: "var(--ds-space-negative-050, -4px)",
|
|
188
|
-
bottom: "var(--ds-space-negative-050, -4px)",
|
|
189
|
-
left: "var(--ds-space-negative-050, -4px)",
|
|
190
|
-
border: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)"),
|
|
191
|
-
borderRadius: 'inherit',
|
|
192
|
-
zIndex: -1
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}), ".".concat(resizerHandleTrackClassName), {
|
|
196
|
-
visibility: 'hidden',
|
|
197
|
-
position: 'absolute',
|
|
198
|
-
width: 7,
|
|
199
|
-
height: 'calc(100% - 40px)',
|
|
200
|
-
borderRadius: "var(--ds-radius-small, 4px)",
|
|
201
|
-
opacity: 0,
|
|
202
|
-
transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
|
|
203
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
204
|
-
'&.none': {
|
|
205
|
-
background: 'none'
|
|
206
|
-
},
|
|
207
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
208
|
-
'&.shadow': {
|
|
209
|
-
background: "var(--ds-background-selected, #E9F2FE)"
|
|
210
|
-
},
|
|
211
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
212
|
-
'&.full-height': {
|
|
213
|
-
background: "var(--ds-background-selected, #E9F2FE)",
|
|
214
|
-
height: '100%',
|
|
215
|
-
minHeight: 36
|
|
216
|
-
}
|
|
217
|
-
}), ".".concat(_editorSharedStyles.akEditorSelectedNodeClassName), (0, _defineProperty2.default)({}, "& .".concat(resizerHandleThumbClassName), {
|
|
218
|
-
background: "var(--ds-border-focused, #4688EC)"
|
|
219
|
-
})), ".ak-editor-no-interaction .ak-editor-selected-node .".concat(resizerHandleClassName, ":not(:hover) .").concat(resizerHandleThumbClassName), {
|
|
220
|
-
background: "var(--ds-border, #0B120E24)"
|
|
221
|
-
}), ".".concat(resizerHoverZoneClassName), (0, _defineProperty2.default)({
|
|
222
|
-
position: 'relative',
|
|
223
|
-
display: 'flow-root',
|
|
224
|
-
width: '100%'
|
|
225
|
-
}, "&.".concat(resizerExtendedZone), {
|
|
226
|
-
padding: "0 ".concat("var(--ds-space-150, 12px)"),
|
|
227
|
-
left: "var(--ds-space-negative-150, -12px)"
|
|
228
|
-
})), "table .".concat(resizerHoverZoneClassName, ", table .").concat(resizerHoverZoneClassName, ".").concat(resizerExtendedZone), {
|
|
229
|
-
padding: 'unset',
|
|
230
|
-
left: 'unset'
|
|
231
|
-
}));
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Bottom-handle styles for the vertical-resize feature shipped under the
|
|
235
|
-
* `databases-native-embeds-v2` experiment
|
|
236
|
-
*/
|
|
237
|
-
/**
|
|
238
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
239
|
-
* If you need to make changes here, also update the corresponding style in
|
|
240
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
241
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
242
|
-
*/
|
|
243
|
-
var resizerBottomHandleStyles = exports.resizerBottomHandleStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(resizerHandleClassName, ".bottom"), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
244
|
-
flexDirection: 'row',
|
|
245
|
-
alignItems: 'flex-end',
|
|
246
|
-
width: '100%',
|
|
247
|
-
height: 7
|
|
248
|
-
}, "& .".concat(resizerHandleThumbClassName), {
|
|
249
|
-
width: 64,
|
|
250
|
-
height: 3,
|
|
251
|
-
minWidth: 24,
|
|
252
|
-
minHeight: 0,
|
|
253
|
-
margin: "var(--ds-space-025, 2px)".concat(" 0"),
|
|
254
|
-
'&:hover': {
|
|
255
|
-
cursor: 'row-resize'
|
|
256
|
-
}
|
|
257
|
-
}), "& .".concat(resizerHandleTrackClassName), {
|
|
258
|
-
width: 'calc(100% - 40px)',
|
|
259
|
-
height: 7
|
|
260
|
-
}), "& .".concat(resizerHandleTrackClassName, ".full-height"), {
|
|
261
|
-
width: '100%',
|
|
262
|
-
height: 7,
|
|
263
|
-
minWidth: 36,
|
|
264
|
-
minHeight: 0
|
|
265
|
-
})), ".".concat(resizerHandleClassName, ".small.bottom .").concat(resizerHandleThumbClassName), {
|
|
266
|
-
width: 43,
|
|
267
|
-
height: 3
|
|
268
|
-
}), ".".concat(resizerHandleClassName, ".medium.bottom .").concat(resizerHandleThumbClassName), {
|
|
269
|
-
width: 64,
|
|
270
|
-
height: 3
|
|
271
|
-
}), ".".concat(resizerHandleClassName, ".large.bottom .").concat(resizerHandleThumbClassName), {
|
|
272
|
-
width: 96,
|
|
273
|
-
height: 3
|
|
274
|
-
}), ".".concat(resizerHandleClassName, ".clamped.bottom .").concat(resizerHandleThumbClassName), {
|
|
275
|
-
width: 'clamp(43px, calc(100% - 32px), 96px)',
|
|
276
|
-
height: 3
|
|
277
|
-
}));
|
|
278
|
-
/**
|
|
279
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
280
|
-
* If you need to make changes here, also update the corresponding style in
|
|
281
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
282
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
283
|
-
*/
|
|
284
|
-
var pragmaticResizerStylesForTooltip = exports.pragmaticResizerStylesForTooltip = (0, _react.css)({
|
|
285
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
286
|
-
'.pm-breakout-resize-handle-rail-wrapper': {
|
|
287
|
-
display: 'flex',
|
|
288
|
-
alignItems: 'center',
|
|
289
|
-
justifyContent: 'center',
|
|
290
|
-
height: '100%',
|
|
291
|
-
cursor: 'col-resize',
|
|
292
|
-
borderRadius: "var(--ds-radius-small, 4px)",
|
|
293
|
-
zIndex: 2,
|
|
294
|
-
// Tooltip element. Guard skips top-layer elements (eg tooltip, modal); `:where()` keeps
|
|
295
|
-
// specificity unchanged.
|
|
296
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
297
|
-
'[role="presentation"]:not(:where([popover], dialog, [popover] *, dialog *))': {
|
|
298
|
-
height: '100%',
|
|
299
|
-
width: '100%'
|
|
300
|
-
},
|
|
301
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
302
|
-
'.pm-breakout-resize-handle-rail-inside-tooltip': {
|
|
303
|
-
height: '100%'
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
});
|
|
307
|
-
/**
|
|
308
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
309
|
-
* If you need to make changes here, also update the corresponding style in
|
|
310
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
311
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
312
|
-
*/
|
|
313
|
-
var pragmaticStylesLayoutFirstNodeResizeHandleFix = exports.pragmaticStylesLayoutFirstNodeResizeHandleFix = (0, _react.css)({
|
|
314
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
315
|
-
'.fabric-editor-breakout-mark': {
|
|
316
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
317
|
-
'&:has([data-prosemirror-node-name="layoutSection"].first-node-in-document)': {
|
|
318
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
319
|
-
'> .pm-breakout-resize-handle-container': {
|
|
320
|
-
height: 'calc(100% - 8px)'
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
});
|
|
325
|
-
|
|
326
|
-
// Code block resizer position: legacy selector (matches any descendant code block).
|
|
327
|
-
// When synced block contains a code block, this incorrectly applies -5px and the handle appears inside the border.
|
|
328
|
-
/**
|
|
329
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
330
|
-
* If you need to make changes here, also update the corresponding style in
|
|
331
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
332
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
333
|
-
*/
|
|
334
|
-
var pragmaticResizerStylesCodeBlockLegacy = exports.pragmaticResizerStylesCodeBlockLegacy = (0, _react.css)({
|
|
335
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
336
|
-
'.fabric-editor-breakout-mark': {
|
|
337
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
338
|
-
'&:has([data-prosemirror-node-name="codeBlock"])': {
|
|
339
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
340
|
-
'> .pm-breakout-resize-handle-container--left': {
|
|
341
|
-
left: '-5px'
|
|
342
|
-
},
|
|
343
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
344
|
-
'> .pm-breakout-resize-handle-container--right': {
|
|
345
|
-
right: '-5px'
|
|
346
|
-
},
|
|
347
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
348
|
-
'> .pm-breakout-resize-handle-container': {
|
|
349
|
-
height: 'calc(100% - 12px)'
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
// the first node in the document always has margin-top = 0
|
|
353
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
354
|
-
'&:has(.first-node-in-document)': {
|
|
355
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
356
|
-
'> .pm-breakout-resize-handle-container': {
|
|
357
|
-
height: '100%'
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
});
|
|
362
|
-
|
|
363
|
-
// Code block resizer position: only when breakout directly wraps a code block.
|
|
364
|
-
// Synced block containing code block keeps -24px from pragmaticResizerStylesSyncedBlock so the handle stays outside.
|
|
365
|
-
/**
|
|
366
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
367
|
-
* If you need to make changes here, also update the corresponding style in
|
|
368
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
369
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
370
|
-
*/
|
|
371
|
-
var pragmaticResizerStylesCodeBlockSyncedBlockPatch = exports.pragmaticResizerStylesCodeBlockSyncedBlockPatch = (0, _react.css)({
|
|
372
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
373
|
-
'.fabric-editor-breakout-mark': {
|
|
374
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
375
|
-
'&:has(> .fabric-editor-breakout-mark-dom > [data-prosemirror-node-name="codeBlock"])': {
|
|
376
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
377
|
-
'> .pm-breakout-resize-handle-container--left': {
|
|
378
|
-
left: '-5px'
|
|
379
|
-
},
|
|
380
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
381
|
-
'> .pm-breakout-resize-handle-container--right': {
|
|
382
|
-
right: '-5px'
|
|
383
|
-
},
|
|
384
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
385
|
-
'> .pm-breakout-resize-handle-container': {
|
|
386
|
-
height: 'calc(100% - 12px)'
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
// the first node in the document always has margin-top = 0
|
|
390
|
-
// class name is duplicated to boost specificity
|
|
391
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
392
|
-
'&:has(.first-node-in-document.first-node-in-document)': {
|
|
393
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
394
|
-
'> .pm-breakout-resize-handle-container': {
|
|
395
|
-
height: '100%'
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
});
|
|
400
|
-
/**
|
|
401
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
402
|
-
* If you need to make changes here, also update the corresponding style in
|
|
403
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
404
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
405
|
-
*/
|
|
406
|
-
var pragmaticResizerStyles = exports.pragmaticResizerStyles = (0, _react.css)({
|
|
407
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
408
|
-
'.fabric-editor-breakout-mark': {
|
|
409
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
410
|
-
'&:has([data-prosemirror-node-name="expand"]), &:has([data-prosemirror-node-name="layoutSection"])': {
|
|
411
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
412
|
-
'> .pm-breakout-resize-handle-container--left': {
|
|
413
|
-
left: '-25px'
|
|
414
|
-
},
|
|
415
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
416
|
-
'> .pm-breakout-resize-handle-container--right': {
|
|
417
|
-
right: '-25px'
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
421
|
-
'&:has([data-prosemirror-node-name="expand"])': {
|
|
422
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
423
|
-
'> .pm-breakout-resize-handle-container': {
|
|
424
|
-
height: 'calc(100% - 4px)'
|
|
425
|
-
}
|
|
426
|
-
},
|
|
427
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
428
|
-
'&:has([data-prosemirror-node-name="layoutSection"])': {
|
|
429
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
430
|
-
'> .pm-breakout-resize-handle-container': {
|
|
431
|
-
height: 'calc(100% - 8px)'
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
// the first node in the document always has margin-top = 0
|
|
435
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
436
|
-
'&:has(.first-node-in-document)': {
|
|
437
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
438
|
-
'> .pm-breakout-resize-handle-container': {
|
|
439
|
-
height: '100%'
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
444
|
-
'.pm-breakout-resize-handle-container': {
|
|
445
|
-
position: 'relative',
|
|
446
|
-
alignSelf: 'end',
|
|
447
|
-
gridRow: 1,
|
|
448
|
-
gridColumn: 1,
|
|
449
|
-
height: '100%',
|
|
450
|
-
width: 7
|
|
451
|
-
},
|
|
452
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
453
|
-
'.pm-breakout-resize-handle-container--left': {
|
|
454
|
-
justifySelf: 'start'
|
|
455
|
-
},
|
|
456
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
457
|
-
'.pm-breakout-resize-handle-container--right': {
|
|
458
|
-
justifySelf: 'end'
|
|
459
|
-
},
|
|
460
|
-
// Rail and thumb styles intentionally mirror the layout column divider
|
|
461
|
-
// (see layoutColumnDividerRailClassName and layoutColumnDividerThumbClassName in layout.ts).
|
|
462
|
-
// If updating these styles, consider keeping both in sync.
|
|
463
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
464
|
-
'.pm-breakout-resize-handle-rail': {
|
|
465
|
-
position: 'relative',
|
|
466
|
-
display: 'flex',
|
|
467
|
-
alignItems: 'center',
|
|
468
|
-
justifyContent: 'center',
|
|
469
|
-
height: '100%',
|
|
470
|
-
cursor: 'col-resize',
|
|
471
|
-
borderRadius: "var(--ds-radius-small, 4px)",
|
|
472
|
-
transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
|
|
473
|
-
zIndex: 2,
|
|
474
|
-
opacity: 0,
|
|
475
|
-
'&:hover': {
|
|
476
|
-
background: "var(--ds-background-selected, #E9F2FE)",
|
|
477
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
478
|
-
'.pm-breakout-resize-handle-thumb': {
|
|
479
|
-
background: "var(--ds-border-focused, #4688EC)"
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
},
|
|
483
|
-
// Positions the vanilla resize tooltip at the pointer's Y, set by `pragmatic-resizer.tsx`.
|
|
484
|
-
// Inert until `platform_editor_use_vanilla_components` — nothing carries this class on control.
|
|
485
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
486
|
-
'.pm-breakout-resize-tooltip-anchor': {
|
|
487
|
-
position: 'absolute',
|
|
488
|
-
left: 0,
|
|
489
|
-
right: 0,
|
|
490
|
-
height: 0,
|
|
491
|
-
pointerEvents: 'none',
|
|
492
|
-
top: 'var(--pm-breakout-resize-tooltip-anchor-top, 0)'
|
|
493
|
-
},
|
|
494
|
-
// same as 'hover' styles above
|
|
495
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
496
|
-
'.pm-breakout-resize-handle-container--active': {
|
|
497
|
-
background: "var(--ds-background-selected, #E9F2FE)",
|
|
498
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
499
|
-
'.pm-breakout-resize-handle-thumb': {
|
|
500
|
-
background: "var(--ds-border-focused, #4688EC)"
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
504
|
-
'.pm-breakout-resize-handle-hit-box': {
|
|
505
|
-
position: 'absolute',
|
|
506
|
-
top: 0,
|
|
507
|
-
bottom: 0,
|
|
508
|
-
left: -20,
|
|
509
|
-
right: -20,
|
|
510
|
-
zIndex: 0
|
|
511
|
-
},
|
|
512
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
513
|
-
'.pm-breakout-resize-handle-thumb': {
|
|
514
|
-
minWidth: resizerHandleThumbWidth,
|
|
515
|
-
// copied from resizeStyles.clamped
|
|
516
|
-
height: 'clamp(27px, calc(100% - 32px), 96px)',
|
|
517
|
-
background: "var(--ds-border, #0B120E24)",
|
|
518
|
-
borderRadius: "var(--ds-radius-medium, 6px)",
|
|
519
|
-
// sticky styles
|
|
520
|
-
position: 'sticky',
|
|
521
|
-
top: "var(--ds-space-150, 12px)",
|
|
522
|
-
bottom: "var(--ds-space-150, 12px)"
|
|
523
|
-
}
|
|
524
|
-
});
|
|
525
|
-
/**
|
|
526
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
527
|
-
* If you need to make changes here, also update the corresponding style in
|
|
528
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
529
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
530
|
-
*/
|
|
531
|
-
var pragmaticResizerStylesSyncedBlock = exports.pragmaticResizerStylesSyncedBlock = (0, _react.css)({
|
|
532
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
533
|
-
'.fabric-editor-breakout-mark': {
|
|
534
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
535
|
-
'&:has([data-prosemirror-node-name="syncBlock"]), &:has([data-prosemirror-node-name="bodiedSyncBlock"])': {
|
|
536
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
537
|
-
'> .pm-breakout-resize-handle-container--left': {
|
|
538
|
-
left: '-24px'
|
|
539
|
-
},
|
|
540
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
541
|
-
'> .pm-breakout-resize-handle-container--right': {
|
|
542
|
-
right: '-24px'
|
|
543
|
-
},
|
|
544
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
545
|
-
'> .pm-breakout-resize-handle-container': {
|
|
546
|
-
height: 'calc(100% - 12px)'
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
});
|
|
551
|
-
/**
|
|
552
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
553
|
-
* If you need to make changes here, also update the corresponding style in
|
|
554
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
555
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
556
|
-
*/
|
|
557
|
-
var pragmaticResizerStylesWithReducedEditorGutter = exports.pragmaticResizerStylesWithReducedEditorGutter = (0, _react.css)((0, _defineProperty2.default)({}, "@container editor-area (max-width: ".concat(_editorSharedStyles.akEditorFullPageNarrowBreakout, "px)"), {
|
|
558
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
559
|
-
'.fabric-editor-breakout-mark': {
|
|
560
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
561
|
-
'&:has([data-prosemirror-node-name="expand"]), &:has([data-prosemirror-node-name="layoutSection"])': {
|
|
562
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
563
|
-
'> .pm-breakout-resize-handle-container': {
|
|
564
|
-
opacity: 0,
|
|
565
|
-
visibility: 'hidden'
|
|
566
|
-
}
|
|
567
|
-
},
|
|
568
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
569
|
-
'&:has([data-prosemirror-node-name="layoutSection"])': (0, _defineProperty2.default)({}, ".".concat(resizerItemClassName), {
|
|
570
|
-
willChange: 'width',
|
|
571
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
572
|
-
'&:hover, &.display-handle': (0, _defineProperty2.default)({}, "& > .".concat(handleWrapperClass, " > .").concat(resizerHandleClassName), {
|
|
573
|
-
visibility: 'hidden',
|
|
574
|
-
opacity: 0
|
|
575
|
-
})
|
|
576
|
-
})
|
|
577
|
-
}
|
|
578
|
-
}));
|
|
579
|
-
/**
|
|
580
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
581
|
-
* If you need to make changes here, also update the corresponding style in
|
|
582
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
583
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
584
|
-
*/
|
|
585
|
-
var pragmaticResizerStylesPanelAndRule = exports.pragmaticResizerStylesPanelAndRule = (0, _react.css)({
|
|
586
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
587
|
-
'.fabric-editor-breakout-mark': {
|
|
588
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
589
|
-
'&:has(> .fabric-editor-breakout-mark-dom > [data-prosemirror-node-name="panel"])': {
|
|
590
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
591
|
-
'> .pm-breakout-resize-handle-container--right': {
|
|
592
|
-
right: '-4px'
|
|
593
|
-
},
|
|
594
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
595
|
-
'> .pm-breakout-resize-handle-container': {
|
|
596
|
-
height: 'calc(100% - 12px)'
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
600
|
-
'&:has(> .fabric-editor-breakout-mark-dom > [data-prosemirror-node-name="panel_c1"])': {
|
|
601
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
602
|
-
'> .pm-breakout-resize-handle-container--right': {
|
|
603
|
-
right: '-4px'
|
|
604
|
-
},
|
|
605
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
606
|
-
'> .pm-breakout-resize-handle-container': {
|
|
607
|
-
height: 'calc(100% - 12px)'
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
611
|
-
'&:has(> .fabric-editor-breakout-mark-dom > [data-prosemirror-node-name="rule"])': {
|
|
612
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
613
|
-
'> .pm-breakout-resize-handle-container--right': {
|
|
614
|
-
right: '-4px'
|
|
615
|
-
},
|
|
616
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
617
|
-
'> .pm-breakout-resize-handle-container': {
|
|
618
|
-
alignSelf: 'center',
|
|
619
|
-
height: '40px'
|
|
620
|
-
}
|
|
621
|
-
},
|
|
622
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
623
|
-
'&:has(> .fabric-editor-breakout-mark-dom > [data-prosemirror-node-name="rule"].first-node-in-document)': {
|
|
624
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
625
|
-
'> .pm-breakout-resize-handle-container': {
|
|
626
|
-
transform: 'translateY(-12px)'
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
});
|
|
631
|
-
/**
|
|
632
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
633
|
-
* If you need to make changes here, also update the corresponding style in
|
|
634
|
-
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
635
|
-
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
636
|
-
*/
|
|
637
|
-
var pragmaticResizerStylesExtensions = exports.pragmaticResizerStylesExtensions = (0, _react.css)({
|
|
638
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
639
|
-
'.fabric-editor-breakout-mark': {
|
|
640
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
641
|
-
'&:has([data-prosemirror-node-name="extension"]), &:has([data-prosemirror-node-name="bodiedExtension"]), &:has([data-prosemirror-node-name="multiBodiedExtension"])': {
|
|
642
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
643
|
-
'> .pm-breakout-resize-handle-container--right': {
|
|
644
|
-
right: '-25px'
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
});
|