@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20261026095918 → 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 CHANGED
@@ -8669,6 +8669,9 @@ var DatafieldNode = (props) => {
8669
8669
  host: props.host,
8670
8670
  path: props.path,
8671
8671
  apiBaseUrl: props.apiBaseUrl,
8672
+ assetBaseUrl: props.assetBaseUrl,
8673
+ serviceClient: props.serviceClient,
8674
+ device: props.device,
8672
8675
  breadcrumb: props.breadcrumb,
8673
8676
  donotApplyContainerClass: true,
8674
8677
  widgetRenderer: props.widgetRenderer
@@ -10098,6 +10101,9 @@ var DocumentNode = (props) => {
10098
10101
  documents = parseDocuments(props.node.documentAsset);
10099
10102
  }
10100
10103
  if (documents.length === 0) {
10104
+ if (!props.node.showNoResultMessage) {
10105
+ return null;
10106
+ }
10101
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: [
10102
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)(
10103
10109
  "svg",
package/dist/index.mjs CHANGED
@@ -945,6 +945,9 @@ var DatafieldNode = (props) => {
945
945
  host: props.host,
946
946
  path: props.path,
947
947
  apiBaseUrl: props.apiBaseUrl,
948
+ assetBaseUrl: props.assetBaseUrl,
949
+ serviceClient: props.serviceClient,
950
+ device: props.device,
948
951
  breadcrumb: props.breadcrumb,
949
952
  donotApplyContainerClass: true,
950
953
  widgetRenderer: props.widgetRenderer
@@ -2365,6 +2368,9 @@ var DocumentNode = (props) => {
2365
2368
  documents = parseDocuments(props.node.documentAsset);
2366
2369
  }
2367
2370
  if (documents.length === 0) {
2371
+ if (!props.node.showNoResultMessage) {
2372
+ return null;
2373
+ }
2368
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: [
2369
2375
  /* @__PURE__ */ jsx36("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx36(
2370
2376
  "svg",
package/dist/server.js CHANGED
@@ -6261,6 +6261,9 @@ var DatafieldNode = (props) => {
6261
6261
  host: props.host,
6262
6262
  path: props.path,
6263
6263
  apiBaseUrl: props.apiBaseUrl,
6264
+ assetBaseUrl: props.assetBaseUrl,
6265
+ serviceClient: props.serviceClient,
6266
+ device: props.device,
6264
6267
  breadcrumb: props.breadcrumb,
6265
6268
  donotApplyContainerClass: true,
6266
6269
  widgetRenderer: props.widgetRenderer
@@ -7690,6 +7693,9 @@ var DocumentNode = (props) => {
7690
7693
  documents = parseDocuments(props.node.documentAsset);
7691
7694
  }
7692
7695
  if (documents.length === 0) {
7696
+ if (!props.node.showNoResultMessage) {
7697
+ return null;
7698
+ }
7693
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: [
7694
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)(
7695
7701
  "svg",
package/dist/server.mjs CHANGED
@@ -901,6 +901,9 @@ var DatafieldNode = (props) => {
901
901
  host: props.host,
902
902
  path: props.path,
903
903
  apiBaseUrl: props.apiBaseUrl,
904
+ assetBaseUrl: props.assetBaseUrl,
905
+ serviceClient: props.serviceClient,
906
+ device: props.device,
904
907
  breadcrumb: props.breadcrumb,
905
908
  donotApplyContainerClass: true,
906
909
  widgetRenderer: props.widgetRenderer
@@ -2321,6 +2324,9 @@ var DocumentNode = (props) => {
2321
2324
  documents = parseDocuments(props.node.documentAsset);
2322
2325
  }
2323
2326
  if (documents.length === 0) {
2327
+ if (!props.node.showNoResultMessage) {
2328
+ return null;
2329
+ }
2324
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: [
2325
2331
  /* @__PURE__ */ jsx36("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx36(
2326
2332
  "svg",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clyrex-digital/clyrex-controls-dev",
3
- "version": "0.8.1-dev.20261026095918",
3
+ "version": "0.8.1-dev.20261103045814",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",