@atlaskit/editor-common 102.0.0 → 102.2.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.
Files changed (125) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/cjs/ai-messages/ai.js +5 -0
  3. package/dist/cjs/analytics/types/general-events.js +1 -1
  4. package/dist/cjs/collab/index.js +2 -1
  5. package/dist/cjs/element-browser/hooks/use-select-and-focus-on-arrow-navigation.js +26 -52
  6. package/dist/cjs/extensibility/MultiBodiedExtension/action-api.js +2 -0
  7. package/dist/cjs/insert/index.js +2 -0
  8. package/dist/cjs/keymaps/keymap.js +4 -2
  9. package/dist/cjs/lazy-node-view/index.js +1 -1
  10. package/dist/cjs/media-inline/inline-image-card.js +2 -0
  11. package/dist/cjs/messages/annotation.js +2 -0
  12. package/dist/cjs/messages/help-dialog.js +2 -0
  13. package/dist/cjs/messages/panel.js +5 -0
  14. package/dist/cjs/monitoring/environment.js +2 -0
  15. package/dist/cjs/monitoring/error.js +3 -1
  16. package/dist/cjs/node-width/index.js +0 -1
  17. package/dist/cjs/provider-factory/with-providers.js +7 -28
  18. package/dist/cjs/quick-insert/assets/datasource-assets-objects.js +1 -1
  19. package/dist/cjs/quick-insert/assets/datasource-jira-issue.js +1 -1
  20. package/dist/cjs/quick-insert/assets/feedback.js +1 -1
  21. package/dist/cjs/quick-insert/assets/quote.js +1 -1
  22. package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +1 -1
  23. package/dist/cjs/react-node-view/index.js +1 -1
  24. package/dist/cjs/selection/gap-cursor/selection.js +1 -1
  25. package/dist/cjs/styles/shared/annotation.js +1 -1
  26. package/dist/cjs/ugc-tokens/editor-ugc-token-names.js +21 -21
  27. package/dist/cjs/ui/DropList/index.js +1 -1
  28. package/dist/cjs/ui/Layer/index.js +0 -1
  29. package/dist/cjs/ui-menu/ColorPickerButton/index.js +1 -1
  30. package/dist/cjs/ui-menu/ToolbarButton/styles.js +2 -0
  31. package/dist/cjs/ui-react/with-react-editor-view-outer-listeners.js +13 -4
  32. package/dist/cjs/utils/calculate-toolbar-position.js +4 -0
  33. package/dist/cjs/utils/compareNodes.js +0 -1
  34. package/dist/cjs/utils/get-performance-options.js +0 -1
  35. package/dist/cjs/utils/is-text-input.js +0 -2
  36. package/dist/cjs/utils/table.js +2 -0
  37. package/dist/cjs/utils/validate-using-spec.js +2 -0
  38. package/dist/cjs/with-plugin-state/index.js +0 -1
  39. package/dist/es2019/ai-messages/ai.js +5 -0
  40. package/dist/es2019/analytics/types/general-events.js +1 -3
  41. package/dist/es2019/collab/index.js +2 -2
  42. package/dist/es2019/element-browser/hooks/use-select-and-focus-on-arrow-navigation.js +28 -54
  43. package/dist/es2019/extensibility/MultiBodiedExtension/action-api.js +2 -0
  44. package/dist/es2019/insert/index.js +2 -0
  45. package/dist/es2019/keymaps/keymap.js +4 -2
  46. package/dist/es2019/lazy-node-view/index.js +1 -1
  47. package/dist/es2019/media-inline/inline-image-card.js +2 -0
  48. package/dist/es2019/messages/annotation.js +2 -0
  49. package/dist/es2019/messages/help-dialog.js +2 -0
  50. package/dist/es2019/messages/panel.js +5 -0
  51. package/dist/es2019/monitoring/environment.js +2 -0
  52. package/dist/es2019/monitoring/error.js +3 -1
  53. package/dist/es2019/node-width/index.js +0 -1
  54. package/dist/es2019/provider-factory/with-providers.js +2 -21
  55. package/dist/es2019/quick-insert/assets/datasource-assets-objects.js +1 -1
  56. package/dist/es2019/quick-insert/assets/datasource-jira-issue.js +1 -1
  57. package/dist/es2019/quick-insert/assets/feedback.js +1 -1
  58. package/dist/es2019/quick-insert/assets/quote.js +1 -1
  59. package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +1 -1
  60. package/dist/es2019/react-node-view/index.js +1 -1
  61. package/dist/es2019/selection/gap-cursor/selection.js +1 -1
  62. package/dist/es2019/styles/shared/annotation.js +1 -1
  63. package/dist/es2019/ugc-tokens/editor-ugc-token-names.js +21 -21
  64. package/dist/es2019/ui/DropList/index.js +1 -1
  65. package/dist/es2019/ui/Layer/index.js +0 -1
  66. package/dist/es2019/ui-menu/ColorPickerButton/index.js +1 -1
  67. package/dist/es2019/ui-menu/ToolbarButton/styles.js +2 -0
  68. package/dist/es2019/ui-react/with-react-editor-view-outer-listeners.js +12 -3
  69. package/dist/es2019/utils/calculate-toolbar-position.js +4 -0
  70. package/dist/es2019/utils/compareNodes.js +0 -1
  71. package/dist/es2019/utils/get-performance-options.js +0 -1
  72. package/dist/es2019/utils/is-text-input.js +0 -2
  73. package/dist/es2019/utils/table.js +2 -0
  74. package/dist/es2019/utils/validate-using-spec.js +2 -0
  75. package/dist/es2019/with-plugin-state/index.js +0 -1
  76. package/dist/esm/ai-messages/ai.js +5 -0
  77. package/dist/esm/analytics/types/general-events.js +1 -3
  78. package/dist/esm/collab/index.js +2 -2
  79. package/dist/esm/element-browser/hooks/use-select-and-focus-on-arrow-navigation.js +27 -52
  80. package/dist/esm/extensibility/MultiBodiedExtension/action-api.js +2 -0
  81. package/dist/esm/insert/index.js +2 -0
  82. package/dist/esm/keymaps/keymap.js +4 -2
  83. package/dist/esm/lazy-node-view/index.js +1 -1
  84. package/dist/esm/media-inline/inline-image-card.js +2 -0
  85. package/dist/esm/messages/annotation.js +2 -0
  86. package/dist/esm/messages/help-dialog.js +2 -0
  87. package/dist/esm/messages/panel.js +5 -0
  88. package/dist/esm/monitoring/environment.js +2 -0
  89. package/dist/esm/monitoring/error.js +3 -1
  90. package/dist/esm/node-width/index.js +0 -1
  91. package/dist/esm/provider-factory/with-providers.js +7 -28
  92. package/dist/esm/quick-insert/assets/datasource-assets-objects.js +1 -1
  93. package/dist/esm/quick-insert/assets/datasource-jira-issue.js +1 -1
  94. package/dist/esm/quick-insert/assets/feedback.js +1 -1
  95. package/dist/esm/quick-insert/assets/quote.js +1 -1
  96. package/dist/esm/react-node-view/getInlineNodeViewProducer.js +1 -1
  97. package/dist/esm/react-node-view/index.js +1 -1
  98. package/dist/esm/selection/gap-cursor/selection.js +1 -1
  99. package/dist/esm/styles/shared/annotation.js +1 -1
  100. package/dist/esm/ugc-tokens/editor-ugc-token-names.js +21 -21
  101. package/dist/esm/ui/DropList/index.js +1 -1
  102. package/dist/esm/ui/Layer/index.js +0 -1
  103. package/dist/esm/ui-menu/ColorPickerButton/index.js +1 -1
  104. package/dist/esm/ui-menu/ToolbarButton/styles.js +2 -0
  105. package/dist/esm/ui-react/with-react-editor-view-outer-listeners.js +13 -4
  106. package/dist/esm/utils/calculate-toolbar-position.js +4 -0
  107. package/dist/esm/utils/compareNodes.js +0 -1
  108. package/dist/esm/utils/get-performance-options.js +0 -1
  109. package/dist/esm/utils/is-text-input.js +0 -2
  110. package/dist/esm/utils/table.js +2 -0
  111. package/dist/esm/utils/validate-using-spec.js +2 -0
  112. package/dist/esm/with-plugin-state/index.js +0 -1
  113. package/dist/types/ai-messages/ai.d.ts +5 -0
  114. package/dist/types/collab/index.d.ts +12 -2
  115. package/dist/types/messages/panel.d.ts +5 -0
  116. package/dist/types/provider-factory/with-providers.d.ts +0 -1
  117. package/dist/types/types/annotation/index.d.ts +0 -3
  118. package/dist/types/ui-react/with-react-editor-view-outer-listeners.d.ts +6 -0
  119. package/dist/types-ts4.5/ai-messages/ai.d.ts +5 -0
  120. package/dist/types-ts4.5/collab/index.d.ts +12 -2
  121. package/dist/types-ts4.5/messages/panel.d.ts +5 -0
  122. package/dist/types-ts4.5/provider-factory/with-providers.d.ts +0 -1
  123. package/dist/types-ts4.5/types/annotation/index.d.ts +0 -3
  124. package/dist/types-ts4.5/ui-react/with-react-editor-view-outer-listeners.d.ts +6 -0
  125. package/package.json +1 -4
