@alfadocs/ui-kit 0.0.20 → 0.1.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 (547) hide show
  1. package/dist/_chunks/accordion-BJD1aM67.js +117 -0
  2. package/dist/_chunks/accordion-BJD1aM67.js.map +1 -0
  3. package/dist/_chunks/agenda-card-Bld47Eul.js +130 -0
  4. package/dist/_chunks/agenda-card-Bld47Eul.js.map +1 -0
  5. package/dist/_chunks/agenda-tray-D86cNIJ0.js +119 -0
  6. package/dist/_chunks/agenda-tray-D86cNIJ0.js.map +1 -0
  7. package/dist/_chunks/ai-prompt-input-CdYwt2VP.js +379 -0
  8. package/dist/_chunks/ai-prompt-input-CdYwt2VP.js.map +1 -0
  9. package/dist/_chunks/{alert-C5ud6CfE.js → alert-ETrF7Q8J.js} +51 -51
  10. package/dist/_chunks/alert-ETrF7Q8J.js.map +1 -0
  11. package/dist/_chunks/apexcharts-theme-BkSShpEy.js +48 -0
  12. package/dist/_chunks/apexcharts-theme-BkSShpEy.js.map +1 -0
  13. package/dist/_chunks/{app-frame-CmIUp9BD.js → app-frame-uq2Gy0vs.js} +37 -37
  14. package/dist/_chunks/app-frame-uq2Gy0vs.js.map +1 -0
  15. package/dist/_chunks/aspect-ratio-BqU4itGW.js +56 -0
  16. package/dist/_chunks/aspect-ratio-BqU4itGW.js.map +1 -0
  17. package/dist/_chunks/{audio-recorder-GkGNtW2X.js → audio-recorder-D2UEBF9B.js} +98 -98
  18. package/dist/_chunks/audio-recorder-D2UEBF9B.js.map +1 -0
  19. package/dist/_chunks/{audio-visualiser-CIO3yy23.js → audio-visualiser-B4u4goV5.js} +46 -46
  20. package/dist/_chunks/audio-visualiser-B4u4goV5.js.map +1 -0
  21. package/dist/_chunks/{autocomplete.agent-kb0nmr6F.js → autocomplete.agent-Bi6CiRKa.js} +111 -111
  22. package/dist/_chunks/autocomplete.agent-Bi6CiRKa.js.map +1 -0
  23. package/dist/_chunks/{avatar-BsV7vRA6.js → avatar-BAhxbDEu.js} +38 -38
  24. package/dist/_chunks/avatar-BAhxbDEu.js.map +1 -0
  25. package/dist/_chunks/badge-zDghajh8.js +104 -0
  26. package/dist/_chunks/badge-zDghajh8.js.map +1 -0
  27. package/dist/_chunks/{balance-cell-renderer-BQwN51rT.js → balance-cell-renderer-BGyvZWjB.js} +123 -124
  28. package/dist/_chunks/balance-cell-renderer-BGyvZWjB.js.map +1 -0
  29. package/dist/_chunks/{breadcrumb-DnO6eHSS.js → breadcrumb-pdUacgm1.js} +40 -40
  30. package/dist/_chunks/breadcrumb-pdUacgm1.js.map +1 -0
  31. package/dist/_chunks/button-DmiGFnNA.js +119 -0
  32. package/dist/_chunks/button-DmiGFnNA.js.map +1 -0
  33. package/dist/_chunks/{button-group-CI7LFxt3.js → button-group-BtTHSyU0.js} +24 -24
  34. package/dist/_chunks/button-group-BtTHSyU0.js.map +1 -0
  35. package/dist/_chunks/{calendar-BIXVzhkL.js → calendar-BkDeDTaX.js} +333 -290
  36. package/dist/_chunks/calendar-BkDeDTaX.js.map +1 -0
  37. package/dist/_chunks/card-DeItIBcV.js +158 -0
  38. package/dist/_chunks/card-DeItIBcV.js.map +1 -0
  39. package/dist/_chunks/{chart.agent-DkmVXNsI.js → chart.agent-BdS-_8MO.js} +66 -64
  40. package/dist/_chunks/chart.agent-BdS-_8MO.js.map +1 -0
  41. package/dist/_chunks/chat-container-Co8HpB64.js +174 -0
  42. package/dist/_chunks/chat-container-Co8HpB64.js.map +1 -0
  43. package/dist/_chunks/{chat-input-aphxDjZL.js → chat-input-3rstZhHR.js} +57 -57
  44. package/dist/_chunks/chat-input-3rstZhHR.js.map +1 -0
  45. package/dist/_chunks/{chat-message-CdJSD18D.js → chat-message-dDMVSYBs.js} +66 -66
  46. package/dist/_chunks/chat-message-dDMVSYBs.js.map +1 -0
  47. package/dist/_chunks/checkbox-DMzgtnqw.js +116 -0
  48. package/dist/_chunks/checkbox-DMzgtnqw.js.map +1 -0
  49. package/dist/_chunks/{checkbox-group-D1aqVI0-.js → checkbox-group-DBnIBRT_.js} +34 -34
  50. package/dist/_chunks/checkbox-group-DBnIBRT_.js.map +1 -0
  51. package/dist/_chunks/{collapsible-jBFm7Ah8.js → collapsible-DPGQnHZh.js} +16 -16
  52. package/dist/_chunks/collapsible-DPGQnHZh.js.map +1 -0
  53. package/dist/_chunks/{color-picker-CiotzQJF.js → color-picker-OKKF3Dww.js} +158 -158
  54. package/dist/_chunks/color-picker-OKKF3Dww.js.map +1 -0
  55. package/dist/_chunks/{combobox.agent-B6RwDSct.js → combobox.agent-CfeB-IZ1.js} +107 -107
  56. package/dist/_chunks/combobox.agent-CfeB-IZ1.js.map +1 -0
  57. package/dist/_chunks/{command-palette.agent-B87_OkmC.js → command-palette.agent-XLfSGHCL.js} +27 -27
  58. package/dist/_chunks/command-palette.agent-XLfSGHCL.js.map +1 -0
  59. package/dist/_chunks/{date-picker-CdPuI3dK.js → date-picker-DXx8oSJb.js} +5 -5
  60. package/dist/_chunks/{date-picker-CdPuI3dK.js.map → date-picker-DXx8oSJb.js.map} +1 -1
  61. package/dist/_chunks/{date-range-picker-DfK4cjln.js → date-range-picker-C3CbY__H.js} +29 -29
  62. package/dist/_chunks/{date-range-picker-DfK4cjln.js.map → date-range-picker-C3CbY__H.js.map} +1 -1
  63. package/dist/_chunks/{date-time-picker-CX_FMsLG.js → date-time-picker-Bn3FPeAc.js} +58 -58
  64. package/dist/_chunks/date-time-picker-Bn3FPeAc.js.map +1 -0
  65. package/dist/_chunks/description-list-B1CL3RTG.js +187 -0
  66. package/dist/_chunks/description-list-B1CL3RTG.js.map +1 -0
  67. package/dist/_chunks/{dialog.agent-B276rAQF.js → dialog.agent-D9WeIWi2.js} +39 -39
  68. package/dist/_chunks/dialog.agent-D9WeIWi2.js.map +1 -0
  69. package/dist/_chunks/dropdown-menu-BnVUeVG3.js +210 -0
  70. package/dist/_chunks/dropdown-menu-BnVUeVG3.js.map +1 -0
  71. package/dist/_chunks/{empty-state-DiG7vYBM.js → empty-state-DV96gCnp.js} +37 -37
  72. package/dist/_chunks/empty-state-DV96gCnp.js.map +1 -0
  73. package/dist/_chunks/{file-upload.agent-BMow5yDY.js → file-upload.agent-DYFnqdxw.js} +185 -185
  74. package/dist/_chunks/file-upload.agent-DYFnqdxw.js.map +1 -0
  75. package/dist/_chunks/{flag-ChP784EM.js → flag-C3BUEwHH.js} +14 -14
  76. package/dist/_chunks/{flag-ChP784EM.js.map → flag-C3BUEwHH.js.map} +1 -1
  77. package/dist/_chunks/floating-action-button-RigP2E7o.js +95 -0
  78. package/dist/_chunks/floating-action-button-RigP2E7o.js.map +1 -0
  79. package/dist/_chunks/form-field-DI5LY5aG.js +121 -0
  80. package/dist/_chunks/form-field-DI5LY5aG.js.map +1 -0
  81. package/dist/_chunks/freemium-paywall-D0GiUFOe.js +197 -0
  82. package/dist/_chunks/freemium-paywall-D0GiUFOe.js.map +1 -0
  83. package/dist/_chunks/{header-BpKaSL_v.js → header-CW2oRd5H.js} +111 -111
  84. package/dist/_chunks/header-CW2oRd5H.js.map +1 -0
  85. package/dist/_chunks/icon-button-C482ii4y.js +45 -0
  86. package/dist/_chunks/icon-button-C482ii4y.js.map +1 -0
  87. package/dist/_chunks/{icon-button-group-tERESY-n.js → icon-button-group-BnhkUWUg.js} +56 -56
  88. package/dist/_chunks/icon-button-group-BnhkUWUg.js.map +1 -0
  89. package/dist/_chunks/{kbd-0iPlQjgC.js → kbd-DTcIjYA7.js} +52 -52
  90. package/dist/_chunks/kbd-DTcIjYA7.js.map +1 -0
  91. package/dist/_chunks/{key-value-pair--Je59tAF.js → key-value-pair-DDhSYdDL.js} +26 -26
  92. package/dist/_chunks/key-value-pair-DDhSYdDL.js.map +1 -0
  93. package/dist/_chunks/leo-sidebar-gXXcGPKk.js +755 -0
  94. package/dist/_chunks/leo-sidebar-gXXcGPKk.js.map +1 -0
  95. package/dist/_chunks/{list-n8vI8Yvn.js → list-Cwe8mcmh.js} +96 -96
  96. package/dist/_chunks/list-Cwe8mcmh.js.map +1 -0
  97. package/dist/_chunks/live-region-COggO6x6.js +57 -0
  98. package/dist/_chunks/live-region-COggO6x6.js.map +1 -0
  99. package/dist/_chunks/{logo-UNWYb9p7.js → logo-3wrZGpwg.js} +29 -29
  100. package/dist/_chunks/logo-3wrZGpwg.js.map +1 -0
  101. package/dist/_chunks/{matrix-rain-Q7xTEpKu.js → matrix-rain-gsHqSvW7.js} +75 -75
  102. package/dist/_chunks/matrix-rain-gsHqSvW7.js.map +1 -0
  103. package/dist/_chunks/message-card-DID3cXUW.js +275 -0
  104. package/dist/_chunks/message-card-DID3cXUW.js.map +1 -0
  105. package/dist/_chunks/message-tray-CVMLBnVp.js +302 -0
  106. package/dist/_chunks/message-tray-CVMLBnVp.js.map +1 -0
  107. package/dist/_chunks/{multi-select.agent-Cf4pU636.js → multi-select.agent-BUKYZJfp.js} +126 -126
  108. package/dist/_chunks/multi-select.agent-BUKYZJfp.js.map +1 -0
  109. package/dist/_chunks/{navigation-menu-DBDsAmXc.js → navigation-menu-NjwxyshT.js} +68 -97
  110. package/dist/_chunks/navigation-menu-NjwxyshT.js.map +1 -0
  111. package/dist/_chunks/notification-card-BZ33fq8H.js +255 -0
  112. package/dist/_chunks/notification-card-BZ33fq8H.js.map +1 -0
  113. package/dist/_chunks/{notification-tray-CNWPuPZp.js → notification-tray-CnEd7B2q.js} +96 -96
  114. package/dist/_chunks/notification-tray-CnEd7B2q.js.map +1 -0
  115. package/dist/_chunks/{number-input-B1Th0DdC.js → number-input-D7rSa_ef.js} +73 -73
  116. package/dist/_chunks/number-input-D7rSa_ef.js.map +1 -0
  117. package/dist/_chunks/{otp-input-CmoBuZ4K.js → otp-input-C9R9sC74.js} +42 -42
  118. package/dist/_chunks/otp-input-C9R9sC74.js.map +1 -0
  119. package/dist/_chunks/{pagination.agent-B5KLDCMN.js → pagination.agent-D75FB6XP.js} +106 -106
  120. package/dist/_chunks/pagination.agent-D75FB6XP.js.map +1 -0
  121. package/dist/_chunks/{password-input-DnjNh-hQ.js → password-input-C6PvKyQV.js} +59 -59
  122. package/dist/_chunks/password-input-C6PvKyQV.js.map +1 -0
  123. package/dist/_chunks/{patient-shell-D0RaWDMR.js → patient-shell-CGsmI5LJ.js} +9 -9
  124. package/dist/_chunks/{patient-shell-D0RaWDMR.js.map → patient-shell-CGsmI5LJ.js.map} +1 -1
  125. package/dist/_chunks/{payment-form-Cf7U6r5L.js → payment-form-l3j-gA-t.js} +108 -108
  126. package/dist/_chunks/payment-form-l3j-gA-t.js.map +1 -0
  127. package/dist/_chunks/{pdf-viewer.agent-DXjgDItg.js → pdf-viewer.agent-DuGfSoep.js} +234 -233
  128. package/dist/_chunks/pdf-viewer.agent-DuGfSoep.js.map +1 -0
  129. package/dist/_chunks/{phone-input-C2dtIuxW.js → phone-input-ZWa_FU4R.js} +112 -112
  130. package/dist/_chunks/phone-input-ZWa_FU4R.js.map +1 -0
  131. package/dist/_chunks/{popover-D1woU9mP.js → popover-CMr1pTPO.js} +58 -58
  132. package/dist/_chunks/popover-CMr1pTPO.js.map +1 -0
  133. package/dist/_chunks/{privacy-lock-C1X42Sit.js → privacy-lock-Br5k7Rul.js} +36 -36
  134. package/dist/_chunks/privacy-lock-Br5k7Rul.js.map +1 -0
  135. package/dist/_chunks/{progress-DL3-izuO.js → progress-D4ELgHG3.js} +43 -43
  136. package/dist/_chunks/progress-D4ELgHG3.js.map +1 -0
  137. package/dist/_chunks/radio-B_gvGU29.js +106 -0
  138. package/dist/_chunks/radio-B_gvGU29.js.map +1 -0
  139. package/dist/_chunks/radio-group-Bn8Wt0yc.js +88 -0
  140. package/dist/_chunks/radio-group-Bn8Wt0yc.js.map +1 -0
  141. package/dist/_chunks/{react-day-picker-DQKDiJ37.js → react-day-picker-d0MHsyCj.js} +174 -174
  142. package/dist/_chunks/{react-day-picker-DQKDiJ37.js.map → react-day-picker-d0MHsyCj.js.map} +1 -1
  143. package/dist/_chunks/{resizable.agent-DVk_jJur.js → resizable.agent-DBpPGNdy.js} +122 -122
  144. package/dist/_chunks/resizable.agent-DBpPGNdy.js.map +1 -0
  145. package/dist/_chunks/{rich-text-editor.agent-BOjF4Xao.js → rich-text-editor.agent-C1_E7_7t.js} +225 -225
  146. package/dist/_chunks/rich-text-editor.agent-C1_E7_7t.js.map +1 -0
  147. package/dist/_chunks/scroll-area-Ba99pJ_R.js +144 -0
  148. package/dist/_chunks/scroll-area-Ba99pJ_R.js.map +1 -0
  149. package/dist/_chunks/{search-bar-DgSOAajC.js → search-bar-VoTqJhRp.js} +131 -131
  150. package/dist/_chunks/search-bar-VoTqJhRp.js.map +1 -0
  151. package/dist/_chunks/search-input-D6rarD0_.js +197 -0
  152. package/dist/_chunks/search-input-D6rarD0_.js.map +1 -0
  153. package/dist/_chunks/select-DbxWF3O_.js +320 -0
  154. package/dist/_chunks/select-DbxWF3O_.js.map +1 -0
  155. package/dist/_chunks/{separator-DExI4amU.js → separator-BRQHi8s0.js} +17 -17
  156. package/dist/_chunks/separator-BRQHi8s0.js.map +1 -0
  157. package/dist/_chunks/sheet-DyWqluiS.js +188 -0
  158. package/dist/_chunks/sheet-DyWqluiS.js.map +1 -0
  159. package/dist/_chunks/sidebar-B52iGGNV.js +1076 -0
  160. package/dist/_chunks/sidebar-B52iGGNV.js.map +1 -0
  161. package/dist/_chunks/{sign-in-with-alfadocs-button-BBL11-Rt.js → sign-in-with-alfadocs-button-BU7MP5Hg.js} +4 -4
  162. package/dist/_chunks/{sign-in-with-alfadocs-button-BBL11-Rt.js.map → sign-in-with-alfadocs-button-BU7MP5Hg.js.map} +1 -1
  163. package/dist/_chunks/{signature-capture.agent-L_1_-zVR.js → signature-capture.agent-4htVctJ2.js} +163 -163
  164. package/dist/_chunks/signature-capture.agent-4htVctJ2.js.map +1 -0
  165. package/dist/_chunks/skeleton-ClO1v5GE.js +95 -0
  166. package/dist/_chunks/skeleton-ClO1v5GE.js.map +1 -0
  167. package/dist/_chunks/skip-link-CASJkBOe.js +68 -0
  168. package/dist/_chunks/skip-link-CASJkBOe.js.map +1 -0
  169. package/dist/_chunks/slider-n8JWpJvT.js +273 -0
  170. package/dist/_chunks/slider-n8JWpJvT.js.map +1 -0
  171. package/dist/_chunks/slot-grid-BRAkqChA.js +491 -0
  172. package/dist/_chunks/slot-grid-BRAkqChA.js.map +1 -0
  173. package/dist/_chunks/{sparkline.agent-BDTXzTy9.js → sparkline.agent-BLY1IMyW.js} +45 -45
  174. package/dist/_chunks/sparkline.agent-BLY1IMyW.js.map +1 -0
  175. package/dist/_chunks/{spinner-77xUGpuX.js → spinner-CoAOGcDa.js} +40 -40
  176. package/dist/_chunks/spinner-CoAOGcDa.js.map +1 -0
  177. package/dist/_chunks/stat-D76MNHzK.js +208 -0
  178. package/dist/_chunks/stat-D76MNHzK.js.map +1 -0
  179. package/dist/_chunks/{stepper-accordion-BkvqQWPI.js → stepper-accordion-DHQ80A4v.js} +33 -33
  180. package/dist/_chunks/stepper-accordion-DHQ80A4v.js.map +1 -0
  181. package/dist/_chunks/{stepper-calendar-BQMjrwzo.js → stepper-calendar-vtWwa2bY.js} +159 -159
  182. package/dist/_chunks/stepper-calendar-vtWwa2bY.js.map +1 -0
  183. package/dist/_chunks/stepper-progress-DMZ5w5VR.js +128 -0
  184. package/dist/_chunks/stepper-progress-DMZ5w5VR.js.map +1 -0
  185. package/dist/_chunks/streaming-text-D0cW8pwq.js +104 -0
  186. package/dist/_chunks/streaming-text-D0cW8pwq.js.map +1 -0
  187. package/dist/_chunks/suggestion-chip-BgNFpPEE.js +157 -0
  188. package/dist/_chunks/suggestion-chip-BgNFpPEE.js.map +1 -0
  189. package/dist/_chunks/switch-DtLPKO0p.js +137 -0
  190. package/dist/_chunks/switch-DtLPKO0p.js.map +1 -0
  191. package/dist/_chunks/{tabs.agent-FsGU3sZL.js → tabs.agent-BDUlyPbJ.js} +101 -101
  192. package/dist/_chunks/tabs.agent-BDUlyPbJ.js.map +1 -0
  193. package/dist/_chunks/tag-CfSZZN2f.js +194 -0
  194. package/dist/_chunks/tag-CfSZZN2f.js.map +1 -0
  195. package/dist/_chunks/task-card-B5xfiFg5.js +112 -0
  196. package/dist/_chunks/task-card-B5xfiFg5.js.map +1 -0
  197. package/dist/_chunks/task-tray-BnpiodZ4.js +99 -0
  198. package/dist/_chunks/task-tray-BnpiodZ4.js.map +1 -0
  199. package/dist/_chunks/text-area-BqbruBWx.js +152 -0
  200. package/dist/_chunks/text-area-BqbruBWx.js.map +1 -0
  201. package/dist/_chunks/text-input-lh6kRXZS.js +187 -0
  202. package/dist/_chunks/text-input-lh6kRXZS.js.map +1 -0
  203. package/dist/_chunks/theme-toggle-BHKMiORD.js +326 -0
  204. package/dist/_chunks/theme-toggle-BHKMiORD.js.map +1 -0
  205. package/dist/_chunks/{time-picker-BapZq0OY.js → time-picker-DbpAmPux.js} +102 -102
  206. package/dist/_chunks/time-picker-DbpAmPux.js.map +1 -0
  207. package/dist/_chunks/timeline-vjsUeuq1.js +219 -0
  208. package/dist/_chunks/timeline-vjsUeuq1.js.map +1 -0
  209. package/dist/_chunks/{timestamp-BLM-jjdw.js → timestamp-DmSt92P1.js} +30 -30
  210. package/dist/_chunks/timestamp-DmSt92P1.js.map +1 -0
  211. package/dist/_chunks/{toast-DSCqnDRl.js → toast-DllSITLf.js} +151 -151
  212. package/dist/_chunks/{toast-DSCqnDRl.js.map → toast-DllSITLf.js.map} +1 -1
  213. package/dist/_chunks/{tooltip-DF6WjD1r.js → tooltip-Dp3u8jGz.js} +30 -30
  214. package/dist/_chunks/tooltip-Dp3u8jGz.js.map +1 -0
  215. package/dist/_chunks/{tooth-scheme.agent-CFKl3iQr.js → tooth-scheme.agent-BRqxWa1D.js} +75 -75
  216. package/dist/_chunks/tooth-scheme.agent-BRqxWa1D.js.map +1 -0
  217. package/dist/_chunks/transcript-panel-Bg1BTMSr.js +265 -0
  218. package/dist/_chunks/transcript-panel-Bg1BTMSr.js.map +1 -0
  219. package/dist/_chunks/typing-indicator-BRg22Rqr.js +81 -0
  220. package/dist/_chunks/typing-indicator-BRg22Rqr.js.map +1 -0
  221. package/dist/_chunks/use-locale-BuXR_Zl9.js +32 -0
  222. package/dist/_chunks/use-locale-BuXR_Zl9.js.map +1 -0
  223. package/dist/_chunks/visually-hidden-Y3jcdCv-.js +21 -0
  224. package/dist/_chunks/visually-hidden-Y3jcdCv-.js.map +1 -0
  225. package/dist/_chunks/{warning-stack-Cyf_81SL.js → warning-stack-B9N9yWet.js} +38 -38
  226. package/dist/_chunks/warning-stack-B9N9yWet.js.map +1 -0
  227. package/dist/_chunks/{workflow-map-Uf-hHAO3.js → workflow-map-gBhL_Wrs.js} +385 -385
  228. package/dist/_chunks/workflow-map-gBhL_Wrs.js.map +1 -0
  229. package/dist/components/_shared/index.d.ts +2 -0
  230. package/dist/components/_shared/index.d.ts.map +1 -1
  231. package/dist/components/_shared/use-focus-trap.d.ts +32 -0
  232. package/dist/components/_shared/use-focus-trap.d.ts.map +1 -0
  233. package/dist/components/_shared/use-neutralize-hidden-focus.d.ts +3 -0
  234. package/dist/components/_shared/use-neutralize-hidden-focus.d.ts.map +1 -0
  235. package/dist/components/accordion/index.js +1 -1
  236. package/dist/components/agenda-card/index.js +1 -1
  237. package/dist/components/agenda-tray/index.js +1 -1
  238. package/dist/components/ai-prompt-input/index.js +1 -1
  239. package/dist/components/alert/index.js +1 -1
  240. package/dist/components/app-frame/index.js +1 -1
  241. package/dist/components/aspect-ratio/index.js +1 -1
  242. package/dist/components/audio-recorder/index.js +1 -1
  243. package/dist/components/audio-visualiser/index.js +1 -1
  244. package/dist/components/autocomplete/index.js +1 -1
  245. package/dist/components/avatar/index.js +1 -1
  246. package/dist/components/badge/index.js +1 -1
  247. package/dist/components/breadcrumb/index.js +1 -1
  248. package/dist/components/button/index.js +2 -2
  249. package/dist/components/button-group/index.js +1 -1
  250. package/dist/components/calendar/calendar.d.ts.map +1 -1
  251. package/dist/components/calendar/index.js +1 -1
  252. package/dist/components/card/index.js +1 -1
  253. package/dist/components/chart/chart.d.ts.map +1 -1
  254. package/dist/components/chart/index.js +1 -1
  255. package/dist/components/chat-container/index.js +1 -1
  256. package/dist/components/chat-input/index.js +1 -1
  257. package/dist/components/chat-message/index.js +1 -1
  258. package/dist/components/checkbox/index.js +1 -1
  259. package/dist/components/checkbox-group/index.js +1 -1
  260. package/dist/components/collapsible/index.js +1 -1
  261. package/dist/components/color-picker/index.js +1 -1
  262. package/dist/components/combobox/index.js +1 -1
  263. package/dist/components/command-palette/index.js +1 -1
  264. package/dist/components/data-table/index.js +1 -1
  265. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  266. package/dist/components/date-picker/index.js +1 -1
  267. package/dist/components/date-range-picker/index.js +1 -1
  268. package/dist/components/date-time-picker/index.js +1 -1
  269. package/dist/components/description-list/index.js +1 -1
  270. package/dist/components/dialog/index.js +1 -1
  271. package/dist/components/dropdown-menu/index.js +1 -1
  272. package/dist/components/empty-state/index.js +1 -1
  273. package/dist/components/file-upload/index.js +1 -1
  274. package/dist/components/flag/index.js +1 -1
  275. package/dist/components/floating-action-button/index.js +1 -1
  276. package/dist/components/form-field/index.js +1 -1
  277. package/dist/components/freemium-paywall/index.js +1 -1
  278. package/dist/components/header/index.js +1 -1
  279. package/dist/components/icon-button/index.d.ts +3 -0
  280. package/dist/components/icon-button/index.d.ts.map +1 -0
  281. package/dist/components/icon-button/index.js +5 -0
  282. package/dist/components/icon-button/index.js.map +1 -0
  283. package/dist/components/icon-button-group/index.js +1 -1
  284. package/dist/components/index.d.ts +8 -2
  285. package/dist/components/index.d.ts.map +1 -1
  286. package/dist/components/kbd/index.js +1 -1
  287. package/dist/components/key-value-pair/index.js +1 -1
  288. package/dist/components/list/index.js +1 -1
  289. package/dist/components/live-region/index.d.ts +3 -0
  290. package/dist/components/live-region/index.d.ts.map +1 -0
  291. package/dist/components/live-region/index.js +5 -0
  292. package/dist/components/live-region/index.js.map +1 -0
  293. package/dist/components/live-region/live-region.d.ts +49 -0
  294. package/dist/components/live-region/live-region.d.ts.map +1 -0
  295. package/dist/components/logo/index.js +1 -1
  296. package/dist/components/matrix-rain/index.js +1 -1
  297. package/dist/components/message-card/index.js +1 -1
  298. package/dist/components/message-tray/index.js +1 -1
  299. package/dist/components/multi-select/index.js +1 -1
  300. package/dist/components/navigation-menu/index.d.ts +4 -2
  301. package/dist/components/navigation-menu/index.d.ts.map +1 -1
  302. package/dist/components/navigation-menu/index.js +3 -2
  303. package/dist/components/navigation-menu/index.js.map +1 -1
  304. package/dist/components/navigation-menu/navigation-menu.d.ts +2 -6
  305. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
  306. package/dist/components/notification-card/index.js +1 -1
  307. package/dist/components/notification-tray/index.js +1 -1
  308. package/dist/components/number-input/index.js +1 -1
  309. package/dist/components/otp-input/index.js +1 -1
  310. package/dist/components/pagination/index.js +1 -1
  311. package/dist/components/password-input/index.js +1 -1
  312. package/dist/components/payment-form/index.js +1 -1
  313. package/dist/components/pdf-viewer/index.js +1 -1
  314. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  315. package/dist/components/phone-input/index.js +1 -1
  316. package/dist/components/popover/index.js +1 -1
  317. package/dist/components/privacy-lock/index.js +1 -1
  318. package/dist/components/progress/index.js +1 -1
  319. package/dist/components/radio/index.d.ts +3 -0
  320. package/dist/components/radio/index.d.ts.map +1 -0
  321. package/dist/components/radio/index.js +5 -0
  322. package/dist/components/radio/index.js.map +1 -0
  323. package/dist/components/radio-group/index.js +4 -3
  324. package/dist/components/radio-group/index.js.map +1 -1
  325. package/dist/components/resizable/index.js +1 -1
  326. package/dist/components/rich-text-editor/index.js +1 -1
  327. package/dist/components/scroll-area/index.js +1 -1
  328. package/dist/components/search-bar/index.js +1 -1
  329. package/dist/components/search-input/index.js +1 -1
  330. package/dist/components/select/index.js +1 -1
  331. package/dist/components/separator/index.js +1 -1
  332. package/dist/components/sheet/index.js +1 -1
  333. package/dist/components/sidebar/index.js +1 -1
  334. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  335. package/dist/components/signature-capture/index.js +1 -1
  336. package/dist/components/skeleton/index.js +1 -1
  337. package/dist/components/skip-link/index.d.ts +2 -0
  338. package/dist/components/skip-link/index.d.ts.map +1 -0
  339. package/dist/components/skip-link/index.js +5 -0
  340. package/dist/components/skip-link/index.js.map +1 -0
  341. package/dist/components/skip-link/skip-link.d.ts +34 -0
  342. package/dist/components/skip-link/skip-link.d.ts.map +1 -0
  343. package/dist/components/slider/index.js +1 -1
  344. package/dist/components/slot-grid/index.js +1 -1
  345. package/dist/components/sparkline/index.js +1 -1
  346. package/dist/components/sparkline/sparkline.d.ts.map +1 -1
  347. package/dist/components/spinner/index.js +1 -1
  348. package/dist/components/stat/index.js +1 -1
  349. package/dist/components/stepper-accordion/index.js +1 -1
  350. package/dist/components/stepper-calendar/index.js +1 -1
  351. package/dist/components/stepper-progress/index.js +1 -1
  352. package/dist/components/streaming-text/index.js +1 -1
  353. package/dist/components/suggestion-chip/index.js +1 -1
  354. package/dist/components/switch/index.js +1 -1
  355. package/dist/components/tabs/index.js +1 -1
  356. package/dist/components/tag/index.js +1 -1
  357. package/dist/components/task-card/index.js +1 -1
  358. package/dist/components/task-tray/index.js +1 -1
  359. package/dist/components/text-area/index.js +1 -1
  360. package/dist/components/text-input/index.js +1 -1
  361. package/dist/components/theme-toggle/index.d.ts +3 -0
  362. package/dist/components/theme-toggle/index.d.ts.map +1 -0
  363. package/dist/components/theme-toggle/index.js +5 -0
  364. package/dist/components/theme-toggle/index.js.map +1 -0
  365. package/dist/components/theme-toggle/theme-toggle.d.ts +34 -0
  366. package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -0
  367. package/dist/components/time-picker/index.js +1 -1
  368. package/dist/components/timeline/index.js +1 -1
  369. package/dist/components/timestamp/index.js +1 -1
  370. package/dist/components/toast/index.js +1 -1
  371. package/dist/components/tooltip/index.js +1 -1
  372. package/dist/components/tooth-scheme/index.js +1 -1
  373. package/dist/components/transcript-panel/index.js +1 -1
  374. package/dist/components/typing-indicator/index.js +1 -1
  375. package/dist/components/visually-hidden/index.d.ts +2 -0
  376. package/dist/components/visually-hidden/index.d.ts.map +1 -0
  377. package/dist/components/visually-hidden/index.js +5 -0
  378. package/dist/components/visually-hidden/index.js.map +1 -0
  379. package/dist/components/visually-hidden/visually-hidden.d.ts +11 -0
  380. package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -0
  381. package/dist/components/warning-stack/index.js +1 -1
  382. package/dist/components/workflow/index.js +1 -1
  383. package/dist/hooks/index.d.ts +3 -0
  384. package/dist/hooks/index.d.ts.map +1 -1
  385. package/dist/hooks/index.js +10 -7
  386. package/dist/hooks/index.js.map +1 -1
  387. package/dist/hooks/use-locale.d.ts +27 -0
  388. package/dist/hooks/use-locale.d.ts.map +1 -0
  389. package/dist/hooks/use-media-query.d.ts +17 -0
  390. package/dist/hooks/use-media-query.d.ts.map +1 -0
  391. package/dist/i18n/config.js +59 -2
  392. package/dist/i18n/config.js.map +1 -1
  393. package/dist/i18n/resources.d.ts +57 -0
  394. package/dist/i18n/resources.d.ts.map +1 -1
  395. package/dist/index.js +442 -431
  396. package/dist/index.js.map +1 -1
  397. package/dist/locales/de.json +19 -0
  398. package/dist/locales/en.json +19 -0
  399. package/dist/locales/it.json +19 -0
  400. package/dist/patterns/leo-assistant/index.js +1 -1
  401. package/dist/patterns/patient-shell/index.js +1 -1
  402. package/dist/tokens.css +2 -2
  403. package/package.json +4 -2
  404. package/dist/_chunks/accordion-Dgcd38U_.js +0 -117
  405. package/dist/_chunks/accordion-Dgcd38U_.js.map +0 -1
  406. package/dist/_chunks/agenda-card-B2gq-gTq.js +0 -130
  407. package/dist/_chunks/agenda-card-B2gq-gTq.js.map +0 -1
  408. package/dist/_chunks/agenda-tray-twa8g_87.js +0 -119
  409. package/dist/_chunks/agenda-tray-twa8g_87.js.map +0 -1
  410. package/dist/_chunks/ai-prompt-input-C6IY_Eds.js +0 -379
  411. package/dist/_chunks/ai-prompt-input-C6IY_Eds.js.map +0 -1
  412. package/dist/_chunks/alert-C5ud6CfE.js.map +0 -1
  413. package/dist/_chunks/apexcharts-theme-cpBYmCcr.js +0 -17
  414. package/dist/_chunks/apexcharts-theme-cpBYmCcr.js.map +0 -1
  415. package/dist/_chunks/app-frame-CmIUp9BD.js.map +0 -1
  416. package/dist/_chunks/aspect-ratio-Bo3cZXmR.js +0 -56
  417. package/dist/_chunks/aspect-ratio-Bo3cZXmR.js.map +0 -1
  418. package/dist/_chunks/audio-recorder-GkGNtW2X.js.map +0 -1
  419. package/dist/_chunks/audio-visualiser-CIO3yy23.js.map +0 -1
  420. package/dist/_chunks/autocomplete.agent-kb0nmr6F.js.map +0 -1
  421. package/dist/_chunks/avatar-BsV7vRA6.js.map +0 -1
  422. package/dist/_chunks/badge--CmSr7ok.js +0 -104
  423. package/dist/_chunks/badge--CmSr7ok.js.map +0 -1
  424. package/dist/_chunks/balance-cell-renderer-BQwN51rT.js.map +0 -1
  425. package/dist/_chunks/breadcrumb-DnO6eHSS.js.map +0 -1
  426. package/dist/_chunks/button-CXL8bA8G.js +0 -119
  427. package/dist/_chunks/button-CXL8bA8G.js.map +0 -1
  428. package/dist/_chunks/button-group-CI7LFxt3.js.map +0 -1
  429. package/dist/_chunks/calendar-BIXVzhkL.js.map +0 -1
  430. package/dist/_chunks/card-n97MNPP2.js +0 -158
  431. package/dist/_chunks/card-n97MNPP2.js.map +0 -1
  432. package/dist/_chunks/chart.agent-DkmVXNsI.js.map +0 -1
  433. package/dist/_chunks/chat-container-SR3UWxbL.js +0 -174
  434. package/dist/_chunks/chat-container-SR3UWxbL.js.map +0 -1
  435. package/dist/_chunks/chat-input-aphxDjZL.js.map +0 -1
  436. package/dist/_chunks/chat-message-CdJSD18D.js.map +0 -1
  437. package/dist/_chunks/checkbox-CfiZ0FZc.js +0 -116
  438. package/dist/_chunks/checkbox-CfiZ0FZc.js.map +0 -1
  439. package/dist/_chunks/checkbox-group-D1aqVI0-.js.map +0 -1
  440. package/dist/_chunks/collapsible-jBFm7Ah8.js.map +0 -1
  441. package/dist/_chunks/color-picker-CiotzQJF.js.map +0 -1
  442. package/dist/_chunks/combobox.agent-B6RwDSct.js.map +0 -1
  443. package/dist/_chunks/command-palette.agent-B87_OkmC.js.map +0 -1
  444. package/dist/_chunks/date-time-picker-CX_FMsLG.js.map +0 -1
  445. package/dist/_chunks/description-list-C5UPZgX6.js +0 -187
  446. package/dist/_chunks/description-list-C5UPZgX6.js.map +0 -1
  447. package/dist/_chunks/dialog.agent-B276rAQF.js.map +0 -1
  448. package/dist/_chunks/dropdown-menu-CJKvK7VG.js +0 -210
  449. package/dist/_chunks/dropdown-menu-CJKvK7VG.js.map +0 -1
  450. package/dist/_chunks/empty-state-DiG7vYBM.js.map +0 -1
  451. package/dist/_chunks/file-upload.agent-BMow5yDY.js.map +0 -1
  452. package/dist/_chunks/floating-action-button-BM9ib-Wf.js +0 -95
  453. package/dist/_chunks/floating-action-button-BM9ib-Wf.js.map +0 -1
  454. package/dist/_chunks/form-field-B4bwrccN.js +0 -121
  455. package/dist/_chunks/form-field-B4bwrccN.js.map +0 -1
  456. package/dist/_chunks/freemium-paywall-DVyNsQHS.js +0 -197
  457. package/dist/_chunks/freemium-paywall-DVyNsQHS.js.map +0 -1
  458. package/dist/_chunks/header-BpKaSL_v.js.map +0 -1
  459. package/dist/_chunks/icon-button-C1vpylg3.js +0 -45
  460. package/dist/_chunks/icon-button-C1vpylg3.js.map +0 -1
  461. package/dist/_chunks/icon-button-group-tERESY-n.js.map +0 -1
  462. package/dist/_chunks/kbd-0iPlQjgC.js.map +0 -1
  463. package/dist/_chunks/key-value-pair--Je59tAF.js.map +0 -1
  464. package/dist/_chunks/leo-sidebar-9A9AWBxX.js +0 -755
  465. package/dist/_chunks/leo-sidebar-9A9AWBxX.js.map +0 -1
  466. package/dist/_chunks/list-n8vI8Yvn.js.map +0 -1
  467. package/dist/_chunks/logo-UNWYb9p7.js.map +0 -1
  468. package/dist/_chunks/matrix-rain-Q7xTEpKu.js.map +0 -1
  469. package/dist/_chunks/message-card-g5VS5Q80.js +0 -275
  470. package/dist/_chunks/message-card-g5VS5Q80.js.map +0 -1
  471. package/dist/_chunks/message-tray-CAk-iibU.js +0 -302
  472. package/dist/_chunks/message-tray-CAk-iibU.js.map +0 -1
  473. package/dist/_chunks/multi-select.agent-Cf4pU636.js.map +0 -1
  474. package/dist/_chunks/navigation-menu-DBDsAmXc.js.map +0 -1
  475. package/dist/_chunks/notification-card-CQxJporb.js +0 -255
  476. package/dist/_chunks/notification-card-CQxJporb.js.map +0 -1
  477. package/dist/_chunks/notification-tray-CNWPuPZp.js.map +0 -1
  478. package/dist/_chunks/number-input-B1Th0DdC.js.map +0 -1
  479. package/dist/_chunks/otp-input-CmoBuZ4K.js.map +0 -1
  480. package/dist/_chunks/pagination.agent-B5KLDCMN.js.map +0 -1
  481. package/dist/_chunks/password-input-DnjNh-hQ.js.map +0 -1
  482. package/dist/_chunks/payment-form-Cf7U6r5L.js.map +0 -1
  483. package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js.map +0 -1
  484. package/dist/_chunks/phone-input-C2dtIuxW.js.map +0 -1
  485. package/dist/_chunks/popover-D1woU9mP.js.map +0 -1
  486. package/dist/_chunks/privacy-lock-C1X42Sit.js.map +0 -1
  487. package/dist/_chunks/progress-DL3-izuO.js.map +0 -1
  488. package/dist/_chunks/radio-group-CXN9qNPe.js +0 -185
  489. package/dist/_chunks/radio-group-CXN9qNPe.js.map +0 -1
  490. package/dist/_chunks/resizable.agent-DVk_jJur.js.map +0 -1
  491. package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js.map +0 -1
  492. package/dist/_chunks/scroll-area-DXn-YWHY.js +0 -144
  493. package/dist/_chunks/scroll-area-DXn-YWHY.js.map +0 -1
  494. package/dist/_chunks/search-bar-DgSOAajC.js.map +0 -1
  495. package/dist/_chunks/search-input-D4tC_Prn.js +0 -197
  496. package/dist/_chunks/search-input-D4tC_Prn.js.map +0 -1
  497. package/dist/_chunks/select-B4m4upMg.js +0 -320
  498. package/dist/_chunks/select-B4m4upMg.js.map +0 -1
  499. package/dist/_chunks/separator-DExI4amU.js.map +0 -1
  500. package/dist/_chunks/sheet-D6XOx0fK.js +0 -188
  501. package/dist/_chunks/sheet-D6XOx0fK.js.map +0 -1
  502. package/dist/_chunks/sidebar-r645O-k9.js +0 -1076
  503. package/dist/_chunks/sidebar-r645O-k9.js.map +0 -1
  504. package/dist/_chunks/signature-capture.agent-L_1_-zVR.js.map +0 -1
  505. package/dist/_chunks/skeleton-vbTWUntB.js +0 -95
  506. package/dist/_chunks/skeleton-vbTWUntB.js.map +0 -1
  507. package/dist/_chunks/slider-B3DBwmcm.js +0 -273
  508. package/dist/_chunks/slider-B3DBwmcm.js.map +0 -1
  509. package/dist/_chunks/slot-grid-DL_Tuj0p.js +0 -491
  510. package/dist/_chunks/slot-grid-DL_Tuj0p.js.map +0 -1
  511. package/dist/_chunks/sparkline.agent-BDTXzTy9.js.map +0 -1
  512. package/dist/_chunks/spinner-77xUGpuX.js.map +0 -1
  513. package/dist/_chunks/stat-CrumvZWf.js +0 -208
  514. package/dist/_chunks/stat-CrumvZWf.js.map +0 -1
  515. package/dist/_chunks/stepper-accordion-BkvqQWPI.js.map +0 -1
  516. package/dist/_chunks/stepper-calendar-BQMjrwzo.js.map +0 -1
  517. package/dist/_chunks/stepper-progress-Bwfl-0rV.js +0 -128
  518. package/dist/_chunks/stepper-progress-Bwfl-0rV.js.map +0 -1
  519. package/dist/_chunks/streaming-text-Cu9YQe_1.js +0 -104
  520. package/dist/_chunks/streaming-text-Cu9YQe_1.js.map +0 -1
  521. package/dist/_chunks/suggestion-chip-XkxDJiPW.js +0 -157
  522. package/dist/_chunks/suggestion-chip-XkxDJiPW.js.map +0 -1
  523. package/dist/_chunks/switch-DyC0ThNT.js +0 -137
  524. package/dist/_chunks/switch-DyC0ThNT.js.map +0 -1
  525. package/dist/_chunks/tabs.agent-FsGU3sZL.js.map +0 -1
  526. package/dist/_chunks/tag-BucAvfTX.js +0 -194
  527. package/dist/_chunks/tag-BucAvfTX.js.map +0 -1
  528. package/dist/_chunks/task-card-uxjApfcg.js +0 -112
  529. package/dist/_chunks/task-card-uxjApfcg.js.map +0 -1
  530. package/dist/_chunks/task-tray-BdfM3p8N.js +0 -99
  531. package/dist/_chunks/task-tray-BdfM3p8N.js.map +0 -1
  532. package/dist/_chunks/text-area-CKxZ7cS3.js +0 -152
  533. package/dist/_chunks/text-area-CKxZ7cS3.js.map +0 -1
  534. package/dist/_chunks/text-input-D16CcMlL.js +0 -187
  535. package/dist/_chunks/text-input-D16CcMlL.js.map +0 -1
  536. package/dist/_chunks/time-picker-BapZq0OY.js.map +0 -1
  537. package/dist/_chunks/timeline-D3VOf4RT.js +0 -219
  538. package/dist/_chunks/timeline-D3VOf4RT.js.map +0 -1
  539. package/dist/_chunks/timestamp-BLM-jjdw.js.map +0 -1
  540. package/dist/_chunks/tooltip-DF6WjD1r.js.map +0 -1
  541. package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js.map +0 -1
  542. package/dist/_chunks/transcript-panel-aI14fHYA.js +0 -265
  543. package/dist/_chunks/transcript-panel-aI14fHYA.js.map +0 -1
  544. package/dist/_chunks/typing-indicator-BTVDEpnd.js +0 -81
  545. package/dist/_chunks/typing-indicator-BTVDEpnd.js.map +0 -1
  546. package/dist/_chunks/warning-stack-Cyf_81SL.js.map +0 -1
  547. package/dist/_chunks/workflow-map-Uf-hHAO3.js.map +0 -1
