@atlaskit/editor-core 198.6.1 → 198.6.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
+ ## 198.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#151938](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151938)
8
+ [`91b5768ef0c7c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/91b5768ef0c7c) -
9
+ [ux] ED-25203 refactor image previewer outside of floating toolbar
10
+ - [#152019](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152019)
11
+ [`5f7f23dd0c612`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5f7f23dd0c612) -
12
+ [ux] ED-25082: Added editor custom font tokens and use them for normal texts and paragraph texts"
13
+ - Updated dependencies
14
+
15
+ ## 198.6.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#149735](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/149735)
20
+ [`bca64a14f9448`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bca64a14f9448) -
21
+ Migrate internal PluginSlot component to functional component for React 18
22
+
3
23
  ## 198.6.1
4
24
 
5
25
  ### Patch Changes
@@ -88,7 +88,7 @@ var akEditorBreakpointForSmallDevice = "1266px";
88
88
  var contentStyles = function contentStyles(props) {
89
89
  return (0, _react2.css)(_templateObject7 || (_templateObject7 = (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.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\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 (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", "\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\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\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\tmin-width: 24px;\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t}\n"])), _editorSharedStyles.akEditorGutterPadding, _editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.akEditorFullWidthLayoutWidth, _editorSharedStyles.akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, _editorSharedStyles.akEditorCalculatedWideLayoutWidth, (0, _editorSharedStyles.editorFontSize)({
90
90
  theme: props.theme
91
- }), _styles.whitespaceSharedStyles, _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, (0, _platformFeatureFlags.fg)('editor_request_to_edit_task') ? null : (0, _react2.css)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\topacity: 0.7;\n\t\t\t\t}\n\t\t\t"]))), "var(--ds-border-focused, #8cf)", (0, _platformFeatureFlags.fg)('platform_editor_mark_boundary_cursor') ? (0, _react2.css)(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t"]))) : null, _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, _panel2.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), fixBlockControlStylesSSR(), _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
91
+ }), _styles.whitespaceSharedStyles, (0, _styles.paragraphSharedStyles)(props.typographyTheme), _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, (0, _platformFeatureFlags.fg)('editor_request_to_edit_task') ? null : (0, _react2.css)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\topacity: 0.7;\n\t\t\t\t}\n\t\t\t"]))), "var(--ds-border-focused, #8cf)", (0, _platformFeatureFlags.fg)('platform_editor_mark_boundary_cursor') ? (0, _react2.css)(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t"]))) : null, _styles5.placeholderTextStyles, placeholderStyles, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(props.typographyTheme), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(), listsStyles, ruleStyles(), _media.mediaStyles, (0, _layout.layoutStyles)(props.viewMode), _collab.telepointerStyle, _selection.gapCursorStyles, (0, _panel2.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), fixBlockControlStylesSSR(), _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
92
92
  };
93
93
  var createEditorContentStyle = exports.createEditorContentStyle = function createEditorContentStyle(styles) {
94
94
  return /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
@@ -97,7 +97,8 @@ var createEditorContentStyle = exports.createEditorContentStyle = function creat
97
97
  featureFlags = props.featureFlags;
98
98
  var theme = (0, _react2.useTheme)();
99
99
  var _useThemeObserver = (0, _tokens.useThemeObserver)(),
100
- colorMode = _useThemeObserver.colorMode;
100
+ colorMode = _useThemeObserver.colorMode,
101
+ typography = _useThemeObserver.typography;
101
102
  var editorAPI = (0, _context.usePresetContext)();
102
103
  var _useSharedPluginState = (0, _hooks.useSharedPluginState)(editorAPI, ['editorViewMode']),
103
104
  editorViewModeState = _useSharedPluginState.editorViewModeState;
@@ -106,9 +107,10 @@ var createEditorContentStyle = exports.createEditorContentStyle = function creat
106
107
  theme: theme,
107
108
  colorMode: colorMode,
108
109
  featureFlags: featureFlags,
109
- viewMode: (0, _platformFeatureFlags.fg)('platform_editor_remove_use_preset_context') ? props.viewMode : editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode
110
+ viewMode: (0, _platformFeatureFlags.fg)('platform_editor_remove_use_preset_context') ? props.viewMode : editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode,
111
+ typographyTheme: typography
110
112
  });
111
- }, [theme, colorMode, featureFlags, editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode, props.viewMode]);
113
+ }, [theme, colorMode, featureFlags, editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode, props.viewMode, typography]);
112
114
  return (
113
115
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
114
116
  (0, _react2.jsx)("div", {
@@ -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.default = void 0;
7
+ exports.default = PluginSlotDefault;
8
8
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
10
  var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
@@ -14,7 +14,9 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _react2 = require("@emotion/react");
17
+ var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
17
18
  var _analytics = require("@atlaskit/editor-common/analytics");
19
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
20
  var _utils = require("../../utils");
19
21
  var _ErrorBoundary = require("../ErrorBoundary");
20
22
  var _mountPluginHooks = require("./mount-plugin-hooks");
@@ -26,12 +28,12 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
26
28
  var pluginsComponentsWrapper = (0, _react2.css)({
27
29
  display: 'flex'
28
30
  });
29
- var PluginSlot = exports.default = /*#__PURE__*/function (_React$Component) {
30
- (0, _inherits2.default)(PluginSlot, _React$Component);
31
- var _super = _createSuper(PluginSlot);
32
- function PluginSlot() {
31
+ var PluginSlotLegacy = /*#__PURE__*/function (_React$Component) {
32
+ (0, _inherits2.default)(PluginSlotLegacy, _React$Component);
33
+ var _super = _createSuper(PluginSlotLegacy);
34
+ function PluginSlotLegacy() {
33
35
  var _this;
34
- (0, _classCallCheck2.default)(this, PluginSlot);
36
+ (0, _classCallCheck2.default)(this, PluginSlotLegacy);
35
37
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
36
38
  args[_key] = arguments[_key];
37
39
  }
@@ -60,7 +62,7 @@ var PluginSlot = exports.default = /*#__PURE__*/function (_React$Component) {
60
62
  });
61
63
  return _this;
62
64
  }
63
- (0, _createClass2.default)(PluginSlot, [{
65
+ (0, _createClass2.default)(PluginSlotLegacy, [{
64
66
  key: "shouldComponentUpdate",
65
67
  value: function shouldComponentUpdate(nextProps) {
66
68
  var _this$props = this.props,
@@ -147,6 +149,108 @@ var PluginSlot = exports.default = /*#__PURE__*/function (_React$Component) {
147
149
  })));
148
150
  }
149
151
  }]);
150
- return PluginSlot;
152
+ return PluginSlotLegacy;
151
153
  }(_react.default.Component);
152
- (0, _defineProperty2.default)(PluginSlot, "displayName", 'PluginSlot');
154
+ (0, _defineProperty2.default)(PluginSlotLegacy, "displayName", 'PluginSlot');
155
+ var PluginSlot = function PluginSlot(_ref) {
156
+ var items = _ref.items,
157
+ editorView = _ref.editorView,
158
+ editorActions = _ref.editorActions,
159
+ eventDispatcher = _ref.eventDispatcher,
160
+ providerFactory = _ref.providerFactory,
161
+ appearance = _ref.appearance,
162
+ popupsMountPoint = _ref.popupsMountPoint,
163
+ popupsBoundariesElement = _ref.popupsBoundariesElement,
164
+ popupsScrollableElement = _ref.popupsScrollableElement,
165
+ containerElement = _ref.containerElement,
166
+ disabled = _ref.disabled,
167
+ dispatchAnalyticsEvent = _ref.dispatchAnalyticsEvent,
168
+ wrapperElement = _ref.wrapperElement,
169
+ pluginHooks = _ref.pluginHooks;
170
+ if (!items && !pluginHooks || !editorView) {
171
+ return null;
172
+ }
173
+ return (0, _react2.jsx)(_ErrorBoundary.ErrorBoundary, {
174
+ component: _analytics.ACTION_SUBJECT.PLUGIN_SLOT,
175
+ fallbackComponent: null
176
+ }, (0, _react2.jsx)(_mountPluginHooks.MountPluginHooks, {
177
+ editorView: editorView,
178
+ pluginHooks: pluginHooks,
179
+ containerElement: containerElement
180
+ }), (0, _react2.jsx)("div", {
181
+ css: pluginsComponentsWrapper
182
+ }, items === null || items === void 0 ? void 0 : items.map(function (component, key) {
183
+ var props = {
184
+ key: key
185
+ };
186
+ var element = component({
187
+ editorView: editorView,
188
+ editorActions: editorActions,
189
+ eventDispatcher: eventDispatcher,
190
+ providerFactory: providerFactory,
191
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
192
+ appearance: appearance,
193
+ popupsMountPoint: popupsMountPoint,
194
+ popupsBoundariesElement: popupsBoundariesElement,
195
+ popupsScrollableElement: popupsScrollableElement,
196
+ containerElement: containerElement,
197
+ disabled: disabled,
198
+ wrapperElement: wrapperElement
199
+ });
200
+ return element && /*#__PURE__*/_react.default.cloneElement(element, props);
201
+ })));
202
+ };
203
+ var PluginSlotNew = /*#__PURE__*/_react.default.memo(PluginSlot, _isEqual.default);
204
+ PluginSlotNew.displayName = 'PluginSlot';
205
+ function PluginSlotDefault(_ref2) {
206
+ var items = _ref2.items,
207
+ editorView = _ref2.editorView,
208
+ editorActions = _ref2.editorActions,
209
+ eventDispatcher = _ref2.eventDispatcher,
210
+ providerFactory = _ref2.providerFactory,
211
+ appearance = _ref2.appearance,
212
+ popupsMountPoint = _ref2.popupsMountPoint,
213
+ popupsBoundariesElement = _ref2.popupsBoundariesElement,
214
+ popupsScrollableElement = _ref2.popupsScrollableElement,
215
+ containerElement = _ref2.containerElement,
216
+ disabled = _ref2.disabled,
217
+ dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
218
+ wrapperElement = _ref2.wrapperElement,
219
+ pluginHooks = _ref2.pluginHooks,
220
+ contentArea = _ref2.contentArea;
221
+ if ((0, _platformFeatureFlags.fg)('platform_editor_react_18_plugin_slot')) {
222
+ return (0, _react2.jsx)(PluginSlotNew, {
223
+ items: items,
224
+ editorView: editorView,
225
+ editorActions: editorActions,
226
+ eventDispatcher: eventDispatcher,
227
+ providerFactory: providerFactory,
228
+ appearance: appearance,
229
+ popupsMountPoint: popupsMountPoint,
230
+ popupsBoundariesElement: popupsBoundariesElement,
231
+ popupsScrollableElement: popupsScrollableElement,
232
+ containerElement: containerElement,
233
+ disabled: disabled,
234
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
235
+ wrapperElement: wrapperElement,
236
+ pluginHooks: pluginHooks
237
+ });
238
+ }
239
+ return (0, _react2.jsx)(PluginSlotLegacy, {
240
+ contentArea: contentArea,
241
+ items: items,
242
+ editorView: editorView,
243
+ editorActions: editorActions,
244
+ eventDispatcher: eventDispatcher,
245
+ providerFactory: providerFactory,
246
+ appearance: appearance,
247
+ popupsMountPoint: popupsMountPoint,
248
+ popupsBoundariesElement: popupsBoundariesElement,
249
+ popupsScrollableElement: popupsScrollableElement,
250
+ containerElement: containerElement,
251
+ disabled: disabled,
252
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
253
+ wrapperElement: wrapperElement,
254
+ pluginHooks: pluginHooks
255
+ });
256
+ }
@@ -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 = "198.6.1";
8
+ var version = exports.version = "198.6.3";
@@ -222,7 +222,7 @@ const contentStyles = props => css`
222
222
  theme: props.theme
223
223
  })}px;
