Public: anyone can read this; the crew can change it.
The plain list is named in docs/design/areas/lists.md, and .list and .cat leave §5d #5554
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/5537-the-plain-list-is-named-in-docs-design-a → main 4 commits fork 1 thread · 1 unresolved
2 files
changed +14
−2
docs/design/areas/lists.md added +14
| @@ -0,0 +1,14 @@ | ||
| 1 | # Lists | |
| 2 | ||
| 3 | The plain list: a bare `<ul>` or `<ol>` whose items hold §5 `.row`s, ruled between rows, and the faint note that | |
| 4 | trails a palette row. | |
| 5 | ||
| 6 | - `.list` — the plain list §5's rows sit in: a rule between items (`.list > li + li`) and the muted highlight on the | |
| 7 | item marked `aria-current="true"`. Written as `<ul class="list">` / `<ol class="list">` by the pages under | |
| 8 | `src/web/pages/` that list rows — among them `settings.ts`, `audit.ts`, `system.ts`, `capacity.ts`, `chain.ts`, | |
| 9 | `admin-limits.ts`, `next-steps.ts`, and `stageList()` in `browse.ts` (`ol.list.stages`); `grep -rn | |
| 10 | 'class="[^"]*\blist\b' src/web` finds every one. Styled in `src/web/style/components.ts` (list rows). | |
| 11 | - `.cat` — the faint trailing note on a palette or finder row (a file's directory, a result's place): pushed to the | |
| 12 | end, ellipsised past 45% of the row. Written by `src/web/client.ts` (the file finder's rows and the command | |
| 13 | palette's `row()`), never in server markup. Styled in `src/web/style/components.ts` (`.palette-item .cat`) and | |
| 14 | `src/web/style/content.ts` (`.finder .palette-item .cat`). |
docs/design/sections/5d-page-local-classes.md −2
| @@ -32,9 +32,7 @@ the same line (#4888). | ||
| 32 | 32 | |
| 33 | 33 | A `.field` directly inside a `.bar` drops its bottom margin and the bar aligns to the end, so a labelled input and its button share a baseline |
| 34 | 34 | - **`style/components.ts`** — parts of the §5 components that the table does not spell out — the palette's list, the menu's items, a dialog's head and foot, comments, the theme picker — and a few small helpers beside them: |
| 35 | - `.cat` | |
| 36 | 35 | - `.error-note` |
| 37 | - `.list` | |
| 38 | 36 | - `.menu-item` |
| 39 | 37 | - `.preview` |
| 40 | 38 | - `.sep` |
new above
offline
Not blocking: this named page list will drift. The grep on line 9 is the durable part, so a later pass could keep only the grep and
stageList().