@alfadocs/ui-kit 1.45.0 → 1.47.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 (178) hide show
  1. package/dist/_chunks/{actions-cell-renderer-BXBy9c0f.js → actions-cell-renderer-B5m9lwgC.js} +2 -2
  2. package/dist/_chunks/ai-credits-notice-xszqOZTC.js +90 -0
  3. package/dist/_chunks/ai-credits-notice.agent-C9L7orrP.js +17 -0
  4. package/dist/_chunks/{ai-consent-banner-D7I2U-cz.js → ai-permission-notice-D7I2U-cz.js} +1 -1
  5. package/dist/_chunks/ai-sparkle-D23NT8Z_.js +45 -0
  6. package/dist/_chunks/{anamnesis-summary-rows-DQUqwWc1.js → anamnesis-summary-rows-DI-UX5r6.js} +2 -2
  7. package/dist/_chunks/{appointment-card-TgR_2GKS.js → appointment-card-DluZy8Iv.js} +2 -2
  8. package/dist/_chunks/{appointment-peek-abiR0T9e.js → appointment-peek-BsfCpiJs.js} +3 -3
  9. package/dist/_chunks/{appointment-timeline-CCnyUYKz.js → appointment-timeline-Cs5f9viN.js} +3 -3
  10. package/dist/_chunks/{appointment-tray-N0yEI8UF.js → appointment-tray-CLrGGnKR.js} +2 -2
  11. package/dist/_chunks/baby-Dku-Xvg9.js +23 -0
  12. package/dist/_chunks/{balance-badge-cell-o6LldMUA.js → balance-badge-cell-YGrYdrvR.js} +3 -3
  13. package/dist/_chunks/booking-C4MwImkS.js +3362 -0
  14. package/dist/_chunks/button-group-CA1tmu39.js +325 -0
  15. package/dist/_chunks/{calendar-U6N0F99w.js → calendar-OzSeTb4V.js} +2 -2
  16. package/dist/_chunks/{calendar-event-card-DKUnT9Be.js → calendar-event-card-B6N5h1dO.js} +57 -48
  17. package/dist/_chunks/calendar-workspace-DDnQmiIL.js +12427 -0
  18. package/dist/_chunks/{chart-PF2krCZC.js → chart-D8ucl8hH.js} +2 -2
  19. package/dist/_chunks/{data-table-CcAx_I1w.js → data-table-DnKOmEVw.js} +2 -2
  20. package/dist/_chunks/{editable-currency-cell-renderer-Psb6XKHR.js → editable-currency-cell-renderer-OUkUv7U4.js} +2 -2
  21. package/dist/_chunks/{face-scheme-Bm6pe7R8.js → face-scheme-mIhwrQXt.js} +3 -3
  22. package/dist/_chunks/{file-manager-BfLQxF5t.js → file-manager-DOcJGIx2.js} +4 -4
  23. package/dist/_chunks/{freemium-paywall-Cz-O9lQD.js → freemium-paywall-BaW5ODc9.js} +2 -2
  24. package/dist/_chunks/{header-settings-CTe45iDy.js → header-settings-BEfx_-TF.js} +2 -2
  25. package/dist/_chunks/{help-me-write-templates-GUeEn3Ff.js → help-me-write-templates-DHIwa4xR.js} +205 -199
  26. package/dist/_chunks/{hover-card-BMJBVqIf.js → hover-card-nUae8NPJ.js} +67 -62
  27. package/dist/_chunks/{icon-button-group-DkkdIygu.js → icon-button-group-DZKC6KGf.js} +181 -168
  28. package/dist/_chunks/kit-extensions-DuoFF1R3.js +94 -0
  29. package/dist/_chunks/{marketplace-app-shell-DdwPj03y.js → marketplace-app-shell-PB89Dkk_.js} +2 -2
  30. package/dist/_chunks/{notes-panel-Dkk9QPPX.js → notes-panel-CHbDDMx8.js} +83 -73
  31. package/dist/_chunks/{patient-details-C8ImUrVg.js → patient-details-yrgkSeEY.js} +2 -2
  32. package/dist/_chunks/{patient-field-row-BRSOKvme.js → patient-field-row-DCMkFGqI.js} +3 -3
  33. package/dist/_chunks/{patient-summary-card-BhmKB2KR.js → patient-summary-card-CmEFflGS.js} +59 -45
  34. package/dist/_chunks/payment-form-DqJFiplX.js +881 -0
  35. package/dist/_chunks/{phone-input-BsZIoE36.js → phone-input-IWrGOCwm.js} +40 -39
  36. package/dist/_chunks/rich-text-editor-BwDV2XkZ.js +4153 -0
  37. package/dist/_chunks/{stepper-accordion-DmVykr5F.js → stepper-accordion-jMR8NaOB.js} +2 -1
  38. package/dist/_chunks/{tasks-panel-CpcikOeY.js → tasks-panel-DncuBPIZ.js} +2 -2
  39. package/dist/_chunks/{theme-toggle-bI0pgDDv.js → theme-toggle-BP0XRGMM.js} +2 -2
  40. package/dist/_chunks/use-ai-sparkle-Cf4yVTLB.js +76 -0
  41. package/dist/_chunks/{workflow-status-xeaJTzD3.js → workflow-status-CuJAOuKL.js} +43 -42
  42. package/dist/agent-catalog.json +36 -7
  43. package/dist/agent-i18n/en.json +3 -3
  44. package/dist/components/ai-credits-notice/ai-credits-notice.agent.d.ts +3 -0
  45. package/dist/components/ai-credits-notice/ai-credits-notice.d.ts +48 -0
  46. package/dist/components/ai-credits-notice/index.d.ts +4 -0
  47. package/dist/components/ai-credits-notice/index.js +7 -0
  48. package/dist/components/{ai-consent-banner/ai-consent-banner.agent.d.ts → ai-permission-notice/ai-permission-notice.agent.d.ts} +2 -2
  49. package/dist/components/{ai-consent-banner/ai-consent-banner.d.ts → ai-permission-notice/ai-permission-notice.d.ts} +1 -1
  50. package/dist/components/ai-permission-notice/index.d.ts +4 -0
  51. package/dist/components/{ai-consent-banner → ai-permission-notice}/index.js +1 -1
  52. package/dist/components/ai-sparkle/ai-sparkle.d.ts +3 -3
  53. package/dist/components/ai-sparkle/index.js +1 -1
  54. package/dist/components/appointment-card/index.js +2 -2
  55. package/dist/components/appointment-peek/index.js +1 -1
  56. package/dist/components/appointment-timeline/index.js +1 -1
  57. package/dist/components/booking/booking-types.d.ts +60 -1
  58. package/dist/components/booking/booking.d.ts +1 -1
  59. package/dist/components/booking/details-form.d.ts +5 -1
  60. package/dist/components/booking/index.d.ts +1 -1
  61. package/dist/components/booking/index.js +1 -1
  62. package/dist/components/booking/payment.d.ts +9 -0
  63. package/dist/components/booking/use-booking-payment.d.ts +14 -0
  64. package/dist/components/button-group/index.js +1 -1
  65. package/dist/components/calendar/index.js +1 -1
  66. package/dist/components/calendar-event-card/index.js +1 -1
  67. package/dist/components/chart/index.js +1 -1
  68. package/dist/components/data-table/index.js +3 -3
  69. package/dist/components/face-scheme/index.js +1 -1
  70. package/dist/components/file-manager/index.js +1 -1
  71. package/dist/components/freemium-paywall/index.js +1 -1
  72. package/dist/components/header-settings/index.js +1 -1
  73. package/dist/components/hover-card/hover-card.d.ts +4 -0
  74. package/dist/components/hover-card/index.d.ts +1 -1
  75. package/dist/components/hover-card/index.js +3 -2
  76. package/dist/components/icon-button-group/index.js +1 -1
  77. package/dist/components/index.d.ts +2 -1
  78. package/dist/components/notes-panel/index.js +1 -1
  79. package/dist/components/notes-panel/notes-panel.d.ts +10 -0
  80. package/dist/components/patient-details/index.js +1 -1
  81. package/dist/components/patient-summary-card/index.js +1 -1
  82. package/dist/components/patient-table/index.js +1 -1
  83. package/dist/components/payment-form/index.d.ts +1 -1
  84. package/dist/components/payment-form/index.js +1 -1
  85. package/dist/components/payment-form/payment-form.d.ts +35 -3
  86. package/dist/components/phone-input/index.js +1 -1
  87. package/dist/components/rich-text-editor/editor-extensions.d.ts +54 -0
  88. package/dist/components/rich-text-editor/editor-toolbar.d.ts +2 -1
  89. package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +4 -0
  90. package/dist/components/rich-text-editor/index.d.ts +2 -0
  91. package/dist/components/rich-text-editor/index.js +6 -4
  92. package/dist/components/rich-text-editor/kit-extensions.d.ts +4 -0
  93. package/dist/components/rich-text-editor/rich-text-editor.d.ts +18 -2
  94. package/dist/components/stepper-accordion/index.js +1 -1
  95. package/dist/components/tasks-panel/index.js +1 -1
  96. package/dist/components/theme-toggle/index.js +1 -1
  97. package/dist/components/workflow-status/index.js +1 -1
  98. package/dist/hooks/index.d.ts +1 -1
  99. package/dist/hooks/index.js +51 -53
  100. package/dist/hooks/use-ai-sparkle.d.ts +7 -25
  101. package/dist/host-compat.css +2 -2
  102. package/dist/i18n/locales/ar.d.ts +67 -1
  103. package/dist/i18n/locales/ar.js +69 -3
  104. package/dist/i18n/locales/de.d.ts +67 -1
  105. package/dist/i18n/locales/de.js +69 -3
  106. package/dist/i18n/locales/el.d.ts +67 -1
  107. package/dist/i18n/locales/el.js +69 -3
  108. package/dist/i18n/locales/en.d.ts +67 -1
  109. package/dist/i18n/locales/en.js +69 -3
  110. package/dist/i18n/locales/es.d.ts +67 -1
  111. package/dist/i18n/locales/es.js +69 -3
  112. package/dist/i18n/locales/fr.d.ts +67 -1
  113. package/dist/i18n/locales/fr.js +69 -3
  114. package/dist/i18n/locales/hi.d.ts +67 -1
  115. package/dist/i18n/locales/hi.js +69 -3
  116. package/dist/i18n/locales/it.d.ts +67 -1
  117. package/dist/i18n/locales/it.js +69 -3
  118. package/dist/i18n/locales/ja.d.ts +67 -1
  119. package/dist/i18n/locales/ja.js +69 -3
  120. package/dist/i18n/locales/nl.d.ts +67 -1
  121. package/dist/i18n/locales/nl.js +69 -3
  122. package/dist/i18n/locales/pl.d.ts +67 -1
  123. package/dist/i18n/locales/pl.js +69 -3
  124. package/dist/i18n/locales/pt.d.ts +67 -1
  125. package/dist/i18n/locales/pt.js +69 -3
  126. package/dist/i18n/locales/ro.d.ts +67 -1
  127. package/dist/i18n/locales/ro.js +69 -3
  128. package/dist/i18n/locales/ru.d.ts +67 -1
  129. package/dist/i18n/locales/ru.js +69 -3
  130. package/dist/i18n/locales/sq.d.ts +67 -1
  131. package/dist/i18n/locales/sq.js +69 -3
  132. package/dist/i18n/locales/sv.d.ts +67 -1
  133. package/dist/i18n/locales/sv.js +69 -3
  134. package/dist/i18n/locales/tr.d.ts +67 -1
  135. package/dist/i18n/locales/tr.js +69 -3
  136. package/dist/i18n/locales/zh.d.ts +67 -1
  137. package/dist/i18n/locales/zh.js +69 -3
  138. package/dist/index.js +648 -641
  139. package/dist/locales/ar.json +69 -3
  140. package/dist/locales/de.json +69 -3
  141. package/dist/locales/el.json +69 -3
  142. package/dist/locales/en.json +69 -3
  143. package/dist/locales/es.json +69 -3
  144. package/dist/locales/fr.json +69 -3
  145. package/dist/locales/hi.json +69 -3
  146. package/dist/locales/it.json +69 -3
  147. package/dist/locales/ja.json +69 -3
  148. package/dist/locales/nl.json +69 -3
  149. package/dist/locales/pl.json +69 -3
  150. package/dist/locales/pt.json +69 -3
  151. package/dist/locales/ro.json +69 -3
  152. package/dist/locales/ru.json +69 -3
  153. package/dist/locales/sq.json +69 -3
  154. package/dist/locales/sv.json +69 -3
  155. package/dist/locales/tr.json +69 -3
  156. package/dist/locales/zh.json +69 -3
  157. package/dist/patterns/anamnesis/index.js +1 -1
  158. package/dist/patterns/calendar/calendar-editor-fields.d.ts +33 -0
  159. package/dist/patterns/calendar/calendar-sticky-offset.d.ts +20 -0
  160. package/dist/patterns/calendar/calendar-workspace.d.ts +6 -4
  161. package/dist/patterns/calendar/calendar.data.d.ts +26 -0
  162. package/dist/patterns/calendar/calendar.journey.d.ts +1 -1
  163. package/dist/patterns/calendar/calendar.sheets.d.ts +16 -5
  164. package/dist/patterns/calendar/calendar.types.d.ts +25 -9
  165. package/dist/patterns/calendar/index.js +1 -1
  166. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +11 -2
  167. package/dist/patterns/help-me-write-templates/index.js +1 -1
  168. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  169. package/dist/tokens.css +1 -1
  170. package/package.json +14 -4
  171. package/dist/_chunks/ai-sparkle-DXeP_6a0.js +0 -52
  172. package/dist/_chunks/booking-D43ASl8y.js +0 -3034
  173. package/dist/_chunks/button-group-R32U7SyV.js +0 -307
  174. package/dist/_chunks/calendar-workspace-B7KvZ1_D.js +0 -12161
  175. package/dist/_chunks/payment-form-BHMDqW9C.js +0 -767
  176. package/dist/_chunks/rich-text-editor-BrAvNajV.js +0 -3779
  177. package/dist/_chunks/use-ai-sparkle-CyQSRTCe.js +0 -103
  178. package/dist/components/ai-consent-banner/index.d.ts +0 -4
