@likelion-design/ui 1.0.22 → 1.0.23

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.mts CHANGED
@@ -775,6 +775,8 @@ interface SelectMenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "on
775
775
  };
776
776
  /** 선택된 항목 suffix 아이콘 (기본 체크 아이콘, 함수로 커스터마이즈 가능) */
777
777
  suffixIcon?: React.ReactNode | ((item: SelectMenuItem) => React.ReactNode);
778
+ /** 메뉴에 표시할 최대 행 수. 초과 시 스크롤 */
779
+ maxRows?: number;
778
780
  }
779
781
  /** SelectMenu는 옵션 리스트를 표시하고 값을 선택하는 메뉴 컴포넌트다. */
780
782
  declare const SelectMenu: React.ForwardRefExoticComponent<SelectMenuProps & React.RefAttributes<HTMLDivElement>>;
@@ -856,16 +858,16 @@ interface SelectHeaderProps {
856
858
  menuItemTextProps?: SelectMenuProps["itemTextProps"];
857
859
  /** SelectMenu에 전달: 선택된 항목 suffix 아이콘 */
858
860
  menuSuffixIcon?: SelectMenuProps["suffixIcon"];
859
- /** 헤더와 메뉴 사이 간격 (px, 기본 8) */
860
- menuGap?: number;
861
861
  /** SelectMenu에 전달: className */
862
862
  menuClassName?: string;
863
863
  /** SelectMenu에 전달: style */
864
864
  menuStyle?: React.CSSProperties;
865
+ /** SelectMenu에 전달: 최대 표시 행 수 */
866
+ menuMaxRows?: number;
865
867
  }
866
868
  /** SelectHeader 컴포넌트는 선택된 값을 표시하고 드롭다운을 여는 헤더 컴포넌트다. items를 주면 클릭 시 메뉴가 열린다. */
867
869
  declare const SelectHeader: {
868
- ({ type, title, required, value: valueProp, placeholder, disabled, error, description, accentIcon, onClick, onClear, prefixIcon, icon, className, id, items, defaultValue, onChange, multiple, showClear, wrapperClassName, wrapperStyle, width, size, menuItemTextProps, menuSuffixIcon, menuGap, menuClassName, menuStyle, }: SelectHeaderProps): react_jsx_runtime.JSX.Element;
870
+ ({ type, title, required, value: valueProp, placeholder, disabled, error, description, accentIcon, onClick, onClear, prefixIcon, icon, className, id, items, defaultValue, onChange, multiple, showClear, wrapperClassName, wrapperStyle, width, size, menuItemTextProps, menuSuffixIcon, menuClassName, menuStyle, menuMaxRows, }: SelectHeaderProps): react_jsx_runtime.JSX.Element;
869
871
  displayName: string;
870
872
  };
871
873
 
@@ -931,11 +933,13 @@ type SelectMenuPassThrough = {
931
933
  itemTextProps?: SelectMenuProps["itemTextProps"];
932
934
  /** 선택된 항목의 suffix 아이콘 (기본: 체크 아이콘). false면 숨김 */
933
935
  suffixIcon?: SelectMenuProps["suffixIcon"];
936
+ /** 메뉴에 표시할 최대 행 수. 초과 시 스크롤 */
937
+ maxRows?: number;
934
938
  };
935
939
  type SelectBoxProps = SelectBoxSpecificProps & SelectHeaderPassThrough & SelectMenuPassThrough;
936
940
  /** SelectBox는 SelectHeader와 SelectMenu를 하나로 통합한 컴포넌트로, 미리 정의된 목록에서 항목을 선택하도록 돕습니다. */
937
941
  declare const SelectBox: {
938
- ({ size, disabled, error, success, loading, label, required, placeholder, items, value, defaultValue, onChange, multiple, description, prefixIcon, className, style, classNames, styles, width, headerType, onClear, showClear, wrapperStyle, onClick, id, itemTextProps, suffixIcon, ...restHeaderProps }: SelectBoxProps): react_jsx_runtime.JSX.Element;
942
+ ({ size, disabled, error, success, loading, label, required, placeholder, items, value, defaultValue, onChange, multiple, description, prefixIcon, className, style, classNames, styles, width, headerType, onClear, showClear, wrapperStyle, onClick, id, itemTextProps, suffixIcon, maxRows, ...restHeaderProps }: SelectBoxProps): react_jsx_runtime.JSX.Element;
939
943
  displayName: string;
940
944
  };
941
945
 
@@ -1497,6 +1501,8 @@ interface TextFieldBaseProps {
1497
1501
  * @default true
1498
1502
  */
1499
1503
  showCount?: boolean;
1504
+ /** 비활성화 상태 */
1505
+ disabled?: boolean;
1500
1506
  /** Help text 아이콘 (true면 기본 아이콘, 노드면 커스텀) */
1501
1507
  accentIcon?: boolean | React.ReactNode;
1502
1508
  onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
package/dist/index.d.ts CHANGED
@@ -775,6 +775,8 @@ interface SelectMenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "on
775
775
  };
