@hef2024/llmasaservice-ui 0.22.11 → 0.23.0
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/index.css +632 -1
- package/dist/index.d.mts +29 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.js +3829 -3465
- package/dist/index.mjs +3760 -3398
- package/package.json +1 -1
- package/src/AIChatPanel.css +365 -0
- package/src/AIChatPanel.tsx +251 -88
- package/src/ChatPanel.css +379 -3
- package/src/ChatPanel.tsx +264 -190
- package/src/components/ui/ThinkingBlock.tsx +150 -0
- package/src/components/ui/WordFadeIn.tsx +101 -0
- package/src/components/ui/index.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -571,4 +571,32 @@ interface DialogFooterProps {
|
|
|
571
571
|
}
|
|
572
572
|
declare const DialogFooter: React__default.FC<DialogFooterProps>;
|
|
573
573
|
|
|
574
|
-
|
|
574
|
+
interface WordFadeInProps {
|
|
575
|
+
content: string;
|
|
576
|
+
className?: string;
|
|
577
|
+
/** Animation duration in ms */
|
|
578
|
+
animationDuration?: number;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* WordFadeIn - A component that applies fade-in animation to new content chunks
|
|
582
|
+
* as they arrive during streaming. Each new chunk fades in smoothly.
|
|
583
|
+
*/
|
|
584
|
+
declare const WordFadeIn: React__default.FC<WordFadeInProps>;
|
|
585
|
+
|
|
586
|
+
type ThinkingBlockType = 'thinking' | 'reasoning' | 'searching';
|
|
587
|
+
interface ThinkingBlockProps {
|
|
588
|
+
type: ThinkingBlockType;
|
|
589
|
+
content: string;
|
|
590
|
+
isStreaming: boolean;
|
|
591
|
+
isCollapsed: boolean;
|
|
592
|
+
onToggleCollapse: () => void;
|
|
593
|
+
/** Optional custom title override */
|
|
594
|
+
title?: string;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* ThinkingBlock - A collapsible block for displaying thinking/reasoning/searching content
|
|
598
|
+
* with streaming support. Content streams in naturally as it arrives.
|
|
599
|
+
*/
|
|
600
|
+
declare const ThinkingBlock: React__default.FC<ThinkingBlockProps>;
|
|
601
|
+
|
|
602
|
+
export { AIAgentPanel, type AIAgentPanelProps, _default as AIChatPanel, type AIChatPanelProps, type APIConversationSummary, type AgentContext, type AgentMetadata, AgentPanel, type AgentPanelProps, type AgentProfile, Button, type ButtonProps, ChatPanel, type ChatPanelProps, type ContextSection$1 as ContextSection, type Conversation, type ConversationGroup, Dialog, DialogFooter, type DialogFooterProps, type DialogProps, Input, type InputProps, type MCPServer, ScrollArea, type ScrollAreaProps, Select, type SelectOption, type SelectProps, ThinkingBlock, type ThinkingBlockProps, type ThinkingBlockType, Tooltip, type TooltipProps, WordFadeIn, type WordFadeInProps, useAgentRegistry, useConversationStore };
|