contour-ds 1.7.2 → 1.9.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 (150) hide show
  1. package/README.md +244 -326
  2. package/dist/agent-cookbook.json +960 -0
  3. package/dist/agent-examples.json +65 -0
  4. package/dist/agent-map-wiring.json +152 -0
  5. package/dist/agent-rules.json +16 -0
  6. package/dist/build-manifest.json +344 -126
  7. package/dist/contour-wc-content.esm.js +1939 -0
  8. package/dist/contour-wc-content.esm.min.js +1 -0
  9. package/dist/contour-wc-core.esm.js +3724 -0
  10. package/dist/contour-wc-core.esm.min.js +1 -0
  11. package/dist/contour-wc-dashboard.esm.js +6986 -0
  12. package/dist/contour-wc-dashboard.esm.min.js +1 -0
  13. package/dist/contour-wc-data.esm.js +6572 -0
  14. package/dist/contour-wc-data.esm.min.js +1 -0
  15. package/dist/contour-wc-docs.esm.js +976 -0
  16. package/dist/contour-wc-docs.esm.min.js +1 -0
  17. package/dist/contour-wc-feedback.esm.js +1742 -0
  18. package/dist/contour-wc-feedback.esm.min.js +1 -0
  19. package/dist/contour-wc-forms.esm.js +2437 -0
  20. package/dist/contour-wc-forms.esm.min.js +1 -0
  21. package/dist/contour-wc-interaction.esm.js +1343 -0
  22. package/dist/contour-wc-interaction.esm.min.js +1 -0
  23. package/dist/contour-wc-layout.esm.js +845 -0
  24. package/dist/contour-wc-layout.esm.min.js +1 -0
  25. package/dist/contour-wc-map.esm.js +2411 -0
  26. package/dist/contour-wc-map.esm.min.js +1 -0
  27. package/dist/contour-wc-misc.esm.js +945 -0
  28. package/dist/contour-wc-misc.esm.min.js +1 -0
  29. package/dist/contour-wc-navigation.esm.js +2842 -0
  30. package/dist/contour-wc-navigation.esm.min.js +1 -0
  31. package/dist/contour-wc-ui.esm.js +6519 -0
  32. package/dist/contour-wc-ui.esm.min.js +1 -0
  33. package/dist/contour-wc.esm.js +14435 -5723
  34. package/dist/contour-wc.esm.min.js +1 -1
  35. package/dist/contour-wc.js +14436 -5725
  36. package/dist/contour-wc.min.js +1 -1
  37. package/dist/contour.a11y.json +402 -0
  38. package/dist/contour.code-snippets +4534 -0
  39. package/dist/contour.components.json +4870 -1222
  40. package/dist/contour.css +6672 -4711
  41. package/dist/contour.d.ts +753 -1085
  42. package/dist/contour.esm.js +440 -18
  43. package/dist/contour.esm.min.js +1 -1
  44. package/dist/contour.html-data.json +11343 -0
  45. package/dist/contour.js +440 -18
  46. package/dist/contour.min.css +1 -1
  47. package/dist/contour.min.js +1 -1
  48. package/dist/contour.react.d.ts +422 -0
  49. package/dist/contour.single.html +17 -0
  50. package/dist/contour.single.min.css +1 -0
  51. package/dist/contour.themes.json +56 -12
  52. package/dist/contour.tokens.json +1318 -1053
  53. package/dist/contour.vue.d.ts +420 -0
  54. package/dist/contour.web-types.json +11703 -0
  55. package/dist/custom-elements.json +36120 -0
  56. package/dist/docs/actions.md +16 -6
  57. package/dist/docs/affordances.md +21 -85
  58. package/dist/docs/apireference.md +9 -5
  59. package/dist/docs/colour.md +10 -4
  60. package/dist/docs/componentindex.md +9 -22
  61. package/dist/docs/data.md +39 -58
  62. package/dist/docs/docs.md +12 -7
  63. package/dist/docs/feedback.md +30 -12
  64. package/dist/docs/field.md +28 -13
  65. package/dist/docs/forms.md +35 -19
  66. package/dist/docs/index.json +70 -61
  67. package/dist/docs/install.md +12 -7
  68. package/dist/docs/landing.md +7 -4
  69. package/dist/docs/mapengine.md +30 -8
  70. package/dist/docs/motion.md +12 -6
  71. package/dist/docs/navigation.md +31 -7
  72. package/dist/docs/overlays.md +32 -25
  73. package/dist/docs/overview.md +3 -2
  74. package/dist/docs/patterns.md +20 -10
  75. package/dist/docs/playground.md +11 -4
  76. package/dist/docs/principles.md +8 -6
  77. package/dist/docs/recipes.md +117 -13
  78. package/dist/docs/space.md +10 -6
  79. package/dist/docs/status.md +13 -14
  80. package/dist/docs/surfaces.md +17 -22
  81. package/dist/docs/theming.md +18 -32
  82. package/dist/docs/type.md +12 -5
  83. package/dist/docs/webcomponents.md +75 -33
  84. package/dist/hljs.css +1 -20
  85. package/dist/map-chrome.mapbox.css +68 -92
  86. package/dist/map-chrome.maplibre.css +68 -92
  87. package/dist/registry/items/contour-core.json +2 -2
  88. package/dist/registry/items/contour-data.json +2 -2
  89. package/dist/registry/items/contour-docs.json +2 -2
  90. package/dist/registry/items/contour-landing.json +2 -2
  91. package/dist/registry/registry.json +8 -8
  92. package/dist/surfaces/contour-core.min.css +1 -1
  93. package/dist/surfaces/contour-data.min.css +1 -1
  94. package/dist/surfaces/contour-docs.min.css +1 -1
  95. package/dist/surfaces/contour-landing.min.css +1 -1
  96. package/dist/svg/icons.svg +367 -0
  97. package/dist/wc/behaviours.mjs +222 -192
  98. package/dist/wc/content.mjs +486 -142
  99. package/dist/wc/core.mjs +917 -395
  100. package/dist/wc/dashboard.mjs +252 -25
  101. package/dist/wc/data-chart.mjs +1333 -0
  102. package/dist/wc/data-export.mjs +391 -0
  103. package/dist/wc/data-gauge.mjs +779 -0
  104. package/dist/wc/data-geo.mjs +696 -0
  105. package/dist/wc/data-glyphs.mjs +133 -0
  106. package/dist/wc/data-legend.mjs +431 -0
  107. package/dist/wc/data-readout.mjs +227 -0
  108. package/dist/wc/data-series.mjs +1004 -0
  109. package/dist/wc/data-table.mjs +751 -0
  110. package/dist/wc/data.mjs +15 -3707
  111. package/dist/wc/docs.mjs +113 -19
  112. package/dist/wc/feedback.mjs +320 -116
  113. package/dist/wc/forms-controls.mjs +635 -0
  114. package/dist/wc/forms-field.mjs +547 -0
  115. package/dist/wc/forms-groups.mjs +347 -0
  116. package/dist/wc/forms-input.mjs +292 -0
  117. package/dist/wc/forms.mjs +10 -1122
  118. package/dist/wc/glyph.mjs +204 -0
  119. package/dist/wc/index.mjs +16 -7
  120. package/dist/wc/interaction.mjs +322 -75
  121. package/dist/wc/layout.mjs +100 -29
  122. package/dist/wc/map.mjs +888 -285
  123. package/dist/wc/misc.mjs +137 -26
  124. package/dist/wc/navigation-menu.mjs +735 -0
  125. package/dist/wc/navigation-shell.mjs +495 -0
  126. package/dist/wc/navigation-tree.mjs +995 -0
  127. package/dist/wc/navigation.mjs +9 -1636
  128. package/dist/wc/registration.mjs +1 -8
  129. package/dist/wc/shadow.mjs +285 -113
  130. package/dist/wc/states.mjs +75 -78
  131. package/dist/wc/svg.mjs +209 -34
  132. package/dist/wc/ui-atoms.mjs +608 -0
  133. package/dist/wc/ui-data.mjs +1404 -0
  134. package/dist/wc/ui-feedback.mjs +419 -0
  135. package/dist/wc/ui-inputs.mjs +1570 -0
  136. package/dist/wc/ui-menus.mjs +307 -0
  137. package/dist/wc/ui-overlays.mjs +1605 -0
  138. package/integrations/README.md +25 -5
  139. package/integrations/ai/CLAUDE.md +6 -3
  140. package/integrations/ai/COPILOT.md +14 -0
  141. package/integrations/ai/GEMINI.md +14 -0
  142. package/integrations/ai/WINDSURF.md +14 -0
  143. package/integrations/ai/v0-prompt.md +13 -1
  144. package/integrations/frameworks/README.md +235 -0
  145. package/integrations/native/README.md +0 -3
  146. package/integrations/native/style-dictionary.config.json +1 -1
  147. package/integrations/tailwind/contour-theme.css +71 -13
  148. package/integrations/validate-markup.mjs +172 -0
  149. package/package.json +103 -39
  150. package/dist/wc/ui.mjs +0 -3560
