@atlaskit/editor-plugin-annotation 1.27.1 → 1.28.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,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-annotation
|
|
2
2
|
|
|
3
|
+
## 1.28.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
|
|
8
|
+
[`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
|
|
9
|
+
Bumped editor-prosemirror version to 7.0.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.27.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { ForwardRef } from '@atlaskit/editor-common/react-node-view';
|
|
3
3
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
4
4
|
export declare class AnnotationNodeView extends ReactNodeView {
|
|
@@ -6,7 +6,7 @@ export declare class AnnotationNodeView extends ReactNodeView {
|
|
|
6
6
|
getContentDOM(): {
|
|
7
7
|
dom: HTMLSpanElement;
|
|
8
8
|
};
|
|
9
|
-
render(_props: Object, forwardRef: ForwardRef): JSX.Element;
|
|
9
|
+
render(_props: Object, forwardRef: ForwardRef): React.JSX.Element;
|
|
10
10
|
}
|
|
11
11
|
export declare const getAnnotationViewClassname: (isUnresolved: boolean, hasFocus: boolean, isHovered: boolean) => string | undefined;
|
|
12
12
|
export declare const getBlockAnnotationViewClassname: (isUnresolved: boolean, hasFocus: boolean) => string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { DispatchAnalyticsEvent, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -11,5 +11,5 @@ interface InlineCommentViewProps {
|
|
|
11
11
|
editorAPI: ExtractInjectionAPI<AnnotationPlugin> | undefined;
|
|
12
12
|
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
13
13
|
}
|
|
14
|
-
export declare function InlineCommentView({ providers, editorView, editorAnalyticsAPI, editorAPI, dispatchAnalyticsEvent, }: InlineCommentViewProps): JSX.Element | null;
|
|
14
|
+
export declare function InlineCommentView({ providers, editorView, editorAnalyticsAPI, editorAPI, dispatchAnalyticsEvent, }: InlineCommentViewProps): React.JSX.Element | null;
|
|
15
15
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { ForwardRef } from '@atlaskit/editor-common/react-node-view';
|
|
3
3
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
4
4
|
export declare class AnnotationNodeView extends ReactNodeView {
|
|
@@ -6,7 +6,7 @@ export declare class AnnotationNodeView extends ReactNodeView {
|
|
|
6
6
|
getContentDOM(): {
|
|
7
7
|
dom: HTMLSpanElement;
|
|
8
8
|
};
|
|
9
|
-
render(_props: Object, forwardRef: ForwardRef): JSX.Element;
|
|
9
|
+
render(_props: Object, forwardRef: ForwardRef): React.JSX.Element;
|
|
10
10
|
}
|
|
11
11
|
export declare const getAnnotationViewClassname: (isUnresolved: boolean, hasFocus: boolean, isHovered: boolean) => string | undefined;
|
|
12
12
|
export declare const getBlockAnnotationViewClassname: (isUnresolved: boolean, hasFocus: boolean) => string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { DispatchAnalyticsEvent, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -11,5 +11,5 @@ interface InlineCommentViewProps {
|
|
|
11
11
|
editorAPI: ExtractInjectionAPI<AnnotationPlugin> | undefined;
|
|
12
12
|
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
13
13
|
}
|
|
14
|
-
export declare function InlineCommentView({ providers, editorView, editorAnalyticsAPI, editorAPI, dispatchAnalyticsEvent, }: InlineCommentViewProps): JSX.Element | null;
|
|
14
|
+
export declare function InlineCommentView({ providers, editorView, editorAnalyticsAPI, editorAPI, dispatchAnalyticsEvent, }: InlineCommentViewProps): React.JSX.Element | null;
|
|
15
15
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-annotation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0",
|
|
4
4
|
"description": "Annotation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
|
-
"@atlaskit/editor-common": "^99.
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
37
|
-
"@atlaskit/editor-plugin-connectivity": "^1.
|
|
38
|
-
"@atlaskit/editor-plugin-editor-viewmode-effects": "^1.
|
|
39
|
-
"@atlaskit/editor-plugin-feature-flags": "^1.
|
|
40
|
-
"@atlaskit/editor-prosemirror": "
|
|
41
|
-
"@atlaskit/icon": "^23.
|
|
35
|
+
"@atlaskit/editor-common": "^99.10.0",
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^1.12.0",
|
|
37
|
+
"@atlaskit/editor-plugin-connectivity": "^1.2.0",
|
|
38
|
+
"@atlaskit/editor-plugin-editor-viewmode-effects": "^1.2.0",
|
|
39
|
+
"@atlaskit/editor-plugin-feature-flags": "^1.3.0",
|
|
40
|
+
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
|
+
"@atlaskit/icon": "^23.7.0",
|
|
42
42
|
"@atlaskit/onboarding": "^12.3.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^2.43.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
@@ -85,8 +85,7 @@
|
|
|
85
85
|
],
|
|
86
86
|
"deprecation": "no-deprecated-imports",
|
|
87
87
|
"styling": [
|
|
88
|
-
"
|
|
89
|
-
"emotion"
|
|
88
|
+
"compiled"
|
|
90
89
|
],
|
|
91
90
|
"imports": [
|
|
92
91
|
"import-no-extraneous-disable-for-examples-and-docs"
|