@incodetech/prizma-core-screens 0.2.7 → 0.2.12
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/dist/BiometricConsentScreen.d.ts +95 -0
- package/dist/BiometricConsentScreen.js +91 -0
- package/dist/BiometricConsentStrings.d.ts +84 -0
- package/dist/BiometricConsentStrings.js +31 -0
- package/dist/CaptureScreen.d.ts +13 -0
- package/dist/CaptureScreen.js +2 -2
- package/dist/DemoScreensLayout.css +16 -0
- package/dist/DemoScreensRedirectScreen.d.ts +6 -1
- package/dist/DemoScreensRedirectScreen.js +3 -2
- package/dist/DemoScreensStrings.d.ts +5 -0
- package/dist/DigitalIdUploadErrorScreen.d.ts +31 -0
- package/dist/DigitalIdUploadErrorScreen.js +26 -0
- package/dist/DigitalIdUploadFileTooLargeScreen.d.ts +27 -0
- package/dist/DigitalIdUploadFileTooLargeScreen.js +21 -0
- package/dist/DigitalIdUploadReviewScreen.d.ts +57 -0
- package/dist/DigitalIdUploadReviewScreen.js +44 -0
- package/dist/DigitalIdUploadStrings.d.ts +64 -0
- package/dist/DigitalIdUploadStrings.js +19 -0
- package/dist/DigitalIdUploadTutorialScreen.d.ts +28 -0
- package/dist/DigitalIdUploadTutorialScreen.js +23 -0
- package/dist/DocumentCaptureIllustration.d.ts +1 -1
- package/dist/EkybCountryScreen.d.ts +6 -6
- package/dist/EkybCountryScreen.js +20 -7
- package/dist/EkybStrings.d.ts +6 -1
- package/dist/ErrorScreensScreen.d.ts +5 -2
- package/dist/ErrorScreensScreen.js +15 -4
- package/dist/ErrorScreensStrings.d.ts +17 -2
- package/dist/ErrorScreensStrings.js +18 -10
- package/dist/FaceCaptureCapturingScreen.d.ts +63 -0
- package/dist/FaceCaptureCapturingScreen.js +62 -2
- package/dist/FaceCaptureLayout.css +69 -4
- package/dist/FaceCaptureStrings.d.ts +23 -0
- package/dist/FormScreen.css +14 -0
- package/dist/FormScreen.d.ts +28 -0
- package/dist/FormScreen.js +3 -2
- package/dist/IdCaptureLayout.css +165 -2
- package/dist/IdCaptureStageScreen.d.ts +47 -0
- package/dist/IdCaptureStageScreen.js +39 -3
- package/dist/IdCaptureStrings.d.ts +19 -0
- package/dist/ListScreen.d.ts +19 -0
- package/dist/ListScreen.js +7 -2
- package/dist/LoaderScreen.d.ts +7 -5
- package/dist/LoaderScreen.js +7 -5
- package/dist/LoadersStrings.d.ts +18 -5
- package/dist/OcrReviewErrorScreen.d.ts +30 -0
- package/dist/OcrReviewErrorScreen.js +24 -0
- package/dist/OcrReviewLayout.css +24 -0
- package/dist/OcrReviewLoadingScreen.d.ts +25 -0
- package/dist/OcrReviewLoadingScreen.js +19 -0
- package/dist/OcrReviewScreen.d.ts +76 -0
- package/dist/OcrReviewScreen.js +65 -0
- package/dist/OcrReviewStrings.d.ts +47 -0
- package/dist/OcrReviewStrings.js +17 -0
- package/dist/OcrReviewSuccessScreen.d.ts +30 -0
- package/dist/OcrReviewSuccessScreen.js +24 -0
- package/dist/PermissionsAllowScreen.d.ts +8 -11
- package/dist/PermissionsAllowScreen.js +8 -11
- package/dist/PermissionsAskScreen.d.ts +41 -0
- package/dist/PermissionsAskScreen.js +43 -0
- package/dist/PermissionsBrowserStepsScreen.d.ts +9 -2
- package/dist/PermissionsBrowserStepsScreen.js +12 -3
- package/dist/PermissionsLayout.css +47 -0
- package/dist/PermissionsStrings.d.ts +20 -9
- package/dist/PermissionsStrings.js +10 -4
- package/dist/PhoneInputOtpScreen.d.ts +8 -0
- package/dist/PhoneInputOtpScreen.js +26 -19
- package/dist/PhoneInputStrings.d.ts +11 -3
- package/dist/PhoneInputVerifyScreen.js +21 -5
- package/dist/QualifiedSignatureDocumentScreen.d.ts +8 -5
- package/dist/QualifiedSignatureDocumentScreen.js +9 -6
- package/dist/QualifiedSignatureResultScreen.d.ts +16 -13
- package/dist/QualifiedSignatureResultScreen.js +17 -18
- package/dist/QualifiedSignatureStrings.d.ts +11 -4
- package/dist/ResultScreen.d.ts +8 -0
- package/dist/ResultScreen.js +14 -3
- package/dist/ReusabilityCredentialSelectionScreen.d.ts +95 -0
- package/dist/ReusabilityCredentialSelectionScreen.js +94 -0
- package/dist/ReusabilityLayout.css +241 -0
- package/dist/ReusabilityPrivacyPolicyScreen.d.ts +55 -0
- package/dist/ReusabilityPrivacyPolicyScreen.js +44 -0
- package/dist/ReusabilityStrings.d.ts +85 -0
- package/dist/ReusabilityStrings.js +37 -0
- package/dist/ReviewScreen.d.ts +38 -12
- package/dist/ReviewScreen.js +41 -8
- package/dist/ScreenLayout.css +382 -6
- package/dist/VideoSelfieErrorScreen.js +1 -1
- package/dist/VideoSelfieIdCaptureScreen.js +1 -1
- package/dist/VideoSelfieLayout.css +304 -2
- package/dist/VideoSelfieSelfieCaptureScreen.js +1 -1
- package/dist/VideoSelfieSpeakScreen.js +1 -1
- package/dist/VideoSelfieStrings.d.ts +4 -1
- package/dist/VideoSelfieTurnHeadScreen.js +14 -11
- package/dist/VideoSelfieTutorialScreen.d.ts +9 -0
- package/dist/VideoSelfieTutorialScreen.js +10 -1
- package/dist/VideoSelfieWaveScreen.js +1 -1
- package/dist/ViewfinderScreen.css +36 -0
- package/dist/flows.d.ts +8 -0
- package/dist/flows.js +17 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +12 -0
- package/dist/styles.css +3 -0
- package/package.json +68 -3
- package/samples/video-selfie-camera-wide.jpg +0 -0
- package/samples/video-selfie-room-wide.jpg +0 -0
- package/src/BiometricConsentScreen.tsx +192 -0
- package/src/BiometricConsentStrings.ts +119 -0
- package/src/CaptureScreen.tsx +17 -0
- package/src/DemoScreensLayout.css +16 -0
- package/src/DemoScreensRedirectScreen.tsx +14 -6
- package/src/DemoScreensStrings.ts +5 -0
- package/src/DigitalIdUploadErrorScreen.tsx +83 -0
- package/src/DigitalIdUploadFileTooLargeScreen.tsx +67 -0
- package/src/DigitalIdUploadReviewScreen.tsx +119 -0
- package/src/DigitalIdUploadStrings.ts +88 -0
- package/src/DigitalIdUploadTutorialScreen.tsx +59 -0
- package/src/DocumentCaptureIllustration.tsx +1 -1
- package/src/EkybCountryScreen.tsx +23 -6
- package/src/EkybStrings.ts +6 -1
- package/src/ErrorScreensScreen.tsx +15 -4
- package/src/ErrorScreensStrings.ts +37 -12
- package/src/FaceCaptureCapturingScreen.tsx +102 -13
- package/src/FaceCaptureLayout.css +69 -4
- package/src/FaceCaptureStrings.ts +24 -0
- package/src/FormScreen.css +14 -0
- package/src/FormScreen.tsx +34 -0
- package/src/IdCaptureLayout.css +165 -2
- package/src/IdCaptureStageScreen.tsx +75 -0
- package/src/IdCaptureStrings.ts +19 -0
- package/src/ListScreen.tsx +48 -9
- package/src/LoaderScreen.tsx +7 -5
- package/src/LoadersStrings.ts +18 -5
- package/src/OcrReviewErrorScreen.tsx +53 -0
- package/src/OcrReviewLayout.css +24 -0
- package/src/OcrReviewLoadingScreen.tsx +48 -0
- package/src/OcrReviewScreen.tsx +190 -0
- package/src/OcrReviewStrings.ts +69 -0
- package/src/OcrReviewSuccessScreen.tsx +52 -0
- package/src/PermissionsAllowScreen.tsx +9 -10
- package/src/PermissionsAskScreen.tsx +105 -0
- package/src/PermissionsBrowserStepsScreen.tsx +11 -3
- package/src/PermissionsLayout.css +47 -0
- package/src/PermissionsStrings.ts +42 -12
- package/src/PhoneInputOtpScreen.tsx +23 -3
- package/src/PhoneInputStrings.ts +11 -3
- package/src/PhoneInputVerifyScreen.tsx +24 -4
- package/src/QualifiedSignatureDocumentScreen.tsx +9 -7
- package/src/QualifiedSignatureResultScreen.tsx +28 -26
- package/src/QualifiedSignatureStrings.ts +11 -4
- package/src/ResultScreen.tsx +33 -2
- package/src/ReusabilityCredentialSelectionScreen.tsx +246 -0
- package/src/ReusabilityLayout.css +241 -0
- package/src/ReusabilityPrivacyPolicyScreen.tsx +109 -0
- package/src/ReusabilityStrings.ts +127 -0
- package/src/ReviewScreen.tsx +96 -27
- package/src/ScreenLayout.css +382 -6
- package/src/VideoSelfieErrorScreen.tsx +1 -1
- package/src/VideoSelfieIdCaptureScreen.tsx +9 -1
- package/src/VideoSelfieLayout.css +304 -2
- package/src/VideoSelfieSelfieCaptureScreen.tsx +9 -1
- package/src/VideoSelfieSpeakScreen.tsx +9 -1
- package/src/VideoSelfieStrings.ts +4 -2
- package/src/VideoSelfieTurnHeadScreen.tsx +25 -14
- package/src/VideoSelfieTutorialScreen.tsx +11 -0
- package/src/VideoSelfieWaveScreen.tsx +9 -1
- package/src/ViewfinderScreen.css +36 -0
- package/src/flows.ts +25 -0
- package/src/index.ts +74 -3
- package/src/styles.css +3 -0
package/src/index.ts
CHANGED
|
@@ -155,6 +155,32 @@ export {
|
|
|
155
155
|
DocumentCaptureNoConnectionScreen,
|
|
156
156
|
type DocumentCaptureNoConnectionScreenProps,
|
|
157
157
|
} from './DocumentCaptureNoConnectionScreen';
|
|
158
|
+
// ── Digital ID Upload ───────────────────────────────────────────────────────
|
|
159
|
+
// Upload Digital ID Figma file (wxFsHRvllern4VnjRqM4JO) — the "Web Happy Path
|
|
160
|
+
// - Light Mode" section (node 25351:14721: tutorial + the review / analyzing
|
|
161
|
+
// / success confirm stages) and two `Errors` sections (nodes 25874:11955,
|
|
162
|
+
// 26083:3981). The happy-path section's chooser, native file-browser and
|
|
163
|
+
// hold-on frames are out of scope — see DigitalIdUploadStrings.ts header.
|
|
164
|
+
export {
|
|
165
|
+
type DigitalIdUploadStrings,
|
|
166
|
+
type DigitalIdUploadConfirmStage,
|
|
167
|
+
} from './DigitalIdUploadStrings';
|
|
168
|
+
export {
|
|
169
|
+
DigitalIdUploadTutorialScreen,
|
|
170
|
+
type DigitalIdUploadTutorialScreenProps,
|
|
171
|
+
} from './DigitalIdUploadTutorialScreen';
|
|
172
|
+
export {
|
|
173
|
+
DigitalIdUploadReviewScreen,
|
|
174
|
+
type DigitalIdUploadReviewScreenProps,
|
|
175
|
+
} from './DigitalIdUploadReviewScreen';
|
|
176
|
+
export {
|
|
177
|
+
DigitalIdUploadErrorScreen,
|
|
178
|
+
type DigitalIdUploadErrorScreenProps,
|
|
179
|
+
} from './DigitalIdUploadErrorScreen';
|
|
180
|
+
export {
|
|
181
|
+
DigitalIdUploadFileTooLargeScreen,
|
|
182
|
+
type DigitalIdUploadFileTooLargeScreenProps,
|
|
183
|
+
} from './DigitalIdUploadFileTooLargeScreen';
|
|
158
184
|
// ── ID Capture ──────────────────────────────────────────────────────────────
|
|
159
185
|
// Purple sections of the ID Capture Figma file (U1EOfl9RQ1rOlOIuQw3rhL, page
|
|
160
186
|
// 16285:41282) — 100 spec sections across 13 parent groups, collapsed onto 12
|
|
@@ -382,6 +408,34 @@ export {
|
|
|
382
408
|
} from './DataSharingConsentStrings';
|
|
383
409
|
export { DataSharingConsentConsentScreen, type DataSharingConsentConsentScreenProps } from './DataSharingConsentConsentScreen';
|
|
384
410
|
|
|
411
|
+
// ── Biometric Consent ────────────────────────────────────────────────
|
|
412
|
+
// The `biometricConsent` section of the Biometric Consent Screen Figma file
|
|
413
|
+
// (vXvIMQF5DSJgkQHhFAQcWC, 2001:16315). The backend-driven mandatory consent —
|
|
414
|
+
// NOT the User Consent / Data Sharing Consent module. See BiometricConsentStrings.ts.
|
|
415
|
+
export {
|
|
416
|
+
type BiometricConsentState,
|
|
417
|
+
type BiometricConsentStrings,
|
|
418
|
+
} from './BiometricConsentStrings';
|
|
419
|
+
export { BiometricConsentScreen, type BiometricConsentScreenProps } from './BiometricConsentScreen';
|
|
420
|
+
|
|
421
|
+
// ── Reusability (Incode Bridge) ─────────────────────────────────────
|
|
422
|
+
// The `Reusability Iterations` section of the Reusability - In Experimentation
|
|
423
|
+
// Figma file (f4AsCbOBP29IbTQLxBNgNG, 7877:68814): the credential-reuse step of
|
|
424
|
+
// an Incode Bridge session — the SDK's `identity-reuse` module. See
|
|
425
|
+
// ReusabilityStrings.ts.
|
|
426
|
+
export {
|
|
427
|
+
type ReusabilityDocumentType,
|
|
428
|
+
type ReusableCredential,
|
|
429
|
+
type ReusabilityStrings,
|
|
430
|
+
} from './ReusabilityStrings';
|
|
431
|
+
export {
|
|
432
|
+
ReusabilityCredentialSelectionScreen,
|
|
433
|
+
REUSABILITY_SCAN_NEW,
|
|
434
|
+
type ReusabilitySelection,
|
|
435
|
+
type ReusabilityCredentialSelectionScreenProps,
|
|
436
|
+
} from './ReusabilityCredentialSelectionScreen';
|
|
437
|
+
export { ReusabilityPrivacyPolicyScreen, type ReusabilityPrivacyPolicyScreenProps } from './ReusabilityPrivacyPolicyScreen';
|
|
438
|
+
|
|
385
439
|
// ── eKYC (wave 3) ────────────────────────────────────────────────
|
|
386
440
|
// Purple sections of the eKYC Figma file (TWgYZVhurQCizfC4tfLEut, page 2003:12082).
|
|
387
441
|
export {
|
|
@@ -534,6 +588,18 @@ export {
|
|
|
534
588
|
} from './NfcTryAgainScreen';
|
|
535
589
|
export { NfcTutorialScreen, type NfcTutorialScreenProps } from './NfcTutorialScreen';
|
|
536
590
|
|
|
591
|
+
// ── OCR Review ──────────────────────────────────────────────────────────────
|
|
592
|
+
// `ID Capture — Latest Design` (U1EOfl9RQ1rOlOIuQw3rhL), section
|
|
593
|
+
// `OCR Review - 🍎 iOS - Full flow` (31084:18781).
|
|
594
|
+
export {
|
|
595
|
+
type OcrReviewState,
|
|
596
|
+
type OcrReviewStrings,
|
|
597
|
+
} from './OcrReviewStrings';
|
|
598
|
+
export { OcrReviewScreen, type OcrReviewScreenProps } from './OcrReviewScreen';
|
|
599
|
+
export { OcrReviewLoadingScreen, type OcrReviewLoadingScreenProps } from './OcrReviewLoadingScreen';
|
|
600
|
+
export { OcrReviewSuccessScreen, type OcrReviewSuccessScreenProps } from './OcrReviewSuccessScreen';
|
|
601
|
+
export { OcrReviewErrorScreen, type OcrReviewErrorScreenProps } from './OcrReviewErrorScreen';
|
|
602
|
+
|
|
537
603
|
// ── Generic screens ─────────────────────────────────────────────────────────
|
|
538
604
|
// NOT a module. The four families every module shares, drawn once in the
|
|
539
605
|
// `Module Generic Screens` Figma file (qGJjfL4O0JSjz1x4tOjJn8): the permission
|
|
@@ -542,7 +608,7 @@ export { NfcTutorialScreen, type NfcTutorialScreenProps } from './NfcTutorialScr
|
|
|
542
608
|
// file's frames are OS chrome and are deliberately NOT built — see each Strings
|
|
543
609
|
// file for which, and why (rule 1, GUIDELINES §10).
|
|
544
610
|
|
|
545
|
-
// Permissions —
|
|
611
|
+
// Permissions — 4 built screens out of the section's 7 frames.
|
|
546
612
|
export {
|
|
547
613
|
type PermissionsStrings,
|
|
548
614
|
type PermissionsCapability,
|
|
@@ -552,6 +618,10 @@ export {
|
|
|
552
618
|
type PermissionsStep,
|
|
553
619
|
type PermissionsBrowserSteps,
|
|
554
620
|
} from './PermissionsStrings';
|
|
621
|
+
export {
|
|
622
|
+
PermissionsAskScreen,
|
|
623
|
+
type PermissionsAskScreenProps,
|
|
624
|
+
} from './PermissionsAskScreen';
|
|
555
625
|
export {
|
|
556
626
|
PermissionsRequiredScreen,
|
|
557
627
|
type PermissionsRequiredScreenProps,
|
|
@@ -565,11 +635,12 @@ export {
|
|
|
565
635
|
type PermissionsBrowserStepsScreenProps,
|
|
566
636
|
} from './PermissionsBrowserStepsScreen';
|
|
567
637
|
|
|
568
|
-
// Loaders — one screen, one copy pair per wait
|
|
638
|
+
// Loaders — one screen, one copy pair per wait (processing · validating ·
|
|
639
|
+
// verifyingIdentity).
|
|
569
640
|
export { type LoadersStrings, type LoadersVariant, type LoadersCopy } from './LoadersStrings';
|
|
570
641
|
export { LoaderScreen, type LoaderScreenProps } from './LoaderScreen';
|
|
571
642
|
|
|
572
|
-
// Error screens — the
|
|
643
|
+
// Error screens — the four failures that belong to the session, not a module.
|
|
573
644
|
export {
|
|
574
645
|
type ErrorScreensStrings,
|
|
575
646
|
type ErrorScreensVariant,
|
package/src/styles.css
CHANGED
|
@@ -25,8 +25,11 @@
|
|
|
25
25
|
@import './FormsLayout.css';
|
|
26
26
|
@import './IdCaptureLayout.css';
|
|
27
27
|
@import './NfcLayout.css';
|
|
28
|
+
@import './OcrReviewLayout.css';
|
|
29
|
+
@import './PermissionsLayout.css';
|
|
28
30
|
@import './PhoneInputLayout.css';
|
|
29
31
|
@import './QualifiedSignatureLayout.css';
|
|
32
|
+
@import './ReusabilityLayout.css';
|
|
30
33
|
@import './ScreenLayout.css';
|
|
31
34
|
@import './ScreenNav.css';
|
|
32
35
|
@import './ScreenShell.css';
|