@atlaskit/editor-plugin-tasks-and-decisions 9.1.12 → 9.1.13
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 9.1.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`43d1dfc88c1de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/43d1dfc88c1de) -
|
|
8
|
+
Clean up platform_editor_block_menu_format_rank_revised
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 9.1.12
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -21,7 +21,6 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
21
21
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
22
22
|
var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
|
|
23
23
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
24
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
25
24
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
26
25
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
27
26
|
var _taskItemNodeSpec = require("./nodeviews/taskItemNodeSpec");
|
|
@@ -133,7 +132,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
|
|
|
133
132
|
parent: {
|
|
134
133
|
type: 'block-menu-section',
|
|
135
134
|
key: _blockMenu.NESTED_FORMAT_MENU_SECTION.key,
|
|
136
|
-
rank:
|
|
135
|
+
rank: _blockMenu.FORMAT_NESTED_MENU_RANK[_blockMenu.FORMAT_TASK_LIST_MENU_ITEM.key]
|
|
137
136
|
},
|
|
138
137
|
component: function component() {
|
|
139
138
|
return /*#__PURE__*/React.createElement(_TaskListBlockMenuItem.TaskListBlockMenuItem, {
|
|
@@ -4,13 +4,12 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { decisionList, taskList } from '@atlaskit/adf-schema';
|
|
6
6
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
7
|
-
import { FORMAT_TASK_LIST_MENU_ITEM, FORMAT_NESTED_MENU_RANK,
|
|
7
|
+
import { FORMAT_TASK_LIST_MENU_ITEM, FORMAT_NESTED_MENU_RANK, NESTED_FORMAT_MENU_SECTION } from '@atlaskit/editor-common/block-menu';
|
|
8
8
|
import { MAX_INDENTATION_LEVEL } from '@atlaskit/editor-common/indentation';
|
|
9
9
|
import { toolbarInsertBlockMessages as insertBlockMessages } from '@atlaskit/editor-common/messages';
|
|
10
10
|
import { IconAction, IconDecision } from '@atlaskit/editor-common/quick-insert';
|
|
11
11
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
12
12
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
14
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
16
15
|
import { taskItemNodeSpec, blockTaskItemNodeSpec } from './nodeviews/taskItemNodeSpec';
|
|
@@ -121,7 +120,7 @@ export const tasksAndDecisionsPlugin = ({
|
|
|
121
120
|
parent: {
|
|
122
121
|
type: 'block-menu-section',
|
|
123
122
|
key: NESTED_FORMAT_MENU_SECTION.key,
|
|
124
|
-
rank:
|
|
123
|
+
rank: FORMAT_NESTED_MENU_RANK[FORMAT_TASK_LIST_MENU_ITEM.key]
|
|
125
124
|
},
|
|
126
125
|
component: () => /*#__PURE__*/React.createElement(TaskListBlockMenuItem, {
|
|
127
126
|
api: api
|
|
@@ -7,13 +7,12 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
8
|
import { decisionList, taskList } from '@atlaskit/adf-schema';
|
|
9
9
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
10
|
-
import { FORMAT_TASK_LIST_MENU_ITEM, FORMAT_NESTED_MENU_RANK,
|
|
10
|
+
import { FORMAT_TASK_LIST_MENU_ITEM, FORMAT_NESTED_MENU_RANK, NESTED_FORMAT_MENU_SECTION } from '@atlaskit/editor-common/block-menu';
|
|
11
11
|
import { MAX_INDENTATION_LEVEL } from '@atlaskit/editor-common/indentation';
|
|
12
12
|
import { toolbarInsertBlockMessages as insertBlockMessages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import { IconAction, IconDecision } from '@atlaskit/editor-common/quick-insert';
|
|
14
14
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
15
15
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
16
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
16
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
17
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
19
18
|
import { taskItemNodeSpec, blockTaskItemNodeSpec } from './nodeviews/taskItemNodeSpec';
|
|
@@ -124,7 +123,7 @@ export var tasksAndDecisionsPlugin = function tasksAndDecisionsPlugin(_ref3) {
|
|
|
124
123
|
parent: {
|
|
125
124
|
type: 'block-menu-section',
|
|
126
125
|
key: NESTED_FORMAT_MENU_SECTION.key,
|
|
127
|
-
rank:
|
|
126
|
+
rank: FORMAT_NESTED_MENU_RANK[FORMAT_TASK_LIST_MENU_ITEM.key]
|
|
128
127
|
},
|
|
129
128
|
component: function component() {
|
|
130
129
|
return /*#__PURE__*/React.createElement(TaskListBlockMenuItem, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.13",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/primitives": "^16.3.0",
|
|
52
52
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
53
53
|
"@atlaskit/task-decision": "^19.2.0",
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^13.43.0",
|
|
55
55
|
"@atlaskit/tokens": "^8.3.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
57
57
|
"@compiled/react": "^0.18.6",
|
|
@@ -110,9 +110,6 @@
|
|
|
110
110
|
"platform_editor_blocktaskitem_patch_2": {
|
|
111
111
|
"type": "boolean"
|
|
112
112
|
},
|
|
113
|
-
"platform_editor_block_menu_format_rank_revised": {
|
|
114
|
-
"type": "boolean"
|
|
115
|
-
},
|
|
116
113
|
"platform_editor_blocktaskitem_patch_3": {
|
|
117
114
|
"type": "boolean"
|
|
118
115
|
}
|