@adea-ai/ui 0.162.5 → 0.162.7

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 (364) hide show
  1. package/dist/components/composites/about-dialog/about-dialog.js +5 -5
  2. package/dist/components/composites/about-dialog/about-dialog.js.map +1 -1
  3. package/dist/components/composites/accent-picker/accent-picker.js +3 -3
  4. package/dist/components/composites/accent-picker/accent-picker.js.map +1 -1
  5. package/dist/components/composites/accent-picker/custom-color-popover.js +2 -2
  6. package/dist/components/composites/accent-picker/custom-color-popover.js.map +1 -1
  7. package/dist/components/composites/account-menu/account-menu.js +22 -22
  8. package/dist/components/composites/account-menu/account-menu.js.map +1 -1
  9. package/dist/components/composites/action-button/action-button.js +2 -2
  10. package/dist/components/composites/action-button/action-button.js.map +1 -1
  11. package/dist/components/composites/appearance-editor/accent-swatch-groups.js +3 -3
  12. package/dist/components/composites/appearance-editor/accent-swatch-groups.js.map +1 -1
  13. package/dist/components/composites/appearance-editor/appearance-choices.js +10 -10
  14. package/dist/components/composites/appearance-editor/appearance-choices.js.map +1 -1
  15. package/dist/components/composites/appearance-editor/appearance-editor.js +13 -13
  16. package/dist/components/composites/appearance-editor/appearance-editor.js.map +1 -1
  17. package/dist/components/composites/appearance-editor/appearance-rows.js +12 -12
  18. package/dist/components/composites/appearance-editor/appearance-rows.js.map +1 -1
  19. package/dist/components/composites/appearance-editor/font-settings-group.js +13 -13
  20. package/dist/components/composites/appearance-editor/font-settings-group.js.map +1 -1
  21. package/dist/components/composites/appearance-editor/theme-preview.js +1 -1
  22. package/dist/components/composites/appearance-editor/theme-preview.js.map +1 -1
  23. package/dist/components/composites/catalog-browser/catalog-browser-group.js +9 -9
  24. package/dist/components/composites/catalog-browser/catalog-browser-group.js.map +1 -1
  25. package/dist/components/composites/catalog-browser/catalog-browser.js +10 -10
  26. package/dist/components/composites/catalog-browser/catalog-browser.js.map +1 -1
  27. package/dist/components/composites/catalog-browser/catalog-detail.js +1 -1
  28. package/dist/components/composites/catalog-browser/catalog-detail.js.map +1 -1
  29. package/dist/components/composites/chain-of-thought/chain-of-thought.js +5 -5
  30. package/dist/components/composites/chain-of-thought/chain-of-thought.js.map +1 -1
  31. package/dist/components/composites/chat/chat.js +7 -7
  32. package/dist/components/composites/chat/chat.js.map +1 -1
  33. package/dist/components/composites/checkpoint/checkpoint.js +5 -5
  34. package/dist/components/composites/checkpoint/checkpoint.js.map +1 -1
  35. package/dist/components/composites/confirmation/confirmation.js +13 -13
  36. package/dist/components/composites/confirmation/confirmation.js.map +1 -1
  37. package/dist/components/composites/context/context.js +7 -7
  38. package/dist/components/composites/context/context.js.map +1 -1
  39. package/dist/components/composites/file-tree/build-file-tree.js +1 -1
  40. package/dist/components/composites/file-tree/build-file-tree.js.map +1 -1
  41. package/dist/components/composites/file-tree/file-tree.js +9 -9
  42. package/dist/components/composites/file-tree/file-tree.js.map +1 -1
  43. package/dist/components/composites/help-center/help-center.js +5 -5
  44. package/dist/components/composites/help-center/help-center.js.map +1 -1
  45. package/dist/components/composites/icon-picker/icon-picker.js +10 -10
  46. package/dist/components/composites/icon-picker/icon-picker.js.map +1 -1
  47. package/dist/components/composites/icon-picker/image-data-url.js.map +1 -1
  48. package/dist/components/composites/icon-picker/shell-icons.js +117 -117
  49. package/dist/components/composites/icon-picker/shell-icons.js.map +1 -1
  50. package/dist/components/composites/inline-citation/inline-citation.js +7 -7
  51. package/dist/components/composites/inline-citation/inline-citation.js.map +1 -1
  52. package/dist/components/composites/list-row/list-row-control.js +1 -1
  53. package/dist/components/composites/list-row/list-row-control.js.map +1 -1
  54. package/dist/components/composites/list-row/list-row.js +2 -2
  55. package/dist/components/composites/list-row/list-row.js.map +1 -1
  56. package/dist/components/composites/message-scroller/message-scroller.js +7 -7
  57. package/dist/components/composites/message-scroller/message-scroller.js.map +1 -1
  58. package/dist/components/composites/message-scroller/scroll-anchor.js +1 -1
  59. package/dist/components/composites/message-scroller/scroll-anchor.js.map +1 -1
  60. package/dist/components/composites/model-selector/model-selector.js +12 -12
  61. package/dist/components/composites/model-selector/model-selector.js.map +1 -1
  62. package/dist/components/composites/plan/plan.js +5 -5
  63. package/dist/components/composites/plan/plan.js.map +1 -1
  64. package/dist/components/composites/prompt-input/prompt-input.js +3 -3
  65. package/dist/components/composites/prompt-input/prompt-input.js.map +1 -1
  66. package/dist/components/composites/queue/queue.js +13 -13
  67. package/dist/components/composites/queue/queue.js.map +1 -1
  68. package/dist/components/composites/reasoning/reasoning.js +5 -5
  69. package/dist/components/composites/reasoning/reasoning.js.map +1 -1
  70. package/dist/components/composites/scene-controls/scene-controls.js +16 -16
  71. package/dist/components/composites/scene-controls/scene-controls.js.map +1 -1
  72. package/dist/components/composites/settings/settings-layout.js +2 -2
  73. package/dist/components/composites/settings/settings-layout.js.map +1 -1
  74. package/dist/components/composites/settings/settings-navigation.js +2 -2
  75. package/dist/components/composites/settings/settings-navigation.js.map +1 -1
  76. package/dist/components/composites/settings/settings.js +5 -5
  77. package/dist/components/composites/settings/settings.js.map +1 -1
  78. package/dist/components/composites/sources/sources.js +5 -5
  79. package/dist/components/composites/sources/sources.js.map +1 -1
  80. package/dist/components/composites/stack-trace/parse-stack-trace.js +2 -2
  81. package/dist/components/composites/stack-trace/parse-stack-trace.js.map +1 -1
  82. package/dist/components/composites/stack-trace/stack-trace.js +10 -10
  83. package/dist/components/composites/stack-trace/stack-trace.js.map +1 -1
  84. package/dist/components/composites/stat/stat.js +6 -6
  85. package/dist/components/composites/stat/stat.js.map +1 -1
  86. package/dist/components/composites/subagent/subagent.js +5 -5
  87. package/dist/components/composites/subagent/subagent.js.map +1 -1
  88. package/dist/components/composites/suggestion/suggestion.js +2 -2
  89. package/dist/components/composites/suggestion/suggestion.js.map +1 -1
  90. package/dist/components/composites/task/task.js +5 -5
  91. package/dist/components/composites/task/task.js.map +1 -1
  92. package/dist/components/composites/terminal/ansi.js +1 -1
  93. package/dist/components/composites/terminal/ansi.js.map +1 -1
  94. package/dist/components/composites/terminal/terminal.js +18 -18
  95. package/dist/components/composites/terminal/terminal.js.map +1 -1
  96. package/dist/components/composites/test-results/test-results.js +17 -17
  97. package/dist/components/composites/test-results/test-results.js.map +1 -1
  98. package/dist/components/composites/tool/tool.js +5 -5
  99. package/dist/components/composites/tool/tool.js.map +1 -1
  100. package/dist/components/composites/tree/tree.js +6 -6
  101. package/dist/components/composites/tree/tree.js.map +1 -1
  102. package/dist/components/composites/update-dialog/channel-control.js +1 -1
  103. package/dist/components/composites/update-dialog/channel-control.js.map +1 -1
  104. package/dist/components/composites/update-dialog/update-dialog.js +23 -23
  105. package/dist/components/composites/update-dialog/update-dialog.js.map +1 -1
  106. package/dist/components/composites/workspace-mark/workspace-mark.js +2 -2
  107. package/dist/components/composites/workspace-mark/workspace-mark.js.map +1 -1
  108. package/dist/components/composites/workspace-switcher/workspace-reorder-dialog.js +6 -6
  109. package/dist/components/composites/workspace-switcher/workspace-reorder-dialog.js.map +1 -1
  110. package/dist/components/composites/workspace-switcher/workspace-switcher.js +11 -11
  111. package/dist/components/composites/workspace-switcher/workspace-switcher.js.map +1 -1
  112. package/dist/components/conversation/atomic/chat-composer.js +1 -1
  113. package/dist/components/conversation/busy-send-button.js +10 -10
  114. package/dist/components/conversation/busy-send-button.js.map +1 -1
  115. package/dist/components/conversation/chat-composer.js +1 -1
  116. package/dist/components/conversation/composer-core.js +1 -1
  117. package/dist/components/conversation/composer-menu.js +2 -2
  118. package/dist/components/conversation/composer-menu.js.map +1 -1
  119. package/dist/components/conversation/conversation-avatar.js +7 -7
  120. package/dist/components/conversation/conversation-avatar.js.map +1 -1
  121. package/dist/components/conversation/conversation-pane.js +1 -1
  122. package/dist/components/conversation/conversation-pane.js.map +1 -1
  123. package/dist/components/conversation/conversation-surface.js +5 -5
  124. package/dist/components/conversation/conversation-surface.js.map +1 -1
  125. package/dist/components/conversation/internal/chat-composer-shell.js +9 -9
  126. package/dist/components/conversation/internal/chat-composer-shell.js.map +1 -1
  127. package/dist/components/conversation/message-composer.js +9 -9
  128. package/dist/components/conversation/message-composer.js.map +1 -1
  129. package/dist/components/conversation/message-row.js +13 -13
  130. package/dist/components/conversation/message-row.js.map +1 -1
  131. package/dist/components/conversation/paste-token-editor.js +1 -1
  132. package/dist/components/conversation/paste-token-editor.js.map +1 -1
  133. package/dist/components/conversation/scroll-follow.js +1 -1
  134. package/dist/components/conversation/thread-panel.js +5 -5
  135. package/dist/components/conversation/thread-panel.js.map +1 -1
  136. package/dist/components/conversation/transcript-composition.js +5 -5
  137. package/dist/components/conversation/transcript-composition.js.map +1 -1
  138. package/dist/components/layout/app-shell/app-shell.js +1 -1
  139. package/dist/components/layout/app-shell/app-shell.js.map +1 -1
  140. package/dist/components/layout/app-shell/skip-link.js +1 -1
  141. package/dist/components/layout/app-shell/skip-link.js.map +1 -1
  142. package/dist/components/layout/contextual-sidebar/contextual-sidebar.js +2 -2
  143. package/dist/components/layout/contextual-sidebar/contextual-sidebar.js.map +1 -1
  144. package/dist/components/layout/contextual-sidebar/mobile-contextual-sidebar.js +1 -1
  145. package/dist/components/layout/floating-preview/floating-preview.js +7 -7
  146. package/dist/components/layout/floating-preview/floating-preview.js.map +1 -1
  147. package/dist/components/layout/orbit-layout/orbit-layout.js +1 -1
  148. package/dist/components/layout/orbit-layout/orbit-layout.js.map +1 -1
  149. package/dist/components/layout/page/page.js +2 -2
  150. package/dist/components/layout/page/page.js.map +1 -1
  151. package/dist/components/layout/panel/panel.js +1 -1
  152. package/dist/components/layout/panel/panel.js.map +1 -1
  153. package/dist/components/layout/pixel-pane/pixel-pane.js +1 -1
  154. package/dist/components/layout/pixel-resize-handle/pixel-resize-handle.js +5 -5
  155. package/dist/components/layout/pixel-resize-handle/pixel-resize-handle.js.map +1 -1
  156. package/dist/components/layout/shell-rail/shell-rail.js +5 -5
  157. package/dist/components/layout/shell-rail/shell-rail.js.map +1 -1
  158. package/dist/components/layout/shell-top-bar/shell-top-bar.js +2 -2
  159. package/dist/components/layout/shell-top-bar/shell-top-bar.js.map +1 -1
  160. package/dist/components/layout/side-rail/side-rail.js +2 -2
  161. package/dist/components/layout/side-rail/side-rail.js.map +1 -1
  162. package/dist/components/layout/sidebar-nav/sidebar-nav-resize-handle.js +1 -1
  163. package/dist/components/layout/sidebar-nav/sidebar-nav.js +5 -5
  164. package/dist/components/layout/sidebar-nav/sidebar-nav.js.map +1 -1
  165. package/dist/components/layout/split-layout/pane-focus.js.map +1 -1
  166. package/dist/components/layout/split-layout/resize-controller-core-retry.js +1 -1
  167. package/dist/components/layout/split-layout/resize-controller-core-retry.js.map +1 -1
  168. package/dist/components/layout/split-layout/resize-controller-core.js +1 -1
  169. package/dist/components/layout/split-layout/resize-controller-core.js.map +1 -1
  170. package/dist/components/layout/split-layout/split-layout.js +7 -7
  171. package/dist/components/layout/split-layout/split-layout.js.map +1 -1
  172. package/dist/components/layout/status-bar/status-bar.js +1 -1
  173. package/dist/components/layout/status-bar/status-bar.js.map +1 -1
  174. package/dist/components/layout/top-bar/top-bar.js +5 -5
  175. package/dist/components/layout/top-bar/top-bar.js.map +1 -1
  176. package/dist/components/layout/virtual-window/virtual-window.js +1 -1
  177. package/dist/components/layout/virtual-window/virtual-window.js.map +1 -1
  178. package/dist/components/motion/presence.js +1 -1
  179. package/dist/components/theme/appearance-panel.js +3 -3
  180. package/dist/components/theme/appearance-panel.js.map +1 -1
  181. package/dist/components/theme/lazy.js +3 -3
  182. package/dist/components/theme/lazy.js.map +1 -1
  183. package/dist/components/theme/script-projection.js +1 -1
  184. package/dist/components/theme/theme-catalogue-source.js +1 -1
  185. package/dist/components/theme/theme-document.js.map +1 -1
  186. package/dist/components/theme/theme-mode-toggle.js +7 -7
  187. package/dist/components/theme/theme-mode-toggle.js.map +1 -1
  188. package/dist/components/theme/theme-picker.js +2 -2
  189. package/dist/components/theme/theme-picker.js.map +1 -1
  190. package/dist/components/theme/theme-provider-value.js +1 -1
  191. package/dist/components/theme/theme-provider-value.js.map +1 -1
  192. package/dist/components/theme/theme-provider.js +1 -1
  193. package/dist/components/theme/theme-toggle.js +7 -7
  194. package/dist/components/theme/theme-toggle.js.map +1 -1
  195. package/dist/components/ui/accordion/accordion.js +13 -13
  196. package/dist/components/ui/accordion/accordion.js.map +1 -1
  197. package/dist/components/ui/alert/alert.js +12 -12
  198. package/dist/components/ui/alert/alert.js.map +1 -1
  199. package/dist/components/ui/alert-dialog/alert-dialog.js +14 -14
  200. package/dist/components/ui/alert-dialog/alert-dialog.js.map +1 -1
  201. package/dist/components/ui/annotation-surface/annotation-surface.js +2 -2
  202. package/dist/components/ui/annotation-surface/annotation-surface.js.map +1 -1
  203. package/dist/components/ui/aspect-ratio/aspect-ratio.js +1 -1
  204. package/dist/components/ui/aspect-ratio/aspect-ratio.js.map +1 -1
  205. package/dist/components/ui/attachment/attachment.js +16 -16
  206. package/dist/components/ui/attachment/attachment.js.map +1 -1
  207. package/dist/components/ui/avatar/avatar.js +1 -1
  208. package/dist/components/ui/avatar/avatar.js.map +1 -1
  209. package/dist/components/ui/badge/badge.js +2 -2
  210. package/dist/components/ui/badge/badge.js.map +1 -1
  211. package/dist/components/ui/board/board.js +2 -2
  212. package/dist/components/ui/board/board.js.map +1 -1
  213. package/dist/components/ui/breadcrumb/breadcrumb.js +7 -7
  214. package/dist/components/ui/breadcrumb/breadcrumb.js.map +1 -1
  215. package/dist/components/ui/bubble/bubble.js +2 -2
  216. package/dist/components/ui/bubble/bubble.js.map +1 -1
  217. package/dist/components/ui/button/button.js +2 -2
  218. package/dist/components/ui/button-group/button-group.js +2 -2
  219. package/dist/components/ui/button-group/button-group.js.map +1 -1
  220. package/dist/components/ui/calendar/calendar.js +8 -8
  221. package/dist/components/ui/calendar/calendar.js.map +1 -1
  222. package/dist/components/ui/callout/callout.js +2 -2
  223. package/dist/components/ui/callout/callout.js.map +1 -1
  224. package/dist/components/ui/card/card.js +2 -2
  225. package/dist/components/ui/card/card.js.map +1 -1
  226. package/dist/components/ui/carousel/carousel.js +8 -8
  227. package/dist/components/ui/carousel/carousel.js.map +1 -1
  228. package/dist/components/ui/chart/chart.js +2 -2
  229. package/dist/components/ui/chart/chart.js.map +1 -1
  230. package/dist/components/ui/checkbox/checkbox.js +6 -6
  231. package/dist/components/ui/checkbox/checkbox.js.map +1 -1
  232. package/dist/components/ui/code-block/code-block.js +6 -6
  233. package/dist/components/ui/code-block/code-block.js.map +1 -1
  234. package/dist/components/ui/collapsible/collapsible.js +7 -7
  235. package/dist/components/ui/collapsible/collapsible.js.map +1 -1
  236. package/dist/components/ui/combobox/combobox.js +21 -21
  237. package/dist/components/ui/combobox/combobox.js.map +1 -1
  238. package/dist/components/ui/combobox/value-combobox.js +1 -1
  239. package/dist/components/ui/command/command.js +23 -23
  240. package/dist/components/ui/command/command.js.map +1 -1
  241. package/dist/components/ui/context-menu/context-menu.js +2 -2
  242. package/dist/components/ui/detail-panel/detail-panel.js +5 -5
  243. package/dist/components/ui/detail-panel/detail-panel.js.map +1 -1
  244. package/dist/components/ui/dialog/dialog-layer.js +2 -2
  245. package/dist/components/ui/dialog/dialog-layer.js.map +1 -1
  246. package/dist/components/ui/dialog/dialog.js +21 -21
  247. package/dist/components/ui/dialog/dialog.js.map +1 -1
  248. package/dist/components/ui/diff-block/diff-block.js +2 -2
  249. package/dist/components/ui/diff-block/diff-block.js.map +1 -1
  250. package/dist/components/ui/drawer/drawer.js +14 -14
  251. package/dist/components/ui/drawer/drawer.js.map +1 -1
  252. package/dist/components/ui/dropdown-menu/dropdown-menu.js +3 -3
  253. package/dist/components/ui/dropdown-menu/menu-parts.js +10 -10
  254. package/dist/components/ui/dropdown-menu/menu-parts.js.map +1 -1
  255. package/dist/components/ui/empty/empty-state.js +5 -5
  256. package/dist/components/ui/empty/empty-state.js.map +1 -1
  257. package/dist/components/ui/empty/empty.js +1 -1
  258. package/dist/components/ui/empty/empty.js.map +1 -1
  259. package/dist/components/ui/entity-icon/entity-icon.js +2 -2
  260. package/dist/components/ui/entity-icon/entity-icon.js.map +1 -1
  261. package/dist/components/ui/field/field.js +14 -14
  262. package/dist/components/ui/field/field.js.map +1 -1
  263. package/dist/components/ui/field/number-field.js +2 -2
  264. package/dist/components/ui/field/number-field.js.map +1 -1
  265. package/dist/components/ui/hover-card/hover-card.js +10 -10
  266. package/dist/components/ui/hover-card/hover-card.js.map +1 -1
  267. package/dist/components/ui/input/input-control.js +1 -1
  268. package/dist/components/ui/input/input-control.js.map +1 -1
  269. package/dist/components/ui/input/input.js +2 -2
  270. package/dist/components/ui/input/input.js.map +1 -1
  271. package/dist/components/ui/input-group/input-group.js +2 -2
  272. package/dist/components/ui/input-group/input-group.js.map +1 -1
  273. package/dist/components/ui/input-group/secret-input-group.js +2 -2
  274. package/dist/components/ui/input-otp/input-otp.js +2 -2
  275. package/dist/components/ui/input-otp/input-otp.js.map +1 -1
  276. package/dist/components/ui/item/item.js +2 -2
  277. package/dist/components/ui/item/item.js.map +1 -1
  278. package/dist/components/ui/kbd/kbd.js +2 -2
  279. package/dist/components/ui/kbd/kbd.js.map +1 -1
  280. package/dist/components/ui/label/label.js +1 -1
  281. package/dist/components/ui/label/label.js.map +1 -1
  282. package/dist/components/ui/marker/marker.js +2 -2
  283. package/dist/components/ui/marker/marker.js.map +1 -1
  284. package/dist/components/ui/menubar/menubar.js +7 -7
  285. package/dist/components/ui/menubar/menubar.js.map +1 -1
  286. package/dist/components/ui/message/message.js +3 -3
  287. package/dist/components/ui/message/message.js.map +1 -1
  288. package/dist/components/ui/modal-dialog/modal-dialog.js +2 -2
  289. package/dist/components/ui/modal-dialog/modal-dialog.js.map +1 -1
  290. package/dist/components/ui/native-select/native-select.js +5 -5
  291. package/dist/components/ui/native-select/native-select.js.map +1 -1
  292. package/dist/components/ui/navigation-menu/navigation-menu.js +18 -18
  293. package/dist/components/ui/navigation-menu/navigation-menu.js.map +1 -1
  294. package/dist/components/ui/pagination/pagination.js +28 -28
  295. package/dist/components/ui/pagination/pagination.js.map +1 -1
  296. package/dist/components/ui/popover/popover.js +15 -15
  297. package/dist/components/ui/popover/popover.js.map +1 -1
  298. package/dist/components/ui/progress/progress.js +5 -5
  299. package/dist/components/ui/progress/progress.js.map +1 -1
  300. package/dist/components/ui/questionnaire/questionnaire.js +10 -10
  301. package/dist/components/ui/questionnaire/questionnaire.js.map +1 -1
  302. package/dist/components/ui/radio-group/radio-group.js +9 -9
  303. package/dist/components/ui/radio-group/radio-group.js.map +1 -1
  304. package/dist/components/ui/resizable/resizable.js +11 -11
  305. package/dist/components/ui/resizable/resizable.js.map +1 -1
  306. package/dist/components/ui/scroll-area/scroll-area.js +1 -1
  307. package/dist/components/ui/scroll-area/scroll-area.js.map +1 -1
  308. package/dist/components/ui/select/select.js +21 -21
  309. package/dist/components/ui/select/select.js.map +1 -1
  310. package/dist/components/ui/separator/separator.js +5 -5
  311. package/dist/components/ui/separator/separator.js.map +1 -1
  312. package/dist/components/ui/sheet/sheet.js +6 -6
  313. package/dist/components/ui/sheet/sheet.js.map +1 -1
  314. package/dist/components/ui/skeleton/skeleton.js +1 -1
  315. package/dist/components/ui/skeleton/skeleton.js.map +1 -1
  316. package/dist/components/ui/slider/slider.js +5 -5
  317. package/dist/components/ui/slider/slider.js.map +1 -1
  318. package/dist/components/ui/spinner/spinner.js +5 -5
  319. package/dist/components/ui/spinner/spinner.js.map +1 -1
  320. package/dist/components/ui/status-chip/status-chip.js +2 -2
  321. package/dist/components/ui/status-chip/status-chip.js.map +1 -1
  322. package/dist/components/ui/switch/switch.js +4 -4
  323. package/dist/components/ui/switch/switch.js.map +1 -1
  324. package/dist/components/ui/table/table.js +1 -1
  325. package/dist/components/ui/table/table.js.map +1 -1
  326. package/dist/components/ui/tabs/tabs.js +7 -7
  327. package/dist/components/ui/tabs/tabs.js.map +1 -1
  328. package/dist/components/ui/text-link/text-link.js +1 -1
  329. package/dist/components/ui/text-link/text-link.js.map +1 -1
  330. package/dist/components/ui/textarea/textarea.js +2 -2
  331. package/dist/components/ui/textarea/textarea.js.map +1 -1
  332. package/dist/components/ui/toast/toast.js +7 -7
  333. package/dist/components/ui/toast/toast.js.map +1 -1
  334. package/dist/components/ui/toggle/toggle.js +6 -6
  335. package/dist/components/ui/toggle/toggle.js.map +1 -1
  336. package/dist/components/ui/toggle-group/toggle-group.js +7 -8
  337. package/dist/components/ui/toggle-group/toggle-group.js.map +1 -1
  338. package/dist/components/ui/tooltip/deferred-tooltip.js +6 -6
  339. package/dist/components/ui/tooltip/deferred-tooltip.js.map +1 -1
  340. package/dist/components/ui/tooltip/lazy-tooltip.js +2 -2
  341. package/dist/components/ui/tooltip/tooltip.js +10 -10
  342. package/dist/components/ui/tooltip/tooltip.js.map +1 -1
  343. package/dist/components/ui/trace/trace.js +19 -19
  344. package/dist/components/ui/trace/trace.js.map +1 -1
  345. package/dist/components/ui/typography/typography.js +2 -2
  346. package/dist/lib/accent-presets.js +1 -1
  347. package/dist/lib/accent-roles.js +2 -2
  348. package/dist/lib/async-action.js +1 -1
  349. package/dist/lib/create-poll.js +1 -1
  350. package/dist/lib/create-poll.js.map +1 -1
  351. package/dist/lib/external-link.js +1 -1
  352. package/dist/lib/external-link.js.map +1 -1
  353. package/dist/lib/fast-icon.js +1 -1
  354. package/dist/lib/theme-css.js +1 -1
  355. package/dist/lib/theme-engine-light.js +1 -1
  356. package/dist/lib/theme-projection.js +2 -2
  357. package/dist/lib/theme-records.js +1 -1
  358. package/dist/lib/themes.js +1 -1
  359. package/dist/lib/themes.js.map +1 -1
  360. package/dist/lib/tooltip-focus-gate.js.map +1 -1
  361. package/dist/lib/utils.js +1 -1
  362. package/dist/vite/source-parser.js +1 -1
  363. package/dist/vite/tailwind-sources.js +1 -1
  364. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"busy-send-button.js","names":["<DropdownMenu placement=\"top-end\" modal={false}>\n <ButtonGroup label=\"Send while busy\">\n <Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>\n <DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>\n </ButtonGroup>\n <DropdownMenuContent hideArrow tabKey=\"cycle\">\n <DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>\n <Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>\n </DropdownMenuContent>\n </DropdownMenu>","placement=\"top-end\"","modal={false}","<ButtonGroup label=\"Send while busy\">\n <Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>\n <DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>\n </ButtonGroup>","label=\"Send while busy\"","<Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>","type=\"button\"","size=\"icon-sm\"","onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}","<Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>","<Target />","<ArrowUpFromLine />","<DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>","as={Button}","<ChevronDown />","<DropdownMenuContent hideArrow tabKey=\"cycle\">\n <DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>\n <Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>\n </DropdownMenuContent>","tabKey=\"cycle\"","<DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>","onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}","<For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>","each={modes}","<DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>","value={mode}","<Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>","when={mode === 'steer'}","<Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>","<Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>","<DropdownMenuSeparator />","<div data-slot=\"busy-send-button\" class=\"flex w-fit flex-col gap-1\">\n <DropdownMenu placement=\"top-end\" modal={false}>\n <ButtonGroup label=\"Send while busy\">\n <Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>\n <DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>\n </ButtonGroup>\n <DropdownMenuContent hideArrow tabKey=\"cycle\">\n <DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>\n <Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>\n </DropdownMenuContent>\n </DropdownMenu>\n <Show when={reason()}>\n {(message) => (\n <p id={reasonId} class=\"text-muted-foreground text-xs\">\n {message()}\n </p>\n )}\n </Show>\n </div>","<Show when={reason()}>\n {(message) => (\n <p id={reasonId} class=\"text-muted-foreground text-xs\">\n {message()}\n </p>\n )}\n </Show>","ArrowUpFromLine","LucideArrowUpFromLine","ChevronDown","LucideChevronDown","Target","LucideTarget"],"sources":["../../../src/components/conversation/busy-send-button.tsx"],"sourcesContent":["/*\n * Substantially translated from KiroCrew website/src/components/BusySendButton.tsx\n * at 283e136c0f902e965a535a7c9548c57c7504fed0.\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * Licensed under Apache-2.0; see LICENSE and NOTICE.\n */\nimport {\n ArrowUpFromLine as LucideArrowUpFromLine,\n ChevronDown as LucideChevronDown,\n Target as LucideTarget,\n} from '@lucide/solid'\nimport { For, Show, createUniqueId } from 'solid-js'\nimport { Button } from '../ui/button'\nimport { ButtonGroup } from '../ui/button-group'\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from '../ui/dropdown-menu'\nimport { fastIcon } from '#lib/fast-icon'\n\n// lucide icons drawn from a cloned template (see fastIcon).\nconst ArrowUpFromLine = fastIcon(LucideArrowUpFromLine)\nconst ChevronDown = fastIcon(LucideChevronDown)\nconst Target = fastIcon(LucideTarget)\n\nexport type BusySendMode = 'steer' | 'queue'\nexport type BusySendButtonProps = {\n mode: BusySendMode\n onModeChange: (mode: BusySendMode) => void\n /** Executes only the selected action. The host owns the draft and command. */\n onFire: () => void\n /** An empty draft or pending delivery disables fire, but not choosing a mode. */\n disabled?: boolean\n /** Disable mode selection when the host has no authority to change preferences. */\n selectionDisabled?: boolean\n /** Host capability/authority failures: unavailable rows remain visible. */\n unavailable?: Partial<Record<BusySendMode, string>>\n /** Supply only when the host implements this alternate-action keyboard chord. */\n alternateActionHint?: string\n}\n\nconst modes: BusySendMode[] = ['steer', 'queue']\nconst labels = { steer: 'Steer', queue: 'Queue' }\nconst descriptions = {\n steer: 'Act on this right away',\n queue: 'Run after the current work finishes',\n}\n\n/**\n * Kiro's split action/menu composition, with app-owned mode and availability.\n * Picking a mode never fires it. Persistence, migration and same-session\n * broadcasts belong to the consumer; this component has no storage or global listeners.\n * The menu primitive replaces the donor manual portal/positioning and document listeners:\n * arrows wrap and selection/Escape return focus, and Tab cycles the enabled\n * rows as the donor's did (`tabKey=\"cycle\"`). No force-reset timer or runtime\n * authority is translated from the adjacent donor stop flow.\n */\nexport function BusySendButton(props: BusySendButtonProps) {\n const reasonId = createUniqueId()\n const reason = () => props.unavailable?.[props.mode]\n const variant = () => (props.mode === 'steer' ? ('default' as const) : ('secondary' as const))\n return (\n <div data-slot=\"busy-send-button\" class=\"flex w-fit flex-col gap-1\">\n <DropdownMenu placement=\"top-end\" modal={false}>\n <ButtonGroup label=\"Send while busy\">\n <Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>\n <DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>\n </ButtonGroup>\n <DropdownMenuContent hideArrow tabKey=\"cycle\">\n <DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>\n <Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>\n </DropdownMenuContent>\n </DropdownMenu>\n <Show when={reason()}>\n {(message) => (\n <p id={reasonId} class=\"text-muted-foreground text-xs\">\n {message()}\n </p>\n )}\n </Show>\n </div>\n )\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"busy-send-button.js","names":["<DropdownMenu placement=\"top-end\" modal={false}>\n <ButtonGroup label=\"Send while busy\">\n <Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>\n <DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>\n </ButtonGroup>\n <DropdownMenuContent hideArrow tabKey=\"cycle\">\n <DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>\n <Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>\n </DropdownMenuContent>\n </DropdownMenu>","placement=\"top-end\"","modal={false}","<ButtonGroup label=\"Send while busy\">\n <Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>\n <DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>\n </ButtonGroup>","label=\"Send while busy\"","<Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>","type=\"button\"","size=\"icon-sm\"","onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}","<Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>","<Target />","<ArrowUpFromLine />","<DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>","as={Button}","<ChevronDown />","<DropdownMenuContent hideArrow tabKey=\"cycle\">\n <DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>\n <Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>\n </DropdownMenuContent>","tabKey=\"cycle\"","<DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>","onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}","<For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>","each={modes}","<DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>","value={mode}","<Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>","when={mode === 'steer'}","<Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>","<Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>","<DropdownMenuSeparator />","<div data-slot=\"busy-send-button\" class=\"flex w-fit flex-col gap-1\">\n <DropdownMenu placement=\"top-end\" modal={false}>\n <ButtonGroup label=\"Send while busy\">\n <Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>\n <DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>\n </ButtonGroup>\n <DropdownMenuContent hideArrow tabKey=\"cycle\">\n <DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>\n <Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>\n </DropdownMenuContent>\n </DropdownMenu>\n <Show when={reason()}>\n {(message) => (\n <p id={reasonId} class=\"text-muted-foreground text-xs\">\n {message()}\n </p>\n )}\n </Show>\n </div>","<Show when={reason()}>\n {(message) => (\n <p id={reasonId} class=\"text-muted-foreground text-xs\">\n {message()}\n </p>\n )}\n </Show>","LucideArrowUpFromLine","LucideChevronDown","LucideTarget","_$insert","_$setAttribute"],"sources":["../../../src/components/conversation/busy-send-button.tsx"],"sourcesContent":["/*\n * Substantially translated from KiroCrew website/src/components/BusySendButton.tsx\n * at 283e136c0f902e965a535a7c9548c57c7504fed0.\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * Licensed under Apache-2.0; see LICENSE and NOTICE.\n */\nimport {\n ArrowUpFromLine as LucideArrowUpFromLine,\n ChevronDown as LucideChevronDown,\n Target as LucideTarget,\n} from '@lucide/solid'\nimport { For, Show, createUniqueId } from 'solid-js'\nimport { Button } from '../ui/button'\nimport { ButtonGroup } from '../ui/button-group'\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from '../ui/dropdown-menu'\nimport { fastIcon } from '#lib/fast-icon'\n\n// lucide icons drawn from a cloned template (see fastIcon).\nconst ArrowUpFromLine = fastIcon(LucideArrowUpFromLine)\nconst ChevronDown = fastIcon(LucideChevronDown)\nconst Target = fastIcon(LucideTarget)\n\nexport type BusySendMode = 'steer' | 'queue'\nexport type BusySendButtonProps = {\n mode: BusySendMode\n onModeChange: (mode: BusySendMode) => void\n /** Executes only the selected action. The host owns the draft and command. */\n onFire: () => void\n /** An empty draft or pending delivery disables fire, but not choosing a mode. */\n disabled?: boolean\n /** Disable mode selection when the host has no authority to change preferences. */\n selectionDisabled?: boolean\n /** Host capability/authority failures: unavailable rows remain visible. */\n unavailable?: Partial<Record<BusySendMode, string>>\n /** Supply only when the host implements this alternate-action keyboard chord. */\n alternateActionHint?: string\n}\n\nconst modes: BusySendMode[] = ['steer', 'queue']\nconst labels = { steer: 'Steer', queue: 'Queue' }\nconst descriptions = {\n steer: 'Act on this right away',\n queue: 'Run after the current work finishes',\n}\n\n/**\n * Kiro's split action/menu composition, with app-owned mode and availability.\n * Picking a mode never fires it. Persistence, migration and same-session\n * broadcasts belong to the consumer; this component has no storage or global listeners.\n * The menu primitive replaces the donor manual portal/positioning and document listeners:\n * arrows wrap and selection/Escape return focus, and Tab cycles the enabled\n * rows as the donor's did (`tabKey=\"cycle\"`). No force-reset timer or runtime\n * authority is translated from the adjacent donor stop flow.\n */\nexport function BusySendButton(props: BusySendButtonProps) {\n const reasonId = createUniqueId()\n const reason = () => props.unavailable?.[props.mode]\n const variant = () => (props.mode === 'steer' ? ('default' as const) : ('secondary' as const))\n return (\n <div data-slot=\"busy-send-button\" class=\"flex w-fit flex-col gap-1\">\n <DropdownMenu placement=\"top-end\" modal={false}>\n <ButtonGroup label=\"Send while busy\">\n <Button\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label={props.mode === 'steer' ? 'Steer' : 'Queue message'}\n aria-describedby={reason() ? reasonId : undefined}\n disabled={props.disabled || !!reason()}\n onClick={() => {\n if (!props.disabled && !reason()) props.onFire()\n }}\n >\n <Show when={props.mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n </Button>\n <DropdownMenuTrigger\n as={Button}\n type=\"button\"\n size=\"icon-sm\"\n variant={variant()}\n aria-label=\"Send options\"\n disabled={props.selectionDisabled}\n >\n <ChevronDown />\n </DropdownMenuTrigger>\n </ButtonGroup>\n <DropdownMenuContent hideArrow tabKey=\"cycle\">\n <DropdownMenuRadioGroup\n value={props.mode}\n onChange={(value) => {\n if (\n (value === 'steer' || value === 'queue') &&\n !props.selectionDisabled &&\n !props.unavailable?.[value]\n )\n props.onModeChange(value)\n }}\n >\n <For each={modes}>\n {(mode) => (\n <DropdownMenuRadioItem\n value={mode}\n closeOnSelect\n disabled={props.selectionDisabled || !!props.unavailable?.[mode]}\n >\n <Show when={mode === 'steer'} fallback={<ArrowUpFromLine />}>\n <Target />\n </Show>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <span>{labels[mode]}</span>\n <span class=\"text-muted-foreground text-xs\">{descriptions[mode]}</span>\n <Show when={props.unavailable?.[mode]}>\n {(message) => <span class=\"text-muted-foreground text-xs\">{message()}</span>}\n </Show>\n </div>\n </DropdownMenuRadioItem>\n )}\n </For>\n </DropdownMenuRadioGroup>\n <Show when={props.alternateActionHint}>\n {(alternateActionHintSlot) => (\n <>\n <DropdownMenuSeparator />\n <p class=\"text-muted-foreground px-2 py-1 text-xs\">{alternateActionHintSlot()}</p>\n </>\n )}\n </Show>\n </DropdownMenuContent>\n </DropdownMenu>\n <Show when={reason()}>\n {(message) => (\n <p id={reasonId} class=\"text-muted-foreground text-xs\">\n {message()}\n </p>\n )}\n </Show>\n </div>\n )\n}\n"],"mappings":"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"}
