@atlaskit/editor-core 187.45.0 → 187.45.3
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 +6 -0
- package/dist/cjs/plugins/type-ahead/api.js +2 -2
- package/dist/cjs/plugins/type-ahead/pm-plugins/reducer.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/plugins/type-ahead/api.js +1 -1
- package/dist/es2019/plugins/type-ahead/pm-plugins/reducer.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/plugins/type-ahead/api.js +1 -1
- package/dist/esm/plugins/type-ahead/pm-plugins/reducer.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.createTypeAheadTools = exports.createInternalTypeAheadTools = void 0;
|
|
7
7
|
var _typeAhead = require("@atlaskit/editor-common/type-ahead");
|
|
8
8
|
var _utils = require("./utils");
|
|
9
|
-
var
|
|
9
|
+
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
10
10
|
var _openTypeaheadAtCursor = require("./transforms/open-typeahead-at-cursor");
|
|
11
11
|
var _closeTypeAhead = require("./transforms/close-type-ahead");
|
|
12
12
|
var _updateQuery = require("./commands/update-query");
|
|
@@ -73,7 +73,7 @@ var search = function search(_ref3) {
|
|
|
73
73
|
}
|
|
74
74
|
open({
|
|
75
75
|
editorView: editorView
|
|
76
|
-
})(itemType)(
|
|
76
|
+
})(itemType)(_analytics.INPUT_METHOD.KEYBOARD);
|
|
77
77
|
(0, _updateQuery.updateQuery)(query)(editorView.state, editorView.dispatch);
|
|
78
78
|
var lastQuery = {
|
|
79
79
|
current: query
|
|
@@ -10,7 +10,7 @@ var _view = require("@atlaskit/editor-prosemirror/view");
|
|
|
10
10
|
var _steps = require("@atlaskit/adf-schema/steps");
|
|
11
11
|
var _actions = require("./actions");
|
|
12
12
|
var _key = require("./key");
|
|
13
|
-
var
|
|
13
|
+
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
14
14
|
var _utils = require("../utils");
|
|
15
15
|
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; }
|
|
16
16
|
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; }
|
|
@@ -94,7 +94,7 @@ var createReducer = function createReducer(_ref) {
|
|
|
94
94
|
return openMenu(currentPluginState, {
|
|
95
95
|
tr: tr,
|
|
96
96
|
triggerHandler: overrideHandler,
|
|
97
|
-
inputMethod:
|
|
97
|
+
inputMethod: _analytics.INPUT_METHOD.KEYBOARD,
|
|
98
98
|
reopenQuery: typeAheadStepOverride.query,
|
|
99
99
|
selectedIndex: typeAheadStepOverride.selectedIndex
|
|
100
100
|
});
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "187.45.
|
|
9
|
+
var version = "187.45.3";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypeAheadAvailableNodes, SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
2
2
|
import { findHandler, findHandlerByTrigger, isTypeAheadOpen, getTypeAheadHandler, getTypeAheadQuery } from './utils';
|
|
3
|
-
import { INPUT_METHOD } from '
|
|
3
|
+
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { openTypeAheadAtCursor, openTypeAhead } from './transforms/open-typeahead-at-cursor';
|
|
5
5
|
import { closeTypeAhead } from './transforms/close-type-ahead';
|
|
6
6
|
import { updateQuery } from './commands/update-query';
|
|
@@ -2,7 +2,7 @@ import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
|
2
2
|
import { InsertTypeAheadStep, InsertTypeAheadStages } from '@atlaskit/adf-schema/steps';
|
|
3
3
|
import { ACTIONS } from './actions';
|
|
4
4
|
import { pluginKey } from './key';
|
|
5
|
-
import { INPUT_METHOD } from '
|
|
5
|
+
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
6
6
|
import { isTypeAheadHandler } from '../utils';
|
|
7
7
|
const shouldForceOpen = step => {
|
|
8
8
|
if (!(step instanceof InsertTypeAheadStep)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypeAheadAvailableNodes, SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
2
2
|
import { findHandler, findHandlerByTrigger, isTypeAheadOpen, getTypeAheadHandler, getTypeAheadQuery } from './utils';
|
|
3
|
-
import { INPUT_METHOD } from '
|
|
3
|
+
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { openTypeAheadAtCursor, openTypeAhead } from './transforms/open-typeahead-at-cursor';
|
|
5
5
|
import { closeTypeAhead } from './transforms/close-type-ahead';
|
|
6
6
|
import { updateQuery } from './commands/update-query';
|
|
@@ -5,7 +5,7 @@ import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
|
5
5
|
import { InsertTypeAheadStep, InsertTypeAheadStages } from '@atlaskit/adf-schema/steps';
|
|
6
6
|
import { ACTIONS } from './actions';
|
|
7
7
|
import { pluginKey } from './key';
|
|
8
|
-
import { INPUT_METHOD } from '
|
|
8
|
+
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import { isTypeAheadHandler } from '../utils';
|
|
10
10
|
var shouldForceOpen = function shouldForceOpen(step) {
|
|
11
11
|
if (!(step instanceof InsertTypeAheadStep)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "187.45.
|
|
3
|
+
"version": "187.45.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@atlaskit/media-ui": "^25.0.0",
|
|
104
104
|
"@atlaskit/media-viewer": "^48.1.0",
|
|
105
105
|
"@atlaskit/mention": "^22.1.0",
|
|
106
|
-
"@atlaskit/menu": "^1.
|
|
106
|
+
"@atlaskit/menu": "^1.11.0",
|
|
107
107
|
"@atlaskit/modal-dialog": "^12.7.0",
|
|
108
108
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
109
109
|
"@atlaskit/prosemirror-collab": "^0.2.0",
|
|
@@ -111,9 +111,9 @@
|
|
|
111
111
|
"@atlaskit/radio": "^5.6.0",
|
|
112
112
|
"@atlaskit/section-message": "^6.4.0",
|
|
113
113
|
"@atlaskit/select": "^16.7.0",
|
|
114
|
-
"@atlaskit/smart-card": "^26.
|
|
114
|
+
"@atlaskit/smart-card": "^26.28.0",
|
|
115
115
|
"@atlaskit/smart-user-picker": "^6.3.0",
|
|
116
|
-
"@atlaskit/spinner": "^15.
|
|
116
|
+
"@atlaskit/spinner": "^15.6.0",
|
|
117
117
|
"@atlaskit/status": "^1.4.0",
|
|
118
118
|
"@atlaskit/tabs": "^13.4.0",
|
|
119
119
|
"@atlaskit/task-decision": "^17.9.0",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"@atlaskit/media-core": "^34.1.0",
|
|
167
167
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
168
168
|
"@atlaskit/media-test-helpers": "^33.0.0",
|
|
169
|
-
"@atlaskit/menu": "^1.
|
|
169
|
+
"@atlaskit/menu": "^1.11.0",
|
|
170
170
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
171
171
|
"@atlaskit/renderer": "^108.15.0",
|
|
172
172
|
"@atlaskit/section-message": "^6.4.0",
|