@tangle-network/sandbox-ui 0.33.0 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2610,10 +2610,27 @@ import { GitBranch, GitCommit, FileEdit, FilePlus, File } from "lucide-react";
2610
2610
  import { jsx as jsx21, jsxs as jsxs20 } from "react/jsx-runtime";
2611
2611
  function GitPanel({ status, log, loading = false, onRefresh, className }) {
2612
2612
  if (loading) {
2613
- return /* @__PURE__ */ jsx21("div", { className: cn("rounded-lg border border-border bg-card p-5", className), children: /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
2614
- /* @__PURE__ */ jsx21("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-primary border-t-transparent" }),
2615
- "Loading git info..."
2616
- ] }) });
2613
+ return /* @__PURE__ */ jsxs20(
2614
+ "div",
2615
+ {
2616
+ className: cn("rounded-lg border border-border bg-card overflow-hidden", className),
2617
+ "aria-busy": "true",
2618
+ children: [
2619
+ /* @__PURE__ */ jsx21("span", { className: "sr-only", children: "Loading git info\u2026" }),
2620
+ /* @__PURE__ */ jsx21("div", { className: "flex items-center justify-between border-b border-border bg-muted/30 px-4 py-3", children: /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-2", children: [
2621
+ /* @__PURE__ */ jsx21(GitBranch, { className: "h-4 w-4 text-muted-foreground" }),
2622
+ /* @__PURE__ */ jsx21("div", { className: "h-3.5 w-24 animate-pulse rounded bg-muted" })
2623
+ ] }) }),
2624
+ /* @__PURE__ */ jsxs20("div", { className: "px-4 py-3", children: [
2625
+ /* @__PURE__ */ jsx21("div", { className: "mb-2 h-2.5 w-20 animate-pulse rounded bg-muted" }),
2626
+ /* @__PURE__ */ jsx21("div", { className: "space-y-2.5", children: [0, 1, 2].map((row) => /* @__PURE__ */ jsxs20("div", { className: "flex items-start gap-2", children: [
2627
+ /* @__PURE__ */ jsx21(GitCommit, { className: "mt-0.5 h-3 w-3 shrink-0 text-muted-foreground" }),
2628
+ /* @__PURE__ */ jsx21("div", { className: "h-3 w-3/4 animate-pulse rounded bg-muted" })
2629
+ ] }, row)) })
2630
+ ] })
2631
+ ]
2632
+ }
2633
+ );
2617
2634
  }
2618
2635
  if (!status) {
2619
2636
  return /* @__PURE__ */ jsx21("div", { className: cn("rounded-lg border border-border bg-card p-5", className), children: /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
package/dist/dashboard.js CHANGED
@@ -52,7 +52,7 @@ import {
52
52
  canAdminSandbox,
53
53
  parseInsufficientBalance,
54
54
  useSidebar
55
- } from "./chunk-CI6RWXWY.js";
55
+ } from "./chunk-75Z5H43I.js";
56
56
  import {
57
57
  BillingDashboard,
58
58
  InfoPanel,
package/dist/index.js CHANGED
@@ -199,7 +199,7 @@ import {
199
199
  canAdminSandbox,
200
200
  parseInsufficientBalance,
201
201
  useSidebar
202
- } from "./chunk-CI6RWXWY.js";
202
+ } from "./chunk-75Z5H43I.js";
203
203
  import {
204
204
  BillingDashboard,
205
205
  InfoPanel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
4
4
  "description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
5
5
  "repository": {
6
6
  "type": "git",