@alfadocs/ui-kit 1.80.0 → 1.82.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 (134) hide show
  1. package/dist/_chunks/{address-fields-GnoSkvh6.js → address-fields-CfnXK8RT.js} +4 -4
  2. package/dist/_chunks/{ai-prompt-input-M6u29f87.js → ai-prompt-input-DH_rnV-F.js} +33 -26
  3. package/dist/_chunks/{anamnesis-summary-rows-lONg-zja.js → anamnesis-summary-rows-6gMuu0ZK.js} +2 -2
  4. package/dist/_chunks/{autocomplete-DosDnGie.js → autocomplete-CnB1mHGc.js} +65 -64
  5. package/dist/_chunks/{balance-badge-cell-Dzd-Z_5W.js → balance-badge-cell-BHXJS8Ga.js} +2 -2
  6. package/dist/_chunks/{benefit-card-BWBClvdF.js → benefit-card-BcPtRHgM.js} +37 -36
  7. package/dist/_chunks/booking-dsgiuhKg.js +4304 -0
  8. package/dist/_chunks/{calendar-appointment-editor-dialog-DhTTWgXw.js → calendar-appointment-editor-dialog-BuumJbcv.js} +4 -4
  9. package/dist/_chunks/{city-input-3J3bz9EO.js → city-input-CJVGswxp.js} +2 -2
  10. package/dist/_chunks/{combobox-vF9O-QoG.js → combobox-CDPm_n0p.js} +93 -92
  11. package/dist/_chunks/{command-palette-D9TBzmOG.js → command-palette-B3dVqm9D.js} +68 -68
  12. package/dist/_chunks/{contact-profile-card-DKk94l-d.js → contact-profile-card-Da1vmJQI.js} +115 -102
  13. package/dist/_chunks/{country-select-CSE2Zm_s.js → country-select-DQ8q7ypA.js} +2 -2
  14. package/dist/_chunks/{face-scheme-BIPJqw9f.js → face-scheme-BgJGFDTa.js} +2 -2
  15. package/dist/_chunks/{header-settings-BYpVmLip.js → header-settings-CifwJEKB.js} +2 -2
  16. package/dist/_chunks/{link-cell-renderer-B0riA_h_.js → link-cell-renderer-C0ynDik7.js} +3 -3
  17. package/dist/_chunks/{locale-picker-DzdGDSBI.js → locale-picker-QbT1p60X.js} +39 -38
  18. package/dist/_chunks/{map-view-C6MIVaqn.js → map-view-Bvi06RVh.js} +2 -2
  19. package/dist/_chunks/{marketplace-app-shell-mS7Q2-81.js → marketplace-app-shell-vON3WhD0.js} +2 -2
  20. package/dist/_chunks/{multi-select-BOad3za9.js → multi-select-i5MFRpXg.js} +194 -187
  21. package/dist/_chunks/{otp-input-BgEZi0py.js → otp-input-gV1446Dw.js} +70 -70
  22. package/dist/_chunks/{patient-details-B-I9Xkh9.js → patient-details-D0P5eog5.js} +2 -2
  23. package/dist/_chunks/{patient-field-row-Bn0z6lAZ.js → patient-field-row-R73dZJY6.js} +5 -5
  24. package/dist/_chunks/{patient-search-CxqNcth4.js → patient-search-Dy0sxcwv.js} +2 -2
  25. package/dist/_chunks/{patient-summary-card-bhDo0gVX.js → patient-summary-card-6U74-ivO.js} +2 -2
  26. package/dist/_chunks/{payment-automation-upsell-AQpHOS1X.js → payment-automation-upsell-D1YdO1xY.js} +2 -2
  27. package/dist/_chunks/{phone-input-C3NrD-nl.js → phone-input-DJ4BN8tG.js} +70 -63
  28. package/dist/_chunks/{practice-results-CtOanuzZ.js → practice-results-B61krlwu.js} +2 -2
  29. package/dist/_chunks/{province-select-CDjs5obD.js → province-select-CPdTwEob.js} +2 -2
  30. package/dist/_chunks/{registration-form-CNBfUduG.js → registration-form-DmP3YUfp.js} +3 -3
  31. package/dist/_chunks/{send-registration-link-form-vTn1HxjA.js → send-registration-link-form-CZYOO7NO.js} +2 -2
  32. package/dist/_chunks/{task-editor-Cpw-NmND.js → task-editor-BOETWbjU.js} +2 -2
  33. package/dist/_chunks/{use-appointment-details-read-lFUL4kkd.js → use-appointment-details-read-CWN-nJCZ.js} +2 -2
  34. package/dist/agent-catalog.json +4 -4
  35. package/dist/agent-i18n/en.json +1 -1
  36. package/dist/components/address-fields/index.js +1 -1
  37. package/dist/components/ai-prompt-input/index.js +1 -1
  38. package/dist/components/appointment-details-panel/index.js +1 -1
  39. package/dist/components/autocomplete/index.js +1 -1
  40. package/dist/components/benefit-card/benefit-card.d.ts +7 -1
  41. package/dist/components/benefit-card/index.js +1 -1
  42. package/dist/components/booking/booking-types.d.ts +35 -2
  43. package/dist/components/booking/code-step.d.ts +4 -2
  44. package/dist/components/booking/details-form.d.ts +2 -0
  45. package/dist/components/booking/handover.d.ts +12 -0
  46. package/dist/components/booking/index.js +1 -1
  47. package/dist/components/booking/reserved.d.ts +24 -0
  48. package/dist/components/booking/use-booking-payment.d.ts +3 -1
  49. package/dist/components/city-input/index.js +1 -1
  50. package/dist/components/combobox/index.js +1 -1
  51. package/dist/components/command-palette/index.js +1 -1
  52. package/dist/components/contact-profile-card/contact-profile-card.d.ts +4 -1
  53. package/dist/components/contact-profile-card/index.js +1 -1
  54. package/dist/components/country-select/index.js +1 -1
  55. package/dist/components/data-table/index.js +1 -1
  56. package/dist/components/face-scheme/index.js +1 -1
  57. package/dist/components/header-settings/index.js +1 -1
  58. package/dist/components/locale-picker/index.js +1 -1
  59. package/dist/components/map-view/index.js +1 -1
  60. package/dist/components/multi-select/index.js +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/patient-details/index.js +1 -1
  64. package/dist/components/patient-search/index.js +1 -1
  65. package/dist/components/patient-summary-card/index.js +1 -1
  66. package/dist/components/patient-table/index.js +1 -1
  67. package/dist/components/phone-input/index.js +1 -1
  68. package/dist/components/practice-results/index.js +1 -1
  69. package/dist/components/province-select/index.js +1 -1
  70. package/dist/components/task-editor/index.js +1 -1
  71. package/dist/i18n/locales/ar.d.ts +8 -0
  72. package/dist/i18n/locales/ar.js +8 -0
  73. package/dist/i18n/locales/de.d.ts +8 -0
  74. package/dist/i18n/locales/de.js +8 -0
  75. package/dist/i18n/locales/el.d.ts +8 -0
  76. package/dist/i18n/locales/el.js +8 -0
  77. package/dist/i18n/locales/en.d.ts +8 -0
  78. package/dist/i18n/locales/en.js +8 -0
  79. package/dist/i18n/locales/es.d.ts +8 -0
  80. package/dist/i18n/locales/es.js +8 -0
  81. package/dist/i18n/locales/fr.d.ts +8 -0
  82. package/dist/i18n/locales/fr.js +8 -0
  83. package/dist/i18n/locales/hi.d.ts +8 -0
  84. package/dist/i18n/locales/hi.js +8 -0
  85. package/dist/i18n/locales/it.d.ts +8 -0
  86. package/dist/i18n/locales/it.js +8 -0
  87. package/dist/i18n/locales/ja.d.ts +8 -0
  88. package/dist/i18n/locales/ja.js +8 -0
  89. package/dist/i18n/locales/nl.d.ts +8 -0
  90. package/dist/i18n/locales/nl.js +8 -0
  91. package/dist/i18n/locales/pl.d.ts +8 -0
  92. package/dist/i18n/locales/pl.js +8 -0
  93. package/dist/i18n/locales/pt.d.ts +8 -0
  94. package/dist/i18n/locales/pt.js +8 -0
  95. package/dist/i18n/locales/ro.d.ts +8 -0
  96. package/dist/i18n/locales/ro.js +8 -0
  97. package/dist/i18n/locales/ru.d.ts +8 -0
  98. package/dist/i18n/locales/ru.js +8 -0
  99. package/dist/i18n/locales/sq.d.ts +8 -0
  100. package/dist/i18n/locales/sq.js +8 -0
  101. package/dist/i18n/locales/sv.d.ts +8 -0
  102. package/dist/i18n/locales/sv.js +8 -0
  103. package/dist/i18n/locales/tr.d.ts +8 -0
  104. package/dist/i18n/locales/tr.js +8 -0
  105. package/dist/i18n/locales/zh.d.ts +8 -0
  106. package/dist/i18n/locales/zh.js +8 -0
  107. package/dist/index.js +30 -30
  108. package/dist/locales/ar.json +8 -0
  109. package/dist/locales/de.json +8 -0
  110. package/dist/locales/el.json +8 -0
  111. package/dist/locales/en.json +8 -0
  112. package/dist/locales/es.json +8 -0
  113. package/dist/locales/fr.json +8 -0
  114. package/dist/locales/hi.json +8 -0
  115. package/dist/locales/it.json +8 -0
  116. package/dist/locales/ja.json +8 -0
  117. package/dist/locales/nl.json +8 -0
  118. package/dist/locales/pl.json +8 -0
  119. package/dist/locales/pt.json +8 -0
  120. package/dist/locales/ro.json +8 -0
  121. package/dist/locales/ru.json +8 -0
  122. package/dist/locales/sq.json +8 -0
  123. package/dist/locales/sv.json +8 -0
  124. package/dist/locales/tr.json +8 -0
  125. package/dist/locales/zh.json +8 -0
  126. package/dist/patterns/anamnesis/index.js +1 -1
  127. package/dist/patterns/calendar/index.js +1 -1
  128. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  129. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  130. package/dist/patterns/registration-form/index.js +1 -1
  131. package/dist/patterns/send-registration-link-form/index.js +1 -1
  132. package/dist/tokens.css +1 -1
  133. package/package.json +1 -1
  134. package/dist/_chunks/booking-By4I_1A-.js +0 -4068
