@homebound/beam 4.23.1 → 4.23.2

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
@@ -18319,10 +18319,15 @@ function ModalBanner({
18319
18319
  children
18320
18320
  }) {
18321
18321
  const {
18322
- modalBannerDiv
18322
+ modalBannerDiv,
18323
+ modalState
18323
18324
  } = useBeamContext();
18324
18325
  const testId = useTestIds({}, testIdPrefix);
18325
- return (0, import_react_dom5.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: "mt_4px", ...testId.banner, children }), modalBannerDiv);
18326
+ return (0, import_react_dom5.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { ...(0, import_runtime73.trussProps)({
18327
+ ...!modalState.current?.drawHeaderBorder ? {
18328
+ marginTop: "mt_4px"
18329
+ } : {}
18330
+ }), ...testId.banner, children }), modalBannerDiv);
18326
18331
  }
18327
18332
  function ModalBody({
18328
18333
  children,