@bcrumbs.net/bc-chat 1.0.60 → 1.0.62

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 CHANGED
@@ -68,7 +68,9 @@ interface ChatProps {
68
68
  notePlaceholder?: string;
69
69
  searchPattern?: string;
70
70
  searchMatchNo?: number;
71
+ /** Called with the number of search pattern matches found */
72
+ onSearchMatchCount?: (count: number) => void;
71
73
  }
72
- declare const Chat: ({ config, messages, sendMessage, debug, minimize, onReachingUp, agentsIdsAvatarsMap, actionChips, noteMode, onNoteSend, onCloseNoteMode, searchPattern, notePlaceholder, searchMatchNo, }: ChatProps) => react_jsx_runtime.JSX.Element;
74
+ declare const Chat: ({ config, messages, sendMessage, debug, minimize, onReachingUp, agentsIdsAvatarsMap, actionChips, noteMode, onNoteSend, onCloseNoteMode, searchPattern, notePlaceholder, searchMatchNo, onSearchMatchCount, }: ChatProps) => react_jsx_runtime.JSX.Element;
73
75
 
74
76
  export { Chat as BCChat };