zidane-ui 9.2.2 → 9.3.1

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 (320) hide show
  1. package/dist/adapters/browser-keybindings-host.js +3 -1
  2. package/dist/adapters/live.d.ts +6 -0
  3. package/dist/adapters/live.js +16 -8
  4. package/dist/adapters/server-composer-host.js +22 -9
  5. package/dist/adapters/server-host.js +143 -18
  6. package/dist/adapters/server-media.d.ts +9 -1
  7. package/dist/adapters/server-media.js +14 -1
  8. package/dist/adapters/server-settings-host.js +30 -3
  9. package/dist/adapters/server-settings-sections.js +23 -1
  10. package/dist/adapters/server-sidebar-host.d.ts +3 -1
  11. package/dist/adapters/server-sidebar-host.js +10 -1
  12. package/dist/app/ModalProvider.js +1 -1
  13. package/dist/approvals/ApprovalShell.js +1 -1
  14. package/dist/chat/DaemonOrb.d.ts +29 -1
  15. package/dist/chat/DaemonOrb.js +25 -12
  16. package/dist/chat/HostTranscript.d.ts +0 -12
  17. package/dist/chat/HostTranscript.js +6 -1
  18. package/dist/chat/SessionStreamsProvider.d.ts +8 -0
  19. package/dist/chat/SessionStreamsProvider.js +11 -2
  20. package/dist/chat/StatusDot.js +8 -2
  21. package/dist/chat/Transcript.d.ts +20 -11
  22. package/dist/chat/Transcript.js +335 -162
  23. package/dist/chat/composer/ComposerEditor.js +1 -1
  24. package/dist/chat/headless/host.d.ts +43 -7
  25. package/dist/chat/headless/index.d.ts +8 -6
  26. package/dist/chat/headless/index.js +11 -9
  27. package/dist/chat/headless/labels.d.ts +30 -0
  28. package/dist/chat/headless/labels.js +29 -0
  29. package/dist/chat/headless/markdown-chunks.d.ts +2 -1
  30. package/dist/chat/headless/markdown-chunks.js +12 -20
  31. package/dist/chat/headless/markdown-scan.d.ts +66 -0
  32. package/dist/chat/headless/markdown-scan.js +124 -0
  33. package/dist/chat/headless/markdown-stream.d.ts +64 -0
  34. package/dist/chat/headless/markdown-stream.js +143 -0
  35. package/dist/chat/headless/output-pager.d.ts +68 -0
  36. package/dist/chat/headless/output-pager.js +113 -0
  37. package/dist/chat/headless/session-list.d.ts +20 -0
  38. package/dist/chat/headless/sidebar/activity.d.ts +14 -0
  39. package/dist/chat/headless/sidebar/activity.js +32 -0
  40. package/dist/chat/headless/sidebar/directory.d.ts +17 -2
  41. package/dist/chat/headless/sidebar/directory.js +50 -54
  42. package/dist/chat/headless/sidebar/environment.d.ts +5 -2
  43. package/dist/chat/headless/sidebar/environment.js +11 -2
  44. package/dist/chat/headless/sidebar/host.d.ts +15 -0
  45. package/dist/chat/headless/sidebar/inbox.d.ts +12 -3
  46. package/dist/chat/headless/sidebar/inbox.js +18 -9
  47. package/dist/chat/headless/sidebar/index.d.ts +2 -2
  48. package/dist/chat/headless/sidebar/index.js +2 -2
  49. package/dist/chat/headless/sidebar/labels.d.ts +38 -2
  50. package/dist/chat/headless/sidebar/labels.js +16 -0
  51. package/dist/chat/headless/sidebar/prewarm.d.ts +68 -0
  52. package/dist/chat/headless/sidebar/prewarm.js +114 -0
  53. package/dist/chat/headless/streams/actions.d.ts +2 -0
  54. package/dist/chat/headless/streams/actions.js +1 -0
  55. package/dist/chat/headless/streams/event-bytes.d.ts +6 -0
  56. package/dist/chat/headless/streams/event-bytes.js +34 -0
  57. package/dist/chat/headless/streams/live-events.d.ts +25 -1
  58. package/dist/chat/headless/streams/live-events.js +53 -2
  59. package/dist/chat/headless/streams/selectors.d.ts +3 -0
  60. package/dist/chat/headless/streams/selectors.js +8 -1
  61. package/dist/chat/headless/streams/session-streams.d.ts +15 -3
  62. package/dist/chat/headless/streams/session-streams.js +31 -3
  63. package/dist/chat/headless/streams/store.d.ts +24 -1
  64. package/dist/chat/headless/streams/store.js +51 -26
  65. package/dist/chat/headless/streams/transcript-map.d.ts +57 -0
  66. package/dist/chat/headless/streams/transcript-map.js +88 -0
  67. package/dist/chat/headless/streams/transcript.d.ts +4 -2
  68. package/dist/chat/headless/streams/transcript.js +19 -7
  69. package/dist/chat/headless/transcript/batch.js +5 -1
  70. package/dist/chat/headless/transcript/blob-media.d.ts +15 -0
  71. package/dist/chat/headless/transcript/blob-media.js +23 -0
  72. package/dist/chat/headless/transcript/collapse.d.ts +10 -0
  73. package/dist/chat/headless/transcript/collapse.js +32 -6
  74. package/dist/chat/headless/transcript/derive.d.ts +98 -0
  75. package/dist/chat/headless/transcript/derive.js +89 -0
  76. package/dist/chat/headless/transcript/exchange-media.d.ts +3 -1
  77. package/dist/chat/headless/transcript/exchange-media.js +8 -5
  78. package/dist/chat/headless/transcript/fold-actions.d.ts +8 -3
  79. package/dist/chat/headless/transcript/fold-actions.js +16 -0
  80. package/dist/chat/headless/transcript/fold-attachments.d.ts +2 -0
  81. package/dist/chat/headless/transcript/fold-attachments.js +3 -2
  82. package/dist/chat/headless/transcript/fold.d.ts +4 -2
  83. package/dist/chat/headless/transcript/fold.js +37 -7
  84. package/dist/chat/headless/transcript/incremental.d.ts +53 -0
  85. package/dist/chat/headless/transcript/incremental.js +181 -0
  86. package/dist/chat/headless/transcript/index.d.ts +2 -1
  87. package/dist/chat/headless/transcript/index.js +2 -1
  88. package/dist/chat/headless/transcript/nesting.js +2 -1
  89. package/dist/chat/headless/transcript/rail.d.ts +142 -0
  90. package/dist/chat/headless/transcript/rail.js +290 -0
  91. package/dist/chat/headless/transcript/rows.d.ts +11 -1
  92. package/dist/chat/headless/transcript/run-failures.d.ts +4 -0
  93. package/dist/chat/headless/transcript/run-failures.js +31 -2
  94. package/dist/chat/headless/transcript/seams.d.ts +78 -0
  95. package/dist/chat/headless/transcript/seams.js +116 -0
  96. package/dist/chat/headless/transcript/tool-media.d.ts +6 -7
  97. package/dist/chat/headless/transcript/tool-media.js +27 -9
  98. package/dist/chat/headless/transcript-labels.d.ts +1 -0
  99. package/dist/chat/headless/turn-labels.d.ts +1 -0
  100. package/dist/chat/headless/turn-labels.js +2 -1
  101. package/dist/chat/index.d.ts +10 -8
  102. package/dist/chat/index.js +9 -7
  103. package/dist/chat/interactions/ElicitationCard.js +1 -1
  104. package/dist/chat/interactions/InteractionCard.js +1 -1
  105. package/dist/chat/interactions/PlanCard.js +3 -3
  106. package/dist/chat/interactions/QuestionField.js +4 -4
  107. package/dist/chat/interactions/QuestionForm.js +3 -3
  108. package/dist/chat/interactions/SecretInput.js +1 -1
  109. package/dist/chat/sidebar/ProjectIcon.d.ts +1 -1
  110. package/dist/chat/sidebar/ProjectIcon.js +1 -1
  111. package/dist/chat/sidebar/RowChips.d.ts +3 -2
  112. package/dist/chat/sidebar/RowChips.js +6 -3
  113. package/dist/chat/sidebar/SessionSidebar.js +13 -14
  114. package/dist/chat/sidebar/SidebarFooter.d.ts +8 -5
  115. package/dist/chat/sidebar/SidebarFooter.js +6 -6
  116. package/dist/chat/sidebar/SidebarFrame.d.ts +2 -0
  117. package/dist/chat/sidebar/SidebarFrame.js +5 -2
  118. package/dist/chat/sidebar/SidebarSessionRow.d.ts +3 -1
  119. package/dist/chat/sidebar/SidebarSessionRow.js +3 -1
  120. package/dist/chat/sidebar/SpacesSection.d.ts +20 -1
  121. package/dist/chat/sidebar/SpacesSection.js +34 -13
  122. package/dist/chat/sidebar/index.d.ts +2 -2
  123. package/dist/chat/sidebar/session-menu.d.ts +11 -2
  124. package/dist/chat/sidebar/session-menu.js +50 -5
  125. package/dist/chat/sidebar/sidebar-live.js +1 -1
  126. package/dist/chat/sidebar/useInboxRows.js +43 -2
  127. package/dist/chat/sidebar/useInboxTriage.js +19 -14
  128. package/dist/chat/testing/contract.d.ts +5 -3
  129. package/dist/chat/testing/contract.js +66 -1
  130. package/dist/chat/testing/fixture-sidebar-host.d.ts +7 -1
  131. package/dist/chat/testing/fixture-sidebar-host.js +12 -0
  132. package/dist/chat/testing/sidebar.contract.d.ts +6 -0
  133. package/dist/chat/testing/sidebar.contract.js +24 -0
  134. package/dist/chat/transcript/DiffLines.d.ts +6 -1
  135. package/dist/chat/transcript/DiffLines.js +35 -20
  136. package/dist/chat/transcript/EditDiffBlock.d.ts +5 -1
  137. package/dist/chat/transcript/EditDiffBlock.js +89 -30
  138. package/dist/chat/transcript/InteractionToolBody.js +1 -1
  139. package/dist/chat/transcript/LazyRow.d.ts +40 -40
  140. package/dist/chat/transcript/LazyRow.js +101 -149
  141. package/dist/chat/transcript/MermaidDiagram.js +2 -1
  142. package/dist/chat/transcript/SelectCursor.d.ts +11 -1
  143. package/dist/chat/transcript/SelectCursor.js +10 -5
  144. package/dist/chat/transcript/SubagentBlock.js +3 -2
  145. package/dist/chat/transcript/TranscriptRail.d.ts +109 -0
  146. package/dist/chat/transcript/TranscriptRail.js +579 -0
  147. package/dist/chat/transcript/TranscriptRow.d.ts +4 -7
  148. package/dist/chat/transcript/TranscriptRow.js +9 -5
  149. package/dist/chat/transcript/actions.d.ts +43 -3
  150. package/dist/chat/transcript/actions.js +27 -1
  151. package/dist/chat/transcript/clipped-output.d.ts +58 -0
  152. package/dist/chat/transcript/clipped-output.js +131 -0
  153. package/dist/chat/transcript/fold-attachments.js +10 -5
  154. package/dist/chat/transcript/fold-worker.js +3 -2
  155. package/dist/chat/transcript/fold.js +21 -2
  156. package/dist/chat/transcript/index.d.ts +11 -9
  157. package/dist/chat/transcript/index.js +10 -8
  158. package/dist/chat/transcript/markdown-cache.d.ts +7 -1
  159. package/dist/chat/transcript/markdown-cache.js +12 -1
  160. package/dist/chat/transcript/markdown.js +116 -54
  161. package/dist/chat/transcript/media-gallery.d.ts +3 -2
  162. package/dist/chat/transcript/media-gallery.js +10 -7
  163. package/dist/chat/transcript/notices.d.ts +23 -1
  164. package/dist/chat/transcript/notices.js +110 -28
  165. package/dist/chat/transcript/prompt.js +6 -4
  166. package/dist/chat/transcript/prose.js +3 -1
  167. package/dist/chat/transcript/receipt-parts.d.ts +22 -0
  168. package/dist/chat/transcript/receipt-parts.js +87 -0
  169. package/dist/chat/transcript/root-items.d.ts +96 -0
  170. package/dist/chat/transcript/root-items.js +180 -0
  171. package/dist/chat/transcript/row-mount.d.ts +165 -0
  172. package/dist/chat/transcript/row-mount.js +498 -0
  173. package/dist/chat/transcript/row-parking.d.ts +125 -0
  174. package/dist/chat/transcript/row-parking.js +135 -0
  175. package/dist/chat/transcript/row-ui-state.d.ts +37 -0
  176. package/dist/chat/transcript/row-ui-state.js +53 -0
  177. package/dist/chat/transcript/run-rows.js +6 -78
  178. package/dist/chat/transcript/script-input.d.ts +1 -1
  179. package/dist/chat/transcript/scroll-clamp.js +1 -1
  180. package/dist/chat/transcript/tasks.js +3 -2
  181. package/dist/chat/transcript/tool-media.d.ts +4 -2
  182. package/dist/chat/transcript/tool-media.js +15 -7
  183. package/dist/chat/transcript/tool-parts.d.ts +27 -4
  184. package/dist/chat/transcript/tool-parts.js +31 -5
  185. package/dist/chat/transcript/tool-payload.js +26 -11
  186. package/dist/chat/transcript/tool-row.d.ts +2 -1
  187. package/dist/chat/transcript/tool-row.js +38 -19
  188. package/dist/chat/transcript/use-transcript-rows.d.ts +24 -7
  189. package/dist/chat/transcript/use-transcript-rows.js +28 -46
  190. package/dist/chat/transcript/useSettledReveal.js +15 -3
  191. package/dist/chat/transcript/useStickToBottom.js +4 -4
  192. package/dist/chat/transcript/useTranscriptSearch.js +30 -14
  193. package/dist/chat/transcript/view-scope.d.ts +26 -6
  194. package/dist/chat/transcript/view-scope.js +106 -20
  195. package/dist/components/ChoiceCards.js +1 -1
  196. package/dist/components/ConfirmDialog.js +1 -1
  197. package/dist/components/CopyValue.d.ts +33 -0
  198. package/dist/components/CopyValue.js +54 -0
  199. package/dist/components/Form.js +1 -1
  200. package/dist/components/HowItWorks.js +1 -1
  201. package/dist/components/Menu.js +1 -1
  202. package/dist/components/StepFrame.js +2 -2
  203. package/dist/components/SwatchPicker.js +1 -1
  204. package/dist/components/ToggleCard.js +1 -1
  205. package/dist/components/floating/HoverCard.js +2 -3
  206. package/dist/components/floating/hover-delay.d.ts +4 -0
  207. package/dist/components/floating/hover-delay.js +6 -0
  208. package/dist/core.css +14 -12
  209. package/dist/dist/{index-Betz0OWq.d.ts → index-C6-t1SS9.d.ts} +21 -2
  210. package/dist/dist/index-De9AbmxS.d.ts +1 -0
  211. package/dist/dist/index.d.ts +5 -5
  212. package/dist/dist/sandbox-CSUihARm.d.ts +2 -0
  213. package/dist/dist/{timeout-CyU7HLyz.d.ts → timeout-CmTx6V9y.d.ts} +1 -0
  214. package/dist/extensions/ExtensionDialogHost.js +1 -1
  215. package/dist/files/TreeColumn.js +3 -1
  216. package/dist/files/headless/host.d.ts +2 -2
  217. package/dist/git/ImportRepoDialog.js +1 -1
  218. package/dist/git/MoveSessionDialog.js +2 -2
  219. package/dist/git/SandboxManager.d.ts +42 -0
  220. package/dist/git/SandboxManager.js +297 -0
  221. package/dist/git/SyncChip.js +1 -1
  222. package/dist/git/headless/index.d.ts +2 -1
  223. package/dist/git/headless/index.js +2 -1
  224. package/dist/git/headless/labels.d.ts +29 -0
  225. package/dist/git/headless/labels.js +34 -1
  226. package/dist/git/headless/sandboxes.d.ts +43 -0
  227. package/dist/git/headless/sandboxes.js +52 -0
  228. package/dist/git/index.d.ts +2 -1
  229. package/dist/git/index.js +2 -1
  230. package/dist/index.d.ts +2 -1
  231. package/dist/index.js +2 -1
  232. package/dist/keybindings/headless/catalog.d.ts +1 -1
  233. package/dist/keybindings/headless/catalog.js +12 -0
  234. package/dist/machines/HostsSection.d.ts +1 -1
  235. package/dist/machines/headless/labels.js +2 -2
  236. package/dist/motion/flip-list.js +3 -10
  237. package/dist/motion/presence.d.ts +10 -0
  238. package/dist/motion/presence.js +20 -1
  239. package/dist/motion/swap.d.ts +8 -2
  240. package/dist/motion/swap.js +5 -2
  241. package/dist/onboarding/conversation.js +27 -15
  242. package/dist/onboarding/demos/how-it-works.js +1 -1
  243. package/dist/onboarding/skills/parts.js +4 -4
  244. package/dist/onboarding/sources/SourceBrowser.js +1 -1
  245. package/dist/onboarding/steps/ReadyStep.js +1 -1
  246. package/dist/onboarding/steps/connect/KeyForm.js +1 -1
  247. package/dist/palette/headless/app-sources.js +20 -0
  248. package/dist/palette/headless/labels.js +2 -0
  249. package/dist/session/PlanTracker.js +3 -3
  250. package/dist/session/SecretsPanel.js +1 -1
  251. package/dist/session/SessionHeader.d.ts +18 -6
  252. package/dist/session/SessionHeader.js +68 -12
  253. package/dist/session/SessionPlaceMenu.d.ts +35 -0
  254. package/dist/session/SessionPlaceMenu.js +299 -0
  255. package/dist/session/SessionShell.js +1 -1
  256. package/dist/session/TurnDetailsDialog.js +1 -1
  257. package/dist/session/headless/index.d.ts +2 -1
  258. package/dist/session/headless/index.js +2 -1
  259. package/dist/session/headless/labels.d.ts +73 -0
  260. package/dist/session/headless/labels.js +73 -0
  261. package/dist/session/headless/place.d.ts +49 -0
  262. package/dist/session/headless/place.js +57 -0
  263. package/dist/session/index.d.ts +2 -1
  264. package/dist/session/index.js +2 -1
  265. package/dist/settings/ConversationPresetsCard.js +1 -1
  266. package/dist/settings/SettingCard.js +2 -2
  267. package/dist/settings/SettingsRowsPage.js +1 -1
  268. package/dist/settings/headless/fixture-performance.js +4 -2
  269. package/dist/settings/headless/fixture-sections.js +7 -0
  270. package/dist/settings/headless/labels.d.ts +1 -1
  271. package/dist/settings/headless/labels.js +1 -1
  272. package/dist/settings/headless/layout.d.ts +4 -4
  273. package/dist/settings/headless/layout.js +1 -1
  274. package/dist/settings/headless/performance.d.ts +4 -0
  275. package/dist/settings/headless/search.d.ts +2 -2
  276. package/dist/settings/headless/sections-host.d.ts +20 -2
  277. package/dist/settings/sections/claude-import/ClaudeImportDialog.js +1 -1
  278. package/dist/settings/sections/enabled-list/EnabledListSection.js +2 -2
  279. package/dist/settings/sections/environments/EnvironmentsSection.d.ts +9 -3
  280. package/dist/settings/sections/environments/EnvironmentsSection.js +292 -52
  281. package/dist/settings/sections/environments/labels.d.ts +15 -0
  282. package/dist/settings/sections/environments/labels.js +18 -3
  283. package/dist/settings/sections/extensions/ChangeOriginDialog.js +1 -1
  284. package/dist/settings/sections/extensions/ExtensionSourceBrowser.js +1 -1
  285. package/dist/settings/sections/extensions/ExtensionsSection.d.ts +3 -2
  286. package/dist/settings/sections/extensions/ExtensionsSection.js +9 -3
  287. package/dist/settings/sections/host-catalog/HostCatalogSection.js +15 -5
  288. package/dist/settings/sections/keybindings/labels.d.ts +2 -0
  289. package/dist/settings/sections/keybindings/labels.js +2 -0
  290. package/dist/settings/sections/keybindings/rows.js +8 -0
  291. package/dist/settings/sections/models/SpacesDefaultsSection.d.ts +7 -3
  292. package/dist/settings/sections/models/SpacesDefaultsSection.js +11 -5
  293. package/dist/settings/sections/performance/PerformanceSection.js +8 -1
  294. package/dist/settings/sections/performance/labels.d.ts +2 -0
  295. package/dist/settings/sections/performance/labels.js +2 -0
  296. package/dist/settings/sections/skills/SkillGroups.js +1 -1
  297. package/dist/settings/server-app.d.ts +4 -2
  298. package/dist/settings/server-app.js +7 -3
  299. package/dist/settings/testing/sections.contract.d.ts +7 -1
  300. package/dist/settings/testing/sections.contract.js +37 -0
  301. package/dist/styles.css +243 -19
  302. package/dist/terminal/TerminalDrawer.js +3 -1
  303. package/dist/views/headless/answers.d.ts +8 -2
  304. package/dist/views/headless/answers.js +58 -1
  305. package/dist/views/headless/placement.d.ts +78 -0
  306. package/dist/views/headless/placement.js +154 -44
  307. package/dist/workspace/SidePanel.js +3 -1
  308. package/package.json +2 -2
  309. package/src/styles/base.css +13 -0
  310. package/src/styles/chat.css +30 -0
  311. package/src/styles/components.css +0 -10
  312. package/src/styles/files.css +5 -0
  313. package/src/styles/sidebar.css +29 -7
  314. package/src/styles/terminal.css +6 -0
  315. package/src/styles/tokens.css +5 -0
  316. package/src/styles/transcript.css +138 -0
  317. package/src/styles/workspace.css +6 -0
  318. package/dist/dist/index-QcFzZlao.d.ts +0 -1
  319. package/dist/dist/sandbox-D0zsW8I1.d.ts +0 -2
  320. /package/dist/dist/{types-_Dtoq_No.d.ts → execution-failure-SREfl-EZ.d.ts} +0 -0
