@alfadocs/ui-kit-debug 1.56.0 → 1.58.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 (445) hide show
  1. package/dist/_chunks/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
  2. package/dist/_chunks/{address-fields-BfjxS05Z.js.map → address-fields-CJtu7LQU.js.map} +1 -1
  3. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  4. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js.map → ai-credits-notice-ktklr8fy.js.map} +1 -1
  5. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  6. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js.map +1 -0
  7. package/dist/_chunks/alia-sidebar-dybRpWml.js +1284 -0
  8. package/dist/_chunks/alia-sidebar-dybRpWml.js.map +1 -0
  9. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-M-FUkw9p.js} +6 -6
  10. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js.map → anamnesis-summary-rows-M-FUkw9p.js.map} +1 -1
  11. package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
  12. package/dist/_chunks/{app-frame-B-0O9CrU.js.map → app-frame-CqmDh2v5.js.map} +1 -1
  13. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  14. package/dist/_chunks/{appointment-peek-BIZaDeCi.js.map → appointment-peek-WvNbE4JG.js.map} +1 -1
  15. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  16. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js.map → appointment-timeline-Z0494xO-.js.map} +1 -1
  17. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CGoJZlKf.js} +3 -3
  18. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js.map → balance-badge-cell-CGoJZlKf.js.map} +1 -1
  19. package/dist/_chunks/{booking-WyNGKPE2.js → booking-CiFSAMR-.js} +4 -4
  20. package/dist/_chunks/{booking-WyNGKPE2.js.map → booking-CiFSAMR-.js.map} +1 -1
  21. package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
  22. package/dist/_chunks/{calculator-dialog-pCPWta7h.js.map → calculator-dialog-CzQv03p0.js.map} +1 -1
  23. package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-DNHzjG7O.js} +19 -19
  24. package/dist/_chunks/calendar-workspace-DNHzjG7O.js.map +1 -0
  25. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  26. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js.map → care-plan-card-DxrRLRdW.js.map} +1 -1
  27. package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
  28. package/dist/_chunks/{care-plan-header-DUX_SVvF.js.map → care-plan-header-BMwZIgHJ.js.map} +1 -1
  29. package/dist/_chunks/{chart-HsF1KHbx.js → chart-ZMkX-Gqy.js} +338 -341
  30. package/dist/_chunks/chart-ZMkX-Gqy.js.map +1 -0
  31. package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
  32. package/dist/_chunks/{city-input-BC_nYINn.js.map → city-input-3J3bz9EO.js.map} +1 -1
  33. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  34. package/dist/_chunks/{clinical-note-card-14JIoUR0.js.map → clinical-note-card-hx939bvw.js.map} +1 -1
  35. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  36. package/dist/_chunks/color-picker-BsggJovx.js.map +1 -0
  37. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  38. package/dist/_chunks/{contact-card-CmK05vNb.js.map → contact-card-fHBMwEsx.js.map} +1 -1
  39. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
  40. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js.map → contact-profile-card-CMyBYgRR.js.map} +1 -1
  41. package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
  42. package/dist/_chunks/{control-room-rail-Tx2jW250.js.map → control-room-rail-CJ85HkS2.js.map} +1 -1
  43. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  44. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js.map → cycle-calculator-Cww9DzIa.js.map} +1 -1
  45. package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
  46. package/dist/_chunks/dashboard-grid-Cs7cJAsA.js.map +1 -0
  47. package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-Yn5xiGzs.js} +3 -3
  48. package/dist/_chunks/{data-table-D8fuhqO1.js.map → data-table-Yn5xiGzs.js.map} +1 -1
  49. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  50. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js.map → data-table-tabs-CHYAAeHy.js.map} +1 -1
  51. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  52. package/dist/_chunks/date-picker-BSZuKo13.js.map +1 -0
  53. package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
  54. package/dist/_chunks/date-range-picker-CFk-5O3R.js.map +1 -0
  55. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  56. package/dist/_chunks/date-time-picker-CjxTkblD.js.map +1 -0
  57. package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
  58. package/dist/_chunks/{dialog-CUzbnKLw.js.map → dialog-Dn-iQ0Jp.js.map} +1 -1
  59. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  60. package/dist/_chunks/{document-preview-uoTekVR7.js.map → document-preview-CHGGG0l_.js.map} +1 -1
  61. package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
  62. package/dist/_chunks/{due-date-calculator-CSjklbyw.js.map → due-date-calculator-D_qFUiHp.js.map} +1 -1
  63. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  64. package/dist/_chunks/{entity-summary-DcB0fIiv.js.map → entity-summary-CWcCSThK.js.map} +1 -1
  65. package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
  66. package/dist/_chunks/{face-scheme-BicuUA2K.js.map → face-scheme-DSKDdIsb.js.map} +1 -1
  67. package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-DEtkQR1F.js} +4 -4
  68. package/dist/_chunks/{file-manager-Cc_uO8r2.js.map → file-manager-DEtkQR1F.js.map} +1 -1
  69. package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
  70. package/dist/_chunks/{forgot-password-form-DEx-M_QR.js.map → forgot-password-form-CEqOmNuX.js.map} +1 -1
  71. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
  72. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js.map → gestational-age-calculator-CZi43xKG.js.map} +1 -1
  73. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  74. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js.map → hcg-doubling-Ccvh7OaU.js.map} +1 -1
  75. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  76. package/dist/_chunks/{header-settings-ge_3gYEq.js.map → header-settings-BMcCx2LC.js.map} +1 -1
  77. package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-DiyOSQk9.js} +2 -2
  78. package/dist/_chunks/{heatmap-Gf9r7Tn1.js.map → heatmap-DiyOSQk9.js.map} +1 -1
  79. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-CM1p6qkm.js} +3 -3
  80. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js.map → help-me-write-templates-CM1p6qkm.js.map} +1 -1
  81. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  82. package/dist/_chunks/hover-card-U_ZYoh1n.js.map +1 -0
  83. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-rOFTawXk.js} +3 -3
  84. package/dist/_chunks/{icon-picker-DWrqmI1c.js.map → icon-picker-rOFTawXk.js.map} +1 -1
  85. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  86. package/dist/_chunks/{info-tip-B0jmIt6M.js.map → info-tip-CJpNpzZe.js.map} +1 -1
  87. package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
  88. package/dist/_chunks/{kit-extensions-Byfxy6sy.js.map → kit-extensions-DYVxWcqv.js.map} +1 -1
  89. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-C1wOyxDF.js} +3 -3
  90. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js.map → link-cell-renderer-C1wOyxDF.js.map} +1 -1
  91. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  92. package/dist/_chunks/link-gRw3NtOt.js.map +1 -0
  93. package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
  94. package/dist/_chunks/list-CNnn7DOD.js.map +1 -0
  95. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  96. package/dist/_chunks/{locale-picker-DfNSdOpy.js.map → locale-picker-BGfrZyTw.js.map} +1 -1
  97. package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
  98. package/dist/_chunks/{login-dev-card-DmZ1B0lB.js.map → login-dev-card-CIim81VB.js.map} +1 -1
  99. package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
  100. package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js.map +1 -0
  101. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-DmU0poD7.js} +76 -69
  102. package/dist/_chunks/message-tray-DmU0poD7.js.map +1 -0
  103. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  104. package/dist/_chunks/{nav-grid-BqCPH8sm.js.map → nav-grid-Byx8PxuB.js.map} +1 -1
  105. package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
  106. package/dist/_chunks/navigation-dismiss-B1mcW1CT.js.map +1 -0
  107. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  108. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js.map +1 -0
  109. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  110. package/dist/_chunks/{note-attachment-I1NLoeRZ.js.map → note-attachment-Bt2cddsZ.js.map} +1 -1
  111. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  112. package/dist/_chunks/{note-timeline-CsY8YOE7.js.map → note-timeline-CX9nAgAR.js.map} +1 -1
  113. package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-DHLHsxpW.js} +4 -4
  114. package/dist/_chunks/{notes-panel-DceRhthG.js.map → notes-panel-DHLHsxpW.js.map} +1 -1
  115. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-DPU-Xg0i.js} +83 -76
  116. package/dist/_chunks/notification-tray-DPU-Xg0i.js.map +1 -0
  117. package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
  118. package/dist/_chunks/panel-subview-D4o6ar6_.js.map +1 -0
  119. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-BCaVuaXz.js} +2 -2
  120. package/dist/_chunks/{patient-details-DsTtjpuX.js.map → patient-details-BCaVuaXz.js.map} +1 -1
  121. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-jcRSTrp4.js} +7 -7
  122. package/dist/_chunks/{patient-field-row-BvZ9luz-.js.map → patient-field-row-jcRSTrp4.js.map} +1 -1
  123. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-kQIfPQOE.js} +4 -4
  124. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js.map → patient-summary-card-kQIfPQOE.js.map} +1 -1
  125. package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
  126. package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js.map → payment-automation-upsell-C4wHOxsp.js.map} +1 -1
  127. package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
  128. package/dist/_chunks/{payment-request-card-CwDpwXUC.js.map → payment-request-card-DAniJNLX.js.map} +1 -1
  129. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  130. package/dist/_chunks/pdf-viewer-CNQxa4tv.js.map +1 -0
  131. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  132. package/dist/_chunks/phone-input-O9camxkq.js.map +1 -0
  133. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  134. package/dist/_chunks/popover-BG75rYjN.js.map +1 -0
  135. package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-D07wgCqV.js} +2 -2
  136. package/dist/_chunks/{practice-results-Dhbo-fc_.js.map → practice-results-D07wgCqV.js.map} +1 -1
  137. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
  138. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js.map → pregnancy-dating-BFzv9g1N.js.map} +1 -1
  139. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DCYX0rPG.js} +103 -96
  140. package/dist/_chunks/product-hub-panel-DCYX0rPG.js.map +1 -0
  141. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  142. package/dist/_chunks/{public-footer-CxpG6J1M.js.map → public-footer-ZWTEG1Rq.js.map} +1 -1
  143. package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-C1SlVSYt.js} +2 -2
  144. package/dist/_chunks/{public-header.agent-pr2hyiND.js.map → public-header.agent-C1SlVSYt.js.map} +1 -1
  145. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  146. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js.map → radiograph-panel.agent-DyqbTECc.js.map} +1 -1
  147. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-DrSR9Sjk.js} +4 -4
  148. package/dist/_chunks/{registration-form-D7iNqMBF.js.map → registration-form-DrSR9Sjk.js.map} +1 -1
  149. package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-UgXri8h6.js} +490 -485
  150. package/dist/_chunks/rich-text-editor-UgXri8h6.js.map +1 -0
  151. package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
  152. package/dist/_chunks/scroll-area-CY5SLYNw.js.map +1 -0
  153. package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
  154. package/dist/_chunks/search-bar-mA4bPe3t.js.map +1 -0
  155. package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-Dtjk0CVv.js} +3 -3
  156. package/dist/_chunks/{sheet-C7SwIxwB.js.map → sheet-Dtjk0CVv.js.map} +1 -1
  157. package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
  158. package/dist/_chunks/sidebar-D4Wllqfz.js.map +1 -0
  159. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  160. package/dist/_chunks/{sign-document-B6HlyCGV.js.map → sign-document-D4iHS_Ug.js.map} +1 -1
  161. package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-dAVgE0_5.js} +3 -3
  162. package/dist/_chunks/{signature-request-DhbpB9N9.js.map → signature-request-dAVgE0_5.js.map} +1 -1
  163. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-DOJpobp8.js} +3 -3
  164. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js.map → signed-out-frame-DOJpobp8.js.map} +1 -1
  165. package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
  166. package/dist/_chunks/{state-backed-text-input-DECQy5aA.js.map → state-backed-text-input-Cgh4ms3p.js.map} +1 -1
  167. package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-BflEZmcF.js} +7 -6
  168. package/dist/_chunks/task-editor-BflEZmcF.js.map +1 -0
  169. package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
  170. package/dist/_chunks/{tool-rail-Bwyuw_Ot.js.map → tool-rail-CTq1KwxW.js.map} +1 -1
  171. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-izwoXh-G.js} +8 -8
  172. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js.map → use-appointment-details-read-izwoXh-G.js.map} +1 -1
  173. package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
  174. package/dist/_chunks/use-state-backed-input-DhRQo6gM.js.map +1 -0
  175. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-an-bpQfF.js} +3 -3
  176. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js.map → voice-control-panel-an-bpQfF.js.map} +1 -1
  177. package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-DlJOgYrZ.js} +80 -57
  178. package/dist/_chunks/widget-picker-DlJOgYrZ.js.map +1 -0
  179. package/dist/agent-catalog.json +3 -3
  180. package/dist/agent-i18n/en.json +1 -1
  181. package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
  182. package/dist/components/_shared/navigation-dismiss.d.ts.map +1 -0
  183. package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
  184. package/dist/components/_shared/non-modal-tab-exit.d.ts.map +1 -1
  185. package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
  186. package/dist/components/_shared/use-state-backed-input.d.ts.map +1 -1
  187. package/dist/components/address-fields/index.js +1 -1
  188. package/dist/components/ai-credits-notice/index.js +1 -1
  189. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  190. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts.map +1 -1
  191. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  192. package/dist/components/ai-permission-notice/index.d.ts.map +1 -1
  193. package/dist/components/ai-permission-notice/index.js +1 -1
  194. package/dist/components/app-frame/index.js +1 -1
  195. package/dist/components/appointment-details-panel/index.js +1 -1
  196. package/dist/components/appointment-peek/index.js +1 -1
  197. package/dist/components/appointment-timeline/index.js +1 -1
  198. package/dist/components/booking/index.js +1 -1
  199. package/dist/components/calculator-dialog/index.js +1 -1
  200. package/dist/components/care-plan-card/index.js +1 -1
  201. package/dist/components/care-plan-header/index.js +1 -1
  202. package/dist/components/chart/chart.d.ts +5 -5
  203. package/dist/components/chart/chart.d.ts.map +1 -1
  204. package/dist/components/chart/index.js +1 -1
  205. package/dist/components/city-input/index.js +1 -1
  206. package/dist/components/clinical-note-card/index.js +1 -1
  207. package/dist/components/color-picker/color-picker.d.ts.map +1 -1
  208. package/dist/components/color-picker/index.js +1 -1
  209. package/dist/components/contact-card/index.js +1 -1
  210. package/dist/components/contact-profile-card/index.js +1 -1
  211. package/dist/components/control-room-rail/index.js +1 -1
  212. package/dist/components/cycle-calculator/index.js +1 -1
  213. package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
  214. package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -1
  215. package/dist/components/dashboard-grid/index.js +1 -1
  216. package/dist/components/data-table/index.js +2 -2
  217. package/dist/components/data-table-tabs/index.js +1 -1
  218. package/dist/components/date-picker/date-picker.d.ts.map +1 -1
  219. package/dist/components/date-picker/index.js +1 -1
  220. package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
  221. package/dist/components/date-range-picker/index.js +1 -1
  222. package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
  223. package/dist/components/date-time-picker/index.js +1 -1
  224. package/dist/components/dialog/index.js +1 -1
  225. package/dist/components/document-preview/index.js +1 -1
  226. package/dist/components/due-date-calculator/index.js +1 -1
  227. package/dist/components/entity-summary/index.js +1 -1
  228. package/dist/components/face-scheme/index.js +1 -1
  229. package/dist/components/file-manager/index.js +1 -1
  230. package/dist/components/gestational-age-calculator/index.js +1 -1
  231. package/dist/components/hcg-doubling/index.js +1 -1
  232. package/dist/components/header-settings/index.js +1 -1
  233. package/dist/components/heatmap/index.js +1 -1
  234. package/dist/components/hover-card/hover-card.d.ts.map +1 -1
  235. package/dist/components/hover-card/index.js +1 -1
  236. package/dist/components/icon-picker/index.js +1 -1
  237. package/dist/components/info-tip/index.js +1 -1
  238. package/dist/components/link/index.js +1 -1
  239. package/dist/components/link/link.d.ts +5 -3
  240. package/dist/components/link/link.d.ts.map +1 -1
  241. package/dist/components/list/index.js +1 -1
  242. package/dist/components/list/list.d.ts.map +1 -1
  243. package/dist/components/locale-picker/index.js +1 -1
  244. package/dist/components/message-tray/index.js +1 -1
  245. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  246. package/dist/components/nav-grid/index.js +1 -1
  247. package/dist/components/note-timeline/index.js +1 -1
  248. package/dist/components/notes-panel/index.js +1 -1
  249. package/dist/components/notification-tray/index.js +1 -1
  250. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  251. package/dist/components/panel-subview/index.js +1 -1
  252. package/dist/components/panel-subview/panel-subview.d.ts.map +1 -1
  253. package/dist/components/patient-details/index.js +1 -1
  254. package/dist/components/patient-summary-card/index.js +1 -1
  255. package/dist/components/patient-table/index.js +1 -1
  256. package/dist/components/payment-card/index.js +1 -1
  257. package/dist/components/pdf-viewer/index.js +1 -1
  258. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  259. package/dist/components/phone-input/index.js +1 -1
  260. package/dist/components/phone-input/phone-input.d.ts.map +1 -1
  261. package/dist/components/popover/index.js +1 -1
  262. package/dist/components/popover/popover.d.ts +1 -1
  263. package/dist/components/popover/popover.d.ts.map +1 -1
  264. package/dist/components/practice-results/index.js +1 -1
  265. package/dist/components/pregnancy-dating/index.js +1 -1
  266. package/dist/components/product-hub-tray/index.js +1 -1
  267. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
  268. package/dist/components/public-footer/index.js +1 -1
  269. package/dist/components/public-header/index.js +1 -1
  270. package/dist/components/radiograph-panel/index.js +1 -1
  271. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  272. package/dist/components/rich-text-editor/index.js +2 -2
  273. package/dist/components/scroll-area/index.js +1 -1
  274. package/dist/components/scroll-area/scroll-area.d.ts +6 -5
  275. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
  276. package/dist/components/search-bar/index.js +1 -1
  277. package/dist/components/search-bar/search-bar.d.ts +1 -1
  278. package/dist/components/search-bar/search-bar.d.ts.map +1 -1
  279. package/dist/components/sheet/index.js +1 -1
  280. package/dist/components/sidebar/index.d.ts +1 -1
  281. package/dist/components/sidebar/index.d.ts.map +1 -1
  282. package/dist/components/sidebar/index.js +1 -1
  283. package/dist/components/sidebar/sidebar-move.d.ts +88 -0
  284. package/dist/components/sidebar/sidebar-move.d.ts.map +1 -0
  285. package/dist/components/sidebar/sidebar.d.ts +26 -1
  286. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  287. package/dist/components/sign-document/index.js +1 -1
  288. package/dist/components/task-editor/index.js +1 -1
  289. package/dist/components/task-editor/task-editor.d.ts.map +1 -1
  290. package/dist/components/tool-rail/index.js +1 -1
  291. package/dist/components/tool-rail/tool-rail.d.ts.map +1 -1
  292. package/dist/components/voice-control-panel/index.js +1 -1
  293. package/dist/components/widget-picker/index.js +1 -1
  294. package/dist/components/widget-picker/widget-picker.d.ts.map +1 -1
  295. package/dist/host-compat.css +2 -1
  296. package/dist/i18n/locales/ar.d.ts +24 -0
  297. package/dist/i18n/locales/ar.d.ts.map +1 -1
  298. package/dist/i18n/locales/ar.js +26 -2
  299. package/dist/i18n/locales/ar.js.map +1 -1
  300. package/dist/i18n/locales/de.d.ts +24 -0
  301. package/dist/i18n/locales/de.d.ts.map +1 -1
  302. package/dist/i18n/locales/de.js +26 -2
  303. package/dist/i18n/locales/de.js.map +1 -1
  304. package/dist/i18n/locales/el.d.ts +24 -0
  305. package/dist/i18n/locales/el.d.ts.map +1 -1
  306. package/dist/i18n/locales/el.js +26 -2
  307. package/dist/i18n/locales/el.js.map +1 -1
  308. package/dist/i18n/locales/en.d.ts +24 -0
  309. package/dist/i18n/locales/en.d.ts.map +1 -1
  310. package/dist/i18n/locales/en.js +26 -2
  311. package/dist/i18n/locales/en.js.map +1 -1
  312. package/dist/i18n/locales/es.d.ts +24 -0
  313. package/dist/i18n/locales/es.d.ts.map +1 -1
  314. package/dist/i18n/locales/es.js +26 -2
  315. package/dist/i18n/locales/es.js.map +1 -1
  316. package/dist/i18n/locales/fr.d.ts +24 -0
  317. package/dist/i18n/locales/fr.d.ts.map +1 -1
  318. package/dist/i18n/locales/fr.js +26 -2
  319. package/dist/i18n/locales/fr.js.map +1 -1
  320. package/dist/i18n/locales/hi.d.ts +24 -0
  321. package/dist/i18n/locales/hi.d.ts.map +1 -1
  322. package/dist/i18n/locales/hi.js +26 -2
  323. package/dist/i18n/locales/hi.js.map +1 -1
  324. package/dist/i18n/locales/it.d.ts +24 -0
  325. package/dist/i18n/locales/it.d.ts.map +1 -1
  326. package/dist/i18n/locales/it.js +26 -2
  327. package/dist/i18n/locales/it.js.map +1 -1
  328. package/dist/i18n/locales/ja.d.ts +24 -0
  329. package/dist/i18n/locales/ja.d.ts.map +1 -1
  330. package/dist/i18n/locales/ja.js +26 -2
  331. package/dist/i18n/locales/ja.js.map +1 -1
  332. package/dist/i18n/locales/nl.d.ts +24 -0
  333. package/dist/i18n/locales/nl.d.ts.map +1 -1
  334. package/dist/i18n/locales/nl.js +26 -2
  335. package/dist/i18n/locales/nl.js.map +1 -1
  336. package/dist/i18n/locales/pl.d.ts +24 -0
  337. package/dist/i18n/locales/pl.d.ts.map +1 -1
  338. package/dist/i18n/locales/pl.js +26 -2
  339. package/dist/i18n/locales/pl.js.map +1 -1
  340. package/dist/i18n/locales/pt.d.ts +24 -0
  341. package/dist/i18n/locales/pt.d.ts.map +1 -1
  342. package/dist/i18n/locales/pt.js +26 -2
  343. package/dist/i18n/locales/pt.js.map +1 -1
  344. package/dist/i18n/locales/ro.d.ts +24 -0
  345. package/dist/i18n/locales/ro.d.ts.map +1 -1
  346. package/dist/i18n/locales/ro.js +26 -2
  347. package/dist/i18n/locales/ro.js.map +1 -1
  348. package/dist/i18n/locales/ru.d.ts +24 -0
  349. package/dist/i18n/locales/ru.d.ts.map +1 -1
  350. package/dist/i18n/locales/ru.js +26 -2
  351. package/dist/i18n/locales/ru.js.map +1 -1
  352. package/dist/i18n/locales/sq.d.ts +24 -0
  353. package/dist/i18n/locales/sq.d.ts.map +1 -1
  354. package/dist/i18n/locales/sq.js +26 -2
  355. package/dist/i18n/locales/sq.js.map +1 -1
  356. package/dist/i18n/locales/sv.d.ts +24 -0
  357. package/dist/i18n/locales/sv.d.ts.map +1 -1
  358. package/dist/i18n/locales/sv.js +26 -2
  359. package/dist/i18n/locales/sv.js.map +1 -1
  360. package/dist/i18n/locales/tr.d.ts +24 -0
  361. package/dist/i18n/locales/tr.d.ts.map +1 -1
  362. package/dist/i18n/locales/tr.js +26 -2
  363. package/dist/i18n/locales/tr.js.map +1 -1
  364. package/dist/i18n/locales/zh.d.ts +24 -0
  365. package/dist/i18n/locales/zh.d.ts.map +1 -1
  366. package/dist/i18n/locales/zh.js +26 -2
  367. package/dist/i18n/locales/zh.js.map +1 -1
  368. package/dist/index.js +204 -203
  369. package/dist/locales/ar.json +26 -2
  370. package/dist/locales/de.json +26 -2
  371. package/dist/locales/el.json +26 -2
  372. package/dist/locales/en.json +26 -2
  373. package/dist/locales/es.json +26 -2
  374. package/dist/locales/fr.json +26 -2
  375. package/dist/locales/hi.json +26 -2
  376. package/dist/locales/it.json +26 -2
  377. package/dist/locales/ja.json +26 -2
  378. package/dist/locales/nl.json +26 -2
  379. package/dist/locales/pl.json +26 -2
  380. package/dist/locales/pt.json +26 -2
  381. package/dist/locales/ro.json +26 -2
  382. package/dist/locales/ru.json +26 -2
  383. package/dist/locales/sq.json +26 -2
  384. package/dist/locales/sv.json +26 -2
  385. package/dist/locales/tr.json +26 -2
  386. package/dist/locales/zh.json +26 -2
  387. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  388. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -1
  389. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  390. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  391. package/dist/patterns/alia-assistant/alia-popout.d.ts.map +1 -1
  392. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  393. package/dist/patterns/alia-assistant/index.d.ts.map +1 -1
  394. package/dist/patterns/alia-assistant/index.js +6 -5
  395. package/dist/patterns/anamnesis/index.js +1 -1
  396. package/dist/patterns/calendar/index.js +1 -1
  397. package/dist/patterns/forgot-password-form/index.js +1 -1
  398. package/dist/patterns/help-me-write-templates/index.js +1 -1
  399. package/dist/patterns/login-form/index.js +1 -1
  400. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  401. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +40 -10
  402. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
  403. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  404. package/dist/patterns/registration-form/index.js +1 -1
  405. package/dist/patterns/signature-request/index.js +1 -1
  406. package/dist/patterns/signed-out-frame/index.js +1 -1
  407. package/dist/tokens.css +1 -1
  408. package/package.json +1 -1
  409. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  410. package/dist/_chunks/ai-permission-notice-5vpblPCx.js.map +0 -1
  411. package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
  412. package/dist/_chunks/alia-sidebar-DOei4Iyu.js.map +0 -1
  413. package/dist/_chunks/calendar-workspace-Du2ryaI-.js.map +0 -1
  414. package/dist/_chunks/chart-HsF1KHbx.js.map +0 -1
  415. package/dist/_chunks/color-picker-BRQ4Y9SO.js.map +0 -1
  416. package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
  417. package/dist/_chunks/dashboard-grid-DfEY2qci.js.map +0 -1
  418. package/dist/_chunks/date-picker-wRAcq2lt.js.map +0 -1
  419. package/dist/_chunks/date-range-picker-CtUOI38x.js.map +0 -1
  420. package/dist/_chunks/date-time-picker-CLeLKuv9.js.map +0 -1
  421. package/dist/_chunks/hover-card-BnTueNS2.js.map +0 -1
  422. package/dist/_chunks/link-2HokYuIi.js +0 -130
  423. package/dist/_chunks/link-2HokYuIi.js.map +0 -1
  424. package/dist/_chunks/list-RRN2TJ_7.js.map +0 -1
  425. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js +0 -541
  426. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js.map +0 -1
  427. package/dist/_chunks/message-tray-BB95DA82.js.map +0 -1
  428. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
  429. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js.map +0 -1
  430. package/dist/_chunks/notification-tray-__sJXnsz.js.map +0 -1
  431. package/dist/_chunks/panel-subview-BT-Apwgb.js.map +0 -1
  432. package/dist/_chunks/pdf-viewer-C3minW5b.js.map +0 -1
  433. package/dist/_chunks/phone-input-DxkHMYmu.js.map +0 -1
  434. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
  435. package/dist/_chunks/popover-BI3oV3eY.js.map +0 -1
  436. package/dist/_chunks/product-hub-panel-BSSiGGG4.js.map +0 -1
  437. package/dist/_chunks/rich-text-editor-CkFfmA3v.js.map +0 -1
  438. package/dist/_chunks/scroll-area-ZtFCv9K7.js.map +0 -1
  439. package/dist/_chunks/search-bar-DQJS0wJN.js.map +0 -1
  440. package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
  441. package/dist/_chunks/sidebar-DLsG2AIk.js.map +0 -1
  442. package/dist/_chunks/task-editor-ByyRu29Y.js.map +0 -1
  443. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
  444. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js.map +0 -1
  445. package/dist/_chunks/widget-picker-DXYBMTfe.js.map +0 -1
