erp-construccion-frontend-v2/web/src/hooks
Adrian Flores Cortes 55261598a2 [FIX] fix: Resolve TypeScript errors for successful build
Fixes:
- Add teal, cyan, slate colors to StatusColor type and StatusBadge
- Create StatsCard component with color prop for backward compatibility
- Add label/required props to FormGroup component
- Fix Pagination to accept both currentPage and page props
- Fix unused imports in quality and contracts pages
- Add missing Plus, Trash2, User icon imports in contracts pages
- Remove duplicate formatDate function in ContratoDetailPage

New components:
- StatsCard, StatsCardGrid for statistics display

Build: Success (npm run build passes)
Dev: Success (npm run dev starts on port 3020)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 11:36:21 -06:00
..
index.ts [GAPS] feat(components): Implement remaining frontend gaps G-003 to G-013 2026-02-04 01:34:21 -06:00
useAuth.ts [CONST-D-001] feat: Integrate API frontend with backend 2026-02-03 04:25:10 -06:00
useBidding.ts feat(FASE-5A): Frontend modules Dashboard, Presupuestos, Bidding 2026-01-27 07:21:28 -06:00
useConstruccion.ts [MAI-002] feat: Implement frontend Proyectos module 2026-01-25 10:04:54 -06:00
useContracts.ts [FIX] fix: Resolve TypeScript errors for successful build 2026-02-04 11:36:21 -06:00
useDebounce.test.ts [GAPS] feat(components): Implement remaining frontend gaps G-003 to G-013 2026-02-04 01:34:21 -06:00
useDebounce.ts [GAPS] feat(components): Implement remaining frontend gaps G-003 to G-013 2026-02-04 01:34:21 -06:00
useHSE.ts feat(frontend): Agregar hooks React Query para módulo HSE 2026-02-02 21:25:18 -06:00
useLocalStorage.test.ts [GAPS] feat(components): Implement remaining frontend gaps G-003 to G-013 2026-02-04 01:34:21 -06:00
useLocalStorage.ts [GAPS] feat(components): Implement remaining frontend gaps G-003 to G-013 2026-02-04 01:34:21 -06:00
usePresupuestos.ts [SPRINT-3] feat: Presupuesto detail page with version management 2026-02-03 01:15:19 -06:00
useProgress.ts feat(obras): Add Programa de Obra and Control de Avance pages 2026-02-03 00:21:08 -06:00
useQuality.ts [FIX] fix: Resolve TypeScript errors for successful build 2026-02-04 11:36:21 -06:00
useReports.ts feat(FASE-5A): Frontend modules Dashboard, Presupuestos, Bidding 2026-01-27 07:21:28 -06:00
useToast.test.ts test: Add Vitest and tests for Toast system 2026-02-04 01:17:52 -06:00
useToast.ts feat(theme): Implement Dark Mode and Toast notifications 2026-02-04 01:14:11 -06:00