contour-ds 1.1.2 → 1.5.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.
Files changed (71) hide show
  1. package/README.md +7 -1
  2. package/dist/agent-rules.json +5 -1
  3. package/dist/build-manifest.json +93 -92
  4. package/dist/contour-wc.esm.js +4113 -480
  5. package/dist/contour-wc.esm.min.js +1 -1
  6. package/dist/contour-wc.js +4115 -478
  7. package/dist/contour-wc.min.js +1 -1
  8. package/dist/contour.components.json +2597 -135
  9. package/dist/contour.css +625 -27
  10. package/dist/contour.d.ts +109 -61
  11. package/dist/contour.esm.js +16 -0
  12. package/dist/contour.js +16 -0
  13. package/dist/contour.min.css +1 -1
  14. package/dist/contour.tokens.json +37 -0
  15. package/dist/docs/actions.md +6 -2
  16. package/dist/docs/affordances.md +19 -3
  17. package/dist/docs/colour.md +2 -2
  18. package/dist/docs/componentindex.md +39 -0
  19. package/dist/docs/data.md +38 -3
  20. package/dist/docs/docs.md +6 -2
  21. package/dist/docs/feedback.md +13 -3
  22. package/dist/docs/field.md +7 -2
  23. package/dist/docs/forms.md +35 -3
  24. package/dist/docs/index.json +32 -76
  25. package/dist/docs/install.md +4 -2
  26. package/dist/docs/landing.md +3 -2
  27. package/dist/docs/mapengine.md +9 -3
  28. package/dist/docs/motion.md +5 -2
  29. package/dist/docs/navigation.md +10 -3
  30. package/dist/docs/overlays.md +26 -3
  31. package/dist/docs/overview.md +2 -2
  32. package/dist/docs/patterns.md +38 -3
  33. package/dist/docs/playground.md +5 -2
  34. package/dist/docs/principles.md +2 -2
  35. package/dist/docs/recipes.md +7 -3
  36. package/dist/docs/space.md +2 -2
  37. package/dist/docs/status.md +19 -3
  38. package/dist/docs/surfaces.md +7 -3
  39. package/dist/docs/theming.md +5 -2
  40. package/dist/docs/type.md +2 -2
  41. package/dist/docs/webcomponents.md +26 -3
  42. package/dist/map-chrome.mapbox.css +4 -4
  43. package/dist/map-chrome.maplibre.css +4 -4
  44. package/dist/registry/items/contour-core.json +2 -2
  45. package/dist/registry/items/contour-data.json +2 -2
  46. package/dist/registry/items/contour-docs.json +2 -2
  47. package/dist/registry/items/contour-landing.json +2 -2
  48. package/dist/registry/registry.json +8 -8
  49. package/dist/surfaces/contour-core.min.css +1 -1
  50. package/dist/surfaces/contour-data.min.css +1 -1
  51. package/dist/surfaces/contour-docs.min.css +1 -1
  52. package/dist/surfaces/contour-landing.min.css +1 -1
  53. package/dist/wc/behaviours.mjs +69 -11
  54. package/dist/wc/content.mjs +163 -8
  55. package/dist/wc/core.mjs +145 -34
  56. package/dist/wc/dashboard.mjs +69 -4
  57. package/dist/wc/data.mjs +866 -115
  58. package/dist/wc/docs.mjs +1 -0
  59. package/dist/wc/feedback.mjs +75 -13
  60. package/dist/wc/forms.mjs +371 -34
  61. package/dist/wc/index.mjs +7 -3
  62. package/dist/wc/interaction.mjs +11 -6
  63. package/dist/wc/map.mjs +121 -38
  64. package/dist/wc/misc.mjs +29 -1
  65. package/dist/wc/navigation.mjs +424 -75
  66. package/dist/wc/registration.mjs +8 -4
  67. package/dist/wc/shadow.mjs +29 -12
  68. package/dist/wc/states.mjs +15 -0
  69. package/dist/wc/svg.mjs +10 -0
  70. package/dist/wc/ui.mjs +1710 -126
  71. package/package.json +39 -6
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "source": "index.html",
4
- "sourceSha256": "1fb85a5bccea15f2",
5
- "lastUpdated": "2026-11-01T12:28:24+01:00",
4
+ "sourceSha256": "89164adf826b1812",
5
+ "lastUpdated": "2026-11-03T18:38:35+01:00",
6
6
  "generatedBy": "tools/build.mjs, from index.html",
