@inf-monkeys-tech/monkeys-design 1.0.34 → 1.0.35

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.
@@ -850,7 +850,7 @@ function AgentWorkbenchComposer({
850
850
  "aria-pressed": viewModel.mode === mode,
851
851
  className: cn2(
852
852
  "h-7 rounded px-2.5 text-xs font-medium transition-colors",
853
- viewModel.mode === mode ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
853
+ viewModel.mode === mode ? "bg-background text-foreground shadow-sm" : "text-foreground/75 hover:text-foreground"
854
854
  ),
855
855
  onClick: () => onIntent?.({ type: "change-mode", mode }),
856
856
  children: messages.modes[mode]
@@ -946,7 +946,7 @@ var ICONS = {
946
946
  function TemplateVisual({ template }) {
947
947
  const Icon2 = ICONS[template.icon || "sparkles"];
948
948
  if (template.coverImageUrl) {
949
- return /* @__PURE__ */ jsx("img", { src: template.coverImageUrl, alt: "", className: "size-full object-cover transition-transform duration-200 group-hover:scale-105" });
949
+ return /* @__PURE__ */ jsx("img", { src: template.coverImageUrl, alt: "", className: "size-full bg-muted object-contain" });
950
950
  }
951
951
  return /* @__PURE__ */ jsx("span", { className: "flex size-full items-center justify-center bg-gradient-to-br from-primary/5 via-muted/50 to-primary/15", children: /* @__PURE__ */ jsx("span", { className: "flex size-14 items-center justify-center rounded-2xl border border-primary/10 bg-background/85 text-primary shadow-sm", children: /* @__PURE__ */ jsx(Icon2, { className: "size-7", "aria-hidden": "true" }) }) });
952
952
  }
@@ -1065,7 +1065,7 @@ function AgentWorkbenchQuickStart({ viewModel, className, onIntent }) {
1065
1065
  ] }),
1066
1066
  template.description ? /* @__PURE__ */ jsx("span", { className: "mt-1 line-clamp-2 block min-h-8 text-xs leading-4 text-muted-foreground", children: template.description }) : null
1067
1067
  ] }),
1068
- /* @__PURE__ */ jsx("span", { className: "block h-28 overflow-hidden", children: /* @__PURE__ */ jsx(TemplateVisual, { template }) })
1068
+ /* @__PURE__ */ jsx("span", { className: cn2("block overflow-hidden", template.coverImageUrl ? "aspect-[5/2]" : "h-28"), children: /* @__PURE__ */ jsx(TemplateVisual, { template }) })
1069
1069
  ] }, template.id)) })
1070
1070
  ] })
1071
1071
  ] });