@atlaskit/editor-plugin-panel 8.1.10 → 8.1.12
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 +16 -0
- package/dist/cjs/panelPlugin.js +3 -3
- package/dist/es2019/panelPlugin.js +4 -4
- package/dist/esm/panelPlugin.js +4 -4
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 8.1.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`56c0427b2ab20`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/56c0427b2ab20) -
|
|
8
|
+
[ux] Use new IA for block menu items.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 8.1.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`43d1dfc88c1de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/43d1dfc88c1de) -
|
|
16
|
+
Clean up platform_editor_block_menu_format_rank_revised
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 8.1.10
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/panelPlugin.js
CHANGED
|
@@ -34,11 +34,11 @@ var panelPlugin = function panelPlugin(_ref) {
|
|
|
34
34
|
var _api$blockMenu;
|
|
35
35
|
api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 || _api$blockMenu.actions.registerBlockMenuComponents([{
|
|
36
36
|
type: 'block-menu-item',
|
|
37
|
-
key: _blockMenu.
|
|
37
|
+
key: _blockMenu.TRANSFORM_STRUCTURE_PANEL_MENU_ITEM.key,
|
|
38
38
|
parent: {
|
|
39
39
|
type: 'block-menu-section',
|
|
40
|
-
key: _blockMenu.
|
|
41
|
-
rank:
|
|
40
|
+
key: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
41
|
+
rank: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION_RANK[_blockMenu.TRANSFORM_STRUCTURE_PANEL_MENU_ITEM.key]
|
|
42
42
|
},
|
|
43
43
|
component: (0, _panelBlockMenuItem.createPanelBlockMenuItem)(api)
|
|
44
44
|
}]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { extendedPanel, extendedPanelWithLocalId, PanelType } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
|
-
import {
|
|
4
|
+
import { TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION_RANK } from '@atlaskit/editor-common/block-menu';
|
|
5
5
|
import { insertSelectedItem } from '@atlaskit/editor-common/insert';
|
|
6
6
|
import { blockTypeMessages } from '@atlaskit/editor-common/messages';
|
|
7
7
|
import { IconCustomPanel, IconPanel, IconPanelError, IconPanelNote, IconPanelSuccess, IconPanelWarning } from '@atlaskit/editor-common/quick-insert';
|
|
@@ -24,11 +24,11 @@ const panelPlugin = ({
|
|
|
24
24
|
var _api$blockMenu;
|
|
25
25
|
api === null || api === void 0 ? void 0 : (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.actions.registerBlockMenuComponents([{
|
|
26
26
|
type: 'block-menu-item',
|
|
27
|
-
key:
|
|
27
|
+
key: TRANSFORM_STRUCTURE_PANEL_MENU_ITEM.key,
|
|
28
28
|
parent: {
|
|
29
29
|
type: 'block-menu-section',
|
|
30
|
-
key:
|
|
31
|
-
rank:
|
|
30
|
+
key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
31
|
+
rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_PANEL_MENU_ITEM.key]
|
|
32
32
|
},
|
|
33
33
|
component: createPanelBlockMenuItem(api)
|
|
34
34
|
}]);
|
package/dist/esm/panelPlugin.js
CHANGED
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { extendedPanel, extendedPanelWithLocalId, PanelType } from '@atlaskit/adf-schema';
|
|
6
6
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
7
|
-
import {
|
|
7
|
+
import { TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION_RANK } from '@atlaskit/editor-common/block-menu';
|
|
8
8
|
import { insertSelectedItem } from '@atlaskit/editor-common/insert';
|
|
9
9
|
import { blockTypeMessages } from '@atlaskit/editor-common/messages';
|
|
10
10
|
import { IconCustomPanel, IconPanel, IconPanelError, IconPanelNote, IconPanelSuccess, IconPanelWarning } from '@atlaskit/editor-common/quick-insert';
|
|
@@ -27,11 +27,11 @@ var panelPlugin = function panelPlugin(_ref) {
|
|
|
27
27
|
var _api$blockMenu;
|
|
28
28
|
api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 || _api$blockMenu.actions.registerBlockMenuComponents([{
|
|
29
29
|
type: 'block-menu-item',
|
|
30
|
-
key:
|
|
30
|
+
key: TRANSFORM_STRUCTURE_PANEL_MENU_ITEM.key,
|
|
31
31
|
parent: {
|
|
32
32
|
type: 'block-menu-section',
|
|
33
|
-
key:
|
|
34
|
-
rank:
|
|
33
|
+
key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
34
|
+
rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_PANEL_MENU_ITEM.key]
|
|
35
35
|
},
|
|
36
36
|
component: createPanelBlockMenuItem(api)
|
|
37
37
|
}]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.12",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
33
33
|
"@atlaskit/editor-plugin-block-menu": "^5.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-decorations": "^6.1.0",
|
|
35
|
-
"@atlaskit/editor-plugin-emoji": "^7.
|
|
35
|
+
"@atlaskit/editor-plugin-emoji": "^7.7.0",
|
|
36
36
|
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-toolbar": "^3.4.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@atlaskit/icon": "^29.0.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/theme": "^21.0.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
46
|
-
"@atlaskit/tokens": "^8.
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^13.44.0",
|
|
46
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"uuid": "^3.1.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@atlaskit/editor-common": "^110.
|
|
51
|
+
"@atlaskit/editor-common": "^110.35.0",
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-dom": "^18.2.0",
|
|
54
54
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -96,9 +96,6 @@
|
|
|
96
96
|
"platform_editor_adf_with_localid": {
|
|
97
97
|
"type": "boolean"
|
|
98
98
|
},
|
|
99
|
-
"platform_editor_block_menu_format_rank_revised": {
|
|
100
|
-
"type": "boolean"
|
|
101
|
-
},
|
|
102
99
|
"platform_editor_ai_aifc_patch_beta": {
|
|
103
100
|
"type": "boolean"
|
|
104
101
|
}
|