11"use client"
22
3- import type * as React from "react"
43import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"
54import { CheckIcon , ChevronRightIcon , CircleIcon } from "lucide-react"
5+ import type * as React from "react"
66
77import { cn } from "@/lib/utils"
88
@@ -42,8 +42,8 @@ function DropdownMenuContent({
4242 data-slot = "dropdown-menu-content"
4343 sideOffset = { sideOffset }
4444 className = { cn (
45- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md" ,
46- className
45+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x- hidden overflow-y-auto rounded-md border p-1 shadow-md" ,
46+ className ,
4747 ) }
4848 { ...props }
4949 />
@@ -74,8 +74,8 @@ function DropdownMenuItem({
7474 data-inset = { inset }
7575 data-variant = { variant }
7676 className = { cn (
77- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" ,
78- className
77+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" ,
78+ className ,
7979 ) }
8080 { ...props }
8181 />
@@ -93,7 +93,7 @@ function DropdownMenuCheckboxItem({
9393 data-slot = "dropdown-menu-checkbox-item"
9494 className = { cn (
9595 "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" ,
96- className
96+ className ,
9797 ) }
9898 checked = { checked }
9999 { ...props }
@@ -129,7 +129,7 @@ function DropdownMenuRadioItem({
129129 data-slot = "dropdown-menu-radio-item"
130130 className = { cn (
131131 "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" ,
132- className
132+ className ,
133133 ) }
134134 { ...props }
135135 >
@@ -156,7 +156,7 @@ function DropdownMenuLabel({
156156 data-inset = { inset }
157157 className = { cn (
158158 "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8" ,
159- className
159+ className ,
160160 ) }
161161 { ...props }
162162 />
@@ -185,7 +185,7 @@ function DropdownMenuShortcut({
185185 data-slot = "dropdown-menu-shortcut"
186186 className = { cn (
187187 "text-muted-foreground ml-auto text-xs tracking-widest" ,
188- className
188+ className ,
189189 ) }
190190 { ...props }
191191 />
@@ -212,7 +212,7 @@ function DropdownMenuSubTrigger({
212212 data-inset = { inset }
213213 className = { cn (
214214 "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8" ,
215- className
215+ className ,
216216 ) }
217217 { ...props }
218218 >
@@ -230,8 +230,8 @@ function DropdownMenuSubContent({
230230 < DropdownMenuPrimitive . SubContent
231231 data-slot = "dropdown-menu-sub-content"
232232 className = { cn (
233- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-lg" ,
234- className
233+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg" ,
234+ className ,
235235 ) }
236236 { ...props }
237237 />
0 commit comments