@incodetech/web 0.0.0-dev-20260421-c950692 → 0.0.0-dev-20260421-d74e4f6

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.
@@ -1,6 +1,6 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as t, t as n } from "../incodeComponent-DzIDROLm.js";
3
- import { n as r, r as i, t as a } from "../tutorial-ani6vU42.js";
3
+ import { n as r, r as i, t as a } from "../tutorial-KoEYRtE5.js";
4
4
  import { t as o } from "../incodeModule-D_r2n18O.js";
5
5
  import { createAuthenticationManager as s } from "@incodetech/core/authentication";
6
6
  //#region src/modules/authentication/authentication.tsx
@@ -3,12 +3,12 @@ import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor
3
3
  import { o as c, r as l, t as u } from "./incodeComponent-DzIDROLm.js";
4
4
  import { t as d } from "./spacer-DCljE53A.js";
5
5
  import { t as f } from "./page-D5Mt-0zn.js";
6
- import { c as p, d as m, f as h, l as g, u as _, v, y } from "./extensibility-D6QHzBqk.js";
6
+ import { c as p, d as m, f as h, l as g, u as _, v, y } from "./extensibility-CLuzWPk0.js";
7
7
  import { n as b } from "./loadingIcon-HWY04StG.js";
8
8
  import { t as x } from "./spinner-l6dvYqCg.js";
9
9
  import { t as S } from "./button-wmLHLQxG.js";
10
10
  import { a as C, d as w, r as T } from "./icons-Cj7hJH7f.js";
11
- import { o as E, s as D } from "./tutorial-ani6vU42.js";
11
+ import { o as E, s as D } from "./tutorial-KoEYRtE5.js";
12
12
  import { t as O } from "./successIcon-C4GI_9SU.js";
13
13
  import { t as k } from "./incodeModule-D_r2n18O.js";
14
14
  import { createDocumentCaptureManager as A } from "@incodetech/core/document-capture";
@@ -3,7 +3,7 @@ import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as i, t as a } from "../incodeComponent-DzIDROLm.js";
4
4
  import { t as o } from "../spacer-DCljE53A.js";
5
5
  import { t as s } from "../page-D5Mt-0zn.js";
6
- import "../extensibility-D6QHzBqk.js";
6
+ import "../extensibility-CLuzWPk0.js";
7
7
  import { t as c } from "../button-wmLHLQxG.js";
8
8
  import { t as l } from "../inputComposed-CSa79kcp.js";
9
9
  import { t as u } from "../otpInput-86AU1izq.js";
@@ -12,7 +12,7 @@ import "./spinner-CFvndzMU.js";
12
12
  import "./processing-B3P1zGUU.js";
13
13
  import { t as g } from "./button-wmLHLQxG.js";
14
14
  import { i as _, m as v, r as y, s as b, t as x, u as S } from "./icons-Cj7hJH7f.js";
15
- import { a as C, i as w } from "./tutorial-ani6vU42.js";
15
+ import { a as C, i as w } from "./tutorial-KoEYRtE5.js";
16
16
  import { t as T } from "./successIcon-C4GI_9SU.js";
17
17
  import "./verificationResult-CrNV1-Yp.js";
18
18
  import "./inputComposed-CSa79kcp.js";
@@ -3,13 +3,13 @@ import { t } from "./uiConfig-CwpQ-IM6.js";
3
3
  import { a as n, n as r, o as i, t as a } from "./incodeComponent-DzIDROLm.js";
4
4
  import { t as o } from "./spacer-DCljE53A.js";
5
5
  import { t as s } from "./page-D5Mt-0zn.js";
6
- import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-D6QHzBqk.js";
6
+ import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-CLuzWPk0.js";
7
7
  import { a as D, i as O, n as k, o as A, s as j, t as M } from "./typography-CNNFm2Bl.js";
8
8
  import { t as N } from "./spinner-l6dvYqCg.js";
9
9
  import { t as P } from "./processing-B3P1zGUU.js";
10
10
  import { t as F } from "./button-wmLHLQxG.js";
