@homebound/beam 3.65.0 → 3.66.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 CHANGED
@@ -20426,7 +20426,7 @@ function FormSection(props) {
20426
20426
  }]
20427
20427
  }), ...tid.description, children: description })
20428
20428
  ] }),
20429
- actions && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Button, { ...action }, `${action.label}`)) })
20429
+ actions && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Button, { ...action }, `${action.label}`)) })
20430
20430
  ] }),
20431
20431
  fields,
20432
20432
  childSections && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("div", { className: "df fdc gap3", children: childSections.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("div", { ...(0, import_runtime83.trussProps)({
@@ -26471,7 +26471,7 @@ function FormSectionLayout(props) {
26471
26471
  }]
26472
26472
  }), ...tid.description, children: description })
26473
26473
  ] }),
26474
- actions && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(Button, { ...action }, `${action.label}`)) })
26474
+ actions && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(Button, { ...action }, `${action.label}`)) })
26475
26475
  ] }),
26476
26476
  initialFields,
26477
26477
  /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { className: "df fdc gap6", children: sections.map((section, i) => /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(FormSection, { ...section }, defaultTestId(section.title) || i)) })