@atlaskit/editor-plugin-list 1.3.6 → 1.3.7

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
+ ## 1.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
8
+
3
9
  ## 1.3.6
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-list",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "List plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,8 +31,8 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/adf-schema": "^34.0.0",
35
- "@atlaskit/editor-common": "^76.22.0",
34
+ "@atlaskit/adf-schema": "^34.0.1",
35
+ "@atlaskit/editor-common": "^76.23.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^0.3.0",
37
37
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
38
38
  "@atlaskit/editor-prosemirror": "1.1.0",
@@ -1,88 +0,0 @@
1
- ## API Report File for "@atlaskit/editor-plugin-list"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
8
- import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
9
- import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
10
- import type { EditorCommand } from '@atlaskit/editor-common/types';
11
- import type { FeatureFlags } from '@atlaskit/editor-common/types';
12
- import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
13
- import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
14
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
15
- import type { OptionalPlugin } from '@atlaskit/editor-common/types';
16
- import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
17
- import type { Transaction } from '@atlaskit/editor-prosemirror/state';
18
-
19
- // @public (undocumented)
20
- export type FindRootParentListNode = ($pos: ResolvedPos) => ResolvedPos | null;
21
-
22
- // @public (undocumented)
23
- type IndentList = (inputMethod: InputMethod) => EditorCommand;
24
-
25
- // @public (undocumented)
26
- export type InputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
27
-
28
- // @public (undocumented)
29
- type InputMethod_2 = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
30
-
31
- // @public (undocumented)
32
- type IsInsideListItem = (tr: Transaction) => boolean;
33
-
34
- // @public (undocumented)
35
- export type ListPlugin = NextEditorPlugin<'list', {
36
- pluginConfiguration: ListPluginOptions | undefined;
37
- dependencies: [
38
- OptionalPlugin<FeatureFlagsPlugin>,
39
- OptionalPlugin<AnalyticsPlugin>
40
- ];
41
- actions: {
42
- isInsideListItem: IsInsideListItem;
43
- findRootParentListNode: FindRootParentListNode;
44
- };
45
- commands: {
46
- indentList: IndentList;
47
- outdentList: OutdentList;
48
- toggleOrderedList: ToggleOrderedList;
49
- toggleBulletList: ToggleBulletList;
50
- };
51
- sharedState: ListState | undefined;
52
- }>;
53
-
54
- // @public
55
- export const listPlugin: ListPlugin;
56
-
57
- // @public (undocumented)
58
- export type ListPluginOptions = Pick<FeatureFlags, 'restartNumberedLists'>;
59
-
60
- // @public (undocumented)
61
- export interface ListState {
62
- // (undocumented)
63
- bulletListActive: boolean;
64
- // (undocumented)
65
- bulletListDisabled: boolean;
66
- // (undocumented)
67
- decorationSet: DecorationSet;
68
- // (undocumented)
69
- orderedListActive: boolean;
70
- // (undocumented)
71
- orderedListDisabled: boolean;
72
- }
73
-
74
- // @public (undocumented)
75
- type OutdentList = (inputMethod: InputMethod) => EditorCommand;
76
-
77
- // @public (undocumented)
78
- type ToggleBulletList = (inputMethod: InputMethod) => EditorCommand;
79
-
80
- // @public (undocumented)
81
- export const toggleList: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod: InputMethod_2, listType: 'bulletList' | 'orderedList') => EditorCommand;
82
-
83
- // @public (undocumented)
84
- type ToggleOrderedList = (inputMethod: InputMethod) => EditorCommand;
85
-
86
- // (No @packageDocumentation comment for this package)
87
-
88
- ```