@atlaskit/editor-plugin-list 18.0.9 → 18.1.1
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 +17 -0
- package/package.json +8 -8
- package/report.api.md +0 -116
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-list
|
|
2
2
|
|
|
3
|
+
## 18.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 18.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
14
|
+
Remove stale API report artifacts from published Platform packages.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 18.0.9
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-list",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.1.1",
|
|
4
4
|
"description": "List plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
"atlaskit:src": "src/index.ts",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
23
|
-
"@atlaskit/editor-plugin-analytics": "^16.
|
|
23
|
+
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
24
24
|
"@atlaskit/editor-plugin-block-menu": "^15.0.0",
|
|
25
|
-
"@atlaskit/editor-plugin-feature-flags": "^15.
|
|
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",
|
|
28
28
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
29
29
|
"@atlaskit/editor-toolbar": "^2.6.0",
|
|
30
30
|
"@atlaskit/editor-ui-control-model": "^2.9.0",
|
|
31
|
-
"@atlaskit/icon": "^37.
|
|
31
|
+
"@atlaskit/icon": "^37.6.0",
|
|
32
32
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
33
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
33
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
34
34
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
35
|
-
"@atlaskit/prosemirror-input-rules": "^4.
|
|
36
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
35
|
+
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
36
|
+
"@atlaskit/tmp-editor-statsig": "^169.0.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@atlaskit/editor-common": "^120.
|
|
40
|
+
"@atlaskit/editor-common": "^120.10.0",
|
|
41
41
|
"react": "^18.2.0 || ^19.2.0",
|
|
42
42
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
43
43
|
},
|
package/report.api.md
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/editor-plugin-list"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
20
|
-
import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
21
|
-
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
22
|
-
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
23
|
-
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
24
|
-
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
25
|
-
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
26
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
27
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
28
|
-
import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
29
|
-
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
30
|
-
|
|
31
|
-
// @public (undocumented)
|
|
32
|
-
export type FindRootParentListNode = ($pos: ResolvedPos) => ResolvedPos | null;
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
type IndentList = (inputMethod: InputMethod) => EditorCommand;
|
|
36
|
-
|
|
37
|
-
// @public (undocumented)
|
|
38
|
-
export type InputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
|
|
39
|
-
|
|
40
|
-
// @public (undocumented)
|
|
41
|
-
type InputMethod_2 = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
|
|
42
|
-
|
|
43
|
-
// @public (undocumented)
|
|
44
|
-
type IsInsideListItem = (tr: Transaction) => boolean;
|
|
45
|
-
|
|
46
|
-
// @public (undocumented)
|
|
47
|
-
export type ListPlugin = NextEditorPlugin<
|
|
48
|
-
'list',
|
|
49
|
-
{
|
|
50
|
-
pluginConfiguration: ListPluginOptions | undefined;
|
|
51
|
-
dependencies: [OptionalPlugin<FeatureFlagsPlugin>, OptionalPlugin<AnalyticsPlugin>];
|
|
52
|
-
actions: {
|
|
53
|
-
isInsideListItem: IsInsideListItem;
|
|
54
|
-
findRootParentListNode: FindRootParentListNode;
|
|
55
|
-
};
|
|
56
|
-
commands: {
|
|
57
|
-
indentList: IndentList;
|
|
58
|
-
outdentList: OutdentList;
|
|
59
|
-
toggleOrderedList: ToggleOrderedList;
|
|
60
|
-
toggleBulletList: ToggleBulletList;
|
|
61
|
-
};
|
|
62
|
-
sharedState: ListState | undefined;
|
|
63
|
-
}
|
|
64
|
-
>;
|
|
65
|
-
|
|
66
|
-
// @public
|
|
67
|
-
export const listPlugin: ListPlugin;
|
|
68
|
-
|
|
69
|
-
// @public (undocumented)
|
|
70
|
-
export type ListPluginOptions = Pick<FeatureFlags, 'restartNumberedLists'>;
|
|
71
|
-
|
|
72
|
-
// @public (undocumented)
|
|
73
|
-
export interface ListState {
|
|
74
|
-
// (undocumented)
|
|
75
|
-
bulletListActive: boolean;
|
|
76
|
-
// (undocumented)
|
|
77
|
-
bulletListDisabled: boolean;
|
|
78
|
-
// (undocumented)
|
|
79
|
-
decorationSet: DecorationSet;
|
|
80
|
-
// (undocumented)
|
|
81
|
-
orderedListActive: boolean;
|
|
82
|
-
// (undocumented)
|
|
83
|
-
orderedListDisabled: boolean;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// @public (undocumented)
|
|
87
|
-
type OutdentList = (inputMethod: InputMethod) => EditorCommand;
|
|
88
|
-
|
|
89
|
-
// @public (undocumented)
|
|
90
|
-
type ToggleBulletList = (inputMethod: InputMethod) => EditorCommand;
|
|
91
|
-
|
|
92
|
-
// @public (undocumented)
|
|
93
|
-
export const toggleList: (
|
|
94
|
-
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
95
|
-
) => (inputMethod: InputMethod_2, listType: 'bulletList' | 'orderedList') => EditorCommand;
|
|
96
|
-
|
|
97
|
-
// @public (undocumented)
|
|
98
|
-
type ToggleOrderedList = (inputMethod: InputMethod) => EditorCommand;
|
|
99
|
-
|
|
100
|
-
// (No @packageDocumentation comment for this package)
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
<!--SECTION END: Main Entry Types-->
|
|
104
|
-
|
|
105
|
-
### Peer Dependencies
|
|
106
|
-
|
|
107
|
-
<!--SECTION START: Peer Dependencies-->
|
|
108
|
-
|
|
109
|
-
```json
|
|
110
|
-
{
|
|
111
|
-
"react": "^16.8.0",
|
|
112
|
-
"react-intl": "npm:react-intl@^5.18.1"
|
|
113
|
-
}
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
<!--SECTION END: Peer Dependencies-->
|