@mcp-b/react-components 0.48.0 → 0.49.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 (299) hide show
  1. package/dist/AgentChatQueue-C_Jaw3Ia.d.ts +48 -0
  2. package/dist/AgentToolRunsContext-GMe_hSnD.d.ts +35 -0
  3. package/dist/Avatar-o2NO1fCG.d.ts +124 -0
  4. package/dist/{Button-CZt3yywF.d.ts → Button-DjONW5UW.d.ts} +1 -1
  5. package/dist/{CodeBlock-C380GD5t.d.ts → CodeBlock--r6GS8YV.d.ts} +8 -2
  6. package/dist/{CodeBlock-BSJl682D.js → CodeBlock-g8sADidM.js} +8 -8
  7. package/dist/{FileTree-DvE0hNZu.js → FileTree-H8mMg4rV.js} +21 -30
  8. package/dist/{IconButton-BAUFhUk8.d.ts → IconButton-ByiyjkYE.d.ts} +2 -2
  9. package/dist/{Message-D_vCVEGB.d.ts → Message-DyaTBiV7.d.ts} +17 -4
  10. package/dist/MessageScrollerVirtual-D4afYwVB.d.ts +84 -0
  11. package/dist/{PromptInput-DtJHyp0S.d.ts → PromptInput-C4Mofitz.d.ts} +44 -31
  12. package/dist/PromptInputApproval-D2hpn54U.d.ts +44 -0
  13. package/dist/Separator-CzhtLYE1.d.ts +41 -0
  14. package/dist/Toolbar-CGY004u0.d.ts +155 -0
  15. package/dist/{Workspace-LIoU30n7.d.ts → Workspace-HzGrWDX3.d.ts} +1 -1
  16. package/dist/{WorkspaceFile-Dq-GC0_T.d.ts → WorkspaceFile-Bouauobc.d.ts} +1 -1
  17. package/dist/{WorkspaceFileView-C_WnYm-a.js → WorkspaceFileView-DYPtRVpM.js} +5 -4
  18. package/dist/{WorkspaceLink-B1d2GIGl.js → WorkspaceLink-BYZG-V_I.js} +8 -91
  19. package/dist/{WorkspaceMessageResponse-BqOezptB.js → WorkspaceMessageResponse-CUJk9_P5.js} +2 -2
  20. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  21. package/dist/components/agents-sdk/AgentChat.d.ts +198 -2
  22. package/dist/components/agents-sdk/AgentChat.js +527 -672
  23. package/dist/components/agents-sdk/AgentChatQueue.d.ts +2 -0
  24. package/dist/components/agents-sdk/AgentChatQueue.js +206 -0
  25. package/dist/components/agents-sdk/AgentEvent.js +2 -2
  26. package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
  27. package/dist/components/agents-sdk/AgentToolRunsContext.js +1 -36
  28. package/dist/components/agents-sdk/BrowserLiveScreen.js +22 -14
  29. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  30. package/dist/components/agents-sdk/BrowserReplay.d.ts +1 -1
  31. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  32. package/dist/components/agents-sdk/BrowserRunPanel.d.ts +3 -0
  33. package/dist/components/agents-sdk/BrowserRunPanel.js +32 -31
  34. package/dist/components/agents-sdk/EmployeeChrome.d.ts +212 -0
  35. package/dist/components/agents-sdk/EmployeeChrome.js +555 -0
  36. package/dist/components/agents-sdk/ManagerOffice.d.ts +79 -40
  37. package/dist/components/agents-sdk/ManagerOffice.js +291 -281
  38. package/dist/components/agents-sdk/McpConnectionRequest.d.ts +4 -4
  39. package/dist/components/agents-sdk/McpConnectionRequest.js +4 -3
  40. package/dist/components/agents-sdk/McpConnectorForm.d.ts +38 -1
  41. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  42. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +93 -1
  43. package/dist/components/agents-sdk/McpPluginCatalog.js +5 -4
  44. package/dist/components/agents-sdk/McpServerIcon.d.ts +17 -0
  45. package/dist/components/agents-sdk/McpServerIcon.js +25 -0
  46. package/dist/components/agents-sdk/McpServerPicker.d.ts +4 -3
  47. package/dist/components/agents-sdk/McpServerPicker.js +4 -3
  48. package/dist/components/agents-sdk/ModelSelector.d.ts +4 -4
  49. package/dist/components/agents-sdk/ModelSelector.js +4 -4
  50. package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -43
  51. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  52. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  53. package/dist/components/agents-sdk/PromptInputCommands.js +2 -3
  54. package/dist/components/agents-sdk/SessionCompaction.d.ts +88 -1
  55. package/dist/components/agents-sdk/SessionCompaction.js +2 -2
  56. package/dist/components/agents-sdk/SubagentRunDetails.d.ts +30 -1
  57. package/dist/components/agents-sdk/SubagentRunDetails.js +57 -1
  58. package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +9 -9
  59. package/dist/components/agents-sdk/SubagentRunIndicator.js +19 -24
  60. package/dist/components/agents-sdk/SubagentRunList.d.ts +6 -3
  61. package/dist/components/agents-sdk/SubagentRunList.js +4 -2
  62. package/dist/components/agents-sdk/SubagentRunPanel.d.ts +60 -0
  63. package/dist/components/agents-sdk/SubagentRunPanel.js +255 -0
  64. package/dist/components/agents-sdk/SubagentRunSelector.d.ts +8 -4
  65. package/dist/components/agents-sdk/SubagentRunSelector.js +5 -3
  66. package/dist/components/agents-sdk/ThinkChat.d.ts +102 -2
  67. package/dist/components/agents-sdk/ThinkChat.js +233 -2
  68. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +76 -1
  69. package/dist/components/agents-sdk/ThinkChatActivity.js +18 -10
  70. package/dist/components/agents-sdk/ThinkChatContext.d.ts +27 -1
  71. package/dist/components/agents-sdk/ThinkChatContext.js +1 -1
  72. package/dist/components/agents-sdk/ThinkChatToolPanels.js +24 -19
  73. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  74. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
  75. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  76. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +85 -28
  77. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +159 -102
  78. package/dist/components/agents-sdk/ThinkFullApp.d.ts +40 -158
  79. package/dist/components/agents-sdk/ThinkFullApp.js +71 -290
  80. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +18 -1
  81. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  82. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +51 -0
  83. package/dist/components/agents-sdk/ThinkRoutineActions.js +201 -0
  84. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +4 -1
  85. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +17 -15
  86. package/dist/components/agents-sdk/ThinkRoutineDetail.js +11 -11
  87. package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +2 -1
  88. package/dist/components/agents-sdk/ThinkRoutineForm.js +14 -14
  89. package/dist/components/agents-sdk/ThinkRoutineRuns.js +7 -7
  90. package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +90 -1
  91. package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
  92. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  93. package/dist/components/agents-sdk/Workspace.js +7 -13
  94. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
  95. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  96. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
  97. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +10 -1
  98. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +10 -7
  99. package/dist/components/agents-sdk/WorkspaceExecution.d.ts +5 -14
  100. package/dist/components/agents-sdk/WorkspaceExecution.js +24 -38
  101. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +5 -2
  102. package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -2
  103. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  104. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
  105. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  106. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  107. package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
  108. package/dist/components/agents-sdk/WorkspaceLive.d.ts +60 -1
  109. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +47 -1
  110. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  111. package/dist/components/agents-sdk/WorkspaceMountManager.d.ts +3 -2
  112. package/dist/components/agents-sdk/WorkspaceMountManager.js +6 -9
  113. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +38 -0
  114. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +86 -0
  115. package/dist/components/agents-sdk/WorkspaceProject.d.ts +5 -14
  116. package/dist/components/agents-sdk/WorkspaceProject.js +21 -35
  117. package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +1 -1
  118. package/dist/components/agents-sdk/WorkspaceUserScript.js +8 -5
  119. package/dist/components/ai-sdk/Activity.d.ts +1 -1
  120. package/dist/components/ai-sdk/Activity.js +1 -1
  121. package/dist/components/ai-sdk/AgentAttention.d.ts +2 -2
  122. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +89 -2
  123. package/dist/components/ai-sdk/AgentChatStartScreen.js +64 -43
  124. package/dist/components/ai-sdk/AgentMessageParts.d.ts +45 -1
  125. package/dist/components/ai-sdk/Approval.d.ts +1 -1
  126. package/dist/components/ai-sdk/Approval.js +2 -2
  127. package/dist/components/ai-sdk/Artifact.d.ts +2 -2
  128. package/dist/components/ai-sdk/Artifact.js +1 -1
  129. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  130. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  131. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  132. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  133. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  134. package/dist/components/ai-sdk/ComposerLink.js +2 -3
  135. package/dist/components/ai-sdk/ConnectedAppCards.d.ts +9 -1
  136. package/dist/components/ai-sdk/ConnectedAppCards.js +28 -21
  137. package/dist/components/ai-sdk/Context.d.ts +7 -3
  138. package/dist/components/ai-sdk/Context.js +7 -17
  139. package/dist/components/ai-sdk/Conversation.d.ts +2 -2
  140. package/dist/components/ai-sdk/Conversation.js +1 -1
  141. package/dist/components/ai-sdk/Goal.d.ts +3 -3
  142. package/dist/components/ai-sdk/Goal.js +3 -3
  143. package/dist/components/ai-sdk/InlineCitation.d.ts +1 -1
  144. package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
  145. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  146. package/dist/components/ai-sdk/Message.d.ts +2 -2
  147. package/dist/components/ai-sdk/Message.js +12 -3
  148. package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
  149. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  150. package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +2 -76
  151. package/dist/components/ai-sdk/MessageScrollerVirtual.js +39 -5
  152. package/dist/components/ai-sdk/Plan.d.ts +1 -1
  153. package/dist/components/ai-sdk/Plan.js +1 -1
  154. package/dist/components/ai-sdk/PromptInput.d.ts +2 -2
  155. package/dist/components/ai-sdk/PromptInput.js +175 -231
  156. package/dist/components/ai-sdk/PromptInputComposerEditor.js +32 -9
  157. package/dist/components/ai-sdk/Queue.d.ts +28 -5
  158. package/dist/components/ai-sdk/Queue.js +20 -5
  159. package/dist/components/ai-sdk/Reasoning.d.ts +1 -1
  160. package/dist/components/ai-sdk/Reasoning.js +5 -5
  161. package/dist/components/ai-sdk/Sources.d.ts +1 -1
  162. package/dist/components/ai-sdk/Sources.js +1 -1
  163. package/dist/components/ai-sdk/Task.d.ts +1 -1
  164. package/dist/components/ai-sdk/Task.js +1 -1
  165. package/dist/components/extension/ChatGptSignInScreen.d.ts +1 -1
  166. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  167. package/dist/components/extension/CodexModelSelector.d.ts +5 -0
  168. package/dist/components/extension/CodexModelSelector.js +2 -2
  169. package/dist/components/extension/ConversationTabPicker.d.ts +1 -0
  170. package/dist/components/extension/ConversationTabPicker.js +2 -2
  171. package/dist/components/foundations/AlertDialog.d.ts +1 -1
  172. package/dist/components/foundations/AppIcon.d.ts +3 -2
  173. package/dist/components/foundations/Autocomplete.js +6 -1
  174. package/dist/components/foundations/Avatar.d.ts +1 -121
  175. package/dist/components/foundations/Button.d.ts +1 -1
  176. package/dist/components/foundations/Card.d.ts +22 -27
  177. package/dist/components/foundations/Card.js +51 -32
  178. package/dist/components/foundations/Checkbox.js +1 -1
  179. package/dist/components/foundations/CheckboxGroup.d.ts +1 -1
  180. package/dist/components/foundations/Collapsible.d.ts +1 -1
  181. package/dist/components/foundations/Collapsible.js +1 -1
  182. package/dist/components/foundations/Combobox.js +6 -1
  183. package/dist/components/foundations/ContextMenu.js +1 -1
  184. package/dist/components/foundations/Dialog.d.ts +106 -1
  185. package/dist/components/foundations/EmptyState.d.ts +1 -1
  186. package/dist/components/foundations/Field.d.ts +2 -1
  187. package/dist/components/foundations/Fieldset.d.ts +1 -1
  188. package/dist/components/foundations/Form.d.ts +4 -4
  189. package/dist/components/foundations/IconButton.d.ts +1 -1
  190. package/dist/components/foundations/Label.d.ts +1 -1
  191. package/dist/components/foundations/LinkButton.d.ts +2 -2
  192. package/dist/components/foundations/Menubar.js +1 -1
  193. package/dist/components/foundations/Meter.d.ts +1 -1
  194. package/dist/components/foundations/NumberField.d.ts +1 -1
  195. package/dist/components/foundations/ScrollArea.d.ts +1 -1
  196. package/dist/components/foundations/SearchField.d.ts +1 -1
  197. package/dist/components/foundations/SearchField.js +1 -1
  198. package/dist/components/foundations/Select.js +7 -2
  199. package/dist/components/foundations/Separator.d.ts +1 -40
  200. package/dist/components/foundations/Stepper.d.ts +1 -1
  201. package/dist/components/foundations/Stepper.js +1 -1
  202. package/dist/components/foundations/Textarea.d.ts +1 -1
  203. package/dist/components/foundations/Toast.d.ts +5 -1
  204. package/dist/components/foundations/Toast.js +1 -1
  205. package/dist/components/foundations/Toggle.d.ts +70 -1
  206. package/dist/components/foundations/ToggleGroup.d.ts +4 -3
  207. package/dist/components/foundations/ToggleGroup.js +1 -1
  208. package/dist/components/foundations/Toolbar.d.ts +1 -151
  209. package/dist/components/foundations/TransitionSurface.d.ts +1 -1
  210. package/dist/components/foundations/icons.js +1 -1
  211. package/dist/components/general-purpose/ActionGuide.d.ts +10 -26
  212. package/dist/components/general-purpose/ActionGuide.js +4 -18
  213. package/dist/components/general-purpose/AppTopBar.d.ts +4 -2
  214. package/dist/components/general-purpose/Commit.d.ts +2 -2
  215. package/dist/components/general-purpose/Commit.js +2 -2
  216. package/dist/components/general-purpose/EnvironmentVariables.d.ts +2 -2
  217. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  218. package/dist/components/general-purpose/FileTree.d.ts +1 -7
  219. package/dist/components/general-purpose/FileTree.js +1 -1
  220. package/dist/components/general-purpose/PricingPlanCard.d.ts +4 -0
  221. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  222. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  223. package/dist/components/general-purpose/ResizableSidePanel.d.ts +2 -2
  224. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +128 -2
  225. package/dist/components/general-purpose/ResponsiveSidebarShell.js +120 -102
  226. package/dist/components/general-purpose/SettingsFormDialog.d.ts +14 -27
  227. package/dist/components/general-purpose/SettingsFormDialog.js +42 -72
  228. package/dist/components/general-purpose/SetupChecklist.d.ts +1 -0
  229. package/dist/components/general-purpose/SetupChecklist.js +76 -1
  230. package/dist/components/general-purpose/Terminal.d.ts +3 -3
  231. package/dist/components/general-purpose/Terminal.js +11 -6
  232. package/dist/components/general-purpose/TestResults.d.ts +23 -11
  233. package/dist/components/general-purpose/TestResults.js +49 -51
  234. package/dist/components/general-purpose/ThemeModeControl.d.ts +2 -0
  235. package/dist/components/general-purpose/ThemeModeControl.js +2 -2
  236. package/dist/components/general-purpose/WebPreview.d.ts +29 -4
  237. package/dist/components/general-purpose/WebPreview.js +39 -14
  238. package/dist/components/nanites/AgentConnection.js +2 -2
  239. package/dist/components/nanites/AgentToolDetail.d.ts +13 -11
  240. package/dist/components/nanites/AgentToolDetail.js +21 -42
  241. package/dist/{copy-button-Dk2vRe9j.js → copy-button-CSDuDfdP.js} +1 -1
  242. package/dist/{copy-button-C0JyjClr.d.ts → copy-button-OUwOdgEm.d.ts} +1 -1
  243. package/dist/mcp-server-mAErsxHU.js +27 -0
  244. package/dist/styles/activity.css +1 -96
  245. package/dist/styles/agent-chat.css +75 -102
  246. package/dist/styles/agent-tool-detail.css +0 -16
  247. package/dist/styles/base.css +1 -1
  248. package/dist/styles/browser-run-panel.css +1 -15
  249. package/dist/styles/button.css +7 -1
  250. package/dist/styles/code-block.css +12 -0
  251. package/dist/styles/composition-motion.css +0 -2
  252. package/dist/styles/employee-chrome.css +43 -0
  253. package/dist/styles/file-tree.css +5 -0
  254. package/dist/styles/index.css +4 -2
  255. package/dist/styles/message.css +2 -10
  256. package/dist/styles/queue.css +71 -0
  257. package/dist/styles/subagent-run.css +122 -6
  258. package/dist/styles/test-results.css +2 -5
  259. package/dist/styles/think-chat-activity.css +13 -0
  260. package/dist/styles/think-chat-tool-panels.css +81 -0
  261. package/dist/styles/think-execution-workbench.css +2 -8
  262. package/dist/styles/think-full-app.css +42 -251
  263. package/dist/styles/{think-routine-library.css → think-routine.css} +64 -80
  264. package/dist/styles/web-preview.css +15 -1
  265. package/dist/utils/mcp-server-catalog.d.ts +1112 -2
  266. package/dist/utils/mcp-server-catalog.js +28 -9
  267. package/dist/utils/structured-code.d.ts +1 -1
  268. package/dist/{workspace-assets-GqsCYxqT.js → workspace-assets-Bg7XhPsk.js} +2 -2
  269. package/package.json +7 -3
  270. package/dist/AgentChat-BLmQghkt.d.ts +0 -327
  271. package/dist/AgentChatStartScreen-Bkv7Avni.d.ts +0 -84
  272. package/dist/AgentMessageParts-C7L-Mv9U.d.ts +0 -46
  273. package/dist/AgentToolRunsContext-jtmveaRE.d.ts +0 -57
  274. package/dist/Dialog-B_FhRWaz.d.ts +0 -107
  275. package/dist/McpConnectorForm-CeYNY0MI.d.ts +0 -39
  276. package/dist/McpPluginCatalog-3qWu8oK1.d.ts +0 -92
  277. package/dist/ResponsiveSidebarShell-BTVPxLJK.d.ts +0 -123
  278. package/dist/SessionCompaction-CmTJFpzj.d.ts +0 -89
  279. package/dist/SetupChecklist-DeTU9YpW.js +0 -77
  280. package/dist/ThinkChat-CwMdEum8.d.ts +0 -185
  281. package/dist/ThinkChat-DiI6hhDP.js +0 -332
  282. package/dist/ThinkChatActivity-B3lGVS-6.d.ts +0 -77
  283. package/dist/ThinkChatContext-COIgzkYp.d.ts +0 -28
  284. package/dist/ThinkRecoveryNotice-DGWr94rk.d.ts +0 -19
  285. package/dist/ThinkThreadPicker-yFz4vvIf.d.ts +0 -91
  286. package/dist/Toggle-DLrIf5YH.d.ts +0 -69
  287. package/dist/WorkspaceLive-DfjH1Ypm.d.ts +0 -61
  288. package/dist/WorkspaceMessageResponse-kJYU8Onj.d.ts +0 -48
  289. package/dist/components/agents-sdk/ThinkFullAppViewSwitch.d.ts +0 -31
  290. package/dist/components/agents-sdk/ThinkFullAppViewSwitch.js +0 -34
  291. package/dist/components/agents-sdk/ThinkRoutineLibrary.d.ts +0 -80
  292. package/dist/components/agents-sdk/ThinkRoutineLibrary.js +0 -159
  293. package/dist/components/agents-sdk/ThinkSidepanel.d.ts +0 -200
  294. package/dist/components/agents-sdk/ThinkSidepanel.js +0 -775
  295. package/dist/mcp-server-7NR24ASj.js +0 -69
  296. package/dist/mcp-server-catalog-C_g7C-9o.d.ts +0 -1108
  297. package/dist/styles/think-sidepanel.css +0 -78
  298. package/dist/think-agent-Cip5KAPj.d.ts +0 -7
  299. package/dist/{icons-CeGfXO21.js → icons-cuEtsgj9.js} +1 -1
