@atlaskit/editor-plugin-annotation 2.4.0 → 2.5.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,18 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 2.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
8
+ [`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
9
+ [https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
10
+ `@atlassian/confluence-presets` package with Confluence `full-page` preset is created
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 2.4.0
4
17
 
5
18
  ### Minor Changes
@@ -20,8 +20,9 @@ export type AnnotationPluginDependencies = [
20
20
  OptionalPlugin<FeatureFlagsPlugin>,
21
21
  OptionalPlugin<ConnectivityPlugin>
22
22
  ];
23
+ export type AnnotationPluginOptions = AnnotationProviders;
23
24
  export type AnnotationPlugin = NextEditorPlugin<'annotation', {
24
- pluginConfiguration: AnnotationProviders | undefined;
25
+ pluginConfiguration: AnnotationPluginOptions | undefined;
25
26
  sharedState: InlineCommentPluginState | undefined;
26
27
  dependencies: AnnotationPluginDependencies;
27
28
  actions: {
@@ -1,4 +1,4 @@
1
1
  export { annotationPlugin } from './annotationPlugin';
2
- export type { AnnotationPlugin } from './annotationPluginType';
2
+ export type { AnnotationPlugin, AnnotationPluginOptions } from './annotationPluginType';
3
3
  export type { AnnotationProviders, InlineCommentAnnotationProvider, AnnotationInfo, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationState, AnnotationTypeProvider, InlineCommentState, TargetType, InlineCommentInputMethod, } from './types';
4
4
  export type { InlineCommentMap, InlineCommentPluginState, InlineCommentPluginOptions, InlineCommentAction, } from './pm-plugins/types';
@@ -20,8 +20,9 @@ export type AnnotationPluginDependencies = [
20
20
  OptionalPlugin<FeatureFlagsPlugin>,
21
21
  OptionalPlugin<ConnectivityPlugin>
22
22
  ];
23
+ export type AnnotationPluginOptions = AnnotationProviders;
23
24
  export type AnnotationPlugin = NextEditorPlugin<'annotation', {
24
- pluginConfiguration: AnnotationProviders | undefined;
25
+ pluginConfiguration: AnnotationPluginOptions | undefined;
25
26
  sharedState: InlineCommentPluginState | undefined;
26
27
  dependencies: AnnotationPluginDependencies;
27
28
  actions: {
@@ -1,4 +1,4 @@
1
1
  export { annotationPlugin } from './annotationPlugin';
2
- export type { AnnotationPlugin } from './annotationPluginType';
2
+ export type { AnnotationPlugin, AnnotationPluginOptions } from './annotationPluginType';
3
3
  export type { AnnotationProviders, InlineCommentAnnotationProvider, AnnotationInfo, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationState, AnnotationTypeProvider, InlineCommentState, TargetType, InlineCommentInputMethod, } from './types';
4
4
  export type { InlineCommentMap, InlineCommentPluginState, InlineCommentPluginOptions, InlineCommentAction, } from './pm-plugins/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-annotation",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,11 +32,11 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^47.6.0",
35
- "@atlaskit/editor-common": "^103.3.0",
35
+ "@atlaskit/editor-common": "^103.4.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
37
37
  "@atlaskit/editor-plugin-connectivity": "^2.0.0",
38
38
  "@atlaskit/editor-plugin-editor-viewmode-effects": "^2.0.0",
39
- "@atlaskit/editor-plugin-feature-flags": "^1.3.0",
39
+ "@atlaskit/editor-plugin-feature-flags": "^1.4.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
41
  "@atlaskit/icon": "^25.5.0",
42
42
  "@atlaskit/onboarding": "^14.0.0",