@mcp-b/react-components 0.61.0 → 0.63.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 (153) hide show
  1. package/dist/{CodeBlock-CNvOYR0Q.js → CodeBlock-DYQdZUH6.js} +1 -1
  2. package/dist/{EmployeeChrome-D3IgFX22.d.ts → EmployeeChrome--PWdtg4B.d.ts} +16 -4
  3. package/dist/{ExecutionResult-DmC21cll.js → ExecutionResult-2fBkpIGN.js} +2 -2
  4. package/dist/{FileTree-H31EVRv_.js → FileTree-CDLOD643.js} +1 -1
  5. package/dist/{ManagerOffice-B3X3iZV9.js → ManagerOffice-CvVSHnOM.js} +6 -6
  6. package/dist/{SetupChecklist-Wo4akaSG.js → SetupChecklist-B-iEta9v.js} +2 -2
  7. package/dist/{ThinkSchedule-5S834QKW.d.ts → ThinkSchedule-DPoOYWTQ.d.ts} +1 -1
  8. package/dist/{WorkspaceAutomation-B2Pdz_SU.d.ts → WorkspaceAutomation-yDZorXla.d.ts} +1 -1
  9. package/dist/{WorkspaceFileView-BWI_AJlV.js → WorkspaceFileView-DwIkehSM.js} +7 -7
  10. package/dist/{chatgpt-sign-in-button-DNchrZHs.js → chatgpt-sign-in-button-D8AT6x4c.js} +1 -1
  11. package/dist/components/agents-sdk/AIProviderDialog.d.ts +53 -0
  12. package/dist/components/agents-sdk/AIProviderDialog.js +369 -0
  13. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  14. package/dist/components/agents-sdk/AgentChat.js +7 -7
  15. package/dist/components/agents-sdk/AgentEvent.js +1 -1
  16. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  17. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  18. package/dist/components/agents-sdk/BrowserReplay.js +2 -2
  19. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  20. package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
  21. package/dist/components/agents-sdk/EmployeeApp.js +1 -1
  22. package/dist/components/agents-sdk/EmployeeChat.js +4 -4
  23. package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
  24. package/dist/components/agents-sdk/EmployeeChrome.js +118 -69
  25. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
  26. package/dist/components/agents-sdk/EmployeeSchedules.js +3 -3
  27. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +1 -1
  28. package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
  29. package/dist/components/agents-sdk/ExecutionBoard.js +4 -4
  30. package/dist/components/agents-sdk/ManagerAccountActions.js +3 -3
  31. package/dist/components/agents-sdk/ManagerOffice.d.ts +1 -1
  32. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  33. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  34. package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
  35. package/dist/components/agents-sdk/McpConnectionRequest.js +3 -3
  36. package/dist/components/agents-sdk/McpConnectorForm.js +2 -2
  37. package/dist/components/agents-sdk/McpPluginCatalog.js +5 -5
  38. package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
  39. package/dist/components/agents-sdk/McpServerPicker.js +3 -3
  40. package/dist/components/agents-sdk/ModelSelector.d.ts +1 -1
  41. package/dist/components/agents-sdk/ModelSelector.js +6 -6
  42. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  43. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  44. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  45. package/dist/components/agents-sdk/SubagentRunLanes.js +1 -1
  46. package/dist/components/agents-sdk/SubagentRunPanel.js +3 -3
  47. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  48. package/dist/components/agents-sdk/ThinkChat.d.ts +3 -1
  49. package/dist/components/agents-sdk/ThinkChat.js +5 -2
  50. package/dist/components/agents-sdk/ThinkChatActivity.js +3 -3
  51. package/dist/components/agents-sdk/ThinkChatToolPanels.js +6 -6
  52. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  53. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  54. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +5 -5
  55. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +3 -1
  56. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +3 -2
  57. package/dist/components/agents-sdk/ThinkSchedule.d.ts +1 -1
  58. package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +1 -1
  59. package/dist/components/agents-sdk/ThinkScheduleActions.js +3 -3
  60. package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
  61. package/dist/components/agents-sdk/ThinkScheduleBrowser.js +4 -4
  62. package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
  63. package/dist/components/agents-sdk/ThinkScheduleDetail.js +2 -2
  64. package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +1 -1
  65. package/dist/components/agents-sdk/ThinkScheduleForm.js +10 -10
  66. package/dist/components/agents-sdk/ThinkThreadPicker.js +4 -4
  67. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  68. package/dist/components/agents-sdk/Workspace.js +1 -1
  69. package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
  70. package/dist/components/agents-sdk/WorkspaceAutomation.js +11 -11
  71. package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
  72. package/dist/components/agents-sdk/WorkspaceAutomationTable.js +8 -8
  73. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  74. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +3 -3
  75. package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
  76. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  77. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  78. package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
  79. package/dist/components/agents-sdk/WorkspacePerson.d.ts +1 -1
  80. package/dist/components/agents-sdk/WorkspacePerson.js +3 -3
  81. package/dist/components/agents-sdk/WorkspaceProject.d.ts +1 -1
  82. package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
  83. package/dist/components/ai-sdk/Activity.js +1 -1
  84. package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
  85. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  86. package/dist/components/ai-sdk/AgentChatTurnError.d.ts +6 -1
  87. package/dist/components/ai-sdk/AgentChatTurnError.js +6 -4
  88. package/dist/components/ai-sdk/Approval.js +2 -2
  89. package/dist/components/ai-sdk/Artifact.js +1 -1
  90. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  91. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  92. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  93. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  94. package/dist/components/ai-sdk/ConnectedAppCards.js +2 -2
  95. package/dist/components/ai-sdk/Context.js +1 -1
  96. package/dist/components/ai-sdk/Conversation.js +1 -1
  97. package/dist/components/ai-sdk/Goal.js +2 -2
  98. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  99. package/dist/components/ai-sdk/Message.js +3 -3
  100. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  101. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  102. package/dist/components/ai-sdk/Plan.js +1 -1
  103. package/dist/components/ai-sdk/PromptInput.js +7 -7
  104. package/dist/components/ai-sdk/Queue.js +2 -2
  105. package/dist/components/ai-sdk/Reasoning.js +1 -1
  106. package/dist/components/ai-sdk/Sources.js +1 -1
  107. package/dist/components/ai-sdk/Task.js +1 -1
  108. package/dist/components/ai-sdk/ToolInvocation.js +1 -1
  109. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  110. package/dist/components/extension/CodexModelSelector.js +3 -3
  111. package/dist/components/extension/ConversationTabPicker.js +2 -2
  112. package/dist/components/extension/FirstRunSetup.d.ts +2 -2
  113. package/dist/components/extension/FirstRunSetup.js +7 -7
  114. package/dist/components/foundations/Checkbox.js +2 -2
  115. package/dist/components/foundations/Collapsible.js +1 -1
  116. package/dist/components/foundations/ContextMenu.js +1 -1
  117. package/dist/components/foundations/Menubar.js +1 -1
  118. package/dist/components/foundations/SearchField.js +1 -1
  119. package/dist/components/foundations/Select.js +1 -1
  120. package/dist/components/foundations/Stepper.js +1 -1
  121. package/dist/components/foundations/Toast.js +1 -1
  122. package/dist/components/foundations/icons.js +1 -1
  123. package/dist/components/general-purpose/Commit.js +2 -2
  124. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  125. package/dist/components/general-purpose/FileTree.js +1 -1
  126. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  127. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  128. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  129. package/dist/components/general-purpose/ResponsiveSidebarShell.js +3 -3
  130. package/dist/components/general-purpose/SettingsFormDialog.d.ts +10 -2
  131. package/dist/components/general-purpose/SettingsFormDialog.js +18 -12
  132. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  133. package/dist/components/general-purpose/Terminal.js +2 -2
  134. package/dist/components/general-purpose/TestResults.js +1 -1
  135. package/dist/components/general-purpose/ThemeModeControl.js +2 -2
  136. package/dist/components/general-purpose/WebPreview.js +1 -1
  137. package/dist/components/nanites/AgentConnection.js +2 -2
  138. package/dist/components/nanites/AgentToolDetail.js +2 -2
  139. package/dist/{connected-app-drafts-B9i69bkj.js → connected-app-drafts-DtA2fBK5.js} +5 -5
  140. package/dist/{copy-button-z20VEXRF.js → copy-button-DbR932tF.js} +1 -1
  141. package/dist/styles/ai-provider-dialog.css +46 -0
  142. package/dist/styles/employee-chrome.css +12 -3
  143. package/dist/styles/index.css +1 -0
  144. package/dist/utils/model-provider-error.d.ts +17 -0
  145. package/dist/utils/model-provider-error.js +76 -0
  146. package/dist/{workspace-assets-Dq5toMQc.js → workspace-assets-F3r6XltC.js} +1 -1
  147. package/dist/{workspace-concept-panel-CxuqDi4m.d.ts → workspace-concept-panel-C_oYhPSx.d.ts} +1 -1
  148. package/dist/{workspace-concept-panel-CxZfmFkP.js → workspace-concept-panel-D8oEvR0n.js} +2 -2
  149. package/dist/{workspace-delete-CoB0l6ZU.js → workspace-delete-CQvv1eDE.js} +1 -1
  150. package/package.json +2 -2
  151. package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +0 -31
  152. package/dist/components/agents-sdk/ModelEndpointDialog.js +0 -141
  153. package/dist/{icons-Yp99gmMC.js → icons-GoybMAB2.js} +1 -1
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { s as BookmarkIcon } from "../../icons-Yp99gmMC.js";
2
+ import { s as BookmarkIcon } from "../../icons-GoybMAB2.js";
3
3
  import { Marker, MarkerIcon } from "../foundations/Marker.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-CNvOYR0Q.js";
