@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.
Files changed (484) hide show
  1. package/dist/{AgentActivity-DptCj8XQ.d.ts → AgentActivity-Cngwkalq.d.ts} +2 -9
  2. package/dist/{AgentChatQueue-DG2rGyCI.d.ts → AgentChatQueue-C1TDnVAn.d.ts} +1 -1
  3. package/dist/{AppTopBar-DwzydmXu.d.ts → AppTopBar-CM57rJID.d.ts} +7 -3
  4. package/dist/ChatGptSignInScreen-CmbBe09G.js +298 -0
  5. package/dist/{CodeBlock-BTkag9ms.d.ts → CodeBlock-BDupVceI.d.ts} +1 -1
  6. package/dist/CodeBlock-dt0L8md0.js +892 -0
  7. package/dist/{EmployeeChrome--PWdtg4B.d.ts → EmployeeChrome-kegSASjC.d.ts} +6 -5
  8. package/dist/{ExecutionBoard-DvPGdn4F.d.ts → ExecutionBoard-DBj1Aiva.d.ts} +8 -1
  9. package/dist/ExecutionResult-CXnGcmM4.js +671 -0
  10. package/dist/FileTree-CjfzpN6X.js +968 -0
  11. package/dist/{IconButton-FWsa9562.d.ts → IconButton-DXtGMkMI.d.ts} +7 -5
  12. package/dist/ManagerOffice-T79utm-P.js +2469 -0
  13. package/dist/{Menu-FA4P6KrA.d.ts → Menu-DajfQr3T.d.ts} +4 -2
  14. package/dist/{Message-BUedRDN1.d.ts → Message-BLyl6kWe.d.ts} +2 -2
  15. package/dist/{PromptInput-Dbe6WgWA.d.ts → PromptInput-DEwFMj6f.d.ts} +5 -8
  16. package/dist/{ResponsiveSidebarShell-DSAMNDdg.d.ts → ResponsiveSidebarShell-RwvmlMHS.d.ts} +23 -13
  17. package/dist/SetupChecklist-DwscX3Bw.js +230 -0
  18. package/dist/{Tabs-BYs-RgJ7.d.ts → Tabs-tyvVX3nc.d.ts} +29 -10
  19. package/dist/{ThinkChatActivity-zZaSsbC-.d.ts → ThinkChatActivity-C7xnO0Fx.d.ts} +1 -1
  20. package/dist/{ThinkChatActivitySummary-8MO1VjAJ.d.ts → ThinkChatActivitySummary-Dh4Av7x_.d.ts} +1 -1
  21. package/dist/{ThinkExecutionRun-DJ2TFDmZ.d.ts → ThinkExecutionRun-QzZVWX75.d.ts} +11 -3
  22. package/dist/ThinkSchedule-D4Ulsa0-.d.ts +53 -0
  23. package/dist/{ThinkThreadPicker-BmIZmpae.d.ts → ThinkThreadPicker-O-i2KloZ.d.ts} +1 -1
  24. package/dist/{Workspace-42LA9Zrb.d.ts → Workspace-B9nuTfIi.d.ts} +1 -1
  25. package/dist/{WorkspaceAutomation-yDZorXla.d.ts → WorkspaceAutomation-C0fghGLi.d.ts} +3 -3
  26. package/dist/WorkspaceBrowser-oBJv-Dac.js +985 -0
  27. package/dist/{WorkspaceConcept-BjrgGE1w.d.ts → WorkspaceConcept-D46cYerS.d.ts} +1 -1
  28. package/dist/{WorkspaceFile-nK2n0i4S.d.ts → WorkspaceFile-BJC6vlp_.d.ts} +15 -4
  29. package/dist/WorkspaceFileCommands-SNIjRgtU.d.ts +145 -0
  30. package/dist/WorkspaceFileTransfer-BRD22nW-.d.ts +159 -0
  31. package/dist/WorkspaceLink-DDkj-Tq5.js +407 -0
  32. package/dist/{WorkspaceMessageResponse-BZ-_I18b.js → WorkspaceMessageResponse-CXGOQgpo.js} +111 -24
  33. package/dist/{agent-tool-runs-DsOp_X2y.js → agent-tool-runs-BXKdcxl8.js} +55 -28
  34. package/dist/app-bar-outlet-BEIGl9iF.js +35 -0
  35. package/{LICENSE → dist/assets/desktop/LICENSE.fluent.txt} +1 -1
  36. package/dist/assets/desktop/LICENSE.mac-icons.txt +7 -0
  37. package/dist/assets/desktop/README.md +43 -0
  38. package/dist/assets/desktop/automations.svg +19 -0
  39. package/dist/assets/desktop/document.svg +24 -0
  40. package/dist/assets/desktop/folder.png +0 -0
  41. package/dist/assets/desktop/mail.svg +31 -0
  42. package/dist/assets/desktop/settings.svg +9 -0
  43. package/dist/assets/desktop/trash-full.svg +23 -0
  44. package/dist/assets/desktop/trash.svg +19 -0
  45. package/dist/attachment-preview-DeRqFjdz.js +68 -0
  46. package/dist/attempt-CySQHJsF.js +21 -0
  47. package/dist/command-search-1fjmCBBo.js +34 -0
  48. package/dist/components/agents-sdk/AIProviderDialog.js +757 -224
  49. package/dist/components/agents-sdk/AgentActivity.d.ts +2 -2
  50. package/dist/components/agents-sdk/AgentActivity.js +78 -31
  51. package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
  52. package/dist/components/agents-sdk/AgentChat.js +1113 -386
  53. package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
  54. package/dist/components/agents-sdk/AgentChatQueue.js +290 -173
  55. package/dist/components/agents-sdk/AgentComputer.d.ts +270 -0
  56. package/dist/components/agents-sdk/AgentComputer.js +8045 -0
  57. package/dist/components/agents-sdk/AgentEvent.js +164 -21
  58. package/dist/components/agents-sdk/AgentScreenSwitcher.d.ts +46 -0
  59. package/dist/components/agents-sdk/AgentScreenSwitcher.js +409 -0
  60. package/dist/components/agents-sdk/AgentToolRunsContext.js +139 -41
  61. package/dist/components/agents-sdk/BrowserLiveScreen.js +860 -551
  62. package/dist/components/agents-sdk/BrowserLiveView.d.ts +1 -1
  63. package/dist/components/agents-sdk/BrowserLiveView.js +244 -88
  64. package/dist/components/agents-sdk/BrowserReplay.js +298 -133
  65. package/dist/components/agents-sdk/BrowserRunPanel.d.ts +57 -1
  66. package/dist/components/agents-sdk/BrowserRunPanel.js +979 -129
  67. package/dist/components/agents-sdk/DiscordConnectionDialog.js +104 -57
  68. package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
  69. package/dist/components/agents-sdk/EmployeeApp.js +108 -46
  70. package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
  71. package/dist/components/agents-sdk/EmployeeChat.js +500 -99
  72. package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
  73. package/dist/components/agents-sdk/EmployeeChrome.js +1375 -557
  74. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
  75. package/dist/components/agents-sdk/EmployeeSchedules.js +281 -64
  76. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
  77. package/dist/components/agents-sdk/EmployeeStartScreen.js +185 -52
  78. package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
  79. package/dist/components/agents-sdk/ExecutionBoard.js +1661 -462
  80. package/dist/components/agents-sdk/ManagerAccountActions.js +142 -35
  81. package/dist/components/agents-sdk/ManagerOffice.d.ts +15 -8
  82. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  83. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  84. package/dist/components/agents-sdk/ManagerOfficeScreens.js +551 -185
  85. package/dist/components/agents-sdk/McpConnectionRequest.js +332 -117
  86. package/dist/components/agents-sdk/McpConnectorForm.js +320 -100
  87. package/dist/components/agents-sdk/McpPluginCatalog.js +697 -249
  88. package/dist/components/agents-sdk/McpServerIcon.js +57 -14
  89. package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
  90. package/dist/components/agents-sdk/McpServerPicker.js +542 -158
  91. package/dist/components/agents-sdk/ModelSelector.js +1151 -253
  92. package/dist/components/agents-sdk/PromptInputApproval.js +115 -27
  93. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  94. package/dist/components/agents-sdk/PromptInputCommands.js +33 -46
  95. package/dist/components/agents-sdk/SlackConnectionDialog.js +38 -14
  96. package/dist/components/agents-sdk/SubagentRunIndicator.js +118 -25
  97. package/dist/components/agents-sdk/SubagentRunLanes.js +291 -107
  98. package/dist/components/agents-sdk/SubagentRunPanel.js +357 -129
  99. package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
  100. package/dist/components/agents-sdk/ThinkChat.d.ts +2 -2
  101. package/dist/components/agents-sdk/ThinkChat.js +321 -132
  102. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  103. package/dist/components/agents-sdk/ThinkChatActivity.js +306 -100
  104. package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
  105. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +15 -9
  106. package/dist/components/agents-sdk/ThinkChatToolPanels.js +1386 -404
  107. package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
  108. package/dist/components/agents-sdk/ThinkExecutionDetail.js +219 -45
  109. package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +2 -2
  110. package/dist/components/agents-sdk/ThinkExecutionRun.js +19 -11
  111. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +5 -3
  112. package/dist/components/agents-sdk/ThinkExecutionStatus.js +224 -37
  113. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +8 -5
  114. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +505 -124
  115. package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
  116. package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
  117. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +71 -26
  118. package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -2
  119. package/dist/components/agents-sdk/ThinkSchedule.js +124 -1
  120. package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +3 -3
  121. package/dist/components/agents-sdk/ThinkScheduleActions.js +363 -132
  122. package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
  123. package/dist/components/agents-sdk/ThinkScheduleBrowser.js +249 -116
  124. package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
  125. package/dist/components/agents-sdk/ThinkScheduleDetail.js +311 -90
  126. package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
  127. package/dist/components/agents-sdk/ThinkScheduleForm.js +1318 -475
  128. package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
  129. package/dist/components/agents-sdk/ThinkThreadPicker.js +434 -214
  130. package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +30 -13
  131. package/dist/components/agents-sdk/WorkbenchBack.js +66 -20
  132. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  133. package/dist/components/agents-sdk/Workspace.js +491 -166
  134. package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
  135. package/dist/components/agents-sdk/WorkspaceAutomation.js +1492 -415
  136. package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
  137. package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1316 -525
  138. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +72 -2
  139. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -94
  140. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
  141. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
  142. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +619 -178
  143. package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +45 -0
  144. package/dist/components/agents-sdk/WorkspaceDesktop.js +240 -0
  145. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +52 -1
  146. package/dist/components/agents-sdk/WorkspaceExplorer.js +267 -85
  147. package/dist/components/agents-sdk/WorkspaceFile.d.ts +2 -2
  148. package/dist/components/agents-sdk/WorkspaceFile.js +30 -9
  149. package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -0
  150. package/dist/components/agents-sdk/WorkspaceFileCommands.js +890 -0
  151. package/dist/components/agents-sdk/WorkspaceFileDetails.d.ts +29 -0
  152. package/dist/components/agents-sdk/WorkspaceFileDetails.js +271 -0
  153. package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +2 -0
  154. package/dist/components/agents-sdk/WorkspaceFileTransfer.js +505 -0
  155. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +18 -3
  156. package/dist/components/agents-sdk/WorkspaceFileView.js +866 -1
  157. package/dist/components/agents-sdk/WorkspaceHeader.js +71 -26
  158. package/dist/components/agents-sdk/WorkspaceLink.js +2 -2
  159. package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
  160. package/dist/components/agents-sdk/WorkspaceLive.js +126 -73
  161. package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +63 -0
  162. package/dist/components/agents-sdk/WorkspaceLocalFolder.js +455 -0
  163. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
  164. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  165. package/dist/components/agents-sdk/WorkspaceMountManager.js +118 -58
  166. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +90 -54
  167. package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
  168. package/dist/components/agents-sdk/WorkspacePerson.js +172 -41
  169. package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
  170. package/dist/components/agents-sdk/WorkspaceProject.js +175 -41
  171. package/dist/components/ai-sdk/Activity.js +768 -192
  172. package/dist/components/ai-sdk/AgentAttention.js +286 -58
  173. package/dist/components/ai-sdk/AgentChatMessageEditor.js +193 -68
  174. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
  175. package/dist/components/ai-sdk/AgentChatStartScreen.js +368 -80
  176. package/dist/components/ai-sdk/AgentChatTurnError.js +75 -25
  177. package/dist/components/ai-sdk/AgentMessageParts.js +0 -1
  178. package/dist/components/ai-sdk/Approval.js +574 -172
  179. package/dist/components/ai-sdk/Artifact.d.ts +1 -1
  180. package/dist/components/ai-sdk/Artifact.js +535 -128
  181. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  182. package/dist/components/ai-sdk/ChainOfThought.js +404 -80
  183. package/dist/components/ai-sdk/Checkpoint.js +229 -45
  184. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  185. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  186. package/dist/components/ai-sdk/ComposerLink.js +216 -48
  187. package/dist/components/ai-sdk/ConnectedAppCards.js +229 -52
  188. package/dist/components/ai-sdk/Context.js +737 -178
  189. package/dist/components/ai-sdk/Conversation.d.ts +1 -1
  190. package/dist/components/ai-sdk/Conversation.js +305 -68
  191. package/dist/components/ai-sdk/ExpansionState.js +74 -15
  192. package/dist/components/ai-sdk/Goal.js +435 -116
  193. package/dist/components/ai-sdk/InlineCitation.js +313 -76
  194. package/dist/components/ai-sdk/MediaPreviewCard.js +451 -135
  195. package/dist/components/ai-sdk/Message.d.ts +1 -1
  196. package/dist/components/ai-sdk/Message.js +1010 -195
  197. package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
  198. package/dist/components/ai-sdk/MessageScroller.js +264 -46
  199. package/dist/components/ai-sdk/MessageScrollerVirtual.js +6 -6
  200. package/dist/components/ai-sdk/Plan.js +639 -128
  201. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  202. package/dist/components/ai-sdk/PromptInput.js +2735 -794
  203. package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +1 -3
  204. package/dist/components/ai-sdk/PromptInputComposerEditor.js +188 -83
  205. package/dist/components/ai-sdk/Queue.js +792 -154
  206. package/dist/components/ai-sdk/Reasoning.js +268 -69
  207. package/dist/components/ai-sdk/Sources.js +226 -63
  208. package/dist/components/ai-sdk/Task.js +294 -71
  209. package/dist/components/ai-sdk/ToolApproval.js +126 -26
  210. package/dist/components/ai-sdk/ToolInvocation.js +112 -22
  211. package/dist/components/extension/ChatGptSignInScreen.js +1 -82
  212. package/dist/components/extension/CodexModelSelector.d.ts +1 -1
  213. package/dist/components/extension/CodexModelSelector.js +467 -146
  214. package/dist/components/extension/ConversationTabPicker.d.ts +1 -1
  215. package/dist/components/extension/ConversationTabPicker.js +254 -76
  216. package/dist/components/extension/FirstRunSetup.d.ts +61 -35
  217. package/dist/components/extension/FirstRunSetup.js +3834 -1012
  218. package/dist/components/foundations/Accordion.js +186 -41
  219. package/dist/components/foundations/AlertDialog.js +425 -97
  220. package/dist/components/foundations/AppIcon.d.ts +13 -13
  221. package/dist/components/foundations/AppIcon.js +183 -34
  222. package/dist/components/foundations/Autocomplete.js +408 -89
  223. package/dist/components/foundations/Avatar.d.ts +100 -2
  224. package/dist/components/foundations/Avatar.js +204 -44
  225. package/dist/components/foundations/Button.js +64 -13
  226. package/dist/components/foundations/Card.js +357 -63
  227. package/dist/components/foundations/Checkbox.js +82 -17
  228. package/dist/components/foundations/CheckboxGroup.js +266 -58
  229. package/dist/components/foundations/Collapsible.d.ts +2 -1
  230. package/dist/components/foundations/Collapsible.js +129 -26
  231. package/dist/components/foundations/Combobox.js +408 -89
  232. package/dist/components/foundations/ContextMenu.d.ts +2 -2
  233. package/dist/components/foundations/ContextMenu.js +591 -117
  234. package/dist/components/foundations/DescriptionList.js +159 -28
  235. package/dist/components/foundations/Dialog.js +373 -89
  236. package/dist/components/foundations/EmptyState.js +86 -23
  237. package/dist/components/foundations/Favicon.d.ts +17 -0
  238. package/dist/components/foundations/Favicon.js +62 -0
  239. package/dist/components/foundations/Field.js +525 -108
  240. package/dist/components/foundations/Fieldset.js +115 -23
  241. package/dist/components/foundations/Form.js +38 -9
  242. package/dist/components/foundations/FormattedDate.d.ts +19 -5
  243. package/dist/components/foundations/FormattedDate.js +82 -12
  244. package/dist/components/foundations/IconButton.d.ts +1 -1
  245. package/dist/components/foundations/IconButton.js +114 -17
  246. package/dist/components/foundations/Input.js +38 -9
  247. package/dist/components/foundations/Kbd.js +55 -10
  248. package/dist/components/foundations/Label.js +56 -12
  249. package/dist/components/foundations/LinkButton.js +67 -15
  250. package/dist/components/foundations/Marker.js +138 -29
  251. package/dist/components/foundations/Menu.d.ts +1 -1
  252. package/dist/components/foundations/Menu.js +634 -136
  253. package/dist/components/foundations/Menubar.d.ts +2 -2
  254. package/dist/components/foundations/Menubar.js +685 -130
  255. package/dist/components/foundations/Meter.js +186 -41
  256. package/dist/components/foundations/NavigationMenu.js +426 -95
  257. package/dist/components/foundations/NumberField.js +223 -49
  258. package/dist/components/foundations/Popover.js +398 -88
  259. package/dist/components/foundations/PreviewCard.js +234 -53
  260. package/dist/components/foundations/Progress.js +117 -25
  261. package/dist/components/foundations/RadioGroup.d.ts +13 -5
  262. package/dist/components/foundations/RadioGroup.js +132 -25
  263. package/dist/components/foundations/ScrollArea.js +230 -51
  264. package/dist/components/foundations/SearchField.d.ts +8 -3
  265. package/dist/components/foundations/SearchField.js +129 -28
  266. package/dist/components/foundations/Select.js +648 -145
  267. package/dist/components/foundations/Separator.js +61 -12
  268. package/dist/components/foundations/Slider.js +260 -57
  269. package/dist/components/foundations/Stepper.d.ts +1 -1
  270. package/dist/components/foundations/Stepper.js +561 -127
  271. package/dist/components/foundations/Switch.js +82 -18
  272. package/dist/components/foundations/Tabs.d.ts +2 -2
  273. package/dist/components/foundations/Tabs.js +282 -53
  274. package/dist/components/foundations/Textarea.js +43 -9
  275. package/dist/components/foundations/ThemeProvider.js +138 -52
  276. package/dist/components/foundations/Toast.d.ts +10 -2
  277. package/dist/components/foundations/Toast.js +322 -75
  278. package/dist/components/foundations/Toggle.d.ts +5 -2
  279. package/dist/components/foundations/Toggle.js +51 -10
  280. package/dist/components/foundations/ToggleGroup.d.ts +3 -3
  281. package/dist/components/foundations/ToggleGroup.js +215 -59
  282. package/dist/components/foundations/Toolbar.js +249 -61
  283. package/dist/components/foundations/Tooltip.d.ts +3 -3
  284. package/dist/components/foundations/Tooltip.js +311 -55
  285. package/dist/components/foundations/TransitionSurface.js +43 -9
  286. package/dist/components/foundations/icons.d.ts +2 -2
  287. package/dist/components/foundations/icons.js +2 -2
  288. package/dist/components/general-purpose/AccountSignInDialog.js +99 -17
  289. package/dist/components/general-purpose/ActionGuide.js +290 -64
  290. package/dist/components/general-purpose/AppFrame.js +72 -14
  291. package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
  292. package/dist/components/general-purpose/AppTopBar.js +349 -60
  293. package/dist/components/general-purpose/BrandLoading.js +37 -9
  294. package/dist/components/general-purpose/CommandPalette.d.ts +47 -0
  295. package/dist/components/general-purpose/CommandPalette.js +271 -0
  296. package/dist/components/general-purpose/Commit.d.ts +1 -1
  297. package/dist/components/general-purpose/Commit.js +937 -167
  298. package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
  299. package/dist/components/general-purpose/EnvironmentVariables.js +600 -114
  300. package/dist/components/general-purpose/FileTree.d.ts +20 -7
  301. package/dist/components/general-purpose/FileTree.js +1 -1
  302. package/dist/components/general-purpose/ListDetail.d.ts +84 -0
  303. package/dist/components/general-purpose/ListDetail.js +423 -0
  304. package/dist/components/general-purpose/NotificationPrompt.js +20 -11
  305. package/dist/components/general-purpose/PricingBillingToggle.js +33 -6
  306. package/dist/components/general-purpose/PricingConfirmationDialog.js +126 -42
  307. package/dist/components/general-purpose/PricingFAQ.js +53 -12
  308. package/dist/components/general-purpose/PricingPage.js +376 -139
  309. package/dist/components/general-purpose/PricingPlanCard.js +209 -84
  310. package/dist/components/general-purpose/PricingUsageCalculator.js +231 -81
  311. package/dist/components/general-purpose/ResizableSidePanel.js +316 -117
  312. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
  313. package/dist/components/general-purpose/ResponsiveSidebarShell.js +840 -342
  314. package/dist/components/general-purpose/ScreenStack.d.ts +54 -0
  315. package/dist/components/general-purpose/ScreenStack.js +427 -0
  316. package/dist/components/general-purpose/SettingsFormDialog.js +235 -77
  317. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  318. package/dist/components/general-purpose/StatusScreen.js +82 -24
  319. package/dist/components/general-purpose/SwipeActions.d.ts +54 -0
  320. package/dist/components/general-purpose/SwipeActions.js +357 -0
  321. package/dist/components/general-purpose/Terminal.d.ts +22 -48
  322. package/dist/components/general-purpose/Terminal.js +320 -174
  323. package/dist/components/general-purpose/TestResults.js +975 -196
  324. package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -1
  325. package/dist/components/general-purpose/ThemeModeControl.js +66 -23
  326. package/dist/components/general-purpose/WallpaperPicker.d.ts +33 -0
  327. package/dist/components/general-purpose/WallpaperPicker.js +180 -0
  328. package/dist/components/general-purpose/WebPreview.d.ts +5 -7
  329. package/dist/components/general-purpose/WebPreview.js +770 -203
  330. package/dist/components/nanites/AgentConnection.js +323 -84
  331. package/dist/components/nanites/AgentToolDetail.js +233 -53
  332. package/dist/components/nanites/GithubMotionMark.js +37 -9
  333. package/dist/components/nanites/NaniteScene.js +535 -323
  334. package/dist/connected-app-drafts-Bocdg3Z-.js +637 -0
  335. package/dist/container-width-C43ccJ84.js +17 -0
  336. package/dist/context-Ddsp8HgD.js +43 -0
  337. package/dist/{copy-button-B09hHWd1.d.ts → copy-button-C2HRdomn.d.ts} +1 -1
  338. package/dist/copy-button-DWBVJR6D.js +118 -0
  339. package/dist/{format-CWaZEp5o.js → format-DL7f2rqp.js} +5 -1
  340. package/dist/{icons-CReP3qYl.d.ts → icons-B3n7zvU7.d.ts} +10 -2
  341. package/dist/icons-nLTnB9kd.js +470 -0
  342. package/dist/{merge-refs-DAh6reu8.js → merge-refs-DTX97mLp.js} +17 -1
  343. package/dist/motion-CGM3i6lX.js +319 -0
  344. package/dist/motion-preferences-6qsDIDvH.js +13 -0
  345. package/dist/{navigation-link-kqMa81v5.js → navigation-link-DMmtdqsM.js} +32 -8
  346. package/dist/progress-ring-BO649JA9.js +79 -0
  347. package/dist/provider-logos-Ceu7iYFx.js +362 -0
  348. package/dist/scheduled-table-source-gGpVJ1TN.js +92 -0
  349. package/dist/styles/accessibility.css +26 -0
  350. package/dist/styles/accordion.css +0 -2
  351. package/dist/styles/activity.css +20 -12
  352. package/dist/styles/agent-attention.css +31 -10
  353. package/dist/styles/agent-chat.css +7 -6
  354. package/dist/styles/agent-computer-motion-reduction.css +118 -0
  355. package/dist/styles/agent-computer-motion.css +127 -0
  356. package/dist/styles/agent-computer-phone.css +942 -0
  357. package/dist/styles/agent-computer.css +1764 -0
  358. package/dist/styles/agent-connection.css +5 -5
  359. package/dist/styles/agent-screen-switcher.css +313 -0
  360. package/dist/styles/app-icon.css +34 -30
  361. package/dist/styles/app-top-bar.css +33 -18
  362. package/dist/styles/approval.css +3 -3
  363. package/dist/styles/artifact.css +1 -1
  364. package/dist/styles/attachment-preview.css +2 -4
  365. package/dist/styles/avatar.css +12 -14
  366. package/dist/styles/base-ui-motion.css +84 -18
  367. package/dist/styles/base-ui-motion.test.tsx +305 -0
  368. package/dist/styles/base.css +16 -12
  369. package/dist/styles/brand.test.ts +7 -20
  370. package/dist/styles/browser-control-overlay.css +1 -1
  371. package/dist/styles/browser-live-screen.css +2 -2
  372. package/dist/styles/browser-live-view.css +1 -1
  373. package/dist/styles/browser-replay.css +0 -8
  374. package/dist/styles/browser-run-panel.css +275 -37
  375. package/dist/styles/button.css +52 -9
  376. package/dist/styles/card.css +6 -5
  377. package/dist/styles/chain-of-thought.css +0 -10
  378. package/dist/styles/checkpoint.css +2 -2
  379. package/dist/styles/codex-model-selector.css +2 -2
  380. package/dist/styles/color-contrast.test.ts +18 -1
  381. package/dist/styles/command-palette.css +110 -0
  382. package/dist/styles/composer-link.css +11 -7
  383. package/dist/styles/composition-motion.css +3 -14
  384. package/dist/styles/context.css +2 -2
  385. package/dist/styles/conversation-tab-picker.css +7 -0
  386. package/dist/styles/conversation.css +8 -2
  387. package/dist/styles/dialog.css +2 -2
  388. package/dist/styles/employee-app.css +8 -2
  389. package/dist/styles/employee-chrome.css +4 -4
  390. package/dist/styles/execution-board.css +206 -114
  391. package/dist/styles/execution-result.css +2 -2
  392. package/dist/styles/field.css +187 -4
  393. package/dist/styles/file-tree.css +218 -40
  394. package/dist/styles/first-run-setup.css +914 -187
  395. package/dist/styles/github-motion-mark.css +0 -8
  396. package/dist/styles/index.css +145 -133
  397. package/dist/styles/inline-citation.css +5 -4
  398. package/dist/styles/list-detail.css +57 -0
  399. package/dist/styles/manager-office.css +6 -8
  400. package/dist/styles/manager-work.css +4 -2
  401. package/dist/styles/mcp-plugin-catalog.css +2 -2
  402. package/dist/styles/mcp-server-picker.css +3 -6
  403. package/dist/styles/media-preview-card.css +2 -2
  404. package/dist/styles/menu.css +0 -9
  405. package/dist/styles/menubar.css +18 -6
  406. package/dist/styles/message-scroller.css +47 -9
  407. package/dist/styles/message.css +3 -3
  408. package/dist/styles/model-selector.css +1 -1
  409. package/dist/styles/motion-reduction.css +39 -6
  410. package/dist/styles/pricing-page.css +1 -1
  411. package/dist/styles/prompt-input.css +29 -29
  412. package/dist/styles/queue.css +1 -1
  413. package/dist/styles/recipes.css +212 -28
  414. package/dist/styles/responsive-sidebar-shell-motion.test.ts +81 -1
  415. package/dist/styles/responsive-sidebar-shell.css +40 -43
  416. package/dist/styles/screen-stack.css +123 -0
  417. package/dist/styles/search-field.css +80 -3
  418. package/dist/styles/stepper.css +0 -10
  419. package/dist/styles/streamdown.css +2 -2
  420. package/dist/styles/subagent-run.css +9 -5
  421. package/dist/styles/swipe-actions.css +158 -0
  422. package/dist/styles/tabs.css +80 -23
  423. package/dist/styles/task.css +7 -1
  424. package/dist/styles/terminal.css +66 -78
  425. package/dist/styles/test-results.css +1 -19
  426. package/dist/styles/textarea.css +2 -1
  427. package/dist/styles/theme-mode-control.css +154 -26
  428. package/dist/styles/think-chat-tool-panels.css +1 -1
  429. package/dist/styles/think-execution-workbench.css +0 -9
  430. package/dist/styles/think-full-app.css +7 -1
  431. package/dist/styles/think-schedule.css +81 -54
  432. package/dist/styles/think-thread-picker.css +28 -37
  433. package/dist/styles/toast.css +11 -0
  434. package/dist/styles/toggle-group.css +0 -10
  435. package/dist/styles/toggle.css +13 -0
  436. package/dist/styles/tooltip.css +12 -0
  437. package/dist/styles/transition-surface.css +1 -0
  438. package/dist/styles/wallpaper-picker.css +224 -0
  439. package/dist/styles/web-preview.css +47 -18
  440. package/dist/styles/workspace-automation.css +116 -17
  441. package/dist/styles/workspace-concepts.css +1 -1
  442. package/dist/styles/workspace-desktop.css +124 -0
  443. package/dist/styles/workspace-entity-card.css +3 -1
  444. package/dist/styles/workspace-explorer.css +499 -5
  445. package/dist/utils/brand-marks.d.ts +13 -0
  446. package/dist/utils/brand-marks.js +14 -0
  447. package/dist/utils/desktop-artwork.d.ts +17 -0
  448. package/dist/utils/desktop-artwork.js +18 -0
  449. package/dist/utils/favicon.d.ts +6 -2
  450. package/dist/utils/favicon.js +16 -4
  451. package/dist/utils/structured-code.d.ts +1 -1
  452. package/dist/workspace-assets-DdtnBDU3.js +213 -0
  453. package/dist/{workspace-concept-panel-C_oYhPSx.d.ts → workspace-concept-panel-BDTBISNO.d.ts} +2 -2
  454. package/dist/workspace-concept-panel-VkjvFCY_.js +140 -0
  455. package/dist/workspace-delete-BOY6CMBf.js +183 -0
  456. package/dist/workspace-drag-B6hMXUNt.js +304 -0
  457. package/dist/workspace-entity-card-9YcsNiqU.js +178 -0
  458. package/dist/workspace-media-preview-B4iB5Tvi.js +1295 -0
  459. package/dist/{workspace-path-L_KmjRjq.js → workspace-path-TZggP-u4.js} +14 -1
  460. package/dist/{workspace-person-BVkYb3dv.js → workspace-person-ZwPqu5TX.js} +67 -21
  461. package/dist/workspace-quick-look-9V-UFpjj.js +1562 -0
  462. package/package.json +9 -3
  463. package/dist/Avatar-t1YRzdwB.d.ts +0 -101
  464. package/dist/CodeBlock-DYQdZUH6.js +0 -318
  465. package/dist/ExecutionResult-2fBkpIGN.js +0 -279
  466. package/dist/FileTree-CDLOD643.js +0 -323
  467. package/dist/ManagerOffice-CvVSHnOM.js +0 -1129
  468. package/dist/SetupChecklist-B-iEta9v.js +0 -78
  469. package/dist/ThinkSchedule-DPoOYWTQ.d.ts +0 -34
  470. package/dist/WorkspaceFileView-DwIkehSM.js +0 -783
  471. package/dist/WorkspaceLink-BeFAXpbI.js +0 -225
  472. package/dist/app-bar-outlet-CNfNzY4Y.js +0 -6
  473. package/dist/attachment-preview-1CXJvrmb.js +0 -25
  474. package/dist/chatgpt-sign-in-button-D8AT6x4c.js +0 -32
  475. package/dist/connected-app-drafts-DtA2fBK5.js +0 -283
  476. package/dist/copy-button-DbR932tF.js +0 -45
  477. package/dist/icons-GoybMAB2.js +0 -141
  478. package/dist/progress-ring-L2bbF0ji.js +0 -40
  479. package/dist/provider-logos-DWYY8wNz.js +0 -99
  480. package/dist/scheduled-table-source-NZR1vFc_.js +0 -38
  481. package/dist/workspace-assets-F3r6XltC.js +0 -107
  482. package/dist/workspace-concept-panel-D8oEvR0n.js +0 -66
  483. package/dist/workspace-delete-CQvv1eDE.js +0 -81
  484. package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
