fix: corregir lang y file_path en frontmatter de funciones existentes

Normaliza lang: typescript → ts en funciones frontend y corrige file_path de functions/infra/ → functions/browser/ en funciones CDP. Actualiza referencias cn_typescript_core → cn_ts_core.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 03:23:20 +02:00
parent f83be63f85
commit 87e8f33b01
56 changed files with 99 additions and 99 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
---
name: kpi_card
kind: component
lang: typescript
lang: ts
domain: ui
version: "2.0.0"
purity: impure
signature: "KPICard(props: KPICardProps): JSX.Element"
description: "Card de KPI con label, valor+unidad, delta descriptivo con color semántico, icono, slot de chart inline y action. 3 tamaños."
tags: [kpi, card, metrics, dashboard, component, ui, sparkline]
uses_functions: [cn_typescript_core]
uses_functions: [cn_ts_core]
uses_types: []
returns: []
returns_optional: false
@@ -63,7 +63,7 @@ source_file: "frontend/src/components/ui/kpi-card.tsx"
## Ejemplo
```tsx
import { KPICard, Sparkline } from '@anthropic/frontend-lib'
import { KPICard, Sparkline } from '@fn_library'
{/* Básico */}
<KPICard label="Revenue" value="$12,450" delta={{ value: 12.5, isPositive: true }} />