@atlaskit/editor-core 221.3.2 → 221.3.3

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/ui/Appearance/Comment/Comment.js +344 -6
  3. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +402 -10
  4. package/dist/cjs/version-wrapper.js +1 -1
  5. package/dist/es2019/ui/Appearance/Comment/Comment.js +337 -4
  6. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +400 -8
  7. package/dist/es2019/version-wrapper.js +1 -1
  8. package/dist/esm/ui/Appearance/Comment/Comment.js +339 -6
  9. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +398 -10
  10. package/dist/esm/version-wrapper.js +1 -1
  11. package/dist/types/ui/Appearance/Comment/Comment.d.ts +20 -2
  12. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +54 -6
  13. package/package.json +3 -3
  14. package/dist/cjs/ui/Appearance/Comment/Comment-compiled.compiled.css +0 -30
  15. package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +0 -275
  16. package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +0 -357
  17. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -96
  18. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -190
  19. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -413
  20. package/dist/es2019/ui/Appearance/Comment/Comment-compiled.compiled.css +0 -30
  21. package/dist/es2019/ui/Appearance/Comment/Comment-compiled.js +0 -262
  22. package/dist/es2019/ui/Appearance/Comment/Comment-emotion.js +0 -344
  23. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -96
  24. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -179
  25. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -405
  26. package/dist/esm/ui/Appearance/Comment/Comment-compiled.compiled.css +0 -30
  27. package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +0 -268
  28. package/dist/esm/ui/Appearance/Comment/Comment-emotion.js +0 -346
  29. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -96
  30. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -183
  31. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -403
  32. package/dist/types/ui/Appearance/Comment/Comment-compiled.d.ts +0 -30
  33. package/dist/types/ui/Appearance/Comment/Comment-emotion.d.ts +0 -20
  34. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-compiled.d.ts +0 -56
  35. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-emotion.d.ts +0 -56
