teodor-new-chat-ui 3.0.104 → 3.0.105

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.
@@ -19,6 +19,10 @@ export interface MessageListProps {
19
19
  followNewMessages?: boolean;
20
20
  /** If true, prevents automatic scrolling during checkpoint navigation */
21
21
  isNavigatingCheckpoint?: boolean;
22
+ /** Callback to notify parent when user scrolls away from bottom */
23
+ onScrollAway?: (scrolledAway: boolean) => void;
24
+ /** Callback to notify parent when user is at bottom */
25
+ onAtBottom?: (atBottom: boolean) => void;
22
26
  }
23
- export declare function MessageList({ messages, isStreaming, streamingAssistantId, streamingDebounceMs, layoutSize, enableMessageEditing, editingMessageId, onStartReached, onEdit, onRegenerate, onCancelEdit, className, style, emptyMessage, followNewMessages, isNavigatingCheckpoint, }: MessageListProps): import("react/jsx-runtime").JSX.Element;
27
+ export declare function MessageList({ messages, isStreaming, streamingAssistantId, streamingDebounceMs, layoutSize, enableMessageEditing, editingMessageId, onStartReached, onEdit, onRegenerate, onCancelEdit, className, style, emptyMessage, followNewMessages, isNavigatingCheckpoint, onScrollAway, onAtBottom, }: MessageListProps): import("react/jsx-runtime").JSX.Element;
24
28
  export default MessageList;