@atlaskit/editor-core 192.2.6 → 192.3.0

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,22 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 192.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#75042](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75042) [`ce823f018248`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ce823f018248) - [ux] ED-21987 Diverge expands in live pages so that they are not multiplayer, and are closed by default.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#70153](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70153) [`3a34e7545f18`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3a34e7545f18) - ECA11Y-36: Flaoting toolbar group buttons into radiogroup buttons structure
12
+ - Updated dependencies
13
+
14
+ ## 192.2.8
15
+
16
+ ### Patch Changes
17
+
18
+ - [#75022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75022) [`fb8de5ebea59`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fb8de5ebea59) - Removed the margin above the code block inside the panel
19
+
3
20
  ## 192.2.6
4
21
 
5
22
  ### Patch Changes
@@ -107,7 +107,8 @@ var useMemoEditorProps = exports.useMemoEditorProps = function useMemoEditorProp
107
107
  allowAnalyticsGASV3: passedProps.allowAnalyticsGASV3,
108
108
  codeBlock: passedProps.codeBlock,
109
109
  textFormatting: passedProps.textFormatting,
110
- dangerouslyAppendPlugins: passedProps.dangerouslyAppendPlugins
110
+ dangerouslyAppendPlugins: passedProps.dangerouslyAppendPlugins,
111
+ __livePage: passedProps.__livePage
111
112
  };
112
113
  var defaultProps = {
113
114
  appearance: 'comment',
@@ -116,7 +117,7 @@ var useMemoEditorProps = exports.useMemoEditorProps = function useMemoEditorProp
116
117
  };
117
118
  var nextProps = _objectSpread(_objectSpread({}, defaultProps), allProps);
118
119
  return nextProps;
119
- }, [passedProps.preset, passedProps.appearance, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.inputSamplingLimit, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.trackValidTransactions, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.performanceTracking, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.hideAvatarGroup, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowJiraIssue, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowNewInsertionBehaviour, passedProps.allowFindReplace, passedProps.UNSAFE_allowBorderMark, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.dangerouslyAppendPlugins]);
120
+ }, [passedProps.preset, passedProps.appearance, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.inputSamplingLimit, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.trackValidTransactions, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.performanceTracking, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.hideAvatarGroup, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowJiraIssue, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowNewInsertionBehaviour, passedProps.allowFindReplace, passedProps.UNSAFE_allowBorderMark, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.dangerouslyAppendPlugins, passedProps.__livePage]);
120
121
  return memodProps;
121
122
  };
122
123
  var _default = exports.default = useMemoEditorProps;
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.createDefaultPreset = createDefaultPreset;
7
8
  exports.useDefaultPreset = useDefaultPreset;
9
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
8
10
  var _preset = require("@atlaskit/editor-common/preset");
9
11
  var _analytics = require("@atlaskit/editor-plugins/analytics");
10
12
  var _annotation = require("@atlaskit/editor-plugins/annotation");
@@ -36,8 +38,8 @@ var _undoRedo = require("@atlaskit/editor-plugins/undo-redo");
36
38
  var _unsupportedContent = require("@atlaskit/editor-plugins/unsupported-content");
37
39
  var _width = require("@atlaskit/editor-plugins/width");
38
40
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
39
- // #region Imports
40
-
41
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
42
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // #region Imports
41
43
  // #endregion
42
44
 
