Revert "Merge branch 'iipbs/sn/ii' into iipbs/sn/main"

This reverts commit 63012618a2, reversing
changes made to 6573981505.
This commit is contained in:
swcho
2025-07-09 11:30:12 +09:00
parent 63012618a2
commit 2aa202ace3
20 changed files with 240 additions and 574 deletions
@@ -13,14 +13,12 @@ type DatePickerProps = {
placeholder?: string;
disabled?: boolean;
selected?: Date;
zIndex?: number; // z-index prop 추가
} & React.ComponentProps<typeof DayPicker>;
export function DatePicker({
className,
placeholder = "날짜 선택",
disabled,
zIndex, // zIndex prop 받기
...props
}: DatePickerProps) {
return (
@@ -39,10 +37,7 @@ export function DatePicker({
)}
</Button>
</PopoverTrigger>
<PopoverContent
className="w-auto p-0"
style={{ zIndex: zIndex || 'auto' }}
>
<PopoverContent className="w-auto p-0">
<Calendar classNames={{ cell: "rounded-md" }} {...props} />
</PopoverContent>
</Popover>