@atlaskit/editor-plugin-block-controls 17.2.3 → 17.2.5

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 (84) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/blockControlsPlugin.js +6 -6
  3. package/dist/cjs/editor-commands/move-node-with-block-menu.js +2 -2
  4. package/dist/cjs/editor-commands/move-node.js +6 -6
  5. package/dist/cjs/editor-commands/utils/move-node-utils.js +4 -4
  6. package/dist/cjs/pm-plugins/decorations-anchor.js +4 -4
  7. package/dist/cjs/pm-plugins/decorations-drag-handle.js +3 -3
  8. package/dist/cjs/pm-plugins/decorations-drop-target-active.js +2 -2
  9. package/dist/cjs/pm-plugins/decorations-drop-target.js +2 -2
  10. package/dist/cjs/pm-plugins/decorations-quick-insert-button.js +2 -2
  11. package/dist/cjs/pm-plugins/handle-mouse-down.js +3 -3
  12. package/dist/cjs/pm-plugins/handle-mouse-over.js +7 -7
  13. package/dist/cjs/pm-plugins/interaction-tracking/pm-plugin.js +3 -3
  14. package/dist/cjs/pm-plugins/main.js +14 -14
  15. package/dist/cjs/pm-plugins/react-root-registry.js +7 -7
  16. package/dist/cjs/pm-plugins/utils/active-anchor-tracker.js +2 -2
  17. package/dist/cjs/pm-plugins/utils/consts.js +2 -2
  18. package/dist/cjs/pm-plugins/utils/drag-handle-positions.js +6 -6
  19. package/dist/cjs/pm-plugins/utils/expand-and-update-selection.js +2 -2
  20. package/dist/cjs/pm-plugins/utils/getSelection.js +5 -5
  21. package/dist/cjs/pm-plugins/utils/inline-drop-target.js +2 -2
  22. package/dist/cjs/pm-plugins/utils/remove-from-source.js +2 -2
  23. package/dist/cjs/pm-plugins/utils/validation.js +2 -2
  24. package/dist/cjs/ui/consts.js +4 -4
  25. package/dist/cjs/ui/drag-handle.js +20 -19
  26. package/dist/cjs/ui/drop-target.js +2 -2
  27. package/dist/cjs/ui/global-styles.js +5 -5
  28. package/dist/cjs/ui/visibility-container.js +2 -2
  29. package/dist/es2019/blockControlsPlugin.js +1 -1
  30. package/dist/es2019/editor-commands/move-node-with-block-menu.js +1 -1
  31. package/dist/es2019/editor-commands/move-node.js +1 -1
  32. package/dist/es2019/editor-commands/utils/move-node-utils.js +1 -1
  33. package/dist/es2019/pm-plugins/decorations-anchor.js +1 -1
  34. package/dist/es2019/pm-plugins/decorations-drag-handle.js +1 -1
  35. package/dist/es2019/pm-plugins/decorations-drop-target-active.js +1 -1
  36. package/dist/es2019/pm-plugins/decorations-drop-target.js +1 -1
  37. package/dist/es2019/pm-plugins/decorations-quick-insert-button.js +1 -1
  38. package/dist/es2019/pm-plugins/handle-mouse-down.js +1 -1
  39. package/dist/es2019/pm-plugins/handle-mouse-over.js +1 -1
  40. package/dist/es2019/pm-plugins/interaction-tracking/pm-plugin.js +1 -1
  41. package/dist/es2019/pm-plugins/main.js +1 -1
  42. package/dist/es2019/pm-plugins/react-root-registry.js +7 -7
  43. package/dist/es2019/pm-plugins/utils/active-anchor-tracker.js +1 -1
  44. package/dist/es2019/pm-plugins/utils/consts.js +1 -1
  45. package/dist/es2019/pm-plugins/utils/drag-handle-positions.js +1 -1
  46. package/dist/es2019/pm-plugins/utils/expand-and-update-selection.js +1 -1
  47. package/dist/es2019/pm-plugins/utils/getSelection.js +1 -1
  48. package/dist/es2019/pm-plugins/utils/inline-drop-target.js +1 -1
  49. package/dist/es2019/pm-plugins/utils/remove-from-source.js +1 -1
  50. package/dist/es2019/pm-plugins/utils/validation.js +1 -1
  51. package/dist/es2019/ui/consts.js +1 -1
  52. package/dist/es2019/ui/drag-handle.js +4 -3
  53. package/dist/es2019/ui/drop-target.js +1 -1
  54. package/dist/es2019/ui/global-styles.js +1 -1
  55. package/dist/es2019/ui/visibility-container.js +1 -1
  56. package/dist/esm/blockControlsPlugin.js +1 -1
  57. package/dist/esm/editor-commands/move-node-with-block-menu.js +1 -1
  58. package/dist/esm/editor-commands/move-node.js +1 -1
  59. package/dist/esm/editor-commands/utils/move-node-utils.js +1 -1
  60. package/dist/esm/pm-plugins/decorations-anchor.js +1 -1
  61. package/dist/esm/pm-plugins/decorations-drag-handle.js +1 -1
  62. package/dist/esm/pm-plugins/decorations-drop-target-active.js +1 -1
  63. package/dist/esm/pm-plugins/decorations-drop-target.js +1 -1
  64. package/dist/esm/pm-plugins/decorations-quick-insert-button.js +1 -1
  65. package/dist/esm/pm-plugins/handle-mouse-down.js +1 -1
  66. package/dist/esm/pm-plugins/handle-mouse-over.js +1 -1
  67. package/dist/esm/pm-plugins/interaction-tracking/pm-plugin.js +1 -1
  68. package/dist/esm/pm-plugins/main.js +1 -1
  69. package/dist/esm/pm-plugins/react-root-registry.js +7 -7
  70. package/dist/esm/pm-plugins/utils/active-anchor-tracker.js +1 -1
  71. package/dist/esm/pm-plugins/utils/consts.js +1 -1
  72. package/dist/esm/pm-plugins/utils/drag-handle-positions.js +1 -1
  73. package/dist/esm/pm-plugins/utils/expand-and-update-selection.js +1 -1
  74. package/dist/esm/pm-plugins/utils/getSelection.js +1 -1
  75. package/dist/esm/pm-plugins/utils/inline-drop-target.js +1 -1
  76. package/dist/esm/pm-plugins/utils/remove-from-source.js +1 -1
  77. package/dist/esm/pm-plugins/utils/validation.js +1 -1
  78. package/dist/esm/ui/consts.js +1 -1
  79. package/dist/esm/ui/drag-handle.js +4 -3
  80. package/dist/esm/ui/drop-target.js +1 -1
  81. package/dist/esm/ui/global-styles.js +1 -1
  82. package/dist/esm/ui/visibility-container.js +1 -1
  83. package/dist/types/pm-plugins/react-root-registry.d.ts +4 -4
  84. package/package.json +4 -7
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import { EventEmitter } from 'events';
3
3
  import { useCallback, useEffect, useState } from 'react';
