@mcp-b/react-components 0.62.0 → 0.64.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.
- package/dist/{AgentActivity-DptCj8XQ.d.ts → AgentActivity-Cngwkalq.d.ts} +2 -9
- package/dist/{AgentChatQueue-DG2rGyCI.d.ts → AgentChatQueue-C1TDnVAn.d.ts} +1 -1
- package/dist/{AppTopBar-DwzydmXu.d.ts → AppTopBar-CM57rJID.d.ts} +7 -3
- package/dist/ChatGptSignInScreen-CmbBe09G.js +298 -0
- package/dist/{CodeBlock-BTkag9ms.d.ts → CodeBlock-BDupVceI.d.ts} +1 -1
- package/dist/CodeBlock-dt0L8md0.js +892 -0
- package/dist/{EmployeeChrome-D5x4EM9y.d.ts → EmployeeChrome-kegSASjC.d.ts} +15 -8
- package/dist/{ExecutionBoard-DvPGdn4F.d.ts → ExecutionBoard-DBj1Aiva.d.ts} +8 -1
- package/dist/ExecutionResult-CXnGcmM4.js +671 -0
- package/dist/FileTree-CjfzpN6X.js +968 -0
- package/dist/{IconButton-FWsa9562.d.ts → IconButton-DXtGMkMI.d.ts} +7 -5
- package/dist/ManagerOffice-T79utm-P.js +2469 -0
- package/dist/{Menu-FA4P6KrA.d.ts → Menu-DajfQr3T.d.ts} +4 -2
- package/dist/{Message-BUedRDN1.d.ts → Message-BLyl6kWe.d.ts} +2 -2
- package/dist/{PromptInput-Dbe6WgWA.d.ts → PromptInput-DEwFMj6f.d.ts} +5 -8
- package/dist/{ResponsiveSidebarShell-DSAMNDdg.d.ts → ResponsiveSidebarShell-RwvmlMHS.d.ts} +23 -13
- package/dist/SetupChecklist-DwscX3Bw.js +230 -0
- package/dist/{Tabs-BYs-RgJ7.d.ts → Tabs-tyvVX3nc.d.ts} +29 -10
- package/dist/{ThinkChatActivity-zZaSsbC-.d.ts → ThinkChatActivity-C7xnO0Fx.d.ts} +1 -1
- package/dist/{ThinkChatActivitySummary-8MO1VjAJ.d.ts → ThinkChatActivitySummary-Dh4Av7x_.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-DJ2TFDmZ.d.ts → ThinkExecutionRun-QzZVWX75.d.ts} +11 -3
- package/dist/ThinkSchedule-D4Ulsa0-.d.ts +53 -0
- package/dist/{ThinkThreadPicker-BmIZmpae.d.ts → ThinkThreadPicker-O-i2KloZ.d.ts} +1 -1
- package/dist/{Workspace-42LA9Zrb.d.ts → Workspace-B9nuTfIi.d.ts} +1 -1
- package/dist/{WorkspaceAutomation-CMvICi-p.d.ts → WorkspaceAutomation-C0fghGLi.d.ts} +3 -3
- package/dist/WorkspaceBrowser-oBJv-Dac.js +985 -0
- package/dist/{WorkspaceConcept-BjrgGE1w.d.ts → WorkspaceConcept-D46cYerS.d.ts} +1 -1
- package/dist/{WorkspaceFile-nK2n0i4S.d.ts → WorkspaceFile-BJC6vlp_.d.ts} +15 -4
- package/dist/WorkspaceFileCommands-SNIjRgtU.d.ts +145 -0
- package/dist/WorkspaceFileTransfer-BRD22nW-.d.ts +159 -0
- package/dist/WorkspaceLink-DDkj-Tq5.js +407 -0
- package/dist/{WorkspaceMessageResponse-BZ-_I18b.js → WorkspaceMessageResponse-CXGOQgpo.js} +111 -24
- package/dist/{agent-tool-runs-DsOp_X2y.js → agent-tool-runs-BXKdcxl8.js} +55 -28
- package/dist/app-bar-outlet-BEIGl9iF.js +35 -0
- package/{LICENSE → dist/assets/desktop/LICENSE.fluent.txt} +1 -1
- package/dist/assets/desktop/LICENSE.mac-icons.txt +7 -0
- package/dist/assets/desktop/README.md +43 -0
- package/dist/assets/desktop/automations.svg +19 -0
- package/dist/assets/desktop/document.svg +24 -0
- package/dist/assets/desktop/folder.png +0 -0
- package/dist/assets/desktop/mail.svg +31 -0
- package/dist/assets/desktop/settings.svg +9 -0
- package/dist/assets/desktop/trash-full.svg +23 -0
- package/dist/assets/desktop/trash.svg +19 -0
- package/dist/attachment-preview-DeRqFjdz.js +68 -0
- package/dist/attempt-CySQHJsF.js +21 -0
- package/dist/{codex-model-catalog-18yO7dln.d.ts → codex-model-catalog-CFEGgUAj.d.ts} +8 -8
- package/dist/command-search-1fjmCBBo.js +34 -0
- package/dist/components/agents-sdk/AIProviderDialog.d.ts +53 -0
- package/dist/components/agents-sdk/AIProviderDialog.js +902 -0
- package/dist/components/agents-sdk/AgentActivity.d.ts +2 -2
- package/dist/components/agents-sdk/AgentActivity.js +78 -31
- package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
- package/dist/components/agents-sdk/AgentChat.js +1120 -393
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentChatQueue.js +290 -173
- package/dist/components/agents-sdk/AgentComputer.d.ts +270 -0
- package/dist/components/agents-sdk/AgentComputer.js +8045 -0
- package/dist/components/agents-sdk/AgentEvent.js +165 -22
- package/dist/components/agents-sdk/AgentScreenSwitcher.d.ts +46 -0
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +409 -0
- package/dist/components/agents-sdk/AgentToolRunsContext.js +139 -41
- package/dist/components/agents-sdk/BrowserLiveScreen.js +860 -551
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +244 -88
- package/dist/components/agents-sdk/BrowserReplay.js +298 -133
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +57 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +979 -129
- package/dist/components/agents-sdk/DiscordConnectionDialog.js +104 -57
- package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +109 -47
- package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +504 -103
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +1383 -522
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeSchedules.js +283 -66
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeStartScreen.js +185 -52
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +1661 -462
- package/dist/components/agents-sdk/ManagerAccountActions.js +143 -36
- package/dist/components/agents-sdk/ManagerOffice.d.ts +15 -8
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +551 -185
- package/dist/components/agents-sdk/McpConnectionRequest.js +331 -116
- package/dist/components/agents-sdk/McpConnectorForm.js +321 -101
- package/dist/components/agents-sdk/McpPluginCatalog.js +698 -250
- package/dist/components/agents-sdk/McpServerIcon.js +57 -14
- package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.js +543 -159
- package/dist/components/agents-sdk/ModelSelector.d.ts +1 -1
- package/dist/components/agents-sdk/ModelSelector.js +1154 -256
- package/dist/components/agents-sdk/PromptInputApproval.js +116 -28
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +33 -46
- package/dist/components/agents-sdk/SlackConnectionDialog.js +38 -14
- package/dist/components/agents-sdk/SubagentRunIndicator.js +118 -25
- package/dist/components/agents-sdk/SubagentRunLanes.js +291 -107
- package/dist/components/agents-sdk/SubagentRunPanel.js +359 -131
- package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
- package/dist/components/agents-sdk/ThinkChat.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkChat.js +321 -129
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +307 -101
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +15 -9
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +1389 -407
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +220 -46
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.js +19 -11
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +224 -37
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +8 -5
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +506 -125
- package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
- package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
- package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +3 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +72 -26
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkSchedule.js +124 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +3 -3
- package/dist/components/agents-sdk/ThinkScheduleActions.js +364 -133
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.js +249 -116
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +312 -91
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +1324 -481
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +435 -215
- package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +30 -13
- package/dist/components/agents-sdk/WorkbenchBack.js +66 -20
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +491 -166
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.js +1496 -419
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1320 -529
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +72 -2
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -94
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +619 -178
- package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +45 -0
- package/dist/components/agents-sdk/WorkspaceDesktop.js +240 -0
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +52 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +268 -86
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceFile.js +30 -9
- package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceFileCommands.js +890 -0
- package/dist/components/agents-sdk/WorkspaceFileDetails.d.ts +29 -0
- package/dist/components/agents-sdk/WorkspaceFileDetails.js +271 -0
- package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceFileTransfer.js +505 -0
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +18 -3
- package/dist/components/agents-sdk/WorkspaceFileView.js +866 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +71 -26
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -2
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceLive.js +126 -73
- package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +63 -0
- package/dist/components/agents-sdk/WorkspaceLocalFolder.js +455 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +119 -59
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +90 -54
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspacePerson.js +172 -41
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceProject.js +175 -41
- package/dist/components/ai-sdk/Activity.js +768 -192
- package/dist/components/ai-sdk/AgentAttention.js +286 -58
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +194 -69
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +368 -80
- package/dist/components/ai-sdk/AgentChatTurnError.d.ts +6 -1
- package/dist/components/ai-sdk/AgentChatTurnError.js +77 -25
- package/dist/components/ai-sdk/AgentMessageParts.js +0 -1
- package/dist/components/ai-sdk/Approval.js +574 -172
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +535 -128
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +404 -80
- package/dist/components/ai-sdk/Checkpoint.js +229 -45
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +216 -48
- package/dist/components/ai-sdk/ConnectedAppCards.js +229 -52
- package/dist/components/ai-sdk/Context.js +738 -179
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +305 -68
- package/dist/components/ai-sdk/ExpansionState.js +74 -15
- package/dist/components/ai-sdk/Goal.js +435 -116
- package/dist/components/ai-sdk/InlineCitation.js +313 -76
- package/dist/components/ai-sdk/MediaPreviewCard.js +451 -135
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +1010 -195
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +264 -46
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +6 -6
- package/dist/components/ai-sdk/Plan.js +639 -128
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +2738 -797
- package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +1 -3
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +188 -83
- package/dist/components/ai-sdk/Queue.js +793 -155
- package/dist/components/ai-sdk/Reasoning.js +268 -69
- package/dist/components/ai-sdk/Sources.js +226 -63
- package/dist/components/ai-sdk/Task.js +294 -71
- package/dist/components/ai-sdk/ToolApproval.js +126 -26
- package/dist/components/ai-sdk/ToolInvocation.js +112 -22
- package/dist/components/extension/ChatGptSignInScreen.js +1 -82
- package/dist/components/extension/CodexModelSelector.d.ts +2 -2
- package/dist/components/extension/CodexModelSelector.js +468 -147
- package/dist/components/extension/ConversationTabPicker.d.ts +1 -1
- package/dist/components/extension/ConversationTabPicker.js +254 -76
- package/dist/components/extension/FirstRunSetup.d.ts +61 -35
- package/dist/components/extension/FirstRunSetup.js +3833 -1011
- package/dist/components/foundations/Accordion.js +186 -41
- package/dist/components/foundations/AlertDialog.js +425 -97
- package/dist/components/foundations/AppIcon.d.ts +13 -13
- package/dist/components/foundations/AppIcon.js +183 -34
- package/dist/components/foundations/Autocomplete.js +408 -89
- package/dist/components/foundations/Avatar.d.ts +100 -2
- package/dist/components/foundations/Avatar.js +204 -44
- package/dist/components/foundations/Button.js +64 -13
- package/dist/components/foundations/Card.js +357 -63
- package/dist/components/foundations/Checkbox.js +83 -18
- package/dist/components/foundations/CheckboxGroup.js +266 -58
- package/dist/components/foundations/Collapsible.d.ts +2 -1
- package/dist/components/foundations/Collapsible.js +130 -27
- package/dist/components/foundations/Combobox.js +408 -89
- package/dist/components/foundations/ContextMenu.d.ts +2 -2
- package/dist/components/foundations/ContextMenu.js +591 -117
- package/dist/components/foundations/DescriptionList.js +159 -28
- package/dist/components/foundations/Dialog.js +373 -89
- package/dist/components/foundations/EmptyState.js +86 -23
- package/dist/components/foundations/Favicon.d.ts +17 -0
- package/dist/components/foundations/Favicon.js +62 -0
- package/dist/components/foundations/Field.js +525 -108
- package/dist/components/foundations/Fieldset.js +115 -23
- package/dist/components/foundations/Form.js +38 -9
- package/dist/components/foundations/FormattedDate.d.ts +19 -5
- package/dist/components/foundations/FormattedDate.js +82 -12
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/IconButton.js +114 -17
- package/dist/components/foundations/Input.js +38 -9
- package/dist/components/foundations/Kbd.js +55 -10
- package/dist/components/foundations/Label.js +56 -12
- package/dist/components/foundations/LinkButton.js +67 -15
- package/dist/components/foundations/Marker.js +138 -29
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +634 -136
- package/dist/components/foundations/Menubar.d.ts +2 -2
- package/dist/components/foundations/Menubar.js +685 -130
- package/dist/components/foundations/Meter.js +186 -41
- package/dist/components/foundations/NavigationMenu.js +426 -95
- package/dist/components/foundations/NumberField.js +223 -49
- package/dist/components/foundations/Popover.js +398 -88
- package/dist/components/foundations/PreviewCard.js +234 -53
- package/dist/components/foundations/Progress.js +117 -25
- package/dist/components/foundations/RadioGroup.d.ts +13 -5
- package/dist/components/foundations/RadioGroup.js +132 -25
- package/dist/components/foundations/ScrollArea.js +230 -51
- package/dist/components/foundations/SearchField.d.ts +8 -3
- package/dist/components/foundations/SearchField.js +129 -28
- package/dist/components/foundations/Select.js +648 -145
- package/dist/components/foundations/Separator.js +61 -12
- package/dist/components/foundations/Slider.js +260 -57
- package/dist/components/foundations/Stepper.d.ts +1 -1
- package/dist/components/foundations/Stepper.js +561 -127
- package/dist/components/foundations/Switch.js +82 -18
- package/dist/components/foundations/Tabs.d.ts +2 -2
- package/dist/components/foundations/Tabs.js +282 -53
- package/dist/components/foundations/Textarea.js +43 -9
- package/dist/components/foundations/ThemeProvider.js +138 -52
- package/dist/components/foundations/Toast.d.ts +10 -2
- package/dist/components/foundations/Toast.js +322 -75
- package/dist/components/foundations/Toggle.d.ts +5 -2
- package/dist/components/foundations/Toggle.js +51 -10
- package/dist/components/foundations/ToggleGroup.d.ts +4 -4
- package/dist/components/foundations/ToggleGroup.js +216 -60
- package/dist/components/foundations/Toolbar.js +249 -61
- package/dist/components/foundations/Tooltip.d.ts +3 -3
- package/dist/components/foundations/Tooltip.js +311 -55
- package/dist/components/foundations/TransitionSurface.js +43 -9
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +99 -17
- package/dist/components/general-purpose/ActionGuide.js +290 -64
- package/dist/components/general-purpose/AppFrame.js +72 -14
- package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
- package/dist/components/general-purpose/AppTopBar.js +349 -60
- package/dist/components/general-purpose/BrandLoading.js +37 -9
- package/dist/components/general-purpose/CommandPalette.d.ts +47 -0
- package/dist/components/general-purpose/CommandPalette.js +271 -0
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +937 -167
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +600 -114
- package/dist/components/general-purpose/FileTree.d.ts +20 -7
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/ListDetail.d.ts +84 -0
- package/dist/components/general-purpose/ListDetail.js +423 -0
- package/dist/components/general-purpose/NotificationPrompt.js +20 -11
- package/dist/components/general-purpose/PricingBillingToggle.js +34 -7
- package/dist/components/general-purpose/PricingConfirmationDialog.js +126 -42
- package/dist/components/general-purpose/PricingFAQ.js +53 -12
- package/dist/components/general-purpose/PricingPage.js +376 -139
- package/dist/components/general-purpose/PricingPlanCard.js +210 -85
- package/dist/components/general-purpose/PricingUsageCalculator.js +233 -83
- package/dist/components/general-purpose/ResizableSidePanel.js +316 -117
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +840 -342
- package/dist/components/general-purpose/ScreenStack.d.ts +54 -0
- package/dist/components/general-purpose/ScreenStack.js +427 -0
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +10 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +238 -74
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/StatusScreen.js +82 -24
- package/dist/components/general-purpose/SwipeActions.d.ts +54 -0
- package/dist/components/general-purpose/SwipeActions.js +357 -0
- package/dist/components/general-purpose/Terminal.d.ts +22 -48
- package/dist/components/general-purpose/Terminal.js +320 -174
- package/dist/components/general-purpose/TestResults.js +975 -196
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -1
- package/dist/components/general-purpose/ThemeModeControl.js +67 -24
- package/dist/components/general-purpose/WallpaperPicker.d.ts +33 -0
- package/dist/components/general-purpose/WallpaperPicker.js +180 -0
- package/dist/components/general-purpose/WebPreview.d.ts +5 -7
- package/dist/components/general-purpose/WebPreview.js +770 -203
- package/dist/components/nanites/AgentConnection.js +323 -84
- package/dist/components/nanites/AgentToolDetail.js +237 -57
- package/dist/components/nanites/GithubMotionMark.js +37 -9
- package/dist/components/nanites/NaniteScene.js +535 -323
- package/dist/connected-app-drafts-Bocdg3Z-.js +637 -0
- package/dist/container-width-C43ccJ84.js +17 -0
- package/dist/context-Ddsp8HgD.js +43 -0
- package/dist/{copy-button-B09hHWd1.d.ts → copy-button-C2HRdomn.d.ts} +1 -1
- package/dist/copy-button-DWBVJR6D.js +118 -0
- package/dist/{format-CWaZEp5o.js → format-DL7f2rqp.js} +5 -1
- package/dist/{icons-CReP3qYl.d.ts → icons-B3n7zvU7.d.ts} +10 -2
- package/dist/icons-nLTnB9kd.js +470 -0
- package/dist/{merge-refs-DAh6reu8.js → merge-refs-DTX97mLp.js} +17 -1
- package/dist/motion-CGM3i6lX.js +319 -0
- package/dist/motion-preferences-6qsDIDvH.js +13 -0
- package/dist/{navigation-link-kqMa81v5.js → navigation-link-DMmtdqsM.js} +32 -8
- package/dist/progress-ring-BO649JA9.js +79 -0
- package/dist/provider-logos-Ceu7iYFx.js +362 -0
- package/dist/scheduled-table-source-gGpVJ1TN.js +92 -0
- package/dist/styles/accessibility.css +26 -0
- package/dist/styles/accordion.css +0 -2
- package/dist/styles/activity.css +20 -12
- package/dist/styles/agent-attention.css +31 -10
- package/dist/styles/agent-chat.css +7 -6
- package/dist/styles/agent-computer-motion-reduction.css +118 -0
- package/dist/styles/agent-computer-motion.css +127 -0
- package/dist/styles/agent-computer-phone.css +942 -0
- package/dist/styles/agent-computer.css +1764 -0
- package/dist/styles/agent-connection.css +5 -5
- package/dist/styles/agent-screen-switcher.css +313 -0
- package/dist/styles/ai-provider-dialog.css +46 -0
- package/dist/styles/app-icon.css +34 -30
- package/dist/styles/app-top-bar.css +33 -18
- package/dist/styles/approval.css +3 -3
- package/dist/styles/artifact.css +1 -1
- package/dist/styles/attachment-preview.css +2 -4
- package/dist/styles/avatar.css +12 -14
- package/dist/styles/base-ui-motion.css +84 -18
- package/dist/styles/base-ui-motion.test.tsx +305 -0
- package/dist/styles/base.css +16 -12
- package/dist/styles/brand.test.ts +7 -20
- package/dist/styles/browser-control-overlay.css +1 -1
- package/dist/styles/browser-live-screen.css +2 -2
- package/dist/styles/browser-live-view.css +1 -1
- package/dist/styles/browser-replay.css +0 -8
- package/dist/styles/browser-run-panel.css +275 -37
- package/dist/styles/button.css +52 -9
- package/dist/styles/card.css +6 -5
- package/dist/styles/chain-of-thought.css +0 -10
- package/dist/styles/checkpoint.css +2 -2
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/color-contrast.test.ts +18 -1
- package/dist/styles/command-palette.css +110 -0
- package/dist/styles/composer-link.css +11 -7
- package/dist/styles/composition-motion.css +3 -14
- package/dist/styles/context.css +2 -2
- package/dist/styles/conversation-tab-picker.css +7 -0
- package/dist/styles/conversation.css +8 -2
- package/dist/styles/dialog.css +2 -2
- package/dist/styles/employee-app.css +8 -2
- package/dist/styles/employee-chrome.css +15 -6
- package/dist/styles/execution-board.css +206 -114
- package/dist/styles/execution-result.css +2 -2
- package/dist/styles/field.css +187 -4
- package/dist/styles/file-tree.css +218 -40
- package/dist/styles/first-run-setup.css +914 -187
- package/dist/styles/github-motion-mark.css +0 -8
- package/dist/styles/index.css +145 -132
- package/dist/styles/inline-citation.css +5 -4
- package/dist/styles/list-detail.css +57 -0
- package/dist/styles/manager-office.css +6 -8
- package/dist/styles/manager-work.css +4 -2
- package/dist/styles/mcp-plugin-catalog.css +2 -2
- package/dist/styles/mcp-server-picker.css +3 -6
- package/dist/styles/media-preview-card.css +2 -2
- package/dist/styles/menu.css +0 -9
- package/dist/styles/menubar.css +18 -6
- package/dist/styles/message-scroller.css +47 -9
- package/dist/styles/message.css +3 -3
- package/dist/styles/model-selector.css +1 -1
- package/dist/styles/motion-reduction.css +39 -6
- package/dist/styles/pricing-page.css +1 -1
- package/dist/styles/prompt-input.css +29 -29
- package/dist/styles/queue.css +1 -1
- package/dist/styles/recipes.css +212 -28
- package/dist/styles/responsive-sidebar-shell-motion.test.ts +81 -1
- package/dist/styles/responsive-sidebar-shell.css +40 -43
- package/dist/styles/screen-stack.css +123 -0
- package/dist/styles/search-field.css +80 -3
- package/dist/styles/stepper.css +0 -10
- package/dist/styles/streamdown.css +2 -2
- package/dist/styles/subagent-run.css +9 -5
- package/dist/styles/swipe-actions.css +158 -0
- package/dist/styles/tabs.css +80 -23
- package/dist/styles/task.css +7 -1
- package/dist/styles/terminal.css +66 -78
- package/dist/styles/test-results.css +1 -19
- package/dist/styles/textarea.css +2 -1
- package/dist/styles/theme-mode-control.css +154 -26
- package/dist/styles/think-chat-tool-panels.css +1 -1
- package/dist/styles/think-execution-workbench.css +0 -9
- package/dist/styles/think-full-app.css +7 -1
- package/dist/styles/think-schedule.css +81 -54
- package/dist/styles/think-thread-picker.css +28 -37
- package/dist/styles/toast.css +11 -0
- package/dist/styles/toggle-group.css +0 -10
- package/dist/styles/toggle.css +13 -0
- package/dist/styles/tooltip.css +12 -0
- package/dist/styles/transition-surface.css +1 -0
- package/dist/styles/wallpaper-picker.css +224 -0
- package/dist/styles/web-preview.css +47 -18
- package/dist/styles/workspace-automation.css +116 -17
- package/dist/styles/workspace-concepts.css +1 -1
- package/dist/styles/workspace-desktop.css +124 -0
- package/dist/styles/workspace-entity-card.css +3 -1
- package/dist/styles/workspace-explorer.css +499 -5
- package/dist/utils/brand-marks.d.ts +13 -0
- package/dist/utils/brand-marks.js +14 -0
- package/dist/utils/codex-model-catalog.d.ts +1 -1
- package/dist/utils/desktop-artwork.d.ts +17 -0
- package/dist/utils/desktop-artwork.js +18 -0
- package/dist/utils/favicon.d.ts +6 -2
- package/dist/utils/favicon.js +16 -4
- package/dist/utils/model-provider-error.d.ts +17 -0
- package/dist/utils/model-provider-error.js +76 -0
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/workspace-assets-DdtnBDU3.js +213 -0
- package/dist/{workspace-concept-panel-KpMmznB_.d.ts → workspace-concept-panel-BDTBISNO.d.ts} +2 -2
- package/dist/workspace-concept-panel-VkjvFCY_.js +140 -0
- package/dist/workspace-delete-BOY6CMBf.js +183 -0
- package/dist/workspace-drag-B6hMXUNt.js +304 -0
- package/dist/workspace-entity-card-9YcsNiqU.js +178 -0
- package/dist/workspace-media-preview-B4iB5Tvi.js +1295 -0
- package/dist/{workspace-path-L_KmjRjq.js → workspace-path-TZggP-u4.js} +14 -1
- package/dist/{workspace-person-BVkYb3dv.js → workspace-person-ZwPqu5TX.js} +67 -21
- package/dist/workspace-quick-look-9V-UFpjj.js +1562 -0
- package/package.json +9 -3
- package/dist/Avatar-t1YRzdwB.d.ts +0 -101
- package/dist/CodeBlock-CNvOYR0Q.js +0 -318
- package/dist/ExecutionResult-DmC21cll.js +0 -279
- package/dist/FileTree-H31EVRv_.js +0 -323
- package/dist/ManagerOffice-B3X3iZV9.js +0 -1129
- package/dist/SetupChecklist-Wo4akaSG.js +0 -78
- package/dist/ThinkSchedule-CSuDGrZ9.d.ts +0 -34
- package/dist/WorkspaceFileView-BWI_AJlV.js +0 -783
- package/dist/WorkspaceLink-BeFAXpbI.js +0 -225
- package/dist/app-bar-outlet-CNfNzY4Y.js +0 -6
- package/dist/attachment-preview-1CXJvrmb.js +0 -25
- package/dist/chatgpt-sign-in-button-DNchrZHs.js +0 -32
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +0 -31
- package/dist/components/agents-sdk/ModelEndpointDialog.js +0 -141
- package/dist/connected-app-drafts-B9i69bkj.js +0 -283
- package/dist/copy-button-z20VEXRF.js +0 -45
- package/dist/icons-Yp99gmMC.js +0 -141
- package/dist/progress-ring-L2bbF0ji.js +0 -40
- package/dist/provider-logos-DWYY8wNz.js +0 -99
- package/dist/scheduled-table-source-NZR1vFc_.js +0 -38
- package/dist/workspace-assets-Dq5toMQc.js +0 -107
- package/dist/workspace-concept-panel-CxZfmFkP.js +0 -66
- package/dist/workspace-delete-CoB0l6ZU.js +0 -81
- package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
import { X as SlackIcon, _ as DotIcon, d as CheckIcon, j as MailIcon, lt as XIcon } from "./icons-Yp99gmMC.js";
|
|
2
|
-
import { Button } from "./components/foundations/Button.js";
|
|
3
|
-
import { Field } from "./components/foundations/Field.js";
|
|
4
|
-
import { Textarea } from "./components/foundations/Textarea.js";
|
|
5
|
-
import { CardContent, CardFooter } from "./components/foundations/Card.js";
|
|
6
|
-
import { DescriptionList } from "./components/foundations/DescriptionList.js";
|
|
7
|
-
import { Input } from "./components/foundations/Input.js";
|
|
8
|
-
import { a as httpUrl, t as FaviconMark } from "./workspace-assets-Dq5toMQc.js";
|
|
9
|
-
import { t as WorkspaceEntityCard } from "./workspace-entity-card-B1aV-jBj.js";
|
|
10
|
-
import { i as recipientField } from "./workspace-person-BVkYb3dv.js";
|
|
11
|
-
import * as React from "react";
|
|
12
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
//#region src/components/_internal/connected-app-card-frame.tsx
|
|
14
|
-
const STATE_ICON = {
|
|
15
|
-
"approval-requested": DotIcon,
|
|
16
|
-
pending: DotIcon,
|
|
17
|
-
sent: CheckIcon,
|
|
18
|
-
denied: XIcon,
|
|
19
|
-
failed: XIcon
|
|
20
|
-
};
|
|
21
|
-
/** Labeled facts, or their inputs while editing. A web address shows its site's mark. */
|
|
22
|
-
function FieldList({ editing, items, onFieldChange }) {
|
|
23
|
-
const fieldId = React.useId();
|
|
24
|
-
if (items.length === 0) return null;
|
|
25
|
-
return /* @__PURE__ */ jsx(DescriptionList.Root, {
|
|
26
|
-
align: "start",
|
|
27
|
-
density: "compact",
|
|
28
|
-
children: items.map((item) => {
|
|
29
|
-
const inputId = `${fieldId}-${item.name}`;
|
|
30
|
-
const hintId = item.hint ? `${inputId}-hint` : void 0;
|
|
31
|
-
const href = httpUrl(item.value);
|
|
32
|
-
return /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsxs(DescriptionList.Term, { children: [href ? /* @__PURE__ */ jsx(FaviconMark, { href }) : null, editing ? /* @__PURE__ */ jsx("label", {
|
|
33
|
-
htmlFor: inputId,
|
|
34
|
-
children: item.term
|
|
35
|
-
}) : item.term] }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: editing ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Input, {
|
|
36
|
-
id: inputId,
|
|
37
|
-
name: item.name,
|
|
38
|
-
type: href ? "url" : void 0,
|
|
39
|
-
value: item.value,
|
|
40
|
-
autoComplete: "off",
|
|
41
|
-
"aria-describedby": hintId,
|
|
42
|
-
onChange: (event) => onFieldChange?.(item.name, event.currentTarget.value)
|
|
43
|
-
}), hintId ? /* @__PURE__ */ jsx("p", {
|
|
44
|
-
id: hintId,
|
|
45
|
-
className: "connected-app-card__hint",
|
|
46
|
-
children: item.hint
|
|
47
|
-
}) : null] }) : item.display ?? item.value })] }, item.name);
|
|
48
|
-
})
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
/** The draft's message: its textarea while editing, otherwise its text when there is any. */
|
|
52
|
-
function MessageBody({ editing, name, value, onChange }) {
|
|
53
|
-
if (!editing) return value ? /* @__PURE__ */ jsx("p", {
|
|
54
|
-
className: "connected-app-card__body",
|
|
55
|
-
children: value
|
|
56
|
-
}) : null;
|
|
57
|
-
return /* @__PURE__ */ jsxs(Field.Root, { children: [/* @__PURE__ */ jsx(Field.Label, { children: "Message" }), /* @__PURE__ */ jsx(Field.Control, {
|
|
58
|
-
render: /* @__PURE__ */ jsx(Textarea, {
|
|
59
|
-
name,
|
|
60
|
-
rows: 4,
|
|
61
|
-
resize: "vertical",
|
|
62
|
-
autoComplete: "off"
|
|
63
|
-
}),
|
|
64
|
-
value,
|
|
65
|
-
onChange: (event) => onChange(event.currentTarget.value)
|
|
66
|
-
})] });
|
|
67
|
-
}
|
|
68
|
-
/** Runs Send once at a time and keeps its failure for the card to show. */
|
|
69
|
-
function useSend(onSend) {
|
|
70
|
-
const [busy, setBusy] = React.useState(false);
|
|
71
|
-
const [errorMessage, setErrorMessage] = React.useState("");
|
|
72
|
-
const send = async () => {
|
|
73
|
-
if (!onSend || busy) return;
|
|
74
|
-
setBusy(true);
|
|
75
|
-
setErrorMessage("");
|
|
76
|
-
try {
|
|
77
|
-
await onSend();
|
|
78
|
-
} catch (error) {
|
|
79
|
-
setErrorMessage(error instanceof Error && error.message.trim() ? error.message : "Nothing was sent. Try again.");
|
|
80
|
-
} finally {
|
|
81
|
-
setBusy(false);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
return {
|
|
85
|
-
busy,
|
|
86
|
-
errorMessage,
|
|
87
|
-
send
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
const SEND_STATE_LABELS = {
|
|
91
|
-
"approval-requested": "Awaiting approval",
|
|
92
|
-
pending: "Sending",
|
|
93
|
-
sent: "Sent",
|
|
94
|
-
denied: "Denied",
|
|
95
|
-
failed: "Not sent"
|
|
96
|
-
};
|
|
97
|
-
/** A draft on the entity card: its status, body, and save lifecycle, and Send where offered. */
|
|
98
|
-
function ConnectedAppCardFrame({ actions, children, sendLabel = "Send", state, saveState, stateLabels = SEND_STATE_LABELS, onSend, ...props }) {
|
|
99
|
-
const offersSend = state === void 0 && onSend != null;
|
|
100
|
-
const status = state ? stateLabels[state] : offersSend ? "Ready to send" : void 0;
|
|
101
|
-
const StateIcon = STATE_ICON[state ?? "pending"];
|
|
102
|
-
const send = useSend(onSend);
|
|
103
|
-
return /* @__PURE__ */ jsxs(WorkspaceEntityCard, {
|
|
104
|
-
...props,
|
|
105
|
-
"data-state": state,
|
|
106
|
-
actions: /* @__PURE__ */ jsxs(Fragment, { children: [status ? /* @__PURE__ */ jsxs("span", {
|
|
107
|
-
className: "connected-app-card__status",
|
|
108
|
-
"data-state": state,
|
|
109
|
-
children: [/* @__PURE__ */ jsx(StateIcon, { size: 14 }), status]
|
|
110
|
-
}) : null, actions] }),
|
|
111
|
-
children: [/* @__PURE__ */ jsxs(CardContent, { children: [
|
|
112
|
-
children,
|
|
113
|
-
/* @__PURE__ */ jsx(ConnectedAppCardSaveError, { saveState }),
|
|
114
|
-
send.errorMessage ? /* @__PURE__ */ jsx(Field.Errors, { errors: [send.errorMessage] }) : null,
|
|
115
|
-
/* @__PURE__ */ jsx("span", {
|
|
116
|
-
className: "sigvelo-visually-hidden",
|
|
117
|
-
role: "status",
|
|
118
|
-
"aria-atomic": "true",
|
|
119
|
-
children: connectedAppCardAnnouncement(saveState, send)
|
|
120
|
-
})
|
|
121
|
-
] }), offersSend ? /* @__PURE__ */ jsx(CardFooter, {
|
|
122
|
-
render: /* @__PURE__ */ jsx("footer", {}),
|
|
123
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
124
|
-
type: "button",
|
|
125
|
-
size: "sm",
|
|
126
|
-
disabled: send.busy || saveState !== void 0,
|
|
127
|
-
onClick: () => void send.send(),
|
|
128
|
-
children: sendLabel
|
|
129
|
-
})
|
|
130
|
-
}) : null]
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
/** A failed save stays visible, with its retry, until the store holds the draft. */
|
|
134
|
-
function ConnectedAppCardSaveError({ saveState }) {
|
|
135
|
-
if (saveState?.status !== "error" || !saveState.message) return null;
|
|
136
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
137
|
-
className: "connected-app-card__save-error",
|
|
138
|
-
children: [/* @__PURE__ */ jsx(Field.Errors, { errors: [saveState.message] }), saveState.onRetry ? /* @__PURE__ */ jsx(Button, {
|
|
139
|
-
type: "button",
|
|
140
|
-
size: "sm",
|
|
141
|
-
variant: "ghost",
|
|
142
|
-
color: "neutral",
|
|
143
|
-
onClick: saveState.onRetry,
|
|
144
|
-
children: "Retry save"
|
|
145
|
-
}) : null]
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
/** One polite announcement: errors first, then the save or send in flight. */
|
|
149
|
-
function connectedAppCardAnnouncement(saveState, send) {
|
|
150
|
-
if (saveState?.status === "error" && saveState.message) return saveState.message;
|
|
151
|
-
if (send.errorMessage) return send.errorMessage;
|
|
152
|
-
if (saveState?.status === "saving") return "Saving";
|
|
153
|
-
return send.busy ? "Sending" : "";
|
|
154
|
-
}
|
|
155
|
-
//#endregion
|
|
156
|
-
//#region src/components/_internal/connected-app-drafts.tsx
|
|
157
|
-
function createDraftUpdater(draft, onChange) {
|
|
158
|
-
let current = draft;
|
|
159
|
-
return (patch) => {
|
|
160
|
-
const next = {
|
|
161
|
-
...current,
|
|
162
|
-
...patch
|
|
163
|
-
};
|
|
164
|
-
current = next;
|
|
165
|
-
onChange?.(next);
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
function EmailDraftCard({ draft, icon, people, state, onChange, ...props }) {
|
|
169
|
-
const { from, to, subject, body } = draft;
|
|
170
|
-
const editing = state === void 0 && onChange != null;
|
|
171
|
-
const updateDraft = createDraftUpdater(draft, onChange);
|
|
172
|
-
return /* @__PURE__ */ jsxs(ConnectedAppCardFrame, {
|
|
173
|
-
...props,
|
|
174
|
-
"data-slot": "email-message-card",
|
|
175
|
-
icon: icon ?? /* @__PURE__ */ jsx(MailIcon, {}),
|
|
176
|
-
name: "New email",
|
|
177
|
-
sendLabel: "Send email",
|
|
178
|
-
state,
|
|
179
|
-
children: [/* @__PURE__ */ jsx(FieldList, {
|
|
180
|
-
editing,
|
|
181
|
-
onFieldChange: (name, value) => updateDraft({ [name]: value }),
|
|
182
|
-
items: editing ? [
|
|
183
|
-
{
|
|
184
|
-
name: "from",
|
|
185
|
-
term: "From",
|
|
186
|
-
value: from ?? ""
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
name: "to",
|
|
190
|
-
term: "To",
|
|
191
|
-
value: to ?? "",
|
|
192
|
-
...recipientField(to ?? "", people)
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
name: "subject",
|
|
196
|
-
term: "Subject",
|
|
197
|
-
value: subject
|
|
198
|
-
}
|
|
199
|
-
] : [
|
|
200
|
-
...from ? [{
|
|
201
|
-
name: "from",
|
|
202
|
-
term: "From",
|
|
203
|
-
value: from
|
|
204
|
-
}] : [],
|
|
205
|
-
...to ? [{
|
|
206
|
-
name: "to",
|
|
207
|
-
term: "To",
|
|
208
|
-
value: to,
|
|
209
|
-
...recipientField(to, people)
|
|
210
|
-
}] : [],
|
|
211
|
-
{
|
|
212
|
-
name: "subject",
|
|
213
|
-
term: "Subject",
|
|
214
|
-
value: subject
|
|
215
|
-
}
|
|
216
|
-
]
|
|
217
|
-
}), /* @__PURE__ */ jsx(MessageBody, {
|
|
218
|
-
editing,
|
|
219
|
-
name: "body",
|
|
220
|
-
value: body ?? "",
|
|
221
|
-
onChange: (value) => updateDraft({ body: value })
|
|
222
|
-
})]
|
|
223
|
-
});
|
|
224
|
-
}
|
|
225
|
-
function SlackDraftCard({ draft, icon, people, state, onChange, ...props }) {
|
|
226
|
-
const { workspace, to, thread, message } = draft;
|
|
227
|
-
const editing = state === void 0 && onChange != null;
|
|
228
|
-
const updateDraft = createDraftUpdater(draft, onChange);
|
|
229
|
-
return /* @__PURE__ */ jsxs(ConnectedAppCardFrame, {
|
|
230
|
-
...props,
|
|
231
|
-
"data-slot": "slack-message-card",
|
|
232
|
-
icon: icon ?? /* @__PURE__ */ jsx(SlackIcon, {}),
|
|
233
|
-
name: "Slack message",
|
|
234
|
-
sendLabel: "Send message",
|
|
235
|
-
state,
|
|
236
|
-
children: [/* @__PURE__ */ jsx(FieldList, {
|
|
237
|
-
editing,
|
|
238
|
-
onFieldChange: (name, value) => updateDraft({ [name]: value }),
|
|
239
|
-
items: editing ? [
|
|
240
|
-
{
|
|
241
|
-
name: "workspace",
|
|
242
|
-
term: "Workspace",
|
|
243
|
-
value: workspace ?? ""
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
name: "to",
|
|
247
|
-
term: "To",
|
|
248
|
-
value: to,
|
|
249
|
-
...recipientField(to, people)
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
name: "thread",
|
|
253
|
-
term: "Thread",
|
|
254
|
-
value: thread ?? ""
|
|
255
|
-
}
|
|
256
|
-
] : [
|
|
257
|
-
...workspace ? [{
|
|
258
|
-
name: "workspace",
|
|
259
|
-
term: "Workspace",
|
|
260
|
-
value: workspace
|
|
261
|
-
}] : [],
|
|
262
|
-
{
|
|
263
|
-
name: "to",
|
|
264
|
-
term: "To",
|
|
265
|
-
value: to,
|
|
266
|
-
...recipientField(to, people)
|
|
267
|
-
},
|
|
268
|
-
...thread ? [{
|
|
269
|
-
name: "thread",
|
|
270
|
-
term: "Thread",
|
|
271
|
-
value: thread
|
|
272
|
-
}] : []
|
|
273
|
-
]
|
|
274
|
-
}), /* @__PURE__ */ jsx(MessageBody, {
|
|
275
|
-
editing,
|
|
276
|
-
name: "message",
|
|
277
|
-
value: message,
|
|
278
|
-
onChange: (value) => updateDraft({ message: value })
|
|
279
|
-
})]
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
//#endregion
|
|
283
|
-
export { MessageBody as a, FieldList as i, SlackDraftCard as n, ConnectedAppCardFrame as r, EmailDraftCard as t };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { d as CheckIcon, h as CopyIcon } from "./icons-Yp99gmMC.js";
|
|
2
|
-
import { IconButton } from "./components/foundations/IconButton.js";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
//#region src/components/_internal/copy-button.tsx
|
|
6
|
-
function CopyButton({ label, tooltip = label, text, size = "sm", timeout = 1500, stopPropagation = false, onCopy, onError, onClick, ...props }) {
|
|
7
|
-
const [copied, setCopied] = React.useState(false);
|
|
8
|
-
const timeoutRef = React.useRef(null);
|
|
9
|
-
React.useEffect(() => () => {
|
|
10
|
-
if (timeoutRef.current !== null) window.clearTimeout(timeoutRef.current);
|
|
11
|
-
}, []);
|
|
12
|
-
const handleClick = React.useCallback(async (event) => {
|
|
13
|
-
if (stopPropagation) event.stopPropagation();
|
|
14
|
-
try {
|
|
15
|
-
await navigator.clipboard.writeText(text);
|
|
16
|
-
setCopied(true);
|
|
17
|
-
onCopy?.();
|
|
18
|
-
if (timeoutRef.current !== null) window.clearTimeout(timeoutRef.current);
|
|
19
|
-
timeoutRef.current = window.setTimeout(() => setCopied(false), timeout);
|
|
20
|
-
} catch (error) {
|
|
21
|
-
onError?.(error);
|
|
22
|
-
}
|
|
23
|
-
onClick?.(event);
|
|
24
|
-
}, [
|
|
25
|
-
onClick,
|
|
26
|
-
onCopy,
|
|
27
|
-
onError,
|
|
28
|
-
stopPropagation,
|
|
29
|
-
text,
|
|
30
|
-
timeout
|
|
31
|
-
]);
|
|
32
|
-
return /* @__PURE__ */ jsx(IconButton, {
|
|
33
|
-
type: "button",
|
|
34
|
-
label,
|
|
35
|
-
tooltip: copied ? "Copied" : tooltip,
|
|
36
|
-
variant: "ghost",
|
|
37
|
-
color: "neutral",
|
|
38
|
-
size,
|
|
39
|
-
...props,
|
|
40
|
-
onClick: handleClick,
|
|
41
|
-
children: copied ? /* @__PURE__ */ jsx(CheckIcon, {}) : /* @__PURE__ */ jsx(CopyIcon, {})
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
export { CopyButton as t };
|
package/dist/icons-Yp99gmMC.js
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, Bookmark, Box, Brain, CalendarDays, Check, ChevronDown, ChevronRight, CircleStop, CodeXml, Copy, Dot, Download, Ellipsis, EllipsisVertical, Eye, EyeOff, File, Folder, FolderOpen, Info, Keyboard, Laptop, Link2, ListRestart, LoaderCircle, Lock, Mail, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Pin, Play, Plus, Puzzle, RefreshCw, Search, Split, Square, Sun, Target, Terminal, Trash2, TriangleAlert, User, Users, Wrench, X } from "lucide-react";
|
|
4
|
-
import { SiDiscord, SiModelcontextprotocol } from "react-icons/si";
|
|
5
|
-
//#region src/components/_internal/icons.tsx
|
|
6
|
-
function icon(Component) {
|
|
7
|
-
return function DesignSystemIcon({ size = 16, strokeWidth = 1.75, ...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx(Component, {
|
|
9
|
-
size,
|
|
10
|
-
strokeWidth,
|
|
11
|
-
"aria-hidden": "true",
|
|
12
|
-
focusable: "false",
|
|
13
|
-
...props
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
function brandIcon(Component) {
|
|
18
|
-
return function DesignSystemBrandIcon({ size = 16, ...props }) {
|
|
19
|
-
return /* @__PURE__ */ jsx(Component, {
|
|
20
|
-
size,
|
|
21
|
-
"aria-hidden": "true",
|
|
22
|
-
focusable: "false",
|
|
23
|
-
...props
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
const ChevronRightIcon = icon(ChevronRight);
|
|
28
|
-
const ChevronDownIcon = icon(ChevronDown);
|
|
29
|
-
const CheckIcon = icon(Check);
|
|
30
|
-
const CodeIcon = icon(CodeXml);
|
|
31
|
-
const XIcon = icon(X);
|
|
32
|
-
const PencilIcon = icon(Pencil);
|
|
33
|
-
const CopyIcon = icon(Copy);
|
|
34
|
-
const EyeIcon = icon(Eye);
|
|
35
|
-
const EyeOffIcon = icon(EyeOff);
|
|
36
|
-
const FolderIcon = icon(Folder);
|
|
37
|
-
const FolderOpenIcon = icon(FolderOpen);
|
|
38
|
-
const FileIcon = icon(File);
|
|
39
|
-
const PaperclipIcon = icon(Paperclip);
|
|
40
|
-
const MicrophoneIcon = icon(Mic);
|
|
41
|
-
const StopIcon = icon(CircleStop);
|
|
42
|
-
const PlusIcon = icon(Plus);
|
|
43
|
-
const MinusIcon = icon(Minus);
|
|
44
|
-
const PlayIcon = icon(Play);
|
|
45
|
-
const PauseIcon = icon(Pause);
|
|
46
|
-
const SquareIcon = icon(Square);
|
|
47
|
-
const SplitIcon = icon(Split);
|
|
48
|
-
const ArrowLeftIcon = icon(ArrowLeft);
|
|
49
|
-
const ArrowRightIcon = icon(ArrowRight);
|
|
50
|
-
const ArrowDownIcon = icon(ArrowDown);
|
|
51
|
-
const ArrowUpIcon = icon(ArrowUp);
|
|
52
|
-
const ArrowUpRightIcon = icon(ArrowUpRight);
|
|
53
|
-
const BookmarkIcon = icon(Bookmark);
|
|
54
|
-
const ArchiveIcon = icon(Archive);
|
|
55
|
-
const DownloadIcon = icon(Download);
|
|
56
|
-
const RefreshIcon = icon(RefreshCw);
|
|
57
|
-
const DotIcon = icon(Dot);
|
|
58
|
-
const EllipsisIcon = icon(Ellipsis);
|
|
59
|
-
function SpinnerIcon({ className, size = 16, strokeWidth = 1.75, ...props }) {
|
|
60
|
-
return /* @__PURE__ */ jsx(LoaderCircle, {
|
|
61
|
-
size,
|
|
62
|
-
strokeWidth,
|
|
63
|
-
"aria-hidden": "true",
|
|
64
|
-
focusable: "false",
|
|
65
|
-
className: cx("sigvelo-icon--spinner", className),
|
|
66
|
-
...props
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
const SearchIcon = icon(Search);
|
|
70
|
-
const SidebarIcon = icon(PanelLeft);
|
|
71
|
-
const TerminalIcon = icon(Terminal);
|
|
72
|
-
const LinkIcon = icon(Link2);
|
|
73
|
-
const KeyboardIcon = icon(Keyboard);
|
|
74
|
-
const QueueIcon = icon(ListRestart);
|
|
75
|
-
const TrashIcon = icon(Trash2);
|
|
76
|
-
const WarningIcon = icon(TriangleAlert);
|
|
77
|
-
const BoxIcon = icon(Box);
|
|
78
|
-
const BrainIcon = icon(Brain);
|
|
79
|
-
const CalendarIcon = icon(CalendarDays);
|
|
80
|
-
const WrenchIcon = icon(Wrench);
|
|
81
|
-
const InfoIcon = icon(Info);
|
|
82
|
-
const MonitorIcon = icon(Monitor);
|
|
83
|
-
const MessageSquareIcon = icon(MessageSquare);
|
|
84
|
-
const MailIcon = icon(Mail);
|
|
85
|
-
const UserIcon = icon(User);
|
|
86
|
-
const UsersIcon = icon(Users);
|
|
87
|
-
const McpIcon = brandIcon(SiModelcontextprotocol);
|
|
88
|
-
/** Discord Blurple. Callers override with `color` or a `className` that sets color. */
|
|
89
|
-
function DiscordIcon({ size = 16, color = "#5865F2", className, ...props }) {
|
|
90
|
-
return /* @__PURE__ */ jsx(SiDiscord, {
|
|
91
|
-
size,
|
|
92
|
-
color,
|
|
93
|
-
"aria-hidden": "true",
|
|
94
|
-
focusable: "false",
|
|
95
|
-
className: cx("sigvelo-brand-mark", "sigvelo-brand-mark--discord", className),
|
|
96
|
-
...props
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
/** Four-color Slack hash. Official fills live on the paths, not currentColor. */
|
|
100
|
-
function SlackIcon({ size = 16, className, ...props }) {
|
|
101
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
102
|
-
width: size,
|
|
103
|
-
height: size,
|
|
104
|
-
viewBox: "0 0 200 200",
|
|
105
|
-
fill: "none",
|
|
106
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
107
|
-
"aria-hidden": "true",
|
|
108
|
-
focusable: "false",
|
|
109
|
-
className: cx("sigvelo-brand-mark", "sigvelo-brand-mark--colorful", className),
|
|
110
|
-
...props,
|
|
111
|
-
children: [
|
|
112
|
-
/* @__PURE__ */ jsx("path", {
|
|
113
|
-
d: "M53.0056 121.477C53.0056 130.921 45.3784 138.555 35.9413 138.555C26.5042 138.555 18.877 130.921 18.877 121.477C18.877 112.032 26.5042 104.398 35.9413 104.398H53.0056V121.477ZM61.5378 121.477C61.5378 112.032 69.165 104.398 78.6021 104.398C88.0392 104.398 95.6664 112.032 95.6664 121.477V164.172C95.6664 173.617 88.0392 181.25 78.6021 181.25C69.165 181.25 61.5378 173.617 61.5378 164.172V121.477Z",
|
|
114
|
-
fill: "#E01E5A"
|
|
115
|
-
}),
|
|
116
|
-
/* @__PURE__ */ jsx("path", {
|
|
117
|
-
d: "M78.6044 52.9062C69.1673 52.9062 61.5401 45.2728 61.5401 35.8281C61.5401 26.3834 69.1673 18.75 78.6044 18.75C88.0415 18.75 95.6688 26.3834 95.6688 35.8281V52.9062H78.6044ZM78.6044 61.5747C88.0415 61.5747 95.6688 69.2081 95.6688 78.6528C95.6688 88.0975 88.0415 95.7309 78.6044 95.7309H35.8143C26.3772 95.7309 18.75 88.0975 18.75 78.6528C18.75 69.2081 26.3772 61.5747 35.8143 61.5747H78.6044Z",
|
|
118
|
-
fill: "#36C5F0"
|
|
119
|
-
}),
|
|
120
|
-
/* @__PURE__ */ jsx("path", {
|
|
121
|
-
d: "M146.991 78.6528C146.991 69.2081 154.618 61.5747 164.055 61.5747C173.492 61.5747 181.12 69.2081 181.12 78.6528C181.12 88.0975 173.492 95.7309 164.055 95.7309H146.991V78.6528ZM138.459 78.6528C138.459 88.0975 130.831 95.7309 121.394 95.7309C111.957 95.7309 104.33 88.0975 104.33 78.6528V35.8281C104.33 26.3834 111.957 18.75 121.394 18.75C130.831 18.75 138.459 26.3834 138.459 35.8281V78.6528Z",
|
|
122
|
-
fill: "#2EB67D"
|
|
123
|
-
}),
|
|
124
|
-
/* @__PURE__ */ jsx("path", {
|
|
125
|
-
d: "M121.394 147.094C130.831 147.094 138.459 154.727 138.459 164.172C138.459 173.617 130.831 181.25 121.394 181.25C111.957 181.25 104.33 173.617 104.33 164.172V147.094H121.394ZM121.394 138.555C111.957 138.555 104.33 130.921 104.33 121.477C104.33 112.032 111.957 104.398 121.394 104.398H164.184C173.622 104.398 181.249 112.032 181.249 121.477C181.249 130.921 173.622 138.555 164.184 138.555H121.394Z",
|
|
126
|
-
fill: "#ECB22E"
|
|
127
|
-
})
|
|
128
|
-
]
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
const MoonIcon = icon(Moon);
|
|
132
|
-
const SunIcon = icon(Sun);
|
|
133
|
-
const TargetIcon = icon(Target);
|
|
134
|
-
const MaximizeIcon = icon(Maximize2);
|
|
135
|
-
const EllipsisVerticalIcon = icon(EllipsisVertical);
|
|
136
|
-
const LaptopIcon = icon(Laptop);
|
|
137
|
-
const LockIcon = icon(Lock);
|
|
138
|
-
const PinIcon = icon(Pin);
|
|
139
|
-
const PuzzleIcon = icon(Puzzle);
|
|
140
|
-
//#endregion
|
|
141
|
-
export { SquareIcon as $, LockIcon as A, PauseIcon as B, FileIcon as C, KeyboardIcon as D, InfoIcon as E, MicrophoneIcon as F, PuzzleIcon as G, PinIcon as H, MinusIcon as I, SearchIcon as J, QueueIcon as K, MonitorIcon as L, MaximizeIcon as M, McpIcon as N, LaptopIcon as O, MessageSquareIcon as P, SplitIcon as Q, MoonIcon as R, EyeOffIcon as S, FolderOpenIcon as T, PlayIcon as U, PencilIcon as V, PlusIcon as W, SlackIcon as X, SidebarIcon as Y, SpinnerIcon as Z, DotIcon as _, ArrowUpIcon as a, UserIcon as at, EllipsisVerticalIcon as b, BoxIcon as c, WrenchIcon as ct, CheckIcon as d, StopIcon as et, ChevronDownIcon as f, DiscordIcon as g, CopyIcon as h, ArrowRightIcon as i, TrashIcon as it, MailIcon as j, LinkIcon as k, BrainIcon as l, XIcon as lt, CodeIcon as m, ArrowDownIcon as n, TargetIcon as nt, ArrowUpRightIcon as o, UsersIcon as ot, ChevronRightIcon as p, RefreshIcon as q, ArrowLeftIcon as r, TerminalIcon as rt, BookmarkIcon as s, WarningIcon as st, ArchiveIcon as t, SunIcon as tt, CalendarIcon as u, DownloadIcon as v, FolderIcon as w, EyeIcon as x, EllipsisIcon as y, PaperclipIcon as z };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { n as clamp } from "./format-CWaZEp5o.js";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
//#region src/components/_internal/progress-ring.tsx
|
|
4
|
-
/**
|
|
5
|
-
* Bare single-fraction progress ring shared by the Context usage trigger and
|
|
6
|
-
* the plan summary pill. Decorative: callers own the accessible label.
|
|
7
|
-
*/
|
|
8
|
-
function ProgressRing({ percent, size, stroke }) {
|
|
9
|
-
const radius = (size - stroke) / 2;
|
|
10
|
-
const circumference = 2 * Math.PI * radius;
|
|
11
|
-
const offset = circumference - clamp(percent, 0, 100) / 100 * circumference;
|
|
12
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
13
|
-
width: size,
|
|
14
|
-
height: size,
|
|
15
|
-
viewBox: `0 0 ${size} ${size}`,
|
|
16
|
-
focusable: "false",
|
|
17
|
-
"aria-hidden": "true",
|
|
18
|
-
children: [/* @__PURE__ */ jsx("circle", {
|
|
19
|
-
cx: size / 2,
|
|
20
|
-
cy: size / 2,
|
|
21
|
-
r: radius,
|
|
22
|
-
fill: "none",
|
|
23
|
-
stroke: "var(--sigvelo-color-neutral-border-subtle)",
|
|
24
|
-
strokeWidth: stroke
|
|
25
|
-
}), /* @__PURE__ */ jsx("circle", {
|
|
26
|
-
cx: size / 2,
|
|
27
|
-
cy: size / 2,
|
|
28
|
-
r: radius,
|
|
29
|
-
fill: "none",
|
|
30
|
-
stroke: "var(--sigvelo-color-primary-bg)",
|
|
31
|
-
strokeWidth: stroke,
|
|
32
|
-
strokeDasharray: circumference,
|
|
33
|
-
strokeDashoffset: offset,
|
|
34
|
-
strokeLinecap: "round",
|
|
35
|
-
transform: `rotate(-90 ${size / 2} ${size / 2})`
|
|
36
|
-
})]
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
//#endregion
|
|
40
|
-
export { ProgressRing as t };
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
//#region src/components/_internal/provider-logos.tsx
|
|
5
|
-
function Svg({ children, size = 16, fill = "currentColor", className, ...props }) {
|
|
6
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
7
|
-
width: size,
|
|
8
|
-
height: size,
|
|
9
|
-
viewBox: "0 0 24 24",
|
|
10
|
-
fill,
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
"aria-hidden": "true",
|
|
13
|
-
focusable: "false",
|
|
14
|
-
className: cx("sigvelo-brand-mark", className),
|
|
15
|
-
...props,
|
|
16
|
-
children
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
const OpenAILogo = (props) => /* @__PURE__ */ jsx(Svg, {
|
|
20
|
-
...props,
|
|
21
|
-
children: /* @__PURE__ */ jsx("path", { d: "M22.28 9.81a5.99 5.99 0 0 0-.52-4.91 6.05 6.05 0 0 0-6.52-2.9A6.05 6.05 0 0 0 10.58 0a6.05 6.05 0 0 0-5.77 4.18 5.99 5.99 0 0 0-4 2.9 6.05 6.05 0 0 0 .74 7.09 5.99 5.99 0 0 0 .52 4.91 6.05 6.05 0 0 0 6.52 2.9A5.99 5.99 0 0 0 13.25 24a6.05 6.05 0 0 0 5.77-4.19 5.99 5.99 0 0 0 4-2.9 6.05 6.05 0 0 0-.74-7.1ZM13.25 22.44a4.48 4.48 0 0 1-2.88-1.04l.14-.08 4.79-2.76a.78.78 0 0 0 .39-.68v-6.75l2.02 1.17c.02 0 .04.03.04.05v5.58a4.5 4.5 0 0 1-4.5 4.5ZM3.57 18.3a4.5 4.5 0 0 1-.54-3.03l.14.09 4.79 2.76a.78.78 0 0 0 .78 0l5.85-3.37v2.33c0 .02 0 .04-.03.06L9.72 19.94a4.5 4.5 0 0 1-6.15-1.64ZM2.31 7.88a4.48 4.48 0 0 1 2.35-1.97v5.69a.78.78 0 0 0 .39.67l5.83 3.36-2.02 1.17a.07.07 0 0 1-.07 0l-4.83-2.8A4.5 4.5 0 0 1 2.3 7.9Zm16.64 3.87L13.1 8.37l2.02-1.17c.02 0 .05-.01.07 0l4.83 2.8a4.5 4.5 0 0 1-.67 8.11V12.4a.77.77 0 0 0-.4-.66Zm2-3.03-.14-.09-4.78-2.78a.78.78 0 0 0-.79 0L9.4 9.25V6.92c0-.02 0-.04.02-.05l4.83-2.79a4.5 4.5 0 0 1 6.68 4.66Zm-12.68 4.17-2.02-1.17a.07.07 0 0 1-.04-.06V6.1a4.5 4.5 0 0 1 7.38-3.45l-.14.08L8.66 5.5a.78.78 0 0 0-.4.68v6.74Zm1.1-2.36 2.6-1.5 2.61 1.5v3l-2.6 1.5-2.6-1.5Z" })
|
|
22
|
-
});
|
|
23
|
-
const AnthropicLogo = ({ className, ...props }) => /* @__PURE__ */ jsxs(Svg, {
|
|
24
|
-
className: cx("sigvelo-brand-mark--colorful", className),
|
|
25
|
-
fill: "#D97757",
|
|
26
|
-
...props,
|
|
27
|
-
children: [/* @__PURE__ */ jsx("path", { d: "M13.83 4H17.3L24 20h-3.47l-1.37-3.52h-7L10.82 20H7.36ZM13.25 13.58h4.8l-2.4-6.15Z" }), /* @__PURE__ */ jsx("path", { d: "M0 4h3.47l6.7 16H6.7Z" })]
|
|
28
|
-
});
|
|
29
|
-
const GoogleLogo = ({ className, ...props }) => /* @__PURE__ */ jsxs(Svg, {
|
|
30
|
-
className: cx("sigvelo-brand-mark--colorful", className),
|
|
31
|
-
fill: "none",
|
|
32
|
-
...props,
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ jsx("path", {
|
|
35
|
-
fill: "#4285F4",
|
|
36
|
-
d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"
|
|
37
|
-
}),
|
|
38
|
-
/* @__PURE__ */ jsx("path", {
|
|
39
|
-
fill: "#34A853",
|
|
40
|
-
d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
|
|
41
|
-
}),
|
|
42
|
-
/* @__PURE__ */ jsx("path", {
|
|
43
|
-
fill: "#FBBC05",
|
|
44
|
-
d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
|
|
45
|
-
}),
|
|
46
|
-
/* @__PURE__ */ jsx("path", {
|
|
47
|
-
fill: "#EA4335",
|
|
48
|
-
d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
|
|
49
|
-
})
|
|
50
|
-
]
|
|
51
|
-
});
|
|
52
|
-
const MetaLogo = ({ className, ...props }) => /* @__PURE__ */ jsx(Svg, {
|
|
53
|
-
className: cx("sigvelo-brand-mark--colorful", className),
|
|
54
|
-
fill: "#0668E1",
|
|
55
|
-
...props,
|
|
56
|
-
children: /* @__PURE__ */ jsx("path", { d: "M2 12.5c0-3.5 1.8-6.5 4.4-6.5 1.8 0 3.2 1.3 4.9 3.8 2.2 3.2 3.3 5 4.6 5 1 0 1.5-.8 1.5-2.3 0-2.1-1-4.3-2.7-4.3-1 0-2 .6-3.2 2l-1.3-1.7C11.5 6.8 12.9 6 14.5 6c3 0 5.5 3.3 5.5 7 0 3.3-1.6 5-3.8 5-2.3 0-3.6-1.6-6-5.3C8.9 10.4 8 9.2 6.8 9.2 5.4 9.2 4.3 10.6 4.3 13c0 1.8.5 3 1.3 3 .6 0 1.1-.3 1.8-1.1l1.3 1.7C7.6 17.6 6.3 18 5.3 18 3.3 18 2 16 2 12.5Z" })
|
|
57
|
-
});
|
|
58
|
-
const KimiLogo = (props) => /* @__PURE__ */ jsxs(Svg, {
|
|
59
|
-
...props,
|
|
60
|
-
children: [/* @__PURE__ */ jsx("circle", {
|
|
61
|
-
cx: "12",
|
|
62
|
-
cy: "12",
|
|
63
|
-
r: "9.5",
|
|
64
|
-
fill: "none",
|
|
65
|
-
stroke: "currentColor",
|
|
66
|
-
strokeWidth: "1.5"
|
|
67
|
-
}), /* @__PURE__ */ jsx("path", {
|
|
68
|
-
d: "M8 7.5v9M8 12l4.5-4.5M8 12l5 4.5M14 7.5h2.5v9H14z",
|
|
69
|
-
fill: "none",
|
|
70
|
-
stroke: "currentColor",
|
|
71
|
-
strokeWidth: "1.5",
|
|
72
|
-
strokeLinecap: "round",
|
|
73
|
-
strokeLinejoin: "round"
|
|
74
|
-
})]
|
|
75
|
-
});
|
|
76
|
-
const FallbackLogo = (props) => /* @__PURE__ */ jsx(Svg, {
|
|
77
|
-
...props,
|
|
78
|
-
children: /* @__PURE__ */ jsx("circle", {
|
|
79
|
-
cx: "12",
|
|
80
|
-
cy: "12",
|
|
81
|
-
r: "3"
|
|
82
|
-
})
|
|
83
|
-
});
|
|
84
|
-
/**
|
|
85
|
-
* Resolves a provider string to its logo component.
|
|
86
|
-
* Unknown providers get a neutral dot fallback.
|
|
87
|
-
*/
|
|
88
|
-
function ProviderLogo({ provider, ...props }) {
|
|
89
|
-
switch (provider.toLowerCase()) {
|
|
90
|
-
case "openai": return /* @__PURE__ */ jsx(OpenAILogo, { ...props });
|
|
91
|
-
case "anthropic": return /* @__PURE__ */ jsx(AnthropicLogo, { ...props });
|
|
92
|
-
case "google": return /* @__PURE__ */ jsx(GoogleLogo, { ...props });
|
|
93
|
-
case "meta": return /* @__PURE__ */ jsx(MetaLogo, { ...props });
|
|
94
|
-
case "kimi": return /* @__PURE__ */ jsx(KimiLogo, { ...props });
|
|
95
|
-
default: return /* @__PURE__ */ jsx(FallbackLogo, { ...props });
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
//#endregion
|
|
99
|
-
export { ProviderLogo as t };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Select } from "./components/foundations/Select.js";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
//#region src/components/_internal/option-select.tsx
|
|
4
|
-
/** A select over a fixed list of labelled string options. */
|
|
5
|
-
function OptionSelect({ "aria-label": ariaLabel, children, disabled, name, onValueChange, options, value }) {
|
|
6
|
-
return /* @__PURE__ */ jsxs(Select.Root, {
|
|
7
|
-
disabled,
|
|
8
|
-
name,
|
|
9
|
-
items: options,
|
|
10
|
-
value,
|
|
11
|
-
onValueChange: (nextValue) => {
|
|
12
|
-
if (nextValue !== null) onValueChange(nextValue);
|
|
13
|
-
},
|
|
14
|
-
children: [
|
|
15
|
-
children,
|
|
16
|
-
/* @__PURE__ */ jsxs(Select.Trigger, {
|
|
17
|
-
"aria-label": ariaLabel,
|
|
18
|
-
children: [/* @__PURE__ */ jsx(Select.Value, {}), /* @__PURE__ */ jsx(Select.Icon, {})]
|
|
19
|
-
}),
|
|
20
|
-
/* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsx(Select.Positioner, {
|
|
21
|
-
sideOffset: 4,
|
|
22
|
-
children: /* @__PURE__ */ jsx(Select.Popup, { children: /* @__PURE__ */ jsx(Select.List, { children: options.map((option) => /* @__PURE__ */ jsxs(Select.Item, {
|
|
23
|
-
value: option.value,
|
|
24
|
-
children: [/* @__PURE__ */ jsx(Select.ItemText, { children: option.label }), /* @__PURE__ */ jsx(Select.ItemIndicator, {})]
|
|
25
|
-
}, option.value)) }) })
|
|
26
|
-
}) })
|
|
27
|
-
]
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region src/components/_internal/scheduled-table-source.ts
|
|
32
|
-
/** What each scheduled run does with the table's rows. */
|
|
33
|
-
function scheduledTableSourceNote(source) {
|
|
34
|
-
if ("script" in source) return "Reads current rows for each scheduled run";
|
|
35
|
-
return "data" in source ? "Repeats these rows on schedule" : "Uses this saved file for each scheduled run";
|
|
36
|
-
}
|
|
37
|
-
//#endregion
|
|
38
|
-
export { OptionSelect as n, scheduledTableSourceNote as t };
|