97a3c84625
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>
1.6 KiB
1.6 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, framework, props, output, tested, tests, test_file_path, file_path, emits, has_state, variant
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | framework | props | output | tested | tests | test_file_path | file_path | emits | has_state | variant | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| app_shell | component | ts | ui | 1.0.0 | impure | FnAppShell(props: FnAppShellProps): JSX.Element | Layout shell con header, navbar colapsable y area principal. Wrapper sobre Mantine AppShell. |
|
false |
|
react |
|
Layout de aplicacion con header fijo, sidebar colapsable y area de contenido principal | false | frontend/functions/ui/app_shell.tsx | false |
Ejemplo
import { FnAppShell } from '@fn_library'
<FnAppShell
header={<Group px="md">Logo</Group>}
navbar={<NavLinks />}
navbarCollapsed={collapsed}
>
<MainContent />
</FnAppShell>
Notas
Wrapper sobre Mantine AppShell. El header tiene altura fija de 60px. El navbar colapsa tanto en mobile como en desktop cuando navbarCollapsed es true. El breakpoint de responsive es sm.