@@ -0,0 +1,1076 @@
1
+ import { jsx as a, jsxs as f, Fragment as O } from "react/jsx-runtime";
2
+ import { forwardRef as g, useState as D, useEffect as $, useCallback as K, useId as re, useRef as ie, useMemo as ne, useContext as G, createContext as q } from "react";
3
+ import * as B from "@radix-ui/react-dialog";
4
+ import * as F from "@radix-ui/react-collapsible";
5
+ import * as A from "@radix-ui/react-accordion";
6
+ import * as S from "@radix-ui/react-tooltip";
7
+ import { a as te } from "./accordion-BJD1aM67.js";
8
+ import { Slot as oe } from "@radix-ui/react-slot";
9
+ import { c as k } from "./index-D2ZczOXr.js";
10
+ import { useTranslation as I } from "react-i18next";
11
+ import { X as de } from "./x-CCcI3eJp.js";
12
+ import { c as R } from "./createLucideIcon-CrFbzy84.js";
13
+ import { C as L } from "./chevron-right-BrpYejk0.js";
14
+ /**
15
+ * @license lucide-react v1.8.0 - ISC
16
+ *
17
+ * This source code is licensed under the ISC license.
18
+ * See the LICENSE file in the root directory of this source tree.
19
+ */
20
+ const le = [
21
+ ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
22
+ ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
23
+ ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
24
+ ["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
25
+ ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
26
+ ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
27
+ ], ce = R("grip-vertical", le);
28
+ /**
29
+ * @license lucide-react v1.8.0 - ISC
30
+ *
31
+ * This source code is licensed under the ISC license.
32
+ * See the LICENSE file in the root directory of this source tree.
33
+ */
34
+ const ue = [
35
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
36
+ ["path", { d: "M9 3v18", key: "fh3hqa" }],
37
+ ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
38
+ ], me = R("panel-left-close", ue);
39
+ /**
40
+ * @license lucide-react v1.8.0 - ISC
41
+ *
42
+ * This source code is licensed under the ISC license.
43
+ * See the LICENSE file in the root directory of this source tree.
44
+ */
45
+ const fe = [
46
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
47
+ ["path", { d: "M9 3v18", key: "fh3hqa" }],
48
+ ["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
49
+ ], ve = R("panel-left-open", fe);
50
+ /**
51
+ * @license lucide-react v1.8.0 - ISC
52
+ *
53
+ * This source code is licensed under the ISC license.
54
+ * See the LICENSE file in the root directory of this source tree.
55
+ */
56
+ const pe = [
57
+ [
58
+ "path",
59
+ {
60
+ d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
61
+ key: "r04s7s"
62
+ }
63
+ ]
64
+ ], ge = R("star", pe), H = q({
65
+ mode: "expanded",
66
+ density: "default"
67
+ }), w = () => G(H), U = "ui.sidebar.state";
68
+ function be(e) {
69
+ if (typeof window > "u") return e;
70
+ try {
71
+ const s = window.localStorage.getItem(U);
72
+ if (s === "expanded" || s === "icon" || s === "overlay") return s;
73
+ } catch {
74
+ }
75
+ return e;
76
+ }
77
+ function he(e) {
78
+ if (!(typeof window > "u"))
79
+ try {
80
+ window.localStorage.setItem(U, e);
81
+ } catch {
82
+ }
83
+ }
84
+ function Ze(e, s) {
85
+ const [r, i] = D(() => {
86
+ if (typeof window > "u")
87
+ return typeof s == "function" ? s() : s;
88
+ try {
89
+ const t = window.localStorage.getItem(e);
90
+ if (t !== null) return JSON.parse(t);
91
+ } catch {
92
+ }
93
+ return typeof s == "function" ? s() : s;
94
+ });
95
+ return $(() => {
96
+ if (!(typeof window > "u"))
97
+ try {
98
+ window.localStorage.setItem(e, JSON.stringify(r));
99
+ } catch {
100
+ }
101
+ }, [e, r]), [r, i];
102
+ }
103
+ const V = k(
104
+ [
105
+ "ds:flex ds:flex-col",
106
+ // Sidebar sits at the page background in light mode (white-on-white
107
+ // chrome separated by the inline-end border + --shadow-md). In dark
108
+ // mode the Header already blends with --background, so we step the
109
+ // sidebar one layer down (blue-600) to keep it visually distinct from
110
+ // the header band — matches the PDF dark mockups' "flat Dark Blue
111
+ // surface with subtle depth via layering" recipe.
112
+ "ds:bg-[var(--background)] ds:[.theme-dark_&]:bg-[color:var(--color-blue-600)] ds:text-[var(--foreground)]",
113
+ "ds:border-inline-end ds:border-[var(--border)]",
114
+ // Resting-surface elevation — `--shadow-md` is deliberately lighter
115
+ // than `--shadow-card` so it reads as chrome, not a floating card,
116
+ // while still separating the rail from the page content on light
117
+ // backgrounds. Forced-colors strips shadows globally, so the
118
+ // `border-inline-end` above carries the separation cue for HCM.
119
+ //
120
+ // `relative z-[1]` lifts the rail above any sibling that paints a
121
+ // solid background (e.g. AppFrame's `<main>` surface), otherwise
122
+ // the shadow that projects towards the inline-end gets covered.
123
+ "ds:relative ds:z-[1] ds:shadow-[var(--shadow-md)]",
124
+ "ds:h-full",
125
+ "ds:transition-[inline-size] ds:duration-[var(--animation-duration)]",
126
+ "ds:motion-reduce:transition-none"
127
+ ].join(" "),
128
+ {
129
+ variants: {
130
+ mode: {
131
+ // Tokenised widths modelled on Linear / Jira proportions.
132
+ expanded: "ds:w-[var(--sidebar-modern-expanded-size)]",
133
+ icon: "ds:w-[var(--sidebar-modern-icon-size)]",
134
+ overlay: "ds:w-[var(--sidebar-modern-expanded-size)]"
135
+ },
136
+ density: {
137
+ default: "",
138
+ compact: ""
139
+ }
140
+ },
141
+ defaultVariants: { mode: "expanded", density: "default" }
142
+ }
143
+ ), xe = g(
144
+ ({
145
+ state: e,
146
+ defaultState: s = "expanded",
147
+ onStateChange: r,
148
+ density: i = "default",
149
+ open: t,
150
+ onOpenChange: d,
151
+ "aria-label": c,
152
+ className: o,
153
+ children: m,
154
+ ...u
155
+ }, v) => {
156
+ const { t: h } = I(), b = e !== void 0, [x, n] = D(
157
+ () => b ? e : be(s)
158
+ ), y = b ? e : x;
159
+ $(() => {
160
+ b || he(x);
161
+ }, [x, b]);
162
+ const N = K(
163
+ (j) => {
164
+ b || n(j), r == null || r(j);
165
+ },
166
+ [b, r]
167
+ ), p = c ?? h("ui.navigation.sidebar.label");
168
+ return y === "overlay" ? /* @__PURE__ */ a(H.Provider, { value: { mode: "overlay", density: i, transitionTo: N }, children: /* @__PURE__ */ a(B.Root, { open: t, onOpenChange: d, children: /* @__PURE__ */ f(B.Portal, { children: [
169
+ /* @__PURE__ */ a(
170
+ B.Overlay,
171
+ {
172
+ className: [
173
+ "ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
174
+ "ds:bg-[var(--foreground)]/20 ds:backdrop-blur-sm",
175
+ "ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in",
176
+ "ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out",
177
+ "ds:motion-reduce:animate-none"
178
+ ].join(" ")
179
+ }
180
+ ),
181
+ /* @__PURE__ */ f(
182
+ B.Content,
183
+ {
184
+ "aria-label": p,
185
+ className: [
186
+ "ds:fixed ds:z-[var(--z-modal)]",
187
+ "ds:inset-inline-start-0 ds:inset-block-start-0",
188
+ "ds:h-dvh",
189
+ V({ mode: "overlay", density: i }),
190
+ "ds:shadow-[var(--shadow-xl)]",
191
+ "ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
192
+ "ds:data-[state=open]:slide-in-from-left ds:data-[state=closed]:slide-out-to-left",
193
+ "ds:rtl:data-[state=open]:slide-in-from-right ds:rtl:data-[state=closed]:slide-out-to-right",
194
+ "ds:motion-reduce:animate-none",
195
+ "ds:focus:outline-none",
196
+ o ?? ""
197
+ ].filter(Boolean).join(" "),
198
+ children: [
199
+ /* @__PURE__ */ a("nav", { ref: v, "aria-label": p, className: "ds:flex ds:flex-col ds:h-full", ...u, children: m }),
200
+ /* @__PURE__ */ a(B.Close, { asChild: !0, children: /* @__PURE__ */ a(
201
+ "button",
202
+ {
203
+ type: "button",
204
+ "aria-label": h("ui.navigation.sidebar.close"),
205
+ className: [
206
+ "ds:absolute ds:top-[var(--spacing-sm)] ds:end-[var(--spacing-sm)]",
207
+ "ds:inline-flex ds:items-center ds:justify-center",
208
+ "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
209
+ "ds:rounded-[var(--radius-sm)] ds:text-[var(--muted-foreground)]",
210
+ "ds:hover:bg-[var(--muted)]/20 ds:focus-visible:outline-[length:var(--focus-ring-width)]",
211
+ "ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)]",
212
+ "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
213
+ ].join(" "),
214
+ children: /* @__PURE__ */ a(de, { "aria-hidden": "true", className: "ds:size-4" })
215
+ }
216
+ ) })
217
+ ]
218
+ }
219
+ )
220
+ ] }) }) }) : /* @__PURE__ */ a(H.Provider, { value: { mode: y, density: i, transitionTo: N }, children: /* @__PURE__ */ a(S.Provider, { delayDuration: 300, children: /* @__PURE__ */ a(
221
+ "nav",
222
+ {
223
+ ref: v,
224
+ "aria-label": p,
225
+ "data-mode": y,
226
+ "data-density": i,
227
+ className: [
228
+ V({ mode: y, density: i }),
229
+ i === "compact" ? "ds:density-compact" : "",
230
+ o ?? ""
231
+ ].filter(Boolean).join(" "),
232
+ ...u,
233
+ children: m
234
+ }
235
+ ) }) });
236
+ }
237
+ );
238
+ xe.displayName = "Sidebar";
239
+ const ye = g(
240
+ ({ className: e, ...s }, r) => {
241
+ const { mode: i } = w();
242
+ return /* @__PURE__ */ a(
243
+ "div",
244
+ {
245
+ ref: r,
246
+ className: [
247
+ "ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
248
+ "ds:min-h-[var(--min-target-size)]",
249
+ // Icon-rail is 64px — shrink horizontal padding so a 44×44
250
+ // control fits centred inside the header.
251
+ i === "icon" ? "ds:justify-center ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
252
+ "ds:py-[var(--spacing-sm)]",
253
+ // Hairline border + downward chrome shadow cast the header as a
254
+ // sticky top band above the scrolling body.
255
+ "ds:border-block-end ds:border-[var(--border)]",
256
+ "ds:shadow-[var(--shadow-chrome-down)]",
257
+ e ?? ""
258
+ ].filter(Boolean).join(" "),
259
+ ...s
260
+ }
261
+ );
262
+ }
263
+ );
264
+ ye.displayName = "SidebarHeader";
265
+ const we = g(
266
+ ({ className: e, ...s }, r) => /* @__PURE__ */ a(
267
+ "div",
268
+ {
269
+ ref: r,
270
+ className: [
271
+ "ds:flex-1 ds:overflow-auto",
272
+ "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
273
+ "ds:py-[var(--spacing-sm)]",
274
+ e ?? ""
275
+ ].filter(Boolean).join(" "),
276
+ ...s
277
+ }
278
+ )
279
+ );
280
+ we.displayName = "SidebarBody";
281
+ const Ne = g(
282
+ ({ className: e, ...s }, r) => {
283
+ const { mode: i } = w();
284
+ return /* @__PURE__ */ a(
285
+ "div",
286
+ {
287
+ ref: r,
288
+ className: [
289
+ "ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
290
+ // Icon-rail is 64px — two 44×44 controls can't sit side-by-side,
291
+ // so switch to a vertical stack and let each row self-centre.
292
+ i === "icon" ? "ds:flex-col ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
293
+ "ds:min-h-[var(--min-target-size)]",
294
+ "ds:py-[var(--spacing-sm)]",
295
+ // Hairline border + upward chrome shadow cast the footer as a
296
+ // sticky bottom band below the scrolling body.
297
+ "ds:border-block-start ds:border-[var(--border)]",
298
+ "ds:shadow-[var(--shadow-chrome-up)]",
299
+ e ?? ""
300
+ ].filter(Boolean).join(" "),
301
+ ...s
302
+ }
303
+ );
304
+ }
305
+ );
306
+ Ne.displayName = "SidebarFooter";
307
+ const Se = [
308
+ "group/section-label flex w-full items-center",
309
+ "type-eyebrow",
310
+ "text-[var(--muted-foreground)]",
311
+ "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
312
+ "py-[var(--spacing-xs)]",
313
+ "hover:text-[var(--foreground)]",
314
+ "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
315
+ "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
316
+ "transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none"
317
+ ].join(" "), M = [
318
+ "inline-flex shrink-0 items-center justify-center",
319
+ "size-4",
320
+ "text-[var(--accent)]",
321
+ "me-[var(--spacing-xs)]"
322
+ ].join(" "), J = g(
323
+ ({
324
+ label: e,
325
+ icon: s,
326
+ collapsible: r = !0,
327
+ defaultOpen: i = !0,
328
+ open: t,
329
+ onOpenChange: d,
330
+ className: c,
331
+ children: o,
332
+ ...m
333
+ }, u) => {
334
+ const { mode: v } = w(), h = v === "icon", b = r && !h && !!e, x = [
335
+ "flex flex-col",
336
+ "gap-[var(--spacing-xs)]",
337
+ "mt-[var(--spacing-sm)]",
338
+ c ?? ""
339
+ ].filter(Boolean).join(" ");
340
+ if (!b)
341
+ return /* @__PURE__ */ f("div", { ref: u, className: x, ...m, children: [
342
+ !!e || !!s ? /* @__PURE__ */ f(
343
+ "span",
344
+ {
345
+ className: [
346
+ "ds:flex ds:items-center",
347
+ "type-eyebrow",
348
+ "ds:text-[var(--muted-foreground)]",
349
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
350
+ "ds:py-[var(--spacing-xs)]",
351
+ h && !s ? "ds:sr-only" : ""
352
+ ].filter(Boolean).join(" "),
353
+ children: [
354
+ s ? /* @__PURE__ */ a("span", { "aria-hidden": "true", className: M, children: s }) : null,
355
+ e ? /* @__PURE__ */ a("span", { className: h ? "ds:sr-only" : "", children: e }) : null
356
+ ]
357
+ }
358
+ ) : null,
359
+ o
360
+ ] });
361
+ const n = "section";
362
+ return /* @__PURE__ */ a(
363
+ A.Root,
364
+ {
365
+ type: "single",
366
+ collapsible: !0,
367
+ defaultValue: t === void 0 && i ? n : void 0,
368
+ value: t === void 0 ? void 0 : t ? n : "",
369
+ onValueChange: d ? (y) => d(y === n) : void 0,
370
+ asChild: !0,
371
+ children: /* @__PURE__ */ a("div", { ref: u, className: x, ...m, children: /* @__PURE__ */ f(A.Item, { value: n, children: [
372
+ /* @__PURE__ */ a(A.Header, { className: "ds:flex", children: /* @__PURE__ */ f(A.Trigger, { className: Se, children: [
373
+ s ? /* @__PURE__ */ a("span", { "aria-hidden": "true", className: M, children: s }) : null,
374
+ /* @__PURE__ */ a("span", { className: "ds:flex-1 ds:text-start", children: e }),
375
+ /* @__PURE__ */ a(
376
+ L,
377
+ {
378
+ "aria-hidden": "true",
379
+ className: "ds:size-3 ds:transition-transform ds:group-data-[state=open]/section-label:rotate-90 ds:rtl:-scale-x-100 ds:motion-reduce:transition-none"
380
+ }
381
+ )
382
+ ] }) }),
383
+ /* @__PURE__ */ a(
384
+ te,
385
+ {
386
+ "aria-label": e,
387
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:[&>div]:contents",
388
+ children: o
389
+ }
390
+ )
391
+ ] }) })
392
+ }
393
+ );
394
+ }
395
+ );
396
+ J.displayName = "SidebarSection";
397
+ const je = [
398
+ "group flex w-full items-center gap-[var(--spacing-sm)]",
399
+ "min-h-[var(--min-target-size)]",
400
+ "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
401
+ "rounded-[var(--radius-sm)]",
402
+ "text-[var(--foreground)] text-[var(--font-size-sm)]",
403
+ "font-[var(--font-weight-medium)]",
404
+ "hover:bg-[var(--muted)]/20",
405
+ "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
406
+ "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
407
+ "transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none"
408
+ ].join(" "), ze = g(
409
+ ({ label: e, icon: s, children: r, className: i, defaultOpen: t, open: d, onOpenChange: c, ...o }, m) => {
410
+ const { mode: u } = w();
411
+ return /* @__PURE__ */ f(
412
+ F.Root,
413
+ {
414
+ ref: m,
415
+ defaultOpen: t,
416
+ open: d,
417
+ onOpenChange: c,
418
+ className: i,
419
+ ...o,
420
+ children: [
421
+ /* @__PURE__ */ f(F.Trigger, { className: je, children: [
422
+ s ? /* @__PURE__ */ a(
423
+ "span",
424
+ {
425
+ "aria-hidden": "true",
426
+ className: "ds:inline-flex ds:items-center ds:text-[var(--accent)]",
427
+ children: s
428
+ }
429
+ ) : null,
430
+ /* @__PURE__ */ a(
431
+ "span",
432
+ {
433
+ className: [
434
+ "ds:flex-1 ds:text-start",
435
+ u === "icon" ? "ds:sr-only" : ""
436
+ ].join(" "),
437
+ children: e
438
+ }
439
+ ),
440
+ u !== "icon" ? /* @__PURE__ */ a(
441
+ L,
442
+ {
443
+ "aria-hidden": "true",
444
+ className: "ds:size-4 ds:transition-transform ds:group-data-[state=open]:rotate-90 ds:rtl:-scale-x-100 ds:motion-reduce:transition-none"
445
+ }
446
+ ) : null
447
+ ] }),
448
+ /* @__PURE__ */ a(
449
+ F.Content,
450
+ {
451
+ className: [
452
+ "ds:overflow-hidden",
453
+ "ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
454
+ "ds:motion-reduce:animate-none",
455
+ "ds:ps-[var(--spacing-md)]"
456
+ ].join(" "),
457
+ children: r
458
+ }
459
+ )
460
+ ]
461
+ }
462
+ );
463
+ }
464
+ );
465
+ ze.displayName = "SidebarGroup";
466
+ const ke = k(
467
+ [
468
+ // Every row is a pin-hover parent so inline pin / reorder affordances can
469
+ // fade in on hover of the whole row — keep `group/item` on this selector.
470
+ // `!text-[var(--foreground)]` forces the label colour over the browser's
471
+ // default `<a>` link colour (blue-violet) and any inherited hue. The
472
+ // active variant also uses `!text-*` so it still wins when needed.
473
+ "ds:group/item ds:relative ds:flex ds:items-center",
474
+ "ds:gap-[var(--spacing-sm)]",
475
+ "ds:no-underline ds:!text-[var(--foreground)] ds:text-[length:var(--font-size-sm)]",
476
+ "ds:hover:bg-[var(--muted)]/12",
477
+ "ds:transition-colors ds:duration-[var(--animation-duration)]",
478
+ "ds:motion-reduce:transition-none",
479
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
480
+ "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
481
+ "ds:forced-colors:focus-visible:outline-[CanvasText]"
482
+ ].join(" "),
483
+ {
484
+ variants: {
485
+ mode: {
486
+ expanded: [
487
+ "ds:min-h-[var(--min-target-size)] ds:rounded-[var(--radius-sm)]",
488
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]"
489
+ ].join(" "),
490
+ // Icon-only: each item is a 44×44 pill tile centered in the rail.
491
+ // The active / hover background fills just the tile rather than the
492
+ // whole row — matching Linear / Asana chrome.
493
+ icon: [
494
+ "ds:justify-center ds:ms-auto ds:me-auto",
495
+ "ds:w-[var(--min-target-size)] ds:h-[var(--min-target-size)]",
496
+ "ds:ps-0 ds:pe-0 ds:rounded-[var(--radius-md)]"
497
+ ].join(" "),
498
+ overlay: [
499
+ "ds:min-h-[var(--min-target-size)] ds:rounded-[var(--radius-sm)]",
500
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]"
501
+ ].join(" ")
502
+ },
503
+ density: {
504
+ default: "",
505
+ compact: "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]"
506
+ },
507
+ isActive: {
508
+ // Filled pill — multi-carrier (bg + text + weight + aria-current at
509
+ // render time) so colour is never the sole identifier. `!text-*`
510
+ // forces the foreground over any inherited / base rule so the icon
511
+ // and label read clearly against the primary fill in every theme.
512
+ true: [
513
+ "ds:bg-[var(--primary)] ds:!text-[var(--primary-foreground)]",
514
+ "ds:font-[var(--font-weight-semibold)]",
515
+ // Keep hover from dimming the active fill.
516
+ "ds:hover:bg-[var(--primary)]"
517
+ ].join(" "),
518
+ false: ""
519
+ }
520
+ },
521
+ defaultVariants: {
522
+ mode: "expanded",
523
+ density: "default",
524
+ isActive: !1
525
+ }
526
+ }
527
+ ), W = g(
528
+ ({
529
+ asChild: e = !1,
530
+ isActive: s = !1,
531
+ isPinned: r = !1,
532
+ onPinChange: i,
533
+ pinLabel: t,
534
+ className: d,
535
+ children: c,
536
+ "aria-label": o,
537
+ ...m
538
+ }, u) => {
539
+ const { mode: v, density: h } = w(), b = e ? oe : "a", x = i !== void 0 && v !== "icon", n = /* @__PURE__ */ a(
540
+ b,
541
+ {
542
+ ref: u,
543
+ "aria-current": s ? "page" : void 0,
544
+ "aria-label": o,
545
+ className: ke({
546
+ mode: v,
547
+ density: h,
548
+ isActive: s,
549
+ className: x ? "flex-1 min-w-0" : d
550
+ }),
551
+ ...m,
552
+ children: c
553
+ }
554
+ ), y = x ? /* @__PURE__ */ f(
555
+ "div",
556
+ {
557
+ className: [
558
+ "ds:group/item ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
559
+ d ?? ""
560
+ ].filter(Boolean).join(" "),
561
+ children: [
562
+ n,
563
+ /* @__PURE__ */ a(
564
+ _,
565
+ {
566
+ isPinned: r,
567
+ label: t ?? o ?? "",
568
+ onPinChange: i
569
+ }
570
+ )
571
+ ]
572
+ }
573
+ ) : n;
574
+ return v === "icon" && o ? /* @__PURE__ */ f(S.Root, { children: [
575
+ /* @__PURE__ */ a(S.Trigger, { asChild: !0, children: y }),
576
+ /* @__PURE__ */ a(S.Portal, { children: /* @__PURE__ */ f(
577
+ S.Content,
578
+ {
579
+ side: "right",
580
+ sideOffset: 6,
581
+ className: [
582
+ "ds:z-[var(--z-tooltip)] ds:max-w-[16rem]",
583
+ "ds:rounded-[var(--radius-sm)]",
584
+ "ds:bg-[var(--foreground)] ds:text-[var(--background)]",
585
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:text-[var(--font-size-xs)]",
586
+ "ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
587
+ ].join(" "),
588
+ children: [
589
+ o,
590
+ /* @__PURE__ */ a(S.Arrow, { className: "ds:fill-[var(--foreground)]" })
591
+ ]
592
+ }
593
+ ) })
594
+ ] }) : y;
595
+ }
596
+ );
597
+ W.displayName = "SidebarItem";
598
+ const Ce = g(
599
+ ({ className: e, children: s, ...r }, i) => /* @__PURE__ */ a(
600
+ "span",
601
+ {
602
+ ref: i,
603
+ "aria-hidden": "true",
604
+ className: [
605
+ "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
606
+ "ds:size-5",
607
+ // Icons carry the accent tint by default so the rail reads less
608
+ // monotone against the violet active pill. The active row sets
609
+ // `aria-current="page"` on the anchor (which is `group/item`), so
610
+ // the icon flips to the primary-foreground (white) on the filled
611
+ // pill — keeping it readable on the primary background.
612
+ "ds:text-[var(--accent)]",
613
+ "ds:group-aria-[current=page]/item:text-[var(--primary-foreground)]",
614
+ e ?? ""
615
+ ].filter(Boolean).join(" "),
616
+ ...r,
617
+ children: s
618
+ }
619
+ )
620
+ );
621
+ Ce.displayName = "SidebarItemIcon";
622
+ const Te = g(
623
+ ({ className: e, children: s, ...r }, i) => {
624
+ const { mode: t } = w();
625
+ return /* @__PURE__ */ a(
626
+ "span",
627
+ {
628
+ ref: i,
629
+ className: [
630
+ "ds:flex-1",
631
+ "ds:overflow-hidden ds:text-ellipsis ds:whitespace-nowrap ds:break-normal",
632
+ "ds:text-start",
633
+ t === "icon" ? "ds:sr-only" : "",
634
+ e ?? ""
635
+ ].filter(Boolean).join(" "),
636
+ ...r,
637
+ children: s
638
+ }
639
+ );
640
+ }
641
+ );
642
+ Te.displayName = "SidebarItemLabel";
643
+ const Be = g(
644
+ ({ className: e, children: s, ...r }, i) => {
645
+ const { mode: t } = w(), d = t === "icon";
646
+ return /* @__PURE__ */ a(
647
+ "span",
648
+ {
649
+ ref: i,
650
+ "aria-hidden": d ? "true" : void 0,
651
+ className: [
652
+ "ds:inline-flex ds:items-center ds:justify-center",
653
+ "ds:font-[var(--font-weight-semibold)]",
654
+ d ? [
655
+ "ds:absolute ds:top-[2px] ds:end-[2px]",
656
+ "ds:min-w-0 ds:size-[10px] ds:ps-0 ds:pe-0",
657
+ "ds:rounded-[var(--radius-full)]",
658
+ "ds:bg-[var(--primary)] ds:text-transparent",
659
+ "ds:ring-2 ds:ring-[var(--background)]",
660
+ "ds:pointer-events-none"
661
+ ].join(" ") : [
662
+ "ds:min-w-[var(--spacing-lg)] ds:h-[var(--spacing-lg)]",
663
+ "ds:rounded-[var(--radius-full)]",
664
+ "ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)]",
665
+ "ds:text-[length:var(--font-size-xs)]",
666
+ "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]"
667
+ ].join(" "),
668
+ e ?? ""
669
+ ].filter(Boolean).join(" "),
670
+ ...r,
671
+ children: s
672
+ }
673
+ );
674
+ }
675
+ );
676
+ Be.displayName = "SidebarItemBadge";
677
+ const De = k(
678
+ [
679
+ "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
680
+ "ds:min-h-[var(--min-target-size)]",
681
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
682
+ "ds:rounded-[var(--radius-md)]",
683
+ "ds:text-[var(--foreground)] ds:text-[var(--font-size-sm)]",
684
+ "ds:hover:bg-[var(--muted)]/20",
685
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
686
+ "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
687
+ "ds:forced-colors:focus-visible:outline-[CanvasText]",
688
+ "ds:no-underline"
689
+ ].join(" ")
690
+ ), Ie = g(({ logo: e, name: s, showChevron: r = !0, className: i, ...t }, d) => {
691
+ const { mode: c } = w(), o = c !== "icon";
692
+ return /* @__PURE__ */ f(
693
+ "button",
694
+ {
695
+ ref: d,
696
+ type: "button",
697
+ "aria-label": s,
698
+ className: [De(), i].filter(Boolean).join(" "),
699
+ ...t,
700
+ children: [
701
+ /* @__PURE__ */ a("span", { "aria-hidden": "true", className: "ds:inline-flex ds:items-center ds:shrink-0", children: e }),
702
+ o ? /* @__PURE__ */ f(O, { children: [
703
+ /* @__PURE__ */ a(
704
+ "span",
705
+ {
706
+ className: "ds:truncate ds:flex-1 ds:text-start ds:max-w-[var(--header-workspace-max-inline-size)]",
707
+ children: s
708
+ }
709
+ ),
710
+ r ? /* @__PURE__ */ a(
711
+ L,
712
+ {
713
+ "aria-hidden": "true",
714
+ className: "ds:size-4 ds:shrink-0 ds:rotate-90"
715
+ }
716
+ ) : null
717
+ ] }) : null
718
+ ]
719
+ }
720
+ );
721
+ });
722
+ Ie.displayName = "SidebarWorkspaceSwitcher";
723
+ const Ae = k(
724
+ [
725
+ "ds:flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
726
+ "ds:min-h-[var(--min-target-size)]",
727
+ "ds:rounded-[var(--radius-md)]",
728
+ "ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)]",
729
+ "ds:font-[var(--font-weight-semibold)] ds:text-[var(--font-size-sm)]",
730
+ "ds:hover:bg-[var(--primary-hover)]",
731
+ "ds:transition-colors ds:motion-reduce:transition-none",
732
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
733
+ "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
734
+ "ds:forced-colors:focus-visible:outline-[CanvasText]"
735
+ ].join(" "),
736
+ {
737
+ variants: {
738
+ mode: {
739
+ expanded: "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
740
+ icon: "ds:ps-0 ds:pe-0 ds:w-[var(--sidebar-modern-tile)] ds:h-[var(--sidebar-modern-tile)] ds:ms-auto ds:me-auto",
741
+ overlay: "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
742
+ }
743
+ },
744
+ defaultVariants: { mode: "expanded" }
745
+ }
746
+ ), Re = g(({ icon: e, label: s, shortcut: r, className: i, ...t }, d) => {
747
+ const { mode: c } = w(), o = c !== "icon";
748
+ return /* @__PURE__ */ f(
749
+ "button",
750
+ {
751
+ ref: d,
752
+ type: "button",
753
+ "aria-label": s,
754
+ "aria-keyshortcuts": r,
755
+ className: [Ae({ mode: c }), i].filter(Boolean).join(" "),
756
+ ...t,
757
+ children: [
758
+ /* @__PURE__ */ a("span", { "aria-hidden": "true", className: "ds:inline-flex ds:size-4 ds:items-center ds:justify-center", children: e }),
759
+ o ? /* @__PURE__ */ f(O, { children: [
760
+ /* @__PURE__ */ a("span", { className: "ds:truncate", children: s }),
761
+ r ? /* @__PURE__ */ a("kbd", { className: "ds:ms-auto ds:text-[length:var(--font-size-xs)] ds:font-[family-name:var(--font-mono)] ds:opacity-80", children: r }) : null
762
+ ] }) : null
763
+ ]
764
+ }
765
+ );
766
+ });
767
+ Re.displayName = "SidebarPrimaryAction";
768
+ const Pe = [
769
+ "inline-flex items-center justify-center shrink-0",
770
+ "size-6 rounded-[var(--radius-sm)]",
771
+ // Pin stars carry the accent tint to match every other icon in the rail.
772
+ // Stays quiet via opacity — reveals only on row hover / focus.
773
+ "text-[var(--accent)]",
774
+ "opacity-0 group-hover/item:opacity-100 focus-visible:opacity-100",
775
+ "hover:bg-[var(--muted)]/20",
776
+ "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
777
+ "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
778
+ "forced-colors:focus-visible:outline-[CanvasText]",
779
+ "transition-[color,opacity,background-color] duration-[var(--animation-duration)]",
780
+ "motion-reduce:transition-none"
781
+ ].join(" "), _ = g(
782
+ ({ isPinned: e, onPinChange: s, label: r, className: i, onClick: t, ...d }, c) => {
783
+ const { t: o } = I(), { mode: m } = w();
784
+ if (m === "icon") return null;
785
+ const u = e ? o("ui.navigation.sidebar.unpinItem", "Unpin {{label}}", { label: r }) : o("ui.navigation.sidebar.pinItem", "Pin {{label}}", { label: r });
786
+ return /* @__PURE__ */ a(
787
+ "button",
788
+ {
789
+ ref: c,
790
+ type: "button",
791
+ "aria-label": u,
792
+ "aria-pressed": e,
793
+ className: [Pe, i].filter(Boolean).join(" "),
794
+ onClick: (v) => {
795
+ v.preventDefault(), v.stopPropagation(), s == null || s(!e), t == null || t(v);
796
+ },
797
+ ...d,
798
+ children: /* @__PURE__ */ a(
799
+ ge,
800
+ {
801
+ "aria-hidden": "true",
802
+ className: "ds:size-4",
803
+ fill: e ? "currentColor" : "none"
804
+ }
805
+ )
806
+ }
807
+ );
808
+ }
809
+ );
810
+ _.displayName = "SidebarPinButton";
811
+ const X = q(null), Fe = () => G(X), He = g(
812
+ ({ heading: e, emptyMessage: s, onReorder: r, className: i, children: t, ...d }, c) => {
813
+ const { t: o } = I(), m = e ?? o("ui.navigation.sidebar.favorites", "Favourites"), u = Array.isArray(t) ? t.filter(Boolean) : t ? [t] : [], v = u.length, h = v > 0, [b, x] = D(null), [n, y] = D(""), N = ie(!1), p = K((C) => {
814
+ N.current = !N.current, y(
815
+ N.current ? C : `${C}​`
816
+ );
817
+ }, []), j = ne(
818
+ () => ({ onReorder: r, count: v, dragSource: b, setDragSource: x, announce: p }),
819
+ [r, v, b, p]
820
+ );
821
+ return !h && !s ? null : /* @__PURE__ */ a(X.Provider, { value: j, children: /* @__PURE__ */ f(
822
+ J,
823
+ {
824
+ ref: c,
825
+ label: m,
826
+ className: i,
827
+ ...d,
828
+ children: [
829
+ h ? u : /* @__PURE__ */ a("p", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] type-meta ds:text-[color:var(--muted-foreground)]", children: s }),
830
+ /* @__PURE__ */ a("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: n })
831
+ ]
832
+ }
833
+ ) });
834
+ }
835
+ );
836
+ He.displayName = "SidebarFavorites";
837
+ const Le = k(
838
+ [
839
+ "ds:group/item ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
840
+ "ds:rounded-[var(--radius-sm)]",
841
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
842
+ ].join(" "),
843
+ {
844
+ variants: {
845
+ dragging: {
846
+ true: "ds:opacity-60",
847
+ false: ""
848
+ },
849
+ dropTarget: {
850
+ true: "ds:outline-[length:var(--focus-ring-width)] ds:outline-dashed ds:outline-[var(--primary)] ds:outline-offset-[-2px]",
851
+ false: ""
852
+ }
853
+ },
854
+ defaultVariants: { dragging: !1, dropTarget: !1 }
855
+ }
856
+ ), _e = [
857
+ "inline-flex items-center justify-center shrink-0",
858
+ "size-6 rounded-[var(--radius-sm)]",
859
+ "cursor-grab active:cursor-grabbing",
860
+ "text-[var(--muted-foreground)]",
861
+ // Quiet chrome — only reveal the grip when the row is hovered or the
862
+ // handle itself is focused (keyboard / AT). Matches the pin-star's
863
+ // reveal-on-hover behaviour so the two siblings appear together.
864
+ "opacity-0 group-hover/item:opacity-100 focus-visible:opacity-100",
865
+ "hover:bg-[var(--muted)]/20 hover:text-[var(--foreground)]",
866
+ "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
867
+ "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
868
+ "forced-colors:focus-visible:outline-[CanvasText]",
869
+ "transition-[color,opacity,background-color] duration-[var(--animation-duration)] motion-reduce:transition-none"
870
+ ].join(" "), Ee = g(
871
+ ({
872
+ index: e,
873
+ isActive: s = !1,
874
+ asChild: r = !1,
875
+ reorderLabel: i,
876
+ isPinned: t = !1,
877
+ onPinChange: d,
878
+ pinLabel: c,
879
+ "aria-label": o,
880
+ className: m,
881
+ children: u,
882
+ ...v
883
+ }, h) => {
884
+ const { t: b } = I(), { mode: x } = w(), n = Fe(), [y, N] = D(!1), p = !!(n != null && n.onReorder) && x !== "icon", j = i ?? o ?? "", C = re(), T = (l, z) => {
885
+ if (!(n != null && n.onReorder)) return;
886
+ const P = Math.max(0, Math.min(n.count - 1, z));
887
+ P !== l && (n.onReorder(l, P), n.announce(
888
+ b(
889
+ "ui.navigation.sidebar.reorderAnnounce",
890
+ "{{label}} moved to position {{to}} of {{total}}",
891
+ { label: j, to: P + 1, total: n.count }
892
+ )
893
+ ));
894
+ }, Y = (l) => {
895
+ p && (l.altKey && l.key === "ArrowUp" ? (l.preventDefault(), T(e, e - 1)) : l.altKey && l.key === "ArrowDown" ? (l.preventDefault(), T(e, e + 1)) : l.key === "Home" && l.altKey ? (l.preventDefault(), T(e, 0)) : l.key === "End" && l.altKey && (l.preventDefault(), T(e, n.count - 1)));
896
+ }, Q = (l) => {
897
+ p && (n == null || n.setDragSource(e), l.dataTransfer && (l.dataTransfer.effectAllowed = "move", l.dataTransfer.setData("text/plain", String(e))));
898
+ }, Z = () => {
899
+ n == null || n.setDragSource(null), N(!1);
900
+ }, ee = (l) => {
901
+ !p || (n == null ? void 0 : n.dragSource) === null || (l.preventDefault(), l.dataTransfer && (l.dataTransfer.dropEffect = "move"), N(!0));
902
+ }, se = () => N(!1), ae = (l) => {
903
+ if (!p) return;
904
+ l.preventDefault();
905
+ const z = n == null ? void 0 : n.dragSource;
906
+ N(!1), !(z == null || z === e) && T(z, e);
907
+ }, E = (n == null ? void 0 : n.dragSource) === e;
908
+ return /* @__PURE__ */ f(
909
+ "div",
910
+ {
911
+ className: Le({
912
+ dragging: E,
913
+ dropTarget: y && !E
914
+ }),
915
+ draggable: p || void 0,
916
+ onDragStart: p ? Q : void 0,
917
+ onDragEnd: p ? Z : void 0,
918
+ onDragOver: ee,
919
+ onDragLeave: se,
920
+ onDrop: ae,
921
+ children: [
922
+ /* @__PURE__ */ a(
923
+ W,
924
+ {
925
+ ref: h,
926
+ isActive: s,
927
+ asChild: r,
928
+ "aria-label": o,
929
+ "aria-describedby": p ? C : void 0,
930
+ draggable: p ? !1 : void 0,
931
+ className: [
932
+ p ? "ds:flex-1 ds:min-w-0" : "",
933
+ m ?? ""
934
+ ].filter(Boolean).join(" "),
935
+ ...v,
936
+ children: u
937
+ }
938
+ ),
939
+ p ? /* @__PURE__ */ a(
940
+ "button",
941
+ {
942
+ type: "button",
943
+ id: C,
944
+ "aria-label": b(
945
+ "ui.navigation.sidebar.reorderHandle",
946
+ "Reorder {{label}}. Press Alt + Up or Alt + Down to move.",
947
+ { label: j }
948
+ ),
949
+ className: _e,
950
+ onKeyDown: Y,
951
+ children: /* @__PURE__ */ a(ce, { "aria-hidden": "true", className: "ds:size-4" })
952
+ }
953
+ ) : null,
954
+ d && x !== "icon" ? /* @__PURE__ */ a(
955
+ _,
956
+ {
957
+ isPinned: t,
958
+ label: c ?? o ?? "",
959
+ onPinChange: d
960
+ }
961
+ ) : null
962
+ ]
963
+ }
964
+ );
965
+ }
966
+ );
967
+ Ee.displayName = "SidebarFavoriteItem";
968
+ const Ve = k(
969
+ [
970
+ "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
971
+ "ds:min-h-[var(--min-target-size)]",
972
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
973
+ "ds:rounded-[var(--radius-md)]",
974
+ "ds:text-[var(--foreground)] ds:text-[var(--font-size-sm)]",
975
+ "ds:hover:bg-[var(--muted)]/20",
976
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
977
+ "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
978
+ "ds:forced-colors:focus-visible:outline-[CanvasText]",
979
+ "ds:no-underline"
980
+ ].join(" ")
981
+ ), Me = g(({ avatar: e, name: s, subtitle: r, subtitleLabel: i, className: t, ...d }, c) => {
982
+ const { mode: o } = w(), m = o !== "icon", u = typeof r == "string" ? r : i;
983
+ return /* @__PURE__ */ f(
984
+ "button",
985
+ {
986
+ ref: c,
987
+ type: "button",
988
+ "aria-label": u ? `${s}, ${u}` : s,
989
+ className: [Ve(), t].filter(Boolean).join(" "),
990
+ ...d,
991
+ children: [
992
+ /* @__PURE__ */ a("span", { "aria-hidden": "true", className: "ds:inline-flex ds:items-center ds:shrink-0", children: e }),
993
+ m ? /* @__PURE__ */ f("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
994
+ /* @__PURE__ */ a("span", { className: "ds:block ds:truncate type-label", children: s }),
995
+ r ? typeof r == "string" ? /* @__PURE__ */ a("span", { className: "ds:block ds:truncate type-meta ds:text-[color:var(--muted-foreground)]", children: r }) : /* @__PURE__ */ a("span", { className: "ds:flex ds:items-center ds:gap-[length:var(--spacing-xs)] ds:min-w-0 type-meta ds:text-[color:var(--muted-foreground)]", children: r }) : null
996
+ ] }) : null
997
+ ]
998
+ }
999
+ );
1000
+ });
1001
+ Me.displayName = "SidebarProfilePill";
1002
+ const Oe = [
1003
+ "inline-flex items-center justify-center shrink-0",
1004
+ "min-w-[var(--min-target-size)] min-h-[var(--min-target-size)]",
1005
+ "rounded-[var(--radius-sm)]",
1006
+ "text-[var(--muted-foreground)]",
1007
+ "hover:bg-[var(--muted)]/20 hover:text-[var(--foreground)]",
1008
+ "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
1009
+ "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1010
+ "forced-colors:focus-visible:outline-[CanvasText]",
1011
+ "transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none"
1012
+ ].join(" "), $e = g(
1013
+ ({ className: e, "aria-label": s, onClick: r, ...i }, t) => {
1014
+ const { t: d } = I(), { mode: c, transitionTo: o } = w();
1015
+ if (c === "overlay") return null;
1016
+ const m = c === "expanded", u = s ?? (m ? d("ui.navigation.sidebar.collapse", "Collapse sidebar") : d("ui.navigation.sidebar.expand", "Expand sidebar")), v = /* @__PURE__ */ a(
1017
+ "button",
1018
+ {
1019
+ ref: t,
1020
+ type: "button",
1021
+ "aria-label": u,
1022
+ "aria-expanded": m,
1023
+ onClick: (h) => {
1024
+ o == null || o(m ? "icon" : "expanded"), r == null || r(h);
1025
+ },
1026
+ className: [Oe, e].filter(Boolean).join(" "),
1027
+ ...i,
1028
+ children: m ? /* @__PURE__ */ a(me, { "aria-hidden": "true", className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ a(ve, { "aria-hidden": "true", className: "ds:size-4 ds:rtl:-scale-x-100" })
1029
+ }
1030
+ );
1031
+ return /* @__PURE__ */ f(S.Root, { children: [
1032
+ /* @__PURE__ */ a(S.Trigger, { asChild: !0, children: v }),
1033
+ /* @__PURE__ */ a(S.Portal, { children: /* @__PURE__ */ f(
1034
+ S.Content,
1035
+ {
1036
+ side: c === "icon" ? "right" : "top",
1037
+ sideOffset: 6,
1038
+ className: [
1039
+ "ds:z-[var(--z-tooltip)] ds:max-w-[16rem]",
1040
+ "ds:rounded-[var(--radius-sm)]",
1041
+ "ds:bg-[var(--foreground)] ds:text-[var(--background)]",
1042
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:text-[var(--font-size-xs)]",
1043
+ "ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
1044
+ ].join(" "),
1045
+ children: [
1046
+ u,
1047
+ /* @__PURE__ */ a(S.Arrow, { className: "ds:fill-[var(--foreground)]" })
1048
+ ]
1049
+ }
1050
+ ) })
1051
+ ] });
1052
+ }
1053
+ );
1054
+ $e.displayName = "SidebarCollapseTrigger";
1055
+ export {
1056
+ xe as S,
1057
+ we as a,
1058
+ $e as b,
1059
+ Ee as c,
1060
+ He as d,
1061
+ Ne as e,
1062
+ ze as f,
1063
+ ye as g,
1064
+ W as h,
1065
+ Be as i,
1066
+ Ce as j,
1067
+ Te as k,
1068
+ _ as l,
1069
+ Re as m,
1070
+ Me as n,
1071
+ J as o,
1072
+ Ie as p,
1073
+ w as q,
1074
+ Ze as u
1075
+ };
1076
+ //# sourceMappingURL=sidebar-B52iGGNV.js.map