@@ -8,58 +8,73 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  The cartographic half of the system, rendered. These are the parts a routing or survey surface is built from — a mark is not a target, a number carries its provenance, and a map slot themes an engine the system does not ship.
10
10
 
11
- The same blocks as contour-* elements live in §23.
11
+ The same blocks as contour-* elements live in §22.
12
12
 
13
- The consumer owns this canvas; the system themes the chrome around it.
13
+ A live MapLibre map on MapLibre demo tiles. The consumer owns this canvas; the system themes the chrome around it.
14
14
 
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.
15
+ The compact key that floats over a canvas. Each row carries a shape and a word, so it reads in greyscale and under CVD without asking the reader to match two hues.
16
16
 
17
- Hidden — the block is not rendered.
17
+ The spatial marks moved here from Data display: flow, travel-time and service-area geometry, plus the four tokenised mark glyphs.
18
18
 
19
- Shown — same markup, wider profile.
19
+ The same blocks as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
20
20
 
21
21
  ## Subsections
22
22
 
23
- - Web component counterpart
24
- - Web component counterpart
23
+ - Map frame & chrome
24
+ - Legends & scales
25
+ - Marks & overlays
26
+ - Layer control
27
+ - Time
28
+ - Provenance
29
+ - Coordinate precision
30
+ - Web components
31
+ - Map area — contour-map-area
25
32
 
