@alfadocs/ui-kit 1.12.6 → 1.13.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 (87) hide show
  1. package/dist/_chunks/{actions-cell-renderer-DnSLrgQD.js → actions-cell-renderer-ReurEy5i.js} +2 -2
  2. package/dist/_chunks/{address-fields-CZP4Wncx.js → address-fields-CZ0pEdEI.js} +4 -4
  3. package/dist/_chunks/{ai-prompt-input-DnbfEJnr.js → ai-prompt-input-CrHr-5H8.js} +2 -2
  4. package/dist/_chunks/{anamnesis-summary-rows-BfhxWPO3.js → anamnesis-summary-rows-CRWO8x8g.js} +4 -4
  5. package/dist/_chunks/{audio-recorder-EWBCNIsd.js → audio-recorder-DXG6LTtO.js} +2 -2
  6. package/dist/_chunks/{autocomplete-BrONKN8l.js → autocomplete-MpBhz-fG.js} +86 -74
  7. package/dist/_chunks/{balance-badge-cell-7L6nzB29.js → balance-badge-cell--iQ_gtmi.js} +4 -4
  8. package/dist/_chunks/{bishop-score-Cnu0xs-z.js → bishop-score-CJUVBfAu.js} +2 -2
  9. package/dist/_chunks/{booking-CBHKdsZl.js → booking-DQbo6mQF.js} +609 -591
  10. package/dist/_chunks/{care-plan-card-aDN4oem9.js → care-plan-card-D-FMfDKH.js} +2 -2
  11. package/dist/_chunks/{care-plan-entry-card-BEhANdBE.js → care-plan-entry-card-Bvw_9T-d.js} +2 -2
  12. package/dist/_chunks/{care-plan-header-CkpPyQqG.js → care-plan-header-B5CBE0zu.js} +2 -2
  13. package/dist/_chunks/{city-input-towzBenY.js → city-input-DaQc-Hbj.js} +2 -2
  14. package/dist/_chunks/{combobox-DiMLItyu.js → combobox-D7_NLE2Z.js} +89 -81
  15. package/dist/_chunks/{contact-profile-card-BMIBr5s9.js → contact-profile-card-BZqi8Hck.js} +38 -36
  16. package/dist/_chunks/{country-select-UEF9BEeQ.js → country-select-DzbPFktV.js} +2 -2
  17. package/dist/_chunks/{document-preview-oyx9RhCo.js → document-preview-CDb-n_W7.js} +2 -2
  18. package/dist/_chunks/{face-scheme-CZaKm6fG.js → face-scheme-DA2vjqaM.js} +2 -2
  19. package/dist/_chunks/{file-manager-C0y7HBAN.js → file-manager-UsD8e_AB.js} +2 -2
  20. package/dist/_chunks/{gestational-age-calculator-CxZelpu2.js → gestational-age-calculator-CiOQjzgx.js} +2 -2
  21. package/dist/_chunks/key-value-pair-BIBdZBLg.js +188 -0
  22. package/dist/_chunks/{link-cell-renderer-CenJx-_7.js → link-cell-renderer-CIASXsVM.js} +4 -4
  23. package/dist/_chunks/{multi-select-DqL4o0qV.js → multi-select-DYOvx2SJ.js} +56 -48
  24. package/dist/_chunks/{muscle-scheme-yfzP_xoJ.js → muscle-scheme-BSJsI4-I.js} +2 -2
  25. package/dist/_chunks/{optical-prescription-Dj3Eh5Ok.js → optical-prescription-BvwuqTpl.js} +2 -2
  26. package/dist/_chunks/{patient-details-xrqe13az.js → patient-details-BQaUzPqp.js} +5 -5
  27. package/dist/_chunks/{patient-search-D5ufYoRc.js → patient-search-HeEUB-_X.js} +2 -2
  28. package/dist/_chunks/{patient-summary-card-CBfuDvJ5.js → patient-summary-card-CvDxhbBR.js} +2 -2
  29. package/dist/_chunks/{payment-request-card-YVCcCZ25.js → payment-request-card-lmKLwsDs.js} +2 -2
  30. package/dist/_chunks/{periodontal-chart-BatZEFar.js → periodontal-chart-B9fphroR.js} +2 -2
  31. package/dist/_chunks/{periodontal-chart-card-BBpY_rBc.js → periodontal-chart-card-qEZPXj83.js} +2 -2
  32. package/dist/_chunks/{pregnancy-dating-DtToyMyc.js → pregnancy-dating-D2wchD11.js} +2 -2
  33. package/dist/_chunks/{province-select-BDywtmL-.js → province-select-BBc7s7vR.js} +2 -2
  34. package/dist/_chunks/{select-BW5ecXlX.js → select-Bi8zril7.js} +165 -136
  35. package/dist/_chunks/{signature-request-DVDTKLjM.js → signature-request-CUe903hj.js} +2 -2
  36. package/dist/_chunks/{tabs-CBb2AidH.js → tabs-DqKtTIjZ.js} +2 -2
  37. package/dist/_chunks/{tasks-panel-Do5SFp-j.js → tasks-panel-DPCNaRko.js} +2 -2
  38. package/dist/_chunks/{tooth-scheme-WdyVymQ1.js → tooth-scheme-2IsmbE6w.js} +2 -2
  39. package/dist/_chunks/{unit-converter-BPumXMA6.js → unit-converter-C6jMjqL9.js} +2 -2
  40. package/dist/_chunks/{workflow-map-DE_ribRM.js → workflow-map-wcw3t6g4.js} +2 -2
  41. package/dist/agent-catalog.json +1 -1
  42. package/dist/components/_shared/option.d.ts +1 -0
  43. package/dist/components/address-fields/index.js +1 -1
  44. package/dist/components/ai-prompt-input/index.js +1 -1
  45. package/dist/components/audio-recorder/index.js +1 -1
  46. package/dist/components/autocomplete/index.js +1 -1
  47. package/dist/components/bishop-score/index.js +1 -1
  48. package/dist/components/booking/index.js +1 -1
  49. package/dist/components/care-plan-card/index.js +1 -1
  50. package/dist/components/care-plan-entry-card/index.js +1 -1
  51. package/dist/components/care-plan-header/index.js +1 -1
  52. package/dist/components/city-input/index.js +1 -1
  53. package/dist/components/combobox/index.js +1 -1
  54. package/dist/components/contact-profile-card/index.js +1 -1
  55. package/dist/components/country-select/index.js +1 -1
  56. package/dist/components/data-table/index.js +2 -2
  57. package/dist/components/document-preview/index.js +1 -1
  58. package/dist/components/face-scheme/index.js +1 -1
  59. package/dist/components/file-manager/index.js +1 -1
  60. package/dist/components/gestational-age-calculator/index.js +1 -1
  61. package/dist/components/key-value-pair/index.js +1 -1
  62. package/dist/components/key-value-pair/key-value-pair.d.ts +16 -0
  63. package/dist/components/multi-select/index.js +1 -1
  64. package/dist/components/muscle-scheme/index.js +1 -1
  65. package/dist/components/optical-prescription/index.js +1 -1
  66. package/dist/components/patient-details/index.js +1 -1
  67. package/dist/components/patient-search/index.js +1 -1
  68. package/dist/components/patient-summary-card/index.js +1 -1
  69. package/dist/components/patient-table/index.js +1 -1
  70. package/dist/components/payment-card/index.js +1 -1
  71. package/dist/components/periodontal-chart/index.js +1 -1
  72. package/dist/components/periodontal-chart-card/index.js +1 -1
  73. package/dist/components/pregnancy-dating/index.js +1 -1
  74. package/dist/components/province-select/index.js +1 -1
  75. package/dist/components/select/index.js +1 -1
  76. package/dist/components/select/select.d.ts +24 -0
  77. package/dist/components/skeleton-scheme/index.js +1 -1
  78. package/dist/components/tabs/index.js +1 -1
  79. package/dist/components/tasks-panel/index.js +1 -1
  80. package/dist/components/tooth-scheme/index.js +1 -1
  81. package/dist/components/unit-converter/index.js +1 -1
  82. package/dist/components/workflow/index.js +1 -1
  83. package/dist/index.js +40 -40
  84. package/dist/patterns/anamnesis/index.js +1 -1
  85. package/dist/patterns/signature-request/index.js +1 -1
  86. package/package.json +1 -1
  87. package/dist/_chunks/key-value-pair-BubG4fUa.js +0 -144
