@mcp-b/react-components 0.16.1 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/dist/{AgentActivity-BNUNrP9O.d.ts → AgentActivity-D2SHSGFX.d.ts} +1 -1
  2. package/dist/{AgentChat-CrlpbvQJ.d.ts → AgentChat-ClxViuUM.d.ts} +4 -29
  3. package/dist/AgentMessageParts-CyD2UB3V.d.ts +46 -0
  4. package/dist/AgentToolRunsContext-BVe4stgw.d.ts +21 -0
  5. package/dist/{Button-FX_hpqxm.d.ts → Button-DLGzHsjc.d.ts} +13 -7
  6. package/dist/{CodeBlock-BmB4Xaqq.js → CodeBlock-Bfp5PAg3.js} +9 -6
  7. package/dist/{CodeBlock-BRajW4QU.d.ts → CodeBlock-gV4kZeCI.d.ts} +2 -9
  8. package/dist/Collapsible-N64ASIQr.d.ts +119 -0
  9. package/dist/{Combobox-B9Fcd6q-.d.ts → Combobox-CYc37s5l.d.ts} +11 -33
  10. package/dist/{FileTree-CkVbIMWV.js → FileTree-3zYtrddG.js} +46 -20
  11. package/dist/{Menu-Bgu-ufb5.d.ts → Menu-L6MZm-7N.d.ts} +15 -56
  12. package/dist/{Message-BkMdE3bS.js → Message-BXtmfc9Q.js} +13 -20
  13. package/dist/{ModelSelector-SlJNgwKY.js → ModelSelector-Cqw_qrUG.js} +18 -25
  14. package/dist/{PromptInput-BWTuXMOD.d.ts → PromptInput-Bdh9pqlo.d.ts} +41 -71
  15. package/dist/{ResponsiveSidebarShell-Dd9DCcBT.d.ts → ResponsiveSidebarShell-CsAh4NyL.d.ts} +1 -0
  16. package/dist/{Select-BeEsefzh.d.ts → Select-B_13gg_J.d.ts} +16 -44
  17. package/dist/{Tabs-3Zc4tb9D.d.ts → Tabs-ColWK-XA.d.ts} +14 -20
  18. package/dist/{ThinkChat-CzC-zNGA.js → ThinkChat-15EhfvYJ.js} +123 -73
  19. package/dist/{ThinkChatActivity-BFQnb2ct.d.ts → ThinkChatActivity-Bzot45kX.d.ts} +9 -4
  20. package/dist/{ThinkChatActivitySummary-BPmu9a-c.d.ts → ThinkChatActivitySummary-D1xOrNrq.d.ts} +1 -1
  21. package/dist/{ThinkChatContext-C3Eb1Xpi.d.ts → ThinkChatContext-DrsZqdaO.d.ts} +1 -1
  22. package/dist/ThinkRecoveryNotice-DFIcG9UX.d.ts +19 -0
  23. package/dist/{Toggle-CAAlNl-M.d.ts → Toggle-JKZ43D5S.d.ts} +2 -2
  24. package/dist/{ToggleGroup-8hPv-b69.d.ts → ToggleGroup-DNd6cDJZ.d.ts} +4 -5
  25. package/dist/Workspace-Jez8ffUj.d.ts +274 -0
  26. package/dist/WorkspaceExplorer-B9dQWNVK.d.ts +32 -0
  27. package/dist/{WorkspaceFile-DOZkPwzu.d.ts → WorkspaceFile-CzyHnESE.d.ts} +1 -1
  28. package/dist/{WorkspaceFileView-rSN_yT0L.js → WorkspaceFileView-C68Ub8S8.js} +121 -128
  29. package/dist/{WorkspaceLink-DIPbXrUM.js → WorkspaceLink-BYYeTQLf.js} +20 -55
  30. package/dist/{WorkspaceLink-DK1DWMHe.d.ts → WorkspaceLink-O-EBKUJ8.d.ts} +6 -9
  31. package/dist/class-names-BiMDVpUo.js +14 -0
  32. package/dist/components/Accordion.d.ts +5 -15
  33. package/dist/components/Accordion.js +16 -10
  34. package/dist/components/Activity.d.ts +5 -10
  35. package/dist/components/Activity.js +2 -2
  36. package/dist/components/AgentActivity.d.ts +1 -1
  37. package/dist/components/AgentActivity.js +4 -5
  38. package/dist/components/AgentActivityPreview.d.ts +9 -9
  39. package/dist/components/AgentActivityPreview.js +8 -12
  40. package/dist/components/AgentAttention.d.ts +2 -2
  41. package/dist/components/AgentAttention.js +1 -1
  42. package/dist/components/AgentChat.d.ts +2 -2
  43. package/dist/components/AgentChat.js +113 -218
  44. package/dist/components/AgentChatMessageEditor.js +3 -3
  45. package/dist/components/AgentChatTurnError.js +2 -2
  46. package/dist/components/AgentConnection.js +4 -4
  47. package/dist/components/AgentMessageParts.d.ts +2 -0
  48. package/dist/components/AgentMessageParts.js +119 -0
  49. package/dist/components/AgentToolDetail.d.ts +57 -0
  50. package/dist/components/AgentToolDetail.js +100 -0
  51. package/dist/components/AgentToolRunsContext.d.ts +2 -0
  52. package/dist/components/AgentToolRunsContext.js +16 -0
  53. package/dist/components/AlertDialog.d.ts +7 -19
  54. package/dist/components/AlertDialog.js +21 -32
  55. package/dist/components/AppTopBar.d.ts +28 -8
  56. package/dist/components/AppTopBar.js +36 -12
  57. package/dist/components/Approval.d.ts +102 -0
  58. package/dist/components/Approval.js +227 -0
  59. package/dist/components/Artifact.d.ts +3 -5
  60. package/dist/components/Artifact.js +7 -5
  61. package/dist/components/Autocomplete.d.ts +11 -33
  62. package/dist/components/Autocomplete.js +23 -30
  63. package/dist/components/Avatar.d.ts +4 -12
  64. package/dist/components/Avatar.js +13 -12
  65. package/dist/components/Badge.js +3 -0
  66. package/dist/components/BrowserLiveView.js +27 -12
  67. package/dist/components/BrowserReplay.js +4 -3
  68. package/dist/components/BrowserRunPanel.js +58 -78
  69. package/dist/components/Button.d.ts +1 -1
  70. package/dist/components/Button.js +14 -16
  71. package/dist/components/Card.d.ts +7 -8
  72. package/dist/components/Card.js +19 -10
  73. package/dist/components/ChainOfThought.d.ts +5 -11
  74. package/dist/components/ChainOfThought.js +3 -2
  75. package/dist/components/ChatGptSignInScreen.js +8 -8
  76. package/dist/components/Checkbox.d.ts +2 -4
  77. package/dist/components/Checkbox.js +6 -5
  78. package/dist/components/CheckboxGroup.d.ts +1 -3
  79. package/dist/components/CheckboxGroup.js +15 -14
  80. package/dist/components/Checkpoint.d.ts +64 -0
  81. package/dist/components/Checkpoint.js +63 -0
  82. package/dist/components/CodeBlock.d.ts +1 -1
  83. package/dist/components/CodeBlock.js +1 -1
  84. package/dist/components/CodexModelSelector.d.ts +1 -1
  85. package/dist/components/CodexModelSelector.js +2 -2
  86. package/dist/components/Collapsible.d.ts +1 -124
  87. package/dist/components/Collapsible.js +7 -10
  88. package/dist/components/Combobox.d.ts +1 -1
  89. package/dist/components/Combobox.js +23 -30
  90. package/dist/components/Commit.d.ts +5 -11
  91. package/dist/components/Commit.js +6 -5
  92. package/dist/components/Context.js +1 -1
  93. package/dist/components/ContextMenu.d.ts +21 -37
  94. package/dist/components/ContextMenu.js +34 -51
  95. package/dist/components/Conversation.d.ts +3 -5
  96. package/dist/components/Conversation.js +5 -4
  97. package/dist/components/DescriptionListParts.js +1 -1
  98. package/dist/components/Dialog.d.ts +6 -17
  99. package/dist/components/Dialog.js +17 -24
  100. package/dist/components/EnvironmentVariables.d.ts +1 -1
  101. package/dist/components/EnvironmentVariables.js +4 -3
  102. package/dist/components/Field.d.ts +17 -20
  103. package/dist/components/Field.js +20 -17
  104. package/dist/components/Fieldset.d.ts +2 -7
  105. package/dist/components/Fieldset.js +7 -6
  106. package/dist/components/FileTree.d.ts +6 -0
  107. package/dist/components/FileTree.js +1 -1
  108. package/dist/components/Form.d.ts +1 -4
  109. package/dist/components/Form.js +3 -2
  110. package/dist/components/GithubMotionMark.js +1 -1
  111. package/dist/components/IconButton.d.ts +2 -3
  112. package/dist/components/IconButton.js +2 -1
  113. package/dist/components/InlineCitation.d.ts +66 -0
  114. package/dist/components/InlineCitation.js +142 -0
  115. package/dist/components/Input.d.ts +1 -4
  116. package/dist/components/Input.js +3 -2
  117. package/dist/components/Marker.js +1 -1
  118. package/dist/components/McpConnectionRequest.js +2 -2
  119. package/dist/components/McpServerPicker.d.ts +1 -1
  120. package/dist/components/McpServerPicker.js +6 -5
  121. package/dist/components/MediaPreviewCard.d.ts +103 -0
  122. package/dist/components/MediaPreviewCard.js +193 -0
  123. package/dist/components/Menu.d.ts +1 -1
  124. package/dist/components/Menu.js +33 -52
  125. package/dist/components/Menubar.d.ts +22 -43
  126. package/dist/components/Menubar.js +36 -53
  127. package/dist/components/Message.d.ts +7 -7
  128. package/dist/components/Message.js +1 -1
  129. package/dist/components/MessageScroller.d.ts +2 -2
  130. package/dist/components/MessageScroller.js +6 -5
  131. package/dist/components/Meter.d.ts +5 -20
  132. package/dist/components/Meter.js +11 -10
  133. package/dist/components/ModelSelector.d.ts +6 -9
  134. package/dist/components/ModelSelector.js +1 -1
  135. package/dist/components/NavigationMenu.d.ts +11 -33
  136. package/dist/components/NavigationMenu.js +23 -30
  137. package/dist/components/NumberField.d.ts +6 -24
  138. package/dist/components/NumberField.js +13 -12
  139. package/dist/components/Plan.d.ts +103 -0
  140. package/dist/components/Plan.js +113 -0
  141. package/dist/components/Popover.d.ts +9 -36
  142. package/dist/components/Popover.js +23 -34
  143. package/dist/components/PreviewCard.d.ts +6 -24
  144. package/dist/components/PreviewCard.js +13 -24
  145. package/dist/components/PricingBillingToggle.js +1 -1
  146. package/dist/components/PricingFAQ.js +1 -1
  147. package/dist/components/PricingPage.js +2 -1
  148. package/dist/components/PricingPlanCard.js +5 -4
  149. package/dist/components/PricingUsageCalculator.js +3 -3
  150. package/dist/components/Progress.d.ts +3 -8
  151. package/dist/components/Progress.js +7 -10
  152. package/dist/components/PromptInput.d.ts +2 -2
  153. package/dist/components/PromptInput.js +83 -218
  154. package/dist/components/Queue.d.ts +7 -17
  155. package/dist/components/Queue.js +2 -3
  156. package/dist/components/RadioGroup.d.ts +3 -8
  157. package/dist/components/RadioGroup.js +7 -10
  158. package/dist/components/Reasoning.d.ts +4 -8
  159. package/dist/components/Reasoning.js +3 -6
  160. package/dist/components/ResizableSidePanel.js +2 -2
  161. package/dist/components/ResponsiveSidebarShell.d.ts +1 -1
  162. package/dist/components/ResponsiveSidebarShell.js +18 -11
  163. package/dist/components/ScrollArea.d.ts +5 -20
  164. package/dist/components/ScrollArea.js +12 -10
  165. package/dist/components/SearchField.d.ts +43 -0
  166. package/dist/components/SearchField.js +52 -0
  167. package/dist/components/Select.d.ts +1 -1
  168. package/dist/components/Select.js +33 -57
  169. package/dist/components/Separator.d.ts +1 -5
  170. package/dist/components/Separator.js +3 -6
  171. package/dist/components/Slider.d.ts +6 -19
  172. package/dist/components/Slider.js +15 -14
  173. package/dist/components/Sources.d.ts +4 -9
  174. package/dist/components/Sources.js +3 -2
  175. package/dist/components/Stepper.js +16 -9
  176. package/dist/components/SubagentRunDetails.js +1 -1
  177. package/dist/components/SubagentRunIndicator.js +2 -2
  178. package/dist/components/SubagentRunList.d.ts +3 -5
  179. package/dist/components/SubagentRunList.js +3 -5
  180. package/dist/components/SubagentRunSelector.d.ts +9 -22
  181. package/dist/components/SubagentRunSelector.js +29 -31
  182. package/dist/components/Switch.d.ts +4 -7
  183. package/dist/components/Switch.js +6 -10
  184. package/dist/components/Tabs.d.ts +2 -2
  185. package/dist/components/Tabs.js +21 -18
  186. package/dist/components/Task.d.ts +4 -9
  187. package/dist/components/Task.js +4 -3
  188. package/dist/components/Terminal.d.ts +3 -4
  189. package/dist/components/Terminal.js +5 -4
  190. package/dist/components/TestResults.d.ts +4 -9
  191. package/dist/components/TestResults.js +11 -6
  192. package/dist/components/Textarea.js +1 -1
  193. package/dist/components/ThemeModeControl.js +1 -1
  194. package/dist/components/ThinkChat.d.ts +45 -22
  195. package/dist/components/ThinkChat.js +7 -5
  196. package/dist/components/ThinkChatActivity.d.ts +2 -2
  197. package/dist/components/ThinkChatActivity.js +24 -7
  198. package/dist/components/ThinkChatActivitySummary.d.ts +1 -1
  199. package/dist/components/ThinkChatActivitySummary.js +7 -3
  200. package/dist/components/ThinkChatContext.d.ts +1 -1
  201. package/dist/components/ThinkChatToolPanels.js +27 -17
  202. package/dist/components/ThinkExecutionDetail.js +2 -2
  203. package/dist/components/ThinkExecutionStatus.js +2 -2
  204. package/dist/components/ThinkExecutionWorkbench.d.ts +30 -8
  205. package/dist/components/ThinkExecutionWorkbench.js +70 -134
  206. package/dist/components/ThinkFullApp.d.ts +40 -15
  207. package/dist/components/ThinkFullApp.js +193 -117
  208. package/dist/components/ThinkFullAppViewSwitch.d.ts +1 -1
  209. package/dist/components/ThinkFullAppViewSwitch.js +2 -2
  210. package/dist/components/ThinkPendingApproval.d.ts +60 -0
  211. package/dist/components/ThinkPendingApproval.js +99 -0
  212. package/dist/components/ThinkRecoveryNotice.d.ts +2 -0
  213. package/dist/components/ThinkRecoveryNotice.js +46 -0
  214. package/dist/components/ThinkRoutine.js +1 -0
  215. package/dist/components/ThinkRoutineBrowser.d.ts +17 -9
  216. package/dist/components/ThinkRoutineBrowser.js +37 -44
  217. package/dist/components/ThinkRoutineDetail.d.ts +5 -2
  218. package/dist/components/ThinkRoutineDetail.js +4 -4
  219. package/dist/components/ThinkRoutineForm.d.ts +3 -2
  220. package/dist/components/ThinkRoutineForm.js +11 -10
  221. package/dist/components/ThinkRoutineLibrary.d.ts +27 -25
  222. package/dist/components/ThinkRoutineLibrary.js +104 -80
  223. package/dist/components/ThinkRoutineRuns.d.ts +3 -2
  224. package/dist/components/ThinkRoutineRuns.js +31 -24
  225. package/dist/components/ThinkThreadPicker.d.ts +17 -11
  226. package/dist/components/ThinkThreadPicker.js +163 -39
  227. package/dist/components/ThinkThreadShell.d.ts +1 -1
  228. package/dist/components/Toast.d.ts +7 -28
  229. package/dist/components/Toast.js +15 -14
  230. package/dist/components/Toggle.d.ts +1 -1
  231. package/dist/components/Toggle.js +10 -8
  232. package/dist/components/ToggleGroup.d.ts +1 -1
  233. package/dist/components/ToggleGroup.js +21 -26
  234. package/dist/components/ToolApproval.d.ts +28 -0
  235. package/dist/components/ToolApproval.js +35 -0
  236. package/dist/components/ToolInvocation.d.ts +26 -0
  237. package/dist/components/ToolInvocation.js +72 -0
  238. package/dist/components/Toolbar.d.ts +6 -24
  239. package/dist/components/Toolbar.js +13 -12
  240. package/dist/components/Tooltip.d.ts +11 -10
  241. package/dist/components/Tooltip.js +17 -11
  242. package/dist/components/TransitionSurface.d.ts +27 -0
  243. package/dist/components/TransitionSurface.js +20 -0
  244. package/dist/components/WebPreview.d.ts +6 -7
  245. package/dist/components/WebPreview.js +70 -55
  246. package/dist/components/Workspace.d.ts +2 -2
  247. package/dist/components/Workspace.js +361 -346
  248. package/dist/components/WorkspaceBrowser.d.ts +4 -7
  249. package/dist/components/WorkspaceBrowser.js +16 -26
  250. package/dist/components/WorkspaceExplorer.d.ts +5 -33
  251. package/dist/components/WorkspaceExplorer.js +19 -32
  252. package/dist/components/WorkspaceFile.d.ts +1 -1
  253. package/dist/components/WorkspaceFileView.d.ts +14 -2
  254. package/dist/components/WorkspaceFileView.js +1 -1
  255. package/dist/components/WorkspaceHeader.d.ts +0 -8
  256. package/dist/components/WorkspaceHeader.js +3 -15
  257. package/dist/components/WorkspaceLink.d.ts +1 -1
  258. package/dist/components/WorkspaceLink.js +1 -1
  259. package/dist/components/icons.d.ts +2 -2
  260. package/dist/components/icons.js +2 -2
  261. package/dist/{copy-button-DtPMgN7e.d.ts → copy-button-D7aAYA-2.d.ts} +2 -3
  262. package/dist/{copy-button-Dejn5heL.js → copy-button-DeK6KXEV.js} +3 -2
  263. package/dist/{icons-CpfUer49.js → icons-CQJ-aMnI.js} +7 -3
  264. package/dist/{icons-GQd1xF4e.d.ts → icons-CYXmvKlJ.d.ts} +22 -2
  265. package/dist/navigation-link-Cob7KBlM.js +19 -0
  266. package/dist/styles/accordion.css +4 -19
  267. package/dist/styles/activity.css +48 -56
  268. package/dist/styles/agent-activity-preview.css +6 -0
  269. package/dist/styles/agent-chat.css +14 -63
  270. package/dist/styles/agent-connection.css +0 -12
  271. package/dist/styles/agent-tool-detail.css +54 -0
  272. package/dist/styles/alert-dialog.css +16 -18
  273. package/dist/styles/app-top-bar.css +17 -9
  274. package/dist/styles/approval.css +177 -0
  275. package/dist/styles/artifact.css +6 -18
  276. package/dist/styles/autocomplete.css +2 -1
  277. package/dist/styles/avatar.css +35 -30
  278. package/dist/styles/badge.css +10 -10
  279. package/dist/styles/base-ui-motion.css +94 -39
  280. package/dist/styles/browser-control-overlay.css +0 -1
  281. package/dist/styles/browser-live-view.css +39 -22
  282. package/dist/styles/browser-replay.css +1 -1
  283. package/dist/styles/browser-run-panel.css +13 -6
  284. package/dist/styles/button.css +36 -33
  285. package/dist/styles/card.css +5 -6
  286. package/dist/styles/chain-of-thought.css +22 -24
  287. package/dist/styles/checkbox.css +18 -5
  288. package/dist/styles/checkpoint.css +58 -0
  289. package/dist/styles/codex-model-selector.css +3 -7
  290. package/dist/styles/collapsible.css +10 -10
  291. package/dist/styles/combobox.css +4 -3
  292. package/dist/styles/commit.css +19 -39
  293. package/dist/styles/composition-motion.css +83 -0
  294. package/dist/styles/context-menu.css +3 -11
  295. package/dist/styles/context.css +11 -10
  296. package/dist/styles/conversation.css +18 -23
  297. package/dist/styles/dialog.css +15 -15
  298. package/dist/styles/environment-variables.css +0 -13
  299. package/dist/styles/field.css +32 -12
  300. package/dist/styles/file-tree.css +66 -22
  301. package/dist/styles/form.css +1 -1
  302. package/dist/styles/index.css +13 -4
  303. package/dist/styles/inline-citation.css +107 -0
  304. package/dist/styles/input.css +2 -2
  305. package/dist/styles/marker.css +14 -13
  306. package/dist/styles/mcp-server-picker.css +20 -47
  307. package/dist/styles/media-preview-card.css +160 -0
  308. package/dist/styles/menu.css +11 -40
  309. package/dist/styles/menubar.css +12 -19
  310. package/dist/styles/message-scroller.css +0 -12
  311. package/dist/styles/message.css +25 -31
  312. package/dist/styles/meter.css +2 -2
  313. package/dist/styles/model-selector.css +16 -34
  314. package/dist/styles/motion-reduction.css +29 -0
  315. package/dist/styles/navigation-menu.css +14 -30
  316. package/dist/styles/number-field.css +22 -4
  317. package/dist/styles/plan.css +132 -0
  318. package/dist/styles/popover.css +15 -52
  319. package/dist/styles/preview-card.css +2 -32
  320. package/dist/styles/progress.css +8 -3
  321. package/dist/styles/prompt-input.css +76 -269
  322. package/dist/styles/queue.css +48 -32
  323. package/dist/styles/radio.css +19 -12
  324. package/dist/styles/reasoning.css +2 -1
  325. package/dist/styles/recipes.css +207 -26
  326. package/dist/styles/resizable-side-panel.css +4 -10
  327. package/dist/styles/responsive-sidebar-shell.css +32 -34
  328. package/dist/styles/scroll-area.css +32 -15
  329. package/dist/styles/search-field.css +21 -0
  330. package/dist/styles/select.css +19 -12
  331. package/dist/styles/slider.css +25 -29
  332. package/dist/styles/sources.css +3 -11
  333. package/dist/styles/stepper.css +36 -26
  334. package/dist/styles/subagent-run.css +13 -71
  335. package/dist/styles/switch.css +32 -29
  336. package/dist/styles/tabs.css +79 -23
  337. package/dist/styles/task.css +11 -23
  338. package/dist/styles/test-results.css +29 -36
  339. package/dist/styles/theme-mode-control.css +8 -0
  340. package/dist/styles/think-execution-workbench.css +18 -15
  341. package/dist/styles/think-full-app.css +51 -100
  342. package/dist/styles/think-routine-library.css +51 -40
  343. package/dist/styles/think-thread-picker.css +207 -50
  344. package/dist/styles/toast.css +48 -34
  345. package/dist/styles/toggle-group.css +2 -36
  346. package/dist/styles/toggle.css +29 -5
  347. package/dist/styles/toolbar.css +25 -27
  348. package/dist/styles/tooltip.css +2 -32
  349. package/dist/styles/transition-surface.css +55 -0
  350. package/dist/styles/utilities.css +31 -0
  351. package/dist/styles/web-preview.css +0 -21
  352. package/dist/styles/workspace-explorer.css +104 -99
  353. package/dist/summarize-tool-input-CqTcGRYy.js +15 -0
  354. package/dist/think-agent-Cip5KAPj.d.ts +7 -0
  355. package/dist/utils/codex-model-catalog.d.ts +4 -4
  356. package/dist/utils/mcp-server-catalog.d.ts +132 -0
  357. package/dist/utils/mcp-server-catalog.js +90 -0
  358. package/dist/utils/structured-code.d.ts +1 -1
  359. package/dist/workspace-path-L_KmjRjq.js +26 -0
  360. package/package.json +14 -9
  361. package/dist/Workspace-D39LxGvP.d.ts +0 -62
  362. package/dist/class-names-9UtZwb0J.js +0 -12
  363. package/dist/components/AppFrame.d.ts +0 -24
  364. package/dist/components/AppFrame.js +0 -25
  365. package/dist/components/Shell.d.ts +0 -163
  366. package/dist/components/Shell.js +0 -137
  367. package/dist/components/SubagentRun.d.ts +0 -86
  368. package/dist/components/SubagentRun.js +0 -108
  369. package/dist/styles/app-frame.css +0 -15
  370. package/dist/styles/shell.css +0 -122
  371. package/dist/summarize-tool-input-BUJsENSn.js +0 -12
