@atlaskit/editor-plugin-block-menu 12.0.0 → 12.0.2
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.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 12.0.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`72f7cec91a1d4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/72f7cec91a1d4) -
|
|
14
|
+
Remove stale `platform-feature-flags` registrations for shipped block menu and blocks feature
|
|
15
|
+
gates. No behaviour change.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 12.0.0
|
|
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 =
|
|
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.
|
|
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": "12.0.
|
|
3
|
+
"version": "12.0.2",
|
|
4
4
|
"description": "BlockMenu plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"@atlaskit/editor-tables": "^3.0.0",
|
|
33
33
|
"@atlaskit/editor-toolbar": "^2.4.0",
|
|
34
34
|
"@atlaskit/flag": "^18.2.0",
|
|
35
|
-
"@atlaskit/icon": "^37.
|
|
35
|
+
"@atlaskit/icon": "^37.3.0",
|
|
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": "^
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^140.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": "^117.
|
|
46
|
+
"@atlaskit/editor-common": "^117.2.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
|
},
|