@homebound/beam 3.82.0 → 3.83.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
@@ -27248,6 +27248,7 @@ function FormSectionLayout(props) {
27248
27248
  title,
27249
27249
  description,
27250
27250
  actions,
27251
+ withAutoSave,
27251
27252
  initialFields,
27252
27253
  sections
27253
27254
  } = props;
@@ -27257,7 +27258,10 @@ function FormSectionLayout(props) {
27257
27258
  /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)("div", { className: "df fdc jcsb gap_12px", children: [
27258
27259
  /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)("div", { className: "df jcsb aic", children: [
27259
27260
  /* @__PURE__ */ (0, import_jsx_runtime218.jsx)("h1", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }),
27260
- actions && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Button, { ...action }, `${action.label}`)) })
27261
+ (withAutoSave || actions) && /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)("div", { className: "df gap1 fs0", ...tid.actions, children: [
27262
+ withAutoSave && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(AutoSaveIndicator, {}),
27263
+ actions?.map((action) => action.kind === "icon" ? /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Button, { ...action }, `${action.label}`))
27264
+ ] })
27261
27265
  ] }),
27262
27266
  description && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)("div", { ...(0, import_runtime138.trussProps)({
27263
27267
  fontWeight: "fw4",