@tangle-network/sandbox-ui 0.3.5 → 0.3.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/dist/dashboard.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AppSidebar, a as AppSidebarProps, B as Backend, b as BackendSelector, c as BackendSelectorProps, C as ClusterStatusBar, d as ClusterStatusBarProps, e as ClusterStatusItem, D as DashboardLayout,
|
|
1
|
+
export { A as AppSidebar, a as AppSidebarProps, B as Backend, b as BackendSelector, c as BackendSelectorProps, C as ClusterStatusBar, d as ClusterStatusBarProps, e as ClusterStatusItem, f as CreditBalance, g as CreditBalanceProps, D as DashboardLayout, h as DashboardLayoutProps, G as DashboardProfile, i as DashboardUser, I as Invoice, j as InvoiceTable, k as InvoiceTableProps, N as NavItem, l as NewSandboxCard, m as NewSandboxCardProps, P as PlanCardData, n as PlanCards, o as PlanCardsProps, H as PlanFeature, J as ProductVariant, p as ProfileComparison, q as ProfileComparisonProps, r as ProfileSelector, s as ProfileSelectorProps, R as ResourceMeter, t as ResourceMeterProps, S as SandboxCard, u as SandboxCardData, v as SandboxCardProps, w as SandboxStatus, x as SandboxTable, y as SandboxTableProps, z as SidebarNavItem, E as SidebarSandbox, K as Variant, V as VariantList, F as VariantListProps, L as VariantOutcome, M as VariantStatus } from './index-BJIPTCKk.js';
|
|
2
2
|
export { a as BillingBalance, c as BillingDashboard, d as BillingDashboardProps, B as BillingSubscription, b as BillingUsage, e as PricingPage, f as PricingPageProps, P as PricingTier, g as UsageChart, h as UsageChartProps, U as UsageDataPoint } from './usage-chart-CY9xo3KX.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
package/dist/dashboard.js
CHANGED
|
@@ -2,15 +2,18 @@ import {
|
|
|
2
2
|
AppSidebar,
|
|
3
3
|
BackendSelector,
|
|
4
4
|
ClusterStatusBar,
|
|
5
|
+
CreditBalance,
|
|
5
6
|
DashboardLayout,
|
|
7
|
+
InvoiceTable,
|
|
6
8
|
NewSandboxCard,
|
|
9
|
+
PlanCards,
|
|
7
10
|
ProfileComparison,
|
|
8
11
|
ProfileSelector,
|
|
9
12
|
ResourceMeter,
|
|
10
13
|
SandboxCard,
|
|
11
14
|
SandboxTable,
|
|
12
15
|
VariantList
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DMYYQXPN.js";
|
|
14
17
|
import {
|
|
15
18
|
BillingDashboard,
|
|
16
19
|
PricingPage,
|
|
@@ -27,8 +30,11 @@ export {
|
|
|
27
30
|
BackendSelector,
|
|
28
31
|
BillingDashboard,
|
|
29
32
|
ClusterStatusBar,
|
|
33
|
+
CreditBalance,
|
|
30
34
|
DashboardLayout,
|
|
35
|
+
InvoiceTable,
|
|
31
36
|
NewSandboxCard,
|
|
37
|
+
PlanCards,
|
|
32
38
|
PricingPage,
|
|
33
39
|
ProfileComparison,
|
|
34
40
|
ProfileSelector,
|
|
@@ -39,6 +39,51 @@ interface ClusterStatusBarProps {
|
|
|
39
39
|
}
|
|
40
40
|
declare function ClusterStatusBar({ items, latency, className }: ClusterStatusBarProps): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
+
interface CreditBalanceProps {
|
|
43
|
+
amount: number;
|
|
44
|
+
description?: string;
|
|
45
|
+
onTopUp?: (amount: number) => void;
|
|
46
|
+
quickAmounts?: number[];
|
|
47
|
+
className?: string;
|
|
48
|
+
}
|
|
49
|
+
declare function CreditBalance({ amount, description, onTopUp, quickAmounts, className, }: CreditBalanceProps): react_jsx_runtime.JSX.Element;
|
|
50
|
+
|
|
51
|
+
interface Invoice {
|
|
52
|
+
id: string;
|
|
53
|
+
date: string;
|
|
54
|
+
amount: number;
|
|
55
|
+
status: "paid" | "pending" | "failed";
|
|
56
|
+
}
|
|
57
|
+
interface InvoiceTableProps {
|
|
58
|
+
invoices: Invoice[];
|
|
59
|
+
onExportAll?: () => void;
|
|
60
|
+
onLoadMore?: () => void;
|
|
61
|
+
onViewInvoice?: (id: string) => void;
|
|
62
|
+
hasMore?: boolean;
|
|
63
|
+
className?: string;
|
|
64
|
+
}
|
|
65
|
+
declare function InvoiceTable({ invoices, onExportAll, onLoadMore, onViewInvoice, hasMore, className }: InvoiceTableProps): react_jsx_runtime.JSX.Element;
|
|
66
|
+
|
|
67
|
+
interface PlanFeature {
|
|
68
|
+
text: string;
|
|
69
|
+
}
|
|
70
|
+
interface PlanCardData {
|
|
71
|
+
id: string;
|
|
72
|
+
name: string;
|
|
73
|
+
price: number;
|
|
74
|
+
period?: string;
|
|
75
|
+
features: PlanFeature[];
|
|
76
|
+
popular?: boolean;
|
|
77
|
+
current?: boolean;
|
|
78
|
+
ctaLabel?: string;
|
|
79
|
+
onSelect?: (id: string) => void;
|
|
80
|
+
}
|
|
81
|
+
interface PlanCardsProps {
|
|
82
|
+
plans: PlanCardData[];
|
|
83
|
+
className?: string;
|
|
84
|
+
}
|
|
85
|
+
declare function PlanCards({ plans, className }: PlanCardsProps): react_jsx_runtime.JSX.Element;
|
|
86
|
+
|
|
42
87
|
type ProductVariant = "sandbox";
|
|
43
88
|
interface NavItem {
|
|
44
89
|
id: string;
|
|
@@ -216,4 +261,4 @@ interface VariantListProps {
|
|
|
216
261
|
}
|
|
217
262
|
declare function VariantList({ variants, selectedId, onSelect, onAccept, onReject, isActioning, className, }: VariantListProps): react_jsx_runtime.JSX.Element;
|
|
218
263
|
|
|
219
|
-
export { AppSidebar as A, type Backend as B, ClusterStatusBar as C, DashboardLayout as D, type NavItem as N,
|
|
264
|
+
export { AppSidebar as A, type Backend as B, ClusterStatusBar as C, DashboardLayout as D, type SidebarSandbox as E, type VariantListProps as F, type Profile as G, type PlanFeature as H, type Invoice as I, type ProductVariant as J, type Variant as K, type VariantOutcome as L, type VariantStatus as M, type NavItem as N, type PlanCardData as P, ResourceMeter as R, SandboxCard as S, type TopNavLink as T, VariantList as V, type AppSidebarProps as a, BackendSelector as b, type BackendSelectorProps as c, type ClusterStatusBarProps as d, type ClusterStatusItem as e, CreditBalance as f, type CreditBalanceProps as g, type DashboardLayoutProps as h, type DashboardUser as i, InvoiceTable as j, type InvoiceTableProps as k, NewSandboxCard as l, type NewSandboxCardProps as m, PlanCards as n, type PlanCardsProps as o, ProfileComparison as p, type ProfileComparisonProps as q, ProfileSelector as r, type ProfileSelectorProps as s, type ResourceMeterProps as t, type SandboxCardData as u, type SandboxCardProps as v, type SandboxStatus as w, SandboxTable as x, type SandboxTableProps as y, type SidebarNavItem as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { E as ExpandedToolDetail, I as InlineThinkingItem, c as InlineToolItem,
|
|
|
13
13
|
import { b as ToolPart } from './parts-CyGkM6Fp.js';
|
|
14
14
|
export { R as ReasoningPart, S as SessionMessage, a as SessionPart, T as TextPart, c as ToolState, d as ToolStatus, e as ToolTime } from './parts-CyGkM6Fp.js';
|
|
15
15
|
export { FileArtifactPane, FileArtifactPaneProps, FilePreview, FilePreviewProps } from './files.js';
|
|
16
|
-
export { A as AppSidebar, a as AppSidebarProps, B as Backend, b as BackendSelector, c as BackendSelectorProps, C as ClusterStatusBar, d as ClusterStatusBarProps, e as ClusterStatusItem, D as DashboardLayout,
|
|
16
|
+
export { A as AppSidebar, a as AppSidebarProps, B as Backend, b as BackendSelector, c as BackendSelectorProps, C as ClusterStatusBar, d as ClusterStatusBarProps, e as ClusterStatusItem, f as CreditBalance, g as CreditBalanceProps, D as DashboardLayout, h as DashboardLayoutProps, i as DashboardUser, I as Invoice, j as InvoiceTable, k as InvoiceTableProps, N as NavItem, l as NewSandboxCard, m as NewSandboxCardProps, P as PlanCardData, n as PlanCards, o as PlanCardsProps, p as ProfileComparison, q as ProfileComparisonProps, r as ProfileSelector, s as ProfileSelectorProps, R as ResourceMeter, t as ResourceMeterProps, S as SandboxCard, u as SandboxCardData, v as SandboxCardProps, w as SandboxStatus, x as SandboxTable, y as SandboxTableProps, z as SidebarNavItem, E as SidebarSandbox, T as TopNavLink, V as VariantList, F as VariantListProps } from './index-BJIPTCKk.js';
|
|
17
17
|
export { c as BillingDashboard, d as BillingDashboardProps, e as PricingCards, f as PricingPageProps, g as UsageChart, h as UsageChartProps, U as UsageDataPoint } from './usage-chart-CY9xo3KX.js';
|
|
18
18
|
export { AuthHeader, GitHubLoginButton, LoginLayout, LoginLayoutProps, UserMenu } from './auth.js';
|
|
19
19
|
export { CodeBlock, CopyButton, Markdown, MarkdownProps } from './markdown.js';
|
package/dist/index.js
CHANGED
|
@@ -160,15 +160,18 @@ import {
|
|
|
160
160
|
AppSidebar,
|
|
161
161
|
BackendSelector,
|
|
162
162
|
ClusterStatusBar,
|
|
163
|
+
CreditBalance,
|
|
163
164
|
DashboardLayout,
|
|
165
|
+
InvoiceTable,
|
|
164
166
|
NewSandboxCard,
|
|
167
|
+
PlanCards,
|
|
165
168
|
ProfileComparison,
|
|
166
169
|
ProfileSelector,
|
|
167
170
|
ResourceMeter,
|
|
168
171
|
SandboxCard,
|
|
169
172
|
SandboxTable,
|
|
170
173
|
VariantList
|
|
171
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-DMYYQXPN.js";
|
|
172
175
|
import {
|
|
173
176
|
BillingDashboard,
|
|
174
177
|
PricingPage,
|
|
@@ -331,6 +334,7 @@ export {
|
|
|
331
334
|
CodeBlock as CodeBlockDisplay,
|
|
332
335
|
CommandPreview,
|
|
333
336
|
CopyButton,
|
|
337
|
+
CreditBalance,
|
|
334
338
|
DashboardLayout,
|
|
335
339
|
Dialog,
|
|
336
340
|
DialogClose,
|
|
@@ -372,6 +376,7 @@ export {
|
|
|
372
376
|
InlineThinkingItem,
|
|
373
377
|
InlineToolItem,
|
|
374
378
|
Input,
|
|
379
|
+
InvoiceTable,
|
|
375
380
|
Label,
|
|
376
381
|
LoginLayout,
|
|
377
382
|
Logo,
|
|
@@ -379,6 +384,7 @@ export {
|
|
|
379
384
|
MessageList,
|
|
380
385
|
NewSandboxCard,
|
|
381
386
|
OpenUIArtifactRenderer,
|
|
387
|
+
PlanCards,
|
|
382
388
|
PricingPage as PricingCards,
|
|
383
389
|
ProfileComparison,
|
|
384
390
|
ProfileSelector,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|