@@ -7,7 +7,7 @@ import { P as A } from "./progress-CK8otcQ-.js";
7
7
  import { T as C } from "./timestamp-BV2lC-wV.js";
8
8
  import { T as L } from "./transaction-chip-DJCstquX.js";
9
9
  import { A as O, b as G, c as Y, a as $ } from "./accordion-C11v9ouP.js";
10
- import { C as q } from "./care-plan-entry-card-BEhANdBE.js";
10
+ import { C as q } from "./care-plan-entry-card-Bvw_9T-d.js";
11
11
  import { u as J } from "./registry-DvAUVLHh.js";
12
12
  import { C as Q, e as W } from "./entity-card-DmrgYSEX.js";
13
13
  import { i as X } from "./is-safe-url-DkETxeHz.js";
@@ -253,4 +253,4 @@ export {
253
253
  de as C,
254
254
  Z as c
255
255
  };
256
- //# sourceMappingURL=care-plan-card-aDN4oem9.js.map
256
+ //# sourceMappingURL=care-plan-card-D-FMfDKH.js.map
@@ -6,7 +6,7 @@ import { P as O } from "./progress-CK8otcQ-.js";
6
6
  import { T as q } from "./tag-3wgkwwDB.js";
7
7
  import { T as b } from "./timestamp-BV2lC-wV.js";
8
8
  import { T as G } from "./transaction-chip-DJCstquX.js";
9
- import { T as J } from "./tooth-scheme-WdyVymQ1.js";
9
+ import { T as J } from "./tooth-scheme-2IsmbE6w.js";
10
10
  import { C as Q, b as X, a as Z } from "./collapsible-CTjxzGuF.js";
