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
@@ -6,23 +6,33 @@ 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 primary action per view. Everything else is secondary, ghost or a plain link. Buttons are pills because a rounded target reads as a target on a map.
9
+ One primary action per view. Everything else is secondary, outline, ghost, accent or danger — or a plain link. Buttons are pills because a rounded target reads as a target on a map.
10
10
 
11
- The same blocks as contour-* elements live in §23.
11
+ The same blocks as contour-* elements live in §22.
12
+
13
+ Pill targets in seven variants, three sizes, grouped and loading states. A press moves the control down 1 px.
14
+
15
+ The quietest action: a plain link with the system's arrow.
16
+
17
+ The same blocks as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
12
18
 
13
19
  ## Subsections
14
20
 
15
- - Web component counterpart
21
+ - Buttons
22
+ - Links
23
+ - Web components
16
24
 
17
25
  ## Blocks documented here
18
26
 
19
- 8 block(s). Their facts live in `../contour.components.json`;
27
+ 10 block(s). Their facts live in `../contour.components.json`;
20
28
  only the names are here, because the same figure in two files is how a document
21
29
  starts disagreeing with itself.
22
30
 
23
31
  - `.c-btn`
24
32
  - `.c-btn-group`
25
- - `.c-expandable`
33
+ - `.c-cluster`
34
+ - `.c-eyebrow`
35
+ - `.c-fab`
26
36
  - `.c-icon-badge`
27
37
  - `.c-kbd`
28
38
  - `.c-link`
@@ -31,4 +41,4 @@ starts disagreeing with itself.
31
41
 
32
42
  ---
33
43
 
