@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
|
@@ -0,0 +1,1764 @@
|
|
|
1
|
+
.agent-computer {
|
|
2
|
+
/*
|
|
3
|
+
* iOS geometry, consumed by `agent-computer-phone.css` and by the Home
|
|
4
|
+
* content the story composes inside it. Declared here because a container
|
|
5
|
+
* cannot query itself.
|
|
6
|
+
*
|
|
7
|
+
* Re-measured off references/apple-ui/images/ios-widgets.png at the scale
|
|
8
|
+
* that makes it a 390pt phone: its screen runs x 21.5..466.5 and
|
|
9
|
+
* y 24.5..981, so 445x956.5px for 392x842.7pt at 1.135 px/pt — the same
|
|
10
|
+
* screen this shell is composed at, one point per pixel. Everything below
|
|
11
|
+
* is that image divided by 1.135:
|
|
12
|
+
*
|
|
13
|
+
* tile 63.4 on a 90.7 column pitch, 28.2 page margin, 98.4 row pitch
|
|
14
|
+
* widgets 23.8 from the screen edge, medium 4x2 344.5x162.6, small 162
|
|
15
|
+
* widget corner 28 (a circular arc fits the sampled insets at r=32px)
|
|
16
|
+
* widget label band 35, first widget top 74 from the screen top
|
|
17
|
+
* Dock plate 367.8x108.4, 12.3 in from each edge, 12.8 up from the bottom
|
|
18
|
+
*
|
|
19
|
+
* The tile is the illustration's 63.4 rather than Apple's published 60: the
|
|
20
|
+
* Home tile and the Dock tile both measure 72px across on that shot (green
|
|
21
|
+
* FaceTime x 54..125 at y 575, green Phone x 61..133 at y 910), and the tile
|
|
22
|
+
* is what the whole lattice is built on. Re-measured with it, the Dock plate
|
|
23
|
+
* runs from its lit rim at y 848 to the glass edge at y 971 — 123px, 108.4pt,
|
|
24
|
+
* not the 100.4 first recorded — leaving 22.5pt of plate padding around the
|
|
25
|
+
* tile and 13.2pt of wallpaper under it. 64px lands the tile 0.6pt over
|
|
26
|
+
* Apple's and keeps the four columns on a 90.8 pitch against the measured
|
|
27
|
+
* 90.7.
|
|
28
|
+
*/
|
|
29
|
+
--computer-app-tile: 4rem; /* 63.4pt Home and Dock icon, ref 72px / 1.135 */
|
|
30
|
+
/* One Home cell: a 63.4pt tile and the 34pt band that carries its label.
|
|
31
|
+
Every Home row is this tall — widgets span two of them — so a row never
|
|
32
|
+
moves when the thing sitting in it changes. */
|
|
33
|
+
--computer-home-row: 6.125rem; /* 98pt row pitch */
|
|
34
|
+
/* The band iOS fills with the status bar. We draw nothing in it: no clock,
|
|
35
|
+
no signal, no battery. Reserving it is what puts the Home lattice on
|
|
36
|
+
Apple's own coordinates, and a host that reports a larger inset wins. */
|
|
37
|
+
--computer-status-band: 3.6875rem; /* 59pt top safe area */
|
|
38
|
+
/* Where row 0 of the lattice starts: Apple's grid sits 15pt under that
|
|
39
|
+
band, 74pt from the top of the screen. */
|
|
40
|
+
--computer-home-inset: calc(
|
|
41
|
+
max(env(safe-area-inset-top, 0px), var(--computer-status-band)) + var(--sigvelo-spacing-4)
|
|
42
|
+
);
|
|
43
|
+
--computer-widget-inset: var(--sigvelo-spacing-6); /* 24pt page margin, ref 23.8 */
|
|
44
|
+
--computer-widget-height: 10rem; /* 160pt medium 4x2, ref 162.6 */
|
|
45
|
+
--computer-widget-padding: var(--sigvelo-spacing-4);
|
|
46
|
+
/* 28pt of corner depth. The radius scale is the factor that turns a
|
|
47
|
+
circular depth into the continuous-curve radius that draws it, so this
|
|
48
|
+
lands on the measured corner under either corner shape. */
|
|
49
|
+
--computer-widget-radius: calc(
|
|
50
|
+
(var(--sigvelo-radius-3xl-base) + var(--sigvelo-spacing-1)) * var(--sigvelo-radius-scale)
|
|
51
|
+
);
|
|
52
|
+
--computer-nav-height: var(--sigvelo-spacing-11); /* 44pt navigation bar and its controls */
|
|
53
|
+
--computer-home-band: 2.125rem; /* 34pt home-indicator band */
|
|
54
|
+
/* The Dock plate: 12pt in from every screen edge, 22pt of padding around
|
|
55
|
+
its 63.4pt tiles for the 108pt height the reference measures, and a
|
|
56
|
+
34pt corner. That corner is a true arc: sampled down the plate's
|
|
57
|
+
top-left curve the insets fit a circle at r=38px (2.5px in from the top
|
|
58
|
+
edge the plate is already 20.5px clear of its left edge) and no
|
|
59
|
+
superellipse comes near them. */
|
|
60
|
+
--computer-dock-inset: var(--sigvelo-spacing-3);
|
|
61
|
+
/* 22pt: half of the 44pt step, which is the only way to name it on a grid
|
|
62
|
+
with no 22 of its own. */
|
|
63
|
+
--computer-dock-padding: calc(var(--sigvelo-spacing-11) / 2); /* 22pt, ref 22.5 */
|
|
64
|
+
--computer-dock-radius: calc(var(--sigvelo-radius-3xl-base) + var(--sigvelo-spacing-2-5));
|
|
65
|
+
/* The specular rim along the plate's top edge, which is what holds it off
|
|
66
|
+
the wallpaper in place of a shadow. Sampled at 30% white over the
|
|
67
|
+
wallpaper it covers, in both appearances: a highlight on glass is light
|
|
68
|
+
whatever the picture behind it is doing. */
|
|
69
|
+
--computer-dock-edge: color-mix(in oklab, transparent, white 30%);
|
|
70
|
+
/*
|
|
71
|
+
* iOS's three system planes, named here because a container cannot query
|
|
72
|
+
* itself and because an app inside the shell has to be able to read the one
|
|
73
|
+
* it is painting on.
|
|
74
|
+
*
|
|
75
|
+
* nav: the ground a page of inset cards sits on, which is what iOS puts
|
|
76
|
+
* behind a navigation bar, a grouped page and the home indicator's band
|
|
77
|
+
* alike. An app paints its own content over the middle of that; an app that
|
|
78
|
+
* wants a different bar paints its own and marks it `data-nav-bar`, and one
|
|
79
|
+
* that paints a plain page rather than a page of cards marks it
|
|
80
|
+
* `data-plane="page"` so its own plane reaches the screen's bottom edge. A
|
|
81
|
+
* host with one picture of its own for the whole screen sets these on the
|
|
82
|
+
* shell.
|
|
83
|
+
* card: the grouped card that rises from the nav plane.
|
|
84
|
+
* page: a plain content view — Messages' conversation, Calendar's list.
|
|
85
|
+
*
|
|
86
|
+
* All three resolve to the tokens on both sides of the breakpoint. iOS's own
|
|
87
|
+
* dark grouped set — #000 behind, #1C1C1E on the card — would be a second
|
|
88
|
+
* palette beside the token layer, and the same surfaces carry a Mac window, an
|
|
89
|
+
* extension side panel and a manager's rail, none of which is an iOS grouped
|
|
90
|
+
* page.
|
|
91
|
+
*/
|
|
92
|
+
--computer-nav-plane: var(--sigvelo-color-surface-under);
|
|
93
|
+
--computer-card-plane: var(--sigvelo-color-surface-raised);
|
|
94
|
+
--computer-page-plane: var(--sigvelo-color-surface);
|
|
95
|
+
/* How a grouped card lifts off the nav plane. On a Mac that is the shared
|
|
96
|
+
raised stack, hairline ring included. On a phone it is the ambient layer
|
|
97
|
+
alone: Apple's grouped cards separate by the plane change and draw no
|
|
98
|
+
ring, and the ring in the shared stack is a 0.5px black at 5% that reads
|
|
99
|
+
as an outline against #F2F2F7. */
|
|
100
|
+
--computer-card-elevation: var(--sigvelo-elevation-raised);
|
|
101
|
+
|
|
102
|
+
/*
|
|
103
|
+
* Ink for the text the shell paints straight onto the wallpaper — the menu
|
|
104
|
+
* bar, desktop icon labels, Home's app and widget labels. Apple sets all of
|
|
105
|
+
* it white with a soft dark shadow, in both appearances, because a
|
|
106
|
+
* wallpaper is a picture rather than a surface and does not change with the
|
|
107
|
+
* appearance; the default composition below carries white ink while
|
|
108
|
+
* retaining the primary ramp's colour. Consumers outside the wallpaper (WorkspaceDesktop
|
|
109
|
+
* on a plain page) read these through a fallback and keep theme text.
|
|
110
|
+
*/
|
|
111
|
+
--sigvelo-recipe-wallpaper-ink: #fff;
|
|
112
|
+
--sigvelo-recipe-wallpaper-ink-shadow: 0 1px 2px
|
|
113
|
+
color-mix(in oklab, var(--sigvelo-color-shadow), transparent 45%);
|
|
114
|
+
/* The traffic-light run: three 12px lights inside 24px targets, the leading
|
|
115
|
+
artwork 14px from the window edge. An app painting its own toolbar in the
|
|
116
|
+
title bar reads this to leave the lights their room. */
|
|
117
|
+
--computer-window-lights-run: calc(var(--sigvelo-spacing-2) + 3 * var(--sigvelo-spacing-6));
|
|
118
|
+
/* What a bar that centres a title reserves past its trailing edge so the
|
|
119
|
+
title lands on the window's own centre rather than on the space left
|
|
120
|
+
beside the lights. A bar the app paints instead of a title — a tab strip,
|
|
121
|
+
Finder's unified toolbar — is the width of the window and reserves
|
|
122
|
+
nothing, so it reads this as zero. */
|
|
123
|
+
--computer-window-title-trail: 0px;
|
|
124
|
+
|
|
125
|
+
/*
|
|
126
|
+
* A window's chrome sits one step off the plane it titles, and which way
|
|
127
|
+
* that step goes is the appearance's, not the token's: macOS darkens a bar
|
|
128
|
+
* against a white content plane and lightens it against a dark one. So the
|
|
129
|
+
* bar is not a fill of its own but a quiet layer over the window's own
|
|
130
|
+
* plane — 5 % of black in light, 8 % of white in dark — which lands on
|
|
131
|
+
* #F2F2F2 over white against Apple's measured #F9F9F8 Finder toolbar, and
|
|
132
|
+
* on #393939 over the dark plane's #282828, where a fixed recessed token
|
|
133
|
+
* dropped to #171717 and read as a hole. Bars that host controls are stacked
|
|
134
|
+
* above their content in their own grid row, so the layer never has content
|
|
135
|
+
* scrolling under it.
|
|
136
|
+
*
|
|
137
|
+
* Nothing standing on the bar takes a plate of its own: a bar item is the
|
|
138
|
+
* ghost control its app already renders, which is how the house's own top
|
|
139
|
+
* bar reads.
|
|
140
|
+
*/
|
|
141
|
+
--sigvelo-recipe-window-bar-plane: var(--sigvelo-color-neutral-bg-subtle);
|
|
142
|
+
|
|
143
|
+
/*
|
|
144
|
+
* How long this shell's own behaviours take. They live here rather than in
|
|
145
|
+
* the token package because they are this surface's, not the library's: a
|
|
146
|
+
* consumer of the tokens has no window to open and no Dock to fly into. The
|
|
147
|
+
* spring easings stay global — a curve is reusable, a window's duration is
|
|
148
|
+
* not. Apple documents none of these; each is an estimate, with its basis,
|
|
149
|
+
* and agent-computer-motion-reduction.css collapses all four under either
|
|
150
|
+
* reduced-motion switch, as the token package does for its own.
|
|
151
|
+
*/
|
|
152
|
+
/* Core Animation's implicit duration and `NSAnimationContext.defaultDuration`
|
|
153
|
+
are both 0.25s, the closest thing to a documented number for a window
|
|
154
|
+
appearing. Close runs at 80% of it. Estimate. */
|
|
155
|
+
--computer-duration-window: 250ms;
|
|
156
|
+
/* Minimize to the Dock and back with the Scale effect (Genie is a mesh warp,
|
|
157
|
+
out of scope), reported as much faster than Genie's ~700ms. Estimate. */
|
|
158
|
+
--computer-duration-minimize: 300ms;
|
|
159
|
+
/* A window zooming to full screen and back. Estimate. */
|
|
160
|
+
--computer-duration-zoom: 400ms;
|
|
161
|
+
/* Discrete tiling settles; pointer movement and resizing stay immediate. */
|
|
162
|
+
--computer-duration-snap: 300ms;
|
|
163
|
+
/* The agent's highlight on a window it opened: in, held, and gone. Opacity
|
|
164
|
+
only, so Reduce Motion keeps it. */
|
|
165
|
+
--computer-duration-attribution: 1200ms;
|
|
166
|
+
/* How long the ⌘Tab switcher waits before it shows. Estimate. */
|
|
167
|
+
--computer-delay-app-switch: 120ms;
|
|
168
|
+
/* The scale a window grows from as it opens and shrinks to as it closes,
|
|
169
|
+
and the pose Mission Control's unpictured windows leave in. */
|
|
170
|
+
--computer-window-away-scale: 0.94;
|
|
171
|
+
/* The lit top edge of the shell's glass plates: the Dock, a tile preview
|
|
172
|
+
and the ⌘Tab switcher. */
|
|
173
|
+
--computer-glass-edge: color-mix(in oklab, transparent, white 22%);
|
|
174
|
+
|
|
175
|
+
container: agent-computer / inline-size;
|
|
176
|
+
/* The overlay portal's box. */
|
|
177
|
+
position: relative;
|
|
178
|
+
font-family: var(--sigvelo-font-ui);
|
|
179
|
+
font-size: var(--sigvelo-text-compact);
|
|
180
|
+
line-height: var(--sigvelo-text-compact-leading);
|
|
181
|
+
}
|
|
182
|
+
/* The overlay portal: a layer over the whole frame that is the containing
|
|
183
|
+
block for the fixed overlays rendered into it, so Quick Look centres on this
|
|
184
|
+
screen and a banner finds this screen's corner. The layer itself takes no
|
|
185
|
+
input; what is portalled into it does. */
|
|
186
|
+
.agent-computer__portal {
|
|
187
|
+
position: absolute;
|
|
188
|
+
inset: 0;
|
|
189
|
+
z-index: var(--sigvelo-z-overlay);
|
|
190
|
+
contain: layout;
|
|
191
|
+
pointer-events: none;
|
|
192
|
+
}
|
|
193
|
+
.agent-computer__portal > * {
|
|
194
|
+
pointer-events: auto;
|
|
195
|
+
}
|
|
196
|
+
/* ---- the wallpaper --------------------------------------------------- */
|
|
197
|
+
/*
|
|
198
|
+
* The desktop is a wallpaper, not a fill: a saturated gradient the transparent
|
|
199
|
+
* menu bar and the Dock's glass have something to be transparent over, and
|
|
200
|
+
* dark enough that everything painted on it is white, as on macOS. Apple ships
|
|
201
|
+
* pictures; ours is original blue/teal artwork measured from Sigvelo's palette.
|
|
202
|
+
* These stops are picture content and stay fixed across UI colour presets and
|
|
203
|
+
* appearances, as the other gallery wallpapers do.
|
|
204
|
+
*
|
|
205
|
+
* The brighter stops retain blue rather than mixing toward white. With the
|
|
206
|
+
* 25% shadow veil the brightest #508eb6 highlight retains
|
|
207
|
+
* 4.85:1 even beneath the menu's 8% white hover fill.
|
|
208
|
+
*
|
|
209
|
+
* The default is shared with wallpaper previews, so a host handing over its own picture
|
|
210
|
+
* sets --sigvelo-recipe-computer-wallpaper on any ancestor and wins.
|
|
211
|
+
*
|
|
212
|
+
* `.app-frame` paints the canvas later in the sheet order, so this needs both
|
|
213
|
+
* classes to win.
|
|
214
|
+
*/
|
|
215
|
+
.agent-computer.app-frame {
|
|
216
|
+
background: var(--sigvelo-recipe-computer-wallpaper);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/* ---- the menu bar ------------------------------------------------------ */
|
|
220
|
+
/*
|
|
221
|
+
* A compact menu bar over the wallpaper. The left
|
|
222
|
+
* cluster is the system glyph, the active app in bold, and the work items as
|
|
223
|
+
* menu titles; the trailing cluster is the status items. macOS centres nothing
|
|
224
|
+
* in this bar.
|
|
225
|
+
*
|
|
226
|
+
* Nothing in the bar sits on a surface, so all of it — the app name, the menu
|
|
227
|
+
* titles, the status items — takes the wallpaper's ink rather than the theme's
|
|
228
|
+
* text colour, which is what macOS does over a dark picture. The ghost
|
|
229
|
+
* buttons read it through their own hook.
|
|
230
|
+
*/
|
|
231
|
+
.agent-computer__bar {
|
|
232
|
+
/* Frame ink, not control geometry: this is the wallpaper's colour reaching
|
|
233
|
+
the menu titles standing on it. */
|
|
234
|
+
--sigvelo-recipe-button-ghost-color: var(--sigvelo-recipe-wallpaper-ink);
|
|
235
|
+
|
|
236
|
+
/* Placed for the same reason as the Dock: the body spans this cell too. */
|
|
237
|
+
grid-area: 1 / 1;
|
|
238
|
+
min-inline-size: 0;
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
min-block-size: var(--sigvelo-spacing-6);
|
|
242
|
+
padding: 0 var(--sigvelo-spacing-2);
|
|
243
|
+
color: var(--sigvelo-recipe-wallpaper-ink);
|
|
244
|
+
text-shadow: var(--sigvelo-recipe-wallpaper-ink-shadow);
|
|
245
|
+
}
|
|
246
|
+
/* The menu bar's own control recipe — the frame's one bespoke control, because
|
|
247
|
+
a menu title is not a button: it is the frame, and its compact bar height is
|
|
248
|
+
measured frame geometry. It is scoped to the desktop, where this band *is*
|
|
249
|
+
the menu bar. On a phone the same band is Home's widget area, and a control
|
|
250
|
+
standing on a widget is an ordinary house button; leaving the recipe unscoped
|
|
251
|
+
handed the widget's controls a menu title's geometry through the bar.
|
|
252
|
+
|
|
253
|
+
The descendant selector is the contract, not an accident: a control rendered
|
|
254
|
+
into this bar — the shell's own, or one in an app's `Menus` or the `status` node —
|
|
255
|
+
becomes a menu title and takes the bar's 24pt geometry. An item class would
|
|
256
|
+
have to be applied by every host to keep that promise.
|
|
257
|
+
|
|
258
|
+
Everything here is a documented Button recipe hook (docs/css-recipes.md).
|
|
259
|
+
The six geometry hooks are declared on `.button` itself, so they are re-pointed
|
|
260
|
+
on the control rather than on the bar — the bar's own ink and hover fill are
|
|
261
|
+
hookless reads and sit on the bar. The one property that is not a hook is the
|
|
262
|
+
icon-only item's `inline-size`. */
|
|
263
|
+
@container agent-computer (inline-size > 48rem) {
|
|
264
|
+
/* DeskInTab's 28.8px bar gives its menus a little breathing room. A shallow
|
|
265
|
+
dark veil keeps wallpaper ink legible while the glass separates the
|
|
266
|
+
persistent desktop commands from the window immediately underneath. */
|
|
267
|
+
.agent-computer__bar {
|
|
268
|
+
/* Hovering or opening a menu title fills it with the wallpaper's own ink,
|
|
269
|
+
over whatever the picture is doing behind the bar; the library's 5% mix
|
|
270
|
+
of the theme's text colour disappears there. Keep the light fill shallow
|
|
271
|
+
enough for the white labels to retain contrast. */
|
|
272
|
+
--sigvelo-recipe-button-ghost-fill: color-mix(
|
|
273
|
+
in oklab,
|
|
274
|
+
transparent,
|
|
275
|
+
var(--sigvelo-recipe-wallpaper-ink) 8%
|
|
276
|
+
);
|
|
277
|
+
--sigvelo-recipe-theme-mode-idle-color: var(--sigvelo-recipe-wallpaper-ink);
|
|
278
|
+
/* Counts sit on the wallpaper too; status glyphs still distinguish them. */
|
|
279
|
+
--sigvelo-recipe-thread-status-color: var(--sigvelo-recipe-wallpaper-ink);
|
|
280
|
+
/* An open menu title keeps the wallpaper's ink: the primitive's open state
|
|
281
|
+
would paint light-theme text on the glass. */
|
|
282
|
+
--sigvelo-recipe-menubar-trigger-open-fill: var(--sigvelo-recipe-button-ghost-fill);
|
|
283
|
+
--sigvelo-recipe-menubar-trigger-open-color: var(--sigvelo-recipe-wallpaper-ink);
|
|
284
|
+
|
|
285
|
+
min-block-size: var(--sigvelo-spacing-7);
|
|
286
|
+
background: color-mix(in oklab, transparent, var(--sigvelo-color-shadow) 14%);
|
|
287
|
+
box-shadow: inset 0 calc(-1 * var(--sigvelo-border-width-hairline)) 0
|
|
288
|
+
color-mix(in oklab, transparent, var(--sigvelo-recipe-wallpaper-ink) 8%);
|
|
289
|
+
backdrop-filter: var(--sigvelo-glass-filter-chrome);
|
|
290
|
+
}
|
|
291
|
+
.agent-computer__menubar {
|
|
292
|
+
flex: none;
|
|
293
|
+
padding: 0;
|
|
294
|
+
background: transparent;
|
|
295
|
+
border: 0;
|
|
296
|
+
}
|
|
297
|
+
/* The context title can truncate; commands and status controls keep their
|
|
298
|
+
measured width instead of overflowing a shrunken flex item. */
|
|
299
|
+
.agent-computer__name,
|
|
300
|
+
.agent-computer__status {
|
|
301
|
+
flex: none;
|
|
302
|
+
}
|
|
303
|
+
/* A menu title is the full height of the bar with ~10px of side padding, and
|
|
304
|
+
its 13px label matches the app name beside it. Measured from the Tahoe menu
|
|
305
|
+
bar: 17–18px between adjacent labels. */
|
|
306
|
+
.agent-computer__bar .button {
|
|
307
|
+
--sigvelo-recipe-button-height: var(--sigvelo-spacing-7);
|
|
308
|
+
--sigvelo-recipe-button-padding-inline: var(--sigvelo-spacing-2-5);
|
|
309
|
+
--sigvelo-recipe-button-font-size: var(--sigvelo-text-compact);
|
|
310
|
+
--sigvelo-recipe-button-line-height: var(--sigvelo-text-compact-leading);
|
|
311
|
+
--sigvelo-recipe-button-icon-size: var(--sigvelo-text-base);
|
|
312
|
+
/* A menu title is set at the body weight, not a button's label weight. */
|
|
313
|
+
--sigvelo-recipe-button-font-weight: var(--sigvelo-font-weight-normal);
|
|
314
|
+
}
|
|
315
|
+
/* An icon-only menu-bar item keeps a menu title's side padding instead of
|
|
316
|
+
collapsing to a square, so the leading glyph lands 18px in from the edge as
|
|
317
|
+
the Apple menu's does (measured 19px). */
|
|
318
|
+
.agent-computer__bar .button[data-icon-only] {
|
|
319
|
+
--sigvelo-recipe-button-padding-inline: var(--sigvelo-spacing-2-5);
|
|
320
|
+
|
|
321
|
+
inline-size: auto;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
.agent-computer__name {
|
|
325
|
+
/* macOS names the active application in bold, ahead of its menus. */
|
|
326
|
+
padding-inline: var(--sigvelo-spacing-2-5);
|
|
327
|
+
font-weight: var(--sigvelo-font-weight-bold);
|
|
328
|
+
}
|
|
329
|
+
/* Status items on ~12px gaps. macOS mutes nothing in this bar: an employee
|
|
330
|
+
name, a connection state, and a clock all read at full strength. */
|
|
331
|
+
.agent-computer__status {
|
|
332
|
+
display: flex;
|
|
333
|
+
align-items: center;
|
|
334
|
+
gap: var(--sigvelo-spacing-3);
|
|
335
|
+
margin-inline-start: auto;
|
|
336
|
+
padding-inline-start: var(--sigvelo-spacing-3);
|
|
337
|
+
min-inline-size: 0;
|
|
338
|
+
}
|
|
339
|
+
.agent-computer__context {
|
|
340
|
+
display: flex;
|
|
341
|
+
min-inline-size: 0;
|
|
342
|
+
}
|
|
343
|
+
/* The key window renders the menu bar in here; the slot itself draws nothing. */
|
|
344
|
+
.agent-computer__menus {
|
|
345
|
+
display: contents;
|
|
346
|
+
}
|
|
347
|
+
/* The employee is a menu-bar status item: plain text on the wallpaper, where
|
|
348
|
+
the other status items measured it. */
|
|
349
|
+
.agent-computer__employee {
|
|
350
|
+
min-inline-size: 0;
|
|
351
|
+
}
|
|
352
|
+
/* ---- the body: the stage --------------------------------------------- */
|
|
353
|
+
.agent-computer__body {
|
|
354
|
+
display: grid;
|
|
355
|
+
grid-template-columns: var(--sigvelo-layout-track-fill);
|
|
356
|
+
grid-template-rows: var(--sigvelo-layout-track-fill) auto;
|
|
357
|
+
}
|
|
358
|
+
.agent-computer__stage {
|
|
359
|
+
/* Placed, not auto-placed: Mission Control's layer shares this cell. */
|
|
360
|
+
grid-area: 1 / 1;
|
|
361
|
+
container: computer-stage / size;
|
|
362
|
+
position: relative;
|
|
363
|
+
isolation: isolate;
|
|
364
|
+
min-block-size: 0;
|
|
365
|
+
}
|
|
366
|
+
.agent-computer__home {
|
|
367
|
+
block-size: 100%;
|
|
368
|
+
overflow: auto;
|
|
369
|
+
overscroll-behavior: contain;
|
|
370
|
+
padding: var(--sigvelo-spacing-8);
|
|
371
|
+
}
|
|
372
|
+
/*
|
|
373
|
+
* The App Switcher's deck and the slots in it. Everywhere except the phone's
|
|
374
|
+
* switcher they generate no box at all, so every window is the stage's own
|
|
375
|
+
* absolutely positioned child and the desktop is exactly as it was; the phone
|
|
376
|
+
* sheet turns them into the scroller and the snapping slots the cards live in.
|
|
377
|
+
* Structural, so it is declared here with the stage rather than in the branch
|
|
378
|
+
* that uses it — a `display` that only exists inside a container query would
|
|
379
|
+
* leave the desktop's windows in a wrapper with no rule at all.
|
|
380
|
+
*/
|
|
381
|
+
.agent-computer__screens,
|
|
382
|
+
.agent-computer__screen {
|
|
383
|
+
display: contents;
|
|
384
|
+
}
|
|
385
|
+
.agent-computer__desktop {
|
|
386
|
+
position: absolute;
|
|
387
|
+
inset: 0;
|
|
388
|
+
pointer-events: none;
|
|
389
|
+
}
|
|
390
|
+
.agent-computer__desktop > * {
|
|
391
|
+
pointer-events: auto;
|
|
392
|
+
}
|
|
393
|
+
.agent-computer:not([data-home]) .agent-computer__home {
|
|
394
|
+
visibility: hidden;
|
|
395
|
+
}
|
|
396
|
+
/* Minimizing or closing the last window leaves the desktop with no active app,
|
|
397
|
+
which is the same state as showing Home — but a window parked in the Dock is
|
|
398
|
+
on the Dock, not on the desktop, and one that is still seeing itself out has
|
|
399
|
+
not left yet. Neither is hidden by the desktop coming forward. */
|
|
400
|
+
.agent-computer[data-home] .agent-computer__window:not([data-minimized], [data-closing]) {
|
|
401
|
+
visibility: hidden;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/* ---- a window ---------------------------------------------------------- */
|
|
405
|
+
/*
|
|
406
|
+
* The window's half of the TSX→CSS contract, stated once for the whole sheet.
|
|
407
|
+
* Every `--computer-*` above is declared here and read here; these are the ones
|
|
408
|
+
* the shell writes as inline styles instead, because only the shell knows them:
|
|
409
|
+
*
|
|
410
|
+
* --computer-window-x / -y the dragged window's viewport coordinates
|
|
411
|
+
* --computer-window-width / -height frozen at the size a window had when it
|
|
412
|
+
* left, so the miniature keeps its proportions
|
|
413
|
+
* while the stage reflows behind it
|
|
414
|
+
* --computer-miniature-anchor the Dock slot a parked window anchors to
|
|
415
|
+
* --computer-miniature-aspect that slot's width, in window proportions
|
|
416
|
+
* --computer-miniature-scale the ratio the window is parked at
|
|
417
|
+
* --computer-expose-transform an open window's way into its overview slot
|
|
418
|
+
* --computer-expose-translate / -scale a parked window's, from its Dock slot
|
|
419
|
+
* --computer-expose-x / -y / -width / -height / -ratio that slot, on its picker
|
|
420
|
+
*
|
|
421
|
+
* Each has a CSS default or a `var()` fallback, so the frame draws correctly
|
|
422
|
+
* before the shell has written anything. The traffic goes the other way too:
|
|
423
|
+
* the shell reads `--computer-duration-*`, `--computer-card-scale` and
|
|
424
|
+
* `--computer-home-zoom-*` off the element with `cssDuration` / `cssEasing`, so
|
|
425
|
+
* a length declared once here is the length its Web Animation runs for.
|
|
426
|
+
*
|
|
427
|
+
* The geometry is read only by the window's own rule, so it does not inherit:
|
|
428
|
+
* a drag writes it on every pointer move, and an inherited property would
|
|
429
|
+
* restyle the whole app inside the window each time (drag style work 139ms →
|
|
430
|
+
* 40ms over 60 moves). `*` keeps the unset value invalid, so the fallbacks hold.
|
|
431
|
+
*/
|
|
432
|
+
@property --computer-window-x {
|
|
433
|
+
syntax: "*";
|
|
434
|
+
inherits: false;
|
|
435
|
+
}
|
|
436
|
+
@property --computer-window-y {
|
|
437
|
+
syntax: "*";
|
|
438
|
+
inherits: false;
|
|
439
|
+
}
|
|
440
|
+
@property --computer-window-width {
|
|
441
|
+
syntax: "*";
|
|
442
|
+
inherits: false;
|
|
443
|
+
}
|
|
444
|
+
@property --computer-window-height {
|
|
445
|
+
syntax: "*";
|
|
446
|
+
inherits: false;
|
|
447
|
+
}
|
|
448
|
+
.agent-computer__window {
|
|
449
|
+
--computer-window-width: clamp(
|
|
450
|
+
min(20rem, 100cqi),
|
|
451
|
+
var(--computer-floating-width, min(51.25rem, calc(100cqi - var(--sigvelo-spacing-4)))),
|
|
452
|
+
100cqi
|
|
453
|
+
);
|
|
454
|
+
--computer-window-height: clamp(
|
|
455
|
+
min(12rem, 100cqb),
|
|
456
|
+
var(--computer-floating-height, min(33.75rem, calc(100cqb - var(--sigvelo-spacing-4)))),
|
|
457
|
+
100cqb
|
|
458
|
+
);
|
|
459
|
+
position: absolute;
|
|
460
|
+
/* Physical `left`/`top`, not logical insets: the drag writes `--computer-window-x/-y`
|
|
461
|
+
from the pointer's own viewport coordinates, which do not flip with the
|
|
462
|
+
writing mode. Clamped again here for when the host shrinks under them. */
|
|
463
|
+
left: clamp(
|
|
464
|
+
0px,
|
|
465
|
+
var(--computer-window-x, calc((100cqi - var(--computer-window-width)) / 2)),
|
|
466
|
+
calc(100cqi - var(--computer-window-width))
|
|
467
|
+
);
|
|
468
|
+
top: clamp(
|
|
469
|
+
0px,
|
|
470
|
+
var(--computer-window-y, var(--sigvelo-spacing-10)),
|
|
471
|
+
calc(100cqb - var(--computer-window-height))
|
|
472
|
+
);
|
|
473
|
+
inline-size: var(--computer-window-width);
|
|
474
|
+
block-size: var(--computer-window-height);
|
|
475
|
+
display: grid;
|
|
476
|
+
grid-template-rows: auto var(--sigvelo-layout-track-fill);
|
|
477
|
+
/* The single column is capped at the frame: an over-full bar or toolbar has
|
|
478
|
+
to shrink or scroll inside the window, never widen it. */
|
|
479
|
+
grid-template-columns: var(--sigvelo-layout-track-fill);
|
|
480
|
+
/* Only app content scrolls; bringing a field into view must leave chrome fixed. */
|
|
481
|
+
overflow: clip;
|
|
482
|
+
/* A macOS window frame: a 20pt corner with continuous curvature, measured
|
|
483
|
+
off mac-finder-icons.png (a 30px curve at 1.5 px/pt) and confirmed on
|
|
484
|
+
mac-quick-look.png. With the squircle scale, `lg` is that 20pt corner and
|
|
485
|
+
the round fallback lands on the same silhouette. */
|
|
486
|
+
border-radius: var(--sigvelo-radius-lg);
|
|
487
|
+
background: var(--sigvelo-color-surface-raised);
|
|
488
|
+
/* A background window keeps the key window's shadow at 60%, as macOS dims
|
|
489
|
+
rather than shrinks it. */
|
|
490
|
+
box-shadow: var(--sigvelo-elevation-window-inactive);
|
|
491
|
+
/* Opening: the window arrives at 94 % and settles, over Core Animation's own
|
|
492
|
+
quarter second. Raising: the shadow steps up where it stands, no movement.
|
|
493
|
+
The scale is `transform`, not the `scale` property, because `scale` is what
|
|
494
|
+
parks a minimized window in the Dock and the two must not meet. */
|
|
495
|
+
opacity: 1;
|
|
496
|
+
transform: none;
|
|
497
|
+
transition:
|
|
498
|
+
opacity var(--computer-duration-window) var(--sigvelo-ease-spring-smooth),
|
|
499
|
+
transform var(--computer-duration-window) var(--sigvelo-ease-spring-smooth),
|
|
500
|
+
box-shadow var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
|
|
501
|
+
}
|
|
502
|
+
@starting-style {
|
|
503
|
+
.agent-computer__window {
|
|
504
|
+
opacity: 0;
|
|
505
|
+
transform: scale(var(--computer-window-away-scale));
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
/* Seeing itself out: no longer part of the desktop, still on the screen. */
|
|
509
|
+
.agent-computer__window[data-closing] {
|
|
510
|
+
pointer-events: none;
|
|
511
|
+
}
|
|
512
|
+
/* A panel, such as Get Info, is as tall as what it shows, up to a window's height. */
|
|
513
|
+
.agent-computer:not([data-phone]) .agent-computer__window[data-panel] {
|
|
514
|
+
block-size: fit-content;
|
|
515
|
+
max-block-size: var(--computer-window-height);
|
|
516
|
+
}
|
|
517
|
+
/* Closed, or hidden with its app: skipped rather than taken out of the layout.
|
|
518
|
+
A window that leaves `display: none` restyles from scratch, so reopening it
|
|
519
|
+
replayed every `@starting-style` entrance inside it. It rests in the closing
|
|
520
|
+
pose, so reopening plays the window's own entrance as a transition back. */
|
|
521
|
+
.agent-computer__window[data-hidden] {
|
|
522
|
+
visibility: hidden;
|
|
523
|
+
content-visibility: hidden;
|
|
524
|
+
}
|
|
525
|
+
.agent-computer:not([data-phone]) .agent-computer__window:is([data-closing], [data-hidden]) {
|
|
526
|
+
opacity: 0;
|
|
527
|
+
transform: scale(var(--computer-window-away-scale));
|
|
528
|
+
transition-duration: calc(var(--computer-duration-window) * 0.8);
|
|
529
|
+
transition-timing-function: var(--sigvelo-motion-ease-exit);
|
|
530
|
+
}
|
|
531
|
+
.agent-computer__window[data-active] {
|
|
532
|
+
box-shadow:
|
|
533
|
+
inset 0 var(--sigvelo-border-width-hairline) 0 color-mix(in oklab, transparent, white 14%),
|
|
534
|
+
var(--sigvelo-elevation-window);
|
|
535
|
+
}
|
|
536
|
+
/* The agent's mark on a window it opened: a soft inner ring the shell lights
|
|
537
|
+
once, after the window is laid out, and otherwise never drawn. Above the
|
|
538
|
+
content and the resize edges, and never in the way of a press. */
|
|
539
|
+
.agent-computer__window::after {
|
|
540
|
+
content: "";
|
|
541
|
+
position: absolute;
|
|
542
|
+
inset: 0;
|
|
543
|
+
z-index: 2;
|
|
544
|
+
border-radius: inherit;
|
|
545
|
+
pointer-events: none;
|
|
546
|
+
opacity: 0;
|
|
547
|
+
box-shadow:
|
|
548
|
+
inset 0 0 0 calc(var(--sigvelo-border-width-hairline) * 4)
|
|
549
|
+
color-mix(in oklab, transparent, var(--sigvelo-color-text) 45%),
|
|
550
|
+
inset 0 0 var(--sigvelo-spacing-10)
|
|
551
|
+
color-mix(in oklab, transparent, var(--sigvelo-color-text) 14%);
|
|
552
|
+
}
|
|
553
|
+
/* Tiling changes presentation, preserving the floating rectangle for Restore. */
|
|
554
|
+
@container agent-computer (inline-size > 48rem) {
|
|
555
|
+
/* Inactive chrome recedes toward its window's plane; the active toolbar
|
|
556
|
+
keeps its own material without dimming the app's content. */
|
|
557
|
+
.agent-computer__window:not([data-active]) {
|
|
558
|
+
--sigvelo-recipe-window-bar-plane: color-mix(
|
|
559
|
+
in oklab,
|
|
560
|
+
var(--sigvelo-color-neutral-bg-subtle),
|
|
561
|
+
var(--sigvelo-color-surface-raised) 55%
|
|
562
|
+
);
|
|
563
|
+
}
|
|
564
|
+
.agent-computer__window[data-placement="left"]:not([data-minimized], [data-expanded]),
|
|
565
|
+
.agent-computer__window[data-placement="right"]:not([data-minimized], [data-expanded]) {
|
|
566
|
+
--computer-window-width: 50cqi;
|
|
567
|
+
--computer-window-height: 100cqb;
|
|
568
|
+
top: 0;
|
|
569
|
+
}
|
|
570
|
+
.agent-computer__window[data-placement="left"]:not([data-minimized], [data-expanded]) {
|
|
571
|
+
left: 0;
|
|
572
|
+
}
|
|
573
|
+
.agent-computer__window[data-placement="right"]:not([data-minimized], [data-expanded]) {
|
|
574
|
+
left: 50cqi;
|
|
575
|
+
}
|
|
576
|
+
.agent-computer__window[data-placement="fill"]:not([data-minimized], [data-expanded]) {
|
|
577
|
+
--computer-window-width: 100cqi;
|
|
578
|
+
--computer-window-height: 100cqb;
|
|
579
|
+
top: 0;
|
|
580
|
+
left: 0;
|
|
581
|
+
}
|
|
582
|
+
/* Sequoia's other halves, across the desktop, and its quarters. */
|
|
583
|
+
.agent-computer__window:is([data-placement="top"], [data-placement="bottom"]):not(
|
|
584
|
+
[data-minimized],
|
|
585
|
+
[data-expanded]
|
|
586
|
+
) {
|
|
587
|
+
--computer-window-width: 100cqi;
|
|
588
|
+
--computer-window-height: 50cqb;
|
|
589
|
+
left: 0;
|
|
590
|
+
}
|
|
591
|
+
.agent-computer__window:is(
|
|
592
|
+
[data-placement="topLeft"],
|
|
593
|
+
[data-placement="topRight"],
|
|
594
|
+
[data-placement="bottomLeft"],
|
|
595
|
+
[data-placement="bottomRight"]
|
|
596
|
+
):not([data-minimized], [data-expanded]) {
|
|
597
|
+
--computer-window-width: 50cqi;
|
|
598
|
+
--computer-window-height: 50cqb;
|
|
599
|
+
}
|
|
600
|
+
.agent-computer__window:is(
|
|
601
|
+
[data-placement="top"],
|
|
602
|
+
[data-placement="topLeft"],
|
|
603
|
+
[data-placement="topRight"]
|
|
604
|
+
):not([data-minimized], [data-expanded]) {
|
|
605
|
+
top: 0;
|
|
606
|
+
}
|
|
607
|
+
.agent-computer__window:is(
|
|
608
|
+
[data-placement="bottom"],
|
|
609
|
+
[data-placement="bottomLeft"],
|
|
610
|
+
[data-placement="bottomRight"]
|
|
611
|
+
):not([data-minimized], [data-expanded]) {
|
|
612
|
+
top: 50cqb;
|
|
613
|
+
}
|
|
614
|
+
.agent-computer__window:is([data-placement="topLeft"], [data-placement="bottomLeft"]):not(
|
|
615
|
+
[data-minimized],
|
|
616
|
+
[data-expanded]
|
|
617
|
+
) {
|
|
618
|
+
left: 0;
|
|
619
|
+
}
|
|
620
|
+
.agent-computer__window:is([data-placement="topRight"], [data-placement="bottomRight"]):not(
|
|
621
|
+
[data-minimized],
|
|
622
|
+
[data-expanded]
|
|
623
|
+
) {
|
|
624
|
+
left: 50cqi;
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
.agent-computer__window[data-expanded] {
|
|
628
|
+
inset: 0;
|
|
629
|
+
inline-size: 100%;
|
|
630
|
+
block-size: 100%;
|
|
631
|
+
border-radius: 0;
|
|
632
|
+
box-shadow: none;
|
|
633
|
+
}
|
|
634
|
+
/*
|
|
635
|
+
* A minimized window parks on the Dock, at Dock size, still itself.
|
|
636
|
+
*
|
|
637
|
+
* It is in the top layer, as a manual popover, for one reason: the stage
|
|
638
|
+
* isolates and the Dock paints after it, so a window that stayed a stage child
|
|
639
|
+
* would land *behind* the Dock's glass. The top layer also lets it anchor to
|
|
640
|
+
* its slot — an element there may anchor to anything, where a stage child may
|
|
641
|
+
* not, because the Dock is laid out after the stage — so the miniature follows
|
|
642
|
+
* its slot as the Dock grows and shrinks, with no measured rectangle to go
|
|
643
|
+
* stale. Its DOM place never changes, so its state, scroll and live views come
|
|
644
|
+
* back exactly as they went.
|
|
645
|
+
*
|
|
646
|
+
* The scale is set from the slot when the window leaves, and the window's own
|
|
647
|
+
* size is frozen at the same moment, so the miniature keeps the proportions the
|
|
648
|
+
* window had while the stage reflows behind it.
|
|
649
|
+
*/
|
|
650
|
+
.agent-computer__window[data-minimized] {
|
|
651
|
+
position: fixed;
|
|
652
|
+
inset: auto;
|
|
653
|
+
position-anchor: var(--computer-miniature-anchor);
|
|
654
|
+
/* Physical, as the origin is: in a right-to-left document the inline start
|
|
655
|
+
is the window's right edge, which would scale away from its slot. */
|
|
656
|
+
left: anchor(left);
|
|
657
|
+
top: anchor(top);
|
|
658
|
+
margin: 0;
|
|
659
|
+
border: 0;
|
|
660
|
+
padding: 0;
|
|
661
|
+
transform-origin: 0 0;
|
|
662
|
+
scale: var(--computer-miniature-scale, 0.1);
|
|
663
|
+
/* The slot underneath is the control; the miniature is the picture. */
|
|
664
|
+
pointer-events: none;
|
|
665
|
+
box-shadow: var(--sigvelo-elevation-window-inactive);
|
|
666
|
+
}
|
|
667
|
+
/* Without the top layer there is nowhere for it to be; the slot's own frame
|
|
668
|
+
and badge stand in. Hidden rather than taken out of the layout: a style read
|
|
669
|
+
in the commit that parks it, before the popover opens, must not count as the
|
|
670
|
+
window being rendered again and replay its opening from `@starting-style`. */
|
|
671
|
+
.agent-computer__window[data-minimized]:not(:popover-open) {
|
|
672
|
+
visibility: hidden;
|
|
673
|
+
}
|
|
674
|
+
/* macOS badges a parked window with its app's icon at the trailing bottom
|
|
675
|
+
corner. It rides inside the window, so it has to undo the window's scale to
|
|
676
|
+
come out badge-sized — and the badge belongs to the miniature rather than to
|
|
677
|
+
the window, so it waits for the flight to land: undoing an 11x scale while
|
|
678
|
+
the window is still full size drew a 272px icon across it for the first
|
|
679
|
+
third of the trip. A crowded Dock's smaller slots take a smaller badge. */
|
|
680
|
+
.agent-computer__window[data-minimized] .agent-computer__miniature-badge {
|
|
681
|
+
position: absolute;
|
|
682
|
+
inset-block-end: 0;
|
|
683
|
+
inset-inline-end: 0;
|
|
684
|
+
z-index: 2;
|
|
685
|
+
transform-origin: 100% 100%;
|
|
686
|
+
scale: calc(var(--computer-dock-fit, 1) / var(--computer-miniature-scale, 0.1));
|
|
687
|
+
animation: computer-fade-in var(--sigvelo-motion-duration-interaction)
|
|
688
|
+
var(--computer-duration-minimize) both;
|
|
689
|
+
}
|
|
690
|
+
/* The shell's one fade, in and out: the badge above, and every snapshot a
|
|
691
|
+
view transition cross-fades (agent-computer-motion.css, the phone sheet). */
|
|
692
|
+
@keyframes computer-fade-in {
|
|
693
|
+
from {
|
|
694
|
+
opacity: 0;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
@keyframes computer-fade-out {
|
|
698
|
+
to {
|
|
699
|
+
opacity: 0;
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
/* Coming back, the window is a stage child again and the stage paints under
|
|
703
|
+
the Dock; this lifts the stage over the plate for the trip only. */
|
|
704
|
+
.agent-computer__body:has(.agent-computer__window[data-restoring]) .agent-computer__stage {
|
|
705
|
+
z-index: 1;
|
|
706
|
+
}
|
|
707
|
+
/* A 28pt title bar is a band a step off the content's own plane, not that
|
|
708
|
+
plane: on macOS the frame separates from what it titles in whichever
|
|
709
|
+
direction the appearance needs — grayer than a white content plane, lighter
|
|
710
|
+
than a dark one — whether it carries a plain title (the Quick Look
|
|
711
|
+
reference's bar reads 30% down from its content) or an app's own tab
|
|
712
|
+
strip. */
|
|
713
|
+
.agent-computer__window-bar {
|
|
714
|
+
position: relative;
|
|
715
|
+
display: flex;
|
|
716
|
+
align-items: center;
|
|
717
|
+
min-inline-size: 0;
|
|
718
|
+
min-block-size: var(--sigvelo-spacing-7);
|
|
719
|
+
padding-inline-end: var(--sigvelo-spacing-2);
|
|
720
|
+
/* The bar is a layer above the content, not a line drawn across it. */
|
|
721
|
+
z-index: 1;
|
|
722
|
+
background: var(--sigvelo-recipe-window-bar-plane);
|
|
723
|
+
}
|
|
724
|
+
/*
|
|
725
|
+
* Only a plain macOS bar closes with a rule. A tab strip hands the toolbar
|
|
726
|
+
* colour down through its active tab instead, so a line there would cut the
|
|
727
|
+
* tab in half, and iOS draws nothing under a navigation bar at all.
|
|
728
|
+
*
|
|
729
|
+
* A plain title also centres on the window frame, not on the space left
|
|
730
|
+
* beside the lights, so the trailing edge reserves the same run the lights
|
|
731
|
+
* occupy: as the title's own padding when the bar carries nothing after it,
|
|
732
|
+
* and as a floor under the actions cluster when it does — the cluster still
|
|
733
|
+
* ends on the bar's own trailing inset, it only stops taking the title's
|
|
734
|
+
* centre with it. A bar the app paints in place of a title reserves nothing,
|
|
735
|
+
* because a tab strip and a unified toolbar are the width of the window.
|
|
736
|
+
*
|
|
737
|
+
* A plain bar is macOS's 28pt title bar and nothing taller. A window with
|
|
738
|
+
* controls of its own does not stack a toolbar under it: Tahoe merges the two
|
|
739
|
+
* into one unified toolbar, which an app paints through `titleBar`. (A 44px
|
|
740
|
+
* floor stood here to line plain bars up with the 52pt unified toolbars; it
|
|
741
|
+
* left every plain window a tall band with its own toolbar stacked beneath.)
|
|
742
|
+
*/
|
|
743
|
+
@container agent-computer (inline-size > 48rem) {
|
|
744
|
+
.agent-computer__window:not([data-title-bar]) .agent-computer__window-bar {
|
|
745
|
+
border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width-hairline)
|
|
746
|
+
var(--sigvelo-color-neutral-border-subtle);
|
|
747
|
+
}
|
|
748
|
+
.agent-computer__window:not([data-title-bar]) {
|
|
749
|
+
--computer-window-title-trail: var(--computer-window-lights-run);
|
|
750
|
+
}
|
|
751
|
+
.agent-computer__window-title:has(+ .agent-computer__move) {
|
|
752
|
+
padding-inline-end: var(--computer-window-title-trail);
|
|
753
|
+
}
|
|
754
|
+
.agent-computer__window-title:has(+ .agent-computer__window-actions:not(:empty)) {
|
|
755
|
+
padding-inline-end: 0;
|
|
756
|
+
}
|
|
757
|
+
.agent-computer__window-actions {
|
|
758
|
+
min-inline-size: var(--computer-window-title-trail);
|
|
759
|
+
justify-content: end;
|
|
760
|
+
/* The same rule the title slot keeps, for the same reason: a window bar is
|
|
761
|
+
a drag region with controls standing on it, so the controls take the
|
|
762
|
+
pointer and everything else — a status line, the space between items —
|
|
763
|
+
hands it to the handle underneath. macOS drags a window by any part of
|
|
764
|
+
its title bar that is not a control. */
|
|
765
|
+
pointer-events: none;
|
|
766
|
+
}
|
|
767
|
+
.agent-computer__window-actions
|
|
768
|
+
:is(button, a, input, select, textarea, [role="tab"], [tabindex]) {
|
|
769
|
+
pointer-events: auto;
|
|
770
|
+
}
|
|
771
|
+
/* Chrome's drag region on a tabbed window is the strip beside the tabs, and
|
|
772
|
+
the strip always keeps some: tabs share the width down to a minimum, but
|
|
773
|
+
the end of the strip stays frame. Ours reserves one pointer target of it,
|
|
774
|
+
so a window whose tabs have filled the strip can still be picked up —
|
|
775
|
+
without it the only place left on the mid-line was the 2px between two
|
|
776
|
+
tabs. (The 6pt above the tabs, Chrome's kTabStripPadding, drags too.) */
|
|
777
|
+
.agent-computer__window[data-title-bar="unified"] {
|
|
778
|
+
--sigvelo-recipe-browser-tab-strip-end-space: var(--sigvelo-spacing-11);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
/* Bar order: lights, title slot, app actions; the move handle is the bar's
|
|
782
|
+
background layer, so empty title space (Chrome's empty tab strip) drags. */
|
|
783
|
+
.agent-computer__window-title {
|
|
784
|
+
position: relative;
|
|
785
|
+
flex: 1;
|
|
786
|
+
align-self: stretch;
|
|
787
|
+
min-inline-size: 0;
|
|
788
|
+
display: flex;
|
|
789
|
+
align-items: center;
|
|
790
|
+
justify-content: center;
|
|
791
|
+
gap: var(--sigvelo-spacing-2);
|
|
792
|
+
padding-inline-start: var(--sigvelo-spacing-2);
|
|
793
|
+
/* Text drags the window; app-supplied controls in the title stay clickable. */
|
|
794
|
+
pointer-events: none;
|
|
795
|
+
white-space: nowrap;
|
|
796
|
+
overflow: hidden;
|
|
797
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
798
|
+
}
|
|
799
|
+
/* A tab takes the pointer; the strip it sits in does not — the empty strip
|
|
800
|
+
beside the tabs is Chrome's own drag region, and a tablist stretched across
|
|
801
|
+
the bar was swallowing all of it. */
|
|
802
|
+
.agent-computer__window-title :is(button, a, input, [role="tab"], [tabindex]) {
|
|
803
|
+
pointer-events: auto;
|
|
804
|
+
}
|
|
805
|
+
.agent-computer__window-title [role="tablist"] {
|
|
806
|
+
pointer-events: none;
|
|
807
|
+
}
|
|
808
|
+
/* An app's own Back belongs to the bar's leading slot — beside the lights on a
|
|
809
|
+
Mac, in the 44pt gutter on a phone — and never inside the centred title: in
|
|
810
|
+
the flow it took half its own width out of the title's centre and pushed the
|
|
811
|
+
routine editor's month 42px off the window's. Out of the flow, the title's
|
|
812
|
+
trailing reserve (--computer-window-title-trail) is the only thing deciding
|
|
813
|
+
where the text lands, which is the window's own centre. */
|
|
814
|
+
.agent-computer__window-title [data-nav-back] {
|
|
815
|
+
position: absolute;
|
|
816
|
+
inset-inline-start: 0;
|
|
817
|
+
display: inline-flex;
|
|
818
|
+
}
|
|
819
|
+
.agent-computer__window:not([data-active]) .agent-computer__window-title {
|
|
820
|
+
color: var(--sigvelo-color-text-muted);
|
|
821
|
+
}
|
|
822
|
+
/* An app whose content paints its own bar renders no actions here. */
|
|
823
|
+
.agent-computer__window-actions:empty {
|
|
824
|
+
display: none;
|
|
825
|
+
}
|
|
826
|
+
.agent-computer__window-actions {
|
|
827
|
+
position: relative;
|
|
828
|
+
display: flex;
|
|
829
|
+
align-items: center;
|
|
830
|
+
/* Apple spaces toolbar items on 8pt. */
|
|
831
|
+
gap: var(--sigvelo-spacing-2);
|
|
832
|
+
flex: none;
|
|
833
|
+
padding-inline-start: var(--sigvelo-spacing-2);
|
|
834
|
+
}
|
|
835
|
+
/* A tab strip is the window's own top edge, with no title bar between the
|
|
836
|
+
actions and the frame, so the cluster keeps clear of the 20pt corner
|
|
837
|
+
instead of tucking under its sweep. */
|
|
838
|
+
.agent-computer__window[data-title-bar="unified"] .agent-computer__window-actions {
|
|
839
|
+
padding-inline-end: var(--sigvelo-spacing-2);
|
|
840
|
+
}
|
|
841
|
+
/* A window bar's items are the house's: the ghost `xs` control each app already
|
|
842
|
+
renders, at its own recipe height, glyph size, radius and hover fill, with no
|
|
843
|
+
ground of its own. The departure: a macOS toolbar item wears a 20pt capsule
|
|
844
|
+
and ours does not.
|
|
845
|
+
|
|
846
|
+
12px lights inside 24px targets, the leading one 14px from the window edge. */
|
|
847
|
+
.agent-computer__window-controls {
|
|
848
|
+
display: flex;
|
|
849
|
+
flex: none;
|
|
850
|
+
gap: 0;
|
|
851
|
+
padding-inline-start: var(--sigvelo-spacing-2);
|
|
852
|
+
}
|
|
853
|
+
.agent-computer__window-control {
|
|
854
|
+
display: grid;
|
|
855
|
+
place-items: center;
|
|
856
|
+
position: relative;
|
|
857
|
+
inline-size: var(--sigvelo-spacing-6);
|
|
858
|
+
block-size: var(--sigvelo-spacing-7);
|
|
859
|
+
padding: 0;
|
|
860
|
+
border: 0;
|
|
861
|
+
background: transparent;
|
|
862
|
+
cursor: pointer;
|
|
863
|
+
}
|
|
864
|
+
/* A panel has its close button and nothing else. */
|
|
865
|
+
.agent-computer__window-control[hidden] {
|
|
866
|
+
display: none;
|
|
867
|
+
}
|
|
868
|
+
.agent-computer__window-control::before {
|
|
869
|
+
content: "";
|
|
870
|
+
position: absolute;
|
|
871
|
+
inline-size: var(--sigvelo-spacing-3);
|
|
872
|
+
block-size: var(--sigvelo-spacing-3);
|
|
873
|
+
border-radius: var(--sigvelo-radius-circle);
|
|
874
|
+
/* Background windows keep gray lights until they take the key position, or
|
|
875
|
+
until the pointer reaches the group — macOS colours them on hover too. */
|
|
876
|
+
background: var(--computer-light, var(--sigvelo-color-neutral-bg-muted));
|
|
877
|
+
box-shadow: inset 0 0 0 var(--sigvelo-border-width-hairline)
|
|
878
|
+
color-mix(in oklab, var(--sigvelo-color-shadow), transparent 80%);
|
|
879
|
+
}
|
|
880
|
+
.agent-computer__window[data-active] .agent-computer__window-control,
|
|
881
|
+
.agent-computer__window-controls:is(:hover, :focus-within) .agent-computer__window-control {
|
|
882
|
+
--computer-light: var(--computer-light-lit);
|
|
883
|
+
}
|
|
884
|
+
/* A literal is right here, as it is for the wallpaper and its white ink and
|
|
885
|
+
glass rims: a traffic light is Apple's frame, identified by exactly these
|
|
886
|
+
three values in both appearances, and any token near them would be a
|
|
887
|
+
different window. */
|
|
888
|
+
.agent-computer__window-control[data-control="close"] {
|
|
889
|
+
--computer-light-lit: #ff5f57;
|
|
890
|
+
}
|
|
891
|
+
.agent-computer__window-control[data-control="minimize"] {
|
|
892
|
+
--computer-light-lit: #febc2e;
|
|
893
|
+
}
|
|
894
|
+
.agent-computer__window-control[data-control="expand"] {
|
|
895
|
+
--computer-light-lit: #28c840;
|
|
896
|
+
}
|
|
897
|
+
.agent-computer__window-control svg {
|
|
898
|
+
position: relative;
|
|
899
|
+
inline-size: var(--sigvelo-spacing-2);
|
|
900
|
+
block-size: var(--sigvelo-spacing-2);
|
|
901
|
+
/* One dark glyph in both themes, as on macOS: it must read on the gray
|
|
902
|
+
light and on all three colours, which never change with the theme. */
|
|
903
|
+
color: color-mix(in oklab, var(--sigvelo-color-neutral-950), transparent 20%);
|
|
904
|
+
opacity: 0;
|
|
905
|
+
}
|
|
906
|
+
.agent-computer__window-controls:hover svg,
|
|
907
|
+
.agent-computer__window-control:focus-visible svg {
|
|
908
|
+
opacity: 1;
|
|
909
|
+
}
|
|
910
|
+
/* The ring goes around the light, not around its taller hit box, and it is
|
|
911
|
+
drawn tighter than the system ring: three of these sit on a 24px pitch, so
|
|
912
|
+
the standard 3px halo at a 2px offset would close the gaps between them. */
|
|
913
|
+
.agent-computer__window-control:focus-visible {
|
|
914
|
+
outline: none;
|
|
915
|
+
}
|
|
916
|
+
.agent-computer__window-control:focus-visible::before {
|
|
917
|
+
outline: var(--sigvelo-border-style)
|
|
918
|
+
calc(var(--sigvelo-focus-width) - var(--sigvelo-border-width)) var(--sigvelo-color-focus-halo);
|
|
919
|
+
outline-offset: var(--sigvelo-focus-offset);
|
|
920
|
+
}
|
|
921
|
+
/* A window takes focus when it opens, or when a closed window hands focus
|
|
922
|
+
back, so its name is announced before Tab moves into it. It draws no ring
|
|
923
|
+
for that — not even the browser's — because the frame is not a control and
|
|
924
|
+
is never in the tab order: macOS marks the key window with its lit traffic
|
|
925
|
+
lights and its larger shadow, and every control inside it still rings. */
|
|
926
|
+
.agent-computer__window:focus-visible {
|
|
927
|
+
outline: none;
|
|
928
|
+
}
|
|
929
|
+
/* A Mac has no home indicator. */
|
|
930
|
+
.agent-computer__mobile-home {
|
|
931
|
+
display: none;
|
|
932
|
+
}
|
|
933
|
+
/* Everything in the bar sits above the drag handle; the title slot lets empty
|
|
934
|
+
strip space fall through to it with pointer-events. */
|
|
935
|
+
.agent-computer__window-controls,
|
|
936
|
+
.agent-computer__window-title,
|
|
937
|
+
.agent-computer__window-actions,
|
|
938
|
+
.agent-computer__mobile-home {
|
|
939
|
+
position: relative;
|
|
940
|
+
z-index: 1;
|
|
941
|
+
}
|
|
942
|
+
.agent-computer__move {
|
|
943
|
+
position: absolute;
|
|
944
|
+
inset: 0;
|
|
945
|
+
z-index: 0;
|
|
946
|
+
border: 0;
|
|
947
|
+
background: transparent;
|
|
948
|
+
cursor: grab;
|
|
949
|
+
touch-action: none;
|
|
950
|
+
user-select: none;
|
|
951
|
+
}
|
|
952
|
+
.agent-computer__move:active {
|
|
953
|
+
cursor: grabbing;
|
|
954
|
+
}
|
|
955
|
+
.agent-computer__move:disabled {
|
|
956
|
+
cursor: default;
|
|
957
|
+
}
|
|
958
|
+
.agent-computer__move:focus-visible {
|
|
959
|
+
outline: var(--sigvelo-focus-ring);
|
|
960
|
+
outline-offset: -2px;
|
|
961
|
+
border-radius: var(--sigvelo-radius-sm);
|
|
962
|
+
}
|
|
963
|
+
.agent-computer__resize {
|
|
964
|
+
position: absolute;
|
|
965
|
+
inset-inline-end: 0;
|
|
966
|
+
inset-block-end: 0;
|
|
967
|
+
z-index: 1;
|
|
968
|
+
display: grid;
|
|
969
|
+
place-items: center;
|
|
970
|
+
inline-size: var(--sigvelo-spacing-6);
|
|
971
|
+
block-size: var(--sigvelo-spacing-6);
|
|
972
|
+
padding: 0;
|
|
973
|
+
border: 0;
|
|
974
|
+
border-radius: var(--sigvelo-radius-xs);
|
|
975
|
+
background: transparent;
|
|
976
|
+
color: var(--sigvelo-color-text-muted);
|
|
977
|
+
cursor: nwse-resize;
|
|
978
|
+
touch-action: none;
|
|
979
|
+
}
|
|
980
|
+
.agent-computer__resize > svg {
|
|
981
|
+
inline-size: var(--sigvelo-spacing-3);
|
|
982
|
+
block-size: var(--sigvelo-spacing-3);
|
|
983
|
+
pointer-events: none;
|
|
984
|
+
opacity: 0.5;
|
|
985
|
+
transition: opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
|
|
986
|
+
}
|
|
987
|
+
.agent-computer__resize:is(:hover, :focus-visible) > svg {
|
|
988
|
+
opacity: 1;
|
|
989
|
+
}
|
|
990
|
+
.agent-computer__resize:disabled {
|
|
991
|
+
display: none;
|
|
992
|
+
}
|
|
993
|
+
.agent-computer__resize:focus-visible {
|
|
994
|
+
outline: var(--sigvelo-focus-ring);
|
|
995
|
+
outline-offset: -2px;
|
|
996
|
+
}
|
|
997
|
+
/* The frame's edge and corner resize zones: a pointer band just inside the
|
|
998
|
+
frame, above content, under the corner control. */
|
|
999
|
+
.agent-computer__edge {
|
|
1000
|
+
position: absolute;
|
|
1001
|
+
z-index: 1;
|
|
1002
|
+
touch-action: none;
|
|
1003
|
+
--computer-edge: var(--sigvelo-spacing-1);
|
|
1004
|
+
--computer-corner: var(--sigvelo-spacing-3);
|
|
1005
|
+
}
|
|
1006
|
+
.agent-computer__edge:is([data-edge="n"], [data-edge="s"]) {
|
|
1007
|
+
inset-inline: var(--computer-corner);
|
|
1008
|
+
block-size: var(--computer-edge);
|
|
1009
|
+
cursor: ns-resize;
|
|
1010
|
+
}
|
|
1011
|
+
.agent-computer__edge:is([data-edge="e"], [data-edge="w"]) {
|
|
1012
|
+
inset-block: var(--computer-corner);
|
|
1013
|
+
inline-size: var(--computer-edge);
|
|
1014
|
+
cursor: ew-resize;
|
|
1015
|
+
}
|
|
1016
|
+
.agent-computer__edge[data-edge*="n"] {
|
|
1017
|
+
top: 0;
|
|
1018
|
+
}
|
|
1019
|
+
.agent-computer__edge[data-edge*="s"] {
|
|
1020
|
+
bottom: 0;
|
|
1021
|
+
}
|
|
1022
|
+
.agent-computer__edge[data-edge*="w"] {
|
|
1023
|
+
left: 0;
|
|
1024
|
+
}
|
|
1025
|
+
.agent-computer__edge[data-edge*="e"] {
|
|
1026
|
+
right: 0;
|
|
1027
|
+
}
|
|
1028
|
+
.agent-computer__edge:is([data-edge="ne"], [data-edge="nw"], [data-edge="se"], [data-edge="sw"]) {
|
|
1029
|
+
inline-size: var(--computer-corner);
|
|
1030
|
+
block-size: var(--computer-corner);
|
|
1031
|
+
}
|
|
1032
|
+
.agent-computer__edge:is([data-edge="nw"], [data-edge="se"]) {
|
|
1033
|
+
cursor: nwse-resize;
|
|
1034
|
+
}
|
|
1035
|
+
.agent-computer__edge:is([data-edge="ne"], [data-edge="sw"]) {
|
|
1036
|
+
cursor: nesw-resize;
|
|
1037
|
+
}
|
|
1038
|
+
@media (any-pointer: coarse) {
|
|
1039
|
+
.agent-computer__resize {
|
|
1040
|
+
inline-size: var(--sigvelo-touch-target);
|
|
1041
|
+
block-size: var(--sigvelo-touch-target);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
.agent-computer__window-content {
|
|
1045
|
+
display: grid;
|
|
1046
|
+
grid-template-rows: var(--sigvelo-layout-track-fill);
|
|
1047
|
+
min-block-size: 0;
|
|
1048
|
+
min-inline-size: 0;
|
|
1049
|
+
overflow: auto;
|
|
1050
|
+
overscroll-behavior: contain;
|
|
1051
|
+
}
|
|
1052
|
+
/* ---- the Dock ---------------------------------------------------------- */
|
|
1053
|
+
/* Compact 40px artwork sits in 48px slots inside a 56px plate. A crowded Dock
|
|
1054
|
+
shrinks the slot by `--computer-dock-fit`, which the Dock writes on its row
|
|
1055
|
+
when the row runs out of room, rather than scrolling, as macOS's does. Magnification
|
|
1056
|
+
moves nothing in the layout: the shell writes each item's scale and
|
|
1057
|
+
sideways shift, and the plate's stretch, and the stylesheet carries them on
|
|
1058
|
+
transforms over one shared spring. */
|
|
1059
|
+
.agent-computer__dock {
|
|
1060
|
+
--computer-duration-dock-launch: 800ms; /* DeskInTab's two 400ms arcs. */
|
|
1061
|
+
--computer-dock-tile: calc(var(--sigvelo-spacing-12) * var(--computer-dock-fit, 1));
|
|
1062
|
+
|
|
1063
|
+
/* Placed, not flowed: full screen and an open phone app span the stage
|
|
1064
|
+
over this row, and a flowed Dock would open a row of its own below. */
|
|
1065
|
+
grid-row: 2;
|
|
1066
|
+
grid-column: 1 / -1;
|
|
1067
|
+
display: flex;
|
|
1068
|
+
justify-self: center;
|
|
1069
|
+
align-items: center;
|
|
1070
|
+
/* The plate is the box `offsetLeft` measures resting slots from, and the
|
|
1071
|
+
floor its own glass sits on. */
|
|
1072
|
+
position: relative;
|
|
1073
|
+
isolation: isolate;
|
|
1074
|
+
margin: var(--sigvelo-spacing-2) var(--sigvelo-spacing-3) var(--sigvelo-spacing-1);
|
|
1075
|
+
padding: var(--sigvelo-spacing-1);
|
|
1076
|
+
border: 0;
|
|
1077
|
+
border-radius: var(--sigvelo-radius-2xl);
|
|
1078
|
+
}
|
|
1079
|
+
/* The desktop plate is drawn by a layer of its own, so it can widen with the
|
|
1080
|
+
magnified row by a transform: stretched from its centre by the growth the
|
|
1081
|
+
shell measured, with its corners drawn that much narrower so they come out
|
|
1082
|
+
round. iOS's plate, under the narrow container, is the Dock box itself. */
|
|
1083
|
+
@container agent-computer (inline-size > 48rem) {
|
|
1084
|
+
.agent-computer__dock::before {
|
|
1085
|
+
content: "";
|
|
1086
|
+
position: absolute;
|
|
1087
|
+
inset: 0;
|
|
1088
|
+
z-index: -1;
|
|
1089
|
+
border-radius: calc(var(--sigvelo-radius-2xl) / var(--computer-dock-stretch, 1)) /
|
|
1090
|
+
var(--sigvelo-radius-2xl);
|
|
1091
|
+
background: var(--sigvelo-color-surface-raised);
|
|
1092
|
+
box-shadow:
|
|
1093
|
+
inset 0 var(--sigvelo-border-width) 0 var(--computer-glass-edge),
|
|
1094
|
+
inset 0 calc(-1 * var(--sigvelo-border-width-hairline)) 0
|
|
1095
|
+
color-mix(in oklab, transparent, var(--sigvelo-color-shadow) 12%),
|
|
1096
|
+
var(--sigvelo-elevation-floating);
|
|
1097
|
+
pointer-events: none;
|
|
1098
|
+
scale: var(--computer-dock-stretch, 1) 1;
|
|
1099
|
+
transition:
|
|
1100
|
+
scale var(--sigvelo-motion-duration-interaction) var(--sigvelo-ease-spring-smooth),
|
|
1101
|
+
border-radius var(--sigvelo-motion-duration-interaction) var(--sigvelo-ease-spring-smooth);
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
/* A Dock tile is a frame part that happens to be a control: it carries its own
|
|
1105
|
+
slot, and the house recipe still draws everything else. The hover fill is
|
|
1106
|
+
re-pointed through the ghost hook rather than painted over. The
|
|
1107
|
+
hook is set under `:hover` alone, because the house recipe reads it for an
|
|
1108
|
+
open popup too and the tooltip opens on keyboard focus: a tabbed-to tile
|
|
1109
|
+
keeps the house's own resting fill, which is how it tells you where you are. */
|
|
1110
|
+
.agent-computer__app:hover {
|
|
1111
|
+
--sigvelo-recipe-button-ghost-fill: transparent;
|
|
1112
|
+
}
|
|
1113
|
+
.agent-computer__app {
|
|
1114
|
+
position: relative;
|
|
1115
|
+
flex: none;
|
|
1116
|
+
flex-direction: column;
|
|
1117
|
+
inline-size: var(--computer-dock-tile);
|
|
1118
|
+
min-inline-size: 0;
|
|
1119
|
+
block-size: var(--computer-dock-tile);
|
|
1120
|
+
}
|
|
1121
|
+
/* Every item in the row slides aside as its neighbours grow: the whole item,
|
|
1122
|
+
so its target, its running dot, its focus ring and a window parked on it
|
|
1123
|
+
(anchored to it) travel together. The transition list is the Dock's own,
|
|
1124
|
+
so the slide rides the artwork's spring; the press still dips. */
|
|
1125
|
+
.agent-computer__dock
|
|
1126
|
+
:is(.agent-computer__app, .agent-computer__miniature, .agent-computer__dock-divider) {
|
|
1127
|
+
translate: var(--computer-dock-shift, 0px) 0;
|
|
1128
|
+
transition:
|
|
1129
|
+
background-color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
|
|
1130
|
+
color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
|
|
1131
|
+
box-shadow var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
|
|
1132
|
+
opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
|
|
1133
|
+
translate var(--sigvelo-motion-duration-interaction) var(--sigvelo-ease-spring-smooth);
|
|
1134
|
+
}
|
|
1135
|
+
.agent-computer__dock
|
|
1136
|
+
:is(.agent-computer__app, .agent-computer__miniature):active:not([data-disabled]) {
|
|
1137
|
+
translate: var(--computer-dock-shift, 0px) var(--sigvelo-motion-distance-xs);
|
|
1138
|
+
}
|
|
1139
|
+
/* The label over an item follows it the same way: placed against the resting
|
|
1140
|
+
slot, then moved by the item's shift and its artwork's rise. */
|
|
1141
|
+
.agent-computer__dock-label {
|
|
1142
|
+
translate: var(--computer-dock-shift, 0px) calc(-1 * var(--computer-dock-rise, 0px));
|
|
1143
|
+
transition: translate var(--sigvelo-motion-duration-interaction) var(--sigvelo-ease-spring-smooth);
|
|
1144
|
+
}
|
|
1145
|
+
/* A resting desktop icon, with a twelfth of the slot either side inside its
|
|
1146
|
+
target. A press dims the artwork under the button's own dip. */
|
|
1147
|
+
.agent-computer__app-icon {
|
|
1148
|
+
--sigvelo-recipe-app-icon-size: calc(var(--computer-dock-tile) * 5 / 6);
|
|
1149
|
+
|
|
1150
|
+
scale: 1;
|
|
1151
|
+
translate: 0;
|
|
1152
|
+
transform: translateY(0);
|
|
1153
|
+
transform-origin: center bottom;
|
|
1154
|
+
transition:
|
|
1155
|
+
filter var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
|
|
1156
|
+
scale var(--sigvelo-motion-duration-interaction) var(--sigvelo-ease-spring-smooth),
|
|
1157
|
+
translate var(--sigvelo-motion-duration-interaction) var(--sigvelo-ease-spring-smooth);
|
|
1158
|
+
}
|
|
1159
|
+
@container agent-computer (inline-size > 48rem) {
|
|
1160
|
+
/* Magnification is a fine pointer's: the Dock writes no scale under Reduce
|
|
1161
|
+
Motion, and the launch bounce stops with every other animation there. */
|
|
1162
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1163
|
+
/* Lift magnified art away from its running dot. The shared sampled spring
|
|
1164
|
+
matches the reference's gentle settle without a JavaScript animator. */
|
|
1165
|
+
.agent-computer__app-icon {
|
|
1166
|
+
scale: var(--computer-dock-scale, 1);
|
|
1167
|
+
translate: 0 calc((1 - var(--computer-dock-scale, 1)) * var(--computer-dock-tile) * 5 / 12);
|
|
1168
|
+
pointer-events: none;
|
|
1169
|
+
}
|
|
1170
|
+
/* The target grows with its art: up over the raised artwork and out to
|
|
1171
|
+
its neighbours, which have moved aside by exactly that much. */
|
|
1172
|
+
.agent-computer__app::before {
|
|
1173
|
+
content: "";
|
|
1174
|
+
position: absolute;
|
|
1175
|
+
inset-inline: calc((1 - var(--computer-dock-scale, 1)) * 50%);
|
|
1176
|
+
inset-block-end: 0;
|
|
1177
|
+
inset-block-start: calc(
|
|
1178
|
+
(1 - var(--computer-dock-scale, 1)) * var(--computer-dock-tile) * 5 / 4
|
|
1179
|
+
);
|
|
1180
|
+
}
|
|
1181
|
+
.agent-computer__app[data-launching] .agent-computer__app-icon {
|
|
1182
|
+
/* transform is independent of proximity's scale and translate. */
|
|
1183
|
+
animation: computer-dock-launch var(--computer-duration-dock-launch) ease-in-out;
|
|
1184
|
+
}
|
|
1185
|
+
.agent-computer__app:focus-visible .agent-computer__app-icon {
|
|
1186
|
+
scale: max(var(--computer-dock-scale, 1), 1.16);
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
@keyframes computer-dock-launch {
|
|
1191
|
+
0%,
|
|
1192
|
+
100% {
|
|
1193
|
+
transform: translateY(0);
|
|
1194
|
+
}
|
|
1195
|
+
50% {
|
|
1196
|
+
transform: translateY(calc(-1 * var(--sigvelo-spacing-6)));
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
.agent-computer__app:active .agent-computer__app-icon {
|
|
1200
|
+
filter: brightness(0.88);
|
|
1201
|
+
}
|
|
1202
|
+
/* The Trash darkens under files held over it, as macOS's does. */
|
|
1203
|
+
.agent-computer__trash[data-drop-target] .agent-computer__app-icon {
|
|
1204
|
+
filter: brightness(0.7);
|
|
1205
|
+
}
|
|
1206
|
+
/* Apple's running dot is a neutral 4pt dot, the same in every tile, centred
|
|
1207
|
+
below the artwork at the slot's bottom edge. */
|
|
1208
|
+
.agent-computer__open-dot {
|
|
1209
|
+
position: absolute;
|
|
1210
|
+
inset-block-end: calc(-1 * var(--sigvelo-spacing-0-5));
|
|
1211
|
+
inline-size: var(--sigvelo-spacing-1);
|
|
1212
|
+
block-size: var(--sigvelo-spacing-1);
|
|
1213
|
+
background: var(--sigvelo-color-text);
|
|
1214
|
+
border-radius: var(--sigvelo-radius-full);
|
|
1215
|
+
/* Always there, lit when the app is running. */
|
|
1216
|
+
opacity: 0;
|
|
1217
|
+
transition: opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
|
|
1218
|
+
}
|
|
1219
|
+
.agent-computer__open-dot[data-open] {
|
|
1220
|
+
opacity: 1;
|
|
1221
|
+
}
|
|
1222
|
+
/* An app the agent opened behind your work. Its tile bounces once, as a
|
|
1223
|
+
background app asking for attention does on macOS, and its artwork keeps a
|
|
1224
|
+
neutral dot at the corner until the app comes forward. A phone's Home icon,
|
|
1225
|
+
found by the `data-app-id` the app zoom uses, carries the same dot. */
|
|
1226
|
+
.agent-computer__app[data-attention] .agent-computer__app-icon::after,
|
|
1227
|
+
.agent-computer__home [data-app-id][data-attention]::after {
|
|
1228
|
+
content: "";
|
|
1229
|
+
position: absolute;
|
|
1230
|
+
inset-block-start: calc(-1 * var(--sigvelo-spacing-0-5));
|
|
1231
|
+
inset-inline-end: calc(-1 * var(--sigvelo-spacing-0-5));
|
|
1232
|
+
inline-size: var(--sigvelo-spacing-2-5);
|
|
1233
|
+
block-size: var(--sigvelo-spacing-2-5);
|
|
1234
|
+
border-radius: var(--sigvelo-radius-full);
|
|
1235
|
+
background: var(--sigvelo-color-text);
|
|
1236
|
+
box-shadow: 0 0 0 var(--sigvelo-spacing-0-5) var(--sigvelo-color-surface);
|
|
1237
|
+
}
|
|
1238
|
+
.agent-computer__app[data-attention]:not([data-launching]) .agent-computer__app-icon {
|
|
1239
|
+
animation: computer-dock-launch var(--computer-duration-dock-launch) ease-in-out;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
/*
|
|
1243
|
+
* The Dock's trailing section. macOS separates the applications from the Trash
|
|
1244
|
+
* — and from any window parked in the Dock — with one vertical hairline, and
|
|
1245
|
+
* shows a minimized window there as a miniature of itself.
|
|
1246
|
+
*
|
|
1247
|
+
* Measured on references/apple-ui/images/mac-window-tiling.png: the divider is
|
|
1248
|
+
* a 1px line running y 696..732 in a plate that runs y 690..740, so 37px of a
|
|
1249
|
+
* 50px plate (74 %), and the artwork either side of it is 28px apart against
|
|
1250
|
+
* the 9.8px that separates two neighbouring tiles (39.4px pitch, 29.6px art).
|
|
1251
|
+
* The compact plate keeps the divider within its 48pt content height and
|
|
1252
|
+
* gives it 10pt of margin on either side.
|
|
1253
|
+
*/
|
|
1254
|
+
/*
|
|
1255
|
+
* macOS slides the Dock's tiles apart as a window arrives and closes the gap
|
|
1256
|
+
* behind one that leaves. The row takes its new layout at once and the shell
|
|
1257
|
+
* slides every item, and scales the plate, from where it was on screen, so
|
|
1258
|
+
* the Dock is laid out once per change rather than once per frame.
|
|
1259
|
+
*/
|
|
1260
|
+
.agent-computer__dock-trailing {
|
|
1261
|
+
display: flex;
|
|
1262
|
+
flex: none;
|
|
1263
|
+
align-items: center;
|
|
1264
|
+
}
|
|
1265
|
+
/* With nothing past it — no parked window, no Trash — the divider leaves the
|
|
1266
|
+
row at once, so the Dock closes up in the same single layout, and fades out
|
|
1267
|
+
where it stood, sliding with the tiles beside it. Its margins go too: out of
|
|
1268
|
+
the row they would only push its box past the Dock's edge, and the slide
|
|
1269
|
+
starts it from where it stood anyway. */
|
|
1270
|
+
.agent-computer__dock-divider:only-child {
|
|
1271
|
+
position: absolute;
|
|
1272
|
+
margin-inline: 0;
|
|
1273
|
+
opacity: 0;
|
|
1274
|
+
}
|
|
1275
|
+
.agent-computer__dock-divider {
|
|
1276
|
+
flex: none;
|
|
1277
|
+
align-self: center;
|
|
1278
|
+
inline-size: var(--sigvelo-border-width);
|
|
1279
|
+
block-size: var(--computer-dock-tile);
|
|
1280
|
+
margin-inline: var(--sigvelo-spacing-2-5);
|
|
1281
|
+
background: color-mix(in oklab, transparent, var(--sigvelo-color-text) 15%);
|
|
1282
|
+
}
|
|
1283
|
+
/* The slot a parked window sits over: the Dock's own 48pt control height, and
|
|
1284
|
+
the window's proportions, so the miniature lands square on it. The slot is
|
|
1285
|
+
the restore control as well as the shape — one element, so pointing at the
|
|
1286
|
+
miniature and tabbing to it arrive at the same place, and the ring the
|
|
1287
|
+
control draws lands outside the picture parked on it. */
|
|
1288
|
+
.agent-computer__miniature:hover {
|
|
1289
|
+
/* The window parked on it is the picture; the Dock changes nothing on hover
|
|
1290
|
+
but the tooltip, exactly as a tile beside it does. Under `:hover` alone:
|
|
1291
|
+
the same recipe reads the hook for an open popup, and the tooltip opens on
|
|
1292
|
+
keyboard focus, where the house's own resting fill marks the tabbed-to
|
|
1293
|
+
slot. */
|
|
1294
|
+
--sigvelo-recipe-button-ghost-fill: transparent;
|
|
1295
|
+
}
|
|
1296
|
+
.agent-computer__miniature {
|
|
1297
|
+
anchor-name: var(--computer-miniature-anchor);
|
|
1298
|
+
position: relative;
|
|
1299
|
+
flex: none;
|
|
1300
|
+
align-self: center;
|
|
1301
|
+
block-size: var(--computer-dock-tile);
|
|
1302
|
+
inline-size: calc(var(--computer-dock-tile) * var(--computer-miniature-aspect, 1));
|
|
1303
|
+
min-inline-size: 0;
|
|
1304
|
+
border-radius: var(--sigvelo-radius-xs);
|
|
1305
|
+
}
|
|
1306
|
+
/* The slot's own fill is a layer of its own, because the slot is its window's
|
|
1307
|
+
anchor: a transform on the slot would move the window with it and lay it
|
|
1308
|
+
out again on every frame, so the Dock slides this layer instead. */
|
|
1309
|
+
.agent-computer__miniature::before {
|
|
1310
|
+
content: "";
|
|
1311
|
+
position: absolute;
|
|
1312
|
+
inset: 0;
|
|
1313
|
+
border-radius: inherit;
|
|
1314
|
+
background: color-mix(in oklab, transparent, var(--sigvelo-color-text) 10%);
|
|
1315
|
+
pointer-events: none;
|
|
1316
|
+
}
|
|
1317
|
+
.agent-computer__miniature + .agent-computer__miniature {
|
|
1318
|
+
margin-inline-start: var(--sigvelo-spacing-2);
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
/* The Dock is a glass plate over the wallpaper: a translucent fill, the blur
|
|
1322
|
+
and saturation that carry the wallpaper through it, and one lit edge from
|
|
1323
|
+
the elevation stack. Content surfaces stay opaque. */
|
|
1324
|
+
.agent-computer__dock::before {
|
|
1325
|
+
/* Thinner than a panel's glass: a Dock plate is the wallpaper's colour
|
|
1326
|
+
seen through frosted material, not a white plate over it. Measured off
|
|
1327
|
+
the Tahoe Dock, which resolves to its surface at ~35% over the
|
|
1328
|
+
wallpaper behind it. */
|
|
1329
|
+
background: color-mix(in oklab, var(--sigvelo-color-surface-raised), transparent 64%);
|
|
1330
|
+
backdrop-filter: var(--sigvelo-glass-filter-chrome);
|
|
1331
|
+
}
|
|
1332
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
1333
|
+
.agent-computer__dock::before {
|
|
1334
|
+
background: var(--sigvelo-color-surface-raised);
|
|
1335
|
+
backdrop-filter: none;
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
/* ---- edge tiling and the app switcher --------------------------------- */
|
|
1340
|
+
/* Sequoia's tiling preview: the tile a dragged window will fill, as frosted
|
|
1341
|
+
glass under that window. It follows the pointer from edge to edge by
|
|
1342
|
+
transitioning its own frame, and arrives from slightly inside it. */
|
|
1343
|
+
.agent-computer__tile-preview {
|
|
1344
|
+
position: absolute;
|
|
1345
|
+
inset-block-start: 0;
|
|
1346
|
+
/* Physical, as a window's tile frame is, so the preview names the side the
|
|
1347
|
+
window lands on in a right-to-left document too. */
|
|
1348
|
+
left: 0;
|
|
1349
|
+
inline-size: 50cqi;
|
|
1350
|
+
block-size: 100cqb;
|
|
1351
|
+
border-radius: var(--sigvelo-radius-lg);
|
|
1352
|
+
background: color-mix(in oklab, var(--sigvelo-color-surface-raised), transparent 55%);
|
|
1353
|
+
backdrop-filter: var(--sigvelo-glass-filter-chrome);
|
|
1354
|
+
box-shadow:
|
|
1355
|
+
inset 0 var(--sigvelo-border-width-hairline) 0 var(--computer-glass-edge),
|
|
1356
|
+
var(--sigvelo-elevation-floating);
|
|
1357
|
+
pointer-events: none;
|
|
1358
|
+
opacity: 1;
|
|
1359
|
+
scale: 1;
|
|
1360
|
+
transition:
|
|
1361
|
+
left var(--computer-duration-snap) var(--sigvelo-ease-spring-smooth),
|
|
1362
|
+
inset-block-start var(--computer-duration-snap) var(--sigvelo-ease-spring-smooth),
|
|
1363
|
+
inline-size var(--computer-duration-snap) var(--sigvelo-ease-spring-smooth),
|
|
1364
|
+
block-size var(--computer-duration-snap) var(--sigvelo-ease-spring-smooth),
|
|
1365
|
+
opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
|
|
1366
|
+
scale var(--computer-duration-snap) var(--sigvelo-ease-spring-smooth);
|
|
1367
|
+
}
|
|
1368
|
+
@starting-style {
|
|
1369
|
+
.agent-computer__tile-preview {
|
|
1370
|
+
opacity: 0;
|
|
1371
|
+
scale: 0.96;
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
.agent-computer__tile-preview[data-placement="right"] {
|
|
1375
|
+
left: 50cqi;
|
|
1376
|
+
}
|
|
1377
|
+
.agent-computer__tile-preview[data-placement="fill"] {
|
|
1378
|
+
inline-size: 100cqi;
|
|
1379
|
+
}
|
|
1380
|
+
/* The halves across the desktop and the quarters: the same outline, carried
|
|
1381
|
+
to the tile's own share of the stage. */
|
|
1382
|
+
.agent-computer__tile-preview:is([data-placement="top"], [data-placement="bottom"]) {
|
|
1383
|
+
inline-size: 100cqi;
|
|
1384
|
+
}
|
|
1385
|
+
.agent-computer__tile-preview:is(
|
|
1386
|
+
[data-placement="top"],
|
|
1387
|
+
[data-placement="bottom"],
|
|
1388
|
+
[data-placement="topLeft"],
|
|
1389
|
+
[data-placement="topRight"],
|
|
1390
|
+
[data-placement="bottomLeft"],
|
|
1391
|
+
[data-placement="bottomRight"]
|
|
1392
|
+
) {
|
|
1393
|
+
block-size: 50cqb;
|
|
1394
|
+
}
|
|
1395
|
+
.agent-computer__tile-preview:is([data-placement="topRight"], [data-placement="bottomRight"]) {
|
|
1396
|
+
left: 50cqi;
|
|
1397
|
+
}
|
|
1398
|
+
.agent-computer__tile-preview:is(
|
|
1399
|
+
[data-placement="bottom"],
|
|
1400
|
+
[data-placement="bottomLeft"],
|
|
1401
|
+
[data-placement="bottomRight"]
|
|
1402
|
+
) {
|
|
1403
|
+
inset-block-start: 50cqb;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/* The ⌘Tab switcher: one glass plate centred on the screen, the running apps
|
|
1407
|
+
at Dock size in a row and the highlighted one on a rounded fill with its
|
|
1408
|
+
name under the row. It waits a beat before it shows, as macOS does, so a
|
|
1409
|
+
quick ⌥Tab switches without flashing it. */
|
|
1410
|
+
.agent-computer__app-switch {
|
|
1411
|
+
position: absolute;
|
|
1412
|
+
inset: 0;
|
|
1413
|
+
z-index: var(--sigvelo-z-overlay);
|
|
1414
|
+
display: grid;
|
|
1415
|
+
place-items: center;
|
|
1416
|
+
pointer-events: none;
|
|
1417
|
+
}
|
|
1418
|
+
.agent-computer__app-switch-panel {
|
|
1419
|
+
display: flex;
|
|
1420
|
+
flex-wrap: wrap;
|
|
1421
|
+
justify-content: center;
|
|
1422
|
+
gap: var(--sigvelo-spacing-1);
|
|
1423
|
+
max-inline-size: calc(100% - var(--sigvelo-spacing-8));
|
|
1424
|
+
padding: var(--sigvelo-spacing-3) var(--sigvelo-spacing-3) var(--sigvelo-spacing-2);
|
|
1425
|
+
border-radius: var(--sigvelo-radius-2xl);
|
|
1426
|
+
background: color-mix(in oklab, var(--sigvelo-color-surface-raised), transparent 30%);
|
|
1427
|
+
backdrop-filter: var(--sigvelo-glass-filter-chrome);
|
|
1428
|
+
box-shadow:
|
|
1429
|
+
inset 0 var(--sigvelo-border-width) 0 var(--computer-glass-edge),
|
|
1430
|
+
var(--sigvelo-elevation-overlay);
|
|
1431
|
+
pointer-events: auto;
|
|
1432
|
+
opacity: 1;
|
|
1433
|
+
transition: opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change)
|
|
1434
|
+
var(--computer-delay-app-switch);
|
|
1435
|
+
}
|
|
1436
|
+
@starting-style {
|
|
1437
|
+
.agent-computer__app-switch-panel {
|
|
1438
|
+
opacity: 0;
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
.agent-computer__app-switch-list {
|
|
1442
|
+
display: contents;
|
|
1443
|
+
}
|
|
1444
|
+
.agent-computer__app-switch-item {
|
|
1445
|
+
display: grid;
|
|
1446
|
+
place-items: center;
|
|
1447
|
+
padding: var(--sigvelo-spacing-2);
|
|
1448
|
+
border-radius: var(--sigvelo-radius-xl);
|
|
1449
|
+
cursor: default;
|
|
1450
|
+
}
|
|
1451
|
+
.agent-computer__app-switch-item[aria-selected="true"] {
|
|
1452
|
+
--sigvelo-color-text-muted: var(--sigvelo-color-neutral-text-on-subtle);
|
|
1453
|
+
background: var(--sigvelo-color-neutral-bg-selected);
|
|
1454
|
+
}
|
|
1455
|
+
.agent-computer__app-switch-label {
|
|
1456
|
+
flex-basis: 100%;
|
|
1457
|
+
text-align: center;
|
|
1458
|
+
font-size: var(--sigvelo-text-compact);
|
|
1459
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
1460
|
+
color: var(--sigvelo-color-text);
|
|
1461
|
+
}
|
|
1462
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
1463
|
+
.agent-computer__tile-preview,
|
|
1464
|
+
.agent-computer__app-switch-panel {
|
|
1465
|
+
background: var(--sigvelo-color-surface-raised);
|
|
1466
|
+
backdrop-filter: none;
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
/* ---- Mission Control and App Exposé ---------------------------------- */
|
|
1471
|
+
/*
|
|
1472
|
+
* Every window side by side, in a grid the shell lays out from where the
|
|
1473
|
+
* windows stand. Each one is the live window, moved by one transform the shell
|
|
1474
|
+
* writes: into its slot, then scaled, from its centre. The trip there and the
|
|
1475
|
+
* trip back are the window's own transform transition, so a second press
|
|
1476
|
+
* halfway turns it round from the frame on screen. A window App Exposé leaves
|
|
1477
|
+
* out fades where it stands. `data-exposed` and the variables stay on a window
|
|
1478
|
+
* until it is home again, so it comes back on the same timing it left on.
|
|
1479
|
+
*
|
|
1480
|
+
* Registered and not inherited: a value on the window is for the window, and
|
|
1481
|
+
* changing it restyles nothing inside it.
|
|
1482
|
+
*
|
|
1483
|
+
* Under either reduced-motion switch the global policy stops transform
|
|
1484
|
+
* transitions: the windows arrive in their slots and only the dimming fades.
|
|
1485
|
+
*/
|
|
1486
|
+
@property --computer-expose-transform {
|
|
1487
|
+
syntax: "*";
|
|
1488
|
+
inherits: false;
|
|
1489
|
+
}
|
|
1490
|
+
@property --computer-expose-translate {
|
|
1491
|
+
syntax: "*";
|
|
1492
|
+
inherits: false;
|
|
1493
|
+
}
|
|
1494
|
+
@property --computer-expose-scale {
|
|
1495
|
+
syntax: "*";
|
|
1496
|
+
inherits: false;
|
|
1497
|
+
}
|
|
1498
|
+
.agent-computer {
|
|
1499
|
+
/* Mission Control opening and closing. Apple documents no number; this is
|
|
1500
|
+
an estimate, a little slower than a window opening because every window
|
|
1501
|
+
travels at once. */
|
|
1502
|
+
--computer-duration-expose: 350ms;
|
|
1503
|
+
}
|
|
1504
|
+
.agent-computer__window[data-exposed] {
|
|
1505
|
+
transition:
|
|
1506
|
+
opacity var(--computer-duration-expose) var(--sigvelo-ease-spring-smooth),
|
|
1507
|
+
transform var(--computer-duration-expose) var(--sigvelo-ease-spring-smooth),
|
|
1508
|
+
box-shadow var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
|
|
1509
|
+
}
|
|
1510
|
+
.agent-computer[data-expose]
|
|
1511
|
+
.agent-computer__window:not([data-minimized], [data-hidden], [data-closing]) {
|
|
1512
|
+
opacity: 0;
|
|
1513
|
+
transform: scale(var(--computer-window-away-scale));
|
|
1514
|
+
}
|
|
1515
|
+
/* After the Home rule that hides the desktop's windows: the overview shows them. */
|
|
1516
|
+
.agent-computer[data-expose]
|
|
1517
|
+
.agent-computer__window[data-exposed]:not([data-minimized], [data-hidden], [data-closing]) {
|
|
1518
|
+
visibility: visible;
|
|
1519
|
+
opacity: 1;
|
|
1520
|
+
transform: var(--computer-expose-transform, none);
|
|
1521
|
+
}
|
|
1522
|
+
/* App Exposé's row of minimized windows. A parked window stands in the top
|
|
1523
|
+
layer over its Dock slot, scaled from its corner, so it travels with the two
|
|
1524
|
+
properties that park it rather than with `transform`. */
|
|
1525
|
+
.agent-computer__window[data-minimized][data-exposed] {
|
|
1526
|
+
transition:
|
|
1527
|
+
opacity var(--computer-duration-expose) var(--sigvelo-ease-spring-smooth),
|
|
1528
|
+
transform var(--computer-duration-expose) var(--sigvelo-ease-spring-smooth),
|
|
1529
|
+
box-shadow var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
|
|
1530
|
+
translate var(--computer-duration-expose) var(--sigvelo-ease-spring-smooth),
|
|
1531
|
+
scale var(--computer-duration-expose) var(--sigvelo-ease-spring-smooth);
|
|
1532
|
+
}
|
|
1533
|
+
.agent-computer[data-expose] .agent-computer__window[data-minimized][data-exposed] {
|
|
1534
|
+
translate: var(--computer-expose-translate, none);
|
|
1535
|
+
scale: var(--computer-expose-scale, var(--computer-miniature-scale, 0.1));
|
|
1536
|
+
}
|
|
1537
|
+
/* The badge undoes the Dock's scale, not the overview's. */
|
|
1538
|
+
.agent-computer[data-expose]
|
|
1539
|
+
.agent-computer__window[data-exposed]
|
|
1540
|
+
.agent-computer__miniature-badge {
|
|
1541
|
+
visibility: hidden;
|
|
1542
|
+
}
|
|
1543
|
+
/* The desktop dims under the windows; the menu bar and the Dock stay. Drawn by
|
|
1544
|
+
the stage, after Home and the desktop's icons and under every window. */
|
|
1545
|
+
.agent-computer__stage::after {
|
|
1546
|
+
content: "";
|
|
1547
|
+
position: absolute;
|
|
1548
|
+
inset: 0;
|
|
1549
|
+
z-index: 0;
|
|
1550
|
+
pointer-events: none;
|
|
1551
|
+
background: color-mix(in oklab, transparent, var(--sigvelo-color-shadow) 32%);
|
|
1552
|
+
opacity: 0;
|
|
1553
|
+
transition: opacity var(--computer-duration-expose) var(--sigvelo-motion-ease-change);
|
|
1554
|
+
}
|
|
1555
|
+
.agent-computer[data-expose] .agent-computer__stage::after {
|
|
1556
|
+
opacity: 1;
|
|
1557
|
+
}
|
|
1558
|
+
/* The overview is the whole screen while it is up. The desktop's icons leave
|
|
1559
|
+
it, as macOS hides them for Mission Control, so the dimmed wallpaper is one
|
|
1560
|
+
plane under the windows; and a notification banner waits behind it rather
|
|
1561
|
+
than covering a window, coming back when the overview ends. */
|
|
1562
|
+
:is(.agent-computer__desktop, .agent-computer__portal [data-slot="toast-viewport"]) {
|
|
1563
|
+
transition:
|
|
1564
|
+
opacity var(--computer-duration-expose) var(--sigvelo-motion-ease-change),
|
|
1565
|
+
visibility var(--computer-duration-expose);
|
|
1566
|
+
}
|
|
1567
|
+
.agent-computer[data-expose]
|
|
1568
|
+
:is(.agent-computer__desktop, .agent-computer__portal [data-slot="toast-viewport"]) {
|
|
1569
|
+
visibility: hidden;
|
|
1570
|
+
opacity: 0;
|
|
1571
|
+
}
|
|
1572
|
+
/* The pickable layer: the stage's own grid cell, over the stage, whose windows
|
|
1573
|
+
are inert under it. Each picker covers the window it names. */
|
|
1574
|
+
.agent-computer__expose {
|
|
1575
|
+
grid-area: 1 / 1;
|
|
1576
|
+
position: relative;
|
|
1577
|
+
z-index: 2;
|
|
1578
|
+
min-block-size: 0;
|
|
1579
|
+
}
|
|
1580
|
+
.agent-computer__expose-window {
|
|
1581
|
+
position: absolute;
|
|
1582
|
+
/* Physical, like the windows they cover: the shell measures both in the
|
|
1583
|
+
stage's own pixels. */
|
|
1584
|
+
left: var(--computer-expose-x, 0);
|
|
1585
|
+
top: var(--computer-expose-y, 0);
|
|
1586
|
+
inline-size: var(--computer-expose-width, 0);
|
|
1587
|
+
block-size: var(--computer-expose-height, 0);
|
|
1588
|
+
margin: 0;
|
|
1589
|
+
padding: 0;
|
|
1590
|
+
border: 0;
|
|
1591
|
+
border-radius: calc(var(--sigvelo-radius-lg) * var(--computer-expose-ratio, 1));
|
|
1592
|
+
background: transparent;
|
|
1593
|
+
color: inherit;
|
|
1594
|
+
font: inherit;
|
|
1595
|
+
}
|
|
1596
|
+
/* macOS rings the window under the pointer in the highlight colour; the
|
|
1597
|
+
keyboard's ring is the same one. Outset, so it stays visible around a parked
|
|
1598
|
+
window, which stands in the top layer over its picker. */
|
|
1599
|
+
.agent-computer__expose-window:is(:hover, :focus-visible) {
|
|
1600
|
+
outline: var(--sigvelo-focus-ring);
|
|
1601
|
+
outline-offset: var(--sigvelo-spacing-1);
|
|
1602
|
+
}
|
|
1603
|
+
.agent-computer__expose-label {
|
|
1604
|
+
position: absolute;
|
|
1605
|
+
inset-block-start: calc(100% + var(--sigvelo-spacing-2));
|
|
1606
|
+
left: 50%;
|
|
1607
|
+
translate: -50% 0;
|
|
1608
|
+
inline-size: max-content;
|
|
1609
|
+
max-inline-size: max(100%, 10rem);
|
|
1610
|
+
color: var(--sigvelo-recipe-wallpaper-ink);
|
|
1611
|
+
text-shadow: var(--sigvelo-recipe-wallpaper-ink-shadow);
|
|
1612
|
+
font-size: var(--sigvelo-text-compact);
|
|
1613
|
+
line-height: var(--sigvelo-text-compact-leading);
|
|
1614
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
1615
|
+
/* Printed once the windows have nearly landed under it. */
|
|
1616
|
+
transition: opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change)
|
|
1617
|
+
calc(var(--computer-duration-expose) * 0.6);
|
|
1618
|
+
}
|
|
1619
|
+
@starting-style {
|
|
1620
|
+
.agent-computer__expose-label {
|
|
1621
|
+
opacity: 0;
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
/* ---- full screen ------------------------------------------------------- */
|
|
1626
|
+
/*
|
|
1627
|
+
* Full-screen is local to the companion, not the browser's Fullscreen API.
|
|
1628
|
+
* The window spans the menu bar's row and the Dock's and covers both, rather
|
|
1629
|
+
* than taking them out of the layout: the zoom into full screen captures them,
|
|
1630
|
+
* and Chrome aborts a scoped view transition whose captured element loses its
|
|
1631
|
+
* box before the capture settles ("Prepaint layout check failed"). With
|
|
1632
|
+
* `display: none` here, entering full screen cut instead of zooming about a
|
|
1633
|
+
* quarter of the time.
|
|
1634
|
+
*/
|
|
1635
|
+
.agent-computer[data-full-screen] .agent-computer__bar,
|
|
1636
|
+
.agent-computer[data-full-screen] .agent-computer__dock {
|
|
1637
|
+
visibility: hidden;
|
|
1638
|
+
}
|
|
1639
|
+
.agent-computer[data-full-screen] :is(.agent-computer__body, .agent-computer__stage) {
|
|
1640
|
+
grid-area: 1 / 1 / -1;
|
|
1641
|
+
}
|
|
1642
|
+
.agent-computer[data-full-screen] .agent-computer__desktop,
|
|
1643
|
+
.agent-computer[data-full-screen] .agent-computer__window:not([data-active]) {
|
|
1644
|
+
visibility: hidden;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
/* ---- full screen: the edges -------------------------------------------- */
|
|
1648
|
+
/*
|
|
1649
|
+
* The chrome a full-screen window covers is a pointer's rest away, as on
|
|
1650
|
+
* macOS: resting on the top edge slides the menu bar down over the window, with
|
|
1651
|
+
* the window's own title bar under it, and resting on the bottom edge slides
|
|
1652
|
+
* the Dock up. Each goes again once the pointer leaves it. The sensors are
|
|
1653
|
+
* thin bands at the shell's edges, under the chrome they reveal, so a press on
|
|
1654
|
+
* the revealed bar or Dock is theirs; at rest they are the outermost 4px of the
|
|
1655
|
+
* window, which macOS reserves the same way.
|
|
1656
|
+
*
|
|
1657
|
+
* The shell sets `data-reveal` once the pointer has rested on a sensor, and
|
|
1658
|
+
* clears it when the pointer leaves what came back; a keyboard focus in the
|
|
1659
|
+
* chrome sets it at once and clears it when focus leaves. The chrome keeps its
|
|
1660
|
+
* box throughout (see the full-screen block above): only `translate` and
|
|
1661
|
+
* `opacity` change. While the shell's view transition runs these
|
|
1662
|
+
* transitions are off, so entering and leaving full screen play the zoom alone.
|
|
1663
|
+
*/
|
|
1664
|
+
.agent-computer {
|
|
1665
|
+
/* How long the pointer rests on a full-screen edge before the chrome comes
|
|
1666
|
+
back. Estimate. */
|
|
1667
|
+
--computer-delay-reveal: 300ms;
|
|
1668
|
+
/* The distance part of a reveal; Reduce Motion steps it instead. */
|
|
1669
|
+
--computer-duration-reveal-travel: var(--computer-duration-window);
|
|
1670
|
+
}
|
|
1671
|
+
.agent-computer__reveal-edge {
|
|
1672
|
+
position: absolute;
|
|
1673
|
+
inset-inline: 0;
|
|
1674
|
+
z-index: 1;
|
|
1675
|
+
block-size: var(--sigvelo-spacing-1);
|
|
1676
|
+
}
|
|
1677
|
+
.agent-computer__reveal-edge[data-edge="top"] {
|
|
1678
|
+
inset-block-start: 0;
|
|
1679
|
+
}
|
|
1680
|
+
.agent-computer__reveal-edge[data-edge="bottom"] {
|
|
1681
|
+
inset-block-end: 0;
|
|
1682
|
+
}
|
|
1683
|
+
/* At rest: out past the edge it comes from, still laid out, and visible to
|
|
1684
|
+
the keyboard though not to the pointer, as the title bar below is. Tab, ⌃F2
|
|
1685
|
+
or ⌃F3 lands in it, and the shell brings it back for that focus. */
|
|
1686
|
+
.agent-computer:not([data-phone])[data-full-screen] .agent-computer__bar {
|
|
1687
|
+
z-index: 2;
|
|
1688
|
+
visibility: visible;
|
|
1689
|
+
translate: 0 -100%;
|
|
1690
|
+
opacity: 0;
|
|
1691
|
+
pointer-events: none;
|
|
1692
|
+
}
|
|
1693
|
+
.agent-computer:not([data-phone])[data-full-screen] .agent-computer__dock {
|
|
1694
|
+
z-index: 2;
|
|
1695
|
+
visibility: visible;
|
|
1696
|
+
translate: 0 calc(100% + var(--sigvelo-spacing-1));
|
|
1697
|
+
opacity: 0;
|
|
1698
|
+
pointer-events: none;
|
|
1699
|
+
}
|
|
1700
|
+
/* The window's own title bar leaves the grid and waits above the frame, where
|
|
1701
|
+
the frame's clip keeps it from the pointer but not from the keyboard:
|
|
1702
|
+
tabbing into it brings it down on its own. */
|
|
1703
|
+
.agent-computer:not([data-phone])
|
|
1704
|
+
.agent-computer__window[data-active][data-expanded]
|
|
1705
|
+
> .agent-computer__window-bar {
|
|
1706
|
+
position: absolute;
|
|
1707
|
+
inset-block-start: 0;
|
|
1708
|
+
inset-inline: 0;
|
|
1709
|
+
translate: 0 -100%;
|
|
1710
|
+
/* Over the content now, so its tint needs the frame's own plane under it. */
|
|
1711
|
+
background:
|
|
1712
|
+
linear-gradient(var(--sigvelo-recipe-window-bar-plane) 0 0), var(--sigvelo-color-surface-raised);
|
|
1713
|
+
}
|
|
1714
|
+
.agent-computer:not([data-phone])
|
|
1715
|
+
.agent-computer__window[data-active][data-expanded]
|
|
1716
|
+
> .agent-computer__window-bar:has(:focus-visible) {
|
|
1717
|
+
translate: none;
|
|
1718
|
+
}
|
|
1719
|
+
.agent-computer:not([data-phone])
|
|
1720
|
+
.agent-computer__window[data-active][data-expanded]
|
|
1721
|
+
> .agent-computer__window-content {
|
|
1722
|
+
grid-row: 1 / -1;
|
|
1723
|
+
}
|
|
1724
|
+
/* Revealed. */
|
|
1725
|
+
.agent-computer[data-reveal="top"]:not([data-phone])[data-full-screen] .agent-computer__bar,
|
|
1726
|
+
.agent-computer[data-reveal="bottom"]:not([data-phone])[data-full-screen] .agent-computer__dock {
|
|
1727
|
+
translate: none;
|
|
1728
|
+
opacity: 1;
|
|
1729
|
+
pointer-events: auto;
|
|
1730
|
+
}
|
|
1731
|
+
.agent-computer[data-reveal="top"]:not([data-phone])
|
|
1732
|
+
.agent-computer__window[data-active][data-expanded]
|
|
1733
|
+
> .agent-computer__window-bar {
|
|
1734
|
+
translate: 0 var(--sigvelo-spacing-7);
|
|
1735
|
+
}
|
|
1736
|
+
/* Leaving runs at once; coming back has already waited out the dwell. Only
|
|
1737
|
+
chrome that came back plays its way out: entering full screen hides it at
|
|
1738
|
+
once, under the zoom. */
|
|
1739
|
+
.agent-computer[data-reveal]:not([data-phone], [data-transition])[data-full-screen]
|
|
1740
|
+
:is(.agent-computer__bar, .agent-computer__dock),
|
|
1741
|
+
.agent-computer[data-reveal]:not([data-phone], [data-transition])
|
|
1742
|
+
.agent-computer__window[data-active][data-expanded]
|
|
1743
|
+
> .agent-computer__window-bar {
|
|
1744
|
+
transition:
|
|
1745
|
+
translate var(--computer-duration-reveal-travel) var(--sigvelo-motion-ease-exit),
|
|
1746
|
+
opacity var(--computer-duration-window) var(--sigvelo-motion-ease-exit);
|
|
1747
|
+
}
|
|
1748
|
+
.agent-computer[data-reveal="top"]:not([data-phone], [data-transition])[data-full-screen]
|
|
1749
|
+
:is(
|
|
1750
|
+
.agent-computer__bar,
|
|
1751
|
+
.agent-computer__window[data-active][data-expanded] > .agent-computer__window-bar
|
|
1752
|
+
),
|
|
1753
|
+
.agent-computer[data-reveal="bottom"]:not([data-phone], [data-transition])[data-full-screen]
|
|
1754
|
+
.agent-computer__dock {
|
|
1755
|
+
transition:
|
|
1756
|
+
translate var(--computer-duration-reveal-travel) var(--sigvelo-ease-spring-smooth),
|
|
1757
|
+
opacity var(--computer-duration-window) var(--sigvelo-ease-spring-smooth);
|
|
1758
|
+
}
|
|
1759
|
+
/* A tile command's picture in the Window menu and the green button's menu. */
|
|
1760
|
+
.agent-computer__tile-glyph {
|
|
1761
|
+
flex: none;
|
|
1762
|
+
inline-size: 1.125em;
|
|
1763
|
+
block-size: 0.875em;
|
|
1764
|
+
}
|