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
@@ -0,0 +1,172 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Contour markup validator — the consumer-facing half of the repo's own gates.
4
+ *
5
+ * Every check in tools/audit and tools/check-*.mjs runs inside this repository,
6
+ * against the guide. An agent generating a page in *its* project has none of
7
+ * them, so it cannot tell correct Contour markup from markup that renders
8
+ * unstyled. This script is that missing check, pointed outward:
9
+ *
10
+ * node integrations/validate-markup.mjs your-page.html [more.html …]
11
+ *
12
+ * It resolves the installed `contour-ds` package (its dist/contour.css and
13
+ * dist/contour.components.json); run from this repository it falls back to the
14
+ * local dist/. It then asserts the rules an agent most often gets wrong:
15
+ *
16
+ * - every class resolves in the shipped CSS, the component contract, or the
17
+ * page's own inline <style> (a class the system does not style and the page
18
+ * does not define renders unstyled);
19
+ * - a table.c-table sits in a .c-table-wrap (or it overflows the page);
20
+ * - an icon-only button (c-btn--icon) has an aria-label;
21
+ * - a dialog (c-dialog) carries role, aria-modal and aria-labelledby;
22
+ * - an <img> has an alt;
23
+ * - no duplicate id attributes (ids are the page's anchors and label targets);
24
+ * - no raw hex colour or px length in a style attribute (use tokens).
25
+ *
26
+ * Exit 0 = clean, 1 = errors. Warnings (raw hex/px) do not fail the run.
27
+ */
28
+
29
+ import { readFileSync, existsSync } from "node:fs";
30
+ import { createRequire } from "node:module";
31
+ import { fileURLToPath } from "node:url";
32
+ import { dirname, join } from "node:path";
33
+
34
+ const HERE = dirname(fileURLToPath(import.meta.url));
35
+
36
+ /** Locate the shipped CSS + contract: the installed package, else the local dist/. */
37
+ function resolveShipped() {
38
+ const req = createRequire(import.meta.url);
39
+ const candidates = [];
40
+ try {
41
+ candidates.push(join(dirname(req.resolve("contour-ds/package.json")), "dist"));
42
+ } catch { /* not installed — fall back to the repo's dist/ */ }
43
+ candidates.push(join(HERE, "..", "dist"));
44
+ for (const dir of candidates) {
45
+ const css = join(dir, "contour.css");
46
+ const contract = join(dir, "contour.components.json");
47
+ if (existsSync(css) && existsSync(contract)) return { dir, css, contract };
48
+ }
49
+ return null;
50
+ }
51
+
52
+ const shipped = resolveShipped();
53
+ if (!shipped) {
54
+ console.error("validate-markup: cannot find contour-ds dist/ (install the package, or run from the Contour repository).");
55
+ process.exit(1);
56
+ }
57
+
58
+ // The defined-class set: every selector in the shipped CSS (minified, so each
59
+ // `.foo` is a real selector) plus the names the contract publishes, plus any
60
+ // class the page defines in its own inline <style> (a consumer page legitimately
61
+ // ships local layout classes that contour.css does not and should not style).
62
+ const defined = new Set();
63
+ for (const token of readFileSync(shipped.css, "utf8").match(/\.[a-zA-Z_-][\w-]*/g) || []) defined.add(token.slice(1));
64
+ const contract = JSON.parse(readFileSync(shipped.contract, "utf8"));
65
+ for (const block of contract.blocks || []) {
66
+ defined.add(block.name);
67
+ for (const list of [block.elements, block.variants, block.states]) {
68
+ for (const name of list || []) defined.add(String(name).replace(/^\./, "").split(/[\s[]/)[0]);
69
+ }
70
+ }
71
+
72
+ /** Collect class names the page defines in its own inline <style> blocks. */
73
+ function localClasses(html) {
74
+ const out = new Set();
75
+ for (const m of html.matchAll(/<style\b[^>]*>([\s\S]*?)<\/style>/gi)) {
76
+ for (const sel of m[1].match(/\.[a-zA-Z_-][\w-]*/g) || []) out.add(sel.slice(1));
77
+ }
78
+ return out;
79
+ }
80
+
81
+ // Third-party runtime classes a page may legitimately carry (they are not styled
82
+ // by contour.css and are not supposed to be).
83
+ const THIRD_PARTY = ["hljs-", "language-", "function_", "nohighlight", "maplibregl-", "mapboxgl-", "leaflet-", "icon-", "fa-", "bi-", "material-icons"];
84
+
85
+ const files = process.argv.slice(2);
86
+ if (!files.length) {
87
+ console.error("usage: node integrations/validate-markup.mjs <file.html> [more.html …]");
88
+ process.exit(1);
89
+ }
90
+
91
+ let errorCount = 0;
92
+ let warnCount = 0;
93
+ let fileCount = 0;
94
+
95
+ for (const file of files) {
96
+ if (!existsSync(file)) {
97
+ console.error(`validate-markup: ${file} not found`);
98
+ errorCount++;
99
+ continue;
100
+ }
101
+ fileCount++;
102
+ const html = readFileSync(file, "utf8");
103
+ const errors = [];
104
+ const warns = [];
105
+ const local = localClasses(html);
106
+
107
+ // 1. class resolution
108
+ for (const attr of html.match(/class="([^"]*)"/g) || []) {
109
+ for (const token of attr.slice(7, -1).trim().split(/\s+/)) {
110
+ if (!token || defined.has(token) || local.has(token)) continue;
111
+ if (THIRD_PARTY.some((p) => token.startsWith(p))) continue;
112
+ errors.push(`class \`${token}\` is not defined in contour.css, the component contract, or this page's own <style> — it will render unstyled`);
113
+ }
114
+ }
115
+
116
+ // 2. a bare table.c-table with no .c-table-wrap anywhere in the file
117
+ if (/class="[^"]*\bc-table\b/.test(html) && !/class="[^"]*\bc-table-wrap\b/.test(html)) {
118
+ errors.push("a table.c-table has no .c-table-wrap ancestor — wrap it in <div class=\"c-table-wrap\"> so it scrolls instead of overflowing");
119
+ }
120
+
121
+ // 3. icon-only button needs an accessible name
122
+ for (const tag of html.match(/<button\b[^>]*>/g) || []) {
123
+ if (/c-btn--icon/.test(tag) && !/aria-label=/.test(tag)) {
124
+ errors.push("an icon-only button (c-btn--icon) has no aria-label — it has no text to name it");
125
+ }
126
+ }
127
+
128
+ // 4. dialog needs role + aria-modal + aria-labelledby
129
+ for (const tag of html.match(/<dialog\b[^>]*>/g) || []) {
130
+ if (/c-dialog/.test(tag)) {
131
+ for (const need of ["role=", "aria-modal", "aria-labelledby"]) {
132
+ if (!tag.includes(need)) errors.push(`a c-dialog is missing ${need} — a modal dialog must name itself and declare it is modal`);
133
+ }
134
+ }
135
+ }
136
+
137
+ // 5. <img> needs alt
138
+ for (const tag of html.match(/<img\b[^>]*>/g) || []) {
139
+ if (!/\balt=/.test(tag)) errors.push("an <img> has no alt attribute");
140
+ }
141
+
142
+ // 6. duplicate id attributes (anchors, label targets and aria-controls collide)
143
+ const seenIds = new Map();
144
+ for (const m of html.matchAll(/\bid="([^"]+)"/g)) {
145
+ const id = m[1];
146
+ seenIds.set(id, (seenIds.get(id) || 0) + 1);
147
+ }
148
+ for (const [id, count] of seenIds) {
149
+ if (count > 1) errors.push(`duplicate id \`${id}\` appears ${count} times — ids must be unique (anchors, <label for>, aria-controls all resolve by id)`);
150
+ }
151
+
152
+ // 7. raw hex / px in a style attribute (warning — tokens are the system)
153
+ for (const style of html.match(/style="([^"]*)"/g) || []) {
154
+ if (/#[0-9a-fA-F]{3,8}\b/.test(style)) warns.push(`raw hex colour in a style attribute — use a var(--color-…) token`);
155
+ if (/\b\d+px\b/.test(style)) warns.push(`raw px in a style attribute — use a var(--space-…) / var(--type-…) token`);
156
+ }
157
+
158
+ if (errors.length || warns.length) {
159
+ console.log(`\n${file}:`);
160
+ for (const e of errors) console.log(` ERROR ${e}`);
161
+ for (const w of warns) console.log(` warn ${w}`);
162
+ }
163
+ errorCount += errors.length;
164
+ warnCount += warns.length;
165
+ }
166
+
167
+ if (!fileCount) {
168
+ console.error("validate-markup: no files checked");
169
+ process.exit(1);
170
+ }
171
+ console.log(`\nvalidate-markup: ${fileCount} file(s), ${errorCount} error(s), ${warnCount} warning(s). ${errorCount ? "FAIL" : "OK"}`);
172
+ process.exit(errorCount ? 1 : 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contour-ds",
3
- "version": "1.7.2",
3
+ "version": "1.9.0",
4
4
  "description": "A token-driven design system for spatial interfaces",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -12,39 +12,54 @@
12
12
  "integrations/"
13
13
  ],
