@tangle-network/sandbox-ui 0.2.0 → 0.2.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/auth.d.ts +1 -2
- package/dist/{button-BidTtuRS.d.ts → button-CMQuQEW_.d.ts} +4 -2
- package/dist/{chunk-HMND7JPA.js → chunk-J4OADEUK.js} +163 -217
- package/dist/chunk-OKCIKTXQ.js +63 -0
- package/dist/{chunk-ZOL2TR5M.js → chunk-SOT2V7TX.js} +162 -1
- package/dist/dashboard.js +2 -1
- package/dist/index.d.ts +3 -40
- package/dist/index.js +10 -161
- package/dist/primitives.d.ts +42 -5
- package/dist/primitives.js +15 -1
- package/package.json +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-RQHJBTEU.js";
|
|
4
|
+
|
|
5
|
+
// src/primitives/logo.tsx
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
var sizeConfig = {
|
|
9
|
+
sm: { icon: 24, text: "text-base", suffix: "text-xs", gap: "gap-1.5" },
|
|
10
|
+
md: { icon: 28, text: "text-lg", suffix: "text-sm", gap: "gap-2" },
|
|
11
|
+
lg: { icon: 36, text: "text-2xl", suffix: "text-base", gap: "gap-2.5" },
|
|
12
|
+
xl: { icon: 48, text: "text-3xl", suffix: "text-lg", gap: "gap-3" }
|
|
13
|
+
};
|
|
14
|
+
function TangleKnot({ size, className }) {
|
|
15
|
+
const uid = React.useId();
|
|
16
|
+
const g1 = `tk-a-${uid}`;
|
|
17
|
+
const g2 = `tk-b-${uid}`;
|
|
18
|
+
return /* @__PURE__ */ jsxs(
|
|
19
|
+
"svg",
|
|
20
|
+
{
|
|
21
|
+
width: size,
|
|
22
|
+
height: size,
|
|
23
|
+
viewBox: "20 45 156 140",
|
|
24
|
+
fill: "none",
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
className,
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ jsx("title", { children: "Tangle" }),
|
|
29
|
+
/* @__PURE__ */ jsxs("defs", { children: [
|
|
30
|
+
/* @__PURE__ */ jsxs("linearGradient", { id: g1, x1: "36.79", y1: "58.78", x2: "145.99", y2: "183.59", gradientUnits: "userSpaceOnUse", children: [
|
|
31
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "#8E59FF" }),
|
|
32
|
+
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "#6888F9" })
|
|
33
|
+
] }),
|
|
34
|
+
/* @__PURE__ */ jsxs("linearGradient", { id: g2, x1: "36.78", y1: "169.38", x2: "145.99", y2: "44.57", gradientUnits: "userSpaceOnUse", children: [
|
|
35
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "#8E59FF" }),
|
|
36
|
+
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "#6888F9" })
|
|
37
|
+
] })
|
|
38
|
+
] }),
|
|
39
|
+
/* @__PURE__ */ jsx("path", { d: "M170.74 150.082C170.747 142.848 167.464 135.908 161.612 130.784C155.76 125.66 147.818 122.772 139.528 122.754L104.921 122.754C104.704 119.939 104.567 117.062 104.567 114.078C104.567 111.095 104.429 108.231 104.236 105.403L139.528 105.403C147.746 105.288 155.582 102.359 161.347 97.2467C167.112 92.135 170.343 85.2506 170.343 78.0787C170.343 70.9069 167.112 64.0225 161.347 58.9107C155.582 53.799 147.746 50.8696 139.528 50.7545L56.817 50.7545C48.5993 50.8696 40.7628 53.799 34.9981 58.9107C29.2334 64.0225 26.0025 70.9069 26.0025 78.0787C26.0025 85.2506 29.2334 92.135 34.9981 97.2467C40.7628 102.359 48.5993 105.288 56.817 105.403L89.3238 106.163C91.5854 106.163 91.7785 111.095 91.7785 114.078C91.7785 117.062 91.9156 119.925 92.1091 122.754L56.817 122.754C48.5993 122.869 40.7628 125.798 34.9981 130.91C29.2334 136.022 26.0025 142.906 26.0025 150.078C26.0025 157.25 29.2334 164.134 34.9981 169.246C40.7628 174.358 48.5993 177.287 56.817 177.402L139.528 177.402C147.816 177.384 155.757 174.497 161.609 169.374C167.461 164.252 170.745 157.314 170.74 150.082ZM157.952 78.0752C157.954 82.3443 156.016 86.4397 152.562 89.463C149.108 92.4863 144.42 94.1905 139.528 94.2017L102.881 94.2017C101.554 86.2073 99.0244 78.4005 95.3585 70.9829C93.7421 67.7691 91.6728 64.7438 89.1983 61.9769L139.528 61.9769C144.415 61.988 149.097 63.6884 152.55 66.7056C156.003 69.7228 157.946 73.811 157.952 78.0752ZM56.817 94.2017C51.9157 94.2017 47.2151 92.5027 43.7493 89.4784C40.2835 86.4541 38.3364 82.3522 38.3364 78.0752C38.3364 73.7982 40.2835 69.6964 43.7493 66.6721C47.2151 63.6478 51.9157 61.9487 56.817 61.9487L65.1139 61.9487C72.4433 61.9487 79.3856 67.0146 83.7074 75.5071C86.6658 81.491 88.77 87.7697 89.9724 94.2017L56.817 94.2017ZM38.3929 150.082C38.3907 145.812 40.3293 141.717 43.7834 138.694C47.2374 135.67 51.9248 133.966 56.817 133.955L93.4637 133.955C94.7912 141.949 97.3206 149.756 100.987 157.174C102.603 160.388 104.672 163.413 107.147 166.18L56.817 166.18C51.9304 166.169 47.2479 164.468 43.7948 161.451C40.3416 158.434 38.3993 154.346 38.3929 150.082ZM112.686 152.65C109.728 146.666 107.623 140.387 106.421 133.955L139.528 133.955C144.429 133.955 149.13 135.654 152.596 138.678C156.062 141.703 158.009 145.804 158.009 150.082C158.009 154.359 156.062 158.46 152.596 161.485C149.13 164.509 144.429 166.208 139.528 166.208L131.231 166.208C123.934 166.208 116.992 161.142 112.686 152.65Z", fill: `url(#${g1})` }),
|
|
40
|
+
/* @__PURE__ */ jsx("path", { opacity: "0.8", d: "M170.74 78.0752C170.747 85.3089 167.463 92.2492 161.612 97.3728C155.76 102.496 147.817 105.384 139.527 105.403L104.92 105.403C104.702 108.217 104.565 111.095 104.565 114.078C104.565 117.062 104.428 119.925 104.235 122.754L139.527 122.754C147.745 122.869 155.582 125.798 161.347 130.91C167.112 136.022 170.342 142.906 170.342 150.078C170.342 157.25 167.112 164.134 161.347 169.246C155.582 174.358 147.745 177.287 139.527 177.402L56.8149 177.402C48.597 177.287 40.7604 174.358 34.9956 169.246C29.2307 164.134 25.9998 157.25 25.9998 150.078C25.9998 142.906 29.2307 136.022 34.9956 130.91C40.7604 125.798 48.597 122.869 56.8149 122.754L89.3223 121.994C91.5839 121.994 91.777 117.062 91.777 114.078C91.777 111.095 91.9141 108.231 92.1076 105.403L56.8149 105.403C48.597 105.288 40.7604 102.359 34.9956 97.2468C29.2307 92.135 25.9998 85.2506 25.9998 78.0788C25.9998 70.9069 29.2307 64.0225 34.9956 58.9108C40.7604 53.799 48.597 50.8696 56.8149 50.7545L139.527 50.7545C147.816 50.7731 155.757 53.6602 161.609 58.7823C167.46 63.9043 170.744 70.8428 170.74 78.0752ZM157.952 150.082C157.954 145.812 156.015 141.717 152.561 138.694C149.107 135.67 144.42 133.966 139.527 133.955L102.88 133.955C101.552 141.949 99.023 149.756 95.3571 157.174C93.7406 160.388 91.6712 163.413 89.1968 166.18L139.527 166.18C144.414 166.169 149.097 164.468 152.55 161.451C156.003 158.434 157.945 154.346 157.952 150.082ZM56.8149 133.955C51.9134 133.955 47.2127 135.654 43.7469 138.678C40.2811 141.703 38.334 145.805 38.334 150.082C38.334 154.359 40.2811 158.46 43.7469 161.485C47.2127 164.509 51.9134 166.208 56.8149 166.208L65.1119 166.208C72.4414 166.208 79.3838 161.142 83.7057 152.65C86.6642 146.666 88.7684 140.387 89.9708 133.955L56.8149 133.955ZM38.3904 78.0752C38.3883 82.3443 40.3269 86.4398 43.781 89.4631C47.2351 92.4863 51.9226 94.1905 56.8149 94.2017L93.4622 94.2017C94.7898 86.2073 97.3192 78.4005 100.985 70.983C102.602 67.7692 104.671 64.7438 107.145 61.9769L56.8149 61.9769C51.9282 61.9881 47.2456 63.6884 43.7924 66.7056C40.3392 69.7228 38.3968 73.8111 38.3904 78.0752ZM112.685 75.5071C109.726 81.491 107.622 87.7697 106.42 94.2017L139.527 94.2017C144.429 94.2017 149.13 92.5027 152.595 89.4784C156.061 86.4541 158.008 82.3522 158.008 78.0752C158.008 73.7982 156.061 69.6964 152.595 66.6721C149.13 63.6478 144.429 61.9488 139.527 61.9488L131.23 61.9488C123.933 61.9488 116.991 67.0147 112.685 75.5071Z", fill: `url(#${g2})` })
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
function Logo({ variant = "sandbox", size = "md", className, iconOnly = false }) {
|
|
46
|
+
const cfg = sizeConfig[size];
|
|
47
|
+
if (iconOnly) {
|
|
48
|
+
return /* @__PURE__ */ jsx(TangleKnot, { size: cfg.icon, className });
|
|
49
|
+
}
|
|
50
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center", cfg.gap, className), children: [
|
|
51
|
+
/* @__PURE__ */ jsx(TangleKnot, { size: cfg.icon, className: "shrink-0" }),
|
|
52
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-1", children: [
|
|
53
|
+
/* @__PURE__ */ jsx("span", { className: cn("font-bold tracking-tight", cfg.text), children: "Tangle" }),
|
|
54
|
+
variant === "sandbox" && /* @__PURE__ */ jsx("span", { className: cn("font-medium text-gradient-sandbox", cfg.suffix), children: "Sandbox" })
|
|
55
|
+
] })
|
|
56
|
+
] });
|
|
57
|
+
}
|
|
58
|
+
Logo.displayName = "Logo";
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
TangleKnot,
|
|
62
|
+
Logo
|
|
63
|
+
};
|
|
@@ -447,6 +447,163 @@ var StatCard = React6.forwardRef(
|
|
|
447
447
|
);
|
|
448
448
|
StatCard.displayName = "StatCard";
|
|
449
449
|
|
|
450
|
+
// src/primitives/terminal-display.tsx
|
|
451
|
+
import * as React7 from "react";
|
|
452
|
+
import { useEffect, useRef } from "react";
|
|
453
|
+
import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
454
|
+
var TerminalDisplay = React7.forwardRef(
|
|
455
|
+
({
|
|
456
|
+
className,
|
|
457
|
+
variant = "default",
|
|
458
|
+
title = "Terminal",
|
|
459
|
+
showHeader = true,
|
|
460
|
+
autoScroll = true,
|
|
461
|
+
maxHeight = "400px",
|
|
462
|
+
children,
|
|
463
|
+
...props
|
|
464
|
+
}, ref) => {
|
|
465
|
+
const containerRef = useRef(null);
|
|
466
|
+
useEffect(() => {
|
|
467
|
+
if (autoScroll && containerRef.current) {
|
|
468
|
+
containerRef.current.scrollTop = containerRef.current.scrollHeight;
|
|
469
|
+
}
|
|
470
|
+
}, [autoScroll]);
|
|
471
|
+
const variants = {
|
|
472
|
+
default: "border-border",
|
|
473
|
+
sandbox: "border-purple-500/20 shadow-lg shadow-purple-500/5"
|
|
474
|
+
};
|
|
475
|
+
const dotColors = {
|
|
476
|
+
default: ["bg-red-500", "bg-yellow-500", "bg-green-500"],
|
|
477
|
+
sandbox: ["bg-red-500", "bg-yellow-500", "bg-purple-500"]
|
|
478
|
+
};
|
|
479
|
+
return /* @__PURE__ */ jsxs4(
|
|
480
|
+
"div",
|
|
481
|
+
{
|
|
482
|
+
ref,
|
|
483
|
+
className: cn(
|
|
484
|
+
"overflow-hidden rounded-xl border bg-[#0a0a0a] font-mono text-sm",
|
|
485
|
+
variants[variant],
|
|
486
|
+
className
|
|
487
|
+
),
|
|
488
|
+
...props,
|
|
489
|
+
children: [
|
|
490
|
+
showHeader && /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2 border-border/50 border-b bg-card/30 px-4 py-3", children: [
|
|
491
|
+
/* @__PURE__ */ jsx7("div", { className: "flex gap-1.5", children: dotColors[variant].map((color) => /* @__PURE__ */ jsx7(
|
|
492
|
+
"div",
|
|
493
|
+
{
|
|
494
|
+
className: cn("h-3 w-3 rounded-full", color)
|
|
495
|
+
},
|
|
496
|
+
color
|
|
497
|
+
)) }),
|
|
498
|
+
/* @__PURE__ */ jsx7("span", { className: "ml-2 text-muted-foreground text-xs", children: title })
|
|
499
|
+
] }),
|
|
500
|
+
/* @__PURE__ */ jsx7(
|
|
501
|
+
"div",
|
|
502
|
+
{
|
|
503
|
+
ref: containerRef,
|
|
504
|
+
className: "overflow-auto p-4",
|
|
505
|
+
style: { maxHeight },
|
|
506
|
+
children
|
|
507
|
+
}
|
|
508
|
+
)
|
|
509
|
+
]
|
|
510
|
+
}
|
|
511
|
+
);
|
|
512
|
+
}
|
|
513
|
+
);
|
|
514
|
+
TerminalDisplay.displayName = "TerminalDisplay";
|
|
515
|
+
var TerminalLine = React7.forwardRef(
|
|
516
|
+
({ className, type = "output", prompt = "$", timestamp, children, ...props }, ref) => {
|
|
517
|
+
const typeStyles = {
|
|
518
|
+
input: "text-foreground",
|
|
519
|
+
output: "text-muted-foreground",
|
|
520
|
+
error: "text-red-400",
|
|
521
|
+
success: "text-green-400",
|
|
522
|
+
info: "text-blue-400",
|
|
523
|
+
thinking: "text-yellow-400 animate-pulse",
|
|
524
|
+
command: "text-foreground",
|
|
525
|
+
warning: "text-yellow-400"
|
|
526
|
+
};
|
|
527
|
+
return /* @__PURE__ */ jsxs4(
|
|
528
|
+
"div",
|
|
529
|
+
{
|
|
530
|
+
ref,
|
|
531
|
+
className: cn(
|
|
532
|
+
"flex items-start gap-2 py-0.5 leading-relaxed",
|
|
533
|
+
typeStyles[type],
|
|
534
|
+
className
|
|
535
|
+
),
|
|
536
|
+
...props,
|
|
537
|
+
children: [
|
|
538
|
+
(type === "input" || type === "command") && /* @__PURE__ */ jsx7("span", { className: "shrink-0 select-none text-green-400", children: prompt }),
|
|
539
|
+
type === "thinking" && /* @__PURE__ */ jsx7("span", { className: "shrink-0 select-none", children: "..." }),
|
|
540
|
+
timestamp && /* @__PURE__ */ jsxs4("span", { className: "shrink-0 select-none text-muted-foreground/50", children: [
|
|
541
|
+
"[",
|
|
542
|
+
timestamp,
|
|
543
|
+
"]"
|
|
544
|
+
] }),
|
|
545
|
+
/* @__PURE__ */ jsx7("span", { className: "whitespace-pre-wrap break-all", children })
|
|
546
|
+
]
|
|
547
|
+
}
|
|
548
|
+
);
|
|
549
|
+
}
|
|
550
|
+
);
|
|
551
|
+
TerminalLine.displayName = "TerminalLine";
|
|
552
|
+
var TerminalCursor = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx7(
|
|
553
|
+
"span",
|
|
554
|
+
{
|
|
555
|
+
ref,
|
|
556
|
+
className: cn(
|
|
557
|
+
"ml-0.5 inline-block h-4 w-2 animate-pulse bg-foreground",
|
|
558
|
+
className
|
|
559
|
+
),
|
|
560
|
+
...props
|
|
561
|
+
}
|
|
562
|
+
));
|
|
563
|
+
TerminalCursor.displayName = "TerminalCursor";
|
|
564
|
+
var TerminalInput = React7.forwardRef(
|
|
565
|
+
({ className, onSubmit, variant = "default", ...props }, ref) => {
|
|
566
|
+
const [value, setValue] = React7.useState("");
|
|
567
|
+
const handleKeyDown = (e) => {
|
|
568
|
+
if (e.key === "Enter" && value.trim() && onSubmit) {
|
|
569
|
+
onSubmit(value.trim());
|
|
570
|
+
setValue("");
|
|
571
|
+
}
|
|
572
|
+
};
|
|
573
|
+
const variants = {
|
|
574
|
+
default: "border-border focus-within:border-muted-foreground",
|
|
575
|
+
sandbox: "border-purple-500/20 focus-within:border-purple-500/50"
|
|
576
|
+
};
|
|
577
|
+
return /* @__PURE__ */ jsxs4(
|
|
578
|
+
"div",
|
|
579
|
+
{
|
|
580
|
+
className: cn(
|
|
581
|
+
"flex items-center rounded-lg border bg-[#0a0a0a] px-4 py-2.5 font-mono text-sm transition-colors",
|
|
582
|
+
variants[variant],
|
|
583
|
+
className
|
|
584
|
+
),
|
|
585
|
+
children: [
|
|
586
|
+
/* @__PURE__ */ jsx7("span", { className: "mr-2 select-none text-green-400", children: "$" }),
|
|
587
|
+
/* @__PURE__ */ jsx7(
|
|
588
|
+
"input",
|
|
589
|
+
{
|
|
590
|
+
ref,
|
|
591
|
+
type: "text",
|
|
592
|
+
value,
|
|
593
|
+
onChange: (e) => setValue(e.target.value),
|
|
594
|
+
onKeyDown: handleKeyDown,
|
|
595
|
+
className: "flex-1 bg-transparent text-foreground outline-none placeholder:text-muted-foreground",
|
|
596
|
+
...props
|
|
597
|
+
}
|
|
598
|
+
),
|
|
599
|
+
/* @__PURE__ */ jsx7(TerminalCursor, {})
|
|
600
|
+
]
|
|
601
|
+
}
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
);
|
|
605
|
+
TerminalInput.displayName = "TerminalInput";
|
|
606
|
+
|
|
450
607
|
export {
|
|
451
608
|
Select,
|
|
452
609
|
SelectGroup,
|
|
@@ -471,5 +628,9 @@ export {
|
|
|
471
628
|
ToastProvider,
|
|
472
629
|
useToast,
|
|
473
630
|
Label2 as Label,
|
|
474
|
-
StatCard
|
|
631
|
+
StatCard,
|
|
632
|
+
TerminalDisplay,
|
|
633
|
+
TerminalLine,
|
|
634
|
+
TerminalCursor,
|
|
635
|
+
TerminalInput
|
|
475
636
|
};
|
package/dist/dashboard.js
CHANGED
|
@@ -4,12 +4,13 @@ import {
|
|
|
4
4
|
ProfileComparison,
|
|
5
5
|
ProfileSelector,
|
|
6
6
|
VariantList
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J4OADEUK.js";
|
|
8
8
|
import {
|
|
9
9
|
BillingDashboard,
|
|
10
10
|
PricingPage,
|
|
11
11
|
UsageChart
|
|
12
12
|
} from "./chunk-4EIWPJMJ.js";
|
|
13
|
+
import "./chunk-OKCIKTXQ.js";
|
|
13
14
|
import "./chunk-MCGKDCOR.js";
|
|
14
15
|
import "./chunk-2UHPE5T7.js";
|
|
15
16
|
import "./chunk-E6FS7R4X.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as Button, a as ButtonProps, b as buttonVariants } from './button-
|
|
2
|
-
export { Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateProps, Input, InputProps, Label, Progress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Skeleton, SkeletonCard, SkeletonTable, StatCard, StatCardProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TextareaProps, Toast, ToastContainer, ToastProvider, badgeVariants, useToast } from './primitives.js';
|
|
1
|
+
export { B as Button, a as ButtonProps, b as buttonVariants } from './button-CMQuQEW_.js';
|
|
2
|
+
export { Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateProps, Input, InputProps, Label, Logo, LogoProps, Progress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Skeleton, SkeletonCard, SkeletonTable, StatCard, StatCardProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TerminalDisplay, TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine, Textarea, TextareaProps, Toast, ToastContainer, ToastProvider, badgeVariants, useToast } from './primitives.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import React__default from 'react';
|
|
@@ -21,7 +21,6 @@ export { C as CustomToolRenderer, D as DisplayVariant, T as ToolDisplayMetadata
|
|
|
21
21
|
export { A as AgentBranding } from './branding-DCi5VEik.js';
|
|
22
22
|
export { TOOL_CATEGORY_ICONS, cn, copyText, formatDuration, getToolCategory, getToolDisplayMetadata, getToolErrorText, timeAgo, truncateText } from './utils.js';
|
|
23
23
|
import 'class-variance-authority/types';
|
|
24
|
-
import 'class-variance-authority';
|
|
25
24
|
import '@radix-ui/react-dialog';
|
|
26
25
|
import '@radix-ui/react-avatar';
|
|
27
26
|
import '@radix-ui/react-dropdown-menu';
|
|
@@ -32,21 +31,6 @@ import '@radix-ui/react-switch';
|
|
|
32
31
|
import '@radix-ui/react-label';
|
|
33
32
|
import 'clsx';
|
|
34
33
|
|
|
35
|
-
interface LogoProps {
|
|
36
|
-
variant?: "sandbox";
|
|
37
|
-
size?: "sm" | "md" | "lg" | "xl";
|
|
38
|
-
className?: string;
|
|
39
|
-
iconOnly?: boolean;
|
|
40
|
-
}
|
|
41
|
-
declare function TangleKnot({ size, className }: {
|
|
42
|
-
size: number;
|
|
43
|
-
className?: string;
|
|
44
|
-
}): react_jsx_runtime.JSX.Element;
|
|
45
|
-
declare function Logo({ variant, size, className, iconOnly }: LogoProps): react_jsx_runtime.JSX.Element;
|
|
46
|
-
declare namespace Logo {
|
|
47
|
-
var displayName: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
34
|
type Theme = "light" | "dark" | "system";
|
|
51
35
|
declare function useTheme(): {
|
|
52
36
|
theme: Theme;
|
|
@@ -65,27 +49,6 @@ interface InlineCodeProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
|
65
49
|
}
|
|
66
50
|
declare function InlineCode({ className, children, ...props }: InlineCodeProps): react_jsx_runtime.JSX.Element;
|
|
67
51
|
|
|
68
|
-
interface TerminalDisplayProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
69
|
-
variant?: "default" | "sandbox";
|
|
70
|
-
title?: string;
|
|
71
|
-
showHeader?: boolean;
|
|
72
|
-
autoScroll?: boolean;
|
|
73
|
-
maxHeight?: string;
|
|
74
|
-
}
|
|
75
|
-
declare const TerminalDisplay: React.ForwardRefExoticComponent<TerminalDisplayProps & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
-
interface TerminalLineProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
77
|
-
type?: "input" | "output" | "error" | "success" | "info" | "thinking" | "command" | "warning";
|
|
78
|
-
prompt?: string;
|
|
79
|
-
timestamp?: string;
|
|
80
|
-
}
|
|
81
|
-
declare const TerminalLine: React.ForwardRefExoticComponent<TerminalLineProps & React.RefAttributes<HTMLDivElement>>;
|
|
82
|
-
declare const TerminalCursor: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
83
|
-
interface TerminalInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onSubmit"> {
|
|
84
|
-
onSubmit?: (value: string) => void;
|
|
85
|
-
variant?: "default" | "sandbox";
|
|
86
|
-
}
|
|
87
|
-
declare const TerminalInput: React.ForwardRefExoticComponent<TerminalInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
88
|
-
|
|
89
52
|
interface CommandPreviewProps {
|
|
90
53
|
part: ToolPart;
|
|
91
54
|
}
|
|
@@ -104,4 +67,4 @@ interface WriteFilePreviewProps {
|
|
|
104
67
|
*/
|
|
105
68
|
declare const WriteFilePreview: React.MemoExoticComponent<({ part }: WriteFilePreviewProps) => react_jsx_runtime.JSX.Element | null>;
|
|
106
69
|
|
|
107
|
-
export { CodeBlock as CodeBlockDisplay, CommandPreview, InlineCode,
|
|
70
|
+
export { CodeBlock as CodeBlockDisplay, CommandPreview, InlineCode, ThemeToggle, ToolPart, WriteFilePreview, useTheme };
|
package/dist/index.js
CHANGED
|
@@ -42,10 +42,14 @@ import {
|
|
|
42
42
|
TableHead,
|
|
43
43
|
TableHeader,
|
|
44
44
|
TableRow,
|
|
45
|
+
TerminalCursor,
|
|
46
|
+
TerminalDisplay,
|
|
47
|
+
TerminalInput,
|
|
48
|
+
TerminalLine,
|
|
45
49
|
ToastContainer,
|
|
46
50
|
ToastProvider,
|
|
47
51
|
useToast
|
|
48
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-SOT2V7TX.js";
|
|
49
53
|
import {
|
|
50
54
|
Avatar,
|
|
51
55
|
AvatarFallback,
|
|
@@ -132,19 +136,21 @@ import {
|
|
|
132
136
|
import {
|
|
133
137
|
BackendSelector,
|
|
134
138
|
DashboardLayout,
|
|
135
|
-
Logo,
|
|
136
139
|
ProfileComparison,
|
|
137
140
|
ProfileSelector,
|
|
138
|
-
TangleKnot,
|
|
139
141
|
ThemeToggle,
|
|
140
142
|
VariantList,
|
|
141
143
|
useTheme
|
|
142
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-J4OADEUK.js";
|
|
143
145
|
import {
|
|
144
146
|
BillingDashboard,
|
|
145
147
|
PricingPage,
|
|
146
148
|
UsageChart
|
|
147
149
|
} from "./chunk-4EIWPJMJ.js";
|
|
150
|
+
import {
|
|
151
|
+
Logo,
|
|
152
|
+
TangleKnot
|
|
153
|
+
} from "./chunk-OKCIKTXQ.js";
|
|
148
154
|
import {
|
|
149
155
|
DropdownMenu,
|
|
150
156
|
DropdownMenuCheckboxItem,
|
|
@@ -245,163 +251,6 @@ function InlineCode({ className, children, ...props }) {
|
|
|
245
251
|
}
|
|
246
252
|
);
|
|
247
253
|
}
|
|
248
|
-
|
|
249
|
-
// src/primitives/terminal-display.tsx
|
|
250
|
-
import * as React from "react";
|
|
251
|
-
import { useEffect, useRef } from "react";
|
|
252
|
-
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
253
|
-
var TerminalDisplay = React.forwardRef(
|
|
254
|
-
({
|
|
255
|
-
className,
|
|
256
|
-
variant = "default",
|
|
257
|
-
title = "Terminal",
|
|
258
|
-
showHeader = true,
|
|
259
|
-
autoScroll = true,
|
|
260
|
-
maxHeight = "400px",
|
|
261
|
-
children,
|
|
262
|
-
...props
|
|
263
|
-
}, ref) => {
|
|
264
|
-
const containerRef = useRef(null);
|
|
265
|
-
useEffect(() => {
|
|
266
|
-
if (autoScroll && containerRef.current) {
|
|
267
|
-
containerRef.current.scrollTop = containerRef.current.scrollHeight;
|
|
268
|
-
}
|
|
269
|
-
}, [autoScroll]);
|
|
270
|
-
const variants = {
|
|
271
|
-
default: "border-border",
|
|
272
|
-
sandbox: "border-purple-500/20 shadow-lg shadow-purple-500/5"
|
|
273
|
-
};
|
|
274
|
-
const dotColors = {
|
|
275
|
-
default: ["bg-red-500", "bg-yellow-500", "bg-green-500"],
|
|
276
|
-
sandbox: ["bg-red-500", "bg-yellow-500", "bg-purple-500"]
|
|
277
|
-
};
|
|
278
|
-
return /* @__PURE__ */ jsxs2(
|
|
279
|
-
"div",
|
|
280
|
-
{
|
|
281
|
-
ref,
|
|
282
|
-
className: cn(
|
|
283
|
-
"overflow-hidden rounded-xl border bg-[#0a0a0a] font-mono text-sm",
|
|
284
|
-
variants[variant],
|
|
285
|
-
className
|
|
286
|
-
),
|
|
287
|
-
...props,
|
|
288
|
-
children: [
|
|
289
|
-
showHeader && /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-2 border-border/50 border-b bg-card/30 px-4 py-3", children: [
|
|
290
|
-
/* @__PURE__ */ jsx2("div", { className: "flex gap-1.5", children: dotColors[variant].map((color) => /* @__PURE__ */ jsx2(
|
|
291
|
-
"div",
|
|
292
|
-
{
|
|
293
|
-
className: cn("h-3 w-3 rounded-full", color)
|
|
294
|
-
},
|
|
295
|
-
color
|
|
296
|
-
)) }),
|
|
297
|
-
/* @__PURE__ */ jsx2("span", { className: "ml-2 text-muted-foreground text-xs", children: title })
|
|
298
|
-
] }),
|
|
299
|
-
/* @__PURE__ */ jsx2(
|
|
300
|
-
"div",
|
|
301
|
-
{
|
|
302
|
-
ref: containerRef,
|
|
303
|
-
className: "overflow-auto p-4",
|
|
304
|
-
style: { maxHeight },
|
|
305
|
-
children
|
|
306
|
-
}
|
|
307
|
-
)
|
|
308
|
-
]
|
|
309
|
-
}
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
);
|
|
313
|
-
TerminalDisplay.displayName = "TerminalDisplay";
|
|
314
|
-
var TerminalLine = React.forwardRef(
|
|
315
|
-
({ className, type = "output", prompt = "$", timestamp, children, ...props }, ref) => {
|
|
316
|
-
const typeStyles = {
|
|
317
|
-
input: "text-foreground",
|
|
318
|
-
output: "text-muted-foreground",
|
|
319
|
-
error: "text-red-400",
|
|
320
|
-
success: "text-green-400",
|
|
321
|
-
info: "text-blue-400",
|
|
322
|
-
thinking: "text-yellow-400 animate-pulse",
|
|
323
|
-
command: "text-foreground",
|
|
324
|
-
warning: "text-yellow-400"
|
|
325
|
-
};
|
|
326
|
-
return /* @__PURE__ */ jsxs2(
|
|
327
|
-
"div",
|
|
328
|
-
{
|
|
329
|
-
ref,
|
|
330
|
-
className: cn(
|
|
331
|
-
"flex items-start gap-2 py-0.5 leading-relaxed",
|
|
332
|
-
typeStyles[type],
|
|
333
|
-
className
|
|
334
|
-
),
|
|
335
|
-
...props,
|
|
336
|
-
children: [
|
|
337
|
-
(type === "input" || type === "command") && /* @__PURE__ */ jsx2("span", { className: "shrink-0 select-none text-green-400", children: prompt }),
|
|
338
|
-
type === "thinking" && /* @__PURE__ */ jsx2("span", { className: "shrink-0 select-none", children: "..." }),
|
|
339
|
-
timestamp && /* @__PURE__ */ jsxs2("span", { className: "shrink-0 select-none text-muted-foreground/50", children: [
|
|
340
|
-
"[",
|
|
341
|
-
timestamp,
|
|
342
|
-
"]"
|
|
343
|
-
] }),
|
|
344
|
-
/* @__PURE__ */ jsx2("span", { className: "whitespace-pre-wrap break-all", children })
|
|
345
|
-
]
|
|
346
|
-
}
|
|
347
|
-
);
|
|
348
|
-
}
|
|
349
|
-
);
|
|
350
|
-
TerminalLine.displayName = "TerminalLine";
|
|
351
|
-
var TerminalCursor = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2(
|
|
352
|
-
"span",
|
|
353
|
-
{
|
|
354
|
-
ref,
|
|
355
|
-
className: cn(
|
|
356
|
-
"ml-0.5 inline-block h-4 w-2 animate-pulse bg-foreground",
|
|
357
|
-
className
|
|
358
|
-
),
|
|
359
|
-
...props
|
|
360
|
-
}
|
|
361
|
-
));
|
|
362
|
-
TerminalCursor.displayName = "TerminalCursor";
|
|
363
|
-
var TerminalInput = React.forwardRef(
|
|
364
|
-
({ className, onSubmit, variant = "default", ...props }, ref) => {
|
|
365
|
-
const [value, setValue] = React.useState("");
|
|
366
|
-
const handleKeyDown = (e) => {
|
|
367
|
-
if (e.key === "Enter" && value.trim() && onSubmit) {
|
|
368
|
-
onSubmit(value.trim());
|
|
369
|
-
setValue("");
|
|
370
|
-
}
|
|
371
|
-
};
|
|
372
|
-
const variants = {
|
|
373
|
-
default: "border-border focus-within:border-muted-foreground",
|
|
374
|
-
sandbox: "border-purple-500/20 focus-within:border-purple-500/50"
|
|
375
|
-
};
|
|
376
|
-
return /* @__PURE__ */ jsxs2(
|
|
377
|
-
"div",
|
|
378
|
-
{
|
|
379
|
-
className: cn(
|
|
380
|
-
"flex items-center rounded-lg border bg-[#0a0a0a] px-4 py-2.5 font-mono text-sm transition-colors",
|
|
381
|
-
variants[variant],
|
|
382
|
-
className
|
|
383
|
-
),
|
|
384
|
-
children: [
|
|
385
|
-
/* @__PURE__ */ jsx2("span", { className: "mr-2 select-none text-green-400", children: "$" }),
|
|
386
|
-
/* @__PURE__ */ jsx2(
|
|
387
|
-
"input",
|
|
388
|
-
{
|
|
389
|
-
ref,
|
|
390
|
-
type: "text",
|
|
391
|
-
value,
|
|
392
|
-
onChange: (e) => setValue(e.target.value),
|
|
393
|
-
onKeyDown: handleKeyDown,
|
|
394
|
-
className: "flex-1 bg-transparent text-foreground outline-none placeholder:text-muted-foreground",
|
|
395
|
-
...props
|
|
396
|
-
}
|
|
397
|
-
),
|
|
398
|
-
/* @__PURE__ */ jsx2(TerminalCursor, {})
|
|
399
|
-
]
|
|
400
|
-
}
|
|
401
|
-
);
|
|
402
|
-
}
|
|
403
|
-
);
|
|
404
|
-
TerminalInput.displayName = "TerminalInput";
|
|
405
254
|
export {
|
|
406
255
|
AuditResults,
|
|
407
256
|
AuthHeader,
|
package/dist/primitives.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { B as Button, a as ButtonProps, b as buttonVariants } from './button-
|
|
1
|
+
export { B as Button, a as ButtonProps, b as buttonVariants } from './button-CMQuQEW_.js';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
-
import { VariantProps } from 'class-variance-authority';
|
|
7
6
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
8
7
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
9
8
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
@@ -59,7 +58,9 @@ declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$
|
|
|
59
58
|
declare const badgeVariants: (props?: ({
|
|
60
59
|
variant?: "default" | "destructive" | "outline" | "secondary" | "sandbox" | "error" | "success" | "warning" | "info" | null | undefined;
|
|
61
60
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
62
|
-
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement
|
|
61
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
62
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "error" | "info" | "sandbox" | null;
|
|
63
|
+
children?: React$1.ReactNode;
|
|
63
64
|
}
|
|
64
65
|
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
65
66
|
|
|
@@ -163,7 +164,7 @@ declare function ToastProvider({ children }: {
|
|
|
163
164
|
}): react_jsx_runtime.JSX.Element;
|
|
164
165
|
declare function useToast(): ToastContextValue;
|
|
165
166
|
|
|
166
|
-
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> &
|
|
167
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
167
168
|
|
|
168
169
|
interface EmptyStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
169
170
|
icon?: React$1.ReactNode;
|
|
@@ -186,4 +187,40 @@ interface StatCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
186
187
|
}
|
|
187
188
|
declare const StatCard: React$1.ForwardRefExoticComponent<StatCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
188
189
|
|
|
189
|
-
|
|
190
|
+
interface LogoProps {
|
|
191
|
+
variant?: "sandbox";
|
|
192
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
193
|
+
className?: string;
|
|
194
|
+
iconOnly?: boolean;
|
|
195
|
+
}
|
|
196
|
+
declare function TangleKnot({ size, className }: {
|
|
197
|
+
size: number;
|
|
198
|
+
className?: string;
|
|
199
|
+
}): react_jsx_runtime.JSX.Element;
|
|
200
|
+
declare function Logo({ variant, size, className, iconOnly }: LogoProps): react_jsx_runtime.JSX.Element;
|
|
201
|
+
declare namespace Logo {
|
|
202
|
+
var displayName: string;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
interface TerminalDisplayProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
206
|
+
variant?: "default" | "sandbox";
|
|
207
|
+
title?: string;
|
|
208
|
+
showHeader?: boolean;
|
|
209
|
+
autoScroll?: boolean;
|
|
210
|
+
maxHeight?: string;
|
|
211
|
+
}
|
|
212
|
+
declare const TerminalDisplay: React$1.ForwardRefExoticComponent<TerminalDisplayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
213
|
+
interface TerminalLineProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
214
|
+
type?: "input" | "output" | "error" | "success" | "info" | "thinking" | "command" | "warning";
|
|
215
|
+
prompt?: string;
|
|
216
|
+
timestamp?: string;
|
|
217
|
+
}
|
|
218
|
+
declare const TerminalLine: React$1.ForwardRefExoticComponent<TerminalLineProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
219
|
+
declare const TerminalCursor: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
220
|
+
interface TerminalInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onSubmit"> {
|
|
221
|
+
onSubmit?: (value: string) => void;
|
|
222
|
+
variant?: "default" | "sandbox";
|
|
223
|
+
}
|
|
224
|
+
declare const TerminalInput: React$1.ForwardRefExoticComponent<TerminalInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
225
|
+
|
|
226
|
+
export { Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, Input, type InputProps, Label, Logo, type LogoProps, Progress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Skeleton, SkeletonCard, SkeletonTable, StatCard, type StatCardProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, Textarea, type TextareaProps, type Toast, ToastContainer, ToastProvider, badgeVariants, useToast };
|
package/dist/primitives.js
CHANGED
|
@@ -20,10 +20,14 @@ import {
|
|
|
20
20
|
TableHead,
|
|
21
21
|
TableHeader,
|
|
22
22
|
TableRow,
|
|
23
|
+
TerminalCursor,
|
|
24
|
+
TerminalDisplay,
|
|
25
|
+
TerminalInput,
|
|
26
|
+
TerminalLine,
|
|
23
27
|
ToastContainer,
|
|
24
28
|
ToastProvider,
|
|
25
29
|
useToast
|
|
26
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SOT2V7TX.js";
|
|
27
31
|
import {
|
|
28
32
|
Avatar,
|
|
29
33
|
AvatarFallback,
|
|
@@ -48,6 +52,10 @@ import {
|
|
|
48
52
|
TabsTrigger,
|
|
49
53
|
Textarea
|
|
50
54
|
} from "./chunk-NI2EI43H.js";
|
|
55
|
+
import {
|
|
56
|
+
Logo,
|
|
57
|
+
TangleKnot
|
|
58
|
+
} from "./chunk-OKCIKTXQ.js";
|
|
51
59
|
import {
|
|
52
60
|
DropdownMenu,
|
|
53
61
|
DropdownMenuCheckboxItem,
|
|
@@ -124,6 +132,7 @@ export {
|
|
|
124
132
|
EmptyState,
|
|
125
133
|
Input,
|
|
126
134
|
Label,
|
|
135
|
+
Logo,
|
|
127
136
|
Progress,
|
|
128
137
|
Select,
|
|
129
138
|
SelectContent,
|
|
@@ -152,6 +161,11 @@ export {
|
|
|
152
161
|
TabsContent,
|
|
153
162
|
TabsList,
|
|
154
163
|
TabsTrigger,
|
|
164
|
+
TangleKnot,
|
|
165
|
+
TerminalCursor,
|
|
166
|
+
TerminalDisplay,
|
|
167
|
+
TerminalInput,
|
|
168
|
+
TerminalLine,
|
|
155
169
|
Textarea,
|
|
156
170
|
ToastContainer,
|
|
157
171
|
ToastProvider,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
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",
|