26
33
  ## Blocks documented here
27
34
 
28
- 30 block(s). Their facts live in `../contour.components.json`;
35
+ 38 block(s). Their facts live in `../contour.components.json`;
29
36
  only the names are here, because the same figure in two files is how a document
30
37
  starts disagreeing with itself.
31
38
 
32
- - `.c-advanced`
39
+ - `.c-basemap-switcher`
33
40
  - `.c-bivariate`
34
41
  - `.c-btn`
42
+ - `.c-catchment`
35
43
  - `.c-comparison`
36
44
  - `.c-compass`
45
+ - `.c-coordinate`
46
+ - `.c-datamark`
37
47
  - `.c-drag-handle`
38
- - `.c-flag`
48
+ - `.c-eyebrow`
49
+ - `.c-flow-map`
39
50
  - `.c-hexbin`
40
51
  - `.c-icon-badge`
41
52
  - `.c-instrument`
53
+ - `.c-isochrone`
42
54
  - `.c-kbd`
43
55
  - `.c-layer-panel`
44
56
  - `.c-layer-switch`
45
57
  - `.c-legend`
46
58
  - `.c-map-area`
47
59
  - `.c-map-footer`
60
+ - `.c-map-legend`
48
61
  - `.c-map-panel`
49
62
  - `.c-map-slot`
50
63
  - `.c-measure`
51
64
  - `.c-minimap`
52
- - `.c-radio`
53
- - `.c-radio-list`
65
+ - `.c-panel`
54
66
  - `.c-readout`
55
67
  - `.c-scale-bar`
56
68
  - `.c-section-head`
57
69
  - `.c-segmented`
70
+ - `.c-select`
71
+ - `.c-split-pane`
58
72
  - `.c-survey`
73
+ - `.c-swatch`
59
74
  - `.c-table`
60
75
  - `.c-table-wrap`
61
76
  - `.c-time-slider`
62
77
 
