@alfadocs/ui-kit 1.112.2 → 1.113.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 (97) hide show
  1. package/dist/_chunks/{calendar-appointment-editor-dialog-FvdoKZ54.js → calendar-appointment-editor-dialog-CaZm5wGR.js} +2 -2
  2. package/dist/_chunks/email-input-DxwbREpx.js +156 -0
  3. package/dist/_chunks/{forgot-password-form-vfCO2-Tt.js → forgot-password-form-YQVzSskq.js} +8 -7
  4. package/dist/_chunks/isEmail-BfVspSvV.js +248 -0
  5. package/dist/_chunks/{login-dev-card-Cz1Clugq.js → login-dev-card-B6-zCFq3.js} +47 -46
  6. package/dist/_chunks/{patient-details-BwkDIm4D.js → patient-details-RsT3SaYh.js} +2 -2
  7. package/dist/_chunks/{patient-field-row-CBba7w9V.js → patient-field-row-D9rb-QJH.js} +2 -2
  8. package/dist/_chunks/{patient-summary-card-DtYTo9w_.js → patient-summary-card-BjZErlbt.js} +2 -2
  9. package/dist/_chunks/{practice-results-BOpaPaav.js → practice-results-BByRCIuR.js} +620 -566
  10. package/dist/_chunks/{registration-form-DEyUFysm.js → registration-form-Cq5_OSIL.js} +7 -6
  11. package/dist/_chunks/{reserved.agent-W_Zgj564.js → reserved.agent-BMkapgom.js} +2 -2
  12. package/dist/_chunks/{reset-password-form-B0acanDD.js → reset-password-form-BVsL2fOJ.js} +2 -2
  13. package/dist/_chunks/{send-registration-link-form-Nn0jf65G.js → send-registration-link-form-OgPomrZN.js} +8 -7
  14. package/dist/_chunks/{use-appointment-details-read-DYyCYI9f.js → use-appointment-details-read-DvK7Looa.js} +2 -2
  15. package/dist/_chunks/verify-identity-types-C85EXNzy.js +707 -0
  16. package/dist/agent-catalog.json +106 -2
  17. package/dist/agent-i18n/en.json +11 -0
  18. package/dist/components/appointment-details-panel/index.js +1 -1
  19. package/dist/components/booking/index.js +1 -1
  20. package/dist/components/email-input/index.js +1 -1
  21. package/dist/components/index.d.ts +1 -0
  22. package/dist/components/patient-details/index.js +1 -1
  23. package/dist/components/patient-summary-card/index.js +1 -1
  24. package/dist/components/practice-results/index.js +1 -1
  25. package/dist/components/practice-results/practice-results.d.ts +28 -0
  26. package/dist/core.css +1 -1
  27. package/dist/i18n/locales/ar.d.ts +67 -0
  28. package/dist/i18n/locales/ar.js +68 -1
  29. package/dist/i18n/locales/de.d.ts +67 -0
  30. package/dist/i18n/locales/de.js +68 -1
  31. package/dist/i18n/locales/el.d.ts +67 -0
  32. package/dist/i18n/locales/el.js +68 -1
  33. package/dist/i18n/locales/en.d.ts +67 -0
  34. package/dist/i18n/locales/en.js +67 -0
  35. package/dist/i18n/locales/es.d.ts +67 -0
  36. package/dist/i18n/locales/es.js +68 -1
  37. package/dist/i18n/locales/fr.d.ts +67 -0
  38. package/dist/i18n/locales/fr.js +68 -1
  39. package/dist/i18n/locales/hi.d.ts +67 -0
  40. package/dist/i18n/locales/hi.js +68 -1
  41. package/dist/i18n/locales/it.d.ts +67 -0
  42. package/dist/i18n/locales/it.js +68 -1
  43. package/dist/i18n/locales/ja.d.ts +67 -0
  44. package/dist/i18n/locales/ja.js +68 -1
  45. package/dist/i18n/locales/nl.d.ts +67 -0
  46. package/dist/i18n/locales/nl.js +68 -1
  47. package/dist/i18n/locales/pl.d.ts +67 -0
  48. package/dist/i18n/locales/pl.js +68 -1
  49. package/dist/i18n/locales/pt.d.ts +67 -0
  50. package/dist/i18n/locales/pt.js +68 -1
  51. package/dist/i18n/locales/ro.d.ts +67 -0
  52. package/dist/i18n/locales/ro.js +68 -1
  53. package/dist/i18n/locales/ru.d.ts +67 -0
  54. package/dist/i18n/locales/ru.js +68 -1
  55. package/dist/i18n/locales/sq.d.ts +67 -0
  56. package/dist/i18n/locales/sq.js +68 -1
  57. package/dist/i18n/locales/sv.d.ts +67 -0
  58. package/dist/i18n/locales/sv.js +68 -1
  59. package/dist/i18n/locales/tr.d.ts +67 -0
  60. package/dist/i18n/locales/tr.js +68 -1
  61. package/dist/i18n/locales/zh.d.ts +67 -0
  62. package/dist/i18n/locales/zh.js +68 -1
  63. package/dist/index.js +345 -340
  64. package/dist/locales/ar.json +68 -1
  65. package/dist/locales/de.json +68 -1
  66. package/dist/locales/el.json +68 -1
  67. package/dist/locales/en.json +67 -0
  68. package/dist/locales/es.json +68 -1
  69. package/dist/locales/fr.json +68 -1
  70. package/dist/locales/hi.json +68 -1
  71. package/dist/locales/it.json +68 -1
  72. package/dist/locales/ja.json +68 -1
  73. package/dist/locales/nl.json +68 -1
  74. package/dist/locales/pl.json +68 -1
  75. package/dist/locales/pt.json +68 -1
  76. package/dist/locales/ro.json +68 -1
  77. package/dist/locales/ru.json +68 -1
  78. package/dist/locales/sq.json +68 -1
  79. package/dist/locales/sv.json +68 -1
  80. package/dist/locales/tr.json +68 -1
  81. package/dist/locales/zh.json +68 -1
  82. package/dist/patterns/calendar/index.js +1 -1
  83. package/dist/patterns/forgot-password-form/index.js +1 -1
  84. package/dist/patterns/login-form/index.js +1 -1
  85. package/dist/patterns/registration-form/index.js +1 -1
  86. package/dist/patterns/reset-password-form/index.js +1 -1
  87. package/dist/patterns/send-registration-link-form/index.js +1 -1
  88. package/dist/patterns/verify-identity/change-email-dialog.d.ts +26 -0
  89. package/dist/patterns/verify-identity/index.d.ts +7 -0
  90. package/dist/patterns/verify-identity/index.js +8 -0
  91. package/dist/patterns/verify-identity/use-countdown.d.ts +12 -0
  92. package/dist/patterns/verify-identity/verify-identity-steps.d.ts +21 -0
  93. package/dist/patterns/verify-identity/verify-identity-types.d.ts +47 -0
  94. package/dist/patterns/verify-identity/verify-identity.d.ts +54 -0
  95. package/dist/tokens.css +1 -1
  96. package/package.json +5 -1
  97. package/dist/_chunks/email-input-BEO3vonE.js +0 -399
