Release 0.14.2: white autocomplete value.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ilya Mukhortov 2026-11-01 20:40:51 +10:00
parent cba5581c5d
commit b57b3e1ad0
4 changed files with 8 additions and 3 deletions

View File

@ -2,6 +2,11 @@
Установка версии: `npm i "git+https://git.med-logic.ru/medlogic/medkit.git#semver:^X.Y.Z"`. На 0.x `^0.7.0` не подхватывает 0.8.0 — минорную версию поднимаем в зависимости явно.
## [0.14.2] — 2026-11-01
### Изменено
- `Autocomplete`: карточка выбранного значения (`renderValue`) больше не заливается акцентным цветом — фон как у обычного поля.
## [0.14.1] — 2026-11-01
### Изменено

View File

@ -18,7 +18,7 @@ src/styles.css тема (токены, шрифты, тёмный режим)
Пакет ставится прямо из git, версии — теги `vX.Y.Z`:
```bash
npm i "git+https://git.med-logic.ru/medlogic/medkit.git#semver:^0.14.1"
npm i "git+https://git.med-logic.ru/medlogic/medkit.git#semver:^0.14.2"
```
`package-lock.json` фиксирует коммит; обновиться до свежего тега — `npm update @medkit/ui`. В medicine-ui kit подключён git-submodule в `packages/medkit` (npm workspace) — правки видны сразу.

View File

@ -1,6 +1,6 @@
{
"name": "@medkit/ui",
"version": "0.14.1",
"version": "0.14.2",
"private": true,
"description": "Medkit — UI kit МИС «Медицина»: React 19 + Tailwind 4 + Radix (shadcn/ui)",
"repository": {

View File

@ -139,7 +139,7 @@ export function Autocomplete<T>({
<div ref={anchorRef} className="w-full">
<InputGroup
data-disabled={disabled || undefined}
className={cn(richValue && "h-auto min-h-12 bg-primary/10 dark:bg-primary/10")}
className={cn(richValue && "h-auto min-h-12")}
>
{!richValue && <InputGroupAddon>
<SearchIcon />