@designbasekorea/ui 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1384,13 +1384,15 @@ declare const Drawer: React$1.FC<DrawerProps>;
1384
1384
 
1385
1385
  interface DropdownItem {
1386
1386
  id: string;
1387
- label: string;
1387
+ label?: string;
1388
1388
  icon?: React$1.ComponentType<{
1389
1389
  size?: number;
1390
1390
  }>;
1391
1391
  disabled?: boolean;
1392
1392
  divider?: boolean;
1393
1393
  onClick?: () => void;
1394
+ /** 커스텀 컨텐츠 (아이템 대신 렌더링) */
1395
+ custom?: React$1.ReactNode;
1394
1396
  }
1395
1397
  interface DropdownProps {
1396
1398
  /** 드롭다운 아이템 목록 */
@@ -1399,6 +1401,14 @@ interface DropdownProps {
1399
1401
  trigger?: React$1.ReactNode;
1400
1402
  /** 트리거 라벨 */
1401
1403
  label?: string;
1404
+ /** 트리거 버튼 variant */
1405
+ triggerVariant?: 'primary' | 'secondary' | 'tertiary' | 'danger' | 'ghost';
1406
+ /** 트리거 버튼 아이콘 */
1407
+ triggerIcon?: React$1.ComponentType<{
1408
+ size?: number;
1409
+ }>;
1410
+ /** 아이콘 전용 버튼 여부 */
1411
+ iconOnly?: boolean;
1402
1412
  /** 드롭다운 크기 */
1403
1413
  size?: 's' | 'm' | 'l';
1404
1414
  /** 드롭다운 위치 */