@mcp-b/react-components 0.52.0 → 0.53.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 (114) hide show
  1. package/dist/{CodeBlock-Bl-q7wMc.js → CodeBlock-Dw1z6jc8.js} +1 -1
  2. package/dist/{EmployeeChrome-C8eTGJWn.d.ts → EmployeeChrome-B605rpVz.d.ts} +2 -0
  3. package/dist/{FileTree-DruTQ-oa.js → FileTree-okaLnS5j.js} +1 -1
  4. package/dist/{ManagerOffice-CMJ7laGe.js → ManagerOffice-CJwBAEMv.js} +4 -4
  5. package/dist/{SetupChecklist-BiWQkKEq.js → SetupChecklist-DWyifWWg.js} +2 -2
  6. package/dist/{WorkspaceFileView-DXgTljKV.js → WorkspaceFileView-DQDWUpAH.js} +2 -2
  7. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  8. package/dist/components/agents-sdk/AgentChat.js +8 -10
  9. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  10. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  11. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  12. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  13. package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
  14. package/dist/components/agents-sdk/EmployeeApp.js +1 -1
  15. package/dist/components/agents-sdk/EmployeeChat.d.ts +3 -2
  16. package/dist/components/agents-sdk/EmployeeChat.js +6 -6
  17. package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
  18. package/dist/components/agents-sdk/EmployeeChrome.js +178 -120
  19. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
  20. package/dist/components/agents-sdk/EmployeeSchedules.js +1 -1
  21. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +1 -1
  22. package/dist/components/agents-sdk/EmployeeStartScreen.js +3 -3
  23. package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
  24. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  25. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  26. package/dist/components/agents-sdk/ManagerOfficeScreens.js +5 -2
  27. package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
  28. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  29. package/dist/components/agents-sdk/McpPluginCatalog.js +2 -2
  30. package/dist/components/agents-sdk/McpServerPicker.js +2 -2
  31. package/dist/components/agents-sdk/ModelSelector.js +4 -4
  32. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  33. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  34. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  35. package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
  36. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  37. package/dist/components/agents-sdk/ThinkChatActivity.js +2 -2
  38. package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
  39. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  40. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  41. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
  42. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  43. package/dist/components/agents-sdk/ThinkRoutineActions.js +1 -1
  44. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
  45. package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
  46. package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
  47. package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
  48. package/dist/components/agents-sdk/ThinkThreadPicker.js +2 -2
  49. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  50. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  51. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
  52. package/dist/components/agents-sdk/WorkspaceExecution.js +6 -6
  53. package/dist/components/agents-sdk/WorkspaceExplorer.js +2 -2
  54. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  55. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  56. package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
  57. package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
  58. package/dist/components/agents-sdk/WorkspaceUserScript.js +4 -4
  59. package/dist/components/ai-sdk/Activity.js +1 -1
  60. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  61. package/dist/components/ai-sdk/Approval.js +2 -2
  62. package/dist/components/ai-sdk/Artifact.js +1 -1
  63. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  64. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  65. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  66. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  67. package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
  68. package/dist/components/ai-sdk/Context.js +1 -1
  69. package/dist/components/ai-sdk/Conversation.js +1 -1
  70. package/dist/components/ai-sdk/Goal.js +1 -1
  71. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  72. package/dist/components/ai-sdk/Message.js +2 -2
  73. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  74. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  75. package/dist/components/ai-sdk/Plan.js +1 -1
  76. package/dist/components/ai-sdk/PromptInput.js +45 -42
  77. package/dist/components/ai-sdk/Queue.js +1 -1
  78. package/dist/components/ai-sdk/Reasoning.js +1 -1
  79. package/dist/components/ai-sdk/Sources.js +1 -1
  80. package/dist/components/ai-sdk/Task.js +1 -1
  81. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  82. package/dist/components/extension/CodexModelSelector.js +2 -2
  83. package/dist/components/extension/ConversationTabPicker.js +2 -2
  84. package/dist/components/foundations/Checkbox.js +1 -1
  85. package/dist/components/foundations/Collapsible.js +1 -1
  86. package/dist/components/foundations/ContextMenu.js +1 -1
  87. package/dist/components/foundations/Menubar.js +1 -1
  88. package/dist/components/foundations/SearchField.js +1 -1
  89. package/dist/components/foundations/Select.js +1 -1
  90. package/dist/components/foundations/Stepper.js +1 -1
  91. package/dist/components/foundations/Toast.js +1 -1
  92. package/dist/components/foundations/icons.js +1 -1
  93. package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
  94. package/dist/components/general-purpose/Commit.js +2 -2
  95. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  96. package/dist/components/general-purpose/FileTree.js +1 -1
  97. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  98. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  99. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  100. package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
  101. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  102. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  103. package/dist/components/general-purpose/Terminal.js +2 -2
  104. package/dist/components/general-purpose/TestResults.js +1 -1
  105. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  106. package/dist/components/general-purpose/WebPreview.js +2 -2
  107. package/dist/components/nanites/AgentConnection.js +2 -2
  108. package/dist/components/nanites/AgentToolDetail.js +2 -2
  109. package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
  110. package/dist/styles/employee-chrome.css +4 -0
  111. package/dist/styles/switch.css +7 -0
  112. package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-C3QT6UlQ.js} +1 -1
  113. package/package.json +2 -2
  114. package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { z as PlayIcon } from "../../icons-cuEtsgj9.js";
