@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,79 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children", "customWidth", "visible"],
|
|
4
|
-
_excluded2 = ["children", "customWidth", "visible", "hasPadding"];
|
|
5
|
-
/**
|
|
6
|
-
* @jsxRuntime classic
|
|
7
|
-
* @jsx jsx
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
11
|
-
* Used via `componentWithCondition` in `index.tsx`.
|
|
12
|
-
*
|
|
13
|
-
* Cleanup: delete this file once the `platform_editor_core_non_ecc_static_css` experiment has shipped.
|
|
14
|
-
*/
|
|
15
|
-
import { useMemo } from 'react';
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
|
|
17
|
-
import { css, jsx } from '@emotion/react';
|
|
18
|
-
import { akEditorContextPanelWidth } from '@atlaskit/editor-shared-styles';
|
|
19
|
-
var panelHidden = css({
|
|
20
|
-
width: 0
|
|
21
|
-
});
|
|
22
|
-
var panel = css({
|
|
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
|
-
width: "".concat(akEditorContextPanelWidth, "px"),
|
|
25
|
-
height: '100%',
|
|
26
|
-
overflow: 'hidden',
|
|
27
|
-
boxShadow: "inset 2px 0 0 0 ".concat("var(--ds-border, #0B120E24)")
|
|
28
|
-
});
|
|
29
|
-
var content = css({
|
|
30
|
-
boxSizing: 'border-box',
|
|
31
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
32
|
-
width: "".concat(akEditorContextPanelWidth, "px"),
|
|
33
|
-
height: '100%',
|
|
34
|
-
overflowY: 'auto'
|
|
35
|
-
});
|
|
36
|
-
var paddingStyles = css({
|
|
37
|
-
padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-200, 16px)", " 0px")
|
|
38
|
-
});
|
|
39
|
-
export var ContextPanelWrapperEmotion = function ContextPanelWrapperEmotion(_ref) {
|
|
40
|
-
var children = _ref.children,
|
|
41
|
-
customWidth = _ref.customWidth,
|
|
42
|
-
visible = _ref.visible,
|
|
43
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
44
|
-
var customPanelWidthStyles = useMemo(function () {
|
|
45
|
-
return customWidth ? css({
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @repo/internal/react/no-class-components
|
|
47
|
-
width: "".concat(customWidth, "px"),
|
|
48
|
-
overflowX: 'hidden'
|
|
49
|
-
}) : undefined;
|
|
50
|
-
}, [customWidth]);
|
|
51
|
-
return jsx("div", _extends({
|
|
52
|
-
css: [panel,
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage
|
|
54
|
-
customPanelWidthStyles, !visible && panelHidden]
|
|
55
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
56
|
-
}, rest), children);
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
60
|
-
export var ContextPanelContentEmotion = function ContextPanelContentEmotion(_ref2) {
|
|
61
|
-
var children = _ref2.children,
|
|
62
|
-
customWidth = _ref2.customWidth,
|
|
63
|
-
visible = _ref2.visible,
|
|
64
|
-
hasPadding = _ref2.hasPadding,
|
|
65
|
-
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
66
|
-
var customPanelWidthStyles = useMemo(function () {
|
|
67
|
-
return customWidth ? css({
|
|
68
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @repo/internal/react/no-class-components
|
|
69
|
-
width: "".concat(customWidth, "px"),
|
|
70
|
-
overflowX: 'hidden'
|
|
71
|
-
}) : undefined;
|
|
72
|
-
}, [customWidth]);
|
|
73
|
-
return jsx("div", _extends({
|
|
74
|
-
css: [content, hasPadding && paddingStyles,
|
|
75
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage
|
|
76
|
-
customPanelWidthStyles, !visible && panelHidden]
|
|
77
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
78
|
-
}, rest), children);
|
|
79
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children"];
|
|
4
|
-
/**
|
|
5
|
-
* @jsxRuntime classic
|
|
6
|
-
* @jsx jsx
|
|
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
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- intentional: emotion fallback for compiled migration
|
|
16
|
-
import { css, jsx } from '@emotion/react';
|
|
17
|
-
var pluginsComponentsWrapperEmotionStyles = css({
|
|
18
|
-
display: 'flex'
|
|
19
|
-
});
|
|
20
|
-
export var PluginsComponentsWrapperEmotion = function PluginsComponentsWrapperEmotion(_ref) {
|
|
21
|
-
var children = _ref.children,
|
|
22
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
23
|
-
return (
|
|
24
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
25
|
-
jsx("div", _extends({
|
|
26
|
-
css: pluginsComponentsWrapperEmotionStyles
|
|
27
|
-
}, rest), children)
|
|
28
|
-
);
|
|
29
|
-
};
|
|
@@ -1,28 +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 `ToolbarInner.tsx`.
|
|
9
|
-
*
|
|
10
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
11
|
-
*/
|
|
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
|
-
var toolbarComponentsWrapperEmotionStyles = css(_defineProperty({
|
|
17
|
-
display: 'flex'
|
|
18
|
-
}, "@media (max-width: ".concat(akEditorMobileMaxWidth, "px)"), {
|
|
19
|
-
justifyContent: 'space-between'
|
|
20
|
-
}));
|
|
21
|
-
export var ToolbarComponentsWrapperEmotion = function ToolbarComponentsWrapperEmotion(_ref) {
|
|
22
|
-
var children = _ref.children,
|
|
23
|
-
dataVc = _ref['data-vc'];
|
|
24
|
-
return jsx("div", {
|
|
25
|
-
css: toolbarComponentsWrapperEmotionStyles,
|
|
26
|
-
"data-vc": dataVc
|
|
27
|
-
}, children);
|
|
28
|
-
};
|
|
@@ -1,25 +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 `ToolbarWithSizeDetector.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
|
|
13
|
-
import { css, jsx } from '@emotion/react';
|
|
14
|
-
var toolbarSizeDetectorWrapperEmotionStyles = css({
|
|
15
|
-
width: '100%',
|
|
16
|
-
position: 'relative'
|
|
17
|
-
});
|
|
18
|
-
export var ToolbarSizeDetectorWrapperEmotion = function ToolbarSizeDetectorWrapperEmotion(_ref) {
|
|
19
|
-
var children = _ref.children,
|
|
20
|
-
style = _ref.style;
|
|
21
|
-
return jsx("div", {
|
|
22
|
-
css: toolbarSizeDetectorWrapperEmotionStyles,
|
|
23
|
-
style: style
|
|
24
|
-
}, children);
|
|
25
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
4
|
-
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
5
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
7
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
|
-
/**
|
|
10
|
-
* @jsxRuntime classic
|
|
11
|
-
* @jsx jsx
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
15
|
-
* Used via `componentWithCondition` in `index.tsx`.
|
|
16
|
-
*
|
|
17
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
18
|
-
*/
|
|
19
|
-
import React from 'react';
|
|
20
|
-
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- intentional: emotion fallback for compiled migration
|
|
22
|
-
import { css, jsx, keyframes } from '@emotion/react';
|
|
23
|
-
var pulseBackground = keyframes({
|
|
24
|
-
'50%': {
|
|
25
|
-
backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
var pulseBackgroundReverse = keyframes({
|
|
29
|
-
'0%': {
|
|
30
|
-
backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
|
|
31
|
-
},
|
|
32
|
-
'50%': {
|
|
33
|
-
backgroundColor: 'auto'
|
|
34
|
-
},
|
|
35
|
-
'100%': {
|
|
36
|
-
backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
var flashWrapper = css({
|
|
40
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
41
|
-
'&.-flash > div': {
|
|
42
|
-
animationName: pulseBackgroundReverse,
|
|
43
|
-
animationDuration: '0.25s',
|
|
44
|
-
animationTimingFunction: 'ease-in-out'
|
|
45
|
-
},
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
47
|
-
'& > div': {
|
|
48
|
-
animation: 'none'
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
var flashWrapperAnimated = css(_defineProperty({}, "&.-flash > div", {
|
|
52
|
-
animationName: pulseBackground,
|
|
53
|
-
animationDuration: '0.25s',
|
|
54
|
-
animationTimingFunction: 'ease-in-out'
|
|
55
|
-
}));
|
|
56
|
-
// Ignored via go/ees005
|
|
57
|
-
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
58
|
-
export var WithFlashEmotion = /*#__PURE__*/function (_React$Component) {
|
|
59
|
-
function WithFlashEmotion() {
|
|
60
|
-
var _this;
|
|
61
|
-
_classCallCheck(this, WithFlashEmotion);
|
|
62
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
63
|
-
args[_key] = arguments[_key];
|
|
64
|
-
}
|
|
65
|
-
_this = _callSuper(this, WithFlashEmotion, [].concat(args));
|
|
66
|
-
_defineProperty(_this, "toggle", false);
|
|
67
|
-
return _this;
|
|
68
|
-
}
|
|
69
|
-
_inherits(WithFlashEmotion, _React$Component);
|
|
70
|
-
return _createClass(WithFlashEmotion, [{
|
|
71
|
-
key: "render",
|
|
72
|
-
value: function render() {
|
|
73
|
-
var _this$props = this.props,
|
|
74
|
-
animate = _this$props.animate,
|
|
75
|
-
children = _this$props.children;
|
|
76
|
-
this.toggle = animate && !this.toggle;
|
|
77
|
-
return (
|
|
78
|
-
// eslint-disable-next-line @atlaskit/design-system/prefer-primitives
|
|
79
|
-
jsx("div", {
|
|
80
|
-
css: animate ? flashWrapperAnimated : flashWrapper
|
|
81
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
82
|
-
,
|
|
83
|
-
className: this.toggle ? '-flash' : ''
|
|
84
|
-
}, children)
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
}]);
|
|
88
|
-
}(React.Component);
|
|
@@ -1,15 +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 `editor-internal.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { ReactNode } from 'react';
|
|
12
|
-
export declare const EditorInternalContainerEmotion: ({ children, fontSize, }: {
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
fontSize?: number;
|
|
15
|
-
}) => React.JSX.Element;
|
|
@@ -1,12 +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 `index.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { HTMLAttributes } from 'react';
|
|
12
|
-
export declare const ClickAreaBlockContainerEmotion: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
-
* Used via `componentWithCondition` in `Chromeless.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import React from 'react';
|
|
12
|
-
import type { HTMLAttributes } from 'react';
|
|
13
|
-
export interface ChromelessEditorContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
14
|
-
containerRef?: (ref: HTMLElement | null) => void;
|
|
15
|
-
maxHeight?: number;
|
|
16
|
-
minHeight: number;
|
|
17
|
-
}
|
|
18
|
-
export declare const ChromelessEditorContainerCompiled: ({ children, containerRef, maxHeight, minHeight, }: ChromelessEditorContainerProps) => React.JSX.Element;
|
|
@@ -1,18 +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 `Chromeless.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { HTMLAttributes } from 'react';
|
|
12
|
-
import { jsx } from '@emotion/react';
|
|
13
|
-
export interface ChromelessEditorContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
14
|
-
containerRef?: (ref: HTMLElement | null) => void;
|
|
15
|
-
maxHeight?: number;
|
|
16
|
-
minHeight: number;
|
|
17
|
-
}
|
|
18
|
-
export declare const ChromelessEditorContainerEmotion: ({ children, containerRef, maxHeight, minHeight, ...rest }: ChromelessEditorContainerProps) => jsx.JSX.Element;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
-
* Used via `componentWithCondition` in `Comment.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import React from 'react';
|
|
12
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
13
|
-
import type { BlockMenuPlugin } from '@atlaskit/editor-plugin-block-menu';
|
|
14
|
-
import type { MaxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
15
|
-
import type { MediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
16
|
-
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugins/primary-toolbar';
|
|
17
|
-
import type { ToolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
18
|
-
import type { EditorAppearanceComponentProps } from '../../../types/editor-appearance-component';
|
|
19
|
-
type ComponentProps = EditorAppearanceComponentProps<[
|
|
20
|
-
OptionalPlugin<MediaPlugin>,
|
|
21
|
-
OptionalPlugin<MaxContentSizePlugin>,
|
|
22
|
-
OptionalPlugin<PrimaryToolbarPlugin>,
|
|
23
|
-
OptionalPlugin<ToolbarPlugin>,
|
|
24
|
-
OptionalPlugin<BlockMenuPlugin>
|
|
25
|
-
]>;
|
|
26
|
-
export declare const CommentEditorWithIntlCompiled: {
|
|
27
|
-
(props: ComponentProps): React.JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
30
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { BlockMenuPlugin } from '@atlaskit/editor-plugin-block-menu';
|
|
4
|
-
import type { MaxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
5
|
-
import type { MediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
6
|
-
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugins/primary-toolbar';
|
|
7
|
-
import type { ToolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
8
|
-
import type { EditorAppearanceComponentProps } from '../../../types/editor-appearance-component';
|
|
9
|
-
type ComponentProps = EditorAppearanceComponentProps<[
|
|
10
|
-
OptionalPlugin<MediaPlugin>,
|
|
11
|
-
OptionalPlugin<MaxContentSizePlugin>,
|
|
12
|
-
OptionalPlugin<PrimaryToolbarPlugin>,
|
|
13
|
-
OptionalPlugin<ToolbarPlugin>,
|
|
14
|
-
OptionalPlugin<BlockMenuPlugin>
|
|
15
|
-
]>;
|
|
16
|
-
export declare const CommentEditorWithIntlEmotion: {
|
|
17
|
-
(props: ComponentProps): jsx.JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
20
|
-
export {};
|
|
@@ -1,19 +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 `Toolbar.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { ReactNode } from 'react';
|
|
12
|
-
type FixedToolbarEmotionProps = {
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
isEditorModernisationEnabled?: boolean;
|
|
15
|
-
isNewToolbarEnabled?: boolean;
|
|
16
|
-
twoLineEditorToolbar?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare const FixedToolbarEmotion: (props: FixedToolbarEmotionProps) => JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,21 +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 `Toolbar.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { ReactNode, RefObject } from 'react';
|
|
12
|
-
type StickyToolbarEmotionProps = {
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
externalToolbarRef?: RefObject<HTMLElement>;
|
|
15
|
-
isEditorModernisationEnabled?: boolean;
|
|
16
|
-
isNewToolbarEnabled?: boolean;
|
|
17
|
-
offsetTop?: number;
|
|
18
|
-
twoLineEditorToolbar?: boolean;
|
|
19
|
-
};
|
|
20
|
-
export declare const StickyToolbarEmotion: (props: StickyToolbarEmotionProps) => JSX.Element;
|
|
21
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
-
* Used via `componentWithCondition` in `BeforeWrapper.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { ReactElement } from 'react';
|
|
12
|
-
type ReactComponents = ReactElement | ReactElement[];
|
|
13
|
-
export declare const BeforePrimaryToolbarWrapperCompiled: (props: {
|
|
14
|
-
beforePrimaryToolbarComponents: ReactComponents | undefined;
|
|
15
|
-
}) => React.JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,16 +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 `BeforeWrapper.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { ReactElement } from 'react';
|
|
12
|
-
type ReactComponents = ReactElement | ReactElement[];
|
|
13
|
-
export declare const BeforePrimaryToolbarWrapperEmotion: (props: {
|
|
14
|
-
beforePrimaryToolbarComponents: ReactComponents | undefined;
|
|
15
|
-
}) => React.JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { ChildWrapperProps } from './CustomToolbarWrapper';
|
|
2
|
-
export declare const MainToolbarForFirstChildWrapperCompiled: ({ twoLineEditorToolbar, children, role, 'aria-label': ariaLabel, 'data-testid': testId, }: ChildWrapperProps) => React.JSX.Element;
|
|
3
|
-
export declare const MainToolbarForSecondChildWrapperCompiled: ({ twoLineEditorToolbar, children, role, 'aria-label': ariaLabel, 'data-testid': testId, }: ChildWrapperProps) => React.JSX.Element;
|
|
@@ -1,14 +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 `CustomToolbarWrapper.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import React from 'react';
|
|
12
|
-
import type { ChildWrapperProps } from './CustomToolbarWrapper';
|
|
13
|
-
export declare const MainToolbarForFirstChildWrapperEmotion: ({ twoLineEditorToolbar, children, role, 'aria-label': ariaLabel, 'data-testid': testId, }: ChildWrapperProps) => React.JSX.Element;
|
|
14
|
-
export declare const MainToolbarForSecondChildWrapperEmotion: ({ twoLineEditorToolbar, children, role, 'aria-label': ariaLabel, 'data-testid': testId, }: ChildWrapperProps) => React.JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface FullPageEditorWrapperProps {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
className?: string;
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
}
|
|
6
|
-
export declare const FullPageEditorWrapperEmotion: React.ForwardRefExoticComponent<FullPageEditorWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import type { ReactElement } from 'react';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
8
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
|
-
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
-
import type { EditorAppearance, EditorContentMode, FeatureFlags, OptionalPlugin, PublicPluginAPI, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
12
|
-
import type { BasePlugin } from '@atlaskit/editor-plugins/base';
|
|
13
|
-
import type { BlockMenuPlugin } from '@atlaskit/editor-plugins/block-menu';
|
|
14
|
-
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
15
|
-
import type { ViewMode } from '@atlaskit/editor-plugins/editor-viewmode';
|
|
16
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
17
|
-
import type EditorActions from '../../../actions';
|
|
18
|
-
import type { ContentComponents, ReactComponents } from '../../../types/editor-props';
|
|
19
|
-
import type { MarkdownModePlugin } from '../../../types/markdown-mode';
|
|
20
|
-
import type { ScrollContainerRefs } from './types';
|
|
21
|
-
type EditorAPI = PublicPluginAPI<[
|
|
22
|
-
OptionalPlugin<ContextPanelPlugin>,
|
|
23
|
-
BasePlugin,
|
|
24
|
-
OptionalPlugin<BlockMenuPlugin>,
|
|
25
|
-
OptionalPlugin<MarkdownModePlugin>
|
|
26
|
-
]>;
|
|
27
|
-
interface FullPageEditorContentAreaProps {
|
|
28
|
-
appearance: EditorAppearance | undefined;
|
|
29
|
-
contentComponents: UIComponentFactory[] | undefined;
|
|
30
|
-
contentMode: EditorContentMode | undefined;
|
|
31
|
-
contextPanel: ReactComponents | undefined;
|
|
32
|
-
customContentComponents: ContentComponents | undefined;
|
|
33
|
-
disabled: boolean | undefined;
|
|
34
|
-
dispatchAnalyticsEvent: DispatchAnalyticsEvent | undefined;
|
|
35
|
-
editorActions: EditorActions | undefined;
|
|
36
|
-
editorAPI: EditorAPI | undefined;
|
|
37
|
-
editorDOMElement: ReactElement;
|
|
38
|
-
editorView: EditorView;
|
|
39
|
-
eventDispatcher: EventDispatcher | undefined;
|
|
40
|
-
featureFlags?: FeatureFlags;
|
|
41
|
-
hasHadInteraction?: boolean;
|
|
42
|
-
isEditorToolbarHidden?: boolean;
|
|
43
|
-
pluginHooks: ReactHookFactory[] | undefined;
|
|
44
|
-
popupsBoundariesElement: HTMLElement | undefined;
|
|
45
|
-
popupsMountPoint: HTMLElement | undefined;
|
|
46
|
-
popupsScrollableElement: HTMLElement | undefined;
|
|
47
|
-
providerFactory: ProviderFactory;
|
|
48
|
-
UNSAFE_containLayout?: boolean;
|
|
49
|
-
viewMode: ViewMode | undefined;
|
|
50
|
-
wrapperElement: HTMLElement | null;
|
|
51
|
-
}
|
|
52
|
-
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
53
|
-
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
54
|
-
export declare const FullPageContentAreaCompiled: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
55
|
-
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>;
|
|
56
|
-
};
|
|
57
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import type { ReactElement } from 'react';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
8
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
|
-
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
-
import type { EditorAppearance, EditorContentMode, FeatureFlags, OptionalPlugin, PublicPluginAPI, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
12
|
-
import type { BasePlugin } from '@atlaskit/editor-plugins/base';
|
|
13
|
-
import type { BlockMenuPlugin } from '@atlaskit/editor-plugins/block-menu';
|
|
14
|
-
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
15
|
-
import type { ViewMode } from '@atlaskit/editor-plugins/editor-viewmode';
|
|
16
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
17
|
-
import type EditorActions from '../../../actions';
|
|
18
|
-
import type { ContentComponents, ReactComponents } from '../../../types/editor-props';
|
|
19
|
-
import type { MarkdownModePlugin } from '../../../types/markdown-mode';
|
|
20
|
-
import type { ScrollContainerRefs } from './types';
|
|
21
|
-
type EditorAPI = PublicPluginAPI<[
|
|
22
|
-
OptionalPlugin<ContextPanelPlugin>,
|
|
23
|
-
BasePlugin,
|
|
24
|
-
OptionalPlugin<BlockMenuPlugin>,
|
|
25
|
-
OptionalPlugin<MarkdownModePlugin>
|
|
26
|
-
]>;
|
|
27
|
-
interface FullPageEditorContentAreaProps {
|
|
28
|
-
appearance: EditorAppearance | undefined;
|
|
29
|
-
contentComponents: UIComponentFactory[] | undefined;
|
|
30
|
-
contentMode: EditorContentMode | undefined;
|
|
31
|
-
contextPanel: ReactComponents | undefined;
|
|
32
|
-
customContentComponents: ContentComponents | undefined;
|
|
33
|
-
disabled: boolean | undefined;
|
|
34
|
-
dispatchAnalyticsEvent: DispatchAnalyticsEvent | undefined;
|
|
35
|
-
editorActions: EditorActions | undefined;
|
|
36
|
-
editorAPI: EditorAPI | undefined;
|
|
37
|
-
editorDOMElement: ReactElement;
|
|
38
|
-
editorView: EditorView;
|
|
39
|
-
eventDispatcher: EventDispatcher | undefined;
|
|
40
|
-
featureFlags?: FeatureFlags;
|
|
41
|
-
hasHadInteraction?: boolean;
|
|
42
|
-
isEditorToolbarHidden?: boolean;
|
|
43
|
-
pluginHooks: ReactHookFactory[] | undefined;
|
|
44
|
-
popupsBoundariesElement: HTMLElement | undefined;
|
|
45
|
-
popupsMountPoint: HTMLElement | undefined;
|
|
46
|
-
popupsScrollableElement: HTMLElement | undefined;
|
|
47
|
-
providerFactory: ProviderFactory;
|
|
48
|
-
UNSAFE_containLayout?: boolean;
|
|
49
|
-
viewMode: ViewMode | undefined;
|
|
50
|
-
wrapperElement: HTMLElement | null;
|
|
51
|
-
}
|
|
52
|
-
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
53
|
-
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
54
|
-
export declare const FullPageContentAreaEmotion: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
55
|
-
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>;
|
|
56
|
-
};
|
|
57
|
-
export {};
|
|
@@ -1,21 +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
|
-
import { jsx } from '@emotion/react';
|
|
13
|
-
export declare const NonCustomToolbarWrapperEmotion: ({ children, }: {
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
}) => jsx.JSX.Element;
|
|
16
|
-
export declare const CustomToolbarWrapperEmotion: ({ children, }: {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
}) => jsx.JSX.Element;
|
|
19
|
-
export declare const MainToolbarIconBeforeEmotion: ({ children, }: {
|
|
20
|
-
children: React.ReactNode;
|
|
21
|
-
}) => jsx.JSX.Element;
|