63
78
  ---
64
79
 
65
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
80
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
@@ -8,58 +8,74 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Controls sized for the hand and the keyboard. Every input has a visible label, a visible focus state and room for an error message that explains, not scolds. A select keeps its native option list: the platform draws that, so it follows the operating system's theme rather than the page's.
10
10
 
11
- Equivalent contour-* elements are catalogued in §23.
11
+ Equivalent contour-* elements are catalogued in §22.
12
+
13
+ Every control has a visible label, a visible focus state and room for an error message that explains rather than scolds.
14
+
15
+ One field block in its four working states: a labelled search with an input group and a hint, a native select, an invalid value with an error that explains, and a textarea.
16
+
17
+ A slider with a live output and a printed scale. The output is associated with aria-describedby, so the value is announced as it moves.
18
+
19
+ Controls that compose a field with a list, a calendar, a swatch or a drop target. Each keeps the native control underneath where the platform already ships one that works.
12
20
 
13
21
  Autocomplete input with keyboard navigation. Type to filter, arrow keys to navigate, Enter to select, Escape to close.
14
22
 
23
+ Controls whose value is a selection or a sequence rather than a string.
24
+
25
+ A list of field / operator / value rows. The rows are the whole component: there is no hidden state, and the serialised query is what the consumer reads back.
26
+
27
+ The same controls as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
28
+
15
29
  ## Subsections
16
30
 
17
- - Web component counterpart
18
- - Web component counterpart
31
+ - Fields and labels
32
+ - Composite inputs
19
33
  - Combobox
20
- - Form
21
- - Field group
22
- - Number field
23
- - Tags input
24
- - Time picker
25
- - Date picker
26
- - Date range
27
- - Color picker
28
- - File upload
29
- - Rating
30
- - Stepper
31
- - Sortable list
32
- - Split button
33
- - Web component counterparts
34
+ - Choice, order and actions
35
+ - Fieldset and checkbox group
36
+ - Search field and density toggle
37
+ - Query builder
38
+ - Web components
34
39
 
35
40
  ## Blocks documented here
36
41
 
37
- 28 block(s). Their facts live in `../contour.components.json`;
42
+ 39 block(s). Their facts live in `../contour.components.json`;
38
43
  only the names are here, because the same figure in two files is how a document
39
44
  starts disagreeing with itself.
40
45
 
41
46
  - `.c-btn`
47
+ - `.c-btn-group`
42
48
  - `.c-check`
49
+ - `.c-checkbox-group`
43
50
  - `.c-color-picker`
44
51
  - `.c-combobox`
45
52
  - `.c-date-picker`
46
53
  - `.c-date-range`
54
+ - `.c-density-toggle`
55
+ - `.c-eyebrow`
47
56
  - `.c-field`
48
57
  - `.c-field-group`
58
+ - `.c-fieldset`
49
59
  - `.c-file-upload`
50
60
  - `.c-form`
51
61
  - `.c-icon-badge`
52
62
  - `.c-input`
53
63
  - `.c-input-group`
54
64
  - `.c-kbd`
65
+ - `.c-menu`
55
66
  - `.c-number-field`
67
+ - `.c-query-builder`
68
+ - `.c-radio`
69
+ - `.c-radio-list`
56
70
  - `.c-range`
57
71
  - `.c-range-scale`
58
72
  - `.c-rating`
73
+ - `.c-search-field`
59
74
  - `.c-section-head`
60
75
  - `.c-select`
61
76
  - `.c-sortable-list`
62
77
  - `.c-split-button`
78
+ - `.c-stack`
63
79
  - `.c-stepper`
64
80
  - `.c-switch`
65
81
  - `.c-tag`
@@ -69,4 +85,4 @@ starts disagreeing with itself.
69
85
 
70
86
  ---
71
87
 
72
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
88
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "source": "index.html",
4
- "sourceSha256": "1beb0033376e73f1",
5
- "lastUpdated": "2026-11-08T12:25:18+01:00",
4
+ "sourceSha256": "e59a15ba0fa53c75",
5
+ "lastUpdated": "2026-11-29T20:19:21+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
9
  "sections": 27,
10
10
  "inRail": 27,
