@atlaskit/editor-plugin-annotation 8.0.11 → 8.0.13
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
|
@@ -133,7 +133,7 @@ function InlineCommentView(_ref) {
|
|
|
133
133
|
dom: dom,
|
|
134
134
|
textSelection: textSelection,
|
|
135
135
|
wasNewAnnotationSelected: !!currentlySelectedAnnotation && isAnnotationSelectionChanged
|
|
136
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
136
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
137
137
|
,
|
|
138
138
|
onCreate: function onCreate(id) {
|
|
139
139
|
if (!isAnnotationManagerEnabled) {
|
|
@@ -144,7 +144,7 @@ function InlineCommentView(_ref) {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
147
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
148
148
|
,
|
|
149
149
|
onClose: function onClose() {
|
|
150
150
|
if (!isAnnotationManagerEnabled) {
|
|
@@ -207,17 +207,17 @@ function InlineCommentView(_ref) {
|
|
|
207
207
|
annotations: activeAnnotations,
|
|
208
208
|
getInlineNodeTypes: getInlineNodeTypes,
|
|
209
209
|
dom: dom
|
|
210
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
210
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
211
211
|
,
|
|
212
212
|
onDelete: function onDelete(id) {
|
|
213
213
|
return (0, _editorCommands.removeInlineCommentNearSelection)(id, inlineCommentProvider.supportedBlockNodes)(editorView.state, dispatch);
|
|
214
214
|
}
|
|
215
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
215
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
216
216
|
,
|
|
217
217
|
onResolve: function onResolve(id) {
|
|
218
218
|
return (0, _editorCommands.updateInlineCommentResolvedState)(editorAnalyticsAPI)((0, _defineProperty2.default)({}, id, true), _analytics.RESOLVE_METHOD.COMPONENT)(editorView.state, editorView.dispatch);
|
|
219
219
|
}
|
|
220
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
220
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
221
221
|
,
|
|
222
222
|
onClose: function onClose() {
|
|
223
223
|
(0, _editorCommands.closeComponent)()(editorView.state, editorView.dispatch);
|
|
@@ -131,7 +131,7 @@ export function InlineCommentView({
|
|
|
131
131
|
dom: dom,
|
|
132
132
|
textSelection: textSelection,
|
|
133
133
|
wasNewAnnotationSelected: !!currentlySelectedAnnotation && isAnnotationSelectionChanged
|
|
134
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
134
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
135
135
|
,
|
|
136
136
|
onCreate: id => {
|
|
137
137
|
if (!isAnnotationManagerEnabled) {
|
|
@@ -142,7 +142,7 @@ export function InlineCommentView({
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
145
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
146
146
|
,
|
|
147
147
|
onClose: () => {
|
|
148
148
|
if (!isAnnotationManagerEnabled) {
|
|
@@ -201,15 +201,15 @@ export function InlineCommentView({
|
|
|
201
201
|
annotations: activeAnnotations,
|
|
202
202
|
getInlineNodeTypes: getInlineNodeTypes,
|
|
203
203
|
dom: dom
|
|
204
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
204
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
205
205
|
,
|
|
206
206
|
onDelete: id => removeInlineCommentNearSelection(id, inlineCommentProvider.supportedBlockNodes)(editorView.state, dispatch)
|
|
207
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
207
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
208
208
|
,
|
|
209
209
|
onResolve: id => updateInlineCommentResolvedState(editorAnalyticsAPI)({
|
|
210
210
|
[id]: true
|
|
211
211
|
}, RESOLVE_METHOD.COMPONENT)(editorView.state, editorView.dispatch)
|
|
212
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
212
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
213
213
|
,
|
|
214
214
|
onClose: () => {
|
|
215
215
|
closeComponent()(editorView.state, editorView.dispatch);
|
|
@@ -124,7 +124,7 @@ export function InlineCommentView(_ref) {
|
|
|
124
124
|
dom: dom,
|
|
125
125
|
textSelection: textSelection,
|
|
126
126
|
wasNewAnnotationSelected: !!currentlySelectedAnnotation && isAnnotationSelectionChanged
|
|
127
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
127
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
128
128
|
,
|
|
129
129
|
onCreate: function onCreate(id) {
|
|
130
130
|
if (!isAnnotationManagerEnabled) {
|
|
@@ -135,7 +135,7 @@ export function InlineCommentView(_ref) {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
138
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
139
139
|
,
|
|
140
140
|
onClose: function onClose() {
|
|
141
141
|
if (!isAnnotationManagerEnabled) {
|
|
@@ -198,17 +198,17 @@ export function InlineCommentView(_ref) {
|
|
|
198
198
|
annotations: activeAnnotations,
|
|
199
199
|
getInlineNodeTypes: getInlineNodeTypes,
|
|
200
200
|
dom: dom
|
|
201
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
201
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
202
202
|
,
|
|
203
203
|
onDelete: function onDelete(id) {
|
|
204
204
|
return removeInlineCommentNearSelection(id, inlineCommentProvider.supportedBlockNodes)(editorView.state, dispatch);
|
|
205
205
|
}
|
|
206
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
206
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
207
207
|
,
|
|
208
208
|
onResolve: function onResolve(id) {
|
|
209
209
|
return updateInlineCommentResolvedState(editorAnalyticsAPI)(_defineProperty({}, id, true), RESOLVE_METHOD.COMPONENT)(editorView.state, editorView.dispatch);
|
|
210
210
|
}
|
|
211
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
211
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
212
212
|
,
|
|
213
213
|
onClose: function onClose() {
|
|
214
214
|
closeComponent()(editorView.state, editorView.dispatch);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-annotation",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.13",
|
|
4
4
|
"description": "Annotation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
40
40
|
"@atlaskit/icon": "^33.0.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^46.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^112.
|
|
47
|
+
"@atlaskit/editor-common": "^112.9.0",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-dom": "^18.2.0"
|
|
50
50
|
},
|