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:
@@ -8,7 +8,8 @@ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, Di
|
||||
export { Input, InputGroup, InputIcon } from './input'
|
||||
export { Label } from './label'
|
||||
export { KPICard } from './kpi_card'
|
||||
export { Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPortal, SelectSeparator, SelectTrigger, SelectValue } from './select'
|
||||
export { Select } from './select'
|
||||
export type { SelectProps } from './select'
|
||||
export { SimpleSelect } from './simple_select'
|
||||
export type { SimpleSelectOption, SimpleSelectGroup, SimpleSelectOptions } from './simple_select'
|
||||
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonTable, SkeletonText } from './skeleton'
|
||||
@@ -37,11 +38,9 @@ export type { Series } from './chart_container'
|
||||
export { DataTable } from './data_table'
|
||||
export type { DataTableProps, ColumnDef } from './data_table'
|
||||
|
||||
// Theme
|
||||
export { ThemeProvider, useTheme, ThemeContext } from './theme_provider'
|
||||
export type { ThemeProviderProps } from './theme_provider'
|
||||
export { applyTheme } from './apply_theme'
|
||||
export type { Theme, ThemeColors } from './apply_theme'
|
||||
// Mantine Provider
|
||||
export { FnMantineProvider } from './mantine_provider'
|
||||
export type { FnMantineProviderProps } from './mantine_provider'
|
||||
|
||||
// Page templates
|
||||
export { analyticsPage } from './analytics_page'
|
||||
@@ -82,14 +81,14 @@ export type { CheckboxProps } from './checkbox'
|
||||
|
||||
// Command
|
||||
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSearch, CommandSeparator, CommandShortcut } from './command'
|
||||
export type { CommandProps } from './command'
|
||||
export type { CommandItemData, CommandProps } from './command'
|
||||
|
||||
// Dropdown Menu
|
||||
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './dropdown_menu'
|
||||
|
||||
// Pagination
|
||||
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './pagination'
|
||||
export type { PaginationLinkProps } from './pagination'
|
||||
export { Pagination } from './pagination'
|
||||
export type { PaginationProps } from './pagination'
|
||||
|
||||
// Popover
|
||||
export { Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPortal, PopoverTitle, PopoverTrigger } from './popover'
|
||||
@@ -123,3 +122,15 @@ export { useAnimatedCanvas } from './use_animated_canvas'
|
||||
|
||||
// Wails Provider
|
||||
export { WailsProvider } from './wails_provider'
|
||||
|
||||
// New Mantine components
|
||||
export { FnAppShell } from './app_shell'
|
||||
export { FnStepper } from './stepper'
|
||||
export { FnTimeline } from './timeline'
|
||||
export { FnActionIcon } from './action_icon'
|
||||
export { FnNumberInput } from './number_input'
|
||||
export { FnSegmentedControl } from './segmented_control'
|
||||
export { FnLoadingOverlay } from './loading_overlay'
|
||||
export { FnRingProgress } from './ring_progress'
|
||||
export { FnNavLink } from './nav_link'
|
||||
export { FnIndicator } from './indicator'
|
||||
|
||||
Reference in New Issue
Block a user