@alfadocs/ui-kit 1.59.0 → 1.61.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 (312) hide show
  1. package/dist/_chunks/{actions-cell-renderer-KoO3EYrZ.js → actions-cell-renderer-CZWGQFKV.js} +3 -3
  2. package/dist/_chunks/{agenda-tray-D3GH9t3T.js → agenda-tray-DU7O5Z7R.js} +3 -3
  3. package/dist/_chunks/{ai-credits-notice-DAxBt_wr.js → ai-credits-notice-MBgQXxsx.js} +3 -3
  4. package/dist/_chunks/{ai-permission-notice-htJegWcH.js → ai-permission-notice-BJHutKLE.js} +2 -2
  5. package/dist/_chunks/{ai-prompt-input-DRNqTCSK.js → ai-prompt-input-Dzos37rf.js} +2 -2
  6. package/dist/_chunks/{alia-sidebar-bMVUsMmJ.js → alia-sidebar-CU3mVL9J.js} +7 -7
  7. package/dist/_chunks/{anamnesis-card-Bh7Tg6i-.js → anamnesis-card-VjJOUl-t.js} +2 -2
  8. package/dist/_chunks/{anamnesis-summary-rows-D9cFUeXk.js → anamnesis-summary-rows-C5F08WT6.js} +7 -7
  9. package/dist/_chunks/{appointment-peek-drkQF54M.js → appointment-peek-BvzXHYiD.js} +3 -3
  10. package/dist/_chunks/{appointment-timeline-C3mTzaUm.js → appointment-timeline-r-q97cec.js} +4 -4
  11. package/dist/_chunks/{appointment-tray-CUBBT4mL.js → appointment-tray-DF_R9ldY.js} +3 -3
  12. package/dist/_chunks/{audio-recorder-B1TpJoMu.js → audio-recorder-Cssm6jVh.js} +3 -3
  13. package/dist/_chunks/{balance-badge-cell-BC92nTi9.js → balance-badge-cell-DMG06b2C.js} +4 -4
  14. package/dist/_chunks/{bishop-score-BOjlxLzL.js → bishop-score-DxfkcxiV.js} +2 -2
  15. package/dist/_chunks/{bmi-calculator-JNiTHdYJ.js → bmi-calculator-B4kgPqt5.js} +2 -2
  16. package/dist/_chunks/{booking-BdWwr_NM.js → booking-CXaqmdF7.js} +5 -5
  17. package/dist/_chunks/{button-CnUVJg1Y.js → button-D-MQxsA_.js} +66 -57
  18. package/dist/_chunks/{button-group-DLqAoowT.js → button-group-Cfpyu6pc.js} +2 -2
  19. package/dist/_chunks/{calendar-KihOHLCs.js → calendar-DNTVaK6b.js} +2 -2
  20. package/dist/_chunks/{calendar-workspace-DD378Xg8.js → calendar-workspace-UL5xcpWa.js} +21 -21
  21. package/dist/_chunks/{care-plan-card-Cd1En8-p.js → care-plan-card-DFQbU_Gd.js} +2 -2
  22. package/dist/_chunks/{care-plan-entry-card-FIYdF44t.js → care-plan-entry-card-bj784KRk.js} +2 -2
  23. package/dist/_chunks/{care-plan-header-DgPAJWS4.js → care-plan-header-DDhyAfVK.js} +2 -2
  24. package/dist/_chunks/{carousel.agent-C7MXzwUi.js → carousel.agent-Csn24G1k.js} +2 -2
  25. package/dist/_chunks/{chart-0jK6B2ry.js → chart-D7PbNO_M.js} +3 -3
  26. package/dist/_chunks/{chat-input-1c4k4-uk.js → chat-input-Ck34Pnmp.js} +2 -2
  27. package/dist/_chunks/{chat-message-Bv9eW1NW.js → chat-message-DU0X3Xnl.js} +3 -3
  28. package/dist/_chunks/{code-block-DWVvOrUF.js → code-block-DiC4bg-o.js} +2 -2
  29. package/dist/_chunks/{connection-status-D-Zeqpr3.js → connection-status-BAnuwayz.js} +3 -3
  30. package/dist/_chunks/{contact-profile-card-DJe2ld0g.js → contact-profile-card-JTRbnbxy.js} +2 -2
  31. package/dist/_chunks/{control-room-rail-DgS2snUz.js → control-room-rail-BbBEIdws.js} +3 -3
  32. package/dist/_chunks/{copy-field-CY1f0k7O.js → copy-field-BCT7APRE.js} +2 -2
  33. package/dist/_chunks/{cycle-calculator-sOOESGEG.js → cycle-calculator-BuFi6ZJa.js} +2 -2
  34. package/dist/_chunks/dashboard-grid-DRnhIlT-.js +1404 -0
  35. package/dist/_chunks/{data-table-DjDuXaQB.js → data-table-DAPkhyXO.js} +6 -6
  36. package/dist/_chunks/{data-table-tabs-BsCll8sH.js → data-table-tabs-2t0cdk0h.js} +3 -3
  37. package/dist/_chunks/{description-list-ZWlFfbOy.js → description-list-CFEw__MT.js} +2 -2
  38. package/dist/_chunks/{dev-bypass-button-m-eXU2PU.js → dev-bypass-button-dTuUuzsT.js} +2 -2
  39. package/dist/_chunks/{document-preview-E6od-Yy0.js → document-preview-DYX669jE.js} +2 -2
  40. package/dist/_chunks/{document-scanner-DDOMMswN.js → document-scanner-C41n4pNq.js} +2 -2
  41. package/dist/_chunks/{due-date-calculator-rtMADvJ8.js → due-date-calculator-yYvX8Ww_.js} +2 -2
  42. package/dist/_chunks/{editable-currency-cell-renderer-DTtF6IIr.js → editable-currency-cell-renderer-6LDFAWUE.js} +3 -3
  43. package/dist/_chunks/{editable-description-CriawIum.js → editable-description-D9FsTi8e.js} +3 -3
  44. package/dist/_chunks/{editor-overlay-CbFUYsVk.js → editor-overlay-BYkcaLCj.js} +2 -2
  45. package/dist/_chunks/{empty-state-BN_R5AzQ.js → empty-state-pL1qum99.js} +2 -2
  46. package/dist/_chunks/{entity-summary-CoCUJe3N.js → entity-summary-oD_63dlz.js} +3 -3
  47. package/dist/_chunks/{error-boundary-BlwcM1KR.js → error-boundary-Dzgu3O6W.js} +2 -2
  48. package/dist/_chunks/{error-page-B0ER6tPK.js → error-page-DirZKDz2.js} +2 -2
  49. package/dist/_chunks/{face-scheme-BunF1rjI.js → face-scheme-C-5V3MsY.js} +5 -5
  50. package/dist/_chunks/{fetal-weight-67yvef3S.js → fetal-weight-CHv2winC.js} +2 -2
  51. package/dist/_chunks/{field-array-BVitwPIt.js → field-array-dSkD_ePA.js} +3 -3
  52. package/dist/_chunks/{file-manager-YXtUu76I.js → file-manager-C8bdHsYy.js} +7 -7
  53. package/dist/_chunks/{finished-terminal-DdLHDe_5.js → finished-terminal-DuF3xrUv.js} +2 -2
  54. package/dist/_chunks/{fiscal-code-input-Dsa1M6VK.js → fiscal-code-input-BSWwda0C.js} +2 -2
  55. package/dist/_chunks/{forgot-password-form-C2ibWCZT.js → forgot-password-form-CGWV5Q1-.js} +2 -2
  56. package/dist/_chunks/{freemium-paywall-C8CXWbhO.js → freemium-paywall-DjjVPC-5.js} +2 -2
  57. package/dist/_chunks/{gestational-age-calculator-DT8XDFVK.js → gestational-age-calculator-BLccWS_4.js} +2 -2
  58. package/dist/_chunks/{hcg-doubling-BxggoYNV.js → hcg-doubling-CnrY2OVu.js} +2 -2
  59. package/dist/_chunks/{header-C0XQZtu6.js → header-BVHAt7Fi.js} +2 -2
  60. package/dist/_chunks/{header-settings-BJ6M2p9Q.js → header-settings-C200bKyp.js} +3 -3
  61. package/dist/_chunks/{heatmap-COoukTUe.js → heatmap-CRMr7VWC.js} +6 -6
  62. package/dist/_chunks/{help-me-write-templates-DpcMweG1.js → help-me-write-templates-C9T8-DcT.js} +5 -5
  63. package/dist/_chunks/{hover-card-s2qD4RAz.js → hover-card-DbTmj-ea.js} +2 -2
  64. package/dist/_chunks/{icon-button-CsOGhuRB.js → icon-button-dNE6ENLn.js} +12 -9
  65. package/dist/_chunks/{icon-button-group-Cap4-Idv.js → icon-button-group-Du8IvZek.js} +2 -2
  66. package/dist/_chunks/{icon-picker-BbO2FB4y.js → icon-picker-D5NdDbCL.js} +3 -3
  67. package/dist/_chunks/{image-cropper-DXqCUezS.js → image-cropper-s8ej8cxa.js} +2 -2
  68. package/dist/_chunks/{info-tip-CJqR9fhi.js → info-tip-DObdz3w3.js} +2 -2
  69. package/dist/_chunks/{insert-result-BUEtHFMg.js → insert-result-h3WL-gMo.js} +2 -2
  70. package/dist/_chunks/{key-value-pair-BN5lWXcB.js → key-value-pair-BNYHAZwD.js} +2 -2
  71. package/dist/_chunks/{kit-extensions-BVtvnev_.js → kit-extensions-DI2nHVNw.js} +6 -6
  72. package/dist/_chunks/{link-cell-renderer-BZmRw_Yi.js → link-cell-renderer-DvhzS6lu.js} +2 -2
  73. package/dist/_chunks/{locale-picker-DVWHnuDN.js → locale-picker-Bu4YE5b2.js} +3 -3
  74. package/dist/_chunks/{login-dev-card-DQioAtdz.js → login-dev-card-DwWWHclZ.js} +2 -2
  75. package/dist/_chunks/{map-view-9Ro_P8O8.js → map-view-BuVfJMEa.js} +2 -2
  76. package/dist/_chunks/{marketplace-app-shell-DnuHxuoE.js → marketplace-app-shell-p6hPgVwy.js} +279 -236
  77. package/dist/_chunks/{message-card-BNoaKInS.js → message-card-CvZlo3Fn.js} +3 -3
  78. package/dist/_chunks/{message-tray-D4R0boMJ.js → message-tray-DrS_LOed.js} +4 -4
  79. package/dist/_chunks/{notes-panel-0Wots8rp.js → notes-panel-6TElt7jQ.js} +4 -4
  80. package/dist/_chunks/{notification-card-DRLmYlL8.js → notification-card-Qrs52HIA.js} +3 -3
  81. package/dist/_chunks/{notification-tray-qrSc9Fcs.js → notification-tray-DRm1z97G.js} +4 -4
  82. package/dist/_chunks/{optical-prescription-B0ap3kGl.js → optical-prescription-DLIAhJ6f.js} +2 -2
  83. package/dist/_chunks/{panel-subview-Bs0WhwR9.js → panel-subview-CjZgdWwO.js} +2 -2
  84. package/dist/_chunks/{patient-details-C6buDwuI.js → patient-details-BjqKBY2x.js} +3 -3
  85. package/dist/_chunks/{patient-field-row-CKb4FIaM.js → patient-field-row-BiI0BPPK.js} +6 -6
  86. package/dist/_chunks/{patient-search-Cgv8Pjsc.js → patient-search-B5R7FyFO.js} +2 -2
  87. package/dist/_chunks/{patient-summary-card-DWx0emu2.js → patient-summary-card-BOgnWKRV.js} +5 -5
  88. package/dist/_chunks/{payment-automation-upsell-BAJwtVCs.js → payment-automation-upsell-39d5ykBi.js} +2 -2
  89. package/dist/_chunks/{payment-request-card-BNiZqIzT.js → payment-request-card-E3G4aVt6.js} +3 -3
  90. package/dist/_chunks/{periodontal-chart-DMWiP5Ti.js → periodontal-chart-BZ1d6S36.js} +2 -2
  91. package/dist/_chunks/{periodontal-chart-card-D2ZFjN7G.js → periodontal-chart-card-BE5hiQnn.js} +2 -2
  92. package/dist/_chunks/{popover-CltTC2Rg.js → popover-DQr_tljb.js} +2 -2
  93. package/dist/_chunks/{practice-results-PINvX-1g.js → practice-results-Cktx7KaC.js} +5 -5
  94. package/dist/_chunks/{pregnancy-dating-BNSWXA0p.js → pregnancy-dating-26fcvhAx.js} +2 -2
  95. package/dist/_chunks/{pregnancy-weight-gain-CI7R6sA6.js → pregnancy-weight-gain-D8q1IUCT.js} +2 -2
  96. package/dist/_chunks/{privacy-lock-CqLxFiLE.js → privacy-lock-BpVgSgMb.js} +3 -3
  97. package/dist/_chunks/{privacy-mask-CUnJv35j.js → privacy-mask-BfMC57ST.js} +2 -2
  98. package/dist/_chunks/{product-hub-panel-MbiHZwjC.js → product-hub-panel-CH4B49ij.js} +3 -3
  99. package/dist/_chunks/{public-header.agent-1MZVDYY1.js → public-header.agent-BHTDKMsw.js} +3 -3
  100. package/dist/_chunks/{radiograph-panel.agent-CpKvvZIU.js → radiograph-panel.agent-DR0gOeSc.js} +4 -4
  101. package/dist/_chunks/{registration-form-JYravsvu.js → registration-form-B8IeB9kd.js} +3 -3
  102. package/dist/_chunks/{reviews-panel-B1Xirvh4.js → reviews-panel-CHzDqerd.js} +4 -4
  103. package/dist/_chunks/{rich-text-editor-CZXnqI3-.js → rich-text-editor-BRuTo2hm.js} +8 -8
  104. package/dist/_chunks/{session-countdown-DAyI9Wye.js → session-countdown-DWY61IcV.js} +2 -2
  105. package/dist/_chunks/{sheet-D_bERXP2.js → sheet-CqvPYNLn.js} +2 -2
  106. package/dist/_chunks/sidebar-C9Zof0z1.js +2571 -0
  107. package/dist/_chunks/{sign-in-with-alfadocs-button-WfdfqQ8O.js → sign-in-with-alfadocs-button-CIv0GgeA.js} +2 -2
  108. package/dist/_chunks/{signature-request-BZIs36nH.js → signature-request-BH7yKI01.js} +3 -3
  109. package/dist/_chunks/{signed-out-frame-BR5sJSNX.js → signed-out-frame-eaOWHpDr.js} +3 -3
  110. package/dist/_chunks/{slot-grid-JU--9C6W.js → slot-grid-DELa2Nwz.js} +4 -4
  111. package/dist/_chunks/{streaming-text-COuXesoR.js → streaming-text-bPDoG7Y3.js} +2 -2
  112. package/dist/_chunks/{task-card-D9ngXO7p.js → task-card-zaTU1rQa.js} +2 -2
  113. package/dist/_chunks/{task-editor-B7xb-mMs.js → task-editor-CgGcg-2c.js} +6 -6
  114. package/dist/_chunks/{task-tray-BAW_wbTO.js → task-tray-DGMwogWu.js} +4 -4
  115. package/dist/_chunks/{tasks-panel-DQvN3TiB.js → tasks-panel-xGtiEdcj.js} +6 -6
  116. package/dist/_chunks/{theme-toggle-CfjLDUfK.js → theme-toggle-_cfYEK73.js} +3 -3
  117. package/dist/_chunks/{toast-2y0czYHr.js → toast-CNUydTgT.js} +2 -2
  118. package/dist/_chunks/{token-insert-menu-BzNAHiND.js → token-insert-menu-CQvV4u1m.js} +2 -2
  119. package/dist/_chunks/{tool-rail-DQ5qTv4l.js → tool-rail-Blgibz0a.js} +2 -2
  120. package/dist/_chunks/{tooth-scheme-CLyS9UUW.js → tooth-scheme-05DsRMA5.js} +2 -2
  121. package/dist/_chunks/{unit-converter-W62N99Mw.js → unit-converter-BPZ0Ldkb.js} +2 -2
  122. package/dist/_chunks/{use-appointment-details-read-Ba1DBPr7.js → use-appointment-details-read-BGVthJFx.js} +12 -12
  123. package/dist/_chunks/{voice-control-panel-p7WMTj4D.js → voice-control-panel-DyKEaFxt.js} +4 -4
  124. package/dist/_chunks/{warning-stack-DGPuJNVD.js → warning-stack-CAL9xVo1.js} +3 -3
  125. package/dist/_chunks/{workflow-map-DFuVff8U.js → workflow-map-BUYG1oXU.js} +5 -5
  126. package/dist/agent-catalog.json +62 -2
  127. package/dist/agent-i18n/en.json +7 -3
  128. package/dist/components/_shared/aria-keyshortcuts.d.ts +5 -0
  129. package/dist/components/agenda-tray/index.js +1 -1
  130. package/dist/components/ai-credits-notice/index.js +1 -1
  131. package/dist/components/ai-permission-notice/index.js +1 -1
  132. package/dist/components/ai-prompt-input/index.js +1 -1
  133. package/dist/components/anamnesis-card/index.js +1 -1
  134. package/dist/components/appointment-card/index.js +1 -1
  135. package/dist/components/appointment-details-panel/index.js +1 -1
  136. package/dist/components/appointment-peek/index.js +1 -1
  137. package/dist/components/appointment-timeline/index.js +1 -1
  138. package/dist/components/audio-recorder/index.js +1 -1
  139. package/dist/components/bishop-score/index.js +1 -1
  140. package/dist/components/bmi-calculator/index.js +1 -1
  141. package/dist/components/booking/index.js +1 -1
  142. package/dist/components/button/index.js +2 -2
  143. package/dist/components/button-group/index.js +1 -1
  144. package/dist/components/calendar/index.js +1 -1
  145. package/dist/components/care-plan-card/index.js +1 -1
  146. package/dist/components/care-plan-entry-card/index.js +1 -1
  147. package/dist/components/care-plan-header/index.js +1 -1
  148. package/dist/components/carousel/index.js +1 -1
  149. package/dist/components/chart/index.js +1 -1
  150. package/dist/components/chat-input/index.js +1 -1
  151. package/dist/components/chat-message/index.js +1 -1
  152. package/dist/components/connection-status/index.js +1 -1
  153. package/dist/components/contact-profile-card/index.js +1 -1
  154. package/dist/components/control-room-rail/index.js +1 -1
  155. package/dist/components/copy-field/index.js +1 -1
  156. package/dist/components/cycle-calculator/index.js +1 -1
  157. package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +16 -4
  158. package/dist/components/dashboard-grid/dashboard-grid.d.ts +42 -2
  159. package/dist/components/dashboard-grid/index.d.ts +1 -1
  160. package/dist/components/dashboard-grid/index.js +1 -1
  161. package/dist/components/data-table/data-table.d.ts +1 -1
  162. package/dist/components/data-table/index.js +4 -4
  163. package/dist/components/data-table/toolbar.d.ts +1 -1
  164. package/dist/components/data-table-tabs/index.js +1 -1
  165. package/dist/components/description-list/index.js +1 -1
  166. package/dist/components/dev-bypass-button/index.js +1 -1
  167. package/dist/components/document-preview/index.js +1 -1
  168. package/dist/components/document-scanner/index.js +1 -1
  169. package/dist/components/due-date-calculator/index.js +1 -1
  170. package/dist/components/editable-description/index.js +1 -1
  171. package/dist/components/editor-overlay/index.js +1 -1
  172. package/dist/components/empty-state/index.js +1 -1
  173. package/dist/components/entity-summary/index.js +1 -1
  174. package/dist/components/error-boundary/index.js +1 -1
  175. package/dist/components/face-scheme/index.js +1 -1
  176. package/dist/components/fetal-weight/index.js +1 -1
  177. package/dist/components/field-array/index.js +1 -1
  178. package/dist/components/file-manager/index.js +1 -1
  179. package/dist/components/finished-terminal/index.js +1 -1
  180. package/dist/components/fiscal-code-input/index.js +1 -1
  181. package/dist/components/freemium-paywall/index.js +1 -1
  182. package/dist/components/gestational-age-calculator/index.js +1 -1
  183. package/dist/components/hcg-doubling/index.js +1 -1
  184. package/dist/components/header/index.js +1 -1
  185. package/dist/components/header-settings/index.js +1 -1
  186. package/dist/components/heatmap/index.js +1 -1
  187. package/dist/components/hover-card/index.js +1 -1
  188. package/dist/components/icon-button/index.js +1 -1
  189. package/dist/components/icon-button-group/index.js +1 -1
  190. package/dist/components/icon-picker/index.js +1 -1
  191. package/dist/components/image-cropper/index.js +1 -1
  192. package/dist/components/info-tip/index.js +1 -1
  193. package/dist/components/key-value-pair/index.js +1 -1
  194. package/dist/components/locale-picker/index.js +1 -1
  195. package/dist/components/map-view/index.js +1 -1
  196. package/dist/components/message-card/index.js +1 -1
  197. package/dist/components/message-tray/index.js +1 -1
  198. package/dist/components/notes-panel/index.js +1 -1
  199. package/dist/components/notification-card/index.js +1 -1
  200. package/dist/components/notification-tray/index.js +1 -1
  201. package/dist/components/optical-prescription/index.js +1 -1
  202. package/dist/components/panel-subview/index.js +1 -1
  203. package/dist/components/patient-details/index.js +1 -1
  204. package/dist/components/patient-search/index.js +1 -1
  205. package/dist/components/patient-summary-card/index.js +1 -1
  206. package/dist/components/patient-table/index.js +1 -1
  207. package/dist/components/payment-card/index.js +1 -1
  208. package/dist/components/periodontal-chart/index.js +1 -1
  209. package/dist/components/periodontal-chart-card/index.js +1 -1
  210. package/dist/components/popover/index.js +1 -1
  211. package/dist/components/practice-results/index.js +1 -1
  212. package/dist/components/pregnancy-dating/index.js +1 -1
  213. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  214. package/dist/components/privacy-lock/index.js +1 -1
  215. package/dist/components/product-hub-tray/index.js +1 -1
  216. package/dist/components/public-header/index.js +1 -1
  217. package/dist/components/radiograph-panel/index.js +1 -1
  218. package/dist/components/reviews-panel/index.js +1 -1
  219. package/dist/components/rich-text-editor/index.js +2 -2
  220. package/dist/components/session-countdown/index.js +1 -1
  221. package/dist/components/sheet/index.js +1 -1
  222. package/dist/components/sidebar/index.d.ts +2 -2
  223. package/dist/components/sidebar/index.js +24 -21
  224. package/dist/components/sidebar/sidebar.d.ts +61 -1
  225. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  226. package/dist/components/slot-grid/index.js +1 -1
  227. package/dist/components/streaming-text/index.js +1 -1
  228. package/dist/components/task-card/index.js +1 -1
  229. package/dist/components/task-editor/index.js +1 -1
  230. package/dist/components/task-tray/index.js +1 -1
  231. package/dist/components/tasks-panel/index.js +1 -1
  232. package/dist/components/theme-toggle/index.js +1 -1
  233. package/dist/components/toast/index.js +1 -1
  234. package/dist/components/token-insert-menu/index.js +1 -1
  235. package/dist/components/tool-rail/index.js +1 -1
  236. package/dist/components/tooth-scheme/index.js +1 -1
  237. package/dist/components/unit-converter/index.js +1 -1
  238. package/dist/components/voice-control-panel/index.js +1 -1
  239. package/dist/components/warning-stack/index.js +1 -1
  240. package/dist/components/workflow/index.js +1 -1
  241. package/dist/i18n/locales/ar.d.ts +3 -0
  242. package/dist/i18n/locales/ar.js +3 -0
  243. package/dist/i18n/locales/de.d.ts +3 -0
  244. package/dist/i18n/locales/de.js +3 -0
  245. package/dist/i18n/locales/el.d.ts +3 -0
  246. package/dist/i18n/locales/el.js +3 -0
  247. package/dist/i18n/locales/en.d.ts +3 -0
  248. package/dist/i18n/locales/en.js +3 -0
  249. package/dist/i18n/locales/es.d.ts +3 -0
  250. package/dist/i18n/locales/es.js +3 -0
  251. package/dist/i18n/locales/fr.d.ts +3 -0
  252. package/dist/i18n/locales/fr.js +3 -0
  253. package/dist/i18n/locales/hi.d.ts +3 -0
  254. package/dist/i18n/locales/hi.js +3 -0
  255. package/dist/i18n/locales/it.d.ts +3 -0
  256. package/dist/i18n/locales/it.js +3 -0
  257. package/dist/i18n/locales/ja.d.ts +3 -0
  258. package/dist/i18n/locales/ja.js +3 -0
  259. package/dist/i18n/locales/nl.d.ts +3 -0
  260. package/dist/i18n/locales/nl.js +3 -0
  261. package/dist/i18n/locales/pl.d.ts +3 -0
  262. package/dist/i18n/locales/pl.js +3 -0
  263. package/dist/i18n/locales/pt.d.ts +3 -0
  264. package/dist/i18n/locales/pt.js +3 -0
  265. package/dist/i18n/locales/ro.d.ts +3 -0
  266. package/dist/i18n/locales/ro.js +3 -0
  267. package/dist/i18n/locales/ru.d.ts +3 -0
  268. package/dist/i18n/locales/ru.js +3 -0
  269. package/dist/i18n/locales/sq.d.ts +3 -0
  270. package/dist/i18n/locales/sq.js +3 -0
  271. package/dist/i18n/locales/sv.d.ts +3 -0
  272. package/dist/i18n/locales/sv.js +3 -0
  273. package/dist/i18n/locales/tr.d.ts +3 -0
  274. package/dist/i18n/locales/tr.js +3 -0
  275. package/dist/i18n/locales/zh.d.ts +3 -0
  276. package/dist/i18n/locales/zh.js +3 -0
  277. package/dist/index.js +775 -772
  278. package/dist/locales/ar.json +3 -0
  279. package/dist/locales/de.json +3 -0
  280. package/dist/locales/el.json +3 -0
  281. package/dist/locales/en.json +3 -0
  282. package/dist/locales/es.json +3 -0
  283. package/dist/locales/fr.json +3 -0
  284. package/dist/locales/hi.json +3 -0
  285. package/dist/locales/it.json +3 -0
  286. package/dist/locales/ja.json +3 -0
  287. package/dist/locales/nl.json +3 -0
  288. package/dist/locales/pl.json +3 -0
  289. package/dist/locales/pt.json +3 -0
  290. package/dist/locales/ro.json +3 -0
  291. package/dist/locales/ru.json +3 -0
  292. package/dist/locales/sq.json +3 -0
  293. package/dist/locales/sv.json +3 -0
  294. package/dist/locales/tr.json +3 -0
  295. package/dist/locales/zh.json +3 -0
  296. package/dist/patterns/alia-assistant/index.js +1 -1
  297. package/dist/patterns/anamnesis/index.js +1 -1
  298. package/dist/patterns/calendar/index.js +1 -1
  299. package/dist/patterns/error-page/index.js +1 -1
  300. package/dist/patterns/forgot-password-form/index.js +1 -1
  301. package/dist/patterns/help-me-write-templates/index.js +1 -1
  302. package/dist/patterns/login-form/index.js +1 -1
  303. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  304. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +23 -4
  305. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  306. package/dist/patterns/registration-form/index.js +1 -1
  307. package/dist/patterns/signature-request/index.js +1 -1
  308. package/dist/patterns/signed-out-frame/index.js +1 -1
  309. package/dist/tokens.css +1 -1
  310. package/package.json +1 -1
  311. package/dist/_chunks/dashboard-grid-SAGjktTs.js +0 -933
  312. package/dist/_chunks/sidebar-D_S2-SXH.js +0 -2165
