@tangle-network/sandbox-ui 0.87.0 → 0.87.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{WorkflowGraph-J2SVX3WP.js → WorkflowGraph-YZGPXSDJ.js} +1 -1
- package/dist/assets.d.ts +7 -8
- package/dist/auth.d.ts +2 -2
- package/dist/chat.d.ts +10 -11
- package/dist/chat.js +4 -4
- package/dist/{chunk-R5OVYRIY.js → chunk-3RIYD2WD.js} +15 -5
- package/dist/{chunk-I3G23XHN.js → chunk-5XRAKVIV.js} +30 -30
- package/dist/{chunk-R4AR3TKR.js → chunk-EHMD4JJM.js} +1 -1
- package/dist/{chunk-2T6KBMLN.js → chunk-NF3Q4RJU.js} +7 -7
- package/dist/{chunk-HCOZO53G.js → chunk-WTUPC4OZ.js} +15 -15
- package/dist/connectors.d.ts +4 -4
- package/dist/dashboard.d.ts +55 -56
- package/dist/dashboard.js +3 -3
- package/dist/globals.css +872 -1513
- package/dist/hooks.d.ts +1 -1
- package/dist/index.d.ts +4 -5
- package/dist/index.js +5 -5
- package/dist/integrations.d.ts +2 -2
- package/dist/{logo-CZ6moVvw.d.ts → logo-CaIvk3J1.d.ts} +3 -3
- package/dist/{model-brand-CsFykzMA.d.ts → model-brand-CuXKfTMh.d.ts} +2 -2
- package/dist/pages.d.ts +10 -11
- package/dist/pages.js +2 -2
- package/dist/{ports-list-DfG0VfPt.d.ts → ports-list-CDIvTNnX.d.ts} +2 -2
- package/dist/primitives.d.ts +4 -5
- package/dist/styles.css +872 -1513
- package/dist/{template-card-UhV3pmRC.d.ts → template-card-Bn-Bw5xC.d.ts} +4 -5
- package/dist/terminal.d.ts +2 -2
- package/dist/workbench.d.ts +10 -11
- package/dist/workbench.js +4 -4
- package/dist/workflows.d.ts +3 -3
- package/dist/workflows.js +2 -2
- package/dist/workspace.d.ts +15 -15
- package/package.json +76 -68
package/dist/hooks.d.ts
CHANGED
|
@@ -186,7 +186,7 @@ interface UseSandboxMetricsResult {
|
|
|
186
186
|
declare function useSandboxMetrics({ apiBaseUrl, sandboxId, token, enabled, intervalMs, historyLimit, }: UseSandboxMetricsOptions): UseSandboxMetricsResult;
|
|
187
187
|
|
|
188
188
|
/** List all sessions for a sidecar. */
|
|
189
|
-
declare function useSessions(apiUrl: string, token: string | null): _tanstack_react_query.UseQueryResult<Session[]
|
|
189
|
+
declare function useSessions(apiUrl: string, token: string | null): _tanstack_react_query.UseQueryResult<NoInfer<Session[]>, Error>;
|
|
190
190
|
/** Create a new session. */
|
|
191
191
|
declare function useCreateSession(apiUrl: string, token: string | null): _tanstack_react_query.UseMutationResult<Session, Error, string, unknown>;
|
|
192
192
|
/** Delete a session by ID. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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, InlineCode, InlineCodeProps, Input, InputProps, Label, Progress, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarDropZone, SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, StatCard, StatCardProps, 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, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, useTheme, useToast } from '@tangle-network/ui/primitives';
|
|
2
|
-
export { L as Logo, a as LogoProps, T as TangleKnot } from './logo-
|
|
2
|
+
export { L as Logo, a as LogoProps, T as TangleKnot } from './logo-CaIvk3J1.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, SessionSidebarItem, SessionSidebarLink, SessionSidebarProps, ShellShouldRevalidateArgs, ShellShouldRevalidateOptions, StatusBanner, StatusBannerProps, StatusBar, StatusBarProps, TaskBoard, TaskBoardColumn, TaskBoardItem, TaskBoardProps, TerminalLine, TerminalPanel, TerminalProps, UseOptimisticSessionItemsOptions, WorkspaceLayout, WorkspaceLayoutProps, createShellShouldRevalidate, dispatchSessionCreated, shellShouldRevalidate, useOptimisticSessionItems } from './workspace.js';
|
|
5
5
|
export { ArtifactView, BRAND_PRISM_THEME, CodeSurface, CodeSurfaceProps, CodeView, CodeViewProps, DiffStats, DiffView, DiffViewProps, FileBreadcrumb, FileBreadcrumbProps, GitStatusBadge, PanelHeader, PanelHeaderProps, PillTabItem, PillTabs, PillTabsProps, PreviewView, PreviewViewProps, SandboxArtifact, SandboxArtifactPane, SandboxArtifactPaneProps, SandboxArtifactTerminal, buildUnifiedPatch, computeDiffStats, resolveLanguage } from './workbench.js';
|
|
@@ -10,8 +10,8 @@ export { ExpandedToolDetail, ExpandedToolDetailProps, InlineThinkingItem, Inline
|
|
|
10
10
|
export { CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, QuestionPreview, WebSearchPreview, WriteFilePreview } from '@tangle-network/ui/tool-previews';
|
|
11
11
|
export { FileArtifactPane, FileArtifactPaneProps, FileNode, FilePreview, FilePreviewProps, FileTabData, FileTabs, FileTabsProps, FileTree, FileTreeProps, FileTreeVisibilityOptions, RichFileTree, RichFileTreeGitEntry, RichFileTreeGitStatus, RichFileTreeProps, RichFileTreeThemeVars, filterFileTree } from '@tangle-network/ui/files';
|
|
12
12
|
export { ActivityFeed, ActivityFeedProps, ActivityItem, AppearanceController, Backend, BackendConfig, BackendConfigProps, BackendSelector, BackendSelectorProps, BackendStatusData, ClusterStatusBar, ClusterStatusBarProps, ClusterStatusItem, CreditBalance, CreditBalanceProps, DEFAULT_FEATURED_MODEL_IDS, 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, ModelPicker, ModelPickerProps, ModelPickerVariant, 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, dedupeModels, formatContext, formatPricing, modelDedupKey, parseInsufficientBalance, useSidebar } from './dashboard.js';
|
|
13
|
-
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-
|
|
14
|
-
export { E as ExposedPort, P as PortsList, a as PortsListProps } from './ports-list-
|
|
13
|
+
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';
|
|
14
|
+
export { E as ExposedPort, P as PortsList, a as PortsListProps } from './ports-list-CDIvTNnX.js';
|
|
15
15
|
export { AuthHeader, AuthHeaderProps, GitHubLoginButton, GitHubLoginButtonProps, LoginLayout, LoginLayoutProps, SessionUser, UserMenu, UserMenuProps } from '@tangle-network/ui/auth';
|
|
16
16
|
export { TangleLoginButton, TangleLoginButtonProps } from './auth.js';
|
|
17
17
|
export { AgentStreamEvent, AppendUserMessageOptions, ApplySdkEventOptions, AuthUser, AutomationStreamEvent, BeginAssistantMessageOptions, BotStreamEvent, CompleteAssistantMessageOptions, RealtimeSessionOptions, RealtimeSessionRegistry, RealtimeSessionRegistryProps, RealtimeSessionState, RealtimeSessionTarget, SSEEvent, SdkSessionAttachment, SdkSessionEvent, SdkSessionSeed, TaskStreamEvent, TerminalStreamEvent, UseAuthOptions, UseAuthResult, UseRunGroupsOptions, UseSSEStreamOptions, UseSSEStreamResult, UseSdkSessionOptions, UseSdkSessionReturn, UseToolCallStreamReturn, createAuthFetcher, useApiKey, useAuth, useAutoScroll, useDropdownMenu, useLiveTime, useRealtimeSession, useRunCollapseState, useRunGroups, useSSEStream, useSdkSession, useToolCallStream } from '@tangle-network/ui/hooks';
|
|
@@ -23,8 +23,7 @@ export { AgentBranding, CustomToolRenderer, DisplayVariant, FinalTextPart, Group
|
|
|
23
23
|
export { Session } from './types.js';
|
|
24
24
|
export { TOOL_CATEGORY_ICONS, cn, copyText, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, timeAgo, truncateText } from '@tangle-network/ui/utils';
|
|
25
25
|
export { HarnessType, modelProvider, snapHarnessToModel } from '@tangle-network/agent-interface';
|
|
26
|
-
export { M as ModelBrandIdentity, a as ModelBrandStack, b as ModelInfo, c as canonicalModelId, m as modelBrandFor } from './model-brand-
|
|
27
|
-
import 'react/jsx-runtime';
|
|
26
|
+
export { M as ModelBrandIdentity, a as ModelBrandStack, b as ModelInfo, c as canonicalModelId, m as modelBrandFor } from './model-brand-CuXKfTMh.js';
|
|
28
27
|
import 'react';
|
|
29
28
|
import '@radix-ui/react-dropdown-menu';
|
|
30
29
|
import '@tanstack/react-query';
|
package/dist/index.js
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
snapHarnessToModel,
|
|
92
92
|
snapModelToHarness,
|
|
93
93
|
validateComposerFiles
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-3RIYD2WD.js";
|
|
95
95
|
import {
|
|
96
96
|
TOOL_CATEGORY_ICONS,
|
|
97
97
|
cn,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
buildUnifiedPatch,
|
|
152
152
|
computeDiffStats,
|
|
153
153
|
resolveLanguage
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-WTUPC4OZ.js";
|
|
155
155
|
import {
|
|
156
156
|
FileArtifactPane,
|
|
157
157
|
FilePreview,
|
|
@@ -323,7 +323,7 @@ import {
|
|
|
323
323
|
HarnessLogo,
|
|
324
324
|
HarnessPicker,
|
|
325
325
|
chatCapableHarnesses
|
|
326
|
-
} from "./chunk-
|
|
326
|
+
} from "./chunk-NF3Q4RJU.js";
|
|
327
327
|
import {
|
|
328
328
|
DEFAULT_FEATURED_MODEL_IDS,
|
|
329
329
|
ModelPicker,
|
|
@@ -331,12 +331,12 @@ import {
|
|
|
331
331
|
formatContext,
|
|
332
332
|
formatPricing,
|
|
333
333
|
modelDedupKey
|
|
334
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-EHMD4JJM.js";
|
|
335
335
|
import {
|
|
336
336
|
ModelBrandStack,
|
|
337
337
|
canonicalModelId,
|
|
338
338
|
modelBrandFor
|
|
339
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-5XRAKVIV.js";
|
|
340
340
|
import "./chunk-EI44GEQ5.js";
|
|
341
341
|
import {
|
|
342
342
|
OpenUIArtifactRenderer
|
package/dist/integrations.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Shapes for the integrations primitives. Mirrors the platform's
|
|
@@ -90,7 +90,7 @@ interface IntegrationsPanelProps {
|
|
|
90
90
|
defaultSort?: IntegrationSort;
|
|
91
91
|
className?: string;
|
|
92
92
|
}
|
|
93
|
-
declare function IntegrationsPanel({ catalog, connections, healthByConnectionId, isLoading, error, onConnect, onDisconnect, getManageHref, onManage, emptyCatalogLabel, featuredIds, defaultSort, className, }: IntegrationsPanelProps):
|
|
93
|
+
declare function IntegrationsPanel({ catalog, connections, healthByConnectionId, isLoading, error, onConnect, onDisconnect, getManageHref, onManage, emptyCatalogLabel, featuredIds, defaultSort, className, }: IntegrationsPanelProps): React.JSX.Element;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* Endpoint contract expected on the consumer app's server (which
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
interface LogoProps {
|
|
4
4
|
variant?: "sandbox";
|
|
@@ -9,8 +9,8 @@ interface LogoProps {
|
|
|
9
9
|
declare function TangleKnot({ size, className }: {
|
|
10
10
|
size: number;
|
|
11
11
|
className?: string;
|
|
12
|
-
}):
|
|
13
|
-
declare function Logo({ variant, size, className, iconOnly }: LogoProps):
|
|
12
|
+
}): React.JSX.Element;
|
|
13
|
+
declare function Logo({ variant, size, className, iconOnly }: LogoProps): React.JSX.Element;
|
|
14
14
|
declare namespace Logo {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ReasoningEffort } from '@tangle-network/agent-interface';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -96,6 +96,6 @@ declare function modelBrandFor(model: string): ModelBrandIdentity | null;
|
|
|
96
96
|
declare function ModelBrandStack({ identity, size }: {
|
|
97
97
|
identity: ModelBrandIdentity;
|
|
98
98
|
size: "sm" | "md";
|
|
99
|
-
}):
|
|
99
|
+
}): React.JSX.Element | null;
|
|
100
100
|
|
|
101
101
|
export { type ModelBrandIdentity as M, ModelBrandStack as a, type ModelInfo as b, canonicalModelId as c, modelBrandFor as m };
|
package/dist/pages.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { CSSProperties, ReactNode } from 'react';
|
|
4
|
-
import { c as BillingSubscription, B as BillingBalance, d as BillingUsage, j as UsageDataPoint, f as PricingTier, g as TemplateCardData } from './template-card-
|
|
5
|
-
export { b as ModelInfo } from './model-brand-
|
|
3
|
+
import { c as BillingSubscription, B as BillingBalance, d as BillingUsage, j as UsageDataPoint, f as PricingTier, g as TemplateCardData } from './template-card-Bn-Bw5xC.js';
|
|
4
|
+
export { b as ModelInfo } from './model-brand-CuXKfTMh.js';
|
|
6
5
|
import '@tangle-network/agent-interface';
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -62,7 +61,7 @@ interface AuthPageProps {
|
|
|
62
61
|
/** Optional node rendered above the footer (legal copy, SSO notice, etc.). */
|
|
63
62
|
children?: ReactNode;
|
|
64
63
|
}
|
|
65
|
-
declare function AuthPage({ product, tagline, mode, tangleAuthUrl, providers, socialHref, onEmailSubmit, collectName, altHref, accent, accentHover, logoSize, className, style, children, }: AuthPageProps):
|
|
64
|
+
declare function AuthPage({ product, tagline, mode, tangleAuthUrl, providers, socialHref, onEmailSubmit, collectName, altHref, accent, accentHover, logoSize, className, style, children, }: AuthPageProps): React.JSX.Element;
|
|
66
65
|
|
|
67
66
|
type ProductVariant$1 = "sandbox";
|
|
68
67
|
interface BillingPageData {
|
|
@@ -81,7 +80,7 @@ interface BillingPageProps {
|
|
|
81
80
|
onSelectTier?: (tierId: string) => void;
|
|
82
81
|
fetchBillingData?: () => Promise<BillingPageData>;
|
|
83
82
|
}
|
|
84
|
-
declare function BillingPage({ variant, initialData, apiBasePath, onManageSubscription, onAddCredits, onSelectTier, fetchBillingData, }: BillingPageProps):
|
|
83
|
+
declare function BillingPage({ variant, initialData, apiBasePath, onManageSubscription, onAddCredits, onSelectTier, fetchBillingData, }: BillingPageProps): React.JSX.Element;
|
|
85
84
|
|
|
86
85
|
interface EnvironmentOption {
|
|
87
86
|
id: string;
|
|
@@ -207,7 +206,7 @@ interface ProvisioningConfig {
|
|
|
207
206
|
startupScriptIds?: string[];
|
|
208
207
|
}
|
|
209
208
|
declare function resolveEnvironment(env: EnvironmentEntry): EnvironmentOption;
|
|
210
|
-
declare function ProvisioningWizard({ environments: environmentsProp, onLoadEnvironments, onSubmit, onBack, className, defaultEnvironment, defaultConfig, onLoadStartupScripts, resourceLimits, sshAccess, pricingRates, planTiers, }: ProvisioningWizardProps):
|
|
209
|
+
declare function ProvisioningWizard({ environments: environmentsProp, onLoadEnvironments, onSubmit, onBack, className, defaultEnvironment, defaultConfig, onLoadStartupScripts, resourceLimits, sshAccess, pricingRates, planTiers, }: ProvisioningWizardProps): React.JSX.Element;
|
|
211
210
|
|
|
212
211
|
type ProductVariant = "sandbox";
|
|
213
212
|
interface StandalonePricingPageProps {
|
|
@@ -221,7 +220,7 @@ interface StandalonePricingPageProps {
|
|
|
221
220
|
eyebrow?: string;
|
|
222
221
|
className?: string;
|
|
223
222
|
}
|
|
224
|
-
declare function StandalonePricingPage({ variant, initialTiers, apiBasePath, onSelectTier, fetchTiers, title, subtitle, eyebrow, className, }: StandalonePricingPageProps):
|
|
223
|
+
declare function StandalonePricingPage({ variant, initialTiers, apiBasePath, onSelectTier, fetchTiers, title, subtitle, eyebrow, className, }: StandalonePricingPageProps): React.JSX.Element;
|
|
225
224
|
|
|
226
225
|
interface ProfileMetrics {
|
|
227
226
|
total_runs: number;
|
|
@@ -275,7 +274,7 @@ interface ProfilesPageProps {
|
|
|
275
274
|
/** Custom page title */
|
|
276
275
|
title?: string;
|
|
277
276
|
}
|
|
278
|
-
declare function ProfilesPage({ apiClient, tier, maxProfiles, onCompareClick, title, }: ProfilesPageProps):
|
|
277
|
+
declare function ProfilesPage({ apiClient, tier, maxProfiles, onCompareClick, title, }: ProfilesPageProps): React.JSX.Element;
|
|
279
278
|
|
|
280
279
|
interface Secret {
|
|
281
280
|
name: string;
|
|
@@ -305,7 +304,7 @@ interface SecretsPageProps {
|
|
|
305
304
|
label?: string;
|
|
306
305
|
};
|
|
307
306
|
}
|
|
308
|
-
declare function SecretsPage({ apiClient, className, teamSecretsHint }: SecretsPageProps):
|
|
307
|
+
declare function SecretsPage({ apiClient, className, teamSecretsHint }: SecretsPageProps): React.JSX.Element;
|
|
309
308
|
|
|
310
309
|
interface TemplatesPageProps {
|
|
311
310
|
templates: TemplateCardData[] | null;
|
|
@@ -313,7 +312,7 @@ interface TemplatesPageProps {
|
|
|
313
312
|
onUseTemplate: (templateId: string) => void;
|
|
314
313
|
className?: string;
|
|
315
314
|
}
|
|
316
|
-
declare function TemplatesPage({ templates, loading, onUseTemplate, className }: TemplatesPageProps):
|
|
315
|
+
declare function TemplatesPage({ templates, loading, onUseTemplate, className }: TemplatesPageProps): React.JSX.Element;
|
|
317
316
|
|
|
318
317
|
type ScriptType = "bash" | "python" | "node" | "ruby" | "custom";
|
|
319
318
|
interface StartupScript {
|
|
@@ -367,7 +366,7 @@ interface StartupScriptsPageProps {
|
|
|
367
366
|
apiClient: StartupScriptsApiClient;
|
|
368
367
|
className?: string;
|
|
369
368
|
}
|
|
370
|
-
declare function StartupScriptsPage({ apiClient, className }: StartupScriptsPageProps):
|
|
369
|
+
declare function StartupScriptsPage({ apiClient, className }: StartupScriptsPageProps): React.JSX.Element;
|
|
371
370
|
|
|
372
371
|
type TemplateCategory = "blockchain" | "ai-ml" | "frontend" | "infrastructure" | "general";
|
|
373
372
|
type TemplatePreset = Omit<ProvisioningConfig, "name" | "gitUrl" | "envVars" | "driver" | "startupScriptIds">;
|
package/dist/pages.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
interface ExposedPort {
|
|
4
4
|
port: number;
|
|
@@ -12,6 +12,6 @@ interface PortsListProps {
|
|
|
12
12
|
isExposing?: boolean;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
declare function PortsList({ ports, onExposePort, onRemovePort, isExposing, className }: PortsListProps):
|
|
15
|
+
declare function PortsList({ ports, onExposePort, onRemovePort, isExposing, className }: PortsListProps): React.JSX.Element;
|
|
16
16
|
|
|
17
17
|
export { type ExposedPort as E, PortsList as P, type PortsListProps as a };
|
package/dist/primitives.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { 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, InlineCode, InlineCodeProps, Input, InputProps, Label, Progress, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarDropZone, SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, StatCard, StatCardProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, Textarea, TextareaProps, ThemeToggle, Toast, ToastContainer, ToastProvider, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, useTheme, useToast } from '@tangle-network/ui/primitives';
|
|
2
|
-
export { L as Logo, a as LogoProps, T as TangleKnot } from './logo-
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
export { L as Logo, a as LogoProps, T as TangleKnot } from './logo-CaIvk3J1.js';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
import { HTMLAttributes, ElementType, ReactNode } from 'react';
|
|
6
5
|
|
|
@@ -51,7 +50,7 @@ interface PageHeaderProps {
|
|
|
51
50
|
* Standard page header: one title size, one description style, one action
|
|
52
51
|
* slot — used by every page so titles never drift between surfaces.
|
|
53
52
|
*/
|
|
54
|
-
declare function PageHeader({ title, description, eyebrow, action, className, titleAs, }: PageHeaderProps):
|
|
53
|
+
declare function PageHeader({ title, description, eyebrow, action, className, titleAs, }: PageHeaderProps): React.JSX.Element;
|
|
55
54
|
interface SectionTitleProps {
|
|
56
55
|
title: ReactNode;
|
|
57
56
|
description?: ReactNode;
|
|
@@ -59,7 +58,7 @@ interface SectionTitleProps {
|
|
|
59
58
|
className?: string;
|
|
60
59
|
}
|
|
61
60
|
/** Section heading inside a page — smaller than PageHeader, same rhythm. */
|
|
62
|
-
declare function SectionTitle({ title, description, action, className, }: SectionTitleProps):
|
|
61
|
+
declare function SectionTitle({ title, description, action, className, }: SectionTitleProps): React.JSX.Element;
|
|
63
62
|
|
|
64
63
|
interface PageShellProps {
|
|
65
64
|
children: ReactNode;
|
|
@@ -71,6 +70,6 @@ interface PageShellProps {
|
|
|
71
70
|
* Layout primitive (not a heading); kept in its own module so consumers
|
|
72
71
|
* looking for page layout don't have to reach into the typography file.
|
|
73
72
|
*/
|
|
74
|
-
declare function PageShell({ children, className }: PageShellProps):
|
|
73
|
+
declare function PageShell({ children, className }: PageShellProps): React.JSX.Element;
|
|
75
74
|
|
|
76
75
|
export { Heading, type HeadingProps, type HeadingRole, type HeadingVariant, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, SectionTitle, type SectionTitleProps };
|