style: consistent flow for no proxies and no groups

This commit is contained in:
zhom
2025-08-08 15:08:56 +04:00
parent 3688e88d67
commit 510de96393
5 changed files with 214 additions and 159 deletions
+2 -3
View File
@@ -18,7 +18,6 @@ import {
PopoverTrigger,
} from "@/components/ui/popover";
import { cn } from "@/lib/utils";
import { RippleButton } from "./ripple";
interface ComboboxOption {
value: string;
@@ -48,7 +47,7 @@ export function Combobox({
return (
<Popover open={open} onOpenChange={setOpen}>
<PopoverTrigger asChild>
<RippleButton
<Button
variant="outline"
role="combobox"
aria-expanded={open}
@@ -58,7 +57,7 @@ export function Combobox({
? options.find((option) => option.value === value)?.label
: placeholder}
<LuChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />
</RippleButton>
</Button>
</PopoverTrigger>
<PopoverContent className="w-full p-0">
<Command>