@alfadocs/ui-kit 0.38.0 → 0.39.0

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 (144) hide show
  1. package/dist/_chunks/{accordion-bSU21uTV.js → accordion-9lJSMMsZ.js} +6 -6
  2. package/dist/_chunks/{agenda-tray-By_asPN9.js → agenda-tray-Dyj9ChHC.js} +22 -21
  3. package/dist/_chunks/{bmi-calculator-BRUru9QX.js → bmi-calculator-DnEr513I.js} +2 -2
  4. package/dist/_chunks/{booking-DK_BPHnQ.js → booking-4mCw3Mpl.js} +2 -2
  5. package/dist/_chunks/{chart-DnHvmiDX.js → chart-Cbt0_sKv.js} +46 -37
  6. package/dist/_chunks/{collapsible-CERONory.js → collapsible-X3oaLPU3.js} +5 -5
  7. package/dist/_chunks/{document-scanner-CdHQ6lTN.js → document-scanner-CqS_klIr.js} +56 -55
  8. package/dist/_chunks/{editable-currency-cell-renderer-DGKuRNVG.js → editable-currency-cell-renderer-DgkCIIcO.js} +2 -2
  9. package/dist/_chunks/{file-upload-CnzRcErt.js → file-upload-BosbPDb1.js} +2 -2
  10. package/dist/_chunks/{freemium-paywall-D1N02Oam.js → freemium-paywall-BAk3a6er.js} +7 -7
  11. package/dist/_chunks/header-settings-CBLwUK6t.js +244 -0
  12. package/dist/_chunks/{map-view-vD5pvWs9.js → map-view-qJLybrmN.js} +2 -2
  13. package/dist/_chunks/marketplace-app-shell-BlxVizU4.js +296 -0
  14. package/dist/_chunks/{message-card-BbRhZkDI.js → message-card-DSPw5ghw.js} +20 -19
  15. package/dist/_chunks/{message-tray-B762TKuv.js → message-tray-hSQff9u4.js} +3 -3
  16. package/dist/_chunks/{notification-card-DMdO4g54.js → notification-card-CObnGdJu.js} +22 -21
  17. package/dist/_chunks/{notification-tray-Dl3FTleW.js → notification-tray-BWHDIjgd.js} +2 -2
  18. package/dist/_chunks/{otp-input-CDTWT5EK.js → otp-input-CMphfBxZ.js} +70 -71
  19. package/dist/_chunks/{patient-shell-Bz3CdO84.js → patient-shell-DF81lALv.js} +36 -35
  20. package/dist/_chunks/{payment-form-D5rgnZu7.js → payment-form-Dy3WIIsC.js} +18 -18
  21. package/dist/_chunks/{pdf-viewer-DvtEHcEP.js → pdf-viewer-Cy6Ul3hZ.js} +2 -2
  22. package/dist/_chunks/{practice-results-C8ciLQap.js → practice-results-C0d4IL5E.js} +2 -2
  23. package/dist/_chunks/{public-footer.agent-zw1vFin_.js → public-footer.agent-okt8ZRc5.js} +2 -2
  24. package/dist/_chunks/{reviews-panel-Dow8Dzoa.js → reviews-panel-CPrXu5TX.js} +2 -2
  25. package/dist/_chunks/{sidebar-BbR8f6oe.js → sidebar-_vJXI9rB.js} +2 -2
  26. package/dist/_chunks/sign-document-DId1p-nn.js +315 -0
  27. package/dist/_chunks/{signature-capture-C-fF71xI.js → signature-capture-BRzCklg4.js} +27 -24
  28. package/dist/_chunks/{sparkline-DEROcSl0.js → sparkline-DGhCSw8M.js} +55 -46
  29. package/dist/_chunks/{stepper-accordion-BfS6lUB9.js → stepper-accordion-Dki6r9ZE.js} +2 -2
  30. package/dist/_chunks/{tag-CyoaEmf_.js → tag-CdA0s_VV.js} +16 -16
  31. package/dist/_chunks/{task-card-BUVMh6HN.js → task-card-CPyQ5AXC.js} +6 -5
  32. package/dist/_chunks/{task-tray-DRK0b0Qb.js → task-tray-B8jFv5FV.js} +36 -35
  33. package/dist/_chunks/{transcript-panel-DyhTpAP7.js → transcript-panel-CR7VY1uw.js} +8 -7
  34. package/dist/_chunks/{warning-stack-bDicCvxs.js → warning-stack-DNR3-IbP.js} +17 -16
  35. package/dist/_chunks/{workflow-map-uSiHbOWQ.js → workflow-map-C3gB0FvB.js} +3 -2
  36. package/dist/agent-catalog.json +39 -1
  37. package/dist/components/accordion/index.js +1 -1
  38. package/dist/components/agenda-tray/index.js +1 -1
  39. package/dist/components/bmi-calculator/index.js +1 -1
  40. package/dist/components/booking/index.js +1 -1
  41. package/dist/components/chart/chart.d.ts +1 -1
  42. package/dist/components/chart/index.js +1 -1
  43. package/dist/components/collapsible/index.js +1 -1
  44. package/dist/components/data-table/index.js +1 -1
  45. package/dist/components/document-scanner/index.js +1 -1
  46. package/dist/components/file-upload/index.js +1 -1
  47. package/dist/components/freemium-paywall/index.js +1 -1
  48. package/dist/components/header-settings/header-settings.agent.d.ts +4 -0
  49. package/dist/components/header-settings/header-settings.d.ts +36 -0
  50. package/dist/components/header-settings/index.d.ts +2 -0
  51. package/dist/components/header-settings/index.js +2 -241
  52. package/dist/components/index.d.ts +1 -0
  53. package/dist/components/locale-picker/locale-picker.agent.d.ts +4 -0
  54. package/dist/components/locale-picker/locale-picker.d.ts +80 -0
  55. package/dist/components/map-view/index.js +1 -1
  56. package/dist/components/message-card/index.js +1 -1
  57. package/dist/components/message-tray/index.js +1 -1
  58. package/dist/components/notification-card/index.js +1 -1
  59. package/dist/components/notification-tray/index.js +1 -1
  60. package/dist/components/otp-input/index.d.ts +1 -1
  61. package/dist/components/otp-input/index.js +1 -1
  62. package/dist/components/otp-input/otp-input.d.ts +1 -1
  63. package/dist/components/payment-form/index.js +1 -1
  64. package/dist/components/pdf-viewer/index.js +1 -1
  65. package/dist/components/practice-results/index.js +1 -1
  66. package/dist/components/public-footer/index.js +1 -1
  67. package/dist/components/reviews-panel/index.js +1 -1
  68. package/dist/components/sidebar/index.js +1 -1
  69. package/dist/components/sign-document/index.d.ts +4 -0
  70. package/dist/components/sign-document/index.js +6 -0
  71. package/dist/components/sign-document/sign-document.agent.d.ts +4 -0
  72. package/dist/components/sign-document/sign-document.d.ts +47 -0
  73. package/dist/components/signature-capture/index.js +1 -1
  74. package/dist/components/sparkline/index.js +1 -1
  75. package/dist/components/sparkline/sparkline.d.ts +1 -1
  76. package/dist/components/stepper-accordion/index.js +1 -1
  77. package/dist/components/tag/index.js +1 -1
  78. package/dist/components/task-card/index.js +1 -1
  79. package/dist/components/task-tray/index.js +1 -1
  80. package/dist/components/transcript-panel/index.js +1 -1
  81. package/dist/components/warning-stack/index.js +1 -1
  82. package/dist/components/workflow/index.js +1 -1
  83. package/dist/i18n/locale-meta.d.ts +56 -0
  84. package/dist/i18n/locales/ar.d.ts +22 -0
  85. package/dist/i18n/locales/ar.js +22 -0
  86. package/dist/i18n/locales/de.d.ts +22 -0
  87. package/dist/i18n/locales/de.js +22 -0
  88. package/dist/i18n/locales/el.d.ts +22 -0
  89. package/dist/i18n/locales/el.js +22 -0
  90. package/dist/i18n/locales/en.d.ts +22 -0
  91. package/dist/i18n/locales/en.js +22 -0
  92. package/dist/i18n/locales/es.d.ts +22 -0
  93. package/dist/i18n/locales/es.js +22 -0
  94. package/dist/i18n/locales/fr.d.ts +22 -0
  95. package/dist/i18n/locales/fr.js +22 -0
  96. package/dist/i18n/locales/hi.d.ts +22 -0
  97. package/dist/i18n/locales/hi.js +22 -0
  98. package/dist/i18n/locales/it.d.ts +22 -0
  99. package/dist/i18n/locales/it.js +22 -0
  100. package/dist/i18n/locales/ja.d.ts +22 -0
  101. package/dist/i18n/locales/ja.js +22 -0
  102. package/dist/i18n/locales/nl.d.ts +22 -0
  103. package/dist/i18n/locales/nl.js +22 -0
  104. package/dist/i18n/locales/pl.d.ts +22 -0
  105. package/dist/i18n/locales/pl.js +22 -0
  106. package/dist/i18n/locales/pt.d.ts +22 -0
  107. package/dist/i18n/locales/pt.js +22 -0
  108. package/dist/i18n/locales/ro.d.ts +22 -0
  109. package/dist/i18n/locales/ro.js +22 -0
  110. package/dist/i18n/locales/ru.d.ts +22 -0
  111. package/dist/i18n/locales/ru.js +22 -0
  112. package/dist/i18n/locales/sq.d.ts +22 -0
  113. package/dist/i18n/locales/sq.js +22 -0
  114. package/dist/i18n/locales/sv.d.ts +22 -0
  115. package/dist/i18n/locales/sv.js +22 -0
  116. package/dist/i18n/locales/tr.d.ts +22 -0
  117. package/dist/i18n/locales/tr.js +22 -0
  118. package/dist/i18n/locales/zh.d.ts +22 -0
  119. package/dist/i18n/locales/zh.js +22 -0
  120. package/dist/index.js +110 -107
  121. package/dist/locales/ar.json +22 -0
  122. package/dist/locales/de.json +22 -0
  123. package/dist/locales/el.json +22 -0
  124. package/dist/locales/en.json +22 -0
  125. package/dist/locales/es.json +22 -0
  126. package/dist/locales/fr.json +22 -0
  127. package/dist/locales/hi.json +22 -0
  128. package/dist/locales/it.json +22 -0
  129. package/dist/locales/ja.json +22 -0
  130. package/dist/locales/nl.json +22 -0
  131. package/dist/locales/pl.json +22 -0
  132. package/dist/locales/pt.json +22 -0
  133. package/dist/locales/ro.json +22 -0
  134. package/dist/locales/ru.json +22 -0
  135. package/dist/locales/sq.json +22 -0
  136. package/dist/locales/sv.json +22 -0
  137. package/dist/locales/tr.json +22 -0
  138. package/dist/locales/zh.json +22 -0
  139. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  140. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +12 -8
  141. package/dist/patterns/patient-shell/index.js +1 -1
  142. package/dist/tokens.css +1 -1
  143. package/package.json +5 -1
  144. package/dist/_chunks/marketplace-app-shell-BnClrL2B.js +0 -295
