@ai-matrx/records-ui 0.101.8 → 0.101.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
+ ## 0.101.9
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/records-ui/v0.101.8..npm/records-ui/v0.101.9 -- apps/shared/records-ui`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.101.8
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/index.cjs CHANGED
@@ -36961,7 +36961,7 @@ function FormStage({
36961
36961
  }
36962
36962
  const unresolved = questions.filter((q) => !q.field);
36963
36963
  const unanswerable = !whichAsked && questions.some((q) => q.showIf);
36964
- const signedInPublic = connected && form.isPublic === true;
36964
+ const signedInPublic = connected && form.isPublic === true && !preview;
36965
36965
  return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
36966
36966
  "section",
36967
36967
  {
@@ -46142,7 +46142,7 @@ function PreviewForms({ preview, booking }) {
46142
46142
  /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("h2", { className: "text-lg font-semibold tracking-tight", children: "Forms and booking" }),
46143
46143
  /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { className: "grid min-w-0 gap-4 md:grid-cols-2", children: (forms ?? []).map((f) => /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { className: "min-w-0 rounded-xl border border-border bg-card p-4", "data-template-preview-form": f.slug ?? f.id, children: [
46144
46144
  /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("h3", { className: "mb-3 text-sm font-semibold", children: f.name }),
46145
- /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(FormRunner, { form: f })
46145
+ /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(FormRunner, { form: f, preview: true })
46146
46146
  ] }, f.id)) }),
46147
46147
  booking ? pages.map((p) => /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { className: "min-w-0 rounded-xl border border-border bg-card p-4", "data-template-preview-booking": p.id, children: [
46148
46148
  /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("h3", { className: "mb-3 text-sm font-semibold", children: String(p.page["title"] ?? "") }),