11
11
  import { u as ee } from "./registry-DvAUVLHh.js";
12
12
  import { C as ae } from "./chevron-down-DWE7GSq9.js";
@@ -319,4 +319,4 @@ export {
319
319
  le as C,
320
320
  re as c
321
321
  };
322
- //# sourceMappingURL=care-plan-entry-card-BEhANdBE.js.map
322
+ //# sourceMappingURL=care-plan-entry-card-Bvw_9T-d.js.map
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as n, Fragment as N } from "react/jsx-runtime";
2
2
  import { forwardRef as F, useId as M } from "react";
3
3
  import { useTranslation as U } from "react-i18next";
4
4
  import { B as P } from "./badge-sTusUqZD.js";
5
- import { a as G } from "./key-value-pair-BubG4fUa.js";
5
+ import { a as G } from "./key-value-pair-BIBdZBLg.js";
6
6
  import { L as O } from "./link-CPb_pZPr.js";
7
7
  import { S as $ } from "./separator-CYU_bGFn.js";
8
8
  import { T as A } from "./timestamp-BV2lC-wV.js";
@@ -195,4 +195,4 @@ export {
195
195
  ee as C,
196
196
  X as c
197
197
  };
198
- //# sourceMappingURL=care-plan-header-CkpPyQqG.js.map
198
+ //# sourceMappingURL=care-plan-header-B5CBE0zu.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as H, useRef as N, useEffect as _, useMemo as W, useCallback as q } from "react";
3
3
  import { useTranslation as B } from "react-i18next";
4
- import { A as F } from "./autocomplete-BrONKN8l.js";
4
+ import { A as F } from "./autocomplete-MpBhz-fG.js";
5
5
  import { T as G } from "./text-input-CUvCb6ST.js";
6
6
  import { u as J } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as L } from "./registry-DvAUVLHh.js";
@@ -166,4 +166,4 @@ export {
166
166
  Q as C,
167
167
  O as c
168
168
  };
169
- //# sourceMappingURL=city-input-towzBenY.js.map
169
+ //# sourceMappingURL=city-input-DaQc-Hbj.js.map
@@ -1,7 +1,7 @@
1
- import { jsx as o, jsxs as S } from "react/jsx-runtime";
2
- import { forwardRef as Ke, useContext as Oe, useMemo as B, useState as oe, useRef as g, useEffect as I, useCallback as Te } from "react";
1
+ import { jsx as t, jsxs as S } from "react/jsx-runtime";
2
+ import { forwardRef as ke, useContext as Ke, useMemo as B, useState as oe, useRef as g, useEffect as I, useCallback as Oe } from "react";
3
3
  import * as _ from "@radix-ui/react-popover";
4
- import { R as $e, _ as c, P as ke } from "./index-4xgbg-sn.js";
4
+ import { R as Te, _ as c, P as $e } from "./index-4xgbg-sn.js";
5
5
  import { c as F } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as Be } from "react-i18next";
7
7
  import { u as Ue, F as He } from "./form-field-context-B3APVHKx.js";
@@ -24,19 +24,19 @@ const et = {
24
24
  type: "string | null",
25
25
  descriptionKey: "ui.agent.combobox.state.value",
26
26
  description: "Currently-selected option value, or null when nothing is selected.",
27
- read: (t) => t.getValue()
27
+ read: (s) => s.getValue()
28
28
  },
29
29
  query: {
30
30
  type: "string",
31
31
  descriptionKey: "ui.agent.combobox.state.query",
32
32
  description: "Current filter query in the combobox input.",
33
- read: (t) => t.getQuery()
33
+ read: (s) => s.getQuery()
34
34
  },
35
35
  isOpen: {
36
36
  type: "boolean",
37
37
  descriptionKey: "ui.agent.combobox.state.isOpen",
38
38
  description: "True when the option list is visible.",
39
- read: (t) => t.getIsOpen()
39
+ read: (s) => s.getIsOpen()
40
40
  }
41
41
  },
