@mcp-b/geo-maplibre 0.3.12 → 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/README.md +19 -0
- package/dist/components/circle/circle.d.ts +2 -4
- package/dist/components/circle/circle.js +1 -1
- package/dist/components/control/control.d.ts +2 -4
- package/dist/components/control/control.js +1 -1
- package/dist/components/geojson/geojson.d.ts +2 -4
- package/dist/components/geojson/geojson.js +1 -1
- package/dist/components/layer/layer.d.ts +3 -5
- package/dist/components/layer/layer.js +1 -1
- package/dist/components/map/map.d.ts +3 -5
- package/dist/components/map/map.js +2 -2
- package/dist/components/marker/marker.d.ts +3 -5
- package/dist/components/marker/marker.js +2 -2
- package/dist/components/polygon/polygon.d.ts +2 -4
- package/dist/components/polygon/polygon.js +1 -1
- package/dist/components/polyline/polyline.d.ts +2 -4
- package/dist/components/polyline/polyline.js +1 -1
- package/dist/components/popup/popup.d.ts +2 -4
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/scale-control/scale-control.d.ts +2 -4
- package/dist/components/scale-control/scale-control.js +2 -2
- package/dist/components/tilelayer/tilelayer.d.ts +2 -4
- package/dist/components/tilelayer/tilelayer.js +1 -1
- package/dist/{decorate-DcF3lt7P.js → decorate-BkO8ArQg.js} +1 -1
- package/dist/docs/custom-elements.json +1 -1
- package/package.json +16 -16
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @mcp-b/geo-maplibre
|
|
2
|
+
|
|
3
|
+
MapLibre custom elements for the Sigvelo design system. Install `maplibre-gl@^6`,
|
|
4
|
+
`lit@^3` and `lit-html@^3` as peers. MapLibre 6 requires WebGL2.
|
|
5
|
+
|
|
6
|
+
Configure the worker once before mounting a map. With Vite:
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
import { setWorkerUrl } from "maplibre-gl";
|
|
10
|
+
import workerUrl from "maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url";
|
|
11
|
+
import "@mcp-b/geo-maplibre";
|
|
12
|
+
|
|
13
|
+
setWorkerUrl(workerUrl);
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Use `?worker&url` so production builds include the worker’s shared module.
|
|
17
|
+
For other bundlers, follow [MapLibre’s installation instructions](https://maplibre.org/maplibre-gl-js/docs/#installation).
|
|
18
|
+
See the [v6 migration guide](https://maplibre.org/maplibre-gl-js/docs/guides/v5-to-v6-migration-guide/)
|
|
19
|
+
when upgrading from MapLibre 5.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from "lit";
|
|
2
|
-
|
|
3
2
|
//#region src/components/circle/circle.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* A circle overlay on a MapLibre map, rendered as a GeoJSON polygon
|
|
@@ -7,7 +6,7 @@ import { LitElement, PropertyValues } from "lit";
|
|
|
7
6
|
*
|
|
8
7
|
* @tag sigvelo-maplibre-circle
|
|
9
8
|
*/
|
|
10
|
-
declare class SigveloMaplibreCircle extends LitElement {
|
|
9
|
+
export declare class SigveloMaplibreCircle extends LitElement {
|
|
11
10
|
/** @internal */
|
|
12
11
|
static styles: import("lit").CSSResult[];
|
|
13
12
|
/** Center latitude. */
|
|
@@ -47,5 +46,4 @@ declare global {
|
|
|
47
46
|
"sigvelo-maplibre-circle": SigveloMaplibreCircle;
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
|
-
//#endregion
|
|
51
|
-
export { SigveloMaplibreCircle };
|
|
49
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { findMapElement } from "@mcp-b/geo-support/base/find-map-element";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from "lit";
|
|
2
2
|
import { ControlPosition } from "@mcp-b/geo-support/types";
|
|
3
|
-
|
|
4
3
|
//#region src/components/control/control.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* A generic control container for a MapLibre map. Wraps arbitrary content
|
|
@@ -20,7 +19,7 @@ import { ControlPosition } from "@mcp-b/geo-support/types";
|
|
|
20
19
|
* </sigvelo-maplibre-map>
|
|
21
20
|
* ```
|
|
22
21
|
*/
|
|
23
|
-
declare class SigveloMaplibreControl extends LitElement {
|
|
22
|
+
export declare class SigveloMaplibreControl extends LitElement {
|
|
24
23
|
/** @internal */
|
|
25
24
|
static styles: import("lit").CSSResult[];
|
|
26
25
|
/** Position of the control on the map. */
|
|
@@ -43,5 +42,4 @@ declare global {
|
|
|
43
42
|
"sigvelo-maplibre-control": SigveloMaplibreControl;
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
|
-
//#endregion
|
|
47
|
-
export { SigveloMaplibreControl };
|
|
45
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { findMapElement } from "@mcp-b/geo-support/base/find-map-element";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from "lit";
|
|
2
2
|
import { GeoJsonData, StyleFunction } from "@mcp-b/geo-support/types";
|
|
3
|
-
|
|
4
3
|
//#region src/components/geojson/geojson.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Renders GeoJSON data on a MapLibre map as a source + layer.
|
|
@@ -10,7 +9,7 @@ import { GeoJsonData, StyleFunction } from "@mcp-b/geo-support/types";
|
|
|
10
9
|
*
|
|
11
10
|
* @event sigvelo-feature-click - Fired when a GeoJSON feature is clicked.
|
|
12
11
|
*/
|
|
13
|
-
declare class SigveloMaplibreGeojson extends LitElement {
|
|
12
|
+
export declare class SigveloMaplibreGeojson extends LitElement {
|
|
14
13
|
/** @internal */
|
|
15
14
|
static styles: import("lit").CSSResult[];
|
|
16
15
|
/** GeoJSON data. Set via property. */
|
|
@@ -70,5 +69,4 @@ declare global {
|
|
|
70
69
|
"sigvelo-maplibre-geojson": SigveloMaplibreGeojson;
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
|
-
//#endregion
|
|
74
|
-
export { SigveloMaplibreGeojson };
|
|
72
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { SigveloFeatureClickEvent } from "@mcp-b/geo-support/events";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from "lit";
|
|
2
|
-
import maplibregl from "maplibre-gl";
|
|
3
|
-
|
|
2
|
+
import * as maplibregl from "maplibre-gl";
|
|
4
3
|
//#region src/components/layer/layer.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* A generic MapLibre style layer. Allows adding custom layers to the map
|
|
@@ -8,7 +7,7 @@ import maplibregl from "maplibre-gl";
|
|
|
8
7
|
*
|
|
9
8
|
* @tag sigvelo-maplibre-layer
|
|
10
9
|
*/
|
|
11
|
-
declare class SigveloMaplibreLayer extends LitElement {
|
|
10
|
+
export declare class SigveloMaplibreLayer extends LitElement {
|
|
12
11
|
/** @internal */
|
|
13
12
|
static styles: import("lit").CSSResult[];
|
|
14
13
|
/** The layer specification object. Set via property. */
|
|
@@ -31,5 +30,4 @@ declare global {
|
|
|
31
30
|
"sigvelo-maplibre-layer": SigveloMaplibreLayer;
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
|
-
//#endregion
|
|
35
|
-
export { SigveloMaplibreLayer };
|
|
33
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { findMapElement } from "@mcp-b/geo-support/base/find-map-element";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PropertyValues } from "lit";
|
|
2
2
|
import { GeoMapElement } from "@mcp-b/geo-support/base/geo-map-element";
|
|
3
|
-
import maplibregl from "maplibre-gl";
|
|
3
|
+
import * as maplibregl from "maplibre-gl";
|
|
4
4
|
import { FitBoundsOptions, FlyToOptions } from "@mcp-b/geo-support/types";
|
|
5
|
-
|
|
6
5
|
//#region src/components/map/map.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* A MapLibre GL JS map component. Add a `<sigvelo-maplibre-tilelayer>` child
|
|
@@ -18,7 +17,7 @@ import { FitBoundsOptions, FlyToOptions } from "@mcp-b/geo-support/types";
|
|
|
18
17
|
* @event sigvelo-map-zoomend - Fired when zooming ends.
|
|
19
18
|
* @event sigvelo-map-load - Fired when the map finishes loading.
|
|
20
19
|
*/
|
|
21
|
-
declare class SigveloMaplibreMap extends GeoMapElement {
|
|
20
|
+
export declare class SigveloMaplibreMap extends GeoMapElement {
|
|
22
21
|
/** @internal */
|
|
23
22
|
static styles: import("lit").CSSResult[];
|
|
24
23
|
/** Whether to show navigation controls (zoom + compass). */
|
|
@@ -39,5 +38,4 @@ declare global {
|
|
|
39
38
|
"sigvelo-maplibre-map": SigveloMaplibreMap;
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
|
-
//#endregion
|
|
43
|
-
export { SigveloMaplibreMap };
|
|
41
|
+
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { unsafeCSS } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { GeoMapElement } from "@mcp-b/geo-support/base/geo-map-element";
|
|
5
5
|
import { SigveloMapClickEvent, SigveloMapLoadEvent, SigveloMapMoveEndEvent, SigveloMapMoveEvent, SigveloMapZoomEndEvent, SigveloMapZoomEvent } from "@mcp-b/geo-support/events";
|
|
6
|
-
import maplibregl from "maplibre-gl";
|
|
6
|
+
import * as maplibregl from "maplibre-gl";
|
|
7
7
|
import maplibreCss from "maplibre-gl/dist/maplibre-gl.css?raw";
|
|
8
8
|
//#region src/components/map/map.ts
|
|
9
9
|
/** Empty style used when no tilelayer child provides a style-url. */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import maplibregl from "maplibre-gl";
|
|
3
|
-
|
|
2
|
+
import * as maplibregl from "maplibre-gl";
|
|
4
3
|
//#region src/components/marker/marker.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* A marker on a MapLibre map. Must be a child of `<sigvelo-maplibre-map>`.
|
|
@@ -8,7 +7,7 @@ import maplibregl from "maplibre-gl";
|
|
|
8
7
|
*
|
|
9
8
|
* @tag sigvelo-maplibre-marker
|
|
10
9
|
*/
|
|
11
|
-
declare class SigveloMaplibreMarker extends LitElement {
|
|
10
|
+
export declare class SigveloMaplibreMarker extends LitElement {
|
|
12
11
|
/** @internal */
|
|
13
12
|
static styles: import("lit").CSSResult[];
|
|
14
13
|
/** Center latitude. */
|
|
@@ -38,5 +37,4 @@ declare global {
|
|
|
38
37
|
"sigvelo-maplibre-marker": SigveloMaplibreMarker;
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
//#endregion
|
|
42
|
-
export { SigveloMaplibreMarker };
|
|
40
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
|
-
import maplibregl from "maplibre-gl";
|
|
4
|
+
import * as maplibregl from "maplibre-gl";
|
|
5
5
|
import { findMapElement } from "@mcp-b/geo-support/base/find-map-element";
|
|
6
6
|
import styles from "@mcp-b/geo-support/styles/map-child.styles";
|
|
7
7
|
import { clonePopupContent } from "@mcp-b/geo-support/base/popup-content";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from "lit";
|
|
2
|
-
|
|
3
2
|
//#region src/components/polygon/polygon.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* A polygon overlay on a MapLibre map. Must be a child of
|
|
@@ -7,7 +6,7 @@ import { LitElement, PropertyValues } from "lit";
|
|
|
7
6
|
*
|
|
8
7
|
* @tag sigvelo-maplibre-polygon
|
|
9
8
|
*/
|
|
10
|
-
declare class SigveloMaplibrePolygon extends LitElement {
|
|
9
|
+
export declare class SigveloMaplibrePolygon extends LitElement {
|
|
11
10
|
/** @internal */
|
|
12
11
|
static styles: import("lit").CSSResult[];
|
|
13
12
|
/** Array of [lat, lng] coordinate pairs forming the polygon. Set via property. */
|
|
@@ -42,5 +41,4 @@ declare global {
|
|
|
42
41
|
"sigvelo-maplibre-polygon": SigveloMaplibrePolygon;
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
|
-
//#endregion
|
|
46
|
-
export { SigveloMaplibrePolygon };
|
|
44
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { findMapElement } from "@mcp-b/geo-support/base/find-map-element";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from "lit";
|
|
2
|
-
|
|
3
2
|
//#region src/components/polyline/polyline.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* A polyline (line string) on a MapLibre map. Must be a child of
|
|
@@ -7,7 +6,7 @@ import { LitElement, PropertyValues } from "lit";
|
|
|
7
6
|
*
|
|
8
7
|
* @tag sigvelo-maplibre-polyline
|
|
9
8
|
*/
|
|
10
|
-
declare class SigveloMaplibrePolyline extends LitElement {
|
|
9
|
+
export declare class SigveloMaplibrePolyline extends LitElement {
|
|
11
10
|
/** @internal */
|
|
12
11
|
static styles: import("lit").CSSResult[];
|
|
13
12
|
/** Array of [lat, lng] coordinate pairs. Set via property. */
|
|
@@ -40,5 +39,4 @@ declare global {
|
|
|
40
39
|
"sigvelo-maplibre-polyline": SigveloMaplibrePolyline;
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
|
-
//#endregion
|
|
44
|
-
export { SigveloMaplibrePolyline };
|
|
42
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { findMapElement } from "@mcp-b/geo-support/base/find-map-element";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
|
|
3
2
|
//#region src/components/popup/popup.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Popup content for a MapLibre marker. Nest inside a
|
|
@@ -11,7 +10,7 @@ import { LitElement } from "lit";
|
|
|
11
10
|
* @tag sigvelo-maplibre-popup
|
|
12
11
|
* @slot - Popup content.
|
|
13
12
|
*/
|
|
14
|
-
declare class SigveloMaplibrePopup extends LitElement {
|
|
13
|
+
export declare class SigveloMaplibrePopup extends LitElement {
|
|
15
14
|
/** @internal */
|
|
16
15
|
static styles: import("lit").CSSResult[];
|
|
17
16
|
/** Maximum width of the popup in pixels. */
|
|
@@ -23,5 +22,4 @@ declare global {
|
|
|
23
22
|
"sigvelo-maplibre-popup": SigveloMaplibrePopup;
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { SigveloMaplibrePopup };
|
|
25
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import styles from "@mcp-b/geo-support/styles/map-child.styles";
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
2
|
import { ControlPosition } from "@mcp-b/geo-support/types";
|
|
3
|
-
|
|
4
3
|
//#region src/components/scale-control/scale-control.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* A scale control for a MapLibre map. Must be a child of `<sigvelo-maplibre-map>`.
|
|
7
6
|
*
|
|
8
7
|
* @tag sigvelo-maplibre-scale-control
|
|
9
8
|
*/
|
|
10
|
-
declare class SigveloMaplibreScaleControl extends LitElement {
|
|
9
|
+
export declare class SigveloMaplibreScaleControl extends LitElement {
|
|
11
10
|
/** @internal */
|
|
12
11
|
static styles: import("lit").CSSResult[];
|
|
13
12
|
/** Position of the control on the map. */
|
|
@@ -30,5 +29,4 @@ declare global {
|
|
|
30
29
|
"sigvelo-maplibre-scale-control": SigveloMaplibreScaleControl;
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { SigveloMaplibreScaleControl };
|
|
32
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
|
-
import maplibregl from "maplibre-gl";
|
|
4
|
+
import * as maplibregl from "maplibre-gl";
|
|
5
5
|
import { findMapElement } from "@mcp-b/geo-support/base/find-map-element";
|
|
6
6
|
import styles from "@mcp-b/geo-support/styles/map-child.styles";
|
|
7
7
|
//#region src/components/scale-control/scale-control.ts
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from "lit";
|
|
2
|
-
|
|
3
2
|
//#region src/components/tilelayer/tilelayer.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* A tile layer for a MapLibre map. Supports both vector tile styles (via
|
|
@@ -24,7 +23,7 @@ import { LitElement, PropertyValues } from "lit";
|
|
|
24
23
|
* ></sigvelo-maplibre-tilelayer>
|
|
25
24
|
* ```
|
|
26
25
|
*/
|
|
27
|
-
declare class SigveloMaplibreTilelayer extends LitElement {
|
|
26
|
+
export declare class SigveloMaplibreTilelayer extends LitElement {
|
|
28
27
|
/** @internal */
|
|
29
28
|
static styles: import("lit").CSSResult[];
|
|
30
29
|
/**
|
|
@@ -61,5 +60,4 @@ declare global {
|
|
|
61
60
|
"sigvelo-maplibre-tilelayer": SigveloMaplibreTilelayer;
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
|
-
//#endregion
|
|
65
|
-
export { SigveloMaplibreTilelayer };
|
|
63
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "../../decorate-
|
|
1
|
+
import { t as __decorate } from "../../decorate-BkO8ArQg.js";
|
|
2
2
|
import { LitElement, html } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { findMapElement } from "@mcp-b/geo-support/base/find-map-element";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.148.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/geo-maplibre",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "MapLibre GL JS web components for Sigvelo, built with Lit.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"custom-elements",
|
|
@@ -34,33 +34,33 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@mcp-b/geo-support": "0.3.
|
|
38
|
-
"@mcp-b/wc-support": "0.3.
|
|
37
|
+
"@mcp-b/geo-support": "0.3.13",
|
|
38
|
+
"@mcp-b/wc-support": "0.3.13"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@custom-elements-manifest/analyzer": "^0.
|
|
42
|
-
"@storybook/addon-a11y": "
|
|
43
|
-
"@storybook/addon-docs": "
|
|
44
|
-
"@storybook/addon-vitest": "
|
|
41
|
+
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
42
|
+
"@storybook/addon-a11y": "10.5.7",
|
|
43
|
+
"@storybook/addon-docs": "10.5.7",
|
|
44
|
+
"@storybook/addon-vitest": "10.5.7",
|
|
45
45
|
"@storybook/web-components-vite": "10.5.7",
|
|
46
|
-
"@vitest/browser-playwright": "^4.1.
|
|
47
|
-
"@vitest/coverage-v8": "^4.1.
|
|
46
|
+
"@vitest/browser-playwright": "^4.1.11",
|
|
47
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
48
48
|
"@wc-toolkit/cem-inheritance": "^1.2.5",
|
|
49
49
|
"@wc-toolkit/cem-sorter": "^1.0.1",
|
|
50
50
|
"@wc-toolkit/type-parser": "^1.3.1",
|
|
51
|
-
"maplibre-gl": "^
|
|
52
|
-
"playwright": "
|
|
53
|
-
"storybook": "
|
|
51
|
+
"maplibre-gl": "^6.9.0",
|
|
52
|
+
"playwright": "1.61.1",
|
|
53
|
+
"storybook": "10.5.7",
|
|
54
54
|
"tinyglobby": "^0.2.17",
|
|
55
55
|
"typescript": "^6.0.3",
|
|
56
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.
|
|
57
|
-
"vite-plugin-static-copy": "^
|
|
58
|
-
"vitest": "^4.1.
|
|
56
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
|
|
57
|
+
"vite-plugin-static-copy": "^4.1.1",
|
|
58
|
+
"vitest": "^4.1.11"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"lit": "^3.0.0",
|
|
62
62
|
"lit-html": "^3.0.0",
|
|
63
|
-
"maplibre-gl": "^
|
|
63
|
+
"maplibre-gl": "^6.0.0"
|
|
64
64
|
},
|
|
65
65
|
"customElements": "dist/docs/custom-elements.json",
|
|
66
66
|
"scripts": {
|