Move shadcn primitives, kit components, charts, theme provider, shared
hooks and utils (cn, format, masks, clipboard) into packages/medkit,
consumed as source via npm workspaces. The app now imports everything
from "@medkit/ui".
- Package-internal imports are relative; no @/ alias inside the kit
- Theme tokens, fonts and base styles move to @medkit/ui/styles.css,
which registers its own @source so classes are found from node_modules
- NotifyToaster takes a navigate prop instead of depending on
react-router; the app mounts it in App with useNavigate()
- Kit-only dependencies move to the package; react, react-dom and
tailwindcss are peers
- Drop components.json (shadcn CLI unused, aliases no longer valid)
- Update UI docs and add a package README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Главная (/dashboard): live "today" strip, KPI tiles with deltas and
trends, attendance chart, patient path, doctor load heatmap, alerts,
revenue by service and funding, doctors table, booking availability
against the state-guarantee norm, process metrics
- Analytics mart (clinic-stats) with two years of seeded doctor×day facts
- Lightweight SVG charts in components/charts, --chart-* color tokens
- Reports section: catalog, report filters, queued runs and results
- Cases section and patient documents/profile updates
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>