attestid_js_sdk 0.1.11 → 0.1.13
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/README.md +22 -0
- package/dist/core/index.cjs +166 -31
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +50 -1
- package/dist/core/index.d.ts +50 -1
- package/dist/core/index.js +165 -31
- package/dist/core/index.js.map +1 -1
- package/dist/react/index.cjs +62 -62
- package/dist/react/index.d.cts +31 -0
- package/dist/react/index.d.ts +31 -0
- package/dist/react/index.js +62 -62
- package/dist/styles/attestid.css +31 -0
- package/package.json +1 -1
package/dist/styles/attestid.css
CHANGED
|
@@ -250,6 +250,9 @@ body {
|
|
|
250
250
|
text-align: center;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
+
/* Five steps (ID Front + ID Back) on a narrow phone: tighter labels. */
|
|
254
|
+
.step-progress-5 .step-label { letter-spacing: 0; font-size: 9.5px; }
|
|
255
|
+
|
|
253
256
|
.step-item.active .step-label { color: var(--primary); }
|
|
254
257
|
.step-item.completed .step-label { color: var(--text-2); }
|
|
255
258
|
|
|
@@ -571,6 +574,34 @@ input[type="file"] { display: none; }
|
|
|
571
574
|
border-color: var(--primary);
|
|
572
575
|
}
|
|
573
576
|
|
|
577
|
+
/* ── Back of card (optional, national ID / driver's licence) ─ */
|
|
578
|
+
.back-step {
|
|
579
|
+
display: flex;
|
|
580
|
+
flex-direction: column;
|
|
581
|
+
gap: 10px;
|
|
582
|
+
margin-top: 14px;
|
|
583
|
+
padding-top: 14px;
|
|
584
|
+
border-top: 1px solid var(--border);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.back-step-title {
|
|
588
|
+
font-size: 14px;
|
|
589
|
+
font-weight: 700;
|
|
590
|
+
color: var(--text);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.back-step-text {
|
|
594
|
+
font-size: 13px;
|
|
595
|
+
color: var(--text-2);
|
|
596
|
+
line-height: 1.45;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.back-step .upload-photo-btn { margin-top: 0; }
|
|
600
|
+
|
|
601
|
+
.skip-back-btn { margin-top: 10px; }
|
|
602
|
+
|
|
603
|
+
.quality-box .btn { margin-top: 10px; }
|
|
604
|
+
|
|
574
605
|
/* ── Tip strip ────────────────────────────────────────────────
|
|
575
606
|
Icon + one or two words per cue, always on one row — quicker to scan as a
|
|
576
607
|
single glance than a paragraph or a wrapped multi-line block, and the icon
|