@atlaskit/editor-core 197.5.1 → 197.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 197.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#138334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138334)
8
+ [`5bc7950824d2d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5bc7950824d2d) -
9
+ Removing dangerous and deprecated internal API
10
+
11
+ ## 197.5.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#139334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139334)
16
+ [`30793649657c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30793649657c0) -
17
+ [HOT-111629] We had an incident where the last character disappears when hitting the enter key on
18
+ windows OS for Korean characters. Bumping to prosemirror-view@1.34.2 for the fix.
19
+ - [#137474](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137474)
20
+ [`7ca1c34ebf2d5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7ca1c34ebf2d5) -
21
+ make breakout to use css to fix SSR issue on live edit page
22
+
3
23
  ## 197.5.1
4
24
 
5
25
  ### Patch Changes
@@ -12,7 +12,6 @@ var _react = require("react");
12
12
  var _react2 = require("@emotion/react");
13
13
  var _analytics = require("@atlaskit/editor-common/analytics");
14
14
  var _portal = require("@atlaskit/editor-common/portal");
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
15
  var _ErrorBoundary = _interopRequireDefault(require("../create-editor/ErrorBoundary"));
17
16
  var _featureFlagsFromProps = require("../create-editor/feature-flags-from-props");
18
17
  var _ReactEditorView = _interopRequireDefault(require("../create-editor/ReactEditorView"));
@@ -51,16 +50,6 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
51
50
  onEditorDestroyed = _ref.onEditorDestroyed,
52
51
  preset = _ref.preset,
53
52
  AppearanceComponent = _ref.AppearanceComponent;
54
- var setEditorApi = (0, _react.useCallback)(
55
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
56
- function (api) {
57
- if (!(0, _platformFeatureFlags.fg)('platform_editor_remove_editor_actions_workaround')) {
58
- // This is an workaround to unblock Editor Lego Decoupling project, if you have questions ping us #cc-editor-lego
59
- // We may clean up this code when EditorActions deprecation process starts
60
- // @ts-expect-error 2339: Property '__EDITOR_INTERNALS_DO_NOT_USE__API' does not exist on type 'EditorActions<any>'.
61
- editorActions.__EDITOR_INTERNALS_DO_NOT_USE__API = api;
62
- }
63
- }, [editorActions]);
64
53
  var overriddenEditorProps = _objectSpread(_objectSpread({}, props), {}, {
65
54
  onSave: props.onSave ? handleSave : undefined,
66
55
  // noop all analytic events, even if a handler is still passed.
@@ -104,7 +93,6 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
104
93
  onEditorDestroyed: onEditorDestroyed,
105
94
  disabled: props.disabled,
106
95
  preset: preset,
107
- setEditorApi: setEditorApi,
108
96
  render: function render(_ref2) {
109
97
  var _props$featureFlags, _props$featureFlags2;
110
98
  var editor = _ref2.editor,
@@ -155,7 +143,6 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
155
143
  function ReactEditorViewContextWrapper(props) {
156
144
  var _props$editorProps$me, _props$editorProps$li;
157
145
  var setInternalEditorAPI = (0, _context.useSetPresetContext)();
158
- var setExternalEditorAPI = props.setEditorApi;
159
146
 
160
147
  /**
161
148
  * We use the context to retrieve the editorAPI
@@ -169,8 +156,7 @@ function ReactEditorViewContextWrapper(props) {
169
156
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
170
157
  function (api) {
171
158
  setInternalEditorAPI === null || setInternalEditorAPI === void 0 || setInternalEditorAPI(api);
172
- setExternalEditorAPI === null || setExternalEditorAPI === void 0 || setExternalEditorAPI(api);
173
- }, [setInternalEditorAPI, setExternalEditorAPI]);
159
+ }, [setInternalEditorAPI]);
174
160
 
175
161
  // TODO: Remove these when we deprecate these props from editor-props - smartLinks is unfortunately still used in some places, we can sidestep this problem if we move everyone across to ComposableEditor and deprecate Editor
176
162
  var UNSAFE_cards = props.editorProps.UNSAFE_cards;
@@ -30,7 +30,6 @@ var _ufo = require("@atlaskit/editor-common/ufo");
30
30
  var _analytics2 = require("@atlaskit/editor-common/utils/analytics");
31
31
  var _state2 = require("@atlaskit/editor-prosemirror/state");
32
32
  var _view = require("@atlaskit/editor-prosemirror/view");
33
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
34
33
  var _eventDispatcher = require("../event-dispatcher");
35
34
  var _context = require("../presets/context");
36
35
  var _findChangedNodesFromTransaction = require("../utils/findChangedNodesFromTransaction");
@@ -558,10 +557,6 @@ var ReactEditorView = exports.ReactEditorView = /*#__PURE__*/function (_React$Co
558
557
  });
559
558
  var _api = _this.pluginInjectionAPI.api();
560
559
  (_props$setEditorApi = props.setEditorApi) === null || _props$setEditorApi === void 0 || _props$setEditorApi.call(props, _api);
561
- if (props.editorProps.editorActions && !(0, _platformFeatureFlags.fg)('platform_editor_remove_editor_actions_workaround')) {
562
- // @ts-expect-error
563
- props.editorProps.editorActions.__EDITOR_INTERNALS_DO_NOT_USE__API = _api;
564
- }
565
560
  _this.eventDispatcher = new _eventDispatcher.EventDispatcher();
566
561
  _this.dispatch = (0, _eventDispatcher.createDispatch)(_this.eventDispatcher);
567
562
  _this.errorReporter = (0, _createEditor.createErrorReporter)(props.editorProps.errorReporterHandler);
@@ -10,6 +10,7 @@ var _react = _interopRequireWildcard(require("react"));
10
10
  var _react2 = require("@emotion/react");
11
11
  var _reactIntlNext = require("react-intl-next");
12
12
  var _messages = require("@atlaskit/editor-common/messages");
13
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
14
  var _Addon = require("../../Addon");
14
15
  var _ContextPanel = require("../../ContextPanel");
15
16
  var _PluginSlot = _interopRequireDefault(require("../../PluginSlot"));
@@ -25,7 +26,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
25
26
 
26
27
  var CONTENT_AREA_TEST_ID = exports.CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
27
28
  var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
28
- var _contentAreaRef$curre;
29
+ var _contentAreaRef$curre, _contentAreaRef$curre2;
29
30
  var theme = (0, _react2.useTheme)();
30
31
  var fullWidthMode = props.appearance === 'full-width';
31
32
  var scrollContainerRef = (0, _react.useRef)(null);
@@ -52,7 +53,7 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
52
53
  props.isEditorToolbarHidden && _StyledComponents.contentAreaHeightNoToolbar],
53
54
  "data-testid": CONTENT_AREA_TEST_ID,
54
55
  ref: containerRef
55
- }, (0, _react2.jsx)(_StyledComponents.ScrollContainer
56
+ }, (0, _platformFeatureFlags.fg)('platform_editor_breakout_use_css') ? (0, _react2.jsx)(_StyledComponents.ScrollContainerNext
56
57
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
57
58
  , {
58
59
  className: "fabric-editor-popup-scroll-parent",
@@ -93,6 +94,47 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
93
94
  containerElement: scrollContainerRef.current,
94
95
  dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
95
96
  wrapperElement: props.wrapperElement
97
+ }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))) : (0, _react2.jsx)(_StyledComponents.ScrollContainer
98
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
99
+ , {
100
+ className: "fabric-editor-popup-scroll-parent",
101
+ featureFlags: props.featureFlags,
102
+ ref: scrollContainerRef
103
+ }, (0, _react2.jsx)(_Addon.ClickAreaBlock, {
104
+ editorView: props.editorView,
105
+ editorDisabled: props.disabled
106
+ }, (0, _react2.jsx)("div", {
107
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
108
+ css: (0, _StyledComponents.editorContentAreaStyle)({
109
+ fullWidthMode: fullWidthMode,
110
+ layoutMaxWidth: theme.layoutMaxWidth
111
+ }),
112
+ role: "region",
113
+ "aria-label": props.intl.formatMessage(_messages.fullPageMessages.editableContentLabel),
114
+ ref: contentAreaRef
115
+ }, (0, _react2.jsx)("div", {
116
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
117
+ css: (0, _StyledComponents.editorContentGutterStyle)()
118
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
119
+ ,
120
+ className: ['ak-editor-content-area', fullWidthMode ? 'fabric-editor--full-width-mode' : ''].join(' '),
121
+ ref: contentAreaRef
122
+ }, !!props.customContentComponents && 'before' in props.customContentComponents ? props.customContentComponents.before : props.customContentComponents, (0, _react2.jsx)(_PluginSlot.default, {
123
+ editorView: props.editorView,
124
+ editorActions: props.editorActions,
125
+ eventDispatcher: props.eventDispatcher,
126
+ providerFactory: props.providerFactory,
127
+ appearance: props.appearance,
128
+ items: props.contentComponents,
129
+ pluginHooks: props.pluginHooks,
130
+ contentArea: (_contentAreaRef$curre2 = contentAreaRef.current) !== null && _contentAreaRef$curre2 !== void 0 ? _contentAreaRef$curre2 : undefined,
131
+ popupsMountPoint: props.popupsMountPoint,
132
+ popupsBoundariesElement: props.popupsBoundariesElement,
133
+ popupsScrollableElement: props.popupsScrollableElement,
134
+ disabled: !!props.disabled,
135
+ containerElement: scrollContainerRef.current,
136
+ dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
137
+ wrapperElement: props.wrapperElement
96
138
  }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))), (0, _react2.jsx)("div", {
97
139
  css: _StyledComponents.sidebarArea
98
140
  }, props.contextPanel || (0, _react2.jsx)(_ContextPanel.ContextPanel, {
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.sidebarArea = exports.fullPageEditorWrapper = exports.editorContentGutterStyle = exports.editorContentAreaStyle = exports.editorContentAreaHideContainer = exports.contentAreaHeightNoToolbar = exports.contentArea = exports.ScrollContainer = void 0;
7
+ exports.sidebarArea = exports.fullPageEditorWrapper = exports.editorContentGutterStyle = exports.editorContentAreaStyle = exports.editorContentAreaHideContainer = exports.contentAreaHeightNoToolbar = exports.contentArea = exports.ScrollContainerNext = exports.ScrollContainer = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _react = require("@emotion/react");
10
10
  var _adfSchema = require("@atlaskit/adf-schema");
@@ -41,10 +41,29 @@ var scrollStyles = (0, _react.css)({
41
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
42
42
  _scrollbar.scrollbarStyles);
43
43
 
44
+ // Added containerType and containerName to enable breakout plugin to calculate the width of the container
45
+ var scrollStylesWitContainerType = (0, _react.css)({
46
+ flexGrow: 1,
47
+ height: '100%',
48
+ overflowY: 'scroll',
49
+ position: 'relative',
50
+ display: 'flex',
51
+ flexDirection: 'column',
52
+ scrollBehavior: 'smooth',
53
+ containerType: 'inline-size',
54
+ containerName: 'editor-area'
55
+ },
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
57
+ _scrollbar.scrollbarStyles);
58
+
44
59
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
45
60
  var ScrollContainer = exports.ScrollContainer = (0, _ContentStyles.createEditorContentStyle)(scrollStyles);
46
61
  ScrollContainer.displayName = 'ScrollContainer';
47
62
 
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
64
+ var ScrollContainerNext = exports.ScrollContainerNext = (0, _ContentStyles.createEditorContentStyle)(scrollStylesWitContainerType);
65
+ ScrollContainerNext.displayName = 'ScrollContainer';
66
+
48
67
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
49
68
  var contentArea = exports.contentArea = function contentArea() {
50
69
  var editorToolbarHeight = (0, _editorSharedStyles.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT)();
@@ -73,8 +73,11 @@ var placeholderStyles = exports.placeholderStyles = (0, _react2.css)({
73
73
  }
74
74
  }
75
75
  });
76
+
77
+ // The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
78
+ var akEditorBreakpointForSmallDevice = "1266px";
76
79
  var contentStyles = function contentStyles(props) {
77
- return (0, _react2.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\tpointer-events: none;\n\t\topacity: 0.7;\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), (0, _editorSharedStyles.editorFontSize)({
80
+ return (0, _react2.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: 52px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (min-width: ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\tpointer-events: none;\n\t\topacity: 0.7;\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), _editorSharedStyles.akEditorGutterPadding, _editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.akEditorFullWidthLayoutWidth, _editorSharedStyles.akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, _editorSharedStyles.akEditorCalculatedWideLayoutWidth, (0, _editorSharedStyles.editorFontSize)({
78
81
  theme: props.theme
79
82
  }), _styles.whitespaceSharedStyles, _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(), listsStyles, ruleStyles(), _media.mediaStyles, (0, _layout.layoutStyles)(props.viewMode), _collab.telepointerStyle, _selection.gapCursorStyles, (0, _panel.panelStyles)(), mentionsStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _status.statusStyles, (0, _styles.annotationSharedStyles)(), (0, _styles.smartCardStyles)(), _styles.smartCardSharedStyles, _date.dateStyles, _styles.embedCardStyles, _styles.unsupportedStyles, _styles.resizerStyles, (0, _aiPanels.aiPanelStyles)(props.colorMode), _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
80
83
  };
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "197.5.1";
8
+ var version = exports.version = "197.5.3";
@@ -9,7 +9,6 @@ import { Fragment, memo, useCallback } from 'react';
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import { ACTION, ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
11
11
  import { usePortalProvider } from '@atlaskit/editor-common/portal';
12
- import { fg } from '@atlaskit/platform-feature-flags';
13
12
  import ErrorBoundary from '../create-editor/ErrorBoundary';
14
13
  import { createFeatureFlagsFromProps } from '../create-editor/feature-flags-from-props';
15
14
  import ReactEditorView from '../create-editor/ReactEditorView';
@@ -44,16 +43,6 @@ export const EditorInternal = /*#__PURE__*/memo(({
44
43
  AppearanceComponent
45
44
  }) => {
46
45
  var _props$performanceTra, _props$performanceTra2, _props$performanceTra3, _props$performanceTra4;
47
- const setEditorApi = useCallback(
48
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
49
- api => {
50
- if (!fg('platform_editor_remove_editor_actions_workaround')) {
51
- // This is an workaround to unblock Editor Lego Decoupling project, if you have questions ping us #cc-editor-lego
52
- // We may clean up this code when EditorActions deprecation process starts
53
- // @ts-expect-error 2339: Property '__EDITOR_INTERNALS_DO_NOT_USE__API' does not exist on type 'EditorActions<any>'.
54
- editorActions.__EDITOR_INTERNALS_DO_NOT_USE__API = api;
55
- }
56
- }, [editorActions]);
57
46
  const overriddenEditorProps = {
58
47
  ...props,
59
48
  onSave: props.onSave ? handleSave : undefined,
@@ -95,7 +84,6 @@ export const EditorInternal = /*#__PURE__*/memo(({
95
84
  onEditorDestroyed: onEditorDestroyed,
96
85
  disabled: props.disabled,
97
86
  preset: preset,
98
- setEditorApi: setEditorApi,
99
87
  render: ({
100
88
  editor,
101
89
  view,
@@ -147,9 +135,6 @@ export const EditorInternal = /*#__PURE__*/memo(({
147
135
  function ReactEditorViewContextWrapper(props) {
148
136
  var _props$editorProps$me, _props$editorProps$li, _props$editorProps$li2;
149
137
  const setInternalEditorAPI = useSetPresetContext();
150
- const {
151
- setEditorApi: setExternalEditorAPI
152
- } = props;
153
138
 
154
139
  /**
155
140
  * We use the context to retrieve the editorAPI
@@ -163,8 +148,7 @@ function ReactEditorViewContextWrapper(props) {
163
148
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
164
149
  api => {
165
150
  setInternalEditorAPI === null || setInternalEditorAPI === void 0 ? void 0 : setInternalEditorAPI(api);
166
- setExternalEditorAPI === null || setExternalEditorAPI === void 0 ? void 0 : setExternalEditorAPI(api);
167
- }, [setInternalEditorAPI, setExternalEditorAPI]);
151
+ }, [setInternalEditorAPI]);
168
152
 
169
153
  // TODO: Remove these when we deprecate these props from editor-props - smartLinks is unfortunately still used in some places, we can sidestep this problem if we move everyone across to ComposableEditor and deprecate Editor
170
154
  const UNSAFE_cards = props.editorProps.UNSAFE_cards;
@@ -16,7 +16,6 @@ import { EditorExperience, ExperienceStore, RELIABILITY_INTERVAL } from '@atlask
16
16
  import { analyticsEventKey, getAnalyticsEventSeverity } from '@atlaskit/editor-common/utils/analytics';
17
17
  import { EditorState, Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
18
18
  import { EditorView } from '@atlaskit/editor-prosemirror/view';
19
- import { fg } from '@atlaskit/platform-feature-flags';
20
19
  import { createDispatch, EventDispatcher } from '../event-dispatcher';
21
20
  import { EditorAPIContext } from '../presets/context';
22
21
  import { findChangedNodesFromTransaction } from '../utils/findChangedNodesFromTransaction';
@@ -557,10 +556,6 @@ export class ReactEditorView extends React.Component {
557
556
  });
558
557
  const _api = this.pluginInjectionAPI.api();
559
558
  (_props$setEditorApi = props.setEditorApi) === null || _props$setEditorApi === void 0 ? void 0 : _props$setEditorApi.call(props, _api);
560
- if (props.editorProps.editorActions && !fg('platform_editor_remove_editor_actions_workaround')) {
561
- // @ts-expect-error
562
- props.editorProps.editorActions.__EDITOR_INTERNALS_DO_NOT_USE__API = _api;
563
- }
564
559
  this.eventDispatcher = new EventDispatcher();
565
560
  this.dispatch = createDispatch(this.eventDispatcher);
566
561
  this.errorReporter = createErrorReporter(props.editorProps.errorReporterHandler);
@@ -9,13 +9,14 @@ import React, { useImperativeHandle, useRef } from 'react';
9
9
  import { jsx, useTheme } from '@emotion/react';
10
10
  import { injectIntl } from 'react-intl-next';
11
11
  import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
12
+ import { fg } from '@atlaskit/platform-feature-flags';
12
13
  import { ClickAreaBlock } from '../../Addon';
13
14
  import { ContextPanel } from '../../ContextPanel';
14
15
  import PluginSlot from '../../PluginSlot';
15
- import { contentArea, contentAreaHeightNoToolbar, editorContentAreaStyle, editorContentGutterStyle, ScrollContainer, sidebarArea } from './StyledComponents';
16
+ import { contentArea, contentAreaHeightNoToolbar, editorContentAreaStyle, editorContentGutterStyle, ScrollContainer, ScrollContainerNext, sidebarArea } from './StyledComponents';
16
17
  export const CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
17
18
  const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
18
- var _contentAreaRef$curre;
19
+ var _contentAreaRef$curre, _contentAreaRef$curre2;
19
20
  const theme = useTheme();
20
21
  const fullWidthMode = props.appearance === 'full-width';
21
22
  const scrollContainerRef = useRef(null);
@@ -40,7 +41,7 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
40
41
  props.isEditorToolbarHidden && contentAreaHeightNoToolbar],
41
42
  "data-testid": CONTENT_AREA_TEST_ID,
42
43
  ref: containerRef
43
- }, jsx(ScrollContainer
44
+ }, fg('platform_editor_breakout_use_css') ? jsx(ScrollContainerNext
44
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
45
46
  , {
46
47
  className: "fabric-editor-popup-scroll-parent",
@@ -81,6 +82,47 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
81
82
  containerElement: scrollContainerRef.current,
82
83
  dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
83
84
  wrapperElement: props.wrapperElement
85
+ }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))) : jsx(ScrollContainer
86
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
87
+ , {
88
+ className: "fabric-editor-popup-scroll-parent",
89
+ featureFlags: props.featureFlags,
90
+ ref: scrollContainerRef
91
+ }, jsx(ClickAreaBlock, {
92
+ editorView: props.editorView,
93
+ editorDisabled: props.disabled
94
+ }, jsx("div", {
95
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
96
+ css: editorContentAreaStyle({
97
+ fullWidthMode,
98
+ layoutMaxWidth: theme.layoutMaxWidth
99
+ }),
100
+ role: "region",
101
+ "aria-label": props.intl.formatMessage(messages.editableContentLabel),
102
+ ref: contentAreaRef
103
+ }, jsx("div", {
104
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
105
+ css: editorContentGutterStyle()
106
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
107
+ ,
108
+ className: ['ak-editor-content-area', fullWidthMode ? 'fabric-editor--full-width-mode' : ''].join(' '),
109
+ ref: contentAreaRef
110
+ }, !!props.customContentComponents && 'before' in props.customContentComponents ? props.customContentComponents.before : props.customContentComponents, jsx(PluginSlot, {
111
+ editorView: props.editorView,
112
+ editorActions: props.editorActions,
113
+ eventDispatcher: props.eventDispatcher,
114
+ providerFactory: props.providerFactory,
115
+ appearance: props.appearance,
116
+ items: props.contentComponents,
117
+ pluginHooks: props.pluginHooks,
118
+ contentArea: (_contentAreaRef$curre2 = contentAreaRef.current) !== null && _contentAreaRef$curre2 !== void 0 ? _contentAreaRef$curre2 : undefined,
119
+ popupsMountPoint: props.popupsMountPoint,
120
+ popupsBoundariesElement: props.popupsBoundariesElement,
121
+ popupsScrollableElement: props.popupsScrollableElement,
122
+ disabled: !!props.disabled,
123
+ containerElement: scrollContainerRef.current,
124
+ dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
125
+ wrapperElement: props.wrapperElement
84
126
  }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))), jsx("div", {
85
127
  css: sidebarArea
86
128
  }, props.contextPanel || jsx(ContextPanel, {
@@ -32,10 +32,29 @@ const scrollStyles = css({
32
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
33
33
  scrollbarStyles);
34
34
 
35
+ // Added containerType and containerName to enable breakout plugin to calculate the width of the container
36
+ const scrollStylesWitContainerType = css({
37
+ flexGrow: 1,
38
+ height: '100%',
39
+ overflowY: 'scroll',
40
+ position: 'relative',
41
+ display: 'flex',
42
+ flexDirection: 'column',
43
+ scrollBehavior: 'smooth',
44
+ containerType: 'inline-size',
45
+ containerName: 'editor-area'
46
+ },
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
48
+ scrollbarStyles);
49
+
35
50
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
36
51
  export const ScrollContainer = createEditorContentStyle(scrollStyles);
37
52
  ScrollContainer.displayName = 'ScrollContainer';
38
53
 
54
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
55
+ export const ScrollContainerNext = createEditorContentStyle(scrollStylesWitContainerType);
56
+ ScrollContainerNext.displayName = 'ScrollContainer';
57
+
39
58
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
40
59
  export const contentArea = () => {
41
60
  const editorToolbarHeight = FULL_PAGE_EDITOR_TOOLBAR_HEIGHT();
@@ -22,7 +22,7 @@ import { blocktypeStyles } from '@atlaskit/editor-plugins/block-type/styles';
22
22
  import { findReplaceStyles } from '@atlaskit/editor-plugins/find-replace/styles';
23
23
  import { textHighlightStyle } from '@atlaskit/editor-plugins/paste-options-toolbar/styles';
24
24
  import { placeholderTextStyles } from '@atlaskit/editor-plugins/placeholder-text/styles';
25
- import { akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
25
+ import { akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
26
26
  import { N200, N30A, N500 } from '@atlaskit/theme/colors';
27
27
  import { useThemeObserver } from '@atlaskit/tokens';
28
28
  import { InlineNodeViewSharedStyles } from '../../nodeviews/getInlineNodeViewProducer.styles';
@@ -149,7 +149,39 @@ export const placeholderStyles = css({
149
149
  }
150
150
  }
151
151
  });
152
+
153
+ // The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
154
+ const akEditorBreakpointForSmallDevice = `1266px`;
152
155
  const contentStyles = props => css`
156
+ --ak-editor--default-gutter-padding: ${akEditorGutterPadding}px;
157
+ /* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */
158
+ --ak-editor--large-gutter-padding: 52px;
159
+ --ak-editor--default-layout-width: ${akEditorDefaultLayoutWidth}px;
160
+ --ak-editor--full-width-layout-width: ${akEditorFullWidthLayoutWidth}px;
161
+ /* calculate editor line length, 100cqw is the editor container width */
162
+ --ak-editor--line-length: min(
163
+ calc(100cqw - var(--ak-editor--large-gutter-padding) * 2),
164
+ var(--ak-editor--default-layout-width)
165
+ );
166
+ --ak-editor--breakout-wide-layout-width: ${akEditorCalculatedWideLayoutWidthSmallViewport}px;
167
+ --ak-editor--breakout-full-page-guttering-padding: calc(
168
+ var(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)
169
+ );
170
+
171
+ .fabric-editor--full-width-mode {
172
+ --ak-editor--line-length: min(
173
+ calc(100cqw - var(--ak-editor--large-gutter-padding) * 2),
174
+ var(--ak-editor--full-width-layout-width)
175
+ );
176
+ }
177
+
178
+ /* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */
179
+ @container editor-area (min-width: ${akEditorBreakpointForSmallDevice}) {
180
+ .ProseMirror {
181
+ --ak-editor--breakout-wide-layout-width: ${akEditorCalculatedWideLayoutWidth}px;
182
+ }
183
+ }
184
+
153
185
  .ProseMirror {
154
186
  outline: none;
155
187
  font-size: ${editorFontSize({
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "197.5.1";
2
+ export const version = "197.5.3";
@@ -13,7 +13,6 @@ import { Fragment, memo, useCallback } from 'react';
13
13
  import { css, jsx } from '@emotion/react';
14
14
  import { ACTION, ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
15
15
  import { usePortalProvider } from '@atlaskit/editor-common/portal';
16
- import { fg } from '@atlaskit/platform-feature-flags';
17
16
  import ErrorBoundary from '../create-editor/ErrorBoundary';
18
17
  import { createFeatureFlagsFromProps } from '../create-editor/feature-flags-from-props';
19
18
  import ReactEditorView from '../create-editor/ReactEditorView';
@@ -47,16 +46,6 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
47
46
  onEditorDestroyed = _ref.onEditorDestroyed,
48
47
  preset = _ref.preset,
49
48
  AppearanceComponent = _ref.AppearanceComponent;
50
- var setEditorApi = useCallback(
51
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
52
- function (api) {
53
- if (!fg('platform_editor_remove_editor_actions_workaround')) {
54
- // This is an workaround to unblock Editor Lego Decoupling project, if you have questions ping us #cc-editor-lego
55
- // We may clean up this code when EditorActions deprecation process starts
56
- // @ts-expect-error 2339: Property '__EDITOR_INTERNALS_DO_NOT_USE__API' does not exist on type 'EditorActions<any>'.
57
- editorActions.__EDITOR_INTERNALS_DO_NOT_USE__API = api;
58
- }
59
- }, [editorActions]);
60
49
  var overriddenEditorProps = _objectSpread(_objectSpread({}, props), {}, {
61
50
  onSave: props.onSave ? handleSave : undefined,
62
51
  // noop all analytic events, even if a handler is still passed.
@@ -100,7 +89,6 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
100
89
  onEditorDestroyed: onEditorDestroyed,
101
90
  disabled: props.disabled,
102
91
  preset: preset,
103
- setEditorApi: setEditorApi,
104
92
  render: function render(_ref2) {
105
93
  var _props$featureFlags, _props$featureFlags2;
106
94
  var editor = _ref2.editor,
@@ -151,7 +139,6 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
151
139
  function ReactEditorViewContextWrapper(props) {
152
140
  var _props$editorProps$me, _props$editorProps$li;
153
141
  var setInternalEditorAPI = useSetPresetContext();
154
- var setExternalEditorAPI = props.setEditorApi;
155
142
 
156
143
  /**
157
144
  * We use the context to retrieve the editorAPI
@@ -165,8 +152,7 @@ function ReactEditorViewContextWrapper(props) {
165
152
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
166
153
  function (api) {
167
154
  setInternalEditorAPI === null || setInternalEditorAPI === void 0 || setInternalEditorAPI(api);
168
- setExternalEditorAPI === null || setExternalEditorAPI === void 0 || setExternalEditorAPI(api);
169
- }, [setInternalEditorAPI, setExternalEditorAPI]);
155
+ }, [setInternalEditorAPI]);
170
156
 
171
157
  // TODO: Remove these when we deprecate these props from editor-props - smartLinks is unfortunately still used in some places, we can sidestep this problem if we move everyone across to ComposableEditor and deprecate Editor
172
158
  var UNSAFE_cards = props.editorProps.UNSAFE_cards;
@@ -27,7 +27,6 @@ import { EditorExperience, ExperienceStore, RELIABILITY_INTERVAL } from '@atlask
27
27
  import { analyticsEventKey, getAnalyticsEventSeverity } from '@atlaskit/editor-common/utils/analytics';
28
28
  import { EditorState, Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
29
29
  import { EditorView } from '@atlaskit/editor-prosemirror/view';
30
- import { fg } from '@atlaskit/platform-feature-flags';
31
30
  import { createDispatch, EventDispatcher } from '../event-dispatcher';
32
31
  import { EditorAPIContext } from '../presets/context';
33
32
  import { findChangedNodesFromTransaction } from '../utils/findChangedNodesFromTransaction';
@@ -551,10 +550,6 @@ export var ReactEditorView = /*#__PURE__*/function (_React$Component) {
551
550
  });
552
551
  var _api = _this.pluginInjectionAPI.api();
553
552
  (_props$setEditorApi = props.setEditorApi) === null || _props$setEditorApi === void 0 || _props$setEditorApi.call(props, _api);
554
- if (props.editorProps.editorActions && !fg('platform_editor_remove_editor_actions_workaround')) {
555
- // @ts-expect-error
556
- props.editorProps.editorActions.__EDITOR_INTERNALS_DO_NOT_USE__API = _api;
557
- }
558
553
  _this.eventDispatcher = new EventDispatcher();
559
554
  _this.dispatch = createDispatch(_this.eventDispatcher);
560
555
  _this.errorReporter = createErrorReporter(props.editorProps.errorReporterHandler);
@@ -9,13 +9,14 @@ import React, { useImperativeHandle, useRef } from 'react';
9
9
  import { jsx, useTheme } from '@emotion/react';
10
10
  import { injectIntl } from 'react-intl-next';
11
11
  import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
12
+ import { fg } from '@atlaskit/platform-feature-flags';
12
13
  import { ClickAreaBlock } from '../../Addon';
13
14
  import { ContextPanel } from '../../ContextPanel';
14
15
  import PluginSlot from '../../PluginSlot';
15
- import { contentArea, contentAreaHeightNoToolbar, editorContentAreaStyle, editorContentGutterStyle, ScrollContainer, sidebarArea } from './StyledComponents';
16
+ import { contentArea, contentAreaHeightNoToolbar, editorContentAreaStyle, editorContentGutterStyle, ScrollContainer, ScrollContainerNext, sidebarArea } from './StyledComponents';
16
17
  export var CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
17
18
  var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
18
- var _contentAreaRef$curre;
19
+ var _contentAreaRef$curre, _contentAreaRef$curre2;
19
20
  var theme = useTheme();
20
21
  var fullWidthMode = props.appearance === 'full-width';
21
22
  var scrollContainerRef = useRef(null);
@@ -42,7 +43,7 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
42
43
  props.isEditorToolbarHidden && contentAreaHeightNoToolbar],
43
44
  "data-testid": CONTENT_AREA_TEST_ID,
44
45
  ref: containerRef
45
- }, jsx(ScrollContainer
46
+ }, fg('platform_editor_breakout_use_css') ? jsx(ScrollContainerNext
46
47
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
47
48
  , {
48
49
  className: "fabric-editor-popup-scroll-parent",
@@ -83,6 +84,47 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
83
84
  containerElement: scrollContainerRef.current,
84
85
  dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
85
86
  wrapperElement: props.wrapperElement
87
+ }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))) : jsx(ScrollContainer
88
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
89
+ , {
90
+ className: "fabric-editor-popup-scroll-parent",
91
+ featureFlags: props.featureFlags,
92
+ ref: scrollContainerRef
93
+ }, jsx(ClickAreaBlock, {
94
+ editorView: props.editorView,
95
+ editorDisabled: props.disabled
96
+ }, jsx("div", {
97
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
98
+ css: editorContentAreaStyle({
99
+ fullWidthMode: fullWidthMode,
100
+ layoutMaxWidth: theme.layoutMaxWidth
101
+ }),
102
+ role: "region",
103
+ "aria-label": props.intl.formatMessage(messages.editableContentLabel),
104
+ ref: contentAreaRef
105
+ }, jsx("div", {
106
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
107
+ css: editorContentGutterStyle()
108
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
109
+ ,
110
+ className: ['ak-editor-content-area', fullWidthMode ? 'fabric-editor--full-width-mode' : ''].join(' '),
111
+ ref: contentAreaRef
112
+ }, !!props.customContentComponents && 'before' in props.customContentComponents ? props.customContentComponents.before : props.customContentComponents, jsx(PluginSlot, {
113
+ editorView: props.editorView,
114
+ editorActions: props.editorActions,
115
+ eventDispatcher: props.eventDispatcher,
116
+ providerFactory: props.providerFactory,
117
+ appearance: props.appearance,
118
+ items: props.contentComponents,
119
+ pluginHooks: props.pluginHooks,
120
+ contentArea: (_contentAreaRef$curre2 = contentAreaRef.current) !== null && _contentAreaRef$curre2 !== void 0 ? _contentAreaRef$curre2 : undefined,
121
+ popupsMountPoint: props.popupsMountPoint,
122
+ popupsBoundariesElement: props.popupsBoundariesElement,
123
+ popupsScrollableElement: props.popupsScrollableElement,
124
+ disabled: !!props.disabled,
125
+ containerElement: scrollContainerRef.current,
126
+ dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
127
+ wrapperElement: props.wrapperElement
86
128
  }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))), jsx("div", {
87
129
  css: sidebarArea
88
130
  }, props.contextPanel || jsx(ContextPanel, {
@@ -36,10 +36,29 @@ var scrollStyles = css({
36
36
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
37
37
  scrollbarStyles);
38
38
 
39
+ // Added containerType and containerName to enable breakout plugin to calculate the width of the container
40
+ var scrollStylesWitContainerType = css({
41
+ flexGrow: 1,
42
+ height: '100%',
43
+ overflowY: 'scroll',
44
+ position: 'relative',
45
+ display: 'flex',
46
+ flexDirection: 'column',
47
+ scrollBehavior: 'smooth',
48
+ containerType: 'inline-size',
49
+ containerName: 'editor-area'
50
+ },
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
52
+ scrollbarStyles);
53
+
39
54
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
40
55
  export var ScrollContainer = createEditorContentStyle(scrollStyles);
41
56
  ScrollContainer.displayName = 'ScrollContainer';
42
57
 
58
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
59
+ export var ScrollContainerNext = createEditorContentStyle(scrollStylesWitContainerType);
60
+ ScrollContainerNext.displayName = 'ScrollContainer';
61
+
43
62
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
63
  export var contentArea = function contentArea() {
45
64
  var editorToolbarHeight = FULL_PAGE_EDITOR_TOOLBAR_HEIGHT();
@@ -24,7 +24,7 @@ import { blocktypeStyles } from '@atlaskit/editor-plugins/block-type/styles';
24
24
  import { findReplaceStyles } from '@atlaskit/editor-plugins/find-replace/styles';
25
25
  import { textHighlightStyle } from '@atlaskit/editor-plugins/paste-options-toolbar/styles';
26
26
  import { placeholderTextStyles } from '@atlaskit/editor-plugins/placeholder-text/styles';
27
- import { akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
27
+ import { akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
28
28
  import { N200, N30A, N500 } from '@atlaskit/theme/colors';
29
29
  import { useThemeObserver } from '@atlaskit/tokens';
30
30
  import { InlineNodeViewSharedStyles } from '../../nodeviews/getInlineNodeViewProducer.styles';
@@ -66,8 +66,11 @@ export var placeholderStyles = css({
66
66
  }
67
67
  }
68
68
  });
69
+
70
+ // The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
71
+ var akEditorBreakpointForSmallDevice = "1266px";
69
72
  var contentStyles = function contentStyles(props) {
70
- return css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\tpointer-events: none;\n\t\topacity: 0.7;\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), editorFontSize({
73
+ return css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: 52px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (min-width: ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\tpointer-events: none;\n\t\topacity: 0.7;\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), akEditorGutterPadding, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, editorFontSize({
71
74
  theme: props.theme
72
75
  }), whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", placeholderTextStyles, placeholderStyles, codeBlockStyles(), blocktypeStyles(), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(), listsStyles, ruleStyles(), mediaStyles, layoutStyles(props.viewMode), telepointerStyle, gapCursorStyles, panelStyles(), mentionsStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), findReplaceStyles, textHighlightStyle, taskDecisionStyles, statusStyles, annotationSharedStyles(), smartCardStyles(), smartCardSharedStyles, dateStyles, embedCardStyles, unsupportedStyles, resizerStyles, aiPanelStyles(props.colorMode), MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
73
76
  };
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "197.5.1";
2
+ export var version = "197.5.3";
@@ -11,6 +11,17 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
11
11
  featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
12
12
  viewMode?: "view" | "edit" | undefined;
13
13
  } | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
14
+ export declare const ScrollContainerNext: import("react").ForwardRefExoticComponent<Pick<{
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ colorMode?: "light" | "dark" | undefined;
17
+ featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
18
+ viewMode?: "view" | "edit" | undefined;
19
+ } & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "list" | "width" | "open" | "accessKey" | "dir" | "className" | "role" | "start" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof {
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ colorMode?: "light" | "dark" | undefined;
22
+ featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
23
+ viewMode?: "view" | "edit" | undefined;
24
+ } | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
14
25
  export declare const contentArea: () => import("@emotion/react").SerializedStyles;
15
26
  export declare const contentAreaHeightNoToolbar: import("@emotion/react").SerializedStyles;
16
27
  export declare const sidebarArea: import("@emotion/react").SerializedStyles;
@@ -11,6 +11,17 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
11
11
  featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
12
12
  viewMode?: "view" | "edit" | undefined;
13
13
  } | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
14
+ export declare const ScrollContainerNext: import("react").ForwardRefExoticComponent<Pick<{
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ colorMode?: "light" | "dark" | undefined;
17
+ featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
18
+ viewMode?: "view" | "edit" | undefined;
19
+ } & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "list" | "width" | "open" | "accessKey" | "dir" | "className" | "role" | "start" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof {
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ colorMode?: "light" | "dark" | undefined;
22
+ featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
23
+ viewMode?: "view" | "edit" | undefined;
24
+ } | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
14
25
  export declare const contentArea: () => import("@emotion/react").SerializedStyles;
15
26
  export declare const contentAreaHeightNoToolbar: import("@emotion/react").SerializedStyles;
16
27
  export declare const sidebarArea: import("@emotion/react").SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "197.5.1",
3
+ "version": "197.5.3",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,10 +46,10 @@
46
46
  "@atlaskit/editor-common": "^89.0.0",
47
47
  "@atlaskit/editor-json-transformer": "^8.18.0",
48
48
  "@atlaskit/editor-plugins": "^4.4.0",
49
- "@atlaskit/editor-prosemirror": "5.0.1",
49
+ "@atlaskit/editor-prosemirror": "6.0.0",
50
50
  "@atlaskit/editor-shared-styles": "^2.13.0",
51
51
  "@atlaskit/emoji": "^67.7.0",
52
- "@atlaskit/icon": "^22.16.0",
52
+ "@atlaskit/icon": "^22.17.0",
53
53
  "@atlaskit/media-card": "^78.2.0",
54
54
  "@atlaskit/mention": "^23.2.0",
55
55
  "@atlaskit/platform-feature-flags": "^0.3.0",
@@ -79,13 +79,13 @@
79
79
  "react-intl-next": "npm:react-intl@^5.18.1"
80
80
  },
81
81
  "devDependencies": {
82
- "@af/editor-examples-helpers": "0.3.8",
82
+ "@af/editor-examples-helpers": "0.3.9",
83
83
  "@af/editor-libra": "*",
84
84
  "@af/visual-regression": "*",
85
85
  "@atlaskit/adf-utils": "^19.8.0",
86
86
  "@atlaskit/analytics-listeners": "^8.11.0",
87
- "@atlaskit/collab-provider": "9.40.1",
88
- "@atlaskit/editor-plugin-annotation": "1.19.5",
87
+ "@atlaskit/collab-provider": "9.40.2",
88
+ "@atlaskit/editor-plugin-annotation": "1.19.6",
89
89
  "@atlaskit/editor-plugin-card": "^3.0.0",
90
90
  "@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
91
91
  "@atlaskit/editor-plugin-list": "^3.8.0",
@@ -188,9 +188,6 @@
188
188
  "type": "boolean",
189
189
  "referenceOnly": "true"
190
190
  },
191
- "platform_editor_remove_editor_actions_workaround": {
192
- "type": "boolean"
193
- },
194
191
  "platform.editor.table.use-shared-state-hook": {
195
192
  "type": "boolean",
196
193
  "referenceOnly": true
@@ -261,6 +258,9 @@
261
258
  },
262
259
  "platform_editor_get_emoji_provider_from_config": {
263
260
  "type": "boolean"
261
+ },
262
+ "platform_editor_breakout_use_css": {
263
+ "type": "boolean"
264
264
  }
265
265
  },
266
266
  "stricter": {