11
11
  import { a as I, c as L, d as R, f as z, i as B, l as V, m as H, n as U, o as W, p as G, r as K, s as q, t as J, u as Y } from "./icons-Cj7hJH7f.js";
12
- import { a as X, i as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./tutorial-ani6vU42.js";
12
+ import { a as X, i as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./tutorial-KoEYRtE5.js";
13
13
  import { t as re } from "./successIcon-C4GI_9SU.js";
14
14
  import { t as ie } from "./verificationResult-CrNV1-Yp.js";
15
15
  import { n as ae, t as oe } from "./inputComposed-CSa79kcp.js";
@@ -5,7 +5,7 @@ import { o as c, t as l } from "../incodeComponent-DzIDROLm.js";
5
5
  import { t as u } from "../spinner-l6dvYqCg.js";
6
6
  import "../spinner-CFvndzMU.js";
7
7
  import { t as d } from "../incodeModule-D_r2n18O.js";
8
- import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-ZiLgfdn2.js";
8
+ import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-yB6IHHHe.js";
9
9
  import { getDeviceClass as w } from "@incodetech/core/device";
10
10
  import { getRequiredWasmPipelines as T } from "@incodetech/core/flow";
11
11
  import { createSession as E, validateQrUuid as D } from "@incodetech/core/session";
@@ -700,12 +700,11 @@
700
700
 
701
701
  .IncodeSelfieManualCaptureText {
702
702
  text-align: center;
703
- font-size: var(--text-base, 1rem);
704
- line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
705
- --tw-leading: 1.14;
706
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
707
- line-height: 1.14;
708
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
703
+ font-family: var(--typography-headline-family);
704
+ font-size: var(--typography-headline-h5-size);
705
+ font-weight: var(--typography-headline-h5-weight);
706
+ line-height: var(--typography-headline-h5-line-height);
707
+ letter-spacing: var(--typography-headline-h5-letter-spacing);
709
708
  color: var(--color-text-body-primary, var(--text-body-800-primary));
710
709
  }
711
710
 
@@ -720,14 +719,13 @@
720
719
  display: flex;
721
720
  }
722
721
 
723
- .IncodeNotificationText {
722
+ .IncodeNotification .IncodeNotificationText {
724
723
  text-align: center;
725
- font-size: var(--text-2xl, 1.5rem);
726
- line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
727
- --tw-leading: 1.2;
728
- --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
729
- line-height: 1.2;
730
- font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
724
+ font-family: var(--typography-feedback-family);
725
+ font-size: var(--typography-feedback-l-size);
726
+ font-weight: var(--typography-feedback-l-weight);
727
+ line-height: var(--typography-feedback-l-line-height);
728
+ letter-spacing: var(--typography-feedback-l-letter-spacing);
731
729
  color: var(--color-text-body-primary, var(--text-body-800-primary));
732
730
  }
733
731
 
package/dist/id/id.es.js CHANGED
@@ -2,14 +2,14 @@ import { n as e } from "../i18n-CeGVT08F.js";
2
2
  import { _ as t, c as n, l as r, o as i, v as a } from "../vendor-preact-D6SntenC.js";
3
3
  import { o, t as s } from "../incodeComponent-DzIDROLm.js";
4
4
  import { t as c } from "../page-D5Mt-0zn.js";
5
- import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-D6QHzBqk.js";
5
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-CLuzWPk0.js";
6
6
  import { n as h } from "../loadingIcon-HWY04StG.js";
7
7
  import { t as g } from "../spinner-l6dvYqCg.js";
8
8
  import "../spinner-CFvndzMU.js";
9
9
  import { t as _ } from "../processing-B3P1zGUU.js";
10
10
  import { t as v } from "../button-wmLHLQxG.js";
11
11
  import { m as y, s as b } from "../icons-Cj7hJH7f.js";
12
- import { r as x, s as S } from "../tutorial-ani6vU42.js";
12
+ import { r as x, s as S } from "../tutorial-KoEYRtE5.js";
13
13
  import { t as C } from "../successIcon-C4GI_9SU.js";
14
14
  import { t as w } from "../incodeModule-D_r2n18O.js";
15
15
  import { t as T } from "../tabs-DjLpBcrG.js";
@@ -1,7 +1,7 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as t, t as n } from "../incodeComponent-DzIDROLm.js";
3
3
  import { t as r } from "../processing-B3P1zGUU.js";
4
- import { n as i, r as a, t as o } from "../tutorial-ani6vU42.js";
4
+ import { n as i, r as a, t as o } from "../tutorial-KoEYRtE5.js";
5
5
  import { t as s } from "../incodeModule-D_r2n18O.js";
6
6
  import { createSelfieManager as c } from "@incodetech/core/selfie";
7
7
  //#region src/modules/selfie/selfie.tsx
@@ -419,12 +419,11 @@
419
419
 
420
420
  .IncodeSelfieManualCaptureText {
421
421
  text-align: center;
422
- font-size: var(--text-base, 1rem);
423
- line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
424
- --tw-leading: 1.14;
425
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
426
- line-height: 1.14;
427
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
422
+ font-family: var(--typography-headline-family);
423
+ font-size: var(--typography-headline-h5-size);
424
+ font-weight: var(--typography-headline-h5-weight);
425
+ line-height: var(--typography-headline-h5-line-height);
426
+ letter-spacing: var(--typography-headline-h5-letter-spacing);
428
427
  color: var(--color-text-body-primary, var(--text-body-800-primary));
429
428
  }
430
429
 
@@ -439,14 +438,13 @@
439
438
  display: flex;
440
439
  }
