@mcp-b/react-components 0.60.0 → 0.61.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-DSObWhDU.d.ts → AgentActivity-DptCj8XQ.d.ts} +2 -2
- package/dist/{AgentChatQueue-CGR4hd7D.d.ts → AgentChatQueue-DG2rGyCI.d.ts} +1 -1
- package/dist/AgentToolRunsContext-Br3jZ6Up.d.ts +74 -0
- package/dist/{Button-ClRxb8tM.d.ts → Button-DIn-0P-0.d.ts} +4 -5
- package/dist/{Card-BPkXIkBz.d.ts → Card-DkGZ3jKQ.d.ts} +7 -1
- package/dist/{CodeBlock-DYp5V_4O.d.ts → CodeBlock-BTkag9ms.d.ts} +1 -1
- package/dist/{CodeBlock-B4K656LO.js → CodeBlock-CNvOYR0Q.js} +1 -1
- package/dist/{EmployeeChrome-QSki0QT4.d.ts → EmployeeChrome-D3IgFX22.d.ts} +12 -34
- package/dist/{ExecutionBoard-DHfMvKlB.d.ts → ExecutionBoard-DvPGdn4F.d.ts} +2 -2
- package/dist/{ExecutionResult-Wd1sKAvD.js → ExecutionResult-DmC21cll.js} +4 -4
- package/dist/{FileTree-BpCJuvji.js → FileTree-H31EVRv_.js} +1 -1
- package/dist/{IconButton-43ggXEuf.d.ts → IconButton-FWsa9562.d.ts} +1 -1
- package/dist/{ManagerOffice-BaHSBcSF.js → ManagerOffice-B3X3iZV9.js} +27 -34
- package/dist/{McpConnectorForm-D4bY-lm_.d.ts → McpConnectorForm-BLsQt_er.d.ts} +1 -1
- package/dist/{McpPluginCatalog-2FZDLCeK.d.ts → McpPluginCatalog-SQNOytXQ.d.ts} +2 -2
- package/dist/{Message-CwCqa90H.d.ts → Message-BUedRDN1.d.ts} +2 -2
- package/dist/{MessageScrollerVirtual-DVQeEkNy.d.ts → MessageScrollerVirtual-DxL6XKq9.d.ts} +1 -1
- package/dist/{PromptInput-C3adKglc.d.ts → PromptInput-Dbe6WgWA.d.ts} +1 -1
- package/dist/{ResponsiveSidebarShell-DzBGlRJF.d.ts → ResponsiveSidebarShell-DSAMNDdg.d.ts} +1 -1
- package/dist/{SetupChecklist-BNK2XFaI.js → SetupChecklist-Wo4akaSG.js} +2 -2
- package/dist/{ThinkChatActivity-C4_hPEmb.d.ts → ThinkChatActivity-zZaSsbC-.d.ts} +7 -3
- package/dist/{ThinkChatActivitySummary-ChJ8Iu2T.d.ts → ThinkChatActivitySummary-8MO1VjAJ.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-CPeYVneQ.d.ts → ThinkExecutionRun-DJ2TFDmZ.d.ts} +1 -1
- package/dist/ThinkSchedule-5S834QKW.d.ts +34 -0
- package/dist/{Workspace-iCkXvQRJ.d.ts → Workspace-42LA9Zrb.d.ts} +1 -1
- package/dist/WorkspaceAutomation-B2Pdz_SU.d.ts +215 -0
- package/dist/{WorkspaceConcept-ByaG-kBq.d.ts → WorkspaceConcept-BjrgGE1w.d.ts} +2 -3
- package/dist/{WorkspaceFile-DkIZKoK6.d.ts → WorkspaceFile-nK2n0i4S.d.ts} +1 -1
- package/dist/{WorkspaceFileView-5SHsjamf.js → WorkspaceFileView-BWI_AJlV.js} +8 -8
- package/dist/{WorkspaceLink-Buo6gKj2.d.ts → WorkspaceLink-C8HH2fMT.d.ts} +1 -0
- package/dist/{WorkspaceMessageResponse-DnsdpaGU.js → WorkspaceMessageResponse-BZ-_I18b.js} +3 -7
- package/dist/agent-tool-runs-DsOp_X2y.js +133 -0
- package/dist/assets/chrome.svg +1 -0
- package/dist/assets/plugins/plugin-github.svg +8 -0
- package/dist/assets/plugins/plugin-gmail.svg +1 -0
- package/dist/assets/plugins/plugin-google-drive.svg +1 -0
- package/dist/assets/plugins/plugin-google.svg +1 -0
- package/dist/assets/plugins/plugin-linear.svg +1 -0
- package/dist/assets/plugins/plugin-notion.svg +25 -0
- package/dist/assets/plugins/plugin-salesforce.svg +31 -0
- package/dist/assets/plugins/plugin-slack.svg +6 -0
- package/dist/chatgpt-sign-in-button-DNchrZHs.js +32 -0
- package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +5 -4
- package/dist/components/agents-sdk/AgentChat.d.ts +4 -4
- package/dist/components/agents-sdk/AgentChat.js +7 -7
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +4 -4
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
- package/dist/components/agents-sdk/AgentToolRunsContext.js +78 -8
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.d.ts +4 -3
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -2
- package/dist/components/agents-sdk/EmployeeChat.js +14 -10
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +45 -33
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +10 -10
- package/dist/components/agents-sdk/EmployeeSchedules.js +39 -39
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +7 -33
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- package/dist/components/agents-sdk/ManagerOffice.d.ts +10 -14
- 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 +3 -3
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
- package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.d.ts +2 -2
- package/dist/components/agents-sdk/ModelSelector.js +7 -6
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +4 -2
- package/dist/components/agents-sdk/SubagentRunIndicator.js +4 -3
- package/dist/components/agents-sdk/SubagentRunLanes.d.ts +38 -0
- package/dist/components/agents-sdk/SubagentRunLanes.js +160 -0
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -28
- package/dist/components/agents-sdk/SubagentRunPanel.js +145 -190
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +4 -7
- package/dist/components/agents-sdk/ThinkChat.js +5 -8
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +27 -26
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +28 -28
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +13 -28
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -16
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +4 -4
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -0
- package/dist/components/agents-sdk/ThinkSchedule.js +9 -0
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +42 -0
- package/dist/components/agents-sdk/{ThinkRoutineActions.js → ThinkScheduleActions.js} +35 -35
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +24 -0
- package/dist/components/agents-sdk/{ThinkRoutineBrowser.js → ThinkScheduleBrowser.js} +47 -45
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +19 -0
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +139 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +58 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.js +686 -0
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +1 -1
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceAutomation.js +791 -0
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +2 -0
- package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js} +45 -65
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceConcept.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +28 -8
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +104 -254
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.d.ts +3 -2
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +13 -6
- package/dist/components/agents-sdk/WorkspaceLive.js +2 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +37 -2
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +30 -0
- package/dist/components/agents-sdk/WorkspacePerson.js +100 -0
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +24 -60
- package/dist/components/agents-sdk/WorkspaceProject.js +82 -184
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +2 -2
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +2 -2
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- 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 +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +51 -63
- package/dist/components/ai-sdk/ConnectedAppCards.js +42 -365
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +3 -3
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +12 -4
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +6 -6
- package/dist/components/ai-sdk/Queue.d.ts +1 -1
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.d.ts +17 -4
- package/dist/components/extension/ChatGptSignInScreen.js +32 -32
- package/dist/components/extension/CodexModelSelector.js +2 -2
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/extension/FirstRunSetup.d.ts +117 -0
- package/dist/components/extension/FirstRunSetup.js +1175 -0
- package/dist/components/foundations/AlertDialog.d.ts +1 -1
- package/dist/components/foundations/AppIcon.d.ts +5 -2
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Button.js +1 -1
- package/dist/components/foundations/Card.d.ts +1 -1
- package/dist/components/foundations/Card.js +2 -2
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/DescriptionList.d.ts +3 -1
- package/dist/components/foundations/DescriptionList.js +2 -1
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/LinkButton.d.ts +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/Popover.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/Toggle.d.ts +2 -4
- package/dist/components/foundations/Toggle.js +3 -7
- package/dist/components/foundations/ToggleGroup.d.ts +2 -4
- package/dist/components/foundations/ToggleGroup.js +4 -16
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- package/dist/components/general-purpose/ActionGuide.d.ts +1 -1
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +3 -3
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/Terminal.d.ts +2 -2
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.d.ts +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +3 -3
- package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
- package/dist/components/nanites/AgentToolDetail.js +3 -3
- package/dist/connected-app-drafts-B9i69bkj.js +283 -0
- package/dist/{copy-button-BIfY5M-D.d.ts → copy-button-B09hHWd1.d.ts} +1 -1
- package/dist/{copy-button-BsmxSSeD.js → copy-button-z20VEXRF.js} +1 -1
- package/dist/{execution-result-DWVmm-bL.js → execution-result-DAuW4VWv.js} +30 -2
- package/dist/{icons-Dj6id76o.d.ts → icons-CReP3qYl.d.ts} +7 -1
- package/dist/{icons-Cn3vWZRs.js → icons-Yp99gmMC.js} +9 -3
- package/dist/{mcp-server-catalog-kaMWaSAL.d.ts → mcp-server-catalog-Di4N46H9.d.ts} +9 -3
- package/dist/navigation-link-zK6z8Gn3.d.ts +18 -0
- package/dist/scheduled-table-source-NZR1vFc_.js +38 -0
- package/dist/styles/accessibility.css +22 -9
- package/dist/styles/accordion.css +2 -2
- package/dist/styles/activity-header.css +14 -11
- package/dist/styles/activity.css +6 -13
- package/dist/styles/agent-attention.css +0 -23
- package/dist/styles/agent-chat.css +8 -3
- package/dist/styles/agent-connection.css +2 -2
- package/dist/styles/app-icon.css +7 -0
- package/dist/styles/app-top-bar.css +3 -11
- package/dist/styles/approval.css +2 -2
- package/dist/styles/base.css +3 -1
- package/dist/styles/browser-live-screen.css +3 -1
- package/dist/styles/browser-run-panel.css +2 -2
- package/dist/styles/button.css +13 -44
- package/dist/styles/card.css +42 -5
- package/dist/styles/chain-of-thought.css +2 -8
- package/dist/styles/chatgpt-sign-in-screen.css +91 -83
- package/dist/styles/checkbox-group.css +2 -1
- package/dist/styles/checkbox.css +4 -6
- package/dist/styles/code-block.css +2 -1
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/collapsible.css +2 -2
- package/dist/styles/color-contrast.test.ts +1 -0
- package/dist/styles/combobox.css +5 -9
- package/dist/styles/commit.css +2 -7
- package/dist/styles/composer-link.css +0 -10
- package/dist/styles/connected-app-card.css +32 -32
- package/dist/styles/context-menu.css +2 -2
- package/dist/styles/description-list.css +14 -0
- package/dist/styles/execution-board.css +1 -1
- package/dist/styles/execution-result.css +161 -0
- package/dist/styles/file-tree.css +5 -9
- package/dist/styles/first-run-setup.css +751 -0
- package/dist/styles/index.css +5 -2
- package/dist/styles/inline-citation.css +2 -10
- package/dist/styles/manager-office.css +16 -43
- package/dist/styles/marker.css +2 -2
- package/dist/styles/media-preview-card.css +2 -7
- package/dist/styles/message-scroller.css +3 -2
- package/dist/styles/model-selector.css +19 -15
- package/dist/styles/navigation-menu.css +4 -4
- package/dist/styles/number-field.css +2 -3
- package/dist/styles/preview-card.css +2 -2
- package/dist/styles/prompt-input.css +5 -15
- package/dist/styles/queue.css +2 -7
- package/dist/styles/radio.css +4 -6
- package/dist/styles/recipes.css +25 -52
- package/dist/styles/resizable-side-panel.css +3 -2
- package/dist/styles/responsive-sidebar-shell.css +1 -6
- package/dist/styles/scroll-area.css +3 -2
- package/dist/styles/scrollbars.css +2 -0
- package/dist/styles/search-field.css +1 -2
- package/dist/styles/slider.css +4 -5
- package/dist/styles/sources.css +2 -7
- package/dist/styles/stepper.css +4 -4
- package/dist/styles/streamdown.css +8 -1
- package/dist/styles/subagent-run.css +123 -12
- package/dist/styles/switch.css +4 -7
- package/dist/styles/tabs.css +5 -4
- package/dist/styles/task.css +2 -7
- package/dist/styles/test-results.css +2 -7
- package/dist/styles/theme-mode-control.css +0 -6
- package/dist/styles/think-chat-activity.css +0 -8
- package/dist/styles/think-execution-status.css +1 -1
- package/dist/styles/think-execution-workbench.css +3 -3
- package/dist/styles/think-full-app.css +3 -2
- package/dist/styles/{think-routine.css → think-schedule.css} +64 -80
- package/dist/styles/toggle-group.css +9 -6
- package/dist/styles/toggle.css +23 -15
- package/dist/styles/toolbar.css +0 -6
- package/dist/styles/workspace-automation.css +233 -0
- package/dist/styles/workspace-concepts.css +18 -412
- package/dist/styles/workspace-entity-card.css +146 -0
- package/dist/styles/workspace-explorer.css +4 -3
- package/dist/utils/mcp-server-catalog.d.ts +2 -2
- package/dist/utils/mcp-server-catalog.js +108 -21
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/{workspace-assets-RD6IhOyh.js → workspace-assets-Dq5toMQc.js} +34 -38
- package/dist/workspace-concept-panel-CxZfmFkP.js +66 -0
- package/dist/workspace-concept-panel-CxuqDi4m.d.ts +21 -0
- package/dist/{workspace-delete-CrNGUuBp.js → workspace-delete-CoB0l6ZU.js} +2 -1
- package/dist/workspace-entity-card-2TC3RPKh.d.ts +7 -0
- package/dist/workspace-entity-card-B1aV-jBj.js +61 -0
- package/dist/workspace-person-BSgvRjZE.d.ts +24 -0
- package/dist/workspace-person-BVkYb3dv.js +116 -0
- package/package.json +2 -2
- package/dist/AgentToolRunsContext-DniwGn96.d.ts +0 -18
- package/dist/Correspondent-ANkZHGEa.d.ts +0 -60
- package/dist/ThinkRoutine-DoZjbzyn.d.ts +0 -41
- package/dist/WorkspaceConceptPanel-D21iRsWm.js +0 -23
- package/dist/WorkspaceExecutionTable-DNhj6YDX.d.ts +0 -239
- package/dist/WorkspaceMessageResponse-D8FGgIQU.d.ts +0 -39
- package/dist/components/agents-sdk/SubagentRunList.d.ts +0 -17
- package/dist/components/agents-sdk/SubagentRunList.js +0 -26
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +0 -2
- package/dist/components/agents-sdk/ThinkRoutine.js +0 -9
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +0 -42
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +0 -25
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +0 -19
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +0 -97
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +0 -59
- package/dist/components/agents-sdk/ThinkRoutineForm.js +0 -744
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +0 -15
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +0 -52
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceExecution.js +0 -843
- package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +0 -36
- package/dist/components/agents-sdk/WorkspaceUserScript.js +0 -153
- package/dist/components/ai-sdk/Correspondent.d.ts +0 -2
- package/dist/components/ai-sdk/Correspondent.js +0 -145
- package/dist/styles/correspondent.css +0 -73
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as WorkspaceExecutionTableInvocation, c as WorkspaceExecutionTableProps, d as WorkspaceExecutionTableSource, f as WorkspaceExecutionTableValue, i as WorkspaceExecutionTableInput, l as WorkspaceExecutionTableRow, n as WorkspaceExecutionTableActions, o as WorkspaceExecutionTableLoadOptions, r as WorkspaceExecutionTableData, s as WorkspaceExecutionTableLoaded, t as WorkspaceExecutionTable, u as WorkspaceExecutionTableRun } from "../../WorkspaceExecutionTable-DNhj6YDX.js";
|
|
2
|
-
export { WorkspaceExecutionTable, WorkspaceExecutionTableActions, WorkspaceExecutionTableData, WorkspaceExecutionTableInput, WorkspaceExecutionTableInvocation, WorkspaceExecutionTableLoadOptions, WorkspaceExecutionTableLoaded, WorkspaceExecutionTableProps, WorkspaceExecutionTableRow, WorkspaceExecutionTableRun, WorkspaceExecutionTableSource, WorkspaceExecutionTableValue };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { f as CardProps } from "../../Card-BPkXIkBz.js";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
//#region src/components/agents-sdk/WorkspaceUserScript.d.ts
|
|
4
|
-
export interface WorkspaceUserScript {
|
|
5
|
-
/** Workspace path of the `.user.js` file. */
|
|
6
|
-
path: string;
|
|
7
|
-
name: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
/** `@match` patterns from the file metadata. Displayed as hostnames. */
|
|
10
|
-
matches: readonly string[];
|
|
11
|
-
enabled: boolean;
|
|
12
|
-
/** Brand mark. Defaults to the favicon of the first `@match` origin. */
|
|
13
|
-
icon?: React.ReactNode;
|
|
14
|
-
onEnabledChange?: (enabled: boolean) => void;
|
|
15
|
-
onOpen?: () => void;
|
|
16
|
-
onDelete?: () => void | Promise<void>;
|
|
17
|
-
}
|
|
18
|
-
export interface WorkspaceUserScriptCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title"> {
|
|
19
|
-
script: WorkspaceUserScript;
|
|
20
|
-
}
|
|
21
|
-
export interface WorkspaceUserScriptsPanelProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
22
|
-
/** Projected user scripts to list; an empty list renders the empty state. */
|
|
23
|
-
scripts: readonly WorkspaceUserScript[];
|
|
24
|
-
}
|
|
25
|
-
export declare function WorkspaceUserScriptCard({ className, script, ref, ...props }: WorkspaceUserScriptCardProps & {
|
|
26
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
27
|
-
}): React.JSX.Element;
|
|
28
|
-
/**
|
|
29
|
-
* Workbench list of user-script cards, one per projected script. Renders a
|
|
30
|
-
* quiet empty state when nothing is projected.
|
|
31
|
-
*/
|
|
32
|
-
export declare function WorkspaceUserScriptsPanel({ className, ref, scripts, ...props }: WorkspaceUserScriptsPanelProps & {
|
|
33
|
-
/** Ref forwarded to the component's rendered root element. */
|
|
34
|
-
ref?: React.Ref<HTMLElement>;
|
|
35
|
-
}): React.JSX.Element;
|
|
36
|
-
//#endregion
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { P as MonitorIcon, S as FileIcon, m as CodeIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
4
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
5
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
6
|
-
import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
7
|
-
import { i as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-RD6IhOyh.js";
|
|
8
|
-
import { Switch } from "../foundations/Switch.js";
|
|
9
|
-
import { t as WorkspaceDeleteControl } from "../../workspace-delete-CrNGUuBp.js";
|
|
10
|
-
import { t as WorkspaceConceptPanel } from "../../WorkspaceConceptPanel-D21iRsWm.js";
|
|
11
|
-
import * as React from "react";
|
|
12
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
//#region src/components/agents-sdk/WorkspaceUserScript.tsx
|
|
14
|
-
function matchAsUrl(match) {
|
|
15
|
-
const withoutGlobs = match.replace(/^\*:/, "https:").replaceAll("*", "");
|
|
16
|
-
const candidate = withoutGlobs.includes("://") ? withoutGlobs : `https://${withoutGlobs}`;
|
|
17
|
-
try {
|
|
18
|
-
return new URL(candidate);
|
|
19
|
-
} catch {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function siteFromMatch(match) {
|
|
24
|
-
const trimmed = match.trim();
|
|
25
|
-
if (!trimmed) return void 0;
|
|
26
|
-
if (trimmed === "*" || trimmed === "*://*" || trimmed === "*://*/*" || trimmed === "<all_urls>") return "All sites";
|
|
27
|
-
return matchAsUrl(trimmed)?.hostname.replace(/^\./, "").replace(/^www\./, "") || void 0;
|
|
28
|
-
}
|
|
29
|
-
function sitesFromMatches(matches) {
|
|
30
|
-
const sites = [];
|
|
31
|
-
for (const match of matches) {
|
|
32
|
-
const site = siteFromMatch(match);
|
|
33
|
-
if (!site || sites.some((item) => item.site === site)) continue;
|
|
34
|
-
sites.push({
|
|
35
|
-
site,
|
|
36
|
-
match,
|
|
37
|
-
href: matchAsUrl(match)?.href
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
return sites;
|
|
41
|
-
}
|
|
42
|
-
function ScriptIcon({ script }) {
|
|
43
|
-
if (script.icon) return script.icon;
|
|
44
|
-
const href = script.matches.map((match) => matchAsUrl(match)?.href).find(Boolean);
|
|
45
|
-
return /* @__PURE__ */ jsx(FaviconMark, {
|
|
46
|
-
href,
|
|
47
|
-
fallback: /* @__PURE__ */ jsx(CodeIcon, {})
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function ScriptSwitch({ script }) {
|
|
51
|
-
return /* @__PURE__ */ jsx(Switch.Root, {
|
|
52
|
-
size: "sm",
|
|
53
|
-
checked: script.enabled,
|
|
54
|
-
disabled: script.onEnabledChange == null,
|
|
55
|
-
"aria-label": `${script.enabled ? "Disable" : "Enable"} ${script.name}`,
|
|
56
|
-
onCheckedChange: (checked) => {
|
|
57
|
-
if (typeof checked === "boolean") script.onEnabledChange?.(checked);
|
|
58
|
-
},
|
|
59
|
-
children: /* @__PURE__ */ jsx(Switch.Thumb, {})
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function SiteList({ matches }) {
|
|
63
|
-
const sites = sitesFromMatches(matches);
|
|
64
|
-
if (sites.length === 0) return null;
|
|
65
|
-
return /* @__PURE__ */ jsx(DescriptionList.Root, {
|
|
66
|
-
align: "start",
|
|
67
|
-
variant: "divided",
|
|
68
|
-
children: /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: "Sites" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: /* @__PURE__ */ jsx("div", {
|
|
69
|
-
className: "sigvelo-cluster",
|
|
70
|
-
children: sites.map(({ href, match, site }) => /* @__PURE__ */ jsx(WorkspaceComposerLink, {
|
|
71
|
-
kind: "tab",
|
|
72
|
-
value: site,
|
|
73
|
-
label: site,
|
|
74
|
-
hint: match,
|
|
75
|
-
icon: /* @__PURE__ */ jsx(FaviconMark, {
|
|
76
|
-
href,
|
|
77
|
-
fallback: /* @__PURE__ */ jsx(MonitorIcon, {})
|
|
78
|
-
})
|
|
79
|
-
}, site))
|
|
80
|
-
}) })] })
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
function WorkspaceUserScriptCard({ className, script, ref, ...props }) {
|
|
84
|
-
const titleId = React.useId();
|
|
85
|
-
const ariaLabel = props["aria-label"];
|
|
86
|
-
const ariaLabelledBy = props["aria-labelledby"] ?? (ariaLabel ? void 0 : titleId);
|
|
87
|
-
return /* @__PURE__ */ jsxs(Card, {
|
|
88
|
-
...props,
|
|
89
|
-
ref,
|
|
90
|
-
role: props.role ?? "article",
|
|
91
|
-
"aria-labelledby": ariaLabelledBy,
|
|
92
|
-
"data-slot": "workspace-user-script-card",
|
|
93
|
-
size: "sm",
|
|
94
|
-
className: cx("connected-app-card", className),
|
|
95
|
-
children: [/* @__PURE__ */ jsxs(CardHeader, { children: [
|
|
96
|
-
/* @__PURE__ */ jsxs(CardTitle, {
|
|
97
|
-
id: titleId,
|
|
98
|
-
className: "connected-app-card__title",
|
|
99
|
-
render: (props) => /* @__PURE__ */ jsx("h3", {
|
|
100
|
-
...props,
|
|
101
|
-
children: props.children
|
|
102
|
-
}),
|
|
103
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
104
|
-
className: "connected-app-card__icon",
|
|
105
|
-
"aria-hidden": "true",
|
|
106
|
-
children: /* @__PURE__ */ jsx(ScriptIcon, { script })
|
|
107
|
-
}), script.name]
|
|
108
|
-
}),
|
|
109
|
-
script.description ? /* @__PURE__ */ jsx(CardDescription, { children: script.description }) : null,
|
|
110
|
-
/* @__PURE__ */ jsxs(CardAction, {
|
|
111
|
-
className: "sigvelo-cluster",
|
|
112
|
-
children: [
|
|
113
|
-
/* @__PURE__ */ jsx(ScriptSwitch, { script }),
|
|
114
|
-
script.onOpen ? /* @__PURE__ */ jsx(IconButton, {
|
|
115
|
-
label: `Open ${script.name}`,
|
|
116
|
-
tooltip: script.path,
|
|
117
|
-
variant: "ghost",
|
|
118
|
-
color: "neutral",
|
|
119
|
-
onClick: script.onOpen,
|
|
120
|
-
children: /* @__PURE__ */ jsx(FileIcon, {})
|
|
121
|
-
}) : null,
|
|
122
|
-
script.onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
|
|
123
|
-
name: script.name,
|
|
124
|
-
onDelete: script.onDelete
|
|
125
|
-
}) : null
|
|
126
|
-
]
|
|
127
|
-
})
|
|
128
|
-
] }), script.matches.length > 0 ? /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(SiteList, { matches: script.matches }) }) : null]
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Workbench list of user-script cards, one per projected script. Renders a
|
|
133
|
-
* quiet empty state when nothing is projected.
|
|
134
|
-
*/
|
|
135
|
-
function WorkspaceUserScriptsPanel({ className, ref, scripts, ...props }) {
|
|
136
|
-
return /* @__PURE__ */ jsx(WorkspaceConceptPanel, {
|
|
137
|
-
heading: "Scripts",
|
|
138
|
-
ref,
|
|
139
|
-
"data-slot": "workspace-user-scripts-panel",
|
|
140
|
-
className: cx("workspace-concept-panel", className),
|
|
141
|
-
...props,
|
|
142
|
-
"aria-label": props["aria-label"] ?? "User scripts",
|
|
143
|
-
children: scripts.length === 0 ? /* @__PURE__ */ jsx(EmptyState, {
|
|
144
|
-
icon: /* @__PURE__ */ jsx(CodeIcon, {}),
|
|
145
|
-
title: "No scripts"
|
|
146
|
-
}) : /* @__PURE__ */ jsx("ul", {
|
|
147
|
-
className: "sigvelo-stack-list sigvelo-stack",
|
|
148
|
-
children: scripts.map((script) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceUserScriptCard, { script }) }, script.path))
|
|
149
|
-
})
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
//#endregion
|
|
153
|
-
export { WorkspaceUserScriptCard, WorkspaceUserScriptsPanel };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as CorrespondentNameProps, c as emailDestinationCorrespondent, i as CorrespondentName, l as linkedinTabCorrespondent, n as CorrespondentHandle, o as correspondentHandleLabel, r as CorrespondentLatest, s as correspondentInitials, t as Correspondent, u as slackDestinationCorrespondent } from "../../Correspondent-ANkZHGEa.js";
|
|
2
|
-
export { Correspondent, CorrespondentHandle, CorrespondentLatest, CorrespondentName, CorrespondentNameProps, correspondentHandleLabel, correspondentInitials, emailDestinationCorrespondent, linkedinTabCorrespondent, slackDestinationCorrespondent };
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { PreviewCard } from "../foundations/PreviewCard.js";
|
|
3
|
-
import { Avatar } from "../foundations/Avatar.js";
|
|
4
|
-
import { Popover } from "../foundations/Popover.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
//#region src/components/ai-sdk/Correspondent.tsx
|
|
8
|
-
const SLACK_USER_ID = /^U[A-Z0-9]+$/iu;
|
|
9
|
-
const EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
|
|
10
|
-
function slackDestinationCorrespondent(to) {
|
|
11
|
-
const userId = to.trim();
|
|
12
|
-
if (!SLACK_USER_ID.test(userId)) return void 0;
|
|
13
|
-
return { handle: {
|
|
14
|
-
kind: "slack",
|
|
15
|
-
userId
|
|
16
|
-
} };
|
|
17
|
-
}
|
|
18
|
-
function emailDestinationCorrespondent(to) {
|
|
19
|
-
const address = to.trim();
|
|
20
|
-
if (!address || address.includes(",")) return void 0;
|
|
21
|
-
if (!EMAIL_ADDRESS.test(address)) return void 0;
|
|
22
|
-
return { handle: {
|
|
23
|
-
kind: "email",
|
|
24
|
-
address
|
|
25
|
-
} };
|
|
26
|
-
}
|
|
27
|
-
function linkedinTabCorrespondent(url) {
|
|
28
|
-
const href = safeHttpUrl(url);
|
|
29
|
-
if (!href) return void 0;
|
|
30
|
-
let parsed;
|
|
31
|
-
try {
|
|
32
|
-
parsed = new URL(href);
|
|
33
|
-
} catch {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
if (!/(^|\.)linkedin\.com$/iu.test(parsed.hostname)) return void 0;
|
|
37
|
-
if (!parsed.pathname.includes("/in/")) return void 0;
|
|
38
|
-
return { handle: {
|
|
39
|
-
kind: "linkedin",
|
|
40
|
-
url: href
|
|
41
|
-
} };
|
|
42
|
-
}
|
|
43
|
-
function correspondentHandleLabel(handle) {
|
|
44
|
-
if (handle.kind === "email") return handle.address;
|
|
45
|
-
if (handle.kind === "slack") return handle.userName ? `@${handle.userName}` : handle.userId;
|
|
46
|
-
if (handle.kind === "linkedin") return handle.url;
|
|
47
|
-
return handle.resourceName;
|
|
48
|
-
}
|
|
49
|
-
function correspondentInitials(label) {
|
|
50
|
-
const parts = (label.split("@", 1)[0] ?? label).split(/[\s._-]+/u).filter(Boolean);
|
|
51
|
-
if (parts.length >= 2) {
|
|
52
|
-
const first = parts[0]?.[0];
|
|
53
|
-
const second = parts[1]?.[0];
|
|
54
|
-
if (first && second) return `${first}${second}`.toUpperCase();
|
|
55
|
-
}
|
|
56
|
-
return (parts[0] ?? label).slice(0, 2).toUpperCase() || "?";
|
|
57
|
-
}
|
|
58
|
-
function safeHttpUrl(url) {
|
|
59
|
-
try {
|
|
60
|
-
const parsed = new URL(url);
|
|
61
|
-
if (parsed.protocol !== "https:" && parsed.protocol !== "http:") return void 0;
|
|
62
|
-
return parsed.href;
|
|
63
|
-
} catch {
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
function correspondentHref(handle) {
|
|
68
|
-
return handle.kind === "linkedin" ? safeHttpUrl(handle.url) : void 0;
|
|
69
|
-
}
|
|
70
|
-
function latestLabel(latest) {
|
|
71
|
-
if (latest.kind === "linkedin-tab") return latest.title ?? latest.url;
|
|
72
|
-
return latest.label;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Avatar + name for a person-shaped destination. LinkedIn handles open the
|
|
76
|
-
* profile; other handles disclose handle and latest thread without inventing
|
|
77
|
-
* a directory.
|
|
78
|
-
*/
|
|
79
|
-
function CorrespondentName({ correspondent, className }) {
|
|
80
|
-
const handleLabel = correspondentHandleLabel(correspondent.handle);
|
|
81
|
-
const label = correspondent.displayName?.trim() || handleLabel;
|
|
82
|
-
const href = correspondentHref(correspondent.handle);
|
|
83
|
-
const initials = correspondentInitials(label);
|
|
84
|
-
const trigger = /* @__PURE__ */ jsxs("span", {
|
|
85
|
-
className: cx("correspondent", className),
|
|
86
|
-
"data-slot": "correspondent",
|
|
87
|
-
children: [/* @__PURE__ */ jsxs(Avatar.Root, {
|
|
88
|
-
size: "sm",
|
|
89
|
-
children: [correspondent.avatarUrl ? /* @__PURE__ */ jsx(Avatar.Image, {
|
|
90
|
-
src: correspondent.avatarUrl,
|
|
91
|
-
alt: ""
|
|
92
|
-
}) : null, /* @__PURE__ */ jsx(Avatar.Fallback, { children: initials })]
|
|
93
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
94
|
-
className: "correspondent__name sigvelo-truncate",
|
|
95
|
-
children: label
|
|
96
|
-
})]
|
|
97
|
-
});
|
|
98
|
-
const details = /* @__PURE__ */ jsxs("div", {
|
|
99
|
-
className: "correspondent__details",
|
|
100
|
-
children: [
|
|
101
|
-
/* @__PURE__ */ jsx("strong", {
|
|
102
|
-
className: "correspondent__title sigvelo-truncate",
|
|
103
|
-
children: label
|
|
104
|
-
}),
|
|
105
|
-
/* @__PURE__ */ jsx("span", {
|
|
106
|
-
className: "correspondent__handle",
|
|
107
|
-
children: handleLabel
|
|
108
|
-
}),
|
|
109
|
-
correspondent.latest ? /* @__PURE__ */ jsx("span", {
|
|
110
|
-
className: "correspondent__latest",
|
|
111
|
-
children: latestLabel(correspondent.latest)
|
|
112
|
-
}) : null
|
|
113
|
-
]
|
|
114
|
-
});
|
|
115
|
-
if (href) return /* @__PURE__ */ jsxs(PreviewCard.Root, { children: [/* @__PURE__ */ jsx(PreviewCard.Trigger, {
|
|
116
|
-
delay: 0,
|
|
117
|
-
closeDelay: 0,
|
|
118
|
-
href,
|
|
119
|
-
target: "_blank",
|
|
120
|
-
rel: "noreferrer",
|
|
121
|
-
className: "correspondent__trigger",
|
|
122
|
-
"aria-label": `${label} (${handleLabel}, opens in a new tab)`,
|
|
123
|
-
children: trigger
|
|
124
|
-
}), /* @__PURE__ */ jsx(PreviewCard.Portal, { children: /* @__PURE__ */ jsx(PreviewCard.Positioner, {
|
|
125
|
-
sideOffset: 8,
|
|
126
|
-
children: /* @__PURE__ */ jsx(PreviewCard.Popup, {
|
|
127
|
-
className: "correspondent__popup",
|
|
128
|
-
children: details
|
|
129
|
-
})
|
|
130
|
-
}) })] });
|
|
131
|
-
return /* @__PURE__ */ jsxs(Popover.Root, { children: [/* @__PURE__ */ jsx(Popover.Trigger, {
|
|
132
|
-
unstyled: true,
|
|
133
|
-
className: "correspondent__trigger",
|
|
134
|
-
"aria-label": `${label} (${handleLabel})`,
|
|
135
|
-
children: trigger
|
|
136
|
-
}), /* @__PURE__ */ jsx(Popover.Portal, { children: /* @__PURE__ */ jsx(Popover.Positioner, {
|
|
137
|
-
sideOffset: 8,
|
|
138
|
-
children: /* @__PURE__ */ jsx(Popover.Popup, {
|
|
139
|
-
className: "correspondent__popup",
|
|
140
|
-
children: details
|
|
141
|
-
})
|
|
142
|
-
}) })] });
|
|
143
|
-
}
|
|
144
|
-
//#endregion
|
|
145
|
-
export { CorrespondentName, correspondentHandleLabel, correspondentInitials, emailDestinationCorrespondent, linkedinTabCorrespondent, slackDestinationCorrespondent };
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
.correspondent {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
min-inline-size: 0;
|
|
4
|
-
max-inline-size: 100%;
|
|
5
|
-
align-items: center;
|
|
6
|
-
gap: var(--sigvelo-spacing-1-5);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.correspondent__trigger {
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
min-inline-size: 0;
|
|
12
|
-
max-inline-size: 100%;
|
|
13
|
-
min-block-size: var(--sigvelo-density-compact-control-height);
|
|
14
|
-
align-items: center;
|
|
15
|
-
padding: 0;
|
|
16
|
-
border: 0;
|
|
17
|
-
background: transparent;
|
|
18
|
-
color: inherit;
|
|
19
|
-
font: inherit;
|
|
20
|
-
text-align: start;
|
|
21
|
-
text-decoration: none;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.correspondent__trigger:focus-visible {
|
|
26
|
-
outline: none;
|
|
27
|
-
border-radius: var(--sigvelo-radius-sm);
|
|
28
|
-
box-shadow: var(--sigvelo-recipe-focus-shadow);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.correspondent__name {
|
|
32
|
-
min-inline-size: 0;
|
|
33
|
-
text-decoration: underline;
|
|
34
|
-
text-decoration-style: dotted;
|
|
35
|
-
text-underline-offset: 0.15em;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.correspondent__popup {
|
|
39
|
-
--sigvelo-recipe-surface-padding: var(--sigvelo-spacing-3);
|
|
40
|
-
|
|
41
|
-
min-inline-size: min(14rem, var(--available-width));
|
|
42
|
-
max-inline-size: min(20rem, var(--available-width));
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.correspondent__details {
|
|
46
|
-
display: flex;
|
|
47
|
-
min-inline-size: 0;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
gap: var(--sigvelo-spacing-1);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.correspondent__title {
|
|
53
|
-
color: var(--sigvelo-color-text);
|
|
54
|
-
font-size: var(--sigvelo-text-compact);
|
|
55
|
-
font-weight: var(--sigvelo-font-weight-semibold);
|
|
56
|
-
line-height: var(--sigvelo-leading-compact);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.correspondent__handle,
|
|
60
|
-
.correspondent__latest {
|
|
61
|
-
min-inline-size: 0;
|
|
62
|
-
color: var(--sigvelo-color-text-muted);
|
|
63
|
-
font-size: var(--sigvelo-text-xs);
|
|
64
|
-
line-height: var(--sigvelo-text-xs-leading);
|
|
65
|
-
overflow-wrap: anywhere;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@media (forced-colors: active) {
|
|
69
|
-
.correspondent__trigger:focus-visible {
|
|
70
|
-
outline: var(--sigvelo-border-width) solid CanvasText;
|
|
71
|
-
box-shadow: none;
|
|
72
|
-
}
|
|
73
|
-
}
|