@@ -1,10 +1,10 @@
1
- import { jsxs as p, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as p, jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as Fe, useId as Te, useRef as m, useState as Y, useEffect as k, useCallback as h, useMemo as We, useImperativeHandle as Ye } from "react";
3
3
  import { c as z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as $e } from "react-i18next";
5
5
  import { B as H } from "./button-DD_0Xdmr.js";
6
6
  import { A as ae } from "./alert-ywPR59NE.js";
7
- import { L as he, F as Xe } from "./file-upload-CnzRcErt.js";
7
+ import { L as he, F as Xe } from "./file-upload-BosbPDb1.js";
8
8
  import { u as Ze } from "./use-controllable-state-BiY4xTzM.js";
9
9
  import { u as Ge } from "./registry-nPAVE19X.js";
10
10
  import { R as Je } from "./rotate-ccw-BWANpitO.js";
@@ -43,7 +43,7 @@ const rr = [
43
43
  ["path", { d: "m14 19.5 3-3 3 3", key: "9vmjn0" }],
44
44
  ["path", { d: "M17 22v-5.5", key: "1aa6fl" }],
45
45
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }]
46
- ], nr = ze("image-up", rr), tr = {
46
+ ], tr = ze("image-up", rr), nr = {
47
47
  id: "document-scanner",
48
48
  capabilities: ["submit"],
49
49
  state: {
@@ -105,7 +105,8 @@ const rr = [
105
105
  }, ar = z(
106
106
  [
107
107
  "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
108
- "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
108
+ "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--card-border)]",
109
+ "ds:shadow-[var(--shadow-card)] ds:[.theme-accessible_&]:border-2",
109
110
  "ds:bg-[var(--background)] ds:text-[var(--foreground)]",
110
111
  "ds:p-[var(--spacing-md)]",
111
112
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
@@ -230,7 +231,7 @@ const lr = {
230
231
  const { t: s } = $e(), ce = `ds-${Te().replace(/[^a-zA-Z0-9-_]/g, "")}-hint`, [b, C] = Ze({
231
232
  value: o,
232
233
  defaultValue: f
233
- }), j = m(f != null || o != null), [n, v] = Y(
234
+ }), j = m(f != null || o != null), [t, v] = Y(
234
235
  f != null || o != null ? "captured" : "idle"
235
236
  ), [S, q] = Y(
236
237
  null
@@ -284,7 +285,7 @@ const lr = {
284
285
  e && e.readyState >= 2 && de(!0);
285
286
  }, []);
286
287
  k(() => {
287
- if (n !== "streaming") return;
288
+ if (t !== "streaming") return;
288
289
  L();
289
290
  const e = window.setInterval(L, 100), r = window.setTimeout(
290
291
  () => window.clearInterval(e),
@@ -293,7 +294,7 @@ const lr = {
293
294
  return () => {
294
295
  window.clearInterval(e), window.clearTimeout(r);
295
296
  };
296
- }, [n, L]);
297
+ }, [t, L]);
297
298
  const Q = h(async () => {
298
299
  const e = A.current;
299
300
  if (!e || e.readyState < 2) {
@@ -405,7 +406,7 @@ const lr = {
405
406
  ), ee = h(() => {
406
407
  var e;
407
408
  b && ((e = M.current) == null || e.call(M, b));
408
- }, [b]), re = m(!1), ne = h(() => {
409
+ }, [b]), re = m(!1), te = h(() => {
409
410
  var e, r;
410
411
  if (P) {
411
412
  (e = x.current) == null || e.call(x);
@@ -415,14 +416,14 @@ const lr = {
415
416
  }, [P, C]);
416
417
  k(() => {
417
418
  var e, r, i;
418
- n === "captured" && !j.current ? (e = me.current) == null || e.focus() : n === "error" ? (r = fe.current) == null || r.focus() : n === "idle" && re.current && (re.current = !1, (i = pe.current) == null || i.focus());
419
- }, [n]), k(() => {
420
- if (n !== "streaming") return;
419
+ t === "captured" && !j.current ? (e = me.current) == null || e.focus() : t === "error" ? (r = fe.current) == null || r.focus() : t === "idle" && re.current && (re.current = !1, (i = pe.current) == null || i.focus());
420
+ }, [t]), k(() => {
421
+ if (t !== "streaming") return;
421
422
  const e = (r) => {
422
423
  r.key === "Escape" && (w(), v("idle"));
423
424
  };
424
425
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
425
- }, [n, w]), k(() => {
426
+ }, [t, w]), k(() => {
426
427
  const e = () => {
427
428
  document.visibilityState === "hidden" && R.current && (w(), v("idle"));
428
429
  };
@@ -432,23 +433,23 @@ const lr = {
432
433
  const e = R.current;
433
434
  e && e.getTracks().forEach((r) => r.stop()), R.current = null;
434
435
  }, []), k(() => {
435
- P && (o != null ? v("captured") : n === "captured" && v("idle"));
436
+ P && (o != null ? v("captured") : t === "captured" && v("idle"));
436
437
  }, [o, P]);
437
- const te = We(
438
+ const ne = We(
438
439
  () => ({
439
440
  hasCapture: () => b != null,
440
- getPhase: () => n,
441
+ getPhase: () => t,
441
442
  startCamera: () => O(),
442
443
  capture: () => Q(),
443
444
  confirm: () => ee(),
444
- retake: () => ne()
445
+ retake: () => te()
445
446
  }),
446
- [b, n, O, Q, ee, ne]
447
+ [b, t, O, Q, ee, te]
447
448
  );
448
- Ye(Ee, () => te, [te]), Ge(tr, te, a);
449
+ Ye(Ee, () => ne, [ne]), Ge(nr, ne, a);
449
450
  const _e = je ?? s("documentScanner.regionLabel"), Be = s(lr[Z]), ge = Math.round(se / (1024 * 1024)), He = (() => {
450
451
  if (le) return s("documentScanner.state.uploading");
451
- switch (n) {
452
+ switch (t) {
452
453
  case "idle":
453
454
  return s("documentScanner.state.idle");
454
455
  case "requesting":
@@ -460,7 +461,7 @@ const lr = {
460
461
  case "error":
461
462
  return S ? s(ke[S], { maxSizeMb: ge }) : s("documentScanner.error.captureFailed");
462
463
  }
463
- })(), Ve = !E && S !== "file-invalid-type" && S !== "file-too-large" && S !== "insecure-context", ve = !g && (V === "auto" || V === "upload-only" || n === "error"), F = /* @__PURE__ */ t(
464
+ })(), Ve = !E && S !== "file-invalid-type" && S !== "file-too-large" && S !== "insecure-context", ve = !g && (V === "auto" || V === "upload-only" || t === "error"), F = /* @__PURE__ */ n(
464
465
  Xe,
465
466
  {
466
467
  variant: "button",
@@ -475,7 +476,7 @@ const lr = {
475
476
  },
476
477
  onReject: De
477
478
  }
478
- ), qe = n === "idle" || n === "requesting" || n === "streaming" || n === "error";
479
+ ), qe = t === "idle" || t === "requesting" || t === "streaming" || t === "error";
479
480
  return /* @__PURE__ */ p(
480
481
  "div",
481
482
  {
@@ -485,9 +486,9 @@ const lr = {
485
486
  className: [ar({ size: Ce }), Re].filter(Boolean).join(" "),
486
487
  "data-component": "document-scanner",
487
488
  "data-component-id": a,
488
- "data-phase": n,
489
+ "data-phase": t,
489
490
  children: [
490
- /* @__PURE__ */ t(
491
+ /* @__PURE__ */ n(
491
492
  "span",
492
493
  {
493
494
  role: "status",
@@ -498,11 +499,11 @@ const lr = {
498
499
  children: He
499
500
  }
500
501
  ),
501
- n === "captured" && b ? (
502
+ t === "captured" && b ? (
502
503
  /* ---- Captured preview ---- */
503
504
  /* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
504
505
  /* @__PURE__ */ p("div", { className: be({ frame: Z }), children: [
505
- /* @__PURE__ */ t(
506
+ /* @__PURE__ */ n(
506
507
  "img",
507
508
  {
508
509
  src: b.dataUrl,
@@ -511,29 +512,29 @@ const lr = {
511
512
  "data-testid": "document-scanner-preview"
512
513
  }
513
514
  ),
514
- j.current ? /* @__PURE__ */ t("span", { className: "ds:absolute ds:top-[var(--spacing-sm)] ds:start-[var(--spacing-sm)] ds:rounded-[var(--radius-full)] ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-2xs)] type-meta", children: s("documentScanner.onFileBadge") }) : null
515
+ j.current ? /* @__PURE__ */ n("span", { className: "ds:absolute ds:top-[var(--spacing-sm)] ds:start-[var(--spacing-sm)] ds:rounded-[var(--radius-full)] ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-2xs)] type-meta", children: s("documentScanner.onFileBadge") }) : null
515
516
  ] }),
516
517
  /* @__PURE__ */ p("div", { className: Se(), children: [
517
- /* @__PURE__ */ t(
518
+ /* @__PURE__ */ n(
518
519
  H,
519
520
  {
520
521
  intent: "secondary",
521
522
  size: "md",
522
523
  className: "ds:min-block-size-[var(--min-target-size)] ds:min-inline-size-[var(--min-target-size)]",
523
- startIcon: /* @__PURE__ */ t(Je, { "aria-hidden": "true" }),
524
- onClick: ne,
524
+ startIcon: /* @__PURE__ */ n(Je, { "aria-hidden": "true" }),
525
+ onClick: te,
525
526
  disabled: g,
526
527
  children: s("documentScanner.retake")
527
528
  }
528
529
  ),
529
- j.current ? null : /* @__PURE__ */ t(
530
+ j.current ? null : /* @__PURE__ */ n(
530
531
  H,
531
532
  {
532
533
  ref: me,
533
534
  intent: "primary",
534
535
  size: "md",
535
536
  className: "ds:min-block-size-[var(--min-target-size)] ds:min-inline-size-[var(--min-target-size)]",
536
- startIcon: /* @__PURE__ */ t(Qe, { "aria-hidden": "true" }),
537
+ startIcon: /* @__PURE__ */ n(Qe, { "aria-hidden": "true" }),
537
538
  onClick: ee,
538
539
  disabled: g || b == null,
539
540
  children: s("documentScanner.confirm")
@@ -543,14 +544,14 @@ const lr = {
543
544
  ] })
544
545
  ) : null,
545
546
  qe ? /* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
546
- !E && n !== "error" ? /* @__PURE__ */ p(
547
+ !E && t !== "error" ? /* @__PURE__ */ p(
547
548
  "div",
548
549
  {
549
550
  ref: Ue,
550
551
  className: be({ frame: Z }),
551
- "aria-busy": n === "requesting" || void 0,
552
+ "aria-busy": t === "requesting" || void 0,
552
553
  children: [
553
- /* @__PURE__ */ t(
554
+ /* @__PURE__ */ n(
554
555
  "video",
555
556
  {
556
557
  ref: A,
@@ -564,7 +565,7 @@ const lr = {
564
565
  "data-testid": "document-scanner-video"
565
566
  }
566
567
  ),
567
- n === "requesting" ? /* @__PURE__ */ t("div", { className: "ds:absolute ds:inset-0 ds:flex ds:items-center ds:justify-center ds:bg-[color-mix(in_srgb,var(--foreground)_20%,transparent)]", children: /* @__PURE__ */ t(
568
+ t === "requesting" ? /* @__PURE__ */ n("div", { className: "ds:absolute ds:inset-0 ds:flex ds:items-center ds:justify-center ds:bg-[color-mix(in_srgb,var(--foreground)_20%,transparent)]", children: /* @__PURE__ */ n(
568
569
  he,
569
570
  {
570
571
  "aria-hidden": "true",
@@ -578,7 +579,7 @@ const lr = {
578
579
  className: sr(),
579
580
  "data-testid": "document-scanner-frame",
580
581
  children: [
581
- /* @__PURE__ */ t(
582
+ /* @__PURE__ */ n(
582
583
  "span",
583
584
  {
584
585
  className: [
@@ -587,7 +588,7 @@ const lr = {
587
588
  ].join(" ")
588
589
  }
589
590
  ),
590
- /* @__PURE__ */ t(
591
+ /* @__PURE__ */ n(
591
592
  "span",
592
593
  {
593
594
  className: [
@@ -596,7 +597,7 @@ const lr = {
596
597
  ].join(" ")
597
598
  }
598
599
  ),
599
- /* @__PURE__ */ t(
600
+ /* @__PURE__ */ n(
600
601
  "span",
601
602
  {
602
603
  className: [
@@ -605,7 +606,7 @@ const lr = {
605
606
  ].join(" ")
606
607
  }
607
608
  ),
608
- /* @__PURE__ */ t(
609
+ /* @__PURE__ */ n(
609
610
  "span",
610
611
  {
611
612
  className: [
@@ -620,11 +621,11 @@ const lr = {
620
621
  ]
621
622
  }
622
623
  ) : null,
623
- n === "streaming" ? /* @__PURE__ */ t("p", { id: ce, className: ir(), children: Be }) : null,
624
- n === "error" && S ? /* @__PURE__ */ p(ae, { variant: "error", live: "assertive", children: [
625
- /* @__PURE__ */ t(ae.Description, { children: s(ke[S], { maxSizeMb: ge }) }),
624
+ t === "streaming" ? /* @__PURE__ */ n("p", { id: ce, className: ir(), children: Be }) : null,
625
+ t === "error" && S ? /* @__PURE__ */ p(ae, { variant: "error", live: "assertive", children: [
626
+ /* @__PURE__ */ n(ae.Description, { children: s(ke[S], { maxSizeMb: ge }) }),
626
627
  /* @__PURE__ */ p(ae.Action, { children: [
627
- Ve ? /* @__PURE__ */ t(
628
+ Ve ? /* @__PURE__ */ n(
628
629
  H,
629
630
  {
630
631
  ref: fe,
@@ -640,14 +641,14 @@ const lr = {
640
641
  ve ? F : null
641
642
  ] })
642
643
  ] }) : null,
643
- n !== "error" ? /* @__PURE__ */ p("div", { className: Se(), children: [
644
- n === "streaming" ? /* @__PURE__ */ t(
644
+ t !== "error" ? /* @__PURE__ */ p("div", { className: Se(), children: [
645
+ t === "streaming" ? /* @__PURE__ */ n(
645
646
  H,
646
647
  {
647
648
  ref: Ae,
648
649
  intent: "primary",
649
650
  size: "lg",
650
- startIcon: /* @__PURE__ */ t(ye, { "aria-hidden": "true" }),
651
+ startIcon: /* @__PURE__ */ n(ye, { "aria-hidden": "true" }),
651
652
  onClick: () => {
652
653
  Q();
653
654
  },
@@ -657,15 +658,15 @@ const lr = {
657
658
  children: s("documentScanner.capture")
658
659
  }
659
660
  ) : null,
660
- (n === "idle" || n === "requesting") && !E ? /* @__PURE__ */ t(
661
+ (t === "idle" || t === "requesting") && !E ? /* @__PURE__ */ n(
661
662
  H,
662
663
  {
663
664
  ref: pe,
664
665
  intent: "primary",
665
666
  size: "md",
666
667
  className: "ds:min-block-size-[var(--min-target-size)] ds:min-inline-size-[var(--min-target-size)]",
667
- loading: n === "requesting",
668
- startIcon: /* @__PURE__ */ t(ye, { "aria-hidden": "true" }),
668
+ loading: t === "requesting",
669
+ startIcon: /* @__PURE__ */ n(ye, { "aria-hidden": "true" }),
669
670
  onClick: () => {
670
671
  O();
671
672
  },
@@ -674,7 +675,7 @@ const lr = {
674
675
  }
675
676
  ) : null,
676
677
  le ? /* @__PURE__ */ p("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[var(--muted-foreground)]", children: [
677
- /* @__PURE__ */ t(
678
+ /* @__PURE__ */ n(
678
679
  he,
679
680
  {
680
681
  "aria-hidden": "true",
@@ -682,11 +683,11 @@ const lr = {
682
683
  }
683
684
  ),
684
685
  s("documentScanner.state.uploading")
685
- ] }) : ve && n !== "streaming" ? E ? F : /* @__PURE__ */ p("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[var(--muted-foreground)]", children: [
686
- /* @__PURE__ */ t(nr, { "aria-hidden": "true", className: "ds:size-4" }),
686
+ ] }) : ve && t !== "streaming" ? E ? F : /* @__PURE__ */ p("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[var(--muted-foreground)]", children: [
687
+ /* @__PURE__ */ n(tr, { "aria-hidden": "true", className: "ds:size-4" }),
687
688
  F
688
689
  ] }) : null,
689
- n === "streaming" && V !== "camera-only" ? F : null
690
+ t === "streaming" && V !== "camera-only" ? F : null
690
691
  ] }) : null
691
692
  ] }) : null
692
693
  ]
@@ -697,6 +698,6 @@ const lr = {
697
698
  ur.displayName = "DocumentScanner";
698
699
  export {
699
700
  ur as D,
700
- tr as d
701
+ nr as d
701
702
  };
702
- //# sourceMappingURL=document-scanner-CdHQ6lTN.js.map
703
+ //# sourceMappingURL=document-scanner-CqS_klIr.js.map
@@ -11,7 +11,7 @@ import { I as B } from "./icon-button-CKEOrN37.js";
11
11
  import { P as Z } from "./popover-Devce-tT.js";
12
12
  import { C as Re } from "./checkbox-DRcOdmXv.js";
13
13
  import { T as fe } from "./text-input-BaClJL8Y.js";
14
- import { T as ae } from "./tag-CyoaEmf_.js";
14
+ import { T as ae } from "./tag-CdA0s_VV.js";
15
15
  import { D as Y } from "./dropdown-menu-BC5ZdOMo.js";
16
16
  import { X as De } from "./x-CCcI3eJp.js";
17
17
  import { R as Rt } from "./refresh-cw-CC8jSKMr.js";
@@ -2332,4 +2332,4 @@ export {
2332
2332
  Be as q,
2333
2333
  xn as u
2334
2334
  };
2335
- //# sourceMappingURL=editable-currency-cell-renderer-DGKuRNVG.js.map
2335
+ //# sourceMappingURL=editable-currency-cell-renderer-DgkCIIcO.js.map
@@ -181,7 +181,7 @@ const Ve = [
181
181
  ), Te = B(
182
182
  [
183
183
  "ds:flex ds:items-center ds:gap-[var(--spacing-md)]",
184
- "ds:rounded-[var(--radius-md)] ds:border ds:bg-background",
184
+ "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)] ds:bg-background",
185
185
  "ds:p-[var(--spacing-md)]",
186
186
  "ds:text-[length:var(--font-size-sm)] ds:text-foreground",
187
187
  "ds:transition-all ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
@@ -797,4 +797,4 @@ export {
797
797
  Ee as L,
798
798
  qe as f
799
799
  };
800
- //# sourceMappingURL=file-upload-CnzRcErt.js.map
800
+ //# sourceMappingURL=file-upload-BosbPDb1.js.map
@@ -8,7 +8,7 @@ import { u as X } from "./use-controllable-state-BiY4xTzM.js";
8
8
  import { u as Y } from "./registry-nPAVE19X.js";
9
9
  import { B as I } from "./button-DD_0Xdmr.js";
10
10
  import { P as Z } from "./progress-kzIRcdaq.js";
11
- import { f as $ } from "./payment-form-D5rgnZu7.js";
11
+ import { f as $ } from "./payment-form-Dy3WIIsC.js";
12
12
  import { T as ee } from "./triangle-alert-CBPUIzQo.js";
13
13
  import { C as se } from "./check-DPdL_Sm7.js";
14
14
  const ae = {
@@ -199,14 +199,14 @@ const ae = {
199
199
  t.priceAmount,
200
200
  t.currency,
201
201
  O.language
202
- ), N = t.perKey ? s(t.perKey) : void 0, U = N ? s("paywall.pricePer", { price: w, period: N }) : w, B = s(t.nameKey);
202
+ ), N = t.perKey ? s(t.perKey) : void 0, U = N ? s("paywall.pricePer", { price: w, period: N }) : w, _ = s(t.nameKey);
203
203
  return /* @__PURE__ */ d(
204
204
  k.Item,
205
205
  {
206
206
  value: t.id,
207
207
  className: [
208
208
  "ds:group ds:relative ds:flex ds:flex-col ds:items-stretch",
209
- "ds:rounded-[var(--radius-md)] ds:border ds:border-border",
209
+ "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2",
210
210
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]",
211
211
  "ds:text-start ds:bg-[color:var(--card)] ds:text-[color:var(--card-foreground)]",
212
212
  "ds:data-[state=checked]:border-[color:var(--primary)]",
@@ -216,7 +216,7 @@ const ae = {
216
216
  ].join(" "),
217
217
  children: [
218
218
  /* @__PURE__ */ d("span", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
219
- /* @__PURE__ */ e("span", { className: "ds:font-semibold", children: B }),
219
+ /* @__PURE__ */ e("span", { className: "ds:font-semibold", children: _ }),
220
220
  /* @__PURE__ */ e("span", { className: "ds:tabular-nums", children: U })
221
221
  ] }),
222
222
  t.featuresKeys && t.featuresKeys.length > 0 ? /* @__PURE__ */ e(
@@ -224,7 +224,7 @@ const ae = {
224
224
  {
225
225
  "aria-label": s("paywall.features"),
226
226
  className: "ds:mt-[var(--spacing-xs)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
227
- children: t.featuresKeys.map((_, q) => /* @__PURE__ */ d(
227
+ children: t.featuresKeys.map((B, q) => /* @__PURE__ */ d(
228
228
  "li",
229
229
  {
230
230
  className: "ds:flex ds:items-start ds:gap-[var(--spacing-xs)] type-body-sm",
@@ -236,7 +236,7 @@ const ae = {
236
236
  className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--primary)] ds:mt-[1px]"
237
237
  }
238
238
  ),
239
- /* @__PURE__ */ e("span", { children: s(_) })
239
+ /* @__PURE__ */ e("span", { children: s(B) })
240
240
  ]
241
241
  },
242
242
  q
@@ -265,4 +265,4 @@ export {
265
265
  te as F,
266
266
  ae as f
267
267
  };
268
- //# sourceMappingURL=freemium-paywall-D1N02Oam.js.map
268
+ //# sourceMappingURL=freemium-paywall-BAk3a6er.js.map