@alfadocs/ui-kit 1.54.3 → 1.55.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 (617) hide show
  1. package/dist/_chunks/{accordion-C11v9ouP.js → accordion-Ch3xp0mX.js} +9 -9
  2. package/dist/_chunks/{actions-cell-renderer-CjzSqMgn.js → actions-cell-renderer-Dj1ZkvJj.js} +4 -4
  3. package/dist/_chunks/{address-autocomplete-BBZ0u_U1.js → address-autocomplete-bPR2mNBt.js} +2 -2
  4. package/dist/_chunks/address-fields-BfjxS05Z.js +298 -0
  5. package/dist/_chunks/{agenda-card-CakEvwnM.js → agenda-card-DauvvKX6.js} +2 -2
  6. package/dist/_chunks/{agenda-tray-B8vuZKjH.js → agenda-tray-ZKhDxlfw.js} +24 -24
  7. package/dist/_chunks/{ai-credits-notice-D9_qP2xc.js → ai-credits-notice-BoNJtOuE.js} +4 -4
  8. package/dist/_chunks/ai-fab-pill-BOu96kCx.js +30 -0
  9. package/dist/_chunks/{ai-permission-notice-Cr6o1f0f.js → ai-permission-notice-5vpblPCx.js} +3 -3
  10. package/dist/_chunks/{ai-prompt-input-DkL8W-nt.js → ai-prompt-input-Beh-O_rJ.js} +4 -4
  11. package/dist/_chunks/{alia-sidebar-DSUQ2RpK.js → alia-sidebar-DS0b54Mv.js} +12 -12
  12. package/dist/_chunks/{anamnesis-card-BT1tMt5O.js → anamnesis-card-BSlAhaoG.js} +4 -4
  13. package/dist/_chunks/{anamnesis-summary-card-Bv0CZ-mk.js → anamnesis-summary-card-2YfIYY2j.js} +2 -2
  14. package/dist/_chunks/{anamnesis-summary-rows-Brru7JrH.js → anamnesis-summary-rows-Dtw5Hpg4.js} +425 -424
  15. package/dist/_chunks/{antenatal-schedule-timeline-BZzgjfyd.js → antenatal-schedule-timeline-Kf2Yg8uo.js} +4 -4
  16. package/dist/_chunks/{app-frame-Cos-GSfw.js → app-frame-B-0O9CrU.js} +40 -38
  17. package/dist/_chunks/{appointment-card-CA2ynsmN.js → appointment-card-Dh3fAcyf.js} +12 -12
  18. package/dist/_chunks/{appointment-peek-Cbrg36wj.js → appointment-peek-BIZaDeCi.js} +6 -6
  19. package/dist/_chunks/{appointment-timeline-CssAJLpL.js → appointment-timeline-DmqYEIT9.js} +32 -33
  20. package/dist/_chunks/{appointment-tray-EQUjllVy.js → appointment-tray-CyI_p3zU.js} +28 -28
  21. package/dist/_chunks/{appointment-workflow-status-DrWCNLbB.js → appointment-workflow-status-DMjuIK90.js} +2 -2
  22. package/dist/_chunks/{audio-recorder-BM68r6fe.js → audio-recorder-DWKKjGPt.js} +5 -6
  23. package/dist/_chunks/{auth-form-parts-Celi-TLV.js → auth-form-parts-CravOf0L.js} +6 -5
  24. package/dist/_chunks/{autocomplete-BXm1rnT0.js → autocomplete-DosDnGie.js} +3 -3
  25. package/dist/_chunks/{avatar-DYtwj1-R.js → avatar-WZY3eGE7.js} +10 -10
  26. package/dist/_chunks/{balance-badge-cell-C5hmahoB.js → balance-badge-cell-zP-iN-Pd.js} +5 -5
  27. package/dist/_chunks/{benefit-card-DB1Kdrmc.js → benefit-card-BWBClvdF.js} +46 -45
  28. package/dist/_chunks/{bishop-score-BzvVol-u.js → bishop-score-BxA20j9T.js} +5 -5
  29. package/dist/_chunks/{bmi-calculator-CDmQk0b5.js → bmi-calculator-DTZhRhXe.js} +5 -5
  30. package/dist/_chunks/{booking-BGY3LUi8.js → booking-uZO10TLK.js} +1553 -1458
  31. package/dist/_chunks/{button-CYPx2xFq.js → button-Bn16lcFM.js} +10 -7
  32. package/dist/_chunks/{button-group-CpEycMps.js → button-group-CWlwR-A5.js} +3 -3
  33. package/dist/_chunks/{calendar-BwF5nQuW.js → calendar-6-24PQ1u.js} +4 -4
  34. package/dist/_chunks/{calendar-workspace-BJPhMb2c.js → calendar-workspace-DVajSkKA.js} +868 -883
  35. package/dist/_chunks/{card-DPmk26CL.js → card-DMO2nkt4.js} +45 -42
  36. package/dist/_chunks/{care-plan-card-BqI-_B4T.js → care-plan-card-Ddjh5Doc.js} +5 -5
  37. package/dist/_chunks/{care-plan-entry-card-CbsZmfQM.js → care-plan-entry-card-0rpR-4Te.js} +5 -5
  38. package/dist/_chunks/{care-plan-header-BIS4CGcp.js → care-plan-header-BeMYMiI7.js} +3 -3
  39. package/dist/_chunks/{carousel.agent-DW9iPLdy.js → carousel.agent-D3xthzTf.js} +44 -45
  40. package/dist/_chunks/{chart-C134Ibwm.js → chart-C2RBJERE.js} +3 -3
  41. package/dist/_chunks/{chat-container-CAfyTxat.js → chat-container-baxzy8k8.js} +21 -22
  42. package/dist/_chunks/{chat-input-Bg99kcl3.js → chat-input-PtrSu1ZC.js} +27 -27
  43. package/dist/_chunks/{chat-message-D4rvLoIJ.js → chat-message-CmGUcajG.js} +4 -4
  44. package/dist/_chunks/city-input-BC_nYINn.js +185 -0
  45. package/dist/_chunks/{clinical-note-card-gmWXEwSu.js → clinical-note-card-14JIoUR0.js} +3 -3
  46. package/dist/_chunks/{code-block-CRVa-Thh.js → code-block-BQgK70mO.js} +2 -2
  47. package/dist/_chunks/{collapsible-CTjxzGuF.js → collapsible-DVPM46bq.js} +27 -27
  48. package/dist/_chunks/{color-picker-Bu0wM8xv.js → color-picker-BRQ4Y9SO.js} +3 -3
  49. package/dist/_chunks/{combobox-DppVSuUm.js → combobox-U5yfO6o0.js} +262 -218
  50. package/dist/_chunks/{connection-status-BwTnjnUj.js → connection-status-ncTjUPt6.js} +4 -4
  51. package/dist/_chunks/{contact-card-CIVCcicP.js → contact-card-CmK05vNb.js} +2 -2
  52. package/dist/_chunks/{contact-profile-card-B-HzocbB.js → contact-profile-card-C5DbP_X3.js} +4 -4
  53. package/dist/_chunks/{control-room-rail-g4vNSPFi.js → control-room-rail-Tx2jW250.js} +3 -3
  54. package/dist/_chunks/{copy-field-CiIuVbKe.js → copy-field-CvTIuA_p.js} +3 -3
  55. package/dist/_chunks/{country-select-r3QC7cVA.js → country-select-DF5Bd_mn.js} +2 -2
  56. package/dist/_chunks/{cycle-calculator-LjsQd9Gl.js → cycle-calculator-Dgfqr4Q4.js} +7 -7
  57. package/dist/_chunks/{dashboard-grid--rkojX6m.js → dashboard-grid-SAGoyCtL.js} +71 -71
  58. package/dist/_chunks/{data-table-BErtJzaT.js → data-table-C6T31E33.js} +244 -240
  59. package/dist/_chunks/{data-table-tabs-D5nFZKxg.js → data-table-tabs-Xhg5G0gU.js} +4 -4
  60. package/dist/_chunks/{date-picker-variants-B3AFKDSu.js → date-picker-variants-BnF-sHzq.js} +19 -10
  61. package/dist/_chunks/{date-picker-BnhBmcH6.js → date-picker-wRAcq2lt.js} +49 -49
  62. package/dist/_chunks/{date-range-picker-Dg050N1d.js → date-range-picker-BOvHwWO5.js} +5 -5
  63. package/dist/_chunks/{date-time-picker-Ckl6ezCL.js → date-time-picker-CLeLKuv9.js} +5 -5
  64. package/dist/_chunks/{dependent-selector-CPiolWiw.js → dependent-selector-Bet3XAFj.js} +2 -2
  65. package/dist/_chunks/{description-list-BKQMUiXv.js → description-list-DkLeHiew.js} +2 -2
  66. package/dist/_chunks/{dev-bypass-button-Y1s7gPSD.js → dev-bypass-button-BhGn6evf.js} +2 -2
  67. package/dist/_chunks/{document-preview-C_6R_VZK.js → document-preview-uoTekVR7.js} +5 -5
  68. package/dist/_chunks/{document-scanner-pADVX447.js → document-scanner-CQS9kv84.js} +17 -17
  69. package/dist/_chunks/{dropdown-menu-B5mgV1kV.js → dropdown-menu-BQSNVp4x.js} +2 -2
  70. package/dist/_chunks/{due-date-calculator-mDvGKmRV.js → due-date-calculator-DXDJbUzo.js} +8 -8
  71. package/dist/_chunks/{editable-currency-cell-renderer-CfFp_1hI.js → editable-currency-cell-renderer-CmYcMuwi.js} +4 -4
  72. package/dist/_chunks/{editable-description-CCrAEJMq.js → editable-description-DuJlvltc.js} +3 -3
  73. package/dist/_chunks/editor-overlay-NMxzcO6J.js +90 -0
  74. package/dist/_chunks/{email-input-DQixfopu.js → email-input-C7THAwh2.js} +3 -3
  75. package/dist/_chunks/{empty-state-CgvmPPvW.js → empty-state-gNG3qYCX.js} +2 -2
  76. package/dist/_chunks/{entity-card-D1Yrh9wf.js → entity-card-fpm-KUKc.js} +26 -27
  77. package/dist/_chunks/{entity-summary-C3E4JKVr.js → entity-summary-DcB0fIiv.js} +5 -5
  78. package/dist/_chunks/{error-boundary-Bzjk9Q2l.js → error-boundary-ChowhO6w.js} +2 -2
  79. package/dist/_chunks/error-page-CpuYbpOB.js +344 -0
  80. package/dist/_chunks/{error-page-illustration-bFti0VEc.js → error-page-illustration-BdJLuMdV.js} +12 -12
  81. package/dist/_chunks/error-summary-BhM8FEkl.js +101 -0
  82. package/dist/_chunks/{face-scheme-Doodi6A6.js → face-scheme-BicuUA2K.js} +8 -8
  83. package/dist/_chunks/{fetal-weight-DBgEaMoJ.js → fetal-weight-BWaqqjea.js} +5 -5
  84. package/dist/_chunks/{field-array-DGiIHCdy.js → field-array-BO-kaKFK.js} +3 -3
  85. package/dist/_chunks/{file-manager-BDNSnr7f.js → file-manager-dIJQUZvq.js} +52 -52
  86. package/dist/_chunks/{finished-terminal-BguGAUdg.js → finished-terminal-CPSDrIMB.js} +3 -3
  87. package/dist/_chunks/{fiscal-code-input-DNA_SbQx.js → fiscal-code-input-DesSQ6Fh.js} +168 -168
  88. package/dist/_chunks/floating-clearance-nIx9fFLy.js +20 -0
  89. package/dist/_chunks/forgot-password-form-DEx-M_QR.js +234 -0
  90. package/dist/_chunks/{form-field-Db0liyI8.js → form-field-Ani72sVY.js} +46 -44
  91. package/dist/_chunks/format-price-BKle6Xwt.js +52 -0
  92. package/dist/_chunks/{freemium-paywall-CtUCj-ND.js → freemium-paywall-B6ojVXq7.js} +44 -42
  93. package/dist/_chunks/{gestational-age-calculator-BVBz_5dm.js → gestational-age-calculator-BfGpt3du.js} +9 -9
  94. package/dist/_chunks/glass-surface-CPok0jEe.js +20 -0
  95. package/dist/_chunks/{hcg-doubling-BECrAUu3.js → hcg-doubling-BIYyI2Yo.js} +7 -7
  96. package/dist/_chunks/{header--a4ZTiM5.js → header-B9552pLh.js} +15 -14
  97. package/dist/_chunks/{header-settings-kkVm9VP3.js → header-settings-ge_3gYEq.js} +4 -4
  98. package/dist/_chunks/heatmap-BARGZZt2.js +2865 -0
  99. package/dist/_chunks/{help-me-write-templates-B4Y8dBv1.js → help-me-write-templates-B7L3zGsE.js} +28 -28
  100. package/dist/_chunks/{hover-card-CcRSI4gy.js → hover-card-BnTueNS2.js} +2 -2
  101. package/dist/_chunks/{iban-input-CpOUMMR-.js → iban-input-B9L2QDHh.js} +2 -2
  102. package/dist/_chunks/{icon-button-mKIvw90h.js → icon-button-COX76Jdj.js} +2 -2
  103. package/dist/_chunks/{icon-button-group-BsQkbCX4.js → icon-button-group-C5hhI-R5.js} +3 -3
  104. package/dist/_chunks/{icon-picker-JZzs1ol_.js → icon-picker-DWrqmI1c.js} +20 -20
  105. package/dist/_chunks/{image-cropper-CNBGkG7P.js → image-cropper-D0kkQ4lG.js} +2 -2
  106. package/dist/_chunks/{info-tip-Czh1izZ6.js → info-tip-B0jmIt6M.js} +2 -2
  107. package/dist/_chunks/{input-surface-xyERuLU_.js → input-surface-iBmxVBfr.js} +11 -12
  108. package/dist/_chunks/{insert-result-BuWQl11Z.js → insert-result-C1C2OCc3.js} +2 -2
  109. package/dist/_chunks/intl-locale-ySteXlDD.js +23 -0
  110. package/dist/_chunks/{kbd-BLovyx1R.js → kbd-Bx7eQv9f.js} +70 -66
  111. package/dist/_chunks/{key-value-pair-BkXjt88Z.js → key-value-pair-Ax8IJr1M.js} +2 -2
  112. package/dist/_chunks/{kit-extensions-GQHKTLWI.js → kit-extensions-C9-v8Dih.js} +6 -6
  113. package/dist/_chunks/{link-cell-renderer-D-xv2HMS.js → link-cell-renderer-DlBVPMTi.js} +9 -9
  114. package/dist/_chunks/{locale-picker-BhNIgeXA.js → locale-picker-DfNSdOpy.js} +4 -4
  115. package/dist/_chunks/login-dev-card-DmZ1B0lB.js +309 -0
  116. package/dist/_chunks/{logo-CuaqxTGK.js → logo-hIsyVE96.js} +19 -19
  117. package/dist/_chunks/{map-view-CQmqQJwK.js → map-view-CO2v0hfp.js} +9 -9
  118. package/dist/_chunks/{marketplace-app-shell-DbEfoNxe.js → marketplace-app-shell-Dcx-JEjg.js} +11 -11
  119. package/dist/_chunks/{message-card-C1buKlzM.js → message-card-DVo8-dOm.js} +36 -28
  120. package/dist/_chunks/{message-tray-DyBVqlGj.js → message-tray-BB95DA82.js} +5 -5
  121. package/dist/_chunks/{money-GypsuFk2.js → money-CeClE1nH.js} +2 -2
  122. package/dist/_chunks/multi-select-BT23EnSA.js +688 -0
  123. package/dist/_chunks/{muscle-scheme-DfYQ0Z3v.js → muscle-scheme-BDgIaGeW.js} +2 -2
  124. package/dist/_chunks/{nav-grid-BPbmzHY0.js → nav-grid-BqCPH8sm.js} +16 -17
  125. package/dist/_chunks/{notes-panel-DWJY3WV8.js → notes-panel-I8ntrrUW.js} +54 -53
  126. package/dist/_chunks/{notification-card-DubeUbVJ.js → notification-card-BGCIL6Mu.js} +56 -48
  127. package/dist/_chunks/{notification-tray-DJ0gtfu6.js → notification-tray-__sJXnsz.js} +5 -5
  128. package/dist/_chunks/{number-input-DRDRYZJg.js → number-input-CVwI1ltI.js} +2 -2
  129. package/dist/_chunks/{operator-hero-BnBPxwOi.js → operator-hero-Dyd2IGbR.js} +4 -4
  130. package/dist/_chunks/{optical-prescription-DBvebioV.js → optical-prescription-Do6e3wfs.js} +5 -5
  131. package/dist/_chunks/option-row-Dc7BrbK8.js +37 -0
  132. package/dist/_chunks/{otp-input-BedEqmIV.js → otp-input-CGMu30_e.js} +2 -2
  133. package/dist/_chunks/{pagination-CzEkpfti.js → pagination-BR1_GfD_.js} +2 -2
  134. package/dist/_chunks/{panel-subview-D8HGXaUa.js → panel-subview-BT-Apwgb.js} +3 -3
  135. package/dist/_chunks/{parse-DeDYl04y.js → parse-jZ-i8Xgj.js} +2 -2
  136. package/dist/_chunks/{password-input-6Yl6x1IO.js → password-input-BokZ_rnT.js} +162 -140
  137. package/dist/_chunks/{patient-details-D7QlsGK1.js → patient-details-DsTtjpuX.js} +6 -6
  138. package/dist/_chunks/{patient-field-row-Dr-ndtG8.js → patient-field-row-BvZ9luz-.js} +212 -211
  139. package/dist/_chunks/{patient-search-Dm3w0jWw.js → patient-search-D5xlXmd2.js} +5 -5
  140. package/dist/_chunks/{patient-summary-card-A3WhxFwp.js → patient-summary-card-3dspc2tR.js} +7 -7
  141. package/dist/_chunks/{payment-automation-upsell-DNiraNhF.js → payment-automation-upsell-DEUfM7EU.js} +5 -5
  142. package/dist/_chunks/{payment-form-B08gHZIY.js → payment-form-v6zZuV1_.js} +60 -56
  143. package/dist/_chunks/{payment-request-card-CR7SjsRs.js → payment-request-card-DAGqh9Yx.js} +5 -5
  144. package/dist/_chunks/{pdf-viewer-zv7pkUPA.js → pdf-viewer-C3minW5b.js} +5 -5
  145. package/dist/_chunks/periodontal-chart-BqwLxy2m.js +1413 -0
  146. package/dist/_chunks/{periodontal-chart-card-Djr3en8Q.js → periodontal-chart-card-CWZ1YM1h.js} +3 -3
  147. package/dist/_chunks/{periodontal-diagnosis-DmVIqXtC.js → periodontal-diagnosis-C9IuvLId.js} +2 -2
  148. package/dist/_chunks/{periodontal-risk-chart-C1Y5f-md.js → periodontal-risk-chart-D3DjIymT.js} +2 -2
  149. package/dist/_chunks/{phone-input-BzeUr49H.js → phone-input-DxkHMYmu.js} +139 -139
  150. package/dist/_chunks/{popover-9_v-7fJc.js → popover-BI3oV3eY.js} +2 -2
  151. package/dist/_chunks/{postal-code-input-lCk8me6K.js → postal-code-input-CfZOnIkW.js} +2 -2
  152. package/dist/_chunks/{practice-profile-hero-Bc3AyBiM.js → practice-profile-hero-C8RPACCi.js} +3 -3
  153. package/dist/_chunks/{practice-results-D3liWOz1.js → practice-results-DxOgbPDy.js} +9 -9
  154. package/dist/_chunks/{pregnancy-dating-BEmsMys4.js → pregnancy-dating-R3q5n1Wh.js} +10 -10
  155. package/dist/_chunks/{pregnancy-weight-gain-DMVPvM3a.js → pregnancy-weight-gain-DwmNklDU.js} +5 -5
  156. package/dist/_chunks/{privacy-lock-KDPKiTpH.js → privacy-lock-WkUgwIj_.js} +4 -4
  157. package/dist/_chunks/{privacy-mask-H8yYwgIb.js → privacy-mask-ChIjELJC.js} +3 -3
  158. package/dist/_chunks/{product-hub-panel-M5X3TYzq.js → product-hub-panel-BSSiGGG4.js} +49 -49
  159. package/dist/_chunks/{progress-TIAsNHQW.js → progress-D_g_Sl2g.js} +3 -5
  160. package/dist/_chunks/{province-select-DtF2ukoC.js → province-select-Bd20Z9Br.js} +2 -2
  161. package/dist/_chunks/{public-footer-Bfs81Qzp.js → public-footer-CxpG6J1M.js} +93 -90
  162. package/dist/_chunks/{public-header.agent-CrXkGtTF.js → public-header.agent-BWusjxY8.js} +3 -3
  163. package/dist/_chunks/{qr-code-Ofx7ryyu.js → qr-code-DHEma21c.js} +47 -48
  164. package/dist/_chunks/{radiograph-panel.agent-rS3Tegx6.js → radiograph-panel.agent-BA90I3Mu.js} +8 -8
  165. package/dist/_chunks/registration-form-D7iNqMBF.js +819 -0
  166. package/dist/_chunks/{reviews-panel-CyxZ0VmZ.js → reviews-panel-CDcK6W3b.js} +6 -6
  167. package/dist/_chunks/{rich-text-editor-DmnWavgl.js → rich-text-editor-Blp4smUr.js} +791 -799
  168. package/dist/_chunks/{scroll-area-BZOvUhwQ.js → scroll-area-ZtFCv9K7.js} +56 -46
  169. package/dist/_chunks/{search-bar-ORcfuK9A.js → search-bar-DQJS0wJN.js} +209 -199
  170. package/dist/_chunks/search-input-BAlDd05M.js +246 -0
  171. package/dist/_chunks/{section-card-XR2bW1Ie.js → section-card-ChJdOlBU.js} +2 -2
  172. package/dist/_chunks/{select-DHPmASkG.js → select-Ce5RMk93.js} +274 -236
  173. package/dist/_chunks/{session-countdown-DWUVDDox.js → session-countdown-CBINYw8H.js} +3 -3
  174. package/dist/_chunks/{sheet-BTgxkDJS.js → sheet-CNFW8mYZ.js} +3 -3
  175. package/dist/_chunks/{sidebar-2GBc0ZUa.js → sidebar-DLsG2AIk.js} +123 -124
  176. package/dist/_chunks/{sign-document-B_3U-S6g.js → sign-document-B6HlyCGV.js} +22 -22
  177. package/dist/_chunks/{sign-in-with-alfadocs-button-DFmgQuDo.js → sign-in-with-alfadocs-button-D91_x8DX.js} +4 -4
  178. package/dist/_chunks/{signature-capture-F6KViBF_.js → signature-capture-Chqh62Pc.js} +19 -20
  179. package/dist/_chunks/{signature-field-DLDznGnB.js → signature-field-Y01UB5DA.js} +2 -2
  180. package/dist/_chunks/{signature-request-BdolmJk4.js → signature-request-rgMsgo-C.js} +8 -8
  181. package/dist/_chunks/{signed-out-frame-dz1rLJ65.js → signed-out-frame-B2GTIeqA.js} +51 -51
  182. package/dist/_chunks/sliders-horizontal-D-F97cnE.js +22 -0
  183. package/dist/_chunks/{slot-grid-kCDoV3k4.js → slot-grid-sVZriOiQ.js} +4 -4
  184. package/dist/_chunks/{social-sign-in-button-BMGNlUWs.js → social-sign-in-button-yUqwhnPZ.js} +2 -2
  185. package/dist/_chunks/{spinner-a0FTYX9Q.js → spinner-CoflYlEx.js} +2 -2
  186. package/dist/_chunks/{stat-Ce9ymEKm.js → stat-51CDL4au.js} +25 -26
  187. package/dist/_chunks/state-backed-text-input-DECQy5aA.js +12 -0
  188. package/dist/_chunks/{stepper-accordion-BPNS6J6B.js → stepper-accordion-D7lnBGh2.js} +49 -49
  189. package/dist/_chunks/{streaming-text-BAPn_sZs.js → streaming-text-BKZmbW1Q.js} +31 -32
  190. package/dist/_chunks/subDays-DlMw8Xng.js +8 -0
  191. package/dist/_chunks/{tab-bar-DRKiomgj.js → tab-bar-Bm-rJB7Y.js} +7 -8
  192. package/dist/_chunks/{tabs-yIY-RySP.js → tabs-I2wf_nC7.js} +3 -3
  193. package/dist/_chunks/{task-card-C02Km4Gb.js → task-card-BMXMh3uE.js} +9 -9
  194. package/dist/_chunks/{task-editor-i-juLk76.js → task-editor-Ctxsa1BY.js} +155 -157
  195. package/dist/_chunks/{task-tray-By6DPwbT.js → task-tray-DsBO-AaP.js} +31 -31
  196. package/dist/_chunks/{tasks-panel-BkN9sROF.js → tasks-panel-CdgZQQgG.js} +130 -131
  197. package/dist/_chunks/{text-area-CDuItrvL.js → text-area-COMVJ1yE.js} +106 -96
  198. package/dist/_chunks/text-input-CaG9ApoE.js +333 -0
  199. package/dist/_chunks/{theme-toggle-BAHz3itd.js → theme-toggle-PpFcFoYK.js} +4 -4
  200. package/dist/_chunks/time-picker-DVfyAR81.js +871 -0
  201. package/dist/_chunks/{timeline-CVLjybJ3.js → timeline-DG8wAlAx.js} +3 -3
  202. package/dist/_chunks/{toast-UMUvXFsA.js → toast-CPqguP7G.js} +2 -2
  203. package/dist/_chunks/{token-insert-menu-DgtBIbNu.js → token-insert-menu-B-pWFDKX.js} +3 -3
  204. package/dist/_chunks/{tool-rail-CwXN-sDC.js → tool-rail-Bwyuw_Ot.js} +113 -110
  205. package/dist/_chunks/{tooth-scheme-BAMhwCZe.js → tooth-scheme-BAO_voUO.js} +97 -97
  206. package/dist/_chunks/{transcript-panel-jOCW4Ycl.js → transcript-panel-CjsiDB1K.js} +4 -4
  207. package/dist/_chunks/{treatment-receipt-DF2Slh-x.js → treatment-receipt-BSVOfStA.js} +2 -2
  208. package/dist/_chunks/{typing-indicator-BmwMQSxw.js → typing-indicator-B1RkE8jD.js} +16 -15
  209. package/dist/_chunks/{unit-converter-Bvhj9r3m.js → unit-converter-DS4UB_59.js} +5 -5
  210. package/dist/_chunks/{use-appointment-details-read-B6dBBgDa.js → use-appointment-details-read-DinTrRIW.js} +214 -214
  211. package/dist/_chunks/use-dom-value-DTxHhQAN.js +16 -0
  212. package/dist/_chunks/{use-prism-DaspP8w-.js → use-prism-DBOiELx7.js} +9 -9
  213. package/dist/_chunks/use-registration-submit-eWAECgUC.js +171 -0
  214. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +59 -0
  215. package/dist/_chunks/voice-control-panel-Bg1eklL0.js +1009 -0
  216. package/dist/_chunks/{wallet-pay-button-Dew8Pmgq.js → wallet-pay-button-DFP5FW0D.js} +2 -2
  217. package/dist/_chunks/{warning-stack-B_v_qMBI.js → warning-stack-ubD0IZCy.js} +25 -25
  218. package/dist/_chunks/{widget-picker-Ck8HTsil.js → widget-picker-D8RiWrJd.js} +38 -38
  219. package/dist/_chunks/{workflow-map-PzamnfJK.js → workflow-map-D3mezmGB.js} +8 -8
  220. package/dist/_chunks/{workflow-status-DDnsIrLt.js → workflow-status-BT27_fQp.js} +3 -3
  221. package/dist/agent-catalog.json +584 -14
  222. package/dist/agent-i18n/en.json +51 -10
  223. package/dist/components/_shared/ai-fab-pill.d.ts +18 -0
  224. package/dist/components/_shared/floating-clearance.d.ts +12 -0
  225. package/dist/components/_shared/glass-surface.d.ts +22 -0
  226. package/dist/components/_shared/input-surface.d.ts +1 -1
  227. package/dist/components/_shared/intl-locale.d.ts +7 -0
  228. package/dist/components/_shared/option-row.d.ts +30 -0
  229. package/dist/components/_shared/option.d.ts +2 -0
  230. package/dist/components/_shared/state-backed-text-input.d.ts +16 -0
  231. package/dist/components/_shared/use-dom-value.d.ts +20 -0
  232. package/dist/components/_shared/use-state-backed-input.d.ts +31 -0
  233. package/dist/components/accordion/index.js +1 -1
  234. package/dist/components/address-autocomplete/index.js +1 -1
  235. package/dist/components/address-fields/address-fields.d.ts +4 -0
  236. package/dist/components/address-fields/index.js +1 -1
  237. package/dist/components/agenda-card/index.js +1 -1
  238. package/dist/components/agenda-tray/index.js +1 -1
  239. package/dist/components/ai-credits-notice/index.js +1 -1
  240. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +34 -0
  241. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  242. package/dist/components/ai-permission-notice/index.js +1 -1
  243. package/dist/components/ai-prompt-input/index.js +1 -1
  244. package/dist/components/anamnesis-card/index.js +1 -1
  245. package/dist/components/anamnesis-summary-card/index.js +1 -1
  246. package/dist/components/app-frame/index.js +1 -1
  247. package/dist/components/appointment-card/index.js +2 -2
  248. package/dist/components/appointment-details-panel/index.js +1 -1
  249. package/dist/components/appointment-peek/index.js +1 -1
  250. package/dist/components/appointment-timeline/index.js +1 -1
  251. package/dist/components/audio-recorder/index.js +1 -1
  252. package/dist/components/autocomplete/index.js +1 -1
  253. package/dist/components/avatar/index.js +1 -1
  254. package/dist/components/benefit-card/index.js +1 -1
  255. package/dist/components/bishop-score/index.js +1 -1
  256. package/dist/components/bmi-calculator/index.js +1 -1
  257. package/dist/components/booking/booking-types.d.ts +10 -5
  258. package/dist/components/booking/index.js +1 -1
  259. package/dist/components/booking/payment.d.ts +19 -0
  260. package/dist/components/button/index.js +2 -2
  261. package/dist/components/button-group/index.js +1 -1
  262. package/dist/components/calendar/index.js +1 -1
  263. package/dist/components/card/index.js +1 -1
  264. package/dist/components/care-plan-card/index.js +1 -1
  265. package/dist/components/care-plan-entry-card/index.js +1 -1
  266. package/dist/components/care-plan-header/index.js +1 -1
  267. package/dist/components/carousel/index.js +1 -1
  268. package/dist/components/chart/index.js +1 -1
  269. package/dist/components/chat-container/index.js +1 -1
  270. package/dist/components/chat-input/index.js +1 -1
  271. package/dist/components/chat-message/index.js +1 -1
  272. package/dist/components/city-input/index.js +1 -1
  273. package/dist/components/clinical-note-card/index.js +1 -1
  274. package/dist/components/collapsible/index.js +1 -1
  275. package/dist/components/color-picker/index.js +1 -1
  276. package/dist/components/combobox/combobox.d.ts +6 -0
  277. package/dist/components/combobox/index.js +1 -1
  278. package/dist/components/connection-status/index.js +1 -1
  279. package/dist/components/contact-card/index.js +1 -1
  280. package/dist/components/contact-profile-card/index.js +1 -1
  281. package/dist/components/control-room-rail/index.js +1 -1
  282. package/dist/components/copy-field/index.js +1 -1
  283. package/dist/components/country-select/index.js +1 -1
  284. package/dist/components/cycle-calculator/index.js +1 -1
  285. package/dist/components/dashboard-grid/index.js +1 -1
  286. package/dist/components/data-table/index.js +4 -4
  287. package/dist/components/data-table-tabs/index.js +1 -1
  288. package/dist/components/date-picker/date-picker.d.ts +3 -3
  289. package/dist/components/date-picker/index.js +1 -1
  290. package/dist/components/date-range-picker/date-range-picker.d.ts +3 -3
  291. package/dist/components/date-range-picker/index.js +1 -1
  292. package/dist/components/date-time-picker/index.js +1 -1
  293. package/dist/components/dependent-selector/index.js +1 -1
  294. package/dist/components/description-list/index.js +1 -1
  295. package/dist/components/dev-bypass-button/index.js +1 -1
  296. package/dist/components/document-preview/index.js +1 -1
  297. package/dist/components/document-scanner/index.js +1 -1
  298. package/dist/components/dropdown-menu/index.js +1 -1
  299. package/dist/components/due-date-calculator/index.js +2 -2
  300. package/dist/components/editable-description/index.js +1 -1
  301. package/dist/components/editor-overlay/index.js +1 -1
  302. package/dist/components/email-input/email-input.d.ts +1 -1
  303. package/dist/components/email-input/index.js +1 -1
  304. package/dist/components/empty-state/index.js +1 -1
  305. package/dist/components/entity-summary/index.js +1 -1
  306. package/dist/components/error-boundary/index.js +1 -1
  307. package/dist/components/error-summary/error-summary.d.ts +50 -0
  308. package/dist/components/error-summary/index.d.ts +2 -0
  309. package/dist/components/error-summary/index.js +5 -0
  310. package/dist/components/face-scheme/index.js +1 -1
  311. package/dist/components/fetal-weight/index.js +1 -1
  312. package/dist/components/field-array/index.js +1 -1
  313. package/dist/components/file-manager/index.js +1 -1
  314. package/dist/components/finished-terminal/index.js +1 -1
  315. package/dist/components/fiscal-code-input/index.js +1 -1
  316. package/dist/components/form-field/form-field.d.ts +9 -0
  317. package/dist/components/form-field/index.js +1 -1
  318. package/dist/components/freemium-paywall/index.js +1 -1
  319. package/dist/components/gestational-age-calculator/index.js +1 -1
  320. package/dist/components/hcg-doubling/index.js +1 -1
  321. package/dist/components/header/index.js +1 -1
  322. package/dist/components/header-settings/index.js +1 -1
  323. package/dist/components/heatmap/heatmap-context.d.ts +21 -0
  324. package/dist/components/heatmap/heatmap-format.d.ts +59 -0
  325. package/dist/components/heatmap/heatmap-grid.d.ts +66 -0
  326. package/dist/components/heatmap/heatmap-legend.d.ts +36 -0
  327. package/dist/components/heatmap/heatmap-model.d.ts +152 -0
  328. package/dist/components/heatmap/heatmap-scale.d.ts +125 -0
  329. package/dist/components/heatmap/heatmap-table-view.d.ts +35 -0
  330. package/dist/components/heatmap/heatmap-tooltip.d.ts +40 -0
  331. package/dist/components/heatmap/heatmap-variants.d.ts +87 -0
  332. package/dist/components/heatmap/heatmap-window.d.ts +54 -0
  333. package/dist/components/heatmap/heatmap.agent.d.ts +4 -0
  334. package/dist/components/heatmap/heatmap.d.ts +186 -0
  335. package/dist/components/heatmap/index.d.ts +8 -0
  336. package/dist/components/heatmap/index.js +8 -0
  337. package/dist/components/hover-card/index.js +1 -1
  338. package/dist/components/iban-input/index.js +1 -1
  339. package/dist/components/icon-button/index.js +1 -1
  340. package/dist/components/icon-button-group/index.js +1 -1
  341. package/dist/components/icon-picker/index.js +1 -1
  342. package/dist/components/image-cropper/index.js +1 -1
  343. package/dist/components/index.d.ts +3 -0
  344. package/dist/components/info-tip/index.js +1 -1
  345. package/dist/components/kbd/index.js +1 -1
  346. package/dist/components/key-value-pair/index.js +1 -1
  347. package/dist/components/locale-picker/index.js +1 -1
  348. package/dist/components/logo/index.js +1 -1
  349. package/dist/components/map-view/index.js +1 -1
  350. package/dist/components/message-card/index.js +1 -1
  351. package/dist/components/message-tray/index.js +1 -1
  352. package/dist/components/money/index.js +1 -1
  353. package/dist/components/multi-select/index.js +1 -1
  354. package/dist/components/multi-select/multi-select.d.ts +6 -0
  355. package/dist/components/muscle-scheme/index.js +1 -1
  356. package/dist/components/nav-grid/index.js +1 -1
  357. package/dist/components/notes-panel/index.js +1 -1
  358. package/dist/components/notification-card/index.js +1 -1
  359. package/dist/components/notification-tray/index.js +1 -1
  360. package/dist/components/number-input/index.js +1 -1
  361. package/dist/components/operator-hero/index.js +1 -1
  362. package/dist/components/optical-prescription/index.js +1 -1
  363. package/dist/components/otp-input/index.js +1 -1
  364. package/dist/components/pagination/index.js +1 -1
  365. package/dist/components/panel-subview/index.js +1 -1
  366. package/dist/components/password-input/index.js +1 -1
  367. package/dist/components/patient-details/index.js +1 -1
  368. package/dist/components/patient-search/index.js +1 -1
  369. package/dist/components/patient-summary-card/index.js +1 -1
  370. package/dist/components/patient-table/index.js +1 -1
  371. package/dist/components/payment-card/index.js +1 -1
  372. package/dist/components/payment-form/index.js +1 -1
  373. package/dist/components/pdf-viewer/index.js +1 -1
  374. package/dist/components/periodontal-chart/index.d.ts +1 -1
  375. package/dist/components/periodontal-chart/index.js +1 -1
  376. package/dist/components/periodontal-chart/periodontal-chart.d.ts +44 -1
  377. package/dist/components/periodontal-chart-card/index.js +1 -1
  378. package/dist/components/periodontal-diagnosis/index.js +1 -1
  379. package/dist/components/periodontal-risk-chart/index.js +1 -1
  380. package/dist/components/phone-input/index.js +1 -1
  381. package/dist/components/popover/index.js +1 -1
  382. package/dist/components/postal-code-input/index.js +1 -1
  383. package/dist/components/practice-profile-hero/index.js +1 -1
  384. package/dist/components/practice-results/index.js +1 -1
  385. package/dist/components/pregnancy-dating/index.js +1 -1
  386. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  387. package/dist/components/privacy-lock/index.js +1 -1
  388. package/dist/components/product-hub-tray/index.js +1 -1
  389. package/dist/components/progress/index.js +1 -1
  390. package/dist/components/province-select/index.js +1 -1
  391. package/dist/components/public-footer/index.js +1 -1
  392. package/dist/components/public-header/index.js +1 -1
  393. package/dist/components/qr-code/index.js +1 -1
  394. package/dist/components/radiograph-panel/index.js +1 -1
  395. package/dist/components/reviews-panel/index.js +1 -1
  396. package/dist/components/rich-text-editor/index.js +2 -2
  397. package/dist/components/rich-text-editor/rich-text-editor.d.ts +5 -20
  398. package/dist/components/scroll-area/index.js +1 -1
  399. package/dist/components/scroll-area/scroll-area.d.ts +17 -1
  400. package/dist/components/search-bar/index.js +1 -1
  401. package/dist/components/search-input/index.js +1 -1
  402. package/dist/components/section-card/index.js +1 -1
  403. package/dist/components/select/index.js +1 -1
  404. package/dist/components/select/select.d.ts +41 -0
  405. package/dist/components/session-countdown/index.js +1 -1
  406. package/dist/components/sheet/index.js +1 -1
  407. package/dist/components/sidebar/index.js +1 -1
  408. package/dist/components/sign-document/index.js +1 -1
  409. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  410. package/dist/components/signature-capture/index.js +1 -1
  411. package/dist/components/signature-field/index.js +1 -1
  412. package/dist/components/skeleton-scheme/index.js +1 -1
  413. package/dist/components/slot-grid/index.js +1 -1
  414. package/dist/components/social-sign-in-button/index.js +1 -1
  415. package/dist/components/spinner/index.js +1 -1
  416. package/dist/components/stat/index.js +1 -1
  417. package/dist/components/stepper-accordion/index.js +1 -1
  418. package/dist/components/streaming-text/index.js +1 -1
  419. package/dist/components/tab-bar/index.js +1 -1
  420. package/dist/components/tabs/index.js +1 -1
  421. package/dist/components/task-card/index.js +1 -1
  422. package/dist/components/task-editor/index.js +1 -1
  423. package/dist/components/task-tray/index.js +1 -1
  424. package/dist/components/tasks-panel/index.js +1 -1
  425. package/dist/components/text-area/index.js +1 -1
  426. package/dist/components/text-input/index.js +1 -1
  427. package/dist/components/theme-toggle/index.js +1 -1
  428. package/dist/components/time-picker/index.js +1 -1
  429. package/dist/components/time-picker/time-picker.d.ts +26 -5
  430. package/dist/components/timeline/index.js +1 -1
  431. package/dist/components/toast/index.js +1 -1
  432. package/dist/components/token-insert-menu/index.js +1 -1
  433. package/dist/components/tool-rail/index.js +1 -1
  434. package/dist/components/tooth-scheme/index.js +1 -1
  435. package/dist/components/transcript-panel/index.js +1 -1
  436. package/dist/components/treatment-receipt/index.js +1 -1
  437. package/dist/components/typing-indicator/index.js +1 -1
  438. package/dist/components/unit-converter/index.js +1 -1
  439. package/dist/components/voice-control-panel/index.d.ts +5 -0
  440. package/dist/components/voice-control-panel/index.js +6 -0
  441. package/dist/components/voice-control-panel/voice-control-panel.agent.d.ts +4 -0
  442. package/dist/components/voice-control-panel/voice-control-panel.d.ts +179 -0
  443. package/dist/components/wallet-pay-button/index.js +1 -1
  444. package/dist/components/warning-stack/index.js +1 -1
  445. package/dist/components/widget-picker/index.js +1 -1
  446. package/dist/components/workflow/index.js +1 -1
  447. package/dist/components/workflow-status/index.js +2 -2
  448. package/dist/error-pages/400.ar.html +1 -1
  449. package/dist/error-pages/400.de.html +1 -1
  450. package/dist/error-pages/400.el.html +1 -1
  451. package/dist/error-pages/400.en.html +1 -1
  452. package/dist/error-pages/400.es.html +1 -1
  453. package/dist/error-pages/400.fr.html +1 -1
  454. package/dist/error-pages/400.hi.html +1 -1
  455. package/dist/error-pages/400.html +1 -1
  456. package/dist/error-pages/400.it.html +1 -1
  457. package/dist/error-pages/400.ja.html +1 -1
  458. package/dist/error-pages/400.nl.html +1 -1
  459. package/dist/error-pages/400.pl.html +1 -1
  460. package/dist/error-pages/400.pt.html +1 -1
  461. package/dist/error-pages/400.ro.html +1 -1
  462. package/dist/error-pages/400.ru.html +1 -1
  463. package/dist/error-pages/400.sq.html +1 -1
  464. package/dist/error-pages/400.sv.html +1 -1
  465. package/dist/error-pages/400.tr.html +1 -1
  466. package/dist/error-pages/400.zh.html +1 -1
  467. package/dist/error-pages/410.ar.html +1 -1
  468. package/dist/error-pages/410.de.html +1 -1
  469. package/dist/error-pages/410.el.html +1 -1
  470. package/dist/error-pages/410.en.html +1 -1
  471. package/dist/error-pages/410.es.html +1 -1
  472. package/dist/error-pages/410.fr.html +1 -1
  473. package/dist/error-pages/410.hi.html +1 -1
  474. package/dist/error-pages/410.html +1 -1
  475. package/dist/error-pages/410.it.html +1 -1
  476. package/dist/error-pages/410.ja.html +1 -1
  477. package/dist/error-pages/410.nl.html +1 -1
  478. package/dist/error-pages/410.pl.html +1 -1
  479. package/dist/error-pages/410.pt.html +1 -1
  480. package/dist/error-pages/410.ro.html +1 -1
  481. package/dist/error-pages/410.ru.html +1 -1
  482. package/dist/error-pages/410.sq.html +1 -1
  483. package/dist/error-pages/410.sv.html +1 -1
  484. package/dist/error-pages/410.tr.html +1 -1
  485. package/dist/error-pages/410.zh.html +1 -1
  486. package/dist/error-pages/419.ar.html +1 -1
  487. package/dist/error-pages/419.de.html +1 -1
  488. package/dist/error-pages/419.el.html +1 -1
  489. package/dist/error-pages/419.en.html +1 -1
  490. package/dist/error-pages/419.es.html +1 -1
  491. package/dist/error-pages/419.fr.html +1 -1
  492. package/dist/error-pages/419.hi.html +1 -1
  493. package/dist/error-pages/419.html +1 -1
  494. package/dist/error-pages/419.it.html +1 -1
  495. package/dist/error-pages/419.ja.html +1 -1
  496. package/dist/error-pages/419.nl.html +1 -1
  497. package/dist/error-pages/419.pl.html +1 -1
  498. package/dist/error-pages/419.pt.html +1 -1
  499. package/dist/error-pages/419.ro.html +1 -1
  500. package/dist/error-pages/419.ru.html +1 -1
  501. package/dist/error-pages/419.sq.html +1 -1
  502. package/dist/error-pages/419.sv.html +1 -1
  503. package/dist/error-pages/419.tr.html +1 -1
  504. package/dist/error-pages/419.zh.html +1 -1
  505. package/dist/error-pages/429.ar.html +1 -1
  506. package/dist/error-pages/429.de.html +1 -1
  507. package/dist/error-pages/429.el.html +1 -1
  508. package/dist/error-pages/429.en.html +1 -1
  509. package/dist/error-pages/429.es.html +1 -1
  510. package/dist/error-pages/429.fr.html +1 -1
  511. package/dist/error-pages/429.hi.html +1 -1
  512. package/dist/error-pages/429.html +1 -1
  513. package/dist/error-pages/429.it.html +1 -1
  514. package/dist/error-pages/429.ja.html +1 -1
  515. package/dist/error-pages/429.nl.html +1 -1
  516. package/dist/error-pages/429.pl.html +1 -1
  517. package/dist/error-pages/429.pt.html +1 -1
  518. package/dist/error-pages/429.ro.html +1 -1
  519. package/dist/error-pages/429.ru.html +1 -1
  520. package/dist/error-pages/429.sq.html +1 -1
  521. package/dist/error-pages/429.sv.html +1 -1
  522. package/dist/error-pages/429.tr.html +1 -1
  523. package/dist/error-pages/429.zh.html +1 -1
  524. package/dist/hooks/index.js +1 -1
  525. package/dist/host-compat.css +9 -2
  526. package/dist/host-legacy.css +86 -0
  527. package/dist/i18n/locales/ar.d.ts +117 -1
  528. package/dist/i18n/locales/ar.js +118 -2
  529. package/dist/i18n/locales/de.d.ts +117 -1
  530. package/dist/i18n/locales/de.js +118 -2
  531. package/dist/i18n/locales/el.d.ts +117 -1
  532. package/dist/i18n/locales/el.js +118 -2
  533. package/dist/i18n/locales/en.d.ts +117 -1
  534. package/dist/i18n/locales/en.js +118 -2
  535. package/dist/i18n/locales/es.d.ts +117 -1
  536. package/dist/i18n/locales/es.js +118 -2
  537. package/dist/i18n/locales/fr.d.ts +117 -1
  538. package/dist/i18n/locales/fr.js +118 -2
  539. package/dist/i18n/locales/hi.d.ts +117 -1
  540. package/dist/i18n/locales/hi.js +118 -2
  541. package/dist/i18n/locales/it.d.ts +117 -1
  542. package/dist/i18n/locales/it.js +118 -2
  543. package/dist/i18n/locales/ja.d.ts +117 -1
  544. package/dist/i18n/locales/ja.js +118 -2
  545. package/dist/i18n/locales/nl.d.ts +117 -1
  546. package/dist/i18n/locales/nl.js +118 -2
  547. package/dist/i18n/locales/pl.d.ts +117 -1
  548. package/dist/i18n/locales/pl.js +118 -2
  549. package/dist/i18n/locales/pt.d.ts +117 -1
  550. package/dist/i18n/locales/pt.js +118 -2
  551. package/dist/i18n/locales/ro.d.ts +117 -1
  552. package/dist/i18n/locales/ro.js +118 -2
  553. package/dist/i18n/locales/ru.d.ts +117 -1
  554. package/dist/i18n/locales/ru.js +118 -2
  555. package/dist/i18n/locales/sq.d.ts +117 -1
  556. package/dist/i18n/locales/sq.js +118 -2
  557. package/dist/i18n/locales/sv.d.ts +117 -1
  558. package/dist/i18n/locales/sv.js +118 -2
  559. package/dist/i18n/locales/tr.d.ts +117 -1
  560. package/dist/i18n/locales/tr.js +118 -2
  561. package/dist/i18n/locales/zh.d.ts +117 -1
  562. package/dist/i18n/locales/zh.js +118 -2
  563. package/dist/index.js +763 -753
  564. package/dist/locales/ar.json +118 -2
  565. package/dist/locales/de.json +118 -2
  566. package/dist/locales/el.json +118 -2
  567. package/dist/locales/en.json +118 -2
  568. package/dist/locales/es.json +118 -2
  569. package/dist/locales/fr.json +118 -2
  570. package/dist/locales/hi.json +118 -2
  571. package/dist/locales/it.json +118 -2
  572. package/dist/locales/ja.json +118 -2
  573. package/dist/locales/nl.json +118 -2
  574. package/dist/locales/pl.json +118 -2
  575. package/dist/locales/pt.json +118 -2
  576. package/dist/locales/ro.json +118 -2
  577. package/dist/locales/ru.json +118 -2
  578. package/dist/locales/sq.json +118 -2
  579. package/dist/locales/sv.json +118 -2
  580. package/dist/locales/tr.json +118 -2
  581. package/dist/locales/zh.json +118 -2
  582. package/dist/patterns/_shared/auth-form-parts.d.ts +4 -0
  583. package/dist/patterns/_shared/use-error-summary.d.ts +34 -0
  584. package/dist/patterns/alia-assistant/index.js +1 -1
  585. package/dist/patterns/anamnesis/index.js +1 -1
  586. package/dist/patterns/calendar/index.js +1 -1
  587. package/dist/patterns/error-page/error-page.d.ts +29 -5
  588. package/dist/patterns/error-page/index.js +2 -2
  589. package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +3 -2
  590. package/dist/patterns/forgot-password-form/index.js +1 -1
  591. package/dist/patterns/help-me-write-templates/index.js +1 -1
  592. package/dist/patterns/login-form/index.js +1 -1
  593. package/dist/patterns/login-form/login-form.d.ts +5 -4
  594. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  595. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  596. package/dist/patterns/registration-form/index.js +1 -1
  597. package/dist/patterns/registration-form/registration-form.d.ts +3 -2
  598. package/dist/patterns/signature-request/index.js +1 -1
  599. package/dist/patterns/signed-out-frame/index.js +1 -1
  600. package/dist/tokens.css +10 -13
  601. package/package.json +19 -2
  602. package/dist/_chunks/address-fields-BaClzQLM.js +0 -292
  603. package/dist/_chunks/city-input-BL5WsGJ3.js +0 -170
  604. package/dist/_chunks/editor-overlay-CWV0chPV.js +0 -93
  605. package/dist/_chunks/error-page-C15GfNEj.js +0 -312
  606. package/dist/_chunks/forgot-password-form-Duu3pZDU.js +0 -203
  607. package/dist/_chunks/format-price-DAbh61Lz.js +0 -51
  608. package/dist/_chunks/intl-locale-CXM-B8EP.js +0 -16
  609. package/dist/_chunks/login-dev-card-DletSsX3.js +0 -275
  610. package/dist/_chunks/multi-select-CVb6PJOK.js +0 -638
  611. package/dist/_chunks/periodontal-chart-5nLsSuRM.js +0 -1305
  612. package/dist/_chunks/registration-form-Lz9iKrKo.js +0 -759
  613. package/dist/_chunks/search-input-6SoR2Rf4.js +0 -237
  614. package/dist/_chunks/subDays-XBMBTVOO.js +0 -8
  615. package/dist/_chunks/text-input-rzLEKhRU.js +0 -331
  616. package/dist/_chunks/time-picker-DKKmpFh3.js +0 -425
  617. package/dist/_chunks/use-registration-submit-DxCWic5_.js +0 -141
