@vllnt/ui 0.2.1-canary.9e6a7be → 0.2.1-canary.b3f1dff
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/components/bottom-activity-strip/bottom-activity-strip.js +91 -0
- package/dist/components/bottom-activity-strip/index.js +6 -0
- package/dist/components/comment-pin/comment-pin.js +104 -0
- package/dist/components/comment-pin/index.js +6 -0
- package/dist/components/conversation-thread/conversation-thread.js +348 -0
- package/dist/components/conversation-thread/index.js +20 -0
- package/dist/components/heat-overlay/heat-overlay.js +92 -0
- package/dist/components/heat-overlay/index.js +6 -0
- package/dist/components/index.js +82 -0
- package/dist/components/infinite-plane/index.js +6 -0
- package/dist/components/infinite-plane/infinite-plane.js +75 -0
- package/dist/components/live-cursor/index.js +6 -0
- package/dist/components/live-cursor/live-cursor.js +62 -0
- package/dist/components/metric-cluster/index.js +6 -0
- package/dist/components/metric-cluster/metric-cluster.js +96 -0
- package/dist/components/playback-ghost/index.js +6 -0
- package/dist/components/playback-ghost/playback-ghost.js +83 -0
- package/dist/components/presence-stack/index.js +6 -0
- package/dist/components/presence-stack/presence-stack.js +108 -0
- package/dist/components/presence-sync-indicator/index.js +6 -0
- package/dist/components/presence-sync-indicator/presence-sync-indicator.js +73 -0
- package/dist/components/run-timeline/index.js +6 -0
- package/dist/components/run-timeline/run-timeline.js +221 -0
- package/dist/components/selection-presence/index.js +6 -0
- package/dist/components/selection-presence/selection-presence.js +50 -0
- package/dist/components/state-badge-overlay/index.js +6 -0
- package/dist/components/state-badge-overlay/state-badge-overlay.js +90 -0
- package/dist/components/thread-bubble/index.js +6 -0
- package/dist/components/thread-bubble/thread-bubble.js +85 -0
- package/dist/components/timeline-scrubber/index.js +6 -0
- package/dist/components/timeline-scrubber/timeline-scrubber.js +179 -0
- package/dist/components/viewport-bookmarks/index.js +6 -0
- package/dist/components/viewport-bookmarks/viewport-bookmarks.js +116 -0
- package/dist/components/world-breadcrumbs/index.js +6 -0
- package/dist/components/world-breadcrumbs/world-breadcrumbs.js +114 -0
- package/dist/index.d.ts +1389 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
3
3
|
import * as class_variance_authority from 'class-variance-authority';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as react from 'react';
|
|
6
|
-
import react__default, { ReactNode, Component, ErrorInfo } from 'react';
|
|
6
|
+
import react__default, { ReactNode, ComponentPropsWithoutRef, Component, ErrorInfo } from 'react';
|
|
7
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
8
|
import { DayPicker } from 'react-day-picker';
|
|
9
9
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
@@ -1491,6 +1491,80 @@ declare const ChatDockSection: react.ForwardRefExoticComponent<Omit<react.Detail
|
|
|
1491
1491
|
type GlassPanelProps = React.ComponentPropsWithoutRef<"div">;
|
|
1492
1492
|
declare const GlassPanel: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1493
1493
|
|
|
1494
|
+
/**
|
|
1495
|
+
* Pattern style for the plane backdrop.
|
|
1496
|
+
*
|
|
1497
|
+
* @public
|
|
1498
|
+
*/
|
|
1499
|
+
type InfinitePlanePattern = "blank" | "dot" | "grid";
|
|
1500
|
+
/**
|
|
1501
|
+
* Localizable strings.
|
|
1502
|
+
*
|
|
1503
|
+
* @public
|
|
1504
|
+
*/
|
|
1505
|
+
type InfinitePlaneLabels = {
|
|
1506
|
+
/** Aria-label override. Defaults to `"Infinite plane"`. */
|
|
1507
|
+
region?: string;
|
|
1508
|
+
};
|
|
1509
|
+
/**
|
|
1510
|
+
* Props for {@link InfinitePlane}.
|
|
1511
|
+
*
|
|
1512
|
+
* @public
|
|
1513
|
+
*/
|
|
1514
|
+
type InfinitePlaneProps = {
|
|
1515
|
+
/** Children render in the plane's coordinate space. */
|
|
1516
|
+
children?: ReactNode;
|
|
1517
|
+
/** Localizable strings. */
|
|
1518
|
+
labels?: InfinitePlaneLabels;
|
|
1519
|
+
/** Backdrop pattern. Defaults to `"dot"`. */
|
|
1520
|
+
pattern?: InfinitePlanePattern;
|
|
1521
|
+
/** Pattern grid spacing in pixels. Defaults to `32`. */
|
|
1522
|
+
spacing?: number;
|
|
1523
|
+
/** Optional offset applied to the pattern (drift with viewport translation). Defaults to `{ x: 0, y: 0 }`. */
|
|
1524
|
+
translate?: {
|
|
1525
|
+
x: number;
|
|
1526
|
+
y: number;
|
|
1527
|
+
};
|
|
1528
|
+
/** Zoom factor — drives the pattern's effective spacing. Defaults to `1`. */
|
|
1529
|
+
zoom?: number;
|
|
1530
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
1531
|
+
/**
|
|
1532
|
+
* Tiled pannable backdrop for the canvas. Renders a `dot` or `grid`
|
|
1533
|
+
* pattern that drifts with the viewport translate + scales with the
|
|
1534
|
+
* zoom, plus a slot for spatial children that share its coordinate
|
|
1535
|
+
* space.
|
|
1536
|
+
*
|
|
1537
|
+
* Pure presentation; the host owns the viewport transform and supplies
|
|
1538
|
+
* `translate` + `zoom` from its pan / zoom controller.
|
|
1539
|
+
*
|
|
1540
|
+
* @example
|
|
1541
|
+
* ```tsx
|
|
1542
|
+
* <InfinitePlane translate={{ x: pan.x, y: pan.y }} zoom={zoom}>
|
|
1543
|
+
* <ObjectCard …/>
|
|
1544
|
+
* <ObjectCard …/>
|
|
1545
|
+
* </InfinitePlane>
|
|
1546
|
+
* ```
|
|
1547
|
+
*
|
|
1548
|
+
* @public
|
|
1549
|
+
*/
|
|
1550
|
+
declare const InfinitePlane: react.ForwardRefExoticComponent<{
|
|
1551
|
+
/** Children render in the plane's coordinate space. */
|
|
1552
|
+
children?: ReactNode;
|
|
1553
|
+
/** Localizable strings. */
|
|
1554
|
+
labels?: InfinitePlaneLabels;
|
|
1555
|
+
/** Backdrop pattern. Defaults to `"dot"`. */
|
|
1556
|
+
pattern?: InfinitePlanePattern;
|
|
1557
|
+
/** Pattern grid spacing in pixels. Defaults to `32`. */
|
|
1558
|
+
spacing?: number;
|
|
1559
|
+
/** Optional offset applied to the pattern (drift with viewport translation). Defaults to `{ x: 0, y: 0 }`. */
|
|
1560
|
+
translate?: {
|
|
1561
|
+
x: number;
|
|
1562
|
+
y: number;
|
|
1563
|
+
};
|
|
1564
|
+
/** Zoom factor — drives the pattern's effective spacing. Defaults to `1`. */
|
|
1565
|
+
zoom?: number;
|
|
1566
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1567
|
+
|
|
1494
1568
|
type LeftRailProps = React.ComponentPropsWithoutRef<"aside"> & {
|
|
1495
1569
|
footer?: ReactNode;
|
|
1496
1570
|
title?: ReactNode;
|
|
@@ -1649,6 +1723,158 @@ declare const TopBar: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLPro
|
|
|
1649
1723
|
trailing?: ReactNode;
|
|
1650
1724
|
} & react.RefAttributes<HTMLElement>>;
|
|
1651
1725
|
|
|
1726
|
+
/**
|
|
1727
|
+
* One saved viewport.
|
|
1728
|
+
*
|
|
1729
|
+
* @public
|
|
1730
|
+
*/
|
|
1731
|
+
type ViewportBookmark = {
|
|
1732
|
+
/** Optional accent color for the row glyph. */
|
|
1733
|
+
color?: string;
|
|
1734
|
+
/** Optional secondary line (zoom level, last-visited, owner). */
|
|
1735
|
+
detail?: ReactNode;
|
|
1736
|
+
/** Stable identifier — used as the React key. */
|
|
1737
|
+
id: string;
|
|
1738
|
+
/** Display name for the bookmark. */
|
|
1739
|
+
label: ReactNode;
|
|
1740
|
+
};
|
|
1741
|
+
/**
|
|
1742
|
+
* Localizable strings.
|
|
1743
|
+
*
|
|
1744
|
+
* @public
|
|
1745
|
+
*/
|
|
1746
|
+
type ViewportBookmarksLabels = {
|
|
1747
|
+
/** Empty-state copy. Defaults to `"No saved views"`. */
|
|
1748
|
+
empty?: string;
|
|
1749
|
+
/** Aria-label override. Defaults to `"Viewport bookmarks"`. */
|
|
1750
|
+
region?: string;
|
|
1751
|
+
};
|
|
1752
|
+
/**
|
|
1753
|
+
* Props for {@link ViewportBookmarks}.
|
|
1754
|
+
*
|
|
1755
|
+
* @public
|
|
1756
|
+
*/
|
|
1757
|
+
type ViewportBookmarksProps = {
|
|
1758
|
+
/** Optional active bookmark id — renders the row in the selected state. */
|
|
1759
|
+
activeId?: string;
|
|
1760
|
+
/** Bookmark entries in render order. */
|
|
1761
|
+
bookmarks: ViewportBookmark[];
|
|
1762
|
+
/** Localizable strings. */
|
|
1763
|
+
labels?: ViewportBookmarksLabels;
|
|
1764
|
+
/** Click handler — receives the activated bookmark id. */
|
|
1765
|
+
onSelect?: (id: string) => void;
|
|
1766
|
+
/** Optional title rendered above the rows. Defaults to `"Saved views"`. */
|
|
1767
|
+
title?: ReactNode;
|
|
1768
|
+
} & ComponentPropsWithoutRef<"section">;
|
|
1769
|
+
/**
|
|
1770
|
+
* Saved-view list for the canvas — the spatial parallel of a tab
|
|
1771
|
+
* bar's pinned tabs. Each bookmark stores a viewport target the host
|
|
1772
|
+
* resolves to a pan / zoom transition. Pure presentation; the host
|
|
1773
|
+
* owns the bookmark store and the camera animation.
|
|
1774
|
+
*
|
|
1775
|
+
* @example
|
|
1776
|
+
* ```tsx
|
|
1777
|
+
* <ViewportBookmarks
|
|
1778
|
+
* activeId={active}
|
|
1779
|
+
* bookmarks={[
|
|
1780
|
+
* { id: "home", label: "Home base", color: "#5b8def" },
|
|
1781
|
+
* { id: "incidents", label: "Incidents", detail: "5 open", color: "#ef4444" },
|
|
1782
|
+
* ]}
|
|
1783
|
+
* onSelect={jumpTo}
|
|
1784
|
+
* />
|
|
1785
|
+
* ```
|
|
1786
|
+
*
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
declare const ViewportBookmarks: react.ForwardRefExoticComponent<{
|
|
1790
|
+
/** Optional active bookmark id — renders the row in the selected state. */
|
|
1791
|
+
activeId?: string;
|
|
1792
|
+
/** Bookmark entries in render order. */
|
|
1793
|
+
bookmarks: ViewportBookmark[];
|
|
1794
|
+
/** Localizable strings. */
|
|
1795
|
+
labels?: ViewportBookmarksLabels;
|
|
1796
|
+
/** Click handler — receives the activated bookmark id. */
|
|
1797
|
+
onSelect?: (id: string) => void;
|
|
1798
|
+
/** Optional title rendered above the rows. Defaults to `"Saved views"`. */
|
|
1799
|
+
title?: ReactNode;
|
|
1800
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* One spatial trail crumb.
|
|
1804
|
+
*
|
|
1805
|
+
* @public
|
|
1806
|
+
*/
|
|
1807
|
+
type WorldCrumb = {
|
|
1808
|
+
/** Stable identifier — used as the React key. */
|
|
1809
|
+
id: string;
|
|
1810
|
+
/** Optional kind (drives the leading glyph). */
|
|
1811
|
+
kind?: WorldCrumbKind;
|
|
1812
|
+
/** Display label. */
|
|
1813
|
+
label: ReactNode;
|
|
1814
|
+
};
|
|
1815
|
+
/**
|
|
1816
|
+
* Glyph hint for a crumb kind.
|
|
1817
|
+
*
|
|
1818
|
+
* @public
|
|
1819
|
+
*/
|
|
1820
|
+
type WorldCrumbKind = "agent" | "artifact" | "group" | "run" | "task" | "world";
|
|
1821
|
+
/**
|
|
1822
|
+
* Localizable strings.
|
|
1823
|
+
*
|
|
1824
|
+
* @public
|
|
1825
|
+
*/
|
|
1826
|
+
type WorldBreadcrumbsLabels = {
|
|
1827
|
+
/** Empty-state copy. Defaults to `"No location"`. */
|
|
1828
|
+
empty?: string;
|
|
1829
|
+
/** Aria-label override. Defaults to `"World breadcrumbs"`. */
|
|
1830
|
+
region?: string;
|
|
1831
|
+
};
|
|
1832
|
+
/**
|
|
1833
|
+
* Props for {@link WorldBreadcrumbs}.
|
|
1834
|
+
*
|
|
1835
|
+
* @public
|
|
1836
|
+
*/
|
|
1837
|
+
type WorldBreadcrumbsProps = {
|
|
1838
|
+
/** Trail in render order — the last crumb represents the active location. */
|
|
1839
|
+
crumbs: WorldCrumb[];
|
|
1840
|
+
/** Localizable strings. */
|
|
1841
|
+
labels?: WorldBreadcrumbsLabels;
|
|
1842
|
+
/** Click handler — receives the activated crumb id. */
|
|
1843
|
+
onSelect?: (id: string) => void;
|
|
1844
|
+
} & ComponentPropsWithoutRef<"nav">;
|
|
1845
|
+
/**
|
|
1846
|
+
* Spatial trail showing where the viewport sits in a hierarchy of
|
|
1847
|
+
* worlds / groups / runs / agents. Distinct from \`Breadcrumb\`
|
|
1848
|
+
* (route-based, document-tree style) — this primitive describes the
|
|
1849
|
+
* canvas's spatial location and supports per-kind glyphs.
|
|
1850
|
+
*
|
|
1851
|
+
* Pure presentation; the host computes the trail from the active
|
|
1852
|
+
* viewport target and the world graph, and resolves \`onSelect\` to a
|
|
1853
|
+
* camera transition.
|
|
1854
|
+
*
|
|
1855
|
+
* @example
|
|
1856
|
+
* ```tsx
|
|
1857
|
+
* <WorldBreadcrumbs
|
|
1858
|
+
* crumbs={[
|
|
1859
|
+
* { id: "world", kind: "world", label: "Production" },
|
|
1860
|
+
* { id: "group", kind: "group", label: "Ingest cluster" },
|
|
1861
|
+
* { id: "run", kind: "run", label: "research-2025" },
|
|
1862
|
+
* ]}
|
|
1863
|
+
* onSelect={jumpTo}
|
|
1864
|
+
* />
|
|
1865
|
+
* ```
|
|
1866
|
+
*
|
|
1867
|
+
* @public
|
|
1868
|
+
*/
|
|
1869
|
+
declare const WorldBreadcrumbs: react.ForwardRefExoticComponent<{
|
|
1870
|
+
/** Trail in render order — the last crumb represents the active location. */
|
|
1871
|
+
crumbs: WorldCrumb[];
|
|
1872
|
+
/** Localizable strings. */
|
|
1873
|
+
labels?: WorldBreadcrumbsLabels;
|
|
1874
|
+
/** Click handler — receives the activated crumb id. */
|
|
1875
|
+
onSelect?: (id: string) => void;
|
|
1876
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
1877
|
+
|
|
1652
1878
|
type ZoomHUDProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
1653
1879
|
onReset?: () => void;
|
|
1654
1880
|
onZoomIn?: () => void;
|
|
@@ -3387,6 +3613,171 @@ declare const AnchorPort: react.ForwardRefExoticComponent<Omit<react.DetailedHTM
|
|
|
3387
3613
|
tone?: "bidirectional" | "input" | "output";
|
|
3388
3614
|
} & react.RefAttributes<HTMLSpanElement>>;
|
|
3389
3615
|
|
|
3616
|
+
/**
|
|
3617
|
+
* Tone of an event — drives the leading dot color.
|
|
3618
|
+
*
|
|
3619
|
+
* @public
|
|
3620
|
+
*/
|
|
3621
|
+
type ActivityStripTone = "danger" | "info" | "neutral" | "success" | "warn";
|
|
3622
|
+
/**
|
|
3623
|
+
* One event in the strip.
|
|
3624
|
+
*
|
|
3625
|
+
* @public
|
|
3626
|
+
*/
|
|
3627
|
+
type ActivityEvent = {
|
|
3628
|
+
/** Stable identifier — used as the React key + analytics hook. */
|
|
3629
|
+
id: string;
|
|
3630
|
+
/** Short label (e.g. `"deploy completed"`). */
|
|
3631
|
+
label: ReactNode;
|
|
3632
|
+
/** Optional click handler — when provided, the chip becomes a button. */
|
|
3633
|
+
onActivate?: () => void;
|
|
3634
|
+
/** Optional tone for the leading dot. Defaults to `"neutral"`. */
|
|
3635
|
+
tone?: ActivityStripTone;
|
|
3636
|
+
/** Pre-formatted timestamp (host owns formatting). */
|
|
3637
|
+
ts: ReactNode;
|
|
3638
|
+
};
|
|
3639
|
+
/**
|
|
3640
|
+
* Localizable strings.
|
|
3641
|
+
*
|
|
3642
|
+
* @public
|
|
3643
|
+
*/
|
|
3644
|
+
type BottomActivityStripLabels = {
|
|
3645
|
+
/** Empty-state copy. Defaults to `"No recent activity"`. */
|
|
3646
|
+
empty?: string;
|
|
3647
|
+
/** Aria-label for the strip. Defaults to `"Recent activity"`. */
|
|
3648
|
+
region?: string;
|
|
3649
|
+
};
|
|
3650
|
+
/**
|
|
3651
|
+
* Props for {@link BottomActivityStrip}.
|
|
3652
|
+
*
|
|
3653
|
+
* @public
|
|
3654
|
+
*/
|
|
3655
|
+
type BottomActivityStripProps = {
|
|
3656
|
+
/** Event entries — newest first. */
|
|
3657
|
+
events: ActivityEvent[];
|
|
3658
|
+
/** Localizable strings. */
|
|
3659
|
+
labels?: BottomActivityStripLabels;
|
|
3660
|
+
/** Cap the rendered events. The component drops the tail without warning. */
|
|
3661
|
+
maxEvents?: number;
|
|
3662
|
+
} & ComponentPropsWithoutRef<"section">;
|
|
3663
|
+
/**
|
|
3664
|
+
* Slim bottom strip showing a horizontally-scrolling row of recent
|
|
3665
|
+
* canvas events. The lowest-noise live execution surface — keep
|
|
3666
|
+
* `ObjectCard`, panels, and overlays for high-value surfaces; let the
|
|
3667
|
+
* strip carry the steady drip of activity.
|
|
3668
|
+
*
|
|
3669
|
+
* Pure presentation; the host computes the event list (newest first)
|
|
3670
|
+
* and supplies an optional `onActivate` per event to jump to the
|
|
3671
|
+
* related object.
|
|
3672
|
+
*
|
|
3673
|
+
* Distinct from `ActivityLog` (vertical, persistent) and `LiveFeed`
|
|
3674
|
+
* (full-height feed): this primitive is a single horizontal row that
|
|
3675
|
+
* lives at the bottom of the canvas.
|
|
3676
|
+
*
|
|
3677
|
+
* @example
|
|
3678
|
+
* ```tsx
|
|
3679
|
+
* <BottomActivityStrip
|
|
3680
|
+
* events={[
|
|
3681
|
+
* { id: "1", label: "deploy ok", ts: "12s", tone: "success" },
|
|
3682
|
+
* { id: "2", label: "queue spike", ts: "1m", tone: "warn" },
|
|
3683
|
+
* ]}
|
|
3684
|
+
* maxEvents={20}
|
|
3685
|
+
* />
|
|
3686
|
+
* ```
|
|
3687
|
+
*
|
|
3688
|
+
* @public
|
|
3689
|
+
*/
|
|
3690
|
+
declare const BottomActivityStrip: react.ForwardRefExoticComponent<{
|
|
3691
|
+
/** Event entries — newest first. */
|
|
3692
|
+
events: ActivityEvent[];
|
|
3693
|
+
/** Localizable strings. */
|
|
3694
|
+
labels?: BottomActivityStripLabels;
|
|
3695
|
+
/** Cap the rendered events. The component drops the tail without warning. */
|
|
3696
|
+
maxEvents?: number;
|
|
3697
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
3698
|
+
|
|
3699
|
+
/**
|
|
3700
|
+
* Resolution state of a pinned comment.
|
|
3701
|
+
*
|
|
3702
|
+
* @public
|
|
3703
|
+
*/
|
|
3704
|
+
type CommentPinState = "open" | "resolved";
|
|
3705
|
+
/**
|
|
3706
|
+
* Localizable strings.
|
|
3707
|
+
*
|
|
3708
|
+
* @public
|
|
3709
|
+
*/
|
|
3710
|
+
type CommentPinLabels = {
|
|
3711
|
+
/** Aria-label override. Defaults to `"Comment"`. */
|
|
3712
|
+
region?: string;
|
|
3713
|
+
/** Suffix appended after the unread count for screen readers. */
|
|
3714
|
+
unreadSuffix?: string;
|
|
3715
|
+
};
|
|
3716
|
+
/**
|
|
3717
|
+
* Props for {@link CommentPin}.
|
|
3718
|
+
*
|
|
3719
|
+
* @public
|
|
3720
|
+
*/
|
|
3721
|
+
type CommentPinProps = {
|
|
3722
|
+
/** Optional author initial / glyph rendered inside the pin. */
|
|
3723
|
+
authorInitial?: ReactNode;
|
|
3724
|
+
/** Optional accent color for the pin. Defaults to the foreground. */
|
|
3725
|
+
color?: string;
|
|
3726
|
+
/** Localizable strings. */
|
|
3727
|
+
labels?: CommentPinLabels;
|
|
3728
|
+
/** Click handler — when provided, the pin becomes a button. */
|
|
3729
|
+
onActivate?: () => void;
|
|
3730
|
+
/** State of the underlying thread. Defaults to `"open"`. */
|
|
3731
|
+
state?: CommentPinState;
|
|
3732
|
+
/** Optional unread reply count. Renders as a small numeric badge. */
|
|
3733
|
+
unread?: number;
|
|
3734
|
+
/** Anchor X in canvas pixels. */
|
|
3735
|
+
x: number;
|
|
3736
|
+
/** Anchor Y in canvas pixels. */
|
|
3737
|
+
y: number;
|
|
3738
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
3739
|
+
/**
|
|
3740
|
+
* Anchored discussion pin rendered at canvas coordinates. Use to mark
|
|
3741
|
+
* an object-anchored comment thread; click to expand into a
|
|
3742
|
+
* {@link "../thread-bubble/thread-bubble".ThreadBubble} (or whatever the host wires up).
|
|
3743
|
+
*
|
|
3744
|
+
* Pure presentation; the host owns the thread store + supplies the
|
|
3745
|
+
* unread count and resolution state.
|
|
3746
|
+
*
|
|
3747
|
+
* @example
|
|
3748
|
+
* ```tsx
|
|
3749
|
+
* <div className="relative h-screen w-screen">
|
|
3750
|
+
* <Canvas />
|
|
3751
|
+
* <CommentPin
|
|
3752
|
+
* x={420} y={180}
|
|
3753
|
+
* authorInitial="B"
|
|
3754
|
+
* unread={3}
|
|
3755
|
+
* onActivate={() => openThread("c-1")}
|
|
3756
|
+
* />
|
|
3757
|
+
* </div>
|
|
3758
|
+
* ```
|
|
3759
|
+
*
|
|
3760
|
+
* @public
|
|
3761
|
+
*/
|
|
3762
|
+
declare const CommentPin: react.ForwardRefExoticComponent<{
|
|
3763
|
+
/** Optional author initial / glyph rendered inside the pin. */
|
|
3764
|
+
authorInitial?: ReactNode;
|
|
3765
|
+
/** Optional accent color for the pin. Defaults to the foreground. */
|
|
3766
|
+
color?: string;
|
|
3767
|
+
/** Localizable strings. */
|
|
3768
|
+
labels?: CommentPinLabels;
|
|
3769
|
+
/** Click handler — when provided, the pin becomes a button. */
|
|
3770
|
+
onActivate?: () => void;
|
|
3771
|
+
/** State of the underlying thread. Defaults to `"open"`. */
|
|
3772
|
+
state?: CommentPinState;
|
|
3773
|
+
/** Optional unread reply count. Renders as a small numeric badge. */
|
|
3774
|
+
unread?: number;
|
|
3775
|
+
/** Anchor X in canvas pixels. */
|
|
3776
|
+
x: number;
|
|
3777
|
+
/** Anchor Y in canvas pixels. */
|
|
3778
|
+
y: number;
|
|
3779
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
3780
|
+
|
|
3390
3781
|
type ConnectorEdgePoint = {
|
|
3391
3782
|
x: number;
|
|
3392
3783
|
y: number;
|
|
@@ -3422,6 +3813,244 @@ declare const GroupHull: react.ForwardRefExoticComponent<Omit<react.DetailedHTML
|
|
|
3422
3813
|
title: string;
|
|
3423
3814
|
} & react.RefAttributes<HTMLElement>>;
|
|
3424
3815
|
|
|
3816
|
+
/**
|
|
3817
|
+
* Tone of the heat gradient — drives the inner circle color.
|
|
3818
|
+
*
|
|
3819
|
+
* @public
|
|
3820
|
+
*/
|
|
3821
|
+
type HeatOverlayTone = "cool" | "danger" | "neutral" | "warn";
|
|
3822
|
+
/**
|
|
3823
|
+
* One heat sample.
|
|
3824
|
+
*
|
|
3825
|
+
* @public
|
|
3826
|
+
*/
|
|
3827
|
+
type HeatPoint = {
|
|
3828
|
+
/** Stable identifier — used as the React key. */
|
|
3829
|
+
id: string;
|
|
3830
|
+
/** Optional per-point tone override. */
|
|
3831
|
+
tone?: HeatOverlayTone;
|
|
3832
|
+
/** Sample weight `0..1` — drives the circle opacity + radius. */
|
|
3833
|
+
weight: number;
|
|
3834
|
+
/** X coordinate in canvas pixels. */
|
|
3835
|
+
x: number;
|
|
3836
|
+
/** Y coordinate in canvas pixels. */
|
|
3837
|
+
y: number;
|
|
3838
|
+
};
|
|
3839
|
+
/**
|
|
3840
|
+
* Localizable strings.
|
|
3841
|
+
*
|
|
3842
|
+
* @public
|
|
3843
|
+
*/
|
|
3844
|
+
type HeatOverlayLabels = {
|
|
3845
|
+
/** Aria-label override. Defaults to `"Heat overlay"`. */
|
|
3846
|
+
region?: string;
|
|
3847
|
+
};
|
|
3848
|
+
/**
|
|
3849
|
+
* Props for {@link HeatOverlay}.
|
|
3850
|
+
*
|
|
3851
|
+
* @public
|
|
3852
|
+
*/
|
|
3853
|
+
type HeatOverlayProps = {
|
|
3854
|
+
/** Optional global tone applied to every point that omits its own. Defaults to `"warn"`. */
|
|
3855
|
+
defaultTone?: HeatOverlayTone;
|
|
3856
|
+
/** Sample radius in pixels at full weight. Defaults to `48`. */
|
|
3857
|
+
intensity?: number;
|
|
3858
|
+
/** Localizable strings. */
|
|
3859
|
+
labels?: HeatOverlayLabels;
|
|
3860
|
+
/** Sample points in render order. */
|
|
3861
|
+
points: HeatPoint[];
|
|
3862
|
+
} & ComponentPropsWithoutRef<"svg">;
|
|
3863
|
+
/**
|
|
3864
|
+
* Heatmap-style overlay drawn on top of a canvas. Each sample renders
|
|
3865
|
+
* as a soft radial blob whose radius + opacity scale with its weight.
|
|
3866
|
+
* Pure presentation; the host computes the point list from the
|
|
3867
|
+
* activity stream.
|
|
3868
|
+
*
|
|
3869
|
+
* Render inside a `position: relative` parent that shares the canvas
|
|
3870
|
+
* pixel coordinate space; the SVG is `pointer-events: none` so host
|
|
3871
|
+
* gestures pass through.
|
|
3872
|
+
*
|
|
3873
|
+
* @example
|
|
3874
|
+
* ```tsx
|
|
3875
|
+
* <div className="relative h-screen w-screen">
|
|
3876
|
+
* <Canvas />
|
|
3877
|
+
* <HeatOverlay
|
|
3878
|
+
* points={[
|
|
3879
|
+
* { id: "a", x: 120, y: 80, weight: 1.0, tone: "danger" },
|
|
3880
|
+
* { id: "b", x: 320, y: 220, weight: 0.4 },
|
|
3881
|
+
* ]}
|
|
3882
|
+
* />
|
|
3883
|
+
* </div>
|
|
3884
|
+
* ```
|
|
3885
|
+
*
|
|
3886
|
+
* @public
|
|
3887
|
+
*/
|
|
3888
|
+
declare const HeatOverlay: react.ForwardRefExoticComponent<{
|
|
3889
|
+
/** Optional global tone applied to every point that omits its own. Defaults to `"warn"`. */
|
|
3890
|
+
defaultTone?: HeatOverlayTone;
|
|
3891
|
+
/** Sample radius in pixels at full weight. Defaults to `48`. */
|
|
3892
|
+
intensity?: number;
|
|
3893
|
+
/** Localizable strings. */
|
|
3894
|
+
labels?: HeatOverlayLabels;
|
|
3895
|
+
/** Sample points in render order. */
|
|
3896
|
+
points: HeatPoint[];
|
|
3897
|
+
} & Omit<react.SVGProps<SVGSVGElement>, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
3898
|
+
|
|
3899
|
+
/**
|
|
3900
|
+
* Localizable strings.
|
|
3901
|
+
*
|
|
3902
|
+
* @public
|
|
3903
|
+
*/
|
|
3904
|
+
type LiveCursorLabels = {
|
|
3905
|
+
/** Aria-label override. Defaults to `"Live cursor"`. */
|
|
3906
|
+
region?: string;
|
|
3907
|
+
};
|
|
3908
|
+
/**
|
|
3909
|
+
* Props for {@link LiveCursor}.
|
|
3910
|
+
*
|
|
3911
|
+
* @public
|
|
3912
|
+
*/
|
|
3913
|
+
type LiveCursorProps = {
|
|
3914
|
+
/** Tailwind / arbitrary CSS color used for the pointer + name chip. Defaults to `var(--foreground)`. */
|
|
3915
|
+
color?: string;
|
|
3916
|
+
/** Localizable strings. */
|
|
3917
|
+
labels?: LiveCursorLabels;
|
|
3918
|
+
/** Display name shown in the chip. Pass `null` to hide the chip. */
|
|
3919
|
+
name?: ReactNode;
|
|
3920
|
+
/** Optional secondary line in the chip (e.g. status, role). */
|
|
3921
|
+
status?: ReactNode;
|
|
3922
|
+
/** Cursor X in canvas pixels. */
|
|
3923
|
+
x: number;
|
|
3924
|
+
/** Cursor Y in canvas pixels. */
|
|
3925
|
+
y: number;
|
|
3926
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
3927
|
+
/**
|
|
3928
|
+
* Remote user's cursor rendered at canvas coordinates with an optional
|
|
3929
|
+
* name + status chip. Pure presentation; the host owns the websocket
|
|
3930
|
+
* stream + maps user ids to colors.
|
|
3931
|
+
*
|
|
3932
|
+
* The wrapper is `pointer-events: none` so host gestures pass through.
|
|
3933
|
+
*
|
|
3934
|
+
* @example
|
|
3935
|
+
* ```tsx
|
|
3936
|
+
* <div className="relative h-screen w-screen">
|
|
3937
|
+
* <Canvas />
|
|
3938
|
+
* <LiveCursor x={420} y={180} name="Bea" color="#5b8def" />
|
|
3939
|
+
* </div>
|
|
3940
|
+
* ```
|
|
3941
|
+
*
|
|
3942
|
+
* @public
|
|
3943
|
+
*/
|
|
3944
|
+
declare const LiveCursor: react.ForwardRefExoticComponent<{
|
|
3945
|
+
/** Tailwind / arbitrary CSS color used for the pointer + name chip. Defaults to `var(--foreground)`. */
|
|
3946
|
+
color?: string;
|
|
3947
|
+
/** Localizable strings. */
|
|
3948
|
+
labels?: LiveCursorLabels;
|
|
3949
|
+
/** Display name shown in the chip. Pass `null` to hide the chip. */
|
|
3950
|
+
name?: ReactNode;
|
|
3951
|
+
/** Optional secondary line in the chip (e.g. status, role). */
|
|
3952
|
+
status?: ReactNode;
|
|
3953
|
+
/** Cursor X in canvas pixels. */
|
|
3954
|
+
x: number;
|
|
3955
|
+
/** Cursor Y in canvas pixels. */
|
|
3956
|
+
y: number;
|
|
3957
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
3958
|
+
|
|
3959
|
+
/**
|
|
3960
|
+
* Tone of a single metric line — drives the dot color.
|
|
3961
|
+
*
|
|
3962
|
+
* @public
|
|
3963
|
+
*/
|
|
3964
|
+
type MetricClusterTone = "danger" | "neutral" | "success" | "warn";
|
|
3965
|
+
/**
|
|
3966
|
+
* Anchor corner relative to the canvas object the cluster attaches to.
|
|
3967
|
+
*
|
|
3968
|
+
* @public
|
|
3969
|
+
*/
|
|
3970
|
+
type MetricClusterAnchor = "bottom-left" | "bottom-right" | "top-left" | "top-right";
|
|
3971
|
+
/**
|
|
3972
|
+
* One metric in the cluster.
|
|
3973
|
+
*
|
|
3974
|
+
* @public
|
|
3975
|
+
*/
|
|
3976
|
+
type MetricClusterEntry = {
|
|
3977
|
+
/** Stable identifier — used as the React key + analytics hook. */
|
|
3978
|
+
id: string;
|
|
3979
|
+
/** Short label (e.g. `"errs/min"`). */
|
|
3980
|
+
label: ReactNode;
|
|
3981
|
+
/** Optional tone for the leading dot. Defaults to `"neutral"`. */
|
|
3982
|
+
tone?: MetricClusterTone;
|
|
3983
|
+
/** Display value (already formatted by host). */
|
|
3984
|
+
value: ReactNode;
|
|
3985
|
+
};
|
|
3986
|
+
/**
|
|
3987
|
+
* Localizable strings.
|
|
3988
|
+
*
|
|
3989
|
+
* @public
|
|
3990
|
+
*/
|
|
3991
|
+
type MetricClusterLabels = {
|
|
3992
|
+
/** Aria-label override. Defaults to `"Metric cluster"`. */
|
|
3993
|
+
region?: string;
|
|
3994
|
+
};
|
|
3995
|
+
/**
|
|
3996
|
+
* Props for {@link MetricCluster}.
|
|
3997
|
+
*
|
|
3998
|
+
* @public
|
|
3999
|
+
*/
|
|
4000
|
+
type MetricClusterProps = {
|
|
4001
|
+
/** Anchor corner. Defaults to `"top-right"`. */
|
|
4002
|
+
anchor?: MetricClusterAnchor;
|
|
4003
|
+
/** Localizable strings. */
|
|
4004
|
+
labels?: MetricClusterLabels;
|
|
4005
|
+
/** Metric entries in render order. */
|
|
4006
|
+
metrics: MetricClusterEntry[];
|
|
4007
|
+
/** Optional cluster title rendered above the rows. */
|
|
4008
|
+
title?: ReactNode;
|
|
4009
|
+
/** Anchor X in canvas pixels. */
|
|
4010
|
+
x: number;
|
|
4011
|
+
/** Anchor Y in canvas pixels. */
|
|
4012
|
+
y: number;
|
|
4013
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
4014
|
+
/**
|
|
4015
|
+
* Compact stack of related metrics pinned to a canvas object's corner.
|
|
4016
|
+
* Use when a single `StickyMetric` doesn't carry enough signal — for
|
|
4017
|
+
* runs whose throughput, latency, and error rate must all be visible
|
|
4018
|
+
* at once. Pure presentation; the host supplies the anchor coords + the
|
|
4019
|
+
* metric list.
|
|
4020
|
+
*
|
|
4021
|
+
* The wrapper is `pointer-events: none` — host gestures pass through.
|
|
4022
|
+
*
|
|
4023
|
+
* @example
|
|
4024
|
+
* ```tsx
|
|
4025
|
+
* <MetricCluster
|
|
4026
|
+
* x={420} y={180}
|
|
4027
|
+
* anchor="top-right"
|
|
4028
|
+
* title="research-2025"
|
|
4029
|
+
* metrics={[
|
|
4030
|
+
* { id: "qps", label: "qps", value: "240", tone: "success" },
|
|
4031
|
+
* { id: "errs", label: "errs", value: "14", tone: "danger" },
|
|
4032
|
+
* { id: "p95", label: "p95", value: "180ms" },
|
|
4033
|
+
* ]}
|
|
4034
|
+
* />
|
|
4035
|
+
* ```
|
|
4036
|
+
*
|
|
4037
|
+
* @public
|
|
4038
|
+
*/
|
|
4039
|
+
declare const MetricCluster: react.ForwardRefExoticComponent<{
|
|
4040
|
+
/** Anchor corner. Defaults to `"top-right"`. */
|
|
4041
|
+
anchor?: MetricClusterAnchor;
|
|
4042
|
+
/** Localizable strings. */
|
|
4043
|
+
labels?: MetricClusterLabels;
|
|
4044
|
+
/** Metric entries in render order. */
|
|
4045
|
+
metrics: MetricClusterEntry[];
|
|
4046
|
+
/** Optional cluster title rendered above the rows. */
|
|
4047
|
+
title?: ReactNode;
|
|
4048
|
+
/** Anchor X in canvas pixels. */
|
|
4049
|
+
x: number;
|
|
4050
|
+
/** Anchor Y in canvas pixels. */
|
|
4051
|
+
y: number;
|
|
4052
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
4053
|
+
|
|
3425
4054
|
type ObjectCardMetric = {
|
|
3426
4055
|
label: string;
|
|
3427
4056
|
value: ReactNode;
|
|
@@ -3460,6 +4089,764 @@ declare const ObjectHandle: react.ForwardRefExoticComponent<Omit<Omit<react.Deta
|
|
|
3460
4089
|
label?: ReactNode;
|
|
3461
4090
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
3462
4091
|
|
|
4092
|
+
/**
|
|
4093
|
+
* Object kind — drives the ghost glyph.
|
|
4094
|
+
*
|
|
4095
|
+
* @public
|
|
4096
|
+
*/
|
|
4097
|
+
type PlaybackGhostKind = "agent" | "artifact" | "input" | "output" | "run" | "task";
|
|
4098
|
+
/**
|
|
4099
|
+
* Localizable strings.
|
|
4100
|
+
*
|
|
4101
|
+
* @public
|
|
4102
|
+
*/
|
|
4103
|
+
type PlaybackGhostLabels = {
|
|
4104
|
+
/** Aria-label override. Defaults to `"Playback ghost"`. */
|
|
4105
|
+
region?: string;
|
|
4106
|
+
};
|
|
4107
|
+
/**
|
|
4108
|
+
* Props for {@link PlaybackGhost}.
|
|
4109
|
+
*
|
|
4110
|
+
* @public
|
|
4111
|
+
*/
|
|
4112
|
+
type PlaybackGhostProps = {
|
|
4113
|
+
/** Optional kind glyph + tooltip. */
|
|
4114
|
+
kind?: PlaybackGhostKind;
|
|
4115
|
+
/** Optional label rendered next to the glyph (e.g. id, run name). */
|
|
4116
|
+
label?: ReactNode;
|
|
4117
|
+
/** Localizable strings. */
|
|
4118
|
+
labels?: PlaybackGhostLabels;
|
|
4119
|
+
/** Ghost opacity `0..1`. Defaults to `0.4`. */
|
|
4120
|
+
opacity?: number;
|
|
4121
|
+
/** Ghost size in pixels. Defaults to `40`. */
|
|
4122
|
+
size?: number;
|
|
4123
|
+
/** Center X in canvas pixels. */
|
|
4124
|
+
x: number;
|
|
4125
|
+
/** Center Y in canvas pixels. */
|
|
4126
|
+
y: number;
|
|
4127
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
4128
|
+
/**
|
|
4129
|
+
* Translucent overlay marking where a canvas object was at a previous
|
|
4130
|
+
* timestamp during state playback. Renders a kind glyph (and optional
|
|
4131
|
+
* label) at the historical position so the user can compare the
|
|
4132
|
+
* present canvas against earlier state without losing context.
|
|
4133
|
+
*
|
|
4134
|
+
* Pure presentation; the host computes the historical position from the
|
|
4135
|
+
* scrubbed timestamp. The wrapper is `pointer-events: none` so host
|
|
4136
|
+
* gestures pass through.
|
|
4137
|
+
*
|
|
4138
|
+
* @example
|
|
4139
|
+
* ```tsx
|
|
4140
|
+
* <div className="relative h-screen w-screen">
|
|
4141
|
+
* <Canvas />
|
|
4142
|
+
* <PlaybackGhost x={420} y={180} kind="run" label="research-2025" />
|
|
4143
|
+
* </div>
|
|
4144
|
+
* ```
|
|
4145
|
+
*
|
|
4146
|
+
* @public
|
|
4147
|
+
*/
|
|
4148
|
+
declare const PlaybackGhost: react.ForwardRefExoticComponent<{
|
|
4149
|
+
/** Optional kind glyph + tooltip. */
|
|
4150
|
+
kind?: PlaybackGhostKind;
|
|
4151
|
+
/** Optional label rendered next to the glyph (e.g. id, run name). */
|
|
4152
|
+
label?: ReactNode;
|
|
4153
|
+
/** Localizable strings. */
|
|
4154
|
+
labels?: PlaybackGhostLabels;
|
|
4155
|
+
/** Ghost opacity `0..1`. Defaults to `0.4`. */
|
|
4156
|
+
opacity?: number;
|
|
4157
|
+
/** Ghost size in pixels. Defaults to `40`. */
|
|
4158
|
+
size?: number;
|
|
4159
|
+
/** Center X in canvas pixels. */
|
|
4160
|
+
x: number;
|
|
4161
|
+
/** Center Y in canvas pixels. */
|
|
4162
|
+
y: number;
|
|
4163
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* Presence status — drives the corner dot color.
|
|
4167
|
+
*
|
|
4168
|
+
* @public
|
|
4169
|
+
*/
|
|
4170
|
+
type PresenceStatus = "active" | "away" | "idle" | "offline";
|
|
4171
|
+
/**
|
|
4172
|
+
* One user in the presence stack.
|
|
4173
|
+
*
|
|
4174
|
+
* @public
|
|
4175
|
+
*/
|
|
4176
|
+
type PresenceUser = {
|
|
4177
|
+
/** Optional accent color (hex / oklch / var). Drives the avatar fill. */
|
|
4178
|
+
color?: string;
|
|
4179
|
+
/** Stable identifier — used as the React key. */
|
|
4180
|
+
id: string;
|
|
4181
|
+
/** Avatar initial / glyph. */
|
|
4182
|
+
initial: ReactNode;
|
|
4183
|
+
/** Display name shown on hover (`title` attribute). */
|
|
4184
|
+
name?: string;
|
|
4185
|
+
/** Optional status. Defaults to `"active"`. */
|
|
4186
|
+
status?: PresenceStatus;
|
|
4187
|
+
};
|
|
4188
|
+
/**
|
|
4189
|
+
* Localizable strings.
|
|
4190
|
+
*
|
|
4191
|
+
* @public
|
|
4192
|
+
*/
|
|
4193
|
+
type PresenceStackLabels = {
|
|
4194
|
+
/** Suffix for the overflow chip. Defaults to `"more"`. */
|
|
4195
|
+
overflowSuffix?: string;
|
|
4196
|
+
/** Aria-label override. Defaults to `"Live presence"`. */
|
|
4197
|
+
region?: string;
|
|
4198
|
+
};
|
|
4199
|
+
/**
|
|
4200
|
+
* Props for {@link PresenceStack}.
|
|
4201
|
+
*
|
|
4202
|
+
* @public
|
|
4203
|
+
*/
|
|
4204
|
+
type PresenceStackProps = {
|
|
4205
|
+
/** Localizable strings. */
|
|
4206
|
+
labels?: PresenceStackLabels;
|
|
4207
|
+
/** Cap the rendered users; the rest collapse into a `+N` chip. Defaults to `5`. */
|
|
4208
|
+
max?: number;
|
|
4209
|
+
/** Optional click handler for the overflow chip. */
|
|
4210
|
+
onOverflowActivate?: () => void;
|
|
4211
|
+
/** Users sorted in render order (most-relevant first). */
|
|
4212
|
+
users: PresenceUser[];
|
|
4213
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
4214
|
+
/**
|
|
4215
|
+
* Overlapping live-presence avatars showing who is in the canvas right
|
|
4216
|
+
* now. Each avatar carries an accent color, an initial, and a status
|
|
4217
|
+
* dot. Distinct from `AvatarGroup` (a static participant grouping):
|
|
4218
|
+
* this primitive centers on live status, a sane overflow, and
|
|
4219
|
+
* interactive expansion.
|
|
4220
|
+
*
|
|
4221
|
+
* Pure presentation; the host owns the websocket roster + maps user
|
|
4222
|
+
* ids to colors.
|
|
4223
|
+
*
|
|
4224
|
+
* @example
|
|
4225
|
+
* ```tsx
|
|
4226
|
+
* <PresenceStack
|
|
4227
|
+
* max={4}
|
|
4228
|
+
* users={[
|
|
4229
|
+
* { id: "1", initial: "B", color: "#5b8def", name: "Bea" },
|
|
4230
|
+
* { id: "2", initial: "L", color: "#10b981", name: "Lior", status: "away" },
|
|
4231
|
+
* { id: "3", initial: "S", color: "#f59e0b", name: "Sam", status: "idle" },
|
|
4232
|
+
* ]}
|
|
4233
|
+
* onOverflowActivate={() => openRoster()}
|
|
4234
|
+
* />
|
|
4235
|
+
* ```
|
|
4236
|
+
*
|
|
4237
|
+
* @public
|
|
4238
|
+
*/
|
|
4239
|
+
declare const PresenceStack: react.ForwardRefExoticComponent<{
|
|
4240
|
+
/** Localizable strings. */
|
|
4241
|
+
labels?: PresenceStackLabels;
|
|
4242
|
+
/** Cap the rendered users; the rest collapse into a `+N` chip. Defaults to `5`. */
|
|
4243
|
+
max?: number;
|
|
4244
|
+
/** Optional click handler for the overflow chip. */
|
|
4245
|
+
onOverflowActivate?: () => void;
|
|
4246
|
+
/** Users sorted in render order (most-relevant first). */
|
|
4247
|
+
users: PresenceUser[];
|
|
4248
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
4249
|
+
|
|
4250
|
+
/**
|
|
4251
|
+
* Connection / sync state — drives the dot color + animation.
|
|
4252
|
+
*
|
|
4253
|
+
* @public
|
|
4254
|
+
*/
|
|
4255
|
+
type PresenceSyncState = "error" | "live" | "offline" | "reconnecting" | "syncing";
|
|
4256
|
+
/**
|
|
4257
|
+
* Localizable strings.
|
|
4258
|
+
*
|
|
4259
|
+
* @public
|
|
4260
|
+
*/
|
|
4261
|
+
type PresenceSyncIndicatorLabels = {
|
|
4262
|
+
/** Aria-label override. Defaults to `"Presence sync"`. */
|
|
4263
|
+
region?: string;
|
|
4264
|
+
};
|
|
4265
|
+
/**
|
|
4266
|
+
* Props for {@link PresenceSyncIndicator}.
|
|
4267
|
+
*
|
|
4268
|
+
* @public
|
|
4269
|
+
*/
|
|
4270
|
+
type PresenceSyncIndicatorProps = {
|
|
4271
|
+
/** Optional override label (defaults to humanized state name). */
|
|
4272
|
+
label?: ReactNode;
|
|
4273
|
+
/** Localizable strings. */
|
|
4274
|
+
labels?: PresenceSyncIndicatorLabels;
|
|
4275
|
+
/** Connection state. */
|
|
4276
|
+
state: PresenceSyncState;
|
|
4277
|
+
/** Optional secondary line (peer count, latency). */
|
|
4278
|
+
status?: ReactNode;
|
|
4279
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
4280
|
+
/**
|
|
4281
|
+
* Compact pill that surfaces live connection + sync health for the
|
|
4282
|
+
* canvas. Stays calm: a single dot + one-line label, with a subtle
|
|
4283
|
+
* pulse for transient `syncing` / `reconnecting` states.
|
|
4284
|
+
*
|
|
4285
|
+
* Pure presentation; the host owns the websocket / CRDT loop and maps
|
|
4286
|
+
* its diagnostics into one of five canonical states.
|
|
4287
|
+
*
|
|
4288
|
+
* @example
|
|
4289
|
+
* ```tsx
|
|
4290
|
+
* <PresenceSyncIndicator state="live" status="3 peers" />
|
|
4291
|
+
* <PresenceSyncIndicator state="reconnecting" status="retry 2/5" />
|
|
4292
|
+
* ```
|
|
4293
|
+
*
|
|
4294
|
+
* @public
|
|
4295
|
+
*/
|
|
4296
|
+
declare const PresenceSyncIndicator: react.ForwardRefExoticComponent<{
|
|
4297
|
+
/** Optional override label (defaults to humanized state name). */
|
|
4298
|
+
label?: ReactNode;
|
|
4299
|
+
/** Localizable strings. */
|
|
4300
|
+
labels?: PresenceSyncIndicatorLabels;
|
|
4301
|
+
/** Connection state. */
|
|
4302
|
+
state: PresenceSyncState;
|
|
4303
|
+
/** Optional secondary line (peer count, latency). */
|
|
4304
|
+
status?: ReactNode;
|
|
4305
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
4306
|
+
|
|
4307
|
+
/**
|
|
4308
|
+
* Phase state — drives the bar tone.
|
|
4309
|
+
*
|
|
4310
|
+
* @public
|
|
4311
|
+
*/
|
|
4312
|
+
type RunPhaseState = "complete" | "failed" | "queued" | "running" | "stopped";
|
|
4313
|
+
/**
|
|
4314
|
+
* One lane in a multi-lane run timeline.
|
|
4315
|
+
*
|
|
4316
|
+
* @public
|
|
4317
|
+
*/
|
|
4318
|
+
type RunTimelineLane = {
|
|
4319
|
+
/** Stable identifier — used as the React key + phase routing. */
|
|
4320
|
+
id: string;
|
|
4321
|
+
/** Display label rendered to the left of the lane. */
|
|
4322
|
+
label: ReactNode;
|
|
4323
|
+
};
|
|
4324
|
+
/**
|
|
4325
|
+
* One phase block in the run timeline.
|
|
4326
|
+
*
|
|
4327
|
+
* @public
|
|
4328
|
+
*/
|
|
4329
|
+
type RunTimelinePhase = {
|
|
4330
|
+
/** End timestamp in the same units as `start` / `end`. */
|
|
4331
|
+
end: number;
|
|
4332
|
+
/** Stable identifier — used as the React key + analytics hook. */
|
|
4333
|
+
id: string;
|
|
4334
|
+
/** Optional label rendered inside the phase bar. */
|
|
4335
|
+
label?: ReactNode;
|
|
4336
|
+
/** Lane id this phase belongs to. Defaults to `"default"` (single-lane mode). */
|
|
4337
|
+
laneId?: string;
|
|
4338
|
+
/** Optional click handler — when provided, the phase becomes a button. */
|
|
4339
|
+
onActivate?: () => void;
|
|
4340
|
+
/** Start timestamp `>= timeline start`. */
|
|
4341
|
+
start: number;
|
|
4342
|
+
/** Phase state. Defaults to `"running"`. */
|
|
4343
|
+
state?: RunPhaseState;
|
|
4344
|
+
};
|
|
4345
|
+
/**
|
|
4346
|
+
* Localizable strings.
|
|
4347
|
+
*
|
|
4348
|
+
* @public
|
|
4349
|
+
*/
|
|
4350
|
+
type RunTimelineLabels = {
|
|
4351
|
+
/** Empty-state copy. Defaults to `"No phases"`. */
|
|
4352
|
+
empty?: string;
|
|
4353
|
+
/** Aria-label override. Defaults to `"Run timeline"`. */
|
|
4354
|
+
region?: string;
|
|
4355
|
+
};
|
|
4356
|
+
/**
|
|
4357
|
+
* Props for {@link RunTimeline}.
|
|
4358
|
+
*
|
|
4359
|
+
* @public
|
|
4360
|
+
*/
|
|
4361
|
+
type RunTimelineProps = {
|
|
4362
|
+
/** Optional cursor position in the same units as the range. Renders a vertical line. */
|
|
4363
|
+
cursor?: number;
|
|
4364
|
+
/** End of the time range. Must be `> start`. */
|
|
4365
|
+
end: number;
|
|
4366
|
+
/** Optional formatter for the start / cursor / end labels. */
|
|
4367
|
+
formatValue?: (value: number) => ReactNode;
|
|
4368
|
+
/** Localizable strings. */
|
|
4369
|
+
labels?: RunTimelineLabels;
|
|
4370
|
+
/** Optional explicit lane definitions in render order. Required for multi-lane mode. */
|
|
4371
|
+
lanes?: RunTimelineLane[];
|
|
4372
|
+
/** Phase blocks — order is irrelevant; routed to lanes by `laneId`. */
|
|
4373
|
+
phases: RunTimelinePhase[];
|
|
4374
|
+
/** Start of the time range. */
|
|
4375
|
+
start: number;
|
|
4376
|
+
} & ComponentPropsWithoutRef<"section">;
|
|
4377
|
+
/**
|
|
4378
|
+
* Multi-lane execution timeline showing run phases over time. Each
|
|
4379
|
+
* phase renders as a colored bar positioned by its start / end and
|
|
4380
|
+
* routed to a lane by `laneId`. Optional cursor draws a thin vertical
|
|
4381
|
+
* line for the current playback position.
|
|
4382
|
+
*
|
|
4383
|
+
* Pure presentation; the host computes the phase list from the run's
|
|
4384
|
+
* execution history. Pair with {@link "../timeline-scrubber/timeline-scrubber".TimelineScrubber}
|
|
4385
|
+
* to drive the cursor.
|
|
4386
|
+
*
|
|
4387
|
+
* Distinct from `MapTimeline` (geo-aware), `Stepper` (sequential
|
|
4388
|
+
* steps), and the timeline family `#32`–`#35`: this primitive is
|
|
4389
|
+
* specifically the run history surface inside the canvas.
|
|
4390
|
+
*
|
|
4391
|
+
* @example
|
|
4392
|
+
* ```tsx
|
|
4393
|
+
* <RunTimeline
|
|
4394
|
+
* start={0} end={3600}
|
|
4395
|
+
* cursor={1800}
|
|
4396
|
+
* lanes={[
|
|
4397
|
+
* { id: "ingest", label: "Ingest" },
|
|
4398
|
+
* { id: "rank", label: "Rank" },
|
|
4399
|
+
* ]}
|
|
4400
|
+
* phases={[
|
|
4401
|
+
* { id: "1", laneId: "ingest", start: 0, end: 600, state: "complete", label: "load" },
|
|
4402
|
+
* { id: "2", laneId: "rank", start: 600, end: 2400, state: "running", label: "score" },
|
|
4403
|
+
* ]}
|
|
4404
|
+
* />
|
|
4405
|
+
* ```
|
|
4406
|
+
*
|
|
4407
|
+
* @public
|
|
4408
|
+
*/
|
|
4409
|
+
declare const RunTimeline: react.ForwardRefExoticComponent<{
|
|
4410
|
+
/** Optional cursor position in the same units as the range. Renders a vertical line. */
|
|
4411
|
+
cursor?: number;
|
|
4412
|
+
/** End of the time range. Must be `> start`. */
|
|
4413
|
+
end: number;
|
|
4414
|
+
/** Optional formatter for the start / cursor / end labels. */
|
|
4415
|
+
formatValue?: (value: number) => ReactNode;
|
|
4416
|
+
/** Localizable strings. */
|
|
4417
|
+
labels?: RunTimelineLabels;
|
|
4418
|
+
/** Optional explicit lane definitions in render order. Required for multi-lane mode. */
|
|
4419
|
+
lanes?: RunTimelineLane[];
|
|
4420
|
+
/** Phase blocks — order is irrelevant; routed to lanes by `laneId`. */
|
|
4421
|
+
phases: RunTimelinePhase[];
|
|
4422
|
+
/** Start of the time range. */
|
|
4423
|
+
start: number;
|
|
4424
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
4425
|
+
|
|
4426
|
+
/**
|
|
4427
|
+
* Localizable strings.
|
|
4428
|
+
*
|
|
4429
|
+
* @public
|
|
4430
|
+
*/
|
|
4431
|
+
type SelectionPresenceLabels = {
|
|
4432
|
+
/** Aria-label override. Defaults to `"Selection presence"`. */
|
|
4433
|
+
region?: string;
|
|
4434
|
+
};
|
|
4435
|
+
/**
|
|
4436
|
+
* Props for {@link SelectionPresence}.
|
|
4437
|
+
*
|
|
4438
|
+
* @public
|
|
4439
|
+
*/
|
|
4440
|
+
type SelectionPresenceProps = {
|
|
4441
|
+
/** Tailwind / CSS color used for the border + chip. Defaults to `var(--foreground)`. */
|
|
4442
|
+
color?: string;
|
|
4443
|
+
/** Selection rectangle height in pixels. */
|
|
4444
|
+
height: number;
|
|
4445
|
+
/** Localizable strings. */
|
|
4446
|
+
labels?: SelectionPresenceLabels;
|
|
4447
|
+
/** Optional name shown in the corner chip (e.g. owner of the selection). */
|
|
4448
|
+
name?: ReactNode;
|
|
4449
|
+
/** Selection rectangle width in pixels. */
|
|
4450
|
+
width: number;
|
|
4451
|
+
/** Selection rectangle X (top-left) in canvas pixels. */
|
|
4452
|
+
x: number;
|
|
4453
|
+
/** Selection rectangle Y (top-left) in canvas pixels. */
|
|
4454
|
+
y: number;
|
|
4455
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
4456
|
+
/**
|
|
4457
|
+
* Overlay marking what another user has selected on the canvas. The
|
|
4458
|
+
* dashed border + soft fill stay calm so they communicate
|
|
4459
|
+
* "someone-else's-selection" without blocking primary content. Pure
|
|
4460
|
+
* presentation; the host computes the rect from the remote user's
|
|
4461
|
+
* viewport and supplies an accent color per user.
|
|
4462
|
+
*
|
|
4463
|
+
* The wrapper is `pointer-events: none` so host gestures pass through.
|
|
4464
|
+
*
|
|
4465
|
+
* @example
|
|
4466
|
+
* ```tsx
|
|
4467
|
+
* <div className="relative h-screen w-screen">
|
|
4468
|
+
* <Canvas />
|
|
4469
|
+
* <SelectionPresence
|
|
4470
|
+
* x={120} y={80} width={240} height={120}
|
|
4471
|
+
* color="#5b8def"
|
|
4472
|
+
* name="Bea"
|
|
4473
|
+
* />
|
|
4474
|
+
* </div>
|
|
4475
|
+
* ```
|
|
4476
|
+
*
|
|
4477
|
+
* @public
|
|
4478
|
+
*/
|
|
4479
|
+
declare const SelectionPresence: react.ForwardRefExoticComponent<{
|
|
4480
|
+
/** Tailwind / CSS color used for the border + chip. Defaults to `var(--foreground)`. */
|
|
4481
|
+
color?: string;
|
|
4482
|
+
/** Selection rectangle height in pixels. */
|
|
4483
|
+
height: number;
|
|
4484
|
+
/** Localizable strings. */
|
|
4485
|
+
labels?: SelectionPresenceLabels;
|
|
4486
|
+
/** Optional name shown in the corner chip (e.g. owner of the selection). */
|
|
4487
|
+
name?: ReactNode;
|
|
4488
|
+
/** Selection rectangle width in pixels. */
|
|
4489
|
+
width: number;
|
|
4490
|
+
/** Selection rectangle X (top-left) in canvas pixels. */
|
|
4491
|
+
x: number;
|
|
4492
|
+
/** Selection rectangle Y (top-left) in canvas pixels. */
|
|
4493
|
+
y: number;
|
|
4494
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
4495
|
+
|
|
4496
|
+
/**
|
|
4497
|
+
* State name — drives the badge tone.
|
|
4498
|
+
*
|
|
4499
|
+
* @public
|
|
4500
|
+
*/
|
|
4501
|
+
type StateBadgeState = "complete" | "failed" | "idle" | "queued" | "running" | "stopped";
|
|
4502
|
+
/**
|
|
4503
|
+
* Anchor corner relative to the canvas object the badge attaches to.
|
|
4504
|
+
*
|
|
4505
|
+
* @public
|
|
4506
|
+
*/
|
|
4507
|
+
type StateBadgeAnchor = "bottom-left" | "bottom-right" | "top-left" | "top-right";
|
|
4508
|
+
/**
|
|
4509
|
+
* Localizable strings.
|
|
4510
|
+
*
|
|
4511
|
+
* @public
|
|
4512
|
+
*/
|
|
4513
|
+
type StateBadgeOverlayLabels = {
|
|
4514
|
+
/** Aria-label override. Defaults to `"State"`. */
|
|
4515
|
+
region?: string;
|
|
4516
|
+
};
|
|
4517
|
+
/**
|
|
4518
|
+
* Props for {@link StateBadgeOverlay}.
|
|
4519
|
+
*
|
|
4520
|
+
* @public
|
|
4521
|
+
*/
|
|
4522
|
+
type StateBadgeOverlayProps = {
|
|
4523
|
+
/** Anchor corner. Defaults to `"top-right"`. */
|
|
4524
|
+
anchor?: StateBadgeAnchor;
|
|
4525
|
+
/** Optional override label (defaults to humanized state name). */
|
|
4526
|
+
label?: ReactNode;
|
|
4527
|
+
/** Localizable strings. */
|
|
4528
|
+
labels?: StateBadgeOverlayLabels;
|
|
4529
|
+
/** State to display. */
|
|
4530
|
+
state: StateBadgeState;
|
|
4531
|
+
/** Anchor X in canvas pixels. */
|
|
4532
|
+
x: number;
|
|
4533
|
+
/** Anchor Y in canvas pixels. */
|
|
4534
|
+
y: number;
|
|
4535
|
+
} & ComponentPropsWithoutRef<"div">;
|
|
4536
|
+
/**
|
|
4537
|
+
* State chip pinned to a canvas object's corner. Use when a single-
|
|
4538
|
+
* letter glyph in `ObjectCard` doesn't carry enough signal — for
|
|
4539
|
+
* runs that have transitioned, jobs that failed, agents idling. Pure
|
|
4540
|
+
* presentation; the host computes the anchor from the object's
|
|
4541
|
+
* bounding box.
|
|
4542
|
+
*
|
|
4543
|
+
* The wrapper is `pointer-events: none` — host gestures pass through.
|
|
4544
|
+
*
|
|
4545
|
+
* @example
|
|
4546
|
+
* ```tsx
|
|
4547
|
+
* <div className="relative h-screen w-screen">
|
|
4548
|
+
* <Canvas />
|
|
4549
|
+
* <StateBadgeOverlay state="running" x={420} y={180} anchor="top-right" />
|
|
4550
|
+
* </div>
|
|
4551
|
+
* ```
|
|
4552
|
+
*
|
|
4553
|
+
* @public
|
|
4554
|
+
*/
|
|
4555
|
+
declare const StateBadgeOverlay: react.ForwardRefExoticComponent<{
|
|
4556
|
+
/** Anchor corner. Defaults to `"top-right"`. */
|
|
4557
|
+
anchor?: StateBadgeAnchor;
|
|
4558
|
+
/** Optional override label (defaults to humanized state name). */
|
|
4559
|
+
label?: ReactNode;
|
|
4560
|
+
/** Localizable strings. */
|
|
4561
|
+
labels?: StateBadgeOverlayLabels;
|
|
4562
|
+
/** State to display. */
|
|
4563
|
+
state: StateBadgeState;
|
|
4564
|
+
/** Anchor X in canvas pixels. */
|
|
4565
|
+
x: number;
|
|
4566
|
+
/** Anchor Y in canvas pixels. */
|
|
4567
|
+
y: number;
|
|
4568
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
4569
|
+
|
|
4570
|
+
/**
|
|
4571
|
+
* One message in a thread bubble.
|
|
4572
|
+
*
|
|
4573
|
+
* @public
|
|
4574
|
+
*/
|
|
4575
|
+
type ThreadMessage = {
|
|
4576
|
+
/** Author display name. */
|
|
4577
|
+
author: ReactNode;
|
|
4578
|
+
/** Optional accent color for the author chip. */
|
|
4579
|
+
authorColor?: string;
|
|
4580
|
+
/** Message body — rendered as-is, can be plain text or a `ReactNode`. */
|
|
4581
|
+
body: ReactNode;
|
|
4582
|
+
/** Stable identifier — used as the React key + analytics hook. */
|
|
4583
|
+
id: string;
|
|
4584
|
+
/** Pre-formatted timestamp (host owns formatting). */
|
|
4585
|
+
ts?: ReactNode;
|
|
4586
|
+
};
|
|
4587
|
+
/**
|
|
4588
|
+
* Localizable strings.
|
|
4589
|
+
*
|
|
4590
|
+
* @public
|
|
4591
|
+
*/
|
|
4592
|
+
type ThreadBubbleLabels = {
|
|
4593
|
+
/** Empty-state copy. Defaults to `"No replies yet"`. */
|
|
4594
|
+
empty?: string;
|
|
4595
|
+
/** Aria-label override. Defaults to `"Comment thread"`. */
|
|
4596
|
+
region?: string;
|
|
4597
|
+
};
|
|
4598
|
+
/**
|
|
4599
|
+
* Props for {@link ThreadBubble}.
|
|
4600
|
+
*
|
|
4601
|
+
* @public
|
|
4602
|
+
*/
|
|
4603
|
+
type ThreadBubbleProps = {
|
|
4604
|
+
/** Optional footer slot — typically a reply input. */
|
|
4605
|
+
footer?: ReactNode;
|
|
4606
|
+
/** Localizable strings. */
|
|
4607
|
+
labels?: ThreadBubbleLabels;
|
|
4608
|
+
/** Messages newest-last. */
|
|
4609
|
+
messages: ThreadMessage[];
|
|
4610
|
+
/** Optional resolve handler. When provided, a "Resolve" button appears in the header. */
|
|
4611
|
+
onResolve?: () => void;
|
|
4612
|
+
/** Optional thread title (e.g. anchored object name). */
|
|
4613
|
+
title?: ReactNode;
|
|
4614
|
+
} & ComponentPropsWithoutRef<"section">;
|
|
4615
|
+
/**
|
|
4616
|
+
* Expanded discussion bubble for an anchored canvas comment thread.
|
|
4617
|
+
* Renders a stacked message list plus an optional reply slot via
|
|
4618
|
+
* `footer`. Pair with {@link "../comment-pin/comment-pin".CommentPin}: pin marks the location,
|
|
4619
|
+
* bubble holds the conversation.
|
|
4620
|
+
*
|
|
4621
|
+
* Pure presentation; the host owns the message store + supplies the
|
|
4622
|
+
* resolve handler for hosts that allow threading.
|
|
4623
|
+
*
|
|
4624
|
+
* @example
|
|
4625
|
+
* ```tsx
|
|
4626
|
+
* <ThreadBubble
|
|
4627
|
+
* title="research-2025"
|
|
4628
|
+
* messages={[
|
|
4629
|
+
* { id: "1", author: "Bea", authorColor: "#5b8def", body: "Why fallback?", ts: "12s" },
|
|
4630
|
+
* { id: "2", author: "Lior", authorColor: "#10b981", body: "p95 spike — see graph", ts: "9s" },
|
|
4631
|
+
* ]}
|
|
4632
|
+
* footer={<ReplyInput onSubmit={post} />}
|
|
4633
|
+
* onResolve={resolve}
|
|
4634
|
+
* />
|
|
4635
|
+
* ```
|
|
4636
|
+
*
|
|
4637
|
+
* @public
|
|
4638
|
+
*/
|
|
4639
|
+
declare const ThreadBubble: react.ForwardRefExoticComponent<{
|
|
4640
|
+
/** Optional footer slot — typically a reply input. */
|
|
4641
|
+
footer?: ReactNode;
|
|
4642
|
+
/** Localizable strings. */
|
|
4643
|
+
labels?: ThreadBubbleLabels;
|
|
4644
|
+
/** Messages newest-last. */
|
|
4645
|
+
messages: ThreadMessage[];
|
|
4646
|
+
/** Optional resolve handler. When provided, a "Resolve" button appears in the header. */
|
|
4647
|
+
onResolve?: () => void;
|
|
4648
|
+
/** Optional thread title (e.g. anchored object name). */
|
|
4649
|
+
title?: ReactNode;
|
|
4650
|
+
} & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
4651
|
+
|
|
4652
|
+
/**
|
|
4653
|
+
* One milestone tick rendered along the scrubber track.
|
|
4654
|
+
*
|
|
4655
|
+
* @public
|
|
4656
|
+
*/
|
|
4657
|
+
type TimelineTick = {
|
|
4658
|
+
/** Stable identifier — used as the React key + analytics hook. */
|
|
4659
|
+
id: string;
|
|
4660
|
+
/** Optional accessible label (e.g. `"deploy"`, `"alert"`). */
|
|
4661
|
+
label?: ReactNode;
|
|
4662
|
+
/** Optional tone for the tick. Defaults to `"neutral"`. */
|
|
4663
|
+
tone?: TimelineScrubberTone;
|
|
4664
|
+
/** Time value of the tick. */
|
|
4665
|
+
value: number;
|
|
4666
|
+
};
|
|
4667
|
+
/**
|
|
4668
|
+
* Tone of the scrubber's filled track + handle.
|
|
4669
|
+
*
|
|
4670
|
+
* @public
|
|
4671
|
+
*/
|
|
4672
|
+
type TimelineScrubberTone = "danger" | "neutral" | "primary" | "success" | "warn";
|
|
4673
|
+
/**
|
|
4674
|
+
* Localizable strings.
|
|
4675
|
+
*
|
|
4676
|
+
* @public
|
|
4677
|
+
*/
|
|
4678
|
+
type TimelineScrubberLabels = {
|
|
4679
|
+
/** Aria-label for the slider. Defaults to `"Timeline scrubber"`. */
|
|
4680
|
+
region?: string;
|
|
4681
|
+
};
|
|
4682
|
+
/**
|
|
4683
|
+
* Props for {@link TimelineScrubber}.
|
|
4684
|
+
*
|
|
4685
|
+
* @public
|
|
4686
|
+
*/
|
|
4687
|
+
type TimelineScrubberProps = {
|
|
4688
|
+
/** End of the time range. Must be `> start`. */
|
|
4689
|
+
end: number;
|
|
4690
|
+
/** Optional formatter for the cursor + endpoint labels. Receives the raw value. */
|
|
4691
|
+
formatValue?: (value: number) => ReactNode;
|
|
4692
|
+
/** Localizable strings. */
|
|
4693
|
+
labels?: TimelineScrubberLabels;
|
|
4694
|
+
/** Change handler — receives the new clamped value. */
|
|
4695
|
+
onValueChange: (value: number) => void;
|
|
4696
|
+
/** Start of the time range. */
|
|
4697
|
+
start: number;
|
|
4698
|
+
/** Step granularity for the underlying range input. Defaults to `1`. */
|
|
4699
|
+
step?: number;
|
|
4700
|
+
/** Optional milestone ticks rendered along the track. */
|
|
4701
|
+
ticks?: TimelineTick[];
|
|
4702
|
+
/** Tone of the filled track + handle. Defaults to `"primary"`. */
|
|
4703
|
+
tone?: TimelineScrubberTone;
|
|
4704
|
+
/** Current scrub value `start..end`. */
|
|
4705
|
+
value: number;
|
|
4706
|
+
} & Omit<ComponentPropsWithoutRef<"div">, "onChange">;
|
|
4707
|
+
/**
|
|
4708
|
+
* Range slider for scrubbing through canvas state playback. Renders a
|
|
4709
|
+
* thin track with optional milestone ticks plus the current value
|
|
4710
|
+
* cursor; the underlying `<input type="range">` keeps keyboard +
|
|
4711
|
+
* pointer + screen-reader semantics for free.
|
|
4712
|
+
*
|
|
4713
|
+
* Pure presentation; the host owns the value + drives playback in its
|
|
4714
|
+
* own loop. Pair with {@link "../playback-ghost/playback-ghost".PlaybackGhost} to fade the canvas
|
|
4715
|
+
* back to historical state as the user scrubs.
|
|
4716
|
+
*
|
|
4717
|
+
* @example
|
|
4718
|
+
* ```tsx
|
|
4719
|
+
* <TimelineScrubber
|
|
4720
|
+
* start={0} end={3600}
|
|
4721
|
+
* value={cursor}
|
|
4722
|
+
* onValueChange={setCursor}
|
|
4723
|
+
* ticks={milestones}
|
|
4724
|
+
* formatValue={(v) => formatDuration(v)}
|
|
4725
|
+
* />
|
|
4726
|
+
* ```
|
|
4727
|
+
*
|
|
4728
|
+
* @public
|
|
4729
|
+
*/
|
|
4730
|
+
declare const TimelineScrubber: react.ForwardRefExoticComponent<{
|
|
4731
|
+
/** End of the time range. Must be `> start`. */
|
|
4732
|
+
end: number;
|
|
4733
|
+
/** Optional formatter for the cursor + endpoint labels. Receives the raw value. */
|
|
4734
|
+
formatValue?: (value: number) => ReactNode;
|
|
4735
|
+
/** Localizable strings. */
|
|
4736
|
+
labels?: TimelineScrubberLabels;
|
|
4737
|
+
/** Change handler — receives the new clamped value. */
|
|
4738
|
+
onValueChange: (value: number) => void;
|
|
4739
|
+
/** Start of the time range. */
|
|
4740
|
+
start: number;
|
|
4741
|
+
/** Step granularity for the underlying range input. Defaults to `1`. */
|
|
4742
|
+
step?: number;
|
|
4743
|
+
/** Optional milestone ticks rendered along the track. */
|
|
4744
|
+
ticks?: TimelineTick[];
|
|
4745
|
+
/** Tone of the filled track + handle. Defaults to `"primary"`. */
|
|
4746
|
+
tone?: TimelineScrubberTone;
|
|
4747
|
+
/** Current scrub value `start..end`. */
|
|
4748
|
+
value: number;
|
|
4749
|
+
} & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onChange"> & react.RefAttributes<HTMLDivElement>>;
|
|
4750
|
+
|
|
4751
|
+
/** A single tool call made by the assistant. */
|
|
4752
|
+
type ToolCall = {
|
|
4753
|
+
id: string;
|
|
4754
|
+
input?: Record<string, unknown>;
|
|
4755
|
+
name: string;
|
|
4756
|
+
result?: string;
|
|
4757
|
+
};
|
|
4758
|
+
/** A single message in the conversation. */
|
|
4759
|
+
type ConversationMessage = {
|
|
4760
|
+
content: string;
|
|
4761
|
+
id: string;
|
|
4762
|
+
/** Whether the assistant still streams this individual message. */
|
|
4763
|
+
isStreaming?: boolean;
|
|
4764
|
+
role: "assistant" | "user";
|
|
4765
|
+
/** AI reasoning/thinking content. The component renders this via ThinkingBlock. */
|
|
4766
|
+
thinking?: string;
|
|
4767
|
+
toolCalls?: ToolCall[];
|
|
4768
|
+
};
|
|
4769
|
+
type ConversationThreadProps = {
|
|
4770
|
+
children?: ReactNode;
|
|
4771
|
+
className?: string;
|
|
4772
|
+
/** Whether the assistant generates a response. */
|
|
4773
|
+
isStreaming?: boolean;
|
|
4774
|
+
messages: ConversationMessage[];
|
|
4775
|
+
onFeedback?: (messageId: string, feedback: "negative" | "positive") => void;
|
|
4776
|
+
onRetry?: (messageId: string) => void;
|
|
4777
|
+
/** Calls onSend with the suggestion text after the user clicks a ConversationSuggestions chip. */
|
|
4778
|
+
onSend?: (message: string) => void;
|
|
4779
|
+
};
|
|
4780
|
+
type ConversationHeaderProps = {
|
|
4781
|
+
children?: ReactNode;
|
|
4782
|
+
className?: string;
|
|
4783
|
+
};
|
|
4784
|
+
type ConversationTitleProps = {
|
|
4785
|
+
children?: ReactNode;
|
|
4786
|
+
className?: string;
|
|
4787
|
+
};
|
|
4788
|
+
type ConversationMessagesProps = {
|
|
4789
|
+
/** Overlay children: ConversationEmpty, ConversationScrollButton, ConversationLoading. */
|
|
4790
|
+
children?: ReactNode;
|
|
4791
|
+
className?: string;
|
|
4792
|
+
};
|
|
4793
|
+
type ConversationEmptyProps = {
|
|
4794
|
+
children?: ReactNode;
|
|
4795
|
+
className?: string;
|
|
4796
|
+
};
|
|
4797
|
+
type ConversationSuggestionsProps = {
|
|
4798
|
+
className?: string;
|
|
4799
|
+
suggestions?: string[];
|
|
4800
|
+
};
|
|
4801
|
+
type ConversationScrollButtonProps = {
|
|
4802
|
+
className?: string;
|
|
4803
|
+
};
|
|
4804
|
+
type ConversationLoadingProps = {
|
|
4805
|
+
className?: string;
|
|
4806
|
+
};
|
|
4807
|
+
/**
|
|
4808
|
+
* Root provider for the ConversationThread compound component family.
|
|
4809
|
+
*
|
|
4810
|
+
* @example
|
|
4811
|
+
* ```tsx
|
|
4812
|
+
* <ConversationThread messages={messages} isStreaming={isStreaming} onSend={handleSend}>
|
|
4813
|
+
* <ConversationHeader><ConversationTitle>Chat</ConversationTitle></ConversationHeader>
|
|
4814
|
+
* <ConversationMessages>
|
|
4815
|
+
* <ConversationEmpty>
|
|
4816
|
+
* <ConversationSuggestions suggestions={["Hello!", "Help me with..."]} />
|
|
4817
|
+
* </ConversationEmpty>
|
|
4818
|
+
* <ConversationScrollButton />
|
|
4819
|
+
* <ConversationLoading />
|
|
4820
|
+
* </ConversationMessages>
|
|
4821
|
+
* </ConversationThread>
|
|
4822
|
+
* ```
|
|
4823
|
+
*/
|
|
4824
|
+
declare const ConversationThread: react.ForwardRefExoticComponent<ConversationThreadProps & react.RefAttributes<HTMLDivElement>>;
|
|
4825
|
+
/** Optional header slot, rendered above the message list. */
|
|
4826
|
+
declare const ConversationHeader: react.ForwardRefExoticComponent<ConversationHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
4827
|
+
/** Title text for use inside ConversationHeader. */
|
|
4828
|
+
declare const ConversationTitle: react.ForwardRefExoticComponent<ConversationTitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
4829
|
+
/**
|
|
4830
|
+
* Scrollable message list container. Renders messages from context.
|
|
4831
|
+
* Pass ConversationEmpty, ConversationScrollButton, and ConversationLoading as children —
|
|
4832
|
+
* the component renders these as absolute overlays that read state from context.
|
|
4833
|
+
*/
|
|
4834
|
+
declare const ConversationMessages: react.ForwardRefExoticComponent<ConversationMessagesProps & react.RefAttributes<HTMLDivElement>>;
|
|
4835
|
+
/**
|
|
4836
|
+
* Shown when the message list is empty. Hides automatically once messages exist.
|
|
4837
|
+
* Renders as a centered overlay — pass ConversationSuggestions or custom content as children.
|
|
4838
|
+
*/
|
|
4839
|
+
declare const ConversationEmpty: react.ForwardRefExoticComponent<ConversationEmptyProps & react.RefAttributes<HTMLDivElement>>;
|
|
4840
|
+
/** Suggested prompt chips displayed in the empty state. Calls onSend when clicked. */
|
|
4841
|
+
declare const ConversationSuggestions: react.ForwardRefExoticComponent<ConversationSuggestionsProps & react.RefAttributes<HTMLDivElement>>;
|
|
4842
|
+
/** Floating button that appears when the user scrolls up, to jump back to the bottom. */
|
|
4843
|
+
declare const ConversationScrollButton: react.ForwardRefExoticComponent<ConversationScrollButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4844
|
+
/**
|
|
4845
|
+
* Typing indicator shown while the assistant is streaming a response.
|
|
4846
|
+
* Visible when isStreaming is true and the last message role is "assistant".
|
|
4847
|
+
*/
|
|
4848
|
+
declare const ConversationLoading: react.ForwardRefExoticComponent<ConversationLoadingProps & react.RefAttributes<HTMLDivElement>>;
|
|
4849
|
+
|
|
3463
4850
|
type InlineInputProps = {
|
|
3464
4851
|
className?: string;
|
|
3465
4852
|
/** Called when user presses Escape or blurs without changes. */
|
|
@@ -3624,4 +5011,4 @@ declare function useHorizontalScroll(): UseHorizontalScrollReturn;
|
|
|
3624
5011
|
|
|
3625
5012
|
declare function cn(...inputs: ClassValue[]): string;
|
|
3626
5013
|
|
|
3627
|
-
export { AIChatInput, type AIChatInputProps, AIMessageBubble, type AIMessageBubbleProps, AISourceCitation, type AISourceCitationProps, AIStreamingText, type AIStreamingTextProps, AIToolCallDisplay, type AIToolCallDisplayProps, type AIToolCallStatus, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, ActivityHeatmap, type ActivityHeatmapItem, type ActivityHeatmapProps, ActivityLog, type ActivityLogItem, type ActivityLogProps, type ActivityLogTone, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnchorPort, type AnchorPortProps, AnimatedText, type AnimatedTextProps, Annotation, type AnnotationProps, AreaChart, AspectRatio, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, Badge, type BadgeProps, BarChart, BeforeAfter, type BeforeAfterProps, BlogCard, BorderBeam, type BorderBeamProps, BottomBar, type BottomBarProps, Breadcrumb, type BreadcrumbItem, Button, type ButtonProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutVariant, CandlestickChart, type CandlestickChartProps, type CandlestickDatum, CanvasShell, type CanvasShellInsets, type CanvasShellProps, type CanvasShellRouteConfig, CanvasView, type CanvasViewHandle, type CanvasViewProps, type CanvasViewport, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryFilter, type ChatDockMessage, ChatDockSection, type ChatDockSectionProps, Checkbox, Checklist, type ChecklistItem, type ChecklistProps, CodeBlock, CodePlayground, type CodePlaygroundProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommonMistake, type CommonMistakeProps, Comparison, type ComparisonProps, CompletionDialog, type CompletionDialogProps, ConnectorEdge, type ConnectorEdgePoint, type ConnectorEdgeProps, Content, ContentCard$1 as ContentCard, ContentIntro, type ContentIntroLabels, type ContentIntroProps, type ContentIntroSection, type ContentMeta, type ContentProgress, type ContentSection, type ContentSectionMinimal, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CookieConsent, type CookieConsentProps, type CopyStatus, CountdownTimer, type CountdownTimerProps, CreditBadge, type CreditBadgeProps, type CreditBadgeStatus, Curriculum, CurriculumLesson, type CurriculumLessonProps, CurriculumModule, type CurriculumModuleProps, type CurriculumProps, DataList, DataListItem, type DataListItemProps, DataListLabel, type DataListProps, DataListValue, DataTableComponent as DataTable, type DataTableFilter, type DataTableFilterOption, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DifficultyLevel, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EdgeLabel, type EdgeLabelProps, Exercise, type ExerciseProps, FAQ, FAQItem, type FAQItemProps, type FAQProps, FileTree, type FileTreeProps, FileUpload, type FileUploadProps, FilterBar, type FilterBarLabels, type FilterBarProps, type FilterOption, type FilterUpdates, Flashcard, type FlashcardProps, FloatingActionButton, type FloatingActionButtonProps, FlowControls, type FlowControlsProps, FlowDiagram, type FlowDiagramEdge, type FlowDiagramNode, type FlowDiagramProps, FlowErrorBoundary, FlowFullscreen, type FlowFullscreenProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormProps, GlassPanel, type GlassPanelProps, Glossary, type GlossaryProps, GroupHull, type GroupHullProps, Highlight, type HighlightProps, HorizontalScrollRow, type HorizontalScrollRowProps, HoverCard, HoverCardContent, HoverCardTrigger, InlineInput, type InlineInputProps, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KeyConcept, type KeyConceptProps, type KeyboardShortcut, KeyboardShortcutsHelp, type KeyboardShortcutsHelpProps, LANGUAGE_NAMES, Label, LangProvider, LearningObjectives, type LearningObjectivesProps, LeftRail, type LeftRailProps, type LessonDifficulty, type LessonStatus, LineChart, LiveFeed, type LiveFeedEvent, type LiveFeedProps, MDXContent, MarketTreemap, type MarketTreemapItem, type MarketTreemapProps, Marquee, type MarqueeProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricGauge, type MetricGaugeProps, type MetricGaugeThreshold, type MiniMapMarker, MiniMapPanel, type MiniMapPanelProps, type ModelInfo, ModelSelector, type ModelSelectorProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, type NavItem, NavbarSaas, type NavbarSaasProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerProps, ObjectCard, type ObjectCardAction, type ObjectCardMetric, type ObjectCardProps, ObjectHandle, type ObjectHandleProps, OrderBook, type OrderBookLevel, type OrderBookProps, OverviewBoard, type OverviewBoardItem, type OverviewBoardProps, OverviewCard, type OverviewCardProps, type OverviewCardTone, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PlanBadge, type PlanBadgeProps, type PlanBadgeState, type PlanBadgeTier, type PlatformConfig, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Prerequisites, type PrerequisitesProps, ProTip, type ProTipProps, type ProTipVariant, ProfileSection, ProgressBar, type ProgressBarProps, ContentCard as ProgressCard, type ContentCardProgress as ProgressCardProgress, type ContentCardProps as ProgressCardProps, ProgressTracker, ProgressTrackerBadge, type ProgressTrackerBadgeProps, ProgressTrackerModule, type ProgressTrackerModuleItem, type ProgressTrackerModuleProps, type ProgressTrackerModuleStatus, ProgressTrackerModules, type ProgressTrackerModulesProps, ProgressTrackerOverview, type ProgressTrackerOverviewProps, type ProgressTrackerProps, ProgressTrackerStat, type ProgressTrackerStatProps, ProgressTrackerStats, type ProgressTrackerStatsProps, Quiz, type QuizOption, type QuizProps, RadioGroup, RadioGroupItem, Rating, type RatingProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightDock, type RightDockProps, RoleBadge, type RoleBadgeProps, type RoleBadgeRole, ScopeSelector, type ScopeSelectorNode, type ScopeSelectorProps, type ScopeSelectorSelection, ScrollArea, ScrollBar, SearchBar, SearchDialog, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeverityBadge, type SeverityBadgeLevel, type SeverityBadgeProps, ShareDialog, type ShareDialogLabels, type SharePlatform as ShareDialogPlatform, type ShareDialogProps, type SharePlatform$1 as SharePlatform, type SharePlatformConfig, ShareSection, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, type SidebarItem, SidebarProvider, type SidebarSection, SidebarToggle, type SidebarToggleProps, SimpleTerminal, type SimpleTerminalProps, Skeleton, Slider, Slideshow, type SlideshowLabels, type SlideshowProps, type SlideshowSection, SocialFAB, type SocialFabActionConfig, type SocialFabLabels, type SocialFabProps, SparklineGrid, type SparklineGridItem, type SparklineGridProps, Spinner, type SpinnerProps, StatCard, type StatCardProps, StatusBoard, type StatusBoardItem, type StatusBoardProps, type StatusBoardStatus, StatusIndicator, type StatusIndicatorProps, Step, StepByStep, type StepByStepProps, StepNavigation, type StepNavigationProps, type StepProps, Stepper, type StepperProps, type StepperStep, SubscriptionCard, type SubscriptionCardProps, type SubscriptionCardStatus, Summary, type SummaryProps, Switch, TLDRSection, type TOCSection, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableOfContentsPanel, type TableOfContentsPanelProps, TableRow, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagsInput, type TagsInputProps, Terminal, type TerminalLine, type TerminalProps, Textarea, type TextareaProps, ThemeProvider, ThemeToggle, ThinkingBlock, type ThinkingBlockProps, TickerTape, type TickerTapeItem, type TickerTapeProps, Toast, ToastAction, ToastClose, ToastDescription, type ToastProps, ToastTitle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopBar, type TopBarProps, Tour, type TourProps, type TourStep, TruncatedText, type TruncatedTextProps, TutorialCard, type TutorialCardLabels, type TutorialCardMeta, type TutorialCardProgress, type TutorialCardProps, TutorialComplete, type TutorialCompleteLabels, type TutorialCompleteProps, type TutorialCompleteRelatedContent, type TutorialCompleteSection, TutorialFilters, type TutorialFiltersLabels, type TutorialFiltersProps, TutorialIntroContent, type TutorialIntroContentProps, TutorialMDX, type TutorialMDXProps, type SupportedLanguage as UISupportedLanguage, UnicodeSpinner, type UnicodeSpinnerAnimation, type UnicodeSpinnerProps, UsageBreakdown, type UsageBreakdownItem, type UsageBreakdownProps, type UsageBreakdownTone, type UseFlowDiagramOptions, type UseFlowDiagramReturn, VideoEmbed, type VideoEmbedProps, type ViewOption, ViewSwitcher, type ViewSwitcherProps, WalletCard, type WalletCardProps, Watchlist, type WatchlistItem, type WatchlistProps, type WorkspaceOption, WorkspaceSwitcher, type WorkspaceSwitcherProps, WorldClockBar, type WorldClockBarProps, type WorldClockBarZone, ZoomHUD, type ZoomHUDProps, alertVariants, avatarGroupVariants, avatarItemVariants, badgeVariants, buttonVariants, cn, cookieConsentVariants, dataListItemVariants, dataListVariants, dotVariants, getOtherLanguage, mdxComponents, navigationMenuTriggerStyle, segmentedControlItemVariants, segmentedControlVariants, severityBadgeVariants, statCardVariants, statusIndicatorVariants, toggleVariants, useDebounce, useFlowDiagram, useFormField, useHorizontalScroll, useMobile, useProgressTrackerContext, useSidebar, useSocialFab };
|
|
5014
|
+
export { AIChatInput, type AIChatInputProps, AIMessageBubble, type AIMessageBubbleProps, AISourceCitation, type AISourceCitationProps, AIStreamingText, type AIStreamingTextProps, AIToolCallDisplay, type AIToolCallDisplayProps, type AIToolCallStatus, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityEvent, ActivityHeatmap, type ActivityHeatmapItem, type ActivityHeatmapProps, ActivityLog, type ActivityLogItem, type ActivityLogProps, type ActivityLogTone, type ActivityStripTone, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnchorPort, type AnchorPortProps, AnimatedText, type AnimatedTextProps, Annotation, type AnnotationProps, AreaChart, AspectRatio, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, Badge, type BadgeProps, BarChart, BeforeAfter, type BeforeAfterProps, BlogCard, BorderBeam, type BorderBeamProps, BottomActivityStrip, type BottomActivityStripLabels, type BottomActivityStripProps, BottomBar, type BottomBarProps, Breadcrumb, type BreadcrumbItem, Button, type ButtonProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutVariant, CandlestickChart, type CandlestickChartProps, type CandlestickDatum, CanvasShell, type CanvasShellInsets, type CanvasShellProps, type CanvasShellRouteConfig, CanvasView, type CanvasViewHandle, type CanvasViewProps, type CanvasViewport, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryFilter, type ChatDockMessage, ChatDockSection, type ChatDockSectionProps, Checkbox, Checklist, type ChecklistItem, type ChecklistProps, CodeBlock, CodePlayground, type CodePlaygroundProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommentPin, type CommentPinLabels, type CommentPinProps, type CommentPinState, CommonMistake, type CommonMistakeProps, Comparison, type ComparisonProps, CompletionDialog, type CompletionDialogProps, ConnectorEdge, type ConnectorEdgePoint, type ConnectorEdgeProps, Content, ContentCard$1 as ContentCard, ContentIntro, type ContentIntroLabels, type ContentIntroProps, type ContentIntroSection, type ContentMeta, type ContentProgress, type ContentSection, type ContentSectionMinimal, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ConversationEmpty, type ConversationEmptyProps, ConversationHeader, type ConversationHeaderProps, ConversationLoading, type ConversationLoadingProps, type ConversationMessage, ConversationMessages, type ConversationMessagesProps, ConversationScrollButton, type ConversationScrollButtonProps, ConversationSuggestions, type ConversationSuggestionsProps, ConversationThread, type ConversationThreadProps, ConversationTitle, type ConversationTitleProps, CookieConsent, type CookieConsentProps, type CopyStatus, CountdownTimer, type CountdownTimerProps, CreditBadge, type CreditBadgeProps, type CreditBadgeStatus, Curriculum, CurriculumLesson, type CurriculumLessonProps, CurriculumModule, type CurriculumModuleProps, type CurriculumProps, DataList, DataListItem, type DataListItemProps, DataListLabel, type DataListProps, DataListValue, DataTableComponent as DataTable, type DataTableFilter, type DataTableFilterOption, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DifficultyLevel, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EdgeLabel, type EdgeLabelProps, Exercise, type ExerciseProps, FAQ, FAQItem, type FAQItemProps, type FAQProps, FileTree, type FileTreeProps, FileUpload, type FileUploadProps, FilterBar, type FilterBarLabels, type FilterBarProps, type FilterOption, type FilterUpdates, Flashcard, type FlashcardProps, FloatingActionButton, type FloatingActionButtonProps, FlowControls, type FlowControlsProps, FlowDiagram, type FlowDiagramEdge, type FlowDiagramNode, type FlowDiagramProps, FlowErrorBoundary, FlowFullscreen, type FlowFullscreenProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormProps, GlassPanel, type GlassPanelProps, Glossary, type GlossaryProps, GroupHull, type GroupHullProps, HeatOverlay, type HeatOverlayLabels, type HeatOverlayProps, type HeatOverlayTone, type HeatPoint, Highlight, type HighlightProps, HorizontalScrollRow, type HorizontalScrollRowProps, HoverCard, HoverCardContent, HoverCardTrigger, InfinitePlane, type InfinitePlaneLabels, type InfinitePlanePattern, type InfinitePlaneProps, InlineInput, type InlineInputProps, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KeyConcept, type KeyConceptProps, type KeyboardShortcut, KeyboardShortcutsHelp, type KeyboardShortcutsHelpProps, LANGUAGE_NAMES, Label, LangProvider, LearningObjectives, type LearningObjectivesProps, LeftRail, type LeftRailProps, type LessonDifficulty, type LessonStatus, LineChart, LiveCursor, type LiveCursorLabels, type LiveCursorProps, LiveFeed, type LiveFeedEvent, type LiveFeedProps, MDXContent, MarketTreemap, type MarketTreemapItem, type MarketTreemapProps, Marquee, type MarqueeProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricCluster, type MetricClusterAnchor, type MetricClusterEntry, type MetricClusterLabels, type MetricClusterProps, type MetricClusterTone, MetricGauge, type MetricGaugeProps, type MetricGaugeThreshold, type MiniMapMarker, MiniMapPanel, type MiniMapPanelProps, type ModelInfo, ModelSelector, type ModelSelectorProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, type NavItem, NavbarSaas, type NavbarSaasProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerProps, ObjectCard, type ObjectCardAction, type ObjectCardMetric, type ObjectCardProps, ObjectHandle, type ObjectHandleProps, OrderBook, type OrderBookLevel, type OrderBookProps, OverviewBoard, type OverviewBoardItem, type OverviewBoardProps, OverviewCard, type OverviewCardProps, type OverviewCardTone, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PlanBadge, type PlanBadgeProps, type PlanBadgeState, type PlanBadgeTier, type PlatformConfig, PlaybackGhost, type PlaybackGhostKind, type PlaybackGhostLabels, type PlaybackGhostProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Prerequisites, type PrerequisitesProps, PresenceStack, type PresenceStackLabels, type PresenceStackProps, type PresenceStatus, PresenceSyncIndicator, type PresenceSyncIndicatorLabels, type PresenceSyncIndicatorProps, type PresenceSyncState, type PresenceUser, ProTip, type ProTipProps, type ProTipVariant, ProfileSection, ProgressBar, type ProgressBarProps, ContentCard as ProgressCard, type ContentCardProgress as ProgressCardProgress, type ContentCardProps as ProgressCardProps, ProgressTracker, ProgressTrackerBadge, type ProgressTrackerBadgeProps, ProgressTrackerModule, type ProgressTrackerModuleItem, type ProgressTrackerModuleProps, type ProgressTrackerModuleStatus, ProgressTrackerModules, type ProgressTrackerModulesProps, ProgressTrackerOverview, type ProgressTrackerOverviewProps, type ProgressTrackerProps, ProgressTrackerStat, type ProgressTrackerStatProps, ProgressTrackerStats, type ProgressTrackerStatsProps, Quiz, type QuizOption, type QuizProps, RadioGroup, RadioGroupItem, Rating, type RatingProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightDock, type RightDockProps, RoleBadge, type RoleBadgeProps, type RoleBadgeRole, type RunPhaseState, RunTimeline, type RunTimelineLabels, type RunTimelineLane, type RunTimelinePhase, type RunTimelineProps, ScopeSelector, type ScopeSelectorNode, type ScopeSelectorProps, type ScopeSelectorSelection, ScrollArea, ScrollBar, SearchBar, SearchDialog, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectionPresence, type SelectionPresenceLabels, type SelectionPresenceProps, Separator, SeverityBadge, type SeverityBadgeLevel, type SeverityBadgeProps, ShareDialog, type ShareDialogLabels, type SharePlatform as ShareDialogPlatform, type ShareDialogProps, type SharePlatform$1 as SharePlatform, type SharePlatformConfig, ShareSection, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, type SidebarItem, SidebarProvider, type SidebarSection, SidebarToggle, type SidebarToggleProps, SimpleTerminal, type SimpleTerminalProps, Skeleton, Slider, Slideshow, type SlideshowLabels, type SlideshowProps, type SlideshowSection, SocialFAB, type SocialFabActionConfig, type SocialFabLabels, type SocialFabProps, SparklineGrid, type SparklineGridItem, type SparklineGridProps, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StateBadgeAnchor, StateBadgeOverlay, type StateBadgeOverlayLabels, type StateBadgeOverlayProps, type StateBadgeState, StatusBoard, type StatusBoardItem, type StatusBoardProps, type StatusBoardStatus, StatusIndicator, type StatusIndicatorProps, Step, StepByStep, type StepByStepProps, StepNavigation, type StepNavigationProps, type StepProps, Stepper, type StepperProps, type StepperStep, SubscriptionCard, type SubscriptionCardProps, type SubscriptionCardStatus, Summary, type SummaryProps, Switch, TLDRSection, type TOCSection, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableOfContentsPanel, type TableOfContentsPanelProps, TableRow, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagsInput, type TagsInputProps, Terminal, type TerminalLine, type TerminalProps, Textarea, type TextareaProps, ThemeProvider, ThemeToggle, ThinkingBlock, type ThinkingBlockProps, ThreadBubble, type ThreadBubbleLabels, type ThreadBubbleProps, type ThreadMessage, TickerTape, type TickerTapeItem, type TickerTapeProps, TimelineScrubber, type TimelineScrubberLabels, type TimelineScrubberProps, type TimelineScrubberTone, type TimelineTick, Toast, ToastAction, ToastClose, ToastDescription, type ToastProps, ToastTitle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToolCall, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopBar, type TopBarProps, Tour, type TourProps, type TourStep, TruncatedText, type TruncatedTextProps, TutorialCard, type TutorialCardLabels, type TutorialCardMeta, type TutorialCardProgress, type TutorialCardProps, TutorialComplete, type TutorialCompleteLabels, type TutorialCompleteProps, type TutorialCompleteRelatedContent, type TutorialCompleteSection, TutorialFilters, type TutorialFiltersLabels, type TutorialFiltersProps, TutorialIntroContent, type TutorialIntroContentProps, TutorialMDX, type TutorialMDXProps, type SupportedLanguage as UISupportedLanguage, UnicodeSpinner, type UnicodeSpinnerAnimation, type UnicodeSpinnerProps, UsageBreakdown, type UsageBreakdownItem, type UsageBreakdownProps, type UsageBreakdownTone, type UseFlowDiagramOptions, type UseFlowDiagramReturn, VideoEmbed, type VideoEmbedProps, type ViewOption, ViewSwitcher, type ViewSwitcherProps, type ViewportBookmark, ViewportBookmarks, type ViewportBookmarksLabels, type ViewportBookmarksProps, WalletCard, type WalletCardProps, Watchlist, type WatchlistItem, type WatchlistProps, type WorkspaceOption, WorkspaceSwitcher, type WorkspaceSwitcherProps, WorldBreadcrumbs, type WorldBreadcrumbsLabels, type WorldBreadcrumbsProps, WorldClockBar, type WorldClockBarProps, type WorldClockBarZone, type WorldCrumb, type WorldCrumbKind, ZoomHUD, type ZoomHUDProps, alertVariants, avatarGroupVariants, avatarItemVariants, badgeVariants, buttonVariants, cn, cookieConsentVariants, dataListItemVariants, dataListVariants, dotVariants, getOtherLanguage, mdxComponents, navigationMenuTriggerStyle, segmentedControlItemVariants, segmentedControlVariants, severityBadgeVariants, statCardVariants, statusIndicatorVariants, toggleVariants, useDebounce, useFlowDiagram, useFormField, useHorizontalScroll, useMobile, useProgressTrackerContext, useSidebar, useSocialFab };
|