@homebound/beam 4.13.1 → 4.14.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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -8308,6 +8308,8 @@ type ContentHeaderProps<X = ContentHeaderXss> = {
|
|
|
8308
8308
|
aiMode?: boolean;
|
|
8309
8309
|
/** Rendered before the title, e.g. a drag handle on `FormSectionChild`. */
|
|
8310
8310
|
startAdornment?: ReactNode;
|
|
8311
|
+
/** Shows an info icon after the title with this tooltip content. */
|
|
8312
|
+
tooltip?: ReactNode;
|
|
8311
8313
|
/** Style overrides for padding. */
|
|
8312
8314
|
xss?: X;
|
|
8313
8315
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -8308,6 +8308,8 @@ type ContentHeaderProps<X = ContentHeaderXss> = {
|
|
|
8308
8308
|
aiMode?: boolean;
|
|
8309
8309
|
/** Rendered before the title, e.g. a drag handle on `FormSectionChild`. */
|
|
8310
8310
|
startAdornment?: ReactNode;
|
|
8311
|
+
/** Shows an info icon after the title with this tooltip content. */
|
|
8312
|
+
tooltip?: ReactNode;
|
|
8311
8313
|
/** Style overrides for padding. */
|
|
8312
8314
|
xss?: X;
|
|
8313
8315
|
};
|
package/dist/index.js
CHANGED
|
@@ -19500,6 +19500,7 @@ function ContentHeader(props) {
|
|
|
19500
19500
|
level = 2,
|
|
19501
19501
|
aiMode = false,
|
|
19502
19502
|
startAdornment,
|
|
19503
|
+
tooltip,
|
|
19503
19504
|
xss
|
|
19504
19505
|
} = props;
|
|
19505
19506
|
const tid = useTestIds(props, "contentHeader");
|
|
@@ -19554,7 +19555,8 @@ function ContentHeader(props) {
|
|
|
19554
19555
|
/* @__PURE__ */ jsxs69("div", { className: "df aic jcsb mw0", children: [
|
|
19555
19556
|
title ? /* @__PURE__ */ jsxs69("div", { className: "df aic g_1 mw0", children: [
|
|
19556
19557
|
startAdornment,
|
|
19557
|
-
/* @__PURE__ */ jsx110(Heading, { ...trussProps73(titleCss), ...tid.title, children: title })
|
|
19558
|
+
/* @__PURE__ */ jsx110(Heading, { ...trussProps73(titleCss), ...tid.title, children: title }),
|
|
19559
|
+
tooltip && /* @__PURE__ */ jsx110(Icon, { icon: "infoCircle", tooltip, inc: 2 })
|
|
19558
19560
|
] }) : descriptionEl,
|
|
19559
19561
|
showActionsSlot && /* @__PURE__ */ jsxs69("div", { className: "df g_2 fs0", ...tid.actions, children: [
|
|
19560
19562
|
withAutoSave && /* @__PURE__ */ jsx110(AutoSaveIndicator, {}),
|