contour-ds 1.7.2 → 1.8.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.
Files changed (109) hide show
  1. package/README.md +80 -11
  2. package/dist/agent-rules.json +16 -0
  3. package/dist/build-manifest.json +181 -104
  4. package/dist/contour-wc-content.esm.js +5125 -0
  5. package/dist/contour-wc-content.esm.min.js +1 -0
  6. package/dist/contour-wc-dashboard.esm.js +8654 -0
  7. package/dist/contour-wc-dashboard.esm.min.js +1 -0
  8. package/dist/contour-wc-data.esm.js +8260 -0
  9. package/dist/contour-wc-data.esm.min.js +1 -0
  10. package/dist/contour-wc-docs.esm.js +4305 -0
  11. package/dist/contour-wc-docs.esm.min.js +1 -0
  12. package/dist/contour-wc-feedback.esm.js +4917 -0
  13. package/dist/contour-wc-feedback.esm.min.js +1 -0
  14. package/dist/contour-wc-forms.esm.js +5688 -0
  15. package/dist/contour-wc-forms.esm.min.js +1 -0
  16. package/dist/contour-wc-interaction.esm.js +4580 -0
  17. package/dist/contour-wc-interaction.esm.min.js +1 -0
  18. package/dist/contour-wc-layout.esm.js +4174 -0
  19. package/dist/contour-wc-layout.esm.min.js +1 -0
  20. package/dist/contour-wc-map.esm.js +5205 -0
  21. package/dist/contour-wc-map.esm.min.js +1 -0
  22. package/dist/contour-wc-misc.esm.js +4264 -0
  23. package/dist/contour-wc-misc.esm.min.js +1 -0
  24. package/dist/contour-wc-navigation.esm.js +5844 -0
  25. package/dist/contour-wc-navigation.esm.min.js +1 -0
  26. package/dist/contour-wc-ui.esm.js +9009 -0
  27. package/dist/contour-wc-ui.esm.min.js +1 -0
  28. package/dist/contour-wc.esm.js +6109 -1641
  29. package/dist/contour-wc.esm.min.js +1 -1
  30. package/dist/contour-wc.js +6108 -1641
  31. package/dist/contour-wc.min.js +1 -1
  32. package/dist/contour.code-snippets +4512 -0
  33. package/dist/contour.components.json +2597 -799
  34. package/dist/contour.css +5275 -4050
  35. package/dist/contour.d.ts +560 -1085
  36. package/dist/contour.esm.js +7 -0
  37. package/dist/contour.esm.min.js +1 -1
  38. package/dist/contour.html-data.json +10311 -0
  39. package/dist/contour.js +7 -0
  40. package/dist/contour.min.css +1 -1
  41. package/dist/contour.min.js +1 -1
  42. package/dist/contour.react.d.ts +420 -0
  43. package/dist/contour.single.html +17 -0
  44. package/dist/contour.single.min.css +1 -0
  45. package/dist/contour.tokens.json +940 -902
  46. package/dist/contour.vue.d.ts +418 -0
  47. package/dist/contour.web-types.json +10703 -0
  48. package/dist/custom-elements.json +30708 -0
  49. package/dist/docs/actions.md +3 -2
  50. package/dist/docs/affordances.md +23 -9
  51. package/dist/docs/apireference.md +1 -1
  52. package/dist/docs/colour.md +1 -1
  53. package/dist/docs/componentindex.md +6 -2
  54. package/dist/docs/data.md +7 -2
  55. package/dist/docs/docs.md +9 -2
  56. package/dist/docs/feedback.md +1 -1
  57. package/dist/docs/field.md +1 -1
  58. package/dist/docs/forms.md +1 -1
  59. package/dist/docs/index.json +22 -20
  60. package/dist/docs/install.md +1 -1
  61. package/dist/docs/landing.md +1 -1
  62. package/dist/docs/mapengine.md +19 -2
  63. package/dist/docs/motion.md +1 -1
  64. package/dist/docs/navigation.md +1 -1
  65. package/dist/docs/overlays.md +1 -1
  66. package/dist/docs/overview.md +1 -1
  67. package/dist/docs/patterns.md +2 -2
  68. package/dist/docs/playground.md +22 -2
  69. package/dist/docs/principles.md +1 -1
  70. package/dist/docs/recipes.md +13 -8
  71. package/dist/docs/space.md +1 -1
  72. package/dist/docs/status.md +14 -2
  73. package/dist/docs/surfaces.md +1 -1
  74. package/dist/docs/theming.md +1 -1
  75. package/dist/docs/type.md +1 -1
  76. package/dist/docs/webcomponents.md +17 -3
  77. package/dist/registry/items/contour-core.json +2 -2
  78. package/dist/registry/items/contour-data.json +2 -2
  79. package/dist/registry/items/contour-docs.json +2 -2
  80. package/dist/registry/items/contour-landing.json +2 -2
  81. package/dist/registry/registry.json +8 -8
  82. package/dist/surfaces/contour-core.min.css +1 -1
  83. package/dist/surfaces/contour-data.min.css +1 -1
  84. package/dist/surfaces/contour-docs.min.css +1 -1
  85. package/dist/surfaces/contour-landing.min.css +1 -1
  86. package/dist/wc/behaviours.mjs +45 -57
  87. package/dist/wc/content.mjs +263 -63
  88. package/dist/wc/core.mjs +390 -71
  89. package/dist/wc/dashboard.mjs +220 -13
  90. package/dist/wc/data.mjs +1075 -460
  91. package/dist/wc/docs.mjs +105 -12
  92. package/dist/wc/feedback.mjs +63 -14
  93. package/dist/wc/forms.mjs +733 -104
  94. package/dist/wc/index.mjs +9 -2
  95. package/dist/wc/interaction.mjs +182 -28
  96. package/dist/wc/layout.mjs +95 -25
  97. package/dist/wc/map.mjs +185 -118
  98. package/dist/wc/misc.mjs +124 -24
  99. package/dist/wc/navigation.mjs +384 -115
  100. package/dist/wc/shadow.mjs +94 -18
  101. package/dist/wc/states.mjs +21 -3
  102. package/dist/wc/svg.mjs +104 -0
  103. package/dist/wc/ui.mjs +1988 -476
  104. package/integrations/README.md +2 -0
  105. package/integrations/ai/CLAUDE.md +3 -3
  106. package/integrations/frameworks/README.md +235 -0
  107. package/integrations/native/style-dictionary.config.json +1 -1
  108. package/integrations/tailwind/contour-theme.css +5 -6
  109. package/package.json +53 -24