43
45
  /**
@@ -61,7 +63,9 @@ function createDefaultPreset(options) {
61
63
  return true;
62
64
  }
63
65
  return false;
64
- }).add([_hyperlink.hyperlinkPlugin, options.hyperlinkOptions]).add([_textFormatting.textFormattingPlugin, options.textFormatting]).add(_width.widthPlugin).add([_quickInsert.quickInsertPlugin, options.quickInsert]).add([_placeholder.placeholderPlugin, options.placeholder]).add(_unsupportedContent.unsupportedContentPlugin).add(_editorDisabled.editorDisabledPlugin).add([_submitEditor.submitEditorPlugin, options.submitEditor]).add(_copyButton.copyButtonPlugin).add(_floatingToolbar.floatingToolbarPlugin).add([_selection.selectionPlugin, options.selection]).add([_codeBlock.codeBlockPlugin, options.codeBlock || {
66
+ }).add([_hyperlink.hyperlinkPlugin, options.hyperlinkOptions]).add([_textFormatting.textFormattingPlugin, options.textFormatting]).add(_width.widthPlugin).add([_quickInsert.quickInsertPlugin, options.quickInsert]).add([_placeholder.placeholderPlugin, options.placeholder]).add(_unsupportedContent.unsupportedContentPlugin).add(_editorDisabled.editorDisabledPlugin).add([_submitEditor.submitEditorPlugin, options.submitEditor]).add(_copyButton.copyButtonPlugin).add(_floatingToolbar.floatingToolbarPlugin).add([_selection.selectionPlugin, _objectSpread(_objectSpread({}, options.selection), {}, {
67
+ __livePage: options.__livePage
68
+ })]).add([_codeBlock.codeBlockPlugin, options.codeBlock || {
65
69
  appearance: 'full-page'
66
70
  }]);
67
71
  return preset;
@@ -84,7 +84,8 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
84
84
  createAnalyticsEvent: createAnalyticsEvent,
85
85
  hyperlinkOptions: _objectSpread({
86
86
  lpLinkPicker: (_featureFlags$lpLinkP = featureFlags.lpLinkPicker) !== null && _featureFlags$lpLinkP !== void 0 ? _featureFlags$lpLinkP : false
87
- }, props.hyperlinkOptions)
87
+ }, props.hyperlinkOptions),
88
+ __livePage: props.__livePage
88
89
  }));
89
90
  var statusMenuDisabled = !props.allowStatus ? true : (0, _typeof2.default)(props.allowStatus) === 'object' ? Boolean(props.allowStatus.menuDisabled) : false;
90
91
  var hasBeforePrimaryToolbar = function hasBeforePrimaryToolbar(components) {
@@ -99,7 +100,8 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
99
100
  allowInsertion: isExpandInsertionEnabled(props),
100
101
  useLongPressSelection: false,
101
102
  appearance: appearance,
102
- allowInteractiveExpand: typeof props.allowExpand === 'boolean' ? props.allowExpand : Boolean(props.allowExpand && props.allowExpand.allowInteractiveExpand !== false)
103
+ allowInteractiveExpand: typeof props.allowExpand === 'boolean' ? props.allowExpand : Boolean(props.allowExpand && props.allowExpand.allowInteractiveExpand !== false),
104
+ __livePage: props.__livePage
103
105
  }], Boolean(props.allowExpand)).maybeAdd(_guideline.guidelinePlugin, Boolean(!isMobile && !isComment && !isChromeless && (props.media || props.allowTables))).maybeAdd([_grid.gridPlugin, {
104
106
  shouldCalcBreakoutGridLines: isFullPage
105
107
  }], Boolean(props.media)).maybeAdd([_media.mediaPlugin, _objectSpread(_objectSpread({}, props.media), {}, {
@@ -15,5 +15,5 @@ var GutterDangerOverlay = function GutterDangerOverlay() {
15
15
  return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n &::after {\n height: 100%;\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 24px;\n background-color: ", ";\n }\n"])), "var(--ds-blanket-danger, none)");
16
16
  };
17
17
  var codeBlockStyles = exports.codeBlockStyles = function codeBlockStyles() {
18
- return (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n .ProseMirror {\n ", "\n }\n\n .ProseMirror li {\n /* if same list item has multiple code blocks we need top margin for all but first */\n > .code-block {\n margin: ", " 0 0 0;\n }\n > .code-block:first-child,\n > .ProseMirror-gapcursor:first-child + .code-block {\n margin-top: 0;\n }\n\n > div:last-of-type.code-block {\n margin-bottom: ", ";\n }\n }\n\n .ProseMirror .code-block.", ":not(.danger) {\n ", "\n }\n\n /* Danger when top level node */\n .ProseMirror .danger.code-block {\n box-shadow: 0 0 0 ", "px\n ", ";\n\n .", " {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n .", " {\n background-color: ", ";\n }\n }\n\n /* Danger when nested node */\n .ProseMirror .danger .code-block {\n .", " {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n .", " {\n background-color: ", ";\n }\n }\n"])), (0, _styles.codeBlockSharedStyles)(), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), _styles.CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-danger, ".concat(_colors.R75, ")"), "var(--ds-text-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), GutterDangerOverlay(), _styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-blanket-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _styles.CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-danger, rgba(255, 143, 115, 0.5))", "var(--ds-text-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), GutterDangerOverlay(), _styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-blanket-danger, rgba(255, 189, 173, 0.5))");
18
+ return (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n .ProseMirror {\n ", "\n }\n\n .ProseMirror li {\n /* if same list item has multiple code blocks we need top margin for all but first */\n > .code-block {\n margin: ", " 0 0 0;\n }\n > .code-block:first-child,\n > .ProseMirror-gapcursor:first-child + .code-block {\n margin-top: 0;\n }\n\n > div:last-of-type.code-block {\n margin-bottom: ", ";\n }\n }\n\n .ProseMirror .code-block.", ":not(.danger) {\n ", "\n }\n\n /* Danger when top level node */\n .ProseMirror .danger.code-block {\n box-shadow: 0 0 0 ", "px\n ", ";\n\n .", " {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n .", " {\n background-color: ", ";\n }\n }\n\n /* Danger when nested node */\n .ProseMirror .danger .code-block {\n .", " {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n .", " {\n background-color: ", ";\n }\n }\n\n .ak-editor-panel__content > .code-block {\n margin: 0 0 0 0 !important;\n }\n"])), (0, _styles.codeBlockSharedStyles)(), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), _styles.CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-danger, ".concat(_colors.R75, ")"), "var(--ds-text-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), GutterDangerOverlay(), _styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-blanket-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _styles.CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-danger, rgba(255, 143, 115, 0.5))", "var(--ds-text-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), GutterDangerOverlay(), _styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-blanket-danger, rgba(255, 189, 173, 0.5))");
19
19
  };
@@ -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 = "192.2.6";
8
+ var version = exports.version = "192.3.0";
@@ -97,7 +97,8 @@ export const useMemoEditorProps = passedProps => {
97
97
  allowAnalyticsGASV3: passedProps.allowAnalyticsGASV3,
98
98
  codeBlock: passedProps.codeBlock,
99
99
  textFormatting: passedProps.textFormatting,
100
- dangerouslyAppendPlugins: passedProps.dangerouslyAppendPlugins
100
+ dangerouslyAppendPlugins: passedProps.dangerouslyAppendPlugins,
101
+ __livePage: passedProps.__livePage
101
102
  };
102
103
  const defaultProps = {
103
104
  appearance: 'comment',
@@ -109,7 +110,7 @@ export const useMemoEditorProps = passedProps => {
109
110
  ...allProps
110
111
  };
111
112
  return nextProps;
112
- }, [passedProps.preset, passedProps.appearance, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.inputSamplingLimit, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.trackValidTransactions, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.performanceTracking, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.hideAvatarGroup, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowJiraIssue, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowNewInsertionBehaviour, passedProps.allowFindReplace, passedProps.UNSAFE_allowBorderMark, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.dangerouslyAppendPlugins]);
113
+ }, [passedProps.preset, passedProps.appearance, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.inputSamplingLimit, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.trackValidTransactions, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.performanceTracking, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.hideAvatarGroup, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowJiraIssue, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowNewInsertionBehaviour, passedProps.allowFindReplace, passedProps.UNSAFE_allowBorderMark, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.dangerouslyAppendPlugins, passedProps.__livePage]);
113
114
  return memodProps;
