@mcp-b/react-components 0.62.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgentActivity-DptCj8XQ.d.ts → AgentActivity-Cngwkalq.d.ts} +2 -9
- package/dist/{AgentChatQueue-DG2rGyCI.d.ts → AgentChatQueue-C1TDnVAn.d.ts} +1 -1
- package/dist/{AppTopBar-DwzydmXu.d.ts → AppTopBar-CM57rJID.d.ts} +7 -3
- package/dist/ChatGptSignInScreen-CmbBe09G.js +298 -0
- package/dist/{CodeBlock-BTkag9ms.d.ts → CodeBlock-BDupVceI.d.ts} +1 -1
- package/dist/CodeBlock-dt0L8md0.js +892 -0
- package/dist/{EmployeeChrome-D5x4EM9y.d.ts → EmployeeChrome-kegSASjC.d.ts} +15 -8
- package/dist/{ExecutionBoard-DvPGdn4F.d.ts → ExecutionBoard-DBj1Aiva.d.ts} +8 -1
- package/dist/ExecutionResult-CXnGcmM4.js +671 -0
- package/dist/FileTree-CjfzpN6X.js +968 -0
- package/dist/{IconButton-FWsa9562.d.ts → IconButton-DXtGMkMI.d.ts} +7 -5
- package/dist/ManagerOffice-T79utm-P.js +2469 -0
- package/dist/{Menu-FA4P6KrA.d.ts → Menu-DajfQr3T.d.ts} +4 -2
- package/dist/{Message-BUedRDN1.d.ts → Message-BLyl6kWe.d.ts} +2 -2
- package/dist/{PromptInput-Dbe6WgWA.d.ts → PromptInput-DEwFMj6f.d.ts} +5 -8
- package/dist/{ResponsiveSidebarShell-DSAMNDdg.d.ts → ResponsiveSidebarShell-RwvmlMHS.d.ts} +23 -13
- package/dist/SetupChecklist-DwscX3Bw.js +230 -0
- package/dist/{Tabs-BYs-RgJ7.d.ts → Tabs-tyvVX3nc.d.ts} +29 -10
- package/dist/{ThinkChatActivity-zZaSsbC-.d.ts → ThinkChatActivity-C7xnO0Fx.d.ts} +1 -1
- package/dist/{ThinkChatActivitySummary-8MO1VjAJ.d.ts → ThinkChatActivitySummary-Dh4Av7x_.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-DJ2TFDmZ.d.ts → ThinkExecutionRun-QzZVWX75.d.ts} +11 -3
- package/dist/ThinkSchedule-D4Ulsa0-.d.ts +53 -0
- package/dist/{ThinkThreadPicker-BmIZmpae.d.ts → ThinkThreadPicker-O-i2KloZ.d.ts} +1 -1
- package/dist/{Workspace-42LA9Zrb.d.ts → Workspace-B9nuTfIi.d.ts} +1 -1
- package/dist/{WorkspaceAutomation-CMvICi-p.d.ts → WorkspaceAutomation-C0fghGLi.d.ts} +3 -3
- package/dist/WorkspaceBrowser-oBJv-Dac.js +985 -0
- package/dist/{WorkspaceConcept-BjrgGE1w.d.ts → WorkspaceConcept-D46cYerS.d.ts} +1 -1
- package/dist/{WorkspaceFile-nK2n0i4S.d.ts → WorkspaceFile-BJC6vlp_.d.ts} +15 -4
- package/dist/WorkspaceFileCommands-SNIjRgtU.d.ts +145 -0
- package/dist/WorkspaceFileTransfer-BRD22nW-.d.ts +159 -0
- package/dist/WorkspaceLink-DDkj-Tq5.js +407 -0
- package/dist/{WorkspaceMessageResponse-BZ-_I18b.js → WorkspaceMessageResponse-CXGOQgpo.js} +111 -24
- package/dist/{agent-tool-runs-DsOp_X2y.js → agent-tool-runs-BXKdcxl8.js} +55 -28
- package/dist/app-bar-outlet-BEIGl9iF.js +35 -0
- package/{LICENSE → dist/assets/desktop/LICENSE.fluent.txt} +1 -1
- package/dist/assets/desktop/LICENSE.mac-icons.txt +7 -0
- package/dist/assets/desktop/README.md +43 -0
- package/dist/assets/desktop/automations.svg +19 -0
- package/dist/assets/desktop/document.svg +24 -0
- package/dist/assets/desktop/folder.png +0 -0
- package/dist/assets/desktop/mail.svg +31 -0
- package/dist/assets/desktop/settings.svg +9 -0
- package/dist/assets/desktop/trash-full.svg +23 -0
- package/dist/assets/desktop/trash.svg +19 -0
- package/dist/attachment-preview-DeRqFjdz.js +68 -0
- package/dist/attempt-CySQHJsF.js +21 -0
- package/dist/{codex-model-catalog-18yO7dln.d.ts → codex-model-catalog-CFEGgUAj.d.ts} +8 -8
- package/dist/command-search-1fjmCBBo.js +34 -0
- package/dist/components/agents-sdk/AIProviderDialog.d.ts +53 -0
- package/dist/components/agents-sdk/AIProviderDialog.js +902 -0
- package/dist/components/agents-sdk/AgentActivity.d.ts +2 -2
- package/dist/components/agents-sdk/AgentActivity.js +78 -31
- package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
- package/dist/components/agents-sdk/AgentChat.js +1120 -393
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentChatQueue.js +290 -173
- package/dist/components/agents-sdk/AgentComputer.d.ts +270 -0
- package/dist/components/agents-sdk/AgentComputer.js +8045 -0
- package/dist/components/agents-sdk/AgentEvent.js +165 -22
- package/dist/components/agents-sdk/AgentScreenSwitcher.d.ts +46 -0
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +409 -0
- package/dist/components/agents-sdk/AgentToolRunsContext.js +139 -41
- package/dist/components/agents-sdk/BrowserLiveScreen.js +860 -551
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +244 -88
- package/dist/components/agents-sdk/BrowserReplay.js +298 -133
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +57 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +979 -129
- package/dist/components/agents-sdk/DiscordConnectionDialog.js +104 -57
- package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +109 -47
- package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +504 -103
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +1383 -522
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeSchedules.js +283 -66
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeStartScreen.js +185 -52
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +1661 -462
- package/dist/components/agents-sdk/ManagerAccountActions.js +143 -36
- package/dist/components/agents-sdk/ManagerOffice.d.ts +15 -8
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +551 -185
- package/dist/components/agents-sdk/McpConnectionRequest.js +331 -116
- package/dist/components/agents-sdk/McpConnectorForm.js +321 -101
- package/dist/components/agents-sdk/McpPluginCatalog.js +698 -250
- package/dist/components/agents-sdk/McpServerIcon.js +57 -14
- package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.js +543 -159
- package/dist/components/agents-sdk/ModelSelector.d.ts +1 -1
- package/dist/components/agents-sdk/ModelSelector.js +1154 -256
- package/dist/components/agents-sdk/PromptInputApproval.js +116 -28
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +33 -46
- package/dist/components/agents-sdk/SlackConnectionDialog.js +38 -14
- package/dist/components/agents-sdk/SubagentRunIndicator.js +118 -25
- package/dist/components/agents-sdk/SubagentRunLanes.js +291 -107
- package/dist/components/agents-sdk/SubagentRunPanel.js +359 -131
- package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
- package/dist/components/agents-sdk/ThinkChat.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkChat.js +321 -129
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +307 -101
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +15 -9
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +1389 -407
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +220 -46
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.js +19 -11
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +224 -37
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +8 -5
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +506 -125
- package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
- package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
- package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +3 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +72 -26
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkSchedule.js +124 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +3 -3
- package/dist/components/agents-sdk/ThinkScheduleActions.js +364 -133
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.js +249 -116
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +312 -91
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +1324 -481
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +435 -215
- package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +30 -13
- package/dist/components/agents-sdk/WorkbenchBack.js +66 -20
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +491 -166
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.js +1496 -419
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1320 -529
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +72 -2
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -94
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +619 -178
- package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +45 -0
- package/dist/components/agents-sdk/WorkspaceDesktop.js +240 -0
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +52 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +268 -86
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceFile.js +30 -9
- package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceFileCommands.js +890 -0
- package/dist/components/agents-sdk/WorkspaceFileDetails.d.ts +29 -0
- package/dist/components/agents-sdk/WorkspaceFileDetails.js +271 -0
- package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceFileTransfer.js +505 -0
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +18 -3
- package/dist/components/agents-sdk/WorkspaceFileView.js +866 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +71 -26
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -2
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceLive.js +126 -73
- package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +63 -0
- package/dist/components/agents-sdk/WorkspaceLocalFolder.js +455 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +119 -59
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +90 -54
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspacePerson.js +172 -41
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceProject.js +175 -41
- package/dist/components/ai-sdk/Activity.js +768 -192
- package/dist/components/ai-sdk/AgentAttention.js +286 -58
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +194 -69
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +368 -80
- package/dist/components/ai-sdk/AgentChatTurnError.d.ts +6 -1
- package/dist/components/ai-sdk/AgentChatTurnError.js +77 -25
- package/dist/components/ai-sdk/AgentMessageParts.js +0 -1
- package/dist/components/ai-sdk/Approval.js +574 -172
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +535 -128
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +404 -80
- package/dist/components/ai-sdk/Checkpoint.js +229 -45
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +216 -48
- package/dist/components/ai-sdk/ConnectedAppCards.js +229 -52
- package/dist/components/ai-sdk/Context.js +738 -179
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +305 -68
- package/dist/components/ai-sdk/ExpansionState.js +74 -15
- package/dist/components/ai-sdk/Goal.js +435 -116
- package/dist/components/ai-sdk/InlineCitation.js +313 -76
- package/dist/components/ai-sdk/MediaPreviewCard.js +451 -135
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +1010 -195
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +264 -46
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +6 -6
- package/dist/components/ai-sdk/Plan.js +639 -128
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +2738 -797
- package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +1 -3
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +188 -83
- package/dist/components/ai-sdk/Queue.js +793 -155
- package/dist/components/ai-sdk/Reasoning.js +268 -69
- package/dist/components/ai-sdk/Sources.js +226 -63
- package/dist/components/ai-sdk/Task.js +294 -71
- package/dist/components/ai-sdk/ToolApproval.js +126 -26
- package/dist/components/ai-sdk/ToolInvocation.js +112 -22
- package/dist/components/extension/ChatGptSignInScreen.js +1 -82
- package/dist/components/extension/CodexModelSelector.d.ts +2 -2
- package/dist/components/extension/CodexModelSelector.js +468 -147
- package/dist/components/extension/ConversationTabPicker.d.ts +1 -1
- package/dist/components/extension/ConversationTabPicker.js +254 -76
- package/dist/components/extension/FirstRunSetup.d.ts +61 -35
- package/dist/components/extension/FirstRunSetup.js +3833 -1011
- package/dist/components/foundations/Accordion.js +186 -41
- package/dist/components/foundations/AlertDialog.js +425 -97
- package/dist/components/foundations/AppIcon.d.ts +13 -13
- package/dist/components/foundations/AppIcon.js +183 -34
- package/dist/components/foundations/Autocomplete.js +408 -89
- package/dist/components/foundations/Avatar.d.ts +100 -2
- package/dist/components/foundations/Avatar.js +204 -44
- package/dist/components/foundations/Button.js +64 -13
- package/dist/components/foundations/Card.js +357 -63
- package/dist/components/foundations/Checkbox.js +83 -18
- package/dist/components/foundations/CheckboxGroup.js +266 -58
- package/dist/components/foundations/Collapsible.d.ts +2 -1
- package/dist/components/foundations/Collapsible.js +130 -27
- package/dist/components/foundations/Combobox.js +408 -89
- package/dist/components/foundations/ContextMenu.d.ts +2 -2
- package/dist/components/foundations/ContextMenu.js +591 -117
- package/dist/components/foundations/DescriptionList.js +159 -28
- package/dist/components/foundations/Dialog.js +373 -89
- package/dist/components/foundations/EmptyState.js +86 -23
- package/dist/components/foundations/Favicon.d.ts +17 -0
- package/dist/components/foundations/Favicon.js +62 -0
- package/dist/components/foundations/Field.js +525 -108
- package/dist/components/foundations/Fieldset.js +115 -23
- package/dist/components/foundations/Form.js +38 -9
- package/dist/components/foundations/FormattedDate.d.ts +19 -5
- package/dist/components/foundations/FormattedDate.js +82 -12
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/IconButton.js +114 -17
- package/dist/components/foundations/Input.js +38 -9
- package/dist/components/foundations/Kbd.js +55 -10
- package/dist/components/foundations/Label.js +56 -12
- package/dist/components/foundations/LinkButton.js +67 -15
- package/dist/components/foundations/Marker.js +138 -29
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +634 -136
- package/dist/components/foundations/Menubar.d.ts +2 -2
- package/dist/components/foundations/Menubar.js +685 -130
- package/dist/components/foundations/Meter.js +186 -41
- package/dist/components/foundations/NavigationMenu.js +426 -95
- package/dist/components/foundations/NumberField.js +223 -49
- package/dist/components/foundations/Popover.js +398 -88
- package/dist/components/foundations/PreviewCard.js +234 -53
- package/dist/components/foundations/Progress.js +117 -25
- package/dist/components/foundations/RadioGroup.d.ts +13 -5
- package/dist/components/foundations/RadioGroup.js +132 -25
- package/dist/components/foundations/ScrollArea.js +230 -51
- package/dist/components/foundations/SearchField.d.ts +8 -3
- package/dist/components/foundations/SearchField.js +129 -28
- package/dist/components/foundations/Select.js +648 -145
- package/dist/components/foundations/Separator.js +61 -12
- package/dist/components/foundations/Slider.js +260 -57
- package/dist/components/foundations/Stepper.d.ts +1 -1
- package/dist/components/foundations/Stepper.js +561 -127
- package/dist/components/foundations/Switch.js +82 -18
- package/dist/components/foundations/Tabs.d.ts +2 -2
- package/dist/components/foundations/Tabs.js +282 -53
- package/dist/components/foundations/Textarea.js +43 -9
- package/dist/components/foundations/ThemeProvider.js +138 -52
- package/dist/components/foundations/Toast.d.ts +10 -2
- package/dist/components/foundations/Toast.js +322 -75
- package/dist/components/foundations/Toggle.d.ts +5 -2
- package/dist/components/foundations/Toggle.js +51 -10
- package/dist/components/foundations/ToggleGroup.d.ts +4 -4
- package/dist/components/foundations/ToggleGroup.js +216 -60
- package/dist/components/foundations/Toolbar.js +249 -61
- package/dist/components/foundations/Tooltip.d.ts +3 -3
- package/dist/components/foundations/Tooltip.js +311 -55
- package/dist/components/foundations/TransitionSurface.js +43 -9
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +99 -17
- package/dist/components/general-purpose/ActionGuide.js +290 -64
- package/dist/components/general-purpose/AppFrame.js +72 -14
- package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
- package/dist/components/general-purpose/AppTopBar.js +349 -60
- package/dist/components/general-purpose/BrandLoading.js +37 -9
- package/dist/components/general-purpose/CommandPalette.d.ts +47 -0
- package/dist/components/general-purpose/CommandPalette.js +271 -0
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +937 -167
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +600 -114
- package/dist/components/general-purpose/FileTree.d.ts +20 -7
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/ListDetail.d.ts +84 -0
- package/dist/components/general-purpose/ListDetail.js +423 -0
- package/dist/components/general-purpose/NotificationPrompt.js +20 -11
- package/dist/components/general-purpose/PricingBillingToggle.js +34 -7
- package/dist/components/general-purpose/PricingConfirmationDialog.js +126 -42
- package/dist/components/general-purpose/PricingFAQ.js +53 -12
- package/dist/components/general-purpose/PricingPage.js +376 -139
- package/dist/components/general-purpose/PricingPlanCard.js +210 -85
- package/dist/components/general-purpose/PricingUsageCalculator.js +233 -83
- package/dist/components/general-purpose/ResizableSidePanel.js +316 -117
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +840 -342
- package/dist/components/general-purpose/ScreenStack.d.ts +54 -0
- package/dist/components/general-purpose/ScreenStack.js +427 -0
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +10 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +238 -74
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/StatusScreen.js +82 -24
- package/dist/components/general-purpose/SwipeActions.d.ts +54 -0
- package/dist/components/general-purpose/SwipeActions.js +357 -0
- package/dist/components/general-purpose/Terminal.d.ts +22 -48
- package/dist/components/general-purpose/Terminal.js +320 -174
- package/dist/components/general-purpose/TestResults.js +975 -196
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -1
- package/dist/components/general-purpose/ThemeModeControl.js +67 -24
- package/dist/components/general-purpose/WallpaperPicker.d.ts +33 -0
- package/dist/components/general-purpose/WallpaperPicker.js +180 -0
- package/dist/components/general-purpose/WebPreview.d.ts +5 -7
- package/dist/components/general-purpose/WebPreview.js +770 -203
- package/dist/components/nanites/AgentConnection.js +323 -84
- package/dist/components/nanites/AgentToolDetail.js +237 -57
- package/dist/components/nanites/GithubMotionMark.js +37 -9
- package/dist/components/nanites/NaniteScene.js +535 -323
- package/dist/connected-app-drafts-Bocdg3Z-.js +637 -0
- package/dist/container-width-C43ccJ84.js +17 -0
- package/dist/context-Ddsp8HgD.js +43 -0
- package/dist/{copy-button-B09hHWd1.d.ts → copy-button-C2HRdomn.d.ts} +1 -1
- package/dist/copy-button-DWBVJR6D.js +118 -0
- package/dist/{format-CWaZEp5o.js → format-DL7f2rqp.js} +5 -1
- package/dist/{icons-CReP3qYl.d.ts → icons-B3n7zvU7.d.ts} +10 -2
- package/dist/icons-nLTnB9kd.js +470 -0
- package/dist/{merge-refs-DAh6reu8.js → merge-refs-DTX97mLp.js} +17 -1
- package/dist/motion-CGM3i6lX.js +319 -0
- package/dist/motion-preferences-6qsDIDvH.js +13 -0
- package/dist/{navigation-link-kqMa81v5.js → navigation-link-DMmtdqsM.js} +32 -8
- package/dist/progress-ring-BO649JA9.js +79 -0
- package/dist/provider-logos-Ceu7iYFx.js +362 -0
- package/dist/scheduled-table-source-gGpVJ1TN.js +92 -0
- package/dist/styles/accessibility.css +26 -0
- package/dist/styles/accordion.css +0 -2
- package/dist/styles/activity.css +20 -12
- package/dist/styles/agent-attention.css +31 -10
- package/dist/styles/agent-chat.css +7 -6
- package/dist/styles/agent-computer-motion-reduction.css +118 -0
- package/dist/styles/agent-computer-motion.css +127 -0
- package/dist/styles/agent-computer-phone.css +942 -0
- package/dist/styles/agent-computer.css +1764 -0
- package/dist/styles/agent-connection.css +5 -5
- package/dist/styles/agent-screen-switcher.css +313 -0
- package/dist/styles/ai-provider-dialog.css +46 -0
- package/dist/styles/app-icon.css +34 -30
- package/dist/styles/app-top-bar.css +33 -18
- package/dist/styles/approval.css +3 -3
- package/dist/styles/artifact.css +1 -1
- package/dist/styles/attachment-preview.css +2 -4
- package/dist/styles/avatar.css +12 -14
- package/dist/styles/base-ui-motion.css +84 -18
- package/dist/styles/base-ui-motion.test.tsx +305 -0
- package/dist/styles/base.css +16 -12
- package/dist/styles/brand.test.ts +7 -20
- package/dist/styles/browser-control-overlay.css +1 -1
- package/dist/styles/browser-live-screen.css +2 -2
- package/dist/styles/browser-live-view.css +1 -1
- package/dist/styles/browser-replay.css +0 -8
- package/dist/styles/browser-run-panel.css +275 -37
- package/dist/styles/button.css +52 -9
- package/dist/styles/card.css +6 -5
- package/dist/styles/chain-of-thought.css +0 -10
- package/dist/styles/checkpoint.css +2 -2
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/color-contrast.test.ts +18 -1
- package/dist/styles/command-palette.css +110 -0
- package/dist/styles/composer-link.css +11 -7
- package/dist/styles/composition-motion.css +3 -14
- package/dist/styles/context.css +2 -2
- package/dist/styles/conversation-tab-picker.css +7 -0
- package/dist/styles/conversation.css +8 -2
- package/dist/styles/dialog.css +2 -2
- package/dist/styles/employee-app.css +8 -2
- package/dist/styles/employee-chrome.css +15 -6
- package/dist/styles/execution-board.css +206 -114
- package/dist/styles/execution-result.css +2 -2
- package/dist/styles/field.css +187 -4
- package/dist/styles/file-tree.css +218 -40
- package/dist/styles/first-run-setup.css +914 -187
- package/dist/styles/github-motion-mark.css +0 -8
- package/dist/styles/index.css +145 -132
- package/dist/styles/inline-citation.css +5 -4
- package/dist/styles/list-detail.css +57 -0
- package/dist/styles/manager-office.css +6 -8
- package/dist/styles/manager-work.css +4 -2
- package/dist/styles/mcp-plugin-catalog.css +2 -2
- package/dist/styles/mcp-server-picker.css +3 -6
- package/dist/styles/media-preview-card.css +2 -2
- package/dist/styles/menu.css +0 -9
- package/dist/styles/menubar.css +18 -6
- package/dist/styles/message-scroller.css +47 -9
- package/dist/styles/message.css +3 -3
- package/dist/styles/model-selector.css +1 -1
- package/dist/styles/motion-reduction.css +39 -6
- package/dist/styles/pricing-page.css +1 -1
- package/dist/styles/prompt-input.css +29 -29
- package/dist/styles/queue.css +1 -1
- package/dist/styles/recipes.css +212 -28
- package/dist/styles/responsive-sidebar-shell-motion.test.ts +81 -1
- package/dist/styles/responsive-sidebar-shell.css +40 -43
- package/dist/styles/screen-stack.css +123 -0
- package/dist/styles/search-field.css +80 -3
- package/dist/styles/stepper.css +0 -10
- package/dist/styles/streamdown.css +2 -2
- package/dist/styles/subagent-run.css +9 -5
- package/dist/styles/swipe-actions.css +158 -0
- package/dist/styles/tabs.css +80 -23
- package/dist/styles/task.css +7 -1
- package/dist/styles/terminal.css +66 -78
- package/dist/styles/test-results.css +1 -19
- package/dist/styles/textarea.css +2 -1
- package/dist/styles/theme-mode-control.css +154 -26
- package/dist/styles/think-chat-tool-panels.css +1 -1
- package/dist/styles/think-execution-workbench.css +0 -9
- package/dist/styles/think-full-app.css +7 -1
- package/dist/styles/think-schedule.css +81 -54
- package/dist/styles/think-thread-picker.css +28 -37
- package/dist/styles/toast.css +11 -0
- package/dist/styles/toggle-group.css +0 -10
- package/dist/styles/toggle.css +13 -0
- package/dist/styles/tooltip.css +12 -0
- package/dist/styles/transition-surface.css +1 -0
- package/dist/styles/wallpaper-picker.css +224 -0
- package/dist/styles/web-preview.css +47 -18
- package/dist/styles/workspace-automation.css +116 -17
- package/dist/styles/workspace-concepts.css +1 -1
- package/dist/styles/workspace-desktop.css +124 -0
- package/dist/styles/workspace-entity-card.css +3 -1
- package/dist/styles/workspace-explorer.css +499 -5
- package/dist/utils/brand-marks.d.ts +13 -0
- package/dist/utils/brand-marks.js +14 -0
- package/dist/utils/codex-model-catalog.d.ts +1 -1
- package/dist/utils/desktop-artwork.d.ts +17 -0
- package/dist/utils/desktop-artwork.js +18 -0
- package/dist/utils/favicon.d.ts +6 -2
- package/dist/utils/favicon.js +16 -4
- package/dist/utils/model-provider-error.d.ts +17 -0
- package/dist/utils/model-provider-error.js +76 -0
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/workspace-assets-DdtnBDU3.js +213 -0
- package/dist/{workspace-concept-panel-KpMmznB_.d.ts → workspace-concept-panel-BDTBISNO.d.ts} +2 -2
- package/dist/workspace-concept-panel-VkjvFCY_.js +140 -0
- package/dist/workspace-delete-BOY6CMBf.js +183 -0
- package/dist/workspace-drag-B6hMXUNt.js +304 -0
- package/dist/workspace-entity-card-9YcsNiqU.js +178 -0
- package/dist/workspace-media-preview-B4iB5Tvi.js +1295 -0
- package/dist/{workspace-path-L_KmjRjq.js → workspace-path-TZggP-u4.js} +14 -1
- package/dist/{workspace-person-BVkYb3dv.js → workspace-person-ZwPqu5TX.js} +67 -21
- package/dist/workspace-quick-look-9V-UFpjj.js +1562 -0
- package/package.json +9 -3
- package/dist/Avatar-t1YRzdwB.d.ts +0 -101
- package/dist/CodeBlock-CNvOYR0Q.js +0 -318
- package/dist/ExecutionResult-DmC21cll.js +0 -279
- package/dist/FileTree-H31EVRv_.js +0 -323
- package/dist/ManagerOffice-B3X3iZV9.js +0 -1129
- package/dist/SetupChecklist-Wo4akaSG.js +0 -78
- package/dist/ThinkSchedule-CSuDGrZ9.d.ts +0 -34
- package/dist/WorkspaceFileView-BWI_AJlV.js +0 -783
- package/dist/WorkspaceLink-BeFAXpbI.js +0 -225
- package/dist/app-bar-outlet-CNfNzY4Y.js +0 -6
- package/dist/attachment-preview-1CXJvrmb.js +0 -25
- package/dist/chatgpt-sign-in-button-DNchrZHs.js +0 -32
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +0 -31
- package/dist/components/agents-sdk/ModelEndpointDialog.js +0 -141
- package/dist/connected-app-drafts-B9i69bkj.js +0 -283
- package/dist/copy-button-z20VEXRF.js +0 -45
- package/dist/icons-Yp99gmMC.js +0 -141
- package/dist/progress-ring-L2bbF0ji.js +0 -40
- package/dist/provider-logos-DWYY8wNz.js +0 -99
- package/dist/scheduled-table-source-NZR1vFc_.js +0 -38
- package/dist/workspace-assets-Dq5toMQc.js +0 -107
- package/dist/workspace-concept-panel-CxZfmFkP.js +0 -66
- package/dist/workspace-delete-CoB0l6ZU.js +0 -81
- package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { S as DotIcon, p as CheckIcon } from "../../icons-nLTnB9kd.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
|
-
import "react";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import * as React from "react";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
7
|
import { Menu } from "@base-ui/react/menu";
|
|
7
8
|
import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
|
|
@@ -29,169 +30,723 @@ import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
|
|
|
29
30
|
*
|
|
30
31
|
* @see {@link https://base-ui.com/react/components/menubar | Base UI Menubar}
|
|
31
32
|
*/
|
|
32
|
-
function MenubarRoot(
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
function MenubarRoot(t0) {
|
|
34
|
+
const $ = c(27);
|
|
35
|
+
let className;
|
|
36
|
+
let onFocus;
|
|
37
|
+
let onKeyDownCapture;
|
|
38
|
+
let onPointerDownCapture;
|
|
39
|
+
let props;
|
|
40
|
+
let ref;
|
|
41
|
+
let t1;
|
|
42
|
+
if ($[0] !== t0) {
|
|
43
|
+
({className, ref, orientation: t1, onKeyDownCapture, onPointerDownCapture, onFocus, ...props} = t0);
|
|
44
|
+
$[0] = t0;
|
|
45
|
+
$[1] = className;
|
|
46
|
+
$[2] = onFocus;
|
|
47
|
+
$[3] = onKeyDownCapture;
|
|
48
|
+
$[4] = onPointerDownCapture;
|
|
49
|
+
$[5] = props;
|
|
50
|
+
$[6] = ref;
|
|
51
|
+
$[7] = t1;
|
|
52
|
+
} else {
|
|
53
|
+
className = $[1];
|
|
54
|
+
onFocus = $[2];
|
|
55
|
+
onKeyDownCapture = $[3];
|
|
56
|
+
onPointerDownCapture = $[4];
|
|
57
|
+
props = $[5];
|
|
58
|
+
ref = $[6];
|
|
59
|
+
t1 = $[7];
|
|
60
|
+
}
|
|
61
|
+
const orientation = t1 === void 0 ? "horizontal" : t1;
|
|
62
|
+
let t2;
|
|
63
|
+
if ($[8] !== className) {
|
|
64
|
+
t2 = mergeBaseClassName("menubar", className);
|
|
65
|
+
$[8] = className;
|
|
66
|
+
$[9] = t2;
|
|
67
|
+
} else t2 = $[9];
|
|
68
|
+
const classes = t2;
|
|
69
|
+
const crossed = React.useRef(false);
|
|
70
|
+
let t3;
|
|
71
|
+
if ($[10] !== orientation) {
|
|
72
|
+
t3 = orientation === "horizontal" ? ["ArrowLeft", "ArrowRight"] : ["ArrowUp", "ArrowDown"];
|
|
73
|
+
$[10] = orientation;
|
|
74
|
+
$[11] = t3;
|
|
75
|
+
} else t3 = $[11];
|
|
76
|
+
const across = t3;
|
|
77
|
+
let t4;
|
|
78
|
+
if ($[12] !== across || $[13] !== onKeyDownCapture) {
|
|
79
|
+
t4 = (event) => {
|
|
80
|
+
crossed.current = across.includes(event.key);
|
|
81
|
+
onKeyDownCapture?.(event);
|
|
82
|
+
};
|
|
83
|
+
$[12] = across;
|
|
84
|
+
$[13] = onKeyDownCapture;
|
|
85
|
+
$[14] = t4;
|
|
86
|
+
} else t4 = $[14];
|
|
87
|
+
let t5;
|
|
88
|
+
if ($[15] !== onPointerDownCapture) {
|
|
89
|
+
t5 = (event_0) => {
|
|
90
|
+
crossed.current = false;
|
|
91
|
+
onPointerDownCapture?.(event_0);
|
|
92
|
+
};
|
|
93
|
+
$[15] = onPointerDownCapture;
|
|
94
|
+
$[16] = t5;
|
|
95
|
+
} else t5 = $[16];
|
|
96
|
+
let t6;
|
|
97
|
+
if ($[17] !== onFocus) {
|
|
98
|
+
t6 = (event_1) => {
|
|
99
|
+
const target = event_1.target;
|
|
100
|
+
if (crossed.current && target.matches("[data-slot=\"menubar-content\"]")) {
|
|
101
|
+
crossed.current = false;
|
|
102
|
+
target.querySelector("[role^=\"menuitem\"]:not([data-disabled])")?.focus();
|
|
103
|
+
}
|
|
104
|
+
onFocus?.(event_1);
|
|
105
|
+
};
|
|
106
|
+
$[17] = onFocus;
|
|
107
|
+
$[18] = t6;
|
|
108
|
+
} else t6 = $[18];
|
|
109
|
+
let t7;
|
|
110
|
+
if ($[19] !== classes || $[20] !== orientation || $[21] !== props || $[22] !== ref || $[23] !== t4 || $[24] !== t5 || $[25] !== t6) {
|
|
111
|
+
t7 = /* @__PURE__ */ jsx(Menubar$1, {
|
|
112
|
+
ref,
|
|
113
|
+
"data-slot": "menubar",
|
|
114
|
+
className: classes,
|
|
115
|
+
orientation,
|
|
116
|
+
...props,
|
|
117
|
+
onKeyDownCapture: t4,
|
|
118
|
+
onPointerDownCapture: t5,
|
|
119
|
+
onFocus: t6
|
|
120
|
+
});
|
|
121
|
+
$[19] = classes;
|
|
122
|
+
$[20] = orientation;
|
|
123
|
+
$[21] = props;
|
|
124
|
+
$[22] = ref;
|
|
125
|
+
$[23] = t4;
|
|
126
|
+
$[24] = t5;
|
|
127
|
+
$[25] = t6;
|
|
128
|
+
$[26] = t7;
|
|
129
|
+
} else t7 = $[26];
|
|
130
|
+
return t7;
|
|
40
131
|
}
|
|
41
132
|
/**
|
|
42
133
|
* Button that opens the menu.
|
|
43
134
|
*/
|
|
44
|
-
function MenubarTrigger(
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
135
|
+
function MenubarTrigger(t0) {
|
|
136
|
+
const $ = c(13);
|
|
137
|
+
let className;
|
|
138
|
+
let props;
|
|
139
|
+
let ref;
|
|
140
|
+
let t1;
|
|
141
|
+
if ($[0] !== t0) {
|
|
142
|
+
({unstyled: t1, className, ref, ...props} = t0);
|
|
143
|
+
$[0] = t0;
|
|
144
|
+
$[1] = className;
|
|
145
|
+
$[2] = props;
|
|
146
|
+
$[3] = ref;
|
|
147
|
+
$[4] = t1;
|
|
148
|
+
} else {
|
|
149
|
+
className = $[1];
|
|
150
|
+
props = $[2];
|
|
151
|
+
ref = $[3];
|
|
152
|
+
t1 = $[4];
|
|
153
|
+
}
|
|
154
|
+
const unstyled = t1 === void 0 ? false : t1;
|
|
155
|
+
let t2;
|
|
156
|
+
if ($[5] !== className || $[6] !== unstyled) {
|
|
157
|
+
t2 = mergeBaseClassName(unstyled ? "menubar__trigger" : buttonVariants({
|
|
158
|
+
variant: "ghost",
|
|
159
|
+
color: "neutral",
|
|
160
|
+
size: "sm",
|
|
161
|
+
className: "menubar__trigger"
|
|
162
|
+
}), className);
|
|
163
|
+
$[5] = className;
|
|
164
|
+
$[6] = unstyled;
|
|
165
|
+
$[7] = t2;
|
|
166
|
+
} else t2 = $[7];
|
|
167
|
+
const classes = t2;
|
|
168
|
+
const t3 = unstyled ? "" : void 0;
|
|
169
|
+
let t4;
|
|
170
|
+
if ($[8] !== classes || $[9] !== props || $[10] !== ref || $[11] !== t3) {
|
|
171
|
+
t4 = /* @__PURE__ */ jsx(Menu.Trigger, {
|
|
172
|
+
ref,
|
|
173
|
+
"data-slot": "menubar-trigger",
|
|
174
|
+
"data-unstyled": t3,
|
|
175
|
+
className: classes,
|
|
176
|
+
...props
|
|
177
|
+
});
|
|
178
|
+
$[8] = classes;
|
|
179
|
+
$[9] = props;
|
|
180
|
+
$[10] = ref;
|
|
181
|
+
$[11] = t3;
|
|
182
|
+
$[12] = t4;
|
|
183
|
+
} else t4 = $[12];
|
|
184
|
+
return t4;
|
|
58
185
|
}
|
|
59
186
|
/**
|
|
60
187
|
* Positions the menu popup.
|
|
61
188
|
*/
|
|
62
|
-
function MenubarPositioner(
|
|
63
|
-
const
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
...props
|
|
69
|
-
|
|
189
|
+
function MenubarPositioner(t0) {
|
|
190
|
+
const $ = c(10);
|
|
191
|
+
let className;
|
|
192
|
+
let props;
|
|
193
|
+
let ref;
|
|
194
|
+
if ($[0] !== t0) {
|
|
195
|
+
({className, ref, ...props} = t0);
|
|
196
|
+
$[0] = t0;
|
|
197
|
+
$[1] = className;
|
|
198
|
+
$[2] = props;
|
|
199
|
+
$[3] = ref;
|
|
200
|
+
} else {
|
|
201
|
+
className = $[1];
|
|
202
|
+
props = $[2];
|
|
203
|
+
ref = $[3];
|
|
204
|
+
}
|
|
205
|
+
let t1;
|
|
206
|
+
if ($[4] !== className) {
|
|
207
|
+
t1 = mergeBaseClassName("menubar__positioner base-ui-positioner", className);
|
|
208
|
+
$[4] = className;
|
|
209
|
+
$[5] = t1;
|
|
210
|
+
} else t1 = $[5];
|
|
211
|
+
const classes = t1;
|
|
212
|
+
let t2;
|
|
213
|
+
if ($[6] !== classes || $[7] !== props || $[8] !== ref) {
|
|
214
|
+
t2 = /* @__PURE__ */ jsx(Menu.Positioner, {
|
|
215
|
+
ref,
|
|
216
|
+
"data-slot": "menubar-positioner",
|
|
217
|
+
className: classes,
|
|
218
|
+
...props
|
|
219
|
+
});
|
|
220
|
+
$[6] = classes;
|
|
221
|
+
$[7] = props;
|
|
222
|
+
$[8] = ref;
|
|
223
|
+
$[9] = t2;
|
|
224
|
+
} else t2 = $[9];
|
|
225
|
+
return t2;
|
|
70
226
|
}
|
|
71
227
|
/**
|
|
72
228
|
* Container for menu items.
|
|
73
229
|
*/
|
|
74
|
-
function MenubarPopup(
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
230
|
+
function MenubarPopup(t0) {
|
|
231
|
+
const $ = c(14);
|
|
232
|
+
let className;
|
|
233
|
+
let finalFocus;
|
|
234
|
+
let props;
|
|
235
|
+
let ref;
|
|
236
|
+
if ($[0] !== t0) {
|
|
237
|
+
({className, ref, finalFocus, ...props} = t0);
|
|
238
|
+
$[0] = t0;
|
|
239
|
+
$[1] = className;
|
|
240
|
+
$[2] = finalFocus;
|
|
241
|
+
$[3] = props;
|
|
242
|
+
$[4] = ref;
|
|
243
|
+
} else {
|
|
244
|
+
className = $[1];
|
|
245
|
+
finalFocus = $[2];
|
|
246
|
+
props = $[3];
|
|
247
|
+
ref = $[4];
|
|
248
|
+
}
|
|
249
|
+
let t1;
|
|
250
|
+
if ($[5] !== className) {
|
|
251
|
+
t1 = mergeBaseClassName("menubar__popup base-ui-popup", className);
|
|
252
|
+
$[5] = className;
|
|
253
|
+
$[6] = t1;
|
|
254
|
+
} else t1 = $[6];
|
|
255
|
+
const classes = t1;
|
|
256
|
+
let t2;
|
|
257
|
+
if ($[7] !== finalFocus) {
|
|
258
|
+
t2 = typeof finalFocus === "function" ? (closeType) => {
|
|
259
|
+
const target = finalFocus(closeType);
|
|
260
|
+
return target === true && document.activeElement?.closest("[role=\"menubar\"]") ? false : target;
|
|
261
|
+
} : finalFocus;
|
|
262
|
+
$[7] = finalFocus;
|
|
263
|
+
$[8] = t2;
|
|
264
|
+
} else t2 = $[8];
|
|
265
|
+
let t3;
|
|
266
|
+
if ($[9] !== classes || $[10] !== props || $[11] !== ref || $[12] !== t2) {
|
|
267
|
+
t3 = /* @__PURE__ */ jsx(Menu.Popup, {
|
|
268
|
+
ref,
|
|
269
|
+
"data-slot": "menubar-content",
|
|
270
|
+
className: classes,
|
|
271
|
+
finalFocus: t2,
|
|
272
|
+
...props
|
|
273
|
+
});
|
|
274
|
+
$[9] = classes;
|
|
275
|
+
$[10] = props;
|
|
276
|
+
$[11] = ref;
|
|
277
|
+
$[12] = t2;
|
|
278
|
+
$[13] = t3;
|
|
279
|
+
} else t3 = $[13];
|
|
280
|
+
return t3;
|
|
82
281
|
}
|
|
83
282
|
/**
|
|
84
283
|
* Interactive menu item.
|
|
85
284
|
*/
|
|
86
|
-
function MenubarItem(
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
...props
|
|
95
|
-
|
|
285
|
+
function MenubarItem(t0) {
|
|
286
|
+
const $ = c(15);
|
|
287
|
+
let className;
|
|
288
|
+
let inset;
|
|
289
|
+
let props;
|
|
290
|
+
let ref;
|
|
291
|
+
let t1;
|
|
292
|
+
if ($[0] !== t0) {
|
|
293
|
+
({className, inset, variant: t1, ref, ...props} = t0);
|
|
294
|
+
$[0] = t0;
|
|
295
|
+
$[1] = className;
|
|
296
|
+
$[2] = inset;
|
|
297
|
+
$[3] = props;
|
|
298
|
+
$[4] = ref;
|
|
299
|
+
$[5] = t1;
|
|
300
|
+
} else {
|
|
301
|
+
className = $[1];
|
|
302
|
+
inset = $[2];
|
|
303
|
+
props = $[3];
|
|
304
|
+
ref = $[4];
|
|
305
|
+
t1 = $[5];
|
|
306
|
+
}
|
|
307
|
+
const variant = t1 === void 0 ? "default" : t1;
|
|
308
|
+
let t2;
|
|
309
|
+
if ($[6] !== className || $[7] !== inset) {
|
|
310
|
+
t2 = mergeBaseClassName(cx("menubar__item", inset && "menubar__item--inset"), className);
|
|
311
|
+
$[6] = className;
|
|
312
|
+
$[7] = inset;
|
|
313
|
+
$[8] = t2;
|
|
314
|
+
} else t2 = $[8];
|
|
315
|
+
const classes = t2;
|
|
316
|
+
const t3 = inset || void 0;
|
|
317
|
+
let t4;
|
|
318
|
+
if ($[9] !== classes || $[10] !== props || $[11] !== ref || $[12] !== t3 || $[13] !== variant) {
|
|
319
|
+
t4 = /* @__PURE__ */ jsx(Menu.Item, {
|
|
320
|
+
ref,
|
|
321
|
+
"data-slot": "menubar-item",
|
|
322
|
+
"data-inset": t3,
|
|
323
|
+
"data-variant": variant,
|
|
324
|
+
className: classes,
|
|
325
|
+
...props
|
|
326
|
+
});
|
|
327
|
+
$[9] = classes;
|
|
328
|
+
$[10] = props;
|
|
329
|
+
$[11] = ref;
|
|
330
|
+
$[12] = t3;
|
|
331
|
+
$[13] = variant;
|
|
332
|
+
$[14] = t4;
|
|
333
|
+
} else t4 = $[14];
|
|
334
|
+
return t4;
|
|
96
335
|
}
|
|
97
336
|
/**
|
|
98
337
|
* Visual separator between menu sections.
|
|
99
338
|
*/
|
|
100
|
-
function MenubarSeparator(
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
...props
|
|
107
|
-
|
|
339
|
+
function MenubarSeparator(t0) {
|
|
340
|
+
const $ = c(10);
|
|
341
|
+
let className;
|
|
342
|
+
let props;
|
|
343
|
+
let ref;
|
|
344
|
+
if ($[0] !== t0) {
|
|
345
|
+
({className, ref, ...props} = t0);
|
|
346
|
+
$[0] = t0;
|
|
347
|
+
$[1] = className;
|
|
348
|
+
$[2] = props;
|
|
349
|
+
$[3] = ref;
|
|
350
|
+
} else {
|
|
351
|
+
className = $[1];
|
|
352
|
+
props = $[2];
|
|
353
|
+
ref = $[3];
|
|
354
|
+
}
|
|
355
|
+
let t1;
|
|
356
|
+
if ($[4] !== className) {
|
|
357
|
+
t1 = mergeBaseClassName("menubar__separator", className);
|
|
358
|
+
$[4] = className;
|
|
359
|
+
$[5] = t1;
|
|
360
|
+
} else t1 = $[5];
|
|
361
|
+
const classes = t1;
|
|
362
|
+
let t2;
|
|
363
|
+
if ($[6] !== classes || $[7] !== props || $[8] !== ref) {
|
|
364
|
+
t2 = /* @__PURE__ */ jsx(Menu.Separator, {
|
|
365
|
+
ref,
|
|
366
|
+
"data-slot": "menubar-separator",
|
|
367
|
+
className: classes,
|
|
368
|
+
...props
|
|
369
|
+
});
|
|
370
|
+
$[6] = classes;
|
|
371
|
+
$[7] = props;
|
|
372
|
+
$[8] = ref;
|
|
373
|
+
$[9] = t2;
|
|
374
|
+
} else t2 = $[9];
|
|
375
|
+
return t2;
|
|
108
376
|
}
|
|
109
377
|
/**
|
|
110
378
|
* Groups related menu items.
|
|
111
379
|
*/
|
|
112
|
-
function MenubarGroup(
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
...props
|
|
119
|
-
|
|
380
|
+
function MenubarGroup(t0) {
|
|
381
|
+
const $ = c(10);
|
|
382
|
+
let className;
|
|
383
|
+
let props;
|
|
384
|
+
let ref;
|
|
385
|
+
if ($[0] !== t0) {
|
|
386
|
+
({className, ref, ...props} = t0);
|
|
387
|
+
$[0] = t0;
|
|
388
|
+
$[1] = className;
|
|
389
|
+
$[2] = props;
|
|
390
|
+
$[3] = ref;
|
|
391
|
+
} else {
|
|
392
|
+
className = $[1];
|
|
393
|
+
props = $[2];
|
|
394
|
+
ref = $[3];
|
|
395
|
+
}
|
|
396
|
+
let t1;
|
|
397
|
+
if ($[4] !== className) {
|
|
398
|
+
t1 = mergeBaseClassName("menubar__group", className);
|
|
399
|
+
$[4] = className;
|
|
400
|
+
$[5] = t1;
|
|
401
|
+
} else t1 = $[5];
|
|
402
|
+
const classes = t1;
|
|
403
|
+
let t2;
|
|
404
|
+
if ($[6] !== classes || $[7] !== props || $[8] !== ref) {
|
|
405
|
+
t2 = /* @__PURE__ */ jsx(Menu.Group, {
|
|
406
|
+
ref,
|
|
407
|
+
"data-slot": "menubar-group",
|
|
408
|
+
className: classes,
|
|
409
|
+
...props
|
|
410
|
+
});
|
|
411
|
+
$[6] = classes;
|
|
412
|
+
$[7] = props;
|
|
413
|
+
$[8] = ref;
|
|
414
|
+
$[9] = t2;
|
|
415
|
+
} else t2 = $[9];
|
|
416
|
+
return t2;
|
|
120
417
|
}
|
|
121
418
|
/**
|
|
122
419
|
* Label for a menu item group.
|
|
123
420
|
*/
|
|
124
|
-
function MenubarGroupLabel(
|
|
125
|
-
const
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
...props
|
|
132
|
-
|
|
421
|
+
function MenubarGroupLabel(t0) {
|
|
422
|
+
const $ = c(13);
|
|
423
|
+
let className;
|
|
424
|
+
let inset;
|
|
425
|
+
let props;
|
|
426
|
+
let ref;
|
|
427
|
+
if ($[0] !== t0) {
|
|
428
|
+
({className, inset, ref, ...props} = t0);
|
|
429
|
+
$[0] = t0;
|
|
430
|
+
$[1] = className;
|
|
431
|
+
$[2] = inset;
|
|
432
|
+
$[3] = props;
|
|
433
|
+
$[4] = ref;
|
|
434
|
+
} else {
|
|
435
|
+
className = $[1];
|
|
436
|
+
inset = $[2];
|
|
437
|
+
props = $[3];
|
|
438
|
+
ref = $[4];
|
|
439
|
+
}
|
|
440
|
+
let t1;
|
|
441
|
+
if ($[5] !== className || $[6] !== inset) {
|
|
442
|
+
t1 = mergeBaseClassName(cx("menubar__group-label", inset && "menubar__group-label--inset"), className);
|
|
443
|
+
$[5] = className;
|
|
444
|
+
$[6] = inset;
|
|
445
|
+
$[7] = t1;
|
|
446
|
+
} else t1 = $[7];
|
|
447
|
+
const classes = t1;
|
|
448
|
+
const t2 = inset || void 0;
|
|
449
|
+
let t3;
|
|
450
|
+
if ($[8] !== classes || $[9] !== props || $[10] !== ref || $[11] !== t2) {
|
|
451
|
+
t3 = /* @__PURE__ */ jsx(Menu.GroupLabel, {
|
|
452
|
+
ref,
|
|
453
|
+
"data-slot": "menubar-label",
|
|
454
|
+
"data-inset": t2,
|
|
455
|
+
className: classes,
|
|
456
|
+
...props
|
|
457
|
+
});
|
|
458
|
+
$[8] = classes;
|
|
459
|
+
$[9] = props;
|
|
460
|
+
$[10] = ref;
|
|
461
|
+
$[11] = t2;
|
|
462
|
+
$[12] = t3;
|
|
463
|
+
} else t3 = $[12];
|
|
464
|
+
return t3;
|
|
133
465
|
}
|
|
134
|
-
function MenubarCheckboxItem(
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
...props
|
|
141
|
-
|
|
466
|
+
function MenubarCheckboxItem(t0) {
|
|
467
|
+
const $ = c(10);
|
|
468
|
+
let className;
|
|
469
|
+
let props;
|
|
470
|
+
let ref;
|
|
471
|
+
if ($[0] !== t0) {
|
|
472
|
+
({className, ref, ...props} = t0);
|
|
473
|
+
$[0] = t0;
|
|
474
|
+
$[1] = className;
|
|
475
|
+
$[2] = props;
|
|
476
|
+
$[3] = ref;
|
|
477
|
+
} else {
|
|
478
|
+
className = $[1];
|
|
479
|
+
props = $[2];
|
|
480
|
+
ref = $[3];
|
|
481
|
+
}
|
|
482
|
+
let t1;
|
|
483
|
+
if ($[4] !== className) {
|
|
484
|
+
t1 = mergeBaseClassName("menubar__checkbox-item", className);
|
|
485
|
+
$[4] = className;
|
|
486
|
+
$[5] = t1;
|
|
487
|
+
} else t1 = $[5];
|
|
488
|
+
const classes = t1;
|
|
489
|
+
let t2;
|
|
490
|
+
if ($[6] !== classes || $[7] !== props || $[8] !== ref) {
|
|
491
|
+
t2 = /* @__PURE__ */ jsx(Menu.CheckboxItem, {
|
|
492
|
+
ref,
|
|
493
|
+
"data-slot": "menubar-checkbox-item",
|
|
494
|
+
className: classes,
|
|
495
|
+
...props
|
|
496
|
+
});
|
|
497
|
+
$[6] = classes;
|
|
498
|
+
$[7] = props;
|
|
499
|
+
$[8] = ref;
|
|
500
|
+
$[9] = t2;
|
|
501
|
+
} else t2 = $[9];
|
|
502
|
+
return t2;
|
|
142
503
|
}
|
|
143
|
-
function MenubarCheckboxItemIndicator(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
504
|
+
function MenubarCheckboxItemIndicator(t0) {
|
|
505
|
+
const $ = c(12);
|
|
506
|
+
let children;
|
|
507
|
+
let className;
|
|
508
|
+
let props;
|
|
509
|
+
if ($[0] !== t0) {
|
|
510
|
+
({children, className, ...props} = t0);
|
|
511
|
+
$[0] = t0;
|
|
512
|
+
$[1] = children;
|
|
513
|
+
$[2] = className;
|
|
514
|
+
$[3] = props;
|
|
515
|
+
} else {
|
|
516
|
+
children = $[1];
|
|
517
|
+
className = $[2];
|
|
518
|
+
props = $[3];
|
|
519
|
+
}
|
|
520
|
+
let t1;
|
|
521
|
+
if ($[4] !== className) {
|
|
522
|
+
t1 = mergeBaseClassName("menubar__indicator", className);
|
|
523
|
+
$[4] = className;
|
|
524
|
+
$[5] = t1;
|
|
525
|
+
} else t1 = $[5];
|
|
526
|
+
let t2;
|
|
527
|
+
if ($[6] !== children) {
|
|
528
|
+
t2 = children ?? /* @__PURE__ */ jsx(CheckIcon, {});
|
|
529
|
+
$[6] = children;
|
|
530
|
+
$[7] = t2;
|
|
531
|
+
} else t2 = $[7];
|
|
532
|
+
let t3;
|
|
533
|
+
if ($[8] !== props || $[9] !== t1 || $[10] !== t2) {
|
|
534
|
+
t3 = /* @__PURE__ */ jsx(Menu.CheckboxItemIndicator, {
|
|
535
|
+
keepMounted: true,
|
|
536
|
+
className: t1,
|
|
537
|
+
"data-slot": "menubar-item-indicator",
|
|
538
|
+
...props,
|
|
539
|
+
children: t2
|
|
540
|
+
});
|
|
541
|
+
$[8] = props;
|
|
542
|
+
$[9] = t1;
|
|
543
|
+
$[10] = t2;
|
|
544
|
+
$[11] = t3;
|
|
545
|
+
} else t3 = $[11];
|
|
546
|
+
return t3;
|
|
150
547
|
}
|
|
151
|
-
function MenubarRadioGroup(
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
...props
|
|
158
|
-
|
|
548
|
+
function MenubarRadioGroup(t0) {
|
|
549
|
+
const $ = c(10);
|
|
550
|
+
let className;
|
|
551
|
+
let props;
|
|
552
|
+
let ref;
|
|
553
|
+
if ($[0] !== t0) {
|
|
554
|
+
({className, ref, ...props} = t0);
|
|
555
|
+
$[0] = t0;
|
|
556
|
+
$[1] = className;
|
|
557
|
+
$[2] = props;
|
|
558
|
+
$[3] = ref;
|
|
559
|
+
} else {
|
|
560
|
+
className = $[1];
|
|
561
|
+
props = $[2];
|
|
562
|
+
ref = $[3];
|
|
563
|
+
}
|
|
564
|
+
let t1;
|
|
565
|
+
if ($[4] !== className) {
|
|
566
|
+
t1 = mergeBaseClassName("menubar__radio-group", className);
|
|
567
|
+
$[4] = className;
|
|
568
|
+
$[5] = t1;
|
|
569
|
+
} else t1 = $[5];
|
|
570
|
+
const classes = t1;
|
|
571
|
+
let t2;
|
|
572
|
+
if ($[6] !== classes || $[7] !== props || $[8] !== ref) {
|
|
573
|
+
t2 = /* @__PURE__ */ jsx(Menu.RadioGroup, {
|
|
574
|
+
ref,
|
|
575
|
+
"data-slot": "menubar-radio-group",
|
|
576
|
+
className: classes,
|
|
577
|
+
...props
|
|
578
|
+
});
|
|
579
|
+
$[6] = classes;
|
|
580
|
+
$[7] = props;
|
|
581
|
+
$[8] = ref;
|
|
582
|
+
$[9] = t2;
|
|
583
|
+
} else t2 = $[9];
|
|
584
|
+
return t2;
|
|
159
585
|
}
|
|
160
|
-
function MenubarRadioItem(
|
|
161
|
-
const
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
...props
|
|
167
|
-
|
|
586
|
+
function MenubarRadioItem(t0) {
|
|
587
|
+
const $ = c(10);
|
|
588
|
+
let className;
|
|
589
|
+
let props;
|
|
590
|
+
let ref;
|
|
591
|
+
if ($[0] !== t0) {
|
|
592
|
+
({className, ref, ...props} = t0);
|
|
593
|
+
$[0] = t0;
|
|
594
|
+
$[1] = className;
|
|
595
|
+
$[2] = props;
|
|
596
|
+
$[3] = ref;
|
|
597
|
+
} else {
|
|
598
|
+
className = $[1];
|
|
599
|
+
props = $[2];
|
|
600
|
+
ref = $[3];
|
|
601
|
+
}
|
|
602
|
+
let t1;
|
|
603
|
+
if ($[4] !== className) {
|
|
604
|
+
t1 = mergeBaseClassName("menubar__radio-item", className);
|
|
605
|
+
$[4] = className;
|
|
606
|
+
$[5] = t1;
|
|
607
|
+
} else t1 = $[5];
|
|
608
|
+
const classes = t1;
|
|
609
|
+
let t2;
|
|
610
|
+
if ($[6] !== classes || $[7] !== props || $[8] !== ref) {
|
|
611
|
+
t2 = /* @__PURE__ */ jsx(Menu.RadioItem, {
|
|
612
|
+
ref,
|
|
613
|
+
"data-slot": "menubar-radio-item",
|
|
614
|
+
className: classes,
|
|
615
|
+
...props
|
|
616
|
+
});
|
|
617
|
+
$[6] = classes;
|
|
618
|
+
$[7] = props;
|
|
619
|
+
$[8] = ref;
|
|
620
|
+
$[9] = t2;
|
|
621
|
+
} else t2 = $[9];
|
|
622
|
+
return t2;
|
|
168
623
|
}
|
|
169
|
-
function MenubarRadioItemIndicator(
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
624
|
+
function MenubarRadioItemIndicator(t0) {
|
|
625
|
+
const $ = c(12);
|
|
626
|
+
let children;
|
|
627
|
+
let className;
|
|
628
|
+
let props;
|
|
629
|
+
if ($[0] !== t0) {
|
|
630
|
+
({children, className, ...props} = t0);
|
|
631
|
+
$[0] = t0;
|
|
632
|
+
$[1] = children;
|
|
633
|
+
$[2] = className;
|
|
634
|
+
$[3] = props;
|
|
635
|
+
} else {
|
|
636
|
+
children = $[1];
|
|
637
|
+
className = $[2];
|
|
638
|
+
props = $[3];
|
|
639
|
+
}
|
|
640
|
+
let t1;
|
|
641
|
+
if ($[4] !== className) {
|
|
642
|
+
t1 = mergeBaseClassName("menubar__indicator", className);
|
|
643
|
+
$[4] = className;
|
|
644
|
+
$[5] = t1;
|
|
645
|
+
} else t1 = $[5];
|
|
646
|
+
let t2;
|
|
647
|
+
if ($[6] !== children) {
|
|
648
|
+
t2 = children ?? /* @__PURE__ */ jsx(DotIcon, { size: 8 });
|
|
649
|
+
$[6] = children;
|
|
650
|
+
$[7] = t2;
|
|
651
|
+
} else t2 = $[7];
|
|
652
|
+
let t3;
|
|
653
|
+
if ($[8] !== props || $[9] !== t1 || $[10] !== t2) {
|
|
654
|
+
t3 = /* @__PURE__ */ jsx(Menu.RadioItemIndicator, {
|
|
655
|
+
keepMounted: true,
|
|
656
|
+
className: t1,
|
|
657
|
+
"data-slot": "menubar-item-indicator",
|
|
658
|
+
...props,
|
|
659
|
+
children: t2
|
|
660
|
+
});
|
|
661
|
+
$[8] = props;
|
|
662
|
+
$[9] = t1;
|
|
663
|
+
$[10] = t2;
|
|
664
|
+
$[11] = t3;
|
|
665
|
+
} else t3 = $[11];
|
|
666
|
+
return t3;
|
|
176
667
|
}
|
|
177
|
-
function MenubarShortcut(
|
|
178
|
-
const
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
...props
|
|
184
|
-
|
|
668
|
+
function MenubarShortcut(t0) {
|
|
669
|
+
const $ = c(10);
|
|
670
|
+
let className;
|
|
671
|
+
let props;
|
|
672
|
+
let ref;
|
|
673
|
+
if ($[0] !== t0) {
|
|
674
|
+
({className, ref, ...props} = t0);
|
|
675
|
+
$[0] = t0;
|
|
676
|
+
$[1] = className;
|
|
677
|
+
$[2] = props;
|
|
678
|
+
$[3] = ref;
|
|
679
|
+
} else {
|
|
680
|
+
className = $[1];
|
|
681
|
+
props = $[2];
|
|
682
|
+
ref = $[3];
|
|
683
|
+
}
|
|
684
|
+
let t1;
|
|
685
|
+
if ($[4] !== className) {
|
|
686
|
+
t1 = mergeBaseClassName("menubar__shortcut", className);
|
|
687
|
+
$[4] = className;
|
|
688
|
+
$[5] = t1;
|
|
689
|
+
} else t1 = $[5];
|
|
690
|
+
const classes = t1;
|
|
691
|
+
let t2;
|
|
692
|
+
if ($[6] !== classes || $[7] !== props || $[8] !== ref) {
|
|
693
|
+
t2 = /* @__PURE__ */ jsx("span", {
|
|
694
|
+
ref,
|
|
695
|
+
"data-slot": "menubar-shortcut",
|
|
696
|
+
className: classes,
|
|
697
|
+
...props
|
|
698
|
+
});
|
|
699
|
+
$[6] = classes;
|
|
700
|
+
$[7] = props;
|
|
701
|
+
$[8] = ref;
|
|
702
|
+
$[9] = t2;
|
|
703
|
+
} else t2 = $[9];
|
|
704
|
+
return t2;
|
|
185
705
|
}
|
|
186
|
-
function MenubarSubmenuTrigger(
|
|
187
|
-
const
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
...props
|
|
194
|
-
|
|
706
|
+
function MenubarSubmenuTrigger(t0) {
|
|
707
|
+
const $ = c(13);
|
|
708
|
+
let className;
|
|
709
|
+
let inset;
|
|
710
|
+
let props;
|
|
711
|
+
let ref;
|
|
712
|
+
if ($[0] !== t0) {
|
|
713
|
+
({className, inset, ref, ...props} = t0);
|
|
714
|
+
$[0] = t0;
|
|
715
|
+
$[1] = className;
|
|
716
|
+
$[2] = inset;
|
|
717
|
+
$[3] = props;
|
|
718
|
+
$[4] = ref;
|
|
719
|
+
} else {
|
|
720
|
+
className = $[1];
|
|
721
|
+
inset = $[2];
|
|
722
|
+
props = $[3];
|
|
723
|
+
ref = $[4];
|
|
724
|
+
}
|
|
725
|
+
let t1;
|
|
726
|
+
if ($[5] !== className || $[6] !== inset) {
|
|
727
|
+
t1 = mergeBaseClassName(cx("menubar__submenu-trigger", inset && "menubar__item--inset"), className);
|
|
728
|
+
$[5] = className;
|
|
729
|
+
$[6] = inset;
|
|
730
|
+
$[7] = t1;
|
|
731
|
+
} else t1 = $[7];
|
|
732
|
+
const classes = t1;
|
|
733
|
+
const t2 = inset || void 0;
|
|
734
|
+
let t3;
|
|
735
|
+
if ($[8] !== classes || $[9] !== props || $[10] !== ref || $[11] !== t2) {
|
|
736
|
+
t3 = /* @__PURE__ */ jsx(Menu.SubmenuTrigger, {
|
|
737
|
+
ref,
|
|
738
|
+
"data-slot": "menubar-sub-trigger",
|
|
739
|
+
"data-inset": t2,
|
|
740
|
+
className: classes,
|
|
741
|
+
...props
|
|
742
|
+
});
|
|
743
|
+
$[8] = classes;
|
|
744
|
+
$[9] = props;
|
|
745
|
+
$[10] = ref;
|
|
746
|
+
$[11] = t2;
|
|
747
|
+
$[12] = t3;
|
|
748
|
+
} else t3 = $[12];
|
|
749
|
+
return t3;
|
|
195
750
|
}
|
|
196
751
|
/**
|
|
197
752
|
* A horizontal menu bar component typically used for application menus.
|