14
14
  "scripts": {
15
+ "build": "npm run build:core && npm run build:guide && npm run build:manifest && npm run build:storybook",
15
16
  "build:core": "node tools/build.mjs",
16
- "generate:storybook": "node tools/gen-storybook-stories.mjs",
17
- "build": "npm run build:core && npm run generate:storybook && storybook build --output-dir storybook",
17
+ "build:guide": "node tools/gen-guide.mjs pipeline guide",
18
+ "build:manifest": "node tools/build-manifest.mjs",
19
+ "build:stories": "node tools/gen-storybook-stories.mjs",
20
+ "build:storybook": "npm run build:stories && storybook build --output-dir storybook && node tools/build-manifest.mjs --storybook-only",
21
+ "storybook": "npm run build:core && npm run build:stories && storybook dev -p 6006",
22
+ "prepack": "node tools/build.mjs --single && npm run build:manifest",
18
23
  "snippets": "node tools/snippets.mjs",
24
+ "validate": "npx html-validate index.html templates/*.html",
25
+ "doctor": "node tools/doctor.mjs",
19
26
  "check:tokens": "node tools/check-tokens.mjs",
20
27
  "check:dead-css": "node tools/check-dead-css.mjs",
28
+ "check:cvd": "node tools/check-cvd.mjs",
21
29
  "check:motion": "node tools/check-motion.mjs",
22
30
  "check:defs": "node tools/check-defs.mjs",
23
31
  "check:light-dark": "node tools/gen-light-dark.mjs --check",
24
32
  "check:claims": "node tools/check-claims.mjs",
25
33
  "check:markup": "node tools/check-markup.mjs",
26
34
  "check:layout": "node tools/check-layout.mjs",
35
+ "check:diagnostics": "node tools/check-diagnostics.mjs",
36
+ "check:dsd": "node tools/check-dsd.mjs",
37
+ "check:recipes": "node tools/check-recipes.mjs",
38
+ "check:docs-exec": "node tools/execute-docs.mjs",
27
39
  "check:theme": "node tools/audit/theme-render-probe.mjs",
28
40
  "check:chart": "node tools/audit/chart-geometry.mjs",
29
41
  "check:chart-names": "node tools/audit/chart-names.mjs",
30
- "validate": "npx html-validate index.html templates/*.html",
31
- "prepack": "npm run build:core",
32
- "check:docs-exec": "node tools/execute-docs.mjs",
33
42
  "check:reflow": "node tools/audit/check-reflow.mjs",
34
- "check:doctor": "node tools/doctor.mjs",
35
- "test": "vitest run",
36
- "test:unit": "vitest run tests/unit",
37
- "test:integration": "vitest run tests/integration",
43
+ "check:perf": "node tools/audit/perf-budget.mjs",
44
+ "check:glass": "node tools/audit/glass-budget.mjs",
45
+ "check:workspace-shell": "node tools/audit/workspace-shell.mjs",
46
+ "check:docs-behaviours": "node tools/audit/docs-behaviours.mjs",
47
+ "check:storybook-coverage": "node tools/check-storybook-coverage.mjs",
48
+ "check:storybook-stale": "node tools/check-storybook-stale.mjs",
49
+ "check:cookbook": "node tools/check-cookbook.mjs",
50
+ "check:a11y": "node tools/check-a11y.mjs",
51
+ "check:map-wiring": "node tools/check-map-wiring.mjs",
52
+ "check:examples": "node tools/check-examples.mjs",
53
+ "test": "vitest run --project unit",
54
+ "test:unit": "vitest run --project unit tests/unit",
55
+ "test:integration": "vitest run --project unit tests/integration",
38
56
  "test:e2e": "playwright test",
39
- "test:coverage": "vitest run --coverage",
57
+ "test:coverage": "vitest run --project unit --coverage",
40
58
  "test:watch": "vitest",
41
- "storybook": "npm run build:core && npm run generate:storybook && storybook dev -p 6006",
42
- "build:storybook": "npm run build",
43
- "build-storybook": "npm run build:storybook",
44
- "test:storybook": "npm run build && vitest run --project storybook",
45
- "check:storybook-coverage": "node tools/check-storybook-coverage.mjs",
46
- "screenshot:baseline": "node tools/screenshot-baseline.mjs",
47
- "check:storybook": "npm run build-storybook && npm run test:storybook && npm run check:storybook-coverage"
59
+ "test:storybook": "npm run build:core && npm run build:storybook && node tools/storybook-tests.mjs && npm run check:storybook-coverage",
60
+ "visual:baseline": "node tools/check-visual.mjs --baseline",
61
+ "visual:check": "node tools/check-visual.mjs --compare",
62
+ "screenshot:baseline": "node tools/screenshot-baseline.mjs"
48
63
  },
