diff --git a/playground/src/components/layout/SideBar.vue b/playground/src/components/layout/SideBar.vue index 7ab5205..d6d128d 100644 --- a/playground/src/components/layout/SideBar.vue +++ b/playground/src/components/layout/SideBar.vue @@ -74,6 +74,10 @@ const components = [ title: 'SMapControl', link: '/components/s-map-control', }, + { + title: 'SLocationSearch', + link: '/components/s-location-search', + }, ] diff --git a/playground/src/pages/Components/s-location-search.vue b/playground/src/pages/Components/s-location-search.vue new file mode 100644 index 0000000..a4455ad --- /dev/null +++ b/playground/src/pages/Components/s-location-search.vue @@ -0,0 +1,89 @@ + + + diff --git a/src/runtime/components/SLocationSearch.vue b/src/runtime/components/SLocationSearch.vue new file mode 100644 index 0000000..77de3c9 --- /dev/null +++ b/src/runtime/components/SLocationSearch.vue @@ -0,0 +1,143 @@ + + + + + diff --git a/src/runtime/components/SMapControl.vue b/src/runtime/components/SMapControl.vue index 9405494..d4e06cb 100644 --- a/src/runtime/components/SMapControl.vue +++ b/src/runtime/components/SMapControl.vue @@ -50,7 +50,7 @@ interface Props { zoom?: number center: PointExpression lmap: any - variant: string + variant: 'outlined' | 'flat' | 'text' | 'elevated' | 'tonal' | 'plain' } const props = withDefaults(defineProps(), { flex: 'column',