@incodetech/web 0.0.0-dev-20260309-3ae0dc2 → 0.0.0-dev-20260309-970aa39

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 (41) hide show
  1. package/dist/{Trans-BeVjp1Ze.js → Trans-CrErI8VP.js} +1 -1
  2. package/dist/authentication/authentication.es.js +3 -3
  3. package/dist/base.css +180 -90
  4. package/dist/baseTutorial-i0kcCybX.js +717 -0
  5. package/dist/{captureFooter-I1T3jXYf.js → captureFooter-BVLebxk_.js} +1 -1
  6. package/dist/{chevronDown-BGm_-EW6.js → chevronDown-DL5WsjxS.js} +1 -1
  7. package/dist/closeIcon-DmhdnnpJ.js +30 -0
  8. package/dist/curp-validation/curp-validation.es.js +6 -6
  9. package/dist/{dateInputComposed-o3bTFLSv.js → dateInputComposed-BvBQiMdN.js} +2 -2
  10. package/dist/{documentCapture-Cjt0kG-l.js → documentCapture-C3vAq9ev.js} +6 -6
  11. package/dist/{documentUpload-BXzwDFu-.js → documentUpload-BBr5ijea.js} +3 -3
  12. package/dist/{dropdownComposed-CdNahtel.js → dropdownComposed-BjDHcYMb.js} +118 -141
  13. package/dist/{ekybModule-Cfg6vEdC.js → ekybModule-rXpGlGJI.js} +4 -4
  14. package/dist/ekycModule-BjudjNd1.js +440 -0
  15. package/dist/email/email.es.js +3 -3
  16. package/dist/{errorContent-x9_n-x3d.js → errorContent-CiicsyRN.js} +4 -4
  17. package/dist/{faceMatch-CTNgRqLs.js → faceMatch-CiZ8QEzy.js} +2 -2
  18. package/dist/flow/flow.es.js +7 -7
  19. package/dist/flow/styles.css +0 -1
  20. package/dist/geolocation/geolocation.es.js +3 -3
  21. package/dist/governmentValidation/governmentValidation.es.js +6 -6
  22. package/dist/id/id.es.js +41 -44
  23. package/dist/id/styles.css +0 -1
  24. package/dist/{incodeModule-Cep-QgBA.js → incodeModule-DAveRAyZ.js} +77 -77
  25. package/dist/{otpInput-BT_mz2QV.js → otpInput-CoMOmDGR.js} +1 -1
  26. package/dist/{page-ws5_se-Y.js → page-CcgnVEBJ.js} +1 -1
  27. package/dist/phone/phone.es.js +4 -4
  28. package/dist/processing-C-wThMBe.js +19 -0
  29. package/dist/selfie/selfie.es.js +4 -4
  30. package/dist/spinner-IY4lPK0V.js +48 -0
  31. package/dist/{errorIcon-CfmANzND.js → successIcon-BXW0lXvd.js} +17 -17
  32. package/dist/themes/dark.css +1 -1
  33. package/dist/{tutorial-Dk_04cpU.js → tutorial-D492CTsM.js} +6 -6
  34. package/dist/useMediaQuery-Rn91JcLv.js +18 -0
  35. package/dist/{verificationResult-DB38rVq8.js → verificationResult-BLkF37Z6.js} +5 -5
  36. package/dist/{warningIcon-ByabB-Ag.js → warningIcon-CsSoiruR.js} +1 -1
  37. package/package.json +2 -2
  38. package/dist/baseTutorial-Bn4o165G.js +0 -348
  39. package/dist/ekycModule-DBQJnCtI.js +0 -450
  40. package/dist/processing-BivHhXrQ.js +0 -17
  41. package/dist/spinner-BNswWIfS.js +0 -46
