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