@atlaskit/editor-plugin-tasks-and-decisions 1.5.0 → 2.0.0
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 +23 -0
- package/dist/cjs/plugin.js +1 -2
- package/dist/es2019/plugin.js +2 -3
- package/dist/esm/plugin.js +1 -2
- package/dist/types/types.d.ts +1 -2
- package/dist/types-ts4.5/types.d.ts +1 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`d9b562bd66f8e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d9b562bd66f8e) -
|
|
8
|
+
[ux] [ED-23947] restoring the original order of the typeahead menu so that actions, media,
|
|
9
|
+
mentions and emojis are above the fold (in the top 5 results). this change is a major because it
|
|
10
|
+
removes the `getEditorFeatureFlags prop` for plugins. if any consumers who have adopted these
|
|
11
|
+
changes to the public API, they should remove them on their side too.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
17
|
+
## 1.5.1
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#114548](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114548)
|
|
22
|
+
[`8b2d47bffb50e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8b2d47bffb50e) -
|
|
23
|
+
bump adf-schema version
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 1.5.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -49,7 +49,6 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
|
|
|
49
49
|
allowNestedTasks = _ref2$config2.allowNestedTasks,
|
|
50
50
|
consumeTabs = _ref2$config2.consumeTabs,
|
|
51
51
|
useLongPressSelection = _ref2$config2.useLongPressSelection,
|
|
52
|
-
getEditorFeatureFlags = _ref2$config2.getEditorFeatureFlags,
|
|
53
52
|
api = _ref2.api;
|
|
54
53
|
var getIdentifierProvider = function getIdentifierProvider() {
|
|
55
54
|
var _api$contextIdentifie;
|
|
@@ -142,7 +141,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
|
|
|
142
141
|
id: 'action',
|
|
143
142
|
title: formatMessage(_messages.toolbarInsertBlockMessages.action),
|
|
144
143
|
description: formatMessage(_messages.toolbarInsertBlockMessages.actionDescription),
|
|
145
|
-
priority:
|
|
144
|
+
priority: 100,
|
|
146
145
|
keywords: ['checkbox', 'task', 'todo'],
|
|
147
146
|
keyshortcut: '[]',
|
|
148
147
|
icon: function icon() {
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -35,8 +35,7 @@ export const tasksAndDecisionsPlugin = ({
|
|
|
35
35
|
config: {
|
|
36
36
|
allowNestedTasks,
|
|
37
37
|
consumeTabs,
|
|
38
|
-
useLongPressSelection
|
|
39
|
-
getEditorFeatureFlags
|
|
38
|
+
useLongPressSelection
|
|
40
39
|
} = {},
|
|
41
40
|
api
|
|
42
41
|
}) => {
|
|
@@ -134,7 +133,7 @@ export const tasksAndDecisionsPlugin = ({
|
|
|
134
133
|
id: 'action',
|
|
135
134
|
title: formatMessage(insertBlockMessages.action),
|
|
136
135
|
description: formatMessage(insertBlockMessages.actionDescription),
|
|
137
|
-
priority:
|
|
136
|
+
priority: 100,
|
|
138
137
|
keywords: ['checkbox', 'task', 'todo'],
|
|
139
138
|
keyshortcut: '[]',
|
|
140
139
|
icon: () => jsx(IconAction, null),
|
package/dist/esm/plugin.js
CHANGED
|
@@ -38,7 +38,6 @@ export var tasksAndDecisionsPlugin = function tasksAndDecisionsPlugin(_ref2) {
|
|
|
38
38
|
allowNestedTasks = _ref2$config2.allowNestedTasks,
|
|
39
39
|
consumeTabs = _ref2$config2.consumeTabs,
|
|
40
40
|
useLongPressSelection = _ref2$config2.useLongPressSelection,
|
|
41
|
-
getEditorFeatureFlags = _ref2$config2.getEditorFeatureFlags,
|
|
42
41
|
api = _ref2.api;
|
|
43
42
|
var getIdentifierProvider = function getIdentifierProvider() {
|
|
44
43
|
var _api$contextIdentifie;
|
|
@@ -131,7 +130,7 @@ export var tasksAndDecisionsPlugin = function tasksAndDecisionsPlugin(_ref2) {
|
|
|
131
130
|
id: 'action',
|
|
132
131
|
title: formatMessage(insertBlockMessages.action),
|
|
133
132
|
description: formatMessage(insertBlockMessages.actionDescription),
|
|
134
|
-
priority:
|
|
133
|
+
priority: 100,
|
|
135
134
|
keywords: ['checkbox', 'task', 'todo'],
|
|
136
135
|
keyshortcut: '[]',
|
|
137
136
|
icon: function icon() {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DecisionItemDefinition, TaskItemDefinition } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { INPUT_METHOD, USER_CONTEXT } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import type {
|
|
4
|
+
import type { LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
6
6
|
import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
|
|
7
7
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
@@ -29,7 +29,6 @@ export type AddItemTransactionCreator = (opts: {
|
|
|
29
29
|
export interface TaskDecisionPluginOptions extends LongPressSelectionPluginOptions {
|
|
30
30
|
allowNestedTasks?: boolean;
|
|
31
31
|
consumeTabs?: boolean;
|
|
32
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
33
32
|
}
|
|
34
33
|
export type TaskAndDecisionsSharedState = {
|
|
35
34
|
focusedTaskItemLocalId: string | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DecisionItemDefinition, TaskItemDefinition } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { INPUT_METHOD, USER_CONTEXT } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import type {
|
|
4
|
+
import type { LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
6
6
|
import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
|
|
7
7
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
@@ -29,7 +29,6 @@ export type AddItemTransactionCreator = (opts: {
|
|
|
29
29
|
export interface TaskDecisionPluginOptions extends LongPressSelectionPluginOptions {
|
|
30
30
|
allowNestedTasks?: boolean;
|
|
31
31
|
consumeTabs?: boolean;
|
|
32
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
33
32
|
}
|
|
34
33
|
export type TaskAndDecisionsSharedState = {
|
|
35
34
|
focusedTaskItemLocalId: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^
|
|
36
|
+
"@atlaskit/adf-schema": "^39.0.3",
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^6.10.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
39
|
-
"@atlaskit/editor-common": "^
|
|
39
|
+
"@atlaskit/editor-common": "^84.0.0",
|
|
40
40
|
"@atlaskit/editor-plugin-analytics": "^1.4.0",
|
|
41
41
|
"@atlaskit/editor-plugin-context-identifier": "^1.1.0",
|
|
42
42
|
"@atlaskit/editor-plugin-type-ahead": "^1.4.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@af/integration-testing": "*",
|
|
56
56
|
"@af/visual-regression": "*",
|
|
57
|
-
"@atlaskit/platform-feature-flags": "^0.
|
|
57
|
+
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
58
58
|
"@atlaskit/ssr": "*",
|
|
59
59
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
60
60
|
"@atlaskit/visual-regression": "*",
|