@atlaskit/editor-plugin-list 3.9.7 → 3.9.9

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,17 @@
1
1
  # @atlaskit/editor-plugin-list
2
2
 
3
+ ## 3.9.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.9.8
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.9.7
4
16
 
5
17
  ### Patch Changes
@@ -12,6 +12,8 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
12
12
  var _messages = require("@atlaskit/editor-common/messages");
13
13
  var _quickInsert = require("@atlaskit/editor-common/quick-insert");
14
14
  var _commands = require("./pm-plugins/commands");
15
+ var _indentList = require("./pm-plugins/commands/indent-list");
16
+ var _outdentList2 = require("./pm-plugins/commands/outdent-list");
15
17
  var _inputRules = _interopRequireDefault(require("./pm-plugins/input-rules"));
16
18
  var _keymap = _interopRequireDefault(require("./pm-plugins/keymap"));
17
19
  var _main = require("./pm-plugins/main");
@@ -39,9 +41,9 @@ var listPlugin = exports.listPlugin = function listPlugin(_ref) {
39
41
  findRootParentListNode: _find.findRootParentListNode
40
42
  },
41
43
  commands: {
42
- indentList: (0, _commands.indentList)(editorAnalyticsAPI),
44
+ indentList: (0, _indentList.indentList)(editorAnalyticsAPI),
43
45
  outdentList: function outdentList(inputMethod) {
44
- return (0, _commands.outdentList)(editorAnalyticsAPI)(inputMethod);
46
+ return (0, _outdentList2.outdentList)(editorAnalyticsAPI)(inputMethod);
45
47
  },
46
48
  toggleOrderedList: (0, _commands.toggleOrderedList)(editorAnalyticsAPI),
47
49
  toggleBulletList: (0, _commands.toggleBulletList)(editorAnalyticsAPI)
@@ -7,7 +7,11 @@ exports.calcJoinListScenario = void 0;
7
7
  var _analytics = require("@atlaskit/editor-common/analytics");
8
8
  var _utils = require("@atlaskit/editor-common/utils");
9
9
  var _selection = require("../utils/selection");
10
- var _joinListItemsScenarios = require("./join-list-items-scenarios");
10
+ var _joinListItemWithParagraph = require("./join-list-items-scenarios/join-list-item-with-paragraph");
11
+ var _joinListItemWithParentNestedList = require("./join-list-items-scenarios/join-list-item-with-parent-nested-list");
12
+ var _joinNestedListWithParentListItem = require("./join-list-items-scenarios/join-nested-list-with-parent-list-item");
13
+ var _joinParagraphWithList = require("./join-list-items-scenarios/join-paragraph-with-list");
14
+ var _joinSiblingListItems = require("./join-list-items-scenarios/join-sibling-list-items");
11
15
  var calcJoinListScenario = exports.calcJoinListScenario = function calcJoinListScenario(walkNode, $head) {
12
16
  var $next = walkNode.$pos,
13
17
  nextFoundNode = walkNode.foundNode;
@@ -21,13 +25,13 @@ var calcJoinListScenario = exports.calcJoinListScenario = function calcJoinListS
21
25
  var nextInList = (0, _selection.isPosInsideList)($next);
22
26
  var nextInParagraph = (0, _selection.isPosInsideParagraph)($next);
23
27
  if (!headInList && headInParagraph && nextInList) {
24
- return [_analytics.LIST_TEXT_SCENARIOS.JOIN_LIST_ITEM_WITH_PARAGRAPH, _joinListItemsScenarios.joinListItemWithParagraph];
28
+ return [_analytics.LIST_TEXT_SCENARIOS.JOIN_LIST_ITEM_WITH_PARAGRAPH, _joinListItemWithParagraph.joinListItemWithParagraph];
25
29
  }
26
30
  if (!nextFoundNode || !headInList || !headInParagraph || !headInLastNonListChild) {
27
31
  return false;
28
32
  }
29
33
  if (!nextInList && nextInParagraph) {
30
- return [_analytics.LIST_TEXT_SCENARIOS.JOIN_PARAGRAPH_WITH_LIST, _joinListItemsScenarios.joinParagrapWithList];
34
+ return [_analytics.LIST_TEXT_SCENARIOS.JOIN_PARAGRAPH_WITH_LIST, _joinParagraphWithList.joinParagrapWithList];
31
35
  }
32
36
  if (!nextInList) {
33
37
  return false;
@@ -41,7 +45,7 @@ var calcJoinListScenario = exports.calcJoinListScenario = function calcJoinListS
41
45
  //Redundant check but the linter complains otherwise
42
46
  nextNodeAfterListItem && (0, _utils.isParagraphNode)(nextNodeAfter.firstChild);
43
47
  if (!nextInListItem && nextListItemHasFirstChildParagraph) {
44
- return [_analytics.LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT, _joinListItemsScenarios.joinNestedListWithParentListItem];
48
+ return [_analytics.LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT, _joinNestedListWithParentListItem.joinNestedListWithParentListItem];
45
49
  }
46
50
  if (!nextInListItem) {
47
51
  return false;
@@ -52,7 +56,7 @@ var calcJoinListScenario = exports.calcJoinListScenario = function calcJoinListS
52
56
  return false;
53
57
  }
54
58
  if (nextParentSiblingOfHeadParent) {
55
- return [_analytics.LIST_TEXT_SCENARIOS.JOIN_SIBLINGS, _joinListItemsScenarios.joinSiblingListItems];
59
+ return [_analytics.LIST_TEXT_SCENARIOS.JOIN_SIBLINGS, _joinSiblingListItems.joinSiblingListItems];
56
60
  }
57
- return [_analytics.LIST_TEXT_SCENARIOS.JOIN_PARENT_SIBLING_TO_PARENT_CHILD, _joinListItemsScenarios.joinListItemWithParentNestedList];
61
+ return [_analytics.LIST_TEXT_SCENARIOS.JOIN_PARENT_SIBLING_TO_PARENT_CHILD, _joinListItemWithParentNestedList.joinListItemWithParentNestedList];
58
62
  };
@@ -4,20 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.enterKeyCommand = exports.deleteKeyCommand = exports.backspaceKeyCommand = void 0;
8
- Object.defineProperty(exports, "indentList", {
9
- enumerable: true,
10
- get: function get() {
11
- return _indentList.indentList;
12
- }
13
- });
14
- Object.defineProperty(exports, "outdentList", {
15
- enumerable: true,
16
- get: function get() {
17
- return _outdentList.outdentList;
18
- }
19
- });
20
- exports.toggleOrderedList = exports.toggleList = exports.toggleBulletList = exports.rootListDepth = void 0;
7
+ exports.toggleOrderedList = exports.toggleList = exports.toggleBulletList = exports.rootListDepth = exports.enterKeyCommand = exports.deleteKeyCommand = exports.backspaceKeyCommand = void 0;
21
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
22
9
  var _analytics = require("@atlaskit/editor-common/analytics");
23
10
  var _commands = require("@atlaskit/editor-common/commands");
@@ -34,7 +21,6 @@ var _wrapAndJoinLists = require("../actions/wrap-and-join-lists");
34
21
  var _transforms = require("../transforms");
35
22
  var _mark = require("../utils/mark");
36
23
  var _selection2 = require("../utils/selection");
37
- var _indentList = require("./indent-list");
38
24
  var _isFirstChildOfParent = require("./isFirstChildOfParent");
39
25
  var _joinListItemForward = require("./join-list-item-forward");
40
26
  var _listBackspace = require("./listBackspace");
@@ -10,7 +10,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
10
10
  var _utils = require("@atlaskit/editor-common/utils");
11
11
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
12
12
  var _selection = require("../utils/selection");
13
- var _BACKSPACE_COMMANDS;
14
13
  //Cases below refer to the cases found in this document: https://product-fabric.atlassian.net/wiki/spaces/E/pages/1146954996/List+Backspace+and+Delete+Behaviour
15
14
 
16
15
  //Case for two adjacent list items of the same indentation
@@ -209,7 +208,7 @@ var listBackspaceCase4 = function listBackspaceCase4(tr, dispatch, $prev, $head,
209
208
  }
210
209
  return true;
211
210
  };
212
- var BACKSPACE_COMMANDS = (_BACKSPACE_COMMANDS = {}, (0, _defineProperty2.default)(_BACKSPACE_COMMANDS, _analytics.LIST_TEXT_SCENARIOS.JOIN_SIBLINGS, listBackspaceCase2), (0, _defineProperty2.default)(_BACKSPACE_COMMANDS, _analytics.LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT, listBackspaceCase3), (0, _defineProperty2.default)(_BACKSPACE_COMMANDS, _analytics.LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT, listBackspaceCase4), _BACKSPACE_COMMANDS);
211
+ var BACKSPACE_COMMANDS = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _analytics.LIST_TEXT_SCENARIOS.JOIN_SIBLINGS, listBackspaceCase2), _analytics.LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT, listBackspaceCase3), _analytics.LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT, listBackspaceCase4);
213
212
  var calcJoinListScenario = exports.calcJoinListScenario = function calcJoinListScenario(walkNode, $head, tr) {
214
213
  var $prev = walkNode.$pos,
215
214
  prevFoundNode = walkNode.foundNode;
@@ -9,12 +9,14 @@ var _analytics = require("@atlaskit/editor-common/analytics");
9
9
  var _keymaps = require("@atlaskit/editor-common/keymaps");
10
10
  var _keymap = require("@atlaskit/editor-prosemirror/keymap");
11
11
  var _commands = require("./commands");
12
+ var _indentList = require("./commands/indent-list");
13
+ var _outdentList = require("./commands/outdent-list");
12
14
  function keymapPlugin(featureFlags, editorAnalyticsAPI) {
13
15
  var list = {};
14
16
  (0, _keymaps.bindKeymapWithEditorCommand)((0, _keymaps.findShortcutByKeymap)(_keymaps.toggleOrderedList), (0, _commands.toggleList)(editorAnalyticsAPI)(_analytics.INPUT_METHOD.KEYBOARD, 'orderedList'), list);
15
17
  (0, _keymaps.bindKeymapWithEditorCommand)((0, _keymaps.findShortcutByKeymap)(_keymaps.toggleBulletList), (0, _commands.toggleList)(editorAnalyticsAPI)(_analytics.INPUT_METHOD.KEYBOARD, 'bulletList'), list);
16
- (0, _keymaps.bindKeymapWithEditorCommand)(_keymaps.indentList.common, (0, _commands.indentList)(editorAnalyticsAPI)(_analytics.INPUT_METHOD.KEYBOARD), list);
17
- (0, _keymaps.bindKeymapWithEditorCommand)(_keymaps.outdentList.common, (0, _commands.outdentList)(editorAnalyticsAPI)(_analytics.INPUT_METHOD.KEYBOARD), list);
18
+ (0, _keymaps.bindKeymapWithEditorCommand)(_keymaps.indentList.common, (0, _indentList.indentList)(editorAnalyticsAPI)(_analytics.INPUT_METHOD.KEYBOARD), list);
19
+ (0, _keymaps.bindKeymapWithEditorCommand)(_keymaps.outdentList.common, (0, _outdentList.outdentList)(editorAnalyticsAPI)(_analytics.INPUT_METHOD.KEYBOARD), list);
18
20
  (0, _keymaps.bindKeymapWithCommand)(_keymaps.enter.common, (0, _commands.enterKeyCommand)(editorAnalyticsAPI)(), list);
19
21
  (0, _keymaps.bindKeymapWithCommand)(_keymaps.backspace.common, (0, _commands.backspaceKeyCommand)(editorAnalyticsAPI)(), list);
20
22
  (0, _keymaps.bindKeymapWithCommand)(_keymaps.deleteKey.common, (0, _commands.deleteKeyCommand)(editorAnalyticsAPI), list);
@@ -1 +1,4 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  export { listPlugin } from './listPlugin';
@@ -4,7 +4,9 @@ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } f
4
4
  import { toggleBulletList, toggleOrderedList, tooltip } from '@atlaskit/editor-common/keymaps';
5
5
  import { listMessages as messages } from '@atlaskit/editor-common/messages';
6
6
  import { IconList, IconListNumber } from '@atlaskit/editor-common/quick-insert';
7
- import { indentList, outdentList, toggleBulletList as toggleBulletListCommand, toggleOrderedList as toggleOrderedListCommand } from './pm-plugins/commands';
7
+ import { toggleBulletList as toggleBulletListCommand, toggleOrderedList as toggleOrderedListCommand } from './pm-plugins/commands';
8
+ import { indentList } from './pm-plugins/commands/indent-list';
9
+ import { outdentList } from './pm-plugins/commands/outdent-list';
8
10
  import inputRulePlugin from './pm-plugins/input-rules';
9
11
  import keymapPlugin from './pm-plugins/keymap';
10
12
  import { createPlugin, pluginKey as listPluginKey } from './pm-plugins/main';
@@ -1,7 +1,11 @@
1
1
  import { LIST_TEXT_SCENARIOS } from '@atlaskit/editor-common/analytics';
2
2
  import { isListItemNode, isListNode, isParagraphNode } from '@atlaskit/editor-common/utils';
3
3
  import { isPosInsideList, isPosInsideParagraph } from '../utils/selection';
4
- import { joinListItemWithParagraph, joinListItemWithParentNestedList, joinNestedListWithParentListItem, joinParagrapWithList, joinSiblingListItems } from './join-list-items-scenarios';
4
+ import { joinListItemWithParagraph } from './join-list-items-scenarios/join-list-item-with-paragraph';
5
+ import { joinListItemWithParentNestedList } from './join-list-items-scenarios/join-list-item-with-parent-nested-list';
6
+ import { joinNestedListWithParentListItem } from './join-list-items-scenarios/join-nested-list-with-parent-list-item';
7
+ import { joinParagrapWithList } from './join-list-items-scenarios/join-paragraph-with-list';
8
+ import { joinSiblingListItems } from './join-list-items-scenarios/join-sibling-list-items';
5
9
  export const calcJoinListScenario = (walkNode, $head) => {
6
10
  const {
7
11
  $pos: $next,
@@ -13,12 +13,10 @@ import { wrapInListAndJoin } from '../actions/wrap-and-join-lists';
13
13
  import { liftFollowingList, liftNodeSelectionList, liftTextSelectionList } from '../transforms';
14
14
  import { sanitiseMarksInSelection } from '../utils/mark';
15
15
  import { canJoinToPreviousListItem, isInsideListItem, selectionContainsList } from '../utils/selection';
16
- import { indentList } from './indent-list';
17
16
  import { isFirstChildOfParent } from './isFirstChildOfParent';
18
17
  import { joinListItemForward } from './join-list-item-forward';
19
18
  import { listBackspace } from './listBackspace';
20
19
  import { outdentList } from './outdent-list';
21
- export { outdentList, indentList };
22
20
  export const enterKeyCommand = editorAnalyticsAPI => () => (state, dispatch) => {
23
21
  const {
24
22
  selection
@@ -1,7 +1,9 @@
1
1
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
2
2
  import { backspace, bindKeymapWithCommand, bindKeymapWithEditorCommand, deleteKey, enter, findKeyMapForBrowser, findShortcutByKeymap, forwardDelete, indentList, outdentList, toggleBulletList, toggleOrderedList } from '@atlaskit/editor-common/keymaps';
3
3
  import { keymap } from '@atlaskit/editor-prosemirror/keymap';
4
- import { backspaceKeyCommand, deleteKeyCommand, enterKeyCommand, indentList as indentListCommand, outdentList as outdentListCommand, toggleList } from './commands';
4
+ import { backspaceKeyCommand, deleteKeyCommand, enterKeyCommand, toggleList } from './commands';
5
+ import { indentList as indentListCommand } from './commands/indent-list';
6
+ import { outdentList as outdentListCommand } from './commands/outdent-list';
5
7
  export function keymapPlugin(featureFlags, editorAnalyticsAPI) {
6
8
  const list = {};
7
9
  bindKeymapWithEditorCommand(findShortcutByKeymap(toggleOrderedList), toggleList(editorAnalyticsAPI)(INPUT_METHOD.KEYBOARD, 'orderedList'), list);
package/dist/esm/index.js CHANGED
@@ -1 +1,4 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  export { listPlugin } from './listPlugin';
@@ -4,7 +4,9 @@ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } f
4
4
  import { toggleBulletList, toggleOrderedList, tooltip } from '@atlaskit/editor-common/keymaps';
5
5
  import { listMessages as messages } from '@atlaskit/editor-common/messages';
6
6
  import { IconList, IconListNumber } from '@atlaskit/editor-common/quick-insert';
7
- import { indentList, outdentList as _outdentList, toggleBulletList as toggleBulletListCommand, toggleOrderedList as toggleOrderedListCommand } from './pm-plugins/commands';
7
+ import { toggleBulletList as toggleBulletListCommand, toggleOrderedList as toggleOrderedListCommand } from './pm-plugins/commands';
8
+ import { indentList } from './pm-plugins/commands/indent-list';
9
+ import { outdentList as _outdentList } from './pm-plugins/commands/outdent-list';
8
10
  import inputRulePlugin from './pm-plugins/input-rules';
9
11
  import keymapPlugin from './pm-plugins/keymap';
10
12
  import { createPlugin, pluginKey as listPluginKey } from './pm-plugins/main';
@@ -1,7 +1,11 @@
1
1
  import { LIST_TEXT_SCENARIOS } from '@atlaskit/editor-common/analytics';
2
2
  import { isListItemNode, isListNode, isParagraphNode } from '@atlaskit/editor-common/utils';
3
3
  import { isPosInsideList, isPosInsideParagraph } from '../utils/selection';
4
- import { joinListItemWithParagraph, joinListItemWithParentNestedList, joinNestedListWithParentListItem, joinParagrapWithList, joinSiblingListItems } from './join-list-items-scenarios';
4
+ import { joinListItemWithParagraph } from './join-list-items-scenarios/join-list-item-with-paragraph';
5
+ import { joinListItemWithParentNestedList } from './join-list-items-scenarios/join-list-item-with-parent-nested-list';
6
+ import { joinNestedListWithParentListItem } from './join-list-items-scenarios/join-nested-list-with-parent-list-item';
7
+ import { joinParagrapWithList } from './join-list-items-scenarios/join-paragraph-with-list';
8
+ import { joinSiblingListItems } from './join-list-items-scenarios/join-sibling-list-items';
5
9
  export var calcJoinListScenario = function calcJoinListScenario(walkNode, $head) {
6
10
  var $next = walkNode.$pos,
7
11
  nextFoundNode = walkNode.foundNode;
@@ -16,12 +16,10 @@ import { wrapInListAndJoin } from '../actions/wrap-and-join-lists';
16
16
  import { liftFollowingList, liftNodeSelectionList, liftTextSelectionList } from '../transforms';
17
17
  import { sanitiseMarksInSelection } from '../utils/mark';
18
18
  import { canJoinToPreviousListItem, isInsideListItem, selectionContainsList } from '../utils/selection';
19
- import { indentList } from './indent-list';
20
19
  import { isFirstChildOfParent } from './isFirstChildOfParent';
21
20
  import { joinListItemForward } from './join-list-item-forward';
22
21
  import { listBackspace } from './listBackspace';
23
22
  import { outdentList } from './outdent-list';
24
- export { outdentList, indentList };
25
23
  export var enterKeyCommand = function enterKeyCommand(editorAnalyticsAPI) {
26
24
  return function () {
27
25
  return function (state, dispatch) {
@@ -1,5 +1,4 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- var _BACKSPACE_COMMANDS;
3
2
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, DELETE_DIRECTION, EVENT_TYPE, INPUT_METHOD, LIST_TEXT_SCENARIOS } from '@atlaskit/editor-common/analytics';
4
3
  import { insertContentDeleteRange, isEmptySelectionAtStart, isListNode, isParagraphNode, walkPrevNode } from '@atlaskit/editor-common/utils';
5
4
  import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
@@ -202,7 +201,7 @@ var listBackspaceCase4 = function listBackspaceCase4(tr, dispatch, $prev, $head,
202
201
  }
203
202
  return true;
204
203
  };
205
- var BACKSPACE_COMMANDS = (_BACKSPACE_COMMANDS = {}, _defineProperty(_BACKSPACE_COMMANDS, LIST_TEXT_SCENARIOS.JOIN_SIBLINGS, listBackspaceCase2), _defineProperty(_BACKSPACE_COMMANDS, LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT, listBackspaceCase3), _defineProperty(_BACKSPACE_COMMANDS, LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT, listBackspaceCase4), _BACKSPACE_COMMANDS);
204
+ var BACKSPACE_COMMANDS = _defineProperty(_defineProperty(_defineProperty({}, LIST_TEXT_SCENARIOS.JOIN_SIBLINGS, listBackspaceCase2), LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT, listBackspaceCase3), LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT, listBackspaceCase4);
206
205
  export var calcJoinListScenario = function calcJoinListScenario(walkNode, $head, tr) {
207
206
  var $prev = walkNode.$pos,
208
207
  prevFoundNode = walkNode.foundNode;
@@ -1,7 +1,9 @@
1
1
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
2
2
  import { backspace, bindKeymapWithCommand, bindKeymapWithEditorCommand, deleteKey, enter, findKeyMapForBrowser, findShortcutByKeymap, forwardDelete, indentList, outdentList, toggleBulletList, toggleOrderedList } from '@atlaskit/editor-common/keymaps';
3
3
  import { keymap } from '@atlaskit/editor-prosemirror/keymap';
4
- import { backspaceKeyCommand, deleteKeyCommand, enterKeyCommand, indentList as indentListCommand, outdentList as outdentListCommand, toggleList } from './commands';
4
+ import { backspaceKeyCommand, deleteKeyCommand, enterKeyCommand, toggleList } from './commands';
5
+ import { indentList as indentListCommand } from './commands/indent-list';
6
+ import { outdentList as outdentListCommand } from './commands/outdent-list';
5
7
  export function keymapPlugin(featureFlags, editorAnalyticsAPI) {
6
8
  var list = {};
7
9
  bindKeymapWithEditorCommand(findShortcutByKeymap(toggleOrderedList), toggleList(editorAnalyticsAPI)(INPUT_METHOD.KEYBOARD, 'orderedList'), list);
@@ -2,9 +2,6 @@ import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import type { Command, EditorCommand } from '@atlaskit/editor-common/types';
4
4
  import type { NodeType, ResolvedPos } from '@atlaskit/editor-prosemirror/model';
5
- import { indentList } from './indent-list';
6
- import { outdentList } from './outdent-list';
7
- export { outdentList, indentList };
8
5
  export type InputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
9
6
  export declare const enterKeyCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => () => Command;
10
7
  export declare const backspaceKeyCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => () => Command;
@@ -2,9 +2,6 @@ import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import type { Command, EditorCommand } from '@atlaskit/editor-common/types';
4
4
  import type { NodeType, ResolvedPos } from '@atlaskit/editor-prosemirror/model';
5
- import { indentList } from './indent-list';
6
- import { outdentList } from './outdent-list';
7
- export { outdentList, indentList };
8
5
  export type InputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
9
6
  export declare const enterKeyCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => () => Command;
10
7
  export declare const backspaceKeyCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => () => Command;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-list",
3
- "version": "3.9.7",
3
+ "version": "3.9.9",
4
4
  "description": "List plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^95.10.0",
35
+ "@atlaskit/editor-common": "^97.0.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
37
37
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
38
38
  "@atlaskit/editor-prosemirror": "6.2.1",
@@ -1,40 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "joinListItemWithParagraph", {
7
- enumerable: true,
8
- get: function get() {
9
- return _joinListItemWithParagraph.joinListItemWithParagraph;
10
- }
11
- });
12
- Object.defineProperty(exports, "joinListItemWithParentNestedList", {
13
- enumerable: true,
14
- get: function get() {
15
- return _joinListItemWithParentNestedList.joinListItemWithParentNestedList;
16
- }
17
- });
18
- Object.defineProperty(exports, "joinNestedListWithParentListItem", {
19
- enumerable: true,
20
- get: function get() {
21
- return _joinNestedListWithParentListItem.joinNestedListWithParentListItem;
22
- }
23
- });
24
- Object.defineProperty(exports, "joinParagrapWithList", {
25
- enumerable: true,
26
- get: function get() {
27
- return _joinParagraphWithList.joinParagrapWithList;
28
- }
29
- });
30
- Object.defineProperty(exports, "joinSiblingListItems", {
31
- enumerable: true,
32
- get: function get() {
33
- return _joinSiblingListItems.joinSiblingListItems;
34
- }
35
- });
36
- var _joinParagraphWithList = require("./join-paragraph-with-list");
37
- var _joinSiblingListItems = require("./join-sibling-list-items");
38
- var _joinNestedListWithParentListItem = require("./join-nested-list-with-parent-list-item");
39
- var _joinListItemWithParentNestedList = require("./join-list-item-with-parent-nested-list");
40
- var _joinListItemWithParagraph = require("./join-list-item-with-paragraph");
@@ -1,5 +0,0 @@
1
- export { joinParagrapWithList } from './join-paragraph-with-list';
2
- export { joinSiblingListItems } from './join-sibling-list-items';
3
- export { joinNestedListWithParentListItem } from './join-nested-list-with-parent-list-item';
4
- export { joinListItemWithParentNestedList } from './join-list-item-with-parent-nested-list';
5
- export { joinListItemWithParagraph } from './join-list-item-with-paragraph';
@@ -1,5 +0,0 @@
1
- export { joinParagrapWithList } from './join-paragraph-with-list';
2
- export { joinSiblingListItems } from './join-sibling-list-items';
3
- export { joinNestedListWithParentListItem } from './join-nested-list-with-parent-list-item';
4
- export { joinListItemWithParentNestedList } from './join-list-item-with-parent-nested-list';
5
- export { joinListItemWithParagraph } from './join-list-item-with-paragraph';
@@ -1,5 +0,0 @@
1
- export { joinParagrapWithList } from './join-paragraph-with-list';
2
- export { joinSiblingListItems } from './join-sibling-list-items';
3
- export { joinNestedListWithParentListItem } from './join-nested-list-with-parent-list-item';
4
- export { joinListItemWithParentNestedList } from './join-list-item-with-parent-nested-list';
5
- export { joinListItemWithParagraph } from './join-list-item-with-paragraph';
@@ -1,5 +0,0 @@
1
- export { joinParagrapWithList } from './join-paragraph-with-list';
2
- export { joinSiblingListItems } from './join-sibling-list-items';
3
- export { joinNestedListWithParentListItem } from './join-nested-list-with-parent-list-item';
4
- export { joinListItemWithParentNestedList } from './join-list-item-with-parent-nested-list';
5
- export { joinListItemWithParagraph } from './join-list-item-with-paragraph';