2
+ import { z as PlayIcon } from "../../icons-CeGfXO21.js";
3
3
  import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
4
4
  import { Card } from "../foundations/Card.js";
5
5
  import * as React from "react";
@@ -1,12 +1,12 @@
1
1
  import { parseComposerHref } from "../../utils/composer-link.js";
2
2
  import { t as cx } from "../../class-names-BiMDVpUo.js";
3
- import { S as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
3
+ import { S as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
4
4
  import { Button } from "../foundations/Button.js";
5
5
  import { IconButton } from "../foundations/IconButton.js";
6
- import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
7
6
  import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
8
7
  import { n as clamp } from "../../format-COCyV98Z.js";
9
8
  import { ComposerLink } from "./ComposerLink.js";
9
+ import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
10
10
  import * as React from "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
12
  import { cjk } from "@streamdown/cjk";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { n as ArrowDownIcon } from "../../icons-cuEtsgj9.js";
2
+ import { n as ArrowDownIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
5
5
  import "react";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { n as ArrowDownIcon } from "../../icons-cuEtsgj9.js";
2
+ import { n as ArrowDownIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
5
5
  import * as React from "react";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-cuEtsgj9.js";
2
+ import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Popover } from "../foundations/Popover.js";
4
4
  import { t as ProgressRing } from "../../progress-ring-Cgii90dC.js";
5
5
  import * as React from "react";
@@ -1,31 +1,38 @@
1
1
  import { composerTriggerMatch, parseComposerLinks, replaceComposerTrigger } from "../../utils/composer-link.js";
2
2
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
3
- import { B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, M as MicrophoneIcon, P as MonitorIcon, S as FileIcon, a as ArrowUpIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, nt as XIcon, q as SquareIcon, tt as WrenchIcon } from "../../icons-cuEtsgj9.js";
3
+ import { B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, M as MicrophoneIcon, P as MonitorIcon, S as FileIcon, a as ArrowUpIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, nt as XIcon, q as SquareIcon, tt as WrenchIcon } from "../../icons-CeGfXO21.js";
4
4
  import { Button } from "../foundations/Button.js";
5
+ import { Autocomplete } from "../foundations/Autocomplete.js";
6
+ import { Kbd } from "../foundations/Kbd.js";
7
+ import { Menu } from "../foundations/Menu.js";
8
+ import { PreviewCard } from "../foundations/PreviewCard.js";
9
+ import { Tabs } from "../foundations/Tabs.js";
5
10
  import { Tooltip } from "../foundations/Tooltip.js";
6
11
  import { IconButton } from "../foundations/IconButton.js";
7
12
  import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
8
13
  import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-COCyV98Z.js";
9
14
  import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
10
15
  import { ComposerLink } from "./ComposerLink.js";
11
- import { Autocomplete } from "../foundations/Autocomplete.js";
12
- import { Kbd } from "../foundations/Kbd.js";
13
- import { Menu } from "../foundations/Menu.js";
14
- import { PreviewCard } from "../foundations/PreviewCard.js";
15
- import { Tabs } from "../foundations/Tabs.js";
16
16
  import { PromptInputComposerEditor } from "./PromptInputComposerEditor.js";
17
17
  import * as React from "react";
18
18
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
19
19
  //#region src/components/ai-sdk/PromptInput.tsx
20
- const PromptInputController = React.createContext(null);
20
+ const PromptInputTextContext = React.createContext(null);
21
+ const PromptInputAttachmentsContext = React.createContext(null);
21
22
  const PromptInputSubmissionContext = React.createContext(null);
22
23
  function usePromptInputController() {
23
- const ctx = React.useContext(PromptInputController);
24
- if (!ctx) throw new Error("Wrap your component inside <PromptInputProvider> to use usePromptInputController().");
25
- return ctx;
24
+ const textInput = React.useContext(PromptInputTextContext);
25
+ const attachments = usePromptInputAttachments();
26
+ if (!textInput) throw new Error("Wrap your component inside <PromptInputProvider> to use usePromptInputController().");
27
+ return React.useMemo(() => ({
28
+ textInput,
29
+ attachments
30
+ }), [textInput, attachments]);
26
31
  }
27
32
  function usePromptInputAttachments() {
28
- return usePromptInputController().attachments;
33
+ const attachments = React.useContext(PromptInputAttachmentsContext);
34
+ if (!attachments) throw new Error("Wrap your component inside <PromptInputProvider> to use usePromptInputAttachments().");
35
+ return attachments;
29
36
  }
30
37
  /**
31
38
  * Owns one draft and file picker across composer layouts. Keep this boundary
@@ -136,35 +143,31 @@ function PromptInputProvider({ initialInput = "", value, onValueChange, accept,
136
143
  clear,
137
144
  files
138
145
  ]);
139
- const controller = React.useMemo(() => ({
140
- attachments,
141
- textInput: {
142
- value: text,
143
- setInput,
144
- clear: () => setInput("")
145
- }
146
- }), [
147
- attachments,
148
- text,
149
- setInput
150
- ]);
151
- return /* @__PURE__ */ jsx(PromptInputController.Provider, {
152
- value: controller,
153
- children: /* @__PURE__ */ jsxs(PromptInputSubmissionContext.Provider, {
154
- value: submitDraft,
155
- children: [/* @__PURE__ */ jsx("input", {
156
- ref: fileInputRef,
157
- accept,
158
- "aria-label": "Upload files",
159
- className: "prompt-input__file-input",
160
- multiple,
161
- onChange: (event) => {
162
- if (event.currentTarget.files?.length) add(event.currentTarget.files);
163
- event.currentTarget.value = "";
164
- },
165
- tabIndex: -1,
166
- type: "file"
167
- }), children]
146
+ const textInput = React.useMemo(() => ({
147
+ value: text,
148
+ setInput,
149
+ clear: () => setInput("")
150
+ }), [text, setInput]);
151
+ return /* @__PURE__ */ jsx(PromptInputTextContext.Provider, {
152
+ value: textInput,
153
+ children: /* @__PURE__ */ jsx(PromptInputAttachmentsContext.Provider, {
154
+ value: attachments,
155
+ children: /* @__PURE__ */ jsxs(PromptInputSubmissionContext.Provider, {
156
+ value: submitDraft,
157
+ children: [/* @__PURE__ */ jsx("input", {
158
+ ref: fileInputRef,
159
+ accept,
160
+ "aria-label": "Upload files",
161
+ className: "prompt-input__file-input",
162
+ multiple,
163
+ onChange: (event) => {
164
+ if (event.currentTarget.files?.length) add(event.currentTarget.files);
165
+ event.currentTarget.value = "";
166
+ },
167
+ tabIndex: -1,
168
+ type: "file"
169
+ }), children]
170
+ })
168
171
  })
169
172
  });
170
173
  }
@@ -202,11 +205,11 @@ function PromptInputProvider({ initialInput = "", value, onValueChange, accept,
202
205
  * @see {@link https://elements.ai-sdk.dev/components/prompt-input | AI Elements Prompt Input}
203
206
  */
204
207
  function PromptInput({ className, globalDrop, onSubmit, children, ref, ...props }) {
205
- const controller = usePromptInputController();
208
+ const attachments = usePromptInputAttachments();
206
209
  const submitDraft = React.useContext(PromptInputSubmissionContext);
207
210
  if (!submitDraft) throw new Error("PromptInput requires PromptInputProvider.");
208
211
  const formRef = React.useRef(null);
209
- const addDroppedFiles = React.useEffectEvent(controller.attachments.add);
212
+ const addDroppedFiles = React.useEffectEvent(attachments.add);
210
213
  React.useEffect(() => {
211
214
  const target = globalDrop ? document : formRef.current;
212
215
  if (!target) return;
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
+ import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
4
4
  import { Button } from "../foundations/Button.js";
5
5
  import { ScrollArea } from "../foundations/ScrollArea.js";
6
6
  import "react";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon } from "../../icons-cuEtsgj9.js";
2
+ import { K as SpinnerIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "./Activity.js";
4
4
  import { MessageResponse } from "./Message.js";
5
5
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
+ import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
4
4
  import "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/ai-sdk/Sources.tsx
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { S as FileIcon, U as SearchIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
+ import { S as FileIcon, U as SearchIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/ai-sdk/Task.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon } from "../../icons-cuEtsgj9.js";
2
+ import { K as SpinnerIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as ProviderLogo } from "../../provider-logos-DWYY8wNz.js";
5
5
  import "react";
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { H as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
2
+ import { H as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
3
+ import { Menu } from "../foundations/Menu.js";
3
4
  import { Tooltip } from "../foundations/Tooltip.js";
4
5
  import { c as titleCase } from "../../format-COCyV98Z.js";
5
- import { Menu } from "../foundations/Menu.js";
6
6
  import "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/extension/CodexModelSelector.tsx
@@ -1,7 +1,7 @@
1
- import { et as WarningIcon } from "../../icons-cuEtsgj9.js";
1
+ import { et as WarningIcon } from "../../icons-CeGfXO21.js";
2
2
  import { Button } from "../foundations/Button.js";
3
- import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
4
3
  import { Menu } from "../foundations/Menu.js";
4
+ import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
5
5
  import { Avatar } from "../foundations/Avatar.js";
6
6
  import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { d as CheckIcon } from "../../icons-cuEtsgj9.js";
2
+ import { d as CheckIcon } from "../../icons-CeGfXO21.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
5
5
  //#region src/components/foundations/Checkbox.tsx
@@ -1,7 +1,7 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
2
  import "react";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
4
+ import { jsx } from "react/jsx-runtime";
5
5
  //#region src/components/foundations/Collapsible.tsx
6
6
  /**
7
7
  * Container that groups all collapsible parts. Renders a `<div>` element.
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { _ as DotIcon, d as CheckIcon } from "../../icons-cuEtsgj9.js";
2
+ import { _ as DotIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { _ as DotIcon, d as CheckIcon } from "../../icons-cuEtsgj9.js";
2
+ import { _ as DotIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
3
3
  import { buttonVariants } from "./Button.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { U as SearchIcon } from "../../icons-cuEtsgj9.js";
2
+ import { U as SearchIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Field } from "./Field.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/foundations/SearchField.tsx
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-cuEtsgj9.js";
2
+ import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-CeGfXO21.js";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { Select as Select$1 } from "@base-ui/react/select";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, d as CheckIcon } from "../../icons-cuEtsgj9.js";
2
+ import { K as SpinnerIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Tabs } from "./Tabs.js";
4
4
  import * as React from "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { nt as XIcon } from "../../icons-cuEtsgj9.js";
2
+ import { nt as XIcon } from "../../icons-CeGfXO21.js";
3
3
  import { buttonVariants } from "./Button.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -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-cuEtsgj9.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-CeGfXO21.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,5 +1,5 @@
1
- import { Dialog } from "../foundations/Dialog.js";
2
1
  import { Field } from "../foundations/Field.js";
2
+ import { Dialog } from "../foundations/Dialog.js";
3
3
  import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/general-purpose/AccountSignInDialog.tsx
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { S as FileIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
4
- import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
3
+ import { S as FileIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
4
+ import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
5
5
  import { Avatar } from "../foundations/Avatar.js";
6
6
  import "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -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-cuEtsgj9.js";
3
- import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
2
+ import { b as EyeIcon, x as EyeOffIcon } from "../../icons-CeGfXO21.js";
3
+ import { t as CopyButton } from "../../copy-button-Dk2vRe9j.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";
@@ -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-DruTQ-oa.js";
1
+ import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-okaLnS5j.js";
2
2
  export { FileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName };
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Switch } from "../foundations/Switch.js";
3
2
  import { ToggleGroup } from "../foundations/ToggleGroup.js";
3
+ import { Switch } from "../foundations/Switch.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/general-purpose/PricingBillingToggle.tsx
6
6
  /** Controlled billing-period selector composed from the shared Switch or ToggleGroup. */
@@ -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-cuEtsgj9.js";
2
+ import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
- import { Separator } from "../foundations/Separator.js";
6
5
  import { Card } from "../foundations/Card.js";
6
+ import { Separator } from "../foundations/Separator.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,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Slider } from "../foundations/Slider.js";
3
- import { Separator } from "../foundations/Separator.js";
4
2
  import { Card } from "../foundations/Card.js";
3
+ import { Separator } from "../foundations/Separator.js";
4
+ import { Slider } from "../foundations/Slider.js";
5
5
  import { Progress } from "../foundations/Progress.js";
6
6
  import { formatPricingUsage, getUsagePrice } from "./Pricing.js";
7
7
  import * as React from "react";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { W as SidebarIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
2
+ import { W as SidebarIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { t as capitalize } from "../../format-COCyV98Z.js";
5
5
  import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
@@ -1,8 +1,8 @@
1
1
  import { Button } from "../foundations/Button.js";
2
- import { Dialog } from "../foundations/Dialog.js";
3
- import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
4
2
  import { Field } from "../foundations/Field.js";
5
3
  import { Form } from "../foundations/Form.js";
4
+ import { Dialog } from "../foundations/Dialog.js";
5
+ import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
6
6
  import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/general-purpose/SettingsFormDialog.tsx
@@ -1,2 +1,2 @@
1
- import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-BiWQkKEq.js";
1
+ import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-DWyifWWg.js";
2
2
  export { SetupChecklistAction, SetupChecklistGroup };
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Z as TerminalIcon, nt as XIcon } from "../../icons-cuEtsgj9.js";
2
+ import { Z as TerminalIcon, nt as XIcon } from "../../icons-CeGfXO21.js";
3
3
  import { IconButton } from "../foundations/IconButton.js";
4
- import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
4
+ import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
5
5
  import { ScrollArea } from "../foundations/ScrollArea.js";
6
6
  import * as React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, d as CheckIcon, nt as XIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
+ import { K as SpinnerIcon, d as CheckIcon, nt as XIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
4
4
  import { Progress } from "../foundations/Progress.js";
5
5
  import * as React from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { F as MoonIcon, P as MonitorIcon, Y as SunIcon } from "../../icons-cuEtsgj9.js";
1
+ import { F as MoonIcon, P as MonitorIcon, Y as SunIcon } from "../../icons-CeGfXO21.js";
2
2
  import { useTheme } from "../foundations/ThemeProvider.js";
3
3
  import { Radio, RadioGroup } from "../foundations/RadioGroup.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { H as RefreshIcon, f as ChevronDownIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
+ import { H as RefreshIcon, f as ChevronDownIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
- import { ScrollArea } from "../foundations/ScrollArea.js";
6
5
  import { Input } from "../foundations/Input.js";
6
+ import { ScrollArea } from "../foundations/ScrollArea.js";
7
7
  import * as React from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  import { useRender } from "@base-ui/react/use-render";
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { D as LinkIcon } from "../../icons-cuEtsgj9.js";
2
+ import { D as LinkIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Button } from "../foundations/Button.js";
4
+ import { a as CodeBlockCopyButton, i as CodeBlockContent, n as CodeBlockActions, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock } from "../../CodeBlock-Dw1z6jc8.js";
4
5
  import { Popover } from "../foundations/Popover.js";
5
- import { a as CodeBlockCopyButton, i as CodeBlockContent, n as CodeBlockActions, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock } from "../../CodeBlock-Bl-q7wMc.js";
6
6
  import { ToggleGroup } from "../foundations/ToggleGroup.js";
7
7
  import * as React from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,10 +1,10 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { r as ArrowLeftIcon } from "../../icons-cuEtsgj9.js";
2
+ import { r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
3
3
  import { MessageActions } from "../ai-sdk/Message.js";
4
4
  import { SubagentRunIndicator, getSubagentRunName } from "../agents-sdk/SubagentRunIndicator.js";
5
5
  import { NaniteMark } from "./NaniteScene.js";
6
- import { TransitionSurface } from "../foundations/TransitionSurface.js";
7
6
  import { AgentChat } from "../agents-sdk/AgentChat.js";
7
+ import { TransitionSurface } from "../foundations/TransitionSurface.js";
8
8
  import { AppTopBar } from "../general-purpose/AppTopBar.js";
9
9
  import { ThinkChat } from "../agents-sdk/ThinkChat.js";
10
10
  import { SubagentRunMetadata } from "../agents-sdk/SubagentRunDetails.js";
@@ -1,4 +1,4 @@
1
- import { d as CheckIcon, h as CopyIcon } from "./icons-cuEtsgj9.js";
1
+ import { d as CheckIcon, h as CopyIcon } from "./icons-CeGfXO21.js";
2
2
  import { IconButton } from "./components/foundations/IconButton.js";
3
3
  import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -26,6 +26,10 @@
26
26
  font: inherit;
27
27
  }
28
28
 
29
+ .employee-menu {
30
+ inline-size: min(18rem, var(--available-width));
31
+ }
32
+
29
33
  .employee-menu__switch {
30
34
  justify-content: space-between;
31
35
  gap: var(--sigvelo-spacing-3);
@@ -89,6 +89,13 @@
89
89
  translate: var(--sigvelo-recipe-switch-thumb-translate);
90
90
  }
91
91
 
92
+ @media (forced-colors: active) {
93
+ .switch__thumb {
94
+ forced-color-adjust: none;
95
+ background-color: CanvasText;
96
+ }
97
+ }
98
+
92
99
  @media (prefers-reduced-motion: reduce) {
93
100
  .switch__thumb {
94
101
  transition-duration: var(--sigvelo-duration-reduced);
@@ -1,6 +1,6 @@
1
1
  import { composerLinkHref } from "./utils/composer-link.js";
2
2
  import { canRequestFavicon, inferFaviconUrl } from "./utils/favicon.js";
3
- import { Q as TrashIcon, S as FileIcon } from "./icons-cuEtsgj9.js";
3
+ import { Q as TrashIcon, S as FileIcon } from "./icons-CeGfXO21.js";
4
4
  import { Button } from "./components/foundations/Button.js";
5
5
  import { Tooltip } from "./components/foundations/Tooltip.js";
6
6
  import { IconButton } from "./components/foundations/IconButton.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-b/react-components",
3
- "version": "0.52.0",
3
+ "version": "0.53.0",
4
4
  "description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
5
5
  "homepage": "https://design-system.sigvelo.com",
6
6
  "bugs": {
@@ -54,7 +54,7 @@
54
54
  "streamdown": "^2.5.0",
55
55
  "unist-util-visit": "^5.1.0",
56
56
  "yet-another-react-lightbox": "^3.32.2",
57
- "@mcp-b/design-tokens": "0.52.0"
57
+ "@mcp-b/design-tokens": "0.53.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@ai-sdk/react": "^3.0.249",
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "./class-names-BiMDVpUo.js";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, Bookmark, Box, Brain, CalendarDays, Check, ChevronDown, ChevronRight, CircleStop, CodeXml, Copy, Dot, Download, Ellipsis, Eye, EyeOff, File, Folder, FolderOpen, Info, Keyboard, Link2, ListRestart, LoaderCircle, Mail, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Play, Plus, RefreshCw, Search, Square, Sun, Target, Terminal, Trash2, TriangleAlert, User, Wrench, X } from "lucide-react";
3
4
  import { SiDiscord, SiModelcontextprotocol } from "react-icons/si";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/_internal/icons.tsx
6
6
  function icon(Component) {
7
7
  return function DesignSystemIcon({ size = 16, strokeWidth = 1.75, ...props }) {