@@ -16,12 +16,13 @@ The same blocks as contour-* elements live in §23.
16
16
 
17
17
  ## Blocks documented here
18
18
 
19
- 8 block(s). Their facts live in `../contour.components.json`;
19
+ 9 block(s). Their facts live in `../contour.components.json`;
20
20
  only the names are here, because the same figure in two files is how a document
21
21
  starts disagreeing with itself.
22
22
 
23
23
  - `.c-btn`
24
24
  - `.c-btn-group`
25
+ - `.c-cluster`
25
26
  - `.c-expandable`
26
27
  - `.c-icon-badge`
27
28
  - `.c-kbd`
@@ -31,4 +32,4 @@ starts disagreeing with itself.
31
32
 
32
33
  ---
33
34
 
34
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
35
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -118,9 +118,23 @@ Sidebar
118
118
 
119
119
  Main content area
120
120
 
121
+ Two composition primitives for a dashboard shell. The grid lays its authored children out in a responsive set of columns; the stack is a vertical rhythm with a shared header. Both take their geometry from custom properties, so the consumer sets the column count and the gap rather than overriding the rule.
122
+
123
+ The first focusable element on the page. It is visually hidden until it takes focus, then slides into view at the top-left corner, so a keyboard user can jump past the navigation without a mouse. It is positioned against its containing block rather than the viewport, which is what keeps it inside a scrolling container.
124
+
125
+ A landing page is a persuasive argument. Its grammar prioritises storytelling, typography, large-scale composition, editorial rhythm, rich media, persuasive CTA and generous whitespace.
126
+
127
+ The landing shell composes these blocks in a narrative sequence:
128
+
129
+ Landing pages use the roomy density profile (--density-roomy: 1.28) with the display type scale for headings and generous section spacing.
130
+
131
+ Landing pages use the fluid display scale for headlines and the fixed UI scale for body text. The display scale responds to viewport width; the UI scale does not.
132
+
121
133
  ## Subsections
