@incodetech/web 0.0.0-dev-20260318-ce9c1ed → 0.0.0-dev-20260320-96b0018

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 (49) hide show
  1. package/dist/{AsYouType-DoYUSTc1.js → AsYouType-D1H_js4X.js} +1 -1
  2. package/dist/{Trans-CA9a3vKp.js → Trans-Cm7gi0st.js} +1 -1
  3. package/dist/{addressAutocomplete-DetZGxBZ.js → addressAutocomplete-BIQwiDWk.js} +3 -3
  4. package/dist/authentication/authentication.es.js +3 -3
  5. package/dist/base.css +152 -1
  6. package/dist/{button-Ca1tRSTI.js → button-zCdeDeEB.js} +2 -2
  7. package/dist/{captureFooter-X2qN1773.js → captureFooter-SNtyUXrI.js} +115 -92
  8. package/dist/{chevronDown-BUaOuf9J.js → chevronDown-DRVnB275.js} +1 -1
  9. package/dist/{closeIcon-BM7WLbKp.js → closeIcon-D2dmrZca.js} +1 -1
  10. package/dist/{countries-CM1cm_kP.js → countries-DfLkrF0x.js} +2 -2
  11. package/dist/curp-validation/curp-validation.es.js +47 -47
  12. package/dist/{dateInputComposed-CvFmQpJ0.js → dateInputComposed-C8WTSu9L.js} +3 -3
  13. package/dist/{documentCapture-D83yNhHB.js → documentCapture-DWNK3phM.js} +7 -7
  14. package/dist/{dropdownComposed-B5ZuQS8C.js → dropdownComposed-Cg6lQD2C.js} +4 -4
  15. package/dist/{ekybModule-9m8cnkfH.js → ekybModule-DtMbgF08.js} +7 -7
  16. package/dist/{ekycModule-DBCar_-Z.js → ekycModule-DEMkVZr2.js} +8 -8
  17. package/dist/email/email.es.js +3 -3
  18. package/dist/{errorContent-yUAdbZ5o.js → errorContent-B3YzH-UQ.js} +5 -5
  19. package/dist/{errorIcon-BL647nVh.js → errorIcon-bIXk9nAy.js} +1 -1
  20. package/dist/extensibility.es.js +111 -341
  21. package/dist/{faceMatch-BjdNG_e0.js → faceMatch-BdMwIeBs.js} +2 -2
  22. package/dist/{fileIcon-DOyMcRWU.js → fileIcon-E4B7hd8V.js} +1 -1
  23. package/dist/flipAnimation-B6At4rzA.js +2549 -0
  24. package/dist/flow/flow.es.js +11 -11
  25. package/dist/flow/styles.css +58 -106
  26. package/dist/{formField-FeX9N4c8.js → formField-hlgxOSE6.js} +6 -6
  27. package/dist/geolocation/geolocation.es.js +3 -3
  28. package/dist/governmentValidation/governmentValidation.es.js +7 -7
  29. package/dist/id/id.es.js +11 -10
  30. package/dist/id/styles.css +58 -119
  31. package/dist/{inputComposed-BHi-MSpP.js → inputComposed-CyGtRLzv.js} +6 -6
  32. package/dist/{permissions-BDElyTL4.js → manualCaptureButton-iYqQECzn.js} +243 -179
  33. package/dist/{otpInput-DdkvlvCS.js → otpInput-B3iNW8b5.js} +2 -2
  34. package/dist/{page-BVHG3h0V.js → page-Dv0s0RPn.js} +5 -5
  35. package/dist/phone/phone.es.js +4 -4
  36. package/dist/{phoneInput-D4yirBZy.js → phoneInput-NVIE7YFb.js} +4 -4
  37. package/dist/{phoneInputComposed-BG1BANDW.js → phoneInputComposed-DNfU__MR.js} +7 -7
  38. package/dist/{processing-CDgOueI3.js → processing-BhY0-0xy.js} +2 -2
  39. package/dist/selfie/selfie.es.js +4 -4
  40. package/dist/spinner-BbVGMG-G.js +67 -0
  41. package/dist/{successIcon-BybULRRU.js → successIcon-DN8LMqE2.js} +1 -1
  42. package/dist/themes/dark.css +4 -0
  43. package/dist/themes/light.css +4 -0
  44. package/dist/{tutorial-D8y4KZtv.js → tutorial-CDJugc5j.js} +110 -165
  45. package/dist/types/extensibility.d.ts +38 -2
  46. package/dist/{warningIcon-DyoKeqDd.js → warningIcon-BBoCroUd.js} +1 -1
  47. package/package.json +2 -2
  48. package/dist/flipAnimation-CSNIRlbv.js +0 -1356
  49. package/dist/spinner-Cx3FPUCD.js +0 -66
