Update dependencies and replace radix-icons-svelte with lucide-svelte

This commit is contained in:
Bart van der Braak 2024-04-22 02:46:04 +02:00
parent 9b0fa288ee
commit eb404980b3
26 changed files with 62 additions and 53 deletions

View file

@ -1,6 +1,6 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'cmdk-sv';
import { MagnifyingGlass } from 'radix-icons-svelte';
import { Search } from 'lucide-svelte';
import { cn } from '$lib/utils';
type $$Props = CommandPrimitive.InputProps;
@ -11,7 +11,7 @@
</script>
<div class="flex items-center border-b px-3" data-cmdk-input-wrapper="">
<MagnifyingGlass class="mr-2 h-4 w-4 shrink-0 opacity-50" />
<Search class="mr-2 h-4 w-4 shrink-0 opacity-50" />
<CommandPrimitive.Input
class={cn(
'flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50',