Skip to content

Commit

Permalink
Merge branch 'main' into union-pay-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja authored Jan 30, 2025
2 parents 2998850 + c6fe132 commit e5fb8a9
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 21 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## [0.110.2](https://github.com/juspay/hyperswitch-web/compare/v0.110.1...v0.110.2) (2025-01-30)


### Bug Fixes

* inconsistent country code dropdown border ([#881](https://github.com/juspay/hyperswitch-web/issues/881)) ([9841f63](https://github.com/juspay/hyperswitch-web/commit/9841f635dca15efa1612d2c04dcf010dc85cf1cb))

## [0.110.1](https://github.com/juspay/hyperswitch-web/compare/v0.110.0...v0.110.1) (2025-01-29)


### Bug Fixes

* fixed click to pay loader coming above saved cards ([#880](https://github.com/juspay/hyperswitch-web/issues/880)) ([94c63c4](https://github.com/juspay/hyperswitch-web/commit/94c63c4fdffecfb93c8b7606d1c9bd0fea77b9ed))

# [0.110.0](https://github.com/juspay/hyperswitch-web/compare/v0.109.1...v0.110.0) (2025-01-29)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orca-payment-page",
"version": "0.110.0",
"version": "0.110.2",
"main": "index.js",
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/DropdownField.res
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ let make = (
<div className="relative">
<RenderIf condition={isDisplayValueVisible && displayValue->Option.isSome}>
<div
className="absolute top-1 left-1 right-0 bottom-0 pointer-events-none rounded-sm z-20 whitespace-nowrap"
className="absolute top-[2px] left-[2px] right-0 bottom-[2px] pointer-events-none rounded-sm z-20 whitespace-nowrap"
style={
background: disabled ? disbaledBG : themeObj.colorBackground,
opacity: disabled ? "35%" : "",
Expand Down
35 changes: 18 additions & 17 deletions src/PaymentElement.res
Original file line number Diff line number Diff line change
Expand Up @@ -529,24 +529,25 @@ let make = (~cardProps, ~expiryProps, ~cvcProps, ~paymentType: CardThemeType.mod
{paymentLabel->Option.getOr("")->React.string}
</div>
</RenderIf>
<RenderIf condition={clickToPayConfig.isReady->Option.isNone}>
{if clickToPayConfig.isReady->Option.isNone {
<ClickToPayHelpers.SrcLoader />
</RenderIf>
<RenderIf
condition={!showFields &&
(displaySavedPaymentMethods || isShowPaymentMethodsDependingOnClickToPay)}>
<SavedMethods
paymentToken
setPaymentToken
savedMethods
loadSavedCards
cvcProps
paymentType
sessions
isClickToPayAuthenticateError
setIsClickToPayAuthenticateError
/>
</RenderIf>
} else {
<RenderIf
condition={!showFields &&
(displaySavedPaymentMethods || isShowPaymentMethodsDependingOnClickToPay)}>
<SavedMethods
paymentToken
setPaymentToken
savedMethods
loadSavedCards
cvcProps
paymentType
sessions
isClickToPayAuthenticateError
setIsClickToPayAuthenticateError
/>
</RenderIf>
}}
<RenderIf
condition={(paymentOptions->Array.length > 0 || walletOptions->Array.length > 0) &&
showFields &&
Expand Down

0 comments on commit e5fb8a9

Please sign in to comment.