@tangle-network/sandbox-ui 1.1.7 → 1.1.10

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.
@@ -1,5 +1,5 @@
1
1
  import { t as cn$1 } from "./utils-BER_bdgE.js";
2
- import { a as PortsList } from "./dashboard-ClKA3opr.js";
2
+ import { a as PortsList } from "./dashboard-DZ6FcC_Z.js";
3
3
  import { n as TerminalView } from "./terminal-nUCznZRj.js";
4
4
  import { RichFileTree } from "./files.js";
5
5
  import { a as CodeSurface, n as buildUnifiedPatch, r as computeDiffStats, t as DiffView } from "./diff-view-B9mNeTLF.js";
package/dist/workbench.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as DiffStatsBadge, c as PillTabs, i as FileBreadcrumb, n as SandboxArtifactPane, o as GitStatusBadge, r as CodeView, s as PanelHeader, t as ChangesPane } from "./workbench-DOgYO3Zg.js";
1
+ import { a as DiffStatsBadge, c as PillTabs, i as FileBreadcrumb, n as SandboxArtifactPane, o as GitStatusBadge, r as CodeView, s as PanelHeader, t as ChangesPane } from "./workbench-Ca6ZqAs5.js";
2
2
  import { a as CodeSurface, i as CODE_THEME, n as buildUnifiedPatch, r as computeDiffStats, t as DiffView } from "./diff-view-B9mNeTLF.js";
3
3
  import { n as PreviewView, t as EmbeddedAppView } from "./embedded-app-view-DXsoPale.js";
4
4
  export { CODE_THEME, ChangesPane, CodeSurface, CodeView, DiffStatsBadge, DiffView, EmbeddedAppView, FileBreadcrumb, GitStatusBadge, PanelHeader, PillTabs, PreviewView, SandboxArtifactPane, buildUnifiedPatch, computeDiffStats };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "1.1.7",
3
+ "version": "1.1.10",
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": {
@@ -137,8 +137,8 @@
137
137
  "@hocuspocus/provider": ">=2.15.0 <5.0.0",
138
138
  "@nanostores/react": ">=0.8.4 <2.0.0",
139
139
  "@tangle-network/agent-interface": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^5.2.0",
140
- "@tangle-network/brand": "^1.29.0",
141
- "@tangle-network/charts": "^0.21.20",
140
+ "@tangle-network/brand": "^1.31.1",
141
+ "@tangle-network/charts": "^0.21.20 || ^1.0.0",
142
142
  "@tangle-network/ui": "^11.46.0",
143
143
  "@tanstack/react-query": "^5.0.0",
144
144
  "@tiptap/core": ">=3.20.4 <4.0.0",
@@ -236,7 +236,7 @@
236
236
  "@storybook/react-vite": "^10.6.3",
237
237
  "@tailwindcss/postcss": "^4.3.3",
238
238
  "@tangle-network/agent-interface": "5.10.2",
239
- "@tangle-network/brand": "1.29.0",
239
+ "@tangle-network/brand": "^1.31.1",
240
240
  "@tangle-network/charts": "^0.21.20",
241
241
  "@tanstack/react-query": "^5.104.5",
242
242
  "@testing-library/dom": "^10.4.2",
@@ -1,26 +0,0 @@
1
- import { HeadingVariant, PageHeaderProps } from "@tangle-network/ui/primitives";
2
- import { TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
3
- import { ElementType, HTMLAttributes, ReactNode } from "react";
4
- interface LogoProps {
5
- variant?: "sandbox";
6
- size?: "sm" | "md" | "lg" | "xl";
7
- className?: string;
8
- iconOnly?: boolean;
9
- }
10
- /** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
11
- declare function Logo$1({ variant, size, className, iconOnly }: LogoProps): import("react").JSX.Element;
12
- declare namespace Logo$1 {
13
- var displayName: string;
14
- }
15
- /** Preserve the existing public type's required visual role and children.
16
- * The binding above remains UI's object, without a local render function.
17
- */
18
- interface HeadingProps extends Omit<HTMLAttributes<HTMLElement>, "role"> {
19
- role: HeadingVariant;
20
- as?: ElementType;
21
- children: ReactNode;
22
- }
23
- type SectionTitleProps = Pick<PageHeaderProps, "title" | "description" | "action" | "className">;
24
- /** Compatibility name for the canonical nested (h2) page header. */
25
- declare function SectionTitle(props: SectionTitleProps): import("react").JSX.Element;
26
- export { LogoProps as a, Logo$1 as i, SectionTitle as n, TangleKnot$1 as o, SectionTitleProps as r, HeadingProps as t };
@@ -1,32 +0,0 @@
1
- import { n as __reExport, t as __exportAll } from "./rolldown-runtime-782esTHO.js";
2
- import { PageHeader } from "@tangle-network/ui/primitives";
3
- import { Logo, TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
4
- import { jsx } from "react/jsx-runtime";
5
- // src/primitives/logo.tsx
6
- /** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
7
- function Logo$1({ variant = "sandbox", size = "md", className, iconOnly = false }) {
8
- return /* @__PURE__ */ jsx(Logo, {
9
- size,
10
- variant: iconOnly ? "icon" : "full",
11
- suffix: variant === "sandbox" ? "Sandbox" : null,
12
- className
13
- });
14
- }
15
- Logo$1.displayName = "Logo";
16
- // 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
- // src/primitives/index.ts
25
- var primitives_exports = /* @__PURE__ */ __exportAll({
26
- Logo: () => Logo$1,
27
- SectionTitle: () => SectionTitle,
28
- TangleKnot: () => TangleKnot$1
29
- });
30
- import * as import__tangle_network_ui_primitives from "@tangle-network/ui/primitives";
31
- __reExport(primitives_exports, import__tangle_network_ui_primitives);
32
- export { TangleKnot$1 as i, SectionTitle as n, Logo$1 as r, primitives_exports as t };
@@ -1,26 +0,0 @@
1
- // \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __exportAll = (all, no_symbols) => {
7
- let target = {};
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
13
- return target;
14
- };
15
- var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
17
- key = keys[i];
18
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
19
- get: ((k) => from[k]).bind(null, key),
20
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
21
- });
22
- }
23
- return to;
24
- };
25
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
26
- export { __reExport as n, __exportAll as t };