contour-ds 1.10.0 → 1.12.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 (82) hide show
  1. package/dist/agent-map-wiring.json +2 -1
  2. package/dist/build-manifest.json +52 -52
  3. package/dist/contour-wc-content.esm.js +5 -0
  4. package/dist/contour-wc-core.esm.js +1 -1
  5. package/dist/contour-wc-core.esm.min.js +1 -1
  6. package/dist/contour-wc-dashboard.esm.js +173 -9
  7. package/dist/contour-wc-dashboard.esm.min.js +1 -1
  8. package/dist/contour-wc-data.esm.js +173 -9
  9. package/dist/contour-wc-data.esm.min.js +1 -1
  10. package/dist/contour-wc-docs.esm.js +5 -0
  11. package/dist/contour-wc-feedback.esm.js +5 -0
  12. package/dist/contour-wc-forms.esm.js +5 -0
  13. package/dist/contour-wc-interaction.esm.js +5 -0
  14. package/dist/contour-wc-layout.esm.js +5 -0
  15. package/dist/contour-wc-map.esm.js +110 -4
  16. package/dist/contour-wc-map.esm.min.js +1 -1
  17. package/dist/contour-wc-misc.esm.js +5 -0
  18. package/dist/contour-wc-navigation.esm.js +5 -0
  19. package/dist/contour-wc-ui.esm.js +82 -9
  20. package/dist/contour-wc-ui.esm.min.js +1 -1
  21. package/dist/contour-wc.esm.js +356 -23
  22. package/dist/contour-wc.esm.min.js +1 -1
  23. package/dist/contour-wc.js +356 -23
  24. package/dist/contour-wc.min.js +1 -1
  25. package/dist/contour.code-snippets +1 -1
  26. package/dist/contour.components.json +219 -35
  27. package/dist/contour.css +135 -0
  28. package/dist/contour.d.ts +55 -54
  29. package/dist/contour.html-data.json +40 -4
  30. package/dist/contour.min.css +1 -1
  31. package/dist/contour.single.html +1 -1
  32. package/dist/contour.single.min.css +1 -1
  33. package/dist/contour.web-types.json +40 -4
  34. package/dist/custom-elements.json +163 -1
  35. package/dist/docs/actions.md +1 -1
  36. package/dist/docs/affordances.md +1 -1
  37. package/dist/docs/apireference.md +1 -1
  38. package/dist/docs/colour.md +1 -1
  39. package/dist/docs/componentindex.md +1 -1
  40. package/dist/docs/data.md +3 -1
  41. package/dist/docs/docs.md +1 -1
  42. package/dist/docs/feedback.md +1 -1
  43. package/dist/docs/field.md +1 -3
  44. package/dist/docs/forms.md +1 -1
  45. package/dist/docs/index.json +2 -2
  46. package/dist/docs/install.md +1 -1
  47. package/dist/docs/landing.md +1 -1
  48. package/dist/docs/mapengine.md +1 -1
  49. package/dist/docs/motion.md +1 -1
  50. package/dist/docs/navigation.md +1 -1
  51. package/dist/docs/overlays.md +1 -1
  52. package/dist/docs/overview.md +1 -1
  53. package/dist/docs/patterns.md +1 -1
  54. package/dist/docs/playground.md +1 -1
  55. package/dist/docs/principles.md +1 -1
  56. package/dist/docs/recipes.md +1 -1
  57. package/dist/docs/space.md +1 -1
  58. package/dist/docs/status.md +1 -1
  59. package/dist/docs/surfaces.md +1 -1
  60. package/dist/docs/theming.md +1 -1
  61. package/dist/docs/type.md +1 -1
  62. package/dist/docs/webcomponents.md +1 -1
  63. package/dist/register.js +15 -0
  64. package/dist/registry/items/contour-core.json +2 -2
  65. package/dist/registry/items/contour-data.json +2 -2
  66. package/dist/registry/items/contour-docs.json +2 -2
  67. package/dist/registry/items/contour-landing.json +2 -2
  68. package/dist/registry/registry.json +8 -8
  69. package/dist/surfaces/contour-core.min.css +1 -1
  70. package/dist/surfaces/contour-data.min.css +1 -1
  71. package/dist/surfaces/contour-docs.min.css +1 -1
  72. package/dist/surfaces/contour-landing.min.css +1 -1
  73. package/dist/wc/data-chart.mjs +82 -5
  74. package/dist/wc/data-gauge.mjs +49 -4
  75. package/dist/wc/glyph.mjs +37 -0
  76. package/dist/wc/index.mjs +1 -1
  77. package/dist/wc/map.mjs +105 -4
  78. package/dist/wc/registration.mjs +5 -0
  79. package/dist/wc/ui-atoms.mjs +28 -7
  80. package/dist/wc/ui-data.mjs +49 -2
  81. package/integrations/libreship/contract.json +7 -2
  82. package/package.json +4 -1