7
7
  "statement": "Machine-readable copy of the style guide's prose, generated and never hand-edited. Sections are listed in guide order; titles, prose and counts are quoted or counted, not authored. Prose is verbatim: a paragraph here is the guide's own sentence, never a sentence this generator wrote. Contains no URL: the project is private until v1.0.",
8
8
  "counts": {
9
- "sections": 25,
10
- "inRail": 25,
11
- "titled": 24,
12
- "blocksReferenced": 163,
9
+ "sections": 26,
10
+ "inRail": 26,
11
+ "titled": 25,
12
+ "blocksReferenced": 221,
13
13
  "guideOnlyClasses": 1
14
14
  },
15
15
  "sections": [
@@ -74,15 +74,15 @@
74
74
  "title": "Forms",
75
75
  "marker": "07",
76
76
  "file": "docs/forms.md",
77
- "blocks": 14,
77
+ "blocks": 28,
78
78
  "inRail": true
79
79
  },
80
80
  {
81
81
  "id": "status",
82
82
  "title": "Status & labels",
83
- "marker": "08",
83
+ "marker": "07",
84
84
  "file": "docs/status.md",
85
- "blocks": 10,
85
+ "blocks": 16,
86
86
  "inRail": true
87
87
  },
88
88
  {
@@ -90,7 +90,7 @@
90
90
  "title": "Surfaces",
91
91
  "marker": "09",
92
92
  "file": "docs/surfaces.md",
93
- "blocks": 18,
93
+ "blocks": 19,
94
94
  "inRail": true
95
95
  },
96
96
  {
@@ -98,7 +98,7 @@
98
98
  "title": "Navigation",
99
99
  "marker": "10",
100
100
  "file": "docs/navigation.md",
101
- "blocks": 21,
101
+ "blocks": 22,
102
102
  "inRail": true
103
103
  },
104
104
  {
@@ -106,15 +106,15 @@
106
106
  "title": "Feedback",
107
107
  "marker": "11",
108
108
  "file": "docs/feedback.md",
109
- "blocks": 12,
109
+ "blocks": 15,
110
110
  "inRail": true
111
111
  },
112
112
  {
113
113
  "id": "overlays",
114
114
  "title": "Overlays",
115
- "marker": "12",
115
+ "marker": "11",
116
116
  "file": "docs/overlays.md",
117
- "blocks": 17,
117
+ "blocks": 28,
118
118
  "inRail": true
119
119
  },
120
120
  {
@@ -122,7 +122,7 @@
122
122
  "title": "Data display",
123
123
  "marker": "13",
124
124
  "file": "docs/data.md",
125
- "blocks": 22,
125
+ "blocks": 38,
126
126
  "inRail": true
127
127
  },
128
128
  {
@@ -154,7 +154,7 @@
154
154
  "title": "Patterns",
155
155
  "marker": "17",
156
156
  "file": "docs/patterns.md",
157
- "blocks": 7,
157
+ "blocks": 19,
158
158
  "inRail": true
159
159
  },
160
160
  {
@@ -162,7 +162,7 @@
162
162
  "title": "Affordances, made visible.",
163
163
  "marker": "18",
164
164
  "file": "docs/affordances.md",
165
- "blocks": 34,
165
+ "blocks": 41,
166
166
  "inRail": true
167
167
  },
168
168
  {
@@ -170,7 +170,7 @@
170
170
  "title": "Three shells, one system.",
171
171
  "marker": "19",
172
172
  "file": "docs/recipes.md",
173
- "blocks": 39,
173
+ "blocks": 40,
174
174
  "inRail": true
175
175
  },
176
176
  {
@@ -202,7 +202,7 @@
202
202
  "title": "Web components",
203
203
  "marker": "23",
204
204
  "file": "docs/webcomponents.md",
205
- "blocks": 18,
205
+ "blocks": 23,
206
206
  "inRail": true
207
207
  },
