@sierragridteam/design-system 0.3.1 → 0.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sierragridteam/design-system",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -13,8 +13,8 @@
13
13
  "./assets/*": "./assets/*"
14
14
  },
15
15
  "peerDependencies": {
16
- "astro": "^7.3.4",
17
- "maplibre-gl": "^5.24.0"
16
+ "astro": "^7.4.7",
17
+ "maplibre-gl": "^6.17.0"
18
18
  },
19
19
  "peerDependenciesMeta": {
20
20
  "maplibre-gl": {
@@ -34,5 +34,5 @@
34
34
  "access": "public",
35
35
  "registry": "https://registry.npmjs.org/"
36
36
  },
37
- "gitHead": "f90196f9027ad76d88633445fe0a9817ffbd82f9"
37
+ "gitHead": "a7b1c9b3a2c15219b88fcc5b4db82c3df196c2e0"
38
38
  }
@@ -85,7 +85,9 @@ const {
85
85
  )}
86
86
  </sierra-geo-map>
87
87
  <script>
88
- import maplibregl from "maplibre-gl";
88
+ import * as maplibregl from "maplibre-gl";
89
+ import workerUrl from "maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url";
90
+ maplibregl.setWorkerUrl(workerUrl);
89
91
  import type { FeatureCollection, Geometry } from "geojson";
90
92
  import "maplibre-gl/dist/maplibre-gl.css";
91
93
  import { restyleBasemap, type StyleDoc } from "../lib/basemap-style";