1
+ import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-DYQdZUH6.js";
2
2
  export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorValue, CodeBlockTitle };
@@ -1,7 +1,7 @@
1
1
  import { brandHexFromIconSrc, parseComposerHref, sampleImageAccent } from "../../utils/composer-link.js";
2
2
  import { findCatalogMcpServerCard, getMcpServerIconSrc } from "../../utils/mcp-server-catalog.js";
3
3
  import { t as cx } from "../../class-names-BiMDVpUo.js";
4
- import { c as BoxIcon } from "../../icons-Yp99gmMC.js";
4
+ import { c as BoxIcon } from "../../icons-GoybMAB2.js";
5
5
  import { n as mergeRefs } from "../../merge-refs-DAh6reu8.js";
6
6
  import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { u as CalendarIcon } from "../../icons-Yp99gmMC.js";
1
+ import { u as CalendarIcon } from "../../icons-GoybMAB2.js";
2
2
  import { isToolPartWorking } from "./ToolPart.js";
3
- import { i as FieldList, n as SlackDraftCard, r as ConnectedAppCardFrame, t as EmailDraftCard } from "../../connected-app-drafts-B9i69bkj.js";
3
+ import { i as FieldList, n as SlackDraftCard, r as ConnectedAppCardFrame, t as EmailDraftCard } from "../../connected-app-drafts-DtA2fBK5.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/components/ai-sdk/ConnectedAppCards.tsx
6
6
  /** Email draft or result, read-only: sending it is approved in the composer. */