122
134
 
123
135
  - Layout primitives
136
+ - Dashboard grid and analysis stack
137
+ - Skip link
124
138
  - Tour
125
139
  - Resize observer
126
140
  - Style panel
@@ -128,15 +142,20 @@ Main content area
128
142
  - Palette editor
129
143
  - Widget state
130
144
  - Web component counterpart
145
+ - Landing page composition grammar
146
+ - Anatomy
147
+ - Density & rhythm
148
+ - Type scale
131
149
 
132
150
  ## Blocks documented here
133
151
 
134
- 41 block(s). Their facts live in `../contour.components.json`;
152
+ 44 block(s). Their facts live in `../contour.components.json`;
135
153
  only the names are here, because the same figure in two files is how a document
136
154
  starts disagreeing with itself.
137
155
 
138
156
  - `.c-affordance`
139
157
  - `.c-affordances`
158
+ - `.c-analysis-stack`
140
159
  - `.c-app`
141
160
  - `.c-app-body`
142
161
  - `.c-badge`
@@ -144,6 +163,7 @@ starts disagreeing with itself.
144
163
  - `.c-btn`
145
164
  - `.c-cluster`
146
165
  - `.c-container`
166
+ - `.c-dashboard-grid`
147
167
  - `.c-destructive-hint`
148
168
  - `.c-disclosure`
149
169
  - `.c-drag-handle`
@@ -169,6 +189,7 @@ starts disagreeing with itself.
169
189
  - `.c-section-head`
170
190
  - `.c-select`
171
191
  - `.c-sidebar`
192
+ - `.c-skip-link`
172
193
  - `.c-stack`
173
194
  - `.c-style-panel`
174
195
  - `.c-style-switcher`
@@ -177,13 +198,6 @@ starts disagreeing with itself.
177
198
  - `.c-tour`
178
199
  - `.c-widget-state`
179
200
 
180
- ### Defined by the guide, not the system
181
-
182
- These appear in the specimen markup and in no sheet under `src/css`, so they are not
183
- part of the component contract and nothing in an installed package defines them:
184
-
185
- - `.c-cursor-demo`
186
-
187
201
  ---
188
202
 
189
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
203
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -27,4 +27,4 @@ starts disagreeing with itself.
27
27
 
28
28
  ---
29
29
 
30
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
30
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -41,4 +41,4 @@ starts disagreeing with itself.
41
41
 
42
42
  ---
43
43
 
44
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
44
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -14,7 +14,7 @@ Sheet body content.
14
14
 
15
15
  ## Blocks documented here
16
16
 
17
- 15 block(s). Their facts live in `../contour.components.json`;
17
+ 19 block(s). Their facts live in `../contour.components.json`;
18
18
  only the names are here, because the same figure in two files is how a document
19
19
  starts disagreeing with itself.
20
20
 
@@ -24,16 +24,20 @@ starts disagreeing with itself.
24
24
  - `.c-btn`
25
25
  - `.c-calendar`
26
26
  - `.c-carousel`
27
+ - `.c-changelog`
28
+ - `.c-data-export`
27
29
  - `.c-divider`
28
30
  - `.c-fab`
29
31
  - `.c-pivot`
32
+ - `.c-pull-to-refresh`
30
33
  - `.c-responsive-content`
31
34
  - `.c-section-head`
32
35
  - `.c-skeleton`
33
36
  - `.c-skeleton-group`
37
+ - `.c-split-map`
34
38
  - `.c-status-light`
35
39
  - `.c-swatch`
36
40
 
37
41
  ---
38
42
 
39
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
43
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
package/dist/docs/data.md CHANGED
@@ -58,6 +58,10 @@ The contract a third party follows. A component is a CSS block in the right laye
58
58
 
59
59
  A migration aid: the names a consumer may already know, and the Contour class that replaces them.
60
60
 
