@alfadocs/ui-kit 1.58.0 → 1.60.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 (356) hide show
  1. package/dist/_chunks/{actions-cell-renderer-Dj1ZkvJj.js → actions-cell-renderer-CZWGQFKV.js} +4 -4
  2. package/dist/_chunks/{agenda-tray-ZKhDxlfw.js → agenda-tray-DU7O5Z7R.js} +3 -3
  3. package/dist/_chunks/{ai-credits-notice-ktklr8fy.js → ai-credits-notice-MBgQXxsx.js} +11 -11
  4. package/dist/_chunks/{ai-permission-notice-DyuEGwAt.js → ai-permission-notice-BJHutKLE.js} +2 -2
  5. package/dist/_chunks/{ai-prompt-input-Beh-O_rJ.js → ai-prompt-input-Dzos37rf.js} +3 -3
  6. package/dist/_chunks/{alia-sidebar-dybRpWml.js → alia-sidebar-CU3mVL9J.js} +8 -8
  7. package/dist/_chunks/{anamnesis-card-BSlAhaoG.js → anamnesis-card-VjJOUl-t.js} +3 -3
  8. package/dist/_chunks/{anamnesis-summary-card-2YfIYY2j.js → anamnesis-summary-card-cCj7LPh3.js} +2 -2
  9. package/dist/_chunks/{anamnesis-summary-rows-M-FUkw9p.js → anamnesis-summary-rows-C5F08WT6.js} +12 -12
  10. package/dist/_chunks/{antenatal-schedule-timeline-Kf2Yg8uo.js → antenatal-schedule-timeline-CfNFrej5.js} +2 -2
  11. package/dist/_chunks/{appointment-card-Dh3fAcyf.js → appointment-card-BXQUZlAJ.js} +2 -2
  12. package/dist/_chunks/{appointment-peek-WvNbE4JG.js → appointment-peek-BvzXHYiD.js} +4 -4
  13. package/dist/_chunks/{appointment-timeline-Z0494xO-.js → appointment-timeline-r-q97cec.js} +5 -5
  14. package/dist/_chunks/{appointment-tray-CyI_p3zU.js → appointment-tray-DF_R9ldY.js} +4 -4
  15. package/dist/_chunks/{audio-recorder-DWKKjGPt.js → audio-recorder-Cssm6jVh.js} +4 -4
  16. package/dist/_chunks/{balance-badge-cell-CGoJZlKf.js → balance-badge-cell-DMG06b2C.js} +5 -5
  17. package/dist/_chunks/{bishop-score-BxA20j9T.js → bishop-score-DxfkcxiV.js} +4 -4
  18. package/dist/_chunks/{bmi-calculator-C0UTxB7R.js → bmi-calculator-B4kgPqt5.js} +3 -3
  19. package/dist/_chunks/{booking-CiFSAMR-.js → booking-CXaqmdF7.js} +7 -7
  20. package/dist/_chunks/{button-Bn16lcFM.js → button-D-MQxsA_.js} +82 -63
  21. package/dist/_chunks/{button-group-CWlwR-A5.js → button-group-Cfpyu6pc.js} +73 -73
  22. package/dist/_chunks/{calculator-dialog-CzQv03p0.js → calculator-dialog-BUfaWqvu.js} +2 -2
  23. package/dist/_chunks/{calendar-6-24PQ1u.js → calendar-DNTVaK6b.js} +2 -2
  24. package/dist/_chunks/{calendar-workspace-DNHzjG7O.js → calendar-workspace-UL5xcpWa.js} +26 -26
  25. package/dist/_chunks/{card-DMO2nkt4.js → card-BA4Ig_kn.js} +9 -8
  26. package/dist/_chunks/{care-plan-card-DxrRLRdW.js → care-plan-card-DFQbU_Gd.js} +2 -2
  27. package/dist/_chunks/{care-plan-entry-card-0rpR-4Te.js → care-plan-entry-card-bj784KRk.js} +2 -2
  28. package/dist/_chunks/{care-plan-header-BMwZIgHJ.js → care-plan-header-DDhyAfVK.js} +2 -2
  29. package/dist/_chunks/{carousel.agent-D3xthzTf.js → carousel.agent-Csn24G1k.js} +2 -2
  30. package/dist/_chunks/{chart-ZMkX-Gqy.js → chart-D7PbNO_M.js} +407 -393
  31. package/dist/_chunks/{chat-input-PtrSu1ZC.js → chat-input-Ck34Pnmp.js} +2 -2
  32. package/dist/_chunks/{chat-message-CmGUcajG.js → chat-message-DU0X3Xnl.js} +3 -3
  33. package/dist/_chunks/{clinical-note-card-hx939bvw.js → clinical-note-card-L6FVM9Gx.js} +2 -2
  34. package/dist/_chunks/{code-block-BQgK70mO.js → code-block-DiC4bg-o.js} +2 -2
  35. package/dist/_chunks/{connection-status-ncTjUPt6.js → connection-status-BAnuwayz.js} +4 -4
  36. package/dist/_chunks/{contact-card-fHBMwEsx.js → contact-card-C8rEsC4Q.js} +2 -2
  37. package/dist/_chunks/{contact-profile-card-CMyBYgRR.js → contact-profile-card-JTRbnbxy.js} +3 -3
  38. package/dist/_chunks/{control-room-rail-CJ85HkS2.js → control-room-rail-BbBEIdws.js} +3 -3
  39. package/dist/_chunks/{copy-field-CvTIuA_p.js → copy-field-BCT7APRE.js} +2 -2
  40. package/dist/_chunks/{cycle-calculator-Cww9DzIa.js → cycle-calculator-BuFi6ZJa.js} +3 -3
  41. package/dist/_chunks/{dashboard-grid-Cs7cJAsA.js → dashboard-grid-DeNEltwI.js} +2 -2
  42. package/dist/_chunks/{data-table-Yn5xiGzs.js → data-table-DAPkhyXO.js} +10 -10
  43. package/dist/_chunks/{data-table-tabs-CHYAAeHy.js → data-table-tabs-2t0cdk0h.js} +3 -3
  44. package/dist/_chunks/{description-list-DkLeHiew.js → description-list-CFEw__MT.js} +2 -2
  45. package/dist/_chunks/{dev-bypass-button-BhGn6evf.js → dev-bypass-button-dTuUuzsT.js} +2 -2
  46. package/dist/_chunks/{dialog-Dn-iQ0Jp.js → dialog-D6fkpRc4.js} +72 -61
  47. package/dist/_chunks/{document-preview-CHGGG0l_.js → document-preview-DYX669jE.js} +4 -4
  48. package/dist/_chunks/{document-scanner-CQS9kv84.js → document-scanner-C41n4pNq.js} +2 -2
  49. package/dist/_chunks/{dropdown-menu-BQSNVp4x.js → dropdown-menu-D1we7oAY.js} +134 -133
  50. package/dist/_chunks/{due-date-calculator-D_qFUiHp.js → due-date-calculator-yYvX8Ww_.js} +4 -4
  51. package/dist/_chunks/{editable-currency-cell-renderer-CmYcMuwi.js → editable-currency-cell-renderer-6LDFAWUE.js} +3 -3
  52. package/dist/_chunks/{editable-description-DuJlvltc.js → editable-description-D9FsTi8e.js} +3 -3
  53. package/dist/_chunks/{editor-overlay-NMxzcO6J.js → editor-overlay-BYkcaLCj.js} +2 -2
  54. package/dist/_chunks/{empty-state-gNG3qYCX.js → empty-state-pL1qum99.js} +61 -59
  55. package/dist/_chunks/{entity-summary-CWcCSThK.js → entity-summary-oD_63dlz.js} +4 -4
  56. package/dist/_chunks/{error-boundary-ChowhO6w.js → error-boundary-Dzgu3O6W.js} +2 -2
  57. package/dist/_chunks/{error-page-CpuYbpOB.js → error-page-DirZKDz2.js} +2 -2
  58. package/dist/_chunks/{face-scheme-DSKDdIsb.js → face-scheme-C-5V3MsY.js} +6 -6
  59. package/dist/_chunks/{fetal-weight-BWaqqjea.js → fetal-weight-CHv2winC.js} +3 -3
  60. package/dist/_chunks/{field-array-BO-kaKFK.js → field-array-dSkD_ePA.js} +3 -3
  61. package/dist/_chunks/{file-manager-DEtkQR1F.js → file-manager-C8bdHsYy.js} +8 -8
  62. package/dist/_chunks/{finished-terminal-CPSDrIMB.js → finished-terminal-DuF3xrUv.js} +3 -3
  63. package/dist/_chunks/{fiscal-code-input-DesSQ6Fh.js → fiscal-code-input-BSWwda0C.js} +2 -2
  64. package/dist/_chunks/{forgot-password-form-CEqOmNuX.js → forgot-password-form-CGWV5Q1-.js} +3 -3
  65. package/dist/_chunks/{freemium-paywall-DIKuhX8b.js → freemium-paywall-DjjVPC-5.js} +27 -27
  66. package/dist/_chunks/{gestational-age-calculator-CZi43xKG.js → gestational-age-calculator-BLccWS_4.js} +5 -5
  67. package/dist/_chunks/{hcg-doubling-Ccvh7OaU.js → hcg-doubling-CnrY2OVu.js} +3 -3
  68. package/dist/_chunks/{header-B9552pLh.js → header-BVHAt7Fi.js} +2 -2
  69. package/dist/_chunks/{header-settings-BMcCx2LC.js → header-settings-C200bKyp.js} +4 -4
  70. package/dist/_chunks/{heatmap-DiyOSQk9.js → heatmap-CRMr7VWC.js} +6 -6
  71. package/dist/_chunks/{help-me-write-templates-CM1p6qkm.js → help-me-write-templates-C9T8-DcT.js} +6 -6
  72. package/dist/_chunks/{hover-card-U_ZYoh1n.js → hover-card-DbTmj-ea.js} +2 -2
  73. package/dist/_chunks/{icon-button-COX76Jdj.js → icon-button-dNE6ENLn.js} +12 -9
  74. package/dist/_chunks/{icon-button-group-C5hhI-R5.js → icon-button-group-Du8IvZek.js} +3 -3
  75. package/dist/_chunks/{icon-picker-rOFTawXk.js → icon-picker-D5NdDbCL.js} +3 -3
  76. package/dist/_chunks/{image-cropper-D0kkQ4lG.js → image-cropper-s8ej8cxa.js} +2 -2
  77. package/dist/_chunks/{info-tip-CJpNpzZe.js → info-tip-DObdz3w3.js} +2 -2
  78. package/dist/_chunks/{insert-result-C1C2OCc3.js → insert-result-h3WL-gMo.js} +2 -2
  79. package/dist/_chunks/{key-value-pair-BNNITp6S.js → key-value-pair-BNYHAZwD.js} +2 -2
  80. package/dist/_chunks/{kit-extensions-DYVxWcqv.js → kit-extensions-DI2nHVNw.js} +6 -6
  81. package/dist/_chunks/{link-cell-renderer-C1wOyxDF.js → link-cell-renderer-DvhzS6lu.js} +5 -5
  82. package/dist/_chunks/{locale-picker-BGfrZyTw.js → locale-picker-Bu4YE5b2.js} +3 -3
  83. package/dist/_chunks/{login-dev-card-CIim81VB.js → login-dev-card-DwWWHclZ.js} +3 -3
  84. package/dist/_chunks/{map-view-CO2v0hfp.js → map-view-BuVfJMEa.js} +2 -2
  85. package/dist/_chunks/{marketplace-app-shell-CSDmGLPW.js → marketplace-app-shell-DK2pFMpf.js} +279 -236
  86. package/dist/_chunks/{message-card-DVo8-dOm.js → message-card-CvZlo3Fn.js} +3 -3
  87. package/dist/_chunks/{message-tray-DmU0poD7.js → message-tray-DrS_LOed.js} +4 -4
  88. package/dist/_chunks/{muscle-scheme-BDgIaGeW.js → muscle-scheme-YoN3rYXV.js} +2 -2
  89. package/dist/_chunks/{notes-panel-DHLHsxpW.js → notes-panel-6TElt7jQ.js} +7 -7
  90. package/dist/_chunks/{notification-card-BGCIL6Mu.js → notification-card-Qrs52HIA.js} +3 -3
  91. package/dist/_chunks/{notification-tray-DPU-Xg0i.js → notification-tray-DRm1z97G.js} +4 -4
  92. package/dist/_chunks/{operator-hero-Dyd2IGbR.js → operator-hero-C_Khr5IU.js} +2 -2
  93. package/dist/_chunks/{optical-prescription-Do6e3wfs.js → optical-prescription-DLIAhJ6f.js} +3 -3
  94. package/dist/_chunks/{pagination-BR1_GfD_.js → pagination-DvKGrsXu.js} +146 -142
  95. package/dist/_chunks/{panel-subview-D4o6ar6_.js → panel-subview-CjZgdWwO.js} +2 -2
  96. package/dist/_chunks/{patient-details-BCaVuaXz.js → patient-details-BjqKBY2x.js} +4 -4
  97. package/dist/_chunks/{patient-field-row-jcRSTrp4.js → patient-field-row-BiI0BPPK.js} +7 -7
  98. package/dist/_chunks/{patient-search-D5xlXmd2.js → patient-search-B5R7FyFO.js} +4 -4
  99. package/dist/_chunks/{patient-summary-card-kQIfPQOE.js → patient-summary-card-BOgnWKRV.js} +6 -6
  100. package/dist/_chunks/{payment-automation-upsell-C4wHOxsp.js → payment-automation-upsell-39d5ykBi.js} +3 -3
  101. package/dist/_chunks/{payment-request-card-DAniJNLX.js → payment-request-card-E3G4aVt6.js} +4 -4
  102. package/dist/_chunks/{periodontal-chart-DD5C0M3l.js → periodontal-chart-BZ1d6S36.js} +2 -2
  103. package/dist/_chunks/{periodontal-chart-card-CxdXvsPU.js → periodontal-chart-card-BE5hiQnn.js} +3 -3
  104. package/dist/_chunks/{periodontal-diagnosis-D-PJv7KS.js → periodontal-diagnosis-6wybid_W.js} +2 -2
  105. package/dist/_chunks/{periodontal-risk-chart-D3DjIymT.js → periodontal-risk-chart-CgLwBj5c.js} +2 -2
  106. package/dist/_chunks/{popover-BG75rYjN.js → popover-DQr_tljb.js} +2 -2
  107. package/dist/_chunks/popup-region-qz_5_A0V.js +79 -0
  108. package/dist/_chunks/{practice-profile-hero-C8RPACCi.js → practice-profile-hero-DPbvYfCs.js} +2 -2
  109. package/dist/_chunks/{practice-results-D07wgCqV.js → practice-results-Cktx7KaC.js} +6 -6
  110. package/dist/_chunks/{pregnancy-dating-BFzv9g1N.js → pregnancy-dating-26fcvhAx.js} +5 -5
  111. package/dist/_chunks/{pregnancy-weight-gain-CUUrBTBo.js → pregnancy-weight-gain-D8q1IUCT.js} +3 -3
  112. package/dist/_chunks/{privacy-lock-WkUgwIj_.js → privacy-lock-BpVgSgMb.js} +3 -3
  113. package/dist/_chunks/{privacy-mask-ChIjELJC.js → privacy-mask-BfMC57ST.js} +3 -3
  114. package/dist/_chunks/{product-hub-panel-DCYX0rPG.js → product-hub-panel-CH4B49ij.js} +3 -3
  115. package/dist/_chunks/{public-header.agent-C1SlVSYt.js → public-header.agent-BHTDKMsw.js} +3 -3
  116. package/dist/_chunks/{radiograph-panel.agent-DyqbTECc.js → radiograph-panel.agent-DR0gOeSc.js} +6 -6
  117. package/dist/_chunks/{registration-form-DrSR9Sjk.js → registration-form-B8IeB9kd.js} +5 -5
  118. package/dist/_chunks/{reviews-panel-CDcK6W3b.js → reviews-panel-CHzDqerd.js} +5 -5
  119. package/dist/_chunks/{rich-text-editor-UgXri8h6.js → rich-text-editor-BRuTo2hm.js} +10 -10
  120. package/dist/_chunks/{section-card-ChJdOlBU.js → section-card-D5nWiTcK.js} +2 -2
  121. package/dist/_chunks/{select-Ce5RMk93.js → select-k4gBdS8N.js} +249 -224
  122. package/dist/_chunks/{session-countdown-CBINYw8H.js → session-countdown-DWY61IcV.js} +2 -2
  123. package/dist/_chunks/{sheet-Dtjk0CVv.js → sheet-CqvPYNLn.js} +7 -7
  124. package/dist/_chunks/sidebar-DhePV1hE.js +2563 -0
  125. package/dist/_chunks/{sign-in-with-alfadocs-button-D91_x8DX.js → sign-in-with-alfadocs-button-CIv0GgeA.js} +2 -2
  126. package/dist/_chunks/{signature-request-dAVgE0_5.js → signature-request-BH7yKI01.js} +6 -6
  127. package/dist/_chunks/{signed-out-frame-DOJpobp8.js → signed-out-frame-eaOWHpDr.js} +3 -3
  128. package/dist/_chunks/{slot-grid-sVZriOiQ.js → slot-grid-DELa2Nwz.js} +4 -4
  129. package/dist/_chunks/{streaming-text-BKZmbW1Q.js → streaming-text-bPDoG7Y3.js} +2 -2
  130. package/dist/_chunks/{tab-bar-Bm-rJB7Y.js → tab-bar-5GppbMGc.js} +2 -2
  131. package/dist/_chunks/{tabs-I2wf_nC7.js → tabs-2x3L13jn.js} +3 -3
  132. package/dist/_chunks/{task-card-BMXMh3uE.js → task-card-zaTU1rQa.js} +2 -2
  133. package/dist/_chunks/{task-editor-BflEZmcF.js → task-editor-CgGcg-2c.js} +8 -8
  134. package/dist/_chunks/{task-tray-DsBO-AaP.js → task-tray-DGMwogWu.js} +4 -4
  135. package/dist/_chunks/{tasks-panel-CdgZQQgG.js → tasks-panel-xGtiEdcj.js} +7 -7
  136. package/dist/_chunks/{theme-toggle-PpFcFoYK.js → theme-toggle-_cfYEK73.js} +4 -4
  137. package/dist/_chunks/{timeline-DG8wAlAx.js → timeline-DEIuHrWz.js} +2 -2
  138. package/dist/_chunks/{toast-CPqguP7G.js → toast-CNUydTgT.js} +2 -2
  139. package/dist/_chunks/{token-insert-menu-B-pWFDKX.js → token-insert-menu-CQvV4u1m.js} +3 -3
  140. package/dist/_chunks/{tool-rail-CTq1KwxW.js → tool-rail-Blgibz0a.js} +2 -2
  141. package/dist/_chunks/{tooth-scheme-BAO_voUO.js → tooth-scheme-05DsRMA5.js} +3 -3
  142. package/dist/_chunks/{unit-converter-DS4UB_59.js → unit-converter-BPZ0Ldkb.js} +3 -3
  143. package/dist/_chunks/{use-appointment-details-read-izwoXh-G.js → use-appointment-details-read-BGVthJFx.js} +16 -16
  144. package/dist/_chunks/{voice-control-panel-an-bpQfF.js → voice-control-panel-DyKEaFxt.js} +5 -5
  145. package/dist/_chunks/{warning-stack-ubD0IZCy.js → warning-stack-CAL9xVo1.js} +3 -3
  146. package/dist/_chunks/{widget-picker-DlJOgYrZ.js → widget-picker-CkhoG4Rj.js} +2 -2
  147. package/dist/_chunks/{workflow-map-Demlpy39.js → workflow-map-BUYG1oXU.js} +7 -7
  148. package/dist/_chunks/{workflow-status-BT27_fQp.js → workflow-status-Dc_CyEz5.js} +2 -2
  149. package/dist/agent-catalog.json +26 -1
  150. package/dist/agent-i18n/en.json +4 -2
  151. package/dist/components/_shared/aria-keyshortcuts.d.ts +5 -0
  152. package/dist/components/_shared/popup-region.d.ts +28 -0
  153. package/dist/components/agenda-tray/index.js +1 -1
  154. package/dist/components/ai-credits-notice/index.js +1 -1
  155. package/dist/components/ai-permission-notice/index.js +1 -1
  156. package/dist/components/ai-prompt-input/index.js +1 -1
  157. package/dist/components/anamnesis-card/index.js +1 -1
  158. package/dist/components/anamnesis-summary-card/index.js +1 -1
  159. package/dist/components/appointment-card/index.js +2 -2
  160. package/dist/components/appointment-details-panel/index.js +1 -1
  161. package/dist/components/appointment-peek/index.js +1 -1
  162. package/dist/components/appointment-timeline/index.js +1 -1
  163. package/dist/components/audio-recorder/index.js +1 -1
  164. package/dist/components/bishop-score/index.js +1 -1
  165. package/dist/components/bmi-calculator/index.js +1 -1
  166. package/dist/components/booking/index.js +1 -1
  167. package/dist/components/button/index.js +2 -2
  168. package/dist/components/button-group/index.js +1 -1
  169. package/dist/components/calculator-dialog/index.js +1 -1
  170. package/dist/components/calendar/index.js +1 -1
  171. package/dist/components/card/index.js +1 -1
  172. package/dist/components/care-plan-card/index.js +1 -1
  173. package/dist/components/care-plan-entry-card/index.js +1 -1
  174. package/dist/components/care-plan-header/index.js +1 -1
  175. package/dist/components/carousel/index.js +1 -1
  176. package/dist/components/chart/index.js +1 -1
  177. package/dist/components/chat-input/index.js +1 -1
  178. package/dist/components/chat-message/index.js +1 -1
  179. package/dist/components/clinical-note-card/index.js +1 -1
  180. package/dist/components/connection-status/index.js +1 -1
  181. package/dist/components/contact-card/index.js +1 -1
  182. package/dist/components/contact-profile-card/index.js +1 -1
  183. package/dist/components/control-room-rail/index.js +1 -1
  184. package/dist/components/copy-field/index.js +1 -1
  185. package/dist/components/cycle-calculator/index.js +1 -1
  186. package/dist/components/dashboard-grid/index.js +1 -1
  187. package/dist/components/data-table/data-table.d.ts +1 -1
  188. package/dist/components/data-table/index.js +4 -4
  189. package/dist/components/data-table/toolbar.d.ts +1 -1
  190. package/dist/components/data-table-tabs/index.js +1 -1
  191. package/dist/components/description-list/index.js +1 -1
  192. package/dist/components/dev-bypass-button/index.js +1 -1
  193. package/dist/components/dialog/index.js +1 -1
  194. package/dist/components/document-preview/index.js +1 -1
  195. package/dist/components/document-scanner/index.js +1 -1
  196. package/dist/components/dropdown-menu/index.js +1 -1
  197. package/dist/components/due-date-calculator/index.js +2 -2
  198. package/dist/components/editable-description/index.js +1 -1
  199. package/dist/components/editor-overlay/index.js +1 -1
  200. package/dist/components/empty-state/empty-state.d.ts +8 -0
  201. package/dist/components/empty-state/index.d.ts +1 -1
  202. package/dist/components/empty-state/index.js +1 -1
  203. package/dist/components/entity-summary/index.js +1 -1
  204. package/dist/components/error-boundary/index.js +1 -1
  205. package/dist/components/face-scheme/index.js +1 -1
  206. package/dist/components/fetal-weight/index.js +1 -1
  207. package/dist/components/field-array/index.js +1 -1
  208. package/dist/components/file-manager/index.js +1 -1
  209. package/dist/components/finished-terminal/index.js +1 -1
  210. package/dist/components/fiscal-code-input/index.js +1 -1
  211. package/dist/components/freemium-paywall/index.js +1 -1
  212. package/dist/components/gestational-age-calculator/index.js +1 -1
  213. package/dist/components/hcg-doubling/index.js +1 -1
  214. package/dist/components/header/index.js +1 -1
  215. package/dist/components/header-settings/index.js +1 -1
  216. package/dist/components/heatmap/index.js +1 -1
  217. package/dist/components/hover-card/index.js +1 -1
  218. package/dist/components/icon-button/index.js +1 -1
  219. package/dist/components/icon-button-group/index.js +1 -1
  220. package/dist/components/icon-picker/index.js +1 -1
  221. package/dist/components/image-cropper/index.js +1 -1
  222. package/dist/components/info-tip/index.js +1 -1
  223. package/dist/components/key-value-pair/index.js +1 -1
  224. package/dist/components/locale-picker/index.js +1 -1
  225. package/dist/components/map-view/index.js +1 -1
  226. package/dist/components/message-card/index.js +1 -1
  227. package/dist/components/message-tray/index.js +1 -1
  228. package/dist/components/muscle-scheme/index.js +1 -1
  229. package/dist/components/notes-panel/index.js +1 -1
  230. package/dist/components/notification-card/index.js +1 -1
  231. package/dist/components/notification-tray/index.js +1 -1
  232. package/dist/components/operator-hero/index.js +1 -1
  233. package/dist/components/optical-prescription/index.js +1 -1
  234. package/dist/components/pagination/index.js +1 -1
  235. package/dist/components/panel-subview/index.js +1 -1
  236. package/dist/components/patient-details/index.js +1 -1
  237. package/dist/components/patient-search/index.js +1 -1
  238. package/dist/components/patient-summary-card/index.js +1 -1
  239. package/dist/components/patient-table/index.js +1 -1
  240. package/dist/components/payment-card/index.js +1 -1
  241. package/dist/components/periodontal-chart/index.js +1 -1
  242. package/dist/components/periodontal-chart-card/index.js +1 -1
  243. package/dist/components/periodontal-diagnosis/index.js +1 -1
  244. package/dist/components/periodontal-risk-chart/index.js +1 -1
  245. package/dist/components/popover/index.js +1 -1
  246. package/dist/components/practice-profile-hero/index.js +1 -1
  247. package/dist/components/practice-results/index.js +1 -1
  248. package/dist/components/pregnancy-dating/index.js +1 -1
  249. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  250. package/dist/components/privacy-lock/index.js +1 -1
  251. package/dist/components/product-hub-tray/index.js +1 -1
  252. package/dist/components/public-header/index.js +1 -1
  253. package/dist/components/radiograph-panel/index.js +1 -1
  254. package/dist/components/reviews-panel/index.js +1 -1
  255. package/dist/components/rich-text-editor/index.js +2 -2
  256. package/dist/components/section-card/index.js +1 -1
  257. package/dist/components/select/index.js +1 -1
  258. package/dist/components/select/select.d.ts +1 -1
  259. package/dist/components/session-countdown/index.js +1 -1
  260. package/dist/components/sheet/index.js +1 -1
  261. package/dist/components/sidebar/index.d.ts +2 -2
  262. package/dist/components/sidebar/index.js +24 -21
  263. package/dist/components/sidebar/sidebar.d.ts +69 -1
  264. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  265. package/dist/components/skeleton-scheme/index.js +1 -1
  266. package/dist/components/slot-grid/index.js +1 -1
  267. package/dist/components/streaming-text/index.js +1 -1
  268. package/dist/components/tab-bar/index.js +1 -1
  269. package/dist/components/tabs/index.js +1 -1
  270. package/dist/components/task-card/index.js +1 -1
  271. package/dist/components/task-editor/index.js +1 -1
  272. package/dist/components/task-tray/index.js +1 -1
  273. package/dist/components/tasks-panel/index.js +1 -1
  274. package/dist/components/theme-toggle/index.js +1 -1
  275. package/dist/components/timeline/index.js +1 -1
  276. package/dist/components/toast/index.js +1 -1
  277. package/dist/components/token-insert-menu/index.js +1 -1
  278. package/dist/components/tool-rail/index.js +1 -1
  279. package/dist/components/tooth-scheme/index.js +1 -1
  280. package/dist/components/unit-converter/index.js +1 -1
  281. package/dist/components/voice-control-panel/index.js +1 -1
  282. package/dist/components/warning-stack/index.js +1 -1
  283. package/dist/components/widget-picker/index.js +1 -1
  284. package/dist/components/workflow/index.js +1 -1
  285. package/dist/components/workflow-status/index.js +1 -1
  286. package/dist/i18n/locales/ar.d.ts +7 -0
  287. package/dist/i18n/locales/ar.js +8 -1
  288. package/dist/i18n/locales/de.d.ts +7 -0
  289. package/dist/i18n/locales/de.js +8 -1
  290. package/dist/i18n/locales/el.d.ts +7 -0
  291. package/dist/i18n/locales/el.js +8 -1
  292. package/dist/i18n/locales/en.d.ts +7 -0
  293. package/dist/i18n/locales/en.js +8 -1
  294. package/dist/i18n/locales/es.d.ts +7 -0
  295. package/dist/i18n/locales/es.js +8 -1
  296. package/dist/i18n/locales/fr.d.ts +7 -0
  297. package/dist/i18n/locales/fr.js +8 -1
  298. package/dist/i18n/locales/hi.d.ts +7 -0
  299. package/dist/i18n/locales/hi.js +8 -1
  300. package/dist/i18n/locales/it.d.ts +7 -0
  301. package/dist/i18n/locales/it.js +8 -1
  302. package/dist/i18n/locales/ja.d.ts +7 -0
  303. package/dist/i18n/locales/ja.js +8 -1
  304. package/dist/i18n/locales/nl.d.ts +7 -0
  305. package/dist/i18n/locales/nl.js +8 -1
  306. package/dist/i18n/locales/pl.d.ts +7 -0
  307. package/dist/i18n/locales/pl.js +8 -1
  308. package/dist/i18n/locales/pt.d.ts +7 -0
  309. package/dist/i18n/locales/pt.js +8 -1
  310. package/dist/i18n/locales/ro.d.ts +7 -0
  311. package/dist/i18n/locales/ro.js +8 -1
  312. package/dist/i18n/locales/ru.d.ts +7 -0
  313. package/dist/i18n/locales/ru.js +8 -1
  314. package/dist/i18n/locales/sq.d.ts +7 -0
  315. package/dist/i18n/locales/sq.js +8 -1
  316. package/dist/i18n/locales/sv.d.ts +7 -0
  317. package/dist/i18n/locales/sv.js +8 -1
  318. package/dist/i18n/locales/tr.d.ts +7 -0
  319. package/dist/i18n/locales/tr.js +8 -1
  320. package/dist/i18n/locales/zh.d.ts +7 -0
  321. package/dist/i18n/locales/zh.js +8 -1
  322. package/dist/index.js +781 -778
  323. package/dist/locales/ar.json +8 -1
  324. package/dist/locales/de.json +8 -1
  325. package/dist/locales/el.json +8 -1
  326. package/dist/locales/en.json +8 -1
  327. package/dist/locales/es.json +8 -1
  328. package/dist/locales/fr.json +8 -1
  329. package/dist/locales/hi.json +8 -1
  330. package/dist/locales/it.json +8 -1
  331. package/dist/locales/ja.json +8 -1
  332. package/dist/locales/nl.json +8 -1
  333. package/dist/locales/pl.json +8 -1
  334. package/dist/locales/pt.json +8 -1
  335. package/dist/locales/ro.json +8 -1
  336. package/dist/locales/ru.json +8 -1
  337. package/dist/locales/sq.json +8 -1
  338. package/dist/locales/sv.json +8 -1
  339. package/dist/locales/tr.json +8 -1
  340. package/dist/locales/zh.json +8 -1
  341. package/dist/patterns/alia-assistant/index.js +1 -1
  342. package/dist/patterns/anamnesis/index.js +1 -1
  343. package/dist/patterns/calendar/index.js +1 -1
  344. package/dist/patterns/error-page/index.js +1 -1
  345. package/dist/patterns/forgot-password-form/index.js +1 -1
  346. package/dist/patterns/help-me-write-templates/index.js +1 -1
  347. package/dist/patterns/login-form/index.js +1 -1
  348. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  349. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +23 -4
  350. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  351. package/dist/patterns/registration-form/index.js +1 -1
  352. package/dist/patterns/signature-request/index.js +1 -1
  353. package/dist/patterns/signed-out-frame/index.js +1 -1
  354. package/dist/tokens.css +6 -3
  355. package/package.json +1 -1
  356. package/dist/_chunks/sidebar-D4Wllqfz.js +0 -2029
