@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.cjs
CHANGED
|
@@ -21892,6 +21892,7 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
21892
21892
|
const invertedCornerRadiusPx = 12;
|
|
21893
21893
|
const shell = {
|
|
21894
21894
|
position: "absolute",
|
|
21895
|
+
overflow: "oh",
|
|
21895
21896
|
bottom: ["bottom_var", {
|
|
21896
21897
|
"--bottom": `${-invertedCornerRadiusPx}px`
|
|
21897
21898
|
}],
|
|
@@ -21907,9 +21908,7 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
21907
21908
|
const outerPosition = side === "left" ? {
|
|
21908
21909
|
left: "left0"
|
|
21909
21910
|
} : {
|
|
21910
|
-
right:
|
|
21911
|
-
"--right": `${invertedCornerRadiusPx}px`
|
|
21912
|
-
}]
|
|
21911
|
+
right: "right0"
|
|
21913
21912
|
};
|
|
21914
21913
|
const shadowXOffset = side === "left" ? -invertedCornerRadiusPx : invertedCornerRadiusPx;
|
|
21915
21914
|
return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { "aria-hidden": true, ...(0, import_runtime88.trussProps)({
|
|
@@ -21922,7 +21921,10 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
21922
21921
|
borderRadius: "borderRadius_50",
|
|
21923
21922
|
boxShadow: ["boxShadow_var", {
|
|
21924
21923
|
"--boxShadow": (0, import_runtime88.maybeCssVar)(`${shadowXOffset}px -${invertedCornerRadiusPx}px 0 0 ${bgColorVar}`)
|
|
21925
|
-
}]
|
|
21924
|
+
}],
|
|
21925
|
+
...side === "right" ? {
|
|
21926
|
+
right: "right0"
|
|
21927
|
+
} : {}
|
|
21926
21928
|
}) }) });
|
|
21927
21929
|
}
|
|
21928
21930
|
var environmentBannerSizePx = 32;
|