208
208
  {
@@ -210,66 +210,22 @@
210
210
  "title": "Map engine integration.",
211
211
  "marker": "24",
212
212
  "file": "docs/mapengine.md",
213
- "blocks": 4,
213
+ "blocks": 5,
214
+ "inRail": true
215
+ },
216
+ {
217
+ "id": "componentindex",
218
+ "title": "Component index.",
219
+ "marker": "25",
220
+ "file": "docs/componentindex.md",
221
+ "blocks": 15,
214
222
  "inRail": true
215
223
  }
216
224
  ],
217
225
  "coverage": {
218
- "contractBlocks": 214,
219
- "namedBySections": 163,
220
- "notNamedByAnySection": [
221
- "c-animation-controls",
222
- "c-annotation",
223
- "c-avatar-group",
224
- "c-axis",
225
- "c-badge-overflow",
226
- "c-banner",
227
- "c-bivariate-legend",
228
- "c-brownout",
229
- "c-brush",
230
- "c-calendar",
231
- "c-carousel",
232
- "c-category",
233
- "c-color-picker",
234
- "c-command-palette",
235
- "c-context-menu",
236
- "c-data-grid",
237
- "c-date-picker",
238
- "c-date-range",
239
- "c-divider",
240
- "c-donut",
241
- "c-dropdown",
242
- "c-fab",
243
- "c-file-upload",
244
- "c-gauge",
245
- "c-hover-card",
246
- "c-map-popup",
247
- "c-notification-center",
248
- "c-number-field",
249
- "c-palette-editor",
250
- "c-pivot",
251
- "c-popover",
252
- "c-rating",
253
- "c-responsive-content",
254
- "c-shortcut",
255
- "c-side-sheet",
256
- "c-skeleton-group",
257
- "c-sortable-list",
258
- "c-split-button",
259
- "c-stacked-bar",
260
- "c-status-light",
261
- "c-stepper",
262
- "c-style-panel",
263
- "c-style-switcher",
264
- "c-swatch",
265
- "c-tags-input",
266
- "c-time-picker",
267
- "c-time-series",
268
- "c-tour",
269
- "c-tree-grid",
270
- "c-virtual-list",
271
- "c-widget-state"
272
- ]
226
+ "contractBlocks": 221,
227
+ "namedBySections": 221,
228
+ "notNamedByAnySection": []
273
229
  },
274
230
  "contracts": {
275
231
  "tokens": "../contour.tokens.json",
@@ -277,7 +233,7 @@
277
233
  "components": "../contour.components.json"
278
234
  },
