@fasl-work/caos-app-shell 0.12.0 → 0.13.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.
- package/bin/caos-shell-gate.mjs +1 -1
- package/dist/chart.js +2 -2
- package/dist/{chunk-X6Y5CDUD.js → chunk-33WTUQ7Q.js} +5 -3
- package/dist/{chunk-DX36XRD5.js → chunk-YECZXGVG.js} +1 -1
- package/dist/index.d.ts +155 -57
- package/dist/index.js +1032 -212
- package/dist/{keys-CnvqkckF.d.ts → keys-DDQGijwQ.d.ts} +10 -4
- package/dist/keys.d.ts +1 -1
- package/dist/keys.js +1 -1
- package/gate/areas.mjs +230 -54
- package/gate/inpage.mjs +52 -10
- package/gate/run.mjs +33 -8
- package/gate/serve.mjs +6 -2
- package/package.json +1 -1
- package/reserved-classes.json +56 -18
- package/src/content/executive.schema.json +659 -141
- package/styles.css +37 -18
package/styles.css
CHANGED
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
/* layout */
|
|
91
91
|
--maxw: 1200px; /* the document width (ADR-0017 s1) */
|
|
92
92
|
--maxw-wide: 100%; /* the workbench and surface width (ADR-0071 rule 2) */
|
|
93
|
-
--measure: 70ch; /* the narrow column (.measure)
|
|
93
|
+
--measure: 70ch; /* the narrow column (.measure) */
|
|
94
94
|
--measure-text: 78ch; /* the longest line of a text block inside a document */
|
|
95
95
|
--header-h: 56px;
|
|
96
96
|
--rail-w: clamp(248px, 19vw, 340px);
|
|
@@ -345,7 +345,8 @@ code, kbd { font-family: var(--font-mono); }
|
|
|
345
345
|
.measure { max-width: var(--measure); }
|
|
346
346
|
.page-head { border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; margin-bottom: 1.25rem; }
|
|
347
347
|
.page-head h1 { font-size: var(--text-2xl); margin: 0 0 0.4rem; }
|
|
348
|
-
|
|
348
|
+
/* the lede of a page takes the full width of the document column (Felipe, 2026-10-13); only captions keep a measure */
|
|
349
|
+
.lede { color: var(--color-fg-subtle); font-size: var(--text-lg); margin: 0; max-width: none; }
|
|
349
350
|
.caos-doc-section { margin-block: 1.75rem; }
|
|
350
351
|
/* The references of a page or open tab: one block at its end (ADR-0017 s4). */
|
|
351
352
|
.caos-doc-references { margin-top: 2rem; padding-top: 0.4rem; border-top: 1px solid var(--color-border); }
|
|
@@ -719,20 +720,39 @@ svg.lucide { flex: none; }
|
|
|
719
720
|
/* The executive view (shell 0.12.0, conventions/problem-context-first.md): four sections in order, three inline illustrations,
|
|
720
721
|
numbered source notes. The product fills content/executive.json; it never styles this view. Illustrations are inline SVG
|
|
721
722
|
coloured with the theme tokens; a drawing carrying both languages shows the labels of the displayed one. */
|
|
722
|
-
.caos-exec { display: flex; flex-direction: column; gap:
|
|
723
|
-
|
|
724
|
-
.caos-exec-
|
|
725
|
-
.caos-exec-
|
|
726
|
-
.caos-exec-
|
|
727
|
-
.caos-exec-
|
|
728
|
-
.caos-exec-
|
|
729
|
-
.caos-exec-
|
|
730
|
-
.caos-exec-
|
|
731
|
-
.caos-exec-
|
|
732
|
-
.caos-exec-whynow .caos-exec-label { display: block; margin-bottom: 0.15rem; }
|
|
723
|
+
.caos-exec { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
|
|
724
|
+
/* the landing block above the sub-tabs: the title, the key statement, the headline figures */
|
|
725
|
+
.caos-exec-landing { min-width: 0; }
|
|
726
|
+
.caos-exec-title { margin: 0 0 0.35rem; font-size: var(--text-xl); }
|
|
727
|
+
.caos-exec-statement { margin: 0 0 1rem; font-size: var(--text-lg); line-height: 1.45; }
|
|
728
|
+
.caos-exec-headline, .caos-exec-figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; }
|
|
729
|
+
.caos-exec-figures { margin-block: 1rem; }
|
|
730
|
+
.caos-exec-figure { min-width: 0; padding: 0.7rem 1rem; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow-wrap: anywhere; }
|
|
731
|
+
.caos-exec-label { display: inline-block; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-fg-faint); font-weight: 650; }
|
|
732
|
+
.caos-exec-figure > .caos-exec-label { display: block; margin-bottom: 0.1rem; }
|
|
733
733
|
.caos-exec-value { font-size: var(--text-xl); font-variant-numeric: tabular-nums; color: var(--color-accent); }
|
|
734
734
|
.caos-exec-sep { color: var(--color-fg-faint); }
|
|
735
735
|
.caos-exec-cite { margin-left: 0.15rem; font-size: var(--text-xs); }
|
|
736
|
+
/* a sub-tab: the key message line first, then the supporting content, all at the full width of the column */
|
|
737
|
+
.caos-exec-tabs { min-width: 0; }
|
|
738
|
+
.caos-exec-section { min-width: 0; }
|
|
739
|
+
.caos-exec-key { margin: 0 0 1rem; font-size: var(--text-lg); line-height: 1.45; font-weight: 600; }
|
|
740
|
+
.caos-exec-paragraph { margin: 0 0 0.75rem; }
|
|
741
|
+
.caos-exec-sub { margin: 1.25rem 0 0.5rem; font-size: var(--text-md); }
|
|
742
|
+
.caos-exec-setting, .caos-exec-interaction, .caos-exec-status, .caos-exec-handoff { margin: 0.75rem 0; overflow-wrap: anywhere; }
|
|
743
|
+
.caos-exec-cards, .caos-exec-cs, .caos-exec-actions, .caos-exec-causes, .caos-exec-evidence, .caos-exec-list { list-style: none; margin: 0; padding: 0; }
|
|
744
|
+
.caos-exec-cards, .caos-exec-cs { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.9rem; }
|
|
745
|
+
.caos-exec-actions, .caos-exec-causes { display: flex; flex-direction: column; gap: 0.7rem; }
|
|
746
|
+
.caos-exec-card { min-width: 0; padding: 0.8rem 1rem; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 0.5rem; overflow-wrap: anywhere; }
|
|
747
|
+
.caos-exec-list li, .caos-exec-evidence li { margin-block: 0.35rem; overflow-wrap: anywhere; }
|
|
748
|
+
.caos-exec-list, .caos-exec-evidence { list-style: disc; padding-left: 1.3rem; }
|
|
749
|
+
.caos-exec-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
|
|
750
|
+
.caos-exec-badge { align-self: flex-start; padding: 0.1rem 0.5rem; font-size: var(--text-xs); border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-fg-subtle); }
|
|
751
|
+
.caos-exec-cause { min-width: 0; overflow-wrap: anywhere; }
|
|
752
|
+
.caos-exec-cause-head { display: flex; justify-content: space-between; gap: 1rem; }
|
|
753
|
+
.caos-exec-bar { height: 0.45rem; margin-top: 0.3rem; background: var(--color-surface-2); border-radius: 999px; overflow: hidden; }
|
|
754
|
+
.caos-exec-bar > span { display: block; height: 100%; background: var(--color-accent); }
|
|
755
|
+
.caos-exec-cdef { font-size: var(--text-xs); line-height: 1.4; color: var(--color-fg-faint); }
|
|
736
756
|
.caos-exec-fig { margin: 1.25rem 0; }
|
|
737
757
|
.caos-exec-art { width: 100%; max-width: 640px; margin-inline: auto; }
|
|
738
758
|
.caos-exec-art > svg { display: block; width: 100%; height: auto; }
|
|
@@ -740,11 +760,10 @@ svg.lucide { flex: none; }
|
|
|
740
760
|
.caos-exec-fig svg text { font-family: var(--font-sans); }
|
|
741
761
|
.caos-exec-fig[data-lang="en"] [data-lang="es"], .caos-exec-fig[data-lang="es"] [data-lang="en"] { display: none; }
|
|
742
762
|
.caos-exec-fig-error { margin: 0 auto; max-width: 640px; padding: 1rem; border: 1px solid var(--color-bad); border-radius: var(--radius-md); color: var(--color-fg); overflow-wrap: anywhere; }
|
|
743
|
-
|
|
744
|
-
.caos-exec-outcome, .caos-exec-cs > li { min-width: 0; padding: 0.8rem 1rem; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 0.6rem; overflow-wrap: anywhere; }
|
|
745
|
-
.caos-exec-proof { margin-top: auto; }
|
|
746
|
-
.caos-exec-pending { margin: 0; padding: 0.8rem 1rem; border: 1px dashed var(--color-border); border-radius: var(--radius-md); color: var(--color-fg-subtle); }
|
|
763
|
+
/* below the sub-tabs: the numbered linked sources, then the onward links */
|
|
747
764
|
.caos-exec-notes-wrap { border-top: 1px solid var(--color-border); padding-top: 0.75rem; }
|
|
748
765
|
.caos-exec-notes-title { margin: 0 0 0.35rem; font-size: var(--text-sm); color: var(--color-fg-faint); }
|
|
749
|
-
.caos-exec-notes { margin: 0; padding-left: 1.4rem; font-size: var(--text-sm); color: var(--color-fg-subtle); }
|
|
766
|
+
.caos-exec-notes { margin: 0; padding-left: 1.4rem; font-size: var(--text-sm); color: var(--color-fg-subtle); overflow-wrap: anywhere; }
|
|
767
|
+
.caos-exec-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 0.25rem; }
|
|
768
|
+
.caos-exec-link { font-weight: 600; }
|
|
750
769
|
.caos-exec-error { padding: 1rem 1.25rem; border: 1px solid var(--color-bad); border-radius: var(--radius-md); }
|