@swr-data-lab/components 1.12.1 → 1.12.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.
@@ -21,7 +21,7 @@ const preview: Preview = {
21
21
  'Control',
22
22
  [
23
23
  'ScaleControl',
24
- 'GeoCoderControl',
24
+ 'GeocoderControl',
25
25
  'AttributionControl',
26
26
  'NavigationControl',
27
27
  'MapControl'
package/package.json CHANGED
@@ -67,7 +67,7 @@
67
67
  "svelte": "./src/index.js"
68
68
  }
69
69
  },
70
- "version": "1.12.1",
70
+ "version": "1.12.2",
71
71
  "overrides": {
72
72
  "storybook": "$storybook"
73
73
  }
package/src/index.js CHANGED
@@ -15,7 +15,7 @@ export { default as Map } from './maplibre/Map/Map.svelte';
15
15
  export { SWRDataLabLight } from './maplibre/MapStyle';
16
16
  export { default as MapControl } from './maplibre/MapControl/MapControl.svelte';
17
17
  export { default as AttributionControl } from './maplibre/AttributionControl/AttributionControl.svelte';
18
- export { default as GeoCoderControl } from './maplibre/GeoCoderControl/GeoCoderControl.svelte';
18
+ export { default as GeocoderControl } from './maplibre/GeocoderControl/GeocoderControl.svelte';
19
19
  export { default as NavigationControl } from './maplibre/NavigationControl/NavigationControl.svelte';
20
20
  export { default as ScaleControl } from './maplibre/ScaleControl/ScaleControl.svelte';
21
21
  export { default as VectorLayer } from './maplibre/VectorLayer/VectorLayer.svelte';
@@ -9,7 +9,7 @@
9
9
  import { SWRDataLabLight } from '../MapStyle';
10
10
 
11
11
  const { Story } = defineMeta({
12
- title: 'Maplibre/Control/GeoCoderControl',
12
+ title: 'Maplibre/Control/GeocoderControl',
13
13
  component: GeocoderControl
14
14
  });
15
15
  </script>
@@ -11,13 +11,13 @@
11
11
 
12
12
  import { getMapContext } from '../context.svelte.js';
13
13
  import { onDestroy } from 'svelte';
14
- import { resetLayerEventListener } from '../utils.ts';
14
+ import { resetLayerEventListener } from '../utils.js';
15
15
 
16
16
  interface VectorLayerProps {
17
17
  id: string;
18
18
  sourceId: string;
19
19
  sourceLayer: string;
20
- type: 'line' | 'fill';
20
+ type: 'line' | 'fill' | 'circle' | 'symbol';
21
21
  placeBelow: string;
22
22
  visible?: boolean;
23
23
  minZoom?: number;