@erdoai/ui 0.1.100 → 0.1.102

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.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,6 +942,8 @@ interface MarkdownContentProps {
941
942
  content: string;
942
943
  /** Additional CSS class names */
943
944
  className?: string;
945
+ /** Whether this content is actively streaming (enables typewriter reveal) */
946
+ isStreaming?: boolean;
944
947
  }
945
948
  /**
946
949
  * Renders markdown content with GitHub Flavored Markdown support.
@@ -950,7 +953,7 @@ interface MarkdownContentProps {
950
953
  * <MarkdownContent content="# Hello\n\nThis is **bold** text." />
951
954
  * ```
952
955
  */
953
- declare function MarkdownContent({ content, className }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
956
+ declare function MarkdownContent({ content, className, isStreaming }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
954
957
 
955
958
  interface TableColumn {
956
959
  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,6 +942,8 @@ interface MarkdownContentProps {
941
942
  content: string;
942
943
  /** Additional CSS class names */
943
944
  className?: string;
945
+ /** Whether this content is actively streaming (enables typewriter reveal) */
946
+ isStreaming?: boolean;
944
947
  }
945
948
  /**
946
949
  * Renders markdown content with GitHub Flavored Markdown support.
@@ -950,7 +953,7 @@ interface MarkdownContentProps {
950
953
  * <MarkdownContent content="# Hello\n\nThis is **bold** text." />
951
954
  * ```
952
955
  */
953
- declare function MarkdownContent({ content, className }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
956
+ declare function MarkdownContent({ content, className, isStreaming }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
954
957
 
955
958
  interface TableColumn {
956
959
  column_name: string;