@atlaskit/editor-plugin-block-menu 11.2.2 → 12.0.1

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,20 @@
1
1
  # @atlaskit/editor-plugin-block-menu
2
2
 
3
+ ## 12.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`72f7cec91a1d4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/72f7cec91a1d4) -
8
+ Remove stale `platform-feature-flags` registrations for shipped block menu and blocks feature
9
+ gates. No behaviour change.
10
+ - Updated dependencies
11
+
12
+ ## 12.0.0
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 11.2.2
4
19
 
5
20
  ### Patch Changes
@@ -15,7 +15,7 @@ var _selection = require("@atlaskit/editor-common/selection");
15
15
  var _editorToolbar = require("@atlaskit/editor-toolbar");
16
16
  var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
17
17
  var _box = require("@atlaskit/primitives/box");
18
- var _text = _interopRequireDefault(require("@atlaskit/primitives/text"));
18
+ var _text = require("@atlaskit/primitives/text");
19
19
  var _consts = require("./consts");
20
20
  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); }
21
21
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
@@ -121,7 +121,7 @@ var DeleteDropdownItemContent = function DeleteDropdownItemContent(_ref) {
121
121
  }),
122
122
  onClick: onClick,
123
123
  testId: _blockMenu.BLOCK_MENU_ACTION_TEST_ID.DELETE
124
- }, /*#__PURE__*/_react.default.createElement(_text.default, {
124
+ }, /*#__PURE__*/_react.default.createElement(_text.Text, {
125
125
  as: "span",
126
126
  color: "color.text.danger"
127
127
  }, formatMessage(_messages.blockMenuMessages.deleteBlock))));
@@ -9,7 +9,7 @@ import DeleteIcon from '@atlaskit/icon/core/delete';
9
9
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
10
10
  import { Box } from '@atlaskit/primitives/box';
11
11
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
12
- import Text from '@atlaskit/primitives/text';
12
+ import { Text } from '@atlaskit/primitives/text';
13
13
  import { BLOCK_MENU_ITEM_NAME } from './consts';
14
14
  const DeleteDropdownItemContent = ({
15
15
  api
@@ -9,7 +9,7 @@ import DeleteIcon from '@atlaskit/icon/core/delete';
9
9
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
10
10
  import { Box } from '@atlaskit/primitives/box';
11
11
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
12
- import Text from '@atlaskit/primitives/text';
12
+ import { Text } from '@atlaskit/primitives/text';
13
13
  import { BLOCK_MENU_ITEM_NAME } from './consts';
14
14
  var DeleteDropdownItemContent = function DeleteDropdownItemContent(_ref) {
15
15
  var api = _ref.api;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-menu",
3
- "version": "11.2.2",
3
+ "version": "12.0.1",
4
4
  "description": "BlockMenu plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,11 +22,11 @@
22
22
  "dependencies": {
23
23
  "@atlaskit/browser-apis": "^1.2.0",
24
24
  "@atlaskit/css": "^1.0.0",
25
- "@atlaskit/editor-plugin-analytics": "^12.1.0",
26
- "@atlaskit/editor-plugin-block-controls": "^13.4.0",
27
- "@atlaskit/editor-plugin-decorations": "^12.1.0",
28
- "@atlaskit/editor-plugin-selection": "^12.1.0",
29
- "@atlaskit/editor-plugin-user-intent": "^10.2.0",
25
+ "@atlaskit/editor-plugin-analytics": "^13.0.0",
26
+ "@atlaskit/editor-plugin-block-controls": "^14.0.0",
27
+ "@atlaskit/editor-plugin-decorations": "^13.0.0",
28
+ "@atlaskit/editor-plugin-selection": "^13.0.0",
29
+ "@atlaskit/editor-plugin-user-intent": "^11.0.0",
30
30
  "@atlaskit/editor-prosemirror": "^8.0.0",
31
31
  "@atlaskit/editor-shared-styles": "^4.0.0",
32
32
  "@atlaskit/editor-tables": "^3.0.0",
@@ -36,14 +36,14 @@
36
36
  "@atlaskit/platform-feature-flags": "^2.1.0",
37
37
  "@atlaskit/primitives": "^22.2.0",
38
38
  "@atlaskit/prosemirror-history": "^1.1.0",
39
- "@atlaskit/tmp-editor-statsig": "^137.0.0",
39
+ "@atlaskit/tmp-editor-statsig": "^139.0.0",
40
40
  "@atlaskit/tokens": "^16.3.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "bind-event-listener": "^3.0.0",
43
43
  "memoize-one": "^6.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@atlaskit/editor-common": "^116.51.0",
46
+ "@atlaskit/editor-common": "^117.0.0",
47
47
  "react": "^18.2.0 || ^19.2.0",
48
48
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
49
49
  },
@@ -90,9 +90,6 @@
90
90
  "cc_blocks_changeboarding": {
91
91
  "type": "boolean"
92
92
  },
93
- "platform_editor_block_menu_v2_patch_2": {
94
- "type": "boolean"
95
- },
96
93
  "platform_editor_block_menu_jira_patch_5": {
97
94
  "type": "boolean"
98
95
  },