@designbasekorea/ui 0.3.4 → 0.4.0

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
@@ -3377,6 +3377,8 @@ interface SegmentControlProps {
3377
3377
  value?: string;
3378
3378
  /** 세그먼트 크기 */
3379
3379
  size?: 's' | 'm' | 'l';
3380
+ /** 세그먼트 타입: 'default' (텍스트+아이콘) | 'icon-only' (아이콘만) */
3381
+ variant?: 'default' | 'icon-only';
3380
3382
  /** 전체 너비 여부 */
3381
3383
  fullWidth?: boolean;
3382
3384
  /** 비활성화 여부 */
@@ -4059,12 +4061,14 @@ interface TimelineItem {
4059
4061
  description?: string;
4060
4062
  /** 아이템 타임스탬프 */
4061
4063
  timestamp?: string;
4062
- /** 아이템 아이콘 */
4064
+ /** 아이템 아이콘 (제공 시 아이콘 표시, 없으면 기본 점 표시) */
4063
4065
  icon?: React$1.ReactNode;
4066
+ /** 아이템 숫자 (제공 시 숫자 표시, icon과 함께 제공되면 icon 우선) */
4067
+ number?: number;
4064
4068
  /** 아이템 색상 */
4065
4069
  color?: TimelineColor;
4066
- /** 아이템 상태 */
4067
- status?: 'completed' | 'active' | 'pending' | 'error';
4070
+ /** 아이템 상태 (completed: 완료, active: 진행중, pending: 진행예정) */
4071
+ status?: 'completed' | 'active' | 'pending';
4068
4072
  /** 아이템 클릭 핸들러 */
4069
4073
  onClick?: () => void;
4070
4074
  /** 아이템 비활성화 여부 */