@@ -1,6 +1,6 @@
1
+ import { applyRef, createComponent, mergeProps } from "@solidjs/web";
1
2
  import { PromptInputTextarea } from "../composites/prompt-input/prompt-input.js";
2
3
  import { ChatComposerShell } from "./internal/chat-composer-shell.js";
3
- import { applyRef, createComponent, mergeProps } from "@solidjs/web";
4
4
  // src/components/conversation/chat-composer.tsx
5
5
  /** Plain-text entry. `AtomicChatComposer` adds atomic paste tokens over the same shell. */
6
6
  function ChatComposer(props) {
@@ -1,5 +1,5 @@
1
- import { createComposerImeGuard } from "./ime-guard.js";
2
1
  import { createSignal, onCleanup } from "solid-js";
2
+ import { createComposerImeGuard } from "./ime-guard.js";
3
3
  // src/components/conversation/composer-core.ts
4
4
  /**
5
5
  * What every composer shares, whatever its field and key policy: one send at a
@@ -1,8 +1,8 @@
1
+ import { createComponent, insert, mergeProps, spread, template } from "@solidjs/web";
2
+ import { omit } from "solid-js";
1
3
  import { cn } from "../../lib/utils.js";
2
4
  import { overlaySurface } from "../../lib/overlay.js";
3
5
  import { Button } from "../ui/button/button.js";
4
- import { createComponent, insert, mergeProps, spread, template } from "@solidjs/web";
5
- import { omit } from "solid-js";
6
6
  // src/components/conversation/composer-menu.tsx
7
7
  var _tmpl$ = /* @__PURE__ */ template(`<div>`);
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"composer-menu.js","names":["role=\"group\"","<div\n role=\"group\"\n aria-label={local.label}\n data-slot=\"composer-menu\"\n class={cn(\n overlaySurface,\n 'flex max-h-56 min-w-60 flex-col gap-0.5 overflow-y-auto p-1',\n local.class\n )}\n {...rest}\n >\n {local.children}\n </div>","<Button\n variant=\"ghost\"\n class={cn('w-full justify-start gap-2 text-start font-normal', local.class)}\n {...rest}\n >\n {local.children}\n </Button>","variant=\"ghost\""],"sources":["../../../src/components/conversation/composer-menu.tsx"],"sourcesContent":["import type { ComponentProps } from '@solidjs/web'\nimport { omit } from 'solid-js'\nimport { cn } from '#lib/utils'\nimport { overlaySurface } from '#lib/overlay'\nimport { Button } from '../ui/button'\n\nexport type ComposerMenuProps = ComponentProps<'div'> & {\n /** A name for what the menu offers, e.g. \"Mention an Agent\". */\n label?: string\n}\n\n/**\n * ComposerMenu.\n *\n * The panel a composer raises above the field: mention suggestions while the\n * reader types a name, the picker of what can be attached, follow-up prompts.\n * It is deliberately *not* a `Menu`: there is no trigger and no focus trap,\n * the reader keeps typing while it is open, and it opens and closes on the\n * draft's own grammar rather than on a button press.\n *\n * Rows are `ComposerMenuItem`s; anything else a caller renders (a checkbox\n * list, a heading) sits inside the same panel. Placement stays with the host,\n * a suggestion menu renders in the composer's `menu` slot, a picker anchors to\n * its own control.\n */\nexport function ComposerMenu(props: ComposerMenuProps) {\n const local = props\n const rest = omit(props, 'class', 'label', 'children')\n\n return (\n <div\n role=\"group\"\n aria-label={local.label}\n data-slot=\"composer-menu\"\n class={cn(\n overlaySurface,\n 'flex max-h-56 min-w-60 flex-col gap-0.5 overflow-y-auto p-1',\n local.class\n )}\n {...rest}\n >\n {local.children}\n </div>\n )\n}\n\nexport type ComposerMenuItemProps = ComponentProps<typeof Button>\n\n/**\n * ComposerMenuItem.\n *\n * One row of a `ComposerMenu`. A ghost button stretched across the panel,\n * the same row every menu in the library draws, so a suggestion never reads as\n * a stray button floating over the draft.\n */\nexport function ComposerMenuItem(props: ComposerMenuItemProps) {\n const local = props\n const rest = omit(props, 'class', 'children')\n\n return (\n <Button\n variant=\"ghost\"\n class={cn('w-full justify-start gap-2 text-start font-normal', local.class)}\n {...rest}\n >\n {local.children}\n </Button>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAyBA,SAAgB,aAAa,OAA0B;CACrD,MAAM,QAAQ;CACd,MAAM,OAAO,KAAK,OAAO,SAAS,SAAS,UAAU;CAGnD,IAAA,OAAA,OAYK;CAHH,OAAA,MAAA,CAAA;EARAA,MAAAA;EACA,IAAA,eAAA;GAAY,OAAA,MAAM;EAAK;EACvB,aAAA;EACA,IAAA,UAAA;GAAO,OAAA,GACL,gBACA,+DACA,MAAM,KACR;EAAC;CACO,GAAJ,IAAA,GAAA,IAAA;CATN,OAAA,YAWE;EAAC,OAAA,MAAM;CAAQ,CACZ;CAbP,OACEC;AAcJ;;;;;;;;AAWA,SAAgB,iBAAiB,OAA8B;CAC7D,MAAM,QAAQ;CACd,MAAM,OAAO,KAAK,OAAO,SAAS,UAAU;CAE5C,OACEC,gBAAAA,QAAAA,WAAAA;EACEC,SAAQ;EACR,IAAA,UAAA;GAAO,OAAA,GAAG,qDAAqD,MAAM,KAAK;EAAC;CAIrE,GAHF,MAHN,EAAA,IAAA,WAAA;EAKG,OAAA,MAAM;CACD,EAAA,CAAA,CAAA;AAEZ"}
1
+ {"version":3,"file":"composer-menu.js","names":["role=\"group\"","<div\n role=\"group\"\n aria-label={local.label}\n data-slot=\"composer-menu\"\n class={cn(\n overlaySurface,\n 'flex max-h-56 min-w-60 flex-col gap-0.5 overflow-y-auto p-1',\n local.class\n )}\n {...rest}\n >\n {local.children}\n </div>","<Button\n variant=\"ghost\"\n class={cn('w-full justify-start gap-2 text-start font-normal', local.class)}\n {...rest}\n >\n {local.children}\n </Button>","variant=\"ghost\"","_$spread","_$insert"],"sources":["../../../src/components/conversation/composer-menu.tsx"],"sourcesContent":["import type { ComponentProps } from '@solidjs/web'\nimport { omit } from 'solid-js'\nimport { cn } from '#lib/utils'\nimport { overlaySurface } from '#lib/overlay'\nimport { Button } from '../ui/button'\n\nexport type ComposerMenuProps = ComponentProps<'div'> & {\n /** A name for what the menu offers, e.g. \"Mention an Agent\". */\n label?: string\n}\n\n/**\n * ComposerMenu.\n *\n * The panel a composer raises above the field: mention suggestions while the\n * reader types a name, the picker of what can be attached, follow-up prompts.\n * It is deliberately *not* a `Menu`: there is no trigger and no focus trap,\n * the reader keeps typing while it is open, and it opens and closes on the\n * draft's own grammar rather than on a button press.\n *\n * Rows are `ComposerMenuItem`s; anything else a caller renders (a checkbox\n * list, a heading) sits inside the same panel. Placement stays with the host,\n * a suggestion menu renders in the composer's `menu` slot, a picker anchors to\n * its own control.\n */\nexport function ComposerMenu(props: ComposerMenuProps) {\n const local = props\n const rest = omit(props, 'class', 'label', 'children')\n\n return (\n <div\n role=\"group\"\n aria-label={local.label}\n data-slot=\"composer-menu\"\n class={cn(\n overlaySurface,\n 'flex max-h-56 min-w-60 flex-col gap-0.5 overflow-y-auto p-1',\n local.class\n )}\n {...rest}\n >\n {local.children}\n </div>\n )\n}\n\nexport type ComposerMenuItemProps = ComponentProps<typeof Button>\n\n/**\n * ComposerMenuItem.\n *\n * One row of a `ComposerMenu`. A ghost button stretched across the panel,\n * the same row every menu in the library draws, so a suggestion never reads as\n * a stray button floating over the draft.\n */\nexport function ComposerMenuItem(props: ComposerMenuItemProps) {\n const local = props\n const rest = omit(props, 'class', 'children')\n\n return (\n <Button\n variant=\"ghost\"\n class={cn('w-full justify-start gap-2 text-start font-normal', local.class)}\n {...rest}\n >\n {local.children}\n </Button>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAyBA,SAAgB,aAAa,OAA0B;CACrD,MAAM,QAAQ;CACd,MAAM,OAAO,KAAK,OAAO,SAAS,SAAS,UAAU;CAGnD,IAAA,OAAA,OAYK;CAHHI,OAAA,MAAA,CAAA;EARAJ,MAAAA;EACA,IAAA,eAAA;GAAY,OAAA,MAAM;EAAK;EACvB,aAAA;EACA,IAAA,UAAA;GAAO,OAAA,GACL,gBACA,+DACA,MAAM,KACR;EAAC;CACO,GAAJ,IAAA,GAAA,IAAA;CATNK,OAAA,YAWE;EAAC,OAAA,MAAM;CAAQ,CACZ;CAbP,OACEJ;AAcJ;;;;;;;;AAWA,SAAgB,iBAAiB,OAA8B;CAC7D,MAAM,QAAQ;CACd,MAAM,OAAO,KAAK,OAAO,SAAS,UAAU;CAE5C,OACEC,gBAAAA,QAAAA,WAAAA;EACEC,SAAQ;EACR,IAAA,UAAA;GAAO,OAAA,GAAG,qDAAqD,MAAM,KAAK;EAAC;CAIrE,GAHF,MAHN,EAAA,IAAA,WAAA;EAKG,OAAA,MAAM;CACD,EAAA,CAAA,CAAA;AAEZ"}
@@ -1,17 +1,17 @@
1
- import { cn } from "../../lib/utils.js";
2
- import { fastIcon } from "../../lib/fast-icon.js";
3
1
  import { Dynamic, createComponent, insert, memo, spread, template } from "@solidjs/web";
4
- import { Bot, Sparkles, User } from "@lucide/solid";
5
2
  import { Show, omit } from "solid-js";
3
+ import { Bot as Bot$1, Sparkles as Sparkles$1, User } from "@lucide/solid";
4
+ import { cn } from "../../lib/utils.js";
5
+ import { fastIcon } from "../../lib/fast-icon.js";
6
6
  // src/components/conversation/conversation-avatar.tsx
7
7
  var _tmpl$ = /* @__PURE__ */ template(`<span>`);
8
8
  var _tmpl$2 = /* @__PURE__ */ template(`<span class="grid size-4 place-items-center [&amp;_svg]:size-4">`);
9
- var Bot$1 = fastIcon(Bot);
10
- var Sparkles$1 = fastIcon(Sparkles);
9
+ var Bot = fastIcon(Bot$1);
10
+ var Sparkles = fastIcon(Sparkles$1);
11
11
  var GLYPHS = {
12
12
  user: fastIcon(User),
13
- agent: Bot$1,
14
- system: Sparkles$1
13
+ agent: Bot,
14
+ system: Sparkles
15
15
  };
16
16
  function ConversationAvatar(props) {
17
17
  const local = props;
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-avatar.js","names":["<Show\n when={local.children}\n fallback={\n <span class=\"grid size-4 place-items-center [&_svg]:size-4\">\n <Dynamic component={GLYPHS[local.kind]} />\n </span>\n }\n >\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>","<Dynamic component={GLYPHS[local.kind]} />","<span class=\"grid size-4 place-items-center [&_svg]:size-4\">\n <Dynamic component={GLYPHS[local.kind]} />\n </span>","{childrenSlot()}","<span\n data-slot=\"conversation-avatar\"\n aria-hidden=\"true\"\n class={cn(\n 'grid shrink-0 place-items-center rounded-full border border-border',\n local.size === 'lg' ? 'size-8' : 'size-7',\n {\n 'bg-primary-subtle text-primary': local.kind === 'user',\n 'bg-card text-foreground': local.kind === 'agent',\n 'bg-muted text-muted-foreground': local.kind === 'system',\n },\n local.class\n )}\n {...rest}\n >\n <Show\n when={local.children}\n fallback={\n <span class=\"grid size-4 place-items-center [&_svg]:size-4\">\n <Dynamic component={GLYPHS[local.kind]} />\n </span>\n }\n >\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </span>","Bot","LucideBot","Sparkles","LucideSparkles","LucideUser"],"sources":["../../../src/components/conversation/conversation-avatar.tsx"],"sourcesContent":["import type { ComponentProps } from '@solidjs/web'\nimport { Show, omit } from 'solid-js'\nimport { Dynamic } from '@solidjs/web'\nimport { Bot as LucideBot, Sparkles as LucideSparkles, User as LucideUser } from '@lucide/solid'\nimport { cn } from '#lib/utils'\nimport { fastIcon } from '#lib/fast-icon'\n\n// lucide icons drawn from a cloned template (see fastIcon).\nconst Bot = fastIcon(LucideBot)\nconst Sparkles = fastIcon(LucideSparkles)\nconst User = fastIcon(LucideUser)\n\n/**\n * ConversationAvatar.\n *\n * The speaker's mark in a transcript. Three kinds, and the distinction matters\n * visually: a person, an agent, and the system itself are different *voices*, and a\n * transcript where all three look alike is one the reader has to decode line by\n * line.\n *\n * The avatar is decorative — the speaker's name is in the message's accessible name\n * — so it is `aria-hidden` and carries no text of its own. A caller with a real\n * image passes it as children.\n */\nexport type ConversationAvatarKind = 'user' | 'agent' | 'system'\n\nexport type ConversationAvatarProps = ComponentProps<'span'> & {\n kind: ConversationAvatarKind\n /** Draw the mark larger, for the sender's own messages. */\n size?: 'md' | 'lg'\n}\n\nconst GLYPHS = { user: User, agent: Bot, system: Sparkles } as const\n\nexport function ConversationAvatar(props: ConversationAvatarProps) {\n const local = props\n const rest = omit(props, 'class', 'kind', 'size', 'children')\n\n return (\n <span\n data-slot=\"conversation-avatar\"\n aria-hidden=\"true\"\n class={cn(\n 'grid shrink-0 place-items-center rounded-full border border-border',\n local.size === 'lg' ? 'size-8' : 'size-7',\n {\n 'bg-primary-subtle text-primary': local.kind === 'user',\n 'bg-card text-foreground': local.kind === 'agent',\n 'bg-muted text-muted-foreground': local.kind === 'system',\n },\n local.class\n )}\n {...rest}\n >\n <Show\n when={local.children}\n fallback={\n <span class=\"grid size-4 place-items-center [&_svg]:size-4\">\n <Dynamic component={GLYPHS[local.kind]} />\n </span>\n }\n >\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </span>\n )\n}\n"],"mappings":";;;;;;;;AAQA,IAAMK,QAAM,SAASC,GAAS;AAC9B,IAAMC,aAAW,SAASC,QAAc;AAuBxC,IAAM,SAAS;CAAE,MAtBJ,SAASC,IAsBC;CAAM,OAAOJ;CAAK,QAAQE;AAAS;AAE1D,SAAgB,mBAAmB,OAAgC;CACjE,MAAM,QAAQ;CACd,MAAM,OAAO,KAAK,OAAO,SAAS,QAAQ,QAAQ,UAAU;CAG1D,IAAA,OAAA,OAyBM;CAZJ,OAAA,MAAA,CAAA;EAZA,aAAA;EACA,eAAA;EACA,IAAA,UAAA;GAAO,OAAA,GACL,sEACA,MAAM,SAAS,OAAO,WAAW,UACjC;IACE,kCAAkC,MAAM,SAAS;IACjD,2BAA2B,MAAM,SAAS;IAC1C,kCAAkC,MAAM,SAAS;GACnD,GACA,MAAM,KACR;EAAC;CACO,GAAJ,IAAA,GAAA,IAAA;CAbN,OAAA,MAeEP,gBAAAA,MAAAA;EACE,IAAA,OAAA;GAAM,OAAA,MAAM;EAAQ;EACpB,IAAA,WAAA;GACE,IAAA,QAAA,QAEM;GAFN,OAAA,OACEC,gBAAAA,SAAAA,EAAS,IAAA,YAAA;IAAW,OAAA,OAAO,MAAM;GAAK,EAAG,CAAA,CACrC;GAHR,OACEC;EAGF;EANFF,WAQI,iBAAmBG,KAAC,YAAc;CAChC,CAAA,CACF;CA1BR,OACEC;AA2BJ"}
1
+ {"version":3,"file":"conversation-avatar.js","names":["<Show\n when={local.children}\n fallback={\n <span class=\"grid size-4 place-items-center [&_svg]:size-4\">\n <Dynamic component={GLYPHS[local.kind]} />\n </span>\n }\n >\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>","<Dynamic component={GLYPHS[local.kind]} />","<span class=\"grid size-4 place-items-center [&_svg]:size-4\">\n <Dynamic component={GLYPHS[local.kind]} />\n </span>","{childrenSlot()}","<span\n data-slot=\"conversation-avatar\"\n aria-hidden=\"true\"\n class={cn(\n 'grid shrink-0 place-items-center rounded-full border border-border',\n local.size === 'lg' ? 'size-8' : 'size-7',\n {\n 'bg-primary-subtle text-primary': local.kind === 'user',\n 'bg-card text-foreground': local.kind === 'agent',\n 'bg-muted text-muted-foreground': local.kind === 'system',\n },\n local.class\n )}\n {...rest}\n >\n <Show\n when={local.children}\n fallback={\n <span class=\"grid size-4 place-items-center [&_svg]:size-4\">\n <Dynamic component={GLYPHS[local.kind]} />\n </span>\n }\n >\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </span>","LucideBot","LucideSparkles","LucideUser","_$spread","_$insert"],"sources":["../../../src/components/conversation/conversation-avatar.tsx"],"sourcesContent":["import type { ComponentProps } from '@solidjs/web'\nimport { Show, omit } from 'solid-js'\nimport { Dynamic } from '@solidjs/web'\nimport { Bot as LucideBot, Sparkles as LucideSparkles, User as LucideUser } from '@lucide/solid'\nimport { cn } from '#lib/utils'\nimport { fastIcon } from '#lib/fast-icon'\n\n// lucide icons drawn from a cloned template (see fastIcon).\nconst Bot = fastIcon(LucideBot)\nconst Sparkles = fastIcon(LucideSparkles)\nconst User = fastIcon(LucideUser)\n\n/**\n * ConversationAvatar.\n *\n * The speaker's mark in a transcript. Three kinds, and the distinction matters\n * visually: a person, an agent, and the system itself are different *voices*, and a\n * transcript where all three look alike is one the reader has to decode line by\n * line.\n *\n * The avatar is decorative — the speaker's name is in the message's accessible name\n * — so it is `aria-hidden` and carries no text of its own. A caller with a real\n * image passes it as children.\n */\nexport type ConversationAvatarKind = 'user' | 'agent' | 'system'\n\nexport type ConversationAvatarProps = ComponentProps<'span'> & {\n kind: ConversationAvatarKind\n /** Draw the mark larger, for the sender's own messages. */\n size?: 'md' | 'lg'\n}\n\nconst GLYPHS = { user: User, agent: Bot, system: Sparkles } as const\n\nexport function ConversationAvatar(props: ConversationAvatarProps) {\n const local = props\n const rest = omit(props, 'class', 'kind', 'size', 'children')\n\n return (\n <span\n data-slot=\"conversation-avatar\"\n aria-hidden=\"true\"\n class={cn(\n 'grid shrink-0 place-items-center rounded-full border border-border',\n local.size === 'lg' ? 'size-8' : 'size-7',\n {\n 'bg-primary-subtle text-primary': local.kind === 'user',\n 'bg-card text-foreground': local.kind === 'agent',\n 'bg-muted text-muted-foreground': local.kind === 'system',\n },\n local.class\n )}\n {...rest}\n >\n <Show\n when={local.children}\n fallback={\n <span class=\"grid size-4 place-items-center [&_svg]:size-4\">\n <Dynamic component={GLYPHS[local.kind]} />\n </span>\n }\n >\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </span>\n )\n}\n"],"mappings":";;;;;;;;AAQA,IAAM,MAAM,SAASK,KAAS;AAC9B,IAAM,WAAW,SAASC,UAAc;AAuBxC,IAAM,SAAS;CAAE,MAtBJ,SAASC,IAsBC;CAAM,OAAO;CAAK,QAAQ;AAAS;AAE1D,SAAgB,mBAAmB,OAAgC;CACjE,MAAM,QAAQ;CACd,MAAM,OAAO,KAAK,OAAO,SAAS,QAAQ,QAAQ,UAAU;CAG1D,IAAA,OAAA,OAyBM;CAZJC,OAAA,MAAA,CAAA;EAZA,aAAA;EACA,eAAA;EACA,IAAA,UAAA;GAAO,OAAA,GACL,sEACA,MAAM,SAAS,OAAO,WAAW,UACjC;IACE,kCAAkC,MAAM,SAAS;IACjD,2BAA2B,MAAM,SAAS;IAC1C,kCAAkC,MAAM,SAAS;GACnD,GACA,MAAM,KACR;EAAC;CACO,GAAJ,IAAA,GAAA,IAAA;CAbNC,OAAA,MAeET,gBAAAA,MAAAA;EACE,IAAA,OAAA;GAAM,OAAA,MAAM;EAAQ;EACpB,IAAA,WAAA;GACE,IAAA,QAAA,QAEM;GAFNS,OAAA,OACER,gBAAAA,SAAAA,EAAS,IAAA,YAAA;IAAW,OAAA,OAAO,MAAM;GAAK,EAAG,CAAA,CACrC;GAHR,OACEC;EAGF;EANFF,WAQI,iBAAmBG,KAAC,YAAc;CAChC,CAAA,CACF;CA1BR,OACEC;AA2BJ"}
@@ -1,6 +1,6 @@
1
- import { cn } from "../../lib/utils.js";
2
1
  import { className, createComponent, effect, insert, readShallow, spread, template } from "@solidjs/web";
3
2
  import { Show, children, omit } from "solid-js";
3
+ import { cn } from "../../lib/utils.js";
4
4
  // src/components/conversation/conversation-pane.tsx
5
5
  var _tmpl$ = /* @__PURE__ */ template(`<section><div></div><!><!>`);
6
6
  var _tmpl$2 = /* @__PURE__ */ template(`<div>`);
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-pane.js","names":["<Show when={local.header}>\n {(header) => (\n <div class={cn('col-start-1 row-start-1 min-w-0', threadOpen() && 'max-md:invisible')}>\n {header()}\n </div>\n )}\n </Show>","<section\n data-slot=\"conversation-pane\"\n data-conversation-thread-open={threadOpen() || undefined}\n class={cn(\n 'relative grid h-full min-h-0 grid-rows-[auto_minmax(0,1fr)_auto]',\n threadOpen()\n ? 'grid-cols-1 md:grid-cols-[minmax(20rem,1fr)_minmax(18rem,22rem)] lg:grid-cols-[minmax(24rem,1fr)_minmax(20rem,26rem)]'\n : 'grid-cols-1',\n local.class\n )}\n {...rest}\n >\n <Show when={local.header}>\n {(header) => (\n <div class={cn('col-start-1 row-start-1 min-w-0', threadOpen() && 'max-md:invisible')}>\n {header()}\n </div>\n )}\n </Show>\n\n <div\n class={cn(\n 'col-start-1 row-start-2 flex min-h-0 min-w-0 flex-col',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {local.children}\n </div>\n\n <Show when={local.composer}>\n {(composer) => (\n <div\n class={cn(\n 'col-start-1 row-start-3 min-w-0',\n local.gutter && 'mx-[clamp(0.8rem,3vw,2.5rem)] mb-[1.15rem] max-[30rem]:mx-2',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {composer()}\n </div>\n )}\n </Show>\n\n <Show when={thread()}>\n {(threadSlot) => (\n <div\n class={cn(\n 'min-h-0 min-w-0',\n threadOpen() &&\n 'max-md:absolute max-md:inset-0 max-md:z-(--z-docked) max-md:*:border-s-0 md:col-start-2 md:row-span-3 md:row-start-1'\n )}\n >\n {threadSlot()}\n </div>\n )}\n </Show>\n </section>","<Show when={local.composer}>\n {(composer) => (\n <div\n class={cn(\n 'col-start-1 row-start-3 min-w-0',\n local.gutter && 'mx-[clamp(0.8rem,3vw,2.5rem)] mb-[1.15rem] max-[30rem]:mx-2',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {composer()}\n </div>\n )}\n </Show>","<Show when={thread()}>\n {(threadSlot) => (\n <div\n class={cn(\n 'min-h-0 min-w-0',\n threadOpen() &&\n 'max-md:absolute max-md:inset-0 max-md:z-(--z-docked) max-md:*:border-s-0 md:col-start-2 md:row-span-3 md:row-start-1'\n )}\n >\n {threadSlot()}\n </div>\n )}\n </Show>","resolveChildren","_$readShallow"],"sources":["../../../src/components/conversation/conversation-pane.tsx"],"sourcesContent":["import type { ComponentProps, JSX } from '@solidjs/web'\nimport { children as resolveChildren, Show, omit } from 'solid-js'\nimport { cn } from '#lib/utils'\n\nexport type ConversationPaneProps = ComponentProps<'section'> & {\n /** Above the transcript: the conversation's identity and its actions. */\n header?: JSX.Element\n /** The transcript — typically a `ConversationSurface` with `gutter`. */\n children: JSX.Element\n composer?: JSX.Element\n /**\n * The thread side panel. Its presence opens the second column; at narrow\n * widths the panel overlays the conversation instead of squeezing it, and\n * the conversation chrome steps aside — out of the accessibility tree with\n * it, which is why the overlay hides with `visibility` rather than paint.\n */\n thread?: JSX.Element\n /**\n * Apply the shared page gutters to the composer, tracking the transcript's\n * own gutter (`ConversationSurface`'s `gutter`) so the two read as one pane.\n */\n gutter?: boolean\n}\n\n/**\n * ConversationPane.\n *\n * The frame a conversation lives in: a header above, the transcript, a composer\n * below, and — while a thread is open — the thread panel beside all of it.\n *\n * The layout earns its place in the library because the thread is where\n * applications get it wrong. Two impulses both fail: shrinking the transcript\n * to make room turns a busy thread into a one-word-per-line stripe, and\n * *hiding* the transcript with `display: none` unmounts it, losing scroll\n * position and DOM. So the desktop layout gives the thread a fixed column and\n * leaves the transcript fluid; below the collapse width the panel overlays the\n * conversation in full and the conversation steps aside invisibly — still\n * mounted, still in the DOM, gone from the accessibility tree.\n *\n * Reach for `Chat` (composites) instead when the conversation needs a notices row\n * between the header and the thread and has no thread panel; this frame is the\n * one with the side thread.\n */\nexport function ConversationPane(props: ConversationPaneProps) {\n const local = props\n const rest = omit(props, 'class', 'header', 'composer', 'thread', 'gutter', 'children')\n // A JSX prop is a getter that builds its subtree on every read; resolve the\n // thread once so the open check and the column share one panel instance.\n const thread = resolveChildren(() => local.thread)\n const threadOpen = () => thread() != null\n\n return (\n <section\n data-slot=\"conversation-pane\"\n data-conversation-thread-open={threadOpen() || undefined}\n class={cn(\n 'relative grid h-full min-h-0 grid-rows-[auto_minmax(0,1fr)_auto]',\n threadOpen()\n ? 'grid-cols-1 md:grid-cols-[minmax(20rem,1fr)_minmax(18rem,22rem)] lg:grid-cols-[minmax(24rem,1fr)_minmax(20rem,26rem)]'\n : 'grid-cols-1',\n local.class\n )}\n {...rest}\n >\n <Show when={local.header}>\n {(header) => (\n <div class={cn('col-start-1 row-start-1 min-w-0', threadOpen() && 'max-md:invisible')}>\n {header()}\n </div>\n )}\n </Show>\n\n <div\n class={cn(\n 'col-start-1 row-start-2 flex min-h-0 min-w-0 flex-col',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {local.children}\n </div>\n\n <Show when={local.composer}>\n {(composer) => (\n <div\n class={cn(\n 'col-start-1 row-start-3 min-w-0',\n local.gutter && 'mx-[clamp(0.8rem,3vw,2.5rem)] mb-[1.15rem] max-[30rem]:mx-2',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {composer()}\n </div>\n )}\n </Show>\n\n <Show when={thread()}>\n {(threadSlot) => (\n <div\n class={cn(\n 'min-h-0 min-w-0',\n threadOpen() &&\n 'max-md:absolute max-md:inset-0 max-md:z-(--z-docked) max-md:*:border-s-0 md:col-start-2 md:row-span-3 md:row-start-1'\n )}\n >\n {threadSlot()}\n </div>\n )}\n </Show>\n </section>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,SAAgB,iBAAiB,OAA8B;CAC7D,MAAM,QAAQ;CACd,MAAM,OAAO,KAAK,OAAO,SAAS,UAAU,YAAY,UAAU,UAAU,UAAU;CAGtF,MAAM,SAASI,eAAsB,MAAM,MAAM;CACjD,MAAM,mBAAmB,OAAO,KAAK;CAGnC,IAAA,OAAA,OAwDS;CApCP,IAAA,QAAA,KAAA;CApBF,IAAA,QAAA,MAAA;;CAUE,OAAA,MAAA,CAAA;EATA,aAAA;EACA,IAAA,kCAAA;GAA+B,OAAA,WAAW,KAAK,KAAA;EAAS;EACxD,IAAA,UAAA;GAAO,OAAA,GACL,oEACA,WAAW,IACP,0HACA,eACJ,MAAM,KACR;EAAC;CACO,GAAJ,IAAA,GAAA,IAAA;CAVN,OAAA,MAYEJ,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,MAAM;EAAM;EAAxBA,WACI,kBACA;GAEK,IAAA,QAAA,QAAA;GAFL,OAAA,OACG,MACE;GAFA,aAAAK,YAAO,GAAG,mCAAmC,WAAW,KAAK,kBAAkB,CAAC,IAAhF,KAAA,QAAA;IAAgF,UAAA,OAAA,KAAA,GAAA;;GAArF,OAAA;EAEK,EAAA,CAAA;CAEH,CAAA,GAlBRJ,KAwDS;CApCP,OAAA,aAME;EAAC,OAAA,MAAM;CAAQ,CACZ;CA3BP,OAAA,MA6BEC,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,MAAM;EAAQ;EAA1BA,WACI,oBACA;GAQK,IAAA,QAAA,QAAA;GARL,OAAA,OAOG,QACE;GAPH,aAAAG,YAAO,GACL,mCACA,MAAM,UAAU,+DAChB,WAAW,KAAK,kBAClB,CAAC,IAJD,KAAA,QAAA;IAIC,UAAA,OAAA,KAAA,GAAA;;GALH,OAAA;EAQK,EAAA,CAAA;CAEH,CAAA,GAzCRJ,KAwDS;CAxDT,OAAA,MA2CEE,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,OAAO;EAAC;EAApBA,WACI,sBACA;GAQK,IAAA,QAAA,QAAA;GARL,OAAA,OAOG,UACE;GAPH,aAAAE,YAAO,GACL,mBACA,WAAW,KACT,sHACJ,CAAC,IAJD,KAAA,QAAA;IAIC,UAAA,OAAA,KAAA,GAAA;;GALH,OAAA;EAQK,EAAA,CAAA;CAEH,CAAA,GAvDRJ,KAwDS;CAnCL,aAAAI,YAAO,GACL,yDACA,WAAW,KAAK,kBAClB,CAAC,IAHD,KAAA,QAAA;EAGC,UAAA,OAAA,KAAA,GAAA;;CAzBP,OACEJ;AA0DJ"}
1
+ {"version":3,"file":"conversation-pane.js","names":["<Show when={local.header}>\n {(header) => (\n <div class={cn('col-start-1 row-start-1 min-w-0', threadOpen() && 'max-md:invisible')}>\n {header()}\n </div>\n )}\n </Show>","<section\n data-slot=\"conversation-pane\"\n data-conversation-thread-open={threadOpen() || undefined}\n class={cn(\n 'relative grid h-full min-h-0 grid-rows-[auto_minmax(0,1fr)_auto]',\n threadOpen()\n ? 'grid-cols-1 md:grid-cols-[minmax(20rem,1fr)_minmax(18rem,22rem)] lg:grid-cols-[minmax(24rem,1fr)_minmax(20rem,26rem)]'\n : 'grid-cols-1',\n local.class\n )}\n {...rest}\n >\n <Show when={local.header}>\n {(header) => (\n <div class={cn('col-start-1 row-start-1 min-w-0', threadOpen() && 'max-md:invisible')}>\n {header()}\n </div>\n )}\n </Show>\n\n <div\n class={cn(\n 'col-start-1 row-start-2 flex min-h-0 min-w-0 flex-col',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {local.children}\n </div>\n\n <Show when={local.composer}>\n {(composer) => (\n <div\n class={cn(\n 'col-start-1 row-start-3 min-w-0',\n local.gutter && 'mx-[clamp(0.8rem,3vw,2.5rem)] mb-[1.15rem] max-[30rem]:mx-2',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {composer()}\n </div>\n )}\n </Show>\n\n <Show when={thread()}>\n {(threadSlot) => (\n <div\n class={cn(\n 'min-h-0 min-w-0',\n threadOpen() &&\n 'max-md:absolute max-md:inset-0 max-md:z-(--z-docked) max-md:*:border-s-0 md:col-start-2 md:row-span-3 md:row-start-1'\n )}\n >\n {threadSlot()}\n </div>\n )}\n </Show>\n </section>","<Show when={local.composer}>\n {(composer) => (\n <div\n class={cn(\n 'col-start-1 row-start-3 min-w-0',\n local.gutter && 'mx-[clamp(0.8rem,3vw,2.5rem)] mb-[1.15rem] max-[30rem]:mx-2',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {composer()}\n </div>\n )}\n </Show>","<Show when={thread()}>\n {(threadSlot) => (\n <div\n class={cn(\n 'min-h-0 min-w-0',\n threadOpen() &&\n 'max-md:absolute max-md:inset-0 max-md:z-(--z-docked) max-md:*:border-s-0 md:col-start-2 md:row-span-3 md:row-start-1'\n )}\n >\n {threadSlot()}\n </div>\n )}\n </Show>","resolveChildren","_$spread","_$insert","_$effect","_$readShallow","_$className"],"sources":["../../../src/components/conversation/conversation-pane.tsx"],"sourcesContent":["import type { ComponentProps, JSX } from '@solidjs/web'\nimport { children as resolveChildren, Show, omit } from 'solid-js'\nimport { cn } from '#lib/utils'\n\nexport type ConversationPaneProps = ComponentProps<'section'> & {\n /** Above the transcript: the conversation's identity and its actions. */\n header?: JSX.Element\n /** The transcript — typically a `ConversationSurface` with `gutter`. */\n children: JSX.Element\n composer?: JSX.Element\n /**\n * The thread side panel. Its presence opens the second column; at narrow\n * widths the panel overlays the conversation instead of squeezing it, and\n * the conversation chrome steps aside — out of the accessibility tree with\n * it, which is why the overlay hides with `visibility` rather than paint.\n */\n thread?: JSX.Element\n /**\n * Apply the shared page gutters to the composer, tracking the transcript's\n * own gutter (`ConversationSurface`'s `gutter`) so the two read as one pane.\n */\n gutter?: boolean\n}\n\n/**\n * ConversationPane.\n *\n * The frame a conversation lives in: a header above, the transcript, a composer\n * below, and — while a thread is open — the thread panel beside all of it.\n *\n * The layout earns its place in the library because the thread is where\n * applications get it wrong. Two impulses both fail: shrinking the transcript\n * to make room turns a busy thread into a one-word-per-line stripe, and\n * *hiding* the transcript with `display: none` unmounts it, losing scroll\n * position and DOM. So the desktop layout gives the thread a fixed column and\n * leaves the transcript fluid; below the collapse width the panel overlays the\n * conversation in full and the conversation steps aside invisibly — still\n * mounted, still in the DOM, gone from the accessibility tree.\n *\n * Reach for `Chat` (composites) instead when the conversation needs a notices row\n * between the header and the thread and has no thread panel; this frame is the\n * one with the side thread.\n */\nexport function ConversationPane(props: ConversationPaneProps) {\n const local = props\n const rest = omit(props, 'class', 'header', 'composer', 'thread', 'gutter', 'children')\n // A JSX prop is a getter that builds its subtree on every read; resolve the\n // thread once so the open check and the column share one panel instance.\n const thread = resolveChildren(() => local.thread)\n const threadOpen = () => thread() != null\n\n return (\n <section\n data-slot=\"conversation-pane\"\n data-conversation-thread-open={threadOpen() || undefined}\n class={cn(\n 'relative grid h-full min-h-0 grid-rows-[auto_minmax(0,1fr)_auto]',\n threadOpen()\n ? 'grid-cols-1 md:grid-cols-[minmax(20rem,1fr)_minmax(18rem,22rem)] lg:grid-cols-[minmax(24rem,1fr)_minmax(20rem,26rem)]'\n : 'grid-cols-1',\n local.class\n )}\n {...rest}\n >\n <Show when={local.header}>\n {(header) => (\n <div class={cn('col-start-1 row-start-1 min-w-0', threadOpen() && 'max-md:invisible')}>\n {header()}\n </div>\n )}\n </Show>\n\n <div\n class={cn(\n 'col-start-1 row-start-2 flex min-h-0 min-w-0 flex-col',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {local.children}\n </div>\n\n <Show when={local.composer}>\n {(composer) => (\n <div\n class={cn(\n 'col-start-1 row-start-3 min-w-0',\n local.gutter && 'mx-[clamp(0.8rem,3vw,2.5rem)] mb-[1.15rem] max-[30rem]:mx-2',\n threadOpen() && 'max-md:invisible'\n )}\n >\n {composer()}\n </div>\n )}\n </Show>\n\n <Show when={thread()}>\n {(threadSlot) => (\n <div\n class={cn(\n 'min-h-0 min-w-0',\n threadOpen() &&\n 'max-md:absolute max-md:inset-0 max-md:z-(--z-docked) max-md:*:border-s-0 md:col-start-2 md:row-span-3 md:row-start-1'\n )}\n >\n {threadSlot()}\n </div>\n )}\n </Show>\n </section>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,SAAgB,iBAAiB,OAA8B;CAC7D,MAAM,QAAQ;CACd,MAAM,OAAO,KAAK,OAAO,SAAS,UAAU,YAAY,UAAU,UAAU,UAAU;CAGtF,MAAM,SAASI,eAAsB,MAAM,MAAM;CACjD,MAAM,mBAAmB,OAAO,KAAK;CAGnC,IAAA,OAAA,OAwDS;CApCP,IAAA,QAAA,KAAA;CApBF,IAAA,QAAA,MAAA;;CAUEC,OAAA,MAAA,CAAA;EATA,aAAA;EACA,IAAA,kCAAA;GAA+B,OAAA,WAAW,KAAK,KAAA;EAAS;EACxD,IAAA,UAAA;GAAO,OAAA,GACL,oEACA,WAAW,IACP,0HACA,eACJ,MAAM,KACR;EAAC;CACO,GAAJ,IAAA,GAAA,IAAA;CAVNC,OAAA,MAYEN,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,MAAM;EAAM;EAAxBA,WACI,kBACA;GAEK,IAAA,QAAA,QAAA;GAFLM,OAAA,OACG,MACE;GAFAC,aAAAC,YAAO,GAAG,mCAAmC,WAAW,KAAK,kBAAkB,CAAC,IAAhF,KAAA,QAAA;IAAgFC,UAAA,OAAA,KAAA,GAAA;;GAArF,OAAA;EAEK,EAAA,CAAA;CAEH,CAAA,GAlBRR,KAwDS;CApCPK,OAAA,aAME;EAAC,OAAA,MAAM;CAAQ,CACZ;CA3BPA,OAAA,MA6BEJ,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,MAAM;EAAQ;EAA1BA,WACI,oBACA;GAQK,IAAA,QAAA,QAAA;GARLI,OAAA,OAOG,QACE;GAPHC,aAAAC,YAAO,GACL,mCACA,MAAM,UAAU,+DAChB,WAAW,KAAK,kBAClB,CAAC,IAJD,KAAA,QAAA;IAICC,UAAA,OAAA,KAAA,GAAA;;GALH,OAAA;EAQK,EAAA,CAAA;CAEH,CAAA,GAzCRR,KAwDS;CAxDTK,OAAA,MA2CEH,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,OAAO;EAAC;EAApBA,WACI,sBACA;GAQK,IAAA,QAAA,QAAA;GARLG,OAAA,OAOG,UACE;GAPHC,aAAAC,YAAO,GACL,mBACA,WAAW,KACT,sHACJ,CAAC,IAJD,KAAA,QAAA;IAICC,UAAA,OAAA,KAAA,GAAA;;GALH,OAAA;EAQK,EAAA,CAAA;CAEH,CAAA,GAvDRR,KAwDS;CAnCLM,aAAAC,YAAO,GACL,yDACA,WAAW,KAAK,kBAClB,CAAC,IAHD,KAAA,QAAA;EAGCC,UAAA,OAAA,KAAA,GAAA;;CAzBP,OACER;AA0DJ"}
@@ -1,17 +1,17 @@
1
+ import { className, createComponent, effect, insert, memo, readShallow, ref, spread, template } from "@solidjs/web";
2
+ import { ArrowDown as ArrowDown$1 } from "@lucide/solid";
3
+ import { Show, omit } from "solid-js";
1
4
  import { callHandler } from "../../lib/events.js";
2
5
  import { cn } from "../../lib/utils.js";
3
6
  import { Button } from "../ui/button/button.js";
4
7
  import { createScrollFollow } from "./scroll-follow.js";
5
8
  import { fastIcon } from "../../lib/fast-icon.js";
6
9
  import { forwardRef } from "../../lib/refs.js";
7
- import { className, createComponent, effect, insert, memo, readShallow, ref, spread, template } from "@solidjs/web";
8
- import { ArrowDown } from "@lucide/solid";
9
- import { Show, omit } from "solid-js";
10
10
  // src/components/conversation/conversation-surface.tsx
11
11
  var _tmpl$ = /* @__PURE__ */ template(`<div data-slot=conversation-surface><div><div data-slot=conversation-content><!><!>`);
12
12
  var _tmpl$2 = /* @__PURE__ */ template(`<div class=p-4>`);
13
13
  var _tmpl$3 = /* @__PURE__ */ template(`<div class="pointer-events-none absolute inset-x-0 bottom-3 flex justify-center">`);
14
- var ArrowDown$1 = fastIcon(ArrowDown);
14
+ var ArrowDown = fastIcon(ArrowDown$1);
15
15
  function ConversationSurface(props) {
16
16
  const local = props;
17
17
  const rest = omit(props, "class", "threshold", "follow", "resetKey", "initialReadingPosition", "onReadingPositionChange", "empty", "header", "gutter", "onFollowHold", "contentRef", "children", "onScroll", "ref", "tabindex");
@@ -88,7 +88,7 @@ function ConversationSurface(props) {
88
88
  return follow.jump;
89
89
  },
90
90
  get children() {
91
- return [createComponent(ArrowDown$1, {}), "Jump to latest"];
91
+ return [createComponent(ArrowDown, {}), "Jump to latest"];
92
92
  }
93
93
  }));
