Update pnpm-lock.yaml for Radix UI package versions and enhance popover styling in CSS
ci / build-backend (push) Successful in 2m51s
ci / build-frontend (push) Successful in 1m4s
ci / tests (push) Successful in 2m41s
ci / sonar (push) Successful in 5m50s

Updated the pnpm-lock.yaml to override versions of '@radix-ui/react-dismissable-layer' and '@radix-ui/react-focus-scope' to their latest releases. Enhanced the CSS for popover components by introducing a new '.crt-popover' class for improved styling, ensuring a more distinct appearance over other content. Refactored related components to utilize the new class, improving visual consistency across the application.
This commit is contained in:
Leonid Pershin
2026-07-27 11:58:38 +03:00
parent 860cde19a3
commit 36c70a61df
7 changed files with 41 additions and 83 deletions
@@ -117,8 +117,9 @@ export function ShowPicker({
}
return (
// modal — потому что пикер живёт внутри диалогов: те держат фокус-ловушку, и без своего
// слоя поповер отдавал бы фокус обратно диалогу, а в строку поиска нельзя было бы печатать.
// modal — потому что пикер живёт внутри диалогов: поповер регистрирует свой слой поверх
// диалогового, забирает фокус-ловушку и получает указатель. Работает это лишь пока Radix
// загружен одним экземпляром — единственность версий закреплена в pnpm-workspace.yaml.
<Popover modal open={open} onOpenChange={(next) => (next ? setOpen(true) : close())}>
<PopoverTrigger
className={cn(