@atlaskit/editor-plugin-tasks-and-decisions 10.1.26 → 10.1.28
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 10.1.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`aeb46591ec80a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aeb46591ec80a) -
|
|
8
|
+
[ux] EDITOR-5627 flexible task list indentation adf schema updates
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 10.1.27
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 10.1.26
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -176,7 +176,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
|
|
|
176
176
|
node: (0, _decisionItem.decisionItemSpecWithFixedToDOM)()
|
|
177
177
|
}, {
|
|
178
178
|
name: 'taskList',
|
|
179
|
-
node: _adfSchema.taskList
|
|
179
|
+
node: (0, _expValEquals.expValEquals)('platform_editor_flexible_list_indentation', 'isEnabled', true) ? _adfSchema.taskListWithFlexibleFirstChildStage0 : _adfSchema.taskList
|
|
180
180
|
}, {
|
|
181
181
|
name: 'taskItem',
|
|
182
182
|
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 } from '@atlaskit/adf-schema';
|
|
5
|
+
import { decisionList, taskList, taskListWithFlexibleFirstChildStage0 } 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';
|
|
@@ -164,7 +164,7 @@ export const tasksAndDecisionsPlugin = ({
|
|
|
164
164
|
node: decisionItemSpecWithFixedToDOM()
|
|
165
165
|
}, {
|
|
166
166
|
name: 'taskList',
|
|
167
|
-
node: taskList
|
|
167
|
+
node: expValEquals('platform_editor_flexible_list_indentation', 'isEnabled', true) ? taskListWithFlexibleFirstChildStage0 : taskList
|
|
168
168
|
}, {
|
|
169
169
|
name: 'taskItem',
|
|
170
170
|
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 } from '@atlaskit/adf-schema';
|
|
8
|
+
import { decisionList, taskList, taskListWithFlexibleFirstChildStage0 } 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';
|
|
@@ -167,7 +167,7 @@ export var tasksAndDecisionsPlugin = function tasksAndDecisionsPlugin(_ref3) {
|
|
|
167
167
|
node: decisionItemSpecWithFixedToDOM()
|
|
168
168
|
}, {
|
|
169
169
|
name: 'taskList',
|
|
170
|
-
node: taskList
|
|
170
|
+
node: expValEquals('platform_editor_flexible_list_indentation', 'isEnabled', true) ? taskListWithFlexibleFirstChildStage0 : taskList
|
|
171
171
|
}, {
|
|
172
172
|
name: 'taskItem',
|
|
173
173
|
node: taskItemNodeSpec()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.28",
|
|
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.1.0",
|
|
33
33
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
34
34
|
"@atlaskit/css": "^0.19.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/primitives": "^18.0.0",
|
|
50
50
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
51
51
|
"@atlaskit/task-decision": "^19.2.0",
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^32.3.0",
|
|
53
53
|
"@atlaskit/tokens": "^11.0.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^0.18.6",
|