@alfadocs/ui-kit 0.1.9 → 0.2.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 (281) hide show
  1. package/README.md +30 -0
  2. package/dist/_chunks/accordion-DOmxGEWU.js +228 -0
  3. package/dist/_chunks/{agenda-card-DwLIxgi7.js → agenda-card-CalZqycc.js} +12 -3
  4. package/dist/_chunks/{agenda-tray-DUvengGQ.js → agenda-tray-3ffFDQZC.js} +54 -51
  5. package/dist/_chunks/{ai-prompt-input.agent-0NHYLTWD.js → ai-prompt-input-BBiDlEIS.js} +231 -231
  6. package/dist/_chunks/{alert-BlOUMkXj.js → alert-B1sj8Ss0.js} +24 -14
  7. package/dist/_chunks/{apexcharts-theme-BkSShpEy.js → apexcharts-theme-BJigns_V.js} +7 -2
  8. package/dist/_chunks/{app-frame-6d7Lu4ea.js → app-frame-CDJOgPXe.js} +7 -16
  9. package/dist/_chunks/{audio-recorder.agent--VKeykUp.js → audio-recorder-B4U1LuiQ.js} +161 -162
  10. package/dist/_chunks/{audio-visualiser-CeMPCZkd.js → audio-visualiser-ByDEFLNm.js} +25 -19
  11. package/dist/_chunks/autocomplete-D4oUZbsP.js +466 -0
  12. package/dist/_chunks/{badge-mrstWxve.js → badge-DKFbntoa.js} +16 -13
  13. package/dist/_chunks/{balance-cell-renderer-5CA7zpAi.js → balance-cell-renderer-B8zgIM-m.js} +63 -44
  14. package/dist/_chunks/{breadcrumb.agent-GM2hAKFX.js → breadcrumb-D1snXjPb.js} +165 -157
  15. package/dist/_chunks/{button-7mLWcMp_.js → button-DD_0Xdmr.js} +12 -2
  16. package/dist/_chunks/{calendar-nGEgelJs.js → calendar-zy0tUUVG.js} +13 -18
  17. package/dist/_chunks/{card-BEy58ZKp.js → card-CWzuTLYE.js} +40 -34
  18. package/dist/_chunks/{chart.agent-_pRYS17d.js → chart-BLvFl169.js} +147 -131
  19. package/dist/_chunks/chat-container-ClzsWXp2.js +220 -0
  20. package/dist/_chunks/chat-input-DOlsB1fm.js +333 -0
  21. package/dist/_chunks/{chat-message-ByouZpPP.js → chat-message-DoAhgUTj.js} +23 -13
  22. package/dist/_chunks/{collapsible.agent-DkS1jVyn.js → collapsible-CuxUBoHJ.js} +97 -99
  23. package/dist/_chunks/{color-picker-94qcBZqZ.js → color-picker-CTIcHlDF.js} +111 -45
  24. package/dist/_chunks/combobox-DCNXqbC7.js +460 -0
  25. package/dist/_chunks/command-palette-C_vgSgrI.js +441 -0
  26. package/dist/_chunks/{date-picker-BqPTn7bO.js → date-picker-B1PO1ZQP.js} +190 -181
  27. package/dist/_chunks/{date-range-picker-B2hGsffw.js → date-range-picker-mix2nEVC.js} +21 -8
  28. package/dist/_chunks/{date-time-picker-Bzt0S8yO.js → date-time-picker-Dnong_BY.js} +30 -15
  29. package/dist/_chunks/{description-list-DvJbp6Yg.js → description-list-BYA77Yud.js} +26 -23
  30. package/dist/_chunks/dialog-BPD7wlGE.js +211 -0
  31. package/dist/_chunks/dropdown-menu-CpiF6CPz.js +300 -0
  32. package/dist/_chunks/{empty-state-DQPtRp2b.js → empty-state-3CLJIXSj.js} +132 -101
  33. package/dist/_chunks/file-upload-C947ACDK.js +829 -0
  34. package/dist/_chunks/{floating-action-button-Cnw-f6AG.js → floating-action-button-C8OYj8mE.js} +9 -2
  35. package/dist/_chunks/{form-field-BfsPLTSc.js → form-field-Bmkeh7WY.js} +12 -11
  36. package/dist/_chunks/{form-field-context-94LwgYTQ.js → form-field-context-B3APVHKx.js} +4 -2
  37. package/dist/_chunks/{freemium-paywall.agent-_nQqLyRF.js → freemium-paywall-CnvceDav.js} +124 -117
  38. package/dist/_chunks/{header-BGn1mRp8.js → header-D0ULgQl3.js} +69 -68
  39. package/dist/_chunks/{icon-button-Wnnde5lc.js → icon-button-C4CGcYuz.js} +11 -3
  40. package/dist/_chunks/{kbd-8baVw3KU.js → kbd-Cglkd7CY.js} +6 -2
  41. package/dist/_chunks/{key-value-pair-JRFS9Xrh.js → key-value-pair-CgWvAIGb.js} +2 -2
  42. package/dist/_chunks/{leo-sidebar-BwINPdix.js → leo-sidebar-CfEY-xi2.js} +16 -20
  43. package/dist/_chunks/{link-QheANk74.js → link-8QmFjIz2.js} +2 -5
  44. package/dist/_chunks/list-qP6p0NTw.js +434 -0
  45. package/dist/_chunks/{logo-BpFoCL-s.js → logo-_Z-jLq80.js} +155 -26
  46. package/dist/_chunks/{matrix-rain-BEkvux64.js → matrix-rain-CRPMXcVx.js} +8 -2
  47. package/dist/_chunks/{message-card-qhoGv947.js → message-card-ChCX9Iv6.js} +63 -60
  48. package/dist/_chunks/{message-tray-xHUCra-Y.js → message-tray-n8q9ITXI.js} +71 -76
  49. package/dist/_chunks/{multi-select.agent-Do6CeQUT.js → multi-select-wqqrgjUQ.js} +326 -291
  50. package/dist/_chunks/{navigation-menu.agent-D69ND6Qq.js → navigation-menu-ClbHeawy.js} +136 -123
  51. package/dist/_chunks/{notification-card-CsVEYJE-.js → notification-card-hBlPN1-c.js} +3 -3
  52. package/dist/_chunks/{notification-tray-DTXMq42J.js → notification-tray-C5cnXbl9.js} +70 -66
  53. package/dist/_chunks/{number-input-fvGmnRy9.js → number-input-Q7wkHnvQ.js} +7 -3
  54. package/dist/_chunks/{otp-input-EglXOUue.js → otp-input-C9gUByF0.js} +6 -3
  55. package/dist/_chunks/{pagination.agent-BkZQl45y.js → pagination-3AC4zTsi.js} +234 -194
  56. package/dist/_chunks/{password-input-D6kuYXmr.js → password-input-C4LmjIH1.js} +6 -9
  57. package/dist/_chunks/{patient-shell-BRmrrUUW.js → patient-shell-BlsEUKWB.js} +10 -15
  58. package/dist/_chunks/{payment-form-BWaXas8z.js → payment-form-C3vT_npe.js} +195 -186
  59. package/dist/_chunks/{pdf-viewer.agent-BaGEDheA.js → pdf-viewer-CZIfY08H.js} +270 -241
  60. package/dist/_chunks/{phone-input-C8Op4sEc.js → phone-input-CSHJOJ13.js} +4 -9
  61. package/dist/_chunks/popover-DekUKNBk.js +293 -0
  62. package/dist/_chunks/{privacy-lock.agent-C1i1-T58.js → privacy-lock-BKsI6ReN.js} +117 -109
  63. package/dist/_chunks/progress-C11tqhoI.js +298 -0
  64. package/dist/_chunks/{recaptcha-widget.agent-BGHpU5zD.js → recaptcha-widget-NyfOfLII.js} +95 -86
  65. package/dist/_chunks/resizable-mpXXyIsN.js +483 -0
  66. package/dist/_chunks/{rich-text-editor.agent-DnE125Tz.js → rich-text-editor-C7TCIlQO.js} +298 -209
  67. package/dist/_chunks/{scroll-area-DLr5w9Dd.js → scroll-area-DEDU-lp-.js} +67 -54
  68. package/dist/_chunks/{search-bar.agent-DxFAxctc.js → search-bar-BTDfgYtg.js} +291 -268
  69. package/dist/_chunks/{search-input-Xw3cdWXW.js → search-input-CdJIEjFo.js} +116 -107
  70. package/dist/_chunks/{select-DY1Cb2Tg.js → select-y6bXV1f1.js} +84 -83
  71. package/dist/_chunks/{separator-B4wXDLNC.js → separator-CYU_bGFn.js} +2 -5
  72. package/dist/_chunks/{sheet-B9kH9pcI.js → sheet-4tgMFwj0.js} +135 -60
  73. package/dist/_chunks/{sidebar-CHF5xr_P.js → sidebar-Bx3wCDyy.js} +546 -457
  74. package/dist/_chunks/{sign-in-with-alfadocs-button-BN_FPGHT.js → sign-in-with-alfadocs-button-B9UrqOqH.js} +9 -5
  75. package/dist/_chunks/{signature-capture.agent-BpeDwFht.js → signature-capture-DjMlFOzS.js} +210 -212
  76. package/dist/_chunks/{skeleton-dtqyF09N.js → skeleton-CZbwyJAA.js} +9 -3
  77. package/dist/_chunks/{slider-CcsQTZTA.js → slider-BT2bZWsy.js} +138 -134
  78. package/dist/_chunks/{slot-grid-D_l5VsHG.js → slot-grid-CgpYgBkW.js} +105 -95
  79. package/dist/_chunks/{sparkline.agent-56Sj7nOP.js → sparkline-_gy8aJDG.js} +107 -100
  80. package/dist/_chunks/{spinner-GCcv67vh.js → spinner-DLaYfLPl.js} +66 -14
  81. package/dist/_chunks/{stat-DUB6g90R.js → stat-B9PHSPbN.js} +45 -27
  82. package/dist/_chunks/{stepper-calendar.agent-9iT3ClIB.js → stepper-calendar-BLOJUE0-.js} +189 -187
  83. package/dist/_chunks/stepper-progress-jFY8BSf7.js +208 -0
  84. package/dist/_chunks/{suggestion-chip-DhFrkRPj.js → suggestion-chip-C4Jz0LrM.js} +50 -52
  85. package/dist/_chunks/{switch-BYEH8I53.js → switch-C0psfIQF.js} +2 -2
  86. package/dist/_chunks/{tabs.agent-h7NvsTR1.js → tabs-DaFA3Muo.js} +183 -155
  87. package/dist/_chunks/{tag-BqidXKo3.js → tag-DuLMjRbF.js} +90 -32
  88. package/dist/_chunks/{task-card-CY5ztNkU.js → task-card-Dw_ZJDL8.js} +5 -2
  89. package/dist/_chunks/{task-tray-CCoUdorl.js → task-tray-XlIW9ueh.js} +50 -49
  90. package/dist/_chunks/{text-area-C_M8wliK.js → text-area-CO9Dz0qX.js} +2 -2
  91. package/dist/_chunks/{text-input-BX39e6T6.js → text-input-DZwt9L8H.js} +65 -62
  92. package/dist/_chunks/{theme-root-DDb0TJjd.js → theme-root-CSKD5ZRm.js} +9 -2
  93. package/dist/_chunks/{theme-toggle.agent-btmXTWdW.js → theme-toggle-B9zzCnvl.js} +179 -177
  94. package/dist/_chunks/{time-picker-B8AMIrX7.js → time-picker-DvPUmHH-.js} +95 -93
  95. package/dist/_chunks/{timeline.agent-CRPza9wc.js → timeline-BvmnQadS.js} +96 -96
  96. package/dist/_chunks/{toast.agent-BjEGuq1Z.js → toast.agent-BwKXA0km.js} +46 -8
  97. package/dist/_chunks/{tooth-scheme.agent-CWrQBjJM.js → tooth-scheme-3mITSXiZ.js} +146 -162
  98. package/dist/_chunks/{transcript-panel.agent-BXEYP6w-.js → transcript-panel-Bx5ANMsv.js} +110 -101
  99. package/dist/_chunks/{typing-indicator-CbUBf-Dx.js → typing-indicator-BZ5jXZPn.js} +27 -5
  100. package/dist/_chunks/{use-theme-BMUhembX.js → use-theme-B1cwAXJR.js} +2 -5
  101. package/dist/_chunks/{visually-hidden-Bw7vBHLm.js → visually-hidden-BHxEUGyT.js} +11 -2
  102. package/dist/_chunks/{warning-stack-8Pa3pekh.js → warning-stack-VygGHSqC.js} +11 -13
  103. package/dist/_chunks/{workflow-map-D2A7rTEG.js → workflow-map-C-nlogPC.js} +430 -452
  104. package/dist/agent-catalog.json +580 -15
  105. package/dist/components/_shared/index.d.ts +2 -2
  106. package/dist/components/accordion/index.d.ts +1 -1
  107. package/dist/components/accordion/index.js +5 -6
  108. package/dist/components/agenda-card/index.js +1 -1
  109. package/dist/components/agenda-tray/agenda-tray.d.ts +1 -1
  110. package/dist/components/agenda-tray/index.js +1 -1
  111. package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +1 -1
  112. package/dist/components/ai-prompt-input/index.js +1 -1
  113. package/dist/components/alert/index.d.ts +1 -1
  114. package/dist/components/alert/index.js +1 -1
  115. package/dist/components/app-frame/index.js +1 -1
  116. package/dist/components/audio-recorder/index.js +1 -1
  117. package/dist/components/audio-visualiser/index.js +1 -1
  118. package/dist/components/autocomplete/index.js +1 -1
  119. package/dist/components/badge/index.js +1 -1
  120. package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
  121. package/dist/components/breadcrumb/index.js +1 -1
  122. package/dist/components/button/index.js +2 -2
  123. package/dist/components/calendar/index.js +1 -1
  124. package/dist/components/card/index.js +1 -1
  125. package/dist/components/chart/index.d.ts +1 -1
  126. package/dist/components/chart/index.js +1 -1
  127. package/dist/components/chat-container/chat-container.d.ts +1 -1
  128. package/dist/components/chat-container/index.js +2 -3
  129. package/dist/components/chat-input/chat-input.d.ts +1 -1
  130. package/dist/components/chat-input/index.js +3 -4
  131. package/dist/components/chat-message/index.js +1 -1
  132. package/dist/components/checkbox-group/index.d.ts +1 -1
  133. package/dist/components/collapsible/collapsible.d.ts +1 -1
  134. package/dist/components/collapsible/index.d.ts +1 -1
  135. package/dist/components/collapsible/index.js +1 -1
  136. package/dist/components/color-picker/index.js +1 -1
  137. package/dist/components/combobox/index.d.ts +1 -1
  138. package/dist/components/combobox/index.js +1 -1
  139. package/dist/components/command-palette/command-palette.d.ts +46 -13
  140. package/dist/components/command-palette/index.js +1 -1
  141. package/dist/components/data-table/data-table.d.ts +3 -1
  142. package/dist/components/data-table/index.js +1 -1
  143. package/dist/components/data-table/toolbar.d.ts +6 -5
  144. package/dist/components/date-picker/date-picker.d.ts +1 -1
  145. package/dist/components/date-picker/index.d.ts +1 -1
  146. package/dist/components/date-picker/index.js +1 -1
  147. package/dist/components/date-range-picker/index.js +1 -1
  148. package/dist/components/date-time-picker/index.d.ts +1 -1
  149. package/dist/components/date-time-picker/index.js +1 -1
  150. package/dist/components/description-list/description-list.d.ts +1 -2
  151. package/dist/components/description-list/index.js +1 -1
  152. package/dist/components/dialog/dialog.d.ts +2 -2
  153. package/dist/components/dialog/index.js +1 -1
  154. package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -16
  155. package/dist/components/dropdown-menu/index.js +3 -4
  156. package/dist/components/empty-state/index.js +1 -1
  157. package/dist/components/file-upload/index.d.ts +1 -1
  158. package/dist/components/file-upload/index.js +1 -1
  159. package/dist/components/floating-action-button/index.js +1 -1
  160. package/dist/components/form-field/index.js +2 -2
  161. package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
  162. package/dist/components/freemium-paywall/index.js +1 -1
  163. package/dist/components/header/index.js +1 -1
  164. package/dist/components/icon-button/index.js +1 -1
  165. package/dist/components/kbd/index.js +1 -1
  166. package/dist/components/key-value-pair/index.js +1 -1
  167. package/dist/components/link/index.js +1 -1
  168. package/dist/components/list/index.js +1 -1
  169. package/dist/components/logo/index.js +1 -1
  170. package/dist/components/matrix-rain/index.js +1 -1
  171. package/dist/components/message-card/index.d.ts +1 -1
  172. package/dist/components/message-card/index.js +1 -1
  173. package/dist/components/message-tray/index.js +1 -1
  174. package/dist/components/message-tray/message-tray.d.ts +1 -1
  175. package/dist/components/multi-select/index.js +1 -1
  176. package/dist/components/navigation-menu/index.js +1 -1
  177. package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
  178. package/dist/components/notification-card/index.d.ts +1 -1
  179. package/dist/components/notification-card/index.js +1 -1
  180. package/dist/components/notification-tray/index.js +1 -1
  181. package/dist/components/notification-tray/notification-tray.d.ts +1 -1
  182. package/dist/components/number-input/index.js +1 -1
  183. package/dist/components/otp-input/index.js +1 -1
  184. package/dist/components/pagination/index.js +1 -1
  185. package/dist/components/pagination/pagination.d.ts +4 -6
  186. package/dist/components/password-input/index.js +1 -1
  187. package/dist/components/payment-form/index.js +7 -8
  188. package/dist/components/payment-form/payment-form.d.ts +1 -1
  189. package/dist/components/pdf-viewer/index.js +1 -1
  190. package/dist/components/phone-input/index.d.ts +1 -1
  191. package/dist/components/phone-input/index.js +1 -1
  192. package/dist/components/popover/index.js +3 -4
  193. package/dist/components/privacy-lock/index.js +1 -1
  194. package/dist/components/privacy-lock/privacy-lock.d.ts +1 -1
  195. package/dist/components/progress/index.js +3 -4
  196. package/dist/components/recaptcha-widget/index.js +1 -1
  197. package/dist/components/resizable/index.d.ts +1 -1
  198. package/dist/components/resizable/index.js +1 -1
  199. package/dist/components/rich-text-editor/index.js +1 -1
  200. package/dist/components/scroll-area/index.js +1 -1
  201. package/dist/components/search-bar/index.js +1 -1
  202. package/dist/components/search-bar/search-bar.d.ts +1 -1
  203. package/dist/components/search-input/index.js +1 -1
  204. package/dist/components/select/index.js +1 -1
  205. package/dist/components/select/select.d.ts +1 -1
  206. package/dist/components/separator/index.js +1 -1
  207. package/dist/components/sheet/index.js +3 -4
  208. package/dist/components/sheet/sheet.d.ts +2 -2
  209. package/dist/components/sidebar/index.js +7 -8
  210. package/dist/components/sidebar/sidebar.d.ts +0 -2
  211. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  212. package/dist/components/signature-capture/index.js +1 -1
  213. package/dist/components/skeleton/index.js +1 -1
  214. package/dist/components/slider/index.js +1 -1
  215. package/dist/components/slot-grid/index.js +1 -1
  216. package/dist/components/sparkline/index.js +1 -1
  217. package/dist/components/spinner/index.js +1 -1
  218. package/dist/components/stat/index.js +1 -1
  219. package/dist/components/stepper-calendar/index.js +1 -1
  220. package/dist/components/stepper-calendar/stepper-calendar.d.ts +1 -1
  221. package/dist/components/stepper-progress/index.d.ts +1 -1
  222. package/dist/components/stepper-progress/index.js +1 -2
  223. package/dist/components/stepper-progress/stepper-progress.d.ts +1 -1
  224. package/dist/components/suggestion-chip/index.js +1 -1
  225. package/dist/components/switch/index.js +1 -1
  226. package/dist/components/tabs/index.d.ts +1 -1
  227. package/dist/components/tabs/index.js +1 -1
  228. package/dist/components/tag/index.js +1 -1
  229. package/dist/components/task-card/index.js +1 -1
  230. package/dist/components/task-tray/index.js +1 -1
  231. package/dist/components/task-tray/task-tray.d.ts +1 -1
  232. package/dist/components/text-area/index.js +1 -1
  233. package/dist/components/text-input/index.js +1 -1
  234. package/dist/components/theme-root/index.js +1 -1
  235. package/dist/components/theme-toggle/index.js +1 -1
  236. package/dist/components/theme-toggle/theme-toggle.d.ts +1 -1
  237. package/dist/components/time-picker/index.js +1 -1
  238. package/dist/components/time-picker/time-picker.d.ts +1 -1
  239. package/dist/components/timeline/index.js +1 -1
  240. package/dist/components/timeline/timeline.d.ts +1 -1
  241. package/dist/components/toast/index.js +1 -1
  242. package/dist/components/tooth-scheme/index.js +1 -1
  243. package/dist/components/tooth-scheme/tooth-scheme.d.ts +1 -1
  244. package/dist/components/transcript-panel/index.js +1 -1
  245. package/dist/components/transcript-panel/transcript-panel.d.ts +1 -1
  246. package/dist/components/typing-indicator/index.js +1 -1
  247. package/dist/components/visually-hidden/index.js +1 -1
  248. package/dist/components/warning-stack/index.js +1 -1
  249. package/dist/components/workflow/index.js +1 -1
  250. package/dist/components/workflow/workflow-editor.d.ts +1 -1
  251. package/dist/hooks/index.js +1 -1
  252. package/dist/index.js +392 -402
  253. package/dist/patterns/leo-assistant/index.js +1 -1
  254. package/dist/patterns/patient-shell/index.js +1 -1
  255. package/dist/safe-html/index.js +20 -3
  256. package/dist/tokens.css +2 -2
  257. package/package.json +12 -2
  258. package/dist/_chunks/accordion-BEnrZmAn.js +0 -120
  259. package/dist/_chunks/accordion.agent-BTjeO1Sx.js +0 -52
  260. package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +0 -432
  261. package/dist/_chunks/chat-container-Dl0Kfy5a.js +0 -175
  262. package/dist/_chunks/chat-container.agent-CM4WModE.js +0 -27
  263. package/dist/_chunks/chat-input-C_tMQv92.js +0 -252
  264. package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +0 -69
  265. package/dist/_chunks/combobox.agent-CAvUkkIe.js +0 -410
  266. package/dist/_chunks/command-palette.agent-HatEt_EM.js +0 -391
  267. package/dist/_chunks/dialog.agent-Daf1TTko.js +0 -179
  268. package/dist/_chunks/dropdown-menu-C7AZipNz.js +0 -219
  269. package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +0 -43
  270. package/dist/_chunks/file-upload.agent-DJaH2dHg.js +0 -681
  271. package/dist/_chunks/list.agent-D0iWt4VI.js +0 -420
  272. package/dist/_chunks/payment-form.agent-kuIfodCj.js +0 -31
  273. package/dist/_chunks/popover-kFN8s84V.js +0 -229
  274. package/dist/_chunks/popover.agent-K_d1cfbj.js +0 -39
  275. package/dist/_chunks/progress-wNsqkw8I.js +0 -253
  276. package/dist/_chunks/progress.agent-C68rDOXL.js +0 -27
  277. package/dist/_chunks/resizable.agent-CMwZzvsi.js +0 -456
  278. package/dist/_chunks/sheet.agent-QAyTOxgk.js +0 -46
  279. package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +0 -49
  280. package/dist/_chunks/stepper-progress-Bmen-YXB.js +0 -149
  281. package/dist/_chunks/stepper-progress.agent-q9InWca4.js +0 -61
