@radiofrance/svelte-leaflet 0.1.0-alpha.14 → 0.1.0-alpha.15

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/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export { default as MarkerClusterGroup } from './MarkerClusterGroup.svelte';
6
6
  export { default as Polyline } from './Polyline.svelte';
7
7
  export { default as Popup } from './Popup.svelte';
8
8
  export { default as Circle } from './Circle.svelte';
9
+ export { default as Polygon } from './Polygon.svelte';
9
10
  export type { Marker as LeafletMarker } from './Marker.svelte';
10
11
  export type { Circle as LeafletCircle, CircleOptions, DragEndEvent, ErrorEvent, LatLngExpression, LatLngLiteral, LatLngTuple, LayerEvent, LayersControlEvent, LeafletEvent, LeafletKeyboardEvent, LeafletMouseEvent, LocationEvent, Map as LeafletMap, MapOptions, MarkerOptions, PathOptions, PopupEvent, PopupOptions, ResizeEvent, TooltipEvent } from 'leaflet';
11
12
  export declare function bindEvents(instance: Evented, dispatch: EventDispatcher<Record<string, unknown>>, events: readonly string[]): void;
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ export { default as MarkerClusterGroup } from './MarkerClusterGroup.svelte';
5
5
  export { default as Polyline } from './Polyline.svelte';
6
6
  export { default as Popup } from './Popup.svelte';
7
7
  export { default as Circle } from './Circle.svelte';
8
+ export { default as Polygon } from './Polygon.svelte';
8
9
  export function bindEvents(instance, dispatch, events) {
9
10
  events.forEach((event) => {
10
11
  instance.on(event, (e) => dispatch(event, e));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radiofrance/svelte-leaflet",
3
- "version": "0.1.0-alpha.14",
3
+ "version": "0.1.0-alpha.15",
4
4
  "description": "A library that wraps leaflet classes in domless/renderless svelte components.",
5
5
  "keywords": [
6
6
  "svelte",