@tangle-network/sandbox-ui 0.128.2 → 0.129.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/{dashboard-CPK5MNhT.js → dashboard-gJ9BBwlA.js} +156 -179
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +55 -6
- package/dist/index-C6oItkj5.d.ts +30 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/integrations.js +1 -1
- package/dist/primitives-JjV1ruzp.js +25 -0
- package/dist/primitives.d.ts +2 -2
- package/dist/primitives.js +2 -2
- package/dist/styles.css +55 -6
- package/dist/tokens.css +11 -0
- package/dist/{workbench-CpBG_v-5.js → workbench-DqgJZ3Iv.js} +1 -1
- package/dist/workbench.js +1 -1
- package/package.json +8 -8
- package/dist/index-DKiNTaQn.d.ts +0 -30
- package/dist/primitives-DavMYFRD.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $n as Logo, b as Button$1 } from "./primitives-JjV1ruzp.js";
|
|
2
2
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
3
3
|
import { n as MOTION_SURFACE, r as MOTION_TRAVEL, t as MOTION_CONTROL } from "./motion-DkyBRJb9.js";
|
|
4
4
|
import { i as moonshot_default } from "./model-brand-hMyDTUqB.js";
|
|
@@ -8,6 +8,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { useEffect, useId, useRef, useState } from "react";
|
|
10
10
|
import { createPortal } from "react-dom";
|
|
11
|
+
import * as Dialog$1 from "@radix-ui/react-dialog";
|
|
11
12
|
import { Activity, ArrowRight, BarChart2, Bell, Bot, Box, Camera, Check, ChevronDown, ChevronLeft, ChevronRight, Clock, Code2, Copy, Cpu, DollarSign, ExternalLink, File, FileEdit, FilePlus, GitBranch, GitCommit, Globe, HardDrive, Key, Layers, MemoryStick, MessageSquare, Monitor, MoreHorizontal, MoreVertical, Network, PanelLeft, Play, Plug, Plus, Power, PowerOff, RotateCcw, Skull, Terminal, Trash2, User, Users } from "lucide-react";
|
|
12
13
|
import { focusField, focusRing, focusRingInset, timeAgo } from "@tangle-network/ui/utils";
|
|
13
14
|
import * as Select$1 from "@radix-ui/react-select";
|
|
@@ -445,7 +446,7 @@ function RailButton({ icon: Icon, label, isActive, badge, badgeLabel = defaultBa
|
|
|
445
446
|
children: badge > 99 ? "99+" : badge
|
|
446
447
|
})]
|
|
447
448
|
}), showLabel && /* @__PURE__ */ jsx("span", {
|
|
448
|
-
className: "text-
|
|
449
|
+
className: "text-sm font-medium",
|
|
449
450
|
children: label
|
|
450
451
|
})] });
|
|
451
452
|
if (asChild && React$1.isValidElement(children)) {
|
|
@@ -798,7 +799,7 @@ function RailExpandable({ icon: Icon, label, href, isActive, showLabel, subItems
|
|
|
798
799
|
href,
|
|
799
800
|
to: href,
|
|
800
801
|
onClick: onNavigate,
|
|
801
|
-
className: "flex h-9 min-w-0 flex-1 items-center pr-2.5 text-
|
|
802
|
+
className: "flex h-9 min-w-0 flex-1 items-center pr-2.5 text-sm font-medium",
|
|
802
803
|
children: /* @__PURE__ */ jsx("span", {
|
|
803
804
|
className: "truncate",
|
|
804
805
|
children: label
|
|
@@ -806,7 +807,7 @@ function RailExpandable({ icon: Icon, label, href, isActive, showLabel, subItems
|
|
|
806
807
|
}) : /* @__PURE__ */ jsx("button", {
|
|
807
808
|
type: "button",
|
|
808
809
|
onClick: toggle,
|
|
809
|
-
className: "flex h-9 min-w-0 flex-1 items-center pr-2.5 text-left text-
|
|
810
|
+
className: "flex h-9 min-w-0 flex-1 items-center pr-2.5 text-left text-sm font-medium",
|
|
810
811
|
children: /* @__PURE__ */ jsx("span", {
|
|
811
812
|
className: "truncate",
|
|
812
813
|
children: label
|
|
@@ -2810,6 +2811,20 @@ function SidebarLayoutInner({ children, navItems, activeId, panel, logo, logoHre
|
|
|
2810
2811
|
const showLabels = railLabels && !railCollapsed;
|
|
2811
2812
|
const [mobileNavOpen, setMobileNavOpen] = React$1.useState(false);
|
|
2812
2813
|
const closeMobileNav = React$1.useCallback(() => setMobileNavOpen(false), []);
|
|
2814
|
+
React$1.useEffect(() => {
|
|
2815
|
+
if (!mobileNavOpen) return;
|
|
2816
|
+
if (!hideBelow) {
|
|
2817
|
+
setMobileNavOpen(false);
|
|
2818
|
+
return;
|
|
2819
|
+
}
|
|
2820
|
+
const desktop = window.matchMedia(hideBelow === "md" ? "(min-width: 48rem)" : "(min-width: 64rem)");
|
|
2821
|
+
const closeOnDesktop = () => {
|
|
2822
|
+
if (desktop.matches) setMobileNavOpen(false);
|
|
2823
|
+
};
|
|
2824
|
+
closeOnDesktop();
|
|
2825
|
+
desktop.addEventListener("change", closeOnDesktop);
|
|
2826
|
+
return () => desktop.removeEventListener("change", closeOnDesktop);
|
|
2827
|
+
}, [hideBelow, mobileNavOpen]);
|
|
2813
2828
|
/**
|
|
2814
2829
|
* One nav list, rendered twice — once in the desktop rail, once in the mobile
|
|
2815
2830
|
* drawer. Sharing the renderer is the point: a product adds a destination to
|
|
@@ -2899,110 +2914,115 @@ function SidebarLayoutInner({ children, navItems, activeId, panel, logo, logoHre
|
|
|
2899
2914
|
}, item.id);
|
|
2900
2915
|
});
|
|
2901
2916
|
}
|
|
2902
|
-
return /* @__PURE__ */
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
showLabels,
|
|
2924
|
-
|
|
2917
|
+
return /* @__PURE__ */ jsx(Dialog$1.Root, {
|
|
2918
|
+
open: mobileNavOpen,
|
|
2919
|
+
onOpenChange: setMobileNavOpen,
|
|
2920
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
2921
|
+
className: cn$1("min-h-screen bg-surface text-foreground", className),
|
|
2922
|
+
children: [
|
|
2923
|
+
/* @__PURE__ */ jsx("div", {
|
|
2924
|
+
className: cn$1(hideBelow && HIDE_BELOW_CLASS[hideBelow]),
|
|
2925
|
+
children: /* @__PURE__ */ jsxs(Sidebar, {
|
|
2926
|
+
className: sidebarClassName,
|
|
2927
|
+
children: [/* @__PURE__ */ jsxs(SidebarRail, { children: [
|
|
2928
|
+
(logo !== void 0 || railHeaderContent !== void 0 || railLabels) && /* @__PURE__ */ jsx(RailHeader, {
|
|
2929
|
+
brand: logo,
|
|
2930
|
+
brandHref: logoHref,
|
|
2931
|
+
collapsed: !showLabels,
|
|
2932
|
+
onToggle: toggleRail,
|
|
2933
|
+
collapsible: railLabels,
|
|
2934
|
+
LinkComponent,
|
|
2935
|
+
children: railHeaderContent
|
|
2936
|
+
}),
|
|
2937
|
+
/* @__PURE__ */ jsx(SidebarRailNav, {
|
|
2938
|
+
className: cn$1(showLabels ? "px-2" : void 0, expandOnEmptyClick && "cursor-pointer"),
|
|
2939
|
+
onClick: expandOnEmptyClick,
|
|
2940
|
+
children: renderNavItems({
|
|
2941
|
+
showLabels,
|
|
2942
|
+
onNavigate: handleNavClick
|
|
2943
|
+
})
|
|
2944
|
+
}),
|
|
2945
|
+
(railFooter !== void 0 || hasProfile) && /* @__PURE__ */ jsxs(SidebarRailFooter, {
|
|
2946
|
+
className: cn$1("border-t border-[var(--md3-outline-variant)] pt-2", showLabels && "items-stretch px-2"),
|
|
2947
|
+
children: [railFooter, hasProfile && /* @__PURE__ */ jsx(ProfileAvatar, {
|
|
2948
|
+
user: user ?? void 0,
|
|
2949
|
+
isLoading,
|
|
2950
|
+
onLogout,
|
|
2951
|
+
onSettingsClick,
|
|
2952
|
+
settingsHref,
|
|
2953
|
+
showDetails: showLabels,
|
|
2954
|
+
appearance,
|
|
2955
|
+
LinkComponent: Link,
|
|
2956
|
+
children: profileMenuItems
|
|
2957
|
+
})]
|
|
2925
2958
|
})
|
|
2926
|
-
}),
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2959
|
+
] }), panel != null && /* @__PURE__ */ jsx(SidebarPanel, { children: panel })]
|
|
2960
|
+
})
|
|
2961
|
+
}),
|
|
2962
|
+
/* @__PURE__ */ jsxs(SidebarContent, {
|
|
2963
|
+
className: contentClassName,
|
|
2964
|
+
children: [hideBelow && /* @__PURE__ */ jsxs("header", {
|
|
2965
|
+
className: cn$1("flex h-14 shrink-0 items-center gap-1 border-b border-[var(--md3-outline-variant)] bg-surface px-2", SHOW_BELOW_CLASS[hideBelow]),
|
|
2966
|
+
children: [
|
|
2967
|
+
/* @__PURE__ */ jsx(Dialog$1.Trigger, {
|
|
2968
|
+
asChild: true,
|
|
2969
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
2970
|
+
type: "button",
|
|
2971
|
+
"aria-label": "Open navigation",
|
|
2972
|
+
"aria-expanded": mobileNavOpen,
|
|
2973
|
+
"aria-controls": "sidebar-mobile-nav",
|
|
2974
|
+
"aria-haspopup": "dialog",
|
|
2975
|
+
className: cn$1("flex size-10 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-[var(--accent-surface-soft)] hover:text-foreground", "duration-[var(--duration-fast)] ease-[var(--ease-standard)]"),
|
|
2976
|
+
children: /* @__PURE__ */ jsx(MenuIcon, { className: "size-5" })
|
|
2977
|
+
})
|
|
2978
|
+
}),
|
|
2979
|
+
/* @__PURE__ */ jsx("div", {
|
|
2980
|
+
className: "flex min-w-0 flex-1 items-center",
|
|
2981
|
+
children: railHeaderContent ?? (logo !== void 0 ? /* @__PURE__ */ jsx(Link, {
|
|
2982
|
+
href: logoHref,
|
|
2983
|
+
to: logoHref,
|
|
2984
|
+
className: "flex min-w-0 items-center",
|
|
2985
|
+
children: logo
|
|
2986
|
+
}) : null)
|
|
2987
|
+
}),
|
|
2988
|
+
hasProfile && /* @__PURE__ */ jsx(ProfileAvatar, {
|
|
2930
2989
|
user: user ?? void 0,
|
|
2931
2990
|
isLoading,
|
|
2932
2991
|
onLogout,
|
|
2933
2992
|
onSettingsClick,
|
|
2934
2993
|
settingsHref,
|
|
2935
|
-
showDetails: showLabels,
|
|
2936
2994
|
appearance,
|
|
2937
2995
|
LinkComponent: Link,
|
|
2938
2996
|
children: profileMenuItems
|
|
2939
|
-
})
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
})
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
children: logo
|
|
2966
|
-
}) : null)
|
|
2967
|
-
}),
|
|
2968
|
-
hasProfile && /* @__PURE__ */ jsx(ProfileAvatar, {
|
|
2969
|
-
user: user ?? void 0,
|
|
2970
|
-
isLoading,
|
|
2971
|
-
onLogout,
|
|
2972
|
-
onSettingsClick,
|
|
2973
|
-
settingsHref,
|
|
2974
|
-
appearance,
|
|
2975
|
-
LinkComponent: Link,
|
|
2976
|
-
children: profileMenuItems
|
|
2977
|
-
})
|
|
2978
|
-
]
|
|
2979
|
-
}), children]
|
|
2980
|
-
}),
|
|
2981
|
-
hideBelow && mobileNavOpen && /* @__PURE__ */ jsx(MobileNavDrawer, {
|
|
2982
|
-
breakpoint: hideBelow,
|
|
2983
|
-
onClose: closeMobileNav,
|
|
2984
|
-
header: railHeaderContent ?? logo,
|
|
2985
|
-
footer: railFooter !== void 0 || hasProfile ? /* @__PURE__ */ jsxs(Fragment, { children: [railFooter, hasProfile && /* @__PURE__ */ jsx(ProfileAvatar, {
|
|
2986
|
-
user: user ?? void 0,
|
|
2987
|
-
isLoading,
|
|
2988
|
-
onLogout,
|
|
2989
|
-
onSettingsClick,
|
|
2990
|
-
settingsHref,
|
|
2991
|
-
showDetails: true,
|
|
2992
|
-
appearance,
|
|
2993
|
-
LinkComponent: Link,
|
|
2994
|
-
children: profileMenuItems
|
|
2995
|
-
})] }) : null,
|
|
2996
|
-
panel,
|
|
2997
|
-
children: renderNavItems({
|
|
2998
|
-
showLabels: true,
|
|
2999
|
-
onNavigate: () => {
|
|
3000
|
-
handleNavClick?.();
|
|
3001
|
-
closeMobileNav();
|
|
3002
|
-
}
|
|
2997
|
+
})
|
|
2998
|
+
]
|
|
2999
|
+
}), children]
|
|
3000
|
+
}),
|
|
3001
|
+
hideBelow && mobileNavOpen && /* @__PURE__ */ jsx(MobileNavDrawer, {
|
|
3002
|
+
breakpoint: hideBelow,
|
|
3003
|
+
header: railHeaderContent ?? logo,
|
|
3004
|
+
footer: railFooter !== void 0 || hasProfile ? /* @__PURE__ */ jsxs(Fragment, { children: [railFooter, hasProfile && /* @__PURE__ */ jsx(ProfileAvatar, {
|
|
3005
|
+
user: user ?? void 0,
|
|
3006
|
+
isLoading,
|
|
3007
|
+
onLogout,
|
|
3008
|
+
onSettingsClick,
|
|
3009
|
+
settingsHref,
|
|
3010
|
+
showDetails: true,
|
|
3011
|
+
appearance,
|
|
3012
|
+
LinkComponent: Link,
|
|
3013
|
+
children: profileMenuItems
|
|
3014
|
+
})] }) : null,
|
|
3015
|
+
panel,
|
|
3016
|
+
children: renderNavItems({
|
|
3017
|
+
showLabels: true,
|
|
3018
|
+
onNavigate: () => {
|
|
3019
|
+
handleNavClick?.();
|
|
3020
|
+
closeMobileNav();
|
|
3021
|
+
}
|
|
3022
|
+
})
|
|
3003
3023
|
})
|
|
3004
|
-
|
|
3005
|
-
|
|
3024
|
+
]
|
|
3025
|
+
})
|
|
3006
3026
|
});
|
|
3007
3027
|
}
|
|
3008
3028
|
/**
|
|
@@ -3010,92 +3030,49 @@ function SidebarLayoutInner({ children, navItems, activeId, panel, logo, logoHre
|
|
|
3010
3030
|
* slide-out panel's content when the app has one (on a phone there is no room
|
|
3011
3031
|
* to dock a panel beside a rail, so the two stack in one surface).
|
|
3012
3032
|
*
|
|
3013
|
-
*
|
|
3014
|
-
*
|
|
3015
|
-
* Escape, a focus trap and a scroll lock.
|
|
3033
|
+
* Use the same modal layer as the account menu and other shared disclosures:
|
|
3034
|
+
* only the top layer handles Escape, and the trigger owns return focus.
|
|
3016
3035
|
*/
|
|
3017
|
-
function MobileNavDrawer({ breakpoint,
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
} else if (!event.shiftKey && document.activeElement === last) {
|
|
3037
|
-
event.preventDefault();
|
|
3038
|
-
first.focus();
|
|
3039
|
-
}
|
|
3040
|
-
};
|
|
3041
|
-
document.addEventListener("keydown", onKeyDown, true);
|
|
3042
|
-
return () => document.removeEventListener("keydown", onKeyDown, true);
|
|
3043
|
-
}, [onClose]);
|
|
3044
|
-
React$1.useEffect(() => {
|
|
3045
|
-
const previous = document.body.style.overflow;
|
|
3046
|
-
document.body.style.overflow = "hidden";
|
|
3047
|
-
return () => {
|
|
3048
|
-
document.body.style.overflow = previous;
|
|
3049
|
-
};
|
|
3050
|
-
}, []);
|
|
3051
|
-
React$1.useEffect(() => {
|
|
3052
|
-
panelRef.current?.querySelector("button,a[href]")?.focus();
|
|
3053
|
-
}, []);
|
|
3054
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
3055
|
-
className: cn$1("fixed inset-0 z-50", SHOW_BELOW_CLASS[breakpoint]),
|
|
3056
|
-
children: [/* @__PURE__ */ jsx("button", {
|
|
3057
|
-
type: "button",
|
|
3058
|
-
"aria-label": "Close navigation",
|
|
3059
|
-
tabIndex: -1,
|
|
3060
|
-
onClick: onClose,
|
|
3061
|
-
className: "absolute inset-0 bg-black/50"
|
|
3062
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
3063
|
-
ref: panelRef,
|
|
3064
|
-
id: "sidebar-mobile-nav",
|
|
3065
|
-
role: "dialog",
|
|
3066
|
-
"aria-modal": "true",
|
|
3067
|
-
"aria-label": "Navigation",
|
|
3068
|
-
style: { width: 256 },
|
|
3069
|
-
className: "agent-arrive absolute inset-y-0 left-0 flex max-w-[85vw] flex-col border-r border-[var(--md3-outline-variant)] bg-surface-container-low shadow-xl",
|
|
3070
|
-
children: [
|
|
3071
|
-
/* @__PURE__ */ jsxs("div", {
|
|
3072
|
-
className: "flex h-14 shrink-0 items-center gap-1 border-b border-[var(--md3-outline-variant)] px-2",
|
|
3073
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
3074
|
-
className: "flex min-w-0 flex-1 items-center",
|
|
3075
|
-
children: header
|
|
3076
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
3036
|
+
function MobileNavDrawer({ breakpoint, header, footer, panel, children }) {
|
|
3037
|
+
return /* @__PURE__ */ jsxs(Dialog$1.Portal, { children: [/* @__PURE__ */ jsx(Dialog$1.Overlay, { className: cn$1("fixed inset-0 z-50 bg-black/50", SHOW_BELOW_CLASS[breakpoint]) }), /* @__PURE__ */ jsxs(Dialog$1.Content, {
|
|
3038
|
+
id: "sidebar-mobile-nav",
|
|
3039
|
+
"aria-describedby": void 0,
|
|
3040
|
+
style: { width: 256 },
|
|
3041
|
+
className: cn$1("agent-arrive fixed inset-y-0 left-0 z-50 flex max-w-[85vw] flex-col border-r border-[var(--md3-outline-variant)] bg-surface-container-low shadow-xl", SHOW_BELOW_CLASS[breakpoint]),
|
|
3042
|
+
children: [
|
|
3043
|
+
/* @__PURE__ */ jsx(Dialog$1.Title, {
|
|
3044
|
+
className: "sr-only",
|
|
3045
|
+
children: "Navigation"
|
|
3046
|
+
}),
|
|
3047
|
+
/* @__PURE__ */ jsxs("div", {
|
|
3048
|
+
className: "flex h-14 shrink-0 items-center gap-1 border-b border-[var(--md3-outline-variant)] px-2",
|
|
3049
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
3050
|
+
className: "flex min-w-0 flex-1 items-center",
|
|
3051
|
+
children: header
|
|
3052
|
+
}), /* @__PURE__ */ jsx(Dialog$1.Close, {
|
|
3053
|
+
asChild: true,
|
|
3054
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
3077
3055
|
type: "button",
|
|
3078
3056
|
"aria-label": "Close navigation",
|
|
3079
|
-
onClick: onClose,
|
|
3080
3057
|
className: cn$1("flex size-9 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-[var(--accent-surface-soft)] hover:text-foreground", MOTION_CONTROL),
|
|
3081
3058
|
children: /* @__PURE__ */ jsx(CloseIcon, { className: "size-5" })
|
|
3082
|
-
})
|
|
3083
|
-
})
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
})
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
});
|
|
3059
|
+
})
|
|
3060
|
+
})]
|
|
3061
|
+
}),
|
|
3062
|
+
/* @__PURE__ */ jsxs("nav", {
|
|
3063
|
+
"aria-label": "Sections",
|
|
3064
|
+
className: "flex min-h-0 flex-1 flex-col gap-0.5 overflow-y-auto px-2 py-2",
|
|
3065
|
+
children: [children, panel != null && /* @__PURE__ */ jsx("div", {
|
|
3066
|
+
className: "mt-2 border-t border-[var(--md3-outline-variant)] pt-2",
|
|
3067
|
+
children: panel
|
|
3068
|
+
})]
|
|
3069
|
+
}),
|
|
3070
|
+
footer != null && /* @__PURE__ */ jsx("div", {
|
|
3071
|
+
className: "shrink-0 border-t border-[var(--md3-outline-variant)] px-2 py-2",
|
|
3072
|
+
children: footer
|
|
3073
|
+
})
|
|
3074
|
+
]
|
|
3075
|
+
})] });
|
|
3099
3076
|
}
|
|
3100
3077
|
/**
|
|
3101
3078
|
* App shell built on the sidebar rail + slide-out panel, without a top nav bar.
|
package/dist/dashboard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-
|
|
1
|
+
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-gJ9BBwlA.js";
|
|
2
2
|
import { n as canonicalModelId, r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
3
3
|
import { a as formatPrice, i as PricingPage, n as SandboxPageShell, o as BillingDashboard, r as UsageChart, t as DashboardPageHeader } from "./page-layout-2IRtfx51.js";
|
|
4
4
|
export { ActivityFeed, BackendSelector, BillingDashboard, DashboardLayout, DashboardPageHeader, GitPanel, HARNESS_BRAND, HARNESS_OPTIONS, HarnessLogo, HarnessPicker, INSUFFICIENT_BALANCE_CODE, MetricAreaChart, ModelBrandStack, NewSandboxCard, OutOfCreditsModal, PortsList, PricingPage, ProcessList, ProfileAvatar, PromoBanner, RailButton, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, 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, SidebarRailNav, SnapshotList, SystemLogsViewer, TemplateCard, UsageChart, UsageSummary, canAdminSandbox, canonicalModelId, chatCapableHarnesses, formatPrice, modelBrandFor, parseInsufficientBalance, sandboxStatus, useSidebar };
|
package/dist/globals.css
CHANGED
|
@@ -756,6 +756,18 @@
|
|
|
756
756
|
width: calc(var(--spacing) * 20);
|
|
757
757
|
height: calc(var(--spacing) * 20);
|
|
758
758
|
}
|
|
759
|
+
.size-\[var\(--control-height\,2\.25rem\)\] {
|
|
760
|
+
width: var(--control-height,2.25rem);
|
|
761
|
+
height: var(--control-height,2.25rem);
|
|
762
|
+
}
|
|
763
|
+
.size-\[var\(--control-height-lg\,2\.75rem\)\] {
|
|
764
|
+
width: var(--control-height-lg,2.75rem);
|
|
765
|
+
height: var(--control-height-lg,2.75rem);
|
|
766
|
+
}
|
|
767
|
+
.size-\[var\(--control-height-sm\,2rem\)\] {
|
|
768
|
+
width: var(--control-height-sm,2rem);
|
|
769
|
+
height: var(--control-height-sm,2rem);
|
|
770
|
+
}
|
|
759
771
|
.size-full {
|
|
760
772
|
width: 100%;
|
|
761
773
|
height: 100%;
|
|
@@ -940,6 +952,15 @@
|
|
|
940
952
|
.h-\[var\(--control-height\)\] {
|
|
941
953
|
height: var(--control-height);
|
|
942
954
|
}
|
|
955
|
+
.h-\[var\(--control-height\,2\.25rem\)\] {
|
|
956
|
+
height: var(--control-height,2.25rem);
|
|
957
|
+
}
|
|
958
|
+
.h-\[var\(--control-height-lg\,2\.75rem\)\] {
|
|
959
|
+
height: var(--control-height-lg,2.75rem);
|
|
960
|
+
}
|
|
961
|
+
.h-\[var\(--control-height-sm\,2rem\)\] {
|
|
962
|
+
height: var(--control-height-sm,2rem);
|
|
963
|
+
}
|
|
943
964
|
.h-\[var\(--indicator-dot-size\)\] {
|
|
944
965
|
height: var(--indicator-dot-size);
|
|
945
966
|
}
|
|
@@ -1318,9 +1339,6 @@
|
|
|
1318
1339
|
.w-\[var\(--avatar-size\)\] {
|
|
1319
1340
|
width: var(--avatar-size);
|
|
1320
1341
|
}
|
|
1321
|
-
.w-\[var\(--control-height\)\] {
|
|
1322
|
-
width: var(--control-height);
|
|
1323
|
-
}
|
|
1324
1342
|
.w-\[var\(--indicator-dot-size\)\] {
|
|
1325
1343
|
width: var(--indicator-dot-size);
|
|
1326
1344
|
}
|
|
@@ -3303,9 +3321,6 @@
|
|
|
3303
3321
|
.text-\[12px\] {
|
|
3304
3322
|
font-size: 12px;
|
|
3305
3323
|
}
|
|
3306
|
-
.text-\[13\.5px\] {
|
|
3307
|
-
font-size: 13.5px;
|
|
3308
|
-
}
|
|
3309
3324
|
.text-\[13px\] {
|
|
3310
3325
|
font-size: 13px;
|
|
3311
3326
|
}
|
|
@@ -3315,6 +3330,15 @@
|
|
|
3315
3330
|
.text-\[15px\] {
|
|
3316
3331
|
font-size: 15px;
|
|
3317
3332
|
}
|
|
3333
|
+
.text-\[length\:var\(--control-text-lg\,1rem\)\] {
|
|
3334
|
+
font-size: var(--control-text-lg,1rem);
|
|
3335
|
+
}
|
|
3336
|
+
.text-\[length\:var\(--control-text-md\,0\.875rem\)\] {
|
|
3337
|
+
font-size: var(--control-text-md,0.875rem);
|
|
3338
|
+
}
|
|
3339
|
+
.text-\[length\:var\(--control-text-sm\,0\.75rem\)\] {
|
|
3340
|
+
font-size: var(--control-text-sm,0.75rem);
|
|
3341
|
+
}
|
|
3318
3342
|
.text-\[length\:var\(--font-size-3xl\,1\.875rem\)\] {
|
|
3319
3343
|
font-size: var(--font-size-3xl,1.875rem);
|
|
3320
3344
|
}
|
|
@@ -3324,9 +3348,15 @@
|
|
|
3324
3348
|
.text-\[length\:var\(--font-size-display\,3rem\)\] {
|
|
3325
3349
|
font-size: var(--font-size-display,3rem);
|
|
3326
3350
|
}
|
|
3351
|
+
.text-\[length\:var\(--font-size-help\,0\.75rem\)\] {
|
|
3352
|
+
font-size: var(--font-size-help,0.75rem);
|
|
3353
|
+
}
|
|
3327
3354
|
.text-\[length\:var\(--font-size-hero\,2\.5rem\)\] {
|
|
3328
3355
|
font-size: var(--font-size-hero,2.5rem);
|
|
3329
3356
|
}
|
|
3357
|
+
.text-\[length\:var\(--font-size-label\,0\.875rem\)\] {
|
|
3358
|
+
font-size: var(--font-size-label,0.875rem);
|
|
3359
|
+
}
|
|
3330
3360
|
.text-\[length\:var\(--font-size-lg\,1rem\)\] {
|
|
3331
3361
|
font-size: var(--font-size-lg,1rem);
|
|
3332
3362
|
}
|
|
@@ -5467,6 +5497,10 @@
|
|
|
5467
5497
|
}
|
|
5468
5498
|
}
|
|
5469
5499
|
@media (pointer: coarse) {
|
|
5500
|
+
.pointer-coarse\:text-base {
|
|
5501
|
+
font-size: var(--text-base);
|
|
5502
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
5503
|
+
}
|
|
5470
5504
|
.pointer-coarse\:before\:-inset-y-2\.5::before {
|
|
5471
5505
|
content: var(--tw-content);
|
|
5472
5506
|
inset-block: calc(var(--spacing) * -2.5);
|
|
@@ -5988,6 +6022,13 @@
|
|
|
5988
6022
|
--radius-sheet: 24px;
|
|
5989
6023
|
--radius: 0.5rem;
|
|
5990
6024
|
--control-height: 2.25rem;
|
|
6025
|
+
--control-height-sm: 2rem;
|
|
6026
|
+
--control-height-lg: 2.75rem;
|
|
6027
|
+
--control-text-sm: 0.75rem;
|
|
6028
|
+
--control-text-md: 0.875rem;
|
|
6029
|
+
--control-text-lg: 1rem;
|
|
6030
|
+
--font-size-label: 0.875rem;
|
|
6031
|
+
--font-size-help: 0.75rem;
|
|
5991
6032
|
--panel-padding: 1rem;
|
|
5992
6033
|
--content-max-width: 80rem;
|
|
5993
6034
|
--font-size-xs: 0.6875rem;
|
|
@@ -6437,6 +6478,14 @@
|
|
|
6437
6478
|
--text-page: var(--font-size-3xl);
|
|
6438
6479
|
--text-section: var(--font-size-xl);
|
|
6439
6480
|
--text-eyebrow: var(--font-size-sm);
|
|
6481
|
+
--text-control-sm: var(--control-text-sm);
|
|
6482
|
+
--text-control-md: var(--control-text-md);
|
|
6483
|
+
--text-control-lg: var(--control-text-lg);
|
|
6484
|
+
--text-label: var(--font-size-label);
|
|
6485
|
+
--text-help: var(--font-size-help);
|
|
6486
|
+
--spacing-control-sm: var(--control-height-sm);
|
|
6487
|
+
--spacing-control-md: var(--control-height);
|
|
6488
|
+
--spacing-control-lg: var(--control-height-lg);
|
|
6440
6489
|
--color-scrim: var(--scrim);
|
|
6441
6490
|
--color-scrim-strong: var(--scrim-strong);
|
|
6442
6491
|
--color-on-media: var(--on-media);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertProps, AlertTitle, AlertTone, ArtifactPane as ArtifactPane$1, ArtifactPaneProps, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, BadgeProps, Button as Button$1, ButtonProps as ButtonProps$1, CATEGORY_TONES, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, CardTitleProps, CategoryTone, Checkbox, Chip, ChipProps, CodeBlock, CodeBlockProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropZoneProps, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, EmptyStateProps, FilterField, FilterFieldProps, Heading, HeadingVariant, HeadingVariant as HeadingVariant$1, HelpText, HelpTextProps, IconTile, IconTileProps, InlineCode, InlineCodeProps, Input as Input$1, InputProps, Label as Label$1, Metric, MetricProps, MetricStrip, MetricStripProps, PageHeader as PageHeader$1, PageHeaderProps, PageHeaderProps as PageHeaderProps$1, PageShell as PageShell$1, PageShellProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, SidebarDropZoneProps, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatCardProps, StatusPill as StatusPill$1, StatusPillProps as StatusPillProps$1, StatusTone as StatusTone$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableProps, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TagProps, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, TextShimmerProps, Textarea as Textarea$1, TextareaProps, ThemeToggle, Toast, ToastContainer, ToastProvider, Tone, ToneClasses, Toolbar, ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, initialsOf, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
2
|
+
import { TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
|
+
import { ElementType, HTMLAttributes, ReactNode } from "react";
|
|
4
|
+
//#region src/primitives/logo.d.ts
|
|
5
|
+
interface LogoProps {
|
|
6
|
+
variant?: "sandbox";
|
|
7
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
8
|
+
className?: string;
|
|
9
|
+
iconOnly?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
12
|
+
declare function Logo$1({ variant, size, className, iconOnly }: LogoProps): import("react").JSX.Element;
|
|
13
|
+
declare namespace Logo$1 {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/primitives/heading.d.ts
|
|
18
|
+
/** Preserve the existing public type's required visual role and children.
|
|
19
|
+
* The binding above remains UI's object, without a local render function.
|
|
20
|
+
*/
|
|
21
|
+
interface HeadingProps extends Omit<HTMLAttributes<HTMLElement>, "role"> {
|
|
22
|
+
role: HeadingVariant;
|
|
23
|
+
as?: ElementType;
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
type SectionTitleProps = Pick<PageHeaderProps, "title" | "description" | "action" | "className">;
|
|
27
|
+
/** Compatibility name for the canonical nested (h2) page header. */
|
|
28
|
+
declare function SectionTitle(props: SectionTitleProps): import("react").JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { ContextMenuShortcut as $, TableProps as $n, PageShell$1 as $t, CardFooter as A, SheetPortal as An, badgeVariants as Ar, DropdownMenuSubTrigger$1 as At, Collapsible as B, StatCardProps as Bn, LogoProps as Br, IconTile as Bt, BadgeProps as C, Sheet as Cn, Tooltip as Cr, DropdownMenuPortal as Ct, Card$1 as D, SheetFooter as Dn, UploadFile as Dr, DropdownMenuShortcut as Dt, CATEGORY_TONES as E, SheetDescription as En, TooltipTrigger as Er, DropdownMenuSeparator$1 as Et, Checkbox as F, Skeleton$1 as Fn, useToast as Fr, FilterFieldProps as Ft, ContextMenuContent as G, TONE_CLASSES as Gn, InputProps as Gt, CollapsibleTrigger as H, StatusPillProps$1 as Hn, InlineCode as Ht, Chip as I, SkeletonCard$1 as In, HeadingProps as Ir, Heading as It, ContextMenuLabel as J, TableCaption as Jn, MetricProps as Jt, ContextMenuGroup as K, Table as Kn, Label$1 as Kt, ChipProps as L, SkeletonTable as Ln, SectionTitle as Lr, HeadingVariant$1 as Lt, CardTitle$1 as M, SheetTrigger as Mn, initialsOf as Mr, EmptyState$1 as Mt, CardTitleProps as N, SidebarDropZone as Nn, toneFor as Nr, EmptyStateProps as Nt, CardContent$1 as O, SheetHeader as On, UploadProgress as Or, DropdownMenuSub$1 as Ot, CategoryTone as P, SidebarDropZoneProps as Pn, useTheme as Pr, FilterField as Pt, ContextMenuSeparator as Q, TableHeader as Qn, PageHeaderProps$1 as Qt, CodeBlock as R, Slider as Rn, SectionTitleProps as Rr, HelpText as Rt, Badge$1 as S, Separator as Sn, ToolbarProps as Sr, DropdownMenuLabel$1 as St, ButtonProps$1 as T, SheetContent as Tn, TooltipProvider as Tr, DropdownMenuRadioItem as Tt, ContextMenu as U, StatusTone$1 as Un, InlineCodeProps as Ut, CollapsibleContent as V, StatusPill$1 as Vn, TangleKnot$1 as Vr, IconTileProps as Vt, ContextMenuCheckboxItem as W, Switch as Wn, Input$1 as Wt, ContextMenuRadioGroup as X, TableFooter as Xn, MetricStripProps as Xt, ContextMenuPortal as Y, TableCell as Yn, MetricStrip as Yt, ContextMenuRadioItem as Z, TableHead as Zn, PageHeader$1 as Zt, ArtifactPane$1 as _, SelectScrollDownButton as _n, ToastContainer as _r, DropdownMenu$1 as _t, AlertDialogCancel as a, PopoverClose as an, Tag as ar, Dialog$1 as at, AvatarFallback$1 as b, SelectTrigger$1 as bn, ToneClasses as br, DropdownMenuGroup as bt, AlertDialogFooter as c, Progress$1 as cn, TerminalDisplay as cr, DialogDescription$1 as ct, AlertDialogPortal as d, SegmentedControlProps as dn, TextShimmer as dr, DialogOverlay as dt, PageShellProps as en, TableRow as er, ContextMenuSub as et, AlertDialogTitle as f, Select$1 as fn, TextShimmerProps as fr, DialogPortal as ft, AlertTone as g, SelectLabel as gn, Toast as gr, DropZoneProps as gt, AlertTitle as h, SelectItem$1 as hn, ThemeToggle as hr, DropZone as ht, AlertDialogAction as i, PopoverAnchor as in, TabsTrigger$1 as ir, CopyButton as it, CardHeader$1 as j, SheetTitle as jn, buttonVariants as jr, DropdownMenuTrigger$1 as jt, CardDescription$1 as k, SheetOverlay as kn, UploadProgressProps as kr, DropdownMenuSubContent$1 as kt, AlertDialogHeader as l, SegmentedControl as ln, TerminalInput as lr, DialogFooter$1 as lt, AlertProps as m, SelectGroup as mn, TextareaProps as mr, DialogTrigger$1 as mt, AlertDescription as n, PaginationProps as nn, TabsContent$1 as nr, ContextMenuSubTrigger as nt, AlertDialogContent as o, PopoverContent as on, TagProps as or, DialogClose$1 as ot, AlertDialogTrigger as p, SelectContent$1 as pn, Textarea$1 as pr, DialogTitle$1 as pt, ContextMenuItem as q, TableBody as qn, Metric as qt, AlertDialog as r, Popover as rn, TabsList$1 as rr, ContextMenuTrigger as rt, AlertDialogDescription as s, PopoverTrigger as sn, TerminalCursor as sr, DialogContent$1 as st, Alert as t, Pagination as tn, Tabs$1 as tr, ContextMenuSubContent as tt, AlertDialogOverlay as u, SegmentedControlOption as un, TerminalLine as ur, DialogHeader$1 as ut, ArtifactPaneProps as v, SelectScrollUpButton as vn, ToastProvider as vr, DropdownMenuCheckboxItem as vt, Button$1 as w, SheetClose as wn, TooltipContent as wr, DropdownMenuRadioGroup as wt, AvatarImage$1 as x, SelectValue$1 as xn, Toolbar as xr, DropdownMenuItem$1 as xt, Avatar$1 as y, SelectSeparator as yn, Tone as yr, DropdownMenuContent$1 as yt, CodeBlockProps as z, StatCard$1 as zn, Logo$1 as zr, HelpTextProps as zt };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { n as UsePtySessionReturn, r as usePtySession, t as UsePtySessionOptions
|
|
|
9
9
|
import { t as Session } from "./sidecar-DgH_vQ6m.js";
|
|
10
10
|
import { d as useSessionStream, l as UseSessionStreamOptions, n as UseSidecarAuthOptions, o as SessionDegradation, r as useSidecarAuth, s as SessionInfo, t as SidecarAuth, u as UseSessionStreamResult } from "./use-sidecar-auth-CCTJcrq7.js";
|
|
11
11
|
import { AgentStreamEvent, AppendUserMessageOptions, ApplySdkEventOptions, AuthUser, AutomationStreamEvent, BeginAssistantMessageOptions, BotStreamEvent, CompleteAssistantMessageOptions, RealtimeSessionOptions, RealtimeSessionRegistry, RealtimeSessionRegistryProps, RealtimeSessionState, RealtimeSessionTarget, SSEEvent, SandboxMetrics, SdkSessionAttachment, SdkSessionEvent, SdkSessionSeed, SidecarMetricsPayload, TaskStreamEvent, TerminalStreamEvent, UseAuthOptions, UseAuthResult, UseRunGroupsOptions, UseSSEStreamOptions, UseSSEStreamResult, UseSandboxMetricsOptions, UseSandboxMetricsResult, UseSdkSessionOptions, UseSdkSessionReturn, UseToolCallStreamReturn, createAuthFetcher, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useLiveTime, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessions, useToolCallStream } from "./hooks.js";
|
|
12
|
-
import { $ as ContextMenuShortcut, $n as
|
|
12
|
+
import { $ as ContextMenuShortcut, $n as TableProps, $t as PageShell, A as CardFooter, An as SheetPortal, Ar as badgeVariants, At as DropdownMenuSubTrigger, B as Collapsible, Bn as StatCardProps, Br as LogoProps, Bt as IconTile, C as BadgeProps, Cn as Sheet, Cr as Tooltip, Ct as DropdownMenuPortal, D as Card, Dn as SheetFooter, Dr as UploadFile, Dt as DropdownMenuShortcut, E as CATEGORY_TONES, En as SheetDescription, Er as TooltipTrigger, Et as DropdownMenuSeparator, F as Checkbox, Fn as Skeleton, Fr as useToast, Ft as FilterFieldProps, G as ContextMenuContent, Gn as TONE_CLASSES, Gt as InputProps, H as CollapsibleTrigger, Hn as StatusPillProps, Ht as InlineCode, I as Chip, In as SkeletonCard, Ir as HeadingProps, It as Heading, J as ContextMenuLabel, Jn as TableCaption, Jt as MetricProps, K as ContextMenuGroup, Kn as Table, Kt as Label, L as ChipProps, Ln as SkeletonTable, Lr as SectionTitle, Lt as HeadingVariant, M as CardTitle, Mn as SheetTrigger, Mr as initialsOf, Mt as EmptyState, N as CardTitleProps, Nn as SidebarDropZone, Nr as toneFor, Nt as EmptyStateProps, O as CardContent, On as SheetHeader, Or as UploadProgress, Ot as DropdownMenuSub, P as CategoryTone, Pn as SidebarDropZoneProps, Pr as useTheme, Pt as FilterField, Q as ContextMenuSeparator, Qn as TableHeader, Qt as PageHeaderProps, R as CodeBlock, Rn as Slider, Rr as SectionTitleProps, Rt as HelpText, S as Badge, Sn as Separator, Sr as ToolbarProps, St as DropdownMenuLabel, T as ButtonProps, Tn as SheetContent, Tr as TooltipProvider, Tt as DropdownMenuRadioItem, U as ContextMenu, Un as StatusTone, Ut as InlineCodeProps, V as CollapsibleContent, Vn as StatusPill, Vr as TangleKnot, Vt as IconTileProps, W as ContextMenuCheckboxItem, Wn as Switch, Wt as Input, X as ContextMenuRadioGroup, Xn as TableFooter, Xt as MetricStripProps, Y as ContextMenuPortal, Yn as TableCell, Yt as MetricStrip, Z as ContextMenuRadioItem, Zn as TableHead, Zt as PageHeader, _n as SelectScrollDownButton, _r as ToastContainer, _t as DropdownMenu, a as AlertDialogCancel, an as PopoverClose, ar as Tag, at as Dialog, b as AvatarFallback, bn as SelectTrigger, br as ToneClasses, bt as DropdownMenuGroup, c as AlertDialogFooter, cn as Progress, cr as TerminalDisplay, ct as DialogDescription, d as AlertDialogPortal, dn as SegmentedControlProps, dr as TextShimmer, dt as DialogOverlay, en as PageShellProps, er as TableRow, et as ContextMenuSub, f as AlertDialogTitle, fn as Select, fr as TextShimmerProps, ft as DialogPortal, g as AlertTone, gn as SelectLabel, gr as Toast, gt as DropZoneProps, h as AlertTitle, hn as SelectItem, hr as ThemeToggle, ht as DropZone, i as AlertDialogAction, in as PopoverAnchor, ir as TabsTrigger, it as CopyButton, j as CardHeader, jn as SheetTitle, jr as buttonVariants, jt as DropdownMenuTrigger, k as CardDescription, kn as SheetOverlay, kr as UploadProgressProps, kt as DropdownMenuSubContent, l as AlertDialogHeader, ln as SegmentedControl, lt as DialogFooter, m as AlertProps, mn as SelectGroup, mr as TextareaProps, mt as DialogTrigger, n as AlertDescription, nn as PaginationProps, nr as TabsContent, nt as ContextMenuSubTrigger, o as AlertDialogContent, on as PopoverContent, or as TagProps, ot as DialogClose, p as AlertDialogTrigger, pn as SelectContent, pr as Textarea, pt as DialogTitle, q as ContextMenuItem, qn as TableBody, qt as Metric, r as AlertDialog, rn as Popover, rr as TabsList, rt as ContextMenuTrigger, s as AlertDialogDescription, sn as PopoverTrigger, st as DialogContent, t as Alert, tn as Pagination, tr as Tabs, tt as ContextMenuSubContent, u as AlertDialogOverlay, un as SegmentedControlOption, ut as DialogHeader, vn as SelectScrollUpButton, vr as ToastProvider, vt as DropdownMenuCheckboxItem, w as Button, wn as SheetClose, wr as TooltipContent, wt as DropdownMenuRadioGroup, x as AvatarImage, xn as SelectValue, xr as Toolbar, xt as DropdownMenuItem, y as Avatar, yn as SelectSeparator, yr as Tone, yt as DropdownMenuContent, z as CodeBlockProps, zn as StatCard, zr as Logo, zt as HelpTextProps } from "./index-C6oItkj5.js";
|
|
13
13
|
import { $ as StatusBar, A as createShellShouldRevalidate, B as SessionSidebarVariant, C as SandboxWorkbenchLayoutOptions, D as SandboxWorkbenchSessionProps, E as SandboxWorkbenchProps, F as SessionSidebarFilter, G as dispatchSessionCreated, H as SessionCreatedDetail, I as SessionSidebarGroupBy, J as RuntimePaneProps, K as useOptimisticSessionItems, L as SessionSidebarItem, M as formatRelativeAge, N as SessionSidebar, O as ShellShouldRevalidateArgs, P as SessionSidebarBadge, Q as ContextBadge, R as SessionSidebarLink, S as SandboxWorkbenchFileArtifact, T as SandboxWorkbenchOpenUIArtifact, U as SessionOptimisticController, V as SESSION_CREATED_EVENT, W as UseOptimisticSessionItemsOptions, X as TerminalPanel, Y as TerminalLine, Z as TerminalProps, _ as TaskBoardItem, a as WorkspaceFilesPane, at as DirectoryPaneProps, b as SandboxWorkbenchArtifact, c as ApprovalConfidenceStat, ct as WorkspaceLayout, d as ApprovalQueueProps, et as StatusBarProps, f as CalendarEvent, g as TaskBoardColumn, h as TaskBoard, i as WorkspaceArtifactViewProps, it as DirectoryPane, j as shellShouldRevalidate, k as ShellShouldRevalidateOptions, l as ApprovalItem, lt as WorkspaceLayoutProps, m as CalendarViewProps, n as ArtifactPaneProps, nt as StatusBanner, o as WorkspaceFilesPaneProps, ot as WorkspacePaneHeader, p as CalendarView, q as RuntimePane, r as WorkspaceArtifactView, rt as StatusBannerProps, s as WorkspaceFilesPreview, st as WorkspacePaneHeaderProps, t as ArtifactPane, tt as BannerType, u as ApprovalQueue, v as TaskBoardProps, w as SandboxWorkbenchMarkdownArtifact, x as SandboxWorkbenchCustomArtifact, y as SandboxWorkbench, z as SessionSidebarProps } from "./index-Bww3rzEG.js";
|
|
14
14
|
import { A as SandboxArtifactTerminal, C as ChangesPane, D as ChangesPaneProps, E as ChangedFile, O as SandboxArtifact, S as PillTabsProps, T as ArtifactView, _ as DiffStats, a as PreviewView, b as PillTabItem, c as DiffViewProps, d as FileBreadcrumb, f as FileBreadcrumbProps, g as PanelHeaderProps, h as PanelHeader, i as resolveLanguage, k as SandboxArtifactPaneProps, l as CodeView, m as GitStatusBadge, n as CodeSurface, o as PreviewViewProps, p as DiffStatsBadge, r as CodeSurfaceProps, s as DiffView, t as BRAND_PRISM_THEME, u as CodeViewProps, v as buildUnifiedPatch, w as SandboxArtifactPane, x as PillTabs, y as computeDiffStats } from "./index-DTy7WF0k.js";
|
|
15
15
|
import { a as PreviewReadiness, i as PreviewAccess, n as EmbeddedAppView, r as EmbeddedAppViewProps, t as EmbeddedApp } from "./embedded-app-view-B_vMTtJn.js";
|
|
@@ -21,4 +21,4 @@ import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focus
|
|
|
21
21
|
import { TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine } from "@tangle-network/ui/primitives";
|
|
22
22
|
import { CodeBlock as CodeBlockDisplay, Markdown, MarkdownProps, getSanitizedMarkdownHeadingIdFromRawFragment } from "@tangle-network/ui/markdown";
|
|
23
23
|
import { CommandPreview, CommandPreviewProps, DiffPreview, DiffPreviewProps, GlobResultsPreview, GlobResultsPreviewProps, GrepResultsPreview, GrepResultsPreviewProps, QuestionPreview, QuestionPreviewProps, WebSearchPreview, WebSearchPreviewProps, WriteFilePreview, WriteFilePreviewProps } from "@tangle-network/ui/tool-previews";
|
|
24
|
-
export { ActivityFeed, type ActivityFeedProps, type ActivityItem, type AgentBranding, type AgentEnrollmentViewState, AgentMessagingConnection, type AgentMessagingConnectionProps, type AgentProfileCapability, type AgentProfileDraft, type AgentProfileOption, AgentProfilePicker, type AgentProfilePickerProps, type AgentStreamEvent, type AgentTargetSummary, AgentTimeline, type AgentTimelineArtifactItem, type AgentTimelineCustomItem, type AgentTimelineItem, type AgentTimelineMessageItem, type AgentTimelineProps, type AgentTimelineStatusItem, type AgentTimelineTone, type AgentTimelineToolGroupItem, type AgentTimelineToolItem, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTone, type AppearanceController, type AppendUserMessageOptions, type ApplySdkEventOptions, type ApprovalConfidenceStat, type ApprovalItem, ApprovalQueue, type ApprovalQueueProps, ArtifactAgentDock, type ArtifactAgentDockProps, type ArtifactAgentDockTransport, type ArtifactDockMessage, type ArtifactDockStreamEvent, type ArtifactKind, ArtifactPane, type ArtifactPaneProps, type ArtifactScope, type ArtifactView, AuthHeader, type AuthHeaderProps, type AuthUser, type AutomationStreamEvent, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, type Backend, BackendSelector, type BackendSelectorProps, Badge, type BadgeProps, type BannerType, type BeginAssistantMessageOptions, type BillingBalance, BillingDashboard, type BillingDashboardProps, type BillingSubscription, type BillingUsage, type BotStreamEvent, Button, type ButtonProps, CATEGORY_TONES, CSV_PREVIEW_ROW_LIMIT, type CalendarEvent, CalendarView, type CalendarViewProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardTitleProps, type CategoryTone, type ChangedFile, ChangesPane, type ChangesPaneProps, ChatContainer, type ChatContainerProps, ChatMessage, type ChatMessageProps, ChatSession, Checkbox, Chip, type ChipProps, CodeBlock, CodeBlockDisplay, type CodeBlockProps, CodeSurface, type CodeSurfaceProps, CodeView, type CodeViewProps, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandPreview, type CommandPreviewProps, type CompleteAssistantMessageOptions, type ContextBadge, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CustomToolRenderer, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, type DashboardLayoutProps, DashboardPageHeader, type DashboardPageHeaderProps, type SnapshotInfo as DashboardSnapshotInfo, type DashboardUser, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, type DiffPreviewProps, type DiffStats, DiffStatsBadge, DiffView, type DiffViewProps, DirectoryPane, type DirectoryPaneProps, type DisplayVariant, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EmbeddedApp, EmbeddedAppView, type EmbeddedAppViewProps, EmptyState, type EmptyStateProps, ExpandedToolDetail, type ExpandedToolDetailProps, type ExposedPort, type FeedSegment, FileArtifactPane, type FileArtifactPaneProps, FileBreadcrumb, type FileBreadcrumbProps, FileCard, type FileCardProps, type FileDetails, type FileFormat, FileList, type FileListItem, type FileListProps, type FileNode, FilePreview, type FilePreviewKind, type FilePreviewProps, type FileTabData, FileTabs, type FileTabsProps, FileTree, type FileTreeProps, type FileTreeVisibilityOptions, type FileUploader, FilterField, type FilterFieldProps, type FinalTextPart, type GitCommitData, GitHubLoginButton, type GitHubLoginButtonProps, GitPanel, type GitPanelProps, GitStatusBadge, type GitStatusData, GlobResultsPreview, type GlobResultsPreviewProps, GrepResultsPreview, type GrepResultsPreviewProps, type GroupedMessage, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, type HarnessBrand, HarnessLogo, type HarnessLogoProps, HarnessPicker, type HarnessPickerProps, type HarnessType, Heading, type HeadingProps, type HeadingVariant, INSUFFICIENT_BALANCE_CODE, IconTile, type IconTileProps, InlineCode, type InlineCodeProps, InlineThinkingItem, type InlineThinkingItemProps, InlineToolItem, type InlineToolItemProps, Input, type InputProps, type InsufficientBalance, Label, LiveDuration, LoginLayout, type LoginLayoutProps, Logo, type LogoProps, Markdown, type MarkdownProps, type McpServer, MessageAuthor, type MessageAuthorProps, MessageList, type MessageListProps, type MessageRole, type MessageRun, type MessageUser, Metric, MetricAreaChart, type MetricAreaChartProps, type MetricChartPoint, type MetricChartTone, type MetricProps, MetricStrip, type MetricStripProps, type ModelBrandIdentity, ModelBrandStack, type ModelInfo, type NavItem, NewSandboxCard, type NewSandboxCardProps, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, type OpenUIAction, type OpenUIActionsNode, OpenUIArtifactRenderer, type OpenUIArtifactRendererProps, type OpenUIBadgeNode, type OpenUICardNode, type OpenUICodeNode, type OpenUIComponentNode, type OpenUIGridNode, type OpenUIHeadingNode, type OpenUIKeyValueNode, type OpenUIMarkdownNode, type OpenUIPrimitive, type OpenUISchemaIssue, type OpenUISchemaValidation, type OpenUISeparatorNode, type OpenUIStackNode, type OpenUIStatNode, type OpenUITableNode, type OpenUITextNode, OutOfCreditsModal, type OutOfCreditsModalProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, Pagination, type PaginationProps, PanelHeader, type PanelHeaderProps, PdfViewer, type PdfViewerConfig, type PdfViewerProps, type PillTabItem, PillTabs, type PillTabsProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PortsList, type PortsListProps, type PreviewAccess, type PreviewReadiness, PreviewView, type PreviewViewProps, PricingPage, type PricingPageProps, type PricingTier, type ProcessInfo, ProcessList, type ProcessListProps, type ProductVariant, ProfileAvatar, type ProfileAvatarProps, Progress, PromoBanner, type PromoBannerProps, QuestionPreview, type QuestionPreviewProps, RailButton, type RailButtonProps, RailExpandable, type RailExpandableProps, type RailExpandableSubItem, RailFlyout, type RailFlyoutProps, RailHeader, type RailHeaderProps, RailModeButton, type RailModeButtonProps, RailSeparator, type RailSeparatorProps, RailTooltip, type RailTooltipProps, type RealtimeSessionOptions, RealtimeSessionRegistry, type RealtimeSessionRegistryProps, type RealtimeSessionState, type RealtimeSessionTarget, type ReasoningLevel, type ReasoningLevelOption, ReasoningLevelPicker, type ReasoningLevelPickerProps, type ReasoningPart, ResourceMeter, type ResourceMeterProps, ResourceSnapshot, type ResourceSnapshotItem, type ResourceSnapshotProps, RichFileTree, type RichFileTreeGitEntry, type RichFileTreeGitStatus, type RichFileTreeProps, type RichFileTreeThemeVars, type Run, RunGroup, type RunGroupProps, RunRowShell, type RunRowShellProps, type RunRowStatus, RunRowStatusDot, type RunStats, RuntimePane, type RuntimePaneProps, SANDBOX_STATUS, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, type SSEEvent, type SandboxArtifact, SandboxArtifactPane, type SandboxArtifactPaneProps, type SandboxArtifactTerminal, SandboxCard, type SandboxCardData, type SandboxCardProps, type SandboxMetrics, SandboxPageShell, type SandboxPageShellProps, type SandboxStatus, SandboxStatusPill, type SandboxStatusPillProps, SandboxTable, type SandboxTableProps, SandboxWorkbench, type SandboxWorkbenchArtifact, type SandboxWorkbenchCustomArtifact, type SandboxWorkbenchFileArtifact, type SandboxWorkbenchLayoutOptions, type SandboxWorkbenchMarkdownArtifact, type SandboxWorkbenchOpenUIArtifact, type SandboxWorkbenchProps, type SandboxWorkbenchSessionProps, type SdkSessionAttachment, type SdkSessionEvent, type SdkSessionSeed, SectionTitle, type SectionTitleProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Session, type SessionCreatedDetail, type SessionDegradation, type SessionInfo, type SessionMessage, type SessionOptimisticController, type SessionPart, SessionSidebar, type SessionSidebarBadge, type SessionSidebarFilter, type SessionSidebarGroupBy, type SessionSidebarItem, type SessionSidebarLink, type SessionSidebarProps, type SessionSidebarVariant, type SessionUser, type SharedMessagingRouteViewState, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type ShellShouldRevalidateArgs, type ShellShouldRevalidateOptions, Sidebar, SidebarContent, type SidebarContentProps, SidebarDropZone, type SidebarDropZoneProps, SidebarLayout, type SidebarLayoutFlyoutItem, type SidebarLayoutNavItem, type SidebarLayoutProps, SidebarPanel, SidebarPanelContent, type SidebarPanelContentProps, SidebarPanelHeader, type SidebarPanelHeaderProps, type SidebarPanelProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarRailFooter, type SidebarRailFooterProps, SidebarRailNav, type SidebarRailNavProps, type SidebarRailProps, type SidebarUser, type SidecarAuth, type SidecarMetricsPayload, Skeleton, SkeletonCard, SkeletonTable, Slider, SnapshotList, type SnapshotListProps, StatCard, type StatCardProps, StatusBanner, type StatusBannerProps, StatusBar, type StatusBarProps, StatusPill, type StatusPillProps, type StatusTone, Switch, SystemLogsViewer, type SystemLogsViewerProps, TONE_CLASSES, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TangleKnot, TangleLoginButton, type TangleLoginButtonProps, TaskBoard, type TaskBoardColumn, type TaskBoardItem, type TaskBoardProps, type TaskStreamEvent, type TeamRole, TemplateCard, type TemplateCardData, type TemplateCardProps, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, type TerminalLine, TerminalPanel, type TerminalProps, type TerminalStreamEvent, type TextPart, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggle, ThinkingIndicator, type ThinkingIndicatorProps, type Toast, ToastContainer, ToastProvider, type Tone, type ToneClasses, type ToolCallData, ToolCallFeed, type ToolCallFeedProps, type ToolCallStatus, type ToolCallType, type ToolCategory, type ToolDisplayMetadata, type ToolPart, type ToolState, type ToolStatus, type ToolTime, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadFile, UploadProgress, type UploadProgressProps, UsageChart, type UsageChartProps, type UsageDataPoint, UsageSummary, type UsageSummaryData, type UsageSummaryProps, type UseAuthOptions, type UseAuthResult, type UseOptimisticSessionItemsOptions, type UsePtySessionOptions, type UsePtySessionReturn, type UseRunGroupsOptions, type UseSSEStreamOptions, type UseSSEStreamResult, type UseSandboxMetricsOptions, type UseSandboxMetricsResult, type UseSdkSessionOptions, type UseSdkSessionReturn, type UseSessionStreamOptions, type UseSessionStreamResult, type UseSidecarAuthOptions, type UseToolCallStreamReturn, UserMenu, type UserMenuProps, UserMessage, type UserMessageProps, WebSearchPreview, type WebSearchPreviewProps, WorkspaceArtifactView, type WorkspaceArtifactViewProps, WorkspaceFilesPane, type WorkspaceFilesPaneProps, type WorkspaceFilesPreview, WorkspaceLayout, type WorkspaceLayoutProps, WorkspacePaneHeader, type WorkspacePaneHeaderProps, WriteFilePreview, type WriteFilePreviewProps, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, configurePdfViewer, connectSession, copyText, createAuthFetcher, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSanitizedMarkdownHeadingIdFromRawFragment, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, initialsOf, isStreamingAtom, isViewerMessage, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sandboxStatus, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, toneFor, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
|
24
|
+
export { ActivityFeed, type ActivityFeedProps, type ActivityItem, type AgentBranding, type AgentEnrollmentViewState, AgentMessagingConnection, type AgentMessagingConnectionProps, type AgentProfileCapability, type AgentProfileDraft, type AgentProfileOption, AgentProfilePicker, type AgentProfilePickerProps, type AgentStreamEvent, type AgentTargetSummary, AgentTimeline, type AgentTimelineArtifactItem, type AgentTimelineCustomItem, type AgentTimelineItem, type AgentTimelineMessageItem, type AgentTimelineProps, type AgentTimelineStatusItem, type AgentTimelineTone, type AgentTimelineToolGroupItem, type AgentTimelineToolItem, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTone, type AppearanceController, type AppendUserMessageOptions, type ApplySdkEventOptions, type ApprovalConfidenceStat, type ApprovalItem, ApprovalQueue, type ApprovalQueueProps, ArtifactAgentDock, type ArtifactAgentDockProps, type ArtifactAgentDockTransport, type ArtifactDockMessage, type ArtifactDockStreamEvent, type ArtifactKind, ArtifactPane, type ArtifactPaneProps, type ArtifactScope, type ArtifactView, AuthHeader, type AuthHeaderProps, type AuthUser, type AutomationStreamEvent, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, type Backend, BackendSelector, type BackendSelectorProps, Badge, type BadgeProps, type BannerType, type BeginAssistantMessageOptions, type BillingBalance, BillingDashboard, type BillingDashboardProps, type BillingSubscription, type BillingUsage, type BotStreamEvent, Button, type ButtonProps, CATEGORY_TONES, CSV_PREVIEW_ROW_LIMIT, type CalendarEvent, CalendarView, type CalendarViewProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardTitleProps, type CategoryTone, type ChangedFile, ChangesPane, type ChangesPaneProps, ChatContainer, type ChatContainerProps, ChatMessage, type ChatMessageProps, ChatSession, Checkbox, Chip, type ChipProps, CodeBlock, CodeBlockDisplay, type CodeBlockProps, CodeSurface, type CodeSurfaceProps, CodeView, type CodeViewProps, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandPreview, type CommandPreviewProps, type CompleteAssistantMessageOptions, type ContextBadge, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CustomToolRenderer, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, type DashboardLayoutProps, DashboardPageHeader, type DashboardPageHeaderProps, type SnapshotInfo as DashboardSnapshotInfo, type DashboardUser, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, type DiffPreviewProps, type DiffStats, DiffStatsBadge, DiffView, type DiffViewProps, DirectoryPane, type DirectoryPaneProps, type DisplayVariant, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EmbeddedApp, EmbeddedAppView, type EmbeddedAppViewProps, EmptyState, type EmptyStateProps, ExpandedToolDetail, type ExpandedToolDetailProps, type ExposedPort, type FeedSegment, FileArtifactPane, type FileArtifactPaneProps, FileBreadcrumb, type FileBreadcrumbProps, FileCard, type FileCardProps, type FileDetails, type FileFormat, FileList, type FileListItem, type FileListProps, type FileNode, FilePreview, type FilePreviewKind, type FilePreviewProps, type FileTabData, FileTabs, type FileTabsProps, FileTree, type FileTreeProps, type FileTreeVisibilityOptions, type FileUploader, FilterField, type FilterFieldProps, type FinalTextPart, type GitCommitData, GitHubLoginButton, type GitHubLoginButtonProps, GitPanel, type GitPanelProps, GitStatusBadge, type GitStatusData, GlobResultsPreview, type GlobResultsPreviewProps, GrepResultsPreview, type GrepResultsPreviewProps, type GroupedMessage, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, type HarnessBrand, HarnessLogo, type HarnessLogoProps, HarnessPicker, type HarnessPickerProps, type HarnessType, Heading, type HeadingProps, type HeadingVariant, HelpText, type HelpTextProps, INSUFFICIENT_BALANCE_CODE, IconTile, type IconTileProps, InlineCode, type InlineCodeProps, InlineThinkingItem, type InlineThinkingItemProps, InlineToolItem, type InlineToolItemProps, Input, type InputProps, type InsufficientBalance, Label, LiveDuration, LoginLayout, type LoginLayoutProps, Logo, type LogoProps, Markdown, type MarkdownProps, type McpServer, MessageAuthor, type MessageAuthorProps, MessageList, type MessageListProps, type MessageRole, type MessageRun, type MessageUser, Metric, MetricAreaChart, type MetricAreaChartProps, type MetricChartPoint, type MetricChartTone, type MetricProps, MetricStrip, type MetricStripProps, type ModelBrandIdentity, ModelBrandStack, type ModelInfo, type NavItem, NewSandboxCard, type NewSandboxCardProps, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, type OpenUIAction, type OpenUIActionsNode, OpenUIArtifactRenderer, type OpenUIArtifactRendererProps, type OpenUIBadgeNode, type OpenUICardNode, type OpenUICodeNode, type OpenUIComponentNode, type OpenUIGridNode, type OpenUIHeadingNode, type OpenUIKeyValueNode, type OpenUIMarkdownNode, type OpenUIPrimitive, type OpenUISchemaIssue, type OpenUISchemaValidation, type OpenUISeparatorNode, type OpenUIStackNode, type OpenUIStatNode, type OpenUITableNode, type OpenUITextNode, OutOfCreditsModal, type OutOfCreditsModalProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, Pagination, type PaginationProps, PanelHeader, type PanelHeaderProps, PdfViewer, type PdfViewerConfig, type PdfViewerProps, type PillTabItem, PillTabs, type PillTabsProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PortsList, type PortsListProps, type PreviewAccess, type PreviewReadiness, PreviewView, type PreviewViewProps, PricingPage, type PricingPageProps, type PricingTier, type ProcessInfo, ProcessList, type ProcessListProps, type ProductVariant, ProfileAvatar, type ProfileAvatarProps, Progress, PromoBanner, type PromoBannerProps, QuestionPreview, type QuestionPreviewProps, RailButton, type RailButtonProps, RailExpandable, type RailExpandableProps, type RailExpandableSubItem, RailFlyout, type RailFlyoutProps, RailHeader, type RailHeaderProps, RailModeButton, type RailModeButtonProps, RailSeparator, type RailSeparatorProps, RailTooltip, type RailTooltipProps, type RealtimeSessionOptions, RealtimeSessionRegistry, type RealtimeSessionRegistryProps, type RealtimeSessionState, type RealtimeSessionTarget, type ReasoningLevel, type ReasoningLevelOption, ReasoningLevelPicker, type ReasoningLevelPickerProps, type ReasoningPart, ResourceMeter, type ResourceMeterProps, ResourceSnapshot, type ResourceSnapshotItem, type ResourceSnapshotProps, RichFileTree, type RichFileTreeGitEntry, type RichFileTreeGitStatus, type RichFileTreeProps, type RichFileTreeThemeVars, type Run, RunGroup, type RunGroupProps, RunRowShell, type RunRowShellProps, type RunRowStatus, RunRowStatusDot, type RunStats, RuntimePane, type RuntimePaneProps, SANDBOX_STATUS, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, type SSEEvent, type SandboxArtifact, SandboxArtifactPane, type SandboxArtifactPaneProps, type SandboxArtifactTerminal, SandboxCard, type SandboxCardData, type SandboxCardProps, type SandboxMetrics, SandboxPageShell, type SandboxPageShellProps, type SandboxStatus, SandboxStatusPill, type SandboxStatusPillProps, SandboxTable, type SandboxTableProps, SandboxWorkbench, type SandboxWorkbenchArtifact, type SandboxWorkbenchCustomArtifact, type SandboxWorkbenchFileArtifact, type SandboxWorkbenchLayoutOptions, type SandboxWorkbenchMarkdownArtifact, type SandboxWorkbenchOpenUIArtifact, type SandboxWorkbenchProps, type SandboxWorkbenchSessionProps, type SdkSessionAttachment, type SdkSessionEvent, type SdkSessionSeed, SectionTitle, type SectionTitleProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Session, type SessionCreatedDetail, type SessionDegradation, type SessionInfo, type SessionMessage, type SessionOptimisticController, type SessionPart, SessionSidebar, type SessionSidebarBadge, type SessionSidebarFilter, type SessionSidebarGroupBy, type SessionSidebarItem, type SessionSidebarLink, type SessionSidebarProps, type SessionSidebarVariant, type SessionUser, type SharedMessagingRouteViewState, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type ShellShouldRevalidateArgs, type ShellShouldRevalidateOptions, Sidebar, SidebarContent, type SidebarContentProps, SidebarDropZone, type SidebarDropZoneProps, SidebarLayout, type SidebarLayoutFlyoutItem, type SidebarLayoutNavItem, type SidebarLayoutProps, SidebarPanel, SidebarPanelContent, type SidebarPanelContentProps, SidebarPanelHeader, type SidebarPanelHeaderProps, type SidebarPanelProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarRailFooter, type SidebarRailFooterProps, SidebarRailNav, type SidebarRailNavProps, type SidebarRailProps, type SidebarUser, type SidecarAuth, type SidecarMetricsPayload, Skeleton, SkeletonCard, SkeletonTable, Slider, SnapshotList, type SnapshotListProps, StatCard, type StatCardProps, StatusBanner, type StatusBannerProps, StatusBar, type StatusBarProps, StatusPill, type StatusPillProps, type StatusTone, Switch, SystemLogsViewer, type SystemLogsViewerProps, TONE_CLASSES, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TangleKnot, TangleLoginButton, type TangleLoginButtonProps, TaskBoard, type TaskBoardColumn, type TaskBoardItem, type TaskBoardProps, type TaskStreamEvent, type TeamRole, TemplateCard, type TemplateCardData, type TemplateCardProps, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, type TerminalLine, TerminalPanel, type TerminalProps, type TerminalStreamEvent, type TextPart, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggle, ThinkingIndicator, type ThinkingIndicatorProps, type Toast, ToastContainer, ToastProvider, type Tone, type ToneClasses, type ToolCallData, ToolCallFeed, type ToolCallFeedProps, type ToolCallStatus, type ToolCallType, type ToolCategory, type ToolDisplayMetadata, type ToolPart, type ToolState, type ToolStatus, type ToolTime, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadFile, UploadProgress, type UploadProgressProps, UsageChart, type UsageChartProps, type UsageDataPoint, UsageSummary, type UsageSummaryData, type UsageSummaryProps, type UseAuthOptions, type UseAuthResult, type UseOptimisticSessionItemsOptions, type UsePtySessionOptions, type UsePtySessionReturn, type UseRunGroupsOptions, type UseSSEStreamOptions, type UseSSEStreamResult, type UseSandboxMetricsOptions, type UseSandboxMetricsResult, type UseSdkSessionOptions, type UseSdkSessionReturn, type UseSessionStreamOptions, type UseSessionStreamResult, type UseSidecarAuthOptions, type UseToolCallStreamReturn, UserMenu, type UserMenuProps, UserMessage, type UserMessageProps, WebSearchPreview, type WebSearchPreviewProps, WorkspaceArtifactView, type WorkspaceArtifactViewProps, WorkspaceFilesPane, type WorkspaceFilesPaneProps, type WorkspaceFilesPreview, WorkspaceLayout, type WorkspaceLayoutProps, WorkspacePaneHeader, type WorkspacePaneHeaderProps, WriteFilePreview, type WriteFilePreviewProps, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, configurePdfViewer, connectSession, copyText, createAuthFetcher, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSanitizedMarkdownHeadingIdFromRawFragment, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, initialsOf, isStreamingAtom, isViewerMessage, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sandboxStatus, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, toneFor, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
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-
|
|
2
|
-
import { $ as DialogDescription, $n as
|
|
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-DqgJZ3Iv.js";
|
|
2
|
+
import { $ as DialogDescription, $n as Logo, $t as Sheet, A as CodeBlock, An as Tag, At as Metric, B as ContextMenuPortal, Bn as Toolbar, Bt as Progress, C as CardContent, Cn as TableHead, Ct as FilterField, D as CardTitle, Dn as TabsContent, Dt as InlineCode, E as CardHeader, En as Tabs, Et as IconTile, F as ContextMenuCheckboxItem, Fn as TextShimmer, Ft as Popover, G as ContextMenuSub, Gn as UploadProgress, Gt as SelectItem, H as ContextMenuRadioItem, Hn as TooltipContent, Ht as Select, I as ContextMenuContent, In as Textarea, It as PopoverAnchor, J as ContextMenuTrigger, Jn as initialsOf, Jt as SelectScrollUpButton, K as ContextMenuSubContent, Kn as badgeVariants, Kt as SelectLabel, L as ContextMenuGroup, Ln as ThemeToggle, Lt as PopoverClose, M as CollapsibleContent, Mn as TerminalDisplay, Mt as PageHeader, N as CollapsibleTrigger, Nt as PageShell, O as Checkbox, On as TabsList, Ot as Input, P as ContextMenu, Pt as Pagination, Q as DialogContent, Qn as SectionTitle, Qt as Separator, R as ContextMenuItem, Rn as ToastContainer, Rt as PopoverContent, S as Card, Sn as TableFooter, St as EmptyState, T as CardFooter, Tn as TableRow, Tt as HelpText, U as ContextMenuSeparator, Un as TooltipProvider, Ut as SelectContent, V as ContextMenuRadioGroup, Vn as Tooltip, Vt as SegmentedControl, W as ContextMenuShortcut, Wn as TooltipTrigger, Wt as SelectGroup, X as Dialog, Xn as useTheme, Xt as SelectTrigger, Y as CopyButton, Yn as toneFor, Yt as SelectSeparator, Z as DialogClose, Zn as useToast, Zt as SelectValue, _ as AvatarFallback, _n as TONE_CLASSES, _t as DropdownMenuShortcut, a as AlertDialogCancel, an as SheetOverlay, at as DialogTrigger, b as Button, bn as TableCaption, bt as DropdownMenuSubTrigger, c as AlertDialogFooter, cn as SheetTrigger, ct as DropdownMenuCheckboxItem, d as AlertDialogPortal, dn as SkeletonCard, dt as DropdownMenuItem, en as SheetClose, er as TangleKnot, et as DialogFooter, f as AlertDialogTitle, fn as SkeletonTable, ft as DropdownMenuLabel, g as Avatar, gn as Switch, gt as DropdownMenuSeparator, hn as StatusPill, ht as DropdownMenuRadioItem, i as AlertDialogAction, in as SheetHeader, it as DialogTitle, j as Collapsible, jt as MetricStrip, k as Chip, kn as TabsTrigger, kt as Label, l as AlertDialogHeader, ln as SidebarDropZone, lt as DropdownMenuContent, m as AlertTitle, mn as StatCard, mt as DropdownMenuRadioGroup, n as AlertDescription, nn as SheetDescription, nt as DialogOverlay, o as AlertDialogContent, on as SheetPortal, ot as DropZone, p as AlertDialogTrigger, pn as Slider, pt as DropdownMenuPortal, q as ContextMenuSubTrigger, qn as buttonVariants, qt as SelectScrollDownButton, r as AlertDialog, rn as SheetFooter, rt as DialogPortal, s as AlertDialogDescription, sn as SheetTitle, st as DropdownMenu, t as Alert, tn as SheetContent, tt as DialogHeader, u as AlertDialogOverlay, un as Skeleton, ut as DropdownMenuGroup, v as AvatarImage, vn as Table, vt as DropdownMenuSub, w as CardDescription, wn as TableHeader, wt as Heading, x as CATEGORY_TONES, xn as TableCell, xt as DropdownMenuTrigger, y as Badge, yn as TableBody, yt as DropdownMenuSubContent, z as ContextMenuLabel, zn as ToastProvider, zt as PopoverTrigger } from "./primitives-JjV1ruzp.js";
|
|
3
3
|
import { t as WorkspacePaneHeader } from "./workspace-pane-header-Bg1cCcHX.js";
|
|
4
4
|
import { _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, y as DirectoryPane } from "./workspace-C68fk9qa.js";
|
|
5
|
-
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-
|
|
5
|
+
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-gJ9BBwlA.js";
|
|
6
6
|
import { n as canonicalModelId, r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
7
7
|
import { a as formatPrice, i as PricingPage, n as SandboxPageShell, o as BillingDashboard, r as UsageChart, t as DashboardPageHeader } from "./page-layout-2IRtfx51.js";
|
|
8
8
|
import { t as usePtySession } from "./use-pty-session-Bf4hBLXJ.js";
|
|
@@ -21,4 +21,4 @@ import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focus
|
|
|
21
21
|
import { TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine } from "@tangle-network/ui/primitives";
|
|
22
22
|
import { CodeBlock as CodeBlockDisplay, Markdown, getSanitizedMarkdownHeadingIdFromRawFragment } from "@tangle-network/ui/markdown";
|
|
23
23
|
import { CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, QuestionPreview, WebSearchPreview, WriteFilePreview } from "@tangle-network/ui/tool-previews";
|
|
24
|
-
export { ActivityFeed, AgentMessagingConnection, AgentProfilePicker, AgentTimeline, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ApprovalQueue, ArtifactAgentDock, ArtifactPane, AuthHeader, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, BackendSelector, Badge, BillingDashboard, Button, CATEGORY_TONES, CSV_PREVIEW_ROW_LIMIT, CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChangesPane, ChatContainer, ChatMessage, Checkbox, Chip, CodeBlock, CodeBlockDisplay, CodeSurface, CodeView, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandPreview, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, DashboardPageHeader, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, DiffStatsBadge, DiffView, DirectoryPane, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbeddedAppView, EmptyState, ExpandedToolDetail, FileArtifactPane, FileBreadcrumb, FileCard, FileList, FilePreview, FileTabs, FileTree, FilterField, GitHubLoginButton, GitPanel, GitStatusBadge, GlobResultsPreview, GrepResultsPreview, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, HarnessLogo, HarnessPicker, Heading, INSUFFICIENT_BALANCE_CODE, IconTile, InlineCode, InlineThinkingItem, InlineToolItem, Input, Label, LiveDuration, LoginLayout, Logo, Markdown, MessageAuthor, MessageList, Metric, MetricAreaChart, MetricStrip, ModelBrandStack, NewSandboxCard, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, OutOfCreditsModal, PageHeader, PageShell, Pagination, PanelHeader, PdfViewer, PillTabs, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PortsList, PreviewView, PricingPage, ProcessList, ProfileAvatar, Progress, PromoBanner, QuestionPreview, RailButton, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailTooltip, RealtimeSessionRegistry, ReasoningLevelPicker, ResourceMeter, ResourceSnapshot, RichFileTree, RunGroup, RunRowShell, RunRowStatusDot, RuntimePane, SANDBOX_STATUS, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxArtifactPane, SandboxCard, SandboxPageShell, SandboxStatusPill, SandboxTable, SandboxWorkbench, SectionTitle, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SessionSidebar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarDropZone, SidebarLayout, SidebarPanel, SidebarPanelContent, SidebarPanelHeader, SidebarProvider, SidebarRail, SidebarRailFooter, SidebarRailNav, Skeleton, SkeletonCard, SkeletonTable, Slider, SnapshotList, StatCard, StatusBanner, StatusBar, StatusPill, Switch, SystemLogsViewer, TONE_CLASSES, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TangleKnot, TangleLoginButton, TaskBoard, TemplateCard, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, TerminalPanel, TextShimmer, Textarea, ThemeToggle, ThinkingIndicator, ToastContainer, ToastProvider, ToolCallFeed, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadProgress, UsageChart, UsageSummary, UserMenu, UserMessage, WebSearchPreview, WorkspaceArtifactView, WorkspaceFilesPane, WorkspaceLayout, WorkspacePaneHeader, WriteFilePreview, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, configurePdfViewer, connectSession, copyText, createAuthFetcher, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSanitizedMarkdownHeadingIdFromRawFragment, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, initialsOf, isStreamingAtom, isViewerMessage, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sandboxStatus, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, toneFor, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
|
24
|
+
export { ActivityFeed, AgentMessagingConnection, AgentProfilePicker, AgentTimeline, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ApprovalQueue, ArtifactAgentDock, ArtifactPane, AuthHeader, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, BackendSelector, Badge, BillingDashboard, Button, CATEGORY_TONES, CSV_PREVIEW_ROW_LIMIT, CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChangesPane, ChatContainer, ChatMessage, Checkbox, Chip, CodeBlock, CodeBlockDisplay, CodeSurface, CodeView, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandPreview, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, DashboardPageHeader, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, DiffStatsBadge, DiffView, DirectoryPane, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbeddedAppView, EmptyState, ExpandedToolDetail, FileArtifactPane, FileBreadcrumb, FileCard, FileList, FilePreview, FileTabs, FileTree, FilterField, GitHubLoginButton, GitPanel, GitStatusBadge, GlobResultsPreview, GrepResultsPreview, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, HarnessLogo, HarnessPicker, Heading, HelpText, INSUFFICIENT_BALANCE_CODE, IconTile, InlineCode, InlineThinkingItem, InlineToolItem, Input, Label, LiveDuration, LoginLayout, Logo, Markdown, MessageAuthor, MessageList, Metric, MetricAreaChart, MetricStrip, ModelBrandStack, NewSandboxCard, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, OutOfCreditsModal, PageHeader, PageShell, Pagination, PanelHeader, PdfViewer, PillTabs, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PortsList, PreviewView, PricingPage, ProcessList, ProfileAvatar, Progress, PromoBanner, QuestionPreview, RailButton, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailTooltip, RealtimeSessionRegistry, ReasoningLevelPicker, ResourceMeter, ResourceSnapshot, RichFileTree, RunGroup, RunRowShell, RunRowStatusDot, RuntimePane, SANDBOX_STATUS, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxArtifactPane, SandboxCard, SandboxPageShell, SandboxStatusPill, SandboxTable, SandboxWorkbench, SectionTitle, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SessionSidebar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarDropZone, SidebarLayout, SidebarPanel, SidebarPanelContent, SidebarPanelHeader, SidebarProvider, SidebarRail, SidebarRailFooter, SidebarRailNav, Skeleton, SkeletonCard, SkeletonTable, Slider, SnapshotList, StatCard, StatusBanner, StatusBar, StatusPill, Switch, SystemLogsViewer, TONE_CLASSES, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TangleKnot, TangleLoginButton, TaskBoard, TemplateCard, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, TerminalPanel, TextShimmer, Textarea, ThemeToggle, ThinkingIndicator, ToastContainer, ToastProvider, ToolCallFeed, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadProgress, UsageChart, UsageSummary, UserMenu, UserMessage, WebSearchPreview, WorkspaceArtifactView, WorkspaceFilesPane, WorkspaceLayout, WorkspacePaneHeader, WriteFilePreview, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, configurePdfViewer, connectSession, copyText, createAuthFetcher, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSanitizedMarkdownHeadingIdFromRawFragment, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, initialsOf, isStreamingAtom, isViewerMessage, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sandboxStatus, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, toneFor, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
package/dist/integrations.js
CHANGED
|
@@ -335,7 +335,7 @@ function IntegrationsCatalog({ rows, query, onQueryChange, categoryFilter = "",
|
|
|
335
335
|
}) : null,
|
|
336
336
|
!compact ? /* @__PURE__ */ jsx("p", {
|
|
337
337
|
className: cn("min-h-8 text-sm", TONES[connection?.statusTone ?? "neutral"]),
|
|
338
|
-
children: row.kind === "app" ? row.installedCount ? `Installed · ${row.installedCount} ${row.installedCount === 1 ? "account" : "accounts"}` : "Not installed" : connection?.statusLabel ?? (active ? `${provider?.connections.length} accounts · select one to manage` : "Not connected")
|
|
338
|
+
children: row.kind === "app" ? row.installedCount ? `Installed · ${row.installedCount} ${row.installedCount === 1 ? "account" : "accounts"}` : "Not installed" : connection?.statusLabel ?? (active ? `${provider?.connections.length} ${provider?.connections.length === 1 ? "account" : "accounts"} · select one to manage` : "Not connected")
|
|
339
339
|
}) : null,
|
|
340
340
|
!compact ? /* @__PURE__ */ jsxs("div", {
|
|
341
341
|
className: "mt-auto flex min-h-9 items-center gap-2 border-t border-border pt-3",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArtifactPane as ArtifactPane$1, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, Button as Button$1, CATEGORY_TONES, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, Checkbox, Chip, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, FilterField, Heading, HelpText, IconTile, InlineCode, Input as Input$1, Label as Label$1, Metric, MetricStrip, PageHeader, PageHeader as PageHeader$1, PageShell as PageShell$1, Pagination, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, SegmentedControl, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatusPill as StatusPill$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, Textarea as Textarea$1, ThemeToggle, ToastContainer, ToastProvider, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadProgress, badgeVariants, buttonVariants, initialsOf, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
2
|
+
import { Logo, TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/primitives/logo.tsx
|
|
5
|
+
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
6
|
+
function Logo$1({ variant = "sandbox", size = "md", className, iconOnly = false }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Logo, {
|
|
8
|
+
size,
|
|
9
|
+
variant: iconOnly ? "icon" : "full",
|
|
10
|
+
suffix: variant === "sandbox" ? "Sandbox" : null,
|
|
11
|
+
className
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
Logo$1.displayName = "Logo";
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/primitives/heading.tsx
|
|
17
|
+
/** Compatibility name for the canonical nested (h2) page header. */
|
|
18
|
+
function SectionTitle(props) {
|
|
19
|
+
return /* @__PURE__ */ jsx(PageHeader, {
|
|
20
|
+
...props,
|
|
21
|
+
level: 2
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DialogDescription$1 as $, Logo$1 as $n, Sheet as $t, CodeBlock as A, Tag as An, Metric as At, ContextMenuPortal as B, Toolbar as Bn, Progress$1 as Bt, CardContent$1 as C, TableHead as Cn, FilterField as Ct, CardTitle$1 as D, TabsContent$1 as Dn, InlineCode as Dt, CardHeader$1 as E, Tabs$1 as En, IconTile as Et, ContextMenuCheckboxItem as F, TextShimmer as Fn, Popover as Ft, ContextMenuSub as G, UploadProgress as Gn, SelectItem$1 as Gt, ContextMenuRadioItem as H, TooltipContent as Hn, Select$1 as Ht, ContextMenuContent as I, Textarea$1 as In, PopoverAnchor as It, ContextMenuTrigger as J, initialsOf as Jn, SelectScrollUpButton as Jt, ContextMenuSubContent as K, badgeVariants as Kn, SelectLabel as Kt, ContextMenuGroup as L, ThemeToggle as Ln, PopoverClose as Lt, CollapsibleContent as M, TerminalDisplay as Mn, PageHeader$1 as Mt, CollapsibleTrigger as N, TerminalInput as Nn, PageShell$1 as Nt, Checkbox as O, TabsList$1 as On, Input$1 as Ot, ContextMenu as P, TerminalLine as Pn, Pagination as Pt, DialogContent$1 as Q, SectionTitle as Qn, Separator as Qt, ContextMenuItem as R, ToastContainer as Rn, PopoverContent as Rt, Card$1 as S, TableFooter as Sn, EmptyState$1 as St, CardFooter as T, TableRow as Tn, HelpText as Tt, ContextMenuSeparator as U, TooltipProvider as Un, SelectContent$1 as Ut, ContextMenuRadioGroup as V, Tooltip as Vn, SegmentedControl as Vt, ContextMenuShortcut as W, TooltipTrigger as Wn, SelectGroup as Wt, Dialog$1 as X, useTheme as Xn, SelectTrigger$1 as Xt, CopyButton as Y, toneFor as Yn, SelectSeparator as Yt, DialogClose$1 as Z, useToast as Zn, SelectValue$1 as Zt, AvatarFallback$1 as _, TONE_CLASSES as _n, DropdownMenuShortcut as _t, AlertDialogCancel as a, SheetOverlay as an, DialogTrigger$1 as at, Button$1 as b, TableCaption as bn, DropdownMenuSubTrigger$1 as bt, AlertDialogFooter as c, SheetTrigger as cn, DropdownMenuCheckboxItem as ct, AlertDialogPortal as d, SkeletonCard$1 as dn, DropdownMenuItem$1 as dt, SheetClose as en, TangleKnot$1 as er, DialogFooter$1 as et, AlertDialogTitle as f, SkeletonTable as fn, DropdownMenuLabel$1 as ft, Avatar$1 as g, Switch as gn, DropdownMenuSeparator$1 as gt, ArtifactPane$1 as h, StatusPill$1 as hn, DropdownMenuRadioItem as ht, AlertDialogAction as i, SheetHeader as in, DialogTitle$1 as it, Collapsible as j, TerminalCursor as jn, MetricStrip as jt, Chip as k, TabsTrigger$1 as kn, Label$1 as kt, AlertDialogHeader as l, SidebarDropZone as ln, DropdownMenuContent$1 as lt, AlertTitle as m, StatCard$1 as mn, DropdownMenuRadioGroup as mt, AlertDescription as n, SheetDescription as nn, DialogOverlay as nt, AlertDialogContent as o, SheetPortal as on, DropZone as ot, AlertDialogTrigger as p, Slider as pn, DropdownMenuPortal as pt, ContextMenuSubTrigger as q, buttonVariants as qn, SelectScrollDownButton as qt, AlertDialog as r, SheetFooter as rn, DialogPortal as rt, AlertDialogDescription as s, SheetTitle as sn, DropdownMenu$1 as st, Alert as t, SheetContent as tn, DialogHeader$1 as tt, AlertDialogOverlay as u, Skeleton$1 as un, DropdownMenuGroup as ut, AvatarImage$1 as v, Table as vn, DropdownMenuSub$1 as vt, CardDescription$1 as w, TableHeader as wn, Heading as wt, CATEGORY_TONES as x, TableCell as xn, DropdownMenuTrigger$1 as xt, Badge$1 as y, TableBody as yn, DropdownMenuSubContent$1 as yt, ContextMenuLabel as z, ToastProvider as zn, PopoverTrigger as zt };
|
package/dist/primitives.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ContextMenuShortcut, $n as
|
|
2
|
-
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTone, ArtifactPane, type ArtifactPaneProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Button, type ButtonProps, CATEGORY_TONES, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardTitleProps, type CategoryTone, Checkbox, Chip, type ChipProps, CodeBlock, type CodeBlockProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FilterField, type FilterFieldProps, Heading, type HeadingProps, type HeadingVariant, IconTile, type IconTileProps, InlineCode, type InlineCodeProps, Input, type InputProps, Label, Logo, type LogoProps, Metric, type MetricProps, MetricStrip, type MetricStripProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, Pagination, type PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, SectionTitle, type SectionTitleProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, type SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, Slider, StatCard, type StatCardProps, StatusPill, type StatusPillProps, type StatusTone, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TangleKnot, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, ThemeToggle, type Toast, ToastContainer, ToastProvider, type Tone, type ToneClasses, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadFile, UploadProgress, type UploadProgressProps, badgeVariants, buttonVariants, initialsOf, toneFor, useTheme, useToast };
|
|
1
|
+
import { $ as ContextMenuShortcut, $n as TableProps, $t as PageShell, A as CardFooter, An as SheetPortal, Ar as badgeVariants, At as DropdownMenuSubTrigger, B as Collapsible, Bn as StatCardProps, Br as LogoProps, Bt as IconTile, C as BadgeProps, Cn as Sheet, Cr as Tooltip, Ct as DropdownMenuPortal, D as Card, Dn as SheetFooter, Dr as UploadFile, Dt as DropdownMenuShortcut, E as CATEGORY_TONES, En as SheetDescription, Er as TooltipTrigger, Et as DropdownMenuSeparator, F as Checkbox, Fn as Skeleton, Fr as useToast, Ft as FilterFieldProps, G as ContextMenuContent, Gn as TONE_CLASSES, Gt as InputProps, H as CollapsibleTrigger, Hn as StatusPillProps, Ht as InlineCode, I as Chip, In as SkeletonCard, Ir as HeadingProps, It as Heading, J as ContextMenuLabel, Jn as TableCaption, Jt as MetricProps, K as ContextMenuGroup, Kn as Table, Kt as Label, L as ChipProps, Ln as SkeletonTable, Lr as SectionTitle, Lt as HeadingVariant, M as CardTitle, Mn as SheetTrigger, Mr as initialsOf, Mt as EmptyState, N as CardTitleProps, Nn as SidebarDropZone, Nr as toneFor, Nt as EmptyStateProps, O as CardContent, On as SheetHeader, Or as UploadProgress, Ot as DropdownMenuSub, P as CategoryTone, Pn as SidebarDropZoneProps, Pr as useTheme, Pt as FilterField, Q as ContextMenuSeparator, Qn as TableHeader, Qt as PageHeaderProps, R as CodeBlock, Rn as Slider, Rr as SectionTitleProps, Rt as HelpText, S as Badge, Sn as Separator, Sr as ToolbarProps, St as DropdownMenuLabel, T as ButtonProps, Tn as SheetContent, Tr as TooltipProvider, Tt as DropdownMenuRadioItem, U as ContextMenu, Un as StatusTone, Ut as InlineCodeProps, V as CollapsibleContent, Vn as StatusPill, Vr as TangleKnot, Vt as IconTileProps, W as ContextMenuCheckboxItem, Wn as Switch, Wt as Input, X as ContextMenuRadioGroup, Xn as TableFooter, Xt as MetricStripProps, Y as ContextMenuPortal, Yn as TableCell, Yt as MetricStrip, Z as ContextMenuRadioItem, Zn as TableHead, Zt as PageHeader, _ as ArtifactPane, _n as SelectScrollDownButton, _r as ToastContainer, _t as DropdownMenu, a as AlertDialogCancel, an as PopoverClose, ar as Tag, at as Dialog, b as AvatarFallback, bn as SelectTrigger, br as ToneClasses, bt as DropdownMenuGroup, c as AlertDialogFooter, cn as Progress, cr as TerminalDisplay, ct as DialogDescription, d as AlertDialogPortal, dn as SegmentedControlProps, dr as TextShimmer, dt as DialogOverlay, en as PageShellProps, er as TableRow, et as ContextMenuSub, f as AlertDialogTitle, fn as Select, fr as TextShimmerProps, ft as DialogPortal, g as AlertTone, gn as SelectLabel, gr as Toast, gt as DropZoneProps, h as AlertTitle, hn as SelectItem, hr as ThemeToggle, ht as DropZone, i as AlertDialogAction, in as PopoverAnchor, ir as TabsTrigger, it as CopyButton, j as CardHeader, jn as SheetTitle, jr as buttonVariants, jt as DropdownMenuTrigger, k as CardDescription, kn as SheetOverlay, kr as UploadProgressProps, kt as DropdownMenuSubContent, l as AlertDialogHeader, ln as SegmentedControl, lr as TerminalInput, lt as DialogFooter, m as AlertProps, mn as SelectGroup, mr as TextareaProps, mt as DialogTrigger, n as AlertDescription, nn as PaginationProps, nr as TabsContent, nt as ContextMenuSubTrigger, o as AlertDialogContent, on as PopoverContent, or as TagProps, ot as DialogClose, p as AlertDialogTrigger, pn as SelectContent, pr as Textarea, pt as DialogTitle, q as ContextMenuItem, qn as TableBody, qt as Metric, r as AlertDialog, rn as Popover, rr as TabsList, rt as ContextMenuTrigger, s as AlertDialogDescription, sn as PopoverTrigger, sr as TerminalCursor, st as DialogContent, t as Alert, tn as Pagination, tr as Tabs, tt as ContextMenuSubContent, u as AlertDialogOverlay, un as SegmentedControlOption, ur as TerminalLine, ut as DialogHeader, v as ArtifactPaneProps, vn as SelectScrollUpButton, vr as ToastProvider, vt as DropdownMenuCheckboxItem, w as Button, wn as SheetClose, wr as TooltipContent, wt as DropdownMenuRadioGroup, x as AvatarImage, xn as SelectValue, xr as Toolbar, xt as DropdownMenuItem, y as Avatar, yn as SelectSeparator, yr as Tone, yt as DropdownMenuContent, z as CodeBlockProps, zn as StatCard, zr as Logo, zt as HelpTextProps } from "./index-C6oItkj5.js";
|
|
2
|
+
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTone, ArtifactPane, type ArtifactPaneProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Button, type ButtonProps, CATEGORY_TONES, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardTitleProps, type CategoryTone, Checkbox, Chip, type ChipProps, CodeBlock, type CodeBlockProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FilterField, type FilterFieldProps, Heading, type HeadingProps, type HeadingVariant, HelpText, type HelpTextProps, IconTile, type IconTileProps, InlineCode, type InlineCodeProps, Input, type InputProps, Label, Logo, type LogoProps, Metric, type MetricProps, MetricStrip, type MetricStripProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, Pagination, type PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, SectionTitle, type SectionTitleProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, type SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, Slider, StatCard, type StatCardProps, StatusPill, type StatusPillProps, type StatusTone, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TangleKnot, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, ThemeToggle, type Toast, ToastContainer, ToastProvider, type Tone, type ToneClasses, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadFile, UploadProgress, type UploadProgressProps, badgeVariants, buttonVariants, initialsOf, toneFor, useTheme, useToast };
|
package/dist/primitives.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DialogDescription, $n as
|
|
2
|
-
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArtifactPane, Avatar, AvatarFallback, AvatarImage, Badge, Button, CATEGORY_TONES, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FilterField, Heading, IconTile, InlineCode, Input, Label, Logo, Metric, MetricStrip, PageHeader, PageShell, Pagination, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, SectionTitle, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, Skeleton, SkeletonCard, SkeletonTable, Slider, StatCard, StatusPill, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TangleKnot, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, Textarea, ThemeToggle, ToastContainer, ToastProvider, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadProgress, badgeVariants, buttonVariants, initialsOf, toneFor, useTheme, useToast };
|
|
1
|
+
import { $ as DialogDescription, $n as Logo, $t as Sheet, A as CodeBlock, An as Tag, At as Metric, B as ContextMenuPortal, Bn as Toolbar, Bt as Progress, C as CardContent, Cn as TableHead, Ct as FilterField, D as CardTitle, Dn as TabsContent, Dt as InlineCode, E as CardHeader, En as Tabs, Et as IconTile, F as ContextMenuCheckboxItem, Fn as TextShimmer, Ft as Popover, G as ContextMenuSub, Gn as UploadProgress, Gt as SelectItem, H as ContextMenuRadioItem, Hn as TooltipContent, Ht as Select, I as ContextMenuContent, In as Textarea, It as PopoverAnchor, J as ContextMenuTrigger, Jn as initialsOf, Jt as SelectScrollUpButton, K as ContextMenuSubContent, Kn as badgeVariants, Kt as SelectLabel, L as ContextMenuGroup, Ln as ThemeToggle, Lt as PopoverClose, M as CollapsibleContent, Mn as TerminalDisplay, Mt as PageHeader, N as CollapsibleTrigger, Nn as TerminalInput, Nt as PageShell, O as Checkbox, On as TabsList, Ot as Input, P as ContextMenu, Pn as TerminalLine, Pt as Pagination, Q as DialogContent, Qn as SectionTitle, Qt as Separator, R as ContextMenuItem, Rn as ToastContainer, Rt as PopoverContent, S as Card, Sn as TableFooter, St as EmptyState, T as CardFooter, Tn as TableRow, Tt as HelpText, U as ContextMenuSeparator, Un as TooltipProvider, Ut as SelectContent, V as ContextMenuRadioGroup, Vn as Tooltip, Vt as SegmentedControl, W as ContextMenuShortcut, Wn as TooltipTrigger, Wt as SelectGroup, X as Dialog, Xn as useTheme, Xt as SelectTrigger, Y as CopyButton, Yn as toneFor, Yt as SelectSeparator, Z as DialogClose, Zn as useToast, Zt as SelectValue, _ as AvatarFallback, _n as TONE_CLASSES, _t as DropdownMenuShortcut, a as AlertDialogCancel, an as SheetOverlay, at as DialogTrigger, b as Button, bn as TableCaption, bt as DropdownMenuSubTrigger, c as AlertDialogFooter, cn as SheetTrigger, ct as DropdownMenuCheckboxItem, d as AlertDialogPortal, dn as SkeletonCard, dt as DropdownMenuItem, en as SheetClose, er as TangleKnot, et as DialogFooter, f as AlertDialogTitle, fn as SkeletonTable, ft as DropdownMenuLabel, g as Avatar, gn as Switch, gt as DropdownMenuSeparator, h as ArtifactPane, hn as StatusPill, ht as DropdownMenuRadioItem, i as AlertDialogAction, in as SheetHeader, it as DialogTitle, j as Collapsible, jn as TerminalCursor, jt as MetricStrip, k as Chip, kn as TabsTrigger, kt as Label, l as AlertDialogHeader, ln as SidebarDropZone, lt as DropdownMenuContent, m as AlertTitle, mn as StatCard, mt as DropdownMenuRadioGroup, n as AlertDescription, nn as SheetDescription, nt as DialogOverlay, o as AlertDialogContent, on as SheetPortal, ot as DropZone, p as AlertDialogTrigger, pn as Slider, pt as DropdownMenuPortal, q as ContextMenuSubTrigger, qn as buttonVariants, qt as SelectScrollDownButton, r as AlertDialog, rn as SheetFooter, rt as DialogPortal, s as AlertDialogDescription, sn as SheetTitle, st as DropdownMenu, t as Alert, tn as SheetContent, tt as DialogHeader, u as AlertDialogOverlay, un as Skeleton, ut as DropdownMenuGroup, v as AvatarImage, vn as Table, vt as DropdownMenuSub, w as CardDescription, wn as TableHeader, wt as Heading, x as CATEGORY_TONES, xn as TableCell, xt as DropdownMenuTrigger, y as Badge, yn as TableBody, yt as DropdownMenuSubContent, z as ContextMenuLabel, zn as ToastProvider, zt as PopoverTrigger } from "./primitives-JjV1ruzp.js";
|
|
2
|
+
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArtifactPane, Avatar, AvatarFallback, AvatarImage, Badge, Button, CATEGORY_TONES, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FilterField, Heading, HelpText, IconTile, InlineCode, Input, Label, Logo, Metric, MetricStrip, PageHeader, PageShell, Pagination, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, SectionTitle, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, Skeleton, SkeletonCard, SkeletonTable, Slider, StatCard, StatusPill, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TangleKnot, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, Textarea, ThemeToggle, ToastContainer, ToastProvider, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadProgress, badgeVariants, buttonVariants, initialsOf, toneFor, useTheme, useToast };
|
package/dist/styles.css
CHANGED
|
@@ -756,6 +756,18 @@
|
|
|
756
756
|
width: calc(var(--spacing) * 20);
|
|
757
757
|
height: calc(var(--spacing) * 20);
|
|
758
758
|
}
|
|
759
|
+
.size-\[var\(--control-height\,2\.25rem\)\] {
|
|
760
|
+
width: var(--control-height,2.25rem);
|
|
761
|
+
height: var(--control-height,2.25rem);
|
|
762
|
+
}
|
|
763
|
+
.size-\[var\(--control-height-lg\,2\.75rem\)\] {
|
|
764
|
+
width: var(--control-height-lg,2.75rem);
|
|
765
|
+
height: var(--control-height-lg,2.75rem);
|
|
766
|
+
}
|
|
767
|
+
.size-\[var\(--control-height-sm\,2rem\)\] {
|
|
768
|
+
width: var(--control-height-sm,2rem);
|
|
769
|
+
height: var(--control-height-sm,2rem);
|
|
770
|
+
}
|
|
759
771
|
.size-full {
|
|
760
772
|
width: 100%;
|
|
761
773
|
height: 100%;
|
|
@@ -940,6 +952,15 @@
|
|
|
940
952
|
.h-\[var\(--control-height\)\] {
|
|
941
953
|
height: var(--control-height);
|
|
942
954
|
}
|
|
955
|
+
.h-\[var\(--control-height\,2\.25rem\)\] {
|
|
956
|
+
height: var(--control-height,2.25rem);
|
|
957
|
+
}
|
|
958
|
+
.h-\[var\(--control-height-lg\,2\.75rem\)\] {
|
|
959
|
+
height: var(--control-height-lg,2.75rem);
|
|
960
|
+
}
|
|
961
|
+
.h-\[var\(--control-height-sm\,2rem\)\] {
|
|
962
|
+
height: var(--control-height-sm,2rem);
|
|
963
|
+
}
|
|
943
964
|
.h-\[var\(--indicator-dot-size\)\] {
|
|
944
965
|
height: var(--indicator-dot-size);
|
|
945
966
|
}
|
|
@@ -1318,9 +1339,6 @@
|
|
|
1318
1339
|
.w-\[var\(--avatar-size\)\] {
|
|
1319
1340
|
width: var(--avatar-size);
|
|
1320
1341
|
}
|
|
1321
|
-
.w-\[var\(--control-height\)\] {
|
|
1322
|
-
width: var(--control-height);
|
|
1323
|
-
}
|
|
1324
1342
|
.w-\[var\(--indicator-dot-size\)\] {
|
|
1325
1343
|
width: var(--indicator-dot-size);
|
|
1326
1344
|
}
|
|
@@ -3303,9 +3321,6 @@
|
|
|
3303
3321
|
.text-\[12px\] {
|
|
3304
3322
|
font-size: 12px;
|
|
3305
3323
|
}
|
|
3306
|
-
.text-\[13\.5px\] {
|
|
3307
|
-
font-size: 13.5px;
|
|
3308
|
-
}
|
|
3309
3324
|
.text-\[13px\] {
|
|
3310
3325
|
font-size: 13px;
|
|
3311
3326
|
}
|
|
@@ -3315,6 +3330,15 @@
|
|
|
3315
3330
|
.text-\[15px\] {
|
|
3316
3331
|
font-size: 15px;
|
|
3317
3332
|
}
|
|
3333
|
+
.text-\[length\:var\(--control-text-lg\,1rem\)\] {
|
|
3334
|
+
font-size: var(--control-text-lg,1rem);
|
|
3335
|
+
}
|
|
3336
|
+
.text-\[length\:var\(--control-text-md\,0\.875rem\)\] {
|
|
3337
|
+
font-size: var(--control-text-md,0.875rem);
|
|
3338
|
+
}
|
|
3339
|
+
.text-\[length\:var\(--control-text-sm\,0\.75rem\)\] {
|
|
3340
|
+
font-size: var(--control-text-sm,0.75rem);
|
|
3341
|
+
}
|
|
3318
3342
|
.text-\[length\:var\(--font-size-3xl\,1\.875rem\)\] {
|
|
3319
3343
|
font-size: var(--font-size-3xl,1.875rem);
|
|
3320
3344
|
}
|
|
@@ -3324,9 +3348,15 @@
|
|
|
3324
3348
|
.text-\[length\:var\(--font-size-display\,3rem\)\] {
|
|
3325
3349
|
font-size: var(--font-size-display,3rem);
|
|
3326
3350
|
}
|
|
3351
|
+
.text-\[length\:var\(--font-size-help\,0\.75rem\)\] {
|
|
3352
|
+
font-size: var(--font-size-help,0.75rem);
|
|
3353
|
+
}
|
|
3327
3354
|
.text-\[length\:var\(--font-size-hero\,2\.5rem\)\] {
|
|
3328
3355
|
font-size: var(--font-size-hero,2.5rem);
|
|
3329
3356
|
}
|
|
3357
|
+
.text-\[length\:var\(--font-size-label\,0\.875rem\)\] {
|
|
3358
|
+
font-size: var(--font-size-label,0.875rem);
|
|
3359
|
+
}
|
|
3330
3360
|
.text-\[length\:var\(--font-size-lg\,1rem\)\] {
|
|
3331
3361
|
font-size: var(--font-size-lg,1rem);
|
|
3332
3362
|
}
|
|
@@ -5467,6 +5497,10 @@
|
|
|
5467
5497
|
}
|
|
5468
5498
|
}
|
|
5469
5499
|
@media (pointer: coarse) {
|
|
5500
|
+
.pointer-coarse\:text-base {
|
|
5501
|
+
font-size: var(--text-base);
|
|
5502
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
5503
|
+
}
|
|
5470
5504
|
.pointer-coarse\:before\:-inset-y-2\.5::before {
|
|
5471
5505
|
content: var(--tw-content);
|
|
5472
5506
|
inset-block: calc(var(--spacing) * -2.5);
|
|
@@ -5988,6 +6022,13 @@
|
|
|
5988
6022
|
--radius-sheet: 24px;
|
|
5989
6023
|
--radius: 0.5rem;
|
|
5990
6024
|
--control-height: 2.25rem;
|
|
6025
|
+
--control-height-sm: 2rem;
|
|
6026
|
+
--control-height-lg: 2.75rem;
|
|
6027
|
+
--control-text-sm: 0.75rem;
|
|
6028
|
+
--control-text-md: 0.875rem;
|
|
6029
|
+
--control-text-lg: 1rem;
|
|
6030
|
+
--font-size-label: 0.875rem;
|
|
6031
|
+
--font-size-help: 0.75rem;
|
|
5991
6032
|
--panel-padding: 1rem;
|
|
5992
6033
|
--content-max-width: 80rem;
|
|
5993
6034
|
--font-size-xs: 0.6875rem;
|
|
@@ -6437,6 +6478,14 @@
|
|
|
6437
6478
|
--text-page: var(--font-size-3xl);
|
|
6438
6479
|
--text-section: var(--font-size-xl);
|
|
6439
6480
|
--text-eyebrow: var(--font-size-sm);
|
|
6481
|
+
--text-control-sm: var(--control-text-sm);
|
|
6482
|
+
--text-control-md: var(--control-text-md);
|
|
6483
|
+
--text-control-lg: var(--control-text-lg);
|
|
6484
|
+
--text-label: var(--font-size-label);
|
|
6485
|
+
--text-help: var(--font-size-help);
|
|
6486
|
+
--spacing-control-sm: var(--control-height-sm);
|
|
6487
|
+
--spacing-control-md: var(--control-height);
|
|
6488
|
+
--spacing-control-lg: var(--control-height-lg);
|
|
6440
6489
|
--color-scrim: var(--scrim);
|
|
6441
6490
|
--color-scrim-strong: var(--scrim-strong);
|
|
6442
6491
|
--color-on-media: var(--on-media);
|
package/dist/tokens.css
CHANGED
|
@@ -442,6 +442,17 @@
|
|
|
442
442
|
|
|
443
443
|
/* Density */
|
|
444
444
|
--control-height: 2.25rem;
|
|
445
|
+
/* Control scale: Button, IconButton sizes, Input, Textarea and SelectTrigger
|
|
446
|
+
share one height and text size per size, so a row of mixed controls aligns.
|
|
447
|
+
md is --control-height, the density knob a subtree may override. */
|
|
448
|
+
--control-height-sm: 2rem; /* 32px */
|
|
449
|
+
--control-height-lg: 2.75rem; /* 44px — touch target */
|
|
450
|
+
--control-text-sm: 0.75rem; /* 12px */
|
|
451
|
+
--control-text-md: 0.875rem; /* 14px */
|
|
452
|
+
--control-text-lg: 1rem; /* 16px — fields never zoom on iOS */
|
|
453
|
+
/* Form text: labels name a field; help text describes or reports on it. */
|
|
454
|
+
--font-size-label: 0.875rem; /* 14px */
|
|
455
|
+
--font-size-help: 0.75rem; /* 12px */
|
|
445
456
|
--panel-padding: 1rem;
|
|
446
457
|
--content-max-width: 80rem;
|
|
447
458
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
2
|
-
import { a as PortsList } from "./dashboard-
|
|
2
|
+
import { a as PortsList } from "./dashboard-gJ9BBwlA.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-DqgJZ3Iv.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.129.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
6
6
|
"repository": {
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
"@hocuspocus/provider": ">=2.15.0 <5.0.0",
|
|
130
130
|
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
131
131
|
"@tangle-network/agent-interface": "^1.0.0 || ^2.0.0 || ^3.0.0",
|
|
132
|
-
"@tangle-network/brand": "^1.
|
|
133
|
-
"@tangle-network/ui": "^11.
|
|
132
|
+
"@tangle-network/brand": "^1.18.0",
|
|
133
|
+
"@tangle-network/ui": "^11.28.0",
|
|
134
134
|
"@tanstack/react-query": "^5.0.0",
|
|
135
135
|
"@tiptap/core": ">=3.20.4 <4.0.0",
|
|
136
136
|
"@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
|
|
@@ -197,9 +197,9 @@
|
|
|
197
197
|
"dependencies": {
|
|
198
198
|
"@lobehub/icons-static-svg": "^1.95.1",
|
|
199
199
|
"@pierre/diffs": "^1.5.1",
|
|
200
|
-
"@radix-ui/react-dialog": "^1.
|
|
201
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
202
|
-
"@radix-ui/react-select": "^2.3.
|
|
200
|
+
"@radix-ui/react-dialog": "^1.1.23",
|
|
201
|
+
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
202
|
+
"@radix-ui/react-select": "^2.3.7",
|
|
203
203
|
"diff": "^9.0.0",
|
|
204
204
|
"eventsource-parser": "4.1.1",
|
|
205
205
|
"lucide-react": "^1.48.0",
|
|
@@ -219,8 +219,8 @@
|
|
|
219
219
|
"@storybook/react-vite": "^10.6.0",
|
|
220
220
|
"@tailwindcss/postcss": "^4.3.3",
|
|
221
221
|
"@tangle-network/agent-interface": "3.0.0",
|
|
222
|
-
"@tangle-network/brand": "1.
|
|
223
|
-
"@tangle-network/ui": "11.
|
|
222
|
+
"@tangle-network/brand": "1.18.0",
|
|
223
|
+
"@tangle-network/ui": "11.28.0",
|
|
224
224
|
"@tanstack/react-query": "^5.104.0",
|
|
225
225
|
"@testing-library/dom": "^10.4.2",
|
|
226
226
|
"@testing-library/jest-dom": "^7.0.1",
|
package/dist/index-DKiNTaQn.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertProps, AlertTitle, AlertTone, ArtifactPane as ArtifactPane$1, ArtifactPaneProps, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, BadgeProps, Button as Button$1, ButtonProps as ButtonProps$1, CATEGORY_TONES, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, CardTitleProps, CategoryTone, Checkbox, Chip, ChipProps, CodeBlock, CodeBlockProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropZoneProps, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, EmptyStateProps, FilterField, FilterFieldProps, Heading, HeadingVariant, HeadingVariant as HeadingVariant$1, IconTile, IconTileProps, InlineCode, InlineCodeProps, Input as Input$1, InputProps, Label as Label$1, Metric, MetricProps, MetricStrip, MetricStripProps, PageHeader as PageHeader$1, PageHeaderProps, PageHeaderProps as PageHeaderProps$1, PageShell as PageShell$1, PageShellProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, SidebarDropZoneProps, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatCardProps, StatusPill as StatusPill$1, StatusPillProps as StatusPillProps$1, StatusTone as StatusTone$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableProps, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TagProps, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, TextShimmerProps, Textarea as Textarea$1, TextareaProps, ThemeToggle, Toast, ToastContainer, ToastProvider, Tone, ToneClasses, Toolbar, ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, initialsOf, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
2
|
-
import { TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
|
-
import { ElementType, HTMLAttributes, ReactNode } from "react";
|
|
4
|
-
//#region src/primitives/logo.d.ts
|
|
5
|
-
interface LogoProps {
|
|
6
|
-
variant?: "sandbox";
|
|
7
|
-
size?: "sm" | "md" | "lg" | "xl";
|
|
8
|
-
className?: string;
|
|
9
|
-
iconOnly?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
12
|
-
declare function Logo$1({ variant, size, className, iconOnly }: LogoProps): import("react").JSX.Element;
|
|
13
|
-
declare namespace Logo$1 {
|
|
14
|
-
var displayName: string;
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region src/primitives/heading.d.ts
|
|
18
|
-
/** Preserve the existing public type's required visual role and children.
|
|
19
|
-
* The binding above remains UI's object, without a local render function.
|
|
20
|
-
*/
|
|
21
|
-
interface HeadingProps extends Omit<HTMLAttributes<HTMLElement>, "role"> {
|
|
22
|
-
role: HeadingVariant;
|
|
23
|
-
as?: ElementType;
|
|
24
|
-
children: ReactNode;
|
|
25
|
-
}
|
|
26
|
-
type SectionTitleProps = Pick<PageHeaderProps, "title" | "description" | "action" | "className">;
|
|
27
|
-
/** Compatibility name for the canonical nested (h2) page header. */
|
|
28
|
-
declare function SectionTitle(props: SectionTitleProps): import("react").JSX.Element;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { ContextMenuShortcut as $, Tabs$1 as $n, Pagination as $t, CardFooter as A, SheetTrigger as An, initialsOf as Ar, DropdownMenuSubTrigger$1 as At, Collapsible as B, StatusPillProps$1 as Bn, InlineCode as Bt, BadgeProps as C, SheetContent as Cn, TooltipProvider as Cr, DropdownMenuPortal as Ct, Card$1 as D, SheetOverlay as Dn, UploadProgressProps as Dr, DropdownMenuShortcut as Dt, CATEGORY_TONES as E, SheetHeader as En, UploadProgress as Er, DropdownMenuSeparator$1 as Et, Checkbox as F, SkeletonTable as Fn, SectionTitle as Fr, FilterFieldProps as Ft, ContextMenuContent as G, TableBody as Gn, Metric as Gt, CollapsibleTrigger as H, Switch as Hn, Input$1 as Ht, Chip as I, Slider as In, SectionTitleProps as Ir, Heading as It, ContextMenuLabel as J, TableFooter as Jn, MetricStripProps as Jt, ContextMenuGroup as K, TableCaption as Kn, MetricProps as Kt, ChipProps as L, StatCard$1 as Ln, Logo$1 as Lr, HeadingVariant$1 as Lt, CardTitle$1 as M, SidebarDropZoneProps as Mn, useTheme as Mr, EmptyState$1 as Mt, CardTitleProps as N, Skeleton$1 as Nn, useToast as Nr, EmptyStateProps as Nt, CardContent$1 as O, SheetPortal as On, badgeVariants as Or, DropdownMenuSub$1 as Ot, CategoryTone as P, SkeletonCard$1 as Pn, HeadingProps as Pr, FilterField as Pt, ContextMenuSeparator as Q, TableRow as Qn, PageShellProps as Qt, CodeBlock as R, StatCardProps as Rn, LogoProps as Rr, IconTile as Rt, Badge$1 as S, SheetClose as Sn, TooltipContent as Sr, DropdownMenuLabel$1 as St, ButtonProps$1 as T, SheetFooter as Tn, UploadFile as Tr, DropdownMenuRadioItem as Tt, ContextMenu as U, TONE_CLASSES as Un, InputProps as Ut, CollapsibleContent as V, StatusTone$1 as Vn, InlineCodeProps as Vt, ContextMenuCheckboxItem as W, Table as Wn, Label$1 as Wt, ContextMenuRadioGroup as X, TableHeader as Xn, PageHeaderProps$1 as Xt, ContextMenuPortal as Y, TableHead as Yn, PageHeader$1 as Yt, ContextMenuRadioItem as Z, TableProps as Zn, PageShell$1 as Zt, ArtifactPane$1 as _, SelectSeparator as _n, Tone as _r, DropdownMenu$1 as _t, AlertDialogCancel as a, PopoverTrigger as an, TerminalCursor as ar, Dialog$1 as at, AvatarFallback$1 as b, Separator as bn, ToolbarProps as br, DropdownMenuGroup as bt, AlertDialogFooter as c, SegmentedControlOption as cn, TerminalLine as cr, DialogDescription$1 as ct, AlertDialogPortal as d, SelectContent$1 as dn, Textarea$1 as dr, DialogOverlay as dt, PaginationProps as en, TabsContent$1 as er, ContextMenuSub as et, AlertDialogTitle as f, SelectGroup as fn, TextareaProps as fr, DialogPortal as ft, AlertTone as g, SelectScrollUpButton as gn, ToastProvider as gr, DropZoneProps as gt, AlertTitle as h, SelectScrollDownButton as hn, ToastContainer as hr, DropZone as ht, AlertDialogAction as i, PopoverContent as in, TagProps as ir, CopyButton as it, CardHeader$1 as j, SidebarDropZone as jn, toneFor as jr, DropdownMenuTrigger$1 as jt, CardDescription$1 as k, SheetTitle as kn, buttonVariants as kr, DropdownMenuSubContent$1 as kt, AlertDialogHeader as l, SegmentedControlProps as ln, TextShimmer as lr, DialogFooter$1 as lt, AlertProps as m, SelectLabel as mn, Toast as mr, DialogTrigger$1 as mt, AlertDescription as n, PopoverAnchor as nn, TabsTrigger$1 as nr, ContextMenuSubTrigger as nt, AlertDialogContent as o, Progress$1 as on, TerminalDisplay as or, DialogClose$1 as ot, AlertDialogTrigger as p, SelectItem$1 as pn, ThemeToggle as pr, DialogTitle$1 as pt, ContextMenuItem as q, TableCell as qn, MetricStrip as qt, AlertDialog as r, PopoverClose as rn, Tag as rr, ContextMenuTrigger as rt, AlertDialogDescription as s, SegmentedControl as sn, TerminalInput as sr, DialogContent$1 as st, Alert as t, Popover as tn, TabsList$1 as tr, ContextMenuSubContent as tt, AlertDialogOverlay as u, Select$1 as un, TextShimmerProps as ur, DialogHeader$1 as ut, ArtifactPaneProps as v, SelectTrigger$1 as vn, ToneClasses as vr, DropdownMenuCheckboxItem as vt, Button$1 as w, SheetDescription as wn, TooltipTrigger as wr, DropdownMenuRadioGroup as wt, AvatarImage$1 as x, Sheet as xn, Tooltip as xr, DropdownMenuItem$1 as xt, Avatar$1 as y, SelectValue$1 as yn, Toolbar as yr, DropdownMenuContent$1 as yt, CodeBlockProps as z, StatusPill$1 as zn, TangleKnot$1 as zr, IconTileProps as zt };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArtifactPane as ArtifactPane$1, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, Button as Button$1, CATEGORY_TONES, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, Checkbox, Chip, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, FilterField, Heading, IconTile, InlineCode, Input as Input$1, Label as Label$1, Metric, MetricStrip, PageHeader, PageHeader as PageHeader$1, PageShell as PageShell$1, Pagination, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, SegmentedControl, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarDropZone, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatusPill as StatusPill$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, Textarea as Textarea$1, ThemeToggle, ToastContainer, ToastProvider, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UploadProgress, badgeVariants, buttonVariants, initialsOf, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
2
|
-
import { Logo, TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
//#region src/primitives/logo.tsx
|
|
5
|
-
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
6
|
-
function Logo$1({ variant = "sandbox", size = "md", className, iconOnly = false }) {
|
|
7
|
-
return /* @__PURE__ */ jsx(Logo, {
|
|
8
|
-
size,
|
|
9
|
-
variant: iconOnly ? "icon" : "full",
|
|
10
|
-
suffix: variant === "sandbox" ? "Sandbox" : null,
|
|
11
|
-
className
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
Logo$1.displayName = "Logo";
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/primitives/heading.tsx
|
|
17
|
-
/** Compatibility name for the canonical nested (h2) page header. */
|
|
18
|
-
function SectionTitle(props) {
|
|
19
|
-
return /* @__PURE__ */ jsx(PageHeader, {
|
|
20
|
-
...props,
|
|
21
|
-
level: 2
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
export { DialogDescription$1 as $, TangleKnot$1 as $n, SheetClose as $t, CodeBlock as A, TerminalCursor as An, MetricStrip as At, ContextMenuPortal as B, Tooltip as Bn, SegmentedControl as Bt, CardContent$1 as C, TableHeader as Cn, FilterField as Ct, CardTitle$1 as D, TabsList$1 as Dn, Input$1 as Dt, CardHeader$1 as E, TabsContent$1 as En, InlineCode as Et, ContextMenuCheckboxItem as F, Textarea$1 as Fn, PopoverAnchor as Ft, ContextMenuSub as G, badgeVariants as Gn, SelectLabel as Gt, ContextMenuRadioItem as H, TooltipProvider as Hn, SelectContent$1 as Ht, ContextMenuContent as I, ThemeToggle as In, PopoverClose as It, ContextMenuTrigger as J, toneFor as Jn, SelectSeparator as Jt, ContextMenuSubContent as K, buttonVariants as Kn, SelectScrollDownButton as Kt, ContextMenuGroup as L, ToastContainer as Ln, PopoverContent as Lt, CollapsibleContent as M, TerminalInput as Mn, PageShell$1 as Mt, CollapsibleTrigger as N, TerminalLine as Nn, Pagination as Nt, Checkbox as O, TabsTrigger$1 as On, Label$1 as Ot, ContextMenu as P, TextShimmer as Pn, Popover as Pt, DialogContent$1 as Q, Logo$1 as Qn, Sheet as Qt, ContextMenuItem as R, ToastProvider as Rn, PopoverTrigger as Rt, Card$1 as S, TableHead as Sn, EmptyState$1 as St, CardFooter as T, Tabs$1 as Tn, IconTile as Tt, ContextMenuSeparator as U, TooltipTrigger as Un, SelectGroup as Ut, ContextMenuRadioGroup as V, TooltipContent as Vn, Select$1 as Vt, ContextMenuShortcut as W, UploadProgress as Wn, SelectItem$1 as Wt, Dialog$1 as X, useToast as Xn, SelectValue$1 as Xt, CopyButton as Y, useTheme as Yn, SelectTrigger$1 as Yt, DialogClose$1 as Z, SectionTitle as Zn, Separator as Zt, AvatarFallback$1 as _, Table as _n, DropdownMenuShortcut as _t, AlertDialogCancel as a, SheetPortal as an, DialogTrigger$1 as at, Button$1 as b, TableCell as bn, DropdownMenuSubTrigger$1 as bt, AlertDialogFooter as c, SidebarDropZone as cn, DropdownMenuCheckboxItem as ct, AlertDialogPortal as d, SkeletonTable as dn, DropdownMenuItem$1 as dt, SheetContent as en, DialogFooter$1 as et, AlertDialogTitle as f, Slider as fn, DropdownMenuLabel$1 as ft, Avatar$1 as g, TONE_CLASSES as gn, DropdownMenuSeparator$1 as gt, ArtifactPane$1 as h, Switch as hn, DropdownMenuRadioItem as ht, AlertDialogAction as i, SheetOverlay as in, DialogTitle$1 as it, Collapsible as j, TerminalDisplay as jn, PageHeader$1 as jt, Chip as k, Tag as kn, Metric as kt, AlertDialogHeader as l, Skeleton$1 as ln, DropdownMenuContent$1 as lt, AlertTitle as m, StatusPill$1 as mn, DropdownMenuRadioGroup as mt, AlertDescription as n, SheetFooter as nn, DialogOverlay as nt, AlertDialogContent as o, SheetTitle as on, DropZone as ot, AlertDialogTrigger as p, StatCard$1 as pn, DropdownMenuPortal as pt, ContextMenuSubTrigger as q, initialsOf as qn, SelectScrollUpButton as qt, AlertDialog as r, SheetHeader as rn, DialogPortal as rt, AlertDialogDescription as s, SheetTrigger as sn, DropdownMenu$1 as st, Alert as t, SheetDescription as tn, DialogHeader$1 as tt, AlertDialogOverlay as u, SkeletonCard$1 as un, DropdownMenuGroup as ut, AvatarImage$1 as v, TableBody as vn, DropdownMenuSub$1 as vt, CardDescription$1 as w, TableRow as wn, Heading as wt, CATEGORY_TONES as x, TableFooter as xn, DropdownMenuTrigger$1 as xt, Badge$1 as y, TableCaption as yn, DropdownMenuSubContent$1 as yt, ContextMenuLabel as z, Toolbar as zn, Progress$1 as zt };
|