TransactionAmount — Needs UX design
Pending design review and UX validation.
TransactionAmount
P2atomProposed — does not exist yet. Needed for: Finance. Track it in documentation/shared/design-system-inventory.md.
What it is
Signed ledger amount (+/-, in/out) with optional fee/net breakdown for transaction tables.
What you need to create
An atom: +$x.xx / -$x.xx in success/danger foreground, arrow icon, optional sub-line for fee & net.
Hints
- credit → success foreground with + prefix; debit → default/danger with −
- Designed for the DataTable ledger column
Definition of done
// packages/ui/src/atoms/transaction-amount.tsx
// Kitchen sink page at apps/ds/kitchen-sink/app/atoms/transaction-amount/
// Register as "wip" in app/lib/routes.ts; only UX/user approval permits "ready"
// Verify: yarn workspace @npolyhunter/ui build && npx tsc --noEmit (in apps/ds/kitchen-sink)
// Then update documentation/shared/design-system-inventory.md -> Status: built