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