@@ -1,20 +1,22 @@
1
- import { jsx as e, jsxs as p } from "react/jsx-runtime";
2
- import { forwardRef as m, useId as re, useContext as Be, useState as H, useRef as B, useEffect as _e, useMemo as Oe } from "react";
3
- import { u as De } from "./registry-DvAUVLHh.js";
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";
4
4
  import * as n from "@radix-ui/react-select";
5
5
  import { c as U } from "./index-D2ZczOXr.js";
6
- import { useTranslation as Ae } from "react-i18next";
7
- import { u as Le, F as Fe, a as Ge } from "./form-field-context-DtiROUJV.js";
8
- import { g as Pe } from "./group-options-BvKhQ3xb.js";
9
- import { u as Ke } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
10
- import { b as We } from "./menu-row-BAr8bx1I.js";
11
- import { o as le, b as $e, d as qe, c as He } from "./option-row-Dc7BrbK8.js";
12
- import { C as Me } from "./chevron-up-umRGgtJA.js";
13
- import { C as ce } from "./chevron-down-DWE7GSq9.js";
14
- import { C as Ue } from "./check-DrFSN__t.js";
15
- import { u as Xe } from "./use-direction-Dp8h70PP.js";
16
- import { X as Je } from "./x-B5YnXwCz.js";
17
- const Qe = {
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 = {
18
20
  id: "select",
19
21
  // Persisted single choice (value state + set_value) → select_single + set_value,
20
22
  // plus open/close of the option list.
@@ -98,7 +100,7 @@ const Qe = {
98
100
  description: "Stable opaque option value emitted on each rendered option."
99
101
  }
100
102
  }
101
- }, ue = U(
103
+ }, fe = U(
102
104
  [
103
105
  "ds:group ds:inline-flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:w-full",
104
106
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)] ds:bg-input",
@@ -128,7 +130,7 @@ const Qe = {
128
130
  tone: "default"
129
131
  }
