@1d1s/design-system 0.2.25 → 0.2.27

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.
@@ -7,9 +7,10 @@ export interface GoalAddListProps extends Omit<React.HTMLAttributes<HTMLDivEleme
7
7
  disabled?: boolean;
8
8
  addOnBlur?: boolean;
9
9
  inputAriaLabel?: string;
10
+ maxGoals?: number;
10
11
  }
11
12
  /**
12
13
  * GoalAddList
13
14
  * 목표 문자열 목록을 보여주고 하단 입력창에서 Enter로 새 목표를 추가하는 컴포넌트.
14
15
  */
15
- export declare function GoalAddList({ goals, defaultGoals, onGoalsChange, placeholder, disabled, addOnBlur, inputAriaLabel, className, ...props }: GoalAddListProps): React.ReactElement;
16
+ export declare function GoalAddList({ goals, defaultGoals, onGoalsChange, placeholder, disabled, addOnBlur, inputAriaLabel, maxGoals, className, ...props }: GoalAddListProps): React.ReactElement;
@@ -14,6 +14,12 @@ export interface ImagePickerProps {
14
14
  helperText?: string;
15
15
  /** 선택 해제 버튼 텍스트 (기본값: "선택 해제") */
16
16
  clearLabel?: string;
17
+ /**
18
+ * 드롭존 영역의 크기·비율을 지정하는 className.
19
+ * 기본값: `aspect-video`
20
+ * @example "aspect-[4/1]", "aspect-square", "h-64"
21
+ */
22
+ dropZoneClassName?: string;
17
23
  /** 추가 className */
18
24
  className?: string;
19
25
  }
@@ -41,4 +47,4 @@ export interface ImagePickerProps {
41
47
  * />
42
48
  * ```
43
49
  */
44
- export declare function ImagePicker({ previewUrl, onSelectFile, onClear, placeholderTitle, placeholderSubtitle, helperText, clearLabel, className, }: ImagePickerProps): React.ReactElement;
50
+ export declare function ImagePicker({ previewUrl, onSelectFile, onClear, placeholderTitle, placeholderSubtitle, helperText, clearLabel, dropZoneClassName, className, }: ImagePickerProps): React.ReactElement;