@homebound/beam 4.27.0 → 4.28.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 +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -20859,6 +20859,7 @@ function ContentHeader(props) {
|
|
|
20859
20859
|
level = 2,
|
|
20860
20860
|
aiMode = false,
|
|
20861
20861
|
startAdornment,
|
|
20862
|
+
rightSlotLead,
|
|
20862
20863
|
tooltip,
|
|
20863
20864
|
xss
|
|
20864
20865
|
} = props;
|
|
@@ -20873,7 +20874,7 @@ function ContentHeader(props) {
|
|
|
20873
20874
|
bottomSlotActions,
|
|
20874
20875
|
rightSlotActions
|
|
20875
20876
|
} = splitHeaderActionsOnSm(actions, sm);
|
|
20876
|
-
const showActionsSlot = !!withAutoSave || rightSlotActions.length > 0;
|
|
20877
|
+
const showActionsSlot = !!withAutoSave || !!rightSlotLead || rightSlotActions.length > 0;
|
|
20877
20878
|
const {
|
|
20878
20879
|
tag: Heading,
|
|
20879
20880
|
css: headingCss
|
|
@@ -20921,7 +20922,8 @@ function ContentHeader(props) {
|
|
|
20921
20922
|
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Heading, { ...(0, import_runtime89.trussProps)(titleCss), ...tid.title, children: title }),
|
|
20922
20923
|
tooltip && /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Icon, { icon: "infoCircle", tooltip, inc: 2 })
|
|
20923
20924
|
] }) : descriptionEl,
|
|
20924
|
-
showActionsSlot && /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("div", { className: "df g_2 fs0", ...tid.actions, children: [
|
|
20925
|
+
showActionsSlot && /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("div", { className: "df aic g_2 fs0", ...tid.actions, children: [
|
|
20926
|
+
rightSlotLead,
|
|
20925
20927
|
withAutoSave && /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(AutoSaveIndicator, {}),
|
|
20926
20928
|
rightSlotActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(HeaderActions, { actions: rightSlotActions })
|
|
20927
20929
|
] })
|
|
@@ -30604,7 +30606,8 @@ function FormSectionChild(props) {
|
|
|
30604
30606
|
description,
|
|
30605
30607
|
actions,
|
|
30606
30608
|
fields,
|
|
30607
|
-
orderField
|
|
30609
|
+
orderField,
|
|
30610
|
+
tag
|
|
30608
30611
|
} = props;
|
|
30609
30612
|
const tid = useTestIds(props, "formSectionChild");
|
|
30610
30613
|
const itemRef = (0, import_react163.useRef)(null);
|
|
@@ -30635,7 +30638,7 @@ function FormSectionChild(props) {
|
|
|
30635
30638
|
borderStyle: "lot_bsn",
|
|
30636
30639
|
borderWidth: "lot_bw_0"
|
|
30637
30640
|
}), ...tid, children: [
|
|
30638
|
-
/* @__PURE__ */ (0, import_jsx_runtime241.jsx)(ContentHeader, { ...tid.header, title, description, actions, level: 4, startAdornment: isDraggable ? /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(DnDGridItemHandle, { dragHandleProps, icon: "drag", compact: true }) : void 0 }),
|
|
30641
|
+
/* @__PURE__ */ (0, import_jsx_runtime241.jsx)(ContentHeader, { ...tid.header, title, description, actions, level: 4, rightSlotLead: tag && /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(Tag, { ...tag, ...tid.tag }), startAdornment: isDraggable ? /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(DnDGridItemHandle, { dragHandleProps, icon: "drag", compact: true }) : void 0 }),
|
|
30639
30642
|
fields
|
|
30640
30643
|
] });
|
|
30641
30644
|
}
|