@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.
Files changed (168) hide show
  1. package/dist/BiometricConsentScreen.d.ts +95 -0
  2. package/dist/BiometricConsentScreen.js +91 -0
  3. package/dist/BiometricConsentStrings.d.ts +84 -0
  4. package/dist/BiometricConsentStrings.js +31 -0
  5. package/dist/CaptureScreen.d.ts +13 -0
  6. package/dist/CaptureScreen.js +2 -2
  7. package/dist/DemoScreensLayout.css +16 -0
  8. package/dist/DemoScreensRedirectScreen.d.ts +6 -1
  9. package/dist/DemoScreensRedirectScreen.js +3 -2
  10. package/dist/DemoScreensStrings.d.ts +5 -0
  11. package/dist/DigitalIdUploadErrorScreen.d.ts +31 -0
  12. package/dist/DigitalIdUploadErrorScreen.js +26 -0
  13. package/dist/DigitalIdUploadFileTooLargeScreen.d.ts +27 -0
  14. package/dist/DigitalIdUploadFileTooLargeScreen.js +21 -0
  15. package/dist/DigitalIdUploadReviewScreen.d.ts +57 -0
  16. package/dist/DigitalIdUploadReviewScreen.js +44 -0
  17. package/dist/DigitalIdUploadStrings.d.ts +64 -0
  18. package/dist/DigitalIdUploadStrings.js +19 -0
  19. package/dist/DigitalIdUploadTutorialScreen.d.ts +28 -0
  20. package/dist/DigitalIdUploadTutorialScreen.js +23 -0
  21. package/dist/DocumentCaptureIllustration.d.ts +1 -1
  22. package/dist/EkybCountryScreen.d.ts +6 -6
  23. package/dist/EkybCountryScreen.js +20 -7
  24. package/dist/EkybStrings.d.ts +6 -1
  25. package/dist/ErrorScreensScreen.d.ts +5 -2
  26. package/dist/ErrorScreensScreen.js +15 -4
  27. package/dist/ErrorScreensStrings.d.ts +17 -2
  28. package/dist/ErrorScreensStrings.js +18 -10
  29. package/dist/FaceCaptureCapturingScreen.d.ts +63 -0
  30. package/dist/FaceCaptureCapturingScreen.js +62 -2
  31. package/dist/FaceCaptureLayout.css +69 -4
  32. package/dist/FaceCaptureStrings.d.ts +23 -0
  33. package/dist/FormScreen.css +14 -0
  34. package/dist/FormScreen.d.ts +28 -0
  35. package/dist/FormScreen.js +3 -2
  36. package/dist/IdCaptureLayout.css +165 -2
  37. package/dist/IdCaptureStageScreen.d.ts +47 -0
  38. package/dist/IdCaptureStageScreen.js +39 -3
  39. package/dist/IdCaptureStrings.d.ts +19 -0
  40. package/dist/ListScreen.d.ts +19 -0
  41. package/dist/ListScreen.js +7 -2
  42. package/dist/LoaderScreen.d.ts +7 -5
  43. package/dist/LoaderScreen.js +7 -5
  44. package/dist/LoadersStrings.d.ts +18 -5
  45. package/dist/OcrReviewErrorScreen.d.ts +30 -0
  46. package/dist/OcrReviewErrorScreen.js +24 -0
  47. package/dist/OcrReviewLayout.css +24 -0
  48. package/dist/OcrReviewLoadingScreen.d.ts +25 -0
  49. package/dist/OcrReviewLoadingScreen.js +19 -0
  50. package/dist/OcrReviewScreen.d.ts +76 -0
  51. package/dist/OcrReviewScreen.js +65 -0
  52. package/dist/OcrReviewStrings.d.ts +47 -0
  53. package/dist/OcrReviewStrings.js +17 -0
  54. package/dist/OcrReviewSuccessScreen.d.ts +30 -0
  55. package/dist/OcrReviewSuccessScreen.js +24 -0
  56. package/dist/PermissionsAllowScreen.d.ts +8 -11
  57. package/dist/PermissionsAllowScreen.js +8 -11
  58. package/dist/PermissionsAskScreen.d.ts +41 -0
  59. package/dist/PermissionsAskScreen.js +43 -0
  60. package/dist/PermissionsBrowserStepsScreen.d.ts +9 -2
  61. package/dist/PermissionsBrowserStepsScreen.js +12 -3
  62. package/dist/PermissionsLayout.css +47 -0
  63. package/dist/PermissionsStrings.d.ts +20 -9
  64. package/dist/PermissionsStrings.js +10 -4
  65. package/dist/PhoneInputOtpScreen.d.ts +8 -0
  66. package/dist/PhoneInputOtpScreen.js +26 -19
  67. package/dist/PhoneInputStrings.d.ts +11 -3
  68. package/dist/PhoneInputVerifyScreen.js +21 -5
  69. package/dist/QualifiedSignatureDocumentScreen.d.ts +8 -5
  70. package/dist/QualifiedSignatureDocumentScreen.js +9 -6
  71. package/dist/QualifiedSignatureResultScreen.d.ts +16 -13
  72. package/dist/QualifiedSignatureResultScreen.js +17 -18
  73. package/dist/QualifiedSignatureStrings.d.ts +11 -4
  74. package/dist/ResultScreen.d.ts +8 -0
  75. package/dist/ResultScreen.js +14 -3
  76. package/dist/ReusabilityCredentialSelectionScreen.d.ts +95 -0
  77. package/dist/ReusabilityCredentialSelectionScreen.js +94 -0
  78. package/dist/ReusabilityLayout.css +241 -0
  79. package/dist/ReusabilityPrivacyPolicyScreen.d.ts +55 -0
  80. package/dist/ReusabilityPrivacyPolicyScreen.js +44 -0
  81. package/dist/ReusabilityStrings.d.ts +85 -0
  82. package/dist/ReusabilityStrings.js +37 -0
  83. package/dist/ReviewScreen.d.ts +38 -12
  84. package/dist/ReviewScreen.js +41 -8
  85. package/dist/ScreenLayout.css +382 -6
  86. package/dist/VideoSelfieErrorScreen.js +1 -1
  87. package/dist/VideoSelfieIdCaptureScreen.js +1 -1
  88. package/dist/VideoSelfieLayout.css +304 -2
  89. package/dist/VideoSelfieSelfieCaptureScreen.js +1 -1
  90. package/dist/VideoSelfieSpeakScreen.js +1 -1
  91. package/dist/VideoSelfieStrings.d.ts +4 -1
  92. package/dist/VideoSelfieTurnHeadScreen.js +14 -11
  93. package/dist/VideoSelfieTutorialScreen.d.ts +9 -0
  94. package/dist/VideoSelfieTutorialScreen.js +10 -1
  95. package/dist/VideoSelfieWaveScreen.js +1 -1
  96. package/dist/ViewfinderScreen.css +36 -0
  97. package/dist/flows.d.ts +8 -0
  98. package/dist/flows.js +17 -0
  99. package/dist/index.d.ts +16 -0
  100. package/dist/index.js +12 -0
  101. package/dist/styles.css +3 -0
  102. package/package.json +68 -3
  103. package/samples/video-selfie-camera-wide.jpg +0 -0
  104. package/samples/video-selfie-room-wide.jpg +0 -0
  105. package/src/BiometricConsentScreen.tsx +192 -0
  106. package/src/BiometricConsentStrings.ts +119 -0
  107. package/src/CaptureScreen.tsx +17 -0
  108. package/src/DemoScreensLayout.css +16 -0
  109. package/src/DemoScreensRedirectScreen.tsx +14 -6
  110. package/src/DemoScreensStrings.ts +5 -0
  111. package/src/DigitalIdUploadErrorScreen.tsx +83 -0
  112. package/src/DigitalIdUploadFileTooLargeScreen.tsx +67 -0
  113. package/src/DigitalIdUploadReviewScreen.tsx +119 -0
  114. package/src/DigitalIdUploadStrings.ts +88 -0
  115. package/src/DigitalIdUploadTutorialScreen.tsx +59 -0
  116. package/src/DocumentCaptureIllustration.tsx +1 -1
  117. package/src/EkybCountryScreen.tsx +23 -6
  118. package/src/EkybStrings.ts +6 -1
  119. package/src/ErrorScreensScreen.tsx +15 -4
  120. package/src/ErrorScreensStrings.ts +37 -12
  121. package/src/FaceCaptureCapturingScreen.tsx +102 -13
  122. package/src/FaceCaptureLayout.css +69 -4
  123. package/src/FaceCaptureStrings.ts +24 -0
  124. package/src/FormScreen.css +14 -0
  125. package/src/FormScreen.tsx +34 -0
  126. package/src/IdCaptureLayout.css +165 -2
  127. package/src/IdCaptureStageScreen.tsx +75 -0
  128. package/src/IdCaptureStrings.ts +19 -0
  129. package/src/ListScreen.tsx +48 -9
  130. package/src/LoaderScreen.tsx +7 -5
  131. package/src/LoadersStrings.ts +18 -5
  132. package/src/OcrReviewErrorScreen.tsx +53 -0
  133. package/src/OcrReviewLayout.css +24 -0
  134. package/src/OcrReviewLoadingScreen.tsx +48 -0
  135. package/src/OcrReviewScreen.tsx +190 -0
  136. package/src/OcrReviewStrings.ts +69 -0
  137. package/src/OcrReviewSuccessScreen.tsx +52 -0
  138. package/src/PermissionsAllowScreen.tsx +9 -10
  139. package/src/PermissionsAskScreen.tsx +105 -0
  140. package/src/PermissionsBrowserStepsScreen.tsx +11 -3
  141. package/src/PermissionsLayout.css +47 -0
  142. package/src/PermissionsStrings.ts +42 -12
  143. package/src/PhoneInputOtpScreen.tsx +23 -3
  144. package/src/PhoneInputStrings.ts +11 -3
  145. package/src/PhoneInputVerifyScreen.tsx +24 -4
  146. package/src/QualifiedSignatureDocumentScreen.tsx +9 -7
  147. package/src/QualifiedSignatureResultScreen.tsx +28 -26
  148. package/src/QualifiedSignatureStrings.ts +11 -4
  149. package/src/ResultScreen.tsx +33 -2
  150. package/src/ReusabilityCredentialSelectionScreen.tsx +246 -0
  151. package/src/ReusabilityLayout.css +241 -0
  152. package/src/ReusabilityPrivacyPolicyScreen.tsx +109 -0
  153. package/src/ReusabilityStrings.ts +127 -0
  154. package/src/ReviewScreen.tsx +96 -27
  155. package/src/ScreenLayout.css +382 -6
  156. package/src/VideoSelfieErrorScreen.tsx +1 -1
  157. package/src/VideoSelfieIdCaptureScreen.tsx +9 -1
  158. package/src/VideoSelfieLayout.css +304 -2
  159. package/src/VideoSelfieSelfieCaptureScreen.tsx +9 -1
  160. package/src/VideoSelfieSpeakScreen.tsx +9 -1
  161. package/src/VideoSelfieStrings.ts +4 -2
  162. package/src/VideoSelfieTurnHeadScreen.tsx +25 -14
  163. package/src/VideoSelfieTutorialScreen.tsx +11 -0
  164. package/src/VideoSelfieWaveScreen.tsx +9 -1
  165. package/src/ViewfinderScreen.css +36 -0
  166. package/src/flows.ts +25 -0
  167. package/src/index.ts +74 -3
  168. 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 — 3 built screens out of the section's 7 frames.
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 three failures that belong to the session, not a module.
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';