@alfadocs/ui-kit 0.30.5 → 0.31.2

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 (297) hide show
  1. package/dist/_chunks/{accordion-CNcodXuO.js → accordion-bSU21uTV.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DO9_yogb.js → agenda-card-UJA6Arbs.js} +3 -3
  3. package/dist/_chunks/{agenda-tray-WLbfMip6.js → agenda-tray-1fAxNOMz.js} +4 -4
  4. package/dist/_chunks/{ai-prompt-input-BXlwNnWe.js → ai-prompt-input-C6sCr1Vi.js} +11 -10
  5. package/dist/_chunks/{alia-sidebar-C-232sD7.js → alia-sidebar-BEoMl6UL.js} +9 -9
  6. package/dist/_chunks/ar-CEpIJtcO.js +399 -0
  7. package/dist/_chunks/{audio-recorder-DL800PE_.js → audio-recorder-C1rhKhSN.js} +114 -114
  8. package/dist/_chunks/audio-visualiser-l6zPd0AG.js +162 -0
  9. package/dist/_chunks/{autocomplete-CUh0f7Dj.js → autocomplete-DIgdhCGJ.js} +2 -2
  10. package/dist/_chunks/{avatar-D_H4emLo.js → avatar-BNQNhoyL.js} +19 -18
  11. package/dist/_chunks/{badge-CIjQ1Us1.js → badge-CptERaHx.js} +2 -2
  12. package/dist/_chunks/{booking-Cw92aqo3.js → booking-BIZ9GSer.js} +149 -160
  13. package/dist/_chunks/{breadcrumb--YI7lcHA.js → breadcrumb-CLlhx7qo.js} +2 -2
  14. package/dist/_chunks/{button-group-Bh2g_Ng-.js → button-group-Ciq6J4IW.js} +15 -14
  15. package/dist/_chunks/{calendar-WWNx448i.js → calendar-YHFknAGv.js} +22 -22
  16. package/dist/_chunks/calendar-clock-CYkcqdwl.js +19 -0
  17. package/dist/_chunks/{carousel.agent-C2Icc9_T.js → carousel.agent-DrX96W-1.js} +2 -2
  18. package/dist/_chunks/{chart-BLvFl169.js → chart-DLkVn_ex.js} +2 -2
  19. package/dist/_chunks/{chat-container-izziXViv.js → chat-container-ogB4OskO.js} +24 -23
  20. package/dist/_chunks/{chat-input-cyl_y9bh.js → chat-input-CQe7nR_v.js} +132 -118
  21. package/dist/_chunks/{chat-message-fg221-yx.js → chat-message-D53_fH2w.js} +2 -2
  22. package/dist/_chunks/{checkbox-Dgp_cfUr.js → checkbox-DRcOdmXv.js} +3 -3
  23. package/dist/_chunks/{checkbox-group-eVowqKcT.js → checkbox-group-CpUwlHug.js} +3 -3
  24. package/dist/_chunks/{collapsible-hHiyZp0b.js → collapsible-CERONory.js} +2 -2
  25. package/dist/_chunks/{color-picker-Bm-gzpsh.js → color-picker-9tL7pz5y.js} +192 -181
  26. package/dist/_chunks/{combobox-Da9eq00i.js → combobox-BC-DFx8G.js} +31 -30
  27. package/dist/_chunks/{command-palette-11BieSNq.js → command-palette-BiPAAno-.js} +125 -123
  28. package/dist/_chunks/{copy-field-BAF4mt9h.js → copy-field-CCq7j6Zc.js} +2 -2
  29. package/dist/_chunks/{date-picker-D0Ry1dMz.js → date-picker-B94HAV4A.js} +4 -4
  30. package/dist/_chunks/{date-range-picker-DYgHzMOo.js → date-range-picker-D4dgDlLU.js} +73 -73
  31. package/dist/_chunks/{date-time-picker-CGmGtcyc.js → date-time-picker-D1GEzf8p.js} +5 -5
  32. package/dist/_chunks/de-Dfbeau59.js +477 -0
  33. package/dist/_chunks/{description-list-CWjnaDGn.js → description-list-BEbK2g93.js} +2 -2
  34. package/dist/_chunks/{dialog-C-lTGVkB.js → dialog-Cee13rHU.js} +3 -3
  35. package/dist/_chunks/{dropdown-menu-DZxwF23X.js → dropdown-menu-BC5ZdOMo.js} +3 -3
  36. package/dist/_chunks/{editable-currency-cell-renderer-CztRy_21.js → editable-currency-cell-renderer-BpicmolK.js} +308 -322
  37. package/dist/_chunks/el-Dro3J7CP.js +373 -0
  38. package/dist/_chunks/{email-input-DvJ_kPKL.js → email-input-lQivsFrw.js} +3 -3
  39. package/dist/_chunks/es-Dvg8u70B.js +373 -0
  40. package/dist/_chunks/{file-upload-DxAQprcU.js → file-upload-CdozCPct.js} +226 -233
  41. package/dist/_chunks/fr-VOGjBSPP.js +338 -0
  42. package/dist/_chunks/{freemium-paywall-B9c8Ylww.js → freemium-paywall-D1N02Oam.js} +4 -4
  43. package/dist/_chunks/{header-DDj7uGD-.js → header-CTZWX-tm.js} +2 -2
  44. package/dist/_chunks/hi-BSDxWU_y.js +433 -0
  45. package/dist/_chunks/{icon-button-DPEqBKBQ.js → icon-button-CKEOrN37.js} +2 -2
  46. package/dist/_chunks/{icon-button-group-DeV3FpNY.js → icon-button-group-C48khLE0.js} +23 -22
  47. package/dist/_chunks/{isSameDay-DHG8Xade.js → isSameDay-DUEiAT0G.js} +2 -2
  48. package/dist/_chunks/isSameWeek-Dfzu29cW.js +14 -0
  49. package/dist/_chunks/it-CuonvcI_.js +401 -0
  50. package/dist/_chunks/ja-DO57gIOT.js +366 -0
  51. package/dist/_chunks/{key-value-pair-BvDY3zuc.js → key-value-pair-C8DaR3Xs.js} +2 -2
  52. package/dist/_chunks/{list-BdvDctBz.js → list-BOwqwy03.js} +44 -43
  53. package/dist/_chunks/{locale-picker-CY89MChR.js → locale-picker-D99UyZVJ.js} +4 -4
  54. package/dist/_chunks/{map-view-DyB8tr6c.js → map-view-WEWqXzof.js} +569 -557
  55. package/dist/_chunks/{message-card-D6iyPacd.js → message-card-BbRhZkDI.js} +3 -3
  56. package/dist/_chunks/{message-tray-Bh-0ra-Y.js → message-tray-B762TKuv.js} +11 -10
  57. package/dist/_chunks/{multi-select-dSe6Xtc4.js → multi-select-DOLO3K_z.js} +26 -25
  58. package/dist/_chunks/{navigation-menu-CyS1fBJ7.js → navigation-menu-C6lBYVv9.js} +3 -3
  59. package/dist/_chunks/nl-DjPaaWaW.js +326 -0
  60. package/dist/_chunks/{notification-card-vaMaA7Wa.js → notification-card-DMdO4g54.js} +2 -2
  61. package/dist/_chunks/{notification-tray-Cnum6LwM.js → notification-tray-Dl3FTleW.js} +17 -16
  62. package/dist/_chunks/{number-input-BZXu6bPY.js → number-input-Dj5L3pXK.js} +2 -2
  63. package/dist/_chunks/{otp-input-BDF_iNpa.js → otp-input-BEg_sn8A.js} +2 -2
  64. package/dist/_chunks/{pagination-BWaXF7W0.js → pagination-DQOgnxxw.js} +2 -2
  65. package/dist/_chunks/{parseISO-Dk4xa7q6.js → parseISO-DEpUNwxZ.js} +2 -2
  66. package/dist/_chunks/{patient-search-ZpHN-pgJ.js → patient-search-hFiYbqcl.js} +8 -8
  67. package/dist/_chunks/{patient-shell-CYaNkbA1.js → patient-shell-CDvMw_Nk.js} +6 -6
  68. package/dist/_chunks/{payment-form-Ds3rxvad.js → payment-form-D5rgnZu7.js} +2 -2
  69. package/dist/_chunks/{pdf-viewer-CIuaocnq.js → pdf-viewer-DvtEHcEP.js} +347 -320
  70. package/dist/_chunks/{phone-input-DKSHX7NQ.js → phone-input-DfZbPPvh.js} +217 -201
  71. package/dist/_chunks/pl-Cl4lOx2N.js +514 -0
  72. package/dist/_chunks/{popover-BfHSBEKq.js → popover-Devce-tT.js} +3 -3
  73. package/dist/_chunks/practice-results-JQunxBIg.js +1618 -0
  74. package/dist/_chunks/{privacy-lock-C6Ra5m3p.js → privacy-lock-DD-wHxBg.js} +3 -3
  75. package/dist/_chunks/{progress-B-PSO5OS.js → progress-kzIRcdaq.js} +11 -10
  76. package/dist/_chunks/pt-D7qO5CzD.js +370 -0
  77. package/dist/_chunks/{public-footer.agent-Bc99tE5Z.js → public-footer.agent-Bh0rnx4i.js} +21 -14
  78. package/dist/_chunks/{public-header.agent-B-B0WDAi.js → public-header.agent-B2dDg2_d.js} +3 -3
  79. package/dist/_chunks/{radio-i4ogu3cq.js → radio-TWf9Q-mp.js} +2 -2
  80. package/dist/_chunks/{radio-group-CTlGc36r.js → radio-group-BcF92GEF.js} +4 -4
  81. package/dist/_chunks/{react-day-picker-D3yzgvDB.js → react-day-picker-DsjfS7uI.js} +662 -615
  82. package/dist/_chunks/recaptcha-widget-CFYyLSEX.js +221 -0
  83. package/dist/_chunks/refresh-cw-CC8jSKMr.js +17 -0
  84. package/dist/_chunks/registry-nPAVE19X.js +21 -0
  85. package/dist/_chunks/{resizable-COV-cnth.js → resizable-3vzqDlg6.js} +29 -28
  86. package/dist/_chunks/{reviews-panel-bKEUKSic.js → reviews-panel-yanuBZs-.js} +4 -4
  87. package/dist/_chunks/{rich-text-editor-J-wAz9eN.js → rich-text-editor-CHmr9Bz8.js} +2 -2
  88. package/dist/_chunks/ro-CP2-VJ_O.js +361 -0
  89. package/dist/_chunks/ru-RPn9_Lpq.js +561 -0
  90. package/dist/_chunks/{scroll-area-DEDU-lp-.js → scroll-area-BWqCkEGz.js} +2 -2
  91. package/dist/_chunks/{search-bar-BRMW1-WG.js → search-bar-CP6wUJFY.js} +3 -3
  92. package/dist/_chunks/{search-input-CIA6pPfn.js → search-input-C1C3jQpD.js} +24 -23
  93. package/dist/_chunks/{select-C92AT_OZ.js → select-hsCaJSX3.js} +3 -3
  94. package/dist/_chunks/{sheet-D8Yl0nKR.js → sheet-BV-yuLE2.js} +3 -3
  95. package/dist/_chunks/{sidebar-DkyC6GvS.js → sidebar-BbR8f6oe.js} +3 -3
  96. package/dist/_chunks/{signature-capture-DjMlFOzS.js → signature-capture-C-fF71xI.js} +213 -205
  97. package/dist/_chunks/{slider-CfEzeseL.js → slider-BHWzXdjt.js} +3 -3
  98. package/dist/_chunks/{slot-grid-Q94gVmhn.js → slot-grid-Dz13dH82.js} +4 -4
  99. package/dist/_chunks/smile-BSYLAHy6.js +17 -0
  100. package/dist/_chunks/{sparkline-B5Ms55PZ.js → sparkline-DEROcSl0.js} +2 -2
  101. package/dist/_chunks/sq-AQvefouo.js +355 -0
  102. package/dist/_chunks/{stepper-progress-jFY8BSf7.js → stepper-progress-DDjq5nei.js} +16 -15
  103. package/dist/_chunks/streaming-text-GH07yIYh.js +127 -0
  104. package/dist/_chunks/sv-zkx9eBtD.js +376 -0
  105. package/dist/_chunks/{switch-D916VW86.js → switch-BJ6HD3Mn.js} +2 -2
  106. package/dist/_chunks/{tabs-aEQfQV3x.js → tabs-BpPYVme_.js} +4 -4
  107. package/dist/_chunks/{tag-bBPAvXyh.js → tag-CyoaEmf_.js} +2 -2
  108. package/dist/_chunks/{task-tray-6NlryfMJ.js → task-tray-DRK0b0Qb.js} +3 -3
  109. package/dist/_chunks/{text-area-D5GAe8pV.js → text-area-BIx0tZ05.js} +27 -26
  110. package/dist/_chunks/{text-input-CakysYnD.js → text-input-BaClJL8Y.js} +2 -2
  111. package/dist/_chunks/{theme-toggle-JoeMs_ws.js → theme-toggle-DpC28kt5.js} +6 -6
  112. package/dist/_chunks/{time-picker-DeVZkIY2.js → time-picker-B5umYwfv.js} +2 -2
  113. package/dist/_chunks/{timeline-CR7HjZCK.js → timeline-D0Wo7v_o.js} +3 -3
  114. package/dist/_chunks/{toast.agent-DVpKt38p.js → toast.agent-WHHfw5VX.js} +322 -320
  115. package/dist/_chunks/{tooltip-ClJd0ciy.js → tooltip-DvmfrNvB.js} +29 -20
  116. package/dist/_chunks/{tooth-scheme-3mITSXiZ.js → tooth-scheme-CxlsLjfN.js} +2 -2
  117. package/dist/_chunks/tr-Dmr412Ac.js +378 -0
  118. package/dist/_chunks/{transaction-chip-z9ENE50O.js → transaction-chip-B8ujzowA.js} +47 -60
  119. package/dist/_chunks/{transcript-panel-QUQ9XJmf.js → transcript-panel-DyhTpAP7.js} +21 -20
  120. package/dist/_chunks/{use-direction-D6rvvG9G.js → use-direction-Dp8h70PP.js} +7 -6
  121. package/dist/_chunks/use-isomorphic-layout-effect-BGfaCOP1.js +6 -0
  122. package/dist/_chunks/use-media-query-CcAx5SMM.js +16 -0
  123. package/dist/_chunks/{use-password-requirements-E0sSfx5X.js → use-password-requirements-DsgduV1x.js} +3 -3
  124. package/dist/_chunks/use-scroll-to-first-error-4Za-u5Nw.js +43 -0
  125. package/dist/_chunks/{workflow-map-DlWBJJBt.js → workflow-map-BSvQS3be.js} +6 -6
  126. package/dist/_chunks/zh-CN-DxVt64Zk.js +388 -0
  127. package/dist/agent/registry.d.ts +1 -6
  128. package/dist/agent-catalog.json +42 -1
  129. package/dist/components/_shared/date-locale.d.ts +7 -2
  130. package/dist/components/_shared/index.d.ts +1 -1
  131. package/dist/components/accordion/index.js +1 -1
  132. package/dist/components/agenda-card/index.js +1 -1
  133. package/dist/components/agenda-tray/index.js +1 -1
  134. package/dist/components/ai-prompt-input/index.js +1 -1
  135. package/dist/components/audio-recorder/index.js +1 -1
  136. package/dist/components/audio-visualiser/index.js +1 -1
  137. package/dist/components/autocomplete/index.js +1 -1
  138. package/dist/components/avatar/index.js +1 -1
  139. package/dist/components/badge/index.js +1 -1
  140. package/dist/components/booking/index.js +1 -1
  141. package/dist/components/breadcrumb/index.js +1 -1
  142. package/dist/components/button/index.js +1 -1
  143. package/dist/components/button-group/index.js +1 -1
  144. package/dist/components/calendar/index.js +1 -1
  145. package/dist/components/carousel/index.js +1 -1
  146. package/dist/components/chart/index.js +1 -1
  147. package/dist/components/chat-container/index.js +1 -1
  148. package/dist/components/chat-input/index.js +1 -1
  149. package/dist/components/chat-message/index.js +1 -1
  150. package/dist/components/checkbox/index.js +1 -1
  151. package/dist/components/checkbox-group/index.js +1 -1
  152. package/dist/components/collapsible/index.js +1 -1
  153. package/dist/components/color-picker/index.js +1 -1
  154. package/dist/components/combobox/index.js +1 -1
  155. package/dist/components/command-palette/index.js +1 -1
  156. package/dist/components/copy-field/index.js +1 -1
  157. package/dist/components/data-table/index.js +1 -1
  158. package/dist/components/date-picker/index.js +1 -1
  159. package/dist/components/date-range-picker/index.js +1 -1
  160. package/dist/components/date-time-picker/index.js +1 -1
  161. package/dist/components/description-list/index.js +1 -1
  162. package/dist/components/dialog/index.js +1 -1
  163. package/dist/components/dropdown-menu/index.js +1 -1
  164. package/dist/components/email-input/index.js +1 -1
  165. package/dist/components/file-upload/index.js +1 -1
  166. package/dist/components/freemium-paywall/index.js +1 -1
  167. package/dist/components/header/index.js +1 -1
  168. package/dist/components/header-settings/index.js +6 -6
  169. package/dist/components/icon-button/index.js +1 -1
  170. package/dist/components/icon-button-group/index.js +1 -1
  171. package/dist/components/index.d.ts +1 -0
  172. package/dist/components/key-value-pair/index.js +1 -1
  173. package/dist/components/list/index.js +1 -1
  174. package/dist/components/locale-picker/index.js +1 -1
  175. package/dist/components/map-view/index.js +1 -1
  176. package/dist/components/map-view/map-view.d.ts +10 -0
  177. package/dist/components/message-card/index.js +1 -1
  178. package/dist/components/message-tray/index.js +1 -1
  179. package/dist/components/multi-select/index.js +1 -1
  180. package/dist/components/navigation-menu/index.js +1 -1
  181. package/dist/components/notification-card/index.js +1 -1
  182. package/dist/components/notification-tray/index.js +1 -1
  183. package/dist/components/number-input/index.js +1 -1
  184. package/dist/components/otp-input/index.js +1 -1
  185. package/dist/components/pagination/index.js +1 -1
  186. package/dist/components/password-input/index.js +1 -1
  187. package/dist/components/patient-search/index.js +1 -1
  188. package/dist/components/payment-form/index.js +1 -1
  189. package/dist/components/pdf-viewer/index.js +1 -1
  190. package/dist/components/phone-input/index.js +1 -1
  191. package/dist/components/popover/index.js +1 -1
  192. package/dist/components/practice-results/index.d.ts +4 -0
  193. package/dist/components/practice-results/index.js +6 -0
  194. package/dist/components/practice-results/practice-results.agent.d.ts +4 -0
  195. package/dist/components/practice-results/practice-results.d.ts +159 -0
  196. package/dist/components/privacy-lock/index.js +1 -1
  197. package/dist/components/progress/index.js +1 -1
  198. package/dist/components/public-footer/index.js +1 -1
  199. package/dist/components/public-header/index.js +1 -1
  200. package/dist/components/radio/index.js +1 -1
  201. package/dist/components/radio-group/index.js +2 -2
  202. package/dist/components/recaptcha-widget/index.js +1 -1
  203. package/dist/components/resizable/index.js +1 -1
  204. package/dist/components/reviews-panel/index.js +1 -1
  205. package/dist/components/rich-text-editor/index.js +1 -1
  206. package/dist/components/scroll-area/index.js +1 -1
  207. package/dist/components/search-bar/index.js +1 -1
  208. package/dist/components/search-input/index.js +1 -1
  209. package/dist/components/select/index.js +1 -1
  210. package/dist/components/sheet/index.js +1 -1
  211. package/dist/components/sidebar/index.js +1 -1
  212. package/dist/components/signature-capture/index.js +1 -1
  213. package/dist/components/slider/index.js +1 -1
  214. package/dist/components/slot-grid/index.js +1 -1
  215. package/dist/components/sparkline/index.js +1 -1
  216. package/dist/components/stepper-progress/index.js +1 -1
  217. package/dist/components/streaming-text/index.js +1 -1
  218. package/dist/components/switch/index.js +1 -1
  219. package/dist/components/tabs/index.js +1 -1
  220. package/dist/components/tag/index.js +1 -1
  221. package/dist/components/task-tray/index.js +1 -1
  222. package/dist/components/text-area/index.js +1 -1
  223. package/dist/components/text-input/index.js +1 -1
  224. package/dist/components/theme-toggle/index.js +1 -1
  225. package/dist/components/time-picker/index.js +1 -1
  226. package/dist/components/timeline/index.js +1 -1
  227. package/dist/components/toast/index.js +1 -1
  228. package/dist/components/tooltip/index.js +1 -1
  229. package/dist/components/tooth-scheme/index.js +1 -1
  230. package/dist/components/transaction-chip/index.js +1 -1
  231. package/dist/components/transcript-panel/index.js +1 -1
  232. package/dist/components/workflow/index.js +1 -1
  233. package/dist/hooks/index.js +69 -66
  234. package/dist/i18n/locales/ar.d.ts +92 -0
  235. package/dist/i18n/locales/ar.js +82 -0
  236. package/dist/i18n/locales/de.d.ts +92 -0
  237. package/dist/i18n/locales/de.js +81 -0
  238. package/dist/i18n/locales/el.d.ts +92 -0
  239. package/dist/i18n/locales/el.js +82 -0
  240. package/dist/i18n/locales/en.d.ts +92 -0
  241. package/dist/i18n/locales/en.js +92 -0
  242. package/dist/i18n/locales/es.d.ts +92 -0
  243. package/dist/i18n/locales/es.js +81 -0
  244. package/dist/i18n/locales/fr.d.ts +92 -0
  245. package/dist/i18n/locales/fr.js +81 -0
  246. package/dist/i18n/locales/hi.d.ts +92 -0
  247. package/dist/i18n/locales/hi.js +82 -0
  248. package/dist/i18n/locales/it.d.ts +92 -0
  249. package/dist/i18n/locales/it.js +81 -0
  250. package/dist/i18n/locales/ja.d.ts +92 -0
  251. package/dist/i18n/locales/ja.js +82 -0
  252. package/dist/i18n/locales/nl.d.ts +92 -0
  253. package/dist/i18n/locales/nl.js +81 -0
  254. package/dist/i18n/locales/pl.d.ts +92 -0
  255. package/dist/i18n/locales/pl.js +82 -0
  256. package/dist/i18n/locales/pt.d.ts +92 -0
  257. package/dist/i18n/locales/pt.js +83 -0
  258. package/dist/i18n/locales/ro.d.ts +92 -0
  259. package/dist/i18n/locales/ro.js +82 -0
  260. package/dist/i18n/locales/ru.d.ts +92 -0
  261. package/dist/i18n/locales/ru.js +82 -0
  262. package/dist/i18n/locales/sq.d.ts +92 -0
  263. package/dist/i18n/locales/sq.js +82 -0
  264. package/dist/i18n/locales/sv.d.ts +92 -0
  265. package/dist/i18n/locales/sv.js +82 -0
  266. package/dist/i18n/locales/tr.d.ts +92 -0
  267. package/dist/i18n/locales/tr.js +82 -0
  268. package/dist/i18n/locales/zh.d.ts +92 -0
  269. package/dist/i18n/locales/zh.js +82 -0
  270. package/dist/index.js +532 -528
  271. package/dist/locales/ar.json +92 -0
  272. package/dist/locales/de.json +92 -0
  273. package/dist/locales/el.json +92 -0
  274. package/dist/locales/en.json +92 -0
  275. package/dist/locales/es.json +92 -0
  276. package/dist/locales/fr.json +92 -0
  277. package/dist/locales/hi.json +92 -0
  278. package/dist/locales/it.json +92 -0
  279. package/dist/locales/ja.json +92 -0
  280. package/dist/locales/nl.json +92 -0
  281. package/dist/locales/pl.json +92 -0
  282. package/dist/locales/pt.json +92 -0
  283. package/dist/locales/ro.json +92 -0
  284. package/dist/locales/ru.json +92 -0
  285. package/dist/locales/sq.json +92 -0
  286. package/dist/locales/sv.json +92 -0
  287. package/dist/locales/tr.json +92 -0
  288. package/dist/locales/zh.json +92 -0
  289. package/dist/patterns/alia-assistant/index.js +1 -1
  290. package/dist/patterns/patient-shell/index.js +1 -1
  291. package/dist/tokens.css +1 -1
  292. package/package.json +5 -2
  293. package/dist/_chunks/audio-visualiser-I-T4Z7EU.js +0 -145
  294. package/dist/_chunks/recaptcha-widget-BtBNb6tB.js +0 -192
  295. package/dist/_chunks/registry-C9nwlNyL.js +0 -21
  296. package/dist/_chunks/streaming-text-BgjCTVOw.js +0 -105
  297. package/dist/_chunks/use-scroll-to-first-error-BrK7dKB_.js +0 -55
