Removed default lucide icons and updated some packages
This commit is contained in:
@@ -7,8 +7,8 @@ import {
|
||||
DropdownMenuItemIndicator,
|
||||
useForwardPropsEmits
|
||||
} from "radix-vue"
|
||||
import { Check } from "lucide-vue-next"
|
||||
import { cn } from "~/lib/utils"
|
||||
import { PhCheck } from "@phosphor-icons/vue";
|
||||
|
||||
const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
|
||||
const emits = defineEmits<DropdownMenuCheckboxItemEmits>()
|
||||
@@ -34,7 +34,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
||||
>
|
||||
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
||||
<DropdownMenuItemIndicator>
|
||||
<Check class="w-4 h-4" />
|
||||
<PhCheck class="size-4" />
|
||||
</DropdownMenuItemIndicator>
|
||||
</span>
|
||||
<slot />
|
||||
|
||||
@@ -7,8 +7,8 @@ import {
|
||||
type DropdownMenuRadioItemProps,
|
||||
useForwardPropsEmits
|
||||
} from "radix-vue"
|
||||
import { Circle } from "lucide-vue-next"
|
||||
import { cn } from "~/lib/utils"
|
||||
import { PhCircle } from "@phosphor-icons/vue";
|
||||
|
||||
const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
@@ -33,9 +33,9 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
||||
)
|
||||
"
|
||||
>
|
||||
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
||||
<span class="absolute left-2 flex size-3.5 items-center justify-center">
|
||||
<DropdownMenuItemIndicator>
|
||||
<Circle class="h-2 w-2 fill-current" />
|
||||
<PhCircle class="size-2 text-current" />
|
||||
</DropdownMenuItemIndicator>
|
||||
</span>
|
||||
<slot />
|
||||
|
||||
Reference in New Issue
Block a user