@mcp-b/react-components 0.64.1 → 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 (116) 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/agents-sdk/WorkspaceProject.d.ts +2 -1
  79. package/dist/components/agents-sdk/WorkspaceProject.js +7 -4
  80. package/dist/components/ai-sdk/ConnectedAppCards.js +1 -1
  81. package/dist/components/ai-sdk/Goal.d.ts +1 -2
  82. package/dist/components/ai-sdk/Goal.js +1 -2
  83. package/dist/components/extension/FirstRunSetup.d.ts +132 -37
  84. package/dist/components/extension/FirstRunSetup.js +1920 -1567
  85. package/dist/components/general-purpose/CommandPalette.d.ts +6 -1
  86. package/dist/components/general-purpose/CommandPalette.js +90 -82
  87. package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
  88. package/dist/components/general-purpose/StatusScreen.d.ts +6 -1
  89. package/dist/components/general-purpose/StatusScreen.js +44 -36
  90. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  91. package/dist/components/general-purpose/WallpaperPicker.d.ts +2 -33
  92. package/dist/components/nanites/AgentConnection.js +1 -1
  93. package/dist/parts-BxJC0QVb.js +112 -0
  94. package/dist/styles/agent-computer.css +28 -0
  95. package/dist/styles/base.css +6 -0
  96. package/dist/styles/chatgpt-sign-in-screen.css +2 -0
  97. package/dist/styles/computer-app-tile.css +20 -0
  98. package/dist/styles/computer-automations.css +454 -0
  99. package/dist/styles/computer-calendar.css +648 -0
  100. package/dist/styles/computer-files.css +566 -0
  101. package/dist/styles/computer-home.css +90 -0
  102. package/dist/styles/computer-notifications.css +242 -0
  103. package/dist/styles/computer-screen.css +89 -0
  104. package/dist/styles/computer-settings.css +550 -0
  105. package/dist/styles/computer-spotlight.css +7 -0
  106. package/dist/styles/computer-viewer.css +130 -0
  107. package/dist/styles/first-run-setup.css +107 -96
  108. package/dist/styles/index.css +11 -0
  109. package/dist/styles/recipes.css +42 -0
  110. package/dist/styles/select.css +2 -1
  111. package/dist/styles/switch.css +20 -5
  112. package/dist/styles/workspace-document-frame.css +31 -0
  113. package/package.json +2 -2
  114. package/dist/{ManagerOffice-T79utm-P.js → ManagerOffice-kSK7vTBl.js} +1 -1
  115. package/dist/{WorkspaceLink-DDkj-Tq5.js → WorkspaceLink-DK9kdMUH.js} +1 -1
  116. package/dist/{connected-app-drafts-Bocdg3Z-.js → connected-app-drafts-C49343p9.js} +1 -1
@@ -127,7 +127,7 @@
127
127
  }
128
128
 
129
129
  .first-run-navigation__menu {
130
- --sigvelo-recipe-popup-min-inline-size: max(16rem, var(--anchor-width));
130
+ --sigvelo-recipe-popup-min-inline-size: 16rem;
131
131
  }
132
132
 
133
133
  .first-run-navigation__step {
@@ -137,10 +137,14 @@
137
137
  padding: var(--sigvelo-spacing-2) var(--sigvelo-spacing-3);
138
138
  color: var(--sigvelo-color-text-muted);
139
139
 
140
+ /* The select option's own selected fill shows; only the muted ink lifts. */
140
141
  &[data-selected] {
141
- background-color: var(--sigvelo-color-primary-bg-subtle);
142
- color: var(--sigvelo-color-primary-text);
143
- font-weight: var(--sigvelo-font-weight-semibold);
142
+ color: var(--sigvelo-color-neutral-text-on-subtle);
143
+ }
144
+
145
+ /* Work's own screens sit under Work, indented by the mark's width. */
146
+ &[data-nested] {
147
+ padding-inline-start: calc(var(--sigvelo-spacing-3) + var(--sigvelo-spacing-7));
144
148
  }
145
149
  }
146
150
 
@@ -186,13 +190,19 @@
186
190
  }
187
191
 
