@homebound/beam 4.49.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 CHANGED
@@ -11393,6 +11393,13 @@ function RowImpl(props) {
11393
11393
  ...isGridCellContent(maybeContent) && maybeContent.typeScale ? {
11394
11394
  ...__typography2[maybeContent.typeScale] ?? {}
11395
11395
  } : {},
11396
+ // AI text treatment, before the cell's `css` so callers can still override it
11397
+ ...isGridCellContent(maybeContent) && maybeContent.aiMode && {
11398
+ fontWeight: "fw6",
11399
+ color: ["color_var", {
11400
+ "--color": "var(--b-ai-field-fg)"
11401
+ }]
11402
+ },
11396
11403
  ...isBodyRow && (column2.isField || isGridCellContent(maybeContent) && maybeContent.field) && style.fieldCellCss,
11397
11404
  // And any cell specific css
11398
11405
  ...isGridCellContent(maybeContent) && maybeContent.css ? maybeContent.css : {},
@@ -14356,7 +14363,7 @@ function CardBody(props) {
14356
14363
  ] })
14357
14364
  ] })
14358
14365
  ] }),
14359
- hasDetails && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "df fdc g_2 mta", children: [
14366
+ hasDetails && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "df fdc g_2", children: [
14360
14367
  data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("dl", { className: "df g_2 fw4 fz_14px lh_20px", children: [
14361
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: [
14362
14369
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("dt", { className: "fs0", children: [
@@ -28040,11 +28047,16 @@ function useScrollPinnedViewportBounds(anchorRef, enabled, getPinTopPx) {
28040
28047
  syncBounds();
28041
28048
  window.addEventListener("scroll", syncBounds, { passive: true });
28042
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
+ }
28043
28054
  return () => {
28044
28055
  window.removeEventListener("scroll", syncBounds);
28045
28056
  window.removeEventListener("resize", syncBounds);
28057
+ styleObserver.disconnect();
28046
28058
  };
28047
- }, [enabled, syncBounds]);
28059
+ }, [enabled, syncBounds, anchorRef]);
28048
28060
  return bounds;
28049
28061
  }
28050
28062
 
@@ -28278,6 +28290,8 @@ function DocumentScrollRightPane({
28278
28290
  }],
28279
28291
  borderLeftStyle: "bls_solid",
28280
28292
  borderLeftWidth: "blw_1px",
28293
+ borderTopStyle: "bts_solid",
28294
+ borderTopWidth: "btw_1px",
28281
28295
  borderColor: ["bc_var", {
28282
28296
  "--borderColor": "var(--b-surface-separator)"
28283
28297
  }],