refactor: migrate frontend from shadcn/Tailwind to Mantine v9
Reescribe todos los componentes UI para usar Mantine v9 en lugar de shadcn/Tailwind. Elimina cn(), CVA, components.json, theme_provider custom y globals.css con Tailwind. Añade 25+ componentes nuevos (AppShell, AuthForm, DatePickerInput, Dropzone, etc.) y MantineProvider como wrapper estándar del sistema de temas. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,15 +6,15 @@ domain: ui
|
||||
version: "1.0.0"
|
||||
purity: impure
|
||||
signature: "Alert(props: { variant?: 'default' | 'destructive' }): JSX.Element"
|
||||
description: "Alerta accesible con variantes default y destructive. Sistema de slots para título, descripción, icono y acción."
|
||||
tags: [alert, feedback, component, ui, notification]
|
||||
uses_functions: [cn_ts_core]
|
||||
description: "Alerta accesible con variantes default y destructive. Mantine Alert con slots para título, descripción y acción."
|
||||
tags: [alert, feedback, component, ui, notification, mantine]
|
||||
uses_functions: []
|
||||
uses_types: []
|
||||
returns: []
|
||||
returns_optional: false
|
||||
error_type: ""
|
||||
imports: [react, class-variance-authority]
|
||||
output: "Componente Alert que renderiza una alerta accesible con slots para título, descripción, icono y acción"
|
||||
imports: ["@mantine/core", react]
|
||||
output: "Componente Alert que renderiza una alerta accesible via Mantine Alert con slots para título, descripción y acción"
|
||||
tested: false
|
||||
tests: []
|
||||
test_file_path: ""
|
||||
@@ -46,5 +46,5 @@ source_file: "frontend/src/components/ui/alert.tsx"
|
||||
## Notas
|
||||
|
||||
Exporta 4 subcomponentes composables via data-slot: Alert, AlertTitle, AlertDescription, AlertAction.
|
||||
El icono SVG se posiciona automáticamente en grid cuando es hijo directo de Alert.
|
||||
AlertAction se posiciona absolute top-right para acciones secundarias (ej: botón cerrar).
|
||||
AlertAction se posiciona absolute top-right para acciones secundarias (ej: boton cerrar).
|
||||
alertVariants se exporta como objeto vacio por compatibilidad (Mantine gestiona variantes via color prop).
|
||||
|
||||
Reference in New Issue
Block a user