@atlaskit/editor-plugin-block-menu 26.0.5 → 27.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,21 @@
1
1
  # @atlaskit/editor-plugin-block-menu
2
2
 
3
+ ## 27.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 26.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - [`64cc7dc77d6b4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64cc7dc77d6b4) -
14
+ Clean up feature gate `cc_blocks_changeboarding`. The gated behaviour — honouring
15
+ `shouldIgnoreCloseEvent`, emitting `data-extension-item-key`, and the block menu format item test
16
+ id — is now permanent.
17
+ - Updated dependencies
18
+
3
19
  ## 26.0.5
4
20
 
5
21
  ### Patch Changes
@@ -13,7 +13,6 @@ var _blockMenu = require("@atlaskit/editor-common/messages/block-menu");
13
13
  var _toolbarNestedDropdownMenu = require("@atlaskit/editor-toolbar/toolbar-nested-dropdown-menu");
14
14
  var _changes = _interopRequireDefault(require("@atlaskit/icon/core/changes"));
15
15
  var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
16
- var _fg = require("@atlaskit/platform-feature-flags/fg");
17
16
  var _blockMenuTargetVisibilityContext = require("./block-menu-target-visibility-context");
18
17
  var _consts = require("./consts");
19
18
  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); }
@@ -58,8 +57,8 @@ var FormatMenuComponent = exports.FormatMenuComponent = function FormatMenuCompo
58
57
  enableMaxHeight: true,
59
58
  onClick: handleClick,
60
59
  dropdownTestId: "editor-turn-into-menu",
61
- testId: (0, _fg.fg)('cc_blocks_changeboarding') ? 'turn-into-block-menu-btn' : undefined,
60
+ testId: "turn-into-block-menu-btn",
62
61
  shouldFitContainer: true,
63
- shouldIgnoreCloseEvent: (0, _fg.fg)('cc_blocks_changeboarding') ? shouldIgnoreBlockMenuTransformSpotlightCloseEvent : undefined
62
+ shouldIgnoreCloseEvent: shouldIgnoreBlockMenuTransformSpotlightCloseEvent
64
63
  }, children);
65
64
  };
@@ -5,7 +5,6 @@ import { messages as blockMenuMessages } from '@atlaskit/editor-common/messages/
5
5
  import { ToolbarNestedDropdownMenu } from '@atlaskit/editor-toolbar/toolbar-nested-dropdown-menu';
6
6
  import ChangesIcon from '@atlaskit/icon/core/changes';
7
7
  import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
8
- import { fg } from '@atlaskit/platform-feature-flags/fg';
9
8
  import { useBlockMenuTargetVisibility } from './block-menu-target-visibility-context';
10
9
  import { BLOCK_MENU_ITEM_NAME } from './consts';
11
10
  const BLOCK_MENU_TRANSFORM_SPOTLIGHT_PORTAL_SELECTOR = '[data-test-id="block-menu-transform-spotlight-portal-container"]';
@@ -50,8 +49,8 @@ export const FormatMenuComponent = ({
50
49
  enableMaxHeight: true,
51
50
  onClick: handleClick,
52
51
  dropdownTestId: "editor-turn-into-menu",
53
- testId: fg('cc_blocks_changeboarding') ? 'turn-into-block-menu-btn' : undefined,
52
+ testId: "turn-into-block-menu-btn",
54
53
  shouldFitContainer: true,
55
- shouldIgnoreCloseEvent: fg('cc_blocks_changeboarding') ? shouldIgnoreBlockMenuTransformSpotlightCloseEvent : undefined
54
+ shouldIgnoreCloseEvent: shouldIgnoreBlockMenuTransformSpotlightCloseEvent
56
55
  }, children);
57
56
  };
@@ -5,7 +5,6 @@ import { messages as blockMenuMessages } from '@atlaskit/editor-common/messages/
5
5
  import { ToolbarNestedDropdownMenu } from '@atlaskit/editor-toolbar/toolbar-nested-dropdown-menu';
