@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
@@ -24,7 +24,7 @@ import { F as Qe } from "./file-text-5yv6r2ls.js";
24
24
  import { D as ye } from "./download-CfYKJO_j.js";
25
25
  import { F as Jt } from "./file-spreadsheet-DmwyfV4O.js";
26
26
  import Zt from "i18next";
27
- import { S as Yt } from "./select-BW5ecXlX.js";
27
+ import { S as Yt } from "./select-Bi8zril7.js";
28
28
  import { u as er } from "./registry-DvAUVLHh.js";
29
29
  import { u as tr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
30
30
  import { u as rr } from "./use-theme-CAuo6EYT.js";
@@ -1942,4 +1942,4 @@ export {
1942
1942
  vn as h,
1943
1943
  $ as i
1944
1944
  };
1945
- //# sourceMappingURL=actions-cell-renderer-DnSLrgQD.js.map
1945
+ //# sourceMappingURL=actions-cell-renderer-ReurEy5i.js.map
@@ -2,10 +2,10 @@ import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as _, useRef as j, useEffect as k, useCallback as E, useMemo as x } from "react";
3
3
  import { c as L } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as N } from "react-i18next";
5
- import { C as O } from "./country-select-UEF9BEeQ.js";
6
- import { P as B } from "./province-select-BDywtmL-.js";
5
+ import { C as O } from "./country-select-DzbPFktV.js";
6
+ import { P as B } from "./province-select-BBc7s7vR.js";
7
7
  import { P as q } from "./postal-code-input-BznBxVxf.js";
8
- import { C as H } from "./city-input-towzBenY.js";
8
+ import { C as H } from "./city-input-DaQc-Hbj.js";
9
9
  import { T as K } from "./text-input-CUvCb6ST.js";
10
10
  import { F as l } from "./form-field-CahJzTxp.js";
11
11
  import { A as M } from "./address-autocomplete-Bq-1n1UX.js";
@@ -243,4 +243,4 @@ export {
243
243
  Z as A,
244
244
  Y as a
245
245
  };
246
- //# sourceMappingURL=address-fields-CZP4Wncx.js.map
246
+ //# sourceMappingURL=address-fields-CZ0pEdEI.js.map
@@ -8,7 +8,7 @@ import { u as Re } from "./registry-DvAUVLHh.js";
8
8
  import { _ as g } from "./index-4xgbg-sn.js";
9
9
  import { u as De } from "./index-BcMWc8W2.js";
10
10
  import { I as te } from "./icon-button-DA2CAGHZ.js";
11
- import { S as We } from "./select-BW5ecXlX.js";
11
+ import { S as We } from "./select-Bi8zril7.js";
12
12
  import { S as _e } from "./send-C5kDJ-Mz.js";
13
13
  import { X as Ae } from "./x-B5YnXwCz.js";
14
14
  const Le = {
@@ -497,4 +497,4 @@ export {
497
497
  Ze as A,
498
498
  Le as a
499
499
  };
500
- //# sourceMappingURL=ai-prompt-input-DnbfEJnr.js.map
500
+ //# sourceMappingURL=ai-prompt-input-CrHr-5H8.js.map
@@ -7,12 +7,12 @@ import { C as re } from "./card-DPmk26CL.js";
7
7
  import { C as Jt, b as Zt, a as ea } from "./collapsible-CTjxzGuF.js";
8
8
  import { E as Ze } from "./empty-state-X0sVPfVo.js";
9
9
  import { F as $ } from "./form-field-CahJzTxp.js";
10
- import { M as li } from "./multi-select-DqL4o0qV.js";
10
+ import { M as li } from "./multi-select-DYOvx2SJ.js";
11
11
  import { N as gn } from "./number-input-Cgu2TtA8.js";
12
12
  import { R as we } from "./radio-TWf9Q-mp.js";
13
13
  import { R as pn } from "./radio-group-rXDJADzW.js";
14
- import { S as $e } from "./select-BW5ecXlX.js";
15
- import { T as Q } from "./tabs-CBb2AidH.js";
14
+ import { S as $e } from "./select-Bi8zril7.js";
15
+ import { T as Q } from "./tabs-DqKtTIjZ.js";
16
16
  import { T as sn } from "./text-area-Bt3p7Pt0.js";
17
17
  import { T as ne } from "./text-input-CUvCb6ST.js";
18
18
  import { T as Ye } from "./timestamp-BV2lC-wV.js";
@@ -9413,4 +9413,4 @@ export {
9413
9413
  Ba as t,
9414
9414
  Bl as u
9415
9415
  };
9416
- //# sourceMappingURL=anamnesis-summary-rows-BfhxWPO3.js.map
9416
+ //# sourceMappingURL=anamnesis-summary-rows-CRWO8x8g.js.map
@@ -4,7 +4,7 @@ import { c as oe } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ue } from "react-i18next";
5
5
  import { B as G } from "./button-nJaPh_HC.js";