279
235
  "tables": {
280
- "taxonomy-table": "| Group | Count | Read | Unread | Covers |\n|---|---|---|---|---|\n| Colour ramps | 53 | 53 | — | `--basalt-…`, `--tidal-…`, `--lumen-…`, `--plasma-…`, `--sol-…`, `--clay-…` |\n| Brand ramp | 8 | 8 | — | `--brand-hue` and the ramp derived from it |\n| Semantic colours | 69 | 69 | — | `--color-…` — text, surface, border, primary; every one `light-dark()` |\n| Chart | 45 | 45 | — | categorical, sequential, diverging, dash patterns, chart chrome |\n| Fill patterns | 6 | 6 | — | `--fill-hatch-…`, `--fill-dot` — the shape branch of a filled mark |\n| Gradients | 4 | 4 | — | canvas, plate, heat, rule |\n| Typography | 31 | 31 | — | families, sizes, weights, leading, tracking, measures |\n| Space and layout | 22 | 22 | — | the 4 px scale, containers, gutter, header height, target sizes |\n| Shape | 20 | 20 | — | radii, borders, hairline, shadows, elevation |\n| Motion | 13 | 13 | — | durations and easings |\n| Z-index | 6 | 6 | — | `--z-raised` … `--z-tooltip` |\n| Density | 5 | 5 | — | row height, cell padding, label size |\n| Focus | 1 | 1 | — | the focus ring perimeter |\n| Miscellaneous | 12 | 12 | — | no documented prefix — fix the taxonomy |\n| **Total** | **295** | **295** | **0** | unique custom properties in `src/css/tokens.css` |"
236
+ "taxonomy-table": "| Group | Count | Read | Unread | Covers |\n|---|---|---|---|---|\n| Colour ramps | 53 | 53 | — | `--basalt-…`, `--tidal-…`, `--lumen-…`, `--plasma-…`, `--sol-…`, `--clay-…` |\n| Brand ramp | 8 | 8 | — | `--brand-hue` and the ramp derived from it |\n| Semantic colours | 69 | 69 | — | `--color-…` — text, surface, border, primary; every one `light-dark()` |\n| Chart | 45 | 45 | — | categorical, sequential, diverging, dash patterns, chart chrome |\n| Fill patterns | 6 | 6 | — | `--fill-hatch-…`, `--fill-dot` — the shape branch of a filled mark |\n| Gradients | 4 | 4 | — | canvas, plate, heat, rule |\n| Typography | 31 | 31 | — | families, sizes, weights, leading, tracking, measures |\n| Space and layout | 22 | 22 | — | the 4 px scale, containers, gutter, header height, target sizes |\n| Shape | 20 | 20 | — | radii, borders, hairline, shadows, elevation |\n| Motion | 16 | 14 | 2 | durations and easings |\n| Z-index | 6 | 6 | — | `--z-raised` … `--z-tooltip` |\n| Density | 6 | 6 | — | row height, cell padding, label size |\n| Focus | 1 | 1 | — | the focus ring perimeter |\n| Miscellaneous | 13 | 12 | 1 | no documented prefix — fix the taxonomy |\n| **Total** | **300** | **297** | **3** | unique custom properties in `src/css/tokens.css` |"
281
237
  },
282
238
  "missingRail": []
283
239
  }
@@ -1,6 +1,6 @@
1
1
  # Install
2
2
 
3
- Section `install` — marker `22`, position 23 of 25 in the guide.
3
+ Section `install` — marker `22`, position 23 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -8,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  One entry point, no runtime. Install from npm for the bundled dist/ deliverables, or link src/css/ds.css straight off a disk.
10
10
 
11
+ Equivalent contour-* elements are catalogued in §23.
12
+
11
13
  Optional progressive enhancement. Load contour-wc.js after ds.css to use contour-btn, contour-card, and 320+ other custom elements that generate their scaffolding from attributes. Light-DOM elements (contour-*) use the cascade directly; shadow-DOM elements (contour-shadow-*) ship slots and adopted stylesheets for encapsulation. Interactive blocks (tabs, combobox, tree, menu, segmented, dialog, tag, filter-pill, install, code, pagination) wire their own keyboard behaviour and dispatch contour:* CustomEvents (contour:select, contour:change, contour:remove, contour:copy, contour:page, contour:close, contour:theme-change), so they work standalone. Modifier attributes (variant, size, color) apply to both layers from one list, and attribute changes re-render without losing authored content.
12
14
 
13
15
  Slotted content in the shadow root.
@@ -27,4 +29,4 @@ starts disagreeing with itself.
27
29
 
28
30
  ---
29
31
 
30
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
32
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Landing
2
2
 
3
- Section `landing` — marker `16`, position 17 of 25 in the guide.
3
+ Section `landing` — marker `16`, position 17 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -41,6 +41,7 @@ One package, one tile source, and the same engine you can read line by line.
41
41
  - Feature comparison
42
42
  - FAQ
43
43
  - Start routing this afternoon.
44
+ - Web component counterpart
44
45
 
45
46
  ## Blocks documented here
46
47
 
@@ -66,4 +67,4 @@ starts disagreeing with itself.
66
67
 
67
68
  ---
68
69
 
69
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
70
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Map engine integration.
2
2
 
3
- Section `mapengine` — marker `24`, position 25 of 25 in the guide.
3
+ Section `mapengine` — marker `24`, position 25 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -14,17 +14,23 @@ The consumer owns this canvas; the system themes the chrome around it.
14
14
 
15
15
  Map-engine seam: Contour never imports a map library. Attach a live engine via el.attachMap(map) (or set el.map = map); read viewport bounds via el.getViewport(). Events (contour:map-control, contour:map-attach, contour:map-detach) are composed and bubble through shadow hosts. See templates/map.html for a working MapLibre example.