@@ -3,12 +3,13 @@ import { useState as v, useRef as L, useEffect as E, useCallback as be, forwardR
3
3
  import { useTranslation as fe, Trans as Lr } from "react-i18next";
4
4
  import { c as ne } from "./index-D2ZczOXr.js";
5
5
  import { parsePhoneNumberFromString as Sn } from "libphonenumber-js/min";
6
- import { i as tr, E as Ar } from "./email-input-BEO3vonE.js";
6
+ import { i as tr } from "./isEmail-BfVspSvV.js";
7
7
  import { A as le } from "./alert-C4WKViaS.js";
8
8
  import { B as K } from "./button-DohK_Ak_.js";
9
- import { C as Pr } from "./card-C85_Ndhb.js";
9
+ import { C as Ar } from "./card-C85_Ndhb.js";
10
10
  import { C as En } from "./checkbox-a7Sh-dXb.js";
11
11
  import { D as kn } from "./dev-bypass-button-B7ePcJcg.js";
12
+ import { E as Pr } from "./email-input-DxwbREpx.js";
12
13
  import { E as In } from "./error-summary-DxNhwf_G.js";
13
14
  import { F as W } from "./form-field-CyHfOVKF.js";
14
15
  import { L as qr } from "./list-CNnn7DOD.js";
@@ -810,7 +811,7 @@ const cs = yn(
810
811
  );
811
812
  }, [or]);
