@alfadocs/ui-kit 1.57.0 → 1.59.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 (378) hide show
  1. package/dist/_chunks/{actions-cell-renderer-Dj1ZkvJj.js → actions-cell-renderer-KoO3EYrZ.js} +4 -4
  2. package/dist/_chunks/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-ZKhDxlfw.js → agenda-tray-D3GH9t3T.js} +3 -3
  4. package/dist/_chunks/{ai-credits-notice-ktklr8fy.js → ai-credits-notice-DAxBt_wr.js} +11 -11
  5. package/dist/_chunks/{ai-permission-notice-DyuEGwAt.js → ai-permission-notice-htJegWcH.js} +2 -2
  6. package/dist/_chunks/{ai-prompt-input-Beh-O_rJ.js → ai-prompt-input-DRNqTCSK.js} +3 -3
  7. package/dist/_chunks/{alia-sidebar-BBKBJCv6.js → alia-sidebar-bMVUsMmJ.js} +8 -8
  8. package/dist/_chunks/{anamnesis-card-BSlAhaoG.js → anamnesis-card-Bh7Tg6i-.js} +3 -3
  9. package/dist/_chunks/{anamnesis-summary-card-2YfIYY2j.js → anamnesis-summary-card-cCj7LPh3.js} +2 -2
  10. package/dist/_chunks/{anamnesis-summary-rows-CCQ62mMN.js → anamnesis-summary-rows-D9cFUeXk.js} +14 -14
  11. package/dist/_chunks/{antenatal-schedule-timeline-Kf2Yg8uo.js → antenatal-schedule-timeline-CfNFrej5.js} +2 -2
  12. package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
  13. package/dist/_chunks/{appointment-card-Dh3fAcyf.js → appointment-card-BXQUZlAJ.js} +2 -2
  14. package/dist/_chunks/{appointment-peek-WvNbE4JG.js → appointment-peek-drkQF54M.js} +4 -4
  15. package/dist/_chunks/{appointment-timeline-Z0494xO-.js → appointment-timeline-C3mTzaUm.js} +5 -5
  16. package/dist/_chunks/{appointment-tray-CyI_p3zU.js → appointment-tray-CUBBT4mL.js} +4 -4
  17. package/dist/_chunks/{audio-recorder-DWKKjGPt.js → audio-recorder-B1TpJoMu.js} +4 -4
  18. package/dist/_chunks/{balance-badge-cell-CII3SDmR.js → balance-badge-cell-BC92nTi9.js} +5 -5
  19. package/dist/_chunks/{bishop-score-BxA20j9T.js → bishop-score-BOjlxLzL.js} +4 -4
  20. package/dist/_chunks/{bmi-calculator-C0UTxB7R.js → bmi-calculator-JNiTHdYJ.js} +3 -3
  21. package/dist/_chunks/{booking-81WnKDsH.js → booking-BdWwr_NM.js} +8 -8
  22. package/dist/_chunks/{button-Bn16lcFM.js → button-CnUVJg1Y.js} +71 -61
  23. package/dist/_chunks/{button-group-CWlwR-A5.js → button-group-DLqAoowT.js} +73 -73
  24. package/dist/_chunks/{calculator-dialog-CzQv03p0.js → calculator-dialog-BUfaWqvu.js} +2 -2
  25. package/dist/_chunks/{calendar-6-24PQ1u.js → calendar-KihOHLCs.js} +2 -2
  26. package/dist/_chunks/{calendar-workspace-D5-k_9zE.js → calendar-workspace-DD378Xg8.js} +30 -30
  27. package/dist/_chunks/{card-DMO2nkt4.js → card-BA4Ig_kn.js} +9 -8
  28. package/dist/_chunks/{care-plan-card-DxrRLRdW.js → care-plan-card-Cd1En8-p.js} +2 -2
  29. package/dist/_chunks/{care-plan-entry-card-0rpR-4Te.js → care-plan-entry-card-FIYdF44t.js} +2 -2
  30. package/dist/_chunks/{care-plan-header-BMwZIgHJ.js → care-plan-header-DgPAJWS4.js} +2 -2
  31. package/dist/_chunks/{carousel.agent-D3xthzTf.js → carousel.agent-C7MXzwUi.js} +2 -2
  32. package/dist/_chunks/{chart-DQ5GxqgT.js → chart-0jK6B2ry.js} +407 -393
  33. package/dist/_chunks/{chat-input-PtrSu1ZC.js → chat-input-1c4k4-uk.js} +2 -2
  34. package/dist/_chunks/{chat-message-CmGUcajG.js → chat-message-Bv9eW1NW.js} +3 -3
  35. package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
  36. package/dist/_chunks/{clinical-note-card-hx939bvw.js → clinical-note-card-L6FVM9Gx.js} +2 -2
  37. package/dist/_chunks/{code-block-BQgK70mO.js → code-block-DWVvOrUF.js} +2 -2
  38. package/dist/_chunks/{connection-status-ncTjUPt6.js → connection-status-D-Zeqpr3.js} +4 -4
  39. package/dist/_chunks/{contact-card-fHBMwEsx.js → contact-card-C8rEsC4Q.js} +2 -2
  40. package/dist/_chunks/{contact-profile-card-CMyBYgRR.js → contact-profile-card-DJe2ld0g.js} +3 -3
  41. package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-DgS2snUz.js} +3 -3
  42. package/dist/_chunks/{copy-field-CvTIuA_p.js → copy-field-CY1f0k7O.js} +2 -2
  43. package/dist/_chunks/{cycle-calculator-Cww9DzIa.js → cycle-calculator-sOOESGEG.js} +3 -3
  44. package/dist/_chunks/dashboard-grid-SAGjktTs.js +933 -0
  45. package/dist/_chunks/{data-table-fAMTeAjM.js → data-table-DjDuXaQB.js} +11 -11
  46. package/dist/_chunks/{data-table-tabs-CHYAAeHy.js → data-table-tabs-BsCll8sH.js} +3 -3
  47. package/dist/_chunks/{description-list-DkLeHiew.js → description-list-ZWlFfbOy.js} +2 -2
  48. package/dist/_chunks/{dev-bypass-button-BhGn6evf.js → dev-bypass-button-m-eXU2PU.js} +2 -2
  49. package/dist/_chunks/{dialog-Dn-iQ0Jp.js → dialog-D6fkpRc4.js} +72 -61
  50. package/dist/_chunks/{document-preview-CHGGG0l_.js → document-preview-E6od-Yy0.js} +4 -4
  51. package/dist/_chunks/{document-scanner-CQS9kv84.js → document-scanner-DDOMMswN.js} +2 -2
  52. package/dist/_chunks/{dropdown-menu-BQSNVp4x.js → dropdown-menu-D1we7oAY.js} +134 -133
  53. package/dist/_chunks/{due-date-calculator-D_qFUiHp.js → due-date-calculator-rtMADvJ8.js} +4 -4
  54. package/dist/_chunks/{editable-currency-cell-renderer-CmYcMuwi.js → editable-currency-cell-renderer-DTtF6IIr.js} +3 -3
  55. package/dist/_chunks/{editable-description-DuJlvltc.js → editable-description-CriawIum.js} +3 -3
  56. package/dist/_chunks/{editor-overlay-NMxzcO6J.js → editor-overlay-CbFUYsVk.js} +2 -2
  57. package/dist/_chunks/{empty-state-gNG3qYCX.js → empty-state-BN_R5AzQ.js} +61 -59
  58. package/dist/_chunks/{entity-summary-CWcCSThK.js → entity-summary-CoCUJe3N.js} +4 -4
  59. package/dist/_chunks/{error-boundary-ChowhO6w.js → error-boundary-BlwcM1KR.js} +2 -2
  60. package/dist/_chunks/{error-page-CpuYbpOB.js → error-page-B0ER6tPK.js} +2 -2
  61. package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-BunF1rjI.js} +7 -7
  62. package/dist/_chunks/{fetal-weight-BWaqqjea.js → fetal-weight-67yvef3S.js} +3 -3
  63. package/dist/_chunks/{field-array-BO-kaKFK.js → field-array-BVitwPIt.js} +3 -3
  64. package/dist/_chunks/{file-manager-CFsL1KVt.js → file-manager-YXtUu76I.js} +9 -9
  65. package/dist/_chunks/{finished-terminal-CPSDrIMB.js → finished-terminal-DdLHDe_5.js} +3 -3
  66. package/dist/_chunks/{fiscal-code-input-DesSQ6Fh.js → fiscal-code-input-Dsa1M6VK.js} +2 -2
  67. package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-C2ibWCZT.js} +4 -4
  68. package/dist/_chunks/{freemium-paywall-DIKuhX8b.js → freemium-paywall-C8CXWbhO.js} +27 -27
  69. package/dist/_chunks/{gestational-age-calculator-CZi43xKG.js → gestational-age-calculator-DT8XDFVK.js} +5 -5
  70. package/dist/_chunks/{hcg-doubling-Ccvh7OaU.js → hcg-doubling-BxggoYNV.js} +3 -3
  71. package/dist/_chunks/{header-B9552pLh.js → header-C0XQZtu6.js} +2 -2
  72. package/dist/_chunks/{header-settings-BMcCx2LC.js → header-settings-BJ6M2p9Q.js} +4 -4
  73. package/dist/_chunks/{heatmap-BEeOThkW.js → heatmap-COoukTUe.js} +6 -6
  74. package/dist/_chunks/{help-me-write-templates-BUoYGo6f.js → help-me-write-templates-DpcMweG1.js} +7 -7
  75. package/dist/_chunks/{hover-card-U_ZYoh1n.js → hover-card-s2qD4RAz.js} +2 -2
  76. package/dist/_chunks/{icon-button-COX76Jdj.js → icon-button-CsOGhuRB.js} +2 -2
  77. package/dist/_chunks/{icon-button-group-C5hhI-R5.js → icon-button-group-Cap4-Idv.js} +3 -3
  78. package/dist/_chunks/{icon-picker-C86lQTIA.js → icon-picker-BbO2FB4y.js} +4 -4
  79. package/dist/_chunks/{image-cropper-D0kkQ4lG.js → image-cropper-DXqCUezS.js} +2 -2
  80. package/dist/_chunks/{info-tip-CJpNpzZe.js → info-tip-CJqR9fhi.js} +2 -2
  81. package/dist/_chunks/{insert-result-C1C2OCc3.js → insert-result-BUEtHFMg.js} +2 -2
  82. package/dist/_chunks/{key-value-pair-BNNITp6S.js → key-value-pair-BN5lWXcB.js} +2 -2
  83. package/dist/_chunks/{kit-extensions-DYVxWcqv.js → kit-extensions-BVtvnev_.js} +6 -6
  84. package/dist/_chunks/{link-cell-renderer-CxW_oLa5.js → link-cell-renderer-BZmRw_Yi.js} +6 -6
  85. package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
  86. package/dist/_chunks/{locale-picker-BGfrZyTw.js → locale-picker-DVWHnuDN.js} +3 -3
  87. package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-DQioAtdz.js} +4 -4
  88. package/dist/_chunks/{map-view-CO2v0hfp.js → map-view-9Ro_P8O8.js} +2 -2
  89. package/dist/_chunks/marketplace-app-shell-DnuHxuoE.js +613 -0
  90. package/dist/_chunks/{message-card-DVo8-dOm.js → message-card-BNoaKInS.js} +3 -3
  91. package/dist/_chunks/{message-tray-QKQutwxj.js → message-tray-D4R0boMJ.js} +5 -5
  92. package/dist/_chunks/{muscle-scheme-BDgIaGeW.js → muscle-scheme-YoN3rYXV.js} +2 -2
  93. package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
  94. package/dist/_chunks/{notes-panel-Cm4pttpl.js → notes-panel-0Wots8rp.js} +7 -7
  95. package/dist/_chunks/{notification-card-BGCIL6Mu.js → notification-card-DRLmYlL8.js} +3 -3
  96. package/dist/_chunks/{notification-tray-C5VtbGjd.js → notification-tray-qrSc9Fcs.js} +5 -5
  97. package/dist/_chunks/{operator-hero-Dyd2IGbR.js → operator-hero-C_Khr5IU.js} +2 -2
  98. package/dist/_chunks/{optical-prescription-Do6e3wfs.js → optical-prescription-B0ap3kGl.js} +3 -3
  99. package/dist/_chunks/{pagination-BR1_GfD_.js → pagination-DvKGrsXu.js} +146 -142
  100. package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-Bs0WhwR9.js} +62 -48
  101. package/dist/_chunks/{patient-details-99kEdtc5.js → patient-details-C6buDwuI.js} +4 -4
  102. package/dist/_chunks/{patient-field-row-DkxY13T6.js → patient-field-row-CKb4FIaM.js} +9 -9
  103. package/dist/_chunks/{patient-search-D5xlXmd2.js → patient-search-Cgv8Pjsc.js} +4 -4
  104. package/dist/_chunks/{patient-summary-card-opdyfeW2.js → patient-summary-card-DWx0emu2.js} +6 -6
  105. package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-BAJwtVCs.js} +4 -4
  106. package/dist/_chunks/{payment-request-card-DAniJNLX.js → payment-request-card-BNiZqIzT.js} +4 -4
  107. package/dist/_chunks/{periodontal-chart-DD5C0M3l.js → periodontal-chart-DMWiP5Ti.js} +2 -2
  108. package/dist/_chunks/{periodontal-chart-card-CxdXvsPU.js → periodontal-chart-card-D2ZFjN7G.js} +3 -3
  109. package/dist/_chunks/{periodontal-diagnosis-D-PJv7KS.js → periodontal-diagnosis-6wybid_W.js} +2 -2
  110. package/dist/_chunks/{periodontal-risk-chart-D3DjIymT.js → periodontal-risk-chart-CgLwBj5c.js} +2 -2
  111. package/dist/_chunks/{popover-BG75rYjN.js → popover-CltTC2Rg.js} +2 -2
  112. package/dist/_chunks/popup-region-qz_5_A0V.js +79 -0
  113. package/dist/_chunks/{practice-profile-hero-C8RPACCi.js → practice-profile-hero-DPbvYfCs.js} +2 -2
  114. package/dist/_chunks/{practice-results-CfRkjzsI.js → practice-results-PINvX-1g.js} +6 -6
  115. package/dist/_chunks/{pregnancy-dating-BFzv9g1N.js → pregnancy-dating-BNSWXA0p.js} +5 -5
  116. package/dist/_chunks/{pregnancy-weight-gain-CUUrBTBo.js → pregnancy-weight-gain-CI7R6sA6.js} +3 -3
  117. package/dist/_chunks/{privacy-lock-WkUgwIj_.js → privacy-lock-CqLxFiLE.js} +3 -3
  118. package/dist/_chunks/{privacy-mask-ChIjELJC.js → privacy-mask-CUnJv35j.js} +3 -3
  119. package/dist/_chunks/{product-hub-panel-DlVRK7Ue.js → product-hub-panel-MbiHZwjC.js} +4 -4
  120. package/dist/_chunks/{public-header.agent-BctevbuY.js → public-header.agent-1MZVDYY1.js} +3 -3
  121. package/dist/_chunks/{radiograph-panel.agent-DyqbTECc.js → radiograph-panel.agent-CpKvvZIU.js} +6 -6
  122. package/dist/_chunks/{registration-form-BlTzYywa.js → registration-form-JYravsvu.js} +7 -7
  123. package/dist/_chunks/{reviews-panel-CDcK6W3b.js → reviews-panel-B1Xirvh4.js} +5 -5
  124. package/dist/_chunks/{rich-text-editor-DTnNZ4Ff.js → rich-text-editor-CZXnqI3-.js} +11 -11
  125. package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
  126. package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
  127. package/dist/_chunks/{section-card-ChJdOlBU.js → section-card-D5nWiTcK.js} +2 -2
  128. package/dist/_chunks/{select-Ce5RMk93.js → select-k4gBdS8N.js} +249 -224
  129. package/dist/_chunks/{session-countdown-CBINYw8H.js → session-countdown-DAyI9Wye.js} +2 -2
  130. package/dist/_chunks/{sheet-8qsiMoUI.js → sheet-D_bERXP2.js} +8 -8
  131. package/dist/_chunks/sidebar-D_S2-SXH.js +2165 -0
  132. package/dist/_chunks/{sign-in-with-alfadocs-button-D91_x8DX.js → sign-in-with-alfadocs-button-WfdfqQ8O.js} +2 -2
  133. package/dist/_chunks/{signature-request-DRuYAG5I.js → signature-request-BZIs36nH.js} +7 -7
  134. package/dist/_chunks/{signed-out-frame-AhMsNW1r.js → signed-out-frame-BR5sJSNX.js} +4 -4
  135. package/dist/_chunks/{slot-grid-sVZriOiQ.js → slot-grid-JU--9C6W.js} +4 -4
  136. package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
  137. package/dist/_chunks/{streaming-text-BKZmbW1Q.js → streaming-text-COuXesoR.js} +2 -2
  138. package/dist/_chunks/{tab-bar-Bm-rJB7Y.js → tab-bar-5GppbMGc.js} +2 -2
  139. package/dist/_chunks/{tabs-I2wf_nC7.js → tabs-2x3L13jn.js} +3 -3
  140. package/dist/_chunks/{task-card-BMXMh3uE.js → task-card-D9ngXO7p.js} +2 -2
  141. package/dist/_chunks/{task-editor-NkcopDna.js → task-editor-B7xb-mMs.js} +11 -10
  142. package/dist/_chunks/{task-tray-DsBO-AaP.js → task-tray-BAW_wbTO.js} +4 -4
  143. package/dist/_chunks/{tasks-panel-CdgZQQgG.js → tasks-panel-DQvN3TiB.js} +7 -7
  144. package/dist/_chunks/{theme-toggle-PpFcFoYK.js → theme-toggle-CfjLDUfK.js} +4 -4
  145. package/dist/_chunks/{timeline-DG8wAlAx.js → timeline-DEIuHrWz.js} +2 -2
  146. package/dist/_chunks/{toast-CPqguP7G.js → toast-2y0czYHr.js} +2 -2
  147. package/dist/_chunks/{token-insert-menu-B-pWFDKX.js → token-insert-menu-BzNAHiND.js} +3 -3
  148. package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-DQ5qTv4l.js} +115 -114
  149. package/dist/_chunks/{tooth-scheme-BAO_voUO.js → tooth-scheme-CLyS9UUW.js} +3 -3
  150. package/dist/_chunks/{unit-converter-DS4UB_59.js → unit-converter-W62N99Mw.js} +3 -3
  151. package/dist/_chunks/{use-appointment-details-read-CfFQNOF_.js → use-appointment-details-read-Ba1DBPr7.js} +18 -18
  152. package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
  153. package/dist/_chunks/{voice-control-panel-BKbgb7FM.js → voice-control-panel-p7WMTj4D.js} +6 -6
  154. package/dist/_chunks/{warning-stack-ubD0IZCy.js → warning-stack-DGPuJNVD.js} +3 -3
  155. package/dist/_chunks/{widget-picker-rBA7MR5P.js → widget-picker-CkhoG4Rj.js} +80 -57
  156. package/dist/_chunks/{workflow-map-Demlpy39.js → workflow-map-DFuVff8U.js} +7 -7
  157. package/dist/_chunks/{workflow-status-BT27_fQp.js → workflow-status-Dc_CyEz5.js} +2 -2
  158. package/dist/agent-catalog.json +2 -2
  159. package/dist/agent-i18n/en.json +1 -1
  160. package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
  161. package/dist/components/_shared/popup-region.d.ts +28 -0
  162. package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
  163. package/dist/components/address-fields/index.js +1 -1
  164. package/dist/components/agenda-tray/index.js +1 -1
  165. package/dist/components/ai-credits-notice/index.js +1 -1
  166. package/dist/components/ai-permission-notice/index.js +1 -1
  167. package/dist/components/ai-prompt-input/index.js +1 -1
  168. package/dist/components/anamnesis-card/index.js +1 -1
  169. package/dist/components/anamnesis-summary-card/index.js +1 -1
  170. package/dist/components/app-frame/index.js +1 -1
  171. package/dist/components/appointment-card/index.js +2 -2
  172. package/dist/components/appointment-details-panel/index.js +1 -1
  173. package/dist/components/appointment-peek/index.js +1 -1
  174. package/dist/components/appointment-timeline/index.js +1 -1
  175. package/dist/components/audio-recorder/index.js +1 -1
  176. package/dist/components/bishop-score/index.js +1 -1
  177. package/dist/components/bmi-calculator/index.js +1 -1
  178. package/dist/components/booking/index.js +1 -1
  179. package/dist/components/button/index.js +2 -2
  180. package/dist/components/button-group/index.js +1 -1
  181. package/dist/components/calculator-dialog/index.js +1 -1
  182. package/dist/components/calendar/index.js +1 -1
  183. package/dist/components/card/index.js +1 -1
  184. package/dist/components/care-plan-card/index.js +1 -1
  185. package/dist/components/care-plan-entry-card/index.js +1 -1
  186. package/dist/components/care-plan-header/index.js +1 -1
  187. package/dist/components/carousel/index.js +1 -1
  188. package/dist/components/chart/index.js +1 -1
  189. package/dist/components/chat-input/index.js +1 -1
  190. package/dist/components/chat-message/index.js +1 -1
  191. package/dist/components/city-input/index.js +1 -1
  192. package/dist/components/clinical-note-card/index.js +1 -1
  193. package/dist/components/connection-status/index.js +1 -1
  194. package/dist/components/contact-card/index.js +1 -1
  195. package/dist/components/contact-profile-card/index.js +1 -1
  196. package/dist/components/control-room-rail/index.js +1 -1
  197. package/dist/components/copy-field/index.js +1 -1
  198. package/dist/components/cycle-calculator/index.js +1 -1
  199. package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
  200. package/dist/components/dashboard-grid/index.js +1 -1
  201. package/dist/components/data-table/index.js +4 -4
  202. package/dist/components/data-table-tabs/index.js +1 -1
  203. package/dist/components/description-list/index.js +1 -1
  204. package/dist/components/dev-bypass-button/index.js +1 -1
  205. package/dist/components/dialog/index.js +1 -1
  206. package/dist/components/document-preview/index.js +1 -1
  207. package/dist/components/document-scanner/index.js +1 -1
  208. package/dist/components/dropdown-menu/index.js +1 -1
  209. package/dist/components/due-date-calculator/index.js +2 -2
  210. package/dist/components/editable-description/index.js +1 -1
  211. package/dist/components/editor-overlay/index.js +1 -1
  212. package/dist/components/empty-state/empty-state.d.ts +8 -0
  213. package/dist/components/empty-state/index.d.ts +1 -1
  214. package/dist/components/empty-state/index.js +1 -1
  215. package/dist/components/entity-summary/index.js +1 -1
  216. package/dist/components/error-boundary/index.js +1 -1
  217. package/dist/components/face-scheme/index.js +1 -1
  218. package/dist/components/fetal-weight/index.js +1 -1
  219. package/dist/components/field-array/index.js +1 -1
  220. package/dist/components/file-manager/index.js +1 -1
  221. package/dist/components/finished-terminal/index.js +1 -1
  222. package/dist/components/fiscal-code-input/index.js +1 -1
  223. package/dist/components/freemium-paywall/index.js +1 -1
  224. package/dist/components/gestational-age-calculator/index.js +1 -1
  225. package/dist/components/hcg-doubling/index.js +1 -1
  226. package/dist/components/header/index.js +1 -1
  227. package/dist/components/header-settings/index.js +1 -1
  228. package/dist/components/heatmap/index.js +1 -1
  229. package/dist/components/hover-card/index.js +1 -1
  230. package/dist/components/icon-button/index.js +1 -1
  231. package/dist/components/icon-button-group/index.js +1 -1
  232. package/dist/components/icon-picker/index.js +1 -1
  233. package/dist/components/image-cropper/index.js +1 -1
  234. package/dist/components/info-tip/index.js +1 -1
  235. package/dist/components/key-value-pair/index.js +1 -1
  236. package/dist/components/list/index.js +1 -1
  237. package/dist/components/locale-picker/index.js +1 -1
  238. package/dist/components/map-view/index.js +1 -1
  239. package/dist/components/message-card/index.js +1 -1
  240. package/dist/components/message-tray/index.js +1 -1
  241. package/dist/components/muscle-scheme/index.js +1 -1
  242. package/dist/components/notes-panel/index.js +1 -1
  243. package/dist/components/notification-card/index.js +1 -1
  244. package/dist/components/notification-tray/index.js +1 -1
  245. package/dist/components/operator-hero/index.js +1 -1
  246. package/dist/components/optical-prescription/index.js +1 -1
  247. package/dist/components/pagination/index.js +1 -1
  248. package/dist/components/panel-subview/index.js +1 -1
  249. package/dist/components/patient-details/index.js +1 -1
  250. package/dist/components/patient-search/index.js +1 -1
  251. package/dist/components/patient-summary-card/index.js +1 -1
  252. package/dist/components/patient-table/index.js +1 -1
  253. package/dist/components/payment-card/index.js +1 -1
  254. package/dist/components/periodontal-chart/index.js +1 -1
  255. package/dist/components/periodontal-chart-card/index.js +1 -1
  256. package/dist/components/periodontal-diagnosis/index.js +1 -1
  257. package/dist/components/periodontal-risk-chart/index.js +1 -1
  258. package/dist/components/popover/index.js +1 -1
  259. package/dist/components/practice-profile-hero/index.js +1 -1
  260. package/dist/components/practice-results/index.js +1 -1
  261. package/dist/components/pregnancy-dating/index.js +1 -1
  262. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  263. package/dist/components/privacy-lock/index.js +1 -1
  264. package/dist/components/product-hub-tray/index.js +1 -1
  265. package/dist/components/public-header/index.js +1 -1
  266. package/dist/components/radiograph-panel/index.js +1 -1
  267. package/dist/components/reviews-panel/index.js +1 -1
  268. package/dist/components/rich-text-editor/index.js +2 -2
  269. package/dist/components/scroll-area/index.js +1 -1
  270. package/dist/components/scroll-area/scroll-area.d.ts +6 -5
  271. package/dist/components/search-bar/index.js +1 -1
  272. package/dist/components/search-bar/search-bar.d.ts +1 -1
  273. package/dist/components/section-card/index.js +1 -1
  274. package/dist/components/select/index.js +1 -1
  275. package/dist/components/select/select.d.ts +1 -1
  276. package/dist/components/session-countdown/index.js +1 -1
  277. package/dist/components/sheet/index.js +1 -1
  278. package/dist/components/sidebar/index.d.ts +1 -1
  279. package/dist/components/sidebar/index.js +1 -1
  280. package/dist/components/sidebar/sidebar-move.d.ts +88 -0
  281. package/dist/components/sidebar/sidebar.d.ts +40 -1
  282. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  283. package/dist/components/skeleton-scheme/index.js +1 -1
  284. package/dist/components/slot-grid/index.js +1 -1
  285. package/dist/components/streaming-text/index.js +1 -1
  286. package/dist/components/tab-bar/index.js +1 -1
  287. package/dist/components/tabs/index.js +1 -1
  288. package/dist/components/task-card/index.js +1 -1
  289. package/dist/components/task-editor/index.js +1 -1
  290. package/dist/components/task-tray/index.js +1 -1
  291. package/dist/components/tasks-panel/index.js +1 -1
  292. package/dist/components/theme-toggle/index.js +1 -1
  293. package/dist/components/timeline/index.js +1 -1
  294. package/dist/components/toast/index.js +1 -1
  295. package/dist/components/token-insert-menu/index.js +1 -1
  296. package/dist/components/tool-rail/index.js +1 -1
  297. package/dist/components/tooth-scheme/index.js +1 -1
  298. package/dist/components/unit-converter/index.js +1 -1
  299. package/dist/components/voice-control-panel/index.js +1 -1
  300. package/dist/components/warning-stack/index.js +1 -1
  301. package/dist/components/widget-picker/index.js +1 -1
  302. package/dist/components/workflow/index.js +1 -1
  303. package/dist/components/workflow-status/index.js +1 -1
  304. package/dist/host-compat.css +2 -1
  305. package/dist/i18n/locales/ar.d.ts +15 -0
  306. package/dist/i18n/locales/ar.js +16 -1
  307. package/dist/i18n/locales/de.d.ts +15 -0
  308. package/dist/i18n/locales/de.js +16 -1
  309. package/dist/i18n/locales/el.d.ts +15 -0
  310. package/dist/i18n/locales/el.js +16 -1
  311. package/dist/i18n/locales/en.d.ts +15 -0
  312. package/dist/i18n/locales/en.js +16 -1
  313. package/dist/i18n/locales/es.d.ts +15 -0
  314. package/dist/i18n/locales/es.js +16 -1
  315. package/dist/i18n/locales/fr.d.ts +15 -0
  316. package/dist/i18n/locales/fr.js +16 -1
  317. package/dist/i18n/locales/hi.d.ts +15 -0
  318. package/dist/i18n/locales/hi.js +16 -1
  319. package/dist/i18n/locales/it.d.ts +15 -0
  320. package/dist/i18n/locales/it.js +16 -1
  321. package/dist/i18n/locales/ja.d.ts +15 -0
  322. package/dist/i18n/locales/ja.js +16 -1
  323. package/dist/i18n/locales/nl.d.ts +15 -0
  324. package/dist/i18n/locales/nl.js +16 -1
  325. package/dist/i18n/locales/pl.d.ts +15 -0
  326. package/dist/i18n/locales/pl.js +16 -1
  327. package/dist/i18n/locales/pt.d.ts +15 -0
  328. package/dist/i18n/locales/pt.js +16 -1
  329. package/dist/i18n/locales/ro.d.ts +15 -0
  330. package/dist/i18n/locales/ro.js +16 -1
  331. package/dist/i18n/locales/ru.d.ts +15 -0
  332. package/dist/i18n/locales/ru.js +16 -1
  333. package/dist/i18n/locales/sq.d.ts +15 -0
  334. package/dist/i18n/locales/sq.js +16 -1
  335. package/dist/i18n/locales/sv.d.ts +15 -0
  336. package/dist/i18n/locales/sv.js +16 -1
  337. package/dist/i18n/locales/tr.d.ts +15 -0
  338. package/dist/i18n/locales/tr.js +16 -1
  339. package/dist/i18n/locales/zh.d.ts +15 -0
  340. package/dist/i18n/locales/zh.js +16 -1
  341. package/dist/index.js +147 -147
  342. package/dist/locales/ar.json +16 -1
  343. package/dist/locales/de.json +16 -1
  344. package/dist/locales/el.json +16 -1
  345. package/dist/locales/en.json +16 -1
  346. package/dist/locales/es.json +16 -1
  347. package/dist/locales/fr.json +16 -1
  348. package/dist/locales/hi.json +16 -1
  349. package/dist/locales/it.json +16 -1
  350. package/dist/locales/ja.json +16 -1
  351. package/dist/locales/nl.json +16 -1
  352. package/dist/locales/pl.json +16 -1
  353. package/dist/locales/pt.json +16 -1
  354. package/dist/locales/ro.json +16 -1
  355. package/dist/locales/ru.json +16 -1
  356. package/dist/locales/sq.json +16 -1
  357. package/dist/locales/sv.json +16 -1
  358. package/dist/locales/tr.json +16 -1
  359. package/dist/locales/zh.json +16 -1
  360. package/dist/patterns/alia-assistant/index.js +1 -1
  361. package/dist/patterns/anamnesis/index.js +1 -1
  362. package/dist/patterns/calendar/index.js +1 -1
  363. package/dist/patterns/error-page/index.js +1 -1
  364. package/dist/patterns/forgot-password-form/index.js +1 -1
  365. package/dist/patterns/help-me-write-templates/index.js +1 -1
  366. package/dist/patterns/login-form/index.js +1 -1
  367. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  368. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +34 -9
  369. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  370. package/dist/patterns/registration-form/index.js +1 -1
  371. package/dist/patterns/signature-request/index.js +1 -1
  372. package/dist/patterns/signed-out-frame/index.js +1 -1
  373. package/dist/tokens.css +6 -3
  374. package/package.json +1 -1
  375. package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
  376. package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js +0 -555
  377. package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
  378. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
