@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
@@ -1,555 +0,0 @@
1
- import { jsxs as r, jsx as a, Fragment as N } from "react/jsx-runtime";
2
- import { forwardRef as y, useState as G } from "react";
3
- import { useTranslation as C, Trans as J } from "react-i18next";
4
- import { c as h } from "./index-D2ZczOXr.js";
5
- import { A as M } from "./app-frame-B-0O9CrU.js";
6
- import { A as I } from "./avatar-WZY3eGE7.js";
7
- import { A as Q } from "./alert-BhCstf2h.js";
8
- import { C as B } from "./card-DMO2nkt4.js";
9
- import { D as p } from "./dropdown-menu-BQSNVp4x.js";
10
- import { T as U } from "./tab-bar-Bm-rJB7Y.js";
11
- import { a as E, H as X, g as Y, f as L, e as Z, c as aa, d as ea } from "./header-B9552pLh.js";
12
- import { H as sa } from "./header-settings-BMcCx2LC.js";
13
- import { S as ta } from "./sign-in-with-alfadocs-button-D91_x8DX.js";
14
- import { S as ra, g as na, b as da, a as ia, j as la, k as oa, i as ca, h as D } from "./sidebar-DLsG2AIk.js";
15
- import { T as ma } from "./theme-root-BOO73p5t.js";
16
- import { a as H } from "./tooltip-Cp-PLePW.js";
17
- import { u as pa } from "./use-theme-CAuo6EYT.js";
18
- import { A as ua, L as ha } from "./logo-hIsyVE96.js";
19
- import { A as fa } from "./Alfadocs_Logo_Mark-Z_b6ZI1g.js";
20
- import { M as ga } from "./maximize-2-BYd2Kti7.js";
21
- import { L as va } from "./log-out-oDS6zO5d.js";
22
- const xa = h("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), ba = h(
23
- [
24
- "ds:[font-family:var(--font-serif)]",
25
- "ds:font-semibold",
26
- "ds:leading-none",
27
- "ds:tracking-[0.01em]",
28
- "ds:whitespace-nowrap",
29
- // Forced-colors: drop the transparent text-fill and paint the label
30
- // as solid CanvasText so it never disappears under Windows HCM —
31
- // a gradient/transparent fill has no meaning there.
32
- "ds:forced-colors:text-[CanvasText]",
33
- "ds:forced-colors:[-webkit-text-fill-color:CanvasText]"
34
- ],
35
- {
36
- variants: {
37
- size: {
38
- sm: "ds:text-[calc(var(--logo-size-sm)*0.95)]",
39
- md: "ds:text-[calc(var(--logo-size-md)*0.95)]",
40
- lg: "ds:text-[calc(var(--logo-size-lg)*0.95)]",
41
- xl: "ds:text-[calc(var(--logo-size-xl)*0.95)]"
42
- },
43
- tone: {
44
- // Brand gradient filled into the glyphs via background-clip:text.
45
- // `--gradient-wordmark` rides the theme aliases, so it stays
46
- // AA-safe and adapts per theme on its own (and flattens to a solid
47
- // ink in the accessible / forced-colors blocks — see tokens).
48
- gradient: [
49
- "ds:italic",
50
- "ds:bg-[image:var(--gradient-wordmark)]",
51
- "ds:bg-clip-text",
52
- "ds:text-transparent",
53
- "ds:[-webkit-text-fill-color:transparent]"
54
- ],
55
- // Monochrome: solid currentColor ink, upright, no gradient — for
56
- // print, single-colour work, and coloured chrome (e.g. app-shell
57
- // headers) where the lockup must ride the surrounding ink.
58
- solid: "ds:text-current"
59
- }
60
- },
61
- defaultVariants: { size: "md", tone: "gradient" }
62
- }
63
- ), ka = h("ds:whitespace-nowrap", {
64
- variants: {
65
- size: {
66
- sm: "ds:[--lockup-unit:var(--logo-size-sm)]",
67
- md: "ds:[--lockup-unit:var(--logo-size-md)]",
68
- lg: "ds:[--lockup-unit:var(--logo-size-lg)]",
69
- xl: "ds:[--lockup-unit:var(--logo-size-xl)]"
70
- }
71
- },
72
- defaultVariants: { size: "md" }
73
- }), x = y(
74
- ({
75
- name: s,
76
- variant: n = "standard",
77
- monochrome: e = !1,
78
- tone: t = "auto",
79
- size: d = "md",
80
- className: l,
81
- ...m
82
- }, o) => {
83
- const { t: i } = C("ui");
84
- if (n === "maker") {
85
- const c = t === "inherit", u = c ? "" : e ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", f = c ? "" : e ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", g = c ? "" : "ds:text-[color:var(--muted-foreground)]", v = c ? "" : "ds:text-[color:var(--foreground)]";
86
- return /* @__PURE__ */ r(
87
- "span",
88
- {
89
- ref: o,
90
- role: "img",
91
- "aria-label": i("productLockup.makerLabel", { name: s.trim() }),
92
- className: ka({ size: d, className: l }),
93
- "data-component": "product-lockup",
94
- ...m,
95
- children: [
96
- /* @__PURE__ */ a(
97
- fa,
98
- {
99
- "aria-hidden": !0,
100
- 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] ${u}`
101
- }
102
- ),
103
- /* @__PURE__ */ a(
104
- "span",
105
- {
106
- "aria-hidden": !0,
107
- className: `ds:align-middle ds:[font-family:var(--font-serif)] ds:font-semibold ds:italic ds:leading-none ds:tracking-[0.01em] ${f} ds:text-[calc(var(--lockup-unit)*0.95)]`,
108
- children: s
109
- }
110
- ),
111
- /* @__PURE__ */ a(
112
- "span",
113
- {
114
- "aria-hidden": !0,
115
- className: `ds:align-text-top ds:ms-[var(--spacing-sm)] ds:inline-flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ${g}`,
116
- children: /* @__PURE__ */ a(
117
- J,
118
- {
119
- ns: "ui",
120
- t: i,
121
- i18nKey: "productLockup.attribution",
122
- components: {
123
- text: /* @__PURE__ */ a("span", { className: "ds:text-[calc(var(--lockup-unit)*0.4)] ds:leading-none" }),
124
- brand: /* @__PURE__ */ a(
125
- ua,
126
- {
127
- "aria-hidden": !0,
128
- viewBox: "168 0 637 125",
129
- className: `ds:h-[calc(var(--lockup-unit)*0.45)] ds:w-auto ds:forced-colors:text-[CanvasText] ${v}`
130
- }
131
- )
132
- }
133
- }
134
- )
135
- }
136
- )
137
- ]
138
- }
139
- );
140
- }
141
- return /* @__PURE__ */ r(
142
- "span",
143
- {
144
- ref: o,
145
- role: "img",
146
- "aria-label": `Alfadocs ${s}`.trim(),
147
- className: xa({ className: l }),
148
- "data-component": "product-lockup",
149
- ...m,
150
- children: [
151
- /* @__PURE__ */ a(
152
- ha,
153
- {
154
- variant: e ? "monochrome" : "wordmark",
155
- tone: t,
156
- size: d,
157
- decorative: !0
158
- }
159
- ),
160
- /* @__PURE__ */ a(
161
- "span",
162
- {
163
- "aria-hidden": !0,
164
- className: ba({
165
- size: d,
166
- tone: e ? "solid" : "gradient"
167
- }),
168
- children: s
169
- }
170
- )
171
- ]
172
- }
173
- );
174
- }
175
- );
176
- x.displayName = "ProductLockup";
177
- function Na(s) {
178
- return s > 99 ? "99+" : String(s);
179
- }
180
- function ya({
181
- user: s,
182
- labels: n,
183
- onSignOut: e,
184
- onToggleFullscreen: t
185
- }) {
186
- const { t: d } = C("ui"), l = n.fullscreen ?? d("marketplaceAppShell.settings.fullscreen");
187
- return (
188
- // Non-modal: an account menu shouldn't inert/aria-hide the whole shell
189
- // behind it (which leaves the still-focusable chrome inside an
190
- // aria-hidden region — an `aria-hidden-focus` violation).
191
- /* @__PURE__ */ r(p.Root, { modal: !1, children: [
192
- /* @__PURE__ */ a(p.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
193
- "button",
194
- {
195
- type: "button",
196
- "aria-label": n.accountMenu,
197
- "data-testid": "marketplace-account-trigger",
198
- 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]",
199
- children: /* @__PURE__ */ a("span", { "aria-hidden": "true", children: /* @__PURE__ */ a(I, { name: s.name, src: s.avatarSrc, size: "md" }) })
200
- }
201
- ) }),
202
- /* @__PURE__ */ r(p.Content, { align: "end", collisionPadding: 16, children: [
203
- /* @__PURE__ */ a(p.Label, { children: /* @__PURE__ */ r("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
204
- /* @__PURE__ */ a("span", { "aria-hidden": "true", children: /* @__PURE__ */ a(I, { name: s.name, src: s.avatarSrc, size: "sm" }) }),
205
- /* @__PURE__ */ r("span", { className: "ds:flex ds:flex-col ds:min-w-0", children: [
206
- /* @__PURE__ */ a("span", { className: "type-label ds:text-[color:var(--foreground)] ds:truncate", children: s.name }),
207
- s.email ? /* @__PURE__ */ a("span", { className: "type-meta ds:truncate", children: s.email }) : null
208
- ] })
209
- ] }) }),
210
- t ? /* @__PURE__ */ r(N, { children: [
211
- /* @__PURE__ */ a(p.Separator, {}),
212
- /* @__PURE__ */ a(
213
- p.Item,
214
- {
215
- startIcon: /* @__PURE__ */ a(ga, { "aria-hidden": !0 }),
216
- onSelect: t,
217
- "data-testid": "marketplace-fullscreen",
218
- children: l
219
- }
220
- )
221
- ] }) : null,
222
- /* @__PURE__ */ a(p.Separator, {}),
223
- /* @__PURE__ */ a(
224
- p.Item,
225
- {
226
- startIcon: /* @__PURE__ */ a(va, { "aria-hidden": !0 }),
227
- onSelect: e,
228
- "data-testid": "marketplace-sign-out",
229
- children: n.signOut
230
- }
231
- )
232
- ] })
233
- ] })
234
- );
235
- }
236
- function Ca({
237
- nav: s,
238
- renderLink: n
239
- }) {
240
- return /* @__PURE__ */ a(ia, { children: s.map((e) => {
241
- const t = typeof e.badgeCount == "number" && e.badgeCount > 0 ? e.badgeCount : void 0, d = /* @__PURE__ */ r(N, { children: [
242
- e.icon ? /* @__PURE__ */ a(la, { children: e.icon }) : null,
243
- /* @__PURE__ */ a(oa, { children: e.label }),
244
- t !== void 0 ? /* @__PURE__ */ a(ca, { children: Na(t) }) : null
245
- ] });
246
- return n ? /* @__PURE__ */ a(D, { asChild: !0, isActive: e.isActive, children: n({
247
- href: e.href,
248
- children: d,
249
- "aria-current": e.isActive ? "page" : void 0
250
- }) }, e.id) : /* @__PURE__ */ a(
251
- D,
252
- {
253
- href: e.href,
254
- "aria-label": e.label,
255
- isActive: e.isActive,
256
- ...e.onClick ? { onClick: e.onClick } : {},
257
- children: d
258
- },
259
- e.id
260
- );
261
- }) });
262
- }
263
- const O = [
264
- "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
265
- "ds:pt-[var(--spacing-lg)] ds:pb-[var(--spacing-md)]"
266
- ].join(" "), k = h("ds:bg-[color:var(--app-shell-background)]", {
267
- variants: {
268
- variant: {
269
- standalone: "",
270
- embedded: `ds:flex-1 ${O}`
271
- }
272
- },
273
- defaultVariants: { variant: "standalone" }
274
- }), wa = "ds:shrink-0 ds:bg-[color:var(--app-shell-background)]";
275
- function Sa({
276
- nav: s,
277
- ariaLabel: n,
278
- renderLink: e
279
- }) {
280
- const t = e ? ({
281
- href: d,
282
- className: l,
283
- children: m,
284
- "aria-current": o,
285
- "data-tab-id": i
286
- }) => e({
287
- href: d,
288
- className: l,
289
- children: m,
290
- "aria-current": o,
291
- // Forward the agent DOM hook — without it a consumer-router tab is
292
- // invisible to `[data-tab-id]` lookups (PRS §26 §6).
293
- "data-tab-id": i
294
- }) : void 0;
295
- return /* @__PURE__ */ a(
296
- U,
297
- {
298
- items: s,
299
- ariaLabel: n,
300
- ...t ? { renderLink: t } : {}
301
- }
302
- );
303
- }
304
- const Aa = y(
305
- ({
306
- productName: s,
307
- productHref: n = "/",
308
- nav: e,
309
- renderLink: t,
310
- user: d,
311
- labels: l,
312
- onSignOut: m,
313
- onToggleFullscreen: o,
314
- sidebarState: i,
315
- collapsibleSidebar: c = !1,
316
- mainAriaLabel: u,
317
- variant: f = "standalone",
318
- endSidebar: g,
319
- children: v
320
- }, w) => {
321
- const { t: b } = C("ui"), V = t ? /* @__PURE__ */ a(E, { asChild: !0, children: t({
322
- href: n,
323
- children: /* @__PURE__ */ a(
324
- x,
325
- {
326
- name: s,
327
- size: "md",
328
- monochrome: !0,
329
- variant: "maker"
330
- }
331
- )
332
- }) }) : /* @__PURE__ */ a(
333
- E,
334
- {
335
- href: n,
336
- logo: /* @__PURE__ */ a(
337
- x,
338
- {
339
- name: s,
340
- size: "md",
341
- monochrome: !0,
342
- variant: "maker"
343
- }
344
- )
345
- }
346
- ), { theme: $, accessibility: j, resolvedTheme: S } = pa(), R = $ !== "system" || j !== "system", W = S.startsWith("dark") ? "dark" : "light", P = S.endsWith("-accessible"), [_, A] = G(!1), K = /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(
347
- M,
348
- {
349
- mainAriaLabel: u,
350
- mainClassName: k({ variant: "standalone" }),
351
- header: /* @__PURE__ */ r(X, { children: [
352
- /* @__PURE__ */ r(Y, { children: [
353
- /* @__PURE__ */ a(L, { href: "#main-content" }),
354
- /* @__PURE__ */ a(Z, { onMenuOpen: () => A(!0) }),
355
- V
356
- ] }),
357
- /* @__PURE__ */ a(aa, {}),
358
- /* @__PURE__ */ r(ea, { children: [
359
- /* @__PURE__ */ a(sa, { size: "sm" }),
360
- /* @__PURE__ */ a(
361
- ya,
362
- {
363
- user: d,
364
- labels: l,
365
- onSignOut: m,
366
- onToggleFullscreen: o
367
- }
368
- )
369
- ] })
370
- ] }),
371
- sidebar: /* @__PURE__ */ r(
372
- ra,
373
- {
374
- ...i !== void 0 ? { state: i } : { defaultState: "expanded" },
375
- open: _,
376
- onOpenChange: A,
377
- "aria-label": b("navigation.sidebar.label"),
378
- "data-testid": "marketplace-app-shell-sidebar",
379
- children: [
380
- c && i === void 0 ? (
381
- // No justify override: SidebarHeader centres its child in the
382
- // icon rail (`justify-center`) and left-aligns it when expanded,
383
- // matching the nav icons below. `justify-end` here would win over
384
- // the icon-mode centring and offset the toggle in the rail.
385
- /* @__PURE__ */ a(na, { children: /* @__PURE__ */ a(da, {}) })
386
- ) : null,
387
- /* @__PURE__ */ a(Ca, { nav: e, renderLink: t })
388
- ]
389
- }
390
- ),
391
- endSidebar: g,
392
- children: v
393
- }
394
- ) }), z = /* @__PURE__ */ r(N, { children: [
395
- /* @__PURE__ */ a(L, { href: "#main-content" }),
396
- /* @__PURE__ */ a(
397
- Sa,
398
- {
399
- nav: e,
400
- ariaLabel: b("navigation.sidebar.label"),
401
- renderLink: t
402
- }
403
- )
404
- ] }), F = /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(
405
- M,
406
- {
407
- mainAriaLabel: u,
408
- mainClassName: k({ variant: "standalone" }),
409
- padded: !1,
410
- header: /* @__PURE__ */ a("div", { className: wa, children: z }),
411
- sidebar: null,
412
- endSidebar: g,
413
- children: /* @__PURE__ */ a("div", { className: O, children: v })
414
- }
415
- ) }), q = (
416
- // The shell owns the warm-grey canvas; TabBar's strip is transparent and
417
- // floats its pill on it, and `<main>` continues the same surface.
418
- /* @__PURE__ */ r("div", { className: "ds:flex ds:min-h-dvh ds:flex-col ds:bg-[color:var(--app-shell-background)]", children: [
419
- z,
420
- /* @__PURE__ */ a(
421
- "main",
422
- {
423
- id: "main-content",
424
- tabIndex: -1,
425
- "aria-label": u ?? b("navigation.main.label", "Main content"),
426
- className: k({ variant: "embedded" }),
427
- children: v
428
- }
429
- )
430
- ] })
431
- ), T = f === "embedded" ? g ? F : q : K;
432
- return R ? /* @__PURE__ */ a(
433
- ma,
434
- {
435
- ref: w,
436
- theme: W,
437
- accessible: P,
438
- className: "ds:contents",
439
- "data-component": "marketplace-app-shell",
440
- children: T
441
- }
442
- ) : /* @__PURE__ */ a(
443
- "div",
444
- {
445
- ref: w,
446
- className: "ds:contents",
447
- "data-component": "marketplace-app-shell",
448
- children: T
449
- }
450
- );
451
- }
452
- );
453
- Aa.displayName = "MarketplaceAppShell";
454
- const za = h(
455
- "ds:flex ds:min-h-dvh ds:bg-[color:var(--app-shell-background)]",
456
- {
457
- variants: {
458
- layout: {
459
- card: "",
460
- split: "ds:flex-col ds:lg:flex-row"
461
- }
462
- },
463
- defaultVariants: { layout: "card" }
464
- }
465
- ), Ta = h("ds:w-full", {
466
- variants: {
467
- layout: {
468
- card: "ds:max-w-[400px]",
469
- split: "ds:max-w-[400px] ds:lg:max-w-[480px]"
470
- }
471
- },
472
- defaultVariants: { layout: "card" }
473
- }), Ma = h("", {
474
- variants: {
475
- layout: { card: "", split: "ds:lg:hidden" }
476
- },
477
- defaultVariants: { layout: "card" }
478
- }), Ia = y(
479
- ({
480
- productName: s,
481
- title: n,
482
- description: e,
483
- connectLabel: t,
484
- status: d = "idle",
485
- error: l,
486
- onConnect: m,
487
- footer: o,
488
- layout: i = "card",
489
- brandPanel: c,
490
- className: u
491
- }, f) => /* @__PURE__ */ r(
492
- "div",
493
- {
494
- ref: f,
495
- "data-component": "connect-with-alfadocs",
496
- className: `${za({ layout: i })} ${u ?? ""}`,
497
- children: [
498
- i === "split" ? (
499
- // Desktop brand panel (lg+ only): a bold `--primary` surface with the
500
- // monochrome lockup riding the `--primary-foreground` ink, plus an
501
- // optional `brandPanel` slot. Decorative — the card carries the real
502
- // heading + CTA, and shows its own lockup below `lg:`.
503
- /* @__PURE__ */ r("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: [
504
- /* @__PURE__ */ a(
505
- x,
506
- {
507
- name: s,
508
- size: "lg",
509
- monochrome: !0,
510
- tone: "inherit",
511
- variant: "maker"
512
- }
513
- ),
514
- c ? /* @__PURE__ */ a("div", { className: "type-body ds:max-w-[28rem] ds:text-start", children: c }) : null
515
- ] })
516
- ) : null,
517
- /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ a(B, { className: Ta({ layout: i }), children: /* @__PURE__ */ r(B.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center", children: [
518
- /* @__PURE__ */ a(
519
- x,
520
- {
521
- name: s,
522
- size: "lg",
523
- variant: "maker",
524
- className: Ma({ layout: i })
525
- }
526
- ),
527
- /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
528
- /* @__PURE__ */ a("h1", { className: "type-title-card", children: n }),
529
- /* @__PURE__ */ a("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: e })
530
- ] }),
531
- d === "error" && l ? /* @__PURE__ */ a(Q, { variant: "error", className: "ds:w-full ds:text-start", children: l }) : null,
532
- /* @__PURE__ */ a(
533
- ta,
534
- {
535
- intent: "primary",
536
- className: "ds:w-full",
537
- loading: d === "connecting",
538
- onClick: m,
539
- label: t,
540
- "data-testid": "connect-with-alfadocs-button"
541
- }
542
- ),
543
- o ? /* @__PURE__ */ a("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: o }) : null
544
- ] }) }) })
545
- ]
546
- }
547
- )
548
- );
549
- Ia.displayName = "ConnectWithAlfadocs";
550
- export {
551
- Ia as C,
552
- Aa as M,
553
- x as P
554
- };
555
- //# sourceMappingURL=marketplace-app-shell-BZcA9Z06.js.map