@@ -0,0 +1,688 @@
1
+ import { jsx as r, jsxs as b, Fragment as Je } from "react/jsx-runtime";
2
+ import { forwardRef as Ze, useContext as et, useState as V, useRef as y, useId as tt, useMemo as D, useEffect as X, useCallback as me } from "react";
3
+ import * as q from "@radix-ui/react-popover";
4
+ import { _ as c } from "./index-4xgbg-sn.js";
5
+ import { c as be } from "./index-D2ZczOXr.js";
6
+ import { useTranslation as st } from "react-i18next";
7
+ import { u as rt, F as nt, b as it } from "./form-field-context-DtiROUJV.js";
8
+ import { T as fe } from "./tooltip-Cp-PLePW.js";
9
+ import { c as at } from "./compose-refs-C0k0tdqF.js";
10
+ import { u as ot } from "./use-controllable-state-BiY4xTzM.js";
11
+ import { u as M } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
12
+ import { g as lt } from "./group-options-BvKhQ3xb.js";
13
+ import { b as ve } from "./menu-row-BAr8bx1I.js";
14
+ import { O as dt, a as ct, o as ut, b as pt, c as mt } from "./option-row-Dc7BrbK8.js";
15
+ import { b as J, c as ft } from "./input-surface-iBmxVBfr.js";
16
+ import { u as ht } from "./registry-DvAUVLHh.js";
17
+ import { X as gt } from "./x-B5YnXwCz.js";
18
+ import { C as bt } from "./check-DrFSN__t.js";
19
+ const vt = {
20
+ id: "multi-select",
21
+ // Persisted multi-choice (selection state + set_selection) → select_multiple,
22
+ // plus type-to-filter and open/close of the option list.
23
+ capabilities: ["select_multiple", "filter", "open", "close"],
24
+ state: {
25
+ selection: {
26
+ type: "string[]",
27
+ descriptionKey: "ui.agent.multiSelect.state.selection",
28
+ description: "Values of currently-selected options.",
29
+ read: (o) => o.getSelection()
30
+ },
31
+ query: {
32
+ type: "string",
33
+ descriptionKey: "ui.agent.multiSelect.state.query",
34
+ description: "Current filter query.",
35
+ read: (o) => o.getQuery()
36
+ },
37
+ isOpen: {
38
+ type: "boolean",
39
+ descriptionKey: "ui.agent.multiSelect.state.isOpen",
40
+ description: "True when the option list is visible.",
41
+ read: (o) => o.getIsOpen()
42
+ }
43
+ },
44
+ actions: {
45
+ set_selection: {
46
+ // Persists the user's chosen options — reversible via the same UI.
47
+ safety: "write",
48
+ argsType: "{ values: string[] }",
49
+ argsSchema: {
50
+ type: "object",
51
+ properties: {
52
+ values: {
53
+ type: "array",
54
+ items: { type: "string" },
55
+ description: "Option values to select (replaces the current selection)."
56
+ }
57
+ },
58
+ required: ["values"]
59
+ },
60
+ idempotent: !0,
61
+ descriptionKey: "ui.agent.multiSelect.actions.setSelection",
62
+ description: "Replace the current selection with the given list of values.",
63
+ examples: [
64
+ {
65
+ args: { values: ["a", "b"] },
66
+ note: 'Select exactly options "a" and "b".'
67
+ }
68
+ ],
69
+ invoke: (o, l) => {
70
+ o.setSelection(l.values);
71
+ }
72
+ },
73
+ clear_selection: {
74
+ // Discards the persisted selection — destructive (loses the choices).
75
+ safety: "destructive",
76
+ idempotent: !0,
77
+ descriptionKey: "ui.agent.multiSelect.actions.clearSelection",
78
+ description: "Clear the current selection.",
79
+ invoke: (o) => {
80
+ o.clearSelection();
81
+ }
82
+ },
83
+ apply_filter: {
84
+ // Pure ephemeral filter of the visible options — no persisted change.
85
+ safety: "read",
86
+ argsType: "{ query: string }",
87
+ argsSchema: {
88
+ type: "object",
89
+ properties: {
90
+ query: { type: "string", description: "Filter text for the list." }
91
+ },
92
+ required: ["query"]
93
+ },
94
+ idempotent: !0,
95
+ descriptionKey: "ui.agent.multiSelect.actions.applyFilter",
96
+ description: "Set the filter query for the option list.",
97
+ invoke: (o, l) => {
98
+ o.setQuery(l.query);
99
+ }
100
+ },
101
+ open: {
102
+ safety: "read",
103
+ idempotent: !0,
104
+ descriptionKey: "ui.agent.multiSelect.actions.open",
105
+ description: "Open the option list.",
106
+ invoke: (o) => {
107
+ o.open();
108
+ }
109
+ },
110
+ close: {
111
+ safety: "read",
112
+ idempotent: !0,
113
+ descriptionKey: "ui.agent.multiSelect.actions.close",
114
+ description: "Close the option list.",
115
+ invoke: (o) => {
116
+ o.close();
117
+ }
118
+ }
119
+ },
120
+ domHooks: {
121
+ root: { attr: "data-component", value: "multi-select" },
122
+ instanceId: {
123
+ attr: "data-component-id",
124
+ sourceProp: "id",
125
+ description: "Sourced from the id prop."
126
+ },
127
+ item: {
128
+ attr: "data-option-id",
129
+ description: "Each option emits its value as data-option-id."
130
+ }
131
+ }
132
+ }, yt = be(
133
+ [
134
+ "ds:inline-flex ds:flex-wrap ds:items-center ds:gap-1 ds:w-full",
135
+ ft,
136
+ "ds:aria-[invalid=true]:border-destructive",
137
+ "ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50"
138
+ ],
139
+ {
140
+ variants: {
141
+ size: {
142
+ sm: `ds:min-h-8 ds:ps-2 ds:pe-2 ds:py-1 ${J.sm}`,
143
+ md: `ds:min-h-[var(--min-target-size)] ds:ps-3 ds:pe-3 ds:py-1.5 ${J.md}`,
144
+ lg: `ds:min-h-12 ds:ps-4 ds:pe-4 ds:py-2 ${J.lg}`
145
+ }
146
+ },
147
+ defaultVariants: { size: "md" }
148
+ }
149
+ ), he = be(
150
+ [
151
+ "ds:inline-flex ds:items-center ds:gap-1",
152
+ "ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-muted",
153
+ "ds:text-foreground ds:select-none",
154
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
155
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
156
+ "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
157
+ "ds:forced-colors:focus-visible:outline-[CanvasText]"
158
+ ],
159
+ {
160
+ variants: {
161
+ size: {
162
+ sm: "ds:ps-2 ds:pe-1 ds:py-0.5 ds:text-[length:var(--font-size-xs)]",
163
+ md: "ds:ps-2 ds:pe-1 ds:py-0.5 ds:text-[length:var(--font-size-sm)]",
164
+ lg: "ds:ps-3 ds:pe-1.5 ds:py-1 ds:text-[length:var(--font-size-base)]"
165
+ }
166
+ },
167
+ defaultVariants: { size: "md" }
168
+ }
169
+ ), St = [
170
+ "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
171
+ "ds:rounded-[var(--radius-sm)]",
172
+ "ds:text-muted-foreground ds:hover:text-foreground",
173
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
174
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
175
+ "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
176
+ "ds:size-4",
177
+ 'ds:relative ds:before:absolute ds:before:inset-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""]'
178
+ ].join(" "), xt = [
179
+ "ds:z-[var(--z-dropdown)] ds:overflow-hidden",
180
+ // At least as wide as the field, at most as wide as the screen allows: a
181
+ // long option wraps or ends in an ellipsis instead of running off the
182
+ // edge. The floor gives way to the cap on a field wider than that.
183
+ "ds:min-w-[min(var(--radix-popover-trigger-width),var(--radix-popover-content-available-width))]",
184
+ "ds:max-w-[var(--radix-popover-content-available-width)]",
185
+ "ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
186
+ "ds:shadow-[var(--shadow-lg)]",
187
+ "ds:animate-in ds:fade-in ds:zoom-in-95",
188
+ "ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out",
189
+ "ds:data-[state=closed]:zoom-out-95",
190
+ "ds:data-[side=bottom]:slide-in-from-top-2",
191
+ "ds:data-[side=top]:slide-in-from-bottom-2",
192
+ "ds:motion-reduce:animate-none"
193
+ ].join(" "), It = [
194
+ "ds:relative ds:flex ds:cursor-pointer ds:items-center",
195
+ "ds:rounded-[var(--radius-sm)] ds:ps-2 ds:pe-2 ds:py-1.5",
196
+ "ds:text-[var(--font-size-sm)] ds:text-foreground ds:outline-none ds:select-none",
197
+ ve.selected,
198
+ "ds:aria-[disabled=true]:pointer-events-none ds:aria-[disabled=true]:opacity-50",
199
+ "ds:data-[disabled=true]:pointer-events-none ds:data-[disabled=true]:opacity-50"
200
+ ].join(" "), ge = [
201
+ "ds:relative ds:flex ds:cursor-pointer ds:items-center",
202
+ "ds:rounded-[var(--radius-sm)] ds:ps-2 ds:pe-2 ds:py-1.5",
203
+ "ds:text-[var(--font-size-sm)] ds:font-medium ds:text-primary ds:outline-none ds:select-none",
204
+ ve.selected
205
+ ].join(" "), Nt = "__ui-multiselect-select-all__", wt = "__ui-multiselect-clear-all__", ye = Ze(
206
+ function({
207
+ options: l,
208
+ value: Se,
209
+ defaultValue: xe,
210
+ onChange: Ie,
211
+ onComplete: z,
212
+ placeholder: Ne,
213
+ maxSelections: I,
214
+ allowSelectAll: Z = !1,
215
+ allowClear: ee = !1,
216
+ filter: P,
217
+ size: R = "md",
218
+ disabled: we,
219
+ wrapOptionLabels: te = !1,
220
+ className: Ce,
221
+ id: j,
222
+ // Pull `aria-label` out of the div spread so it names the combobox
223
+ // INPUT (the interactive control) rather than the wrapper div. Lets a
224
+ // consumer give the trigger a meaningful name when there's no visible
225
+ // label or FormField (e.g. a data-table floating filter naming itself
226
+ // after its column). Untouched callers fall back to the placeholder.
227
+ // Inside a FormField the field's label names the input and this is
228
+ // ignored, so it can never override the visible text (WCAG 2.5.3).
229
+ "aria-label": se,
230
+ ...Ae
231
+ }, _e) {
232
+ const { t: u } = st("ui"), p = rt(), S = et(nt) !== null, [ke, K] = ot({
233
+ value: Se,
234
+ defaultValue: xe ?? [],
235
+ onChange: Ie
236
+ }), i = ke ?? [], [w, m] = V(!1), [f, B] = V(""), v = y(null), re = `${tt()}-count`, N = y([]), $ = y(null), Re = at(_e, $), x = S && p.disabled || !!we, Te = S && p.required, ne = S && p.invalid, Ee = S && p.describedBy ? p.describedBy : void 0, Oe = j ?? (S ? p.id : void 0);
237
+ it(p, v);
238
+ const Fe = D(() => {
239
+ const e = /* @__PURE__ */ new Map();
240
+ for (const t of l) e.set(t.value, t.label);
241
+ return e;
242
+ }, [l]), ie = typeof I == "number" && i.length >= I, C = (e) => {
243
+ K(e);
244
+ }, Le = (e) => {
245
+ if (i.includes(e)) {
246
+ C(i.filter((t) => t !== e));
247
+ return;
248
+ }
249
+ ie || C([...i, e]);
250
+ }, U = (e) => {
251
+ const t = i.filter((n, a) => a !== e);
252
+ return C(t), t;
253
+ }, Ve = () => {
254
+ const e = l.filter((n) => !n.disabled).map((n) => n.value), t = typeof I == "number" ? I : e.length;
255
+ C(e.slice(0, t));
256
+ }, De = () => {
257
+ C([]);
258
+ }, ae = y(i);
259
+ X(() => {
260
+ ae.current = i;
261
+ }, [i]);
262
+ const oe = y(f);
263
+ X(() => {
264
+ oe.current = f;
265
+ }, [f]);
266
+ const le = y(w);
267
+ X(() => {
268
+ le.current = w;
269
+ }, [w]);
270
+ const H = me(
271
+ (e) => {
272
+ K(e);
273
+ },
274
+ [K]
275
+ ), qe = D(
276
+ () => ({
277
+ getSelection: () => [...ae.current],
278
+ getQuery: () => oe.current,
279
+ getIsOpen: () => le.current,
280
+ setSelection: (e) => H(e),
281
+ clearSelection: () => H([]),
282
+ setQuery: (e) => B(e),
283
+ open: () => m(!0),
284
+ close: () => m(!1)
285
+ }),
286
+ [H]
287
+ );
288
+ ht(vt, qe, j);
289
+ const Y = Ne ?? u("inputs.multiSelect.placeholder", "Select…"), de = D(() => {
290
+ if (!f) return l;
291
+ const e = f.toLowerCase();
292
+ return l.filter((t) => P ? P(f, t) : t.label.toLowerCase().includes(e));
293
+ }, [l, f, P]), Me = D(
294
+ () => lt(de),
295
+ [de]
296
+ ), ze = (e) => {
297
+ var a;
298
+ const t = e.currentTarget;
299
+ if (e.key === "Backspace" && f === "" && i.length > 0) {
300
+ e.preventDefault();
301
+ const s = i.length - 1, d = U(s).length - 1;
302
+ d >= 0 && requestAnimationFrame(() => {
303
+ var g;
304
+ (g = N.current[d]) == null || g.focus();
305
+ });
306
+ return;
307
+ }
308
+ const n = t.selectionStart === 0 && t.selectionEnd === 0;
309
+ if ((e.key === "ArrowLeft" || e.key === "ArrowRight") && n && i.length > 0) {
310
+ const s = document.dir === "rtl" || t.dir === "rtl";
311
+ if (s && e.key === "ArrowRight" || !s && e.key === "ArrowLeft") {
312
+ e.preventDefault();
313
+ const d = i.length - 1;
314
+ (a = N.current[d]) == null || a.focus();
315
+ }
316
+ return;
317
+ }
318
+ if (e.key === "Escape") {
319
+ m(!1);
320
+ return;
321
+ }
322
+ !w && (e.key === "ArrowDown" || e.key === "Enter") && m(!0);
323
+ }, Pe = (e) => (t) => {
324
+ var h, d, g, _;
325
+ if (t.key === "Backspace" || t.key === "Delete" || t.key === "Enter" || t.key === " ") {
326
+ t.preventDefault(), t.stopPropagation();
327
+ const L = U(e);
328
+ if (L.length === 0) {
329
+ requestAnimationFrame(() => {
330
+ var k;
331
+ return (k = v.current) == null ? void 0 : k.focus();
332
+ });
333
+ return;
334
+ }
335
+ const Xe = Math.min(e, L.length - 1);
336
+ requestAnimationFrame(() => {
337
+ var k;
338
+ (k = N.current[Xe]) == null || k.focus();
339
+ });
340
+ return;
341
+ }
342
+ const n = document.dir === "rtl", a = n ? "ArrowRight" : "ArrowLeft", s = n ? "ArrowLeft" : "ArrowRight";
343
+ if (t.key === a) {
344
+ t.preventDefault();
345
+ const L = Math.max(0, e - 1);
346
+ (h = N.current[L]) == null || h.focus();
347
+ return;
348
+ }
349
+ if (t.key === s) {
350
+ t.preventDefault(), e < i.length - 1 ? (d = N.current[e + 1]) == null || d.focus() : (g = v.current) == null || g.focus();
351
+ return;
352
+ }
353
+ t.key === "Escape" && (m(!1), (_ = v.current) == null || _.focus());
354
+ }, [T, G] = V(
355
+ Number.POSITIVE_INFINITY
356
+ ), [je, Ke] = V(0), ce = y(-1), E = me(() => {
357
+ G(Number.POSITIVE_INFINITY), Ke((e) => e + 1);
358
+ }, []);
359
+ M(() => {
360
+ const e = $.current;
361
+ if (!e) return;
362
+ const t = Array.from(
363
+ e.querySelectorAll('[data-ui-chip="true"]')
364
+ );
365
+ if (t.length === 0) {
366
+ G(Number.POSITIVE_INFINITY);
367
+ return;
368
+ }
369
+ const n = t[0].offsetTop;
370
+ let a = 0;
371
+ for (const s of t)
372
+ if (s.offsetTop === n) a++;
373
+ else break;
374
+ G(
375
+ a === t.length ? Number.POSITIVE_INFINITY : Math.max(1, a - 1)
376
+ );
377
+ }, [je]), M(() => {
378
+ E();
379
+ }, [i.length, R, E]), M(() => {
380
+ const e = $.current;
381
+ if (!e) return;
382
+ const t = new ResizeObserver((n) => {
383
+ var s;
384
+ const a = Math.round(
385
+ ((s = n[0]) == null ? void 0 : s.contentRect.width) ?? e.clientWidth
386
+ );
387
+ a !== ce.current && (ce.current = a, E());
388
+ });
389
+ return t.observe(e), () => t.disconnect();
390
+ }, [E]);
391
+ const O = i.map((e) => ({
392
+ value: e,
393
+ label: Fe.get(e) ?? e
394
+ })), ue = T === Number.POSITIVE_INFINITY || T >= O.length, Be = ue ? O : O.slice(0, T), pe = ue ? [] : O.slice(T), A = pe.length, $e = (e) => {
395
+ var n;
396
+ if (x) return;
397
+ const t = e.target;
398
+ t.closest('[data-ui-chip="true"]') || t.closest('[data-ui-chip-dismiss="true"]') || (m(!0), (n = v.current) == null || n.focus());
399
+ }, Ue = (e) => {
400
+ if (x) {
401
+ m(!1);
402
+ return;
403
+ }
404
+ m(e), e || (B(""), z == null || z(i));
405
+ }, He = Z || ee, Ye = u("inputs.multiSelect.selected", {
406
+ count: i.length,
407
+ defaultValue: `${i.length} selected`
408
+ }), Ge = S && p.label || se || Y, Qe = [re, Ee].filter(Boolean).join(" "), Q = S ? `${p.id}-label` : void 0, F = y(null);
409
+ M(() => {
410
+ const e = v.current;
411
+ if (!e) return;
412
+ const t = e.getAttribute("aria-labelledby");
413
+ if (Q) {
414
+ if (t === Q) return;
415
+ F.current = t, e.setAttribute("aria-labelledby", Q);
416
+ } else F.current !== null && (e.setAttribute("aria-labelledby", F.current), F.current = null);
417
+ });
418
+ const { onClick: W, ...We } = Ae;
419
+ return /* @__PURE__ */ r(c, { shouldFilter: !1, label: Ge, children: /* @__PURE__ */ b(q.Root, { open: w, onOpenChange: Ue, children: [
420
+ /* @__PURE__ */ r(q.Anchor, { asChild: !0, children: /* @__PURE__ */ b(
421
+ "div",
422
+ {
423
+ ref: Re,
424
+ className: yt({ size: R, className: Ce }),
425
+ "aria-disabled": x || void 0,
426
+ "aria-invalid": ne || void 0,
427
+ "data-component": "multi-select",
428
+ "data-component-id": j,
429
+ onClick: (e) => {
430
+ W == null || W(e), $e(e);
431
+ },
432
+ ...We,
433
+ children: [
434
+ Be.map((e, t) => (
435
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions -- chip pill receives focus via roving tabindex; chip removal uses an inner button
436
+ /* @__PURE__ */ b(
437
+ "span",
438
+ {
439
+ ref: (n) => {
440
+ N.current[t] = n;
441
+ },
442
+ tabIndex: x ? -1 : 0,
443
+ "data-ui-chip": "true",
444
+ className: he({ size: R }),
445
+ onKeyDown: Pe(t),
446
+ "aria-label": e.label,
447
+ children: [
448
+ /* @__PURE__ */ r("span", { children: e.label }),
449
+ /* @__PURE__ */ r(
450
+ "button",
451
+ {
452
+ type: "button",
453
+ tabIndex: -1,
454
+ "data-ui-chip-dismiss": "true",
455
+ "aria-label": u("inputs.multiSelect.remove", {
456
+ label: e.label,
457
+ defaultValue: `Remove ${e.label}`
458
+ }),
459
+ disabled: x,
460
+ onClick: (n) => {
461
+ n.stopPropagation(), U(t), requestAnimationFrame(() => {
462
+ var a;
463
+ return (a = v.current) == null ? void 0 : a.focus();
464
+ });
465
+ },
466
+ className: St,
467
+ children: /* @__PURE__ */ r(gt, { "aria-hidden": "true", className: "ds:size-3.5" })
468
+ }
469
+ )
470
+ ]
471
+ },
472
+ e.value
473
+ )
474
+ )),
475
+ A > 0 ? /* @__PURE__ */ r(
476
+ fe,
477
+ {
478
+ label: pe.map((e) => e.label).join(", "),
479
+ delayDuration: 200,
480
+ children: /* @__PURE__ */ r(
481
+ "span",
482
+ {
483
+ className: he({ size: R }),
484
+ tabIndex: 0,
485
+ role: "button",
486
+ "aria-label": u("inputs.multiSelect.overflow", {
487
+ count: A,
488
+ defaultValue: `+${A} more`
489
+ }),
490
+ children: /* @__PURE__ */ r("span", { children: u("inputs.multiSelect.overflow", {
491
+ count: A,
492
+ defaultValue: `+${A} more`
493
+ }) })
494
+ }
495
+ )
496
+ }
497
+ ) : null,
498
+ /* @__PURE__ */ r(
499
+ c.Input,
500
+ {
501
+ ref: v,
502
+ value: f,
503
+ onValueChange: B,
504
+ onKeyDown: ze,
505
+ onFocus: () => {
506
+ x || m(!0);
507
+ },
508
+ placeholder: i.length === 0 ? Y : "",
509
+ id: Oe,
510
+ "aria-describedby": Qe,
511
+ "aria-invalid": ne || void 0,
512
+ "aria-required": Te || void 0,
513
+ disabled: x,
514
+ className: [
515
+ "ds:flex-1 ds:min-w-[6rem] ds:bg-transparent ds:outline-none",
516
+ "ds:placeholder:text-muted-foreground ds:text-start",
517
+ "ds:disabled:cursor-not-allowed"
518
+ ].join(" ")
519
+ }
520
+ ),
521
+ /* @__PURE__ */ r("span", { id: re, hidden: !0, children: Ye })
522
+ ]
523
+ }
524
+ ) }),
525
+ /* @__PURE__ */ r(q.Portal, { children: /* @__PURE__ */ r(
526
+ q.Content,
527
+ {
528
+ "data-component": "multi-select-list",
529
+ onOpenAutoFocus: (e) => e.preventDefault(),
530
+ onCloseAutoFocus: (e) => e.preventDefault(),
531
+ align: "start",
532
+ sideOffset: 4,
533
+ collisionPadding: 8,
534
+ className: xt,
535
+ children: /* @__PURE__ */ b(
536
+ c.List,
537
+ {
538
+ role: "listbox",
539
+ "aria-multiselectable": "true",
540
+ "aria-label": Y,
541
+ className: "ds:max-h-[20rem] ds:overflow-y-auto ds:p-1",
542
+ children: [
543
+ He ? /* @__PURE__ */ b(c.Group, { children: [
544
+ Z ? /* @__PURE__ */ r(
545
+ c.Item,
546
+ {
547
+ value: Nt,
548
+ onSelect: Ve,
549
+ className: ge,
550
+ children: u("inputs.multiSelect.selectAll", "Select all")
551
+ }
552
+ ) : null,
553
+ ee ? /* @__PURE__ */ r(
554
+ c.Item,
555
+ {
556
+ value: wt,
557
+ onSelect: De,
558
+ className: ge,
559
+ children: u("inputs.multiSelect.clearAll", "Clear all")
560
+ }
561
+ ) : null
562
+ ] }) : null,
563
+ /* @__PURE__ */ r(c.Empty, { className: "ds:ps-2 ds:pe-2 ds:py-2 type-body-sm ds:text-muted-foreground", children: u("inputs.multiSelect.noOptions", "No options found") }),
564
+ Me.map(({ group: e, items: t }, n) => {
565
+ const a = t.map((s) => {
566
+ const h = i.includes(s.value), d = !h && ie, g = !!s.disabled || d, _ = /* @__PURE__ */ b(
567
+ c.Item,
568
+ {
569
+ value: s.value,
570
+ "data-option-id": s.value,
571
+ disabled: g,
572
+ onSelect: () => {
573
+ g || Le(s.value);
574
+ },
575
+ "aria-selected": h,
576
+ "aria-disabled": g || void 0,
577
+ className: It,
578
+ children: [
579
+ /* @__PURE__ */ r(
580
+ "span",
581
+ {
582
+ className: [
583
+ "ds:inline-flex ds:items-center ds:justify-center ds:me-[var(--spacing-xs)] ds:shrink-0",
584
+ "ds:size-4 ds:rounded-[var(--radius-sm)] ds:border",
585
+ h ? "ds:bg-primary ds:border-primary ds:text-primary-foreground" : "ds:bg-background ds:border-[color:var(--control-border)]"
586
+ ].join(" "),
587
+ "aria-hidden": "true",
588
+ children: h ? /* @__PURE__ */ r(bt, { className: "ds:size-3.5" }) : null
589
+ }
590
+ ),
591
+ s.startAdornment ? (
592
+ // Decorative by contract — the accessible name comes
593
+ // from the option label.
594
+ /* @__PURE__ */ r(
595
+ "span",
596
+ {
597
+ "aria-hidden": "true",
598
+ className: "ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)]",
599
+ children: s.startAdornment
600
+ }
601
+ )
602
+ ) : null,
603
+ s.description || te ? (
604
+ // Stacked, as in Combobox: the label and its end
605
+ // content on one row, the description under them.
606
+ // The option's name reads in that order.
607
+ /* @__PURE__ */ b("span", { className: dt, children: [
608
+ /* @__PURE__ */ b("span", { className: ct, children: [
609
+ /* @__PURE__ */ r(
610
+ "span",
611
+ {
612
+ className: ut({
613
+ wrap: te,
614
+ className: "ds:flex-1 ds:text-start"
615
+ }),
616
+ children: s.label
617
+ }
618
+ ),
619
+ s.endContent ? (
620
+ // Announced, as below.
621
+ /* @__PURE__ */ r("span", { className: pt, children: s.endContent })
622
+ ) : null
623
+ ] }),
624
+ s.description ? /* @__PURE__ */ r(
625
+ "span",
626
+ {
627
+ className: mt({
628
+ tone: s.descriptionTone,
629
+ className: "ds:text-start"
630
+ }),
631
+ children: s.description
632
+ }
633
+ ) : null
634
+ ] })
635
+ ) : /* @__PURE__ */ b(Je, { children: [
636
+ /* @__PURE__ */ r("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate ds:text-start", children: s.label }),
637
+ s.endContent ? (
638
+ // Deliberately NOT aria-hidden — unlike
639
+ // `startAdornment`, this slot carries meaning
640
+ // (a price, a count) and must reach the
641
+ // option's accessible name. `ms-auto` pins it
642
+ // to the inline-end and flips under RTL.
643
+ /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0 ds:ps-[var(--spacing-xs)]", children: s.endContent })
644
+ ) : null
645
+ ] })
646
+ ]
647
+ },
648
+ s.value
649
+ );
650
+ return d ? /* @__PURE__ */ r(
651
+ fe,
652
+ {
653
+ label: u("inputs.multiSelect.maxReached", {
654
+ count: I,
655
+ defaultValue: `Maximum ${I} selections`
656
+ }),
657
+ delayDuration: 200,
658
+ children: _
659
+ },
660
+ s.value
661
+ ) : _;
662
+ });
663
+ return e ? /* @__PURE__ */ r(
664
+ c.Group,
665
+ {
666
+ heading: e,
667
+ className: "ds:[&_[cmdk-group-heading]]:ps-2 ds:[&_[cmdk-group-heading]]:pe-2 ds:[&_[cmdk-group-heading]]:py-1 ds:[&_[cmdk-group-heading]]:type-eyebrow ds:[&_[cmdk-group-heading]]:text-muted-foreground",
668
+ children: a
669
+ },
670
+ `group-${e}`
671
+ ) : /* @__PURE__ */ r(c.Group, { children: a }, `group-${n}`);
672
+ })
673
+ ]
674
+ }
675
+ )
676
+ }
677
+ ) })
678
+ ] }) });
679
+ }
680
+ );
681
+ ye.displayName = "MultiSelect";
682
+ const Kt = ye;
683
+ export {
684
+ Kt as M,
685
+ yt as a,
686
+ vt as m
687
+ };
688
+ //# sourceMappingURL=multi-select-BT23EnSA.js.map