@atlaskit/editor-plugin-list 3.1.12 → 3.1.13

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,11 @@
1
1
  # @atlaskit/editor-plugin-list
2
2
 
3
+ ## 3.1.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679) [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) - ED-22553 Updating adf-schema version to 35.6.0
8
+
3
9
  ## 3.1.12
4
10
 
5
11
  ### Patch Changes
@@ -12,6 +12,7 @@ var _utils2 = require("@atlaskit/editor-prosemirror/utils");
12
12
  var _selection = require("../utils/selection");
13
13
  var _BACKSPACE_COMMANDS;
14
14
  //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
+
15
16
  //Case for two adjacent list items of the same indentation
16
17
  var listBackspaceCase2 = function listBackspaceCase2(tr, dispatch, $prev, $head) {
17
18
  /* CASE 2
@@ -3,6 +3,7 @@ import { insertContentDeleteRange, isEmptySelectionAtStart, isListNode, isParagr
3
3
  import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
4
4
  import { isPosInsideList, isPosInsideParagraph } from '../utils/selection';
5
5
  //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
6
+
6
7
  //Case for two adjacent list items of the same indentation
7
8
  const listBackspaceCase2 = (tr, dispatch, $prev, $head) => {
8
9
  /* CASE 2
@@ -5,6 +5,7 @@ import { insertContentDeleteRange, isEmptySelectionAtStart, isListNode, isParagr
5
5
  import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
6
6
  import { isPosInsideList, isPosInsideParagraph } from '../utils/selection';
7
7
  //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
8
+
8
9
  //Case for two adjacent list items of the same indentation
9
10
  var listBackspaceCase2 = function listBackspaceCase2(tr, dispatch, $prev, $head) {
10
11
  /* CASE 2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-list",
3
- "version": "3.1.12",
3
+ "version": "3.1.13",
4
4
  "description": "List plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/adf-schema": "^35.5.2",
36
- "@atlaskit/editor-common": "^78.10.0",
35
+ "@atlaskit/adf-schema": "^35.6.0",
36
+ "@atlaskit/editor-common": "^78.12.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.0.0",
38
38
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
39
39
  "@atlaskit/editor-prosemirror": "3.0.0",