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