16
16
 
17
+ ## Subsections
18
+
19
+ - Map popup
20
+ - Web component counterpart
21
+
17
22
  ## Blocks documented here
18
23
 
19
- 4 block(s). Their facts live in `../contour.components.json`;
24
+ 5 block(s). Their facts live in `../contour.components.json`;
20
25
  only the names are here, because the same figure in two files is how a document
21
26
  starts disagreeing with itself.
22
27
 
23
28
  - `.c-btn`
24
29
  - `.c-icon-badge`
25
30
  - `.c-map-area`
31
+ - `.c-map-popup`
26
32
  - `.c-section-head`
27
33
 
28
34
  ---
29
35
 
30
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
36
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Motion that decelerates, never bounces.
2
2
 
3
- Section `motion` — marker `05`, position 6 of 25 in the guide.
3
+ Section `motion` — marker `05`, position 6 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -8,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Exponential easing for entrances, tight linear curves for continuous motion, and a hard stop for anything the user did not ask for. Every animation respects prefers-reduced-motion.
10
10
 
11
+ Equivalent contour-* elements are catalogued in §23.
12
+
11
13
  prefers-reduced-motion is an operating-system setting, so it is not the mechanism WCAG 2.2.2 asks for: a reader cannot reach it for one part of one page, and most have never opened it. [data-motion] is the page's own switch. paused holds every animation in its scope on the frame it is on — a spinner stays mid-rotation and still means working. running overrides the media query; leaving the attribute unset gives the choice back to the system.
12
14
 
13
15
  The same attribute is the seam for content that updates on a timer: when a live region stops being live, the producer that polls it should set data-motion="paused" too, because 2.2.2 covers auto-updating information, not only motion.
@@ -21,6 +23,7 @@ Entrances, reveals and anything that moves the eye across a gap.
21
23
  ## Subsections
22
24
 
23
25
  - Motion a reader can stop
26
+ - Web component counterpart
24
27
 
25
28
  ## Blocks documented here
26
29
 
@@ -44,4 +47,4 @@ starts disagreeing with itself.
44
47
 
45
48
  ---
46
49
 
47
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
50
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Navigation
2
2
 
3
- Section `navigation` — marker `10`, position 11 of 25 in the guide.
3
+ Section `navigation` — marker `10`, position 11 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -8,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Tabs for peer views, segmented controls for exclusive choices, a toolbar for map-level actions. Each one announces its state to assistive technology.
10
10
 
11
+ Equivalent contour-* elements are catalogued in §23.
12
+
11
13
  The bar that holds the brand, the section links and the actions. It sticks to the top of the page; below 48 rem the links move into a drawer.
12
14
 
13
15
  Handles high-degree road networks with predictable memory use.
@@ -20,9 +22,13 @@ The headings of the page being read, with the current one marked. The guide's ow
20
22
 
21
23
  On this page
22
24
 
25
+ ## Subsections
26
+
27
+ - Web component counterpart
28
+
23
29
  ## Blocks documented here
24
30
 
25
- 21 block(s). Their facts live in `../contour.components.json`;
31
+ 22 block(s). Their facts live in `../contour.components.json`;
26
32
  only the names are here, because the same figure in two files is how a document
27
33
  starts disagreeing with itself.
28
34
 
@@ -35,6 +41,7 @@ starts disagreeing with itself.
35
41
  - `.c-disclosure`
36
42
  - `.c-header`
37
43
  - `.c-icon-badge`
44
+ - `.c-kbd`
38
45
  - `.c-mark`
39
46
  - `.c-menu`
40
47
  - `.c-pagination`
@@ -50,4 +57,4 @@ starts disagreeing with itself.
50
57
 
51
58
  ---
52
59
 
53
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
60
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Overlays
2
2
 
3
- Section `overlays` — marker `12`, position 13 of 25 in the guide.
3
+ Section `overlays` — marker `11`, position 13 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -8,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Dialogs for decisions that need focus, a command palette for the whole system, a drawer for drill-down, and tooltips that appear on interest rather than on click.
10
10
 
