@windrun-huaiin/third-ui 5.11.1 → 5.11.2
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/main/index.js
CHANGED
|
@@ -6292,10 +6292,10 @@ function AIPromptTextarea({
|
|
|
6292
6292
|
}
|
|
6293
6293
|
};
|
|
6294
6294
|
const renderTitle = () => {
|
|
6295
|
-
if (title == null ? void 0 : title.trim()) return null;
|
|
6295
|
+
if (!(title == null ? void 0 : title.trim())) return null;
|
|
6296
6296
|
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "space-y-1", children: [
|
|
6297
6297
|
title && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-xl font-semibold text-foreground", children: title }),
|
|
6298
|
-
(description == null ? void 0 : description.trim()) && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-sm text-gray-400 ml-
|
|
6298
|
+
(description == null ? void 0 : description.trim()) && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-sm text-gray-400 ml-2", children: description })
|
|
6299
6299
|
] });
|
|
6300
6300
|
};
|
|
6301
6301
|
const renderTextarea = (isEmbedded = false) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|