@alfadocs/ui-kit 1.58.0 → 1.60.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 (356) hide show
  1. package/dist/_chunks/{actions-cell-renderer-Dj1ZkvJj.js → actions-cell-renderer-CZWGQFKV.js} +4 -4
  2. package/dist/_chunks/{agenda-tray-ZKhDxlfw.js → agenda-tray-DU7O5Z7R.js} +3 -3
  3. package/dist/_chunks/{ai-credits-notice-ktklr8fy.js → ai-credits-notice-MBgQXxsx.js} +11 -11
  4. package/dist/_chunks/{ai-permission-notice-DyuEGwAt.js → ai-permission-notice-BJHutKLE.js} +2 -2
  5. package/dist/_chunks/{ai-prompt-input-Beh-O_rJ.js → ai-prompt-input-Dzos37rf.js} +3 -3
  6. package/dist/_chunks/{alia-sidebar-dybRpWml.js → alia-sidebar-CU3mVL9J.js} +8 -8
  7. package/dist/_chunks/{anamnesis-card-BSlAhaoG.js → anamnesis-card-VjJOUl-t.js} +3 -3
  8. package/dist/_chunks/{anamnesis-summary-card-2YfIYY2j.js → anamnesis-summary-card-cCj7LPh3.js} +2 -2
  9. package/dist/_chunks/{anamnesis-summary-rows-M-FUkw9p.js → anamnesis-summary-rows-C5F08WT6.js} +12 -12
  10. package/dist/_chunks/{antenatal-schedule-timeline-Kf2Yg8uo.js → antenatal-schedule-timeline-CfNFrej5.js} +2 -2
  11. package/dist/_chunks/{appointment-card-Dh3fAcyf.js → appointment-card-BXQUZlAJ.js} +2 -2
  12. package/dist/_chunks/{appointment-peek-WvNbE4JG.js → appointment-peek-BvzXHYiD.js} +4 -4
  13. package/dist/_chunks/{appointment-timeline-Z0494xO-.js → appointment-timeline-r-q97cec.js} +5 -5
  14. package/dist/_chunks/{appointment-tray-CyI_p3zU.js → appointment-tray-DF_R9ldY.js} +4 -4
  15. package/dist/_chunks/{audio-recorder-DWKKjGPt.js → audio-recorder-Cssm6jVh.js} +4 -4
  16. package/dist/_chunks/{balance-badge-cell-CGoJZlKf.js → balance-badge-cell-DMG06b2C.js} +5 -5
  17. package/dist/_chunks/{bishop-score-BxA20j9T.js → bishop-score-DxfkcxiV.js} +4 -4
  18. package/dist/_chunks/{bmi-calculator-C0UTxB7R.js → bmi-calculator-B4kgPqt5.js} +3 -3
  19. package/dist/_chunks/{booking-CiFSAMR-.js → booking-CXaqmdF7.js} +7 -7
  20. package/dist/_chunks/{button-Bn16lcFM.js → button-D-MQxsA_.js} +82 -63
  21. package/dist/_chunks/{button-group-CWlwR-A5.js → button-group-Cfpyu6pc.js} +73 -73
  22. package/dist/_chunks/{calculator-dialog-CzQv03p0.js → calculator-dialog-BUfaWqvu.js} +2 -2
  23. package/dist/_chunks/{calendar-6-24PQ1u.js → calendar-DNTVaK6b.js} +2 -2
  24. package/dist/_chunks/{calendar-workspace-DNHzjG7O.js → calendar-workspace-UL5xcpWa.js} +26 -26
  25. package/dist/_chunks/{card-DMO2nkt4.js → card-BA4Ig_kn.js} +9 -8
  26. package/dist/_chunks/{care-plan-card-DxrRLRdW.js → care-plan-card-DFQbU_Gd.js} +2 -2
  27. package/dist/_chunks/{care-plan-entry-card-0rpR-4Te.js → care-plan-entry-card-bj784KRk.js} +2 -2
  28. package/dist/_chunks/{care-plan-header-BMwZIgHJ.js → care-plan-header-DDhyAfVK.js} +2 -2
  29. package/dist/_chunks/{carousel.agent-D3xthzTf.js → carousel.agent-Csn24G1k.js} +2 -2
  30. package/dist/_chunks/{chart-ZMkX-Gqy.js → chart-D7PbNO_M.js} +407 -393
  31. package/dist/_chunks/{chat-input-PtrSu1ZC.js → chat-input-Ck34Pnmp.js} +2 -2
  32. package/dist/_chunks/{chat-message-CmGUcajG.js → chat-message-DU0X3Xnl.js} +3 -3
  33. package/dist/_chunks/{clinical-note-card-hx939bvw.js → clinical-note-card-L6FVM9Gx.js} +2 -2
  34. package/dist/_chunks/{code-block-BQgK70mO.js → code-block-DiC4bg-o.js} +2 -2
  35. package/dist/_chunks/{connection-status-ncTjUPt6.js → connection-status-BAnuwayz.js} +4 -4
  36. package/dist/_chunks/{contact-card-fHBMwEsx.js → contact-card-C8rEsC4Q.js} +2 -2
  37. package/dist/_chunks/{contact-profile-card-CMyBYgRR.js → contact-profile-card-JTRbnbxy.js} +3 -3
  38. package/dist/_chunks/{control-room-rail-CJ85HkS2.js → control-room-rail-BbBEIdws.js} +3 -3
  39. package/dist/_chunks/{copy-field-CvTIuA_p.js → copy-field-BCT7APRE.js} +2 -2
  40. package/dist/_chunks/{cycle-calculator-Cww9DzIa.js → cycle-calculator-BuFi6ZJa.js} +3 -3
  41. package/dist/_chunks/{dashboard-grid-Cs7cJAsA.js → dashboard-grid-DeNEltwI.js} +2 -2
  42. package/dist/_chunks/{data-table-Yn5xiGzs.js → data-table-DAPkhyXO.js} +10 -10
  43. package/dist/_chunks/{data-table-tabs-CHYAAeHy.js → data-table-tabs-2t0cdk0h.js} +3 -3
  44. package/dist/_chunks/{description-list-DkLeHiew.js → description-list-CFEw__MT.js} +2 -2
  45. package/dist/_chunks/{dev-bypass-button-BhGn6evf.js → dev-bypass-button-dTuUuzsT.js} +2 -2
  46. package/dist/_chunks/{dialog-Dn-iQ0Jp.js → dialog-D6fkpRc4.js} +72 -61
  47. package/dist/_chunks/{document-preview-CHGGG0l_.js → document-preview-DYX669jE.js} +4 -4
  48. package/dist/_chunks/{document-scanner-CQS9kv84.js → document-scanner-C41n4pNq.js} +2 -2
  49. package/dist/_chunks/{dropdown-menu-BQSNVp4x.js → dropdown-menu-D1we7oAY.js} +134 -133
  50. package/dist/_chunks/{due-date-calculator-D_qFUiHp.js → due-date-calculator-yYvX8Ww_.js} +4 -4
  51. package/dist/_chunks/{editable-currency-cell-renderer-CmYcMuwi.js → editable-currency-cell-renderer-6LDFAWUE.js} +3 -3
  52. package/dist/_chunks/{editable-description-DuJlvltc.js → editable-description-D9FsTi8e.js} +3 -3
  53. package/dist/_chunks/{editor-overlay-NMxzcO6J.js → editor-overlay-BYkcaLCj.js} +2 -2
  54. package/dist/_chunks/{empty-state-gNG3qYCX.js → empty-state-pL1qum99.js} +61 -59
  55. package/dist/_chunks/{entity-summary-CWcCSThK.js → entity-summary-oD_63dlz.js} +4 -4
  56. package/dist/_chunks/{error-boundary-ChowhO6w.js → error-boundary-Dzgu3O6W.js} +2 -2
  57. package/dist/_chunks/{error-page-CpuYbpOB.js → error-page-DirZKDz2.js} +2 -2
  58. package/dist/_chunks/{face-scheme-DSKDdIsb.js → face-scheme-C-5V3MsY.js} +6 -6
  59. package/dist/_chunks/{fetal-weight-BWaqqjea.js → fetal-weight-CHv2winC.js} +3 -3
  60. package/dist/_chunks/{field-array-BO-kaKFK.js → field-array-dSkD_ePA.js} +3 -3
  61. package/dist/_chunks/{file-manager-DEtkQR1F.js → file-manager-C8bdHsYy.js} +8 -8
  62. package/dist/_chunks/{finished-terminal-CPSDrIMB.js → finished-terminal-DuF3xrUv.js} +3 -3
  63. package/dist/_chunks/{fiscal-code-input-DesSQ6Fh.js → fiscal-code-input-BSWwda0C.js} +2 -2
  64. package/dist/_chunks/{forgot-password-form-CEqOmNuX.js → forgot-password-form-CGWV5Q1-.js} +3 -3
  65. package/dist/_chunks/{freemium-paywall-DIKuhX8b.js → freemium-paywall-DjjVPC-5.js} +27 -27
  66. package/dist/_chunks/{gestational-age-calculator-CZi43xKG.js → gestational-age-calculator-BLccWS_4.js} +5 -5
  67. package/dist/_chunks/{hcg-doubling-Ccvh7OaU.js → hcg-doubling-CnrY2OVu.js} +3 -3
  68. package/dist/_chunks/{header-B9552pLh.js → header-BVHAt7Fi.js} +2 -2
  69. package/dist/_chunks/{header-settings-BMcCx2LC.js → header-settings-C200bKyp.js} +4 -4
  70. package/dist/_chunks/{heatmap-DiyOSQk9.js → heatmap-CRMr7VWC.js} +6 -6
  71. package/dist/_chunks/{help-me-write-templates-CM1p6qkm.js → help-me-write-templates-C9T8-DcT.js} +6 -6
  72. package/dist/_chunks/{hover-card-U_ZYoh1n.js → hover-card-DbTmj-ea.js} +2 -2
  73. package/dist/_chunks/{icon-button-COX76Jdj.js → icon-button-dNE6ENLn.js} +12 -9
  74. package/dist/_chunks/{icon-button-group-C5hhI-R5.js → icon-button-group-Du8IvZek.js} +3 -3
  75. package/dist/_chunks/{icon-picker-rOFTawXk.js → icon-picker-D5NdDbCL.js} +3 -3
  76. package/dist/_chunks/{image-cropper-D0kkQ4lG.js → image-cropper-s8ej8cxa.js} +2 -2
  77. package/dist/_chunks/{info-tip-CJpNpzZe.js → info-tip-DObdz3w3.js} +2 -2
  78. package/dist/_chunks/{insert-result-C1C2OCc3.js → insert-result-h3WL-gMo.js} +2 -2
  79. package/dist/_chunks/{key-value-pair-BNNITp6S.js → key-value-pair-BNYHAZwD.js} +2 -2
  80. package/dist/_chunks/{kit-extensions-DYVxWcqv.js → kit-extensions-DI2nHVNw.js} +6 -6
  81. package/dist/_chunks/{link-cell-renderer-C1wOyxDF.js → link-cell-renderer-DvhzS6lu.js} +5 -5
  82. package/dist/_chunks/{locale-picker-BGfrZyTw.js → locale-picker-Bu4YE5b2.js} +3 -3
  83. package/dist/_chunks/{login-dev-card-CIim81VB.js → login-dev-card-DwWWHclZ.js} +3 -3
  84. package/dist/_chunks/{map-view-CO2v0hfp.js → map-view-BuVfJMEa.js} +2 -2
  85. package/dist/_chunks/{marketplace-app-shell-CSDmGLPW.js → marketplace-app-shell-DK2pFMpf.js} +279 -236
  86. package/dist/_chunks/{message-card-DVo8-dOm.js → message-card-CvZlo3Fn.js} +3 -3
  87. package/dist/_chunks/{message-tray-DmU0poD7.js → message-tray-DrS_LOed.js} +4 -4
  88. package/dist/_chunks/{muscle-scheme-BDgIaGeW.js → muscle-scheme-YoN3rYXV.js} +2 -2
  89. package/dist/_chunks/{notes-panel-DHLHsxpW.js → notes-panel-6TElt7jQ.js} +7 -7
  90. package/dist/_chunks/{notification-card-BGCIL6Mu.js → notification-card-Qrs52HIA.js} +3 -3
  91. package/dist/_chunks/{notification-tray-DPU-Xg0i.js → notification-tray-DRm1z97G.js} +4 -4
  92. package/dist/_chunks/{operator-hero-Dyd2IGbR.js → operator-hero-C_Khr5IU.js} +2 -2
  93. package/dist/_chunks/{optical-prescription-Do6e3wfs.js → optical-prescription-DLIAhJ6f.js} +3 -3
  94. package/dist/_chunks/{pagination-BR1_GfD_.js → pagination-DvKGrsXu.js} +146 -142
  95. package/dist/_chunks/{panel-subview-D4o6ar6_.js → panel-subview-CjZgdWwO.js} +2 -2
  96. package/dist/_chunks/{patient-details-BCaVuaXz.js → patient-details-BjqKBY2x.js} +4 -4
  97. package/dist/_chunks/{patient-field-row-jcRSTrp4.js → patient-field-row-BiI0BPPK.js} +7 -7
  98. package/dist/_chunks/{patient-search-D5xlXmd2.js → patient-search-B5R7FyFO.js} +4 -4
  99. package/dist/_chunks/{patient-summary-card-kQIfPQOE.js → patient-summary-card-BOgnWKRV.js} +6 -6
  100. package/dist/_chunks/{payment-automation-upsell-C4wHOxsp.js → payment-automation-upsell-39d5ykBi.js} +3 -3
  101. package/dist/_chunks/{payment-request-card-DAniJNLX.js → payment-request-card-E3G4aVt6.js} +4 -4
  102. package/dist/_chunks/{periodontal-chart-DD5C0M3l.js → periodontal-chart-BZ1d6S36.js} +2 -2
  103. package/dist/_chunks/{periodontal-chart-card-CxdXvsPU.js → periodontal-chart-card-BE5hiQnn.js} +3 -3
  104. package/dist/_chunks/{periodontal-diagnosis-D-PJv7KS.js → periodontal-diagnosis-6wybid_W.js} +2 -2
  105. package/dist/_chunks/{periodontal-risk-chart-D3DjIymT.js → periodontal-risk-chart-CgLwBj5c.js} +2 -2
  106. package/dist/_chunks/{popover-BG75rYjN.js → popover-DQr_tljb.js} +2 -2
  107. package/dist/_chunks/popup-region-qz_5_A0V.js +79 -0
  108. package/dist/_chunks/{practice-profile-hero-C8RPACCi.js → practice-profile-hero-DPbvYfCs.js} +2 -2
  109. package/dist/_chunks/{practice-results-D07wgCqV.js → practice-results-Cktx7KaC.js} +6 -6
  110. package/dist/_chunks/{pregnancy-dating-BFzv9g1N.js → pregnancy-dating-26fcvhAx.js} +5 -5
  111. package/dist/_chunks/{pregnancy-weight-gain-CUUrBTBo.js → pregnancy-weight-gain-D8q1IUCT.js} +3 -3
  112. package/dist/_chunks/{privacy-lock-WkUgwIj_.js → privacy-lock-BpVgSgMb.js} +3 -3
  113. package/dist/_chunks/{privacy-mask-ChIjELJC.js → privacy-mask-BfMC57ST.js} +3 -3
  114. package/dist/_chunks/{product-hub-panel-DCYX0rPG.js → product-hub-panel-CH4B49ij.js} +3 -3
  115. package/dist/_chunks/{public-header.agent-C1SlVSYt.js → public-header.agent-BHTDKMsw.js} +3 -3
  116. package/dist/_chunks/{radiograph-panel.agent-DyqbTECc.js → radiograph-panel.agent-DR0gOeSc.js} +6 -6
  117. package/dist/_chunks/{registration-form-DrSR9Sjk.js → registration-form-B8IeB9kd.js} +5 -5
  118. package/dist/_chunks/{reviews-panel-CDcK6W3b.js → reviews-panel-CHzDqerd.js} +5 -5
  119. package/dist/_chunks/{rich-text-editor-UgXri8h6.js → rich-text-editor-BRuTo2hm.js} +10 -10
  120. package/dist/_chunks/{section-card-ChJdOlBU.js → section-card-D5nWiTcK.js} +2 -2
  121. package/dist/_chunks/{select-Ce5RMk93.js → select-k4gBdS8N.js} +249 -224
  122. package/dist/_chunks/{session-countdown-CBINYw8H.js → session-countdown-DWY61IcV.js} +2 -2
  123. package/dist/_chunks/{sheet-Dtjk0CVv.js → sheet-CqvPYNLn.js} +7 -7
  124. package/dist/_chunks/sidebar-DhePV1hE.js +2563 -0
  125. package/dist/_chunks/{sign-in-with-alfadocs-button-D91_x8DX.js → sign-in-with-alfadocs-button-CIv0GgeA.js} +2 -2
  126. package/dist/_chunks/{signature-request-dAVgE0_5.js → signature-request-BH7yKI01.js} +6 -6
  127. package/dist/_chunks/{signed-out-frame-DOJpobp8.js → signed-out-frame-eaOWHpDr.js} +3 -3
  128. package/dist/_chunks/{slot-grid-sVZriOiQ.js → slot-grid-DELa2Nwz.js} +4 -4
  129. package/dist/_chunks/{streaming-text-BKZmbW1Q.js → streaming-text-bPDoG7Y3.js} +2 -2
  130. package/dist/_chunks/{tab-bar-Bm-rJB7Y.js → tab-bar-5GppbMGc.js} +2 -2
  131. package/dist/_chunks/{tabs-I2wf_nC7.js → tabs-2x3L13jn.js} +3 -3
  132. package/dist/_chunks/{task-card-BMXMh3uE.js → task-card-zaTU1rQa.js} +2 -2
  133. package/dist/_chunks/{task-editor-BflEZmcF.js → task-editor-CgGcg-2c.js} +8 -8
  134. package/dist/_chunks/{task-tray-DsBO-AaP.js → task-tray-DGMwogWu.js} +4 -4
  135. package/dist/_chunks/{tasks-panel-CdgZQQgG.js → tasks-panel-xGtiEdcj.js} +7 -7
  136. package/dist/_chunks/{theme-toggle-PpFcFoYK.js → theme-toggle-_cfYEK73.js} +4 -4
  137. package/dist/_chunks/{timeline-DG8wAlAx.js → timeline-DEIuHrWz.js} +2 -2
  138. package/dist/_chunks/{toast-CPqguP7G.js → toast-CNUydTgT.js} +2 -2
  139. package/dist/_chunks/{token-insert-menu-B-pWFDKX.js → token-insert-menu-CQvV4u1m.js} +3 -3
  140. package/dist/_chunks/{tool-rail-CTq1KwxW.js → tool-rail-Blgibz0a.js} +2 -2
  141. package/dist/_chunks/{tooth-scheme-BAO_voUO.js → tooth-scheme-05DsRMA5.js} +3 -3
  142. package/dist/_chunks/{unit-converter-DS4UB_59.js → unit-converter-BPZ0Ldkb.js} +3 -3
  143. package/dist/_chunks/{use-appointment-details-read-izwoXh-G.js → use-appointment-details-read-BGVthJFx.js} +16 -16
  144. package/dist/_chunks/{voice-control-panel-an-bpQfF.js → voice-control-panel-DyKEaFxt.js} +5 -5
  145. package/dist/_chunks/{warning-stack-ubD0IZCy.js → warning-stack-CAL9xVo1.js} +3 -3
  146. package/dist/_chunks/{widget-picker-DlJOgYrZ.js → widget-picker-CkhoG4Rj.js} +2 -2
  147. package/dist/_chunks/{workflow-map-Demlpy39.js → workflow-map-BUYG1oXU.js} +7 -7
  148. package/dist/_chunks/{workflow-status-BT27_fQp.js → workflow-status-Dc_CyEz5.js} +2 -2
  149. package/dist/agent-catalog.json +26 -1
  150. package/dist/agent-i18n/en.json +4 -2
  151. package/dist/components/_shared/aria-keyshortcuts.d.ts +5 -0
  152. package/dist/components/_shared/popup-region.d.ts +28 -0
  153. package/dist/components/agenda-tray/index.js +1 -1
  154. package/dist/components/ai-credits-notice/index.js +1 -1
  155. package/dist/components/ai-permission-notice/index.js +1 -1
  156. package/dist/components/ai-prompt-input/index.js +1 -1
  157. package/dist/components/anamnesis-card/index.js +1 -1
  158. package/dist/components/anamnesis-summary-card/index.js +1 -1
  159. package/dist/components/appointment-card/index.js +2 -2
  160. package/dist/components/appointment-details-panel/index.js +1 -1
  161. package/dist/components/appointment-peek/index.js +1 -1
  162. package/dist/components/appointment-timeline/index.js +1 -1
  163. package/dist/components/audio-recorder/index.js +1 -1
  164. package/dist/components/bishop-score/index.js +1 -1
  165. package/dist/components/bmi-calculator/index.js +1 -1
  166. package/dist/components/booking/index.js +1 -1
  167. package/dist/components/button/index.js +2 -2
  168. package/dist/components/button-group/index.js +1 -1
  169. package/dist/components/calculator-dialog/index.js +1 -1
  170. package/dist/components/calendar/index.js +1 -1
  171. package/dist/components/card/index.js +1 -1
  172. package/dist/components/care-plan-card/index.js +1 -1
  173. package/dist/components/care-plan-entry-card/index.js +1 -1
  174. package/dist/components/care-plan-header/index.js +1 -1
  175. package/dist/components/carousel/index.js +1 -1
  176. package/dist/components/chart/index.js +1 -1
  177. package/dist/components/chat-input/index.js +1 -1
  178. package/dist/components/chat-message/index.js +1 -1
  179. package/dist/components/clinical-note-card/index.js +1 -1
  180. package/dist/components/connection-status/index.js +1 -1
  181. package/dist/components/contact-card/index.js +1 -1
  182. package/dist/components/contact-profile-card/index.js +1 -1
  183. package/dist/components/control-room-rail/index.js +1 -1
  184. package/dist/components/copy-field/index.js +1 -1
  185. package/dist/components/cycle-calculator/index.js +1 -1
  186. package/dist/components/dashboard-grid/index.js +1 -1
  187. package/dist/components/data-table/data-table.d.ts +1 -1
  188. package/dist/components/data-table/index.js +4 -4
  189. package/dist/components/data-table/toolbar.d.ts +1 -1
  190. package/dist/components/data-table-tabs/index.js +1 -1
  191. package/dist/components/description-list/index.js +1 -1
  192. package/dist/components/dev-bypass-button/index.js +1 -1
  193. package/dist/components/dialog/index.js +1 -1
  194. package/dist/components/document-preview/index.js +1 -1
  195. package/dist/components/document-scanner/index.js +1 -1
  196. package/dist/components/dropdown-menu/index.js +1 -1
  197. package/dist/components/due-date-calculator/index.js +2 -2
  198. package/dist/components/editable-description/index.js +1 -1
  199. package/dist/components/editor-overlay/index.js +1 -1
  200. package/dist/components/empty-state/empty-state.d.ts +8 -0
  201. package/dist/components/empty-state/index.d.ts +1 -1
  202. package/dist/components/empty-state/index.js +1 -1
  203. package/dist/components/entity-summary/index.js +1 -1
  204. package/dist/components/error-boundary/index.js +1 -1
  205. package/dist/components/face-scheme/index.js +1 -1
  206. package/dist/components/fetal-weight/index.js +1 -1
  207. package/dist/components/field-array/index.js +1 -1
  208. package/dist/components/file-manager/index.js +1 -1
  209. package/dist/components/finished-terminal/index.js +1 -1
  210. package/dist/components/fiscal-code-input/index.js +1 -1
  211. package/dist/components/freemium-paywall/index.js +1 -1
  212. package/dist/components/gestational-age-calculator/index.js +1 -1
  213. package/dist/components/hcg-doubling/index.js +1 -1
  214. package/dist/components/header/index.js +1 -1
  215. package/dist/components/header-settings/index.js +1 -1
  216. package/dist/components/heatmap/index.js +1 -1
  217. package/dist/components/hover-card/index.js +1 -1
  218. package/dist/components/icon-button/index.js +1 -1
  219. package/dist/components/icon-button-group/index.js +1 -1
  220. package/dist/components/icon-picker/index.js +1 -1
  221. package/dist/components/image-cropper/index.js +1 -1
  222. package/dist/components/info-tip/index.js +1 -1
  223. package/dist/components/key-value-pair/index.js +1 -1
  224. package/dist/components/locale-picker/index.js +1 -1
  225. package/dist/components/map-view/index.js +1 -1
  226. package/dist/components/message-card/index.js +1 -1
  227. package/dist/components/message-tray/index.js +1 -1
  228. package/dist/components/muscle-scheme/index.js +1 -1
  229. package/dist/components/notes-panel/index.js +1 -1
  230. package/dist/components/notification-card/index.js +1 -1
  231. package/dist/components/notification-tray/index.js +1 -1
  232. package/dist/components/operator-hero/index.js +1 -1
  233. package/dist/components/optical-prescription/index.js +1 -1
  234. package/dist/components/pagination/index.js +1 -1
  235. package/dist/components/panel-subview/index.js +1 -1
  236. package/dist/components/patient-details/index.js +1 -1
  237. package/dist/components/patient-search/index.js +1 -1
  238. package/dist/components/patient-summary-card/index.js +1 -1
  239. package/dist/components/patient-table/index.js +1 -1
  240. package/dist/components/payment-card/index.js +1 -1
  241. package/dist/components/periodontal-chart/index.js +1 -1
  242. package/dist/components/periodontal-chart-card/index.js +1 -1
  243. package/dist/components/periodontal-diagnosis/index.js +1 -1
  244. package/dist/components/periodontal-risk-chart/index.js +1 -1
  245. package/dist/components/popover/index.js +1 -1
  246. package/dist/components/practice-profile-hero/index.js +1 -1
  247. package/dist/components/practice-results/index.js +1 -1
  248. package/dist/components/pregnancy-dating/index.js +1 -1
  249. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  250. package/dist/components/privacy-lock/index.js +1 -1
  251. package/dist/components/product-hub-tray/index.js +1 -1
  252. package/dist/components/public-header/index.js +1 -1
  253. package/dist/components/radiograph-panel/index.js +1 -1
  254. package/dist/components/reviews-panel/index.js +1 -1
  255. package/dist/components/rich-text-editor/index.js +2 -2
  256. package/dist/components/section-card/index.js +1 -1
  257. package/dist/components/select/index.js +1 -1
  258. package/dist/components/select/select.d.ts +1 -1
  259. package/dist/components/session-countdown/index.js +1 -1
  260. package/dist/components/sheet/index.js +1 -1
  261. package/dist/components/sidebar/index.d.ts +2 -2
  262. package/dist/components/sidebar/index.js +24 -21
  263. package/dist/components/sidebar/sidebar.d.ts +69 -1
  264. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  265. package/dist/components/skeleton-scheme/index.js +1 -1
  266. package/dist/components/slot-grid/index.js +1 -1
  267. package/dist/components/streaming-text/index.js +1 -1
  268. package/dist/components/tab-bar/index.js +1 -1
  269. package/dist/components/tabs/index.js +1 -1
  270. package/dist/components/task-card/index.js +1 -1
  271. package/dist/components/task-editor/index.js +1 -1
  272. package/dist/components/task-tray/index.js +1 -1
  273. package/dist/components/tasks-panel/index.js +1 -1
  274. package/dist/components/theme-toggle/index.js +1 -1
  275. package/dist/components/timeline/index.js +1 -1
  276. package/dist/components/toast/index.js +1 -1
  277. package/dist/components/token-insert-menu/index.js +1 -1
  278. package/dist/components/tool-rail/index.js +1 -1
  279. package/dist/components/tooth-scheme/index.js +1 -1
  280. package/dist/components/unit-converter/index.js +1 -1
  281. package/dist/components/voice-control-panel/index.js +1 -1
  282. package/dist/components/warning-stack/index.js +1 -1
  283. package/dist/components/widget-picker/index.js +1 -1
  284. package/dist/components/workflow/index.js +1 -1
  285. package/dist/components/workflow-status/index.js +1 -1
  286. package/dist/i18n/locales/ar.d.ts +7 -0
  287. package/dist/i18n/locales/ar.js +8 -1
  288. package/dist/i18n/locales/de.d.ts +7 -0
  289. package/dist/i18n/locales/de.js +8 -1
  290. package/dist/i18n/locales/el.d.ts +7 -0
  291. package/dist/i18n/locales/el.js +8 -1
  292. package/dist/i18n/locales/en.d.ts +7 -0
  293. package/dist/i18n/locales/en.js +8 -1
  294. package/dist/i18n/locales/es.d.ts +7 -0
  295. package/dist/i18n/locales/es.js +8 -1
  296. package/dist/i18n/locales/fr.d.ts +7 -0
  297. package/dist/i18n/locales/fr.js +8 -1
  298. package/dist/i18n/locales/hi.d.ts +7 -0
  299. package/dist/i18n/locales/hi.js +8 -1
  300. package/dist/i18n/locales/it.d.ts +7 -0
  301. package/dist/i18n/locales/it.js +8 -1
  302. package/dist/i18n/locales/ja.d.ts +7 -0
  303. package/dist/i18n/locales/ja.js +8 -1
  304. package/dist/i18n/locales/nl.d.ts +7 -0
  305. package/dist/i18n/locales/nl.js +8 -1
  306. package/dist/i18n/locales/pl.d.ts +7 -0
  307. package/dist/i18n/locales/pl.js +8 -1
  308. package/dist/i18n/locales/pt.d.ts +7 -0
  309. package/dist/i18n/locales/pt.js +8 -1
  310. package/dist/i18n/locales/ro.d.ts +7 -0
  311. package/dist/i18n/locales/ro.js +8 -1
  312. package/dist/i18n/locales/ru.d.ts +7 -0
  313. package/dist/i18n/locales/ru.js +8 -1
  314. package/dist/i18n/locales/sq.d.ts +7 -0
  315. package/dist/i18n/locales/sq.js +8 -1
  316. package/dist/i18n/locales/sv.d.ts +7 -0
  317. package/dist/i18n/locales/sv.js +8 -1
  318. package/dist/i18n/locales/tr.d.ts +7 -0
  319. package/dist/i18n/locales/tr.js +8 -1
  320. package/dist/i18n/locales/zh.d.ts +7 -0
  321. package/dist/i18n/locales/zh.js +8 -1
  322. package/dist/index.js +781 -778
  323. package/dist/locales/ar.json +8 -1
  324. package/dist/locales/de.json +8 -1
  325. package/dist/locales/el.json +8 -1
  326. package/dist/locales/en.json +8 -1
  327. package/dist/locales/es.json +8 -1
  328. package/dist/locales/fr.json +8 -1
  329. package/dist/locales/hi.json +8 -1
  330. package/dist/locales/it.json +8 -1
  331. package/dist/locales/ja.json +8 -1
  332. package/dist/locales/nl.json +8 -1
  333. package/dist/locales/pl.json +8 -1
  334. package/dist/locales/pt.json +8 -1
  335. package/dist/locales/ro.json +8 -1
  336. package/dist/locales/ru.json +8 -1
  337. package/dist/locales/sq.json +8 -1
  338. package/dist/locales/sv.json +8 -1
  339. package/dist/locales/tr.json +8 -1
  340. package/dist/locales/zh.json +8 -1
  341. package/dist/patterns/alia-assistant/index.js +1 -1
  342. package/dist/patterns/anamnesis/index.js +1 -1
  343. package/dist/patterns/calendar/index.js +1 -1
  344. package/dist/patterns/error-page/index.js +1 -1
  345. package/dist/patterns/forgot-password-form/index.js +1 -1
  346. package/dist/patterns/help-me-write-templates/index.js +1 -1
  347. package/dist/patterns/login-form/index.js +1 -1
  348. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  349. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +23 -4
  350. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  351. package/dist/patterns/registration-form/index.js +1 -1
  352. package/dist/patterns/signature-request/index.js +1 -1
  353. package/dist/patterns/signed-out-frame/index.js +1 -1
  354. package/dist/tokens.css +6 -3
  355. package/package.json +1 -1
  356. package/dist/_chunks/sidebar-D4Wllqfz.js +0 -2029
@@ -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-DMO2nkt4.js";
9
- import { D as p } from "./dropdown-menu-BQSNVp4x.js";
10
- import { T as ge } from "./tab-bar-Bm-rJB7Y.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-B9552pLh.js";
12
- import { H as we } from "./header-settings-BMcCx2LC.js";
13
- import { S as Ce } from "./sign-in-with-alfadocs-button-D91_x8DX.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-D4Wllqfz.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-DhePV1hE.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-CSDmGLPW.js.map
656
+ //# sourceMappingURL=marketplace-app-shell-DK2pFMpf.js.map