114
115
  };
115
116
  export default useMemoEditorProps;
@@ -55,7 +55,10 @@ export function createDefaultPreset(options) {
55
55
  return true;
56
56
  }
57
57
  return false;
58
- }).add([hyperlinkPlugin, options.hyperlinkOptions]).add([textFormattingPlugin, options.textFormatting]).add(widthPlugin).add([quickInsertPlugin, options.quickInsert]).add([placeholderPlugin, options.placeholder]).add(unsupportedContentPlugin).add(editorDisabledPlugin).add([submitEditorPlugin, options.submitEditor]).add(copyButtonPlugin).add(floatingToolbarPlugin).add([selectionPlugin, options.selection]).add([codeBlockPlugin, options.codeBlock || {
58
+ }).add([hyperlinkPlugin, options.hyperlinkOptions]).add([textFormattingPlugin, options.textFormatting]).add(widthPlugin).add([quickInsertPlugin, options.quickInsert]).add([placeholderPlugin, options.placeholder]).add(unsupportedContentPlugin).add(editorDisabledPlugin).add([submitEditorPlugin, options.submitEditor]).add(copyButtonPlugin).add(floatingToolbarPlugin).add([selectionPlugin, {
59
+ ...options.selection,
60
+ __livePage: options.__livePage
61
+ }]).add([codeBlockPlugin, options.codeBlock || {
59
62
  appearance: 'full-page'
60
63
  }]);
61
64
  return preset;
@@ -72,7 +72,8 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
72
72
  hyperlinkOptions: {
73
73
  lpLinkPicker: (_featureFlags$lpLinkP = featureFlags.lpLinkPicker) !== null && _featureFlags$lpLinkP !== void 0 ? _featureFlags$lpLinkP : false,
74
74
  ...props.hyperlinkOptions
75
- }
75
+ },
76
+ __livePage: props.__livePage
76
77
  });