130
132
  }
131
- ), Ye = U(
133
+ ), at = U(
132
134
  [
133
135
  "ds:z-[var(--z-dropdown)] ds:overflow-hidden",
134
136
  // Never wider than the screen allows: a long option wraps or ends in an
@@ -143,12 +145,12 @@ const Qe = {
143
145
  "ds:data-[side=top]:slide-in-from-bottom-2",
144
146
  "ds:motion-reduce:animate-none"
145
147
  ].join(" ")
146
- ), Ze = U(
148
+ ), ot = U(
147
149
  [
148
150
  "ds:relative ds:flex ds:cursor-pointer ds:items-center",
149
151
  "ds:rounded-[var(--radius-sm)]",
150
152
  "ds:text-foreground ds:outline-none ds:select-none",
151
- We.highlighted,
153
+ Me.highlighted,
152
154
  "ds:data-[disabled]:pointer-events-none ds:data-[disabled]:opacity-50"
153
155
  ].join(" "),
154
156
  {
@@ -163,71 +165,93 @@ const Qe = {
163
165
  size: "md"
164
166
  }
165
167
  }
166
- ), et = [
168
+ ), nt = [
167
169
  "ds:ps-8 ds:pe-3 ds:py-1.5",
168
170
  "type-eyebrow ds:text-muted-foreground",
169
171
  "ds:sticky ds:top-0 ds:bg-background"
170
- ].join(" "), tt = {
172
+ ].join(" "), rt = {
171
173
  sm: "ds:size-3.5",
172
174
  md: "ds:size-4",
173
175
  lg: "ds:size-5"
174
- }, st = {
176
+ }, it = {
175
177
  sm: "ds:start-2",
176
178
  md: "ds:start-2",
177
179
  lg: "ds:start-3"
178
180
  };
179
- function at(...t) {
181
+ function dt(...t) {
180
182
  return (a) => {
181
183
  for (const o of t)
182
184
  o && (typeof o == "function" ? o(a) : o.current = a);
183
185
  };
184
186
  }
185
- const pe = (t) => /* @__PURE__ */ e(n.Root, { ...t });
186
- pe.displayName = "Select.Root";
187
- const me = m(
188
- ({ size: t, tone: a, className: o, children: d, ...g }, r) => /* @__PURE__ */ e(
187
+ const X = Ae(void 0), ge = ({
188
+ open: t,
189
+ defaultOpen: a,
190
+ onOpenChange: o,
191
+ ...r
192
+ }) => {
193
+ const [l, d] = He({
194
+ value: t,
195
+ defaultValue: a ?? !1,
196
+ onChange: o
197
+ });
198
+ return /* @__PURE__ */ e(X.Provider, { value: l ?? !1, children: /* @__PURE__ */ e(
199
+ n.Root,
200
+ {
201
+ open: l ?? !1,
202
+ onOpenChange: d,
203
+ ...r
204
+ }
205
+ ) });
206
+ };
207
+ ge.displayName = "Select.Root";
208
+ const he = f(
209
+ ({ size: t, tone: a, className: o, children: r, ...l }, d) => /* @__PURE__ */ e(
189
210
  n.Trigger,
190
211
  {
191
- ref: r,
192
- className: ue({ size: t, tone: a, className: o }),
193
- ...g,
194
- children: d
212
+ ref: d,
213
+ className: fe({ size: t, tone: a, className: o }),
214
+ ...l,
215
+ children: r
195
216
  }
196
217
  )
197
218
  );
198
- me.displayName = "Select.Trigger";
199
- const M = { "data-select-value": "" }, ot = [
219
+ he.displayName = "Select.Trigger";
220
+ const M = { "data-select-value": "" }, lt = [
200
221
  "ds:[[data-select-value]_&]:block",
201
222
  "ds:[[data-select-value]_&]:truncate"
202
- ].join(" "), fe = m((t, a) => /* @__PURE__ */ e(n.Value, { ref: a, ...M, ...t }));
203
- fe.displayName = "Select.Value";
204
- const X = m(
223
+ ].join(" "), ve = f((t, a) => /* @__PURE__ */ e(n.Value, { ref: a, ...M, ...t }));
224
+ ve.displayName = "Select.Value";
225
+ const J = f(
205
226
  ({
206
227
  className: t,
207
228
  children: a,
208
229
  position: o = "popper",
209
- sideOffset: d = 4,
210
- container: g,
211
- ...r
212
- }, N) => /* @__PURE__ */ e(n.Portal, { container: g ?? void 0, children: /* @__PURE__ */ p(
213
- n.Content,
214
- {
215
- ref: N,
216
- position: o,
217
- sideOffset: d,
218
- "data-component": "select-content",
219
- className: Ye({ className: t }),
220
- ...r,
221
- children: [
222
- /* @__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(Me, { "aria-hidden": "true", className: "ds:size-4" }) }),
223
- a,
224
- /* @__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(ce, { "aria-hidden": "true", className: "ds:size-4" }) })
225
- ]
226
- }
227
- ) })
230
+ sideOffset: r = 4,
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(
236
+ n.Content,
237
+ {
238
+ ref: h,
239
+ position: o,
240
+ sideOffset: r,
241
+ "data-component": "select-content",
242
+ className: at({ className: t }),
243
+ ...d,
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" }) }),
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" }) })
248
+ ]
249
+ }
250
+ ) }) });
251
+ }
228
252
  );
229
- X.displayName = "Select.Content";
230
- const J = m(({ className: t, ...a }, o) => /* @__PURE__ */ e(
253
+ J.displayName = "Select.Content";
254
+ const Q = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
231
255
  n.Viewport,
232
256
  {
233
257
  ref: o,
@@ -235,24 +259,24 @@ const J = m(({ className: t, ...a }, o) => /* @__PURE__ */ e(
235
259
  ...a
236
260
  }
237
261
  ));
238
- J.displayName = "Select.Viewport";
239
- const Q = m(
262
+ Q.displayName = "Select.Viewport";
263
+ const Y = f(
240
264
  ({
241
265
  size: t = "md",
242
266
  className: a,
243
267
  children: o,
244
- startAdornment: d,
245
- endContent: g,
246
- description: r,
268
+ startAdornment: r,
269
+ endContent: l,
270
+ description: d,
247
271
  descriptionTone: N,
248
- descriptionInName: _ = !1,
249
- wrapLabel: v = !1,
250
- ...I
272
+ descriptionInName: I = !1,
273
+ wrapLabel: h = !1,
274
+ ...C
251
275
  }, b) => {
252
- const R = st[t ?? "md"], O = tt[t ?? "md"], w = re(), z = re(), l = r != null && r !== "", C = l && _, j = C ? { id: z } : {}, D = C ? { "aria-labelledby": `${z} ${w}` } : {}, V = v ? le({
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({
253
277
  wrap: !0,
254
- className: ot
255
- }) : "", y = l ? "ds:group-data-[disabled]/select-item:opacity-50" : "", k = g ? (
278
+ className: lt
279
+ }) : "", y = c ? "ds:group-data-[disabled]/select-item:opacity-50" : "", E = l ? (
256
280
  // Radix points the item's `aria-labelledby` at `ItemText`, so
257
281
  // anything rendered outside it is dropped from the accessible
258
282
  // name — a price there would be visible but never announced.
@@ -276,87 +300,87 @@ const Q = m(
276
300
  // our own span become the ItemText element, so `flex-1` lands.
277
301
  //
278
302
  // A wrapping label keeps the end content on its first line.
279
- /* @__PURE__ */ e(n.ItemText, { asChild: !0, ...j, children: /* @__PURE__ */ p(
303
+ /* @__PURE__ */ e(n.ItemText, { asChild: !0, ...j, children: /* @__PURE__ */ m(
280
304
  "span",
281
305
  {
282
- className: qe({
283
- wrap: v,
306
+ className: Je({
307
+ wrap: h,
284
308
  className: y
285
309
  }),
286
310
  children: [
287
- /* @__PURE__ */ e("span", { className: V || le(), children: o }),
288
- /* @__PURE__ */ e("span", { className: $e, children: g })
311
+ /* @__PURE__ */ e("span", { className: k || ue(), children: o }),
312
+ /* @__PURE__ */ e("span", { className: Xe, children: l })
289
313
  ]
290
314
  }
291
315
  ) })
292
- ) : l || v ? /* @__PURE__ */ e(n.ItemText, { asChild: !0, ...j, children: /* @__PURE__ */ e("span", { className: [V, y].filter(Boolean).join(" "), children: o }) }) : /* @__PURE__ */ e(n.ItemText, { children: o });
293
- return /* @__PURE__ */ p(
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 });
317
+ return /* @__PURE__ */ m(
294
318
  n.Item,
295
319
  {
296
320
  ref: b,
297
321
  ...D,
298
- "aria-describedby": l && !C ? w : void 0,
299
- className: Ze({
322
+ "aria-describedby": c && !T ? w : void 0,
323
+ className: ot({
300
324
  size: t,
301
- className: l ? [
325
+ className: c ? [
302
326
  "ds:group/select-item ds:data-[disabled]:!opacity-100",
303
327
  a
304
328
  ].filter(Boolean).join(" ") : a
305
329
  }),
306
- ...I,
330
+ ...C,
307
331
  children: [
308
332
  /* @__PURE__ */ e(
309
333
  "span",
310
334
  {
311
- className: `ds:absolute ${R} ds:inline-flex ds:items-center ds:justify-center ${y}`,
335
+ className: `ds:absolute ${z} ds:inline-flex ds:items-center ds:justify-center ${y}`,
312
336
  "aria-hidden": "true",
313
- children: /* @__PURE__ */ e(n.ItemIndicator, { children: /* @__PURE__ */ e(Ue, { className: O }) })
337
+ children: /* @__PURE__ */ e(n.ItemIndicator, { children: /* @__PURE__ */ e(Ze, { className: P }) })
314
338
  }
315
339
  ),
316
- d ? (
340
+ r ? (
317
341
  // Decorative by contract — accessible name comes from the item text.
318
342
  /* @__PURE__ */ e(
319
343
  "span",
320
344
  {
321
345
  "aria-hidden": "true",
322
346
  className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${y}`,
323
- children: d
347
+ children: r
324
348
  }
325
349
  )
326
350
  ) : null,
327
- l || v ? /* @__PURE__ */ p("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
328
- k,
329
- l ? /* @__PURE__ */ e(
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: [
352
+ E,
353
+ c ? /* @__PURE__ */ e(
330
354
  "span",
331
355
  {
332
356
  id: w,
333
- className: He({
357
+ className: Qe({
334
358
  tone: N
335
359
  }),
336
- children: r
360
+ children: d
337
361
  }
338
362
  ) : null
339
- ] }) : k
363
+ ] }) : E
340
364
  ]
341
365
  }
342
366
  );
343
367
  }
344
368
  );
345
- Q.displayName = "Select.Item";
346
- const ge = m((t, a) => /* @__PURE__ */ e(n.ItemText, { ref: a, ...t }));
347
- ge.displayName = "Select.ItemText";
348
- const he = m((t, a) => /* @__PURE__ */ e(n.Group, { ref: a, ...t }));
349
- he.displayName = "Select.Group";
350
- const Y = m(({ className: t, ...a }, o) => /* @__PURE__ */ e(
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(
351
375
  n.Label,
352
376
  {
353
377
  ref: o,
354
- className: [et, t].filter(Boolean).join(" "),
378
+ className: [nt, t].filter(Boolean).join(" "),
355
379
  ...a
356
380
  }
357
381
  ));
358
- Y.displayName = "Select.Label";
359
- const ve = m(({ className: t, ...a }, o) => /* @__PURE__ */ e(
382
+ Z.displayName = "Select.Label";
383
+ const xe = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
360
384
  n.Separator,
361
385
  {
362
386
  ref: o,
@@ -364,8 +388,8 @@ const ve = m(({ className: t, ...a }, o) => /* @__PURE__ */ e(
364
388
  ...a
365
389
  }
366
390
  ));
367
- ve.displayName = "Select.Separator";
368
- const nt = "ds-select-detached", it = /* @__PURE__ */ new Set([
391
+ xe.displayName = "Select.Separator";
392
+ const ct = "ds-select-detached", ut = /* @__PURE__ */ new Set([
369
393
  "data-component",
370
394
  "data-component-id",
371
395
  "data-state",
@@ -374,114 +398,115 @@ const nt = "ds-select-detached", it = /* @__PURE__ */ new Set([
374
398
  "aria-expanded",
375
399
  "aria-controls"
376
400
  ]);
377
- function dt(t) {
401
+ function pt(t) {
378
402
  const a = {};
379
- for (const [o, d] of Object.entries(t))
380
- d === void 0 || it.has(o) || (o.startsWith("data-") || o.startsWith("aria-")) && (a[o] = d);
403
+ for (const [o, r] of Object.entries(t))
404
+ r === void 0 || ut.has(o) || (o.startsWith("data-") || o.startsWith("aria-")) && (a[o] = r);
381
405
  return a;
382
406
  }
383
- const be = m(function({
407
+ const Se = f(function({
384
408
  options: a,
385
409
  value: o,
386
- defaultValue: d,
387
- onValueChange: g,
388
- placeholder: r,
410
+ defaultValue: r,
411
+ onValueChange: l,
412
+ placeholder: d,
389
413
  clearable: N = !1,
390
- disabled: _,
391
- required: v,
392
- name: I,
414
+ disabled: I,
415
+ required: h,
416
+ name: C,
393
417
  id: b,
394
- size: R = "md",
395
- tone: O = "default",
418
+ size: z = "md",
419
+ tone: P = "default",
396
420
  className: w,
397
- container: z,
398
- "aria-label": l,
399
- "aria-describedby": C,
421
+ container: V,
422
+ "aria-label": c,
423
+ "aria-describedby": T,
400
424
  adornmentInTrigger: j = !1,
401
425
  showDescriptions: D = !1,
402
- descriptionInName: V = !1,
426
+ descriptionInName: k = !1,
403
427
  wrapOptionLabels: y = !1,
404
- ...k
405
- }, ye) {
406
- var ie;
407
- const { t: A } = Ae("ui"), x = Le(), h = Be(Fe) !== null, [xe, E] = H(
408
- o ?? d ?? ""
409
- ), S = o !== void 0, c = S ? o : xe, [L, F] = H(!1), Z = B(c);
410
- Z.current = c;
411
- const Se = Ge(x, b), Ne = b ?? (h ? Se : void 0), G = (h ? x.disabled : !1) || !!_, P = (h ? x.required : !1) || !!v, ee = h ? x.invalid : !1, Ie = ee ? "error" : O, we = [h ? x.describedBy : void 0, C].filter(Boolean).join(" ") || void 0, te = j ? (ie = a.find((s) => s.value === c)) == null ? void 0 : ie.startAdornment : void 0, T = B(null), Ce = at(ye, T), Te = Xe(T), [Re, ze] = H(!0);
412
- Ke(() => {
428
+ ...E
429
+ }, Ne) {
430
+ var de;
431
+ const { t: A } = Le("ui"), x = Ge(), v = pe(Ke) !== null, [Ie, O] = H(
432
+ 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(() => {
413
437
  var s;
414
- c === "" && ze(!!((s = T.current) != null && s.closest("form")));
438
+ u === "" && ke(!!((s = R.current) != null && s.closest("form")));
415
439
  });
416
- const K = c === "" && Re, se = B(null), W = B(c !== "");
417
- _e(() => {
440
+ const K = u === "" && je, ae = _(null), W = _(u !== "");
441
+ Pe(() => {
418
442
  var s;
419
- if (c !== "") {
443
+ if (u !== "") {
420
444
  W.current = !0;
421
445
  return;
422
446
  }
423
- W.current && (W.current = !1, (s = se.current) == null || s.dispatchEvent(new Event("change", { bubbles: !0 })));
424
- }, [c]);
425
- const i = g, ae = (s) => {
426
- S || E(s), i == null || i(s);
427
- }, je = (s) => {
428
- var u;
429
- s.preventDefault(), s.stopPropagation(), S || E(""), i == null || i(""), (u = T.current) == null || u.focus();
430
- }, $ = r ?? A("inputs.select.placeholder", "Select…"), Ve = N && !!c && !G, oe = l ?? (h ? void 0 : $), ne = !l && h ? `${x.id}-label` : void 0, ke = Pe(a), Ee = Oe(
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(
431
455
  () => ({
432
- getValue: () => Z.current,
456
+ getValue: () => ee.current,
433
457
  setValue: (s) => {
434
- const u = a.find((q) => q.value === s);
435
- !u || u.disabled || (S || E(s), i == null || i(s));
458
+ const p = a.find((q) => q.value === s);
459
+ !p || p.disabled || (S || O(s), i == null || i(s));
436
460
  },
437
461
  clear: () => {
438
- S || E(""), i == null || i("");
462
+ S || O(""), i == null || i("");
439
463
  },
440
464
  open: () => F(!0),
441
465
  close: () => F(!1),
442
- isOpen: () => L
466
+ isOpen: () => B
443
467
  }),
444
- [i, S, L, a]
468
+ [i, S, B, a]
445
469
  );
446
- return De(Qe, Ee, b), /* @__PURE__ */ p(
470
+ return Fe(st, _e, b), /* @__PURE__ */ m(
447
471
  n.Root,
448
472
  {
449
- value: c,
450
- onValueChange: ae,
451
- open: L,
473
+ value: u,
474
+ onValueChange: oe,
475
+ open: B,
452
476
  onOpenChange: F,
453
- disabled: G,
454
- required: P,
455
- name: K ? void 0 : I,
456
- form: K ? nt : void 0,
457
- dir: Te,
477
+ disabled: L,
478
+ required: G,
479
+ name: K ? void 0 : C,
480
+ form: K ? ct : void 0,
481
+ dir: Ve,
458
482
  children: [
459
- /* @__PURE__ */ p(
483
+ /* @__PURE__ */ m(
460
484
  n.Trigger,
461
485
  {
462
- ref: Ce,
463
- id: Ne,
464
- "aria-label": oe,
465
- "aria-labelledby": ne,
466
- "aria-describedby": we,
467
- "aria-invalid": ee || void 0,
468
- ...dt(k),
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),
469
494
  "data-component": "select",
470
495
  "data-component-id": b,
471
- className: ue({
472
- size: R,
473
- tone: Ie,
496
+ className: fe({
497
+ size: z,
498
+ tone: Te,
474
499
  className: w
475
500
  }),
476
501
  children: [
477
- te ? /* @__PURE__ */ p("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
502
+ se ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
478
503
  /* @__PURE__ */ e(
479
504
  "span",
480
505
  {
481
506
  "aria-hidden": "true",
482
507
  "data-select-trigger-adornment": "",
483
508
  className: "ds:inline-flex ds:shrink-0 ds:items-center",
484
- children: te
509
+ children: se
485
510
  }
486
511
  ),
487
512
  /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(
@@ -498,13 +523,13 @@ const be = m(function({
498
523
  placeholder: $
499
524
  }
500
525
  ) }),
501
- /* @__PURE__ */ p("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
502
- Ve ? /* @__PURE__ */ e(
526
+ /* @__PURE__ */ m("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
527
+ Oe ? /* @__PURE__ */ e(
503
528
  "button",
504
529
  {
505
530
  type: "button",
506
531
  "aria-label": A("inputs.select.clear", "Clear selection"),
507
- onClick: je,
532
+ onClick: Ee,
508
533
  onPointerDown: (s) => s.stopPropagation(),
509
534
  onKeyDown: (s) => {
510
535
  (s.key === "Enter" || s.key === " ") && s.stopPropagation();
@@ -517,11 +542,11 @@ const be = m(function({
517
542
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
518
543
  "ds:size-4"
519
544
  ].join(" "),
520
- children: /* @__PURE__ */ e(Je, { "aria-hidden": "true", className: "ds:size-3.5" })
545
+ children: /* @__PURE__ */ e(tt, { "aria-hidden": "true", className: "ds:size-3.5" })
521
546
  }
522
547
  ) : null,
523
548
  /* @__PURE__ */ e(n.Icon, { asChild: !0, children: /* @__PURE__ */ e(
524
- ce,
549
+ me,
525
550
  {
526
551
  "aria-hidden": "true",
527
552
  className: [
@@ -535,22 +560,22 @@ const be = m(function({
535
560
  ]
536
561
  }
537
562
  ),
538
- K && (I !== void 0 || P) ? /* @__PURE__ */ p(
563
+ K && (C !== void 0 || G) ? /* @__PURE__ */ m(
539
564
  "select",
540
565
  {
541
- ref: se,
566
+ ref: ae,
542
567
  "data-component": "select-field",
543
568
  "aria-hidden": !0,
544
569
  tabIndex: -1,
545
- "aria-label": oe,
546
- "aria-labelledby": ne,
547
- name: I,
548
- required: P,
549
- disabled: G,
570
+ "aria-label": re,
571
+ "aria-labelledby": ie,
572
+ name: C,
573
+ required: G,
574
+ disabled: L,
550
575
  value: "",
551
576
  onChange: (s) => {
552
- var u;
553
- s.target.value !== "" && (document.activeElement === s.target && ((u = T.current) == null || u.focus()), ae(s.target.value));
577
+ var p;
578
+ s.target.value !== "" && (document.activeElement === s.target && ((p = R.current) == null || p.focus()), oe(s.target.value));
554
579
  },
555
580
  className: "ds:sr-only",
556
581
  children: [
@@ -567,58 +592,58 @@ const be = m(function({
567
592
  ]
568
593
  }
569
594
  ) : null,
570
- /* @__PURE__ */ e(X, { container: z, children: /* @__PURE__ */ e(J, { 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") }) : ke.map(({ group: s, items: u }, q) => {
571
- const de = u.map((f) => /* @__PURE__ */ e(
572
- Q,
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,
573
598
  {
574
- value: f.value,
575
- disabled: f.disabled,
576
- size: R,
577
- "data-option-id": f.value,
578
- startAdornment: f.startAdornment,
579
- endContent: f.endContent,
580
- description: D ? f.description : void 0,
581
- descriptionTone: f.descriptionTone,
582
- descriptionInName: V,
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,
583
608
  wrapLabel: y,
584
- children: f.label
609
+ children: g.label
585
610
  },
586
- f.value
611
+ g.value
587
612
  ));
588
- return s ? /* @__PURE__ */ p(n.Group, { children: [
589
- /* @__PURE__ */ e(Y, { children: s }),
590
- de
591
- ] }, `group-${s}`) : /* @__PURE__ */ e(n.Group, { children: de }, `group-${q}`);
592
- }) }) })
613
+ 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}`);
617
+ }) }) }) })
593
618
  ]
594
619
  }
595
620
  );
596
621
  });
597
- be.displayName = "Select";
598
- const rt = Object.assign(be, {
599
- Root: pe,
600
- Trigger: me,
601
- Value: fe,
602
- Content: X,
603
- Viewport: J,
604
- Item: Q,
605
- ItemText: ge,
606
- Group: he,
607
- Label: Y,
608
- Separator: ve
609
- }), wt = rt;
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
634
+ }), kt = mt;
610
635
  export {
611
- wt as S,
612
- X as a,
613
- he as b,
614
- Q as c,
615
- ge as d,
616
- Y as e,
617
- pe as f,
618
- ve as g,
619
- me as h,
620
- fe as i,
621
- J as j,
622
- ue as s
636
+ 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
623
648
  };
624
- //# sourceMappingURL=select-Ce5RMk93.js.map
649
+ //# sourceMappingURL=select-k4gBdS8N.js.map