11
+ Equivalent contour-* elements are catalogued in §23.
12
+
11
13
  Hover or focus the panel to strengthen the grip.
12
14
 
13
15
  Content behind the scrim.
@@ -30,31 +32,52 @@ Modal dialog, hint tooltip, command palette and the toast live region. These shi
30
32
  - Desire Paths
31
33
  - Drawer
32
34
  - Dialog, tooltip, command palette & toast host
35
+ - Web component counterpart
36
+ - Popover
37
+ - Tooltip
38
+ - Hover card
39
+ - Side sheet
40
+ - Dropdown
41
+ - Context menu
42
+ - Command palette
43
+ - Badge overflow
44
+ - Web component counterparts
33
45
 
34
46
  ## Blocks documented here
35
47
 
36
- 17 block(s). Their facts live in `../contour.components.json`;
48
+ 28 block(s). Their facts live in `../contour.components.json`;
37
49
  only the names are here, because the same figure in two files is how a document
38
50
  starts disagreeing with itself.
39
51
 
52
+ - `.c-badge`
53
+ - `.c-badge-overflow`
40
54
  - `.c-btn`
41
55
  - `.c-callout`
42
56
  - `.c-chip`
43
57
  - `.c-command`
58
+ - `.c-command-palette`
59
+ - `.c-context-menu`
44
60
  - `.c-dialog`
45
61
  - `.c-drawer`
62
+ - `.c-dropdown`
46
63
  - `.c-field`
64
+ - `.c-hover-card`
47
65
  - `.c-icon-badge`
66
+ - `.c-input`
67
+ - `.c-kbd`
68
+ - `.c-link`
48
69
  - `.c-panel`
70
+ - `.c-popover`
49
71
  - `.c-range`
50
72
  - `.c-readout`
51
73
  - `.c-resize-handle`
52
74
  - `.c-scrim`
53
75
  - `.c-section-head`
54
76
  - `.c-sheet`
77
+ - `.c-side-sheet`
55
78
  - `.c-toast-host`
56
79
  - `.c-tooltip`
57
80
 
58
81
  ---
59
82
 
60
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
83
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # overview
2
2
 
3
- Section `overview` — marker `00`, position 1 of 25 in the guide.
3
+ Section `overview` — marker `00`, position 1 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -18,4 +18,4 @@ starts disagreeing with itself.
18
18
 
19
19
  ---
20
20
 
21
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
21
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Patterns
2
2
 
3
- Section `patterns` — marker `17`, position 18 of 25 in the guide.
3
+ Section `patterns` — marker `17`, position 18 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -8,28 +8,63 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Recurring arrangements, documented so a landing page, a documentation site and a dashboard speak the same visual language.
10
10
 
11
+ Equivalent contour-* elements are catalogued in §23.
12
+
11
13
  Run routing without dedicated infrastructure and keep the deployment footprint minimal. The data never leaves the browser.
12
14
 
13
15
  Every desire line is the map arguing with the plan.
14
16
 
17
+ A filter bar, a table, and an empty/error state composed into one task.
18
+
19
+ A multi-field form with validity, reset, and submit.
20
+
21
+ Selecting a row highlights the corresponding map feature and vice versa.
22
+
23
+ A time slider drives a chart; stale data is badged.
24
+
25
+ A layer panel controls map-area slots.
26
+
27
+ A docs shell with URL-synced section state.
28
+
29
+ Documentation content.
30
+
15
31
  ## Subsections
16
32
 
17
33
  - Fewer servers. Faster interactions.
34
+ - Filter + query + empty/error
35
+ - Form validation
36
+ - Map + table selection
37
+ - Time slider + chart + stale data
38
+ - Layer panel + map slot
39
+ - Documentation page with URL state
40
+ - Web component counterpart
18
41
 
19
42
  ## Blocks documented here
20
43
 
21
- 7 block(s). Their facts live in `../contour.components.json`;
44
+ 19 block(s). Their facts live in `../contour.components.json`;
22
45
  only the names are here, because the same figure in two files is how a document
23
46
  starts disagreeing with itself.
24
47
 