11
11
  "titled": 26,
12
- "blocksReferenced": 221,
13
- "guideOnlyClasses": 1
12
+ "blocksReferenced": 241,
13
+ "guideOnlyClasses": 0
14
14
  },
15
15
  "sections": [
16
16
  {
@@ -18,47 +18,47 @@
18
18
  "title": null,
19
19
  "marker": "00",
20
20
  "file": "docs/overview.md",
21
- "blocks": 1,
21
+ "blocks": 2,
22
22
  "inRail": true
23
23
  },
24
24
  {
25
25
  "id": "principles",
26
- "title": "Six rules that break every tie.",
26
+ "title": "Principles",
27
27
  "marker": "01",
28
28
  "file": "docs/principles.md",
29
- "blocks": 4,
29
+ "blocks": 6,
30
30
  "inRail": true
31
31
  },
32
32
  {
33
33
  "id": "colour",
34
- "title": "Colour, in five families and a neutral ramp.",
34
+ "title": "Colour",
35
35
  "marker": "02",
36
36
  "file": "docs/colour.md",
37
- "blocks": 6,
37
+ "blocks": 9,
38
38
  "inRail": true
39
39
  },
40
40
  {
41
41
  "id": "type",
42
- "title": "Two families, one superfamily.",
42
+ "title": "Typography",
43
43
  "marker": "03",
44
44
  "file": "docs/type.md",
45
- "blocks": 3,
45
+ "blocks": 4,
46
46
  "inRail": true
47
47
  },
48
48
  {
49
49
  "id": "space",
50
- "title": "A 4px base, and shapes that stay soft.",
50
+ "title": "Space & shape",
51
51
  "marker": "04",
52
52
  "file": "docs/space.md",
53
- "blocks": 8,
53
+ "blocks": 9,
54
54
  "inRail": true
55
55
  },
56
56
  {
57
57
  "id": "motion",
58
- "title": "Motion that decelerates, never bounces.",
58
+ "title": "Motion",
59
59
  "marker": "05",
60
60
  "file": "docs/motion.md",
61
- "blocks": 13,
61
+ "blocks": 16,
62
62
  "inRail": true
63
63
  },
64
64
  {
@@ -66,7 +66,7 @@
66
66
  "title": "Actions",
67
67
  "marker": "06",
68
68
  "file": "docs/actions.md",
69
- "blocks": 8,
69
+ "blocks": 10,
70
70
  "inRail": true
71
71
  },
72
72
  {
@@ -74,15 +74,15 @@
74
74
  "title": "Forms",
75
75
  "marker": "07",
76
76
  "file": "docs/forms.md",
77
- "blocks": 28,
77
+ "blocks": 39,
78
78
  "inRail": true
79
79
  },
80
80
  {
81
81
  "id": "status",
82
82
  "title": "Status & labels",
83
- "marker": "07",
83
+ "marker": "08",
84
84
  "file": "docs/status.md",
85
- "blocks": 16,
85
+ "blocks": 17,
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": 19,
93
+ "blocks": 14,
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": 22,
101
+ "blocks": 26,
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": 15,
109
+ "blocks": 21,
110
110
  "inRail": true
111
111
  },
112
112
  {
113
113
  "id": "overlays",
114
114
  "title": "Overlays",
115
- "marker": "11",
115
+ "marker": "12",
116
116
  "file": "docs/overlays.md",
117
- "blocks": 28,
117
+ "blocks": 26,
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": 38,
125
+ "blocks": 41,
126
126
  "inRail": true
127
127
  },
128
128
  {
@@ -130,7 +130,7 @@
130
130
  "title": "Field",
131
131
  "marker": "14",
132
132
  "file": "docs/field.md",
133
- "blocks": 30,
133
+ "blocks": 38,
134
134
  "inRail": true
135
135
  },
136
136
  {
@@ -138,7 +138,7 @@
138
138
  "title": "Documentation",
139
139
  "marker": "15",
140
140
  "file": "docs/docs.md",
141
- "blocks": 14,
141
+ "blocks": 18,
142
142
  "inRail": true
143
143
  },
144
144
  {
@@ -146,7 +146,7 @@
146
146
  "title": "Landing",
147
147
  "marker": "16",
148
148
  "file": "docs/landing.md",
149
- "blocks": 15,
149
+ "blocks": 16,
150
150
  "inRail": true
151
151
  },
152
152
  {
@@ -154,23 +154,23 @@
154
154
  "title": "Patterns",
155
155
  "marker": "17",
156
156
  "file": "docs/patterns.md",
157
- "blocks": 19,
157
+ "blocks": 21,
158
158
  "inRail": true
159
159
  },
160
160
  {
161
161
  "id": "affordances",
162
- "title": "Affordances, made visible.",
162
+ "title": "Affordances",
163
163
  "marker": "18",
164
164
  "file": "docs/affordances.md",
165
- "blocks": 41,
165
+ "blocks": 31,
166
166
  "inRail": true
167
167
  },
168
168
  {
169
169
  "id": "recipes",
170
- "title": "Three shells, one system.",
170
+ "title": "Recipes",
171
171
  "marker": "19",
172
172
  "file": "docs/recipes.md",
173
- "blocks": 40,
173
+ "blocks": 57,
174
174
  "inRail": true
175
175
  },
176
176
  {
@@ -178,66 +178,75 @@
178
178
  "title": "Playground",
179
179
  "marker": "20",
180
180
  "file": "docs/playground.md",
181
- "blocks": 12,
181
+ "blocks": 13,
182
182
  "inRail": true
183
183
  },
184
184
  {
185
185
  "id": "theming",
186
- "title": "Two themes, one cascade.",
186
+ "title": "Theming",
187
187
  "marker": "21",
188
188
  "file": "docs/theming.md",
189
- "blocks": 10,
189
+ "blocks": 12,
190
190
  "inRail": true
191
191
  },
192
192
  {
193
- "id": "install",
194
- "title": "Install",
193
+ "id": "webcomponents",
194
+ "title": "Web components",
195
195
  "marker": "22",
196
- "file": "docs/install.md",
197
- "blocks": 6,
196
+ "file": "docs/webcomponents.md",
197
+ "blocks": 27,
198
198
  "inRail": true
199
199
  },
200
200
  {
201
- "id": "webcomponents",
202
- "title": "Web components",
201
+ "id": "mapengine",
202
+ "title": "Map engine",
203
203
  "marker": "23",
204
- "file": "docs/webcomponents.md",
205
- "blocks": 22,
204
+ "file": "docs/mapengine.md",
205
+ "blocks": 10,
206
206
  "inRail": true
207
207
  },
208
208
  {
209
- "id": "apireference",
210
- "title": "API reference.",
209
+ "id": "install",
210
+ "title": "Install",
211
211
  "marker": "24",
212
- "file": "docs/apireference.md",
213
- "blocks": 4,
212
+ "file": "docs/install.md",
213
+ "blocks": 7,
214
214
  "inRail": true
215
215
  },
216
216
  {
217
- "id": "mapengine",
218
- "title": "Map engine integration.",
217
+ "id": "apireference",
218
+ "title": "API reference",
219
219
  "marker": "25",
220
- "file": "docs/mapengine.md",
221
- "blocks": 5,
220
+ "file": "docs/apireference.md",
221
+ "blocks": 6,
222
222
  "inRail": true
223
223
  },
224
224
  {
225
225
  "id": "componentindex",
226
- "title": "Component index.",
226
+ "title": "Component index",
227
227
  "marker": "26",
228
228
  "file": "docs/componentindex.md",
229
- "blocks": 15,
229
+ "blocks": 6,
230
230
  "inRail": true
231
231
  }
232
232
  ],
