@atlaskit/editor-plugin-tasks-and-decisions 5.1.6 → 5.1.8
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/dist/cjs/nodeviews/DecisionItemVanilla.js +15 -1
- package/dist/cjs/nodeviews/TaskItemNodeView.js +31 -1
- package/dist/cjs/nodeviews/decisionItemNodeSpec.js +12 -8
- package/dist/cjs/nodeviews/taskItemNodeSpec.js +13 -2
- package/dist/es2019/nodeviews/DecisionItemVanilla.js +17 -1
- package/dist/es2019/nodeviews/TaskItemNodeView.js +31 -1
- package/dist/es2019/nodeviews/decisionItemNodeSpec.js +9 -8
- package/dist/es2019/nodeviews/taskItemNodeSpec.js +13 -1
- package/dist/esm/nodeviews/DecisionItemVanilla.js +16 -1
- package/dist/esm/nodeviews/TaskItemNodeView.js +31 -1
- package/dist/esm/nodeviews/decisionItemNodeSpec.js +11 -8
- package/dist/esm/nodeviews/taskItemNodeSpec.js +13 -2
- package/dist/types/nodeviews/DecisionItemVanilla.d.ts +14 -0
- package/dist/types/nodeviews/TaskItemNodeView.d.ts +28 -0
- package/dist/types/nodeviews/decisionItemNodeSpec.d.ts +10 -6
- package/dist/types/nodeviews/taskItemNodeSpec.d.ts +7 -0
- package/dist/types-ts4.5/nodeviews/DecisionItemVanilla.d.ts +14 -0
- package/dist/types-ts4.5/nodeviews/TaskItemNodeView.d.ts +28 -0
- package/dist/types-ts4.5/nodeviews/decisionItemNodeSpec.d.ts +9 -9
- package/dist/types-ts4.5/nodeviews/taskItemNodeSpec.d.ts +7 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 5.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#155371](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155371)
|
|
8
|
+
[`aa4cc4f8ecc24`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aa4cc4f8ecc24) -
|
|
9
|
+
remove redundant placeholder update in task and decision node view's constructor
|
|
10
|
+
|
|
11
|
+
## 5.1.7
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#155113](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155113)
|
|
16
|
+
[`ffa6a5dcea79b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ffa6a5dcea79b) -
|
|
17
|
+
fix task placehoder on ssr
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 5.1.6
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -10,7 +10,16 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
12
12
|
var _decisionItemNodeSpec = require("./decisionItemNodeSpec");
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
13
16
|
var DecisionItemVanilla = exports.DecisionItemVanilla = /*#__PURE__*/function () {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @param node
|
|
20
|
+
* @param intl
|
|
21
|
+
* @example
|
|
22
|
+
*/
|
|
14
23
|
function DecisionItemVanilla(node, intl) {
|
|
15
24
|
(0, _classCallCheck2.default)(this, DecisionItemVanilla);
|
|
16
25
|
(0, _defineProperty2.default)(this, "hasChildren", undefined);
|
|
@@ -20,8 +29,13 @@ var DecisionItemVanilla = exports.DecisionItemVanilla = /*#__PURE__*/function ()
|
|
|
20
29
|
contentDOM = _DOMSerializer$render.contentDOM;
|
|
21
30
|
this.dom = dom;
|
|
22
31
|
this.contentDOM = contentDOM;
|
|
23
|
-
this.updateHasChildren(node);
|
|
24
32
|
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @param node
|
|
37
|
+
* @example
|
|
38
|
+
*/
|
|
25
39
|
return (0, _createClass2.default)(DecisionItemVanilla, [{
|
|
26
40
|
key: "updateHasChildren",
|
|
27
41
|
value: function updateHasChildren(node) {
|
|
@@ -14,7 +14,21 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
14
14
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
15
15
|
var _helpers = require("../pm-plugins/helpers");
|
|
16
16
|
var _taskItemNodeSpec = require("./taskItemNodeSpec");
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
17
20
|
var TaskItemNodeView = exports.TaskItemNodeView = /*#__PURE__*/function () {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @param node
|
|
24
|
+
* @param view
|
|
25
|
+
* @param getPos
|
|
26
|
+
* @param root0
|
|
27
|
+
* @param root0.api
|
|
28
|
+
* @param root0.placeholder
|
|
29
|
+
* @param root0.intl
|
|
30
|
+
* @example
|
|
31
|
+
*/
|
|
18
32
|
function TaskItemNodeView(node, view, getPos, _ref) {
|
|
19
33
|
var _this = this;
|
|
20
34
|
var api = _ref.api,
|
|
@@ -93,7 +107,6 @@ var TaskItemNodeView = exports.TaskItemNodeView = /*#__PURE__*/function () {
|
|
|
93
107
|
listener: this.handleOnChange
|
|
94
108
|
}]);
|
|
95
109
|
this.objectId = this.getObjectAri();
|
|
96
|
-
this.updatePlaceholder(node);
|
|
97
110
|
}
|
|
98
111
|
}
|
|
99
112
|
return (0, _createClass2.default)(TaskItemNodeView, [{
|
|
@@ -128,6 +141,12 @@ var TaskItemNodeView = exports.TaskItemNodeView = /*#__PURE__*/function () {
|
|
|
128
141
|
(_this$contentDOM = this.contentDOM) === null || _this$contentDOM === void 0 || _this$contentDOM.toggleAttribute('data-empty', currentIsContentEmpty);
|
|
129
142
|
}
|
|
130
143
|
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @param node
|
|
148
|
+
* @example
|
|
149
|
+
*/
|
|
131
150
|
}, {
|
|
132
151
|
key: "update",
|
|
133
152
|
value: function update(node) {
|
|
@@ -144,6 +163,12 @@ var TaskItemNodeView = exports.TaskItemNodeView = /*#__PURE__*/function () {
|
|
|
144
163
|
this.node = node;
|
|
145
164
|
return true;
|
|
146
165
|
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @param mutation
|
|
170
|
+
* @example
|
|
171
|
+
*/
|
|
147
172
|
}, {
|
|
148
173
|
key: "ignoreMutation",
|
|
149
174
|
value: function ignoreMutation(mutation) {
|
|
@@ -152,6 +177,11 @@ var TaskItemNodeView = exports.TaskItemNodeView = /*#__PURE__*/function () {
|
|
|
152
177
|
}
|
|
153
178
|
return !this.contentDOM.contains(mutation.target) && mutation.type !== 'selection';
|
|
154
179
|
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
*/
|
|
155
185
|
}, {
|
|
156
186
|
key: "destroy",
|
|
157
187
|
value: function destroy() {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.decisionItemToDOM = void 0;
|
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
7
9
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
10
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
12
|
// This value can be a fixed constant as it doesn't depend on runtime values or arguments.
|
|
9
13
|
var iconDOM = ['span', {
|
|
10
14
|
contentEditable: false,
|
|
@@ -34,14 +38,10 @@ var iconDOM = ['span', {
|
|
|
34
38
|
'fill-rule': 'evenodd',
|
|
35
39
|
d: 'm13.97.97-4.5 4.5 1.06 1.06 4.5-4.5zM3.56 2.5H8V1H1.75a.75.75 0 0 0-.75.75V8h1.5V3.56l4.604 4.604a.5.5 0 0 1 .146.354V15h1.5V8.518a2 2 0 0 0-.586-1.414z'
|
|
36
40
|
}]]]];
|
|
37
|
-
|
|
38
|
-
// This value can be a fixed constant as it doesn't depend on runtime values or arguments.
|
|
39
|
-
var contentDOM = ['div', {
|
|
40
|
-
'data-component': 'content'
|
|
41
|
-
}, ['div', {
|
|
42
|
-
class: 'decision-item'
|
|
43
|
-
}, 0]];
|
|
44
41
|
var decisionItemToDOM = exports.decisionItemToDOM = function decisionItemToDOM(node, intl) {
|
|
42
|
+
var contentDomDataAttrs = node.childCount > 0 ? {} : {
|
|
43
|
+
'data-empty': 'true'
|
|
44
|
+
};
|
|
45
45
|
return ['li', {
|
|
46
46
|
'data-decision-local-id': node.attrs.localId || 'local-decision',
|
|
47
47
|
'data-decision-state': node.attrs.state,
|
|
@@ -57,5 +57,9 @@ var decisionItemToDOM = exports.decisionItemToDOM = function decisionItemToDOM(n
|
|
|
57
57
|
'data-testid': 'task-decision-item-placeholder',
|
|
58
58
|
'data-component': 'placeholder',
|
|
59
59
|
contentEditable: false
|
|
60
|
-
}, intl.formatMessage(_messages.tasksAndDecisionsMessages.decisionPlaceholder)],
|
|
60
|
+
}, intl.formatMessage(_messages.tasksAndDecisionsMessages.decisionPlaceholder)], ['div', {
|
|
61
|
+
'data-component': 'content'
|
|
62
|
+
}, ['div', _objectSpread({
|
|
63
|
+
class: 'decision-item'
|
|
64
|
+
}, contentDomDataAttrs), 0]]]];
|
|
61
65
|
};
|
|
@@ -18,6 +18,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
18
18
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
19
19
|
* @nodeSpecException:toDOM patch
|
|
20
20
|
* @returns
|
|
21
|
+
* @example
|
|
21
22
|
*/
|
|
22
23
|
var taskItemNodeSpec = exports.taskItemNodeSpec = function taskItemNodeSpec() {
|
|
23
24
|
if ((0, _experiments.editorExperiment)('platform_editor_exp_lazy_node_views', false)) {
|
|
@@ -29,6 +30,13 @@ var taskItemNodeSpec = exports.taskItemNodeSpec = function taskItemNodeSpec() {
|
|
|
29
30
|
}
|
|
30
31
|
});
|
|
31
32
|
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @param node
|
|
37
|
+
* @param placeholder
|
|
38
|
+
* @example
|
|
39
|
+
*/
|
|
32
40
|
function taskItemToDom(node, placeholder) {
|
|
33
41
|
var checked = node.attrs.state === 'DONE';
|
|
34
42
|
var inputAttrs = {
|
|
@@ -45,6 +53,9 @@ function taskItemToDom(node, placeholder) {
|
|
|
45
53
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
46
54
|
'data-prosemirror-node-name': 'taskItem'
|
|
47
55
|
};
|
|
56
|
+
var contentDomDataAttrs = node.content.childCount > 0 ? {} : {
|
|
57
|
+
'data-empty': 'true'
|
|
58
|
+
};
|
|
48
59
|
return ['div', _objectSpread(_objectSpread({
|
|
49
60
|
class: "".concat(_styles.TaskDecisionSharedCssClassName.TASK_CONTAINER)
|
|
50
61
|
}, dataAttrs), {}, {
|
|
@@ -98,9 +109,9 @@ function taskItemToDom(node, placeholder) {
|
|
|
98
109
|
contenteditable: 'false'
|
|
99
110
|
}, placeholder], ['div', {
|
|
100
111
|
'data-component': 'content'
|
|
101
|
-
}, ['div', {
|
|
112
|
+
}, ['div', _objectSpread({
|
|
102
113
|
class: _styles.TaskDecisionSharedCssClassName.TASK_ITEM
|
|
103
|
-
}, 0]]]];
|
|
114
|
+
}, contentDomDataAttrs), 0]]]];
|
|
104
115
|
}
|
|
105
116
|
var lazyTaskItemToDom = exports.lazyTaskItemToDom = function lazyTaskItemToDom(node) {
|
|
106
117
|
var checked = node.attrs.state === 'DONE';
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { decisionItemToDOM } from './decisionItemNodeSpec';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
4
8
|
export class DecisionItemVanilla {
|
|
5
9
|
updateHasChildren(node) {
|
|
6
10
|
const currentlyHasChildren = node.childCount > 0;
|
|
@@ -11,6 +15,13 @@ export class DecisionItemVanilla {
|
|
|
11
15
|
}
|
|
12
16
|
return this.hasChildren;
|
|
13
17
|
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @param node
|
|
22
|
+
* @param intl
|
|
23
|
+
* @example
|
|
24
|
+
*/
|
|
14
25
|
constructor(node, intl) {
|
|
15
26
|
_defineProperty(this, "hasChildren", undefined);
|
|
16
27
|
const spec = decisionItemToDOM(node, intl);
|
|
@@ -20,8 +31,13 @@ export class DecisionItemVanilla {
|
|
|
20
31
|
} = DOMSerializer.renderSpec(document, spec);
|
|
21
32
|
this.dom = dom;
|
|
22
33
|
this.contentDOM = contentDOM;
|
|
23
|
-
this.updateHasChildren(node);
|
|
24
34
|
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @param node
|
|
39
|
+
* @example
|
|
40
|
+
*/
|
|
25
41
|
update(node) {
|
|
26
42
|
this.updateHasChildren(node);
|
|
27
43
|
return true;
|
|
@@ -5,7 +5,21 @@ import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
|
5
5
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
6
6
|
import { openRequestEditPopupAt } from '../pm-plugins/helpers';
|
|
7
7
|
import { taskItemToDom } from './taskItemNodeSpec';
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
8
11
|
export class TaskItemNodeView {
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @param node
|
|
15
|
+
* @param view
|
|
16
|
+
* @param getPos
|
|
17
|
+
* @param root0
|
|
18
|
+
* @param root0.api
|
|
19
|
+
* @param root0.placeholder
|
|
20
|
+
* @param root0.intl
|
|
21
|
+
* @example
|
|
22
|
+
*/
|
|
9
23
|
constructor(node, view, getPos, {
|
|
10
24
|
api,
|
|
11
25
|
placeholder,
|
|
@@ -87,7 +101,6 @@ export class TaskItemNodeView {
|
|
|
87
101
|
listener: this.handleOnChange
|
|
88
102
|
}]);
|
|
89
103
|
this.objectId = this.getObjectAri();
|
|
90
|
-
this.updatePlaceholder(node);
|
|
91
104
|
}
|
|
92
105
|
}
|
|
93
106
|
getContextIdentifierProvider() {
|
|
@@ -114,6 +127,12 @@ export class TaskItemNodeView {
|
|
|
114
127
|
(_this$contentDOM = this.contentDOM) === null || _this$contentDOM === void 0 ? void 0 : _this$contentDOM.toggleAttribute('data-empty', currentIsContentEmpty);
|
|
115
128
|
}
|
|
116
129
|
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @param node
|
|
134
|
+
* @example
|
|
135
|
+
*/
|
|
117
136
|
update(node) {
|
|
118
137
|
const isValidUpdate = node.type === this.node.type && !!(node.attrs.state === this.node.attrs.state);
|
|
119
138
|
if (!isValidUpdate) {
|
|
@@ -128,12 +147,23 @@ export class TaskItemNodeView {
|
|
|
128
147
|
this.node = node;
|
|
129
148
|
return true;
|
|
130
149
|
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @param mutation
|
|
154
|
+
* @example
|
|
155
|
+
*/
|
|
131
156
|
ignoreMutation(mutation) {
|
|
132
157
|
if (!this.contentDOM) {
|
|
133
158
|
return true;
|
|
134
159
|
}
|
|
135
160
|
return !this.contentDOM.contains(mutation.target) && mutation.type !== 'selection';
|
|
136
161
|
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
*/
|
|
137
167
|
destroy() {
|
|
138
168
|
if (this.unbindInputDom) {
|
|
139
169
|
this.unbindInputDom();
|
|
@@ -28,14 +28,10 @@ const iconDOM = ['span', {
|
|
|
28
28
|
'fill-rule': 'evenodd',
|
|
29
29
|
d: 'm13.97.97-4.5 4.5 1.06 1.06 4.5-4.5zM3.56 2.5H8V1H1.75a.75.75 0 0 0-.75.75V8h1.5V3.56l4.604 4.604a.5.5 0 0 1 .146.354V15h1.5V8.518a2 2 0 0 0-.586-1.414z'
|
|
30
30
|
}]]]];
|
|
31
|
-
|
|
32
|
-
// This value can be a fixed constant as it doesn't depend on runtime values or arguments.
|
|
33
|
-
const contentDOM = ['div', {
|
|
34
|
-
'data-component': 'content'
|
|
35
|
-
}, ['div', {
|
|
36
|
-
class: 'decision-item'
|
|
37
|
-
}, 0]];
|
|
38
31
|
export const decisionItemToDOM = (node, intl) => {
|
|
32
|
+
const contentDomDataAttrs = node.childCount > 0 ? {} : {
|
|
33
|
+
'data-empty': 'true'
|
|
34
|
+
};
|
|
39
35
|
return ['li', {
|
|
40
36
|
'data-decision-local-id': node.attrs.localId || 'local-decision',
|
|
41
37
|
'data-decision-state': node.attrs.state,
|
|
@@ -51,5 +47,10 @@ export const decisionItemToDOM = (node, intl) => {
|
|
|
51
47
|
'data-testid': 'task-decision-item-placeholder',
|
|
52
48
|
'data-component': 'placeholder',
|
|
53
49
|
contentEditable: false
|
|
54
|
-
}, intl.formatMessage(tasksAndDecisionsMessages.decisionPlaceholder)],
|
|
50
|
+
}, intl.formatMessage(tasksAndDecisionsMessages.decisionPlaceholder)], ['div', {
|
|
51
|
+
'data-component': 'content'
|
|
52
|
+
}, ['div', {
|
|
53
|
+
class: 'decision-item',
|
|
54
|
+
...contentDomDataAttrs
|
|
55
|
+
}, 0]]]];
|
|
55
56
|
};
|
|
@@ -7,6 +7,7 @@ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
|
7
7
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
8
8
|
* @nodeSpecException:toDOM patch
|
|
9
9
|
* @returns
|
|
10
|
+
* @example
|
|
10
11
|
*/
|
|
11
12
|
export const taskItemNodeSpec = () => {
|
|
12
13
|
if (editorExperiment('platform_editor_exp_lazy_node_views', false)) {
|
|
@@ -17,6 +18,13 @@ export const taskItemNodeSpec = () => {
|
|
|
17
18
|
toDOM: node => lazyTaskItemToDom(node)
|
|
18
19
|
};
|
|
19
20
|
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @param node
|
|
25
|
+
* @param placeholder
|
|
26
|
+
* @example
|
|
27
|
+
*/
|
|
20
28
|
export function taskItemToDom(node, placeholder) {
|
|
21
29
|
const checked = node.attrs.state === 'DONE';
|
|
22
30
|
const inputAttrs = {
|
|
@@ -33,6 +41,9 @@ export function taskItemToDom(node, placeholder) {
|
|
|
33
41
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
34
42
|
'data-prosemirror-node-name': 'taskItem'
|
|
35
43
|
};
|
|
44
|
+
const contentDomDataAttrs = node.content.childCount > 0 ? {} : {
|
|
45
|
+
'data-empty': 'true'
|
|
46
|
+
};
|
|
36
47
|
return ['div', {
|
|
37
48
|
class: `${TaskDecisionSharedCssClassName.TASK_CONTAINER}`,
|
|
38
49
|
...dataAttrs,
|
|
@@ -88,7 +99,8 @@ export function taskItemToDom(node, placeholder) {
|
|
|
88
99
|
}, placeholder], ['div', {
|
|
89
100
|
'data-component': 'content'
|
|
90
101
|
}, ['div', {
|
|
91
|
-
class: TaskDecisionSharedCssClassName.TASK_ITEM
|
|
102
|
+
class: TaskDecisionSharedCssClassName.TASK_ITEM,
|
|
103
|
+
...contentDomDataAttrs
|
|
92
104
|
}, 0]]]];
|
|
93
105
|
}
|
|
94
106
|
export const lazyTaskItemToDom = node => {
|
|
@@ -3,7 +3,17 @@ import _createClass from "@babel/runtime/helpers/createClass";
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import { decisionItemToDOM } from './decisionItemNodeSpec';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
6
10
|
export var DecisionItemVanilla = /*#__PURE__*/function () {
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param node
|
|
14
|
+
* @param intl
|
|
15
|
+
* @example
|
|
16
|
+
*/
|
|
7
17
|
function DecisionItemVanilla(node, intl) {
|
|
8
18
|
_classCallCheck(this, DecisionItemVanilla);
|
|
9
19
|
_defineProperty(this, "hasChildren", undefined);
|
|
@@ -13,8 +23,13 @@ export var DecisionItemVanilla = /*#__PURE__*/function () {
|
|
|
13
23
|
contentDOM = _DOMSerializer$render.contentDOM;
|
|
14
24
|
this.dom = dom;
|
|
15
25
|
this.contentDOM = contentDOM;
|
|
16
|
-
this.updateHasChildren(node);
|
|
17
26
|
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param node
|
|
31
|
+
* @example
|
|
32
|
+
*/
|
|
18
33
|
return _createClass(DecisionItemVanilla, [{
|
|
19
34
|
key: "updateHasChildren",
|
|
20
35
|
value: function updateHasChildren(node) {
|
|
@@ -7,7 +7,21 @@ import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
|
7
7
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
8
8
|
import { openRequestEditPopupAt } from '../pm-plugins/helpers';
|
|
9
9
|
import { taskItemToDom } from './taskItemNodeSpec';
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
10
13
|
export var TaskItemNodeView = /*#__PURE__*/function () {
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @param node
|
|
17
|
+
* @param view
|
|
18
|
+
* @param getPos
|
|
19
|
+
* @param root0
|
|
20
|
+
* @param root0.api
|
|
21
|
+
* @param root0.placeholder
|
|
22
|
+
* @param root0.intl
|
|
23
|
+
* @example
|
|
24
|
+
*/
|
|
11
25
|
function TaskItemNodeView(node, view, getPos, _ref) {
|
|
12
26
|
var _this = this;
|
|
13
27
|
var api = _ref.api,
|
|
@@ -86,7 +100,6 @@ export var TaskItemNodeView = /*#__PURE__*/function () {
|
|
|
86
100
|
listener: this.handleOnChange
|
|
87
101
|
}]);
|
|
88
102
|
this.objectId = this.getObjectAri();
|
|
89
|
-
this.updatePlaceholder(node);
|
|
90
103
|
}
|
|
91
104
|
}
|
|
92
105
|
return _createClass(TaskItemNodeView, [{
|
|
@@ -121,6 +134,12 @@ export var TaskItemNodeView = /*#__PURE__*/function () {
|
|
|
121
134
|
(_this$contentDOM = this.contentDOM) === null || _this$contentDOM === void 0 || _this$contentDOM.toggleAttribute('data-empty', currentIsContentEmpty);
|
|
122
135
|
}
|
|
123
136
|
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @param node
|
|
141
|
+
* @example
|
|
142
|
+
*/
|
|
124
143
|
}, {
|
|
125
144
|
key: "update",
|
|
126
145
|
value: function update(node) {
|
|
@@ -137,6 +156,12 @@ export var TaskItemNodeView = /*#__PURE__*/function () {
|
|
|
137
156
|
this.node = node;
|
|
138
157
|
return true;
|
|
139
158
|
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @param mutation
|
|
163
|
+
* @example
|
|
164
|
+
*/
|
|
140
165
|
}, {
|
|
141
166
|
key: "ignoreMutation",
|
|
142
167
|
value: function ignoreMutation(mutation) {
|
|
@@ -145,6 +170,11 @@ export var TaskItemNodeView = /*#__PURE__*/function () {
|
|
|
145
170
|
}
|
|
146
171
|
return !this.contentDOM.contains(mutation.target) && mutation.type !== 'selection';
|
|
147
172
|
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
*/
|
|
148
178
|
}, {
|
|
149
179
|
key: "destroy",
|
|
150
180
|
value: function destroy() {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1
4
|
import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
2
5
|
// This value can be a fixed constant as it doesn't depend on runtime values or arguments.
|
|
3
6
|
var iconDOM = ['span', {
|
|
@@ -28,14 +31,10 @@ var iconDOM = ['span', {
|
|
|
28
31
|
'fill-rule': 'evenodd',
|
|
29
32
|
d: 'm13.97.97-4.5 4.5 1.06 1.06 4.5-4.5zM3.56 2.5H8V1H1.75a.75.75 0 0 0-.75.75V8h1.5V3.56l4.604 4.604a.5.5 0 0 1 .146.354V15h1.5V8.518a2 2 0 0 0-.586-1.414z'
|
|
30
33
|
}]]]];
|
|
31
|
-
|
|
32
|
-
// This value can be a fixed constant as it doesn't depend on runtime values or arguments.
|
|
33
|
-
var contentDOM = ['div', {
|
|
34
|
-
'data-component': 'content'
|
|
35
|
-
}, ['div', {
|
|
36
|
-
class: 'decision-item'
|
|
37
|
-
}, 0]];
|
|
38
34
|
export var decisionItemToDOM = function decisionItemToDOM(node, intl) {
|
|
35
|
+
var contentDomDataAttrs = node.childCount > 0 ? {} : {
|
|
36
|
+
'data-empty': 'true'
|
|
37
|
+
};
|
|
39
38
|
return ['li', {
|
|
40
39
|
'data-decision-local-id': node.attrs.localId || 'local-decision',
|
|
41
40
|
'data-decision-state': node.attrs.state,
|
|
@@ -51,5 +50,9 @@ export var decisionItemToDOM = function decisionItemToDOM(node, intl) {
|
|
|
51
50
|
'data-testid': 'task-decision-item-placeholder',
|
|
52
51
|
'data-component': 'placeholder',
|
|
53
52
|
contentEditable: false
|
|
54
|
-
}, intl.formatMessage(tasksAndDecisionsMessages.decisionPlaceholder)],
|
|
53
|
+
}, intl.formatMessage(tasksAndDecisionsMessages.decisionPlaceholder)], ['div', {
|
|
54
|
+
'data-component': 'content'
|
|
55
|
+
}, ['div', _objectSpread({
|
|
56
|
+
class: 'decision-item'
|
|
57
|
+
}, contentDomDataAttrs), 0]]]];
|
|
55
58
|
};
|
|
@@ -10,6 +10,7 @@ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
|
10
10
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
11
11
|
* @nodeSpecException:toDOM patch
|
|
12
12
|
* @returns
|
|
13
|
+
* @example
|
|
13
14
|
*/
|
|
14
15
|
export var taskItemNodeSpec = function taskItemNodeSpec() {
|
|
15
16
|
if (editorExperiment('platform_editor_exp_lazy_node_views', false)) {
|
|
@@ -21,6 +22,13 @@ export var taskItemNodeSpec = function taskItemNodeSpec() {
|
|
|
21
22
|
}
|
|
22
23
|
});
|
|
23
24
|
};
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @param node
|
|
29
|
+
* @param placeholder
|
|
30
|
+
* @example
|
|
31
|
+
*/
|
|
24
32
|
export function taskItemToDom(node, placeholder) {
|
|
25
33
|
var checked = node.attrs.state === 'DONE';
|
|
26
34
|
var inputAttrs = {
|
|
@@ -37,6 +45,9 @@ export function taskItemToDom(node, placeholder) {
|
|
|
37
45
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
38
46
|
'data-prosemirror-node-name': 'taskItem'
|
|
39
47
|
};
|
|
48
|
+
var contentDomDataAttrs = node.content.childCount > 0 ? {} : {
|
|
49
|
+
'data-empty': 'true'
|
|
50
|
+
};
|
|
40
51
|
return ['div', _objectSpread(_objectSpread({
|
|
41
52
|
class: "".concat(TaskDecisionSharedCssClassName.TASK_CONTAINER)
|
|
42
53
|
}, dataAttrs), {}, {
|
|
@@ -90,9 +101,9 @@ export function taskItemToDom(node, placeholder) {
|
|
|
90
101
|
contenteditable: 'false'
|
|
91
102
|
}, placeholder], ['div', {
|
|
92
103
|
'data-component': 'content'
|
|
93
|
-
}, ['div', {
|
|
104
|
+
}, ['div', _objectSpread({
|
|
94
105
|
class: TaskDecisionSharedCssClassName.TASK_ITEM
|
|
95
|
-
}, 0]]]];
|
|
106
|
+
}, contentDomDataAttrs), 0]]]];
|
|
96
107
|
}
|
|
97
108
|
export var lazyTaskItemToDom = function lazyTaskItemToDom(node) {
|
|
98
109
|
var checked = node.attrs.state === 'DONE';
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
import { IntlShape } from 'react-intl-next';
|
|
2
2
|
import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
4
7
|
export declare class DecisionItemVanilla implements NodeView {
|
|
5
8
|
dom: Node;
|
|
6
9
|
contentDOM?: HTMLElement;
|
|
7
10
|
private hasChildren;
|
|
8
11
|
private updateHasChildren;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @param node
|
|
15
|
+
* @param intl
|
|
16
|
+
* @example
|
|
17
|
+
*/
|
|
9
18
|
constructor(node: PMNode, intl: IntlShape);
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @param node
|
|
22
|
+
* @example
|
|
23
|
+
*/
|
|
10
24
|
update(node: PMNode): boolean;
|
|
11
25
|
}
|
|
@@ -9,6 +9,9 @@ interface TaskItemNodeViewOptions {
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
intl: IntlShape;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
12
15
|
export declare class TaskItemNodeView implements NodeView {
|
|
13
16
|
dom: Node;
|
|
14
17
|
domElement: HTMLElement | undefined;
|
|
@@ -22,6 +25,17 @@ export declare class TaskItemNodeView implements NodeView {
|
|
|
22
25
|
private unbindInputDom;
|
|
23
26
|
private emptyContent;
|
|
24
27
|
private input?;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param node
|
|
31
|
+
* @param view
|
|
32
|
+
* @param getPos
|
|
33
|
+
* @param root0
|
|
34
|
+
* @param root0.api
|
|
35
|
+
* @param root0.placeholder
|
|
36
|
+
* @param root0.intl
|
|
37
|
+
* @example
|
|
38
|
+
*/
|
|
25
39
|
constructor(node: PMNode, view: EditorView, getPos: getPosHandlerNode, { api, placeholder, intl }: TaskItemNodeViewOptions);
|
|
26
40
|
private getContextIdentifierProvider;
|
|
27
41
|
private getObjectAri;
|
|
@@ -29,11 +43,25 @@ export declare class TaskItemNodeView implements NodeView {
|
|
|
29
43
|
private handleOnChange;
|
|
30
44
|
private isContentEmpty;
|
|
31
45
|
private updatePlaceholder;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @param node
|
|
49
|
+
* @example
|
|
50
|
+
*/
|
|
32
51
|
update(node: PMNode): boolean;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @param mutation
|
|
55
|
+
* @example
|
|
56
|
+
*/
|
|
33
57
|
ignoreMutation(mutation: MutationRecord | {
|
|
34
58
|
type: 'selection';
|
|
35
59
|
target: Node;
|
|
36
60
|
}): boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
*/
|
|
37
65
|
destroy(): void;
|
|
38
66
|
}
|
|
39
67
|
export {};
|
|
@@ -33,15 +33,19 @@ export declare const decisionItemToDOM: (node: PMNode, intl: IntlShape) => [stri
|
|
|
33
33
|
fill: string;
|
|
34
34
|
'fill-rule': string;
|
|
35
35
|
d: string;
|
|
36
|
-
})[])[])[]] |
|
|
37
|
-
'data-component': string;
|
|
38
|
-
}, (string | number | {
|
|
39
|
-
class: string;
|
|
40
|
-
})[]] | {
|
|
36
|
+
})[])[])[]] | {
|
|
41
37
|
'data-testid': string;
|
|
42
38
|
'data-decision-wrapper': boolean;
|
|
43
39
|
} | (string | {
|
|
44
40
|
'data-testid': string;
|
|
45
41
|
'data-component': string;
|
|
46
42
|
contentEditable: boolean;
|
|
47
|
-
})[]
|
|
43
|
+
})[] | (string | {
|
|
44
|
+
'data-component': string;
|
|
45
|
+
} | (string | number | {
|
|
46
|
+
'data-empty'?: undefined;
|
|
47
|
+
class: string;
|
|
48
|
+
} | {
|
|
49
|
+
'data-empty': string;
|
|
50
|
+
class: string;
|
|
51
|
+
})[])[])[]];
|
|
@@ -4,7 +4,14 @@ import type { DOMOutputSpec, Node as PMNode } from '@atlaskit/editor-prosemirror
|
|
|
4
4
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
5
5
|
* @nodeSpecException:toDOM patch
|
|
6
6
|
* @returns
|
|
7
|
+
* @example
|
|
7
8
|
*/
|
|
8
9
|
export declare const taskItemNodeSpec: () => import("prosemirror-model").NodeSpec;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @param node
|
|
13
|
+
* @param placeholder
|
|
14
|
+
* @example
|
|
15
|
+
*/
|
|
9
16
|
export declare function taskItemToDom(node: PMNode, placeholder: string): DOMOutputSpec;
|
|
10
17
|
export declare const lazyTaskItemToDom: (node: PMNode) => DOMOutputSpec;
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
import { IntlShape } from 'react-intl-next';
|
|
2
2
|
import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
4
7
|
export declare class DecisionItemVanilla implements NodeView {
|
|
5
8
|
dom: Node;
|
|
6
9
|
contentDOM?: HTMLElement;
|
|
7
10
|
private hasChildren;
|
|
8
11
|
private updateHasChildren;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @param node
|
|
15
|
+
* @param intl
|
|
16
|
+
* @example
|
|
17
|
+
*/
|
|
9
18
|
constructor(node: PMNode, intl: IntlShape);
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @param node
|
|
22
|
+
* @example
|
|
23
|
+
*/
|
|
10
24
|
update(node: PMNode): boolean;
|
|
11
25
|
}
|
|
@@ -9,6 +9,9 @@ interface TaskItemNodeViewOptions {
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
intl: IntlShape;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
12
15
|
export declare class TaskItemNodeView implements NodeView {
|
|
13
16
|
dom: Node;
|
|
14
17
|
domElement: HTMLElement | undefined;
|
|
@@ -22,6 +25,17 @@ export declare class TaskItemNodeView implements NodeView {
|
|
|
22
25
|
private unbindInputDom;
|
|
23
26
|
private emptyContent;
|
|
24
27
|
private input?;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param node
|
|
31
|
+
* @param view
|
|
32
|
+
* @param getPos
|
|
33
|
+
* @param root0
|
|
34
|
+
* @param root0.api
|
|
35
|
+
* @param root0.placeholder
|
|
36
|
+
* @param root0.intl
|
|
37
|
+
* @example
|
|
38
|
+
*/
|
|
25
39
|
constructor(node: PMNode, view: EditorView, getPos: getPosHandlerNode, { api, placeholder, intl }: TaskItemNodeViewOptions);
|
|
26
40
|
private getContextIdentifierProvider;
|
|
27
41
|
private getObjectAri;
|
|
@@ -29,11 +43,25 @@ export declare class TaskItemNodeView implements NodeView {
|
|
|
29
43
|
private handleOnChange;
|
|
30
44
|
private isContentEmpty;
|
|
31
45
|
private updatePlaceholder;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @param node
|
|
49
|
+
* @example
|
|
50
|
+
*/
|
|
32
51
|
update(node: PMNode): boolean;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @param mutation
|
|
55
|
+
* @example
|
|
56
|
+
*/
|
|
33
57
|
ignoreMutation(mutation: MutationRecord | {
|
|
34
58
|
type: 'selection';
|
|
35
59
|
target: Node;
|
|
36
60
|
}): boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
*/
|
|
37
65
|
destroy(): void;
|
|
38
66
|
}
|
|
39
67
|
export {};
|
|
@@ -40,14 +40,6 @@ export declare const decisionItemToDOM: (node: PMNode, intl: IntlShape) => [
|
|
|
40
40
|
'fill-rule': string;
|
|
41
41
|
d: string;
|
|
42
42
|
})[])[])[]
|
|
43
|
-
] | [
|
|
44
|
-
string,
|
|
45
|
-
{
|
|
46
|
-
'data-component': string;
|
|
47
|
-
},
|
|
48
|
-
(string | number | {
|
|
49
|
-
class: string;
|
|
50
|
-
})[]
|
|
51
43
|
] | {
|
|
52
44
|
'data-testid': string;
|
|
53
45
|
'data-decision-wrapper': boolean;
|
|
@@ -55,5 +47,13 @@ export declare const decisionItemToDOM: (node: PMNode, intl: IntlShape) => [
|
|
|
55
47
|
'data-testid': string;
|
|
56
48
|
'data-component': string;
|
|
57
49
|
contentEditable: boolean;
|
|
58
|
-
})[]
|
|
50
|
+
})[] | (string | {
|
|
51
|
+
'data-component': string;
|
|
52
|
+
} | (string | number | {
|
|
53
|
+
'data-empty'?: undefined;
|
|
54
|
+
class: string;
|
|
55
|
+
} | {
|
|
56
|
+
'data-empty': string;
|
|
57
|
+
class: string;
|
|
58
|
+
})[])[])[]
|
|
59
59
|
];
|
|
@@ -4,7 +4,14 @@ import type { DOMOutputSpec, Node as PMNode } from '@atlaskit/editor-prosemirror
|
|
|
4
4
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
5
5
|
* @nodeSpecException:toDOM patch
|
|
6
6
|
* @returns
|
|
7
|
+
* @example
|
|
7
8
|
*/
|
|
8
9
|
export declare const taskItemNodeSpec: () => import("prosemirror-model").NodeSpec;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @param node
|
|
13
|
+
* @param placeholder
|
|
14
|
+
* @example
|
|
15
|
+
*/
|
|
9
16
|
export declare function taskItemToDom(node: PMNode, placeholder: string): DOMOutputSpec;
|
|
10
17
|
export declare const lazyTaskItemToDom: (node: PMNode) => DOMOutputSpec;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.8",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,21 +37,21 @@
|
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
39
39
|
"@atlaskit/css": "^0.10.0",
|
|
40
|
-
"@atlaskit/editor-common": "^105.
|
|
41
|
-
"@atlaskit/editor-plugin-analytics": "^2.
|
|
40
|
+
"@atlaskit/editor-common": "^105.3.0",
|
|
41
|
+
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
42
42
|
"@atlaskit/editor-plugin-context-identifier": "^2.1.0",
|
|
43
43
|
"@atlaskit/editor-plugin-editor-viewmode": "^3.1.0",
|
|
44
|
-
"@atlaskit/editor-plugin-type-ahead": "^2.
|
|
44
|
+
"@atlaskit/editor-plugin-type-ahead": "^2.7.0",
|
|
45
45
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
46
46
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
47
47
|
"@atlaskit/heading": "^5.2.0",
|
|
48
48
|
"@atlaskit/icon": "^26.0.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
|
-
"@atlaskit/popup": "^4.
|
|
50
|
+
"@atlaskit/popup": "^4.2.0",
|
|
51
51
|
"@atlaskit/primitives": "^14.7.0",
|
|
52
52
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
53
53
|
"@atlaskit/task-decision": "^19.2.0",
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^4.22.0",
|
|
55
55
|
"@atlaskit/tokens": "^4.8.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
57
57
|
"@compiled/react": "^0.18.3",
|