- EmptyState: icon tile, title, description and action; DataTable turns a
string `empty` into one.
- FilterBar: filters wrap inside their own block, secondary toggles fold into
an "Ещё" popover, "Сбросить" with a counter stays on the first row.
- ScheduleGrid: day grid by resource with status-coloured events, lanes for
overlaps, off-hours hatching, clickable free slots and a "now" line.
- DataTable: `loading` skeleton rows and `renderCard` for narrow screens.
- Type scale tokens text-ui (13px), text-2xs (11px), text-3xs (10px) replace
arbitrary text-[Npx] across the kit.
- Window shell, sidebar and frames use overflow-clip, so scrollIntoView and
focus can no longer shift them; dark theme frame gets a faint ring.
- PatientPanel actions wrap on phones, pill ContentTabs cap at full width,
DateRangeInput no longer shrinks in a flex row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
- doctors open as section tabs; tab remembers subsection and week (?week=)
- list: search, alphabet (only present letters), specialty chips with
counts, grouped by specialty, today's load, quick links to subsections
- schedule: week grid built from intervals and profiles; free/booked/past
slots, live queue for zero-duration profiles, book via patient picker,
cancel with undo, open patient card from a slot, vacation/off days
- settings: intervals with dates, active/vacation, «continue» copy,
per-block weekday hours with presets; validation incl. overlaps;
draft survives tab switches
- profiles: accordion form (duration, color, place, flags, funding,
services), save/reset, delete with confirmation and usage warning
- mock intervals moved from 2018 to Sep–Dec 2026; deterministic demo
appointments around today (some linked to patient cards)
- kit: TimeRangeInput, ConfirmDialog, SaveBar; ScrollArea horizontal;
section tabs honour an explicit href when opening an existing tab
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>