UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix(command): adjust class to new cmdk version (#252)
Fellipe Utakadf91dcde0b69
diff --git a/components/ui/command.tsx b/components/ui/command.tsxindex b0d2b756..879d09c3 100644--- a/components/ui/command.tsx+++ b/components/ui/command.tsx@@ -117,7 +117,7 @@ const CommandItem = React.forwardRef<<CommandPrimitive.Itemref={ref}className={cn(- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",className,)}{...props}