@atlaskit/editor-plugin-list 18.1.4 → 18.1.5
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 +6 -0
- package/dist/cjs/listPlugin.js +7 -5
- package/dist/es2019/listPlugin.js +3 -1
- package/dist/esm/listPlugin.js +3 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/cjs/listPlugin.js
CHANGED
|
@@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.listPlugin = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _bulletList = require("@atlaskit/adf-schema/bullet-list");
|
|
10
|
+
var _listItem = require("@atlaskit/adf-schema/list-item");
|
|
11
|
+
var _orderedList = require("@atlaskit/adf-schema/ordered-list");
|
|
10
12
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
11
13
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
14
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
@@ -75,16 +77,16 @@ var listPlugin = exports.listPlugin = function listPlugin(_ref) {
|
|
|
75
77
|
nodes: function nodes() {
|
|
76
78
|
var getListItemNode = function getListItemNode() {
|
|
77
79
|
if ((0, _fg.fg)('platform_editor_adf_with_localid')) {
|
|
78
|
-
return
|
|
80
|
+
return _listItem.listItemWithLocalId;
|
|
79
81
|
}
|
|
80
|
-
return
|
|
82
|
+
return _listItem.listItem;
|
|
81
83
|
};
|
|
82
84
|
return [{
|
|
83
85
|
name: 'bulletList',
|
|
84
|
-
node: (0, _fg.fg)('platform_editor_adf_with_localid') ?
|
|
86
|
+
node: (0, _fg.fg)('platform_editor_adf_with_localid') ? _bulletList.bulletListWithLocalId : _bulletList.bulletList
|
|
85
87
|
}, {
|
|
86
88
|
name: 'orderedList',
|
|
87
|
-
node: (0, _fg.fg)('platform_editor_adf_with_localid') ?
|
|
89
|
+
node: (0, _fg.fg)('platform_editor_adf_with_localid') ? _orderedList.orderedListWithOrderAndLocalId : _orderedList.orderedListWithOrder
|
|
88
90
|
}, {
|
|
89
91
|
name: 'listItem',
|
|
90
92
|
node: getListItemNode()
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { bulletList, bulletListWithLocalId
|
|
2
|
+
import { bulletList, bulletListWithLocalId } from '@atlaskit/adf-schema/bullet-list';
|
|
3
|
+
import { listItem, listItemWithLocalId } from '@atlaskit/adf-schema/list-item';
|
|
4
|
+
import { orderedListWithOrder, orderedListWithOrderAndLocalId } from '@atlaskit/adf-schema/ordered-list';
|
|
3
5
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
6
|
import { toggleBulletList, toggleOrderedList, tooltip } from '@atlaskit/editor-common/keymaps';
|
|
5
7
|
import { listMessages as messages } from '@atlaskit/editor-common/messages';
|
package/dist/esm/listPlugin.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { bulletList, bulletListWithLocalId
|
|
2
|
+
import { bulletList, bulletListWithLocalId } from '@atlaskit/adf-schema/bullet-list';
|
|
3
|
+
import { listItem, listItemWithLocalId } from '@atlaskit/adf-schema/list-item';
|
|
4
|
+
import { orderedListWithOrder, orderedListWithOrderAndLocalId } from '@atlaskit/adf-schema/ordered-list';
|
|
3
5
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
6
|
import { toggleBulletList, toggleOrderedList, tooltip } from '@atlaskit/editor-common/keymaps';
|
|
5
7
|
import { listMessages as messages } from '@atlaskit/editor-common/messages';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-list",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.5",
|
|
4
4
|
"description": "List plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
23
23
|
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
24
|
-
"@atlaskit/editor-plugin-block-menu": "^15.
|
|
24
|
+
"@atlaskit/editor-plugin-block-menu": "^15.1.0",
|
|
25
25
|
"@atlaskit/editor-plugin-feature-flags": "^15.1.0",
|
|
26
26
|
"@atlaskit/editor-plugin-toolbar": "^13.0.0",
|
|
27
27
|
"@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
34
34
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
35
35
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
36
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
36
|
+
"@atlaskit/tmp-editor-statsig": "^173.0.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|