441
440
 
442
- .IncodeNotificationText {
441
+ .IncodeNotification .IncodeNotificationText {
443
442
  text-align: center;
444
- font-size: var(--text-2xl, 1.5rem);
445
- line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
446
- --tw-leading: 1.2;
447
- --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
448
- line-height: 1.2;
449
- font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
443
+ font-family: var(--typography-feedback-family);
444
+ font-size: var(--typography-feedback-l-size);
445
+ font-weight: var(--typography-feedback-l-weight);
446
+ line-height: var(--typography-feedback-l-line-height);
447
+ letter-spacing: var(--typography-feedback-l-letter-spacing);
450
448
  color: var(--color-text-body-primary, var(--text-body-800-primary));
451
449
  }
452
450
 
@@ -2379,7 +2379,8 @@ var _e = ({ manager: t, permissionStatus: n }) => {
2379
2379
  let { t: s } = e(), c = o(null), u = o({
2380
2380
  message: "",
2381
2381
  at: 0
2382
- }), d = o(t), f = o(i), p = o(!1), m = o(), h = o(), g = {
2382
+ }), f = o(t), p = o(i), m = o(!1), h = o(), g = o(), _ = {
2383
+ idle: s("notifications.centerFaceV2"),
2383
2384
  noFace: s("notifications.faceNotFound"),
2384
2385
  tooManyFaces: s("notifications.tooManyFaces"),
2385
2386
  tooClose: s("notifications.moveAway"),
@@ -2394,7 +2395,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
2394
2395
  centerFace: s("notifications.centerFaceV2"),
2395
2396
  getReady: s("notifications.getReady"),
2396
2397
  capturing: s("idv2.capture.takingPhoto")
2397
- }[t] ?? "", _ = a((e) => {
2398
+ }[t] ?? "", v = a((e) => {
2398
2399
  let t = Date.now(), n = u.current;
2399
2400
  if (e === n.message && t - n.at < 200) return;
2400
2401
  u.current = {
@@ -2402,57 +2403,57 @@ var _e = ({ manager: t, permissionStatus: n }) => {
2402
2403
  at: t
2403
2404
  };
2404
2405
  let r = c.current;
2405
- r && (clearTimeout(m.current), r.textContent = "", h.current = setTimeout(() => {
2406
- r.textContent = e, m.current = setTimeout(() => {
2406
+ r && (clearTimeout(h.current), r.textContent = "", g.current = setTimeout(() => {
2407
+ r.textContent = e, h.current = setTimeout(() => {
2407
2408
  r.textContent = "";
2408
2409
  }, 3e3);
2409
2410
  }, 50));
2410
2411
  }, []);
2411
2412
  return r(() => {
2412
- let e = f.current;
2413
- if (f.current = i, i || t === "manualCapture") {
2414
- p.current = !1;
2413
+ let e = p.current;
2414
+ if (p.current = i, i || t === "manualCapture") {
2415
+ m.current = !1;
2415
2416
  return;
2416
2417
  }
2417
- if (p.current) return;
2418
+ if (m.current) return;
2418
2419
  let n = setTimeout(() => {
2419
- p.current = !0, _(s("selfiev2.autoCapture.defaultAriaInstructions"));
2420
+ m.current = !0, v(s("selfiev2.autoCapture.defaultAriaInstructions"));
2420
2421
  }, e ? 1e3 : 500);
2421
2422
  return () => clearTimeout(n);
2422
2423
  }, [
2423
2424
  t,
2424
2425
  i,
2425
- _,
2426
+ v,
2426
2427
  s
2427
2428
  ]), r(() => {
2428
- let e = d.current;
2429
- d.current = t, !i && e !== "manualCapture" && t === "manualCapture" && _(s("idv2.capture.manualCapture.modeSwitchAriaAnnouncement"));
2429
+ let e = f.current;
2430
+ f.current = t, !i && e !== "manualCapture" && t === "manualCapture" && v(s("idv2.capture.manualCapture.modeSwitchAriaAnnouncement"));
2430
2431
  }, [
2431
- _,
2432
+ v,
2432
2433
  t,
2433
2434
  s,
2434
2435
  i
2435
2436
  ]), r(() => {
2436
- i || !g || _(g);
2437
+ i || !_ || v(_);
2437
2438
  }, [
2438
- g,
2439
2439
  _,
2440
+ v,
2440
2441
  i
2441
2442
  ]), r(() => () => {
2442
- clearTimeout(h.current), clearTimeout(m.current);
2443
+ clearTimeout(g.current), clearTimeout(h.current);
2443
2444
  }, []), /* @__PURE__ */ l(n, { children: [/* @__PURE__ */ l("div", {
2444
2445
  ref: c,
2445
2446
  class: "IncodeCaptureVisuallyHidden",
2446
2447
  "aria-live": "assertive",
2447
2448
  "aria-atomic": "true"
2448
- }), g ? /* @__PURE__ */ l("div", {
2449
+ }), _ ? /* @__PURE__ */ l(n, { children: [/* @__PURE__ */ l("div", {
2449
2450
  class: "IncodeNotification",
2450
2451
  "aria-hidden": "true",
2451
2452
  children: /* @__PURE__ */ l("p", {
2452
2453
  class: "IncodeNotificationText",
2453
- children: g
2454
+ children: _
2454
2455
  })
2455
- }) : null] });
2456
+ }), /* @__PURE__ */ l(d, { size: 24 })] }) : null] });
2456
2457
  }, De = ({ manager: t, state: i }) => {
2457
2458
  let { captureStatus: a, stream: s, detectionStatus: u, attemptsRemaining: p, uploadError: h, assistedOnboarding: g } = i, [_, x] = c(!1), { t: S } = e(), w = o(null);
2458
2459
  if (r(() => {
@@ -2491,11 +2492,11 @@ var _e = ({ manager: t, permissionStatus: n }) => {
2491
2492
  })] }) : null
2492
2493
  })
2493
2494
  }),