@@ -0,0 +1,942 @@
1
+ /* iOS on the phone. One app fills the screen, the navigation bar is 44pt with a
2
+ single leading control and a centred 17pt title, actions ride a bottom
3
+ toolbar, and Home is a widget area over a 4-column app grid and a Dock
4
+ plate. Geometry comes from the `--computer-*` properties `.agent-computer`
5
+ declares — the three planes and the card's elevation included, which is why
6
+ none of them reappears here — plus the few this sheet adds for the phone,
7
+ below. The type ramp is anchored at a 16px root, so our `text-base` stands in
8
+ for iOS's 17pt body throughout and `text-2xs` is its 11pt exactly.
9
+
10
+ These are keyed off the attribute rather than the container query, because a
11
+ container cannot query itself and they are the shell's own values. */
12
+ .agent-computer[data-phone] {
13
+ /*
14
+ * The App Switcher's card, measured off Apple's own illustration of it —
15
+ * references/apple-ui/images/ios-app-switcher.png, the iPhone support page's
16
+ * "Switch between apps". That shot is a 402x874pt phone at 1.458 px/pt
17
+ * (screen x 27..612, y 22..1297, aspect 2.178 against the device's 2.174).
18
+ * The front card runs x 161.5..565.5 and y 206.5..1084.5 — its right edge is
19
+ * under the next card, which overlaps it — so it is 404x878px, 277x602pt,
20
+ * exactly 0.689 of the screen in both directions. Its corner fits a circular
21
+ * arc at r=65px (44.6pt) to 2.9px rms, looser than a true arc, which is the
22
+ * continuous curve iOS draws; taken as 44pt of corner depth.
23
+ *
24
+ * That shot is mid-swipe — the cards are bunched, 87px apart — so it says
25
+ * nothing about the resting gap between two of them, and it is the one
26
+ * number here that is not measured: 16pt, the page margin the rest of the
27
+ * phone already uses. Estimate. At 0.689 with that gap, 45pt of the
28
+ * neighbouring card shows either side of the centred one, which is one card
29
+ * and two slivers rather than the platform report's "2.2 to 2.5 cards".
30
+ */
31
+ --computer-card-scale: 0.689;
32
+ /* 44pt of corner depth, composed from the shared scale and spacing. */
33
+ --computer-card-radius: calc(
34
+ (var(--sigvelo-radius-3xl-base) + var(--sigvelo-spacing-5)) * var(--sigvelo-radius-scale)
35
+ );
36
+ --computer-card-gap: var(--sigvelo-spacing-4);
37
+ /*
38
+ * Home's zoom under an app. iOS pushes the Home screen *outward* past the
39
+ * screen's edges as you fly into an icon and brings it back inward as you
40
+ * leave — the "zoom" motion Reduce Motion exists to turn off — so Home is
41
+ * larger and blurred behind an app, not smaller behind glass.
42
+ *
43
+ * Both are estimates: Apple publishes no keyframes for it, and the scale is
44
+ * read off my own iPhone as somewhere in 1.15–1.25. The blur is the same
45
+ * 20px the App Switcher's own ground already uses.
46
+ */
47
+ --computer-home-zoom-scale: 1.18;
48
+ --computer-home-zoom-blur: 20;
49
+ /* The widget area's own height, which is also how far down Home's lattice
50
+ starts. One expression, read by the band itself and by the Home layer when
51
+ the band is lifted out of the layout for a gesture. */
52
+ --computer-widget-band: calc(var(--computer-home-inset) + 2 * var(--computer-home-row));
53
+ /* The Dock's row: its plate and the margin under it. Read by the Home layer
54
+ when the Dock is lifted out of the layout for a gesture, the same way the
55
+ band above is. */
56
+ --computer-dock-band: calc(
57
+ var(--computer-app-tile) + 2 * var(--computer-dock-padding) +
58
+ max(var(--computer-dock-inset), env(safe-area-inset-bottom, 0px))
59
+ );
60
+ }
61
+
62
+ /* A host without a work widget must not reserve its empty two-row band. */
63
+ .agent-computer[data-phone]:not([data-home-widget]) {
64
+ --computer-widget-band: calc(var(--computer-home-inset) + var(--computer-nav-height));
65
+ }
66
+
67
+ /* ---- the phone: Home, the window, the Dock ----------------------------- */
68
+ @container agent-computer (inline-size <= 48rem) {
69
+ .agent-computer__desktop {
70
+ display: none;
71
+ }
72
+ /* iOS has no menu bar, and its Home screen has no header: this band is the
73
+ widget area, and it is the first two rows of the Home lattice. The
74
+ current-work widget sits on the widget margin and the status items become
75
+ its label, the way Apple labels a widget beneath it. An open app hides the
76
+ band, as full-screen iOS apps do.
77
+
78
+ Its height is fixed at two lattice rows, so the rows below it hold
79
+ their positions whatever the widget is reporting. */
80
+ .agent-computer__bar {
81
+ display: grid;
82
+ grid-template-columns: 100%;
83
+ grid-template-rows: var(--computer-widget-height) var(--sigvelo-layout-track-fill);
84
+ justify-items: center;
85
+ row-gap: 0;
86
+ min-block-size: 0;
87
+ block-size: var(--computer-widget-band);
88
+ padding-block: var(--computer-home-inset) 0;
89
+ padding-inline: max(var(--computer-widget-inset), env(safe-area-inset-left, 0px))
90
+ max(var(--computer-widget-inset), env(safe-area-inset-right, 0px));
91
+ }
92
+ .agent-computer:not([data-home-widget]) .agent-computer__bar {
93
+ grid-template-rows: var(--sigvelo-layout-track-fill);
94
+ }
95
+ /* Home is the home screen: the route back to it belongs to the app you are
96
+ in — its home indicator — not to Home itself. The open window titles
97
+ itself, so a phone never names the active app up here either. */
98
+ .agent-computer__bar > .button,
99
+ .agent-computer__name {
100
+ display: none;
101
+ }
102
+ /* Rook's current work is a medium 4x2 widget: the full width inside the
103
+ widget margin, 160pt tall against the reference's 162.6, a 28pt corner
104
+ and 16pt of padding. The fixture inside owns its own layout and fills
105
+ the frame. */
106
+ .agent-computer__context {
107
+ /* The widget is a surface, so the wallpaper's ink stops at its edge: the
108
+ content inside takes the theme's text colour and its controls get their
109
+ own ground back. On the desktop this same slot is menu titles, which do
110
+ belong to the picture — and the menu bar's control recipe is scoped to
111
+ that side of the breakpoint, so the size and shape of a control on a
112
+ widget are the house's already.
113
+
114
+ Frame ink again, switched back off: the wallpaper's colour stops here,
115
+ and nothing about the control's geometry is written over. */
116
+ --sigvelo-recipe-button-ghost-color: initial;
117
+
118
+ order: 1;
119
+ display: grid;
120
+ align-items: stretch;
121
+ inline-size: 100%;
122
+ block-size: var(--computer-widget-height);
123
+ color: var(--sigvelo-color-text);
124
+ text-shadow: none;
125
+ padding: var(--computer-widget-padding);
126
+ border-radius: var(--computer-widget-radius);
127
+ background: var(--computer-card-plane);
128
+ box-shadow: var(--sigvelo-elevation-raised);
129
+ }
130
+ /* A widget label: 11pt medium centred under the widget, white on the
131
+ wallpaper as iOS labels every Home widget. iOS names the owning app
132
+ there and nothing else, so the label is the employee; the widget's own
133
+ header row carries the state it is reporting. The band it sits in is the
134
+ rest of the widget's two rows — 36pt against the reference's 35 — so the
135
+ label rides the lattice rather than pushing it. */
136
+ .agent-computer__status {
137
+ order: 2;
138
+ align-items: baseline;
139
+ gap: var(--sigvelo-spacing-1-5);
140
+ margin-inline-start: 0;
141
+ padding-block-start: var(--sigvelo-spacing-1-5);
142
+ padding-inline-start: 0;
143
+ font-size: var(--sigvelo-text-2xs);
144
+ font-weight: var(--sigvelo-font-weight-semibold);
145
+ line-height: var(--sigvelo-text-2xs-leading);
146
+ }
147
+ /* Home continues the lattice the widget area started: no padding of its
148
+ own, and every row inside it the same height.
149
+
150
+ The lattice keeps Apple's 98pt row pitch whatever the screen is, so on a
151
+ short one — a 320x568 phone, where the widget band is 48 % of the display
152
+ — the second row of icons does not fit under it. iOS answers that by
153
+ paging Home; this scrolls, so every icon is still reachable and none of
154
+ them is painted over the Dock's plate. Nothing scrolls at 390x844, where
155
+ the lattice fits. */
156
+ .agent-computer__home {
157
+ padding: 0;
158
+ overflow: auto;
159
+ scrollbar-width: none;
160
+ }
161
+ /* The screen is one plane from the bar to the bottom edge: the navigation
162
+ bar, the page and the 34pt home-indicator band all read the same ground,
163
+ so no white strip is left along the foot of a grouped app and no bar
164
+ announces itself with a second colour. An app paints its own content over
165
+ the middle row; the two chrome rows keep the window's plane. */
166
+ .agent-computer__window {
167
+ inset: 0;
168
+ inline-size: 100%;
169
+ block-size: 100%;
170
+ /* Bar, content, then the app's bottom toolbar and the home indicator, in
171
+ that order in the DOM as well as on the screen. */
172
+ grid-template-rows: auto var(--sigvelo-layout-track-fill) auto auto;
173
+ border: 0;
174
+ border-radius: 0;
175
+ background: var(--computer-nav-plane);
176
+ box-shadow: none;
177
+ }
178
+ /* An app that paints a plain content view rather than a page of inset cards
179
+ marks it `data-plane="page"`, and the window takes that plane: on iOS the
180
+ 34pt home-indicator band belongs to the app's own page, so a Messages
181
+ conversation or a Calendar list runs white to the bottom edge instead of
182
+ ending in a strip of the grouped ground. */
183
+ .agent-computer__window:has([data-plane="page"]) {
184
+ background: var(--computer-page-plane);
185
+ }
186
+ /* Every other running app is skipped rather than removed: it keeps its box
187
+ and its computed styles while it is off screen. A window that leaves
188
+ `display: none` restyles from scratch, so coming back to an app replayed
189
+ every entrance inside it, and a window that loses its box mid-capture
190
+ aborts the zoom home ("Prepaint layout check failed"). The App Switcher
191
+ and a quick switch put these same windows back on screen below. */
192
+ .agent-computer__window:not([data-active]) {
193
+ visibility: hidden;
194
+ content-visibility: hidden;
195
+ }
196
+ .agent-computer__window-bar {
197
+ /* A 44pt bar with the title centred between two 44pt slots, the leading
198
+ one held for an app's own Back, on the window's own plane — iOS puts a
199
+ navigation bar on the page's ground, not on a plate above it, so this
200
+ carries no fill and no shadow of its own. The hairline is the toolbar
201
+ edge Apple draws once content sits under the bar. */
202
+ min-block-size: var(--computer-nav-height);
203
+ padding-block-start: env(safe-area-inset-top, 0px);
204
+ padding-inline: var(--sigvelo-spacing-4);
205
+ border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width-hairline)
206
+ var(--sigvelo-color-neutral-border-subtle);
207
+ background: none;
208
+ box-shadow: none;
209
+ }
210
+ /* An app whose content paints its own navigation bar (Slack's channel
211
+ header, Chrome's omnibox row) keeps it: the shell's bar collapses, and
212
+ the app's bar reads the same material through --computer-nav-plane. */
213
+ .agent-computer__window:has(
214
+ [data-nav-bar]:not(:where([data-screen="under"] *, [data-screen="leaving"] *))
215
+ )
216
+ .agent-computer__window-bar {
217
+ /* The action cluster keeps its parent and becomes a window grid item.
218
+ CSS owns placement, so changing a mobile header never remounts controls. */
219
+ display: contents;
220
+ min-block-size: 0;
221
+ padding: 0;
222
+ border: 0;
223
+ background: none;
224
+ box-shadow: none;
225
+ }
226
+ .agent-computer__window:has(
227
+ [data-nav-bar]:not(:where([data-screen="under"] *, [data-screen="leaving"] *))
228
+ )
229
+ :is(.agent-computer__window-title, .agent-computer__window-title-leaving) {
230
+ display: none;
231
+ }
232
+ .agent-computer__window-content {
233
+ grid-row: 2;
234
+ }
235
+ .agent-computer__window > .agent-computer__mobile-home {
236
+ grid-row: 4;
237
+ }
238
+ /* The bar's title is AppTopBar's title: the same tokens the house bar reads,
239
+ so a screen the companion paints and a screen the house paints name
240
+ themselves at one size. iOS's own inline navigation bar is 17pt semibold —
241
+ four steps up the ramp from the house's bar — and that is the departure. */
242
+ .agent-computer__window-title,
243
+ .agent-computer__window-title:has(+ .agent-computer__move) {
244
+ padding-inline: var(--computer-nav-height);
245
+ font-size: var(--sigvelo-density-compact-control-font-size);
246
+ font-weight: var(--sigvelo-font-weight-semibold);
247
+ line-height: var(--sigvelo-leading-tight);
248
+ }
249
+ /* A phone bar's controls are the house's controls at the house's size: each
250
+ app already renders a ghost `IconButton` or an `AppTopBar.Button` here, and
251
+ the recipe supplies the height, the glyph size, the radius and the hover
252
+ fill. Only the *hit box* grows to 44pt under a coarse pointer, in the block
253
+ at the foot of this sheet. The departure from iOS: a bar item there wears a
254
+ 44pt frosted capsule, and glass here belongs to the material a bar is made
255
+ of — the Dock's plate — not to the things standing on it. */
256
+ /*
257
+ * iOS's home indicator is the one way out of a full-screen app, and on a real
258
+ * phone the whole 34pt band at the foot of the screen is the surface you drag
259
+ * from: up to Home, up-and-hold into the App Switcher, sideways between apps.
260
+ * So the control is the band — the full width of the screen, inside the 34pt
261
+ * iOS reserves for it — and the 140x5pt bar it draws is what you see of it.
262
+ * `touch-action: none` only here, because this is the only place the shell
263
+ * owns both axes. An app's root has no Back, as on iOS.
264
+ */
265
+ .agent-computer__mobile-home {
266
+ /* The indicator is a mark, not a control with a ground: the ghost recipe's
267
+ hover fill is re-pointed to nothing rather than painted over. */
268
+ --sigvelo-recipe-button-ghost-fill: transparent;
269
+
270
+ display: flex;
271
+ align-items: end;
272
+ justify-content: center;
273
+ justify-self: stretch;
274
+ inline-size: auto;
275
+ min-block-size: var(--computer-home-band);
276
+ padding-block-end: var(--sigvelo-spacing-2);
277
+ margin-block-end: env(safe-area-inset-bottom, 0px);
278
+ touch-action: none;
279
+ }
280
+ .agent-computer__mobile-home > svg {
281
+ display: none;
282
+ }
283
+ /* The bar is a quiet mark on the page, not a control: Apple's sits at roughly
284
+ a third of the ink so it reads on a light page without competing with the
285
+ content above it. */
286
+ .agent-computer__mobile-home::before {
287
+ content: "";
288
+ inline-size: 8.75rem;
289
+ block-size: 0.3125rem;
290
+ border-radius: var(--sigvelo-radius-full);
291
+ background: color-mix(in oklab, var(--sigvelo-color-text), transparent 65%);
292
+ }
293
+ /* A view's actions ride the navigation bar's trailing slot, where iOS 26
294
+ keeps them — Calendar's +, Files' ellipsis, the Phone app's filter — and
295
+ the title stays centred on the screen because the cluster is taken out of
296
+ the bar's flow rather than sharing its row. */
297
+ .agent-computer__window:not(
298
+ :has([data-nav-bar]:not(:where([data-screen="under"] *, [data-screen="leaving"] *)))
299
+ )
300
+ .agent-computer__window-actions {
301
+ position: absolute;
302
+ inset-inline-end: var(--sigvelo-spacing-4);
303
+ inset-block: env(safe-area-inset-top, 0px) 0;
304
+ align-items: center;
305
+ gap: var(--sigvelo-spacing-2);
306
+ min-inline-size: 0;
307
+ padding: 0;
308
+ }
309
+ /* An app that paints its own navigation bar has no shell bar to put them
310
+ in, so its actions become the bottom toolbar iOS gives a browser: the row
311
+ after the content, above the home indicator, each control in its own
312
+ glass on the page margin. */
313
+ .agent-computer__window:has(
314
+ [data-nav-bar]:not(:where([data-screen="under"] *, [data-screen="leaving"] *))
315
+ )
316
+ .agent-computer__window-actions {
317
+ grid-row: 3;
318
+ justify-content: flex-end;
319
+ gap: var(--sigvelo-spacing-2);
320
+ min-inline-size: 0;
321
+ min-block-size: var(--computer-nav-height);
322
+ padding-block: 0 var(--sigvelo-spacing-2);
323
+ padding-inline: max(var(--sigvelo-spacing-4), env(safe-area-inset-left, 0px))
324
+ max(var(--sigvelo-spacing-4), env(safe-area-inset-right, 0px));
325
+ background: none;
326
+ box-shadow: none;
327
+ }
328
+ .agent-computer__window-controls,
329
+ .agent-computer__move,
330
+ .agent-computer__move-help,
331
+ .agent-computer__resize,
332
+ .agent-computer__edge {
333
+ display: none;
334
+ }
335
+ /* An open app covers Home, the widget band and the Dock rather than taking
336
+ them out of the layout. The app zoom captures all three on its way in, and
337
+ Chrome aborts a scoped view transition whose captured element loses its
338
+ box before the capture settles ("Prepaint layout check failed"): with
339
+ `display: none` here most app opens cut instead of zooming. The screen
340
+ spans the band's row and the Dock's, over them. Read off the shell's own
341
+ `data-home`, the one flag that says whether an app covers Home. */
342
+ .agent-computer:not([data-home]) :is(.agent-computer__body, .agent-computer__stage) {
343
+ grid-area: 1 / 1 / -1;
344
+ }
345
+ .agent-computer:not([data-home]) :is(.agent-computer__bar, .agent-computer__dock) {
346
+ visibility: hidden;
347
+ }
348
+ .agent-computer__dock:not([data-has-favorites]),
349
+ .agent-computer__app:not([data-favorite]) {
350
+ display: none;
351
+ }
352
+ /* The iOS Dock: a glass plate 12pt in from each screen edge, holding four
353
+ 63.4pt tiles on 22pt of padding for the reference's 108pt height (the
354
+ measurements are on the tokens in agent-computer.css). `space-evenly`
355
+ gives the plate the same space at its ends as between the tiles, which
356
+ is what Apple's does. Its corner is the measured 34pt true arc. No drop
357
+ shadow and no running dots: the plate is the wallpaper seen through
358
+ glass, held up by one lit top edge. */
359
+ .agent-computer__dock {
360
+ /* Bare glyphs use the wallpaper's ink on this nearly transparent plate. */
361
+ --sigvelo-recipe-button-ghost-color: var(--sigvelo-recipe-wallpaper-ink);
362
+
363
+ justify-content: space-evenly;
364
+ justify-self: stretch;
365
+ overflow-x: auto;
366
+ margin: 0 var(--computer-dock-inset)
367
+ max(var(--computer-dock-inset), env(safe-area-inset-bottom, 0px));
368
+ padding: var(--computer-dock-padding) 0;
369
+ border-radius: var(--computer-dock-radius);
370
+ box-shadow: inset 0 var(--sigvelo-border-width) 0 var(--computer-dock-edge);
371
+ scroll-snap-type: x proximity;
372
+ /* Apple's iOS plate is thinner glass than the Mac's: the wallpaper gains a
373
+ few percent of white through it, with a bright 1px rim along the top
374
+ that carries the plate. The filter is the house's chrome glass. */
375
+ background: color-mix(in oklab, var(--sigvelo-color-surface-raised), transparent 90%);
376
+ backdrop-filter: var(--sigvelo-glass-filter-chrome);
377
+ }
378
+ /* This branch is the later rule, so it has to restore the opaque plate and
379
+ drop the blur the shared reduced-transparency block already asked for.
380
+ The bar's controls need no branch of their own: they carry the house
381
+ recipe's fill, which was never translucent. */
382
+ @media (prefers-reduced-transparency: reduce) {
383
+ .agent-computer__dock {
384
+ --sigvelo-recipe-button-ghost-color: var(--sigvelo-color-neutral-text-on-subtle);
385
+
386
+ background: var(--sigvelo-color-surface-raised);
387
+ backdrop-filter: none;
388
+ }
389
+ }
390
+ .agent-computer__app {
391
+ flex: none;
392
+ inline-size: var(--computer-app-tile);
393
+ /* An iOS Dock tile is the artwork exactly: no slot inset, no running dot
394
+ to leave room for. */
395
+ block-size: var(--computer-app-tile);
396
+ scroll-snap-align: start;
397
+ }
398
+ /* The phone's 63.4pt tile replaces the `2xl` step through the size hook. */
399
+ .agent-computer__app-icon {
400
+ --sigvelo-recipe-app-icon-size: var(--computer-app-tile);
401
+ }
402
+ /* Forced colours draw the system ring on the button itself, from the
403
+ overrides layer; a second one on the artwork would ring the tile twice. */
404
+ @media not (forced-colors: active) {
405
+ /* Keyboard focus rings the tile at its own squircle, not the button box. */
406
+ .agent-computer__app:focus-visible {
407
+ outline: none;
408
+ }
409
+ .agent-computer__app:focus-visible .agent-computer__app-icon {
410
+ outline: var(--sigvelo-focus-ring);
411
+ outline-offset: 3px;
412
+ }
413
+ }
414
+ .agent-computer__open-dot {
415
+ display: none;
416
+ }
417
+
418
+ /* ---- gestures: the Home swipe, the App Switcher, the quick switch ------ */
419
+
420
+ /* The deck has no app to carry a band, and a screen in motion has taken its
421
+ own away with it, so the shell draws one: the same control, over whatever
422
+ is moving, at the foot of the screen. Above the app's band, so a second
423
+ press during a settle reaches the gesture rather than the picture of a
424
+ band that is halfway up the screen. */
425
+ .agent-computer__deck-home {
426
+ position: absolute;
427
+ z-index: 3;
428
+ inset-inline: 0;
429
+ inset-block-end: 0;
430
+ }
431
+ /* While the shell is carrying the band, the app's own steps aside entirely.
432
+ iOS draws the indicator at the display's edge, not on the card in your
433
+ hand, and two pills — one halfway up the screen, one at the foot of it —
434
+ is one more than the screen has. Hidden rather than transparent, so the
435
+ deck and the drag leave one control with that name, not two. */
436
+ .agent-computer[data-phone]:is([data-gesture], [data-switcher])
437
+ .agent-computer__window
438
+ .agent-computer__mobile-home {
439
+ visibility: hidden;
440
+ pointer-events: none;
441
+ }
442
+
443
+ /*
444
+ * Home is behind the app being dragged away, so it has to be on screen
445
+ * before the drag starts rather than after it lands — and it has to be the
446
+ * whole of Home, not the icon grid alone: the widget band and the Dock are
447
+ * as much of the picture as the icons are.
448
+ *
449
+ * They come back as overlays rather than as rows, because taking two rows
450
+ * back into the shell's grid would shrink the stage under the app that is
451
+ * being dragged and reflow it in the hand. Both land exactly where they rest
452
+ * — the stage fills the shell while an app is up, so the shell's own edges
453
+ * are the stage's — and the Home layer takes the band's height and the
454
+ * Dock's as padding, so its lattice starts on the same row it always does
455
+ * and whatever is pinned to its foot stays above the Dock instead of
456
+ * sliding under it and popping back when Home lands.
457
+ *
458
+ * Everything under the finger is `inert`, held by the shell: this is
459
+ * scenery until the gesture lands on it.
460
+ */
461
+ .agent-computer[data-phone]:is([data-gesture], [data-switcher]) {
462
+ position: relative;
463
+ }
464
+ .agent-computer[data-phone]:is([data-gesture], [data-switcher]) .agent-computer__home {
465
+ visibility: visible;
466
+ padding-block-start: var(--computer-widget-band);
467
+ }
468
+ .agent-computer[data-phone]:is([data-gesture], [data-switcher]):has(
469
+ .agent-computer__dock[data-has-favorites]
470
+ )
471
+ .agent-computer__home {
472
+ padding-block-end: var(--computer-dock-band);
473
+ }
474
+ .agent-computer[data-phone]:is([data-gesture], [data-switcher]) .agent-computer__bar {
475
+ visibility: visible;
476
+ position: absolute;
477
+ inset-inline: 0;
478
+ inset-block-start: 0;
479
+ }
480
+ .agent-computer[data-phone]:is([data-gesture], [data-switcher]) .agent-computer__dock {
481
+ visibility: visible;
482
+ position: absolute;
483
+ inset-inline: 0;
484
+ inset-block-end: 0;
485
+ }
486
+ /* The stage carries the app and the deck, so it goes over the two overlays
487
+ rather than under the Dock's plate, which paints after it. */
488
+ .agent-computer[data-phone]:is([data-gesture], [data-switcher]) .agent-computer__stage {
489
+ z-index: 1;
490
+ }
491
+ /* Behind the deck it is the wallpaper and Home out of focus, which is what
492
+ iOS shows there: a place, not a page. Zoomed outward past the screen's
493
+ edges, the direction iOS takes Home when an app is over it. */
494
+ .agent-computer[data-phone][data-switcher]
495
+ :is(.agent-computer__home, .agent-computer__bar, .agent-computer__dock) {
496
+ scale: var(--computer-home-zoom-scale);
497
+ filter: blur(calc(var(--computer-home-zoom-blur) * 1px));
498
+ pointer-events: none;
499
+ }
500
+ /* At rest, though, the deck stands on the wallpaper alone. Blurred, the
501
+ widget is a white bloom over the cards, the Dock's plate a frosted strip
502
+ along the foot of the screen and the Search pill a smear between them,
503
+ and iOS shows none of them behind its switcher. It is the pose the Home
504
+ drag starts from — Home zoomed out, blurred and not yet faded in — so
505
+ dragging the deck away brings Home in from exactly here. */
506
+ .agent-computer[data-phone][data-switcher]:not([data-gesture])
507
+ :is(.agent-computer__home, .agent-computer__bar, .agent-computer__dock) {
508
+ opacity: 0;
509
+ }
510
+ /* Except while the deck is being dragged off it: Home is where that gesture
511
+ is going, so it comes into focus, and the drag itself owns the scale it
512
+ arrives at. */
513
+ .agent-computer[data-phone][data-switcher][data-gesture]
514
+ :is(.agent-computer__home, .agent-computer__bar, .agent-computer__dock) {
515
+ scale: none;
516
+ filter: none;
517
+ }
518
+ /* The neighbour arriving in a quick switch is a real screen, not a picture
519
+ of one: it is the same window, still mounted, sliding in from the side. */
520
+ .agent-computer[data-phone][data-gesture="quick"] .agent-computer__window[data-peek] {
521
+ visibility: visible;
522
+ content-visibility: visible;
523
+ }
524
+ /*
525
+ * A screen being dragged rounds its corners the moment the drag starts, as
526
+ * iOS's does — it is becoming an object you are holding rather than the
527
+ * whole display — and its content stops answering the finger, which is
528
+ * dragging the screen rather than reading it.
529
+ */
530
+ .agent-computer__window {
531
+ transition:
532
+ opacity var(--sigvelo-duration-app-close) var(--sigvelo-ease-spring-smooth),
533
+ border-radius var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
534
+ }
535
+ .agent-computer[data-gesture="home"] .agent-computer__window[data-active],
536
+ .agent-computer[data-switcher] .agent-computer__window {
537
+ border-radius: var(--computer-card-radius);
538
+ overflow: hidden;
539
+ }
540
+ .agent-computer[data-gesture] .agent-computer__window-content {
541
+ pointer-events: none;
542
+ }
543
+ /*
544
+ * The neighbour in a quick switch and the cards in the deck are open apps
545
+ * being laid out somewhere else. Their motion is the flight into the slot,
546
+ * which the shell animates itself; the window's own fade would run a second
547
+ * one under it. A card keeps its corner's transition, so the corner rounds
548
+ * on the way into the deck as it squares on the way out, as iOS's do.
549
+ */
550
+ .agent-computer[data-switcher] .agent-computer__window {
551
+ transition: border-radius var(--sigvelo-motion-duration-interaction)
552
+ var(--sigvelo-motion-ease-change);
553
+ }
554
+ .agent-computer[data-gesture="quick"] .agent-computer__window[data-peek] {
555
+ transition: none;
556
+ }
557
+
558
+ /*
559
+ * The App Switcher. The cards are the open apps themselves, scaled: the
560
+ * deck becomes a scroller and each window's slot becomes a snapping card,
561
+ * and because nothing moves in the DOM, nothing remounts and every card is
562
+ * the live app rather than a screenshot of it.
563
+ *
564
+ * The window keeps laying itself out at the size of the screen and is scaled
565
+ * into its slot, so an app in the deck is the app you left — same line
566
+ * breaks, same scroll position — rather than a narrow re-flow of it.
567
+ */
568
+ .agent-computer[data-switcher] .agent-computer__screens {
569
+ position: absolute;
570
+ z-index: 1;
571
+ inset: 0;
572
+ display: flex;
573
+ align-items: center;
574
+ gap: var(--computer-card-gap);
575
+ /* Half a screen's worth of empty either side, so the first and last cards
576
+ centre like every other one. */
577
+ padding-inline: calc(50cqi * (1 - var(--computer-card-scale)));
578
+ padding-block-end: calc(2 * var(--computer-home-band));
579
+ overflow: auto hidden;
580
+ overscroll-behavior: contain;
581
+ /* One card per flick, which is what makes it feel like iOS rather than a
582
+ fling through a list. */
583
+ scroll-snap-type: x mandatory;
584
+ scrollbar-width: none;
585
+ touch-action: pan-x pinch-zoom;
586
+ }
587
+ .agent-computer[data-switcher] .agent-computer__screen {
588
+ /* A box at last: outside the switcher this slot is `display: contents`,
589
+ so its window is the stage's own child and the desktop is untouched. */
590
+ display: block;
591
+ position: relative;
592
+ flex: none;
593
+ inline-size: calc(100cqi * var(--computer-card-scale));
594
+ block-size: calc(100cqb * var(--computer-card-scale));
595
+ scroll-snap-align: center;
596
+ scroll-snap-stop: always;
597
+ /* So a card can ask whether it is the one you are on. Scroll-state
598
+ containment is not size containment, so the window inside still reads
599
+ the stage for its own `cqi`. */
600
+ container-type: scroll-state;
601
+ }
602
+ .agent-computer[data-switcher] .agent-computer__window {
603
+ /* Every open app is in the deck, not only the one you were in. */
604
+ visibility: visible;
605
+ content-visibility: visible;
606
+ position: absolute;
607
+ inset: 0;
608
+ inline-size: 100cqi;
609
+ block-size: 100cqb;
610
+ /* The CSS `scale` property, not a `transform`, so a card's flight into its
611
+ slot can use `transform` and compose inside it. */
612
+ scale: var(--computer-card-scale);
613
+ transform-origin: 0 0;
614
+ /* Drawn through the scale, so the corner has to be divided back out of it
615
+ to land on the same 44pt as a screen being dragged. */
616
+ border-radius: calc(var(--computer-card-radius) / var(--computer-card-scale));
617
+ box-shadow: var(--sigvelo-elevation-raised);
618
+ }
619
+ /* A closed app is still running but has no card: its slot leaves the row
620
+ and its window stays skipped, kept laid out for when it is reopened. */
621
+ .agent-computer[data-switcher] .agent-computer__screen[data-hidden] {
622
+ position: absolute;
623
+ scroll-snap-align: none;
624
+ }
625
+ .agent-computer[data-switcher] .agent-computer__window[data-hidden] {
626
+ visibility: hidden;
627
+ content-visibility: hidden;
628
+ }
629
+ /* The card is the button: the whole picture of the app opens it, which is
630
+ the tap iOS answers, and the name it carries is the app's. */
631
+ .agent-computer__card {
632
+ position: absolute;
633
+ z-index: 3;
634
+ inset: 0;
635
+ padding: 0;
636
+ border: 0;
637
+ border-radius: var(--computer-card-radius);
638
+ background: none;
639
+ /* The deck owns the horizontal axis; a drag up the card closes it. */
640
+ touch-action: pan-x pinch-zoom;
641
+ cursor: pointer;
642
+ }
643
+ .agent-computer__card:focus-visible {
644
+ outline: var(--sigvelo-focus-ring);
645
+ outline-offset: 3px;
646
+ }
647
+ /*
648
+ * Apple prints the centred app's icon and its name above its card, and the
649
+ * neighbours' icons at the edges of the screen. Ours are live apps rather
650
+ * than snapshots, but the label is still the answer: it says which app a
651
+ * card is without the reader having to work it out from whatever that app's
652
+ * own bar happens to be showing.
653
+ *
654
+ * Only over the centred card. Apple's frame also prints the neighbours'
655
+ * icons at the two screen edges; ours cannot, because a slot is a
656
+ * `scroll-state` container and there is no state that tells it which side of
657
+ * the centred card it is on — and its own label, centred over a card that is
658
+ * 45pt from being off-screen, would be cropped rather than pinned to the
659
+ * edge. Recorded as a difference rather than approximated.
660
+ */
661
+ .agent-computer__card-name {
662
+ position: absolute;
663
+ z-index: 4;
664
+ inset-inline: 0;
665
+ inset-block-end: calc(100% + var(--sigvelo-spacing-2));
666
+ display: flex;
667
+ align-items: center;
668
+ justify-content: center;
669
+ gap: var(--sigvelo-spacing-2);
670
+ min-inline-size: 0;
671
+ color: var(--sigvelo-recipe-wallpaper-ink);
672
+ text-shadow: var(--sigvelo-recipe-wallpaper-ink-shadow);
673
+ font-size: var(--sigvelo-text-2xs);
674
+ font-weight: var(--sigvelo-font-weight-semibold);
675
+ line-height: var(--sigvelo-text-2xs-leading);
676
+ pointer-events: none;
677
+ opacity: 0;
678
+ transition: opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
679
+ }
680
+ @container scroll-state(snapped: x) {
681
+ .agent-computer__card-name {
682
+ opacity: 1;
683
+ }
684
+ }
685
+ /*
686
+ * Closing a card is a throw on iOS and nothing else, and iOS draws no close
687
+ * mark — which leaves a keyboard and a screen reader with no way out. This
688
+ * is that way: a quiet 28pt disc at the card's leading top corner, half
689
+ * outside it, over the card's edge rather than over the app's own controls.
690
+ * It is in the accessibility tree throughout and on screen only while the
691
+ * keyboard is on its card or on it, so a finger sees the deck iOS draws.
692
+ */
693
+ .agent-computer__card-close {
694
+ position: absolute;
695
+ opacity: 0;
696
+ transition: opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
697
+ z-index: 5;
698
+ inset-block-start: calc(var(--sigvelo-spacing-7) / -2);
699
+ inset-inline-start: calc(var(--sigvelo-spacing-7) / -2);
700
+ display: grid;
701
+ place-items: center;
702
+ inline-size: var(--sigvelo-spacing-7);
703
+ block-size: var(--sigvelo-spacing-7);
704
+ padding: 0;
705
+ border: 0;
706
+ border-radius: var(--sigvelo-radius-full);
707
+ color: var(--sigvelo-color-text);
708
+ /* A raised surface, not glass: the deck's cards are the material here and
709
+ this is a control standing on one. iOS frosts it; the house lifts a
710
+ control off what is under it with the raised stack, whose first layer is
711
+ the hairline that used to be spelled out beside a translucent fill. */
712
+ background: var(--sigvelo-color-surface-raised);
713
+ box-shadow: var(--sigvelo-elevation-raised);
714
+ cursor: pointer;
715
+ }
716
+ .agent-computer__card-close > svg {
717
+ inline-size: var(--sigvelo-spacing-4);
718
+ block-size: var(--sigvelo-spacing-4);
719
+ }
720
+ .agent-computer__card-close:focus-visible,
721
+ .agent-computer__card:focus-visible ~ .agent-computer__card-close {
722
+ opacity: 1;
723
+ }
724
+ .agent-computer__card-close:focus-visible {
725
+ outline: var(--sigvelo-focus-ring);
726
+ outline-offset: 2px;
727
+ }
728
+ /*
729
+ * A pushed screen changes the bar's title, and iOS never cuts one title to
730
+ * another. The shell fades the new one in over the length of a push, and an
731
+ * app's own Back arrives with it from the leading edge — as an entry
732
+ * animation, so the Button's own press, disabled and transition rules stay
733
+ * its own.
734
+ */
735
+ .agent-computer [data-nav-back] {
736
+ animation: computer-nav-back-in var(--sigvelo-duration-push) var(--sigvelo-ease-spring-smooth);
737
+ }
738
+ }
739
+ @keyframes computer-nav-back-in {
740
+ from {
741
+ opacity: 0;
742
+ translate: -0.5rem;
743
+ }
744
+ }
745
+
746
+ /* ---- the app zoom: view transitions ------------------------------------ */
747
+ /*
748
+ * One open animation per open. A phone's app grows out of its icon inside the
749
+ * zoom's own group, and the window's `@starting-style` entry — right for a
750
+ * window opening on a desktop — would fade it up *inside* that growing group
751
+ * at the same time, so the wallpaper, the widgets and the Dock show through
752
+ * the app for the first fifth of a second. The zoom owns the open here, and
753
+ * the screen arrives opaque.
754
+ *
755
+ * Outside the container query, and keyed off `[data-phone]` so it out-specifies
756
+ * the shared sheet's own `@starting-style` whatever order they are imported in.
757
+ */
758
+ @starting-style {
759
+ .agent-computer[data-phone] .agent-computer__window {
760
+ opacity: 1;
761
+ transform: none;
762
+ }
763
+ }
764
+
765
+ /*
766
+ * The app zoom. Tapping an icon on Home grows the app out of that icon, and
767
+ * the home indicator puts it back into it: one shared snapshot name, carried
768
+ * by the icon before the change and by the screen after it. The name is
769
+ * assigned from `scoped-transition.ts` rather than from here, because the two
770
+ * ends are the same name on two different elements at two different moments
771
+ * and a name that lives in a stylesheet is on for the whole transition.
772
+ *
773
+ * These sit outside the container query on purpose: the pseudo tree belongs to
774
+ * the shell, and the shell is the query's container, which cannot style
775
+ * itself. `data-phone` is the same breakpoint, mirrored on the element.
776
+ */
777
+ .agent-computer[data-phone][data-transition^="app-"]::view-transition-group(computer-app-zoom) {
778
+ /* 400-500ms for the open and ~350 for the close are the platform research
779
+ lane's estimates; Apple publishes neither. */
780
+ animation-duration: var(--sigvelo-duration-app-open);
781
+ animation-timing-function: var(--sigvelo-ease-spring-smooth);
782
+ }
783
+ .agent-computer[data-phone][data-transition="app-close"]::view-transition-group(computer-app-zoom) {
784
+ animation-duration: var(--sigvelo-duration-app-close);
785
+ }
786
+ /* The icon's picture is gone almost at once and the app arrives over it,
787
+ rather than the two ghosting through each other for half a second. The floor
788
+ is the reduced duration, because a preference for less motion is not a
789
+ preference for a cut: under Reduce Motion this cross-fade is the whole
790
+ transition and it keeps its length. */
791
+ .agent-computer[data-phone]::view-transition-old(computer-app-zoom) {
792
+ animation-duration: max(
793
+ var(--sigvelo-duration-reduced),
794
+ calc(var(--sigvelo-duration-app-open) * 0.3)
795
+ );
796
+ }
797
+ .agent-computer[data-phone]::view-transition-new(computer-app-zoom) {
798
+ animation-duration: max(
799
+ var(--sigvelo-duration-reduced),
800
+ calc(var(--sigvelo-duration-app-open) * 0.4)
801
+ );
802
+ }
803
+
804
+ /*
805
+ * Home under the app that is opening over it. iOS zooms Home **outward** — it
806
+ * scales up past the screen's edges and blurs while the app grows out of its
807
+ * icon — and brings it back inward as the app closes. That is the motion
808
+ * Reduce Motion exists to turn off, and it is why an iPhone reads as flying
809
+ * into an app rather than as a picture sliding behind glass. Scale and blur
810
+ * are estimates; Apple publishes no keyframes.
811
+ *
812
+ * The icon grid is the bulk of the screen and near enough centred to scale
813
+ * about itself; the widget band at the top and the Dock at the foot travel
814
+ * with it — one plane, one direction — rather than each scaling about its own
815
+ * centre, which would send the three of them three different ways.
816
+ */
817
+ @keyframes computer-home-zoom-out {
818
+ to {
819
+ transform: scale(var(--computer-home-zoom-scale));
820
+ filter: blur(calc(var(--computer-home-zoom-blur) * 1px));
821
+ opacity: 0;
822
+ }
823
+ }
824
+ @keyframes computer-home-zoom-in {
825
+ from {
826
+ transform: scale(var(--computer-home-zoom-scale));
827
+ filter: blur(calc(var(--computer-home-zoom-blur) * 1px));
828
+ opacity: 0;
829
+ }
830
+ }
831
+ .agent-computer[data-phone]::view-transition-old(computer-home) {
832
+ animation: var(--sigvelo-duration-app-open) var(--sigvelo-motion-ease-exit) both
833
+ computer-home-zoom-out;
834
+ }
835
+ .agent-computer[data-phone]::view-transition-new(computer-home) {
836
+ animation: var(--sigvelo-duration-app-close) var(--sigvelo-ease-spring-smooth) both
837
+ computer-home-zoom-in;
838
+ }
839
+ .agent-computer[data-phone][data-transition^="app-"]::view-transition-old(computer-bar),
840
+ .agent-computer[data-phone][data-transition^="app-"]::view-transition-old(computer-dock) {
841
+ animation: var(--sigvelo-duration-app-open) var(--sigvelo-motion-ease-exit) both computer-fade-out;
842
+ }
843
+ .agent-computer[data-phone][data-transition^="app-"]::view-transition-new(computer-bar),
844
+ .agent-computer[data-phone][data-transition^="app-"]::view-transition-new(computer-dock) {
845
+ animation: var(--sigvelo-duration-app-close) var(--sigvelo-ease-spring-smooth) both
846
+ computer-fade-in;
847
+ }
848
+
849
+ /* ---- coarse pointer, hover, forced colours ----------------------------- */
850
+ /* These reach desktop parts as well as phone ones. They live at the foot of the
851
+ phone sheet because a forced-colours fill has to out-rank the phone's own
852
+ glass, which is above them here at equal specificity; moving them
853
+ up this sheet would let the glass win. */
854
+ @media (any-pointer: coarse) {
855
+ /* The hit box, never the resting size. The bar's own controls, an app's Back
856
+ wherever that app paints its own bar, and the bottom toolbar an app that
857
+ paints one gets instead are all the same row and take the same 44pt reach.
858
+ A Button takes its floor through the house's touch hook, set on the row
859
+ that wants the reach; the hook raises the block size only, so the width a
860
+ square control needs is still asked for here, and Back is not a Button. */
861
+ .agent-computer__window-bar,
862
+ .agent-computer__window-actions {
863
+ --sigvelo-recipe-button-touch-size: var(--computer-nav-height);
864
+ }
865
+ .agent-computer__window-bar {
866
+ min-block-size: var(--computer-nav-height);
867
+ }
868
+ .agent-computer__window-bar .button,
869
+ .agent-computer__window-actions .button {
870
+ min-inline-size: var(--computer-nav-height);
871
+ }
872
+ .agent-computer [data-nav-back] {
873
+ min-inline-size: var(--computer-nav-height);
874
+ min-block-size: var(--computer-nav-height);
875
+ }
876
+ /* A touch-driven menu bar keeps 44pt titles. On a phone this band is the
877
+ Home widget area instead, where Apple's own widget controls are 28–34pt,
878
+ so the floor stays on the desktop side of the breakpoint. */
879
+ @container agent-computer (inline-size > 48rem) {
880
+ .agent-computer__bar {
881
+ --sigvelo-recipe-button-touch-size: var(--computer-nav-height);
882
+ }
883
+ .agent-computer__bar .button {
884
+ min-inline-size: var(--computer-nav-height);
885
+ }
886
+ }
887
+ }
888
+ @media (hover: none) {
889
+ .agent-computer__window-control svg {
890
+ opacity: 1;
891
+ }
892
+ }
893
+ @media (forced-colors: active) {
894
+ .agent-computer__window,
895
+ .agent-computer__dock,
896
+ .agent-computer__context {
897
+ border: 1px solid CanvasText;
898
+ box-shadow: none;
899
+ }
900
+ /* No glass either: a blurred translucent plate is the first thing a
901
+ high-contrast reader turns off. */
902
+ .agent-computer__dock {
903
+ backdrop-filter: none;
904
+ }
905
+ .agent-computer__dock,
906
+ .agent-computer__context {
907
+ background: Canvas;
908
+ }
909
+ .agent-computer__mobile-home::before {
910
+ background: CanvasText;
911
+ }
912
+ .agent-computer__window-control::before {
913
+ border: 1px solid ButtonText;
914
+ }
915
+ .agent-computer__window-control svg {
916
+ opacity: 1;
917
+ color: ButtonText;
918
+ }
919
+ /* The open app is marked on its artwork: the system focus ring owns the
920
+ button's outline, so a focused open tile shows one ring and one mark. */
921
+ .agent-computer__app[aria-pressed="true"] .agent-computer__app-icon {
922
+ outline: 2px solid Highlight;
923
+ outline-offset: -2px;
924
+ }
925
+ /* A forced palette owns fills, and a deck of cards separated only by
926
+ elevation flattens into one page: the card takes the system's own border
927
+ and its close control the system's button face. Home behind it drops its
928
+ blur, which is the first thing a high-contrast reader turns off. */
929
+ .agent-computer[data-switcher] .agent-computer__window {
930
+ border: 1px solid CanvasText;
931
+ }
932
+ .agent-computer__card-close {
933
+ color: ButtonText;
934
+ background: ButtonFace;
935
+ border: 1px solid ButtonText;
936
+ box-shadow: none;
937
+ }
938
+ .agent-computer[data-switcher]
939
+ :is(.agent-computer__home, .agent-computer__bar, .agent-computer__dock) {
940
+ filter: none;
941
+ }
942
+ }