6
6
  import { I as D } from "./icon-button-DA2CAGHZ.js";
7
- import { S as pe } from "./select-BW5ecXlX.js";
7
+ import { S as pe } from "./select-Bi8zril7.js";
8
8
  import { A as le } from "./audio-visualiser-l6zPd0AG.js";
9
9
  import { A as F } from "./alert-CiJT540z.js";
10
10
  import { u as me } from "./registry-DvAUVLHh.js";
@@ -447,4 +447,4 @@ export {
447
447
  De as A,
448
448
  Re as a
449
449
  };
450
- //# sourceMappingURL=audio-recorder-EWBCNIsd.js.map
450
+ //# sourceMappingURL=audio-recorder-DXG6LTtO.js.map
@@ -1,4 +1,4 @@
1
- import { jsx as n, jsxs as C } from "react/jsx-runtime";
1
+ import { jsx as s, jsxs as x } from "react/jsx-runtime";
2
2
  import { forwardRef as Ze, useId as et, useState as $, useRef as c, useCallback as A, useEffect as R, useMemo as L } from "react";
3
3
  import { _ as f } from "./index-4xgbg-sn.js";
4
4
  import * as D from "@radix-ui/react-popover";
@@ -19,19 +19,19 @@ const lt = {
19
19
  type: "string | null",
20
20
  descriptionKey: "ui.agent.autocomplete.state.value",
21
21
  description: "Currently-selected option value, or null when nothing is committed.",
22
- read: (s) => s.getValue()
22
+ read: (n) => n.getValue()
23
23
  },
24
24
  query: {
25
25
  type: "string",
26
26
  descriptionKey: "ui.agent.autocomplete.state.query",
27
27
  description: "Current free-text query in the input.",
28
- read: (s) => s.getQuery()
28
+ read: (n) => n.getQuery()
29
29
  },
30
30
  isOpen: {
31
31
  type: "boolean",
32
32
  descriptionKey: "ui.agent.autocomplete.state.isOpen",
33
33
  description: "True when the suggestion list is visible.",
34
- read: (s) => s.getIsOpen()
34
+ read: (n) => n.getIsOpen()
35
35
  }
36
36
  },