233
233
  "coverage": {
234
- "contractBlocks": 225,
235
- "namedBySections": 221,
234
+ "contractBlocks": 254,
235
+ "namedBySections": 241,
236
236
  "notNamedByAnySection": [
237
- "c-changelog",
238
- "c-data-export",
239
- "c-pull-to-refresh",
240
- "c-split-map"
237
+ "c-code-tabs-panel",
238
+ "c-combobox-list",
239
+ "c-combobox-option",
240
+ "c-command-list",
241
+ "c-donut-glyph",
242
+ "c-icon",
243
+ "c-purity-ring",
244
+ "c-shortcut-list",
245
+ "c-shortcut-overlay",
246
+ "c-shortcut-panel",
247
+ "c-shortcut-row",
248
+ "c-sparkline-glyph",
249
+ "c-tabs-panel"
241
250
  ]
242
251
  },
243
252
  "contracts": {
@@ -246,7 +255,7 @@
246
255
  "components": "../contour.components.json"
247
256
  },
248
257
  "tables": {
249
- "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 | 7 | 7 | — | `--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** | **301** | **298** | **3** | unique custom properties in `src/css/tokens.css` |"
258
+ "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 | 75 | 70 | 5 | `--color-…` — text, surface, border, primary; every one `light-dark()` |\n| Chart | 52 | 52 | — | 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 | 14 | 14 | — | durations and easings |\n| Z-index | 7 | 7 | — | `--z-raised` … `--z-tooltip` |\n| Density | 6 | 6 | — | row height, cell padding, label size |\n| Focus | 1 | 1 | — | the focus ring perimeter |\n| Miscellaneous | 18 | 15 | 3 | no documented prefix — fix the taxonomy |\n| **Total** | **317** | **309** | **8** | unique custom properties in `src/css/tokens.css` |"
250
259
  },