@@ -3,7 +3,7 @@ import { forwardRef as X, useId as Y, useMemo as v, useState as N, useEffect as
3
3
  import { c as p } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as V } from "react-i18next";
5
5
  import { A as te, M as se, a as ae, P as oe, b as ne, u as re, c as j, d as ie } from "./index.modern-BeRXQVdc.js";
6
- import { B as le } from "./button-Bn16lcFM.js";
6
+ import { B as le } from "./button-CnUVJg1Y.js";
7
7
  import { S as de } from "./skeleton-B1KTdJ4N.js";
8
8
  import { V as ce } from "./visually-hidden-BHxEUGyT.js";
9
9
  import { u as pe } from "./registry-DvAUVLHh.js";
@@ -471,4 +471,4 @@ ke.displayName = "MapView";
471
471
  export {
472
472
  ke as M
473
473
  };
474
- //# sourceMappingURL=map-view-CO2v0hfp.js.map
474
+ //# sourceMappingURL=map-view-9Ro_P8O8.js.map
@@ -0,0 +1,613 @@
1
+ import { jsxs as n, jsx as e, Fragment as L } from "react/jsx-runtime";
2
+ import { forwardRef as H, useState as ue, useCallback as fe, useEffect as W, useRef as _ } from "react";
3
+ import { useTranslation as B, Trans as he } from "react-i18next";
4
+ import { c as u } from "./index-D2ZczOXr.js";
5
+ import { A as K } from "./app-frame-CqmDh2v5.js";
6
+ import { A as Q } from "./avatar-WZY3eGE7.js";
7
+ import { A as ve } from "./alert-BhCstf2h.js";
8
+ import { C as q } from "./card-BA4Ig_kn.js";
9
+ import { D as p } from "./dropdown-menu-D1we7oAY.js";
10
+ import { T as ge } from "./tab-bar-5GppbMGc.js";
11
+ import { a as F, H as xe, g as be, f as U, e as ke, c as Ne, d as ye } from "./header-C0XQZtu6.js";
12
+ import { H as we } from "./header-settings-BJ6M2p9Q.js";
13
+ import { S as Ce } from "./sign-in-with-alfadocs-button-WfdfqQ8O.js";
14
+ import { S as Se, a as Z, u as Ae, g as Y, b as G, j as Ee, k as ze, i as Me, h as J } from "./sidebar-D_S2-SXH.js";
15
+ import { N as Te } from "./navigation-dismiss-B1mcW1CT.js";
16
+ import { T as Ie } from "./theme-root-BOO73p5t.js";
17
+ import { a as X } from "./tooltip-Cp-PLePW.js";
18
+ import { u as Le } from "./use-theme-CAuo6EYT.js";
19
+ import { u as He } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
20
+ import { u as Be } from "./use-media-query-CcAx5SMM.js";
21
+ import { A as De, L as Ve } from "./logo-hIsyVE96.js";
22
+ import { A as Oe } from "./Alfadocs_Logo_Mark-Z_b6ZI1g.js";
23
+ import { M as Re } from "./maximize-2-BYd2Kti7.js";
24
+ import { L as Pe } from "./log-out-oDS6zO5d.js";
25
+ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je = u(
26
+ [
27
+ "ds:[font-family:var(--font-serif)]",
28
+ "ds:font-semibold",
29
+ "ds:leading-none",
30
+ "ds:tracking-[0.01em]",
31
+ "ds:whitespace-nowrap",
32
+ // Forced-colors: drop the transparent text-fill and paint the label
33
+ // as solid CanvasText so it never disappears under Windows HCM —
34
+ // a gradient/transparent fill has no meaning there.
35
+ "ds:forced-colors:text-[CanvasText]",
36
+ "ds:forced-colors:[-webkit-text-fill-color:CanvasText]"
37
+ ],
38
+ {
39
+ variants: {
40
+ size: {
41
+ sm: "ds:text-[calc(var(--logo-size-sm)*0.95)]",
42
+ md: "ds:text-[calc(var(--logo-size-md)*0.95)]",
43
+ lg: "ds:text-[calc(var(--logo-size-lg)*0.95)]",
44
+ xl: "ds:text-[calc(var(--logo-size-xl)*0.95)]"
45
+ },
46
+ tone: {
47
+ // Brand gradient filled into the glyphs via background-clip:text.
48
+ // `--gradient-wordmark` rides the theme aliases, so it stays
49
+ // AA-safe and adapts per theme on its own (and flattens to a solid
50
+ // ink in the accessible / forced-colors blocks — see tokens).
51
+ gradient: [
52
+ "ds:italic",
53
+ "ds:bg-[image:var(--gradient-wordmark)]",
54
+ "ds:bg-clip-text",
55
+ "ds:text-transparent",
56
+ "ds:[-webkit-text-fill-color:transparent]"
57
+ ],
58
+ // Monochrome: solid currentColor ink, upright, no gradient — for
59
+ // print, single-colour work, and coloured chrome (e.g. app-shell
60
+ // headers) where the lockup must ride the surrounding ink.
61
+ solid: "ds:text-current"
62
+ }
63
+ },
64
+ defaultVariants: { size: "md", tone: "gradient" }
65
+ }
66
+ ), We = u("ds:whitespace-nowrap", {
67
+ variants: {
68
+ size: {
69
+ sm: "ds:[--lockup-unit:var(--logo-size-sm)]",
70
+ md: "ds:[--lockup-unit:var(--logo-size-md)]",
71
+ lg: "ds:[--lockup-unit:var(--logo-size-lg)]",
72
+ xl: "ds:[--lockup-unit:var(--logo-size-xl)]"
73
+ }
74
+ },
75
+ defaultVariants: { size: "md" }
76
+ }), C = H(
77
+ ({
78
+ name: s,
79
+ variant: t = "standard",
80
+ monochrome: a = !1,
81
+ tone: r = "auto",
82
+ size: d = "md",
83
+ className: i,
84
+ ...m
85
+ }, o) => {
86
+ const { t: l } = B("ui");
87
+ if (t === "maker") {
88
+ const c = r === "inherit", f = c ? "" : a ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", b = c ? "" : a ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", A = c ? "" : "ds:text-[color:var(--muted-foreground)]", k = c ? "" : "ds:text-[color:var(--foreground)]";
89
+ return /* @__PURE__ */ n(
90
+ "span",
91
+ {
92
+ ref: o,
93
+ role: "img",
94
+ "aria-label": l("productLockup.makerLabel", { name: s.trim() }),
95
+ className: We({ size: d, className: i }),
96
+ "data-component": "product-lockup",
97
+ ...m,
98
+ children: [
99
+ /* @__PURE__ */ e(
100
+ Oe,
101
+ {
102
+ "aria-hidden": !0,
103
+ className: `ds:inline-block ds:align-middle ds:me-[var(--spacing-sm)] ds:h-[calc(var(--lockup-unit)*0.88)] ds:w-auto ds:forced-colors:text-[CanvasText] ${f}`
104
+ }
105
+ ),
106
+ /* @__PURE__ */ e(
107
+ "span",
108
+ {
109
+ "aria-hidden": !0,
110
+ className: `ds:align-middle ds:[font-family:var(--font-serif)] ds:font-semibold ds:italic ds:leading-none ds:tracking-[0.01em] ${b} ds:text-[calc(var(--lockup-unit)*0.95)]`,
111
+ children: s
112
+ }
113
+ ),
114
+ /* @__PURE__ */ e(
115
+ "span",
116
+ {
117
+ "aria-hidden": !0,
118
+ className: `ds:align-text-top ds:ms-[var(--spacing-sm)] ds:inline-flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ${A}`,
119
+ children: /* @__PURE__ */ e(
120
+ he,
121
+ {
122
+ ns: "ui",
123
+ t: l,
124
+ i18nKey: "productLockup.attribution",
125
+ components: {
126
+ text: /* @__PURE__ */ e("span", { className: "ds:text-[calc(var(--lockup-unit)*0.4)] ds:leading-none" }),
127
+ brand: /* @__PURE__ */ e(
128
+ De,
129
+ {
130
+ "aria-hidden": !0,
131
+ viewBox: "168 0 637 125",
132
+ className: `ds:h-[calc(var(--lockup-unit)*0.45)] ds:w-auto ds:forced-colors:text-[CanvasText] ${k}`
133
+ }
134
+ )
135
+ }
136
+ }
137
+ )
138
+ }
139
+ )
140
+ ]
141
+ }
142
+ );
143
+ }
144
+ return /* @__PURE__ */ n(
145
+ "span",
146
+ {
147
+ ref: o,
148
+ role: "img",
149
+ "aria-label": `Alfadocs ${s}`.trim(),
150
+ className: $e({ className: i }),
151
+ "data-component": "product-lockup",
152
+ ...m,
153
+ children: [
154
+ /* @__PURE__ */ e(
155
+ Ve,
156
+ {
157
+ variant: a ? "monochrome" : "wordmark",
158
+ tone: r,
159
+ size: d,
160
+ decorative: !0
161
+ }
162
+ ),
163
+ /* @__PURE__ */ e(
164
+ "span",
165
+ {
166
+ "aria-hidden": !0,
167
+ className: je({
168
+ size: d,
169
+ tone: a ? "solid" : "gradient"
170
+ }),
171
+ children: s
172
+ }
173
+ )
174
+ ]
175
+ }
176
+ );
177
+ }
178
+ );
179
+ C.displayName = "ProductLockup";
180
+ const _e = "(max-width: 767.98px)";
181
+ function Ke(s) {
182
+ return s > 99 ? "99+" : String(s);
183
+ }
184
+ function Qe({
185
+ user: s,
186
+ labels: t,
187
+ onSignOut: a,
188
+ onToggleFullscreen: r
189
+ }) {
190
+ const { t: d } = B("ui"), i = t.fullscreen ?? d("marketplaceAppShell.settings.fullscreen");
191
+ return (
192
+ // Non-modal: an account menu shouldn't inert/aria-hide the whole shell
193
+ // behind it (which leaves the still-focusable chrome inside an
194
+ // aria-hidden region — an `aria-hidden-focus` violation).
195
+ /* @__PURE__ */ n(p.Root, { modal: !1, children: [
196
+ /* @__PURE__ */ e(p.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
197
+ "button",
198
+ {
199
+ type: "button",
200
+ "aria-label": t.accountMenu,
201
+ "data-testid": "marketplace-account-trigger",
202
+ className: "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0 ds:size-10 ds:rounded-[var(--radius-full)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
203
+ children: /* @__PURE__ */ e("span", { "aria-hidden": "true", children: /* @__PURE__ */ e(Q, { name: s.name, src: s.avatarSrc, size: "md" }) })
204
+ }
205
+ ) }),
206
+ /* @__PURE__ */ n(p.Content, { align: "end", collisionPadding: 16, children: [
207
+ /* @__PURE__ */ e(p.Label, { children: /* @__PURE__ */ n("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
208
+ /* @__PURE__ */ e("span", { "aria-hidden": "true", children: /* @__PURE__ */ e(Q, { name: s.name, src: s.avatarSrc, size: "sm" }) }),
209
+ /* @__PURE__ */ n("span", { className: "ds:flex ds:flex-col ds:min-w-0", children: [
210
+ /* @__PURE__ */ e("span", { className: "type-label ds:text-[color:var(--foreground)] ds:truncate", children: s.name }),
211
+ s.email ? /* @__PURE__ */ e("span", { className: "type-meta ds:truncate", children: s.email }) : null
212
+ ] })
213
+ ] }) }),
214
+ r ? /* @__PURE__ */ n(L, { children: [
215
+ /* @__PURE__ */ e(p.Separator, {}),
216
+ /* @__PURE__ */ e(
217
+ p.Item,
218
+ {
219
+ startIcon: /* @__PURE__ */ e(Re, { "aria-hidden": !0 }),
220
+ onSelect: r,
221
+ "data-testid": "marketplace-fullscreen",
222
+ children: i
223
+ }
224
+ )
225
+ ] }) : null,
226
+ /* @__PURE__ */ e(p.Separator, {}),
227
+ /* @__PURE__ */ e(
228
+ p.Item,
229
+ {
230
+ startIcon: /* @__PURE__ */ e(Pe, { "aria-hidden": !0 }),
231
+ onSelect: a,
232
+ "data-testid": "marketplace-sign-out",
233
+ children: t.signOut
234
+ }
235
+ )
236
+ ] })
237
+ ] })
238
+ );
239
+ }
240
+ function qe({
241
+ nav: s,
242
+ renderLink: t
243
+ }) {
244
+ return /* @__PURE__ */ e(Z, { children: s.map((a) => {
245
+ const r = typeof a.badgeCount == "number" && a.badgeCount > 0 ? a.badgeCount : void 0, d = /* @__PURE__ */ n(L, { children: [
246
+ a.icon ? /* @__PURE__ */ e(Ee, { children: a.icon }) : null,
247
+ /* @__PURE__ */ e(ze, { children: a.label }),
248
+ r !== void 0 ? /* @__PURE__ */ e(Me, { children: Ke(r) }) : null
249
+ ] });
250
+ return t ? /* @__PURE__ */ e(J, { asChild: !0, isActive: a.isActive, children: t({
251
+ href: a.href,
252
+ children: d,
253
+ "aria-current": a.isActive ? "page" : void 0
254
+ }) }, a.id) : /* @__PURE__ */ e(
255
+ J,
256
+ {
257
+ href: a.href,
258
+ "aria-label": a.label,
259
+ isActive: a.isActive,
260
+ ...a.onClick ? { onClick: a.onClick } : {},
261
+ children: d
262
+ },
263
+ a.id
264
+ );
265
+ }) });
266
+ }
267
+ const Fe = u(
268
+ "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]",
269
+ {
270
+ variants: {
271
+ mode: {
272
+ expanded: "",
273
+ icon: "",
274
+ overlay: "ds:pe-[calc(var(--min-target-size)+var(--spacing-sm))]"
275
+ }
276
+ },
277
+ defaultVariants: { mode: "expanded" }
278
+ }
279
+ );
280
+ function Ue({
281
+ collapseTrigger: s,
282
+ content: t
283
+ }) {
284
+ const { mode: a } = Ae(), d = t != null && typeof t != "boolean" && a !== "icon", i = s && a !== "overlay";
285
+ return d ? /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ n("div", { className: Fe({ mode: a }), children: [
286
+ i ? /* @__PURE__ */ e("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: /* @__PURE__ */ e(G, {}) }) : null,
287
+ t
288
+ ] }) }) : s ? /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(G, {}) }) : null;
289
+ }
290
+ const ee = [
291
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
292
+ "ds:pt-[var(--spacing-lg)] ds:pb-[var(--spacing-md)]"
293
+ ].join(" "), I = u("ds:bg-[color:var(--app-shell-background)]", {
294
+ variants: {
295
+ variant: {
296
+ standalone: "",
297
+ embedded: `ds:flex-1 ${ee}`
298
+ }
299
+ },
300
+ defaultVariants: { variant: "standalone" }
301
+ }), Ye = "ds:shrink-0 ds:bg-[color:var(--app-shell-background)]";
302
+ function Ge({
303
+ nav: s,
304
+ ariaLabel: t,
305
+ renderLink: a
306
+ }) {
307
+ const r = a ? ({
308
+ href: d,
309
+ className: i,
310
+ children: m,
311
+ "aria-current": o,
312
+ "data-tab-id": l
313
+ }) => a({
314
+ href: d,
315
+ className: i,
316
+ children: m,
317
+ "aria-current": o,
318
+ // Forward the agent DOM hook — without it a consumer-router tab is
319
+ // invisible to `[data-tab-id]` lookups (PRS §26 §6).
320
+ "data-tab-id": l
321
+ }) : void 0;
322
+ return /* @__PURE__ */ e(
323
+ ge,
324
+ {
325
+ items: s,
326
+ ariaLabel: t,
327
+ ...r ? { renderLink: r } : {}
328
+ }
329
+ );
330
+ }
331
+ const Je = H(
332
+ ({
333
+ productName: s,
334
+ productHref: t = "/",
335
+ nav: a,
336
+ renderLink: r,
337
+ user: d,
338
+ labels: i,
339
+ onSignOut: m,
340
+ onToggleFullscreen: o,
341
+ sidebarState: l,
342
+ collapsibleSidebar: c = !1,
343
+ sidebarContent: f,
344
+ sidebarHeader: b,
345
+ onMoveSidebarItem: A,
346
+ mainAriaLabel: k,
347
+ variant: ae = "standalone",
348
+ endSidebar: E,
349
+ children: z
350
+ }, D) => {
351
+ var j;
352
+ const { t: M } = B("ui"), se = r ? /* @__PURE__ */ e(F, { asChild: !0, children: r({
353
+ href: t,
354
+ children: /* @__PURE__ */ e(
355
+ C,
356
+ {
357
+ name: s,
358
+ size: "md",
359
+ monochrome: !0,
360
+ variant: "maker"
361
+ }
362
+ )
363
+ }) }) : /* @__PURE__ */ e(
364
+ F,
365
+ {
366
+ href: t,
367
+ logo: /* @__PURE__ */ e(
368
+ C,
369
+ {
370
+ name: s,
371
+ size: "md",
372
+ monochrome: !0,
373
+ variant: "maker"
374
+ }
375
+ )
376
+ }
377
+ ), { theme: te, accessibility: re, resolvedTheme: V } = Le(), ne = te !== "system" || re !== "system", de = V.startsWith("dark") ? "dark" : "light", ie = V.endsWith("-accessible"), le = Be(_e), N = l ?? (le ? "overlay" : void 0), [y, w] = ue(!1), h = fe(() => w(!1), []);
378
+ W(() => {
379
+ N !== "overlay" && w(!1);
380
+ }, [N]);
381
+ const T = _(null), O = _(null), R = f === void 0 ? ((j = a.find((v) => v.isActive)) == null ? void 0 : j.id) ?? "" : void 0;
382
+ He(() => {
383
+ const v = window.location.href;
384
+ let S = R ?? null;
385
+ if (R === void 0 && T.current) {
386
+ const x = T.current.querySelector('[aria-current="page"]');
387
+ S = (x == null ? void 0 : x.getAttribute("href")) ?? (x == null ? void 0 : x.textContent) ?? "";
388
+ }
389
+ const g = O.current;
390
+ if (O.current = { open: y, url: v, current: S }, !(g != null && g.open) || !y) return;
391
+ const pe = g.current !== null && S !== null && g.current !== S;
392
+ (g.url !== v || pe) && w(!1);
393
+ }), W(() => {
394
+ if (y)
395
+ return window.addEventListener("popstate", h), window.addEventListener("hashchange", h), () => {
396
+ window.removeEventListener("popstate", h), window.removeEventListener("hashchange", h);
397
+ };
398
+ }, [y, h]);
399
+ const oe = /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(
400
+ K,
401
+ {
402
+ mainAriaLabel: k,
403
+ mainClassName: I({ variant: "standalone" }),
404
+ header: /* @__PURE__ */ n(xe, { children: [
405
+ /* @__PURE__ */ n(be, { children: [
406
+ /* @__PURE__ */ e(U, { href: "#main-content" }),
407
+ /* @__PURE__ */ e(ke, { onMenuOpen: () => w(!0) }),
408
+ se
409
+ ] }),
410
+ /* @__PURE__ */ e(Ne, {}),
411
+ /* @__PURE__ */ n(ye, { children: [
412
+ /* @__PURE__ */ e(we, { size: "sm" }),
413
+ /* @__PURE__ */ e(
414
+ Qe,
415
+ {
416
+ user: d,
417
+ labels: i,
418
+ onSignOut: m,
419
+ onToggleFullscreen: o
420
+ }
421
+ )
422
+ ] })
423
+ ] }),
424
+ sidebar: /* @__PURE__ */ e(
425
+ Se,
426
+ {
427
+ ref: T,
428
+ ...N !== void 0 ? { state: N } : { defaultState: "expanded" },
429
+ open: y,
430
+ onOpenChange: w,
431
+ onMoveItem: A,
432
+ onClick: (v) => {
433
+ v.target instanceof Element && v.target.closest("a[href]") && h();
434
+ },
435
+ "aria-label": M("navigation.sidebar.label"),
436
+ "data-testid": "marketplace-app-shell-sidebar",
437
+ children: /* @__PURE__ */ n(Te.Provider, { value: h, children: [
438
+ /* @__PURE__ */ e(
439
+ Ue,
440
+ {
441
+ collapseTrigger: c && N === void 0,
442
+ content: b
443
+ }
444
+ ),
445
+ f !== void 0 ? /* @__PURE__ */ e(Z, { children: f }) : /* @__PURE__ */ e(qe, { nav: a, renderLink: r })
446
+ ] })
447
+ }
448
+ ),
449
+ endSidebar: E,
450
+ children: z
451
+ }
452
+ ) }), P = /* @__PURE__ */ n(L, { children: [
453
+ /* @__PURE__ */ e(U, { href: "#main-content" }),
454
+ /* @__PURE__ */ e(
455
+ Ge,
456
+ {
457
+ nav: a,
458
+ ariaLabel: M("navigation.sidebar.label"),
459
+ renderLink: r
460
+ }
461
+ )
462
+ ] }), ce = /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(
463
+ K,
464
+ {
465
+ mainAriaLabel: k,
466
+ mainClassName: I({ variant: "standalone" }),
467
+ padded: !1,
468
+ header: /* @__PURE__ */ e("div", { className: Ye, children: P }),
469
+ sidebar: null,
470
+ endSidebar: E,
471
+ children: /* @__PURE__ */ e("div", { className: ee, children: z })
472
+ }
473
+ ) }), me = (
474
+ // The shell owns the warm-grey canvas; TabBar's strip is transparent and
475
+ // floats its pill on it, and `<main>` continues the same surface.
476
+ /* @__PURE__ */ n("div", { className: "ds:flex ds:min-h-dvh ds:flex-col ds:bg-[color:var(--app-shell-background)]", children: [
477
+ P,
478
+ /* @__PURE__ */ e(
479
+ "main",
480
+ {
481
+ id: "main-content",
482
+ tabIndex: -1,
483
+ "aria-label": k ?? M("navigation.main.label", "Main content"),
484
+ className: I({ variant: "embedded" }),
485
+ children: z
486
+ }
487
+ )
488
+ ] })
489
+ ), $ = ae === "embedded" ? E ? ce : me : oe;
490
+ return ne ? /* @__PURE__ */ e(
491
+ Ie,
492
+ {
493
+ ref: D,
494
+ theme: de,
495
+ accessible: ie,
496
+ className: "ds:contents",
497
+ "data-component": "marketplace-app-shell",
498
+ children: $
499
+ }
500
+ ) : /* @__PURE__ */ e(
501
+ "div",
502
+ {
503
+ ref: D,
504
+ className: "ds:contents",
505
+ "data-component": "marketplace-app-shell",
506
+ children: $
507
+ }
508
+ );
509
+ }
510
+ );
511
+ Je.displayName = "MarketplaceAppShell";
512
+ const Xe = u(
513
+ "ds:flex ds:min-h-dvh ds:bg-[color:var(--app-shell-background)]",
514
+ {
515
+ variants: {
516
+ layout: {
517
+ card: "",
518
+ split: "ds:flex-col ds:lg:flex-row"
519
+ }
520
+ },
521
+ defaultVariants: { layout: "card" }
522
+ }
523
+ ), Ze = u("ds:w-full", {
524
+ variants: {
525
+ layout: {
526
+ card: "ds:max-w-[400px]",
527
+ split: "ds:max-w-[400px] ds:lg:max-w-[480px]"
528
+ }
529
+ },
530
+ defaultVariants: { layout: "card" }
531
+ }), ea = u("", {
532
+ variants: {
533
+ layout: { card: "", split: "ds:lg:hidden" }
534
+ },
535
+ defaultVariants: { layout: "card" }
536
+ }), aa = H(
537
+ ({
538
+ productName: s,
539
+ title: t,
540
+ description: a,
541
+ connectLabel: r,
542
+ status: d = "idle",
543
+ error: i,
544
+ onConnect: m,
545
+ footer: o,
546
+ layout: l = "card",
547
+ brandPanel: c,
548
+ className: f
549
+ }, b) => /* @__PURE__ */ n(
550
+ "div",
551
+ {
552
+ ref: b,
553
+ "data-component": "connect-with-alfadocs",
554
+ className: `${Xe({ layout: l })} ${f ?? ""}`,
555
+ children: [
556
+ l === "split" ? (
557
+ // Desktop brand panel (lg+ only): a bold `--primary` surface with the
558
+ // monochrome lockup riding the `--primary-foreground` ink, plus an
559
+ // optional `brandPanel` slot. Decorative — the card carries the real
560
+ // heading + CTA, and shows its own lockup below `lg:`.
561
+ /* @__PURE__ */ n("div", { className: "ds:hidden ds:lg:flex ds:lg:w-[55%] ds:flex-col ds:items-center ds:justify-center ds:gap-[var(--spacing-lg)] ds:bg-[color:var(--primary)] ds:text-[color:var(--primary-foreground)] ds:ps-[var(--spacing-2xl)] ds:pe-[var(--spacing-2xl)] ds:pt-[var(--spacing-2xl)] ds:pb-[var(--spacing-2xl)] ds:text-start", children: [
562
+ /* @__PURE__ */ e(
563
+ C,
564
+ {
565
+ name: s,
566
+ size: "lg",
567
+ monochrome: !0,
568
+ tone: "inherit",
569
+ variant: "maker"
570
+ }
571
+ ),
572
+ c ? /* @__PURE__ */ e("div", { className: "type-body ds:max-w-[28rem] ds:text-start", children: c }) : null
573
+ ] })
574
+ ) : null,
575
+ /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ e(q, { className: Ze({ layout: l }), children: /* @__PURE__ */ n(q.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center", children: [
576
+ /* @__PURE__ */ e(
577
+ C,
578
+ {
579
+ name: s,
580
+ size: "lg",
581
+ variant: "maker",
582
+ className: ea({ layout: l })
583
+ }
584
+ ),
585
+ /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
586
+ /* @__PURE__ */ e("h1", { className: "type-title-card", children: t }),
587
+ /* @__PURE__ */ e("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: a })
588
+ ] }),
589
+ d === "error" && i ? /* @__PURE__ */ e(ve, { variant: "error", className: "ds:w-full ds:text-start", children: i }) : null,
590
+ /* @__PURE__ */ e(
591
+ Ce,
592
+ {
593
+ intent: "primary",
594
+ className: "ds:w-full",
595
+ loading: d === "connecting",
596
+ onClick: m,
597
+ label: r,
598
+ "data-testid": "connect-with-alfadocs-button"
599
+ }
600
+ ),
601
+ o ? /* @__PURE__ */ e("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: o }) : null
602
+ ] }) }) })
603
+ ]
604
+ }
605
+ )
606
+ );
607
+ aa.displayName = "ConnectWithAlfadocs";
608
+ export {
609
+ aa as C,
610
+ Je as M,
611
+ C as P
612
+ };
613
+ //# sourceMappingURL=marketplace-app-shell-DnuHxuoE.js.map
@@ -2,8 +2,8 @@ import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
2
  import { forwardRef as O, useMemo as Q, useState as Y, useRef as Z, useCallback as A } from "react";
