@lumerahq/ui 0.20.0-dev.1 → 0.20.1-dev.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumerahq/ui",
3
- "version": "0.20.0-dev.1",
3
+ "version": "0.20.1-dev.0",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -1,48 +0,0 @@
1
- import { AgentChatContentBlock, AgentChatMessage, AgentChatPendingFile, AgentChatPhase } from '../agent-chat';
2
- export declare function normalizedBlocks(blocks: AgentChatContentBlock[] | undefined, content: string | undefined): AgentChatContentBlock[];
3
- export declare function ContentBlock({ block, isStreaming }: {
4
- block: AgentChatContentBlock;
5
- isStreaming?: boolean;
6
- }): import("react/jsx-runtime").JSX.Element | null;
7
- /** Pending assistant row — avatar + working dots. Shown after the user's message
8
- * lands in the thread but before the assistant's first content streams in, so the
9
- * "working" signal only appears once the message is visible above. */
10
- export declare function PendingAssistantMessage(): import("react/jsx-runtime").JSX.Element;
11
- export declare function UserMessageView({ message }: {
12
- message: AgentChatMessage;
13
- }): import("react/jsx-runtime").JSX.Element;
14
- export declare function AssistantMessageView({ message, isStreaming, onRegenerate, }: {
15
- message: AgentChatMessage;
16
- isStreaming?: boolean;
17
- onRegenerate?: () => void;
18
- }): import("react/jsx-runtime").JSX.Element;
19
- export declare function EmptyState({ title, description, suggestions, onPick, }: {
20
- title: string;
21
- description?: string;
22
- suggestions?: string[];
23
- onPick?: (prompt: string) => void;
24
- }): import("react/jsx-runtime").JSX.Element;
25
- export interface ComposerChip {
26
- label: string;
27
- value: string;
28
- }
29
- export declare function Composer({ value, placeholder, disabled, inFlight, canSubmit, canAbort, chips, pendingFiles, enableAttachments, phase, queueLength, onChange, onSubmit, onAbort, onPickChip, onAttach, onRemoveFile, }: {
30
- value: string;
31
- placeholder?: string;
32
- disabled?: boolean;
33
- inFlight: boolean;
34
- canSubmit: boolean;
35
- canAbort: boolean;
36
- chips?: ComposerChip[];
37
- pendingFiles?: AgentChatPendingFile[];
38
- enableAttachments?: boolean;
39
- phase?: AgentChatPhase;
40
- queueLength?: number;
41
- onChange: (value: string) => void;
42
- onSubmit: () => void;
43
- onAbort: () => void;
44
- onPickChip?: (value: string) => void;
45
- onAttach?: (files: File[]) => void;
46
- onRemoveFile?: (id: string) => void;
47
- }): import("react/jsx-runtime").JSX.Element;
48
- //# sourceMappingURL=chat-ui.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-ui.d.ts","sourceRoot":"","sources":["../../../src/components/assistant/chat-ui.tsx"],"names":[],"mappings":"AAqBA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EAGpB,MAAM,yBAAyB,CAAC;AA0BjC,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,qBAAqB,EAAE,GAAG,SAAS,EAC3C,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,qBAAqB,EAAE,CAGzB;AAyBD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE;IAAE,KAAK,EAAE,qBAAqB,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,kDAmC3G;AAyED;;sEAEsE;AACtE,wBAAgB,uBAAuB,4CAStC;AAMD,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,gBAAgB,CAAA;CAAE,2CAQzE;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,WAAW,EACX,YAAY,GACb,EAAE;IACD,OAAO,EAAE,gBAAgB,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,2CA0BA;AA2DD,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,WAAW,EACX,MA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