teodor-new-chat-ui 3.0.91 → 3.0.92

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.
@@ -10,6 +10,8 @@ export interface ChatInterfaceProps {
10
10
  maxHeight?: string;
11
11
  /** debounce for mid-stream markdown rendering (default: 500ms for smoother performance) */
12
12
  streamingDebounceMs?: number;
13
+ /** New: allow host to configure markdown streaming throttle in ms (overrides streamingDebounceMs if provided) */
14
+ streamingThrottleMs?: number;
13
15
  enableFileUpload?: boolean;
14
16
  enableExcelUpload?: boolean;
15
17
  enableMessageEditing?: boolean;
@@ -28,4 +30,4 @@ export interface ChatInterfaceProps {
28
30
  }) => void;
29
31
  onError?: (error: string) => void;
30
32
  }
31
- export declare function ChatInterface({ className, placeholder, autoFocus, maxHeight, streamingDebounceMs, enableFileUpload, enableExcelUpload, enableMessageEditing, customStyles, onMessageSent, onExcelUploadSuccess, onError, }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
33
+ export declare function ChatInterface({ className, placeholder, autoFocus, maxHeight, streamingDebounceMs, streamingThrottleMs, enableFileUpload, enableExcelUpload, enableMessageEditing, customStyles, onMessageSent, onExcelUploadSuccess, onError, }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;