34
- 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` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
@@ -1,4 +1,4 @@
1
- # Affordances, made visible.
1
+ # Affordances
2
2
 
3
3
  Section `affordances` — marker `18`, position 19 of 27 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
@@ -6,9 +6,9 @@ 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
- An element should look like what it does before anyone touches it. Each interactive class in the system carries a signifier — a shape, a handle, an arrow — that announces its behaviour. Nothing is implied by position alone, and nothing is left to be guessed at.
9
+ Affordances, made visible. An element should look like what it does before anyone touches it. Each interactive class in the system carries a signifier — a shape, a handle, an arrow — that announces its behaviour. Nothing is implied by position alone, and nothing is left to be guessed at. The cards below use .c-affordance, a specimen frame the system itself ships — the documented exception to the guide's frame vocabulary.
10
10
 
11
- Equivalent contour-* elements are catalogued in §23.
11
+ Equivalent contour-* elements are catalogued in §22.
12
12
 
13
13
  Button
14
14
 
@@ -58,132 +58,68 @@ Cursor
58
58
 
59
59
  Every clickable thing declares its cursor — pointer, grab, col-resize. The cheapest signifier there is.
60
60
 
61
- Hidden content revealed on toggle.
61
+ Press model, reserved space, destructive warning, clickable row and direction flip — signifiers with no other home.
62
62
 
63
63
  This action cannot be undone.
64
64
 
65
65
  RTL specimen — chevron flips to the inline-start side.
66
66
 
67
- The spatial dashboard skeleton: an app shell, a map area with floating panels, a footer for charts, and the containers that fill them.
67
+ 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.
68
68
 
69
- Grouping helpers: use .c-row for a non-wrapping horizontal line, .c-cluster when items may wrap, .c-stack for vertical rhythm, .c-btn-group / .c-btn-group--attached for button rows, .c-segmented for option sets, and .c-toolbar for icon toolbars. Components adopt these internally; prefer them over ad-hoc flex when composing.
69
+ The per-surface composition grammars — landing, documentation, dashboard — and the shared Density profiles panel are documented in Recipes, each beside its recipe.
70
70
 
71
- .c-row — horizontal flex, items centered
71
+ Hover or focus the panel to strengthen the grip. Reunite with the Resizable panels specimen — the handle is the affordance.
72
72
 
73
- .c-stack — vertical, gap scales with --space-md
74
-
75
- .c-cluster — wrapping, for tags and chips
76
-
77
- .c-box — padded container, size variants
78
-
79
- Default box (md padding)
80
-
81
- .c-map-slot — map chrome container
82
-
83
- .c-map-panel — floating panel over the map
84
-
85
- Top-right panel
86
-
87
- Bottom-left panel
88
-
89
- .c-map-footer — bottom bar for charts and tables
90
-
91
- Cell 1
92
-
93
- Cell 2
94
-
95
- Cell 3
96
-
97
- .c-container — fixed (fit content) + scrollable (fill space)
98
-
99
- Fixed container
100
-
101
- Fits its content, stays put.
102
-
103
- Scrollable container
104
-
105
- Fills remaining space
106
-
107
- And scrolls if needed
108
-
109
- More content here
110
-
111
- Even more content
112
-
113
- Main content area
114
-
115
- .c-app / .c-app-body — application shell
116
-
117
- Sidebar
118
-
119
- Main content area
73
+ The same blocks as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
120
74
 
121
75
  ## Subsections
122
76
 
123
- - Layout primitives
77
+ - State & direction
78
+ - Skip link
124
79
  - Tour
125
80
  - Resize observer
126
- - Style panel
127
- - Style switcher
128
- - Palette editor
129
81
  - Widget state
130
- - Web component counterpart
82
+ - Composition grammars
83
+ - Web components
131
84
 
132
85
  ## Blocks documented here
133
86
 
134
- 41 block(s). Their facts live in `../contour.components.json`;
87
+ 31 block(s). Their facts live in `../contour.components.json`;
135
88
  only the names are here, because the same figure in two files is how a document
136
89
  starts disagreeing with itself.
137
90
 
138
91
  - `.c-affordance`
139
92
  - `.c-affordances`
140
- - `.c-app`
141
- - `.c-app-body`
142
- - `.c-badge`
143
- - `.c-box`
144
93
  - `.c-btn`
94
+ - `.c-card`
145
95
  - `.c-cluster`
146
- - `.c-container`
147
96
  - `.c-destructive-hint`
148
97
  - `.c-disclosure`
149
98
  - `.c-drag-handle`
150
- - `.c-expandable`
99
+ - `.c-draggable`
100
+ - `.c-drop-indicator`
101
+ - `.c-drop-zone`
102
+ - `.c-eyebrow`
151
103
  - `.c-filter-pill`
152
104
  - `.c-icon-badge`
153
105
  - `.c-kbd`
154
106
  - `.c-linkish`
155
- - `.c-map-footer`
156
- - `.c-map-panel`
157
- - `.c-map-slot`
158
- - `.c-menu`
159
- - `.c-palette-editor`
160
107
  - `.c-panel`
161
108
  - `.c-pressable`
162
109
  - `.c-range`
163
110
  - `.c-reserved`
111
+ - `.c-resizable`
164
112
  - `.c-resize-handle`
165
113
  - `.c-resize-observer`
166
- - `.c-row`
167
114
  - `.c-row-action`
168
- - `.c-scrim`
169
115
  - `.c-section-head`
170
116
  - `.c-select`
171
- - `.c-sidebar`
117
+ - `.c-skip-link`
172
118
  - `.c-stack`
173
- - `.c-style-panel`
174
- - `.c-style-switcher`
175
119
  - `.c-switch`
176
- - `.c-tag`
177
120
  - `.c-tour`
178
121
  - `.c-widget-state`
179
122
 
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
123
  ---
188
124
 
189
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
125
+ 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
- # API reference.
1
+ # API reference
2
2
 
3
- Section `apireference` — marker `24`, position 25 of 27 in the guide.
3
+ Section `apireference` — marker `25`, position 26 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
 
@@ -8,7 +8,9 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Per-element reference generated from contour.components.json: host-set inputs, sheet-defaulted vars, variants, element count and token count.
10
10
 
11
- Per-element reference generated from contour.components.json: host-set inputs, sheet-defaulted vars, variants, element count and token count. Regenerate with node tools/gen-api-cards.mjs.
11
+ The elements themselves are catalogued in Web components; the blocks behind them in Component index.
12
+
13
+ Per-element reference generated from contour.components.json (inputs, vars, variants, element/token counts) joined with the emitted contour:* events from the web-component layer. Regenerate with node tools/gen-api-cards.mjs.
12
14
 
13
15
  ## Subsections
14
16
 
@@ -16,15 +18,17 @@ Per-element reference generated from contour.components.json: host-set inputs, s
16
18
 
17
19
  ## Blocks documented here
18
20
 
19
- 4 block(s). Their facts live in `../contour.components.json`;
21
+ 6 block(s). Their facts live in `../contour.components.json`;
20
22
  only the names are here, because the same figure in two files is how a document
21
23
  starts disagreeing with itself.
22
24
 
23
25
  - `.c-disclosure`
26
+ - `.c-eyebrow`
27
+ - `.c-icon-badge`
24
28
  - `.c-panel`
25
29
  - `.c-section-head`
26
30
  - `.c-stack`
27
31
 
28
32
  ---
29
33
 
30
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
34
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
@@ -1,4 +1,4 @@
1
- # Colour, in five families and a neutral ramp.
1
+ # Colour
2
2
 
3
3
  Section `colour` — marker `02`, position 3 of 27 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
@@ -6,7 +6,7 @@ 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
- Every value is defined in OKLCH so lightness steps read evenly. Neutrals are tinted toward the brand hue — never pure grey. Themes are semantic: swap the semantic layer and the primitives stay put.
9
+ Colour, in five families and a neutral ramp. Every value is defined in OKLCH so lightness steps read evenly. Neutrals are tinted toward the brand hue — never pure grey. Themes are semantic: swap the semantic layer and the primitives stay put.
10
10
 
11
11
  What a component asks for, not what a colour happens to be. The same role resolves differently in each theme.
12
12
 
@@ -18,6 +18,8 @@ For bearing, aspect and phase. Eight stops, equal lightness, hue carries the enc
18
18
 
19
19
  For hazard, density and continuous surfaces. Six stops, non-monotonic lightness — hot, not ordered.
20
20
 
21
+ For values with a real midpoint — anomalies, residuals, change. Two hues meet at a neutral mid; the sign is the hue, the magnitude is the distance from mid.
22
+
21
23
  ## Subsections
22
24
 
23
25
  - Semantic roles
@@ -25,20 +27,24 @@ For hazard, density and continuous surfaces. Six stops, non-monotonic lightness
25
27
  - Sequential scale
26
28
  - Cyclic scale
27
29
  - Heat scale
30
+ - Diverging scale
28
31
 
29
32
  ## Blocks documented here
30
33
 
31
- 6 block(s). Their facts live in `../contour.components.json`;
34
+ 9 block(s). Their facts live in `../contour.components.json`;
32
35
  only the names are here, because the same figure in two files is how a document
33
36
  starts disagreeing with itself.
34
37
 
35
38
  - `.c-badge`
36
39
  - `.c-btn`
40
+ - `.c-eyebrow`
37
41
  - `.c-icon-badge`
38
42
  - `.c-legend`
39
43
  - `.c-row`
40
44
  - `.c-section-head`
45
+ - `.c-stack`
46
+ - `.c-swatch`
41
47
 
42
48
  ---
43
49
 
44
- 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` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
@@ -1,4 +1,4 @@
1
- # Component index.
1
+ # Component index
2
2
 
