@xsolla/xui-b2c-transaction-cell 0.201.4 → 0.202.0
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/native/index.js +2 -0
- package/native/index.js.map +1 -1
- package/native/index.mjs +2 -0
- package/native/index.mjs.map +1 -1
- package/package.json +4 -4
- package/web/index.js +8 -3
- package/web/index.js.map +1 -1
- package/web/index.mjs +8 -3
- package/web/index.mjs.map +1 -1
package/web/index.mjs
CHANGED
|
@@ -3557,6 +3557,7 @@ var ADDITIONAL_BLOCKED_PROPS = /* @__PURE__ */ new Set([
|
|
|
3557
3557
|
"strokeWidth",
|
|
3558
3558
|
// CSS properties that pass isPropValid but are used as component props
|
|
3559
3559
|
"overflow",
|
|
3560
|
+
"opacity",
|
|
3560
3561
|
"cursor",
|
|
3561
3562
|
"fontSize",
|
|
3562
3563
|
"fontWeight",
|
|
@@ -3666,11 +3667,14 @@ var StyledBox = styled_components_esm_default(FilteredDiv)`
|
|
|
3666
3667
|
flex-shrink: ${(props) => props.flexShrink ?? 1};
|
|
3667
3668
|
gap: ${(props) => typeof props.gap === "number" ? `${props.gap}px` : props.gap || 0};
|
|
3668
3669
|
align-self: ${(props) => props.alignSelf || "auto"};
|
|
3670
|
+
/* Only emit overflow-x/y when explicitly set. Defaulting them to
|
|
3671
|
+
visible after overflow would override the shorthand and break
|
|
3672
|
+
clipping (e.g. OtherCard bottom-right promo image). */
|
|
3669
3673
|
overflow: ${(props) => props.overflow || "visible"};
|
|
3670
|
-
|
|
3671
|
-
|
|
3674
|
+
${(props) => props.overflowX != null ? `overflow-x: ${props.overflowX};` : ""}
|
|
3675
|
+
${(props) => props.overflowY != null ? `overflow-y: ${props.overflowY};` : ""}
|
|
3672
3676
|
z-index: ${(props) => props.zIndex};
|
|
3673
|
-
opacity: ${(props) => props.disabled ? 0.5 : 1};
|
|
3677
|
+
opacity: ${(props) => props.opacity != null ? props.opacity : props.disabled ? 0.5 : 1};
|
|
3674
3678
|
pointer-events: ${(props) => props.disabled ? "none" : "auto"};
|
|
3675
3679
|
|
|
3676
3680
|
&:hover {
|
|
@@ -3721,6 +3725,7 @@ var Box = React3.forwardRef(
|
|
|
3721
3725
|
alt: alt || "",
|
|
3722
3726
|
onError,
|
|
3723
3727
|
onLoad,
|
|
3728
|
+
"data-testid": dataTestId || testID,
|
|
3724
3729
|
style: {
|
|
3725
3730
|
display: "block",
|
|
3726
3731
|
objectFit: "cover",
|