Skip to content

Commit

Permalink
Release 14.37.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 18, 2024
1 parent 9488d44 commit a46dfb8
Show file tree
Hide file tree
Showing 47 changed files with 62 additions and 49 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## 14.37.0 - 2024-09-18
### Added
- Documentation for the new `theme` api

## 14.36.0 - 2024-09-11
### Added
- Motion intro screen can be skipped through showIntro option
Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,23 @@ Based on the same major version, the minor and patch versions of the library can

The Onfido Web SDK supports customization options to adjust the fonts, the SDK main container, buttons, links, icons, background color and popups.

To customize the SDK, you can pass the required CSS values to the `customUI` object, in the root of the `Onfido.init()` object.
The Web SDK also supports dark theme customization.

- **`customUI {Object}` - optional**
To customize the SDK, you can pass the required values to the `theme` object, in the root of the `Onfido.init()` object.

Object containing optional CSS values for the supported UI customization options. The sample below lists all possible options with some example values.
- **`name {Object}` - required**

The theme's `name` object allows for **dark mode** customization by setting the value to `light` or `dark`.

- **`config {Object}` - optional**

The theme's `config` object caters for a range of optional CSS values for supported UI customization. The sample below lists all possible options with some example values:

```javascript
{
"customUI": {
"theme": {
"name": "light", // or "dark",
"config": {
"borderRadiusButton": "56px",
"borderStyleSurfaceModal": "0px",
"fontWeightBody": 400,
Expand Down Expand Up @@ -276,6 +284,7 @@ To customize the SDK, you can pass the required CSS values to the `customUI` obj
"colorContentInput": "blue",
"colorBackgroundInput": "green",
"colorBorderInput": "yellow"
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion locales/ar/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "لا يمكننا التحقق منك من دون استخدام كل من الكاميرا والميكروفون",
"body_cam": "لا يمكننا التحقق منك بدون الكاميرا",
"body_mic": "لا يمكننا التحقق منك من دون استخدام الميكروفون",
"button_primary_both": "تمكين الميكروفون والكاميرا",
"button_primary_both": "تمكين كلا الإثنين",
"button_primary_cam": "تمكين الكاميرا",
"button_primary_mic": "تمكين الميكروفون",
"subtitle_both": "عند المطالبة، يجب تمكين الوصول لكليهما للمتابعة",
Expand Down
2 changes: 1 addition & 1 deletion locales/bg/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Не можем да потвърдим самоличността ви, без да използваме камерата и микрофона ви",
"body_cam": "Не можем да потвърдим самоличността ви без достъп до камерата",
"body_mic": "Не можем да потвърдим самоличността ви, без да използваме микрофона",
"button_primary_both": "Активирайте микрофона и камерата",
"button_primary_both": "Активиране на двете",
"button_primary_cam": "Активиране на камерата",
"button_primary_mic": "Активиране на микрофона",
"subtitle_both": "Когато бъдете подканени, трябва да активирате достъпа и за двете, за да продължите",
Expand Down
2 changes: 1 addition & 1 deletion locales/cs/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Bez použití kamery a mikrofonu Vás nemůžeme ověřit",
"body_cam": "Bez kamery Vás nemůžeme ověřit",
"body_mic": "Bez použití mikrofonu Vás nemůžeme ověřit",
"button_primary_both": "Povolte mikrofon a kameru",
"button_primary_both": "Povolte obě možnosti",
"button_primary_cam": "Povolení kamery",
"button_primary_mic": "Povolení mikrofonu",
"subtitle_both": "Po výzvě musíte povolit přístup pro obě možnosti, potom můžete pokračovat",
Expand Down
2 changes: 1 addition & 1 deletion locales/da/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Vi kan ikke verificere dig uden at bruge både dit kamera og din mikrofon",
"body_cam": "Vi kan ikke verificere dig uden dit kamera",
"body_mic": "Vi kan ikke verificere dig uden at bruge din mikrofon",
"button_primary_both": "Aktivér mikrofon og kamera",
"button_primary_both": "Aktivér begge dele",
"button_primary_cam": "Aktivér kamera",
"button_primary_mic": "Aktiver mikrofon",
"subtitle_both": "Når du bliver bedt om det, skal du aktivere adgang til begge dele for at fortsætte",
Expand Down
2 changes: 1 addition & 1 deletion locales/de/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Wir können Sie nicht verifizieren, ohne auf Ihr Mikrofon und Ihre Kamera zuzugreifen",
"body_cam": "Wir können Sie nicht verifizieren, ohne Ihre Kamera zu benutzen",
"body_mic": "Wir können Sie nicht verifizieren, ohne auf Ihr Mikrofon zuzugreifen",
"button_primary_both": "Mikrofon und Kamera aktivieren",
"button_primary_both": "Beides aktivieren",
"button_primary_cam": "Kamera aktivieren",
"button_primary_mic": "Mikrofon aktivieren",
"subtitle_both": "Wenn Sie dazu aufgefordert werden, müssen Sie den Zugriff auf beide Komponenten aktivieren, um fortzufahren",
Expand Down
2 changes: 1 addition & 1 deletion locales/el/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Δεν μπορούμε να σας επαληθεύσουμε χωρίς να χρησιμοποιήσουμε και την κάμερα και το μικρόφωνό σας",
"body_cam": "Δεν μπορούμε να σας επαληθεύσουμε χωρίς την κάμερά σας",
"body_mic": "Δεν μπορούμε να σας επαληθεύσουμε χωρίς να χρησιμοποιήσουμε το μικρόφωνό σας",
"button_primary_both": "Ενεργοποίηση μικροφώνου και κάμερας",
"button_primary_both": "Ενεργοποίηση και των δύο",
"button_primary_cam": "Ενεργοποίηση κάμερας",
"button_primary_mic": "Ενεργοποίηση μικροφώνου",
"subtitle_both": "Όταν σας ζητηθεί, πρέπει να ενεργοποιήσετε την πρόσβαση και για τα δύο για να συνεχίσετε",
Expand Down
2 changes: 1 addition & 1 deletion locales/en_GB/en_GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "We can’t verify you without using both your camera and microphone",
"body_cam": "We can’t verify you without your camera",
"body_mic": "We can’t verify you without using your microphone",
"button_primary_both": "Enable microphone and camera",
"button_primary_both": "Enable both",
"button_primary_cam": "Enable camera",
"button_primary_mic": "Enable microphone",
"subtitle_both": "When prompted, you must enable access for both to continue",
Expand Down
2 changes: 1 addition & 1 deletion locales/en_US/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "We can’t verify you without using both your camera and microphone",
"body_cam": "We can’t verify you without your camera",
"body_mic": "We can’t verify you without using your microphone",
"button_primary_both": "Enable microphone and camera",
"button_primary_both": "Enable both",
"button_primary_cam": "Enable camera",
"button_primary_mic": "Enable microphone",
"subtitle_both": "When prompted, you must enable access for both to continue",
Expand Down
2 changes: 1 addition & 1 deletion locales/es/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "No lo podemos verificar sin acceso a su cámara y micrófono",
"body_cam": "No le podemos verificar sin usar su cámara",
"body_mic": "No le podemos verificar sin acceso a su micrófono",
"button_primary_both": "Habilitar micrófono y cámara",
"button_primary_both": "Conceder acceso a ambos",
"button_primary_cam": "Activar cámara",
"button_primary_mic": "Habilitar micrófono",
"subtitle_both": "Deberá conceder acceso a ambos para continuar",
Expand Down
2 changes: 1 addition & 1 deletion locales/es_419/es_419.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "No podemos verificar tu identidad sin usar tu cámara y micrófono",
"body_cam": "No podemos verificar tu identidad sin tu cámara",
"body_mic": "No podemos verificar tu identidad sin usar tu micrófono",
"button_primary_both": "Habilitar micrófono y cámara",
"button_primary_both": "Activar ambos",
"button_primary_cam": "Activar cámara",
"button_primary_mic": "Activar micrófono",
"subtitle_both": "Cuando se te solicite, debes activar el acceso a ambos para continuar",
Expand Down
2 changes: 1 addition & 1 deletion locales/es_DO/es_DO.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "No podemos verificar tu identidad sin usar tu cámara y micrófono",
"body_cam": "No podemos verificar tu identidad sin tu cámara",
"body_mic": "No podemos verificar tu identidad sin usar tu micrófono",
"button_primary_both": "Habilita el micrófono y la cámara",
"button_primary_both": "Habilita ambos",
"button_primary_cam": "Activar cámara",
"button_primary_mic": "Activar micrófono",
"subtitle_both": "Cuando se te solicite, debes activar el acceso a ambos para continuar",
Expand Down
2 changes: 1 addition & 1 deletion locales/et/et.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Me ei saa teie isikut kinnitada ilma nii kaamerat kui ka mikrofoni kasutamata",
"body_cam": "Isiku kinnitamine ilma kaamerata ei ole võimalik",
"body_mic": "Me ei saa teie isikut kinnitada ilma mikrofoni kasutamata",
"button_primary_both": "Luba mikrofon ja kaamera",
"button_primary_both": "Lubage mõlemad",
"button_primary_cam": "Lubage kaamera",
"button_primary_mic": "Lubage mikrofon",
"subtitle_both": "Kui küsitakse juurdepääsuluba, peate jätkamiseks lubama juurdepääsu mõlemale",
Expand Down
2 changes: 1 addition & 1 deletion locales/fa/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "ما نمی‌توانیم بدون استفاده از دوربین و میکروفون، هویت شما را تأیید کنیم",
"body_cam": "ما نمی‌توانیم بدون دوربین هویت شما را تأیید کنیم",
"body_mic": "ما نمی‌توانیم بدون استفاده از میکروفون، هویت شما را تأیید کنیم",
"button_primary_both": "میکروفون و دوربین را فعال کنید",
"button_primary_both": "دسترسی به هر دو را فعال کنید",
"button_primary_cam": "فعال کردن دوربین",
"button_primary_mic": "میکروفون را فعال کنید",
"subtitle_both": "وقتی از شما درخواست شد، برای ادامه کار، باید دسترسی به هر دو را فعال کنید",
Expand Down
2 changes: 1 addition & 1 deletion locales/fi/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Emme voi vahvistaa sinua käyttämättä sekä kameraasi että mikrofoniasi",
"body_cam": "Emme voi vahvistaa sinua ilman kameraasi",
"body_mic": "Emme voi vahvistaa sinua käyttämättä mikrofoniasi",
"button_primary_both": "Ota mikrofoni ja kamera käyttöön",
"button_primary_both": "Ota molemm. käytt.",
"button_primary_cam": "Ota kamera käyttöön",
"button_primary_mic": "Ota mikrofoni käyttöön",
"subtitle_both": "Kun sinua pyydetään, sinun on sallittava molempien käyttö jatkaaksesi",
Expand Down
2 changes: 1 addition & 1 deletion locales/fr/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Nous ne pouvons pas vous vérifier sans utiliser votre appareil photo et votre micro",
"body_cam": "Nous ne pouvons pas vous vérifier sans utiliser votre appareil photo",
"body_mic": "Nous ne pouvons pas commencer la vérification sans utiliser votre micro",
"button_primary_both": "Activez le microphone et la caméra",
"button_primary_both": "Activer les deux",
"button_primary_cam": "Activer l’appareil photo",
"button_primary_mic": "Activer le micro",
"subtitle_both": "Autorisez l’accès aux deux pour continuer",
Expand Down
2 changes: 1 addition & 1 deletion locales/fr_CA/fr_CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Nous ne pouvons pas vous vérifier sans utiliser votre appareil photo et votre microphone",
"body_cam": "Nous ne pouvons pas vous authentifier sans votre caméra",
"body_mic": "Nous ne pouvons pas vous authentifier sans utiliser votre microphone",
"button_primary_both": "Activez le microphone et la caméra",
"button_primary_both": "Activez les deux",
"button_primary_cam": "Activer la caméra",
"button_primary_mic": "Activer le microphone",
"subtitle_both": "Lorsque vous y êtes invité, vous devez autoriser l'accès aux deux pour continuer",
Expand Down
2 changes: 1 addition & 1 deletion locales/he/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "לא ניתן לאמת את זהותך בלי להשתמש גם במצלמה וגם במיקרופון",
"body_cam": "אנחנו לא יכולים לאמת את זהותך בלי המצלמה שלך",
"body_mic": "לא ניתן לאמת אותך בלי להשתמש גם במצלמה וגם במיקרופון",
"button_primary_both": "אפשר מיקרופון ומצלמה",
"button_primary_both": "הפעל את שניהם",
"button_primary_cam": "הפעל מצלמה",
"button_primary_mic": "הפעל מיקרופון",
"subtitle_both": "כאשר תתבקש, עליך לאפשר גישה לשניהם כדי להמשיך",
Expand Down
2 changes: 1 addition & 1 deletion locales/hi/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "जब तक आप अपने कैमरे और माइक्रोफ़ोन दोनों का इस्तेमाल नहीं करेंगे, तब तक हम आपको वेरिफ़ाई नहीं कर पाएँगे",
"body_cam": "आपके कैमरे के बिना हम आपको वेरिफ़ाई नहीं कर सकते",
"body_mic": "जब तक आप अपना माइक्रोफ़ोन इस्तेमाल नहीं करेंगे, तब तक हम आपको वेरिफ़ाई नहीं कर पाएँगे",
"button_primary_both": "माइक्रोफ़ोन और कैमरा सक्षम करें",
"button_primary_both": "दोनों चालू करें",
"button_primary_cam": "कैमरा चालू करें",
"button_primary_mic": "माइक्रोफ़ोन चालू करें",
"subtitle_both": "कहे जाने पर, आगे बढ़ने के लिए आप दोनों का ऐक्सेस दें",
Expand Down
2 changes: 1 addition & 1 deletion locales/hr/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Ne možemo potvrditi vaš identitet bez kamere i mikrofona",
"body_cam": "Ne možemo potvrditi vaš identitet bez kamere",
"body_mic": "Ne možemo potvrditi vaš identitet bez mikrofona",
"button_primary_both": "Omogućite mikrofon i kameru",
"button_primary_both": "Omogućite pristup oboma",
"button_primary_cam": "Omogućite pristup kameri",
"button_primary_mic": "Omogući pristup mikrofonu",
"subtitle_both": "Na upit morate omogućiti pristup oboma da biste mogli nastaviti",
Expand Down
2 changes: 1 addition & 1 deletion locales/hu/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "A fényképezőgép és a mikrofon használata nélkül nem tudjuk ellenőrizni a személyazonosságát",
"body_cam": "A kamera nélkül nem tudjuk igazolni a személyazonosságát",
"body_mic": "A mikrofon használata nélkül nem tudjuk ellenőrizni a személyazonosságát",
"button_primary_both": "Kapcsolja be a mikrofont és a kamerát",
"button_primary_both": "Mindkettő engedélyezése",
"button_primary_cam": "Kamera engedélyezése",
"button_primary_mic": "Mikrofon engedélyezése",
"subtitle_both": "Ha a rendszer kéri, a folytatáshoz engedélyeznie kell a hozzáférést mindkettőhöz",
Expand Down
2 changes: 1 addition & 1 deletion locales/hy/hy.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Մենք չենք կարող նույնականացնել ձեզ առանց տեսախցիկի և խոսափողի առկայության",
"body_cam": "Մենք չենք կարող նույնականացնել ձեզ առանց ձեր տեսախցիկի",
"body_mic": "Մենք չենք կարող նույնականացնել ձեզ առանց խոսափողի առկայության",
"button_primary_both": "Միացրեք միկրոֆոնը և կամերան",
"button_primary_both": "Երկուսն էլ միացնել",
"button_primary_cam": "Միացնել տեսախցիկը",
"button_primary_mic": "Միացնել խոսափողը",
"subtitle_both": "Հարցումը ստանալուն պես պետք է թույլատրեք տեսախցիկի և խոսափողի հասանելիությունը, որպեսզի կարողանաք շարունակել",
Expand Down
2 changes: 1 addition & 1 deletion locales/id/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Kami tidak dapat memverifikasi Anda tanpa menggunakan kamera dan mikrofon Anda",
"body_cam": "Kami tidak dapat memverifikasi Anda tanpa kamera Anda",
"body_mic": "Kami tidak dapat memverifikasi Anda tanpa menggunakan mikrofon Anda",
"button_primary_both": "Aktifkan mikrofon dan kamera",
"button_primary_both": "Aktifkan keduanya",
"button_primary_cam": "Aktifkan kamera",
"button_primary_mic": "Aktifkan mikrofon",
"subtitle_both": "Saat diminta, Anda harus mengaktifkan akses untuk keduanya agar dapat melanjutkan",
Expand Down
2 changes: 1 addition & 1 deletion locales/it/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "Impossibile verificare la tua identità senza usare sia la fotocamera che il microfono",
"body_cam": "Impossibile verificare la tua identità senza la fotocamera",
"body_mic": "Impossibile verificare la tua identità senza usare il microfono",
"button_primary_both": "Abilita microfono e telecamera",
"button_primary_both": "Abilita entrambi",
"button_primary_cam": "Abilita la fotocamera",
"button_primary_mic": "Abilita il microfono",
"subtitle_both": "Per continuare è necessario abilitare l’accesso a entrambi quando richiesto",
Expand Down
2 changes: 1 addition & 1 deletion locales/ja/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"body_both": "カメラとマイクの両方を使用しないと認証できません",
"body_cam": "カメラなしでは認証できません",
"body_mic": "マイクを使用しないと確認できません",
"button_primary_both": "マイクロフォンとカメラを有効にする",
"button_primary_both": "両方を有効にする",
"button_primary_cam": "カメラを有効にする",
"button_primary_mic": "マイクを有効にする",
"subtitle_both": "プロンプトが表示されたら、続行するため両方へのアクセスを有効にしてください",
Expand Down
Loading

0 comments on commit a46dfb8

Please sign in to comment.