@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.
|
@@ -881,7 +881,7 @@ function AgentWorkbenchComposer({
|
|
|
881
881
|
"aria-pressed": viewModel.mode === mode,
|
|
882
882
|
className: cn2(
|
|
883
883
|
"h-7 rounded px-2.5 text-xs font-medium transition-colors",
|
|
884
|
-
viewModel.mode === mode ? "bg-background text-foreground shadow-sm" : "text-
|
|
884
|
+
viewModel.mode === mode ? "bg-background text-foreground shadow-sm" : "text-foreground/75 hover:text-foreground"
|
|
885
885
|
),
|
|
886
886
|
onClick: () => onIntent?.({ type: "change-mode", mode }),
|
|
887
887
|
children: messages.modes[mode]
|
|
@@ -977,7 +977,7 @@ var ICONS = {
|
|
|
977
977
|
function TemplateVisual({ template }) {
|
|
978
978
|
const Icon2 = ICONS[template.icon || "sparkles"];
|
|
979
979
|
if (template.coverImageUrl) {
|
|
980
|
-
return /* @__PURE__ */ jsxRuntime.jsx("img", { src: template.coverImageUrl, alt: "", className: "size-full
|
|
980
|
+
return /* @__PURE__ */ jsxRuntime.jsx("img", { src: template.coverImageUrl, alt: "", className: "size-full bg-muted object-contain" });
|
|
981
981
|
}
|
|
982
982
|
return /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.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__ */ jsxRuntime.jsx(Icon2, { className: "size-7", "aria-hidden": "true" }) }) });
|
|
983
983
|
}
|
|
@@ -1096,7 +1096,7 @@ function AgentWorkbenchQuickStart({ viewModel, className, onIntent }) {
|
|
|
1096
1096
|
] }),
|
|
1097
1097
|
template.description ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mt-1 line-clamp-2 block min-h-8 text-xs leading-4 text-muted-foreground", children: template.description }) : null
|
|
1098
1098
|
] }),
|
|
1099
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "block
|
|
1099
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cn2("block overflow-hidden", template.coverImageUrl ? "aspect-[5/2]" : "h-28"), children: /* @__PURE__ */ jsxRuntime.jsx(TemplateVisual, { template }) })
|
|
1100
1100
|
] }, template.id)) })
|
|
1101
1101
|
] })
|
|
1102
1102
|
] });
|