@atlaskit/editor-plugin-block-menu 11.1.22 → 11.1.23
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
|
@@ -18,6 +18,10 @@ var _box = require("@atlaskit/primitives/box");
|
|
|
18
18
|
var _text = _interopRequireDefault(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
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
|
|
22
|
+
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
|
|
24
|
+
|
|
21
25
|
var DeleteDropdownItemContent = function DeleteDropdownItemContent(_ref) {
|
|
22
26
|
var api = _ref.api;
|
|
23
27
|
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
@@ -6,7 +6,9 @@ import { blockMenuMessages } from '@atlaskit/editor-common/messages';
|
|
|
6
6
|
import { deleteSelectedRange, getSourceNodesFromSelectionRange } from '@atlaskit/editor-common/selection';
|
|
7
7
|
import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
|
|
8
8
|
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
9
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
|
|
9
10
|
import { Box } from '@atlaskit/primitives/box';
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
|
|
10
12
|
import Text from '@atlaskit/primitives/text';
|
|
11
13
|
import { BLOCK_MENU_ITEM_NAME } from './consts';
|
|
12
14
|
const DeleteDropdownItemContent = ({
|
|
@@ -6,7 +6,9 @@ import { blockMenuMessages } from '@atlaskit/editor-common/messages';
|
|
|
6
6
|
import { deleteSelectedRange, getSourceNodesFromSelectionRange } from '@atlaskit/editor-common/selection';
|
|
7
7
|
import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
|
|
8
8
|
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
9
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
|
|
9
10
|
import { Box } from '@atlaskit/primitives/box';
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
|
|
10
12
|
import Text from '@atlaskit/primitives/text';
|
|
11
13
|
import { BLOCK_MENU_ITEM_NAME } from './consts';
|
|
12
14
|
var DeleteDropdownItemContent = function DeleteDropdownItemContent(_ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-menu",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.23",
|
|
4
4
|
"description": "BlockMenu plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,20 +30,20 @@
|
|
|
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",
|
|
33
|
-
"@atlaskit/editor-toolbar": "^2.
|
|
33
|
+
"@atlaskit/editor-toolbar": "^2.3.0",
|
|
34
34
|
"@atlaskit/flag": "^18.2.0",
|
|
35
35
|
"@atlaskit/icon": "^37.0.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
37
37
|
"@atlaskit/primitives": "^21.0.0",
|
|
38
38
|
"@atlaskit/prosemirror-history": "^1.0.0",
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^126.
|
|
40
|
-
"@atlaskit/tokens": "^
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^126.1.0",
|
|
40
|
+
"@atlaskit/tokens": "^16.0.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.
|
|
46
|
+
"@atlaskit/editor-common": "^116.32.0",
|
|
47
47
|
"react": "^18.2.0",
|
|
48
48
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
49
49
|
},
|