- 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>
- tasks open as section tabs (#1004, «Новая задача»), mirrored in sidebar
- list: search, status multi-select, segments, «мои задачи», reset,
sorting and pagination; filters kept in the URL
- create: validation, multi-selects, date/time, file drop with previews;
draft survives tab switches
- card: status change, priority, editable executors/observers,
due badge, files, replies (private, reply-to, edit/delete own)
- in-memory tasks store shared by all tabs
- kit: MultiSelect, PersonChip/PersonAvatar, FileDrop, FormField/FormSection,
removable FileGallery tiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>