@@ -1,17 +1,18 @@
1
- import { jsxs as f, jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as ke, useContext as Pe, useMemo as m, useState as P, useRef as $, useEffect as Ve, useLayoutEffect as Fe, useCallback as se } from "react";
3
- import * as V from "@radix-ui/react-popover";
4
- import { R as Ee, _ as b } from "./index-4xgbg-sn.js";
5
- import { c as H } from "./index-D2ZczOXr.js";
6
- import { useTranslation as je } from "react-i18next";
7
- import { getCountries as Be, parsePhoneNumberFromString as F, AsYouType as M, getCountryCallingCode as De } from "libphonenumber-js/min";
8
- import { u as Te, F as Ae } from "./form-field-context-B3APVHKx.js";
9
- import { c as Le } from "./compose-refs-C0k0tdqF.js";
10
- import { n as q } from "./normalize-diacritics-BNGbFNlJ.js";
11
- import { a as ne } from "./flag-DZ6V7-hU.js";
12
- import { u as Ke } from "./registry-C9nwlNyL.js";
13
- import { C as $e } from "./chevron-down-BX_NP2Yh.js";
14
- const Me = {
1
+ import { jsxs as m, jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as Fe, useContext as Ee, useMemo as h, useState as E, useRef as j, useEffect as ne, useCallback as oe } from "react";
3
+ import { u as je } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
4
+ import * as D from "@radix-ui/react-popover";
5
+ import { R as De, _ as y } from "./index-4xgbg-sn.js";
6
+ import { c as G } from "./index-D2ZczOXr.js";
7
+ import { useTranslation as Te } from "react-i18next";
8
+ import { getCountries as Ae, parsePhoneNumberFromString as T, AsYouType as H, getCountryCallingCode as Be } from "libphonenumber-js/min";
9
+ import { u as Le, F as Ke } from "./form-field-context-B3APVHKx.js";
10
+ import { c as $e } from "./compose-refs-C0k0tdqF.js";
11
+ import { n as _ } from "./normalize-diacritics-BNGbFNlJ.js";
12
+ import { a as re } from "./flag-DZ6V7-hU.js";
13
+ import { u as Me } from "./registry-nPAVE19X.js";
14
+ import { C as qe } from "./chevron-down-BX_NP2Yh.js";
15
+ const He = {
15
16
  id: "phone-input",
16
17
  capabilities: ["edit_inline"],
17
18
  state: {
@@ -34,8 +35,8 @@ const Me = {
34
35
  argsType: "{ value: string }",
35
36
  descriptionKey: "ui.agent.phoneInput.actions.setValue",
36
37
  description: "Replace the phone number (E.164 or national format; parser will infer country).",
37
- invoke: (n, r) => {
38
- n.setValue(r.value);
38
+ invoke: (n, a) => {
39
+ n.setValue(a.value);
39
40
  }
40
41
  },
41
42
  clear: {
@@ -67,7 +68,7 @@ const Me = {
67
68
  description: "Sourced from the id prop."
68
69
  }
69
70
  }
70
- }, qe = H(
71
+ }, _e = G(
71
72
  [
72
73
  "ds:group ds:relative ds:inline-flex ds:items-stretch ds:w-full",
73
74
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-input",
@@ -96,7 +97,7 @@ const Me = {
96
97
  tone: "default"
97
98
  }
98
99
  }
99
- ), He = H(
100
+ ), Ge = G(
100
101
  [
101
102
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
102
103
  "ds:bg-transparent ds:text-foreground",
@@ -120,7 +121,7 @@ const Me = {
120
121
  },
121
122
  defaultVariants: { size: "md" }
122
123
  }
123
- ), _e = H(
124
+ ), Oe = G(
124
125
  [
125
126
  "ds:flex-1 ds:min-w-0 ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
126
127
  "ds:border-0 ds:outline-none",
@@ -137,7 +138,7 @@ const Me = {
137
138
  },
138
139
  defaultVariants: { size: "md" }
139
140
  }
140
- ), Ge = [
141
+ ), Ue = [
141
142
  "ds:z-[var(--z-popover)] ds:overflow-hidden ds:w-72",
142
143
  "ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
143
144
  "ds:shadow-[var(--shadow-lg)]",
@@ -147,230 +148,245 @@ const Me = {
147
148
  "ds:data-[side=bottom]:slide-in-from-top-2",
148
149
  "ds:data-[side=top]:slide-in-from-bottom-2",
149
150
  "ds:motion-reduce:animate-none"
150
- ].join(" "), Oe = [
151
+ ].join(" "), We = [
151
152
  "ds:w-full ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
152
153
  "ds:border-0 ds:border-b ds:border-b-border ds:outline-none",
153
154
  "ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]",
154
155
  "ds:focus:outline-none"
155
- ].join(" "), Ue = "ds:max-h-72 ds:overflow-y-auto ds:p-[var(--spacing-xs)]", We = [
156
+ ].join(" "), Ye = "ds:max-h-72 ds:overflow-y-auto ds:p-[var(--spacing-xs)]", Ze = [
156
157
  "ds:relative ds:flex ds:cursor-pointer ds:items-center ds:gap-[var(--spacing-sm)]",
157
158
  "ds:rounded-[var(--radius-sm)] ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]",
158
159
  "ds:text-foreground ds:outline-none ds:select-none",
159
160
  "ds:data-[highlighted]:bg-muted ds:data-[highlighted]:text-foreground",
160
161
  "ds:data-[highlighted]:border-s-2 ds:data-[highlighted]:border-s-primary",
161
162
  "ds:aria-selected:bg-muted"
162
- ].join(" "), oe = [
163
+ ].join(" "), ae = [
163
164
  "ds:ps-3 ds:pe-3 ds:py-1.5",
164
165
  "type-eyebrow ds:text-muted-foreground"
165
- ].join(" "), Ye = "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", Ze = {
166
+ ].join(" "), Je = "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", Qe = {
166
167
  sm: "ds:size-3.5",
167
168
  md: "ds:size-4",
168
169
  lg: "ds:size-5"
169
- }, re = {
170
+ }, ie = {
170
171
  sm: "sm",
171
172
  md: "md",
172
173
  lg: "lg"
173
174
  };
174
- function Je(n, r) {
175
+ function Xe(n, a) {
175
176
  let d = 0;
176
- for (let a = 0; a < r && a < n.length; a++)
177
- n[a] >= "0" && n[a] <= "9" && d++;
177
+ for (let o = 0; o < a && o < n.length; o++)
178
+ n[o] >= "0" && n[o] <= "9" && d++;
178
179
  return d;
179
180
  }
180
- function Qe(n, r) {
181
- if (r === 0) return 0;
181
+ function et(n, a) {
182
+ if (a === 0) return 0;
182
183
  let d = 0;
183
- for (let a = 0; a < n.length; a++)
184
- if (n[a] >= "0" && n[a] <= "9" && (d++, d === r))
185
- return a + 1;
184
+ for (let o = 0; o < n.length; o++)
185
+ if (n[o] >= "0" && n[o] <= "9" && (d++, d === a))
186
+ return o + 1;
186
187
  return n.length;
187
188
  }
188
- function Xe(n, r, d, a) {
189
- if (n && r.has(n)) return n;
189
+ function de(n, a, d, o) {
190
+ if (n && a.has(n)) return n;
190
191
  if (d) {
191
- const y = typeof navigator < "u" ? navigator.language : void 0;
192
- if (y) {
193
- const o = y.match(/-([A-Za-z]{2})/);
194
- if (o) {
195
- const u = o[1].toUpperCase();
196
- if (r.has(u)) return u;
192
+ const f = typeof navigator < "u" ? navigator.language : void 0;
193
+ if (f) {
194
+ const r = f.match(/-([A-Za-z]{2})/);
195
+ if (r) {
196
+ const u = r[1].toUpperCase();
197
+ if (a.has(u)) return u;
197
198
  }
198
199
  }
199
200
  try {
200
- const o = new Intl.Locale(a).region;
201
- if (o && r.has(o.toUpperCase()))
202
- return o.toUpperCase();
201
+ const r = new Intl.Locale(o).region;
202
+ if (r && a.has(r.toUpperCase()))
203
+ return r.toUpperCase();
203
204
  } catch {
204
205
  }
205
206
  }
206
207
  return "IT";
207
208
  }
208
- function et(n, r) {
209
+ function tt(n, a) {
209
210
  let d;
210
211
  try {
211
212
  d = new Intl.DisplayNames([n], { type: "region" });
212
213
  } catch {
213
214
  d = new Intl.DisplayNames(["en"], { type: "region" });
214
215
  }
215
- const a = r.map((o) => ({
216
- code: o,
217
- name: d.of(o) ?? o,
218
- dialCode: De(o)
219
- })), y = new Intl.Collator(n);
220
- return a.sort((o, u) => y.compare(o.name, u.name));
216
+ const o = a.map((r) => ({
217
+ code: r,
218
+ name: d.of(r) ?? r,
219
+ dialCode: Be(r)
220
+ })), f = new Intl.Collator(n);
221
+ return o.sort((r, u) => f.compare(r.name, u.name));
221
222
  }
222
- const tt = ke(
223
+ const st = Fe(
223
224
  function({
224
- value: r,
225
+ value: a,
225
226
  defaultValue: d,
226
- defaultCountry: a,
227
- detectBrowserCountry: y = !1,
228
- onChange: o,
227
+ defaultCountry: o,
228
+ detectBrowserCountry: f = !1,
229
+ onChange: r,
229
230
  size: u = "md",
230
- tone: ae = "default",
231
- disabled: ie,
232
- readOnly: _,
233
- placeholder: de,
234
- popularCountries: I,
235
- className: le,
236
- id: E,
237
- name: ce,
238
- required: ue,
239
- "aria-label": pe
240
- }, fe) {
241
- const { t: v, i18n: j } = je(), C = Te(), x = Pe(Ae) !== null, z = m(
242
- () => new Set(Be()),
231
+ tone: le = "default",
232
+ disabled: ce,
233
+ readOnly: O,
234
+ placeholder: ue,
235
+ popularCountries: R,
236
+ className: pe,
237
+ id: A,
238
+ name: fe,
239
+ required: me,
240
+ "aria-label": he
241
+ }, ge) {
242
+ const { t: C, i18n: z } = Te(), x = Le(), N = Ee(Ke) !== null, g = h(
243
+ () => new Set(Ae()),
243
244
  []
244
- ), G = m(() => {
245
- const e = Xe(
246
- a,
247
- z,
248
- y,
249
- j.language
250
- ), t = r ?? d;
245
+ ), B = h(() => {
246
+ const e = de(
247
+ o,
248
+ g,
249
+ f,
250
+ z.language
251
+ ), t = a ?? d;
251
252
  if (t) {
252
- const s = F(t);
253
+ const s = T(t);
253
254
  return s != null && s.country ? {
254
255
  country: s.country,
255
- display: s.formatNational()
256
- } : { country: e, display: t };
256
+ display: s.formatNational(),
257
+ pinned: !0
258
+ } : { country: e, display: t, pinned: !1 };
257
259
  }
258
- return { country: e, display: "" };
259
- }, []), [l, B] = P(G.country), [O, p] = P(
260
- G.display
261
- ), [D, T] = P(!1), [me, U] = P(""), W = r !== void 0, A = $(""), R = $(null), S = $(null), he = Le(fe, S);
262
- Ve(() => {
263
- if (!W) return;
264
- const e = r ?? "";
265
- if (e === A.current) return;
260
+ return { country: e, display: "", pinned: !1 };
261
+ }, []), [l, S] = E(B.country), [U, p] = E(
262
+ B.display
263
+ ), [L, K] = E(!1), [be, W] = E(""), Y = a !== void 0, $ = j(""), k = j(null), P = j(B.pinned), V = j(null), ve = $e(ge, V);
264
+ ne(() => {
265
+ if (P.current) return;
266
+ const e = de(
267
+ o,
268
+ g,
269
+ f,
270
+ z.language
271
+ );
272
+ S((t) => t === e ? t : e);
273
+ }, [
274
+ z.language,
275
+ o,
276
+ g,
277
+ f
278
+ ]), ne(() => {
279
+ if (!Y) return;
280
+ const e = a ?? "";
281
+ if (e === $.current) return;
266
282
  if (e === "") {
267
283
  p("");
268
284
  return;
269
285
  }
270
- const t = F(e);
271
- t != null && t.country ? (B(t.country), p(t.formatNational())) : p(e);
272
- }, [r, W]), Fe(() => {
273
- if (R.current == null) return;
274
- const e = R.current;
275
- R.current = null;
276
- const t = S.current;
286
+ const t = T(e);
287
+ t != null && t.country ? (P.current = !0, S(t.country), p(t.formatNational())) : p(e);
288
+ }, [a, Y]), je(() => {
289
+ if (k.current == null) return;
290
+ const e = k.current;
291
+ k.current = null;
292
+ const t = V.current;
277
293
  t && document.activeElement === t && t.setSelectionRange(e, e);
278
294
  });
279
- const h = se(
295
+ const b = oe(
280
296
  (e, t) => {
281
- const s = F(e, t), c = (s == null ? void 0 : s.number) ?? "";
282
- A.current = c, o == null || o(c, {
297
+ const s = T(e, t), c = (s == null ? void 0 : s.number) ?? "";
298
+ $.current = c, r == null || r(c, {
283
299
  country: t,
284
300
  isValid: (s == null ? void 0 : s.isValid()) ?? !1,
285
301
  isPossible: (s == null ? void 0 : s.isPossible()) ?? !1,
286
302
  type: s == null ? void 0 : s.getType()
287
303
  });
288
304
  },
289
- [o]
290
- ), ge = E ?? (x ? C.id : void 0), Y = (x ? C.disabled : !1) || !!ie, be = (x ? C.required : !1) || !!ue, Z = x ? C.invalid : !1, ye = Z ? "error" : ae, ve = x && C.describedBy ? C.describedBy : void 0, Ce = de ?? v("inputs.phone.placeholder", "Phone number"), we = (e) => {
291
- if (_) return;
292
- const t = e.target, s = t.value, c = t.selectionStart ?? s.length, w = Je(s, c), K = new M(l).input(s);
293
- R.current = Qe(K, w), p(K), h(K, l);
294
- }, J = A, xe = m(
305
+ [r]
306
+ ), ye = A ?? (N ? x.id : void 0), Z = (N ? x.disabled : !1) || !!ce, Ce = (N ? x.required : !1) || !!me, J = N ? x.invalid : !1, xe = J ? "error" : le, we = N && x.describedBy ? x.describedBy : void 0, ze = ue ?? C("inputs.phone.placeholder", "Phone number"), Ne = (e) => {
307
+ if (O) return;
308
+ const t = e.target, s = t.value, c = t.selectionStart ?? s.length, w = Xe(s, c), q = new H(l).input(s);
309
+ k.current = et(q, w), p(q), b(q, l);
310
+ }, Q = $, Ie = h(
295
311
  () => ({
296
- getValue: () => J.current,
312
+ getValue: () => Q.current,
297
313
  setValue: (e) => {
298
314
  if (e === "") {
299
- p(""), h("", l);
315
+ p(""), b("", l);
300
316
  return;
301
317
  }
302
- const t = F(e);
318
+ const t = T(e);
303
319
  if (t != null && t.country)
304
- B(t.country), p(t.formatNational()), h(t.formatNational(), t.country);
320
+ P.current = !0, S(t.country), p(t.formatNational()), b(t.formatNational(), t.country);
305
321
  else {
306
- const c = new M(l).input(e);
307
- p(c), h(c, l);
322
+ const c = new H(l).input(e);
323
+ p(c), b(c, l);
308
324
  }
309
325
  },
310
326
  clear: () => {
311
- p(""), h("", l);
327
+ p(""), b("", l);
312
328
  },
313
329
  focus: () => {
314
330
  var e;
315
- return (e = S.current) == null ? void 0 : e.focus();
331
+ return (e = V.current) == null ? void 0 : e.focus();
316
332
  }
317
333
  }),
318
- [l, h, J]
334
+ [l, b, Q]
319
335
  );
320
- Ke(Me, xe, E);
321
- const ze = (e) => {
336
+ Me(He, Ie, A);
337
+ const Re = (e) => {
322
338
  if (e === l) {
323
- T(!1);
339
+ K(!1);
324
340
  return;
325
341
  }
326
- const t = O.replace(/\D/g, ""), s = new M(e), c = t ? s.input(t) : "";
327
- B(e), p(c), T(!1), U(""), h(c, e), requestAnimationFrame(() => {
342
+ const t = U.replace(/\D/g, ""), s = new H(e), c = t ? s.input(t) : "";
343
+ P.current = !0, S(e), p(c), K(!1), W(""), b(c, e), requestAnimationFrame(() => {
328
344
  var w;
329
- (w = S.current) == null || w.focus();
345
+ (w = V.current) == null || w.focus();
330
346
  });
331
- }, g = m(
332
- () => et(
333
- j.language,
334
- Array.from(z)
347
+ }, v = h(
348
+ () => tt(
349
+ z.language,
350
+ Array.from(g)
335
351
  ),
336
- [j.language, z]
337
- ), N = m(() => {
338
- if (!I || I.length === 0) return [];
339
- const e = new Map(g.map((t) => [t.code, t]));
340
- return I.filter((t) => z.has(t)).map((t) => e.get(t)).filter((t) => !!t);
341
- }, [I, g, z]), L = m(
342
- () => new Set(N.map((e) => e.code)),
343
- [N]
344
- ), Ne = m(
345
- () => L.size > 0 ? g.filter((e) => !L.has(e.code)) : g,
346
- [g, L]
347
- ), k = m(
348
- () => g.find((e) => e.code === l),
349
- [g, l]
350
- ), Q = k ? k.dialCode : "", Ie = k ? k.name : l, X = v("inputs.phone.countryPickerLabel", "Country"), Re = `${X}: ${Ie}, +${Q}`, Se = se(
352
+ [z.language, g]
353
+ ), I = h(() => {
354
+ if (!R || R.length === 0) return [];
355
+ const e = new Map(v.map((t) => [t.code, t]));
356
+ return R.filter((t) => g.has(t)).map((t) => e.get(t)).filter((t) => !!t);
357
+ }, [R, v, g]), M = h(
358
+ () => new Set(I.map((e) => e.code)),
359
+ [I]
360
+ ), Se = h(
361
+ () => M.size > 0 ? v.filter((e) => !M.has(e.code)) : v,
362
+ [v, M]
363
+ ), F = h(
364
+ () => v.find((e) => e.code === l),
365
+ [v, l]
366
+ ), X = F ? F.dialCode : "", ke = F ? F.name : l, ee = C("inputs.phone.countryPickerLabel", "Country"), Pe = `${ee}: ${ke}, +${X}`, Ve = oe(
351
367
  (e, t, s) => {
352
- const c = q(e), w = q(t), te = s == null ? void 0 : s.map(q);
353
- return Ee(
368
+ const c = _(e), w = _(t), se = s == null ? void 0 : s.map(_);
369
+ return De(
354
370
  c,
355
371
  w,
356
- te
372
+ se
357
373
  );
358
374
  },
359
375
  []
360
- ), ee = (e) => {
376
+ ), te = (e) => {
361
377
  const t = `${e.name}, +${e.dialCode}`;
362
- return /* @__PURE__ */ f(
363
- b.Item,
378
+ return /* @__PURE__ */ m(
379
+ y.Item,
364
380
  {
365
381
  value: e.code,
366
382
  keywords: [e.name, e.dialCode, `+${e.dialCode}`],
367
- onSelect: () => ze(e.code),
368
- className: We,
383
+ onSelect: () => Re(e.code),
384
+ className: Ze,
369
385
  "aria-label": t,
370
386
  children: [
371
- /* @__PURE__ */ i(ne, { country: e.code, size: re[u] }),
387
+ /* @__PURE__ */ i(re, { country: e.code, size: ie[u] }),
372
388
  /* @__PURE__ */ i("span", { className: "ds:flex-1 ds:truncate", children: e.name }),
373
- /* @__PURE__ */ f("bdi", { dir: "ltr", className: "ds:text-muted-foreground ds:tabular-nums", children: [
389
+ /* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:text-muted-foreground ds:tabular-nums", children: [
374
390
  "+",
375
391
  e.dialCode
376
392
  ] })
@@ -379,62 +395,62 @@ const tt = ke(
379
395
  e.code
380
396
  );
381
397
  };
382
- return /* @__PURE__ */ f(
398
+ return /* @__PURE__ */ m(
383
399
  "div",
384
400
  {
385
401
  "data-component": "phone-input",
386
- "data-component-id": E,
402
+ "data-component-id": A,
387
403
  "data-slot": "phone-input",
388
- className: qe({
404
+ className: _e({
389
405
  size: u,
390
- tone: ye,
391
- className: le
406
+ tone: xe,
407
+ className: pe
392
408
  }),
393
409
  children: [
394
- /* @__PURE__ */ f(V.Root, { open: D, onOpenChange: T, children: [
395
- /* @__PURE__ */ i(V.Trigger, { asChild: !0, children: /* @__PURE__ */ f(
410
+ /* @__PURE__ */ m(D.Root, { open: L, onOpenChange: K, children: [
411
+ /* @__PURE__ */ i(D.Trigger, { asChild: !0, children: /* @__PURE__ */ m(
396
412
  "button",
397
413
  {
398
414
  type: "button",
399
- disabled: Y,
415
+ disabled: Z,
400
416
  "aria-haspopup": "listbox",
401
- "aria-expanded": D,
402
- "aria-label": Re,
403
- className: He({ size: u }),
417
+ "aria-expanded": L,
418
+ "aria-label": Pe,
419
+ className: Ge({ size: u }),
404
420
  children: [
405
- /* @__PURE__ */ i(ne, { country: l, size: re[u] }),
406
- /* @__PURE__ */ f("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
421
+ /* @__PURE__ */ i(re, { country: l, size: ie[u] }),
422
+ /* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
407
423
  "+",
408
- Q
424
+ X
409
425
  ] }),
410
426
  /* @__PURE__ */ i(
411
- $e,
427
+ qe,
412
428
  {
413
429
  "aria-hidden": "true",
414
430
  className: [
415
- Ze[u],
431
+ Qe[u],
416
432
  "ds:shrink-0 ds:text-muted-foreground",
417
433
  "ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
418
- D ? "ds:rotate-180" : ""
434
+ L ? "ds:rotate-180" : ""
419
435
  ].join(" ")
420
436
  }
421
437
  )
422
438
  ]
423
439
  }
424
440
  ) }),
425
- /* @__PURE__ */ i(V.Portal, { children: /* @__PURE__ */ i(
426
- V.Content,
441
+ /* @__PURE__ */ i(D.Portal, { children: /* @__PURE__ */ i(
442
+ D.Content,
427
443
  {
428
444
  sideOffset: 6,
429
445
  align: "start",
430
- className: Ge,
431
- children: /* @__PURE__ */ f(b, { filter: Se, shouldFilter: !0, loop: !0, label: X, children: [
446
+ className: Ue,
447
+ children: /* @__PURE__ */ m(y, { filter: Ve, shouldFilter: !0, loop: !0, label: ee, children: [
432
448
  /* @__PURE__ */ i(
433
- b.Input,
449
+ y.Input,
434
450
  {
435
451
  asChild: !0,
436
- value: me,
437
- onValueChange: U,
452
+ value: be,
453
+ onValueChange: W,
438
454
  children: /* @__PURE__ */ i(
439
455
  "input",
440
456
  {
@@ -443,29 +459,29 @@ const tt = ke(
443
459
  autoComplete: "off",
444
460
  autoCorrect: "off",
445
461
  spellCheck: !1,
446
- placeholder: v(
462
+ placeholder: C(
447
463
  "inputs.phone.searchCountry",
448
464
  "Search countries…"
449
465
  ),
450
- className: Oe
466
+ className: We
451
467
  }
452
468
  )
453
469
  }
454
470
  ),
455
- /* @__PURE__ */ f(b.List, { className: Ue, children: [
456
- /* @__PURE__ */ i(b.Empty, { className: Ye, children: v("inputs.phone.noCountryFound", "No country found") }),
457
- N.length > 0 ? /* @__PURE__ */ i(
458
- b.Group,
471
+ /* @__PURE__ */ m(y.List, { className: Ye, children: [
472
+ /* @__PURE__ */ i(y.Empty, { className: Je, children: C("inputs.phone.noCountryFound", "No country found") }),
473
+ I.length > 0 ? /* @__PURE__ */ i(
474
+ y.Group,
459
475
  {
460
- heading: /* @__PURE__ */ i("span", { className: oe, children: v("inputs.phone.popularCountries", "Popular") }),
461
- children: N.map(ee)
476
+ heading: /* @__PURE__ */ i("span", { className: ae, children: C("inputs.phone.popularCountries", "Popular") }),
477
+ children: I.map(te)
462
478
  }
463
479
  ) : null,
464
480
  /* @__PURE__ */ i(
465
- b.Group,
481
+ y.Group,
466
482
  {
467
- heading: N.length > 0 ? /* @__PURE__ */ i("span", { className: oe, children: v("inputs.phone.allCountries", "All countries") }) : void 0,
468
- children: Ne.map(ee)
483
+ heading: I.length > 0 ? /* @__PURE__ */ i("span", { className: ae, children: C("inputs.phone.allCountries", "All countries") }) : void 0,
484
+ children: Se.map(te)
469
485
  }
470
486
  )
471
487
  ] })
@@ -476,22 +492,22 @@ const tt = ke(
476
492
  /* @__PURE__ */ i(
477
493
  "input",
478
494
  {
479
- ref: he,
480
- id: ge,
481
- name: ce,
495
+ ref: ve,
496
+ id: ye,
497
+ name: fe,
482
498
  type: "tel",
483
499
  inputMode: "tel",
484
500
  autoComplete: "tel-national",
485
- value: O,
486
- placeholder: Ce,
487
- disabled: Y,
488
- readOnly: _,
489
- required: be,
490
- "aria-label": pe,
491
- "aria-describedby": ve,
492
- "aria-invalid": Z || void 0,
493
- onChange: we,
494
- className: _e({ size: u })
501
+ value: U,
502
+ placeholder: ze,
503
+ disabled: Z,
504
+ readOnly: O,
505
+ required: Ce,
506
+ "aria-label": he,
507
+ "aria-describedby": we,
508
+ "aria-invalid": J || void 0,
509
+ onChange: Ne,
510
+ className: Oe({ size: u })
495
511
  }
496
512
  )
497
513
  ]
@@ -499,11 +515,11 @@ const tt = ke(
499
515
  );
500
516
  }
501
517
  );
502
- tt.displayName = "PhoneInput";
518
+ st.displayName = "PhoneInput";
503
519
  export {
504
- tt as P,
505
- _e as a,
506
- He as c,
507
- qe as p
520
+ st as P,
521
+ Oe as a,
522
+ Ge as c,
523
+ _e as p
508
524
  };
509
- //# sourceMappingURL=phone-input-DKSHX7NQ.js.map
525
+ //# sourceMappingURL=phone-input-DfZbPPvh.js.map