@@ -216,9 +216,13 @@ const h = x(
216
216
  );
217
217
  });
218
218
  $.displayName = "Kbd";
219
- const _ = { mac: S, win: k, spoken: E };
219
+ const _ = {
220
+ mac: S,
221
+ win: k,
222
+ spoken: E
223
+ };
220
224
  export {
221
225
  $ as K,
222
226
  _ as k
223
227
  };
224
- //# sourceMappingURL=kbd-8baVw3KU.js.map
228
+ //# sourceMappingURL=kbd-Cglkd7CY.js.map
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as C, useState as c, useCallback as g } from "react";
3
3
  import { c as V } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as N } from "react-i18next";
5
- import { I as b } from "./icon-button-Wnnde5lc.js";
5
+ import { I as b } from "./icon-button-C4CGcYuz.js";
6
6
  import { C as P } from "./check-DPdL_Sm7.js";
7
7
  import { C as w } from "./copy-B00HK7tj.js";
8
8
  const z = V("ds:flex", {
@@ -73,4 +73,4 @@ T.displayName = "KeyValuePair";
73
73
  export {
74
74
  T as K
75
75
  };
76
- //# sourceMappingURL=key-value-pair-JRFS9Xrh.js.map
76
+ //# sourceMappingURL=key-value-pair-CgWvAIGb.js.map
@@ -2,19 +2,19 @@ import { jsx as e, jsxs as c, Fragment as A } from "react/jsx-runtime";
2
2
  import { forwardRef as k, useMemo as U } from "react";
3
3
  import * as ee from "@radix-ui/react-dialog";
4
4
  import { useTranslation as y } from "react-i18next";
5
- import { F as se } from "./floating-action-button-Cnw-f6AG.js";
6
- import { I as B } from "./icon-button-Wnnde5lc.js";
7
- import { S as E } from "./sheet-B9kH9pcI.js";
5
+ import { F as se } from "./floating-action-button-C8OYj8mE.js";
6
+ import { I as B } from "./icon-button-C4CGcYuz.js";
7
+ import { S as E } from "./sheet-4tgMFwj0.js";
8
8
  import { X as de } from "./x-CCcI3eJp.js";
9
9
  import { A as L } from "./avatar-Dcr6XuDQ.js";
10
- import { B as D } from "./button-7mLWcMp_.js";
11
- import { C as ae } from "./chat-container-Dl0Kfy5a.js";
12
- import { C as re } from "./chat-message-ByouZpPP.js";
13
- import { C as le } from "./chat-input-C_tMQv92.js";
10
+ import { B as D } from "./button-DD_0Xdmr.js";
11
+ import { C as ae } from "./chat-container-ClzsWXp2.js";
12
+ import { C as re } from "./chat-message-DoAhgUTj.js";
13
+ import { C as le } from "./chat-input-DOlsB1fm.js";
14
14
  import { S as ie } from "./streaming-text-BgjCTVOw.js";
15
- import { a as q, S as O } from "./suggestion-chip-DhFrkRPj.js";
16
- import { T as oe } from "./typing-indicator-CbUBf-Dx.js";
17
- import { P as te } from "./progress-wNsqkw8I.js";
15
+ import { a as q, S as O } from "./suggestion-chip-C4Jz0LrM.js";
16
+ import { T as oe } from "./typing-indicator-BZ5jXZPn.js";
17
+ import { P as te } from "./progress-C11tqhoI.js";
18
18
  import { S as ne } from "./square-CZoGU14v.js";
19
19
  import { c as ce } from "./createLucideIcon-CrFbzy84.js";
20
20
  import { P as me } from "./plus-CYKNmfuA.js";
@@ -114,7 +114,6 @@ function ve({
114
114
  return /* @__PURE__ */ c(
115
115
  "section",
116
116
  {
117
- role: "region",
118
117
  "aria-labelledby": l,
119
118
  className: [
120
119
  "ds:flex ds:flex-1 ds:min-h-0 ds:flex-col ds:items-center ds:justify-center",
@@ -336,13 +335,7 @@ const C = k(
336
335
  "ds:rounded-[var(--radius-md)] ds:rounded-es-[var(--radius-sm)]",
337
336
  "ds:bg-muted/40"
338
337
  ].join(" "),
339
- children: /* @__PURE__ */ e(
340
- oe,
341
- {
342
- label: p("chat.typing"),
343
- density: x
344
- }
345
- )
338
+ children: /* @__PURE__ */ e(oe, { label: p("chat.typing"), density: x })
346
339
  }
347
340
  )
348
341
  ] })
@@ -359,7 +352,10 @@ const C = k(
359
352
  r,
360
353
  x,
361
354
  p
362
- ]), G = l ? Math.min(100, Math.max(0, l.current / Math.max(1, l.limit) * 100)) : 0, z = l ? l.current >= l.limit : !1, F = l ? l.label ?? p("leo.usageLabel", {
355
+ ]), G = l ? Math.min(
356
+ 100,
357
+ Math.max(0, l.current / Math.max(1, l.limit) * 100)
358
+ ) : 0, z = l ? l.current >= l.limit : !1, F = l ? l.label ?? p("leo.usageLabel", {
363
359
  current: l.current,
364
360
  limit: l.limit
365
361
  }) : null, R = s.length === 0 && !t, H = /* @__PURE__ */ c("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
@@ -760,4 +756,4 @@ export {
760
756
  we as b,
761
757
  Ce as c
762
758
  };
763
- //# sourceMappingURL=leo-sidebar-BwINPdix.js.map
759
+ //# sourceMappingURL=leo-sidebar-CfEY-xi2.js.map
@@ -60,10 +60,7 @@ const _ = [
60
60
  onClick: n,
61
61
  ...v
62
62
  }, p) => {
63
- const { t: h } = N(), g = i ? "_blank" : m, x = i ? [d, "noopener", "noreferrer"].filter(Boolean).join(" ") : d, b = h(
64
- "ui.link.opensInNewTab",
65
- "Opens in a new tab"
66
- );
63
+ const { t: h } = N(), g = i ? "_blank" : m, x = i ? [d, "noopener", "noreferrer"].filter(Boolean).join(" ") : d, b = h("ui.link.opensInNewTab", "Opens in a new tab");
67
64
  return /* @__PURE__ */ y(
68
65
  "a",
69
66
  {
@@ -118,4 +115,4 @@ q.displayName = "Link";
118
115
  export {
119
116
  q as L
120
117
  };
121
- //# sourceMappingURL=link-QheANk74.js.map
118
+ //# sourceMappingURL=link-8QmFjIz2.js.map
@@ -0,0 +1,434 @@
1
+ import { jsx as i, jsxs as Q, Fragment as $ } from "react/jsx-runtime";
2
+ import { forwardRef as X, useState as W, useMemo as O, useRef as G, useCallback as m, useImperativeHandle as V, useContext as C, useLayoutEffect as ee, Children as te, isValidElement as se, createContext as ie } from "react";
3
+ import { c as Y } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as re } from "react-i18next";
5
+ import { u as ne } from "./registry-C9nwlNyL.js";
6
+ const oe = {
7
+ id: "list",
8
+ capabilities: ["select_single", "select_multiple"],
9
+ state: {
10
+ selection: {
11
+ type: "string[]",
12
+ descriptionKey: "ui.agent.list.state.selection",
13
+ description: "Ids of currently-selected list items. Empty array when none selected or list is presentational.",
14
+ read: (t) => t.getSelection()
15
+ }
16
+ },
17
+ actions: {
18
+ set_selection: {
19
+ safety: "read",
20
+ argsType: "{ ids: string[] }",
21
+ descriptionKey: "ui.agent.list.actions.setSelection",
22
+ description: "Replace the current selection with the given item ids. No-op on presentational lists.",
23
+ invoke: (t, u) => {
24
+ t.setSelection(u.ids);
25
+ }
26
+ },
27
+ clear_selection: {
28
+ safety: "read",
29
+ descriptionKey: "ui.agent.list.actions.clearSelection",
30
+ description: "Deselect all items.",
31
+ invoke: (t) => {
32
+ t.clearSelection();
33
+ }
34
+ }
35
+ },
36
+ domHooks: {
37
+ root: {
38
+ attr: "data-component",
39
+ value: "list",
40
+ description: "Marks the List root."
41
+ },
42
+ instanceId: {
43
+ attr: "data-component-id",
44
+ sourceProp: "id",
45
+ description: "Sourced from the id prop."
46
+ },
47
+ item: {
48
+ attr: "data-item-id",
49
+ description: "Opaque item id; sourced from each ListItem `value` prop. Emitted only when `value` is set."
50
+ }
51
+ }
52
+ }, q = ie({
53
+ selection: "none",
54
+ selectedValues: /* @__PURE__ */ new Set(),
55
+ focusedValue: null,
56
+ disabled: !1,
57
+ enabledItemValues: [],
58
+ onItemSelect: () => {
59
+ },
60
+ onItemFocus: () => {
61
+ },
62
+ onItemKeyDown: () => {
63
+ },
64
+ registerItemRef: () => {
65
+ },
66
+ divider: "spaced"
67
+ }), ae = Y("ds:flex ds:flex-col ds:p-0 ds:m-0", {
68
+ variants: {
69
+ divider: {
70
+ spaced: "",
71
+ divided: "",
72
+ bordered: "ds:border ds:border-[color:var(--border)] ds:rounded-[var(--radius-md)] ds:overflow-hidden"
73
+ },
74
+ density: {
75
+ compact: "ds:gap-[var(--spacing-xs)]",
76
+ default: "ds:gap-[var(--spacing-sm)]",
77
+ relaxed: "ds:gap-[var(--spacing-md)]"
78
+ },
79
+ ordered: {
80
+ true: "ds:list-decimal ds:ps-[var(--spacing-lg)]",
81
+ false: "ds:list-none"
82
+ }
83
+ },
84
+ defaultVariants: {
85
+ divider: "spaced",
86
+ density: "default",
87
+ ordered: !1
88
+ }
89
+ }), de = Y(
90
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
91
+ {
92
+ variants: {
93
+ divider: {
94
+ spaced: "",
95
+ divided: "ds:[&:not(:last-child)]:[border-block-end:1px_solid_var(--border)]",
96
+ bordered: "ds:[&:not(:last-child)]:[border-block-end:1px_solid_var(--border)]"
97
+ },
98
+ interactive: {
99
+ // flex lives on the outer <div role="option"> so it doesn't suppress ::marker on <li>
100
+ true: [
101
+ "ds:flex ds:items-center ds:gap-x-[var(--spacing-sm)]",
102
+ "ds:min-h-[var(--min-target-size)] ds:cursor-pointer ds:select-none",
103
+ "ds:rounded-[var(--radius-sm)]",
104
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
105
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
106
+ "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
107
+ ].join(" "),
108
+ // no flex here — <li> keeps display:list-item so ::marker renders correctly
109
+ false: ""
110
+ },
111
+ selected: {
112
+ true: "",
113
+ false: ""
114
+ },
115
+ disabled: {
116
+ true: "",
117
+ false: ""
118
+ }
119
+ },
120
+ compoundVariants: [
121
+ {
122
+ interactive: !0,
123
+ selected: !1,
124
+ disabled: !1,
125
+ className: "ds:hover:bg-[color:var(--muted)]/20"
126
+ },
127
+ {
128
+ interactive: !0,
129
+ selected: !0,
130
+ className: "ds:bg-[color:var(--primary)]/10"
131
+ },
132
+ {
133
+ interactive: !0,
134
+ disabled: !0,
135
+ className: "ds:opacity-50 ds:cursor-not-allowed ds:pointer-events-none"
136
+ }
137
+ ],
138
+ defaultVariants: {
139
+ divider: "spaced",
140
+ interactive: !1,
141
+ selected: !1,
142
+ disabled: !1
143
+ }
144
+ }
145
+ );
146
+ function le(t) {
147
+ const u = [];
148
+ return te.forEach(t, (y) => {
149
+ if (!se(y)) return;
150
+ const g = y.props;
151
+ typeof g.value == "string" && u.push({ value: g.value, disabled: !!g.disabled });
152
+ }), u;
153
+ }
154
+ const J = X(
155
+ ({
156
+ as: t = "ul",
157
+ start: u,
158
+ divider: y = "spaced",
159
+ density: g = "default",
160
+ selection: w = "none",
161
+ value: h,
162
+ defaultValue: S,
163
+ onValueChange: p,
164
+ disabled: r = !1,
165
+ className: N,
166
+ children: d,
167
+ "aria-label": P,
168
+ ...s
169
+ }, B) => {
170
+ const { t: T } = re(), n = w !== "none", v = w === "multiple", k = h !== void 0, [j, K] = W(() => S === void 0 ? [] : Array.isArray(S) ? S : [S]), l = O(() => {
171
+ if (k) {
172
+ const e = h;
173
+ return new Set(Array.isArray(e) ? e : [e]);
174
+ }
175
+ return new Set(j);
176
+ }, [k, h, j]), F = O(() => le(d), [d]), c = O(
177
+ () => F.filter((e) => !e.disabled && !r).map((e) => e.value),
178
+ [F, r]
179
+ ), [x, b] = W(null), R = G(/* @__PURE__ */ new Map()), U = m(
180
+ (e, o) => {
181
+ o ? R.current.set(e, o) : R.current.delete(e);
182
+ },
183
+ []
184
+ ), I = m((e) => {
185
+ b(e), requestAnimationFrame(() => {
186
+ var o;
187
+ (o = R.current.get(e)) == null || o.focus();
188
+ });
189
+ }, []), f = m(
190
+ (e) => {
191
+ k || K(e), v ? p == null || p(e) : p == null || p(e[0] ?? "");
192
+ },
193
+ [k, v, p]
194
+ ), L = m(
195
+ (e) => {
196
+ if (!r && n)
197
+ if (v) {
198
+ const o = [...l];
199
+ l.has(e) ? f(o.filter((z) => z !== e)) : f([...o, e]);
200
+ } else
201
+ l.has(e) ? f([]) : f([e]);
202
+ },
203
+ [r, n, v, l, f]
204
+ ), H = m((e) => {
205
+ b(e);
206
+ }, []), M = m(
207
+ (e, o) => {
208
+ if (!n) return;
209
+ const z = c.indexOf(o);
210
+ switch (e.key) {
211
+ case "ArrowDown": {
212
+ e.preventDefault();
213
+ const a = c[z + 1];
214
+ a !== void 0 && I(a);
215
+ break;
216
+ }
217
+ case "ArrowUp": {
218
+ e.preventDefault();
219
+ const a = c[z - 1];
220
+ a !== void 0 && I(a);
221
+ break;
222
+ }
223
+ case "Home": {
224
+ e.preventDefault();
225
+ const a = c[0];
226
+ a !== void 0 && I(a);
227
+ break;
228
+ }
229
+ case "End": {
230
+ e.preventDefault();
231
+ const a = c[c.length - 1];
232
+ a !== void 0 && I(a);
233
+ break;
234
+ }
235
+ case " ":
236
+ case "Enter": {
237
+ e.preventDefault(), L(o);
238
+ break;
239
+ }
240
+ }
241
+ },
242
+ [n, c, I, L]
243
+ ), A = {
244
+ selection: w,
245
+ selectedValues: l,
246
+ focusedValue: x,
247
+ disabled: r,
248
+ enabledItemValues: c,
249
+ onItemSelect: L,
250
+ onItemFocus: H,
251
+ onItemKeyDown: M,
252
+ registerItemRef: U,
253
+ divider: y
254
+ }, D = ae({
255
+ divider: y,
256
+ density: g,
257
+ ordered: t === "ol",
258
+ className: N
259
+ }), E = G(null), _ = O(
260
+ () => ({
261
+ getSelection: () => Array.from(l),
262
+ setSelection: (e) => {
263
+ n && f(v ? e : e.slice(0, 1));
264
+ },
265
+ clearSelection: () => {
266
+ n && f([]);
267
+ }
268
+ }),
269
+ [l, n, v, f]
270
+ );
271
+ if (V(B, () => _, [_]), ne(oe, _, s.id), n) {
272
+ const e = P ?? T("ui.list.label", "List");
273
+ return /* @__PURE__ */ i(q.Provider, { value: A, children: /* @__PURE__ */ i(
274
+ "div",
275
+ {
276
+ ref: E,
277
+ role: "listbox",
278
+ "aria-label": e,
279
+ "aria-multiselectable": v ? !0 : void 0,
280
+ "aria-disabled": r ? !0 : void 0,
281
+ className: D,
282
+ "data-component": "list",
283
+ "data-component-id": s.id,
284
+ ...s,
285
+ children: d
286
+ }
287
+ ) });
288
+ }
289
+ return t === "ol" ? /* @__PURE__ */ i(q.Provider, { value: A, children: /* @__PURE__ */ i(
290
+ "ol",
291
+ {
292
+ ref: E,
293
+ start: u,
294
+ role: "list",
295
+ className: D,
296
+ "data-component": "list",
297
+ "data-component-id": s.id,
298
+ ...s,
299
+ children: d
300
+ }
301
+ ) }) : /* @__PURE__ */ i(q.Provider, { value: A, children: /* @__PURE__ */ i(
302
+ "ul",
303
+ {
304
+ ref: E,
305
+ role: "list",
306
+ className: D,
307
+ "data-component": "list",
308
+ "data-component-id": s.id,
309
+ ...s,
310
+ children: d
311
+ }
312
+ ) });
313
+ }
314
+ );
315
+ J.displayName = "List";
316
+ const Z = X(
317
+ ({
318
+ value: t,
319
+ leading: u,
320
+ title: y,
321
+ description: g,
322
+ trailing: w,
323
+ lineClamp: h,
324
+ disabled: S = !1,
325
+ className: p,
326
+ onClick: r,
327
+ onFocus: N,
328
+ onKeyDown: d,
329
+ ...P
330
+ }, s) => {
331
+ const {
332
+ selection: B,
333
+ selectedValues: T,
334
+ focusedValue: n,
335
+ disabled: v,
336
+ enabledItemValues: k,
337
+ onItemSelect: j,
338
+ onItemFocus: K,
339
+ onItemKeyDown: l,
340
+ registerItemRef: F,
341
+ divider: c
342
+ } = C(q), x = B !== "none", b = v || S, R = t !== void 0 ? T.has(t) : !1, U = t !== void 0 && n === t, I = t !== void 0 && k[0] === t, f = x ? n !== null ? U && !b ? 0 : -1 : I && !b ? 0 : -1 : void 0, L = G(null);
343
+ ee(() => {
344
+ const e = L.current;
345
+ e && (h != null ? e.style.setProperty("--list-item-clamp", String(h)) : e.style.removeProperty("--list-item-clamp"));
346
+ }, [h]);
347
+ const H = m(
348
+ (e) => {
349
+ t && F(t, e), typeof s == "function" ? s(e) : s && (s.current = e);
350
+ },
351
+ [t, F, s]
352
+ ), M = m(
353
+ (e) => {
354
+ x && t && !b && j(t), r == null || r(e);
355
+ },
356
+ [x, t, b, j, r]
357
+ ), A = m(
358
+ (e) => {
359
+ t && K(t), N == null || N(e);
360
+ },
361
+ [t, K, N]
362
+ ), D = m(
363
+ (e) => {
364
+ t && l(e, t), d == null || d(e);
365
+ },
366
+ [t, l, d]
367
+ ), E = de({
368
+ divider: c,
369
+ interactive: x,
370
+ selected: R,
371
+ disabled: b,
372
+ className: p
373
+ }), _ = /* @__PURE__ */ Q($, { children: [
374
+ u && /* @__PURE__ */ i("span", { className: "ds:shrink-0 ds:flex ds:items-center ds:justify-center", children: u }),
375
+ /* @__PURE__ */ Q("div", { className: "ds:flex-1 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-0", children: [
376
+ /* @__PURE__ */ i("span", { className: "ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium ds:leading-[var(--line-height-base)] ds:[overflow-wrap:anywhere]", children: y }),
377
+ g && /* @__PURE__ */ i(
378
+ "span",
379
+ {
380
+ ref: L,
381
+ className: [
382
+ "ds:text-[color:var(--muted-foreground)] ds:text-[length:var(--font-size-xs)] ds:leading-[var(--line-height-base)]",
383
+ h != null ? "ds:[overflow:hidden] ds:[display:-webkit-box] ds:[-webkit-box-orient:vertical] ds:[-webkit-line-clamp:var(--list-item-clamp)]" : ""
384
+ ].filter(Boolean).join(" "),
385
+ children: g
386
+ }
387
+ )
388
+ ] }),
389
+ w && /* @__PURE__ */ i("span", { className: "ds:shrink-0 ds:flex ds:items-center ds:justify-center", children: w })
390
+ ] });
391
+ return x ? /* @__PURE__ */ i(
392
+ "div",
393
+ {
394
+ ref: H,
395
+ role: "option",
396
+ "aria-selected": R,
397
+ "aria-disabled": b ? !0 : void 0,
398
+ tabIndex: f,
399
+ onClick: M,
400
+ onFocus: A,
401
+ onKeyDown: D,
402
+ className: E,
403
+ "data-item-id": t,
404
+ ...P,
405
+ children: _
406
+ }
407
+ ) : (
408
+ // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions -- non-interactive list items still surface click/keyboard handlers when selection mode is enabled (handlers no-op when selection==='none')
409
+ /* @__PURE__ */ i(
410
+ "li",
411
+ {
412
+ ref: H,
413
+ onClick: M,
414
+ onFocus: A,
415
+ onKeyDown: D,
416
+ className: E,
417
+ "data-item-id": t,
418
+ ...P,
419
+ children: /* @__PURE__ */ i("div", { className: "ds:flex ds:items-center ds:gap-x-[var(--spacing-sm)]", children: _ })
420
+ }
421
+ )
422
+ );
423
+ }
424
+ );
425
+ Z.displayName = "List.Item";
426
+ const ve = Object.assign(J, {
427
+ Root: J,
428
+ Item: Z
429
+ });
430
+ export {
431
+ ve as L,
432
+ oe as l
433
+ };
434
+ //# sourceMappingURL=list-qP6p0NTw.js.map