Skip to content

Commit

Permalink
Merge branch 'main' into phone-number-validations
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja authored Apr 5, 2024
2 parents 1ff80b0 + fe4bc07 commit e1ad9aa
Show file tree
Hide file tree
Showing 47 changed files with 685 additions and 796 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [0.38.2](https://github.com/juspay/hyperswitch-web/compare/v0.38.1...v0.38.2) (2024-04-05)

## [0.38.1](https://github.com/juspay/hyperswitch-web/compare/v0.38.0...v0.38.1) (2024-04-04)


Expand Down
179 changes: 58 additions & 121 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.38.1",
"version": "0.38.2",
"main": "index.js",
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/BrowserSpec.res
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let checkIsSafari = () => {
let userAgentString = navigator.userAgent
let chromeAgent = userAgentString->String.indexOf("Chrome") > -1
let safariAgent = userAgentString->String.indexOf("Safari") > -1
chromeAgent && safariAgent ? false : safariAgent ? true : false
!chromeAgent && safariAgent
}

let date = date()
Expand Down
2 changes: 1 addition & 1 deletion src/BrutalTheme.res
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ let brutalRules = (theme: CardThemeType.themeClass) =>
"borderTopColor": "transparent !important",
"borderLeftColor": "transparent !important",
},
}->toJson
}->Identity.anyTypeToJson

let default = brutal
let defaultRules = brutalRules
8 changes: 4 additions & 4 deletions src/CardTheme.res
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ let getVariables = (str, dict, default, logger) => {
let getAppearance = (
str,
dict,
default: OrcaPaymentPage.CardThemeType.themeClass,
defaultRules: OrcaPaymentPage.CardThemeType.themeClass => JSON.t,
default: CardThemeType.themeClass,
defaultRules: CardThemeType.themeClass => JSON.t,
logger,
) => {
dict
Expand Down Expand Up @@ -341,8 +341,8 @@ let getFonts = (str, dict, logger) => {
}
let itemToObjMapper = (
dict,
default: OrcaPaymentPage.CardThemeType.themeClass,
defaultRules: OrcaPaymentPage.CardThemeType.themeClass => JSON.t,
default: CardThemeType.themeClass,
defaultRules: CardThemeType.themeClass => JSON.t,
logger,
) => {
unknownKeysWarning(
Expand Down
Loading

0 comments on commit e1ad9aa

Please sign in to comment.