@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.js CHANGED
@@ -13848,7 +13848,7 @@ function CardBody(props) {
13848
13848
  ] })
13849
13849
  ] })
13850
13850
  ] }),
13851
- hasDetails && /* @__PURE__ */ jsxs30("div", { className: "df fdc g_2 mta", children: [
13851
+ hasDetails && /* @__PURE__ */ jsxs30("div", { className: "df fdc g_2", children: [
13852
13852
  data.length > 0 && /* @__PURE__ */ jsxs30("dl", { className: "df g_2 fw4 fz_14px lh_20px", children: [
13853
13853
  /* @__PURE__ */ jsx50("div", { className: "df fdc fg1 fb2 mw0", children: col1.map((d) => /* @__PURE__ */ jsxs30("div", { className: "df g_4px", ...tid[defaultTestId(d.label)], children: [
13854
13854
  /* @__PURE__ */ jsxs30("dt", { className: "fs0", children: [
@@ -27538,11 +27538,16 @@ function useScrollPinnedViewportBounds(anchorRef, enabled, getPinTopPx) {
27538
27538
  syncBounds();
27539
27539
  window.addEventListener("scroll", syncBounds, { passive: true });
27540
27540
  window.addEventListener("resize", syncBounds);
27541
+ const styleObserver = new MutationObserver(syncBounds);
27542
+ for (let node = anchorRef.current; node; node = node.parentElement) {
27543
+ styleObserver.observe(node, { attributes: true, attributeFilter: ["style"] });
27544
+ }
27541
27545
  return () => {
27542
27546
  window.removeEventListener("scroll", syncBounds);
27543
27547
  window.removeEventListener("resize", syncBounds);
27548
+ styleObserver.disconnect();
27544
27549
  };
27545
- }, [enabled, syncBounds]);
27550
+ }, [enabled, syncBounds, anchorRef]);
27546
27551
  return bounds;
27547
27552
  }
27548
27553
 
@@ -27776,6 +27781,8 @@ function DocumentScrollRightPane({
27776
27781
  }],
27777
27782
  borderLeftStyle: "bls_solid",
27778
27783
  borderLeftWidth: "blw_1px",
27784
+ borderTopStyle: "bts_solid",
27785
+ borderTopWidth: "btw_1px",
27779
27786
  borderColor: ["bc_var", {
27780
27787
  "--borderColor": "var(--b-surface-separator)"
27781
27788
  }],