3
3
  import { c as ss } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as es } from "react-i18next";
5
- import { I as as } from "./icon-button-COX76Jdj.js";
6
- import { B as V } from "./button-Bn16lcFM.js";
5
+ import { I as as } from "./icon-button-CsOGhuRB.js";
6
+ import { B as V } from "./button-CnUVJg1Y.js";
7
7
  import { A as rs } from "./avatar-WZY3eGE7.js";
8
8
  import { T as ds } from "./timestamp-DPLDWdxA.js";
9
9
  import { i as os } from "./is-safe-url-DkETxeHz.js";
@@ -324,4 +324,4 @@ ls.displayName = "MessageCard";
324
324
  export {
325
325
  ls as M
326
326
  };
327
- //# sourceMappingURL=message-card-DVo8-dOm.js.map
327
+ //# sourceMappingURL=message-card-BNoaKInS.js.map
@@ -6,12 +6,12 @@ import { c as O } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as H } from "react-i18next";
7
7
  import { u as pe } from "./use-controllable-state-BiY4xTzM.js";
8
8
  import { u as ge } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
9
- import { I as ue } from "./icon-button-COX76Jdj.js";
10
- import { B as L } from "./button-Bn16lcFM.js";
9
+ import { I as ue } from "./icon-button-CsOGhuRB.js";
10
+ import { B as L } from "./button-CnUVJg1Y.js";
11
11
  import { S as F } from "./separator-CYU_bGFn.js";
