@carbon/ai-chat 1.3.0-rc.0 → 1.3.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.
@@ -1,4 +1,4 @@
1
- export { B as BusEventType, g as ButtonItemKind, h as ButtonItemType, b as CancellationReason, c as CarbonTheme, n as ChainOfThoughtStepStatus, C as CornersType, E as ErrorType, F as FeedbackInteractionType, f as FileStatusValue, m as HumanAgentMessageType, H as HumanAgentsOnlineStatus, I as IFrameItemDisplayOption, o as MessageErrorState, i as MessageInputType, j as MessageResponseTypes, M as MessageSendSource, d as MinimizeButtonIconType, O as OnErrorType, k as OptionItemPreference, P as PageObjectId, S as ScreenShareState, U as UserType, a as ViewChangeReason, V as ViewType, l as WidthOptions, W as WriteableElementName, e as enLanguagePack } from "./chat.PageObjectId.js";
1
+ export { B as BusEventType, g as ButtonItemKind, h as ButtonItemType, b as CancellationReason, c as CarbonTheme, n as ChainOfThoughtStepStatus, C as CornersType, E as ErrorType, F as FeedbackInteractionType, f as FileStatusValue, m as HumanAgentMessageType, H as HumanAgentsOnlineStatus, I as IFrameItemDisplayOption, o as MessageErrorState, i as MessageInputType, j as MessageResponseTypes, M as MessageSendSource, d as MinimizeButtonIconType, O as OnErrorType, k as OptionItemPreference, p as PageObjectId, P as PanelType, S as ScreenShareState, U as UserType, a as ViewChangeReason, V as ViewType, l as WidthOptions, W as WriteableElementName, e as enLanguagePack } from "./chat.PageObjectId.js";
2
2
 
3
3
  var LayoutCustomProperties;
4
4
 