48
+ - `.c-badge`
25
49
  - `.c-btn`
50
+ - `.c-cluster`
51
+ - `.c-docs-nav`
52
+ - `.c-field`
53
+ - `.c-filter-bar`
26
54
  - `.c-icon-badge`
55
+ - `.c-input`
56
+ - `.c-kbd`
27
57
  - `.c-link`
58
+ - `.c-map-area`
59
+ - `.c-map-slot`
28
60
  - `.c-plate`
29
61
  - `.c-pullquote`
30
62
  - `.c-section-head`
63
+ - `.c-stack`
31
64
  - `.c-stat`
65
+ - `.c-table`
66
+ - `.c-table-wrap`
32
67
 
33
68
  ---
34
69
 
35
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
70
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Playground
2
2
 
3
- Section `playground` — marker `20`, position 21 of 25 in the guide.
3
+ Section `playground` — marker `20`, position 21 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -8,11 +8,14 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Every decision in the system is a custom property. Change one and watch the component respond — this is the same mechanism a consumer would use to retheme. The playground writes into a .c-theme-scope, a subtree that re-derives the brand layer from its own knobs.
10
10
 
11
+ Equivalent contour-* elements are catalogued in §23.
12
+
11
13
  The playground writes directly to the scoped container. Nothing here is a special case — it is the same custom-property contract the tokens expose.
12
14
 
13
15
  ## Subsections
14
16
 
15
17
  - A component under test
18
+ - Web component counterpart
16
19
 
17
20
  ## Blocks documented here
18
21
 
@@ -35,4 +38,4 @@ starts disagreeing with itself.
35
38
 
36
39
  ---
37
40
 
38
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
41
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Six rules that break every tie.
2
2
 
3
- Section `principles` — marker `01`, position 2 of 25 in the guide.
3
+ Section `principles` — marker `01`, position 2 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -42,4 +42,4 @@ starts disagreeing with itself.
42
42
 
43
43
  ---
44
44
 
45
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
45
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Three shells, one system.
2
2
 
3
- Section `recipes` — marker `19`, position 20 of 25 in the guide.
3
+ Section `recipes` — marker `19`, position 20 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -8,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Contour covers landing pages, documentation sites and technical dashboards. The components are shared; the composition, density and type scale change. Below are all three, rendered live.
10
10
 
11
+ Equivalent contour-* elements are catalogued in §23.
12
+
11
13
  A page whose only job is to earn a click. Generous type, one primary action, and a hero that shows the product rather than describing it. The contour field runs full-bleed behind everything.
12
14
 
13
15
  Compute routes and isolines from OpenMapTiles entirely client-side. No routing server, no third-party API, no data leaving the device.
@@ -47,10 +49,11 @@ By route volume
47
49
  - Landing page
48
50
  - Documentation site
49
51
  - Technical dashboard
52
+ - Web component counterpart
50
53
 
51
54
  ## Blocks documented here
52
55
 
53
- 39 block(s). Their facts live in `../contour.components.json`;
56
+ 40 block(s). Their facts live in `../contour.components.json`;
54
57
  only the names are here, because the same figure in two files is how a document
55
58
  starts disagreeing with itself.
56
59
 
@@ -76,6 +79,7 @@ starts disagreeing with itself.
76
79
  - `.c-filter-pill`
77
80
  - `.c-icon-badge`
78
81
  - `.c-install`
82
+ - `.c-kbd`
79
83
  - `.c-kpi`
80
84
  - `.c-landing-features`
81
85
  - `.c-landing-hero`
@@ -103,4 +107,4 @@ part of the component contract and nothing in an installed package defines them:
103
107
 
104
108
  ---
105
109
 
106
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
110
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # A 4px base, and shapes that stay soft.
2
2
 
3
- Section `space` — marker `04`, position 5 of 25 in the guide.
3
+ Section `space` — marker `04`, position 5 of 26 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -35,4 +35,4 @@ starts disagreeing with itself.
35
35
 
36
36
  ---
37
37
 
38
- Source `index.html` @ `1fb85a5bccea15f2` · last committed 2026-11-01T12:28:24+01:00 · no URL: the project is private until v1.0.
38
+ Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.