@atlaskit/editor-plugin-engagement-platform 2.0.1 → 2.1.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,23 @@
1
1
  # @atlaskit/editor-plugin-engagement-platform
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#151455](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151455)
14
+ [`1c6e93e3f7c13`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c6e93e3f7c13) -
15
+ ED-25240 minor type adjustment, make it non-breaking change due to no consumer affected
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 2.0.1
4
22
 
5
23
  ### Patch Changes
@@ -61,18 +61,18 @@ export type EngagementPlatformPluginConfig = {
61
61
  coordinationClient: CoordinationClient;
62
62
  };
63
63
  export type EpComponents = {
64
- EngagementProvider: ComponentType<PropsWithChildren<{}>>;
65
64
  EngagementSpotlight: ComponentType<{
66
65
  engagementId: string;
67
66
  }>;
68
67
  EngagementInlineDialog: ComponentType<PropsWithChildren<{
69
68
  engagementId: string;
70
69
  }>>;
71
- Coordination: ComponentType<PropsWithChildren<{
70
+ Coordination: ComponentType<{
72
71
  client: CoordinationClient;
73
72
  messageId: string;
74
73
  fallback: ReactNode;
75
- }>>;
74
+ children: JSX.Element;
75
+ }>;
76
76
  };
77
77
  export type EpHooks = {
78
78
  useCoordination: (client: CoordinationClient, messageId: string) => [boolean, (force?: boolean) => Promise<void>];
@@ -63,18 +63,18 @@ export type EngagementPlatformPluginConfig = {
63
63
  coordinationClient: CoordinationClient;
64
64
  };
65
65
  export type EpComponents = {
66
- EngagementProvider: ComponentType<PropsWithChildren<{}>>;
67
66
  EngagementSpotlight: ComponentType<{
68
67
  engagementId: string;
69
68
  }>;
70
69
  EngagementInlineDialog: ComponentType<PropsWithChildren<{
71
70
  engagementId: string;
72
71
  }>>;
73
- Coordination: ComponentType<PropsWithChildren<{
72
+ Coordination: ComponentType<{
74
73
  client: CoordinationClient;
75
74
  messageId: string;
76
75
  fallback: ReactNode;
77
- }>>;
76
+ children: JSX.Element;
77
+ }>;
78
78
  };
79
79
  export type EpHooks = {
80
80
  useCoordination: (client: CoordinationClient, messageId: string) => [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-engagement-platform",
3
- "version": "2.0.1",
3
+ "version": "2.1.1",
4
4
  "description": "Engagement platform plugin for @atlaskit/editor-core“",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,8 +33,8 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/editor-common": "^93.1.0",
37
- "@atlaskit/editor-plugin-analytics": "^1.8.0",
36
+ "@atlaskit/editor-common": "^94.0.0",
37
+ "@atlaskit/editor-plugin-analytics": "^1.10.0",
38
38
  "@atlaskit/editor-prosemirror": "6.0.0",
39
39
  "@babel/runtime": "^7.0.0"
40
40
  },