77
78
  const statusMenuDisabled = !props.allowStatus ? true : typeof props.allowStatus === 'object' ? Boolean(props.allowStatus.menuDisabled) : false;
78
79
  const hasBeforePrimaryToolbar = components => {
@@ -87,7 +88,8 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
87
88
  allowInsertion: isExpandInsertionEnabled(props),
88
89
  useLongPressSelection: false,
89
90
  appearance: appearance,
90
- allowInteractiveExpand: typeof props.allowExpand === 'boolean' ? props.allowExpand : Boolean(props.allowExpand && props.allowExpand.allowInteractiveExpand !== false)
91
+ allowInteractiveExpand: typeof props.allowExpand === 'boolean' ? props.allowExpand : Boolean(props.allowExpand && props.allowExpand.allowInteractiveExpand !== false),
92
+ __livePage: props.__livePage
91
93
  }], Boolean(props.allowExpand)).maybeAdd(guidelinePlugin, Boolean(!isMobile && !isComment && !isChromeless && (props.media || props.allowTables))).maybeAdd([gridPlugin, {
92
94
  shouldCalcBreakoutGridLines: isFullPage
93
95
  }], Boolean(props.media)).maybeAdd([mediaPlugin, {
@@ -65,4 +65,8 @@ export const codeBlockStyles = () => css`
65
65
  background-color: ${"var(--ds-blanket-danger, rgba(255, 189, 173, 0.5))"};
66
66
  }
67
67
  }
68
+
69
+ .ak-editor-panel__content > .code-block {
70
+ margin: 0 0 0 0 !important;
71
+ }
68
72
  `;
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "192.2.6";
2
+ export const version = "192.3.0";
@@ -100,7 +100,8 @@ export var useMemoEditorProps = function useMemoEditorProps(passedProps) {
100
100
  allowAnalyticsGASV3: passedProps.allowAnalyticsGASV3,
101
101
  codeBlock: passedProps.codeBlock,
102
102
  textFormatting: passedProps.textFormatting,
103
- dangerouslyAppendPlugins: passedProps.dangerouslyAppendPlugins
103
+ dangerouslyAppendPlugins: passedProps.dangerouslyAppendPlugins,
104
+ __livePage: passedProps.__livePage
104
105
  };
105
106
  var defaultProps = {
106
107
  appearance: 'comment',
@@ -109,7 +110,7 @@ export var useMemoEditorProps = function useMemoEditorProps(passedProps) {
109
110
  };
110
111
  var nextProps = _objectSpread(_objectSpread({}, defaultProps), allProps);
111
112
  return nextProps;
112
- }, [passedProps.preset, passedProps.appearance, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.inputSamplingLimit, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.trackValidTransactions, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.performanceTracking, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.hideAvatarGroup, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowJiraIssue, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowNewInsertionBehaviour, passedProps.allowFindReplace, passedProps.UNSAFE_allowBorderMark, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.dangerouslyAppendPlugins]);
113
+ }, [passedProps.preset, passedProps.appearance, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.inputSamplingLimit, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.trackValidTransactions, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.performanceTracking, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.hideAvatarGroup, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowJiraIssue, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowNewInsertionBehaviour, passedProps.allowFindReplace, passedProps.UNSAFE_allowBorderMark, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.dangerouslyAppendPlugins, passedProps.__livePage]);
113
114
  return memodProps;
114
115
  };
115
116
  export default useMemoEditorProps;
@@ -1,3 +1,6 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1
4
  // #region Imports
2
5
 
3
6
  import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
@@ -55,7 +58,9 @@ export function createDefaultPreset(options) {
55
58
  return true;
56
59
  }
57
60
  return false;
