contour-ds 1.5.0 → 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.
Files changed (60) hide show
  1. package/README.md +25 -3
  2. package/dist/build-manifest.json +52 -52
  3. package/dist/contour-wc.esm.js +302 -26
  4. package/dist/contour-wc.esm.min.js +1 -1
  5. package/dist/contour-wc.js +302 -26
  6. package/dist/contour-wc.min.js +1 -1
  7. package/dist/contour.components.json +1468 -47
  8. package/dist/contour.css +689 -527
  9. package/dist/contour.d.ts +10 -1
  10. package/dist/contour.esm.js +7 -0
  11. package/dist/contour.esm.min.js +1 -1
  12. package/dist/contour.js +7 -0
  13. package/dist/contour.min.css +1 -1
  14. package/dist/contour.min.js +1 -1
  15. package/dist/contour.tokens.json +10 -2
  16. package/dist/docs/actions.md +2 -2
  17. package/dist/docs/affordances.md +2 -2
  18. package/dist/docs/apireference.md +30 -0
  19. package/dist/docs/colour.md +2 -2
  20. package/dist/docs/componentindex.md +2 -2
  21. package/dist/docs/data.md +2 -2
  22. package/dist/docs/docs.md +2 -2
  23. package/dist/docs/feedback.md +2 -2
  24. package/dist/docs/field.md +2 -2
  25. package/dist/docs/forms.md +2 -2
  26. package/dist/docs/index.json +24 -11
  27. package/dist/docs/install.md +2 -2
  28. package/dist/docs/landing.md +2 -2
  29. package/dist/docs/mapengine.md +2 -2
  30. package/dist/docs/motion.md +2 -2
  31. package/dist/docs/navigation.md +2 -2
  32. package/dist/docs/overlays.md +2 -2
  33. package/dist/docs/overview.md +2 -2
  34. package/dist/docs/patterns.md +2 -2
  35. package/dist/docs/playground.md +2 -2
  36. package/dist/docs/principles.md +2 -2
  37. package/dist/docs/recipes.md +2 -2
  38. package/dist/docs/space.md +2 -2
  39. package/dist/docs/status.md +2 -2
  40. package/dist/docs/surfaces.md +2 -2
  41. package/dist/docs/theming.md +2 -2
  42. package/dist/docs/type.md +2 -2
  43. package/dist/docs/webcomponents.md +3 -7
  44. package/dist/registry/items/contour-core.json +2 -2
  45. package/dist/registry/items/contour-data.json +2 -2
  46. package/dist/registry/items/contour-docs.json +2 -2
  47. package/dist/registry/items/contour-landing.json +2 -2
  48. package/dist/registry/registry.json +8 -8
  49. package/dist/surfaces/contour-core.min.css +1 -1
  50. package/dist/surfaces/contour-data.min.css +1 -1
  51. package/dist/surfaces/contour-docs.min.css +1 -1
  52. package/dist/surfaces/contour-landing.min.css +1 -1
  53. package/dist/wc/core.mjs +33 -3
  54. package/dist/wc/data.mjs +71 -17
  55. package/dist/wc/docs.mjs +117 -0
  56. package/dist/wc/index.mjs +25 -1
  57. package/dist/wc/map.mjs +21 -0
  58. package/dist/wc/navigation.mjs +1 -1
  59. package/dist/wc/ui.mjs +59 -5
  60. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  # Playground
2
2
 
3
- Section `playground` — marker `20`, position 21 of 26 in the guide.
3
+ Section `playground` — marker `20`, position 21 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
 
@@ -38,4 +38,4 @@ starts disagreeing with itself.
38
38
 
39
39
  ---
40
40
 
41
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
41
+ Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Six rules that break every tie.
2
2
 
3
- Section `principles` — marker `01`, position 2 of 26 in the guide.
3
+ Section `principles` — marker `01`, position 2 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
 
@@ -42,4 +42,4 @@ starts disagreeing with itself.
42
42
 
43
43
  ---