251
260
  "missingRail": []
252
261
  }
@@ -1,32 +1,37 @@
1
1
  # Install
2
2
 
3
- Section `install` — marker `22`, position 23 of 27 in the guide.
3
+ Section `install` — marker `24`, position 25 of 27 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
 
7
7
  ## What the guide says
8
8
 
9
- One entry point, no runtime. Install from npm for the bundled dist/ deliverables, or link src/css/ds.css straight off a disk.
9
+ One entry point, no runtime. From a checkout, link src/css/ds.css straight off a disk. The npm package (contour-ds) ships the bundled dist/ deliverables at v1.0 — until then the registry and package are private, so treat the npm paths below as the published shape, not a live instruction.
10
10
 
11
- Equivalent contour-* elements are catalogued in §23.
12
-
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.
11
+ Equivalent contour-* elements are catalogued in §22.
14
12
 
15
13
  Slotted content in the shadow root.
16
14
 
15
+ The contract a third party follows. A component is a CSS block in the right layer, a specimen in the guide, and a snippet the tool extracts.
16
+
17
+ ## Subsections
18
+
19
+ - How to add a component
20
+
17
21
  ## Blocks documented here
18
22
 
19
- 6 block(s). Their facts live in `../contour.components.json`;
23
+ 7 block(s). Their facts live in `../contour.components.json`;
20
24
  only the names are here, because the same figure in two files is how a document
21
25
  starts disagreeing with itself.
22
26
 
23
27
  - `.c-badge`
24
28
  - `.c-btn`
25
29
  - `.c-code`
30
+ - `.c-eyebrow`
26
31
  - `.c-icon-badge`
27
32
  - `.c-kbd`
28
33
  - `.c-section-head`
29
34
 
30
35
  ---
31
36
 
32
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
37
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
@@ -8,7 +8,7 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  The persuasive set. These read as an argument rather than an instrument, so the surfaces breathe and the type is set looser than anywhere else in the system.
10
10
 
11
- The same blocks as contour-* elements live in §23.
11
+ The same blocks as contour-* elements live in §22.
12
12
 
13
13
  A quiet row of names. Monochrome until the pointer arrives.
14
14
 
@@ -30,6 +30,8 @@ Native disclosure elements, so the answer is in the page before anyone clicks.
30
30
 
31
31
  One package, one tile source, and the same engine you can read line by line.
32
32
 
33
+ The same blocks as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
34
+
33
35
  ## Subsections
34
36
 
35
37
  - Logo wall
@@ -41,17 +43,18 @@ One package, one tile source, and the same engine you can read line by line.
41
43
  - Feature comparison
42
44
  - FAQ
43
45
  - Start routing this afternoon.
44
- - Web component counterpart
46
+ - Web components
45
47
 
46
48
  ## Blocks documented here
47
49
 
