Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Fix command menu issues
Luke Vellad7272e5c736c
diff --git a/packages/ui/src/command.tsx b/packages/ui/src/command.tsxindex e94d76036..750cb3725 100644--- a/packages/ui/src/command.tsx+++ b/packages/ui/src/command.tsx@@ -11,7 +11,7 @@ import { Icon } from "./icon";import { cn } from "./lib/utils";const Command = React.forwardRef<- React.ElementRef<typeof CommandPrimitive>,+ React.ComponentRef<typeof CommandPrimitive>,React.ComponentPropsWithoutRef<typeof CommandPrimitive>>(({ className, ...props }, ref) => (<CommandPrimitive@@ -45,7 +45,7 @@ const CommandDialog = ({ children, ...props }: CommandDialogProps) => {};const CommandInput = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Input>,+ React.ComponentRef<typeof CommandPrimitive.Input>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>>(({ className, ...props }, ref) => (<div@@ -69,7 +69,7 @@ const CommandInput = React.forwardRef<CommandInput.displayName = CommandPrimitive.Input.displayName;const CommandList = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.List>,+ React.ComponentRef<typeof CommandPrimitive.List>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>>(({ className, ...props }, ref) => (<CommandPrimitive.List@@ -82,7 +82,7 @@ const CommandList = React.forwardRef<CommandList.displayName = CommandPrimitive.List.displayName;const CommandEmpty = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Empty>,+ React.ComponentRef<typeof CommandPrimitive.Empty>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>>((props, ref) => (<CommandPrimitive.Empty@@ -95,7 +95,7 @@ const CommandEmpty = React.forwardRef<CommandEmpty.displayName = CommandPrimitive.Empty.displayName;const CommandGroup = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Group>,+ React.ComponentRef<typeof CommandPrimitive.Group>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>>(({ className, ...props }, ref) => (<CommandPrimitive.Group@@ -111,7 +111,7 @@ const CommandGroup = React.forwardRef<CommandGroup.displayName = CommandPrimitive.Group.displayName;const CommandSeparator = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Separator>,+ React.ComponentRef<typeof CommandPrimitive.Separator>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>>(({ className, ...props }, ref) => (<CommandPrimitive.Separator@@ -123,13 +123,13 @@ const CommandSeparator = React.forwardRef<CommandSeparator.displayName = CommandPrimitive.Separator.displayName;const CommandItem = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Item>,+ React.ComponentRef<typeof CommandPrimitive.Item>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>>(({ className, ...props }, ref) => (<CommandPrimitive.Itemref={ref}className={cn(- "relative flex cursor-default select-none items-center gap-2 rounded-xl p-2 text-sm outline-none aria-selected:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",+ "relative flex cursor-default select-none items-center gap-2 rounded-md p-2 text-sm outline-none aria-selected:bg-gray-100 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",className,)}{...props}@@ -139,13 +139,13 @@ const CommandItem = React.forwardRef<CommandItem.displayName = CommandPrimitive.Item.displayName;const CommandItemShortcut = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Item>,+ React.ComponentRef<typeof CommandPrimitive.Item>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>>(({ className, ...props }, ref) => (<CommandPrimitive.Itemref={ref}className={cn(- "relative flex h-12 cursor-pointer select-none items-center gap-3 rounded-md px-3 font-medium outline-none aria-selected:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",+ "relative flex h-12 cursor-pointer select-none items-center gap-3 rounded-md px-3 font-medium outline-none aria-selected:bg-gray-100 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",className,)}{...props}