@tangle-network/sandbox-ui 0.134.3 → 0.134.4

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/assets.js CHANGED
@@ -620,20 +620,29 @@ function AssetCard({ spec, variantCount, onApprove, onReject, onEdit, onOpen, cl
620
620
  onEdit && /* @__PURE__ */ jsxs("button", {
621
621
  type: "button",
622
622
  onClick: () => onEdit(spec.id),
623
- className: "flex flex-1 items-center justify-center gap-1 py-2 text-xs text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground",
624
- children: [/* @__PURE__ */ jsx(Pencil, { size: 12 }), "Edit"]
623
+ className: "flex min-h-10 flex-1 items-center justify-center gap-1.5 py-2 text-sm text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground",
624
+ children: [/* @__PURE__ */ jsx(Pencil, {
625
+ size: 14,
626
+ "aria-hidden": true
627
+ }), "Edit"]
625
628
  }),
626
629
  onReject && spec.status === "pending_review" && /* @__PURE__ */ jsxs("button", {
627
630
  type: "button",
628
631
  onClick: () => onReject(spec.id),
629
- className: "flex flex-1 items-center justify-center gap-1 border-l border-border py-2 text-xs text-muted-foreground transition-colors hover:bg-destructive/5 hover:text-destructive",
630
- children: [/* @__PURE__ */ jsx(X, { size: 12 }), "Reject"]
632
+ className: "flex min-h-10 flex-1 items-center justify-center gap-1.5 border-l border-border py-2 text-sm text-muted-foreground transition-colors hover:bg-destructive/5 hover:text-destructive",
633
+ children: [/* @__PURE__ */ jsx(X, {
634
+ size: 14,
635
+ "aria-hidden": true
636
+ }), "Reject"]
631
637
  }),
632
638
  onApprove && spec.status === "pending_review" && /* @__PURE__ */ jsxs("button", {
633
639
  type: "button",
634
640
  onClick: () => onApprove(spec.id),
635
- className: "flex flex-1 items-center justify-center gap-1 border-l border-border py-2 text-xs text-muted-foreground transition-colors hover:bg-green-600/5 hover:text-green-600",
636
- children: [/* @__PURE__ */ jsx(Check, { size: 12 }), "Approve"]
641
+ className: "flex min-h-10 flex-1 items-center justify-center gap-1.5 border-l border-border py-2 text-sm text-muted-foreground transition-colors hover:bg-green-600/5 hover:text-green-600",
642
+ children: [/* @__PURE__ */ jsx(Check, {
643
+ size: 14,
644
+ "aria-hidden": true
645
+ }), "Approve"]
637
646
  })
638
647
  ]
639
648
  })
@@ -1252,7 +1261,7 @@ function ApprovalQueue({ assets, variantCounts = {}, onApprove, onReject, onEdit
1252
1261
  className: "py-12 text-center text-sm text-muted-foreground",
1253
1262
  children: "No assets match your filters."
1254
1263
  }) : /* @__PURE__ */ jsx("div", {
1255
- className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-3",
1264
+ className: "grid grid-cols-1 min-[480px]:grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-3",
1256
1265
  children: filtered.map((a) => /* @__PURE__ */ jsx(AssetCard, {
1257
1266
  spec: a,
1258
1267
  variantCount: variantCounts[a.id],
package/dist/globals.css CHANGED
@@ -5454,6 +5454,11 @@
5454
5454
  padding-left: calc(var(--spacing) * 4);
5455
5455
  }
5456
5456
  }
5457
+ @media (width >= 480px) {
5458
+ .min-\[480px\]\:grid-cols-2 {
5459
+ grid-template-columns: repeat(2, minmax(0, 1fr));
5460
+ }
5461
+ }
5457
5462
  @media (width >= 40rem) {
5458
5463
  .sm\:col-span-1 {
5459
5464
  grid-column: span 1 / span 1;
package/dist/styles.css CHANGED
@@ -5454,6 +5454,11 @@
5454
5454
  padding-left: calc(var(--spacing) * 4);
5455
5455
  }
5456
5456
  }
5457
+ @media (width >= 480px) {
5458
+ .min-\[480px\]\:grid-cols-2 {
5459
+ grid-template-columns: repeat(2, minmax(0, 1fr));
5460
+ }
5461
+ }
5457
5462
  @media (width >= 40rem) {
5458
5463
  .sm\:col-span-1 {
5459
5464
  grid-column: span 1 / span 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "0.134.3",
3
+ "version": "0.134.4",
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": {