chore: update

This commit is contained in:
sadeghbarati 2024-08-13 14:43:53 +03:30
parent 02c4c14d69
commit fc0e1d5b9d

View File

@ -1,5 +1,5 @@
<script setup lang="ts">
import { Check, Circle, Dot } from 'lucide-vue-next'
import { CheckIcon, CircleIcon, DotIcon } from '@radix-icons/vue'
import { toTypedSchema } from '@vee-validate/zod'
import * as z from 'zod'
import { h, ref } from 'vue'
@ -103,9 +103,9 @@ function onSubmit(values: any) {
:class="[state === 'active' && 'ring-2 ring-ring ring-offset-2 ring-offset-background']"
:disabled="state !== 'completed' && !meta.valid"
>
<Check v-if="state === 'completed'" class="size-5" />
<Circle v-if="state === 'active'" />
<Dot v-if="state === 'inactive'" />
<CheckIcon v-if="state === 'completed'" class="size-5" />
<CircleIcon v-if="state === 'active'" />
<DotIcon v-if="state === 'inactive'" />
</Button>
</StepperTrigger>