@mcp-b/react-components 0.65.0 → 0.66.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 (107) hide show
  1. package/dist/AgentComputer-2uYB8kmu.js +8084 -0
  2. package/dist/{ExecutionResult-CXnGcmM4.js → ExecutionResult-C7SzVquo.js} +1 -1
  3. package/dist/WallpaperPicker-C-FItmDS.d.ts +34 -0
  4. package/dist/WorkspaceBrowser-Dz48H-7X.d.ts +89 -0
  5. package/dist/{WorkspaceFileCommands-SNIjRgtU.d.ts → WorkspaceFileCommands-1s9Ol8CG.d.ts} +11 -3
  6. package/dist/{WorkspaceMessageResponse-CXGOQgpo.js → WorkspaceMessageResponse-BoeeltJM.js} +1 -1
  7. package/dist/assets/wallpapers/README.md +31 -0
  8. package/dist/assets/wallpapers/alpine.webp +0 -0
  9. package/dist/assets/wallpapers/dusk.webp +0 -0
  10. package/dist/assets/wallpapers/ember.webp +0 -0
  11. package/dist/assets/wallpapers/graphite.webp +0 -0
  12. package/dist/assets/wallpapers/sigvelo.webp +0 -0
  13. package/dist/assets/wallpapers/tide.webp +0 -0
  14. package/dist/automations-host-DPORjdc7.js +17 -0
  15. package/dist/components/agents-sdk/AgentComputer.d.ts +7 -1
  16. package/dist/components/agents-sdk/AgentComputer.js +1 -8044
  17. package/dist/components/agents-sdk/AgentScreenSwitcher.js +1 -0
  18. package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +7 -1
  19. package/dist/components/agents-sdk/BrowserLiveScreen.js +259 -257
  20. package/dist/components/agents-sdk/BrowserRunPanel.d.ts +2 -0
  21. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -0
  22. package/dist/components/agents-sdk/ComputerAutomations.d.ts +70 -0
  23. package/dist/components/agents-sdk/ComputerAutomations.js +1410 -0
  24. package/dist/components/agents-sdk/ComputerCalendar.d.ts +7 -0
  25. package/dist/components/agents-sdk/ComputerCalendar.js +1344 -0
  26. package/dist/components/agents-sdk/ComputerFiles.d.ts +153 -0
  27. package/dist/components/agents-sdk/ComputerFiles.js +2401 -0
  28. package/dist/components/agents-sdk/ComputerHome.d.ts +15 -0
  29. package/dist/components/agents-sdk/ComputerHome.js +90 -0
  30. package/dist/components/agents-sdk/ComputerNotifications.d.ts +54 -0
  31. package/dist/components/agents-sdk/ComputerNotifications.js +692 -0
  32. package/dist/components/agents-sdk/ComputerScreen.d.ts +78 -0
  33. package/dist/components/agents-sdk/ComputerScreen.js +750 -0
  34. package/dist/components/agents-sdk/ComputerSettings.d.ts +69 -0
  35. package/dist/components/agents-sdk/ComputerSettings.js +1371 -0
  36. package/dist/components/agents-sdk/ComputerSpotlight.d.ts +29 -0
  37. package/dist/components/agents-sdk/ComputerSpotlight.js +232 -0
  38. package/dist/components/agents-sdk/ComputerViewer.d.ts +51 -0
  39. package/dist/components/agents-sdk/ComputerViewer.js +339 -0
  40. package/dist/components/agents-sdk/ComputerWallpapers.d.ts +11 -0
  41. package/dist/components/agents-sdk/ComputerWallpapers.js +43 -0
  42. package/dist/components/agents-sdk/EmployeeApp.js +1 -1
  43. package/dist/components/agents-sdk/EmployeeChat.js +1 -1
  44. package/dist/components/agents-sdk/EmployeeChrome.js +4 -4
  45. package/dist/components/agents-sdk/EmployeeSchedules.js +3 -3
  46. package/dist/components/agents-sdk/EmployeeStartScreen.js +1 -1
  47. package/dist/components/agents-sdk/ExecutionBoard.js +1 -1
  48. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  49. package/dist/components/agents-sdk/ManagerOfficeScreens.js +1 -1
  50. package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
  51. package/dist/components/agents-sdk/ModelSelector.js +1 -1
  52. package/dist/components/agents-sdk/ThinkChat.js +1 -1
  53. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +1 -1
  54. package/dist/components/agents-sdk/ThinkChatToolPanels.js +5 -5
  55. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
  56. package/dist/components/agents-sdk/ThinkFullApp.d.ts +13 -0
  57. package/dist/components/agents-sdk/ThinkFullApp.js +13 -0
  58. package/dist/components/agents-sdk/ThinkScheduleActions.js +1 -1
  59. package/dist/components/agents-sdk/ThinkScheduleDetail.js +3 -3
  60. package/dist/components/agents-sdk/ThinkScheduleForm.js +4 -4
  61. package/dist/components/agents-sdk/WorkspaceAutomation.js +4 -4
  62. package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1 -1
  63. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +2 -88
  64. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +1 -1
  65. package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +1 -1
  66. package/dist/components/agents-sdk/WorkspaceDocumentFrame.d.ts +17 -0
  67. package/dist/components/agents-sdk/WorkspaceDocumentFrame.js +90 -0
  68. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +4 -1
  69. package/dist/components/agents-sdk/WorkspaceExplorer.js +70 -66
  70. package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -2
  71. package/dist/components/agents-sdk/WorkspaceFileCommands.js +346 -316
  72. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +7 -1
  73. package/dist/components/agents-sdk/WorkspaceFileView.js +83 -71
  74. package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
  75. package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -4
  76. package/dist/components/agents-sdk/WorkspaceLive.js +18 -11
  77. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  78. package/dist/components/ai-sdk/ConnectedAppCards.js +1 -1
  79. package/dist/components/ai-sdk/Goal.d.ts +1 -2
  80. package/dist/components/ai-sdk/Goal.js +1 -2
  81. package/dist/components/extension/FirstRunSetup.js +5 -5
  82. package/dist/components/general-purpose/CommandPalette.d.ts +6 -1
  83. package/dist/components/general-purpose/CommandPalette.js +90 -82
  84. package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
  85. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  86. package/dist/components/general-purpose/WallpaperPicker.d.ts +2 -33
  87. package/dist/components/nanites/AgentConnection.js +1 -1
  88. package/dist/parts-BxJC0QVb.js +112 -0
  89. package/dist/styles/agent-computer.css +28 -0
  90. package/dist/styles/base.css +6 -0
  91. package/dist/styles/computer-app-tile.css +20 -0
  92. package/dist/styles/computer-automations.css +454 -0
  93. package/dist/styles/computer-calendar.css +648 -0
  94. package/dist/styles/computer-files.css +566 -0
  95. package/dist/styles/computer-home.css +90 -0
  96. package/dist/styles/computer-notifications.css +242 -0
  97. package/dist/styles/computer-screen.css +89 -0
  98. package/dist/styles/computer-settings.css +550 -0
  99. package/dist/styles/computer-spotlight.css +7 -0
  100. package/dist/styles/computer-viewer.css +130 -0
  101. package/dist/styles/index.css +11 -0
  102. package/dist/styles/recipes.css +42 -0
  103. package/dist/styles/workspace-document-frame.css +31 -0
  104. package/package.json +2 -2
  105. package/dist/{ManagerOffice-T79utm-P.js → ManagerOffice-kSK7vTBl.js} +1 -1
  106. package/dist/{WorkspaceLink-DDkj-Tq5.js → WorkspaceLink-DK9kdMUH.js} +1 -1
  107. package/dist/{connected-app-drafts-Bocdg3Z-.js → connected-app-drafts-C49343p9.js} +1 -1
