@atlaskit/editor-core 235.0.0 → 235.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/composable-editor/editor-internal-compiled.js +0 -6
- package/dist/cjs/composable-editor/editor-internal.js +3 -12
- package/dist/cjs/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
- package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +1 -7
- package/dist/cjs/ui/Appearance/ChromelessEditorContainer.js +26 -13
- package/dist/cjs/ui/Appearance/Comment/Comment.js +262 -7
- package/dist/cjs/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
- package/dist/cjs/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -6
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +2 -13
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +15 -7
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper.js +41 -10
- package/dist/cjs/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -6
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +192 -14
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper.js +23 -7
- package/dist/cjs/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
- package/dist/cjs/ui/ChromeCollapsed/index.js +1 -7
- package/dist/cjs/ui/ContextPanel/index-compiled.js +0 -6
- package/dist/cjs/ui/ContextPanel/index.js +2 -11
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
- package/dist/cjs/ui/PluginSlot/PluginSlot-compiled.js +0 -7
- package/dist/cjs/ui/PluginSlot/index.js +1 -6
- package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
- package/dist/cjs/ui/Toolbar/ToolbarInner.js +1 -8
- package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +2 -11
- package/dist/cjs/ui/WithFlash/index.js +1 -6
- package/dist/cjs/ui/WithFlash/withFlash-compiled.js +1 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal-compiled.js +0 -6
- package/dist/es2019/composable-editor/editor-internal.js +3 -10
- package/dist/es2019/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
- package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +1 -5
- package/dist/es2019/ui/Appearance/ChromelessEditorContainer.js +24 -12
- package/dist/es2019/ui/Appearance/Comment/Comment.js +254 -5
- package/dist/es2019/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
- package/dist/es2019/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -6
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +2 -8
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +11 -5
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper.js +37 -6
- package/dist/es2019/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -4
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +186 -11
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper.js +24 -5
- package/dist/es2019/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
- package/dist/es2019/ui/ChromeCollapsed/index.js +1 -5
- package/dist/es2019/ui/ContextPanel/index-compiled.js +0 -6
- package/dist/es2019/ui/ContextPanel/index.js +2 -7
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
- package/dist/es2019/ui/PluginSlot/PluginSlot-compiled.js +0 -7
- package/dist/es2019/ui/PluginSlot/index.js +1 -4
- package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
- package/dist/es2019/ui/Toolbar/ToolbarInner.js +1 -5
- package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +2 -9
- package/dist/es2019/ui/WithFlash/index.js +1 -4
- package/dist/es2019/ui/WithFlash/withFlash-compiled.js +0 -6
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal-compiled.js +0 -6
- package/dist/esm/composable-editor/editor-internal.js +3 -12
- package/dist/esm/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
- package/dist/esm/ui/Addon/ClickAreaBlock/index.js +1 -7
- package/dist/esm/ui/Appearance/ChromelessEditorContainer.js +25 -14
- package/dist/esm/ui/Appearance/Comment/Comment.js +260 -7
- package/dist/esm/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
- package/dist/esm/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -7
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +2 -12
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +13 -7
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper.js +39 -10
- package/dist/esm/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -6
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +190 -13
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
- package/dist/esm/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper.js +23 -7
- package/dist/esm/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
- package/dist/esm/ui/ChromeCollapsed/index.js +1 -7
- package/dist/esm/ui/ContextPanel/index-compiled.js +0 -6
- package/dist/esm/ui/ContextPanel/index.js +2 -11
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
- package/dist/esm/ui/PluginSlot/PluginSlot-compiled.js +0 -7
- package/dist/esm/ui/PluginSlot/index.js +1 -6
- package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
- package/dist/esm/ui/Toolbar/ToolbarInner.js +1 -7
- package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +2 -11
- package/dist/esm/ui/WithFlash/index.js +1 -6
- package/dist/esm/ui/WithFlash/withFlash-compiled.js +0 -6
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/editor-internal-compiled.d.ts +0 -6
- package/dist/types/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.d.ts +0 -4
- package/dist/types/ui/Appearance/ChromelessEditorContainer.d.ts +10 -7
- package/dist/types/ui/Appearance/Comment/Comment.d.ts +24 -2
- package/dist/types/ui/Appearance/Comment/FixedToolbar-compiled.d.ts +0 -6
- package/dist/types/ui/Appearance/Comment/StickyToolbar-compiled.d.ts +0 -6
- package/dist/types/ui/Appearance/FullPage/BeforeWrapper.d.ts +7 -3
- package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper.d.ts +2 -3
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +54 -6
- package/dist/types/ui/Appearance/FullPage/MainToolbar-compiled.d.ts +0 -6
- package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper.d.ts +13 -3
- package/dist/types/ui/ChromeCollapsed/ChromeCollapsed-compiled.d.ts +0 -6
- package/dist/types/ui/PluginSlot/PluginSlot-compiled.d.ts +0 -6
- package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-compiled.d.ts +0 -6
- package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.d.ts +0 -6
- package/dist/types/ui/WithFlash/index.d.ts +1 -1
- package/dist/types/ui/WithFlash/withFlash-compiled.d.ts +0 -6
- package/package.json +3 -3
- package/dist/cjs/composable-editor/BaseThemeWrapper.js +0 -47
- package/dist/cjs/composable-editor/editor-internal-emotion.js +0 -35
- package/dist/cjs/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -36
- package/dist/cjs/ui/Appearance/Chromeless-compiled.js +0 -38
- package/dist/cjs/ui/Appearance/Chromeless-emotion.js +0 -89
- package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +0 -273
- package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +0 -339
- package/dist/cjs/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -89
- package/dist/cjs/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -126
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -29
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -34
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -57
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -89
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -13
- package/dist/cjs/ui/Appearance/FullPage/FullPage-emotion.js +0 -38
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -201
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -398
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -63
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -13
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -35
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -70
- package/dist/cjs/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -13
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +0 -65
- package/dist/cjs/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -37
- package/dist/cjs/ui/ContextPanel/index-emotion.js +0 -86
- package/dist/cjs/ui/PluginSlot/PluginSlot-emotion.js +0 -35
- package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -36
- package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -32
- package/dist/cjs/ui/WithFlash/withFlash-emotion.js +0 -91
- package/dist/es2019/composable-editor/BaseThemeWrapper.js +0 -35
- package/dist/es2019/composable-editor/editor-internal-emotion.js +0 -27
- package/dist/es2019/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -26
- package/dist/es2019/ui/Appearance/Chromeless-compiled.js +0 -30
- package/dist/es2019/ui/Appearance/Chromeless-emotion.js +0 -80
- package/dist/es2019/ui/Appearance/Comment/Comment-compiled.js +0 -260
- package/dist/es2019/ui/Appearance/Comment/Comment-emotion.js +0 -326
- package/dist/es2019/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -86
- package/dist/es2019/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -123
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -19
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -25
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -47
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -79
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -5
- package/dist/es2019/ui/Appearance/FullPage/FullPage-emotion.js +0 -29
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -190
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -390
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -53
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -5
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -30
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -65
- package/dist/es2019/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -5
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +0 -59
- package/dist/es2019/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -27
- package/dist/es2019/ui/ContextPanel/index-emotion.js +0 -74
- package/dist/es2019/ui/PluginSlot/PluginSlot-emotion.js +0 -25
- package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -28
- package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -24
- package/dist/es2019/ui/WithFlash/withFlash-emotion.js +0 -75
- package/dist/esm/composable-editor/BaseThemeWrapper.js +0 -39
- package/dist/esm/composable-editor/editor-internal-emotion.js +0 -28
- package/dist/esm/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -30
- package/dist/esm/ui/Appearance/Chromeless-compiled.js +0 -31
- package/dist/esm/ui/Appearance/Chromeless-emotion.js +0 -83
- package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +0 -266
- package/dist/esm/ui/Appearance/Comment/Comment-emotion.js +0 -328
- package/dist/esm/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -81
- package/dist/esm/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -119
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -21
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -27
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -49
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -81
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -7
- package/dist/esm/ui/Appearance/FullPage/FullPage-emotion.js +0 -31
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -194
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -388
- package/dist/esm/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -55
- package/dist/esm/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -7
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -29
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -62
- package/dist/esm/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -7
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +0 -59
- package/dist/esm/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -29
- package/dist/esm/ui/ContextPanel/index-emotion.js +0 -79
- package/dist/esm/ui/PluginSlot/PluginSlot-emotion.js +0 -29
- package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -28
- package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -25
- package/dist/esm/ui/WithFlash/withFlash-emotion.js +0 -88
- package/dist/types/composable-editor/BaseThemeWrapper.d.ts +0 -7
- package/dist/types/composable-editor/editor-internal-emotion.d.ts +0 -15
- package/dist/types/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.d.ts +0 -12
- package/dist/types/ui/Appearance/Chromeless-compiled.d.ts +0 -18
- package/dist/types/ui/Appearance/Chromeless-emotion.d.ts +0 -18
- package/dist/types/ui/Appearance/Comment/Comment-compiled.d.ts +0 -30
- package/dist/types/ui/Appearance/Comment/Comment-emotion.d.ts +0 -20
- package/dist/types/ui/Appearance/Comment/FixedToolbar-emotion.d.ts +0 -19
- package/dist/types/ui/Appearance/Comment/StickyToolbar-emotion.d.ts +0 -21
- package/dist/types/ui/Appearance/FullPage/BeforeWrapper-compiled.d.ts +0 -16
- package/dist/types/ui/Appearance/FullPage/BeforeWrapper-emotion.d.ts +0 -16
- package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.d.ts +0 -3
- package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.d.ts +0 -14
- package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapperMigration.d.ts +0 -4
- package/dist/types/ui/Appearance/FullPage/FullPage-emotion.d.ts +0 -7
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea-compiled.d.ts +0 -57
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea-emotion.d.ts +0 -57
- package/dist/types/ui/Appearance/FullPage/MainToolbar-emotion.d.ts +0 -21
- package/dist/types/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.d.ts +0 -4
- package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper-compiled.d.ts +0 -19
- package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper-emotion.d.ts +0 -19
- package/dist/types/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.d.ts +0 -4
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +0 -19
- package/dist/types/ui/ChromeCollapsed/ChromeCollapsed-emotion.d.ts +0 -13
- package/dist/types/ui/ContextPanel/index-emotion.d.ts +0 -13
- package/dist/types/ui/PluginSlot/PluginSlot-emotion.d.ts +0 -12
- package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-emotion.d.ts +0 -17
- package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.d.ts +0 -17
- package/dist/types/ui/WithFlash/withFlash-emotion.d.ts +0 -19
- /package/dist/cjs/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
- /package/dist/cjs/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
- /package/dist/cjs/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
- /package/dist/cjs/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
- /package/dist/cjs/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
- /package/dist/cjs/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
- /package/dist/es2019/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
- /package/dist/es2019/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
- /package/dist/es2019/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
- /package/dist/es2019/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
- /package/dist/es2019/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
- /package/dist/es2019/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
- /package/dist/esm/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
- /package/dist/esm/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
- /package/dist/esm/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
- /package/dist/esm/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
- /package/dist/esm/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
- /package/dist/esm/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
|
@@ -1,390 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import React, { useImperativeHandle, useRef } from 'react';
|
|
7
|
-
|
|
8
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic */
|
|
9
|
-
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import classnames from 'classnames';
|
|
11
|
-
import { injectIntl } from 'react-intl';
|
|
12
|
-
import { decisionListSelector } from '@atlaskit/adf-schema/decision-list';
|
|
13
|
-
import { taskListSelector } from '@atlaskit/adf-schema/task-list';
|
|
14
|
-
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
15
|
-
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
16
|
-
import { akEditorFullPageNarrowBreakout, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
17
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
18
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
19
|
-
// Ignored via go/ees005
|
|
20
|
-
// eslint-disable-next-line import/no-named-as-default
|
|
21
|
-
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
22
|
-
import { contentComponentClickWrapper } from '../../Addon/ClickAreaBlock/contentComponentWrapper';
|
|
23
|
-
import { ContextPanel } from '../../ContextPanel';
|
|
24
|
-
import EditorContentContainer from '../../EditorContentContainer/EditorContentContainer';
|
|
25
|
-
import PluginSlot from '../../PluginSlot';
|
|
26
|
-
import { contentAreaWrapper, sidebarArea } from './StyledComponents';
|
|
27
|
-
const akEditorFullWidthLayoutWidth = 1800;
|
|
28
|
-
const akEditorUltraWideLayoutWidth = 4000;
|
|
29
|
-
const akEditorSwoopCubicBezier = `cubic-bezier(0.15, 1, 0.3, 1)`;
|
|
30
|
-
const tableMarginFullWidthMode = 2;
|
|
31
|
-
const akLayoutGutterOffset = 12;
|
|
32
|
-
const SWOOP_ANIMATION = `0.5s ${akEditorSwoopCubicBezier}`;
|
|
33
|
-
const AK_NESTED_DND_GUTTER_OFFSET = 8;
|
|
34
|
-
const getTotalPadding = () => akEditorGutterPaddingDynamic() * 2;
|
|
35
|
-
|
|
36
|
-
// Isolates the scroll container's layout and size from the rest of the page.
|
|
37
|
-
// Because of contain: size wrapper must take its height from the parent
|
|
38
|
-
// rather than from the contained content.
|
|
39
|
-
const containStrictWrapperStyles = css({
|
|
40
|
-
contain: 'layout size',
|
|
41
|
-
height: '100%'
|
|
42
|
-
});
|
|
43
|
-
const editorContentAreaProsemirrorStyle = css({
|
|
44
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
45
|
-
'& .ProseMirror': {
|
|
46
|
-
flexGrow: 1,
|
|
47
|
-
boxSizing: 'border-box',
|
|
48
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
49
|
-
'& > *': {
|
|
50
|
-
clear: 'both'
|
|
51
|
-
},
|
|
52
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
53
|
-
[`> p, > ul, > ol:not(${taskListSelector}):not(${decisionListSelector}), > h1, > h2, > h3, > h4, > h5, > h6`]: {
|
|
54
|
-
clear: 'none'
|
|
55
|
-
},
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
57
|
-
'> p:last-child': {
|
|
58
|
-
marginBottom: "var(--ds-space-300, 24px)"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
/*
|
|
64
|
-
EDITOR-7249: Scope to the main editor's ProseMirror (direct child) so nested
|
|
65
|
-
editors like the footer page-comment composer aren't hidden in Syntax view.
|
|
66
|
-
*/
|
|
67
|
-
const hideEditorContentAreaProsemirrorWithAttributeStyle = css({
|
|
68
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
69
|
-
'&[data-markdown-mode-hide-prosemirror="true"] > .ak-editor-content-area > .ProseMirror': {
|
|
70
|
-
display: 'none'
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
const hideEditorContentAreaScrollGutterWithAttributeStyle = css({
|
|
74
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
75
|
-
'&[data-markdown-mode-hide-scroll-gutter="true"] > .ak-editor-content-area > [data-vc="scroll-gutter"]': {
|
|
76
|
-
display: 'none'
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
const hideEditorScrollGutterStyle = css({
|
|
80
|
-
display: 'none'
|
|
81
|
-
});
|
|
82
|
-
const fullWidthNonChromelessBreakoutBlockTableStyle = css({
|
|
83
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-1
|
|
84
|
-
'.fabric-editor--full-width-mode:not(:has(#chromeless-editor))': {
|
|
85
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
86
|
-
'.fabric-editor-breakout-mark, .extension-container.block, .pm-table-container': {
|
|
87
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
88
|
-
width: '100% !important'
|
|
89
|
-
},
|
|
90
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
91
|
-
'.fabric-editor-breakout-mark': {
|
|
92
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
93
|
-
marginLeft: 'unset !important',
|
|
94
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
95
|
-
transform: 'none !important'
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
// new styles
|
|
101
|
-
const editorContentAreaNew = css({
|
|
102
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
103
|
-
lineHeight: '24px',
|
|
104
|
-
paddingTop: "var(--ds-space-600, 48px)",
|
|
105
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
106
|
-
'.ak-editor-content-area-no-toolbar &': {
|
|
107
|
-
// When the toolbar is hidden, we don't want content to jump up
|
|
108
|
-
// the extra 1px is to account for the border on the toolbar
|
|
109
|
-
paddingTop: `calc(${"var(--ds-space-600, 48px)"} + var(--ak-editor-fullpage-toolbar-height) + 1px)`
|
|
110
|
-
},
|
|
111
|
-
paddingBottom: "var(--ds-space-600, 48px)",
|
|
112
|
-
height: 'calc( 100% - 105px )',
|
|
113
|
-
width: '100%',
|
|
114
|
-
margin: 'auto',
|
|
115
|
-
flexDirection: 'column',
|
|
116
|
-
flexGrow: 1,
|
|
117
|
-
maxWidth: 'var(--ak-editor-content-area-max-width)',
|
|
118
|
-
transition: `max-width ${SWOOP_ANIMATION}`
|
|
119
|
-
});
|
|
120
|
-
const tableFullPageEditorStylesNew = css({
|
|
121
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
122
|
-
'.ProseMirror .pm-table-wrapper > table': {
|
|
123
|
-
marginLeft: 0,
|
|
124
|
-
/* 1px border width offset added here to prevent unwanted overflow and scolling - ED-16212 */
|
|
125
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
126
|
-
marginRight: '-1px',
|
|
127
|
-
width: '100%'
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
const editorContentAreaContainerNestedDndStyle = css({
|
|
131
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
132
|
-
'.fabric-editor--full-width-mode': {
|
|
133
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
134
|
-
'[data-layout-section]': {
|
|
135
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
136
|
-
maxWidth: `calc(100% + ${(akLayoutGutterOffset + AK_NESTED_DND_GUTTER_OFFSET) * 2}px)`
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
/* Prevent horizontal scroll on page in full width mode */
|
|
142
|
-
const editorContentAreaContainerStyleExcludeCodeBlockNew = css({
|
|
143
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
144
|
-
'.fabric-editor--full-width-mode': {
|
|
145
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
146
|
-
'.extension-container, .multiBodiedExtension--container': {
|
|
147
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
148
|
-
maxWidth: `calc(100% - ${tableMarginFullWidthMode * 2}px)`
|
|
149
|
-
},
|
|
150
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
151
|
-
'.extension-container.inline': {
|
|
152
|
-
maxWidth: '100%'
|
|
153
|
-
},
|
|
154
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
155
|
-
'td .extension-container.inline': {
|
|
156
|
-
maxWidth: 'inherit'
|
|
157
|
-
},
|
|
158
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
159
|
-
'[data-layout-section]': {
|
|
160
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
161
|
-
maxWidth: `calc(100% + ${akLayoutGutterOffset * 2}px)`
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
const editorContentGutterStyleFG = css({
|
|
166
|
-
padding: '0 72px'
|
|
167
|
-
});
|
|
168
|
-
const editorContentGutterStyles = css({
|
|
169
|
-
boxSizing: 'border-box',
|
|
170
|
-
padding: '0 52px'
|
|
171
|
-
});
|
|
172
|
-
const editorContentReducedGutterStyles = css({
|
|
173
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-container-queries, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
174
|
-
[`@container editor-area (max-width: ${akEditorFullPageNarrowBreakout}px)`]: {
|
|
175
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
176
|
-
padding: `0 ${akEditorGutterPaddingReduced}px`
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
const contentAreaNew = css({
|
|
180
|
-
display: 'flex',
|
|
181
|
-
flexDirection: 'row',
|
|
182
|
-
height: `calc(100% - var(--ak-editor-fullpage-toolbar-height))`,
|
|
183
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
184
|
-
'&.ak-editor-content-area-no-toolbar': {
|
|
185
|
-
// The editor toolbar height is 1px off (from the border) -- so we need to add 1px to the height
|
|
186
|
-
// to match the toolbar height
|
|
187
|
-
height: `calc(100% + 1px)`
|
|
188
|
-
},
|
|
189
|
-
boxSizing: 'border-box',
|
|
190
|
-
margin: 0,
|
|
191
|
-
padding: 0,
|
|
192
|
-
transition: `padding 0ms ${akEditorSwoopCubicBezier}`
|
|
193
|
-
});
|
|
194
|
-
const contentAreaHeightNoToolbar = css({
|
|
195
|
-
height: '100%'
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
// When the markdown source view is shown (markdown mode toggled on and not in
|
|
199
|
-
// the WYSIWYG "preview" view) we tint the whole editor container with the
|
|
200
|
-
// sunken surface so the source editor reads as a distinct, inset surface.
|
|
201
|
-
const markdownModeContainerBackgroundStyle = css({
|
|
202
|
-
backgroundColor: "var(--ds-surface-sunken, #F8F8F8)",
|
|
203
|
-
// In the markdown MVP layout the source view (CodeMirror) is bounded to the
|
|
204
|
-
// viewport and owns its own scrolling, so the editor's scroll container must
|
|
205
|
-
// not also own vertical scrolling — its always-on `overflow-y: scroll` track
|
|
206
|
-
// would otherwise render a second, redundant scrollbar alongside CodeMirror's.
|
|
207
|
-
// This style is only applied in markdown source mode, so WYSIWYG / preview
|
|
208
|
-
// scrolling is unaffected.
|
|
209
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- scoped override of the descendant scroll container
|
|
210
|
-
'& [data-editor-scroll-container="true"]': {
|
|
211
|
-
overflowY: 'hidden'
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
const markdownModeContentAreaStyle = css({
|
|
215
|
-
boxSizing: 'border-box',
|
|
216
|
-
height: '100%',
|
|
217
|
-
margin: 0,
|
|
218
|
-
maxWidth: 'none',
|
|
219
|
-
minWidth: 0,
|
|
220
|
-
paddingBottom: 0,
|
|
221
|
-
// No top padding here: it would inset the whole source view (including
|
|
222
|
-
// CodeMirror's `.cm-scroller`), leaving a gap above the editor's vertical
|
|
223
|
-
// scrollbar. The top inset is applied inside the scroller instead (see the
|
|
224
|
-
// `.cm-scroller` `paddingTop` in MarkdownSourceView) so the scrollbar still
|
|
225
|
-
// spans the full height.
|
|
226
|
-
paddingTop: 0,
|
|
227
|
-
width: '100%',
|
|
228
|
-
// The markdown source view is rendered through PluginSlot. Stretch those
|
|
229
|
-
// intermediate wrappers so its in-flow footer can sit at the bottom without
|
|
230
|
-
// overlaying the CodeMirror scrollbar.
|
|
231
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
232
|
-
'> .ak-editor-content-area': {
|
|
233
|
-
boxSizing: 'border-box',
|
|
234
|
-
display: 'flex',
|
|
235
|
-
flexDirection: 'column',
|
|
236
|
-
height: '100%',
|
|
237
|
-
minHeight: 0,
|
|
238
|
-
minWidth: 0,
|
|
239
|
-
padding: 0,
|
|
240
|
-
width: '100%'
|
|
241
|
-
},
|
|
242
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
243
|
-
'> .ak-editor-content-area > [data-testid="plugins-components-wrapper"]': {
|
|
244
|
-
display: 'flex',
|
|
245
|
-
flex: '1 1 auto',
|
|
246
|
-
minHeight: 0,
|
|
247
|
-
minWidth: 0,
|
|
248
|
-
width: '100%'
|
|
249
|
-
}
|
|
250
|
-
});
|
|
251
|
-
export const CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
|
|
252
|
-
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
253
|
-
export const EDITOR_CONTAINER = 'ak-editor-container';
|
|
254
|
-
const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
255
|
-
var _props$editorAPI, _props$editorAPI$base, _props$editorAPI$base2, _props$editorAPI$bloc, _props$editorAPI2, _props$editorAPI2$blo, _props$editorAPI2$blo2, _props$editorAPI2$blo3, _contentAreaRef$curre, _allowScrollGutter$gu, _allowScrollGutter$gu2;
|
|
256
|
-
const fullWidthMode = props.appearance === 'full-width';
|
|
257
|
-
const maxWidthMode = props.appearance === 'max';
|
|
258
|
-
const scrollContainerRef = useRef(null);
|
|
259
|
-
const contentAreaRef = useRef(null);
|
|
260
|
-
const containerRef = useRef(null);
|
|
261
|
-
const allowScrollGutter = (_props$editorAPI = props.editorAPI) === null || _props$editorAPI === void 0 ? void 0 : (_props$editorAPI$base = _props$editorAPI.base) === null || _props$editorAPI$base === void 0 ? void 0 : (_props$editorAPI$base2 = _props$editorAPI$base.sharedState.currentState()) === null || _props$editorAPI$base2 === void 0 ? void 0 : _props$editorAPI$base2.allowScrollGutter;
|
|
262
|
-
const contentAreaMaxWidth = getTotalPadding() + (!fullWidthMode ? maxWidthMode ? akEditorUltraWideLayoutWidth : akEditorDefaultLayoutWidth : akEditorFullWidthLayoutWidth);
|
|
263
|
-
|
|
264
|
-
// Get useStandardNodeWidth from block menu plugin shared state
|
|
265
|
-
// Only access editorAPI when the experiment is enabled to avoid performance impact
|
|
266
|
-
const useStandardNodeWidth = editorExperiment('platform_editor_controls', 'variant1') && ((_props$editorAPI$bloc = (_props$editorAPI2 = props.editorAPI) === null || _props$editorAPI2 === void 0 ? void 0 : (_props$editorAPI2$blo = _props$editorAPI2.blockMenu) === null || _props$editorAPI2$blo === void 0 ? void 0 : (_props$editorAPI2$blo2 = _props$editorAPI2$blo.sharedState) === null || _props$editorAPI2$blo2 === void 0 ? void 0 : (_props$editorAPI2$blo3 = _props$editorAPI2$blo2.currentState()) === null || _props$editorAPI2$blo3 === void 0 ? void 0 : _props$editorAPI2$blo3.useStandardNodeWidth) !== null && _props$editorAPI$bloc !== void 0 ? _props$editorAPI$bloc : false);
|
|
267
|
-
useImperativeHandle(ref, () => ({
|
|
268
|
-
get scrollContainer() {
|
|
269
|
-
return scrollContainerRef.current;
|
|
270
|
-
},
|
|
271
|
-
get contentArea() {
|
|
272
|
-
return contentAreaRef.current;
|
|
273
|
-
},
|
|
274
|
-
get containerArea() {
|
|
275
|
-
return containerRef.current;
|
|
276
|
-
}
|
|
277
|
-
}), []);
|
|
278
|
-
const markdownPluginCurrentView = useSharedPluginStateWithSelector(props.editorAPI, ['markdownMode'], states => {
|
|
279
|
-
var _states$markdownModeS;
|
|
280
|
-
return (_states$markdownModeS = states.markdownModeState) === null || _states$markdownModeS === void 0 ? void 0 : _states$markdownModeS.view;
|
|
281
|
-
});
|
|
282
|
-
const markdownPluginCurrentIsMarkdownMode = useSharedPluginStateWithSelector(props.editorAPI, ['markdownMode'], states => {
|
|
283
|
-
var _states$markdownModeS2;
|
|
284
|
-
return (_states$markdownModeS2 = states.markdownModeState) === null || _states$markdownModeS2 === void 0 ? void 0 : _states$markdownModeS2.isMarkdownMode;
|
|
285
|
-
});
|
|
286
|
-
const isMarkdownModeExperimentEnabled = expValEqualsNoExposure('cc-markdown-mode', 'isEnabled', true);
|
|
287
|
-
const shouldHideProseMirrorForMarkdownMode = isMarkdownModeExperimentEnabled && markdownPluginCurrentView !== 'preview' && markdownPluginCurrentIsMarkdownMode;
|
|
288
|
-
const shouldHideScrollGutterForMarkdownMode = isMarkdownModeExperimentEnabled && markdownPluginCurrentIsMarkdownMode;
|
|
289
|
-
const content = jsx(EditorContentContainer
|
|
290
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
291
|
-
, {
|
|
292
|
-
className: "fabric-editor-popup-scroll-parent",
|
|
293
|
-
featureFlags: props.featureFlags,
|
|
294
|
-
ref: scrollContainerRef,
|
|
295
|
-
viewMode: props === null || props === void 0 ? void 0 : props.viewMode,
|
|
296
|
-
isScrollable: true,
|
|
297
|
-
appearance: props.appearance,
|
|
298
|
-
contentMode: props.contentMode,
|
|
299
|
-
useStandardNodeWidth: useStandardNodeWidth
|
|
300
|
-
}, jsx(ClickAreaBlock, {
|
|
301
|
-
editorView: props.editorView,
|
|
302
|
-
editorDisabled: props.disabled
|
|
303
|
-
}, jsx("div", {
|
|
304
|
-
"data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode ? 'true' : undefined,
|
|
305
|
-
"data-markdown-mode-hide-scroll-gutter": shouldHideScrollGutterForMarkdownMode ? 'true' : undefined,
|
|
306
|
-
css: [editorContentAreaNew, editorContentAreaProsemirrorStyle,
|
|
307
|
-
// EDITOR-6558: hide ProseMirror when the markdown-mode plugin
|
|
308
|
-
// reports a non-WYSIWYG view.
|
|
309
|
-
shouldHideProseMirrorForMarkdownMode && hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && markdownModeContentAreaStyle, tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
|
|
310
|
-
// for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
|
|
311
|
-
editorContentAreaContainerStyleExcludeCodeBlockNew, editorContentAreaContainerNestedDndStyle],
|
|
312
|
-
style: {
|
|
313
|
-
'--ak-editor-content-area-max-width': `${contentAreaMaxWidth}px`
|
|
314
|
-
}
|
|
315
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
316
|
-
,
|
|
317
|
-
className: "ak-editor-content-area-region",
|
|
318
|
-
"data-editor-editable-content": true,
|
|
319
|
-
role: "region",
|
|
320
|
-
"aria-label": props.intl.formatMessage(messages.editableContentLabel),
|
|
321
|
-
ref: contentAreaRef,
|
|
322
|
-
"data-vc": "editor-content-area-region"
|
|
323
|
-
}, jsx("div", {
|
|
324
|
-
css: [editorContentGutterStyles, editorContentGutterStyleFG, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
|
|
325
|
-
exposure: true
|
|
326
|
-
}) && editorContentReducedGutterStyles]
|
|
327
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
328
|
-
,
|
|
329
|
-
className: classnames('ak-editor-content-area', 'appearance-full-page', {
|
|
330
|
-
'fabric-editor--full-width-mode': fullWidthMode,
|
|
331
|
-
'fabric-editor--max-width-mode': Boolean(maxWidthMode)
|
|
332
|
-
}),
|
|
333
|
-
ref: contentAreaRef
|
|
334
|
-
}, !!props.customContentComponents && 'before' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.before) : contentComponentClickWrapper(props.customContentComponents), jsx(PluginSlot, {
|
|
335
|
-
editorView: props.editorView,
|
|
336
|
-
editorActions: props.editorActions,
|
|
337
|
-
eventDispatcher: props.eventDispatcher,
|
|
338
|
-
providerFactory: props.providerFactory,
|
|
339
|
-
appearance: props.appearance,
|
|
340
|
-
items: props.contentComponents,
|
|
341
|
-
pluginHooks: props.pluginHooks,
|
|
342
|
-
contentArea: (_contentAreaRef$curre = contentAreaRef.current) !== null && _contentAreaRef$curre !== void 0 ? _contentAreaRef$curre : undefined,
|
|
343
|
-
popupsMountPoint: props.popupsMountPoint,
|
|
344
|
-
popupsBoundariesElement: props.popupsBoundariesElement,
|
|
345
|
-
popupsScrollableElement: props.popupsScrollableElement,
|
|
346
|
-
disabled: !!props.disabled,
|
|
347
|
-
containerElement: scrollContainerRef.current,
|
|
348
|
-
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
349
|
-
wrapperElement: props.wrapperElement
|
|
350
|
-
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.after) : null, allowScrollGutter && (editorExperiment('platform_editor_blocks', true) ? jsx("div", {
|
|
351
|
-
id: "editor-scroll-gutter",
|
|
352
|
-
css: shouldHideScrollGutterForMarkdownMode && hideEditorScrollGutterStyle,
|
|
353
|
-
style: {
|
|
354
|
-
paddingBottom: `${(_allowScrollGutter$gu = allowScrollGutter.gutterSize) !== null && _allowScrollGutter$gu !== void 0 ? _allowScrollGutter$gu : '120'}px`
|
|
355
|
-
},
|
|
356
|
-
"data-vc": "scroll-gutter",
|
|
357
|
-
"data-editor-scroll-gutter": "true"
|
|
358
|
-
}) : jsx("div", {
|
|
359
|
-
id: "editor-scroll-gutter",
|
|
360
|
-
css: shouldHideScrollGutterForMarkdownMode && hideEditorScrollGutterStyle,
|
|
361
|
-
style: {
|
|
362
|
-
paddingBottom: `${(_allowScrollGutter$gu2 = allowScrollGutter.gutterSize) !== null && _allowScrollGutter$gu2 !== void 0 ? _allowScrollGutter$gu2 : '120'}px`
|
|
363
|
-
},
|
|
364
|
-
"data-vc": "scroll-gutter"
|
|
365
|
-
}))))));
|
|
366
|
-
return jsx("div", {
|
|
367
|
-
css: [contentAreaNew, props.isEditorToolbarHidden && contentAreaHeightNoToolbar],
|
|
368
|
-
"data-testid": CONTENT_AREA_TEST_ID,
|
|
369
|
-
ref: containerRef
|
|
370
|
-
}, jsx("div", {
|
|
371
|
-
css: [
|
|
372
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
373
|
-
contentAreaWrapper, shouldHideProseMirrorForMarkdownMode && markdownModeContainerBackgroundStyle],
|
|
374
|
-
"data-testid": EDITOR_CONTAINER,
|
|
375
|
-
"data-editor-container": 'true'
|
|
376
|
-
}, props.UNSAFE_containLayout ? jsx("div", {
|
|
377
|
-
"data-testid": "editor-contain-size-and-layout-wrapper",
|
|
378
|
-
css: containStrictWrapperStyles
|
|
379
|
-
}, content) : content), jsx("div", {
|
|
380
|
-
css: sidebarArea
|
|
381
|
-
}, props.contextPanel || jsx(ContextPanel, {
|
|
382
|
-
editorAPI: props.editorAPI,
|
|
383
|
-
visible: false
|
|
384
|
-
})));
|
|
385
|
-
});
|
|
386
|
-
|
|
387
|
-
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
388
|
-
export const FullPageContentAreaEmotion = injectIntl(Content, {
|
|
389
|
-
forwardRef: true
|
|
390
|
-
});
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
-
* Used via `componentWithCondition` in `MainToolbar.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import React from 'react';
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
|
|
14
|
-
import { css, jsx } from '@emotion/react';
|
|
15
|
-
import { akEditorMobileMaxWidth } from '@atlaskit/editor-shared-styles';
|
|
16
|
-
const nonCustomToolbarWrapperEmotionStyles = css({
|
|
17
|
-
alignItems: 'center',
|
|
18
|
-
display: 'flex',
|
|
19
|
-
flexGrow: 1
|
|
20
|
-
});
|
|
21
|
-
export const NonCustomToolbarWrapperEmotion = ({
|
|
22
|
-
children
|
|
23
|
-
}) => jsx("div", {
|
|
24
|
-
css: nonCustomToolbarWrapperEmotionStyles
|
|
25
|
-
}, children);
|
|
26
|
-
const customToolbarWrapperEmotionStyles = css({
|
|
27
|
-
alignItems: 'center',
|
|
28
|
-
display: 'flex'
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
32
|
-
export const CustomToolbarWrapperEmotion = ({
|
|
33
|
-
children
|
|
34
|
-
}) => jsx("div", {
|
|
35
|
-
css: customToolbarWrapperEmotionStyles
|
|
36
|
-
}, children);
|
|
37
|
-
const mainToolbarIconBeforeEmotionStyles = css({
|
|
38
|
-
margin: "var(--ds-space-200, 16px)",
|
|
39
|
-
height: "var(--ds-space-400, 32px)",
|
|
40
|
-
width: "var(--ds-space-400, 32px)",
|
|
41
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
42
|
-
[`@media (max-width: ${akEditorMobileMaxWidth}px)`]: {
|
|
43
|
-
gridColumn: 1,
|
|
44
|
-
gridRow: 1
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
49
|
-
export const MainToolbarIconBeforeEmotion = ({
|
|
50
|
-
children
|
|
51
|
-
}) => jsx("div", {
|
|
52
|
-
css: mainToolbarIconBeforeEmotionStyles
|
|
53
|
-
}, children);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
|
-
import { MainToolbarIconBeforeCompiled } from './MainToolbar-compiled';
|
|
4
|
-
import { MainToolbarIconBeforeEmotion } from './MainToolbar-emotion';
|
|
5
|
-
export const MainToolbarIconBeforeMigration = componentWithCondition(() => expValEquals('platform_editor_core_non_ecc_static_css', 'isEnabled', true), MainToolbarIconBeforeCompiled, MainToolbarIconBeforeEmotion);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* MainToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
|
-
/**
|
|
3
|
-
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
|
-
* Used via `componentWithCondition` in `MainToolbarWrapper.tsx`.
|
|
5
|
-
*
|
|
6
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
7
|
-
*/
|
|
8
|
-
import "./MainToolbarWrapper-compiled.compiled.css";
|
|
9
|
-
import { ax, ix } from "@compiled/react/runtime";
|
|
10
|
-
import React from 'react';
|
|
11
|
-
|
|
12
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
13
|
-
|
|
14
|
-
const styles = {
|
|
15
|
-
base: "_v56419ab _n7zlia51 _kqswh2mm _4cvr1h6o _16qsglyw _1pby16oo _1e0c1txw _4t3i17qo _1o9zidpf _bfhkvuon _1krdgrf3",
|
|
16
|
-
flexibleIconSize: "_3pwj1osq",
|
|
17
|
-
keyline: "_16qs1nax",
|
|
18
|
-
twoLine: "_1s5v1g80 _8o38zpre"
|
|
19
|
-
};
|
|
20
|
-
export const MainToolbarWrapperCompiled = ({
|
|
21
|
-
showKeyline,
|
|
22
|
-
twoLineEditorToolbar,
|
|
23
|
-
children,
|
|
24
|
-
'data-testid': testId
|
|
25
|
-
}) => {
|
|
26
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
27
|
-
"data-testid": testId,
|
|
28
|
-
className: ax([styles.base, styles.flexibleIconSize, showKeyline && styles.keyline, twoLineEditorToolbar && styles.twoLine])
|
|
29
|
-
}, children);
|
|
30
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
-
* Used via `componentWithCondition` in `MainToolbarWrapper.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import React from 'react';
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
|
|
14
|
-
import { css, jsx } from '@emotion/react';
|
|
15
|
-
import { akEditorFloatingDialogZIndex, akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
16
|
-
import { MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT } from './MainToolbar';
|
|
17
|
-
const baseToolbarStyles = css({
|
|
18
|
-
position: 'relative',
|
|
19
|
-
alignItems: 'center',
|
|
20
|
-
boxShadow: 'none',
|
|
21
|
-
borderBottom: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
23
|
-
transition: `box-shadow 200ms ${akEditorSwoopCubicBezier}`,
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
25
|
-
zIndex: akEditorFloatingDialogZIndex,
|
|
26
|
-
display: 'flex',
|
|
27
|
-
height: 'var(--ak-editor-fullpage-toolbar-height)',
|
|
28
|
-
flexShrink: 0,
|
|
29
|
-
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
31
|
-
'& object': {
|
|
32
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
33
|
-
height: '0 !important'
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
const flexibleIconSize = css({
|
|
37
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
38
|
-
'& span svg': {
|
|
39
|
-
maxWidth: '100%'
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const mainToolbarWithKeyline = css({
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
44
|
-
boxShadow: `${"var(--ds-shadow-overflow, 0px 0px 8px #1E1F2128, 0px 0px 1px #1E1F211e)"}`
|
|
45
|
-
});
|
|
46
|
-
const mainToolbarTwoLineStyle = css({
|
|
47
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
48
|
-
[`@media (max-width: ${MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT}px)`]: {
|
|
49
|
-
flexWrap: 'wrap',
|
|
50
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
51
|
-
height: `calc(var(--ak-editor-fullpage-toolbar-height) * 2)`
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
export const MainToolbarWrapperEmotion = ({
|
|
55
|
-
showKeyline,
|
|
56
|
-
twoLineEditorToolbar,
|
|
57
|
-
children,
|
|
58
|
-
'data-testid': testId
|
|
59
|
-
}) => {
|
|
60
|
-
return jsx("div", {
|
|
61
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
62
|
-
css: [baseToolbarStyles, flexibleIconSize, showKeyline && mainToolbarWithKeyline, twoLineEditorToolbar && mainToolbarTwoLineStyle],
|
|
63
|
-
"data-testid": testId
|
|
64
|
-
}, children);
|
|
65
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
|
-
import { NonCustomToolbarWrapperCompiled } from './MainToolbar-compiled';
|
|
4
|
-
import { NonCustomToolbarWrapperEmotion } from './MainToolbar-emotion';
|
|
5
|
-
export const NonCustomToolbarWrapperMigration = componentWithCondition(() => expValEquals('platform_editor_core_non_ecc_static_css', 'isEnabled', true), NonCustomToolbarWrapperCompiled, NonCustomToolbarWrapperEmotion);
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 */
|
|
2
|
-
|
|
3
|
-
import { css } from '@emotion/react';
|
|
4
|
-
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_non_ecc_static_css
|
|
7
|
-
* If you need to make changes here, also update the corresponding style in
|
|
8
|
-
* packages/editor/editor-core/src/ui/Appearance/FullPage/FullPage-compiled.tsx
|
|
9
|
-
*/
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
|
-
export const fullPageEditorWrapper = css({
|
|
12
|
-
minWidth: '340px',
|
|
13
|
-
height: '100%',
|
|
14
|
-
display: 'flex',
|
|
15
|
-
flexDirection: 'column',
|
|
16
|
-
boxSizing: 'border-box'
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_non_ecc_static_css
|
|
22
|
-
* If you need to make changes here, also update the corresponding style in
|
|
23
|
-
* packages/editor/editor-core/src/ui/Appearance/FullPage/FullPageContentArea-compiled.tsx
|
|
24
|
-
*/
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
26
|
-
export const contentAreaWrapper = css({
|
|
27
|
-
width: '100%',
|
|
28
|
-
containerType: 'inline-size',
|
|
29
|
-
containerName: 'editor-area',
|
|
30
|
-
// Chrome 129 Regression!
|
|
31
|
-
// By the spec, when the container-type: inline-size is used
|
|
32
|
-
// The browser should apply the bewlo properties to the element.
|
|
33
|
-
// However, for reasons that goes beyond my knowledge.
|
|
34
|
-
// Chrome 129 broke that behavior, and now we need to make it explicity.
|
|
35
|
-
contain: 'layout style inline-size'
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_non_ecc_static_css
|
|
41
|
-
* If you need to make changes here, also update the corresponding style in
|
|
42
|
-
* packages/editor/editor-core/src/ui/Appearance/FullPage/FullPageContentArea-compiled.tsx
|
|
43
|
-
*/
|
|
44
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports -- Ignored via go/DSP-18766
|
|
45
|
-
export const sidebarArea = css({
|
|
46
|
-
height: '100%',
|
|
47
|
-
boxSizing: 'border-box',
|
|
48
|
-
alignSelf: 'flex-end',
|
|
49
|
-
// Make the sidebar sticky within the legacy content macro
|
|
50
|
-
// to prevent it from aligning to the bottom with large content.
|
|
51
|
-
// This style is only applied when opening inside the legacy content macro.
|
|
52
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
53
|
-
'.extension-editable-area &': {
|
|
54
|
-
height: 'auto',
|
|
55
|
-
position: 'sticky',
|
|
56
|
-
top: 0,
|
|
57
|
-
alignSelf: 'flex-start'
|
|
58
|
-
}
|
|
59
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
/**
|
|
8
|
-
* Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
9
|
-
* Used via `componentWithCondition` in `index.tsx`.
|
|
10
|
-
*
|
|
11
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
12
|
-
**/
|
|
13
|
-
|
|
14
|
-
import { forwardRef } from 'react';
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- intentional: emotion fallback for compiled migration
|
|
16
|
-
import { jsx } from '@emotion/react';
|
|
17
|
-
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- intentional: emotion fallback for compiled migration
|
|
19
|
-
import { inputStyle } from './styles';
|
|
20
|
-
export const ChromeCollapsedEmotion = /*#__PURE__*/forwardRef(
|
|
21
|
-
// eslint-disable-next-line react/jsx-props-no-spreading, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- intentional: emotion fallback for compiled migration
|
|
22
|
-
({
|
|
23
|
-
...rest
|
|
24
|
-
}, ref) => jsx("input", _extends({
|
|
25
|
-
ref: ref,
|
|
26
|
-
css: inputStyle
|
|
27
|
-
}, rest)));
|