@atlaskit/editor-plugin-expand 7.4.6 → 7.4.7
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 +8 -0
- package/dist/cjs/legacyExpand/plugin.js +1 -2
- package/dist/cjs/singlePlayerExpand/plugin.js +1 -1
- package/dist/es2019/legacyExpand/plugin.js +2 -3
- package/dist/es2019/singlePlayerExpand/plugin.js +2 -2
- package/dist/esm/legacyExpand/plugin.js +2 -3
- package/dist/esm/singlePlayerExpand/plugin.js +2 -2
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 7.4.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`43d1dfc88c1de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/43d1dfc88c1de) -
|
|
8
|
+
Clean up platform_editor_block_menu_format_rank_revised
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 7.4.6
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -12,7 +12,6 @@ var _blockMenu = require("@atlaskit/editor-common/block-menu");
|
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
13
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
14
14
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
15
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
15
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
17
16
|
var _toggleExpandRange = require("../editor-commands/toggleExpandRange");
|
|
18
17
|
var _ExpandBlockMenuItem = require("../ui/ExpandBlockMenuItem");
|
|
@@ -35,7 +34,7 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
|
|
|
35
34
|
parent: {
|
|
36
35
|
type: 'block-menu-section',
|
|
37
36
|
key: _blockMenu.FORMAT_MENU_ITEM.key,
|
|
38
|
-
rank:
|
|
37
|
+
rank: _blockMenu.FORMAT_NESTED_MENU_RANK[_blockMenu.FORMAT_EXPAND_MENU_ITEM.key]
|
|
39
38
|
},
|
|
40
39
|
component: (0, _ExpandBlockMenuItem.createExpandBlockMenuItem)(api)
|
|
41
40
|
}]);
|
|
@@ -34,7 +34,7 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
|
|
|
34
34
|
parent: {
|
|
35
35
|
type: 'block-menu-section',
|
|
36
36
|
key: _blockMenu.FORMAT_MENU_ITEM.key,
|
|
37
|
-
rank:
|
|
37
|
+
rank: _blockMenu.FORMAT_NESTED_MENU_RANK[_blockMenu.FORMAT_EXPAND_MENU_ITEM.key]
|
|
38
38
|
},
|
|
39
39
|
component: (0, _ExpandBlockMenuItem.createExpandBlockMenuItem)(api)
|
|
40
40
|
}]);
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { expandWithNestedExpand, nestedExpand } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
|
-
import { FORMAT_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_NESTED_MENU_RANK
|
|
4
|
+
import { FORMAT_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_NESTED_MENU_RANK } from '@atlaskit/editor-common/block-menu';
|
|
5
5
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { IconExpand } from '@atlaskit/editor-common/quick-insert';
|
|
7
7
|
import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
10
9
|
import { toggleExpandRange } from '../editor-commands/toggleExpandRange';
|
|
11
10
|
import { createExpandBlockMenuItem } from '../ui/ExpandBlockMenuItem';
|
|
@@ -29,7 +28,7 @@ export let expandPlugin = ({
|
|
|
29
28
|
parent: {
|
|
30
29
|
type: 'block-menu-section',
|
|
31
30
|
key: FORMAT_MENU_ITEM.key,
|
|
32
|
-
rank:
|
|
31
|
+
rank: FORMAT_NESTED_MENU_RANK[FORMAT_EXPAND_MENU_ITEM.key]
|
|
33
32
|
},
|
|
34
33
|
component: createExpandBlockMenuItem(api)
|
|
35
34
|
}]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { expandWithNestedExpand, expandWithNestedExpandLocalId, nestedExpand, nestedExpandWithLocalId } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
|
-
import { FORMAT_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_NESTED_MENU_RANK
|
|
4
|
+
import { FORMAT_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_NESTED_MENU_RANK } from '@atlaskit/editor-common/block-menu';
|
|
5
5
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { IconExpand } from '@atlaskit/editor-common/quick-insert';
|
|
7
7
|
import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
@@ -28,7 +28,7 @@ export let expandPlugin = ({
|
|
|
28
28
|
parent: {
|
|
29
29
|
type: 'block-menu-section',
|
|
30
30
|
key: FORMAT_MENU_ITEM.key,
|
|
31
|
-
rank:
|
|
31
|
+
rank: FORMAT_NESTED_MENU_RANK[FORMAT_EXPAND_MENU_ITEM.key]
|
|
32
32
|
},
|
|
33
33
|
component: createExpandBlockMenuItem(api)
|
|
34
34
|
}]);
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { expandWithNestedExpand, nestedExpand } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
|
-
import { FORMAT_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_NESTED_MENU_RANK
|
|
4
|
+
import { FORMAT_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_NESTED_MENU_RANK } from '@atlaskit/editor-common/block-menu';
|
|
5
5
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { IconExpand } from '@atlaskit/editor-common/quick-insert';
|
|
7
7
|
import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
10
9
|
import { toggleExpandRange } from '../editor-commands/toggleExpandRange';
|
|
11
10
|
import { createExpandBlockMenuItem } from '../ui/ExpandBlockMenuItem';
|
|
@@ -29,7 +28,7 @@ export var expandPlugin = function expandPlugin(_ref) {
|
|
|
29
28
|
parent: {
|
|
30
29
|
type: 'block-menu-section',
|
|
31
30
|
key: FORMAT_MENU_ITEM.key,
|
|
32
|
-
rank:
|
|
31
|
+
rank: FORMAT_NESTED_MENU_RANK[FORMAT_EXPAND_MENU_ITEM.key]
|
|
33
32
|
},
|
|
34
33
|
component: createExpandBlockMenuItem(api)
|
|
35
34
|
}]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { expandWithNestedExpand, expandWithNestedExpandLocalId, nestedExpand, nestedExpandWithLocalId } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
|
-
import { FORMAT_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_NESTED_MENU_RANK
|
|
4
|
+
import { FORMAT_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_NESTED_MENU_RANK } from '@atlaskit/editor-common/block-menu';
|
|
5
5
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { IconExpand } from '@atlaskit/editor-common/quick-insert';
|
|
7
7
|
import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
@@ -28,7 +28,7 @@ export var expandPlugin = function expandPlugin(_ref) {
|
|
|
28
28
|
parent: {
|
|
29
29
|
type: 'block-menu-section',
|
|
30
30
|
key: FORMAT_MENU_ITEM.key,
|
|
31
|
-
rank:
|
|
31
|
+
rank: FORMAT_NESTED_MENU_RANK[FORMAT_EXPAND_MENU_ITEM.key]
|
|
32
32
|
},
|
|
33
33
|
component: createExpandBlockMenuItem(api)
|
|
34
34
|
}]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.7",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/icon-lab": "^5.12.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^13.43.0",
|
|
52
52
|
"@atlaskit/tokens": "^8.3.0",
|
|
53
53
|
"@atlaskit/tooltip": "^20.10.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
@@ -115,9 +115,6 @@
|
|
|
115
115
|
},
|
|
116
116
|
"platform_editor_adf_with_localid": {
|
|
117
117
|
"type": "boolean"
|
|
118
|
-
},
|
|
119
|
-
"platform_editor_block_menu_format_rank_revised": {
|
|
120
|
-
"type": "boolean"
|
|
121
118
|
}
|
|
122
119
|
}
|
|
123
120
|
}
|