@atlaskit/editor-core 242.0.17 → 242.1.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,27 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 242.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`1271afd81bc66`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1271afd81bc66) -
8
+ Clicking blank space below the document (the scroll gutter, or a content component wrapper's own
9
+ box) now adds or focuses a final line on the first click (behind
10
+ platform_editor_scroll_gutter_click_add_line)
11
+
12
+ ### Patch Changes
13
+
14
+ - [`49fcffc905097`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/49fcffc905097) -
15
+ Clean up experiment `platform_editor_use_vanilla_components`, keeping the shipped vanilla DOM
16
+ tooltip implementations and removing the React-based control paths.
17
+ - Updated dependencies
18
+
19
+ ## 242.0.18
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 242.0.17
4
26
 
5
27
  ### Patch Changes
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.clickAreaClickHandler = void 0;
7
7
  var _dom = require("@atlaskit/editor-common/utils/dom");
8
+ var _fg = require("@atlaskit/platform-feature-flags/fg");
8
9
  var _checkForModal = require("./checkForModal");
9
10
  var _contentComponentWrapper = require("./ClickAreaBlock/contentComponentWrapper");
10
11
  var _outsideProsemirrorEditorClickHandler = require("./outsideProsemirrorEditorClickHandler");
@@ -23,6 +24,34 @@ var insideContentArea = function insideContentArea(ref) {
23
24
  var insideProseMirrorEditableArea = function insideProseMirrorEditableArea(ref) {
24
25
  return Boolean(ref === null || ref === void 0 ? void 0 : ref.closest('.ProseMirror'));
25
26
  };
27
+
28
+ /**
29
+ * The scroll gutter is the blank space below the document. A click on the gutter element itself
30
+ * (not on UI such as floating toolbars rendered over it) should continue the document.
31
+ */
32
+ var isScrollGutter = function isScrollGutter(target) {
33
+ return target.hasAttribute('data-editor-scroll-gutter');
34
+ };
35
+
36
+ /**
37
+ * Plain primary-button press. On macOS Ctrl+click opens the context menu, so modifiers are excluded
38
+ * along with right and middle clicks.
39
+ */
40
+ var isPlainPrimaryPress = function isPlainPrimaryPress(event) {
41
+ return event.button === 0 && !event.ctrlKey && !event.shiftKey && !event.metaKey && !event.altKey;
42
+ };
43
+
44
+ /**
45
+ * A click lands on a content component's wrapper itself only where none of its content is under the
46
+ * pointer, for example the slot a relatively offset footer leaves behind. Products can nest a wrapper
47
+ * inside their content component to mark such blank space.
48
+ */
49
+ var isContentComponentWrapper = function isContentComponentWrapper(target) {
50
+ return target.hasAttribute(_contentComponentWrapper.ignoreAttribute);
51
+ };
52
+ var isBelowDocument = function isBelowDocument(view, event) {
53
+ return event.clientY > view.dom.getBoundingClientRect().bottom;
54
+ };
26
55
  var clickAreaClickHandler = exports.clickAreaClickHandler = function clickAreaClickHandler(view, event) {
27
56
  var _view$hasFocus, _target$parentElement, _event$currentTarget, _event$currentTarget2;
28
57
  var isEditorFocused = !!(view !== null && view !== void 0 && (_view$hasFocus = view.hasFocus) !== null && _view$hasFocus !== void 0 && _view$hasFocus.call(view));
@@ -76,8 +105,13 @@ var clickAreaClickHandler = exports.clickAreaClickHandler = function clickAreaCl
76
105
  var edgeCaseScenario2 = !isTargetInsideContentArea && isEditorFocused;
77
106
  var edgeCaseScenario3 = isTargetContentArea && !isTargetInsideContentArea && !isEditorFocused;
78
107
  var edgeCaseScenario4 = isEventComingFromContentArea && !isTargetContentArea && !isTargetInsideContentArea && !isEditorFocused;
79
- var edgeCases = edgeCaseScenario1 || edgeCaseScenario2 || edgeCaseScenario3 || edgeCaseScenario4;
80
- var isClickOutsideEditor = edgeCases && !isDatasourcePopupClicked && !isEventComingFromInlineCommentPopup && !isButtonClicked && !isInputClicked && !isTextAreaClicked && !isPopupClicked && !isBreadcrumbClicked && !isEditorPopupTextSelected && !isContentComponent && (0, _checkForModal.checkForModal)(target);
108
+ var isScrollGutterClickedWhileFocused = isEditorFocused && isScrollGutter(target);
109
+ var isContentComponentWrapperClicked = isContentComponentWrapper(target);
110
+
111
+ // The gate is read before isBelowDocument so gate OFF adds no layout read.
112
+ var isBlankSpaceBelowDocumentClicked = (isScrollGutterClickedWhileFocused || isContentComponentWrapperClicked) && isPlainPrimaryPress(event) && (0, _fg.fg)('platform_editor_scroll_gutter_click_add_line') && (isScrollGutterClickedWhileFocused || isBelowDocument(view, event));
113
+ var edgeCases = edgeCaseScenario1 || edgeCaseScenario2 || edgeCaseScenario3 || edgeCaseScenario4 || isBlankSpaceBelowDocumentClicked;
114
+ var isClickOutsideEditor = edgeCases && !isDatasourcePopupClicked && !isEventComingFromInlineCommentPopup && !isButtonClicked && !isInputClicked && !isTextAreaClicked && !isPopupClicked && !isBreadcrumbClicked && !isEditorPopupTextSelected && (!isContentComponent || isBlankSpaceBelowDocumentClicked) && (0, _checkForModal.checkForModal)(target);
81
115
 
82
116
  // click was within editor container and focus should be brought to input
83
117
  if (isClickOutsideEditor && view) {
@@ -132,7 +132,7 @@
132
132
  .cc-5f6cgr .ProseMirror span[data-placeholder]{color:var(--ds-text-subtlest,#6b6e76);display:inline}.cc-5f6cgr .ProseMirror span.pm-placeholder{display:inline;color:var(--ds-text-subtlest,#6b6e76)}.cc-5f6cgr .ProseMirror span.pm-placeholder__text{display:inline;color:var(--ds-text-subtlest,#6b6e76)}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node{background-color:var(--ds-background-selected,#e9f2fe)}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node ::selection, .cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node::selection{background-color:transparent}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node ::-moz-selection, .cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node::-moz-selection{background-color:transparent}.cc-5f6cgr .ProseMirror span.pm-placeholder__text[data-placeholder]:after{color:var(--ds-text-subtlest,#6b6e76);cursor:text;content:attr(data-placeholder);display:inline}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-cursor{display:inline;pointer-events:none;position:relative}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-cursor:after{content:"";display:inline;top:0;position:absolute;border-right:1px solid var(--ds-border,#0b120e24)}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-selection{display:inline;pointer-events:none;position:relative;background-color:Highlight;color:HighlightText}
133
133
  .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--left, .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container--left{left:-25px}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--right, .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container--right{right:-25px}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container{height:calc(100% - 4px)}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container{height:calc(100% - 8px)}.cc-aqv28l .fabric-editor-breakout-mark:has(.first-node-in-document)>.pm-breakout-resize-handle-container{height:100%}.cc-aqv28l .pm-breakout-resize-handle-container{position:relative;align-self:end;grid-row:1;grid-column:1;height:100%;width:7px}.cc-aqv28l .pm-breakout-resize-handle-container--left{justify-self:start}.cc-aqv28l .pm-breakout-resize-handle-container--right{justify-self:end}.cc-aqv28l .pm-breakout-resize-handle-rail{position:relative;display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);transition:background-color .2s,visibility .2s,opacity .2s;z-index:2;opacity:0}.cc-aqv28l .pm-breakout-resize-handle-rail:hover{background:var(--ds-background-selected,#e9f2fe)}.cc-aqv28l .pm-breakout-resize-handle-rail:hover .pm-breakout-resize-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-aqv28l .pm-breakout-resize-tooltip-anchor{position:absolute;left:0;right:0;height:0;pointer-events:none;top:var(--pm-breakout-resize-tooltip-anchor-top,0)}.cc-aqv28l .pm-breakout-resize-handle-container--active{background:var(--ds-background-selected,#e9f2fe)}.cc-aqv28l .pm-breakout-resize-handle-container--active .pm-breakout-resize-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-aqv28l .pm-breakout-resize-handle-hit-box{position:absolute;top:0;bottom:0;left:-20px;right:-20px;z-index:0}.cc-aqv28l .pm-breakout-resize-handle-thumb{min-width:3px;height:clamp(27px,calc(100% - 2pc),6pc);background:var(--ds-border,#0b120e24);border-radius:var(--ds-radius-medium,6px);position:sticky;top:var(--ds-space-150,9pt);bottom:var(--ds-space-150,9pt)}
134
134
  .cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container--left{left:-5px}.cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container--right{right:-5px}.cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-183gdj8 .fabric-editor-breakout-mark:has(.first-node-in-document.first-node-in-document)>.pm-breakout-resize-handle-container{height:100%}
135
- .cc-r930n9 .pm-breakout-resize-handle-rail-wrapper{display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);z-index:2}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper [role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){height:100%;width:100%}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper .pm-breakout-resize-handle-rail-inside-tooltip{height:100%}
135
+ .cc-r930n9 .pm-breakout-resize-handle-rail-wrapper{display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);z-index:2}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper [role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){height:100%;width:100%}
136
136
  .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--left, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container--left{left:-24px}.cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--right, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container--right{right:-24px}.cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}
137
137
  @container editor-area (max-width: 600px){.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container, .cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container{opacity:0;visibility:hidden}.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item{will-change:width}.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item.display-handle>.resizer-handle-wrapper>.resizer-handle, .cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item:hover>.resizer-handle-wrapper>.resizer-handle{visibility:hidden;opacity:0}}
138
138
  .cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel_c1])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel_c1])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule])>.pm-breakout-resize-handle-container{align-self:center;height:40px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule].first-node-in-document)>.pm-breakout-resize-handle-container{transform:translateY(-14px)}
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "242.0.16";
9
+ var version = exports.version = "242.0.18";
@@ -1,4 +1,5 @@
1
1
  import { closestElement } from '@atlaskit/editor-common/utils/dom';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
