"use client" import * as React from "react" import { Command as CommandPrimitive } from "cmdk" import * as DialogPrimitive from "@radix-ui/react-dialog" import { cn } from "../../lib/utils" import { InputGroup, InputGroupAddon, } from "./input-group" function Command({ className, ...props }: React.ComponentProps) { return ( ) } function CommandDialog({ title = "Command Palette", description = "Search for a command to run...", children, className, overlayClassName, showCloseButton: _showCloseButton = false, ...props }: React.ComponentProps & { title?: string description?: string className?: string /** Backdrop — default is invisible (no dim/blur) but still captures outside clicks for modal behavior */ overlayClassName?: string showCloseButton?: boolean }) { return ( {title} {description} {children} ) } const CommandInput = React.forwardRef< HTMLInputElement, React.ComponentProps & { /** * `palette` — flat header row (icon + field) for ⌘K dialogs; matches blocks.so command-menu-02. * `default` — pill `InputGroup` for embedded / library previews. */ variant?: "default" | "palette" } >(function CommandInput({ className, variant = "default", ...props }, ref) { if (variant === "palette") { return (