@homebound/beam 4.50.0 → 4.50.1
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 +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14363,7 +14363,7 @@ function CardBody(props) {
|
|
|
14363
14363
|
] })
|
|
14364
14364
|
] })
|
|
14365
14365
|
] }),
|
|
14366
|
-
hasDetails && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "df fdc g_2
|
|
14366
|
+
hasDetails && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "df fdc g_2", children: [
|
|
14367
14367
|
data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("dl", { className: "df g_2 fw4 fz_14px lh_20px", children: [
|
|
14368
14368
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "df fdc fg1 fb2 mw0", children: col1.map((d) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "df g_4px", ...tid[defaultTestId(d.label)], children: [
|
|
14369
14369
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("dt", { className: "fs0", children: [
|
|
@@ -28047,11 +28047,16 @@ function useScrollPinnedViewportBounds(anchorRef, enabled, getPinTopPx) {
|
|
|
28047
28047
|
syncBounds();
|
|
28048
28048
|
window.addEventListener("scroll", syncBounds, { passive: true });
|
|
28049
28049
|
window.addEventListener("resize", syncBounds);
|
|
28050
|
+
const styleObserver = new MutationObserver(syncBounds);
|
|
28051
|
+
for (let node = anchorRef.current; node; node = node.parentElement) {
|
|
28052
|
+
styleObserver.observe(node, { attributes: true, attributeFilter: ["style"] });
|
|
28053
|
+
}
|
|
28050
28054
|
return () => {
|
|
28051
28055
|
window.removeEventListener("scroll", syncBounds);
|
|
28052
28056
|
window.removeEventListener("resize", syncBounds);
|
|
28057
|
+
styleObserver.disconnect();
|
|
28053
28058
|
};
|
|
28054
|
-
}, [enabled, syncBounds]);
|
|
28059
|
+
}, [enabled, syncBounds, anchorRef]);
|
|
28055
28060
|
return bounds;
|
|
28056
28061
|
}
|
|
28057
28062
|
|
|
@@ -28285,6 +28290,8 @@ function DocumentScrollRightPane({
|
|
|
28285
28290
|
}],
|
|
28286
28291
|
borderLeftStyle: "bls_solid",
|
|
28287
28292
|
borderLeftWidth: "blw_1px",
|
|
28293
|
+
borderTopStyle: "bts_solid",
|
|
28294
|
+
borderTopWidth: "btw_1px",
|
|
28288
28295
|
borderColor: ["bc_var", {
|
|
28289
28296
|
"--borderColor": "var(--b-surface-separator)"
|
|
28290
28297
|
}],
|