@swr-data-lab/components 1.12.1 → 1.12.3
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/.storybook/preview.ts
CHANGED
package/package.json
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@maplibre/maplibre-gl-geocoder": "^1.8.0",
|
|
23
|
-
"@versatiles/style": "^5.6.0",
|
|
24
23
|
"maplibre-gl": "^5.5.0",
|
|
25
24
|
"svelte-select": "^5.8.3"
|
|
26
25
|
},
|
|
@@ -38,6 +37,7 @@
|
|
|
38
37
|
"@sveltejs/adapter-auto": "^3.0.0",
|
|
39
38
|
"@sveltejs/kit": "^2.0.0",
|
|
40
39
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
40
|
+
"@versatiles/style": "^5.6.0",
|
|
41
41
|
"@vitest/browser": "^3.1.1",
|
|
42
42
|
"@vitest/coverage-v8": "^3.1.1",
|
|
43
43
|
"concurrently": "^9.0.1",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"svelte": "./src/index.js"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
"version": "1.12.
|
|
70
|
+
"version": "1.12.3",
|
|
71
71
|
"overrides": {
|
|
72
72
|
"storybook": "$storybook"
|
|
73
73
|
}
|
package/src/index.js
CHANGED
|
@@ -1,24 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
export { default as Autocomplete } from './Autocomplete/Autocomplete.svelte';
|
|
3
|
-
export { default as Switcher } from './Switcher/Switcher.svelte';
|
|
4
|
-
export { default as Input } from './Input/Input.svelte';
|
|
5
|
-
export { default as Button } from './Button/Button.svelte';
|
|
6
|
-
export { default as Select } from './Select/Select.svelte';
|
|
1
|
+
// Design Tokens
|
|
7
2
|
export { default as DesignTokens } from './DesignTokens/DesignTokens.svelte';
|
|
8
3
|
export { tokens as tokens } from './DesignTokens/index.js';
|
|
4
|
+
|
|
5
|
+
// Typography
|
|
6
|
+
export { default as Headline } from './Headline/Headline.svelte';
|
|
7
|
+
export { default as Copy } from './Copy/Copy.svelte';
|
|
8
|
+
export { default as Caption } from './Caption/Caption.svelte';
|
|
9
|
+
export { default as Note } from './Note/Note.svelte';
|
|
10
|
+
|
|
11
|
+
// Display
|
|
12
|
+
export { default as Card } from './Card/Card.svelte';
|
|
13
|
+
|
|
14
|
+
// Chart
|
|
9
15
|
export { default as ChartHeader } from './ChartHeader/ChartHeader.svelte';
|
|
10
16
|
export { default as ChartFooter } from './ChartFooter/ChartFooter.svelte';
|
|
17
|
+
export { default as Logotype } from './Logotype/Logotype.svelte';
|
|
11
18
|
export { default as Middot } from './Middot/Middot.svelte';
|
|
12
|
-
export { default as FormLabel } from './FormLabel/FormLabel.svelte';
|
|
13
19
|
|
|
20
|
+
// Maplibre
|
|
14
21
|
export { default as Map } from './maplibre/Map/Map.svelte';
|
|
15
22
|
export { SWRDataLabLight } from './maplibre/MapStyle';
|
|
16
23
|
export { default as MapControl } from './maplibre/MapControl/MapControl.svelte';
|
|
17
24
|
export { default as AttributionControl } from './maplibre/AttributionControl/AttributionControl.svelte';
|
|
18
|
-
export { default as
|
|
25
|
+
export { default as GeocoderControl } from './maplibre/GeocoderControl/GeocoderControl.svelte';
|
|
19
26
|
export { default as NavigationControl } from './maplibre/NavigationControl/NavigationControl.svelte';
|
|
20
27
|
export { default as ScaleControl } from './maplibre/ScaleControl/ScaleControl.svelte';
|
|
21
28
|
export { default as VectorLayer } from './maplibre/VectorLayer/VectorLayer.svelte';
|
|
22
29
|
export { default as VectorTileSource } from './maplibre/VectorTileSource/VectorTileSource.svelte';
|
|
23
30
|
export { default as Tooltip } from './maplibre/Tooltip/Tooltip.svelte';
|
|
24
31
|
export { default as WithLinkLocation } from './maplibre/WithLinkLocation/WithLinkLocation.svelte';
|
|
32
|
+
|
|
33
|
+
// Form
|
|
34
|
+
export { default as FormLabel } from './FormLabel/FormLabel.svelte';
|
|
35
|
+
export { default as Switcher } from './Switcher/Switcher.svelte';
|
|
36
|
+
export { default as Input } from './Input/Input.svelte';
|
|
37
|
+
export { default as Button } from './Button/Button.svelte';
|
|
38
|
+
export { default as Select } from './Select/Select.svelte';
|
|
39
|
+
|
|
40
|
+
// Deprecated
|
|
41
|
+
export { default as Autocomplete } from './Autocomplete/Autocomplete.svelte';
|
|
@@ -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.
|
|
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;
|