188
192
  .first-run-screen__scroll {
193
+ /* Top-anchored, so every screen's title sits on the same line. */
189
194
  display: grid;
190
- align-content: safe center;
195
+ align-content: start;
191
196
  overflow-y: auto;
192
197
  overscroll-behavior: contain;
193
198
  padding: var(--sigvelo-spacing-8);
194
199
  /* A row scrolled into view keeps the padding below it, clear of the fade. */
195
200
  scroll-padding-block: var(--sigvelo-spacing-8) var(--sigvelo-spacing-6);
201
+ }
202
+
203
+ /* A Work panel fades the same way, so a row cut at its edge reads as more to scroll. */
204
+ .first-run-screen__scroll,
205
+ .first-run-work__panel {
196
206
  animation:
197
207
  first-run-scrolled linear both,
198
208
  first-run-left linear both;
@@ -324,9 +334,14 @@
324
334
  }
325
335
  }
326
336
 
337
+ /* The profile is a two-line row on the card's own plane, not a card in it. */
327
338
  .first-run-profile-card {
339
+ --sigvelo-recipe-card-background: transparent;
340
+ --sigvelo-recipe-card-shadow: none;
341
+
328
342
  display: grid;
329
343
  grid-template-columns: auto minmax(0, 1fr);
344
+ padding: 0;
330
345
  align-items: center;
331
346
  gap: var(--sigvelo-spacing-3);
332
347
  & .first-run-profile-card__identity {
@@ -394,48 +409,44 @@
394
409
  gap: var(--sigvelo-spacing-4);
395
410
  inline-size: min(100%, 30rem);
396
411
  margin-inline: auto;
412
+
413
+ /* A lone tile keeps a pair's tile width, centered. */
414
+ &:has(> :only-child) {
415
+ grid-template-columns: minmax(0, 1fr);
416
+ inline-size: min(100%, calc((30rem - var(--sigvelo-spacing-4)) / 2));
417
+ }
397
418
  }
398
419
 
399
- /* A provider tile. History's are square buttons; sign-in's are cards whose
400
- action covers the surface (--linked). */
420
+ /* A provider tile: a raised control on the card's plane, lifted as buttons
421
+ are. History's are square buttons; sign-in's are cards whose action covers
422
+ the surface (--linked). The pointer adds a neutral layer over the raised
423
+ surface rather than replace it, so the tile stays opaque on the glass. */
401
424
  .first-run-provider-choice {
425
+ --first-run-choice-layer: transparent;
426
+
402
427
  display: flex;
403
428
  flex-direction: column;
404
429
  justify-content: flex-start;
405
430
  align-items: center;
406
431
  gap: var(--sigvelo-spacing-3);
407
- border: var(--sigvelo-border-width) solid var(--sigvelo-color-neutral-border-subtle);
408
- background-color: color-mix(
409
- in oklab,
410
- var(--sigvelo-color-surface-raised) 94%,
411
- var(--sigvelo-color-primary-bg)
412
- );
432
+ background-color: var(--sigvelo-color-surface-raised);
433
+ background-image: linear-gradient(var(--first-run-choice-layer), var(--first-run-choice-layer));
413
434
  inline-size: 100%;
414
435
  padding: var(--sigvelo-spacing-3);
415
436
  text-align: center;
416
437
  white-space: normal;
417
438
 
418
439
  &:is(button) {
419
- --sigvelo-recipe-button-shadow: var(--sigvelo-elevation-raised);
420
-
421
440
  aspect-ratio: 1;
422
441
  block-size: auto;
423
442
  }
424
443
 
425
444
  &:hover:not([data-disabled], :active) {
426
- background-color: color-mix(
427
- in oklab,
428
- var(--sigvelo-color-surface-raised) 90%,
429
- var(--sigvelo-color-primary-bg)
430
- );
445
+ --first-run-choice-layer: var(--sigvelo-color-neutral-bg-subtle);
431
446
  }
432
447
 
433
448
  &:active:not([data-disabled]) {
434
- background-color: color-mix(
435
- in oklab,
436
- var(--sigvelo-color-surface-raised) 86%,
437
- var(--sigvelo-color-primary-bg)
438
- );
449
+ --first-run-choice-layer: var(--sigvelo-color-neutral-bg-hover);
439
450
  }
440
451
  }
441
452
 
@@ -478,6 +489,12 @@
478
489
  display: grid;
479
490
  gap: var(--sigvelo-spacing-2);
480
491
  min-inline-size: 0;
492
+
493
+ /* Every field on these screens is named in body weight, the select's too. */
494
+ & > .select__label {
495
+ font-weight: inherit;
496
+ line-height: inherit;
497
+ }
481
498
  }