94
94
  return _el$7;
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-surface.js","names":["ref={(element) => {\n follow.bindScroller(element)\n forwardRef(() => local.ref, element)\n }}","ref={(element) => {\n follow.bindContent(element)\n if (typeof local.contentRef === 'function') local.contentRef(element)\n }}","<Show when={local.header}>{(headerSlot) => <>{headerSlot()}</>}</Show>","{headerSlot()}","<div\n ref={(element) => {\n follow.bindContent(element)\n if (typeof local.contentRef === 'function') local.contentRef(element)\n }}\n data-slot=\"conversation-content\"\n >\n <Show when={local.header}>{(headerSlot) => <>{headerSlot()}</>}</Show>\n <Show when={local.children} fallback={<div class=\"p-4\">{local.empty}</div>}>\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </div>","<Show when={local.children} fallback={<div class=\"p-4\">{local.empty}</div>}>\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>","<div class=\"p-4\">{local.empty}</div>","{childrenSlot()}","<Button\n type=\"button\"\n size=\"sm\"\n variant=\"secondary\"\n class=\"pointer-events-auto gap-1.5 shadow-md\"\n onClick={follow.jump}\n >\n <ArrowDown />\n Jump to latest\n </Button>","type=\"button\"","size=\"sm\"","variant=\"secondary\"","class=\"pointer-events-auto gap-1.5 shadow-md\"","<ArrowDown />","<div\n data-slot=\"conversation-surface\"\n class={cn('relative flex min-h-0 flex-1 flex-col', local.class)}\n >\n <div\n ref={(element) => {\n follow.bindScroller(element)\n forwardRef(() => local.ref, element)\n }}\n onScroll={onScroll}\n tabindex={local.tabindex ?? 0}\n class={cn(\n 'min-h-0 flex-1 overflow-y-auto overscroll-contain',\n local.gutter &&\n 'px-[clamp(0.8rem,3vw,2.5rem)] pt-[1.35rem] pb-[1.1rem] [scrollbar-gutter:stable] max-[30rem]:px-2'\n )}\n {...rest}\n >\n <div\n ref={(element) => {\n follow.bindContent(element)\n if (typeof local.contentRef === 'function') local.contentRef(element)\n }}\n data-slot=\"conversation-content\"\n >\n <Show when={local.header}>{(headerSlot) => <>{headerSlot()}</>}</Show>\n <Show when={local.children} fallback={<div class=\"p-4\">{local.empty}</div>}>\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </div>\n </div>\n\n <Show when={!follow.atBottom()}>\n <div class=\"pointer-events-none absolute inset-x-0 bottom-3 flex justify-center\">\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"secondary\"\n class=\"pointer-events-auto gap-1.5 shadow-md\"\n onClick={follow.jump}\n >\n <ArrowDown />\n Jump to latest\n </Button>\n </div>\n </Show>\n </div>","ArrowDown","LucideArrowDown","_$readShallow"],"sources":["../../../src/components/conversation/conversation-surface.tsx"],"sourcesContent":["import { ArrowDown as LucideArrowDown } from '@lucide/solid'\nimport type { Ref } from 'solid-js'\nimport type { ComponentProps, JSX } from '@solidjs/web'\nimport { Show, omit } from 'solid-js'\nimport { callHandler } from '#lib/events'\nimport { cn } from '#lib/utils'\nimport { Button } from '../ui/button'\nimport { createScrollFollow } from './scroll-follow'\nimport type { ConversationReadingPosition, ScrollFollowHold } from './scroll-follow'\nimport { DEFAULT_BOTTOM_THRESHOLD } from './scroll-follow-core'\nimport { fastIcon } from '#lib/fast-icon'\nimport { forwardRef } from '#lib/refs'\n\n// lucide icons drawn from a cloned template (see fastIcon).\nconst ArrowDown = fastIcon(LucideArrowDown)\n\nexport type { ConversationReadingPosition }\n\n/**\n * ConversationSurface.\n *\n * The scrolling transcript. Its job is small and it is the difference between a\n * transcript that stays readable as it grows and one that fights the reader:\n *\n * - **Stick to the bottom.** New messages scroll into view only when the reader is\n * already at the bottom. Someone reading back through history must not be yanked\n * to the end by an arriving message, and that is the single most common way a\n * chat surface is made unusable.\n * - **Offer a way back.** Once the reader is not at the bottom, a control appears\n * that returns them. Pixel distance cannot prove an unread message count.\n * - **`overscroll-contain`.** The transcript scrolls to its end and stops, rather\n * than dragging the pane behind it — which in a desktop shell means the whole\n * window moves.\n */\nexport type ConversationSurfaceProps = ComponentProps<'div'> & {\n /** How far from the bottom still counts as \"at the bottom\", in px. */\n threshold?: number\n /** Disable automatic positioning while the host owns scroll restoration. */\n follow?: boolean\n /** Optional conversation identity: changing it re-arms follow at the bottom. */\n resetKey?: string\n /** Host snapshot consumed on mount/identity reset, never on ordinary prop updates. */\n initialReadingPosition?: ConversationReadingPosition\n /** Actual follow intent and native offset; storage/identity remain host-owned. */\n onReadingPositionChange?: (position: ConversationReadingPosition) => void\n /** Rendered above the transcript when there is nothing in it. */\n empty?: JSX.Element\n /** A header that scrolls with the transcript, e.g. a day divider or a banner. */\n header?: JSX.Element\n /**\n * The shared page gutter: reading padding inside the scroller plus a stable\n * gutter, so the scrollbar never shifts the text when it appears. The page\n * frame around the surface is `ConversationPane`'s job.\n */\n gutter?: boolean\n /**\n * Receives the surface's `hold`, once, when it is created. A host that moves content\n * under a reader who is following (a history load that lands after the conversation\n * changed) opens a hold around it, so the move is not read as the reader scrolling away.\n */\n onFollowHold?: (hold: ScrollFollowHold) => void\n /**\n * The element that wraps the transcript's rows (header included). A host that\n * keeps the reader's place across an insert observes its size, because rows that\n * size themselves late move the reader without adding or removing a node.\n */\n contentRef?: Ref<HTMLDivElement>\n}\n\nexport function ConversationSurface(props: ConversationSurfaceProps) {\n const local = props\n const rest = omit(\n props,\n 'class',\n 'threshold',\n 'follow',\n 'resetKey',\n 'initialReadingPosition',\n 'onReadingPositionChange',\n 'empty',\n 'header',\n 'gutter',\n 'onFollowHold',\n 'contentRef',\n 'children',\n 'onScroll',\n 'ref',\n 'tabindex'\n )\n // The primitives provide the control's semantics; transcript follow is a native\n // geometry contract. KiroCrew's plain-scroller controller handles streaming,\n // content collapse and pane resizing without treating them as user consent.\n const follow = createScrollFollow({\n enabled: () => local.follow !== false,\n resetKey: () => local.resetKey,\n threshold: () => local.threshold ?? DEFAULT_BOTTOM_THRESHOLD,\n initialPosition: () => local.initialReadingPosition,\n onPositionChange: (position) => local.onReadingPositionChange?.(position),\n })\n local.onFollowHold?.(follow.hold)\n const onScroll: JSX.EventHandlerUnion<HTMLDivElement, Event> = (event) => {\n follow.onScroll()\n callHandler(local.onScroll, event)\n }\n\n return (\n <div\n data-slot=\"conversation-surface\"\n class={cn('relative flex min-h-0 flex-1 flex-col', local.class)}\n >\n <div\n ref={(element) => {\n follow.bindScroller(element)\n forwardRef(() => local.ref, element)\n }}\n onScroll={onScroll}\n tabindex={local.tabindex ?? 0}\n class={cn(\n 'min-h-0 flex-1 overflow-y-auto overscroll-contain',\n local.gutter &&\n 'px-[clamp(0.8rem,3vw,2.5rem)] pt-[1.35rem] pb-[1.1rem] [scrollbar-gutter:stable] max-[30rem]:px-2'\n )}\n {...rest}\n >\n <div\n ref={(element) => {\n follow.bindContent(element)\n if (typeof local.contentRef === 'function') local.contentRef(element)\n }}\n data-slot=\"conversation-content\"\n >\n <Show when={local.header}>{(headerSlot) => <>{headerSlot()}</>}</Show>\n <Show when={local.children} fallback={<div class=\"p-4\">{local.empty}</div>}>\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </div>\n </div>\n\n <Show when={!follow.atBottom()}>\n <div class=\"pointer-events-none absolute inset-x-0 bottom-3 flex justify-center\">\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"secondary\"\n class=\"pointer-events-auto gap-1.5 shadow-md\"\n onClick={follow.jump}\n >\n <ArrowDown />\n Jump to latest\n </Button>\n </div>\n </Show>\n </div>\n )\n}\n"],"mappings":";;;;;;;;;;;;;AAcA,IAAMe,cAAY,SAASC,SAAe;AAuD1C,SAAgB,oBAAoB,OAAiC;CACnE,MAAM,QAAQ;CACd,MAAM,OAAO,KACX,OACA,SACA,aACA,UACA,YACA,0BACA,2BACA,SACA,UACA,UACA,gBACA,cACA,YACA,YACA,OACA,UACF;CAIA,MAAM,SAAS,mBAAmB;EAChC,eAAe,MAAM,WAAW;EAChC,gBAAgB,MAAM;EACtB,iBAAiB,MAAM,aAAA;EACvB,uBAAuB,MAAM;EAC7B,mBAAmB,aAAa,MAAM,0BAA0B,QAAQ;CAC1E,CAAC;CACD,MAAM,eAAe,OAAO,IAAI;CAChC,MAAM,YAA0D,UAAU;EACxE,OAAO,SAAS;EAChB,YAAY,MAAM,UAAU,KAAK;CACnC;CAGE,IAAA,OAAA,OA8CK;CA1CH,IAAA,QAAA,KAAA;CAcE,IAAA,QAAA,MAAA;;;CAFA,OAAA,OAAA,CAAA;EAPU;EACV,IAAA,WAAA;GAAU,OAAA,MAAM,YAAY;EAAC;EAC7B,IAAA,UAAA;GAAO,OAAA,GACL,qDACA,MAAM,UACJ,mGACJ;EAAC;CACO,GAAJ,IAAA,GAAA,IAAA;CAXJ,UAAA;EAAM,QAAA,YAAY;GAChB,OAAO,aAAa,OAAO;GAC3B,iBAAiB,MAAM,KAAK,OAAO;EACrC;CAAC,GAHDhB,KAGC;CAWC,UAAA;EAAM,QAAA,YAAY;GAChB,OAAO,YAAY,OAAO;GAC1B,IAAI,OAAO,MAAM,eAAe,YAAY,MAAM,WAAW,OAAO;EACtE;CAAC,GAHDC,KAGC;CAJH,OAAA,OAOEC,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,MAAM;EAAM;EAAxBA,WAA4B,eAAiBC,KAAC,UAAY;CAAW,CAAA,GAPvEC,KAWK;CAXL,OAAA,OAQEC,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,MAAM;EAAQ;EAAE,IAAA,WAAA;GAAU,IAAA,QAAA,QAAmC;GAAnC,OAAA,aAAiB;IAAC,OAAA,MAAM;GAAK,CAAM;GAA7C,OAAUC;EAAoC;EAA1ED,WACI,iBAAmBE,KAAC,YAAc;CAChC,CAAA,GAVRH,KAWK;CA7BT,OAAA,aAgCE;;GAAY,OAAA,CAAC,OAAO,SAAS;EAavB,CAAA;EAbN,aAAA;GAaM,OAAA,IAAA,WAZJ;IAWK,IAAA,QAAA,QAAA;IAXL,OAAA,OACEI,gBAAAA,QAAAA;KACEC,MAAK;KACLC,MAAK;KACLC,SAAQ;KACRC,OAAM;KACN,IAAA,UAAA;MAAS,OAAA,OAAO;KAAI;KALtB,IAAA,WAAA;MAMC,OAAA,CACCC,gBAAAA,aAAAA,CAAY,CAAA,GAAC,gBAAd;KAEO;IACL,CAAA,CAAA;IAXL,OAAA;GAWK,EAAA,CAAA,IAZP,KAAA;EAaM;CAAC,EAAA,CAAD,GA7CR,IA8CK;CA5CH,aAAAI,YAAO,GAAG,yCAAyC,MAAM,KAAK,CAAC,IAA/D,KAAA,QAAA;EAA+D,UAAA,MAAA,KAAA,GAAA;;CAHnE,OACEH;AAgDJ"}
1
+ {"version":3,"file":"conversation-surface.js","names":["ref={(element) => {\n follow.bindScroller(element)\n forwardRef(() => local.ref, element)\n }}","ref={(element) => {\n follow.bindContent(element)\n if (typeof local.contentRef === 'function') local.contentRef(element)\n }}","<Show when={local.header}>{(headerSlot) => <>{headerSlot()}</>}</Show>","{headerSlot()}","<div\n ref={(element) => {\n follow.bindContent(element)\n if (typeof local.contentRef === 'function') local.contentRef(element)\n }}\n data-slot=\"conversation-content\"\n >\n <Show when={local.header}>{(headerSlot) => <>{headerSlot()}</>}</Show>\n <Show when={local.children} fallback={<div class=\"p-4\">{local.empty}</div>}>\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </div>","<Show when={local.children} fallback={<div class=\"p-4\">{local.empty}</div>}>\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>","<div class=\"p-4\">{local.empty}</div>","{childrenSlot()}","<Button\n type=\"button\"\n size=\"sm\"\n variant=\"secondary\"\n class=\"pointer-events-auto gap-1.5 shadow-md\"\n onClick={follow.jump}\n >\n <ArrowDown />\n Jump to latest\n </Button>","type=\"button\"","size=\"sm\"","variant=\"secondary\"","class=\"pointer-events-auto gap-1.5 shadow-md\"","<ArrowDown />","<div\n data-slot=\"conversation-surface\"\n class={cn('relative flex min-h-0 flex-1 flex-col', local.class)}\n >\n <div\n ref={(element) => {\n follow.bindScroller(element)\n forwardRef(() => local.ref, element)\n }}\n onScroll={onScroll}\n tabindex={local.tabindex ?? 0}\n class={cn(\n 'min-h-0 flex-1 overflow-y-auto overscroll-contain',\n local.gutter &&\n 'px-[clamp(0.8rem,3vw,2.5rem)] pt-[1.35rem] pb-[1.1rem] [scrollbar-gutter:stable] max-[30rem]:px-2'\n )}\n {...rest}\n >\n <div\n ref={(element) => {\n follow.bindContent(element)\n if (typeof local.contentRef === 'function') local.contentRef(element)\n }}\n data-slot=\"conversation-content\"\n >\n <Show when={local.header}>{(headerSlot) => <>{headerSlot()}</>}</Show>\n <Show when={local.children} fallback={<div class=\"p-4\">{local.empty}</div>}>\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </div>\n </div>\n\n <Show when={!follow.atBottom()}>\n <div class=\"pointer-events-none absolute inset-x-0 bottom-3 flex justify-center\">\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"secondary\"\n class=\"pointer-events-auto gap-1.5 shadow-md\"\n onClick={follow.jump}\n >\n <ArrowDown />\n Jump to latest\n </Button>\n </div>\n </Show>\n </div>","LucideArrowDown","_$spread","_$ref","_$insert","_$effect","_$readShallow","_$className"],"sources":["../../../src/components/conversation/conversation-surface.tsx"],"sourcesContent":["import { ArrowDown as LucideArrowDown } from '@lucide/solid'\nimport type { Ref } from 'solid-js'\nimport type { ComponentProps, JSX } from '@solidjs/web'\nimport { Show, omit } from 'solid-js'\nimport { callHandler } from '#lib/events'\nimport { cn } from '#lib/utils'\nimport { Button } from '../ui/button'\nimport { createScrollFollow } from './scroll-follow'\nimport type { ConversationReadingPosition, ScrollFollowHold } from './scroll-follow'\nimport { DEFAULT_BOTTOM_THRESHOLD } from './scroll-follow-core'\nimport { fastIcon } from '#lib/fast-icon'\nimport { forwardRef } from '#lib/refs'\n\n// lucide icons drawn from a cloned template (see fastIcon).\nconst ArrowDown = fastIcon(LucideArrowDown)\n\nexport type { ConversationReadingPosition }\n\n/**\n * ConversationSurface.\n *\n * The scrolling transcript. Its job is small and it is the difference between a\n * transcript that stays readable as it grows and one that fights the reader:\n *\n * - **Stick to the bottom.** New messages scroll into view only when the reader is\n * already at the bottom. Someone reading back through history must not be yanked\n * to the end by an arriving message, and that is the single most common way a\n * chat surface is made unusable.\n * - **Offer a way back.** Once the reader is not at the bottom, a control appears\n * that returns them. Pixel distance cannot prove an unread message count.\n * - **`overscroll-contain`.** The transcript scrolls to its end and stops, rather\n * than dragging the pane behind it — which in a desktop shell means the whole\n * window moves.\n */\nexport type ConversationSurfaceProps = ComponentProps<'div'> & {\n /** How far from the bottom still counts as \"at the bottom\", in px. */\n threshold?: number\n /** Disable automatic positioning while the host owns scroll restoration. */\n follow?: boolean\n /** Optional conversation identity: changing it re-arms follow at the bottom. */\n resetKey?: string\n /** Host snapshot consumed on mount/identity reset, never on ordinary prop updates. */\n initialReadingPosition?: ConversationReadingPosition\n /** Actual follow intent and native offset; storage/identity remain host-owned. */\n onReadingPositionChange?: (position: ConversationReadingPosition) => void\n /** Rendered above the transcript when there is nothing in it. */\n empty?: JSX.Element\n /** A header that scrolls with the transcript, e.g. a day divider or a banner. */\n header?: JSX.Element\n /**\n * The shared page gutter: reading padding inside the scroller plus a stable\n * gutter, so the scrollbar never shifts the text when it appears. The page\n * frame around the surface is `ConversationPane`'s job.\n */\n gutter?: boolean\n /**\n * Receives the surface's `hold`, once, when it is created. A host that moves content\n * under a reader who is following (a history load that lands after the conversation\n * changed) opens a hold around it, so the move is not read as the reader scrolling away.\n */\n onFollowHold?: (hold: ScrollFollowHold) => void\n /**\n * The element that wraps the transcript's rows (header included). A host that\n * keeps the reader's place across an insert observes its size, because rows that\n * size themselves late move the reader without adding or removing a node.\n */\n contentRef?: Ref<HTMLDivElement>\n}\n\nexport function ConversationSurface(props: ConversationSurfaceProps) {\n const local = props\n const rest = omit(\n props,\n 'class',\n 'threshold',\n 'follow',\n 'resetKey',\n 'initialReadingPosition',\n 'onReadingPositionChange',\n 'empty',\n 'header',\n 'gutter',\n 'onFollowHold',\n 'contentRef',\n 'children',\n 'onScroll',\n 'ref',\n 'tabindex'\n )\n // The primitives provide the control's semantics; transcript follow is a native\n // geometry contract. KiroCrew's plain-scroller controller handles streaming,\n // content collapse and pane resizing without treating them as user consent.\n const follow = createScrollFollow({\n enabled: () => local.follow !== false,\n resetKey: () => local.resetKey,\n threshold: () => local.threshold ?? DEFAULT_BOTTOM_THRESHOLD,\n initialPosition: () => local.initialReadingPosition,\n onPositionChange: (position) => local.onReadingPositionChange?.(position),\n })\n local.onFollowHold?.(follow.hold)\n const onScroll: JSX.EventHandlerUnion<HTMLDivElement, Event> = (event) => {\n follow.onScroll()\n callHandler(local.onScroll, event)\n }\n\n return (\n <div\n data-slot=\"conversation-surface\"\n class={cn('relative flex min-h-0 flex-1 flex-col', local.class)}\n >\n <div\n ref={(element) => {\n follow.bindScroller(element)\n forwardRef(() => local.ref, element)\n }}\n onScroll={onScroll}\n tabindex={local.tabindex ?? 0}\n class={cn(\n 'min-h-0 flex-1 overflow-y-auto overscroll-contain',\n local.gutter &&\n 'px-[clamp(0.8rem,3vw,2.5rem)] pt-[1.35rem] pb-[1.1rem] [scrollbar-gutter:stable] max-[30rem]:px-2'\n )}\n {...rest}\n >\n <div\n ref={(element) => {\n follow.bindContent(element)\n if (typeof local.contentRef === 'function') local.contentRef(element)\n }}\n data-slot=\"conversation-content\"\n >\n <Show when={local.header}>{(headerSlot) => <>{headerSlot()}</>}</Show>\n <Show when={local.children} fallback={<div class=\"p-4\">{local.empty}</div>}>\n {(childrenSlot) => <>{childrenSlot()}</>}\n </Show>\n </div>\n </div>\n\n <Show when={!follow.atBottom()}>\n <div class=\"pointer-events-none absolute inset-x-0 bottom-3 flex justify-center\">\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"secondary\"\n class=\"pointer-events-auto gap-1.5 shadow-md\"\n onClick={follow.jump}\n >\n <ArrowDown />\n Jump to latest\n </Button>\n </div>\n </Show>\n </div>\n )\n}\n"],"mappings":";;;;;;;;;;;;;AAcA,IAAM,YAAY,SAASe,WAAe;AAuD1C,SAAgB,oBAAoB,OAAiC;CACnE,MAAM,QAAQ;CACd,MAAM,OAAO,KACX,OACA,SACA,aACA,UACA,YACA,0BACA,2BACA,SACA,UACA,UACA,gBACA,cACA,YACA,YACA,OACA,UACF;CAIA,MAAM,SAAS,mBAAmB;EAChC,eAAe,MAAM,WAAW;EAChC,gBAAgB,MAAM;EACtB,iBAAiB,MAAM,aAAA;EACvB,uBAAuB,MAAM;EAC7B,mBAAmB,aAAa,MAAM,0BAA0B,QAAQ;CAC1E,CAAC;CACD,MAAM,eAAe,OAAO,IAAI;CAChC,MAAM,YAA0D,UAAU;EACxE,OAAO,SAAS;EAChB,YAAY,MAAM,UAAU,KAAK;CACnC;CAGE,IAAA,OAAA,OA8CK;CA1CH,IAAA,QAAA,KAAA;CAcE,IAAA,QAAA,MAAA;;;CAFAC,OAAA,OAAA,CAAA;EAPU;EACV,IAAA,WAAA;GAAU,OAAA,MAAM,YAAY;EAAC;EAC7B,IAAA,UAAA;GAAO,OAAA,GACL,qDACA,MAAM,UACJ,mGACJ;EAAC;CACO,GAAJ,IAAA,GAAA,IAAA;CAXJC,UAAA;EAAM,QAAA,YAAY;GAChB,OAAO,aAAa,OAAO;GAC3B,iBAAiB,MAAM,KAAK,OAAO;EACrC;CAAC,GAHDjB,KAGC;CAWCiB,UAAA;EAAM,QAAA,YAAY;GAChB,OAAO,YAAY,OAAO;GAC1B,IAAI,OAAO,MAAM,eAAe,YAAY,MAAM,WAAW,OAAO;EACtE;CAAC,GAHDhB,KAGC;CAJHiB,OAAA,OAOEhB,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,MAAM;EAAM;EAAxBA,WAA4B,eAAiBC,KAAC,UAAY;CAAW,CAAA,GAPvEC,KAWK;CAXLc,OAAA,OAQEb,gBAAAA,MAAAA;EAAM,IAAA,OAAA;GAAM,OAAA,MAAM;EAAQ;EAAE,IAAA,WAAA;GAAU,IAAA,QAAA,QAAmC;GAAnCa,OAAA,aAAiB;IAAC,OAAA,MAAM;GAAK,CAAM;GAA7C,OAAUZ;EAAoC;EAA1ED,WACI,iBAAmBE,KAAC,YAAc;CAChC,CAAA,GAVRH,KAWK;CA7BTc,OAAA,aAgCE;;GAAY,OAAA,CAAC,OAAO,SAAS;EAavB,CAAA;EAbN,aAAA;GAaM,OAAA,IAAA,WAZJ;IAWK,IAAA,QAAA,QAAA;IAXLA,OAAA,OACEV,gBAAAA,QAAAA;KACEC,MAAK;KACLC,MAAK;KACLC,SAAQ;KACRC,OAAM;KACN,IAAA,UAAA;MAAS,OAAA,OAAO;KAAI;KALtB,IAAA,WAAA;MAMC,OAAA,CACCC,gBAAAA,WAAAA,CAAY,CAAA,GAAC,gBAAd;KAEO;IACL,CAAA,CAAA;IAXL,OAAA;GAWK,EAAA,CAAA,IAZP,KAAA;EAaM;CAAC,EAAA,CAAD,GA7CR,IA8CK;CA5CHM,aAAAC,YAAO,GAAG,yCAAyC,MAAM,KAAK,CAAC,IAA/D,KAAA,QAAA;EAA+DC,UAAA,MAAA,KAAA,GAAA;;CAHnE,OACEP;AAgDJ"}
@@ -1,12 +1,12 @@
1
+ import { createComponent, insert, memo, mergeProps, ref, template } from "@solidjs/web";
2
+ import { ChevronsDownUp as ChevronsDownUp$1, ChevronsUpDown as ChevronsUpDown$1, MoreHorizontal as MoreHorizontal$1 } from "@lucide/solid";
3
+ import { Show, createEffect, flush, onCleanup, onSettled } from "solid-js";
1
4
  import { Button } from "../../ui/button/button.js";