49
64
  "keywords": [
50
65
  "design-system",
@@ -72,11 +87,16 @@
72
87
  "./themes.json": "./dist/contour.themes.json",
73
88
  "./components": "./dist/contour.components.json",
74
89
  "./components.json": "./dist/contour.components.json",
90
+ "./docs/*": "./dist/docs/*",
91
+ "./registry/*": "./dist/registry/*",
92
+ "./map-chrome-contract": "./dist/map-chrome-contract.json",
93
+ "./map-chrome-contract.json": "./dist/map-chrome-contract.json",
94
+ "./build-manifest": "./dist/build-manifest.json",
95
+ "./build-manifest.json": "./dist/build-manifest.json",
75
96
  "./map-chrome/*": "./dist/map-chrome.*.css",
76
97
  "./svg/*": "./dist/svg/*",
77
98
  "./hljs.css": "./dist/hljs.css",
78
99
  "./contour.single.min.css": "./dist/contour.single.min.css",
79
- "./contour.single.min.js": "./dist/contour.single.min.js",
80
100
  "./map-chrome/mapbox": "./dist/map-chrome.mapbox.css",
81
101
  "./map-chrome/maplibre": "./dist/map-chrome.maplibre.css",
82
102
  "./contour-wc.js": "./dist/contour-wc.js",
@@ -85,37 +105,80 @@
85
105
  "./contour.esm.min.js": "./dist/contour.esm.min.js",
86
106
  "./contour-wc.esm.js": "./dist/contour-wc.esm.js",
87
107
  "./contour-wc.esm.min.js": "./dist/contour-wc.esm.min.js",
88
- "./wc/*": "./dist/wc/*",
108
+ "./contour-wc-*.esm.js": "./dist/contour-wc-*.esm.js",
109
+ "./contour-wc-*.esm.min.js": "./dist/contour-wc-*.esm.min.js",
110
+ "./wc/*.mjs": "./dist/wc/*.mjs",
111
+ "./wc/*.js": "./dist/wc/*.mjs",
112
+ "./wc/*": "./dist/wc/*.mjs",
113
+ "./integrations/*": "./integrations/*",
89
114
  "./package.json": "./package.json",
90
115
  "./agent-rules": "./dist/agent-rules.json",
91
- "./agent-rules.json": "./dist/agent-rules.json"
116
+ "./agent-rules.json": "./dist/agent-rules.json",
117
+ "./cookbook": "./dist/agent-cookbook.json",
118
+ "./cookbook.json": "./dist/agent-cookbook.json",
119
+ "./agent-cookbook": "./dist/agent-cookbook.json",
120
+ "./agent-cookbook.json": "./dist/agent-cookbook.json",
121
+ "./a11y": "./dist/contour.a11y.json",
122
+ "./a11y.json": "./dist/contour.a11y.json",
123
+ "./contour.a11y.json": "./dist/contour.a11y.json",
124
+ "./map-wiring": "./dist/agent-map-wiring.json",
125
+ "./map-wiring.json": "./dist/agent-map-wiring.json",
126
+ "./agent-map-wiring": "./dist/agent-map-wiring.json",
127
+ "./agent-map-wiring.json": "./dist/agent-map-wiring.json",
128
+ "./examples": "./dist/agent-examples.json",
129
+ "./examples.json": "./dist/agent-examples.json",
130
+ "./agent-examples": "./dist/agent-examples.json",
131
+ "./agent-examples.json": "./dist/agent-examples.json",
132
+ "./html-data": "./dist/contour.html-data.json",
133
+ "./html-data.json": "./dist/contour.html-data.json",
134
+ "./web-types": "./dist/contour.web-types.json",
135
+ "./web-types.json": "./dist/contour.web-types.json",
136
+ "./react": {
137
+ "types": "./dist/contour.react.d.ts"
138
+ },
139
+ "./react.d.ts": "./dist/contour.react.d.ts",
140
+ "./vue": {
141
+ "types": "./dist/contour.vue.d.ts"
142
+ },
143
+ "./vue.d.ts": "./dist/contour.vue.d.ts",
144
+ "./custom-elements": "./dist/custom-elements.json",
145
+ "./custom-elements.json": "./dist/custom-elements.json",
146
+ "./custom-elements-manifest": "./dist/custom-elements.json",
147
+ "./snippets": "./dist/contour.code-snippets",
148
+ "./code-snippets": "./dist/contour.code-snippets"
92
149
  },
