@incodetech/web 0.0.0-dev-20260513-2604577 → 0.0.0-dev-20260513-5fa7154

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.
@@ -5,12 +5,12 @@ import { o as l } from "../hooks-BVnGysT7.js";
5
5
  import { t as u } from "../incodeComponent-C1o4M0ZK.js";
6
6
  import { t as d } from "../transitionSpinner-PIEPU2Vx.js";
7
7
  import { t as f } from "../incodeModule-BqCjVgEI.js";
8
- import { a as p, c as m, d as h, f as g, l as _, m as v, n as y, o as b, r as x, s as S, t as C, u as w } from "../useModuleLoader-OY2iMWCC.js";
9
- import { getDeviceClass as T } from "@incodetech/core/device";
10
- import { getRequiredWasmPipelines as E } from "@incodetech/core/flow";
11
- import { QrValidationError as D, bootstrapSession as O, refreshQrUrlUuid as k } from "@incodetech/core/session";
8
+ import { a as p, c as m, d as h, f as g, h as _, l as v, n as y, o as b, p as x, r as S, s as C, t as w, u as T } from "../useModuleLoader-BTK8of8_.js";
9
+ import { getDeviceClass as E } from "@incodetech/core/device";
10
+ import { getRequiredWasmPipelines as D } from "@incodetech/core/flow";
11
+ import { QrValidationError as O, bootstrapSession as k, refreshQrUrlUuid as A } from "@incodetech/core/session";
12
12
  //#region src/shared/processing/useDelayedFlag.ts
