@incodetech/web 0.0.0-dev-20260312-e476b70 → 0.0.0-dev-20260313-573a40c

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 (48) hide show
  1. package/dist/{Trans-BnPbhF6c.js → Trans-CVsR_Mce.js} +1 -1
  2. package/dist/authentication/authentication.es.js +3 -3
  3. package/dist/base.css +97 -81
  4. package/dist/{baseTutorial-By7hI83C.js → baseTutorial-DmtD23I-.js} +196 -158
  5. package/dist/{captureFooter-qhkTSzDA.js → captureFooter-CokUs1te.js} +1 -1
  6. package/dist/{chevronDown-BZNPUs4a.js → chevronDown-DYJNV1QK.js} +1 -1
  7. package/dist/{closeIcon-B5HxSoNj.js → closeIcon-DQDl1mpN.js} +1 -1
  8. package/dist/curp-validation/curp-validation.es.js +6 -6
  9. package/dist/curp-validation/styles.css +22 -28
  10. package/dist/{dateInputComposed-Badm2Tzx.js → dateInputComposed-BzMiH4hO.js} +2 -2
  11. package/dist/document-capture/styles.css +18 -18
  12. package/dist/{documentCapture-ChFrtfzB.js → documentCapture-BxRw-eCN.js} +6 -6
  13. package/dist/{dropdownComposed-DgA0fNAh.js → dropdownComposed-DEUeG49j.js} +4 -4
  14. package/dist/ekyb/styles.css +2 -2
  15. package/dist/{ekybModule-DexnANPQ.js → ekybModule-C3Ujm2Yw.js} +4 -4
  16. package/dist/ekyc/styles.css +4 -4
  17. package/dist/{ekycModule-D8_or1xq.js → ekycModule-BSb0VO0K.js} +5 -5
  18. package/dist/email/email.es.js +3 -3
  19. package/dist/email/styles.css +1 -1
  20. package/dist/errorContent-DsXEhW_F.js +43 -0
  21. package/dist/face-match/styles.css +3 -3
  22. package/dist/{faceMatch-DXcWwP9u.js → faceMatch-BvQGLKCA.js} +2 -2
  23. package/dist/flow/flow.es.js +7 -7
  24. package/dist/flow/styles.css +232 -156
  25. package/dist/geolocation/geolocation.es.js +17 -17
  26. package/dist/geolocation/styles.css +4 -4
  27. package/dist/governmentValidation/governmentValidation.es.js +6 -6
  28. package/dist/governmentValidation/styles.css +6 -8
  29. package/dist/id/id.es.js +6 -6
  30. package/dist/id/styles.css +54 -54
  31. package/dist/{incodeModule-7zNv7YeX.js → incodeModule-C-yBwl3V.js} +112 -110
  32. package/dist/{otpInput-DWZ7I1PN.js → otpInput-DTGm8I2x.js} +1 -1
  33. package/dist/{page-Bdz8JP3P.js → page-DoaUg40Q.js} +64 -49
  34. package/dist/phone/phone.es.js +4 -4
  35. package/dist/phone/styles.css +8 -8
  36. package/dist/{processing-D6kl543t.js → processing-BIuFpDjr.js} +2 -2
  37. package/dist/selfie/selfie.es.js +14 -7
  38. package/dist/selfie/styles.css +32 -20
  39. package/dist/spinner-EHZM4eN1.js +64 -0
  40. package/dist/{successIcon-BPe0Wymn.js → successIcon-CMUvDv_Z.js} +6 -6
  41. package/dist/themes/dark.css +415 -149
  42. package/dist/themes/light.css +371 -119
  43. package/dist/{tutorial-CJs2GHe1.js → tutorial-DkmCNA8p.js} +252 -175
  44. package/dist/{verificationResult-BfLzIvM8.js → verificationResult-7tUMuDVH.js} +5 -5
  45. package/dist/{warningIcon-C9TCAUlH.js → warningIcon-m0tjjxQl.js} +1 -1
  46. package/package.json +2 -2
  47. package/dist/errorContent-BMXamgg9.js +0 -30
  48. package/dist/spinner-BknkxcID.js +0 -48
