@atlaskit/editor-presets 5.2.2 → 5.2.3

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,13 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 5.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7bbeb928e7b97`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7bbeb928e7b97) -
8
+ Passes editor context from agent profile card action to rovo chat
9
+ - Updated dependencies
10
+
3
11
  ## 5.2.2
4
12
 
5
13
  ### Patch Changes
@@ -17,6 +17,7 @@ function mentionsPluginOptions(_ref) {
17
17
  currentUserId: options.currentUserId,
18
18
  enableAgentSectioning: options.enableAgentSectioning,
19
19
  showAgentMentionsLabsLozenge: options.showAgentMentionsLabsLozenge,
20
- getIsRovoPanelOpen: options.getIsRovoPanelOpen
20
+ getIsRovoPanelOpen: options.getIsRovoPanelOpen,
21
+ onAgentMentionChatClick: options.onAgentMentionChatClick
21
22
  };
22
23
  }
@@ -12,6 +12,7 @@ export function mentionsPluginOptions({
12
12
  currentUserId: options.currentUserId,
13
13
  enableAgentSectioning: options.enableAgentSectioning,
14
14
  showAgentMentionsLabsLozenge: options.showAgentMentionsLabsLozenge,
15
- getIsRovoPanelOpen: options.getIsRovoPanelOpen
15
+ getIsRovoPanelOpen: options.getIsRovoPanelOpen,
16
+ onAgentMentionChatClick: options.onAgentMentionChatClick
16
17
  };
17
18
  }
@@ -11,6 +11,7 @@ export function mentionsPluginOptions(_ref) {
11
11
  currentUserId: options.currentUserId,
12
12
  enableAgentSectioning: options.enableAgentSectioning,
13
13
  showAgentMentionsLabsLozenge: options.showAgentMentionsLabsLozenge,
14
- getIsRovoPanelOpen: options.getIsRovoPanelOpen
14
+ getIsRovoPanelOpen: options.getIsRovoPanelOpen,
15
+ onAgentMentionChatClick: options.onAgentMentionChatClick
15
16
  };
16
17
  }
@@ -8,6 +8,7 @@ interface Props {
8
8
  getIsRovoPanelOpen?: () => boolean;
9
9
  handleMentionsChanged: MentionsChangedHandler;
10
10
  showAgentMentionsLabsLozenge?: boolean;
11
+ onAgentMentionChatClick?: MentionsPluginOptions['onAgentMentionChatClick'];
11
12
  };
12
13
  providers: {
13
14
  mentionProvider: Promise<MentionProvider> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
6
6
  "publishConfig": {
@@ -115,7 +115,7 @@
115
115
  "@atlaskit/editor-plugin-user-preferences": "^10.0.0",
116
116
  "@atlaskit/editor-plugin-width": "^13.0.0",
117
117
  "@atlaskit/platform-feature-flags": "^2.0.0",
118
- "@atlaskit/tmp-editor-statsig": "^128.0.0",
118
+ "@atlaskit/tmp-editor-statsig": "^129.0.0",
119
119
  "@atlassian/ari": "^2.596.0",
120
120
  "@atlassian/editor-plugin-agent-managed-extension": "^2.12.0",
121
121
  "@babel/runtime": "^7.0.0"