@@ -1,17 +1,18 @@
1
- import { r as ToggleVariantsOptions } from "../../Toggle-DLrIf5YH.js";
1
+ import { ToggleVariantsOptions } from "./Toggle.js";
2
2
  import * as React from "react";
3
- import { Toggle } from "@base-ui/react/toggle";
4
3
  import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
4
+ import { Toggle } from "@base-ui/react/toggle";
5
5
 
6
6
  //#region src/components/foundations/ToggleGroup.d.ts
7
7
  type ToggleGroupSize = ToggleVariantsOptions["size"];
8
8
  type ToggleGroupProps<Value extends string = string> = ToggleGroup$1.Props<Value> & {
9
+ /** Axis used for roving focus and group layout. */orientation?: ToggleGroup$1.Props<Value>["orientation"]; /** Visual treatment inherited by every item in the group. */
9
10
  variant?: ToggleVariantsOptions["variant"];
10
11
  /**
11
12
  * The size of the toggle group.
12
13
  * @default 'md'
13
14
  */
14
- size?: ToggleGroupSize;
15
+ size?: ToggleGroupSize; /** Gap between items in CSS pixels; use `0` for a connected segmented control. */
15
16
  spacing?: number;
16
17
  /**
17
18
  * Draws one shared thumb that slides between segments rather than lighting up
@@ -3,8 +3,8 @@ import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
3
3
  import { toggleVariants } from "./Toggle.js";
4
4
  import * as React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- import { Toggle } from "@base-ui/react/toggle";
7
6
  import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
7
+ import { Toggle } from "@base-ui/react/toggle";
8
8
  //#region src/components/foundations/ToggleGroup.tsx
9
9
  /**
10
10
  * Tracks the pressed item's box so the segmented thumb can slide to it instead
@@ -1,152 +1,2 @@
1
- import * as React from "react";
2
- import { Toolbar as Toolbar$1 } from "@base-ui/react/toolbar";
3
-
4
- //#region src/components/foundations/Toolbar.d.ts
5
- /**
6
- * Props for the Toolbar.Root component.
7
- */
8
- interface ToolbarRootProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Root> {}
9
- /**
10
- * Props for the Toolbar.Button component.
11
- */
12
- interface ToolbarButtonProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Button> {
13
- /** Skip the default Button chrome when a composed control owns its visuals. */
14
- unstyled?: boolean;
15
- }
16
- /**
17
- * Props for the Toolbar.Link component.
18
- */
19
- interface ToolbarLinkProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Link> {
20
- /** Skip the default Button chrome when a composed link owns its visuals. */
21
- unstyled?: boolean;
22
- }
23
- /**
24
- * Props for the Toolbar.Group component.
25
- */
26
- interface ToolbarGroupProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Group> {}
27
- /**
28
- * Props for the Toolbar.Separator component.
29
- */
30
- interface ToolbarSeparatorProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Separator> {}
31
- /**
32
- * Props for the Toolbar.Input component.
33
- */
34
- interface ToolbarInputProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Input> {}
35
- /**
36
- * Container for grouping toolbar buttons and controls.
37
- *
38
- * @example
39
- * ```tsx
40
- * <Toolbar.Root>
41
- * <Toolbar.Button>Bold</Toolbar.Button>
42
- * <Toolbar.Button>Italic</Toolbar.Button>
43
- * <Toolbar.Separator />
44
- * <Toolbar.Button>Align Left</Toolbar.Button>
45
- * </Toolbar.Root>
46
- * ```
47
- *
48
- * @see {@link https://base-ui.com/react/components/toolbar | Base UI Toolbar}
49
- */
50
- declare function ToolbarRoot({
51
- className,
52
- ref,
53
- ...props
54
- }: ToolbarRootProps & {
55
- ref?: React.Ref<HTMLDivElement>;
56
- }): React.JSX.Element;
57
- /**
58
- * A clickable button within the toolbar.
59
- */
60
- declare function ToolbarButton({
61
- unstyled,
62
- className,
63
- ref,
64
- ...props
65
- }: ToolbarButtonProps & {
66
- ref?: React.Ref<HTMLButtonElement>;
67
- }): React.JSX.Element;
68
- /**
69
- * A link element within the toolbar.
70
- */
71
- declare function ToolbarLink({
72
- unstyled,
73
- className,
74
- ref,
75
- ...props
76
- }: ToolbarLinkProps & {
77
- ref?: React.Ref<HTMLAnchorElement>;
78
- }): React.JSX.Element;
79
- /**
80
- * Groups toolbar items together.
81
- */
82
- declare function ToolbarGroup({
83
- className,
84
- ref,
85
- ...props
86
- }: ToolbarGroupProps & {
87
- ref?: React.Ref<HTMLDivElement>;
88
- }): React.JSX.Element;
89
- /**
90
- * Visual separator between toolbar sections.
91
- */
92
- declare function ToolbarSeparator({
93
- className,
94
- ref,
95
- ...props
96
- }: ToolbarSeparatorProps & {
97
- ref?: React.Ref<HTMLDivElement>;
98
- }): React.JSX.Element;
99
- /**
100
- * Input element within the toolbar.
101
- */
102
- declare function ToolbarInput({
103
- className,
104
- ref,
105
- ...props
106
- }: ToolbarInputProps & {
107
- ref?: React.Ref<HTMLInputElement>;
108
- }): React.JSX.Element;
109
- /**
110
- * A container for grouping buttons and controls.
111
- * Provides keyboard navigation between items.
112
- *
113
- * @example
114
- * ```tsx
115
- * // Text formatting toolbar
116
- * <Toolbar.Root>
117
- * <Toolbar.Group>
118
- * <Toolbar.Button>Bold</Toolbar.Button>
119
- * <Toolbar.Button>Italic</Toolbar.Button>
120
- * <Toolbar.Button>Underline</Toolbar.Button>
121
- * </Toolbar.Group>
122
- * <Toolbar.Separator />
123
- * <Toolbar.Group>
124
- * <Toolbar.Button>Left</Toolbar.Button>
125
- * <Toolbar.Button>Center</Toolbar.Button>
126
- * <Toolbar.Button>Right</Toolbar.Button>
127
- * </Toolbar.Group>
128
- * </Toolbar.Root>
129
- * ```
130
- *
131
- * @example
132
- * ```tsx
133
- * // Vertical toolbar
134
- * <Toolbar.Root orientation="vertical">
135
- * <Toolbar.Button>Item 1</Toolbar.Button>
136
- * <Toolbar.Button>Item 2</Toolbar.Button>
137
- * <Toolbar.Button>Item 3</Toolbar.Button>
138
- * </Toolbar.Root>
139
- * ```
140
- *
141
- * @see {@link https://base-ui.com/react/components/toolbar | Base UI Toolbar}
142
- */
143
- declare const Toolbar: {
144
- Root: typeof ToolbarRoot;
145
- Button: typeof ToolbarButton;
146
- Link: typeof ToolbarLink;
147
- Group: typeof ToolbarGroup;
148
- Separator: typeof ToolbarSeparator;
149
- Input: typeof ToolbarInput;
150
- };
151
- //#endregion
1
+ import { a as ToolbarLinkProps, i as ToolbarInputProps, n as ToolbarButtonProps, o as ToolbarRootProps, r as ToolbarGroupProps, s as ToolbarSeparatorProps, t as Toolbar } from "../../Toolbar-CGY004u0.js";
152
2
  export { Toolbar, ToolbarButtonProps, ToolbarGroupProps, ToolbarInputProps, ToolbarLinkProps, ToolbarRootProps, ToolbarSeparatorProps };
@@ -21,7 +21,7 @@ declare function TransitionSurface({
21
21
  ref,
22
22
  ...props
23
23
  }: TransitionSurfaceProps & {
24
- ref?: React.Ref<HTMLDivElement>;
24
+ /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
25
25
  }): React.JSX.Element;
26
26
  //#endregion
27
27
  export { TransitionSurface, TransitionSurfaceProps, TransitionSurfaceVariant };
@@ -1,2 +1,2 @@
1
- import { $ as UserIcon, A as McpIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, L as PauseIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TrashIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as TargetIcon, Y as SunIcon, Z as TerminalIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as XIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SquareIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WrenchIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-CeGfXO21.js";
1
+ import { $ as UserIcon, A as McpIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, L as PauseIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TrashIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as TargetIcon, Y as SunIcon, Z as TerminalIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as XIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SquareIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WrenchIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-cuEtsgj9.js";
2
2
  export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, InfoIcon, KeyboardIcon, LinkIcon, MailIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, UserIcon, WarningIcon, WrenchIcon, XIcon };
@@ -1,36 +1,21 @@
1
- import { r as ButtonProps } from "../../Button-CZt3yywF.js";
1
+ import { r as ButtonProps } from "../../Button-DjONW5UW.js";
2
2
  import * as React from "react";
3
3
 
4
4
  //#region src/components/general-purpose/ActionGuide.d.ts
5
5
  type ActionGuideHeadingLevel = 2 | 3 | 4 | 5 | 6;
6
6
  type ActionGuideListLayout = "compact" | "cards" | "list";
7
- interface ActionGuideActionItem {
8
- id: string;
9
- label: React.ReactNode;
10
- icon?: React.ReactNode;
11
- variant?: "surface" | "ghost";
12
- disabled?: boolean;
13
- }
14
- interface ActionGuideSectionItem {
15
- id: string;
16
- title: React.ReactNode;
17
- layout?: ActionGuideListLayout;
18
- actions: readonly ActionGuideActionItem[];
19
- }
20
- interface ActionGuideProps extends Omit<React.ComponentPropsWithoutRef<"article">, "children" | "title"> {
7
+ interface ActionGuideProps extends Omit<React.ComponentPropsWithoutRef<"article">, "title"> {
21
8
  /** Short, task-oriented introduction to the guide. */
22
9
  title: React.ReactNode;
23
10
  /** Optional sentence that explains what the guide helps the user do. */
24
11
  description?: React.ReactNode;
25
12
  /** Semantic heading level for the guide title. */
26
13
  headingLevel?: ActionGuideHeadingLevel;
27
- /** Complete section/action data; product copy and availability remain host-owned. */
28
- sections: readonly ActionGuideSectionItem[];
29
- /** Central action policy for data-driven sections. */
30
- onAction: (action: ActionGuideActionItem) => void;
14
+ /** Compose sections, lists, and actions explicitly; the host owns each action. */
15
+ children?: React.ReactNode;
31
16
  }
32
17
  /**
33
- * App-agnostic guide hydrated from product-owned sections and actions.
18
+ * App-agnostic article composed from product-owned sections and actions.
34
19
  *
35
20
  * Product code owns the copy, icons, availability, and click behavior. This
36
21
  * component owns only the shared article rhythm and responsive layout.
@@ -39,15 +24,14 @@ declare function ActionGuide({
39
24
  title,
40
25
  description,
41
26
  headingLevel,
42
- sections,
43
- onAction,
27
+ children,
44
28
  className,
45
29
  "aria-label": ariaLabel,
46
30
  "aria-labelledby": ariaLabelledBy,
47
31
  ref,
48
32
  ...props
49
33
  }: ActionGuideProps & {
50
- ref?: React.Ref<HTMLElement>;
34
+ /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLElement>;
51
35
  }): React.JSX.Element;
52
36
  interface ActionGuideSectionProps extends Omit<React.ComponentPropsWithoutRef<"section">, "title"> {
53
37
  /** Label for this group of related actions. */
@@ -81,13 +65,13 @@ declare function ActionGuideList({
81
65
  }: ActionGuideListProps & {
82
66
  ref?: React.Ref<HTMLUListElement>;
83
67
  }): React.JSX.Element;
84
- interface ActionGuideActionProps extends Omit<ButtonProps, "color" | "iconOnly" | "nativeButton" | "render" | "size" | "variant"> {
68
+ interface ActionGuideActionProps extends Omit<ButtonProps, "color" | "iconOnly" | "size" | "variant"> {
85
69
  /** Decorative leading glyph or app mark. */
86
70
  icon?: React.ReactNode;
87
71
  /** Raised actions are prominent; ghost actions form a quieter task list. */
88
72
  variant?: "surface" | "ghost";
89
73
  }
90
- /** One native-button action inside an {@link ActionGuideList}. */
74
+ /** One Button action, supporting Base UI render composition, inside an {@link ActionGuideList}. */
91
75
  declare function ActionGuideAction({
92
76
  icon,
93
77
  variant,
@@ -100,4 +84,4 @@ declare function ActionGuideAction({
100
84
  ref?: React.Ref<HTMLButtonElement>;
101
85
  }): React.JSX.Element;
102
86
  //#endregion
103
- export { ActionGuide, ActionGuideAction, ActionGuideActionItem, ActionGuideActionProps, ActionGuideHeadingLevel, ActionGuideList, ActionGuideListLayout, ActionGuideListProps, ActionGuideProps, ActionGuideSection, ActionGuideSectionItem, ActionGuideSectionProps };
87
+ export { ActionGuide, ActionGuideAction, ActionGuideActionProps, ActionGuideHeadingLevel, ActionGuideList, ActionGuideListLayout, ActionGuideListProps, ActionGuideProps, ActionGuideSection, ActionGuideSectionProps };
@@ -4,15 +4,14 @@ import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/general-purpose/ActionGuide.tsx
6
6
  /**
7
- * App-agnostic guide hydrated from product-owned sections and actions.
7
+ * App-agnostic article composed from product-owned sections and actions.
8
8
  *
9
9
  * Product code owns the copy, icons, availability, and click behavior. This
10
10
  * component owns only the shared article rhythm and responsive layout.
11
11
  */
12
- function ActionGuide({ title, description, headingLevel = 2, sections, onAction, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ref, ...props }) {
12
+ function ActionGuide({ title, description, headingLevel = 2, children, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ref, ...props }) {
13
13
  const titleId = React.useId();
14
14
  const Title = `h${headingLevel}`;
15
- const sectionHeadingLevel = Math.min(headingLevel + 1, 6);
16
15
  return /* @__PURE__ */ jsxs("article", {
17
16
  ref,
18
17
  "data-slot": "action-guide",
@@ -34,20 +33,7 @@ function ActionGuide({ title, description, headingLevel = 2, sections, onAction,
34
33
  className: "action-guide__description",
35
34
  children: description
36
35
  }) : null]
37
- }), sections.map((section) => /* @__PURE__ */ jsx(ActionGuideSection, {
38
- title: section.title,
39
- headingLevel: sectionHeadingLevel,
40
- children: /* @__PURE__ */ jsx(ActionGuideList, {
41
- layout: section.layout,
42
- children: section.actions.map((action) => /* @__PURE__ */ jsx(ActionGuideAction, {
43
- icon: action.icon,
44
- variant: action.variant,
45
- disabled: action.disabled,
46
- onClick: () => onAction(action),
47
- children: action.label
48
- }, action.id))
49
- })
50
- }, section.id))]
36
+ }), children]
51
37
  });
52
38
  }