44
44
 
45
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
45
+ Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Three shells, one system.
2
2
 
3
- Section `recipes` — marker `19`, position 20 of 26 in the guide.
3
+ Section `recipes` — marker `19`, position 20 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
 
@@ -107,4 +107,4 @@ part of the component contract and nothing in an installed package defines them:
107
107
 
108
108
  ---
109
109
 
110
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
110
+ Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # A 4px base, and shapes that stay soft.
2
2
 
3
- Section `space` — marker `04`, position 5 of 26 in the guide.
3
+ Section `space` — marker `04`, position 5 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
 
@@ -35,4 +35,4 @@ starts disagreeing with itself.
35
35
 
36
36
  ---
37
37
 
38
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
38
+ Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Status & labels
2
2
 
3
- Section `status` — marker `07`, position 9 of 26 in the guide.
3
+ Section `status` — marker `07`, position 9 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
 
@@ -43,4 +43,4 @@ starts disagreeing with itself.
43
43
 
44
44
  ---
45
45
 
46
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
46
+ Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Surfaces
2
2
 
3
- Section `surfaces` — marker `09`, position 10 of 26 in the guide.
3
+ Section `surfaces` — marker `09`, position 10 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
 
@@ -69,4 +69,4 @@ starts disagreeing with itself.
69
69
 
70
70
  ---
71
71
 
72
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
72
+ Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Two themes, one cascade.
2
2
 
3
- Section `theming` — marker `21`, position 22 of 26 in the guide.
3
+ Section `theming` — marker `21`, position 22 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
 
@@ -68,4 +68,4 @@ starts disagreeing with itself.
68
68
 
69
69
  ---
70
70
 
71
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
71
+ 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/type.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Two families, one superfamily.
2
2
 
3
- Section `type` — marker `03`, position 4 of 26 in the guide.
3
+ Section `type` — marker `03`, position 4 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
 
@@ -28,4 +28,4 @@ starts disagreeing with itself.
28
28
 
29
29
  ---
30
30
 
31
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
31
+ Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
@@ -1,6 +1,6 @@
1
1
  # Web components
2
2
 
3
- Section `webcomponents` — marker `23`, position 24 of 26 in the guide.
3
+ Section `webcomponents` — marker `23`, position 24 of 27 in the guide.
4
4
  Generated from `index.html`; prose quoted, counts from the inventory, no URL (the project is
5
5
  private until v1.0). See `index.json` for the whole set and the shared statement.
6
6
 
@@ -34,8 +34,6 @@ The same table contract composes inside a stack, while an error boundary keeps a
34
34
 
35
35
  Every contour:* event the layer dispatches, the payload keys an emission site can carry, and the composed flag. Payload keys are the union of keys the emission sites pass; an empty payload is an event that carries no detail object. Composition here is what the flag is for: a component hosted inside another author's shadow root still surfaces its events to the document, and a consumer reads the same frozen list from window.ContourEvents.
36
36
 
37
- 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.
38
-
39
37
  One card, two ways to change it. Writing three attributes in turn rebuilds the card three times; the same three writes inside batch() rebuild it once. The count is the element's own renderCount, not a number this page keeps, so it cannot drift from what the layer did.
40
38
 
41
39
  Concise usage notes for the web-component layer. The generated API cards above cover structural inputs (observed attributes, properties, parts); these notes cover intent, composition and gotchas the cards cannot express. Full text: tmp/dx_notes.md.
@@ -62,7 +60,6 @@ Content behind the scrim.
62
60
 
63
61
  - Composition and states
64
62
  - Event vocabulary
65
- - Component API reference
66
63
  - Reactivity, counted
67
64
  - DX notes (per component)
68
65
  - Reactivity playground
@@ -71,14 +68,13 @@ Content behind the scrim.
71
68
 
72
69
  ## Blocks documented here
73
70
 
74
- 23 block(s). Their facts live in `../contour.components.json`;
71
+ 22 block(s). Their facts live in `../contour.components.json`;
75
72
  only the names are here, because the same figure in two files is how a document