4
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
5
5
  export class ActiveAnchorTracker {
6
6
  constructor() {
7
7
  _defineProperty(this, "lastActiveAnchor", '');
@@ -1,4 +1,4 @@
1
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
1
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
2
2
  export const maxLayoutColumnSupported = () => {
3
3
  return editorExperiment('advanced_layouts', true) ? 5 : 3;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import memoizeOne from 'memoize-one';
2
2
  import { DRAG_HANDLE_WIDTH } from '@atlaskit/editor-common/styles';
3
3
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
5
5
  import { DRAG_HANDLE_DIVIDER_TOP_ADJUSTMENT, DRAG_HANDLE_H1_TOP_ADJUSTMENT, DRAG_HANDLE_H2_TOP_ADJUSTMENT, DRAG_HANDLE_H4_TOP_ADJUSTMENT, DRAG_HANDLE_H5_TOP_ADJUSTMENT, DRAG_HANDLE_H6_TOP_ADJUSTMENT, DRAG_HANDLE_HEIGHT, DRAG_HANDLE_PARAGRAPH_SMALL_TOP_ADJUSTMENT, DRAG_HANDLE_PARAGRAPH_TOP_ADJUSTMENT, dragHandleGap } from '../../ui/consts';
6
6
  const STICKY_NODES = ['panel', 'table', 'expand', 'layoutSection', 'bodiedExtension'];
7
7
  export const getTopPosition = (dom, type) => {
@@ -4,7 +4,7 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
4
4
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
5
5
  import { selectTableClosestToPos } from '@atlaskit/editor-tables/utils';
6
6
  import { fg } from '@atlaskit/platform-feature-flags/fg';
7
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
8
8
  import { selectNode } from './getSelection';
9
9
  import { adjustSelectionBoundsForEdgePositions } from './selection';
10
10
  const isPosWithinRange = (pos, range) => {
@@ -5,7 +5,7 @@ import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state
5
5
  import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
6
6
  import { selectTableClosestToPos } from '@atlaskit/editor-tables/utils';
7
7
  import { fg } from '@atlaskit/platform-feature-flags/fg';
8
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
9
9
  export const getInlineNodePos = (doc, start, nodeSize) => {
10
10
  const $startPos = doc.resolve(start);
11
11
  // To trigger the annotation floating toolbar for non-selectable node, we need to select inline nodes
@@ -1,5 +1,5 @@
1
1
  import { isEmptyParagraph } from '@atlaskit/editor-common/utils';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  import { isWrappedMedia } from './check-media-layout';
4
4
  import { maxLayoutColumnSupported } from './consts';
5
5
  const syncedBlockTypes = ['syncBlock', 'bodiedSyncBlock'];
@@ -1,6 +1,6 @@
1
1
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
2
2
  import { findParentNodeClosestToPos } from '@atlaskit/editor-prosemirror/utils';
3
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
4
4
  import { isFragmentOfType } from './check-fragment';
5
5
  import { MIN_LAYOUT_COLUMN } from './consts';
6
6
  import { updateColumnWidths } from './update-column-widths';
@@ -4,7 +4,7 @@ import { getBaseNodeTypeName } from '@atlaskit/editor-common/utils/node-type-uti
4
4
  import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
5
5
  import { findChildrenByType } from '@atlaskit/editor-prosemirror/utils';
6
6
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
8
8
  export const isInsideTable = nodeType => {
9
9
  const {
10
10
  tableCell,
@@ -4,7 +4,7 @@ import { akEditorUnitZIndex, akRichMediaResizeZIndex } from '@atlaskit/editor-sh
4
4
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
5
5
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
6
6
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
7
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
8
8
  export const ACTIVE_DRAG_HANDLE_ATTR = 'data-active-drag-handle';
9
9
  export const ACTIVE_QUICK_INSERT_ATTR = 'data-active-quick-insert';
10
10
  export const BLOCK_CONTROLS_SURFACE_SELECTOR = '[data-editor-block-controls-surface]';
@@ -18,6 +18,7 @@ import { TextSelection } from '@atlaskit/editor-prosemirror/state';
18
18
  import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
19
19
  import { akEditorFullPageNarrowBreakout, akEditorTableToolbarSize, relativeSizeToBaseFontSize } from '@atlaskit/editor-shared-styles/consts';
20
20
  import DragHandleVerticalIcon from '@atlaskit/icon/core/drag-handle-vertical';
21
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
21
22
  import { fg } from '@atlaskit/platform-feature-flags/fg';
22
23
  import { draggable } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
23
24
  import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/utils/set-custom-native-drag-preview';
@@ -25,7 +26,7 @@ import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/ut
25
26
  import { Box, xcss } from '@atlaskit/primitives';
26
27
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
27
28
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
28
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
29
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
29
30
  import Tooltip from '@atlaskit/tooltip/Tooltip';
30
31
  import { getNodeTypeWithLevel } from '../pm-plugins/decorations-common';
31
32
  import { key } from '../pm-plugins/main';
@@ -960,7 +961,7 @@ export const DragHandle = ({
960
961
  }, [isReliableAnchorEnabled, calculatePositionOld, view.dom, anchorName, nodeType, docDepForReliableAnchor]);
961
962
  const isHandleShown = positionStylesOld.display !== 'none';
962
963
  useEffect(() => {
963
- if (fg('nike_r19_render_unmount')) {
964
+ if (isExperimentEnabled('platform_editor_react19_migration')) {
964
965
  return;
965
966
  }
966
967
  if (handleOptions !== null && handleOptions !== void 0 && handleOptions.isFocused && buttonRef.current) {
@@ -975,7 +976,7 @@ export const DragHandle = ({
975
976
  }
976
977
  }, [buttonRef, handleOptions === null || handleOptions === void 0 ? void 0 : handleOptions.isFocused, view]);
977
978
  useEffect(() => {
978
- if (!fg('nike_r19_render_unmount')) {
979
+ if (!isExperimentEnabled('platform_editor_react19_migration')) {
979
980
  return;
980
981
  }
981
982
  if (!(handleOptions !== null && handleOptions !== void 0 && handleOptions.isFocused && isHandleShown && buttonRef.current)) {
@@ -12,7 +12,7 @@ import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-drop-indi
12
12
  import { dropTargetForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
13
13
  import { layers } from '@atlaskit/theme/constants';
14
14
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
15
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
15
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
16
16
  import { getNodeAnchor } from '../pm-plugins/decorations-common';
17
17
  import { useActiveAnchorTracker } from '../pm-plugins/utils/active-anchor-tracker';
18
18
  import { isAnchorSupported } from '../pm-plugins/utils/anchor-utils';
@@ -10,7 +10,7 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
10
10
  import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
11
11
  import { akEditorBreakoutPadding, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorFullPageNarrowBreakout, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced } from '@atlaskit/editor-shared-styles';
12
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
13
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
14
14
  import { ACTIVE_DRAG_HANDLE_FALLBACK_ANCHOR_NAME, ACTIVE_QUICK_INSERT_FALLBACK_ANCHOR_NAME, DRAG_HANDLE_MAX_WIDTH_PLUS_GAP } from './consts';
15
15
  import { NODE_ANCHOR_ATTR_NAME } from './utils/dom-attr-name';
16
16
 
@@ -11,7 +11,7 @@ import { akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
11
11
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
12
12
  import { Box, xcss } from '@atlaskit/primitives';
13
13
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
14
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
15
15
  const RIGHT_CONTROL_HIDE_DELAY_MS = 150;
16
16
  const baseStyles = xcss({
17
17
  transition: 'opacity 0.1s ease-in-out, visibility 0.1s ease-in-out'
@@ -11,7 +11,7 @@ import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
11
11
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
12
12
  import { fg } from '@atlaskit/platform-feature-flags/fg';
13
13
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
14
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
15
15
  import { handleKeyDownWithPreservedSelection } from './editor-commands/handle-key-down-with-preserved-selection';
16
16
  import { mapPreservedSelection as _mapPreservedSelection } from './editor-commands/map-preserved-selection';
17
17
  import { moveNode } from './editor-commands/move-node';
@@ -3,7 +3,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
5
5
  import { DIRECTION } from '@atlaskit/editor-common/types';
6
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
6
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
7
7
  import { key } from '../pm-plugins/main';
8
8
  import { mapPreservedSelection } from '../pm-plugins/utils/selection';
9
9
  import { moveNode } from './move-node';
@@ -17,7 +17,7 @@ import { findTable, isInTable, isTableSelected } from '@atlaskit/editor-tables/u
17
17
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
18
18
  import { fg } from '@atlaskit/platform-feature-flags/fg';
19
19
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
20
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
20
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
21
21
  import { key } from '../pm-plugins/main';
22
22
  import { attachMoveNodeAnalytics, getMultiSelectAnalyticsAttributes } from '../pm-plugins/utils/analytics';
23
23
  import { getNestedNodePosition } from '../pm-plugins/utils/getNestedNodePosition';
@@ -1,6 +1,6 @@
1
1
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
2
2
  import { findTable, isTableSelected } from '@atlaskit/editor-tables/utils';
3
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
4
4
  import { createPreservedSelection } from '../../pm-plugins/utils/selection';
5
5
 
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import { Decoration } from '@atlaskit/editor-prosemirror/view';
3
3
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
5
5
  import { getNodeAnchor, getNodeTypeWithLevel, NESTED_DEPTH, TYPE_NODE_DEC } from './decorations-common';
6
6
  var IGNORE_NODES = ['tableCell', 'tableHeader', 'tableRow', 'listItem', 'caption', 'layoutColumn'];
7
7
  export var IGNORE_NODES_NEXT = ['tableCell', 'tableHeader', 'tableRow', 'listItem', 'caption'];
@@ -5,7 +5,7 @@ import uuid from 'uuid';
5
5
  import { Decoration } from '@atlaskit/editor-prosemirror/view';
6
6
  import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
9
9
  import { ACTIVE_DRAG_HANDLE_ATTR } from '../ui/consts';
10
10
  import { DragHandle, DragHandleWithVisibility } from '../ui/drag-handle';
11
11
  import { TYPE_HANDLE_DEC, TYPE_NODE_DEC, unmountDecorations } from './decorations-common';
@@ -5,7 +5,7 @@ import { isEmptyParagraph } from '@atlaskit/editor-common/utils';
5
5
  import { getBaseNodeTypeName } from '@atlaskit/editor-common/utils/node-type-utils';
6
6
  import { findChildrenByType } from '@atlaskit/editor-prosemirror/utils';
7
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
9
9
  import { getNodeAnchor } from './decorations-common';
10
10
  import { createDropTargetDecoration, createLayoutDropTargetDecoration } from './decorations-drop-target';
11
11
  import { findSurroundingNodes } from './decorations-find-surrounding-nodes';
@@ -11,7 +11,7 @@ import { isEmptyParagraph } from '@atlaskit/editor-common/utils';
11
11
  import { getBaseNodeTypeName } from '@atlaskit/editor-common/utils/node-type-utils';
12
12
  import { Decoration } from '@atlaskit/editor-prosemirror/view';
13
13
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
14
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
15
15
  import { nodeMargins } from '../ui/consts';
16
16
  import { DropTarget, EDITOR_BLOCK_CONTROLS_DROP_INDICATOR_GAP, EDITOR_BLOCK_CONTROLS_DROP_INDICATOR_OFFSET } from '../ui/drop-target';
17
17
  import { DropTargetLayout, DropTargetLayoutNativeAnchorSupport } from '../ui/drop-target-layout';
@@ -5,7 +5,7 @@ import uuid from 'uuid';
5
5
  import { Decoration } from '@atlaskit/editor-prosemirror/view';
6
6
  import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
9
9
  import { ACTIVE_QUICK_INSERT_ATTR } from '../ui/consts';
10
10
  import { QuickInsertWithVisibility } from '../ui/quick-insert-button';
11
11
  import { getMatchingBlockMarks } from './utils/marks';
@@ -1,6 +1,6 @@
1
1
  import { DRAG_HANDLE_SELECTOR } from '@atlaskit/editor-common/styles';
2
2
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
4
4
  export var handleMouseDown = function handleMouseDown(api) {
5
5
  return function (view, event) {
6
6
  if (!(event.target instanceof HTMLElement)) {
@@ -5,7 +5,7 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
5
5
  import { fg } from '@atlaskit/platform-feature-flags/fg';
6
6
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
7
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
8
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
9
9
  import { getAnchorAttrName, getTypeNameAttrName, getTypeNameFromDom, NODE_ANCHOR_ATTR_NAME } from '../ui/utils/dom-attr-name';
10
10
  import { IGNORE_NODE_DESCENDANTS_ADVANCED_LAYOUT, IGNORE_NODES_NEXT } from './decorations-anchor';
11
11
  import { selectionPreservationPluginKey } from './selection-preservation/plugin-key';
@@ -7,7 +7,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
7
7
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
8
8
  import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
9
9
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
10
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
10
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
11
11
  import { RIGHT_MARGIN_ROVO_GAP_PX } from './constants';
12
12
  import { handleKeyDown } from './handle-key-down';
13
13
  import { handleMouseEnter, handleMouseLeave, handleMouseMove } from './handle-mouse-move';
@@ -24,7 +24,7 @@ import { autoScrollForElements } from '@atlaskit/pragmatic-drag-and-drop-auto-sc
24
24
  import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
25
25
  import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
26
26
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
27
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
27
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
28
28
  import { BLOCK_CONTROLS_SURFACE_SELECTOR } from '../ui/consts';
29
29
  import { getAnchorAttrName } from '../ui/utils/dom-attr-name';
30
30
  import { findNodeDecs, nodeDecorations } from './decorations-anchor';
@@ -1,6 +1,6 @@
1
1
  import ReactDOM, { flushSync } from 'react-dom';
2
2
  import { createRoot } from 'react-dom/client';
3
- import { fg } from '@atlaskit/platform-feature-flags/fg';
3
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
4
4
 
5
5
  /**
6
6
  * Shared registry of React roots created via `createRoot`.
@@ -14,16 +14,16 @@ var reactRoots = new WeakMap();
14
14
  /**
15
15
  * Mounts `element` into `mountPoint`.
16
16
  *
17
- * When `nike_r19_render_unmount` is **on**, uses the React 18/19 `createRoot`
17
+ * When `platform_editor_react19_migration` is **on**, uses the React 18/19 `createRoot`
18
18
  * API wrapped in `flushSync` so the render is synchronous – matching the
19
19
  * legacy `ReactDOM.render` timing that ProseMirror decoration widgets depend
20
20
  * on (focus management, anchor positioning, block-menu visibility all read
21
21
  * the rendered DOM immediately after the callback returns).
22
22
  *
23
- * When the gate is **off**, falls back to the legacy `ReactDOM.render` path.
23
+ * Otherwise, falls back to the legacy `ReactDOM.render` path.
24
24
  */
25
25
  export var renderToMountPoint = function renderToMountPoint(element, mountPoint) {
26
- if (fg('nike_r19_render_unmount')) {
26
+ if (isExperimentEnabled('platform_editor_react19_migration')) {
27
27
  var root = reactRoots.get(mountPoint);
28
28
  if (!root) {
29
29
  root = createRoot(mountPoint);
@@ -44,13 +44,13 @@ export var renderToMountPoint = function renderToMountPoint(element, mountPoint)
44
44
  /**
45
45
  * Unmounts the React tree at `mountPoint`.
46
46
  *
47
- * When `nike_r19_render_unmount` is **on**, looks up the root in the shared
47
+ * When `platform_editor_react19_migration` is **on**, looks up the root in the shared
48
48
  * registry, calls `root.unmount()`, and removes the entry.
49
49
  *
50
- * When the gate is **off**, falls back to `ReactDOM.unmountComponentAtNode`.
50
+ * Otherwise, falls back to `ReactDOM.unmountComponentAtNode`.
51
51
  */
52
52
  export var unmountFromMountPoint = function unmountFromMountPoint(mountPoint) {
53
- if (fg('nike_r19_render_unmount')) {
53
+ if (isExperimentEnabled('platform_editor_react19_migration')) {
54
54
  var root = reactRoots.get(mountPoint);
55
55
  if (root) {
56
56
  root.unmount();
@@ -4,7 +4,7 @@ import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
5
5
  import { EventEmitter } from 'events';
6
6
  import { useCallback, useEffect, useState } from 'react';
7
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
8
8
  export var ActiveAnchorTracker = /*#__PURE__*/function () {
9
9
  function ActiveAnchorTracker() {
10
10
  _classCallCheck(this, ActiveAnchorTracker);
@@ -1,4 +1,4 @@
1
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
1
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
2
2
  export var maxLayoutColumnSupported = function maxLayoutColumnSupported() {
3
3
  return editorExperiment('advanced_layouts', true) ? 5 : 3;
4
4
  };
@@ -2,7 +2,7 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import memoizeOne from 'memoize-one';
3
3
  import { DRAG_HANDLE_WIDTH } from '@atlaskit/editor-common/styles';
4
4
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
5
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
5
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
6
6
  import { DRAG_HANDLE_DIVIDER_TOP_ADJUSTMENT, DRAG_HANDLE_H1_TOP_ADJUSTMENT, DRAG_HANDLE_H2_TOP_ADJUSTMENT, DRAG_HANDLE_H4_TOP_ADJUSTMENT, DRAG_HANDLE_H5_TOP_ADJUSTMENT, DRAG_HANDLE_H6_TOP_ADJUSTMENT, DRAG_HANDLE_HEIGHT, DRAG_HANDLE_PARAGRAPH_SMALL_TOP_ADJUSTMENT, DRAG_HANDLE_PARAGRAPH_TOP_ADJUSTMENT, dragHandleGap } from '../../ui/consts';
7
7
  var STICKY_NODES = ['panel', 'table', 'expand', 'layoutSection', 'bodiedExtension'];
8
8
  export var getTopPosition = function getTopPosition(dom, type) {
@@ -4,7 +4,7 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
4
4
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
5
5
  import { selectTableClosestToPos } from '@atlaskit/editor-tables/utils';
6
6
  import { fg } from '@atlaskit/platform-feature-flags/fg';
7
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
8
8
  import { selectNode } from './getSelection';
9
9
  import { adjustSelectionBoundsForEdgePositions } from './selection';
10
10
  var isPosWithinRange = function isPosWithinRange(pos, range) {
@@ -5,7 +5,7 @@ import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state
5
5
  import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
6
6
  import { selectTableClosestToPos } from '@atlaskit/editor-tables/utils';
7
7
  import { fg } from '@atlaskit/platform-feature-flags/fg';
8
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
9
9
  export var getInlineNodePos = function getInlineNodePos(doc, start, nodeSize) {
10
10
  var $startPos = doc.resolve(start);
11
11
  // To trigger the annotation floating toolbar for non-selectable node, we need to select inline nodes
@@ -1,5 +1,5 @@
1
1
  import { isEmptyParagraph } from '@atlaskit/editor-common/utils';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  import { isWrappedMedia } from './check-media-layout';
4
4
  import { maxLayoutColumnSupported } from './consts';
5
5
  var syncedBlockTypes = ['syncBlock', 'bodiedSyncBlock'];
@@ -1,6 +1,6 @@
1
1
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
2
2
  import { findParentNodeClosestToPos } from '@atlaskit/editor-prosemirror/utils';
3
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
4
4
  import { isFragmentOfType } from './check-fragment';
5
5
  import { MIN_LAYOUT_COLUMN } from './consts';
6
6
  import { updateColumnWidths } from './update-column-widths';
@@ -4,7 +4,7 @@ import { getBaseNodeTypeName } from '@atlaskit/editor-common/utils/node-type-uti
4
4
  import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
5
5
  import { findChildrenByType } from '@atlaskit/editor-prosemirror/utils';
6
6
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
8
8
  export var isInsideTable = function isInsideTable(nodeType) {
9
9
  var _nodeType$schema$node = nodeType.schema.nodes,
10
10
  tableCell = _nodeType$schema$node.tableCell,
@@ -7,7 +7,7 @@ import { akEditorUnitZIndex, akRichMediaResizeZIndex } from '@atlaskit/editor-sh
7
7
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
8
8
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
9
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
10
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
10
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
11
11
  export var ACTIVE_DRAG_HANDLE_ATTR = 'data-active-drag-handle';
12
12
  export var ACTIVE_QUICK_INSERT_ATTR = 'data-active-quick-insert';
13
13
  export var BLOCK_CONTROLS_SURFACE_SELECTOR = '[data-editor-block-controls-surface]';
@@ -23,6 +23,7 @@ import { TextSelection } from '@atlaskit/editor-prosemirror/state';
23
23
  import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
24
24
  import { akEditorFullPageNarrowBreakout, akEditorTableToolbarSize, relativeSizeToBaseFontSize } from '@atlaskit/editor-shared-styles/consts';
25
25
  import DragHandleVerticalIcon from '@atlaskit/icon/core/drag-handle-vertical';
26
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
26
27
  import { fg } from '@atlaskit/platform-feature-flags/fg';
27
28
  import { draggable } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
28
29
  import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/utils/set-custom-native-drag-preview';
@@ -30,7 +31,7 @@ import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/ut
30
31
  import { Box, xcss } from '@atlaskit/primitives';
31
32
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
32
33
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
33
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
34
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
34
35
  import Tooltip from '@atlaskit/tooltip/Tooltip';
35
36
  import { getNodeTypeWithLevel } from '../pm-plugins/decorations-common';
36
37
  import { key } from '../pm-plugins/main';
@@ -975,7 +976,7 @@ export var DragHandle = function DragHandle(_ref2) {
975
976
  }, [isReliableAnchorEnabled, calculatePositionOld, view.dom, anchorName, nodeType, docDepForReliableAnchor]);
976
977
  var isHandleShown = positionStylesOld.display !== 'none';
977
978
  useEffect(function () {
978
- if (fg('nike_r19_render_unmount')) {
979
+ if (isExperimentEnabled('platform_editor_react19_migration')) {
979
980
  return;
980
981
  }
981
982
  if (handleOptions !== null && handleOptions !== void 0 && handleOptions.isFocused && buttonRef.current) {
@@ -990,7 +991,7 @@ export var DragHandle = function DragHandle(_ref2) {
990
991
  }
991
992
  }, [buttonRef, handleOptions === null || handleOptions === void 0 ? void 0 : handleOptions.isFocused, view]);
992
993
  useEffect(function () {
993
- if (!fg('nike_r19_render_unmount')) {
994
+ if (!isExperimentEnabled('platform_editor_react19_migration')) {
994
995
  return;
995
996
  }
996
997
  if (!(handleOptions !== null && handleOptions !== void 0 && handleOptions.isFocused && isHandleShown && buttonRef.current)) {
@@ -14,7 +14,7 @@ import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-drop-indi
14
14
  import { dropTargetForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
15
15
  import { layers } from '@atlaskit/theme/constants';
16
16
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
17
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
18
18
  import { getNodeAnchor } from '../pm-plugins/decorations-common';
19
19
  import { useActiveAnchorTracker } from '../pm-plugins/utils/active-anchor-tracker';
20
20
  import { isAnchorSupported } from '../pm-plugins/utils/anchor-utils';
@@ -11,7 +11,7 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
11
11
  import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
12
12
  import { akEditorBreakoutPadding, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorFullPageNarrowBreakout, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced } from '@atlaskit/editor-shared-styles';
13
13
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
14
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
15
15
  import { ACTIVE_DRAG_HANDLE_FALLBACK_ANCHOR_NAME, ACTIVE_QUICK_INSERT_FALLBACK_ANCHOR_NAME, DRAG_HANDLE_MAX_WIDTH_PLUS_GAP } from './consts';
16
16
  import { NODE_ANCHOR_ATTR_NAME } from './utils/dom-attr-name';
17
17
 
@@ -13,7 +13,7 @@ import { akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
13
13
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
14
14
  import { Box, xcss } from '@atlaskit/primitives';
15
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
16
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
17
17
  var RIGHT_CONTROL_HIDE_DELAY_MS = 150;
18
18
  var baseStyles = xcss({
19
19
  transition: 'opacity 0.1s ease-in-out, visibility 0.1s ease-in-out'
@@ -2,21 +2,21 @@ import type { ReactElement } from 'react';
2
2
  /**
3
3
  * Mounts `element` into `mountPoint`.
4
4
  *
5
- * When `nike_r19_render_unmount` is **on**, uses the React 18/19 `createRoot`
5
+ * When `platform_editor_react19_migration` is **on**, uses the React 18/19 `createRoot`
6
6
  * API wrapped in `flushSync` so the render is synchronous – matching the
7
7
  * legacy `ReactDOM.render` timing that ProseMirror decoration widgets depend
8
8
  * on (focus management, anchor positioning, block-menu visibility all read
9
9
  * the rendered DOM immediately after the callback returns).
10
10
  *
11
- * When the gate is **off**, falls back to the legacy `ReactDOM.render` path.
11
+ * Otherwise, falls back to the legacy `ReactDOM.render` path.
12
12
  */
13
13
  export declare const renderToMountPoint: (element: ReactElement, mountPoint: Element) => void;
14
14
  /**
15
15
  * Unmounts the React tree at `mountPoint`.
16
16
  *
17
- * When `nike_r19_render_unmount` is **on**, looks up the root in the shared
17
+ * When `platform_editor_react19_migration` is **on**, looks up the root in the shared
18
18
  * registry, calls `root.unmount()`, and removes the entry.
19
19
  *
20
- * When the gate is **off**, falls back to `ReactDOM.unmountComponentAtNode`.
20
+ * Otherwise, falls back to `ReactDOM.unmountComponentAtNode`.
21
21
  */
22
22
  export declare const unmountFromMountPoint: (mountPoint: Element) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "17.2.3",
3
+ "version": "17.2.5",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -55,8 +55,8 @@
55
55
  "@atlaskit/primitives": "^22.4.0",
56
56
  "@atlaskit/section-message": "^10.1.0",
57
57
  "@atlaskit/theme": "^28.1.0",
58
- "@atlaskit/tmp-editor-statsig": "^166.0.0",
59
- "@atlaskit/tokens": "^16.8.0",
58
+ "@atlaskit/tmp-editor-statsig": "^168.0.0",
59
+ "@atlaskit/tokens": "^16.9.0",
60
60
  "@atlaskit/tooltip": "^24.2.0",
61
61
  "@babel/runtime": "^7.0.0",
62
62
  "@compiled/react": "^1.0.2",
@@ -67,7 +67,7 @@
67
67
  "uuid": "^3.1.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "@atlaskit/editor-common": "^120.6.0",
70
+ "@atlaskit/editor-common": "^120.7.0",
71
71
  "react": "^18.2.0 || ^19.2.0",
72
72
  "react-dom": "^18.2.0 || ^19.2.0",
73
73
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -139,9 +139,6 @@
139
139
  "platform-dst-top-layer-tooltip": {
140
140
  "type": "boolean",
141
141
  "referenceOnly": true
142
- },
143
- "nike_r19_render_unmount": {
144
- "type": "boolean"
145
142
  }
146
143
  },
147
144
  "devDependencies": {