@@ -0,0 +1,566 @@
1
+ /* A rail's section label: the group-label recipe's values, since no runtime
2
+ part owns a plain sidebar section yet. Computer apps with a rail share it. */
3
+ .computer-section-label {
4
+ display: block;
5
+ margin-block-start: var(--sigvelo-spacing-3);
6
+ padding-block: var(--sigvelo-recipe-group-label-padding-block);
7
+ padding-inline: var(--sigvelo-recipe-group-label-padding-inline);
8
+ color: var(--sigvelo-recipe-group-label-color);
9
+ font-size: var(--sigvelo-recipe-group-label-font-size);
10
+ font-weight: var(--sigvelo-recipe-group-label-font-weight);
11
+ line-height: var(--sigvelo-recipe-group-label-line-height);
12
+ }
13
+ /* A rail's row: a house ghost Button, start-aligned, with the house's
14
+ selection fill and the coarse-pointer floor. */
15
+ .computer-sidebar-row {
16
+ --sigvelo-recipe-button-font-weight: var(--sigvelo-font-weight-normal);
17
+
18
+ justify-content: start;
19
+ text-align: start;
20
+ }
21
+ /* A location under a drag takes the selection's fill, as Finder's sidebar does. */
22
+ .computer-sidebar-row:is([aria-pressed="true"], [data-drop-target]) {
23
+ background: var(--sigvelo-color-neutral-bg-muted);
24
+ }
25
+ @media (any-pointer: coarse) {
26
+ .computer-sidebar-row {
27
+ min-block-size: var(--sigvelo-touch-target);
28
+ }
29
+ }
30
+ @media (forced-colors: active) {
31
+ .computer-sidebar-row[aria-pressed="true"] {
32
+ outline: 2px solid Highlight;
33
+ outline-offset: -2px;
34
+ }
35
+ }
36
+
37
+ /* The Files window is a Finder window. One unified toolbar sits on the window
38
+ frame, the recessed sidebar column runs the full height under the traffic
39
+ lights, and the folder's list sits on the window's own plane. The sidebar
40
+ column's width is declared once and read by both sides of the bar seam. */
41
+ .computer-finder,
42
+ .computer-finder-toolbar {
43
+ /* Match the reference Finder's 200px navigation rail. */
44
+ --finder-sidebar: 12.5rem;
45
+ }
46
+
47
+ /* The window is a ListDetail: the rail beside the folder while the window
48
+ is wide enough for both, the folder pushed over the rail once it is not.
49
+ The rail column is Finder's own width rather than a mail list's. */
50
+ .computer-finder {
51
+ --sigvelo-recipe-list-detail-list-size: var(--finder-sidebar);
52
+
53
+ block-size: 100%;
54
+ container: computer-finder / inline-size;
55
+ }
56
+
57
+ /* Finder's unified toolbar. The shell's window controls own the bar's leading
58
+ edge and publish how far their run reaches as --computer-window-lights-run,
59
+ so the rail spacer is the sidebar column minus that run and the title slot's
60
+ own inset: the folder's controls then begin exactly where the content column
61
+ does. The shell reserves a matching run past the trailing edge only for a
62
+ bar that centres a title, and publishes that reservation as
63
+ --computer-window-title-trail; a unified toolbar is the width of the window,
64
+ so the shell hands this one a zero and there is nothing to undo. */
65
+ .computer-finder-toolbar {
66
+ display: flex;
67
+ flex: 1;
68
+ align-items: center;
69
+ /* Apple spaces toolbar items on 8pt. */
70
+ gap: var(--sigvelo-spacing-2);
71
+ min-inline-size: 0;
72
+ /* Finder's 52pt bar: the lights centre in it and the list starts under it. */
73
+ min-block-size: calc(var(--sigvelo-spacing-12) + var(--sigvelo-spacing-1));
74
+ }
75
+ .computer-finder-toolbar__rail {
76
+ flex: none;
77
+ inline-size: calc(
78
+ var(--finder-sidebar) - var(--sigvelo-recipe-computer-window-lights-run, 5rem) -
79
+ var(--sigvelo-spacing-2)
80
+ );
81
+ }
82
+ .computer-finder-toolbar__views {
83
+ display: contents;
84
+ }
85
+ /* Which of the two the window shows is the ListDetail's own layout, read
86
+ here rather than mirrored into state: a snap that stacks the folder over
87
+ the rail changes the bar and the path bar in the frame it lands. Stacked,
88
+ the bar has no rail column to line up with and the view controls move into
89
+ the path bar; side by side, the path bar is the bar's. */
90
+ [data-slot="computer-window"]:has(.computer-finder[data-layout="stacked"])
91
+ :is(.computer-finder-toolbar__rail, .computer-finder-toolbar__views) {
92
+ display: none;
93
+ }
94
+ .agent-computer:not([data-phone]) .computer-finder[data-layout="split"] .computer-finder-path-bar {
95
+ display: none;
96
+ }
97
+ /* Tahoe lifts every toolbar item onto a capsule of its own; the house puts
98
+ ghost controls straight on the bar, as its own top bar does, so a group is
99
+ only a run of buttons and carries no plate. */
100
+ .computer-finder-capsule {
101
+ display: flex;
102
+ flex: none;
103
+ align-items: center;
104
+ }
105
+ .computer-finder-toolbar__actions {
106
+ display: flex;
107
+ flex: none;
108
+ align-items: center;
109
+ }
110
+ /* Finder's toolbar search rests as a direct magnifier. Focus or a retained
111
+ term opens the shared field, including its normal focus treatment. */
112
+ .computer-finder-search {
113
+ --sigvelo-recipe-search-collapse: icon;
114
+ --sigvelo-recipe-search-expanded-size: 11rem;
115
+ }
116
+ .computer-finder-views {
117
+ flex: none;
118
+ }
119
+ /* Finder's sidebar is the same plane the window bar already paints, continued
120
+ below the seam so the column reads as one full-height rail — a step off the
121
+ content column in whichever direction the appearance needs, which is what
122
+ the shell's bar plane is. Apple's own measures 2 % under the content in
123
+ light (#FAFAFA against #FFFFFF on mac-finder-preview.png); ours takes 5 %,
124
+ the step the house's quiet layer is. Its trailing edge is the lit hairline
125
+ between the two planes: 5 % under the fill in light, 10 % over it in dark,
126
+ as every other lifted edge in the house. */
127
+ .computer-finder-sidebar {
128
+ /* The rows are the house's `sm` control: it sets the height, the symbol and
129
+ the label. Only the space between symbol and label is the rail's own, and
130
+ it is the control recipe's own gap, set here for the whole rail. */
131
+ --sigvelo-recipe-control-gap: var(--sigvelo-spacing-2);
132
+
133
+ display: flex;
134
+ flex-direction: column;
135
+ padding-block: var(--sigvelo-spacing-1) var(--sigvelo-spacing-3);
136
+ padding-inline: var(--sigvelo-spacing-2-5);
137
+ background: var(--sigvelo-recipe-window-bar-plane);
138
+ overflow: auto;
139
+ }
140
+ /* A sidebar section header is the house's group label, unaltered: its size,
141
+ its weight, its muted ink. Only the row height is the rail's own. */
142
+ .computer-finder-sidebar .computer-section-label {
143
+ display: flex;
144
+ align-items: center;
145
+ min-block-size: var(--sigvelo-spacing-6);
146
+ }
147
+ /* A sidebar row draws its symbol in the surface's own ink, selected or not:
148
+ macOS tints the selected row in the system accent, and the house's chrome
149
+ is monotone — the neutral pill the house already gives `aria-pressed` is
150
+ the whole of the selection. */
151
+ .computer-finder-sidebar svg {
152
+ color: var(--sigvelo-color-text);
153
+ }
154
+ /* On the desktop a group is only a run of rows in the rail; a phone's is the
155
+ inset-group recipe. */
156
+ .computer-finder-group:not([data-recipe]) {
157
+ display: contents;
158
+ }
159
+
160
+ /* The content column is the window's own plane: Finder's list runs straight up
161
+ into the toolbar with no second surface between them. The two columns are
162
+ separated by the step between their planes and the soft inner shadow the
163
+ rail casts, never by a drawn line — 6 % at the seam, gone by 32pt (measured
164
+ off mac-finder-preview.png at 1.263 px/pt: #F1F1F1 against the column's
165
+ #FFFFFF, reaching it again 40px in). The gradient is fixed to the border
166
+ box, so it stays at the seam while the list scrolls. */
167
+ .computer-finder-content {
168
+ display: flex;
169
+ flex-direction: column;
170
+ min-inline-size: 0;
171
+ min-block-size: 0;
172
+ overflow: auto;
173
+ background-image: linear-gradient(
174
+ to right,
175
+ color-mix(in oklab, transparent, var(--sigvelo-color-shadow) 6%),
176
+ transparent var(--sigvelo-spacing-8)
177
+ );
178
+ background-repeat: no-repeat;
179
+ }
180
+ .computer-finder-transfer {
181
+ margin: 0;
182
+ padding: var(--sigvelo-spacing-2) var(--sigvelo-spacing-3);
183
+ font-size: var(--sigvelo-text-xs);
184
+ color: var(--sigvelo-color-text-muted);
185
+ }
186
+ .computer-finder-transfer {
187
+ display: flex;
188
+ flex: none;
189
+ align-items: center;
190
+ justify-content: space-between;
191
+ gap: var(--sigvelo-spacing-3);
192
+ border-block-end: var(--sigvelo-border-width) var(--sigvelo-border-style)
193
+ var(--sigvelo-color-neutral-border-muted);
194
+ }
195
+ .computer-finder-path-bar {
196
+ display: flex;
197
+ flex: none;
198
+ flex-wrap: wrap;
199
+ align-items: center;
200
+ gap: var(--sigvelo-spacing-2);
201
+ padding: var(--sigvelo-spacing-2);
202
+ border-block-end: var(--sigvelo-border-width) var(--sigvelo-border-style)
203
+ var(--sigvelo-color-neutral-border-muted);
204
+ }
205
+ .computer-finder-breadcrumbs {
206
+ --sigvelo-recipe-button-font-weight: var(--sigvelo-font-weight-normal);
207
+
208
+ flex: 1 1 12rem;
209
+ min-inline-size: 0;
210
+ overflow-x: auto;
211
+ }
212
+ .computer-finder-breadcrumbs ol {
213
+ display: flex;
214
+ align-items: center;
215
+ gap: var(--sigvelo-spacing-1);
216
+ margin: 0;
217
+ padding: var(--sigvelo-spacing-1);
218
+ list-style: none;
219
+ }
220
+ .computer-finder-breadcrumbs li {
221
+ display: flex;
222
+ flex: none;
223
+ align-items: center;
224
+ gap: var(--sigvelo-spacing-1);
225
+ font-size: var(--sigvelo-text-xs);
226
+ white-space: nowrap;
227
+ }
228
+ .computer-finder-breadcrumbs li:last-child {
229
+ min-inline-size: 0;
230
+ flex-shrink: 1;
231
+ }
232
+ .computer-finder-breadcrumbs [aria-current="page"] {
233
+ overflow: hidden;
234
+ text-overflow: ellipsis;
235
+ font-weight: var(--sigvelo-font-weight-semibold);
236
+ }
237
+ .computer-finder-toolbar__title {
238
+ flex: 1;
239
+ min-inline-size: 0;
240
+ overflow: hidden;
241
+ text-overflow: ellipsis;
242
+ white-space: nowrap;
243
+ font-size: var(--sigvelo-text-base);
244
+ font-weight: var(--sigvelo-font-weight-semibold);
245
+ }
246
+ .computer-finder-breadcrumbs li > svg {
247
+ inline-size: var(--sigvelo-control-icon-size-xs);
248
+ block-size: var(--sigvelo-control-icon-size-xs);
249
+ color: var(--sigvelo-color-text-muted);
250
+ }
251
+ /* Only a phone shows the disclosure chevron: on the desktop the rail is a
252
+ sidebar and the folder opens beside it. */
253
+ .computer-finder-chevron {
254
+ display: none;
255
+ }
256
+
257
+ /* High contrast collapses every surface to Canvas, so each plane needs the line
258
+ it was carrying: the window's two columns and the toolbar seam on the
259
+ desktop, and on the phone the grouped card, whose fill and elevation both
260
+ go. The screen is one column there, so the rail's own edge would only draw a
261
+ line down the trailing edge of the display. */
262
+ @media (forced-colors: active) {
263
+ .computer-finder-content {
264
+ background-image: none;
265
+ }
266
+ :where(.agent-computer:not([data-phone])) .computer-finder-content {
267
+ border-block-start: var(--sigvelo-border-style) var(--sigvelo-border-width) CanvasText;
268
+ border-inline-start: var(--sigvelo-border-style) var(--sigvelo-border-width) CanvasText;
269
+ }
270
+ }
271
+
272
+ /* Phone: the root screen is iOS Files' "Browse" — a large title over grouped
273
+ inset cards of locations on the system grouped background — and a location
274
+ drills in to the plain list iOS shows inside a folder. iOS's own ramp (34pt
275
+ title, 20pt headers, 17pt rows) is not the house's, so the structure is
276
+ Files' and every size is ours: 16pt page margin, a large title that
277
+ collapses into the bar, section headers over grouped cards with 20pt
278
+ corners, and a hairline separator from the row's label to its trailing
279
+ inset. */
280
+ :where(.agent-computer[data-phone]) .computer-finder {
281
+ /* Where a row's label — and so the inset group's separator — begins,
282
+ measured from the row's own leading edge: its 16pt inset, the house `sm`
283
+ symbol, and the gap between them. */
284
+ --sigvelo-recipe-row-separator-start: calc(
285
+ var(--sigvelo-spacing-4) + var(--sigvelo-control-icon-size-sm) + var(--sigvelo-spacing-3)
286
+ );
287
+ /* The grouped cards want more than the desktop rail's 200px when a wide
288
+ phone sets them beside the folder. */
289
+ --sigvelo-recipe-list-detail-list-size: minmax(16rem, 19rem);
290
+ /* The screens the phone stacks are Files' own, so they carry the window's
291
+ plane rather than the stack's default canvas. */
292
+ --sigvelo-recipe-screen-stack-plane: var(--sigvelo-recipe-computer-nav-plane);
293
+ }
294
+ /* A pushed screen is its own navigation bar over its own content. */
295
+ :where(.agent-computer[data-phone]) .computer-finder-screen {
296
+ display: flex;
297
+ flex-direction: column;
298
+ min-block-size: 0;
299
+ }
300
+ /* The root screen is iOS's grouped page: one recessed plane the cards rise
301
+ from, title row included — and that plane is the shell's own
302
+ `--computer-nav-plane`, so the large-title browse bar carries no fill of
303
+ its own and reads the same material as an app-painted bar (Slack's
304
+ channel header) and a shell-painted one (the browser's). Inside a folder
305
+ the list is the page, as Files draws it, so that screen keeps the
306
+ window's own plane. */
307
+ :where(.agent-computer[data-phone]) .computer-finder [data-list-detail-pane="list"] {
308
+ background: var(--sigvelo-recipe-computer-nav-plane);
309
+ }
310
+ /* One screen, one plane: the phone has no sidebar to cast a seam. */
311
+ :where(.agent-computer[data-phone]) .computer-finder-content {
312
+ border-inline-start: 0;
313
+ background-image: none;
314
+ }
315
+ /* Every screen carries its own navigation bar, so the bar travels with the
316
+ screen a push or a pop moves and the shell's own bar stands down for all of
317
+ them. It is the house's bar: a 44pt band holding 44pt controls edge to
318
+ edge, so the bar's own breathing room comes off and only the device's top
319
+ inset stays, and the title takes the fill track between two slots the
320
+ width of the bar — the leading one held for Back whether or not the screen
321
+ has one, so the title sits on the screen's centre either way. */
322
+ :where(.agent-computer[data-phone]) .computer-finder-bar {
323
+ --sigvelo-recipe-app-top-bar-block-size: var(--sigvelo-recipe-computer-nav-height);
324
+ --sigvelo-recipe-app-top-bar-padding-block: env(safe-area-inset-top, 0px) 0;
325
+ --sigvelo-recipe-app-top-bar-title-max-inline-size: 100%;
326
+
327
+ flex: none;
328
+ grid-template-columns:
329
+ minmax(var(--sigvelo-recipe-computer-nav-height), auto)
330
+ var(--sigvelo-layout-track-fill)
331
+ minmax(var(--sigvelo-recipe-computer-nav-height), auto);
332
+ padding-inline: max(var(--sigvelo-spacing-2), env(safe-area-inset-left, 0px))
333
+ max(var(--sigvelo-spacing-2), env(safe-area-inset-right, 0px));
334
+ border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width-hairline)
335
+ var(--sigvelo-color-neutral-border-subtle);
336
+ }
337
+ /* iOS's 17pt navigation title is the house's `-base` semibold, the same
338
+ value Slack's channel bar names its conversation at. */
339
+ :where(.agent-computer[data-phone]) .computer-finder-bar__title {
340
+ align-content: center;
341
+ text-align: center;
342
+ font-size: var(--sigvelo-text-base);
343
+ font-weight: var(--sigvelo-font-weight-semibold);
344
+ line-height: var(--sigvelo-leading-tight);
345
+ }
346
+
347
+ /*
348
+ * The root screen is one scroll port from the bar down, because the bar's
349
+ * material and the swap between its two titles are both this scroller's own
350
+ * state: `scroll-state` can only style a container's descendants, and a view
351
+ * timeline can only be read by an element the name is in scope for.
352
+ */
353
+ :where(.agent-computer[data-phone]) .computer-finder-browse {
354
+ min-block-size: 0;
355
+ overflow-y: auto;
356
+ overscroll-behavior-y: contain;
357
+ container-type: scroll-state;
358
+ container-name: finder-browse;
359
+ timeline-scope: --finder-large-title;
360
+ }
361
+ :where(.agent-computer[data-phone]) .computer-finder-browse .computer-finder-bar {
362
+ position: sticky;
363
+ inset-block-start: 0;
364
+ z-index: 1;
365
+ border-block-end-color: transparent;
366
+ background: none;
367
+ transition:
368
+ background-color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
369
+ border-color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
370
+ backdrop-filter var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
371
+ }
372
+ /* Apple gives a bar its material and its hairline only once content is under
373
+ it, and `scrollable: top` is exactly "there is something above to scroll
374
+ back to". A container query flips a boolean, so this is a transition rather
375
+ than an animation. */
376
+ @container finder-browse scroll-state(scrollable: top) {
377
+ :where(.agent-computer[data-phone]) .computer-finder-browse .computer-finder-bar {
378
+ border-block-end-color: var(--sigvelo-color-neutral-border-subtle);
379
+ background: color-mix(in oklab, var(--sigvelo-recipe-computer-nav-plane), transparent 28%);
380
+ backdrop-filter: var(--sigvelo-glass-filter-chrome);
381
+ }
382
+ }
383
+ /*
384
+ * iOS Files' large title, at the house's own top of the ramp rather than
385
+ * iOS's 34pt bold: it sits directly under the 44pt bar with nothing between
386
+ * them, on the page's 16pt margin, and 10pt of air separates it from the
387
+ * first row. The band it collapses through is its own line box plus that
388
+ * air, which is what the scroll timeline below measures.
389
+ */
390
+ :where(.agent-computer[data-phone]) .computer-finder-browse-title {
391
+ margin: 0;
392
+ padding-block: 0 var(--sigvelo-spacing-2-5);
393
+ padding-inline: max(var(--sigvelo-spacing-4), env(safe-area-inset-left, 0px))
394
+ max(var(--sigvelo-spacing-4), env(safe-area-inset-right, 0px));
395
+ font-size: var(--sigvelo-text-xl);
396
+ font-weight: var(--sigvelo-font-weight-semibold);
397
+ line-height: var(--sigvelo-text-xl-leading);
398
+ /* The title's own scroll-out is the timeline both titles read. The bar is
399
+ stuck over the top of the port, so the title has finished leaving when it
400
+ is behind the bar rather than when it is past the port's edge, which is
401
+ what the inset says — and that makes the collapse distance the title
402
+ block's own height, starting at the first pixel of scroll. */
403
+ view-timeline: --finder-large-title block;
404
+ view-timeline-inset: calc(
405
+ var(--sigvelo-recipe-computer-nav-height) + env(safe-area-inset-top, 0px)
406
+ )
407
+ auto;
408
+ animation: computer-finder-title-out linear both;
409
+ animation-timeline: --finder-large-title;
410
+ animation-range: exit;
411
+ transform-origin: left bottom;
412
+ }
413
+ /* The inline title is the same name arriving where the large one left, over
414
+ the last half of the same range: iOS swaps them, it does not cross-fade
415
+ them across the whole scroll. */
416
+ :where(.agent-computer[data-phone]) .computer-finder-browse .computer-finder-bar__title {
417
+ opacity: 0;
418
+ animation: computer-finder-title-in linear both;
419
+ animation-timeline: --finder-large-title;
420
+ animation-range: exit 45% exit 100%;
421
+ }
422
+ /* Reduce Motion stops that animation, so the inline title arrives with the
423
+ bar's material instead. With motion on, the animation owns its opacity. */
424
+ @container finder-browse scroll-state(scrollable: top) {
425
+ :where(.agent-computer[data-phone]) .computer-finder-browse .computer-finder-bar__title {
426
+ opacity: 1;
427
+ }
428
+ }
429
+ /*
430
+ * The title goes *under* the bar, and is clipped at its edge — iOS scrolls
431
+ * the large title beneath the navigation bar and lets the bar's boundary cut
432
+ * it, rather than letting 34pt of bold ink cross the hairline.
433
+ *
434
+ * The clip has to be here rather than left to the bar's own material: the
435
+ * title carries a scroll-driven animation of `transform` and `opacity`, so
436
+ * Chrome composites it on its own layer, and a composited layer is not part
437
+ * of what a `backdrop-filter` samples. The list rows behind the bar *are*
438
+ * blurred by it; this one element would not be. Probed:
439
+ * wave6/fix-phone/shots/dbg-blur-only.png, where a 20px backdrop blur leaves
440
+ * the title sharp.
441
+ *
442
+ * The inset is exact rather than eyeballed: `view-timeline-inset` makes the
443
+ * range the title's own height, so at progress p the height hidden under the
444
+ * bar is p of the block — which is what `inset(p × 100%)` clips. The other
445
+ * three sides run negative so nothing else is cut.
446
+ */
447
+ @keyframes computer-finder-title-out {
448
+ from {
449
+ opacity: 1;
450
+ transform: none;
451
+ clip-path: inset(0 -100% -100% -100%);
452
+ }
453
+ to {
454
+ opacity: 0;
455
+ transform: scale(0.72) translateY(-0.25em);
456
+ clip-path: inset(100% -100% -100% -100%);
457
+ }
458
+ }
459
+ @keyframes computer-finder-title-in {
460
+ from {
461
+ opacity: 0;
462
+ }
463
+ to {
464
+ opacity: 1;
465
+ }
466
+ }
467
+ :where(.agent-computer[data-phone]) .computer-finder-content {
468
+ flex: 1;
469
+ min-block-size: 0;
470
+ }
471
+ /* The rail is content inside the root screen's scroll port, not a scroller of
472
+ its own: the large title has to leave through the same scroll that moves it. */
473
+ :where(.agent-computer[data-phone]) .computer-finder-browse .computer-finder-sidebar {
474
+ flex: none;
475
+ padding: 0 var(--sigvelo-spacing-4) var(--sigvelo-spacing-6);
476
+ overflow: visible;
477
+ /* One plane from the title down: the rail's desktop bar plane would draw a
478
+ band across the middle of the page now that the rail is content in the
479
+ screen's scroll port rather than the screen itself. */
480
+ background: none;
481
+ }
482
+ /* A section label is the house's group label here as it is on the desktop —
483
+ 12px semibold in the muted ink — not iOS's 20pt heading. Only the air
484
+ around it is the grouped page's: 24pt above, 12pt to the card it names. */
485
+ :where(.agent-computer[data-phone]) .computer-finder-sidebar .computer-section-label {
486
+ min-block-size: 0;
487
+ margin-block: var(--sigvelo-spacing-6) var(--sigvelo-spacing-3);
488
+ }
489
+ /* A grouped-list row: the card's own 16pt inset, the house's `sm` control
490
+ for everything inside it, and no band of its own — the card is the
491
+ surface and the separator, positioned against this row, the boundary. The
492
+ 44pt target is the coarse-pointer floor below, not a resting height. */
493
+ :where(.agent-computer[data-phone]) .computer-finder-sidebar {
494
+ --sigvelo-recipe-control-gap: var(--sigvelo-spacing-3);
495
+ }
496
+ :where(.agent-computer[data-phone]) .computer-finder-sidebar .computer-sidebar-row,
497
+ :where(.agent-computer[data-phone])
498
+ .computer-finder-sidebar
499
+ .computer-sidebar-row[aria-pressed="true"] {
500
+ padding-inline: var(--sigvelo-spacing-4);
501
+ border-radius: 0;
502
+ background: none;
503
+ }
504
+ /* iOS answers a tap by filling the row, and never nudges it. */
505
+ :where(.agent-computer[data-phone])
506
+ .computer-finder-sidebar
507
+ .computer-sidebar-row:active:not([data-disabled]) {
508
+ translate: none;
509
+ }
510
+ @media (hover: none) {
511
+ :where(.agent-computer[data-phone])
512
+ .computer-finder-sidebar
513
+ .computer-sidebar-row:hover:not([data-disabled]) {
514
+ background: none;
515
+ }
516
+ :where(.agent-computer[data-phone])
517
+ .computer-finder-sidebar
518
+ .computer-sidebar-row:active:not([data-disabled]) {
519
+ background: var(--sigvelo-color-neutral-bg-muted);
520
+ }
521
+ }
522
+ /* Files draws a location's symbol as an outline rather than a filled tile,
523
+ which the desktop rule above already does in the surface's own ink; iOS
524
+ tints it and the house's chrome is monotone, so nothing is restated here.
525
+ The disclosure is the row's quietest mark. */
526
+ :where(.agent-computer[data-phone]) .computer-finder-sidebar .computer-finder-chevron {
527
+ display: block;
528
+ margin-inline-start: auto;
529
+ color: var(--sigvelo-color-text-faint);
530
+ }
531
+ @media (forced-colors: active) {
532
+ /* A quaternary gray is not a colour a forced palette keeps: the row's
533
+ disclosure takes the palette's own ink, as the list's does. */
534
+ :where(.agent-computer[data-phone]) .computer-finder-sidebar .computer-finder-chevron {
535
+ color: CanvasText;
536
+ }
537
+ }
538
+
539
+ /* iOS Files carries no path bar: each screen's Back and title already say
540
+ where it is, so on a phone the row keeps only the view and sort controls,
541
+ above a list that runs on without a seam. */
542
+ :where(.agent-computer[data-phone]) .computer-finder-breadcrumbs {
543
+ display: none;
544
+ }
545
+ :where(.agent-computer[data-phone]) .computer-finder-path-bar {
546
+ justify-content: end;
547
+ border-block-end: 0;
548
+ }
549
+ /* Get Info: the General section's facts on the panel's own plane. */
550
+ .computer-info {
551
+ padding: var(--sigvelo-spacing-4);
552
+ }
553
+
554
+ /* Quick Look of a folder: its icon, its count and its names. */
555
+ .computer-files-folder-preview {
556
+ --sigvelo-recipe-app-icon-size: var(--sigvelo-spacing-20);
557
+
558
+ padding: var(--sigvelo-spacing-8);
559
+ text-align: center;
560
+ }
561
+ .computer-files-folder-preview ul {
562
+ padding: 0;
563
+ list-style: none;
564
+ line-height: var(--sigvelo-leading-loose);
565
+ color: var(--sigvelo-color-text-muted);
566
+ }
@@ -0,0 +1,90 @@
1
+ .computer-home {
2
+ max-inline-size: 34rem;
3
+ margin-inline: auto;
4
+ }
5
+ .computer-home__launchpad {
6
+ display: grid;
7
+ grid-template-columns: repeat(4, var(--sigvelo-layout-track-fill));
8
+ gap: var(--sigvelo-spacing-6) var(--sigvelo-spacing-3);
9
+ margin-block: var(--sigvelo-spacing-8);
10
+ }
11
+ .computer-home__launcher {
12
+ /* A launcher's label sits on the wallpaper, so it takes the wallpaper's ink
13
+ and its shadow, as Apple's Home and desktop labels do. */
14
+ --sigvelo-recipe-button-ghost-color: var(--sigvelo-recipe-wallpaper-ink);
15
+ flex-direction: column;
16
+ min-inline-size: 0;
17
+ padding: var(--sigvelo-spacing-2) 0;
18
+ gap: var(--sigvelo-spacing-2);
19
+ font-size: var(--sigvelo-text-xs);
20
+ font-weight: var(--sigvelo-font-weight-normal);
21
+ text-shadow: var(--sigvelo-recipe-wallpaper-ink-shadow);
22
+ white-space: normal;
23
+ }
24
+ .computer-home__search {
25
+ display: flex;
26
+ inline-size: fit-content;
27
+ margin-inline: auto;
28
+ color: inherit;
29
+ }
30
+ /* iOS 26 parks Home's Search pill just above the Dock; Home's page fills
31
+ its band so the pill sinks to the foot. */
32
+ :where(.agent-computer[data-phone]) .computer-home {
33
+ display: flex;
34
+ flex-direction: column;
35
+ min-block-size: 100%;
36
+ }
37
+ :where(.agent-computer[data-phone]) .computer-home__search {
38
+ margin-block: auto var(--sigvelo-spacing-2);
39
+ }
40
+ :where(.agent-computer[data-phone]) .computer-home__launchpad {
41
+ grid-template-columns: repeat(4, var(--sigvelo-recipe-computer-app-tile));
42
+ grid-auto-rows: var(--sigvelo-recipe-computer-home-row);
43
+ align-content: start;
44
+ justify-content: space-evenly;
45
+ gap: 0;
46
+ margin-block: 0;
47
+ }
48
+ /* iOS never repeats a Dock app on the Home page. */
49
+ :where(.agent-computer[data-phone]) .computer-home__launcher[data-favorite] {
50
+ display: none;
51
+ }
52
+ :where(.agent-computer[data-phone]) .computer-home__launcher {
53
+ /* Touch has no hover, so the launcher re-points the ghost fill hook. */
54
+ --sigvelo-recipe-button-ghost-fill: transparent;
55
+
56
+ inline-size: var(--sigvelo-recipe-computer-app-tile);
57
+ align-self: start;
58
+ gap: var(--sigvelo-spacing-1);
59
+ padding: 0;
60
+ font-size: var(--sigvelo-text-2xs);
61
+ font-weight: var(--sigvelo-font-weight-semibold);
62
+ line-height: var(--sigvelo-text-2xs-leading);
63
+ white-space: nowrap;
64
+ }
65
+ :where(.agent-computer[data-phone]) .computer-home__icon {
66
+ --sigvelo-recipe-app-icon-size: var(--sigvelo-recipe-computer-app-tile);
67
+ }
68
+ /* The label holds the tile's width and truncates rather than wrapping. */
69
+ :where(.agent-computer[data-phone]) .computer-home__label {
70
+ inline-size: 100%;
71
+ overflow: hidden;
72
+ text-overflow: ellipsis;
73
+ text-shadow: var(--sigvelo-recipe-wallpaper-ink-shadow);
74
+ }
75
+ :where(.agent-computer[data-phone]) .computer-home__launcher:active .computer-home__icon {
76
+ filter: brightness(0.88);
77
+ }
78
+ /* Keyboard focus rings the tile at its own squircle, inside its edge. */
79
+ :where(.agent-computer[data-phone]) .computer-home__launcher:focus-visible {
80
+ outline: none;
81
+ }
82
+ :where(.agent-computer[data-phone]) .computer-home__launcher:focus-visible .computer-home__icon {
83
+ outline: var(--sigvelo-focus-ring);
84
+ outline-offset: calc(-1 * var(--sigvelo-focus-width));
85
+ }
86
+ @media (forced-colors: active) {
87
+ .computer-home__label {
88
+ text-shadow: none;
89
+ }
90
+ }