@alfadocs/ui-kit-debug 0.1.8 → 0.1.9

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 (742) hide show
  1. package/dist/_chunks/{accordion-B6fyINUk.js → accordion-BEnrZmAn.js} +34 -32
  2. package/dist/_chunks/accordion-BEnrZmAn.js.map +1 -0
  3. package/dist/_chunks/accordion.agent-BTjeO1Sx.js +52 -0
  4. package/dist/_chunks/accordion.agent-BTjeO1Sx.js.map +1 -0
  5. package/dist/_chunks/{agenda-card-DIWDvWum.js → agenda-card-DwLIxgi7.js} +2 -1
  6. package/dist/_chunks/{agenda-card-DIWDvWum.js.map → agenda-card-DwLIxgi7.js.map} +1 -1
  7. package/dist/_chunks/agenda-card.agent-B_R47-c9.js +22 -0
  8. package/dist/_chunks/agenda-card.agent-B_R47-c9.js.map +1 -0
  9. package/dist/_chunks/agenda-tray-DUvengGQ.js +178 -0
  10. package/dist/_chunks/agenda-tray-DUvengGQ.js.map +1 -0
  11. package/dist/_chunks/ai-prompt-input.agent-0NHYLTWD.js +476 -0
  12. package/dist/_chunks/ai-prompt-input.agent-0NHYLTWD.js.map +1 -0
  13. package/dist/_chunks/{aspect-ratio-CxsdG8vk.js → aspect-ratio-DeSNzASA.js} +12 -12
  14. package/dist/_chunks/aspect-ratio-DeSNzASA.js.map +1 -0
  15. package/dist/_chunks/audio-recorder.agent--VKeykUp.js +458 -0
  16. package/dist/_chunks/audio-recorder.agent--VKeykUp.js.map +1 -0
  17. package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +432 -0
  18. package/dist/_chunks/autocomplete.agent-Dh7KioS6.js.map +1 -0
  19. package/dist/_chunks/{balance-cell-renderer-BWm3knY9.js → balance-cell-renderer-5CA7zpAi.js} +3 -3
  20. package/dist/_chunks/{balance-cell-renderer-BWm3knY9.js.map → balance-cell-renderer-5CA7zpAi.js.map} +1 -1
  21. package/dist/_chunks/breadcrumb.agent-GM2hAKFX.js +371 -0
  22. package/dist/_chunks/breadcrumb.agent-GM2hAKFX.js.map +1 -0
  23. package/dist/_chunks/{chart.agent-BdS-_8MO.js → chart.agent-_pRYS17d.js} +112 -105
  24. package/dist/_chunks/chart.agent-_pRYS17d.js.map +1 -0
  25. package/dist/_chunks/{chat-container-Cm3SlR2p.js → chat-container-Dl0Kfy5a.js} +33 -32
  26. package/dist/_chunks/chat-container-Dl0Kfy5a.js.map +1 -0
  27. package/dist/_chunks/{chat-container.agent-Dhw9xCJt.js → chat-container.agent-CM4WModE.js} +9 -4
  28. package/dist/_chunks/{chat-container.agent-Dhw9xCJt.js.map → chat-container.agent-CM4WModE.js.map} +1 -1
  29. package/dist/_chunks/{chat-input-DreOPP8A.js → chat-input-C_tMQv92.js} +108 -82
  30. package/dist/_chunks/chat-input-C_tMQv92.js.map +1 -0
  31. package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +69 -0
  32. package/dist/_chunks/chat-input.agent-Bsz3ckGa.js.map +1 -0
  33. package/dist/_chunks/checkbox-CtPM6Rup.js +196 -0
  34. package/dist/_chunks/checkbox-CtPM6Rup.js.map +1 -0
  35. package/dist/_chunks/checkbox-group-BTdEB6Yo.js +208 -0
  36. package/dist/_chunks/checkbox-group-BTdEB6Yo.js.map +1 -0
  37. package/dist/_chunks/collapsible.agent-DkS1jVyn.js +149 -0
  38. package/dist/_chunks/collapsible.agent-DkS1jVyn.js.map +1 -0
  39. package/dist/_chunks/{color-picker-e9PmpaGH.js → color-picker-94qcBZqZ.js} +234 -184
  40. package/dist/_chunks/color-picker-94qcBZqZ.js.map +1 -0
  41. package/dist/_chunks/combobox.agent-CAvUkkIe.js +410 -0
  42. package/dist/_chunks/combobox.agent-CAvUkkIe.js.map +1 -0
  43. package/dist/_chunks/{command-palette.agent-js2rxgeR.js → command-palette.agent-HatEt_EM.js} +161 -121
  44. package/dist/_chunks/command-palette.agent-HatEt_EM.js.map +1 -0
  45. package/dist/_chunks/date-picker-BqPTn7bO.js +1813 -0
  46. package/dist/_chunks/date-picker-BqPTn7bO.js.map +1 -0
  47. package/dist/_chunks/date-range-picker-B2hGsffw.js +274 -0
  48. package/dist/_chunks/date-range-picker-B2hGsffw.js.map +1 -0
  49. package/dist/_chunks/date-time-picker-Bzt0S8yO.js +293 -0
  50. package/dist/_chunks/date-time-picker-Bzt0S8yO.js.map +1 -0
  51. package/dist/_chunks/dialog.agent-Daf1TTko.js +179 -0
  52. package/dist/_chunks/dialog.agent-Daf1TTko.js.map +1 -0
  53. package/dist/_chunks/{dropdown-menu-Cw3EyPZv.js → dropdown-menu-C7AZipNz.js} +75 -71
  54. package/dist/_chunks/dropdown-menu-C7AZipNz.js.map +1 -0
  55. package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +43 -0
  56. package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js.map +1 -0
  57. package/dist/_chunks/{file-upload.agent-B9AN82LA.js → file-upload.agent-DJaH2dHg.js} +275 -243
  58. package/dist/_chunks/file-upload.agent-DJaH2dHg.js.map +1 -0
  59. package/dist/_chunks/freemium-paywall.agent-_nQqLyRF.js +260 -0
  60. package/dist/_chunks/freemium-paywall.agent-_nQqLyRF.js.map +1 -0
  61. package/dist/_chunks/{leo-sidebar-nbHib2D-.js → leo-sidebar-BwINPdix.js} +6 -6
  62. package/dist/_chunks/{leo-sidebar-nbHib2D-.js.map → leo-sidebar-BwINPdix.js.map} +1 -1
  63. package/dist/_chunks/link-QheANk74.js +121 -0
  64. package/dist/_chunks/link-QheANk74.js.map +1 -0
  65. package/dist/_chunks/list.agent-D0iWt4VI.js +420 -0
  66. package/dist/_chunks/list.agent-D0iWt4VI.js.map +1 -0
  67. package/dist/_chunks/{message-card-qAp2-WQK.js → message-card-qhoGv947.js} +2 -1
  68. package/dist/_chunks/message-card-qhoGv947.js.map +1 -0
  69. package/dist/_chunks/message-card.agent-4IeIgrnJ.js +22 -0
  70. package/dist/_chunks/message-card.agent-4IeIgrnJ.js.map +1 -0
  71. package/dist/_chunks/message-tray-xHUCra-Y.js +419 -0
  72. package/dist/_chunks/message-tray-xHUCra-Y.js.map +1 -0
  73. package/dist/_chunks/{multi-select.agent-CNsyW3n9.js → multi-select.agent-Do6CeQUT.js} +239 -179
  74. package/dist/_chunks/multi-select.agent-Do6CeQUT.js.map +1 -0
  75. package/dist/_chunks/navigation-menu.agent-D69ND6Qq.js +266 -0
  76. package/dist/_chunks/navigation-menu.agent-D69ND6Qq.js.map +1 -0
  77. package/dist/_chunks/{notification-card-BF2_veHy.js → notification-card-CsVEYJE-.js} +13 -12
  78. package/dist/_chunks/{notification-card-BF2_veHy.js.map → notification-card-CsVEYJE-.js.map} +1 -1
  79. package/dist/_chunks/notification-card.agent-Rqt3ofk9.js +22 -0
  80. package/dist/_chunks/notification-card.agent-Rqt3ofk9.js.map +1 -0
  81. package/dist/_chunks/notification-tray-DTXMq42J.js +444 -0
  82. package/dist/_chunks/notification-tray-DTXMq42J.js.map +1 -0
  83. package/dist/_chunks/number-input-fvGmnRy9.js +333 -0
  84. package/dist/_chunks/number-input-fvGmnRy9.js.map +1 -0
  85. package/dist/_chunks/otp-input-EglXOUue.js +257 -0
  86. package/dist/_chunks/otp-input-EglXOUue.js.map +1 -0
  87. package/dist/_chunks/pagination.agent-BkZQl45y.js +422 -0
  88. package/dist/_chunks/pagination.agent-BkZQl45y.js.map +1 -0
  89. package/dist/_chunks/password-input-D6kuYXmr.js +304 -0
  90. package/dist/_chunks/password-input-D6kuYXmr.js.map +1 -0
  91. package/dist/_chunks/{patient-shell-7cXqIMFg.js → patient-shell-BRmrrUUW.js} +3 -3
  92. package/dist/_chunks/{patient-shell-7cXqIMFg.js.map → patient-shell-BRmrrUUW.js.map} +1 -1
  93. package/dist/_chunks/{payment-form-hcl-gGrp.js → payment-form-BWaXas8z.js} +120 -118
  94. package/dist/_chunks/payment-form-BWaXas8z.js.map +1 -0
  95. package/dist/_chunks/{payment-form.agent-BkEnRerR.js → payment-form.agent-kuIfodCj.js} +7 -2
  96. package/dist/_chunks/payment-form.agent-kuIfodCj.js.map +1 -0
  97. package/dist/_chunks/{pdf-viewer.agent-CfIHhcHx.js → pdf-viewer.agent-BaGEDheA.js} +358 -351
  98. package/dist/_chunks/pdf-viewer.agent-BaGEDheA.js.map +1 -0
  99. package/dist/_chunks/phone-input-C8Op4sEc.js +513 -0
  100. package/dist/_chunks/phone-input-C8Op4sEc.js.map +1 -0
  101. package/dist/_chunks/popover-kFN8s84V.js +229 -0
  102. package/dist/_chunks/popover-kFN8s84V.js.map +1 -0
  103. package/dist/_chunks/popover.agent-K_d1cfbj.js +39 -0
  104. package/dist/_chunks/popover.agent-K_d1cfbj.js.map +1 -0
  105. package/dist/_chunks/privacy-lock.agent-C1i1-T58.js +185 -0
  106. package/dist/_chunks/privacy-lock.agent-C1i1-T58.js.map +1 -0
  107. package/dist/_chunks/progress-wNsqkw8I.js +253 -0
  108. package/dist/_chunks/progress-wNsqkw8I.js.map +1 -0
  109. package/dist/_chunks/progress.agent-C68rDOXL.js +27 -0
  110. package/dist/_chunks/progress.agent-C68rDOXL.js.map +1 -0
  111. package/dist/_chunks/{radio-cs8N1wJi.js → radio-DvF59ThA.js} +14 -13
  112. package/dist/_chunks/radio-DvF59ThA.js.map +1 -0
  113. package/dist/_chunks/radio-group-Cz1a4QCA.js +152 -0
  114. package/dist/_chunks/radio-group-Cz1a4QCA.js.map +1 -0
  115. package/dist/_chunks/recaptcha-widget.agent-BGHpU5zD.js +183 -0
  116. package/dist/_chunks/recaptcha-widget.agent-BGHpU5zD.js.map +1 -0
  117. package/dist/_chunks/resizable.agent-CMwZzvsi.js +456 -0
  118. package/dist/_chunks/resizable.agent-CMwZzvsi.js.map +1 -0
  119. package/dist/_chunks/{rich-text-editor.agent-COSb5_2D.js → rich-text-editor.agent-DnE125Tz.js} +221 -214
  120. package/dist/_chunks/rich-text-editor.agent-DnE125Tz.js.map +1 -0
  121. package/dist/_chunks/search-bar.agent-DxFAxctc.js +562 -0
  122. package/dist/_chunks/search-bar.agent-DxFAxctc.js.map +1 -0
  123. package/dist/_chunks/search-input-Xw3cdWXW.js +227 -0
  124. package/dist/_chunks/search-input-Xw3cdWXW.js.map +1 -0
  125. package/dist/_chunks/search-input.agent-CfZvViOd.js +69 -0
  126. package/dist/_chunks/search-input.agent-CfZvViOd.js.map +1 -0
  127. package/dist/_chunks/select-DY1Cb2Tg.js +410 -0
  128. package/dist/_chunks/select-DY1Cb2Tg.js.map +1 -0
  129. package/dist/_chunks/{sheet-BhNpLHc9.js → sheet-B9kH9pcI.js} +55 -54
  130. package/dist/_chunks/sheet-B9kH9pcI.js.map +1 -0
  131. package/dist/_chunks/sheet.agent-QAyTOxgk.js +46 -0
  132. package/dist/_chunks/sheet.agent-QAyTOxgk.js.map +1 -0
  133. package/dist/_chunks/{sidebar-OVzwN3jE.js → sidebar-CHF5xr_P.js} +188 -185
  134. package/dist/_chunks/sidebar-CHF5xr_P.js.map +1 -0
  135. package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +49 -0
  136. package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js.map +1 -0
  137. package/dist/_chunks/{signature-capture.agent-C38VPXxg.js → signature-capture.agent-BpeDwFht.js} +127 -120
  138. package/dist/_chunks/signature-capture.agent-BpeDwFht.js.map +1 -0
  139. package/dist/_chunks/slider-CcsQTZTA.js +322 -0
  140. package/dist/_chunks/slider-CcsQTZTA.js.map +1 -0
  141. package/dist/_chunks/sparkline.agent-56Sj7nOP.js +245 -0
  142. package/dist/_chunks/sparkline.agent-56Sj7nOP.js.map +1 -0
  143. package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +322 -0
  144. package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js.map +1 -0
  145. package/dist/_chunks/stepper-calendar.agent-9iT3ClIB.js +646 -0
  146. package/dist/_chunks/stepper-calendar.agent-9iT3ClIB.js.map +1 -0
  147. package/dist/_chunks/stepper-progress-Bmen-YXB.js +149 -0
  148. package/dist/_chunks/stepper-progress-Bmen-YXB.js.map +1 -0
  149. package/dist/_chunks/stepper-progress.agent-q9InWca4.js +61 -0
  150. package/dist/_chunks/stepper-progress.agent-q9InWca4.js.map +1 -0
  151. package/dist/_chunks/suggestion-chip-DhFrkRPj.js +169 -0
  152. package/dist/_chunks/suggestion-chip-DhFrkRPj.js.map +1 -0
  153. package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js +46 -0
  154. package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js.map +1 -0
  155. package/dist/_chunks/switch-BYEH8I53.js +196 -0
  156. package/dist/_chunks/switch-BYEH8I53.js.map +1 -0
  157. package/dist/_chunks/{tabs.agent-BpbVA-Zh.js → tabs.agent-h7NvsTR1.js} +146 -123
  158. package/dist/_chunks/tabs.agent-h7NvsTR1.js.map +1 -0
  159. package/dist/_chunks/{task-card-yW7tKlG4.js → task-card-CY5ztNkU.js} +2 -1
  160. package/dist/_chunks/{task-card-yW7tKlG4.js.map → task-card-CY5ztNkU.js.map} +1 -1
  161. package/dist/_chunks/task-card.agent-CUPKYd7w.js +22 -0
  162. package/dist/_chunks/task-card.agent-CUPKYd7w.js.map +1 -0
  163. package/dist/_chunks/task-tray-CCoUdorl.js +194 -0
  164. package/dist/_chunks/task-tray-CCoUdorl.js.map +1 -0
  165. package/dist/_chunks/text-area-C_M8wliK.js +239 -0
  166. package/dist/_chunks/text-area-C_M8wliK.js.map +1 -0
  167. package/dist/_chunks/text-input-BX39e6T6.js +272 -0
  168. package/dist/_chunks/text-input-BX39e6T6.js.map +1 -0
  169. package/dist/_chunks/theme-toggle.agent-btmXTWdW.js +394 -0
  170. package/dist/_chunks/theme-toggle.agent-btmXTWdW.js.map +1 -0
  171. package/dist/_chunks/time-picker-B8AMIrX7.js +410 -0
  172. package/dist/_chunks/time-picker-B8AMIrX7.js.map +1 -0
  173. package/dist/_chunks/timeline.agent-CRPza9wc.js +279 -0
  174. package/dist/_chunks/timeline.agent-CRPza9wc.js.map +1 -0
  175. package/dist/_chunks/{toast-lOhJDKOH.js → toast.agent-BjEGuq1Z.js} +403 -342
  176. package/dist/_chunks/toast.agent-BjEGuq1Z.js.map +1 -0
  177. package/dist/_chunks/{tooth-scheme.agent-BlDyu-Gx.js → tooth-scheme.agent-CWrQBjJM.js} +218 -211
  178. package/dist/_chunks/tooth-scheme.agent-CWrQBjJM.js.map +1 -0
  179. package/dist/_chunks/transcript-panel.agent-BXEYP6w-.js +337 -0
  180. package/dist/_chunks/transcript-panel.agent-BXEYP6w-.js.map +1 -0
  181. package/dist/_chunks/{workflow-map-XeqHDFvp.js → workflow-map-D2A7rTEG.js} +465 -368
  182. package/dist/_chunks/workflow-map-D2A7rTEG.js.map +1 -0
  183. package/dist/agent-catalog.json +2929 -268
  184. package/dist/components/accordion/accordion.agent.d.ts +2 -1
  185. package/dist/components/accordion/accordion.agent.d.ts.map +1 -1
  186. package/dist/components/accordion/accordion.d.ts +6 -0
  187. package/dist/components/accordion/accordion.d.ts.map +1 -1
  188. package/dist/components/accordion/index.js +2 -2
  189. package/dist/components/agenda-card/agenda-card.agent.d.ts +3 -0
  190. package/dist/components/agenda-card/agenda-card.agent.d.ts.map +1 -0
  191. package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
  192. package/dist/components/agenda-card/index.d.ts +1 -0
  193. package/dist/components/agenda-card/index.d.ts.map +1 -1
  194. package/dist/components/agenda-card/index.js +3 -1
  195. package/dist/components/agenda-card/index.js.map +1 -1
  196. package/dist/components/agenda-tray/agenda-tray.agent.d.ts +4 -0
  197. package/dist/components/agenda-tray/agenda-tray.agent.d.ts.map +1 -0
  198. package/dist/components/agenda-tray/agenda-tray.d.ts +19 -2
  199. package/dist/components/agenda-tray/agenda-tray.d.ts.map +1 -1
  200. package/dist/components/agenda-tray/index.d.ts +2 -1
  201. package/dist/components/agenda-tray/index.d.ts.map +1 -1
  202. package/dist/components/agenda-tray/index.js +3 -2
  203. package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts +4 -0
  204. package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts.map +1 -0
  205. package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +18 -1
  206. package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -1
  207. package/dist/components/ai-prompt-input/index.d.ts +2 -1
  208. package/dist/components/ai-prompt-input/index.d.ts.map +1 -1
  209. package/dist/components/ai-prompt-input/index.js +3 -2
  210. package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
  211. package/dist/components/aspect-ratio/index.js +1 -1
  212. package/dist/components/audio-recorder/audio-recorder.agent.d.ts +4 -0
  213. package/dist/components/audio-recorder/audio-recorder.agent.d.ts.map +1 -0
  214. package/dist/components/audio-recorder/audio-recorder.d.ts +10 -1
  215. package/dist/components/audio-recorder/audio-recorder.d.ts.map +1 -1
  216. package/dist/components/audio-recorder/index.d.ts +2 -1
  217. package/dist/components/audio-recorder/index.d.ts.map +1 -1
  218. package/dist/components/audio-recorder/index.js +3 -2
  219. package/dist/components/autocomplete/autocomplete.agent.d.ts +2 -1
  220. package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -1
  221. package/dist/components/autocomplete/autocomplete.d.ts +10 -0
  222. package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
  223. package/dist/components/autocomplete/index.js +1 -1
  224. package/dist/components/breadcrumb/breadcrumb.agent.d.ts +8 -0
  225. package/dist/components/breadcrumb/breadcrumb.agent.d.ts.map +1 -0
  226. package/dist/components/breadcrumb/breadcrumb.d.ts +21 -2
  227. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -1
  228. package/dist/components/breadcrumb/index.d.ts +2 -1
  229. package/dist/components/breadcrumb/index.d.ts.map +1 -1
  230. package/dist/components/breadcrumb/index.js +5 -4
  231. package/dist/components/button/button.d.ts +1 -1
  232. package/dist/components/chart/chart.agent.d.ts.map +1 -1
  233. package/dist/components/chart/chart.d.ts +2 -0
  234. package/dist/components/chart/chart.d.ts.map +1 -1
  235. package/dist/components/chart/index.js +1 -1
  236. package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -1
  237. package/dist/components/chat-container/chat-container.d.ts +3 -1
  238. package/dist/components/chat-container/chat-container.d.ts.map +1 -1
  239. package/dist/components/chat-container/index.js +2 -2
  240. package/dist/components/chat-input/chat-input.agent.d.ts +4 -0
  241. package/dist/components/chat-input/chat-input.agent.d.ts.map +1 -0
  242. package/dist/components/chat-input/chat-input.d.ts +10 -1
  243. package/dist/components/chat-input/chat-input.d.ts.map +1 -1
  244. package/dist/components/chat-input/index.d.ts +2 -1
  245. package/dist/components/chat-input/index.d.ts.map +1 -1
  246. package/dist/components/chat-input/index.js +4 -2
  247. package/dist/components/chat-input/index.js.map +1 -1
  248. package/dist/components/checkbox/checkbox.agent.d.ts +4 -0
  249. package/dist/components/checkbox/checkbox.agent.d.ts.map +1 -0
  250. package/dist/components/checkbox/checkbox.d.ts +6 -0
  251. package/dist/components/checkbox/checkbox.d.ts.map +1 -1
  252. package/dist/components/checkbox/index.js +1 -1
  253. package/dist/components/checkbox-group/checkbox-group.agent.d.ts +4 -0
  254. package/dist/components/checkbox-group/checkbox-group.agent.d.ts.map +1 -0
  255. package/dist/components/checkbox-group/checkbox-group.d.ts +8 -0
  256. package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
  257. package/dist/components/checkbox-group/index.js +1 -1
  258. package/dist/components/collapsible/collapsible.agent.d.ts +4 -0
  259. package/dist/components/collapsible/collapsible.agent.d.ts.map +1 -0
  260. package/dist/components/collapsible/collapsible.d.ts +8 -1
  261. package/dist/components/collapsible/collapsible.d.ts.map +1 -1
  262. package/dist/components/collapsible/index.d.ts +2 -1
  263. package/dist/components/collapsible/index.d.ts.map +1 -1
  264. package/dist/components/collapsible/index.js +4 -3
  265. package/dist/components/color-picker/color-picker.agent.d.ts +4 -0
  266. package/dist/components/color-picker/color-picker.agent.d.ts.map +1 -0
  267. package/dist/components/color-picker/color-picker.d.ts +5 -0
  268. package/dist/components/color-picker/color-picker.d.ts.map +1 -1
  269. package/dist/components/color-picker/index.js +1 -1
  270. package/dist/components/combobox/combobox.agent.d.ts +2 -1
  271. package/dist/components/combobox/combobox.agent.d.ts.map +1 -1
  272. package/dist/components/combobox/combobox.d.ts +10 -0
  273. package/dist/components/combobox/combobox.d.ts.map +1 -1
  274. package/dist/components/combobox/index.js +1 -1
  275. package/dist/components/command-palette/command-palette.agent.d.ts +2 -1
  276. package/dist/components/command-palette/command-palette.agent.d.ts.map +1 -1
  277. package/dist/components/command-palette/command-palette.d.ts +7 -0
  278. package/dist/components/command-palette/command-palette.d.ts.map +1 -1
  279. package/dist/components/command-palette/index.js +1 -1
  280. package/dist/components/data-table/index.js +1 -1
  281. package/dist/components/date-picker/date-picker.agent.d.ts +4 -0
  282. package/dist/components/date-picker/date-picker.agent.d.ts.map +1 -0
  283. package/dist/components/date-picker/date-picker.d.ts +16 -1
  284. package/dist/components/date-picker/date-picker.d.ts.map +1 -1
  285. package/dist/components/date-picker/index.d.ts +2 -1
  286. package/dist/components/date-picker/index.d.ts.map +1 -1
  287. package/dist/components/date-picker/index.js +3 -2
  288. package/dist/components/date-range-picker/date-range-picker.agent.d.ts +4 -0
  289. package/dist/components/date-range-picker/date-range-picker.agent.d.ts.map +1 -0
  290. package/dist/components/date-range-picker/date-range-picker.d.ts +16 -1
  291. package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
  292. package/dist/components/date-range-picker/index.d.ts +2 -1
  293. package/dist/components/date-range-picker/index.d.ts.map +1 -1
  294. package/dist/components/date-range-picker/index.js +3 -2
  295. package/dist/components/date-time-picker/date-time-picker.agent.d.ts +4 -0
  296. package/dist/components/date-time-picker/date-time-picker.agent.d.ts.map +1 -0
  297. package/dist/components/date-time-picker/date-time-picker.d.ts +16 -1
  298. package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
  299. package/dist/components/date-time-picker/index.d.ts +2 -1
  300. package/dist/components/date-time-picker/index.d.ts.map +1 -1
  301. package/dist/components/date-time-picker/index.js +3 -2
  302. package/dist/components/dialog/dialog.agent.d.ts +5 -6
  303. package/dist/components/dialog/dialog.agent.d.ts.map +1 -1
  304. package/dist/components/dialog/dialog.d.ts +11 -2
  305. package/dist/components/dialog/dialog.d.ts.map +1 -1
  306. package/dist/components/dialog/index.js +1 -1
  307. package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +2 -1
  308. package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -1
  309. package/dist/components/dropdown-menu/dropdown-menu.d.ts +10 -2
  310. package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  311. package/dist/components/dropdown-menu/index.js +2 -2
  312. package/dist/components/file-upload/file-upload.agent.d.ts +2 -1
  313. package/dist/components/file-upload/file-upload.agent.d.ts.map +1 -1
  314. package/dist/components/file-upload/file-upload.d.ts +12 -0
  315. package/dist/components/file-upload/file-upload.d.ts.map +1 -1
  316. package/dist/components/file-upload/index.js +1 -1
  317. package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts +4 -0
  318. package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts.map +1 -0
  319. package/dist/components/freemium-paywall/freemium-paywall.d.ts +8 -1
  320. package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -1
  321. package/dist/components/freemium-paywall/index.d.ts +2 -1
  322. package/dist/components/freemium-paywall/index.d.ts.map +1 -1
  323. package/dist/components/freemium-paywall/index.js +3 -2
  324. package/dist/components/index.d.ts +2 -0
  325. package/dist/components/index.d.ts.map +1 -1
  326. package/dist/components/link/index.d.ts +2 -0
  327. package/dist/components/link/index.d.ts.map +1 -0
  328. package/dist/components/link/index.js +5 -0
  329. package/dist/components/link/index.js.map +1 -0
  330. package/dist/components/link/link.d.ts +39 -0
  331. package/dist/components/link/link.d.ts.map +1 -0
  332. package/dist/components/list/index.d.ts +2 -1
  333. package/dist/components/list/index.d.ts.map +1 -1
  334. package/dist/components/list/index.js +3 -2
  335. package/dist/components/list/list.agent.d.ts +4 -0
  336. package/dist/components/list/list.agent.d.ts.map +1 -0
  337. package/dist/components/list/list.d.ts +8 -2
  338. package/dist/components/list/list.d.ts.map +1 -1
  339. package/dist/components/message-card/index.d.ts +1 -0
  340. package/dist/components/message-card/index.d.ts.map +1 -1
  341. package/dist/components/message-card/index.js +5 -3
  342. package/dist/components/message-card/index.js.map +1 -1
  343. package/dist/components/message-card/message-card.agent.d.ts +3 -0
  344. package/dist/components/message-card/message-card.agent.d.ts.map +1 -0
  345. package/dist/components/message-card/message-card.d.ts.map +1 -1
  346. package/dist/components/message-tray/index.d.ts +2 -1
  347. package/dist/components/message-tray/index.d.ts.map +1 -1
  348. package/dist/components/message-tray/index.js +3 -2
  349. package/dist/components/message-tray/message-tray.agent.d.ts +4 -0
  350. package/dist/components/message-tray/message-tray.agent.d.ts.map +1 -0
  351. package/dist/components/message-tray/message-tray.d.ts +27 -2
  352. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  353. package/dist/components/multi-select/index.js +1 -1
  354. package/dist/components/multi-select/multi-select.agent.d.ts +2 -1
  355. package/dist/components/multi-select/multi-select.agent.d.ts.map +1 -1
  356. package/dist/components/multi-select/multi-select.d.ts +10 -0
  357. package/dist/components/multi-select/multi-select.d.ts.map +1 -1
  358. package/dist/components/navigation-menu/index.d.ts +2 -1
  359. package/dist/components/navigation-menu/index.d.ts.map +1 -1
  360. package/dist/components/navigation-menu/index.js +7 -6
  361. package/dist/components/navigation-menu/navigation-menu.agent.d.ts +4 -0
  362. package/dist/components/navigation-menu/navigation-menu.agent.d.ts.map +1 -0
  363. package/dist/components/navigation-menu/navigation-menu.d.ts +28 -2
  364. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
  365. package/dist/components/notification-card/index.d.ts +1 -0
  366. package/dist/components/notification-card/index.d.ts.map +1 -1
  367. package/dist/components/notification-card/index.js +5 -3
  368. package/dist/components/notification-card/index.js.map +1 -1
  369. package/dist/components/notification-card/notification-card.agent.d.ts +3 -0
  370. package/dist/components/notification-card/notification-card.agent.d.ts.map +1 -0
  371. package/dist/components/notification-card/notification-card.d.ts.map +1 -1
  372. package/dist/components/notification-tray/index.d.ts +2 -1
  373. package/dist/components/notification-tray/index.d.ts.map +1 -1
  374. package/dist/components/notification-tray/index.js +3 -2
  375. package/dist/components/notification-tray/notification-tray.agent.d.ts +4 -0
  376. package/dist/components/notification-tray/notification-tray.agent.d.ts.map +1 -0
  377. package/dist/components/notification-tray/notification-tray.d.ts +27 -2
  378. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  379. package/dist/components/number-input/index.js +1 -1
  380. package/dist/components/number-input/number-input.agent.d.ts +4 -0
  381. package/dist/components/number-input/number-input.agent.d.ts.map +1 -0
  382. package/dist/components/number-input/number-input.d.ts +7 -0
  383. package/dist/components/number-input/number-input.d.ts.map +1 -1
  384. package/dist/components/otp-input/index.js +1 -1
  385. package/dist/components/otp-input/otp-input.agent.d.ts +4 -0
  386. package/dist/components/otp-input/otp-input.agent.d.ts.map +1 -0
  387. package/dist/components/otp-input/otp-input.d.ts +10 -0
  388. package/dist/components/otp-input/otp-input.d.ts.map +1 -1
  389. package/dist/components/pagination/index.js +1 -1
  390. package/dist/components/pagination/pagination.agent.d.ts +2 -1
  391. package/dist/components/pagination/pagination.agent.d.ts.map +1 -1
  392. package/dist/components/pagination/pagination.d.ts +7 -0
  393. package/dist/components/pagination/pagination.d.ts.map +1 -1
  394. package/dist/components/password-input/index.js +1 -1
  395. package/dist/components/password-input/password-input.agent.d.ts +4 -0
  396. package/dist/components/password-input/password-input.agent.d.ts.map +1 -0
  397. package/dist/components/password-input/password-input.d.ts +9 -0
  398. package/dist/components/password-input/password-input.d.ts.map +1 -1
  399. package/dist/components/payment-form/index.js +2 -2
  400. package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -1
  401. package/dist/components/payment-form/payment-form.d.ts +2 -0
  402. package/dist/components/payment-form/payment-form.d.ts.map +1 -1
  403. package/dist/components/pdf-viewer/index.js +1 -1
  404. package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
  405. package/dist/components/pdf-viewer/pdf-viewer.d.ts +2 -0
  406. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  407. package/dist/components/phone-input/index.js +1 -1
  408. package/dist/components/phone-input/phone-input.agent.d.ts +4 -0
  409. package/dist/components/phone-input/phone-input.agent.d.ts.map +1 -0
  410. package/dist/components/phone-input/phone-input.d.ts +7 -0
  411. package/dist/components/phone-input/phone-input.d.ts.map +1 -1
  412. package/dist/components/popover/index.js +2 -2
  413. package/dist/components/popover/popover.agent.d.ts +2 -1
  414. package/dist/components/popover/popover.agent.d.ts.map +1 -1
  415. package/dist/components/popover/popover.d.ts +8 -1
  416. package/dist/components/popover/popover.d.ts.map +1 -1
  417. package/dist/components/privacy-lock/index.d.ts +2 -1
  418. package/dist/components/privacy-lock/index.d.ts.map +1 -1
  419. package/dist/components/privacy-lock/index.js +3 -2
  420. package/dist/components/privacy-lock/privacy-lock.agent.d.ts +4 -0
  421. package/dist/components/privacy-lock/privacy-lock.agent.d.ts.map +1 -0
  422. package/dist/components/privacy-lock/privacy-lock.d.ts +7 -1
  423. package/dist/components/privacy-lock/privacy-lock.d.ts.map +1 -1
  424. package/dist/components/progress/index.js +2 -2
  425. package/dist/components/progress/progress.agent.d.ts.map +1 -1
  426. package/dist/components/progress/progress.d.ts.map +1 -1
  427. package/dist/components/radio/index.js +1 -1
  428. package/dist/components/radio-group/index.js +2 -2
  429. package/dist/components/radio-group/radio-group.agent.d.ts +4 -0
  430. package/dist/components/radio-group/radio-group.agent.d.ts.map +1 -0
  431. package/dist/components/radio-group/radio-group.d.ts +5 -0
  432. package/dist/components/radio-group/radio-group.d.ts.map +1 -1
  433. package/dist/components/radio-group/radio.d.ts.map +1 -1
  434. package/dist/components/recaptcha-widget/index.d.ts +3 -0
  435. package/dist/components/recaptcha-widget/index.d.ts.map +1 -0
  436. package/dist/components/recaptcha-widget/index.js +6 -0
  437. package/dist/components/recaptcha-widget/index.js.map +1 -0
  438. package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts +4 -0
  439. package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts.map +1 -0
  440. package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +56 -0
  441. package/dist/components/recaptcha-widget/recaptcha-widget.d.ts.map +1 -0
  442. package/dist/components/resizable/index.js +1 -1
  443. package/dist/components/resizable/resizable.agent.d.ts +2 -1
  444. package/dist/components/resizable/resizable.agent.d.ts.map +1 -1
  445. package/dist/components/resizable/resizable.d.ts +6 -0
  446. package/dist/components/resizable/resizable.d.ts.map +1 -1
  447. package/dist/components/rich-text-editor/index.js +1 -1
  448. package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -1
  449. package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
  450. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  451. package/dist/components/search-bar/index.d.ts +2 -1
  452. package/dist/components/search-bar/index.d.ts.map +1 -1
  453. package/dist/components/search-bar/index.js +3 -2
  454. package/dist/components/search-bar/search-bar.agent.d.ts +4 -0
  455. package/dist/components/search-bar/search-bar.agent.d.ts.map +1 -0
  456. package/dist/components/search-bar/search-bar.d.ts +27 -1
  457. package/dist/components/search-bar/search-bar.d.ts.map +1 -1
  458. package/dist/components/search-input/index.d.ts +2 -1
  459. package/dist/components/search-input/index.d.ts.map +1 -1
  460. package/dist/components/search-input/index.js +4 -2
  461. package/dist/components/search-input/index.js.map +1 -1
  462. package/dist/components/search-input/search-input.agent.d.ts +4 -0
  463. package/dist/components/search-input/search-input.agent.d.ts.map +1 -0
  464. package/dist/components/search-input/search-input.d.ts +27 -0
  465. package/dist/components/search-input/search-input.d.ts.map +1 -1
  466. package/dist/components/select/index.js +1 -1
  467. package/dist/components/select/select.agent.d.ts +4 -0
  468. package/dist/components/select/select.agent.d.ts.map +1 -0
  469. package/dist/components/select/select.d.ts +9 -0
  470. package/dist/components/select/select.d.ts.map +1 -1
  471. package/dist/components/sheet/index.js +2 -2
  472. package/dist/components/sheet/sheet.agent.d.ts +2 -1
  473. package/dist/components/sheet/sheet.agent.d.ts.map +1 -1
  474. package/dist/components/sheet/sheet.d.ts +11 -2
  475. package/dist/components/sheet/sheet.d.ts.map +1 -1
  476. package/dist/components/sidebar/index.js +2 -2
  477. package/dist/components/sidebar/sidebar.agent.d.ts +2 -1
  478. package/dist/components/sidebar/sidebar.agent.d.ts.map +1 -1
  479. package/dist/components/sidebar/sidebar.d.ts +6 -0
  480. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  481. package/dist/components/signature-capture/index.js +1 -1
  482. package/dist/components/signature-capture/signature-capture.agent.d.ts.map +1 -1
  483. package/dist/components/signature-capture/signature-capture.d.ts +2 -0
  484. package/dist/components/signature-capture/signature-capture.d.ts.map +1 -1
  485. package/dist/components/slider/index.js +1 -1
  486. package/dist/components/slider/slider.agent.d.ts +4 -0
  487. package/dist/components/slider/slider.agent.d.ts.map +1 -0
  488. package/dist/components/slider/slider.d.ts +5 -0
  489. package/dist/components/slider/slider.d.ts.map +1 -1
  490. package/dist/components/sparkline/index.js +1 -1
  491. package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -1
  492. package/dist/components/sparkline/sparkline.d.ts.map +1 -1
  493. package/dist/components/stepper-accordion/index.d.ts +2 -1
  494. package/dist/components/stepper-accordion/index.d.ts.map +1 -1
  495. package/dist/components/stepper-accordion/index.js +3 -2
  496. package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts +4 -0
  497. package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts.map +1 -0
  498. package/dist/components/stepper-accordion/stepper-accordion.d.ts +19 -1
  499. package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -1
  500. package/dist/components/stepper-calendar/index.d.ts +2 -1
  501. package/dist/components/stepper-calendar/index.d.ts.map +1 -1
  502. package/dist/components/stepper-calendar/index.js +3 -2
  503. package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +4 -0
  504. package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts.map +1 -0
  505. package/dist/components/stepper-calendar/stepper-calendar.d.ts +19 -1
  506. package/dist/components/stepper-calendar/stepper-calendar.d.ts.map +1 -1
  507. package/dist/components/stepper-progress/index.d.ts +2 -1
  508. package/dist/components/stepper-progress/index.d.ts.map +1 -1
  509. package/dist/components/stepper-progress/index.js +4 -2
  510. package/dist/components/stepper-progress/index.js.map +1 -1
  511. package/dist/components/stepper-progress/stepper-progress.agent.d.ts +4 -0
  512. package/dist/components/stepper-progress/stepper-progress.agent.d.ts.map +1 -0
  513. package/dist/components/stepper-progress/stepper-progress.d.ts +26 -1
  514. package/dist/components/stepper-progress/stepper-progress.d.ts.map +1 -1
  515. package/dist/components/suggestion-chip/index.d.ts +2 -1
  516. package/dist/components/suggestion-chip/index.d.ts.map +1 -1
  517. package/dist/components/suggestion-chip/index.js +5 -3
  518. package/dist/components/suggestion-chip/index.js.map +1 -1
  519. package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts +4 -0
  520. package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts.map +1 -0
  521. package/dist/components/suggestion-chip/suggestion-chip.d.ts +7 -1
  522. package/dist/components/suggestion-chip/suggestion-chip.d.ts.map +1 -1
  523. package/dist/components/switch/index.js +1 -1
  524. package/dist/components/switch/switch.agent.d.ts +4 -0
  525. package/dist/components/switch/switch.agent.d.ts.map +1 -0
  526. package/dist/components/switch/switch.d.ts +6 -0
  527. package/dist/components/switch/switch.d.ts.map +1 -1
  528. package/dist/components/tabs/index.js +1 -1
  529. package/dist/components/tabs/tabs.agent.d.ts +2 -1
  530. package/dist/components/tabs/tabs.agent.d.ts.map +1 -1
  531. package/dist/components/tabs/tabs.d.ts +4 -0
  532. package/dist/components/tabs/tabs.d.ts.map +1 -1
  533. package/dist/components/task-card/index.d.ts +1 -0
  534. package/dist/components/task-card/index.d.ts.map +1 -1
  535. package/dist/components/task-card/index.js +5 -3
  536. package/dist/components/task-card/index.js.map +1 -1
  537. package/dist/components/task-card/task-card.agent.d.ts +3 -0
  538. package/dist/components/task-card/task-card.agent.d.ts.map +1 -0
  539. package/dist/components/task-card/task-card.d.ts.map +1 -1
  540. package/dist/components/task-tray/index.d.ts +2 -1
  541. package/dist/components/task-tray/index.d.ts.map +1 -1
  542. package/dist/components/task-tray/index.js +3 -2
  543. package/dist/components/task-tray/task-tray.agent.d.ts +4 -0
  544. package/dist/components/task-tray/task-tray.agent.d.ts.map +1 -0
  545. package/dist/components/task-tray/task-tray.d.ts +25 -2
  546. package/dist/components/task-tray/task-tray.d.ts.map +1 -1
  547. package/dist/components/text-area/index.js +1 -1
  548. package/dist/components/text-area/text-area.agent.d.ts +4 -0
  549. package/dist/components/text-area/text-area.agent.d.ts.map +1 -0
  550. package/dist/components/text-area/text-area.d.ts +7 -0
  551. package/dist/components/text-area/text-area.d.ts.map +1 -1
  552. package/dist/components/text-input/index.js +1 -1
  553. package/dist/components/text-input/text-input.agent.d.ts +4 -0
  554. package/dist/components/text-input/text-input.agent.d.ts.map +1 -0
  555. package/dist/components/text-input/text-input.d.ts +10 -0
  556. package/dist/components/text-input/text-input.d.ts.map +1 -1
  557. package/dist/components/theme-toggle/index.d.ts +2 -1
  558. package/dist/components/theme-toggle/index.d.ts.map +1 -1
  559. package/dist/components/theme-toggle/index.js +3 -2
  560. package/dist/components/theme-toggle/theme-toggle.agent.d.ts +4 -0
  561. package/dist/components/theme-toggle/theme-toggle.agent.d.ts.map +1 -0
  562. package/dist/components/theme-toggle/theme-toggle.d.ts +9 -2
  563. package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -1
  564. package/dist/components/time-picker/index.d.ts +2 -1
  565. package/dist/components/time-picker/index.d.ts.map +1 -1
  566. package/dist/components/time-picker/index.js +3 -2
  567. package/dist/components/time-picker/time-picker.agent.d.ts +4 -0
  568. package/dist/components/time-picker/time-picker.agent.d.ts.map +1 -0
  569. package/dist/components/time-picker/time-picker.d.ts +16 -1
  570. package/dist/components/time-picker/time-picker.d.ts.map +1 -1
  571. package/dist/components/timeline/index.d.ts +2 -1
  572. package/dist/components/timeline/index.d.ts.map +1 -1
  573. package/dist/components/timeline/index.js +3 -2
  574. package/dist/components/timeline/timeline.agent.d.ts +4 -0
  575. package/dist/components/timeline/timeline.agent.d.ts.map +1 -0
  576. package/dist/components/timeline/timeline.d.ts +8 -1
  577. package/dist/components/timeline/timeline.d.ts.map +1 -1
  578. package/dist/components/toast/index.d.ts +3 -2
  579. package/dist/components/toast/index.d.ts.map +1 -1
  580. package/dist/components/toast/index.js +7 -5
  581. package/dist/components/toast/toast.agent.d.ts +4 -0
  582. package/dist/components/toast/toast.agent.d.ts.map +1 -0
  583. package/dist/components/toast/toast.d.ts +8 -0
  584. package/dist/components/toast/toast.d.ts.map +1 -1
  585. package/dist/components/tooth-scheme/index.js +1 -1
  586. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
  587. package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -0
  588. package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
  589. package/dist/components/transcript-panel/index.d.ts +2 -1
  590. package/dist/components/transcript-panel/index.d.ts.map +1 -1
  591. package/dist/components/transcript-panel/index.js +3 -2
  592. package/dist/components/transcript-panel/transcript-panel.agent.d.ts +4 -0
  593. package/dist/components/transcript-panel/transcript-panel.agent.d.ts.map +1 -0
  594. package/dist/components/transcript-panel/transcript-panel.d.ts +10 -1
  595. package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -1
  596. package/dist/components/workflow/index.d.ts +2 -1
  597. package/dist/components/workflow/index.d.ts.map +1 -1
  598. package/dist/components/workflow/index.js +10 -7
  599. package/dist/components/workflow/workflow-card.d.ts.map +1 -1
  600. package/dist/components/workflow/workflow-editor.d.ts +7 -1
  601. package/dist/components/workflow/workflow-editor.d.ts.map +1 -1
  602. package/dist/components/workflow/workflow-map.d.ts +2 -0
  603. package/dist/components/workflow/workflow-map.d.ts.map +1 -1
  604. package/dist/components/workflow/workflow.agent.d.ts +6 -0
  605. package/dist/components/workflow/workflow.agent.d.ts.map +1 -0
  606. package/dist/i18n/config.d.ts.map +1 -1
  607. package/dist/i18n/config.js +24 -11
  608. package/dist/i18n/config.js.map +1 -1
  609. package/dist/i18n/resources.d.ts +7 -0
  610. package/dist/i18n/resources.d.ts.map +1 -1
  611. package/dist/index.js +471 -423
  612. package/dist/index.js.map +1 -1
  613. package/dist/locales/en.json +7 -0
  614. package/dist/patterns/leo-assistant/index.js +1 -1
  615. package/dist/patterns/patient-shell/index.js +1 -1
  616. package/dist/tokens.css +1 -1
  617. package/package.json +18 -2
  618. package/dist/_chunks/accordion-B6fyINUk.js.map +0 -1
  619. package/dist/_chunks/accordion.agent-Cz-yglRa.js +0 -17
  620. package/dist/_chunks/accordion.agent-Cz-yglRa.js.map +0 -1
  621. package/dist/_chunks/agenda-tray-BqQZwiHc.js +0 -120
  622. package/dist/_chunks/agenda-tray-BqQZwiHc.js.map +0 -1
  623. package/dist/_chunks/ai-prompt-input-CI27KmZ1.js +0 -380
  624. package/dist/_chunks/ai-prompt-input-CI27KmZ1.js.map +0 -1
  625. package/dist/_chunks/aspect-ratio-CxsdG8vk.js.map +0 -1
  626. package/dist/_chunks/audio-recorder-B-8SKgKn.js +0 -376
  627. package/dist/_chunks/audio-recorder-B-8SKgKn.js.map +0 -1
  628. package/dist/_chunks/autocomplete.agent-DqOy0_1P.js +0 -372
  629. package/dist/_chunks/autocomplete.agent-DqOy0_1P.js.map +0 -1
  630. package/dist/_chunks/breadcrumb-D6xpsP7n.js +0 -293
  631. package/dist/_chunks/breadcrumb-D6xpsP7n.js.map +0 -1
  632. package/dist/_chunks/chart.agent-BdS-_8MO.js.map +0 -1
  633. package/dist/_chunks/chat-container-Cm3SlR2p.js.map +0 -1
  634. package/dist/_chunks/chat-input-DreOPP8A.js.map +0 -1
  635. package/dist/_chunks/checkbox-DNK4qS2_.js +0 -116
  636. package/dist/_chunks/checkbox-DNK4qS2_.js.map +0 -1
  637. package/dist/_chunks/checkbox-group-CWpGZEF6.js +0 -146
  638. package/dist/_chunks/checkbox-group-CWpGZEF6.js.map +0 -1
  639. package/dist/_chunks/collapsible-D4LOdLxp.js +0 -67
  640. package/dist/_chunks/collapsible-D4LOdLxp.js.map +0 -1
  641. package/dist/_chunks/color-picker-e9PmpaGH.js.map +0 -1
  642. package/dist/_chunks/combobox.agent-ByobCLJ_.js +0 -350
  643. package/dist/_chunks/combobox.agent-ByobCLJ_.js.map +0 -1
  644. package/dist/_chunks/command-palette.agent-js2rxgeR.js.map +0 -1
  645. package/dist/_chunks/date-picker-DYXNsWmM.js +0 -1726
  646. package/dist/_chunks/date-picker-DYXNsWmM.js.map +0 -1
  647. package/dist/_chunks/date-range-picker-BcNDJI7m.js +0 -183
  648. package/dist/_chunks/date-range-picker-BcNDJI7m.js.map +0 -1
  649. package/dist/_chunks/date-time-picker-CmGiTU__.js +0 -202
  650. package/dist/_chunks/date-time-picker-CmGiTU__.js.map +0 -1
  651. package/dist/_chunks/dialog.agent-DEG_fVzG.js +0 -147
  652. package/dist/_chunks/dialog.agent-DEG_fVzG.js.map +0 -1
  653. package/dist/_chunks/dropdown-menu-Cw3EyPZv.js.map +0 -1
  654. package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js +0 -17
  655. package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js.map +0 -1
  656. package/dist/_chunks/file-upload.agent-B9AN82LA.js.map +0 -1
  657. package/dist/_chunks/freemium-paywall-CkefGLM_.js +0 -198
  658. package/dist/_chunks/freemium-paywall-CkefGLM_.js.map +0 -1
  659. package/dist/_chunks/list-B1ozIjQe.js +0 -359
  660. package/dist/_chunks/list-B1ozIjQe.js.map +0 -1
  661. package/dist/_chunks/message-card-qAp2-WQK.js.map +0 -1
  662. package/dist/_chunks/message-tray-VaLpQU5t.js +0 -303
  663. package/dist/_chunks/message-tray-VaLpQU5t.js.map +0 -1
  664. package/dist/_chunks/multi-select.agent-CNsyW3n9.js.map +0 -1
  665. package/dist/_chunks/navigation-menu-EVFau1O2.js +0 -180
  666. package/dist/_chunks/navigation-menu-EVFau1O2.js.map +0 -1
  667. package/dist/_chunks/notification-tray-B7U5YZYg.js +0 -328
  668. package/dist/_chunks/notification-tray-B7U5YZYg.js.map +0 -1
  669. package/dist/_chunks/number-input-DjpT_RXJ.js +0 -249
  670. package/dist/_chunks/number-input-DjpT_RXJ.js.map +0 -1
  671. package/dist/_chunks/otp-input-De5_Ih7B.js +0 -189
  672. package/dist/_chunks/otp-input-De5_Ih7B.js.map +0 -1
  673. package/dist/_chunks/pagination.agent-oEaqmtx5.js +0 -380
  674. package/dist/_chunks/pagination.agent-oEaqmtx5.js.map +0 -1
  675. package/dist/_chunks/password-input-DJDVznWH.js +0 -193
  676. package/dist/_chunks/password-input-DJDVznWH.js.map +0 -1
  677. package/dist/_chunks/payment-form-hcl-gGrp.js.map +0 -1
  678. package/dist/_chunks/payment-form.agent-BkEnRerR.js.map +0 -1
  679. package/dist/_chunks/pdf-viewer.agent-CfIHhcHx.js.map +0 -1
  680. package/dist/_chunks/phone-input-DE_39q65.js +0 -428
  681. package/dist/_chunks/phone-input-DE_39q65.js.map +0 -1
  682. package/dist/_chunks/popover-C3CTUsqh.js +0 -227
  683. package/dist/_chunks/popover-C3CTUsqh.js.map +0 -1
  684. package/dist/_chunks/popover.agent-C0qOx9WT.js +0 -13
  685. package/dist/_chunks/popover.agent-C0qOx9WT.js.map +0 -1
  686. package/dist/_chunks/privacy-lock-CQpgkLec.js +0 -132
  687. package/dist/_chunks/privacy-lock-CQpgkLec.js.map +0 -1
  688. package/dist/_chunks/progress-B4Of_pzz.js +0 -252
  689. package/dist/_chunks/progress-B4Of_pzz.js.map +0 -1
  690. package/dist/_chunks/progress.agent-CXkHURjX.js +0 -22
  691. package/dist/_chunks/progress.agent-CXkHURjX.js.map +0 -1
  692. package/dist/_chunks/radio-cs8N1wJi.js.map +0 -1
  693. package/dist/_chunks/radio-group-BIUbpWml.js +0 -89
  694. package/dist/_chunks/radio-group-BIUbpWml.js.map +0 -1
  695. package/dist/_chunks/resizable.agent-DBpPGNdy.js +0 -435
  696. package/dist/_chunks/resizable.agent-DBpPGNdy.js.map +0 -1
  697. package/dist/_chunks/rich-text-editor.agent-COSb5_2D.js.map +0 -1
  698. package/dist/_chunks/search-bar-fcGqDFW3.js +0 -397
  699. package/dist/_chunks/search-bar-fcGqDFW3.js.map +0 -1
  700. package/dist/_chunks/search-input-BVMCONyN.js +0 -197
  701. package/dist/_chunks/search-input-BVMCONyN.js.map +0 -1
  702. package/dist/_chunks/select-IY_JQa-F.js +0 -321
  703. package/dist/_chunks/select-IY_JQa-F.js.map +0 -1
  704. package/dist/_chunks/sheet-BhNpLHc9.js.map +0 -1
  705. package/dist/_chunks/sheet.agent-DwQlBqK9.js +0 -13
  706. package/dist/_chunks/sheet.agent-DwQlBqK9.js.map +0 -1
  707. package/dist/_chunks/sidebar-OVzwN3jE.js.map +0 -1
  708. package/dist/_chunks/sidebar.agent-B0fnH9CC.js +0 -17
  709. package/dist/_chunks/sidebar.agent-B0fnH9CC.js.map +0 -1
  710. package/dist/_chunks/signature-capture.agent-C38VPXxg.js.map +0 -1
  711. package/dist/_chunks/slider-DjyRt3Mp.js +0 -274
  712. package/dist/_chunks/slider-DjyRt3Mp.js.map +0 -1
  713. package/dist/_chunks/sparkline.agent-C_xp3NRB.js +0 -238
  714. package/dist/_chunks/sparkline.agent-C_xp3NRB.js.map +0 -1
  715. package/dist/_chunks/stepper-accordion-CGog0JSF.js +0 -233
  716. package/dist/_chunks/stepper-accordion-CGog0JSF.js.map +0 -1
  717. package/dist/_chunks/stepper-calendar-_fLOAjus.js +0 -570
  718. package/dist/_chunks/stepper-calendar-_fLOAjus.js.map +0 -1
  719. package/dist/_chunks/stepper-progress-rE7tn7WY.js +0 -129
  720. package/dist/_chunks/stepper-progress-rE7tn7WY.js.map +0 -1
  721. package/dist/_chunks/suggestion-chip-BNJ2M8Os.js +0 -158
  722. package/dist/_chunks/suggestion-chip-BNJ2M8Os.js.map +0 -1
  723. package/dist/_chunks/switch-aN2EYxHh.js +0 -138
  724. package/dist/_chunks/switch-aN2EYxHh.js.map +0 -1
  725. package/dist/_chunks/tabs.agent-BpbVA-Zh.js.map +0 -1
  726. package/dist/_chunks/task-tray-BzahI5FQ.js +0 -100
  727. package/dist/_chunks/task-tray-BzahI5FQ.js.map +0 -1
  728. package/dist/_chunks/text-area-DmKSd2DG.js +0 -152
  729. package/dist/_chunks/text-area-DmKSd2DG.js.map +0 -1
  730. package/dist/_chunks/text-input-CRHvl5zk.js +0 -188
  731. package/dist/_chunks/text-input-CRHvl5zk.js.map +0 -1
  732. package/dist/_chunks/theme-toggle-BHiMMEQN.js +0 -329
  733. package/dist/_chunks/theme-toggle-BHiMMEQN.js.map +0 -1
  734. package/dist/_chunks/time-picker-D-EueWUG.js +0 -322
  735. package/dist/_chunks/time-picker-D-EueWUG.js.map +0 -1
  736. package/dist/_chunks/timeline-RgAIzpMd.js +0 -220
  737. package/dist/_chunks/timeline-RgAIzpMd.js.map +0 -1
  738. package/dist/_chunks/toast-lOhJDKOH.js.map +0 -1
  739. package/dist/_chunks/tooth-scheme.agent-BlDyu-Gx.js.map +0 -1
  740. package/dist/_chunks/transcript-panel-CNbVGG9L.js +0 -266
  741. package/dist/_chunks/transcript-panel-CNbVGG9L.js.map +0 -1
  742. package/dist/_chunks/workflow-map-XeqHDFvp.js.map +0 -1
