@designbasekorea/ui 0.6.1 → 0.7.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
@@ -3424,10 +3424,26 @@ interface SearchBarProps {
3424
3424
  enableRecentSearches?: boolean;
3425
3425
  /** 최근 검색어 저장 키 (로컬스토리지) */
3426
3426
  recentSearchesKey?: string;
3427
+ /** 최근 검색어 레이아웃 (가로/세로) */
3428
+ recentSearchesLayout?: 'vertical' | 'horizontal';
3427
3429
  /** 추천 검색어 목록 */
3428
3430
  suggestedSearches?: string[];
3429
3431
  /** 추천 검색어 롤링 간격 (ms) */
3430
3432
  suggestionRollingInterval?: number;
3433
+ /** 카테고리 필터 칩 목록 */
3434
+ categories?: string[];
3435
+ /** 선택된 카테고리 칩 */
3436
+ selectedCategory?: string;
3437
+ /** 카테고리 변경 핸들러 */
3438
+ onCategoryChange?: (category: string) => void;
3439
+ /** 검색 결과 목록 */
3440
+ searchResults?: any[];
3441
+ /** 검색 결과 커스텀 렌더러 */
3442
+ renderSearchResult?: (result: any, index: number) => React$1.ReactNode;
3443
+ /** 검색 결과 클릭 핸들러 */
3444
+ onSearchResultClick?: (result: any) => void;
3445
+ /** 데이터 없을 때 보여줄 빈 상태 메시지 */
3446
+ emptyStateMessage?: React$1.ReactNode;
3431
3447
  /** 검색어 변경 핸들러 */
3432
3448
  onChange?: (value: string) => void;
3433
3449
  /** 검색 실행 핸들러 */