@@ -1,10 +1,10 @@
1
- import { r as u, u as r, I as o, a } from "../incodeModule-Cep-QgBA.js";
1
+ import { r as u, u as r, I as o, a } from "../incodeModule-DAveRAyZ.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-Bn4o165G.js";
6
- import { P as f } from "../processing-BivHhXrQ.js";
7
- import { T as p, C as c } from "../tutorial-Dk_04cpU.js";
5
+ import { P as m } from "../baseTutorial-i0kcCybX.js";
6
+ import { P as f } from "../processing-C-wThMBe.js";
7
+ import { T as p, C as c } from "../tutorial-D492CTsM.js";
8
8
  const d = ({
9
9
  config: e,
10
10
  onFinish: i,
@@ -0,0 +1,48 @@
1
+ import { u as n, c as l, L as t, S as s } from "./incodeModule-DAveRAyZ.js";
2
+ import { k as a } from "./vendor-preact-DP-hbKuj.js";
3
+ const h = ({ children: e, className: c }) => /* @__PURE__ */ n("h2", { class: `IncodeTitle ${c ?? ""}`, children: e }), T = ({ children: e, className: c }) => /* @__PURE__ */ n("h4", { class: `IncodeTypographyH4 ${c ?? ""}`, children: e }), u = ({ children: e, className: c }) => /* @__PURE__ */ n("h5", { class: `IncodeTypographyH5 ${c ?? ""}`, children: e }), S = {
4
+ small: 24,
5
+ medium: 48,
6
+ large: 64
7
+ }, y = ({
8
+ title: e,
9
+ subtitle: c,
10
+ size: r = "medium",
11
+ fullScreen: i = !0,
12
+ className: o
13
+ }) => {
14
+ const d = S[r], p = l(
15
+ "IncodeSpinner",
16
+ i && "IncodeSpinnerFullScreen",
17
+ o
18
+ );
19
+ return /* @__PURE__ */ n(
20
+ "div",
21
+ {
22
+ class: p,
23
+ "data-testid": "spinner",
24
+ "data-title": e,
25
+ "data-subtitle": c,
26
+ "data-size": r,
27
+ children: /* @__PURE__ */ n("div", { class: "IncodeSpinnerContent", children: [
28
+ /* @__PURE__ */ n(t, { size: d }),
29
+ (e || c) && /* @__PURE__ */ n(a, { children: [
30
+ /* @__PURE__ */ n(s, { size: 16 }),
31
+ /* @__PURE__ */ n("div", { class: "IncodeSpinnerText", children: [
32
+ e && /* @__PURE__ */ n(h, { className: "IncodeSpinnerTitle", children: e }),
33
+ c && /* @__PURE__ */ n(a, { children: [
34
+ e && /* @__PURE__ */ n(s, { size: 12 }),
35
+ /* @__PURE__ */ n("p", { class: "IncodeSpinnerSubtitle", children: c })
36
+ ] })
37
+ ] })
38
+ ] })
39
+ ] })
40
+ }
41
+ );
42
+ };
43
+ export {
44
+ y as S,
45
+ h as T,
46
+ T as a,
47
+ u as b
48
+ };
@@ -1,48 +1,48 @@
1
- import { u as t } from "./incodeModule-Cep-QgBA.js";
2
- const i = ({ size: r = 64 }) => /* @__PURE__ */ t(
1
+ import { u as t } from "./incodeModule-DAveRAyZ.js";
2
+ const i = ({ size: r = 32 }) => /* @__PURE__ */ t(
3
3
  "svg",
4
4
  {
5
+ xmlns: "http://www.w3.org/2000/svg",
5
6
  width: r,
6
7
  height: r,
7
- viewBox: "0 0 16 17",
8
+ viewBox: "0 0 32 32",
8
9
  fill: "none",
9
- xmlns: "http://www.w3.org/2000/svg",
10
- class: "IncodeSuccessIcon",
10
+ class: "IncodeErrorIcon",
11
11
  "aria-hidden": "true",
12
12
  children: [
13
- /* @__PURE__ */ t("title", { children: "status" }),
13
+ /* @__PURE__ */ t("title", { children: "Error" }),
14
14
  /* @__PURE__ */ t(
15
15
  "path",
16
16
  {
17
- 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",
18
- fill: "var(--icon-status-positive-static)"
17
+ d: "M16 0C24.8219 0 32 7.17642 32 16C32 24.8219 24.8219 32 16 32C7.17811 32 0 24.8219 0 16C0 7.17642 7.17811 0 16 0ZM13.1553 11.3701C12.6618 10.8767 11.8636 10.8767 11.3701 11.3701C10.8767 11.8636 10.8767 12.6618 11.3701 13.1553L14.4053 16.1924L11.3721 19.2256C10.8803 19.7191 10.8803 20.5173 11.3721 21.0107C11.8656 21.504 12.6658 21.5041 13.1592 21.0107L16.1924 17.9775L19.2334 21.0205C19.481 21.2664 19.8029 21.3916 20.1279 21.3916C20.4513 21.3916 20.7746 21.2664 21.0205 21.0205C21.514 20.527 21.514 19.7269 21.0205 19.2334L17.9775 16.1924L21.0107 13.1572C21.5041 12.6638 21.504 11.8639 21.0107 11.3721C20.5173 10.8786 19.7191 10.8786 19.2256 11.3721L16.1904 14.4053L13.1553 11.3701Z",
18
+ fill: "var(--icon-status-negative)"
19
19
  }
20
20
  )
21
21
  ]
22
22
  }
23
- ), n = ({ size: r = 32 }) => /* @__PURE__ */ t(
23
+ ), n = ({ size: r = 64 }) => /* @__PURE__ */ t(
24
24
  "svg",
25
25
  {
26
- xmlns: "http://www.w3.org/2000/svg",
27
26
  width: r,
28
27
  height: r,
29
- viewBox: "0 0 32 32",
28
+ viewBox: "0 0 16 17",
30
29
  fill: "none",
31
- class: "IncodeErrorIcon",
30
+ xmlns: "http://www.w3.org/2000/svg",
31
+ class: "IncodeSuccessIcon",
32
32
  "aria-hidden": "true",
33
33
  children: [
34
- /* @__PURE__ */ t("title", { children: "Error" }),
34
+ /* @__PURE__ */ t("title", { children: "status" }),
35
35
  /* @__PURE__ */ t(
36
36
  "path",
37
37
  {
38
- d: "M16 0C24.8219 0 32 7.17642 32 16C32 24.8219 24.8219 32 16 32C7.17811 32 0 24.8219 0 16C0 7.17642 7.17811 0 16 0ZM13.1553 11.3701C12.6618 10.8767 11.8636 10.8767 11.3701 11.3701C10.8767 11.8636 10.8767 12.6618 11.3701 13.1553L14.4053 16.1924L11.3721 19.2256C10.8803 19.7191 10.8803 20.5173 11.3721 21.0107C11.8656 21.504 12.6658 21.5041 13.1592 21.0107L16.1924 17.9775L19.2334 21.0205C19.481 21.2664 19.8029 21.3916 20.1279 21.3916C20.4513 21.3916 20.7746 21.2664 21.0205 21.0205C21.514 20.527 21.514 19.7269 21.0205 19.2334L17.9775 16.1924L21.0107 13.1572C21.5041 12.6638 21.504 11.8639 21.0107 11.3721C20.5173 10.8786 19.7191 10.8786 19.2256 11.3721L16.1904 14.4053L13.1553 11.3701Z",
39
- fill: "var(--icon-status-negative)"
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)"
40
40
  }
41
41
  )
42
42
  ]
43
43
  }
44
44
  );
45
45
  export {
46
- n as E,
47
- i as S
46
+ i as E,
47
+ n as S
48
48
  };
@@ -719,7 +719,7 @@
719
719
  --surface-neutral-800: var(--primitive-color-gray-100);
720
720
  --surface-neutral-900: var(--primitive-color-gray-0);
721
721
  --surface-neutral-900-80: var(--primitive-color-gray-0-80);
722
- --surface-neutral-900-static: var(--primitive-color-gray-0);
722
+ --surface-neutral-900-static: var(--primitive-color-gray-900);
723
723
  --surface-neutral-1000: var(--primitive-color-gray-0);
724
724
 
725
725
  /* Surface / Brand */
@@ -1,11 +1,11 @@
1
- import { b as d, u as t, c as S, B as T, S as c, L as D } from "./incodeModule-Cep-QgBA.js";
1
+ import { b as d, u as t, c as S, B as T, S as c, L as D } from "./incodeModule-DAveRAyZ.js";
2
2
  import { g as h, d as f, k as _, A as I, y as g } from "./vendor-preact-DP-hbKuj.js";
3
- import { S as L } from "./errorIcon-CfmANzND.js";
4
- import { P as E } from "./page-ws5_se-Y.js";
5
- import { S as m, T as v } from "./spinner-BNswWIfS.js";
6
3
  import "./uiConfig-B8PUPgHY.js";
7
- import { E as A } from "./errorContent-x9_n-x3d.js";
8
- import { B as N } from "./baseTutorial-Bn4o165G.js";
4
+ import { S as L } from "./successIcon-BXW0lXvd.js";
5
+ import { P as E } from "./page-CcgnVEBJ.js";
6
+ import { S as m, T as v } from "./spinner-IY4lPK0V.js";
7
+ import { E as A } from "./errorContent-CiicsyRN.js";
8
+ import { B as N } from "./baseTutorial-i0kcCybX.js";
9
9
  const a = {
10
10
  title: "Something went wrong",
11
11
  description: "Please try again later"
@@ -0,0 +1,18 @@
1
+ import { d, y as a } from "./vendor-preact-DP-hbKuj.js";
2
+ const c = "(max-width: 767px)";
3
+ function s(e) {
4
+ const [i, o] = d(
5
+ () => typeof window < "u" && window.matchMedia(e).matches
6
+ );
7
+ return a(() => {
8
+ if (typeof window > "u") return;
9
+ const n = window.matchMedia(e), t = () => o(n.matches);
10
+ return n.addEventListener("change", t), () => n.removeEventListener("change", t);
11
+ }, [e]), i;
12
+ }
13
+ function h() {
14
+ return s(c);
15
+ }
16
+ export {
17
+ h as u
18
+ };
@@ -1,10 +1,10 @@
1
1
  import { d as b, y as g } from "./vendor-preact-DP-hbKuj.js";
2
- import { b as h, u as e, B as I } from "./incodeModule-Cep-QgBA.js";
2
+ import { b as h, u as e, B as I } from "./incodeModule-DAveRAyZ.js";
3
3
  import "./uiConfig-B8PUPgHY.js";
4
- import { I as F } from "./dropdownComposed-CdNahtel.js";
5
- import { S, E as y } from "./errorIcon-CfmANzND.js";
6
- import { P as m } from "./page-ws5_se-Y.js";
7
- import { S as k } from "./spinner-BNswWIfS.js";
4
+ import { I as F } from "./dropdownComposed-BjDHcYMb.js";
5
+ import { S, E as y } from "./successIcon-BXW0lXvd.js";
6
+ import { P as m } from "./page-CcgnVEBJ.js";
7
+ import { S as k } from "./spinner-IY4lPK0V.js";
8
8
  function H(i, o) {
9
9
  const [a, n] = b(!1);
10
10
  return g(() => {
@@ -1,4 +1,4 @@
1
- import { u as n } from "./incodeModule-Cep-QgBA.js";
1
+ import { u as n } from "./incodeModule-DAveRAyZ.js";
2
2
  const t = ({ size: i = 32 }) => /* @__PURE__ */ n(
3
3
  "svg",
4
4
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260309-3ae0dc2",
3
+ "version": "0.0.0-dev-20260309-970aa39",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -107,7 +107,7 @@
107
107
  "libphonenumber-js": "^1.11.0",
108
108
  "preact-custom-element": "^4.6.0",
109
109
  "tailwindcss": "^4.1.17",
110
- "@incodetech/core": "0.0.0-dev-20260309-3ae0dc2"
110
+ "@incodetech/core": "0.0.0-dev-20260309-970aa39"
111
111
  },
112
112
  "devDependencies": {
113
113
  "@microsoft/api-extractor": "^7.53.3",