Molecule · draft · v1.0.0 · owner: Site system lead · contract 19 of 20 points (open: figma)
Do and don't
Do: Four linked jobs
Rendered by job-map.tsOpen example: Four-job thread map · Do: Four linked jobs Use the full-page example to follow page links.
Do: Japanese
Rendered by job-map.tsOpen example: Four-job thread map · Do: Japanese Use the full-page example to follow page links.
Don't: Not a health scale
Rendered by job-map.tsOpen example: Four-job thread map · Don't: Not a health scale Use the full-page example to follow page links.
Don't: Not independent silos
Rendered by job-map.tsOpen example: Four-job thread map · Don't: Not independent silos Use the full-page example to follow page links.
Rules
| Rule | Why | Check |
|---|---|---|
| Positive specimens declare their rendered initial state and document language; each registered visual variant has a positive example. | Machine and Library consumers need the same examples without turning declarations into execution evidence. | Automated: tests/unit/v4-example-coverage.test.ts |
| Use the four existing product routes and governed job names. | Navigation must lead to the actual product explanations. | Automated: tests/unit/site-identity.test.ts |
API
| Prop | Type | Required | Default | What it does |
|---|---|---|---|---|
lang | en | ja | No | "en" | Navigation language. |
Contract details
The full contract: identity, anatomy, variants, states, tokens, layout, motion, accessibility, content, tests
Identity
| Aspect | Value |
|---|---|
| Id | job-map |
| Layer | Molecules |
| Category | navigation |
| Owner | Site system lead |
| Status | draft |
| Version | 1.0.0 |
| Source | apps/showcase/site/system/molecules/job-map.ts (private repository; the contract and the render function are this one module) |
| Version | Date | Change |
|---|---|---|
| 1.0.0 | 2026-10-27 | Created from the owner-selected V4 direction (D-SITE-019). |
Use when
- An overview of Loom's four jobs. Why: The continuous line shows their relationship while real links make it useful.
Do not use when
- Showing health bands. Why: Job colours name work, not a score.
Anatomy
| Part | What it is |
|---|---|
| root | Navigation landmark |
| links | Four labelled job links |
| thread | Four threads pass through one governed field |
| outcomes | Clarity, decision, control and flow |
Made of: text-link, tokens-component.
Used in: pages directly.
Variants
| Variant | When | Why |
|---|---|---|
| default | Wherever the page declaration places it. | One shape per job keeps pages predictable. |
States
| State | Rendered or not applicable |
|---|---|
| default | default |
| hover | Interactive links retain their text and visible affordance on hover. |
| focus-visible | Four product links in See, Shape, Govern, Run order; each has a visible component focus ring. |
| active | Enter activates the focused link; native buttons also accept Space. Parent content does not move. |
| disabled | Not applicable: Four-job navigation has nothing to disable. |
| loading | Not applicable: Four-job navigation is rendered at build time and is complete when the page loads. |
| empty | Not applicable: Content is generated from registered system definitions and has no empty-list variant. |
| error | Not applicable: Four-job navigation shows no data that can fail. |
| current | Not applicable: Four-job navigation has no current item. |
| visited | Not applicable: These navigational links keep their semantic colour; browser history does not imply task completion. |
| expanded | Not applicable: Four-job navigation does not open or close. |
Tokens
| Part | Token |
|---|---|
| --job-map-gap-medium | var(--space-5) |
| --job-map-mark | var(--type-h2) |
| --job-map-surface | var(--cotton) |
| --job-map-ink | var(--ink) |
| --job-map-see | var(--teal-ink) |
| --job-map-shape | var(--madder-ink) |
| --job-map-govern | var(--saffron-ink) |
| --job-map-run | var(--indigo-ink) |
| --job-map-gap | var(--space-6) |
| --job-map-margin | var(--space-8) |
| --job-map-gap-small | var(--space-4) |
| --job-map-title | var(--type-h3) |
| --job-map-caption | var(--type-small) |
| --job-map-rule | var(--rule-hair) |
| --job-map-line | var(--line-strong) |
| --job-map-target | var(--space-11) |
| --job-map-focus | var(--focus) |
| --job-map-focus-width | var(--rule) |
| --job-map-focus-offset | var(--space-2) |
Layout
| Aspect | Value |
|---|---|
| breakpoints | Required review at 390, 768, 1024 and 1440 px; execution is not implied by this declaration; columns stack under 768 px; the wrap keeps a 16 px gutter on phones. |
| wrapping | Text wraps; nothing scrolls sideways. |
| textExpansion | Japanese runs 20 to 40% longer; headings break between phrases (jaBreaks) and blocks grow downwards. |
Spacing and rhythm
| Aspect | Value |
|---|---|
| internal | --space-6 |
| external | --space-8 |
| rhythm | Signals, one governed field and outcomes; four aligned rows at every width. |
Motion
| Aspect | Value |
|---|---|
| None | No intrinsic element animation. The optional claude-entrance consumer profile may translate below-fold structure once (20px, --dur-weave, --ease-enter, --stagger); reduced motion disables it. This preserved baseline entrance is separate from element playback. |
Runtime and reuse
Render-only element; mount any registered child enhancements separately. Preserve required Site CSS, fonts, responsive and locale rules from nativeElement.
Accessibility passport
| Aspect | Value |
|---|---|
| role | Navigation landmark containing four links; decorative connecting diagram |
| name | Four jobs through one governed system, translated in Japanese |
| keyboard | Tab follows See, Shape, Govern, Run; Enter navigates |
| focus | Visible component ring; navigation retains native document focus behavior |
| screenReader | Links and outcomes remain readable in source order without the drawing or colour |
| contrast | Context-aware job inks on the cloth; labels and connections remain explicit |
| target | Each link has a minimum height of the component target token |
Content
| Slot | Length | Voice |
|---|---|---|
| job | One governed name | See, Shape, Govern, Run. |
Good: “See · Shape · Govern · Run”
Bad: “Discover · Magic · Win”
Japanese: 見える化する・整える・守る・運用する
Icons and illustrations
None: this element uses no icon or illustration of its own.
Decisions and exceptions
Usage
84 uses across the built pages (measured by npm run site:system).
Tests
| Aspect | Value |
|---|---|
| unit | tests/unit/site-system.test.ts: renders every do and don't example through the registry and checks the classes it owns |
| visual | Not yet: there are no screenshot baselines; the Library page is checked for sideways scroll at 1440 px by tests/site/system.spec.ts |
| a11y | tests/site/system.spec.ts: axe (0 serious or critical) on the element's Library page in light and dark |
| parity | scripts/site/system/check.ts: Library examples are rendered by the same render function the site imports |
Figma
not-yet: The Loom Site Figma library is the last stage of the plan; this element is not mapped yet.