@@ -16,8 +16,9 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
16
16
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
17
17
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
18
18
  var _react = _interopRequireWildcard(require("react"));
19
+ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
19
20
  var _ReactEditorViewContext = _interopRequireDefault(require("./ReactEditorViewContext"));
20
- var _excluded = ["handleClickOutside", "handleEnterKeydown", "handleEscapeKeydown", "closeOnTab"];
21
+ var _excluded = ["handleClickOutside", "handleEnterKeydown", "handleEscapeKeydown", "closeOnTab", "captureClick"];
21
22
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
22
23
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
24
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
@@ -79,9 +80,12 @@ var WithOutsideClick = /*#__PURE__*/function (_PureComponent) {
79
80
  key: "componentDidMount",
80
81
  value: function componentDidMount() {
81
82
  if (this.props.handleClickOutside) {
83
+ var options = this.props.captureClick && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? {
84
+ capture: true
85
+ } : false;
82
86
  // Ignored via go/ees005
83
87
  // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
84
- document.addEventListener('click', this.handleClick, false);
88
+ document.addEventListener('click', this.handleClick, options);
85
89
  }
86
90
  if (this.props.handleEscapeKeydown) {
87
91
  var _this$props$editorRef;
@@ -99,9 +103,12 @@ var WithOutsideClick = /*#__PURE__*/function (_PureComponent) {
99
103
  key: "componentWillUnmount",
100
104
  value: function componentWillUnmount() {
101
105
  if (this.props.handleClickOutside) {
106
+ var options = this.props.captureClick && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? {
107
+ capture: true
108
+ } : false;
102
109
  // Ignored via go/ees005
103
110
  // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
104
- document.removeEventListener('click', this.handleClick, false);
111
+ document.removeEventListener('click', this.handleClick, options);
105
112
  }
106
113
  if (this.props.handleEscapeKeydown) {
107
114
  var _this$props$editorRef2;
@@ -132,6 +139,7 @@ function withReactEditorViewOuterListeners(Component) {
132
139
  handleEnterKeydown = _ref.handleEnterKeydown,
133
140
  handleEscapeKeydown = _ref.handleEscapeKeydown,
134
141
  closeOnTab = _ref.closeOnTab,
142
+ captureClick = _ref.captureClick,
135
143
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
136
144
  var isActiveProp = hasIsOpen(props) ? props.isOpen : true;
137
145
  var _useState = (0, _react.useState)(false),
@@ -163,7 +171,8 @@ function withReactEditorViewOuterListeners(Component) {
163
171
  handleClickOutside: handleClickOutside,
164
172
  handleEnterKeydown: handleEnterKeydown,
165
173
  handleEscapeKeydown: handleEscapeKeydown,
166
- closeOnTab: closeOnTab
174
+ closeOnTab: closeOnTab,
175
+ captureClick: captureClick
167
176
  }, /*#__PURE__*/_react.default.createElement(Component
168
177
  // Ignored via go/ees005
169
178
  // eslint-disable-next-line react/jsx-props-no-spreading
@@ -24,6 +24,8 @@ var calculateToolbarPositionAboveSelection = exports.calculateToolbarPositionAbo
24
24
  return nextPos;
25
25
  }
26
26
  // scroll wrapper for full page, fall back to document body
27
+ // Ignored via go/ees007
28
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
27
29
  // TODO: look into using getScrollGutterOptions()
28
30
  var scrollWrapper = editorView.dom.closest('.fabric-editor-popup-scroll-parent') || document.body;
29
31
  var wrapperBounds = scrollWrapper.getBoundingClientRect();
@@ -98,6 +100,8 @@ var calculateToolbarPositionTrackHead = exports.calculateToolbarPositionTrackHea
98
100
  return nextPos;
99
101
  }
100
102
  // scroll wrapper for full page, fall back to document body
103
+ // Ignored via go/ees007
104
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
101
105
  // TODO: look into using getScrollGutterOptions()
102
106
  var scrollWrapper = editorView.dom.closest('.fabric-editor-popup-scroll-parent') || document.body;
103
107
  var wrapperBounds = scrollWrapper.getBoundingClientRect();
@@ -166,7 +166,6 @@ function getMetaFromNode(node, options, normalizeTextParser) {
166
166
  }
167
167
  case 'mention':
168
168
  {
169
- // TODO: Check what should be the fallback when mention does not have a text
170
169
  var _text2 = firstChild.attrs.text || '';
171
170
  return {
172
171
  type: ContentType.MENTION,
@@ -15,7 +15,6 @@ var DEFAULT_SAMPLING_RATE = 100;
15
15
  var DEFAULT_SLOW_THRESHOLD = 7;
16
16
  function getPerformanceOptions(view) {
17
17
  var _nodeViewTracking$sam, _nodeViewTracking$slo;
18
- // TODO: ED-15663
19
18
  // Please, do not copy or use this kind of code below
20
19
  // @ts-ignore
21
20
  var fakePluginKey = {
@@ -7,8 +7,6 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.isTextInput = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
9
  var _transform = require("@atlaskit/editor-prosemirror/transform");
10
- // TODO: remove from editor-core utils, re-export from editor-common
11
-
12
10
  var isTextInput = exports.isTextInput = function isTextInput(tr) {
13
11
  var _tr$steps = (0, _slicedToArray2.default)(tr.steps, 1),
14
12
  step = _tr$steps[0];
@@ -43,6 +43,8 @@ function getColumnWidths(node) {
43
43
  return tableColumnWidths;
44
44
  }
45
45
  function calcTableColumnWidths(node) {
46
+ // Ignored via go/ees007
47
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
46
48
  // TODO: replaced with getColumnWidths, which correctly scans entire table for column widths
47
49
  if ((0, _platformFeatureFlags.fg)('platform_editor_table_row_span_fix')) {
48
50
  var _firstRow = node.firstChild;
@@ -49,6 +49,8 @@ var validationErrorHandler = exports.validationErrorHandler = function validatio
49
49
  };
50
50
  }
51
51
 
52
+ // Ignored via go/ees007
53
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
52
54
  // TODO: We can repair missing content like `panel` without a `paragraph`.
53
55
  if (error.code === 'INVALID_CONTENT_LENGTH') {
54
56
  if (error.meta && options.allowUnsupportedBlock && entity.content) {
@@ -217,7 +217,6 @@ var WithPluginStateInner = exports.WithPluginStateInner = /*#__PURE__*/function
217
217
  return;
218
218
  }
219
219
 
220
- // TODO: ED-15663
221
220
  // Please, do not copy or use this kind of code below
222
221
  // @ts-ignore
223
222
  var fakePluginKey = {
@@ -6,6 +6,11 @@ export const aiMessages = defineMessages({
6
6
  defaultMessage: 'Page title',
7
7
  description: 'A fallback suggested title for the suggest title prompt'
8
8
  },
9
+ eventHubfallbackSuggestedTitlePrefix: {
10
+ id: 'fabric.editor.ai.eventHub.fallbackSuggestedTitlePrefix',
11
+ defaultMessage: 'Page',
12
+ description: 'A fallback suggested title prefix for the suggest title prompt'
13
+ },
9
14
  // Toolbar messages
10
15
  aiToolbarTitle: {
11
16
  id: 'fabric.editor.ai.toolbar.titleText',
@@ -20,6 +20,4 @@ export let BROWSER_FREEZE_INTERACTION_TYPE = /*#__PURE__*/function (BROWSER_FREE
20
20
  BROWSER_FREEZE_INTERACTION_TYPE["CLICKING"] = "clicking";
21
21
  BROWSER_FREEZE_INTERACTION_TYPE["PASTING"] = "pasting";
22
22
  return BROWSER_FREEZE_INTERACTION_TYPE;
23
- }({});
24
-
25
- // TODO: https://product-fabric.atlassian.net/browse/AFP-1418
23
+ }({});
@@ -117,6 +117,8 @@ export let PROVIDER_ERROR_CODE = /*#__PURE__*/function (PROVIDER_ERROR_CODE) {
117
117
 
118
118
  // Collab Provider interface
119
119
 
120
+ // Ignored via go/ees007
121
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
120
122
  // TODO: Deprecate redundant payload types
121
123
 
122
124
  export let DisconnectReason = /*#__PURE__*/function (DisconnectReason) {
@@ -139,8 +141,6 @@ export let DisconnectReason = /*#__PURE__*/function (DisconnectReason) {
139
141
 
140
142
  //Unions
141
143
 
142
- // This will be extended in follow-up PRs
143
-
144
144
  const telepointerColorStyle = (backgroundColor, textColor, index) => {
145
145
  const {
146
146
  colorMode
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useEffect, useReducer, useRef } from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+
3
3
  /**
4
4
  * a custom hook that handles keyboard navigation for Arrow keys based on a
5
5
  * given listSize, and a step (for up and down arrows).
@@ -81,29 +81,19 @@ const moveReducer = (state, action) => {
81
81
  selectedItemIndex: canFocusViewMore ? undefined : listSize
82
82
  };
83
83
  } else {
84
- if (fg('platform_editor_is_disabled_state_element_browser')) {
85
- var _action$payload$step;
86
- const newIndex = action.payload.positions ? action.payload.positions - ((_action$payload$step = action.payload.step) !== null && _action$payload$step !== void 0 ? _action$payload$step : 1) : 0;
87
- const safeIndex = ensureSafeIndex(newIndex, state.listSize);
88
- const isLastItemFocused = newIndex > listSize;
89
- const focusOnSearch = isLastItemFocused && !canFocusViewMore;
90
- const focusOnViewMore = isLastItemFocused && !!canFocusViewMore;
91
- return {
92
- ...state,
93
- focusOnSearch: focusOnSearch,
94
- focusOnViewMore: focusOnViewMore,
95
- focusedItemIndex: safeIndex,
96
- selectedItemIndex: safeIndex
97
- };
98
- } else {
99
- return {
100
- ...state,
101
- focusOnSearch: false,
102
- focusOnViewMore: false,
103
- focusedItemIndex: 0,
104
- selectedItemIndex: 0
105
- };
106
- }
84
+ var _action$payload$step;
85
+ const newIndex = action.payload.positions ? action.payload.positions - ((_action$payload$step = action.payload.step) !== null && _action$payload$step !== void 0 ? _action$payload$step : 1) : 0;
86
+ const safeIndex = ensureSafeIndex(newIndex, state.listSize);
87
+ const isLastItemFocused = newIndex > listSize;
88
+ const focusOnSearch = isLastItemFocused && !canFocusViewMore;
89
+ const focusOnViewMore = isLastItemFocused && !!canFocusViewMore;
90
+ return {
91
+ ...state,
92
+ focusOnSearch: focusOnSearch,
93
+ focusOnViewMore: focusOnViewMore,
94
+ focusedItemIndex: safeIndex,
95
+ selectedItemIndex: safeIndex
96
+ };
107
97
  }
108
98
  }
109
99
  if (state.focusOnViewMore) {
@@ -328,45 +318,29 @@ function useSelectAndFocusOnArrowNavigation(listSize, step, canFocusViewMore, it
328
318
  return setFocusOnSearch();
329
319
  case 'ArrowRight':
330
320
  {
331
- if (fg('platform_editor_is_disabled_state_element_browser')) {
332
- var _skipForwardOffsetToS;
333
- const itemIndex = focusOnSearch ? -1 : selectedItemIndex;
334
- const nextItem = (_skipForwardOffsetToS = skipForwardOffsetToSafeItem(itemIndex, listSize, 1, itemIsDisabled)) !== null && _skipForwardOffsetToS !== void 0 ? _skipForwardOffsetToS : 1;
335
- return move(e, nextItem);
336
- } else {
337
- return move(e, +1);
338
- }
321
+ var _skipForwardOffsetToS;
322
+ const itemIndex = focusOnSearch ? -1 : selectedItemIndex;
323
+ const nextItem = (_skipForwardOffsetToS = skipForwardOffsetToSafeItem(itemIndex, listSize, 1, itemIsDisabled)) !== null && _skipForwardOffsetToS !== void 0 ? _skipForwardOffsetToS : 1;
324
+ return move(e, nextItem);
339
325
  }
340
326
  case 'ArrowLeft':
341
327
  {
342
- if (fg('platform_editor_is_disabled_state_element_browser')) {
343
- var _skipBackwardOffsetTo;
344
- const nextItem = (_skipBackwardOffsetTo = skipBackwardOffsetToSafeItem(selectedItemIndex, 1, itemIsDisabled)) !== null && _skipBackwardOffsetTo !== void 0 ? _skipBackwardOffsetTo : 1;
345
- return move(e, -nextItem);
346
- } else {
347
- return move(e, -1);
348
- }
328
+ var _skipBackwardOffsetTo;
329
+ const nextItem = (_skipBackwardOffsetTo = skipBackwardOffsetToSafeItem(selectedItemIndex, 1, itemIsDisabled)) !== null && _skipBackwardOffsetTo !== void 0 ? _skipBackwardOffsetTo : 1;
330
+ return move(e, -nextItem);
349
331
  }
350
332
  case 'ArrowDown':
351
333
  {
352
- if (fg('platform_editor_is_disabled_state_element_browser')) {
353
- var _skipForwardOffsetToS2;
354
- const itemIndex = focusOnSearch ? -step : selectedItemIndex;
355
- const nextItem = (_skipForwardOffsetToS2 = skipForwardOffsetToSafeItem(itemIndex, listSize, step, itemIsDisabled)) !== null && _skipForwardOffsetToS2 !== void 0 ? _skipForwardOffsetToS2 : step;
356
- return move(e, +nextItem, step);
357
- } else {
358
- return move(e, +step);
359
- }
334
+ var _skipForwardOffsetToS2;
335
+ const itemIndex = focusOnSearch ? -step : selectedItemIndex;
336
+ const nextItem = (_skipForwardOffsetToS2 = skipForwardOffsetToSafeItem(itemIndex, listSize, step, itemIsDisabled)) !== null && _skipForwardOffsetToS2 !== void 0 ? _skipForwardOffsetToS2 : step;
337
+ return move(e, +nextItem, step);
360
338
  }
361
339
  case 'ArrowUp':
362
340
  {
363
- if (fg('platform_editor_is_disabled_state_element_browser')) {
364
- var _skipBackwardOffsetTo2;
365
- const nextItem = (_skipBackwardOffsetTo2 = skipBackwardOffsetToSafeItem(selectedItemIndex, step, itemIsDisabled)) !== null && _skipBackwardOffsetTo2 !== void 0 ? _skipBackwardOffsetTo2 : step;
366
- return move(e, Math.min(-nextItem, -step), step);
367
- } else {
368
- return move(e, -step, step);
369
- }
341
+ var _skipBackwardOffsetTo2;
342
+ const nextItem = (_skipBackwardOffsetTo2 = skipBackwardOffsetToSafeItem(selectedItemIndex, step, itemIsDisabled)) !== null && _skipBackwardOffsetTo2 !== void 0 ? _skipBackwardOffsetTo2 : step;
343
+ return move(e, Math.min(-nextItem, -step), step);
370
344
  }
371
345
  }
372
346
  }, [focusOnSearch, setFocusOnSearch, move, selectedItemIndex, itemIsDisabled, listSize, step]);
@@ -73,6 +73,8 @@ export const useMultiBodiedExtensionActions = ({
73
73
  },
74
74
  removeChild(index) {
75
75
  const pos = getPos();
76
+ // Ignored via go/ees007
77
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
76
78
  // TODO: Add child index validation here, don't trust this data
77
79
  if (typeof pos !== 'number' || typeof index !== 'number') {
78
80
  throw new Error('Position or index not valid');
@@ -73,6 +73,8 @@ const insertBeforeOrAfter = (tr, lookDirection, $parentPos, $proposedPosition, c
73
73
  return tr.insert($proposedPosition[lookDirection](), content);
74
74
  };
75
75
 
76
+ // Ignored via go/ees007
77
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
76
78
  // FIXME: A more sustainable and configurable way to choose when to split
77
79
  // Ignored via go/ees005
78
80
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -34,9 +34,11 @@ export function keymap(bindings) {
34
34
  const isDeadKey = name === 'Dead';
35
35
  if (isModKeyPressed && (isNonLatinKey || isDeadKey)) {
36
36
  keyboardEvent = new KeyboardEvent(event.type, {
37
+ // Ignored via go/ees007
38
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
37
39
  // FIXME: The event.keyCode is deprecated (see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode),
38
- // and could be removed in any time, but the w3c-keyname library doesn't provide a way to get
39
- // a key by event.code.
40
+ // and could be removed in any time, but the w3c-keyname library doesn't provide a way to get
41
+ // a key by event.code.
40
42
  key: base[event.keyCode],
41
43
  code: event.code,
42
44
  ctrlKey: event.ctrlKey,
@@ -174,7 +174,7 @@ export const withLazyLoading = ({
174
174
  });
175
175
  requestedNodes.set(nodeName, loaderPromise);
176
176
  if (typeof ((_node$type = node.type) === null || _node$type === void 0 ? void 0 : (_node$type$spec = _node$type.spec) === null || _node$type$spec === void 0 ? void 0 : _node$type$spec.toDOM) !== 'function') {
177
- // TODO: Analytics ED-23982
177
+ // TODO: ED-23982 - Analytics
178
178
  // dispatchAnalyticsEvent({
179
179
  // action: ACTION.LAZY_NODE_VIEW_ERROR,
180
180
  // actionSubject: ACTION_SUBJECT.LAZY_NODE_VIEW,
@@ -25,6 +25,8 @@ export const InlineImageCard = ({
25
25
  traceId: getRandomHex(8)
26
26
  }), []);
27
27
 
28
+ // Ignored via go/ees007
29
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
28
30
  // TODO do we need to handle nonCriticalError
29
31
  const {
30
32
  preview,
@@ -5,6 +5,8 @@ export const annotationMessages = defineMessages({
5
5
  defaultMessage: 'Comment',
6
6
  description: 'Create/add an inline comment based on the users selection'
7
7
  },
8
+ // Ignored via go/ees007
9
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
8
10
  // TODO: Remove this message when the editor_inline_comments_on_inline_nodes FF is removed
9
11
  createCommentInvalid: {
10
12
  id: 'fabric.editor.createCommentInvalid',
@@ -85,6 +85,8 @@ export const helpDialogMessages = defineMessages({
85
85
  defaultMessage: 'Close help dialog',
86
86
  description: ''
87
87
  },
88
+ // Ignored via go/ees007
89
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
88
90
  // TODO: Move it inside quick insert plugin
89
91
  quickInsert: {
90
92
  id: 'fabric.editor.quickInsert',
@@ -30,6 +30,11 @@ export const panelMessages = defineMessages({
30
30
  defaultMessage: 'Add emoji',
31
31
  description: 'Select the panel icon'
32
32
  },
33
+ custom: {
34
+ id: 'fabric.editor.panel.custom',
35
+ defaultMessage: 'Custom',
36
+ description: 'Custom panels where user has selected custom emoji and background color'
37
+ },
33
38
  backgroundColor: {
34
39
  id: 'fabric.editor.panel.backgroundColor',
35
40
  defaultMessage: 'Background color',
@@ -3,6 +3,8 @@ const FEDRAMP_MODERATE = 'fedramp-moderate';
3
3
  // To determine whether an instance is a FedRAMP instance
4
4
  // Copied from platform/packages/uip/atl-context/src/services/is-fedramp/index.tsx
5
5
  // We cannot import the same-named function from @atlassian/atl-context due to editor-common being a public package (and atl-context being private)
6
+ // Ignored via go/ees007
7
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
6
8
  // TODO: Seek alternatives
7
9
  export function isFedRamp() {
8
10
  var _global$location, _global$location$host;
@@ -1,9 +1,11 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "102.0.0";
4
+ const packageVersion = "102.2.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
+ // Ignored via go/ees007
8
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
7
9
  // TODO: Sanitise the URL instead of just removing it
8
10
  if (data.request) {
9
11
  delete data.request.url;
@@ -37,7 +37,6 @@ export const getParentNodeWidth = (pos, state, containerWidth, isFullWidthModeEn
37
37
  }
38
38
  let parentWidth = calcBreakoutNodeWidth(layout, containerWidth, isFullWidthModeEnabled);
39
39
 
40
- // TODO: ED-15663
41
40
  // Please, do not copy or use this kind of code below
42
41
  // @ts-ignore
43
42
  const contextPanelPluginKey = {
@@ -1,7 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /* eslint-disable @repo/internal/react/no-class-components */
3
3
  import { PureComponent } from 'react';
4
- import { fg } from '@atlaskit/platform-feature-flags';
5
4
  // Ignored via go/ees005
6
5
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
7
6
  export class WithProviders extends PureComponent {
@@ -36,12 +35,8 @@ export class WithProviders extends PureComponent {
36
35
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
37
36
  const _providers = {};
38
37
  this.props.providers.forEach(name => {
39
- if (fg('platform_editor_react18_phase2_v2')) {
40
- const providerPromise = props.providerFactory.subscribe(name, this.handleProviderIfMounted);
41
- _providers[name] = providerPromise;
42
- } else {
43
- _providers[name] = undefined;
44
- }
38
+ const providerPromise = props.providerFactory.subscribe(name, this.handleProviderIfMounted);
39
+ _providers[name] = providerPromise;
45
40
  });
46
41
  this.state = {
47
42
  providers: _providers
@@ -50,20 +45,6 @@ export class WithProviders extends PureComponent {
50
45
  componentDidMount() {
51
46
  this.mounted = true;
52
47
  }
53
-
54
- // Ignored via go/ees005
55
- // eslint-disable-next-line react/no-unsafe
56
- UNSAFE_componentWillMount() {
57
- if (!fg('platform_editor_react18_phase2_v2')) {
58
- const {
59
- providers,
60
- providerFactory
61
- } = this.props;
62
- providers.forEach(name => {
63
- providerFactory.subscribe(name, this.handleProvider);
64
- });
65
- }
66
- }
67
48
  componentWillUnmount() {
68
49
  const {
69
50
  providers,
@@ -1,4 +1,4 @@
1
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
1
+ // TODO: DSP-4138 - migrate to @atlaskit/design-system
2
2
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
3
  import React from 'react';
4
4
  export default function IconDatasourceAssetsObjects() {
@@ -1,4 +1,4 @@
1
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
1
+ // TODO: DSP-4138 - Migrate to @atlaskit/design-system
2
2
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
3
  import React from 'react';
4
4
  export default function IconDatasourceJiraIssue() {
@@ -1,4 +1,4 @@
1
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
1
+ // TODO: DSP-4138 - Migrate to @atlaskit/design-system
2
2
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
3
  import React from 'react';
4
4
  export default function IconFeedback() {
@@ -1,4 +1,4 @@
1
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
1
+ // TODO: DSP-4138 - Migrate to @atlaskit/design-system
2
2
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
3
  import React from 'react';
4
4
  import { useIconThemed } from '../use-icon-themed';
@@ -270,7 +270,7 @@ function getPortalChildren({
270
270
  className: `${inlineNodeViewClassname}AddZeroWidthSpace`
271
271
  }), ZERO_WIDTH_SPACE), jsx(Component, _extends({
272
272
  view: nodeViewParams.view
273
- // TODO: ED-13910 - Remove the boolean to fix the prosemirror view type
273
+ // TODO: ED-13910 - Remove the boolean to fix the prosemirror view type
274
274
  // Ignored via go/ees005
275
275
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
276
276
  ,
@@ -194,7 +194,7 @@ export default class ReactNodeView {
194
194
 
195
195
  // View should not process a re-render if this is false.
196
196
  // We dont want to destroy the view, so we return true.
197
- // TODO: ED-13910 Fix viewShouldUpdate readonly decoration array
197
+ // TODO: ED-13910 - Fix viewShouldUpdate readonly decoration array
198
198
  if (!this.viewShouldUpdate(node, decorations)) {
199
199
  this.node = node;
200
200
  return true;
@@ -42,7 +42,7 @@ export class GapCursorSelection extends Selection {
42
42
  }
43
43
  let pos = $pos.pos;
44
44
 
45
- // TODO: Fix any, potential issue. ED-5048
45
+ // TODO: ED-5048 - Fix any, potential issue.
46
46
  // Ignored via go/ees005
47
47
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
48
48
  let next = null;
@@ -59,7 +59,7 @@ export const AnnotationSharedCSSByState = () => {
59
59
  // emotion and token look up
60
60
  background: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
61
61
  borderBottom: `2px solid ${"var(--ds-border-accent-yellow, #B38600)"}`,
62
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4147
62
+ // TODO: DSP-4147 - Annotation shadow
63
63
  boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
64
64
  cursor: 'pointer'
65
65
  }),
@@ -1,11 +1,11 @@
1
1
  export const editorUGCTokens = {
2
- 'editor.font.heading.h1': 'normal 500 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
3
- 'editor.font.heading.h2': 'normal 500 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
4
- 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
5
- 'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
6
- 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
7
- 'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
8
- 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
2
+ 'editor.font.heading.h1': 'normal 500 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
3
+ 'editor.font.heading.h2': 'normal 500 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
4
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
5
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
6
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
7
+ 'editor.font.heading.h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
8
+ 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
9
9
  'editor.font.weight.heading.h1.bold': '700',
10
10
  'editor.font.weight.heading.h2.bold': '700',
11
11
  'editor.font.weight.heading.h3.bold': '700',
@@ -14,13 +14,13 @@ export const editorUGCTokens = {
14
14
  'editor.font.weight.heading.h6.bold': '700'
15
15
  };
16
16
  export const editorUGCTokensModernized = {
17
- 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
18
- 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
19
- 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
20
- 'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
21
- 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
22
- 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
23
- 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
17
+ 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
18
+ 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
19
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
20
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
21
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
22
+ 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
23
+ 'editor.font.body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
24
24
  'editor.font.weight.heading.h1.bold': '700',
25
25
  'editor.font.weight.heading.h2.bold': '700',
26
26
  'editor.font.weight.heading.h3.bold': '700',
@@ -29,13 +29,13 @@ export const editorUGCTokensModernized = {
29
29
  'editor.font.weight.heading.h6.bold': '700'
30
30
  };
31
31
  export const editorUGCTokensRefreshed = {
32
- 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
33
- 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
34
- 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
35
- 'editor.font.heading.h4': 'normal 600 1em/1.14286 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
36
- 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
37
- 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
38
- 'editor.font.body': 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
32
+ 'editor.font.heading.h1': 'normal 600 1.71429em/1.16667 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
33
+ 'editor.font.heading.h2': 'normal 600 1.42857em/1.2 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
34
+ 'editor.font.heading.h3': 'normal 600 1.14286em/1.25 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
35
+ 'editor.font.heading.h4': 'normal 600 1em/1.14286 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
36
+ 'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
37
+ 'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
38
+ 'editor.font.body': 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
39
39
  'editor.font.weight.heading.h1.bold': '700',
40
40
  'editor.font.weight.heading.h2.bold': '700',
41
41
  'editor.font.weight.heading.h3.bold': '700',
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "102.0.0";
16
+ const packageVersion = "102.2.0";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -14,7 +14,6 @@ const defaultState = {
14
14
  position: null
15
15
  }
16
16
  },
17
- // fix Safari parent width: https://product-fabric.atlassian.net/browse/ED-1784
18
17
  cssPosition: 'absolute',
19
18
  originalHeight: null,
20
19
  maxHeight: null