2
3
  import { checkForModal } from './checkForModal';
3
4
  import { ignoreAttribute } from './ClickAreaBlock/contentComponentWrapper';
4
5
  import { outsideProsemirrorEditorClickHandler } from './outsideProsemirrorEditorClickHandler';
@@ -18,6 +19,26 @@ const insideContentArea = ref => {
18
19
  const insideProseMirrorEditableArea = ref => {
19
20
  return Boolean(ref === null || ref === void 0 ? void 0 : ref.closest('.ProseMirror'));
20
21
  };
22
+
23
+ /**
24
+ * The scroll gutter is the blank space below the document. A click on the gutter element itself
25
+ * (not on UI such as floating toolbars rendered over it) should continue the document.
26
+ */
27
+ const isScrollGutter = target => target.hasAttribute('data-editor-scroll-gutter');
28
+
29
+ /**
30
+ * Plain primary-button press. On macOS Ctrl+click opens the context menu, so modifiers are excluded
31
+ * along with right and middle clicks.
32
+ */
33
+ const isPlainPrimaryPress = event => event.button === 0 && !event.ctrlKey && !event.shiftKey && !event.metaKey && !event.altKey;
34
+
35
+ /**
36
+ * A click lands on a content component's wrapper itself only where none of its content is under the
37
+ * pointer, for example the slot a relatively offset footer leaves behind. Products can nest a wrapper
38
+ * inside their content component to mark such blank space.
39
+ */
40
+ const isContentComponentWrapper = target => target.hasAttribute(ignoreAttribute);
41
+ const isBelowDocument = (view, event) => event.clientY > view.dom.getBoundingClientRect().bottom;
21
42
  const clickAreaClickHandler = (view, event) => {
22
43
  var _view$hasFocus, _target$parentElement, _event$currentTarget, _event$currentTarget2;
23
44
  const isEditorFocused = !!(view !== null && view !== void 0 && (_view$hasFocus = view.hasFocus) !== null && _view$hasFocus !== void 0 && _view$hasFocus.call(view));
@@ -71,8 +92,13 @@ const clickAreaClickHandler = (view, event) => {
71
92
  const edgeCaseScenario2 = !isTargetInsideContentArea && isEditorFocused;
72
93
  const edgeCaseScenario3 = isTargetContentArea && !isTargetInsideContentArea && !isEditorFocused;
73
94
  const edgeCaseScenario4 = isEventComingFromContentArea && !isTargetContentArea && !isTargetInsideContentArea && !isEditorFocused;
74
- const edgeCases = edgeCaseScenario1 || edgeCaseScenario2 || edgeCaseScenario3 || edgeCaseScenario4;
75
- const isClickOutsideEditor = edgeCases && !isDatasourcePopupClicked && !isEventComingFromInlineCommentPopup && !isButtonClicked && !isInputClicked && !isTextAreaClicked && !isPopupClicked && !isBreadcrumbClicked && !isEditorPopupTextSelected && !isContentComponent && checkForModal(target);
95
+ const isScrollGutterClickedWhileFocused = isEditorFocused && isScrollGutter(target);
96
+ const isContentComponentWrapperClicked = isContentComponentWrapper(target);
97
+
98
+ // The gate is read before isBelowDocument so gate OFF adds no layout read.
99
+ const isBlankSpaceBelowDocumentClicked = (isScrollGutterClickedWhileFocused || isContentComponentWrapperClicked) && isPlainPrimaryPress(event) && fg('platform_editor_scroll_gutter_click_add_line') && (isScrollGutterClickedWhileFocused || isBelowDocument(view, event));
100
+ const edgeCases = edgeCaseScenario1 || edgeCaseScenario2 || edgeCaseScenario3 || edgeCaseScenario4 || isBlankSpaceBelowDocumentClicked;
101
+ const isClickOutsideEditor = edgeCases && !isDatasourcePopupClicked && !isEventComingFromInlineCommentPopup && !isButtonClicked && !isInputClicked && !isTextAreaClicked && !isPopupClicked && !isBreadcrumbClicked && !isEditorPopupTextSelected && (!isContentComponent || isBlankSpaceBelowDocumentClicked) && checkForModal(target);
76
102
 
77
103
  // click was within editor container and focus should be brought to input
78
104
  if (isClickOutsideEditor && view) {
@@ -132,7 +132,7 @@
132
132
  .cc-5f6cgr .ProseMirror span[data-placeholder]{color:var(--ds-text-subtlest,#6b6e76);display:inline}.cc-5f6cgr .ProseMirror span.pm-placeholder{display:inline;color:var(--ds-text-subtlest,#6b6e76)}.cc-5f6cgr .ProseMirror span.pm-placeholder__text{display:inline;color:var(--ds-text-subtlest,#6b6e76)}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node{background-color:var(--ds-background-selected,#e9f2fe)}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node ::selection, .cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node::selection{background-color:transparent}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node ::-moz-selection, .cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node::-moz-selection{background-color:transparent}.cc-5f6cgr .ProseMirror span.pm-placeholder__text[data-placeholder]:after{color:var(--ds-text-subtlest,#6b6e76);cursor:text;content:attr(data-placeholder);display:inline}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-cursor{display:inline;pointer-events:none;position:relative}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-cursor:after{content:"";display:inline;top:0;position:absolute;border-right:1px solid var(--ds-border,#0b120e24)}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-selection{display:inline;pointer-events:none;position:relative;background-color:Highlight;color:HighlightText}
133
133
  .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--left, .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container--left{left:-25px}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--right, .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container--right{right:-25px}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container{height:calc(100% - 4px)}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container{height:calc(100% - 8px)}.cc-aqv28l .fabric-editor-breakout-mark:has(.first-node-in-document)>.pm-breakout-resize-handle-container{height:100%}.cc-aqv28l .pm-breakout-resize-handle-container{position:relative;align-self:end;grid-row:1;grid-column:1;height:100%;width:7px}.cc-aqv28l .pm-breakout-resize-handle-container--left{justify-self:start}.cc-aqv28l .pm-breakout-resize-handle-container--right{justify-self:end}.cc-aqv28l .pm-breakout-resize-handle-rail{position:relative;display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);transition:background-color .2s,visibility .2s,opacity .2s;z-index:2;opacity:0}.cc-aqv28l .pm-breakout-resize-handle-rail:hover{background:var(--ds-background-selected,#e9f2fe)}.cc-aqv28l .pm-breakout-resize-handle-rail:hover .pm-breakout-resize-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-aqv28l .pm-breakout-resize-tooltip-anchor{position:absolute;left:0;right:0;height:0;pointer-events:none;top:var(--pm-breakout-resize-tooltip-anchor-top,0)}.cc-aqv28l .pm-breakout-resize-handle-container--active{background:var(--ds-background-selected,#e9f2fe)}.cc-aqv28l .pm-breakout-resize-handle-container--active .pm-breakout-resize-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-aqv28l .pm-breakout-resize-handle-hit-box{position:absolute;top:0;bottom:0;left:-20px;right:-20px;z-index:0}.cc-aqv28l .pm-breakout-resize-handle-thumb{min-width:3px;height:clamp(27px,calc(100% - 2pc),6pc);background:var(--ds-border,#0b120e24);border-radius:var(--ds-radius-medium,6px);position:sticky;top:var(--ds-space-150,9pt);bottom:var(--ds-space-150,9pt)}
134
134
  .cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container--left{left:-5px}.cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container--right{right:-5px}.cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-183gdj8 .fabric-editor-breakout-mark:has(.first-node-in-document.first-node-in-document)>.pm-breakout-resize-handle-container{height:100%}
135
- .cc-r930n9 .pm-breakout-resize-handle-rail-wrapper{display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);z-index:2}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper [role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){height:100%;width:100%}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper .pm-breakout-resize-handle-rail-inside-tooltip{height:100%}
135
+ .cc-r930n9 .pm-breakout-resize-handle-rail-wrapper{display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);z-index:2}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper [role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){height:100%;width:100%}
136
136
  .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--left, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container--left{left:-24px}.cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--right, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container--right{right:-24px}.cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}
137
137
  @container editor-area (max-width: 600px){.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container, .cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container{opacity:0;visibility:hidden}.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item{will-change:width}.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item.display-handle>.resizer-handle-wrapper>.resizer-handle, .cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item:hover>.resizer-handle-wrapper>.resizer-handle{visibility:hidden;opacity:0}}
138
138
  .cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel_c1])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel_c1])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule])>.pm-breakout-resize-handle-container{align-self:center;height:40px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule].first-node-in-document)>.pm-breakout-resize-handle-container{transform:translateY(-14px)}
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "242.0.16";
3
+ export const version = "242.0.18";
@@ -1,4 +1,5 @@
1
1
  import { closestElement } from '@atlaskit/editor-common/utils/dom';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