@@ -1,12 +1,12 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as Te, useContext as Ae, useMemo as b, useState as $, useRef as B, useEffect as ue, useCallback as ce } from "react";
2
+ import { forwardRef as Te, useContext as Ae, useMemo as b, useState as B, useRef as K, useEffect as ue, useCallback as ce } from "react";
3
3
  import { u as $e } from "./registry-DvAUVLHh.js";
4
4
  import { u as Be } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
5
- import * as K from "@radix-ui/react-popover";
5
+ import * as L from "@radix-ui/react-popover";
6
6
  import { R as Ke, _ as N } from "./index-4xgbg-sn.js";
7
7
  import { c as ee } from "./index-D2ZczOXr.js";
8
8
  import { useTranslation as Le } from "react-i18next";
9
- import { getCountries as qe, parsePhoneNumberFromString as L, AsYouType as q, getCountryCallingCode as Me } from "libphonenumber-js/min";
9
+ import { getCountries as qe, parsePhoneNumberFromString as q, AsYouType as M, getCountryCallingCode as Me } from "libphonenumber-js/min";
10
10
  import { u as He, F as _e } from "./form-field-context-B3APVHKx.js";
11
11
  import { c as Ge } from "./compose-refs-C0k0tdqF.js";
12
12
  import { n as J } from "./normalize-diacritics-BNGbFNlJ.js";