@@ -1,4 +1,4 @@
1
- import { M as g, d as et, i as j, v as zt, e as Jt, w as Zt, m as Qt } from "./countries-CM1cm_kP.js";
1
+ import { M as g, d as et, i as j, v as zt, e as Jt, w as Zt, m as Qt } from "./countries-DfLkrF0x.js";
2
2
  function U(t, r, e) {
3
3
  return te(t, r, void 0, e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { u as n, b as T } from "./button-Ca1tRSTI.js";
1
+ import { u as n, b as T } from "./button-zCdeDeEB.js";
2
2
  import { K as m, k as w } from "./vendor-preact-BXf0bkEs.js";
3
3
  const v = ({ class: l }) => /* @__PURE__ */ n(
4
4
  "svg",
@@ -1,8 +1,8 @@
1
1
  import { d, y as M, A as F, q as K } from "./vendor-preact-BXf0bkEs.js";
2
- import { b as Q, u as l } from "./button-Ca1tRSTI.js";
2
+ import { b as Q, u as l } from "./button-zCdeDeEB.js";
3
3
  import "./uiConfig-Z6RT23Sl.js";
4
- import { t as R } from "./formField-FeX9N4c8.js";
5
- import { I as q } from "./inputComposed-BHi-MSpP.js";
4
+ import { t as R } from "./formField-hlgxOSE6.js";
5
+ import { a as q } from "./inputComposed-CyGtRLzv.js";
6
6
  import "@incodetech/core";
7
7
  import { u as z } from "./useMediaQuery-CiSMgDyi.js";
8
8
  function J(c, f) {
@@ -1,10 +1,10 @@
1
- import { u as e, I as o, a as m } from "../button-Ca1tRSTI.js";
1
+ import { u as e, I as o, a as m } from "../button-zCdeDeEB.js";
2
2
  import { createAuthenticationManager as l } from "@incodetech/core/authentication";
3
3
  import "../vendor-preact-BXf0bkEs.js";
4
4
  import "@incodetech/core";
5
- import { P as c } from "../permissions-BDElyTL4.js";
5
+ import { P as c } from "../manualCaptureButton-iYqQECzn.js";
6
6
  import { r as p } from "../incodeModule-aE-LkKwM.js";
7
- import { T as f, C as d } from "../tutorial-D8y4KZtv.js";
7
+ import { T as f, C as d } from "../tutorial-CDJugc5j.js";
8
8
  const h = ({
9
9
  config: r,
10
10
  authHint: s,
package/dist/base.css CHANGED
@@ -2221,6 +2221,36 @@
2221
2221
  height: 840px;
2222
2222
  }
2223
2223
  }
2224
+ @media (min-width: 40rem) {
2225
+ .IncodePageContainer .IncodePageInner {
2226
+ max-width: 40rem;
2227
+ }
2228
+ }
2229
+ @media (min-width: 48rem) {
2230
+ .IncodePageContainer .IncodePageInner {
2231
+ max-width: 48rem;
2232
+ }
2233
+ }
2234
+ @media (min-width: 64rem) {
2235
+ .IncodePageContainer .IncodePageInner {
2236
+ max-width: 64rem;
2237
+ }
2238
+ }
2239
+ @media (min-width: 80rem) {
2240
+ .IncodePageContainer .IncodePageInner {
2241
+ max-width: 80rem;
2242
+ }
2243
+ }
2244
+ @media (min-width: 96rem) {
2245
+ .IncodePageContainer .IncodePageInner {
2246
+ max-width: 96rem;
2247
+ }
2248
+ }
2249
+ @media (min-width: 48rem) {
2250
+ .IncodePageContainer .IncodePageInner {
2251
+ height: 840px;
2252
+ }
2253
+ }
2224
2254
  .IncodePageContainer .IncodePageInner {
2225
2255
  width: 100%;
2226
2256
  }
@@ -2259,7 +2289,9 @@
2259
2289
  }
2260
2290
  }
2261
2291
  .IncodePageContainer .IncodePageInner {
2262
- padding: var(--spacing-24, var(--spacing-24, 24px));
2292
+ padding-inline: var(--spacing-24, var(--spacing-24, 24px));
2293
+ padding-top: var(--spacing-8, var(--spacing-8, 8px));
2294
+ padding-bottom: var(--spacing-0, var(--spacing-none, 0px));
2263
2295
  flex-direction: column;
2264
2296
  flex: 1;
2265
2297
  display: flex;
@@ -2371,6 +2403,13 @@
2371
2403
  line-height: var(--typography-headline-h5-line-height);
2372
2404
  letter-spacing: var(--typography-headline-h5-letter-spacing);
2373
2405
  }
2406
+ .IncodeComponent .IncodeTypographyP {
2407
+ font-family: var(--typography-body-family);
2408
+ font-size: var(--typography-body-m-regular-size);
2409
+ font-weight: var(--typography-body-m-regular-weight);
2410
+ line-height: var(--typography-body-m-regular-line-height);
2411
+ letter-spacing: var(--typography-body-m-regular-letter-spacing);
2412
+ }
2374
2413
  .IncodeSuccessIcon {
2375
2414
  flex-shrink: 0;
2376
2415
  }
@@ -2807,6 +2846,7 @@
2807
2846
  letter-spacing: var(--typography-headline-h2-letter-spacing);
2808
2847
  color: var(--color-text-body-0, var(--text-body-0-static));
2809
2848
  text-align: center;
2849
+ min-height: var(--typography-headline-h2-line-height);
2810
2850
  }
2811
2851
  .IncodeCameraOverlayHeader .IncodeCameraOverlayHeaderSubtitle {
2812
2852
  font-family: var(--typography-headline-family);
@@ -2816,6 +2856,7 @@
2816
2856
  letter-spacing: var(--typography-headline-h5-letter-spacing);
2817
2857
  color: var(--color-text-body-tertiary, var(--text-body-300-tertiary));
2818
2858
  text-align: center;
2859
+ min-height: var(--typography-headline-h5-line-height);
2819
2860
  }
2820
2861
  .IncodeCameraFrame {
2821
2862
  --frame-border-color: var(--border-neutral-100);
@@ -3291,6 +3332,116 @@
3291
3332
  font-size: 22px;
3292
3333
  display: block;
3293
3334
  }
3335
+ .IncodeVerificationOptionCardList {
3336
+ flex-direction: column;
3337
+ width: 100%;
3338
+ max-width: 26.25rem;
3339
+ display: flex;
3340
+ }
3341
+ .IncodeVerificationOptionCard {
3342
+ cursor: pointer;
3343
+ touch-action: manipulation;
3344
+ align-items: flex-start;
3345
+ gap: var(--spacing-12, var(--spacing-12, 12px));
3346
+ border-radius: var(--radius-none, var(--border-radius-none));
3347
+ border-style: var(--tw-border-style);
3348
+ --tw-border-style: solid;
3349
+ border-style: solid;
3350
+ border-width: 1px;
3351
+ border-color: var(--color-border-neutral-100, var(--border-neutral-100));
3352
+ background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
3353
+ width: 100%;
3354
+ padding-inline: var(--spacing-12, var(--spacing-12, 12px));
3355
+ padding-block: var(--spacing-8, var(--spacing-8, 8px));
3356
+ max-width: 26.25rem;
3357
+ display: flex;
3358
+ position: relative;
3359
+ }
3360
+ .IncodeVerificationOptionCard:first-child {
3361
+ border-top-left-radius: var(--radius-medium, var(--border-radius-medium));
3362
+ border-top-right-radius: var(--radius-medium, var(--border-radius-medium));
3363
+ }
3364
+ .IncodeVerificationOptionCard:last-child {
3365
+ border-bottom-right-radius: var(--radius-medium, var(--border-radius-medium));
3366
+ border-bottom-left-radius: var(--radius-medium, var(--border-radius-medium));
3367
+ }
3368
+ .IncodeVerificationOptionCard:only-child {
3369
+ border-radius: var(--radius-medium, var(--border-radius-medium));
3370
+ }
3371
+ .IncodeVerificationOptionCard + .IncodeVerificationOptionCard {
3372
+ border-top-style: var(--tw-border-style);
3373
+ border-top-width: var(--border-width-none, var(--primitive-border-width-0));
3374
+ }
3375
+ .IncodeVerificationOptionCard:focus-visible {
3376
+ z-index: 1;
3377
+ outline-width: 1px;
3378
+ outline-style: var(--tw-outline-style);
3379
+ outline-offset: 2px;
3380
+ outline-width: 2px;
3381
+ outline-color: var(--color-border-status-focus, var(--border-status-focus));
3382
+ }
3383
+ .IncodeVerificationOptionCard:disabled {
3384
+ cursor: not-allowed;
3385
+ opacity: .6;
3386
+ }
3387
+ .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon {
3388
+ flex-shrink: 0;
3389
+ justify-content: center;
3390
+ align-items: center;
3391
+ width: 3.75rem;
3392
+ height: 3.75rem;
3393
+ display: flex;
3394
+ }
3395
+ .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon svg {
3396
+ width: 100%;
3397
+ height: auto;
3398
+ }
3399
+ .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodeIdCardIconFill, .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodeUploadIdIconFill, .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodePassportIconFill, .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodeDeviceWalletsIconFill, .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodeDigitalIdIconFill {
3400
+ fill: var(--color-surface-brand-500, var(--surface-brand-500-static));
3401
+ }
3402
+ .IncodeVerificationOptionCard .IncodeVerificationOptionCardTag {
3403
+ align-items: center;
3404
+ gap: var(--spacing-2, var(--spacing-2, 2px));
3405
+ border-radius: var(--radius-small, var(--border-radius-small));
3406
+ background-color: var(--color-surface-brand-50, var(--surface-brand-50));
3407
+ width: fit-content;
3408
+ padding-inline: var(--spacing-8, var(--spacing-8, 8px));
3409
+ padding-block: var(--spacing-2, var(--spacing-2, 2px));
3410
+ font-family: var(--typography-body-family);
3411
+ font-size: var(--typography-body-m-regular-size);
3412
+ font-weight: var(--typography-body-m-regular-weight);
3413
+ line-height: var(--typography-body-m-regular-line-height);
3414
+ letter-spacing: var(--typography-body-m-regular-letter-spacing);
3415
+ color: var(--color-icon-brand-500-static, var(--icon-brand-500-static));
3416
+ display: flex;
3417
+ }
3418
+ .IncodeVerificationOptionCard .IncodeVerificationOptionCardTitleTagContainer {
3419
+ gap: var(--spacing-8, var(--spacing-8, 8px));
3420
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
3421
+ flex-direction: column;
3422
+ display: flex;
3423
+ }
3424
+ .IncodeVerificationOptionCard .IncodeVerificationOptionCardTitle {
3425
+ font-family: var(--typography-headline-family);
3426
+ font-size: var(--typography-headline-h5-size);
3427
+ font-weight: var(--typography-headline-h5-weight);
3428
+ line-height: var(--typography-headline-h5-line-height);
3429
+ letter-spacing: var(--typography-headline-h5-letter-spacing);
3430
+ }
3431
+ .IncodeVerificationOptionCard .IncodeVerificationOptionCardContent {
3432
+ flex: 1;
3433
+ justify-content: space-between;
3434
+ align-items: center;
3435
+ height: 100%;
3436
+ display: flex;
3437
+ }
3438
+ .IncodeVerificationOptionCard .IncodeVerificationOptionCardContent .IncodeVerificationOptionCardArrow {
3439
+ color: var(--color-icon-neutral-500, var(--icon-neutral-500));
3440
+ flex-shrink: 0;
3441
+ justify-content: center;
3442
+ align-items: center;
3443
+ display: flex;
3444
+ }
3294
3445
  @property --tw-rotate-x {
3295
3446
  syntax: "*";
3296
3447
  inherits: false
@@ -361,14 +361,14 @@ const W = () => /* @__PURE__ */ o(
361
361
  export {
362
362
  X as B,
363
363
  G as I,
364
- U as L,
364
+ z as L,
365
365
  J as S,
366
366
  W as V,
367
367
  q as a,
368
368
  x as b,
369
369
  Q as c,
370
370
  h as d,
371
- z as e,
371
+ U as e,
372
372
  K as i,
373
373
  o as u
374
374
  };
@@ -1,8 +1,9 @@
1
- import { u as e, d, S as s, b as C, B as u } from "./button-Ca1tRSTI.js";
2
- import { k as h, D as p, A as v, y as m } from "./vendor-preact-BXf0bkEs.js";
1
+ import { u as e, d, S as v, b as m, B as I } from "./button-zCdeDeEB.js";
2
+ import { k as w, D as f, A as C, y as u } from "./vendor-preact-BXf0bkEs.js";
3
+ import { T as y } from "./spinner-BbVGMG-G.js";
3
4
  import "./uiConfig-Z6RT23Sl.js";
4
- const I = ({
5
- className: a
5
+ const g = ({
6
+ className: r
6
7
  }) => /* @__PURE__ */ e(
7
8
  "svg",
8
9
  {
@@ -11,7 +12,7 @@ const I = ({
11
12
  viewBox: "0 0 68 68",
12
13
  fill: "none",
13
14
  xmlns: "http://www.w3.org/2000/svg",
14
- class: a,
15
+ class: r,
15
16
  "aria-hidden": "true",
16
17
  children: [
17
18
  /* @__PURE__ */ e(
@@ -26,7 +27,7 @@ const I = ({
26
27
  /* @__PURE__ */ e("circle", { cx: "33.5926", cy: "33.9996", r: "25.4187", fill: "white" })
27
28
  ]
28
29
  }
29
- ), w = ({ className: a }) => /* @__PURE__ */ e(
30
+ ), F = ({ className: r }) => /* @__PURE__ */ e(
30
31
  "svg",
31
32
  {
32
33
  width: "30",
@@ -34,7 +35,7 @@ const I = ({
34
35
  viewBox: "0 0 30 30",
35
36
  fill: "none",
36
37
  xmlns: "http://www.w3.org/2000/svg",
37
- class: a,
38
+ class: r,
38
39
  "aria-hidden": "true",
39
40
  children: [
40
41
  /* @__PURE__ */ e(
@@ -57,7 +58,7 @@ const I = ({
57
58
  )
58
59
  ]
59
60
  }
60
- ), f = ({ className: a }) => /* @__PURE__ */ e(
61
+ ), H = ({ className: r }) => /* @__PURE__ */ e(
61
62
  "svg",
62
63
  {
63
64
  width: "16",
@@ -65,7 +66,7 @@ const I = ({
65
66
  viewBox: "0 0 16 16",
66
67
  fill: "none",
67
68
  xmlns: "http://www.w3.org/2000/svg",
68
- class: a,
69
+ class: r,
69
70
  "aria-hidden": "true",
70
71
  children: /* @__PURE__ */ e(
71
72
  "path",
@@ -75,9 +76,9 @@ const I = ({
75
76
  }
76
77
  )
77
78
  }
78
- ), H = ({
79
- progress: a,
80
- label: r,
79
+ ), O = ({
80
+ progress: r,
81
+ label: a,
81
82
  className: l
82
83
  }) => /* @__PURE__ */ e("div", { class: d("IncodeProgressBarContainer", l), children: [
83
84
  /* @__PURE__ */ e(
@@ -85,142 +86,164 @@ const I = ({
85
86
  {
86
87
  class: "IncodeProgressBar",
87
88
  role: "progressbar",
88
- "aria-valuenow": a,
89
+ "aria-valuenow": r,
89
90
  "aria-valuemin": 0,
90
91
  "aria-valuemax": 100,
91
- "aria-label": r,
92
- children: /* @__PURE__ */ e("div", { class: "IncodeProgressBarFill", style: { width: `${a}%` } })
92
+ "aria-label": a,
93
+ children: /* @__PURE__ */ e("div", { class: "IncodeProgressBarFill", style: { width: `${r}%` } })
93
94
  }
94
95
  ),
95
- r ? /* @__PURE__ */ e(h, { children: [
96
- /* @__PURE__ */ e(s, { size: 24 }),
97
- /* @__PURE__ */ e("p", { class: "IncodeProgressBarLabel", children: r })
96
+ a ? /* @__PURE__ */ e(w, { children: [
97
+ /* @__PURE__ */ e(v, { size: 24 }),
98
+ /* @__PURE__ */ e("p", { class: "IncodeProgressBarLabel", children: a })
98
99
  ] }) : null
99
- ] }), b = p(
100
+ ] }), x = f(
100
101
  ({
101
- variant: a,
102
- aspectRatio: r,
102
+ variant: r,
103
+ aspectRatio: a,
103
104
  orientation: l = "horizontal",
104
105
  frameState: c = "idle",
105
- className: i,
106
- children: o
107
- }, t) => {
108
- const n = `IncodeCameraFrame${c.charAt(0).toUpperCase()}${c.slice(1)}`;
106
+ className: o,
107
+ children: n
108
+ }, i) => {
109
+ const t = `IncodeCameraFrame${c.charAt(0).toUpperCase()}${c.slice(1)}`;
109
110
  return /* @__PURE__ */ e(
110
111
  "div",
111
112
  {
112
- ref: t,
113
+ ref: i,
113
114
  class: d(
114
115
  "IncodeCameraFrame",
115
- a === "fill" && "IncodeCameraFrameFill",
116
- a === "locked" && "IncodeCameraFrameLocked",
117
- a === "locked" && l === "horizontal" && "IncodeCameraFrameHorizontal",
118
- a === "locked" && l === "vertical" && "IncodeCameraFrameVertical",
119
- n,
120
- i
116
+ r === "fill" && "IncodeCameraFrameFill",
117
+ r === "locked" && "IncodeCameraFrameLocked",
118
+ r === "locked" && l === "horizontal" && "IncodeCameraFrameHorizontal",
119
+ r === "locked" && l === "vertical" && "IncodeCameraFrameVertical",
120
+ t,
121
+ o
121
122
  ),
122
- style: r ? { aspectRatio: r } : void 0,
123
+ style: a ? { aspectRatio: a } : void 0,
123
124
  "aria-hidden": !0,
124
- children: o
125
+ children: n
125
126
  }
126
127
  );
127
128
  }
128
- ), B = ({
129
- children: a,
130
- className: r
131
- }) => /* @__PURE__ */ e("div", { class: d("IncodeCameraOverlay", r), children: a }), V = ({
132
- title: a,
133
- subtitle: r,
134
- visible: l = !0,
135
- className: c
136
- }) => /* @__PURE__ */ e(
137
- "div",
138
- {
139
- class: d(
140
- "IncodeCameraOverlayHeader",
141
- !l && "IncodeCameraOverlayHeaderHidden",
142
- c
143
- ),
144
- children: [
145
- /* @__PURE__ */ e("div", { class: "IncodeCameraOverlayHeaderTitle", children: a || " " }),
146
- /* @__PURE__ */ e("div", { class: "IncodeCameraOverlayHeaderSubtitle", children: r || " " })
147
- ]
148
- }
149
- ), k = ({
150
- stream: a,
129
+ ), L = ({
151
130
  children: r,
131
+ className: a
132
+ }) => /* @__PURE__ */ e("div", { class: d("IncodeCameraOverlay", a), children: r }), M = ({
133
+ title: r,
134
+ subtitle: a,
135
+ visible: l = !0,
136
+ className: c,
137
+ titleId: o
138
+ }) => {
139
+ const n = C(null);
140
+ return u(() => {
141
+ n.current?.focus();
142
+ }, []), /* @__PURE__ */ e(
143
+ "div",
144
+ {
145
+ class: d(
146
+ "IncodeCameraOverlayHeader",
147
+ !l && "IncodeCameraOverlayHeaderHidden",
148
+ c
149
+ ),
150
+ children: [
151
+ /* @__PURE__ */ e(
152
+ y,
153
+ {
154
+ ref: n,
155
+ id: o,
156
+ className: "IncodeCameraOverlayHeaderTitle",
157
+ tabIndex: -1,
158
+ children: r
159
+ }
160
+ ),
161
+ /* @__PURE__ */ e("p", { class: "IncodeCameraOverlayHeaderSubtitle", children: a })
162
+ ]
163
+ }
164
+ );
165
+ }, Z = ({
166
+ stream: r,
167
+ children: a,
152
168
  videoRef: l,
153
169
  className: c,
154
- ...i
170
+ ...o
155
171
  }) => {
156
- const o = v(null), t = (n) => {
157
- o.current = n, typeof l == "function" ? l(n) : l && (l.current = n);
172
+ const n = C(null), i = (t) => {
173
+ n.current = t, typeof l == "function" ? l(t) : l && (l.current = t);
158
174
  };
159
- return m(() => {
160
- o.current && a && (o.current.srcObject = a, o.current.play().catch(() => {
175
+ return u(() => {
176
+ n.current && r && (n.current.srcObject = r, n.current.play().catch(() => {
161
177
  }));
162
- }, [a]), /* @__PURE__ */ e("div", { class: d("IncodeCameraView", c), ...i, children: [
178
+ }, [r]), /* @__PURE__ */ e("div", { class: d("IncodeCameraView", c), ...o, children: [
163
179
  /* @__PURE__ */ e("div", { class: "IncodeCameraViewVideo", children: /* @__PURE__ */ e(
164
180
  "video",
165
181
  {
166
- ref: t,
182
+ ref: i,
167
183
  autoplay: !0,
168
184
  playsInline: !0,
169
185
  muted: !0,
186
+ "aria-hidden": "true",
170
187
  class: "IncodeCameraViewVideoElement"
171
188
  }
172
189
  ) }),
173
- r
190
+ a
174
191
  ] });
175
- }, O = ({
176
- onOpenHelp: a,
177
- onCapture: r,
192
+ }, P = ({
193
+ onOpenHelp: r,
194
+ onCapture: a,
178
195
  isManualCapture: l,
179
196
  captureAriaLabel: c,
180
- helpAriaLabel: i,
181
- encryptionLabel: o,
182
- children: t
197
+ captureAriaDescribedBy: o,
198
+ helpAriaLabel: n,
199
+ helpButtonRef: i,
200
+ captureButtonRef: t,
201
+ encryptionLabel: h,
202
+ children: p
183
203
  }) => {
184
- const { t: n } = C();
204
+ const { t: s } = m();
185
205
  return /* @__PURE__ */ e("div", { class: "IncodeCaptureFooter", children: [
186
206
  /* @__PURE__ */ e("div", { class: "IncodeCaptureFooterEncryption", children: [
187
- /* @__PURE__ */ e(f, { className: "IncodeCaptureFooterEncryptionIcon" }),
188
- /* @__PURE__ */ e("span", { children: o ?? n("v2.capture.label") })
207
+ /* @__PURE__ */ e(H, { className: "IncodeCaptureFooterEncryptionIcon" }),
208
+ /* @__PURE__ */ e("span", { children: h ?? s("v2.capture.label") })
189
209
  ] }),
190
- l && r ? /* @__PURE__ */ e("div", { class: "IncodeCaptureFooterCaptureSection", children: [
191
- t,
210
+ l && a ? /* @__PURE__ */ e("div", { class: "IncodeCaptureFooterCaptureSection", children: [
211
+ p,
192
212
  /* @__PURE__ */ e(
193
213
  "button",
194
214
  {
215
+ ref: t,
195
216
  type: "button",
196
217
  class: "IncodeCaptureFooterCaptureButton",
197
- onClick: r,
198
- "aria-label": c ?? n("manualCapture.ariaLabel"),
218
+ onClick: a,
219
+ "aria-label": c ?? s("manualCapture.ariaLabel"),
220
+ "aria-describedby": o,
199
221
  "data-testid": "capture-button",
200
- children: /* @__PURE__ */ e(I, {})
222
+ children: /* @__PURE__ */ e(g, {})
201
223
  }
202
224
  )
203
225
  ] }) : null,
204
226
  /* @__PURE__ */ e("div", { class: "IncodeCaptureFooterHelp", children: /* @__PURE__ */ e(
205
- u,
227
+ I,
206
228
  {
229
+ ref: i,
207
230
  variant: "link",
208
- onClick: a,
209
- "aria-label": i ?? n("idv2.needHelp.open"),
231
+ onClick: r,
232
+ "aria-label": n ?? s("idv2.needHelp.open"),
210
233
  class: "IncodeCaptureFooterHelpButton",
211
- children: /* @__PURE__ */ e(w, {})
234
+ children: /* @__PURE__ */ e(F, {})
212
235
  }
213
236
  ) })
214
237
  ] });
215
238
  };
216
239
  export {
217
- B as C,
218
- w as H,
219
- f as L,
220
- H as P,
221
- b as a,
222
- k as b,
223
- V as c,
224
- O as d,
225
- I as e
240
+ L as C,
241
+ F as H,
242
+ H as L,
243
+ O as P,
244
+ x as a,
245
+ Z as b,
246
+ M as c,
247
+ P as d,
248
+ g as e
226
249
  };
@@ -1,4 +1,4 @@
1
- import { u as o } from "./button-Ca1tRSTI.js";
1
+ import { u as o } from "./button-zCdeDeEB.js";
2
2
  const e = ({ class: r }) => /* @__PURE__ */ o(
3
3
  "svg",
4
4
  {
@@ -1,4 +1,4 @@
1
- import { u as e } from "./button-Ca1tRSTI.js";
1
+ import { u as e } from "./button-zCdeDeEB.js";
2
2
  const C = ({
3
3
  width: l = 14,
4
4
  height: o = 14,
@@ -603,8 +603,8 @@ function x($) {
603
603
  }
604
604
  export {
605
605
  F as M,
606
- b as a,
607
- x as b,
606
+ x as a,
607
+ b,
608
608
  g as c,
609
609
  A as d,
610
610
  k as e,