- LoginScreen: login page layout, the form in a centered card on a soft dot
grid, `note` under the card and `footer` at the bottom of the screen.
- Section tabs (PageTabs, "ещё N") and the PageFrame title move from 13px to
14px and still match each other.
- Sidebar open cards under menu items move from 13px to 14px.
- text-ui (13px) is now meant for meta lines under a title.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
- Double-click on the МИС Медицина logo navigates to the home page
- Remove «Скопировать СНИЛС» from the patient ⋯ menu (header already copies it)
- Tab alert is now the reason text, not a flag: shown in the tab tooltip and
on the sidebar row («Хроническая боль», «Новые ответы: 2»)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PageTabs shows as many card tabs as fit the bar width, at most
MAX_VISIBLE_TABS (4), measured from an invisible copy of the row and
recomputed on resize. The rest go into an "ещё N" dropdown where a
card can be opened or closed; the active card is always visible.
The sidebar uses the same split: all cards when there are up to five,
otherwise four plus "ещё N" with the same menu.
The close button inside menu items stops only click, not pointerdown:
otherwise Radix treats pointerup as an outside press and selects the
item, opening the card instead of closing it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kit (src/components/kit): PageTabs, ContentTabs, PatientPanel, DataTable
with sorting, Pagination, FileGallery (image lightbox, PDF preview),
StatusBadge, StatTile, InfoSection/Field, DateLeaf, PageFrame, CodeBlock.
Patient pages now use them; search results are sortable; documents show
attachments. Replace next-themes with a small ThemeProvider (React 19
warned about its inline script).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>