@@ -1,428 +0,0 @@
1
- import { jsxs as u, jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as Ie, useContext as Re, useMemo as p, useState as R, useRef as T, useEffect as Pe, useLayoutEffect as ke, useCallback as X } from "react";
3
- import * as P from "@radix-ui/react-popover";
4
- import { R as Fe, _ as h } from "./index-4xgbg-sn.js";
5
- import { c as E } from "./index-D2ZczOXr.js";
6
- import { useTranslation as Ve } from "react-i18next";
7
- import { getCountries as je, parsePhoneNumberFromString as A, getCountryCallingCode as Be, AsYouType as ee } from "libphonenumber-js/min";
8
- import { u as De, F as Te } from "./form-field-context-94LwgYTQ.js";
9
- import { c as Ae } from "./compose-refs-C0k0tdqF.js";
10
- import { n as L } from "./normalize-diacritics-BNGbFNlJ.js";
11
- import { a as te } from "./flag-DZ6V7-hU.js";
12
- import { C as Le } from "./chevron-down-BX_NP2Yh.js";
13
- const Ee = E(
14
- [
15
- "ds:group ds:relative ds:inline-flex ds:items-stretch ds:w-full",
16
- "ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-background",
17
- "ds:text-foreground",
18
- "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
19
- "ds:focus-within:outline-[length:var(--focus-ring-width)] ds:focus-within:outline-solid",
20
- "ds:focus-within:outline-ring ds:focus-within:outline-offset-[length:var(--focus-ring-offset)]",
21
- "ds:forced-colors:focus-within:outline-[CanvasText]",
22
- "ds:has-[:disabled]:cursor-not-allowed ds:has-[:disabled]:opacity-50"
23
- ].join(" "),
24
- {
25
- variants: {
26
- size: {
27
- sm: "ds:h-8 ds:text-[length:var(--font-size-sm)]",
28
- md: "ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)]",
29
- lg: "ds:h-12 ds:text-[length:var(--font-size-lg)]"
30
- },
31
- tone: {
32
- default: "",
33
- error: "ds:border-destructive ds:focus-within:outline-destructive"
34
- }
35
- },
36
- defaultVariants: {
37
- size: "md",
38
- tone: "default"
39
- }
40
- }
41
- ), $e = E(
42
- [
43
- "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
44
- "ds:bg-transparent ds:text-foreground",
45
- "ds:border-0 ds:border-e ds:border-e-border",
46
- "ds:rounded-s-[var(--radius-sm)]",
47
- "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
48
- "ds:hover:bg-muted",
49
- "ds:focus:outline-none",
50
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
51
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
52
- "ds:forced-colors:focus-visible:outline-[CanvasText]",
53
- "ds:disabled:cursor-not-allowed"
54
- ].join(" "),
55
- {
56
- variants: {
57
- size: {
58
- sm: "ds:ps-3 ds:pe-2",
59
- md: "ds:ps-3 ds:pe-2",
60
- lg: "ds:ps-4 ds:pe-3"
61
- }
62
- },
63
- defaultVariants: { size: "md" }
64
- }
65
- ), qe = E(
66
- [
67
- "ds:flex-1 ds:min-w-0 ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
68
- "ds:border-0 ds:outline-none",
69
- "ds:disabled:cursor-not-allowed",
70
- "ds:read-only:cursor-default"
71
- ].join(" "),
72
- {
73
- variants: {
74
- size: {
75
- sm: "ds:ps-2 ds:pe-3 ds:text-[length:var(--font-size-sm)]",
76
- md: "ds:ps-2 ds:pe-3 ds:text-[length:var(--font-size-base)]",
77
- lg: "ds:ps-3 ds:pe-4 ds:text-[length:var(--font-size-lg)]"
78
- }
79
- },
80
- defaultVariants: { size: "md" }
81
- }
82
- ), Ge = [
83
- "ds:z-[var(--z-popover)] ds:overflow-hidden ds:w-72",
84
- "ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
85
- "ds:shadow-[var(--shadow-lg)]",
86
- "ds:animate-in ds:fade-in ds:zoom-in-95",
87
- "ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out",
88
- "ds:data-[state=closed]:zoom-out-95",
89
- "ds:data-[side=bottom]:slide-in-from-top-2",
90
- "ds:data-[side=top]:slide-in-from-bottom-2",
91
- "ds:motion-reduce:animate-none"
92
- ].join(" "), Me = [
93
- "ds:w-full ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
94
- "ds:border-0 ds:border-b ds:border-b-border ds:outline-none",
95
- "ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]",
96
- "ds:focus:outline-none"
97
- ].join(" "), Oe = "ds:max-h-72 ds:overflow-y-auto ds:p-[var(--spacing-xs)]", Ue = [
98
- "ds:relative ds:flex ds:cursor-pointer ds:items-center ds:gap-[var(--spacing-sm)]",
99
- "ds:rounded-[var(--radius-sm)] ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]",
100
- "ds:text-foreground ds:outline-none ds:select-none",
101
- "ds:data-[highlighted]:bg-muted ds:data-[highlighted]:text-foreground",
102
- "ds:data-[highlighted]:border-s-2 ds:data-[highlighted]:border-s-primary",
103
- "ds:aria-selected:bg-muted"
104
- ].join(" "), se = [
105
- "ds:ps-3 ds:pe-3 ds:py-1.5",
106
- "type-eyebrow ds:text-muted-foreground"
107
- ].join(" "), _e = "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", He = {
108
- sm: "ds:size-3.5",
109
- md: "ds:size-4",
110
- lg: "ds:size-5"
111
- }, ne = {
112
- sm: "sm",
113
- md: "md",
114
- lg: "lg"
115
- };
116
- function Ke(r, d) {
117
- let i = 0;
118
- for (let o = 0; o < d && o < r.length; o++)
119
- r[o] >= "0" && r[o] <= "9" && i++;
120
- return i;
121
- }
122
- function We(r, d) {
123
- if (d === 0) return 0;
124
- let i = 0;
125
- for (let o = 0; o < r.length; o++)
126
- if (r[o] >= "0" && r[o] <= "9" && (i++, i === d))
127
- return o + 1;
128
- return r.length;
129
- }
130
- function Ye(r, d, i, o) {
131
- if (r && d.has(r)) return r;
132
- if (i) {
133
- const g = typeof navigator < "u" ? navigator.language : void 0;
134
- if (g) {
135
- const n = g.match(/-([A-Za-z]{2})/);
136
- if (n) {
137
- const l = n[1].toUpperCase();
138
- if (d.has(l)) return l;
139
- }
140
- }
141
- try {
142
- const n = new Intl.Locale(o).region;
143
- if (n && d.has(n.toUpperCase()))
144
- return n.toUpperCase();
145
- } catch {
146
- }
147
- }
148
- return "IT";
149
- }
150
- function Ze(r, d) {
151
- let i;
152
- try {
153
- i = new Intl.DisplayNames([r], { type: "region" });
154
- } catch {
155
- i = new Intl.DisplayNames(["en"], { type: "region" });
156
- }
157
- const o = d.map((n) => ({
158
- code: n,
159
- name: i.of(n) ?? n,
160
- dialCode: Be(n)
161
- })), g = new Intl.Collator(r);
162
- return o.sort((n, l) => g.compare(n.name, l.name));
163
- }
164
- const Je = Ie(
165
- function({
166
- value: d,
167
- defaultValue: i,
168
- defaultCountry: o,
169
- detectBrowserCountry: g = !1,
170
- onChange: n,
171
- size: l = "md",
172
- tone: oe = "default",
173
- disabled: re,
174
- readOnly: $,
175
- placeholder: de,
176
- popularCountries: N,
177
- className: ae,
178
- id: ie,
179
- name: le,
180
- required: ce,
181
- "aria-label": ue
182
- }, fe) {
183
- const { t: b, i18n: k } = Ve(), v = De(), C = Re(Te) !== null, x = p(
184
- () => new Set(je()),
185
- []
186
- ), q = p(() => {
187
- const e = Ye(
188
- o,
189
- x,
190
- g,
191
- k.language
192
- ), t = d ?? i;
193
- if (t) {
194
- const s = A(t);
195
- return s != null && s.country ? {
196
- country: s.country,
197
- display: s.formatNational()
198
- } : { country: e, display: t };
199
- }
200
- return { country: e, display: "" };
201
- }, []), [f, G] = R(q.country), [M, z] = R(
202
- q.display
203
- ), [F, V] = R(!1), [me, O] = R(""), U = d !== void 0, _ = T(""), S = T(null), j = T(null), pe = Ae(fe, j);
204
- Pe(() => {
205
- if (!U) return;
206
- const e = d ?? "";
207
- if (e === _.current) return;
208
- if (e === "") {
209
- z("");
210
- return;
211
- }
212
- const t = A(e);
213
- t != null && t.country ? (G(t.country), z(t.formatNational())) : z(e);
214
- }, [d, U]), ke(() => {
215
- if (S.current == null) return;
216
- const e = S.current;
217
- S.current = null;
218
- const t = j.current;
219
- t && document.activeElement === t && t.setSelectionRange(e, e);
220
- });
221
- const H = X(
222
- (e, t) => {
223
- const s = A(e, t), c = (s == null ? void 0 : s.number) ?? "";
224
- _.current = c, n == null || n(c, {
225
- country: t,
226
- isValid: (s == null ? void 0 : s.isValid()) ?? !1,
227
- isPossible: (s == null ? void 0 : s.isPossible()) ?? !1,
228
- type: s == null ? void 0 : s.getType()
229
- });
230
- },
231
- [n]
232
- ), he = ie ?? (C ? v.id : void 0), K = (C ? v.disabled : !1) || !!re, ge = (C ? v.required : !1) || !!ce, W = C ? v.invalid : !1, be = W ? "error" : oe, ve = C && v.describedBy ? v.describedBy : void 0, ye = de ?? b("ui.inputs.phone.placeholder", "Phone number"), Ce = (e) => {
233
- if ($) return;
234
- const t = e.target, s = t.value, c = t.selectionStart ?? s.length, y = Ke(s, c), D = new ee(f).input(s);
235
- S.current = We(D, y), z(D), H(D, f);
236
- }, xe = (e) => {
237
- if (e === f) {
238
- V(!1);
239
- return;
240
- }
241
- const t = M.replace(/\D/g, ""), s = new ee(e), c = t ? s.input(t) : "";
242
- G(e), z(c), V(!1), O(""), H(c, e), requestAnimationFrame(() => {
243
- var y;
244
- (y = j.current) == null || y.focus();
245
- });
246
- }, m = p(
247
- () => Ze(
248
- k.language,
249
- Array.from(x)
250
- ),
251
- [k.language, x]
252
- ), w = p(() => {
253
- if (!N || N.length === 0) return [];
254
- const e = new Map(m.map((t) => [t.code, t]));
255
- return N.filter(
256
- (t) => x.has(t)
257
- ).map((t) => e.get(t)).filter((t) => !!t);
258
- }, [N, m, x]), B = p(
259
- () => new Set(w.map((e) => e.code)),
260
- [w]
261
- ), ze = p(
262
- () => B.size > 0 ? m.filter((e) => !B.has(e.code)) : m,
263
- [m, B]
264
- ), I = p(
265
- () => m.find((e) => e.code === f),
266
- [m, f]
267
- ), Y = I ? I.dialCode : "", we = I ? I.name : f, Z = b(
268
- "ui.inputs.phone.countryPickerLabel",
269
- "Country"
270
- ), Ne = `${Z}: ${we}, +${Y}`, Se = X(
271
- (e, t, s) => {
272
- const c = L(e), y = L(t), Q = s == null ? void 0 : s.map(L);
273
- return Fe(
274
- c,
275
- y,
276
- Q
277
- );
278
- },
279
- []
280
- ), J = (e) => {
281
- const t = `${e.name}, +${e.dialCode}`;
282
- return /* @__PURE__ */ u(
283
- h.Item,
284
- {
285
- value: e.code,
286
- keywords: [e.name, e.dialCode, `+${e.dialCode}`],
287
- onSelect: () => xe(e.code),
288
- className: Ue,
289
- "aria-label": t,
290
- children: [
291
- /* @__PURE__ */ a(te, { country: e.code, size: ne[l] }),
292
- /* @__PURE__ */ a("span", { className: "ds:flex-1 ds:truncate", children: e.name }),
293
- /* @__PURE__ */ u("bdi", { dir: "ltr", className: "ds:text-muted-foreground ds:tabular-nums", children: [
294
- "+",
295
- e.dialCode
296
- ] })
297
- ]
298
- },
299
- e.code
300
- );
301
- };
302
- return /* @__PURE__ */ u(
303
- "div",
304
- {
305
- "data-component": "phone-input",
306
- "data-slot": "phone-input",
307
- className: Ee({
308
- size: l,
309
- tone: be,
310
- className: ae
311
- }),
312
- children: [
313
- /* @__PURE__ */ u(P.Root, { open: F, onOpenChange: V, children: [
314
- /* @__PURE__ */ a(P.Trigger, { asChild: !0, children: /* @__PURE__ */ u(
315
- "button",
316
- {
317
- type: "button",
318
- disabled: K,
319
- "aria-haspopup": "listbox",
320
- "aria-expanded": F,
321
- "aria-label": Ne,
322
- className: $e({ size: l }),
323
- children: [
324
- /* @__PURE__ */ a(te, { country: f, size: ne[l] }),
325
- /* @__PURE__ */ u("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
326
- "+",
327
- Y
328
- ] }),
329
- /* @__PURE__ */ a(
330
- Le,
331
- {
332
- "aria-hidden": "true",
333
- className: [
334
- He[l],
335
- "ds:shrink-0 ds:text-muted-foreground",
336
- "ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
337
- F ? "ds:rotate-180" : ""
338
- ].join(" ")
339
- }
340
- )
341
- ]
342
- }
343
- ) }),
344
- /* @__PURE__ */ a(P.Portal, { children: /* @__PURE__ */ a(
345
- P.Content,
346
- {
347
- sideOffset: 6,
348
- align: "start",
349
- className: Ge,
350
- children: /* @__PURE__ */ u(h, { filter: Se, shouldFilter: !0, loop: !0, label: Z, children: [
351
- /* @__PURE__ */ a(
352
- h.Input,
353
- {
354
- asChild: !0,
355
- value: me,
356
- onValueChange: O,
357
- children: /* @__PURE__ */ a(
358
- "input",
359
- {
360
- "data-phone-country-search": "true",
361
- type: "text",
362
- autoComplete: "off",
363
- autoCorrect: "off",
364
- spellCheck: !1,
365
- placeholder: b(
366
- "ui.inputs.phone.searchCountry",
367
- "Search countries…"
368
- ),
369
- className: Me
370
- }
371
- )
372
- }
373
- ),
374
- /* @__PURE__ */ u(h.List, { className: Oe, children: [
375
- /* @__PURE__ */ a(h.Empty, { className: _e, children: b("ui.inputs.phone.noCountryFound", "No country found") }),
376
- w.length > 0 ? /* @__PURE__ */ a(
377
- h.Group,
378
- {
379
- heading: /* @__PURE__ */ a("span", { className: se, children: b("ui.inputs.phone.popularCountries", "Popular") }),
380
- children: w.map(J)
381
- }
382
- ) : null,
383
- /* @__PURE__ */ a(
384
- h.Group,
385
- {
386
- heading: w.length > 0 ? /* @__PURE__ */ a("span", { className: se, children: b("ui.inputs.phone.allCountries", "All countries") }) : void 0,
387
- children: ze.map(J)
388
- }
389
- )
390
- ] })
391
- ] })
392
- }
393
- ) })
394
- ] }),
395
- /* @__PURE__ */ a(
396
- "input",
397
- {
398
- ref: pe,
399
- id: he,
400
- name: le,
401
- type: "tel",
402
- inputMode: "tel",
403
- autoComplete: "tel-national",
404
- value: M,
405
- placeholder: ye,
406
- disabled: K,
407
- readOnly: $,
408
- required: ge,
409
- "aria-label": ue,
410
- "aria-describedby": ve,
411
- "aria-invalid": W || void 0,
412
- onChange: Ce,
413
- className: qe({ size: l })
414
- }
415
- )
416
- ]
417
- }
418
- );
419
- }
420
- );
421
- Je.displayName = "PhoneInput";
422
- export {
423
- Je as P,
424
- qe as a,
425
- $e as c,
426
- Ee as p
427
- };
428
- //# sourceMappingURL=phone-input-DE_39q65.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"phone-input-DE_39q65.js","sources":["../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["import {\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n type ChangeEvent,\n} from 'react';\nimport * as Popover from '@radix-ui/react-popover';\nimport { Command, defaultFilter } from 'cmdk';\nimport { cva } from 'class-variance-authority';\nimport { useTranslation } from 'react-i18next';\nimport { ChevronDown } from 'lucide-react';\nimport {\n AsYouType,\n getCountries,\n getCountryCallingCode,\n parsePhoneNumberFromString,\n type CountryCode,\n} from 'libphonenumber-js/min';\nimport {\n FormFieldContext,\n useFormField,\n} from '../form-field/form-field-context';\nimport { composeRefs } from '../_shared/compose-refs';\nimport { normalizeDiacritics } from '../_shared/normalize-diacritics';\nimport { Flag } from '../flag';\n\nexport interface PhoneInputChangeMeta {\n country: CountryCode;\n isValid: boolean;\n isPossible: boolean;\n type?: string;\n}\n\nexport interface PhoneInputProps {\n value?: string;\n defaultValue?: string;\n /**\n * Country pre-selected when no value is supplied. Defaults to `IT`\n * (AlfaDocs's dominant user base is Italian). Pass a different\n * `CountryCode` to override, or enable `detectBrowserCountry` to\n * derive it from the browser locale.\n */\n defaultCountry?: CountryCode;\n /**\n * When true, infer the default country from `navigator.language` /\n * `Intl.Locale` before falling back to `defaultCountry` (or `IT`).\n * Off by default — most AlfaDocs flows should stay on IT regardless\n * of the visitor's browser locale.\n */\n detectBrowserCountry?: boolean;\n onChange?: (e164: string, meta: PhoneInputChangeMeta) => void;\n size?: 'sm' | 'md' | 'lg';\n tone?: 'default' | 'error';\n disabled?: boolean;\n readOnly?: boolean;\n placeholder?: string;\n popularCountries?: CountryCode[];\n className?: string;\n id?: string;\n name?: string;\n required?: boolean;\n 'aria-label'?: string;\n}\n\nconst phoneInputWrapperVariants = cva(\n [\n 'ds:group ds:relative ds:inline-flex ds:items-stretch ds:w-full',\n 'ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-background',\n 'ds:text-foreground',\n 'ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none',\n 'ds:focus-within:outline-[length:var(--focus-ring-width)] ds:focus-within:outline-solid',\n 'ds:focus-within:outline-ring ds:focus-within:outline-offset-[length:var(--focus-ring-offset)]',\n 'ds:forced-colors:focus-within:outline-[CanvasText]',\n 'ds:has-[:disabled]:cursor-not-allowed ds:has-[:disabled]:opacity-50',\n ].join(' '),\n {\n variants: {\n size: {\n sm: 'ds:h-8 ds:text-[length:var(--font-size-sm)]',\n md: 'ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)]',\n lg: 'ds:h-12 ds:text-[length:var(--font-size-lg)]',\n },\n tone: {\n default: '',\n error: 'ds:border-destructive ds:focus-within:outline-destructive',\n },\n },\n defaultVariants: {\n size: 'md',\n tone: 'default',\n },\n },\n);\n\nconst countryTriggerVariants = cva(\n [\n 'ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]',\n 'ds:bg-transparent ds:text-foreground',\n 'ds:border-0 ds:border-e ds:border-e-border',\n 'ds:rounded-s-[var(--radius-sm)]',\n 'ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none',\n 'ds:hover:bg-muted',\n 'ds:focus:outline-none',\n 'ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid',\n 'ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]',\n 'ds:forced-colors:focus-visible:outline-[CanvasText]',\n 'ds:disabled:cursor-not-allowed',\n ].join(' '),\n {\n variants: {\n size: {\n sm: 'ds:ps-3 ds:pe-2',\n md: 'ds:ps-3 ds:pe-2',\n lg: 'ds:ps-4 ds:pe-3',\n },\n },\n defaultVariants: { size: 'md' },\n },\n);\n\nconst phoneNumberInputVariants = cva(\n [\n 'ds:flex-1 ds:min-w-0 ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground',\n 'ds:border-0 ds:outline-none',\n 'ds:disabled:cursor-not-allowed',\n 'ds:read-only:cursor-default',\n ].join(' '),\n {\n variants: {\n size: {\n sm: 'ds:ps-2 ds:pe-3 ds:text-[length:var(--font-size-sm)]',\n md: 'ds:ps-2 ds:pe-3 ds:text-[length:var(--font-size-base)]',\n lg: 'ds:ps-3 ds:pe-4 ds:text-[length:var(--font-size-lg)]',\n },\n },\n defaultVariants: { size: 'md' },\n },\n);\n\nconst pickerContentClasses = [\n 'ds:z-[var(--z-popover)] ds:overflow-hidden ds:w-72',\n 'ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground',\n 'ds:shadow-[var(--shadow-lg)]',\n 'ds:animate-in ds:fade-in ds:zoom-in-95',\n 'ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out',\n 'ds:data-[state=closed]:zoom-out-95',\n 'ds:data-[side=bottom]:slide-in-from-top-2',\n 'ds:data-[side=top]:slide-in-from-bottom-2',\n 'ds:motion-reduce:animate-none',\n].join(' ');\n\nconst pickerSearchClasses = [\n 'ds:w-full ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground',\n 'ds:border-0 ds:border-b ds:border-b-border ds:outline-none',\n 'ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]',\n 'ds:focus:outline-none',\n].join(' ');\n\nconst pickerListClasses = 'ds:max-h-72 ds:overflow-y-auto ds:p-[var(--spacing-xs)]';\n\nconst pickerItemClasses = [\n 'ds:relative ds:flex ds:cursor-pointer ds:items-center ds:gap-[var(--spacing-sm)]',\n 'ds:rounded-[var(--radius-sm)] ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]',\n 'ds:text-foreground ds:outline-none ds:select-none',\n 'ds:data-[highlighted]:bg-muted ds:data-[highlighted]:text-foreground',\n 'ds:data-[highlighted]:border-s-2 ds:data-[highlighted]:border-s-primary',\n 'ds:aria-selected:bg-muted',\n].join(' ');\n\nconst pickerGroupHeadingClasses = [\n 'ds:ps-3 ds:pe-3 ds:py-1.5',\n 'type-eyebrow ds:text-muted-foreground',\n].join(' ');\n\nconst pickerEmptyClasses = 'ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground';\n\nconst chevronSizeBySize = {\n sm: 'ds:size-3.5',\n md: 'ds:size-4',\n lg: 'ds:size-5',\n} as const;\n\nconst flagSizeBySize = {\n sm: 'sm',\n md: 'md',\n lg: 'lg',\n} as const satisfies Record<'sm' | 'md' | 'lg', 'sm' | 'md' | 'lg'>;\n\nfunction countDigitsBefore(str: string, position: number): number {\n let digits = 0;\n for (let i = 0; i < position && i < str.length; i++) {\n if (str[i] >= '0' && str[i] <= '9') digits++;\n }\n return digits;\n}\n\nfunction positionAfterDigits(str: string, targetDigits: number): number {\n if (targetDigits === 0) return 0;\n let count = 0;\n for (let i = 0; i < str.length; i++) {\n if (str[i] >= '0' && str[i] <= '9') {\n count++;\n if (count === targetDigits) return i + 1;\n }\n }\n return str.length;\n}\n\nfunction resolveDefaultCountry(\n explicit: CountryCode | undefined,\n supported: Set<string>,\n detectBrowser: boolean,\n locale: string,\n): CountryCode {\n if (explicit && supported.has(explicit)) return explicit;\n\n if (detectBrowser) {\n const fromNavigator =\n typeof navigator !== 'undefined' ? navigator.language : undefined;\n if (fromNavigator) {\n const match = fromNavigator.match(/-([A-Za-z]{2})/);\n if (match) {\n const candidate = match[1].toUpperCase();\n if (supported.has(candidate)) return candidate as CountryCode;\n }\n }\n\n try {\n const region = new Intl.Locale(locale).region;\n if (region && supported.has(region.toUpperCase())) {\n return region.toUpperCase() as CountryCode;\n }\n } catch {\n // Intl.Locale may throw on malformed BCP-47 — fall through.\n }\n }\n\n return 'IT';\n}\n\ninterface CountryRow {\n code: CountryCode;\n name: string;\n dialCode: string;\n}\n\nfunction buildCountryRows(\n locale: string,\n countries: CountryCode[],\n): CountryRow[] {\n let displayNames: Intl.DisplayNames;\n try {\n displayNames = new Intl.DisplayNames([locale], { type: 'region' });\n } catch {\n displayNames = new Intl.DisplayNames(['en'], { type: 'region' });\n }\n const rows = countries.map<CountryRow>((code) => ({\n code,\n name: displayNames.of(code) ?? code,\n dialCode: getCountryCallingCode(code),\n }));\n const collator = new Intl.Collator(locale);\n return rows.sort((a, b) => collator.compare(a.name, b.name));\n}\n\nexport const PhoneInput = forwardRef<HTMLInputElement, PhoneInputProps>(\n function PhoneInput(\n {\n value,\n defaultValue,\n defaultCountry,\n detectBrowserCountry = false,\n onChange,\n size = 'md',\n tone = 'default',\n disabled,\n readOnly,\n placeholder,\n popularCountries,\n className,\n id,\n name,\n required,\n 'aria-label': ariaLabel,\n },\n ref,\n ) {\n const { t, i18n } = useTranslation();\n const ctx = useFormField();\n const inFormField = useContext(FormFieldContext) !== null;\n\n const supportedCountries = useMemo(\n () => new Set(getCountries() as string[]),\n [],\n );\n\n const initialState = useMemo(() => {\n const resolvedCountry = resolveDefaultCountry(\n defaultCountry,\n supportedCountries,\n detectBrowserCountry,\n i18n.language,\n );\n const raw = value ?? defaultValue;\n if (raw) {\n const parsed = parsePhoneNumberFromString(raw);\n if (parsed?.country) {\n return {\n country: parsed.country,\n display: parsed.formatNational(),\n };\n }\n return { country: resolvedCountry, display: raw };\n }\n return { country: resolvedCountry, display: '' };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const [country, setCountry] = useState<CountryCode>(initialState.country);\n const [displayValue, setDisplayValue] = useState<string>(\n initialState.display,\n );\n const [pickerOpen, setPickerOpen] = useState(false);\n const [pickerSearch, setPickerSearch] = useState('');\n\n const isControlled = value !== undefined;\n const lastEmittedRef = useRef<string>('');\n const pendingCaretRef = useRef<number | null>(null);\n\n const inputRef = useRef<HTMLInputElement | null>(null);\n const composedInputRef = composeRefs(ref, inputRef);\n\n // Sync state back from a controlled `value` prop change that did not\n // originate from this component (e.g. parent reset). Skip the sync when\n // the incoming value matches what we just emitted.\n useEffect(() => {\n if (!isControlled) return;\n const current = value ?? '';\n if (current === lastEmittedRef.current) return;\n if (current === '') {\n setDisplayValue('');\n return;\n }\n const parsed = parsePhoneNumberFromString(current);\n if (parsed?.country) {\n setCountry(parsed.country);\n setDisplayValue(parsed.formatNational());\n } else {\n setDisplayValue(current);\n }\n }, [value, isControlled]);\n\n useLayoutEffect(() => {\n if (pendingCaretRef.current == null) return;\n const pos = pendingCaretRef.current;\n pendingCaretRef.current = null;\n const node = inputRef.current;\n if (node && document.activeElement === node) {\n node.setSelectionRange(pos, pos);\n }\n });\n\n const emit = useCallback(\n (nextDisplay: string, nextCountry: CountryCode) => {\n const parsed = parsePhoneNumberFromString(nextDisplay, nextCountry);\n const e164 = parsed?.number ?? '';\n lastEmittedRef.current = e164;\n onChange?.(e164, {\n country: nextCountry,\n isValid: parsed?.isValid() ?? false,\n isPossible: parsed?.isPossible() ?? false,\n type: parsed?.getType(),\n });\n },\n [onChange],\n );\n\n const inputId = id ?? (inFormField ? ctx.id : undefined);\n const effectiveDisabled =\n (inFormField ? ctx.disabled : false) || Boolean(disabled);\n const effectiveRequired =\n (inFormField ? ctx.required : false) || Boolean(required);\n const effectiveInvalid = inFormField ? ctx.invalid : false;\n const effectiveTone = effectiveInvalid ? 'error' : tone;\n const describedBy =\n inFormField && ctx.describedBy ? ctx.describedBy : undefined;\n\n const resolvedPlaceholder =\n placeholder ?? t('ui.inputs.phone.placeholder', 'Phone number');\n\n const handleInputChange = (event: ChangeEvent<HTMLInputElement>) => {\n if (readOnly) return;\n const target = event.target;\n const raw = target.value;\n const caret = target.selectionStart ?? raw.length;\n const digitsBefore = countDigitsBefore(raw, caret);\n\n const formatter = new AsYouType(country);\n const formatted = formatter.input(raw);\n\n pendingCaretRef.current = positionAfterDigits(formatted, digitsBefore);\n setDisplayValue(formatted);\n emit(formatted, country);\n };\n\n const handleCountrySelect = (nextCountry: CountryCode) => {\n if (nextCountry === country) {\n setPickerOpen(false);\n return;\n }\n const digits = displayValue.replace(/\\D/g, '');\n const formatter = new AsYouType(nextCountry);\n const reformatted = digits ? formatter.input(digits) : '';\n setCountry(nextCountry);\n setDisplayValue(reformatted);\n setPickerOpen(false);\n setPickerSearch('');\n emit(reformatted, nextCountry);\n requestAnimationFrame(() => {\n inputRef.current?.focus();\n });\n };\n\n const countryRows = useMemo(\n () =>\n buildCountryRows(\n i18n.language,\n Array.from(supportedCountries) as CountryCode[],\n ),\n [i18n.language, supportedCountries],\n );\n\n const popularRows = useMemo(() => {\n if (!popularCountries || popularCountries.length === 0) return [];\n const byCode = new Map(countryRows.map((row) => [row.code, row]));\n return popularCountries\n .filter((code): code is CountryCode =>\n supportedCountries.has(code),\n )\n .map((code) => byCode.get(code))\n .filter((row): row is CountryRow => Boolean(row));\n }, [popularCountries, countryRows, supportedCountries]);\n\n const popularCodes = useMemo(\n () => new Set(popularRows.map((row) => row.code)),\n [popularRows],\n );\n\n const remainingRows = useMemo(\n () =>\n popularCodes.size > 0\n ? countryRows.filter((row) => !popularCodes.has(row.code))\n : countryRows,\n [countryRows, popularCodes],\n );\n\n const selected = useMemo(\n () => countryRows.find((row) => row.code === country),\n [countryRows, country],\n );\n const selectedDialCode = selected ? selected.dialCode : '';\n const selectedName = selected ? selected.name : country;\n\n const triggerLabel = t(\n 'ui.inputs.phone.countryPickerLabel',\n 'Country',\n );\n const triggerAccessibleName = `${triggerLabel}: ${selectedName}, +${selectedDialCode}`;\n\n const filterFn = useCallback(\n (candidate: string, searchStr: string, keywords?: string[]) => {\n const normalizedCandidate = normalizeDiacritics(candidate);\n const normalizedSearch = normalizeDiacritics(searchStr);\n const normalizedKeywords = keywords?.map(normalizeDiacritics);\n return defaultFilter(\n normalizedCandidate,\n normalizedSearch,\n normalizedKeywords,\n );\n },\n [],\n );\n\n const renderRow = (row: CountryRow) => {\n const accessibleLabel = `${row.name}, +${row.dialCode}`;\n return (\n <Command.Item\n key={row.code}\n value={row.code}\n keywords={[row.name, row.dialCode, `+${row.dialCode}`]}\n onSelect={() => handleCountrySelect(row.code)}\n className={pickerItemClasses}\n aria-label={accessibleLabel}\n >\n <Flag country={row.code} size={flagSizeBySize[size]} />\n <span className=\"ds:flex-1 ds:truncate\">{row.name}</span>\n <bdi dir=\"ltr\" className=\"ds:text-muted-foreground ds:tabular-nums\">\n +{row.dialCode}\n </bdi>\n </Command.Item>\n );\n };\n\n return (\n <div\n data-component=\"phone-input\"\n data-slot=\"phone-input\"\n className={phoneInputWrapperVariants({\n size,\n tone: effectiveTone,\n className,\n })}\n >\n <Popover.Root open={pickerOpen} onOpenChange={setPickerOpen}>\n <Popover.Trigger asChild>\n <button\n type=\"button\"\n disabled={effectiveDisabled}\n aria-haspopup=\"listbox\"\n aria-expanded={pickerOpen}\n aria-label={triggerAccessibleName}\n className={countryTriggerVariants({ size })}\n >\n <Flag country={country} size={flagSizeBySize[size]} />\n <bdi dir=\"ltr\" className=\"ds:tabular-nums\">\n +{selectedDialCode}\n </bdi>\n <ChevronDown\n aria-hidden=\"true\"\n className={[\n chevronSizeBySize[size],\n 'ds:shrink-0 ds:text-muted-foreground',\n 'ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none',\n pickerOpen ? 'ds:rotate-180' : '',\n ].join(' ')}\n />\n </button>\n </Popover.Trigger>\n <Popover.Portal>\n <Popover.Content\n sideOffset={6}\n align=\"start\"\n className={pickerContentClasses}\n >\n <Command filter={filterFn} shouldFilter loop label={triggerLabel}>\n <Command.Input\n asChild\n value={pickerSearch}\n onValueChange={setPickerSearch}\n >\n <input\n data-phone-country-search=\"true\"\n type=\"text\"\n autoComplete=\"off\"\n autoCorrect=\"off\"\n spellCheck={false}\n placeholder={t(\n 'ui.inputs.phone.searchCountry',\n 'Search countries…',\n )}\n className={pickerSearchClasses}\n />\n </Command.Input>\n <Command.List className={pickerListClasses}>\n <Command.Empty className={pickerEmptyClasses}>\n {t('ui.inputs.phone.noCountryFound', 'No country found')}\n </Command.Empty>\n {popularRows.length > 0 ? (\n <Command.Group\n heading={\n <span className={pickerGroupHeadingClasses}>\n {t('ui.inputs.phone.popularCountries', 'Popular')}\n </span>\n }\n >\n {popularRows.map(renderRow)}\n </Command.Group>\n ) : null}\n <Command.Group\n heading={\n popularRows.length > 0 ? (\n <span className={pickerGroupHeadingClasses}>\n {t('ui.inputs.phone.allCountries', 'All countries')}\n </span>\n ) : undefined\n }\n >\n {remainingRows.map(renderRow)}\n </Command.Group>\n </Command.List>\n </Command>\n </Popover.Content>\n </Popover.Portal>\n </Popover.Root>\n <input\n ref={composedInputRef}\n id={inputId}\n name={name}\n type=\"tel\"\n inputMode=\"tel\"\n autoComplete=\"tel-national\"\n value={displayValue}\n placeholder={resolvedPlaceholder}\n disabled={effectiveDisabled}\n readOnly={readOnly}\n required={effectiveRequired}\n aria-label={ariaLabel}\n aria-describedby={describedBy}\n aria-invalid={effectiveInvalid || undefined}\n onChange={handleInputChange}\n className={phoneNumberInputVariants({ size })}\n />\n </div>\n );\n },\n);\n\nPhoneInput.displayName = 'PhoneInput';\n\nexport {\n phoneInputWrapperVariants,\n countryTriggerVariants,\n phoneNumberInputVariants,\n};\n"],"names":["phoneInputWrapperVariants","cva","countryTriggerVariants","phoneNumberInputVariants","pickerContentClasses","pickerSearchClasses","pickerListClasses","pickerItemClasses","pickerGroupHeadingClasses","pickerEmptyClasses","chevronSizeBySize","flagSizeBySize","countDigitsBefore","str","position","digits","i","positionAfterDigits","targetDigits","count","resolveDefaultCountry","explicit","supported","detectBrowser","locale","fromNavigator","match","candidate","region","buildCountryRows","countries","displayNames","rows","code","getCountryCallingCode","collator","a","b","PhoneInput","forwardRef","value","defaultValue","defaultCountry","detectBrowserCountry","onChange","size","tone","disabled","readOnly","placeholder","popularCountries","className","id","name","required","ariaLabel","ref","t","i18n","useTranslation","ctx","useFormField","inFormField","useContext","FormFieldContext","supportedCountries","useMemo","getCountries","initialState","resolvedCountry","raw","parsed","parsePhoneNumberFromString","country","setCountry","useState","displayValue","setDisplayValue","pickerOpen","setPickerOpen","pickerSearch","setPickerSearch","isControlled","lastEmittedRef","useRef","pendingCaretRef","inputRef","composedInputRef","composeRefs","useEffect","current","useLayoutEffect","pos","node","emit","useCallback","nextDisplay","nextCountry","e164","inputId","effectiveDisabled","effectiveRequired","effectiveInvalid","effectiveTone","describedBy","resolvedPlaceholder","handleInputChange","event","target","caret","digitsBefore","formatted","AsYouType","handleCountrySelect","formatter","reformatted","_a","countryRows","popularRows","byCode","row","popularCodes","remainingRows","selected","selectedDialCode","selectedName","triggerLabel","triggerAccessibleName","filterFn","searchStr","keywords","normalizedCandidate","normalizeDiacritics","normalizedSearch","normalizedKeywords","defaultFilter","renderRow","accessibleLabel","jsxs","Command","jsx","Flag","Popover","ChevronDown"],"mappings":";;;;;;;;;;;;AAqEA,MAAMA,KAA4BC;AAAA,EAChC;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,GAAG;AAAA,EACV;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA;AAAA,MAEN,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,IAEF,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ,GAEMC,KAAyBD;AAAA,EAC7B;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,GAAG;AAAA,EACV;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA;AAAA,IACN;AAAA,IAEF,iBAAiB,EAAE,MAAM,KAAA;AAAA,EAAK;AAElC,GAEME,KAA2BF;AAAA,EAC/B;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,GAAG;AAAA,EACV;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA;AAAA,IACN;AAAA,IAEF,iBAAiB,EAAE,MAAM,KAAA;AAAA,EAAK;AAElC,GAEMG,KAA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