12
12
  import { S as y } from "./skeleton-B1KTdJ4N.js";
13
- import { S as fe } from "./scroll-area-ZtFCv9K7.js";
14
- import { M as ve } from "./message-card-DVo8-dOm.js";
13
+ import { S as fe } from "./scroll-area-CY5SLYNw.js";
14
+ import { M as ve } from "./message-card-BNoaKInS.js";
15
15
  import { u as he } from "./registry-DvAUVLHh.js";
16
16
  import { M as V } from "./mail-BqXVF2zH.js";
17
17
  const ye = {
@@ -498,4 +498,4 @@ export {
498
498
  Se as M,
499
499
  ye as m
500
500
  };
501
- //# sourceMappingURL=message-tray-QKQutwxj.js.map
501
+ //# sourceMappingURL=message-tray-D4R0boMJ.js.map
@@ -5,7 +5,7 @@ import { c as x1 } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as Q1 } from "react-i18next";
6
6
  import { u as K1 } from "./registry-DvAUVLHh.js";
7
7
  import { m as k1, A as v1 } from "./annotation-marker-D-M7y4R1.js";
8
- import { T as _ } from "./tabs-I2wf_nC7.js";
8
+ import { T as _ } from "./tabs-2x3L13jn.js";
9
9
  const x = {
10
10
  type: "string",
11
11
  description: "Per-muscle region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'pectoralis-r', 'trapezius-l'."
@@ -1703,4 +1703,4 @@ export {
1703
1703
  I1 as r,
1704
1704
  L1 as v
1705
1705
  };
1706
- //# sourceMappingURL=muscle-scheme-BDgIaGeW.js.map
1706
+ //# sourceMappingURL=muscle-scheme-YoN3rYXV.js.map
@@ -0,0 +1,9 @@
1
+ import { createContext as t, useContext as s } from "react";
2
+ const o = t(
3
+ null
4
+ ), e = () => s(o);
5
+ export {
6
+ o as N,
7
+ e as u
8
+ };
9
+ //# sourceMappingURL=navigation-dismiss-B1mcW1CT.js.map