@lukeashford/aurelius 3.9.0 → 4.0.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 +15 -36
- package/dist/index.d.ts +15 -36
- package/dist/index.js +1082 -1289
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +470 -674
- package/dist/index.mjs.map +1 -1
- package/llms.md +8 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { Config } from 'dompurify';
|
|
3
|
+
import ReactPlayer from 'react-player';
|
|
3
4
|
|
|
4
5
|
type ButtonVariant = 'primary' | 'important' | 'elevated' | 'outlined' | 'featured' | 'ghost' | 'danger';
|
|
5
6
|
type ButtonSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -832,18 +833,6 @@ interface Attachment {
|
|
|
832
833
|
*/
|
|
833
834
|
progress?: number;
|
|
834
835
|
}
|
|
835
|
-
/**
|
|
836
|
-
* Helper to check if a file is an image
|
|
837
|
-
*/
|
|
838
|
-
declare function isImageFile(file: File): boolean;
|
|
839
|
-
/**
|
|
840
|
-
* Helper to create a preview URL for an image file
|
|
841
|
-
*/
|
|
842
|
-
declare function createPreviewUrl(file: File): string | undefined;
|
|
843
|
-
/**
|
|
844
|
-
* Helper to revoke a preview URL when no longer needed
|
|
845
|
-
*/
|
|
846
|
-
declare function revokePreviewUrl(url: string | undefined): void;
|
|
847
836
|
/**
|
|
848
837
|
* Generate a unique ID
|
|
849
838
|
*/
|
|
@@ -1075,26 +1064,9 @@ interface ToolDefinition {
|
|
|
1075
1064
|
}
|
|
1076
1065
|
/**
|
|
1077
1066
|
* Consumer-provided tool definition passed via ChatInterface's `tools` prop.
|
|
1078
|
-
*
|
|
1079
|
-
* render when the tool is opened.
|
|
1067
|
+
* Adds the panel content to render when the tool is opened.
|
|
1080
1068
|
*/
|
|
1081
|
-
interface ExternalToolDefinition {
|
|
1082
|
-
/**
|
|
1083
|
-
* Unique identifier for this tool
|
|
1084
|
-
*/
|
|
1085
|
-
id: string;
|
|
1086
|
-
/**
|
|
1087
|
-
* Icon element shown in the sidebar button
|
|
1088
|
-
*/
|
|
1089
|
-
icon: React$1.ReactNode;
|
|
1090
|
-
/**
|
|
1091
|
-
* Accessible label for the button
|
|
1092
|
-
*/
|
|
1093
|
-
label: string;
|
|
1094
|
-
/**
|
|
1095
|
-
* Which group the tool belongs to
|
|
1096
|
-
*/
|
|
1097
|
-
group: ToolGroup;
|
|
1069
|
+
interface ExternalToolDefinition extends ToolDefinition {
|
|
1098
1070
|
/**
|
|
1099
1071
|
* Content to render when the tool is open
|
|
1100
1072
|
*/
|
|
@@ -1671,12 +1643,15 @@ interface ToolPanelContainerProps extends React$1.HTMLAttributes<HTMLDivElement>
|
|
|
1671
1643
|
*/
|
|
1672
1644
|
declare const ToolPanelContainer: React$1.ForwardRefExoticComponent<ToolPanelContainerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1673
1645
|
|
|
1674
|
-
|
|
1646
|
+
/**
|
|
1647
|
+
* @deprecated Use MessageVariant. Kept as an alias for backwards compatibility.
|
|
1648
|
+
*/
|
|
1649
|
+
type MessageActionsVariant = MessageVariant;
|
|
1675
1650
|
interface MessageActionsProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1676
1651
|
/**
|
|
1677
1652
|
* Whether this is for a user or assistant message
|
|
1678
1653
|
*/
|
|
1679
|
-
variant:
|
|
1654
|
+
variant: MessageVariant;
|
|
1680
1655
|
/**
|
|
1681
1656
|
* The message content for copy functionality
|
|
1682
1657
|
*/
|
|
@@ -1893,6 +1868,7 @@ interface ImageCardProps extends Omit<CardProps, 'title'> {
|
|
|
1893
1868
|
}
|
|
1894
1869
|
declare const ImageCard: React$1.ForwardRefExoticComponent<ImageCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1895
1870
|
|
|
1871
|
+
type ReactPlayerProps$1 = React$1.ComponentProps<typeof ReactPlayer>;
|
|
1896
1872
|
type VideoAspectRatioPreset = 'video' | 'cinema' | 'square';
|
|
1897
1873
|
type VideoAspectRatio = VideoAspectRatioPreset | `${number}/${number}`;
|
|
1898
1874
|
interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
@@ -1908,11 +1884,13 @@ interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
|
1908
1884
|
loop?: boolean;
|
|
1909
1885
|
mediaClassName?: string;
|
|
1910
1886
|
contentClassName?: string;
|
|
1911
|
-
|
|
1887
|
+
/** Forwarded to the underlying ReactPlayer. */
|
|
1888
|
+
playerProps?: Partial<ReactPlayerProps$1>;
|
|
1912
1889
|
loading?: CardSlotLoading;
|
|
1913
1890
|
}
|
|
1914
1891
|
declare const VideoCard: React$1.ForwardRefExoticComponent<VideoCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1915
1892
|
|
|
1893
|
+
type ReactPlayerProps = React$1.ComponentProps<typeof ReactPlayer>;
|
|
1916
1894
|
interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
1917
1895
|
src?: string;
|
|
1918
1896
|
title?: React$1.ReactNode;
|
|
@@ -1924,7 +1902,8 @@ interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
|
1924
1902
|
loop?: boolean;
|
|
1925
1903
|
mediaClassName?: string;
|
|
1926
1904
|
contentClassName?: string;
|
|
1927
|
-
|
|
1905
|
+
/** Forwarded to the underlying ReactPlayer. */
|
|
1906
|
+
playerProps?: Partial<ReactPlayerProps>;
|
|
1928
1907
|
height?: string | number;
|
|
1929
1908
|
loading?: CardSlotLoading;
|
|
1930
1909
|
}
|
|
@@ -2054,4 +2033,4 @@ declare const ArtifactVariantStack: React$1.ForwardRefExoticComponent<ArtifactVa
|
|
|
2054
2033
|
|
|
2055
2034
|
declare const version = "2.0.0";
|
|
2056
2035
|
|
|
2057
|
-
export { ARTIFACT_TYPES, 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, ArtifactGroup, type ArtifactGroupProps, type ArtifactNode, type ArtifactType, ArtifactVariantStack, type ArtifactVariantStackProps, 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, type BreadcrumbEntry, 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, ChatBubbleIcon, ChatInput, type ChatInputNotice, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, type ExternalToolDefinition, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, HistoryPanel, type HistoryPanelProps, 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, MediaIcon, 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, NODE_TYPES, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NodeType, 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, SCRIPT_ELEMENT_TYPES, 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, TASK_STATUSES, 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, type ToolDefinition, type ToolGroup, ToolPanelContainer, type ToolPanelContainerProps, type ToolPanelState, ToolSidebar, type ToolSidebarProps, Tooltip, type TooltipProps, type UseArtifactTreeNavigationReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, areAllTasksSettled, createEmptyTree,
|
|
2036
|
+
export { ARTIFACT_TYPES, 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, ArtifactGroup, type ArtifactGroupProps, type ArtifactNode, type ArtifactType, ArtifactVariantStack, type ArtifactVariantStackProps, 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, type BreadcrumbEntry, 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, ChatBubbleIcon, ChatInput, type ChatInputNotice, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, type ExternalToolDefinition, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, HistoryPanel, type HistoryPanelProps, 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, MediaIcon, 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, NODE_TYPES, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NodeType, 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, SCRIPT_ELEMENT_TYPES, 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, TASK_STATUSES, 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, type ToolDefinition, type ToolGroup, ToolPanelContainer, type ToolPanelContainerProps, type ToolPanelState, ToolSidebar, type ToolSidebarProps, Tooltip, type TooltipProps, type UseArtifactTreeNavigationReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, areAllTasksSettled, createEmptyTree, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, messagesToTree, switchBranch, updateNodeContent, useArtifactTreeNavigation, useResizable, useScrollAnchor, useToast, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { Config } from 'dompurify';
|
|
3
|
+
import ReactPlayer from 'react-player';
|
|
3
4
|
|
|
4
5
|
type ButtonVariant = 'primary' | 'important' | 'elevated' | 'outlined' | 'featured' | 'ghost' | 'danger';
|
|
5
6
|
type ButtonSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -832,18 +833,6 @@ interface Attachment {
|
|
|
832
833
|
*/
|
|
833
834
|
progress?: number;
|
|
834
835
|
}
|
|
835
|
-
/**
|
|
836
|
-
* Helper to check if a file is an image
|
|
837
|
-
*/
|
|
838
|
-
declare function isImageFile(file: File): boolean;
|
|
839
|
-
/**
|
|
840
|
-
* Helper to create a preview URL for an image file
|
|
841
|
-
*/
|
|
842
|
-
declare function createPreviewUrl(file: File): string | undefined;
|
|
843
|
-
/**
|
|
844
|
-
* Helper to revoke a preview URL when no longer needed
|
|
845
|
-
*/
|
|
846
|
-
declare function revokePreviewUrl(url: string | undefined): void;
|
|
847
836
|
/**
|
|
848
837
|
* Generate a unique ID
|
|
849
838
|
*/
|
|
@@ -1075,26 +1064,9 @@ interface ToolDefinition {
|
|
|
1075
1064
|
}
|
|
1076
1065
|
/**
|
|
1077
1066
|
* Consumer-provided tool definition passed via ChatInterface's `tools` prop.
|
|
1078
|
-
*
|
|
1079
|
-
* render when the tool is opened.
|
|
1067
|
+
* Adds the panel content to render when the tool is opened.
|
|
1080
1068
|
*/
|
|
1081
|
-
interface ExternalToolDefinition {
|
|
1082
|
-
/**
|
|
1083
|
-
* Unique identifier for this tool
|
|
1084
|
-
*/
|
|
1085
|
-
id: string;
|
|
1086
|
-
/**
|
|
1087
|
-
* Icon element shown in the sidebar button
|
|
1088
|
-
*/
|
|
1089
|
-
icon: React$1.ReactNode;
|
|
1090
|
-
/**
|
|
1091
|
-
* Accessible label for the button
|
|
1092
|
-
*/
|
|
1093
|
-
label: string;
|
|
1094
|
-
/**
|
|
1095
|
-
* Which group the tool belongs to
|
|
1096
|
-
*/
|
|
1097
|
-
group: ToolGroup;
|
|
1069
|
+
interface ExternalToolDefinition extends ToolDefinition {
|
|
1098
1070
|
/**
|
|
1099
1071
|
* Content to render when the tool is open
|
|
1100
1072
|
*/
|
|
@@ -1671,12 +1643,15 @@ interface ToolPanelContainerProps extends React$1.HTMLAttributes<HTMLDivElement>
|
|
|
1671
1643
|
*/
|
|
1672
1644
|
declare const ToolPanelContainer: React$1.ForwardRefExoticComponent<ToolPanelContainerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1673
1645
|
|
|
1674
|
-
|
|
1646
|
+
/**
|
|
1647
|
+
* @deprecated Use MessageVariant. Kept as an alias for backwards compatibility.
|
|
1648
|
+
*/
|
|
1649
|
+
type MessageActionsVariant = MessageVariant;
|
|
1675
1650
|
interface MessageActionsProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1676
1651
|
/**
|
|
1677
1652
|
* Whether this is for a user or assistant message
|
|
1678
1653
|
*/
|
|
1679
|
-
variant:
|
|
1654
|
+
variant: MessageVariant;
|
|
1680
1655
|
/**
|
|
1681
1656
|
* The message content for copy functionality
|
|
1682
1657
|
*/
|
|
@@ -1893,6 +1868,7 @@ interface ImageCardProps extends Omit<CardProps, 'title'> {
|
|
|
1893
1868
|
}
|
|
1894
1869
|
declare const ImageCard: React$1.ForwardRefExoticComponent<ImageCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1895
1870
|
|
|
1871
|
+
type ReactPlayerProps$1 = React$1.ComponentProps<typeof ReactPlayer>;
|
|
1896
1872
|
type VideoAspectRatioPreset = 'video' | 'cinema' | 'square';
|
|
1897
1873
|
type VideoAspectRatio = VideoAspectRatioPreset | `${number}/${number}`;
|
|
1898
1874
|
interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
@@ -1908,11 +1884,13 @@ interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
|
1908
1884
|
loop?: boolean;
|
|
1909
1885
|
mediaClassName?: string;
|
|
1910
1886
|
contentClassName?: string;
|
|
1911
|
-
|
|
1887
|
+
/** Forwarded to the underlying ReactPlayer. */
|
|
1888
|
+
playerProps?: Partial<ReactPlayerProps$1>;
|
|
1912
1889
|
loading?: CardSlotLoading;
|
|
1913
1890
|
}
|
|
1914
1891
|
declare const VideoCard: React$1.ForwardRefExoticComponent<VideoCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1915
1892
|
|
|
1893
|
+
type ReactPlayerProps = React$1.ComponentProps<typeof ReactPlayer>;
|
|
1916
1894
|
interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
1917
1895
|
src?: string;
|
|
1918
1896
|
title?: React$1.ReactNode;
|
|
@@ -1924,7 +1902,8 @@ interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
|
1924
1902
|
loop?: boolean;
|
|
1925
1903
|
mediaClassName?: string;
|
|
1926
1904
|
contentClassName?: string;
|
|
1927
|
-
|
|
1905
|
+
/** Forwarded to the underlying ReactPlayer. */
|
|
1906
|
+
playerProps?: Partial<ReactPlayerProps>;
|
|
1928
1907
|
height?: string | number;
|
|
1929
1908
|
loading?: CardSlotLoading;
|
|
1930
1909
|
}
|
|
@@ -2054,4 +2033,4 @@ declare const ArtifactVariantStack: React$1.ForwardRefExoticComponent<ArtifactVa
|
|
|
2054
2033
|
|
|
2055
2034
|
declare const version = "2.0.0";
|
|
2056
2035
|
|
|
2057
|
-
export { ARTIFACT_TYPES, 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, ArtifactGroup, type ArtifactGroupProps, type ArtifactNode, type ArtifactType, ArtifactVariantStack, type ArtifactVariantStackProps, 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, type BreadcrumbEntry, 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, ChatBubbleIcon, ChatInput, type ChatInputNotice, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, type ExternalToolDefinition, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, HistoryPanel, type HistoryPanelProps, 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, MediaIcon, 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, NODE_TYPES, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NodeType, 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, SCRIPT_ELEMENT_TYPES, 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, TASK_STATUSES, 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, type ToolDefinition, type ToolGroup, ToolPanelContainer, type ToolPanelContainerProps, type ToolPanelState, ToolSidebar, type ToolSidebarProps, Tooltip, type TooltipProps, type UseArtifactTreeNavigationReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, areAllTasksSettled, createEmptyTree,
|
|
2036
|
+
export { ARTIFACT_TYPES, 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, ArtifactGroup, type ArtifactGroupProps, type ArtifactNode, type ArtifactType, ArtifactVariantStack, type ArtifactVariantStackProps, 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, type BreadcrumbEntry, 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, ChatBubbleIcon, ChatInput, type ChatInputNotice, type ChatInputPosition, type ChatInputProps, ChatInterface, type ChatInterfaceProps, ChatView, type ChatViewItem, type ChatViewProps, CheckSquareIcon, Checkbox, type CheckboxProps, ChevronLeftIcon, ChevronRightIcon, CloseIcon, Col, type ColOffset, type ColOrder, type ColProps, type ColSpan, ColorSwatch, type ColorSwatchProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, type Conversation, type ConversationTree, CrossSquareIcon, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, EmptySquareIcon, ExpandIcon, type ExternalToolDefinition, FileChip, type FileChipProps, type FileChipStatus, HelperText, type HelperTextProps, HistoryIcon, HistoryPanel, type HistoryPanelProps, 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, MediaIcon, 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, NODE_TYPES, Navbar, NavbarBrand, type NavbarBrandProps, NavbarContent, type NavbarContentProps, NavbarDivider, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NodeType, 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, SCRIPT_ELEMENT_TYPES, 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, TASK_STATUSES, 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, type ToolDefinition, type ToolGroup, ToolPanelContainer, type ToolPanelContainerProps, type ToolPanelState, ToolSidebar, type ToolSidebarProps, Tooltip, type TooltipProps, type UseArtifactTreeNavigationReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, areAllTasksSettled, createEmptyTree, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, messagesToTree, switchBranch, updateNodeContent, useArtifactTreeNavigation, useResizable, useScrollAnchor, useToast, version };
|