@atlaskit/editor-plugin-list 8.2.10 → 8.2.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/ui/index.js +6 -7
- package/dist/es2019/ui/index.js +7 -8
- package/dist/esm/ui/index.js +7 -8
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-list
|
|
2
2
|
|
|
3
|
+
## 8.2.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.2.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.2.10
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -5,28 +5,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getListComponents = void 0;
|
|
7
7
|
var _blockMenu = require("@atlaskit/editor-common/block-menu");
|
|
8
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
9
8
|
var _BulletedListBlockMenuItem = require("./BulletedListBlockMenuItem");
|
|
10
9
|
var _NumberedListBlockMenuItem = require("./NumberedListBlockMenuItem");
|
|
11
10
|
var getListComponents = exports.getListComponents = function getListComponents(api) {
|
|
12
11
|
return [{
|
|
13
12
|
type: 'block-menu-item',
|
|
14
|
-
key: _blockMenu.
|
|
13
|
+
key: _blockMenu.TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key,
|
|
15
14
|
parent: {
|
|
16
15
|
type: 'block-menu-section',
|
|
17
|
-
key:
|
|
18
|
-
rank:
|
|
16
|
+
key: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
17
|
+
rank: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION_RANK[_blockMenu.TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key]
|
|
19
18
|
},
|
|
20
19
|
component: (0, _BulletedListBlockMenuItem.createBulletedListBlockMenuItem)({
|
|
21
20
|
api: api
|
|
22
21
|
})
|
|
23
22
|
}, {
|
|
24
23
|
type: 'block-menu-item',
|
|
25
|
-
key: _blockMenu.
|
|
24
|
+
key: _blockMenu.TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key,
|
|
26
25
|
parent: {
|
|
27
26
|
type: 'block-menu-section',
|
|
28
|
-
key:
|
|
29
|
-
rank:
|
|
27
|
+
key: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
28
|
+
rank: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION_RANK[_blockMenu.TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key]
|
|
30
29
|
},
|
|
31
30
|
component: (0, _NumberedListBlockMenuItem.createNumberedListBlockMenuItem)({
|
|
32
31
|
api: api
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
|
+
import { TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_MENU_SECTION_RANK } from '@atlaskit/editor-common/block-menu';
|
|
3
2
|
import { createBulletedListBlockMenuItem } from './BulletedListBlockMenuItem';
|
|
4
3
|
import { createNumberedListBlockMenuItem } from './NumberedListBlockMenuItem';
|
|
5
4
|
export const getListComponents = api => {
|
|
6
5
|
return [{
|
|
7
6
|
type: 'block-menu-item',
|
|
8
|
-
key:
|
|
7
|
+
key: TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key,
|
|
9
8
|
parent: {
|
|
10
9
|
type: 'block-menu-section',
|
|
11
|
-
key:
|
|
12
|
-
rank:
|
|
10
|
+
key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
11
|
+
rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key]
|
|
13
12
|
},
|
|
14
13
|
component: createBulletedListBlockMenuItem({
|
|
15
14
|
api
|
|
16
15
|
})
|
|
17
16
|
}, {
|
|
18
17
|
type: 'block-menu-item',
|
|
19
|
-
key:
|
|
18
|
+
key: TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key,
|
|
20
19
|
parent: {
|
|
21
20
|
type: 'block-menu-section',
|
|
22
|
-
key:
|
|
23
|
-
rank:
|
|
21
|
+
key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
22
|
+
rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key]
|
|
24
23
|
},
|
|
25
24
|
component: createNumberedListBlockMenuItem({
|
|
26
25
|
api
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
|
+
import { TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_MENU_SECTION_RANK } from '@atlaskit/editor-common/block-menu';
|
|
3
2
|
import { createBulletedListBlockMenuItem } from './BulletedListBlockMenuItem';
|
|
4
3
|
import { createNumberedListBlockMenuItem } from './NumberedListBlockMenuItem';
|
|
5
4
|
export var getListComponents = function getListComponents(api) {
|
|
6
5
|
return [{
|
|
7
6
|
type: 'block-menu-item',
|
|
8
|
-
key:
|
|
7
|
+
key: TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key,
|
|
9
8
|
parent: {
|
|
10
9
|
type: 'block-menu-section',
|
|
11
|
-
key:
|
|
12
|
-
rank:
|
|
10
|
+
key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
11
|
+
rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key]
|
|
13
12
|
},
|
|
14
13
|
component: createBulletedListBlockMenuItem({
|
|
15
14
|
api: api
|
|
16
15
|
})
|
|
17
16
|
}, {
|
|
18
17
|
type: 'block-menu-item',
|
|
19
|
-
key:
|
|
18
|
+
key: TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key,
|
|
20
19
|
parent: {
|
|
21
20
|
type: 'block-menu-section',
|
|
22
|
-
key:
|
|
23
|
-
rank:
|
|
21
|
+
key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
|
|
22
|
+
rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key]
|
|
24
23
|
},
|
|
25
24
|
component: createNumberedListBlockMenuItem({
|
|
26
25
|
api: api
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-list",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.12",
|
|
4
4
|
"description": "List plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
41
41
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^13.44.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@atlaskit/editor-common": "^110.
|
|
46
|
+
"@atlaskit/editor-common": "^110.35.0",
|
|
47
47
|
"react": "^18.2.0",
|
|
48
48
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
49
49
|
},
|
|
@@ -88,9 +88,6 @@
|
|
|
88
88
|
},
|
|
89
89
|
"platform_editor_adf_with_localid": {
|
|
90
90
|
"type": "boolean"
|
|
91
|
-
},
|
|
92
|
-
"platform_editor_block_menu_format_rank_revised": {
|
|
93
|
-
"type": "boolean"
|
|
94
91
|
}
|
|
95
92
|
},
|
|
96
93
|
"stricter": {
|