260722_01_ENH: 버그 수정 및 개선 사항 수정

This commit is contained in:
2026-07-22 16:53:00 +09:00
parent d8b565276d
commit 2dd5b88c6f
67 changed files with 1925 additions and 736 deletions

View File

@@ -19,6 +19,7 @@ interface MultiSelectTriggerProps<T> extends Omit<React.ButtonHTMLAttributes<HTM
variant: MultiSelectVariant
spanClassName?: string
badgeClassName?: string
badgeLabelClassName?: string
onRemove: (value: string) => void
onClear: () => void
}
@@ -35,6 +36,7 @@ export const MultiSelectTrigger = React.forwardRef(function MultiSelectTriggerIn
variant,
spanClassName,
badgeClassName,
badgeLabelClassName,
className,
disabled,
onRemove,
@@ -84,7 +86,7 @@ export const MultiSelectTrigger = React.forwardRef(function MultiSelectTriggerIn
style={{ background: option.style?.gradient ?? option.style?.badgeColor }}
>
{!hideIcons && Icon ? <Icon className="size-3.5" /> : null}
<span className="max-w-48 truncate">{option.label}</span>
<span className={cn('truncate', badgeLabelClassName ?? 'max-w-48')}>{option.label}</span>
{!preventDeselect ? (
<span
role="button"