@@ -67,19 +67,19 @@ const R = F(
67
67
  ({
68
68
  country: e,
69
69
  label: s,
70
- shape: r = "rectangle",
70
+ shape: l = "rectangle",
71
71
  size: t = "sm",
72
72
  rounded: n = "sm",
73
73
  className: d,
74
74
  ...i
75
- }, l) => {
75
+ }, r) => {
76
76
  const c = e.toUpperCase();
77
77
  return te(ge, {
78
- ref: l,
78
+ ref: r,
79
79
  code: c,
80
- src: (r === "square" ? as : z)[c],
80
+ src: (l === "square" ? as : z)[c],
81
81
  label: s,
82
- className: me({ shape: r, size: t, rounded: n }, d),
82
+ className: me({ shape: l, size: t, rounded: n }, d),
83
83
  ...i
84
84
  });
85
85
  }
@@ -341,7 +341,7 @@ function E(e) {
341
341
  e === u ? cs(P) : ls(P, e), D(e);
342
342
  }
343
343
  function $(e = !1) {
344
- const { locale: s, setLocale: r } = Q(), t = ce(
344
+ const { locale: s, setLocale: l } = Q(), t = ce(
345
345
  is,
346
346
  rs,
347
347
  () => u
@@ -349,13 +349,13 @@ function $(e = !1) {
349
349
  (i) => {
350
350
  if (i === u) {
351
351
  E(u);
352
- const l = M();
353
- r(l), N(l);
352
+ const r = M();
353
+ l(r), N(r);
354
354
  return;
355
355
  }
356
- v(i) && (r(i), N(i), E(i));
356
+ v(i) && (l(i), N(i), E(i));
357
357
  },
358
- [r]
358
+ [l]
359
359
  );
360
360
  return ds(e), {
361
361
  locale: n,
@@ -364,17 +364,17 @@ function $(e = !1) {
364
364
  };
365
365
  }
366
366
  function ds(e = !1) {
367
- const { locale: s, setLocale: r } = Q();
367
+ const { locale: s, setLocale: l } = Q();
368
368
  re(() => {
369
369
  if (K) return;
370
370
  K = !0;
371
371
  const t = X(P);
372
372
  if (v(t)) {
373
- t !== s && r(t), N(t), D(t);
373
+ t !== s && l(t), N(t), D(t);
374
374
  return;
375
375
  }
376
376
  const n = e && typeof document < "u" ? es(document.documentElement.lang.trim()) : void 0, d = v(n) ? n : void 0, i = d ?? M();
377
- D(d ?? u), r(i), N(i);
377
+ D(d ?? u), l(i), N(i);
378
378
  }, []);
379
379
  }
380
380
  const Z = W("ds:inline-flex ds:items-center", {
@@ -422,12 +422,12 @@ const Z = W("ds:inline-flex ds:items-center", {
422
422
  ({
423
423
  value: e,
424
424
  onValueChange: s,
425
- inputId: r,
425
+ inputId: l,
426
426
  disabled: t = !1,
427
427
  loading: n = !1,
428
428
  className: d
429
429
  }, i) => {
430
- const { t: l } = O("ui"), c = $(), g = c.locale, x = e ?? (c.isSystemDefault ? u : c.locale), C = ne(), p = r ?? `${C}-search`, [S, k] = ie(""), h = j(
430
+ const { t: r } = O("ui"), c = $(), g = c.locale, x = e ?? (c.isSystemDefault ? u : c.locale), C = ne(), p = l ?? `${C}-search`, [S, k] = ie(""), h = j(
431
431
  (a) => {
432
432
  if (!(t || n)) {
433
433
  if (a === u) {
@@ -448,7 +448,7 @@ const Z = W("ds:inline-flex ds:items-center", {
448
448
  children: /* @__PURE__ */ f(
449
449
  y,
450
450
  {
451
- label: l("navigation.localePicker.commandLabel"),
451
+ label: r("navigation.localePicker.commandLabel"),
452
452
  filter: de,
453
453
  shouldFilter: !0,
454
454
  children: [
@@ -476,8 +476,8 @@ const Z = W("ds:inline-flex ds:items-center", {
476
476
  id: p,
477
477
  value: S,
478
478
  onValueChange: k,
479
- placeholder: l("navigation.localePicker.searchPlaceholder"),
480
- "aria-label": l("navigation.localePicker.searchLabel"),
479
+ placeholder: r("navigation.localePicker.searchPlaceholder"),
480
+ "aria-label": r("navigation.localePicker.searchLabel"),
481
481
  disabled: t || n,
482
482
  className: [
483
483
  "ds:peer ds:flex-1 ds:bg-transparent ds:border-0 ds:outline-none",
@@ -492,6 +492,7 @@ const Z = W("ds:inline-flex ds:items-center", {
492
492
  /* @__PURE__ */ f(
493
493
  y.List,
494
494
  {
495
+ label: r("navigation.localePicker.commandLabel"),
495
496
  className: [
496
497
  "ds:max-h-[18rem] ds:overflow-y-auto",
497
498
  "ds:p-[var(--spacing-xs)]"
@@ -504,7 +505,7 @@ const Z = W("ds:inline-flex ds:items-center", {
504
505
  "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]",
505
506
  "type-body-sm ds:text-muted-foreground"
506
507
  ].join(" "),
507
- children: l("navigation.localePicker.empty")
508
+ children: r("navigation.localePicker.empty")
508
509
  }
509
510
  ),
510
511
  (() => {
@@ -534,7 +535,7 @@ const Z = W("ds:inline-flex ds:items-center", {
534
535
  className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
535
536
  }
536
537
  ),
537
- /* @__PURE__ */ o("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: l("navigation.localePicker.systemDefault", {
538
+ /* @__PURE__ */ o("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: r("navigation.localePicker.systemDefault", {
538
539
  locale: m.nativeName
539
540
  }) }),
540
541
  a ? /* @__PURE__ */ o(
@@ -544,7 +545,7 @@ const Z = W("ds:inline-flex ds:items-center", {
544
545
  className: "ds:size-4 ds:text-primary ds:shrink-0"
545
546
  }
546
547
  ) : null,
547
- a ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: l("navigation.localePicker.currentSelection") }) : null
548
+ a ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: r("navigation.localePicker.currentSelection") }) : null
548
549
  ]
549
550
  },
550
551
  u
@@ -597,7 +598,7 @@ const Z = W("ds:inline-flex ds:items-center", {
597
598
  className: "ds:size-4 ds:text-primary ds:shrink-0"
598
599
  }
599
600
  ) : null,
600
- m ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: l("navigation.localePicker.currentSelection") }) : null
601
+ m ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: r("navigation.localePicker.currentSelection") }) : null
601
602
  ]
602
603
  },
603
604
  a.code
@@ -617,12 +618,12 @@ I.displayName = "LocalePicker.SearchList";
617
618
  function ms({
618
619
  state: e,
619
620
  selection: s,
620
- rest: r,
621
+ rest: l,
621
622
  forwardedRef: t,
622
623
  className: n,
623
624
  disabled: d,
624
625
  loading: i,
625
- popoverSide: l
626
+ popoverSide: r
626
627
  }) {
627
628
  const { t: c } = O("ui"), g = L[e.locale];
628
629
  return /* @__PURE__ */ o(
@@ -630,9 +631,9 @@ function ms({
630
631
  {
631
632
  ref: t,
632
633
  "data-component": "locale-picker",
633
- "data-component-id": r.id,
634
+ "data-component-id": l.id,
634
635
  className: Z({ variant: "icon", className: n }),
635
- ...r,
636
+ ...l,
636
637
  children: /* @__PURE__ */ f(b.Root, { children: [
637
638
  /* @__PURE__ */ o(b.Trigger, { asChild: !0, children: /* @__PURE__ */ o(
638
639
  ue,
@@ -669,7 +670,7 @@ function ms({
669
670
  /* @__PURE__ */ o(
670
671
  b.Content,
671
672
  {
672
- side: l,
673
+ side: r,
673
674
  align: "start",
674
675
  sideOffset: 8,
675
676
  className: ee,
@@ -692,12 +693,12 @@ function ms({
692
693
  function _s({
693
694
  state: e,
694
695
  selection: s,
695
- rest: r,
696
+ rest: l,
696
697
  forwardedRef: t,
697
698
  className: n,
698
699
  disabled: d,
699
700
  loading: i,
700
- popoverSide: l
701
+ popoverSide: r
701
702
  }) {
702
703
  const { t: c } = O("ui"), g = L[e.locale];
703
704
  return /* @__PURE__ */ o(
@@ -705,9 +706,9 @@ function _s({
705
706
  {
706
707
  ref: t,
707
708
  "data-component": "locale-picker",
708
- "data-component-id": r.id,
709
+ "data-component-id": l.id,
709
710
  className: Z({ variant: "compact", className: n }),
710
- ...r,
711
+ ...l,
711
712
  children: /* @__PURE__ */ f(b.Root, { children: [
712
713
  /* @__PURE__ */ o(b.Trigger, { asChild: !0, children: /* @__PURE__ */ f(
713
714
  "button",
@@ -743,7 +744,7 @@ function _s({
743
744
  /* @__PURE__ */ o(
744
745
  b.Content,
745
746
  {
746
- side: l,
747
+ side: r,
747
748
  align: "start",
748
749
  sideOffset: 8,
749
750
  className: ee,
@@ -766,17 +767,17 @@ function _s({
766
767
  const se = F(
767
768
  (e, s) => {
768
769
  const {
769
- variant: r = "icon",
770
+ variant: l = "icon",
770
771
  value: t,
771
772
  onValueChange: n,
772
773
  disabled: d = !1,
773
774
  loading: i = !1,
774
- initialLocaleFromHtmlLang: l = !1,
775
+ initialLocaleFromHtmlLang: r = !1,
775
776
  popoverSide: c = "bottom",
776
777
  className: g,
777
778
  id: x,
778
779
  ...C
779
- } = e, p = $(l), S = t ?? p.locale, k = j(
780
+ } = e, p = $(r), S = t ?? p.locale, k = j(
780
781
  (_) => {
781
782
  if (n) {
782
783
  if (n(_), _ === u) {
@@ -796,7 +797,7 @@ const se = F(
796
797
  setLocale: k
797
798
  }),
798
799
  [S, p.isSystemDefault, k]
799
- ), a = l && t === void 0 && p.isSystemDefault ? u : S, m = q(null);
800
+ ), a = r && t === void 0 && p.isSystemDefault ? u : S, m = q(null);
800
801
  le(s, () => m.current, []);
801
802
  const w = q(h);
802
803
  w.current = h;
@@ -813,7 +814,7 @@ const se = F(
813
814
  }),
814
815
  []
815
816
  );
816
- return ss(ns, oe, x), r === "compact" ? /* @__PURE__ */ o(
817
+ return ss(ns, oe, x), l === "compact" ? /* @__PURE__ */ o(
817
818
  _s,
818
819
  {
819
820
  state: h,
@@ -852,4 +853,4 @@ export {
852
853
  E as p,
853
854
  ds as u
854
855
  };
855
- //# sourceMappingURL=locale-picker-DzdGDSBI.js.map
856
+ //# sourceMappingURL=locale-picker-QbT1p60X.js.map
@@ -377,7 +377,7 @@ function $e({
377
377
  href: t,
378
378
  target: "_blank",
379
379
  rel: "noopener noreferrer",
380
- className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:text-[var(--primary)] ds:underline ds:underline-offset-2",
380
+ className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:text-[var(--primary-readable)] ds:underline ds:underline-offset-2",
381
381
  children: [
382
382
  l("mapView.openInGoogleMaps"),
383
383
  /* @__PURE__ */ i(Ve, { "aria-hidden": "true", className: "ds:size-3" })
@@ -580,4 +580,4 @@ qe.displayName = "MapView";
580
580
  export {
581
581
  qe as M
582
582
  };
583
- //# sourceMappingURL=map-view-C6MIVaqn.js.map
583
+ //# sourceMappingURL=map-view-Bvi06RVh.js.map
@@ -9,7 +9,7 @@ import { C as U } from "./card-BA4Ig_kn.js";
9
9
  import { D as u } from "./dropdown-menu-D1we7oAY.js";
10
10
  import { T as ke } from "./tab-bar-BEODTG6k.js";
11
11
  import { a as Y, H as we, g as Ne, f as G, e as ye, c as Se, d as Ce } from "./header-l_B8MV0g.js";
12
- import { H as Ae } from "./header-settings-BYpVmLip.js";
12
+ import { H as Ae } from "./header-settings-CifwJEKB.js";
13
13
  import { S as Te } from "./sign-in-with-alfadocs-button-DzrNgbWv.js";
14
14
  import { S as Ee, a as ee, v as ze, h as Ie, c as Me, r as Le, b as He, l as Ve, m as Be, k as Re, j as J } from "./sidebar-BS24EnYd.js";
15
15
  import { N as De } from "./navigation-dismiss-B1mcW1CT.js";
@@ -656,4 +656,4 @@ export {
656
656
  na as M,
657
657
  y as P
658
658
  };
659
- //# sourceMappingURL=marketplace-app-shell-mS7Q2-81.js.map
659
+ //# sourceMappingURL=marketplace-app-shell-vON3WhD0.js.map