@@ -1,96 +0,0 @@
1
-
2
- ._v5641fxv{transition:max-width .5s cubic-bezier(.15,1,.3,1)}
3
- ._v5642kub{transition:padding 0ms cubic-bezier(.15,1,.3,1)}._11bl1txw >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{display:flex}
4
- ._12glglyw[data-markdown-mode-hide-prosemirror=true]>.ak-editor-content-area>.ProseMirror{display:none}
5
- ._13jk1txw >.ak-editor-content-area{display:flex}
6
- ._13svglyw .ProseMirror>ol:not([data-node-type=actionList]):not([data-node-type=decisionList]){clear:none}
7
- ._13t61wug >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{flex-basis:auto}
8
- ._142emslj .fabric-editor--full-width-mode .code-block{max-width:calc(100% - 4px)}
9
- ._1593idpf >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{min-height:0}
10
- ._16jlkb7n{flex-grow:1}
11
- ._17q71osq .fabric-editor--full-width-mode .extension-container.inline{max-width:100%}
12
- ._18q6usvi .ProseMirror{box-sizing:border-box}
13
- ._18u01wug{margin-left:auto}
14
- ._18u0idpf{margin-left:0}
15
- ._19bv1ex1{padding-left:52px}
16
- ._19bvidpf{padding-left:0}
17
- ._19bvt9kd{padding-left:72px}
18
- ._19pk1wug{margin-top:auto}
19
- ._19pkidpf{margin-top:0}
20
- ._19pknm9q{margin-top:calc(var(--ds-space-500, 40px) + 1px)}
21
- ._1a1d1osq >.ak-editor-content-area{height:100%}
22
- ._1b7c1kw7 .fabric-editor--full-width-mode td .extension-container.inline{max-width:inherit}
23
- ._1bsb1osq{width:100%}
24
- ._1e0c1txw{display:flex}
25
- ._1e0cglyw{display:none}
26
- ._1e8kkb7n >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{flex-grow:1}
27
- ._1f38dez1{container-name:editor-area}
28
- ._1gl01ejb .ProseMirror>p:last-child{margin-bottom:var(--ds-space-300,24px)}
29
- ._1k8i1osq .ProseMirror .pm-table-wrapper>table{width:100%}
30
- ._1n5qidpf >.ak-editor-content-area{padding-left:0}
31
- ._1nw4glyw .ProseMirror>h1{clear:none}
32
- ._1qzyglyw .ProseMirror>h3{clear:none}
33
- ._1rnyglyw .ProseMirror>h5{clear:none}
34
- ._1tb2idpf .ProseMirror .pm-table-wrapper>table{margin-left:0}
35
- ._1ul9idpf{min-width:0}
36
- ._1vbxidpf >.ak-editor-content-area{min-height:0}
37
- ._1wpzesu3{align-self:flex-end}
38
- ._1wrrusvi >.ak-editor-content-area{box-sizing:border-box}
39
- ._1wxymslj .fabric-editor--full-width-mode .extension-container{max-width:calc(100% - 4px)}
40
- ._1xouidpf >.ak-editor-content-area{min-width:0}
41
- ._2hwx1wug{margin-right:auto}
42
- ._2hwxidpf{margin-right:0}
43
- ._2lx21bp4{flex-direction:column}
44
- ._2lx2vrvc{flex-direction:row}
45
- ._4t3i1ap5{height:calc(100% - 105px)}
46
- ._4t3i1osq{height:100%}
47
- ._4t3ibhu0{height:calc(100% - var(--ak-editor-fullpage-toolbar-height))}
48
- ._4tbp1osq >.ak-editor-content-area{width:100%}
49
- ._71ybidpf >.ak-editor-content-area{padding-right:0}
50
- ._7cca15wb{container-type:inline-size}
51
- ._7uc0glyw .ProseMirror>ul{clear:none}
52
- ._8j6w1lxk.ak-editor-content-area-no-toolbar{height:calc(100% + 1px)}
53
- ._8vye1n1a .ProseMirror .pm-table-wrapper>table{margin-right:-1px}
54
- ._9dtbmslj .fabric-editor--full-width-mode .multiBodiedExtension--container{max-width:calc(100% - 4px)}
55
- ._amwgglyw[data-markdown-mode-hide-scroll-gutter=true]>.ak-editor-content-area>[data-vc=scroll-gutter]{display:none}
56
- ._bfhkhfxm{background-color:var(--ds-surface-sunken,#f8f8f8)}
57
- ._boivkb7n >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{flex-shrink:1}
58
- ._ca0qidpf{padding-top:0}
59
- ._ca0qoahv{padding-top:var(--ds-space-600,3pc)}
60
- ._ca0qxy5q{padding-top:var(--ds-space-400,2pc)}
61
- ._evz0idpf >.ak-editor-content-area{padding-bottom:0}
62
- ._fh67idpf >.ak-editor-content-area{padding-top:0}
63
- ._i92uagmp .fabric-editor--full-width-mode:not(:has(#chromeless-editor)) .fabric-editor-breakout-mark{transform:none!important}
64
- ._j9k7kb7n .ProseMirror{flex-grow:1}
65
- ._l4a11hrf .ProseMirror>*{clear:both}
66
- ._li931osq >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{width:100%}
67
- ._n3tdidpf{padding-bottom:0}
68
- ._n3tdoahv{padding-bottom:var(--ds-space-600,3pc)}
69
- ._njlp131u{contain:layout style inline-size}
70
- ._ongaglyw .ProseMirror>h4{clear:none}
71
- ._otyr1wug{margin-bottom:auto}
72
- ._otyridpf{margin-bottom:0}
73
- ._p12f5kin{max-width:var(--ak-editor-content-area-max-width)}
74
- ._p12fglyw{max-width:none}
75
- ._pnffaq80 .fabric-editor--full-width-mode:not(:has(#chromeless-editor)) .fabric-editor-breakout-mark{width:100%!important}
76
- ._q0l01bp4 >.ak-editor-content-area{flex-direction:column}
77
- ._qgzyidpf >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{min-width:0}
78
- ._qkfz261p .fabric-editor--full-width-mode:not(:has(#chromeless-editor)) .fabric-editor-breakout-mark{margin-left:unset!important}
79
- ._t2fzglyw .ProseMirror>p{clear:none}
80
- ._tynl4diq .fabric-editor--full-width-mode [data-layout-section]{max-width:calc(100% + 40px)}
81
- ._tynlfknx .fabric-editor--full-width-mode [data-layout-section]{max-width:calc(100% + 24px)}
82
- ._u5f31ex1{padding-right:52px}
83
- ._u5f3idpf{padding-right:0}
84
- ._u5f3t9kd{padding-right:72px}
85
- ._vchhusvi{box-sizing:border-box}
86
- ._vtulglyw .ProseMirror>h6{clear:none}
87
- ._vwz41tcg{line-height:24px}
88
- ._xpemaq80 .fabric-editor--full-width-mode:not(:has(#chromeless-editor)) .extension-container.block{width:100%!important}
89
- ._yq1qglyw .ProseMirror>h2{clear:none}
90
- ._zr7faq80 .fabric-editor--full-width-mode:not(:has(#chromeless-editor)) .pm-table-container{width:100%!important}
91
- .ak-editor-content-area-no-toolbar ._1uizkqmb{padding-top:calc(var(--ds-space-600, 3pc) + var(--ak-editor-fullpage-toolbar-height) + 1px)}
92
- .extension-editable-area ._13hh1y6m{align-self:flex-start}
93
- .extension-editable-area ._1hgw1wug{height:auto}
94
- .extension-editable-area ._1t1q1if8{position:sticky}
95
- .extension-editable-area ._uj9widpf{top:0}
96
- @container editor-area (max-width: 600px){._1d7gidpf{padding-top:0}._n2nw1tcg{padding-right:24px}._d329idpf{padding-bottom:0}._105p1tcg{padding-left:24px}}
@@ -1,183 +0,0 @@
1
- /* FullPageContentArea-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
- import "./FullPageContentArea-compiled.compiled.css";
3
- import { ax, ix } from "@compiled/react/runtime";
4
- import React, { useImperativeHandle, useRef } from 'react';
5
- import classnames from 'classnames';
6
- import { injectIntl } from 'react-intl';
7
- import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
8
- import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
9
- import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
12
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
13
-
14
- // Ignored via go/ees005
15
- // eslint-disable-next-line import/no-named-as-default
16
-
17
- import { ClickAreaBlock } from '../../Addon/ClickAreaBlock';
18
- import { contentComponentClickWrapper } from '../../Addon/ClickAreaBlock/contentComponentWrapper';
19
- import { ContextPanel } from '../../ContextPanel';
20
- import EditorContentContainer from '../../EditorContentContainer/EditorContentContainer';
21
- import PluginSlot from '../../PluginSlot';
22
- import { contentAreaWrapper, sidebarArea } from './StyledComponents';
23
- var akEditorFullWidthLayoutWidth = 1800;
24
- var akEditorUltraWideLayoutWidth = 4000;
25
- var akEditorSwoopCubicBezier = "cubic-bezier(0.15, 1, 0.3, 1)";
26
- var tableMarginFullWidthMode = 2;
27
- var akLayoutGutterOffset = 12;
28
- var SWOOP_ANIMATION = "0.5s ".concat(akEditorSwoopCubicBezier);
29
- var AK_NESTED_DND_GUTTER_OFFSET = 8;
30
- var getTotalPadding = function getTotalPadding() {
31
- return akEditorGutterPaddingDynamic() * 2;
32
- };
33
- var compiledStyles = {
34
- editorContentAreaProsemirrorStyle: "_j9k7kb7n _18q6usvi _l4a11hrf _1nw4glyw _yq1qglyw _1qzyglyw _ongaglyw _1rnyglyw _vtulglyw _13svglyw _t2fzglyw _7uc0glyw _1gl01ejb",
35
- hideEditorContentAreaProsemirrorWithAttributeStyle: "_12glglyw",
36
- hideEditorContentAreaScrollGutterWithAttributeStyle: "_amwgglyw",
37
- hideEditorScrollGutterStyle: "_1e0cglyw",
38
- fullWidthNonChromelessBreakoutBlockTableStyle: "_xpemaq80 _pnffaq80 _zr7faq80 _qkfz261p _i92uagmp",
39
- contentAreaReservedPrimaryToolbarSpace: "_19pknm9q",
40
- contentAreaReducedHeaderSpace: "_ca0qxy5q",
41
- editorContentAreaNew: "_19pk1wug _2hwx1wug _otyr1wug _18u01wug _v5641fxv _vwz41tcg _ca0qoahv _n3tdoahv _4t3i1ap5 _1bsb1osq _2lx21bp4 _16jlkb7n _p12f5kin _1uizkqmb",
42
- tableFullPageEditorStylesNew: "_1tb2idpf _8vye1n1a _1k8i1osq",
43
- editorContentAreaContainerNestedDndStyle: "_tynl4diq",
44
- editorContentAreaContainerStyleExcludeCodeBlockNew: "_1wxymslj _9dtbmslj _17q71osq _1b7c1kw7 _tynlfknx",
45
- editorContentAreaContainerStyleNew: "_142emslj _1wxymslj _9dtbmslj _17q71osq _1b7c1kw7 _tynlfknx",
46
- editorContentGutterStyleFG: "_ca0qidpf _u5f3t9kd _n3tdidpf _19bvt9kd",
47
- editorContentGutterStyles: "_ca0qidpf _u5f31ex1 _n3tdidpf _19bv1ex1 _vchhusvi",
48
- editorContentReducedGutterStyles: "_1d7gidpf _n2nw1tcg _d329idpf _105p1tcg",
49
- contentAreaNew: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _v5642kub _1e0c1txw _2lx2vrvc _4t3ibhu0 _vchhusvi _8j6w1lxk",
50
- contentAreaHeightNoToolbar: "_4t3i1osq",
51
- markdownModeContainerBackgroundStyle: "_bfhkhfxm",
52
- markdownModeContentAreaStyle: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _vchhusvi _4t3i1osq _p12fglyw _1ul9idpf _n3tdidpf _ca0qidpf _1bsb1osq _fh67idpf _71ybidpf _evz0idpf _1n5qidpf _1wrrusvi _13jk1txw _q0l01bp4 _1a1d1osq _1vbxidpf _1xouidpf _4tbp1osq _1e8kkb7n _boivkb7n _13t61wug _11bl1txw _1593idpf _qgzyidpf _li931osq"
53
- };
54
- export var CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
55
- // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
56
- export var EDITOR_CONTAINER = 'ak-editor-container';
57
- var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
58
- var _props$editorAPI, _props$editorAPI$bloc, _props$editorAPI2, _contentAreaRef$curre, _allowScrollGutter$gu, _allowScrollGutter$gu2;
59
- var fullWidthMode = props.appearance === 'full-width';
60
- var maxWidthMode = props.appearance === 'max';
61
- var scrollContainerRef = useRef(null);
62
- var contentAreaRef = useRef(null);
63
- var containerRef = useRef(null);
64
- 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;
65
- var contentAreaMaxWidth = getTotalPadding() + (!fullWidthMode ? maxWidthMode ? akEditorUltraWideLayoutWidth : akEditorDefaultLayoutWidth : akEditorFullWidthLayoutWidth);
66
-
67
- // Get useStandardNodeWidth from block menu plugin shared state
68
- // Only access editorAPI when the experiment is enabled to avoid performance impact
69
- 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);
70
- useImperativeHandle(ref, function () {
71
- return {
72
- get scrollContainer() {
73
- return scrollContainerRef.current;
74
- },
75
- get contentArea() {
76
- return contentAreaRef.current;
77
- },
78
- get containerArea() {
79
- return containerRef.current;
80
- }
81
- };
82
- }, []);
83
- var markdownPluginCurrentView = useSharedPluginStateWithSelector(props.editorAPI, ['markdownMode'], function (states) {
84
- var _states$markdownModeS;
85
- return (_states$markdownModeS = states.markdownModeState) === null || _states$markdownModeS === void 0 ? void 0 : _states$markdownModeS.view;
86
- });
87
- var markdownPluginCurrentIsMarkdownMode = useSharedPluginStateWithSelector(props.editorAPI, ['markdownMode'], function (states) {
88
- var _states$markdownModeS2;
89
- return (_states$markdownModeS2 = states.markdownModeState) === null || _states$markdownModeS2 === void 0 ? void 0 : _states$markdownModeS2.isMarkdownMode;
90
- });
91
- var isMarkdownModeExperimentEnabled = expValEqualsNoExposure('cc-markdown-mode', 'isEnabled', true);
92
- var shouldHideProseMirrorForMarkdownMode = isMarkdownModeExperimentEnabled && markdownPluginCurrentView !== 'preview' && markdownPluginCurrentIsMarkdownMode;
93
- var shouldHideScrollGutterForMarkdownMode = isMarkdownModeExperimentEnabled && markdownPluginCurrentIsMarkdownMode;
94
- var shouldUseMarkdownModeMvpLayout = shouldHideProseMirrorForMarkdownMode && fg('platform_editor_md_mvp_layout');
95
- return /*#__PURE__*/React.createElement("div", {
96
- "data-testid": CONTENT_AREA_TEST_ID,
97
- ref: containerRef,
98
- className: ax([compiledStyles.contentAreaNew, props.isEditorToolbarHidden && compiledStyles.contentAreaHeightNoToolbar])
99
- }, /*#__PURE__*/React.createElement("div", {
100
- "data-testid": EDITOR_CONTAINER,
101
- "data-editor-container": 'true',
102
- className: ax(["_1bsb1osq _7cca15wb _1f38dez1 _njlp131u", shouldUseMarkdownModeMvpLayout && compiledStyles.markdownModeContainerBackgroundStyle])
103
- }, /*#__PURE__*/React.createElement(EditorContentContainer
104
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
105
- , {
106
- className: "fabric-editor-popup-scroll-parent",
107
- featureFlags: props.featureFlags,
108
- ref: scrollContainerRef,
109
- viewMode: props === null || props === void 0 ? void 0 : props.viewMode,
110
- isScrollable: true,
111
- appearance: props.appearance,
112
- contentMode: props.contentMode,
113
- useStandardNodeWidth: useStandardNodeWidth
114
- }, /*#__PURE__*/React.createElement(ClickAreaBlock, {
115
- editorView: props.editorView,
116
- editorDisabled: props.disabled
117
- }, /*#__PURE__*/React.createElement("div", {
118
- "data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode ? 'true' : undefined,
119
- "data-markdown-mode-hide-scroll-gutter": shouldHideScrollGutterForMarkdownMode ? 'true' : undefined,
120
- style: {
121
- '--ak-editor-content-area-max-width': "".concat(contentAreaMaxWidth, "px")
122
- }
123
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
124
- ,
125
- className: ax([compiledStyles.editorContentAreaNew, compiledStyles.editorContentAreaProsemirrorStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorContentAreaScrollGutterWithAttributeStyle, shouldUseMarkdownModeMvpLayout && compiledStyles.markdownModeContentAreaStyle, compiledStyles.tableFullPageEditorStylesNew, compiledStyles.fullWidthNonChromelessBreakoutBlockTableStyle, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? compiledStyles.editorContentAreaContainerStyleExcludeCodeBlockNew : compiledStyles.editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && compiledStyles.editorContentAreaContainerNestedDndStyle, !fg('platform_editor_controls_no_toolbar_space') && editorExperiment('platform_editor_controls', 'variant1') && compiledStyles.contentAreaReducedHeaderSpace, !fg('platform_editor_controls_no_toolbar_space') && props.isEditorToolbarHidden && editorExperiment('platform_editor_controls', 'variant1') && compiledStyles.contentAreaReservedPrimaryToolbarSpace, "ak-editor-content-area-region"]),
126
- "data-editor-editable-content": true,
127
- role: "region",
128
- "aria-label": props.intl.formatMessage(messages.editableContentLabel),
129
- ref: contentAreaRef,
130
- "data-vc": "editor-content-area-region"
131
- }, /*#__PURE__*/React.createElement("div", {
132
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
133
- className: ax([compiledStyles.editorContentGutterStyles, fg('platform_editor_controls_increase_full_page_gutter') && editorExperiment('platform_editor_controls', 'variant1') && compiledStyles.editorContentGutterStyleFG, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
134
- exposure: true
135
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
136
- }) && compiledStyles.editorContentReducedGutterStyles, classnames('ak-editor-content-area', 'appearance-full-page', {
137
- 'fabric-editor--full-width-mode': fullWidthMode,
138
- 'fabric-editor--max-width-mode': Boolean(maxWidthMode)
139
- })]),
140
- ref: contentAreaRef
141
- }, !!props.customContentComponents && 'before' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.before) : contentComponentClickWrapper(props.customContentComponents), /*#__PURE__*/React.createElement(PluginSlot, {
142
- editorView: props.editorView,
143
- editorActions: props.editorActions,
144
- eventDispatcher: props.eventDispatcher,
145
- providerFactory: props.providerFactory,
146
- appearance: props.appearance,
147
- items: props.contentComponents,
148
- pluginHooks: props.pluginHooks,
149
- contentArea: (_contentAreaRef$curre = contentAreaRef.current) !== null && _contentAreaRef$curre !== void 0 ? _contentAreaRef$curre : undefined,
150
- popupsMountPoint: props.popupsMountPoint,
151
- popupsBoundariesElement: props.popupsBoundariesElement,
152
- popupsScrollableElement: props.popupsScrollableElement,
153
- disabled: !!props.disabled,
154
- containerElement: scrollContainerRef.current,
155
- dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
156
- wrapperElement: props.wrapperElement
157
- }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.after) : null, allowScrollGutter && (editorExperiment('platform_editor_blocks', true) ? /*#__PURE__*/React.createElement("div", {
158
- id: "editor-scroll-gutter",
159
- style: {
160
- paddingBottom: "".concat((_allowScrollGutter$gu = allowScrollGutter.gutterSize) !== null && _allowScrollGutter$gu !== void 0 ? _allowScrollGutter$gu : '120', "px")
161
- },
162
- "data-vc": "scroll-gutter",
163
- "data-editor-scroll-gutter": "true",
164
- className: ax([shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorScrollGutterStyle])
165
- }) : /*#__PURE__*/React.createElement("div", {
166
- id: "editor-scroll-gutter",
167
- style: {
168
- paddingBottom: "".concat((_allowScrollGutter$gu2 = allowScrollGutter.gutterSize) !== null && _allowScrollGutter$gu2 !== void 0 ? _allowScrollGutter$gu2 : '120', "px")
169
- },
170
- "data-vc": "scroll-gutter",
171
- className: ax([shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorScrollGutterStyle])
172
- }))))))), /*#__PURE__*/React.createElement("div", {
173
- className: ax(["_4t3i1osq _vchhusvi _1wpzesu3 _1hgw1wug _1t1q1if8 _uj9widpf _13hh1y6m"])
174
- }, props.contextPanel || /*#__PURE__*/React.createElement(ContextPanel, {
175
- editorAPI: props.editorAPI,
176
- visible: false
177
- })));
178
- });
179
-
180
- // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
181
- export var FullPageContentAreaCompiled = injectIntl(Content, {
182
- forwardRef: true
183
- });