482
499
 
483
500
  .first-run-model-source {
@@ -485,8 +502,10 @@
485
502
  margin: 0;
486
503
  padding: 0;
487
504
 
505
+ /* The UA's legend padding would set it off its radios. */
488
506
  & legend {
489
507
  margin-block-end: var(--sigvelo-spacing-2);
508
+ padding: 0;
490
509
  }
491
510
  }
492
511
 
@@ -603,19 +622,21 @@
603
622
  }
604
623
  }
605
624
 
606
- /* Independent schedule approvals form one grouped settings list. */
625
+ /* Independent schedule approvals: two-line rows on the card's own plane,
626
+ spaced apart rather than ruled off. */
607
627
  .first-run-schedule-list {
628
+ --sigvelo-recipe-card-background: transparent;
629
+ --sigvelo-recipe-card-shadow: none;
630
+
631
+ display: grid;
632
+ gap: var(--sigvelo-spacing-2);
608
633
  list-style: none;
609
634
  margin: 0;
610
635
  padding: 0;
611
636
  }
612
637
 
613
638
  .first-run-schedule-choice {
614
- padding: var(--sigvelo-spacing-5);
615
- & + & {
616
- border-block-start: var(--sigvelo-border-width) var(--sigvelo-border-style)
617
- var(--sigvelo-color-neutral-border-muted);
618
- }
639
+ padding-block: var(--sigvelo-spacing-3);
619
640
  }
620
641
 
621
642
  .first-run-schedule {
@@ -858,11 +879,18 @@
858
879
  --sigvelo-recipe-card-background: Canvas;
859
880
  border: var(--sigvelo-border-width) solid CanvasText;
860
881
  }
882
+
883
+ /* Elevation is dropped here; the linked tile keeps a button's edge. */
884
+ .first-run-provider-choice--linked {
885
+ border: var(--sigvelo-border-width) solid ButtonText;
886
+ }
861
887
  }
862
888
 
863
889
  :root:active-view-transition-type(first-run-forward, first-run-back) {
890
+ /* A step change is an in-place handover, so it runs on the disclosure
891
+ spring (under 300 ms): React holds the next commit until it ends. */
864
892
  &::view-transition-group(*) {
865
- animation-duration: var(--sigvelo-motion-duration-layout);
893
+ animation-duration: var(--sigvelo-motion-duration-disclosure);
866
894
  animation-timing-function: var(--sigvelo-motion-ease-change);
867
895
  }
868
896
 
@@ -878,14 +906,14 @@
878
906
  &::view-transition-old(first-run-step),
879
907
  &::view-transition-old(first-run-actions),
880
908
  &::view-transition-old(*):only-child {
881
- animation: first-run-leave var(--sigvelo-motion-duration-layout)
909
+ animation: first-run-leave var(--sigvelo-motion-duration-disclosure)
882
910
  var(--sigvelo-motion-ease-change) both;
883
911
  }
884
912
 
885
913
  &::view-transition-new(first-run-step),
886
914
  &::view-transition-new(first-run-actions),
887
915
  &::view-transition-new(*):only-child {
888
- animation: first-run-enter var(--sigvelo-motion-duration-layout)
916
+ animation: first-run-enter var(--sigvelo-motion-duration-disclosure)
889
917
  var(--sigvelo-motion-ease-change) both;
890
918
  }
891
919
 
@@ -902,24 +930,24 @@
902
930
  /* Off the welcome screen, navigation arrives before the first task. */
903
931
  &::view-transition-new(first-run-navigation):only-child,
904
932
  &::view-transition-new(first-run-card):only-child {
905
- animation: first-run-rise var(--sigvelo-motion-duration-layout) var(--sigvelo-motion-ease-enter)
906
- calc(var(--sigvelo-motion-stagger-step) * 2) both;
933
+ animation: first-run-rise var(--sigvelo-motion-duration-disclosure)
934
+ var(--sigvelo-motion-ease-enter) calc(var(--sigvelo-motion-stagger-step) * 2) both;
907
935
  }
908
936
 
909
937
  &::view-transition-new(first-run-step):only-child {
910
- animation: first-run-rise var(--sigvelo-motion-duration-layout) var(--sigvelo-motion-ease-enter)
911
- calc(var(--sigvelo-motion-stagger-step) * 5) both;
938
+ animation: first-run-rise var(--sigvelo-motion-duration-disclosure)
939
+ var(--sigvelo-motion-ease-enter) calc(var(--sigvelo-motion-stagger-step) * 5) both;
912
940
  }
913
941
 
914
942
  &::view-transition-new(first-run-brand-name):only-child {
915
943
  --first-run-shift: calc(var(--sigvelo-motion-distance-sm) * -1);
916
- animation: first-run-enter var(--sigvelo-motion-duration-layout)
917
- var(--sigvelo-motion-ease-enter) calc(var(--sigvelo-motion-duration-layout) * 0.6) both;
944
+ animation: first-run-enter var(--sigvelo-motion-duration-disclosure)
945
+ var(--sigvelo-motion-ease-enter) calc(var(--sigvelo-motion-duration-disclosure) * 0.6) both;
918
946
  }
919
947
 
920
- /* The mark travels furthest, from the welcome screen to the header. */
948
+ /* The mark travels furthest, from the welcome screen to the header, on the
949
+ snappier spring so it lands with everything else. */
921
950
  &::view-transition-group(first-run-mark) {
922
- animation-duration: calc(var(--sigvelo-motion-duration-layout) * 1.5);
923
951
  animation-timing-function: var(--sigvelo-ease-spring-snappy);
924
952
  }
925
953
 
@@ -951,21 +979,13 @@
951
979
  }
