@atlaskit/editor-plugin-block-menu 24.0.2 → 25.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-plugin-block-menu
2
2
 
3
+ ## 25.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 24.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`59547e8338ae0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/59547e8338ae0) -
14
+ Clean up feature gate `platform_editor_blocks_patch_8`
15
+ - Updated dependencies
16
+
3
17
  ## 24.0.2
4
18
 
5
19
  ### Patch Changes
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.useBlockMenu = exports.BlockMenuProvider = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
- var _fg = require("@atlaskit/platform-feature-flags/fg");
10
9
  var _fixBlockMenuPositionAndScroll = require("./utils/fixBlockMenuPositionAndScroll");
11
10
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
12
11
  var BlockMenuContext = /*#__PURE__*/(0, _react.createContext)({
@@ -82,20 +81,18 @@ var BlockMenuProvider = exports.BlockMenuProvider = function BlockMenuProvider(_
82
81
  var onDropdownOpenChanged = (0, _react.useCallback)(function (isOpen) {
83
82
  anchorMetricsRef.current = undefined;
84
83
  if (isOpen) {
85
- if ((0, _fg.fg)('platform_editor_blocks_patch_8')) {
86
- // The popup lays itself out next to the drag handle over the next frame or two.
87
- var remainingFrames = 3;
88
- var _captureAnchorMetrics = function captureAnchorMetrics() {
89
- requestAnimationFrame(function () {
90
- anchorMetricsRef.current = (0, _fixBlockMenuPositionAndScroll.getBlockMenuAnchorMetrics)(getSelectedBlockDomNode());
91
- remainingFrames -= 1;
92
- if (!anchorMetricsRef.current && remainingFrames > 0) {
93
- _captureAnchorMetrics();
94
- }
95
- });
96
- };
97
- _captureAnchorMetrics();
98
- }
84
+ // The popup lays itself out next to the drag handle over the next frame or two.
85
+ var remainingFrames = 3;
86
+ var _captureAnchorMetrics = function captureAnchorMetrics() {
87
+ requestAnimationFrame(function () {
88
+ anchorMetricsRef.current = (0, _fixBlockMenuPositionAndScroll.getBlockMenuAnchorMetrics)(getSelectedBlockDomNode());
89
+ remainingFrames -= 1;
90
+ if (!anchorMetricsRef.current && remainingFrames > 0) {
91
+ _captureAnchorMetrics();
92
+ }
93
+ });
94
+ };
95
+ _captureAnchorMetrics();
99
96
  return;
100
97
  }
101
98
 
@@ -16,7 +16,6 @@ var _messages = require("@atlaskit/editor-common/messages");
16
16
  var _types = require("@atlaskit/editor-common/types");
17
17
  var _editorToolbar = require("@atlaskit/editor-toolbar");
18
18
  var _arrowDown = _interopRequireDefault(require("@atlaskit/icon/core/arrow-down"));
19
- var _fg = require("@atlaskit/platform-feature-flags/fg");
20
19
  var _blockMenuProvider = require("./block-menu-provider");
21
20
  var _consts = require("./consts");
22
21
  var _fixBlockMenuPositionAndScroll = require("./utils/fixBlockMenuPositionAndScroll");
@@ -49,7 +48,7 @@ var MoveDownDropdownItemContent = function MoveDownDropdownItemContent(_ref) {
49
48
  }
50
49
  }, [canMoveDown, moveUpRef, moveDownRef]);
51
50
  var handleClick = function handleClick() {
52
- var positionSnapshot = (0, _fg.fg)('platform_editor_blocks_patch_8') ? (0, _fixBlockMenuPositionAndScroll.getBlockMenuPositionSnapshot)(getSelectedBlockDomNode(), anchorMetricsRef.current) : undefined;
51
+ var positionSnapshot = (0, _fixBlockMenuPositionAndScroll.getBlockMenuPositionSnapshot)(getSelectedBlockDomNode(), anchorMetricsRef.current);
53
52
  api === null || api === void 0 || api.core.actions.execute(function (_ref3) {
54
53
  var _api$analytics, _api$blockControls;
55
54
  var tr = _ref3.tr;
@@ -16,7 +16,6 @@ var _messages = require("@atlaskit/editor-common/messages");
16
16
  var _types = require("@atlaskit/editor-common/types");
17
17
  var _editorToolbar = require("@atlaskit/editor-toolbar");
18
18
  var _arrowUp = _interopRequireDefault(require("@atlaskit/icon/core/arrow-up"));
19
- var _fg = require("@atlaskit/platform-feature-flags/fg");
20
19
  var _blockMenuProvider = require("./block-menu-provider");
21
20
  var _consts = require("./consts");
22
21
  var _fixBlockMenuPositionAndScroll = require("./utils/fixBlockMenuPositionAndScroll");
@@ -47,7 +46,7 @@ var MoveUpDropdownItemContent = function MoveUpDropdownItemContent(_ref) {
47
46
  }
48
47
  }, [canMoveUp, moveDownRef, moveUpRef]);
49
48
  var handleClick = function handleClick() {
50
- var positionSnapshot = (0, _fg.fg)('platform_editor_blocks_patch_8') ? (0, _fixBlockMenuPositionAndScroll.getBlockMenuPositionSnapshot)(getSelectedBlockDomNode(), anchorMetricsRef.current) : undefined;
49
+ var positionSnapshot = (0, _fixBlockMenuPositionAndScroll.getBlockMenuPositionSnapshot)(getSelectedBlockDomNode(), anchorMetricsRef.current);
51
50
  api === null || api === void 0 || api.core.actions.execute(function (_ref3) {
52
51
  var _api$analytics, _api$blockControls;
53
52
  var tr = _ref3.tr;
@@ -9,7 +9,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
9
9
  var _browserApis = require("@atlaskit/browser-apis");
10
10
  var _blockMenu = require("@atlaskit/editor-common/block-menu");
11
11
  var _styles = require("@atlaskit/editor-common/styles");
12
- var _fg = require("@atlaskit/platform-feature-flags/fg");
13
12
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
13
  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) { (0, _defineProperty2.default)(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; }
15
14
  var POPUP_WRAPPER_TEST_ID = 'popup-wrapper';
@@ -238,13 +237,13 @@ var fixBlockMenuPositionAndScroll = exports.fixBlockMenuPositionAndScroll = func
238
237
  * Shared by move-up.tsx and move-down.tsx: schedules the post-move fix for the frame after
239
238
  * ProseMirror has re-rendered.
240
239
  *
241
- * Falls back to the pre-PR always-scroll path (matching gate-off, via `getFirstSelectedDomNode`)
242
- * whenever a `positionSnapshot` wasn't captured - e.g. a media/file thumbnail reporting zero height
243
- * for a frame when the menu opened - rather than silently doing nothing.
240
+ * Falls back to the always-scroll path (via `getFirstSelectedDomNode`) whenever a
241
+ * `positionSnapshot` wasn't captured - e.g. a media/file thumbnail reporting zero height for a
242
+ * frame when the menu opened - rather than silently doing nothing.
244
243
  */
245
244
  var scheduleBlockMenuPositionFix = exports.scheduleBlockMenuPositionFix = function scheduleBlockMenuPositionFix(positionSnapshot, getMovedBlockDomNode, getFirstSelectedDomNode) {
246
245
  requestAnimationFrame(function () {
247
- if ((0, _fg.fg)('platform_editor_blocks_patch_8') && positionSnapshot) {
246
+ if (positionSnapshot) {
248
247
  fixBlockMenuPositionAndScroll(getMovedBlockDomNode(), positionSnapshot);
249
248
  return;
250
249
  }
@@ -1,5 +1,4 @@
1
1
  import React, { useCallback, createContext, useContext, useRef } from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags/fg';
3
2
  import { getBlockMenuAnchorMetrics } from './utils/fixBlockMenuPositionAndScroll';
4
3
  const BlockMenuContext = /*#__PURE__*/createContext({
5
4
  onDropdownOpenChanged: () => {},
@@ -69,20 +68,18 @@ export const BlockMenuProvider = ({
69
68
  const onDropdownOpenChanged = useCallback(isOpen => {
70
69
  anchorMetricsRef.current = undefined;
71
70
  if (isOpen) {
72
- if (fg('platform_editor_blocks_patch_8')) {
73
- // The popup lays itself out next to the drag handle over the next frame or two.
74
- let remainingFrames = 3;
75
- const captureAnchorMetrics = () => {
76
- requestAnimationFrame(() => {
77
- anchorMetricsRef.current = getBlockMenuAnchorMetrics(getSelectedBlockDomNode());
78
- remainingFrames -= 1;
79
- if (!anchorMetricsRef.current && remainingFrames > 0) {
80
- captureAnchorMetrics();
81
- }
82
- });
83
- };
84
- captureAnchorMetrics();
85
- }
71
+ // The popup lays itself out next to the drag handle over the next frame or two.
72
+ let remainingFrames = 3;
73
+ const captureAnchorMetrics = () => {
74
+ requestAnimationFrame(() => {
75
+ anchorMetricsRef.current = getBlockMenuAnchorMetrics(getSelectedBlockDomNode());
76
+ remainingFrames -= 1;
77
+ if (!anchorMetricsRef.current && remainingFrames > 0) {
78
+ captureAnchorMetrics();
79
+ }
80
+ });
81
+ };
82
+ captureAnchorMetrics();
86
83
  return;
87
84
  }
88
85
 
@@ -8,7 +8,6 @@ import { blockMenuMessages as messages } from '@atlaskit/editor-common/messages'
8
8
  import { DIRECTION } from '@atlaskit/editor-common/types';
9
9
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
10
10
  import ArrowDownIcon from '@atlaskit/icon/core/arrow-down';
11
- import { fg } from '@atlaskit/platform-feature-flags/fg';
12
11
  import { useBlockMenu } from './block-menu-provider';
13
12
  import { BLOCK_MENU_ITEM_NAME } from './consts';
14
13
  import { getBlockMenuPositionSnapshot, scheduleBlockMenuPositionFix } from './utils/fixBlockMenuPositionAndScroll';
@@ -45,7 +44,7 @@ const MoveDownDropdownItemContent = ({
45
44
  }
46
45
  }, [canMoveDown, moveUpRef, moveDownRef]);
47
46
  const handleClick = () => {
48
- const positionSnapshot = fg('platform_editor_blocks_patch_8') ? getBlockMenuPositionSnapshot(getSelectedBlockDomNode(), anchorMetricsRef.current) : undefined;
47
+ const positionSnapshot = getBlockMenuPositionSnapshot(getSelectedBlockDomNode(), anchorMetricsRef.current);
49
48
  api === null || api === void 0 ? void 0 : api.core.actions.execute(({
50
49
  tr
51
50
  }) => {
@@ -8,7 +8,6 @@ import { blockMenuMessages as messages } from '@atlaskit/editor-common/messages'
8
8
  import { DIRECTION } from '@atlaskit/editor-common/types';
9
9
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
10
10
  import ArrowUpIcon from '@atlaskit/icon/core/arrow-up';
11
- import { fg } from '@atlaskit/platform-feature-flags/fg';
12
11
  import { useBlockMenu } from './block-menu-provider';
13
12
  import { BLOCK_MENU_ITEM_NAME } from './consts';
14
13
  import { getBlockMenuPositionSnapshot, scheduleBlockMenuPositionFix } from './utils/fixBlockMenuPositionAndScroll';
@@ -43,7 +42,7 @@ const MoveUpDropdownItemContent = ({
43
42
  }
44
43
  }, [canMoveUp, moveDownRef, moveUpRef]);
45
44
  const handleClick = () => {
46
- const positionSnapshot = fg('platform_editor_blocks_patch_8') ? getBlockMenuPositionSnapshot(getSelectedBlockDomNode(), anchorMetricsRef.current) : undefined;
45
+ const positionSnapshot = getBlockMenuPositionSnapshot(getSelectedBlockDomNode(), anchorMetricsRef.current);
47
46
  api === null || api === void 0 ? void 0 : api.core.actions.execute(({
48
47
  tr
49
48
  }) => {
@@ -1,7 +1,6 @@
1
1
  import { getDocument } from '@atlaskit/browser-apis';
2
2
  import { BLOCK_MENU_TEST_ID } from '@atlaskit/editor-common/block-menu';
3
3
  import { DRAG_HANDLE_SELECTOR } from '@atlaskit/editor-common/styles';
4
- import { fg } from '@atlaskit/platform-feature-flags/fg';
5
4
  const POPUP_WRAPPER_TEST_ID = 'popup-wrapper';
6
5
  const EDITOR_CONTENT_CONTAINER_SELECTOR = '[data-testid="editor-content-container"]';
7
6
  /**
@@ -228,13 +227,13 @@ export const fixBlockMenuPositionAndScroll = (selectedNode, positionSnapshot) =>
228
227
  * Shared by move-up.tsx and move-down.tsx: schedules the post-move fix for the frame after
229
228
  * ProseMirror has re-rendered.
230
229
  *
231
- * Falls back to the pre-PR always-scroll path (matching gate-off, via `getFirstSelectedDomNode`)
232
- * whenever a `positionSnapshot` wasn't captured - e.g. a media/file thumbnail reporting zero height
233
- * for a frame when the menu opened - rather than silently doing nothing.
230
+ * Falls back to the always-scroll path (via `getFirstSelectedDomNode`) whenever a
231
+ * `positionSnapshot` wasn't captured - e.g. a media/file thumbnail reporting zero height for a
232
+ * frame when the menu opened - rather than silently doing nothing.
234
233
  */
235
234
  export const scheduleBlockMenuPositionFix = (positionSnapshot, getMovedBlockDomNode, getFirstSelectedDomNode) => {
236
235
  requestAnimationFrame(() => {
237
- if (fg('platform_editor_blocks_patch_8') && positionSnapshot) {
236
+ if (positionSnapshot) {
238
237
  fixBlockMenuPositionAndScroll(getMovedBlockDomNode(), positionSnapshot);
239
238
  return;
240
239
  }
@@ -1,5 +1,4 @@
1
1
  import React, { useCallback, createContext, useContext, useRef } from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags/fg';
3
2
  import { getBlockMenuAnchorMetrics } from './utils/fixBlockMenuPositionAndScroll';
4
3
  var BlockMenuContext = /*#__PURE__*/createContext({
5
4
  onDropdownOpenChanged: function onDropdownOpenChanged() {},
@@ -74,20 +73,18 @@ export var BlockMenuProvider = function BlockMenuProvider(_ref) {
74
73
  var onDropdownOpenChanged = useCallback(function (isOpen) {
75
74
  anchorMetricsRef.current = undefined;
76
75
  if (isOpen) {
77
- if (fg('platform_editor_blocks_patch_8')) {
78
- // The popup lays itself out next to the drag handle over the next frame or two.
79
- var remainingFrames = 3;
80
- var _captureAnchorMetrics = function captureAnchorMetrics() {
81
- requestAnimationFrame(function () {
82
- anchorMetricsRef.current = getBlockMenuAnchorMetrics(getSelectedBlockDomNode());
83
- remainingFrames -= 1;
84
- if (!anchorMetricsRef.current && remainingFrames > 0) {
85
- _captureAnchorMetrics();
86
- }
87
- });
88
- };
89
- _captureAnchorMetrics();
90
- }
76
+ // The popup lays itself out next to the drag handle over the next frame or two.
77
+ var remainingFrames = 3;
78
+ var _captureAnchorMetrics = function captureAnchorMetrics() {
79
+ requestAnimationFrame(function () {
80
+ anchorMetricsRef.current = getBlockMenuAnchorMetrics(getSelectedBlockDomNode());
81
+ remainingFrames -= 1;
82
+ if (!anchorMetricsRef.current && remainingFrames > 0) {
83
+ _captureAnchorMetrics();
84
+ }
85
+ });
86
+ };
87
+ _captureAnchorMetrics();
91
88
  return;
92
89
  }
93
90
 
@@ -8,7 +8,6 @@ import { blockMenuMessages as messages } from '@atlaskit/editor-common/messages'
8
8
  import { DIRECTION } from '@atlaskit/editor-common/types';
9
9
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
10
10
  import ArrowDownIcon from '@atlaskit/icon/core/arrow-down';
11
- import { fg } from '@atlaskit/platform-feature-flags/fg';
12
11
  import { useBlockMenu } from './block-menu-provider';
13
12
  import { BLOCK_MENU_ITEM_NAME } from './consts';
14
13
  import { getBlockMenuPositionSnapshot, scheduleBlockMenuPositionFix } from './utils/fixBlockMenuPositionAndScroll';
@@ -40,7 +39,7 @@ var MoveDownDropdownItemContent = function MoveDownDropdownItemContent(_ref) {
40
39
  }
41
40
  }, [canMoveDown, moveUpRef, moveDownRef]);
42
41
  var handleClick = function handleClick() {
43
- var positionSnapshot = fg('platform_editor_blocks_patch_8') ? getBlockMenuPositionSnapshot(getSelectedBlockDomNode(), anchorMetricsRef.current) : undefined;
42
+ var positionSnapshot = getBlockMenuPositionSnapshot(getSelectedBlockDomNode(), anchorMetricsRef.current);
44
43
  api === null || api === void 0 || api.core.actions.execute(function (_ref3) {
45
44
  var _api$analytics, _api$blockControls;
46
45
  var tr = _ref3.tr;
@@ -8,7 +8,6 @@ import { blockMenuMessages as messages } from '@atlaskit/editor-common/messages'
8
8
  import { DIRECTION } from '@atlaskit/editor-common/types';
9
9
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
10
10
  import ArrowUpIcon from '@atlaskit/icon/core/arrow-up';
11
- import { fg } from '@atlaskit/platform-feature-flags/fg';
12
11
  import { useBlockMenu } from './block-menu-provider';
13
12
  import { BLOCK_MENU_ITEM_NAME } from './consts';
14
13
  import { getBlockMenuPositionSnapshot, scheduleBlockMenuPositionFix } from './utils/fixBlockMenuPositionAndScroll';
@@ -38,7 +37,7 @@ var MoveUpDropdownItemContent = function MoveUpDropdownItemContent(_ref) {
38
37
  }
39
38
  }, [canMoveUp, moveDownRef, moveUpRef]);
40
39
  var handleClick = function handleClick() {
41
- var positionSnapshot = fg('platform_editor_blocks_patch_8') ? getBlockMenuPositionSnapshot(getSelectedBlockDomNode(), anchorMetricsRef.current) : undefined;
40
+ var positionSnapshot = getBlockMenuPositionSnapshot(getSelectedBlockDomNode(), anchorMetricsRef.current);
42
41
  api === null || api === void 0 || api.core.actions.execute(function (_ref3) {
43
42
  var _api$analytics, _api$blockControls;
44
43
  var tr = _ref3.tr;
@@ -4,7 +4,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  import { getDocument } from '@atlaskit/browser-apis';
5
5
  import { BLOCK_MENU_TEST_ID } from '@atlaskit/editor-common/block-menu';
6
6
  import { DRAG_HANDLE_SELECTOR } from '@atlaskit/editor-common/styles';
7
- import { fg } from '@atlaskit/platform-feature-flags/fg';
8
7
  var POPUP_WRAPPER_TEST_ID = 'popup-wrapper';
9
8
  var EDITOR_CONTENT_CONTAINER_SELECTOR = '[data-testid="editor-content-container"]';
10
9
  /**
@@ -231,13 +230,13 @@ export var fixBlockMenuPositionAndScroll = function fixBlockMenuPositionAndScrol
231
230
  * Shared by move-up.tsx and move-down.tsx: schedules the post-move fix for the frame after
232
231
  * ProseMirror has re-rendered.
233
232
  *
234
- * Falls back to the pre-PR always-scroll path (matching gate-off, via `getFirstSelectedDomNode`)
235
- * whenever a `positionSnapshot` wasn't captured - e.g. a media/file thumbnail reporting zero height
236
- * for a frame when the menu opened - rather than silently doing nothing.
233
+ * Falls back to the always-scroll path (via `getFirstSelectedDomNode`) whenever a
234
+ * `positionSnapshot` wasn't captured - e.g. a media/file thumbnail reporting zero height for a
235
+ * frame when the menu opened - rather than silently doing nothing.
237
236
  */
238
237
  export var scheduleBlockMenuPositionFix = function scheduleBlockMenuPositionFix(positionSnapshot, getMovedBlockDomNode, getFirstSelectedDomNode) {
239
238
  requestAnimationFrame(function () {
240
- if (fg('platform_editor_blocks_patch_8') && positionSnapshot) {
239
+ if (positionSnapshot) {
241
240
  fixBlockMenuPositionAndScroll(getMovedBlockDomNode(), positionSnapshot);
242
241
  return;
243
242
  }
@@ -48,8 +48,8 @@ export declare const fixBlockMenuPositionAndScroll: (selectedNode: Element | und
48
48
  * Shared by move-up.tsx and move-down.tsx: schedules the post-move fix for the frame after
49
49
  * ProseMirror has re-rendered.
50
50
  *
51
- * Falls back to the pre-PR always-scroll path (matching gate-off, via `getFirstSelectedDomNode`)
52
- * whenever a `positionSnapshot` wasn't captured - e.g. a media/file thumbnail reporting zero height
53
- * for a frame when the menu opened - rather than silently doing nothing.
51
+ * Falls back to the always-scroll path (via `getFirstSelectedDomNode`) whenever a
52
+ * `positionSnapshot` wasn't captured - e.g. a media/file thumbnail reporting zero height for a
53
+ * frame when the menu opened - rather than silently doing nothing.
54
54
  */
55
55
  export declare const scheduleBlockMenuPositionFix: (positionSnapshot: BlockMenuPositionSnapshot | undefined, getMovedBlockDomNode: () => Element | undefined, getFirstSelectedDomNode: () => Element | undefined) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-menu",
3
- "version": "24.0.2",
3
+ "version": "25.0.0",
4
4
  "description": "BlockMenu plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,11 +27,11 @@
27
27
  "dependencies": {
28
28
  "@atlaskit/browser-apis": "^1.2.0",
29
29
  "@atlaskit/css": "^1.1.0",
30
- "@atlaskit/editor-plugin-analytics": "^25.0.0",
31
- "@atlaskit/editor-plugin-block-controls": "^26.0.0",
32
- "@atlaskit/editor-plugin-decorations": "^25.0.0",
33
- "@atlaskit/editor-plugin-selection": "^25.0.0",
34
- "@atlaskit/editor-plugin-user-intent": "^23.0.0",
30
+ "@atlaskit/editor-plugin-analytics": "^26.0.0",
31
+ "@atlaskit/editor-plugin-block-controls": "^27.0.0",
32
+ "@atlaskit/editor-plugin-decorations": "^26.0.0",
33
+ "@atlaskit/editor-plugin-selection": "^26.0.0",
34
+ "@atlaskit/editor-plugin-user-intent": "^24.0.0",
35
35
  "@atlaskit/editor-prosemirror": "^9.0.0",
36
36
  "@atlaskit/editor-shared-styles": "^4.3.0",
37
37
  "@atlaskit/editor-tables": "^3.2.0",
@@ -42,14 +42,14 @@
42
42
  "@atlaskit/platform-feature-flags": "^2.2.0",
43
43
  "@atlaskit/primitives": "^22.5.0",
44
44
  "@atlaskit/prosemirror-history": "^1.3.0",
45
- "@atlaskit/tmp-editor-statsig": "^226.0.0",
46
- "@atlaskit/tokens": "^20.3.0",
45
+ "@atlaskit/tmp-editor-statsig": "^227.0.0",
46
+ "@atlaskit/tokens": "^20.4.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "bind-event-listener": "^3.0.0",
49
49
  "memoize-one": "^6.0.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@atlaskit/editor-common": "^129.1.0",
52
+ "@atlaskit/editor-common": "^130.0.0",
53
53
  "react": "^18.2.0 || ^19.2.0",
54
54
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
55
55
  },
@@ -60,10 +60,6 @@
60
60
  "cc_blocks_changeboarding": {
61
61
  "type": "boolean"
62
62
  },
63
- "platform_editor_blocks_patch_8": {
64
- "type": "boolean",
65
- "referenceOnly": true
66
- },
67
63
  "cc-maui-phase-3": {
68
64
  "type": "boolean"
69
65
  }