@atlaskit/editor-core 189.3.29 → 189.3.31
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 +13 -0
- package/dist/cjs/plugins/index.js +0 -7
- package/dist/cjs/presets/universal.js +2 -1
- package/dist/cjs/utils/document.js +0 -6
- package/dist/cjs/utils/index.js +0 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/plugins/index.js +0 -1
- package/dist/es2019/presets/universal.js +2 -1
- package/dist/es2019/utils/document.js +1 -1
- package/dist/es2019/utils/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/plugins/index.js +0 -1
- package/dist/esm/presets/universal.js +2 -1
- package/dist/esm/utils/document.js +1 -1
- package/dist/esm/utils/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/plugins/index.d.ts +0 -1
- package/dist/types/plugins/insert-block/types.d.ts +2 -2
- package/dist/types/plugins/toolbar-lists-indentation/index.d.ts +2 -2
- package/dist/types/utils/document.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/index.d.ts +0 -1
- package/dist/types-ts4.5/plugins/insert-block/types.d.ts +2 -2
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +2 -2
- package/dist/types-ts4.5/utils/document.d.ts +1 -1
- package/dist/types-ts4.5/utils/index.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cjs/plugins/tasks-and-decisions/commands.js +0 -288
- package/dist/cjs/plugins/tasks-and-decisions/index.js +0 -166
- package/dist/cjs/plugins/tasks-and-decisions/nodeviews/decisionItem.js +0 -117
- package/dist/cjs/plugins/tasks-and-decisions/nodeviews/hooks/use-show-placeholder.js +0 -40
- package/dist/cjs/plugins/tasks-and-decisions/nodeviews/taskItem.js +0 -211
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/commands.js +0 -96
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/helpers.js +0 -299
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/input-rules.js +0 -94
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/keymaps.js +0 -376
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/main.js +0 -263
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/plugin-key.js +0 -8
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/types.js +0 -11
- package/dist/cjs/plugins/tasks-and-decisions/types.js +0 -5
- package/dist/cjs/plugins/tasks-and-decisions/ui/Decision/index.js +0 -51
- package/dist/cjs/plugins/tasks-and-decisions/ui/Task/index.js +0 -80
- package/dist/cjs/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +0 -137
- package/dist/cjs/plugins/tasks-and-decisions/ui/ToolbarDecision/index.js +0 -76
- package/dist/cjs/plugins/tasks-and-decisions/ui/ToolbarTask/index.js +0 -75
- package/dist/cjs/plugins/tasks-and-decisions/utils.js +0 -41
- package/dist/es2019/plugins/tasks-and-decisions/commands.js +0 -279
- package/dist/es2019/plugins/tasks-and-decisions/index.js +0 -155
- package/dist/es2019/plugins/tasks-and-decisions/nodeviews/decisionItem.js +0 -76
- package/dist/es2019/plugins/tasks-and-decisions/nodeviews/hooks/use-show-placeholder.js +0 -36
- package/dist/es2019/plugins/tasks-and-decisions/nodeviews/taskItem.js +0 -173
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/commands.js +0 -94
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/helpers.js +0 -316
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/input-rules.js +0 -91
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/keymaps.js +0 -370
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/main.js +0 -262
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/plugin-key.js +0 -2
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/types.js +0 -5
- package/dist/es2019/plugins/tasks-and-decisions/types.js +0 -1
- package/dist/es2019/plugins/tasks-and-decisions/ui/Decision/index.js +0 -30
- package/dist/es2019/plugins/tasks-and-decisions/ui/Task/index.js +0 -54
- package/dist/es2019/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +0 -71
- package/dist/es2019/plugins/tasks-and-decisions/ui/ToolbarDecision/index.js +0 -52
- package/dist/es2019/plugins/tasks-and-decisions/ui/ToolbarTask/index.js +0 -51
- package/dist/es2019/plugins/tasks-and-decisions/utils.js +0 -32
- package/dist/esm/plugins/tasks-and-decisions/commands.js +0 -281
- package/dist/esm/plugins/tasks-and-decisions/index.js +0 -156
- package/dist/esm/plugins/tasks-and-decisions/nodeviews/decisionItem.js +0 -110
- package/dist/esm/plugins/tasks-and-decisions/nodeviews/hooks/use-show-placeholder.js +0 -34
- package/dist/esm/plugins/tasks-and-decisions/nodeviews/taskItem.js +0 -204
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/commands.js +0 -90
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/helpers.js +0 -285
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/input-rules.js +0 -87
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/keymaps.js +0 -368
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/main.js +0 -256
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/plugin-key.js +0 -2
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/types.js +0 -5
- package/dist/esm/plugins/tasks-and-decisions/types.js +0 -1
- package/dist/esm/plugins/tasks-and-decisions/ui/Decision/index.js +0 -44
- package/dist/esm/plugins/tasks-and-decisions/ui/Task/index.js +0 -70
- package/dist/esm/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +0 -128
- package/dist/esm/plugins/tasks-and-decisions/ui/ToolbarDecision/index.js +0 -66
- package/dist/esm/plugins/tasks-and-decisions/ui/ToolbarTask/index.js +0 -65
- package/dist/esm/plugins/tasks-and-decisions/utils.js +0 -30
- package/dist/types/plugins/tasks-and-decisions/commands.d.ts +0 -16
- package/dist/types/plugins/tasks-and-decisions/index.d.ts +0 -3
- package/dist/types/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +0 -10
- package/dist/types/plugins/tasks-and-decisions/nodeviews/hooks/use-show-placeholder.d.ts +0 -11
- package/dist/types/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +0 -14
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +0 -15
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +0 -76
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +0 -6
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +0 -11
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/main.d.ts +0 -7
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +0 -2
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/types.d.ts +0 -8
- package/dist/types/plugins/tasks-and-decisions/types.d.ts +0 -49
- package/dist/types/plugins/tasks-and-decisions/ui/Decision/index.d.ts +0 -14
- package/dist/types/plugins/tasks-and-decisions/ui/Task/index.d.ts +0 -28
- package/dist/types/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +0 -29
- package/dist/types/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +0 -23
- package/dist/types/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +0 -23
- package/dist/types/plugins/tasks-and-decisions/utils.d.ts +0 -4
- package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +0 -16
- package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +0 -10
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/hooks/use-show-placeholder.d.ts +0 -11
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +0 -14
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +0 -15
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +0 -76
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +0 -6
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +0 -11
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +0 -7
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +0 -2
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/types.d.ts +0 -8
- package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +0 -49
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Decision/index.d.ts +0 -14
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/index.d.ts +0 -28
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +0 -29
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +0 -23
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +0 -23
- package/dist/types-ts4.5/plugins/tasks-and-decisions/utils.d.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 189.3.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#43419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43419) [`27726a80705`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27726a80705) - [ux] Updated borders and added grid lines in datasource tables.
|
|
8
|
+
|
|
9
|
+
## 189.3.30
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#43405](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43405) [`150827259db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/150827259db) - Extracting tasks and decisions code from editor-core to new plugin package.
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 189.3.29
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -112,12 +112,6 @@ Object.defineProperty(exports, "pastePlugin", {
|
|
|
112
112
|
return _paste.default;
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
Object.defineProperty(exports, "tasksAndDecisionsPlugin", {
|
|
116
|
-
enumerable: true,
|
|
117
|
-
get: function get() {
|
|
118
|
-
return _tasksAndDecisions.default;
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
115
|
Object.defineProperty(exports, "toolbarListsIndentationPlugin", {
|
|
122
116
|
enumerable: true,
|
|
123
117
|
get: function get() {
|
|
@@ -143,7 +137,6 @@ var _insertBlock = _interopRequireDefault(require("./insert-block"));
|
|
|
143
137
|
var _jiraIssue = _interopRequireDefault(require("./jira-issue"));
|
|
144
138
|
var _toolbarListsIndentation = _interopRequireDefault(require("./toolbar-lists-indentation"));
|
|
145
139
|
var _paste = _interopRequireDefault(require("./paste"));
|
|
146
|
-
var _tasksAndDecisions = _interopRequireDefault(require("./tasks-and-decisions"));
|
|
147
140
|
var _breakout = _interopRequireDefault(require("./breakout"));
|
|
148
141
|
var _alignment = _interopRequireDefault(require("./alignment"));
|
|
149
142
|
var _dataConsumer = _interopRequireDefault(require("./data-consumer"));
|
|
@@ -9,6 +9,7 @@ exports.isExpandInsertionEnabled = isExpandInsertionEnabled;
|
|
|
9
9
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _plugins = require("../plugins");
|
|
12
|
+
var _editorPluginTasksAndDecisions = require("@atlaskit/editor-plugin-tasks-and-decisions");
|
|
12
13
|
var _editorPluginPanel = require("@atlaskit/editor-plugin-panel");
|
|
13
14
|
var _editorPluginTextColor = require("@atlaskit/editor-plugin-text-color");
|
|
14
15
|
var _editorPluginHistory = require("@atlaskit/editor-plugin-history");
|
|
@@ -184,7 +185,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
184
185
|
}]);
|
|
185
186
|
}
|
|
186
187
|
return builder;
|
|
187
|
-
}).maybeAdd(
|
|
188
|
+
}).maybeAdd(_editorPluginTasksAndDecisions.tasksAndDecisionsPlugin, function (plugin, builder) {
|
|
188
189
|
if (props.allowTasksAndDecisions || props.taskDecisionProvider) {
|
|
189
190
|
return builder.add([plugin, {
|
|
190
191
|
allowNestedTasks: props.allowNestedTasks,
|
|
@@ -4,12 +4,6 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
Object.defineProperty(exports, "findFarthestParentNode", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _utils.findFarthestParentNode;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
7
|
exports.getChildBreakoutModes = getChildBreakoutModes;
|
|
14
8
|
exports.getNodesCount = getNodesCount;
|
|
15
9
|
Object.defineProperty(exports, "isInEmptyLine", {
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -16,12 +16,6 @@ Object.defineProperty(exports, "checkNodeDown", {
|
|
|
16
16
|
return _utils2.checkNodeDown;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.defineProperty(exports, "findFarthestParentNode", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function get() {
|
|
22
|
-
return _document.findFarthestParentNode;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
19
|
Object.defineProperty(exports, "getNodesCount", {
|
|
26
20
|
enumerable: true,
|
|
27
21
|
get: function get() {
|
|
@@ -5,7 +5,6 @@ export { default as insertBlockPlugin } from './insert-block';
|
|
|
5
5
|
export { default as jiraIssuePlugin } from './jira-issue';
|
|
6
6
|
export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
|
|
7
7
|
export { default as pastePlugin } from './paste';
|
|
8
|
-
export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
|
|
9
8
|
export { default as breakoutPlugin } from './breakout';
|
|
10
9
|
export { default as alignmentPlugin } from './alignment';
|
|
11
10
|
export { default as dataConsumerMarkPlugin } from './data-consumer';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, extensionPlugin, insertBlockPlugin, jiraIssuePlugin, toolbarListsIndentationPlugin,
|
|
1
|
+
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, extensionPlugin, insertBlockPlugin, jiraIssuePlugin, toolbarListsIndentationPlugin, alignmentPlugin, customAutoformatPlugin, feedbackDialogPlugin, mobileDimensionsPlugin, findReplacePlugin, mobileSelectionPlugin, annotationPlugin, avatarGroupPlugin, viewUpdateSubscriptionPlugin, beforePrimaryToolbarPlugin, codeBidiWarningPlugin } from '../plugins';
|
|
2
|
+
import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
2
3
|
import { panelPlugin } from '@atlaskit/editor-plugin-panel';
|
|
3
4
|
import { textColorPlugin } from '@atlaskit/editor-plugin-text-color';
|
|
4
5
|
import { historyPlugin } from '@atlaskit/editor-plugin-history';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { getBreakoutMode } from './node-width';
|
|
3
3
|
import { processRawValue, getStepRange } from '@atlaskit/editor-common/utils';
|
|
4
|
-
export {
|
|
4
|
+
export { isInEmptyLine } from '@atlaskit/editor-common/utils';
|
|
5
5
|
export function processRawFragmentValue(schema, value, providerFactory, sanitizePrivateContent, contentTransformer, dispatchAnalyticsEvent) {
|
|
6
6
|
if (!value) {
|
|
7
7
|
return;
|
|
@@ -2,7 +2,7 @@ import { toggleMark } from '@atlaskit/editor-prosemirror/commands';
|
|
|
2
2
|
import { hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
3
3
|
export { isEmptyNode, isSelectionInsideLastNodeInDocument, checkNodeDown, insideTableCell, isInListItem, toJSON, nodeToJSON } from '@atlaskit/editor-common/utils';
|
|
4
4
|
export { insideTable } from '@atlaskit/editor-common/core-utils';
|
|
5
|
-
export {
|
|
5
|
+
export { nodesBetweenChanged, getNodesCount } from './document';
|
|
6
6
|
export { isParagraph, isText, isLinkMark } from './nodes';
|
|
7
7
|
export { setNodeSelection, setTextSelection } from './selection';
|
|
8
8
|
export { default as measurements } from './performance/measure-enum';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "189.3.
|
|
2
|
+
export const version = "189.3.31";
|
|
@@ -5,7 +5,6 @@ export { default as insertBlockPlugin } from './insert-block';
|
|
|
5
5
|
export { default as jiraIssuePlugin } from './jira-issue';
|
|
6
6
|
export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
|
|
7
7
|
export { default as pastePlugin } from './paste';
|
|
8
|
-
export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
|
|
9
8
|
export { default as breakoutPlugin } from './breakout';
|
|
10
9
|
export { default as alignmentPlugin } from './alignment';
|
|
11
10
|
export { default as dataConsumerMarkPlugin } from './data-consumer';
|
|
@@ -2,7 +2,8 @@ import _typeof from "@babel/runtime/helpers/typeof";
|
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
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; }
|
|
4
4
|
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; }
|
|
5
|
-
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, extensionPlugin, insertBlockPlugin, jiraIssuePlugin, toolbarListsIndentationPlugin,
|
|
5
|
+
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, extensionPlugin, insertBlockPlugin, jiraIssuePlugin, toolbarListsIndentationPlugin, alignmentPlugin, customAutoformatPlugin, feedbackDialogPlugin, mobileDimensionsPlugin, findReplacePlugin, mobileSelectionPlugin, annotationPlugin, avatarGroupPlugin, viewUpdateSubscriptionPlugin, beforePrimaryToolbarPlugin, codeBidiWarningPlugin } from '../plugins';
|
|
6
|
+
import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
6
7
|
import { panelPlugin } from '@atlaskit/editor-plugin-panel';
|
|
7
8
|
import { textColorPlugin } from '@atlaskit/editor-plugin-text-color';
|
|
8
9
|
import { historyPlugin } from '@atlaskit/editor-plugin-history';
|
|
@@ -2,7 +2,7 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
|
2
2
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { getBreakoutMode } from './node-width';
|
|
4
4
|
import { processRawValue, getStepRange } from '@atlaskit/editor-common/utils';
|
|
5
|
-
export {
|
|
5
|
+
export { isInEmptyLine } from '@atlaskit/editor-common/utils';
|
|
6
6
|
export function processRawFragmentValue(schema, value, providerFactory, sanitizePrivateContent, contentTransformer, dispatchAnalyticsEvent) {
|
|
7
7
|
if (!value) {
|
|
8
8
|
return;
|
package/dist/esm/utils/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { toggleMark } from '@atlaskit/editor-prosemirror/commands';
|
|
|
2
2
|
import { hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
3
3
|
export { isEmptyNode, isSelectionInsideLastNodeInDocument, checkNodeDown, insideTableCell, isInListItem, toJSON, nodeToJSON } from '@atlaskit/editor-common/utils';
|
|
4
4
|
export { insideTable } from '@atlaskit/editor-common/core-utils';
|
|
5
|
-
export {
|
|
5
|
+
export { nodesBetweenChanged, getNodesCount } from './document';
|
|
6
6
|
export { isParagraph, isText, isLinkMark } from './nodes';
|
|
7
7
|
export { setNodeSelection, setTextSelection } from './selection';
|
|
8
8
|
export { default as measurements } from './performance/measure-enum';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "189.3.
|
|
2
|
+
export var version = "189.3.31";
|
|
@@ -5,7 +5,6 @@ export { default as insertBlockPlugin } from './insert-block';
|
|
|
5
5
|
export { default as jiraIssuePlugin } from './jira-issue';
|
|
6
6
|
export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
|
|
7
7
|
export { default as pastePlugin } from './paste';
|
|
8
|
-
export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
|
|
9
8
|
export { default as breakoutPlugin } from './breakout';
|
|
10
9
|
export { default as alignmentPlugin } from './alignment';
|
|
11
10
|
export { default as dataConsumerMarkPlugin } from './data-consumer';
|
|
@@ -19,7 +19,7 @@ import type { MentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
|
19
19
|
import type { StatusPlugin } from '@atlaskit/editor-plugin-status';
|
|
20
20
|
import type { PlaceholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
21
21
|
import type { ExpandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
22
|
-
import type {
|
|
22
|
+
import type { TasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
23
23
|
export type InsertBlockPluginDependencies = [
|
|
24
24
|
FeatureFlagsPlugin,
|
|
25
25
|
TypeAheadPlugin,
|
|
@@ -41,5 +41,5 @@ export type InsertBlockPluginDependencies = [
|
|
|
41
41
|
OptionalPlugin<ExpandPlugin>,
|
|
42
42
|
OptionalPlugin<PlaceholderTextPlugin>,
|
|
43
43
|
OptionalPlugin<ExtensionPlugin>,
|
|
44
|
-
OptionalPlugin<
|
|
44
|
+
OptionalPlugin<TasksAndDecisionsPlugin>
|
|
45
45
|
];
|
|
@@ -6,7 +6,7 @@ import type { ListPlugin } from '@atlaskit/editor-plugin-list';
|
|
|
6
6
|
import type { ToolbarUiComponentFactoryParams } from '../../types';
|
|
7
7
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { IndentationPlugin } from '@atlaskit/editor-plugin-indentation';
|
|
9
|
-
import type {
|
|
9
|
+
import type { TasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
10
10
|
type Config = {
|
|
11
11
|
showIndentationButtons: boolean;
|
|
12
12
|
allowHeadingAndParagraphIndentation: boolean;
|
|
@@ -17,7 +17,7 @@ type ToolbarListsIndentationPlugin = NextEditorPlugin<'toolbarListsIndentation',
|
|
|
17
17
|
FeatureFlagsPlugin,
|
|
18
18
|
ListPlugin,
|
|
19
19
|
OptionalPlugin<IndentationPlugin>,
|
|
20
|
-
OptionalPlugin<
|
|
20
|
+
OptionalPlugin<TasksAndDecisionsPlugin>,
|
|
21
21
|
OptionalPlugin<AnalyticsPlugin>
|
|
22
22
|
];
|
|
23
23
|
}>;
|
|
@@ -5,7 +5,7 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
|
5
5
|
import type { Transformer, ReplaceRawValue } from '@atlaskit/editor-common/types';
|
|
6
6
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
7
7
|
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
8
|
-
export {
|
|
8
|
+
export { isInEmptyLine } from '@atlaskit/editor-common/utils';
|
|
9
9
|
export declare function processRawFragmentValue(schema: Schema, value?: ReplaceRawValue[], providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean, contentTransformer?: Transformer<string>, dispatchAnalyticsEvent?: DispatchAnalyticsEvent): Fragment | undefined;
|
|
10
10
|
export type ChangedFn = (node: Node, pos: number, parent: Node | null, index: number) => boolean | void;
|
|
11
11
|
export declare function nodesBetweenChanged(tr: Transaction | ReadonlyTransaction, f: ChangedFn, startPos?: number): void;
|
|
@@ -3,7 +3,7 @@ import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
|
3
3
|
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
4
|
export { isEmptyNode, isSelectionInsideLastNodeInDocument, checkNodeDown, insideTableCell, isInListItem, toJSON, nodeToJSON, } from '@atlaskit/editor-common/utils';
|
|
5
5
|
export { insideTable } from '@atlaskit/editor-common/core-utils';
|
|
6
|
-
export {
|
|
6
|
+
export { nodesBetweenChanged, getNodesCount } from './document';
|
|
7
7
|
export { isParagraph, isText, isLinkMark } from './nodes';
|
|
8
8
|
export { setNodeSelection, setTextSelection } from './selection';
|
|
9
9
|
export type { JSONDocNode };
|
|
@@ -5,7 +5,6 @@ export { default as insertBlockPlugin } from './insert-block';
|
|
|
5
5
|
export { default as jiraIssuePlugin } from './jira-issue';
|
|
6
6
|
export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
|
|
7
7
|
export { default as pastePlugin } from './paste';
|
|
8
|
-
export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
|
|
9
8
|
export { default as breakoutPlugin } from './breakout';
|
|
10
9
|
export { default as alignmentPlugin } from './alignment';
|
|
11
10
|
export { default as dataConsumerMarkPlugin } from './data-consumer';
|
|
@@ -19,7 +19,7 @@ import type { MentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
|
19
19
|
import type { StatusPlugin } from '@atlaskit/editor-plugin-status';
|
|
20
20
|
import type { PlaceholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
21
21
|
import type { ExpandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
22
|
-
import type {
|
|
22
|
+
import type { TasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
23
23
|
export type InsertBlockPluginDependencies = [
|
|
24
24
|
FeatureFlagsPlugin,
|
|
25
25
|
TypeAheadPlugin,
|
|
@@ -41,5 +41,5 @@ export type InsertBlockPluginDependencies = [
|
|
|
41
41
|
OptionalPlugin<ExpandPlugin>,
|
|
42
42
|
OptionalPlugin<PlaceholderTextPlugin>,
|
|
43
43
|
OptionalPlugin<ExtensionPlugin>,
|
|
44
|
-
OptionalPlugin<
|
|
44
|
+
OptionalPlugin<TasksAndDecisionsPlugin>
|
|
45
45
|
];
|
|
@@ -6,7 +6,7 @@ import type { ListPlugin } from '@atlaskit/editor-plugin-list';
|
|
|
6
6
|
import type { ToolbarUiComponentFactoryParams } from '../../types';
|
|
7
7
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { IndentationPlugin } from '@atlaskit/editor-plugin-indentation';
|
|
9
|
-
import type {
|
|
9
|
+
import type { TasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
10
10
|
type Config = {
|
|
11
11
|
showIndentationButtons: boolean;
|
|
12
12
|
allowHeadingAndParagraphIndentation: boolean;
|
|
@@ -17,7 +17,7 @@ type ToolbarListsIndentationPlugin = NextEditorPlugin<'toolbarListsIndentation',
|
|
|
17
17
|
FeatureFlagsPlugin,
|
|
18
18
|
ListPlugin,
|
|
19
19
|
OptionalPlugin<IndentationPlugin>,
|
|
20
|
-
OptionalPlugin<
|
|
20
|
+
OptionalPlugin<TasksAndDecisionsPlugin>,
|
|
21
21
|
OptionalPlugin<AnalyticsPlugin>
|
|
22
22
|
];
|
|
23
23
|
}>;
|
|
@@ -5,7 +5,7 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
|
5
5
|
import type { Transformer, ReplaceRawValue } from '@atlaskit/editor-common/types';
|
|
6
6
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
7
7
|
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
8
|
-
export {
|
|
8
|
+
export { isInEmptyLine } from '@atlaskit/editor-common/utils';
|
|
9
9
|
export declare function processRawFragmentValue(schema: Schema, value?: ReplaceRawValue[], providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean, contentTransformer?: Transformer<string>, dispatchAnalyticsEvent?: DispatchAnalyticsEvent): Fragment | undefined;
|
|
10
10
|
export type ChangedFn = (node: Node, pos: number, parent: Node | null, index: number) => boolean | void;
|
|
11
11
|
export declare function nodesBetweenChanged(tr: Transaction | ReadonlyTransaction, f: ChangedFn, startPos?: number): void;
|
|
@@ -3,7 +3,7 @@ import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
|
3
3
|
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
4
|
export { isEmptyNode, isSelectionInsideLastNodeInDocument, checkNodeDown, insideTableCell, isInListItem, toJSON, nodeToJSON, } from '@atlaskit/editor-common/utils';
|
|
5
5
|
export { insideTable } from '@atlaskit/editor-common/core-utils';
|
|
6
|
-
export {
|
|
6
|
+
export { nodesBetweenChanged, getNodesCount } from './document';
|
|
7
7
|
export { isParagraph, isText, isLinkMark } from './nodes';
|
|
8
8
|
export { setNodeSelection, setTextSelection } from './selection';
|
|
9
9
|
export type { JSONDocNode };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "189.3.
|
|
3
|
+
"version": "189.3.31",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/checkbox": "^13.0.0",
|
|
52
52
|
"@atlaskit/code": "^14.6.0",
|
|
53
53
|
"@atlaskit/date": "^0.10.0",
|
|
54
|
-
"@atlaskit/datetime-picker": "^
|
|
54
|
+
"@atlaskit/datetime-picker": "^13.0.0",
|
|
55
55
|
"@atlaskit/editor-common": "^76.22.0",
|
|
56
56
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
57
57
|
"@atlaskit/editor-markdown-transformer": "^5.2.5",
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
"@atlaskit/editor-plugin-status": "^0.2.0",
|
|
105
105
|
"@atlaskit/editor-plugin-submit-editor": "^0.1.0",
|
|
106
106
|
"@atlaskit/editor-plugin-table": "^5.3.0",
|
|
107
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^0.2.0",
|
|
107
108
|
"@atlaskit/editor-plugin-text-color": "^0.1.0",
|
|
108
109
|
"@atlaskit/editor-plugin-text-formatting": "^0.4.0",
|
|
109
110
|
"@atlaskit/editor-plugin-type-ahead": "^0.7.0",
|
|
@@ -115,7 +116,7 @@
|
|
|
115
116
|
"@atlaskit/emoji": "^67.6.0",
|
|
116
117
|
"@atlaskit/empty-state": "^7.6.0",
|
|
117
118
|
"@atlaskit/form": "^9.0.0",
|
|
118
|
-
"@atlaskit/icon": "^
|
|
119
|
+
"@atlaskit/icon": "^22.0.0",
|
|
119
120
|
"@atlaskit/logo": "^13.14.0",
|
|
120
121
|
"@atlaskit/media-card": "^77.4.0",
|
|
121
122
|
"@atlaskit/media-client": "^25.0.0",
|
|
@@ -123,7 +124,6 @@
|
|
|
123
124
|
"@atlaskit/mention": "^22.1.0",
|
|
124
125
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
125
126
|
"@atlaskit/prosemirror-collab": "^0.2.0",
|
|
126
|
-
"@atlaskit/prosemirror-input-rules": "^2.4.0",
|
|
127
127
|
"@atlaskit/radio": "^6.0.0",
|
|
128
128
|
"@atlaskit/section-message": "^6.4.0",
|
|
129
129
|
"@atlaskit/select": "^17.0.0",
|