@atlaskit/editor-plugin-tasks-and-decisions 13.1.8 → 13.1.9
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,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 13.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9ea3b02135766`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9ea3b02135766) -
|
|
8
|
+
EDITOR-5613: Remove flexible list variants and consolidate into base list types.
|
|
9
|
+
|
|
10
|
+
The `listItem` and `taskList` node specs now natively support the flexible content model (allowing
|
|
11
|
+
lists as first child of listItem, and nested taskLists without requiring taskItem first). The
|
|
12
|
+
separate `listItemWithFlexibleFirstChildStage0` and `taskListWithFlexibleFirstChildStage0`
|
|
13
|
+
variants have been removed from public exports — the flexible behavior is now the default for all
|
|
14
|
+
schema stages. Consumers importing these removed exports should switch to `listItem` / `taskList`.
|
|
15
|
+
|
|
16
|
+
This is a schema simplification: the flexible content spec is a strict superset of the old
|
|
17
|
+
restrictive spec, so all previously valid content remains valid.
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 13.1.8
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -173,7 +173,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
|
|
|
173
173
|
node: (0, _decisionItem.decisionItemSpecWithFixedToDOM)()
|
|
174
174
|
}, {
|
|
175
175
|
name: 'taskList',
|
|
176
|
-
node:
|
|
176
|
+
node: _adfSchema.taskList
|
|
177
177
|
}, {
|
|
178
178
|
name: 'taskItem',
|
|
179
179
|
node: (0, _taskItemNodeSpec.taskItemNodeSpec)()
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./tasksAndDecisionsPlugin.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { decisionList, taskList
|
|
5
|
+
import { decisionList, taskList } from '@atlaskit/adf-schema';
|
|
6
6
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
7
7
|
import { TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_MENU_SECTION_RANK, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM } from '@atlaskit/editor-common/block-menu';
|
|
8
8
|
import { MAX_INDENTATION_LEVEL } from '@atlaskit/editor-common/indentation';
|
|
@@ -161,7 +161,7 @@ export const tasksAndDecisionsPlugin = ({
|
|
|
161
161
|
node: decisionItemSpecWithFixedToDOM()
|
|
162
162
|
}, {
|
|
163
163
|
name: 'taskList',
|
|
164
|
-
node:
|
|
164
|
+
node: taskList
|
|
165
165
|
}, {
|
|
166
166
|
name: 'taskItem',
|
|
167
167
|
node: taskItemNodeSpec()
|
|
@@ -5,7 +5,7 @@ import "./tasksAndDecisionsPlugin.compiled.css";
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
|
-
import { decisionList, taskList
|
|
8
|
+
import { decisionList, taskList } from '@atlaskit/adf-schema';
|
|
9
9
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
10
10
|
import { TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_MENU_SECTION_RANK, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM } from '@atlaskit/editor-common/block-menu';
|
|
11
11
|
import { MAX_INDENTATION_LEVEL } from '@atlaskit/editor-common/indentation';
|
|
@@ -164,7 +164,7 @@ export var tasksAndDecisionsPlugin = function tasksAndDecisionsPlugin(_ref3) {
|
|
|
164
164
|
node: decisionItemSpecWithFixedToDOM()
|
|
165
165
|
}, {
|
|
166
166
|
name: 'taskList',
|
|
167
|
-
node:
|
|
167
|
+
node: taskList
|
|
168
168
|
}, {
|
|
169
169
|
name: 'taskItem',
|
|
170
170
|
node: taskItemNodeSpec()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.9",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^52.
|
|
32
|
+
"@atlaskit/adf-schema": "^52.7.0",
|
|
33
33
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
34
34
|
"@atlaskit/css": "^0.19.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|