@nanobpm/urban 0.72.2 → 0.73.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/dist/runtime/core/modules/pages.js +10 -0
- package/dist/runtime/core/modules/runtime.gen.js +1 -1
- package/dist/runtime/core/page-nodes.d.ts +12 -0
- package/dist/runtime/core/page-nodes.js +32 -0
- package/package.json +1 -1
- package/src/runtime/browser/runtime.browser.js +101 -9
- package/src/runtime/browser/runtime.browser.test.ts +119 -2
- package/src/runtime/core/modules/pages.ts +10 -0
- package/src/runtime/core/modules/runtime.gen.ts +1 -1
- package/src/runtime/core/page-nodes.ts +38 -0
|
@@ -632,6 +632,16 @@ table.pc-grid th { font-weight:600; color:var(--nano-text-muted); }
|
|
|
632
632
|
.pc-md-code { background:var(--nano-inset); border-radius:.3rem; padding:.05rem .3rem; font:.85em ui-monospace,SFMono-Regular,Menlo,monospace; }
|
|
633
633
|
.pc-md-hr { border:0; border-top:1px solid var(--nano-edge); margin:1rem 0; }
|
|
634
634
|
.pc-prose-body a { color:var(--nano-accent-strong); }
|
|
635
|
+
/* Embedded App View (renderAppView, #416 / ADR 0057). An <iframe> hosting a
|
|
636
|
+
self-contained view document (e.g. the agent cockpit's embed.html) served
|
|
637
|
+
alongside the page. A plain node sizes to a comfortable default; a "fill" node
|
|
638
|
+
grows to a tall flex column so the embed (a live dashboard/terminal) gets the
|
|
639
|
+
viewport height it needs instead of a squat fixed box. */
|
|
640
|
+
.pc-appview { margin:1rem 0; }
|
|
641
|
+
.pc-appview-title { font-size:.8rem; font-weight:600; color:var(--nano-text-muted); text-transform:uppercase; letter-spacing:.03em; margin:0 0 .35rem; }
|
|
642
|
+
.pc-appview-frame { display:block; width:100%; min-height:24rem; border:1px solid var(--nano-edge); border-radius:.6rem; background:var(--nano-inset); }
|
|
643
|
+
.pc-appview-fill { display:flex; flex-direction:column; min-height:min(80vh,48rem); }
|
|
644
|
+
.pc-appview-fill .pc-appview-frame { flex:1 1 auto; min-height:0; }
|
|
635
645
|
/* A standalone button node + the modal it opens (e.g. a copy-pasteable prompt). */
|
|
636
646
|
.pc-buttonrow { margin:1rem 0; }
|
|
637
647
|
.pc-btn-ghost { background:transparent; color:var(--nano-text-muted); border:1px solid var(--nano-edge); }
|