@nika-js/onlymap 0.6.17 → 0.6.19

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 (32) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{LercDecode.es-DjPA9zLm.js → LercDecode.es-Butn4LVX.js} +1 -1
  3. package/dist/{basemap-DwN5jPCj.js → basemap-qZH_aNYE.js} +803 -784
  4. package/dist/basemap.d.ts +9 -1
  5. package/dist/declarative-filter.d.ts +1 -0
  6. package/dist/effects.d.ts +14 -2
  7. package/dist/elements/om-map.d.ts +15 -0
  8. package/dist/elements/om-story.d.ts +3 -1
  9. package/dist/{geoparquet-DG3VtNgs.js → geoparquet-DWQCUg6N.js} +1 -1
  10. package/dist/ifc-Dc-TdSJr.js +2 -3
  11. package/dist/{index-DceORL-v.js → index-4St6BumW.js} +2 -2
  12. package/dist/{index-Yl9rVUWh.js → index-BTM6Mblt.js} +1 -1
  13. package/dist/{index-DlXIfdhF.js → index-CNlULiHm.js} +1 -1
  14. package/dist/{index-CX4qxgVT.js → index-CagRqDDL.js} +11538 -11300
  15. package/dist/{index-BM-txQRw.js → index-CeeQ7CH4.js} +1 -1
  16. package/dist/{lerc-BD1Any2Z.js → lerc-cWjnr__g.js} +2 -2
  17. package/dist/onlymap.standalone.js +21886 -21630
  18. package/dist/onlymapjs.js +1 -1
  19. package/dist/paced-flyby.d.ts +18 -0
  20. package/dist/programmatic.d.ts +9 -0
  21. package/dist/{raster-Cv5w_kS7.js → raster-BxxtJxxs.js} +2 -2
  22. package/dist/{raster-pipeline-Nl0EF5em.js → raster-pipeline-DlppdBYw.js} +1 -1
  23. package/dist/runtime-core.d.ts +17 -0
  24. package/dist/surface-anchor.d.ts +17 -0
  25. package/dist/version.d.ts +1 -1
  26. package/dist/{zarr-aau6eARi.js → zarr-BtxMPczZ.js} +2 -2
  27. package/docs/design/trace-link-failure.md +20 -0
  28. package/llms.txt +2 -0
  29. package/onlymapjs.html-data.json +31 -0
  30. package/package.json +1 -1
  31. package/skills/onlymapjs/SKILL.md +1 -1
  32. package/skills/onlymapjs/references/syntax.md +4 -2
package/CHANGELOG.md CHANGED
@@ -8,6 +8,23 @@ Note: npm collapsed a few closely-spaced releases — the GPX/FlatGeobuf (0.5.4)
8
8
  and GeoParquet (0.5.5) work shipped to npm together as **0.5.6**, so npm's
9
9
  version list jumps 0.5.3 → 0.5.6. Each logical version is listed here regardless.
10
10
 
11
+ ## 0.6.19 — 2026-08-26
12
+
13
+ ### Fixed
14
+ - **Webpack-based apps can now bundle OnlyMapJS.** Next.js, Create React App, and plain-webpack builds failed outright on the package (webpack misread a fallback `data:` import inside the bundled loaders as a directory to enumerate). The emitted bundles now carry the `webpackIgnore` hints webpack needs, and a standing build check keeps it that way. No consumer action needed.
15
+ - **Rendered frames over a basemap are now deterministic.** `whenSettled()` waits for the basemap's own tiles as well as 3D tilesets, and under `data-om-recording` the basemap's label fade-in is disabled — so the same frame of a 2D basemap story renders byte-identically even on a warm page rendering frames out of order (previously the label layer could differ with playback history).
16
+
17
+ ## 0.6.18 — 2026-08-25
18
+
19
+ ### Fixed
20
+ - **A warning when a categorical filter can't do what it looks like it does.** deck.gl's GPU category mask holds at most 128 distinct values per dimension — filtering on a higher-cardinality field (e.g. country names over a world dataset) silently made the overflow rows vanish from the map while widget statistics still counted them. The library now warns, once per layer, naming the field and the ceiling, with the fix to use.
21
+ - **Trace animations no longer vanish on some machines.** Layer settings could leak between layers of the same type (a shared internal default was mutated in place), which could push a trace outline's GPU program over its attribute budget — the outline then silently never rendered. Defaults are now copied per layer.
22
+
23
+ ### Added
24
+ - **Drive a story from an external video renderer (Remotion-class).** Three seams for frameworks that own the clock and ask for arbitrary frames: `mapEl.whenSettled()` (also on `MapController`) resolves once the map has genuinely finished drawing — the natural await for tests and screenshots too; `story.seek(t, { interpolateCamera: true })` lands mid-fly-to seeks on the real flight arc instead of snapping to the leg's end (this also fixes scrubbers); and the `data-om-recording` attribute is now a full determinism switch — camera moves land instantly, effect verbs jump to their end state, transitions and gesture interruption turn off, and `snapshot()` returns byte-stable captures. Acceptance-tested: the same frame renders byte-identically across separate page loads and out-of-order.
25
+ - **On-map annotations without popups**: `anchor="surface"` on a `TextLayer` (or any layer) anchors each row inside its own polygon — labels sit on the shapes themselves, no per-row coordinates authored; concave shapes get an always-inside placement.
26
+ - **Travel-map trace animations**: `<om-step action="trace" follow easing="ease-in-out">` — `follow` locks the camera to the line's drawing tip as it traces (the classic animated-travel-map move), and `easing` picks the clock curve (`linear`, `ease-in`, `ease-out`, `ease-in-out`).
27
+
11
28
  ## 0.6.17 — 2026-08-25
12
29
 
13
30
  ### Added
@@ -19,7 +19,7 @@ async function v(N = {}) {
19
19
  if (n) {
20
20
  const { createRequire: I } = await import(
21
21
  /*webpackIgnore:true*/
22
- "./lerc-BD1Any2Z.js"
22
+ "./lerc-cWjnr__g.js"
23
23
  ).then((g) => g._);
24
24
  var O = I(import.meta.url);
25
25
  }