# BankStatementDocumentTable

## 2026-08-09 — Document name uses neutral text colour

**Prompted by:** Clint Howen (COMPANY-501 / COMPANY-503), design routine first pass

### What changed
- The Name cell no longer uses `text-primary` at rest — it uses `text-foreground`, the same
  neutral ink as the Type and Date columns beside it.
- The name stays clickable and keeps `cursor-pointer` + `hover:underline` when the document
  is ready, so the affordance survives on hover.

### Why
- A themed, link-coloured file name read as the primary download affordance when the
  download icon button is; it also made every row compete for attention in a list whose
  other two columns are neutral.

### Affected tokens / files
- `packages/shadcn/src/components/ui/bank-statement-document-table.tsx`

## 2026-09-04 - Withdrawn and expired row states

**Prompted by:** statement verification (docs/statement-verification-plan.md in herobroker/app)

### What changed
- `BankStatementDocument` gains `withdrawn` and `expired`. Withdrawn rows stay
  listed — struck through and muted with a "Withdrawn" badge — remain
  viewable/downloadable, and lose the delete action permanently (no restore).
  Expired rows get an "Expired" badge and keep all actions.

### Why
- Generated bank statements carry public verification records, so deletion was
  replaced by issuer-side withdrawal: the row must keep existing as evidence of
  what was issued. Expiry is the issuer's 6-month freshness policy — a statement
  older than that is still authentic, just no longer to be relied on, so the row
  is flagged without losing anything.

### Affected tokens / files
- `packages/shadcn/src/components/ui/bank-statement-document-table.tsx`
