@tangle-network/sandbox-ui 0.21.1 → 0.22.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/dist/assets.d.ts +81 -0
- package/dist/assets.js +935 -0
- package/dist/auth.js +3 -1
- package/dist/{chunk-R6NONXFC.js → chunk-BP6ZTBI6.js} +2 -2
- package/dist/{chunk-IOB2PW5Z.js → chunk-R3ZMMCT3.js} +5 -13
- package/dist/chunk-SM7IJY4I.js +178 -0
- package/dist/{chunk-7ZA5SEK3.js → chunk-UHFJXO24.js} +1 -177
- package/dist/{chunk-LA5GHELP.js → chunk-ZNYEJERQ.js} +4 -2
- package/dist/dashboard.js +3 -2
- package/dist/globals.css +92 -0
- package/dist/index.js +8 -6
- package/dist/pages.js +2 -1
- package/dist/primitives.js +5 -3
- package/dist/styles.css +92 -0
- package/dist/workspace.js +1 -1
- package/package.json +17 -17
package/dist/index.js
CHANGED
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
LoginLayout,
|
|
59
59
|
TangleLoginButton,
|
|
60
60
|
UserMenu
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-R3ZMMCT3.js";
|
|
62
62
|
import {
|
|
63
63
|
RealtimeSessionRegistry,
|
|
64
64
|
createAuthFetcher,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
TaskBoard,
|
|
129
129
|
TerminalPanel,
|
|
130
130
|
WorkspaceLayout
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-BP6ZTBI6.js";
|
|
132
132
|
import {
|
|
133
133
|
OpenUIArtifactRenderer
|
|
134
134
|
} from "./chunk-AZ3AWMTM.js";
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
canAdminSandbox,
|
|
187
187
|
parseInsufficientBalance,
|
|
188
188
|
useSidebar
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-ZNYEJERQ.js";
|
|
190
190
|
import {
|
|
191
191
|
BillingDashboard,
|
|
192
192
|
InfoPanel,
|
|
@@ -239,7 +239,6 @@ import {
|
|
|
239
239
|
InlineCode,
|
|
240
240
|
Input,
|
|
241
241
|
Label,
|
|
242
|
-
Logo,
|
|
243
242
|
Progress,
|
|
244
243
|
SegmentedControl,
|
|
245
244
|
Select,
|
|
@@ -270,7 +269,6 @@ import {
|
|
|
270
269
|
TabsContent,
|
|
271
270
|
TabsList,
|
|
272
271
|
TabsTrigger,
|
|
273
|
-
TangleKnot,
|
|
274
272
|
TerminalDisplay,
|
|
275
273
|
Textarea,
|
|
276
274
|
ThemeToggle,
|
|
@@ -281,7 +279,11 @@ import {
|
|
|
281
279
|
buttonVariants,
|
|
282
280
|
useTheme,
|
|
283
281
|
useToast
|
|
284
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-SM7IJY4I.js";
|
|
283
|
+
import {
|
|
284
|
+
Logo,
|
|
285
|
+
TangleKnot
|
|
286
|
+
} from "./chunk-UHFJXO24.js";
|
|
285
287
|
import {
|
|
286
288
|
BackendSelector,
|
|
287
289
|
HARNESS_OPTIONS,
|
package/dist/pages.js
CHANGED
package/dist/primitives.js
CHANGED
|
@@ -42,7 +42,6 @@ import {
|
|
|
42
42
|
InlineCode,
|
|
43
43
|
Input,
|
|
44
44
|
Label,
|
|
45
|
-
Logo,
|
|
46
45
|
Progress,
|
|
47
46
|
SegmentedControl,
|
|
48
47
|
Select,
|
|
@@ -73,7 +72,6 @@ import {
|
|
|
73
72
|
TabsContent,
|
|
74
73
|
TabsList,
|
|
75
74
|
TabsTrigger,
|
|
76
|
-
TangleKnot,
|
|
77
75
|
TerminalCursor,
|
|
78
76
|
TerminalDisplay,
|
|
79
77
|
TerminalInput,
|
|
@@ -87,7 +85,11 @@ import {
|
|
|
87
85
|
buttonVariants,
|
|
88
86
|
useTheme,
|
|
89
87
|
useToast
|
|
90
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-SM7IJY4I.js";
|
|
89
|
+
import {
|
|
90
|
+
Logo,
|
|
91
|
+
TangleKnot
|
|
92
|
+
} from "./chunk-UHFJXO24.js";
|
|
91
93
|
import "./chunk-EI44GEQ5.js";
|
|
92
94
|
export {
|
|
93
95
|
Avatar,
|
package/dist/styles.css
CHANGED
|
@@ -365,6 +365,9 @@
|
|
|
365
365
|
.bottom-0 {
|
|
366
366
|
bottom: calc(var(--spacing) * 0);
|
|
367
367
|
}
|
|
368
|
+
.bottom-2 {
|
|
369
|
+
bottom: calc(var(--spacing) * 2);
|
|
370
|
+
}
|
|
368
371
|
.bottom-4 {
|
|
369
372
|
bottom: calc(var(--spacing) * 4);
|
|
370
373
|
}
|
|
@@ -380,12 +383,18 @@
|
|
|
380
383
|
.left-0\.5 {
|
|
381
384
|
left: calc(var(--spacing) * 0.5);
|
|
382
385
|
}
|
|
386
|
+
.left-1 {
|
|
387
|
+
left: calc(var(--spacing) * 1);
|
|
388
|
+
}
|
|
383
389
|
.left-1\/2 {
|
|
384
390
|
left: calc(1 / 2 * 100%);
|
|
385
391
|
}
|
|
386
392
|
.left-2 {
|
|
387
393
|
left: calc(var(--spacing) * 2);
|
|
388
394
|
}
|
|
395
|
+
.left-2\.5 {
|
|
396
|
+
left: calc(var(--spacing) * 2.5);
|
|
397
|
+
}
|
|
389
398
|
.left-3 {
|
|
390
399
|
left: calc(var(--spacing) * 3);
|
|
391
400
|
}
|
|
@@ -602,6 +611,9 @@
|
|
|
602
611
|
.table {
|
|
603
612
|
display: table;
|
|
604
613
|
}
|
|
614
|
+
.aspect-\[9\/16\] {
|
|
615
|
+
aspect-ratio: 9/16;
|
|
616
|
+
}
|
|
605
617
|
.aspect-square {
|
|
606
618
|
aspect-ratio: 1 / 1;
|
|
607
619
|
}
|
|
@@ -723,6 +735,9 @@
|
|
|
723
735
|
.h-screen {
|
|
724
736
|
height: 100vh;
|
|
725
737
|
}
|
|
738
|
+
.max-h-40 {
|
|
739
|
+
max-height: calc(var(--spacing) * 40);
|
|
740
|
+
}
|
|
726
741
|
.max-h-48 {
|
|
727
742
|
max-height: calc(var(--spacing) * 48);
|
|
728
743
|
}
|
|
@@ -777,6 +792,9 @@
|
|
|
777
792
|
.min-h-\[44px\] {
|
|
778
793
|
min-height: 44px;
|
|
779
794
|
}
|
|
795
|
+
.min-h-\[60px\] {
|
|
796
|
+
min-height: 60px;
|
|
797
|
+
}
|
|
780
798
|
.min-h-\[72px\] {
|
|
781
799
|
min-height: 72px;
|
|
782
800
|
}
|
|
@@ -792,6 +810,9 @@
|
|
|
792
810
|
.min-h-\[200px\] {
|
|
793
811
|
min-height: 200px;
|
|
794
812
|
}
|
|
813
|
+
.min-h-\[300px\] {
|
|
814
|
+
min-height: 300px;
|
|
815
|
+
}
|
|
795
816
|
.min-h-full {
|
|
796
817
|
min-height: 100%;
|
|
797
818
|
}
|
|
@@ -1065,6 +1086,9 @@
|
|
|
1065
1086
|
.min-w-4 {
|
|
1066
1087
|
min-width: calc(var(--spacing) * 4);
|
|
1067
1088
|
}
|
|
1089
|
+
.min-w-40 {
|
|
1090
|
+
min-width: calc(var(--spacing) * 40);
|
|
1091
|
+
}
|
|
1068
1092
|
.min-w-\[8rem\] {
|
|
1069
1093
|
min-width: 8rem;
|
|
1070
1094
|
}
|
|
@@ -1614,6 +1638,10 @@
|
|
|
1614
1638
|
border-left-style: var(--tw-border-style);
|
|
1615
1639
|
border-left-width: 1px;
|
|
1616
1640
|
}
|
|
1641
|
+
.border-l-2 {
|
|
1642
|
+
border-left-style: var(--tw-border-style);
|
|
1643
|
+
border-left-width: 2px;
|
|
1644
|
+
}
|
|
1617
1645
|
.border-dashed {
|
|
1618
1646
|
--tw-border-style: dashed;
|
|
1619
1647
|
border-style: dashed;
|
|
@@ -1931,6 +1959,9 @@
|
|
|
1931
1959
|
background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);
|
|
1932
1960
|
}
|
|
1933
1961
|
}
|
|
1962
|
+
.bg-black {
|
|
1963
|
+
background-color: var(--color-black);
|
|
1964
|
+
}
|
|
1934
1965
|
.bg-black\/40 {
|
|
1935
1966
|
background-color: color-mix(in srgb, #000 40%, transparent);
|
|
1936
1967
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2039,6 +2070,12 @@
|
|
|
2039
2070
|
background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
2040
2071
|
}
|
|
2041
2072
|
}
|
|
2073
|
+
.bg-white\/40 {
|
|
2074
|
+
background-color: color-mix(in srgb, #fff 40%, transparent);
|
|
2075
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2076
|
+
background-color: color-mix(in oklab, var(--color-white) 40%, transparent);
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2042
2079
|
.bg-yellow-500 {
|
|
2043
2080
|
background-color: var(--color-yellow-500);
|
|
2044
2081
|
}
|
|
@@ -2078,6 +2115,9 @@
|
|
|
2078
2115
|
.object-contain {
|
|
2079
2116
|
object-fit: contain;
|
|
2080
2117
|
}
|
|
2118
|
+
.object-cover {
|
|
2119
|
+
object-fit: cover;
|
|
2120
|
+
}
|
|
2081
2121
|
.p-0 {
|
|
2082
2122
|
padding: calc(var(--spacing) * 0);
|
|
2083
2123
|
}
|
|
@@ -2270,6 +2310,9 @@
|
|
|
2270
2310
|
.pt-16 {
|
|
2271
2311
|
padding-top: calc(var(--spacing) * 16);
|
|
2272
2312
|
}
|
|
2313
|
+
.pr-1 {
|
|
2314
|
+
padding-right: calc(var(--spacing) * 1);
|
|
2315
|
+
}
|
|
2273
2316
|
.pr-2 {
|
|
2274
2317
|
padding-right: calc(var(--spacing) * 2);
|
|
2275
2318
|
}
|
|
@@ -2309,6 +2352,9 @@
|
|
|
2309
2352
|
.pl-2 {
|
|
2310
2353
|
padding-left: calc(var(--spacing) * 2);
|
|
2311
2354
|
}
|
|
2355
|
+
.pl-3 {
|
|
2356
|
+
padding-left: calc(var(--spacing) * 3);
|
|
2357
|
+
}
|
|
2312
2358
|
.pl-4 {
|
|
2313
2359
|
padding-left: calc(var(--spacing) * 4);
|
|
2314
2360
|
}
|
|
@@ -2678,6 +2724,9 @@
|
|
|
2678
2724
|
.text-blue-400 {
|
|
2679
2725
|
color: var(--color-blue-400);
|
|
2680
2726
|
}
|
|
2727
|
+
.text-blue-500 {
|
|
2728
|
+
color: var(--color-blue-500);
|
|
2729
|
+
}
|
|
2681
2730
|
.text-emerald-400 {
|
|
2682
2731
|
color: var(--color-emerald-400);
|
|
2683
2732
|
}
|
|
@@ -2735,6 +2784,9 @@
|
|
|
2735
2784
|
.italic {
|
|
2736
2785
|
font-style: italic;
|
|
2737
2786
|
}
|
|
2787
|
+
.not-italic {
|
|
2788
|
+
font-style: normal;
|
|
2789
|
+
}
|
|
2738
2790
|
.tabular-nums {
|
|
2739
2791
|
--tw-numeric-spacing: tabular-nums;
|
|
2740
2792
|
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
@@ -2758,6 +2810,9 @@
|
|
|
2758
2810
|
.opacity-30 {
|
|
2759
2811
|
opacity: 30%;
|
|
2760
2812
|
}
|
|
2813
|
+
.opacity-40 {
|
|
2814
|
+
opacity: 40%;
|
|
2815
|
+
}
|
|
2761
2816
|
.opacity-50 {
|
|
2762
2817
|
opacity: 50%;
|
|
2763
2818
|
}
|
|
@@ -3204,6 +3259,16 @@
|
|
|
3204
3259
|
}
|
|
3205
3260
|
}
|
|
3206
3261
|
}
|
|
3262
|
+
.hover\:bg-black\/60 {
|
|
3263
|
+
&:hover {
|
|
3264
|
+
@media (hover: hover) {
|
|
3265
|
+
background-color: color-mix(in srgb, #000 60%, transparent);
|
|
3266
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3267
|
+
background-color: color-mix(in oklab, var(--color-black) 60%, transparent);
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3207
3272
|
.hover\:bg-blue-600\/30 {
|
|
3208
3273
|
&:hover {
|
|
3209
3274
|
@media (hover: hover) {
|
|
@@ -3224,6 +3289,16 @@
|
|
|
3224
3289
|
}
|
|
3225
3290
|
}
|
|
3226
3291
|
}
|
|
3292
|
+
.hover\:bg-green-600\/5 {
|
|
3293
|
+
&:hover {
|
|
3294
|
+
@media (hover: hover) {
|
|
3295
|
+
background-color: color-mix(in srgb, oklch(62.7% 0.194 149.214) 5%, transparent);
|
|
3296
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3297
|
+
background-color: color-mix(in oklab, var(--color-green-600) 5%, transparent);
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
}
|
|
3301
|
+
}
|
|
3227
3302
|
.hover\:bg-green-600\/30 {
|
|
3228
3303
|
&:hover {
|
|
3229
3304
|
@media (hover: hover) {
|
|
@@ -3282,6 +3357,13 @@
|
|
|
3282
3357
|
}
|
|
3283
3358
|
}
|
|
3284
3359
|
}
|
|
3360
|
+
.hover\:text-green-600 {
|
|
3361
|
+
&:hover {
|
|
3362
|
+
@media (hover: hover) {
|
|
3363
|
+
color: var(--color-green-600);
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3285
3367
|
.hover\:underline {
|
|
3286
3368
|
&:hover {
|
|
3287
3369
|
@media (hover: hover) {
|
|
@@ -3597,6 +3679,11 @@
|
|
|
3597
3679
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3598
3680
|
}
|
|
3599
3681
|
}
|
|
3682
|
+
.sm\:grid-cols-3 {
|
|
3683
|
+
@media (width >= 40rem) {
|
|
3684
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
3600
3687
|
.sm\:grid-cols-4 {
|
|
3601
3688
|
@media (width >= 40rem) {
|
|
3602
3689
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
@@ -3783,6 +3870,11 @@
|
|
|
3783
3870
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3784
3871
|
}
|
|
3785
3872
|
}
|
|
3873
|
+
.xl\:grid-cols-5 {
|
|
3874
|
+
@media (width >= 80rem) {
|
|
3875
|
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3786
3878
|
.dark\:text-neutral-500 {
|
|
3787
3879
|
@media (prefers-color-scheme: dark) {
|
|
3788
3880
|
color: var(--color-neutral-500);
|
package/dist/workspace.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.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",
|
|
@@ -90,6 +90,10 @@
|
|
|
90
90
|
"import": "./dist/utils.js",
|
|
91
91
|
"types": "./dist/utils.d.ts"
|
|
92
92
|
},
|
|
93
|
+
"./assets": {
|
|
94
|
+
"import": "./dist/assets.js",
|
|
95
|
+
"types": "./dist/assets.d.ts"
|
|
96
|
+
},
|
|
93
97
|
"./styles": "./dist/styles.css",
|
|
94
98
|
"./globals.css": "./dist/globals.css",
|
|
95
99
|
"./tokens.css": "./dist/tokens.css",
|
|
@@ -99,16 +103,6 @@
|
|
|
99
103
|
"dist",
|
|
100
104
|
"tailwind.config.cjs"
|
|
101
105
|
],
|
|
102
|
-
"scripts": {
|
|
103
|
-
"build": "tsup",
|
|
104
|
-
"dev": "tsup --watch",
|
|
105
|
-
"typecheck": "tsc --noEmit",
|
|
106
|
-
"storybook": "storybook dev -p 6006",
|
|
107
|
-
"build-storybook": "storybook build",
|
|
108
|
-
"test": "vitest run",
|
|
109
|
-
"test:watch": "vitest",
|
|
110
|
-
"test:bridge": "pnpm build && vitest run src/__tests__/re-export-identity.test.ts"
|
|
111
|
-
},
|
|
112
106
|
"peerDependencies": {
|
|
113
107
|
"@tangle-network/brand": "^0.3.0",
|
|
114
108
|
"@tangle-network/ui": "^1.0.1",
|
|
@@ -139,14 +133,10 @@
|
|
|
139
133
|
"@lobehub/icons-static-svg": "^1.90.0",
|
|
140
134
|
"@radix-ui/react-dropdown-menu": "^2.1.0",
|
|
141
135
|
"@radix-ui/react-select": "^2.1.0",
|
|
136
|
+
"@tangle-network/agent-app": "^0.8.0",
|
|
142
137
|
"lucide-react": "^0.469.0",
|
|
143
138
|
"nanostores": "^1.2.0"
|
|
144
139
|
},
|
|
145
|
-
"pnpm": {
|
|
146
|
-
"overrides": {
|
|
147
|
-
"picomatch": ">=4.0.4"
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
140
|
"devDependencies": {
|
|
151
141
|
"@hocuspocus/provider": "^3.4.4",
|
|
152
142
|
"@nanostores/react": "^1.1.0",
|
|
@@ -194,5 +184,15 @@
|
|
|
194
184
|
"vite": "^8.0.5",
|
|
195
185
|
"vitest": "^4.1.3",
|
|
196
186
|
"yjs": "^13.6.30"
|
|
187
|
+
},
|
|
188
|
+
"scripts": {
|
|
189
|
+
"build": "tsup",
|
|
190
|
+
"dev": "tsup --watch",
|
|
191
|
+
"typecheck": "tsc --noEmit",
|
|
192
|
+
"storybook": "storybook dev -p 6006",
|
|
193
|
+
"build-storybook": "storybook build",
|
|
194
|
+
"test": "vitest run",
|
|
195
|
+
"test:watch": "vitest",
|
|
196
|
+
"test:bridge": "pnpm build && vitest run src/__tests__/re-export-identity.test.ts"
|
|
197
197
|
}
|
|
198
|
-
}
|
|
198
|
+
}
|