Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

yashim/fix: downgrade onfido version #6574

Merged
merged 4 commits into from
Jun 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 78 additions & 54 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
Expand Up @@ -127,7 +127,7 @@
"js-cookie": "2.2.0",
"kinetic": "5.2.0",
"moment": "2.19.4",
"onfido-sdk-ui": "^6.7.2",
"onfido-sdk-ui": "^6.3.0",
"promise-polyfill": "6.1.0",
"prop-types": "15.6.1",
"react": "16.8.6",
Expand Down
8 changes: 1 addition & 7 deletions src/javascript/app/pages/user/account/authenticate.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,15 +881,9 @@ const Authenticate = (() => {
country: country_code,
} : false,
},
useLiveDocumentCapture: true,
},
},
{
type : 'face',
options: {
useLiveDocumentCapture: true,
},
},
'face',
],
});
$('#authentication_loading').setVisibility(0);
Expand Down
12 changes: 5 additions & 7 deletions src/sass/static/pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -959,11 +959,8 @@ body #not_authenticated_financial ul.checked > li {
.onfido-sdk-ui-NavigationBar-back {
background: transparent;
}
.onfido-sdk-ui-crossDevice-CrossDeviceLink-numberInputSection {
.ods-button.-action--primary {
height: 100%;
font-size: 0.875em;
}
.onfido-sdk-ui-Button-button-primary:hover {
background: rgb(53, 63, 244); // Onfido's primary color
}
.onfido-sdk-ui-Button-button-outline:hover {
background-color: transparent;
Expand All @@ -973,6 +970,7 @@ body #not_authenticated_financial ul.checked > li {
color: $COLOR_BLACK;
border-radius: 0;
}
/** TODO: To re-implement style overrides when upgrading Onfido version
.onfido-sdk-ui-Theme-textButton:hover {
color: $COLOR_BLACK;
}
Expand All @@ -987,14 +985,14 @@ body #not_authenticated_financial ul.checked > li {
background: rgb(92, 108, 255);
}
}
}
} **/
input, textarea {
&:hover, &:focus {
outline: 0;
border: none;
}
}
button:not(.onfido-sdk-ui-Theme-link):not(.ods-button) {
button:not(.onfido-sdk-ui-Theme-link):not(.onfido-sdk-ui-Button-button-primary) {
&:hover, &:focus {
background-color: inherit;
}
Expand Down