3
3
  Section `componentindex` — marker `26`, position 27 of 27 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
@@ -6,34 +6,21 @@ 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
- Coverage specimens for shipped blocks not yet shown in a family section.
10
-
11
- Responsive content
12
-
13
- Sheet body content.
9
+ Every shipped block, grouped by the family section that documents it in context, with its selector and a jump to that section. A navigational index derived from contour.components.json — the specimens themselves live in their family sections and the web-component catalogue.
14
10
 
15
11
  ## Blocks documented here
16
12
 
17
- 15 block(s). Their facts live in `../contour.components.json`;
13
+ 6 block(s). Their facts live in `../contour.components.json`;
18
14
  only the names are here, because the same figure in two files is how a document
19
15
  starts disagreeing with itself.
20
16
 
21
- - `.c-avatar`
22
- - `.c-avatar-group`
23
- - `.c-banner`
24
- - `.c-btn`
25
- - `.c-calendar`
26
- - `.c-carousel`
27
- - `.c-divider`
28
- - `.c-fab`
29
- - `.c-pivot`
30
- - `.c-responsive-content`
17
+ - `.c-eyebrow`
18
+ - `.c-icon-badge`
19
+ - `.c-kbd`
31
20
  - `.c-section-head`
32
- - `.c-skeleton`
33
- - `.c-skeleton-group`
34
- - `.c-status-light`
35
- - `.c-swatch`
21
+ - `.c-table`
22
+ - `.c-table-wrap`
36
23
 
