@atlaskit/editor-plugin-annotation 1.6.3 → 1.7.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,27 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 1.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
8
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
9
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
10
+ language triggering composition on an empty line.This was fixed in a patch bump of
11
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
12
+
13
+ ## 1.7.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#95168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95168)
18
+ [`2091e194a817`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2091e194a817) -
19
+ Introduced new PortalProviderAPI behind a FF
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 1.6.3
4
26
 
5
27
  ### 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.1",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,11 +33,11 @@
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.1.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",
40
- "@atlaskit/editor-prosemirror": "4.0.0",
40
+ "@atlaskit/editor-prosemirror": "4.0.1",
41
41
  "@atlaskit/icon": "^22.1.0",
42
42
  "@atlaskit/platform-feature-flags": "^0.2.0",
43
43
  "@babel/runtime": "^7.0.0"