@@ -1,4 +1,4 @@
1
- import { i as WorkspaceState } from "../Workspace-D39LxGvP.js";
1
+ import { o as WorkspaceState } from "../Workspace-Jez8ffUj.js";
2
2
  import * as React from "react";
3
3
 
4
4
  //#region src/components/WorkspaceBrowser.d.ts
@@ -11,9 +11,8 @@ interface WorkspaceBrowserProps {
11
11
  showFilter?: boolean;
12
12
  filterPlaceholder?: string;
13
13
  emptyState?: React.ReactNode;
14
- onSelectFile?: (path: string) => void;
15
- onBack?: () => void;
16
- onForward?: () => void;
14
+ /** App-owned anchor or router Link for a file destination. */
15
+ renderFileLink?: (path: string) => React.ReactElement;
17
16
  }
18
17
  /** Workspace tree and filter surface, usable independently from the file preview. */
19
18
  declare function WorkspaceBrowser({
@@ -24,9 +23,7 @@ declare function WorkspaceBrowser({
24
23
  showFilter,
25
24
  filterPlaceholder,
26
25
  emptyState,
27
- onSelectFile,
28
- onBack,
29
- onForward
26
+ renderFileLink
30
27
  }: WorkspaceBrowserProps): React.JSX.Element;
31
28
  //#endregion
32
29
  export { WorkspaceBrowser, WorkspaceBrowserProps };
@@ -1,6 +1,5 @@
1
- import { R as SearchIcon } from "../icons-CpfUer49.js";
2
- import { Field } from "./Field.js";
3
- import { i as FileTreeFolder, r as FileTreeFile, t as FileTree } from "../FileTree-CkVbIMWV.js";
1
+ import { i as FileTreeFolder, r as FileTreeFile, t as FileTree } from "../FileTree-3zYtrddG.js";
2
+ import { SearchField } from "./SearchField.js";
4
3
  import { WorkspaceHeader } from "./WorkspaceHeader.js";
5
4
  import * as React from "react";
6
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -9,19 +8,14 @@ function compareFilteredWorkspaceFiles(left, right) {
9
8
  return left.path.localeCompare(right.path) || left.name.localeCompare(right.name);
10
9
  }
11
10
  /** Workspace tree and filter surface, usable independently from the file preview. */
12
- function WorkspaceBrowser({ workspace, title = "Workspace", leading, actions, showFilter = true, filterPlaceholder = "Filter files...", emptyState, onSelectFile, onBack, onForward }) {
11
+ function WorkspaceBrowser({ workspace, title = "Workspace", leading, actions, showFilter = true, filterPlaceholder = "Filter files...", emptyState, renderFileLink }) {
13
12
  const [filter, setFilter] = React.useState("");
14
13
  const filterQuery = filter.trim().toLowerCase();
15
14
  const { root, entriesByDirectory, entryByPath, expandedPaths, setExpandedPaths, selectedPath, selectFile, isLoading, error, info, refresh } = workspace;
16
15
  const handleSelect = React.useCallback((path) => {
17
16
  if (entryByPath.get(path)?.type === "directory") return;
18
17
  selectFile(path);
19
- onSelectFile?.(path);
20
- }, [
21
- entryByPath,
22
- onSelectFile,
23
- selectFile
24
- ]);
18
+ }, [entryByPath, selectFile]);
25
19
  const filteredFiles = React.useMemo(() => {
26
20
  if (!filterQuery) return [];
27
21
  return [...entryByPath.values()].filter((entry) => entry.type !== "directory" && entry.path.toLowerCase().includes(filterQuery)).sort(compareFilteredWorkspaceFiles);
@@ -34,7 +28,8 @@ function WorkspaceBrowser({ workspace, title = "Workspace", leading, actions, sh
34
28
  }, entry.path);
35
29
  return /* @__PURE__ */ jsx(FileTreeFile, {
36
30
  path: entry.path,
37
- name: entry.name
31
+ name: entry.name,
32
+ render: renderFileLink?.(entry.path)
38
33
  }, entry.path);
39
34
  };
40
35
  const rootEntries = entriesByDirectory[root] ?? [];
@@ -44,8 +39,6 @@ function WorkspaceBrowser({ workspace, title = "Workspace", leading, actions, sh
44
39
  leading,
45
40
  actions,
46
41
  isRefreshing: isLoading,
47
- onBack,
48
- onForward,
49
42
  onRefresh: refresh
50
43
  }), /* @__PURE__ */ jsxs("div", {
51
44
  className: "workspace-explorer__body",
@@ -53,21 +46,17 @@ function WorkspaceBrowser({ workspace, title = "Workspace", leading, actions, sh
53
46
  role: "region",
54
47
  "aria-label": "Workspace files",
55
48
  tabIndex: -1,
56
- children: [showFilter ? /* @__PURE__ */ jsxs(Field.Root, {
49
+ children: [showFilter ? /* @__PURE__ */ jsxs(SearchField.Root, {
57
50
  className: "workspace-explorer__filter",
58
51
  name: "workspace-filter",
59
- children: [/* @__PURE__ */ jsx(Field.Label, {
60
- className: "workspace-explorer__filter-label",
52
+ children: [/* @__PURE__ */ jsx(SearchField.Label, {
53
+ className: "workspace-explorer__filter-label sigvelo-visually-hidden",
61
54
  children: "Filter workspace files"
62
- }), /* @__PURE__ */ jsxs("div", {
63
- className: "workspace-explorer__filter-control",
64
- children: [/* @__PURE__ */ jsx(SearchIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx(Field.Control, {
65
- type: "search",
66
- value: filter,
67
- onChange: (event) => setFilter(event.currentTarget.value),
68
- placeholder: filterPlaceholder,
69
- autoComplete: "off"
70
- })]
55
+ }), /* @__PURE__ */ jsx(SearchField.Control, {
56
+ value: filter,
57
+ onChange: (event) => setFilter(event.currentTarget.value),
58
+ placeholder: filterPlaceholder,
59
+ autoComplete: "off"
71
60
  })]
72
61
  }) : null, error ? /* @__PURE__ */ jsx("div", {
73
62
  className: "workspace-explorer__empty",
@@ -80,7 +69,8 @@ function WorkspaceBrowser({ workspace, title = "Workspace", leading, actions, sh
80
69
  "aria-label": "Workspace files",
81
70
  children: filteredFiles.map((entry) => /* @__PURE__ */ jsx(FileTreeFile, {
82
71
  path: entry.path,
83
- name: entry.path
72
+ name: entry.path,
73
+ render: renderFileLink?.(entry.path)
84
74
  }, entry.path))
85
75
  }) : /* @__PURE__ */ jsx("div", {
86
76
  className: "workspace-explorer__empty",
@@ -1,33 +1,5 @@
1
- import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../WorkspaceLink-DK1DWMHe.js";
2
- import { a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as parseWorkspaceSkill, h as isWorkspaceSkillPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMediaPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as isWorkspaceMarkdownPath, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset } from "../WorkspaceFile-DOZkPwzu.js";
3
- import { a as useWorkspace, i as WorkspaceState, n as WorkspaceInfo, r as WorkspaceSource, t as UseWorkspaceOptions } from "../Workspace-D39LxGvP.js";
4
- import * as React from "react";
5
-
6
- //#region src/components/WorkspaceExplorer.d.ts
7
- interface WorkspaceExplorerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
8
- workspace: WorkspaceState;
9
- /** Host-owned URL/history adapter shared by chat links and the file explorer. */
10
- navigation: WorkspaceNavigationAdapter;
11
- /** Header label. Defaults to "Workspace". */
12
- title?: React.ReactNode;
13
- /** Leading workspace control, such as a host-owned Back to chat button. */
14
- leading?: React.ReactNode;
15
- /** Extra header actions, rendered next to the built-in refresh button. */
16
- actions?: React.ReactNode;
17
- /** Show the file filter input. Hidden by default to keep the browser compact. */
18
- showFilter?: boolean;
19
- filterPlaceholder?: string;
20
- emptyState?: React.ReactNode;
21
- }
22
- /**
23
- * Convenience workspace application composed from `WorkspaceBrowser` and
24
- * `WorkspaceFileView`. The host adapter owns URLs and history; the explorer
25
- * only restores presentation state for stable navigation entry keys.
26
- */
27
- declare function WorkspaceExplorer({
28
- ...props
29
- }: WorkspaceExplorerProps & {
30
- ref?: React.Ref<HTMLDivElement>;
31
- }): React.JSX.Element;
32
- //#endregion
33
- export { type ResolveWorkspaceLinkOptions, type UseWorkspaceOptions, type WorkspaceDestination, WorkspaceExplorer, WorkspaceExplorerProps, type WorkspaceExternalDestination, type WorkspaceFileAsset, type WorkspaceFileAssetRequest, type WorkspaceFileAssetResolver, WorkspaceFileLink, type WorkspaceFileLinkProps, type WorkspaceFileState, type WorkspaceInfo, type WorkspaceInvalidDestination, type WorkspaceLinkBase, type WorkspaceLinkResolution, type WorkspaceMediaInfo, type WorkspaceMediaKind, type WorkspaceMediaTrack, type WorkspaceMediaTrackKind, type WorkspaceNavigationAdapter, type WorkspaceNavigationEntry, WorkspaceNavigationProvider, type WorkspaceNavigationProviderProps, type WorkspaceSkillDocument, type WorkspaceSource, type WorkspaceState, inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill, resolveWorkspaceLink, useWorkspace };
1
+ import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../WorkspaceLink-O-EBKUJ8.js";
2
+ import { a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as parseWorkspaceSkill, h as isWorkspaceSkillPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMediaPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as isWorkspaceMarkdownPath, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset } from "../WorkspaceFile-CzyHnESE.js";
3
+ import { a as WorkspaceSource, c as workspaceBinaryFileQueryOptions, d as workspaceFileStatQueryOptions, f as workspaceInfoQueryOptions, i as WorkspaceQueryKey, l as workspaceDirectoryQueryOptions, m as workspaceTextFileQueryOptions, n as WorkspaceFileReadTarget, o as WorkspaceState, p as workspaceQueryKey, r as WorkspaceInfo, s as useWorkspace, t as UseWorkspaceOptions, u as workspaceFileAssetQueryOptions } from "../Workspace-Jez8ffUj.js";
4
+ import { n as WorkspaceExplorerProps, t as WorkspaceExplorer } from "../WorkspaceExplorer-B9dQWNVK.js";
5
+ export { type ResolveWorkspaceLinkOptions, type UseWorkspaceOptions, type WorkspaceDestination, WorkspaceExplorer, WorkspaceExplorerProps, type WorkspaceExternalDestination, type WorkspaceFileAsset, type WorkspaceFileAssetRequest, type WorkspaceFileAssetResolver, WorkspaceFileLink, type WorkspaceFileLinkProps, type WorkspaceFileReadTarget, type WorkspaceFileState, type WorkspaceInfo, type WorkspaceInvalidDestination, type WorkspaceLinkBase, type WorkspaceLinkResolution, type WorkspaceMediaInfo, type WorkspaceMediaKind, type WorkspaceMediaTrack, type WorkspaceMediaTrackKind, type WorkspaceNavigationAdapter, type WorkspaceNavigationEntry, WorkspaceNavigationProvider, type WorkspaceNavigationProviderProps, type WorkspaceQueryKey, type WorkspaceSkillDocument, type WorkspaceSource, type WorkspaceState, inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill, resolveWorkspaceLink, useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryOptions, workspaceFileAssetQueryOptions, workspaceFileStatQueryOptions, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions };
@@ -1,10 +1,10 @@
1
- import { t as cx } from "../class-names-9UtZwb0J.js";
2
- import { a as WorkspaceNavigationRestorationBoundary, n as WorkspaceNavigationProvider, o as useRequiredWorkspaceNavigationRestoration, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "../WorkspaceLink-DIPbXrUM.js";
1
+ import { t as cx } from "../class-names-BiMDVpUo.js";
2
+ import { a as WorkspaceNavigationRestorationBoundary, n as WorkspaceNavigationProvider, o as useRequiredWorkspaceNavigationRestoration, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "../WorkspaceLink-BYYeTQLf.js";
3
3
  import { n as mergeRefs } from "../merge-refs-DF_7w2x_.js";
4
- import { WorkspaceBrowser } from "./WorkspaceBrowser.js";
5
4
  import { inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill } from "./WorkspaceFile.js";
6
- import { t as WorkspaceFileView } from "../WorkspaceFileView-rSN_yT0L.js";
7
- import { useWorkspace } from "./Workspace.js";
5
+ import { WorkspaceBrowser } from "./WorkspaceBrowser.js";
6
+ import { t as WorkspaceFileView } from "../WorkspaceFileView-C68Ub8S8.js";
7
+ import { useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryOptions, workspaceFileAssetQueryOptions, workspaceFileStatQueryOptions, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions } from "./Workspace.js";
8
8
  import * as React from "react";
9
9
  import { jsx } from "react/jsx-runtime";
10
10
  //#region src/components/WorkspaceExplorer.tsx
@@ -45,35 +45,25 @@ function WorkspaceExplorer({ ...props }) {
45
45
  function WorkspaceExplorerContent({ workspace, navigation, className, title = "Workspace", leading, actions, showFilter = false, filterPlaceholder = "Filter files...", emptyState, ref, ...props }) {
46
46
  const explorerRef = React.useRef(null);
47
47
  const pendingTreeFocusRef = React.useRef(null);
48
- const previousDestinationRef = React.useRef(navigation.current.destination);
48
+ const currentEntry = navigation.current;
49
+ const previousDestinationRef = React.useRef(currentEntry.destination);
49
50
  const restoration = useRequiredWorkspaceNavigationRestoration();
50
- const { entriesByDirectory, expandedPaths, selectedPath, selectedFile, isLoading, loadingPaths, refresh, selectFile, setExpandedPaths } = workspace;
51
- const fileDestination = getValidatedFileDestination(navigation.current.destination, workspace.root);
52
- React.useEffect(() => {
53
- if (fileDestination && selectedPath !== fileDestination.path) selectFile(fileDestination.path);
54
- }, [
55
- fileDestination?.path,
56
- selectFile,
57
- selectedPath
58
- ]);
51
+ const { entriesByDirectory, expandedPaths, selectedPath, selectedFile, isLoading, loadingPaths, refresh, setExpandedPaths } = workspace;
52
+ const fileDestination = getValidatedFileDestination(currentEntry.destination, workspace.root);
59
53
  React.useEffect(() => {
60
54
  const previous = previousDestinationRef.current;
61
- if (navigation.current.destination.kind === "files" && previous.kind === "file") {
62
- const saved = restoration.get(navigation.current.key);
55
+ if (currentEntry.destination.kind === "files" && previous.kind === "file") {
56
+ const saved = restoration.get(currentEntry.key);
63
57
  pendingTreeFocusRef.current = saved?.focusDestination ? null : {
64
- entryKey: navigation.current.key,
58
+ entryKey: currentEntry.key,
65
59
  path: previous.path
66
60
  };
67
61
  }
68
- previousDestinationRef.current = navigation.current.destination;
69
- }, [
70
- navigation.current.key,
71
- navigation.current.destination,
72
- restoration
73
- ]);
62
+ previousDestinationRef.current = currentEntry.destination;
63
+ }, [currentEntry, restoration]);
74
64
  React.useEffect(() => {
75
65
  const pending = pendingTreeFocusRef.current;
76
- if (!pending || pending.entryKey !== navigation.current.key || navigation.current.destination.kind !== "files") return;
66
+ if (!pending || pending.entryKey !== currentEntry.key || currentEntry.destination.kind !== "files") return;
77
67
  const ancestors = getDirectoryAncestors(pending.path, workspace.root);
78
68
  if (ancestors.some((path) => !expandedPaths.has(path))) {
79
69
  setExpandedPaths(/* @__PURE__ */ new Set([...expandedPaths, ...ancestors]));
@@ -94,8 +84,7 @@ function WorkspaceExplorerContent({ workspace, navigation, className, title = "W
94
84
  expandedPaths,
95
85
  isLoading,
96
86
  loadingPaths,
97
- navigation.current.destination,
98
- navigation.current.key,
87
+ currentEntry,
99
88
  setExpandedPaths,
100
89
  workspace.root
101
90
  ]);
@@ -127,15 +116,13 @@ function WorkspaceExplorerContent({ workspace, navigation, className, title = "W
127
116
  showFilter,
128
117
  filterPlaceholder,
129
118
  emptyState,
130
- onSelectFile: (path) => navigation.navigate({
119
+ renderFileLink: (path) => navigation.renderLink({
131
120
  kind: "file",
132
121
  path,
133
122
  fragment: null
134
- }),
135
- onBack: navigation.canGoBack ? () => navigation.goBack() : void 0,
136
- onForward: navigation.canGoForward ? () => navigation.goForward() : void 0
123
+ })
137
124
  })
138
125
  });
139
126
  }
140
127
  //#endregion
141
- export { WorkspaceExplorer, WorkspaceFileLink, WorkspaceNavigationProvider, inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill, resolveWorkspaceLink, useWorkspace };
128
+ export { WorkspaceExplorer, WorkspaceFileLink, WorkspaceNavigationProvider, inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill, resolveWorkspaceLink, useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryOptions, workspaceFileAssetQueryOptions, workspaceFileStatQueryOptions, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions };
@@ -1,2 +1,2 @@
1
- import { a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as parseWorkspaceSkill, h as isWorkspaceSkillPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMediaPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as isWorkspaceMarkdownPath, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset, u as getWorkspaceBasename } from "../WorkspaceFile-DOZkPwzu.js";
1
+ import { a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as parseWorkspaceSkill, h as isWorkspaceSkillPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMediaPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as isWorkspaceMarkdownPath, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset, u as getWorkspaceBasename } from "../WorkspaceFile-CzyHnESE.js";
2
2
  export { WorkspaceFileAsset, WorkspaceFileAssetRequest, WorkspaceFileAssetResolver, WorkspaceFileState, WorkspaceMediaInfo, WorkspaceMediaKind, WorkspaceMediaTrack, WorkspaceMediaTrackKind, WorkspaceSkillDocument, getWorkspaceBasename, inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill };
@@ -1,8 +1,13 @@
1
- import { i as WorkspaceFileState } from "../WorkspaceFile-DOZkPwzu.js";
1
+ import { i as WorkspaceFileState } from "../WorkspaceFile-CzyHnESE.js";
2
2
  import * as React from "react";
3
3
 
4
4
  //#region src/components/WorkspaceFileView.d.ts
5
5
  interface WorkspaceFileViewProps {
6
+ /**
7
+ * Canvas previews join the surrounding document flow without a component
8
+ * frame, divider, or nested scrolling surface.
9
+ */
10
+ appearance?: "contained" | "canvas";
6
11
  file: WorkspaceFileState | null;
7
12
  path: string;
8
13
  isLoading: boolean;
@@ -10,16 +15,23 @@ interface WorkspaceFileViewProps {
10
15
  /** Leading workspace control, such as a host-owned Back to chat button. */
11
16
  leading?: React.ReactNode;
12
17
  actions?: React.ReactNode;
18
+ /**
19
+ * Show the parsed Agent Skill identity above authored Markdown. Hosts that
20
+ * already present the skill identity can omit it while retaining validation.
21
+ */
22
+ showSkillIdentity?: boolean;
13
23
  onRefresh: () => void;
14
24
  }
15
- /** Full-boundary workspace file preview composed from CodeBlock and AppTopBar. */
25
+ /** Workspace file preview composed from CodeBlock and AppTopBar. */
16
26
  declare function WorkspaceFileView({
27
+ appearance,
17
28
  file,
18
29
  path,
19
30
  isLoading,
20
31
  isRefreshing,
21
32
  leading,
22
33
  actions,
34
+ showSkillIdentity,
23
35
  onRefresh
24
36
  }: WorkspaceFileViewProps): React.JSX.Element | null;
25
37
  //#endregion
@@ -1,2 +1,2 @@
1
- import { t as WorkspaceFileView } from "../WorkspaceFileView-rSN_yT0L.js";
1
+ import { t as WorkspaceFileView } from "../WorkspaceFileView-C68Ub8S8.js";
2
2
  export { WorkspaceFileView };
@@ -10,10 +10,6 @@ interface WorkspaceHeaderProps {
10
10
  actions?: React.ReactNode;
11
11
  copyAction?: React.ReactNode;
12
12
  isRefreshing: boolean;
13
- backLabel?: string;
14
- forwardLabel?: string;
15
- onBack?: () => void;
16
- onForward?: () => void;
17
13
  onRefresh: () => void;
18
14
  }
19
15
  /** Shared workspace app bar for browser and file-preview surfaces. */
@@ -25,10 +21,6 @@ declare function WorkspaceHeader({
25
21
  actions,
26
22
  copyAction,
27
23
  isRefreshing,
28
- backLabel,
29
- forwardLabel,
30
- onBack,
31
- onForward,
32
24
  onRefresh
33
25
  }: WorkspaceHeaderProps): React.JSX.Element;
34
26
  //#endregion
@@ -1,27 +1,15 @@
1
- import { L as RefreshIcon, n as ArrowLeftIcon, r as ArrowRightIcon } from "../icons-CpfUer49.js";
1
+ import { H as RefreshIcon } from "../icons-CQJ-aMnI.js";
2
2
  import { AppTopBar } from "./AppTopBar.js";
3
3
  import "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/WorkspaceHeader.tsx
6
6
  /** Shared workspace app bar for browser and file-preview surfaces. */
7
- function WorkspaceHeader({ title, fileCount, path, leading, actions, copyAction, isRefreshing, backLabel = "Back", forwardLabel = "Forward", onBack, onForward, onRefresh }) {
7
+ function WorkspaceHeader({ title, fileCount, path, leading, actions, copyAction, isRefreshing, onRefresh }) {
8
8
  return /* @__PURE__ */ jsxs(AppTopBar.Root, {
9
9
  className: "workspace-explorer__header",
10
10
  "aria-label": "Workspace controls",
11
11
  children: [
12
- /* @__PURE__ */ jsxs(AppTopBar.Leading, { children: [
13
- leading,
14
- onBack ? /* @__PURE__ */ jsx(AppTopBar.Button, {
15
- label: backLabel,
16
- onClick: onBack,
17
- children: /* @__PURE__ */ jsx(ArrowLeftIcon, { "aria-hidden": "true" })
18
- }) : null,
19
- onForward ? /* @__PURE__ */ jsx(AppTopBar.Button, {
20
- label: forwardLabel,
21
- onClick: onForward,
22
- children: /* @__PURE__ */ jsx(ArrowRightIcon, { "aria-hidden": "true" })
23
- }) : null
24
- ] }),
12
+ /* @__PURE__ */ jsx(AppTopBar.Leading, { children: leading }),
25
13
  /* @__PURE__ */ jsx(AppTopBar.Title, {
26
14
  className: "workspace-explorer__heading",
27
15
  title: path,
@@ -1,2 +1,2 @@
1
- import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../WorkspaceLink-DK1DWMHe.js";
1
+ import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../WorkspaceLink-O-EBKUJ8.js";
2
2
  export { ResolveWorkspaceLinkOptions, WorkspaceDestination, WorkspaceExternalDestination, WorkspaceFileLink, WorkspaceFileLinkProps, WorkspaceInvalidDestination, WorkspaceLinkBase, WorkspaceLinkResolution, WorkspaceNavigationAdapter, WorkspaceNavigationEntry, WorkspaceNavigationProvider, WorkspaceNavigationProviderProps, resolveWorkspaceLink };
@@ -1,2 +1,2 @@
1
- import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "../WorkspaceLink-DIPbXrUM.js";
1
+ import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "../WorkspaceLink-BYYeTQLf.js";
2
2
  export { WorkspaceFileLink, WorkspaceNavigationProvider, resolveWorkspaceLink };
@@ -1,2 +1,2 @@
1
- import { A as MinusIcon, B as SearchIcon, C as ImageIcon, D as McpIcon, E as MaximizeIcon, F as PencilIcon, G as StopIcon, H as SpinnerIcon, I as PlayIcon, J as TrashIcon, K as SunIcon, L as PlusIcon, M as MoonIcon, N as PaperclipIcon, O as MessageSquareIcon, P as PauseIcon, R as QueueIcon, S as IconProps, T as LinkIcon, U as SquareIcon, V as SidebarIcon, W as SteerIcon, X as WrenchIcon, Y as WarningIcon, Z as XIcon, _ as EyeIcon, a as BoxIcon, b as FolderIcon, c as ChevronDownIcon, d as CodeIcon, f as CopyIcon, g as EllipsisIcon, h as DownloadIcon, i as ArrowUpIcon, j as MonitorIcon, k as MicrophoneIcon, l as ChevronLeftIcon, m as DotIcon, n as ArrowLeftIcon, o as BrandIconProps, p as DiscordIcon, q as TerminalIcon, r as ArrowRightIcon, s as CheckIcon, t as ArrowDownIcon, u as ChevronRightIcon, v as EyeOffIcon, w as InfoIcon, x as FolderOpenIcon, y as FileIcon, z as RefreshIcon } from "../icons-GQd1xF4e.js";
2
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BoxIcon, BrandIconProps, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, IconProps, ImageIcon, InfoIcon, LinkIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SpinnerIcon, SquareIcon, SteerIcon, StopIcon, SunIcon, TerminalIcon, TrashIcon, WarningIcon, WrenchIcon, XIcon };
1
+ import { $ as WarningIcon, A as MaximizeIcon, B as PencilIcon, C as FolderIcon, D as ImageIcon, E as IconProps, F as MonitorIcon, G as SearchIcon, H as PlusIcon, I as MoonIcon, J as SquareIcon, K as SidebarIcon, L as MoveToFrontIcon, M as MessageSquareIcon, N as MicrophoneIcon, O as InfoIcon, P as MinusIcon, Q as TrashIcon, R as PaperclipIcon, S as FileIcon, T as HashIcon, U as QueueIcon, V as PlayIcon, W as RefreshIcon, X as SunIcon, Y as StopIcon, Z as TerminalIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BrandIconProps, d as ChevronDownIcon, et as WrenchIcon, f as ChevronLeftIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as McpIcon, k as LinkIcon, l as CalendarIcon, m as CodeIcon, n as ArrowDownIcon, o as BookmarkIcon, p as ChevronRightIcon, q as SpinnerIcon, r as ArrowLeftIcon, s as BoxIcon, t as ArchiveIcon, tt as XIcon, u as CheckIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PauseIcon } from "../icons-CYXmvKlJ.js";
2
+ export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BookmarkIcon, BoxIcon, BrandIconProps, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, HashIcon, IconProps, ImageIcon, InfoIcon, LinkIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, MoveToFrontIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TerminalIcon, TrashIcon, WarningIcon, WrenchIcon, XIcon };
@@ -1,2 +1,2 @@
1
- import { A as MoonIcon, B as SpinnerIcon, C as LinkIcon, D as MicrophoneIcon, E as MessageSquareIcon, F as PlusIcon, G as TerminalIcon, H as SteerIcon, I as QueueIcon, J as WrenchIcon, K as TrashIcon, L as RefreshIcon, M as PauseIcon, N as PencilIcon, O as MinusIcon, P as PlayIcon, R as SearchIcon, S as InfoIcon, T as McpIcon, U as StopIcon, V as SquareIcon, W as SunIcon, Y as XIcon, _ as EyeOffIcon, a as BoxIcon, b as FolderOpenIcon, c as ChevronLeftIcon, d as CopyIcon, f as DiscordIcon, g as EyeIcon, h as EllipsisIcon, i as ArrowUpIcon, j as PaperclipIcon, k as MonitorIcon, l as ChevronRightIcon, m as DownloadIcon, n as ArrowLeftIcon, o as CheckIcon, p as DotIcon, q as WarningIcon, r as ArrowRightIcon, s as ChevronDownIcon, t as ArrowDownIcon, u as CodeIcon, v as FileIcon, w as MaximizeIcon, x as ImageIcon, y as FolderIcon, z as SidebarIcon } from "../icons-CpfUer49.js";
2
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BoxIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, ImageIcon, InfoIcon, LinkIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SpinnerIcon, SquareIcon, SteerIcon, StopIcon, SunIcon, TerminalIcon, TrashIcon, WarningIcon, WrenchIcon, XIcon };
1
+ import { $ as XIcon, A as MessageSquareIcon, B as PlusIcon, C as FolderOpenIcon, D as LinkIcon, E as InfoIcon, F as MoveToFrontIcon, G as SpinnerIcon, H as RefreshIcon, I as PaperclipIcon, J as SunIcon, K as SquareIcon, L as PauseIcon, M as MinusIcon, N as MonitorIcon, O as MaximizeIcon, P as MoonIcon, Q as WrenchIcon, R as PencilIcon, S as FolderIcon, T as ImageIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as TrashIcon, Y as TerminalIcon, Z as WarningIcon, _ as DownloadIcon, a as ArrowUpIcon, b as EyeOffIcon, c as CalendarIcon, d as ChevronLeftIcon, f as ChevronRightIcon, g as DotIcon, h as DiscordIcon, i as ArrowRightIcon, j as MicrophoneIcon, k as McpIcon, l as CheckIcon, m as CopyIcon, n as ArrowDownIcon, o as BookmarkIcon, p as CodeIcon, q as StopIcon, r as ArrowLeftIcon, s as BoxIcon, t as ArchiveIcon, u as ChevronDownIcon, v as EllipsisIcon, w as HashIcon, x as FileIcon, y as EyeIcon, z as PlayIcon } from "../icons-CQJ-aMnI.js";
2
+ export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BookmarkIcon, BoxIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, HashIcon, ImageIcon, InfoIcon, LinkIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, MoveToFrontIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TerminalIcon, TrashIcon, WarningIcon, WrenchIcon, XIcon };
@@ -1,9 +1,8 @@
1
- import { r as ButtonProps } from "./Button-FX_hpqxm.js";
1
+ import { r as ButtonProps } from "./Button-DLGzHsjc.js";
2
2
  import * as React from "react";
3
3
 
4
4
  //#region src/components/_internal/copy-button.d.ts
5
- interface CopyButtonProps extends Omit<ButtonProps, "children" | "variant" | "color" | "className" | "onClick" | "onError"> {
6
- className?: string;
5
+ interface CopyButtonProps extends Omit<ButtonProps, "children" | "variant" | "color" | "onClick" | "onError"> {
7
6
  label: string;
8
7
  tooltip?: string;
9
8
  text: string;
@@ -1,10 +1,10 @@
1
- import { d as CopyIcon, o as CheckIcon } from "./icons-CpfUer49.js";
1
+ import { l as CheckIcon, m as CopyIcon } from "./icons-CQJ-aMnI.js";
2
2
  import { Button } from "./components/Button.js";
3
3
  import { Tooltip } from "./components/Tooltip.js";
4
4
  import * as React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/_internal/copy-button.tsx
7
- function CopyButton({ label, tooltip = label, text, size = "icon", timeout = 1500, stopPropagation = false, onCopy, onError, onClick, ...props }) {
7
+ function CopyButton({ label, tooltip = label, text, size = "sm", timeout = 1500, stopPropagation = false, onCopy, onError, onClick, ...props }) {
8
8
  const [copied, setCopied] = React.useState(false);
9
9
  const timeoutRef = React.useRef(null);
10
10
  React.useEffect(() => () => {
@@ -34,6 +34,7 @@ function CopyButton({ label, tooltip = label, text, size = "icon", timeout = 150
34
34
  type: "button",
35
35
  variant: "ghost",
36
36
  size,
37
+ iconOnly: true,
37
38
  "aria-label": label,
38
39
  ...props,
39
40
  onClick: handleClick,
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Box, Check, ChevronDown, ChevronLeft, ChevronRight, CircleStop, CodeXml, Copy, CornerDownRight, Dot, Download, Ellipsis, Eye, EyeOff, File, Folder, FolderOpen, Image, Info, Link2, ListRestart, LoaderCircle, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Play, Plus, RefreshCw, Search, Square, Sun, Terminal, Trash2, TriangleAlert, Wrench, X } from "lucide-react";
2
+ import { Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Bookmark, Box, CalendarDays, Check, ChevronDown, ChevronLeft, ChevronRight, CircleStop, CodeXml, Copy, CornerDownRight, Dot, Download, Ellipsis, Eye, EyeOff, File, Folder, FolderOpen, Hash, Image, Info, Link2, ListRestart, LoaderCircle, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Play, Plus, RefreshCw, Search, Square, Sun, Terminal, Trash2, TriangleAlert, Wrench, X } from "lucide-react";
3
3
  import { SiDiscord, SiModelcontextprotocol } from "react-icons/si";
4
4
  //#region src/components/_internal/icons.tsx
5
5
  function icon(Component) {
@@ -31,7 +31,7 @@ const CodeIcon = icon(CodeXml);
31
31
  const XIcon = icon(X);
32
32
  const PencilIcon = icon(Pencil);
33
33
  const CopyIcon = icon(Copy);
34
- const SteerIcon = icon(CornerDownRight);
34
+ const MoveToFrontIcon = icon(CornerDownRight);
35
35
  const EyeIcon = icon(Eye);
36
36
  const EyeOffIcon = icon(EyeOff);
37
37
  const FolderIcon = icon(Folder);
@@ -49,6 +49,8 @@ const ArrowLeftIcon = icon(ArrowLeft);
49
49
  const ArrowRightIcon = icon(ArrowRight);
50
50
  const ArrowDownIcon = icon(ArrowDown);
51
51
  const ArrowUpIcon = icon(ArrowUp);
52
+ const BookmarkIcon = icon(Bookmark);
53
+ const ArchiveIcon = icon(Archive);
52
54
  const DownloadIcon = icon(Download);
53
55
  const RefreshIcon = icon(RefreshCw);
54
56
  const DotIcon = icon(Dot);
@@ -71,6 +73,8 @@ const QueueIcon = icon(ListRestart);
71
73
  const TrashIcon = icon(Trash2);
72
74
  const WarningIcon = icon(TriangleAlert);
73
75
  const BoxIcon = icon(Box);
76
+ const CalendarIcon = icon(CalendarDays);
77
+ const HashIcon = icon(Hash);
74
78
  const WrenchIcon = icon(Wrench);
75
79
  const InfoIcon = icon(Info);
76
80
  const ImageIcon = icon(Image);
@@ -82,4 +86,4 @@ const MoonIcon = icon(Moon);
82
86
  const SunIcon = icon(Sun);
83
87
  const MaximizeIcon = icon(Maximize2);
84
88
  //#endregion
85
- export { MoonIcon as A, SpinnerIcon as B, LinkIcon as C, MicrophoneIcon as D, MessageSquareIcon as E, PlusIcon as F, TerminalIcon as G, SteerIcon as H, QueueIcon as I, WrenchIcon as J, TrashIcon as K, RefreshIcon as L, PauseIcon as M, PencilIcon as N, MinusIcon as O, PlayIcon as P, SearchIcon as R, InfoIcon as S, McpIcon as T, StopIcon as U, SquareIcon as V, SunIcon as W, XIcon as Y, EyeOffIcon as _, BoxIcon as a, FolderOpenIcon as b, ChevronLeftIcon as c, CopyIcon as d, DiscordIcon as f, EyeIcon as g, EllipsisIcon as h, ArrowUpIcon as i, PaperclipIcon as j, MonitorIcon as k, ChevronRightIcon as l, DownloadIcon as m, ArrowLeftIcon as n, CheckIcon as o, DotIcon as p, WarningIcon as q, ArrowRightIcon as r, ChevronDownIcon as s, ArrowDownIcon as t, CodeIcon as u, FileIcon as v, MaximizeIcon as w, ImageIcon as x, FolderIcon as y, SidebarIcon as z };
89
+ export { XIcon as $, MessageSquareIcon as A, PlusIcon as B, FolderOpenIcon as C, LinkIcon as D, InfoIcon as E, MoveToFrontIcon as F, SpinnerIcon as G, RefreshIcon as H, PaperclipIcon as I, SunIcon as J, SquareIcon as K, PauseIcon as L, MinusIcon as M, MonitorIcon as N, MaximizeIcon as O, MoonIcon as P, WrenchIcon as Q, PencilIcon as R, FolderIcon as S, ImageIcon as T, SearchIcon as U, QueueIcon as V, SidebarIcon as W, TrashIcon as X, TerminalIcon as Y, WarningIcon as Z, DownloadIcon as _, ArrowUpIcon as a, EyeOffIcon as b, CalendarIcon as c, ChevronLeftIcon as d, ChevronRightIcon as f, DotIcon as g, DiscordIcon as h, ArrowRightIcon as i, MicrophoneIcon as j, McpIcon as k, CheckIcon as l, CopyIcon as m, ArrowDownIcon as n, BookmarkIcon as o, CodeIcon as p, StopIcon as q, ArrowLeftIcon as r, BoxIcon as s, ArchiveIcon as t, ChevronDownIcon as u, EllipsisIcon as v, HashIcon as w, FileIcon as x, EyeIcon as y, PlayIcon as z };
@@ -52,7 +52,7 @@ declare const CopyIcon: ({
52
52
  strokeWidth,
53
53
  ...props
54
54
  }: IconProps) => import("react").JSX.Element;
55
- declare const SteerIcon: ({
55
+ declare const MoveToFrontIcon: ({
56
56
  size,
57
57
  strokeWidth,
58
58
  ...props
@@ -142,6 +142,16 @@ declare const ArrowUpIcon: ({
142
142
  strokeWidth,
143
143
  ...props
144
144
  }: IconProps) => import("react").JSX.Element;
145
+ declare const BookmarkIcon: ({
146
+ size,
147
+ strokeWidth,
148
+ ...props
149
+ }: IconProps) => import("react").JSX.Element;
150
+ declare const ArchiveIcon: ({
151
+ size,
152
+ strokeWidth,
153
+ ...props
154
+ }: IconProps) => import("react").JSX.Element;
145
155
  declare const DownloadIcon: ({
146
156
  size,
147
157
  strokeWidth,
@@ -208,6 +218,16 @@ declare const BoxIcon: ({
208
218
  strokeWidth,
209
219
  ...props
210
220
  }: IconProps) => import("react").JSX.Element;
221
+ declare const CalendarIcon: ({
222
+ size,
223
+ strokeWidth,
224
+ ...props
225
+ }: IconProps) => import("react").JSX.Element;
226
+ declare const HashIcon: ({
227
+ size,
228
+ strokeWidth,
229
+ ...props
230
+ }: IconProps) => import("react").JSX.Element;
211
231
  declare const WrenchIcon: ({
212
232
  size,
213
233
  strokeWidth,
@@ -257,4 +277,4 @@ declare const MaximizeIcon: ({
257
277
  ...props
258
278
  }: IconProps) => import("react").JSX.Element;
259
279
  //#endregion
260
- export { MinusIcon as A, SearchIcon as B, ImageIcon as C, McpIcon as D, MaximizeIcon as E, PencilIcon as F, StopIcon as G, SpinnerIcon as H, PlayIcon as I, TrashIcon as J, SunIcon as K, PlusIcon as L, MoonIcon as M, PaperclipIcon as N, MessageSquareIcon as O, PauseIcon as P, QueueIcon as R, IconProps as S, LinkIcon as T, SquareIcon as U, SidebarIcon as V, SteerIcon as W, WrenchIcon as X, WarningIcon as Y, XIcon as Z, EyeIcon as _, BoxIcon as a, FolderIcon as b, ChevronDownIcon as c, CodeIcon as d, CopyIcon as f, EllipsisIcon as g, DownloadIcon as h, ArrowUpIcon as i, MonitorIcon as j, MicrophoneIcon as k, ChevronLeftIcon as l, DotIcon as m, ArrowLeftIcon as n, BrandIconProps as o, DiscordIcon as p, TerminalIcon as q, ArrowRightIcon as r, CheckIcon as s, ArrowDownIcon as t, ChevronRightIcon as u, EyeOffIcon as v, InfoIcon as w, FolderOpenIcon as x, FileIcon as y, RefreshIcon as z };
280
+ export { WarningIcon as $, MaximizeIcon as A, PencilIcon as B, FolderIcon as C, ImageIcon as D, IconProps as E, MonitorIcon as F, SearchIcon as G, PlusIcon as H, MoonIcon as I, SquareIcon as J, SidebarIcon as K, MoveToFrontIcon as L, MessageSquareIcon as M, MicrophoneIcon as N, InfoIcon as O, MinusIcon as P, TrashIcon as Q, PaperclipIcon as R, FileIcon as S, HashIcon as T, QueueIcon as U, PlayIcon as V, RefreshIcon as W, SunIcon as X, StopIcon as Y, TerminalIcon as Z, DotIcon as _, ArrowUpIcon as a, EyeIcon as b, BrandIconProps as c, ChevronDownIcon as d, WrenchIcon as et, ChevronLeftIcon as f, DiscordIcon as g, CopyIcon as h, ArrowRightIcon as i, McpIcon as j, LinkIcon as k, CalendarIcon as l, CodeIcon as m, ArrowDownIcon as n, BookmarkIcon as o, ChevronRightIcon as p, SpinnerIcon as q, ArrowLeftIcon as r, BoxIcon as s, ArchiveIcon as t, XIcon as tt, CheckIcon as u, DownloadIcon as v, FolderOpenIcon as w, EyeOffIcon as x, EllipsisIcon as y, PauseIcon as z };
@@ -0,0 +1,19 @@
1
+ import { useRender } from "@base-ui/react/use-render";
2
+ //#region src/components/_internal/navigation-link.tsx
3
+ /**
4
+ * Merges design-system anchor props into an application-owned router Link.
5
+ *
6
+ * Keeping the Link element at the call site lets the consuming application's
7
+ * registered route tree infer `to`, `params`, and `search` without routing
8
+ * generics leaking through every design-system component.
9
+ */
10
+ function NavigationLink({ render, ref, ...props }) {
11
+ return useRender({
12
+ defaultTagName: "a",
13
+ render,
14
+ ref,
15
+ props
16
+ });
17
+ }
18
+ //#endregion
19
+ export { NavigationLink as t };
@@ -33,8 +33,8 @@
33
33
  border-radius: var(--sigvelo-radius-md);
34
34
  cursor: pointer;
35
35
  transition:
36
- background-color var(--sigvelo-duration-fast) var(--sigvelo-ease-standard),
37
- color var(--sigvelo-duration-fast) var(--sigvelo-ease-standard);
36
+ background-color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
37
+ color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
38
38
  }
39
39
 
40
40
  .accordion__trigger:hover:not(:disabled):not([data-disabled]) {
@@ -52,30 +52,15 @@
52
52
  }
53
53
 
54
54
  .accordion__panel {
55
- block-size: var(--accordion-panel-height);
56
- overflow: hidden;
55
+ --sigvelo-disclosure-panel-height: var(--accordion-panel-height);
56
+
57
57
  font-family: inherit;
58
58
  font-size: var(--sigvelo-text-sm);
59
59
  line-height: 1.625;
60
60
  color: var(--sigvelo-color-text-muted);
61
- transition:
62
- block-size var(--sigvelo-duration-medium) var(--sigvelo-ease-emphasized),
63
- opacity var(--sigvelo-duration-fast) var(--sigvelo-ease-standard);
64
- }
65
-
66
- .accordion__panel[data-starting-style],
67
- .accordion__panel[data-ending-style] {
68
- block-size: 0;
69
- opacity: 0;
70
61
  }
71
62
 
72
63
  .accordion__panel > * {
73
64
  padding-block-end: var(--sigvelo-spacing-4);
74
65
  padding-inline: var(--sigvelo-recipe-control-padding-inline);
75
66
  }
76
-
77
- @media (prefers-reduced-motion: reduce) {
78
- .accordion__panel {
79
- transition-duration: var(--sigvelo-duration-reduced);
80
- }
81
- }