224
224
  ${whitespaceSharedStyles};
225
- ${paragraphSharedStyles};
225
+ ${paragraphSharedStyles(props.typographyTheme)};
226
226
  ${listsSharedStyles};
227
227
  ${indentationSharedStyles};
228
228
  ${shadowSharedStyle};
@@ -265,7 +265,7 @@ const contentStyles = props => css`
265
265
  ${placeholderStyles}
266
266
  ${codeBlockStyles()}
267
267
 
268
- ${blocktypeStyles()}
268
+ ${blocktypeStyles(props.typographyTheme)}
269
269
  ${codeMarkSharedStyles()}
270
270
  ${textColorStyles}
271
271
  ${backgroundColorStyles()}
@@ -373,7 +373,8 @@ export const createEditorContentStyle = styles => {
373
373
  } = props;
374
374
  const theme = useTheme();
375
375
  const {
376
- colorMode
376
+ colorMode,
377
+ typography
377
378
  } = useThemeObserver();
378
379
  const editorAPI = usePresetContext();
379
380
  const {
@@ -383,8 +384,9 @@ export const createEditorContentStyle = styles => {
383
384
  theme,
384
385
  colorMode,
385
386
  featureFlags,
386
- viewMode: fg('platform_editor_remove_use_preset_context') ? props.viewMode : editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode
387
- }), [theme, colorMode, featureFlags, editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode, props.viewMode]);
387
+ viewMode: fg('platform_editor_remove_use_preset_context') ? props.viewMode : editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode,
388
+ typographyTheme: typography
389
+ }), [theme, colorMode, featureFlags, editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode, props.viewMode, typography]);
388
390
  return (
389
391
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
390
392
  jsx("div", {
@@ -7,14 +7,16 @@ import React from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
+ import isEqual from 'lodash/isEqual';
10
11
  import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
12
+ import { fg } from '@atlaskit/platform-feature-flags';
11
13
  import { whichTransitionEvent } from '../../utils';
12
14
  import { ErrorBoundary } from '../ErrorBoundary';
13
15
  import { MountPluginHooks } from './mount-plugin-hooks';
14
16
  const pluginsComponentsWrapper = css({
15
17
  display: 'flex'
16
18
  });
17
- export default class PluginSlot extends React.Component {
19
+ class PluginSlotLegacy extends React.Component {
18
20
  constructor(...args) {
19
21
  super(...args);
20
22
  _defineProperty(this, "transitionEvent", whichTransitionEvent());
@@ -119,4 +121,108 @@ export default class PluginSlot extends React.Component {
119
121
  })));
120
122
  }
121
123
  }
122
- _defineProperty(PluginSlot, "displayName", 'PluginSlot');
124
+ _defineProperty(PluginSlotLegacy, "displayName", 'PluginSlot');
125
+ const PluginSlot = ({
126
+ items,
127
+ editorView,
128
+ editorActions,
129
+ eventDispatcher,
130
+ providerFactory,
131
+ appearance,
132
+ popupsMountPoint,
133
+ popupsBoundariesElement,
134
+ popupsScrollableElement,
135
+ containerElement,
136
+ disabled,
137
+ dispatchAnalyticsEvent,
138
+ wrapperElement,
139
+ pluginHooks
140
+ }) => {
141
+ if (!items && !pluginHooks || !editorView) {
142
+ return null;
143
+ }
144
+ return jsx(ErrorBoundary, {
145
+ component: ACTION_SUBJECT.PLUGIN_SLOT,
146
+ fallbackComponent: null
147
+ }, jsx(MountPluginHooks, {
148
+ editorView: editorView,
149
+ pluginHooks: pluginHooks,
150
+ containerElement: containerElement
151
+ }), jsx("div", {
152
+ css: pluginsComponentsWrapper
153
+ }, items === null || items === void 0 ? void 0 : items.map((component, key) => {
154
+ const props = {
155
+ key
156
+ };
157
+ const element = component({
158
+ editorView: editorView,
159
+ editorActions: editorActions,
160
+ eventDispatcher: eventDispatcher,
161
+ providerFactory,
162
+ dispatchAnalyticsEvent,
163
+ appearance: appearance,
164
+ popupsMountPoint,
165
+ popupsBoundariesElement,
166
+ popupsScrollableElement,
167
+ containerElement,
168
+ disabled,
169
+ wrapperElement
170
+ });
171
+ return element && /*#__PURE__*/React.cloneElement(element, props);
172
+ })));
173
+ };
174
+ const PluginSlotNew = /*#__PURE__*/React.memo(PluginSlot, isEqual);
175
+ PluginSlotNew.displayName = 'PluginSlot';
176
+ export default function PluginSlotDefault({
177
+ items,
178
+ editorView,
179
+ editorActions,
180
+ eventDispatcher,
181
+ providerFactory,
182
+ appearance,
183
+ popupsMountPoint,
184
+ popupsBoundariesElement,
185
+ popupsScrollableElement,
186
+ containerElement,
187
+ disabled,
188
+ dispatchAnalyticsEvent,
189
+ wrapperElement,
190
+ pluginHooks,
191
+ contentArea
192
+ }) {
193
+ if (fg('platform_editor_react_18_plugin_slot')) {
194
+ return jsx(PluginSlotNew, {
195
+ items: items,
196
+ editorView: editorView,
197
+ editorActions: editorActions,
198
+ eventDispatcher: eventDispatcher,
199
+ providerFactory: providerFactory,
200
+ appearance: appearance,
201
+ popupsMountPoint: popupsMountPoint,
202
+ popupsBoundariesElement: popupsBoundariesElement,
203
+ popupsScrollableElement: popupsScrollableElement,
204
+ containerElement: containerElement,
205
+ disabled: disabled,
206
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
207
+ wrapperElement: wrapperElement,
208
+ pluginHooks: pluginHooks
209
+ });
210
+ }
211
+ return jsx(PluginSlotLegacy, {
212
+ contentArea: contentArea,
213
+ items: items,
214
+ editorView: editorView,
215
+ editorActions: editorActions,
216
+ eventDispatcher: eventDispatcher,
217
+ providerFactory: providerFactory,
218
+ appearance: appearance,
219
+ popupsMountPoint: popupsMountPoint,
220
+ popupsBoundariesElement: popupsBoundariesElement,
221
+ popupsScrollableElement: popupsScrollableElement,
222
+ containerElement: containerElement,
223
+ disabled: disabled,
224
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
225
+ wrapperElement: wrapperElement,
226
+ pluginHooks: pluginHooks
227
+ });
228
+ }
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "198.6.1";
2
+ export const version = "198.6.3";
@@ -80,7 +80,7 @@ var akEditorBreakpointForSmallDevice = "1266px";
80
80
  var contentStyles = function contentStyles(props) {
81
81
  return css(_templateObject7 || (_templateObject7 = _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.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\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 (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", "\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\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\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\tmin-width: 24px;\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t}\n"])), akEditorGutterPadding, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, editorFontSize({
82
82
  theme: props.theme
83
- }), whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, fg('editor_request_to_edit_task') ? null : css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\topacity: 0.7;\n\t\t\t\t}\n\t\t\t"]))), "var(--ds-border-focused, #8cf)", fg('platform_editor_mark_boundary_cursor') ? css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t"]))) : null, 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), fixBlockControlStylesSSR(), MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
83
+ }), whitespaceSharedStyles, paragraphSharedStyles(props.typographyTheme), listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, fg('editor_request_to_edit_task') ? null : css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\topacity: 0.7;\n\t\t\t\t}\n\t\t\t"]))), "var(--ds-border-focused, #8cf)", fg('platform_editor_mark_boundary_cursor') ? css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t"]))) : null, placeholderTextStyles, placeholderStyles, codeBlockStyles(), blocktypeStyles(props.typographyTheme), 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), fixBlockControlStylesSSR(), MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
84
84
  };
85
85
  export var createEditorContentStyle = function createEditorContentStyle(styles) {
86
86
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -89,7 +89,8 @@ export var createEditorContentStyle = function createEditorContentStyle(styles)
89
89
  featureFlags = props.featureFlags;
90
90
  var theme = useTheme();
91
91
  var _useThemeObserver = useThemeObserver(),
92
- colorMode = _useThemeObserver.colorMode;
92
+ colorMode = _useThemeObserver.colorMode,
93
+ typography = _useThemeObserver.typography;
93
94
  var editorAPI = usePresetContext();
94
95
  var _useSharedPluginState = useSharedPluginState(editorAPI, ['editorViewMode']),
95
96
  editorViewModeState = _useSharedPluginState.editorViewModeState;
@@ -98,9 +99,10 @@ export var createEditorContentStyle = function createEditorContentStyle(styles)
98
99
  theme: theme,
99
100
  colorMode: colorMode,
100
101
  featureFlags: featureFlags,
101
- viewMode: fg('platform_editor_remove_use_preset_context') ? props.viewMode : editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode
102
+ viewMode: fg('platform_editor_remove_use_preset_context') ? props.viewMode : editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode,
103
+ typographyTheme: typography
102
104
  });
103
- }, [theme, colorMode, featureFlags, editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode, props.viewMode]);
105
+ }, [theme, colorMode, featureFlags, editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode, props.viewMode, typography]);
104
106
  return (
105
107
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
106
108
  jsx("div", {
@@ -15,19 +15,21 @@ import React from 'react';
15
15
 
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
17
  import { css, jsx } from '@emotion/react';
18
+ import isEqual from 'lodash/isEqual';
18
19
  import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
20
+ import { fg } from '@atlaskit/platform-feature-flags';
19
21
  import { whichTransitionEvent } from '../../utils';
20
22
  import { ErrorBoundary } from '../ErrorBoundary';
21
23
  import { MountPluginHooks } from './mount-plugin-hooks';
22
24
  var pluginsComponentsWrapper = css({
23
25
  display: 'flex'
24
26
  });
25
- var PluginSlot = /*#__PURE__*/function (_React$Component) {
26
- _inherits(PluginSlot, _React$Component);
27
- var _super = _createSuper(PluginSlot);
28
- function PluginSlot() {
27
+ var PluginSlotLegacy = /*#__PURE__*/function (_React$Component) {
28
+ _inherits(PluginSlotLegacy, _React$Component);
29
+ var _super = _createSuper(PluginSlotLegacy);
30
+ function PluginSlotLegacy() {
29
31
  var _this;
30
- _classCallCheck(this, PluginSlot);
32
+ _classCallCheck(this, PluginSlotLegacy);
31
33
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
32
34
  args[_key] = arguments[_key];
33
35
  }
@@ -56,7 +58,7 @@ var PluginSlot = /*#__PURE__*/function (_React$Component) {
56
58
  });
57
59
  return _this;
58
60
  }
59
- _createClass(PluginSlot, [{
61
+ _createClass(PluginSlotLegacy, [{
60
62
  key: "shouldComponentUpdate",
61
63
  value: function shouldComponentUpdate(nextProps) {
62
64
  var _this$props = this.props,
@@ -143,7 +145,108 @@ var PluginSlot = /*#__PURE__*/function (_React$Component) {
143
145
  })));
144
146
  }
145
147
  }]);
146
- return PluginSlot;
148
+ return PluginSlotLegacy;
147
149
  }(React.Component);
148
- _defineProperty(PluginSlot, "displayName", 'PluginSlot');
149
- export { PluginSlot as default };
150
+ _defineProperty(PluginSlotLegacy, "displayName", 'PluginSlot');
151
+ var PluginSlot = function PluginSlot(_ref) {
152
+ var items = _ref.items,
153
+ editorView = _ref.editorView,
154
+ editorActions = _ref.editorActions,
155
+ eventDispatcher = _ref.eventDispatcher,
156
+ providerFactory = _ref.providerFactory,
157
+ appearance = _ref.appearance,
158
+ popupsMountPoint = _ref.popupsMountPoint,
159
+ popupsBoundariesElement = _ref.popupsBoundariesElement,
160
+ popupsScrollableElement = _ref.popupsScrollableElement,
161
+ containerElement = _ref.containerElement,
162
+ disabled = _ref.disabled,
163
+ dispatchAnalyticsEvent = _ref.dispatchAnalyticsEvent,
164
+ wrapperElement = _ref.wrapperElement,
165
+ pluginHooks = _ref.pluginHooks;
166
+ if (!items && !pluginHooks || !editorView) {
167
+ return null;
168
+ }
169
+ return jsx(ErrorBoundary, {
170
+ component: ACTION_SUBJECT.PLUGIN_SLOT,
171
+ fallbackComponent: null
172
+ }, jsx(MountPluginHooks, {
173
+ editorView: editorView,
174
+ pluginHooks: pluginHooks,
175
+ containerElement: containerElement
176
+ }), jsx("div", {
177
+ css: pluginsComponentsWrapper
178
+ }, items === null || items === void 0 ? void 0 : items.map(function (component, key) {
179
+ var props = {
180
+ key: key
181
+ };
182
+ var element = component({
183
+ editorView: editorView,
184
+ editorActions: editorActions,
185
+ eventDispatcher: eventDispatcher,
186
+ providerFactory: providerFactory,
187
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
188
+ appearance: appearance,
189
+ popupsMountPoint: popupsMountPoint,
190
+ popupsBoundariesElement: popupsBoundariesElement,
191
+ popupsScrollableElement: popupsScrollableElement,
192
+ containerElement: containerElement,
193
+ disabled: disabled,
194
+ wrapperElement: wrapperElement
195
+ });
196
+ return element && /*#__PURE__*/React.cloneElement(element, props);
197
+ })));
198
+ };
199
+ var PluginSlotNew = /*#__PURE__*/React.memo(PluginSlot, isEqual);
200
+ PluginSlotNew.displayName = 'PluginSlot';
201
+ export default function PluginSlotDefault(_ref2) {
202
+ var items = _ref2.items,
203
+ editorView = _ref2.editorView,
204
+ editorActions = _ref2.editorActions,
205
+ eventDispatcher = _ref2.eventDispatcher,
206
+ providerFactory = _ref2.providerFactory,
207
+ appearance = _ref2.appearance,
208
+ popupsMountPoint = _ref2.popupsMountPoint,
209
+ popupsBoundariesElement = _ref2.popupsBoundariesElement,
210
+ popupsScrollableElement = _ref2.popupsScrollableElement,
211
+ containerElement = _ref2.containerElement,
212
+ disabled = _ref2.disabled,
213
+ dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
214
+ wrapperElement = _ref2.wrapperElement,
215
+ pluginHooks = _ref2.pluginHooks,
216
+ contentArea = _ref2.contentArea;
217
+ if (fg('platform_editor_react_18_plugin_slot')) {
218
+ return jsx(PluginSlotNew, {
219
+ items: items,
220
+ editorView: editorView,
221
+ editorActions: editorActions,
222
+ eventDispatcher: eventDispatcher,
223
+ providerFactory: providerFactory,
224
+ appearance: appearance,
225
+ popupsMountPoint: popupsMountPoint,
226
+ popupsBoundariesElement: popupsBoundariesElement,
227
+ popupsScrollableElement: popupsScrollableElement,
228
+ containerElement: containerElement,
229
+ disabled: disabled,
230
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
231
+ wrapperElement: wrapperElement,
232
+ pluginHooks: pluginHooks
233
+ });
234
+ }
235
+ return jsx(PluginSlotLegacy, {
236
+ contentArea: contentArea,
237
+ items: items,
238
+ editorView: editorView,
239
+ editorActions: editorActions,
240
+ eventDispatcher: eventDispatcher,
241
+ providerFactory: providerFactory,
242
+ appearance: appearance,
243
+ popupsMountPoint: popupsMountPoint,
244
+ popupsBoundariesElement: popupsBoundariesElement,
245
+ popupsScrollableElement: popupsScrollableElement,
246
+ containerElement: containerElement,
247
+ disabled: disabled,
248
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
249
+ wrapperElement: wrapperElement,
250
+ pluginHooks: pluginHooks
251
+ });
252
+ }
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "198.6.1";
2
+ export var version = "198.6.3";