48
- 15 block(s). Their facts live in `../contour.components.json`;
50
+ 16 block(s). Their facts live in `../contour.components.json`;
49
51
  only the names are here, because the same figure in two files is how a document
50
52
  starts disagreeing with itself.
51
53
 
52
54
  - `.c-btn`
53
55
  - `.c-compare`
54
56
  - `.c-cta`
57
+ - `.c-eyebrow`
55
58
  - `.c-faq`
56
59
  - `.c-icon-badge`
57
60
  - `.c-kbd`
@@ -67,4 +70,4 @@ starts disagreeing with itself.
67
70
 
68
71
  ---
69
72
 
70
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
73
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
- # Map engine integration.
1
+ # Map engine
2
2
 
3
- Section `mapengine` — marker `25`, position 26 of 27 in the guide.
3
+ Section `mapengine` — marker `23`, position 24 of 27 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
 
@@ -10,27 +10,49 @@ Contour ships the interface and deliberately stays out of the map engine's turf.
10
10
 
11
11
  The seam is duck-typed and event-driven: a consumer attaches a live engine instance to a Contour component, reads viewport bounds back through a neutral accessor, and forwards Contour's bubbling events to the engine's own API. No engine symbol leaks into the system, and a page can drop the engine without touching Contour.
12
12
 
13
- The consumer owns this canvas; the system themes the chrome around it.
13
+ Contract (R16-25): data components announce filter changes via contour:filter-change (bubbling, composed) with { source, filter } detail. A global contour:clear-all resets every filterable component to its default state. Contour owns the event contract; libreship owns the state store and re-applies filters by setting attributes.
14
14
 
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.
15
+ Contract (R16-26): a table row carries its identity in data-row (JSON row data) and emits contour:zoom with { row, index, data } on click. A map consumer listens for contour:zoom and zooms to the corresponding feature. Contour stays engine-agnostic: it announces the row and data, never touches the map canvas.
16
+
17
+ Contract (R16-27): time-series components expose playback state (current-time, is-playing, speeds) and emit contour:step-change / contour:step-activate on navigation. libreship drives playback by setting attributes; Contour announces state changes.
18
+
19
+ Contract (R16-28): the layer panel owns layer visibility, order, and styling; the map adapter (Contour's contour-map-area) owns the engine bridge. The panel never touches the engine directly — it emits contour:layer-* events, and the consumer's adapter applies them to the live engine instance attached via attachMap().
20
+
21
+ Contract (R16-29): contour-chart and contour-legend offer an opt-in accessible data table via data-table; the visually-hidden table carries the same data for screen readers and no-JS consumers. The chart host is role="group" with per-mark roles, not a single role="img". The map components (isochrone, flow-map, minimap, contour-plot) do not render a data table.
22
+
23
+ Contract (R16-30): a resizable split pane between map and data panels uses contour-resizable on the divider. It emits contour:resize with the new split ratio so both panels can reflow. Consumers wire the resize to their map's resize() and their table's virtual scroll.
24
+
25
+ Five import quickstarts, one per family bundle.
26
+
27
+ Import only the family you need: each per-family bundle includes the shared core plus that family's components.
28
+
29
+ The same blocks as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
16
30
 
17
31
  ## Subsections
18
32
 
33
+ - Map area
34
+ - Mounting a live engine
19
35
  - Map popup
20
- - Web component counterpart
36
+ - Wiring recipes
37
+ - Web components
21
38
 
22
39
  ## Blocks documented here
23
40
 
24
- 5 block(s). Their facts live in `../contour.components.json`;
41
+ 10 block(s). Their facts live in `../contour.components.json`;
25
42
  only the names are here, because the same figure in two files is how a document
26
43
  starts disagreeing with itself.
27
44
 
28
45
  - `.c-btn`
46
+ - `.c-cluster`
47
+ - `.c-eyebrow`
29
48
  - `.c-icon-badge`
30
- - `.c-map-area`
31
49
  - `.c-map-popup`
50
+ - `.c-resize-handle`
32
51
  - `.c-section-head`
52
+ - `.c-split-map`
53
+ - `.c-table`
54
+ - `.c-table-wrap`
33
55
 
34
56
  ---
35
57
 
36
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
58
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.