@atlaskit/editor-plugin-list 8.2.11 → 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 CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 8.2.11
4
12
 
5
13
  ### Patch Changes
@@ -10,22 +10,22 @@ var _NumberedListBlockMenuItem = require("./NumberedListBlockMenuItem");
10
10
  var getListComponents = exports.getListComponents = function getListComponents(api) {
11
11
  return [{
12
12
  type: 'block-menu-item',
13
- key: _blockMenu.FORMAT_BULLETED_LIST_MENU_ITEM.key,
13
+ key: _blockMenu.TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key,
14
14
  parent: {
15
15
  type: 'block-menu-section',
16
- key: 'nested-menu-format-section-primary',
17
- rank: _blockMenu.FORMAT_NESTED_MENU_RANK[_blockMenu.FORMAT_BULLETED_LIST_MENU_ITEM.key]
16
+ key: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION.key,
17
+ rank: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION_RANK[_blockMenu.TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key]
18
18
  },
19
19
  component: (0, _BulletedListBlockMenuItem.createBulletedListBlockMenuItem)({
20
20
  api: api
21
21
  })
22
22
  }, {
23
23
  type: 'block-menu-item',
24
- key: _blockMenu.FORMAT_NUMBERED_LIST_MENU_ITEM.key,
24
+ key: _blockMenu.TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key,
25
25
  parent: {
26
26
  type: 'block-menu-section',
27
- key: 'nested-menu-format-section-primary',
28
- rank: _blockMenu.FORMAT_NESTED_MENU_RANK[_blockMenu.FORMAT_NUMBERED_LIST_MENU_ITEM.key]
27
+ key: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION.key,
28
+ rank: _blockMenu.TRANSFORM_STRUCTURE_MENU_SECTION_RANK[_blockMenu.TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key]
29
29
  },
30
30
  component: (0, _NumberedListBlockMenuItem.createNumberedListBlockMenuItem)({
31
31
  api: api
@@ -1,25 +1,25 @@
1
- import { FORMAT_BULLETED_LIST_MENU_ITEM, FORMAT_NESTED_MENU_RANK, FORMAT_NUMBERED_LIST_MENU_ITEM } from '@atlaskit/editor-common/block-menu';
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';
2
2
  import { createBulletedListBlockMenuItem } from './BulletedListBlockMenuItem';
3
3
  import { createNumberedListBlockMenuItem } from './NumberedListBlockMenuItem';
4
4
  export const getListComponents = api => {
5
5
  return [{
6
6
  type: 'block-menu-item',
7
- key: FORMAT_BULLETED_LIST_MENU_ITEM.key,
7
+ key: TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key,
8
8
  parent: {
9
9
  type: 'block-menu-section',
10
- key: 'nested-menu-format-section-primary',
11
- rank: FORMAT_NESTED_MENU_RANK[FORMAT_BULLETED_LIST_MENU_ITEM.key]
10
+ key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
11
+ rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key]
12
12
  },
13
13
  component: createBulletedListBlockMenuItem({
14
14
  api
15
15
  })
16
16
  }, {
17
17
  type: 'block-menu-item',
18
- key: FORMAT_NUMBERED_LIST_MENU_ITEM.key,
18
+ key: TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key,
19
19
  parent: {
20
20
  type: 'block-menu-section',
21
- key: 'nested-menu-format-section-primary',
22
- rank: FORMAT_NESTED_MENU_RANK[FORMAT_NUMBERED_LIST_MENU_ITEM.key]
21
+ key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
22
+ rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key]
23
23
  },
24
24
  component: createNumberedListBlockMenuItem({
25
25
  api
@@ -1,25 +1,25 @@
1
- import { FORMAT_BULLETED_LIST_MENU_ITEM, FORMAT_NESTED_MENU_RANK, FORMAT_NUMBERED_LIST_MENU_ITEM } from '@atlaskit/editor-common/block-menu';
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';
2
2
  import { createBulletedListBlockMenuItem } from './BulletedListBlockMenuItem';
3
3
  import { createNumberedListBlockMenuItem } from './NumberedListBlockMenuItem';
4
4
  export var getListComponents = function getListComponents(api) {
5
5
  return [{
6
6
  type: 'block-menu-item',
7
- key: FORMAT_BULLETED_LIST_MENU_ITEM.key,
7
+ key: TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key,
8
8
  parent: {
9
9
  type: 'block-menu-section',
10
- key: 'nested-menu-format-section-primary',
11
- rank: FORMAT_NESTED_MENU_RANK[FORMAT_BULLETED_LIST_MENU_ITEM.key]
10
+ key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
11
+ rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key]
12
12
  },
13
13
  component: createBulletedListBlockMenuItem({
14
14
  api: api
15
15
  })
16
16
  }, {
17
17
  type: 'block-menu-item',
18
- key: FORMAT_NUMBERED_LIST_MENU_ITEM.key,
18
+ key: TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key,
19
19
  parent: {
20
20
  type: 'block-menu-section',
21
- key: 'nested-menu-format-section-primary',
22
- rank: FORMAT_NESTED_MENU_RANK[FORMAT_NUMBERED_LIST_MENU_ITEM.key]
21
+ key: TRANSFORM_STRUCTURE_MENU_SECTION.key,
22
+ rank: TRANSFORM_STRUCTURE_MENU_SECTION_RANK[TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key]
23
23
  },
24
24
  component: createNumberedListBlockMenuItem({
25
25
  api: api
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-list",
3
- "version": "8.2.11",
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.43.0",
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.34.0",
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
  },