@incodetech/web 0.0.0-dev-20260324-90ddcfd → 0.0.0-dev-20260324-5c4350d

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 (54) hide show
  1. package/dist/{Trans-Bw5n8KhH.js → Trans-CmIn1iIT.js} +2 -2
  2. package/dist/{addressAutocomplete-C69qGh5F.js → addressAutocomplete-CxCJGerQ.js} +6 -6
  3. package/dist/authentication/authentication.es.js +5 -5
  4. package/dist/base.css +180 -77
  5. package/dist/{button-Yr39X4SE.js → button-4MSiYDnV.js} +2 -2
  6. package/dist/{captureFooter-Dum5qpdZ.js → captureFooter-DzNZKB3W.js} +4 -4
  7. package/dist/{checkbox-BkW6ZbEQ.js → checkbox-BpshDdva.js} +3 -3
  8. package/dist/{chevronDown-CsZysK60.js → chevronDown-DL4meMSV.js} +1 -1
  9. package/dist/closeIcon-BPEUaVcY.js +28 -0
  10. package/dist/consent/consent.es.js +8 -8
  11. package/dist/curp-validation/curp-validation.es.js +11 -11
  12. package/dist/{dateInputComposed-CjfYBUJj.js → dateInputComposed-hbC5NYzY.js} +4 -4
  13. package/dist/document-capture/styles.css +8 -8
  14. package/dist/{documentCapture-DGJU-4sT.js → documentCapture-Da2tqAj7.js} +10 -10
  15. package/dist/{dropdownComposed-DLZ4R_VD.js → dropdownComposed-EV98VL0f.js} +5 -5
  16. package/dist/{ekybModule-HZYjE90U.js → ekybModule-B5uDoatU.js} +10 -10
  17. package/dist/{ekycModule-Dx6rX4_y.js → ekycModule-BTnFWgMc.js} +11 -11
  18. package/dist/email/email.es.js +6 -6
  19. package/dist/{errorContent-LcOhVnBZ.js → errorContent-Da5jHk94.js} +6 -6
  20. package/dist/{errorIcon-DOyZZgsP.js → errorIcon-9BBRX6sL.js} +1 -1
  21. package/dist/extensibility.es.js +46 -45
  22. package/dist/{faceMatch-C5Sgst55.js → faceMatch-Bo5rhUZt.js} +5 -5
  23. package/dist/{fileIcon--4cgz7hZ.js → fileIcon-B27V0M_C.js} +12 -12
  24. package/dist/{flipAnimation-C5DtSdAY.js → flipAnimation-Bf6bQw_b.js} +18 -18
  25. package/dist/flow/flow.es.js +14 -14
  26. package/dist/flow/styles.css +8 -8
  27. package/dist/{formField-DpLYKGUE.js → formField-D3ZxxcNB.js} +8 -8
  28. package/dist/geolocation/geolocation.es.js +6 -6
  29. package/dist/governmentValidation/governmentValidation.es.js +10 -10
  30. package/dist/id/id.es.js +12 -12
  31. package/dist/{incodeModule-Bxzkb7nW.js → incodeModule-DRyuIPmX.js} +1 -1
  32. package/dist/index.es.js +3 -3
  33. package/dist/{inputComposed-BOGdXswZ.js → inputComposed-DhRAY3Fu.js} +5 -5
  34. package/dist/{mandatoryConsent-z0Ci8SDN.js → mandatoryConsent-CT800kES.js} +8 -8
  35. package/dist/manualCaptureButton-CiLPcIbM.js +1065 -0
  36. package/dist/{otpInput-BfCYQ0Km.js → otpInput-B9BjboC3.js} +4 -4
  37. package/dist/{page-DO2rYslN.js → page-hL_3Czvl.js} +2 -2
  38. package/dist/phone/phone.es.js +8 -8
  39. package/dist/{phoneInput-B7gKhoUa.js → phoneInput-DghDWfBf.js} +3 -3
  40. package/dist/{phoneInputComposed-kkWl6RLT.js → phoneInputComposed-D-hgSv2a.js} +6 -6
  41. package/dist/{processing-BGKugkCh.js → processing-CLMwZ0nd.js} +4 -4
  42. package/dist/{richText-CfMkKIUg.js → richText-f29sTPR6.js} +2 -2
  43. package/dist/selfie/selfie.es.js +6 -6
  44. package/dist/{spinner-Djok6FY8.js → spinner-Blf94o9y.js} +2 -2
  45. package/dist/{successIcon-CjkBWk8J.js → successIcon-31zOpE7h.js} +1 -1
  46. package/dist/{tutorial-Dptz5zyj.js → tutorial-DU22-ztX.js} +8 -8
  47. package/dist/types/extensibility.d.ts +82 -3
  48. package/dist/{uiConfig-CKJmKRCo.js → uiConfig-BYa6NxEI.js} +1 -1
  49. package/dist/{useMediaQuery-DSN9IIfj.js → useMediaQuery-DJyJR2Gy.js} +1 -1
  50. package/dist/{vendor-preact--mDTxXnt.js → vendor-preact-BJgvpglI.js} +130 -125
  51. package/dist/{warningIcon-DgHOtF9T.js → warningIcon-_vavOdMY.js} +1 -1
  52. package/package.json +2 -2
  53. package/dist/closeIcon-DrD_JWne.js +0 -30
  54. package/dist/manualCaptureButton-CtHbJjgz.js +0 -819
