@carbon/ai-chat 1.11.0 → 1.12.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.
Files changed (28) hide show
  1. package/dist/es/aiChatEntry.js +4 -10
  2. package/dist/es/aiChatEntry.js.map +1 -1
  3. package/dist/es/chat.ChatAppEntry.js +251 -208
  4. package/dist/es/chat.ChatAppEntry.js.map +1 -1
  5. package/dist/es/chat.languageUtils.js +1 -17
  6. package/dist/es/chat.languageUtils.js.map +1 -1
  7. package/dist/es/serverEntry.js +3 -7
  8. package/dist/es/serverEntry.js.map +1 -1
  9. package/dist/es/web-components/cds-aichat-container/index.js +3 -9
  10. package/dist/es/web-components/cds-aichat-container/index.js.map +1 -1
  11. package/dist/es/web-components/cds-aichat-custom-element/index.js +3 -9
  12. package/dist/es/web-components/cds-aichat-custom-element/index.js.map +1 -1
  13. package/dist/es-custom/aiChatEntry.js +4 -10
  14. package/dist/es-custom/aiChatEntry.js.map +1 -1
  15. package/dist/es-custom/chat.ChatAppEntry.js +251 -208
  16. package/dist/es-custom/chat.ChatAppEntry.js.map +1 -1
  17. package/dist/es-custom/chat.languageUtils.js +1 -17
  18. package/dist/es-custom/chat.languageUtils.js.map +1 -1
  19. package/dist/es-custom/serverEntry.js +3 -7
  20. package/dist/es-custom/serverEntry.js.map +1 -1
  21. package/dist/es-custom/web-components/cds-aichat-container/index.js +3 -9
  22. package/dist/es-custom/web-components/cds-aichat-container/index.js.map +1 -1
  23. package/dist/es-custom/web-components/cds-aichat-custom-element/index.js +3 -9
  24. package/dist/es-custom/web-components/cds-aichat-custom-element/index.js.map +1 -1
  25. package/dist/types/aiChatEntry.d.ts +4 -2
  26. package/dist/types/{serverEntry-DGYva2n0.d.ts → serverEntry-CFWZAY6J.d.ts} +55 -47
  27. package/dist/types/serverEntry.d.ts +1 -1
  28. package/package.json +6 -6
@@ -4817,6 +4817,33 @@ interface HistoryConfig {
4817
4817
  * Indicates if the history panel should be shown.
4818
4818
  */
4819
4819
  isOn?: boolean;
4820
+ /**
4821
+ * Controls whether the mobile menu options (New chat, View chats) should be shown
4822
+ * in the header when the history panel is in mobile mode.
4823
+ *
4824
+ * When true (default), the mobile menu will appear in the header on small screens,
4825
+ * providing quick access to start a new chat or view chat history.
4826
+ *
4827
+ * When false, the mobile menu will be hidden even when in mobile mode.
4828
+ *
4829
+ * @default true
4830
+ */
4831
+ showMobileMenu?: boolean;
4832
+ /**
4833
+ * Controls whether history starts closed and enables state preservation across mode changes.
4834
+ *
4835
+ * When false (default):
4836
+ * - Desktop starts open, mobile starts closed
4837
+ * - Resizing between modes resets to default state
4838
+ *
4839
+ * When true:
4840
+ * - Both desktop and mobile start closed
4841
+ * - User's open/closed state is preserved when resizing between modes
4842
+ * - Enables external control via: instance.customPanels.getPanel(PanelType.HISTORY).open()/close()
4843
+ *
4844
+ * @default false
4845
+ */
4846
+ startClosed?: boolean;
4820
4847
  }
4821
4848
  /**
4822
4849
  * @category Config
@@ -5051,51 +5078,6 @@ interface PersistedHumanAgentState {
5051
5078
  serviceDeskState?: unknown;
5052
5079
  }
5053
5080
 
5054
- /**
5055
- * The status of a single pending file upload.
5056
- *
5057
- * - `UPLOADING` — the upload is in progress; the send button is disabled.
5058
- * - `COMPLETE` — the upload finished successfully; `contributedData` is populated.
5059
- * - `ERROR` — the upload failed; `errorMessage` is populated.
5060
- *
5061
- * @experimental
5062
- */
5063
- declare enum PendingUploadStatus {
5064
- UPLOADING = "uploading",
5065
- COMPLETE = "complete",
5066
- ERROR = "error"
5067
- }
5068
- /**
5069
- * Internal state for a single file that is being (or has been) uploaded via
5070
- * {@link UploadConfig.onFileUpload}. Stored in {@link InputState.pendingUploads}.
5071
- *
5072
- * This type is **internal** — it is not part of the public API surface.
5073
- *
5074
- * @experimental
5075
- */
5076
- interface PendingUpload {
5077
- /**
5078
- * Stable unique identifier for this upload, generated by the widget.
5079
- */
5080
- id: string;
5081
- /**
5082
- * The original `File` object selected by the user.
5083
- */
5084
- file: File;
5085
- /**
5086
- * Current lifecycle status of the upload.
5087
- */
5088
- status: PendingUploadStatus;
5089
- /**
5090
- * The `StructuredData` returned by `onFileUpload` once the upload completes.
5091
- * Only populated when `status === "complete"`.
5092
- */
5093
- contributedData?: StructuredData;
5094
- /**
5095
- * Human-readable error message when `status === "error"`.
5096
- */
5097
- errorMessage?: string;
5098
- }
5099
5081
  /**
5100
5082
  * Items stored in sessionStorage.
5101
5083
  *
@@ -5152,6 +5134,25 @@ interface PersistedState {
5152
5134
  */
