@lukeashford/aurelius 2.15.1 → 2.17.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.d.mts +137 -21
- package/dist/index.d.ts +137 -21
- package/dist/index.js +718 -572
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +684 -541
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +5 -0
- package/llms.md +55 -7
- package/package.json +8 -4
package/dist/index.d.mts
CHANGED
|
@@ -23,6 +23,7 @@ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
23
23
|
interactive?: boolean;
|
|
24
24
|
selected?: boolean;
|
|
25
25
|
noPadding?: boolean;
|
|
26
|
+
isLoading?: boolean;
|
|
26
27
|
}
|
|
27
28
|
interface CardHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
28
29
|
title?: React$1.ReactNode;
|
|
@@ -35,11 +36,8 @@ interface CardFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
35
36
|
align?: 'start' | 'center' | 'end' | 'between';
|
|
36
37
|
}
|
|
37
38
|
interface CardMediaProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
38
|
-
|
|
39
|
-
alt?: string;
|
|
40
|
-
aspect?: 'video' | 'square' | 'wide';
|
|
39
|
+
aspect?: 'video' | 'square' | 'wide' | 'none';
|
|
41
40
|
position?: 'top' | 'bottom';
|
|
42
|
-
isVideo?: boolean;
|
|
43
41
|
}
|
|
44
42
|
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
45
43
|
Header: React$1.ForwardRefExoticComponent<CardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -701,7 +699,15 @@ interface StreamingCursorProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
|
701
699
|
declare const StreamingCursor: React$1.ForwardRefExoticComponent<StreamingCursorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
702
700
|
|
|
703
701
|
interface MarkdownContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
702
|
+
/**
|
|
703
|
+
* Content to display (can be Markdown or HTML)
|
|
704
|
+
*/
|
|
704
705
|
content: string;
|
|
706
|
+
/**
|
|
707
|
+
* Whether the content should be treated as Markdown
|
|
708
|
+
* @default true
|
|
709
|
+
*/
|
|
710
|
+
isMarkdown?: boolean;
|
|
705
711
|
sanitizeConfig?: Config;
|
|
706
712
|
/**
|
|
707
713
|
* When true, injects a streaming cursor at the end of the content
|
|
@@ -936,20 +942,28 @@ type ScriptElementType = 'scene-heading' | 'action' | 'character' | 'dialogue' |
|
|
|
936
942
|
* A single element in the script
|
|
937
943
|
*/
|
|
938
944
|
interface ScriptElement {
|
|
945
|
+
/**
|
|
946
|
+
* The type of script element (e.g., 'scene-heading', 'character', 'dialogue')
|
|
947
|
+
*/
|
|
939
948
|
type: ScriptElementType;
|
|
949
|
+
/**
|
|
950
|
+
* The text content of the element
|
|
951
|
+
*/
|
|
940
952
|
content: string;
|
|
941
953
|
}
|
|
942
|
-
interface ScriptCardProps extends
|
|
954
|
+
interface ScriptCardProps extends Omit<CardProps, 'title'> {
|
|
943
955
|
/**
|
|
944
956
|
* Title of the script (shown at top)
|
|
945
957
|
*/
|
|
946
|
-
title?:
|
|
958
|
+
title?: React$1.ReactNode;
|
|
947
959
|
/**
|
|
948
960
|
* Subtitle/metadata (e.g., "30-second spot • Directed by AI Creative")
|
|
949
961
|
*/
|
|
950
|
-
subtitle?:
|
|
962
|
+
subtitle?: React$1.ReactNode;
|
|
951
963
|
/**
|
|
952
|
-
* Array of script elements in order
|
|
964
|
+
* Array of script elements in order.
|
|
965
|
+
* Available types: 'scene-heading', 'action', 'character', 'dialogue', 'parenthetical',
|
|
966
|
+
* 'transition', 'title', 'subtitle'
|
|
953
967
|
*/
|
|
954
968
|
elements: ScriptElement[];
|
|
955
969
|
/**
|
|
@@ -966,21 +980,38 @@ interface ScriptCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
966
980
|
* - Character names: uppercase, centered-left
|
|
967
981
|
* - Dialogue: indented from both sides
|
|
968
982
|
* - Transitions: uppercase, right-aligned
|
|
983
|
+
*
|
|
984
|
+
* @example
|
|
985
|
+
* ```tsx
|
|
986
|
+
* <ScriptCard
|
|
987
|
+
* title="The Arrival"
|
|
988
|
+
* elements={[
|
|
989
|
+
* { type: 'scene-heading', content: 'EXT. SPACE STATION - NIGHT' },
|
|
990
|
+
* { type: 'action', content: 'A lone ship approaches the docking bay.' },
|
|
991
|
+
* { type: 'character', content: 'PILOT' },
|
|
992
|
+
* { type: 'dialogue', content: 'Requesting permission to land.' }
|
|
993
|
+
* ]}
|
|
994
|
+
* />
|
|
995
|
+
* ```
|
|
969
996
|
*/
|
|
970
997
|
declare const ScriptCard: React$1.ForwardRefExoticComponent<ScriptCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
971
998
|
|
|
972
|
-
type ArtifactType = '
|
|
999
|
+
type ArtifactType = 'TEXT' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'SCRIPT' | 'PDF';
|
|
973
1000
|
interface Artifact {
|
|
974
1001
|
id: string;
|
|
975
1002
|
type: ArtifactType;
|
|
976
1003
|
/**
|
|
977
|
-
* For text artifacts - the markdown
|
|
1004
|
+
* For text artifacts - the content (markdown, HTML, or plain text)
|
|
978
1005
|
*/
|
|
979
|
-
|
|
1006
|
+
inlineContent?: string;
|
|
980
1007
|
/**
|
|
981
|
-
* For
|
|
1008
|
+
* For artifacts that source from a URL (image, video, audio, pdf, file)
|
|
982
1009
|
*/
|
|
983
|
-
|
|
1010
|
+
url?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* The mime type of the content
|
|
1013
|
+
*/
|
|
1014
|
+
mimeType?: string;
|
|
984
1015
|
/**
|
|
985
1016
|
* For image artifacts - alt text
|
|
986
1017
|
*/
|
|
@@ -1039,12 +1070,12 @@ interface UseArtifactsReturn {
|
|
|
1039
1070
|
* const { artifacts, scheduleArtifact, showArtifact, removeArtifact } = useArtifacts()
|
|
1040
1071
|
*
|
|
1041
1072
|
* // When SSE operator.started event arrives
|
|
1042
|
-
* scheduleArtifact({ id: operatorId, type: '
|
|
1073
|
+
* scheduleArtifact({ id: operatorId, type: 'IMAGE' })
|
|
1043
1074
|
*
|
|
1044
1075
|
* // When SSE artifact.created event arrives
|
|
1045
1076
|
* showArtifact(artifactId, {
|
|
1046
|
-
* type: '
|
|
1047
|
-
*
|
|
1077
|
+
* type: 'IMAGE',
|
|
1078
|
+
* url: 'https://example.com/image.png',
|
|
1048
1079
|
* title: 'Generated Image',
|
|
1049
1080
|
* })
|
|
1050
1081
|
*
|
|
@@ -1553,8 +1584,8 @@ declare const ColorSwatch: React$1.ForwardRefExoticComponent<ColorSwatchProps &
|
|
|
1553
1584
|
type AspectRatioPreset = 'landscape' | 'portrait' | 'square';
|
|
1554
1585
|
type AspectRatio = AspectRatioPreset | `${number}/${number}`;
|
|
1555
1586
|
interface ImageCardProps extends Omit<CardProps, 'title'> {
|
|
1556
|
-
src
|
|
1557
|
-
alt
|
|
1587
|
+
src?: string;
|
|
1588
|
+
alt?: string;
|
|
1558
1589
|
title?: React$1.ReactNode;
|
|
1559
1590
|
subtitle?: React$1.ReactNode;
|
|
1560
1591
|
aspectRatio?: AspectRatio;
|
|
@@ -1568,7 +1599,7 @@ declare const ImageCard: React$1.ForwardRefExoticComponent<ImageCardProps & Reac
|
|
|
1568
1599
|
type VideoAspectRatioPreset = 'video' | 'cinema' | 'square';
|
|
1569
1600
|
type VideoAspectRatio = VideoAspectRatioPreset | `${number}/${number}`;
|
|
1570
1601
|
interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
1571
|
-
src
|
|
1602
|
+
src?: string;
|
|
1572
1603
|
title?: React$1.ReactNode;
|
|
1573
1604
|
subtitle?: React$1.ReactNode;
|
|
1574
1605
|
aspectRatio?: VideoAspectRatio;
|
|
@@ -1585,7 +1616,7 @@ interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
|
1585
1616
|
declare const VideoCard: React$1.ForwardRefExoticComponent<VideoCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1586
1617
|
|
|
1587
1618
|
interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
1588
|
-
src
|
|
1619
|
+
src?: string;
|
|
1589
1620
|
title?: React$1.ReactNode;
|
|
1590
1621
|
subtitle?: React$1.ReactNode;
|
|
1591
1622
|
playing?: boolean;
|
|
@@ -1596,9 +1627,94 @@ interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
|
1596
1627
|
mediaClassName?: string;
|
|
1597
1628
|
contentClassName?: string;
|
|
1598
1629
|
playerProps?: any;
|
|
1630
|
+
height?: string | number;
|
|
1599
1631
|
}
|
|
1600
1632
|
declare const AudioCard: React$1.ForwardRefExoticComponent<AudioCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1601
1633
|
|
|
1634
|
+
interface PdfCardProps extends Omit<CardProps, 'title'> {
|
|
1635
|
+
/**
|
|
1636
|
+
* URL of the PDF file
|
|
1637
|
+
*/
|
|
1638
|
+
src?: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Title of the document
|
|
1641
|
+
*/
|
|
1642
|
+
title?: React$1.ReactNode;
|
|
1643
|
+
/**
|
|
1644
|
+
* Subtitle or document metadata
|
|
1645
|
+
*/
|
|
1646
|
+
subtitle?: React$1.ReactNode;
|
|
1647
|
+
/**
|
|
1648
|
+
* Height of the PDF viewer
|
|
1649
|
+
*/
|
|
1650
|
+
height?: string | number;
|
|
1651
|
+
/**
|
|
1652
|
+
* Optional class name for the media container
|
|
1653
|
+
*/
|
|
1654
|
+
mediaClassName?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* Optional class name for the content container
|
|
1657
|
+
*/
|
|
1658
|
+
contentClassName?: string;
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
* A card for displaying PDF documents with an embedded viewer.
|
|
1662
|
+
*/
|
|
1663
|
+
declare const PdfCard: React$1.ForwardRefExoticComponent<PdfCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1664
|
+
|
|
1665
|
+
interface TextCardProps extends Omit<CardProps, 'title'> {
|
|
1666
|
+
/**
|
|
1667
|
+
* Text content to display (Markdown, HTML, or plain text)
|
|
1668
|
+
*/
|
|
1669
|
+
content: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* Optional title for the card
|
|
1672
|
+
*/
|
|
1673
|
+
title?: React$1.ReactNode;
|
|
1674
|
+
/**
|
|
1675
|
+
* Optional subtitle or metadata
|
|
1676
|
+
*/
|
|
1677
|
+
subtitle?: React$1.ReactNode;
|
|
1678
|
+
/**
|
|
1679
|
+
* Whether the content should be treated as Markdown
|
|
1680
|
+
* @default true
|
|
1681
|
+
*/
|
|
1682
|
+
isMarkdown?: boolean;
|
|
1683
|
+
/**
|
|
1684
|
+
* Maximum height of the content area before scrolling
|
|
1685
|
+
* @default '16rem'
|
|
1686
|
+
*/
|
|
1687
|
+
maxHeight?: string | number;
|
|
1688
|
+
/**
|
|
1689
|
+
* Optional class name for the content container
|
|
1690
|
+
*/
|
|
1691
|
+
contentClassName?: string;
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* A card for displaying text content, supporting Markdown and HTML formatting.
|
|
1695
|
+
*/
|
|
1696
|
+
declare const TextCard: React$1.ForwardRefExoticComponent<TextCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1697
|
+
|
|
1698
|
+
interface ArtifactCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1699
|
+
/**
|
|
1700
|
+
* The artifact object to display
|
|
1701
|
+
*/
|
|
1702
|
+
artifact: Artifact;
|
|
1703
|
+
/**
|
|
1704
|
+
* Callback when the artifact should be expanded/opened
|
|
1705
|
+
*/
|
|
1706
|
+
onExpand?: (artifact: Artifact) => void;
|
|
1707
|
+
/**
|
|
1708
|
+
* Whether the artifact is still loading
|
|
1709
|
+
*/
|
|
1710
|
+
isLoading?: boolean;
|
|
1711
|
+
}
|
|
1712
|
+
/**
|
|
1713
|
+
* A dispatcher component that renders the appropriate specialist card
|
|
1714
|
+
* based on the artifact type.
|
|
1715
|
+
*/
|
|
1716
|
+
declare const ArtifactCard: React$1.ForwardRefExoticComponent<ArtifactCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1717
|
+
|
|
1602
1718
|
type SectionHeadingLevel = 'h2' | 'h3';
|
|
1603
1719
|
interface SectionHeadingProps extends React$1.HTMLAttributes<HTMLHeadingElement> {
|
|
1604
1720
|
level?: SectionHeadingLevel;
|
|
@@ -1617,4 +1733,4 @@ declare const SectionHeading: React$1.ForwardRefExoticComponent<SectionHeadingPr
|
|
|
1617
1733
|
|
|
1618
1734
|
declare const version = "2.0.0";
|
|
1619
1735
|
|
|
1620
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, type Artifact, type ArtifactType, ArtifactsPanel, type ArtifactsPanelProps, ArtifactsPanelToggle, type ArtifactsPanelToggleProps, type AspectRatio, type AspectRatioPreset, type Attachment, type AttachmentItem, AttachmentPreview, type AttachmentPreviewProps, type AttachmentStatus, AudioCard, type AudioCardProps, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeVariant, BranchNavigator, type BranchNavigatorProps, BrandIcon, type BrandIconProps, type BrandIconSize, type BrandIconVariant, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardProps, type CardVariant, ChatInput, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, CollapsedSidebarToggle, type CollapsedSidebarToggleProps, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, ConversationSidebar, type ConversationSidebarProps, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, type IconProps, ImageCard, type ImageCardProps, Input, type InputAddonProps, type InputElementProps, InputGroup, type InputGroupProps, InputLeftAddon, InputLeftElement, type InputProps, InputRightAddon, InputRightElement, InputWrapper, type InputWrapperProps, Label, type LabelProps, LayersIcon, List, ListItem, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, MarkdownContent, type MarkdownContentProps, Menu, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, MenuSeparator, MenuTrigger, type MenuTriggerProps, Message, MessageActions, type MessageActionsConfig, type MessageActionsProps, type MessageActionsVariant, type MessageBranchInfo, type MessageNode, type MessageProps, type MessageVariant, Modal, type ModalProps, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, Pagination, type PaginationProps, PlusIcon, Popover, type PopoverAlign, type PopoverPosition, type PopoverProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Radio, type RadioProps, Row, type RowAlign, type RowGutter, type RowJustify, type RowProps, ScriptCard, type ScriptCardProps, type ScriptElement, type ScriptElementType, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, Select, type SelectOption, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, SquareLoaderIcon, Stack, type StackDirection, type StackGap, type StackProps, type Step, type StepStatus, Stepper, type StepperProps, StreamingCursor, type StreamingCursorProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type Task, type TaskStatus, Textarea, type TextareaProps, ThinkingIndicator, type ThinkingIndicatorProps, type ToastData, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, TodosList, type TodosListProps, Tooltip, type TooltipProps, type UseArtifactsReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, createEmptyTree, createPreviewUrl, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, isImageFile, messagesToTree, revokePreviewUrl, switchBranch, updateNodeContent, useArtifacts, useResizable, useScrollAnchor, useToast, version };
|
|
1736
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, type Artifact, ArtifactCard, type ArtifactCardProps, type ArtifactType, ArtifactsPanel, type ArtifactsPanelProps, ArtifactsPanelToggle, type ArtifactsPanelToggleProps, type AspectRatio, type AspectRatioPreset, type Attachment, type AttachmentItem, AttachmentPreview, type AttachmentPreviewProps, type AttachmentStatus, AudioCard, type AudioCardProps, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeVariant, BranchNavigator, type BranchNavigatorProps, BrandIcon, type BrandIconProps, type BrandIconSize, type BrandIconVariant, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardProps, type CardVariant, ChatInput, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, CollapsedSidebarToggle, type CollapsedSidebarToggleProps, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, ConversationSidebar, type ConversationSidebarProps, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, type IconProps, ImageCard, type ImageCardProps, Input, type InputAddonProps, type InputElementProps, InputGroup, type InputGroupProps, InputLeftAddon, InputLeftElement, type InputProps, InputRightAddon, InputRightElement, InputWrapper, type InputWrapperProps, Label, type LabelProps, LayersIcon, List, ListItem, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, MarkdownContent, type MarkdownContentProps, Menu, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, MenuSeparator, MenuTrigger, type MenuTriggerProps, Message, MessageActions, type MessageActionsConfig, type MessageActionsProps, type MessageActionsVariant, type MessageBranchInfo, type MessageNode, type MessageProps, type MessageVariant, Modal, type ModalProps, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, Pagination, type PaginationProps, PdfCard, type PdfCardProps, PlusIcon, Popover, type PopoverAlign, type PopoverPosition, type PopoverProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Radio, type RadioProps, Row, type RowAlign, type RowGutter, type RowJustify, type RowProps, ScriptCard, type ScriptCardProps, type ScriptElement, type ScriptElementType, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, Select, type SelectOption, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, SquareLoaderIcon, Stack, type StackDirection, type StackGap, type StackProps, type Step, type StepStatus, Stepper, type StepperProps, StreamingCursor, type StreamingCursorProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type Task, type TaskStatus, TextCard, type TextCardProps, Textarea, type TextareaProps, ThinkingIndicator, type ThinkingIndicatorProps, type ToastData, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, TodosList, type TodosListProps, Tooltip, type TooltipProps, type UseArtifactsReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, createEmptyTree, createPreviewUrl, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, isImageFile, messagesToTree, revokePreviewUrl, switchBranch, updateNodeContent, useArtifacts, useResizable, useScrollAnchor, useToast, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
23
23
|
interactive?: boolean;
|
|
24
24
|
selected?: boolean;
|
|
25
25
|
noPadding?: boolean;
|
|
26
|
+
isLoading?: boolean;
|
|
26
27
|
}
|
|
27
28
|
interface CardHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
28
29
|
title?: React$1.ReactNode;
|
|
@@ -35,11 +36,8 @@ interface CardFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
35
36
|
align?: 'start' | 'center' | 'end' | 'between';
|
|
36
37
|
}
|
|
37
38
|
interface CardMediaProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
38
|
-
|
|
39
|
-
alt?: string;
|
|
40
|
-
aspect?: 'video' | 'square' | 'wide';
|
|
39
|
+
aspect?: 'video' | 'square' | 'wide' | 'none';
|
|
41
40
|
position?: 'top' | 'bottom';
|
|
42
|
-
isVideo?: boolean;
|
|
43
41
|
}
|
|
44
42
|
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
45
43
|
Header: React$1.ForwardRefExoticComponent<CardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -701,7 +699,15 @@ interface StreamingCursorProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
|
701
699
|
declare const StreamingCursor: React$1.ForwardRefExoticComponent<StreamingCursorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
702
700
|
|
|
703
701
|
interface MarkdownContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
702
|
+
/**
|
|
703
|
+
* Content to display (can be Markdown or HTML)
|
|
704
|
+
*/
|
|
704
705
|
content: string;
|
|
706
|
+
/**
|
|
707
|
+
* Whether the content should be treated as Markdown
|
|
708
|
+
* @default true
|
|
709
|
+
*/
|
|
710
|
+
isMarkdown?: boolean;
|
|
705
711
|
sanitizeConfig?: Config;
|
|
706
712
|
/**
|
|
707
713
|
* When true, injects a streaming cursor at the end of the content
|
|
@@ -936,20 +942,28 @@ type ScriptElementType = 'scene-heading' | 'action' | 'character' | 'dialogue' |
|
|
|
936
942
|
* A single element in the script
|
|
937
943
|
*/
|
|
938
944
|
interface ScriptElement {
|
|
945
|
+
/**
|
|
946
|
+
* The type of script element (e.g., 'scene-heading', 'character', 'dialogue')
|
|
947
|
+
*/
|
|
939
948
|
type: ScriptElementType;
|
|
949
|
+
/**
|
|
950
|
+
* The text content of the element
|
|
951
|
+
*/
|
|
940
952
|
content: string;
|
|
941
953
|
}
|
|
942
|
-
interface ScriptCardProps extends
|
|
954
|
+
interface ScriptCardProps extends Omit<CardProps, 'title'> {
|
|
943
955
|
/**
|
|
944
956
|
* Title of the script (shown at top)
|
|
945
957
|
*/
|
|
946
|
-
title?:
|
|
958
|
+
title?: React$1.ReactNode;
|
|
947
959
|
/**
|
|
948
960
|
* Subtitle/metadata (e.g., "30-second spot • Directed by AI Creative")
|
|
949
961
|
*/
|
|
950
|
-
subtitle?:
|
|
962
|
+
subtitle?: React$1.ReactNode;
|
|
951
963
|
/**
|
|
952
|
-
* Array of script elements in order
|
|
964
|
+
* Array of script elements in order.
|
|
965
|
+
* Available types: 'scene-heading', 'action', 'character', 'dialogue', 'parenthetical',
|
|
966
|
+
* 'transition', 'title', 'subtitle'
|
|
953
967
|
*/
|
|
954
968
|
elements: ScriptElement[];
|
|
955
969
|
/**
|
|
@@ -966,21 +980,38 @@ interface ScriptCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
966
980
|
* - Character names: uppercase, centered-left
|
|
967
981
|
* - Dialogue: indented from both sides
|
|
968
982
|
* - Transitions: uppercase, right-aligned
|
|
983
|
+
*
|
|
984
|
+
* @example
|
|
985
|
+
* ```tsx
|
|
986
|
+
* <ScriptCard
|
|
987
|
+
* title="The Arrival"
|
|
988
|
+
* elements={[
|
|
989
|
+
* { type: 'scene-heading', content: 'EXT. SPACE STATION - NIGHT' },
|
|
990
|
+
* { type: 'action', content: 'A lone ship approaches the docking bay.' },
|
|
991
|
+
* { type: 'character', content: 'PILOT' },
|
|
992
|
+
* { type: 'dialogue', content: 'Requesting permission to land.' }
|
|
993
|
+
* ]}
|
|
994
|
+
* />
|
|
995
|
+
* ```
|
|
969
996
|
*/
|
|
970
997
|
declare const ScriptCard: React$1.ForwardRefExoticComponent<ScriptCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
971
998
|
|
|
972
|
-
type ArtifactType = '
|
|
999
|
+
type ArtifactType = 'TEXT' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'SCRIPT' | 'PDF';
|
|
973
1000
|
interface Artifact {
|
|
974
1001
|
id: string;
|
|
975
1002
|
type: ArtifactType;
|
|
976
1003
|
/**
|
|
977
|
-
* For text artifacts - the markdown
|
|
1004
|
+
* For text artifacts - the content (markdown, HTML, or plain text)
|
|
978
1005
|
*/
|
|
979
|
-
|
|
1006
|
+
inlineContent?: string;
|
|
980
1007
|
/**
|
|
981
|
-
* For
|
|
1008
|
+
* For artifacts that source from a URL (image, video, audio, pdf, file)
|
|
982
1009
|
*/
|
|
983
|
-
|
|
1010
|
+
url?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* The mime type of the content
|
|
1013
|
+
*/
|
|
1014
|
+
mimeType?: string;
|
|
984
1015
|
/**
|
|
985
1016
|
* For image artifacts - alt text
|
|
986
1017
|
*/
|
|
@@ -1039,12 +1070,12 @@ interface UseArtifactsReturn {
|
|
|
1039
1070
|
* const { artifacts, scheduleArtifact, showArtifact, removeArtifact } = useArtifacts()
|
|
1040
1071
|
*
|
|
1041
1072
|
* // When SSE operator.started event arrives
|
|
1042
|
-
* scheduleArtifact({ id: operatorId, type: '
|
|
1073
|
+
* scheduleArtifact({ id: operatorId, type: 'IMAGE' })
|
|
1043
1074
|
*
|
|
1044
1075
|
* // When SSE artifact.created event arrives
|
|
1045
1076
|
* showArtifact(artifactId, {
|
|
1046
|
-
* type: '
|
|
1047
|
-
*
|
|
1077
|
+
* type: 'IMAGE',
|
|
1078
|
+
* url: 'https://example.com/image.png',
|
|
1048
1079
|
* title: 'Generated Image',
|
|
1049
1080
|
* })
|
|
1050
1081
|
*
|
|
@@ -1553,8 +1584,8 @@ declare const ColorSwatch: React$1.ForwardRefExoticComponent<ColorSwatchProps &
|
|
|
1553
1584
|
type AspectRatioPreset = 'landscape' | 'portrait' | 'square';
|
|
1554
1585
|
type AspectRatio = AspectRatioPreset | `${number}/${number}`;
|
|
1555
1586
|
interface ImageCardProps extends Omit<CardProps, 'title'> {
|
|
1556
|
-
src
|
|
1557
|
-
alt
|
|
1587
|
+
src?: string;
|
|
1588
|
+
alt?: string;
|
|
1558
1589
|
title?: React$1.ReactNode;
|
|
1559
1590
|
subtitle?: React$1.ReactNode;
|
|
1560
1591
|
aspectRatio?: AspectRatio;
|
|
@@ -1568,7 +1599,7 @@ declare const ImageCard: React$1.ForwardRefExoticComponent<ImageCardProps & Reac
|
|
|
1568
1599
|
type VideoAspectRatioPreset = 'video' | 'cinema' | 'square';
|
|
1569
1600
|
type VideoAspectRatio = VideoAspectRatioPreset | `${number}/${number}`;
|
|
1570
1601
|
interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
1571
|
-
src
|
|
1602
|
+
src?: string;
|
|
1572
1603
|
title?: React$1.ReactNode;
|
|
1573
1604
|
subtitle?: React$1.ReactNode;
|
|
1574
1605
|
aspectRatio?: VideoAspectRatio;
|
|
@@ -1585,7 +1616,7 @@ interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
|
1585
1616
|
declare const VideoCard: React$1.ForwardRefExoticComponent<VideoCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1586
1617
|
|
|
1587
1618
|
interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
1588
|
-
src
|
|
1619
|
+
src?: string;
|
|
1589
1620
|
title?: React$1.ReactNode;
|
|
1590
1621
|
subtitle?: React$1.ReactNode;
|
|
1591
1622
|
playing?: boolean;
|
|
@@ -1596,9 +1627,94 @@ interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
|
1596
1627
|
mediaClassName?: string;
|
|
1597
1628
|
contentClassName?: string;
|
|
1598
1629
|
playerProps?: any;
|
|
1630
|
+
height?: string | number;
|
|
1599
1631
|
}
|
|
1600
1632
|
declare const AudioCard: React$1.ForwardRefExoticComponent<AudioCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1601
1633
|
|
|
1634
|
+
interface PdfCardProps extends Omit<CardProps, 'title'> {
|
|
1635
|
+
/**
|
|
1636
|
+
* URL of the PDF file
|
|
1637
|
+
*/
|
|
1638
|
+
src?: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Title of the document
|
|
1641
|
+
*/
|
|
1642
|
+
title?: React$1.ReactNode;
|
|
1643
|
+
/**
|
|
1644
|
+
* Subtitle or document metadata
|
|
1645
|
+
*/
|
|
1646
|
+
subtitle?: React$1.ReactNode;
|
|
1647
|
+
/**
|
|
1648
|
+
* Height of the PDF viewer
|
|
1649
|
+
*/
|
|
1650
|
+
height?: string | number;
|
|
1651
|
+
/**
|
|
1652
|
+
* Optional class name for the media container
|
|
1653
|
+
*/
|
|
1654
|
+
mediaClassName?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* Optional class name for the content container
|
|
1657
|
+
*/
|
|
1658
|
+
contentClassName?: string;
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
* A card for displaying PDF documents with an embedded viewer.
|
|
1662
|
+
*/
|
|
1663
|
+
declare const PdfCard: React$1.ForwardRefExoticComponent<PdfCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1664
|
+
|
|
1665
|
+
interface TextCardProps extends Omit<CardProps, 'title'> {
|
|
1666
|
+
/**
|
|
1667
|
+
* Text content to display (Markdown, HTML, or plain text)
|
|
1668
|
+
*/
|
|
1669
|
+
content: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* Optional title for the card
|
|
1672
|
+
*/
|
|
1673
|
+
title?: React$1.ReactNode;
|
|
1674
|
+
/**
|
|
1675
|
+
* Optional subtitle or metadata
|
|
1676
|
+
*/
|
|
1677
|
+
subtitle?: React$1.ReactNode;
|
|
1678
|
+
/**
|
|
1679
|
+
* Whether the content should be treated as Markdown
|
|
1680
|
+
* @default true
|
|
1681
|
+
*/
|
|
1682
|
+
isMarkdown?: boolean;
|
|
1683
|
+
/**
|
|
1684
|
+
* Maximum height of the content area before scrolling
|
|
1685
|
+
* @default '16rem'
|
|
1686
|
+
*/
|
|
1687
|
+
maxHeight?: string | number;
|
|
1688
|
+
/**
|
|
1689
|
+
* Optional class name for the content container
|
|
1690
|
+
*/
|
|
1691
|
+
contentClassName?: string;
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* A card for displaying text content, supporting Markdown and HTML formatting.
|
|
1695
|
+
*/
|
|
1696
|
+
declare const TextCard: React$1.ForwardRefExoticComponent<TextCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1697
|
+
|
|
1698
|
+
interface ArtifactCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1699
|
+
/**
|
|
1700
|
+
* The artifact object to display
|
|
1701
|
+
*/
|
|
1702
|
+
artifact: Artifact;
|
|
1703
|
+
/**
|
|
1704
|
+
* Callback when the artifact should be expanded/opened
|
|
1705
|
+
*/
|
|
1706
|
+
onExpand?: (artifact: Artifact) => void;
|
|
1707
|
+
/**
|
|
1708
|
+
* Whether the artifact is still loading
|
|
1709
|
+
*/
|
|
1710
|
+
isLoading?: boolean;
|
|
1711
|
+
}
|
|
1712
|
+
/**
|
|
1713
|
+
* A dispatcher component that renders the appropriate specialist card
|
|
1714
|
+
* based on the artifact type.
|
|
1715
|
+
*/
|
|
1716
|
+
declare const ArtifactCard: React$1.ForwardRefExoticComponent<ArtifactCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1717
|
+
|
|
1602
1718
|
type SectionHeadingLevel = 'h2' | 'h3';
|
|
1603
1719
|
interface SectionHeadingProps extends React$1.HTMLAttributes<HTMLHeadingElement> {
|
|
1604
1720
|
level?: SectionHeadingLevel;
|
|
@@ -1617,4 +1733,4 @@ declare const SectionHeading: React$1.ForwardRefExoticComponent<SectionHeadingPr
|
|
|
1617
1733
|
|
|
1618
1734
|
declare const version = "2.0.0";
|
|
1619
1735
|
|
|
1620
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, type Artifact, type ArtifactType, ArtifactsPanel, type ArtifactsPanelProps, ArtifactsPanelToggle, type ArtifactsPanelToggleProps, type AspectRatio, type AspectRatioPreset, type Attachment, type AttachmentItem, AttachmentPreview, type AttachmentPreviewProps, type AttachmentStatus, AudioCard, type AudioCardProps, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeVariant, BranchNavigator, type BranchNavigatorProps, BrandIcon, type BrandIconProps, type BrandIconSize, type BrandIconVariant, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardProps, type CardVariant, ChatInput, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, CollapsedSidebarToggle, type CollapsedSidebarToggleProps, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, ConversationSidebar, type ConversationSidebarProps, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, type IconProps, ImageCard, type ImageCardProps, Input, type InputAddonProps, type InputElementProps, InputGroup, type InputGroupProps, InputLeftAddon, InputLeftElement, type InputProps, InputRightAddon, InputRightElement, InputWrapper, type InputWrapperProps, Label, type LabelProps, LayersIcon, List, ListItem, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, MarkdownContent, type MarkdownContentProps, Menu, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, MenuSeparator, MenuTrigger, type MenuTriggerProps, Message, MessageActions, type MessageActionsConfig, type MessageActionsProps, type MessageActionsVariant, type MessageBranchInfo, type MessageNode, type MessageProps, type MessageVariant, Modal, type ModalProps, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, Pagination, type PaginationProps, PlusIcon, Popover, type PopoverAlign, type PopoverPosition, type PopoverProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Radio, type RadioProps, Row, type RowAlign, type RowGutter, type RowJustify, type RowProps, ScriptCard, type ScriptCardProps, type ScriptElement, type ScriptElementType, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, Select, type SelectOption, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, SquareLoaderIcon, Stack, type StackDirection, type StackGap, type StackProps, type Step, type StepStatus, Stepper, type StepperProps, StreamingCursor, type StreamingCursorProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type Task, type TaskStatus, Textarea, type TextareaProps, ThinkingIndicator, type ThinkingIndicatorProps, type ToastData, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, TodosList, type TodosListProps, Tooltip, type TooltipProps, type UseArtifactsReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, createEmptyTree, createPreviewUrl, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, isImageFile, messagesToTree, revokePreviewUrl, switchBranch, updateNodeContent, useArtifacts, useResizable, useScrollAnchor, useToast, version };
|
|
1736
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, type Artifact, ArtifactCard, type ArtifactCardProps, type ArtifactType, ArtifactsPanel, type ArtifactsPanelProps, ArtifactsPanelToggle, type ArtifactsPanelToggleProps, type AspectRatio, type AspectRatioPreset, type Attachment, type AttachmentItem, AttachmentPreview, type AttachmentPreviewProps, type AttachmentStatus, AudioCard, type AudioCardProps, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeVariant, BranchNavigator, type BranchNavigatorProps, BrandIcon, type BrandIconProps, type BrandIconSize, type BrandIconVariant, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardProps, type CardVariant, ChatInput, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, CollapsedSidebarToggle, type CollapsedSidebarToggleProps, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, ConversationSidebar, type ConversationSidebarProps, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, type IconProps, ImageCard, type ImageCardProps, Input, type InputAddonProps, type InputElementProps, InputGroup, type InputGroupProps, InputLeftAddon, InputLeftElement, type InputProps, InputRightAddon, InputRightElement, InputWrapper, type InputWrapperProps, Label, type LabelProps, LayersIcon, List, ListItem, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, MarkdownContent, type MarkdownContentProps, Menu, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, MenuSeparator, MenuTrigger, type MenuTriggerProps, Message, MessageActions, type MessageActionsConfig, type MessageActionsProps, type MessageActionsVariant, type MessageBranchInfo, type MessageNode, type MessageProps, type MessageVariant, Modal, type ModalProps, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, Pagination, type PaginationProps, PdfCard, type PdfCardProps, PlusIcon, Popover, type PopoverAlign, type PopoverPosition, type PopoverProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Radio, type RadioProps, Row, type RowAlign, type RowGutter, type RowJustify, type RowProps, ScriptCard, type ScriptCardProps, type ScriptElement, type ScriptElementType, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, Select, type SelectOption, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, SquareLoaderIcon, Stack, type StackDirection, type StackGap, type StackProps, type Step, type StepStatus, Stepper, type StepperProps, StreamingCursor, type StreamingCursorProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type Task, type TaskStatus, TextCard, type TextCardProps, Textarea, type TextareaProps, ThinkingIndicator, type ThinkingIndicatorProps, type ToastData, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, TodosList, type TodosListProps, Tooltip, type TooltipProps, type UseArtifactsReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, createEmptyTree, createPreviewUrl, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, isImageFile, messagesToTree, revokePreviewUrl, switchBranch, updateNodeContent, useArtifacts, useResizable, useScrollAnchor, useToast, version };
|