@opencxh/ui-kit 3.153.0 → 3.158.0
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3110,7 +3110,7 @@ function qr({
|
|
|
3110
3110
|
className: n,
|
|
3111
3111
|
children: s
|
|
3112
3112
|
}) {
|
|
3113
|
-
return /* @__PURE__ */ c("div", { className: i("flex flex-col gap-4 py-6 sm:flex-row sm:gap-8", n), children: [
|
|
3113
|
+
return !t && !r ? /* @__PURE__ */ e("div", { children: s }) : /* @__PURE__ */ c("div", { className: i("flex flex-col gap-4 py-6 sm:flex-row sm:gap-8", n), children: [
|
|
3114
3114
|
/* @__PURE__ */ c("div", { className: "w-full shrink-0 sm:w-form-label", children: [
|
|
3115
3115
|
t && /* @__PURE__ */ e("span", { className: "text-base font-semibold text-text", children: t }),
|
|
3116
3116
|
r && /* @__PURE__ */ e("p", { className: "mt-1 text-sm leading-relaxed text-pretty text-text-subtle", children: r })
|
|
@@ -5470,7 +5470,7 @@ const As = ({
|
|
|
5470
5470
|
const a = !!(t.children && t.children.length > 0), l = r ? r(t.path) : !1;
|
|
5471
5471
|
if (a)
|
|
5472
5472
|
return /* @__PURE__ */ c("li", { children: [
|
|
5473
|
-
/* @__PURE__ */ c(
|
|
5473
|
+
t.label && /* @__PURE__ */ c(
|
|
5474
5474
|
"div",
|
|
5475
5475
|
{
|
|
5476
5476
|
className: i(
|