61
+ Semantic table (.c-table + .c-table-wrap) is a native table element with sorting, selection, responsive column hiding, and density control. It is the default for tabular data that fits in the DOM.
62
+
63
+ Data grid (.c-data-grid + ) adds virtualization, cell keyboard navigation, column resizing, client-side filtering, and pagination. Use it when row counts exceed ~500 or when grid-style cell focus is required. The two contracts are separate: a semantic table does not virtualize; a data grid does not use native table semantics for its rows.
64
+
61
65
  ## Subsections
62
66
 
63
67
  - Engine readout
@@ -93,7 +97,7 @@ A migration aid: the names a consumer may already know, and the Contour class th
93
97
 
94
98
  ## Blocks documented here
95
99
 
96
- 38 block(s). Their facts live in `../contour.components.json`;
100
+ 39 block(s). Their facts live in `../contour.components.json`;
97
101
  only the names are here, because the same figure in two files is how a document
98
102
  starts disagreeing with itself.
99
103
 
@@ -109,6 +113,7 @@ starts disagreeing with itself.
109
113
  - `.c-catchment`
110
114
  - `.c-category`
111
115
  - `.c-chart`
116
+ - `.c-cluster`
112
117
  - `.c-contour-plot`
113
118
  - `.c-data-grid`
114
119
  - `.c-data-table`
@@ -138,4 +143,4 @@ starts disagreeing with itself.
138
143
 
139
144
  ---
140
145
 
141
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
146
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
package/dist/docs/docs.md CHANGED
@@ -66,6 +66,10 @@ Contour ships no syntax highlighter (zero runtime dependencies); highlighting is
66
66
 
67
67
  The way out of a long page, at the foot of it. Both links are real links, so they survive a right-click and a middle click.
68
68
 
69
+ numbered splits the source into .c-code__line rows, each carrying an aria-hidden .c-code__line-number. A screen reader reads the code and not the ruler, a drag leaves the numbers behind, and the copy action writes the code alone.
70
+
71
+ current takes a path or a bare hash; without it the component reads the document location. The matching link carries aria-current="page" and no other does, so a reader who cannot see the highlight still hears which page they are on.
72
+
69
73
  ## Subsections
70
74
 
71
75
  - Web component counterpart
@@ -79,15 +83,18 @@ The way out of a long page, at the foot of it. Both links are real links, so the
79
83
  - File tree
80
84
  - Pager
81
85
  - Web component counterpart
86
+ - Line numbers
87
+ - Route matching
82
88
 
83
89
  ## Blocks documented here
84
90
 
85
- 14 block(s). Their facts live in `../contour.components.json`;
91
+ 15 block(s). Their facts live in `../contour.components.json`;
86
92
  only the names are here, because the same figure in two files is how a document
87
93
  starts disagreeing with itself.
88
94
 
89
95
  - `.c-btn`
90
96
  - `.c-callout`
97
+ - `.c-code`
91
98
  - `.c-code-tabs`
92
99
  - `.c-diff`
93
100
  - `.c-do-dont`
@@ -103,4 +110,4 @@ starts disagreeing with itself.
103
110
 
104
111
  ---
105
112
 
106
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
113
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -72,4 +72,4 @@ starts disagreeing with itself.
72
72
 
73
73
  ---
74
74
 
75
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
75
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -62,4 +62,4 @@ starts disagreeing with itself.
62
62
 
63
63
  ---
64
64
 
65
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
65
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -69,4 +69,4 @@ starts disagreeing with itself.
69
69
 
70
70
  ---
71
71
 
72
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
72
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+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": "338d3c25b201b176",
5
+ "lastUpdated": "2026-11-19T21:00:59+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": 240,
13
+ "guideOnlyClasses": 0
14
14
  },