@@ -1,5 +1,5 @@
1
- import { C as ChatContainerProps, B as BusEventViewPreChange, a as ChatInstance, b as BusEventViewChange } from './serverEntry-BN03ML3a.js';
2
- export { at as AdditionalDataToAgent, au as AgentAvailability, aQ as AudioItem, aL as BaseGenericItem, aR as BaseMessageInput, r as BusEvent, A as BusEventChatReady, D as BusEventChunkUserDefinedResponse, G as BusEventClosePanelButtonClicked, H as BusEventCustomPanelClose, J as BusEventCustomPanelOpen, K as BusEventCustomPanelPreClose, M as BusEventCustomPanelPreOpen, O as BusEventFeedback, Q as BusEventHistoryBegin, R as BusEventHistoryEnd, s as BusEventHumanAgentAreAnyAgentsOnline, t as BusEventHumanAgentEndChat, u as BusEventHumanAgentPreEndChat, v as BusEventHumanAgentPreReceive, w as BusEventHumanAgentPreSend, x as BusEventHumanAgentPreStartChat, y as BusEventHumanAgentReceive, z as BusEventHumanAgentSend, U as BusEventMessageItemCustom, X as BusEventPreReceive, Y as BusEventPreReset, Z as BusEventPreSend, _ as BusEventReceive, $ as BusEventReset, a0 as BusEventSend, a1 as BusEventType, a2 as BusEventUserDefinedResponse, aS as ButtonItem, aT as ButtonItemKind, aU as ButtonItemType, aa as CancellationReason, ad as CarbonTheme, aV as CardItem, aW as CarouselItem, bS as CdsAiChatContainerAttributes, bT as CdsAiChatCustomElementAttributes, bE as ChainOfThoughtStep, bF as ChainOfThoughtStepStatus, h as ChangeFunction, d as ChatHeaderConfig, i as ChatInstanceInput, ab as ChatInstanceMessaging, j as ChatInstanceNotifications, k as ChatInstanceServiceDeskActions, aX as Chunk, aY as CompleteItemChunk, aZ as ConnectToHumanAgentItem, a_ as ConnectToHumanAgentItemTransferInfo, aw as ConnectingErrorInfo, a$ as ConversationalSearchItem, b0 as ConversationalSearchItemCitation, q as CornersType, ae as CustomMenuOption, e as CustomPanelConfigOptions, f as CustomPanelInstance, g as CustomPanels, ac as CustomSendMessageOptions, b1 as DateItem, ar as DeepPartial, af as DisclaimerPublicConfig, ax as DisconnectedErrorInfo, ay as EndChatInfo, az as ErrorType, E as EventBusHandler, l as EventHandlers, b2 as EventInput, b3 as EventInputData, a3 as FeedbackInteractionType, aA as FileStatusValue, aB as FileUpload, F as FileUploadCapabilities, b4 as FinalResponseChunk, b5 as GenericItem, b6 as GenericItemMessageFeedbackCategories, bG as GenericItemMessageFeedbackOptions, bH as GenericItemMessageOptions, b7 as GridItem, ah as HeaderConfig, bO as HistoryItem, a6 as HomeScreenConfig, a7 as HomeScreenStarterButton, a8 as HomeScreenStarterButtons, a9 as HomeScreenState, b8 as HorizontalCellAlignment, bD as HumanAgentMessageType, av as HumanAgentsOnlineStatus, b9 as IFrameItem, ba as IFrameItemDisplayOption, bb as ImageItem, I as IncreaseOrDecrease, bc as InlineErrorItem, ai as InputConfig, bd as ItemStreamingMetadata, aj as LanguagePack, bQ as LauncherCallToActionConfig, bR as LauncherConfig, ak as LayoutConfig, L as LayoutCustomProperties, bi as MediaFileAccessibility, be as MediaItem, bf as MediaItemDimensions, bg as MediaSubtitleTrack, bh as MediaTranscript, bI as Message, bP as MessageErrorState, bL as MessageHistoryFeedback, bj as MessageInput, bk as MessageInputType, bl as MessageItemPanelInfo, bm as MessageOutput, bn as MessageRequest, aO as MessageRequestHistory, bo as MessageResponse, aN as MessageResponseHistory, aM as MessageResponseOptions, bp as MessageResponseTypes, a4 as MessageSendSource, al as MinimizeButtonIconType, N as NotificationMessage, as as ObjectMap, am as OnErrorData, an as OnErrorType, bq as OptionItem, br as OptionItemPreference, bX as PageObjectId, bs as PartialItemChunk, bJ as PartialOrCompleteItemChunk, bK as PartialResponse, bt as PauseItem, aq as PersistedHumanAgentState, P as PersistedState, n as PublicChatHumanAgentState, o as PublicChatState, ao as PublicConfig, ap as PublicConfigMessaging, m as PublicInputState, bU as RenderUserDefinedResponse, bV as RenderUserDefinedState, bW as RenderWriteableElementResponse, aP as ResponseUserProfile, aC as ScreenShareState, bM as SearchResult, S as SendOptions, aD as ServiceDesk, aE as ServiceDeskCallback, aF as ServiceDeskCapabilities, aG as ServiceDeskErrorInfo, aH as ServiceDeskFactoryParameters, aI as ServiceDeskPublicConfig, bC as SingleOption, aJ as StartChatOptions, bu as StreamChunk, bY as TestId, bv as TextItem, T as TypeAndHandler, bw as UserDefinedItem, aK as UserMessageErrorInfo, bN as UserType, bx as VerticalCellAlignment, by as VideoItem, a5 as ViewChangeReason, V as ViewState, c as ViewType, bz as WidthOptions, bA as WithBodyAndFooter, bB as WithWidthOptions, W as WriteableElementName, p as WriteableElements, ag as enLanguagePack } from './serverEntry-BN03ML3a.js';
1
+ import { C as ChatContainerProps, B as BusEventViewPreChange, a as ChatInstance, b as BusEventViewChange } from './serverEntry-BMoPx5K4.js';
2
+ export { ay as AdditionalDataToAgent, az as AgentAvailability, aV as AudioItem, aQ as BaseGenericItem, aW as BaseMessageInput, v as BusEvent, K as BusEventChatReady, M as BusEventChunkUserDefinedResponse, O as BusEventClosePanelButtonClicked, Q as BusEventCustomPanelClose, R as BusEventCustomPanelOpen, U as BusEventCustomPanelPreClose, X as BusEventCustomPanelPreOpen, Y as BusEventFeedback, Z as BusEventHistoryBegin, _ as BusEventHistoryEnd, w as BusEventHumanAgentAreAnyAgentsOnline, x as BusEventHumanAgentEndChat, y as BusEventHumanAgentPreEndChat, z as BusEventHumanAgentPreReceive, A as BusEventHumanAgentPreSend, G as BusEventHumanAgentPreStartChat, H as BusEventHumanAgentReceive, J as BusEventHumanAgentSend, $ as BusEventMessageItemCustom, a0 as BusEventPreReceive, a1 as BusEventPreReset, a2 as BusEventPreSend, a3 as BusEventReceive, a4 as BusEventReset, a5 as BusEventSend, a6 as BusEventType, a7 as BusEventUserDefinedResponse, aX as ButtonItem, aY as ButtonItemKind, aZ as ButtonItemType, af as CancellationReason, ai as CarbonTheme, a_ as CardItem, a$ as CarouselItem, bX as CdsAiChatContainerAttributes, bY as CdsAiChatCustomElementAttributes, bJ as ChainOfThoughtStep, bK as ChainOfThoughtStepStatus, j as ChangeFunction, e as ChatHeaderConfig, k as ChatInstanceInput, ag as ChatInstanceMessaging, l as ChatInstanceNotifications, m as ChatInstanceServiceDeskActions, b0 as Chunk, b1 as CompleteItemChunk, b2 as ConnectToHumanAgentItem, b3 as ConnectToHumanAgentItemTransferInfo, aB as ConnectingErrorInfo, b4 as ConversationalSearchItem, b5 as ConversationalSearchItemCitation, u as CornersType, aj as CustomMenuOption, f as CustomPanelConfigOptions, g as CustomPanelInstance, i as CustomPanelOpenOptions, h as CustomPanels, ah as CustomSendMessageOptions, b6 as DateItem, aw as DeepPartial, D as DefaultCustomPanelConfigOptions, ak as DisclaimerPublicConfig, aC as DisconnectedErrorInfo, aD as EndChatInfo, aE as ErrorType, E as EventBusHandler, n as EventHandlers, b7 as EventInput, b8 as EventInputData, a8 as FeedbackInteractionType, aF as FileStatusValue, aG as FileUpload, F as FileUploadCapabilities, b9 as FinalResponseChunk, ba as GenericItem, bb as GenericItemMessageFeedbackCategories, bL as GenericItemMessageFeedbackOptions, bM as GenericItemMessageOptions, bc as GridItem, am as HeaderConfig, bT as HistoryItem, ab as HomeScreenConfig, ac as HomeScreenStarterButton, ad as HomeScreenStarterButtons, ae as HomeScreenState, bd as HorizontalCellAlignment, bI as HumanAgentMessageType, aA as HumanAgentsOnlineStatus, be as IFrameItem, bf as IFrameItemDisplayOption, bg as ImageItem, I as IncreaseOrDecrease, bh as InlineErrorItem, an as InputConfig, bi as ItemStreamingMetadata, ao as LanguagePack, bV as LauncherCallToActionConfig, bW as LauncherConfig, ap as LayoutConfig, L as LayoutCustomProperties, bn as MediaFileAccessibility, bj as MediaItem, bk as MediaItemDimensions, bl as MediaSubtitleTrack, bm as MediaTranscript, bN as Message, bU as MessageErrorState, bQ as MessageHistoryFeedback, bo as MessageInput, bp as MessageInputType, bq as MessageItemPanelInfo, br as MessageOutput, bs as MessageRequest, aT as MessageRequestHistory, bt as MessageResponse, aS as MessageResponseHistory, aR as MessageResponseOptions, bu as MessageResponseTypes, a9 as MessageSendSource, aq as MinimizeButtonIconType, N as NotificationMessage, ax as ObjectMap, ar as OnErrorData, as as OnErrorType, bv as OptionItem, bw as OptionItemPreference, c0 as PageObjectId, P as PanelType, bx as PartialItemChunk, bO as PartialOrCompleteItemChunk, bP as PartialResponse, by as PauseItem, av as PersistedHumanAgentState, d as PersistedState, r as PublicChatHumanAgentState, s as PublicChatState, at as PublicConfig, au as PublicConfigMessaging, p as PublicCustomPanelsState, q as PublicDefaultCustomPanelState, o as PublicInputState, bZ as RenderUserDefinedResponse, b_ as RenderUserDefinedState, b$ as RenderWriteableElementResponse, aU as ResponseUserProfile, aH as ScreenShareState, bR as SearchResult, S as SendOptions, aI as ServiceDesk, aJ as ServiceDeskCallback, aK as ServiceDeskCapabilities, aL as ServiceDeskErrorInfo, aM as ServiceDeskFactoryParameters, aN as ServiceDeskPublicConfig, bH as SingleOption, aO as StartChatOptions, bz as StreamChunk, c1 as TestId, bA as TextItem, T as TypeAndHandler, bB as UserDefinedItem, aP as UserMessageErrorInfo, bS as UserType, bC as VerticalCellAlignment, bD as VideoItem, aa as ViewChangeReason, V as ViewState, c as ViewType, bE as WidthOptions, bF as WithBodyAndFooter, bG as WithWidthOptions, W as WriteableElementName, t as WriteableElements, al as enLanguagePack } from './serverEntry-BMoPx5K4.js';
3
3
  import React from 'react';