53
39
  /** A labelled action group for custom guide compositions. */
@@ -79,7 +65,7 @@ function ActionGuideList({ layout = "compact", className, ref, ...props }) {
79
65
  ...props
80
66
  });
81
67
  }
82
- /** One native-button action inside an {@link ActionGuideList}. */
68
+ /** One Button action, supporting Base UI render composition, inside an {@link ActionGuideList}. */
83
69
  function ActionGuideAction({ icon, variant = "surface", children, className, type = "button", ref, ...props }) {
84
70
  return /* @__PURE__ */ jsx("li", {
85
71
  "data-slot": "action-guide-item",
@@ -1,11 +1,13 @@
1
- import { Toolbar, ToolbarButtonProps, ToolbarGroupProps, ToolbarLinkProps } from "../foundations/Toolbar.js";
1
+ import { a as ToolbarLinkProps, n as ToolbarButtonProps, r as ToolbarGroupProps, t as Toolbar } from "../../Toolbar-CGY004u0.js";
2
2
  import * as React from "react";
3
3
  import { useRender } from "@base-ui/react/use-render";
4
4
 
5
5
  //#region src/components/general-purpose/AppTopBar.d.ts
6
- interface AppTopBarRootProps extends React.ComponentPropsWithoutRef<typeof Toolbar.Root> {
6
+ interface AppTopBarRootProps extends Omit<React.ComponentPropsWithoutRef<typeof Toolbar.Root>, "disabled"> {
7
7
  /** Accessible name describing the controls in this application bar. */
8
8
  "aria-label": string;
9
+ /** Disables every interactive control managed by the application bar. */
10
+ disabled?: React.ComponentPropsWithoutRef<typeof Toolbar.Root>["disabled"];
9
11
  /**
10
12
  * Where the title sits. An application bar centres it between the control
11
13
  * groups; a panel header labels its leading edge instead.
@@ -1,4 +1,4 @@
1
- import { t as CopyButtonProps } from "../../copy-button-C0JyjClr.js";
1
+ import { t as CopyButtonProps } from "../../copy-button-OUwOdgEm.js";
2
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
3
  import * as React from "react";
4
4
 
@@ -46,7 +46,7 @@ declare function Commit({
46
46
  ref,
47
47
  ...props
48
48
  }: CommitProps & {
49
- ref?: React.Ref<HTMLDivElement>;
49
+ /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
50
50
  }): React.JSX.Element;
51
51
  interface CommitHeaderProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled"> {}
52
52
  declare function CommitHeader({
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { S as FileIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { S as FileIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
4
+ import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
4
5
  import { Avatar } from "../foundations/Avatar.js";
5
- import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
6
6
  import "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/general-purpose/Commit.tsx
@@ -1,4 +1,4 @@
1
- import { t as CopyButtonProps } from "../../copy-button-C0JyjClr.js";
1
+ import { t as CopyButtonProps } from "../../copy-button-OUwOdgEm.js";
2
2
  import * as React from "react";
3
3
 
4
4
  //#region src/components/general-purpose/EnvironmentVariables.d.ts
@@ -56,7 +56,7 @@ declare function EnvironmentVariables({
56
56
  ref,
57
57
  ...props
58
58
  }: EnvironmentVariablesProps & {
59
- ref?: React.Ref<HTMLDivElement>;
59
+ /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
60
60
  }): React.JSX.Element;
61
61
  interface EnvironmentVariablesHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
62
62
  declare function EnvironmentVariablesHeader({
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { b as EyeIcon, x as EyeOffIcon } from "../../icons-CeGfXO21.js";
3
- import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
2
+ import { b as EyeIcon, x as EyeOffIcon } from "../../icons-cuEtsgj9.js";
3
+ import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
4
4
  import { Switch } from "../foundations/Switch.js";
5
5
  import * as React from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -47,7 +47,7 @@ declare function FileTree({
47
47
  ref,
48
48
  ...props
49
49
  }: FileTreeProps & {
50
- ref?: React.Ref<HTMLDivElement>;
50
+ /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
51
51
  }): React.JSX.Element;
52
52
  interface FileTreeFolderProps extends React.HTMLAttributes<HTMLLIElement> {
53
53
  /** Unique path identifier for this folder. */
@@ -58,8 +58,6 @@ interface FileTreeFolderProps extends React.HTMLAttributes<HTMLLIElement> {
58
58
  icon?: React.ReactNode;
59
59
  /** Interactive controls rendered beside the folder selection button. */
60
60
  actions?: React.ReactNode;
61
- /** Depth level (0 for top-level). Auto-incremented by nested folders. */
62
- level?: number;
63
61
  }
64
62
  declare function FileTreeFolder({
65
63
  className,
@@ -67,7 +65,6 @@ declare function FileTreeFolder({
67
65
  name,
68
66
  icon,
69
67
  actions,
70
- level,
71
68
  children,
72
69
  ref,
73
70
  ...props
@@ -83,8 +80,6 @@ interface FileTreeFileProps extends React.HTMLAttributes<HTMLLIElement> {
83
80
  actions?: React.ReactNode;
84
81
  /** App-owned anchor or router Link when selecting the file navigates. */
85
82
  render?: React.ReactElement;
86
- /** Depth level, auto-set by parent folder. */
87
- level?: number;
88
83
  }
89
84
  declare function FileTreeFile({
90
85
  className,
@@ -93,7 +88,6 @@ declare function FileTreeFile({
93
88
  icon,
94
89
  actions,
95
90
  render,
96
- level,
97
91
  ref,
98
92
  ...props
99
93
  }: FileTreeFileProps & {
@@ -1,2 +1,2 @@
1
- import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-DvE0hNZu.js";
1
+ import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-H8mMg4rV.js";
2
2
  export { FileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName };
@@ -3,9 +3,13 @@ import { Plan, PricingBillingPeriod } from "./Pricing.js";
3
3
  //#region src/components/general-purpose/PricingPlanCard.d.ts
4
4
  type PricingPlanAction = "current" | "upgrade" | "downgrade" | "switch" | "select";
5
5
  interface PricingPlanCardProps {
6
+ /** Plan content, pricing, included features, and call-to-action copy to display. */
6
7
  plan: Plan;
8
+ /** Billing cadence used to calculate the displayed monthly price and savings. */
7
9
  billingPeriod: PricingBillingPeriod;
10
+ /** Relationship to the current plan, used to label and disable the call to action. */
8
11
  action?: PricingPlanAction;
12
+ /** Receives the displayed plan when its call to action is selected. */
9
13
  onSelect?: (plan: Plan) => void;
10
14
  /** Additional class name for placement in a consuming layout. */
11
15
  className?: string;
@@ -1,9 +1,9 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
2
+ import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-cuEtsgj9.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
- import { Card } from "../foundations/Card.js";
6
5
  import { Separator } from "../foundations/Separator.js";
6
+ import { Card } from "../foundations/Card.js";
7
7
  import { getPlanPrice, getPlanYearlySavings } from "./Pricing.js";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region src/components/general-purpose/PricingPlanCard.tsx
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Card } from "../foundations/Card.js";
2
+ import { Slider } from "../foundations/Slider.js";
3
3
  import { Separator } from "../foundations/Separator.js";
4
4
  import { Progress } from "../foundations/Progress.js";
5
- import { Slider } from "../foundations/Slider.js";
5
+ import { Card } from "../foundations/Card.js";
6
6
  import { formatPricingUsage, getUsagePrice } from "./Pricing.js";
7
7
  import * as React from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { SeparatorProps } from "../foundations/Separator.js";
1
+ import { n as SeparatorProps } from "../../Separator-CzhtLYE1.js";
2
2
  import * as React from "react";
3
3
 
4
4
  //#region src/components/general-purpose/ResizableSidePanel.d.ts
@@ -52,7 +52,7 @@ declare function ResizableSidePanelRoot({
52
52
  style,
53
53
  ...props
54
54
  }: ResizableSidePanelRootProps & {
55
- ref?: React.Ref<HTMLDivElement>;
55
+ /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
56
56
  }): React.JSX.Element;
57
57
  declare function ResizableSidePanelHandle({
58
58
  className,
@@ -1,2 +1,128 @@
1
- import { a as ResponsiveSidebarShellProps, i as ResponsiveSidebarShellControls, n as ResponsiveSidebarShell, r as ResponsiveSidebarShellBar, t as AppBarSlots } from "../../ResponsiveSidebarShell-BTVPxLJK.js";
2
- export { AppBarSlots, ResponsiveSidebarShell, ResponsiveSidebarShellBar, ResponsiveSidebarShellControls, ResponsiveSidebarShellProps };
1
+ import { AppTopBarTitleProps } from "./AppTopBar.js";
2
+ import * as React from "react";
3
+
4
+ //#region src/components/general-purpose/ResponsiveSidebarShell.d.ts
5
+ interface ResponsiveSidebarShellControls {
6
+ /** The shell's current container layout, shared by in-shell and portalled controls. */
7
+ compact: boolean;
8
+ /** Close the sidebar and move focus to the main content. */
9
+ closeSidebar: () => void;
10
+ /** Close only when the shell is currently using its compact drawer layout. */
11
+ closeSidebarOnCompact: () => void;
12
+ }
13
+ /** Reuse the shell's measured layout and drawer controls instead of observing it again. */
14
+ declare function useResponsiveSidebarShell(): ResponsiveSidebarShellControls;
15
+ /**
16
+ * Bar slot content shared by every shell-owning surface's `bar` prop, so an
17
+ * app writes one shape whether it is configuring ThinkFullApp, the routine
18
+ * library, or the shell directly.
19
+ */
20
+ interface AppBarSlots {
21
+ /**
22
+ * App-owned route element rendered as a labelled back control. Back owns
23
+ * the leading slot the same way `leading` does: the shell's own sidebar
24
+ * toggle stands down and compact sidebars stay reachable through
25
+ * `compactTitleTrigger`.
26
+ */
27
+ back?: {
28
+ label: string;
29
+ link: React.ReactElement;
30
+ };
31
+ /** App-owned leading navigation that owns the leading slot at every width. */
32
+ leading?: React.ReactNode;
33
+ /** Compact-only navigation that replaces the drawer trigger without hiding the wide rail toggle. */
34
+ compactLeading?: React.ReactNode;
35
+ /** Bar title content. Hidden at compact widths when `compactTitleTrigger` stands in. */
36
+ title?: React.ReactNode;
37
+ /** Trailing group, before `primary`. Overflow menus and secondary icon controls. */
38
+ actions?: React.ReactNode;
39
+ /**
40
+ * Rightmost trailing control. Sits after `actions` so a host can keep a
41
+ * single primary action (new thread, new schedule) on the trailing edge
42
+ * without fighting whatever else the surface puts in the bar.
43
+ */
44
+ primary?: React.ReactNode;
45
+ }
46
+ interface ResponsiveSidebarShellBar extends AppBarSlots {
47
+ /** Native title render contract, including element and render-function composition. */
48
+ titleRender?: AppTopBarTitleProps["render"];
49
+ /**
50
+ * Label content for a compact-width drawer trigger that replaces the plain
51
+ * title and the icon toggle: the title itself becomes the control that opens
52
+ * the sidebar. The shell renders the button and the disclosure chevron.
53
+ */
54
+ compactTitleTrigger?: React.ReactNode;
55
+ /** Accessible name for the bar toolbar. Defaults to "Application controls". */
56
+ label?: string;
57
+ /** Class for the bar root, the owning surface's styling hook. */
58
+ className?: string;
59
+ /**
60
+ * No bar row at all — for content that brings its own application bar.
61
+ * Distinct from passing no slots: an empty shell with a sidebar still shows
62
+ * a bar carrying the toggle.
63
+ */
64
+ hidden?: boolean;
65
+ }
66
+ interface ResponsiveSidebarShellProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "title"> {
67
+ /**
68
+ * Navigation or other secondary surface shown beside the selected content.
69
+ * Omit for a shell that is only a bar row over content — the app bar then
70
+ * has one mount point whether or not a sidebar exists.
71
+ *
72
+ * Open/closed is shell-internal: it is ephemeral presentation state, not a
73
+ * route, so no host controls it and no resize ever writes into a router.
74
+ */
75
+ sidebar?: React.ReactNode | ((controls: ResponsiveSidebarShellControls) => React.ReactNode);
76
+ /** Main content. */
77
+ children?: React.ReactNode;
78
+ /** Short noun used by the toggle and resize control, such as “threads” or “schedules”. */
79
+ sidebarLabel?: string;
80
+ /** Whether the sidebar is open. Omit for internal state. */
81
+ sidebarOpen?: boolean;
82
+ /** Move the wide-layout toggle into the sidebar while it is open. */
83
+ sidebarTogglePlacement?: "main" | "sidebar";
84
+ /** Initial sidebar state when `sidebarOpen` is uncontrolled. */
85
+ defaultSidebarOpen?: boolean;
86
+ /** Called when the sidebar is opened or closed. */
87
+ onSidebarOpenChange?: (open: boolean) => void;
88
+ /** Initial desktop sidebar width in CSS pixels. */
89
+ defaultSidebarWidth?: number;
90
+ /** Shell-owned application bar composed from slots. */
91
+ bar?: ResponsiveSidebarShellBar;
92
+ /**
93
+ * Host-owned error shown in the main column above the content, without
94
+ * replacing it. The shell renders the alert anatomy; pass the message.
95
+ */
96
+ error?: React.ReactNode;
97
+ /** Accessible name for the mobile peek target that returns to the main content. */
98
+ showMainLabel?: string;
99
+ }
100
+ /**
101
+ * The one application shell: responsive master-detail with a resizable desktop
102
+ * sidebar, a compact floating drawer that leaves the main content in place as
103
+ * a dismiss target, and a shell-owned application bar composed from slots.
104
+ * The root exposes `data-sidebar-open="true" | "false"` as its public styling
105
+ * hook, and its container name `responsive-sidebar-shell` is public contract:
106
+ * surfaces that compose the shell size themselves against it.
107
+ */
108
+ declare function ResponsiveSidebarShell({
109
+ sidebar,
110
+ sidebarLabel,
111
+ sidebarOpen,
112
+ sidebarTogglePlacement,
113
+ defaultSidebarOpen,
114
+ defaultSidebarWidth,
115
+ onSidebarOpenChange,
116
+ bar,
117
+ error,
118
+ showMainLabel,
119
+ className,
120
+ children,
121
+ ref,
122
+ style,
123
+ ...props
124
+ }: ResponsiveSidebarShellProps & {
125
+ /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
126
+ }): React.JSX.Element;
127
+ //#endregion
128
+ export { AppBarSlots, ResponsiveSidebarShell, ResponsiveSidebarShellBar, ResponsiveSidebarShellControls, ResponsiveSidebarShellProps, useResponsiveSidebarShell };