@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
@@ -1,1076 +0,0 @@
1
- import { jsx as r, 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 ie, useRef as ne, useMemo as te, 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 oe } from "./accordion-Dgcd38U_.js";
8
- import { Slot as se } 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 le } 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 ce = [
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
- ], de = R("grip-vertical", ce);
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 a = window.localStorage.getItem(U);
72
- if (a === "expanded" || a === "icon" || a === "overlay") return a;
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, a) {
85
- const [i, n] = D(() => {
86
- if (typeof window > "u")
87
- return typeof a == "function" ? a() : a;
88
- try {
89
- const o = window.localStorage.getItem(e);
90
- if (o !== null) return JSON.parse(o);
91
- } catch {
92
- }
93
- return typeof a == "function" ? a() : a;
94
- });
95
- return $(() => {
96
- if (!(typeof window > "u"))
97
- try {
98
- window.localStorage.setItem(e, JSON.stringify(i));
99
- } catch {
100
- }
101
- }, [e, i]), [i, n];
102
- }
103
- const V = k(
104
- [
105
- "flex 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
- "bg-[var(--background)] [.theme-dark_&]:bg-[color:var(--color-blue-600)] text-[var(--foreground)]",
113
- "border-inline-end 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
- "relative z-[1] shadow-[var(--shadow-md)]",
124
- "h-full",
125
- "transition-[inline-size] duration-[var(--animation-duration)]",
126
- "motion-reduce:transition-none"
127
- ].join(" "),
128
- {
129
- variants: {
130
- mode: {
131
- // Tokenised widths modelled on Linear / Jira proportions.
132
- expanded: "w-[var(--sidebar-modern-expanded-size)]",
133
- icon: "w-[var(--sidebar-modern-icon-size)]",
134
- overlay: "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: a = "expanded",
147
- onStateChange: i,
148
- density: n = "default",
149
- open: o,
150
- onOpenChange: l,
151
- "aria-label": d,
152
- className: s,
153
- children: m,
154
- ...u
155
- }, v) => {
156
- const { t: h } = I(), b = e !== void 0, [x, t] = D(
157
- () => b ? e : be(a)
158
- ), y = b ? e : x;
159
- $(() => {
160
- b || he(x);
161
- }, [x, b]);
162
- const N = K(
163
- (j) => {
164
- b || t(j), i == null || i(j);
165
- },
166
- [b, i]
167
- ), p = d ?? h("ui.navigation.sidebar.label");
168
- return y === "overlay" ? /* @__PURE__ */ r(H.Provider, { value: { mode: "overlay", density: n, transitionTo: N }, children: /* @__PURE__ */ r(B.Root, { open: o, onOpenChange: l, children: /* @__PURE__ */ f(B.Portal, { children: [
169
- /* @__PURE__ */ r(
170
- B.Overlay,
171
- {
172
- className: [
173
- "fixed inset-0 z-[var(--z-modal-backdrop)]",
174
- "bg-[var(--foreground)]/20 backdrop-blur-sm",
175
- "data-[state=open]:animate-in data-[state=open]:fade-in",
176
- "data-[state=closed]:animate-out data-[state=closed]:fade-out",
177
- "motion-reduce:animate-none"
178
- ].join(" ")
179
- }
180
- ),
181
- /* @__PURE__ */ f(
182
- B.Content,
183
- {
184
- "aria-label": p,
185
- className: [
186
- "fixed z-[var(--z-modal)]",
187
- "inset-inline-start-0 inset-block-start-0",
188
- "h-dvh",
189
- V({ mode: "overlay", density: n }),
190
- "shadow-[var(--shadow-xl)]",
191
- "data-[state=open]:animate-in data-[state=closed]:animate-out",
192
- "data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left",
193
- "rtl:data-[state=open]:slide-in-from-right rtl:data-[state=closed]:slide-out-to-right",
194
- "motion-reduce:animate-none",
195
- "focus:outline-none",
196
- s ?? ""
197
- ].filter(Boolean).join(" "),
198
- children: [
199
- /* @__PURE__ */ r("nav", { ref: v, "aria-label": p, className: "flex flex-col h-full", ...u, children: m }),
200
- /* @__PURE__ */ r(B.Close, { asChild: !0, children: /* @__PURE__ */ r(
201
- "button",
202
- {
203
- type: "button",
204
- "aria-label": h("ui.navigation.sidebar.close"),
205
- className: [
206
- "absolute top-[var(--spacing-sm)] end-[var(--spacing-sm)]",
207
- "inline-flex items-center justify-center",
208
- "min-w-[var(--min-target-size)] min-h-[var(--min-target-size)]",
209
- "rounded-[var(--radius-sm)] text-[var(--muted-foreground)]",
210
- "hover:bg-[var(--muted)]/20 focus-visible:outline-[length:var(--focus-ring-width)]",
211
- "focus-visible:outline-solid focus-visible:outline-[var(--ring)]",
212
- "focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
213
- ].join(" "),
214
- children: /* @__PURE__ */ r(le, { "aria-hidden": "true", className: "size-4" })
215
- }
216
- ) })
217
- ]
218
- }
219
- )
220
- ] }) }) }) : /* @__PURE__ */ r(H.Provider, { value: { mode: y, density: n, transitionTo: N }, children: /* @__PURE__ */ r(S.Provider, { delayDuration: 300, children: /* @__PURE__ */ r(
221
- "nav",
222
- {
223
- ref: v,
224
- "aria-label": p,
225
- "data-mode": y,
226
- "data-density": n,
227
- className: [
228
- V({ mode: y, density: n }),
229
- n === "compact" ? "density-compact" : "",
230
- s ?? ""
231
- ].filter(Boolean).join(" "),
232
- ...u,
233
- children: m
234
- }
235
- ) }) });
236
- }
237
- );
238
- xe.displayName = "Sidebar";
239
- const ye = g(
240
- ({ className: e, ...a }, i) => {
241
- const { mode: n } = w();
242
- return /* @__PURE__ */ r(
243
- "div",
244
- {
245
- ref: i,
246
- className: [
247
- "relative flex items-center gap-[var(--spacing-xs)]",
248
- "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
- n === "icon" ? "justify-center ps-[var(--spacing-xs)] pe-[var(--spacing-xs)]" : "ps-[var(--spacing-md)] pe-[var(--spacing-md)]",
252
- "py-[var(--spacing-sm)]",
253
- // Hairline border + downward chrome shadow cast the header as a
254
- // sticky top band above the scrolling body.
255
- "border-block-end border-[var(--border)]",
256
- "shadow-[var(--shadow-chrome-down)]",
257
- e ?? ""
258
- ].filter(Boolean).join(" "),
259
- ...a
260
- }
261
- );
262
- }
263
- );
264
- ye.displayName = "SidebarHeader";
265
- const we = g(
266
- ({ className: e, ...a }, i) => /* @__PURE__ */ r(
267
- "div",
268
- {
269
- ref: i,
270
- className: [
271
- "flex-1 overflow-auto",
272
- "ps-[var(--spacing-xs)] pe-[var(--spacing-xs)]",
273
- "py-[var(--spacing-sm)]",
274
- e ?? ""
275
- ].filter(Boolean).join(" "),
276
- ...a
277
- }
278
- )
279
- );
280
- we.displayName = "SidebarBody";
281
- const Ne = g(
282
- ({ className: e, ...a }, i) => {
283
- const { mode: n } = w();
284
- return /* @__PURE__ */ r(
285
- "div",
286
- {
287
- ref: i,
288
- className: [
289
- "relative flex items-center 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
- n === "icon" ? "flex-col ps-[var(--spacing-xs)] pe-[var(--spacing-xs)]" : "ps-[var(--spacing-md)] pe-[var(--spacing-md)]",
293
- "min-h-[var(--min-target-size)]",
294
- "py-[var(--spacing-sm)]",
295
- // Hairline border + upward chrome shadow cast the footer as a
296
- // sticky bottom band below the scrolling body.
297
- "border-block-start border-[var(--border)]",
298
- "shadow-[var(--shadow-chrome-up)]",
299
- e ?? ""
300
- ].filter(Boolean).join(" "),
301
- ...a
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: a,
326
- collapsible: i = !0,
327
- defaultOpen: n = !0,
328
- open: o,
329
- onOpenChange: l,
330
- className: d,
331
- children: s,
332
- ...m
333
- }, u) => {
334
- const { mode: v } = w(), h = v === "icon", b = i && !h && !!e, x = [
335
- "flex flex-col",
336
- "gap-[var(--spacing-xs)]",
337
- "mt-[var(--spacing-sm)]",
338
- d ?? ""
339
- ].filter(Boolean).join(" ");
340
- if (!b)
341
- return /* @__PURE__ */ f("div", { ref: u, className: x, ...m, children: [
342
- !!e || !!a ? /* @__PURE__ */ f(
343
- "span",
344
- {
345
- className: [
346
- "flex items-center",
347
- "type-eyebrow",
348
- "text-[var(--muted-foreground)]",
349
- "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
350
- "py-[var(--spacing-xs)]",
351
- h && !a ? "sr-only" : ""
352
- ].filter(Boolean).join(" "),
353
- children: [
354
- a ? /* @__PURE__ */ r("span", { "aria-hidden": "true", className: M, children: a }) : null,
355
- e ? /* @__PURE__ */ r("span", { className: h ? "sr-only" : "", children: e }) : null
356
- ]
357
- }
358
- ) : null,
359
- s
360
- ] });
361
- const t = "section";
362
- return /* @__PURE__ */ r(
363
- A.Root,
364
- {
365
- type: "single",
366
- collapsible: !0,
367
- defaultValue: o === void 0 && n ? t : void 0,
368
- value: o === void 0 ? void 0 : o ? t : "",
369
- onValueChange: l ? (y) => l(y === t) : void 0,
370
- asChild: !0,
371
- children: /* @__PURE__ */ r("div", { ref: u, className: x, ...m, children: /* @__PURE__ */ f(A.Item, { value: t, children: [
372
- /* @__PURE__ */ r(A.Header, { className: "flex", children: /* @__PURE__ */ f(A.Trigger, { className: Se, children: [
373
- a ? /* @__PURE__ */ r("span", { "aria-hidden": "true", className: M, children: a }) : null,
374
- /* @__PURE__ */ r("span", { className: "flex-1 text-start", children: e }),
375
- /* @__PURE__ */ r(
376
- L,
377
- {
378
- "aria-hidden": "true",
379
- className: "size-3 transition-transform group-data-[state=open]/section-label:rotate-90 rtl:-scale-x-100 motion-reduce:transition-none"
380
- }
381
- )
382
- ] }) }),
383
- /* @__PURE__ */ r(
384
- oe,
385
- {
386
- "aria-label": e,
387
- className: "flex flex-col gap-[var(--spacing-xs)] [&>div]:contents",
388
- children: s
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: a, children: i, className: n, defaultOpen: o, open: l, onOpenChange: d, ...s }, m) => {
410
- const { mode: u } = w();
411
- return /* @__PURE__ */ f(
412
- F.Root,
413
- {
414
- ref: m,
415
- defaultOpen: o,
416
- open: l,
417
- onOpenChange: d,
418
- className: n,
419
- ...s,
420
- children: [
421
- /* @__PURE__ */ f(F.Trigger, { className: je, children: [
422
- a ? /* @__PURE__ */ r(
423
- "span",
424
- {
425
- "aria-hidden": "true",
426
- className: "inline-flex items-center text-[var(--accent)]",
427
- children: a
428
- }
429
- ) : null,
430
- /* @__PURE__ */ r(
431
- "span",
432
- {
433
- className: [
434
- "flex-1 text-start",
435
- u === "icon" ? "sr-only" : ""
436
- ].join(" "),
437
- children: e
438
- }
439
- ),
440
- u !== "icon" ? /* @__PURE__ */ r(
441
- L,
442
- {
443
- "aria-hidden": "true",
444
- className: "size-4 transition-transform group-data-[state=open]:rotate-90 rtl:-scale-x-100 motion-reduce:transition-none"
445
- }
446
- ) : null
447
- ] }),
448
- /* @__PURE__ */ r(
449
- F.Content,
450
- {
451
- className: [
452
- "overflow-hidden",
453
- "data-[state=open]:animate-in data-[state=closed]:animate-out",
454
- "motion-reduce:animate-none",
455
- "ps-[var(--spacing-md)]"
456
- ].join(" "),
457
- children: i
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
- "group/item relative flex items-center",
474
- "gap-[var(--spacing-sm)]",
475
- "no-underline !text-[var(--foreground)] text-[length:var(--font-size-sm)]",
476
- "hover:bg-[var(--muted)]/12",
477
- "transition-colors duration-[var(--animation-duration)]",
478
- "motion-reduce:transition-none",
479
- "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
480
- "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
481
- "forced-colors:focus-visible:outline-[CanvasText]"
482
- ].join(" "),
483
- {
484
- variants: {
485
- mode: {
486
- expanded: [
487
- "min-h-[var(--min-target-size)] rounded-[var(--radius-sm)]",
488
- "ps-[var(--spacing-sm)] 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
- "justify-center ms-auto me-auto",
495
- "w-[var(--min-target-size)] h-[var(--min-target-size)]",
496
- "ps-0 pe-0 rounded-[var(--radius-md)]"
497
- ].join(" "),
498
- overlay: [
499
- "min-h-[var(--min-target-size)] rounded-[var(--radius-sm)]",
500
- "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]"
501
- ].join(" ")
502
- },
503
- density: {
504
- default: "",
505
- compact: "ps-[var(--spacing-xs)] 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
- "bg-[var(--primary)] !text-[var(--primary-foreground)]",
514
- "font-[var(--font-weight-semibold)]",
515
- // Keep hover from dimming the active fill.
516
- "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: a = !1,
531
- isPinned: i = !1,
532
- onPinChange: n,
533
- pinLabel: o,
534
- className: l,
535
- children: d,
536
- "aria-label": s,
537
- ...m
538
- }, u) => {
539
- const { mode: v, density: h } = w(), b = e ? se : "a", x = n !== void 0 && v !== "icon", t = /* @__PURE__ */ r(
540
- b,
541
- {
542
- ref: u,
543
- "aria-current": a ? "page" : void 0,
544
- "aria-label": s,
545
- className: ke({
546
- mode: v,
547
- density: h,
548
- isActive: a,
549
- className: x ? "flex-1 min-w-0" : l
550
- }),
551
- ...m,
552
- children: d
553
- }
554
- ), y = x ? /* @__PURE__ */ f(
555
- "div",
556
- {
557
- className: [
558
- "group/item flex items-center gap-[var(--spacing-2xs)]",
559
- l ?? ""
560
- ].filter(Boolean).join(" "),
561
- children: [
562
- t,
563
- /* @__PURE__ */ r(
564
- _,
565
- {
566
- isPinned: i,
567
- label: o ?? s ?? "",
568
- onPinChange: n
569
- }
570
- )
571
- ]
572
- }
573
- ) : t;
574
- return v === "icon" && s ? /* @__PURE__ */ f(S.Root, { children: [
575
- /* @__PURE__ */ r(S.Trigger, { asChild: !0, children: y }),
576
- /* @__PURE__ */ r(S.Portal, { children: /* @__PURE__ */ f(
577
- S.Content,
578
- {
579
- side: "right",
580
- sideOffset: 6,
581
- className: [
582
- "z-[var(--z-tooltip)] max-w-[16rem]",
583
- "rounded-[var(--radius-sm)]",
584
- "bg-[var(--foreground)] text-[var(--background)]",
585
- "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)] py-[var(--spacing-xs)] text-[var(--font-size-xs)]",
586
- "animate-in fade-in zoom-in-95 motion-reduce:animate-none"
587
- ].join(" "),
588
- children: [
589
- s,
590
- /* @__PURE__ */ r(S.Arrow, { className: "fill-[var(--foreground)]" })
591
- ]
592
- }
593
- ) })
594
- ] }) : y;
595
- }
596
- );
597
- W.displayName = "SidebarItem";
598
- const Ce = g(
599
- ({ className: e, children: a, ...i }, n) => /* @__PURE__ */ r(
600
- "span",
601
- {
602
- ref: n,
603
- "aria-hidden": "true",
604
- className: [
605
- "inline-flex shrink-0 items-center justify-center",
606
- "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
- "text-[var(--accent)]",
613
- "group-aria-[current=page]/item:text-[var(--primary-foreground)]",
614
- e ?? ""
615
- ].filter(Boolean).join(" "),
616
- ...i,
617
- children: a
618
- }
619
- )
620
- );
621
- Ce.displayName = "SidebarItemIcon";
622
- const Te = g(
623
- ({ className: e, children: a, ...i }, n) => {
624
- const { mode: o } = w();
625
- return /* @__PURE__ */ r(
626
- "span",
627
- {
628
- ref: n,
629
- className: [
630
- "flex-1",
631
- "overflow-hidden text-ellipsis whitespace-nowrap break-normal",
632
- "text-start",
633
- o === "icon" ? "sr-only" : "",
634
- e ?? ""
635
- ].filter(Boolean).join(" "),
636
- ...i,
637
- children: a
638
- }
639
- );
640
- }
641
- );
642
- Te.displayName = "SidebarItemLabel";
643
- const Be = g(
644
- ({ className: e, children: a, ...i }, n) => {
645
- const { mode: o } = w(), l = o === "icon";
646
- return /* @__PURE__ */ r(
647
- "span",
648
- {
649
- ref: n,
650
- "aria-hidden": l ? "true" : void 0,
651
- className: [
652
- "inline-flex items-center justify-center",
653
- "font-[var(--font-weight-semibold)]",
654
- l ? [
655
- "absolute top-[2px] end-[2px]",
656
- "min-w-0 size-[10px] ps-0 pe-0",
657
- "rounded-[var(--radius-full)]",
658
- "bg-[var(--primary)] text-transparent",
659
- "ring-2 ring-[var(--background)]",
660
- "pointer-events-none"
661
- ].join(" ") : [
662
- "min-w-[var(--spacing-lg)] h-[var(--spacing-lg)]",
663
- "rounded-[var(--radius-full)]",
664
- "bg-[var(--primary)] text-[var(--primary-foreground)]",
665
- "text-[length:var(--font-size-xs)]",
666
- "ps-[var(--spacing-xs)] pe-[var(--spacing-xs)]"
667
- ].join(" "),
668
- e ?? ""
669
- ].filter(Boolean).join(" "),
670
- ...i,
671
- children: a
672
- }
673
- );
674
- }
675
- );
676
- Be.displayName = "SidebarItemBadge";
677
- const De = k(
678
- [
679
- "flex items-center gap-[var(--spacing-sm)]",
680
- "min-h-[var(--min-target-size)]",
681
- "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
682
- "rounded-[var(--radius-md)]",
683
- "text-[var(--foreground)] text-[var(--font-size-sm)]",
684
- "hover:bg-[var(--muted)]/20",
685
- "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
686
- "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
687
- "forced-colors:focus-visible:outline-[CanvasText]",
688
- "no-underline"
689
- ].join(" ")
690
- ), Ie = g(({ logo: e, name: a, showChevron: i = !0, className: n, ...o }, l) => {
691
- const { mode: d } = w(), s = d !== "icon";
692
- return /* @__PURE__ */ f(
693
- "button",
694
- {
695
- ref: l,
696
- type: "button",
697
- "aria-label": a,
698
- className: [De(), n].filter(Boolean).join(" "),
699
- ...o,
700
- children: [
701
- /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "inline-flex items-center shrink-0", children: e }),
702
- s ? /* @__PURE__ */ f(O, { children: [
703
- /* @__PURE__ */ r(
704
- "span",
705
- {
706
- className: "truncate flex-1 text-start max-w-[var(--header-workspace-max-inline-size)]",
707
- children: a
708
- }
709
- ),
710
- i ? /* @__PURE__ */ r(
711
- L,
712
- {
713
- "aria-hidden": "true",
714
- className: "size-4 shrink-0 rotate-90"
715
- }
716
- ) : null
717
- ] }) : null
718
- ]
719
- }
720
- );
721
- });
722
- Ie.displayName = "SidebarWorkspaceSwitcher";
723
- const Ae = k(
724
- [
725
- "flex items-center justify-center gap-[var(--spacing-xs)]",
726
- "min-h-[var(--min-target-size)]",
727
- "rounded-[var(--radius-md)]",
728
- "bg-[var(--primary)] text-[var(--primary-foreground)]",
729
- "font-[var(--font-weight-semibold)] text-[var(--font-size-sm)]",
730
- "hover:bg-[var(--primary-hover)]",
731
- "transition-colors motion-reduce:transition-none",
732
- "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
733
- "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
734
- "forced-colors:focus-visible:outline-[CanvasText]"
735
- ].join(" "),
736
- {
737
- variants: {
738
- mode: {
739
- expanded: "ps-[var(--spacing-md)] pe-[var(--spacing-md)]",
740
- icon: "ps-0 pe-0 w-[var(--sidebar-modern-tile)] h-[var(--sidebar-modern-tile)] ms-auto me-auto",
741
- overlay: "ps-[var(--spacing-md)] pe-[var(--spacing-md)]"
742
- }
743
- },
744
- defaultVariants: { mode: "expanded" }
745
- }
746
- ), Re = g(({ icon: e, label: a, shortcut: i, className: n, ...o }, l) => {
747
- const { mode: d } = w(), s = d !== "icon";
748
- return /* @__PURE__ */ f(
749
- "button",
750
- {
751
- ref: l,
752
- type: "button",
753
- "aria-label": a,
754
- "aria-keyshortcuts": i,
755
- className: [Ae({ mode: d }), n].filter(Boolean).join(" "),
756
- ...o,
757
- children: [
758
- /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "inline-flex size-4 items-center justify-center", children: e }),
759
- s ? /* @__PURE__ */ f(O, { children: [
760
- /* @__PURE__ */ r("span", { className: "truncate", children: a }),
761
- i ? /* @__PURE__ */ r("kbd", { className: "ms-auto text-[length:var(--font-size-xs)] font-[family-name:var(--font-mono)] opacity-80", children: i }) : 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: a, label: i, className: n, onClick: o, ...l }, d) => {
783
- const { t: s } = I(), { mode: m } = w();
784
- if (m === "icon") return null;
785
- const u = e ? s("ui.navigation.sidebar.unpinItem", "Unpin {{label}}", { label: i }) : s("ui.navigation.sidebar.pinItem", "Pin {{label}}", { label: i });
786
- return /* @__PURE__ */ r(
787
- "button",
788
- {
789
- ref: d,
790
- type: "button",
791
- "aria-label": u,
792
- "aria-pressed": e,
793
- className: [Pe, n].filter(Boolean).join(" "),
794
- onClick: (v) => {
795
- v.preventDefault(), v.stopPropagation(), a == null || a(!e), o == null || o(v);
796
- },
797
- ...l,
798
- children: /* @__PURE__ */ r(
799
- ge,
800
- {
801
- "aria-hidden": "true",
802
- className: "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: a, onReorder: i, className: n, children: o, ...l }, d) => {
813
- const { t: s } = I(), m = e ?? s("ui.navigation.sidebar.favorites", "Favourites"), u = Array.isArray(o) ? o.filter(Boolean) : o ? [o] : [], v = u.length, h = v > 0, [b, x] = D(null), [t, y] = D(""), N = ne(!1), p = K((C) => {
814
- N.current = !N.current, y(
815
- N.current ? C : `${C}​`
816
- );
817
- }, []), j = te(
818
- () => ({ onReorder: i, count: v, dragSource: b, setDragSource: x, announce: p }),
819
- [i, v, b, p]
820
- );
821
- return !h && !a ? null : /* @__PURE__ */ r(X.Provider, { value: j, children: /* @__PURE__ */ f(
822
- J,
823
- {
824
- ref: d,
825
- label: m,
826
- className: n,
827
- ...l,
828
- children: [
829
- h ? u : /* @__PURE__ */ r("p", { className: "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)] type-meta text-[color:var(--muted-foreground)]", children: a }),
830
- /* @__PURE__ */ r("span", { role: "status", "aria-live": "polite", className: "sr-only", children: t })
831
- ]
832
- }
833
- ) });
834
- }
835
- );
836
- He.displayName = "SidebarFavorites";
837
- const Le = k(
838
- [
839
- "group/item relative flex items-center gap-[var(--spacing-2xs)]",
840
- "rounded-[var(--radius-sm)]",
841
- "transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none"
842
- ].join(" "),
843
- {
844
- variants: {
845
- dragging: {
846
- true: "opacity-60",
847
- false: ""
848
- },
849
- dropTarget: {
850
- true: "outline-[length:var(--focus-ring-width)] outline-dashed outline-[var(--primary)] 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: a = !1,
874
- asChild: i = !1,
875
- reorderLabel: n,
876
- isPinned: o = !1,
877
- onPinChange: l,
878
- pinLabel: d,
879
- "aria-label": s,
880
- className: m,
881
- children: u,
882
- ...v
883
- }, h) => {
884
- const { t: b } = I(), { mode: x } = w(), t = Fe(), [y, N] = D(!1), p = !!(t != null && t.onReorder) && x !== "icon", j = n ?? s ?? "", C = ie(), T = (c, z) => {
885
- if (!(t != null && t.onReorder)) return;
886
- const P = Math.max(0, Math.min(t.count - 1, z));
887
- P !== c && (t.onReorder(c, P), t.announce(
888
- b(
889
- "ui.navigation.sidebar.reorderAnnounce",
890
- "{{label}} moved to position {{to}} of {{total}}",
891
- { label: j, to: P + 1, total: t.count }
892
- )
893
- ));
894
- }, Y = (c) => {
895
- p && (c.altKey && c.key === "ArrowUp" ? (c.preventDefault(), T(e, e - 1)) : c.altKey && c.key === "ArrowDown" ? (c.preventDefault(), T(e, e + 1)) : c.key === "Home" && c.altKey ? (c.preventDefault(), T(e, 0)) : c.key === "End" && c.altKey && (c.preventDefault(), T(e, t.count - 1)));
896
- }, Q = (c) => {
897
- p && (t == null || t.setDragSource(e), c.dataTransfer && (c.dataTransfer.effectAllowed = "move", c.dataTransfer.setData("text/plain", String(e))));
898
- }, Z = () => {
899
- t == null || t.setDragSource(null), N(!1);
900
- }, ee = (c) => {
901
- !p || (t == null ? void 0 : t.dragSource) === null || (c.preventDefault(), c.dataTransfer && (c.dataTransfer.dropEffect = "move"), N(!0));
902
- }, ae = () => N(!1), re = (c) => {
903
- if (!p) return;
904
- c.preventDefault();
905
- const z = t == null ? void 0 : t.dragSource;
906
- N(!1), !(z == null || z === e) && T(z, e);
907
- }, E = (t == null ? void 0 : t.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: ae,
920
- onDrop: re,
921
- children: [
922
- /* @__PURE__ */ r(
923
- W,
924
- {
925
- ref: h,
926
- isActive: a,
927
- asChild: i,
928
- "aria-label": s,
929
- "aria-describedby": p ? C : void 0,
930
- draggable: p ? !1 : void 0,
931
- className: [
932
- p ? "flex-1 min-w-0" : "",
933
- m ?? ""
934
- ].filter(Boolean).join(" "),
935
- ...v,
936
- children: u
937
- }
938
- ),
939
- p ? /* @__PURE__ */ r(
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__ */ r(de, { "aria-hidden": "true", className: "size-4" })
952
- }
953
- ) : null,
954
- l && x !== "icon" ? /* @__PURE__ */ r(
955
- _,
956
- {
957
- isPinned: o,
958
- label: d ?? s ?? "",
959
- onPinChange: l
960
- }
961
- ) : null
962
- ]
963
- }
964
- );
965
- }
966
- );
967
- Ee.displayName = "SidebarFavoriteItem";
968
- const Ve = k(
969
- [
970
- "flex items-center gap-[var(--spacing-sm)]",
971
- "min-h-[var(--min-target-size)]",
972
- "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
973
- "rounded-[var(--radius-md)]",
974
- "text-[var(--foreground)] text-[var(--font-size-sm)]",
975
- "hover:bg-[var(--muted)]/20",
976
- "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
977
- "focus-visible:outline-[var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
978
- "forced-colors:focus-visible:outline-[CanvasText]",
979
- "no-underline"
980
- ].join(" ")
981
- ), Me = g(({ avatar: e, name: a, subtitle: i, subtitleLabel: n, className: o, ...l }, d) => {
982
- const { mode: s } = w(), m = s !== "icon", u = typeof i == "string" ? i : n;
983
- return /* @__PURE__ */ f(
984
- "button",
985
- {
986
- ref: d,
987
- type: "button",
988
- "aria-label": u ? `${a}, ${u}` : a,
989
- className: [Ve(), o].filter(Boolean).join(" "),
990
- ...l,
991
- children: [
992
- /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "inline-flex items-center shrink-0", children: e }),
993
- m ? /* @__PURE__ */ f("span", { className: "flex-1 min-w-0 text-start", children: [
994
- /* @__PURE__ */ r("span", { className: "block truncate type-label", children: a }),
995
- i ? typeof i == "string" ? /* @__PURE__ */ r("span", { className: "block truncate type-meta text-[color:var(--muted-foreground)]", children: i }) : /* @__PURE__ */ r("span", { className: "flex items-center gap-[length:var(--spacing-xs)] min-w-0 type-meta text-[color:var(--muted-foreground)]", children: i }) : 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": a, onClick: i, ...n }, o) => {
1014
- const { t: l } = I(), { mode: d, transitionTo: s } = w();
1015
- if (d === "overlay") return null;
1016
- const m = d === "expanded", u = a ?? (m ? l("ui.navigation.sidebar.collapse", "Collapse sidebar") : l("ui.navigation.sidebar.expand", "Expand sidebar")), v = /* @__PURE__ */ r(
1017
- "button",
1018
- {
1019
- ref: o,
1020
- type: "button",
1021
- "aria-label": u,
1022
- "aria-expanded": m,
1023
- onClick: (h) => {
1024
- s == null || s(m ? "icon" : "expanded"), i == null || i(h);
1025
- },
1026
- className: [Oe, e].filter(Boolean).join(" "),
1027
- ...n,
1028
- children: m ? /* @__PURE__ */ r(me, { "aria-hidden": "true", className: "size-4 rtl:-scale-x-100" }) : /* @__PURE__ */ r(ve, { "aria-hidden": "true", className: "size-4 rtl:-scale-x-100" })
1029
- }
1030
- );
1031
- return /* @__PURE__ */ f(S.Root, { children: [
1032
- /* @__PURE__ */ r(S.Trigger, { asChild: !0, children: v }),
1033
- /* @__PURE__ */ r(S.Portal, { children: /* @__PURE__ */ f(
1034
- S.Content,
1035
- {
1036
- side: d === "icon" ? "right" : "top",
1037
- sideOffset: 6,
1038
- className: [
1039
- "z-[var(--z-tooltip)] max-w-[16rem]",
1040
- "rounded-[var(--radius-sm)]",
1041
- "bg-[var(--foreground)] text-[var(--background)]",
1042
- "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)] py-[var(--spacing-xs)] text-[var(--font-size-xs)]",
1043
- "animate-in fade-in zoom-in-95 motion-reduce:animate-none"
1044
- ].join(" "),
1045
- children: [
1046
- u,
1047
- /* @__PURE__ */ r(S.Arrow, { className: "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-r645O-k9.js.map