@tangle-network/sandbox-ui 0.113.4 → 0.113.6
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 -1
- package/dist/chat.js +1 -1
- package/dist/{chunk-JZCRK2BJ.js → chunk-3KBNPQQF.js} +117 -44
- package/dist/chunk-ANSC5AFC.js +314 -0
- package/dist/{chunk-LDAKIKTV.js → chunk-DYXXYGS4.js} +299 -166
- package/dist/{chunk-EKYA6AFY.js → chunk-TADGS4Q7.js} +15 -7
- package/dist/{chunk-XFEJ66AG.js → chunk-UCQNOUN3.js} +165 -68
- package/dist/{chunk-PZVUIUUW.js → chunk-ULPLRBMF.js} +8 -2
- package/dist/{chunk-TK46XFLM.js → chunk-X3YXP7FG.js} +10 -0
- package/dist/connectors.js +2 -1
- package/dist/dashboard.d.ts +8 -8
- package/dist/dashboard.js +2 -2
- package/dist/files.d.ts +1 -1
- package/dist/files.js +9 -3
- package/dist/globals.css +446 -147
- package/dist/index.d.ts +5 -4
- package/dist/index.js +26 -8
- package/dist/integrations.js +10 -7
- package/dist/logo-DiAjq759.d.ts +15 -0
- package/dist/pages.js +69 -46
- package/dist/primitives.d.ts +3 -2
- package/dist/primitives.js +3 -1
- package/dist/styles.css +446 -147
- package/dist/tokens.css +37 -0
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +11 -1
- package/dist/workbench.d.ts +6 -3
- package/dist/workbench.js +4 -4
- package/dist/workspace.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-2XPJ2XF7.js +0 -345
- package/dist/logo-CaIvk3J1.d.ts +0 -18
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ArtifactPane, ArtifactPaneProps, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CodeBlock, CodeBlockProps, CopyButton, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateProps, FilterField, FilterFieldProps, InlineCode, InlineCodeProps, Input, InputProps, Label, Metric, MetricProps, MetricStrip, MetricStripProps, Progress, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarDropZone, SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, StatCard, StatCardProps, StatusPill, StatusPillProps, StatusTone, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TerminalDisplay, TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine, Textarea, TextareaProps, ThemeToggle, Toast, ToastContainer, ToastProvider, Toolbar, ToolbarProps, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, useTheme, useToast } from '@tangle-network/ui/primitives';
|
|
2
|
-
export { L as Logo, a as LogoProps
|
|
1
|
+
export { ArtifactPane, ArtifactPaneProps, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CodeBlock, CodeBlockProps, CopyButton, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateProps, FilterField, FilterFieldProps, InlineCode, InlineCodeProps, Input, InputProps, Label, Metric, MetricProps, MetricStrip, MetricStripProps, Progress, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarDropZone, SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, StatCard, StatCardProps, StatusPill, StatusPillProps, StatusTone, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TerminalDisplay, TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine, TextShimmer, TextShimmerProps, Textarea, TextareaProps, ThemeToggle, Toast, ToastContainer, ToastProvider, Toolbar, ToolbarProps, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, useTheme, useToast } from '@tangle-network/ui/primitives';
|
|
2
|
+
export { L as Logo, a as LogoProps } from './logo-DiAjq759.js';
|
|
3
3
|
export { CodeBlock as CodeBlockDisplay, Markdown, MarkdownProps } from '@tangle-network/ui/markdown';
|
|
4
4
|
export { AgentWorkbench, ApprovalConfidenceStat, ApprovalItem, ApprovalQueue, ApprovalQueueProps, AuditCheck, AuditResults, AuditResultsProps, BannerType, CalendarEvent, CalendarView, CalendarViewProps, ContextBadge, DirectoryPane, DirectoryPaneProps, FormAudit, RuntimePane, RuntimePaneProps, SESSION_CREATED_EVENT, SandboxWorkbench, SandboxWorkbenchArtifact, SandboxWorkbenchCustomArtifact, SandboxWorkbenchFileArtifact, SandboxWorkbenchLayoutOptions, SandboxWorkbenchMarkdownArtifact, SandboxWorkbenchOpenUIArtifact, SandboxWorkbenchProps, SandboxWorkbenchSessionProps, SessionActivityMonitor, SessionActivityMonitorProps, SessionCreatedDetail, SessionOptimisticController, SessionSidebar, SessionSidebarBadge, SessionSidebarFilter, SessionSidebarGroupBy, SessionSidebarItem, SessionSidebarLink, SessionSidebarProps, SessionSidebarVariant, ShellShouldRevalidateArgs, ShellShouldRevalidateOptions, StatusBanner, StatusBannerProps, StatusBar, StatusBarProps, TaskBoard, TaskBoardColumn, TaskBoardItem, TaskBoardProps, TerminalLine, TerminalPanel, TerminalProps, UseOptimisticSessionItemsOptions, WorkspaceLayout, WorkspaceLayoutProps, WorkspacePaneHeader, WorkspacePaneHeaderProps, createShellShouldRevalidate, dispatchSessionCreated, formatRelativeAge, shellShouldRevalidate, useOptimisticSessionItems } from './workspace.js';
|
|
5
5
|
export { ArtifactView, BRAND_PRISM_THEME, ChangedFile, ChangesPane, ChangesPaneProps, CodeSurface, CodeSurfaceProps, CodeView, CodeViewProps, DiffStats, DiffStatsBadge, DiffView, DiffViewProps, FileBreadcrumb, FileBreadcrumbProps, GitStatusBadge, PanelHeader, PanelHeaderProps, PillTabItem, PillTabs, PillTabsProps, PreviewView, PreviewViewProps, SandboxArtifact, SandboxArtifactPane, SandboxArtifactPaneProps, SandboxArtifactTerminal, buildUnifiedPatch, computeDiffStats, resolveLanguage } from './workbench.js';
|
|
@@ -9,7 +9,7 @@ export { AgentProfileCapability, AgentProfileDraft, AgentProfileOption, AgentPro
|
|
|
9
9
|
export { HarnessType, modelProvider, snapHarnessToModel } from '@tangle-network/agent-interface';
|
|
10
10
|
export { ExpandedToolDetail, ExpandedToolDetailProps, FeedSegment, InlineThinkingItem, InlineThinkingItemProps, InlineToolItem, InlineToolItemProps, LiveDuration, RunGroup, RunGroupProps, RunRowShell, RunRowShellProps, RunRowStatus, RunRowStatusDot, ToolCallData, ToolCallFeed, ToolCallFeedProps, ToolCallStatus, ToolCallType, parseToolEvent } from '@tangle-network/ui/run';
|
|
11
11
|
export { CommandPreview, CommandPreviewProps, DiffPreview, DiffPreviewProps, GlobResultsPreview, GlobResultsPreviewProps, GrepResultsPreview, GrepResultsPreviewProps, QuestionPreview, QuestionPreviewProps, WebSearchPreview, WebSearchPreviewProps, WriteFilePreview, WriteFilePreviewProps } from '@tangle-network/ui/tool-previews';
|
|
12
|
-
export { FileArtifactPane, FileArtifactPaneProps, FileFormat, FileNode, FilePreview, FilePreviewProps, FileTabData, FileTabs, FileTabsProps, FileTree, FileTreeProps, FileTreeVisibilityOptions, RichFileTree, RichFileTreeGitEntry, RichFileTreeGitStatus, RichFileTreeProps, RichFileTreeThemeVars, detectFileFormat, fileExtension, filterFileTree, getCodeLanguage, getFormatLabel, getSyntaxLanguage } from '@tangle-network/ui/files';
|
|
12
|
+
export { CSV_PREVIEW_ROW_LIMIT, FileArtifactPane, FileArtifactPaneProps, FileFormat, FileNode, FilePreview, FilePreviewKind, FilePreviewProps, FileTabData, FileTabs, FileTabsProps, FileTree, FileTreeProps, FileTreeVisibilityOptions, RichFileTree, RichFileTreeGitEntry, RichFileTreeGitStatus, RichFileTreeProps, RichFileTreeThemeVars, detectFileFormat, fileExtension, filterFileTree, getCodeLanguage, getFormatLabel, getSyntaxLanguage, parseCsv, resolveFilePreviewKind } from '@tangle-network/ui/files';
|
|
13
13
|
export { ActivityFeed, ActivityFeedProps, ActivityItem, AppearanceController, Backend, BackendConfig, BackendConfigProps, BackendSelector, BackendSelectorProps, BackendStatusData, ClusterStatusBar, ClusterStatusBarProps, ClusterStatusItem, CreditBalance, CreditBalanceProps, DashboardLayout, DashboardLayoutProps, DashboardProfile, DashboardSnapshotInfo, DashboardUser, GitCommitData, GitPanel, GitPanelProps, GitStatusData, HARNESS_BRAND, HARNESS_OPTIONS, HarnessBrand, HarnessLogo, HarnessLogoProps, HarnessPicker, HarnessPickerProps, INSUFFICIENT_BALANCE_CODE, InfoPanel, InfoPanelProps, InsufficientBalance, Invoice, InvoiceTable, InvoiceTableProps, McpServer, MetricAreaChart, MetricAreaChartProps, MetricChartPoint, MetricChartTone, NavItem, NetworkConfig, NetworkConfigData, NetworkConfigProps, NewSandboxCard, NewSandboxCardProps, OutOfCreditsModal, OutOfCreditsModalProps, PlanCardData, PlanCards, PlanCardsProps, PlanFeature, ProcessInfo, ProcessList, ProcessListProps, ProductVariant, ProfileAvatar, ProfileAvatarProps, ProfileComparison, ProfileComparisonProps, ProfileSelector, ProfileSelectorProps, PromoBanner, PromoBannerProps, RailButton, RailButtonProps, RailCollapseToggle, RailCollapseToggleProps, RailExpandable, RailExpandableProps, RailExpandableSubItem, RailFlyout, RailFlyoutProps, RailHeader, RailHeaderProps, RailModeButton, RailModeButtonProps, RailSeparator, RailSeparatorProps, RailThemeToggle, RailTooltip, RailTooltipProps, ResourceMeter, ResourceMeterProps, ResourceSnapshot, ResourceSnapshotItem, ResourceSnapshotProps, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxCard, SandboxCardData, SandboxCardProps, SandboxStatus, SandboxTable, SandboxTableProps, Sidebar, SidebarContent, SidebarContentProps, SidebarLayout, SidebarLayoutFlyoutItem, SidebarLayoutNavItem, SidebarLayoutProps, SidebarPanel, SidebarPanelContent, SidebarPanelContentProps, SidebarPanelHeader, SidebarPanelHeaderProps, SidebarPanelProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailFooter, SidebarRailFooterProps, SidebarRailHeader, SidebarRailHeaderProps, SidebarRailNav, SidebarRailNavProps, SidebarRailProps, SidebarUser, SnapshotList, SnapshotListProps, SystemLogsViewer, SystemLogsViewerProps, TeamRole, ThemeMode, UsageSummary, UsageSummaryData, UsageSummaryProps, Variant, VariantList, VariantListProps, VariantOutcome, VariantStatus, canAdminSandbox, chatCapableHarnesses, parseInsufficientBalance, useSidebar } from './dashboard.js';
|
|
14
14
|
export { M as ModelBrandIdentity, a as ModelBrandStack, b as ModelInfo, c as canonicalModelId, m as modelBrandFor } from './model-brand-BNnaUKKZ.js';
|
|
15
15
|
export { B as BillingBalance, a as BillingDashboard, b as BillingDashboardProps, c as BillingSubscription, d as BillingUsage, P as PricingPage, e as PricingPageProps, f as PricingTier, T as TemplateCard, g as TemplateCardData, h as TemplateCardProps, U as UsageChart, i as UsageChartProps, j as UsageDataPoint, k as formatPrice } from './template-card-Bn-Bw5xC.js';
|
|
@@ -23,7 +23,8 @@ export { ActiveProjectActivity, ActiveSessionActivityOptions, ActiveSessionConne
|
|
|
23
23
|
export { ChatSession, connectSession, disconnectSession, sessionAtom } from './stores.js';
|
|
24
24
|
export { AgentBranding, CustomToolRenderer, DisplayVariant, FinalTextPart, GroupedMessage, MessageRun, MessageUser, ReasoningPart, Run, RunStats, SessionMessage, SessionPart, TextPart, ToolCategory, ToolDisplayMetadata, ToolPart, ToolState, ToolStatus, ToolTime } from '@tangle-network/ui/types';
|
|
25
25
|
export { Session } from './types.js';
|
|
26
|
-
export { TOOL_CATEGORY_ICONS, cn, copyText, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, timeAgo, truncateText } from '@tangle-network/ui/utils';
|
|
26
|
+
export { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, timeAgo, truncateText } from '@tangle-network/ui/utils';
|
|
27
|
+
export { TangleKnot } from '@tangle-network/brand';
|
|
27
28
|
import 'react';
|
|
28
29
|
import 'lucide-react';
|
|
29
30
|
import '@radix-ui/react-dropdown-menu';
|
package/dist/index.js
CHANGED
|
@@ -67,6 +67,11 @@ import {
|
|
|
67
67
|
TOOL_CATEGORY_ICONS,
|
|
68
68
|
cn,
|
|
69
69
|
copyText,
|
|
70
|
+
focusField,
|
|
71
|
+
focusFieldInvalid,
|
|
72
|
+
focusFieldWithin,
|
|
73
|
+
focusRing,
|
|
74
|
+
focusRingInset,
|
|
70
75
|
formatBytes,
|
|
71
76
|
formatDuration,
|
|
72
77
|
formatUptime,
|
|
@@ -75,7 +80,7 @@ import {
|
|
|
75
80
|
getToolErrorText,
|
|
76
81
|
timeAgo,
|
|
77
82
|
truncateText
|
|
78
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-X3YXP7FG.js";
|
|
79
84
|
import {
|
|
80
85
|
AuthHeader,
|
|
81
86
|
GitHubLoginButton,
|
|
@@ -98,7 +103,7 @@ import {
|
|
|
98
103
|
createFetchTransport,
|
|
99
104
|
modelProvider,
|
|
100
105
|
snapHarnessToModel
|
|
101
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-TADGS4Q7.js";
|
|
102
107
|
import {
|
|
103
108
|
ExpandedToolDetail,
|
|
104
109
|
InlineThinkingItem,
|
|
@@ -133,7 +138,7 @@ import {
|
|
|
133
138
|
formatRelativeAge,
|
|
134
139
|
shellShouldRevalidate,
|
|
135
140
|
useOptimisticSessionItems
|
|
136
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-3KBNPQQF.js";
|
|
137
142
|
import {
|
|
138
143
|
BRAND_PRISM_THEME,
|
|
139
144
|
ChangesPane,
|
|
@@ -150,8 +155,9 @@ import {
|
|
|
150
155
|
buildUnifiedPatch,
|
|
151
156
|
computeDiffStats,
|
|
152
157
|
resolveLanguage
|
|
153
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-UCQNOUN3.js";
|
|
154
159
|
import {
|
|
160
|
+
CSV_PREVIEW_ROW_LIMIT,
|
|
155
161
|
FileArtifactPane,
|
|
156
162
|
FilePreview,
|
|
157
163
|
FileTabs,
|
|
@@ -162,8 +168,10 @@ import {
|
|
|
162
168
|
filterFileTree,
|
|
163
169
|
getCodeLanguage,
|
|
164
170
|
getFormatLabel,
|
|
165
|
-
getSyntaxLanguage
|
|
166
|
-
|
|
171
|
+
getSyntaxLanguage,
|
|
172
|
+
parseCsv,
|
|
173
|
+
resolveFilePreviewKind
|
|
174
|
+
} from "./chunk-ULPLRBMF.js";
|
|
167
175
|
import {
|
|
168
176
|
ActivityFeed,
|
|
169
177
|
BackendConfig,
|
|
@@ -226,7 +234,7 @@ import {
|
|
|
226
234
|
chatCapableHarnesses,
|
|
227
235
|
parseInsufficientBalance,
|
|
228
236
|
useSidebar
|
|
229
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-DYXXYGS4.js";
|
|
230
238
|
import {
|
|
231
239
|
BillingDashboard,
|
|
232
240
|
InfoPanel,
|
|
@@ -320,6 +328,7 @@ import {
|
|
|
320
328
|
TabsTrigger,
|
|
321
329
|
TangleKnot,
|
|
322
330
|
TerminalDisplay,
|
|
331
|
+
TextShimmer,
|
|
323
332
|
Textarea,
|
|
324
333
|
ThemeToggle,
|
|
325
334
|
ToastContainer,
|
|
@@ -330,7 +339,7 @@ import {
|
|
|
330
339
|
buttonVariants,
|
|
331
340
|
useTheme,
|
|
332
341
|
useToast
|
|
333
|
-
} from "./chunk-
|
|
342
|
+
} from "./chunk-ANSC5AFC.js";
|
|
334
343
|
import {
|
|
335
344
|
ModelBrandStack,
|
|
336
345
|
canonicalModelId,
|
|
@@ -379,6 +388,7 @@ export {
|
|
|
379
388
|
Badge,
|
|
380
389
|
BillingDashboard,
|
|
381
390
|
Button,
|
|
391
|
+
CSV_PREVIEW_ROW_LIMIT,
|
|
382
392
|
CalendarView,
|
|
383
393
|
Card,
|
|
384
394
|
CardContent,
|
|
@@ -566,6 +576,7 @@ export {
|
|
|
566
576
|
TerminalInput as TerminalDisplayInput,
|
|
567
577
|
TerminalLine as TerminalDisplayLine,
|
|
568
578
|
TerminalPanel,
|
|
579
|
+
TextShimmer,
|
|
569
580
|
Textarea,
|
|
570
581
|
ThemeToggle,
|
|
571
582
|
ThinkingIndicator,
|
|
@@ -606,6 +617,11 @@ export {
|
|
|
606
617
|
dispatchSessionCreated,
|
|
607
618
|
fileExtension,
|
|
608
619
|
filterFileTree,
|
|
620
|
+
focusField,
|
|
621
|
+
focusFieldInvalid,
|
|
622
|
+
focusFieldWithin,
|
|
623
|
+
focusRing,
|
|
624
|
+
focusRingInset,
|
|
609
625
|
formatBytes,
|
|
610
626
|
formatDuration,
|
|
611
627
|
formatPrice,
|
|
@@ -629,11 +645,13 @@ export {
|
|
|
629
645
|
messagesAtom,
|
|
630
646
|
modelBrandFor,
|
|
631
647
|
modelProvider,
|
|
648
|
+
parseCsv,
|
|
632
649
|
parseInsufficientBalance,
|
|
633
650
|
parseToolEvent,
|
|
634
651
|
partMapAtom,
|
|
635
652
|
registerActiveSession,
|
|
636
653
|
resetActiveSessions,
|
|
654
|
+
resolveFilePreviewKind,
|
|
637
655
|
resolveLanguage,
|
|
638
656
|
sessionAtom,
|
|
639
657
|
setActiveSessionAttention,
|
package/dist/integrations.js
CHANGED
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
} from "@tangle-network/ui/primitives";
|
|
27
27
|
import { cn } from "@tangle-network/ui/utils";
|
|
28
28
|
import { Check, ExternalLink, MoreVertical, Search, Unplug } from "lucide-react";
|
|
29
|
+
import { focusFieldWithin, focusRing } from "@tangle-network/ui/utils";
|
|
29
30
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
30
31
|
var DEFAULT_FEATURED_IDS = [
|
|
31
32
|
"gmail",
|
|
@@ -75,7 +76,7 @@ function IntegrationsToolbar({
|
|
|
75
76
|
onSortChange
|
|
76
77
|
}) {
|
|
77
78
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
78
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
79
|
+
/* @__PURE__ */ jsxs("div", { className: `flex flex-1 items-center gap-2 rounded-lg border bg-card px-3 py-2 ${focusFieldWithin}`, children: [
|
|
79
80
|
/* @__PURE__ */ jsx(Search, { className: "h-4 w-4 shrink-0 text-muted-foreground" }),
|
|
80
81
|
/* @__PURE__ */ jsx(
|
|
81
82
|
"input",
|
|
@@ -83,6 +84,7 @@ function IntegrationsToolbar({
|
|
|
83
84
|
type: "text",
|
|
84
85
|
value: query,
|
|
85
86
|
onChange: (e) => onQueryChange(e.target.value),
|
|
87
|
+
"aria-label": "Search integrations",
|
|
86
88
|
placeholder: "Search integrations...",
|
|
87
89
|
autoFocus: true,
|
|
88
90
|
"data-testid": "integration-search",
|
|
@@ -93,7 +95,7 @@ function IntegrationsToolbar({
|
|
|
93
95
|
/* @__PURE__ */ jsx(
|
|
94
96
|
"div",
|
|
95
97
|
{
|
|
96
|
-
role: "
|
|
98
|
+
role: "group",
|
|
97
99
|
"aria-label": "Sort integrations",
|
|
98
100
|
className: "flex shrink-0 items-center gap-1 rounded-lg border border-border bg-card p-1",
|
|
99
101
|
children: [
|
|
@@ -103,12 +105,12 @@ function IntegrationsToolbar({
|
|
|
103
105
|
"button",
|
|
104
106
|
{
|
|
105
107
|
type: "button",
|
|
106
|
-
|
|
107
|
-
"aria-selected": sort === value,
|
|
108
|
+
"aria-pressed": sort === value,
|
|
108
109
|
onClick: () => onSortChange(value),
|
|
109
110
|
"data-testid": `sort-${value}`,
|
|
110
111
|
className: cn(
|
|
111
112
|
"rounded-md px-2.5 py-1 text-xs font-medium transition-colors",
|
|
113
|
+
focusRing,
|
|
112
114
|
sort === value ? "bg-accent text-foreground" : "text-muted-foreground hover:text-foreground"
|
|
113
115
|
),
|
|
114
116
|
children: label
|
|
@@ -360,7 +362,7 @@ function IntegrationsPanel({
|
|
|
360
362
|
rel: "noopener noreferrer",
|
|
361
363
|
"aria-label": `Manage ${name} (opens in new window)`,
|
|
362
364
|
"data-testid": `manage-${provider.providerId}`,
|
|
363
|
-
className:
|
|
365
|
+
className: `absolute inset-0 z-10 rounded-xl ${focusRing}`
|
|
364
366
|
}
|
|
365
367
|
) : null,
|
|
366
368
|
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 top-2 flex h-4 w-4 items-center justify-center rounded-full bg-[var(--surface-success-text)] text-white", children: /* @__PURE__ */ jsx(Check, { className: "h-3 w-3", strokeWidth: 3 }) }),
|
|
@@ -404,7 +406,7 @@ function IntegrationsPanel({
|
|
|
404
406
|
"data-testid": `menu-${provider.providerId}`,
|
|
405
407
|
"aria-label": `More actions for ${name}`,
|
|
406
408
|
title: "More actions",
|
|
407
|
-
className:
|
|
409
|
+
className: `absolute right-1.5 top-1.5 z-20 flex h-6 w-6 items-center justify-center rounded-md text-muted-foreground/70 transition-colors hover:bg-background hover:text-foreground focus-visible:bg-background focus-visible:text-foreground ${focusRing}`,
|
|
408
410
|
children: /* @__PURE__ */ jsx(MoreVertical, { className: "h-3.5 w-3.5" })
|
|
409
411
|
}
|
|
410
412
|
) }),
|
|
@@ -486,7 +488,8 @@ function IntegrationsPanel({
|
|
|
486
488
|
className: cn(
|
|
487
489
|
TILE_BOX_CLASS,
|
|
488
490
|
"group border-border bg-card transition-all",
|
|
489
|
-
"hover:border-
|
|
491
|
+
"hover:border-[var(--border-strong)] hover:bg-accent/40 hover:shadow-sm",
|
|
492
|
+
focusRing
|
|
490
493
|
),
|
|
491
494
|
children: [
|
|
492
495
|
/* @__PURE__ */ jsx(
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface LogoProps {
|
|
4
|
+
variant?: "sandbox";
|
|
5
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
6
|
+
className?: string;
|
|
7
|
+
iconOnly?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
10
|
+
declare function Logo({ variant, size, className, iconOnly, }: LogoProps): React.JSX.Element;
|
|
11
|
+
declare namespace Logo {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { Logo as L, type LogoProps as a };
|