37
24
  ---
38
25
 
39
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
26
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
package/dist/docs/data.md CHANGED
@@ -8,25 +8,13 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Numbers are set in mono with tabular figures so columns align. Readouts use dotted rules instead of boxes, which keeps dense data calm — and no two series are ever separated by hue alone.
10
10
 
11
- Equivalent contour-* elements are catalogued in §23.
11
+ Equivalent contour-* elements are catalogued in §22.
12
12
 
13
- The friction cost of each surface, and where people end up walking anyway.
14
-
15
- Walking resistance
16
-
17
- Where people choose to walk
18
-
19
- Stable release
20
-
21
- Deterministic engine selection, GeoJSON export, MapLibre control.
22
-
23
- Isolines and catchment analysis
24
-
25
- IsoPHAST integrated, with inner pretty-breaks for context.
13
+ Direction is drawn as well as named — an arrow, a word, and a colour that agrees.
26
14
 
27
- Public beta
15
+ What just happened, newest first. The dot carries the severity; the time stays in mono so a column of them still scans.
28
16
 
29
- Tile parsing and graph construction moved fully client-side.
17
+ Show and hide the columns a dense table can spare. Each row is a real checkbox in a label, so it works by keyboard and with JavaScript off.
30
18
 
31
19
  Eight hues separate by hue, not by lightness — so a line also carries a dash pattern, and the legend previews that pattern. No chart asks the reader to tell two colours apart, and every series clears 3:1 against every surface it can be drawn on (canvas, canvas-sunken, surface-1/2/3, surface-raised), in both themes.
32
20
 
@@ -34,7 +22,13 @@ Bars for magnitude, one hue per series. The same plot, axis and tooltip vocabula
34
22
 
35
23
  2D density with isoline overlay — the signature motif as function. Marching squares over a real field, same algorithm as the generator. No other design system ships this.
36
24
 
37
- Add data-chart-export to a chart to get an SVG download button. Exports vector graphics for reports and presentations.
25
+ A threshold drawn over a plot: one line for an absolute value and one for a position. The consumer places it; the rule itself takes no pointer events.
26
+
27
+ The friction cost of each surface, and where people end up walking anyway.
28
+
29
+ Walking resistance
30
+
31
+ Where people choose to walk
38
32
 
39
33
  A panel always says where it stands. Empty is not an error, live is not idle, and the error state says what to do next.
40
34
 
@@ -50,55 +44,38 @@ Source unreachable
50
44
 
51
45
  Tile server did not answer.
52
46
 
53
- What just happened, newest first. The dot carries the severity; the time stays in mono so a column of them still scans.
47
+ Stable release
54
48
 
55
- Direction is drawn as well as named — an arrow, a word, and a colour that agrees.
49
+ Deterministic engine selection, GeoJSON export, MapLibre control.
50
+
51
+ Isolines and catchment analysis
52
+
53
+ IsoPHAST integrated, with inner pretty-breaks for context.
54
+
55
+ Public beta
56
+
57
+ Tile parsing and graph construction moved fully client-side.
56
58
 
57
- 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.
59
+ The KPI tile’s four async states. The light-DOM KPI tiles and readouts live in this section; the full element catalogue is in Web components.
58
60
 
59
- A migration aid: the names a consumer may already know, and the Contour class that replaces them.
61
+ The same blocks as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
60
62
 
61
63
  ## Subsections
62
64
 
63
- - Engine readout
64
- - Walking resistance
65
- - Engine comparison
66
- - Release timeline
67
- - Chart series
68
- - Bar chart
69
- - Contour plot
70
- - Chart export
71
- - Panel states
72
- - Activity
73
- - Deltas
74
- - How to add a component
75
- - Rename table (legacy → Contour)
76
- - Web component counterpart
77
- - Virtual list
78
- - Data table
79
- - Data grid
80
- - Tree grid
81
- - Annotation
82
- - Axis
83
- - Gauge
84
- - Donut
85
- - Category
86
- - Brush
87
- - Bivariate legend
88
- - Stacked bar
89
- - Time series
90
- - Brownout
91
- - Animation controls
92
- - Web component counterparts
65
+ - Readouts & KPIs
66
+ - Tables & grids
67
+ - Chart anatomy
68
+ - States
69
+ - Timeline
70
+ - Web components
93
71
 
94
72
  ## Blocks documented here
95
73
 
96
- 38 block(s). Their facts live in `../contour.components.json`;
74
+ 41 block(s). Their facts live in `../contour.components.json`;
97
75
  only the names are here, because the same figure in two files is how a document
98
76
  starts disagreeing with itself.
99
77
 
100
78
  - `.c-activity`
101
- - `.c-animation-controls`
102
79
  - `.c-annotation`
103
80
  - `.c-axis`
104
81
  - `.c-badge`
@@ -106,26 +83,30 @@ starts disagreeing with itself.
106
83
  - `.c-brownout`
107
84
  - `.c-brush`
108
85
  - `.c-btn`
109
- - `.c-catchment`
110
86
  - `.c-category`
111
87
  - `.c-chart`
88
+ - `.c-cluster`
89
+ - `.c-column-picker`
112
90
  - `.c-contour-plot`
91
+ - `.c-data-export`
113
92
  - `.c-data-grid`
114
93
  - `.c-data-table`
115
- - `.c-datamark`
116
94
  - `.c-delta`
117
95
  - `.c-donut`
118
- - `.c-flow-map`
96
+ - `.c-eyebrow`
119
97
  - `.c-gauge`
120
98
  - `.c-heatmap`
121
99
  - `.c-icon-badge`
122
- - `.c-isochrone`
123
100
  - `.c-kbd`
124
101
  - `.c-kpi`
125
102
  - `.c-legend`
126
103
  - `.c-panel`
104
+ - `.c-pivot`
127
105
  - `.c-readout`
106
+ - `.c-reference-rule`
107
+ - `.c-scroll-area`
128
108
  - `.c-section-head`
109
+ - `.c-segmented`
129
110
  - `.c-stacked-bar`
130
111
  - `.c-streaming-chart`
131
112
  - `.c-table`
@@ -138,4 +119,4 @@ starts disagreeing with itself.
138
119
 
139
120
  ---
140
121
 
141
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
122
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.
package/dist/docs/docs.md CHANGED
@@ -8,7 +8,7 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  The parts that make a manual usable: a callout that holds a rule, a list of steps that holds an order, a diff that holds a change, and a pager that holds the way out.
10
10
 
11
- Equivalent contour-* elements are catalogued in §23.
11
+ Equivalent contour-* elements are catalogued in §22.
12
12
 
13
13
  Five tones. Each carries an icon and a word, so the meaning survives a monochrome print and a reader who cannot tell red from green.
14
14
 
@@ -54,7 +54,7 @@ One snippet, three package managers. The choice is remembered per group, so a re
54
54
 
55
55
  A single command with a copy button — the most-used component on any documentation site.
56
56
 
57
- ESM only, 42 kB gzipped, no peer dependencies beyond MapLibre.
57
+ Demo content: the command installs a fictional routing package. Installing Contour itself is §24 Install.
58
58
 
59
59
  For changelogs and migration guides. The removed line and its replacement sit on adjacent rows, so the eye can compare them without counting.
60
60
 
@@ -66,31 +66,36 @@ 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
+ The same blocks as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
70
+
69
71
  ## Subsections
70
72
 
71
- - Web component counterpart
72
73
  - Callouts
73
74
  - Do / Don't
74
75
  - Steps
75
76
  - Code tabs
76
- - Install
77
+ - Install command
77
78
  - Diff
78
79
  - Versions
79
80
  - File tree
80
81
  - Pager
81
- - Web component counterpart
82
+ - Web components
82
83
 
83
84
  ## Blocks documented here
84
85
 
85
- 14 block(s). Their facts live in `../contour.components.json`;
86
+ 18 block(s). Their facts live in `../contour.components.json`;
86
87
  only the names are here, because the same figure in two files is how a document
87
88
  starts disagreeing with itself.
88
89
 
89
90
  - `.c-btn`
90
91
  - `.c-callout`
92
+ - `.c-changelog`
93
+ - `.c-cluster`
94
+ - `.c-code`
91
95
  - `.c-code-tabs`
92
96
  - `.c-diff`
93
97
  - `.c-do-dont`
98
+ - `.c-eyebrow`
94
99
  - `.c-file-tree`
95
100
  - `.c-icon-badge`
96
101
  - `.c-install`
@@ -103,4 +108,4 @@ starts disagreeing with itself.
103
108
 
104
109
  ---
105
110
 
106
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
111
+ 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,9 @@ private until v1.0). See `index.json` for the whole set and the shared statement
8
8
 
9
9
  Every state the interface can be in has a component: empty, loading, error, done. Each one teaches rather than decorates.
10
10
 
11
- Equivalent contour-* elements are catalogued in §23.
11
+ Equivalent contour-* elements are catalogued in §22.
12
+
13
+ Five variants, each with an icon, a shape and a word — never colour alone.
12
14
 
13
15
  Tile cache is empty
14
16
 
@@ -30,46 +32,62 @@ Exported
30
32
 
31
33
  catchment-15min.geojson is ready to open in QGIS.
32
34
 
35
+ The canonical copies of the interface's waiting states: loading, skeleton, empty. Each announces itself; the empty state offers a way forward.
36
+
37
+ Placeholder anatomy while content loads: a title bar and three text lines, the last short. The group gaps by the system's own token.
38
+
39
+ An empty state teaches and offers a way forward — a title, an explanation and an action, not a blank box.
40
+
33
41
  No waypoints yet
34
42
 
35
43
  Pick a start and an end on the map, then reveal the desire lines.
36
44
 
45
+ Determinate progress as a bar, and as the system's own elevation rings.
46
+
37
47
  Progress drawn as elevation rings rather than a bar — the system's own shape language applied to a data component.
38
48
 
49
+ Messages that arrive and stay: a toast, a notification center, and the boundary that catches a failure.
50
+
51
+ A transient message. The toast carries no role — the live region that announces it is the toast host in Overlays.
52
+
53
+ The same blocks as elements. Attributes are the canonical wire format; the full catalogue, with every element and its reactivity, is in Web components.
54
+
39
55
  ## Subsections
40
56
 
41
- - Web component counterpart
42
- - Loading
43
- - Empty state
44
- - Contour meter
45
- - Progress & toasts
46
- - Web component counterpart
47
- - Notification center
48
- - Error boundary
49
- - Web component counterpart
57
+ - Alerts
58
+ - Async states
59
+ - Progress and meter
60
+ - Toast and notifications
61
+ - Web components
50
62
 
51
63
  ## Blocks documented here
52
64
 
53
- 15 block(s). Their facts live in `../contour.components.json`;
65
+ 21 block(s). Their facts live in `../contour.components.json`;
54
66
  only the names are here, because the same figure in two files is how a document
55
67
  starts disagreeing with itself.
56
68
 
57
69
  - `.c-alert`
70
+ - `.c-banner`
58
71
  - `.c-btn`
72
+ - `.c-cluster`
59
73
  - `.c-dot`
60
74
  - `.c-empty`
61
75
  - `.c-error-boundary`
76
+ - `.c-eyebrow`
62
77
  - `.c-icon-badge`
63
78
  - `.c-kbd`
64
79
  - `.c-loading`
65
80
  - `.c-meter`
66
81
  - `.c-notification-center`
67
82
  - `.c-progress`
83
+ - `.c-pull-to-refresh`
68
84
  - `.c-section-head`
69
85
  - `.c-skeleton`
86
+ - `.c-skeleton-group`
70
87
  - `.c-spinner`
88
+ - `.c-stack`
71
89
  - `.c-toast`
72
90
 
73
91
  ---
74
92
 
75
- Source `index.html` @ `1beb0033376e73f1` · last committed 2026-11-08T12:25:18+01:00 · no URL: the project is private until v1.0.
93
+ Source `index.html` @ `e59a15ba0fa53c75` · last committed 2026-11-29T20:19:21+01:00 · no URL: the project is private until v1.0.