@fusion.dev/helix-map 0.229.0 → 0.230.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.
@@ -543,7 +543,7 @@ export const connectMap = (frame, driver, options = {}) => {
543
543
  return [];
544
544
  }
545
545
  const edge = layer.layerKind === 'route' ? settledColor(layer, 'border-top-color') : color;
546
- const dotted = layer.layerKind === 'route' && layer.variant === 'dotted';
546
+ const dotted = layer.layerKind === 'route' && layer.stroke === 'dotted';
547
547
  const words = layer.layerKind === 'area' ? layer.caption?.trim() : undefined;
548
548
  const spec = {
549
549
  ...(words ? { caption: captionOf(layer, words, color) } : {}),
@@ -850,7 +850,7 @@ export const connectMap = (frame, driver, options = {}) => {
850
850
  styled.disconnect();
851
851
  for (const layer of [...frame.children].filter(isLayer)) {
852
852
  styled.observe(layer, {
853
- attributeFilter: ['class', 'hidden', 'style', 'tone', 'variant'],
853
+ attributeFilter: ['class', 'hidden', 'style', 'tone', 'stroke'],
854
854
  attributes: true,
855
855
  });
856
856
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-map",
3
3
  "description": "Connects the Helix Map frame to a map renderer: MapLibre, Leaflet, or a driver of your own.",
4
- "version": "0.229.0",
4
+ "version": "0.230.0",
5
5
  "license": "MIT",
6
6
  "author": "Fusion Development Group",
7
7
  "repository": {
@@ -44,14 +44,14 @@
44
44
  },
45
45
  "bugs": "https://github.com/project-fusion/fusion/issues",
46
46
  "dependencies": {
47
- "@fusion.dev/helix-core": "0.229.0",
48
- "@fusion.dev/helix-icons": "0.229.0",
47
+ "@fusion.dev/helix-core": "0.230.0",
48
+ "@fusion.dev/helix-icons": "0.230.0",
49
49
  "@mapbox/vector-tile": "^3.0.0",
50
50
  "pbf": "^5.1.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@fusion.dev/helix-headless": "0.229.0",
54
- "@fusion.dev/helix-testing": "0.229.0",
53
+ "@fusion.dev/helix-headless": "0.230.0",
54
+ "@fusion.dev/helix-testing": "0.230.0",
55
55
  "@maplibre/maplibre-gl-style-spec": "^26.4.4",
56
56
  "@types/bun": "^1.4.4",
57
57
  "@types/leaflet": "^1.9.20",