58
- }).add([hyperlinkPlugin, options.hyperlinkOptions]).add([textFormattingPlugin, options.textFormatting]).add(widthPlugin).add([quickInsertPlugin, options.quickInsert]).add([placeholderPlugin, options.placeholder]).add(unsupportedContentPlugin).add(editorDisabledPlugin).add([submitEditorPlugin, options.submitEditor]).add(copyButtonPlugin).add(floatingToolbarPlugin).add([selectionPlugin, options.selection]).add([codeBlockPlugin, options.codeBlock || {
61
+ }).add([hyperlinkPlugin, options.hyperlinkOptions]).add([textFormattingPlugin, options.textFormatting]).add(widthPlugin).add([quickInsertPlugin, options.quickInsert]).add([placeholderPlugin, options.placeholder]).add(unsupportedContentPlugin).add(editorDisabledPlugin).add([submitEditorPlugin, options.submitEditor]).add(copyButtonPlugin).add(floatingToolbarPlugin).add([selectionPlugin, _objectSpread(_objectSpread({}, options.selection), {}, {
62
+ __livePage: options.__livePage
63
+ })]).add([codeBlockPlugin, options.codeBlock || {
59
64
  appearance: 'full-page'
60
65
  }]);
61
66
  return preset;
@@ -76,7 +76,8 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
76
76
  createAnalyticsEvent: createAnalyticsEvent,
77
77
  hyperlinkOptions: _objectSpread({
78
78
  lpLinkPicker: (_featureFlags$lpLinkP = featureFlags.lpLinkPicker) !== null && _featureFlags$lpLinkP !== void 0 ? _featureFlags$lpLinkP : false
79
- }, props.hyperlinkOptions)
79
+ }, props.hyperlinkOptions),
80
+ __livePage: props.__livePage
80
81
  }));
81
82
  var statusMenuDisabled = !props.allowStatus ? true : _typeof(props.allowStatus) === 'object' ? Boolean(props.allowStatus.menuDisabled) : false;