812
813
  const kr = ee || he, Ir = /* @__PURE__ */ n(
813
- Ar,
814
+ Pr,
814
815
  {
815
816
  ref: vr.ref,
816
817
  name: re("email"),
@@ -946,7 +947,7 @@ const cs = yn(
946
947
  announceError: !S.lists("emailConfirm"),
947
948
  "data-field": "emailConfirm",
948
949
  children: /* @__PURE__ */ n(
949
- Ar,
950
+ Pr,
950
951
  {
951
952
  ref: Cr.ref,
952
953
  name: re("emailConfirm"),
@@ -1090,7 +1091,7 @@ const cs = yn(
1090
1091
  ...Te,
1091
1092
  "data-component": "registration-form",
1092
1093
  className: Jn({ className: xe }),
1093
- children: /* @__PURE__ */ n(Pr, { variant: "elevated", children: /* @__PURE__ */ g(Pr.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
1094
+ children: /* @__PURE__ */ n(Ar, { variant: "elevated", children: /* @__PURE__ */ g(Ar.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
1094
1095
  /* @__PURE__ */ g("div", { className: Qn({ logo: t }), children: [
1095
1096
  /* @__PURE__ */ g("div", { className: Zn({ centred: t }), children: [
1096
1097
  t && /* @__PURE__ */ n(Tn, { motion: d, label: os }),
@@ -1334,4 +1335,4 @@ export {
1334
1335
  Gr as R,
1335
1336
  cs as a
1336
1337
  };
1337
- //# sourceMappingURL=registration-form-DEyUFysm.js.map
1338
+ //# sourceMappingURL=registration-form-Cq5_OSIL.js.map
@@ -10,7 +10,7 @@ import { C as kr } from "./checkbox-group-eGdv9fZc.js";
10
10
  import { R as Sr } from "./radio-BZQs6_36.js";
11
11
  import { R as xr } from "./radio-group-ChIKyeSJ.js";
12
12
  import { D as Ir } from "./date-picker-CdhXlgVI.js";
13
- import { E as Nr } from "./email-input-BEO3vonE.js";
13
+ import { E as Nr } from "./email-input-DxwbREpx.js";
14
14
  import { F as Je } from "./form-field-CyHfOVKF.js";
15
15
  import { P as wr } from "./phone-input-BL8Sj6OG.js";
16
16
  import { T as Cr } from "./text-area-COMVJ1yE.js";
@@ -4607,4 +4607,4 @@ export {
4607
4607
  bs as b,
4608
4608
  Ao as c
4609
4609
  };
4610
- //# sourceMappingURL=reserved.agent-W_Zgj564.js.map
4610
+ //# sourceMappingURL=reserved.agent-BMkapgom.js.map
@@ -5,7 +5,7 @@ import { c as ws } from "./index-D2ZczOXr.js";
5
5
  import { A as u } from "./alert-C4WKViaS.js";
6
6
  import { B as D } from "./button-DohK_Ak_.js";
7
7
  import { C as ms } from "./card-C85_Ndhb.js";
8
- import { E as ks } from "./email-input-BEO3vonE.js";
8
+ import { E as ks } from "./email-input-DxwbREpx.js";
9
9
  import { E as Vs } from "./error-summary-DxNhwf_G.js";
10
10
  import { F as L } from "./form-field-CyHfOVKF.js";
11
11
  import { P as us } from "./password-input-SJGHFdOO.js";
@@ -364,4 +364,4 @@ export {
364
364
  b as R,
365
365
  nr as a
366
366
  };
367
- //# sourceMappingURL=reset-password-form-B0acanDD.js.map
367
+ //# sourceMappingURL=reset-password-form-BVsL2fOJ.js.map
@@ -3,11 +3,12 @@ import { forwardRef as Ke, useId as G, useState as f, useRef as I, useEffect as
3
3
  import { useTranslation as Je } from "react-i18next";
4
4
  import { c as Qe } from "./index-D2ZczOXr.js";
5
5
  import { parsePhoneNumberFromString as Xe } from "libphonenumber-js/min";
6
- import { i as Ye, E as pe } from "./email-input-BEO3vonE.js";
6
+ import { i as Ye } from "./isEmail-BfVspSvV.js";
7
7
  import { A as h } from "./alert-C4WKViaS.js";
8
- import { B as he } from "./button-DohK_Ak_.js";
8
+ import { B as pe } from "./button-DohK_Ak_.js";
9
9
  import { C as B } from "./card-C85_Ndhb.js";
10
10
  import { D as Ze } from "./date-picker-CdhXlgVI.js";
11
+ import { E as he } from "./email-input-DxwbREpx.js";
11
12
  import { E as Ve } from "./error-summary-DxNhwf_G.js";
12
13
  import { F } from "./form-field-CyHfOVKF.js";
13
14
  import { P as ue } from "./phone-input-BL8Sj6OG.js";
@@ -180,7 +181,7 @@ const q = [
180
181
  date: _(ce)
181
182
  }) })
182
183
  ] }),
183
- de && /* @__PURE__ */ n(he, { asChild: !0, intent: "secondary", "data-action": "send-another", children: /* @__PURE__ */ n("a", { href: de, children: i("sendRegistrationLink.sendAnother") }) })
184
+ de && /* @__PURE__ */ n(pe, { asChild: !0, intent: "secondary", "data-action": "send-another", children: /* @__PURE__ */ n("a", { href: de, children: i("sendRegistrationLink.sendAnother") }) })
184
185
  ] }) })
185
186
  }
186
187
  ) : /* @__PURE__ */ n(
@@ -247,7 +248,7 @@ const q = [
247
248
  announceError: !s.lists("email"),
248
249
  "data-field": "email",
249
250
  children: /* @__PURE__ */ n(
250
- pe,
251
+ he,
251
252
  {
252
253
  ref: te.ref,
253
254
  name: le("email"),
@@ -271,7 +272,7 @@ const q = [
271
272
  announceError: !s.lists("emailConfirm"),
272
273
  "data-field": "emailConfirm",
273
274
  children: /* @__PURE__ */ n(
274
- pe,
275
+ he,
275
276
  {
276
277
  ref: ie.ref,
277
278
  name: le("emailConfirm"),
@@ -381,7 +382,7 @@ const q = [
381
382
  ),
382
383
  He.map(([e, o]) => /* @__PURE__ */ n("input", { type: "hidden", name: e, value: o }, e)),
383
384
  /* @__PURE__ */ n(
384
- he,
385
+ pe,
385
386
  {
386
387
  type: "submit",
387
388
  intent: "primary",
@@ -406,4 +407,4 @@ export {
406
407
  q as S,
407
408
  fn as a
408
409
  };
409
- //# sourceMappingURL=send-registration-link-form-Nn0jf65G.js.map
410
+ //# sourceMappingURL=send-registration-link-form-OgPomrZN.js.map
@@ -16,7 +16,7 @@ import { E as zt } from "./editable-description-KU56SP4P.js";
16
16
  import { N as Xe } from "./note-timeline-BrjHBQfx.js";
17
17
  import { P as Ot } from "./panel-header-CbtlTe85.js";
18
18
  import { P as Ge } from "./panel-subview-DCyvn-49.js";
19
- import { P as _t } from "./patient-summary-card-DtYTo9w_.js";
19
+ import { P as _t } from "./patient-summary-card-BjZErlbt.js";
20
20
  import { S as ne } from "./section-card-D1sV4Voz.js";
21
21
  import { C as nn, S as ue } from "./skeleton-tTWJpvAq.js";
22
22
  import { T as an } from "./text-area-COMVJ1yE.js";
@@ -2195,4 +2195,4 @@ export {
2195
2195
  Kn as s,
2196
2196
  _s as u
2197
2197
  };
2198
- //# sourceMappingURL=use-appointment-details-read-DYyCYI9f.js.map
2198
+ //# sourceMappingURL=use-appointment-details-read-DvK7Looa.js.map