13
- function A(e, n) {
13
+ function j(e, n) {
14
14
  let [r, i] = o(!1);
15
15
  return t(() => {
16
16
  if (e === !1) {
@@ -27,21 +27,21 @@ function A(e, n) {
27
27
  }
28
28
  //#endregion
29
29
  //#region src/modules/flow/createFlowSession.ts
30
- function j(e) {
30
+ function M(e) {
31
31
  return Array.from(new Uint8Array(e), (e) => e.toString(16).padStart(2, "0")).join("");
32
32
  }
33
- async function M(e) {
33
+ async function N(e) {
34
34
  let t = globalThis.crypto?.subtle;
35
35
  if (!t) throw Error("SHA-1 is not available in this environment");
36
- return j(await t.digest("SHA-1", new TextEncoder().encode(e)));
36
+ return M(await t.digest("SHA-1", new TextEncoder().encode(e)));
37
37
  }
38
- async function N(e) {
38
+ async function P(e) {
39
39
  if (typeof e.apiKey == "string") return e.apiKey;
40
- if (typeof e.clientId == "string") return M(e.clientId);
40
+ if (typeof e.clientId == "string") return N(e.clientId);
41
41
  throw Error("Flow self-loading mode requires apiKey or clientId");
42
42
  }
43
- async function P(e, t) {
44
- return O(await N(e), {
43
+ async function F(e, t) {
44
+ return k(await P(e), {
45
45
  configurationId: e.configurationId,
46
46
  externalId: e.externalId,
47
47
  externalCustomerId: e.externalCustomerId,
@@ -55,18 +55,18 @@ async function P(e, t) {
55
55
  }
56
56
  //#endregion
57
57
  //#region src/modules/flow/flowConfig.ts
58
- function F(e) {
58
+ function I(e) {
59
59
  return typeof e.token == "string";
60
60
  }
61
- function I(e) {
61
+ function L(e) {
62
62
  let t = e;
63
63
  return typeof t.configurationId == "string" && (typeof t.apiKey == "string" || typeof t.clientId == "string");
64
64
  }
65
65
  //#endregion
66
66
  //#region src/modules/flow/preloadFlow.ts
67
- var L = /* @__PURE__ */ new Map();
68
- function R(e) {
69
- let t = L.get(e);
67
+ var R = /* @__PURE__ */ new Map();
68
+ function z(e) {
69
+ let t = R.get(e);
70
70
  if (!t) throw Error("Preload state not found");
71
71
  return {
72
72
  get isReady() {
@@ -82,18 +82,18 @@ function R(e) {
82
82
  }
83
83
  },
84
84
  cancel() {
85
- t.status === "loading" && (t.unsubscribe && t.unsubscribe(), t.flowManager.stop(), t.readyReject(/* @__PURE__ */ Error("Preload cancelled")), L.delete(e));
85
+ t.status === "loading" && (t.unsubscribe && t.unsubscribe(), t.flowManager.stop(), t.readyReject(/* @__PURE__ */ Error("Preload cancelled")), R.delete(e));
86
86
  }
87
87
  };
88
88
  }
89
- function z(e) {
89
+ function B(e) {
90
90
  let { token: t } = e;
91
91
  if (e.urlUuid) throw Error("preloadIncodeFlow does not support urlUuid; pass it to <IncodeFlow> directly so the SDK can rotate it on mount.");
92
- if (L.has(t)) return R(t);
92
+ if (R.has(t)) return z(t);
93
93
  let n, r, i = new Promise((e, t) => {
94
94
  n = e, r = t;
95
- }), a = S(e);
96
- a.getState().presentation.shouldPrefetchHome && h();
95
+ }), a = m(e);
96
+ a.getState().presentation.shouldPrefetchHome && g();
97
97
  let o = {
98
98
  status: "loading",
99
99
  flowManager: a,
@@ -102,59 +102,59 @@ function z(e) {
102
102
  readyResolve: n,
103
103
  readyReject: r
104
104
  };
105
- return L.set(t, o), (async () => {
105
+ return R.set(t, o), (async () => {
106
106
  try {
107
- await _({
107
+ await T({
108
108
  token: e.token,
109
109
  lang: e.lang,
110
110
  flowManager: a
111
111
  });
112
- let t = e.disableDashboardTheme ? Promise.resolve({}) : m().then((e) => {
112
+ let t = e.disableDashboardTheme ? Promise.resolve({}) : v().then((e) => {
113
113
  o.theme = e.theme, o.uiConfig = e.uiConfig;
114
114
  });
115
115
  o.unsubscribe = a.subscribe((t) => {
116
116
  if (t.status === "ready") {
117
117
  let n = t;
118
- v(n, e.wasmConfig), w(n), o.unsubscribe?.(), o.unsubscribe = void 0, o.status = "ready", o.readyResolve();
118
+ _(n, e.wasmConfig), h(n), o.unsubscribe?.(), o.unsubscribe = void 0, o.status = "ready", o.readyResolve();
119
119
  } else t.status === "error" && (o.unsubscribe?.(), o.unsubscribe = void 0, o.status = "error", o.error = t.error, o.readyReject(Error(t.error)));
120
120
  }), await t;
121
121
  } catch (e) {
122
- o.status = "error", o.error = e instanceof Error ? e.message : "Failed to preload", o.readyReject(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to preload")), L.delete(t);
122
+ o.status = "error", o.error = e instanceof Error ? e.message : "Failed to preload", o.readyReject(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to preload")), R.delete(t);
123
123
  }
124
- })(), R(t);
125
- }
126
- function B(e) {
127
- return L.get(e) ?? null;
124
+ })(), z(t);
128
125
  }
129
126
  function V(e) {
130
- let t = B(e);
131
- return t && L.delete(e), t;
127
+ return R.get(e) ?? null;
128
+ }
129
+ function H(e) {
130
+ let t = V(e);
131
+ return t && R.delete(e), t;
132
132
  }
133
133
  //#endregion
134
134
  //#region src/modules/flow/useFlowInitialization.ts
135
- function H(e) {
136
- e.getState().presentation.shouldPrefetchHome && h();
135
+ function U(e) {
136
+ e.getState().presentation.shouldPrefetchHome && g();
137
137
  }
138
- function U() {
139
- T() === "desktop" && g();
138
+ function W() {
139
+ E() === "desktop" && x();
140
140
  }
141
- function W(e) {
142
- let { lang: n, disableDashboardTheme: r, enableHome: a, onError: s, useCPF: l } = e, u = F(e) ? e.token : void 0, d = i(null), [f, p] = o(() => {
143
- let t = u ? B(u) : null;
141
+ function G(e) {
142
+ let { lang: n, disableDashboardTheme: r, enableHome: a, onError: s, useCPF: l } = e, u = I(e) ? e.token : void 0, d = i(null), [f, p] = o(() => {
143
+ let t = u ? V(u) : null;
144
144
  if (u && t?.status === "ready") {
145
- let e = V(u);
146
- if (e) return d.current = e.flowManager, H(e.flowManager), U(), e.uiConfig && c(e.uiConfig), {
145
+ let e = H(u);
146
+ if (e) return d.current = e.flowManager, U(e.flowManager), W(), e.uiConfig && c(e.uiConfig), {
147
147
  status: "ready",
148
148
  flowManager: e.flowManager
149
149
  };
150
150
  }
151
- let n = S({
151
+ let n = m({
152
152
  authHint: e.authHint,
153
153
  lang: e.lang,
154
154
  enableHome: e.enableHome,
155
155
  useCPF: e.useCPF
156
156
  });
157
- return d.current = n, H(n), U(), t?.status === "error" ? {
157
+ return d.current = n, U(n), W(), t?.status === "error" ? {
158
158
  status: "error",
159
159
  error: t.error ?? "Preload failed",
160
160
  flowManager: n
@@ -165,16 +165,16 @@ function W(e) {
165
165
  }), h = i(!1);
166
166
  return t(() => {
167
167
  if (f.status !== "initializing") return;
168
- let t = u ? B(u) : null;
168
+ let t = u ? V(u) : null;
169
169
  if (u && t?.status === "loading") {
170
170
  t.readyPromise.then(() => {
171
- let e = V(u);
172
- e && (d.current = e.flowManager, H(e.flowManager), U(), e.uiConfig && c(e.uiConfig), p({
171
+ let e = H(u);
172
+ e && (d.current = e.flowManager, U(e.flowManager), W(), e.uiConfig && c(e.uiConfig), p({
173
173
  status: "ready",
174
174
  flowManager: e.flowManager
175
175
  }));
176
176
  }).catch((e) => {
177
- let t = e instanceof Error ? e.message : "Preload failed", n = e instanceof D ? e.status : void 0;
177
+ let t = e instanceof Error ? e.message : "Preload failed", n = e instanceof O ? e.status : void 0;
178
178
  p({
179
179
  status: "error",
180
180
  error: t,
@@ -190,19 +190,19 @@ function W(e) {
190
190
  return (async () => {
191
191
  try {
192
192
  let t;
193
- if (F(e)) t = e.token, e.urlUuid && await k({
193
+ if (I(e)) t = e.token, e.urlUuid && await A({
194
194
  urlUuid: e.urlUuid,
195
195
  onboardingId: null,
196
196
  onRefreshed: e.onUrlUuidRefreshed
197
197
  }, a);
198
- else if (I(e)) t = (await P(e, a)).token;
198
+ else if (L(e)) t = (await F(e, a)).token;
199
199
  else throw Error("Flow requires token, or configurationId with apiKey or clientId");
200
- await _({
200
+ await T({
201
201
  token: t,
202
202
  lang: n,
203
203
  flowManager: f.flowManager
204
204
  });
205
- let i = r ? Promise.resolve() : m().then((e) => {
205
+ let i = r ? Promise.resolve() : v().then((e) => {
206
206
  e.uiConfig && c(e.uiConfig);
207
207
  }), o = f.flowManager.waitForReady();
208
208
  await Promise.all([o, i]), p({
@@ -211,7 +211,7 @@ function W(e) {
211
211
  });
212
212
  } catch (e) {
213
213
  if (a.aborted) return;
214
- let t = e instanceof Error ? e.message : "Failed to initialize SDK", n = e instanceof D ? e.status : void 0;
214
+ let t = e instanceof Error ? e.message : "Failed to initialize SDK", n = e instanceof O ? e.status : void 0;
215
215
  p({
216
216
  status: "error",
217
217
  error: t,
@@ -233,32 +233,32 @@ function W(e) {
233
233
  }
234
234
  //#endregion
235
235
  //#region src/modules/flow/flow.tsx
236
- var G = n(() => import("../homeScreen-3D6x-cBC.js").then((e) => ({ default: e.HomeScreen }))), K = ({ config: n, onFinish: i, onError: o }) => {
237
- let { i18n: c } = e(), u = W(r(() => ({
236
+ var K = n(() => import("../homeScreen-3D6x-cBC.js").then((e) => ({ default: e.HomeScreen }))), q = ({ config: n, onFinish: i, onError: o }) => {
237
+ let { i18n: c } = e(), u = G(r(() => ({
238
238
  ...n,
239
239
  onError: o
240
- }), [n, o])), [f, m] = l(() => u.flowManager, { autoLoad: !1 }), g = f.presentation.lazyModuleKey, _ = f.status === "ready" ? f.currentStep : void 0, S = C({
241
- moduleKey: g,
242
- modules: b,
240
+ }), [n, o])), [f, m] = l(() => u.flowManager, { autoLoad: !1 }), h = f.presentation.lazyModuleKey, v = f.status === "ready" ? f.currentStep : void 0, x = w({
241
+ moduleKey: h,
242
+ modules: C,
243
243
  onModuleLoading: n.onModuleLoading,
244
244
  onModuleLoaded: n.onModuleLoaded,
245
245
  onError: o
246
246
  });
247
247
  y({
248
- moduleKey: f.status === "ready" && f.homeScreen.visible ? _ : void 0,
249
- modules: b
248
+ moduleKey: f.status === "ready" && f.homeScreen.visible ? v : void 0,
249
+ modules: C
250
250
  });
251
- let w = S.status === "loaded", T = n.enableHome === !0 && f.status === "ready" && f.flow.disableLaunchScreen !== !0 && f.currentStepIndex === 0 && f.homeScreen.visible === !1 && S.status === "loading", D = A(f.presentation.isAwaitingReady === !0, 150), O = A(f.status === "ready" && (S.status === "idle" || S.status === "loading" || S.status === "error"), 150);
252
- x(f?.status === "ready" ? f.steps : [], f?.status === "ready" ? f.currentStepIndex : -1, b, w), t(() => {
251
+ let T = x.status === "loaded", E = n.enableHome === !0 && f.status === "ready" && f.flow.disableLaunchScreen !== !0 && f.currentStepIndex === 0 && f.homeScreen.visible === !1 && x.status === "loading", O = j(f.presentation.isAwaitingReady === !0, 150), k = j(f.status === "ready" && (x.status === "idle" || x.status === "loading" || x.status === "error"), 150);
252
+ S(f?.status === "ready" ? f.steps : [], f?.status === "ready" ? f.currentStepIndex : -1, C, T), t(() => {
253
253
  if (n.onFlowEvent) return m.subscribeFlowEvent(n.onFlowEvent);
254
254
  }, [m, n.onFlowEvent]), t(() => {
255
- f.presentation.shouldPrefetchHome && h();
255
+ f.presentation.shouldPrefetchHome && g();
256
256
  }, [f.presentation.shouldPrefetchHome]), t(() => {
257
257
  n.lang && c.language !== n.lang && c.changeLanguage(n.lang);
258
258
  }, [n.lang, c]), t(() => {
259
259
  if (f?.status !== "ready" || f.currentStep === "REDIRECT_TO_MOBILE") return;
260
- let e = f, t = E(e.flow);
261
- t.length > 0 && (n.onWasmWarmup?.(t), v(e, n.wasmConfig));
260
+ let e = f, t = D(e.flow);
261
+ t.length > 0 && (n.onWasmWarmup?.(t), _(e, n.wasmConfig));
262
262
  }, [f, n]), t(() => {
263
263
  f?.status === "finished" && i(f.finishStatus);
264
264
  }, [
@@ -274,17 +274,17 @@ var G = n(() => import("../homeScreen-3D6x-cBC.js").then((e) => ({ default: e.Ho
274
274
  ]), t(() => {
275
275
  f?.status === "ready" && f.currentStep === "ID" && f.steps.includes("TUTORIAL_ID") && m.completeModule();
276
276
  }, [f, m]);
277
- let k = !(n.spinnerConfig?.title || n.spinnerConfig?.subtitle);
277
+ let A = !(n.spinnerConfig?.title || n.spinnerConfig?.subtitle);
278
278
  if (u.status === "error") return /* @__PURE__ */ s("div", {
279
279
  class: "IncodeFlow",
280
280
  children: /* @__PURE__ */ s("div", { children: ["Error: ", u.error] })
281
281
  });
282
- if (f.homeScreen.visible || T) return /* @__PURE__ */ s("div", {
282
+ if (f.homeScreen.visible || E) return /* @__PURE__ */ s("div", {
283
283
  class: "IncodeFlow",
284
284
  children: /* @__PURE__ */ s(a, {
285
285
  fallback: null,
286
- children: /* @__PURE__ */ s(G, {
287
- isContinueLoading: f.homeScreen.isContinueLoading || T,
286
+ children: /* @__PURE__ */ s(K, {
287
+ isContinueLoading: f.homeScreen.isContinueLoading || E,
288
288
  onContinue: () => m.continueFromHome()
289
289
  })
290
290
  })
@@ -293,14 +293,14 @@ var G = n(() => import("../homeScreen-3D6x-cBC.js").then((e) => ({ default: e.Ho
293
293
  class: "IncodeFlow",
294
294
  children: /* @__PURE__ */ s(d, {
295
295
  spinnerConfig: n.spinnerConfig,
296
- hideText: k
296
+ hideText: A
297
297
  })
298
298
  });
299
- if (f.presentation.isAwaitingReady) return D ? /* @__PURE__ */ s("div", {
299
+ if (f.presentation.isAwaitingReady) return O ? /* @__PURE__ */ s("div", {
300
300
  class: "IncodeFlow",
301
301
  children: /* @__PURE__ */ s(d, {
302
302
  spinnerConfig: n.spinnerConfig,
303
- hideText: k
303
+ hideText: A
304
304
  })
305
305
  }) : /* @__PURE__ */ s("div", { class: "IncodeFlow" });
306
306
  if (f.status === "error") return /* @__PURE__ */ s("div", {
@@ -314,25 +314,25 @@ var G = n(() => import("../homeScreen-3D6x-cBC.js").then((e) => ({ default: e.Ho
314
314
  class: "IncodeFlow",
315
315
  children: /* @__PURE__ */ s(d, {
316
316
  spinnerConfig: n.spinnerConfig,
317
- hideText: k
317
+ hideText: A
318
318
  })
319
319
  });
320
- if (e === "IP_ADDRESS") return /* @__PURE__ */ s("div", { class: "IncodeFlow" });
321
- if (S.status === "unsupported") return /* @__PURE__ */ s("div", {
320
+ if (b.has(e)) return /* @__PURE__ */ s("div", { class: "IncodeFlow" });
321
+ if (x.status === "unsupported") return /* @__PURE__ */ s("div", {
322
322
  class: "IncodeFlow",
323
323
  children: /* @__PURE__ */ s(p, {
324
324
  moduleKey: e,
325
325
  onNext: () => m.completeModule()
326
326
  })
327
327
  });
328
- if (S.status === "idle" || S.status === "loading" || S.status === "error") return O ? /* @__PURE__ */ s("div", {
328
+ if (x.status === "idle" || x.status === "loading" || x.status === "error") return k ? /* @__PURE__ */ s("div", {
329
329
  class: "IncodeFlow",
330
330
  children: /* @__PURE__ */ s(d, {
331
331
  spinnerConfig: n.spinnerConfig,
332
- hideText: k
332
+ hideText: A
333
333
  })
334
334
  }) : /* @__PURE__ */ s("div", { class: "IncodeFlow" });
335
- let { Component: a } = S;
335
+ let { Component: a } = x;
336
336
  if (e === "REDIRECT_TO_MOBILE") return /* @__PURE__ */ s("div", {
337
337
  class: "IncodeFlow",
338
338
  children: /* @__PURE__ */ s(a, {
@@ -651,11 +651,11 @@ var G = n(() => import("../homeScreen-3D6x-cBC.js").then((e) => ({ default: e.Ho
651
651
  });
652
652
  }
653
653
  return null;
654
- }, q = ({ config: e, onFinish: t = () => {}, onError: n }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(K, {
654
+ }, J = ({ config: e, onFinish: t = () => {}, onError: n }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(q, {
655
655
  config: e,
656
656
  onFinish: t,
657
657
  onError: n
658
658
  }) : null });
659
- f(q, "incode-flow");
659
+ f(J, "incode-flow");
660
660
  //#endregion
661
- export { q as IncodeFlow, z as preloadIncodeFlow };
661
+ export { J as IncodeFlow, B as preloadIncodeFlow };
@@ -2574,6 +2574,14 @@
2574
2574
  flex: 1;
2575
2575
  }
2576
2576
 
2577
+ .IncodeManualUploadPage .IncodeManualUploadTabTrigger:focus-visible {
2578
+ border-radius: var(--radius-xs, .125rem);
2579
+ outline-style: var(--tw-outline-style);
2580
+ outline-offset: 2px;
2581
+ outline-width: 2px;
2582
+ outline-color: var(--color-border-status-focus, var(--border-status-focus));
2583
+ }
2584
+
2577
2585
  .IncodeManualUploadPage .IncodeManualUploadTabTrigger--active {
2578
2586
  border-bottom-color: var(--color-button-primary-surface-default, var(--button-primary-surface-default));
2579
2587
  --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
@@ -3807,11 +3815,12 @@
3807
3815
  .IncodeRedirectRoot .IncodeRedirectContainer {
3808
3816
  background-color: var(--color-surface-neutral-50, var(--surface-neutral-50));
3809
3817
  justify-content: center;
3810
- align-items: center;
3818
+ align-items: safe center;
3811
3819
  width: 100%;
3812
3820
  height: 100%;
3813
3821
  display: flex;
3814
3822
  position: relative;
3823
+ overflow-y: auto;
3815
3824
  }
3816
3825
 
3817
3826
  .IncodeRedirectRoot .IncodeRedirectContainer .IncodeRedirectCard {
@@ -3833,11 +3842,18 @@
3833
3842
  overflow-x: clip;
3834
3843
  }
3835
3844
 
3845
+ .IncodeRedirectRoot .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectTopGroup {
3846
+ align-items: center;
3847
+ gap: var(--spacing-32, var(--spacing-32, 32px));
3848
+ flex-direction: column;
3849
+ width: 100%;
3850
+ display: flex;
3851
+ }
3852
+
3836
3853
  .IncodeRedirectRoot .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectOptions {
3837
3854
  align-items: center;
3838
3855
  gap: var(--spacing-32, var(--spacing-32, 32px));
3839
3856
  width: 100%;
3840
- height: var(--redirect-options-height);
3841
3857
  max-width: var(--redirect-options-max-width);
3842
3858
  flex-direction: column;
3843
3859
  display: flex;
@@ -3932,8 +3948,7 @@
3932
3948
  display: flex;
3933
3949
  }
3934
3950
 
3935
- .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectOptions .IncodeRedirectTabs {
3936
- --max-width-tabs: 676px;
3951
+ .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectTabs {
3937
3952
  justify-content: center;
3938
3953
  align-items: flex-end;
3939
3954
  gap: var(--spacing-12, var(--spacing-12, 12px));
@@ -3941,11 +3956,11 @@
3941
3956
  border-bottom-width: 1px;
3942
3957
  border-color: var(--color-border-neutral-300, var(--border-neutral-300));
3943
3958
  width: 100%;
3944
- max-width: var(--max-width-tabs);
3959
+ max-width: var(--redirect-tabs-max-width);
3945
3960
  display: flex;
3946
3961
  }
3947
3962
 
3948
- .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectOptions .IncodeRedirectTabs .IncodeRedirectTab {
3963
+ .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectTabs .IncodeRedirectTab {
3949
3964
  cursor: pointer;
3950
3965
  border-bottom-style: var(--tw-border-style);
3951
3966
  padding-inline: var(--spacing-24, var(--spacing-24, 24px));
@@ -3961,13 +3976,28 @@
3961
3976
  border-bottom-width: 2px;
3962
3977
  }
3963
3978
 
3964
- .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectOptions .IncodeRedirectTabs .IncodeRedirectTab.IncodeRedirectTabActive {
3979
+ .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectTabs .IncodeRedirectTab:focus-visible {
3980
+ border-radius: var(--radius-xs, .125rem);
3981
+ outline-style: var(--tw-outline-style);
3982
+ outline-offset: 2px;
3983
+ outline-width: 2px;
3984
+ outline-color: var(--color-border-status-focus, var(--border-status-focus));
3985
+ }
3986
+
3987
+ .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectTabs .IncodeRedirectTab.IncodeRedirectTabActive {
3965
3988
  border-color: var(--color-text-link-default, var(--text-link-default));
3966
3989
  color: var(--color-text-body-primary, var(--text-body-800-primary));
3967
3990
  }
3968
3991
 
3992
+ .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectOptions > [role="tabpanel"] {
3993
+ align-items: center;
3994
+ gap: var(--spacing-32, var(--spacing-32, 32px));
3995
+ flex-direction: column;
3996
+ width: 100%;
3997
+ display: flex;
3998
+ }
3999
+
3969
4000
  .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectOptions .IncodeRedirectTabDescription {
3970
- --max-width-tab-description: 434px;
3971
4001
  text-align: center;
3972
4002
  font-family: var(--typography-headline-family);
3973
4003
  font-size: var(--typography-headline-h5-size);
@@ -3975,17 +4005,16 @@
3975
4005
  line-height: var(--typography-headline-h5-line-height);
3976
4006
  letter-spacing: var(--typography-headline-h5-letter-spacing);
3977
4007
  color: var(--color-text-body-secondary, var(--text-body-500-secondary));
3978
- max-width: var(--max-width-tab-description);
4008
+ max-width: var(--redirect-tab-description-max-width);
3979
4009
  }
3980
4010
 
3981
4011
  .IncodeRedirectContainer .IncodeRedirectCard .IncodeRedirectOptions .IncodeRedirectQrWrapper {
3982
- --border-radius-qr-wrapper: 21px;
3983
4012
  border-style: var(--tw-border-style);
3984
4013
  border-width: 1px;
3985
4014
  border-color: var(--color-border-neutral-100, var(--border-neutral-100));
3986
4015
  background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
3987
4016
  padding: var(--spacing-12, var(--spacing-12, 12px));
3988
- border-radius: var(--border-radius-qr-wrapper);
4017
+ border-radius: var(--redirect-qr-wrapper-border-radius);
3989
4018
  justify-content: center;
3990
4019
  align-items: center;
3991
4020
  display: flex;
package/dist/id/id.es.js CHANGED
@@ -16,7 +16,7 @@ import { a as w, o as T, r as E } from "../tutorial-CqrvE-t_.js";
16
16
  import { t as D } from "../pdfViewer-BGBNL1Ea.js";
17
17
  import { t as te } from "../incodeModule-BqCjVgEI.js";
18
18
  import { t as ne } from "../id-laser-v-CrFg4bcJ.js";
19
- import { t as O } from "../tabs-BOKcbiVy.js";
19
+ import { t as O } from "../tabs-DaPyP71c.js";
20
20
  import { createIdCaptureManager as re } from "@incodetech/core/id";
21
21
  //#region src/shared/fonts/preloadDisplayFont.ts
22
22
  var k = !1;
@@ -684,13 +684,16 @@ var F = ({ state: t }) => {
684
684
  triggerClassName: "IncodeManualUploadTabTrigger",
685
685
  activeTriggerClassName: "IncodeManualUploadTabTrigger--active",
686
686
  children: [
687
- i ? /* @__PURE__ */ s(O.List, { children: [/* @__PURE__ */ s(O.Trigger, {
688
- value: "id",
689
- children: r("manualIdUpload.id")
690
- }), /* @__PURE__ */ s(O.Trigger, {
691
- value: "passport",
692
- children: r("manualIdUpload.passport")
693
- })] }) : null,
687
+ i ? /* @__PURE__ */ s(O.List, {
688
+ label: r("manualIdUpload.tabsLabel"),
689
+ children: [/* @__PURE__ */ s(O.Trigger, {
690
+ value: "id",
691
+ children: r("manualIdUpload.id")
692
+ }), /* @__PURE__ */ s(O.Trigger, {
693
+ value: "passport",
694
+ children: r("manualIdUpload.passport")
695
+ })]
696
+ }) : null,
694
697
  n.showIdTab ? /* @__PURE__ */ s(O.Content, {
695
698
  value: "id",
696
699
  children: /* @__PURE__ */ s(Z, {
@@ -8,6 +8,7 @@
8
8
  --tw-font-weight: initial;
9
9
  --tw-border-style: solid;
10
10
  --tw-leading: initial;
11
+ --tw-outline-style: solid;
11
12
  --tw-duration: initial;
12
13
  }
13
14
  }
@@ -896,6 +897,14 @@
896
897
  flex: 1;
897
898
  }
898
899
 
900
+ .IncodeManualUploadPage .IncodeManualUploadTabTrigger:focus-visible {
901
+ border-radius: var(--radius-xs, .125rem);
902
+ outline-style: var(--tw-outline-style);
903
+ outline-offset: 2px;
904
+ outline-width: 2px;
905
+ outline-color: var(--color-border-status-focus, var(--border-status-focus));
906
+ }
907
+
899
908
  .IncodeManualUploadPage .IncodeManualUploadTabTrigger--active {
900
909
  border-bottom-color: var(--color-button-primary-surface-default, var(--button-primary-surface-default));
901
910
  --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
@@ -1266,6 +1275,12 @@
1266
1275
  inherits: false
1267
1276
  }
1268
1277
 
1278
+ @property --tw-outline-style {
1279
+ syntax: "*";
1280
+ inherits: false;
1281
+ initial-value: solid;
1282
+ }
1283
+
1269
1284
  @property --tw-duration {
1270
1285
  syntax: "*";
1271
1286
  inherits: false