82
83
  var hasBeforePrimaryToolbar = function hasBeforePrimaryToolbar(components) {
@@ -91,7 +92,8 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
91
92
  allowInsertion: isExpandInsertionEnabled(props),
92
93
  useLongPressSelection: false,
93
94
  appearance: appearance,
94
- allowInteractiveExpand: typeof props.allowExpand === 'boolean' ? props.allowExpand : Boolean(props.allowExpand && props.allowExpand.allowInteractiveExpand !== false)
95
+ allowInteractiveExpand: typeof props.allowExpand === 'boolean' ? props.allowExpand : Boolean(props.allowExpand && props.allowExpand.allowInteractiveExpand !== false),
96
+ __livePage: props.__livePage
95
97
  }], Boolean(props.allowExpand)).maybeAdd(guidelinePlugin, Boolean(!isMobile && !isComment && !isChromeless && (props.media || props.allowTables))).maybeAdd([gridPlugin, {
96
98
  shouldCalcBreakoutGridLines: isFullPage
97
99
  }], Boolean(props.media)).maybeAdd([mediaPlugin, _objectSpread(_objectSpread({}, props.media), {}, {
@@ -8,5 +8,5 @@ var GutterDangerOverlay = function GutterDangerOverlay() {
8
8
  return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &::after {\n height: 100%;\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 24px;\n background-color: ", ";\n }\n"])), "var(--ds-blanket-danger, none)");
9
9
  };
10
10
  export var codeBlockStyles = function codeBlockStyles() {
11
- return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .ProseMirror {\n ", "\n }\n\n .ProseMirror li {\n /* if same list item has multiple code blocks we need top margin for all but first */\n > .code-block {\n margin: ", " 0 0 0;\n }\n > .code-block:first-child,\n > .ProseMirror-gapcursor:first-child + .code-block {\n margin-top: 0;\n }\n\n > div:last-of-type.code-block {\n margin-bottom: ", ";\n }\n }\n\n .ProseMirror .code-block.", ":not(.danger) {\n ", "\n }\n\n /* Danger when top level node */\n .ProseMirror .danger.code-block {\n box-shadow: 0 0 0 ", "px\n ", ";\n\n .", " {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n .", " {\n background-color: ", ";\n }\n }\n\n /* Danger when nested node */\n .ProseMirror .danger .code-block {\n .", " {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n .", " {\n background-color: ", ";\n }\n }\n"])), codeBlockSharedStyles(), blockNodesVerticalMargin, blockNodesVerticalMargin, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-danger, ".concat(R75, ")"), "var(--ds-text-danger, ".concat(akEditorDeleteIconColor, ")"), GutterDangerOverlay(), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-blanket-danger, ".concat(akEditorDeleteBackground, ")"), CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-danger, rgba(255, 143, 115, 0.5))", "var(--ds-text-danger, ".concat(akEditorDeleteIconColor, ")"), GutterDangerOverlay(), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-blanket-danger, rgba(255, 189, 173, 0.5))");
11
+ return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .ProseMirror {\n ", "\n }\n\n .ProseMirror li {\n /* if same list item has multiple code blocks we need top margin for all but first */\n > .code-block {\n margin: ", " 0 0 0;\n }\n > .code-block:first-child,\n > .ProseMirror-gapcursor:first-child + .code-block {\n margin-top: 0;\n }\n\n > div:last-of-type.code-block {\n margin-bottom: ", ";\n }\n }\n\n .ProseMirror .code-block.", ":not(.danger) {\n ", "\n }\n\n /* Danger when top level node */\n .ProseMirror .danger.code-block {\n box-shadow: 0 0 0 ", "px\n ", ";\n\n .", " {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n .", " {\n background-color: ", ";\n }\n }\n\n /* Danger when nested node */\n .ProseMirror .danger .code-block {\n .", " {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n .", " {\n background-color: ", ";\n }\n }\n\n .ak-editor-panel__content > .code-block {\n margin: 0 0 0 0 !important;\n }\n"])), codeBlockSharedStyles(), blockNodesVerticalMargin, blockNodesVerticalMargin, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-danger, ".concat(R75, ")"), "var(--ds-text-danger, ".concat(akEditorDeleteIconColor, ")"), GutterDangerOverlay(), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-blanket-danger, ".concat(akEditorDeleteBackground, ")"), CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-danger, rgba(255, 143, 115, 0.5))", "var(--ds-text-danger, ".concat(akEditorDeleteIconColor, ")"), GutterDangerOverlay(), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-blanket-danger, rgba(255, 189, 173, 0.5))");
12
12
  };
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "192.2.6";
2
+ export var version = "192.3.0";
@@ -2262,7 +2262,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2262
2262
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2263
2263
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
2264
2264
  }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
2265
- pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions;
2265
+ pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
2266
2266
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
2267
2267
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
2268
2268
  actions: {
@@ -2287,7 +2287,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2287
2287
  actions: {
2288
2288
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2289
2289
  };
2290
- }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2290
+ }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2291
2291
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
2292
2292
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
2293
2293
  commands: {
@@ -31,13 +31,23 @@ export type DefaultPresetPluginOptions = {
31
31
  allowUndoRedoButtons?: boolean;
32
32
  featureFlags?: FeatureFlags;
33
33
  contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
34
+ /**
35
+ * There is expected to be temporary divergence between Live Page editor expand behaviour and the standard expand behaviour.
36
+ *
37
+ * This is expected to be removed in Q4 as Editor and Live Page teams align on a singular behaviour.
38
+ *
39
+ * It is only supported for use by Confluence.
40
+ *
41
+ * @default false
42
+ */
43
+ __livePage?: boolean;
34
44
  };
35
45
  /**
36
46
  * Note: The order that presets are added determines
37
47
  * their placement in the editor toolbar
38
48
  */
39
49
  export declare function createDefaultPreset(options: DefaultPresetPluginOptions): EditorPresetBuilder<["codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
40
- pluginConfiguration: CodeBlockOptions;
50
+ pluginConfiguration: CodeBlockOptions | undefined;
41
51
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
42
52
  sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
43
53
  actions: {
@@ -62,7 +72,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
62
72
  actions: {
63
73
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
64
74
  };
65
- }, CodeBlockOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
75
+ }, CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
66
76
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
67
77
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
68
78
  commands: {
@@ -1399,7 +1409,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1399
1409
  sharedState: FeatureFlags;
1400
1410
  }, FeatureFlags>]>;
1401
1411
  export declare function useDefaultPreset(props: DefaultPresetPluginOptions): EditorPresetBuilder<["codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
1402
- pluginConfiguration: CodeBlockOptions;
1412
+ pluginConfiguration: CodeBlockOptions | undefined;
1403
1413
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
1404
1414
  sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
1405
1415
  actions: {
@@ -1424,7 +1434,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
1424
1434
  actions: {
1425
1435
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1426
1436
  };
1427
- }, CodeBlockOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
1437
+ }, CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
1428
1438
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
1429
1439
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
1430
1440
  commands: {
@@ -2279,7 +2279,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2279
2279
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2280
2280
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
2281
2281
  }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
2282
- pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions;
2282
+ pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
2283
2283
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
2284
2284
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
2285
2285
  actions: {
@@ -2304,7 +2304,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2304
2304
  actions: {
2305
2305
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2306
2306
  };
2307
- }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2307
+ }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2308
2308
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
2309
2309
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
2310
2310
  commands: {
@@ -2265,7 +2265,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2265
2265
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2266
2266
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
2267
2267
  }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
2268
- pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions;
2268
+ pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
2269
2269
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
2270
2270
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
2271
2271
  actions: {
@@ -2290,7 +2290,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2290
2290
  actions: {
2291
2291
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2292
2292
  };
2293
- }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2293
+ }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2294
2294
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
2295
2295
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
2296
2296
  commands: {
@@ -158,6 +158,16 @@ export interface EditorProps extends EditorBaseProps, EditorPluginFeatureProps,
158
158
  */
159
159
  __plugins: EditorPlugin[];
160
160
  };