2
5
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../ui/dropdown-menu/dropdown-menu.js";
3
6
  import { PromptInput, PromptInputButton, PromptInputFooter, PromptInputHeader, PromptInputSubmit, PromptInputTools } from "../../composites/prompt-input/prompt-input.js";
4
7
  import { BusySendButton } from "../busy-send-button.js";
5
8
  import { createComposerCore } from "../composer-core.js";
6
9
  import { fastIcon } from "../../../lib/fast-icon.js";
7
- import { createComponent, insert, memo, mergeProps, ref, template } from "@solidjs/web";
8
- import { ChevronsDownUp, ChevronsUpDown, MoreHorizontal } from "@lucide/solid";
9
- import { Show, createEffect, flush, onCleanup, onSettled } from "solid-js";
10
10
  // src/components/conversation/internal/chat-composer-shell.tsx
11
11
  var _tmpl$ = /* @__PURE__ */ template(`<div data-slot=chat-composer class="mx-auto flex w-full max-w-4xl flex-col px-4 pb-1"><!><div aria-hidden=true class="h-1.5 shrink-0"></div><!><!><!><!><!>`);
12
12
  var _tmpl$2 = /* @__PURE__ */ template(`<div data-slot=composer-knowledge>`);
@@ -19,9 +19,9 @@ var _tmpl$8 = /* @__PURE__ */ template(`<p role=alert class="text-foreground mb-
19
19
  var _tmpl$9 = /* @__PURE__ */ template(`<span aria-hidden=true class=shrink-0>Show the message input`);
20
20
  var _tmpl$10 = /* @__PURE__ */ template(`<span aria-hidden=true class="min-w-0 flex-1 truncate">`);
21
21
  var _tmpl$11 = /* @__PURE__ */ template(`<div data-slot=composer-context class="flex min-w-0 items-center gap-2 pt-1">`);
22
- var ChevronsDownUp$1 = fastIcon(ChevronsDownUp);
23
- var ChevronsUpDown$1 = fastIcon(ChevronsUpDown);
24
- var MoreHorizontal$1 = fastIcon(MoreHorizontal);
22
+ var ChevronsDownUp = fastIcon(ChevronsDownUp$1);
23
+ var ChevronsUpDown = fastIcon(ChevronsUpDown$1);
24
+ var MoreHorizontal = fastIcon(MoreHorizontal$1);
25
25
  /**
26
26
  * Kiro's composer assembly: context/options, adjacent band, approval/notices,
27
27
  * staged content, input/action groups and a context shelf. Reading collapse
@@ -295,7 +295,7 @@ function ChatComposerShell(props) {
295
295
  "aria-label": "Message input options",
296
296
  tooltip: "Options",
297
297
  get children() {
298
- return createComponent(MoreHorizontal$1, {});
298
+ return createComponent(MoreHorizontal, {});
299
299
  }
300
300
  }), createComponent(DropdownMenuContent, {
301
301
  onCloseAutoFocus: (event) => {
@@ -312,7 +312,7 @@ function ChatComposerShell(props) {
312
312
  return createComponent(DropdownMenuItem, {
313
313
  onSelect: () => changeCollapsed(true),
314
314
  get children() {
315
- return [createComponent(ChevronsDownUp$1, {}), "Collapse the message input"];
315
+ return [createComponent(ChevronsDownUp, {}), "Collapse the message input"];
316
316
  }
317
317
  });
318
318
  }
@@ -389,7 +389,7 @@ function ChatComposerShell(props) {
389
389
  onClick: () => changeCollapsed(false),
390
390
  get children() {
391
391
  return [
392
- createComponent(ChevronsUpDown$1, {}),
392
+ createComponent(ChevronsUpDown, {}),
393
393
  _tmpl$9(),
394
394
  " ",
395
395
  createComponent(Show, {