@tangle-network/sandbox-ui 0.131.4 → 0.132.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/README.md +3 -0
- package/dist/{dashboard-B7mrHa2A.js → dashboard-BQDUxrn5.js} +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +12 -0
- package/dist/{index-B2nE9_FN.d.ts → index-BYFbmk6A.d.ts} +16 -1
- package/dist/{index-BVMgdFU9.d.ts → index-N-Ha2lRZ.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/{primitives-DVo5ldkk.js → primitives-KFAPbGBD.js} +2 -2
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +1 -1
- package/dist/styles.css +12 -0
- package/dist/{workbench-syQB06Hc.js → workbench-Bk52r7Th.js} +1 -1
- package/dist/workbench.js +1 -1
- package/dist/{workspace-CgG0B5NC.js → workspace-BeGvmYS6.js} +194 -155
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -323,6 +323,9 @@ The default places the session title and status in the transcript pane header wi
|
|
|
323
323
|
Use `centerHeader={null}` when the transcript should have no pane frame either.
|
|
324
324
|
`WorkspaceLayout` leaves its center row out until a caller supplies `centerHeader`.
|
|
325
325
|
Closed panes get compact edge controls with reserved space beside the transcript.
|
|
326
|
+
`surface="inset"` raises the center and right panes as one surface inside an even gutter on the recessed backdrop.
|
|
327
|
+
Its center always has a 48px header: closed-pane controls sit flat in its top-right corner, and an open right pane shares that header height and a divider.
|
|
328
|
+
`rightOpenLabel`, `rightCloseLabel`, and `rightControlHint` name the right-pane controls and their tooltip.
|
|
326
329
|
It owns pane sizes and, when you pass `layout.leftOpen` / `layout.onLeftOpenChange`, the open state too.
|
|
327
330
|
|
|
328
331
|
```tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as Button$1, sr as Logo } from "./primitives-
|
|
1
|
+
import { b as Button$1, sr as Logo } from "./primitives-KFAPbGBD.js";
|
|
2
2
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
3
3
|
import { n as MOTION_SURFACE, r as MOTION_TRAVEL, t as MOTION_CONTROL } from "./motion-DkyBRJb9.js";
|
|
4
4
|
import { i as moonshot_default } from "./model-brand-hMyDTUqB.js";
|
package/dist/dashboard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-
|
|
1
|
+
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-BQDUxrn5.js";
|
|
2
2
|
import { n as canonicalModelId, r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
3
3
|
import { a as formatPrice, i as PricingPage, n as SandboxPageShell, o as BillingDashboard, r as UsageChart, t as DashboardPageHeader } from "./page-layout-2IRtfx51.js";
|
|
4
4
|
export { ActivityFeed, BackendSelector, BillingDashboard, DashboardLayout, DashboardPageHeader, GitPanel, HARNESS_BRAND, HARNESS_OPTIONS, HarnessLogo, HarnessPicker, INSUFFICIENT_BALANCE_CODE, MetricAreaChart, ModelBrandStack, NewSandboxCard, OutOfCreditsModal, PortsList, PricingPage, ProcessList, ProfileAvatar, PromoBanner, RailButton, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailTooltip, ResourceMeter, ResourceSnapshot, SANDBOX_STATUS, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxCard, SandboxPageShell, SandboxStatusPill, SandboxTable, Sidebar, SidebarContent, SidebarLayout, SidebarPanel, SidebarPanelContent, SidebarPanelHeader, SidebarProvider, SidebarRail, SidebarRailFooter, SidebarRailNav, SnapshotList, SystemLogsViewer, TemplateCard, UsageChart, UsageSummary, canAdminSandbox, canonicalModelId, chatCapableHarnesses, formatPrice, modelBrandFor, parseInsufficientBalance, sandboxStatus, useSidebar };
|
package/dist/globals.css
CHANGED
|
@@ -2565,6 +2565,9 @@
|
|
|
2565
2565
|
.bg-\[var\(--md3-surface-container-lowest\)\] {
|
|
2566
2566
|
background-color: var(--md3-surface-container-lowest);
|
|
2567
2567
|
}
|
|
2568
|
+
.bg-\[var\(--md3-surface-dim\)\] {
|
|
2569
|
+
background-color: var(--md3-surface-dim);
|
|
2570
|
+
}
|
|
2568
2571
|
.bg-\[var\(--run-mix-cancelled\)\] {
|
|
2569
2572
|
background-color: var(--run-mix-cancelled);
|
|
2570
2573
|
}
|
|
@@ -5364,6 +5367,9 @@
|
|
|
5364
5367
|
text-overflow: ellipsis;
|
|
5365
5368
|
white-space: nowrap;
|
|
5366
5369
|
}
|
|
5370
|
+
.sm\:p-2 {
|
|
5371
|
+
padding: calc(var(--spacing) * 2);
|
|
5372
|
+
}
|
|
5367
5373
|
.sm\:p-4 {
|
|
5368
5374
|
padding: calc(var(--spacing) * 4);
|
|
5369
5375
|
}
|
|
@@ -5469,9 +5475,15 @@
|
|
|
5469
5475
|
.lg\:max-w-sm {
|
|
5470
5476
|
max-width: var(--container-sm);
|
|
5471
5477
|
}
|
|
5478
|
+
.lg\:min-w-64 {
|
|
5479
|
+
min-width: calc(var(--spacing) * 64);
|
|
5480
|
+
}
|
|
5472
5481
|
.lg\:flex-1 {
|
|
5473
5482
|
flex: 1;
|
|
5474
5483
|
}
|
|
5484
|
+
.lg\:flex-initial {
|
|
5485
|
+
flex: 0 auto;
|
|
5486
|
+
}
|
|
5475
5487
|
.lg\:grid-cols-2 {
|
|
5476
5488
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
5477
5489
|
}
|
|
@@ -105,9 +105,24 @@ interface WorkspaceLayoutProps {
|
|
|
105
105
|
keepRightMounted?: boolean;
|
|
106
106
|
/** Closed controls use edge columns by default; overlay preserves center width. */
|
|
107
107
|
collapsedControlsPlacement?: "edge" | "overlay";
|
|
108
|
+
/**
|
|
109
|
+
* `flat` (default) fills the shell edge to edge. `inset` raises the center
|
|
110
|
+
* and right panes as one surface on the recessed backdrop, inside an even
|
|
111
|
+
* gutter on every side. The center always has a header row: closed-pane
|
|
112
|
+
* controls sit flat in it, an open right pane shares its height and a
|
|
113
|
+
* divider, and a closed pane leaves nothing at the shell's edge.
|
|
114
|
+
* `collapsedControlsPlacement` and `centerHeaderVisibility` do not apply.
|
|
115
|
+
*/
|
|
116
|
+
surface?: "flat" | "inset";
|
|
117
|
+
/** Accessible name and tooltip of the control that opens the right pane. */
|
|
118
|
+
rightOpenLabel?: string;
|
|
119
|
+
/** Accessible name and tooltip of the control that closes the right pane. */
|
|
120
|
+
rightCloseLabel?: string;
|
|
121
|
+
/** Second tooltip line for both right-pane controls, such as the tools the pane holds. */
|
|
122
|
+
rightControlHint?: string;
|
|
108
123
|
className?: string;
|
|
109
124
|
}
|
|
110
|
-
declare function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter, right, rightHeader, bottom, bottomHeader, defaultLeftOpen, defaultRightOpen, defaultBottomOpen, defaultLeftWidth, defaultRightWidth, defaultBottomHeight, minLeftWidth, maxLeftWidth, minRightWidth, maxRightWidth, minCenterWidth, minBottomHeight, maxBottomHeight, persistenceKey, resizable, theme, density, leftLabel, rightLabel, bottomLabel, leftOpen: leftOpenProp, onLeftOpenChange, rightOpen: rightOpenProp, onRightOpenChange, keyboardShortcuts, leftCollapsedControl, leftContentClassName, rightContentClassName, keepRightMounted, collapsedControlsPlacement, centerHeaderVisibility, className }: WorkspaceLayoutProps): import("react").JSX.Element;
|
|
125
|
+
declare function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter, right, rightHeader, bottom, bottomHeader, defaultLeftOpen, defaultRightOpen, defaultBottomOpen, defaultLeftWidth, defaultRightWidth, defaultBottomHeight, minLeftWidth, maxLeftWidth, minRightWidth, maxRightWidth, minCenterWidth, minBottomHeight, maxBottomHeight, persistenceKey, resizable, theme, density, leftLabel, rightLabel, bottomLabel, leftOpen: leftOpenProp, onLeftOpenChange, rightOpen: rightOpenProp, onRightOpenChange, keyboardShortcuts, leftCollapsedControl, leftContentClassName, rightContentClassName, keepRightMounted, collapsedControlsPlacement, centerHeaderVisibility, surface, rightOpenLabel, rightCloseLabel, rightControlHint, className }: WorkspaceLayoutProps): import("react").JSX.Element;
|
|
111
126
|
//#endregion
|
|
112
127
|
//#region src/workspace/workspace-pane-header.d.ts
|
|
113
128
|
type WorkspacePaneHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertProps, AlertTitle, AlertTone, ArtifactPane as ArtifactPane$1, ArtifactPaneProps, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, BadgeProps, Button as Button$1, ButtonProps as ButtonProps$1, CATEGORY_TONES, Calendar, CalendarDate, CalendarProps, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, CardTitleProps, CategoryTone, Checkbox, Chip, ChipProps, CodeBlock, CodeBlockProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DatePicker as DatePicker$1, DatePickerProps, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropZoneProps, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, EmptyStateProps, FilterField as FilterField$1, FilterFieldProps, Heading, HeadingVariant, HeadingVariant as HeadingVariant$1, HelpText, HelpTextProps, IconTile, IconTileProps, InlineCode, InlineCodeProps, Input as Input$1, InputProps, Label as Label$1, Metric, MetricProps, MetricStrip, MetricStripProps, PageHeader as PageHeader$1, PageHeaderProps, PageHeaderProps as PageHeaderProps$1, PageShell as PageShell$1, PageShellProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, RadioGroup, RadioGroupItem, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, SidebarDropZoneProps, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatCardProps, StatusPill as StatusPill$1, StatusPillProps as StatusPillProps$1, StatusTone as StatusTone$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableProps, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TagProps, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, TextShimmerProps, Textarea as Textarea$1, TextareaProps, ThemeToggle, TimeSelect, TimeSelectProps, Toast, ToastContainer, ToastProvider, Tone, ToneClasses, Toolbar as Toolbar$1, ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, formatCalendarDate, initialsOf, localToday as localToday$1, parseCalendarDate, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
1
|
+
import { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertProps, AlertTitle, AlertTone, ArtifactPane as ArtifactPane$1, ArtifactPaneProps, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, BadgeProps, Button as Button$1, ButtonProps as ButtonProps$1, CATEGORY_TONES, Calendar, CalendarDate, CalendarProps, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, CardTitleProps, CategoryTone, Checkbox, Chip, ChipProps, CodeBlock, CodeBlockProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DatePicker as DatePicker$1, DatePickerProps, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropZoneProps, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, EmptyStateProps, FilterField as FilterField$1, FilterFieldProps, Heading, HeadingVariant, HeadingVariant as HeadingVariant$1, HelpText, HelpTextProps, IconTile, IconTileProps, InlineCode, InlineCodeProps, Input as Input$1, InputProps, Label as Label$1, Metric, MetricProps, MetricStrip, MetricStripProps, PageHeader as PageHeader$1, PageHeaderProps, PageHeaderProps as PageHeaderProps$1, PageShell as PageShell$1, PageShellProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, RadioGroup, RadioGroupItem, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, SidebarDropZoneProps, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatCardProps, StatusPill as StatusPill$1, StatusPillProps as StatusPillProps$1, StatusTone as StatusTone$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableProps, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TagProps, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, TextShimmerProps, Textarea as Textarea$1, TextareaProps, ThemeToggle, TimeSelect, TimeSelectProps, Toast, ToastContainer, ToastProvider, Tone, ToneClasses, Toolbar as Toolbar$1, ToolbarProps, Tooltip as Tooltip$1, TooltipContent as TooltipContent$1, TooltipProvider as TooltipProvider$1, TooltipTrigger as TooltipTrigger$1, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, formatCalendarDate, initialsOf, localToday as localToday$1, parseCalendarDate, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
2
2
|
import { TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
3
|
import { ElementType, HTMLAttributes, ReactNode } from "react";
|
|
4
4
|
//#region src/primitives/logo.d.ts
|
|
@@ -27,4 +27,4 @@ type SectionTitleProps = Pick<PageHeaderProps, "title" | "description" | "action
|
|
|
27
27
|
/** Compatibility name for the canonical nested (h2) page header. */
|
|
28
28
|
declare function SectionTitle(props: SectionTitleProps): import("react").JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
|
-
export { ContextMenuRadioGroup as $, Table as $n, TangleKnot$1 as $r, MetricProps as $t, Card$1 as A, Sheet as An, Toolbar$1 as Ar, DropdownMenuRadioItem as At, ChipProps as B, SidebarDropZone as Bn, buttonVariants as Br, FilterFieldProps as Bt, BadgeProps as C, SelectLabel as Cn, TimeSelect as Cr, DropdownMenuCheckboxItem as Ct, Calendar as D, SelectTrigger$1 as Dn, ToastProvider as Dr, DropdownMenuLabel$1 as Dt, CATEGORY_TONES as E, SelectSeparator as En, ToastContainer as Er, DropdownMenuItem$1 as Et, CardTitle$1 as F, SheetHeader as Fn, TooltipTrigger as Fr, DropdownMenuSubTrigger$1 as Ft, CollapsibleTrigger as G, Slider as Gn, toneFor as Gr, IconTile as Gt, CodeBlockProps as H, Skeleton$1 as Hn, initialsOf as Hr, HeadingVariant$1 as Ht, CardTitleProps as I, SheetOverlay as In, UploadFile as Ir, DropdownMenuTrigger$1 as It, ContextMenuContent as J, StatusPill$1 as Jn, HeadingProps as Jr, InlineCodeProps as Jt, ContextMenu as K, StatCard$1 as Kn, useTheme as Kr, IconTileProps as Kt, CategoryTone as L, SheetPortal as Ln, UploadProgress as Lr, EmptyState$1 as Lt, CardDescription$1 as M, SheetContent as Mn, Tooltip as Mr, DropdownMenuShortcut as Mt, CardFooter as N, SheetDescription as Nn, TooltipContent as Nr, DropdownMenuSub$1 as Nt, CalendarDate as O, SelectValue$1 as On, Tone as Or, DropdownMenuPortal as Ot, CardHeader$1 as P, SheetFooter as Pn, TooltipProvider as Pr, DropdownMenuSubContent$1 as Pt, ContextMenuPortal as Q, TONE_CLASSES as Qn, LogoProps as Qr, Metric as Qt, Checkbox as R, SheetTitle as Rn, UploadProgressProps as Rr, EmptyStateProps as Rt, Badge$1 as S, SelectItem$1 as Sn, ThemeToggle as Sr, DropdownMenu$1 as St, ButtonProps$1 as T, SelectScrollUpButton as Tn, Toast as Tr, DropdownMenuGroup as Tt, Collapsible as U, SkeletonCard$1 as Un, localToday$1 as Ur, HelpText as Ut, CodeBlock as V, SidebarDropZoneProps as Vn, formatCalendarDate as Vr, Heading as Vt, CollapsibleContent as W, SkeletonTable as Wn, parseCalendarDate as Wr, HelpTextProps as Wt, ContextMenuItem as X, StatusTone$1 as Xn, SectionTitleProps as Xr, InputProps as Xt, ContextMenuGroup as Y, StatusPillProps$1 as Yn, SectionTitle as Yr, Input$1 as Yt, ContextMenuLabel as Z, Switch as Zn, Logo$1 as Zr, Label$1 as Zt, ArtifactPane$1 as _, SegmentedControlOption as _n, TerminalLine as _r, DialogPortal as _t, AlertDialogCancel as a, PageShellProps as an, TableHeader as ar, ContextMenuSubTrigger as at, AvatarFallback$1 as b, SelectContent$1 as bn, Textarea$1 as br, DropZone as bt, AlertDialogFooter as c, Popover as cn, Tabs$1 as cr, DatePicker$1 as ct, AlertDialogPortal as d, PopoverContent as dn, TabsTrigger$1 as dr, DialogClose$1 as dt, MetricStrip as en, TableBody as er, ContextMenuRadioItem as et, AlertDialogTitle as f, PopoverTrigger as fn, Tag as fr, DialogContent$1 as ft, AlertTone as g, SegmentedControl as gn, TerminalInput as gr, DialogOverlay as gt, AlertTitle as h, RadioGroupItem as hn, TerminalDisplay as hr, DialogHeader$1 as ht, AlertDialogAction as i, PageShell$1 as in, TableHead as ir, ContextMenuSubContent as it, CardContent$1 as j, SheetClose as jn, ToolbarProps as jr, DropdownMenuSeparator$1 as jt, CalendarProps as k, Separator as kn, ToneClasses as kr, DropdownMenuRadioGroup as kt, AlertDialogHeader as l, PopoverAnchor as ln, TabsContent$1 as lr, DatePickerProps as lt, AlertProps as m, RadioGroup as mn, TerminalCursor as mr, DialogFooter$1 as mt, AlertDescription as n, PageHeader$1 as nn, TableCell as nr, ContextMenuShortcut as nt, AlertDialogContent as o, Pagination as on, TableProps as or, ContextMenuTrigger as ot, AlertDialogTrigger as p, Progress$1 as pn, TagProps as pr, DialogDescription$1 as pt, ContextMenuCheckboxItem as q, StatCardProps as qn, useToast as qr, InlineCode as qt, AlertDialog as r, PageHeaderProps$1 as rn, TableFooter as rr, ContextMenuSub as rt, AlertDialogDescription as s, PaginationProps as sn, TableRow as sr, CopyButton as st, Alert as t, MetricStripProps as tn, TableCaption as tr, ContextMenuSeparator as tt, AlertDialogOverlay as u, PopoverClose as un, TabsList$1 as ur, Dialog$1 as ut, ArtifactPaneProps as v, SegmentedControlProps as vn, TextShimmer as vr, DialogTitle$1 as vt, Button$1 as w, SelectScrollDownButton as wn, TimeSelectProps as wr, DropdownMenuContent$1 as wt, AvatarImage$1 as x, SelectGroup as xn, TextareaProps as xr, DropZoneProps as xt, Avatar$1 as y, Select$1 as yn, TextShimmerProps as yr, DialogTrigger$1 as yt, Chip as z, SheetTrigger as zn, badgeVariants as zr, FilterField$1 as zt };
|
|
30
|
+
export { ContextMenuRadioGroup as $, Table as $n, TangleKnot$1 as $r, MetricProps as $t, Card$1 as A, Sheet as An, Toolbar$1 as Ar, DropdownMenuRadioItem as At, ChipProps as B, SidebarDropZone as Bn, buttonVariants as Br, FilterFieldProps as Bt, BadgeProps as C, SelectLabel as Cn, TimeSelect as Cr, DropdownMenuCheckboxItem as Ct, Calendar as D, SelectTrigger$1 as Dn, ToastProvider as Dr, DropdownMenuLabel$1 as Dt, CATEGORY_TONES as E, SelectSeparator as En, ToastContainer as Er, DropdownMenuItem$1 as Et, CardTitle$1 as F, SheetHeader as Fn, TooltipTrigger$1 as Fr, DropdownMenuSubTrigger$1 as Ft, CollapsibleTrigger as G, Slider as Gn, toneFor as Gr, IconTile as Gt, CodeBlockProps as H, Skeleton$1 as Hn, initialsOf as Hr, HeadingVariant$1 as Ht, CardTitleProps as I, SheetOverlay as In, UploadFile as Ir, DropdownMenuTrigger$1 as It, ContextMenuContent as J, StatusPill$1 as Jn, HeadingProps as Jr, InlineCodeProps as Jt, ContextMenu as K, StatCard$1 as Kn, useTheme as Kr, IconTileProps as Kt, CategoryTone as L, SheetPortal as Ln, UploadProgress as Lr, EmptyState$1 as Lt, CardDescription$1 as M, SheetContent as Mn, Tooltip$1 as Mr, DropdownMenuShortcut as Mt, CardFooter as N, SheetDescription as Nn, TooltipContent$1 as Nr, DropdownMenuSub$1 as Nt, CalendarDate as O, SelectValue$1 as On, Tone as Or, DropdownMenuPortal as Ot, CardHeader$1 as P, SheetFooter as Pn, TooltipProvider$1 as Pr, DropdownMenuSubContent$1 as Pt, ContextMenuPortal as Q, TONE_CLASSES as Qn, LogoProps as Qr, Metric as Qt, Checkbox as R, SheetTitle as Rn, UploadProgressProps as Rr, EmptyStateProps as Rt, Badge$1 as S, SelectItem$1 as Sn, ThemeToggle as Sr, DropdownMenu$1 as St, ButtonProps$1 as T, SelectScrollUpButton as Tn, Toast as Tr, DropdownMenuGroup as Tt, Collapsible as U, SkeletonCard$1 as Un, localToday$1 as Ur, HelpText as Ut, CodeBlock as V, SidebarDropZoneProps as Vn, formatCalendarDate as Vr, Heading as Vt, CollapsibleContent as W, SkeletonTable as Wn, parseCalendarDate as Wr, HelpTextProps as Wt, ContextMenuItem as X, StatusTone$1 as Xn, SectionTitleProps as Xr, InputProps as Xt, ContextMenuGroup as Y, StatusPillProps$1 as Yn, SectionTitle as Yr, Input$1 as Yt, ContextMenuLabel as Z, Switch as Zn, Logo$1 as Zr, Label$1 as Zt, ArtifactPane$1 as _, SegmentedControlOption as _n, TerminalLine as _r, DialogPortal as _t, AlertDialogCancel as a, PageShellProps as an, TableHeader as ar, ContextMenuSubTrigger as at, AvatarFallback$1 as b, SelectContent$1 as bn, Textarea$1 as br, DropZone as bt, AlertDialogFooter as c, Popover as cn, Tabs$1 as cr, DatePicker$1 as ct, AlertDialogPortal as d, PopoverContent as dn, TabsTrigger$1 as dr, DialogClose$1 as dt, MetricStrip as en, TableBody as er, ContextMenuRadioItem as et, AlertDialogTitle as f, PopoverTrigger as fn, Tag as fr, DialogContent$1 as ft, AlertTone as g, SegmentedControl as gn, TerminalInput as gr, DialogOverlay as gt, AlertTitle as h, RadioGroupItem as hn, TerminalDisplay as hr, DialogHeader$1 as ht, AlertDialogAction as i, PageShell$1 as in, TableHead as ir, ContextMenuSubContent as it, CardContent$1 as j, SheetClose as jn, ToolbarProps as jr, DropdownMenuSeparator$1 as jt, CalendarProps as k, Separator as kn, ToneClasses as kr, DropdownMenuRadioGroup as kt, AlertDialogHeader as l, PopoverAnchor as ln, TabsContent$1 as lr, DatePickerProps as lt, AlertProps as m, RadioGroup as mn, TerminalCursor as mr, DialogFooter$1 as mt, AlertDescription as n, PageHeader$1 as nn, TableCell as nr, ContextMenuShortcut as nt, AlertDialogContent as o, Pagination as on, TableProps as or, ContextMenuTrigger as ot, AlertDialogTrigger as p, Progress$1 as pn, TagProps as pr, DialogDescription$1 as pt, ContextMenuCheckboxItem as q, StatCardProps as qn, useToast as qr, InlineCode as qt, AlertDialog as r, PageHeaderProps$1 as rn, TableFooter as rr, ContextMenuSub as rt, AlertDialogDescription as s, PaginationProps as sn, TableRow as sr, CopyButton as st, Alert as t, MetricStripProps as tn, TableCaption as tr, ContextMenuSeparator as tt, AlertDialogOverlay as u, PopoverClose as un, TabsList$1 as ur, Dialog$1 as ut, ArtifactPaneProps as v, SegmentedControlProps as vn, TextShimmer as vr, DialogTitle$1 as vt, Button$1 as w, SelectScrollDownButton as wn, TimeSelectProps as wr, DropdownMenuContent$1 as wt, AvatarImage$1 as x, SelectGroup as xn, TextareaProps as xr, DropZoneProps as xt, Avatar$1 as y, Select$1 as yn, TextShimmerProps as yr, DialogTrigger$1 as yt, Chip as z, SheetTrigger as zn, badgeVariants as zr, FilterField$1 as zt };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ import { n as UsePtySessionReturn, r as usePtySession, t as UsePtySessionOptions
|
|
|
9
9
|
import { t as Session } from "./sidecar-DgH_vQ6m.js";
|
|
10
10
|
import { d as useSessionStream, l as UseSessionStreamOptions, n as UseSidecarAuthOptions, o as SessionDegradation, r as useSidecarAuth, s as SessionInfo, t as SidecarAuth, u as UseSessionStreamResult } from "./use-sidecar-auth-CCTJcrq7.js";
|
|
11
11
|
import { AgentStreamEvent, AppendUserMessageOptions, ApplySdkEventOptions, AuthUser, AutomationStreamEvent, BeginAssistantMessageOptions, BotStreamEvent, CompleteAssistantMessageOptions, RealtimeSessionOptions, RealtimeSessionRegistry, RealtimeSessionRegistryProps, RealtimeSessionState, RealtimeSessionTarget, SSEEvent, SandboxMetrics, SdkSessionAttachment, SdkSessionEvent, SdkSessionSeed, SidecarMetricsPayload, TaskStreamEvent, TerminalStreamEvent, UseAuthOptions, UseAuthResult, UseRunGroupsOptions, UseSSEStreamOptions, UseSSEStreamResult, UseSandboxMetricsOptions, UseSandboxMetricsResult, UseSdkSessionOptions, UseSdkSessionReturn, UseToolCallStreamReturn, createAuthFetcher, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useLiveTime, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessions, useToolCallStream } from "./hooks.js";
|
|
12
|
-
import { $ as ContextMenuRadioGroup, $n as Table, $r as TangleKnot, $t as MetricProps, A as Card, An as Sheet, Ar as Toolbar, At as DropdownMenuRadioItem, B as ChipProps, Bn as SidebarDropZone, Br as buttonVariants, Bt as FilterFieldProps, C as BadgeProps, Cn as SelectLabel, Cr as TimeSelect, Ct as DropdownMenuCheckboxItem, D as Calendar, Dn as SelectTrigger, Dr as ToastProvider, Dt as DropdownMenuLabel, E as CATEGORY_TONES, En as SelectSeparator, Er as ToastContainer, Et as DropdownMenuItem, F as CardTitle, Fn as SheetHeader, Fr as TooltipTrigger, Ft as DropdownMenuSubTrigger, G as CollapsibleTrigger, Gn as Slider, Gr as toneFor, Gt as IconTile, H as CodeBlockProps, Hn as Skeleton, Hr as initialsOf, Ht as HeadingVariant, I as CardTitleProps, In as SheetOverlay, Ir as UploadFile, It as DropdownMenuTrigger, J as ContextMenuContent, Jn as StatusPill, Jr as HeadingProps, Jt as InlineCodeProps, K as ContextMenu, Kn as StatCard, Kr as useTheme, Kt as IconTileProps, L as CategoryTone, Ln as SheetPortal, Lr as UploadProgress, Lt as EmptyState, M as CardDescription, Mn as SheetContent, Mr as Tooltip, Mt as DropdownMenuShortcut, N as CardFooter, Nn as SheetDescription, Nr as TooltipContent, Nt as DropdownMenuSub, O as CalendarDate, On as SelectValue, Or as Tone, Ot as DropdownMenuPortal, P as CardHeader, Pn as SheetFooter, Pr as TooltipProvider, Pt as DropdownMenuSubContent, Q as ContextMenuPortal, Qn as TONE_CLASSES, Qr as LogoProps, Qt as Metric, R as Checkbox, Rn as SheetTitle, Rr as UploadProgressProps, Rt as EmptyStateProps, S as Badge, Sn as SelectItem, Sr as ThemeToggle, St as DropdownMenu, T as ButtonProps, Tn as SelectScrollUpButton, Tr as Toast, Tt as DropdownMenuGroup, U as Collapsible, Un as SkeletonCard, Ur as localToday, Ut as HelpText, V as CodeBlock, Vn as SidebarDropZoneProps, Vr as formatCalendarDate, Vt as Heading, W as CollapsibleContent, Wn as SkeletonTable, Wr as parseCalendarDate, Wt as HelpTextProps, X as ContextMenuItem, Xn as StatusTone, Xr as SectionTitleProps, Xt as InputProps, Y as ContextMenuGroup, Yn as StatusPillProps, Yr as SectionTitle, Yt as Input, Z as ContextMenuLabel, Zn as Switch, Zr as Logo, Zt as Label, _n as SegmentedControlOption, _t as DialogPortal, a as AlertDialogCancel, an as PageShellProps, ar as TableHeader, at as ContextMenuSubTrigger, b as AvatarFallback, bn as SelectContent, br as Textarea, bt as DropZone, c as AlertDialogFooter, cn as Popover, cr as Tabs, ct as DatePicker, d as AlertDialogPortal, dn as PopoverContent, dr as TabsTrigger, dt as DialogClose, en as MetricStrip, er as TableBody, et as ContextMenuRadioItem, f as AlertDialogTitle, fn as PopoverTrigger, fr as Tag, ft as DialogContent, g as AlertTone, gn as SegmentedControl, gt as DialogOverlay, h as AlertTitle, hn as RadioGroupItem, hr as TerminalDisplay, ht as DialogHeader, i as AlertDialogAction, in as PageShell, ir as TableHead, it as ContextMenuSubContent, j as CardContent, jn as SheetClose, jr as ToolbarProps, jt as DropdownMenuSeparator, k as CalendarProps, kn as Separator, kr as ToneClasses, kt as DropdownMenuRadioGroup, l as AlertDialogHeader, ln as PopoverAnchor, lr as TabsContent, lt as DatePickerProps, m as AlertProps, mn as RadioGroup, mt as DialogFooter, n as AlertDescription, nn as PageHeader, nr as TableCell, nt as ContextMenuShortcut, o as AlertDialogContent, on as Pagination, or as TableProps, ot as ContextMenuTrigger, p as AlertDialogTrigger, pn as Progress, pr as TagProps, pt as DialogDescription, q as ContextMenuCheckboxItem, qn as StatCardProps, qr as useToast, qt as InlineCode, r as AlertDialog, rn as PageHeaderProps, rr as TableFooter, rt as ContextMenuSub, s as AlertDialogDescription, sn as PaginationProps, sr as TableRow, st as CopyButton, t as Alert, tn as MetricStripProps, tr as TableCaption, tt as ContextMenuSeparator, u as AlertDialogOverlay, un as PopoverClose, ur as TabsList, ut as Dialog, vn as SegmentedControlProps, vr as TextShimmer, vt as DialogTitle, w as Button, wn as SelectScrollDownButton, wr as TimeSelectProps, wt as DropdownMenuContent, x as AvatarImage, xn as SelectGroup, xr as TextareaProps, xt as DropZoneProps, y as Avatar, yn as Select, yr as TextShimmerProps, yt as DialogTrigger, z as Chip, zn as SheetTrigger, zr as badgeVariants, zt as FilterField } from "./index-
|
|
13
|
-
import { $ as StatusBar, A as createShellShouldRevalidate, B as SessionSidebarVariant, C as SandboxWorkbenchLayoutOptions, D as SandboxWorkbenchSessionProps, E as SandboxWorkbenchProps, F as SessionSidebarFilter, G as dispatchSessionCreated, H as SessionCreatedDetail, I as SessionSidebarGroupBy, J as RuntimePaneProps, K as useOptimisticSessionItems, L as SessionSidebarItem, M as formatRelativeAge, N as SessionSidebar, O as ShellShouldRevalidateArgs, P as SessionSidebarBadge, Q as ContextBadge, R as SessionSidebarLink, S as SandboxWorkbenchFileArtifact, T as SandboxWorkbenchOpenUIArtifact, U as SessionOptimisticController, V as SESSION_CREATED_EVENT, W as UseOptimisticSessionItemsOptions, X as TerminalPanel, Y as TerminalLine, Z as TerminalProps, _ as TaskBoardItem, a as WorkspaceFilesPane, at as DirectoryPaneProps, b as SandboxWorkbenchArtifact, c as ApprovalConfidenceStat, ct as WorkspaceLayout, d as ApprovalQueueProps, et as StatusBarProps, f as CalendarEvent, g as TaskBoardColumn, h as TaskBoard, i as WorkspaceArtifactViewProps, it as DirectoryPane, j as shellShouldRevalidate, k as ShellShouldRevalidateOptions, l as ApprovalItem, lt as WorkspaceLayoutProps, m as CalendarViewProps, n as ArtifactPaneProps, nt as StatusBanner, o as WorkspaceFilesPaneProps, ot as WorkspacePaneHeader, p as CalendarView, q as RuntimePane, r as WorkspaceArtifactView, rt as StatusBannerProps, s as WorkspaceFilesPreview, st as WorkspacePaneHeaderProps, t as ArtifactPane, tt as BannerType, u as ApprovalQueue, v as TaskBoardProps, w as SandboxWorkbenchMarkdownArtifact, x as SandboxWorkbenchCustomArtifact, y as SandboxWorkbench, z as SessionSidebarProps } from "./index-
|
|
12
|
+
import { $ as ContextMenuRadioGroup, $n as Table, $r as TangleKnot, $t as MetricProps, A as Card, An as Sheet, Ar as Toolbar, At as DropdownMenuRadioItem, B as ChipProps, Bn as SidebarDropZone, Br as buttonVariants, Bt as FilterFieldProps, C as BadgeProps, Cn as SelectLabel, Cr as TimeSelect, Ct as DropdownMenuCheckboxItem, D as Calendar, Dn as SelectTrigger, Dr as ToastProvider, Dt as DropdownMenuLabel, E as CATEGORY_TONES, En as SelectSeparator, Er as ToastContainer, Et as DropdownMenuItem, F as CardTitle, Fn as SheetHeader, Fr as TooltipTrigger, Ft as DropdownMenuSubTrigger, G as CollapsibleTrigger, Gn as Slider, Gr as toneFor, Gt as IconTile, H as CodeBlockProps, Hn as Skeleton, Hr as initialsOf, Ht as HeadingVariant, I as CardTitleProps, In as SheetOverlay, Ir as UploadFile, It as DropdownMenuTrigger, J as ContextMenuContent, Jn as StatusPill, Jr as HeadingProps, Jt as InlineCodeProps, K as ContextMenu, Kn as StatCard, Kr as useTheme, Kt as IconTileProps, L as CategoryTone, Ln as SheetPortal, Lr as UploadProgress, Lt as EmptyState, M as CardDescription, Mn as SheetContent, Mr as Tooltip, Mt as DropdownMenuShortcut, N as CardFooter, Nn as SheetDescription, Nr as TooltipContent, Nt as DropdownMenuSub, O as CalendarDate, On as SelectValue, Or as Tone, Ot as DropdownMenuPortal, P as CardHeader, Pn as SheetFooter, Pr as TooltipProvider, Pt as DropdownMenuSubContent, Q as ContextMenuPortal, Qn as TONE_CLASSES, Qr as LogoProps, Qt as Metric, R as Checkbox, Rn as SheetTitle, Rr as UploadProgressProps, Rt as EmptyStateProps, S as Badge, Sn as SelectItem, Sr as ThemeToggle, St as DropdownMenu, T as ButtonProps, Tn as SelectScrollUpButton, Tr as Toast, Tt as DropdownMenuGroup, U as Collapsible, Un as SkeletonCard, Ur as localToday, Ut as HelpText, V as CodeBlock, Vn as SidebarDropZoneProps, Vr as formatCalendarDate, Vt as Heading, W as CollapsibleContent, Wn as SkeletonTable, Wr as parseCalendarDate, Wt as HelpTextProps, X as ContextMenuItem, Xn as StatusTone, Xr as SectionTitleProps, Xt as InputProps, Y as ContextMenuGroup, Yn as StatusPillProps, Yr as SectionTitle, Yt as Input, Z as ContextMenuLabel, Zn as Switch, Zr as Logo, Zt as Label, _n as SegmentedControlOption, _t as DialogPortal, a as AlertDialogCancel, an as PageShellProps, ar as TableHeader, at as ContextMenuSubTrigger, b as AvatarFallback, bn as SelectContent, br as Textarea, bt as DropZone, c as AlertDialogFooter, cn as Popover, cr as Tabs, ct as DatePicker, d as AlertDialogPortal, dn as PopoverContent, dr as TabsTrigger, dt as DialogClose, en as MetricStrip, er as TableBody, et as ContextMenuRadioItem, f as AlertDialogTitle, fn as PopoverTrigger, fr as Tag, ft as DialogContent, g as AlertTone, gn as SegmentedControl, gt as DialogOverlay, h as AlertTitle, hn as RadioGroupItem, hr as TerminalDisplay, ht as DialogHeader, i as AlertDialogAction, in as PageShell, ir as TableHead, it as ContextMenuSubContent, j as CardContent, jn as SheetClose, jr as ToolbarProps, jt as DropdownMenuSeparator, k as CalendarProps, kn as Separator, kr as ToneClasses, kt as DropdownMenuRadioGroup, l as AlertDialogHeader, ln as PopoverAnchor, lr as TabsContent, lt as DatePickerProps, m as AlertProps, mn as RadioGroup, mt as DialogFooter, n as AlertDescription, nn as PageHeader, nr as TableCell, nt as ContextMenuShortcut, o as AlertDialogContent, on as Pagination, or as TableProps, ot as ContextMenuTrigger, p as AlertDialogTrigger, pn as Progress, pr as TagProps, pt as DialogDescription, q as ContextMenuCheckboxItem, qn as StatCardProps, qr as useToast, qt as InlineCode, r as AlertDialog, rn as PageHeaderProps, rr as TableFooter, rt as ContextMenuSub, s as AlertDialogDescription, sn as PaginationProps, sr as TableRow, st as CopyButton, t as Alert, tn as MetricStripProps, tr as TableCaption, tt as ContextMenuSeparator, u as AlertDialogOverlay, un as PopoverClose, ur as TabsList, ut as Dialog, vn as SegmentedControlProps, vr as TextShimmer, vt as DialogTitle, w as Button, wn as SelectScrollDownButton, wr as TimeSelectProps, wt as DropdownMenuContent, x as AvatarImage, xn as SelectGroup, xr as TextareaProps, xt as DropZoneProps, y as Avatar, yn as Select, yr as TextShimmerProps, yt as DialogTrigger, z as Chip, zn as SheetTrigger, zr as badgeVariants, zt as FilterField } from "./index-N-Ha2lRZ.js";
|
|
13
|
+
import { $ as StatusBar, A as createShellShouldRevalidate, B as SessionSidebarVariant, C as SandboxWorkbenchLayoutOptions, D as SandboxWorkbenchSessionProps, E as SandboxWorkbenchProps, F as SessionSidebarFilter, G as dispatchSessionCreated, H as SessionCreatedDetail, I as SessionSidebarGroupBy, J as RuntimePaneProps, K as useOptimisticSessionItems, L as SessionSidebarItem, M as formatRelativeAge, N as SessionSidebar, O as ShellShouldRevalidateArgs, P as SessionSidebarBadge, Q as ContextBadge, R as SessionSidebarLink, S as SandboxWorkbenchFileArtifact, T as SandboxWorkbenchOpenUIArtifact, U as SessionOptimisticController, V as SESSION_CREATED_EVENT, W as UseOptimisticSessionItemsOptions, X as TerminalPanel, Y as TerminalLine, Z as TerminalProps, _ as TaskBoardItem, a as WorkspaceFilesPane, at as DirectoryPaneProps, b as SandboxWorkbenchArtifact, c as ApprovalConfidenceStat, ct as WorkspaceLayout, d as ApprovalQueueProps, et as StatusBarProps, f as CalendarEvent, g as TaskBoardColumn, h as TaskBoard, i as WorkspaceArtifactViewProps, it as DirectoryPane, j as shellShouldRevalidate, k as ShellShouldRevalidateOptions, l as ApprovalItem, lt as WorkspaceLayoutProps, m as CalendarViewProps, n as ArtifactPaneProps, nt as StatusBanner, o as WorkspaceFilesPaneProps, ot as WorkspacePaneHeader, p as CalendarView, q as RuntimePane, r as WorkspaceArtifactView, rt as StatusBannerProps, s as WorkspaceFilesPreview, st as WorkspacePaneHeaderProps, t as ArtifactPane, tt as BannerType, u as ApprovalQueue, v as TaskBoardProps, w as SandboxWorkbenchMarkdownArtifact, x as SandboxWorkbenchCustomArtifact, y as SandboxWorkbench, z as SessionSidebarProps } from "./index-BYFbmk6A.js";
|
|
14
14
|
import { A as SandboxArtifactTerminal, C as ChangesPane, D as ChangesPaneProps, E as ChangedFile, O as SandboxArtifact, S as PillTabsProps, T as ArtifactView, _ as DiffStats, a as PreviewView, b as PillTabItem, c as DiffViewProps, d as FileBreadcrumb, f as FileBreadcrumbProps, g as PanelHeaderProps, h as PanelHeader, i as resolveLanguage, k as SandboxArtifactPaneProps, l as CodeView, m as GitStatusBadge, n as CodeSurface, o as PreviewViewProps, p as DiffStatsBadge, r as CodeSurfaceProps, s as DiffView, t as BRAND_PRISM_THEME, u as CodeViewProps, v as buildUnifiedPatch, w as SandboxArtifactPane, x as PillTabs, y as computeDiffStats } from "./index-DNClXEEe.js";
|
|
15
15
|
import { a as PreviewReadiness, i as PreviewAccess, n as EmbeddedAppView, r as EmbeddedAppViewProps, t as EmbeddedApp } from "./embedded-app-view-B_vMTtJn.js";
|
|
16
16
|
import { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIAction, OpenUIActionsNode, OpenUIArtifactRenderer, OpenUIArtifactRendererProps, OpenUIBadgeNode, OpenUICardNode, OpenUICodeNode, OpenUIComponentNode, OpenUIGridNode, OpenUIHeadingNode, OpenUIKeyValueNode, OpenUIMarkdownNode, OpenUIPrimitive, OpenUISchemaIssue, OpenUISchemaValidation, OpenUISeparatorNode, OpenUIStackNode, OpenUIStatNode, OpenUITableNode, OpenUITextNode, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode } from "./openui.js";
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as computeDiffStats, c as BRAND_PRISM_THEME, d as DiffStatsBadge, f as GitStatusBadge, i as buildUnifiedPatch, l as CodeSurface, m as PillTabs, n as SandboxArtifactPane, o as CodeView, p as PanelHeader, r as DiffView, s as FileBreadcrumb, t as ChangesPane, u as resolveLanguage } from "./workbench-
|
|
2
|
-
import { $ as DialogClose, $n as formatCalendarDate, $t as SelectSeparator, A as Chip, An as Tabs, At as Input, B as ContextMenuLabel, Bn as Textarea, Bt as PopoverContent, C as Card, Cn as TableBody, Ct as DropdownMenuTrigger, D as CardHeader, Dn as TableHead, Dt as HelpText, E as CardFooter, En as TableFooter, Et as Heading, F as ContextMenu, Ft as PageShell, G as ContextMenuShortcut, Gn as Toolbar, Gt as SegmentedControl, H as ContextMenuRadioGroup, Hn as TimeSelect, Ht as Progress, I as ContextMenuCheckboxItem, In as TerminalDisplay, It as Pagination, J as ContextMenuSubTrigger, Jn as TooltipProvider, Jt as SelectGroup, K as ContextMenuSub, Kn as Tooltip, Kt as Select, L as ContextMenuContent, Lt as Popover, M as Collapsible, Mn as TabsList, Mt as Metric, N as CollapsibleContent, Nn as TabsTrigger, Nt as MetricStrip, O as CardTitle, On as TableHeader, Ot as IconTile, P as CollapsibleTrigger, Pn as Tag, Pt as PageHeader, Q as Dialog, Qn as buttonVariants, Qt as SelectScrollUpButton, R as ContextMenuGroup, Rt as PopoverAnchor, S as Calendar, Sn as Table, St as DropdownMenuSubTrigger, T as CardDescription, Tn as TableCell, Tt as FilterField, U as ContextMenuRadioItem, Un as ToastContainer, Ut as RadioGroup, V as ContextMenuPortal, Vn as ThemeToggle, Vt as PopoverTrigger, W as ContextMenuSeparator, Wn as ToastProvider, Wt as RadioGroupItem, X as CopyButton, Xn as UploadProgress, Xt as SelectLabel, Y as ContextMenuTrigger, Yn as TooltipTrigger, Yt as SelectItem, Z as DatePicker, Zn as badgeVariants, Zt as SelectScrollDownButton, _ as AvatarFallback, _n as Slider, _t as DropdownMenuRadioItem, a as AlertDialogCancel, an as SheetContent, ar as useToast, at as DialogPortal, b as Button, bn as Switch, bt as DropdownMenuSub, c as AlertDialogFooter, cn as SheetHeader, cr as TangleKnot, ct as DropZone, d as AlertDialogPortal, dn as SheetTitle, dt as DropdownMenuContent, en as SelectTrigger, er as initialsOf, et as DialogContent, f as AlertDialogTitle, fn as SheetTrigger, ft as DropdownMenuGroup, g as Avatar, gn as SkeletonTable, gt as DropdownMenuRadioGroup, hn as SkeletonCard, ht as DropdownMenuPortal, i as AlertDialogAction, in as SheetClose, ir as useTheme, it as DialogOverlay, j as CodeBlock, jn as TabsContent, jt as Label, k as Checkbox, kn as TableRow, kt as InlineCode, l as AlertDialogHeader, ln as SheetOverlay, lt as DropdownMenu, m as AlertTitle, mn as Skeleton, mt as DropdownMenuLabel, n as AlertDescription, nn as Separator, nr as parseCalendarDate, nt as DialogFooter, o as AlertDialogContent, on as SheetDescription, or as SectionTitle, ot as DialogTitle, p as AlertDialogTrigger, pn as SidebarDropZone, pt as DropdownMenuItem, q as ContextMenuSubContent, qn as TooltipContent, qt as SelectContent, r as AlertDialog, rn as Sheet, rr as toneFor, rt as DialogHeader, s as AlertDialogDescription, sn as SheetFooter, sr as Logo, st as DialogTrigger, t as Alert, tn as SelectValue, tr as localToday, tt as DialogDescription, u as AlertDialogOverlay, un as SheetPortal, ut as DropdownMenuCheckboxItem, v as AvatarImage, vn as StatCard, vt as DropdownMenuSeparator, w as CardContent, wn as TableCaption, wt as EmptyState, x as CATEGORY_TONES, xn as TONE_CLASSES, xt as DropdownMenuSubContent, y as Badge, yn as StatusPill, yt as DropdownMenuShortcut, z as ContextMenuItem, zn as TextShimmer, zt as PopoverClose } from "./primitives-
|
|
1
|
+
import { a as computeDiffStats, c as BRAND_PRISM_THEME, d as DiffStatsBadge, f as GitStatusBadge, i as buildUnifiedPatch, l as CodeSurface, m as PillTabs, n as SandboxArtifactPane, o as CodeView, p as PanelHeader, r as DiffView, s as FileBreadcrumb, t as ChangesPane, u as resolveLanguage } from "./workbench-Bk52r7Th.js";
|
|
2
|
+
import { $ as DialogClose, $n as formatCalendarDate, $t as SelectSeparator, A as Chip, An as Tabs, At as Input, B as ContextMenuLabel, Bn as Textarea, Bt as PopoverContent, C as Card, Cn as TableBody, Ct as DropdownMenuTrigger, D as CardHeader, Dn as TableHead, Dt as HelpText, E as CardFooter, En as TableFooter, Et as Heading, F as ContextMenu, Ft as PageShell, G as ContextMenuShortcut, Gn as Toolbar, Gt as SegmentedControl, H as ContextMenuRadioGroup, Hn as TimeSelect, Ht as Progress, I as ContextMenuCheckboxItem, In as TerminalDisplay, It as Pagination, J as ContextMenuSubTrigger, Jn as TooltipProvider, Jt as SelectGroup, K as ContextMenuSub, Kn as Tooltip, Kt as Select, L as ContextMenuContent, Lt as Popover, M as Collapsible, Mn as TabsList, Mt as Metric, N as CollapsibleContent, Nn as TabsTrigger, Nt as MetricStrip, O as CardTitle, On as TableHeader, Ot as IconTile, P as CollapsibleTrigger, Pn as Tag, Pt as PageHeader, Q as Dialog, Qn as buttonVariants, Qt as SelectScrollUpButton, R as ContextMenuGroup, Rt as PopoverAnchor, S as Calendar, Sn as Table, St as DropdownMenuSubTrigger, T as CardDescription, Tn as TableCell, Tt as FilterField, U as ContextMenuRadioItem, Un as ToastContainer, Ut as RadioGroup, V as ContextMenuPortal, Vn as ThemeToggle, Vt as PopoverTrigger, W as ContextMenuSeparator, Wn as ToastProvider, Wt as RadioGroupItem, X as CopyButton, Xn as UploadProgress, Xt as SelectLabel, Y as ContextMenuTrigger, Yn as TooltipTrigger, Yt as SelectItem, Z as DatePicker, Zn as badgeVariants, Zt as SelectScrollDownButton, _ as AvatarFallback, _n as Slider, _t as DropdownMenuRadioItem, a as AlertDialogCancel, an as SheetContent, ar as useToast, at as DialogPortal, b as Button, bn as Switch, bt as DropdownMenuSub, c as AlertDialogFooter, cn as SheetHeader, cr as TangleKnot, ct as DropZone, d as AlertDialogPortal, dn as SheetTitle, dt as DropdownMenuContent, en as SelectTrigger, er as initialsOf, et as DialogContent, f as AlertDialogTitle, fn as SheetTrigger, ft as DropdownMenuGroup, g as Avatar, gn as SkeletonTable, gt as DropdownMenuRadioGroup, hn as SkeletonCard, ht as DropdownMenuPortal, i as AlertDialogAction, in as SheetClose, ir as useTheme, it as DialogOverlay, j as CodeBlock, jn as TabsContent, jt as Label, k as Checkbox, kn as TableRow, kt as InlineCode, l as AlertDialogHeader, ln as SheetOverlay, lt as DropdownMenu, m as AlertTitle, mn as Skeleton, mt as DropdownMenuLabel, n as AlertDescription, nn as Separator, nr as parseCalendarDate, nt as DialogFooter, o as AlertDialogContent, on as SheetDescription, or as SectionTitle, ot as DialogTitle, p as AlertDialogTrigger, pn as SidebarDropZone, pt as DropdownMenuItem, q as ContextMenuSubContent, qn as TooltipContent, qt as SelectContent, r as AlertDialog, rn as Sheet, rr as toneFor, rt as DialogHeader, s as AlertDialogDescription, sn as SheetFooter, sr as Logo, st as DialogTrigger, t as Alert, tn as SelectValue, tr as localToday, tt as DialogDescription, u as AlertDialogOverlay, un as SheetPortal, ut as DropdownMenuCheckboxItem, v as AvatarImage, vn as StatCard, vt as DropdownMenuSeparator, w as CardContent, wn as TableCaption, wt as EmptyState, x as CATEGORY_TONES, xn as TONE_CLASSES, xt as DropdownMenuSubContent, y as Badge, yn as StatusPill, yt as DropdownMenuShortcut, z as ContextMenuItem, zn as TextShimmer, zt as PopoverClose } from "./primitives-KFAPbGBD.js";
|
|
3
3
|
import { t as WorkspacePaneHeader } from "./workspace-pane-header-Bg1cCcHX.js";
|
|
4
|
-
import { _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, y as DirectoryPane } from "./workspace-
|
|
4
|
+
import { _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, y as DirectoryPane } from "./workspace-BeGvmYS6.js";
|
|
5
5
|
import { i as VaultTree, n as filterFileNodes, r as VAULT_TREE_CHILD_PAGE, t as fileTreeFromPaths } from "./tree-data-DtoCNNBJ.js";
|
|
6
|
-
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-
|
|
6
|
+
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-BQDUxrn5.js";
|
|
7
7
|
import { n as canonicalModelId, r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
8
8
|
import { a as formatPrice, i as PricingPage, n as SandboxPageShell, o as BillingDashboard, r as UsageChart, t as DashboardPageHeader } from "./page-layout-2IRtfx51.js";
|
|
9
9
|
import { t as usePtySession } from "./use-pty-session-Bf4hBLXJ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArtifactPane as ArtifactPane$1, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, Button as Button$1, CATEGORY_TONES, Calendar, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, Checkbox, Chip, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DatePicker as DatePicker$1, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, FilterField as FilterField$1, Heading, HelpText, IconTile, InlineCode, Input as Input$1, Label as Label$1, Metric, MetricStrip, PageHeader, PageHeader as PageHeader$1, PageShell as PageShell$1, Pagination, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, RadioGroup, RadioGroupItem, SegmentedControl, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatusPill as StatusPill$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, Textarea as Textarea$1, ThemeToggle, TimeSelect, ToastContainer, ToastProvider, Toolbar as Toolbar$1, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadProgress, badgeVariants, buttonVariants, formatCalendarDate, initialsOf, localToday as localToday$1, parseCalendarDate, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
1
|
+
import { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArtifactPane as ArtifactPane$1, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, Button as Button$1, CATEGORY_TONES, Calendar, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, Checkbox, Chip, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DatePicker as DatePicker$1, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, FilterField as FilterField$1, Heading, HelpText, IconTile, InlineCode, Input as Input$1, Label as Label$1, Metric, MetricStrip, PageHeader, PageHeader as PageHeader$1, PageShell as PageShell$1, Pagination, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, RadioGroup, RadioGroupItem, SegmentedControl, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatusPill as StatusPill$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, Textarea as Textarea$1, ThemeToggle, TimeSelect, ToastContainer, ToastProvider, Toolbar as Toolbar$1, Tooltip as Tooltip$1, TooltipContent as TooltipContent$1, TooltipProvider as TooltipProvider$1, TooltipTrigger as TooltipTrigger$1, UploadProgress, badgeVariants, buttonVariants, formatCalendarDate, initialsOf, localToday as localToday$1, parseCalendarDate, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
2
2
|
import { Logo, TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/primitives/logo.tsx
|
|
@@ -22,4 +22,4 @@ function SectionTitle(props) {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
|
-
export { DialogClose$1 as $, formatCalendarDate as $n, SelectSeparator as $t, Chip as A, Tabs$1 as An, Input$1 as At, ContextMenuLabel as B, Textarea$1 as Bn, PopoverContent as Bt, Card$1 as C, TableBody as Cn, DropdownMenuTrigger$1 as Ct, CardHeader$1 as D, TableHead as Dn, HelpText as Dt, CardFooter as E, TableFooter as En, Heading as Et, ContextMenu as F, TerminalCursor as Fn, PageShell$1 as Ft, ContextMenuShortcut as G, Toolbar$1 as Gn, SegmentedControl as Gt, ContextMenuRadioGroup as H, TimeSelect as Hn, Progress$1 as Ht, ContextMenuCheckboxItem as I, TerminalDisplay as In, Pagination as It, ContextMenuSubTrigger as J, TooltipProvider as Jn, SelectGroup as Jt, ContextMenuSub as K, Tooltip as Kn, Select$1 as Kt, ContextMenuContent as L, TerminalInput as Ln, Popover as Lt, Collapsible as M, TabsList$1 as Mn, Metric as Mt, CollapsibleContent as N, TabsTrigger$1 as Nn, MetricStrip as Nt, CardTitle$1 as O, TableHeader as On, IconTile as Ot, CollapsibleTrigger as P, Tag as Pn, PageHeader$1 as Pt, Dialog$1 as Q, buttonVariants as Qn, SelectScrollUpButton as Qt, ContextMenuGroup as R, TerminalLine as Rn, PopoverAnchor as Rt, Calendar as S, Table as Sn, DropdownMenuSubTrigger$1 as St, CardDescription$1 as T, TableCell as Tn, FilterField$1 as Tt, ContextMenuRadioItem as U, ToastContainer as Un, RadioGroup as Ut, ContextMenuPortal as V, ThemeToggle as Vn, PopoverTrigger as Vt, ContextMenuSeparator as W, ToastProvider as Wn, RadioGroupItem as Wt, CopyButton as X, UploadProgress as Xn, SelectLabel as Xt, ContextMenuTrigger as Y, TooltipTrigger as Yn, SelectItem$1 as Yt, DatePicker$1 as Z, badgeVariants as Zn, SelectScrollDownButton as Zt, AvatarFallback$1 as _, Slider as _n, DropdownMenuRadioItem as _t, AlertDialogCancel as a, SheetContent as an, useToast as ar, DialogPortal as at, Button$1 as b, Switch as bn, DropdownMenuSub$1 as bt, AlertDialogFooter as c, SheetHeader as cn, TangleKnot$1 as cr, DropZone as ct, AlertDialogPortal as d, SheetTitle as dn, DropdownMenuContent$1 as dt, SelectTrigger$1 as en, initialsOf as er, DialogContent$1 as et, AlertDialogTitle as f, SheetTrigger as fn, DropdownMenuGroup as ft, Avatar$1 as g, SkeletonTable as gn, DropdownMenuRadioGroup as gt, ArtifactPane$1 as h, SkeletonCard$1 as hn, DropdownMenuPortal as ht, AlertDialogAction as i, SheetClose as in, useTheme as ir, DialogOverlay as it, CodeBlock as j, TabsContent$1 as jn, Label$1 as jt, Checkbox as k, TableRow as kn, InlineCode as kt, AlertDialogHeader as l, SheetOverlay as ln, DropdownMenu$1 as lt, AlertTitle as m, Skeleton$1 as mn, DropdownMenuLabel$1 as mt, AlertDescription as n, Separator as nn, parseCalendarDate as nr, DialogFooter$1 as nt, AlertDialogContent as o, SheetDescription as on, SectionTitle as or, DialogTitle$1 as ot, AlertDialogTrigger as p, SidebarDropZone as pn, DropdownMenuItem$1 as pt, ContextMenuSubContent as q, TooltipContent as qn, SelectContent$1 as qt, AlertDialog as r, Sheet as rn, toneFor as rr, DialogHeader$1 as rt, AlertDialogDescription as s, SheetFooter as sn, Logo$1 as sr, DialogTrigger$1 as st, Alert as t, SelectValue$1 as tn, localToday$1 as tr, DialogDescription$1 as tt, AlertDialogOverlay as u, SheetPortal as un, DropdownMenuCheckboxItem as ut, AvatarImage$1 as v, StatCard$1 as vn, DropdownMenuSeparator$1 as vt, CardContent$1 as w, TableCaption as wn, EmptyState$1 as wt, CATEGORY_TONES as x, TONE_CLASSES as xn, DropdownMenuSubContent$1 as xt, Badge$1 as y, StatusPill$1 as yn, DropdownMenuShortcut as yt, ContextMenuItem as z, TextShimmer as zn, PopoverClose as zt };
|
|
25
|
+
export { DialogClose$1 as $, formatCalendarDate as $n, SelectSeparator as $t, Chip as A, Tabs$1 as An, Input$1 as At, ContextMenuLabel as B, Textarea$1 as Bn, PopoverContent as Bt, Card$1 as C, TableBody as Cn, DropdownMenuTrigger$1 as Ct, CardHeader$1 as D, TableHead as Dn, HelpText as Dt, CardFooter as E, TableFooter as En, Heading as Et, ContextMenu as F, TerminalCursor as Fn, PageShell$1 as Ft, ContextMenuShortcut as G, Toolbar$1 as Gn, SegmentedControl as Gt, ContextMenuRadioGroup as H, TimeSelect as Hn, Progress$1 as Ht, ContextMenuCheckboxItem as I, TerminalDisplay as In, Pagination as It, ContextMenuSubTrigger as J, TooltipProvider$1 as Jn, SelectGroup as Jt, ContextMenuSub as K, Tooltip$1 as Kn, Select$1 as Kt, ContextMenuContent as L, TerminalInput as Ln, Popover as Lt, Collapsible as M, TabsList$1 as Mn, Metric as Mt, CollapsibleContent as N, TabsTrigger$1 as Nn, MetricStrip as Nt, CardTitle$1 as O, TableHeader as On, IconTile as Ot, CollapsibleTrigger as P, Tag as Pn, PageHeader$1 as Pt, Dialog$1 as Q, buttonVariants as Qn, SelectScrollUpButton as Qt, ContextMenuGroup as R, TerminalLine as Rn, PopoverAnchor as Rt, Calendar as S, Table as Sn, DropdownMenuSubTrigger$1 as St, CardDescription$1 as T, TableCell as Tn, FilterField$1 as Tt, ContextMenuRadioItem as U, ToastContainer as Un, RadioGroup as Ut, ContextMenuPortal as V, ThemeToggle as Vn, PopoverTrigger as Vt, ContextMenuSeparator as W, ToastProvider as Wn, RadioGroupItem as Wt, CopyButton as X, UploadProgress as Xn, SelectLabel as Xt, ContextMenuTrigger as Y, TooltipTrigger$1 as Yn, SelectItem$1 as Yt, DatePicker$1 as Z, badgeVariants as Zn, SelectScrollDownButton as Zt, AvatarFallback$1 as _, Slider as _n, DropdownMenuRadioItem as _t, AlertDialogCancel as a, SheetContent as an, useToast as ar, DialogPortal as at, Button$1 as b, Switch as bn, DropdownMenuSub$1 as bt, AlertDialogFooter as c, SheetHeader as cn, TangleKnot$1 as cr, DropZone as ct, AlertDialogPortal as d, SheetTitle as dn, DropdownMenuContent$1 as dt, SelectTrigger$1 as en, initialsOf as er, DialogContent$1 as et, AlertDialogTitle as f, SheetTrigger as fn, DropdownMenuGroup as ft, Avatar$1 as g, SkeletonTable as gn, DropdownMenuRadioGroup as gt, ArtifactPane$1 as h, SkeletonCard$1 as hn, DropdownMenuPortal as ht, AlertDialogAction as i, SheetClose as in, useTheme as ir, DialogOverlay as it, CodeBlock as j, TabsContent$1 as jn, Label$1 as jt, Checkbox as k, TableRow as kn, InlineCode as kt, AlertDialogHeader as l, SheetOverlay as ln, DropdownMenu$1 as lt, AlertTitle as m, Skeleton$1 as mn, DropdownMenuLabel$1 as mt, AlertDescription as n, Separator as nn, parseCalendarDate as nr, DialogFooter$1 as nt, AlertDialogContent as o, SheetDescription as on, SectionTitle as or, DialogTitle$1 as ot, AlertDialogTrigger as p, SidebarDropZone as pn, DropdownMenuItem$1 as pt, ContextMenuSubContent as q, TooltipContent$1 as qn, SelectContent$1 as qt, AlertDialog as r, Sheet as rn, toneFor as rr, DialogHeader$1 as rt, AlertDialogDescription as s, SheetFooter as sn, Logo$1 as sr, DialogTrigger$1 as st, Alert as t, SelectValue$1 as tn, localToday$1 as tr, DialogDescription$1 as tt, AlertDialogOverlay as u, SheetPortal as un, DropdownMenuCheckboxItem as ut, AvatarImage$1 as v, StatCard$1 as vn, DropdownMenuSeparator$1 as vt, CardContent$1 as w, TableCaption as wn, EmptyState$1 as wt, CATEGORY_TONES as x, TONE_CLASSES as xn, DropdownMenuSubContent$1 as xt, Badge$1 as y, StatusPill$1 as yn, DropdownMenuShortcut as yt, ContextMenuItem as z, TextShimmer as zn, PopoverClose as zt };
|
package/dist/primitives.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ContextMenuRadioGroup, $n as Table, $r as TangleKnot, $t as MetricProps, A as Card, An as Sheet, Ar as Toolbar, At as DropdownMenuRadioItem, B as ChipProps, Bn as SidebarDropZone, Br as buttonVariants, Bt as FilterFieldProps, C as BadgeProps, Cn as SelectLabel, Cr as TimeSelect, Ct as DropdownMenuCheckboxItem, D as Calendar, Dn as SelectTrigger, Dr as ToastProvider, Dt as DropdownMenuLabel, E as CATEGORY_TONES, En as SelectSeparator, Er as ToastContainer, Et as DropdownMenuItem, F as CardTitle, Fn as SheetHeader, Fr as TooltipTrigger, Ft as DropdownMenuSubTrigger, G as CollapsibleTrigger, Gn as Slider, Gr as toneFor, Gt as IconTile, H as CodeBlockProps, Hn as Skeleton, Hr as initialsOf, Ht as HeadingVariant, I as CardTitleProps, In as SheetOverlay, Ir as UploadFile, It as DropdownMenuTrigger, J as ContextMenuContent, Jn as StatusPill, Jr as HeadingProps, Jt as InlineCodeProps, K as ContextMenu, Kn as StatCard, Kr as useTheme, Kt as IconTileProps, L as CategoryTone, Ln as SheetPortal, Lr as UploadProgress, Lt as EmptyState, M as CardDescription, Mn as SheetContent, Mr as Tooltip, Mt as DropdownMenuShortcut, N as CardFooter, Nn as SheetDescription, Nr as TooltipContent, Nt as DropdownMenuSub, O as CalendarDate, On as SelectValue, Or as Tone, Ot as DropdownMenuPortal, P as CardHeader, Pn as SheetFooter, Pr as TooltipProvider, Pt as DropdownMenuSubContent, Q as ContextMenuPortal, Qn as TONE_CLASSES, Qr as LogoProps, Qt as Metric, R as Checkbox, Rn as SheetTitle, Rr as UploadProgressProps, Rt as EmptyStateProps, S as Badge, Sn as SelectItem, Sr as ThemeToggle, St as DropdownMenu, T as ButtonProps, Tn as SelectScrollUpButton, Tr as Toast, Tt as DropdownMenuGroup, U as Collapsible, Un as SkeletonCard, Ur as localToday, Ut as HelpText, V as CodeBlock, Vn as SidebarDropZoneProps, Vr as formatCalendarDate, Vt as Heading, W as CollapsibleContent, Wn as SkeletonTable, Wr as parseCalendarDate, Wt as HelpTextProps, X as ContextMenuItem, Xn as StatusTone, Xr as SectionTitleProps, Xt as InputProps, Y as ContextMenuGroup, Yn as StatusPillProps, Yr as SectionTitle, Yt as Input, Z as ContextMenuLabel, Zn as Switch, Zr as Logo, Zt as Label, _ as ArtifactPane, _n as SegmentedControlOption, _r as TerminalLine, _t as DialogPortal, a as AlertDialogCancel, an as PageShellProps, ar as TableHeader, at as ContextMenuSubTrigger, b as AvatarFallback, bn as SelectContent, br as Textarea, bt as DropZone, c as AlertDialogFooter, cn as Popover, cr as Tabs, ct as DatePicker, d as AlertDialogPortal, dn as PopoverContent, dr as TabsTrigger, dt as DialogClose, en as MetricStrip, er as TableBody, et as ContextMenuRadioItem, f as AlertDialogTitle, fn as PopoverTrigger, fr as Tag, ft as DialogContent, g as AlertTone, gn as SegmentedControl, gr as TerminalInput, gt as DialogOverlay, h as AlertTitle, hn as RadioGroupItem, hr as TerminalDisplay, ht as DialogHeader, i as AlertDialogAction, in as PageShell, ir as TableHead, it as ContextMenuSubContent, j as CardContent, jn as SheetClose, jr as ToolbarProps, jt as DropdownMenuSeparator, k as CalendarProps, kn as Separator, kr as ToneClasses, kt as DropdownMenuRadioGroup, l as AlertDialogHeader, ln as PopoverAnchor, lr as TabsContent, lt as DatePickerProps, m as AlertProps, mn as RadioGroup, mr as TerminalCursor, mt as DialogFooter, n as AlertDescription, nn as PageHeader, nr as TableCell, nt as ContextMenuShortcut, o as AlertDialogContent, on as Pagination, or as TableProps, ot as ContextMenuTrigger, p as AlertDialogTrigger, pn as Progress, pr as TagProps, pt as DialogDescription, q as ContextMenuCheckboxItem, qn as StatCardProps, qr as useToast, qt as InlineCode, r as AlertDialog, rn as PageHeaderProps, rr as TableFooter, rt as ContextMenuSub, s as AlertDialogDescription, sn as PaginationProps, sr as TableRow, st as CopyButton, t as Alert, tn as MetricStripProps, tr as TableCaption, tt as ContextMenuSeparator, u as AlertDialogOverlay, un as PopoverClose, ur as TabsList, ut as Dialog, v as ArtifactPaneProps, vn as SegmentedControlProps, vr as TextShimmer, vt as DialogTitle, w as Button, wn as SelectScrollDownButton, wr as TimeSelectProps, wt as DropdownMenuContent, x as AvatarImage, xn as SelectGroup, xr as TextareaProps, xt as DropZoneProps, y as Avatar, yn as Select, yr as TextShimmerProps, yt as DialogTrigger, z as Chip, zn as SheetTrigger, zr as badgeVariants, zt as FilterField } from "./index-
|
|
1
|
+
import { $ as ContextMenuRadioGroup, $n as Table, $r as TangleKnot, $t as MetricProps, A as Card, An as Sheet, Ar as Toolbar, At as DropdownMenuRadioItem, B as ChipProps, Bn as SidebarDropZone, Br as buttonVariants, Bt as FilterFieldProps, C as BadgeProps, Cn as SelectLabel, Cr as TimeSelect, Ct as DropdownMenuCheckboxItem, D as Calendar, Dn as SelectTrigger, Dr as ToastProvider, Dt as DropdownMenuLabel, E as CATEGORY_TONES, En as SelectSeparator, Er as ToastContainer, Et as DropdownMenuItem, F as CardTitle, Fn as SheetHeader, Fr as TooltipTrigger, Ft as DropdownMenuSubTrigger, G as CollapsibleTrigger, Gn as Slider, Gr as toneFor, Gt as IconTile, H as CodeBlockProps, Hn as Skeleton, Hr as initialsOf, Ht as HeadingVariant, I as CardTitleProps, In as SheetOverlay, Ir as UploadFile, It as DropdownMenuTrigger, J as ContextMenuContent, Jn as StatusPill, Jr as HeadingProps, Jt as InlineCodeProps, K as ContextMenu, Kn as StatCard, Kr as useTheme, Kt as IconTileProps, L as CategoryTone, Ln as SheetPortal, Lr as UploadProgress, Lt as EmptyState, M as CardDescription, Mn as SheetContent, Mr as Tooltip, Mt as DropdownMenuShortcut, N as CardFooter, Nn as SheetDescription, Nr as TooltipContent, Nt as DropdownMenuSub, O as CalendarDate, On as SelectValue, Or as Tone, Ot as DropdownMenuPortal, P as CardHeader, Pn as SheetFooter, Pr as TooltipProvider, Pt as DropdownMenuSubContent, Q as ContextMenuPortal, Qn as TONE_CLASSES, Qr as LogoProps, Qt as Metric, R as Checkbox, Rn as SheetTitle, Rr as UploadProgressProps, Rt as EmptyStateProps, S as Badge, Sn as SelectItem, Sr as ThemeToggle, St as DropdownMenu, T as ButtonProps, Tn as SelectScrollUpButton, Tr as Toast, Tt as DropdownMenuGroup, U as Collapsible, Un as SkeletonCard, Ur as localToday, Ut as HelpText, V as CodeBlock, Vn as SidebarDropZoneProps, Vr as formatCalendarDate, Vt as Heading, W as CollapsibleContent, Wn as SkeletonTable, Wr as parseCalendarDate, Wt as HelpTextProps, X as ContextMenuItem, Xn as StatusTone, Xr as SectionTitleProps, Xt as InputProps, Y as ContextMenuGroup, Yn as StatusPillProps, Yr as SectionTitle, Yt as Input, Z as ContextMenuLabel, Zn as Switch, Zr as Logo, Zt as Label, _ as ArtifactPane, _n as SegmentedControlOption, _r as TerminalLine, _t as DialogPortal, a as AlertDialogCancel, an as PageShellProps, ar as TableHeader, at as ContextMenuSubTrigger, b as AvatarFallback, bn as SelectContent, br as Textarea, bt as DropZone, c as AlertDialogFooter, cn as Popover, cr as Tabs, ct as DatePicker, d as AlertDialogPortal, dn as PopoverContent, dr as TabsTrigger, dt as DialogClose, en as MetricStrip, er as TableBody, et as ContextMenuRadioItem, f as AlertDialogTitle, fn as PopoverTrigger, fr as Tag, ft as DialogContent, g as AlertTone, gn as SegmentedControl, gr as TerminalInput, gt as DialogOverlay, h as AlertTitle, hn as RadioGroupItem, hr as TerminalDisplay, ht as DialogHeader, i as AlertDialogAction, in as PageShell, ir as TableHead, it as ContextMenuSubContent, j as CardContent, jn as SheetClose, jr as ToolbarProps, jt as DropdownMenuSeparator, k as CalendarProps, kn as Separator, kr as ToneClasses, kt as DropdownMenuRadioGroup, l as AlertDialogHeader, ln as PopoverAnchor, lr as TabsContent, lt as DatePickerProps, m as AlertProps, mn as RadioGroup, mr as TerminalCursor, mt as DialogFooter, n as AlertDescription, nn as PageHeader, nr as TableCell, nt as ContextMenuShortcut, o as AlertDialogContent, on as Pagination, or as TableProps, ot as ContextMenuTrigger, p as AlertDialogTrigger, pn as Progress, pr as TagProps, pt as DialogDescription, q as ContextMenuCheckboxItem, qn as StatCardProps, qr as useToast, qt as InlineCode, r as AlertDialog, rn as PageHeaderProps, rr as TableFooter, rt as ContextMenuSub, s as AlertDialogDescription, sn as PaginationProps, sr as TableRow, st as CopyButton, t as Alert, tn as MetricStripProps, tr as TableCaption, tt as ContextMenuSeparator, u as AlertDialogOverlay, un as PopoverClose, ur as TabsList, ut as Dialog, v as ArtifactPaneProps, vn as SegmentedControlProps, vr as TextShimmer, vt as DialogTitle, w as Button, wn as SelectScrollDownButton, wr as TimeSelectProps, wt as DropdownMenuContent, x as AvatarImage, xn as SelectGroup, xr as TextareaProps, xt as DropZoneProps, y as Avatar, yn as Select, yr as TextShimmerProps, yt as DialogTrigger, z as Chip, zn as SheetTrigger, zr as badgeVariants, zt as FilterField } from "./index-N-Ha2lRZ.js";
|
|
2
2
|
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTone, ArtifactPane, type ArtifactPaneProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Button, type ButtonProps, CATEGORY_TONES, Calendar, type CalendarDate, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardTitleProps, type CategoryTone, Checkbox, Chip, type ChipProps, CodeBlock, type CodeBlockProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FilterField, type FilterFieldProps, Heading, type HeadingProps, type HeadingVariant, HelpText, type HelpTextProps, IconTile, type IconTileProps, InlineCode, type InlineCodeProps, Input, type InputProps, Label, Logo, type LogoProps, Metric, type MetricProps, MetricStrip, type MetricStripProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, Pagination, type PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, SectionTitle, type SectionTitleProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, type SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, Slider, StatCard, type StatCardProps, StatusPill, type StatusPillProps, type StatusTone, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TangleKnot, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, ThemeToggle, TimeSelect, type TimeSelectProps, type Toast, ToastContainer, ToastProvider, type Tone, type ToneClasses, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadFile, UploadProgress, type UploadProgressProps, badgeVariants, buttonVariants, formatCalendarDate, initialsOf, localToday, parseCalendarDate, toneFor, useTheme, useToast };
|
package/dist/primitives.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DialogClose, $n as formatCalendarDate, $t as SelectSeparator, A as Chip, An as Tabs, At as Input, B as ContextMenuLabel, Bn as Textarea, Bt as PopoverContent, C as Card, Cn as TableBody, Ct as DropdownMenuTrigger, D as CardHeader, Dn as TableHead, Dt as HelpText, E as CardFooter, En as TableFooter, Et as Heading, F as ContextMenu, Fn as TerminalCursor, Ft as PageShell, G as ContextMenuShortcut, Gn as Toolbar, Gt as SegmentedControl, H as ContextMenuRadioGroup, Hn as TimeSelect, Ht as Progress, I as ContextMenuCheckboxItem, In as TerminalDisplay, It as Pagination, J as ContextMenuSubTrigger, Jn as TooltipProvider, Jt as SelectGroup, K as ContextMenuSub, Kn as Tooltip, Kt as Select, L as ContextMenuContent, Ln as TerminalInput, Lt as Popover, M as Collapsible, Mn as TabsList, Mt as Metric, N as CollapsibleContent, Nn as TabsTrigger, Nt as MetricStrip, O as CardTitle, On as TableHeader, Ot as IconTile, P as CollapsibleTrigger, Pn as Tag, Pt as PageHeader, Q as Dialog, Qn as buttonVariants, Qt as SelectScrollUpButton, R as ContextMenuGroup, Rn as TerminalLine, Rt as PopoverAnchor, S as Calendar, Sn as Table, St as DropdownMenuSubTrigger, T as CardDescription, Tn as TableCell, Tt as FilterField, U as ContextMenuRadioItem, Un as ToastContainer, Ut as RadioGroup, V as ContextMenuPortal, Vn as ThemeToggle, Vt as PopoverTrigger, W as ContextMenuSeparator, Wn as ToastProvider, Wt as RadioGroupItem, X as CopyButton, Xn as UploadProgress, Xt as SelectLabel, Y as ContextMenuTrigger, Yn as TooltipTrigger, Yt as SelectItem, Z as DatePicker, Zn as badgeVariants, Zt as SelectScrollDownButton, _ as AvatarFallback, _n as Slider, _t as DropdownMenuRadioItem, a as AlertDialogCancel, an as SheetContent, ar as useToast, at as DialogPortal, b as Button, bn as Switch, bt as DropdownMenuSub, c as AlertDialogFooter, cn as SheetHeader, cr as TangleKnot, ct as DropZone, d as AlertDialogPortal, dn as SheetTitle, dt as DropdownMenuContent, en as SelectTrigger, er as initialsOf, et as DialogContent, f as AlertDialogTitle, fn as SheetTrigger, ft as DropdownMenuGroup, g as Avatar, gn as SkeletonTable, gt as DropdownMenuRadioGroup, h as ArtifactPane, hn as SkeletonCard, ht as DropdownMenuPortal, i as AlertDialogAction, in as SheetClose, ir as useTheme, it as DialogOverlay, j as CodeBlock, jn as TabsContent, jt as Label, k as Checkbox, kn as TableRow, kt as InlineCode, l as AlertDialogHeader, ln as SheetOverlay, lt as DropdownMenu, m as AlertTitle, mn as Skeleton, mt as DropdownMenuLabel, n as AlertDescription, nn as Separator, nr as parseCalendarDate, nt as DialogFooter, o as AlertDialogContent, on as SheetDescription, or as SectionTitle, ot as DialogTitle, p as AlertDialogTrigger, pn as SidebarDropZone, pt as DropdownMenuItem, q as ContextMenuSubContent, qn as TooltipContent, qt as SelectContent, r as AlertDialog, rn as Sheet, rr as toneFor, rt as DialogHeader, s as AlertDialogDescription, sn as SheetFooter, sr as Logo, st as DialogTrigger, t as Alert, tn as SelectValue, tr as localToday, tt as DialogDescription, u as AlertDialogOverlay, un as SheetPortal, ut as DropdownMenuCheckboxItem, v as AvatarImage, vn as StatCard, vt as DropdownMenuSeparator, w as CardContent, wn as TableCaption, wt as EmptyState, x as CATEGORY_TONES, xn as TONE_CLASSES, xt as DropdownMenuSubContent, y as Badge, yn as StatusPill, yt as DropdownMenuShortcut, z as ContextMenuItem, zn as TextShimmer, zt as PopoverClose } from "./primitives-
|
|
1
|
+
import { $ as DialogClose, $n as formatCalendarDate, $t as SelectSeparator, A as Chip, An as Tabs, At as Input, B as ContextMenuLabel, Bn as Textarea, Bt as PopoverContent, C as Card, Cn as TableBody, Ct as DropdownMenuTrigger, D as CardHeader, Dn as TableHead, Dt as HelpText, E as CardFooter, En as TableFooter, Et as Heading, F as ContextMenu, Fn as TerminalCursor, Ft as PageShell, G as ContextMenuShortcut, Gn as Toolbar, Gt as SegmentedControl, H as ContextMenuRadioGroup, Hn as TimeSelect, Ht as Progress, I as ContextMenuCheckboxItem, In as TerminalDisplay, It as Pagination, J as ContextMenuSubTrigger, Jn as TooltipProvider, Jt as SelectGroup, K as ContextMenuSub, Kn as Tooltip, Kt as Select, L as ContextMenuContent, Ln as TerminalInput, Lt as Popover, M as Collapsible, Mn as TabsList, Mt as Metric, N as CollapsibleContent, Nn as TabsTrigger, Nt as MetricStrip, O as CardTitle, On as TableHeader, Ot as IconTile, P as CollapsibleTrigger, Pn as Tag, Pt as PageHeader, Q as Dialog, Qn as buttonVariants, Qt as SelectScrollUpButton, R as ContextMenuGroup, Rn as TerminalLine, Rt as PopoverAnchor, S as Calendar, Sn as Table, St as DropdownMenuSubTrigger, T as CardDescription, Tn as TableCell, Tt as FilterField, U as ContextMenuRadioItem, Un as ToastContainer, Ut as RadioGroup, V as ContextMenuPortal, Vn as ThemeToggle, Vt as PopoverTrigger, W as ContextMenuSeparator, Wn as ToastProvider, Wt as RadioGroupItem, X as CopyButton, Xn as UploadProgress, Xt as SelectLabel, Y as ContextMenuTrigger, Yn as TooltipTrigger, Yt as SelectItem, Z as DatePicker, Zn as badgeVariants, Zt as SelectScrollDownButton, _ as AvatarFallback, _n as Slider, _t as DropdownMenuRadioItem, a as AlertDialogCancel, an as SheetContent, ar as useToast, at as DialogPortal, b as Button, bn as Switch, bt as DropdownMenuSub, c as AlertDialogFooter, cn as SheetHeader, cr as TangleKnot, ct as DropZone, d as AlertDialogPortal, dn as SheetTitle, dt as DropdownMenuContent, en as SelectTrigger, er as initialsOf, et as DialogContent, f as AlertDialogTitle, fn as SheetTrigger, ft as DropdownMenuGroup, g as Avatar, gn as SkeletonTable, gt as DropdownMenuRadioGroup, h as ArtifactPane, hn as SkeletonCard, ht as DropdownMenuPortal, i as AlertDialogAction, in as SheetClose, ir as useTheme, it as DialogOverlay, j as CodeBlock, jn as TabsContent, jt as Label, k as Checkbox, kn as TableRow, kt as InlineCode, l as AlertDialogHeader, ln as SheetOverlay, lt as DropdownMenu, m as AlertTitle, mn as Skeleton, mt as DropdownMenuLabel, n as AlertDescription, nn as Separator, nr as parseCalendarDate, nt as DialogFooter, o as AlertDialogContent, on as SheetDescription, or as SectionTitle, ot as DialogTitle, p as AlertDialogTrigger, pn as SidebarDropZone, pt as DropdownMenuItem, q as ContextMenuSubContent, qn as TooltipContent, qt as SelectContent, r as AlertDialog, rn as Sheet, rr as toneFor, rt as DialogHeader, s as AlertDialogDescription, sn as SheetFooter, sr as Logo, st as DialogTrigger, t as Alert, tn as SelectValue, tr as localToday, tt as DialogDescription, u as AlertDialogOverlay, un as SheetPortal, ut as DropdownMenuCheckboxItem, v as AvatarImage, vn as StatCard, vt as DropdownMenuSeparator, w as CardContent, wn as TableCaption, wt as EmptyState, x as CATEGORY_TONES, xn as TONE_CLASSES, xt as DropdownMenuSubContent, y as Badge, yn as StatusPill, yt as DropdownMenuShortcut, z as ContextMenuItem, zn as TextShimmer, zt as PopoverClose } from "./primitives-KFAPbGBD.js";
|
|
2
2
|
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArtifactPane, Avatar, AvatarFallback, AvatarImage, Badge, Button, CATEGORY_TONES, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FilterField, Heading, HelpText, IconTile, InlineCode, Input, Label, Logo, Metric, MetricStrip, PageHeader, PageShell, Pagination, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, SectionTitle, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, Skeleton, SkeletonCard, SkeletonTable, Slider, StatCard, StatusPill, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TangleKnot, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, Textarea, ThemeToggle, TimeSelect, ToastContainer, ToastProvider, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadProgress, badgeVariants, buttonVariants, formatCalendarDate, initialsOf, localToday, parseCalendarDate, toneFor, useTheme, useToast };
|
package/dist/styles.css
CHANGED
|
@@ -2565,6 +2565,9 @@
|
|
|
2565
2565
|
.bg-\[var\(--md3-surface-container-lowest\)\] {
|
|
2566
2566
|
background-color: var(--md3-surface-container-lowest);
|
|
2567
2567
|
}
|
|
2568
|
+
.bg-\[var\(--md3-surface-dim\)\] {
|
|
2569
|
+
background-color: var(--md3-surface-dim);
|
|
2570
|
+
}
|
|
2568
2571
|
.bg-\[var\(--run-mix-cancelled\)\] {
|
|
2569
2572
|
background-color: var(--run-mix-cancelled);
|
|
2570
2573
|
}
|
|
@@ -5364,6 +5367,9 @@
|
|
|
5364
5367
|
text-overflow: ellipsis;
|
|
5365
5368
|
white-space: nowrap;
|
|
5366
5369
|
}
|
|
5370
|
+
.sm\:p-2 {
|
|
5371
|
+
padding: calc(var(--spacing) * 2);
|
|
5372
|
+
}
|
|
5367
5373
|
.sm\:p-4 {
|
|
5368
5374
|
padding: calc(var(--spacing) * 4);
|
|
5369
5375
|
}
|
|
@@ -5469,9 +5475,15 @@
|
|
|
5469
5475
|
.lg\:max-w-sm {
|
|
5470
5476
|
max-width: var(--container-sm);
|
|
5471
5477
|
}
|
|
5478
|
+
.lg\:min-w-64 {
|
|
5479
|
+
min-width: calc(var(--spacing) * 64);
|
|
5480
|
+
}
|
|
5472
5481
|
.lg\:flex-1 {
|
|
5473
5482
|
flex: 1;
|
|
5474
5483
|
}
|
|
5484
|
+
.lg\:flex-initial {
|
|
5485
|
+
flex: 0 auto;
|
|
5486
|
+
}
|
|
5475
5487
|
.lg\:grid-cols-2 {
|
|
5476
5488
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
5477
5489
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
2
|
-
import { a as PortsList } from "./dashboard-
|
|
2
|
+
import { a as PortsList } from "./dashboard-BQDUxrn5.js";
|
|
3
3
|
import { n as TerminalView } from "./terminal-DmSUfGha.js";
|
|
4
4
|
import { RichFileTree } from "./files.js";
|
|
5
5
|
import { n as PreviewView } from "./embedded-app-view-CMRPEvon.js";
|
package/dist/workbench.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as computeDiffStats, c as BRAND_PRISM_THEME, d as DiffStatsBadge, f as GitStatusBadge, i as buildUnifiedPatch, l as CodeSurface, m as PillTabs, n as SandboxArtifactPane, o as CodeView, p as PanelHeader, r as DiffView, s as FileBreadcrumb, t as ChangesPane, u as resolveLanguage } from "./workbench-
|
|
1
|
+
import { a as computeDiffStats, c as BRAND_PRISM_THEME, d as DiffStatsBadge, f as GitStatusBadge, i as buildUnifiedPatch, l as CodeSurface, m as PillTabs, n as SandboxArtifactPane, o as CodeView, p as PanelHeader, r as DiffView, s as FileBreadcrumb, t as ChangesPane, u as resolveLanguage } from "./workbench-Bk52r7Th.js";
|
|
2
2
|
import { n as PreviewView, t as EmbeddedAppView } from "./embedded-app-view-CMRPEvon.js";
|
|
3
3
|
export { BRAND_PRISM_THEME, ChangesPane, CodeSurface, CodeView, DiffStatsBadge, DiffView, EmbeddedAppView, FileBreadcrumb, GitStatusBadge, PanelHeader, PillTabs, PreviewView, SandboxArtifactPane, buildUnifiedPatch, computeDiffStats, resolveLanguage };
|
|
@@ -2,7 +2,7 @@ import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
|
2
2
|
import { t as WorkspacePaneHeader } from "./workspace-pane-header-Bg1cCcHX.js";
|
|
3
3
|
import { t as MOTION_CONTROL } from "./motion-DkyBRJb9.js";
|
|
4
4
|
import { i as VaultTree, n as filterFileNodes, t as fileTreeFromPaths } from "./tree-data-DtoCNNBJ.js";
|
|
5
|
-
import { ArtifactPane, ArtifactPane as ArtifactPane$1, Button, EmptyState, Input } from "@tangle-network/ui/primitives";
|
|
5
|
+
import { ArtifactPane, ArtifactPane as ArtifactPane$1, Button, EmptyState, Input, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@tangle-network/ui/primitives";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { Markdown } from "@tangle-network/ui/markdown";
|
|
8
8
|
import { useCallback, useEffect, useId, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
@@ -133,6 +133,22 @@ function HorizontalResizeHandle({ label, onDragStart, onStep, className }) {
|
|
|
133
133
|
})]
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
+
function PaneControlTooltip({ label, hint, children }) {
|
|
137
|
+
return /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
138
|
+
asChild: true,
|
|
139
|
+
children
|
|
140
|
+
}), /* @__PURE__ */ jsxs(TooltipContent, {
|
|
141
|
+
side: "bottom",
|
|
142
|
+
align: "end",
|
|
143
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
144
|
+
className: "block font-medium",
|
|
145
|
+
children: label
|
|
146
|
+
}), hint && /* @__PURE__ */ jsx("span", {
|
|
147
|
+
className: "block opacity-80",
|
|
148
|
+
children: hint
|
|
149
|
+
})]
|
|
150
|
+
})] });
|
|
151
|
+
}
|
|
136
152
|
function MobileDrawer({ side, title, header, onClose, onReturnFocus, theme, density, children }) {
|
|
137
153
|
return /* @__PURE__ */ jsx(DialogPrimitive.Root, {
|
|
138
154
|
open: true,
|
|
@@ -181,7 +197,7 @@ function MobileDrawer({ side, title, header, onClose, onReturnFocus, theme, dens
|
|
|
181
197
|
})] })
|
|
182
198
|
});
|
|
183
199
|
}
|
|
184
|
-
function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter, right, rightHeader, bottom, bottomHeader, defaultLeftOpen = true, defaultRightOpen = false, defaultBottomOpen = false, defaultLeftWidth = 280, defaultRightWidth = 480, defaultBottomHeight = 224, minLeftWidth = 220, maxLeftWidth = 420, minRightWidth = 320, maxRightWidth = 720, minCenterWidth = 400, minBottomHeight = 100, maxBottomHeight = 500, persistenceKey, resizable = true, theme, density = "comfortable", leftLabel = "Left workspace panel", rightLabel = "Right workspace panel", bottomLabel = "Bottom runtime panel", leftOpen: leftOpenProp, onLeftOpenChange, rightOpen: rightOpenProp, onRightOpenChange, keyboardShortcuts = false, leftCollapsedControl, leftContentClassName, rightContentClassName, keepRightMounted = false, collapsedControlsPlacement = "edge", centerHeaderVisibility = "auto", className }) {
|
|
200
|
+
function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter, right, rightHeader, bottom, bottomHeader, defaultLeftOpen = true, defaultRightOpen = false, defaultBottomOpen = false, defaultLeftWidth = 280, defaultRightWidth = 480, defaultBottomHeight = 224, minLeftWidth = 220, maxLeftWidth = 420, minRightWidth = 320, maxRightWidth = 720, minCenterWidth = 400, minBottomHeight = 100, maxBottomHeight = 500, persistenceKey, resizable = true, theme, density = "comfortable", leftLabel = "Left workspace panel", rightLabel = "Right workspace panel", bottomLabel = "Bottom runtime panel", leftOpen: leftOpenProp, onLeftOpenChange, rightOpen: rightOpenProp, onRightOpenChange, keyboardShortcuts = false, leftCollapsedControl, leftContentClassName, rightContentClassName, keepRightMounted = false, collapsedControlsPlacement = "edge", centerHeaderVisibility = "auto", surface = "flat", rightOpenLabel = "Open right panel", rightCloseLabel = "Collapse right panel", rightControlHint, className }) {
|
|
185
201
|
const desktop = useDesktopMediaQuery(DESKTOP_BREAKPOINT);
|
|
186
202
|
const dragStateRef = useRef(null);
|
|
187
203
|
const storedLayout = useMemo(() => persistenceKey ? readStoredLayout(persistenceKey) : null, [persistenceKey]);
|
|
@@ -229,8 +245,11 @@ function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter,
|
|
|
229
245
|
const [leftWidth, setLeftWidth] = useState(clamp(storedLayout?.leftWidth ?? defaultLeftWidth, minLeftWidth, maxLeftWidth));
|
|
230
246
|
const [rightWidth, setRightWidth] = useState(clamp(storedLayout?.rightWidth ?? defaultRightWidth, minRightWidth, maxRightWidth));
|
|
231
247
|
const [bottomHeight, setBottomHeight] = useState(clamp(storedLayout?.bottomHeight ?? defaultBottomHeight, minBottomHeight, maxBottomHeight));
|
|
232
|
-
const
|
|
233
|
-
const
|
|
248
|
+
const inset = surface === "inset";
|
|
249
|
+
const showCenterHeader = inset || (centerHeaderVisibility === "auto" ? Boolean(centerHeader) : Boolean(centerHeader || left || right || bottom));
|
|
250
|
+
const paneControlClassName = inset ? `inline-flex size-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground ${focusRing}` : `rounded-[2px] p-1 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground ${focusRing}`;
|
|
251
|
+
const insetHeaderClassName = inset ? "h-12 bg-transparent px-2" : void 0;
|
|
252
|
+
const reopenClassName = showCenterHeader ? paneControlClassName : `flex h-10 w-8 items-center justify-center rounded-md border border-border bg-card text-muted-foreground shadow-sm transition-colors hover:bg-accent hover:text-foreground ${focusRing}`;
|
|
234
253
|
const leftReopenControl = left && !leftOpen ? leftCollapsedControl ?? /* @__PURE__ */ jsx("button", {
|
|
235
254
|
type: "button",
|
|
236
255
|
"aria-label": "Open left panel",
|
|
@@ -245,12 +264,17 @@ function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter,
|
|
|
245
264
|
className: reopenClassName,
|
|
246
265
|
children: /* @__PURE__ */ jsx(PanelBottomOpen, { className: "h-4 w-4" })
|
|
247
266
|
}) : null;
|
|
248
|
-
const rightReopenControl = right && !rightOpen ? /* @__PURE__ */ jsx(
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
267
|
+
const rightReopenControl = right && !rightOpen ? /* @__PURE__ */ jsx(PaneControlTooltip, {
|
|
268
|
+
label: rightOpenLabel,
|
|
269
|
+
hint: rightControlHint,
|
|
270
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
271
|
+
type: "button",
|
|
272
|
+
"aria-label": rightOpenLabel,
|
|
273
|
+
"aria-expanded": false,
|
|
274
|
+
onClick: () => setRightOpen(true),
|
|
275
|
+
className: reopenClassName,
|
|
276
|
+
children: /* @__PURE__ */ jsx(PanelRightOpen, { className: "h-4 w-4" })
|
|
277
|
+
})
|
|
254
278
|
}) : null;
|
|
255
279
|
const leftReopenRef = useRef(null);
|
|
256
280
|
const rightReopenRef = useRef(null);
|
|
@@ -344,7 +368,7 @@ function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter,
|
|
|
344
368
|
target.focus();
|
|
345
369
|
return;
|
|
346
370
|
}
|
|
347
|
-
shellRef.current?.querySelector(`[
|
|
371
|
+
shellRef.current?.querySelector(`[data-pane-collapse="${side}"]`)?.focus();
|
|
348
372
|
};
|
|
349
373
|
const [shellWidth, setShellWidth] = useState(null);
|
|
350
374
|
useEffect(() => {
|
|
@@ -415,159 +439,174 @@ function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter,
|
|
|
415
439
|
const stepBottomHeight = (delta) => {
|
|
416
440
|
setBottomHeight((current) => clamp(current + delta, minBottomHeight, maxBottomHeight));
|
|
417
441
|
};
|
|
418
|
-
|
|
442
|
+
const centerPane = /* @__PURE__ */ jsxs("main", {
|
|
443
|
+
className: "relative flex min-w-0 flex-1 flex-col",
|
|
444
|
+
children: [
|
|
445
|
+
showCenterHeader && /* @__PURE__ */ jsxs(WorkspacePaneHeader, {
|
|
446
|
+
"data-workspace-header": "center",
|
|
447
|
+
className: cn$1("gap-2", inset && "gap-1", insetHeaderClassName),
|
|
448
|
+
children: [
|
|
449
|
+
leftReopenControl && /* @__PURE__ */ jsx("div", {
|
|
450
|
+
ref: leftReopenRef,
|
|
451
|
+
className: "shrink-0",
|
|
452
|
+
children: leftReopenControl
|
|
453
|
+
}),
|
|
454
|
+
/* @__PURE__ */ jsx("div", {
|
|
455
|
+
className: "min-w-0 flex-1",
|
|
456
|
+
children: centerHeader
|
|
457
|
+
}),
|
|
458
|
+
bottomReopenControl,
|
|
459
|
+
rightReopenControl && /* @__PURE__ */ jsx("div", {
|
|
460
|
+
ref: rightReopenRef,
|
|
461
|
+
className: "shrink-0",
|
|
462
|
+
children: rightReopenControl
|
|
463
|
+
})
|
|
464
|
+
]
|
|
465
|
+
}),
|
|
466
|
+
/* @__PURE__ */ jsxs("div", {
|
|
467
|
+
className: "relative flex min-h-0 flex-1",
|
|
468
|
+
children: [
|
|
469
|
+
!showCenterHeader && leftReopenControl && /* @__PURE__ */ jsx("div", {
|
|
470
|
+
ref: leftReopenRef,
|
|
471
|
+
className: cn$1("shrink-0 pt-2", collapsedControlsPlacement === "overlay" && "absolute left-2 top-2 z-20 pt-0"),
|
|
472
|
+
children: leftReopenControl
|
|
473
|
+
}),
|
|
474
|
+
/* @__PURE__ */ jsx("div", {
|
|
475
|
+
className: "min-w-0 flex-1 overflow-auto",
|
|
476
|
+
children: center
|
|
477
|
+
}),
|
|
478
|
+
!showCenterHeader && (bottomReopenControl || rightReopenControl) && /* @__PURE__ */ jsxs("div", {
|
|
479
|
+
className: cn$1("flex shrink-0 flex-col gap-1 pt-2", collapsedControlsPlacement === "overlay" && "absolute right-2 top-2 z-20 pt-0"),
|
|
480
|
+
children: [bottomReopenControl, rightReopenControl && /* @__PURE__ */ jsx("div", {
|
|
481
|
+
ref: rightReopenRef,
|
|
482
|
+
children: rightReopenControl
|
|
483
|
+
})]
|
|
484
|
+
})
|
|
485
|
+
]
|
|
486
|
+
}),
|
|
487
|
+
bottom && bottomOpen && /* @__PURE__ */ jsxs(Fragment, { children: [resizable && /* @__PURE__ */ jsx(HorizontalResizeHandle, {
|
|
488
|
+
label: "Resize bottom panel",
|
|
489
|
+
onDragStart: startBottomResize,
|
|
490
|
+
onStep: stepBottomHeight
|
|
491
|
+
}), /* @__PURE__ */ jsx("section", {
|
|
492
|
+
"aria-label": bottomLabel,
|
|
493
|
+
className: cn$1("shrink-0 bg-card", !resizable && "border-t border-border"),
|
|
494
|
+
style: { height: `${bottomHeight}px` },
|
|
495
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
496
|
+
className: "flex h-full flex-col",
|
|
497
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
498
|
+
className: "flex items-center justify-between gap-2 border-b border-border bg-background px-3 py-1.5 shrink-0",
|
|
499
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
500
|
+
className: "min-w-0 flex-1",
|
|
501
|
+
children: bottomHeader ?? /* @__PURE__ */ jsx("span", {
|
|
502
|
+
className: "text-[11px] font-semibold uppercase tracking-wider text-muted-foreground",
|
|
503
|
+
children: "Runtime"
|
|
504
|
+
})
|
|
505
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
506
|
+
type: "button",
|
|
507
|
+
"aria-label": "Collapse bottom panel",
|
|
508
|
+
onClick: () => setBottomOpen(false),
|
|
509
|
+
className: `rounded-[2px] p-1 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground ${focusRing}`,
|
|
510
|
+
children: /* @__PURE__ */ jsx(PanelBottomClose, { className: "h-4 w-4" })
|
|
511
|
+
})]
|
|
512
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
513
|
+
className: "min-h-0 flex-1 overflow-auto",
|
|
514
|
+
children: bottom
|
|
515
|
+
})]
|
|
516
|
+
})
|
|
517
|
+
})] }),
|
|
518
|
+
centerFooter && /* @__PURE__ */ jsx("div", {
|
|
519
|
+
className: "shrink-0 border-t border-border bg-card",
|
|
520
|
+
children: centerFooter
|
|
521
|
+
})
|
|
522
|
+
]
|
|
523
|
+
});
|
|
524
|
+
const rightPane = desktop && right && rightOpen && /* @__PURE__ */ jsxs(Fragment, { children: [resizable && /* @__PURE__ */ jsx(ResizeHandle, {
|
|
525
|
+
label: "Resize right panel",
|
|
526
|
+
onDragStart: (clientX) => startResize("right", clientX),
|
|
527
|
+
onStep: stepRightWidth
|
|
528
|
+
}), /* @__PURE__ */ jsxs("aside", {
|
|
529
|
+
"aria-label": rightLabel,
|
|
530
|
+
"data-workspace-pane": "right",
|
|
531
|
+
style: rightStyle,
|
|
532
|
+
className: cn$1("hidden shrink-0 lg:flex lg:flex-col", inset ? "bg-transparent" : "bg-card", !resizable && "border-l border-border"),
|
|
533
|
+
children: [/* @__PURE__ */ jsxs(WorkspacePaneHeader, {
|
|
534
|
+
className: cn$1("justify-between gap-2", insetHeaderClassName),
|
|
535
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
536
|
+
className: "min-w-0 flex-1",
|
|
537
|
+
children: rightHeader ?? /* @__PURE__ */ jsx("span", {
|
|
538
|
+
className: "text-[13px] font-medium text-foreground",
|
|
539
|
+
children: "Artifacts"
|
|
540
|
+
})
|
|
541
|
+
}), /* @__PURE__ */ jsx(PaneControlTooltip, {
|
|
542
|
+
label: rightCloseLabel,
|
|
543
|
+
hint: rightControlHint,
|
|
544
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
545
|
+
type: "button",
|
|
546
|
+
"aria-label": rightCloseLabel,
|
|
547
|
+
"aria-expanded": true,
|
|
548
|
+
"data-pane-collapse": "right",
|
|
549
|
+
onClick: () => {
|
|
550
|
+
setRightOpen(false);
|
|
551
|
+
requestAnimationFrame(() => focusSideControl("right"));
|
|
552
|
+
},
|
|
553
|
+
className: paneControlClassName,
|
|
554
|
+
children: /* @__PURE__ */ jsx(PanelRightClose, { className: "h-4 w-4" })
|
|
555
|
+
})
|
|
556
|
+
})]
|
|
557
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
558
|
+
className: cn$1("min-h-0 flex-1 overflow-auto", rightContentClassName),
|
|
559
|
+
children: rightContent
|
|
560
|
+
})]
|
|
561
|
+
})] });
|
|
562
|
+
return /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs("div", {
|
|
419
563
|
...theme ? {
|
|
420
564
|
"data-sandbox-ui": "true",
|
|
421
565
|
"data-sandbox-theme": theme
|
|
422
566
|
} : {},
|
|
423
567
|
"data-density": density,
|
|
424
|
-
|
|
568
|
+
"data-surface": surface,
|
|
569
|
+
className: cn$1("flex h-screen flex-col overflow-hidden text-foreground font-sans", inset ? "bg-[var(--md3-surface-dim)]" : "bg-background", className),
|
|
425
570
|
children: [
|
|
426
571
|
/* @__PURE__ */ jsxs("div", {
|
|
427
572
|
ref: shellRef,
|
|
428
573
|
className: "flex min-h-0 flex-1",
|
|
429
|
-
children: [
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
})]
|
|
449
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
450
|
-
className: cn$1("min-h-0 flex-1 overflow-auto py-1", leftContentClassName),
|
|
451
|
-
children: left
|
|
452
|
-
})]
|
|
453
|
-
}), resizable && /* @__PURE__ */ jsx(ResizeHandle, {
|
|
454
|
-
label: "Resize left panel",
|
|
455
|
-
onDragStart: (clientX) => startResize("left", clientX),
|
|
456
|
-
onStep: stepLeftWidth
|
|
457
|
-
})] }),
|
|
458
|
-
/* @__PURE__ */ jsxs("main", {
|
|
459
|
-
className: "relative flex min-w-0 flex-1 flex-col",
|
|
460
|
-
children: [
|
|
461
|
-
showCenterHeader && /* @__PURE__ */ jsxs(WorkspacePaneHeader, {
|
|
462
|
-
className: "gap-2",
|
|
463
|
-
children: [
|
|
464
|
-
leftReopenControl && /* @__PURE__ */ jsx("div", {
|
|
465
|
-
ref: leftReopenRef,
|
|
466
|
-
className: "shrink-0",
|
|
467
|
-
children: leftReopenControl
|
|
468
|
-
}),
|
|
469
|
-
/* @__PURE__ */ jsx("div", {
|
|
470
|
-
className: "min-w-0 flex-1",
|
|
471
|
-
children: centerHeader
|
|
472
|
-
}),
|
|
473
|
-
bottomReopenControl,
|
|
474
|
-
rightReopenControl && /* @__PURE__ */ jsx("div", {
|
|
475
|
-
ref: rightReopenRef,
|
|
476
|
-
className: "shrink-0",
|
|
477
|
-
children: rightReopenControl
|
|
478
|
-
})
|
|
479
|
-
]
|
|
480
|
-
}),
|
|
481
|
-
/* @__PURE__ */ jsxs("div", {
|
|
482
|
-
className: "relative flex min-h-0 flex-1",
|
|
483
|
-
children: [
|
|
484
|
-
!showCenterHeader && leftReopenControl && /* @__PURE__ */ jsx("div", {
|
|
485
|
-
ref: leftReopenRef,
|
|
486
|
-
className: cn$1("shrink-0 pt-2", collapsedControlsPlacement === "overlay" && "absolute left-2 top-2 z-20 pt-0"),
|
|
487
|
-
children: leftReopenControl
|
|
488
|
-
}),
|
|
489
|
-
/* @__PURE__ */ jsx("div", {
|
|
490
|
-
className: "min-w-0 flex-1 overflow-auto",
|
|
491
|
-
children: center
|
|
492
|
-
}),
|
|
493
|
-
!showCenterHeader && (bottomReopenControl || rightReopenControl) && /* @__PURE__ */ jsxs("div", {
|
|
494
|
-
className: cn$1("flex shrink-0 flex-col gap-1 pt-2", collapsedControlsPlacement === "overlay" && "absolute right-2 top-2 z-20 pt-0"),
|
|
495
|
-
children: [bottomReopenControl, rightReopenControl && /* @__PURE__ */ jsx("div", {
|
|
496
|
-
ref: rightReopenRef,
|
|
497
|
-
children: rightReopenControl
|
|
498
|
-
})]
|
|
499
|
-
})
|
|
500
|
-
]
|
|
501
|
-
}),
|
|
502
|
-
bottom && bottomOpen && /* @__PURE__ */ jsxs(Fragment, { children: [resizable && /* @__PURE__ */ jsx(HorizontalResizeHandle, {
|
|
503
|
-
label: "Resize bottom panel",
|
|
504
|
-
onDragStart: startBottomResize,
|
|
505
|
-
onStep: stepBottomHeight
|
|
506
|
-
}), /* @__PURE__ */ jsx("section", {
|
|
507
|
-
"aria-label": bottomLabel,
|
|
508
|
-
className: cn$1("shrink-0 bg-card", !resizable && "border-t border-border"),
|
|
509
|
-
style: { height: `${bottomHeight}px` },
|
|
510
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
511
|
-
className: "flex h-full flex-col",
|
|
512
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
513
|
-
className: "flex items-center justify-between gap-2 border-b border-border bg-background px-3 py-1.5 shrink-0",
|
|
514
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
515
|
-
className: "min-w-0 flex-1",
|
|
516
|
-
children: bottomHeader ?? /* @__PURE__ */ jsx("span", {
|
|
517
|
-
className: "text-[11px] font-semibold uppercase tracking-wider text-muted-foreground",
|
|
518
|
-
children: "Runtime"
|
|
519
|
-
})
|
|
520
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
521
|
-
type: "button",
|
|
522
|
-
"aria-label": "Collapse bottom panel",
|
|
523
|
-
onClick: () => setBottomOpen(false),
|
|
524
|
-
className: `rounded-[2px] p-1 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground ${focusRing}`,
|
|
525
|
-
children: /* @__PURE__ */ jsx(PanelBottomClose, { className: "h-4 w-4" })
|
|
526
|
-
})]
|
|
527
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
528
|
-
className: "min-h-0 flex-1 overflow-auto",
|
|
529
|
-
children: bottom
|
|
530
|
-
})]
|
|
531
|
-
})
|
|
532
|
-
})] }),
|
|
533
|
-
centerFooter && /* @__PURE__ */ jsx("div", {
|
|
534
|
-
className: "shrink-0 border-t border-border bg-card",
|
|
535
|
-
children: centerFooter
|
|
536
|
-
})
|
|
537
|
-
]
|
|
538
|
-
}),
|
|
539
|
-
desktop && right && rightOpen && /* @__PURE__ */ jsxs(Fragment, { children: [resizable && /* @__PURE__ */ jsx(ResizeHandle, {
|
|
540
|
-
label: "Resize right panel",
|
|
541
|
-
onDragStart: (clientX) => startResize("right", clientX),
|
|
542
|
-
onStep: stepRightWidth
|
|
543
|
-
}), /* @__PURE__ */ jsxs("aside", {
|
|
544
|
-
"aria-label": rightLabel,
|
|
545
|
-
style: rightStyle,
|
|
546
|
-
className: cn$1("hidden shrink-0 bg-card lg:flex lg:flex-col", !resizable && "border-l border-border"),
|
|
547
|
-
children: [/* @__PURE__ */ jsxs(WorkspacePaneHeader, {
|
|
548
|
-
className: "justify-between gap-2",
|
|
549
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
550
|
-
className: "min-w-0 flex-1",
|
|
551
|
-
children: rightHeader ?? /* @__PURE__ */ jsx("span", {
|
|
552
|
-
className: "text-[13px] font-medium text-foreground",
|
|
553
|
-
children: "Artifacts"
|
|
554
|
-
})
|
|
555
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
556
|
-
type: "button",
|
|
557
|
-
"aria-label": "Collapse right panel",
|
|
558
|
-
onClick: () => {
|
|
559
|
-
setRightOpen(false);
|
|
560
|
-
requestAnimationFrame(() => focusSideControl("right"));
|
|
561
|
-
},
|
|
562
|
-
className: `rounded-[2px] p-1 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground ${focusRing}`,
|
|
563
|
-
children: /* @__PURE__ */ jsx(PanelRightClose, { className: "h-4 w-4" })
|
|
564
|
-
})]
|
|
565
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
566
|
-
className: cn$1("min-h-0 flex-1 overflow-auto", rightContentClassName),
|
|
567
|
-
children: rightContent
|
|
574
|
+
children: [desktop && left && leftOpen && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("aside", {
|
|
575
|
+
"aria-label": leftLabel,
|
|
576
|
+
style: leftStyle,
|
|
577
|
+
className: cn$1("hidden shrink-0 bg-card lg:flex lg:flex-col", !resizable && "border-r border-border"),
|
|
578
|
+
children: [leftHeader && /* @__PURE__ */ jsxs(WorkspacePaneHeader, {
|
|
579
|
+
className: "justify-between gap-2",
|
|
580
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
581
|
+
className: "min-w-0 flex-1",
|
|
582
|
+
children: leftHeader
|
|
583
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
584
|
+
type: "button",
|
|
585
|
+
"aria-label": "Collapse left panel",
|
|
586
|
+
"data-pane-collapse": "left",
|
|
587
|
+
onClick: () => {
|
|
588
|
+
setLeftOpen(false);
|
|
589
|
+
requestAnimationFrame(() => focusSideControl("left"));
|
|
590
|
+
},
|
|
591
|
+
className: paneControlClassName,
|
|
592
|
+
children: /* @__PURE__ */ jsx(PanelLeftClose, { className: "h-4 w-4" })
|
|
568
593
|
})]
|
|
569
|
-
})
|
|
570
|
-
|
|
594
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
595
|
+
className: cn$1("min-h-0 flex-1 overflow-auto py-1", leftContentClassName),
|
|
596
|
+
children: left
|
|
597
|
+
})]
|
|
598
|
+
}), resizable && /* @__PURE__ */ jsx(ResizeHandle, {
|
|
599
|
+
label: "Resize left panel",
|
|
600
|
+
onDragStart: (clientX) => startResize("left", clientX),
|
|
601
|
+
onStep: stepLeftWidth
|
|
602
|
+
})] }), inset ? /* @__PURE__ */ jsx("div", {
|
|
603
|
+
className: "flex min-h-0 min-w-0 flex-1 p-1.5 sm:p-2",
|
|
604
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
605
|
+
"data-workspace-surface": true,
|
|
606
|
+
className: "flex min-h-0 min-w-0 flex-1 overflow-hidden rounded-[var(--radius-lg)] border border-[var(--md3-outline-variant)] bg-background shadow-[var(--shadow-card)]",
|
|
607
|
+
children: [centerPane, rightPane]
|
|
608
|
+
})
|
|
609
|
+
}) : /* @__PURE__ */ jsxs(Fragment, { children: [centerPane, rightPane] })]
|
|
571
610
|
}),
|
|
572
611
|
keepRightMounted && /* @__PURE__ */ jsx("div", {
|
|
573
612
|
hidden: true,
|
|
@@ -596,7 +635,7 @@ function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter,
|
|
|
596
635
|
children: rightContent
|
|
597
636
|
})
|
|
598
637
|
]
|
|
599
|
-
});
|
|
638
|
+
}) });
|
|
600
639
|
}
|
|
601
640
|
//#endregion
|
|
602
641
|
//#region src/workspace/directory-pane.tsx
|
package/dist/workspace.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as StatusBar, A as createShellShouldRevalidate, B as SessionSidebarVariant, C as SandboxWorkbenchLayoutOptions, D as SandboxWorkbenchSessionProps, E as SandboxWorkbenchProps, F as SessionSidebarFilter, G as dispatchSessionCreated, H as SessionCreatedDetail, I as SessionSidebarGroupBy, J as RuntimePaneProps, K as useOptimisticSessionItems, L as SessionSidebarItem, M as formatRelativeAge, N as SessionSidebar, O as ShellShouldRevalidateArgs, P as SessionSidebarBadge, Q as ContextBadge, R as SessionSidebarLink, S as SandboxWorkbenchFileArtifact, T as SandboxWorkbenchOpenUIArtifact, U as SessionOptimisticController, V as SESSION_CREATED_EVENT, W as UseOptimisticSessionItemsOptions, X as TerminalPanel, Y as TerminalLine, Z as TerminalProps, _ as TaskBoardItem, a as WorkspaceFilesPane, at as DirectoryPaneProps, b as SandboxWorkbenchArtifact, c as ApprovalConfidenceStat, ct as WorkspaceLayout, d as ApprovalQueueProps, et as StatusBarProps, f as CalendarEvent, g as TaskBoardColumn, h as TaskBoard, i as WorkspaceArtifactViewProps, it as DirectoryPane, j as shellShouldRevalidate, k as ShellShouldRevalidateOptions, l as ApprovalItem, lt as WorkspaceLayoutProps, m as CalendarViewProps, n as ArtifactPaneProps, nt as StatusBanner, o as WorkspaceFilesPaneProps, ot as WorkspacePaneHeader, p as CalendarView, q as RuntimePane, r as WorkspaceArtifactView, rt as StatusBannerProps, s as WorkspaceFilesPreview, st as WorkspacePaneHeaderProps, t as ArtifactPane, tt as BannerType, u as ApprovalQueue, v as TaskBoardProps, w as SandboxWorkbenchMarkdownArtifact, x as SandboxWorkbenchCustomArtifact, y as SandboxWorkbench, z as SessionSidebarProps } from "./index-
|
|
1
|
+
import { $ as StatusBar, A as createShellShouldRevalidate, B as SessionSidebarVariant, C as SandboxWorkbenchLayoutOptions, D as SandboxWorkbenchSessionProps, E as SandboxWorkbenchProps, F as SessionSidebarFilter, G as dispatchSessionCreated, H as SessionCreatedDetail, I as SessionSidebarGroupBy, J as RuntimePaneProps, K as useOptimisticSessionItems, L as SessionSidebarItem, M as formatRelativeAge, N as SessionSidebar, O as ShellShouldRevalidateArgs, P as SessionSidebarBadge, Q as ContextBadge, R as SessionSidebarLink, S as SandboxWorkbenchFileArtifact, T as SandboxWorkbenchOpenUIArtifact, U as SessionOptimisticController, V as SESSION_CREATED_EVENT, W as UseOptimisticSessionItemsOptions, X as TerminalPanel, Y as TerminalLine, Z as TerminalProps, _ as TaskBoardItem, a as WorkspaceFilesPane, at as DirectoryPaneProps, b as SandboxWorkbenchArtifact, c as ApprovalConfidenceStat, ct as WorkspaceLayout, d as ApprovalQueueProps, et as StatusBarProps, f as CalendarEvent, g as TaskBoardColumn, h as TaskBoard, i as WorkspaceArtifactViewProps, it as DirectoryPane, j as shellShouldRevalidate, k as ShellShouldRevalidateOptions, l as ApprovalItem, lt as WorkspaceLayoutProps, m as CalendarViewProps, n as ArtifactPaneProps, nt as StatusBanner, o as WorkspaceFilesPaneProps, ot as WorkspacePaneHeader, p as CalendarView, q as RuntimePane, r as WorkspaceArtifactView, rt as StatusBannerProps, s as WorkspaceFilesPreview, st as WorkspacePaneHeaderProps, t as ArtifactPane, tt as BannerType, u as ApprovalQueue, v as TaskBoardProps, w as SandboxWorkbenchMarkdownArtifact, x as SandboxWorkbenchCustomArtifact, y as SandboxWorkbench, z as SessionSidebarProps } from "./index-BYFbmk6A.js";
|
|
2
2
|
export { type ApprovalConfidenceStat, type ApprovalItem, ApprovalQueue, type ApprovalQueueProps, ArtifactPane, type ArtifactPaneProps, type BannerType, type CalendarEvent, CalendarView, type CalendarViewProps, type ContextBadge, DirectoryPane, type DirectoryPaneProps, RuntimePane, type RuntimePaneProps, SESSION_CREATED_EVENT, SandboxWorkbench, type SandboxWorkbenchArtifact, type SandboxWorkbenchCustomArtifact, type SandboxWorkbenchFileArtifact, type SandboxWorkbenchLayoutOptions, type SandboxWorkbenchMarkdownArtifact, type SandboxWorkbenchOpenUIArtifact, type SandboxWorkbenchProps, type SandboxWorkbenchSessionProps, type SessionCreatedDetail, type SessionOptimisticController, SessionSidebar, type SessionSidebarBadge, type SessionSidebarFilter, type SessionSidebarGroupBy, type SessionSidebarItem, type SessionSidebarLink, type SessionSidebarProps, type SessionSidebarVariant, type ShellShouldRevalidateArgs, type ShellShouldRevalidateOptions, StatusBanner, type StatusBannerProps, StatusBar, type StatusBarProps, TaskBoard, type TaskBoardColumn, type TaskBoardItem, type TaskBoardProps, type TerminalLine, TerminalPanel, type TerminalProps, type UseOptimisticSessionItemsOptions, WorkspaceArtifactView, type WorkspaceArtifactViewProps, WorkspaceFilesPane, type WorkspaceFilesPaneProps, type WorkspaceFilesPreview, WorkspaceLayout, type WorkspaceLayoutProps, WorkspacePaneHeader, type WorkspacePaneHeaderProps, createShellShouldRevalidate, dispatchSessionCreated, formatRelativeAge, shellShouldRevalidate, useOptimisticSessionItems };
|
package/dist/workspace.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as WorkspacePaneHeader } from "./workspace-pane-header-Bg1cCcHX.js";
|
|
2
|
-
import { _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, y as DirectoryPane } from "./workspace-
|
|
2
|
+
import { _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, y as DirectoryPane } from "./workspace-BeGvmYS6.js";
|
|
3
3
|
export { ApprovalQueue, ArtifactPane, CalendarView, DirectoryPane, RuntimePane, SESSION_CREATED_EVENT, SandboxWorkbench, SessionSidebar, StatusBanner, StatusBar, TaskBoard, TerminalPanel, WorkspaceArtifactView, WorkspaceFilesPane, WorkspaceLayout, WorkspacePaneHeader, createShellShouldRevalidate, dispatchSessionCreated, formatRelativeAge, shellShouldRevalidate, useOptimisticSessionItems };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.132.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
6
6
|
"repository": {
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
135
135
|
"@tangle-network/agent-interface": "^1.0.0 || ^2.0.0 || ^3.0.0",
|
|
136
136
|
"@tangle-network/brand": "^1.19.3",
|
|
137
|
-
"@tangle-network/ui": "^11.30.
|
|
137
|
+
"@tangle-network/ui": "^11.30.2",
|
|
138
138
|
"@tanstack/react-query": "^5.0.0",
|
|
139
139
|
"@tiptap/core": ">=3.20.4 <4.0.0",
|
|
140
140
|
"@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"@tailwindcss/postcss": "^4.3.3",
|
|
225
225
|
"@tangle-network/agent-interface": "3.0.0",
|
|
226
226
|
"@tangle-network/brand": "1.19.3",
|
|
227
|
-
"@tangle-network/ui": "11.30.
|
|
227
|
+
"@tangle-network/ui": "11.30.2",
|
|
228
228
|
"@tanstack/react-query": "^5.104.0",
|
|
229
229
|
"@testing-library/dom": "^10.4.2",
|
|
230
230
|
"@testing-library/jest-dom": "^7.0.1",
|