37
37
  actions: {
@@ -46,8 +46,8 @@ const lt = {
46
46
  idempotent: !0,
47
47
  descriptionKey: "ui.agent.autocomplete.actions.setValue",
48
48
  description: "Set the committed value programmatically.",
49
- invoke: (s, l) => {
50
- s.setValue(l.value);
49
+ invoke: (n, l) => {
50
+ n.setValue(l.value);
51
51
  }
52
52
  },
53
53
  apply_filter: {
@@ -61,8 +61,8 @@ const lt = {
61
61
  idempotent: !0,
62
62
  descriptionKey: "ui.agent.autocomplete.actions.applyFilter",
63
63
  description: "Set the input query, which filters the suggestion list.",
64
- invoke: (s, l) => {
65
- s.setQuery(l.query);
64
+ invoke: (n, l) => {
65
+ n.setQuery(l.query);
66
66
  }
67
67
  },
68
68
  clear: {
@@ -70,8 +70,8 @@ const lt = {
70
70
  idempotent: !0,
71
71
  descriptionKey: "ui.agent.autocomplete.actions.clear",
72
72
  description: "Clear the committed value and the query. Discards the typed input.",
73
- invoke: (s) => {
74
- s.clear();
73
+ invoke: (n) => {
74
+ n.clear();
75
75
  }
76
76
  },
77
77
  open: {
@@ -79,8 +79,8 @@ const lt = {
79
79
  idempotent: !0,
80
80
  descriptionKey: "ui.agent.autocomplete.actions.open",
81
81
  description: "Open the suggestion list.",
82
- invoke: (s) => {
83
- s.open();
82
+ invoke: (n) => {
83
+ n.open();
84
84
  }
85
85
  },
86
86
  close: {
@@ -88,8 +88,8 @@ const lt = {
88
88
  idempotent: !0,
89
89
  descriptionKey: "ui.agent.autocomplete.actions.close",
90
90
  description: "Close the suggestion list.",
91
- invoke: (s) => {
92
- s.close();
91
+ invoke: (n) => {
92
+ n.close();
93
93
  }
94
94
  }
95
95
  },
@@ -160,11 +160,11 @@ const lt = {
160
160
  "ds:[&_[cmdk-group-heading]]:type-eyebrow",
161
161
  "ds:[&_[cmdk-group-heading]]:text-muted-foreground"
162
162
  ].join(" "), X = "ds:inline-flex ds:items-center ds:shrink-0 ds:text-muted-foreground ds:[&_svg]:size-4";
163
- function J(s, l, T) {
164
- return `${s}-${l}-${T}`;
163
+ function J(n, l, T) {
164
+ return `${n}-${l}-${T}`;
165
165
  }
166
- function ge(s, l) {
167
- return `${s}:${l}`;
166
+ function ge(n, l) {
167
+ return `${n}:${l}`;
168
168
  }
169
169
  const mt = Ze(
170
170
  function({
@@ -178,11 +178,11 @@ const mt = Ze(
178
178
  onRecentSelect: B,
179
179
  snapOnBlur: ye = !1,
180
180
  size: we = "md",
181
- tone: xe = "default",
181
+ tone: Ce = "default",
182
182
  startAdornment: M,
183
183
  endAdornment: q,
184
184
  placeholder: W,
185
- disabled: Ce,
185
+ disabled: xe,
186
186
  readOnly: b,
187
187
  required: ke,
188
188
  name: Ne,
@@ -192,7 +192,7 @@ const mt = Ze(
192
192
  "aria-invalid": Re,
193
193
  "aria-describedby": Ie
194
194
  }, k) {
195
- const { t: y, i18n: _e } = tt(), N = st(), Ee = et(), g = K ?? N.id ?? Ee, Z = `${g}-listbox`, $e = `${g}-live`, h = !!(N.disabled || Ce), Ae = !!(N.required || ke), ee = N.invalid || !!Re, De = ee ? "error" : xe ?? "default", Fe = N.describedBy || Ie || void 0, [Te, te] = nt({
195
+ const { t: y, i18n: _e } = tt(), N = st(), Ee = et(), g = K ?? N.id ?? Ee, Z = `${g}-listbox`, $e = `${g}-live`, h = !!(N.disabled || xe), Ae = !!(N.required || ke), ee = N.invalid || !!Re, De = ee ? "error" : Ce ?? "default", Fe = N.describedBy || Ie || void 0, [Te, te] = nt({
196
196
  value: he,
197
197
  defaultValue: ve ?? "",
198
198
  onChange: be
@@ -213,22 +213,22 @@ const mt = Ze(
213
213
  }, [v]);
214
214
  const qe = A(
215
215
  (e) => {
216
- var a;
216
+ var o;
217
217
  if (h || b || I.current) return;
218
- (a = j.current) == null || a.abort();
218
+ (o = j.current) == null || o.abort();
219
219
  const t = new AbortController();
220
- j.current = t, z.current = e, P(!0), l(e, { signal: t.signal, locale: oe }).then((o) => {
221
- t.signal.aborted || z.current === e && (se(o), P(!1));
222
- }).catch((o) => {
223
- t.signal.aborted || o && typeof o == "object" && "name" in o && o.name === "AbortError" || z.current === e && (se([]), P(!1));
220
+ j.current = t, z.current = e, P(!0), l(e, { signal: t.signal, locale: oe }).then((a) => {
221
+ t.signal.aborted || z.current === e && (se(a), P(!1));
222
+ }).catch((a) => {
223
+ t.signal.aborted || a && typeof a == "object" && "name" in a && a.name === "AbortError" || z.current === e && (se([]), P(!1));
224
224
  });
225
225
  },
226
226
  [h, b, l, oe]
227
- ), x = dt(qe, T);
227
+ ), C = dt(qe, T);
228
228
  R(() => () => {
229
229
  var e;
230
- x.cancel(), (e = j.current) == null || e.abort();
231
- }, [x]);
230
+ C.cancel(), (e = j.current) == null || e.abort();
231
+ }, [C]);
232
232
  const m = A(
233
233
  (e) => {
234
234
  te(e);
@@ -236,28 +236,28 @@ const mt = Ze(
236
236
  [te]
237
237
  ), re = A(
238
238
  (e) => {
239
- const [t, a] = e.split(":");
240
- if (!a || t !== "recent" && t !== "option") return null;
241
- const ce = (t === "recent" ? ae.current : ne.current).get(a);
239
+ const [t, o] = e.split(":");
240
+ if (!o || t !== "recent" && t !== "option") return null;
241
+ const ce = (t === "recent" ? ae.current : ne.current).get(o);
242
242
  return ce ? { kind: t, option: ce } : null;
243
243
  },
244
244
  []
245
245
  ), Ke = (e) => {
246
- m(e), !(h || b) && (i || d(!0), !I.current && x(e));
246
+ m(e), !(h || b) && (i || d(!0), !I.current && C(e));
247
247
  }, Pe = (e) => {
248
248
  I.current = !0;
249
249
  }, je = (e) => {
250
250
  I.current = !1;
251
251
  const t = e.currentTarget.value;
252
- x(t);
252
+ C(t);
253
253
  }, ze = (e) => {
254
- h || b || (d(!0), r && x(r));
254
+ h || b || (d(!0), r && C(r));
255
255
  }, Ue = (e) => {
256
256
  const t = e.relatedTarget;
257
257
  if (!(t && O.current && O.current.contains(t))) {
258
258
  if (ye && p) {
259
- const a = re(p);
260
- a && (m(a.option.label), u == null || u(a.option));
259
+ const o = re(p);
260
+ o && (m(o.option.label), u == null || u(o.option));
261
261
  }
262
262
  d(!1);
263
263
  }
@@ -268,7 +268,7 @@ const mt = Ze(
268
268
  return;
269
269
  }
270
270
  if (e.key === "ArrowDown" && !i) {
271
- e.preventDefault(), d(!0), r && x(r);
271
+ e.preventDefault(), d(!0), r && C(r);
272
272
  return;
273
273
  }
274
274
  if (e.key === "Tab" && i && p) {
@@ -277,8 +277,8 @@ const mt = Ze(
277
277
  }
278
278
  }
279
279
  }, ie = (e, t) => {
280
- var a;
281
- m(t.label), e === "recent" ? B == null || B(t) : u == null || u(t), d(!1), (a = U.current) == null || a.focus();
280
+ var o;
281
+ m(t.label), e === "recent" ? B == null || B(t) : u == null || u(t), d(!1), (o = U.current) == null || o.focus();
282
282
  }, S = (e) => {
283
283
  e.preventDefault();
284
284
  }, _ = !!(v && v.length > 0) && r.length === 0, Se = L(
@@ -329,7 +329,7 @@ const mt = Ze(
329
329
  count: We,
330
330
  defaultValue: "{{count}} results"
331
331
  }) : "";
332
- return /* @__PURE__ */ n(
332
+ return /* @__PURE__ */ s(
333
333
  f,
334
334
  {
335
335
  shouldFilter: !1,
@@ -337,12 +337,12 @@ const mt = Ze(
337
337
  onValueChange: Be,
338
338
  label: Y ?? W,
339
339
  className: "ds:w-full",
340
- children: /* @__PURE__ */ C(
340
+ children: /* @__PURE__ */ x(
341
341
  D.Root,
342
342
  {
343
343
  open: i && !h && !b && Xe,
344
344
  children: [
345
- /* @__PURE__ */ n(D.Anchor, { asChild: !0, children: /* @__PURE__ */ C(
345
+ /* @__PURE__ */ s(D.Anchor, { asChild: !0, children: /* @__PURE__ */ x(
346
346
  "div",
347
347
  {
348
348
  className: Qe,
@@ -350,8 +350,8 @@ const mt = Ze(
350
350
  "data-component-id": K,
351
351
  "data-disabled": h || void 0,
352
352
  children: [
353
- M ? /* @__PURE__ */ n("span", { "aria-hidden": "true", className: `${X} ds:ps-3`, children: M }) : null,
354
- /* @__PURE__ */ n(
353
+ M ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: `${X} ds:ps-3`, children: M }) : null,
354
+ /* @__PURE__ */ s(
355
355
  f.Input,
356
356
  {
357
357
  ref: Me,
@@ -380,8 +380,8 @@ const mt = Ze(
380
380
  className: ct({ hasStart: He, hasEnd: Le })
381
381
  }
382
382
  ),
383
- V ? /* @__PURE__ */ n("span", { className: `${X} ds:pe-3`, "aria-hidden": "true", children: /* @__PURE__ */ n(pe, { variant: "pulse", size: "sm" }) }) : q ? /* @__PURE__ */ n("span", { "aria-hidden": "true", className: `${X} ds:pe-3`, children: q }) : null,
384
- /* @__PURE__ */ n(
383
+ V ? /* @__PURE__ */ s("span", { className: `${X} ds:pe-3`, "aria-hidden": "true", children: /* @__PURE__ */ s(pe, { variant: "pulse", size: "sm" }) }) : q ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: `${X} ds:pe-3`, children: q }) : null,
384
+ /* @__PURE__ */ s(
385
385
  "span",
386
386
  {
387
387
  id: $e,
@@ -395,7 +395,7 @@ const mt = Ze(
395
395
  ]
396
396
  }
397
397
  ) }),
398
- /* @__PURE__ */ n(D.Portal, { forceMount: !0, children: /* @__PURE__ */ n(
398
+ /* @__PURE__ */ s(D.Portal, { forceMount: !0, children: /* @__PURE__ */ s(
399
399
  D.Content,
400
400
  {
401
401
  ref: O,
@@ -407,9 +407,9 @@ const mt = Ze(
407
407
  onOpenAutoFocus: (e) => e.preventDefault(),
408
408
  onCloseAutoFocus: (e) => e.preventDefault(),
409
409
  onPointerDownOutside: (e) => {
410
- var a;
410
+ var o;
411
411
  const t = e.target;
412
- if (t && ((a = U.current) != null && a.contains(t))) {
412
+ if (t && ((o = U.current) != null && o.contains(t))) {
413
413
  e.preventDefault();
414
414
  return;
415
415
  }
@@ -418,18 +418,18 @@ const mt = Ze(
418
418
  onEscapeKeyDown: () => d(!1),
419
419
  onMouseDown: S,
420
420
  className: pt(),
421
- children: /* @__PURE__ */ C(
421
+ children: /* @__PURE__ */ x(
422
422
  f.List,
423
423
  {
424
424
  id: Z,
425
425
  className: "ds:max-h-[min(24rem,var(--radix-popover-content-available-height))] ds:overflow-auto ds:p-1",
426
426
  children: [
427
- _ ? /* @__PURE__ */ n(
427
+ _ ? /* @__PURE__ */ s(
428
428
  f.Group,
429
429
  {
430
430
  heading: y("inputs.autocomplete.recent", "Recent"),
431
431
  className: fe,
432
- children: (v ?? []).map((e) => /* @__PURE__ */ C(
432
+ children: (v ?? []).map((e) => /* @__PURE__ */ x(
433
433
  f.Item,
434
434
  {
435
435
  id: J(g, "recent", e.value),
@@ -440,7 +440,7 @@ const mt = Ze(
440
440
  onMouseDown: S,
441
441
  className: me(),
442
442
  children: [
443
- e.startAdornment ? /* @__PURE__ */ n(
443
+ e.startAdornment ? /* @__PURE__ */ s(
444
444
  "span",
445
445
  {
446
446
  "aria-hidden": "true",
@@ -448,52 +448,64 @@ const mt = Ze(
448
448
  children: e.startAdornment
449
449
  }
450
450
  ) : null,
451
- /* @__PURE__ */ n("span", { className: "ds:flex-1 ds:truncate", children: e.label })
451
+ /* @__PURE__ */ s("span", { className: "ds:flex-1 ds:truncate", children: e.label }),
452
+ e.endContent ? (
453
+ // Deliberately NOT aria-hidden — unlike
454
+ // `startAdornment`, this slot carries meaning
455
+ // and must reach the option's accessible name.
456
+ /* @__PURE__ */ s("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: e.endContent })
457
+ ) : null
452
458
  ]
453
459
  },
454
460
  `recent-${e.value}`
455
461
  ))
456
462
  }
457
463
  ) : null,
458
- de ? /* @__PURE__ */ n("div", { className: "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: y("inputs.autocomplete.noResults", "No results") }) : null,
459
- le ? /* @__PURE__ */ C("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: [
460
- /* @__PURE__ */ n(pe, { variant: "pulse", size: "sm" }),
461
- /* @__PURE__ */ n("span", { children: y("common.loading", "Loading…") })
464
+ de ? /* @__PURE__ */ s("div", { className: "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: y("inputs.autocomplete.noResults", "No results") }) : null,
465
+ le ? /* @__PURE__ */ x("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: [
466
+ /* @__PURE__ */ s(pe, { variant: "pulse", size: "sm" }),
467
+ /* @__PURE__ */ s("span", { children: y("common.loading", "Loading…") })
462
468
  ] }) : null,
463
469
  !_ && E ? Se.map((e, t) => {
464
- const a = e.items.map((o) => /* @__PURE__ */ C(
470
+ const o = e.items.map((a) => /* @__PURE__ */ x(
465
471
  f.Item,
466
472
  {
467
- id: J(g, "option", o.value),
468
- "data-option-id": o.value,
469
- value: ge("option", o.value),
470
- disabled: o.disabled,
471
- onSelect: () => ie("option", o),
473
+ id: J(g, "option", a.value),
474
+ "data-option-id": a.value,
475
+ value: ge("option", a.value),
476
+ disabled: a.disabled,
477
+ onSelect: () => ie("option", a),
472
478
  onMouseDown: S,
473
479
  className: me(),
474
480
  children: [
475
- o.startAdornment ? /* @__PURE__ */ n(
481
+ a.startAdornment ? /* @__PURE__ */ s(
476
482
  "span",
477
483
  {
478
484
  "aria-hidden": "true",
479
485
  className: "ds:inline-flex ds:items-center ds:shrink-0",
480
- children: o.startAdornment
486
+ children: a.startAdornment
481
487
  }
482
488
  ) : null,
483
- /* @__PURE__ */ n("span", { className: "ds:flex-1 ds:truncate", children: o.label })
489
+ /* @__PURE__ */ s("span", { className: "ds:flex-1 ds:truncate", children: a.label }),
490
+ a.endContent ? (
491
+ // Deliberately NOT aria-hidden — unlike
492
+ // `startAdornment`, this slot carries meaning
493
+ // and must reach the option's accessible name.
494
+ /* @__PURE__ */ s("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: a.endContent })
495
+ ) : null
484
496
  ]
485
497
  },
486
- `option-${o.value}`
498
+ `option-${a.value}`
487
499
  ));
488
- return e.group ? /* @__PURE__ */ n(
500
+ return e.group ? /* @__PURE__ */ s(
489
501
  f.Group,
490
502
  {
491
503
  heading: e.group,
492
504
  className: fe,
493
- children: a
505
+ children: o
494
506
  },
495
507
  `group-${e.group}`
496
- ) : /* @__PURE__ */ n(f.Group, { children: a }, `group-${t}`);
508
+ ) : /* @__PURE__ */ s(f.Group, { children: o }, `group-${t}`);
497
509
  }) : null
498
510
  ]
499
511
  }
@@ -513,4 +525,4 @@ export {
513
525
  lt as a,
514
526
  ut as b
515
527
  };
516
- //# sourceMappingURL=autocomplete-BrONKN8l.js.map
528
+ //# sourceMappingURL=autocomplete-MpBhz-fG.js.map
@@ -1,10 +1,10 @@
1
1
  import { jsx as v, jsxs as M } from "react/jsx-runtime";
2
2
  import { createElement as O, useRef as k, useEffect as ne, useCallback as j, forwardRef as pe, useState as ae, useImperativeHandle as be, useMemo as Q } from "react";
3
3
  import { useTranslation as K } from "react-i18next";
4
- import { a as g, T as C, A as ge, d as ie, D as S, e as Ce } from "./actions-cell-renderer-DnSLrgQD.js";
5
- import { S as ve } from "./select-BW5ecXlX.js";
4
+ import { a as g, T as C, A as ge, d as ie, D as S, e as Ce } from "./actions-cell-renderer-ReurEy5i.js";
5
+ import { S as ve } from "./select-Bi8zril7.js";
6
6
  import { u as Te } from "./registry-DvAUVLHh.js";
7
- import { I as we, L as Ne, b as _, a as z, c as H, N as $, d as R, S as I, T as re, D as q, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-CenJx-_7.js";
7
+ import { I as we, L as Ne, b as _, a as z, c as H, N as $, d as R, S as I, T as re, D as q, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-CIASXsVM.js";
8
8
  import { T as Pe } from "./transaction-chip-DJCstquX.js";
9
9
  import { B as le } from "./badge-sTusUqZD.js";
10
10
  import { c as Se } from "./index-D2ZczOXr.js";
@@ -1165,4 +1165,4 @@ export {
1165
1165
  oe as g,
1166
1166
  et as u
1167
1167
  };
1168
- //# sourceMappingURL=balance-badge-cell-7L6nzB29.js.map
1168
+ //# sourceMappingURL=balance-badge-cell--iQ_gtmi.js.map
@@ -4,7 +4,7 @@ import { c as A } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as K } from "react-i18next";
5
5
  import { u as L } from "./registry-DvAUVLHh.js";
6
6
  import { F } from "./form-field-CahJzTxp.js";
7
- import { S as H } from "./select-BW5ecXlX.js";
7
+ import { S as H } from "./select-Bi8zril7.js";
8
8
  import { C as O } from "./card-DPmk26CL.js";
9
9
  import { B as M } from "./badge-sTusUqZD.js";
10
10
  import { I as j } from "./insert-result-LCNTskNJ.js";
@@ -301,4 +301,4 @@ export {
301
301
  V as d,
302
302
  G as e
303
303
  };
304
- //# sourceMappingURL=bishop-score-Cnu0xs-z.js.map
304
+ //# sourceMappingURL=bishop-score-CJUVBfAu.js.map