@atlaskit/editor-plugin-annotation 1.6.3 → 1.7.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.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#95168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95168)
8
+ [`2091e194a817`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2091e194a817) -
9
+ Introduced new PortalProviderAPI behind a FF
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.6.3
4
16
 
5
17
  ### Patch Changes
@@ -1,6 +1,7 @@
1
1
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
3
- import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
3
+ import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
4
+ import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
4
5
  import type { FeatureFlags } from '@atlaskit/editor-common/types';
5
6
  import type { EditorState, SelectionBookmark } from '@atlaskit/editor-prosemirror/state';
6
7
  import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
@@ -18,7 +19,7 @@ export declare enum ACTIONS {
18
19
  export interface InlineCommentPluginOptions {
19
20
  dispatch: Dispatch;
20
21
  eventDispatcher: EventDispatcher;
21
- portalProviderAPI: PortalProviderAPI;
22
+ portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI;
22
23
  provider: InlineCommentAnnotationProvider;
23
24
  editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
24
25
  featureFlagsPluginState?: FeatureFlags;
@@ -1,6 +1,7 @@
1
1
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
3
- import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
3
+ import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
4
+ import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
4
5
  import type { FeatureFlags } from '@atlaskit/editor-common/types';
5
6
  import type { EditorState, SelectionBookmark } from '@atlaskit/editor-prosemirror/state';
6
7
  import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
@@ -18,7 +19,7 @@ export declare enum ACTIONS {
18
19
  export interface InlineCommentPluginOptions {
19
20
  dispatch: Dispatch;
20
21
  eventDispatcher: EventDispatcher;
21
- portalProviderAPI: PortalProviderAPI;
22
+ portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI;
22
23
  provider: InlineCommentAnnotationProvider;
23
24
  editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
24
25
  featureFlagsPluginState?: FeatureFlags;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-annotation",
3
- "version": "1.6.3",
3
+ "version": "1.7.0",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@atlaskit/adf-schema": "^35.12.2",
36
- "@atlaskit/editor-common": "^78.37.0",
36
+ "@atlaskit/editor-common": "^79.0.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.1.0",
38
38
  "@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
39
39
  "@atlaskit/editor-plugin-feature-flags": "^1.1.0",