@@ -1,6 +1,6 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Popover } from "../foundations/Popover.js";
3
2
  import { Separator } from "../foundations/Separator.js";
3
+ import { Popover } from "../foundations/Popover.js";
4
4
  import { t as ProgressRing } from "../../progress-ring-L2bbF0ji.js";
5
5
  import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { n as ArrowDownIcon, v as DownloadIcon } from "../../icons-Yp99gmMC.js";
2
+ import { n as ArrowDownIcon, v as DownloadIcon } from "../../icons-GoybMAB2.js";
3
3
  import { IconButton } from "../foundations/IconButton.js";
4
4
  import { t as assignRef } from "../../merge-refs-DAh6reu8.js";
5
5
  import { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport } from "./MessageScroller.js";
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { B as PauseIcon, U as PlayIcon, it as TrashIcon, nt as TargetIcon } from "../../icons-Yp99gmMC.js";
3
- import { IconButton } from "../foundations/IconButton.js";
2
+ import { B as PauseIcon, U as PlayIcon, it as TrashIcon, nt as TargetIcon } from "../../icons-GoybMAB2.js";
4
3
  import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
4
+ import { IconButton } from "../foundations/IconButton.js";
5
5
  import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region src/components/ai-sdk/Goal.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { U as PlayIcon } from "../../icons-Yp99gmMC.js";
2
+ import { U as PlayIcon } from "../../icons-GoybMAB2.js";
3
3
  import { n as mergeRefs } from "../../merge-refs-DAh6reu8.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 { C as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-Yp99gmMC.js";
