@atlaskit/rovo-triggers 9.1.1 → 9.2.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,20 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 9.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`a91cf005e7d57`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a91cf005e7d57) -
8
+ Add support for the full-screen modal chat mode across shared chat APIs, triggers, and switch-mode
9
+ UI.
10
+
11
+ This updates the conversation assistant trigger payloads and shared switch-mode components so
12
+ full-screen modal can be selected consistently anywhere these APIs are consumed.
13
+
14
+ - [`a91cf005e7d57`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a91cf005e7d57) -
15
+ Deduplicate the chat-open mode literal union by sourcing it from the canonical `RovoChatOpenMode`
16
+ type in `@atlaskit/rovo-triggers/params-types`.
17
+
3
18
  ## 9.1.1
4
19
 
5
20
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  export type RovoChatPathway = 'chat' | 'agents-browse' | 'agents-create' | 'pulse';
2
- export type RovoChatOpenMode = 'sidebar' | 'mini-modal';
2
+ export type RovoChatOpenMode = 'sidebar' | 'mini-modal' | 'full-screen-modal';
3
3
  export interface BaseRovoChatParams {
4
4
  pathway: RovoChatPathway;
5
5
  agentId: string;
@@ -3,6 +3,7 @@ import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
3
3
  import type { JsmJourneyBuilderActionsPayload } from './common/types/jsm-journey-builder';
4
4
  import type { SolutionArchitectAgentActivationFlowStoppedPayload, SolutionArchitectAgentActivationPayload, SolutionArchitectAgentActivationFlowStartedPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload, StudioAutomationBuildUpdatePayload, StudioLandingPageRedirectPayload, UpdateAgentConfigurationPayload } from './common/types/solution-architect';
5
5
  import type { ChatContextPayload } from './common/utils/chat-context/types';
6
+ import type { RovoChatOpenMode } from './common/utils/params/types';
6
7
  export declare const Topics: {
7
8
  readonly AI_MATE: "ai-mate";
8
9
  readonly AI_MATE_ACTIONS: "ai-mate-actions";
@@ -15,7 +16,7 @@ export type PayloadCore<TKey extends string, TData = void> = {
15
16
  type: TKey;
16
17
  source: string;
17
18
  openChat?: boolean;
18
- openChatMode?: 'sidebar' | 'mini-modal';
19
+ openChatMode?: RovoChatOpenMode;
19
20
  product?: string;
20
21
  interactionSource?: string;
21
22
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "9.1.1",
3
+ "version": "9.2.0",
4
4
  "description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {