contour-ds 1.1.2 → 1.7.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.
- package/README.md +30 -2
- package/dist/agent-rules.json +5 -1
- package/dist/build-manifest.json +94 -93
- package/dist/contour-wc.esm.js +4443 -534
- package/dist/contour-wc.esm.min.js +1 -1
- package/dist/contour-wc.js +4441 -528
- package/dist/contour-wc.min.js +1 -1
- package/dist/contour.components.json +4054 -171
- package/dist/contour.css +1325 -565
- package/dist/contour.d.ts +119 -62
- package/dist/contour.esm.js +23 -0
- package/dist/contour.esm.min.js +1 -1
- package/dist/contour.js +23 -0
- package/dist/contour.min.css +1 -1
- package/dist/contour.min.js +1 -1
- package/dist/contour.tokens.json +47 -2
- package/dist/docs/actions.md +6 -2
- package/dist/docs/affordances.md +19 -3
- package/dist/docs/apireference.md +30 -0
- package/dist/docs/colour.md +2 -2
- package/dist/docs/componentindex.md +39 -0
- package/dist/docs/data.md +38 -3
- package/dist/docs/docs.md +6 -2
- package/dist/docs/feedback.md +13 -3
- package/dist/docs/field.md +7 -2
- package/dist/docs/forms.md +35 -3
- package/dist/docs/index.json +44 -75
- package/dist/docs/install.md +4 -2
- package/dist/docs/landing.md +3 -2
- package/dist/docs/mapengine.md +9 -3
- package/dist/docs/motion.md +5 -2
- package/dist/docs/navigation.md +10 -3
- package/dist/docs/overlays.md +26 -3
- package/dist/docs/overview.md +2 -2
- package/dist/docs/patterns.md +38 -3
- package/dist/docs/playground.md +5 -2
- package/dist/docs/principles.md +2 -2
- package/dist/docs/recipes.md +7 -3
- package/dist/docs/space.md +2 -2
- package/dist/docs/status.md +19 -3
- package/dist/docs/surfaces.md +7 -3
- package/dist/docs/theming.md +5 -2
- package/dist/docs/type.md +2 -2
- package/dist/docs/webcomponents.md +26 -7
- package/dist/map-chrome.mapbox.css +4 -4
- package/dist/map-chrome.maplibre.css +4 -4
- package/dist/registry/items/contour-core.json +2 -2
- package/dist/registry/items/contour-data.json +2 -2
- package/dist/registry/items/contour-docs.json +2 -2
- package/dist/registry/items/contour-landing.json +2 -2
- package/dist/registry/registry.json +8 -8
- package/dist/surfaces/contour-core.min.css +1 -1
- package/dist/surfaces/contour-data.min.css +1 -1
- package/dist/surfaces/contour-docs.min.css +1 -1
- package/dist/surfaces/contour-landing.min.css +1 -1
- package/dist/wc/behaviours.mjs +69 -11
- package/dist/wc/content.mjs +163 -8
- package/dist/wc/core.mjs +177 -36
- package/dist/wc/dashboard.mjs +69 -4
- package/dist/wc/data.mjs +933 -128
- package/dist/wc/docs.mjs +118 -0
- package/dist/wc/feedback.mjs +75 -13
- package/dist/wc/forms.mjs +371 -34
- package/dist/wc/index.mjs +31 -3
- package/dist/wc/interaction.mjs +11 -6
- package/dist/wc/map.mjs +142 -38
- package/dist/wc/misc.mjs +29 -1
- package/dist/wc/navigation.mjs +424 -75
- package/dist/wc/registration.mjs +8 -4
- package/dist/wc/shadow.mjs +29 -12
- package/dist/wc/states.mjs +15 -0
- package/dist/wc/svg.mjs +10 -0
- package/dist/wc/ui.mjs +1767 -129
- package/package.json +39 -6
package/dist/docs/feedback.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Feedback
|
|
2
2
|
|
|
3
|
-
Section `feedback` — marker `11`, position 12 of
|
|
3
|
+
Section `feedback` — marker `11`, position 12 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,6 +8,8 @@ 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.
|
|
12
|
+
|
|
11
13
|
Tile cache is empty
|
|
12
14
|
|
|
13
15
|
The first route will fetch and parse every tile in range.
|
|
@@ -36,14 +38,19 @@ Progress drawn as elevation rings rather than a bar — the system's own shape l
|
|
|
36
38
|
|
|
37
39
|
## Subsections
|
|
38
40
|
|
|
41
|
+
- Web component counterpart
|
|
39
42
|
- Loading
|
|
40
43
|
- Empty state
|
|
41
44
|
- Contour meter
|
|
42
45
|
- Progress & toasts
|
|
46
|
+
- Web component counterpart
|
|
47
|
+
- Notification center
|
|
48
|
+
- Error boundary
|
|
49
|
+
- Web component counterpart
|
|
43
50
|
|
|
44
51
|
## Blocks documented here
|
|
45
52
|
|
|
46
|
-
|
|
53
|
+
15 block(s). Their facts live in `../contour.components.json`;
|
|
47
54
|
only the names are here, because the same figure in two files is how a document
|
|
48
55
|
starts disagreeing with itself.
|
|
49
56
|
|
|
@@ -51,9 +58,12 @@ starts disagreeing with itself.
|
|
|
51
58
|
- `.c-btn`
|
|
52
59
|
- `.c-dot`
|
|
53
60
|
- `.c-empty`
|
|
61
|
+
- `.c-error-boundary`
|
|
54
62
|
- `.c-icon-badge`
|
|
63
|
+
- `.c-kbd`
|
|
55
64
|
- `.c-loading`
|
|
56
65
|
- `.c-meter`
|
|
66
|
+
- `.c-notification-center`
|
|
57
67
|
- `.c-progress`
|
|
58
68
|
- `.c-section-head`
|
|
59
69
|
- `.c-skeleton`
|
|
@@ -62,4 +72,4 @@ starts disagreeing with itself.
|
|
|
62
72
|
|
|
63
73
|
---
|
|
64
74
|
|
|
65
|
-
Source `index.html` @ `
|
|
75
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/field.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Field
|
|
2
2
|
|
|
3
|
-
Section `field` — marker `14`, position 15 of
|
|
3
|
+
Section `field` — marker `14`, position 15 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
|
|
|
@@ -18,6 +18,11 @@ Hidden — the block is not rendered.
|
|
|
18
18
|
|
|
19
19
|
Shown — same markup, wider profile.
|
|
20
20
|
|
|
21
|
+
## Subsections
|
|
22
|
+
|
|
23
|
+
- Web component counterpart
|
|
24
|
+
- Web component counterpart
|
|
25
|
+
|
|
21
26
|
## Blocks documented here
|
|
22
27
|
|
|
23
28
|
30 block(s). Their facts live in `../contour.components.json`;
|
|
@@ -57,4 +62,4 @@ starts disagreeing with itself.
|
|
|
57
62
|
|
|
58
63
|
---
|
|
59
64
|
|
|
60
|
-
Source `index.html` @ `
|
|
65
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/forms.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Forms
|
|
2
2
|
|
|
3
|
-
Section `forms` — marker `07`, position 8 of
|
|
3
|
+
Section `forms` — marker `07`, position 8 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,33 +8,65 @@ 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.
|
|
12
|
+
|
|
11
13
|
Autocomplete input with keyboard navigation. Type to filter, arrow keys to navigate, Enter to select, Escape to close.
|
|
12
14
|
|
|
13
15
|
## Subsections
|
|
14
16
|
|
|
17
|
+
- Web component counterpart
|
|
18
|
+
- Web component counterpart
|
|
15
19
|
- 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
|
|
16
34
|
|
|
17
35
|
## Blocks documented here
|
|
18
36
|
|
|
19
|
-
|
|
37
|
+
28 block(s). Their facts live in `../contour.components.json`;
|
|
20
38
|
only the names are here, because the same figure in two files is how a document
|
|
21
39
|
starts disagreeing with itself.
|
|
22
40
|
|
|
23
41
|
- `.c-btn`
|
|
24
42
|
- `.c-check`
|
|
43
|
+
- `.c-color-picker`
|
|
25
44
|
- `.c-combobox`
|
|
45
|
+
- `.c-date-picker`
|
|
46
|
+
- `.c-date-range`
|
|
26
47
|
- `.c-field`
|
|
48
|
+
- `.c-field-group`
|
|
49
|
+
- `.c-file-upload`
|
|
50
|
+
- `.c-form`
|
|
27
51
|
- `.c-icon-badge`
|
|
28
52
|
- `.c-input`
|
|
29
53
|
- `.c-input-group`
|
|
30
54
|
- `.c-kbd`
|
|
55
|
+
- `.c-number-field`
|
|
31
56
|
- `.c-range`
|
|
32
57
|
- `.c-range-scale`
|
|
58
|
+
- `.c-rating`
|
|
33
59
|
- `.c-section-head`
|
|
34
60
|
- `.c-select`
|
|
61
|
+
- `.c-sortable-list`
|
|
62
|
+
- `.c-split-button`
|
|
63
|
+
- `.c-stepper`
|
|
35
64
|
- `.c-switch`
|
|
65
|
+
- `.c-tag`
|
|
66
|
+
- `.c-tags-input`
|
|
36
67
|
- `.c-textarea`
|
|
68
|
+
- `.c-time-picker`
|
|
37
69
|
|
|
38
70
|
---
|
|
39
71
|
|
|
40
|
-
Source `index.html` @ `
|
|
72
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/index.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0",
|
|
3
3
|
"source": "index.html",
|
|
4
|
-
"sourceSha256": "
|
|
5
|
-
"lastUpdated": "2026-11-
|
|
4
|
+
"sourceSha256": "10d181ea8e0eb659",
|
|
5
|
+
"lastUpdated": "2026-11-04T18:12:14+01:00",
|
|
6
6
|
"generatedBy": "tools/build.mjs, from index.html",
|
|
7
7
|
"statement": "Machine-readable copy of the style guide's prose, generated and never hand-edited. Sections are listed in guide order; titles, prose and counts are quoted or counted, not authored. Prose is verbatim: a paragraph here is the guide's own sentence, never a sentence this generator wrote. Contains no URL: the project is private until v1.0.",
|
|
8
8
|
"counts": {
|
|
9
|
-
"sections":
|
|
10
|
-
"inRail":
|
|
11
|
-
"titled":
|
|
12
|
-
"blocksReferenced":
|
|
9
|
+
"sections": 27,
|
|
10
|
+
"inRail": 27,
|
|
11
|
+
"titled": 26,
|
|
12
|
+
"blocksReferenced": 221,
|
|
13
13
|
"guideOnlyClasses": 1
|
|
14
14
|
},
|
|
15
15
|
"sections": [
|
|
@@ -74,15 +74,15 @@
|
|
|
74
74
|
"title": "Forms",
|
|
75
75
|
"marker": "07",
|
|
76
76
|
"file": "docs/forms.md",
|
|
77
|
-
"blocks":
|
|
77
|
+
"blocks": 28,
|
|
78
78
|
"inRail": true
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"id": "status",
|
|
82
82
|
"title": "Status & labels",
|
|
83
|
-
"marker": "
|
|
83
|
+
"marker": "07",
|
|
84
84
|
"file": "docs/status.md",
|
|
85
|
-
"blocks":
|
|
85
|
+
"blocks": 16,
|
|
86
86
|
"inRail": true
|
|
87
87
|
},
|
|
88
88
|
{
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"title": "Surfaces",
|
|
91
91
|
"marker": "09",
|
|
92
92
|
"file": "docs/surfaces.md",
|
|
93
|
-
"blocks":
|
|
93
|
+
"blocks": 19,
|
|
94
94
|
"inRail": true
|
|
95
95
|
},
|
|
96
96
|
{
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"title": "Navigation",
|
|
99
99
|
"marker": "10",
|
|
100
100
|
"file": "docs/navigation.md",
|
|
101
|
-
"blocks":
|
|
101
|
+
"blocks": 22,
|
|
102
102
|
"inRail": true
|
|
103
103
|
},
|
|
104
104
|
{
|
|
@@ -106,15 +106,15 @@
|
|
|
106
106
|
"title": "Feedback",
|
|
107
107
|
"marker": "11",
|
|
108
108
|
"file": "docs/feedback.md",
|
|
109
|
-
"blocks":
|
|
109
|
+
"blocks": 15,
|
|
110
110
|
"inRail": true
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"id": "overlays",
|
|
114
114
|
"title": "Overlays",
|
|
115
|
-
"marker": "
|
|
115
|
+
"marker": "11",
|
|
116
116
|
"file": "docs/overlays.md",
|
|
117
|
-
"blocks":
|
|
117
|
+
"blocks": 28,
|
|
118
118
|
"inRail": true
|
|
119
119
|
},
|
|
120
120
|
{
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"title": "Data display",
|
|
123
123
|
"marker": "13",
|
|
124
124
|
"file": "docs/data.md",
|
|
125
|
-
"blocks":
|
|
125
|
+
"blocks": 38,
|
|
126
126
|
"inRail": true
|
|
127
127
|
},
|
|
128
128
|
{
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"title": "Patterns",
|
|
155
155
|
"marker": "17",
|
|
156
156
|
"file": "docs/patterns.md",
|
|
157
|
-
"blocks":
|
|
157
|
+
"blocks": 19,
|
|
158
158
|
"inRail": true
|
|
159
159
|
},
|
|
160
160
|
{
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"title": "Affordances, made visible.",
|
|
163
163
|
"marker": "18",
|
|
164
164
|
"file": "docs/affordances.md",
|
|
165
|
-
"blocks":
|
|
165
|
+
"blocks": 41,
|
|
166
166
|
"inRail": true
|
|
167
167
|
},
|
|
168
168
|
{
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"title": "Three shells, one system.",
|
|
171
171
|
"marker": "19",
|
|
172
172
|
"file": "docs/recipes.md",
|
|
173
|
-
"blocks":
|
|
173
|
+
"blocks": 40,
|
|
174
174
|
"inRail": true
|
|
175
175
|
},
|
|
176
176
|
{
|
|
@@ -202,73 +202,42 @@
|
|
|
202
202
|
"title": "Web components",
|
|
203
203
|
"marker": "23",
|
|
204
204
|
"file": "docs/webcomponents.md",
|
|
205
|
-
"blocks":
|
|
205
|
+
"blocks": 22,
|
|
206
|
+
"inRail": true
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "apireference",
|
|
210
|
+
"title": "API reference.",
|
|
211
|
+
"marker": "24",
|
|
212
|
+
"file": "docs/apireference.md",
|
|
213
|
+
"blocks": 4,
|
|
206
214
|
"inRail": true
|
|
207
215
|
},
|
|
208
216
|
{
|
|
209
217
|
"id": "mapengine",
|
|
210
218
|
"title": "Map engine integration.",
|
|
211
|
-
"marker": "
|
|
219
|
+
"marker": "25",
|
|
212
220
|
"file": "docs/mapengine.md",
|
|
213
|
-
"blocks":
|
|
221
|
+
"blocks": 5,
|
|
222
|
+
"inRail": true
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "componentindex",
|
|
226
|
+
"title": "Component index.",
|
|
227
|
+
"marker": "26",
|
|
228
|
+
"file": "docs/componentindex.md",
|
|
229
|
+
"blocks": 15,
|
|
214
230
|
"inRail": true
|
|
215
231
|
}
|
|
216
232
|
],
|
|
217
233
|
"coverage": {
|
|
218
|
-
"contractBlocks":
|
|
219
|
-
"namedBySections":
|
|
234
|
+
"contractBlocks": 225,
|
|
235
|
+
"namedBySections": 221,
|
|
220
236
|
"notNamedByAnySection": [
|
|
221
|
-
"c-
|
|
222
|
-
"c-
|
|
223
|
-
"c-
|
|
224
|
-
"c-
|
|
225
|
-
"c-badge-overflow",
|
|
226
|
-
"c-banner",
|
|
227
|
-
"c-bivariate-legend",
|
|
228
|
-
"c-brownout",
|
|
229
|
-
"c-brush",
|
|
230
|
-
"c-calendar",
|
|
231
|
-
"c-carousel",
|
|
232
|
-
"c-category",
|
|
233
|
-
"c-color-picker",
|
|
234
|
-
"c-command-palette",
|
|
235
|
-
"c-context-menu",
|
|
236
|
-
"c-data-grid",
|
|
237
|
-
"c-date-picker",
|
|
238
|
-
"c-date-range",
|
|
239
|
-
"c-divider",
|
|
240
|
-
"c-donut",
|
|
241
|
-
"c-dropdown",
|
|
242
|
-
"c-fab",
|
|
243
|
-
"c-file-upload",
|
|
244
|
-
"c-gauge",
|
|
245
|
-
"c-hover-card",
|
|
246
|
-
"c-map-popup",
|
|
247
|
-
"c-notification-center",
|
|
248
|
-
"c-number-field",
|
|
249
|
-
"c-palette-editor",
|
|
250
|
-
"c-pivot",
|
|
251
|
-
"c-popover",
|
|
252
|
-
"c-rating",
|
|
253
|
-
"c-responsive-content",
|
|
254
|
-
"c-shortcut",
|
|
255
|
-
"c-side-sheet",
|
|
256
|
-
"c-skeleton-group",
|
|
257
|
-
"c-sortable-list",
|
|
258
|
-
"c-split-button",
|
|
259
|
-
"c-stacked-bar",
|
|
260
|
-
"c-status-light",
|
|
261
|
-
"c-stepper",
|
|
262
|
-
"c-style-panel",
|
|
263
|
-
"c-style-switcher",
|
|
264
|
-
"c-swatch",
|
|
265
|
-
"c-tags-input",
|
|
266
|
-
"c-time-picker",
|
|
267
|
-
"c-time-series",
|
|
268
|
-
"c-tour",
|
|
269
|
-
"c-tree-grid",
|
|
270
|
-
"c-virtual-list",
|
|
271
|
-
"c-widget-state"
|
|
237
|
+
"c-changelog",
|
|
238
|
+
"c-data-export",
|
|
239
|
+
"c-pull-to-refresh",
|
|
240
|
+
"c-split-map"
|
|
272
241
|
]
|
|
273
242
|
},
|
|
274
243
|
"contracts": {
|
|
@@ -277,7 +246,7 @@
|
|
|
277
246
|
"components": "../contour.components.json"
|
|
278
247
|
},
|
|
279
248
|
"tables": {
|
|
280
|
-
"taxonomy-table": "| Group | Count | Read | Unread | Covers |\n|---|---|---|---|---|\n| Colour ramps | 53 | 53 | — | `--basalt-…`, `--tidal-…`, `--lumen-…`, `--plasma-…`, `--sol-…`, `--clay-…` |\n| Brand ramp | 8 | 8 | — | `--brand-hue` and the ramp derived from it |\n| Semantic colours | 69 | 69 | — | `--color-…` — text, surface, border, primary; every one `light-dark()` |\n| Chart | 45 | 45 | — | categorical, sequential, diverging, dash patterns, chart chrome |\n| Fill patterns | 6 | 6 | — | `--fill-hatch-…`, `--fill-dot` — the shape branch of a filled mark |\n| Gradients | 4 | 4 | — | canvas, plate, heat, rule |\n| Typography | 31 | 31 | — | families, sizes, weights, leading, tracking, measures |\n| Space and layout | 22 | 22 | — | the 4 px scale, containers, gutter, header height, target sizes |\n| Shape | 20 | 20 | — | radii, borders, hairline, shadows, elevation |\n| Motion |
|
|
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` |"
|
|
281
250
|
},
|
|
282
251
|
"missingRail": []
|
|
283
252
|
}
|
package/dist/docs/install.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Install
|
|
2
2
|
|
|
3
|
-
Section `install` — marker `22`, position 23 of
|
|
3
|
+
Section `install` — marker `22`, position 23 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,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
|
|
|
8
8
|
|
|
9
9
|
One entry point, no runtime. Install from npm for the bundled dist/ deliverables, or link src/css/ds.css straight off a disk.
|
|
10
10
|
|
|
11
|
+
Equivalent contour-* elements are catalogued in §23.
|
|
12
|
+
|
|
11
13
|
Optional progressive enhancement. Load contour-wc.js after ds.css to use contour-btn, contour-card, and 320+ other custom elements that generate their scaffolding from attributes. Light-DOM elements (contour-*) use the cascade directly; shadow-DOM elements (contour-shadow-*) ship slots and adopted stylesheets for encapsulation. Interactive blocks (tabs, combobox, tree, menu, segmented, dialog, tag, filter-pill, install, code, pagination) wire their own keyboard behaviour and dispatch contour:* CustomEvents (contour:select, contour:change, contour:remove, contour:copy, contour:page, contour:close, contour:theme-change), so they work standalone. Modifier attributes (variant, size, color) apply to both layers from one list, and attribute changes re-render without losing authored content.
|
|
12
14
|
|
|
13
15
|
Slotted content in the shadow root.
|
|
@@ -27,4 +29,4 @@ starts disagreeing with itself.
|
|
|
27
29
|
|
|
28
30
|
---
|
|
29
31
|
|
|
30
|
-
Source `index.html` @ `
|
|
32
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/landing.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Landing
|
|
2
2
|
|
|
3
|
-
Section `landing` — marker `16`, position 17 of
|
|
3
|
+
Section `landing` — marker `16`, position 17 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
|
|
|
@@ -41,6 +41,7 @@ One package, one tile source, and the same engine you can read line by line.
|
|
|
41
41
|
- Feature comparison
|
|
42
42
|
- FAQ
|
|
43
43
|
- Start routing this afternoon.
|
|
44
|
+
- Web component counterpart
|
|
44
45
|
|
|
45
46
|
## Blocks documented here
|
|
46
47
|
|
|
@@ -66,4 +67,4 @@ starts disagreeing with itself.
|
|
|
66
67
|
|
|
67
68
|
---
|
|
68
69
|
|
|
69
|
-
Source `index.html` @ `
|
|
70
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/mapengine.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Map engine integration.
|
|
2
2
|
|
|
3
|
-
Section `mapengine` — marker `
|
|
3
|
+
Section `mapengine` — 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
|
|
|
@@ -14,17 +14,23 @@ The consumer owns this canvas; the system themes the chrome around it.
|
|
|
14
14
|
|
|
15
15
|
Map-engine seam: Contour never imports a map library. Attach a live engine via el.attachMap(map) (or set el.map = map); read viewport bounds via el.getViewport(). Events (contour:map-control, contour:map-attach, contour:map-detach) are composed and bubble through shadow hosts. See templates/map.html for a working MapLibre example.
|
|
16
16
|
|
|
17
|
+
## Subsections
|
|
18
|
+
|
|
19
|
+
- Map popup
|
|
20
|
+
- Web component counterpart
|
|
21
|
+
|
|
17
22
|
## Blocks documented here
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
5 block(s). Their facts live in `../contour.components.json`;
|
|
20
25
|
only the names are here, because the same figure in two files is how a document
|
|
21
26
|
starts disagreeing with itself.
|
|
22
27
|
|
|
23
28
|
- `.c-btn`
|
|
24
29
|
- `.c-icon-badge`
|
|
25
30
|
- `.c-map-area`
|
|
31
|
+
- `.c-map-popup`
|
|
26
32
|
- `.c-section-head`
|
|
27
33
|
|
|
28
34
|
---
|
|
29
35
|
|
|
30
|
-
Source `index.html` @ `
|
|
36
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/motion.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Motion that decelerates, never bounces.
|
|
2
2
|
|
|
3
|
-
Section `motion` — marker `05`, position 6 of
|
|
3
|
+
Section `motion` — marker `05`, position 6 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,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
|
|
|
8
8
|
|
|
9
9
|
Exponential easing for entrances, tight linear curves for continuous motion, and a hard stop for anything the user did not ask for. Every animation respects prefers-reduced-motion.
|
|
10
10
|
|
|
11
|
+
Equivalent contour-* elements are catalogued in §23.
|
|
12
|
+
|
|
11
13
|
prefers-reduced-motion is an operating-system setting, so it is not the mechanism WCAG 2.2.2 asks for: a reader cannot reach it for one part of one page, and most have never opened it. [data-motion] is the page's own switch. paused holds every animation in its scope on the frame it is on — a spinner stays mid-rotation and still means working. running overrides the media query; leaving the attribute unset gives the choice back to the system.
|
|
12
14
|
|
|
13
15
|
The same attribute is the seam for content that updates on a timer: when a live region stops being live, the producer that polls it should set data-motion="paused" too, because 2.2.2 covers auto-updating information, not only motion.
|
|
@@ -21,6 +23,7 @@ Entrances, reveals and anything that moves the eye across a gap.
|
|
|
21
23
|
## Subsections
|
|
22
24
|
|
|
23
25
|
- Motion a reader can stop
|
|
26
|
+
- Web component counterpart
|
|
24
27
|
|
|
25
28
|
## Blocks documented here
|
|
26
29
|
|
|
@@ -44,4 +47,4 @@ starts disagreeing with itself.
|
|
|
44
47
|
|
|
45
48
|
---
|
|
46
49
|
|
|
47
|
-
Source `index.html` @ `
|
|
50
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/navigation.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Navigation
|
|
2
2
|
|
|
3
|
-
Section `navigation` — marker `10`, position 11 of
|
|
3
|
+
Section `navigation` — marker `10`, position 11 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,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
|
|
|
8
8
|
|
|
9
9
|
Tabs for peer views, segmented controls for exclusive choices, a toolbar for map-level actions. Each one announces its state to assistive technology.
|
|
10
10
|
|
|
11
|
+
Equivalent contour-* elements are catalogued in §23.
|
|
12
|
+
|
|
11
13
|
The bar that holds the brand, the section links and the actions. It sticks to the top of the page; below 48 rem the links move into a drawer.
|
|
12
14
|
|
|
13
15
|
Handles high-degree road networks with predictable memory use.
|
|
@@ -20,9 +22,13 @@ The headings of the page being read, with the current one marked. The guide's ow
|
|
|
20
22
|
|
|
21
23
|
On this page
|
|
22
24
|
|
|
25
|
+
## Subsections
|
|
26
|
+
|
|
27
|
+
- Web component counterpart
|
|
28
|
+
|
|
23
29
|
## Blocks documented here
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
22 block(s). Their facts live in `../contour.components.json`;
|
|
26
32
|
only the names are here, because the same figure in two files is how a document
|
|
27
33
|
starts disagreeing with itself.
|
|
28
34
|
|
|
@@ -35,6 +41,7 @@ starts disagreeing with itself.
|
|
|
35
41
|
- `.c-disclosure`
|
|
36
42
|
- `.c-header`
|
|
37
43
|
- `.c-icon-badge`
|
|
44
|
+
- `.c-kbd`
|
|
38
45
|
- `.c-mark`
|
|
39
46
|
- `.c-menu`
|
|
40
47
|
- `.c-pagination`
|
|
@@ -50,4 +57,4 @@ starts disagreeing with itself.
|
|
|
50
57
|
|
|
51
58
|
---
|
|
52
59
|
|
|
53
|
-
Source `index.html` @ `
|
|
60
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/overlays.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Overlays
|
|
2
2
|
|
|
3
|
-
Section `overlays` — marker `
|
|
3
|
+
Section `overlays` — marker `11`, position 13 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,6 +8,8 @@ private until v1.0). See `index.json` for the whole set and the shared statement
|
|
|
8
8
|
|
|
9
9
|
Dialogs for decisions that need focus, a command palette for the whole system, a drawer for drill-down, and tooltips that appear on interest rather than on click.
|
|
10
10
|
|
|
11
|
+
Equivalent contour-* elements are catalogued in §23.
|
|
12
|
+
|
|
11
13
|
Hover or focus the panel to strengthen the grip.
|
|
12
14
|
|
|
13
15
|
Content behind the scrim.
|
|
@@ -30,31 +32,52 @@ Modal dialog, hint tooltip, command palette and the toast live region. These shi
|
|
|
30
32
|
- Desire Paths
|
|
31
33
|
- Drawer
|
|
32
34
|
- Dialog, tooltip, command palette & toast host
|
|
35
|
+
- Web component counterpart
|
|
36
|
+
- Popover
|
|
37
|
+
- Tooltip
|
|
38
|
+
- Hover card
|
|
39
|
+
- Side sheet
|
|
40
|
+
- Dropdown
|
|
41
|
+
- Context menu
|
|
42
|
+
- Command palette
|
|
43
|
+
- Badge overflow
|
|
44
|
+
- Web component counterparts
|
|
33
45
|
|
|
34
46
|
## Blocks documented here
|
|
35
47
|
|
|
36
|
-
|
|
48
|
+
28 block(s). Their facts live in `../contour.components.json`;
|
|
37
49
|
only the names are here, because the same figure in two files is how a document
|
|
38
50
|
starts disagreeing with itself.
|
|
39
51
|
|
|
52
|
+
- `.c-badge`
|
|
53
|
+
- `.c-badge-overflow`
|
|
40
54
|
- `.c-btn`
|
|
41
55
|
- `.c-callout`
|
|
42
56
|
- `.c-chip`
|
|
43
57
|
- `.c-command`
|
|
58
|
+
- `.c-command-palette`
|
|
59
|
+
- `.c-context-menu`
|
|
44
60
|
- `.c-dialog`
|
|
45
61
|
- `.c-drawer`
|
|
62
|
+
- `.c-dropdown`
|
|
46
63
|
- `.c-field`
|
|
64
|
+
- `.c-hover-card`
|
|
47
65
|
- `.c-icon-badge`
|
|
66
|
+
- `.c-input`
|
|
67
|
+
- `.c-kbd`
|
|
68
|
+
- `.c-link`
|
|
48
69
|
- `.c-panel`
|
|
70
|
+
- `.c-popover`
|
|
49
71
|
- `.c-range`
|
|
50
72
|
- `.c-readout`
|
|
51
73
|
- `.c-resize-handle`
|
|
52
74
|
- `.c-scrim`
|
|
53
75
|
- `.c-section-head`
|
|
54
76
|
- `.c-sheet`
|
|
77
|
+
- `.c-side-sheet`
|
|
55
78
|
- `.c-toast-host`
|
|
56
79
|
- `.c-tooltip`
|
|
57
80
|
|
|
58
81
|
---
|
|
59
82
|
|
|
60
|
-
Source `index.html` @ `
|
|
83
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|
package/dist/docs/overview.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# overview
|
|
2
2
|
|
|
3
|
-
Section `overview` — marker `00`, position 1 of
|
|
3
|
+
Section `overview` — marker `00`, position 1 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
|
|
|
@@ -18,4 +18,4 @@ starts disagreeing with itself.
|
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
-
Source `index.html` @ `
|
|
21
|
+
Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
|