2
3
  import { checkForModal } from './checkForModal';
3
4
  import { ignoreAttribute } from './ClickAreaBlock/contentComponentWrapper';
4
5
  import { outsideProsemirrorEditorClickHandler } from './outsideProsemirrorEditorClickHandler';
@@ -18,6 +19,34 @@ var insideContentArea = function insideContentArea(ref) {
18
19
  var insideProseMirrorEditableArea = function insideProseMirrorEditableArea(ref) {
19
20
  return Boolean(ref === null || ref === void 0 ? void 0 : ref.closest('.ProseMirror'));
20
21
  };
22
+
23
+ /**
24
+ * The scroll gutter is the blank space below the document. A click on the gutter element itself
25
+ * (not on UI such as floating toolbars rendered over it) should continue the document.
26
+ */
27
+ var isScrollGutter = function isScrollGutter(target) {
28
+ return target.hasAttribute('data-editor-scroll-gutter');
29
+ };
30
+
31
+ /**
32
+ * Plain primary-button press. On macOS Ctrl+click opens the context menu, so modifiers are excluded
33
+ * along with right and middle clicks.
34
+ */
35
+ var isPlainPrimaryPress = function isPlainPrimaryPress(event) {
36
+ return event.button === 0 && !event.ctrlKey && !event.shiftKey && !event.metaKey && !event.altKey;
37
+ };
38
+
39
+ /**
40
+ * A click lands on a content component's wrapper itself only where none of its content is under the
41
+ * pointer, for example the slot a relatively offset footer leaves behind. Products can nest a wrapper
42
+ * inside their content component to mark such blank space.
43
+ */
44
+ var isContentComponentWrapper = function isContentComponentWrapper(target) {
45
+ return target.hasAttribute(ignoreAttribute);
46
+ };
47
+ var isBelowDocument = function isBelowDocument(view, event) {
48
+ return event.clientY > view.dom.getBoundingClientRect().bottom;
49
+ };
21
50
  var clickAreaClickHandler = function clickAreaClickHandler(view, event) {
22
51
  var _view$hasFocus, _target$parentElement, _event$currentTarget, _event$currentTarget2;
23
52
  var isEditorFocused = !!(view !== null && view !== void 0 && (_view$hasFocus = view.hasFocus) !== null && _view$hasFocus !== void 0 && _view$hasFocus.call(view));
@@ -71,8 +100,13 @@ var clickAreaClickHandler = function clickAreaClickHandler(view, event) {
71
100
  var edgeCaseScenario2 = !isTargetInsideContentArea && isEditorFocused;
72
101
  var edgeCaseScenario3 = isTargetContentArea && !isTargetInsideContentArea && !isEditorFocused;
73
102
  var edgeCaseScenario4 = isEventComingFromContentArea && !isTargetContentArea && !isTargetInsideContentArea && !isEditorFocused;
74
- var edgeCases = edgeCaseScenario1 || edgeCaseScenario2 || edgeCaseScenario3 || edgeCaseScenario4;
75
- var isClickOutsideEditor = edgeCases && !isDatasourcePopupClicked && !isEventComingFromInlineCommentPopup && !isButtonClicked && !isInputClicked && !isTextAreaClicked && !isPopupClicked && !isBreadcrumbClicked && !isEditorPopupTextSelected && !isContentComponent && checkForModal(target);
103
+ var isScrollGutterClickedWhileFocused = isEditorFocused && isScrollGutter(target);
104
+ var isContentComponentWrapperClicked = isContentComponentWrapper(target);
105
+
106
+ // The gate is read before isBelowDocument so gate OFF adds no layout read.
107
+ var isBlankSpaceBelowDocumentClicked = (isScrollGutterClickedWhileFocused || isContentComponentWrapperClicked) && isPlainPrimaryPress(event) && fg('platform_editor_scroll_gutter_click_add_line') && (isScrollGutterClickedWhileFocused || isBelowDocument(view, event));
108
+ var edgeCases = edgeCaseScenario1 || edgeCaseScenario2 || edgeCaseScenario3 || edgeCaseScenario4 || isBlankSpaceBelowDocumentClicked;
109
+ var isClickOutsideEditor = edgeCases && !isDatasourcePopupClicked && !isEventComingFromInlineCommentPopup && !isButtonClicked && !isInputClicked && !isTextAreaClicked && !isPopupClicked && !isBreadcrumbClicked && !isEditorPopupTextSelected && (!isContentComponent || isBlankSpaceBelowDocumentClicked) && checkForModal(target);
76
110
 
77
111
  // click was within editor container and focus should be brought to input
78
112
  if (isClickOutsideEditor && view) {
@@ -132,7 +132,7 @@
132
132
  .cc-5f6cgr .ProseMirror span[data-placeholder]{color:var(--ds-text-subtlest,#6b6e76);display:inline}.cc-5f6cgr .ProseMirror span.pm-placeholder{display:inline;color:var(--ds-text-subtlest,#6b6e76)}.cc-5f6cgr .ProseMirror span.pm-placeholder__text{display:inline;color:var(--ds-text-subtlest,#6b6e76)}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node{background-color:var(--ds-background-selected,#e9f2fe)}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node ::selection, .cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node::selection{background-color:transparent}.cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node ::-moz-selection, .cc-5f6cgr .ProseMirror span.pm-placeholder.ak-editor-selected-node::-moz-selection{background-color:transparent}.cc-5f6cgr .ProseMirror span.pm-placeholder__text[data-placeholder]:after{color:var(--ds-text-subtlest,#6b6e76);cursor:text;content:attr(data-placeholder);display:inline}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-cursor{display:inline;pointer-events:none;position:relative}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-cursor:after{content:"";display:inline;top:0;position:absolute;border-right:1px solid var(--ds-border,#0b120e24)}.cc-5f6cgr .ProseMirror .ProseMirror-fake-text-selection{display:inline;pointer-events:none;position:relative;background-color:Highlight;color:HighlightText}
133
133
  .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--left, .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container--left{left:-25px}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--right, .cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container--right{right:-25px}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container{height:calc(100% - 4px)}.cc-aqv28l .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container{height:calc(100% - 8px)}.cc-aqv28l .fabric-editor-breakout-mark:has(.first-node-in-document)>.pm-breakout-resize-handle-container{height:100%}.cc-aqv28l .pm-breakout-resize-handle-container{position:relative;align-self:end;grid-row:1;grid-column:1;height:100%;width:7px}.cc-aqv28l .pm-breakout-resize-handle-container--left{justify-self:start}.cc-aqv28l .pm-breakout-resize-handle-container--right{justify-self:end}.cc-aqv28l .pm-breakout-resize-handle-rail{position:relative;display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);transition:background-color .2s,visibility .2s,opacity .2s;z-index:2;opacity:0}.cc-aqv28l .pm-breakout-resize-handle-rail:hover{background:var(--ds-background-selected,#e9f2fe)}.cc-aqv28l .pm-breakout-resize-handle-rail:hover .pm-breakout-resize-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-aqv28l .pm-breakout-resize-tooltip-anchor{position:absolute;left:0;right:0;height:0;pointer-events:none;top:var(--pm-breakout-resize-tooltip-anchor-top,0)}.cc-aqv28l .pm-breakout-resize-handle-container--active{background:var(--ds-background-selected,#e9f2fe)}.cc-aqv28l .pm-breakout-resize-handle-container--active .pm-breakout-resize-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-aqv28l .pm-breakout-resize-handle-hit-box{position:absolute;top:0;bottom:0;left:-20px;right:-20px;z-index:0}.cc-aqv28l .pm-breakout-resize-handle-thumb{min-width:3px;height:clamp(27px,calc(100% - 2pc),6pc);background:var(--ds-border,#0b120e24);border-radius:var(--ds-radius-medium,6px);position:sticky;top:var(--ds-space-150,9pt);bottom:var(--ds-space-150,9pt)}
134
134
  .cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container--left{left:-5px}.cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container--right{right:-5px}.cc-183gdj8 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=codeBlock])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-183gdj8 .fabric-editor-breakout-mark:has(.first-node-in-document.first-node-in-document)>.pm-breakout-resize-handle-container{height:100%}
135
- .cc-r930n9 .pm-breakout-resize-handle-rail-wrapper{display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);z-index:2}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper [role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){height:100%;width:100%}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper .pm-breakout-resize-handle-rail-inside-tooltip{height:100%}
135
+ .cc-r930n9 .pm-breakout-resize-handle-rail-wrapper{display:flex;align-items:center;justify-content:center;height:100%;cursor:col-resize;border-radius:var(--ds-radius-small,4px);z-index:2}.cc-r930n9 .pm-breakout-resize-handle-rail-wrapper [role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){height:100%;width:100%}
136
136
  .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--left, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container--left{left:-24px}.cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--right, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container--right{right:-24px}.cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container, .cc-16ydu7e .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}
137
137
  @container editor-area (max-width: 600px){.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container, .cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection])>.pm-breakout-resize-handle-container{opacity:0;visibility:hidden}.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item{will-change:width}.cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item.display-handle>.resizer-handle-wrapper>.resizer-handle, .cc-17lp2hq .fabric-editor-breakout-mark:has([data-prosemirror-node-name=layoutSection]) .resizer-item:hover>.resizer-handle-wrapper>.resizer-handle{visibility:hidden;opacity:0}}
138
138
  .cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel_c1])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel_c1])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule])>.pm-breakout-resize-handle-container--right{right:-4px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule])>.pm-breakout-resize-handle-container{align-self:center;height:40px}.cc-1p753u3 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule].first-node-in-document)>.pm-breakout-resize-handle-container{transform:translateY(-14px)}
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "242.0.16";
3
+ export var version = "242.0.18";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "242.0.17",
3
+ "version": "242.1.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -71,12 +71,12 @@
71
71
  "@atlaskit/platform-feature-experiments": "^0.3.0",