76
73
  starts disagreeing with itself.
77
74
 
78
75
  - `.c-btn`
79
76
  - `.c-card`
80
77
  - `.c-cluster`
81
- - `.c-disclosure`
82
78
  - `.c-geocoder`
83
79
  - `.c-icon-badge`
84
80
  - `.c-kbd`
@@ -101,4 +97,4 @@ starts disagreeing with itself.
101
97
 
102
98
  ---
103
99
 
104
- Source `index.html` @ `89164adf826b1812` · last committed 2026-11-03T18:38:35+01:00 · no URL: the project is private until v1.0.
100
+ Source `index.html` @ `10d181ea8e0eb659` · last committed 2026-11-04T18:12:14+01:00 · no URL: the project is private until v1.0.
@@ -3,7 +3,7 @@
3
3
  "name": "contour-core",
4
4
  "type": "registry:style",
5
5
  "title": "Contour core",
6
- "description": "Contour core surface: 144.4 kB of layered CSS, self-contained (the core layer is already inside it), 221 blocks and 300 custom properties declared under src/.",
6
+ "description": "Contour core surface: 145.1 kB of layered CSS, self-contained (the core layer is already inside it), 225 blocks and 301 custom properties declared under src/.",
7
7
  "registryDependencies": [],
8
8
  "files": [
9
9
  {
@@ -35,7 +35,7 @@
35
35
  "meta": {
36
36
  "distribution": "pointer",
37
37
  "selfContained": true,
38
- "bundleBytes": 147913,
38
+ "bundleBytes": 148611,
39
39
  "shared": [
40
40
  {
41
41
  "path": "contour.tokens.json",
@@ -3,7 +3,7 @@
3
3
  "name": "contour-data",
4
4
  "type": "registry:style",
5
5
  "title": "Contour data",
6
- "description": "Contour data surface: 191.9 kB of layered CSS, self-contained (the core layer is already inside it), 221 blocks and 300 custom properties declared under src/.",
6
+ "description": "Contour data surface: 192.9 kB of layered CSS, self-contained (the core layer is already inside it), 225 blocks and 301 custom properties declared under src/.",
7
7
  "registryDependencies": [],
8
8
  "files": [
9
9
  {
@@ -35,7 +35,7 @@
35
35
  "meta": {
36
36
  "distribution": "pointer",
37
37
  "selfContained": true,
38
- "bundleBytes": 196498,
38
+ "bundleBytes": 197559,
39
39
  "shared": [
40
40
  {
41
41
  "path": "contour.tokens.json",
@@ -3,7 +3,7 @@
3
3
  "name": "contour-docs",
4
4
  "type": "registry:style",
5
5
  "title": "Contour docs",
6
- "description": "Contour docs surface: 158.0 kB of layered CSS, self-contained (the core layer is already inside it), 221 blocks and 300 custom properties declared under src/.",
6
+ "description": "Contour docs surface: 160.7 kB of layered CSS, self-contained (the core layer is already inside it), 225 blocks and 301 custom properties declared under src/.",
7
7
  "registryDependencies": [],
8
8
  "files": [
9
9
  {
@@ -35,7 +35,7 @@
35
35
  "meta": {
36
36
  "distribution": "pointer",
37
37
  "selfContained": true,
38
- "bundleBytes": 161786,
38
+ "bundleBytes": 164577,
39
39
  "shared": [
40
40
  {
41
41
  "path": "contour.tokens.json",
@@ -3,7 +3,7 @@
3
3
  "name": "contour-landing",
4
4
  "type": "registry:style",
5
5
  "title": "Contour landing",
6
- "description": "Contour landing surface: 152.1 kB of layered CSS, self-contained (the core layer is already inside it), 221 blocks and 300 custom properties declared under src/.",
6
+ "description": "Contour landing surface: 152.8 kB of layered CSS, self-contained (the core layer is already inside it), 225 blocks and 301 custom properties declared under src/.",
7
7
  "registryDependencies": [],
8
8
  "files": [
9
9
  {
@@ -35,7 +35,7 @@
35
35
  "meta": {
36
36
  "distribution": "pointer",
37
37
  "selfContained": true,
38
- "bundleBytes": 155786,
38
+ "bundleBytes": 156484,
39
39
  "shared": [
40
40
  {
41
41
  "path": "contour.tokens.json",
@@ -8,7 +8,7 @@
8
8
  "name": "contour-core",
9
9
  "type": "registry:style",
10
10
  "title": "Contour core",
11
- "description": "Contour core surface: 144.4 kB of layered CSS, self-contained (the core layer is already inside it), 221 blocks and 300 custom properties declared under src/.",
11
+ "description": "Contour core surface: 145.1 kB of layered CSS, self-contained (the core layer is already inside it), 225 blocks and 301 custom properties declared under src/.",
12
12
  "registryDependencies": [],
13
13
  "files": [
14
14
  {
@@ -40,7 +40,7 @@
40
40
  "meta": {
41
41
  "distribution": "pointer",
42
42
  "selfContained": true,
43
- "bundleBytes": 147913,
43
+ "bundleBytes": 148611,
44
44
  "shared": [
45
45
  {
46
46
  "path": "contour.tokens.json",
@@ -70,7 +70,7 @@
70
70
  "name": "contour-data",
71
71
  "type": "registry:style",
72
72
  "title": "Contour data",
73
- "description": "Contour data surface: 191.9 kB of layered CSS, self-contained (the core layer is already inside it), 221 blocks and 300 custom properties declared under src/.",
73
+ "description": "Contour data surface: 192.9 kB of layered CSS, self-contained (the core layer is already inside it), 225 blocks and 301 custom properties declared under src/.",
74
74
  "registryDependencies": [],
75
75
  "files": [
76
76
  {
@@ -102,7 +102,7 @@
102
102
  "meta": {
103
103
  "distribution": "pointer",
104
104
  "selfContained": true,
105
- "bundleBytes": 196498,
105
+ "bundleBytes": 197559,
106
106
  "shared": [
107
107
  {
108
108
  "path": "contour.tokens.json",
@@ -132,7 +132,7 @@
132
132
  "name": "contour-docs",
133
133
  "type": "registry:style",
134
134
  "title": "Contour docs",
135
- "description": "Contour docs surface: 158.0 kB of layered CSS, self-contained (the core layer is already inside it), 221 blocks and 300 custom properties declared under src/.",
135
+ "description": "Contour docs surface: 160.7 kB of layered CSS, self-contained (the core layer is already inside it), 225 blocks and 301 custom properties declared under src/.",
136
136
  "registryDependencies": [],
137
137
  "files": [
138
138
  {
@@ -164,7 +164,7 @@
164
164
  "meta": {
165
165
  "distribution": "pointer",
166
166
  "selfContained": true,
167
- "bundleBytes": 161786,
167
+ "bundleBytes": 164577,
168
168
  "shared": [
169
169
  {
170
170
  "path": "contour.tokens.json",
@@ -194,7 +194,7 @@
194
194
  "name": "contour-landing",
195
195
  "type": "registry:style",
196
196
  "title": "Contour landing",
197
- "description": "Contour landing surface: 152.1 kB of layered CSS, self-contained (the core layer is already inside it), 221 blocks and 300 custom properties declared under src/.",
197
+ "description": "Contour landing surface: 152.8 kB of layered CSS, self-contained (the core layer is already inside it), 225 blocks and 301 custom properties declared under src/.",
198
198
  "registryDependencies": [],
199
199
  "files": [
200
200
  {
@@ -226,7 +226,7 @@
226
226
  "meta": {
227
227
  "distribution": "pointer",
228
228
  "selfContained": true,
229
- "bundleBytes": 155786,
229
+ "bundleBytes": 156484,
230
230
  "shared": [
231
231
  {
232
232
  "path": "contour.tokens.json",