952
980
 
953
981
  @media (prefers-reduced-motion: no-preference) {
954
- /* The orb turns and the navigation's spinner replaces the stage count. */
982
+ /* The orb turns. */
955
983
  :root:not([data-motion="reduce"]) {
956
984
  & .first-run-orb__flow {
957
985
  /* A slow drift, not a spinner: --sigvelo-motion-duration-spin turns
958
986
  five times as fast, and no motion token names an ambient loop. */
959
987
  animation: first-run-orb-flow 5s linear infinite;
960
988
  }
961
-
962
- & .first-run-work__activity-spin {
963
- display: block;
964
- }
965
-
966
- & .first-run-work__activity-count {
967
- display: none;
968
- }
969
989
  }
970
990
 
971
991
  /* The one control to press pulses, gently; a static ring would read as focus. */
@@ -1067,10 +1087,6 @@
1067
1087
  }
1068
1088
 
1069
1089
  /* A compact preference column beside a readable live email preview. */
1070
- .first-run-screen__scroll[data-layout="writing"] {
1071
- align-content: start;
1072
- }
1073
-
1074
1090
  .first-run-screen__scroll[data-layout="writing"] .first-run-body {
1075
1091
  inline-size: min(100%, 52rem);
1076
1092
  }
@@ -1093,9 +1109,10 @@
1093
1109
  padding: 0;
1094
1110
  border: 0;
1095
1111
 
1112
+ /* Both legends start at their control's edge: the choice rows' and the select's. */
1096
1113
  & > legend {
1097
1114
  margin-block-end: var(--sigvelo-spacing-2);
1098
- padding: 0 var(--sigvelo-spacing-3);
1115
+ padding: 0;
1099
1116
  font-size: var(--sigvelo-text-sm);
1100
1117
  font-weight: var(--sigvelo-font-weight-semibold);
1101
1118
  }
@@ -1118,10 +1135,6 @@
1118
1135
  inline-size: 100%;
1119
1136
  }
1120
1137
 
1121
- .first-run-writing__signature > legend {
1122
- padding-inline: 0;
1123
- }
1124
-
1125
1138
  .first-run-writing__preview {
1126
1139
  min-inline-size: 0;
1127
1140
  }
@@ -1138,7 +1151,7 @@
1138
1151
  /* The card action covers its surface; help links remain independent controls. */
1139
1152
  .first-run-provider-choice--linked {
1140
1153
  --sigvelo-recipe-card-radius: var(--sigvelo-recipe-control-radius);
1141
- --sigvelo-recipe-card-shadow: var(--sigvelo-elevation-raised);
1154
+ --sigvelo-recipe-card-shadow: var(--sigvelo-elevation-control);
1142
1155
 
1143
1156
  position: relative;
1144
1157
  min-block-size: 15.5rem;
@@ -1196,8 +1209,8 @@
1196
1209
 
1197
1210
  /* Work: the tabs stay put while each panel scrolls its own results. */
1198
1211
  .first-run-work {
1199
- display: grid;
1200
- grid-template-rows: auto minmax(0, 1fr);
1212
+ display: flex;
1213
+ flex-direction: column;
1201
1214
  gap: var(--sigvelo-spacing-5);
1202
1215
  min-block-size: 0;
1203
1216
  }
@@ -1207,31 +1220,21 @@
1207
1220
  gap: var(--sigvelo-spacing-5);
1208
1221
  }