72
72
  "@atlaskit/platform-feature-flags": "^2.2.0",
73
73
  "@atlaskit/popup": "^10.2.0",
74
- "@atlaskit/primitives": "^22.6.0",
74
+ "@atlaskit/primitives": "^22.7.0",
75
75
  "@atlaskit/react-compiler-gating": "^0.2.0",
76
76
  "@atlaskit/react-ufo": "^8.4.0",
77
77
  "@atlaskit/task-decision": "^21.14.0",
78
- "@atlaskit/tmp-editor-statsig": "^258.0.0",
79
- "@atlaskit/tokens": "^20.9.0",
78
+ "@atlaskit/tmp-editor-statsig": "^259.0.0",
79
+ "@atlaskit/tokens": "^20.10.0",
80
80
  "@atlaskit/tooltip": "^24.4.0",
81
81
  "@atlaskit/width-detector": "^7.2.0",
82
82
  "@babel/runtime": "^7.0.0",
@@ -91,7 +91,7 @@
91
91
  "uuid": "^11.1.1"
92
92
  },
93
93
  "peerDependencies": {
94
- "@atlaskit/editor-common": "^134.8.0",
94
+ "@atlaskit/editor-common": "^134.9.0",
95
95
  "@atlaskit/link-provider": "^6.1.0",
96
96
  "@atlaskit/media-core": "^39.0.0",
97
97
  "react": "^18.2.0 || ^19.2.0",
@@ -111,7 +111,7 @@
111
111
  "@atlaskit/collab-provider": "^39.1.0",
112
112
  "@atlaskit/docs": "^12.3.0",
113
113
  "@atlaskit/drawer": "^14.3.0",
114
- "@atlaskit/editor-common": "^134.8.0",
114
+ "@atlaskit/editor-common": "^134.9.0",
115
115
  "@atlaskit/editor-plugin-alignment": "^31.1.0",
116
116
  "@atlaskit/editor-plugin-annotation": "^30.0.0",
117
117
  "@atlaskit/editor-plugin-base": "^31.0.0",
@@ -130,7 +130,7 @@
130
130
  "@atlaskit/editor-plugin-list": "^32.0.0",
131
131
  "@atlaskit/editor-plugin-media": "^32.2.0",
132
132
  "@atlaskit/editor-plugin-media-insert": "^48.0.0",
133
- "@atlaskit/editor-plugin-paste": "^31.1.0",
133
+ "@atlaskit/editor-plugin-paste": "^31.2.0",
134
134
  "@atlaskit/editor-plugin-selection-marker": "^30.0.0",
135
135
  "@atlaskit/editor-plugin-show-diff": "^30.0.0",
136
136
  "@atlaskit/editor-plugin-synced-block": "^28.0.0",
@@ -151,11 +151,11 @@
151
151
  "@atlaskit/logo": "^23.3.0",
152
152
  "@atlaskit/media-core": "^39.0.0",
153
153
  "@atlaskit/media-integration-test-helpers": "workspace:^",
154
- "@atlaskit/media-picker": "^73.2.0",
154
+ "@atlaskit/media-picker": "^73.3.0",
155
155
  "@atlaskit/media-test-helpers": "^43.0.0",
156
156
  "@atlaskit/media-ui": "^31.6.0",
157
157
  "@atlaskit/modal-dialog": "^17.2.0",
158
- "@atlaskit/navigation-system": "^11.6.0",
158
+ "@atlaskit/navigation-system": "^11.7.0",
159
159
  "@atlaskit/popper": "^9.4.0",
160
160
  "@atlaskit/portal": "^7.1.0",
161
161
  "@atlaskit/profilecard": "^27.6.0",
@@ -274,6 +274,9 @@
274
274
  },
275
275
  "platform_editor_lovability_resize_exts_gracefully": {
276
276
  "type": "boolean"
277
+ },
278
+ "platform_editor_scroll_gutter_click_add_line": {
279
+ "type": "boolean"
277
280
  }
278
281
  }
279
282
  }