@atlaskit/editor-plugin-quick-insert 0.2.9 → 0.2.10
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/plugin.js +2 -2
- package/dist/es2019/plugin.js +2 -2
- package/dist/esm/plugin.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 0.2.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238) [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) - [ED-21835] Change EditorAPI type to always union with undefined
|
|
8
|
+
|
|
3
9
|
## 0.2.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -92,8 +92,8 @@ var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_
|
|
|
92
92
|
}));
|
|
93
93
|
},
|
|
94
94
|
getSuggestions: function getSuggestions(searchOptions) {
|
|
95
|
-
var _api$quickInsert$shar;
|
|
96
|
-
var _ref5 = (_api$quickInsert$shar = api === null || api === void 0 ? void 0 :
|
|
95
|
+
var _api$quickInsert$shar, _api$quickInsert;
|
|
96
|
+
var _ref5 = (_api$quickInsert$shar = api === null || api === void 0 || (_api$quickInsert = api.quickInsert) === null || _api$quickInsert === void 0 ? void 0 : _api$quickInsert.sharedState.currentState()) !== null && _api$quickInsert$shar !== void 0 ? _api$quickInsert$shar : {},
|
|
97
97
|
lazyDefaultItems = _ref5.lazyDefaultItems,
|
|
98
98
|
providedItems = _ref5.providedItems;
|
|
99
99
|
return (0, _search.getQuickInsertSuggestions)(searchOptions, lazyDefaultItems, providedItems);
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -82,11 +82,11 @@ export const quickInsertPlugin = ({
|
|
|
82
82
|
}));
|
|
83
83
|
},
|
|
84
84
|
getSuggestions: searchOptions => {
|
|
85
|
-
var _api$quickInsert$shar;
|
|
85
|
+
var _api$quickInsert$shar, _api$quickInsert;
|
|
86
86
|
const {
|
|
87
87
|
lazyDefaultItems,
|
|
88
88
|
providedItems
|
|
89
|
-
} = (_api$quickInsert$shar = api === null || api === void 0 ? void 0 : api.quickInsert.sharedState.currentState()) !== null && _api$quickInsert$shar !== void 0 ? _api$quickInsert$shar : {};
|
|
89
|
+
} = (_api$quickInsert$shar = api === null || api === void 0 ? void 0 : (_api$quickInsert = api.quickInsert) === null || _api$quickInsert === void 0 ? void 0 : _api$quickInsert.sharedState.currentState()) !== null && _api$quickInsert$shar !== void 0 ? _api$quickInsert$shar : {};
|
|
90
90
|
return getQuickInsertSuggestions(searchOptions, lazyDefaultItems, providedItems);
|
|
91
91
|
}
|
|
92
92
|
},
|
package/dist/esm/plugin.js
CHANGED
|
@@ -85,8 +85,8 @@ export var quickInsertPlugin = function quickInsertPlugin(_ref) {
|
|
|
85
85
|
}));
|
|
86
86
|
},
|
|
87
87
|
getSuggestions: function getSuggestions(searchOptions) {
|
|
88
|
-
var _api$quickInsert$shar;
|
|
89
|
-
var _ref5 = (_api$quickInsert$shar = api === null || api === void 0 ? void 0 :
|
|
88
|
+
var _api$quickInsert$shar, _api$quickInsert;
|
|
89
|
+
var _ref5 = (_api$quickInsert$shar = api === null || api === void 0 || (_api$quickInsert = api.quickInsert) === null || _api$quickInsert === void 0 ? void 0 : _api$quickInsert.sharedState.currentState()) !== null && _api$quickInsert$shar !== void 0 ? _api$quickInsert$shar : {},
|
|
90
90
|
lazyDefaultItems = _ref5.lazyDefaultItems,
|
|
91
91
|
providedItems = _ref5.providedItems;
|
|
92
92
|
return getQuickInsertSuggestions(searchOptions, lazyDefaultItems, providedItems);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"releaseModel": "continuous",
|
|
15
15
|
"runReact18": false
|
|
16
16
|
},
|
|
17
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
17
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
18
18
|
"main": "dist/cjs/index.js",
|
|
19
19
|
"module": "dist/esm/index.js",
|
|
20
20
|
"module:es2019": "dist/es2019/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/button": "^17.2.0",
|
|
37
|
-
"@atlaskit/editor-common": "^76.
|
|
37
|
+
"@atlaskit/editor-common": "^76.39.0",
|
|
38
38
|
"@atlaskit/editor-plugin-type-ahead": "^0.9.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
40
40
|
"@atlaskit/icon": "^22.0.0",
|