@atlaskit/editor-plugin-annotation 5.2.0 → 5.3.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,16 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-annotation
|
|
2
2
|
|
|
3
|
+
## 5.3.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
|
+
|
|
3
14
|
## 5.2.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -134,7 +134,7 @@ var annotationPlugin = exports.annotationPlugin = function annotationPlugin(_ref
|
|
|
134
134
|
contentComponent: function contentComponent(_ref3) {
|
|
135
135
|
var editorView = _ref3.editorView,
|
|
136
136
|
dispatchAnalyticsEvent = _ref3.dispatchAnalyticsEvent;
|
|
137
|
-
if (!annotationProviders) {
|
|
137
|
+
if (!annotationProviders || !editorView) {
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
140
140
|
return /*#__PURE__*/_react.default.createElement(AnnotationContentComponent, {
|
|
@@ -127,7 +127,7 @@ export const annotationPlugin = ({
|
|
|
127
127
|
editorView,
|
|
128
128
|
dispatchAnalyticsEvent
|
|
129
129
|
}) {
|
|
130
|
-
if (!annotationProviders) {
|
|
130
|
+
if (!annotationProviders || !editorView) {
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
133
|
return /*#__PURE__*/React.createElement(AnnotationContentComponent, {
|
|
@@ -127,7 +127,7 @@ export var annotationPlugin = function annotationPlugin(_ref) {
|
|
|
127
127
|
contentComponent: function contentComponent(_ref3) {
|
|
128
128
|
var editorView = _ref3.editorView,
|
|
129
129
|
dispatchAnalyticsEvent = _ref3.dispatchAnalyticsEvent;
|
|
130
|
-
if (!annotationProviders) {
|
|
130
|
+
if (!annotationProviders || !editorView) {
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
133
|
return /*#__PURE__*/React.createElement(AnnotationContentComponent, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-annotation",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Annotation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^51.1.
|
|
30
|
+
"@atlaskit/adf-schema": "^51.1.2",
|
|
31
31
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
32
|
-
"@atlaskit/editor-plugin-analytics": "^5.
|
|
32
|
+
"@atlaskit/editor-plugin-analytics": "^5.2.0",
|
|
33
33
|
"@atlaskit/editor-plugin-connectivity": "^5.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-editor-viewmode-effects": "^5.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-feature-flags": "^4.0.0",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@atlaskit/icon": "^28.1.0",
|
|
42
42
|
"@atlaskit/onboarding": "^14.4.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^12.18.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@atlaskit/editor-common": "^109.
|
|
49
|
+
"@atlaskit/editor-common": "^109.5.0",
|
|
50
50
|
"react": "^18.2.0",
|
|
51
51
|
"react-dom": "^18.2.0"
|
|
52
52
|
},
|