776
776
  /** 선택된 항목 suffix 아이콘 (기본 체크 아이콘, 함수로 커스터마이즈 가능) */
777
777
  suffixIcon?: React.ReactNode | ((item: SelectMenuItem) => React.ReactNode);
778
+ /** 메뉴에 표시할 최대 행 수. 초과 시 스크롤 */
779
+ maxRows?: number;
778
780
  }
779
781
  /** SelectMenu는 옵션 리스트를 표시하고 값을 선택하는 메뉴 컴포넌트다. */
780
782
  declare const SelectMenu: React.ForwardRefExoticComponent<SelectMenuProps & React.RefAttributes<HTMLDivElement>>;
@@ -856,16 +858,16 @@ interface SelectHeaderProps {
856
858
  menuItemTextProps?: SelectMenuProps["itemTextProps"];
857
859
  /** SelectMenu에 전달: 선택된 항목 suffix 아이콘 */
858
860
  menuSuffixIcon?: SelectMenuProps["suffixIcon"];
859
- /** 헤더와 메뉴 사이 간격 (px, 기본 8) */
860
- menuGap?: number;
861
861
  /** SelectMenu에 전달: className */
862
862
  menuClassName?: string;
863
863
  /** SelectMenu에 전달: style */
864
864
  menuStyle?: React.CSSProperties;
865
+ /** SelectMenu에 전달: 최대 표시 행 수 */
866
+ menuMaxRows?: number;
865
867
  }
866
868
  /** SelectHeader 컴포넌트는 선택된 값을 표시하고 드롭다운을 여는 헤더 컴포넌트다. items를 주면 클릭 시 메뉴가 열린다. */
867
869
  declare const SelectHeader: {
868
- ({ type, title, required, value: valueProp, placeholder, disabled, error, description, accentIcon, onClick, onClear, prefixIcon, icon, className, id, items, defaultValue, onChange, multiple, showClear, wrapperClassName, wrapperStyle, width, size, menuItemTextProps, menuSuffixIcon, menuGap, menuClassName, menuStyle, }: SelectHeaderProps): react_jsx_runtime.JSX.Element;
870
+ ({ type, title, required, value: valueProp, placeholder, disabled, error, description, accentIcon, onClick, onClear, prefixIcon, icon, className, id, items, defaultValue, onChange, multiple, showClear, wrapperClassName, wrapperStyle, width, size, menuItemTextProps, menuSuffixIcon, menuClassName, menuStyle, menuMaxRows, }: SelectHeaderProps): react_jsx_runtime.JSX.Element;
869
871
  displayName: string;
870
872
  };
871
873
 
@@ -931,11 +933,13 @@ type SelectMenuPassThrough = {
931
933
  itemTextProps?: SelectMenuProps["itemTextProps"];
932
934
  /** 선택된 항목의 suffix 아이콘 (기본: 체크 아이콘). false면 숨김 */
933
935
  suffixIcon?: SelectMenuProps["suffixIcon"];
936
+ /** 메뉴에 표시할 최대 행 수. 초과 시 스크롤 */
937
+ maxRows?: number;
934
938
  };
935
939
  type SelectBoxProps = SelectBoxSpecificProps & SelectHeaderPassThrough & SelectMenuPassThrough;
936
940
  /** SelectBox는 SelectHeader와 SelectMenu를 하나로 통합한 컴포넌트로, 미리 정의된 목록에서 항목을 선택하도록 돕습니다. */
937
941
  declare const SelectBox: {
938
- ({ size, disabled, error, success, loading, label, required, placeholder, items, value, defaultValue, onChange, multiple, description, prefixIcon, className, style, classNames, styles, width, headerType, onClear, showClear, wrapperStyle, onClick, id, itemTextProps, suffixIcon, ...restHeaderProps }: SelectBoxProps): react_jsx_runtime.JSX.Element;
942
+ ({ size, disabled, error, success, loading, label, required, placeholder, items, value, defaultValue, onChange, multiple, description, prefixIcon, className, style, classNames, styles, width, headerType, onClear, showClear, wrapperStyle, onClick, id, itemTextProps, suffixIcon, maxRows, ...restHeaderProps }: SelectBoxProps): react_jsx_runtime.JSX.Element;
939
943
  displayName: string;
940
944
  };
941
945
 
@@ -1497,6 +1501,8 @@ interface TextFieldBaseProps {
1497
1501
  * @default true
1498
1502
  */
1499
1503
  showCount?: boolean;
1504
+ /** 비활성화 상태 */
1505
+ disabled?: boolean;
1500
1506
  /** Help text 아이콘 (true면 기본 아이콘, 노드면 커스텀) */
1501
1507
  accentIcon?: boolean | React.ReactNode;
1502
1508
  onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;