15
15
  "sections": [
16
16
  {
@@ -66,7 +66,7 @@
66
66
  "title": "Actions",
67
67
  "marker": "06",
68
68
  "file": "docs/actions.md",
69
- "blocks": 8,
69
+ "blocks": 9,
70
70
  "inRail": true
71
71
  },
72
72
  {
@@ -82,7 +82,7 @@
82
82
  "title": "Status & labels",
83
83
  "marker": "07",
84
84
  "file": "docs/status.md",
85
- "blocks": 16,
85
+ "blocks": 23,
86
86
  "inRail": true
87
87
  },
88
88
  {
@@ -122,7 +122,7 @@
122
122
  "title": "Data display",
123
123
  "marker": "13",
124
124
  "file": "docs/data.md",
125
- "blocks": 38,
125
+ "blocks": 39,
126
126
  "inRail": true
127
127
  },
128
128
  {
@@ -138,7 +138,7 @@
138
138
  "title": "Documentation",
139
139
  "marker": "15",
140
140
  "file": "docs/docs.md",
141
- "blocks": 14,
141
+ "blocks": 15,
142
142
  "inRail": true
143
143
  },
144
144
  {
@@ -162,7 +162,7 @@
162
162
  "title": "Affordances, made visible.",
163
163
  "marker": "18",
164
164
  "file": "docs/affordances.md",
165
- "blocks": 41,
165
+ "blocks": 44,
166
166
  "inRail": true
167
167
  },
168
168
  {
@@ -178,7 +178,7 @@
178
178
  "title": "Playground",
179
179
  "marker": "20",
180
180
  "file": "docs/playground.md",
181
- "blocks": 12,
181
+ "blocks": 15,
182
182
  "inRail": true
183
183
  },
184
184
  {
@@ -202,7 +202,7 @@
202
202
  "title": "Web components",
203
203
  "marker": "23",
204
204
  "file": "docs/webcomponents.md",
205
- "blocks": 22,
205
+ "blocks": 29,
206
206
  "inRail": true
207
207
  },
208
208
  {
@@ -218,7 +218,7 @@
218
218
  "title": "Map engine integration.",
219
219
  "marker": "25",
220
220
  "file": "docs/mapengine.md",
221
- "blocks": 5,
221
+ "blocks": 8,
222
222
  "inRail": true
223
223
  },
224
224
  {
@@ -226,18 +226,20 @@
226
226
  "title": "Component index.",
227
227
  "marker": "26",
228
228
  "file": "docs/componentindex.md",
229
- "blocks": 15,
229
+ "blocks": 19,
230
230
  "inRail": true
231
231
  }
232
232
  ],
233
233
  "coverage": {
234
- "contractBlocks": 225,
235
- "namedBySections": 221,
234
+ "contractBlocks": 246,
235
+ "namedBySections": 240,
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-icon",
242
+ "c-tabs-panel"
241
243
  ]
242
244
  },
243
245
  "contracts": {
@@ -246,7 +248,7 @@
246
248
  "components": "../contour.components.json"
247
249
  },
248
250
  "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` |"
251
+ "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 | 74 | 69 | 5 | `--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 | 17 | 13 | 4 | no documented prefix — fix the taxonomy |\n| **Total** | **310** | **299** | **11** | unique custom properties in `src/css/tokens.css` |"
250
252
  },
251
253
  "missingRail": []
252
254
  }
@@ -29,4 +29,4 @@ starts disagreeing with itself.
29
29
 
30
30
  ---
31
31
 
32
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
32
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -67,4 +67,4 @@ starts disagreeing with itself.
67
67
 
68
68
  ---
69
69
 
70
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
70
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -14,6 +14,20 @@ 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
+ 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.
18
+
19
+ 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.
20
+
21
+ 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.
22
+
23
+ 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().
24
+
25
+ Contract (R16-29): every chart and map component offers an opt-in accessible data table via data-table. The graphic remains the primary presentation (role="img"); the visually-hidden table carries the same data for screen readers and no-JS consumers.
26
+
27
+ 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.
28
+
29
+ Recipes (R16-32): import only the family you need. Each per-family bundle includes the shared core plus that family's components.
30
+
17
31
  ## Subsections
18
32
 
19
33
  - Map popup
@@ -21,7 +35,7 @@ Map-engine seam: Contour never imports a map library. Attach a live engine via e
21
35
 
22
36
  ## Blocks documented here
23
37
 
24
- 5 block(s). Their facts live in `../contour.components.json`;
38
+ 8 block(s). Their facts live in `../contour.components.json`;
25
39
  only the names are here, because the same figure in two files is how a document