@@ -26,50 +26,109 @@ function samePlace(a, b) {
26
26
  * @param previous - The result of the last call, or `undefined`.
27
27
  */
28
28
  function viewPlacements(events, previous) {
29
- const places = /* @__PURE__ */ new Map();
30
- const ordinals = /* @__PURE__ */ new Map();
31
- const fencesByTurn = /* @__PURE__ */ new Map();
32
- let exchangeTurns = [];
33
- let finalReply;
34
- const closeExchange = () => {
35
- if (finalReply && exchangeTurns.length > 0) {
36
- const place = places.get(finalReply);
37
- places.set(finalReply, {
38
- ...place,
39
- codemodeTurns: exchangeTurns
40
- });
41
- }
42
- exchangeTurns = [];
43
- finalReply = void 0;
29
+ const fold = placementFold();
30
+ foldPlacements(fold, events);
31
+ closePlacementExchange(fold);
32
+ const places = fold.places;
33
+ if (previous) for (const [rowId, place] of places) {
34
+ const before = previous.get(rowId);
35
+ if (before && samePlace(before, place)) places.set(rowId, before);
36
+ }
37
+ return places;
38
+ }
39
+ /** A map read through to `base`, written to its own entries: a fold resumed from a settled state copies nothing of it. */
40
+ var LayeredMap = class {
41
+ base;
42
+ top = /* @__PURE__ */ new Map();
43
+ constructor(base = /* @__PURE__ */ new Map()) {
44
+ this.base = base;
45
+ }
46
+ get(key) {
47
+ return this.top.has(key) ? this.top.get(key) : this.base.get(key);
48
+ }
49
+ has(key) {
50
+ return this.top.has(key) || this.base.has(key);
51
+ }
52
+ set(key, value) {
53
+ this.top.set(key, value);
54
+ return this;
55
+ }
56
+ };
57
+ /**
58
+ * A fold at the start of a transcript, or resumed after `base` (read through, never written).
59
+ *
60
+ * @param base - The fold of the events before, or none.
61
+ */
62
+ function placementFold(base) {
63
+ if (!base) return {
64
+ places: /* @__PURE__ */ new Map(),
65
+ ordinals: /* @__PURE__ */ new Map(),
66
+ fencesByTurn: /* @__PURE__ */ new Map(),
67
+ exchangeTurns: [],
68
+ finalReply: void 0
69
+ };
70
+ return {
71
+ places: new LayeredMap(base.places),
72
+ ordinals: new LayeredMap(base.ordinals),
73
+ fencesByTurn: new LayeredMap(base.fencesByTurn),
74
+ exchangeTurns: [...base.exchangeTurns],
75
+ finalReply: base.finalReply
44
76
  };
77
+ }
78
+ /**
79
+ * Gives the open exchange's final reply the turns whose unplaced codemode views it draws, and starts the next exchange.
80
+ *
81
+ * @param fold - The fold.
82
+ */
83
+ function closePlacementExchange(fold) {
84
+ if (fold.finalReply && fold.exchangeTurns.length > 0) {
85
+ const place = fold.places.get(fold.finalReply);
86
+ fold.places.set(fold.finalReply, {
87
+ ...place,
88
+ codemodeTurns: fold.exchangeTurns
89
+ });
90
+ }
91
+ fold.exchangeTurns = [];
92
+ fold.finalReply = void 0;
93
+ }
94
+ /**
95
+ * Reads `events` into the fold (the open exchange stays open).
96
+ *
97
+ * @param fold - The fold.
98
+ * @param events - The events after those it read, oldest first.
99
+ */
100
+ function foldPlacements(fold, events) {
45
101
  for (const event of events) {
46
102
  const top = event.childId === void 0;
47
103
  if (event.kind === "user-prompt" && top) {
48
- closeExchange();
104
+ closePlacementExchange(fold);
49
105
  continue;
50
106
  }
51
107
  const turnId = event.turnId;
52
108
  if (!turnId) continue;
53
- if (top && !exchangeTurns.includes(turnId)) exchangeTurns.push(turnId);
109
+ if (top && !fold.exchangeTurns.includes(turnId)) fold.exchangeTurns.push(turnId);
54
110
  if (event.kind !== "markdown") continue;
55
111
  const key = `${turnId}\u0000${event.childId ?? ""}`;
56
- const ordinal = (ordinals.get(key) ?? 0) + 1;
57
- ordinals.set(key, ordinal);
112
+ const ordinal = (fold.ordinals.get(key) ?? 0) + 1;
113
+ fold.ordinals.set(key, ordinal);
58
114
  const rowId = `m-${turnId}-${ordinal}`;
59
- const fenceBase = fencesByTurn.get(turnId) ?? 0;
60
- fencesByTurn.set(turnId, fenceBase + fencesIn(event));
61
- places.set(rowId, {
115
+ const fenceBase = fold.fencesByTurn.get(turnId) ?? 0;
116
+ fold.fencesByTurn.set(turnId, fenceBase + fencesIn(event));
117
+ fold.places.set(rowId, {
62
118
  turnId,
63
119
  fenceBase
64
120
  });
65
- if (top) finalReply = rowId;
121
+ if (top) fold.finalReply = rowId;
66
122
  }
67
- closeExchange();
68
- if (previous) for (const [rowId, place] of places) {
69
- const before = previous.get(rowId);
70
- if (before && samePlace(before, place)) places.set(rowId, before);
71
- }
72
- return places;
123
+ }
124
+ /**
125
+ * Whether two places send a reply's views to the same spots.
126
+ *
127
+ * @param a - One place.
128
+ * @param b - The other.
129
+ */
130
+ function sameViewPlace(a, b) {
131
+ return samePlace(a, b);
73
132
  }
74
133
  /**
75
134
  * Whether a session with these events can hold a view: a reply with a `view` fence, or a tool
@@ -107,28 +166,79 @@ function onlyLastTextChanged(previous, next) {
107
166
  * @param events - The session's events, oldest first.
108
167
  */
109
168
  function textlessExchanges(events) {
110
- const out = [];
111
- let turns = [];
112
- let replied = false;
169
+ const fold = textlessFold();
170
+ foldTextless(fold, events);
171
+ return textlessOf(fold);
172
+ }
173
+ /**
174
+ * A fold at the start of a transcript, or resumed after `base` (its closed list is shared until one closes).
175
+ *
176
+ * @param base - The fold of the events before, or none.
177
+ */
178
+ function textlessFold(base) {
179
+ return base ? {
180
+ out: base.out,
181
+ shared: true,
182
+ turns: [...base.turns],
183
+ replied: base.replied
184
+ } : {
185
+ out: [],
186
+ shared: false,
187
+ turns: [],
188
+ replied: false
189
+ };
190
+ }
191
+ /**
192
+ * Reads `events` into the fold.
193
+ *
194
+ * @param fold - The fold.
195
+ * @param events - The events after those it read, oldest first.
196
+ */
197
+ function foldTextless(fold, events) {
113
198
  for (const event of events) {
114
199
  if (event.childId !== void 0) continue;
115
200
  if (event.kind === "user-prompt") {
116
- if (!replied && turns.length > 0) out.push({
117
- turns,
118
- closed: true
119
- });
120
- turns = [];
121
- replied = false;
201
+ if (!fold.replied && fold.turns.length > 0) {
202
+ if (fold.shared) {
203
+ fold.out = [...fold.out];
204
+ fold.shared = false;
205
+ }
206
+ fold.out.push({
207
+ turns: fold.turns,
208
+ closed: true
209
+ });
210
+ }
211
+ fold.turns = [];
212
+ fold.replied = false;
122
213
  continue;
123
214
  }
124
- if (event.turnId && !turns.includes(event.turnId)) turns.push(event.turnId);
125
- if (event.kind === "markdown" && event.turnId) replied = true;
215
+ if (event.turnId && !fold.turns.includes(event.turnId)) fold.turns.push(event.turnId);
216
+ if (event.kind === "markdown" && event.turnId) fold.replied = true;
126
217
  }
127
- if (!replied && turns.length > 0) out.push({
128
- turns,
218
+ }
219
+ /**
220
+ * The fold's exchanges with no reply text, the open one last.
221
+ *
222
+ * @param fold - The fold.
223
+ */
224
+ function textlessOf(fold) {
225
+ return !fold.replied && fold.turns.length > 0 ? [...fold.out, {
226
+ turns: fold.turns,
129
227
  closed: false
228
+ }] : [...fold.out];
229
+ }
230
+ /**
231
+ * Whether two lists name the same exchanges, turns and states.
232
+ *
233
+ * @param a - One list.
234
+ * @param b - The other.
235
+ */
236
+ function sameTextless(a, b) {
237
+ if (a === b) return true;
238
+ return a.length === b.length && a.every((x, i) => {
239
+ const y = b[i];
240
+ return x === y || x.closed === y.closed && sameTurns(x.turns, y.turns);
130
241
  });
131
- return out;
132
242
  }
133
243
  /** Container widths where a view's stored height changes, in CSS pixels. */
134
244
  const VIEW_WIDTH_STEPS = [
@@ -246,4 +356,4 @@ function unplacedCodemodeViews(views, turns, options = {}) {
246
356
  const apps = options.mcpApps !== false;
247
357
  return views.filter((view) => (apps && view.anchor.kind === "mcp-app" || view.anchor.kind === "codemode" && view.placed !== true) && turns.includes(view.anchor.turnId));
248
358
  }
249
- export { VIEW_WIDTH_STEPS, eventsMayHoldViews, fenceViewOf, heightFor, onlyLastTextChanged, textlessExchanges, unplacedCodemodeViews, viewById, viewPlacements, viewVersion, widthRange, withHeight };
359
+ export { LayeredMap, VIEW_WIDTH_STEPS, closePlacementExchange, eventsMayHoldViews, fenceViewOf, foldPlacements, foldTextless, heightFor, onlyLastTextChanged, placementFold, sameTextless, sameViewPlace, textlessExchanges, textlessFold, textlessOf, unplacedCodemodeViews, viewById, viewPlacements, viewVersion, widthRange, withHeight };
@@ -1,6 +1,6 @@
1
1
  import { CountBadge } from "../components/TabPill.js";
2
2
  import { useResizeDrag } from "../hooks/useResizeDrag.js";
3
- import { readPanelMs, usePresence } from "../motion/presence.js";
3
+ import { readPanelMs, usePanelSettled, usePresence } from "../motion/presence.js";
4
4
  import { useSlotRegistry } from "./dnd/parking.js";
5
5
  import { PanelGroups } from "./PanelGroups.js";
6
6
  import { PanelHome } from "./PanelHome.js";
@@ -33,6 +33,7 @@ const SidePanel = memo(({ registry, width, minWidth, maxWidth, defaultWidth = wi
33
33
  exitMs: readPanelMs,
34
34
  key
35
35
  });
36
+ const settled = usePanelSettled(presence.state);
36
37
  const asideRef = useRef(null);
37
38
  const sheetFull = full.mounted;
38
39
  useEffect(() => {
@@ -70,6 +71,7 @@ const SidePanel = memo(({ registry, width, minWidth, maxWidth, defaultWidth = wi
70
71
  "aria-hidden": !open,
71
72
  hidden: parked,
72
73
  "data-collapsed": !open,
74
+ "data-settled": settled || void 0,
73
75
  "data-overlay": overlay || void 0,
74
76
  "data-full": sheetFull || void 0,
75
77
  "data-expanded": full.state === "open" || void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zidane-ui",
3
- "version": "9.2.2",
3
+ "version": "9.3.1",
4
4
  "description": "Zidane design system and chat kit: tokens, surface primitives, theme engine, React components, the chat layer (sessions, transcript, composer) and ChatHost adapters.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -584,7 +584,7 @@
584
584
  "react": "^19.3.0",
585
585
  "react-dom": "^19.3.0",
586
586
  "unocss": ">=66.0.0",
587
- "zidane": "^9.2.2",
587
+ "zidane": "^9.3.1",
588
588
  "vitest": ">=3"
589
589
  },
590
590
  "peerDependenciesMeta": {
@@ -25,6 +25,19 @@ html {
25
25
  box-sizing: border-box;
26
26
  }
27
27
 
28
+ /* Text wraps without a lone last word, everywhere (inherited). Text that
29
+ changes as you read it opts out: a word would hop between lines on each
30
+ keystroke or token. Headings balance their lines instead. */
31
+ html {
32
+ text-wrap-style: pretty;
33
+ }
34
+ :is(input, textarea, [contenteditable]:not([contenteditable='false']), pre, .zg-streaming) {
35
+ text-wrap-style: auto;
36
+ }
37
+ :is(h1, h2, h3, h4, h5, h6, .zg-balance) {
38
+ text-wrap-style: balance;
39
+ }
40
+
28
41
  /* Thin, neutral scrollbars; the transparent track lets each surface show through. */
29
42
  * {
30
43
  scrollbar-width: thin;
@@ -515,6 +515,36 @@ html[data-motion='full'] .zg-orb:not([data-state='down']) {
515
515
  }
516
516
  }
517
517
 
518
+ /* The cube: the same light on the Environments icon. The sphere's fill and
519
+ rim give way to the glyph, which takes the gradient through its mask, and a
520
+ drop-shadow in the state colour stands in for the halo. */
521
+ .zg-orb[data-shape='cube'],
522
+ html[data-motion='full'] .zg-orb[data-shape='cube'],
523
+ .zg-orb[data-shape='cube'][data-state='down'] {
524
+ background: none;
525
+ box-shadow: none;
526
+ }
527
+ .zg-orb[data-shape='cube'] > .zg-orb-cube {
528
+ position: absolute;
529
+ inset: 0;
530
+ width: 100%;
531
+ height: 100%;
532
+ background: linear-gradient(
533
+ 150deg,
534
+ color-mix(in oklab, var(--orb) 45%, white) 0%,
535
+ var(--orb) 45%,
536
+ color-mix(in oklab, var(--orb), var(--zg-orb-tone) var(--zg-orb-shade)) 100%
537
+ );
538
+ filter: drop-shadow(0 0 4px color-mix(in oklab, var(--orb) calc(90% * var(--zg-orb-glow)), transparent));
539
+ }
540
+ .zg-orb[data-shape='cube'][data-state='down'] > .zg-orb-cube {
541
+ filter: none;
542
+ }
543
+ /* The breathing halo is round: on a cube it reads as a disc behind it. */
544
+ .zg-orb[data-shape='cube']::before {
545
+ display: none;
546
+ }
547
+
518
548
  html[data-motion='off'] .zg-orb,
519
549
  html[data-motion='off'] .zg-orb::before,
520
550
  html[data-motion='off'] .zg-orb::after,
@@ -107,16 +107,6 @@ html[data-motion='reduced'] .zg-attention::after {
107
107
  0 0 0 2px var(--zg-bg),
108
108
  0 0 0 4px var(--zg-ring);
109
109
  }
110
- /* `text-wrap: balance` keeps short headings on roughly equal-width lines
111
- (no orphan words). Applied via class to opt-in surfaces — modals,
112
- session titles — so body copy keeps its default flow. */
113
- .zg-balance {
114
- text-wrap: balance;
115
- }
116
- /* `text-wrap: pretty` avoids single-word orphan lines in body copy. */
117
- .zg-pretty {
118
- text-wrap: pretty;
119
- }
120
110
  /* Segment spinner (`SegmentSpinner.tsx`) — GUI twin of the TUI `▀▁▁▁▁` bar.
121
111
  Each pill is lit for the first half of an 800 ms cycle and dim for the
122
112
  rest; per-pill `animation-delay` (i × 80 ms) produces the fill → drain
@@ -34,6 +34,11 @@
34
34
  transition: opacity var(--zg-motion-fade);
35
35
  }
36
36
 
37
+ /* Open and done opening (`usePanelSettled`): the sheet follows the column's width. */
38
+ .zg-files-tree[data-settled] .zg-files-tree-sheet {
39
+ width: 100%;
40
+ }
41
+
37
42
  .zg-files-tree[data-collapsed='true'] .zg-files-tree-sheet {
38
43
  opacity: 0.4;
39
44
  pointer-events: none;
@@ -46,6 +46,12 @@
46
46
  transition: opacity var(--zg-motion-fade);
47
47
  }
48
48
 
49
+ /* Open and done opening (`usePanelSettled`): the sheet follows the aside's width, so a width change while open
50
+ (the layout budget) flows the content with the edge instead of jumping it to the new width. */
51
+ .zg-sidebar[data-settled] .zg-sidebar-sheet {
52
+ width: 100%;
53
+ }
54
+
49
55
  .zg-sidebar[data-collapsed='true'] .zg-sidebar-sheet {
50
56
  opacity: 0.4;
51
57
  pointer-events: none;
@@ -75,6 +81,11 @@
75
81
  .zg-sidebar-list {
76
82
  /* Positioned: rows that leave fade out as stand-ins placed in it (motion/flip-list.ts). */
77
83
  position: relative;
84
+ /* The list scrolls down, never sideways: a scroller's `overflow-x` would compute to `auto` and turn
85
+ anything a row lets poke out (badges, a title line on a narrow sidebar) into a horizontal scroll.
86
+ `clip`, not `hidden`: the inbox's list holds its scrollers and must not become one itself (where it
87
+ scrolls, the Groups layout, clip computes to hidden). */
88
+ overflow-x: clip;
78
89
  --zg-sticky-head-h: 36px;
79
90
  scroll-padding-top: calc(var(--zg-sticky-head-h) + 4px);
80
91
  }
@@ -144,17 +155,23 @@
144
155
  top: var(--zg-sticky-head-h);
145
156
  }
146
157
 
147
- /* A sidebar row's badges: one line; badges keep their width (not a squeeze)
148
- and the ones past the edge fade out there (a fixed 12px end fade). Clipped,
149
- not a scroller: it sits inside the row's button, where a scroller could
150
- never take keyboard focus, and every badge is also in the session's details. */
158
+ /* A sidebar row's badges: one line; badges keep their width (not a squeeze). Past the row's edge the line
159
+ scrolls sideways (a trackpad swipe, shift + wheel), without a scrollbar, and fades only on the side that
160
+ has more (`.zg-scroll-fade-x`, primitives.css). The scroll stays in the line, never the sidebar's.
161
+ `min-width: 0`: as a grid or flex item it never widens the row to its badges' whole width. */
151
162
  .zg-badge-strip {
152
163
  display: flex;
153
164
  align-items: center;
154
165
  column-gap: 0.25rem;
155
- overflow: clip;
156
- -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 12px), transparent);
157
- mask-image: linear-gradient(to right, #000 calc(100% - 12px), transparent);
166
+ min-width: 0;
167
+ overflow-x: auto;
168
+ overflow-y: hidden;
169
+ overscroll-behavior-x: contain;
170
+ scrollbar-width: none;
171
+ --zg-fade-size: 12px;
172
+ }
173
+ .zg-badge-strip::-webkit-scrollbar {
174
+ display: none;
158
175
  }
159
176
 
160
177
  .zg-badge-strip > * {
@@ -178,6 +195,9 @@
178
195
  .zg-row-extra {
179
196
  display: grid;
180
197
  grid-template-rows: 1fr;
198
+ /* The track takes the row's width, never its badges': the strip clips at the row's edge. */
199
+ grid-template-columns: minmax(0, 1fr);
200
+ min-width: 0;
181
201
  }
182
202
  .zg-row-extra[data-grow] {
183
203
  animation:
@@ -234,6 +254,7 @@
234
254
  .zg-inbox-scroll {
235
255
  flex: 1;
236
256
  min-height: 0;
257
+ overflow-x: hidden;
237
258
  overflow-y: auto;
238
259
  }
239
260
  /* The dock sits on the tray; its first shelf's line is the edge against the rows above. */
@@ -250,6 +271,7 @@
250
271
  }
251
272
  .zg-inbox-dock-body {
252
273
  min-height: 0;
274
+ overflow-x: hidden;
253
275
  overflow-y: auto;
254
276
  }
255
277
  .zg-inbox-dock .zg-inbox-shelf {
@@ -36,6 +36,12 @@
36
36
  transition: opacity var(--zg-motion-fade);
37
37
  }
38
38
 
39
+ /* Open and done opening (`usePanelSettled`): the sheet follows the drawer's height (the clip's: the drawer less
40
+ its border). */
41
+ .zg-terminal-drawer[data-settled] .zg-terminal-drawer-sheet {
42
+ height: 100%;
43
+ }
44
+
39
45
  .zg-terminal-drawer[data-collapsed='true'] .zg-terminal-drawer-sheet {
40
46
  opacity: 0.4;
41
47
  pointer-events: none;
@@ -141,6 +141,11 @@
141
141
  --zg-radius-xl: 16px;
142
142
  --zg-radius-2xl: 24px;
143
143
 
144
+ /* The transcript's and the composer's columns pad their sides by this
145
+ (`.zg-transcript-column`), so both keep one edge and the prompt rail
146
+ (`TranscriptRail`) has room beside the text whether it shows or not. */
147
+ --zg-transcript-gutter: 12px;
148
+
144
149
  /* Interface type scale: every size outside the transcript and composer
145
150
  bodies comes from it, never ad hoc (scale-guard.test.ts). In Uno:
146
151
  `text-zg-badge` … `text-zg-body` (font-size only, line-height untouched).
@@ -59,6 +59,13 @@ html[data-motion='reduced'] .zg-arc::after {
59
59
  content: '\200b';
60
60
  }
61
61
 
62
+ /* The column a transcript and its composer share: the same side padding on
63
+ both, always, so their edges line up and the prompt rail appearing or
64
+ leaving moves nothing. */
65
+ .zg-transcript-column {
66
+ padding-inline: var(--zg-transcript-gutter);
67
+ }
68
+
62
69
  /* Select-turn highlight (Timeline SelectCursor): one tint behind the
63
70
  transcript that fades in, then slides and resizes between selections.
64
71
  The timeline isolates so it can sit behind the rows (z-index -1) and
@@ -93,6 +100,137 @@ html[data-motion='reduced'] .zg-arc::after {
93
100
  height var(--zg-motion-snap);
94
101
  }
95
102
 
103
+ /* The prompt rail's hovered exchange (`RailTint`): the select cursor's
104
+ element in the row hover's tone, so it never reads as a selection. */
105
+ .zg-select-cursor.zg-rail-tint {
106
+ background: var(--zg-hover-wash);
107
+ }
108
+
109
+ /* The prompt rail (`TranscriptRail`): ticks left of the transcript's text,
110
+ centred in that space (near the pane's edge once it is wide) and on the
111
+ view's height, over the layout (never in it). A tick is a
112
+ short line; the one in view and the one under the pointer stretch to full
113
+ length and take the text's tone. Touch screens get no rail. */
114
+ .zg-prompt-rail {
115
+ position: absolute;
116
+ z-index: 2;
117
+ transform: translateY(-50%);
118
+ opacity: 0;
119
+ visibility: hidden;
120
+ pointer-events: none;
121
+ transition:
122
+ opacity var(--zg-motion-fade-out),
123
+ visibility 0s linear var(--zg-motion-fade-out-duration, 0s);
124
+ }
125
+
126
+ .zg-prompt-rail[data-on='true'] {
127
+ opacity: 1;
128
+ visibility: visible;
129
+ pointer-events: auto;
130
+ transition: opacity var(--zg-motion-fade);
131
+ }
132
+
133
+ /* Past its most ticks (TranscriptRail sets the height) it scrolls; an end with more ticks fades. */
134
+ .zg-prompt-rail-ticks {
135
+ display: flex;
136
+ flex-direction: column;
137
+ overflow-y: auto;
138
+ overscroll-behavior: contain;
139
+ scrollbar-width: none;
140
+ }
141
+
142
+ .zg-prompt-rail-ticks[data-fade-top] {
143
+ mask-image: linear-gradient(to bottom, transparent, #000 24px);
144
+ }
145
+
146
+ .zg-prompt-rail-ticks[data-fade-bottom] {
147
+ mask-image: linear-gradient(to top, transparent, #000 24px);
148
+ }
149
+
150
+ .zg-prompt-rail-ticks[data-fade-top][data-fade-bottom] {
151
+ mask-image: linear-gradient(to bottom, transparent, #000 24px, #000 calc(100% - 24px), transparent);
152
+ }
153
+
154
+ .zg-prompt-rail-ticks::-webkit-scrollbar {
155
+ display: none;
156
+ }
157
+
158
+ .zg-prompt-rail-tick {
159
+ position: relative;
160
+ flex: none;
161
+ height: 8px;
162
+ width: 100%;
163
+ padding: 0;
164
+ border: 0;
165
+ background: none;
166
+ cursor: pointer;
167
+ }
168
+
169
+ .zg-prompt-rail-tick::before {
170
+ content: '';
171
+ position: absolute;
172
+ top: 3px;
173
+ left: 0;
174
+ width: 14px;
175
+ height: 2px;
176
+ border-radius: 9999px;
177
+ background: var(--zg-text-subtle);
178
+ transform: scaleX(0.55);
179
+ transform-origin: left center;
180
+ transition:
181
+ transform var(--zg-motion-snap),
182
+ background-color var(--zg-motion-hover);
183
+ }
184
+
185
+ .zg-prompt-rail-tick[aria-current='location']::before {
186
+ background: var(--zg-text);
187
+ transform: scaleX(1);
188
+ }
189
+
190
+ .zg-prompt-rail-tick[data-hover]::before {
191
+ background: var(--zg-text-muted);
192
+ transform: scaleX(1);
193
+ }
194
+
195
+ .zg-prompt-rail-tick[aria-current='location'][data-hover]::before {
196
+ background: var(--zg-text);
197
+ }
198
+
199
+ /* A prompt whose history is loading for a jump to it. */
200
+ .zg-prompt-rail-tick[data-pending]::before {
201
+ background: var(--zg-text-muted);
202
+ transform: scaleX(1);
203
+ animation: zg-prompt-rail-pending 0.9s ease-in-out infinite alternate;
204
+ }
205
+
206
+ @keyframes zg-prompt-rail-pending {
207
+ to {
208
+ opacity: 0.35;
209
+ }
210
+ }
211
+
212
+ html[data-motion='off'] .zg-prompt-rail-tick[data-pending]::before,
213
+ html[data-motion='reduced'] .zg-prompt-rail-tick[data-pending]::before {
214
+ animation: none;
215
+ }
216
+
217
+ .zg-prompt-rail-tick:focus-visible {
218
+ outline: 2px solid var(--zg-ring);
219
+ outline-offset: 1px;
220
+ border-radius: var(--zg-radius-xs);
221
+ }
222
+
223
+ /* A preview, not a menu: the pointer goes through it to the rail. */
224
+ .zg-prompt-rail-card {
225
+ pointer-events: none;
226
+ }
227
+
228
+ @media (hover: none) {
229
+ .zg-prompt-rail {
230
+ display: none;
231
+ }
232
+ }
233
+
96
234
  /* In select mode (the only time rows carry `data-stop`) a row is clickable. */
97
235
  [data-stop] {
98
236
  cursor: pointer;
@@ -43,6 +43,12 @@
43
43
  clip-path var(--zg-panel-ms) var(--zg-panel-ease);
44
44
  }
45
45
 
46
+ /* Open and done opening (`usePanelSettled`): the sheet follows the aside, so a width change while open
47
+ (the budget, the sidebar toggling) flows the content with the edge instead of jumping it to the new width. */
48
+ .zg-side-panel[data-settled] .zg-side-panel-sheet {
49
+ width: 100%;
50
+ }
51
+
46
52
  /* Full screen (`SidePanel`'s `expanded`): the aside keeps its width in the row (nothing
47
53
  beside it reflows), its clip opens to the parent at once (`data-full`), and the sheet,
48
54
  pinned to the outer edge, grows to the parent's width on the panel clock
@@ -1 +0,0 @@
1
- import "./types-_Dtoq_No.js";
@@ -1,2 +0,0 @@
1
- import "./types-_Dtoq_No.js";
2
- import "node:buffer";