4
4
  import '@carbon/web-components/es/components/notification/defs.js';
5
5
  import '@carbon/web-components/es/components/button/defs.js';
@@ -69,6 +69,17 @@ declare enum ViewType {
69
69
  */
70
70
  MAIN_WINDOW = "mainWindow"
71
71
  }
72
+ /**
73
+ * Describes the different panel types that Carbon AI Chat supports.
74
+ *
75
+ * @category Instance
76
+ */
77
+ declare enum PanelType {
78
+ /**
79
+ * Opens the panel so that it overlays the main chat content.
80
+ */
81
+ DEFAULT = "default"
82
+ }
72
83
  /**
73
84
  * This manager handles fetching an instance for manipulating the custom panel.
74
85
  *
@@ -78,7 +89,7 @@ interface CustomPanels {
78
89
  /**
79
90
  * Gets a custom panel instance.
80
91
  */
81
- getPanel: () => CustomPanelInstance;
92
+ getPanel: (panel?: PanelType) => CustomPanelInstance;
82
93
  }
83
94
  /**
84
95
  * The custom panel instance for controlling and manipulating a custom panel in Carbon AI Chat.
@@ -95,69 +106,104 @@ interface CustomPanelInstance {
95
106
  *
96
107
  * @param options Custom panel options.
97
108
  */
98
- open: (options?: CustomPanelConfigOptions) => void;
109
+ open: (options?: CustomPanelOpenOptions) => void;
99
110
  /**
100
111
  * Closes the custom panel.
101
112
  */
102
113
  close: () => void;
103
114
  }
104
115
  /**
105
- * Describes general config options for a Carbon AI Chat panel. These options are also part of the
106
- * {@link BasePanelComponentProps}, except the options here are also shared with {@link CustomPanelConfigOptions}.
107
- *
108
- * Any options specific to either the BasePanelComponent or CustomPanelConfigOptions should be added to the respective
109
- * interface.
116
+ * Options that change how the custom panel looks. When a header is shown, it inherits styling and behavior from the
117
+ * configured {@link HeaderConfig} (title, assistant name, AI slug, minimize button style, overflow menu, etc.) unless
118
+ * explicitly overridden below.
110
119
  *
111
120
  * @category Instance
121
+ *
122
+ * @deprecated Use {@link DefaultCustomPanelConfigOptions} for default panels.
123
+ *
112
124
  */
