@mcp-b/react-components 0.63.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--PWdtg4B.d.ts → EmployeeChrome-kegSASjC.d.ts} +6 -5
- 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-yDZorXla.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/command-search-1fjmCBBo.js +34 -0
- package/dist/components/agents-sdk/AIProviderDialog.js +757 -224
- 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 +1113 -386
- 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 +164 -21
- 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 +108 -46
- package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +500 -99
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +1375 -557
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeSchedules.js +281 -64
- 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 +142 -35
- 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 +332 -117
- package/dist/components/agents-sdk/McpConnectorForm.js +320 -100
- package/dist/components/agents-sdk/McpPluginCatalog.js +697 -249
- 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 +542 -158
- package/dist/components/agents-sdk/ModelSelector.js +1151 -253
- package/dist/components/agents-sdk/PromptInputApproval.js +115 -27
- 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 +357 -129
- package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
- package/dist/components/agents-sdk/ThinkChat.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkChat.js +321 -132
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +306 -100
- 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 +1386 -404
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +219 -45
- 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 +505 -124
- package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
- package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +71 -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 +363 -132
- 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 +311 -90
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +1318 -475
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +434 -214
- 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 +1492 -415
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1316 -525
- 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 +267 -85
- 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 +118 -58
- 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 +193 -68
- 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.js +75 -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 +737 -178
- 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 +2735 -794
- 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 +792 -154
- 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 +1 -1
- package/dist/components/extension/CodexModelSelector.js +467 -146
- 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 +3834 -1012
- 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 +82 -17
- package/dist/components/foundations/CheckboxGroup.js +266 -58
- package/dist/components/foundations/Collapsible.d.ts +2 -1
- package/dist/components/foundations/Collapsible.js +129 -26
- 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 +3 -3
- package/dist/components/foundations/ToggleGroup.js +215 -59
- 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 +33 -6
- 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 +209 -84
- package/dist/components/general-purpose/PricingUsageCalculator.js +231 -81
- 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.js +235 -77
- 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 +66 -23
- 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 +233 -53
- 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/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 +4 -4
- 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 -133
- 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/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/structured-code.d.ts +1 -1
- package/dist/workspace-assets-DdtnBDU3.js +213 -0
- package/dist/{workspace-concept-panel-C_oYhPSx.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-DYQdZUH6.js +0 -318
- package/dist/ExecutionResult-2fBkpIGN.js +0 -279
- package/dist/FileTree-CDLOD643.js +0 -323
- package/dist/ManagerOffice-CvVSHnOM.js +0 -1129
- package/dist/SetupChecklist-B-iEta9v.js +0 -78
- package/dist/ThinkSchedule-DPoOYWTQ.d.ts +0 -34
- package/dist/WorkspaceFileView-DwIkehSM.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-D8AT6x4c.js +0 -32
- package/dist/connected-app-drafts-DtA2fBK5.js +0 -283
- package/dist/copy-button-DbR932tF.js +0 -45
- package/dist/icons-GoybMAB2.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-F3r6XltC.js +0 -107
- package/dist/workspace-concept-panel-D8oEvR0n.js +0 -66
- package/dist/workspace-delete-CQvv1eDE.js +0 -81
- package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as mergeRefs } from "../../merge-refs-
|
|
2
|
+
import { X as PlayIcon } from "../../icons-nLTnB9kd.js";
|
|
3
|
+
import { n as mergeRefs } from "../../merge-refs-DTX97mLp.js";
|
|
4
|
+
import { t as motionIsReduced } from "../../motion-preferences-6qsDIDvH.js";
|
|
4
5
|
import { Card } from "../foundations/Card.js";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
5
7
|
import * as React from "react";
|
|
6
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
//#region src/components/_internal/motion-preferences.ts
|
|
8
|
-
/**
|
|
9
|
-
* Reports whether motion should be suppressed, honoring both the app-level
|
|
10
|
-
* `data-motion="reduce"` override and the `prefers-reduced-motion` media query.
|
|
11
|
-
* Returns `true` when there is no document, e.g. during SSR.
|
|
12
|
-
*/
|
|
13
|
-
function motionIsReduced() {
|
|
14
|
-
if (typeof document === "undefined") return true;
|
|
15
|
-
if (document.documentElement.dataset.motion === "reduce") return true;
|
|
16
|
-
return window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? false;
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
9
|
//#region src/components/ai-sdk/MediaPreviewCard.tsx
|
|
20
10
|
const MediaPreviewCardContext = React.createContext(null);
|
|
21
11
|
function useMediaPreviewCardContext() {
|
|
@@ -33,100 +23,289 @@ function useMediaPreviewCardContext() {
|
|
|
33
23
|
* Card content inside this root so the entire composition keeps native link
|
|
34
24
|
* semantics.
|
|
35
25
|
*/
|
|
36
|
-
function MediaPreviewCard(
|
|
26
|
+
function MediaPreviewCard(t0) {
|
|
27
|
+
const $ = c(34);
|
|
28
|
+
let children;
|
|
29
|
+
let className;
|
|
30
|
+
let onBlurCapture;
|
|
31
|
+
let onFocusCapture;
|
|
32
|
+
let onPointerEnter;
|
|
33
|
+
let onPointerLeave;
|
|
34
|
+
let props;
|
|
35
|
+
let ref;
|
|
36
|
+
if ($[0] !== t0) {
|
|
37
|
+
({children, className, onBlurCapture, onFocusCapture, onPointerEnter, onPointerLeave, ref, ...props} = t0);
|
|
38
|
+
$[0] = t0;
|
|
39
|
+
$[1] = children;
|
|
40
|
+
$[2] = className;
|
|
41
|
+
$[3] = onBlurCapture;
|
|
42
|
+
$[4] = onFocusCapture;
|
|
43
|
+
$[5] = onPointerEnter;
|
|
44
|
+
$[6] = onPointerLeave;
|
|
45
|
+
$[7] = props;
|
|
46
|
+
$[8] = ref;
|
|
47
|
+
} else {
|
|
48
|
+
children = $[1];
|
|
49
|
+
className = $[2];
|
|
50
|
+
onBlurCapture = $[3];
|
|
51
|
+
onFocusCapture = $[4];
|
|
52
|
+
onPointerEnter = $[5];
|
|
53
|
+
onPointerLeave = $[6];
|
|
54
|
+
props = $[7];
|
|
55
|
+
ref = $[8];
|
|
56
|
+
}
|
|
37
57
|
const videoRef = React.useRef(null);
|
|
38
58
|
const pointerInsideRef = React.useRef(false);
|
|
39
59
|
const focusInsideRef = React.useRef(false);
|
|
40
60
|
const [playing, setPlaying] = React.useState(false);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
video.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const startPreview = React.useCallback(() => {
|
|
51
|
-
const video = videoRef.current;
|
|
52
|
-
if (!video || motionIsReduced()) return;
|
|
53
|
-
video.play().catch(() => {
|
|
61
|
+
let t1;
|
|
62
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
63
|
+
t1 = () => {
|
|
64
|
+
const video = videoRef.current;
|
|
65
|
+
if (!video) return;
|
|
66
|
+
video.pause();
|
|
67
|
+
if (video.readyState >= HTMLMediaElement.HAVE_METADATA) try {
|
|
68
|
+
video.currentTime = 0;
|
|
69
|
+
} catch {}
|
|
54
70
|
setPlaying(false);
|
|
55
|
-
});
|
|
56
|
-
}, []);
|
|
57
|
-
React.useEffect(() => {
|
|
58
|
-
const media = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
59
|
-
const root = document.documentElement;
|
|
60
|
-
const stopWhenReduced = () => {
|
|
61
|
-
if (motionIsReduced()) stopPreview();
|
|
62
71
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
72
|
+
$[9] = t1;
|
|
73
|
+
} else t1 = $[9];
|
|
74
|
+
const stopPreview = t1;
|
|
75
|
+
let t2;
|
|
76
|
+
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
77
|
+
t2 = () => {
|
|
78
|
+
const video_0 = videoRef.current;
|
|
79
|
+
if (!video_0 || motionIsReduced()) return;
|
|
80
|
+
video_0.play().catch(() => {
|
|
81
|
+
setPlaying(false);
|
|
82
|
+
});
|
|
69
83
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
84
|
+
$[10] = t2;
|
|
85
|
+
} else t2 = $[10];
|
|
86
|
+
const startPreview = t2;
|
|
87
|
+
let t3;
|
|
88
|
+
let t4;
|
|
89
|
+
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
90
|
+
t3 = () => {
|
|
91
|
+
const media = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
92
|
+
const root = document.documentElement;
|
|
93
|
+
const stopWhenReduced = () => {
|
|
94
|
+
if (motionIsReduced()) stopPreview();
|
|
95
|
+
};
|
|
96
|
+
const observer = new MutationObserver(stopWhenReduced);
|
|
97
|
+
media.addEventListener("change", stopWhenReduced);
|
|
98
|
+
observer.observe(root, { attributeFilter: ["data-motion"] });
|
|
99
|
+
return () => {
|
|
100
|
+
media.removeEventListener("change", stopWhenReduced);
|
|
101
|
+
observer.disconnect();
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
t4 = [stopPreview];
|
|
105
|
+
$[11] = t3;
|
|
106
|
+
$[12] = t4;
|
|
107
|
+
} else {
|
|
108
|
+
t3 = $[11];
|
|
109
|
+
t4 = $[12];
|
|
110
|
+
}
|
|
111
|
+
React.useEffect(t3, t4);
|
|
112
|
+
let t5;
|
|
113
|
+
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
114
|
+
t5 = {
|
|
115
|
+
setPlaying,
|
|
116
|
+
videoRef
|
|
117
|
+
};
|
|
118
|
+
$[13] = t5;
|
|
119
|
+
} else t5 = $[13];
|
|
120
|
+
const context = t5;
|
|
121
|
+
const t6 = playing ? "true" : "false";
|
|
122
|
+
let t7;
|
|
123
|
+
if ($[14] !== className) {
|
|
124
|
+
t7 = cx("media-preview-card", className);
|
|
125
|
+
$[14] = className;
|
|
126
|
+
$[15] = t7;
|
|
127
|
+
} else t7 = $[15];
|
|
128
|
+
let t8;
|
|
129
|
+
if ($[16] !== onPointerEnter) {
|
|
130
|
+
t8 = (event) => {
|
|
131
|
+
onPointerEnter?.(event);
|
|
132
|
+
if (event.defaultPrevented || event.pointerType !== "mouse") return;
|
|
133
|
+
pointerInsideRef.current = true;
|
|
134
|
+
startPreview();
|
|
135
|
+
};
|
|
136
|
+
$[16] = onPointerEnter;
|
|
137
|
+
$[17] = t8;
|
|
138
|
+
} else t8 = $[17];
|
|
139
|
+
let t9;
|
|
140
|
+
if ($[18] !== onPointerLeave) {
|
|
141
|
+
t9 = (event_0) => {
|
|
142
|
+
onPointerLeave?.(event_0);
|
|
143
|
+
if (event_0.defaultPrevented) return;
|
|
144
|
+
pointerInsideRef.current = false;
|
|
145
|
+
if (!focusInsideRef.current) stopPreview();
|
|
146
|
+
};
|
|
147
|
+
$[18] = onPointerLeave;
|
|
148
|
+
$[19] = t9;
|
|
149
|
+
} else t9 = $[19];
|
|
150
|
+
let t10;
|
|
151
|
+
if ($[20] !== onFocusCapture) {
|
|
152
|
+
t10 = (event_1) => {
|
|
153
|
+
onFocusCapture?.(event_1);
|
|
154
|
+
if (event_1.defaultPrevented) return;
|
|
155
|
+
focusInsideRef.current = true;
|
|
156
|
+
startPreview();
|
|
157
|
+
};
|
|
158
|
+
$[20] = onFocusCapture;
|
|
159
|
+
$[21] = t10;
|
|
160
|
+
} else t10 = $[21];
|
|
161
|
+
let t11;
|
|
162
|
+
if ($[22] !== onBlurCapture) {
|
|
163
|
+
t11 = (event_2) => {
|
|
164
|
+
onBlurCapture?.(event_2);
|
|
165
|
+
if (event_2.defaultPrevented) return;
|
|
166
|
+
if (event_2.currentTarget.contains(event_2.relatedTarget)) return;
|
|
167
|
+
focusInsideRef.current = false;
|
|
168
|
+
if (!pointerInsideRef.current) stopPreview();
|
|
169
|
+
};
|
|
170
|
+
$[22] = onBlurCapture;
|
|
171
|
+
$[23] = t11;
|
|
172
|
+
} else t11 = $[23];
|
|
173
|
+
let t12;
|
|
174
|
+
if ($[24] !== children || $[25] !== props || $[26] !== ref || $[27] !== t10 || $[28] !== t11 || $[29] !== t6 || $[30] !== t7 || $[31] !== t8 || $[32] !== t9) {
|
|
175
|
+
t12 = /* @__PURE__ */ jsx(MediaPreviewCardContext.Provider, {
|
|
176
|
+
value: context,
|
|
177
|
+
children: /* @__PURE__ */ jsx(Card, {
|
|
178
|
+
ref,
|
|
179
|
+
"data-slot": "media-preview-card",
|
|
180
|
+
"data-playing": t6,
|
|
181
|
+
className: t7,
|
|
182
|
+
onPointerEnter: t8,
|
|
183
|
+
onPointerLeave: t9,
|
|
184
|
+
onFocusCapture: t10,
|
|
185
|
+
onBlurCapture: t11,
|
|
186
|
+
...props,
|
|
187
|
+
children
|
|
188
|
+
})
|
|
189
|
+
});
|
|
190
|
+
$[24] = children;
|
|
191
|
+
$[25] = props;
|
|
192
|
+
$[26] = ref;
|
|
193
|
+
$[27] = t10;
|
|
194
|
+
$[28] = t11;
|
|
195
|
+
$[29] = t6;
|
|
196
|
+
$[30] = t7;
|
|
197
|
+
$[31] = t8;
|
|
198
|
+
$[32] = t9;
|
|
199
|
+
$[33] = t12;
|
|
200
|
+
} else t12 = $[33];
|
|
201
|
+
return t12;
|
|
111
202
|
}
|
|
112
203
|
/**
|
|
113
204
|
* Decorative, silent preview media for MediaPreviewCard. Native source
|
|
114
205
|
* children allow callers to provide WebM followed by MP4 without the design
|
|
115
206
|
* system owning storage or URLs.
|
|
116
207
|
*/
|
|
117
|
-
function MediaPreviewCardVideo(
|
|
208
|
+
function MediaPreviewCardVideo(t0) {
|
|
209
|
+
const $ = c(44);
|
|
210
|
+
let children;
|
|
211
|
+
let className;
|
|
212
|
+
let height;
|
|
213
|
+
let onEnded;
|
|
214
|
+
let onPause;
|
|
215
|
+
let onPlaying;
|
|
216
|
+
let poster;
|
|
217
|
+
let props;
|
|
218
|
+
let ref;
|
|
219
|
+
let style;
|
|
220
|
+
let width;
|
|
221
|
+
if ($[0] !== t0) {
|
|
222
|
+
({children, className, height, onEnded, onPause, onPlaying, poster, ref, style, width, ...props} = t0);
|
|
223
|
+
$[0] = t0;
|
|
224
|
+
$[1] = children;
|
|
225
|
+
$[2] = className;
|
|
226
|
+
$[3] = height;
|
|
227
|
+
$[4] = onEnded;
|
|
228
|
+
$[5] = onPause;
|
|
229
|
+
$[6] = onPlaying;
|
|
230
|
+
$[7] = poster;
|
|
231
|
+
$[8] = props;
|
|
232
|
+
$[9] = ref;
|
|
233
|
+
$[10] = style;
|
|
234
|
+
$[11] = width;
|
|
235
|
+
} else {
|
|
236
|
+
children = $[1];
|
|
237
|
+
className = $[2];
|
|
238
|
+
height = $[3];
|
|
239
|
+
onEnded = $[4];
|
|
240
|
+
onPause = $[5];
|
|
241
|
+
onPlaying = $[6];
|
|
242
|
+
poster = $[7];
|
|
243
|
+
props = $[8];
|
|
244
|
+
ref = $[9];
|
|
245
|
+
style = $[10];
|
|
246
|
+
width = $[11];
|
|
247
|
+
}
|
|
118
248
|
const { setPlaying, videoRef } = useMediaPreviewCardContext();
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
249
|
+
const t1 = `${width} / ${height}`;
|
|
250
|
+
let t2;
|
|
251
|
+
if ($[12] !== t1) {
|
|
252
|
+
t2 = { "--media-preview-card-aspect-ratio": t1 };
|
|
253
|
+
$[12] = t1;
|
|
254
|
+
$[13] = t2;
|
|
255
|
+
} else t2 = $[13];
|
|
256
|
+
const t3 = t2;
|
|
257
|
+
let t4;
|
|
258
|
+
if ($[14] !== ref || $[15] !== videoRef) {
|
|
259
|
+
t4 = mergeRefs(ref, (node) => {
|
|
260
|
+
videoRef.current = node;
|
|
261
|
+
});
|
|
262
|
+
$[14] = ref;
|
|
263
|
+
$[15] = videoRef;
|
|
264
|
+
$[16] = t4;
|
|
265
|
+
} else t4 = $[16];
|
|
266
|
+
let t5;
|
|
267
|
+
if ($[17] !== className) {
|
|
268
|
+
t5 = cx("media-preview-card__video", className);
|
|
269
|
+
$[17] = className;
|
|
270
|
+
$[18] = t5;
|
|
271
|
+
} else t5 = $[18];
|
|
272
|
+
let t6;
|
|
273
|
+
if ($[19] !== onPlaying || $[20] !== setPlaying) {
|
|
274
|
+
t6 = (event) => {
|
|
275
|
+
setPlaying(true);
|
|
276
|
+
onPlaying?.(event);
|
|
277
|
+
};
|
|
278
|
+
$[19] = onPlaying;
|
|
279
|
+
$[20] = setPlaying;
|
|
280
|
+
$[21] = t6;
|
|
281
|
+
} else t6 = $[21];
|
|
282
|
+
let t7;
|
|
283
|
+
if ($[22] !== onPause || $[23] !== setPlaying) {
|
|
284
|
+
t7 = (event_0) => {
|
|
285
|
+
setPlaying(false);
|
|
286
|
+
onPause?.(event_0);
|
|
287
|
+
};
|
|
288
|
+
$[22] = onPause;
|
|
289
|
+
$[23] = setPlaying;
|
|
290
|
+
$[24] = t7;
|
|
291
|
+
} else t7 = $[24];
|
|
292
|
+
let t8;
|
|
293
|
+
if ($[25] !== onEnded || $[26] !== setPlaying) {
|
|
294
|
+
t8 = (event_1) => {
|
|
295
|
+
setPlaying(false);
|
|
296
|
+
onEnded?.(event_1);
|
|
297
|
+
};
|
|
298
|
+
$[25] = onEnded;
|
|
299
|
+
$[26] = setPlaying;
|
|
300
|
+
$[27] = t8;
|
|
301
|
+
} else t8 = $[27];
|
|
302
|
+
let t9;
|
|
303
|
+
if ($[28] !== children || $[29] !== height || $[30] !== poster || $[31] !== props || $[32] !== style || $[33] !== t4 || $[34] !== t5 || $[35] !== t6 || $[36] !== t7 || $[37] !== t8 || $[38] !== width) {
|
|
304
|
+
t9 = /* @__PURE__ */ jsx("video", {
|
|
124
305
|
...props,
|
|
125
|
-
ref:
|
|
126
|
-
videoRef.current = node;
|
|
127
|
-
}),
|
|
306
|
+
ref: t4,
|
|
128
307
|
"data-slot": "media-preview-card-video",
|
|
129
|
-
className:
|
|
308
|
+
className: t5,
|
|
130
309
|
style,
|
|
131
310
|
poster,
|
|
132
311
|
width,
|
|
@@ -136,25 +315,46 @@ function MediaPreviewCardVideo({ children, className, height, onEnded, onPause,
|
|
|
136
315
|
playsInline: true,
|
|
137
316
|
preload: "none",
|
|
138
317
|
"aria-hidden": "true",
|
|
139
|
-
onPlaying:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
},
|
|
143
|
-
onPause: (event) => {
|
|
144
|
-
setPlaying(false);
|
|
145
|
-
onPause?.(event);
|
|
146
|
-
},
|
|
147
|
-
onEnded: (event) => {
|
|
148
|
-
setPlaying(false);
|
|
149
|
-
onEnded?.(event);
|
|
150
|
-
},
|
|
318
|
+
onPlaying: t6,
|
|
319
|
+
onPause: t7,
|
|
320
|
+
onEnded: t8,
|
|
151
321
|
children
|
|
152
|
-
})
|
|
322
|
+
});
|
|
323
|
+
$[28] = children;
|
|
324
|
+
$[29] = height;
|
|
325
|
+
$[30] = poster;
|
|
326
|
+
$[31] = props;
|
|
327
|
+
$[32] = style;
|
|
328
|
+
$[33] = t4;
|
|
329
|
+
$[34] = t5;
|
|
330
|
+
$[35] = t6;
|
|
331
|
+
$[36] = t7;
|
|
332
|
+
$[37] = t8;
|
|
333
|
+
$[38] = width;
|
|
334
|
+
$[39] = t9;
|
|
335
|
+
} else t9 = $[39];
|
|
336
|
+
let t10;
|
|
337
|
+
if ($[40] === Symbol.for("react.memo_cache_sentinel")) {
|
|
338
|
+
t10 = /* @__PURE__ */ jsx("span", {
|
|
153
339
|
className: "media-preview-card__play",
|
|
154
340
|
"aria-hidden": "true",
|
|
155
341
|
children: /* @__PURE__ */ jsx(PlayIcon, {})
|
|
156
|
-
})
|
|
157
|
-
|
|
342
|
+
});
|
|
343
|
+
$[40] = t10;
|
|
344
|
+
} else t10 = $[40];
|
|
345
|
+
let t11;
|
|
346
|
+
if ($[41] !== t3 || $[42] !== t9) {
|
|
347
|
+
t11 = /* @__PURE__ */ jsxs("div", {
|
|
348
|
+
"data-slot": "media-preview-card-media",
|
|
349
|
+
className: "media-preview-card__media",
|
|
350
|
+
style: t3,
|
|
351
|
+
children: [t9, t10]
|
|
352
|
+
});
|
|
353
|
+
$[41] = t3;
|
|
354
|
+
$[42] = t9;
|
|
355
|
+
$[43] = t11;
|
|
356
|
+
} else t11 = $[43];
|
|
357
|
+
return t11;
|
|
158
358
|
}
|
|
159
359
|
/**
|
|
160
360
|
* Positions sibling controls above the preview without nesting them inside the
|
|
@@ -162,44 +362,160 @@ function MediaPreviewCardVideo({ children, className, height, onEnded, onPause,
|
|
|
162
362
|
* menu trigger; the consumer remains responsible for each control's behavior
|
|
163
363
|
* and accessible name.
|
|
164
364
|
*/
|
|
165
|
-
function MediaPreviewCardActions(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
365
|
+
function MediaPreviewCardActions(t0) {
|
|
366
|
+
const $ = c(10);
|
|
367
|
+
let className;
|
|
368
|
+
let props;
|
|
369
|
+
let ref;
|
|
370
|
+
if ($[0] !== t0) {
|
|
371
|
+
({className, ref, ...props} = t0);
|
|
372
|
+
$[0] = t0;
|
|
373
|
+
$[1] = className;
|
|
374
|
+
$[2] = props;
|
|
375
|
+
$[3] = ref;
|
|
376
|
+
} else {
|
|
377
|
+
className = $[1];
|
|
378
|
+
props = $[2];
|
|
379
|
+
ref = $[3];
|
|
380
|
+
}
|
|
381
|
+
let t1;
|
|
382
|
+
if ($[4] !== className) {
|
|
383
|
+
t1 = cx("media-preview-card__actions", className);
|
|
384
|
+
$[4] = className;
|
|
385
|
+
$[5] = t1;
|
|
386
|
+
} else t1 = $[5];
|
|
387
|
+
let t2;
|
|
388
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
389
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
390
|
+
ref,
|
|
391
|
+
"data-slot": "media-preview-card-actions",
|
|
392
|
+
className: t1,
|
|
393
|
+
...props
|
|
394
|
+
});
|
|
395
|
+
$[6] = props;
|
|
396
|
+
$[7] = ref;
|
|
397
|
+
$[8] = t1;
|
|
398
|
+
$[9] = t2;
|
|
399
|
+
} else t2 = $[9];
|
|
400
|
+
return t2;
|
|
172
401
|
}
|
|
173
402
|
/**
|
|
174
403
|
* Reserves the same frame as preview media when a card has no poster or video.
|
|
175
404
|
* Keep any explanatory copy visually hidden so the quiet fallback remains
|
|
176
405
|
* useful without competing with the card title.
|
|
177
406
|
*/
|
|
178
|
-
function MediaPreviewCardPlaceholder(
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
407
|
+
function MediaPreviewCardPlaceholder(t0) {
|
|
408
|
+
const $ = c(10);
|
|
409
|
+
let className;
|
|
410
|
+
let props;
|
|
411
|
+
let ref;
|
|
412
|
+
if ($[0] !== t0) {
|
|
413
|
+
({className, ref, ...props} = t0);
|
|
414
|
+
$[0] = t0;
|
|
415
|
+
$[1] = className;
|
|
416
|
+
$[2] = props;
|
|
417
|
+
$[3] = ref;
|
|
418
|
+
} else {
|
|
419
|
+
className = $[1];
|
|
420
|
+
props = $[2];
|
|
421
|
+
ref = $[3];
|
|
422
|
+
}
|
|
423
|
+
let t1;
|
|
424
|
+
if ($[4] !== className) {
|
|
425
|
+
t1 = cx("media-preview-card__placeholder", className);
|
|
426
|
+
$[4] = className;
|
|
427
|
+
$[5] = t1;
|
|
428
|
+
} else t1 = $[5];
|
|
429
|
+
let t2;
|
|
430
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
431
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
432
|
+
ref,
|
|
433
|
+
"data-slot": "media-preview-card-placeholder",
|
|
434
|
+
className: t1,
|
|
435
|
+
...props
|
|
436
|
+
});
|
|
437
|
+
$[6] = props;
|
|
438
|
+
$[7] = ref;
|
|
439
|
+
$[8] = t1;
|
|
440
|
+
$[9] = t2;
|
|
441
|
+
} else t2 = $[9];
|
|
442
|
+
return t2;
|
|
185
443
|
}
|
|
186
444
|
/** Compact facts shown immediately below a preview. */
|
|
187
|
-
function MediaPreviewCardMeta(
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
445
|
+
function MediaPreviewCardMeta(t0) {
|
|
446
|
+
const $ = c(10);
|
|
447
|
+
let className;
|
|
448
|
+
let props;
|
|
449
|
+
let ref;
|
|
450
|
+
if ($[0] !== t0) {
|
|
451
|
+
({className, ref, ...props} = t0);
|
|
452
|
+
$[0] = t0;
|
|
453
|
+
$[1] = className;
|
|
454
|
+
$[2] = props;
|
|
455
|
+
$[3] = ref;
|
|
456
|
+
} else {
|
|
457
|
+
className = $[1];
|
|
458
|
+
props = $[2];
|
|
459
|
+
ref = $[3];
|
|
460
|
+
}
|
|
461
|
+
let t1;
|
|
462
|
+
if ($[4] !== className) {
|
|
463
|
+
t1 = cx("media-preview-card__meta", className);
|
|
464
|
+
$[4] = className;
|
|
465
|
+
$[5] = t1;
|
|
466
|
+
} else t1 = $[5];
|
|
467
|
+
let t2;
|
|
468
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
469
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
470
|
+
ref,
|
|
471
|
+
"data-slot": "media-preview-card-meta",
|
|
472
|
+
className: t1,
|
|
473
|
+
...props
|
|
474
|
+
});
|
|
475
|
+
$[6] = props;
|
|
476
|
+
$[7] = ref;
|
|
477
|
+
$[8] = t1;
|
|
478
|
+
$[9] = t2;
|
|
479
|
+
} else t2 = $[9];
|
|
480
|
+
return t2;
|
|
194
481
|
}
|
|
195
482
|
/** A single icon-led fact inside MediaPreviewCardMeta. */
|
|
196
|
-
function MediaPreviewCardFact(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
483
|
+
function MediaPreviewCardFact(t0) {
|
|
484
|
+
const $ = c(10);
|
|
485
|
+
let className;
|
|
486
|
+
let props;
|
|
487
|
+
let ref;
|
|
488
|
+
if ($[0] !== t0) {
|
|
489
|
+
({className, ref, ...props} = t0);
|
|
490
|
+
$[0] = t0;
|
|
491
|
+
$[1] = className;
|
|
492
|
+
$[2] = props;
|
|
493
|
+
$[3] = ref;
|
|
494
|
+
} else {
|
|
495
|
+
className = $[1];
|
|
496
|
+
props = $[2];
|
|
497
|
+
ref = $[3];
|
|
498
|
+
}
|
|
499
|
+
let t1;
|
|
500
|
+
if ($[4] !== className) {
|
|
501
|
+
t1 = cx("media-preview-card__fact", className);
|
|
502
|
+
$[4] = className;
|
|
503
|
+
$[5] = t1;
|
|
504
|
+
} else t1 = $[5];
|
|
505
|
+
let t2;
|
|
506
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
507
|
+
t2 = /* @__PURE__ */ jsx("span", {
|
|
508
|
+
ref,
|
|
509
|
+
"data-slot": "media-preview-card-fact",
|
|
510
|
+
className: t1,
|
|
511
|
+
...props
|
|
512
|
+
});
|
|
513
|
+
$[6] = props;
|
|
514
|
+
$[7] = ref;
|
|
515
|
+
$[8] = t1;
|
|
516
|
+
$[9] = t2;
|
|
517
|
+
} else t2 = $[9];
|
|
518
|
+
return t2;
|
|
203
519
|
}
|
|
204
520
|
//#endregion
|
|
205
521
|
export { MediaPreviewCard, MediaPreviewCardActions, MediaPreviewCardFact, MediaPreviewCardMeta, MediaPreviewCardPlaceholder, MediaPreviewCardVideo };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MessageTimestamp, C as MessageCopyActionProps, D as MessageResponse, E as MessageProps, M as MessageToolbar, N as MessageToolbarProps, O as MessageResponseProps, S as MessageCopyAction, T as MessageMetaProps, _ as MessageBranchProps, a as MessageActionsProps, b as MessageContent, c as MessageBranch, d as MessageBranchNext, f as MessageBranchNextProps, g as MessageBranchPreviousProps, h as MessageBranchPrevious, i as MessageActions, j as MessageTimestampProps, k as MessageRole, l as MessageBranchContent, m as MessageBranchPageProps, n as MessageAction, o as MessageAttachment, p as MessageBranchPage, r as MessageActionProps, s as MessageAttachmentProps, t as Message, u as MessageBranchContentProps, v as MessageBranchSelector, w as MessageMeta, x as MessageContentProps, y as MessageBranchSelectorProps } from "../../Message-
|
|
1
|
+
import { A as MessageTimestamp, C as MessageCopyActionProps, D as MessageResponse, E as MessageProps, M as MessageToolbar, N as MessageToolbarProps, O as MessageResponseProps, S as MessageCopyAction, T as MessageMetaProps, _ as MessageBranchProps, a as MessageActionsProps, b as MessageContent, c as MessageBranch, d as MessageBranchNext, f as MessageBranchNextProps, g as MessageBranchPreviousProps, h as MessageBranchPrevious, i as MessageActions, j as MessageTimestampProps, k as MessageRole, l as MessageBranchContent, m as MessageBranchPageProps, n as MessageAction, o as MessageAttachment, p as MessageBranchPage, r as MessageActionProps, s as MessageAttachmentProps, t as Message, u as MessageBranchContentProps, v as MessageBranchSelector, w as MessageMeta, x as MessageContentProps, y as MessageBranchSelectorProps } from "../../Message-BLyl6kWe.js";
|
|
2
2
|
export { Message, MessageAction, MessageActionProps, MessageActions, MessageActionsProps, MessageAttachment, MessageAttachmentProps, MessageBranch, MessageBranchContent, MessageBranchContentProps, MessageBranchNext, MessageBranchNextProps, MessageBranchPage, MessageBranchPageProps, MessageBranchPrevious, MessageBranchPreviousProps, MessageBranchProps, MessageBranchSelector, MessageBranchSelectorProps, MessageContent, MessageContentProps, MessageCopyAction, MessageCopyActionProps, MessageMeta, MessageMetaProps, MessageProps, MessageResponse, MessageResponseProps, MessageRole, MessageTimestamp, MessageTimestampProps, MessageToolbar, MessageToolbarProps };
|