@1agh/maude 0.57.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/apps/studio/api.ts +69 -4
- package/apps/studio/client/app.jsx +140 -9
- package/apps/studio/client/panels/chat-markdown.jsx +76 -5
- package/apps/studio/client/panels/file-preview.jsx +115 -0
- package/apps/studio/client/styles/3-shell-maude.css +45 -0
- package/apps/studio/client/styles/6-acp-chat.css +28 -0
- package/apps/studio/dist/client.bundle.js +1590 -1590
- package/apps/studio/dist/comment-mount.js +2 -2
- package/apps/studio/dist/styles.css +1 -1
- package/apps/studio/http.ts +8 -0
- package/apps/studio/input-router.tsx +39 -1
- package/apps/studio/test/config-version.test.ts +88 -0
- package/apps/studio/test/input-router.test.ts +56 -0
- package/apps/studio/test/whats-new.test.ts +13 -1
- package/apps/studio/whats-new.json +9 -0
- package/apps/studio/whats-new.ts +34 -10
- package/package.json +8 -8
|
@@ -219,6 +219,10 @@
|
|
|
219
219
|
.st-sb-changes.has-changes .st-sb-changes-dot { background: var(--status-warn); }
|
|
220
220
|
.st-sb-changes.has-unpushed .st-sb-changes-dot { background: var(--accent); }
|
|
221
221
|
|
|
222
|
+
/* The running release. Ambient, not a state to act on — so it sits at the same
|
|
223
|
+
weight as a slot label rather than at .val's foreground. No new tokens. */
|
|
224
|
+
.st-sb-version .val { color: var(--fg-3); }
|
|
225
|
+
|
|
222
226
|
/* ═══ Task 4 — body row · sidebar · tree · rail ═══════════════════════════════ */
|
|
223
227
|
|
|
224
228
|
/* The body flex row replaces the legacy `.app` grid: rail | sidebar | main | rpanel. */
|
|
@@ -425,6 +429,47 @@
|
|
|
425
429
|
incomplete; auto-hides once probeSetupReadiness() reports ready. */
|
|
426
430
|
.st-empty-quick-setup { pointer-events: auto; margin-top: var(--space-2); }
|
|
427
431
|
|
|
432
|
+
/* ═══ feature-studio-file-preview — non-canvas file preview overlay ════════
|
|
433
|
+
* Layered above the (still-mounted) canvas iframe / empty state so switching
|
|
434
|
+
* back to a canvas is instant. Shell-token only, no hardcoded colors. */
|
|
435
|
+
.st-file-preview-overlay {
|
|
436
|
+
position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column;
|
|
437
|
+
background: var(--bg-1); overflow: auto;
|
|
438
|
+
}
|
|
439
|
+
.st-file-preview-overlay:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
440
|
+
.st-file-preview { display: flex; flex-direction: column; min-height: 100%; }
|
|
441
|
+
.st-file-preview-header {
|
|
442
|
+
flex: none; margin: 0; padding: var(--space-3) var(--space-4); font-family: var(--font-mono);
|
|
443
|
+
font-size: var(--type-xs); font-weight: 400; color: var(--fg-2); border-bottom: 1px solid var(--border-subtle);
|
|
444
|
+
background: var(--bg-0);
|
|
445
|
+
}
|
|
446
|
+
.st-file-preview-body { flex: 1; padding: var(--space-6); }
|
|
447
|
+
.st-file-preview-status { color: var(--fg-3); font-size: var(--type-sm); }
|
|
448
|
+
.st-file-preview-error { color: var(--status-error); }
|
|
449
|
+
.st-file-preview-text {
|
|
450
|
+
font-family: var(--font-mono); font-size: var(--type-xs); line-height: 1.6; color: var(--fg-1);
|
|
451
|
+
white-space: pre-wrap; word-break: break-word; background: var(--bg-0);
|
|
452
|
+
border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: var(--space-4);
|
|
453
|
+
}
|
|
454
|
+
.st-file-preview-markdown { max-width: 720px; color: var(--fg-1); }
|
|
455
|
+
.st-file-preview-image-wrap {
|
|
456
|
+
display: flex; align-items: center; justify-content: center; min-height: 200px;
|
|
457
|
+
background-image: linear-gradient(45deg, var(--bg-2) 25%, transparent 25%),
|
|
458
|
+
linear-gradient(-45deg, var(--bg-2) 25%, transparent 25%),
|
|
459
|
+
linear-gradient(45deg, transparent 75%, var(--bg-2) 75%),
|
|
460
|
+
linear-gradient(-45deg, transparent 75%, var(--bg-2) 75%);
|
|
461
|
+
background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0;
|
|
462
|
+
border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
|
|
463
|
+
}
|
|
464
|
+
.st-file-preview-image { max-width: 100%; max-height: 70vh; object-fit: contain; }
|
|
465
|
+
.st-file-preview-media { max-width: 100%; max-height: 70vh; display: block; }
|
|
466
|
+
.st-file-preview-audio { width: 100%; }
|
|
467
|
+
.st-file-preview-font { display: flex; flex-direction: column; gap: var(--space-4); }
|
|
468
|
+
.st-file-preview-font-specimen { color: var(--fg-0); }
|
|
469
|
+
.st-file-preview-font-lg { font-size: 40px; line-height: 1.3; }
|
|
470
|
+
.st-file-preview-font-md { font-size: 24px; line-height: 1.4; }
|
|
471
|
+
.st-file-preview-font-sm { font-size: 14px; line-height: 1.6; color: var(--fg-2); word-break: break-all; }
|
|
472
|
+
|
|
428
473
|
/* ═══ Task 6 — right panel (Inspector / Comments) + palette + toast ═══════════ */
|
|
429
474
|
.st-rpanel {
|
|
430
475
|
background: var(--bg-1); border-left: 1px solid var(--border-default);
|
|
@@ -619,6 +619,34 @@
|
|
|
619
619
|
border-radius: var(--radius-sm);
|
|
620
620
|
overflow-x: auto;
|
|
621
621
|
}
|
|
622
|
+
.chat-md-table-wrap {
|
|
623
|
+
overflow-x: auto;
|
|
624
|
+
border: 1px solid var(--border-subtle);
|
|
625
|
+
border-radius: var(--radius-sm);
|
|
626
|
+
}
|
|
627
|
+
.chat-md-table {
|
|
628
|
+
width: 100%;
|
|
629
|
+
border-collapse: collapse;
|
|
630
|
+
font-size: var(--type-xs);
|
|
631
|
+
}
|
|
632
|
+
.chat-md-table th,
|
|
633
|
+
.chat-md-table td {
|
|
634
|
+
padding: var(--space-2) var(--space-3);
|
|
635
|
+
text-align: left;
|
|
636
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
637
|
+
white-space: pre-wrap;
|
|
638
|
+
}
|
|
639
|
+
.chat-md-table th {
|
|
640
|
+
background: var(--bg-2);
|
|
641
|
+
font-weight: 600;
|
|
642
|
+
color: var(--fg-0);
|
|
643
|
+
}
|
|
644
|
+
.chat-md-table td {
|
|
645
|
+
color: var(--fg-1);
|
|
646
|
+
}
|
|
647
|
+
.chat-md-table tbody tr:last-child td {
|
|
648
|
+
border-bottom: none;
|
|
649
|
+
}
|
|
622
650
|
.chat-code code {
|
|
623
651
|
font-family: var(--font-mono);
|
|
624
652
|
font-size: var(--type-xs);
|