@opensystemslab/map 1.0.0-alpha.0 → 1.0.0-alpha.2

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.
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as Ua, g as Po } from "./index-BcNEfKoK.mjs";
1
+ import { c as Ke, _ as Ua, g as Po } from "./index-B9kc5fOE.mjs";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, D = (
package/dist/index.html CHANGED
@@ -52,6 +52,8 @@
52
52
  maxZoom="23"
53
53
  drawMode
54
54
  drawMany
55
+ basemap="MapboxSatellite"
56
+ showCentreMarker
55
57
  osCopyright="© Crown copyright and database rights 2024 OS (0)100024857"
56
58
  osProxyEndpoint="https://api.editor.planx.dev/proxy/ordnance-survey"
57
59
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "1.0.0-alpha.0",
3
+ "version": "1.0.0-alpha.2",
4
4
  "license": "MPL-2.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "@turf/union": "^7.0.0",
30
30
  "accessible-autocomplete": "^2.0.4",
31
31
  "file-saver": "^2.0.5",
32
- "govuk-frontend": "^5.4.0",
32
+ "govuk-frontend": "^5.6.0",
33
33
  "jspdf": "^2.5.1",
34
34
  "lit": "^3.0.1",
35
35
  "ol": "^9.1.0",
@@ -53,9 +53,9 @@
53
53
  "lint-staged": "^15.2.7",
54
54
  "prettier": "^3.2.5",
55
55
  "rollup-plugin-postcss-lit": "^2.1.0",
56
- "sass": "^1.69.5",
56
+ "sass": "^1.77.8",
57
57
  "typescript": "^5.5.2",
58
- "vite": "^5.3.2",
58
+ "vite": "^5.4.2",
59
59
  "vitest": "0.34.6",
60
60
  "wait-for-expect": "^3.0.2"
61
61
  },
@@ -9,6 +9,7 @@ type ResetControlImageEnum = "unicode" | "trash";
9
9
  export declare class MyMap extends LitElement {
10
10
  static styles: import("lit").CSSResult;
11
11
  id: string;
12
+ dataTestId: string;
12
13
  latitude: number;
13
14
  longitude: number;
14
15
  basemap: BasemapEnum;
@@ -25,7 +26,7 @@ export declare class MyMap extends LitElement {
25
26
  drawPointColor: string;
26
27
  drawGeojsonData: {
27
28
  type: string;
28
- geometry: {};
29
+ features: never[];
29
30
  };
30
31
  drawGeojsonDataCopyright: string;
31
32
  drawGeojsonDataBuffer: number;