@atlaskit/editor-plugin-block-controls 8.0.12 → 8.0.13

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,13 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 8.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7080196995b11`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7080196995b11) -
8
+ Cleaning up FG platform_editor_ai_generic_prep_for_aifc
9
+ - Updated dependencies
10
+
3
11
  ## 8.0.12
4
12
 
5
13
  ### Patch Changes
@@ -12,7 +12,9 @@ var getKeyboardEventInfo = function getKeyboardEventInfo(event) {
12
12
  var isDelete = ['backspace', 'delete'].includes(key);
13
13
  var isCut = isMetaCtrl && key === 'x';
14
14
  var isPaste = isMetaCtrl && key === 'v';
15
- var isDestructive = isDelete || isCut || isPaste;
15
+ var isUndo = isMetaCtrl && key === 'z' && !event.shiftKey;
16
+ var isRedo = isMetaCtrl && (key === 'y' || key === 'z' && event.shiftKey);
17
+ var isDestructive = isDelete || isCut || isPaste || isUndo || isRedo;
16
18
  var isModifierOnly = ['control', 'meta', 'alt', 'shift'].includes(key) && !isMetaCtrl;
17
19
  var isCopy = isMetaCtrl && key === 'c';
18
20
  var isInert = isModifierOnly || isCopy;
@@ -57,7 +59,7 @@ var handleKeyDownWithPreservedSelection = exports.handleKeyDownWithPreservedSele
57
59
  }
58
60
  var isBlockMenuOpen = ((_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 || (_api$userIntent = _api$userIntent.sharedState.currentState()) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.currentUserIntent) === 'blockMenuOpen';
59
61
 
60
- // When selected content is being removed and the block menu is open
62
+ // When selected content is being removed/modified/undo/redo and the block menu is open
61
63
  // close the block menu and refocus the editor
62
64
  var shouldCloseBlockMenu = isDestructive && isBlockMenuOpen;
63
65
  if (shouldCloseBlockMenu) {
@@ -75,6 +77,7 @@ var handleKeyDownWithPreservedSelection = exports.handleKeyDownWithPreservedSele
75
77
  // Stop preserving when:
76
78
  // 1. Content is being removed (delete/cut/paste) OR
77
79
  // 2. Menu is closed AND user pressed a non-inert key (i.e. action which modifies selection or content)
80
+ // 3. undo/redo actions
78
81
  var shouldStopPreservingSelection = isDestructive || !isBlockMenuOpen && !isInert;
79
82
  if (shouldStopPreservingSelection) {
80
83
  (0, _editorCommands.stopPreservingSelection)({
@@ -9,7 +9,6 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
9
9
  var _memoizeOne = _interopRequireDefault(require("memoize-one"));
10
10
  var _selection = require("@atlaskit/editor-common/selection");
11
11
  var _toolbarFlagCheck = require("@atlaskit/editor-common/toolbar-flag-check");
12
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
12
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
14
13
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
15
14
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
@@ -60,7 +59,7 @@ var handleMouseOver = exports.handleMouseOver = function handleMouseOver(view, e
60
59
  var toolbarFlagsEnabled = (0, _toolbarFlagCheck.areToolbarFlagsEnabled)(Boolean(api === null || api === void 0 ? void 0 : api.toolbar));
61
60
 
62
61
  // We shouldn't be firing mouse over transactions when the editor is disabled
63
- if (editorDisabled && (0, _platformFeatureFlags.fg)('platform_editor_ai_generic_prep_for_aifc')) {
62
+ if (editorDisabled) {
64
63
  return false;
65
64
  }
66
65
 
@@ -301,7 +301,7 @@ var quickInsertStyles = function quickInsertStyles() {
301
301
  maxWidth: '240px',
302
302
  backgroundColor: "var(--ds-background-neutral-bold, #292A2E)",
303
303
  color: "var(--ds-text-inverse, #FFFFFF)",
304
- font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
304
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
305
305
  insetBlockStart: "var(--ds-space-0, 0px)",
306
306
  insetInlineStart: "var(--ds-space-0, 0px)",
307
307
  overflowWrap: 'break-word',
@@ -6,7 +6,9 @@ const getKeyboardEventInfo = event => {
6
6
  const isDelete = ['backspace', 'delete'].includes(key);
7
7
  const isCut = isMetaCtrl && key === 'x';
8
8
  const isPaste = isMetaCtrl && key === 'v';
9
- const isDestructive = isDelete || isCut || isPaste;
9
+ const isUndo = isMetaCtrl && key === 'z' && !event.shiftKey;
10
+ const isRedo = isMetaCtrl && (key === 'y' || key === 'z' && event.shiftKey);
11
+ const isDestructive = isDelete || isCut || isPaste || isUndo || isRedo;
10
12
  const isModifierOnly = ['control', 'meta', 'alt', 'shift'].includes(key) && !isMetaCtrl;
11
13
  const isCopy = isMetaCtrl && key === 'c';
12
14
  const isInert = isModifierOnly || isCopy;
@@ -51,7 +53,7 @@ export const handleKeyDownWithPreservedSelection = api => event => ({
51
53
  }
52
54
  const isBlockMenuOpen = ((_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 ? void 0 : (_api$userIntent$share = _api$userIntent.sharedState.currentState()) === null || _api$userIntent$share === void 0 ? void 0 : _api$userIntent$share.currentUserIntent) === 'blockMenuOpen';
53
55
 
54
- // When selected content is being removed and the block menu is open
56
+ // When selected content is being removed/modified/undo/redo and the block menu is open
55
57
  // close the block menu and refocus the editor
56
58
  const shouldCloseBlockMenu = isDestructive && isBlockMenuOpen;
57
59
  if (shouldCloseBlockMenu) {
@@ -69,6 +71,7 @@ export const handleKeyDownWithPreservedSelection = api => event => ({
69
71
  // Stop preserving when:
70
72
  // 1. Content is being removed (delete/cut/paste) OR
71
73
  // 2. Menu is closed AND user pressed a non-inert key (i.e. action which modifies selection or content)
74
+ // 3. undo/redo actions
72
75
  const shouldStopPreservingSelection = isDestructive || !isBlockMenuOpen && !isInert;
73
76
  if (shouldStopPreservingSelection) {
74
77
  stopPreservingSelection({
@@ -1,7 +1,6 @@
1
1
  import memoizeOne from 'memoize-one';
2
2
  import { isMultiBlockSelection } from '@atlaskit/editor-common/selection';
3
3
  import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-check';
4
- import { fg } from '@atlaskit/platform-feature-flags';
5
4
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
6
5
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
7
6
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
@@ -52,7 +51,7 @@ export const handleMouseOver = (view, event, api) => {
52
51
  const toolbarFlagsEnabled = areToolbarFlagsEnabled(Boolean(api === null || api === void 0 ? void 0 : api.toolbar));
53
52
 
54
53
  // We shouldn't be firing mouse over transactions when the editor is disabled
55
- if (editorDisabled && fg('platform_editor_ai_generic_prep_for_aifc')) {
54
+ if (editorDisabled) {
56
55
  return false;
57
56
  }
58
57
 
@@ -352,7 +352,7 @@ const quickInsertStyles = () => css({
352
352
  maxWidth: '240px',
353
353
  backgroundColor: "var(--ds-background-neutral-bold, #292A2E)",
354
354
  color: "var(--ds-text-inverse, #FFFFFF)",
355
- font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
355
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
356
356
  insetBlockStart: "var(--ds-space-0, 0px)",
357
357
  insetInlineStart: "var(--ds-space-0, 0px)",
358
358
  overflowWrap: 'break-word',
@@ -6,7 +6,9 @@ var getKeyboardEventInfo = function getKeyboardEventInfo(event) {
6
6
  var isDelete = ['backspace', 'delete'].includes(key);
7
7
  var isCut = isMetaCtrl && key === 'x';
8
8
  var isPaste = isMetaCtrl && key === 'v';
9
- var isDestructive = isDelete || isCut || isPaste;
9
+ var isUndo = isMetaCtrl && key === 'z' && !event.shiftKey;
10
+ var isRedo = isMetaCtrl && (key === 'y' || key === 'z' && event.shiftKey);
11
+ var isDestructive = isDelete || isCut || isPaste || isUndo || isRedo;
10
12
  var isModifierOnly = ['control', 'meta', 'alt', 'shift'].includes(key) && !isMetaCtrl;
11
13
  var isCopy = isMetaCtrl && key === 'c';
12
14
  var isInert = isModifierOnly || isCopy;
@@ -51,7 +53,7 @@ export var handleKeyDownWithPreservedSelection = function handleKeyDownWithPrese
51
53
  }
52
54
  var isBlockMenuOpen = ((_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 || (_api$userIntent = _api$userIntent.sharedState.currentState()) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.currentUserIntent) === 'blockMenuOpen';
53
55
 
54
- // When selected content is being removed and the block menu is open
56
+ // When selected content is being removed/modified/undo/redo and the block menu is open
55
57
  // close the block menu and refocus the editor
56
58
  var shouldCloseBlockMenu = isDestructive && isBlockMenuOpen;
57
59
  if (shouldCloseBlockMenu) {
@@ -69,6 +71,7 @@ export var handleKeyDownWithPreservedSelection = function handleKeyDownWithPrese
69
71
  // Stop preserving when:
70
72
  // 1. Content is being removed (delete/cut/paste) OR
71
73
  // 2. Menu is closed AND user pressed a non-inert key (i.e. action which modifies selection or content)
74
+ // 3. undo/redo actions
72
75
  var shouldStopPreservingSelection = isDestructive || !isBlockMenuOpen && !isInert;
73
76
  if (shouldStopPreservingSelection) {
74
77
  stopPreservingSelection({
@@ -2,7 +2,6 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import memoizeOne from 'memoize-one';
3
3
  import { isMultiBlockSelection } from '@atlaskit/editor-common/selection';
4
4
  import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-check';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
6
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
8
7
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
@@ -53,7 +52,7 @@ export var handleMouseOver = function handleMouseOver(view, event, api) {
53
52
  var toolbarFlagsEnabled = areToolbarFlagsEnabled(Boolean(api === null || api === void 0 ? void 0 : api.toolbar));
54
53
 
55
54
  // We shouldn't be firing mouse over transactions when the editor is disabled
56
- if (editorDisabled && fg('platform_editor_ai_generic_prep_for_aifc')) {
55
+ if (editorDisabled) {
57
56
  return false;
58
57
  }
59
58
 
@@ -294,7 +294,7 @@ var quickInsertStyles = function quickInsertStyles() {
294
294
  maxWidth: '240px',
295
295
  backgroundColor: "var(--ds-background-neutral-bold, #292A2E)",
296
296
  color: "var(--ds-text-inverse, #FFFFFF)",
297
- font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
297
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
298
298
  insetBlockStart: "var(--ds-space-0, 0px)",
299
299
  insetInlineStart: "var(--ds-space-0, 0px)",
300
300
  overflowWrap: 'break-word',
@@ -5,7 +5,7 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { EditorState, ReadonlyTransaction, Transaction } from '@atlaskit/editor-prosemirror/state';
6
6
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
7
7
  import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
8
- import type { ActiveDropTargetNode, BlockControlsMeta, BlockControlsPlugin, PluginState } from '../blockControlsPluginType';
8
+ import type { ActiveDropTargetNode, BlockControlsMeta, BlockControlsPlugin, MultiSelectDnD, PluginState } from '../blockControlsPluginType';
9
9
  import { AnchorRectCache } from './utils/anchor-utils';
10
10
  export declare const key: PluginKey<PluginState>;
11
11
  export interface FlagType {
@@ -14,51 +14,51 @@ export interface FlagType {
14
14
  }
15
15
  export declare const getDecorations: (state: EditorState) => DecorationSet | undefined;
16
16
  export declare const apply: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, formatMessage: IntlShape["formatMessage"], tr: ReadonlyTransaction, currentState: PluginState, newState: EditorState, flags: FlagType, nodeViewPortalProviderAPI: PortalProviderAPI, anchorRectCache?: AnchorRectCache, resizeObserverWidth?: ResizeObserver, pragmaticCleanup?: (() => void) | null) => PluginState | {
17
- decorations: DecorationSet;
18
- activeNode: any;
19
17
  activeDropTargetNode: ActiveDropTargetNode | undefined;
20
- isDragging: any;
21
- isMenuOpen: boolean | undefined;
22
- menuTriggerBy: any;
23
- menuTriggerByNode: any;
18
+ activeNode: any;
24
19
  blockMenuOptions: {
25
- canMoveUp: any;
26
20
  canMoveDown: any;
21
+ canMoveUp: any;
27
22
  openedViaKeyboard: any;
28
23
  } | undefined;
24
+ decorations: DecorationSet;
29
25
  editorHeight: any;
30
26
  editorWidthLeft: any;
31
27
  editorWidthRight: any;
32
- isResizerResizing: boolean;
33
28
  isDocSizeLimitEnabled: boolean | null;
29
+ isDragging: any;
30
+ isMenuOpen: boolean | undefined;
34
31
  isPMDragging: any;
35
- multiSelectDnD: import("../blockControlsPluginType").MultiSelectDnD | undefined;
32
+ isResizerResizing: boolean;
33
+ isSelectedViaDragHandle: any;
36
34
  isShiftDown: any;
37
35
  lastDragCancelled: any;
38
- isSelectedViaDragHandle: any;
36
+ menuTriggerBy: any;
37
+ menuTriggerByNode: any;
38
+ multiSelectDnD: MultiSelectDnD | undefined;
39
39
  };
40
40
  export declare const createPlugin: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, getIntl: () => IntlShape, nodeViewPortalProviderAPI: PortalProviderAPI) => SafePlugin<PluginState | {
41
- decorations: DecorationSet;
42
- activeNode: any;
43
41
  activeDropTargetNode: ActiveDropTargetNode | undefined;
44
- isDragging: any;
45
- isMenuOpen: boolean | undefined;
46
- menuTriggerBy: any;
47
- menuTriggerByNode: any;
42
+ activeNode: any;
48
43
  blockMenuOptions: {
49
- canMoveUp: any;
50
44
  canMoveDown: any;
45
+ canMoveUp: any;
51
46
  openedViaKeyboard: any;
52
47
  } | undefined;
48
+ decorations: DecorationSet;
53
49
  editorHeight: any;
54
50
  editorWidthLeft: any;
55
51
  editorWidthRight: any;
56
- isResizerResizing: boolean;
57
52
  isDocSizeLimitEnabled: boolean | null;
53
+ isDragging: any;
54
+ isMenuOpen: boolean | undefined;
58
55
  isPMDragging: any;
59
- multiSelectDnD: import("../blockControlsPluginType").MultiSelectDnD | undefined;
56
+ isResizerResizing: boolean;
57
+ isSelectedViaDragHandle: any;
60
58
  isShiftDown: any;
61
59
  lastDragCancelled: any;
62
- isSelectedViaDragHandle: any;
60
+ menuTriggerBy: any;
61
+ menuTriggerByNode: any;
62
+ multiSelectDnD: MultiSelectDnD | undefined;
63
63
  }>;
64
64
  export declare const getBlockControlsMeta: (tr: Transaction | ReadonlyTransaction) => BlockControlsMeta | undefined;
@@ -5,7 +5,7 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { EditorState, ReadonlyTransaction, Transaction } from '@atlaskit/editor-prosemirror/state';
6
6
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
7
7
  import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
8
- import type { ActiveDropTargetNode, BlockControlsMeta, BlockControlsPlugin, PluginState } from '../blockControlsPluginType';
8
+ import type { ActiveDropTargetNode, BlockControlsMeta, BlockControlsPlugin, MultiSelectDnD, PluginState } from '../blockControlsPluginType';
9
9
  import { AnchorRectCache } from './utils/anchor-utils';
10
10
  export declare const key: PluginKey<PluginState>;
11
11
  export interface FlagType {
@@ -14,51 +14,51 @@ export interface FlagType {
14
14
  }
15
15
  export declare const getDecorations: (state: EditorState) => DecorationSet | undefined;
16
16
  export declare const apply: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, formatMessage: IntlShape["formatMessage"], tr: ReadonlyTransaction, currentState: PluginState, newState: EditorState, flags: FlagType, nodeViewPortalProviderAPI: PortalProviderAPI, anchorRectCache?: AnchorRectCache, resizeObserverWidth?: ResizeObserver, pragmaticCleanup?: (() => void) | null) => PluginState | {
17
- decorations: DecorationSet;
18
- activeNode: any;
19
17
  activeDropTargetNode: ActiveDropTargetNode | undefined;
20
- isDragging: any;
21
- isMenuOpen: boolean | undefined;
22
- menuTriggerBy: any;
23
- menuTriggerByNode: any;
18
+ activeNode: any;
24
19
  blockMenuOptions: {
25
- canMoveUp: any;
26
20
  canMoveDown: any;
21
+ canMoveUp: any;
27
22
  openedViaKeyboard: any;
28
23
  } | undefined;
24
+ decorations: DecorationSet;
29
25
  editorHeight: any;
30
26
  editorWidthLeft: any;
31
27
  editorWidthRight: any;
32
- isResizerResizing: boolean;
33
28
  isDocSizeLimitEnabled: boolean | null;
29
+ isDragging: any;
30
+ isMenuOpen: boolean | undefined;
34
31
  isPMDragging: any;
35
- multiSelectDnD: import("../blockControlsPluginType").MultiSelectDnD | undefined;
32
+ isResizerResizing: boolean;
33
+ isSelectedViaDragHandle: any;
36
34
  isShiftDown: any;
37
35
  lastDragCancelled: any;
38
- isSelectedViaDragHandle: any;
36
+ menuTriggerBy: any;
37
+ menuTriggerByNode: any;
38
+ multiSelectDnD: MultiSelectDnD | undefined;
39
39
  };
40
40
  export declare const createPlugin: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, getIntl: () => IntlShape, nodeViewPortalProviderAPI: PortalProviderAPI) => SafePlugin<PluginState | {
41
- decorations: DecorationSet;
42
- activeNode: any;
43
41
  activeDropTargetNode: ActiveDropTargetNode | undefined;
44
- isDragging: any;
45
- isMenuOpen: boolean | undefined;
46
- menuTriggerBy: any;
47
- menuTriggerByNode: any;
42
+ activeNode: any;
48
43
  blockMenuOptions: {
49
- canMoveUp: any;
50
44
  canMoveDown: any;
45
+ canMoveUp: any;
51
46
  openedViaKeyboard: any;
52
47
  } | undefined;
48
+ decorations: DecorationSet;
53
49
  editorHeight: any;
54
50
  editorWidthLeft: any;
55
51
  editorWidthRight: any;
56
- isResizerResizing: boolean;
57
52
  isDocSizeLimitEnabled: boolean | null;
53
+ isDragging: any;
54
+ isMenuOpen: boolean | undefined;
58
55
  isPMDragging: any;
59
- multiSelectDnD: import("../blockControlsPluginType").MultiSelectDnD | undefined;
56
+ isResizerResizing: boolean;
57
+ isSelectedViaDragHandle: any;
60
58
  isShiftDown: any;
61
59
  lastDragCancelled: any;
62
- isSelectedViaDragHandle: any;
60
+ menuTriggerBy: any;
61
+ menuTriggerByNode: any;
62
+ multiSelectDnD: MultiSelectDnD | undefined;
63
63
  }>;
64
64
  export declare const getBlockControlsMeta: (tr: Transaction | ReadonlyTransaction) => BlockControlsMeta | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "8.0.12",
3
+ "version": "8.0.13",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/editor-plugin-metrics": "^8.0.0",
40
40
  "@atlaskit/editor-plugin-quick-insert": "^7.1.0",
41
41
  "@atlaskit/editor-plugin-selection": "^7.0.0",
42
- "@atlaskit/editor-plugin-toolbar": "^4.0.0",
42
+ "@atlaskit/editor-plugin-toolbar": "^4.1.0",
43
43
  "@atlaskit/editor-plugin-type-ahead": "^7.0.0",
44
44
  "@atlaskit/editor-plugin-user-intent": "^5.0.0",
45
45
  "@atlaskit/editor-plugin-width": "^8.0.0",
@@ -54,8 +54,8 @@
54
54
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
55
55
  "@atlaskit/primitives": "^17.1.0",
56
56
  "@atlaskit/theme": "^21.0.0",
57
- "@atlaskit/tmp-editor-statsig": "^16.23.0",
58
- "@atlaskit/tokens": "^10.0.0",
57
+ "@atlaskit/tmp-editor-statsig": "^16.30.0",
58
+ "@atlaskit/tokens": "^10.1.0",
59
59
  "@atlaskit/tooltip": "^20.14.0",
60
60
  "@babel/runtime": "^7.0.0",
61
61
  "@emotion/react": "^11.7.1",
@@ -128,9 +128,6 @@
128
128
  "platform_editor_fix_widget_destroy": {
129
129
  "type": "boolean"
130
130
  },
131
- "platform_editor_ai_generic_prep_for_aifc": {
132
- "type": "boolean"
133
- },
134
131
  "dst-a11y__replace-anchor-with-link__editor-jenga": {
135
132
  "type": "boolean"
136
133
  },