Files
rapid_dashboards/frontend/src/env.d.ts
T
egutierrez 4ec62f5ed6 refactor(frontend): migracion a Mantine y limpieza de widgets
- Migra el frontend a Mantine v9 siguiendo la regla de theming del registry (@fn_library, sin Tailwind/cn/CVA).
- Reescribe DashboardShell, FilterBar, Section, WidgetRenderer y todos los widgets (Area/Bar/Line/Pie/KPI/Sparkline/Table) con componentes y props de Mantine.
- Ajusta vite.config, main.tsx, App.tsx, app.css y env.d.ts.
- Añade postcss.config.cjs requerido por Mantine.
- Actualiza package.json y pnpm-lock.
- Ajusta config.go, main.go y los ejemplos (fn_registry_apps/overview) para el nuevo esquema de tipos en frontend/src/types.ts.
2026-04-13 23:33:04 +02:00

20 lines
722 B
TypeScript

/// <reference types="vite/client" />
// Types for @fn_library — resolved at build time via Vite alias to frontend/functions/ui/
declare module '@fn_library' {
import type { FC } from 'react'
import type { SelectProps as MantineSelectProps } from '@mantine/core'
export const Card: FC<any>
export const CardContent: FC<any>
export const CardHeader: FC<any>
export const CardTitle: FC<any>
export const KPICard: FC<any>
export const Sparkline: FC<any>
export const Badge: FC<any>
export const Button: FC<any>
export const Input: FC<any>
export const Skeleton: FC<any>
export interface SelectProps extends MantineSelectProps {}
export function Select(props: SelectProps): React.ReactElement
}