@homebound/beam 3.25.0 → 3.25.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 +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21440,6 +21440,7 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
21440
21440
|
const invertedCornerRadiusPx = 12;
|
|
21441
21441
|
const shell = {
|
|
21442
21442
|
position: "absolute",
|
|
21443
|
+
overflow: "oh",
|
|
21443
21444
|
bottom: ["bottom_var", {
|
|
21444
21445
|
"--bottom": `${-invertedCornerRadiusPx}px`
|
|
21445
21446
|
}],
|
|
@@ -21455,9 +21456,7 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
21455
21456
|
const outerPosition = side === "left" ? {
|
|
21456
21457
|
left: "left0"
|
|
21457
21458
|
} : {
|
|
21458
|
-
right:
|
|
21459
|
-
"--right": `${invertedCornerRadiusPx}px`
|
|
21460
|
-
}]
|
|
21459
|
+
right: "right0"
|
|
21461
21460
|
};
|
|
21462
21461
|
const shadowXOffset = side === "left" ? -invertedCornerRadiusPx : invertedCornerRadiusPx;
|
|
21463
21462
|
return /* @__PURE__ */ jsx162("div", { "aria-hidden": true, ...trussProps81({
|
|
@@ -21470,7 +21469,10 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
21470
21469
|
borderRadius: "borderRadius_50",
|
|
21471
21470
|
boxShadow: ["boxShadow_var", {
|
|
21472
21471
|
"--boxShadow": maybeCssVar_1(`${shadowXOffset}px -${invertedCornerRadiusPx}px 0 0 ${bgColorVar}`)
|
|
21473
|
-
}]
|
|
21472
|
+
}],
|
|
21473
|
+
...side === "right" ? {
|
|
21474
|
+
right: "right0"
|
|
21475
|
+
} : {}
|
|
21474
21476
|
}) }) });
|
|
21475
21477
|
}
|
|
21476
21478
|
var environmentBannerSizePx = 32;
|