@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 +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17843,10 +17843,15 @@ function ModalBanner({
|
|
|
17843
17843
|
children
|
|
17844
17844
|
}) {
|
|
17845
17845
|
const {
|
|
17846
|
-
modalBannerDiv
|
|
17846
|
+
modalBannerDiv,
|
|
17847
|
+
modalState
|
|
17847
17848
|
} = useBeamContext();
|
|
17848
17849
|
const testId = useTestIds({}, testIdPrefix);
|
|
17849
|
-
return createPortal5(/* @__PURE__ */ jsx102("div", {
|
|
17850
|
+
return createPortal5(/* @__PURE__ */ jsx102("div", { ...trussProps63({
|
|
17851
|
+
...!modalState.current?.drawHeaderBorder ? {
|
|
17852
|
+
marginTop: "mt_4px"
|
|
17853
|
+
} : {}
|
|
17854
|
+
}), ...testId.banner, children }), modalBannerDiv);
|
|
17850
17855
|
}
|
|
17851
17856
|
function ModalBody({
|
|
17852
17857
|
children,
|