@xsolla/xui-b2c-image-thumbnail 0.209.0 → 0.210.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/package.json +3 -3
- package/web/index.js +6 -0
- package/web/index.js.map +1 -1
- package/web/index.mjs +6 -0
- package/web/index.mjs.map +1 -1
package/web/index.mjs
CHANGED
|
@@ -3674,12 +3674,18 @@ var StyledBox = styled_components_esm_default(FilteredDiv)`
|
|
|
3674
3674
|
opacity: ${(props) => props.opacity != null ? props.opacity : props.disabled ? 0.5 : 1};
|
|
3675
3675
|
pointer-events: ${(props) => props.disabled ? "none" : "auto"};
|
|
3676
3676
|
|
|
3677
|
+
/* \`background\` is emitted before \`background-color\` so a caller passing
|
|
3678
|
+
both still gets backgroundColor as the winner. Use the shorthand for a
|
|
3679
|
+
layered fill (e.g. an overlay tint over a resting surface colour), which
|
|
3680
|
+
a single background-color cannot express. */
|
|
3677
3681
|
&:hover {
|
|
3682
|
+
${(props) => props.hoverStyle?.background && `background: ${props.hoverStyle.background};`}
|
|
3678
3683
|
${(props) => props.hoverStyle?.backgroundColor && `background-color: ${props.hoverStyle.backgroundColor};`}
|
|
3679
3684
|
${(props) => props.hoverStyle?.borderColor && `border-color: ${props.hoverStyle.borderColor};`}
|
|
3680
3685
|
}
|
|
3681
3686
|
|
|
3682
3687
|
&:active {
|
|
3688
|
+
${(props) => props.pressStyle?.background && `background: ${props.pressStyle.background};`}
|
|
3683
3689
|
${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
|
|
3684
3690
|
}
|
|
3685
3691
|
`;
|