Fix: Corregir errores de TypeScript en componentes

- Instalar @types/node para resolver referencias a process
- Corregir colores inválidos en componentes (orange→warning, purple→secondary, gray→neutral, etc.)
- Agregar tipos explícitos en GroupCheckButton y EditProfileButton
- Eliminar propiedad timeout inválida en toasts
This commit is contained in:
2025-10-16 19:42:00 -06:00
parent fa0475efbf
commit 67261cd1fc
11 changed files with 40 additions and 21 deletions

View File

@@ -15,15 +15,13 @@
</template>
<script setup lang="ts">
import type { ButtonColor, ButtonVariant, ButtonSize } from '#ui/types'
interface Props {
groupName: string
label?: string
icon?: string
color?: ButtonColor
variant?: ButtonVariant
size?: ButtonSize
color?: 'neutral' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'error'
variant?: 'solid' | 'outline' | 'soft' | 'ghost' | 'link'
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'
verifyBackend?: boolean
}