6
6
  import ChangesIcon from '@atlaskit/icon/core/changes';
7
7
  import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
8
- import { fg } from '@atlaskit/platform-feature-flags/fg';
9
8
  import { useBlockMenuTargetVisibility } from './block-menu-target-visibility-context';
10
9
  import { BLOCK_MENU_ITEM_NAME } from './consts';
11
10
  var BLOCK_MENU_TRANSFORM_SPOTLIGHT_PORTAL_SELECTOR = '[data-test-id="block-menu-transform-spotlight-portal-container"]';
@@ -49,8 +48,8 @@ export var FormatMenuComponent = function FormatMenuComponent(_ref) {
49
48
  enableMaxHeight: true,
50
49
  onClick: handleClick,
51
50
  dropdownTestId: "editor-turn-into-menu",
52
- testId: fg('cc_blocks_changeboarding') ? 'turn-into-block-menu-btn' : undefined,
51
+ testId: "turn-into-block-menu-btn",
53
52
  shouldFitContainer: true,
54
- shouldIgnoreCloseEvent: fg('cc_blocks_changeboarding') ? shouldIgnoreBlockMenuTransformSpotlightCloseEvent : undefined
53
+ shouldIgnoreCloseEvent: shouldIgnoreBlockMenuTransformSpotlightCloseEvent
55
54
  }, children);
56
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-menu",
3
- "version": "26.0.5",
3
+ "version": "27.0.0",
4
4
  "description": "BlockMenu plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,20 +27,20 @@
27
27
  "dependencies": {
28
28
  "@atlaskit/browser-apis": "^1.2.0",
29
29
  "@atlaskit/css": "^1.1.0",
30
- "@atlaskit/editor-plugin-analytics": "^27.0.0",
31
- "@atlaskit/editor-plugin-block-controls": "^28.0.0",
32
- "@atlaskit/editor-plugin-decorations": "^27.0.0",
33
- "@atlaskit/editor-plugin-selection": "^27.0.0",
34
- "@atlaskit/editor-plugin-user-intent": "^25.0.0",
30
+ "@atlaskit/editor-plugin-analytics": "^28.0.0",
31
+ "@atlaskit/editor-plugin-block-controls": "^29.0.0",
32
+ "@atlaskit/editor-plugin-decorations": "^28.0.0",
33
+ "@atlaskit/editor-plugin-selection": "^28.0.0",
34
+ "@atlaskit/editor-plugin-user-intent": "^26.0.0",
35
35
  "@atlaskit/editor-prosemirror": "^9.0.0",
36
- "@atlaskit/editor-shared-styles": "^4.4.0",
36
+ "@atlaskit/editor-shared-styles": "^4.5.0",
37
37
  "@atlaskit/editor-tables": "^3.2.0",
38
38
  "@atlaskit/editor-toolbar": "^2.8.0",
39
39
  "@atlaskit/flag": "^19.0.0",
40
40
  "@atlaskit/icon": "^38.0.0",
41
41
  "@atlaskit/platform-feature-experiments": "^0.3.0",
42
42
  "@atlaskit/platform-feature-flags": "^2.2.0",
43
- "@atlaskit/primitives": "^22.5.0",
43
+ "@atlaskit/primitives": "^22.6.0",
44
44
  "@atlaskit/prosemirror-history": "^1.3.0",
45
45
  "@atlaskit/tmp-editor-statsig": "^240.0.0",
46
46
  "@atlaskit/tokens": "^20.6.0",
@@ -49,7 +49,7 @@
49
49
  "memoize-one": "^6.0.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@atlaskit/editor-common": "^131.2.0",
52
+ "@atlaskit/editor-common": "^132.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,9 +60,6 @@
60
60
  "platform_editor_block_menu_copy_link_opt_in": {
61
61
  "type": "boolean"
62
62
  },
63
- "cc_blocks_changeboarding": {
64
- "type": "boolean"
65
- },
66
63
  "cc-maui-phase-3": {
67
64
  "type": "boolean"
68
65
  }