@tangle-network/sandbox-ui 0.125.1 → 0.125.3
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-BHZB021r.js → dashboard-Ce1Qy0Yv.js} +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +0 -3
- package/dist/index.js +2 -2
- package/dist/pages.d.ts +11 -9
- package/dist/pages.js +23 -14
- package/dist/styles.css +0 -3
- package/dist/{workbench-CgFEJdzs.js → workbench-DLQ07SoM.js} +1 -1
- package/dist/workbench.js +1 -1
- package/package.json +1 -1
|
@@ -1051,7 +1051,7 @@ function ProfileAvatar({ user, isLoading = false, onLogout, onSettingsClick, set
|
|
|
1051
1051
|
src: user.avatarUrl,
|
|
1052
1052
|
alt: ""
|
|
1053
1053
|
}), /* @__PURE__ */ jsx(AvatarFallback, {
|
|
1054
|
-
className: "text-sm bg-[var(--surface-
|
|
1054
|
+
className: "text-sm bg-[var(--accent-surface-strong)] text-[var(--accent-text)]",
|
|
1055
1055
|
children: getInitials(user?.name, user?.email)
|
|
1056
1056
|
})]
|
|
1057
1057
|
}), /* @__PURE__ */ jsx("div", {
|
package/dist/dashboard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SidebarPanelHeader, A as SandboxStatusPill, B as ProfileAvatar, C as PlanCards, D as SandboxCard, E as NewSandboxCard, F as ClusterStatusBar, G as RailHeader, H as RailCollapseToggle, I as INSUFFICIENT_BALANCE_CODE, J as RailThemeToggle, K as RailModeButton, L as OutOfCreditsModal, M as ActivityFeed, N as ResourceSnapshot, O as canAdminSandbox, P as ResourceMeter, Q as SidebarPanelContent, R as parseInsufficientBalance, S as BackendSelector, T as SandboxTable, U as RailExpandable, V as RailButton, W as RailFlyout, X as SidebarContent, Y as Sidebar, Z as SidebarPanel, _ as HARNESS_OPTIONS, a as NetworkConfig, at as SIDEBAR_MOBILE_WIDTH, b as HARNESS_BRAND, c as GitPanel, ct as SIDEBAR_RAIL_WIDTH, d as VariantList, dt as useSidebar, et as SidebarRail, f as MetricAreaChart, g as DashboardLayout, h as SidebarLayout, i as BackendConfig, it as RailTooltip, j as sandboxStatus, k as SANDBOX_STATUS, l as UsageSummary, lt as SIDEBAR_TOTAL_WIDTH, m as ProfileSelector, n as PromoBanner, nt as SidebarRailHeader, o as ProcessList, ot as SIDEBAR_PANEL_WIDTH, p as ProfileComparison, q as RailSeparator, r as SnapshotList, rt as SidebarRailNav, s as PortsList, st as SIDEBAR_RAIL_LABELED_WIDTH, t as InfoPanel, tt as SidebarRailFooter, u as SystemLogsViewer, ut as SidebarProvider, v as HarnessPicker, w as InvoiceTable, x as HarnessLogo, y as chatCapableHarnesses, z as CreditBalance } from "./dashboard-
|
|
1
|
+
import { $ as SidebarPanelHeader, A as SandboxStatusPill, B as ProfileAvatar, C as PlanCards, D as SandboxCard, E as NewSandboxCard, F as ClusterStatusBar, G as RailHeader, H as RailCollapseToggle, I as INSUFFICIENT_BALANCE_CODE, J as RailThemeToggle, K as RailModeButton, L as OutOfCreditsModal, M as ActivityFeed, N as ResourceSnapshot, O as canAdminSandbox, P as ResourceMeter, Q as SidebarPanelContent, R as parseInsufficientBalance, S as BackendSelector, T as SandboxTable, U as RailExpandable, V as RailButton, W as RailFlyout, X as SidebarContent, Y as Sidebar, Z as SidebarPanel, _ as HARNESS_OPTIONS, a as NetworkConfig, at as SIDEBAR_MOBILE_WIDTH, b as HARNESS_BRAND, c as GitPanel, ct as SIDEBAR_RAIL_WIDTH, d as VariantList, dt as useSidebar, et as SidebarRail, f as MetricAreaChart, g as DashboardLayout, h as SidebarLayout, i as BackendConfig, it as RailTooltip, j as sandboxStatus, k as SANDBOX_STATUS, l as UsageSummary, lt as SIDEBAR_TOTAL_WIDTH, m as ProfileSelector, n as PromoBanner, nt as SidebarRailHeader, o as ProcessList, ot as SIDEBAR_PANEL_WIDTH, p as ProfileComparison, q as RailSeparator, r as SnapshotList, rt as SidebarRailNav, s as PortsList, st as SIDEBAR_RAIL_LABELED_WIDTH, t as InfoPanel, tt as SidebarRailFooter, u as SystemLogsViewer, ut as SidebarProvider, v as HarnessPicker, w as InvoiceTable, x as HarnessLogo, y as chatCapableHarnesses, z as CreditBalance } from "./dashboard-Ce1Qy0Yv.js";
|
|
2
2
|
import { n as canonicalModelId, r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
3
3
|
import { a as PricingPage, i as UsageChart, n as SandboxPageShell, o as formatPrice, r as TemplateCard, s as BillingDashboard, t as DashboardPageHeader } from "./page-layout-DJV7cbxx.js";
|
|
4
4
|
export { ActivityFeed, BackendConfig, BackendSelector, BillingDashboard, ClusterStatusBar, CreditBalance, DashboardLayout, DashboardPageHeader, GitPanel, HARNESS_BRAND, HARNESS_OPTIONS, HarnessLogo, HarnessPicker, INSUFFICIENT_BALANCE_CODE, InfoPanel, InvoiceTable, MetricAreaChart, ModelBrandStack, NetworkConfig, NewSandboxCard, OutOfCreditsModal, PlanCards, PortsList, PricingPage, ProcessList, ProfileAvatar, ProfileComparison, ProfileSelector, PromoBanner, RailButton, RailCollapseToggle, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailThemeToggle, 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, SidebarRailHeader, SidebarRailNav, SnapshotList, SystemLogsViewer, TemplateCard, UsageChart, UsageSummary, VariantList, canAdminSandbox, canonicalModelId, chatCapableHarnesses, formatPrice, modelBrandFor, parseInsufficientBalance, sandboxStatus, useSidebar };
|
package/dist/globals.css
CHANGED
|
@@ -2564,9 +2564,6 @@
|
|
|
2564
2564
|
.bg-\[var\(--surface-success-text\)\] {
|
|
2565
2565
|
background-color: var(--surface-success-text);
|
|
2566
2566
|
}
|
|
2567
|
-
.bg-\[var\(--surface-violet-bg\)\] {
|
|
2568
|
-
background-color: var(--surface-violet-bg);
|
|
2569
|
-
}
|
|
2570
2567
|
.bg-\[var\(--surface-warning-bg\)\] {
|
|
2571
2568
|
background-color: var(--surface-warning-bg);
|
|
2572
2569
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-DLQ07SoM.js";
|
|
2
2
|
import { $ as PageShell, A as DropdownMenuContent, At as TabsList, B as DropdownMenuSubContent, Bt as ToastContainer, C as DialogOverlay, Ct as TableCell, D as DropZone, Dt as TableRow, E as DialogTrigger, Et as TableHeader, F as DropdownMenuRadioGroup, G as Heading, Gt as buttonVariants, H as DropdownMenuTrigger, Ht as Toolbar, I as DropdownMenuRadioItem, J as Input, Jt as useTheme, K as IconTile, Kt as initialsOf, L as DropdownMenuSeparator, Lt as TextShimmer, M as DropdownMenuItem, Mt as Tag, N as DropdownMenuLabel, O as DropdownMenu, Ot as Tabs, P as DropdownMenuPortal, Pt as TerminalDisplay, Q as PageHeader, Qt as TangleKnot, R as DropdownMenuShortcut, Rt as Textarea, S as DialogHeader, St as TableCaption, T as DialogTitle, Tt as TableHead, U as EmptyState, Ut as UploadProgress, V as DropdownMenuSubTrigger, Vt as ToastProvider, W as FilterField, Wt as badgeVariants, X as Metric, Xt as SectionTitle, Y as Label, Yt as useToast, Z as MetricStrip, Zt as Logo, _ as Dialog, _t as StatusPill, a as Badge, at as SelectItem, b as DialogDescription, bt as Table, c as Card, ct as SelectScrollUpButton, d as CardFooter, dt as SelectValue, et as Progress, f as CardHeader, ft as SidebarDropZone, g as CopyButton, gt as StatCard, h as CodeBlock, ht as SkeletonTable, i as AvatarImage, it as SelectGroup, j as DropdownMenuGroup, jt as TabsTrigger, k as DropdownMenuCheckboxItem, kt as TabsContent, l as CardContent, lt as SelectSeparator, m as Chip, mt as SkeletonCard, n as Avatar, nt as Select, o as Button, ot as SelectLabel, p as CardTitle, pt as Skeleton, q as InlineCode, qt as toneFor, r as AvatarFallback, rt as SelectContent, s as CATEGORY_TONES, st as SelectScrollDownButton, tt as SegmentedControl, u as CardDescription, ut as SelectTrigger, v as DialogClose, vt as Switch, w as DialogPortal, wt as TableFooter, x as DialogFooter, xt as TableBody, y as DialogContent, yt as TONE_CLASSES, z as DropdownMenuSub, zt as ThemeToggle } from "./primitives-DLE_MCwZ.js";
|
|
3
3
|
import { t as WorkspacePaneHeader } from "./workspace-pane-header-Bg1cCcHX.js";
|
|
4
4
|
import { C as WorkspaceLayout, S as DirectoryPane, _ as formatRelativeAge, a as TaskBoard, b as StatusBar, c as SandboxWorkbench, d as createShellShouldRevalidate, f as shellShouldRevalidate, g as useOptimisticSessionItems, h as dispatchSessionCreated, i as CalendarView, l as WorkspaceArtifactView, m as SESSION_CREATED_EVENT, n as WorkspaceFilesPane, o as AuditResults, p as SessionSidebar, r as ApprovalQueue, s as AgentWorkbench, t as ArtifactPane, u as SessionActivityMonitor, v as RuntimePane, x as StatusBanner, y as TerminalPanel } from "./workspace-CjeZTLPQ.js";
|
|
5
|
-
import { $ as SidebarPanelHeader, A as SandboxStatusPill, B as ProfileAvatar, C as PlanCards, D as SandboxCard, E as NewSandboxCard, F as ClusterStatusBar, G as RailHeader, H as RailCollapseToggle, I as INSUFFICIENT_BALANCE_CODE, J as RailThemeToggle, K as RailModeButton, L as OutOfCreditsModal, M as ActivityFeed, N as ResourceSnapshot, O as canAdminSandbox, P as ResourceMeter, Q as SidebarPanelContent, R as parseInsufficientBalance, S as BackendSelector, T as SandboxTable, U as RailExpandable, V as RailButton, W as RailFlyout, X as SidebarContent, Y as Sidebar, Z as SidebarPanel, _ as HARNESS_OPTIONS, a as NetworkConfig, at as SIDEBAR_MOBILE_WIDTH, b as HARNESS_BRAND, c as GitPanel, ct as SIDEBAR_RAIL_WIDTH, d as VariantList, dt as useSidebar, et as SidebarRail, f as MetricAreaChart, g as DashboardLayout, h as SidebarLayout, i as BackendConfig, it as RailTooltip, j as sandboxStatus, k as SANDBOX_STATUS, l as UsageSummary, lt as SIDEBAR_TOTAL_WIDTH, m as ProfileSelector, n as PromoBanner, nt as SidebarRailHeader, o as ProcessList, ot as SIDEBAR_PANEL_WIDTH, p as ProfileComparison, q as RailSeparator, r as SnapshotList, rt as SidebarRailNav, s as PortsList, st as SIDEBAR_RAIL_LABELED_WIDTH, t as InfoPanel, tt as SidebarRailFooter, u as SystemLogsViewer, ut as SidebarProvider, v as HarnessPicker, w as InvoiceTable, x as HarnessLogo, y as chatCapableHarnesses, z as CreditBalance } from "./dashboard-
|
|
5
|
+
import { $ as SidebarPanelHeader, A as SandboxStatusPill, B as ProfileAvatar, C as PlanCards, D as SandboxCard, E as NewSandboxCard, F as ClusterStatusBar, G as RailHeader, H as RailCollapseToggle, I as INSUFFICIENT_BALANCE_CODE, J as RailThemeToggle, K as RailModeButton, L as OutOfCreditsModal, M as ActivityFeed, N as ResourceSnapshot, O as canAdminSandbox, P as ResourceMeter, Q as SidebarPanelContent, R as parseInsufficientBalance, S as BackendSelector, T as SandboxTable, U as RailExpandable, V as RailButton, W as RailFlyout, X as SidebarContent, Y as Sidebar, Z as SidebarPanel, _ as HARNESS_OPTIONS, a as NetworkConfig, at as SIDEBAR_MOBILE_WIDTH, b as HARNESS_BRAND, c as GitPanel, ct as SIDEBAR_RAIL_WIDTH, d as VariantList, dt as useSidebar, et as SidebarRail, f as MetricAreaChart, g as DashboardLayout, h as SidebarLayout, i as BackendConfig, it as RailTooltip, j as sandboxStatus, k as SANDBOX_STATUS, l as UsageSummary, lt as SIDEBAR_TOTAL_WIDTH, m as ProfileSelector, n as PromoBanner, nt as SidebarRailHeader, o as ProcessList, ot as SIDEBAR_PANEL_WIDTH, p as ProfileComparison, q as RailSeparator, r as SnapshotList, rt as SidebarRailNav, s as PortsList, st as SIDEBAR_RAIL_LABELED_WIDTH, t as InfoPanel, tt as SidebarRailFooter, u as SystemLogsViewer, ut as SidebarProvider, v as HarnessPicker, w as InvoiceTable, x as HarnessLogo, y as chatCapableHarnesses, z as CreditBalance } from "./dashboard-Ce1Qy0Yv.js";
|
|
6
6
|
import { n as canonicalModelId, r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
7
7
|
import { a as PricingPage, i as UsageChart, n as SandboxPageShell, o as formatPrice, r as TemplateCard, s as BillingDashboard, t as DashboardPageHeader } from "./page-layout-DJV7cbxx.js";
|
|
8
8
|
import { t as usePtySession } from "./use-pty-session-Bf4hBLXJ.js";
|
package/dist/pages.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ import { CSSProperties, ReactNode } from "react";
|
|
|
6
6
|
/**
|
|
7
7
|
* Shared, self-contained sign-in / sign-up page for every Tangle vertical app.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* `className`/`style`).
|
|
9
|
+
* Paints from Brand's semantic tokens, so it follows the app's light, dark or
|
|
10
|
+
* named theme, and every token carries a light fallback, so an app that loads
|
|
11
|
+
* no token sheet still renders a complete light page (the bug that made per-app
|
|
12
|
+
* hand-rolled logins drift was a Tangle button rendering dark-on-dark when an
|
|
13
|
+
* app didn't load the expected token sheet). Everything is overridable via props
|
|
14
|
+
* for per-app customization (`accent`, `providers`, copy, `className`/`style`).
|
|
15
15
|
*
|
|
16
16
|
* Each app's login route becomes a thin wrapper:
|
|
17
17
|
* export default () => <AuthPage product="Legal" tangleAuthUrl="/auth/tangle/start" />
|
|
@@ -47,10 +47,12 @@ interface AuthPageProps {
|
|
|
47
47
|
collectName?: boolean;
|
|
48
48
|
/** Footer link target for the opposite mode (signup from signin, vice versa). */
|
|
49
49
|
altHref?: string;
|
|
50
|
-
/** Primary (Tangle) button background. Default
|
|
50
|
+
/** Primary (Tangle) button background. Default the theme's ink (`--foreground`), which inverts in dark mode. */
|
|
51
51
|
accent?: string;
|
|
52
|
-
/** Primary button hover background. Default
|
|
52
|
+
/** Primary button hover background. Default the ink, or `accent`, at 88%. */
|
|
53
53
|
accentHover?: string;
|
|
54
|
+
/** Primary button label colour. Default the theme's canvas (`--background`) on the default ink, white on a custom `accent`. */
|
|
55
|
+
accentForeground?: string;
|
|
54
56
|
/** Optional brand-mark size in the lockup. Default "lg". */
|
|
55
57
|
logoSize?: "sm" | "md" | "lg" | "xl";
|
|
56
58
|
/** Escape hatch: extra class on the card. */
|
|
@@ -60,7 +62,7 @@ interface AuthPageProps {
|
|
|
60
62
|
/** Optional node rendered above the footer (legal copy, SSO notice, etc.). */
|
|
61
63
|
children?: ReactNode;
|
|
62
64
|
}
|
|
63
|
-
export declare function AuthPage({ product, tagline, mode, tangleAuthUrl, providers, socialHref, onEmailSubmit, collectName, altHref, accent, accentHover, logoSize, className, style, children }: AuthPageProps): import("react").JSX.Element;
|
|
65
|
+
export declare function AuthPage({ product, tagline, mode, tangleAuthUrl, providers, socialHref, onEmailSubmit, collectName, altHref, accent, accentHover, accentForeground, logoSize, className, style, children }: AuthPageProps): import("react").JSX.Element;
|
|
64
66
|
//#endregion
|
|
65
67
|
//#region src/pages/billing-page.d.ts
|
|
66
68
|
type ProductVariant = "sandbox";
|
package/dist/pages.js
CHANGED
|
@@ -10,12 +10,17 @@ import { AlertCircle, ArrowLeft, Check, CheckCircle, ChevronDown, ChevronRight,
|
|
|
10
10
|
import { focusField, focusRing } from "@tangle-network/ui/utils";
|
|
11
11
|
//#region src/pages/auth-page.tsx
|
|
12
12
|
const C = {
|
|
13
|
-
pageBg: "
|
|
14
|
-
card: "
|
|
15
|
-
border: "
|
|
16
|
-
text: "
|
|
17
|
-
muted: "
|
|
18
|
-
inputBg: "#f5f5f4"
|
|
13
|
+
pageBg: "hsl(var(--background, 240 5% 97%))",
|
|
14
|
+
card: "hsl(var(--card, 0 0% 100%))",
|
|
15
|
+
border: "hsl(var(--border, 214 32% 91%))",
|
|
16
|
+
text: "hsl(var(--card-foreground, 222 47% 11%))",
|
|
17
|
+
muted: "hsl(var(--muted-foreground, 240 4% 46%))",
|
|
18
|
+
inputBg: "var(--bg-input, #f5f5f4)",
|
|
19
|
+
hover: "hsl(var(--muted, 240 5% 96%))",
|
|
20
|
+
danger: "hsl(var(--destructive, 0 72% 42%))",
|
|
21
|
+
ink: "hsl(var(--foreground, 222 47% 11%))",
|
|
22
|
+
inkHover: "hsl(var(--foreground, 222 47% 11%) / 0.88)",
|
|
23
|
+
onInk: "hsl(var(--background, 0 0% 100%))"
|
|
19
24
|
};
|
|
20
25
|
function GithubIcon() {
|
|
21
26
|
return /* @__PURE__ */ jsx("svg", {
|
|
@@ -61,12 +66,15 @@ const SOCIAL_ICON = {
|
|
|
61
66
|
github: /* @__PURE__ */ jsx(GithubIcon, {}),
|
|
62
67
|
google: /* @__PURE__ */ jsx(GoogleIcon, {})
|
|
63
68
|
};
|
|
64
|
-
function AuthPage({ product, tagline, mode = "signin", tangleAuthUrl = "/auth/tangle/start", providers = ["github", "google"], socialHref = (p) => `/api/auth/sign-in/social?provider=${p}&callbackURL=/app`, onEmailSubmit, collectName, altHref, accent
|
|
69
|
+
function AuthPage({ product, tagline, mode = "signin", tangleAuthUrl = "/auth/tangle/start", providers = ["github", "google"], socialHref = (p) => `/api/auth/sign-in/social?provider=${p}&callbackURL=/app`, onEmailSubmit, collectName, altHref, accent, accentHover, accentForeground, logoSize = "lg", className, style, children }) {
|
|
65
70
|
const [name, setName] = useState("");
|
|
66
71
|
const [email, setEmail] = useState("");
|
|
67
72
|
const [password, setPassword] = useState("");
|
|
68
73
|
const [error, setError] = useState("");
|
|
69
74
|
const [loading, setLoading] = useState(false);
|
|
75
|
+
const buttonBg = accent ?? C.ink;
|
|
76
|
+
const buttonHoverBg = accentHover ?? (accent ? `color-mix(in oklch, ${accent} 88%, transparent)` : C.inkHover);
|
|
77
|
+
const buttonFg = accentForeground ?? (accent ? "#fff" : C.onInk);
|
|
70
78
|
const isSignup = mode === "signup";
|
|
71
79
|
const showName = collectName ?? isSignup;
|
|
72
80
|
const tangleLabel = isSignup ? "Sign up with Tangle" : "Continue with Tangle";
|
|
@@ -126,6 +134,7 @@ function AuthPage({ product, tagline, mode = "signin", tangleAuthUrl = "/auth/ta
|
|
|
126
134
|
width: "100%",
|
|
127
135
|
maxWidth: 384,
|
|
128
136
|
background: C.card,
|
|
137
|
+
color: C.text,
|
|
129
138
|
border: `1px solid ${C.border}`,
|
|
130
139
|
borderRadius: 16,
|
|
131
140
|
padding: 32,
|
|
@@ -158,16 +167,16 @@ function AuthPage({ product, tagline, mode = "signin", tangleAuthUrl = "/auth/ta
|
|
|
158
167
|
width: "100%",
|
|
159
168
|
padding: "10px 12px",
|
|
160
169
|
borderRadius: 8,
|
|
161
|
-
background:
|
|
162
|
-
border: "1px solid
|
|
163
|
-
color:
|
|
170
|
+
background: buttonBg,
|
|
171
|
+
border: "1px solid transparent",
|
|
172
|
+
color: buttonFg,
|
|
164
173
|
fontSize: 14,
|
|
165
174
|
fontWeight: 600,
|
|
166
175
|
textDecoration: "none",
|
|
167
176
|
transition: "background 120ms"
|
|
168
177
|
},
|
|
169
|
-
onMouseEnter: (e) => e.currentTarget.style.background =
|
|
170
|
-
onMouseLeave: (e) => e.currentTarget.style.background =
|
|
178
|
+
onMouseEnter: (e) => e.currentTarget.style.background = buttonHoverBg,
|
|
179
|
+
onMouseLeave: (e) => e.currentTarget.style.background = buttonBg,
|
|
171
180
|
children: [/* @__PURE__ */ jsx(TangleKnot, { size: 16 }), tangleLabel]
|
|
172
181
|
}),
|
|
173
182
|
providers.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
@@ -183,7 +192,7 @@ function AuthPage({ product, tagline, mode = "signin", tangleAuthUrl = "/auth/ta
|
|
|
183
192
|
onClick: () => {
|
|
184
193
|
window.location.href = socialHref(p);
|
|
185
194
|
},
|
|
186
|
-
onMouseEnter: (e) => e.currentTarget.style.background =
|
|
195
|
+
onMouseEnter: (e) => e.currentTarget.style.background = C.hover,
|
|
187
196
|
onMouseLeave: (e) => e.currentTarget.style.background = "transparent",
|
|
188
197
|
children: [
|
|
189
198
|
SOCIAL_ICON[p],
|
|
@@ -258,7 +267,7 @@ function AuthPage({ product, tagline, mode = "signin", tangleAuthUrl = "/auth/ta
|
|
|
258
267
|
role: "alert",
|
|
259
268
|
style: {
|
|
260
269
|
fontSize: 14,
|
|
261
|
-
color:
|
|
270
|
+
color: C.danger
|
|
262
271
|
},
|
|
263
272
|
children: error
|
|
264
273
|
}),
|
package/dist/styles.css
CHANGED
|
@@ -2564,9 +2564,6 @@
|
|
|
2564
2564
|
.bg-\[var\(--surface-success-text\)\] {
|
|
2565
2565
|
background-color: var(--surface-success-text);
|
|
2566
2566
|
}
|
|
2567
|
-
.bg-\[var\(--surface-violet-bg\)\] {
|
|
2568
|
-
background-color: var(--surface-violet-bg);
|
|
2569
|
-
}
|
|
2570
2567
|
.bg-\[var\(--surface-warning-bg\)\] {
|
|
2571
2568
|
background-color: var(--surface-warning-bg);
|
|
2572
2569
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
2
|
-
import { s as PortsList } from "./dashboard-
|
|
2
|
+
import { s as PortsList } from "./dashboard-Ce1Qy0Yv.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-DLQ07SoM.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 };
|
package/package.json
CHANGED