26
40
  starts disagreeing with itself.
27
41
 
@@ -30,7 +44,10 @@ starts disagreeing with itself.
30
44
  - `.c-map-area`
31
45
  - `.c-map-popup`
32
46
  - `.c-section-head`
47
+ - `.c-split-pane`
48
+ - `.c-table`
49
+ - `.c-table-wrap`
33
50
 
34
51
  ---
35
52
 
36
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
53
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -47,4 +47,4 @@ starts disagreeing with itself.
47
47
 
48
48
  ---
49
49
 
50
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
50
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -57,4 +57,4 @@ starts disagreeing with itself.
57
57
 
58
58
  ---
59
59
 
60
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
60
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -80,4 +80,4 @@ starts disagreeing with itself.
80
80
 
81
81
  ---
82
82
 
83
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
83
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -18,4 +18,4 @@ starts disagreeing with itself.
18
18
 
19
19
  ---
20
20
 
21
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
21
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -22,7 +22,7 @@ Selecting a row highlights the corresponding map feature and vice versa.
22
22
 
23
23
  A time slider drives a chart; stale data is badged.
24
24
 
25
- A layer panel controls map-area slots.
25
+ A layer panel emits contour:layer-* events; the consumer's adapter applies them to the engine attached through the map-area seam. The panel never touches the engine itself.
26
26
 
27
27
  A docs shell with URL-synced section state.
28
28
 
@@ -67,4 +67,4 @@ starts disagreeing with itself.
67
67
 
68
68
  ---
69
69
 
70
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
70
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -12,14 +12,31 @@ Equivalent contour-* elements are catalogued in §23.
12
12
 
13
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.
14
14
 
15
+ An analytical dashboard is a workspace. Its grammar prioritises density, interpretation, cross-filtering, context preservation, comparison, rapid navigation, monitoring and freshness. The docked variant is .c-workspace-shell: header, sidebar, central stage, resize handle and inspector as one body grid. Below 64rem the body collapses to one column, the handle is removed and the inspector becomes a popover drawer opened by .c-workspace-shell__inspector-toggle. node tools/audit/workspace-shell.mjs measures both layouts.
16
+
17
+ The dashboard shell composes these 10 blocks into a spatial workspace:
18
+
19
+ Header, navigation, central stage, resize handle and docked inspector in one body grid. Below 64rem the body is one column, the handle is removed and the inspector becomes a drawer opened by its toggle.
20
+
21
+ Central stage
22
+
23
+ Dashboards use the compact density profile (--density-compact: 0.72) for maximum information density. Each component family consumes density independently.
24
+
25
+ Dashboard components synchronize through contour:* events. The host owns selection state; components emit intent and reflect host state.
26
+
15
27
  ## Subsections
16
28
 
17
29
  - A component under test
18
30
  - Web component counterpart
31
+ - Dashboard composition grammar
32
+ - Spatial workspace family
33
+ - Docked workspace shell
34
+ - Density & rhythm
35
+ - Cross-view interaction contract
19
36
 
20
37
  ## Blocks documented here
21
38
 
22
- 12 block(s). Their facts live in `../contour.components.json`;
39
+ 15 block(s). Their facts live in `../contour.components.json`;
23
40
  only the names are here, because the same figure in two files is how a document
24
41
  starts disagreeing with itself.
25
42
 
@@ -31,11 +48,14 @@ starts disagreeing with itself.
31
48
  - `.c-field`
32
49
  - `.c-icon-badge`
33
50
  - `.c-kbd`
51
+ - `.c-panel`
34
52
  - `.c-pill`
35
53
  - `.c-range`
54
+ - `.c-resize-handle`
36
55
  - `.c-section-head`
37
56
  - `.c-theme-scope`
57
+ - `.c-workspace-shell`
38
58
 
39
59
  ---
40
60
 
41
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
61
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -42,4 +42,4 @@ starts disagreeing with itself.
42
42
 
43
43
  ---
44
44
 
45
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
45
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -44,12 +44,24 @@ By route volume
44
44
 
45
45
  48 rows · sorted by latency
46
46
 
