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: "Tooltip(props: TooltipRootProps): JSX.Element"
|
||||
description: "Tooltip accesible con animaciones, posicionamiento automático y arrow. Base-UI primitive con delay configurable."
|
||||
tags: [tooltip, overlay, component, ui, help]
|
||||
uses_functions: [cn_ts_core]
|
||||
description: "Tooltip accesible con posicionamiento automático. Mantine Tooltip con delay configurable."
|
||||
tags: [tooltip, overlay, component, ui, help, mantine]
|
||||
uses_functions: []
|
||||
uses_types: []
|
||||
returns: []
|
||||
returns_optional: false
|
||||
error_type: ""
|
||||
imports: ["@base-ui/react", react]
|
||||
output: "Componente Tooltip que renderiza tooltip accesible con posicionamiento automático y delay configurable"
|
||||
imports: ["@mantine/core", react]
|
||||
output: "Componente Tooltip que renderiza tooltip accesible con posicionamiento automático y delay configurable via Mantine Tooltip"
|
||||
tested: false
|
||||
tests: []
|
||||
test_file_path: ""
|
||||
@@ -47,6 +47,5 @@ source_file: "frontend/src/components/ui/tooltip.tsx"
|
||||
## Notas
|
||||
|
||||
Exporta 5 subcomponentes: TooltipProvider, Tooltip, TooltipTrigger, TooltipPortal, TooltipContent.
|
||||
TooltipProvider gestiona el delay global — envolver la app o sección con un único Provider.
|
||||
TooltipContent incluye Arrow con fill-primary automático.
|
||||
Depende de @base-ui/react — asegurarse de que está en package.json del frontend.
|
||||
TooltipProvider y Tooltip son wrappers de compatibilidad (Mantine gestiona delay internamente).
|
||||
TooltipPortal es un no-op mantenido por compatibilidad.
|
||||
|
||||
Reference in New Issue
Block a user