@atlaskit/editor-plugin-annotation 1.27.1 → 1.28.1

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,25 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 1.28.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#112186](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112186)
8
+ [`9462d8ca2405a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9462d8ca2405a) -
9
+ Bump adf-schema to 47.2.1
10
+
11
+ ## 1.28.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
16
+ [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
17
+ Bumped editor-prosemirror version to 7.0.0
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 1.27.1
4
24
 
5
25
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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.27.1",
3
+ "version": "1.28.1",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,17 +31,17 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^99.7.0",
36
- "@atlaskit/editor-plugin-analytics": "^1.11.0",
37
- "@atlaskit/editor-plugin-connectivity": "^1.1.0",
38
- "@atlaskit/editor-plugin-editor-viewmode-effects": "^1.1.0",
39
- "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
40
- "@atlaskit/editor-prosemirror": "6.2.1",
41
- "@atlaskit/icon": "^23.6.0",
34
+ "@atlaskit/adf-schema": "^47.2.1",
35
+ "@atlaskit/editor-common": "^99.14.0",
36
+ "@atlaskit/editor-plugin-analytics": "^1.12.0",
37
+ "@atlaskit/editor-plugin-connectivity": "^1.3.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.9.0",
42
42
  "@atlaskit/onboarding": "^12.3.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.0.0",
44
- "@atlaskit/tmp-editor-statsig": "^2.41.0",
44
+ "@atlaskit/tmp-editor-statsig": "^2.46.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
- "emotion",
89
- "emotion"
88
+ "compiled"
90
89
  ],
91
90
  "imports": [
92
91
  "import-no-extraneous-disable-for-examples-and-docs"