@nanobpm/urban 0.67.0 → 0.68.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 +7 -0
- package/dist/runtime/core/modules/runtime.gen.js +1 -1
- package/package.json +1 -1
- package/src/runtime/browser/runtime.browser.js +248 -10
- package/src/runtime/browser/runtime.detailform.test.ts +177 -1
- package/src/runtime/core/modules/pages.ts +7 -0
- package/src/runtime/core/modules/runtime.gen.ts +1 -1
|
@@ -592,6 +592,13 @@ table.pc-grid th { font-weight:600; color:var(--nano-text-muted); }
|
|
|
592
592
|
.pc-subform-title { font-weight:600; font-size:.85rem; margin-bottom:.4rem; }
|
|
593
593
|
.pc-prompt { font-size:.85rem; color:var(--nano-text-muted); margin-bottom:.4rem; white-space:pre-wrap; }
|
|
594
594
|
.pc-textarea { width:100%; min-height:4rem; padding:.5rem; border:1px solid var(--nano-edge); border-radius:.4rem; font:inherit; background:var(--nano-inset); color:var(--nano-text); }
|
|
595
|
+
/* Schema-derived multi-field detail.form widgets (#372): a short free-text
|
|
596
|
+
<input> and an enumerated-choice <select>, styled to match .pc-textarea so a
|
|
597
|
+
select/text/textarea form reads as one coherent set. A field hidden by its
|
|
598
|
+
conditional.hide expression carries the plain [hidden] attribute (display:none
|
|
599
|
+
by default), so no extra rule is needed to remove it from the layout. */
|
|
600
|
+
.pc-input, .pc-select { width:100%; padding:.5rem .6rem; border:1px solid var(--nano-edge); border-radius:.4rem; font:inherit; background:var(--nano-inset); color:var(--nano-text); }
|
|
601
|
+
.pc-subform .pc-field label { font-size:.8rem; color:var(--nano-text-muted); }
|
|
595
602
|
.pc-collapse-header { display:flex; align-items:center; gap:.5rem; width:100%; margin:0 0 .75rem; padding:0; background:transparent; border:0; color:inherit; font:inherit; font-size:1rem; font-weight:600; cursor:pointer; text-align:left; }
|
|
596
603
|
.pc-chevron-inline { color:var(--nano-text-faint); font-size:.75rem; width:1em; }
|
|
597
604
|
.pc-card-body[hidden] { display:none; }
|