93
150
  "sideEffects": [
94
151
  "*.css",
95
- "*.js"
152
+ "*.js",
153
+ "*.mjs"
96
154
  ],
97
155
  "engines": {
98
156
  "node": ">=18"
99
157
  },
100
158
  "devDependencies": {
101
- "@axe-core/playwright": "^4.14.0",
102
- "@playwright/test": "^1.64.1",
103
- "@storybook/addon-a11y": "^10.6.5",
104
- "@storybook/addon-docs": "^10.6.5",
105
- "@storybook/addon-mcp": "^10.6.5",
106
- "@storybook/addon-vitest": "^10.6.5",
107
- "@storybook/web-components-vite": "^10.6.5",
108
- "@vitest/browser-playwright": "^5.1.0",
109
- "@vitest/coverage-v8": "^5.1.0",
159
+ "@axe-core/playwright": "^4.14.1",
160
+ "@playwright/test": "^1.65.1",
161
+ "@storybook/addon-a11y": "^10.6.9",
162
+ "@storybook/addon-docs": "^10.6.9",
163
+ "@storybook/addon-mcp": "^10.6.9",
164
+ "@storybook/addon-vitest": "^10.6.9",
165
+ "@storybook/web-components-vite": "^10.6.9",
166
+ "@vitest/browser-playwright": "^5.1.2",
167
+ "@vitest/coverage-v8": "^5.1.2",
110
168
  "ajv": "8.20.0",
111
- "dembrandt": "0.39.2",
112
- "html-validate": "11.18.0",
113
- "jsdom": "^30.1.3",
169
+ "dembrandt": "0.42.0",
170
+ "esbuild": "^0.28.2",
171
+ "html-validate": "11.23.0",
172
+ "jsdom": "^31.0.1",
114
173
  "lit": "3.3.3",
115
- "playwright-core": "1.64.1",
116
- "storybook": "^10.6.5",
117
- "vite": "^8.3.5",
118
- "vitest": "^5.1.0"
174
+ "maplibre-gl": "^6.20.0",
175
+ "playwright-core": "1.65.1",
176
+ "storybook": "^10.6.9",
177
+ "stylelint": "^18.1.0",
178
+ "stylelint-config-standard": "^41.1.0",
179
+ "terser": "^5.51.4",
180
+ "vite": "^8.4.0",
181
+ "vitest": "^5.1.2"
119
182
  },
120
183
  "author": "Abel Vázquez Montoro",
121
184
  "repository": {
@@ -131,5 +194,6 @@
131
194
  },
132
195
  "allowScripts": {
133
196
  "esbuild@0.28.2": true
134
- }
197
+ },
198
+ "customElements": "dist/custom-elements.json"
135
199
  }