@@ -253,7 +253,7 @@ const rt = Te(
253
253
  popularCountries: V,
254
254
  allowedCountries: F,
255
255
  className: ge,
256
- id: M,
256
+ id: H,
257
257
  name: be,
258
258
  required: ye,
259
259
  "aria-label": ve
@@ -265,7 +265,7 @@ const rt = Te(
265
265
  if (!F || F.length === 0) return null;
266
266
  const e = /* @__PURE__ */ new Set(), t = F.filter((n) => !h.has(n) || e.has(n) ? !1 : (e.add(n), !0));
267
267
  return t.length > 0 ? t : null;
268
- }, [F, h]), xe = c !== null && c.length === 1, H = b(() => {
268
+ }, [F, h]), xe = c !== null && c.length === 1, _ = b(() => {
269
269
  const e = me(
270
270
  o,
271
271
  h,
@@ -274,23 +274,23 @@ const rt = Te(
274
274
  c
275
275
  ), t = a ?? l;
276
276
  if (t) {
277
- const n = L(t);
277
+ const n = q(t);
278
278
  return n != null && n.country ? !c || c.includes(n.country) ? {
279
279
  country: n.country,
280
280
  display: n.formatNational(),
281
281
  pinned: !0
282
282
  } : {
283
283
  country: e,
284
- display: new q(e).input(
284
+ display: new M(e).input(
285
285
  n.nationalNumber
286
286
  ),
287
287
  pinned: !0
288
288
  } : { country: e, display: t, pinned: !1 };
289
289
  }
290
290
  return { country: e, display: "", pinned: !1 };
291
- }, []), [u, E] = $(H.country), [te, g] = $(
292
- H.display
293
- ), [_, G] = $(!1), [Ne, ne] = $(""), se = a !== void 0, O = B(""), j = B(null), D = B(H.pinned), T = B(null), we = Ge(Ce, T);
291
+ }, []), [u, E] = B(_.country), [te, g] = B(
292
+ _.display
293
+ ), [G, O] = B(!1), [Ne, ne] = B(""), se = a !== void 0, U = K(""), j = K(null), D = K(_.pinned), T = K(null), we = Ge(Ce, T);
294
294
  ue(() => {
295
295
  if (D.current) return;
296
296
  const e = me(
@@ -310,12 +310,12 @@ const rt = Te(
310
310
  ]), ue(() => {
311
311
  if (!se) return;
312
312
  const e = a ?? "";
313
- if (e === O.current) return;
313
+ if (e === U.current) return;
314
314
  if (e === "") {
315
315
  g("");
316
316
  return;
317
317
  }
318
- const t = L(e);
318
+ const t = q(e);
319
319
  t != null && t.country && (!c || c.includes(t.country)) ? (D.current = !0, E(t.country), g(t.formatNational())) : g(t ? t.formatNational() : e);
320
320
  }, [a, se, c]), Be(() => {
321
321
  if (j.current == null) return;
@@ -326,8 +326,8 @@ const rt = Te(
326
326
  });
327
327
  const C = ce(
328
328
  (e, t) => {
329
- const n = L(e, t), p = (n == null ? void 0 : n.number) ?? "";
330
- O.current = p, i == null || i(p, {
329
+ const n = q(e, t), p = (n == null ? void 0 : n.number) ?? "";
330
+ U.current = p, i == null || i(p, {
331
331
  country: t,
332
332
  isValid: (n == null ? void 0 : n.isValid()) ?? !1,
333
333
  isPossible: (n == null ? void 0 : n.isPossible()) ?? !1,
@@ -335,11 +335,11 @@ const rt = Te(
335
335
  });
336
336
  },
337
337
  [i]
338
- ), ze = M ?? (k ? z.id : void 0), oe = (k ? z.disabled : !1) || !!y, Ie = (k ? z.required : !1) || !!ye, re = k ? z.invalid : !1, Se = re ? "error" : v, Re = k && z.describedBy ? z.describedBy : void 0, ke = he ?? w("inputs.phone.placeholder", "Phone number"), Pe = (e) => {
338
+ ), ze = H ?? (k ? z.id : void 0), oe = (k ? z.disabled : !1) || !!y, Ie = (k ? z.required : !1) || !!ye, re = k ? z.invalid : !1, Se = re ? "error" : v, Re = k && z.describedBy ? z.describedBy : void 0, ke = he ?? w("inputs.phone.placeholder", "Phone number"), Pe = (e) => {
339
339
  if (S) return;
340
- const t = e.target, n = t.value, p = t.selectionStart ?? n.length, I = nt(n, p), Z = new q(u).input(n);
340
+ const t = e.target, n = t.value, p = t.selectionStart ?? n.length, I = nt(n, p), Z = new M(u).input(n);
341
341
  j.current = st(Z, I), g(Z), C(Z, u);
342
- }, ae = O, Ve = b(
342
+ }, ae = U, Ve = b(
343
343
  () => ({
344
344
  getValue: () => ae.current,
345
345
  setValue: (e) => {
@@ -347,11 +347,11 @@ const rt = Te(
347
347
  g(""), C("", u);
348
348
  return;
349
349
  }
350
- const t = L(e);
350
+ const t = q(e);
351
351
  if (t != null && t.country)
352
352
  D.current = !0, E(t.country), g(t.formatNational()), C(t.formatNational(), t.country);
353
353
  else {
354
- const p = new q(u).input(e);
354
+ const p = new M(u).input(e);
355
355
  g(p), C(p, u);
356
356
  }
357
357
  },
@@ -365,14 +365,14 @@ const rt = Te(
365
365
  }),
366
366
  [u, C, ae]
367
367
  );
368
- $e(Ue, Ve, M);
368
+ $e(Ue, Ve, H);
369
369
  const Fe = (e) => {
370
370
  if (e === u) {
371
- G(!1);
371
+ O(!1);
372
372
  return;
373
373
  }
374
- const t = te.replace(/\D/g, ""), n = new q(e), p = t ? n.input(t) : "";
375
- D.current = !0, E(e), g(p), G(!1), ne(""), C(p, e), requestAnimationFrame(() => {
374
+ const t = te.replace(/\D/g, ""), n = new M(e), p = t ? n.input(t) : "";
375
+ D.current = !0, E(e), g(p), O(!1), ne(""), C(p, e), requestAnimationFrame(() => {
376
376
  var I;
377
377
  (I = T.current) == null || I.focus();
378
378
  });
@@ -386,16 +386,16 @@ const rt = Te(
386
386
  if (!V || V.length === 0) return [];
387
387
  const e = new Map(x.map((t) => [t.code, t]));
388
388
  return V.filter((t) => h.has(t)).map((t) => e.get(t)).filter((t) => !!t);
389
- }, [V, x, h]), U = b(
389
+ }, [V, x, h]), W = b(
390
390
  () => new Set(P.map((e) => e.code)),
391
391
  [P]
392
392
  ), Ee = b(
393
- () => U.size > 0 ? x.filter((e) => !U.has(e.code)) : x,
394
- [x, U]
393
+ () => W.size > 0 ? x.filter((e) => !W.has(e.code)) : x,
394
+ [x, W]
395
395
  ), A = b(
396
396
  () => x.find((e) => e.code === u),
397
397
  [x, u]
398
- ), W = A ? A.dialCode : "", ie = A ? A.name : u, Y = w("inputs.phone.countryPickerLabel", "Country"), je = `${Y}: ${ie}, +${W}`, De = ce(
398
+ ), Y = A ? A.dialCode : "", ie = A ? A.name : u, $ = w("inputs.phone.countryPickerLabel", "Country"), je = `${$}: ${ie}, +${Y}`, De = ce(
399
399
  (e, t, n) => {
400
400
  const p = J(e), I = J(t), le = n == null ? void 0 : n.map(J);
401
401
  return Ke(
@@ -431,7 +431,7 @@ const rt = Te(
431
431
  "div",
432
432
  {
433
433
  "data-component": "phone-input",
434
- "data-component-id": M,
434
+ "data-component-id": H,
435
435
  "data-slot": "phone-input",
436
436
  className: We({
437
437
  size: d,
@@ -445,29 +445,29 @@ const rt = Te(
445
445
  "data-slot": "phone-country-fixed",
446
446
  className: `${pe({ size: d })} ds:cursor-default ds:hover:bg-transparent`,
447
447
  children: [
448
- /* @__PURE__ */ r("span", { className: "ds:sr-only", children: `${Y}: ${ie}` }),
448
+ /* @__PURE__ */ r("span", { className: "ds:sr-only", children: `${$}: ${ie}` }),
449
449
  /* @__PURE__ */ r(Q, { country: u, size: X[d] }),
450
450
  /* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
451
451
  "+",
452
- W
452
+ Y
453
453
  ] })
454
454
  ]
455
455
  }
456
- ) : /* @__PURE__ */ m(K.Root, { open: _, onOpenChange: G, children: [
457
- /* @__PURE__ */ r(K.Trigger, { asChild: !0, children: /* @__PURE__ */ m(
456
+ ) : /* @__PURE__ */ m(L.Root, { open: G, onOpenChange: O, children: [
457
+ /* @__PURE__ */ r(L.Trigger, { asChild: !0, children: /* @__PURE__ */ m(
458
458
  "button",
459
459
  {
460
460
  type: "button",
461
461
  disabled: oe,
462
462
  "aria-haspopup": "listbox",
463
- "aria-expanded": _,
463
+ "aria-expanded": G,
464
464
  "aria-label": je,
465
465
  className: pe({ size: d }),
466
466
  children: [
467
467
  /* @__PURE__ */ r(Q, { country: u, size: X[d] }),
468
468
  /* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
469
469
  "+",
470
- W
470
+ Y
471
471
  ] }),
472
472
  /* @__PURE__ */ r(
473
473
  Oe,
@@ -477,18 +477,19 @@ const rt = Te(
477
477
  tt[d],
478
478
  "ds:shrink-0 ds:text-muted-foreground",
479
479
  "ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
480
- _ ? "ds:rotate-180" : ""
480
+ G ? "ds:rotate-180" : ""
481
481
  ].join(" ")
482
482
  }
483
483
  )
484
484
  ]
485
485
  }
486
486
  ) }),
487
- /* @__PURE__ */ r(K.Portal, { children: /* @__PURE__ */ r(
488
- K.Content,
487
+ /* @__PURE__ */ r(L.Portal, { children: /* @__PURE__ */ r(
488
+ L.Content,
489
489
  {
490
490
  sideOffset: 6,
491
491
  align: "start",
492
+ "aria-label": $,
492
493
  className: Ze,
493
494
  children: /* @__PURE__ */ m(
494
495
  N,
@@ -496,7 +497,7 @@ const rt = Te(
496
497
  filter: De,
497
498
  shouldFilter: !0,
498
499
  loop: !0,
499
- label: Y,
500
+ label: $,
500
501
  children: [
501
502
  /* @__PURE__ */ r(
502
503
  N.Input,
@@ -577,4 +578,4 @@ export {
577
578
  pe as c,
578
579
  We as p
579
580
  };
580
- //# sourceMappingURL=phone-input-BsZIoE36.js.map
581
+ //# sourceMappingURL=phone-input-IWrGOCwm.js.map