161
+ /**
162
+ * There is expected to be temporary divergence between Live Page editor expand behaviour and the standard expand behaviour.
163
+ *
164
+ * This is expected to be removed in Q4 as Editor and Live Page teams align on a singular behaviour.
165
+ *
166
+ * It is only supported for use by Confluence.
167
+ *
168
+ * @default false
169
+ */
170
+ __livePage?: boolean;
161
171
  }
162
172
  export interface EditorNextProps extends EditorBaseProps, EditorSharedPropsWithPlugins, EditorProviderProps {
163
173
  preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
@@ -2843,7 +2843,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2843
2843
  }, undefined>,
2844
2844
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>,
2845
2845
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
2846
- pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions;
2846
+ pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
2847
2847
  dependencies: [
2848
2848
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
2849
2849
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
@@ -2874,7 +2874,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2874
2874
  actions: {
2875
2875
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2876
2876
  };
2877
- }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions>,
2877
+ }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined>,
2878
2878
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2879
2879
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
2880
2880
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
@@ -31,6 +31,16 @@ export type DefaultPresetPluginOptions = {
31
31
  allowUndoRedoButtons?: boolean;
32
32
  featureFlags?: FeatureFlags;
33
33
  contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
34
+ /**
35
+ * There is expected to be temporary divergence between Live Page editor expand behaviour and the standard expand behaviour.
36
+ *
37
+ * This is expected to be removed in Q4 as Editor and Live Page teams align on a singular behaviour.
38
+ *
39
+ * It is only supported for use by Confluence.
40
+ *
41
+ * @default false
42
+ */
43
+ __livePage?: boolean;
34
44
  };
35
45
  /**
36
46
  * Note: The order that presets are added determines
@@ -68,7 +78,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
68
78
  "featureFlags"
69
79
  ], [
70
80
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
71
- pluginConfiguration: CodeBlockOptions;
81
+ pluginConfiguration: CodeBlockOptions | undefined;
72
82
  dependencies: [
73
83
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
74
84
  sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
@@ -99,7 +109,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
99
109
  actions: {
100
110
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
101
111
  };
102
- }, CodeBlockOptions>,
112
+ }, CodeBlockOptions | undefined>,
103
113
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
104
114
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
105
115
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
@@ -1760,7 +1770,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
1760
1770
  "featureFlags"
1761
1771
  ], [
1762
1772
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
1763
- pluginConfiguration: CodeBlockOptions;
1773
+ pluginConfiguration: CodeBlockOptions | undefined;
1764
1774
  dependencies: [
1765
1775
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
1766
1776
  sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
@@ -1791,7 +1801,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
1791
1801
  actions: {
1792
1802
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1793
1803
  };
1794
- }, CodeBlockOptions>,
1804
+ }, CodeBlockOptions | undefined>,
1795
1805
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
1796
1806
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
1797
1807
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
@@ -2860,7 +2860,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2860
2860
  }, undefined>,
2861
2861
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>,
2862
2862
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
2863
- pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions;
2863
+ pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
2864
2864
  dependencies: [
2865
2865
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
2866
2866
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
@@ -2891,7 +2891,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2891
2891
  actions: {
2892
2892
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2893
2893
  };
2894
- }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions>,
2894
+ }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined>,
2895
2895
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2896
2896
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
2897
2897
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
@@ -2846,7 +2846,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2846
2846
  }, undefined>,
2847
2847
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>,
2848
2848
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
2849
- pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions;
2849
+ pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
2850
2850
  dependencies: [
2851
2851
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
2852
2852
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
@@ -2877,7 +2877,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2877
2877
  actions: {
2878
2878
  insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2879
2879
  };
2880
- }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions>,
2880
+ }, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined>,
2881
2881
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2882
2882
  pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
2883
2883
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
@@ -158,6 +158,16 @@ export interface EditorProps extends EditorBaseProps, EditorPluginFeatureProps,
158
158
  */
159
159
  __plugins: EditorPlugin[];
160
160
  };
161
+ /**
162
+ * There is expected to be temporary divergence between Live Page editor expand behaviour and the standard expand behaviour.
163
+ *
164
+ * This is expected to be removed in Q4 as Editor and Live Page teams align on a singular behaviour.
165
+ *
166
+ * It is only supported for use by Confluence.
167
+ *
168
+ * @default false
169
+ */
170
+ __livePage?: boolean;
161
171
  }