1209
1222
 
1210
- .first-run-work__retry {
1211
- justify-self: start;
1212
- }
1213
-
1214
- .first-run-work__empty {
1215
- color: var(--sigvelo-color-text-muted);
1216
- }
1217
-
1218
- .first-run-work__activity {
1219
- display: inline-grid;
1220
- place-items: center;
1221
- color: var(--sigvelo-color-text-muted);
1222
- font-size: var(--sigvelo-text-xs);
1223
- font-variant-numeric: tabular-nums;
1223
+ /* What didn't finish: one sentence, then its own retry. */
1224
+ .first-run-work__unfinished {
1225
+ display: flex;
1226
+ flex-wrap: wrap;
1227
+ align-items: center;
1228
+ gap: var(--sigvelo-spacing-2) var(--sigvelo-spacing-3);
1224
1229
 
1225
- & svg {
1226
- inline-size: var(--sigvelo-spacing-4);
1227
- block-size: var(--sigvelo-spacing-4);
1230
+ & > p {
1231
+ margin: 0;
1232
+ color: var(--sigvelo-color-text-muted);
1228
1233
  }
1229
1234
  }
1230
1235
 
1231
- /* Still, it reports completed stages rather than freeze a spinner; with
1232
- motion the spinner takes over (below, under Motion). */
1233
- .first-run-work__activity-spin {
1234
- display: none;
1236
+ .first-run-work__empty {
1237
+ color: var(--sigvelo-color-text-muted);
1235
1238
  }
1236
1239
 
1237
1240
  .first-run-choice__description {
@@ -1242,13 +1245,16 @@
1242
1245
  }
1243
1246
 
1244
1247
  /* A crisp, Rook-colored particle sphere. Activity text carries the meaning;
1245
- reduced motion keeps the sphere still and completion removes it entirely. */
1248
+ reduced motion keeps the sphere still and completion removes it entirely.
1249
+ Below this size its smallest dots fall under a pixel, so it overhangs the
1250
+ title line instead: the title keeps its height when the orb leaves. */
1246
1251
  .first-run-orb {
1247
1252
  position: relative;
1248
1253
  display: inline-block;
1249
1254
  flex: none;
1250
1255
  inline-size: var(--sigvelo-spacing-10);
1251
1256
  block-size: var(--sigvelo-spacing-10);
1257
+ margin-block: calc((1lh - var(--sigvelo-spacing-10)) / 2);
1252
1258
  color: var(--sigvelo-color-primary-text);
1253
1259
  }
1254
1260
 
@@ -1304,9 +1310,9 @@
1304
1310
  var(--sigvelo-color-neutral-border-muted);
1305
1311
  }
1306
1312
 
1313
+ /* Tabs size to their labels, so the space between labels is even. */
1307
1314
  .first-run-work__tab {
1308
- flex: 1;
1309
- min-inline-size: 0;
1315
+ flex: none;
1310
1316
  display: flex;
1311
1317
  justify-content: flex-start;
1312
1318
  align-items: center;
@@ -1358,27 +1364,31 @@
1358
1364
  }
1359
1365
 
1360
1366
  .first-run-work__panels {
1367
+ flex: 1;
1368
+ min-block-size: 0;
1361
1369
  overflow: hidden;
1362
1370
  }
1363
1371
 
1364
- /* Progress is one compact, centered row, not a separate hero; the finished title is a normal one. */
1372
+ /* Progress is the screen's title with the orb inline, set like every other title.
1373
+ Its row holds two lines whatever the title says: the orb and a longer failure
1374
+ title wrap where "Your work is ready" does not, and the tabs below must not move.
1375
+ Top-anchored like every title, so a one-line title leaves the second line empty. */
1365
1376
  .first-run-screen__scroll[data-layout="work"] .first-run-intro {
1366
1377
  inline-size: min(100%, var(--sigvelo-measure-prose));
1367
1378
  margin-inline: auto;
1368
1379
 
1369
- & h1:has(> .first-run-work__heading) {
1370
- font-size: var(--sigvelo-text-xl);
1371
- line-height: var(--sigvelo-text-xl-leading);
1372
- font-weight: var(--sigvelo-font-weight-bold);
1380
+ & h1 {
1381
+ min-block-size: 2lh;
1373
1382
  }
1374
1383
  }
1375
1384
 
1385
+ /* Top-aligned so the orb's synthesized baseline cannot deepen the line box:
1386
+ with or without the orb, the title's lines are the text's own. */
1376
1387
  .first-run-work__heading {
1377
- --sigvelo-recipe-card-radius: var(--sigvelo-radius-2xl);
1378
1388
  display: inline-flex;
1389
+ vertical-align: top;
1379
1390
  align-items: center;
1380
1391
  gap: var(--sigvelo-spacing-3);
1381
- padding: var(--sigvelo-spacing-3) var(--sigvelo-spacing-5);
1382
1392
  }
1383
1393
 
1384
1394
  .first-run-work__tab-state {
@@ -1393,7 +1403,9 @@
1393
1403
 
1394
1404
  /* ---- Narrow ------------------------------------------------------------------------ */
1395
1405
 
1396
- @container first-run (inline-size < 48rem) {
1406
+ /* The preview stays beside the tone until the card is phone-narrow, so changing
1407
+ the tone always shows its effect. */
1408
+ @container first-run (inline-size < 36rem) {
1397
1409
  .first-run-writing {
1398
1410
  grid-template-columns: minmax(0, 1fr);
1399
1411
  }
@@ -1461,7 +1473,6 @@
1461
1473
  }
1462
1474
 
1463
1475
  .first-run-work__tab {
1464
- flex: 1 0 auto;
1465
1476
  padding-inline: var(--sigvelo-spacing-1);
1466
1477
  font-size: var(--sigvelo-text-xs);
1467
1478
  }
@@ -79,6 +79,15 @@
79
79
  @import "./agent-computer.css" layer(components.composites);
80
80
  @import "./agent-computer-phone.css" layer(components.composites);
81
81
  @import "./agent-computer-motion.css" layer(components.composites);
82
+ @import "./computer-screen.css" layer(components.composites);
83
+ @import "./computer-viewer.css" layer(components.composites);
84
+ @import "./computer-home.css" layer(components.composites);
85
+ @import "./computer-notifications.css" layer(components.composites);
86
+ @import "./computer-spotlight.css" layer(components.composites);
87
+ @import "./computer-app-tile.css" layer(components.composites);
88
+ @import "./computer-automations.css" layer(components.composites);
89
+ @import "./computer-calendar.css" layer(components.composites);
90
+ @import "./computer-settings.css" layer(components.composites);
82
91
  @import "./agent-screen-switcher.css" layer(components.composites);
83
92
  @import "./agent-connection.css" layer(components.composites);
84
93
  @import "./brand-loading.css" layer(components.composites);
@@ -151,6 +160,8 @@
151
160
  @import "./web-preview.css" layer(components.composites);
152
161
  @import "./workspace-explorer.css" layer(components.composites);
153
162
  @import "./workspace-desktop.css" layer(components.composites);
163
+ @import "./workspace-document-frame.css" layer(components.composites);
164
+ @import "./computer-files.css" layer(components.composites);
154
165
  @import "./wallpaper-picker.css" layer(components.composites);
155
166
  @import "./workspace-mount-manager.css" layer(components.composites);
156
167
  @import "./workspace-concepts.css" layer(components.composites);
@@ -220,6 +220,48 @@
220
220
 
221
221
  /* Host-filling application surfaces. Display mode stays with the component;
222
222
  this only stops a shell from inventing its own 100% / min-size contract. */
223
+ /* iOS's inset grouped list, and every list that borrows it: one raised card
224
+ whose rows sit on its plane, told apart by a hairline inset to the label
225
+ that the first row, with nothing above it, never draws. The card is the
226
+ only surface, so a Card used as a row gives up its own plane. A host
227
+ re-points the plane and the separator's leading inset through hooks. */
228
+ :where([data-recipe~="inset-group"]) {
229
+ --sigvelo-recipe-card-background: transparent;
230
+ --sigvelo-recipe-card-shadow: none;
231
+ --sigvelo-recipe-card-radius: 0;
232
+
233
+ display: grid;
234
+ margin: 0;
235
+ padding: 0;
236
+ overflow: clip;
237
+ list-style: none;
238
+ border-radius: var(--sigvelo-radius-lg);
239
+ background: var(--sigvelo-recipe-inset-group-background, var(--sigvelo-color-surface-raised));
240
+ box-shadow: var(--sigvelo-recipe-inset-group-shadow, var(--sigvelo-elevation-raised));
241
+ }
242
+
243
+ :where([data-recipe~="inset-group"] > *) {
244
+ position: relative;
245
+ }
246
+
247
+ /* A border rather than a fill, so a forced palette repaints it. */
248
+ :where([data-recipe~="inset-group"] > :not(:first-child))::before {
249
+ content: "";
250
+ position: absolute;
251
+ inset-block-start: 0;
252
+ inset-inline: var(--sigvelo-recipe-row-separator-start, var(--sigvelo-spacing-4)) 0;
253
+ border-block-start: var(--sigvelo-border-width) var(--sigvelo-border-style)
254
+ var(--sigvelo-color-neutral-border-subtle);
255
+ pointer-events: none;
256
+ }
257
+
258
+ @media (forced-colors: active) {
259
+ /* Elevation is discarded under forced colours; the card takes an edge. */
260
+ :where([data-recipe~="inset-group"]) {
261
+ border: var(--sigvelo-border-width) var(--sigvelo-border-style) CanvasText;
262
+ }
263
+ }
264
+
223
265
  :where([data-recipe~="fill-host"]) {
224
266
  min-inline-size: 0;
225
267
  min-block-size: 0;
@@ -43,7 +43,8 @@
43
43
  --sigvelo-recipe-surface-padding: 0;
44
44
  --sigvelo-recipe-popup-min-inline-size: 8rem;
45
45
 
46
- min-inline-size: var(--sigvelo-recipe-popup-min-inline-size);
46
+ /* Never narrower than the field it opens from. */
47
+ min-inline-size: max(var(--sigvelo-recipe-popup-min-inline-size), var(--anchor-width, 0px));
47
48
  overflow: hidden;
48
49
  }
49
50
 
@@ -12,7 +12,9 @@
12
12
  block-size: var(--sigvelo-recipe-switch-block-size);
13
13
  flex-shrink: 0;
14
14
  padding: var(--sigvelo-recipe-switch-padding);
15
- background-color: var(--sigvelo-color-neutral-bg-subtle);
15
+ /* A translucent fill strong enough to read as a track on any plane, the
16
+ way the platform's off switch does; bg-subtle vanished on raised cards. */
17
+ background-color: var(--sigvelo-color-neutral-border-muted);
16
18
  border: var(--sigvelo-border-style) var(--sigvelo-border-width) transparent;
17
19
  border-radius: var(--sigvelo-radius-full);
18
20
  cursor: pointer;
@@ -22,8 +24,13 @@
22
24
  box-shadow var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
23
25
  }
24
26
 
27
+ /* Hover deepens the off track toward the solid border, never fainter. */
25
28
  .switch:hover:not([data-disabled]) {
26
- background-color: color-mix(in oklab, var(--sigvelo-color-neutral-bg-subtle), transparent 20%);
29
+ background-color: color-mix(
30
+ in oklab,
31
+ var(--sigvelo-color-neutral-border-muted),
32
+ var(--sigvelo-color-neutral-border) 20%
33
+ );
27
34
  }
28
35
 
29
36
  .switch:focus-visible {
@@ -75,19 +82,27 @@
75
82
  display: block;
76
83
  inline-size: var(--sigvelo-recipe-switch-thumb-size);
77
84
  block-size: var(--sigvelo-recipe-switch-thumb-size);
78
- background-color: var(--sigvelo-color-canvas);
85
+ /* Off, the thumb stays light in both themes, as the platform's does: a
86
+ canvas-coloured thumb went black on the dark track and disappeared. */
87
+ background-color: var(--sigvelo-color-canvas-light);
79
88
  border-radius: var(--sigvelo-radius-full);
80
89
  box-shadow: var(--sigvelo-elevation-control);
81
90
  translate: 0;
82
- transition: translate var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
91
+ transition:
92
+ translate var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change),
93
+ background-color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
83
94
  }
84
95
 
96
+ /* On, the thumb takes the primary track's own foreground, which reads on it in
97
+ both themes; a light thumb on the light dark-theme track sat near 1.5:1. */
85
98
  .switch[data-checked] .switch__thumb {
99
+ background-color: var(--sigvelo-color-primary-text-on-bg);
86
100
  translate: var(--sigvelo-recipe-switch-thumb-translate);
87
101
  }
88
102
 
89
103
  @media (forced-colors: active) {
90
- .switch__thumb {
104
+ .switch__thumb,
105
+ .switch[data-checked] .switch__thumb {
91
106
  forced-color-adjust: none;
92
107
  background-color: CanvasText;
93
108
  }
@@ -0,0 +1,31 @@
1
+ .workspace-document-frame {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: var(--sigvelo-spacing-2);
5
+ block-size: 100%;
6
+ min-block-size: 0;
7
+ }
8
+
9
+ .workspace-document-frame__actions {
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: flex-end;
13
+ gap: var(--sigvelo-spacing-2);
14
+ color: var(--sigvelo-color-text-muted);
15
+ }
16
+
17
+ .workspace-document-frame__actions > [role="status"] {
18
+ margin-inline-end: auto;
19
+ }
20
+
21
+ .workspace-document-frame__frame {
22
+ flex: 1;
23
+ min-block-size: 0;
24
+ inline-size: 100%;
25
+ border: 0;
26
+ background: var(--sigvelo-color-surface);
27
+ }
28
+
29
+ .workspace-document-frame[data-loading] .workspace-document-frame__frame {
30
+ visibility: hidden;
31
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-b/react-components",
3
- "version": "0.64.1",
3
+ "version": "0.66.0",
4
4
  "description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
5
5
  "homepage": "https://design-system.sigvelo.com",
6
6
  "bugs": {
@@ -55,7 +55,7 @@
55
55
  "streamdown": "^2.7.0",
56
56
  "unist-util-visit": "^5.1.0",
57
57
  "yet-another-react-lightbox": "^3.32.2",
58
- "@mcp-b/design-tokens": "0.64.1"
58
+ "@mcp-b/design-tokens": "0.66.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@ai-sdk/react": "^4.0.136",
@@ -9,9 +9,9 @@ import { EmptyState } from "./components/foundations/EmptyState.js";
9
9
  import { Favicon } from "./components/foundations/Favicon.js";
10
10
  import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "./components/ai-sdk/AgentAttention.js";
11
11
  import { Avatar } from "./components/foundations/Avatar.js";
12
+ import { getThinkExecutionRunStatus } from "./components/agents-sdk/ThinkExecutionRun.js";
12
13
  import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
13
14
  import { LinkButton } from "./components/foundations/LinkButton.js";
14
- import { getThinkExecutionRunStatus } from "./components/agents-sdk/ThinkExecutionRun.js";
15
15
  import { formatThinkScheduleRepeat } from "./components/agents-sdk/ThinkSchedule.js";
16
16
  import { c } from "react/compiler-runtime";
17
17
  import * as React from "react";
@@ -1,7 +1,7 @@
1
1
  import { t as cx } from "./class-names-BiMDVpUo.js";
2
2
  import { a as workspaceDirname, n as isWorkspacePathWithinRoot, t as canonicalizeAbsoluteWorkspacePath } from "./workspace-path-TZggP-u4.js";
3
- import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "./navigation-link-DMmtdqsM.js";
4
3
  import { useWorkspaceNavigationRestoration } from "./components/agents-sdk/WorkspaceNavigationRestoration.js";
4
+ import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "./navigation-link-DMmtdqsM.js";
5
5
  import { c } from "react/compiler-runtime";
6
6
  import * as React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -5,8 +5,8 @@ import { Textarea } from "./components/foundations/Textarea.js";
5
5
  import { Favicon } from "./components/foundations/Favicon.js";
6
6
  import { Input } from "./components/foundations/Input.js";
7
7
  import { DescriptionList } from "./components/foundations/DescriptionList.js";
8
- import { CardContent, CardFooter } from "./components/foundations/Card.js";
9
8
  import { i as httpUrl } from "./workspace-assets-DdtnBDU3.js";
9
+ import { CardContent, CardFooter } from "./components/foundations/Card.js";
10
10
  import { t as WorkspaceEntityCard } from "./workspace-entity-card-9YcsNiqU.js";
11
11
  import { r as recipientField } from "./workspace-person-ZwPqu5TX.js";
12
12
  import { c } from "react/compiler-runtime";