@tangle-network/sandbox-ui 0.134.7 → 0.134.8
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-Ba7DlJHW.js → dashboard-CUFAz94r.js} +45 -48
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +124 -96
- package/dist/index-BKR3qGZy.d.ts +30 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.js +2 -2
- package/dist/motion-D4njYpys.js +7 -0
- package/dist/primitives-CAGwYo7I.js +25 -0
- package/dist/primitives.d.ts +2 -2
- package/dist/primitives.js +2 -2
- package/dist/styles.css +124 -96
- package/dist/tailwind.css +5 -138
- package/dist/tokens.css +53 -12
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +2 -2
- package/dist/{workbench-Ai6g85oA.js → workbench-0OM6RX2-.js} +1 -1
- package/dist/workbench.js +1 -1
- package/dist/{workspace-ElQALzwV.js → workspace-BJgSt2WW.js} +7 -7
- package/dist/workspace.js +1 -1
- package/package.json +5 -5
- package/dist/index-BqRlajlc.d.ts +0 -30
- package/dist/motion-DkyBRJb9.js +0 -37
- package/dist/primitives-DSpl1Thf.js +0 -25
package/dist/tokens.css
CHANGED
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
.dark {
|
|
58
58
|
color-scheme: dark;
|
|
59
59
|
--md3-surface: #0a0a14; /* L0 page canvas — indigo-lifted off black */
|
|
60
|
-
--md3-surface-dim: #
|
|
60
|
+
--md3-surface-dim: #040408; /* recessed page: 4.1 L under the #0a0a14 panel (the inset workspace surface needs >= 3) */
|
|
61
61
|
--md3-surface-bright: #232238;
|
|
62
62
|
/* Same value as --md3-surface-dim by design, not by drift: both name the floor
|
|
63
63
|
* of the ladder, and dark has no plane below it to give them. They stay two
|
|
64
64
|
* tokens because the roles diverge in light, where the well is paper (#ffffff)
|
|
65
65
|
* and the recessed page is grey (#dcdee6) — a consumer binding to the wrong one
|
|
66
66
|
* there gets the wrong surface. */
|
|
67
|
-
--md3-surface-container-lowest: #
|
|
67
|
+
--md3-surface-container-lowest: #040408; /* L-1 terminal/code well */
|
|
68
68
|
--md3-surface-container-low: #12111f; /* L1 chrome, field wells */
|
|
69
69
|
--md3-surface-container: #191826; /* L2 resting card */
|
|
70
70
|
--md3-surface-container-high: #221f33; /* L3 nested / hover */
|
|
@@ -494,6 +494,27 @@
|
|
|
494
494
|
--tracking-snug: -0.01em; /* section titles */
|
|
495
495
|
--tracking-wide: 0.08em; /* uppercase eyebrows / stat labels */
|
|
496
496
|
|
|
497
|
+
/* Expressive roles are opt-in; operational type and controls keep their scale. */
|
|
498
|
+
--tracking-display: -0.03em;
|
|
499
|
+
--hero-gutter: 1.5rem;
|
|
500
|
+
--hero-padding-top: clamp(5rem, 3rem + 5vw, 7rem);
|
|
501
|
+
--hero-padding-bottom: clamp(4rem, 2rem + 5vw, 6rem);
|
|
502
|
+
--display-max-width: 56rem;
|
|
503
|
+
--reading-max-width: 42rem;
|
|
504
|
+
--hero-action-gap: 0.75rem;
|
|
505
|
+
--hero-content-gap: 1.5rem;
|
|
506
|
+
--display-control-height: 2.875rem;
|
|
507
|
+
--display-control-radius: 0.625rem;
|
|
508
|
+
--display-control-font-size: 0.9375rem;
|
|
509
|
+
--display-control-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 4px 16px hsl(var(--primary) / 0.2);
|
|
510
|
+
--display-gradient: linear-gradient(135deg, hsl(var(--foreground)) 10%, var(--accent-text) 70%);
|
|
511
|
+
--hero-grid-pitch: 3.5rem;
|
|
512
|
+
--hero-atmosphere-opacity: 0.16;
|
|
513
|
+
--hero-knot-opacity: 0.07;
|
|
514
|
+
--duration-expressive-entrance: 300ms;
|
|
515
|
+
--duration-expressive-ambient: 14s;
|
|
516
|
+
--ease-expressive: cubic-bezier(0.16, 1, 0.3, 1);
|
|
517
|
+
|
|
497
518
|
/* Component spacing — override per-app for tighter/looser layouts */
|
|
498
519
|
--avatar-size: 2rem; /* 32px — chat avatars */
|
|
499
520
|
--timeline-dot-size: 0.625rem; /* 10px — timeline connector dots */
|
|
@@ -539,6 +560,13 @@
|
|
|
539
560
|
--motion-dismiss: var(--duration-instant) var(--ease-exit);
|
|
540
561
|
--motion-stream: var(--duration-stream) var(--ease-expo);
|
|
541
562
|
--motion-arrive: var(--duration-arrive) var(--ease-expo);
|
|
563
|
+
|
|
564
|
+
/* Elapsed interaction thresholds, not animation durations. See
|
|
565
|
+
* docs/design-bible.md#interaction. Reduced motion leaves these unchanged. */
|
|
566
|
+
--interaction-feedback-budget: 100ms;
|
|
567
|
+
--interaction-pending-delay: 200ms;
|
|
568
|
+
--interaction-long-work-delay: 1000ms;
|
|
569
|
+
--interaction-mutation-budget: 500ms;
|
|
542
570
|
--stagger-step: 50ms;
|
|
543
571
|
--stagger-index: 0;
|
|
544
572
|
--arrive-distance: 8px;
|
|
@@ -950,9 +978,15 @@
|
|
|
950
978
|
* level in, --hsl-raised-2 two levels in.
|
|
951
979
|
* --well the field fill: --well-page on the page, --well-card in a card,
|
|
952
980
|
* --well-raised in a card in a card, --well-raised-2 deeper still.
|
|
953
|
-
* A theme that tunes its ladder (Hospitality) sets these per mode.
|
|
954
|
-
*
|
|
955
|
-
*
|
|
981
|
+
* A theme that tunes its ladder (Hospitality) sets these per mode. Every other
|
|
982
|
+
* theme gets wells derived from its own page and card, so a field always sits
|
|
983
|
+
* at least 3 OKLCH L points off the plane it is on (agent-app-signoff
|
|
984
|
+
* surface-ladder): dark wells recess below the page (page + 30% black: -4.6 L on
|
|
985
|
+
* the page, -10.9 L in a card on the spine); light wells take the opposite plane
|
|
986
|
+
* (the card on the page, the page in a card: 5 L either way). The old shared
|
|
987
|
+
* --bg-input sat +3.1 above the dark page and -2.6 under the white card. Raised
|
|
988
|
+
* levels still paint the card here: --hsl-raised is an HSL triplet and cannot
|
|
989
|
+
* be derived per theme.
|
|
956
990
|
*
|
|
957
991
|
* INTERACTION. Four states, all from the focus ring hue (--hsl-ring), so one
|
|
958
992
|
* green or one indigo marks every interactive thing in a theme:
|
|
@@ -972,12 +1006,14 @@
|
|
|
972
1006
|
[data-theme] {
|
|
973
1007
|
--hsl-raised: var(--hsl-card);
|
|
974
1008
|
--hsl-raised-2: var(--hsl-card);
|
|
975
|
-
--well-page: var(--
|
|
976
|
-
--well-card: var(--
|
|
977
|
-
--well-raised: var(--
|
|
978
|
-
--well-raised-2: var(--
|
|
1009
|
+
--well-page: color-mix(in oklab, hsl(var(--hsl-background)) 70%, black);
|
|
1010
|
+
--well-card: var(--well-page);
|
|
1011
|
+
--well-raised: var(--well-page);
|
|
1012
|
+
--well-raised-2: var(--well-page);
|
|
979
1013
|
--well: var(--well-page);
|
|
980
|
-
|
|
1014
|
+
/* The hairline is 1.5:1 by design; a field edge is non-text UI and needs 3:1.
|
|
1015
|
+
* 45% toward the ink measures 4.0:1 on the spine card in both modes. */
|
|
1016
|
+
--field-border: color-mix(in oklab, hsl(var(--hsl-border)), hsl(var(--hsl-foreground)) 45%);
|
|
981
1017
|
--shadow-raised: var(--shadow-card);
|
|
982
1018
|
/* A shadow token joins a comma list, so "none" would void the whole list. */
|
|
983
1019
|
--shadow-well: 0 0 0 0 transparent;
|
|
@@ -991,8 +1027,9 @@
|
|
|
991
1027
|
--ix-hover-bg: hsl(var(--hsl-ring) / 0.08);
|
|
992
1028
|
}
|
|
993
1029
|
|
|
994
|
-
/* Light planes need less tint for the same step
|
|
995
|
-
* light rule below; dark is the
|
|
1030
|
+
/* Light planes need less tint for the same step, and take their wells from the
|
|
1031
|
+
* opposite plane. Same scope list as the chart light rule below; dark is the
|
|
1032
|
+
* default. */
|
|
996
1033
|
[data-sandbox-theme="vault"]:where(:not(.dark)),
|
|
997
1034
|
[data-sandbox-theme="dawn"]:where(:not(.dark)),
|
|
998
1035
|
[data-theme="hospitality"]:where(:not(.dark)),
|
|
@@ -1002,6 +1039,10 @@
|
|
|
1002
1039
|
[data-theme$="-light"] {
|
|
1003
1040
|
--ix-sel-bg: hsl(var(--hsl-ring) / 0.13);
|
|
1004
1041
|
--ix-hover-bg: hsl(var(--hsl-ring) / 0.07);
|
|
1042
|
+
--well-page: hsl(var(--hsl-card));
|
|
1043
|
+
--well-card: hsl(var(--hsl-background));
|
|
1044
|
+
--well-raised: hsl(var(--hsl-background));
|
|
1045
|
+
--well-raised-2: hsl(var(--hsl-background));
|
|
1005
1046
|
}
|
|
1006
1047
|
|
|
1007
1048
|
/* Surface context: keyed only on the Card primitive's data-slot, never on app
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, timeAgo, truncateText } from "@tangle-network/ui/utils";
|
|
2
|
-
export { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, timeAgo, truncateText };
|
|
1
|
+
import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, plainTextFromMarkdown, timeAgo, truncateText } from "@tangle-network/ui/utils";
|
|
2
|
+
export { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, plainTextFromMarkdown, timeAgo, truncateText };
|
package/dist/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, timeAgo, truncateText } from "@tangle-network/ui/utils";
|
|
2
|
-
export { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, timeAgo, truncateText };
|
|
1
|
+
import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, plainTextFromMarkdown, timeAgo, truncateText } from "@tangle-network/ui/utils";
|
|
2
|
+
export { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, plainTextFromMarkdown, timeAgo, truncateText };
|
|
@@ -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-CUFAz94r.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-CYb9hevq.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-0OM6RX2-.js";
|
|
2
2
|
import { n as PreviewView, t as EmbeddedAppView } from "./embedded-app-view-CYb9hevq.js";
|
|
3
3
|
export { BRAND_PRISM_THEME, ChangesPane, CodeSurface, CodeView, DiffStatsBadge, DiffView, EmbeddedAppView, FileBreadcrumb, GitStatusBadge, PanelHeader, PillTabs, PreviewView, SandboxArtifactPane, buildUnifiedPatch, computeDiffStats, resolveLanguage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
2
2
|
import { r as ShellHeader } from "./shell-header-CTh3oV_e.js";
|
|
3
|
-
import { t as MOTION_CONTROL } from "./motion-
|
|
3
|
+
import { t as MOTION_CONTROL } from "./motion-D4njYpys.js";
|
|
4
4
|
import { i as VaultTree, n as filterFileNodes, t as fileTreeFromPaths } from "./tree-data-DtoCNNBJ.js";
|
|
5
5
|
import { ArtifactPane, ArtifactPane as ArtifactPane$1, Button, EmptyState, Input, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@tangle-network/ui/primitives";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1478,7 +1478,7 @@ function SessionSidebar({ title, subtitle, projectId = null, items, currentItemI
|
|
|
1478
1478
|
type: "button",
|
|
1479
1479
|
onClick: onCollapse,
|
|
1480
1480
|
"aria-label": "Hide chats",
|
|
1481
|
-
className: cn$1("flex h-7 w-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-surface-container hover:text-foreground", "
|
|
1481
|
+
className: cn$1("flex h-7 w-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-surface-container hover:text-foreground", "[transition:color_var(--motion-control),background-color_var(--motion-control),border-color_var(--motion-control),box-shadow_var(--motion-control),transform_var(--motion-control),scale_var(--motion-control),opacity_var(--motion-control)] motion-reduce:transition-none"),
|
|
1482
1482
|
children: /* @__PURE__ */ jsx(PanelLeftClose, { className: "h-4 w-4" })
|
|
1483
1483
|
})
|
|
1484
1484
|
]
|
|
@@ -1508,7 +1508,7 @@ function SessionSidebar({ title, subtitle, projectId = null, items, currentItemI
|
|
|
1508
1508
|
type: "button",
|
|
1509
1509
|
onClick: onCreate,
|
|
1510
1510
|
title: createLabel,
|
|
1511
|
-
className: cn$1("flex h-7 w-7 items-center justify-center rounded-[var(--radius-sm)] border border-[var(--md3-outline-variant)] text-muted-foreground transition-colors hover:bg-[var(--accent-surface-soft)] hover:text-foreground", "
|
|
1511
|
+
className: cn$1("flex h-7 w-7 items-center justify-center rounded-[var(--radius-sm)] border border-[var(--md3-outline-variant)] text-muted-foreground transition-colors hover:bg-[var(--accent-surface-soft)] hover:text-foreground", "[transition:color_var(--motion-control),background-color_var(--motion-control),border-color_var(--motion-control),box-shadow_var(--motion-control),transform_var(--motion-control),scale_var(--motion-control),opacity_var(--motion-control)] motion-reduce:transition-none"),
|
|
1512
1512
|
children: /* @__PURE__ */ jsx(Plus, { className: "h-3.5 w-3.5" })
|
|
1513
1513
|
})]
|
|
1514
1514
|
})]
|
|
@@ -1522,7 +1522,7 @@ function SessionSidebar({ title, subtitle, projectId = null, items, currentItemI
|
|
|
1522
1522
|
onChange: (event) => setQuery(event.target.value),
|
|
1523
1523
|
placeholder: searchPlaceholder,
|
|
1524
1524
|
"aria-label": searchPlaceholder,
|
|
1525
|
-
className: cn$1(quiet ? `h-8 w-full rounded-md border-0 bg-transparent pl-7 pr-2 text-sm text-foreground placeholder:text-muted-foreground transition-colors focus-visible:bg-surface-container ${focusRing}` : `h-8 w-full rounded-[var(--radius-sm)] border bg-surface-container-lowest pl-7 pr-2 text-sm text-foreground placeholder:text-muted-foreground ${focusField}`, "
|
|
1525
|
+
className: cn$1(quiet ? `h-8 w-full rounded-md border-0 bg-transparent pl-7 pr-2 text-sm text-foreground placeholder:text-muted-foreground transition-colors focus-visible:bg-surface-container ${focusRing}` : `h-8 w-full rounded-[var(--radius-sm)] border bg-surface-container-lowest pl-7 pr-2 text-sm text-foreground placeholder:text-muted-foreground ${focusField}`, "[transition:color_var(--motion-control),background-color_var(--motion-control),border-color_var(--motion-control),box-shadow_var(--motion-control),transform_var(--motion-control),scale_var(--motion-control),opacity_var(--motion-control)] motion-reduce:transition-none")
|
|
1526
1526
|
})]
|
|
1527
1527
|
}), filters.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
1528
1528
|
className: cn$1("flex flex-wrap gap-1", enableSearch && items.length > 0 && "mt-2"),
|
|
@@ -1531,7 +1531,7 @@ function SessionSidebar({ title, subtitle, projectId = null, items, currentItemI
|
|
|
1531
1531
|
return /* @__PURE__ */ jsxs("button", {
|
|
1532
1532
|
type: "button",
|
|
1533
1533
|
onClick: () => setActiveFilterId(filter.id),
|
|
1534
|
-
className: cn$1("inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium transition-colors", "
|
|
1534
|
+
className: cn$1("inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium transition-colors", "[transition:color_var(--motion-control),background-color_var(--motion-control),border-color_var(--motion-control),box-shadow_var(--motion-control),transform_var(--motion-control),scale_var(--motion-control),opacity_var(--motion-control)] motion-reduce:transition-none", isSelected ? "border-[var(--border-accent)] bg-[var(--accent-surface-soft)] text-primary" : "border-[var(--md3-outline-variant)] text-muted-foreground hover:text-foreground"),
|
|
1535
1535
|
children: [/* @__PURE__ */ jsx("span", { children: filter.label }), /* @__PURE__ */ jsx("span", {
|
|
1536
1536
|
className: "text-[11px] opacity-60",
|
|
1537
1537
|
children: filterCounts[filter.id] ?? 0
|
|
@@ -1583,7 +1583,7 @@ function SessionSidebar({ title, subtitle, projectId = null, items, currentItemI
|
|
|
1583
1583
|
}
|
|
1584
1584
|
navigateToHref(link.href);
|
|
1585
1585
|
},
|
|
1586
|
-
className: cn$1("flex w-full items-center gap-2 rounded-[var(--radius-sm)] px-3 py-2 text-left text-sm text-muted-foreground transition-colors hover:bg-accent/30 hover:text-foreground", "
|
|
1586
|
+
className: cn$1("flex w-full items-center gap-2 rounded-[var(--radius-sm)] px-3 py-2 text-left text-sm text-muted-foreground transition-colors hover:bg-accent/30 hover:text-foreground", "[transition:color_var(--motion-control),background-color_var(--motion-control),border-color_var(--motion-control),box-shadow_var(--motion-control),transform_var(--motion-control),scale_var(--motion-control),opacity_var(--motion-control)] motion-reduce:transition-none"),
|
|
1587
1587
|
children: [/* @__PURE__ */ jsx(Icon, { className: "h-4 w-4 shrink-0" }), /* @__PURE__ */ jsx("span", {
|
|
1588
1588
|
className: "truncate",
|
|
1589
1589
|
children: link.label
|
|
@@ -1593,7 +1593,7 @@ function SessionSidebar({ title, subtitle, projectId = null, items, currentItemI
|
|
|
1593
1593
|
})
|
|
1594
1594
|
}),
|
|
1595
1595
|
resizable && /* @__PURE__ */ jsx("div", {
|
|
1596
|
-
className: cn$1("absolute top-0 right-0 bottom-0 w-1 cursor-col-resize hover:bg-[var(--accent-surface-soft)] active:bg-[var(--border-accent)] transition-colors", "
|
|
1596
|
+
className: cn$1("absolute top-0 right-0 bottom-0 w-1 cursor-col-resize hover:bg-[var(--accent-surface-soft)] active:bg-[var(--border-accent)] transition-colors", "[transition:color_var(--motion-control),background-color_var(--motion-control),border-color_var(--motion-control),box-shadow_var(--motion-control),transform_var(--motion-control),scale_var(--motion-control),opacity_var(--motion-control)] motion-reduce:transition-none"),
|
|
1597
1597
|
onPointerDown: resize.onPointerDown,
|
|
1598
1598
|
onPointerMove: resize.onPointerMove,
|
|
1599
1599
|
onPointerUp: resize.onPointerUp,
|
package/dist/workspace.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as WorkspacePaneHeader, n as SHELL_INSET_GUTTER, r as ShellHeader, t as SHELL_HEADER_HEIGHT } from "./shell-header-CTh3oV_e.js";
|
|
2
|
-
import { C as WorkspaceSurfaceTitle, S as WorkspaceSurfaceFrame, _ 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, x as WorkspaceSurface, y as DirectoryPane } from "./workspace-
|
|
2
|
+
import { C as WorkspaceSurfaceTitle, S as WorkspaceSurfaceFrame, _ 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, x as WorkspaceSurface, y as DirectoryPane } from "./workspace-BJgSt2WW.js";
|
|
3
3
|
export { ApprovalQueue, ArtifactPane, CalendarView, DirectoryPane, RuntimePane, SESSION_CREATED_EVENT, SHELL_HEADER_HEIGHT, SHELL_INSET_GUTTER, SandboxWorkbench, SessionSidebar, ShellHeader, StatusBanner, StatusBar, TaskBoard, TerminalPanel, WorkspaceArtifactView, WorkspaceFilesPane, WorkspaceLayout, WorkspacePaneHeader, WorkspaceSurface, WorkspaceSurfaceFrame, WorkspaceSurfaceTitle, createShellShouldRevalidate, dispatchSessionCreated, formatRelativeAge, shellShouldRevalidate, useOptimisticSessionItems };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.134.
|
|
3
|
+
"version": "0.134.8",
|
|
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": {
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
"@hocuspocus/provider": ">=2.15.0 <5.0.0",
|
|
134
134
|
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
135
135
|
"@tangle-network/agent-interface": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^5.2.0",
|
|
136
|
-
"@tangle-network/brand": "^1.
|
|
137
|
-
"@tangle-network/ui": "^11.
|
|
136
|
+
"@tangle-network/brand": "^1.25.1",
|
|
137
|
+
"@tangle-network/ui": "^11.38.1",
|
|
138
138
|
"@tanstack/react-query": "^5.0.0",
|
|
139
139
|
"@tiptap/core": ">=3.20.4 <4.0.0",
|
|
140
140
|
"@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
|
|
@@ -223,8 +223,8 @@
|
|
|
223
223
|
"@storybook/react-vite": "^10.6.0",
|
|
224
224
|
"@tailwindcss/postcss": "^4.3.3",
|
|
225
225
|
"@tangle-network/agent-interface": "5.2.0",
|
|
226
|
-
"@tangle-network/brand": "1.
|
|
227
|
-
"@tangle-network/ui": "11.
|
|
226
|
+
"@tangle-network/brand": "1.25.1",
|
|
227
|
+
"@tangle-network/ui": "11.38.1",
|
|
228
228
|
"@tanstack/react-query": "^5.104.0",
|
|
229
229
|
"@testing-library/dom": "^10.4.2",
|
|
230
230
|
"@testing-library/jest-dom": "^7.0.1",
|
package/dist/index-BqRlajlc.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Alert as Alert$1, 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, Calendar, CalendarDate, CalendarProps, 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, DatePicker as DatePicker$1, DatePickerProps, 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 as FilterField$1, 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, RadioGroup, RadioGroupItem, 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, TimeSelect, TimeSelectProps, Toast, ToastContainer, ToastProvider, Tone, ToneClasses, Toolbar as Toolbar$1, ToolbarProps, Tooltip as Tooltip$1, TooltipContent as TooltipContent$1, TooltipProvider as TooltipProvider$1, TooltipTrigger as TooltipTrigger$1, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, buttonVariants, formatCalendarDate, initialsOf, localToday as localToday$1, parseCalendarDate, 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 { ContextMenuRadioGroup as $, Table as $n, TangleKnot$1 as $r, MetricProps as $t, Card$1 as A, Sheet as An, Toolbar$1 as Ar, DropdownMenuRadioItem as At, ChipProps as B, SidebarDropZone as Bn, buttonVariants as Br, FilterFieldProps as Bt, BadgeProps as C, SelectLabel as Cn, TimeSelect as Cr, DropdownMenuCheckboxItem as Ct, Calendar as D, SelectTrigger$1 as Dn, ToastProvider as Dr, DropdownMenuLabel$1 as Dt, CATEGORY_TONES as E, SelectSeparator as En, ToastContainer as Er, DropdownMenuItem$1 as Et, CardTitle$1 as F, SheetHeader as Fn, TooltipTrigger$1 as Fr, DropdownMenuSubTrigger$1 as Ft, CollapsibleTrigger as G, Slider as Gn, toneFor as Gr, IconTile as Gt, CodeBlockProps as H, Skeleton$1 as Hn, initialsOf as Hr, HeadingVariant$1 as Ht, CardTitleProps as I, SheetOverlay as In, UploadFile as Ir, DropdownMenuTrigger$1 as It, ContextMenuContent as J, StatusPill$1 as Jn, HeadingProps as Jr, InlineCodeProps as Jt, ContextMenu as K, StatCard$1 as Kn, useTheme as Kr, IconTileProps as Kt, CategoryTone as L, SheetPortal as Ln, UploadProgress as Lr, EmptyState$1 as Lt, CardDescription$1 as M, SheetContent as Mn, Tooltip$1 as Mr, DropdownMenuShortcut as Mt, CardFooter as N, SheetDescription as Nn, TooltipContent$1 as Nr, DropdownMenuSub$1 as Nt, CalendarDate as O, SelectValue$1 as On, Tone as Or, DropdownMenuPortal as Ot, CardHeader$1 as P, SheetFooter as Pn, TooltipProvider$1 as Pr, DropdownMenuSubContent$1 as Pt, ContextMenuPortal as Q, TONE_CLASSES as Qn, LogoProps as Qr, Metric as Qt, Checkbox as R, SheetTitle as Rn, UploadProgressProps as Rr, EmptyStateProps as Rt, Badge$1 as S, SelectItem$1 as Sn, ThemeToggle as Sr, DropdownMenu$1 as St, ButtonProps$1 as T, SelectScrollUpButton as Tn, Toast as Tr, DropdownMenuGroup as Tt, Collapsible as U, SkeletonCard$1 as Un, localToday$1 as Ur, HelpText as Ut, CodeBlock as V, SidebarDropZoneProps as Vn, formatCalendarDate as Vr, Heading as Vt, CollapsibleContent as W, SkeletonTable as Wn, parseCalendarDate as Wr, HelpTextProps as Wt, ContextMenuItem as X, StatusTone$1 as Xn, SectionTitleProps as Xr, InputProps as Xt, ContextMenuGroup as Y, StatusPillProps$1 as Yn, SectionTitle as Yr, Input$1 as Yt, ContextMenuLabel as Z, Switch as Zn, Logo$1 as Zr, Label$1 as Zt, ArtifactPane$1 as _, SegmentedControlOption as _n, TerminalLine as _r, DialogPortal as _t, AlertDialogCancel as a, PageShellProps as an, TableHeader as ar, ContextMenuSubTrigger as at, AvatarFallback$1 as b, SelectContent$1 as bn, Textarea$1 as br, DropZone as bt, AlertDialogFooter as c, Popover as cn, Tabs$1 as cr, DatePicker$1 as ct, AlertDialogPortal as d, PopoverContent as dn, TabsTrigger$1 as dr, DialogClose$1 as dt, MetricStrip as en, TableBody as er, ContextMenuRadioItem as et, AlertDialogTitle as f, PopoverTrigger as fn, Tag as fr, DialogContent$1 as ft, AlertTone as g, SegmentedControl as gn, TerminalInput as gr, DialogOverlay as gt, AlertTitle as h, RadioGroupItem as hn, TerminalDisplay as hr, DialogHeader$1 as ht, AlertDialogAction as i, PageShell$1 as in, TableHead as ir, ContextMenuSubContent as it, CardContent$1 as j, SheetClose as jn, ToolbarProps as jr, DropdownMenuSeparator$1 as jt, CalendarProps as k, Separator as kn, ToneClasses as kr, DropdownMenuRadioGroup as kt, AlertDialogHeader as l, PopoverAnchor as ln, TabsContent$1 as lr, DatePickerProps as lt, AlertProps as m, RadioGroup as mn, TerminalCursor as mr, DialogFooter$1 as mt, AlertDescription as n, PageHeader$1 as nn, TableCell as nr, ContextMenuShortcut as nt, AlertDialogContent as o, Pagination as on, TableProps as or, ContextMenuTrigger as ot, AlertDialogTrigger as p, Progress$1 as pn, TagProps as pr, DialogDescription$1 as pt, ContextMenuCheckboxItem as q, StatCardProps as qn, useToast as qr, InlineCode as qt, AlertDialog as r, PageHeaderProps$1 as rn, TableFooter as rr, ContextMenuSub as rt, AlertDialogDescription as s, PaginationProps as sn, TableRow as sr, CopyButton as st, Alert$1 as t, MetricStripProps as tn, TableCaption as tr, ContextMenuSeparator as tt, AlertDialogOverlay as u, PopoverClose as un, TabsList$1 as ur, Dialog$1 as ut, ArtifactPaneProps as v, SegmentedControlProps as vn, TextShimmer as vr, DialogTitle$1 as vt, Button$1 as w, SelectScrollDownButton as wn, TimeSelectProps as wr, DropdownMenuContent$1 as wt, AvatarImage$1 as x, SelectGroup as xn, TextareaProps as xr, DropZoneProps as xt, Avatar$1 as y, Select$1 as yn, TextShimmerProps as yr, DialogTrigger$1 as yt, Chip as z, SheetTrigger as zn, badgeVariants as zr, FilterField$1 as zt };
|
package/dist/motion-DkyBRJb9.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
//#region src/lib/motion.ts
|
|
2
|
-
/**
|
|
3
|
-
* The three motion composites, as class strings.
|
|
4
|
-
*
|
|
5
|
-
* Every duration and curve this package animates on comes from a token declared
|
|
6
|
-
* in `src/styles/globals.css` (`--duration-*` / `--ease-*` / `--motion-*`, the
|
|
7
|
-
* same names and values `@tangle-network/agent-app` declares). A hardcoded
|
|
8
|
-
* `duration-150` is invisible to the `prefers-reduced-motion` collapse at
|
|
9
|
-
* `:root`, and "it writes its own timing" and "it ignores reduced motion" are
|
|
10
|
-
* the same defect.
|
|
11
|
-
*
|
|
12
|
-
* These are arbitrary-value utilities rather than named ones (`duration-fast`,
|
|
13
|
-
* the form agent-app's Tailwind preset generates) because the artifact this
|
|
14
|
-
* package ships is the PRECOMPILED `dist/globals.css`, built with
|
|
15
|
-
* `@import "tailwindcss" source(none)` and no JS config. A named utility that no
|
|
16
|
-
* config defines emits no rule, and the failure is silent — the element simply
|
|
17
|
-
* keeps its default timing. An arbitrary value that appears verbatim in scanned
|
|
18
|
-
* source always emits. @see the text-ramp comment in globals.css for the same
|
|
19
|
-
* failure mode, paid for once already.
|
|
20
|
-
*
|
|
21
|
-
* Pair them with a `transition-*` utility that names the properties:
|
|
22
|
-
* `cn("transition-colors", MOTION_CONTROL)`.
|
|
23
|
-
*/
|
|
24
|
-
/** A control already on screen changing state: hover, active, press, focus. */
|
|
25
|
-
const MOTION_CONTROL = "duration-[var(--duration-fast)] ease-[var(--ease-standard)]";
|
|
26
|
-
/** A surface arriving or leaving: a panel, a flyout, a disclosure. */
|
|
27
|
-
const MOTION_SURFACE = "duration-[var(--duration-base)] ease-[var(--ease-entrance)]";
|
|
28
|
-
/**
|
|
29
|
-
* A full-height surface travelling: the rail collapsing, the mobile drawer, the
|
|
30
|
-
* content margin that has to keep pace with them. Pairs `--duration-slow` with
|
|
31
|
-
* `--ease-standard` — the slow tier is the one composite agent-app leaves
|
|
32
|
-
* unnamed, so it is composed here from its two tokens rather than invented as a
|
|
33
|
-
* fourth `--motion-*` the other package would not have.
|
|
34
|
-
*/
|
|
35
|
-
const MOTION_TRAVEL = "duration-[var(--duration-slow)] ease-[var(--ease-standard)]";
|
|
36
|
-
//#endregion
|
|
37
|
-
export { MOTION_SURFACE as n, MOTION_TRAVEL as r, MOTION_CONTROL as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Alert as Alert$1, 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, Calendar, 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, DatePicker as DatePicker$1, 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 as FilterField$1, 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, RadioGroup, RadioGroupItem, 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, TimeSelect, ToastContainer, ToastProvider, Toolbar as Toolbar$1, Tooltip as Tooltip$1, TooltipContent as TooltipContent$1, TooltipProvider as TooltipProvider$1, TooltipTrigger as TooltipTrigger$1, UploadProgress, badgeVariants, buttonVariants, formatCalendarDate, initialsOf, localToday as localToday$1, parseCalendarDate, 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 { DialogClose$1 as $, formatCalendarDate as $n, SelectSeparator as $t, Chip as A, Tabs$1 as An, Input$1 as At, ContextMenuLabel as B, Textarea$1 as Bn, PopoverContent as Bt, Card$1 as C, TableBody as Cn, DropdownMenuTrigger$1 as Ct, CardHeader$1 as D, TableHead as Dn, HelpText as Dt, CardFooter as E, TableFooter as En, Heading as Et, ContextMenu as F, TerminalCursor as Fn, PageShell$1 as Ft, ContextMenuShortcut as G, Toolbar$1 as Gn, SegmentedControl as Gt, ContextMenuRadioGroup as H, TimeSelect as Hn, Progress$1 as Ht, ContextMenuCheckboxItem as I, TerminalDisplay as In, Pagination as It, ContextMenuSubTrigger as J, TooltipProvider$1 as Jn, SelectGroup as Jt, ContextMenuSub as K, Tooltip$1 as Kn, Select$1 as Kt, ContextMenuContent as L, TerminalInput as Ln, Popover as Lt, Collapsible as M, TabsList$1 as Mn, Metric as Mt, CollapsibleContent as N, TabsTrigger$1 as Nn, MetricStrip as Nt, CardTitle$1 as O, TableHeader as On, IconTile as Ot, CollapsibleTrigger as P, Tag as Pn, PageHeader$1 as Pt, Dialog$1 as Q, buttonVariants as Qn, SelectScrollUpButton as Qt, ContextMenuGroup as R, TerminalLine as Rn, PopoverAnchor as Rt, Calendar as S, Table as Sn, DropdownMenuSubTrigger$1 as St, CardDescription$1 as T, TableCell as Tn, FilterField$1 as Tt, ContextMenuRadioItem as U, ToastContainer as Un, RadioGroup as Ut, ContextMenuPortal as V, ThemeToggle as Vn, PopoverTrigger as Vt, ContextMenuSeparator as W, ToastProvider as Wn, RadioGroupItem as Wt, CopyButton as X, UploadProgress as Xn, SelectLabel as Xt, ContextMenuTrigger as Y, TooltipTrigger$1 as Yn, SelectItem$1 as Yt, DatePicker$1 as Z, badgeVariants as Zn, SelectScrollDownButton as Zt, AvatarFallback$1 as _, Slider as _n, DropdownMenuRadioItem as _t, AlertDialogCancel as a, SheetContent as an, useToast as ar, DialogPortal as at, Button$1 as b, Switch as bn, DropdownMenuSub$1 as bt, AlertDialogFooter as c, SheetHeader as cn, TangleKnot$1 as cr, DropZone as ct, AlertDialogPortal as d, SheetTitle as dn, DropdownMenuContent$1 as dt, SelectTrigger$1 as en, initialsOf as er, DialogContent$1 as et, AlertDialogTitle as f, SheetTrigger as fn, DropdownMenuGroup as ft, Avatar$1 as g, SkeletonTable as gn, DropdownMenuRadioGroup as gt, ArtifactPane$1 as h, SkeletonCard$1 as hn, DropdownMenuPortal as ht, AlertDialogAction as i, SheetClose as in, useTheme as ir, DialogOverlay as it, CodeBlock as j, TabsContent$1 as jn, Label$1 as jt, Checkbox as k, TableRow as kn, InlineCode as kt, AlertDialogHeader as l, SheetOverlay as ln, DropdownMenu$1 as lt, AlertTitle as m, Skeleton$1 as mn, DropdownMenuLabel$1 as mt, AlertDescription as n, Separator as nn, parseCalendarDate as nr, DialogFooter$1 as nt, AlertDialogContent as o, SheetDescription as on, SectionTitle as or, DialogTitle$1 as ot, AlertDialogTrigger as p, SidebarDropZone as pn, DropdownMenuItem$1 as pt, ContextMenuSubContent as q, TooltipContent$1 as qn, SelectContent$1 as qt, AlertDialog as r, Sheet as rn, toneFor as rr, DialogHeader$1 as rt, AlertDialogDescription as s, SheetFooter as sn, Logo$1 as sr, DialogTrigger$1 as st, Alert$1 as t, SelectValue$1 as tn, localToday$1 as tr, DialogDescription$1 as tt, AlertDialogOverlay as u, SheetPortal as un, DropdownMenuCheckboxItem as ut, AvatarImage$1 as v, StatCard$1 as vn, DropdownMenuSeparator$1 as vt, CardContent$1 as w, TableCaption as wn, EmptyState$1 as wt, CATEGORY_TONES as x, TONE_CLASSES as xn, DropdownMenuSubContent$1 as xt, Badge$1 as y, StatusPill$1 as yn, DropdownMenuShortcut as yt, ContextMenuItem as z, TextShimmer as zn, PopoverClose as zt };
|