162
172
  export interface EditorNextProps extends EditorBaseProps, EditorSharedPropsWithPlugins, EditorProviderProps {
163
173
  preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "192.2.6",
3
+ "version": "192.3.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,20 +46,20 @@
46
46
  "@atlaskit/analytics-next": "^9.2.0",
47
47
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
48
48
  "@atlaskit/button": "^17.4.0",
49
- "@atlaskit/editor-common": "^78.3.0",
49
+ "@atlaskit/editor-common": "^78.4.0",
50
50
  "@atlaskit/editor-json-transformer": "^8.10.0",
51
51
  "@atlaskit/editor-plugins": "^1.4.0",
52
52
  "@atlaskit/editor-prosemirror": "3.0.0",
53
53
  "@atlaskit/editor-shared-styles": "^2.9.0",
54
54
  "@atlaskit/emoji": "^67.6.0",
55
- "@atlaskit/icon": "^22.0.0",
55
+ "@atlaskit/icon": "^22.1.0",
56
56
  "@atlaskit/media-card": "^77.10.0",
57
57
  "@atlaskit/mention": "^23.0.0",
58
58
  "@atlaskit/platform-feature-flags": "^0.2.0",
59
59
  "@atlaskit/spinner": "^16.0.0",
60
60
  "@atlaskit/task-decision": "^17.9.0",
61
61
  "@atlaskit/theme": "^12.6.0",
62
- "@atlaskit/tokens": "^1.37.0",
62
+ "@atlaskit/tokens": "^1.38.0",
63
63
  "@atlaskit/tooltip": "^18.1.0",
64
64
  "@atlaskit/ufo": "^0.2.0",
65
65
  "@atlaskit/width-detector": "^4.1.0",
@@ -89,7 +89,7 @@
89
89
  "@atlaskit/adf-utils": "^19.0.0",
90
90
  "@atlaskit/analytics-listeners": "^8.9.1",
91
91
  "@atlaskit/checkbox": "^13.0.0",
92
- "@atlaskit/collab-provider": "9.24.1",
92
+ "@atlaskit/collab-provider": "9.25.0",
93
93
  "@atlaskit/dropdown-menu": "^12.5.0",
94
94
  "@atlaskit/editor-plugin-card": "^1.0.0",
95
95
  "@atlaskit/editor-plugin-editor-viewmode": "^1.0.0",
@@ -104,8 +104,8 @@
104
104
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
105
105
  "@atlaskit/media-test-helpers": "^33.0.27",
106
106
  "@atlaskit/modal-dialog": "^12.10.0",
107
- "@atlaskit/primitives": "^2.0.0",
108
- "@atlaskit/renderer": "^109.4.0",
107
+ "@atlaskit/primitives": "^2.1.0",
108
+ "@atlaskit/renderer": "^109.5.0",
109
109
  "@atlaskit/select": "^17.1.0",
110
110
  "@atlaskit/smart-card": "^26.47.0",
111
111
  "@atlaskit/synchrony-test-helpers": "^2.3.0",
@@ -115,7 +115,7 @@
115
115
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
116
116
  "@atlassian/feature-flags-test-utils": "^0.2.0",
117
117
  "@atlassian/link-picker-plugins": "^24.0.0",
118
- "@atlassian/search-provider": "2.4.21",
118
+ "@atlassian/search-provider": "2.4.22",
119
119
  "@atlassian/ufo": "^0.2.0",
120
120
  "@emotion/jest": "^11.8.0",
121
121
  "@storybook/addon-knobs": "^5.3.18",
@@ -161,12 +161,20 @@
161
161
  },
162
162
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
163
163
  "platform-feature-flags": {
164
+ "platform.editor.live-pages-expand-divergence": {
165
+ "type": "boolean",
166
+ "referenceOnly": "true"
167
+ },
164
168
  "platform.editor.custom-table-width": {
165
169
  "type": "boolean"
166
170
  },
167
171
  "platform.editor.table-sticky-scrollbar": {
168
172
  "type": "boolean"
169
173
  },
174
+ "platform.editor.table.insert-last-column-btn-stays-in-place": {
175
+ "type": "boolean",
176
+ "referenceOnly": "true"
177
+ },
170
178
  "platform.editor.media.extended-resize-experience": {
171
179
  "type": "boolean"
172
180
  },
@@ -244,4 +252,4 @@
244
252
  "checkDevDependencies": true
245
253
  }
246
254
  }
247
- }
255
+ }