Replaces the EntityRow table with the spec §7.1 hero-stat card grid: full-width cards on <1024px, 2-up on lg+, 16px gap. Each card uses the new ProjectCard component (72px Inter Black volt hero, status dot, progress bar, sub-line, footer). Adds the spec's empty state — full-bleed 96px Inter Black volt "NO PROJECTS YET" with a forest-green "⊕ START YOUR FIRST PROJECT" CTA. The regular top-right "⊕ NEW PROJECT" CTA is also forest-green. Both CTAs wire to the existing openNewProject dialog. Data gaps: the card passes progress=null, phase=null, nextGateName= null, costBurnedCents=null because the shared Project type doesn't carry those fields yet. ProjectCard renders em-dash placeholders gracefully. Status is mapped from the existing ProjectStatus enum (paused → waiting, active/running → working, else idle). Also fixes an unrelated test fixture that used the stale "active" ProjectStatus literal which tsc rejects. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.