@atlaskit/editor-plugin-annotation 16.0.13 → 16.0.16
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,26 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-annotation
|
|
2
2
|
|
|
3
|
+
## 16.0.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 16.0.15
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 16.0.14
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`12871125421d2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/12871125421d2) -
|
|
20
|
+
Remove `confluence_frontend_new_dangling_comments_ux` feature gate check. The
|
|
21
|
+
`setInlineCommentsFetched` call when annotations return empty is now unconditional.
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 16.0.13
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -72,7 +72,7 @@ var fetchState = /*#__PURE__*/function () {
|
|
|
72
72
|
break;
|
|
73
73
|
}
|
|
74
74
|
_ref3 = (0, _utils3.getPluginState)(editorView.state) || {}, annotationsLoaded = _ref3.annotationsLoaded;
|
|
75
|
-
if (!annotationsLoaded
|
|
75
|
+
if (!annotationsLoaded) {
|
|
76
76
|
(0, _editorCommands.setInlineCommentsFetched)()(editorView.state, editorView.dispatch);
|
|
77
77
|
}
|
|
78
78
|
return _context2.abrupt("return");
|
|
@@ -33,7 +33,7 @@ const fetchState = async (provider, annotationIds, editorView, editorAnalyticsAP
|
|
|
33
33
|
const {
|
|
34
34
|
annotationsLoaded
|
|
35
35
|
} = getPluginState(editorView.state) || {};
|
|
36
|
-
if (!annotationsLoaded
|
|
36
|
+
if (!annotationsLoaded) {
|
|
37
37
|
setInlineCommentsFetched()(editorView.state, editorView.dispatch);
|
|
38
38
|
}
|
|
39
39
|
return;
|
|
@@ -65,7 +65,7 @@ var fetchState = /*#__PURE__*/function () {
|
|
|
65
65
|
break;
|
|
66
66
|
}
|
|
67
67
|
_ref3 = getPluginState(editorView.state) || {}, annotationsLoaded = _ref3.annotationsLoaded;
|
|
68
|
-
if (!annotationsLoaded
|
|
68
|
+
if (!annotationsLoaded) {
|
|
69
69
|
setInlineCommentsFetched()(editorView.state, editorView.dispatch);
|
|
70
70
|
}
|
|
71
71
|
return _context2.abrupt("return");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-annotation",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.16",
|
|
4
4
|
"description": "Annotation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"atlaskit:src": "src/index.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@atlaskit/adf-schema": "^57.
|
|
22
|
+
"@atlaskit/adf-schema": "^57.3.0",
|
|
23
23
|
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
24
24
|
"@atlaskit/editor-plugin-connectivity": "^16.0.0",
|
|
25
25
|
"@atlaskit/editor-plugin-editor-viewmode-effects": "^16.0.0",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
32
32
|
"@atlaskit/icon": "^37.6.0",
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
34
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
34
|
+
"@atlaskit/tmp-editor-statsig": "^176.0.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@atlaskit/editor-common": "^120.
|
|
38
|
+
"@atlaskit/editor-common": "^120.16.0",
|
|
39
39
|
"react": "^18.2.0 || ^19.2.0",
|
|
40
40
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
41
41
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -54,9 +54,6 @@
|
|
|
54
54
|
},
|
|
55
55
|
"editor_inline_comments_on_inline_nodes": {
|
|
56
56
|
"type": "boolean"
|
|
57
|
-
},
|
|
58
|
-
"confluence_frontend_new_dangling_comments_ux": {
|
|
59
|
-
"type": "boolean"
|
|
60
57
|
}
|
|
61
58
|
}
|
|
62
59
|
}
|