42
42
  actions: {
@@ -58,8 +58,8 @@ const et = {
58
58
  descriptionKey: "ui.agent.combobox.actions.setValue",
59
59
  description: "Set the selected value programmatically.",
60
60
  examples: [{ args: { value: "it" }, note: 'Select the "it" option.' }],
61
- invoke: (t, a) => {
62
- t.setValue(a.value);
61
+ invoke: (s, a) => {
62
+ s.setValue(a.value);
63
63
  }
64
64
  },
65
65
  apply_filter: {
@@ -76,8 +76,8 @@ const et = {
76
76
  idempotent: !0,
77
77
  descriptionKey: "ui.agent.combobox.actions.applyFilter",
78
78
  description: "Set the filter query for the option list.",
79
- invoke: (t, a) => {
80
- t.setQuery(a.query);
79
+ invoke: (s, a) => {
80
+ s.setQuery(a.query);
81
81
  }
82
82
  },
83
83
  clear_selection: {
@@ -86,8 +86,8 @@ const et = {
86
86
  idempotent: !0,
87
87
  descriptionKey: "ui.agent.combobox.actions.clearSelection",
88
88
  description: "Clear the current selection.",
89
- invoke: (t) => {
90
- t.clear();
89
+ invoke: (s) => {
90
+ s.clear();
91
91
  }
92
92
  },
93
93
  open: {
@@ -95,8 +95,8 @@ const et = {
95
95
  idempotent: !0,
96
96
  descriptionKey: "ui.agent.combobox.actions.open",
97
97
  description: "Open the option list.",
98
- invoke: (t) => {
99
- t.open();
98
+ invoke: (s) => {
99
+ s.open();
100
100
  }
101
101
  },
102
102
  close: {
@@ -104,8 +104,8 @@ const et = {
104
104
  idempotent: !0,
105
105
  descriptionKey: "ui.agent.combobox.actions.close",
106
106
  description: "Close the option list.",
107
- invoke: (t) => {
108
- t.close();
107
+ invoke: (s) => {
108
+ s.close();
109
109
  }
110
110
  }
111
111
  },
@@ -201,34 +201,34 @@ const et = {
201
201
  lg: "ds:size-5"
202
202
  };
203
203
  function dt({
204
- search: t,
204
+ search: s,
205
205
  label: a,
206
206
  iconClass: E,
207
207
  size: V,
208
208
  onSelect: j
209
209
  }) {
210
- return ke((q) => q.filtered.count) > 0 ? null : /* @__PURE__ */ S(
210
+ return $e((q) => q.filtered.count) > 0 ? null : /* @__PURE__ */ S(
211
211
  c.Item,
212
212
  {
213
- value: `__combobox-create__${t}`,
213
+ value: `__combobox-create__${s}`,
214
214
  keywords: [],
215
215
  forceMount: !0,
216
- onSelect: () => j(t),
216
+ onSelect: () => j(s),
217
217
  className: ne({ size: V }),
218
218
  children: [
219
- /* @__PURE__ */ o(
219
+ /* @__PURE__ */ t(
220
220
  "span",
221
221
  {
222
222
  "aria-hidden": "true",
223
223
  className: `ds:inline-flex ds:items-center ds:justify-center ${E}`
224
224
  }
225
225
  ),
226
- /* @__PURE__ */ o("span", { className: "ds:flex-1 ds:truncate", children: a })
226
+ /* @__PURE__ */ t("span", { className: "ds:flex-1 ds:truncate", children: a })
227
227
  ]
228
228
  }
229
229
  );
230
230
  }
231
- const re = Ke(
231
+ const re = ke(
232
232
  function({
233
233
  options: a,
234
234
  value: E,
@@ -255,28 +255,28 @@ const re = Ke(
255
255
  "aria-describedby": be,
256
256
  autoComplete: he
257
257
  }, ge) {
258
- const { t: y } = Be(), b = Ue(), x = Oe(He) !== null, [ve, N] = Le({
258
+ const { t: y } = Be(), b = Ue(), x = Ke(He) !== null, [ve, N] = Le({
259
259
  value: E,
260
260
  defaultValue: V ?? "",
261
261
  onChange: j
262
- }), m = ve ?? "", K = B(
262
+ }), m = ve ?? "", k = B(
263
263
  () => a.find((e) => e.value === m),
264
264
  [a, m]
265
- ), C = (K == null ? void 0 : K.label) ?? "", [p, i] = oe(C), [ye, X] = oe(!1), z = L !== void 0, d = z ? L : ye, R = g(!1), w = g(null), W = g(null);
265
+ ), C = (k == null ? void 0 : k.label) ?? "", [p, i] = oe(C), [ye, X] = oe(!1), z = L !== void 0, d = z ? L : ye, R = g(!1), w = g(null), W = g(null);
266
266
  Qe(() => {
267
267
  var e;
268
268
  (e = w.current) == null || e.setAttribute("aria-expanded", String(d));
269
269
  }), I(() => {
270
270
  d || i(C);
271
271
  }, [C, d]);
272
- const xe = A ?? (x ? b.id : void 0), O = (x ? b.disabled : !1) || !!ae, h = !!ie, Ce = (x ? b.required : !1) || !!de, J = x ? b.invalid : !!fe, Se = J ? "error" : ce, Ne = x && b.describedBy ? b.describedBy : be, Y = M ?? y("inputs.combobox.placeholder", "Search…"), ze = B(
273
- () => (e, s, n) => {
272
+ const xe = A ?? (x ? b.id : void 0), K = (x ? b.disabled : !1) || !!ae, h = !!ie, Ce = (x ? b.required : !1) || !!de, J = x ? b.invalid : !!fe, Se = J ? "error" : ce, Ne = x && b.describedBy ? b.describedBy : be, Y = M ?? y("inputs.combobox.placeholder", "Search…"), ze = B(
273
+ () => (e, o, r) => {
274
274
  if (R.current) return 1;
275
- const f = U(e), r = U(s), k = n == null ? void 0 : n.map(U);
276
- return D ? D(f, r) : $e(
275
+ const f = U(e), n = U(o), $ = r == null ? void 0 : r.map(U);
276
+ return D ? D(f, n) : Te(
277
277
  f,
278
- r,
279
- k
278
+ n,
279
+ $
280
280
  );
281
281
  },
282
282
  [D]
@@ -285,26 +285,26 @@ const re = Ke(
285
285
  }, l = (e) => {
286
286
  z || X(e), u == null || u(e);
287
287
  }, Re = (e) => {
288
- const s = a.find((n) => n.value === e);
289
- Z(e), i((s == null ? void 0 : s.label) ?? ""), l(!1);
288
+ const o = a.find((r) => r.value === e);
289
+ Z(e), i((o == null ? void 0 : o.label) ?? ""), l(!1);
290
290
  }, we = (e) => {
291
291
  P == null || P(e), l(!1);
292
292
  }, Ie = (e) => {
293
293
  h || (i(e), !d && e.length > 0 && !R.current && l(!0));
294
294
  }, _e = () => {
295
- !O && !h && l(!0);
295
+ !K && !h && l(!0);
296
296
  }, Fe = () => {
297
297
  R.current = !0;
298
298
  }, Ee = () => {
299
- var s;
299
+ var o;
300
300
  if (R.current = !1, h) return;
301
- const e = ((s = w.current) == null ? void 0 : s.value) ?? "";
301
+ const e = ((o = w.current) == null ? void 0 : o.value) ?? "";
302
302
  i(e), e.length > 0 && l(!0);
303
303
  }, Ve = (e) => {
304
304
  e.nativeEvent.isComposing || e.key === "Escape" && d && (e.preventDefault(), l(!1), i(C));
305
305
  }, je = (e) => {
306
- var s;
307
- e.preventDefault(), e.stopPropagation(), Z(""), i(""), l(!0), (s = w.current) == null || s.focus();
306
+ var o;
307
+ e.preventDefault(), e.stopPropagation(), Z(""), i(""), l(!0), (o = w.current) == null || o.focus();
308
308
  }, qe = (e) => {
309
309
  h && e || (l(e), e || i(C));
310
310
  }, ee = g(m);
@@ -319,7 +319,7 @@ const re = Ke(
319
319
  I(() => {
320
320
  se.current = d;
321
321
  }, [d]);
322
- const T = Te(
322
+ const O = Oe(
323
323
  (e) => {
324
324
  z || X(e), u == null || u(e);
325
325
  },
@@ -330,10 +330,10 @@ const re = Ke(
330
330
  getQuery: () => te.current,
331
331
  getIsOpen: () => se.current,
332
332
  setValue: (e) => {
333
- const s = e ?? "";
334
- N(s);
335
- const n = a.find((f) => f.value === s);
336
- i((n == null ? void 0 : n.label) ?? "");
333
+ const o = e ?? "";
334
+ N(o);
335
+ const r = a.find((f) => f.value === o);
336
+ i((r == null ? void 0 : r.label) ?? "");
337
337
  },
338
338
  setQuery: (e) => {
339
339
  i(e);
@@ -341,14 +341,14 @@ const re = Ke(
341
341
  clear: () => {
342
342
  N(""), i("");
343
343
  },
344
- open: () => T(!0),
345
- close: () => T(!1)
344
+ open: () => O(!0),
345
+ close: () => O(!1)
346
346
  }),
347
- [N, a, T]
347
+ [N, a, O]
348
348
  );
349
349
  Je(et, Ae, A);
350
- const De = q && !!m && !O && !h, Pe = Me(a), $ = it[v];
351
- return /* @__PURE__ */ o(_.Root, { open: d, onOpenChange: qe, children: /* @__PURE__ */ S(
350
+ const De = q && !!m && !K && !h, Pe = Me(a), T = it[v];
351
+ return /* @__PURE__ */ t(_.Root, { open: d, onOpenChange: qe, children: /* @__PURE__ */ S(
352
352
  c,
353
353
  {
354
354
  filter: ze,
@@ -357,7 +357,7 @@ const re = Ke(
357
357
  label: Q ?? Y,
358
358
  className: "ds:w-full",
359
359
  children: [
360
- /* @__PURE__ */ o(_.Anchor, { asChild: !0, children: /* @__PURE__ */ S(
360
+ /* @__PURE__ */ t(_.Anchor, { asChild: !0, children: /* @__PURE__ */ S(
361
361
  "div",
362
362
  {
363
363
  ref: W,
@@ -369,7 +369,7 @@ const re = Ke(
369
369
  "data-component": "combobox",
370
370
  "data-component-id": A,
371
371
  children: [
372
- /* @__PURE__ */ o(
372
+ /* @__PURE__ */ t(
373
373
  c.Input,
374
374
  {
375
375
  ref: Ge(ge, w),
@@ -378,7 +378,7 @@ const re = Ke(
378
378
  id: xe,
379
379
  name: le,
380
380
  placeholder: Y,
381
- disabled: O,
381
+ disabled: K,
382
382
  readOnly: h,
383
383
  required: Ce,
384
384
  autoComplete: he,
@@ -391,7 +391,7 @@ const re = Ke(
391
391
  className: tt({ size: v })
392
392
  }
393
393
  ),
394
- De ? /* @__PURE__ */ o(
394
+ De ? /* @__PURE__ */ t(
395
395
  "button",
396
396
  {
397
397
  type: "button",
@@ -406,13 +406,13 @@ const re = Ke(
406
406
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
407
407
  "ds:size-4"
408
408
  ].join(" "),
409
- children: /* @__PURE__ */ o(Ye, { "aria-hidden": "true", className: "ds:size-3.5" })
409
+ children: /* @__PURE__ */ t(Ye, { "aria-hidden": "true", className: "ds:size-3.5" })
410
410
  }
411
411
  ) : null
412
412
  ]
413
413
  }
414
414
  ) }),
415
- /* @__PURE__ */ o(_.Portal, { forceMount: !0, children: /* @__PURE__ */ o(
415
+ /* @__PURE__ */ t(_.Portal, { forceMount: !0, children: /* @__PURE__ */ t(
416
416
  _.Content,
417
417
  {
418
418
  forceMount: !0,
@@ -421,73 +421,81 @@ const re = Ke(
421
421
  onOpenAutoFocus: (e) => e.preventDefault(),
422
422
  onCloseAutoFocus: (e) => e.preventDefault(),
423
423
  onInteractOutside: (e) => {
424
- var n;
425
- const s = e.target;
426
- s && ((n = W.current) != null && n.contains(s)) && e.preventDefault();
424
+ var r;
425
+ const o = e.target;
426
+ o && ((r = W.current) != null && r.contains(o)) && e.preventDefault();
427
427
  },
428
428
  sideOffset: 4,
429
429
  align: "start",
430
430
  className: ot(),
431
431
  children: /* @__PURE__ */ S(c.List, { className: rt, children: [
432
- /* @__PURE__ */ o(c.Empty, { className: at, children: me ?? y("inputs.combobox.empty", "No results found") }),
433
- Pe.map(({ group: e, items: s }, n) => {
434
- const f = s.map((r) => {
435
- const k = r.value === m;
432
+ /* @__PURE__ */ t(c.Empty, { className: at, children: me ?? y("inputs.combobox.empty", "No results found") }),
433
+ Pe.map(({ group: e, items: o }, r) => {
434
+ const f = o.map((n) => {
435
+ const $ = n.value === m;
436
436
  return /* @__PURE__ */ S(
437
437
  c.Item,
438
438
  {
439
- value: r.value,
440
- "data-option-id": r.value,
441
- keywords: [r.label],
442
- disabled: r.disabled,
439
+ value: n.value,
440
+ "data-option-id": n.value,
441
+ keywords: [n.label],
442
+ disabled: n.disabled,
443
443
  onSelect: Re,
444
444
  className: ne({ size: v }),
445
445
  children: [
446
- /* @__PURE__ */ o(
446
+ /* @__PURE__ */ t(
447
447
  "span",
448
448
  {
449
449
  "aria-hidden": "true",
450
- className: `ds:inline-flex ds:items-center ds:justify-center ${$}`,
451
- children: k ? /* @__PURE__ */ o(Ze, { className: $ }) : null
450
+ className: `ds:inline-flex ds:items-center ds:justify-center ${T}`,
451
+ children: $ ? /* @__PURE__ */ t(Ze, { className: T }) : null
452
452
  }
453
453
  ),
454
- r.startAdornment ? (
454
+ n.startAdornment ? (
455
455
  // Decorative by contract — the option's accessible
456
456
  // name comes from its label. Hide so a text-bearing
457
457
  // adornment can't leak into the computed name.
458
- /* @__PURE__ */ o(
458
+ /* @__PURE__ */ t(
459
459
  "span",
460
460
  {
461
461
  "aria-hidden": "true",
462
462
  className: "ds:inline-flex ds:items-center ds:shrink-0",
463
- children: r.startAdornment
463
+ children: n.startAdornment
464
464
  }
465
465
  )
466
466
  ) : null,
467
- /* @__PURE__ */ o("span", { className: "ds:flex-1 ds:truncate", children: r.label }),
468
- r.description ? /* @__PURE__ */ o("span", { className: "type-meta ds:text-muted-foreground", children: r.description }) : null
467
+ /* @__PURE__ */ t("span", { className: "ds:flex-1 ds:truncate", children: n.label }),
468
+ n.description ? /* @__PURE__ */ t("span", { className: "type-meta ds:text-muted-foreground", children: n.description }) : null,
469
+ n.endContent ? (
470
+ // Deliberately NOT aria-hidden — unlike
471
+ // `startAdornment`, this slot carries meaning
472
+ // (a price, a count) and must reach the
473
+ // option's accessible name. `ms-auto` pins it
474
+ // to the inline-end and flips under RTL.
475
+ /* @__PURE__ */ t("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: n.endContent })
476
+ ) : null
469
477
  ]
470
478
  },
471
- r.value
479
+ n.value
472
480
  );
473
481
  });
474
- return e ? /* @__PURE__ */ o(
482
+ return e ? /* @__PURE__ */ t(
475
483
  c.Group,
476
484
  {
477
- heading: /* @__PURE__ */ o("span", { className: nt, children: e }),
485
+ heading: /* @__PURE__ */ t("span", { className: nt, children: e }),
478
486
  children: f
479
487
  },
480
488
  `group-${e}`
481
- ) : /* @__PURE__ */ o(c.Group, { children: f }, `group-${n}`);
489
+ ) : /* @__PURE__ */ t(c.Group, { children: f }, `group-${r}`);
482
490
  }),
483
- ue && p.length > 0 ? /* @__PURE__ */ o(
491
+ ue && p.length > 0 ? /* @__PURE__ */ t(
484
492
  dt,
485
493
  {
486
494
  search: p,
487
495
  label: y("inputs.combobox.create", 'Create "{{value}}"', {
488
496
  value: p
489
497
  }),
490
- iconClass: $,
498
+ iconClass: T,
491
499
  size: v,
492
500
  onSelect: we
493
501
  }
@@ -510,4 +518,4 @@ export {
510
518
  ne as d,
511
519
  st as e
512
520
  };
513
- //# sourceMappingURL=combobox-DiMLItyu.js.map
521
+ //# sourceMappingURL=combobox-D7_NLE2Z.js.map
@@ -2,15 +2,15 @@ import { jsxs as f, jsx as e, Fragment as I } from "react/jsx-runtime";
2
2
  import { forwardRef as le, useId as se, useMemo as ce } from "react";
3
3
  import { c as de } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as pe } from "react-i18next";
5
- import { B as T } from "./badge-sTusUqZD.js";
6
- import { C as F } from "./card-DPmk26CL.js";
7
- import { K as fe, a as ue } from "./key-value-pair-BubG4fUa.js";
5
+ import { B as b } from "./badge-sTusUqZD.js";
6
+ import { C as T } from "./card-DPmk26CL.js";
7
+ import { K as fe, a as ue } from "./key-value-pair-BIBdZBLg.js";
8
8
  import { L as d } from "./link-CPb_pZPr.js";
9
- import { B as H, L as V, f as me } from "./format-price-DNqXPa_q.js";
9
+ import { B as F, L as H, f as me } from "./format-price-DNqXPa_q.js";
10
10
  import { u as he } from "./registry-DvAUVLHh.js";
11
11
  import { S as _ } from "./stethoscope-sZXGC43m.js";
12
- import { H as O } from "./heart--qCA4ffe.js";
13
- import { S as z } from "./shield-check-DCJALLVh.js";
12
+ import { H as z } from "./heart--qCA4ffe.js";
13
+ import { S as O } from "./shield-check-DCJALLVh.js";
14
14
  import { G as B } from "./globe-sHBW1JN5.js";
15
15
  import { M as E } from "./mail-BqXVF2zH.js";
16
16
  import { M as K } from "./message-circle-Bepl9JT5.js";
@@ -102,10 +102,10 @@ const ke = le(
102
102
  languageLabels: p,
103
103
  insurances: v,
104
104
  firstVisitPriceCents: C,
105
- currencyCode: b = "EUR",
105
+ currencyCode: y = "EUR",
106
106
  profession: x,
107
107
  specializedInFearPatients: L,
108
- googleMapsApiKey: y,
108
+ googleMapsApiKey: k,
109
109
  mapZoom: j = 14,
110
110
  onPhoneClick: q,
111
111
  onWhatsAppClick: W,
@@ -114,16 +114,16 @@ const ke = le(
114
114
  headerSlot: J,
115
115
  footerSlot: Q,
116
116
  mapSlot: X,
117
- surface: k = "elevated",
117
+ surface: w = "elevated",
118
118
  "aria-label": Z,
119
119
  id: P,
120
120
  className: ee,
121
121
  ...ae
122
122
  }, te) => {
123
- const { t, i18n: w } = pe(), M = se(), $ = w.language ?? "en", A = n ?? t("contactProfileCard.heading"), re = Z ?? A, N = ce(() => {
123
+ const { t, i18n: M } = pe(), $ = se(), A = M.language ?? "en", N = n ?? t("contactProfileCard.heading"), re = Z ?? N, R = ce(() => {
124
124
  if (C != null)
125
- return me(C, b, $);
126
- }, [C, b, $]), o = [];
125
+ return me(C, y, A);
126
+ }, [C, y, A]), o = [];
127
127
  if (a && o.push({
128
128
  key: "address",
129
129
  icon: /* @__PURE__ */ e(G, { "aria-hidden": "true" }),
@@ -189,29 +189,30 @@ const ke = le(
189
189
  }), g && g.length > 0) {
190
190
  const i = (l) => {
191
191
  if (p != null && p[l]) return p[l];
192
- const S = `languages.${l}`;
193
- return w.exists(S) ? t(S) : l.toUpperCase();
192
+ const V = `languages.${l}`;
193
+ return M.exists(V) ? t(V) : l.toUpperCase();
194
194
  };
195
195
  o.push({
196
196
  key: "languages",
197
- icon: /* @__PURE__ */ e(V, { "aria-hidden": "true" }),
197
+ icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
198
198
  label: t("contactProfileCard.label.languages"),
199
- value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((l) => /* @__PURE__ */ e(T, { variant: "neutral", children: i(l) }, l)) })
199
+ value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((l) => /* @__PURE__ */ e(b, { variant: "neutral", children: i(l) }, l)) })
200
200
  });
201
201
  }
202
202
  v && v.length > 0 && o.push({
203
203
  key: "insurances",
204
- icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
204
+ icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
205
205
  label: t("contactProfileCard.label.insurances"),
206
- value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((i) => /* @__PURE__ */ e(T, { variant: "info", children: i }, i)) })
207
- }), N && o.push({
206
+ value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((i) => /* @__PURE__ */ e(b, { variant: "info", children: i }, i)) })
207
+ }), R && o.push({
208
208
  key: "firstVisitPrice",
209
- icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
209
+ icon: /* @__PURE__ */ e(F, { "aria-hidden": "true" }),
210
210
  label: t("contactProfileCard.label.firstVisitPrice"),
211
- value: N
211
+ value: /* @__PURE__ */ e(b, { variant: "accentSoft", size: "lg", children: R }),
212
+ alignValue: "end"
212
213
  }), L && o.push({
213
214
  key: "expertForAnxiousPatients",
214
- icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
215
+ icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
215
216
  label: t("contactProfileCard.label.expertForAnxiousPatients"),
216
217
  value: t("contactProfileCard.value.yesShort")
217
218
  }), x && o.push({
@@ -224,10 +225,10 @@ const ke = le(
224
225
  { getProfession: () => x },
225
226
  P
226
227
  );
227
- const ne = !!y && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
228
+ const ne = !!k && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
228
229
  ye,
229
230
  {
230
- apiKey: y,
231
+ apiKey: k,
231
232
  center: { lat: a.lat, lng: a.lng },
232
233
  zoom: j,
233
234
  altText: t("contactProfileCard.map.alt", {
@@ -242,21 +243,22 @@ const ke = le(
242
243
  {
243
244
  icon: i.icon,
244
245
  label: i.label,
245
- value: i.value
246
+ value: i.value,
247
+ alignValue: i.alignValue
246
248
  },
247
249
  i.key
248
250
  )) }) : null,
249
251
  oe,
250
252
  Q
251
- ] }), R = /* @__PURE__ */ f(I, { children: [
253
+ ] }), S = /* @__PURE__ */ f(I, { children: [
252
254
  /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
253
255
  J,
254
256
  /* @__PURE__ */ e(
255
257
  "h2",
256
258
  {
257
- id: M,
259
+ id: $,
258
260
  className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
259
- children: A
261
+ children: N
260
262
  }
261
263
  )
262
264
  ] }),
@@ -268,13 +270,13 @@ const ke = le(
268
270
  ref: te,
269
271
  role: "region",
270
272
  "aria-label": re,
271
- "aria-labelledby": M,
273
+ "aria-labelledby": $,
272
274
  "data-component": "contact-profile-card",
273
275
  "data-component-id": P,
274
276
  id: P,
275
- className: ve({ surface: k, className: ee }),
277
+ className: ve({ surface: w, className: ee }),
276
278
  ...ae,
277
- children: k === "elevated" ? /* @__PURE__ */ e(F, { variant: "elevated", children: /* @__PURE__ */ e(F.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: R }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: R })
279
+ children: w === "elevated" ? /* @__PURE__ */ e(T, { variant: "elevated", children: /* @__PURE__ */ e(T.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: S }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: S })
278
280
  }
279
281
  );
280
282
  }
@@ -297,10 +299,10 @@ const Ge = [
297
299
  whatsapp: K,
298
300
  email: E,
299
301
  website: B,
300
- languages: V,
301
- insurances: z,
302
- firstVisitPrice: H,
303
- expertForAnxiousPatients: O,
302
+ languages: H,
303
+ insurances: O,
304
+ firstVisitPrice: F,
305
+ expertForAnxiousPatients: z,
304
306
  profession: _
305
307
  };
306
308
  export {
@@ -309,4 +311,4 @@ export {
309
311
  ke as b,
310
312
  ge as c
311
313
  };
312
- //# sourceMappingURL=contact-profile-card-BMIBr5s9.js.map
314
+ //# sourceMappingURL=contact-profile-card-BZqi8Hck.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as O } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useMemo as n, useCallback as x, useRef as aa, useEffect as ea } from "react";
3
3
  import { useTranslation as ra } from "react-i18next";
4
- import { C as ia } from "./combobox-DiMLItyu.js";
4
+ import { C as ia } from "./combobox-D7_NLE2Z.js";
5
5
  import { h as ca, a as sa } from "./flag-DVBE6DnB.js";
6
6
  import { u as ta } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as oa } from "./registry-DvAUVLHh.js";
@@ -706,4 +706,4 @@ export {
706
706
  ua as c,
707
707
  Aa as r
708
708
  };
709
- //# sourceMappingURL=country-select-UEF9BEeQ.js.map
709
+ //# sourceMappingURL=country-select-DzbPFktV.js.map