@atlaskit/editor-plugin-type-ahead 2.2.0 → 2.2.2

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-plugin-type-ahead
2
2
 
3
+ ## 2.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#132152](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/132152)
8
+ [`4d3f5ccdc005c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d3f5ccdc005c) -
9
+ [https://product-fabric.atlassian.net/browse/ED-26645](ED-26645) - fix typeahead height issue
10
+ - Updated dependencies
11
+
12
+ ## 2.2.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#130684](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/130684)
17
+ [`0656a8915e18f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0656a8915e18f) -
18
+ updated existing fix for focusOut typeahead trigger duplication to also include IE/Edge
19
+
3
20
  ## 2.2.0
4
21
 
5
22
  ### Minor Changes
@@ -284,15 +284,12 @@ var InputQuery = exports.InputQuery = /*#__PURE__*/_react.default.memo(function
284
284
  return;
285
285
  }
286
286
 
287
- // See ED-14909: Chrome may emit focusout events where an input
288
- // device was not directly responsible. (This rears in react v17+ consumers
289
- // where react-managed node removal now appears to propagate focusout events to
290
- // our event listener). As this path is strictly for click or other typeahead
291
- // dismissals that don't involve typeahead item selection, we carve out an
292
- // exception for Chrome-specific events where an input device was not the initiator.
293
- if (_browser.browser.chrome && !(((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.type) === 'Range') &&
287
+ // Chrome and Edge may emit focusout events without direct input.
288
+ // This path handles dismissals that don't involve item selection, so we ignore these events.
289
+ // In Edge this also lead to duplication in the trigger character (@, /, :) as `cancel` would be called twice
290
+ if ((_browser.browser.ie || _browser.browser.chrome) && !(((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.type) === 'Range') &&
294
291
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
295
- !('sourceCapabilities' in event && event.sourceCapabilities)) {
292
+ !event.sourceCapabilities) {
296
293
  return;
297
294
  }
298
295
  cancel({
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.ListRow = ListRow;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ 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); }
10
+ 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; }
11
+ function ListRow(_ref) {
12
+ var children = _ref.children,
13
+ registerChild = _ref.registerChild,
14
+ measure = _ref.measure,
15
+ index = _ref.index,
16
+ style = _ref.style,
17
+ isVisible = _ref.isVisible,
18
+ isScrolling = _ref.isScrolling,
19
+ onMouseMove = _ref.onMouseMove;
20
+ var childElementRef = (0, _react.useRef)(null);
21
+ var setListElementRef = function setListElementRef(element) {
22
+ registerChild === null || registerChild === void 0 || registerChild(element !== null && element !== void 0 ? element : undefined);
23
+ };
24
+ (0, _react.useEffect)(function () {
25
+ // Do not measure if the row is not visible or is scrolling for performance reasons.
26
+ if (!childElementRef.current || !isVisible || isScrolling) {
27
+ return;
28
+ }
29
+ var observer = new ResizeObserver(function () {
30
+ return measure();
31
+ });
32
+ observer.observe(childElementRef.current);
33
+ return function () {
34
+ return observer.disconnect();
35
+ };
36
+ }, [isScrolling, isVisible, measure]);
37
+ return (
38
+ /*#__PURE__*/
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
40
+ _react.default.createElement("div", {
41
+ ref: setListElementRef,
42
+ style: style,
43
+ "data-index": index
44
+ }, /*#__PURE__*/_react.default.createElement("div", {
45
+ ref: childElementRef,
46
+ "data-testid": "list-item-height-observed-".concat(index),
47
+ onMouseMove: onMouseMove
48
+ }, children))
49
+ );
50
+ }
@@ -15,11 +15,13 @@ var _List = require("react-virtualized/dist/commonjs/List");
15
15
  var _messages = require("@atlaskit/editor-common/messages");
16
16
  var _typeAhead = require("@atlaskit/editor-common/type-ahead");
17
17
  var _menu = require("@atlaskit/menu");
18
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
19
  var _primitives = require("@atlaskit/primitives");
19
20
  var _updateSelectedIndex = require("../pm-plugins/commands/update-selected-index");
20
21
  var _constants = require("../pm-plugins/constants");
21
22
  var _utils = require("../pm-plugins/utils");
22
23
  var _AssistiveText = require("./AssistiveText");
24
+ var _ListRow = require("./ListRow");
23
25
  var _TypeAheadListItem = require("./TypeAheadListItem");
24
26
  var _ViewMore = require("./ViewMore");
25
27
  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); }