47
+ A documentation site is a reading instrument. Its grammar prioritises findability, reading comfort, technical precision, code discoverability and cross-referencing. Below 56rem the navigation column leaves the page: it carries popover, its controller is a popovertarget button (.c-docs-shell__nav-toggle), and the platform supplies Escape, light dismiss and focus return. node tools/audit/docs-behaviours.mjs asserts the drawer and the TOC scroll-spy in a real scrolling page.
48
+
49
+ The documentation shell composes these blocks in a fixed arrangement:
50
+
51
+ Documentation uses the roomy density profile (--density-roomy: 1.28) for generous line height and paragraph spacing. The type scale follows the display/UI split: headings use the fluid display scale, body text uses the fixed UI scale.
52
+
53
+ Every component reference in documentation must be a live link to its API reference entry.
54
+
47
55
  ## Subsections
48
56
 
49
57
  - Landing page
50
58
  - Documentation site
51
59
  - Technical dashboard
52
60
  - Web component counterpart
61
+ - Documentation composition grammar
62
+ - Anatomy
63
+ - Density & rhythm
64
+ - Cross-referencing contract
53
65
 
54
66
  ## Blocks documented here
55
67
 
@@ -98,13 +110,6 @@ starts disagreeing with itself.
98
110
  - `.c-threshold`
99
111
  - `.c-toc`
100
112
 
101
- ### Defined by the guide, not the system
102
-
103
- These appear in the specimen markup and in no sheet under `src/css`, so they are not
104
- part of the component contract and nothing in an installed package defines them:
105
-
106
- - `.c-cursor-demo`
107
-
108
113
  ---
109
114
 
110
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
115
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -35,4 +35,4 @@ starts disagreeing with itself.
35
35
 
36
36
  ---
37
37
 
38
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
38
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -10,6 +10,8 @@ Badges carry a category. Chips carry a value. Pills carry a state. The waypoint
10
10
 
11
11
  Equivalent contour-* elements are catalogued in §23.
12
12
 
13
+ 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.
14
+
13
15
  ## Subsections
14
16
 
15
17
  - Web component counterpart
@@ -17,24 +19,34 @@ Equivalent contour-* elements are catalogued in §23.
17
19
  - Skeleton
18
20
  - Loading
19
21
  - Web component counterparts
22
+ - Fieldset and checkbox group
23
+ - Search field and density toggle
24
+ - Query builder
20
25
 
21
26
  ## Blocks documented here
22
27
 
23
- 16 block(s). Their facts live in `../contour.components.json`;
28
+ 23 block(s). Their facts live in `../contour.components.json`;
24
29
  only the names are here, because the same figure in two files is how a document
25
30
  starts disagreeing with itself.
26
31
 
27
32
  - `.c-avatar`
28
33
  - `.c-badge`
29
34
  - `.c-btn`
35
+ - `.c-check`
36
+ - `.c-checkbox-group`
30
37
  - `.c-chip`
38
+ - `.c-density-toggle`
31
39
  - `.c-dot`
32
40
  - `.c-empty`
41
+ - `.c-fieldset`
33
42
  - `.c-icon-badge`
43
+ - `.c-input`
34
44
  - `.c-kbd`
35
45
  - `.c-live-badge`
36
46
  - `.c-loading`
37
47
  - `.c-pill`
48
+ - `.c-query-builder`
49
+ - `.c-search-field`
38
50
  - `.c-section-head`
39
51
  - `.c-skeleton`
40
52
  - `.c-skeleton-group`
@@ -43,4 +55,4 @@ starts disagreeing with itself.
43
55
 
44
56
  ---
45
57
 
46
- 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` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -69,4 +69,4 @@ starts disagreeing with itself.
69
69
 
70
70
  ---
71
71
 
72
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
72
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
@@ -68,4 +68,4 @@ starts disagreeing with itself.
68
68
 
69
69
  ---
70
70
 
71
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
71
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.
package/dist/docs/type.md CHANGED
@@ -28,4 +28,4 @@ starts disagreeing with itself.
28
28
 
29
29
  ---
30
30
 
31
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
31
+ Source `index.html` @ `338d3c25b201b176` · last committed 2026-11-19T21:00:59+01:00 · no URL: the project is private until v1.0.