@atlaskit/editor-plugin-tasks-and-decisions 19.0.9 → 19.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 +15 -15
- package/report.api.md +0 -125
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 19.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 19.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
|
## 19.0.9
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.1.1",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,34 +22,34 @@
|
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
25
|
-
"@atlaskit/analytics-namespaced-context": "^8.
|
|
25
|
+
"@atlaskit/analytics-namespaced-context": "^8.2.0",
|
|
26
26
|
"@atlaskit/css": "^1.1.0",
|
|
27
|
-
"@atlaskit/editor-plugin-analytics": "^16.
|
|
27
|
+
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
28
28
|
"@atlaskit/editor-plugin-block-menu": "^15.0.0",
|
|
29
29
|
"@atlaskit/editor-plugin-context-identifier": "^16.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-editor-viewmode": "^18.0.0",
|
|
31
|
-
"@atlaskit/editor-plugin-selection": "^16.
|
|
31
|
+
"@atlaskit/editor-plugin-selection": "^16.1.0",
|
|
32
32
|
"@atlaskit/editor-plugin-toolbar": "^13.0.0",
|
|
33
|
-
"@atlaskit/editor-plugin-type-ahead": "^17.
|
|
33
|
+
"@atlaskit/editor-plugin-type-ahead": "^17.1.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
35
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
35
|
+
"@atlaskit/editor-shared-styles": "^4.1.0",
|
|
36
36
|
"@atlaskit/editor-toolbar": "^2.6.0",
|
|
37
37
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
38
|
-
"@atlaskit/heading": "^7.
|
|
39
|
-
"@atlaskit/icon": "^37.
|
|
38
|
+
"@atlaskit/heading": "^7.2.0",
|
|
39
|
+
"@atlaskit/icon": "^37.6.0",
|
|
40
40
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
41
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
42
|
-
"@atlaskit/primitives": "^22.
|
|
43
|
-
"@atlaskit/prosemirror-input-rules": "^4.
|
|
44
|
-
"@atlaskit/task-decision": "^21.
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
-
"@atlaskit/tokens": "^16.
|
|
41
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
42
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
43
|
+
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
44
|
+
"@atlaskit/task-decision": "^21.9.0",
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^169.0.0",
|
|
46
|
+
"@atlaskit/tokens": "^16.10.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@compiled/react": "^1.0.2",
|
|
49
49
|
"bind-event-listener": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@atlaskit/editor-common": "^120.
|
|
52
|
+
"@atlaskit/editor-common": "^120.10.0",
|
|
53
53
|
"react": "^18.2.0 || ^19.2.0",
|
|
54
54
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
55
55
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
package/report.api.md
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/editor-plugin-tasks-and-decisions"
|
|
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 { Command } from '@atlaskit/editor-common/types';
|
|
21
|
-
import type { DecisionItemDefinition } from '@atlaskit/adf-schema';
|
|
22
|
-
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
23
|
-
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
24
|
-
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
25
|
-
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
26
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
27
|
-
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
28
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
29
|
-
import type { TaskItemDefinition } from '@atlaskit/adf-schema';
|
|
30
|
-
import type { TOOLBAR_MENU_TYPE } from '@atlaskit/editor-common/types';
|
|
31
|
-
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
32
|
-
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
type AddItemAttrs = Partial<DecisionItemDefinition['attrs']> | Partial<TaskItemDefinition['attrs']>;
|
|
36
|
-
|
|
37
|
-
// @public (undocumented)
|
|
38
|
-
type AddItemTransactionCreator = (opts: {
|
|
39
|
-
state: EditorState;
|
|
40
|
-
tr: Transaction;
|
|
41
|
-
list: NodeType;
|
|
42
|
-
item: NodeType;
|
|
43
|
-
listLocalId: string;
|
|
44
|
-
itemLocalId: string;
|
|
45
|
-
itemAttrs?: AddItemAttrs;
|
|
46
|
-
}) => Transaction | null;
|
|
47
|
-
|
|
48
|
-
// @public (undocumented)
|
|
49
|
-
const getIndentCommand: (
|
|
50
|
-
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
51
|
-
) => (inputMethod?: IndentationInputMethod) => Command;
|
|
52
|
-
|
|
53
|
-
// @public (undocumented)
|
|
54
|
-
const getUnindentCommand: (
|
|
55
|
-
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
56
|
-
) => (inputMethod?: IndentationInputMethod) => Command;
|
|
57
|
-
|
|
58
|
-
// @public (undocumented)
|
|
59
|
-
type IndentationInputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
|
|
60
|
-
|
|
61
|
-
// @public (undocumented)
|
|
62
|
-
const insertTaskDecisionCommand: (
|
|
63
|
-
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
64
|
-
) => (
|
|
65
|
-
listType: TaskDecisionListType,
|
|
66
|
-
inputMethod?: INPUT_METHOD.FORMATTING | INPUT_METHOD.QUICK_INSERT | TOOLBAR_MENU_TYPE,
|
|
67
|
-
addItem?: AddItemTransactionCreator,
|
|
68
|
-
listLocalId?: string,
|
|
69
|
-
itemLocalId?: string,
|
|
70
|
-
) => Command;
|
|
71
|
-
|
|
72
|
-
// @public (undocumented)
|
|
73
|
-
type TaskAndDecisionsSharedState = {
|
|
74
|
-
focusedTaskItemLocalId: null | string;
|
|
75
|
-
indentDisabled: boolean;
|
|
76
|
-
outdentDisabled: boolean;
|
|
77
|
-
isInsideTask: boolean;
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
// @public (undocumented)
|
|
81
|
-
type TaskDecisionListType = 'decisionList' | 'taskList';
|
|
82
|
-
|
|
83
|
-
// @public (undocumented)
|
|
84
|
-
interface TaskDecisionPluginOptions extends LongPressSelectionPluginOptions {
|
|
85
|
-
// (undocumented)
|
|
86
|
-
allowNestedTasks?: boolean;
|
|
87
|
-
// (undocumented)
|
|
88
|
-
consumeTabs?: boolean;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// @public (undocumented)
|
|
92
|
-
export type TasksAndDecisionsPlugin = NextEditorPlugin<
|
|
93
|
-
'taskDecision',
|
|
94
|
-
{
|
|
95
|
-
pluginConfiguration: TaskDecisionPluginOptions | undefined;
|
|
96
|
-
sharedState: TaskAndDecisionsSharedState | undefined;
|
|
97
|
-
dependencies: [OptionalPlugin<TypeAheadPlugin>, OptionalPlugin<AnalyticsPlugin>];
|
|
98
|
-
actions: {
|
|
99
|
-
insertTaskDecision: ReturnType<typeof insertTaskDecisionCommand>;
|
|
100
|
-
indentTaskList: ReturnType<typeof getIndentCommand>;
|
|
101
|
-
outdentTaskList: ReturnType<typeof getUnindentCommand>;
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
>;
|
|
105
|
-
|
|
106
|
-
// @public (undocumented)
|
|
107
|
-
export const tasksAndDecisionsPlugin: TasksAndDecisionsPlugin;
|
|
108
|
-
|
|
109
|
-
// (No @packageDocumentation comment for this package)
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
<!--SECTION END: Main Entry Types-->
|
|
113
|
-
|
|
114
|
-
### Peer Dependencies
|
|
115
|
-
|
|
116
|
-
<!--SECTION START: Peer Dependencies-->
|
|
117
|
-
|
|
118
|
-
```json
|
|
119
|
-
{
|
|
120
|
-
"react": "^16.8.0",
|
|
121
|
-
"react-intl": "npm:react-intl@^5.18.1"
|
|
122
|
-
}
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
<!--SECTION END: Peer Dependencies-->
|