@@ -269,7 +271,9 @@ var TypeAheadListComponent = /*#__PURE__*/_react.default.memo(function (_ref2) {
269
271
  var index = _ref4.index,
270
272
  key = _ref4.key,
271
273
  style = _ref4.style,
272
- parent = _ref4.parent;
274
+ parent = _ref4.parent,
275
+ isScrolling = _ref4.isScrolling,
276
+ isVisible = _ref4.isVisible;
273
277
  var currentItem = items[index];
274
278
  return (0, _react2.jsx)(_CellMeasurer.CellMeasurer, {
275
279
  key: key,
@@ -277,7 +281,35 @@ var TypeAheadListComponent = /*#__PURE__*/_react.default.memo(function (_ref2) {
277
281
  parent: parent,
278
282
  columnIndex: 0,
279
283
  rowIndex: index
280
- }, (0, _react2.jsx)("div", {
284
+ }, (0, _platformFeatureFlags.fg)('platform_editor_typeahead_dynamic_height_fix') ? function (_ref5) {
285
+ var measure = _ref5.measure,
286
+ registerChild = _ref5.registerChild;
287
+ return (0, _react2.jsx)(_ListRow.ListRow, {
288
+ registerChild: registerChild,
289
+ measure: measure,
290
+ index: index
291
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
292
+ ,
293
+ style: style,
294
+ isVisible: isVisible,
295
+ isScrolling: isScrolling,
296
+ onMouseMove: function onMouseMove(e) {
297
+ return _onMouseMove(e, index);
298
+ }
299
+ }, (0, _react2.jsx)(_TypeAheadListItem.TypeAheadListItem, {
300
+ key: items[index].title,
301
+ item: currentItem,
302
+ firstOnlineSupportedIndex: firstOnlineSupportedRow,
303
+ itemsLength: itemsLength,
304
+ itemIndex: index,
305
+ selectedIndex: selectedIndex,
306
+ onItemClick: actions.onItemClick,
307
+ ariaLabel: (0, _utils.getTypeAheadListAriaLabels)(triggerHandler === null || triggerHandler === void 0 ? void 0 : triggerHandler.trigger, intl, currentItem).listItemAriaLabel,
308
+ moreElementsInQuickInsertViewEnabled: moreElementsInQuickInsertViewEnabled,
309
+ api: api
310
+ }));
311
+ } : (0, _react2.jsx)("div", {
312
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
281
313
  style: style,
282
314
  "data-index": index
283
315
  }, (0, _react2.jsx)("div", {
@@ -269,15 +269,12 @@ export const InputQuery = /*#__PURE__*/React.memo(({
269
269
  return;
270
270
  }
271
271
 
272
- // See ED-14909: Chrome may emit focusout events where an input
273
- // device was not directly responsible. (This rears in react v17+ consumers
274
- // where react-managed node removal now appears to propagate focusout events to
275
- // our event listener). As this path is strictly for click or other typeahead
276
- // dismissals that don't involve typeahead item selection, we carve out an
277
- // exception for Chrome-specific events where an input device was not the initiator.
278
- if (browser.chrome && !(((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.type) === 'Range') &&
272
+ // Chrome and Edge may emit focusout events without direct input.
273
+ // This path handles dismissals that don't involve item selection, so we ignore these events.
274
+ // In Edge this also lead to duplication in the trigger character (@, /, :) as `cancel` would be called twice
275
+ if ((browser.ie || browser.chrome) && !(((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.type) === 'Range') &&
279
276
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
280
- !('sourceCapabilities' in event && event.sourceCapabilities)) {
277
+ !event.sourceCapabilities) {
281
278
  return;
282
279
  }
283
280
  cancel({
@@ -0,0 +1,38 @@
1
+ import React, { useEffect, useRef } from 'react';
2
+ export function ListRow({
3
+ children,
4
+ registerChild,
5
+ measure,
6
+ index,
7
+ style,
8
+ isVisible,
9
+ isScrolling,
10
+ onMouseMove
11
+ }) {
12
+ const childElementRef = useRef(null);
13
+ const setListElementRef = element => {
14
+ registerChild === null || registerChild === void 0 ? void 0 : registerChild(element !== null && element !== void 0 ? element : undefined);
15
+ };
16
+ useEffect(() => {
17
+ // Do not measure if the row is not visible or is scrolling for performance reasons.
18
+ if (!childElementRef.current || !isVisible || isScrolling) {
19
+ return;
20
+ }
21
+ const observer = new ResizeObserver(() => measure());
22
+ observer.observe(childElementRef.current);
23
+ return () => observer.disconnect();
24
+ }, [isScrolling, isVisible, measure]);
25
+ return (
26
+ /*#__PURE__*/
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
28
+ React.createElement("div", {
29
+ ref: setListElementRef,
30
+ style: style,
31
+ "data-index": index
32
+ }, /*#__PURE__*/React.createElement("div", {
33
+ ref: childElementRef,
34
+ "data-testid": `list-item-height-observed-${index}`,
35
+ onMouseMove: onMouseMove
36
+ }, children))
37
+ );
38
+ }
@@ -13,11 +13,13 @@ import { List } from 'react-virtualized/dist/commonjs/List';
13
13
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
14
14
  import { SelectItemMode, typeAheadListMessages } from '@atlaskit/editor-common/type-ahead';
15
15
  import { MenuGroup } from '@atlaskit/menu';
16
+ import { fg } from '@atlaskit/platform-feature-flags';
16
17
  import { Text, Box } from '@atlaskit/primitives';
17
18
  import { updateSelectedIndex } from '../pm-plugins/commands/update-selected-index';
18
19
  import { TYPE_AHEAD_DECORATION_ELEMENT_ID } from '../pm-plugins/constants';
19
20
  import { getTypeAheadListAriaLabels, moveSelectedIndex } from '../pm-plugins/utils';
20
21
  import { AssistiveText } from './AssistiveText';
22
+ import { ListRow } from './ListRow';
21
23
  import { TypeAheadListItem } from './TypeAheadListItem';
22
24
  import { ViewMore } from './ViewMore';
23
25
  const LIST_ITEM_ESTIMATED_HEIGHT = 64;
@@ -249,7 +251,9 @@ const TypeAheadListComponent = /*#__PURE__*/React.memo(({
249
251
  index,
250
252
  key,
251
253
  style,
252
- parent
254
+ parent,
255
+ isScrolling,
256
+ isVisible
253
257
  }) => {
254
258
  const currentItem = items[index];
255
259
  return jsx(CellMeasurer, {
@@ -258,7 +262,32 @@ const TypeAheadListComponent = /*#__PURE__*/React.memo(({
258
262
  parent: parent,
259
263
  columnIndex: 0,
260
264
  rowIndex: index
261
- }, jsx("div", {
265
+ }, fg('platform_editor_typeahead_dynamic_height_fix') ? ({
266
+ measure,
267
+ registerChild
268
+ }) => jsx(ListRow, {
269
+ registerChild: registerChild,
270
+ measure: measure,
271
+ index: index
272
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
273
+ ,
274
+ style: style,
275
+ isVisible: isVisible,
276
+ isScrolling: isScrolling,
277
+ onMouseMove: e => onMouseMove(e, index)
278
+ }, jsx(TypeAheadListItem, {
279
+ key: items[index].title,
280
+ item: currentItem,
281
+ firstOnlineSupportedIndex: firstOnlineSupportedRow,
282
+ itemsLength: itemsLength,
283
+ itemIndex: index,
284
+ selectedIndex: selectedIndex,
285
+ onItemClick: actions.onItemClick,
286
+ ariaLabel: getTypeAheadListAriaLabels(triggerHandler === null || triggerHandler === void 0 ? void 0 : triggerHandler.trigger, intl, currentItem).listItemAriaLabel,
287
+ moreElementsInQuickInsertViewEnabled: moreElementsInQuickInsertViewEnabled,
288
+ api: api
289
+ })) : jsx("div", {
290
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
262
291
  style: style,
263
292
  "data-index": index
264
293
  }, jsx("div", {
@@ -273,15 +273,12 @@ export var InputQuery = /*#__PURE__*/React.memo(function (_ref) {
273
273
  return;
274
274
  }
275
275
 
276
- // See ED-14909: Chrome may emit focusout events where an input
277
- // device was not directly responsible. (This rears in react v17+ consumers
278
- // where react-managed node removal now appears to propagate focusout events to
279
- // our event listener). As this path is strictly for click or other typeahead
280
- // dismissals that don't involve typeahead item selection, we carve out an
281
- // exception for Chrome-specific events where an input device was not the initiator.
282
- if (browser.chrome && !(((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.type) === 'Range') &&
276
+ // Chrome and Edge may emit focusout events without direct input.
277
+ // This path handles dismissals that don't involve item selection, so we ignore these events.
278
+ // In Edge this also lead to duplication in the trigger character (@, /, :) as `cancel` would be called twice
279
+ if ((browser.ie || browser.chrome) && !(((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.type) === 'Range') &&
283
280
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
284
- !('sourceCapabilities' in event && event.sourceCapabilities)) {
281
+ !event.sourceCapabilities) {
285
282
  return;
286
283
  }
287
284
  cancel({
@@ -0,0 +1,41 @@
1
+ import React, { useEffect, useRef } from 'react';
2
+ export function ListRow(_ref) {
3
+ var children = _ref.children,
4
+ registerChild = _ref.registerChild,
5
+ measure = _ref.measure,
6
+ index = _ref.index,
7
+ style = _ref.style,
8
+ isVisible = _ref.isVisible,
9
+ isScrolling = _ref.isScrolling,
10
+ onMouseMove = _ref.onMouseMove;
11
+ var childElementRef = useRef(null);
12
+ var setListElementRef = function setListElementRef(element) {
13
+ registerChild === null || registerChild === void 0 || registerChild(element !== null && element !== void 0 ? element : undefined);
14
+ };
15
+ useEffect(function () {
16
+ // Do not measure if the row is not visible or is scrolling for performance reasons.
17
+ if (!childElementRef.current || !isVisible || isScrolling) {
18
+ return;
19
+ }
20
+ var observer = new ResizeObserver(function () {
21
+ return measure();
22
+ });
23
+ observer.observe(childElementRef.current);
24
+ return function () {
25
+ return observer.disconnect();
26
+ };
27
+ }, [isScrolling, isVisible, measure]);
28
+ return (
29
+ /*#__PURE__*/
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
31
+ React.createElement("div", {
32
+ ref: setListElementRef,
33
+ style: style,
34
+ "data-index": index
35
+ }, /*#__PURE__*/React.createElement("div", {
36
+ ref: childElementRef,
37
+ "data-testid": "list-item-height-observed-".concat(index),
38
+ onMouseMove: onMouseMove
39
+ }, children))
40
+ );
41
+ }
@@ -14,11 +14,13 @@ import { List } from 'react-virtualized/dist/commonjs/List';
14
14
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
15
15
  import { SelectItemMode, typeAheadListMessages } from '@atlaskit/editor-common/type-ahead';
16
16
  import { MenuGroup } from '@atlaskit/menu';
17
+ import { fg } from '@atlaskit/platform-feature-flags';
17
18
  import { Text, Box } from '@atlaskit/primitives';
18
19
  import { updateSelectedIndex } from '../pm-plugins/commands/update-selected-index';
19
20
  import { TYPE_AHEAD_DECORATION_ELEMENT_ID } from '../pm-plugins/constants';
20
21
  import { getTypeAheadListAriaLabels, moveSelectedIndex } from '../pm-plugins/utils';
21
22
  import { AssistiveText } from './AssistiveText';
23
+ import { ListRow } from './ListRow';
22
24
  import { TypeAheadListItem } from './TypeAheadListItem';
23
25
  import { ViewMore } from './ViewMore';
24
26
  var LIST_ITEM_ESTIMATED_HEIGHT = 64;
@@ -259,7 +261,9 @@ var TypeAheadListComponent = /*#__PURE__*/React.memo(function (_ref2) {
259
261
  var index = _ref4.index,
260
262
  key = _ref4.key,
261
263
  style = _ref4.style,
262
- parent = _ref4.parent;
264
+ parent = _ref4.parent,
265
+ isScrolling = _ref4.isScrolling,
266
+ isVisible = _ref4.isVisible;
263
267
  var currentItem = items[index];
264
268
  return jsx(CellMeasurer, {
265
269
  key: key,
@@ -267,7 +271,35 @@ var TypeAheadListComponent = /*#__PURE__*/React.memo(function (_ref2) {
267
271
  parent: parent,
268
272
  columnIndex: 0,
269
273
  rowIndex: index
270
- }, jsx("div", {
274
+ }, fg('platform_editor_typeahead_dynamic_height_fix') ? function (_ref5) {
275
+ var measure = _ref5.measure,
276
+ registerChild = _ref5.registerChild;
277
+ return jsx(ListRow, {
278
+ registerChild: registerChild,
279
+ measure: measure,
280
+ index: index
281
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
282
+ ,
283
+ style: style,
284
+ isVisible: isVisible,
285
+ isScrolling: isScrolling,
286
+ onMouseMove: function onMouseMove(e) {
287
+ return _onMouseMove(e, index);
288
+ }
289
+ }, jsx(TypeAheadListItem, {
290
+ key: items[index].title,
291
+ item: currentItem,
292
+ firstOnlineSupportedIndex: firstOnlineSupportedRow,
293
+ itemsLength: itemsLength,
294
+ itemIndex: index,
295
+ selectedIndex: selectedIndex,
296
+ onItemClick: actions.onItemClick,
297
+ ariaLabel: getTypeAheadListAriaLabels(triggerHandler === null || triggerHandler === void 0 ? void 0 : triggerHandler.trigger, intl, currentItem).listItemAriaLabel,
298
+ moreElementsInQuickInsertViewEnabled: moreElementsInQuickInsertViewEnabled,
299
+ api: api
300
+ }));
301
+ } : jsx("div", {
302
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
271
303
  style: style,
272
304
  "data-index": index
273
305
  }, jsx("div", {
@@ -0,0 +1,10 @@
1
+ import React, { type ReactNode, MouseEventHandler } from 'react';
2
+ import { ListRowProps } from 'react-virtualized';
3
+ type Props = {
4
+ measure: () => void;
5
+ registerChild?: (element?: Element) => void;
6
+ onMouseMove: MouseEventHandler<HTMLDivElement>;
7
+ children: ReactNode;
8
+ } & Pick<ListRowProps, 'index' | 'style' | 'isScrolling' | 'isVisible'>;
9
+ export declare function ListRow({ children, registerChild, measure, index, style, isVisible, isScrolling, onMouseMove, }: Props): React.JSX.Element;
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import React, { type ReactNode, MouseEventHandler } from 'react';
2
+ import { ListRowProps } from 'react-virtualized';
3
+ type Props = {
4
+ measure: () => void;
5
+ registerChild?: (element?: Element) => void;
6
+ onMouseMove: MouseEventHandler<HTMLDivElement>;
7
+ children: ReactNode;
8
+ } & Pick<ListRowProps, 'index' | 'style' | 'isScrolling' | 'isVisible'>;
9
+ export declare function ListRow({ children, registerChild, measure, index, style, isVisible, isScrolling, onMouseMove, }: Props): React.JSX.Element;
10
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -42,13 +42,13 @@
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
43
  "@atlaskit/editor-shared-styles": "^3.4.0",
44
44
  "@atlaskit/heading": "^5.1.0",
45
- "@atlaskit/icon": "^25.0.0",
45
+ "@atlaskit/icon": "^25.1.0",
46
46
  "@atlaskit/menu": "^3.1.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
48
  "@atlaskit/primitives": "^14.2.0",
49
49
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
50
50
  "@atlaskit/theme": "^18.0.0",
51
- "@atlaskit/tmp-editor-statsig": "^4.2.0",
51
+ "@atlaskit/tmp-editor-statsig": "^4.4.0",
52
52
  "@atlaskit/tokens": "^4.5.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "@emotion/react": "^11.7.1",
@@ -100,6 +100,9 @@
100
100
  },
101
101
  "platform_editor_legacy_content_macro_typeahead_fix": {
102
102
  "type": "boolean"
103
+ },
104
+ "platform_editor_typeahead_dynamic_height_fix": {
105
+ "type": "boolean"
103
106
  }
104
107
  }
105
108
  }