@@ -1,11 +1,11 @@
1
- import { u as n, S, r as R, I as W, a as F, B as L } from "../incodeModule-7zNv7YeX.js";
1
+ import { u as n, S, r as R, I as W, a as F, B as L } from "../incodeModule-C-yBwl3V.js";
2
2
  import { createPhoneManager as M } from "@incodetech/core/phone";
3
3
  import { d as P, A as T, y as w, k } from "../vendor-preact-DP-hbKuj.js";
4
4
  import "@incodetech/core";
5
- import { O as G } from "../otpInput-DWZ7I1PN.js";
6
- import { P as D } from "../page-Bdz8JP3P.js";
5
+ import { O as G } from "../otpInput-DTGm8I2x.js";
6
+ import { P as D } from "../page-DoaUg40Q.js";
7
7
  import { g as $, c as b, p as N, A as V } from "../countries-DDCxQhGs.js";
8
- import { C as U } from "../chevronDown-BZNPUs4a.js";
8
+ import { C as U } from "../chevronDown-DYJNV1QK.js";
9
9
  const j = ({
10
10
  countryCode: i,
11
11
  prefilledPhone: d,
@@ -92,12 +92,12 @@
92
92
  padding-left: var(--spacing-16, var(--spacing-16, 16px));
93
93
  cursor: pointer;
94
94
  border-style: var(--tw-border-style);
95
- border-width: var(--border-width-none, var(--border-none));
95
+ border-width: var(--border-width-none, var(--primitive-border-width-0));
96
96
  --tw-border-style: none;
97
97
  font-size: var(--text-18, var(--primitive-typography-size-18));
98
98
  --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
99
99
  font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
100
- color: var(--color-text-body-primary, var(--text-body-primary));
100
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
101
101
  border-radius: var(--radius-small, var(--border-radius-small));
102
102
  background-color: #0000;
103
103
  border-style: none;
@@ -129,7 +129,7 @@
129
129
  --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
130
130
  font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
131
131
  white-space: nowrap;
132
- color: var(--color-text-body-primary, var(--text-body-primary));
132
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
133
133
  }
134
134
 
135
135
  .IncodePhonePage .IncodePhoneCountryArrow {
@@ -181,9 +181,9 @@
181
181
  font-size: var(--text-16, var(--primitive-typography-size-16));
182
182
  --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
183
183
  font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
184
- color: var(--color-text-body-primary, var(--text-body-primary));
184
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
185
185
  border-style: var(--tw-border-style);
186
- border-width: var(--border-width-none, var(--border-none));
186
+ border-width: var(--border-width-none, var(--primitive-border-width-0));
187
187
  --tw-border-style: none;
188
188
  text-align: left;
189
189
  background-color: #0000;
@@ -209,21 +209,21 @@
209
209
  .IncodePhonePage .IncodePhoneCountryOptionCode {
210
210
  min-width: 52px;
211
211
  font-size: var(--text-16, var(--primitive-typography-size-16));
212
- color: var(--color-text-body-secondary, var(--text-body-secondary));
212
+ color: var(--color-text-body-secondary, var(--text-body-500-secondary));
213
213
  }
214
214
 
215
215
  .IncodePhonePage .IncodePhoneCountryOptionName {
216
216
  text-overflow: ellipsis;
217
217
  white-space: nowrap;
218
218
  font-size: var(--text-16, var(--primitive-typography-size-16));
219
- color: var(--color-text-body-primary, var(--text-body-primary));
219
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
220
220
  flex: 1;
221
221
  overflow: hidden;
222
222
  }
223
223
 
224
224
  .IncodePhonePage .IncodePhoneInputField {
225
225
  border-style: var(--tw-border-style);
226
- border-width: var(--border-width-none, var(--border-none));
226
+ border-width: var(--border-width-none, var(--primitive-border-width-0));
227
227
  --tw-border-style: none;
228
228
  width: 100%;
229
229
  padding-inline: var(--spacing-16, var(--spacing-16, 16px));
@@ -1,5 +1,5 @@
1
- import { b as i, u as t } from "./incodeModule-7zNv7YeX.js";
2
- import { S as e } from "./spinner-BknkxcID.js";
1
+ import { b as i, u as t } from "./incodeModule-C-yBwl3V.js";
2
+ import { S as e } from "./spinner-EHZM4eN1.js";
3
3
  import "./uiConfig-B8PUPgHY.js";
4
4
  import "./vendor-preact-DP-hbKuj.js";
5
5
  const s = () => {
@@ -1,16 +1,16 @@
1
- import { r as u, u as r, I as o, a } from "../incodeModule-7zNv7YeX.js";
1
+ import { r as a, u as r, I as o, a as u } from "../incodeModule-C-yBwl3V.js";
2
2
  import { createSelfieManager as l } from "@incodetech/core/selfie";
3
3
  import "../vendor-preact-DP-hbKuj.js";
4
4
  import "@incodetech/core";
5
- import { P as m } from "../baseTutorial-By7hI83C.js";
6
- import { P as f } from "../processing-D6kl543t.js";
7
- import { T as p, C as c } from "../tutorial-CJs2GHe1.js";
5
+ import { P as m } from "../baseTutorial-DmtD23I-.js";
6
+ import { P as f } from "../processing-BIuFpDjr.js";
7
+ import { T as p, C as c } from "../tutorial-DkmCNA8p.js";
8
8
  const d = ({
9
9
  config: e,
10
10
  onFinish: i,
11
11
  onError: s
12
12
  }) => {
13
- const [t, n] = a(() => l({ config: e }));
13
+ const [t, n] = u(() => l({ config: e }));
14
14
  return t.status === "idle" || t.status === "loading" ? null : t.status === "tutorial" ? /* @__PURE__ */ r(p, { manager: n }) : t.status === "permissions" ? /* @__PURE__ */ r(
15
15
  m,
16
16
  {
@@ -18,8 +18,15 @@ const d = ({
18
18
  permissionStatus: t.permissionStatus
19
19
  }
20
20
  ) : t.status === "capture" ? /* @__PURE__ */ r(c, { manager: n, state: t }) : t.status === "processing" ? /* @__PURE__ */ r(f, {}) : t.status === "finished" ? (i?.(), null) : t.status === "closed" ? (s?.(void 0), null) : (t.status === "error" && s?.(t.error), null);
21
- }, g = ({ config: e, onFinish: i, onError: s }) => /* @__PURE__ */ r(o, { children: e ? /* @__PURE__ */ r(d, { config: e, onFinish: i, onError: s }) : null });
22
- u(g, "incode-selfie");
21
+ }, g = ({ config: e, onFinish: i, onError: s }) => /* @__PURE__ */ r(o, { children: /* @__PURE__ */ r("main", { class: "IncodeSelfieMain", children: e ? /* @__PURE__ */ r(
22
+ d,
23
+ {
24
+ config: e,
25
+ onFinish: i,
26
+ onError: s
27
+ }
28
+ ) : null }) });
29
+ a(g, "incode-selfie");
23
30
  export {
24
31
  g as Selfie
25
32
  };
@@ -172,6 +172,11 @@
172
172
  }
173
173
  }
174
174
 
175
+ .IncodeSelfieMain {
176
+ width: 100%;
177
+ height: 100%;
178
+ }
179
+
175
180
  .IncodeCameraButton {
176
181
  justify-content: center;
177
182
  align-items: center;
@@ -179,7 +184,7 @@
179
184
  }
180
185
 
181
186
  .IncodeCameraButton .IncodeCameraButtonPath {
182
- fill: var(--color-border-brand-500, var(--border-brand-500-static));
187
+ fill: var(--color-border-brand-500, var(--border-brand-500));
183
188
  }
184
189
 
185
190
  .IncodeCameraButton .IncodeCameraButtonBackground {
@@ -244,14 +249,32 @@
244
249
  transform: scaleX(-1);
245
250
  }
246
251
 
247
- .IncodeCaptureUploadingPage .IncodeCaptureUploadingContainer {
252
+ .IncodeCaptureCapturingPage .IncodeCaptureCapturingActions {
253
+ justify-content: center;
254
+ margin-top: auto;
255
+ display: flex;
256
+ }
257
+
258
+ .IncodeCaptureVisuallyHidden {
259
+ clip-path: inset(50%);
260
+ white-space: nowrap;
261
+ border-width: 0;
262
+ width: 1px;
263
+ height: 1px;
264
+ margin: -1px;
265
+ padding: 0;
266
+ position: absolute;
267
+ overflow: hidden;
268
+ }
269
+
270
+ .IncodeCaptureStatusPage .IncodeCaptureStatusContainer {
248
271
  flex-direction: column;
249
272
  flex: 1;
250
- animation: .4s ease-out fadeInScale;
273
+ align-items: center;
251
274
  display: flex;
252
275
  }
253
276
 
254
- .IncodeCaptureUploadingPage .IncodeCaptureUploadingTitle {
277
+ .IncodeCaptureStatusPage .IncodeCaptureStatusTitle {
255
278
  text-align: center;
256
279
  font-size: var(--text-2xl, 1.5rem);
257
280
  line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
@@ -261,15 +284,11 @@
261
284
  font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
262
285
  --tw-tracking: -1px;
263
286
  letter-spacing: -1px;
264
- color: var(--color-text-body-primary, var(--text-body-primary));
265
- }
266
-
267
- .IncodeCaptureUploadingPage .IncodeCaptureUploadingPrimaryIcon {
268
- fill: var(--color-spinner-surface-primary, var(--spinner-surface-primary));
287
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
269
288
  }
270
289
 
271
- .IncodeCaptureUploadingPage .IncodeCaptureUploadingSecondaryIcon {
272
- fill: var(--color-spinner-surface-secondary, var(--spinner-surface-secondary));
290
+ .IncodeCaptureStatusPage.IncodeCaptureStatusUploading .IncodeCaptureStatusContainer {
291
+ animation: .4s ease-out fadeInScale;
273
292
  }
274
293
 
275
294
  @keyframes fadeInScale {
@@ -284,13 +303,6 @@
284
303
  }
285
304
  }
286
305
 
287
- .IncodeCaptureSuccessPage .IncodeCaptureSuccessContainer {
288
- flex-direction: column;
289
- flex: 1;
290
- align-items: center;
291
- display: flex;
292
- }
293
-
294
306
  .IncodeFaceOutline {
295
307
  height: 100%;
296
308
  }
@@ -326,7 +338,7 @@
326
338
  --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
327
339
  line-height: 1.14;
328
340
  font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
329
- color: var(--color-text-body-primary, var(--text-body-primary));
341
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
330
342
  }
331
343
 
332
344
  .IncodeManualCaptureButtonButton {
@@ -347,7 +359,7 @@
347
359
  --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
348
360
  line-height: 1.2;
349
361
  font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
350
- color: var(--color-text-body-primary, var(--text-body-primary));
362
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
351
363
  }
352
364
 
353
365
  .IncodeSelfieTutorial {
@@ -0,0 +1,64 @@
1
+ import { u as e, c as p, L as h, S as o } from "./incodeModule-C-yBwl3V.js";
2
+ import { D as S, A as u, y as I, k as i } from "./vendor-preact-DP-hbKuj.js";
3
+ const m = S(
4
+ ({ children: n, className: r, ...c }, s) => /* @__PURE__ */ e("h2", { ref: s, class: `IncodeTitle ${r ?? ""}`, ...c, children: n })
5
+ ), g = ({ children: n, className: r }) => /* @__PURE__ */ e("h4", { class: `IncodeTypographyH4 ${r ?? ""}`, children: n }), z = ({ children: n, className: r }) => /* @__PURE__ */ e("h5", { class: `IncodeTypographyH5 ${r ?? ""}`, children: n }), y = {
6
+ small: 24,
7
+ medium: 48,
8
+ large: 64
9
+ }, v = ({
10
+ title: n,
11
+ subtitle: r,
12
+ size: c = "medium",
13
+ fullScreen: s = !0,
14
+ className: d
15
+ }) => {
16
+ const l = y[c], a = u(null);
17
+ I(() => {
18
+ n && a.current?.focus();
19
+ }, [n]);
20
+ const t = p(
21
+ "IncodeSpinner",
22
+ s && "IncodeSpinnerFullScreen",
23
+ d
24
+ );
25
+ return /* @__PURE__ */ e(
26
+ "div",
27
+ {
28
+ class: t,
29
+ "data-testid": "spinner",
30
+ "data-title": n,
31
+ "data-subtitle": r,
32
+ "data-size": c,
33
+ role: "status",
34
+ "aria-live": "polite",
35
+ children: /* @__PURE__ */ e("div", { class: "IncodeSpinnerContent", children: [
36
+ /* @__PURE__ */ e(h, { size: l }),
37
+ (n || r) && /* @__PURE__ */ e(i, { children: [
38
+ /* @__PURE__ */ e(o, { size: 16 }),
39
+ /* @__PURE__ */ e("div", { class: "IncodeSpinnerText", children: [
40
+ n && /* @__PURE__ */ e(
41
+ m,
42
+ {
43
+ ref: a,
44
+ tabIndex: -1,
45
+ className: "IncodeSpinnerTitle",
46
+ children: n
47
+ }
48
+ ),
49
+ r && /* @__PURE__ */ e(i, { children: [
50
+ n && /* @__PURE__ */ e(o, { size: 12 }),
51
+ /* @__PURE__ */ e("p", { class: "IncodeSpinnerSubtitle", children: r })
52
+ ] })
53
+ ] })
54
+ ] })
55
+ ] })
56
+ }
57
+ );
58
+ };
59
+ export {
60
+ v as S,
61
+ m as T,
62
+ g as a,
63
+ z as b
64
+ };
@@ -1,5 +1,5 @@
1
- import { u as t } from "./incodeModule-7zNv7YeX.js";
2
- const i = ({ size: r = 32 }) => /* @__PURE__ */ t(
1
+ import { u as t } from "./incodeModule-C-yBwl3V.js";
2
+ const n = ({ size: r = 32 }) => /* @__PURE__ */ t(
3
3
  "svg",
4
4
  {
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -20,7 +20,7 @@ const i = ({ size: r = 32 }) => /* @__PURE__ */ t(
20
20
  )
21
21
  ]
22
22
  }
23
- ), n = ({ size: r = 64 }) => /* @__PURE__ */ t(
23
+ ), i = ({ size: r = 64 }) => /* @__PURE__ */ t(
24
24
  "svg",
25
25
  {
26
26
  width: r,
@@ -36,13 +36,13 @@ const i = ({ size: r = 32 }) => /* @__PURE__ */ t(
36
36
  "path",
37
37
  {
38
38
  d: "M8 0.5C12.4182 0.500064 16 4.0818 16 8.5C16 12.9182 12.4181 16.4999 8 16.5C3.58181 16.5 3.68521e-05 12.9182 0 8.5C0 4.08176 3.58179 0.5 8 0.5ZM11.1748 6.11621C10.9423 5.88373 10.5747 5.86781 10.3242 6.06934L10.3203 6.07324L10.2764 6.1123L6.85742 9.53125L5.72656 8.40039C5.47758 8.1514 5.0732 8.1514 4.82422 8.40039C4.59169 8.63292 4.57673 9.00038 4.77832 9.25098L4.78125 9.25488L4.82031 9.29883L6.40625 10.8848C6.63867 11.117 7.00542 11.1319 7.25586 10.9307L7.26074 10.9277L7.30371 10.8877L11.1748 7.01758C11.4235 6.76863 11.4234 6.36521 11.1748 6.11621Z",
39
- fill: "var(--icon-status-positive-static)"
39
+ fill: "var(--icon-status-positive)"
40
40
  }
41
41
  )
42
42
  ]
43
43
  }
44
44
  );
45
45
  export {
46
- i as E,
47
- n as S
46
+ n as E,
47
+ i as S
48
48
  };