@opensystemslab/map 0.7.7 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "0.7.7",
3
+ "version": "0.7.9",
4
4
  "license": "MPL-2.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -29,34 +29,34 @@
29
29
  "@turf/union": "^6.5.0",
30
30
  "accessible-autocomplete": "^2.0.4",
31
31
  "file-saver": "^2.0.5",
32
- "govuk-frontend": "^4.7.0",
32
+ "govuk-frontend": "^5.0.0",
33
33
  "jspdf": "^2.5.1",
34
- "lit": "^2.7.6",
34
+ "lit": "^3.0.1",
35
35
  "ol": "^7.5.1",
36
36
  "ol-ext": "^4.0.11",
37
- "ol-mapbox-style": "^11.0.3",
37
+ "ol-mapbox-style": "^12.0.0",
38
38
  "postcode": "^5.1.0",
39
- "proj4": "^2.9.0",
40
- "rambda": "^8.3.0"
39
+ "proj4": "^2.9.2",
40
+ "rambda": "^8.6.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@glorious/pitsby": "^1.36.1",
44
- "@testing-library/dom": "^9.3.1",
45
- "@testing-library/user-event": "^14.4.3",
46
- "@types/file-saver": "^2.0.5",
47
- "@types/node": "^20.4.4",
43
+ "@glorious/pitsby": "^1.37.0",
44
+ "@testing-library/dom": "^9.3.3",
45
+ "@testing-library/user-event": "^14.5.1",
46
+ "@types/file-saver": "^2.0.7",
47
+ "@types/node": "18.16.1",
48
48
  "@types/ol-ext": "npm:@siedlerchr/types-ol-ext@^3.0.9",
49
- "@types/proj4": "^2.5.2",
50
- "@vitest/ui": "^0.34.3",
49
+ "@types/proj4": "^2.5.5",
50
+ "@vitest/ui": "^0.34.7",
51
51
  "happy-dom": "^9.1.9",
52
52
  "husky": "^8.0.3",
53
- "lint-staged": "^13.2.3",
54
- "prettier": "^3.0.2",
53
+ "lint-staged": "^14.0.1",
54
+ "prettier": "^3.1.0",
55
55
  "rollup-plugin-postcss-lit": "^2.1.0",
56
- "sass": "^1.64.2",
57
- "typescript": "^5.1.6",
58
- "vite": "^4.4.9",
59
- "vitest": "0.34.1",
56
+ "sass": "^1.69.5",
57
+ "typescript": "^5.3.3",
58
+ "vite": "^4.4.12",
59
+ "vitest": "0.34.6",
60
60
  "wait-for-expect": "^3.0.2"
61
61
  },
62
62
  "lint-staged": {
@@ -21,6 +21,7 @@ export declare class MyMap extends LitElement {
21
21
  type: string;
22
22
  geometry: {};
23
23
  };
24
+ drawGeojsonDataCopyright: string;
24
25
  drawGeojsonDataBuffer: number;
25
26
  drawPointer: DrawPointerEnum;
26
27
  showFeaturesAtPoint: boolean;
@@ -40,6 +41,7 @@ export declare class MyMap extends LitElement {
40
41
  type: string;
41
42
  features: never[];
42
43
  };
44
+ geojsonDataCopyright: string;
43
45
  geojsonColor: string;
44
46
  geojsonFill: boolean;
45
47
  geojsonBuffer: number;
@@ -56,6 +58,7 @@ export declare class MyMap extends LitElement {
56
58
  useScaleBarStyle: boolean;
57
59
  showNorthArrow: boolean;
58
60
  showPrint: boolean;
61
+ collapseAttributions: boolean;
59
62
  clipGeojsonData: {
60
63
  type: string;
61
64
  geometry: {
@@ -1,5 +1,5 @@
1
1
  import { Tile as TileLayer } from "ol/layer";
2
2
  import VectorTileLayer from "ol/layer/VectorTile";
3
3
  import { OSM } from "ol/source";
4
- export declare function makeRasterBaseMap(apiKey: string, proxyEndpoint: string, copyright: string): TileLayer<OSM>;
5
- export declare function makeOsVectorTileBaseMap(apiKey: string, proxyEndpoint: string, copyright: string): VectorTileLayer | undefined;
4
+ export declare function makeRasterBaseMap(apiKey: string, proxyEndpoint: string, copyright: string, collapseAttributions: boolean): TileLayer<OSM>;
5
+ export declare function makeOsVectorTileBaseMap(apiKey: string, proxyEndpoint: string, copyright: string, collapseAttributions: boolean): VectorTileLayer | undefined;