@@ -1,12 +1,13 @@
1
- import { jsx as d, jsxs as U } from "react/jsx-runtime";
2
- import { useContext as H, useState as J, useCallback as m, useRef as C, useEffect as P, useMemo as G, forwardRef as x, useId as de, createContext as V } from "react";
3
- import * as N from "@radix-ui/react-popover";
4
- import { c as ie } from "./index-D2ZczOXr.js";
5
- import { useTranslation as ce } from "react-i18next";
6
- import { I as le } from "./icon-button-COX76Jdj.js";
7
- import { u as ue } from "./registry-DvAUVLHh.js";
8
- import { X as pe } from "./x-B5YnXwCz.js";
9
- const fe = {
1
+ import { jsx as d, jsxs as _ } from "react/jsx-runtime";
2
+ import { useContext as H, useState as Q, useCallback as m, useRef as C, useEffect as P, useMemo as J, forwardRef as I, useId as de, createContext as E } from "react";
3
+ import * as k from "@radix-ui/react-popover";
4
+ import { f as ie, u as ce } from "./non-modal-tab-exit-j3CPOuE3.js";
5
+ import { c as le } from "./index-D2ZczOXr.js";
6
+ import { useTranslation as ue } from "react-i18next";
7
+ import { I as pe } from "./icon-button-COX76Jdj.js";
8
+ import { u as fe } from "./registry-DvAUVLHh.js";
9
+ import { X as ve } from "./x-B5YnXwCz.js";
10
+ const me = {
10
11
  id: "hover-card",
11
12
  capabilities: ["open", "close"],
12
13
  state: {
@@ -46,14 +47,14 @@ const fe = {
46
47
  }
47
48
  }
48
49
  };
49
- function ve(e, t) {
50
+ function ge(e, t) {
50
51
  return e === "top" || e === "bottom" ? e : e === "start" ? t ? "right" : "left" : t ? "left" : "right";
51
52
  }
52
- const Q = V({
53
+ const Y = E({
53
54
  headingId: void 0,
54
55
  setHeadingId: () => {
55
56
  }
56
- }), B = V({
57
+ }), B = E({
57
58
  cancelClose: () => {
58
59
  },
59
60
  closeWithDelay: () => {
@@ -70,7 +71,7 @@ const Q = V({
70
71
  },
71
72
  triggerRef: { current: null },
72
73
  instanceId: void 0
73
- }), E = V("default"), me = ie(
74
+ }), X = E("default"), he = le(
74
75
  [
75
76
  // Same elevated surface as Popover: `--card-border` at 32% alpha reads as
76
77
  // a subtle edge in both themes, where the shadow alone lets the card
@@ -111,121 +112,121 @@ const Q = V({
111
112
  }
112
113
  }
113
114
  );
114
- function K({
115
+ function U({
115
116
  children: e,
116
117
  openOn: t = "hover-or-click",
117
118
  open: o,
118
- defaultOpen: c,
119
- onOpenChange: l,
120
- openDelay: g = 300,
121
- closeDelay: p = 300,
122
- id: f
119
+ defaultOpen: u,
120
+ onOpenChange: i,
121
+ openDelay: f = 300,
122
+ closeDelay: c = 300,
123
+ id: v
123
124
  }) {
124
- const [I, b] = J(c ?? !1), n = o !== void 0, h = n ? o : I, a = m(
125
- (v) => {
126
- n || b(v), l == null || l(v);
125
+ const [T, R] = Q(u ?? !1), n = o !== void 0, h = n ? o : T, a = m(
126
+ (g) => {
127
+ n || R(g), i == null || i(g);
127
128
  },
128
- [n, l]
129
+ [n, i]
129
130
  ), r = C(h);
130
131
  P(() => {
131
132
  r.current = h;
132
133
  }, [h]);
133
- const R = C(null), u = m(() => {
134
- R.current && (clearTimeout(R.current), R.current = null);
134
+ const b = C(null), p = m(() => {
135
+ b.current && (clearTimeout(b.current), b.current = null);
135
136
  }, []);
136
- P(() => u, [u]);
137
- const y = C(!1), O = C(!1), i = C(null), X = C(null), M = m(() => {
138
- u(), R.current = setTimeout(() => {
139
- y.current = !1, a(!0);
140
- }, g);
141
- }, [u, g, a]), w = m(() => {
142
- u(), R.current = setTimeout(() => a(!1), p);
143
- }, [u, p, a]), k = C(!1), T = C(null), j = m(() => {
144
- k.current = !0, T.current && clearTimeout(T.current), T.current = setTimeout(() => {
145
- k.current = !1;
137
+ P(() => p, [p]);
138
+ const N = C(!1), y = C(!1), F = C(null), l = C(null), A = m(() => {
139
+ p(), b.current = setTimeout(() => {
140
+ N.current = !1, a(!0);
141
+ }, f);
142
+ }, [p, f, a]), W = m(() => {
143
+ p(), b.current = setTimeout(() => a(!1), c);
144
+ }, [p, c, a]), j = C(!1), O = C(null), S = m(() => {
145
+ j.current = !0, O.current && clearTimeout(O.current), O.current = setTimeout(() => {
146
+ j.current = !1;
146
147
  }, 100);
147
148
  }, []);
148
149
  P(
149
150
  () => () => {
150
- T.current && clearTimeout(T.current);
151
+ O.current && clearTimeout(O.current);
151
152
  },
152
153
  []
153
154
  );
154
- const z = m(() => {
155
- if (k.current) {
156
- k.current = !1;
155
+ const D = m(() => {
156
+ if (j.current) {
157
+ j.current = !1;
157
158
  return;
158
159
  }
159
- u(), y.current = !1, a(!0);
160
- }, [u, a]), W = m(() => {
161
- var v;
162
- O.current = !0, (v = i.current) == null || v.focus();
163
- }, []), D = C(null), A = m(() => {
164
- const v = i.current;
165
- D.current = !!(v && v.contains(document.activeElement));
166
- }, []), s = m(() => {
167
- const v = D.current;
168
- if (D.current = null, v === !0) {
160
+ p(), N.current = !1, a(!0);
161
+ }, [p, a]), V = m(() => {
162
+ var g;
163
+ y.current = !0, (g = F.current) == null || g.focus();
164
+ }, []), w = C(null), M = m(() => {
165
+ const g = F.current;
166
+ w.current = !!(g && g.contains(document.activeElement));
167
+ }, []), z = m(() => {
168
+ const g = w.current;
169
+ if (w.current = null, g === !0) {
169
170
  a(!1);
170
171
  return;
171
172
  }
172
- y.current = !0, r.current ? W() : a(!0);
173
- }, [W, a]), F = G(
173
+ N.current = !0, r.current ? V() : a(!0);
174
+ }, [V, a]), Z = J(
174
175
  () => ({
175
176
  getIsOpen: () => r.current,
176
177
  open: () => {
177
- y.current = !1, a(!0);
178
+ N.current = !1, a(!0);
178
179
  },
179
180
  close: () => a(!1)
180
181
  }),
181
182
  [a]
182
183
  );
183
- ue(fe, F, f);
184
- const [q, oe] = J(void 0), S = t === "hover-or-click", ne = G(
184
+ fe(me, Z, v);
185
+ const [q, s] = Q(void 0), x = t === "hover-or-click", G = J(
185
186
  () => ({
186
- cancelClose: u,
187
- closeWithDelay: S ? w : () => {
187
+ cancelClose: p,
188
+ closeWithDelay: x ? W : () => {
188
189
  },
189
- shouldFocusOnOpen: () => y.current,
190
- didMoveFocus: () => O.current,
190
+ shouldFocusOnOpen: () => N.current,
191
+ didMoveFocus: () => y.current,
191
192
  noteMovedFocus: () => {
192
- O.current = !0;
193
+ y.current = !0;
193
194
  },
194
- noteFocusReturn: j,
195
+ noteFocusReturn: S,
195
196
  clearMovedFocus: () => {
196
- O.current = !1;
197
+ y.current = !1;
197
198
  },
198
- registerContent: (v) => {
199
- i.current = v;
199
+ registerContent: (g) => {
200
+ F.current = g;
200
201
  },
201
- triggerRef: X,
202
- instanceId: f
202
+ triggerRef: l,
203
+ instanceId: v
203
204
  }),
204
- [u, w, f, S, j]
205
- ), ae = G(
205
+ [p, W, v, x, S]
206
+ ), ae = J(
206
207
  () => ({
207
- isHoverMode: S,
208
- openOnFocus: z,
209
- openWithDelay: M,
210
- closeWithDelay: w,
211
- cancelClose: u,
212
- notePressStart: A,
213
- onClick: s
208
+ isHoverMode: x,
209
+ openOnFocus: D,
210
+ openWithDelay: A,
211
+ closeWithDelay: W,
212
+ cancelClose: p,
213
+ notePressStart: M,
214
+ onClick: z
214
215
  }),
215
216
  [
216
- u,
217
- w,
218
- s,
219
- S,
220
- A,
217
+ p,
218
+ W,
221
219
  z,
222
- M
220
+ x,
221
+ M,
222
+ D,
223
+ A
223
224
  ]
224
225
  );
225
- return /* @__PURE__ */ d(Q.Provider, { value: { headingId: q, setHeadingId: oe }, children: /* @__PURE__ */ d(B.Provider, { value: ne, children: /* @__PURE__ */ d(Y.Provider, { value: ae, children: /* @__PURE__ */ d(N.Root, { open: h, onOpenChange: a, children: e }) }) }) });
226
+ return /* @__PURE__ */ d(Y.Provider, { value: { headingId: q, setHeadingId: s }, children: /* @__PURE__ */ d(B.Provider, { value: G, children: /* @__PURE__ */ d($.Provider, { value: ae, children: /* @__PURE__ */ d(k.Root, { open: h, onOpenChange: a, children: e }) }) }) });
226
227
  }
227
- K.displayName = "HoverCard.Root";
228
- const Y = V({
228
+ U.displayName = "HoverCard.Root";
229
+ const $ = E({
229
230
  isHoverMode: !0,
230
231
  openOnFocus: () => {
231
232
  },
@@ -239,26 +240,26 @@ const Y = V({
239
240
  },
240
241
  onClick: () => {
241
242
  }
242
- }), Z = x(
243
+ }), L = I(
243
244
  ({
244
245
  children: e,
245
246
  onMouseEnter: t,
246
247
  onMouseLeave: o,
247
- onFocus: c,
248
- onBlur: l,
249
- onPointerDown: g,
250
- onKeyDown: p,
251
- onClick: f,
252
- ...I
253
- }, b) => {
254
- const n = H(Y), { triggerRef: h } = H(B), a = m(
248
+ onFocus: u,
249
+ onBlur: i,
250
+ onPointerDown: f,
251
+ onKeyDown: c,
252
+ onClick: v,
253
+ ...T
254
+ }, R) => {
255
+ const n = H($), { triggerRef: h } = H(B), a = m(
255
256
  (r) => {
256
- h.current = r, typeof b == "function" ? b(r) : b && (b.current = r);
257
+ h.current = r, typeof R == "function" ? R(r) : R && (R.current = r);
257
258
  },
258
- [b, h]
259
+ [R, h]
259
260
  );
260
261
  return /* @__PURE__ */ d(
261
- N.Trigger,
262
+ k.Trigger,
262
263
  {
263
264
  ref: a,
264
265
  onMouseEnter: (r) => {
@@ -268,99 +269,112 @@ const Y = V({
268
269
  n.isHoverMode && n.closeWithDelay(), o == null || o(r);
269
270
  },
270
271
  onFocus: (r) => {
271
- n.isHoverMode && n.openOnFocus(), c == null || c(r);
272
+ n.isHoverMode && n.openOnFocus(), u == null || u(r);
272
273
  },
273
274
  onBlur: (r) => {
274
- n.isHoverMode && n.closeWithDelay(), l == null || l(r);
275
+ n.isHoverMode && n.closeWithDelay(), i == null || i(r);
275
276
  },
276
277
  onPointerDown: (r) => {
277
- n.notePressStart(), g == null || g(r);
278
+ n.notePressStart(), f == null || f(r);
278
279
  },
279
280
  onKeyDown: (r) => {
280
- (r.key === "Enter" || r.key === " ") && n.notePressStart(), p == null || p(r);
281
+ (r.key === "Enter" || r.key === " ") && n.notePressStart(), c == null || c(r);
281
282
  },
282
283
  onClick: (r) => {
283
- r.preventDefault(), n.onClick(), f == null || f(r);
284
+ r.preventDefault(), n.onClick(), v == null || v(r);
284
285
  },
285
- ...I,
286
+ ...T,
286
287
  children: e
287
288
  }
288
289
  );
289
290
  }
290
291
  );
291
- Z.displayName = "HoverCard.Trigger";
292
- const _ = x((e, t) => {
293
- const { triggerRef: o } = H(B), c = m(
294
- (l) => {
295
- o.current = l, typeof t == "function" ? t(l) : t && (t.current = l);
292
+ L.displayName = "HoverCard.Trigger";
293
+ const K = I((e, t) => {
294
+ var f;
295
+ const { triggerRef: o } = H(B), u = m(
296
+ (c) => {
297
+ o.current = c, typeof t == "function" ? t(c) : t && (t.current = c);
296
298
  },
297
299
  [t, o]
298
- );
299
- return /* @__PURE__ */ d(N.Anchor, { ref: c, ...e });
300
+ ), i = (f = e.virtualRef) == null ? void 0 : f.current;
301
+ return P(() => {
302
+ if (i instanceof HTMLElement)
303
+ return o.current = i, () => {
304
+ o.current === i && (o.current = null);
305
+ };
306
+ }, [i, o]), /* @__PURE__ */ d(k.Anchor, { ref: u, ...e });
300
307
  });
301
- _.displayName = "HoverCard.Anchor";
302
- const $ = x(
308
+ K.displayName = "HoverCard.Anchor";
309
+ const ee = I(
303
310
  ({
304
311
  side: e = "top",
305
312
  align: t = "center",
306
313
  size: o = "md",
307
- padding: c = "default",
308
- showArrow: l = !0,
309
- showClose: g = !1,
310
- headerAction: p,
311
- dir: f,
312
- className: I,
313
- children: b,
314
+ padding: u = "default",
315
+ showArrow: i = !0,
316
+ showClose: f = !1,
317
+ headerAction: c,
318
+ dir: v,
319
+ className: T,
320
+ children: R,
314
321
  onOpenAutoFocus: n,
315
322
  onCloseAutoFocus: h,
316
323
  onMouseEnter: a,
317
324
  onMouseLeave: r,
318
- onFocusCapture: R,
319
- ...u
325
+ onFocusCapture: b,
326
+ onKeyDown: p,
327
+ ...N
320
328
  }, y) => {
321
- const { headingId: O } = H(Q), i = H(B), { t: X } = ce("ui"), [M, w] = J(!1), k = C(null), T = m(
329
+ const { headingId: F } = H(Y), l = H(B), A = m(
330
+ (s) => l.triggerRef.current ?? ie(s),
331
+ [l.triggerRef]
332
+ ), W = ce(!0, { getAnchor: A }), { t: j } = ue("ui"), [O, S] = Q(!1), D = C(null), V = m(
322
333
  (s) => {
323
- k.current = s, i.registerContent(s), typeof y == "function" ? y(s) : y && (y.current = s);
334
+ D.current = s, l.registerContent(s), typeof y == "function" ? y(s) : y && (y.current = s);
324
335
  },
325
- [y, i]
336
+ [y, l]
326
337
  );
327
338
  P(() => {
328
- const s = i.triggerRef.current, F = s == null ? void 0 : s.closest("[dir]"), q = (F == null ? void 0 : F.getAttribute("dir")) ?? document.documentElement.dir ?? "ltr";
329
- w(q === "rtl");
330
- }, [i.triggerRef]);
331
- const j = f ?? (M ? "rtl" : "ltr"), z = j === "rtl", W = ve(e, z), A = z && (W === "top" || W === "bottom") && t !== "center" ? t === "start" ? "end" : "start" : t;
332
- return /* @__PURE__ */ d(N.Portal, { children: /* @__PURE__ */ U(
333
- N.Content,
339
+ const s = l.triggerRef.current, x = s == null ? void 0 : s.closest("[dir]"), G = (x == null ? void 0 : x.getAttribute("dir")) ?? document.documentElement.dir ?? "ltr";
340
+ S(G === "rtl");
341
+ }, [l.triggerRef]);
342
+ const w = v ?? (O ? "rtl" : "ltr"), M = w === "rtl", z = ge(e, M), q = M && (z === "top" || z === "bottom") && t !== "center" ? t === "start" ? "end" : "start" : t;
343
+ return /* @__PURE__ */ d(k.Portal, { children: /* @__PURE__ */ _(
344
+ k.Content,
334
345
  {
335
- ref: T,
336
- dir: j,
337
- side: W,
338
- align: A,
346
+ ref: V,
347
+ dir: w,
348
+ side: z,
349
+ align: q,
339
350
  sideOffset: 8,
340
351
  collisionPadding: 8,
341
- "aria-labelledby": O,
342
- className: me({ size: o, padding: c, className: I }),
352
+ "aria-labelledby": F,
353
+ className: he({ size: o, padding: u, className: T }),
343
354
  "data-component": "hover-card",
344
- "data-component-id": i.instanceId,
355
+ "data-component-id": l.instanceId,
345
356
  onOpenAutoFocus: (s) => {
346
- i.shouldFocusOnOpen() ? i.noteMovedFocus() : s.preventDefault(), n == null || n(s);
357
+ l.shouldFocusOnOpen() ? l.noteMovedFocus() : s.preventDefault(), n == null || n(s);
347
358
  },
348
359
  onCloseAutoFocus: (s) => {
349
- i.didMoveFocus() ? i.noteFocusReturn() : s.preventDefault(), i.clearMovedFocus(), h == null || h(s);
360
+ l.didMoveFocus() ? l.noteFocusReturn() : s.preventDefault(), l.clearMovedFocus(), h == null || h(s);
350
361
  },
351
362
  onMouseEnter: (s) => {
352
- i.cancelClose(), a == null || a(s);
363
+ l.cancelClose(), a == null || a(s);
353
364
  },
354
365
  onMouseLeave: (s) => {
355
- i.closeWithDelay(), r == null || r(s);
366
+ l.closeWithDelay(), r == null || r(s);
356
367
  },
357
368
  onFocusCapture: (s) => {
358
- i.cancelClose(), R == null || R(s);
369
+ l.cancelClose(), b == null || b(s);
370
+ },
371
+ onKeyDown: (s) => {
372
+ p == null || p(s), W(s);
359
373
  },
360
- ...u,
374
+ ...N,
361
375
  children: [
362
- /* @__PURE__ */ d(E.Provider, { value: c, children: b }),
363
- g || p ? /* @__PURE__ */ U(
376
+ /* @__PURE__ */ d(X.Provider, { value: u, children: R }),
377
+ f || c ? /* @__PURE__ */ _(
364
378
  "div",
365
379
  {
366
380
  className: [
@@ -368,20 +382,20 @@ const $ = x(
368
382
  "ds:z-[1] ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]"
369
383
  ].join(" "),
370
384
  children: [
371
- p,
372
- g ? /* @__PURE__ */ d(N.Close, { asChild: !0, children: /* @__PURE__ */ d(
373
- le,
385
+ c,
386
+ f ? /* @__PURE__ */ d(k.Close, { asChild: !0, children: /* @__PURE__ */ d(
387
+ pe,
374
388
  {
375
- icon: /* @__PURE__ */ d(pe, {}),
389
+ icon: /* @__PURE__ */ d(ve, {}),
376
390
  intent: "ghost",
377
391
  size: "sm",
378
- "aria-label": X("common.close", "Close")
392
+ "aria-label": j("common.close", "Close")
379
393
  }
380
394
  ) }) : null
381
395
  ]
382
396
  }
383
397
  ) : null,
384
- l ? (
398
+ i ? (
385
399
  // Radix places the arrow on the resolved side and keeps it over
386
400
  // the trigger through collision flip and shift.
387
401
  //
@@ -394,7 +408,7 @@ const $ = x(
394
408
  // card, so the card's own border does not show through it. The
395
409
  // translate is applied inside Radix's rotation wrapper, so "up"
396
410
  // means "towards the card" on every side.
397
- /* @__PURE__ */ d(N.Arrow, { asChild: !0, width: 12, height: 6, children: /* @__PURE__ */ d(
411
+ /* @__PURE__ */ d(k.Arrow, { asChild: !0, width: 12, height: 6, children: /* @__PURE__ */ d(
398
412
  "svg",
399
413
  {
400
414
  viewBox: "0 0 12 6",
@@ -410,8 +424,8 @@ const $ = x(
410
424
  ) });
411
425
  }
412
426
  );
413
- $.displayName = "HoverCard.Content";
414
- const L = x(({ className: e, ...t }, o) => /* @__PURE__ */ d(
427
+ ee.displayName = "HoverCard.Content";
428
+ const te = I(({ className: e, ...t }, o) => /* @__PURE__ */ d(
415
429
  "div",
416
430
  {
417
431
  ref: o,
@@ -420,8 +434,8 @@ const L = x(({ className: e, ...t }, o) => /* @__PURE__ */ d(
420
434
  ...t
421
435
  }
422
436
  ));
423
- L.displayName = "HoverCard.Media";
424
- const ee = x(({ className: e, ...t }, o) => /* @__PURE__ */ d(
437
+ te.displayName = "HoverCard.Media";
438
+ const re = I(({ className: e, ...t }, o) => /* @__PURE__ */ d(
425
439
  "p",
426
440
  {
427
441
  ref: o,
@@ -433,29 +447,29 @@ const ee = x(({ className: e, ...t }, o) => /* @__PURE__ */ d(
433
447
  ...t
434
448
  }
435
449
  ));
436
- ee.displayName = "HoverCard.Eyebrow";
437
- const te = x(
438
- ({ as: e = "h3", id: t, className: o, ...c }, l) => {
439
- const g = de(), p = t ?? g, { setHeadingId: f } = H(Q), I = H(E);
440
- return P(() => (f(p), () => f(void 0)), [p, f]), /* @__PURE__ */ d(
450
+ re.displayName = "HoverCard.Eyebrow";
451
+ const se = I(
452
+ ({ as: e = "h3", id: t, className: o, ...u }, i) => {
453
+ const f = de(), c = t ?? f, { setHeadingId: v } = H(Y), T = H(X);
454
+ return P(() => (v(c), () => v(void 0)), [c, v]), /* @__PURE__ */ d(
441
455
  e,
442
456
  {
443
- ref: l,
444
- id: p,
457
+ ref: i,
458
+ id: c,
445
459
  "data-slot": "heading",
446
460
  className: [
447
461
  "type-title-item ds:leading-snug ds:break-words",
448
- I === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-md)]" : "",
462
+ T === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-md)]" : "",
449
463
  o
450
464
  ].filter(Boolean).join(" "),
451
- ...c
465
+ ...u
452
466
  }
453
467
  );
454
468
  }
455
469
  );
456
- te.displayName = "HoverCard.Heading";
457
- const re = x(({ className: e, ...t }, o) => {
458
- const c = H(E);
470
+ se.displayName = "HoverCard.Heading";
471
+ const oe = I(({ className: e, ...t }, o) => {
472
+ const u = H(X);
459
473
  return /* @__PURE__ */ d(
460
474
  "div",
461
475
  {
@@ -464,16 +478,16 @@ const re = x(({ className: e, ...t }, o) => {
464
478
  className: [
465
479
  "type-body-sm ds:text-[var(--muted-foreground)]",
466
480
  "ds:mt-[var(--spacing-xs)]",
467
- c === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "",
481
+ u === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "",
468
482
  e
469
483
  ].filter(Boolean).join(" "),
470
484
  ...t
471
485
  }
472
486
  );
473
487
  });
474
- re.displayName = "HoverCard.Body";
475
- const se = x(({ className: e, ...t }, o) => {
476
- const c = H(E);
488
+ oe.displayName = "HoverCard.Body";
489
+ const ne = I(({ className: e, ...t }, o) => {
490
+ const u = H(X);
477
491
  return /* @__PURE__ */ d(
478
492
  "div",
479
493
  {
@@ -483,34 +497,34 @@ const se = x(({ className: e, ...t }, o) => {
483
497
  "ds:flex ds:flex-wrap ds:items-center ds:justify-end",
484
498
  "ds:gap-[var(--spacing-sm)]",
485
499
  "ds:border-t ds:border-[color:var(--card-border)]",
486
- c === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]" : "ds:mt-[var(--spacing-md)] ds:pt-[var(--spacing-md)]",
500
+ u === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]" : "ds:mt-[var(--spacing-md)] ds:pt-[var(--spacing-md)]",
487
501
  e
488
502
  ].filter(Boolean).join(" "),
489
503
  ...t
490
504
  }
491
505
  );
492
506
  });
493
- se.displayName = "HoverCard.Footer";
494
- function xe() {
507
+ ne.displayName = "HoverCard.Footer";
508
+ function Ne() {
495
509
  const { cancelClose: e, closeWithDelay: t } = H(B);
496
510
  return { cancelClose: e, closeWithDelay: t };
497
511
  }
498
- const Ie = Object.assign(K, {
499
- Root: K,
500
- Trigger: Z,
512
+ const Oe = Object.assign(U, {
513
+ Root: U,
514
+ Trigger: L,
501
515
  // Anchor the card to an arbitrary element when a trigger button is
502
516
  // unsuitable, such as a calendar grid cell.
503
- Anchor: _,
504
- Content: $,
505
- Media: L,
506
- Eyebrow: ee,
507
- Heading: te,
508
- Body: re,
509
- Footer: se
517
+ Anchor: K,
518
+ Content: ee,
519
+ Media: te,
520
+ Eyebrow: re,
521
+ Heading: se,
522
+ Body: oe,
523
+ Footer: ne
510
524
  });
511
525
  export {
512
- Ie as H,
513
- fe as h,
514
- xe as u
526
+ Oe as H,
527
+ me as h,
528
+ Ne as u
515
529
  };
516
- //# sourceMappingURL=hover-card-BnTueNS2.js.map
530
+ //# sourceMappingURL=hover-card-U_ZYoh1n.js.map