@lukeashford/aurelius 2.19.0 → 2.21.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 +259 -31
- package/dist/index.d.ts +259 -31
- package/dist/index.js +1066 -547
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1017 -506
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +30 -0
- package/llms.md +94 -26
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -18,12 +18,22 @@ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
|
18
18
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
19
19
|
|
|
20
20
|
type CardVariant = 'default' | 'elevated' | 'outlined' | 'ghost' | 'featured';
|
|
21
|
+
type CardSlotLoading = {
|
|
22
|
+
header?: {
|
|
23
|
+
title?: boolean;
|
|
24
|
+
subtitle?: boolean;
|
|
25
|
+
action?: boolean;
|
|
26
|
+
};
|
|
27
|
+
media?: boolean;
|
|
28
|
+
body?: boolean;
|
|
29
|
+
footer?: boolean;
|
|
30
|
+
};
|
|
21
31
|
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
22
32
|
variant?: CardVariant;
|
|
23
33
|
interactive?: boolean;
|
|
24
34
|
selected?: boolean;
|
|
25
35
|
noPadding?: boolean;
|
|
26
|
-
|
|
36
|
+
loading?: CardSlotLoading;
|
|
27
37
|
}
|
|
28
38
|
interface CardHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
29
39
|
title?: React$1.ReactNode;
|
|
@@ -604,6 +614,11 @@ declare function HistoryIcon({ className, ...props }: IconProps): React$1.JSX.El
|
|
|
604
614
|
|
|
605
615
|
declare function LayersIcon({ className, ...props }: IconProps): React$1.JSX.Element;
|
|
606
616
|
|
|
617
|
+
/**
|
|
618
|
+
* Media icon — a film frame with play triangle, representing video and media artifacts.
|
|
619
|
+
*/
|
|
620
|
+
declare function MediaIcon({ className, ...props }: IconProps): React$1.JSX.Element;
|
|
621
|
+
|
|
607
622
|
declare function PlusIcon({ className, ...props }: IconProps): React$1.JSX.Element;
|
|
608
623
|
|
|
609
624
|
declare function CheckSquareIcon({ className, ...props }: IconProps): React$1.JSX.Element;
|
|
@@ -900,6 +915,11 @@ interface TodosListProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
900
915
|
* (not globally), so just changing a task's status will reorder it appropriately.
|
|
901
916
|
*/
|
|
902
917
|
declare const TodosList: React$1.ForwardRefExoticComponent<TodosListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
918
|
+
/**
|
|
919
|
+
* Returns true when every task (and subtask, recursively) is in a
|
|
920
|
+
* terminal state: done, cancelled, or failed. Returns true for empty arrays.
|
|
921
|
+
*/
|
|
922
|
+
declare function areAllTasksSettled(tasks: Task[]): boolean;
|
|
903
923
|
|
|
904
924
|
interface UseScrollAnchorOptions {
|
|
905
925
|
/**
|
|
@@ -989,6 +1009,7 @@ interface ScriptCardProps extends Omit<CardProps, 'title'> {
|
|
|
989
1009
|
* Maximum height before scrolling (default: 16rem / 256px)
|
|
990
1010
|
*/
|
|
991
1011
|
maxHeight?: string;
|
|
1012
|
+
loading?: CardSlotLoading;
|
|
992
1013
|
}
|
|
993
1014
|
/**
|
|
994
1015
|
* ScriptCard displays a formatted movie/video script.
|
|
@@ -1079,7 +1100,7 @@ interface ArtifactCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1079
1100
|
/**
|
|
1080
1101
|
* Whether the artifact is still loading
|
|
1081
1102
|
*/
|
|
1082
|
-
|
|
1103
|
+
loading?: CardSlotLoading;
|
|
1083
1104
|
}
|
|
1084
1105
|
/**
|
|
1085
1106
|
* A dispatcher component that renders the appropriate specialist card
|
|
@@ -1164,6 +1185,79 @@ declare function useResizable({ initialWidthPercent, minWidthPercent, maxWidthPe
|
|
|
1164
1185
|
startResizing: (e: React.MouseEvent) => void;
|
|
1165
1186
|
};
|
|
1166
1187
|
|
|
1188
|
+
/**
|
|
1189
|
+
* Node types in the artifact tree
|
|
1190
|
+
*/
|
|
1191
|
+
declare const NODE_TYPES: {
|
|
1192
|
+
readonly ARTIFACT: "ARTIFACT";
|
|
1193
|
+
readonly GROUP: "GROUP";
|
|
1194
|
+
readonly VARIANT_SET: "VARIANT_SET";
|
|
1195
|
+
};
|
|
1196
|
+
type NodeType = typeof NODE_TYPES[keyof typeof NODE_TYPES];
|
|
1197
|
+
/**
|
|
1198
|
+
* A node in the artifact tree. Mirrors the backend ArtifactNode shape.
|
|
1199
|
+
* Groups and variant sets contain children; artifact nodes link to content.
|
|
1200
|
+
*/
|
|
1201
|
+
interface ArtifactNode {
|
|
1202
|
+
/**
|
|
1203
|
+
* Unique identifier
|
|
1204
|
+
*/
|
|
1205
|
+
id: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* The node type — ARTIFACT, GROUP, or VARIANT_SET
|
|
1208
|
+
*/
|
|
1209
|
+
type: NodeType;
|
|
1210
|
+
/**
|
|
1211
|
+
* Semantic name (e.g. "storyboard", "protagonist_warm")
|
|
1212
|
+
*/
|
|
1213
|
+
name: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Display label (e.g. "Storyboard", "Warm Analog")
|
|
1216
|
+
*/
|
|
1217
|
+
label: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* For ARTIFACT nodes — the actual content. Null for GROUP and VARIANT_SET.
|
|
1220
|
+
*/
|
|
1221
|
+
artifact?: Artifact;
|
|
1222
|
+
/**
|
|
1223
|
+
* Child nodes (populated for GROUP and VARIANT_SET)
|
|
1224
|
+
*/
|
|
1225
|
+
children: ArtifactNode[];
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* A breadcrumb entry representing one level of navigation depth.
|
|
1230
|
+
*/
|
|
1231
|
+
interface BreadcrumbEntry {
|
|
1232
|
+
/** Display label for this level */
|
|
1233
|
+
label: string;
|
|
1234
|
+
/** The group node at this level (null for root) */
|
|
1235
|
+
node: ArtifactNode | null;
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Return type for the useArtifactTreeNavigation hook.
|
|
1239
|
+
*/
|
|
1240
|
+
interface UseArtifactTreeNavigationReturn {
|
|
1241
|
+
/** Nodes to display at the current navigation level */
|
|
1242
|
+
currentNodes: ArtifactNode[];
|
|
1243
|
+
/** Breadcrumb trail from root to current level */
|
|
1244
|
+
breadcrumbs: BreadcrumbEntry[];
|
|
1245
|
+
/** Whether the user is at the root level */
|
|
1246
|
+
isAtRoot: boolean;
|
|
1247
|
+
/** Navigate into a group node, pushing it onto the stack */
|
|
1248
|
+
navigateInto: (node: ArtifactNode) => void;
|
|
1249
|
+
/** Navigate to a specific breadcrumb level by index */
|
|
1250
|
+
navigateTo: (index: number) => void;
|
|
1251
|
+
/** Navigate back one level */
|
|
1252
|
+
navigateBack: () => void;
|
|
1253
|
+
}
|
|
1254
|
+
/**
|
|
1255
|
+
* Manages navigation state for an artifact tree panel.
|
|
1256
|
+
* Maintains a stack of group nodes the user has navigated into,
|
|
1257
|
+
* deriving children from the node references themselves.
|
|
1258
|
+
*/
|
|
1259
|
+
declare function useArtifactTreeNavigation(rootNodes: ArtifactNode[]): UseArtifactTreeNavigationReturn;
|
|
1260
|
+
|
|
1167
1261
|
/**
|
|
1168
1262
|
* Conversation Tree Types
|
|
1169
1263
|
*
|
|
@@ -1397,8 +1491,14 @@ interface ChatInterfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
|
|
|
1397
1491
|
* Best managed via the useArtifacts hook and passed here.
|
|
1398
1492
|
*/
|
|
1399
1493
|
artifacts?: Artifact[];
|
|
1494
|
+
/**
|
|
1495
|
+
* Top-level artifact tree nodes for tree-aware navigation.
|
|
1496
|
+
* When provided, the panel renders a navigable tree instead of a flat list.
|
|
1497
|
+
*/
|
|
1498
|
+
artifactNodes?: ArtifactNode[];
|
|
1400
1499
|
/**
|
|
1401
1500
|
* Whether the artifacts panel is currently open (controlled).
|
|
1501
|
+
* When set, maps to the tool panel system — opens the artifacts tool.
|
|
1402
1502
|
*/
|
|
1403
1503
|
isArtifactsPanelOpen?: boolean;
|
|
1404
1504
|
/**
|
|
@@ -1406,7 +1506,7 @@ interface ChatInterfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
|
|
|
1406
1506
|
*/
|
|
1407
1507
|
onArtifactsPanelOpenChange?: (open: boolean) => void;
|
|
1408
1508
|
/**
|
|
1409
|
-
* Tasks to display in the todos list
|
|
1509
|
+
* Tasks to display in the todos list tool panel.
|
|
1410
1510
|
* Shows a list of tasks with status indicators.
|
|
1411
1511
|
*/
|
|
1412
1512
|
tasks?: Task[];
|
|
@@ -1422,7 +1522,11 @@ interface ChatInterfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
|
|
|
1422
1522
|
* Features:
|
|
1423
1523
|
* - ConversationSidebar (left) — collapsible list of past conversations
|
|
1424
1524
|
* - ChatView (center) — main conversation area with smart scrolling
|
|
1425
|
-
* -
|
|
1525
|
+
* - Tool panel system (right) — IntelliJ-style tool sidebar with:
|
|
1526
|
+
* - Top group: Chat History, Artifacts Panel (mutually exclusive)
|
|
1527
|
+
* - Bottom group: Todo List
|
|
1528
|
+
* - Vertical split with draggable divider when both groups are active
|
|
1529
|
+
* - Width-resizable tool content area
|
|
1426
1530
|
* - ChatInput — position-aware input that centers in empty state
|
|
1427
1531
|
* - Branching — support for conversation tree with branch navigation
|
|
1428
1532
|
* - Message Actions — copy, edit, retry
|
|
@@ -1482,42 +1586,37 @@ declare const ChatView: React$1.ForwardRefExoticComponent<ChatViewProps & React$
|
|
|
1482
1586
|
|
|
1483
1587
|
interface ArtifactsPanelProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1484
1588
|
/**
|
|
1485
|
-
*
|
|
1486
|
-
|
|
1487
|
-
artifacts: Artifact[];
|
|
1488
|
-
/**
|
|
1489
|
-
* Whether the panel is visible
|
|
1589
|
+
* Top-level tree nodes to display. When provided, the panel renders
|
|
1590
|
+
* a navigable artifact tree instead of a flat list.
|
|
1490
1591
|
*/
|
|
1491
|
-
|
|
1592
|
+
nodes?: ArtifactNode[];
|
|
1492
1593
|
/**
|
|
1493
|
-
*
|
|
1594
|
+
* Array of flat artifacts to display (legacy/simple mode).
|
|
1595
|
+
* Ignored when `nodes` is provided.
|
|
1494
1596
|
*/
|
|
1495
|
-
|
|
1597
|
+
artifacts?: Artifact[];
|
|
1496
1598
|
/**
|
|
1497
1599
|
* Whether artifacts are still loading (show skeletons)
|
|
1498
1600
|
*/
|
|
1499
|
-
|
|
1500
|
-
/**
|
|
1501
|
-
* Current width of the panel as CSS value (e.g., "50vw", "400px").
|
|
1502
|
-
*/
|
|
1503
|
-
width?: string;
|
|
1504
|
-
/**
|
|
1505
|
-
* Width as percentage of viewport (0-100) for column calculations.
|
|
1506
|
-
*/
|
|
1507
|
-
widthPercent?: number;
|
|
1508
|
-
/**
|
|
1509
|
-
* Callback to start resizing
|
|
1510
|
-
*/
|
|
1511
|
-
onResizeStart?: (e: React$1.MouseEvent) => void;
|
|
1601
|
+
loading?: CardSlotLoading;
|
|
1512
1602
|
}
|
|
1513
1603
|
/**
|
|
1514
|
-
* ArtifactsPanel displays
|
|
1604
|
+
* ArtifactsPanel displays artifacts in a navigable tree panel.
|
|
1515
1605
|
*
|
|
1516
|
-
*
|
|
1517
|
-
*
|
|
1518
|
-
*
|
|
1606
|
+
* This is a content-only component — it fills whatever container it is
|
|
1607
|
+
* placed in. Opening/closing and resizing are handled by the parent
|
|
1608
|
+
* ToolPanelContainer and ToolSidebar.
|
|
1519
1609
|
*
|
|
1520
|
-
*
|
|
1610
|
+
* When provided with `nodes`, it renders a tree-aware, navigable panel
|
|
1611
|
+
* where groups can be entered (breadcrumb navigation) and artifacts
|
|
1612
|
+
* can be expanded to a full-screen modal.
|
|
1613
|
+
*
|
|
1614
|
+
* When provided with flat `artifacts`, it renders them in a simple grid.
|
|
1615
|
+
*
|
|
1616
|
+
* Supports zoom controls (0.25x–1x) in tree mode. Zoom uses CSS
|
|
1617
|
+
* `transform: scale()` on the content wrapper so the entire layout scales
|
|
1618
|
+
* uniformly — cards, images, gaps, and text all shrink as if the viewer
|
|
1619
|
+
* is physically moving back from the content.
|
|
1521
1620
|
*/
|
|
1522
1621
|
declare const ArtifactsPanel: React$1.ForwardRefExoticComponent<ArtifactsPanelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1523
1622
|
/**
|
|
@@ -1529,6 +1628,90 @@ interface ArtifactsPanelToggleProps extends React$1.ButtonHTMLAttributes<HTMLBut
|
|
|
1529
1628
|
}
|
|
1530
1629
|
declare const ArtifactsPanelToggle: React$1.ForwardRefExoticComponent<ArtifactsPanelToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1531
1630
|
|
|
1631
|
+
/**
|
|
1632
|
+
* Describes a tool that can be toggled from the sidebar.
|
|
1633
|
+
*/
|
|
1634
|
+
interface ToolDefinition {
|
|
1635
|
+
/**
|
|
1636
|
+
* Unique identifier for this tool
|
|
1637
|
+
*/
|
|
1638
|
+
id: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Icon element shown in the sidebar button
|
|
1641
|
+
*/
|
|
1642
|
+
icon: React$1.ReactNode;
|
|
1643
|
+
/**
|
|
1644
|
+
* Accessible label for the button
|
|
1645
|
+
*/
|
|
1646
|
+
label: string;
|
|
1647
|
+
/**
|
|
1648
|
+
* Which group the tool belongs to — tools in the same group
|
|
1649
|
+
* are mutually exclusive (opening one closes the other).
|
|
1650
|
+
*/
|
|
1651
|
+
group: 'top' | 'bottom';
|
|
1652
|
+
}
|
|
1653
|
+
/**
|
|
1654
|
+
* Tracks which tool is open in each group (null = none).
|
|
1655
|
+
*/
|
|
1656
|
+
interface ToolPanelState {
|
|
1657
|
+
top: string | null;
|
|
1658
|
+
bottom: string | null;
|
|
1659
|
+
}
|
|
1660
|
+
interface ToolSidebarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1661
|
+
/**
|
|
1662
|
+
* Available tool definitions
|
|
1663
|
+
*/
|
|
1664
|
+
tools: ToolDefinition[];
|
|
1665
|
+
/**
|
|
1666
|
+
* Current state — which tool is open per group
|
|
1667
|
+
*/
|
|
1668
|
+
activeTools: ToolPanelState;
|
|
1669
|
+
/**
|
|
1670
|
+
* Called when a tool button is clicked (toggle)
|
|
1671
|
+
*/
|
|
1672
|
+
onToggleTool: (toolId: string) => void;
|
|
1673
|
+
}
|
|
1674
|
+
/**
|
|
1675
|
+
* ToolSidebar renders a vertical strip of tool icon buttons on the right
|
|
1676
|
+
* side of the chat interface. It follows the IntelliJ pattern:
|
|
1677
|
+
*
|
|
1678
|
+
* - Top-aligned group and bottom-aligned group separated by a divider
|
|
1679
|
+
* - Tools in the same group are mutually exclusive
|
|
1680
|
+
* - Clicking an active tool closes it; clicking an inactive tool opens it
|
|
1681
|
+
* - Constant slim width regardless of tool panel state
|
|
1682
|
+
*/
|
|
1683
|
+
declare const ToolSidebar: React$1.ForwardRefExoticComponent<ToolSidebarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1684
|
+
|
|
1685
|
+
interface ToolPanelContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1686
|
+
/**
|
|
1687
|
+
* Content for the top tool slot (from the top group).
|
|
1688
|
+
* When null, the bottom slot takes full height.
|
|
1689
|
+
*/
|
|
1690
|
+
topContent: React$1.ReactNode | null;
|
|
1691
|
+
/**
|
|
1692
|
+
* Content for the bottom tool slot (from the bottom group).
|
|
1693
|
+
* When null, the top slot takes full height.
|
|
1694
|
+
*/
|
|
1695
|
+
bottomContent: React$1.ReactNode | null;
|
|
1696
|
+
/**
|
|
1697
|
+
* Panel width as CSS value (e.g., "50vw")
|
|
1698
|
+
*/
|
|
1699
|
+
width?: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* Callback to start horizontal resizing (width dragger)
|
|
1702
|
+
*/
|
|
1703
|
+
onResizeStart?: (e: React$1.MouseEvent) => void;
|
|
1704
|
+
}
|
|
1705
|
+
/**
|
|
1706
|
+
* ToolPanelContainer manages the layout of one or two tool panels
|
|
1707
|
+
* stacked vertically. When both top and bottom slots are filled, a
|
|
1708
|
+
* height-adjustable divider appears between them.
|
|
1709
|
+
*
|
|
1710
|
+
* It also renders the width-resize handle on its left edge, identical
|
|
1711
|
+
* to the previous ArtifactsPanel resize behavior.
|
|
1712
|
+
*/
|
|
1713
|
+
declare const ToolPanelContainer: React$1.ForwardRefExoticComponent<ToolPanelContainerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1714
|
+
|
|
1532
1715
|
type MessageActionsVariant = 'user' | 'assistant';
|
|
1533
1716
|
interface MessageActionsProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1534
1717
|
/**
|
|
@@ -1643,6 +1826,7 @@ interface ImageCardProps extends Omit<CardProps, 'title'> {
|
|
|
1643
1826
|
overlay?: React$1.ReactNode;
|
|
1644
1827
|
mediaClassName?: string;
|
|
1645
1828
|
contentClassName?: string;
|
|
1829
|
+
loading?: CardSlotLoading;
|
|
1646
1830
|
}
|
|
1647
1831
|
declare const ImageCard: React$1.ForwardRefExoticComponent<ImageCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1648
1832
|
|
|
@@ -1662,6 +1846,7 @@ interface VideoCardProps extends Omit<CardProps, 'title'> {
|
|
|
1662
1846
|
mediaClassName?: string;
|
|
1663
1847
|
contentClassName?: string;
|
|
1664
1848
|
playerProps?: any;
|
|
1849
|
+
loading?: CardSlotLoading;
|
|
1665
1850
|
}
|
|
1666
1851
|
declare const VideoCard: React$1.ForwardRefExoticComponent<VideoCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1667
1852
|
|
|
@@ -1678,6 +1863,7 @@ interface AudioCardProps extends Omit<CardProps, 'title'> {
|
|
|
1678
1863
|
contentClassName?: string;
|
|
1679
1864
|
playerProps?: any;
|
|
1680
1865
|
height?: string | number;
|
|
1866
|
+
loading?: CardSlotLoading;
|
|
1681
1867
|
}
|
|
1682
1868
|
declare const AudioCard: React$1.ForwardRefExoticComponent<AudioCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1683
1869
|
|
|
@@ -1706,6 +1892,7 @@ interface PdfCardProps extends Omit<CardProps, 'title'> {
|
|
|
1706
1892
|
* Optional class name for the content container
|
|
1707
1893
|
*/
|
|
1708
1894
|
contentClassName?: string;
|
|
1895
|
+
loading?: CardSlotLoading;
|
|
1709
1896
|
}
|
|
1710
1897
|
/**
|
|
1711
1898
|
* A card for displaying PDF documents with an embedded viewer.
|
|
@@ -1739,6 +1926,7 @@ interface TextCardProps extends Omit<CardProps, 'title'> {
|
|
|
1739
1926
|
* Optional class name for the content container
|
|
1740
1927
|
*/
|
|
1741
1928
|
contentClassName?: string;
|
|
1929
|
+
loading?: CardSlotLoading;
|
|
1742
1930
|
}
|
|
1743
1931
|
/**
|
|
1744
1932
|
* A card for displaying text content, supporting Markdown and HTML formatting.
|
|
@@ -1751,6 +1939,46 @@ interface SectionHeadingProps extends React$1.HTMLAttributes<HTMLHeadingElement>
|
|
|
1751
1939
|
}
|
|
1752
1940
|
declare const SectionHeading: React$1.ForwardRefExoticComponent<SectionHeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1753
1941
|
|
|
1942
|
+
interface ArtifactGroupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onClick'> {
|
|
1943
|
+
/**
|
|
1944
|
+
* The GROUP node to display
|
|
1945
|
+
*/
|
|
1946
|
+
node: ArtifactNode;
|
|
1947
|
+
/**
|
|
1948
|
+
* Called when the group is clicked (e.g. to navigate into it)
|
|
1949
|
+
*/
|
|
1950
|
+
onClick?: (node: ArtifactNode) => void;
|
|
1951
|
+
}
|
|
1952
|
+
/**
|
|
1953
|
+
* Renders a GROUP node as a Card with the group label as title. Inside,
|
|
1954
|
+
* the first child is shown on top with two offset layers behind it
|
|
1955
|
+
* (always shown as a visual symbol for "group"). A square count badge
|
|
1956
|
+
* shows the total items.
|
|
1957
|
+
*/
|
|
1958
|
+
declare const ArtifactGroup: React$1.ForwardRefExoticComponent<ArtifactGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1959
|
+
|
|
1960
|
+
interface ArtifactVariantStackProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1961
|
+
/**
|
|
1962
|
+
* The VARIANT_SET node to display
|
|
1963
|
+
*/
|
|
1964
|
+
node: ArtifactNode;
|
|
1965
|
+
/**
|
|
1966
|
+
* Passed through to ArtifactCard children for expand/open behavior
|
|
1967
|
+
*/
|
|
1968
|
+
onExpandArtifact?: (artifact: Artifact) => void;
|
|
1969
|
+
/**
|
|
1970
|
+
* Passed through to ArtifactGroup children for navigation
|
|
1971
|
+
*/
|
|
1972
|
+
onGroupClick?: (node: ArtifactNode) => void;
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* Renders a VARIANT_SET node as a Card with the set label as title.
|
|
1976
|
+
* Children are displayed in a horizontal row inside the card body.
|
|
1977
|
+
* Children handle their own click behavior (expand for artifacts,
|
|
1978
|
+
* navigate for groups).
|
|
1979
|
+
*/
|
|
1980
|
+
declare const ArtifactVariantStack: React$1.ForwardRefExoticComponent<ArtifactVariantStackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1981
|
+
|
|
1754
1982
|
/**
|
|
1755
1983
|
* Aurelius Design System
|
|
1756
1984
|
*
|
|
@@ -1763,4 +1991,4 @@ declare const SectionHeading: React$1.ForwardRefExoticComponent<SectionHeadingPr
|
|
|
1763
1991
|
|
|
1764
1992
|
declare const version = "2.0.0";
|
|
1765
1993
|
|
|
1766
|
-
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, 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, 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, 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 };
|
|
1994
|
+
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, 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, 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, ToolPanelContainer, type ToolPanelContainerProps, type ToolPanelState, ToolSidebar, type ToolSidebarProps, Tooltip, type TooltipProps, type UseArtifactTreeNavigationReturn, type UseArtifactsReturn, type UseScrollAnchorOptions, type UseScrollAnchorReturn, type VideoAspectRatio, type VideoAspectRatioPreset, VideoCard, type VideoCardProps, addMessageToTree, areAllTasksSettled, createEmptyTree, createPreviewUrl, generateId, getActivePathMessages, getSiblingInfo, isBranchPoint, isImageFile, messagesToTree, revokePreviewUrl, switchBranch, updateNodeContent, useArtifactTreeNavigation, useArtifacts, useResizable, useScrollAnchor, useToast, version };
|