5153
5135
  humanAgentState: PersistedHumanAgentState;
5154
5136
  }
5137
+ /**
5138
+ * The state information for a catastrophic error panel.
5139
+ *
5140
+ * @category Instance
5141
+ */
5142
+ interface CatastrophicErrorPanelState {
5143
+ /**
5144
+ * Whether the catastrophic error panel is currently open.
5145
+ */
5146
+ isOpen: boolean;
5147
+ /**
5148
+ * The error title to be displayed in the `CatastrophicErrorPanel`.
5149
+ */
5150
+ title?: string;
5151
+ /**
5152
+ * The error body text to be displayed in the `CatastrophicErrorPanel`. Will render markdown if provided.
5153
+ */
5154
+ bodyText?: string;
5155
+ }
5155
5156
 
5156
5157
  /**
5157
5158
  * Options for controlling how the scrolling occurs.
@@ -5493,6 +5494,13 @@ interface ChatActions {
5493
5494
  * @param animate Whether or not the scroll should be animated. Defaults to true.
5494
5495
  */
5495
5496
  scrollToMessage: (messageID: string, animate?: boolean) => void;
5497
+ /**
5498
+ * Fires an event that will open or close the Catastrophic Error Panel in the chat. This also accepts a
5499
+ * custom title and body text (markdown supported) to be displayed in the Catastrophic Error Panel.
5500
+ *
5501
+ * @param panelState The new state of the Catastrophic Error Panel, optionally including a custom title and body text.
5502
+ */
5503
+ updateCatastrophicErrorPanel: (panelState: CatastrophicErrorPanelState) => void;
5496
5504
  /**
5497
5505
  * Restarts the conversation with the assistant. This does not make any changes to a conversation with a human agent.
5498
5506
  * This will clear all the current assistant messages from the main assistant view and cancel any outstanding
@@ -6036,5 +6044,5 @@ interface CdsAiChatCustomElementAttributes extends PublicConfig {
6036
6044
  renderUserDefinedResponse?: WCRenderUserDefinedResponse;
6037
6045
  }
6038
6046
 
6039
- export { BusEventType as N, ButtonItemKind as V, ButtonItemType as W, CancellationReason as X, CarbonTheme as Y, HeaderMenuClickType as aK, HumanAgentMessageType as aS, HumanAgentsOnlineStatus as aT, IFrameItemDisplayOption as aV, CornersType as ae, ErrorType as ar, FeedbackInteractionType as ax, FileStatusValue as az, LayoutCustomProperties as b5, PendingUploadStatus as bD, ReasoningStepOpenState as bR, ScreenShareState as bZ, MessageErrorState as bc, MessageInputType as bf, MessageResponseTypes as bn, MessageSendSource as bo, MinimizeButtonIconType as bp, OnErrorType as bs, OptionItemPreference as bu, PageObjectId as bv, PanelType as bw, UserType as cj, ViewChangeReason as cm, ViewType as co, WidthOptions as cq, WriteableElementName as cu, enLanguagePack as cw, loadAllLazyDeps as cx };
6040
- export type { CdsAiChatContainerAttributes as $, AdditionalDataToAgent as A, BusEventViewPreChange as B, ChatContainerProps as C, BusEventHumanAgentReceive as D, BusEventHumanAgentSend as E, BusEventMessageItemCustom as F, BusEventPreReceive as G, BusEventPreReset as H, BusEventPreSend as I, BusEventReceive as J, BusEventReset as K, BusEventSend as L, BusEventStateChange as M, BusEventUserDefinedResponse as O, PersistedState as P, BusEventWorkspaceClose as Q, BusEventWorkspaceOpen as R, BusEventWorkspacePreClose as S, BusEventWorkspacePreOpen as T, ButtonItem as U, CardItem as Z, CarouselItem as _, ChatInstance as a, ItemStreamingMetadata as a$, CdsAiChatCustomElementAttributes as a0, ChainOfThoughtStep as a1, ChangeFunction as a2, ChatInstanceInput as a3, ChatInstanceMessaging as a4, ChatInstanceServiceDeskActions as a5, ChatShortcutConfig as a6, Chunk as a7, CompleteItemChunk as a8, ConnectToHumanAgentItem as a9, FileUpload as aA, FileUploadCapabilities as aB, FinalResponseChunk as aC, GenericItem as aD, GenericItemCustomFooterSlotOptions as aE, GenericItemMessageFeedbackCategories as aF, GenericItemMessageFeedbackOptions as aG, GenericItemMessageOptions as aH, GridItem as aI, HeaderConfig as aJ, HistoryConfig as aL, HistoryItem as aM, HomeScreenConfig as aN, HomeScreenStarterButton as aO, HomeScreenStarterButtons as aP, HomeScreenState as aQ, HorizontalCellAlignment as aR, IFrameItem as aU, ImageItem as aW, IncreaseOrDecrease as aX, InlineErrorItem as aY, InlineFile as aZ, InputConfig as a_, ConnectToHumanAgentItemTransferInfo as aa, ConnectingErrorInfo as ab, ConversationalSearchItem as ac, ConversationalSearchItemCitation as ad, CustomMenuOption as af, CustomPanelConfigOptions as ag, CustomPanelInstance as ah, CustomPanelOpenOptions as ai, CustomPanels as aj, CustomSendMessageOptions as ak, DateItem as al, DeepPartial as am, DefaultCustomPanelConfigOptions as an, DisclaimerPublicConfig as ao, DisconnectedErrorInfo as ap, EndChatInfo as aq, EventBusHandler as as, EventHandlers as at, EventInput as au, EventInputData as av, ExternalFileReference as aw, FileFieldValue as ay, BusEventViewChange as b, SendOptions as b$, KeyboardShortcuts as b0, LanguagePack as b1, LauncherCallToActionConfig as b2, LauncherConfig as b3, LayoutConfig as b4, MediaFileAccessibility as b6, MediaItem as b7, MediaItemDimensions as b8, MediaSubtitleTrack as b9, PartialResponse as bA, PauseItem as bB, PendingUpload as bC, PerCornerConfig as bE, PersistedHumanAgentState as bF, PreviewCardItem as bG, PublicChatHumanAgentState as bH, PublicChatState as bI, PublicConfig as bJ, PublicConfigMessaging as bK, PublicCustomPanelsState as bL, PublicDefaultCustomPanelState as bM, PublicHistoryPanelState as bN, PublicInputState as bO, PublicWorkspaceCustomPanelState as bP, ReasoningStep as bQ, ReasoningSteps as bS, RenderCustomMessageFooter as bT, RenderUserDefinedResponse as bU, RenderUserDefinedState as bV, RenderWriteableElementResponse as bW, ResolvedCornerConfig as bX, ResponseUserProfile as bY, SearchResult as b_, MediaTranscript as ba, Message as bb, MessageHistoryFeedback as bd, MessageInput as be, MessageItemPanelInfo as bg, MessageOutput as bh, MessageRequest as bi, MessageRequestHistory as bj, MessageResponse as bk, MessageResponseHistory as bl, MessageResponseOptions as bm, ObjectMap as bq, OnErrorData as br, OptionItem as bt, PartialItemChunk as bx, PartialItemChunkWithId as by, PartialOrCompleteItemChunk as bz, AgentAvailability as c, ServiceDesk as c0, ServiceDeskCallback as c1, ServiceDeskCapabilities as c2, ServiceDeskErrorInfo as c3, ServiceDeskFactoryParameters as c4, ServiceDeskPublicConfig as c5, SingleOption as c6, StartChatOptions as c7, StreamChunk as c8, StructuredData as c9, StructuredField as ca, StructuredFieldType as cb, StructuredFieldValue as cc, TestId as cd, TextItem as ce, TypeAndHandler as cf, UploadConfig as cg, UserDefinedItem as ch, UserMessageErrorInfo as ci, VerticalCellAlignment as ck, VideoItem as cl, ViewState as cn, WCRenderUserDefinedResponse as cp, WithBodyAndFooter as cr, WithWidthOptions as cs, WorkspaceCustomPanelConfigOptions as ct, WriteableElements as cv, AudioItem as d, AutoScrollOptions as e, BaseGenericItem as f, BaseMessageInput as g, BusEvent as h, BusEventChatReady as i, BusEventChunkUserDefinedResponse as j, BusEventClosePanelButtonClicked as k, BusEventCustomFooterSlot as l, BusEventCustomPanelClose as m, BusEventCustomPanelOpen as n, BusEventCustomPanelPreClose as o, BusEventCustomPanelPreOpen as p, BusEventFeedback as q, BusEventHeaderMenuClick as r, BusEventHistoryBegin as s, BusEventHistoryEnd as t, BusEventHumanAgentAreAnyAgentsOnline as u, BusEventHumanAgentEndChat as v, BusEventHumanAgentPreEndChat as w, BusEventHumanAgentPreReceive as x, BusEventHumanAgentPreSend as y, BusEventHumanAgentPreStartChat as z };
6047
+ export { BusEventType as N, ButtonItemKind as V, ButtonItemType as W, CancellationReason as X, CarbonTheme as Y, FileStatusValue as aA, HeaderMenuClickType as aL, HumanAgentMessageType as aT, HumanAgentsOnlineStatus as aU, IFrameItemDisplayOption as aW, CornersType as af, ErrorType as as, FeedbackInteractionType as ay, LayoutCustomProperties as b6, ReasoningStepOpenState as bQ, ScreenShareState as bY, MessageErrorState as bd, MessageInputType as bg, MessageResponseTypes as bo, MessageSendSource as bp, MinimizeButtonIconType as bq, OnErrorType as bt, OptionItemPreference as bv, PageObjectId as bw, PanelType as bx, UserType as ci, ViewChangeReason as cl, ViewType as cn, WidthOptions as cp, WriteableElementName as ct, enLanguagePack as cv, loadAllLazyDeps as cw };
6048
+ export type { CatastrophicErrorPanelState as $, AdditionalDataToAgent as A, BusEventViewPreChange as B, ChatContainerProps as C, BusEventHumanAgentReceive as D, BusEventHumanAgentSend as E, BusEventMessageItemCustom as F, BusEventPreReceive as G, BusEventPreReset as H, BusEventPreSend as I, BusEventReceive as J, BusEventReset as K, BusEventSend as L, BusEventStateChange as M, BusEventUserDefinedResponse as O, PersistedState as P, BusEventWorkspaceClose as Q, BusEventWorkspaceOpen as R, BusEventWorkspacePreClose as S, BusEventWorkspacePreOpen as T, ButtonItem as U, CardItem as Z, CarouselItem as _, ChatInstance as a, InputConfig as a$, CdsAiChatContainerAttributes as a0, CdsAiChatCustomElementAttributes as a1, ChainOfThoughtStep as a2, ChangeFunction as a3, ChatInstanceInput as a4, ChatInstanceMessaging as a5, ChatInstanceServiceDeskActions as a6, ChatShortcutConfig as a7, Chunk as a8, CompleteItemChunk as a9, FileUpload as aB, FileUploadCapabilities as aC, FinalResponseChunk as aD, GenericItem as aE, GenericItemCustomFooterSlotOptions as aF, GenericItemMessageFeedbackCategories as aG, GenericItemMessageFeedbackOptions as aH, GenericItemMessageOptions as aI, GridItem as aJ, HeaderConfig as aK, HistoryConfig as aM, HistoryItem as aN, HomeScreenConfig as aO, HomeScreenStarterButton as aP, HomeScreenStarterButtons as aQ, HomeScreenState as aR, HorizontalCellAlignment as aS, IFrameItem as aV, ImageItem as aX, IncreaseOrDecrease as aY, InlineErrorItem as aZ, InlineFile as a_, ConnectToHumanAgentItem as aa, ConnectToHumanAgentItemTransferInfo as ab, ConnectingErrorInfo as ac, ConversationalSearchItem as ad, ConversationalSearchItemCitation as ae, CustomMenuOption as ag, CustomPanelConfigOptions as ah, CustomPanelInstance as ai, CustomPanelOpenOptions as aj, CustomPanels as ak, CustomSendMessageOptions as al, DateItem as am, DeepPartial as an, DefaultCustomPanelConfigOptions as ao, DisclaimerPublicConfig as ap, DisconnectedErrorInfo as aq, EndChatInfo as ar, EventBusHandler as at, EventHandlers as au, EventInput as av, EventInputData as aw, ExternalFileReference as ax, FileFieldValue as az, BusEventViewChange as b, ServiceDesk as b$, ItemStreamingMetadata as b0, KeyboardShortcuts as b1, LanguagePack as b2, LauncherCallToActionConfig as b3, LauncherConfig as b4, LayoutConfig as b5, MediaFileAccessibility as b7, MediaItem as b8, MediaItemDimensions as b9, PartialOrCompleteItemChunk as bA, PartialResponse as bB, PauseItem as bC, PerCornerConfig as bD, PersistedHumanAgentState as bE, PreviewCardItem as bF, PublicChatHumanAgentState as bG, PublicChatState as bH, PublicConfig as bI, PublicConfigMessaging as bJ, PublicCustomPanelsState as bK, PublicDefaultCustomPanelState as bL, PublicHistoryPanelState as bM, PublicInputState as bN, PublicWorkspaceCustomPanelState as bO, ReasoningStep as bP, ReasoningSteps as bR, RenderCustomMessageFooter as bS, RenderUserDefinedResponse as bT, RenderUserDefinedState as bU, RenderWriteableElementResponse as bV, ResolvedCornerConfig as bW, ResponseUserProfile as bX, SearchResult as bZ, SendOptions as b_, MediaSubtitleTrack as ba, MediaTranscript as bb, Message as bc, MessageHistoryFeedback as be, MessageInput as bf, MessageItemPanelInfo as bh, MessageOutput as bi, MessageRequest as bj, MessageRequestHistory as bk, MessageResponse as bl, MessageResponseHistory as bm, MessageResponseOptions as bn, ObjectMap as br, OnErrorData as bs, OptionItem as bu, PartialItemChunk as by, PartialItemChunkWithId as bz, AgentAvailability as c, ServiceDeskCallback as c0, ServiceDeskCapabilities as c1, ServiceDeskErrorInfo as c2, ServiceDeskFactoryParameters as c3, ServiceDeskPublicConfig as c4, SingleOption as c5, StartChatOptions as c6, StreamChunk as c7, StructuredData as c8, StructuredField as c9, StructuredFieldType as ca, StructuredFieldValue as cb, TestId as cc, TextItem as cd, TypeAndHandler as ce, UploadConfig as cf, UserDefinedItem as cg, UserMessageErrorInfo as ch, VerticalCellAlignment as cj, VideoItem as ck, ViewState as cm, WCRenderUserDefinedResponse as co, WithBodyAndFooter as cq, WithWidthOptions as cr, WorkspaceCustomPanelConfigOptions as cs, WriteableElements as cu, AudioItem as d, AutoScrollOptions as e, BaseGenericItem as f, BaseMessageInput as g, BusEvent as h, BusEventChatReady as i, BusEventChunkUserDefinedResponse as j, BusEventClosePanelButtonClicked as k, BusEventCustomFooterSlot as l, BusEventCustomPanelClose as m, BusEventCustomPanelOpen as n, BusEventCustomPanelPreClose as o, BusEventCustomPanelPreOpen as p, BusEventFeedback as q, BusEventHeaderMenuClick as r, BusEventHistoryBegin as s, BusEventHistoryEnd as t, BusEventHumanAgentAreAnyAgentsOnline as u, BusEventHumanAgentEndChat as v, BusEventHumanAgentPreEndChat as w, BusEventHumanAgentPreReceive as x, BusEventHumanAgentPreSend as y, BusEventHumanAgentPreStartChat as z };
@@ -1,4 +1,4 @@
1
- export { A as AdditionalDataToAgent, c as AgentAvailability, d as AudioItem, e as AutoScrollOptions, f as BaseGenericItem, g as BaseMessageInput, h as BusEvent, i as BusEventChatReady, j as BusEventChunkUserDefinedResponse, k as BusEventClosePanelButtonClicked, m as BusEventCustomPanelClose, n as BusEventCustomPanelOpen, o as BusEventCustomPanelPreClose, p as BusEventCustomPanelPreOpen, q as BusEventFeedback, r as BusEventHeaderMenuClick, s as BusEventHistoryBegin, t as BusEventHistoryEnd, u as BusEventHumanAgentAreAnyAgentsOnline, v as BusEventHumanAgentEndChat, w as BusEventHumanAgentPreEndChat, x as BusEventHumanAgentPreReceive, y as BusEventHumanAgentPreSend, z as BusEventHumanAgentPreStartChat, D as BusEventHumanAgentReceive, E as BusEventHumanAgentSend, F as BusEventMessageItemCustom, G as BusEventPreReceive, H as BusEventPreReset, I as BusEventPreSend, J as BusEventReceive, K as BusEventReset, L as BusEventSend, M as BusEventStateChange, N as BusEventType, O as BusEventUserDefinedResponse, b as BusEventViewChange, B as BusEventViewPreChange, Q as BusEventWorkspaceClose, R as BusEventWorkspaceOpen, S as BusEventWorkspacePreClose, T as BusEventWorkspacePreOpen, U as ButtonItem, V as ButtonItemKind, W as ButtonItemType, X as CancellationReason, Y as CarbonTheme, Z as CardItem, _ as CarouselItem, $ as CdsAiChatContainerAttributes, a0 as CdsAiChatCustomElementAttributes, a1 as ChainOfThoughtStep, a2 as ChangeFunction, a as ChatInstance, a3 as ChatInstanceInput, a4 as ChatInstanceMessaging, a5 as ChatInstanceServiceDeskActions, a6 as ChatShortcutConfig, a7 as Chunk, a8 as CompleteItemChunk, a9 as ConnectToHumanAgentItem, aa as ConnectToHumanAgentItemTransferInfo, ab as ConnectingErrorInfo, ac as ConversationalSearchItem, ad as ConversationalSearchItemCitation, ae as CornersType, af as CustomMenuOption, ag as CustomPanelConfigOptions, ah as CustomPanelInstance, ai as CustomPanelOpenOptions, aj as CustomPanels, ak as CustomSendMessageOptions, al as DateItem, am as DeepPartial, an as DefaultCustomPanelConfigOptions, ao as DisclaimerPublicConfig, ap as DisconnectedErrorInfo, aq as EndChatInfo, ar as ErrorType, as as EventBusHandler, at as EventHandlers, au as EventInput, av as EventInputData, aw as ExternalFileReference, ax as FeedbackInteractionType, ay as FileFieldValue, az as FileStatusValue, aA as FileUpload, aB as FileUploadCapabilities, aC as FinalResponseChunk, aD as GenericItem, aF as GenericItemMessageFeedbackCategories, aG as GenericItemMessageFeedbackOptions, aH as GenericItemMessageOptions, aI as GridItem, aJ as HeaderConfig, aK as HeaderMenuClickType, aL as HistoryConfig, aM as HistoryItem, aN as HomeScreenConfig, aO as HomeScreenStarterButton, aP as HomeScreenStarterButtons, aQ as HomeScreenState, aR as HorizontalCellAlignment, aS as HumanAgentMessageType, aT as HumanAgentsOnlineStatus, aU as IFrameItem, aV as IFrameItemDisplayOption, aW as ImageItem, aX as IncreaseOrDecrease, aY as InlineErrorItem, aZ as InlineFile, a_ as InputConfig, a$ as ItemStreamingMetadata, b0 as KeyboardShortcuts, b1 as LanguagePack, b2 as LauncherCallToActionConfig, b3 as LauncherConfig, b4 as LayoutConfig, b5 as LayoutCustomProperties, b6 as MediaFileAccessibility, b7 as MediaItem, b8 as MediaItemDimensions, b9 as MediaSubtitleTrack, ba as MediaTranscript, bb as Message, bc as MessageErrorState, bd as MessageHistoryFeedback, be as MessageInput, bf as MessageInputType, bg as MessageItemPanelInfo, bh as MessageOutput, bi as MessageRequest, bj as MessageRequestHistory, bk as MessageResponse, bl as MessageResponseHistory, bm as MessageResponseOptions, bn as MessageResponseTypes, bo as MessageSendSource, bp as MinimizeButtonIconType, bq as ObjectMap, br as OnErrorData, bs as OnErrorType, bt as OptionItem, bu as OptionItemPreference, bv as PageObjectId, bw as PanelType, bx as PartialItemChunk, by as PartialItemChunkWithId, bz as PartialOrCompleteItemChunk, bA as PartialResponse, bB as PauseItem, bC as PendingUpload, bD as PendingUploadStatus, bF as PersistedHumanAgentState, P as PersistedState, bG as PreviewCardItem, bH as PublicChatHumanAgentState, bI as PublicChatState, bJ as PublicConfig, bK as PublicConfigMessaging, bL as PublicCustomPanelsState, bM as PublicDefaultCustomPanelState, bN as PublicHistoryPanelState, bO as PublicInputState, bP as PublicWorkspaceCustomPanelState, bQ as ReasoningStep, bR as ReasoningStepOpenState, bS as ReasoningSteps, bT as RenderCustomMessageFooter, bU as RenderUserDefinedResponse, bV as RenderUserDefinedState, bW as RenderWriteableElementResponse, bY as ResponseUserProfile, bZ as ScreenShareState, b_ as SearchResult, b$ as SendOptions, c0 as ServiceDesk, c1 as ServiceDeskCallback, c2 as ServiceDeskCapabilities, c3 as ServiceDeskErrorInfo, c4 as ServiceDeskFactoryParameters, c5 as ServiceDeskPublicConfig, c6 as SingleOption, c7 as StartChatOptions, c8 as StreamChunk, c9 as StructuredData, ca as StructuredField, cb as StructuredFieldType, cc as StructuredFieldValue, cd as TestId, ce as TextItem, cf as TypeAndHandler, cg as UploadConfig, ch as UserDefinedItem, ci as UserMessageErrorInfo, cj as UserType, ck as VerticalCellAlignment, cl as VideoItem, cm as ViewChangeReason, cn as ViewState, co as ViewType, cq as WidthOptions, cr as WithBodyAndFooter, cs as WithWidthOptions, ct as WorkspaceCustomPanelConfigOptions, cu as WriteableElementName, cv as WriteableElements, cw as enLanguagePack, cx as loadAllLazyDeps } from './serverEntry-DGYva2n0.js';
1
+ export { A as AdditionalDataToAgent, c as AgentAvailability, d as AudioItem, e as AutoScrollOptions, f as BaseGenericItem, g as BaseMessageInput, h as BusEvent, i as BusEventChatReady, j as BusEventChunkUserDefinedResponse, k as BusEventClosePanelButtonClicked, m as BusEventCustomPanelClose, n as BusEventCustomPanelOpen, o as BusEventCustomPanelPreClose, p as BusEventCustomPanelPreOpen, q as BusEventFeedback, r as BusEventHeaderMenuClick, s as BusEventHistoryBegin, t as BusEventHistoryEnd, u as BusEventHumanAgentAreAnyAgentsOnline, v as BusEventHumanAgentEndChat, w as BusEventHumanAgentPreEndChat, x as BusEventHumanAgentPreReceive, y as BusEventHumanAgentPreSend, z as BusEventHumanAgentPreStartChat, D as BusEventHumanAgentReceive, E as BusEventHumanAgentSend, F as BusEventMessageItemCustom, G as BusEventPreReceive, H as BusEventPreReset, I as BusEventPreSend, J as BusEventReceive, K as BusEventReset, L as BusEventSend, M as BusEventStateChange, N as BusEventType, O as BusEventUserDefinedResponse, b as BusEventViewChange, B as BusEventViewPreChange, Q as BusEventWorkspaceClose, R as BusEventWorkspaceOpen, S as BusEventWorkspacePreClose, T as BusEventWorkspacePreOpen, U as ButtonItem, V as ButtonItemKind, W as ButtonItemType, X as CancellationReason, Y as CarbonTheme, Z as CardItem, _ as CarouselItem, $ as CatastrophicErrorPanelState, a0 as CdsAiChatContainerAttributes, a1 as CdsAiChatCustomElementAttributes, a2 as ChainOfThoughtStep, a3 as ChangeFunction, a as ChatInstance, a4 as ChatInstanceInput, a5 as ChatInstanceMessaging, a6 as ChatInstanceServiceDeskActions, a7 as ChatShortcutConfig, a8 as Chunk, a9 as CompleteItemChunk, aa as ConnectToHumanAgentItem, ab as ConnectToHumanAgentItemTransferInfo, ac as ConnectingErrorInfo, ad as ConversationalSearchItem, ae as ConversationalSearchItemCitation, af as CornersType, ag as CustomMenuOption, ah as CustomPanelConfigOptions, ai as CustomPanelInstance, aj as CustomPanelOpenOptions, ak as CustomPanels, al as CustomSendMessageOptions, am as DateItem, an as DeepPartial, ao as DefaultCustomPanelConfigOptions, ap as DisclaimerPublicConfig, aq as DisconnectedErrorInfo, ar as EndChatInfo, as as ErrorType, at as EventBusHandler, au as EventHandlers, av as EventInput, aw as EventInputData, ax as ExternalFileReference, ay as FeedbackInteractionType, az as FileFieldValue, aA as FileStatusValue, aB as FileUpload, aC as FileUploadCapabilities, aD as FinalResponseChunk, aE as GenericItem, aG as GenericItemMessageFeedbackCategories, aH as GenericItemMessageFeedbackOptions, aI as GenericItemMessageOptions, aJ as GridItem, aK as HeaderConfig, aL as HeaderMenuClickType, aM as HistoryConfig, aN as HistoryItem, aO as HomeScreenConfig, aP as HomeScreenStarterButton, aQ as HomeScreenStarterButtons, aR as HomeScreenState, aS as HorizontalCellAlignment, aT as HumanAgentMessageType, aU as HumanAgentsOnlineStatus, aV as IFrameItem, aW as IFrameItemDisplayOption, aX as ImageItem, aY as IncreaseOrDecrease, aZ as InlineErrorItem, a_ as InlineFile, a$ as InputConfig, b0 as ItemStreamingMetadata, b1 as KeyboardShortcuts, b2 as LanguagePack, b3 as LauncherCallToActionConfig, b4 as LauncherConfig, b5 as LayoutConfig, b6 as LayoutCustomProperties, b7 as MediaFileAccessibility, b8 as MediaItem, b9 as MediaItemDimensions, ba as MediaSubtitleTrack, bb as MediaTranscript, bc as Message, bd as MessageErrorState, be as MessageHistoryFeedback, bf as MessageInput, bg as MessageInputType, bh as MessageItemPanelInfo, bi as MessageOutput, bj as MessageRequest, bk as MessageRequestHistory, bl as MessageResponse, bm as MessageResponseHistory, bn as MessageResponseOptions, bo as MessageResponseTypes, bp as MessageSendSource, bq as MinimizeButtonIconType, br as ObjectMap, bs as OnErrorData, bt as OnErrorType, bu as OptionItem, bv as OptionItemPreference, bw as PageObjectId, bx as PanelType, by as PartialItemChunk, bz as PartialItemChunkWithId, bA as PartialOrCompleteItemChunk, bB as PartialResponse, bC as PauseItem, bE as PersistedHumanAgentState, P as PersistedState, bF as PreviewCardItem, bG as PublicChatHumanAgentState, bH as PublicChatState, bI as PublicConfig, bJ as PublicConfigMessaging, bK as PublicCustomPanelsState, bL as PublicDefaultCustomPanelState, bM as PublicHistoryPanelState, bN as PublicInputState, bO as PublicWorkspaceCustomPanelState, bP as ReasoningStep, bQ as ReasoningStepOpenState, bR as ReasoningSteps, bS as RenderCustomMessageFooter, bT as RenderUserDefinedResponse, bU as RenderUserDefinedState, bV as RenderWriteableElementResponse, bX as ResponseUserProfile, bY as ScreenShareState, bZ as SearchResult, b_ as SendOptions, b$ as ServiceDesk, c0 as ServiceDeskCallback, c1 as ServiceDeskCapabilities, c2 as ServiceDeskErrorInfo, c3 as ServiceDeskFactoryParameters, c4 as ServiceDeskPublicConfig, c5 as SingleOption, c6 as StartChatOptions, c7 as StreamChunk, c8 as StructuredData, c9 as StructuredField, ca as StructuredFieldType, cb as StructuredFieldValue, cc as TestId, cd as TextItem, ce as TypeAndHandler, cf as UploadConfig, cg as UserDefinedItem, ch as UserMessageErrorInfo, ci as UserType, cj as VerticalCellAlignment, ck as VideoItem, cl as ViewChangeReason, cm as ViewState, cn as ViewType, cp as WidthOptions, cq as WithBodyAndFooter, cr as WithWidthOptions, cs as WorkspaceCustomPanelConfigOptions, ct as WriteableElementName, cu as WriteableElements, cv as enLanguagePack, cw as loadAllLazyDeps } from './serverEntry-CFWZAY6J.js';
2
2
  export { ChainOfThoughtStepStatus } from '@carbon/ai-chat-components/es/components/chain-of-thought/defs.js';
3
3
  import '@carbon/web-components/es/components/button/defs.js';
4
4
  import '@carbon/ai-chat-components/es/react/chat-button.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/ai-chat",
3
- "version": "1.11.0",
3
+ "version": "1.12.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",
@@ -78,8 +78,9 @@
78
78
  ],
79
79
  "devDependencies": {
80
80
  "@carbon/icons": "^11.53.0",
81
- "@carbon/styles": "^1.103.0",
81
+ "@carbon/styles": "^1.105.0",
82
82
  "@carbon/themes": "^11.58.0",
83
+ "@carbon/typedoc-theme": "^0.1.0",
83
84
  "@carbon/web-components": "^2.51.1",
84
85
  "@open-wc/testing": "4.0.0",
85
86
  "@rollup/plugin-babel": "^7.0.0",
@@ -107,7 +108,7 @@
107
108
  "jest": "^30.0.0",
108
109
  "jest-environment-jsdom": "^30.0.0",
109
110
  "lit": "^3.1.0",
110
- "postcss": "^8.4.41",
111
+ "postcss": "^8.5.10",
111
112
  "postcss-discard-comments": "^7.0.4",
112
113
  "react": "^19.0.0",
113
114
  "react-dom": "^19.0.0",
@@ -130,7 +131,7 @@
130
131
  "react-dom": ">=17.0.0 <20.0.0"
131
132
  },
132
133
  "dependencies": {
133
- "@carbon/ai-chat-components": "^1.1.0",
134
+ "@carbon/ai-chat-components": "^1.2.0",
134
135
  "@carbon/icons": "^11.53.0",
135
136
  "@ibm/telemetry-js": "^1.10.2",
136
137
  "@lit/react": "^1.0.6",
@@ -142,7 +143,6 @@
142
143
  "intl-messageformat": "^11.0.0",
143
144
  "lit": "^3.1.0",
144
145
  "lodash-es": "^4.18.1",
145
- "swiper": "^12.1.2",
146
146
  "tabbable": "^6.2.0",
147
147
  "tslib": "^2.6.3",
148
148
  "use-sync-external-store": "^1.2.0"
@@ -162,5 +162,5 @@
162
162
  "url": "https://github.com/carbon-design-system/carbon-ai-chat/issues"
163
163
  },
164
164
  "homepage": "https://github.com/carbon-design-system/carbon-ai-chat#readme",
165
- "gitHead": "14c0747bdf6f513b47339cc998c572319ef6ba13"
165
+ "gitHead": "bc5a84c27c6d912a74e5533847a3b7cd28be379e"
166
166
  }