@atlaskit/editor-plugin-list 3.1.4 → 3.1.6

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,18 @@
1
1
  # @atlaskit/editor-plugin-list
2
2
 
3
+ ## 3.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152) [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) - Updating adf-schema version to 35.5.1
8
+
9
+ ## 3.1.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [#67576](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67576) [`c03238aac8d2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c03238aac8d2) - Export some plugin types to allow fix the build type
14
+ - Updated dependencies
15
+
3
16
  ## 3.1.4
4
17
 
5
18
  ### Patch Changes
@@ -4,7 +4,6 @@ import type { CommandDispatch } from '@atlaskit/editor-common/types';
4
4
  import type { WalkNode } from '@atlaskit/editor-common/utils';
5
5
  import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
6
6
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
7
- type ScenariosAllowed = LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT;
7
+ export type ScenariosAllowed = LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT;
8
8
  export declare const calcJoinListScenario: (walkNode: WalkNode, $head: ResolvedPos, tr: Transaction) => [ScenariosAllowed, ResolvedPos | null] | false;
9
9
  export declare const listBackspace: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (state: EditorState, dispatch?: CommandDispatch) => boolean;
10
- export {};
@@ -1,2 +1,2 @@
1
- export type { ListPlugin, FindRootParentListNode, ListState, InputMethod, } from './types';
1
+ export type { FindRootParentListNode, IndentList, InputMethod, IsInsideListItem, ListPlugin, ListState, OutdentList, ToggleBulletList, ToggleOrderedList, } from './types';
2
2
  export { listPlugin } from './plugin';
@@ -4,10 +4,9 @@ import type { CommandDispatch } from '@atlaskit/editor-common/types';
4
4
  import type { WalkNode } from '@atlaskit/editor-common/utils';
5
5
  import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
6
6
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
7
- type ScenariosAllowed = LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT;
7
+ export type ScenariosAllowed = LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT;
8
8
  export declare const calcJoinListScenario: (walkNode: WalkNode, $head: ResolvedPos, tr: Transaction) => [
9
9
  ScenariosAllowed,
10
10
  ResolvedPos | null
11
11
  ] | false;
12
12
  export declare const listBackspace: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (state: EditorState, dispatch?: CommandDispatch) => boolean;
13
- export {};
@@ -1,2 +1,2 @@
1
- export type { ListPlugin, FindRootParentListNode, ListState, InputMethod, } from './types';
1
+ export type { FindRootParentListNode, IndentList, InputMethod, IsInsideListItem, ListPlugin, ListState, OutdentList, ToggleBulletList, ToggleOrderedList, } from './types';
2
2
  export { listPlugin } from './plugin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-list",
3
- "version": "3.1.4",
3
+ "version": "3.1.6",
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.3.0",
36
- "@atlaskit/editor-common": "^76.39.0",
35
+ "@atlaskit/adf-schema": "^35.5.1",
36
+ "@atlaskit/editor-common": "^77.2.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^0.4.0",
38
38
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
39
39
  "@atlaskit/editor-prosemirror": "1.1.0",
@@ -46,12 +46,8 @@
46
46
  "react-intl-next": "npm:react-intl@^5.18.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@af/visual-regression": "*",
50
49
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
51
- "@testing-library/react": "^12.1.5",
52
- "react-dom": "^16.8.0",
53
- "typescript": "~4.9.5",
54
- "wait-for-expect": "^1.2.0"
50
+ "typescript": "~4.9.5"
55
51
  },
56
52
  "techstack": {
57
53
  "@atlassian/frontend": {
@@ -89,6 +85,11 @@
89
85
  }
90
86
  },
91
87
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
88
+ "stricter": {
89
+ "no-unused-dependencies": {
90
+ "checkDevDependencies": true
91
+ }
92
+ },
92
93
  "platform-feature-flags": {
93
94
  "platform.editor.ordered-list-auto-join-improvements_mrlv5": {
94
95
  "type": "boolean"