@bcrumbs.net/bc-chat 1.0.52 → 1.0.60
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/build/index.d.ts +12 -1
- package/build/index.es.js +166 -82
- package/build/index.es.js.map +1 -1
- package/build/index.js +168 -84
- package/build/index.js.map +1 -1
- package/package.json +2 -1
package/build/index.d.ts
CHANGED
|
@@ -57,7 +57,18 @@ interface ChatProps {
|
|
|
57
57
|
minimize?: () => void;
|
|
58
58
|
debug?: boolean;
|
|
59
59
|
agentsIdsAvatarsMap?: Record<string, string>;
|
|
60
|
+
actionChips?: React.ReactNode;
|
|
61
|
+
/** When true, the input switches to note mode */
|
|
62
|
+
noteMode?: boolean;
|
|
63
|
+
/** Called with the note text when user clicks send in note mode */
|
|
64
|
+
onNoteSend?: (note: string) => void;
|
|
65
|
+
/** Close handler for the note mode (X icon) */
|
|
66
|
+
onCloseNoteMode?: () => void;
|
|
67
|
+
/** Placeholder to display in the input while in note mode */
|
|
68
|
+
notePlaceholder?: string;
|
|
69
|
+
searchPattern?: string;
|
|
70
|
+
searchMatchNo?: number;
|
|
60
71
|
}
|
|
61
|
-
declare const Chat: ({ config, messages, sendMessage, debug, minimize, onReachingUp, agentsIdsAvatarsMap, }: ChatProps) => react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare const Chat: ({ config, messages, sendMessage, debug, minimize, onReachingUp, agentsIdsAvatarsMap, actionChips, noteMode, onNoteSend, onCloseNoteMode, searchPattern, notePlaceholder, searchMatchNo, }: ChatProps) => react_jsx_runtime.JSX.Element;
|
|
62
73
|
|
|
63
74
|
export { Chat as BCChat };
|