@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20261028113430 → 0.8.1-dev.20261103045814
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.js +3 -0
- package/dist/index.mjs +3 -0
- package/dist/server.js +3 -0
- package/dist/server.mjs +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10101,6 +10101,9 @@ var DocumentNode = (props) => {
|
|
|
10101
10101
|
documents = parseDocuments(props.node.documentAsset);
|
|
10102
10102
|
}
|
|
10103
10103
|
if (documents.length === 0) {
|
|
10104
|
+
if (!props.node.showNoResultMessage) {
|
|
10105
|
+
return null;
|
|
10106
|
+
}
|
|
10104
10107
|
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_jsx_runtime85.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
|
|
10105
10108
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
10106
10109
|
"svg",
|
package/dist/index.mjs
CHANGED
|
@@ -2368,6 +2368,9 @@ var DocumentNode = (props) => {
|
|
|
2368
2368
|
documents = parseDocuments(props.node.documentAsset);
|
|
2369
2369
|
}
|
|
2370
2370
|
if (documents.length === 0) {
|
|
2371
|
+
if (!props.node.showNoResultMessage) {
|
|
2372
|
+
return null;
|
|
2373
|
+
}
|
|
2371
2374
|
return /* @__PURE__ */ jsx36(Fragment6, { children: /* @__PURE__ */ jsxs14("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
|
|
2372
2375
|
/* @__PURE__ */ jsx36("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx36(
|
|
2373
2376
|
"svg",
|
package/dist/server.js
CHANGED
|
@@ -7693,6 +7693,9 @@ var DocumentNode = (props) => {
|
|
|
7693
7693
|
documents = parseDocuments(props.node.documentAsset);
|
|
7694
7694
|
}
|
|
7695
7695
|
if (documents.length === 0) {
|
|
7696
|
+
if (!props.node.showNoResultMessage) {
|
|
7697
|
+
return null;
|
|
7698
|
+
}
|
|
7696
7699
|
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
|
|
7697
7700
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
7698
7701
|
"svg",
|
package/dist/server.mjs
CHANGED
|
@@ -2324,6 +2324,9 @@ var DocumentNode = (props) => {
|
|
|
2324
2324
|
documents = parseDocuments(props.node.documentAsset);
|
|
2325
2325
|
}
|
|
2326
2326
|
if (documents.length === 0) {
|
|
2327
|
+
if (!props.node.showNoResultMessage) {
|
|
2328
|
+
return null;
|
|
2329
|
+
}
|
|
2327
2330
|
return /* @__PURE__ */ jsx36(Fragment6, { children: /* @__PURE__ */ jsxs14("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
|
|
2328
2331
|
/* @__PURE__ */ jsx36("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx36(
|
|
2329
2332
|
"svg",
|