@tangle-network/sandbox-ui 0.8.4 → 0.10.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 +5 -6
- package/dist/auth.js +2 -2
- package/dist/chat.js +3 -3
- package/dist/{chunk-XXDFEF72.js → chunk-2XCOGNZP.js} +131 -52
- package/dist/{chunk-VOUV7GGB.js → chunk-DI3NZ5ZX.js} +8 -22
- package/dist/{chunk-BUOQTBTO.js → chunk-JLKYXLFN.js} +1 -1
- package/dist/{chunk-2QZ6G7NM.js → chunk-MKTSMWVD.js} +5 -5
- package/dist/{chunk-UXQMIR3D.js → chunk-OHPW55EV.js} +1 -1
- package/dist/{chunk-WXK43R62.js → chunk-PLTZB5BC.js} +1 -1
- package/dist/{chunk-HFMAXUHV.js → chunk-QC4BJEG6.js} +2 -2
- package/dist/{chunk-3CJ2SOEI.js → chunk-US6JKJKH.js} +2 -2
- package/dist/{chunk-7U2Z23NE.js → chunk-VX3XOUEB.js} +15 -1
- package/dist/dashboard.d.ts +25 -4
- package/dist/dashboard.js +67 -18
- package/dist/globals.css +538 -1038
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/openui.js +2 -2
- package/dist/pages.d.ts +77 -5
- package/dist/pages.js +1263 -165
- package/dist/primitives.js +2 -2
- package/dist/styles.css +538 -1038
- package/dist/tokens.css +248 -857
- package/dist/{variant-list-C8wx2TqF.d.ts → variant-list-BNwUOSgz.d.ts} +14 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +4 -4
- package/package.json +16 -3
|
@@ -235,6 +235,19 @@ interface DashboardLayoutProps {
|
|
|
235
235
|
railFooter?: React.ReactNode;
|
|
236
236
|
/** Extra dropdown items in the profile menu */
|
|
237
237
|
profileMenuItems?: React.ReactNode;
|
|
238
|
+
/** Notification data for the bell dropdown */
|
|
239
|
+
notifications?: {
|
|
240
|
+
items: {
|
|
241
|
+
id: string;
|
|
242
|
+
title: string;
|
|
243
|
+
message: string;
|
|
244
|
+
read: boolean;
|
|
245
|
+
createdAt: string;
|
|
246
|
+
}[];
|
|
247
|
+
unreadCount: number;
|
|
248
|
+
onMarkRead?: (id: string) => void;
|
|
249
|
+
onMarkAllRead?: () => void;
|
|
250
|
+
};
|
|
238
251
|
}
|
|
239
252
|
declare function DashboardLayout({ defaultPanelOpen, defaultMode, ...props }: DashboardLayoutProps): react_jsx_runtime.JSX.Element;
|
|
240
253
|
|
|
@@ -376,4 +389,4 @@ interface VariantListProps {
|
|
|
376
389
|
}
|
|
377
390
|
declare function VariantList({ variants, selectedId, onSelect, onAccept, onReject, isActioning, className, }: VariantListProps): react_jsx_runtime.JSX.Element;
|
|
378
391
|
|
|
379
|
-
export { type
|
|
392
|
+
export { type SidebarPanelProps as $, type RailSeparatorProps as A, type Backend as B, ClusterStatusBar as C, DashboardLayout as D, ResourceMeter as E, type ResourceMeterProps as F, SIDEBAR_RAIL_WIDTH as G, SIDEBAR_TOTAL_WIDTH as H, type Invoice as I, SandboxCard as J, type SandboxCardData as K, type SandboxCardProps as L, type SandboxStatus as M, type NavItem as N, SandboxTable as O, type PanelConfig as P, type SandboxTableProps as Q, RailButton as R, SIDEBAR_PANEL_WIDTH as S, Sidebar as T, SidebarContent as U, type SidebarContentProps as V, SidebarPanel as W, SidebarPanelContent as X, type SidebarPanelContentProps as Y, SidebarPanelHeader as Z, type SidebarPanelHeaderProps as _, BackendSelector as a, type SidebarProps as a0, SidebarProvider as a1, type SidebarProviderProps as a2, SidebarRail as a3, SidebarRailFooter as a4, type SidebarRailFooterProps as a5, SidebarRailHeader as a6, type SidebarRailHeaderProps as a7, SidebarRailNav as a8, type SidebarRailNavProps as a9, type SidebarRailProps as aa, type SidebarUser as ab, type TopNavLink as ac, VariantList as ad, type VariantListProps as ae, useSidebar as af, type Profile as ag, type PlanFeature as ah, type Variant as ai, type VariantOutcome as aj, type VariantStatus as ak, type BackendSelectorProps as b, type ClusterStatusBarProps as c, type ClusterStatusItem as d, CreditBalance as e, type CreditBalanceProps as f, type DashboardLayoutProps as g, type DashboardUser as h, InvoiceTable as i, type InvoiceTableProps as j, NewSandboxCard as k, type NewSandboxCardProps as l, type PlanCardData as m, PlanCards as n, type PlanCardsProps as o, type ProductVariant as p, ProfileAvatar as q, type ProfileAvatarProps as r, ProfileComparison as s, type ProfileComparisonProps as t, ProfileSelector as u, type ProfileSelectorProps as v, type RailButtonProps as w, RailModeButton as x, type RailModeButtonProps as y, RailSeparator as z };
|
package/dist/workspace.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ interface WorkspaceLayoutProps {
|
|
|
59
59
|
/** Disable resize handles */
|
|
60
60
|
resizable?: boolean;
|
|
61
61
|
/** Visual theme for sandbox surfaces */
|
|
62
|
-
theme?: "
|
|
62
|
+
theme?: "vault";
|
|
63
63
|
/** Density mode for control sizing */
|
|
64
64
|
density?: "comfortable" | "compact";
|
|
65
65
|
/** Accessible label for the left panel */
|
package/dist/workspace.js
CHANGED
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
StatusBar,
|
|
11
11
|
TerminalPanel,
|
|
12
12
|
WorkspaceLayout
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QC4BJEG6.js";
|
|
14
14
|
import "./chunk-OEX7NZE3.js";
|
|
15
15
|
import "./chunk-MA7YKRUP.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JLKYXLFN.js";
|
|
17
17
|
import "./chunk-54SQQMMM.js";
|
|
18
18
|
import "./chunk-EXSOPXIY.js";
|
|
19
19
|
import "./chunk-HRMUF35V.js";
|
|
20
20
|
import "./chunk-MT5FJ3ZT.js";
|
|
21
21
|
import "./chunk-BX6AQMUS.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-PLTZB5BC.js";
|
|
23
23
|
import "./chunk-34I7UFSX.js";
|
|
24
24
|
import "./chunk-QDH5GEGY.js";
|
|
25
25
|
import {
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-HB5Y37YU.js";
|
|
28
28
|
import "./chunk-T7HMZEVO.js";
|
|
29
29
|
import "./chunk-ZMNSRDMH.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-MKTSMWVD.js";
|
|
31
31
|
import "./chunk-RQHJBTEU.js";
|
|
32
32
|
export {
|
|
33
33
|
AgentWorkbench,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -100,7 +100,9 @@
|
|
|
100
100
|
"dev": "tsup --watch",
|
|
101
101
|
"typecheck": "tsc --noEmit",
|
|
102
102
|
"storybook": "storybook dev -p 6006",
|
|
103
|
-
"build-storybook": "storybook build"
|
|
103
|
+
"build-storybook": "storybook build",
|
|
104
|
+
"test": "vitest run",
|
|
105
|
+
"test:watch": "vitest"
|
|
104
106
|
},
|
|
105
107
|
"peerDependencies": {
|
|
106
108
|
"react": "^18 || ^19",
|
|
@@ -173,6 +175,11 @@
|
|
|
173
175
|
"tailwind-merge": "^3.0.2",
|
|
174
176
|
"turndown": "^7.2.2"
|
|
175
177
|
},
|
|
178
|
+
"pnpm": {
|
|
179
|
+
"overrides": {
|
|
180
|
+
"picomatch": ">=4.0.4"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
176
183
|
"devDependencies": {
|
|
177
184
|
"@hocuspocus/provider": "^3.4.4",
|
|
178
185
|
"@storybook/addon-essentials": "^8",
|
|
@@ -182,6 +189,10 @@
|
|
|
182
189
|
"@tailwindcss/postcss": "^4.2.2",
|
|
183
190
|
"@tailwindcss/vite": "^4.2.2",
|
|
184
191
|
"@tanstack/react-query": "^5.91.0",
|
|
192
|
+
"@testing-library/dom": "^10.4.1",
|
|
193
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
194
|
+
"@testing-library/react": "^16.3.2",
|
|
195
|
+
"@testing-library/user-event": "^14.6.1",
|
|
185
196
|
"@tiptap/core": "^3.20.4",
|
|
186
197
|
"@tiptap/extension-collaboration": "^3.20.4",
|
|
187
198
|
"@tiptap/extension-collaboration-caret": "^3.7.0",
|
|
@@ -193,6 +204,7 @@
|
|
|
193
204
|
"@xterm/addon-fit": "^0.11.0",
|
|
194
205
|
"@xterm/addon-web-links": "^0.12.0",
|
|
195
206
|
"@xterm/xterm": "^6.0.0",
|
|
207
|
+
"jsdom": "^29.0.2",
|
|
196
208
|
"postcss": "^8.5.8",
|
|
197
209
|
"react": "^19.1.0",
|
|
198
210
|
"react-dom": "^19.1.0",
|
|
@@ -201,7 +213,8 @@
|
|
|
201
213
|
"tailwindcss-animate": "^1.0.7",
|
|
202
214
|
"tsup": "^8.4.0",
|
|
203
215
|
"typescript": "^5.8.3",
|
|
204
|
-
"vite": "^8.0.
|
|
216
|
+
"vite": "^8.0.5",
|
|
217
|
+
"vitest": "^4.1.3",
|
|
205
218
|
"yjs": "^13.6.30"
|
|
206
219
|
}
|
|
207
220
|
}
|