@alfadocs/ui-kit 1.66.0 → 1.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/dist/_chunks/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
  4. package/dist/_chunks/ai-credits-exhausted-notice-Bg8NpW2K.js +287 -0
  5. package/dist/_chunks/ai-credits-exhausted-notice.agent-DgTSTgez.js +43 -0
  6. package/dist/_chunks/ai-credits-notice-DQ-r3iQU.js +191 -0
  7. package/dist/_chunks/{ai-permission-notice-DpRmZ9Q3.js → ai-permission-notice-C00i6VhY.js} +2 -2
  8. package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
  9. package/dist/_chunks/{alert-DdDpOi-P.js → alert-9kEwDza3.js} +122 -111
  10. package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
  11. package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
  12. package/dist/_chunks/{anamnesis-summary-rows-BIfw890v.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
  13. package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
  14. package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
  15. package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
  16. package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
  17. package/dist/_chunks/{audio-recorder-DR-u1qbl.js → audio-recorder-4Ll0pwYK.js} +3 -3
  18. package/dist/_chunks/{auth-form-parts-Cmb41LSQ.js → auth-form-parts-B40zvD-a.js} +2 -2
  19. package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
  20. package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
  21. package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
  22. package/dist/_chunks/{booking-DkjatiXc.js → booking-B1pDbERi.js} +377 -335
  23. package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
  24. package/dist/_chunks/{calendar-workspace-Cp8yTZ1g.js → calendar-workspace-CYK1M83j.js} +19 -19
  25. package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
  26. package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
  27. package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
  28. package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
  29. package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
  30. package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
  31. package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
  32. package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
  33. package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
  34. package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
  35. package/dist/_chunks/{document-preview-B1dQm292.js → document-preview-513f3iPn.js} +4 -4
  36. package/dist/_chunks/{document-scanner-CVPVLK7z.js → document-scanner-Bd3wbzpI.js} +2 -2
  37. package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
  38. package/dist/_chunks/{entity-summary-BQ9_KA8S.js → entity-summary-C2B8yNmc.js} +4 -4
  39. package/dist/_chunks/{error-summary-DrUfuKu1.js → error-summary-mGxIyDAY.js} +2 -2
  40. package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
  41. package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
  42. package/dist/_chunks/{forgot-password-form-CgZkEvZy.js → forgot-password-form-Dqi7R-NL.js} +4 -4
  43. package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
  44. package/dist/_chunks/{freemium-paywall-DKJHRFpp.js → freemium-paywall-C73C8Rgd.js} +2 -2
  45. package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
  46. package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
  47. package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
  48. package/dist/_chunks/help-me-write-templates-5WkUfvc_.js +687 -0
  49. package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
  50. package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
  51. package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
  52. package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
  53. package/dist/_chunks/{login-dev-card-PnADNcI9.js → login-dev-card-vEL-o5wq.js} +3 -3
  54. package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
  55. package/dist/_chunks/{marketplace-app-shell-C-2e4eCD.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
  56. package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
  57. package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
  58. package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
  59. package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
  60. package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
  61. package/dist/_chunks/{notes-panel-uEGIL7mi.js → notes-panel-BXN46XkF.js} +6 -6
  62. package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
  63. package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
  64. package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
  65. package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
  66. package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
  67. package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
  68. package/dist/_chunks/{patient-details-4P1vA9Ls.js → patient-details-C4Dyo7Ck.js} +4 -4
  69. package/dist/_chunks/{patient-field-row-CBXhlfGD.js → patient-field-row-DROvUkFu.js} +155 -176
  70. package/dist/_chunks/{patient-search-DOnDUVsl.js → patient-search-BADdx3M1.js} +2 -2
  71. package/dist/_chunks/{patient-summary-card-CuDLo8MP.js → patient-summary-card-CAimxbuI.js} +4 -4
  72. package/dist/_chunks/{payment-automation-upsell-C8MEu0t6.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
  73. package/dist/_chunks/{payment-form-C3dGY7v4.js → payment-form-PBuh8PIa.js} +2 -2
  74. package/dist/_chunks/{pdf-viewer-DJ9VN7cu.js → pdf-viewer-gAsNUsA8.js} +2 -2
  75. package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
  76. package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
  77. package/dist/_chunks/{practice-results-8h2Utpt3.js → practice-results-BzThnpnm.js} +328 -298
  78. package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
  79. package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
  80. package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
  81. package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
  82. package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
  83. package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
  84. package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
  85. package/dist/_chunks/{registration-form-BQyT_kBX.js → registration-form-1B0PTDal.js} +4 -4
  86. package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
  87. package/dist/_chunks/{rich-text-editor-M2gT_E7f.js → rich-text-editor-56dSsyZI.js} +1653 -1743
  88. package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
  89. package/dist/_chunks/{sign-document-CY7xTXbm.js → sign-document-BiOTs1P4.js} +2 -2
  90. package/dist/_chunks/{signature-request-BMCHy2ZO.js → signature-request-DAmNj_uq.js} +5 -5
  91. package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
  92. package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
  93. package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
  94. package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
  95. package/dist/_chunks/{task-editor-CifOznfq.js → task-editor-BomyxGoZ.js} +8 -8
  96. package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
  97. package/dist/_chunks/{tasks-panel-8nLwBw6P.js → tasks-panel-ATz9JDy8.js} +6 -6
  98. package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
  99. package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
  100. package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
  101. package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
  102. package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
  103. package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
  104. package/dist/_chunks/{use-appointment-details-read-B-FEWbQM.js → use-appointment-details-read-CUGfE0hV.js} +13 -13
  105. package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
  106. package/dist/_chunks/voice-control-panel-B8Lrk0C4.js +1148 -0
  107. package/dist/_chunks/{warning-stack-HYWAytZV.js → warning-stack-BhHUmRiD.js} +2 -2
  108. package/dist/_chunks/{workflow-map-C2B2qIr1.js → workflow-map-ln4_OG8A.js} +2 -2
  109. package/dist/agent-catalog.json +221 -6
  110. package/dist/agent-i18n/en.json +32 -5
  111. package/dist/components/_shared/format-number.d.ts +20 -0
  112. package/dist/components/_shared/length-token.d.ts +12 -0
  113. package/dist/components/_shared/option.d.ts +1 -0
  114. package/dist/components/address-fields/index.js +1 -1
  115. package/dist/components/agenda-card/index.js +1 -1
  116. package/dist/components/agenda-tray/index.js +1 -1
  117. package/dist/components/ai-credits-notice/ai-credits-exhausted-notice.agent.d.ts +4 -0
  118. package/dist/components/ai-credits-notice/ai-credits-exhausted-notice.d.ts +96 -0
  119. package/dist/components/ai-credits-notice/ai-credits-notice.d.ts +30 -4
  120. package/dist/components/ai-credits-notice/index.d.ts +3 -0
  121. package/dist/components/ai-credits-notice/index.js +10 -4
  122. package/dist/components/ai-permission-notice/index.js +1 -1
  123. package/dist/components/ai-prompt-input/index.js +1 -1
  124. package/dist/components/alert/alert.d.ts +26 -0
  125. package/dist/components/alert/index.js +1 -1
  126. package/dist/components/anamnesis-summary-card/index.js +1 -1
  127. package/dist/components/appointment-card/index.js +2 -2
  128. package/dist/components/appointment-details-panel/index.js +1 -1
  129. package/dist/components/appointment-peek/index.js +1 -1
  130. package/dist/components/appointment-timeline/index.js +1 -1
  131. package/dist/components/audio-recorder/index.js +1 -1
  132. package/dist/components/avatar/avatar.d.ts +2 -0
  133. package/dist/components/avatar/index.js +1 -1
  134. package/dist/components/bishop-score/index.js +1 -1
  135. package/dist/components/booking/index.js +1 -1
  136. package/dist/components/calendar/index.js +1 -1
  137. package/dist/components/chat-message/index.js +1 -1
  138. package/dist/components/clinical-note-card/index.js +1 -1
  139. package/dist/components/color-picker/index.js +1 -1
  140. package/dist/components/combobox/index.js +1 -1
  141. package/dist/components/contact-profile-card/index.js +1 -1
  142. package/dist/components/control-room-rail/index.js +1 -1
  143. package/dist/components/country-select/index.js +1 -1
  144. package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
  145. package/dist/components/dashboard-grid/index.js +1 -1
  146. package/dist/components/data-table/index.js +2 -2
  147. package/dist/components/dependent-selector/index.js +1 -1
  148. package/dist/components/document-preview/index.js +1 -1
  149. package/dist/components/document-scanner/index.js +1 -1
  150. package/dist/components/editable-description/index.js +1 -1
  151. package/dist/components/entity-summary/index.js +1 -1
  152. package/dist/components/error-summary/index.js +1 -1
  153. package/dist/components/face-scheme/index.js +1 -1
  154. package/dist/components/file-manager/index.js +1 -1
  155. package/dist/components/freemium-paywall/index.js +1 -1
  156. package/dist/components/gestational-age-calculator/index.js +1 -1
  157. package/dist/components/header-settings/index.js +1 -1
  158. package/dist/components/heatmap/index.js +1 -1
  159. package/dist/components/index.d.ts +4 -2
  160. package/dist/components/map-view/index.d.ts +1 -1
  161. package/dist/components/map-view/index.js +1 -1
  162. package/dist/components/map-view/map-view.d.ts +51 -0
  163. package/dist/components/message-card/index.js +1 -1
  164. package/dist/components/message-tray/index.js +1 -1
  165. package/dist/components/multi-select/index.js +1 -1
  166. package/dist/components/muscle-scheme/index.js +1 -1
  167. package/dist/components/note-timeline/index.js +1 -1
  168. package/dist/components/notes-panel/index.js +1 -1
  169. package/dist/components/notice-group/index.d.ts +3 -0
  170. package/dist/components/notice-group/index.js +6 -0
  171. package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
  172. package/dist/components/notice-group/notice-group.d.ts +43 -0
  173. package/dist/components/notification-tray/index.js +1 -1
  174. package/dist/components/operator-hero/index.js +1 -1
  175. package/dist/components/optical-prescription/index.js +1 -1
  176. package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
  177. package/dist/components/panel-header/index.js +1 -1
  178. package/dist/components/panel-header/panel-header.d.ts +10 -0
  179. package/dist/components/panel-subview/index.js +1 -1
  180. package/dist/components/patient-details/index.js +1 -1
  181. package/dist/components/patient-search/index.js +1 -1
  182. package/dist/components/patient-summary-card/index.js +1 -1
  183. package/dist/components/patient-table/index.js +1 -1
  184. package/dist/components/payment-form/index.js +1 -1
  185. package/dist/components/pdf-viewer/index.js +1 -1
  186. package/dist/components/periodontal-risk-chart/index.js +1 -1
  187. package/dist/components/practice-profile-hero/index.js +1 -1
  188. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
  189. package/dist/components/practice-results/index.js +1 -1
  190. package/dist/components/practice-results/practice-results.d.ts +10 -2
  191. package/dist/components/pregnancy-dating/index.js +1 -1
  192. package/dist/components/product-hub-tray/index.js +1 -1
  193. package/dist/components/progress-notice/index.d.ts +3 -0
  194. package/dist/components/progress-notice/index.js +6 -0
  195. package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
  196. package/dist/components/progress-notice/progress-notice.d.ts +81 -0
  197. package/dist/components/province-select/index.js +1 -1
  198. package/dist/components/radiograph-panel/index.js +1 -1
  199. package/dist/components/rating/index.js +1 -1
  200. package/dist/components/reviews-panel/index.js +1 -1
  201. package/dist/components/rich-text-editor/index.js +2 -2
  202. package/dist/components/select/index.js +1 -1
  203. package/dist/components/select/select.d.ts +6 -0
  204. package/dist/components/sign-document/index.js +1 -1
  205. package/dist/components/skeleton/index.d.ts +1 -1
  206. package/dist/components/skeleton/index.js +1 -1
  207. package/dist/components/skeleton/skeleton.d.ts +41 -1
  208. package/dist/components/skeleton-scheme/index.js +1 -1
  209. package/dist/components/slot-grid/index.js +1 -1
  210. package/dist/components/tabs/index.js +1 -1
  211. package/dist/components/task-card/index.js +1 -1
  212. package/dist/components/task-editor/index.js +1 -1
  213. package/dist/components/task-tray/index.js +1 -1
  214. package/dist/components/tasks-panel/index.js +1 -1
  215. package/dist/components/theme-toggle/index.js +1 -1
  216. package/dist/components/timeline/index.js +1 -1
  217. package/dist/components/tool-rail/index.js +1 -1
  218. package/dist/components/transcript-panel/index.js +1 -1
  219. package/dist/components/treatment-receipt/index.js +1 -1
  220. package/dist/components/unit-converter/index.js +1 -1
  221. package/dist/components/voice-control-panel/index.d.ts +2 -1
  222. package/dist/components/voice-control-panel/index.js +1 -1
  223. package/dist/components/voice-control-panel/voice-control-panel.d.ts +43 -3
  224. package/dist/components/warning-stack/index.js +1 -1
  225. package/dist/components/workflow/index.js +1 -1
  226. package/dist/hooks/index.d.ts +1 -0
  227. package/dist/hooks/index.js +81 -76
  228. package/dist/hooks/use-dismissed.d.ts +58 -0
  229. package/dist/i18n/locales/ar.d.ts +49 -12
  230. package/dist/i18n/locales/ar.js +49 -12
  231. package/dist/i18n/locales/de.d.ts +49 -12
  232. package/dist/i18n/locales/de.js +49 -12
  233. package/dist/i18n/locales/el.d.ts +49 -12
  234. package/dist/i18n/locales/el.js +49 -12
  235. package/dist/i18n/locales/en.d.ts +49 -12
  236. package/dist/i18n/locales/en.js +49 -12
  237. package/dist/i18n/locales/es.d.ts +49 -12
  238. package/dist/i18n/locales/es.js +49 -12
  239. package/dist/i18n/locales/fr.d.ts +49 -12
  240. package/dist/i18n/locales/fr.js +49 -12
  241. package/dist/i18n/locales/hi.d.ts +49 -12
  242. package/dist/i18n/locales/hi.js +49 -12
  243. package/dist/i18n/locales/it.d.ts +49 -12
  244. package/dist/i18n/locales/it.js +49 -12
  245. package/dist/i18n/locales/ja.d.ts +49 -12
  246. package/dist/i18n/locales/ja.js +49 -12
  247. package/dist/i18n/locales/nl.d.ts +49 -12
  248. package/dist/i18n/locales/nl.js +49 -12
  249. package/dist/i18n/locales/pl.d.ts +49 -12
  250. package/dist/i18n/locales/pl.js +49 -12
  251. package/dist/i18n/locales/pt.d.ts +49 -12
  252. package/dist/i18n/locales/pt.js +49 -12
  253. package/dist/i18n/locales/ro.d.ts +49 -12
  254. package/dist/i18n/locales/ro.js +49 -12
  255. package/dist/i18n/locales/ru.d.ts +49 -12
  256. package/dist/i18n/locales/ru.js +49 -12
  257. package/dist/i18n/locales/sq.d.ts +49 -12
  258. package/dist/i18n/locales/sq.js +49 -12
  259. package/dist/i18n/locales/sv.d.ts +49 -12
  260. package/dist/i18n/locales/sv.js +49 -12
  261. package/dist/i18n/locales/tr.d.ts +49 -12
  262. package/dist/i18n/locales/tr.js +49 -12
  263. package/dist/i18n/locales/zh.d.ts +49 -12
  264. package/dist/i18n/locales/zh.js +49 -12
  265. package/dist/index.js +1193 -1177
  266. package/dist/locales/ar.json +49 -12
  267. package/dist/locales/de.json +49 -12
  268. package/dist/locales/el.json +49 -12
  269. package/dist/locales/en.json +49 -12
  270. package/dist/locales/es.json +49 -12
  271. package/dist/locales/fr.json +49 -12
  272. package/dist/locales/hi.json +49 -12
  273. package/dist/locales/it.json +49 -12
  274. package/dist/locales/ja.json +49 -12
  275. package/dist/locales/nl.json +49 -12
  276. package/dist/locales/pl.json +49 -12
  277. package/dist/locales/pt.json +49 -12
  278. package/dist/locales/ro.json +49 -12
  279. package/dist/locales/ru.json +49 -12
  280. package/dist/locales/sq.json +49 -12
  281. package/dist/locales/sv.json +49 -12
  282. package/dist/locales/tr.json +49 -12
  283. package/dist/locales/zh.json +49 -12
  284. package/dist/patterns/alia-assistant/index.js +1 -1
  285. package/dist/patterns/anamnesis/index.js +1 -1
  286. package/dist/patterns/calendar/index.js +1 -1
  287. package/dist/patterns/forgot-password-form/index.js +1 -1
  288. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +6 -23
  289. package/dist/patterns/help-me-write-templates/index.js +8 -7
  290. package/dist/patterns/login-form/index.js +1 -1
  291. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  292. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  293. package/dist/patterns/registration-form/index.js +1 -1
  294. package/dist/patterns/signature-request/index.js +1 -1
  295. package/dist/tokens.css +1 -1
  296. package/package.json +9 -1
  297. package/dist/_chunks/ai-credits-notice-pK9BOmEz.js +0 -90
  298. package/dist/_chunks/ai-credits-notice.agent-C9L7orrP.js +0 -17
  299. package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
  300. package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
  301. package/dist/_chunks/help-me-write-templates-DFmqnsAa.js +0 -747
  302. package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
  303. package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
  304. package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
  305. package/dist/_chunks/voice-control-panel-C0BfY23Y.js +0 -1009
@@ -1,22 +1,22 @@
1
1
  import { jsx as e, jsxs as m } from "react/jsx-runtime";
2
- import { forwardRef as f, useContext as pe, useId as ce, useState as H, useRef as _, useEffect as Pe, useMemo as De, createContext as Ae } from "react";
3
- import { u as Fe } from "./registry-DvAUVLHh.js";
2
+ import { forwardRef as f, useContext as fe, useId as pe, useState as M, useRef as _, useEffect as Ae, useMemo as De, createContext as Fe } from "react";
3
+ import { u as Le } from "./registry-DvAUVLHh.js";
4
4
  import * as n from "@radix-ui/react-select";
5
- import { c as U } from "./index-D2ZczOXr.js";
6
- import { useTranslation as Le } from "react-i18next";
7
- import { u as Ge, F as Ke, a as We } from "./form-field-context-DtiROUJV.js";
8
- import { g as $e } from "./group-options-BvKhQ3xb.js";
9
- import { u as qe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
10
- import { u as He } from "./use-controllable-state-BiY4xTzM.js";
11
- import { b as Me } from "./menu-row-BAr8bx1I.js";
12
- import { P as Ue } from "./popup-region-qz_5_A0V.js";
13
- import { o as ue, b as Xe, d as Je, c as Qe } from "./option-row-Dc7BrbK8.js";
14
- import { C as Ye } from "./chevron-up-umRGgtJA.js";
15
- import { C as me } from "./chevron-down-DWE7GSq9.js";
16
- import { C as Ze } from "./check-DrFSN__t.js";
17
- import { u as et } from "./use-direction-Dp8h70PP.js";
18
- import { X as tt } from "./x-B5YnXwCz.js";
19
- const st = {
5
+ import { c as J } from "./index-D2ZczOXr.js";
6
+ import { useTranslation as Ge } from "react-i18next";
7
+ import { u as Ke, F as We, a as $e } from "./form-field-context-DtiROUJV.js";
8
+ import { g as qe } from "./group-options-BvKhQ3xb.js";
9
+ import { u as He } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
10
+ import { u as Me } from "./use-controllable-state-BiY4xTzM.js";
11
+ import { b as Ue } from "./menu-row-BAr8bx1I.js";
12
+ import { P as Xe } from "./popup-region-qz_5_A0V.js";
13
+ import { o as U, b as Je, d as Qe, c as Ye } from "./option-row-Dc7BrbK8.js";
14
+ import { C as Ze } from "./chevron-up-umRGgtJA.js";
15
+ import { C as ge } from "./chevron-down-DWE7GSq9.js";
16
+ import { C as et } from "./check-DrFSN__t.js";
17
+ import { u as tt } from "./use-direction-Dp8h70PP.js";
18
+ import { X as st } from "./x-B5YnXwCz.js";
19
+ const at = {
20
20
  id: "select",
21
21
  // Persisted single choice (value state + set_value) → select_single + set_value,
22
22
  // plus open/close of the option list.
@@ -100,7 +100,7 @@ const st = {
100
100
  description: "Stable opaque option value emitted on each rendered option."
101
101
  }
102
102
  }
103
- }, fe = U(
103
+ }, he = J(
104
104
  [
105
105
  "ds:group ds:inline-flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:w-full",
106
106
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)] ds:bg-input",
@@ -130,7 +130,7 @@ const st = {
130
130
  tone: "default"
131
131
  }
132
132
  }
133
- ), at = U(
133
+ ), ot = J(
134
134
  [
135
135
  "ds:z-[var(--z-dropdown)] ds:overflow-hidden",
136
136
  // Never wider than the screen allows: a long option wraps or ends in an
@@ -145,12 +145,12 @@ const st = {
145
145
  "ds:data-[side=top]:slide-in-from-bottom-2",
146
146
  "ds:motion-reduce:animate-none"
147
147
  ].join(" ")
148
- ), ot = U(
148
+ ), nt = J(
149
149
  [
150
150
  "ds:relative ds:flex ds:cursor-pointer ds:items-center",
151
151
  "ds:rounded-[var(--radius-sm)]",
152
152
  "ds:text-foreground ds:outline-none ds:select-none",
153
- Me.highlighted,
153
+ Ue.highlighted,
154
154
  "ds:data-[disabled]:pointer-events-none ds:data-[disabled]:opacity-50"
155
155
  ].join(" "),
156
156
  {
@@ -165,11 +165,11 @@ const st = {
165
165
  size: "md"
166
166
  }
167
167
  }
168
- ), nt = [
168
+ ), rt = [
169
169
  "ds:ps-8 ds:pe-3 ds:py-1.5",
170
170
  "type-eyebrow ds:text-muted-foreground",
171
171
  "ds:sticky ds:top-0 ds:bg-background"
172
- ].join(" "), rt = {
172
+ ].join(" "), dt = {
173
173
  sm: "ds:size-3.5",
174
174
  md: "ds:size-4",
175
175
  lg: "ds:size-5"
@@ -178,80 +178,80 @@ const st = {
178
178
  md: "ds:start-2",
179
179
  lg: "ds:start-3"
180
180
  };
181
- function dt(...t) {
181
+ function lt(...t) {
182
182
  return (a) => {
183
183
  for (const o of t)
184
184
  o && (typeof o == "function" ? o(a) : o.current = a);
185
185
  };
186
186
  }
187
- const X = Ae(void 0), ge = ({
187
+ const Q = Fe(void 0), ve = ({
188
188
  open: t,
189
189
  defaultOpen: a,
190
190
  onOpenChange: o,
191
191
  ...r
192
192
  }) => {
193
- const [l, d] = He({
193
+ const [l, i] = Me({
194
194
  value: t,
195
195
  defaultValue: a ?? !1,
196
196
  onChange: o
197
197
  });
198
- return /* @__PURE__ */ e(X.Provider, { value: l ?? !1, children: /* @__PURE__ */ e(
198
+ return /* @__PURE__ */ e(Q.Provider, { value: l ?? !1, children: /* @__PURE__ */ e(
199
199
  n.Root,
200
200
  {
201
201
  open: l ?? !1,
202
- onOpenChange: d,
202
+ onOpenChange: i,
203
203
  ...r
204
204
  }
205
205
  ) });
206
206
  };
207
- ge.displayName = "Select.Root";
208
- const he = f(
209
- ({ size: t, tone: a, className: o, children: r, ...l }, d) => /* @__PURE__ */ e(
207
+ ve.displayName = "Select.Root";
208
+ const be = f(
209
+ ({ size: t, tone: a, className: o, children: r, ...l }, i) => /* @__PURE__ */ e(
210
210
  n.Trigger,
211
211
  {
212
- ref: d,
213
- className: fe({ size: t, tone: a, className: o }),
212
+ ref: i,
213
+ className: he({ size: t, tone: a, className: o }),
214
214
  ...l,
215
215
  children: r
216
216
  }
217
217
  )
218
218
  );
219
- he.displayName = "Select.Trigger";
220
- const M = { "data-select-value": "" }, lt = [
219
+ be.displayName = "Select.Trigger";
220
+ const X = { "data-select-value": "" }, me = [
221
221
  "ds:[[data-select-value]_&]:block",
222
222
  "ds:[[data-select-value]_&]:truncate"
223
- ].join(" "), ve = f((t, a) => /* @__PURE__ */ e(n.Value, { ref: a, ...M, ...t }));
224
- ve.displayName = "Select.Value";
225
- const J = f(
223
+ ].join(" "), ye = f((t, a) => /* @__PURE__ */ e(n.Value, { ref: a, ...X, ...t }));
224
+ ye.displayName = "Select.Value";
225
+ const Y = f(
226
226
  ({
227
227
  className: t,
228
228
  children: a,
229
229
  position: o = "popper",
230
230
  sideOffset: r = 4,
231
231
  container: l,
232
- ...d
233
- }, N) => {
234
- const I = pe(X);
235
- return /* @__PURE__ */ e(n.Portal, { container: l ?? void 0, children: /* @__PURE__ */ e(Ue, { popupRef: N, open: I, children: (h) => /* @__PURE__ */ m(
232
+ ...i
233
+ }, C) => {
234
+ const w = fe(Q);
235
+ return /* @__PURE__ */ e(n.Portal, { container: l ?? void 0, children: /* @__PURE__ */ e(Xe, { popupRef: C, open: w, children: (h) => /* @__PURE__ */ m(
236
236
  n.Content,
237
237
  {
238
238
  ref: h,
239
239
  position: o,
240
240
  sideOffset: r,
241
241
  "data-component": "select-content",
242
- className: at({ className: t }),
243
- ...d,
242
+ className: ot({ className: t }),
243
+ ...i,
244
244
  children: [
245
- /* @__PURE__ */ e(n.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(Ye, { "aria-hidden": "true", className: "ds:size-4" }) }),
245
+ /* @__PURE__ */ e(n.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(Ze, { "aria-hidden": "true", className: "ds:size-4" }) }),
246
246
  a,
247
- /* @__PURE__ */ e(n.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(me, { "aria-hidden": "true", className: "ds:size-4" }) })
247
+ /* @__PURE__ */ e(n.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(ge, { "aria-hidden": "true", className: "ds:size-4" }) })
248
248
  ]
249
249
  }
250
250
  ) }) });
251
251
  }
252
252
  );
253
- J.displayName = "Select.Content";
254
- const Q = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
253
+ Y.displayName = "Select.Content";
254
+ const Z = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
255
255
  n.Viewport,
256
256
  {
257
257
  ref: o,
@@ -259,24 +259,25 @@ const Q = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
259
259
  ...a
260
260
  }
261
261
  ));
262
- Q.displayName = "Select.Viewport";
263
- const Y = f(
262
+ Z.displayName = "Select.Viewport";
263
+ const ee = f(
264
264
  ({
265
265
  size: t = "md",
266
266
  className: a,
267
267
  children: o,
268
268
  startAdornment: r,
269
269
  endContent: l,
270
- description: d,
271
- descriptionTone: N,
272
- descriptionInName: I = !1,
270
+ description: i,
271
+ descriptionTone: C,
272
+ descriptionInName: w = !1,
273
273
  wrapLabel: h = !1,
274
- ...C
275
- }, b) => {
276
- const z = it[t ?? "md"], P = rt[t ?? "md"], w = ce(), V = ce(), c = d != null && d !== "", T = c && I, j = T ? { id: V } : {}, D = T ? { "aria-labelledby": `${V} ${w}` } : {}, k = h ? ue({
274
+ labelDir: v,
275
+ ...y
276
+ }, V) => {
277
+ const P = it[t ?? "md"], A = dt[t ?? "md"], T = pe(), x = pe(), g = i != null && i !== "", R = g && w, j = R ? { id: x } : {}, D = R ? { "aria-labelledby": `${x} ${T}` } : {}, k = h ? U({
277
278
  wrap: !0,
278
- className: lt
279
- }) : "", y = c ? "ds:group-data-[disabled]/select-item:opacity-50" : "", E = l ? (
279
+ className: me
280
+ }) : "", S = g ? "ds:group-data-[disabled]/select-item:opacity-50" : "", E = l ? (
280
281
  // Radix points the item's `aria-labelledby` at `ItemText`, so
281
282
  // anything rendered outside it is dropped from the accessible
282
283
  // name — a price there would be visible but never announced.
@@ -303,38 +304,65 @@ const Y = f(
303
304
  /* @__PURE__ */ e(n.ItemText, { asChild: !0, ...j, children: /* @__PURE__ */ m(
304
305
  "span",
305
306
  {
306
- className: Je({
307
+ className: Qe({
307
308
  wrap: h,
308
- className: y
309
+ className: S
309
310
  }),
310
311
  children: [
311
- /* @__PURE__ */ e("span", { className: k || ue(), children: o }),
312
- /* @__PURE__ */ e("span", { className: Xe, children: l })
312
+ /* @__PURE__ */ e(
313
+ "span",
314
+ {
315
+ dir: v,
316
+ className: k || U(),
317
+ children: o
318
+ }
319
+ ),
320
+ /* @__PURE__ */ e("span", { className: Je, children: l })
313
321
  ]
314
322
  }
315
323
  ) })
316
- ) : c || h ? /* @__PURE__ */ e(n.ItemText, { asChild: !0, ...j, children: /* @__PURE__ */ e("span", { className: [k, y].filter(Boolean).join(" "), children: o }) }) : /* @__PURE__ */ e(n.ItemText, { children: o });
324
+ ) : g || h ? /* @__PURE__ */ e(n.ItemText, { asChild: !0, ...j, children: /* @__PURE__ */ e(
325
+ "span",
326
+ {
327
+ dir: v,
328
+ className: [k, S].filter(Boolean).join(" "),
329
+ children: o
330
+ }
331
+ ) }) : v ? (
332
+ // Our own element, so the direction sits on the box that clips, in
333
+ // the list and in the trigger (Radix mirrors this span there).
334
+ /* @__PURE__ */ e(n.ItemText, { asChild: !0, children: /* @__PURE__ */ e(
335
+ "span",
336
+ {
337
+ dir: v,
338
+ className: U({
339
+ className: me
340
+ }),
341
+ children: o
342
+ }
343
+ ) })
344
+ ) : /* @__PURE__ */ e(n.ItemText, { children: o });
317
345
  return /* @__PURE__ */ m(
318
346
  n.Item,
319
347
  {
320
- ref: b,
348
+ ref: V,
321
349
  ...D,
322
- "aria-describedby": c && !T ? w : void 0,
323
- className: ot({
350
+ "aria-describedby": g && !R ? T : void 0,
351
+ className: nt({
324
352
  size: t,
325
- className: c ? [
353
+ className: g ? [
326
354
  "ds:group/select-item ds:data-[disabled]:!opacity-100",
327
355
  a
328
356
  ].filter(Boolean).join(" ") : a
329
357
  }),
330
- ...C,
358
+ ...y,
331
359
  children: [
332
360
  /* @__PURE__ */ e(
333
361
  "span",
334
362
  {
335
- className: `ds:absolute ${z} ds:inline-flex ds:items-center ds:justify-center ${y}`,
363
+ className: `ds:absolute ${P} ds:inline-flex ds:items-center ds:justify-center ${S}`,
336
364
  "aria-hidden": "true",
337
- children: /* @__PURE__ */ e(n.ItemIndicator, { children: /* @__PURE__ */ e(Ze, { className: P }) })
365
+ children: /* @__PURE__ */ e(n.ItemIndicator, { children: /* @__PURE__ */ e(et, { className: A }) })
338
366
  }
339
367
  ),
340
368
  r ? (
@@ -343,21 +371,21 @@ const Y = f(
343
371
  "span",
344
372
  {
345
373
  "aria-hidden": "true",
346
- className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${y}`,
374
+ className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${S}`,
347
375
  children: r
348
376
  }
349
377
  )
350
378
  ) : null,
351
- c || h ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
379
+ g || h ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
352
380
  E,
353
- c ? /* @__PURE__ */ e(
381
+ g ? /* @__PURE__ */ e(
354
382
  "span",
355
383
  {
356
- id: w,
357
- className: Qe({
358
- tone: N
384
+ id: T,
385
+ className: Ye({
386
+ tone: C
359
387
  }),
360
- children: d
388
+ children: i
361
389
  }
362
390
  ) : null
363
391
  ] }) : E
@@ -366,21 +394,21 @@ const Y = f(
366
394
  );
367
395
  }
368
396
  );
369
- Y.displayName = "Select.Item";
370
- const be = f((t, a) => /* @__PURE__ */ e(n.ItemText, { ref: a, ...t }));
371
- be.displayName = "Select.ItemText";
372
- const ye = f((t, a) => /* @__PURE__ */ e(n.Group, { ref: a, ...t }));
373
- ye.displayName = "Select.Group";
374
- const Z = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
397
+ ee.displayName = "Select.Item";
398
+ const xe = f((t, a) => /* @__PURE__ */ e(n.ItemText, { ref: a, ...t }));
399
+ xe.displayName = "Select.ItemText";
400
+ const Se = f((t, a) => /* @__PURE__ */ e(n.Group, { ref: a, ...t }));
401
+ Se.displayName = "Select.Group";
402
+ const te = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
375
403
  n.Label,
376
404
  {
377
405
  ref: o,
378
- className: [nt, t].filter(Boolean).join(" "),
406
+ className: [rt, t].filter(Boolean).join(" "),
379
407
  ...a
380
408
  }
381
409
  ));
382
- Z.displayName = "Select.Label";
383
- const xe = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
410
+ te.displayName = "Select.Label";
411
+ const Ne = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
384
412
  n.Separator,
385
413
  {
386
414
  ref: o,
@@ -388,7 +416,7 @@ const xe = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
388
416
  ...a
389
417
  }
390
418
  ));
391
- xe.displayName = "Select.Separator";
419
+ Ne.displayName = "Select.Separator";
392
420
  const ct = "ds-select-detached", ut = /* @__PURE__ */ new Set([
393
421
  "data-component",
394
422
  "data-component-id",
@@ -404,132 +432,132 @@ function pt(t) {
404
432
  r === void 0 || ut.has(o) || (o.startsWith("data-") || o.startsWith("aria-")) && (a[o] = r);
405
433
  return a;
406
434
  }
407
- const Se = f(function({
435
+ const Ie = f(function({
408
436
  options: a,
409
437
  value: o,
410
438
  defaultValue: r,
411
439
  onValueChange: l,
412
- placeholder: d,
413
- clearable: N = !1,
414
- disabled: I,
440
+ placeholder: i,
441
+ clearable: C = !1,
442
+ disabled: w,
415
443
  required: h,
416
- name: C,
417
- id: b,
418
- size: z = "md",
444
+ name: v,
445
+ id: y,
446
+ size: V = "md",
419
447
  tone: P = "default",
420
- className: w,
421
- container: V,
422
- "aria-label": c,
423
- "aria-describedby": T,
424
- adornmentInTrigger: j = !1,
425
- showDescriptions: D = !1,
426
- descriptionInName: k = !1,
427
- wrapOptionLabels: y = !1,
428
- ...E
429
- }, Ne) {
430
- var de;
431
- const { t: A } = Le("ui"), x = Ge(), v = pe(Ke) !== null, [Ie, O] = H(
448
+ className: A,
449
+ container: T,
450
+ "aria-label": x,
451
+ "aria-describedby": g,
452
+ adornmentInTrigger: R = !1,
453
+ showDescriptions: j = !1,
454
+ descriptionInName: D = !1,
455
+ wrapOptionLabels: k = !1,
456
+ ...S
457
+ }, E) {
458
+ var ce;
459
+ const { t: F } = Ge("ui"), N = Ke(), b = fe(We) !== null, [Ce, O] = M(
432
460
  o ?? r ?? ""
433
- ), S = o !== void 0, u = S ? o : Ie, [B, F] = H(!1), ee = _(u);
434
- ee.current = u;
435
- const Ce = We(x, b), we = b ?? (v ? Ce : void 0), L = (v ? x.disabled : !1) || !!I, G = (v ? x.required : !1) || !!h, te = v ? x.invalid : !1, Te = te ? "error" : P, Re = [v ? x.describedBy : void 0, T].filter(Boolean).join(" ") || void 0, se = j ? (de = a.find((s) => s.value === u)) == null ? void 0 : de.startAdornment : void 0, R = _(null), ze = dt(Ne, R), Ve = et(R), [je, ke] = H(!0);
436
- qe(() => {
461
+ ), I = o !== void 0, c = I ? o : Ce, [B, L] = M(!1), se = _(c);
462
+ se.current = c;
463
+ const we = $e(N, y), Te = y ?? (b ? we : void 0), G = (b ? N.disabled : !1) || !!w, K = (b ? N.required : !1) || !!h, ae = b ? N.invalid : !1, Re = ae ? "error" : P, ze = [b ? N.describedBy : void 0, g].filter(Boolean).join(" ") || void 0, oe = R ? (ce = a.find((s) => s.value === c)) == null ? void 0 : ce.startAdornment : void 0, z = _(null), Ve = lt(E, z), je = tt(z), [ke, Ee] = M(!0);
464
+ He(() => {
437
465
  var s;
438
- u === "" && ke(!!((s = R.current) != null && s.closest("form")));
466
+ c === "" && Ee(!!((s = z.current) != null && s.closest("form")));
439
467
  });
440
- const K = u === "" && je, ae = _(null), W = _(u !== "");
441
- Pe(() => {
468
+ const W = c === "" && ke, ne = _(null), $ = _(c !== "");
469
+ Ae(() => {
442
470
  var s;
443
- if (u !== "") {
444
- W.current = !0;
471
+ if (c !== "") {
472
+ $.current = !0;
445
473
  return;
446
474
  }
447
- W.current && (W.current = !1, (s = ae.current) == null || s.dispatchEvent(new Event("change", { bubbles: !0 })));
448
- }, [u]);
449
- const i = l, oe = (s) => {
450
- S || O(s), i == null || i(s);
451
- }, Ee = (s) => {
452
- var p;
453
- s.preventDefault(), s.stopPropagation(), S || O(""), i == null || i(""), (p = R.current) == null || p.focus();
454
- }, $ = d ?? A("inputs.select.placeholder", "Select…"), Oe = N && !!u && !L, ne = c === void 0 && !v, re = ne ? $ : c, ie = !c && v ? `${x.id}-label` : void 0, Be = $e(a), _e = De(
475
+ $.current && ($.current = !1, (s = ne.current) == null || s.dispatchEvent(new Event("change", { bubbles: !0 })));
476
+ }, [c]);
477
+ const d = l, re = (s) => {
478
+ I || O(s), d == null || d(s);
479
+ }, Oe = (s) => {
480
+ var u;
481
+ s.preventDefault(), s.stopPropagation(), I || O(""), d == null || d(""), (u = z.current) == null || u.focus();
482
+ }, q = i ?? F("inputs.select.placeholder", "Select…"), Be = C && !!c && !G, de = x === void 0 && !b, ie = de ? q : x, le = !x && b ? `${N.id}-label` : void 0, _e = qe(a), Pe = De(
455
483
  () => ({
456
- getValue: () => ee.current,
484
+ getValue: () => se.current,
457
485
  setValue: (s) => {
458
- const p = a.find((q) => q.value === s);
459
- !p || p.disabled || (S || O(s), i == null || i(s));
486
+ const u = a.find((H) => H.value === s);
487
+ !u || u.disabled || (I || O(s), d == null || d(s));
460
488
  },
461
489
  clear: () => {
462
- S || O(""), i == null || i("");
490
+ I || O(""), d == null || d("");
463
491
  },
464
- open: () => F(!0),
465
- close: () => F(!1),
492
+ open: () => L(!0),
493
+ close: () => L(!1),
466
494
  isOpen: () => B
467
495
  }),
468
- [i, S, B, a]
496
+ [d, I, B, a]
469
497
  );
470
- return Fe(st, _e, b), /* @__PURE__ */ m(
498
+ return Le(at, Pe, y), /* @__PURE__ */ m(
471
499
  n.Root,
472
500
  {
473
- value: u,
474
- onValueChange: oe,
501
+ value: c,
502
+ onValueChange: re,
475
503
  open: B,
476
- onOpenChange: F,
477
- disabled: L,
478
- required: G,
479
- name: K ? void 0 : C,
480
- form: K ? ct : void 0,
481
- dir: Ve,
504
+ onOpenChange: L,
505
+ disabled: G,
506
+ required: K,
507
+ name: W ? void 0 : v,
508
+ form: W ? ct : void 0,
509
+ dir: je,
482
510
  children: [
483
511
  /* @__PURE__ */ m(
484
512
  n.Trigger,
485
513
  {
486
- ref: ze,
487
- id: we,
488
- "aria-label": re,
489
- "aria-labelledby": ie,
490
- "data-name-from-placeholder": ne || void 0,
491
- "aria-describedby": Re,
492
- "aria-invalid": te || void 0,
493
- ...pt(E),
514
+ ref: Ve,
515
+ id: Te,
516
+ "aria-label": ie,
517
+ "aria-labelledby": le,
518
+ "data-name-from-placeholder": de || void 0,
519
+ "aria-describedby": ze,
520
+ "aria-invalid": ae || void 0,
521
+ ...pt(S),
494
522
  "data-component": "select",
495
- "data-component-id": b,
496
- className: fe({
497
- size: z,
498
- tone: Te,
499
- className: w
523
+ "data-component-id": y,
524
+ className: he({
525
+ size: V,
526
+ tone: Re,
527
+ className: A
500
528
  }),
501
529
  children: [
502
- se ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
530
+ oe ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
503
531
  /* @__PURE__ */ e(
504
532
  "span",
505
533
  {
506
534
  "aria-hidden": "true",
507
535
  "data-select-trigger-adornment": "",
508
536
  className: "ds:inline-flex ds:shrink-0 ds:items-center",
509
- children: se
537
+ children: oe
510
538
  }
511
539
  ),
512
540
  /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(
513
541
  n.Value,
514
542
  {
515
- ...M,
516
- placeholder: $
543
+ ...X,
544
+ placeholder: q
517
545
  }
518
546
  ) })
519
547
  ] }) : /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(
520
548
  n.Value,
521
549
  {
522
- ...M,
523
- placeholder: $
550
+ ...X,
551
+ placeholder: q
524
552
  }
525
553
  ) }),
526
554
  /* @__PURE__ */ m("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
527
- Oe ? /* @__PURE__ */ e(
555
+ Be ? /* @__PURE__ */ e(
528
556
  "button",
529
557
  {
530
558
  type: "button",
531
- "aria-label": A("inputs.select.clear", "Clear selection"),
532
- onClick: Ee,
559
+ "aria-label": F("inputs.select.clear", "Clear selection"),
560
+ onClick: Oe,
533
561
  onPointerDown: (s) => s.stopPropagation(),
534
562
  onKeyDown: (s) => {
535
563
  (s.key === "Enter" || s.key === " ") && s.stopPropagation();
@@ -542,11 +570,11 @@ const Se = f(function({
542
570
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
543
571
  "ds:size-4"
544
572
  ].join(" "),
545
- children: /* @__PURE__ */ e(tt, { "aria-hidden": "true", className: "ds:size-3.5" })
573
+ children: /* @__PURE__ */ e(st, { "aria-hidden": "true", className: "ds:size-3.5" })
546
574
  }
547
575
  ) : null,
548
576
  /* @__PURE__ */ e(n.Icon, { asChild: !0, children: /* @__PURE__ */ e(
549
- me,
577
+ ge,
550
578
  {
551
579
  "aria-hidden": "true",
552
580
  className: [
@@ -560,22 +588,22 @@ const Se = f(function({
560
588
  ]
561
589
  }
562
590
  ),
563
- K && (C !== void 0 || G) ? /* @__PURE__ */ m(
591
+ W && (v !== void 0 || K) ? /* @__PURE__ */ m(
564
592
  "select",
565
593
  {
566
- ref: ae,
594
+ ref: ne,
567
595
  "data-component": "select-field",
568
596
  "aria-hidden": !0,
569
597
  tabIndex: -1,
570
- "aria-label": re,
571
- "aria-labelledby": ie,
572
- name: C,
573
- required: G,
574
- disabled: L,
598
+ "aria-label": ie,
599
+ "aria-labelledby": le,
600
+ name: v,
601
+ required: K,
602
+ disabled: G,
575
603
  value: "",
576
604
  onChange: (s) => {
577
- var p;
578
- s.target.value !== "" && (document.activeElement === s.target && ((p = R.current) == null || p.focus()), oe(s.target.value));
605
+ var u;
606
+ s.target.value !== "" && (document.activeElement === s.target && ((u = z.current) == null || u.focus()), re(s.target.value));
579
607
  },
580
608
  className: "ds:sr-only",
581
609
  children: [
@@ -585,6 +613,7 @@ const Se = f(function({
585
613
  {
586
614
  value: s.value,
587
615
  disabled: s.disabled,
616
+ dir: s.dir,
588
617
  children: s.label
589
618
  },
590
619
  s.value
@@ -592,58 +621,59 @@ const Se = f(function({
592
621
  ]
593
622
  }
594
623
  ) : null,
595
- /* @__PURE__ */ e(X.Provider, { value: B, children: /* @__PURE__ */ e(J, { container: V, children: /* @__PURE__ */ e(Q, { children: a.length === 0 ? /* @__PURE__ */ e("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: A("inputs.select.noOptions", "No options") }) : Be.map(({ group: s, items: p }, q) => {
596
- const le = p.map((g) => /* @__PURE__ */ e(
597
- Y,
624
+ /* @__PURE__ */ e(Q.Provider, { value: B, children: /* @__PURE__ */ e(Y, { container: T, children: /* @__PURE__ */ e(Z, { children: a.length === 0 ? /* @__PURE__ */ e("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: F("inputs.select.noOptions", "No options") }) : _e.map(({ group: s, items: u }, H) => {
625
+ const ue = u.map((p) => /* @__PURE__ */ e(
626
+ ee,
598
627
  {
599
- value: g.value,
600
- disabled: g.disabled,
601
- size: z,
602
- "data-option-id": g.value,
603
- startAdornment: g.startAdornment,
604
- endContent: g.endContent,
605
- description: D ? g.description : void 0,
606
- descriptionTone: g.descriptionTone,
607
- descriptionInName: k,
608
- wrapLabel: y,
609
- children: g.label
628
+ value: p.value,
629
+ disabled: p.disabled,
630
+ size: V,
631
+ "data-option-id": p.value,
632
+ startAdornment: p.startAdornment,
633
+ endContent: p.endContent,
634
+ description: j ? p.description : void 0,
635
+ descriptionTone: p.descriptionTone,
636
+ descriptionInName: D,
637
+ wrapLabel: k,
638
+ labelDir: p.dir,
639
+ children: p.label
610
640
  },
611
- g.value
641
+ p.value
612
642
  ));
613
643
  return s ? /* @__PURE__ */ m(n.Group, { children: [
614
- /* @__PURE__ */ e(Z, { children: s }),
615
- le
616
- ] }, `group-${s}`) : /* @__PURE__ */ e(n.Group, { children: le }, `group-${q}`);
644
+ /* @__PURE__ */ e(te, { children: s }),
645
+ ue
646
+ ] }, `group-${s}`) : /* @__PURE__ */ e(n.Group, { children: ue }, `group-${H}`);
617
647
  }) }) }) })
618
648
  ]
619
649
  }
620
650
  );
621
651
  });
622
- Se.displayName = "Select";
623
- const mt = Object.assign(Se, {
624
- Root: ge,
625
- Trigger: he,
626
- Value: ve,
627
- Content: J,
628
- Viewport: Q,
629
- Item: Y,
630
- ItemText: be,
631
- Group: ye,
632
- Label: Z,
633
- Separator: xe
652
+ Ie.displayName = "Select";
653
+ const mt = Object.assign(Ie, {
654
+ Root: ve,
655
+ Trigger: be,
656
+ Value: ye,
657
+ Content: Y,
658
+ Viewport: Z,
659
+ Item: ee,
660
+ ItemText: xe,
661
+ Group: Se,
662
+ Label: te,
663
+ Separator: Ne
634
664
  }), kt = mt;
635
665
  export {
636
666
  kt as S,
637
- J as a,
638
- ye as b,
639
- Y as c,
640
- be as d,
641
- Z as e,
642
- ge as f,
643
- xe as g,
644
- he as h,
645
- ve as i,
646
- Q as j,
647
- fe as s
667
+ Y as a,
668
+ Se as b,
669
+ ee as c,
670
+ xe as d,
671
+ te as e,
672
+ ve as f,
673
+ Ne as g,
674
+ be as h,
675
+ ye as i,
676
+ Z as j,
677
+ he as s
648
678
  };
649
- //# sourceMappingURL=select-k4gBdS8N.js.map
679
+ //# sourceMappingURL=select-4S-eYZUf.js.map