@samkwang/ui-kit 0.6.0 → 0.7.1

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.cts CHANGED
@@ -111,6 +111,8 @@ interface ComboboxProps {
111
111
  value?: string;
112
112
  /** 값 변경 시 콜백 */
113
113
  onChange?: (value: string) => void;
114
+ /** 검색어 변경 시 콜백 (API 연동 시 사용) */
115
+ onSearchChange?: (search: string) => void;
114
116
  /** 입력 플레이스홀더 */
115
117
  placeholder?: string;
116
118
  /** 검색 입력 플레이스홀더 */
@@ -119,6 +121,8 @@ interface ComboboxProps {
119
121
  emptyText?: string;
120
122
  /** 비활성 상태 */
121
123
  disabled?: boolean;
124
+ /** 로딩 상태 (API 응답 대기 중) */
125
+ loading?: boolean;
122
126
  /** label */
123
127
  label?: string;
124
128
  /** 에러 텍스트 */
@@ -127,7 +131,7 @@ interface ComboboxProps {
127
131
  helperText?: string;
128
132
  className?: string;
129
133
  }
130
- declare function Combobox({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, label, errorText, helperText, className, }: ComboboxProps): react_jsx_runtime.JSX.Element;
134
+ declare function Combobox({ options, value, onChange, onSearchChange, placeholder, searchPlaceholder, emptyText, disabled, loading, label, errorText, helperText, className, }: ComboboxProps): react_jsx_runtime.JSX.Element;
131
135
  declare namespace Combobox {
132
136
  var displayName: string;
133
137
  }
package/dist/index.d.ts CHANGED
@@ -111,6 +111,8 @@ interface ComboboxProps {
111
111
  value?: string;
112
112
  /** 값 변경 시 콜백 */
113
113
  onChange?: (value: string) => void;
114
+ /** 검색어 변경 시 콜백 (API 연동 시 사용) */
115
+ onSearchChange?: (search: string) => void;
114
116
  /** 입력 플레이스홀더 */
115
117
  placeholder?: string;
116
118
  /** 검색 입력 플레이스홀더 */
@@ -119,6 +121,8 @@ interface ComboboxProps {
119
121
  emptyText?: string;
120
122
  /** 비활성 상태 */
121
123
  disabled?: boolean;
124
+ /** 로딩 상태 (API 응답 대기 중) */
125
+ loading?: boolean;
122
126
  /** label */
123
127
  label?: string;
124
128
  /** 에러 텍스트 */
@@ -127,7 +131,7 @@ interface ComboboxProps {
127
131
  helperText?: string;
128
132
  className?: string;
129
133
  }
130
- declare function Combobox({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, label, errorText, helperText, className, }: ComboboxProps): react_jsx_runtime.JSX.Element;
134
+ declare function Combobox({ options, value, onChange, onSearchChange, placeholder, searchPlaceholder, emptyText, disabled, loading, label, errorText, helperText, className, }: ComboboxProps): react_jsx_runtime.JSX.Element;
131
135
  declare namespace Combobox {
132
136
  var displayName: string;
133
137
  }