slide-shell · v0.6.0+
SlideDecisionTable
Tabla cuadrante glass con thead mono uppercase, fila resaltada (gradiente cobalto) y celdas auto-coloreadas (✓ ok / ✕ err / ~ warn). Bloque "reglas prácticas" opcional debajo.
Matriz de decisión con highlight-row
Props
| Prop | Tipo | Default | Descripción |
|---|---|---|---|
eyebrow | string | '' | Kicker. |
title | string | '' | Título. |
titleHighlight | string | '' | Substring del título a destacar. |
columns | string[] | [] | Cabeceras (mono uppercase auto). |
rows | { cells: Cell[] }[] | [] | Filas. Cell = string (auto-detecta ✓ / ✕ / ~) o { value, kind?, align? }. |
highlightIndex | number | null | null | Fila a destacar (0-based). |
rules | string[] | [] | Lista numerada al pie. Acepta **strong** y `code`. |
rulesTitle | string | 'Reglas prácticas' | Eyebrow del bloque rules. |