@atlaskit/editor-plugin-selection-extension 13.1.9 → 13.1.11
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-selection-extension
|
|
2
2
|
|
|
3
|
+
## 13.1.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ca8aefc573cc5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ca8aefc573cc5) -
|
|
8
|
+
Clean up feature gates `platform_editor_block_menu_divider_patch` and
|
|
9
|
+
`platform_editor_block_menu_copy_section` (both rolled out as true).
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 13.1.10
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 13.1.9
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.registerBlockMenuItems = registerBlockMenuItems;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _blockMenu = require("@atlaskit/editor-common/block-menu");
|
|
10
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
10
|
var _SelectionExtensionMenuItems = require("../menu/SelectionExtensionMenuItems");
|
|
12
11
|
var _SelectionExtensionComponentContext = require("../SelectionExtensionComponentContext");
|
|
13
12
|
function registerBlockMenuItems(_ref) {
|
|
@@ -35,8 +34,8 @@ function registerBlockMenuItems(_ref) {
|
|
|
35
34
|
key: "selection-extension-".concat(key),
|
|
36
35
|
parent: {
|
|
37
36
|
type: 'block-menu-section',
|
|
38
|
-
key:
|
|
39
|
-
rank:
|
|
37
|
+
key: _blockMenu.TRANSFORM_MENU_SECTION.key,
|
|
38
|
+
rank: _blockMenu.TRANSFORM_MENU_SECTION_RANK[_blockMenu.BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM.key]
|
|
40
39
|
},
|
|
41
40
|
component: function component() {
|
|
42
41
|
var editorView = editorViewRef === null || editorViewRef === void 0 ? void 0 : editorViewRef.current;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { TRANSFORM_MENU_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, TRANSFORM_MENU_SECTION_RANK, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_CREATE_MENU_SECTION_RANK, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM } from '@atlaskit/editor-common/block-menu';
|
|
4
3
|
import { SelectionExtensionMenuItems } from '../menu/SelectionExtensionMenuItems';
|
|
5
4
|
import { SelectionExtensionComponentContextProvider } from '../SelectionExtensionComponentContext';
|
|
6
5
|
export function registerBlockMenuItems({
|
|
@@ -30,8 +29,8 @@ export function registerBlockMenuItems({
|
|
|
30
29
|
key: `selection-extension-${key}`,
|
|
31
30
|
parent: {
|
|
32
31
|
type: 'block-menu-section',
|
|
33
|
-
key:
|
|
34
|
-
rank:
|
|
32
|
+
key: TRANSFORM_MENU_SECTION.key,
|
|
33
|
+
rank: TRANSFORM_MENU_SECTION_RANK[BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM.key]
|
|
35
34
|
},
|
|
36
35
|
component: () => {
|
|
37
36
|
const editorView = editorViewRef === null || editorViewRef === void 0 ? void 0 : editorViewRef.current;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { TRANSFORM_MENU_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, TRANSFORM_MENU_SECTION_RANK, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_CREATE_MENU_SECTION_RANK, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM } from '@atlaskit/editor-common/block-menu';
|
|
4
3
|
import { SelectionExtensionMenuItems } from '../menu/SelectionExtensionMenuItems';
|
|
5
4
|
import { SelectionExtensionComponentContextProvider } from '../SelectionExtensionComponentContext';
|
|
6
5
|
export function registerBlockMenuItems(_ref) {
|
|
@@ -28,8 +27,8 @@ export function registerBlockMenuItems(_ref) {
|
|
|
28
27
|
key: "selection-extension-".concat(key),
|
|
29
28
|
parent: {
|
|
30
29
|
type: 'block-menu-section',
|
|
31
|
-
key:
|
|
32
|
-
rank:
|
|
30
|
+
key: TRANSFORM_MENU_SECTION.key,
|
|
31
|
+
rank: TRANSFORM_MENU_SECTION_RANK[BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM.key]
|
|
33
32
|
},
|
|
34
33
|
component: function component() {
|
|
35
34
|
var editorView = editorViewRef === null || editorViewRef === void 0 ? void 0 : editorViewRef.current;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-extension",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.11",
|
|
4
4
|
"description": "editor-plugin-selection-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"atlaskit:src": "src/index.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/adf-utils": "^19.
|
|
35
|
+
"@atlaskit/adf-utils": "^19.29.0",
|
|
36
36
|
"@atlaskit/css": "^0.19.0",
|
|
37
37
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@atlaskit/editor-plugin-editor-viewmode": "^12.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-editor-viewmode-effects": "^10.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-primary-toolbar": "^11.0.0",
|
|
44
|
-
"@atlaskit/editor-plugin-selection-toolbar": "^11.
|
|
44
|
+
"@atlaskit/editor-plugin-selection-toolbar": "^11.1.0",
|
|
45
45
|
"@atlaskit/editor-plugin-toolbar": "^7.0.0",
|
|
46
|
-
"@atlaskit/editor-plugin-user-preferences": "^8.
|
|
46
|
+
"@atlaskit/editor-plugin-user-preferences": "^8.1.0",
|
|
47
47
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
48
48
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
49
49
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"@atlaskit/lozenge": "^13.8.0",
|
|
53
53
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
54
54
|
"@atlaskit/primitives": "^19.0.0",
|
|
55
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
55
|
+
"@atlaskit/tmp-editor-statsig": "^75.2.0",
|
|
56
56
|
"@atlaskit/tokens": "^13.0.0",
|
|
57
57
|
"@babel/runtime": "^7.0.0",
|
|
58
58
|
"lodash": "^4.17.21",
|
|
59
59
|
"uuid": "^3.1.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@atlaskit/editor-common": "^114.
|
|
62
|
+
"@atlaskit/editor-common": "^114.19.0",
|
|
63
63
|
"react": "^18.2.0",
|
|
64
64
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
65
65
|
},
|
|
@@ -125,9 +125,6 @@
|
|
|
125
125
|
},
|
|
126
126
|
"confluence_fronend_labels_categorization_migration": {
|
|
127
127
|
"type": "boolean"
|
|
128
|
-
},
|
|
129
|
-
"platform_editor_block_menu_divider_patch": {
|
|
130
|
-
"type": "boolean"
|
|
131
128
|
}
|
|
132
129
|
}
|
|
133
130
|
}
|