113
- interface BasePanelConfigOptions {
125
+ interface CustomPanelConfigOptions {
114
126
  /**
115
- * The panel title which is left blank by default.
127
+ * The panel title displayed in the custom panel header. Left blank by default which causes the configured chat header
128
+ * title/name to be shown instead. When a back button is visible the inherited header stays on screen above the panel
129
+ * so this title acts like a breadcrumb; when the back button is hidden, the header fills the panel chrome and this
130
+ * title becomes the primary heading within the overlay.
116
131
  */
117
132
  title?: string;
118
133
  /**
119
- * Indicates if the close button in the custom panel should be hidden.
134
+ * Indicates if the close/minimize button in the custom panel should be hidden.
120
135
  */
121
136
  hideCloseButton?: boolean;
122
137
  /**
123
- * Indicates if the panel header should be hidden.
138
+ * Indicates if the panel header should be hidden. Hiding the header removes the inherited title, AI slug, minimize
139
+ * button, and back button chrome entirely. Leave this undefined to animate the panel in with the standard header; set
140
+ * it to true when you need a chrome-free experience (for example, when the panel content provides its own close
141
+ * controls or you want the panel to cover the chat header without animating the header into view).
124
142
  */
125
143
  hidePanelHeader?: boolean;
126
144
  /**
127
- * Indicates if the back button in the custom panel should be hidden.
145
+ * Indicates if the back button in the custom panel should be hidden. When {@link hidePanelHeader} is true, the back
146
+ * button is hidden automatically. When the back button is visible the panel opens beneath the chat header so users
147
+ * can always access the assistant-level header controls while the panel is active.
128
148
  */
129
149
  hideBackButton?: boolean;
130
150
  /**
131
- * This callback is called when the close button is clicked. This is called even if {@link disableDefaultCloseAction}
132
- * is set to true.
151
+ * Called when the header's close/minimize button is clicked. By default Carbon AI Chat will run its normal close
152
+ * behavior (which collapses the experience) before this callback fires; set {@link disableDefaultCloseAction} to true
153
+ * if you plan to intercept the event and manage closing yourself. The callback still fires even when the default
154
+ * action is disabled.
133
155
  */
134
156
  onClickClose?: () => void;
135
157
  /**
136
- * Called when the restart button is clicked.
158
+ * Called when the restart button in the header is clicked. Use this to trigger a conversation reset or your own
159
+ * telemetry when the restart control is surfaced.
137
160
  */
138
161
  onClickRestart?: () => void;
139
162
  /**
140
- * This callback is called when the back button is clicked.
163
+ * Called after the header's back button is clicked. The panel automatically closes before this callback is invoked,
164
+ * so you can safely run follow-up logic or analytics once the panel has been dismissed.
141
165
  */
142
166
  onClickBack?: () => void;
167
+ /**
168
+ * Determines if the panel open/close animation should be turned off.
169
+ */
170
+ disableAnimation?: boolean;
171
+ /**
172
+ * Disables the default action that is taken when the close button is clicked. Normally clicking the close/minimize
173
+ * button will run Carbon AI Chat's standard close routine (after verifying no view change is in progress). Set this
174
+ * to true when you want to keep the experience open or handle closing asynchronously; you'll need to perform the
175
+ * desired close work inside {@link onClickClose}.
176
+ */
177
+ disableDefaultCloseAction?: boolean;
143
178
  }
144
179
  /**
145
- * Options that change how the custom panel looks.
180
+ * Options supported by the default custom panel implementation.
146
181
  *
147
- * @category Instance
182
+ * When {@link hideBackButton} is set to true, any {@link title} value defined here will override the title/name in
183
+ * the main chat header.
148
184
  */
149
- interface CustomPanelConfigOptions extends BasePanelConfigOptions {
185
+ interface DefaultCustomPanelConfigOptions {
150
186
  /**
151
- * Determines if the panel open/close animation should be turned off.
187
+ * The panel title displayed in the custom panel header. When a back button is visible the inherited header remains
188
+ * on screen above the panel so this title acts like a breadcrumb; when the back button is hidden, the header fills
189
+ * the panel chrome and this title becomes the primary heading within the overlay.
190
+ */
191
+ title?: string;
192
+ /**
193
+ * Determines if the panel open/close animation should be turned off. By default, the panel will animate up from the
194
+ * bottom of the chat window.
152
195
  */
153
196
  disableAnimation?: boolean;
154
197
  /**
155
- * Disables the default action that is taken when the close button is clicked. The default
156
- * action closes Carbon AI Chat and disabling this will cause the button to not do anything. You can override the button
157
- * behavior by using the {@link onClickClose} callback.
198
+ * Indicates if the back button in the custom panel should be hidden.
158
199
  */
159
- disableDefaultCloseAction?: boolean;
200
+ hideBackButton?: boolean;
160
201
  }
202
+ /**
203
+ * Options accepted by {@link CustomPanelInstance.open}. Legacy consumers may continue to pass
204
+ * {@link CustomPanelConfigOptions} until the next major release.
205
+ */
206
+ type CustomPanelOpenOptions = CustomPanelConfigOptions | DefaultCustomPanelConfigOptions;
161
207
 
162
208
  /*
163
209
  * Copyright IBM Corp. 2025
@@ -3054,6 +3100,17 @@ interface PublicInputState {
3054
3100
  */
3055
3101
  rawValue: string;
3056
3102
  }
3103
+ /**
3104
+ * Represents public state for each supported custom panel variant.
3105
+ */
3106
+ interface PublicDefaultCustomPanelState {
3107
+ /** Indicates if the default custom panel overlay is currently open. */
3108
+ isOpen: boolean;
3109
+ }
3110
+ interface PublicCustomPanelsState {
3111
+ /** State for the default overlay-style custom panel. */
3112
+ default: PublicDefaultCustomPanelState;
3113
+ }
3057
3114
  type PublicChatState = Readonly<Omit<PersistedState, "humanAgentState"> & {
3058
3115
  /**
3059
3116
  * Current human agent state.
@@ -3076,6 +3133,10 @@ type PublicChatState = Readonly<Omit<PersistedState, "humanAgentState"> & {
3076
3133
  * @experimental State representing the main input surface.
3077
3134
  */
3078
3135
  input: PublicInputState;
3136
+ /**
3137
+ * @experimental State for any surfaced custom panels.
3138
+ */
3139
+ customPanels: PublicCustomPanelsState;
3079
3140
  }>;
3080
3141
  interface ChatInstanceInput {
3081
3142
  /**
@@ -4583,5 +4644,5 @@ declare enum PageObjectId {
4583
4644
  */
4584
4645
  type TestId = PageObjectId;
4585
4646
 
4586
- export { LayoutCustomProperties as L, WriteableElementName as W, BusEventType as a1, FeedbackInteractionType as a3, MessageSendSource as a4, ViewChangeReason as a5, FileStatusValue as aA, ScreenShareState as aC, ButtonItemKind as aT, ButtonItemType as aU, CancellationReason as aa, CarbonTheme as ad, enLanguagePack as ag, MinimizeButtonIconType as al, OnErrorType as an, HumanAgentsOnlineStatus as av, ErrorType as az, HumanAgentMessageType as bD, ChainOfThoughtStepStatus as bF, UserType as bN, MessageErrorState as bP, PageObjectId as bX, IFrameItemDisplayOption as ba, MessageInputType as bk, MessageResponseTypes as bp, OptionItemPreference as br, WidthOptions as bz, ViewType as c, CornersType as q };
4587
- export type { BusEventReset as $, BusEventChatReady as A, BusEventViewPreChange as B, ChatContainerProps as C, BusEventChunkUserDefinedResponse as D, EventBusHandler as E, FileUploadCapabilities as F, BusEventClosePanelButtonClicked as G, BusEventCustomPanelClose as H, IncreaseOrDecrease as I, BusEventCustomPanelOpen as J, BusEventCustomPanelPreClose as K, BusEventCustomPanelPreOpen as M, NotificationMessage as N, BusEventFeedback as O, PersistedState as P, BusEventHistoryBegin as Q, BusEventHistoryEnd as R, SendOptions as S, TypeAndHandler as T, BusEventMessageItemCustom as U, ViewState as V, BusEventPreReceive as X, BusEventPreReset as Y, BusEventPreSend as Z, BusEventReceive as _, ChatInstance as a, ConversationalSearchItem as a$, BusEventSend as a0, BusEventUserDefinedResponse as a2, HomeScreenConfig as a6, HomeScreenStarterButton as a7, HomeScreenStarterButtons as a8, HomeScreenState as a9, FileUpload as aB, ServiceDesk as aD, ServiceDeskCallback as aE, ServiceDeskCapabilities as aF, ServiceDeskErrorInfo as aG, ServiceDeskFactoryParameters as aH, ServiceDeskPublicConfig as aI, StartChatOptions as aJ, UserMessageErrorInfo as aK, BaseGenericItem as aL, MessageResponseOptions as aM, MessageResponseHistory as aN, MessageRequestHistory as aO, ResponseUserProfile as aP, AudioItem as aQ, BaseMessageInput as aR, ButtonItem as aS, CardItem as aV, CarouselItem as aW, Chunk as aX, CompleteItemChunk as aY, ConnectToHumanAgentItem as aZ, ConnectToHumanAgentItemTransferInfo as a_, ChatInstanceMessaging as ab, CustomSendMessageOptions as ac, CustomMenuOption as ae, DisclaimerPublicConfig as af, HeaderConfig as ah, InputConfig as ai, LanguagePack as aj, LayoutConfig as ak, OnErrorData as am, PublicConfig as ao, PublicConfigMessaging as ap, PersistedHumanAgentState as aq, DeepPartial as ar, ObjectMap as as, AdditionalDataToAgent as at, AgentAvailability as au, ConnectingErrorInfo as aw, DisconnectedErrorInfo as ax, EndChatInfo as ay, BusEventViewChange as b, ConversationalSearchItemCitation as b0, DateItem as b1, EventInput as b2, EventInputData as b3, FinalResponseChunk as b4, GenericItem as b5, GenericItemMessageFeedbackCategories as b6, GridItem as b7, HorizontalCellAlignment as b8, IFrameItem as b9, WithBodyAndFooter as bA, WithWidthOptions as bB, SingleOption as bC, ChainOfThoughtStep as bE, GenericItemMessageFeedbackOptions as bG, GenericItemMessageOptions as bH, Message as bI, PartialOrCompleteItemChunk as bJ, PartialResponse as bK, MessageHistoryFeedback as bL, SearchResult as bM, HistoryItem as bO, LauncherCallToActionConfig as bQ, LauncherConfig as bR, CdsAiChatContainerAttributes as bS, CdsAiChatCustomElementAttributes as bT, RenderUserDefinedResponse as bU, RenderUserDefinedState as bV, RenderWriteableElementResponse as bW, TestId as bY, ImageItem as bb, InlineErrorItem as bc, ItemStreamingMetadata as bd, MediaItem as be, MediaItemDimensions as bf, MediaSubtitleTrack as bg, MediaTranscript as bh, MediaFileAccessibility as bi, MessageInput as bj, MessageItemPanelInfo as bl, MessageOutput as bm, MessageRequest as bn, MessageResponse as bo, OptionItem as bq, PartialItemChunk as bs, PauseItem as bt, StreamChunk as bu, TextItem as bv, UserDefinedItem as bw, VerticalCellAlignment as bx, VideoItem as by, ChatHeaderConfig as d, CustomPanelConfigOptions as e, CustomPanelInstance as f, CustomPanels as g, ChangeFunction as h, ChatInstanceInput as i, ChatInstanceNotifications as j, ChatInstanceServiceDeskActions as k, EventHandlers as l, PublicInputState as m, PublicChatHumanAgentState as n, PublicChatState as o, WriteableElements as p, BusEvent as r, BusEventHumanAgentAreAnyAgentsOnline as s, BusEventHumanAgentEndChat as t, BusEventHumanAgentPreEndChat as u, BusEventHumanAgentPreReceive as v, BusEventHumanAgentPreSend as w, BusEventHumanAgentPreStartChat as x, BusEventHumanAgentReceive as y, BusEventHumanAgentSend as z };
4647
+ export { LayoutCustomProperties as L, PanelType as P, WriteableElementName as W, BusEventType as a6, FeedbackInteractionType as a8, MessageSendSource as a9, HumanAgentsOnlineStatus as aA, ErrorType as aE, FileStatusValue as aF, ScreenShareState as aH, ButtonItemKind as aY, ButtonItemType as aZ, ViewChangeReason as aa, CancellationReason as af, CarbonTheme as ai, enLanguagePack as al, MinimizeButtonIconType as aq, OnErrorType as as, WidthOptions as bE, HumanAgentMessageType as bI, ChainOfThoughtStepStatus as bK, UserType as bS, MessageErrorState as bU, IFrameItemDisplayOption as bf, MessageInputType as bp, MessageResponseTypes as bu, OptionItemPreference as bw, ViewType as c, PageObjectId as c0, CornersType as u };
4648
+ export type { BusEventMessageItemCustom as $, BusEventHumanAgentPreSend as A, BusEventViewPreChange as B, ChatContainerProps as C, DefaultCustomPanelConfigOptions as D, EventBusHandler as E, FileUploadCapabilities as F, BusEventHumanAgentPreStartChat as G, BusEventHumanAgentReceive as H, IncreaseOrDecrease as I, BusEventHumanAgentSend as J, BusEventChatReady as K, BusEventChunkUserDefinedResponse as M, NotificationMessage as N, BusEventClosePanelButtonClicked as O, BusEventCustomPanelClose as Q, BusEventCustomPanelOpen as R, SendOptions as S, TypeAndHandler as T, BusEventCustomPanelPreClose as U, ViewState as V, BusEventCustomPanelPreOpen as X, BusEventFeedback as Y, BusEventHistoryBegin as Z, BusEventHistoryEnd as _, ChatInstance as a, CarouselItem as a$, BusEventPreReceive as a0, BusEventPreReset as a1, BusEventPreSend as a2, BusEventReceive as a3, BusEventReset as a4, BusEventSend as a5, BusEventUserDefinedResponse as a7, ConnectingErrorInfo as aB, DisconnectedErrorInfo as aC, EndChatInfo as aD, FileUpload as aG, ServiceDesk as aI, ServiceDeskCallback as aJ, ServiceDeskCapabilities as aK, ServiceDeskErrorInfo as aL, ServiceDeskFactoryParameters as aM, ServiceDeskPublicConfig as aN, StartChatOptions as aO, UserMessageErrorInfo as aP, BaseGenericItem as aQ, MessageResponseOptions as aR, MessageResponseHistory as aS, MessageRequestHistory as aT, ResponseUserProfile as aU, AudioItem as aV, BaseMessageInput as aW, ButtonItem as aX, CardItem as a_, HomeScreenConfig as ab, HomeScreenStarterButton as ac, HomeScreenStarterButtons as ad, HomeScreenState as ae, ChatInstanceMessaging as ag, CustomSendMessageOptions as ah, CustomMenuOption as aj, DisclaimerPublicConfig as ak, HeaderConfig as am, InputConfig as an, LanguagePack as ao, LayoutConfig as ap, OnErrorData as ar, PublicConfig as at, PublicConfigMessaging as au, PersistedHumanAgentState as av, DeepPartial as aw, ObjectMap as ax, AdditionalDataToAgent as ay, AgentAvailability as az, BusEventViewChange as b, RenderWriteableElementResponse as b$, Chunk as b0, CompleteItemChunk as b1, ConnectToHumanAgentItem as b2, ConnectToHumanAgentItemTransferInfo as b3, ConversationalSearchItem as b4, ConversationalSearchItemCitation as b5, DateItem as b6, EventInput as b7, EventInputData as b8, FinalResponseChunk as b9, TextItem as bA, UserDefinedItem as bB, VerticalCellAlignment as bC, VideoItem as bD, WithBodyAndFooter as bF, WithWidthOptions as bG, SingleOption as bH, ChainOfThoughtStep as bJ, GenericItemMessageFeedbackOptions as bL, GenericItemMessageOptions as bM, Message as bN, PartialOrCompleteItemChunk as bO, PartialResponse as bP, MessageHistoryFeedback as bQ, SearchResult as bR, HistoryItem as bT, LauncherCallToActionConfig as bV, LauncherConfig as bW, CdsAiChatContainerAttributes as bX, CdsAiChatCustomElementAttributes as bY, RenderUserDefinedResponse as bZ, RenderUserDefinedState as b_, GenericItem as ba, GenericItemMessageFeedbackCategories as bb, GridItem as bc, HorizontalCellAlignment as bd, IFrameItem as be, ImageItem as bg, InlineErrorItem as bh, ItemStreamingMetadata as bi, MediaItem as bj, MediaItemDimensions as bk, MediaSubtitleTrack as bl, MediaTranscript as bm, MediaFileAccessibility as bn, MessageInput as bo, MessageItemPanelInfo as bq, MessageOutput as br, MessageRequest as bs, MessageResponse as bt, OptionItem as bv, PartialItemChunk as bx, PauseItem as by, StreamChunk as bz, TestId as c1, PersistedState as d, ChatHeaderConfig as e, CustomPanelConfigOptions as f, CustomPanelInstance as g, CustomPanels as h, CustomPanelOpenOptions as i, ChangeFunction as j, ChatInstanceInput as k, ChatInstanceNotifications as l, ChatInstanceServiceDeskActions as m, EventHandlers as n, PublicInputState as o, PublicCustomPanelsState as p, PublicDefaultCustomPanelState as q, PublicChatHumanAgentState as r, PublicChatState as s, WriteableElements as t, BusEvent as v, BusEventHumanAgentAreAnyAgentsOnline as w, BusEventHumanAgentEndChat as x, BusEventHumanAgentPreEndChat as y, BusEventHumanAgentPreReceive as z };
@@ -1,4 +1,4 @@
1
- export { at as AdditionalDataToAgent, au as AgentAvailability, aQ as AudioItem, aL as BaseGenericItem, aR as BaseMessageInput, r as BusEvent, A as BusEventChatReady, D as BusEventChunkUserDefinedResponse, G as BusEventClosePanelButtonClicked, H as BusEventCustomPanelClose, J as BusEventCustomPanelOpen, K as BusEventCustomPanelPreClose, M as BusEventCustomPanelPreOpen, O as BusEventFeedback, Q as BusEventHistoryBegin, R as BusEventHistoryEnd, s as BusEventHumanAgentAreAnyAgentsOnline, t as BusEventHumanAgentEndChat, u as BusEventHumanAgentPreEndChat, v as BusEventHumanAgentPreReceive, w as BusEventHumanAgentPreSend, x as BusEventHumanAgentPreStartChat, y as BusEventHumanAgentReceive, z as BusEventHumanAgentSend, U as BusEventMessageItemCustom, X as BusEventPreReceive, Y as BusEventPreReset, Z as BusEventPreSend, _ as BusEventReceive, $ as BusEventReset, a0 as BusEventSend, a1 as BusEventType, a2 as BusEventUserDefinedResponse, b as BusEventViewChange, B as BusEventViewPreChange, aS as ButtonItem, aT as ButtonItemKind, aU as ButtonItemType, aa as CancellationReason, ad as CarbonTheme, aV as CardItem, aW as CarouselItem, bS as CdsAiChatContainerAttributes, bT as CdsAiChatCustomElementAttributes, bE as ChainOfThoughtStep, bF as ChainOfThoughtStepStatus, d as ChatHeaderConfig, a as ChatInstance, i as ChatInstanceInput, ab as ChatInstanceMessaging, j as ChatInstanceNotifications, k as ChatInstanceServiceDeskActions, aX as Chunk, aY as CompleteItemChunk, aZ as ConnectToHumanAgentItem, a_ as ConnectToHumanAgentItemTransferInfo, aw as ConnectingErrorInfo, a$ as ConversationalSearchItem, b0 as ConversationalSearchItemCitation, q as CornersType, ae as CustomMenuOption, e as CustomPanelConfigOptions, f as CustomPanelInstance, g as CustomPanels, ac as CustomSendMessageOptions, b1 as DateItem, ar as DeepPartial, af as DisclaimerPublicConfig, ax as DisconnectedErrorInfo, ay as EndChatInfo, az as ErrorType, E as EventBusHandler, l as EventHandlers, b2 as EventInput, b3 as EventInputData, a3 as FeedbackInteractionType, aA as FileStatusValue, aB as FileUpload, F as FileUploadCapabilities, b4 as FinalResponseChunk, b5 as GenericItem, b6 as GenericItemMessageFeedbackCategories, bG as GenericItemMessageFeedbackOptions, bH as GenericItemMessageOptions, b7 as GridItem, ah as HeaderConfig, bO as HistoryItem, a6 as HomeScreenConfig, a7 as HomeScreenStarterButton, a8 as HomeScreenStarterButtons, a9 as HomeScreenState, b8 as HorizontalCellAlignment, bD as HumanAgentMessageType, av as HumanAgentsOnlineStatus, b9 as IFrameItem, ba as IFrameItemDisplayOption, bb as ImageItem, I as IncreaseOrDecrease, bc as InlineErrorItem, ai as InputConfig, bd as ItemStreamingMetadata, aj as LanguagePack, bQ as LauncherCallToActionConfig, bR as LauncherConfig, ak as LayoutConfig, L as LayoutCustomProperties, bi as MediaFileAccessibility, be as MediaItem, bf as MediaItemDimensions, bg as MediaSubtitleTrack, bh as MediaTranscript, bI as Message, bP as MessageErrorState, bL as MessageHistoryFeedback, bj as MessageInput, bk as MessageInputType, bl as MessageItemPanelInfo, bm as MessageOutput, bn as MessageRequest, aO as MessageRequestHistory, bo as MessageResponse, aN as MessageResponseHistory, aM as MessageResponseOptions, bp as MessageResponseTypes, a4 as MessageSendSource, al as MinimizeButtonIconType, N as NotificationMessage, as as ObjectMap, am as OnErrorData, an as OnErrorType, bq as OptionItem, br as OptionItemPreference, bX as PageObjectId, bs as PartialItemChunk, bJ as PartialOrCompleteItemChunk, bK as PartialResponse, bt as PauseItem, aq as PersistedHumanAgentState, P as PersistedState, n as PublicChatHumanAgentState, o as PublicChatState, ao as PublicConfig, ap as PublicConfigMessaging, m as PublicInputState, bU as RenderUserDefinedResponse, bV as RenderUserDefinedState, bW as RenderWriteableElementResponse, aP as ResponseUserProfile, aC as ScreenShareState, bM as SearchResult, S as SendOptions, aD as ServiceDesk, aE as ServiceDeskCallback, aF as ServiceDeskCapabilities, aG as ServiceDeskErrorInfo, aH as ServiceDeskFactoryParameters, aI as ServiceDeskPublicConfig, bC as SingleOption, aJ as StartChatOptions, bu as StreamChunk, bY as TestId, bv as TextItem, T as TypeAndHandler, bw as UserDefinedItem, aK as UserMessageErrorInfo, bN as UserType, bx as VerticalCellAlignment, by as VideoItem, a5 as ViewChangeReason, V as ViewState, c as ViewType, bz as WidthOptions, bA as WithBodyAndFooter, bB as WithWidthOptions, W as WriteableElementName, p as WriteableElements, ag as enLanguagePack } from './serverEntry-BN03ML3a.js';
1
+ export { ay as AdditionalDataToAgent, az as AgentAvailability, aV as AudioItem, aQ as BaseGenericItem, aW as BaseMessageInput, v as BusEvent, K as BusEventChatReady, M as BusEventChunkUserDefinedResponse, O as BusEventClosePanelButtonClicked, Q as BusEventCustomPanelClose, R as BusEventCustomPanelOpen, U as BusEventCustomPanelPreClose, X as BusEventCustomPanelPreOpen, Y as BusEventFeedback, Z as BusEventHistoryBegin, _ as BusEventHistoryEnd, w as BusEventHumanAgentAreAnyAgentsOnline, x as BusEventHumanAgentEndChat, y as BusEventHumanAgentPreEndChat, z as BusEventHumanAgentPreReceive, A as BusEventHumanAgentPreSend, G as BusEventHumanAgentPreStartChat, H as BusEventHumanAgentReceive, J as BusEventHumanAgentSend, $ as BusEventMessageItemCustom, a0 as BusEventPreReceive, a1 as BusEventPreReset, a2 as BusEventPreSend, a3 as BusEventReceive, a4 as BusEventReset, a5 as BusEventSend, a6 as BusEventType, a7 as BusEventUserDefinedResponse, b as BusEventViewChange, B as BusEventViewPreChange, aX as ButtonItem, aY as ButtonItemKind, aZ as ButtonItemType, af as CancellationReason, ai as CarbonTheme, a_ as CardItem, a$ as CarouselItem, bX as CdsAiChatContainerAttributes, bY as CdsAiChatCustomElementAttributes, bJ as ChainOfThoughtStep, bK as ChainOfThoughtStepStatus, e as ChatHeaderConfig, a as ChatInstance, k as ChatInstanceInput, ag as ChatInstanceMessaging, l as ChatInstanceNotifications, m as ChatInstanceServiceDeskActions, b0 as Chunk, b1 as CompleteItemChunk, b2 as ConnectToHumanAgentItem, b3 as ConnectToHumanAgentItemTransferInfo, aB as ConnectingErrorInfo, b4 as ConversationalSearchItem, b5 as ConversationalSearchItemCitation, u as CornersType, aj as CustomMenuOption, f as CustomPanelConfigOptions, g as CustomPanelInstance, i as CustomPanelOpenOptions, h as CustomPanels, ah as CustomSendMessageOptions, b6 as DateItem, aw as DeepPartial, D as DefaultCustomPanelConfigOptions, ak as DisclaimerPublicConfig, aC as DisconnectedErrorInfo, aD as EndChatInfo, aE as ErrorType, E as EventBusHandler, n as EventHandlers, b7 as EventInput, b8 as EventInputData, a8 as FeedbackInteractionType, aF as FileStatusValue, aG as FileUpload, F as FileUploadCapabilities, b9 as FinalResponseChunk, ba as GenericItem, bb as GenericItemMessageFeedbackCategories, bL as GenericItemMessageFeedbackOptions, bM as GenericItemMessageOptions, bc as GridItem, am as HeaderConfig, bT as HistoryItem, ab as HomeScreenConfig, ac as HomeScreenStarterButton, ad as HomeScreenStarterButtons, ae as HomeScreenState, bd as HorizontalCellAlignment, bI as HumanAgentMessageType, aA as HumanAgentsOnlineStatus, be as IFrameItem, bf as IFrameItemDisplayOption, bg as ImageItem, I as IncreaseOrDecrease, bh as InlineErrorItem, an as InputConfig, bi as ItemStreamingMetadata, ao as LanguagePack, bV as LauncherCallToActionConfig, bW as LauncherConfig, ap as LayoutConfig, L as LayoutCustomProperties, bn as MediaFileAccessibility, bj as MediaItem, bk as MediaItemDimensions, bl as MediaSubtitleTrack, bm as MediaTranscript, bN as Message, bU as MessageErrorState, bQ as MessageHistoryFeedback, bo as MessageInput, bp as MessageInputType, bq as MessageItemPanelInfo, br as MessageOutput, bs as MessageRequest, aT as MessageRequestHistory, bt as MessageResponse, aS as MessageResponseHistory, aR as MessageResponseOptions, bu as MessageResponseTypes, a9 as MessageSendSource, aq as MinimizeButtonIconType, N as NotificationMessage, ax as ObjectMap, ar as OnErrorData, as as OnErrorType, bv as OptionItem, bw as OptionItemPreference, c0 as PageObjectId, P as PanelType, bx as PartialItemChunk, bO as PartialOrCompleteItemChunk, bP as PartialResponse, by as PauseItem, av as PersistedHumanAgentState, d as PersistedState, r as PublicChatHumanAgentState, s as PublicChatState, at as PublicConfig, au as PublicConfigMessaging, p as PublicCustomPanelsState, q as PublicDefaultCustomPanelState, o as PublicInputState, bZ as RenderUserDefinedResponse, b_ as RenderUserDefinedState, b$ as RenderWriteableElementResponse, aU as ResponseUserProfile, aH as ScreenShareState, bR as SearchResult, S as SendOptions, aI as ServiceDesk, aJ as ServiceDeskCallback, aK as ServiceDeskCapabilities, aL as ServiceDeskErrorInfo, aM as ServiceDeskFactoryParameters, aN as ServiceDeskPublicConfig, bH as SingleOption, aO as StartChatOptions, bz as StreamChunk, c1 as TestId, bA as TextItem, T as TypeAndHandler, bB as UserDefinedItem, aP as UserMessageErrorInfo, bS as UserType, bC as VerticalCellAlignment, bD as VideoItem, aa as ViewChangeReason, V as ViewState, c as ViewType, bE as WidthOptions, bF as WithBodyAndFooter, bG as WithWidthOptions, W as WriteableElementName, t as WriteableElements, al as enLanguagePack } from './serverEntry-BMoPx5K4.js';
2
2
  import '@carbon/web-components/es/components/notification/defs.js';
3
3
  import '@carbon/web-components/es/components/button/defs.js';
4
4
  import 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/ai-chat",
3
- "version": "1.3.0-rc.0",
3
+ "version": "1.3.0",
4
4
  "description": "Be sure to review the [chat documentation](https://chat.carbondesignsystem.com/tag/latest/docs/documents/Overview.html).",
5
5
  "author": "IBM Corp",
6
6
  "license": "Apache-2.0",
@@ -133,7 +133,7 @@
133
133
  "react-dom": ">=17.0.0 <20.0.0"
134
134
  },
135
135
  "dependencies": {
136
- "@carbon/ai-chat-components": "^0.5.0-rc.0",
136
+ "@carbon/ai-chat-components": "^0.5.0",
137
137
  "@ibm/telemetry-js": "^1.10.2",
138
138
  "@lit/react": "^1.0.6",
139
139
  "classnames": "^2.5.0",
@@ -171,5 +171,5 @@
171
171
  "url": "https://github.com/carbon-design-system/carbon-ai-chat/issues"
172
172
  },
173
173
  "homepage": "https://github.com/carbon-design-system/carbon-ai-chat#readme",
174
- "gitHead": "e2f1a5e76c57bfca5b8b7fd0701eee7ed84a7fdb"
174
+ "gitHead": "777733162ea8b32241e716895ad443c2d32cb39b"
175
175
  }