@@ -1,7 +1,7 @@
1
- import { b as N, u as e, S as x, B as g } from "./button-Yr39X4SE.js";
2
- import { d as R, A as p, q as S, y as m } from "./vendor-preact--mDTxXnt.js";
3
- import { a as $ } from "./inputComposed-BOGdXswZ.js";
4
- import "./uiConfig-CKJmKRCo.js";
1
+ import { b as N, u as e, S as x, B as g } from "./button-4MSiYDnV.js";
2
+ import { d as R, A as p, q as S, y as m } from "./vendor-preact-BJgvpglI.js";
3
+ import { a as $ } from "./inputComposed-DhRAY3Fu.js";
4
+ import "./uiConfig-BYa6NxEI.js";
5
5
  const s = 6, B = (l) => {
6
6
  const c = Math.floor(l / 60), u = l % 60;
7
7
  return `${c}:${u.toString().padStart(2, "0")}`;
@@ -1,5 +1,5 @@
1
- import { c as f, u as e, S as i, V as m, i as p } from "./button-Yr39X4SE.js";
2
- import { A as S, y as v, k as c } from "./vendor-preact--mDTxXnt.js";
1
+ import { c as f, u as e, S as i, V as m, i as p } from "./button-4MSiYDnV.js";
2
+ import { A as S, y as v, k as c } from "./vendor-preact-BJgvpglI.js";
3
3
  const L = ({
4
4
  title: a,
5
5
  titleId: r,
@@ -1,13 +1,13 @@
1
- import { u as e, I as b, b as I, a as C, S as c, B as O } from "../button-Yr39X4SE.js";
1
+ import { u as e, I as b, b as I, a as C, S as c, B as O } from "../button-4MSiYDnV.js";
2
2
  import { createPhoneManager as v } from "@incodetech/core/phone";
3
- import { d as S } from "../vendor-preact--mDTxXnt.js";
4
- import "../uiConfig-CKJmKRCo.js";
3
+ import { d as S } from "../vendor-preact-BJgvpglI.js";
4
+ import "../uiConfig-BYa6NxEI.js";
5
5
  import "@incodetech/core";
6
- import { C as E } from "../checkbox-BkW6ZbEQ.js";
7
- import { O as y } from "../otpInput-BfCYQ0Km.js";
8
- import { P as m } from "../page-DO2rYslN.js";
9
- import { P as w } from "../phoneInputComposed-kkWl6RLT.js";
10
- import { r as k } from "../incodeModule-Bxzkb7nW.js";
6
+ import { C as E } from "../checkbox-BpshDdva.js";
7
+ import { O as y } from "../otpInput-B9BjboC3.js";
8
+ import { P as m } from "../page-hL_3Czvl.js";
9
+ import { P as w } from "../phoneInputComposed-D-hgSv2a.js";
10
+ import { r as k } from "../incodeModule-DRyuIPmX.js";
11
11
  const B = ({
12
12
  config: n,
13
13
  manager: r,
@@ -1,7 +1,7 @@
1
- import { u as n, S } from "./button-Yr39X4SE.js";
2
- import { d as p, A as D, y as u, k as $ } from "./vendor-preact--mDTxXnt.js";
1
+ import { u as n, S } from "./button-4MSiYDnV.js";
2
+ import { d as p, A as D, y as u, k as $ } from "./vendor-preact-BJgvpglI.js";
3
3
  import { g as b, c as g } from "./countries-DfLkrF0x.js";
4
- import { C as z } from "./chevronDown-CsZysK60.js";
4
+ import { C as z } from "./chevronDown-DL4meMSV.js";
5
5
  import { p as k, A } from "./AsYouType-D1H_js4X.js";
6
6
  const M = ({
7
7
  countryCode: P,
@@ -1,10 +1,10 @@
1
- import { u as r } from "./button-Yr39X4SE.js";
2
- import { D as J, d as L, A as x, T as M, y as Q, q as A } from "./vendor-preact--mDTxXnt.js";
1
+ import { u as r } from "./button-4MSiYDnV.js";
2
+ import { D as J, d as L, A as x, T as M, y as Q, q as A } from "./vendor-preact-BJgvpglI.js";
3
3
  import { w as X, g as I, c as j, b as k } from "./countries-DfLkrF0x.js";
4
- import { D as z } from "./dropdownComposed-DLZ4R_VD.js";
5
- import { E as q } from "./errorIcon-DOyZZgsP.js";
6
- import { S as _ } from "./successIcon-CjkBWk8J.js";
7
- import { a as e2 } from "./inputComposed-BOGdXswZ.js";
4
+ import { D as z } from "./dropdownComposed-EV98VL0f.js";
5
+ import { E as q } from "./errorIcon-9BBRX6sL.js";
6
+ import { S as _ } from "./successIcon-31zOpE7h.js";
7
+ import { a as e2 } from "./inputComposed-DhRAY3Fu.js";
8
8
  import { P as n2, p as b, A as g } from "./AsYouType-D1H_js4X.js";
9
9
  function o2(e, o, a) {
10
10
  if (o[e])
@@ -1,7 +1,7 @@
1
- import { b as i, u as t } from "./button-Yr39X4SE.js";
2
- import { S as e } from "./spinner-Djok6FY8.js";
3
- import "./uiConfig-CKJmKRCo.js";
4
- import "./vendor-preact--mDTxXnt.js";
1
+ import { b as i, u as t } from "./button-4MSiYDnV.js";
2
+ import { S as e } from "./spinner-Blf94o9y.js";
3
+ import "./uiConfig-BYa6NxEI.js";
4
+ import "./vendor-preact-BJgvpglI.js";
5
5
  const s = () => {
6
6
  const { t: r } = i();
7
7
  return /* @__PURE__ */ t(
@@ -1,8 +1,8 @@
1
1
  var Zn = Object.defineProperty;
2
2
  var jn = (r, e, t) => e in r ? Zn(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var A = (r, e, t) => jn(r, typeof e != "symbol" ? e + "" : e, t);
4
- import { u as an } from "./button-Yr39X4SE.js";
5
- import { _ as Yn, x as Xn } from "./vendor-preact--mDTxXnt.js";
4
+ import { u as an } from "./button-4MSiYDnV.js";
5
+ import { _ as Yn, x as Xn } from "./vendor-preact-BJgvpglI.js";
6
6
  const {
7
7
  entries: yn,
8
8
  setPrototypeOf: on,
@@ -1,11 +1,11 @@
1
- import { u as r, I as u, a } from "../button-Yr39X4SE.js";
1
+ import { u as r, I as u, a } from "../button-4MSiYDnV.js";
2
2
  import { createSelfieManager as l } from "@incodetech/core/selfie";
3
- import "../vendor-preact--mDTxXnt.js";
3
+ import "../vendor-preact-BJgvpglI.js";
4
4
  import "@incodetech/core";
5
- import { P as m } from "../manualCaptureButton-CtHbJjgz.js";
6
- import { r as f } from "../incodeModule-Bxzkb7nW.js";
7
- import { P as p } from "../processing-BGKugkCh.js";
8
- import { T as c, C as d } from "../tutorial-Dptz5zyj.js";
5
+ import { P as m } from "../manualCaptureButton-CiLPcIbM.js";
6
+ import { r as f } from "../incodeModule-DRyuIPmX.js";
7
+ import { P as p } from "../processing-CLMwZ0nd.js";
8
+ import { T as c, C as d } from "../tutorial-DU22-ztX.js";
9
9
  const g = ({
10
10
  config: e,
11
11
  manager: s,
@@ -1,5 +1,5 @@
1
- import { u as r, d as s, e as h, S as p } from "./button-Yr39X4SE.js";
2
- import { D as y, A as u, y as T, k as d } from "./vendor-preact--mDTxXnt.js";
1
+ import { u as r, d as s, e as h, S as p } from "./button-4MSiYDnV.js";
2
+ import { D as y, A as u, y as T, k as d } from "./vendor-preact-BJgvpglI.js";
3
3
  const I = y(
4
4
  ({ children: n, className: e, ...a }, c) => /* @__PURE__ */ r("h2", { ref: c, class: `IncodeTitle ${e ?? ""}`, ...a, children: n })
5
5
  ), H = ({ children: n, className: e }) => /* @__PURE__ */ r("h1", { class: s("IncodeTypographyH1", e), children: n }), f = ({ children: n, className: e }) => /* @__PURE__ */ r("h3", { class: s("IncodeTypographyH3", e), children: n }), z = ({ children: n, className: e }) => /* @__PURE__ */ r("h4", { class: s("IncodeTypographyH4", e), children: n }), v = ({ children: n, className: e }) => /* @__PURE__ */ r("h5", { class: s("IncodeTypographyH5", e), children: n }), x = ({ children: n, className: e }) => /* @__PURE__ */ r("p", { class: s("IncodeTypographyP", e), children: n }), S = {
@@ -1,4 +1,4 @@
1
- import { u as t } from "./button-Yr39X4SE.js";
1
+ import { u as t } from "./button-4MSiYDnV.js";
2
2
  const i = ({ size: s = 64 }) => /* @__PURE__ */ t(
3
3
  "svg",
4
4
  {
@@ -1,11 +1,11 @@
1
- import { u as t, S as _, b as g, d as N, B as F, e as y } from "./button-Yr39X4SE.js";
2
- import { A as a, y as p, g as w, q as V, k as L, d as I } from "./vendor-preact--mDTxXnt.js";
3
- import "./uiConfig-CKJmKRCo.js";
4
- import { S as P } from "./successIcon-CjkBWk8J.js";
5
- import { P as m } from "./page-DO2rYslN.js";
6
- import { T as v, S as B } from "./spinner-Djok6FY8.js";
7
- import { E as M } from "./errorContent-LcOhVnBZ.js";
8
- import { M as U, B as H } from "./manualCaptureButton-CtHbJjgz.js";
1
+ import { u as t, S as _, b as g, d as N, B as F, e as y } from "./button-4MSiYDnV.js";
2
+ import { A as a, y as p, g as w, q as V, k as L, d as I } from "./vendor-preact-BJgvpglI.js";
3
+ import "./uiConfig-BYa6NxEI.js";
4
+ import { S as P } from "./successIcon-31zOpE7h.js";
5
+ import { P as m } from "./page-hL_3Czvl.js";
6
+ import { T as v, S as B } from "./spinner-Blf94o9y.js";
7
+ import { E as M } from "./errorContent-Da5jHk94.js";
8
+ import { a as U, B as H } from "./manualCaptureButton-CiLPcIbM.js";
9
9
  const h = ({
10
10
  icon: i,
11
11
  title: n,
@@ -470,14 +470,85 @@ declare type ManualCaptureProps = {
470
470
  disabled?: boolean;
471
471
  };
472
472
 
473
- export declare const Modal: FC<ModalProps>;
473
+ export declare const Modal: {
474
+ Root: typeof ModalRoot;
475
+ Content: typeof ModalContent;
476
+ Close: typeof ModalClose;
477
+ Icon: typeof ModalIcon;
478
+ TitleSection: typeof ModalTitleSection;
479
+ Title: typeof ModalTitle;
480
+ Subtitle: typeof ModalSubtitle;
481
+ Actions: typeof ModalActions;
482
+ };
483
+
484
+ declare function ModalActions({ children, class: className, orientation, }: ModalActionsProps): JSX.Element;
474
485
 
475
- declare type ModalProps = {
486
+ declare type ModalActionsProps = {
487
+ children: ComponentChildren;
488
+ class?: string;
489
+ orientation?: 'vertical' | 'horizontal';
490
+ };
491
+
492
+ declare function ModalClose({ 'aria-label': ariaLabel, title: titleAttr, class: className, onClick, }: ModalCloseProps): JSX.Element | null;
493
+
494
+ declare type ModalCloseProps = {
495
+ 'aria-label'?: string;
496
+ title?: string;
497
+ class?: string;
498
+ onClick?: () => Promise<void> | void;
499
+ };
500
+
501
+ declare function ModalContent({ children, class: className }: ModalContentProps): JSX.Element;
502
+
503
+ declare type ModalContentProps = {
476
504
  children: ComponentChildren;
477
- 'aria-labelledby'?: string;
478
505
  class?: string;
479
506
  };
480
507
 
508
+ declare function ModalIcon({ children, class: className }: ModalIconProps): JSX.Element;
509
+
510
+ declare type ModalIconProps = {
511
+ children: ComponentChildren;
512
+ class?: string;
513
+ };
514
+
515
+ declare function ModalRoot({ open, children, onOpenChange, dismissible, portalContainer, class: className, hasBackdrop, }: ModalRootProps): VNode<any> | null;
516
+
517
+ declare type ModalRootProps = {
518
+ open: boolean;
519
+ children: ComponentChildren;
520
+ onOpenChange?: (open: boolean) => void;
521
+ /** When false, Escape, overlay click, and Close do not dismiss. */
522
+ dismissible?: boolean;
523
+ /** Mount portal here instead of a dedicated node under document.body. */
524
+ portalContainer?: HTMLElement | null;
525
+ class?: string;
526
+ hasBackdrop?: boolean;
527
+ };
528
+
529
+ declare function ModalSubtitle({ children, class: className }: ModalSubtitleProps): JSX.Element;
530
+
531
+ declare type ModalSubtitleProps = {
532
+ children: ComponentChildren;
533
+ class?: string;
534
+ };
535
+
536
+ declare function ModalTitle({ children, ref, class: className }: ModalTitleProps): JSX.Element;
537
+
538
+ declare type ModalTitleProps = {
539
+ children: ComponentChildren;
540
+ class?: string;
541
+ ref?: Ref<HTMLHeadingElement>;
542
+ };
543
+
544
+ declare function ModalTitleSection({ children, align, }: ModalTitleSectionProps): JSX.Element;
545
+
546
+ /** Wrap Modal.Title and Modal.Subtitle for 12px between them and 24px above actions. */
547
+ declare type ModalTitleSectionProps = {
548
+ children: ComponentChildren;
549
+ align?: 'center' | 'left';
550
+ };
551
+
481
552
  export declare const OtpInput: FC<OtpInputProps>;
482
553
 
483
554
  declare type OtpInputProps = {
@@ -498,6 +569,14 @@ declare type OtpInputProps = {
498
569
  isLoading?: boolean;
499
570
  };
500
571
 
572
+ export declare const Overlay: FC<OverlayProps>;
573
+
574
+ declare type OverlayProps = {
575
+ children: ComponentChildren;
576
+ 'aria-labelledby'?: string;
577
+ class?: string;
578
+ };
579
+
501
580
  export declare const Page: ({ title, titleId, subtitle, className, logo, children, hideHeader, hideFooterBranding, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus, }: PageProps) => JSX.Element;
502
581
 
503
582
  declare type PageProps = {
@@ -1,5 +1,5 @@
1
1
  import { ScreenOrientationProvider as et, createScreenOrientationObserver as tt, getDeviceClass as nt } from "@incodetech/core";
2
- import { d as it, y as st, a as rt, C as ot } from "./vendor-preact--mDTxXnt.js";
2
+ import { d as it, y as st, a as rt, C as ot } from "./vendor-preact-BJgvpglI.js";
3
3
  let ne = null;
4
4
  function at() {
5
5
  if (!ne) {
@@ -1,4 +1,4 @@
1
- import { d, y as a } from "./vendor-preact--mDTxXnt.js";
1
+ import { d, y as a } from "./vendor-preact-BJgvpglI.js";
2
2
  const c = "(max-width: 767px)";
3
3
  function s(e) {
4
4
  const [i, o] = d(