@erdoai/ui 0.1.99 → 0.1.101
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.cjs +14 -7
- package/dist/index.d.cts +5 -10
- package/dist/index.d.ts +5 -10
- package/dist/index.js +14 -7
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -920,8 +920,9 @@ declare function extractContentItems(result: InvokeResult): Array<ContentItem &
|
|
|
920
920
|
interface TextContentProps {
|
|
921
921
|
content: string;
|
|
922
922
|
className?: string;
|
|
923
|
+
isStreaming?: boolean;
|
|
923
924
|
}
|
|
924
|
-
declare function TextContent({ content, className }: TextContentProps): react_jsx_runtime.JSX.Element | null;
|
|
925
|
+
declare function TextContent({ content, className, isStreaming }: TextContentProps): react_jsx_runtime.JSX.Element | null;
|
|
925
926
|
|
|
926
927
|
interface JsonContentProps {
|
|
927
928
|
content: unknown;
|
|
@@ -941,16 +942,10 @@ interface MarkdownContentProps {
|
|
|
941
942
|
content: string;
|
|
942
943
|
/** Additional CSS class names */
|
|
943
944
|
className?: string;
|
|
945
|
+
/** Whether this content is actively streaming (enables fade-in on new chunks) */
|
|
946
|
+
isStreaming?: boolean;
|
|
944
947
|
}
|
|
945
|
-
|
|
946
|
-
* Renders markdown content with GitHub Flavored Markdown support.
|
|
947
|
-
*
|
|
948
|
-
* @example
|
|
949
|
-
* ```tsx
|
|
950
|
-
* <MarkdownContent content="# Hello\n\nThis is **bold** text." />
|
|
951
|
-
* ```
|
|
952
|
-
*/
|
|
953
|
-
declare function MarkdownContent({ content, className }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
|
|
948
|
+
declare function MarkdownContent({ content, className, isStreaming }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
|
|
954
949
|
|
|
955
950
|
interface TableColumn {
|
|
956
951
|
column_name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -920,8 +920,9 @@ declare function extractContentItems(result: InvokeResult): Array<ContentItem &
|
|
|
920
920
|
interface TextContentProps {
|
|
921
921
|
content: string;
|
|
922
922
|
className?: string;
|
|
923
|
+
isStreaming?: boolean;
|
|
923
924
|
}
|
|
924
|
-
declare function TextContent({ content, className }: TextContentProps): react_jsx_runtime.JSX.Element | null;
|
|
925
|
+
declare function TextContent({ content, className, isStreaming }: TextContentProps): react_jsx_runtime.JSX.Element | null;
|
|
925
926
|
|
|
926
927
|
interface JsonContentProps {
|
|
927
928
|
content: unknown;
|
|
@@ -941,16 +942,10 @@ interface MarkdownContentProps {
|
|
|
941
942
|
content: string;
|
|
942
943
|
/** Additional CSS class names */
|
|
943
944
|
className?: string;
|
|
945
|
+
/** Whether this content is actively streaming (enables fade-in on new chunks) */
|
|
946
|
+
isStreaming?: boolean;
|
|
944
947
|
}
|
|
945
|
-
|
|
946
|
-
* Renders markdown content with GitHub Flavored Markdown support.
|
|
947
|
-
*
|
|
948
|
-
* @example
|
|
949
|
-
* ```tsx
|
|
950
|
-
* <MarkdownContent content="# Hello\n\nThis is **bold** text." />
|
|
951
|
-
* ```
|
|
952
|
-
*/
|
|
953
|
-
declare function MarkdownContent({ content, className }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
|
|
948
|
+
declare function MarkdownContent({ content, className, isStreaming }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
|
|
954
949
|
|
|
955
950
|
interface TableColumn {
|
|
956
951
|
column_name: string;
|