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,14 +6,14 @@ domain: ui
|
||||
version: "1.0.0"
|
||||
purity: impure
|
||||
signature: "ProgressBar(props: ProgressBarProps): JSX.Element"
|
||||
description: "Barra de progreso con variantes de color y tamaño, buffer, animación, modo indeterminado y display de valor."
|
||||
tags: [progress, loading, component, ui, feedback]
|
||||
uses_functions: [cn_ts_core]
|
||||
description: "Barra de progreso con variantes de color y tamaño, buffer, animación, modo indeterminado y display de valor. Mantine Progress."
|
||||
tags: [progress, loading, component, ui, feedback, mantine]
|
||||
uses_functions: []
|
||||
uses_types: []
|
||||
returns: []
|
||||
returns_optional: false
|
||||
error_type: ""
|
||||
imports: [class-variance-authority]
|
||||
imports: ["@mantine/core"]
|
||||
output: "Componente ProgressBar que renderiza barra de progreso con animaciones, buffer y modo indeterminado"
|
||||
tested: false
|
||||
tests: []
|
||||
@@ -76,7 +76,4 @@ source_file: "frontend/src/components/ui/progress/progress-bar.tsx"
|
||||
|
||||
## Notas
|
||||
|
||||
El porcentaje se clampea a [0, 100] internamente. El buffer se renderiza como capa semitransparente detrás del fill.
|
||||
Las animaciones de stripes e indeterminate requieren keyframes definidos en el CSS global:
|
||||
- `progress-stripes`: background-position de 0 a 1rem
|
||||
- `progress-indeterminate`: translateX de -100% a 300%
|
||||
El porcentaje se clampea a [0, 100] internamente. El buffer se renderiza como capa semitransparente debajo del fill usando Progress.Root apilados. Los colores se mapean de semanticos (primary/success/warning/destructive) a colores Mantine. La animacion striped usa el prop animated nativo de Mantine.
|
||||
|
||||
Reference in New Issue
Block a user