@@ -5,7 +5,8 @@
5
5
  "statement": "How Contour's map chrome attaches to an engine. Contour stops at chrome (LIBRESHIP.md §1): the engine, tile pipeline and projection stay consumer-owned. The seam is contour-map-area.attachMap(instance); after that, chrome listens to the engine's viewport and forwards requests. This file gives, per vendor (MapLibre / Mapbox / Leaflet), the mount call, the engine event that feeds each contour:* event, the chrome blocks to mount and the tokens that theme them. Every event, block and token is validated against CONTOUR_EVENTS, the component contract and the token census at build time. No counts are stated here.",
6
6
  "source": "tools/lib/map-wiring.mjs",
7
7
  "seam": {
8
- "host": "c-map-area",
8
+ "host": "contour-map-area",
9
+ "hostClass": "c-map-area",
9
10
  "method": "attachMap(mapInstance)",
10
11
  "notes": [
11
12
  "Contour chrome is engine-agnostic: attachMap() is duck-typed, so the same chrome works across MapLibre, Mapbox and Leaflet.",
@@ -1,7 +1,7 @@
1
1
  {
2
- "version": "1.10.0",
3
- "builtAt": "2026-12-03T22:12:24.505Z",
4
- "sourceRevision": "69e3c3ccc1185093fcc52fd75e3c169ccdb44c73",
2
+ "version": "1.12.0",
3
+ "builtAt": "2026-12-04T09:55:09.613Z",
4
+ "sourceRevision": "b0633f8e98279a1f86ff4252dbb59502782dffff",
5
5
  "sources": {
6
6
  "src/css/base.css": {
7
7
  "bytes": 14624,
@@ -34,9 +34,9 @@
34
34
  "sha256": "f003617eeec0b495"
35
35
  },
36
36
  "src/css/components-data-maps.css": {
37
- "bytes": 45414,
38
- "mtimeMs": 1796327315269.0366,
39
- "sha256": "2e167d5633318dff"
37
+ "bytes": 46492,
38
+ "mtimeMs": 1796374922523.6147,
39
+ "sha256": "3322a617f506a9fc"
40
40
  },
41
41
  "src/css/components-data-tables.css": {
42
42
  "bytes": 11594,
@@ -54,9 +54,9 @@
54
54
  "sha256": "98121087e73e2c9e"
55
55
  },
56
56
  "src/css/components-display.css": {
57
- "bytes": 28982,
58
- "mtimeMs": 1796327315269.264,
59
- "sha256": "bb26727130d83bc9"
57
+ "bytes": 30200,
58
+ "mtimeMs": 1796369666512.4182,
59
+ "sha256": "94c4d5fe1f7f392a"
60
60
  },
61
61
  "src/css/components-docs.css": {
62
62
  "bytes": 25774,
@@ -79,14 +79,14 @@
79
79
  "sha256": "93d16eca2fec6742"
80
80
  },
81
81
  "src/css/components-misc-contract.css": {
82
- "bytes": 23495,
83
- "mtimeMs": 1796159103531.5034,
84
- "sha256": "75e6afcc2a1f5ad0"
82
+ "bytes": 24386,
83
+ "mtimeMs": 1796374663606.5054,
84
+ "sha256": "fc8c4d494b17e1f4"
85
85
  },
86
86
  "src/css/components-misc-feedback.css": {
87
- "bytes": 5633,
88
- "mtimeMs": 1796237364939.9797,
89
- "sha256": "53a3905e9bcad7b9"
87
+ "bytes": 6626,
88
+ "mtimeMs": 1796371534105.3792,
89
+ "sha256": "eddb070b58e6dacb"
90
90
  },
91
91
  "src/css/components-misc-inputs.css": {
92
92
  "bytes": 8441,
@@ -229,9 +229,9 @@
229
229
  "sha256": "e06d0a6a3b22eabf"
230
230
  },
231
231
  "src/js/wc/data-chart.mjs": {
232
- "bytes": 89190,
233
- "mtimeMs": 1796297411086.9304,
234
- "sha256": "c29eb3a358d67168"
232
+ "bytes": 93302,
233
+ "mtimeMs": 1796374658624.4265,
234
+ "sha256": "86b20f8722937cf6"
235
235
  },
236
236
  "src/js/wc/data-export.mjs": {
237
237
  "bytes": 27809,
@@ -239,9 +239,9 @@
239
239
  "sha256": "78cf107ba66157fc"
240
240
  },
241
241
  "src/js/wc/data-gauge.mjs": {
242
- "bytes": 45623,
243
- "mtimeMs": 1796159953614.1577,
244
- "sha256": "4c6f63d0c0b63860"
242
+ "bytes": 47508,
243
+ "mtimeMs": 1796368339141.8145,
244
+ "sha256": "418ad20b6397b210"
245
245
  },
246
246
  "src/js/wc/data-geo.mjs": {
247
247
  "bytes": 37161,
@@ -314,9 +314,9 @@
314
314
  "sha256": "65a1cadf3cc913d5"
315
315
  },
316
316
  "src/js/wc/glyph.mjs": {
317
- "bytes": 6304,
318
- "mtimeMs": 1795763351986.7979,
319
- "sha256": "f9e3bc29b6086996"
317
+ "bytes": 7897,
318
+ "mtimeMs": 1796369343983.9846,
319
+ "sha256": "6c7d97bcf46f1a5e"
320
320
  },
321
321
  "src/js/wc/interaction.mjs": {
322
322
  "bytes": 44460,
@@ -329,9 +329,9 @@
329
329
  "sha256": "e9741a90e1a44d9d"
330
330
  },
331
331
  "src/js/wc/map.mjs": {
332
- "bytes": 109808,
333
- "mtimeMs": 1796326633556.17,
334
- "sha256": "9a33f067751a9e5c"
332
+ "bytes": 115260,
333
+ "mtimeMs": 1796374982915.5764,
334
+ "sha256": "d28bafbf786463f7"
335
335
  },
336
336
  "src/js/wc/misc.mjs": {
337
337
  "bytes": 19015,
@@ -359,9 +359,9 @@
359
359
  "sha256": "3e72b3466c357d9d"
360
360
  },
361
361
  "src/js/wc/registration.mjs": {
362
- "bytes": 427,
363
- "mtimeMs": 1795775715274.757,
364
- "sha256": "a116a1abf08cd9c5"
362
+ "bytes": 810,
363
+ "mtimeMs": 1796369351714.7664,
364
+ "sha256": "e564f5b928d1744b"
365
365
  },
366
366
  "src/js/wc/shadow.mjs": {
367
367
  "bytes": 37735,
@@ -379,14 +379,14 @@
379
379
  "sha256": "c61577f905f16c4d"
380
380
  },
381
381
  "src/js/wc/ui-atoms.mjs": {
382
- "bytes": 27599,
383
- "mtimeMs": 1795942594878.5708,
384
- "sha256": "75e33af8e2541914"
382
+ "bytes": 28890,
383
+ "mtimeMs": 1796369307353.3557,
384
+ "sha256": "2bc69718d1af7a33"
385
385
  },
386
386
  "src/js/wc/ui-data.mjs": {
387
- "bytes": 92837,
388
- "mtimeMs": 1796295938140.196,
389
- "sha256": "4ef8100c777cd6e5"
387
+ "bytes": 95634,
388
+ "mtimeMs": 1796371634351.3354,
389
+ "sha256": "6e78d0aba4ce2d38"
390
390
  },
391
391
  "src/js/wc/ui-feedback.mjs": {
392
392
  "bytes": 22617,
@@ -410,8 +410,8 @@
410
410
  },
411
411
  "src/js/wc/index.mjs": {
412
412
  "bytes": 2915,
413
- "mtimeMs": 1796327963867.1326,
414
- "sha256": "22cec0f3f3d3662a"
413
+ "mtimeMs": 1796377282165.581,
414
+ "sha256": "3a0df5b795ce4278"
415
415
  },
416
416
  "src/js/wc/hydrate.mjs": {
417
417
  "bytes": 4726,
@@ -424,38 +424,38 @@
424
424
  "sha256": "e3c004dac0dd251e"
425
425
  },
426
426
  "index.html": {
427
- "bytes": 1813129,
428
- "mtimeMs": 1796335233410.8208,
429
- "sha256": "e54d538baa4d651d"
427
+ "bytes": 1820609,
428
+ "mtimeMs": 1796377569160.0176,
429
+ "sha256": "9731b3b415734994"
430
430
  }
431
431
  },
432
432
  "outputs": {
433
- "contour.css": 484401,
434
- "contour.min.css": 324904,
433
+ "contour.css": 488581,
434
+ "contour.min.css": 327519,
435
435
  "contour.js": 89404,
436
436
  "contour.min.js": 37881,
437
437
  "contour.tokens.json": 63893,
438
438
  "contour.themes.json": 24190,
439
- "contour.components.json": 649974,
439
+ "contour.components.json": 654480,
440
440
  "docs/index.json": 6989,
441
441
  "registry/registry.json": 8952,
442
442
  "svg/contour-mark.svg": 1727,
443
- "surfaces/contour-core.min.css": 220811,
444
- "surfaces/contour-data.min.css": 297715,
445
- "surfaces/contour-docs.min.css": 239327,
446
- "surfaces/contour-landing.min.css": 229465,
443
+ "surfaces/contour-core.min.css": 222787,
444
+ "surfaces/contour-data.min.css": 300330,
445
+ "surfaces/contour-docs.min.css": 241303,
446
+ "surfaces/contour-landing.min.css": 231441,
447
447
  "contour-wc-content.esm.min.js": 65100,
448
448
  "contour-wc-core.esm.min.js": 89835,
449
- "contour-wc-dashboard.esm.min.js": 233220,
450
- "contour-wc-data.esm.min.js": 215608,
449
+ "contour-wc-dashboard.esm.min.js": 236922,
450
+ "contour-wc-data.esm.min.js": 219310,
451
451
  "contour-wc-docs.esm.min.js": 35329,
452
452
  "contour-wc-feedback.esm.min.js": 67178,
453
453
  "contour-wc-forms.esm.min.js": 86629,
454
454
  "contour-wc-interaction.esm.min.js": 54094,
455
455
  "contour-wc-layout.esm.min.js": 34928,
456
- "contour-wc-map.esm.min.js": 88933,
456
+ "contour-wc-map.esm.min.js": 91360,
457
457
  "contour-wc-misc.esm.min.js": 37464,
458
458
  "contour-wc-navigation.esm.min.js": 95757,
459
- "contour-wc-ui.esm.min.js": 228756
459
+ "contour-wc-ui.esm.min.js": 230670
460
460
  }
461
461
  }
@@ -1,6 +1,11 @@
1
1
  import { CLASS_ONLY, CONTOUR_EVENTS, ContourBase, MERCATOR_MAX_LAT, MODS, OBSERVED, REGISTERED, applyLabel, bearing, clampLat, contourId, cssLength, define, flagOn, flagOnValue, formatValue, haversine, headingTag, iconMarkup, isRtl, labelText, levelFromAttributes, mercatorResolution, navKey, normaliseLng, onDispose, safeColor, safeHref, sanitizeHtml, setHTML, simple, statusIcon, supportsUntilFound, unwrapBounds, warnBadJson, wcEmitOverlay, withBrownout, PROPERTY_FIELDS, normalizeProperty, propertyDescriptor, propertyTypeOf, contourDiagnosticsEnabled, setContourDiagnostics, MARKER_SHAPES, arcPath, assignMarkers, barRects, compassNeedle, contourPaths, donutSlices, isMissing, marchingSquares, markerStyles, niceTicks, polylinePoints, scaleBarTicks, smoothPath, modalContain, wcReset, wireCombobox, wireCopy, wireMenu, wirePagination, wireRemovable, wireSegmented, wireTabs, wireTree, STATE_FALLBACK, loadRemote, parseArrayAttr, remoteData, remoteInvalidate, remoteRefresh, remoteVisible, renderEmpty, renderStates, stateLabel, virtualRange, watchViewport, wireStates } from "./contour-wc-core.esm.js";
2
2
 
3
3
  // ---- Registration: class-only wrappers run last (define() skips claimed names) ----
4
+ // Layout atoms. Each is the element form of a layout primitive and is inert
5
+ // by design: no data attribute, no state, no events — the `c-*` class is the
6
+ // whole contract, and tools/check-layout.mjs pins the closed set. A
7
+ // `contour-cluster` is not a data component missing a payload; reach for a
8
+ // mark component (chart, legend, table) when the region carries data.
4
9
  define("contour-box", simple(["c-box"]));
5
10
  define("contour-cluster", simple(["c-cluster"]));
6
11
  define("contour-container", simple(["c-container"]));
@@ -1,4 +1,4 @@
1
- export var CONTOUR_VERSION = "1.10.0";
1
+ export var CONTOUR_VERSION = "1.12.0";
2
2
  /* CONTOUR Web Components — two light-DOM layers over ds.css blocks; publishes the frozen `window.ContourElements` registry. */
3
3
  "use strict";
4
4