Removed default lucide icons and updated some packages

This commit is contained in:
Alexis
2025-04-22 14:09:25 +02:00
parent d02bfacd57
commit 73f5e01244
21 changed files with 409 additions and 398 deletions

View File

@@ -1,9 +1,9 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { PaginationPrev, type PaginationPrevProps } from "radix-vue"
import { ChevronLeft } from "lucide-vue-next"
import { Button } from "~/components/ui/button"
import { cn } from "~/lib/utils"
import { PhCaretLeft } from "@phosphor-icons/vue"
const props = withDefaults(
defineProps<PaginationPrevProps & { class?: HTMLAttributes["class"] }>(),
@@ -21,9 +21,9 @@ const delegatedProps = computed(() => {
<template>
<PaginationPrev v-bind="delegatedProps">
<Button :class="cn('w-10 h-10 p-0', props.class)" variant="outline">
<Button :class="cn('size-10 p-0', props.class)" variant="outline">
<slot>
<ChevronLeft class="size-4" />
<PhCaretLeft class="size-4" />
</slot>
</Button>
</PaginationPrev>