@icanbwell/baileyai-chat-ui 1.0.21 → 1.0.22
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/dist/baileyai-chat-ui.cjs +2 -2
- package/dist/baileyai-chat-ui.js +359 -359
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ export declare interface BaileyChatInputMessage {
|
|
|
77
77
|
titleHint?: string;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export declare function BaileyChatPanel({ chat, placeholder, replyPlaceholder, emptyPlaceholder, suggestions, onHistoryClick, history, locale, privacyNote, resolveActivityIcon, className, height, width, hideDeveloperDetails, renderMessageActions, renderTable, renderChart, renderMcpApp, labels: labelsProp, formatMessageTime: formatMessageTimeProp, }: BaileyChatPanelProps): JSX_2.Element;
|
|
80
|
+
export declare function BaileyChatPanel({ chat, placeholder, replyPlaceholder, emptyPlaceholder, suggestions, onHistoryClick, history, locale, privacyNote, resolveActivityIcon, sendIcon, className, height, width, hideDeveloperDetails, renderMessageActions, renderTable, renderChart, renderMcpApp, labels: labelsProp, formatMessageTime: formatMessageTimeProp, }: BaileyChatPanelProps): JSX_2.Element;
|
|
81
81
|
|
|
82
82
|
export declare interface BaileyChatPanelLabels extends ToolStepLabels, Partial<BaileyHistoryLabels> {
|
|
83
83
|
/** Visible text of the "new chat" item in the "..." menu. */
|
|
@@ -190,6 +190,8 @@ export declare interface BaileyChatPanelProps extends BaileyMarkdownRenderers {
|
|
|
190
190
|
* tool name. No icon is shown for a step unless this returns one: `null`, `undefined`,
|
|
191
191
|
* `false`, `true` and `''` render nothing, and `0` renders as "0". */
|
|
192
192
|
resolveActivityIcon?: (toolName: string | null) => ReactNode;
|
|
193
|
+
/** Replaces the default heart inside the send button; the host sizes and colors its own icon. */
|
|
194
|
+
sendIcon?: ReactNode;
|
|
193
195
|
className?: string;
|
|
194
196
|
/** Explicit panel height (number is treated as px, e.g. 600 or '600px' or '100vh'). Applied
|
|
195
197
|
* as an inline style, which wins over the default `h-full` CSS class regardless of whether
|