@fusion.dev/helix-docs 0.110.2 → 0.110.4

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/content/maps.mdx CHANGED
@@ -74,7 +74,8 @@ followTheme(map, frame, style)
74
74
  Use `mapLibreDriver(map)` for MapLibre GL JS 5 or 6 and `leafletDriver(map, L)`
75
75
  for Leaflet 1.9. Neither renderer is bundled with Helix, so you can use the
76
76
  version you already have. Leaflet draws routes, areas, and points only when you
77
- pass it `L`.
77
+ pass it `L`. On Leaflet, points are not gathered into counts, and markers move
78
+ to their new places when an animated zoom ends.
78
79
 
79
80
  MapLibre 6 ships as modules and runs its worker from its own file,
80
81
  `maplibre-gl-worker.mjs`, which imports `maplibre-gl-shared.mjs` beside it.
@@ -164,7 +165,10 @@ lines up with the map that replaces it. `width` and `height` are the box it is
164
165
  drawn for, and a smaller box shows its middle. A snapshot draws the land, water,
165
166
  parks, buildings, and roads, and leaves the labels to MapLibre. Its colors are
166
167
  your theme's tokens, so it is light or dark with the page and follows a theme
167
- change. It resolves to an empty string when the tiles cannot be read.
168
+ change. It resolves to an empty string when any tile it needs cannot be read
169
+ in time, so a snapshot is whole or absent and the map draws in its place. Each
170
+ request is given `timeout` milliseconds, 3000 by default. Cache only a snapshot
171
+ that is not empty.
168
172
 
169
173
  In a framework that renders the markup for you, such as React, put the snapshot
170
174
  in an element that is a direct child of the frame and has the
@@ -2350,7 +2350,8 @@ followTheme(map, frame, style)
2350
2350
  Use \`mapLibreDriver(map)\` for MapLibre GL JS 5 or 6 and \`leafletDriver(map, L)\`
2351
2351
  for Leaflet 1.9. Neither renderer is bundled with Helix, so you can use the
2352
2352
  version you already have. Leaflet draws routes, areas, and points only when you
2353
- pass it \`L\`.
2353
+ pass it \`L\`. On Leaflet, points are not gathered into counts, and markers move
2354
+ to their new places when an animated zoom ends.
2354
2355
 
2355
2356
  MapLibre 6 ships as modules and runs its worker from its own file,
2356
2357
  \`maplibre-gl-worker.mjs\`, which imports \`maplibre-gl-shared.mjs\` beside it.
@@ -2440,7 +2441,10 @@ lines up with the map that replaces it. \`width\` and \`height\` are the box it
2440
2441
  drawn for, and a smaller box shows its middle. A snapshot draws the land, water,
2441
2442
  parks, buildings, and roads, and leaves the labels to MapLibre. Its colors are
2442
2443
  your theme's tokens, so it is light or dark with the page and follows a theme
2443
- change. It resolves to an empty string when the tiles cannot be read.
2444
+ change. It resolves to an empty string when any tile it needs cannot be read
2445
+ in time, so a snapshot is whole or absent and the map draws in its place. Each
2446
+ request is given \`timeout\` milliseconds, 3000 by default. Cache only a snapshot
2447
+ that is not empty.
2444
2448
 
2445
2449
  In a framework that renders the markup for you, such as React, put the snapshot
2446
2450
  in an element that is a direct child of the frame and has the
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-docs",
3
3
  "description": "Versioned documentation content and registry for Helix.",
4
- "version": "0.110.2",
4
+ "version": "0.110.4",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -36,8 +36,8 @@
36
36
  },
37
37
  "bugs": "https://github.com/project-fusion/fusion/issues",
38
38
  "devDependencies": {
39
- "@fusion.dev/helix-cem": "0.110.2",
40
- "@fusion.dev/helix-testing": "0.110.2",
39
+ "@fusion.dev/helix-cem": "0.110.4",
40
+ "@fusion.dev/helix-testing": "0.110.4",
41
41
  "@fusion.dev/scripts": "0.0.0-dev",
42
42
  "lit": "^3.2.1",
43
43
  "playwright": "^1.62.1"