@@ -1,28 +1,28 @@
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(
1
+ import { jsxs as n, jsx as e, Fragment as H } from "react/jsx-runtime";
2
+ import { forwardRef as V, useState as he, useCallback as ve, useEffect as _, useRef as K } from "react";
3
+ import { useTranslation as B, Trans as ge } from "react-i18next";
4
+ import { c as p } from "./index-D2ZczOXr.js";
5
+ import { A as Q } from "./app-frame-CqmDh2v5.js";
6
+ import { A as q } from "./avatar-WZY3eGE7.js";
7
+ import { A as xe } from "./alert-BhCstf2h.js";
8
+ import { C as F } from "./card-BA4Ig_kn.js";
9
+ import { D as u } from "./dropdown-menu-D1we7oAY.js";
10
+ import { T as be } from "./tab-bar-5GppbMGc.js";
11
+ import { a as U, H as ke, g as we, f as Y, e as Ne, c as ye, d as Se } from "./header-BVHAt7Fi.js";
12
+ import { H as Ce } from "./header-settings-C200bKyp.js";
13
+ import { S as Ae } from "./sign-in-with-alfadocs-button-CIv0GgeA.js";
14
+ import { S as Te, a as Z, v as Ee, h as Me, c as ze, r as Ie, b as Le, l as He, m as Ve, k as Be, j as G } from "./sidebar-C9Zof0z1.js";
15
+ import { N as Re } from "./navigation-dismiss-B1mcW1CT.js";
16
+ import { T as De } from "./theme-root-BOO73p5t.js";
17
+ import { a as J } from "./tooltip-Cp-PLePW.js";
18
+ import { u as Oe } from "./use-theme-CAuo6EYT.js";
19
+ import { u as je } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
20
+ import { u as Pe } from "./use-media-query-CcAx5SMM.js";
21
+ import { A as $e, L as We } from "./logo-hIsyVE96.js";
22
+ import { A as _e } from "./Alfadocs_Logo_Mark-Z_b6ZI1g.js";
23
+ import { M as Ke } from "./maximize-2-BYd2Kti7.js";
24
+ import { L as Qe } from "./log-out-oDS6zO5d.js";
25
+ const qe = p("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), Fe = p(
26
26
  [
27
27
  "ds:[font-family:var(--font-serif)]",
28
28
  "ds:font-semibold",
@@ -63,7 +63,7 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
63
63
  },
64
64
  defaultVariants: { size: "md", tone: "gradient" }
65
65
  }
66
- ), We = u("ds:whitespace-nowrap", {
66
+ ), Ue = p("ds:whitespace-nowrap", {
67
67
  variants: {
68
68
  size: {
69
69
  sm: "ds:[--lockup-unit:var(--logo-size-sm)]",
@@ -73,31 +73,31 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
73
73
  }
74
74
  },
75
75
  defaultVariants: { size: "md" }
76
- }), C = H(
76
+ }), y = V(
77
77
  ({
78
78
  name: s,
79
- variant: t = "standard",
79
+ variant: d = "standard",
80
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)]";
81
+ tone: t = "auto",
82
+ size: r = "md",
83
+ className: l,
84
+ ...o
85
+ }, c) => {
86
+ const { t: i } = B("ui");
87
+ if (d === "maker") {
88
+ const m = t === "inherit", f = m ? "" : a ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", b = m ? "" : a ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", C = m ? "" : "ds:text-[color:var(--muted-foreground)]", A = m ? "" : "ds:text-[color:var(--foreground)]";
89
89
  return /* @__PURE__ */ n(
90
90
  "span",
91
91
  {
92
- ref: o,
92
+ ref: c,
93
93
  role: "img",
94
- "aria-label": l("productLockup.makerLabel", { name: s.trim() }),
95
- className: We({ size: d, className: i }),
94
+ "aria-label": i("productLockup.makerLabel", { name: s.trim() }),
95
+ className: Ue({ size: r, className: l }),
96
96
  "data-component": "product-lockup",
97
- ...m,
97
+ ...o,
98
98
  children: [
99
99
  /* @__PURE__ */ e(
100
- Oe,
100
+ _e,
101
101
  {
102
102
  "aria-hidden": !0,
103
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}`
@@ -115,21 +115,21 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
115
115
  "span",
116
116
  {
117
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}`,
118
+ className: `ds:align-text-top ds:ms-[var(--spacing-sm)] ds:inline-flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ${C}`,
119
119
  children: /* @__PURE__ */ e(
120
- he,
120
+ ge,
121
121
  {
122
122
  ns: "ui",
123
- t: l,
123
+ t: i,
124
124
  i18nKey: "productLockup.attribution",
125
125
  components: {
126
126
  text: /* @__PURE__ */ e("span", { className: "ds:text-[calc(var(--lockup-unit)*0.4)] ds:leading-none" }),
127
127
  brand: /* @__PURE__ */ e(
128
- De,
128
+ $e,
129
129
  {
130
130
  "aria-hidden": !0,
131
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}`
132
+ className: `ds:h-[calc(var(--lockup-unit)*0.45)] ds:w-auto ds:forced-colors:text-[CanvasText] ${A}`
133
133
  }
134
134
  )
135
135
  }
@@ -144,19 +144,19 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
144
144
  return /* @__PURE__ */ n(
145
145
  "span",
146
146
  {
147
- ref: o,
147
+ ref: c,
148
148
  role: "img",
149
149
  "aria-label": `Alfadocs ${s}`.trim(),
150
- className: $e({ className: i }),
150
+ className: qe({ className: l }),
151
151
  "data-component": "product-lockup",
152
- ...m,
152
+ ...o,
153
153
  children: [
154
154
  /* @__PURE__ */ e(
155
- Ve,
155
+ We,
156
156
  {
157
157
  variant: a ? "monochrome" : "wordmark",
158
- tone: r,
159
- size: d,
158
+ tone: t,
159
+ size: r,
160
160
  decorative: !0
161
161
  }
162
162
  ),
@@ -164,8 +164,8 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
164
164
  "span",
165
165
  {
166
166
  "aria-hidden": !0,
167
- className: je({
168
- size: d,
167
+ className: Fe({
168
+ size: r,
169
169
  tone: a ? "solid" : "gradient"
170
170
  }),
171
171
  children: s
@@ -176,121 +176,158 @@ const $e = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), je =
176
176
  );
177
177
  }
178
178
  );
179
- C.displayName = "ProductLockup";
180
- const _e = "(max-width: 767.98px)";
181
- function Ke(s) {
179
+ y.displayName = "ProductLockup";
180
+ const Ye = "(max-width: 767.98px)";
181
+ function Ge(s) {
182
182
  return s > 99 ? "99+" : String(s);
183
183
  }
184
- function Qe({
184
+ function Je({
185
185
  user: s,
186
- labels: t,
186
+ labels: d,
187
187
  onSignOut: a,
188
- onToggleFullscreen: r
188
+ onToggleFullscreen: t
189
189
  }) {
190
- const { t: d } = B("ui"), i = t.fullscreen ?? d("marketplaceAppShell.settings.fullscreen");
190
+ const { t: r } = B("ui"), l = d.fullscreen ?? r("marketplaceAppShell.settings.fullscreen");
191
191
  return (
192
192
  // Non-modal: an account menu shouldn't inert/aria-hide the whole shell
193
193
  // behind it (which leaves the still-focusable chrome inside an
194
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(
195
+ /* @__PURE__ */ n(u.Root, { modal: !1, children: [
196
+ /* @__PURE__ */ e(u.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
197
197
  "button",
198
198
  {
199
199
  type: "button",
200
- "aria-label": t.accountMenu,
200
+ "aria-label": d.accountMenu,
201
201
  "data-testid": "marketplace-account-trigger",
202
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" }) })
203
+ children: /* @__PURE__ */ e("span", { "aria-hidden": "true", children: /* @__PURE__ */ e(q, { name: s.name, src: s.avatarSrc, size: "md" }) })
204
204
  }
205
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" }) }),
206
+ /* @__PURE__ */ n(u.Content, { align: "end", collisionPadding: 16, children: [
207
+ /* @__PURE__ */ e(u.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
209
  /* @__PURE__ */ n("span", { className: "ds:flex ds:flex-col ds:min-w-0", children: [
210
210
  /* @__PURE__ */ e("span", { className: "type-label ds:text-[color:var(--foreground)] ds:truncate", children: s.name }),
211
211
  s.email ? /* @__PURE__ */ e("span", { className: "type-meta ds:truncate", children: s.email }) : null
212
212
  ] })
213
213
  ] }) }),
214
- r ? /* @__PURE__ */ n(L, { children: [
215
- /* @__PURE__ */ e(p.Separator, {}),
214
+ t ? /* @__PURE__ */ n(H, { children: [
215
+ /* @__PURE__ */ e(u.Separator, {}),
216
216
  /* @__PURE__ */ e(
217
- p.Item,
217
+ u.Item,
218
218
  {
219
- startIcon: /* @__PURE__ */ e(Re, { "aria-hidden": !0 }),
220
- onSelect: r,
219
+ startIcon: /* @__PURE__ */ e(Ke, { "aria-hidden": !0 }),
220
+ onSelect: t,
221
221
  "data-testid": "marketplace-fullscreen",
222
- children: i
222
+ children: l
223
223
  }
224
224
  )
225
225
  ] }) : null,
226
- /* @__PURE__ */ e(p.Separator, {}),
226
+ /* @__PURE__ */ e(u.Separator, {}),
227
227
  /* @__PURE__ */ e(
228
- p.Item,
228
+ u.Item,
229
229
  {
230
- startIcon: /* @__PURE__ */ e(Pe, { "aria-hidden": !0 }),
230
+ startIcon: /* @__PURE__ */ e(Qe, { "aria-hidden": !0 }),
231
231
  onSelect: a,
232
232
  "data-testid": "marketplace-sign-out",
233
- children: t.signOut
233
+ children: d.signOut
234
234
  }
235
235
  )
236
236
  ] })
237
237
  ] })
238
238
  );
239
239
  }
240
- function qe({
240
+ function Xe({
241
241
  nav: s,
242
- renderLink: t
242
+ renderLink: d
243
243
  }) {
244
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
245
+ const t = typeof a.badgeCount == "number" && a.badgeCount > 0 ? a.badgeCount : void 0, r = /* @__PURE__ */ n(H, { children: [
246
+ a.icon ? /* @__PURE__ */ e(He, { children: a.icon }) : null,
247
+ /* @__PURE__ */ e(Ve, { children: a.label }),
248
+ t !== void 0 ? /* @__PURE__ */ e(Be, { children: Ge(t) }) : null
249
249
  ] });
250
- return t ? /* @__PURE__ */ e(J, { asChild: !0, isActive: a.isActive, children: t({
250
+ return d ? /* @__PURE__ */ e(G, { asChild: !0, isActive: a.isActive, children: d({
251
251
  href: a.href,
252
- children: d,
252
+ children: r,
253
253
  "aria-current": a.isActive ? "page" : void 0
254
254
  }) }, a.id) : /* @__PURE__ */ e(
255
- J,
255
+ G,
256
256
  {
257
257
  href: a.href,
258
258
  "aria-label": a.label,
259
259
  isActive: a.isActive,
260
260
  ...a.onClick ? { onClick: a.onClick } : {},
261
- children: d
261
+ children: r
262
262
  },
263
263
  a.id
264
264
  );
265
265
  }) });
266
266
  }
267
- const Fe = u(
268
- "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]",
267
+ const Ze = p(
268
+ "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
269
+ {
270
+ variants: {
271
+ mode: {
272
+ expanded: "ds:min-w-0 ds:flex-1",
273
+ icon: "ds:items-center",
274
+ overlay: "ds:min-w-0 ds:flex-1"
275
+ }
276
+ },
277
+ defaultVariants: { mode: "expanded" }
278
+ }
279
+ ), ea = p(
280
+ // Wraps rather than push a tool off the edge at the accessible size. Empty
281
+ // when the sections toggle, alone in it, finds no section.
282
+ "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)] ds:empty:hidden",
269
283
  {
270
284
  variants: {
271
285
  mode: {
272
286
  expanded: "",
273
- icon: "",
274
- overlay: "ds:pe-[calc(var(--min-target-size)+var(--spacing-sm))]"
287
+ icon: "ds:flex-col",
288
+ overlay: "ds:justify-end"
275
289
  }
276
290
  },
277
291
  defaultVariants: { mode: "expanded" }
278
292
  }
279
- );
280
- function Ue({
293
+ ), X = (s) => s != null && typeof s != "boolean";
294
+ function aa({
281
295
  collapseTrigger: s,
296
+ sectionsToggle: d,
297
+ actions: a,
282
298
  content: t
283
299
  }) {
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;
300
+ const { mode: r } = Ee(), l = X(a), o = r === "overlay", c = s && !o, i = X(t) && r !== "icon", m = c || d || l || o;
301
+ return !m && !i ? null : (
302
+ // With nothing below it, an empty row hides the whole band too.
303
+ /* @__PURE__ */ e(
304
+ Me,
305
+ {
306
+ className: i ? void 0 : "ds:has-[[data-sidebar-header-row]:empty]:hidden",
307
+ children: /* @__PURE__ */ n("div", { className: Ze({ mode: r }), children: [
308
+ m ? /* @__PURE__ */ n(
309
+ "div",
310
+ {
311
+ "data-sidebar-header-row": "",
312
+ className: ea({ mode: r }),
313
+ children: [
314
+ c ? /* @__PURE__ */ e(ze, {}) : null,
315
+ d ? /* @__PURE__ */ e(Ie, {}) : null,
316
+ l ? a : null,
317
+ o ? /* @__PURE__ */ e(Le, {}) : null
318
+ ]
319
+ }
320
+ ) : null,
321
+ i ? t : null
322
+ ] })
323
+ }
324
+ )
325
+ );
289
326
  }
290
327
  const ee = [
291
328
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
292
329
  "ds:pt-[var(--spacing-lg)] ds:pb-[var(--spacing-md)]"
293
- ].join(" "), I = u("ds:bg-[color:var(--app-shell-background)]", {
330
+ ].join(" "), L = p("ds:bg-[color:var(--app-shell-background)]", {
294
331
  variants: {
295
332
  variant: {
296
333
  standalone: "",
@@ -298,61 +335,64 @@ const ee = [
298
335
  }
299
336
  },
300
337
  defaultVariants: { variant: "standalone" }
301
- }), Ye = "ds:shrink-0 ds:bg-[color:var(--app-shell-background)]";
302
- function Ge({
338
+ }), sa = "ds:shrink-0 ds:bg-[color:var(--app-shell-background)]";
339
+ function ta({
303
340
  nav: s,
304
- ariaLabel: t,
341
+ ariaLabel: d,
305
342
  renderLink: a
306
343
  }) {
307
- const r = a ? ({
308
- href: d,
309
- className: i,
310
- children: m,
311
- "aria-current": o,
312
- "data-tab-id": l
344
+ const t = a ? ({
345
+ href: r,
346
+ className: l,
347
+ children: o,
348
+ "aria-current": c,
349
+ "data-tab-id": i
313
350
  }) => a({
314
- href: d,
315
- className: i,
316
- children: m,
317
- "aria-current": o,
351
+ href: r,
352
+ className: l,
353
+ children: o,
354
+ "aria-current": c,
318
355
  // Forward the agent DOM hook — without it a consumer-router tab is
319
356
  // invisible to `[data-tab-id]` lookups (PRS §26 §6).
320
- "data-tab-id": l
357
+ "data-tab-id": i
321
358
  }) : void 0;
322
359
  return /* @__PURE__ */ e(
323
- ge,
360
+ be,
324
361
  {
325
362
  items: s,
326
- ariaLabel: t,
327
- ...r ? { renderLink: r } : {}
363
+ ariaLabel: d,
364
+ ...t ? { renderLink: t } : {}
328
365
  }
329
366
  );
330
367
  }
331
- const Je = H(
368
+ const ra = V(
332
369
  ({
333
370
  productName: s,
334
- productHref: t = "/",
371
+ productHref: d = "/",
335
372
  nav: a,
336
- renderLink: r,
337
- user: d,
338
- labels: i,
339
- onSignOut: m,
340
- onToggleFullscreen: o,
341
- sidebarState: l,
342
- collapsibleSidebar: c = !1,
373
+ renderLink: t,
374
+ user: r,
375
+ labels: l,
376
+ onSignOut: o,
377
+ onToggleFullscreen: c,
378
+ sidebarState: i,
379
+ collapsibleSidebar: m = !1,
343
380
  sidebarContent: f,
344
381
  sidebarHeader: b,
345
- onMoveSidebarItem: A,
346
- mainAriaLabel: k,
347
- variant: ae = "standalone",
382
+ sidebarActions: C,
383
+ sidebarSectionsToggle: A = !1,
384
+ onSetAllSidebarSectionsOpen: ae,
385
+ onMoveSidebarItem: se,
386
+ mainAriaLabel: T,
387
+ variant: te = "standalone",
348
388
  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,
389
+ children: M
390
+ }, R) => {
391
+ var W;
392
+ const { t: z } = B("ui"), re = t ? /* @__PURE__ */ e(U, { asChild: !0, children: t({
393
+ href: d,
354
394
  children: /* @__PURE__ */ e(
355
- C,
395
+ y,
356
396
  {
357
397
  name: s,
358
398
  size: "md",
@@ -361,11 +401,11 @@ const Je = H(
361
401
  }
362
402
  )
363
403
  }) }) : /* @__PURE__ */ e(
364
- F,
404
+ U,
365
405
  {
366
- href: t,
406
+ href: d,
367
407
  logo: /* @__PURE__ */ e(
368
- C,
408
+ y,
369
409
  {
370
410
  name: s,
371
411
  size: "md",
@@ -374,103 +414,106 @@ const Je = H(
374
414
  }
375
415
  )
376
416
  }
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(() => {
417
+ ), { theme: ne, accessibility: de, resolvedTheme: D } = Oe(), ie = ne !== "system" || de !== "system", le = D.startsWith("dark") ? "dark" : "light", oe = D.endsWith("-accessible"), ce = Pe(Ye), k = i ?? (ce ? "overlay" : void 0), [w, N] = he(!1), h = ve(() => N(!1), []);
418
+ _(() => {
419
+ k !== "overlay" && N(!1);
420
+ }, [k]);
421
+ const I = K(null), O = K(null), j = f === void 0 ? ((W = a.find((v) => v.isActive)) == null ? void 0 : W.id) ?? "" : void 0;
422
+ je(() => {
383
423
  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"]');
424
+ let S = j ?? null;
425
+ if (j === void 0 && I.current) {
426
+ const x = I.current.querySelector('[aria-current="page"]');
387
427
  S = (x == null ? void 0 : x.getAttribute("href")) ?? (x == null ? void 0 : x.textContent) ?? "";
388
428
  }
389
429
  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)
430
+ if (O.current = { open: w, url: v, current: S }, !(g != null && g.open) || !w) return;
431
+ const fe = g.current !== null && S !== null && g.current !== S;
432
+ (g.url !== v || fe) && N(!1);
433
+ }), _(() => {
434
+ if (w)
395
435
  return window.addEventListener("popstate", h), window.addEventListener("hashchange", h), () => {
396
436
  window.removeEventListener("popstate", h), window.removeEventListener("hashchange", h);
397
437
  };
398
- }, [y, h]);
399
- const oe = /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(
400
- K,
438
+ }, [w, h]);
439
+ const me = /* @__PURE__ */ e(J, { children: /* @__PURE__ */ e(
440
+ Q,
401
441
  {
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
442
+ mainAriaLabel: T,
443
+ mainClassName: L({ variant: "standalone" }),
444
+ header: /* @__PURE__ */ n(ke, { children: [
445
+ /* @__PURE__ */ n(we, { children: [
446
+ /* @__PURE__ */ e(Y, { href: "#main-content" }),
447
+ /* @__PURE__ */ e(Ne, { onMenuOpen: () => N(!0) }),
448
+ re
409
449
  ] }),
410
- /* @__PURE__ */ e(Ne, {}),
411
- /* @__PURE__ */ n(ye, { children: [
412
- /* @__PURE__ */ e(we, { size: "sm" }),
450
+ /* @__PURE__ */ e(ye, {}),
451
+ /* @__PURE__ */ n(Se, { children: [
452
+ /* @__PURE__ */ e(Ce, { size: "sm" }),
413
453
  /* @__PURE__ */ e(
414
- Qe,
454
+ Je,
415
455
  {
416
- user: d,
417
- labels: i,
418
- onSignOut: m,
419
- onToggleFullscreen: o
456
+ user: r,
457
+ labels: l,
458
+ onSignOut: o,
459
+ onToggleFullscreen: c
420
460
  }
421
461
  )
422
462
  ] })
423
463
  ] }),
424
464
  sidebar: /* @__PURE__ */ e(
425
- Se,
465
+ Te,
426
466
  {
427
- ref: T,
428
- ...N !== void 0 ? { state: N } : { defaultState: "expanded" },
429
- open: y,
430
- onOpenChange: w,
431
- onMoveItem: A,
467
+ ref: I,
468
+ ...k !== void 0 ? { state: k } : { defaultState: "expanded" },
469
+ open: w,
470
+ onOpenChange: N,
471
+ onMoveItem: se,
472
+ onSetAllSectionsOpen: ae,
432
473
  onClick: (v) => {
433
474
  v.target instanceof Element && v.target.closest("a[href]") && h();
434
475
  },
435
- "aria-label": M("navigation.sidebar.label"),
476
+ "aria-label": z("navigation.sidebar.label"),
436
477
  "data-testid": "marketplace-app-shell-sidebar",
437
- children: /* @__PURE__ */ n(Te.Provider, { value: h, children: [
478
+ children: /* @__PURE__ */ n(Re.Provider, { value: h, children: [
438
479
  /* @__PURE__ */ e(
439
- Ue,
480
+ aa,
440
481
  {
441
- collapseTrigger: c && N === void 0,
482
+ collapseTrigger: m && k === void 0,
483
+ sectionsToggle: A,
484
+ actions: C,
442
485
  content: b
443
486
  }
444
487
  ),
445
- f !== void 0 ? /* @__PURE__ */ e(Z, { children: f }) : /* @__PURE__ */ e(qe, { nav: a, renderLink: r })
488
+ f !== void 0 ? /* @__PURE__ */ e(Z, { children: f }) : /* @__PURE__ */ e(Xe, { nav: a, renderLink: t })
446
489
  ] })
447
490
  }
448
491
  ),
449
492
  endSidebar: E,
450
- children: z
493
+ children: M
451
494
  }
452
- ) }), P = /* @__PURE__ */ n(L, { children: [
453
- /* @__PURE__ */ e(U, { href: "#main-content" }),
495
+ ) }), P = /* @__PURE__ */ n(H, { children: [
496
+ /* @__PURE__ */ e(Y, { href: "#main-content" }),
454
497
  /* @__PURE__ */ e(
455
- Ge,
498
+ ta,
456
499
  {
457
500
  nav: a,
458
- ariaLabel: M("navigation.sidebar.label"),
459
- renderLink: r
501
+ ariaLabel: z("navigation.sidebar.label"),
502
+ renderLink: t
460
503
  }
461
504
  )
462
- ] }), ce = /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(
463
- K,
505
+ ] }), pe = /* @__PURE__ */ e(J, { children: /* @__PURE__ */ e(
506
+ Q,
464
507
  {
465
- mainAriaLabel: k,
466
- mainClassName: I({ variant: "standalone" }),
508
+ mainAriaLabel: T,
509
+ mainClassName: L({ variant: "standalone" }),
467
510
  padded: !1,
468
- header: /* @__PURE__ */ e("div", { className: Ye, children: P }),
511
+ header: /* @__PURE__ */ e("div", { className: sa, children: P }),
469
512
  sidebar: null,
470
513
  endSidebar: E,
471
- children: /* @__PURE__ */ e("div", { className: ee, children: z })
514
+ children: /* @__PURE__ */ e("div", { className: ee, children: M })
472
515
  }
473
- ) }), me = (
516
+ ) }), ue = (
474
517
  // The shell owns the warm-grey canvas; TabBar's strip is transparent and
475
518
  // floats its pill on it, and `<main>` continues the same surface.
476
519
  /* @__PURE__ */ n("div", { className: "ds:flex ds:min-h-dvh ds:flex-col ds:bg-[color:var(--app-shell-background)]", children: [
@@ -480,19 +523,19 @@ const Je = H(
480
523
  {
481
524
  id: "main-content",
482
525
  tabIndex: -1,
483
- "aria-label": k ?? M("navigation.main.label", "Main content"),
484
- className: I({ variant: "embedded" }),
485
- children: z
526
+ "aria-label": T ?? z("navigation.main.label", "Main content"),
527
+ className: L({ variant: "embedded" }),
528
+ children: M
486
529
  }
487
530
  )
488
531
  ] })
489
- ), $ = ae === "embedded" ? E ? ce : me : oe;
490
- return ne ? /* @__PURE__ */ e(
491
- Ie,
532
+ ), $ = te === "embedded" ? E ? pe : ue : me;
533
+ return ie ? /* @__PURE__ */ e(
534
+ De,
492
535
  {
493
- ref: D,
494
- theme: de,
495
- accessible: ie,
536
+ ref: R,
537
+ theme: le,
538
+ accessible: oe,
496
539
  className: "ds:contents",
497
540
  "data-component": "marketplace-app-shell",
498
541
  children: $
@@ -500,7 +543,7 @@ const Je = H(
500
543
  ) : /* @__PURE__ */ e(
501
544
  "div",
502
545
  {
503
- ref: D,
546
+ ref: R,
504
547
  className: "ds:contents",
505
548
  "data-component": "marketplace-app-shell",
506
549
  children: $
@@ -508,8 +551,8 @@ const Je = H(
508
551
  );
509
552
  }
510
553
  );
511
- Je.displayName = "MarketplaceAppShell";
512
- const Xe = u(
554
+ ra.displayName = "MarketplaceAppShell";
555
+ const na = p(
513
556
  "ds:flex ds:min-h-dvh ds:bg-[color:var(--app-shell-background)]",
514
557
  {
515
558
  variants: {
@@ -520,7 +563,7 @@ const Xe = u(
520
563
  },
521
564
  defaultVariants: { layout: "card" }
522
565
  }
523
- ), Ze = u("ds:w-full", {
566
+ ), da = p("ds:w-full", {
524
567
  variants: {
525
568
  layout: {
526
569
  card: "ds:max-w-[400px]",
@@ -528,39 +571,39 @@ const Xe = u(
528
571
  }
529
572
  },
530
573
  defaultVariants: { layout: "card" }
531
- }), ea = u("", {
574
+ }), ia = p("", {
532
575
  variants: {
533
576
  layout: { card: "", split: "ds:lg:hidden" }
534
577
  },
535
578
  defaultVariants: { layout: "card" }
536
- }), aa = H(
579
+ }), la = V(
537
580
  ({
538
581
  productName: s,
539
- title: t,
582
+ title: d,
540
583
  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,
584
+ connectLabel: t,
585
+ status: r = "idle",
586
+ error: l,
587
+ onConnect: o,
588
+ footer: c,
589
+ layout: i = "card",
590
+ brandPanel: m,
548
591
  className: f
549
592
  }, b) => /* @__PURE__ */ n(
550
593
  "div",
551
594
  {
552
595
  ref: b,
553
596
  "data-component": "connect-with-alfadocs",
554
- className: `${Xe({ layout: l })} ${f ?? ""}`,
597
+ className: `${na({ layout: i })} ${f ?? ""}`,
555
598
  children: [
556
- l === "split" ? (
599
+ i === "split" ? (
557
600
  // Desktop brand panel (lg+ only): a bold `--primary` surface with the
558
601
  // monochrome lockup riding the `--primary-foreground` ink, plus an
559
602
  // optional `brandPanel` slot. Decorative — the card carries the real
560
603
  // heading + CTA, and shows its own lockup below `lg:`.
561
604
  /* @__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
605
  /* @__PURE__ */ e(
563
- C,
606
+ y,
564
607
  {
565
608
  name: s,
566
609
  size: "lg",
@@ -569,45 +612,45 @@ const Xe = u(
569
612
  variant: "maker"
570
613
  }
571
614
  ),
572
- c ? /* @__PURE__ */ e("div", { className: "type-body ds:max-w-[28rem] ds:text-start", children: c }) : null
615
+ m ? /* @__PURE__ */ e("div", { className: "type-body ds:max-w-[28rem] ds:text-start", children: m }) : null
573
616
  ] })
574
617
  ) : 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: [
618
+ /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ e(F, { className: da({ layout: i }), children: /* @__PURE__ */ n(F.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center", children: [
576
619
  /* @__PURE__ */ e(
577
- C,
620
+ y,
578
621
  {
579
622
  name: s,
580
623
  size: "lg",
581
624
  variant: "maker",
582
- className: ea({ layout: l })
625
+ className: ia({ layout: i })
583
626
  }
584
627
  ),
585
628
  /* @__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 }),
629
+ /* @__PURE__ */ e("h1", { className: "type-title-card", children: d }),
587
630
  /* @__PURE__ */ e("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: a })
588
631
  ] }),
589
- d === "error" && i ? /* @__PURE__ */ e(ve, { variant: "error", className: "ds:w-full ds:text-start", children: i }) : null,
632
+ r === "error" && l ? /* @__PURE__ */ e(xe, { variant: "error", className: "ds:w-full ds:text-start", children: l }) : null,
590
633
  /* @__PURE__ */ e(
591
- Ce,
634
+ Ae,
592
635
  {
593
636
  intent: "primary",
594
637
  className: "ds:w-full",
595
- loading: d === "connecting",
596
- onClick: m,
597
- label: r,
638
+ loading: r === "connecting",
639
+ onClick: o,
640
+ label: t,
598
641
  "data-testid": "connect-with-alfadocs-button"
599
642
  }
600
643
  ),
601
- o ? /* @__PURE__ */ e("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: o }) : null
644
+ c ? /* @__PURE__ */ e("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: c }) : null
602
645
  ] }) }) })
603
646
  ]
604
647
  }
605
648
  )
606
649
  );
607
- aa.displayName = "ConnectWithAlfadocs";
650
+ la.displayName = "ConnectWithAlfadocs";
608
651
  export {
609
- aa as C,
610
- Je as M,
611
- C as P
652
+ la as C,
653
+ ra as M,
654
+ y as P
612
655
  };
613
- //# sourceMappingURL=marketplace-app-shell-DnuHxuoE.js.map
656
+ //# sourceMappingURL=marketplace-app-shell-p6hPgVwy.js.map