@incodetech/prizma-core-screens 0.2.4 → 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/CurpEnterScreen.d.ts +7 -0
- package/dist/CurpEnterScreen.js +17 -3
- package/dist/CurpGenerateScreen.d.ts +8 -0
- package/dist/CurpGenerateScreen.js +28 -13
- package/dist/CurpLayout.css +8 -34
- package/dist/CurpStrings.d.ts +16 -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/EkybAddressDetailsScreen.d.ts +7 -0
- package/dist/EkybAddressDetailsScreen.js +25 -7
- package/dist/EkybBusinessDetailsScreen.d.ts +6 -0
- package/dist/EkybBusinessDetailsScreen.js +23 -6
- package/dist/EkybCountryScreen.d.ts +13 -5
- package/dist/EkybCountryScreen.js +41 -10
- package/dist/EkybOwnersScreen.d.ts +8 -0
- package/dist/EkybOwnersScreen.js +26 -3
- package/dist/EkybStrings.d.ts +32 -10
- package/dist/EkycCountryCatalog.d.ts +4 -1
- package/dist/EkycCountryCatalog.js +5 -3
- package/dist/EkycCountryFormScreen.d.ts +12 -3
- package/dist/EkycCountryFormScreen.js +28 -10
- package/dist/EkycDetailsScreen.d.ts +7 -0
- package/dist/EkycDetailsScreen.js +21 -4
- package/dist/EkycStrings.d.ts +14 -2
- package/dist/ElectronicSignatureLayout.css +6 -0
- package/dist/EmailInputStrings.d.ts +11 -1
- package/dist/EmailInputVerifyScreen.d.ts +7 -0
- package/dist/EmailInputVerifyScreen.js +17 -3
- 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/FaceMatchComparisonScreen.d.ts +3 -3
- package/dist/FaceMatchLayout.css +21 -12
- package/dist/FormScreen.css +30 -0
- package/dist/FormScreen.d.ts +28 -0
- package/dist/FormScreen.js +3 -2
- package/dist/FormsLongFormScreen.d.ts +8 -0
- package/dist/FormsLongFormScreen.js +34 -13
- package/dist/FormsStrings.d.ts +11 -1
- package/dist/GeolocationBrowserStepsScreen.d.ts +6 -2
- package/dist/GeolocationBrowserStepsScreen.js +7 -3
- package/dist/GeolocationStrings.d.ts +3 -0
- package/dist/IdCaptureLayout.css +205 -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 +21 -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/PhoneInputLayout.css +10 -9
- package/dist/PhoneInputOtpScreen.d.ts +8 -0
- package/dist/PhoneInputOtpScreen.js +26 -19
- package/dist/PhoneInputStrings.d.ts +22 -4
- package/dist/PhoneInputVerifyScreen.d.ts +8 -0
- package/dist/PhoneInputVerifyScreen.js +36 -7
- package/dist/QualifiedSignatureAcceptScreen.js +6 -1
- package/dist/QualifiedSignatureDocumentScreen.d.ts +17 -10
- package/dist/QualifiedSignatureDocumentScreen.js +22 -17
- package/dist/QualifiedSignatureLayout.css +76 -0
- package/dist/QualifiedSignatureResultScreen.d.ts +16 -13
- package/dist/QualifiedSignatureResultScreen.js +17 -18
- package/dist/QualifiedSignatureStrings.d.ts +19 -2
- 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/ScreenNav.css +8 -0
- package/dist/ScreenNav.d.ts +15 -2
- package/dist/ScreenNav.js +10 -3
- package/dist/VideoSelfieErrorScreen.js +1 -1
- package/dist/VideoSelfieIdCaptureScreen.d.ts +10 -3
- package/dist/VideoSelfieIdCaptureScreen.js +45 -14
- package/dist/VideoSelfieLayout.css +467 -34
- package/dist/VideoSelfieSelfieCaptureScreen.d.ts +44 -27
- package/dist/VideoSelfieSelfieCaptureScreen.js +65 -39
- package/dist/VideoSelfieSpeakScreen.js +19 -2
- package/dist/VideoSelfieStrings.d.ts +82 -13
- package/dist/VideoSelfieTurnHeadScreen.d.ts +51 -0
- package/dist/VideoSelfieTurnHeadScreen.js +66 -0
- package/dist/VideoSelfieTutorialScreen.d.ts +9 -0
- package/dist/VideoSelfieTutorialScreen.js +22 -5
- package/dist/VideoSelfieWaveScreen.d.ts +53 -0
- package/dist/VideoSelfieWaveScreen.js +62 -0
- package/dist/ViewfinderScreen.css +36 -0
- package/dist/WatchlistBusinessFormScreen.d.ts +11 -7
- package/dist/WatchlistBusinessFormScreen.js +27 -13
- package/dist/WatchlistBusinessStrings.d.ts +21 -7
- package/dist/flows.d.ts +8 -0
- package/dist/flows.js +17 -0
- package/dist/index.d.ts +19 -1
- package/dist/index.js +14 -0
- package/dist/styles.css +3 -0
- package/dist/types.d.ts +3 -1
- package/package.json +79 -3
- package/samples/video-selfie-camera-wide.jpg +0 -0
- package/samples/video-selfie-room-wide.jpg +0 -0
- package/samples/video-selfie-room.png +0 -0
- package/src/BiometricConsentScreen.tsx +192 -0
- package/src/BiometricConsentStrings.ts +119 -0
- package/src/CaptureScreen.tsx +17 -0
- package/src/CurpEnterScreen.tsx +21 -4
- package/src/CurpGenerateScreen.tsx +46 -22
- package/src/CurpLayout.css +8 -34
- package/src/CurpStrings.ts +22 -2
- 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/EkybAddressDetailsScreen.tsx +32 -4
- package/src/EkybBusinessDetailsScreen.tsx +23 -5
- package/src/EkybCountryScreen.tsx +45 -7
- package/src/EkybOwnersScreen.tsx +34 -3
- package/src/EkybStrings.ts +34 -10
- package/src/EkycCountryCatalog.ts +9 -4
- package/src/EkycCountryFormScreen.tsx +51 -12
- package/src/EkycDetailsScreen.tsx +22 -1
- package/src/EkycStrings.ts +14 -2
- package/src/ElectronicSignatureLayout.css +6 -0
- package/src/EmailInputStrings.ts +12 -1
- package/src/EmailInputVerifyScreen.tsx +21 -4
- 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/FaceMatchComparisonScreen.tsx +3 -3
- package/src/FaceMatchLayout.css +21 -12
- package/src/FormScreen.css +30 -0
- package/src/FormScreen.tsx +34 -0
- package/src/FormsLongFormScreen.tsx +41 -13
- package/src/FormsStrings.ts +12 -1
- package/src/GeolocationBrowserStepsScreen.tsx +6 -3
- package/src/GeolocationStrings.ts +3 -0
- package/src/IdCaptureLayout.css +205 -2
- package/src/IdCaptureStageScreen.tsx +75 -0
- package/src/IdCaptureStrings.ts +19 -0
- package/src/ListScreen.tsx +58 -10
- 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/PhoneInputLayout.css +10 -9
- package/src/PhoneInputOtpScreen.tsx +23 -3
- package/src/PhoneInputStrings.ts +23 -4
- package/src/PhoneInputVerifyScreen.tsx +41 -5
- package/src/QualifiedSignatureAcceptScreen.tsx +12 -1
- package/src/QualifiedSignatureDocumentScreen.tsx +31 -19
- package/src/QualifiedSignatureLayout.css +76 -0
- package/src/QualifiedSignatureResultScreen.tsx +28 -26
- package/src/QualifiedSignatureStrings.ts +19 -2
- 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/ScreenNav.css +8 -0
- package/src/ScreenNav.tsx +35 -5
- package/src/VideoSelfieErrorScreen.tsx +1 -1
- package/src/VideoSelfieIdCaptureScreen.tsx +125 -31
- package/src/VideoSelfieLayout.css +467 -34
- package/src/VideoSelfieSelfieCaptureScreen.tsx +110 -57
- package/src/VideoSelfieSpeakScreen.tsx +34 -15
- package/src/VideoSelfieStrings.ts +89 -14
- package/src/VideoSelfieTurnHeadScreen.tsx +162 -0
- package/src/VideoSelfieTutorialScreen.tsx +45 -23
- package/src/VideoSelfieWaveScreen.tsx +143 -0
- package/src/ViewfinderScreen.css +36 -0
- package/src/WatchlistBusinessFormScreen.tsx +35 -16
- package/src/WatchlistBusinessStrings.ts +21 -7
- package/src/flows.ts +25 -0
- package/src/index.ts +88 -3
- package/src/styles.css +3 -0
- package/src/types.ts +3 -1
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 {
|
|
@@ -452,7 +506,11 @@ export {
|
|
|
452
506
|
type VideoSelfieTutorialRowKind,
|
|
453
507
|
type VideoSelfieFeedbackKind,
|
|
454
508
|
type VideoSelfieIdSide,
|
|
509
|
+
type VideoSelfieConditionCopy,
|
|
510
|
+
type VideoSelfieIdCondition,
|
|
511
|
+
type VideoSelfieIdErrorReason,
|
|
455
512
|
type VideoSelfieIdErrorSeverity,
|
|
513
|
+
type VideoSelfieTurnDirection,
|
|
456
514
|
type VideoSelfieSpeakFamily,
|
|
457
515
|
type VideoSelfieStepsOs,
|
|
458
516
|
type VideoSelfieStepsStrings,
|
|
@@ -488,6 +546,16 @@ export {
|
|
|
488
546
|
} from './VideoSelfieSpeakScreen';
|
|
489
547
|
export { VideoSelfieSuccessScreen, type VideoSelfieSuccessScreenProps } from './VideoSelfieSuccessScreen';
|
|
490
548
|
export { VideoSelfieTutorialScreen, type VideoSelfieTutorialScreenProps } from './VideoSelfieTutorialScreen';
|
|
549
|
+
export {
|
|
550
|
+
VideoSelfieTurnHeadScreen,
|
|
551
|
+
type VideoSelfieTurnStage,
|
|
552
|
+
type VideoSelfieTurnHeadScreenProps,
|
|
553
|
+
} from './VideoSelfieTurnHeadScreen';
|
|
554
|
+
export {
|
|
555
|
+
VideoSelfieWaveScreen,
|
|
556
|
+
type VideoSelfieWaveStage,
|
|
557
|
+
type VideoSelfieWaveScreenProps,
|
|
558
|
+
} from './VideoSelfieWaveScreen';
|
|
491
559
|
|
|
492
560
|
// ── NFC (wave 3) ────────────────────────────────────────────────
|
|
493
561
|
// Purple sections of the NFC Figma file (dlEkkopentyypbxlYjDWTZ, page 19971:96836).
|
|
@@ -520,6 +588,18 @@ export {
|
|
|
520
588
|
} from './NfcTryAgainScreen';
|
|
521
589
|
export { NfcTutorialScreen, type NfcTutorialScreenProps } from './NfcTutorialScreen';
|
|
522
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
|
+
|
|
523
603
|
// ── Generic screens ─────────────────────────────────────────────────────────
|
|
524
604
|
// NOT a module. The four families every module shares, drawn once in the
|
|
525
605
|
// `Module Generic Screens` Figma file (qGJjfL4O0JSjz1x4tOjJn8): the permission
|
|
@@ -528,7 +608,7 @@ export { NfcTutorialScreen, type NfcTutorialScreenProps } from './NfcTutorialScr
|
|
|
528
608
|
// file's frames are OS chrome and are deliberately NOT built — see each Strings
|
|
529
609
|
// file for which, and why (rule 1, GUIDELINES §10).
|
|
530
610
|
|
|
531
|
-
// Permissions —
|
|
611
|
+
// Permissions — 4 built screens out of the section's 7 frames.
|
|
532
612
|
export {
|
|
533
613
|
type PermissionsStrings,
|
|
534
614
|
type PermissionsCapability,
|
|
@@ -538,6 +618,10 @@ export {
|
|
|
538
618
|
type PermissionsStep,
|
|
539
619
|
type PermissionsBrowserSteps,
|
|
540
620
|
} from './PermissionsStrings';
|
|
621
|
+
export {
|
|
622
|
+
PermissionsAskScreen,
|
|
623
|
+
type PermissionsAskScreenProps,
|
|
624
|
+
} from './PermissionsAskScreen';
|
|
541
625
|
export {
|
|
542
626
|
PermissionsRequiredScreen,
|
|
543
627
|
type PermissionsRequiredScreenProps,
|
|
@@ -551,11 +635,12 @@ export {
|
|
|
551
635
|
type PermissionsBrowserStepsScreenProps,
|
|
552
636
|
} from './PermissionsBrowserStepsScreen';
|
|
553
637
|
|
|
554
|
-
// Loaders — one screen, one copy pair per wait
|
|
638
|
+
// Loaders — one screen, one copy pair per wait (processing · validating ·
|
|
639
|
+
// verifyingIdentity).
|
|
555
640
|
export { type LoadersStrings, type LoadersVariant, type LoadersCopy } from './LoadersStrings';
|
|
556
641
|
export { LoaderScreen, type LoaderScreenProps } from './LoaderScreen';
|
|
557
642
|
|
|
558
|
-
// Error screens — the
|
|
643
|
+
// Error screens — the four failures that belong to the session, not a module.
|
|
559
644
|
export {
|
|
560
645
|
type ErrorScreensStrings,
|
|
561
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';
|
package/src/types.ts
CHANGED
|
@@ -19,7 +19,9 @@ import type { ReactNode } from 'react';
|
|
|
19
19
|
* they collapsed into one indistinguishable event. DEVIATIONS #PI-10.
|
|
20
20
|
*/
|
|
21
21
|
export interface PrizmaScreenAction {
|
|
22
|
-
|
|
22
|
+
/** `back` — the nav's back chevron, on the screens that opt into one
|
|
23
|
+
* (`PrizmaScreenNav.backLabel`). */
|
|
24
|
+
type: 'cta' | 'secondary' | 'tertiary' | 'auto' | 'help' | 'back';
|
|
23
25
|
/** Stable per-screen identifier, e.g. `face-capture-tutorial`. */
|
|
24
26
|
screenId?: string;
|
|
25
27
|
}
|