@homebound/beam 4.13.0 → 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 +26 -15
- 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 +26 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14393,23 +14393,32 @@ function GridTable(props) {
|
|
|
14393
14393
|
}
|
|
14394
14394
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(TableStateContext.Provider, { value: rowStateContext, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(PresentationProvider, { fieldProps, wrap: style?.presentationSettings?.wrap, children: [
|
|
14395
14395
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ref: resizeRef, ...(0, import_runtime42.trussProps)(getTableRefWidthStyles(as === "virtual", inDocumentScrollLayout)), ...tid.probe }),
|
|
14396
|
-
loading && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)({
|
|
14397
|
-
position: "fixed",
|
|
14398
|
-
top: "top0",
|
|
14399
|
-
right: "r_0",
|
|
14400
|
-
bottom: "bot_0",
|
|
14401
|
-
left: "l_0",
|
|
14402
|
-
display: "df",
|
|
14403
|
-
alignItems: "aic",
|
|
14404
|
-
justifyContent: "jcc",
|
|
14405
|
-
pointerEvents: "pen",
|
|
14406
|
-
zIndex: ["z_var", {
|
|
14407
|
-
"--zIndex": (0, import_runtime42.maybeCssVar)(zIndices.tableLoadingOverlay)
|
|
14408
|
-
}]
|
|
14409
|
-
}), ...tid.loadingOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader, { ...tid.loadingSpinner }) }),
|
|
14396
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)(loadingOverlayCss), ...tid.loadingOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader, { ...tid.loadingSpinner }) }),
|
|
14410
14397
|
as === "card" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(CardView, { cardRows: visibleDataRows, id, virtuosoRangeRef, infiniteScroll, persistScrollPosition, loading }) : _as === "virtual" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(VirtualGridTableView, { style: tableStyle, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, infiniteScroll, persistScrollPosition, loading }) : renders[_as](tableStyle, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, loading, infiniteScroll, tableContainerRef, persistScrollPosition)
|
|
14411
14398
|
] }) });
|
|
14412
14399
|
}
|
|
14400
|
+
var loadingOverlayCss = {
|
|
14401
|
+
position: "fixed",
|
|
14402
|
+
top: ["top_var", {
|
|
14403
|
+
"--top": (0, import_runtime42.maybeCssVar)(__maybeInc12(stickyTableHeaderOffset()))
|
|
14404
|
+
}],
|
|
14405
|
+
bottom: ["bottom_var", {
|
|
14406
|
+
"--bottom": (0, import_runtime42.maybeCssVar)(__maybeInc12(getFloatingBottomOffset()))
|
|
14407
|
+
}],
|
|
14408
|
+
left: ["left_var", {
|
|
14409
|
+
"--left": (0, import_runtime42.maybeCssVar)(__maybeInc12(documentScrollChromeLeft()))
|
|
14410
|
+
}],
|
|
14411
|
+
width: ["w_var", {
|
|
14412
|
+
"--width": (0, import_runtime42.maybeCssVar)(__maybeInc12(`calc(${documentScrollChromeWidth()} - var(${beamRightPaneWidthVar}, 0px))`))
|
|
14413
|
+
}],
|
|
14414
|
+
display: "df",
|
|
14415
|
+
alignItems: "aic",
|
|
14416
|
+
justifyContent: "jcc",
|
|
14417
|
+
pointerEvents: "pen",
|
|
14418
|
+
zIndex: ["z_var", {
|
|
14419
|
+
"--zIndex": (0, import_runtime42.maybeCssVar)(zIndices.tableLoadingOverlay)
|
|
14420
|
+
}]
|
|
14421
|
+
};
|
|
14413
14422
|
var renders = {
|
|
14414
14423
|
table: renderTable,
|
|
14415
14424
|
div: renderDiv
|
|
@@ -19962,6 +19971,7 @@ function ContentHeader(props) {
|
|
|
19962
19971
|
level = 2,
|
|
19963
19972
|
aiMode = false,
|
|
19964
19973
|
startAdornment,
|
|
19974
|
+
tooltip,
|
|
19965
19975
|
xss
|
|
19966
19976
|
} = props;
|
|
19967
19977
|
const tid = useTestIds(props, "contentHeader");
|
|
@@ -20016,7 +20026,8 @@ function ContentHeader(props) {
|
|
|
20016
20026
|
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df aic jcsb mw0", children: [
|
|
20017
20027
|
title ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df aic g_1 mw0", children: [
|
|
20018
20028
|
startAdornment,
|
|
20019
|
-
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading, { ...(0, import_runtime83.trussProps)(titleCss), ...tid.title, children: title })
|
|
20029
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading, { ...(0, import_runtime83.trussProps)(titleCss), ...tid.title, children: title }),
|
|
20030
|
+
tooltip && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Icon, { icon: "infoCircle", tooltip, inc: 2 })
|
|
20020
20031
|
] }) : descriptionEl,
|
|
20021
20032
|
showActionsSlot && /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df g_2 fs0", ...tid.actions, children: [
|
|
20022
20033
|
withAutoSave && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(AutoSaveIndicator, {}),
|