@atlaskit/editor-plugin-type-ahead 5.0.2 → 5.2.0
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,27 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 5.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b367661ba720e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b367661ba720e) -
|
|
8
|
+
EDITOR-1562 bump adf-schema for afm
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 5.1.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [`64ec65231b4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64ec65231b4cf) -
|
|
19
|
+
EDITOR-1568 bump adf-schema for afm
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 5.0.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -265,6 +265,9 @@ var typeAheadPlugin = exports.typeAheadPlugin = function typeAheadPlugin(_ref) {
|
|
|
265
265
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
266
266
|
popupsScrollableElement: popupsScrollableElement || containerElement || undefined
|
|
267
267
|
};
|
|
268
|
+
if (!editorView) {
|
|
269
|
+
return null;
|
|
270
|
+
}
|
|
268
271
|
return /*#__PURE__*/_react.default.createElement(_ContentComponent.ContentComponent, {
|
|
269
272
|
editorView: editorView,
|
|
270
273
|
popupMountRef: popupMountRef,
|
|
@@ -260,6 +260,9 @@ export const typeAheadPlugin = ({
|
|
|
260
260
|
popupsBoundariesElement,
|
|
261
261
|
popupsScrollableElement: popupsScrollableElement || containerElement || undefined
|
|
262
262
|
};
|
|
263
|
+
if (!editorView) {
|
|
264
|
+
return null;
|
|
265
|
+
}
|
|
263
266
|
return /*#__PURE__*/React.createElement(ContentComponent, {
|
|
264
267
|
editorView: editorView,
|
|
265
268
|
popupMountRef: popupMountRef,
|
|
@@ -257,6 +257,9 @@ export var typeAheadPlugin = function typeAheadPlugin(_ref) {
|
|
|
257
257
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
258
258
|
popupsScrollableElement: popupsScrollableElement || containerElement || undefined
|
|
259
259
|
};
|
|
260
|
+
if (!editorView) {
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
260
263
|
return /*#__PURE__*/React.createElement(ContentComponent, {
|
|
261
264
|
editorView: editorView,
|
|
262
265
|
popupMountRef: popupMountRef,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^51.
|
|
32
|
+
"@atlaskit/adf-schema": "^51.1.2",
|
|
33
33
|
"@atlaskit/editor-element-browser": "^3.0.0",
|
|
34
|
-
"@atlaskit/editor-plugin-analytics": "^5.
|
|
34
|
+
"@atlaskit/editor-plugin-analytics": "^5.2.0",
|
|
35
35
|
"@atlaskit/editor-plugin-connectivity": "^5.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-context-panel": "^7.0.0",
|
|
37
|
-
"@atlaskit/editor-plugin-metrics": "^6.
|
|
37
|
+
"@atlaskit/editor-plugin-metrics": "^6.2.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
40
40
|
"@atlaskit/heading": "^5.2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/primitives": "^14.14.0",
|
|
46
46
|
"@atlaskit/prosemirror-input-rules": "^3.4.0",
|
|
47
47
|
"@atlaskit/theme": "^21.0.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^12.18.0",
|
|
49
49
|
"@atlaskit/tokens": "^6.3.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"w3c-keyname": "^2.1.8"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^109.
|
|
59
|
+
"@atlaskit/editor-common": "^109.5.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|