2494
- /* @__PURE__ */ l(d, { size: 48 }),
2495
- u ? /* @__PURE__ */ l(n, { children: [/* @__PURE__ */ l(Ee, {
2495
+ /* @__PURE__ */ l(d, { size: 32 }),
2496
+ u ? /* @__PURE__ */ l(Ee, {
2496
2497
  detectionState: u,
2497
2498
  disabled: !!h || _
2498
- }), /* @__PURE__ */ l(d, { size: 24 })] }) : null,
2499
+ }) : null,
2499
2500
  u === "manualCapture" ? /* @__PURE__ */ l(Te, {
2500
2501
  ref: w,
2501
2502
  onClick: () => {
@@ -166,8 +166,8 @@ var A = {
166
166
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
167
167
  EXTERNAL_VERIFICATION: () => import("./ekycModule-BEbeoIpE.js").then((e) => e.EkycModule),
168
168
  EKYB: () => import("./ekybModule-ihbZAMJE.js").then((e) => e.EkybModule),
169
- DOCUMENT_CAPTURE: () => import("./documentCapture-_H424XAN.js").then((e) => e.DocumentCapture),
170
- ADDRESS: () => import("./documentCapture-_H424XAN.js").then((e) => e.DocumentCapture),
169
+ DOCUMENT_CAPTURE: () => import("./documentCapture-DO46bdnm.js").then((e) => e.DocumentCapture),
170
+ ADDRESS: () => import("./documentCapture-DO46bdnm.js").then((e) => e.DocumentCapture),
171
171
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
172
172
  MANDATORY_CONSENT: () => import("./mandatoryConsent-WIThElao.js").then((e) => e.MandatoryConsent),
173
173
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
@@ -665,12 +665,11 @@
665
665
 
666
666
  .IncodeSelfieManualCaptureText {
667
667
  text-align: center;
668
- font-size: var(--text-base, 1rem);
669
- line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
670
- --tw-leading: 1.14;
671
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
672
- line-height: 1.14;
673
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
668
+ font-family: var(--typography-headline-family);
669
+ font-size: var(--typography-headline-h5-size);
670
+ font-weight: var(--typography-headline-h5-weight);
671
+ line-height: var(--typography-headline-h5-line-height);
672
+ letter-spacing: var(--typography-headline-h5-letter-spacing);
674
673
  color: var(--color-text-body-primary, var(--text-body-800-primary));
675
674
  }
676
675
 
@@ -685,14 +684,13 @@
685
684
  display: flex;
686
685
  }
687
686
 
688
- .IncodeNotificationText {
687
+ .IncodeNotification .IncodeNotificationText {
689
688
  text-align: center;
690
- font-size: var(--text-2xl, 1.5rem);
691
- line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
692
- --tw-leading: 1.2;
693
- --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
694
- line-height: 1.2;
695
- font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
689
+ font-family: var(--typography-feedback-family);
690
+ font-size: var(--typography-feedback-l-size);
691
+ font-weight: var(--typography-feedback-l-weight);
692
+ line-height: var(--typography-feedback-l-line-height);
693
+ letter-spacing: var(--typography-feedback-l-letter-spacing);
696
694
  color: var(--color-text-body-primary, var(--text-body-800-primary));
697
695
  }
698
696
 
@@ -5,7 +5,7 @@ import { o, t as s } from "../incodeComponent-DzIDROLm.js";
5
5
  import { t as c } from "../spinner-l6dvYqCg.js";
6
6
  import "../spinner-CFvndzMU.js";
7
7
  import { t as l } from "../incodeModule-D_r2n18O.js";
8
- import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-ZiLgfdn2.js";
8
+ import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-yB6IHHHe.js";
9
9
  import { resolveWasmConfig as h, warmupWasm as g } from "@incodetech/core/wasm";
10
10
  import { createWorkflowManager as _ } from "@incodetech/core/workflow";
11
11
  //#region src/modules/workflow/workflowInit.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260421-c950692",
3
+ "version": "0.0.0-dev-20260421-d74e4f6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -183,7 +183,7 @@
183
183
  "qrcode": "^1.5.4",
184
184
  "signature_pad": "^5.1.3",
185
185
  "tailwindcss": "^4.1.17",
186
- "@incodetech/core": "0.0.0-dev-20260421-c950692"
186
+ "@incodetech/core": "0.0.0-dev-20260421-d74e4f6"
187
187
  },
188
188
  "devDependencies": {
189
189
  "@microsoft/api-extractor": "^7.53.3",