3
+ import { C as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-GoybMAB2.js";
4
+ import { n as clamp } from "../../format-CWaZEp5o.js";
4
5
  import { Button } from "../foundations/Button.js";
5
6
  import { IconButton } from "../foundations/IconButton.js";
7
+ import { t as CopyButton } from "../../copy-button-DbR932tF.js";
6
8
  import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
7
- import { n as clamp } from "../../format-CWaZEp5o.js";
8
9
  import { ComposerLink } from "./ComposerLink.js";
9
- import { t as CopyButton } from "../../copy-button-z20VEXRF.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-Yp99gmMC.js";
2
+ import { n as ArrowDownIcon } from "../../icons-GoybMAB2.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-Yp99gmMC.js";
2
+ import { n as ArrowDownIcon } from "../../icons-GoybMAB2.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-Yp99gmMC.js";
2
+ import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-GoybMAB2.js";
3
3
  import { Popover } from "../foundations/Popover.js";
4
4
  import { t as ProgressRing } from "../../progress-ring-L2bbF0ji.js";
5
5
  import * as React from "react";
@@ -1,18 +1,18 @@
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 { $ as SquareIcon, C as FileIcon, F as MicrophoneIcon, L as MonitorIcon, W as PlusIcon, Z as SpinnerIcon, a as ArrowUpIcon, ct as WrenchIcon, d as CheckIcon, et as StopIcon, f as ChevronDownIcon, lt as XIcon, st as WarningIcon, w as FolderIcon, z as PaperclipIcon } from "../../icons-Yp99gmMC.js";
3
+ import { $ as SquareIcon, C as FileIcon, F as MicrophoneIcon, L as MonitorIcon, W as PlusIcon, Z as SpinnerIcon, a as ArrowUpIcon, ct as WrenchIcon, d as CheckIcon, et as StopIcon, f as ChevronDownIcon, lt as XIcon, st as WarningIcon, w as FolderIcon, z as PaperclipIcon } from "../../icons-GoybMAB2.js";
4
+ import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-CWaZEp5o.js";
4
5
  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";
10
6
  import { Tooltip } from "../foundations/Tooltip.js";
11
7
  import { IconButton } from "../foundations/IconButton.js";
12
8
  import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
13
- import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-CWaZEp5o.js";
14
9
  import { n as mergeRefs } from "../../merge-refs-DAh6reu8.js";
15
10
  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";
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { C as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-GoybMAB2.js";
3
+ import { Button } from "../foundations/Button.js";
2
4
  import { Collapsible } from "../foundations/Collapsible.js";
3
5
  import { ScrollArea } from "../foundations/ScrollArea.js";
4
- import { C as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.js";
5
- import { Button } from "../foundations/Button.js";
6
6
  import "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/ai-sdk/Queue.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Z as SpinnerIcon } from "../../icons-Yp99gmMC.js";
2
+ import { Z as SpinnerIcon } from "../../icons-GoybMAB2.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 { k as LinkIcon, p as ChevronRightIcon } from "../../icons-GoybMAB2.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { k as LinkIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.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 { C as FileIcon, J as SearchIcon, p as ChevronRightIcon } from "../../icons-GoybMAB2.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { C as FileIcon, J as SearchIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.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
- import { Activity, ActivityContent, ActivityPanel, ActivityTrigger } from "./Activity.js";
2
1
  import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
2
+ import { Activity, ActivityContent, ActivityPanel, ActivityTrigger } from "./Activity.js";
3
3
  import { getToolDisplayName, isToolPartWorking } from "./ToolPart.js";
4
4
  import { t as summarizeToolInput } from "../../summarize-tool-input-CqTcGRYy.js";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
2
  import { Button } from "../foundations/Button.js";
3
- import { t as ChatGptSignInButton } from "../../chatgpt-sign-in-button-DNchrZHs.js";
3
+ import { t as ChatGptSignInButton } from "../../chatgpt-sign-in-button-D8AT6x4c.js";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/extension/ChatGptSignInScreen.tsx
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon, q as RefreshIcon } from "../../icons-Yp99gmMC.js";
3
- import { Menu } from "../foundations/Menu.js";
4
- import { Tooltip } from "../foundations/Tooltip.js";
2
+ import { d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon, q as RefreshIcon } from "../../icons-GoybMAB2.js";
5
3
  import { c as titleCase } from "../../format-CWaZEp5o.js";
4
+ import { Tooltip } from "../foundations/Tooltip.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 { st as WarningIcon } from "../../icons-Yp99gmMC.js";
1
+ import { st as WarningIcon } from "../../icons-GoybMAB2.js";
2
+ import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
2
3
  import { Button } from "../foundations/Button.js";
3
4
  import { Menu } from "../foundations/Menu.js";
4
- import { a as formatErrorMessage } from "../../format-CWaZEp5o.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
- import { l as WorkspaceAutomationSource, t as WorkspaceAutomation } from "../../WorkspaceAutomation-B2Pdz_SU.js";
2
- import { t as ThinkSchedule } from "../../ThinkSchedule-5S834QKW.js";
1
+ import { l as WorkspaceAutomationSource, t as WorkspaceAutomation } from "../../WorkspaceAutomation-yDZorXla.js";
2
+ import { t as ThinkSchedule } from "../../ThinkSchedule-DPoOYWTQ.js";
3
3
  import { WorkspaceCorrespondence } from "../agents-sdk/WorkspaceCorrespondence.js";
4
4
  import { WorkspacePersonSource } from "../agents-sdk/WorkspacePerson.js";
5
5
  import { WorkspaceProjectSource } from "../agents-sdk/WorkspaceProject.js";
@@ -1,23 +1,23 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { A as LockIcon, C as FileIcon, D as KeyboardIcon, G as PuzzleIcon, H as PinIcon, O as LaptopIcon, P as MessageSquareIcon, S as EyeOffIcon, U as PlayIcon, W as PlusIcon, Z as SpinnerIcon, at as UserIcon, b as EllipsisVerticalIcon, c as BoxIcon, d as CheckIcon, et as StopIcon, i as ArrowRightIcon, j as MailIcon, ot as UsersIcon, r as ArrowLeftIcon, st as WarningIcon, u as CalendarIcon } from "../../icons-Yp99gmMC.js";
2
+ import { A as LockIcon, C as FileIcon, D as KeyboardIcon, G as PuzzleIcon, H as PinIcon, O as LaptopIcon, P as MessageSquareIcon, S as EyeOffIcon, U as PlayIcon, W as PlusIcon, Z as SpinnerIcon, at as UserIcon, b as EllipsisVerticalIcon, c as BoxIcon, d as CheckIcon, et as StopIcon, i as ArrowRightIcon, j as MailIcon, ot as UsersIcon, r as ArrowLeftIcon, st as WarningIcon, u as CalendarIcon } from "../../icons-GoybMAB2.js";
3
+ import { a as formatErrorMessage, r as firstLine, t as capitalize } from "../../format-CWaZEp5o.js";
3
4
  import { Button } from "../foundations/Button.js";
4
5
  import { Textarea } from "../foundations/Textarea.js";
5
6
  import { Kbd } from "../foundations/Kbd.js";
6
- import { a as formatErrorMessage, r as firstLine, t as capitalize } from "../../format-CWaZEp5o.js";
7
7
  import { PromptInput, PromptInputBody, PromptInputButton, PromptInputDictation, PromptInputFooter, PromptInputFooterEnd, PromptInputProvider, PromptInputSubmit, PromptInputTextarea, PromptInputTools } from "../ai-sdk/PromptInput.js";
8
+ import { t as ChatGptSignInButton } from "../../chatgpt-sign-in-button-D8AT6x4c.js";
8
9
  import { Avatar } from "../foundations/Avatar.js";
9
10
  import { AppIcon } from "../foundations/AppIcon.js";
10
- import { t as WorkspaceEntityCard } from "../../workspace-entity-card-B1aV-jBj.js";
11
- import { n as peopleListItems, r as personFor } from "../../workspace-person-BVkYb3dv.js";
12
- import { t as ChatGptSignInButton } from "../../chatgpt-sign-in-button-DNchrZHs.js";
13
- import { getThinkScheduleNextRun } from "../agents-sdk/ThinkSchedule.js";
14
11
  import { a as executionResultSummary, n as executionErrorSummary, s as stepState, t as boardNotice } from "../../execution-result-DAuW4VWv.js";
12
+ import { getThinkScheduleNextRun } from "../agents-sdk/ThinkSchedule.js";
13
+ import { Switch } from "../foundations/Switch.js";
14
+ import { t as WorkspaceEntityCard } from "../../workspace-entity-card-B1aV-jBj.js";
15
15
  import { WorkspaceAutomationFile } from "../agents-sdk/WorkspaceAutomation.js";
16
+ import { n as peopleListItems, r as personFor } from "../../workspace-person-BVkYb3dv.js";
16
17
  import { WorkspaceCorrespondenceCard } from "../agents-sdk/WorkspaceCorrespondence.js";
17
18
  import { WorkspacePersonFile } from "../agents-sdk/WorkspacePerson.js";
18
19
  import { WorkspaceProjectFile } from "../agents-sdk/WorkspaceProject.js";
19
20
  import { Radio, RadioGroup } from "../foundations/RadioGroup.js";
20
- import { Switch } from "../foundations/Switch.js";
21
21
  import * as React from "react";
22
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
23
23
  import { useMutation, useQuery } from "@tanstack/react-query";
@@ -1,7 +1,7 @@
1
1
  import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
2
- import { d as CheckIcon } from "../../icons-Yp99gmMC.js";
3
- import { jsx } from "react/jsx-runtime";
2
+ import { d as CheckIcon } from "../../icons-GoybMAB2.js";
4
3
  import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
4
+ import { jsx } from "react/jsx-runtime";
5
5
  //#region src/components/foundations/Checkbox.tsx
6
6
  /**
7
7
  * An accessible checkbox component with custom styling.
@@ -1,7 +1,7 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
2
  import "react";
3
- import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
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-Yp99gmMC.js";
2
+ import { _ as DotIcon, d as CheckIcon } from "../../icons-GoybMAB2.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-Yp99gmMC.js";
2
+ import { _ as DotIcon, d as CheckIcon } from "../../icons-GoybMAB2.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 { J as SearchIcon } from "../../icons-Yp99gmMC.js";
2
+ import { J as SearchIcon } from "../../icons-GoybMAB2.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-Yp99gmMC.js";
2
+ import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-GoybMAB2.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 { Z as SpinnerIcon, d as CheckIcon } from "../../icons-Yp99gmMC.js";
2
+ import { Z as SpinnerIcon, d as CheckIcon } from "../../icons-GoybMAB2.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 { lt as XIcon } from "../../icons-Yp99gmMC.js";
2
+ import { lt as XIcon } from "../../icons-GoybMAB2.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 SquareIcon, A as LockIcon, B as PauseIcon, C as FileIcon, D as KeyboardIcon, E as InfoIcon, F as MicrophoneIcon, G as PuzzleIcon, H as PinIcon, I as MinusIcon, J as SearchIcon, K as QueueIcon, L as MonitorIcon, M as MaximizeIcon, N as McpIcon, O as LaptopIcon, P as MessageSquareIcon, Q as SplitIcon, R as MoonIcon, S as EyeOffIcon, T as FolderOpenIcon, U as PlayIcon, V as PencilIcon, W as PlusIcon, X as SlackIcon, Y as SidebarIcon, Z as SpinnerIcon, _ as DotIcon, a as ArrowUpIcon, at as UserIcon, b as EllipsisVerticalIcon, c as BoxIcon, ct as WrenchIcon, d as CheckIcon, et as StopIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, it as TrashIcon, j as MailIcon, k as LinkIcon, l as BrainIcon, lt as XIcon, m as CodeIcon, n as ArrowDownIcon, nt as TargetIcon, o as ArrowUpRightIcon, ot as UsersIcon, p as ChevronRightIcon, q as RefreshIcon, r as ArrowLeftIcon, rt as TerminalIcon, s as BookmarkIcon, st as WarningIcon, t as ArchiveIcon, tt as SunIcon, u as CalendarIcon, v as DownloadIcon, w as FolderIcon, x as EyeIcon, y as EllipsisIcon, z as PaperclipIcon } from "../../icons-Yp99gmMC.js";
1
+ import { $ as SquareIcon, A as LockIcon, B as PauseIcon, C as FileIcon, D as KeyboardIcon, E as InfoIcon, F as MicrophoneIcon, G as PuzzleIcon, H as PinIcon, I as MinusIcon, J as SearchIcon, K as QueueIcon, L as MonitorIcon, M as MaximizeIcon, N as McpIcon, O as LaptopIcon, P as MessageSquareIcon, Q as SplitIcon, R as MoonIcon, S as EyeOffIcon, T as FolderOpenIcon, U as PlayIcon, V as PencilIcon, W as PlusIcon, X as SlackIcon, Y as SidebarIcon, Z as SpinnerIcon, _ as DotIcon, a as ArrowUpIcon, at as UserIcon, b as EllipsisVerticalIcon, c as BoxIcon, ct as WrenchIcon, d as CheckIcon, et as StopIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, it as TrashIcon, j as MailIcon, k as LinkIcon, l as BrainIcon, lt as XIcon, m as CodeIcon, n as ArrowDownIcon, nt as TargetIcon, o as ArrowUpRightIcon, ot as UsersIcon, p as ChevronRightIcon, q as RefreshIcon, r as ArrowLeftIcon, rt as TerminalIcon, s as BookmarkIcon, st as WarningIcon, t as ArchiveIcon, tt as SunIcon, u as CalendarIcon, v as DownloadIcon, w as FolderIcon, x as EyeIcon, y as EllipsisIcon, z as PaperclipIcon } from "../../icons-GoybMAB2.js";
2
2
  export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, InfoIcon, KeyboardIcon, LaptopIcon, LinkIcon, LockIcon, MailIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, PaperclipIcon, PauseIcon, PencilIcon, PinIcon, PlayIcon, PlusIcon, PuzzleIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SplitIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, UserIcon, UsersIcon, WarningIcon, WrenchIcon, XIcon };
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { C as FileIcon, p as ChevronRightIcon } from "../../icons-GoybMAB2.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { C as FileIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.js";
4
- import { t as CopyButton } from "../../copy-button-z20VEXRF.js";
4
+ import { t as CopyButton } from "../../copy-button-DbR932tF.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 { S as EyeOffIcon, x as EyeIcon } from "../../icons-Yp99gmMC.js";
3
- import { t as CopyButton } from "../../copy-button-z20VEXRF.js";
2
+ import { S as EyeOffIcon, x as EyeIcon } from "../../icons-GoybMAB2.js";
3
+ import { t as CopyButton } from "../../copy-button-DbR932tF.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-H31EVRv_.js";
1
+ import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-CDLOD643.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 { E as InfoIcon, I as MinusIcon, d as CheckIcon } from "../../icons-Yp99gmMC.js";
2
+ import { E as InfoIcon, I as MinusIcon, d as CheckIcon } from "../../icons-GoybMAB2.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
+ import { Card } from "../foundations/Card.js";
4
5
  import { Progress } from "../foundations/Progress.js";
5
- import { Slider } from "../foundations/Slider.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,10 +1,10 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Y as SidebarIcon, f as ChevronDownIcon, r as ArrowLeftIcon, st as WarningIcon } from "../../icons-Yp99gmMC.js";
3
- import { Button } from "../foundations/Button.js";
2
+ import { Y as SidebarIcon, f as ChevronDownIcon, r as ArrowLeftIcon, st as WarningIcon } from "../../icons-GoybMAB2.js";
4
3
  import { t as capitalize } from "../../format-CWaZEp5o.js";
4
+ import { Button } from "../foundations/Button.js";
5
5
  import { n as mergeRefs } from "../../merge-refs-DAh6reu8.js";
6
- import { n as ShellAppBarOutletContext, t as ContentAppBarOutletContext } from "../../app-bar-outlet-CNfNzY4Y.js";
7
6
  import { AppTopBar } from "./AppTopBar.js";
7
+ import { n as ShellAppBarOutletContext, t as ContentAppBarOutletContext } from "../../app-bar-outlet-CNfNzY4Y.js";
8
8
  import { ResizableSidePanel } from "./ResizableSidePanel.js";
9
9
  import * as React from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -7,13 +7,21 @@ export interface SettingsFormDialogProps<Values extends Record<string, unknown>
7
7
  /** Base UI owns dismissal reasons and cancellation, including successful submission. */
8
8
  onOpenChange: NonNullable<React.ComponentProps<typeof Dialog.Root>["onOpenChange"]>;
9
9
  title: React.ReactNode;
10
- description: React.ReactNode;
10
+ description?: React.ReactNode;
11
+ /** Use the shared dialog sizing for compact account views or longer forms. */
12
+ size?: React.ComponentProps<typeof Dialog.Popup>["size"];
11
13
  /** Compose labeled Field/control children with their own defaults and validation. */
12
14
  children: React.ReactNode;
15
+ /** Identity of the form; changing it resets fields and async feedback without reopening the dialog. */
16
+ formKey?: React.Key;
17
+ /** Omit the redundant dismiss action for a Done-only or account-status view. */
18
+ cancelLabel?: string | null;
13
19
  submitLabel: string;
14
20
  submittingLabel?: string;
15
21
  removeLabel?: string;
16
22
  removingLabel?: string;
23
+ /** Keep the form open when removing a connection reveals the next setup step. */
24
+ closeOnRemove?: boolean;
17
25
  externalError?: string;
18
26
  /** Receives Base UI values and event details unchanged; the host owns parsing and normalization. */
19
27
  onFormSubmit: NonNullable<FormProps<Values>["onFormSubmit"]>;
@@ -23,5 +31,5 @@ export interface SettingsFormDialogProps<Values extends Record<string, unknown>
23
31
  * Settings dialog with caller-composed controls and shared async submit/remove
24
32
  * feedback. Base UI owns validation and values; product schemas stay in the host.
25
33
  */
26
- export declare function SettingsFormDialog<Values extends Record<string, unknown> = Record<string, unknown>>({ open, onOpenChange, title, description, ...contentProps }: SettingsFormDialogProps<Values>): React.JSX.Element;
34
+ export declare function SettingsFormDialog<Values extends Record<string, unknown> = Record<string, unknown>>({ open, onOpenChange, title, description, size, formKey, ...contentProps }: SettingsFormDialogProps<Values>): React.JSX.Element;
27
35
  //#endregion
@@ -1,15 +1,16 @@
1
- import { Button } from "../foundations/Button.js";
2
1
  import { Field } from "../foundations/Field.js";
3
- import { Form } from "../foundations/Form.js";
4
- import { Dialog } from "../foundations/Dialog.js";
5
2
  import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
3
+ import { Button } from "../foundations/Button.js";
4
+ import { Dialog } from "../foundations/Dialog.js";
5
+ import { Form } from "../foundations/Form.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
9
- function SettingsFormDialogContent({ children, submitLabel, submittingLabel = "Saving…", removeLabel, removingLabel = "Removing…", externalError, onFormSubmit, onRemove, close }) {
9
+ function SettingsFormDialogContent({ children, submitLabel, cancelLabel = "Cancel", closeOnRemove = true, submittingLabel = "Saving…", removeLabel, removingLabel = "Removing…", externalError, onFormSubmit, onRemove, close }) {
10
10
  const [submission, setSubmission] = React.useState(null);
11
11
  const active = React.useRef(true);
12
12
  const inFlight = React.useRef(false);
13
+ const submitRef = React.useRef(null);
13
14
  const pending = submission === "submit" || submission === "remove";
14
15
  const error = submission && typeof submission === "object" ? submission.error : null;
15
16
  React.useEffect(() => {
@@ -42,7 +43,8 @@ function SettingsFormDialogContent({ children, submitLabel, submittingLabel = "S
42
43
  await onRemove();
43
44
  if (!active.current) return;
44
45
  setSubmission(null);
45
- close();
46
+ if (closeOnRemove) close();
47
+ else submitRef.current?.focus();
46
48
  } catch (cause) {
47
49
  if (!active.current) return;
48
50
  setSubmission({ error: formatErrorMessage(cause) });
@@ -58,15 +60,16 @@ function SettingsFormDialogContent({ children, submitLabel, submittingLabel = "S
58
60
  /* @__PURE__ */ jsxs(Dialog.Footer, { children: [
59
61
  onRemove && removeLabel ? /* @__PURE__ */ jsx(Button, {
60
62
  type: "button",
61
- variant: "ghost",
63
+ variant: "normal",
62
64
  color: "destructive",
63
65
  disabled: pending,
64
66
  focusableWhenDisabled: pending,
65
67
  onClick: () => void remove(),
66
68
  children: submission === "remove" ? removingLabel : removeLabel
67
69
  }) : null,
68
- /* @__PURE__ */ jsx(Dialog.Close, { children: "Cancel" }),
70
+ cancelLabel !== null ? /* @__PURE__ */ jsx(Dialog.Close, { children: cancelLabel }) : null,
69
71
  /* @__PURE__ */ jsx(Button, {
72
+ ref: submitRef,
70
73
  type: "submit",
71
74
  color: "primary",
72
75
  disabled: pending,
@@ -81,16 +84,19 @@ function SettingsFormDialogContent({ children, submitLabel, submittingLabel = "S
81
84
  * Settings dialog with caller-composed controls and shared async submit/remove
82
85
  * feedback. Base UI owns validation and values; product schemas stay in the host.
83
86
  */
84
- function SettingsFormDialog({ open, onOpenChange, title, description, ...contentProps }) {
87
+ function SettingsFormDialog({ open, onOpenChange, title, description, size, formKey, ...contentProps }) {
85
88
  const actionsRef = React.useRef(null);
86
89
  return /* @__PURE__ */ jsx(Dialog.Root, {
87
90
  open,
88
91
  onOpenChange,
89
92
  actionsRef,
90
- children: /* @__PURE__ */ jsxs(Dialog.Portal, { children: [/* @__PURE__ */ jsx(Dialog.Backdrop, {}), /* @__PURE__ */ jsx(Dialog.Viewport, { children: /* @__PURE__ */ jsxs(Dialog.Popup, { children: [/* @__PURE__ */ jsxs(Dialog.Header, { children: [/* @__PURE__ */ jsx(Dialog.Title, { children: title }), /* @__PURE__ */ jsx(Dialog.Description, { children: description })] }), /* @__PURE__ */ jsx(SettingsFormDialogContent, {
91
- ...contentProps,
92
- close: () => actionsRef.current?.close()
93
- }, open ? "open" : "closed")] }) })] })
93
+ children: /* @__PURE__ */ jsxs(Dialog.Portal, { children: [/* @__PURE__ */ jsx(Dialog.Backdrop, {}), /* @__PURE__ */ jsx(Dialog.Viewport, { children: /* @__PURE__ */ jsxs(Dialog.Popup, {
94
+ size,
95
+ children: [/* @__PURE__ */ jsxs(Dialog.Header, { children: [/* @__PURE__ */ jsx(Dialog.Title, { children: title }), description ? /* @__PURE__ */ jsx(Dialog.Description, { children: description }) : null] }), /* @__PURE__ */ jsx(SettingsFormDialogContent, {
96
+ ...contentProps,
97
+ close: () => actionsRef.current?.close()
98
+ }, open ? formKey ?? "open" : "closed")]
99
+ }) })] })
94
100
  });
95
101
  }
96
102
  //#endregion
@@ -1,2 +1,2 @@
1
- import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-Wo4akaSG.js";
1
+ import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-B-iEta9v.js";
2
2
  export { SetupChecklistAction, SetupChecklistGroup };
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { lt as XIcon, rt as TerminalIcon } from "../../icons-GoybMAB2.js";
2
3
  import { ScrollArea } from "../foundations/ScrollArea.js";
3
- import { lt as XIcon, rt as TerminalIcon } from "../../icons-Yp99gmMC.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
- import { t as CopyButton } from "../../copy-button-z20VEXRF.js";
5
+ import { t as CopyButton } from "../../copy-button-DbR932tF.js";
6
6
  import * as React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  import Anser from "anser";
@@ -1,6 +1,6 @@
1
1
  import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { Z as SpinnerIcon, d as CheckIcon, lt as XIcon, p as ChevronRightIcon } from "../../icons-GoybMAB2.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
- import { Z as SpinnerIcon, d as CheckIcon, lt as XIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.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,6 +1,6 @@
1
- import { L as MonitorIcon, R as MoonIcon, tt as SunIcon } from "../../icons-Yp99gmMC.js";
2
- import { Radio, RadioGroup } from "../foundations/RadioGroup.js";
1
+ import { L as MonitorIcon, R as MoonIcon, tt as SunIcon } from "../../icons-GoybMAB2.js";
3
2
  import { useTheme } from "../foundations/ThemeProvider.js";
3
+ import { Radio, RadioGroup } from "../foundations/RadioGroup.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/components/general-purpose/ThemeModeControl.tsx
6
6
  const modes = [
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { f as ChevronDownIcon, i as ArrowRightIcon, q as RefreshIcon, r as ArrowLeftIcon } from "../../icons-GoybMAB2.js";
2
3
  import { Collapsible } from "../foundations/Collapsible.js";
3
4
  import { ScrollArea } from "../foundations/ScrollArea.js";
4
- import { f as ChevronDownIcon, i as ArrowRightIcon, q as RefreshIcon, r as ArrowLeftIcon } from "../../icons-Yp99gmMC.js";
5
5
  import { IconButton } from "../foundations/IconButton.js";
6
6
  import { Input } from "../foundations/Input.js";
7
7
  import * as React from "react";
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { k as LinkIcon } from "../../icons-Yp99gmMC.js";
2
+ import { k as LinkIcon } from "../../icons-GoybMAB2.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-CNvOYR0Q.js";
5
4
  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-DYQdZUH6.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";