@seekora-ai/ui-sdk-react 0.1.1 → 0.2.4
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/components/SearchResults.d.ts.map +1 -1
- package/dist/components/SearchResults.js +24 -58
- package/dist/docsearch/components/DocSearch.d.ts +4 -0
- package/dist/docsearch/components/DocSearch.d.ts.map +1 -0
- package/dist/docsearch/components/DocSearch.js +81 -0
- package/dist/docsearch/components/DocSearchButton.d.ts +4 -0
- package/dist/docsearch/components/DocSearchButton.d.ts.map +1 -0
- package/dist/docsearch/components/DocSearchButton.js +12 -0
- package/dist/docsearch/components/Footer.d.ts +8 -0
- package/dist/docsearch/components/Footer.d.ts.map +1 -0
- package/dist/docsearch/components/Footer.js +23 -0
- package/dist/docsearch/components/Highlight.d.ts +9 -0
- package/dist/docsearch/components/Highlight.d.ts.map +1 -0
- package/dist/docsearch/components/Highlight.js +48 -0
- package/dist/docsearch/components/Hit.d.ts +15 -0
- package/dist/docsearch/components/Hit.d.ts.map +1 -0
- package/dist/docsearch/components/Hit.js +96 -0
- package/dist/docsearch/components/Modal.d.ts +9 -0
- package/dist/docsearch/components/Modal.d.ts.map +1 -0
- package/dist/docsearch/components/Modal.js +54 -0
- package/dist/docsearch/components/Results.d.ts +21 -0
- package/dist/docsearch/components/Results.d.ts.map +1 -0
- package/dist/docsearch/components/Results.js +91 -0
- package/dist/docsearch/components/SearchBox.d.ts +12 -0
- package/dist/docsearch/components/SearchBox.d.ts.map +1 -0
- package/dist/docsearch/components/SearchBox.js +18 -0
- package/dist/docsearch/hooks/useDocSearch.d.ts +32 -0
- package/dist/docsearch/hooks/useDocSearch.d.ts.map +1 -0
- package/dist/docsearch/hooks/useDocSearch.js +208 -0
- package/dist/docsearch/hooks/useKeyboard.d.ts +17 -0
- package/dist/docsearch/hooks/useKeyboard.d.ts.map +1 -0
- package/dist/docsearch/hooks/useKeyboard.js +71 -0
- package/dist/docsearch/hooks/useSeekoraSearch.d.ts +27 -0
- package/dist/docsearch/hooks/useSeekoraSearch.d.ts.map +1 -0
- package/dist/docsearch/hooks/useSeekoraSearch.js +187 -0
- package/dist/docsearch/index.d.ts +13 -0
- package/dist/docsearch/index.d.ts.map +1 -0
- package/dist/docsearch/index.js +11 -0
- package/dist/docsearch/types.d.ts +170 -0
- package/dist/docsearch/types.d.ts.map +1 -0
- package/dist/docsearch/types.js +4 -0
- package/dist/docsearch.css +237 -0
- package/dist/hooks/useAnalytics.d.ts +8 -4
- package/dist/hooks/useAnalytics.d.ts.map +1 -1
- package/dist/hooks/useAnalytics.js +14 -9
- package/dist/hooks/useSuggestionsAnalytics.d.ts +3 -1
- package/dist/hooks/useSuggestionsAnalytics.d.ts.map +1 -1
- package/dist/hooks/useSuggestionsAnalytics.js +11 -9
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -0
- package/dist/index.umd.js +1 -1
- package/dist/src/index.d.ts +258 -7
- package/dist/src/index.esm.js +1611 -79
- package/dist/src/index.esm.js.map +1 -1
- package/dist/src/index.js +1618 -78
- package/dist/src/index.js.map +1 -1
- package/package.json +8 -6
package/dist/src/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
import { SearchOptions, SearchResponse, SeekoraClient, SearchContext, DataTypesEventPayload } from '@seekora-ai/search-sdk';
|
|
3
|
+
import { SearchOptions, SearchResponse, SeekoraClient, SearchContext, DataTypesEventPayload, ExtendedEventPayload } from '@seekora-ai/search-sdk';
|
|
4
4
|
import * as _seekora_ai_ui_sdk_types from '@seekora-ai/ui-sdk-types';
|
|
5
5
|
import { ResultItem, ViewMode, FieldMapping, ThemeConfig, Theme, QuerySuggestionsEventHandlers, HighlightConfig, KeyboardNavConfig, AnimationConfig, QuerySuggestionsClassNames, SuggestionItem as SuggestionItem$2, RecentSearch, DropdownSectionConfig, SuggestionCategory, TrendingSearch, ProductItem, PopularBrand, FilteredTab, QuerySuggestionsVariant, QuerySuggestionsResponse, DropdownRecommendations, TopSearch, RelatedSearch } from '@seekora-ai/ui-sdk-types';
|
|
6
6
|
export { FieldMapping, ResultItem, Theme, ThemeConfig, ViewMode } from '@seekora-ai/ui-sdk-types';
|
|
7
7
|
import { SearchStateManagerConfig, SearchStateManager, HighlightPart, SearchState } from '@seekora-ai/ui-sdk-core';
|
|
8
|
-
export { mergeThemes } from '@seekora-ai/ui-sdk-core';
|
|
8
|
+
export { Fingerprint, FingerprintComponents, FingerprintConfig, FingerprintResult, getFingerprint, mergeThemes } from '@seekora-ai/ui-sdk-core';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* SearchBar Component
|
|
@@ -2300,6 +2300,251 @@ declare const SuggestionDropdownVariants: {
|
|
|
2300
2300
|
};
|
|
2301
2301
|
type SuggestionDropdownVariant = keyof typeof SuggestionDropdownVariants;
|
|
2302
2302
|
|
|
2303
|
+
/**
|
|
2304
|
+
* Seekora DocSearch Types
|
|
2305
|
+
*/
|
|
2306
|
+
|
|
2307
|
+
interface DocSearchHit {
|
|
2308
|
+
objectID: string;
|
|
2309
|
+
url: string;
|
|
2310
|
+
anchor?: string;
|
|
2311
|
+
title: string;
|
|
2312
|
+
content: string;
|
|
2313
|
+
section_level: number;
|
|
2314
|
+
hierarchy: {
|
|
2315
|
+
lvl0?: string;
|
|
2316
|
+
lvl1?: string;
|
|
2317
|
+
lvl2?: string;
|
|
2318
|
+
lvl3?: string;
|
|
2319
|
+
lvl4?: string;
|
|
2320
|
+
lvl5?: string;
|
|
2321
|
+
};
|
|
2322
|
+
_highlightResult?: {
|
|
2323
|
+
title?: {
|
|
2324
|
+
value: string;
|
|
2325
|
+
matchLevel: string;
|
|
2326
|
+
};
|
|
2327
|
+
content?: {
|
|
2328
|
+
value: string;
|
|
2329
|
+
matchLevel: string;
|
|
2330
|
+
};
|
|
2331
|
+
hierarchy?: {
|
|
2332
|
+
lvl0?: {
|
|
2333
|
+
value: string;
|
|
2334
|
+
matchLevel: string;
|
|
2335
|
+
};
|
|
2336
|
+
lvl1?: {
|
|
2337
|
+
value: string;
|
|
2338
|
+
matchLevel: string;
|
|
2339
|
+
};
|
|
2340
|
+
lvl2?: {
|
|
2341
|
+
value: string;
|
|
2342
|
+
matchLevel: string;
|
|
2343
|
+
};
|
|
2344
|
+
lvl3?: {
|
|
2345
|
+
value: string;
|
|
2346
|
+
matchLevel: string;
|
|
2347
|
+
};
|
|
2348
|
+
};
|
|
2349
|
+
};
|
|
2350
|
+
_source?: string;
|
|
2351
|
+
}
|
|
2352
|
+
interface DocSearchSuggestion {
|
|
2353
|
+
url: string;
|
|
2354
|
+
title: string;
|
|
2355
|
+
content?: string;
|
|
2356
|
+
description?: string;
|
|
2357
|
+
category?: string;
|
|
2358
|
+
hierarchy?: {
|
|
2359
|
+
lvl0?: string;
|
|
2360
|
+
lvl1?: string;
|
|
2361
|
+
lvl2?: string;
|
|
2362
|
+
lvl3?: string;
|
|
2363
|
+
lvl4?: string;
|
|
2364
|
+
lvl5?: string;
|
|
2365
|
+
};
|
|
2366
|
+
highlight?: {
|
|
2367
|
+
title?: string;
|
|
2368
|
+
content?: string;
|
|
2369
|
+
};
|
|
2370
|
+
_source?: string;
|
|
2371
|
+
route?: string;
|
|
2372
|
+
parentTitle?: string;
|
|
2373
|
+
type?: string;
|
|
2374
|
+
anchor?: string;
|
|
2375
|
+
}
|
|
2376
|
+
interface SearchSource {
|
|
2377
|
+
id: string;
|
|
2378
|
+
name: string;
|
|
2379
|
+
endpoint: string;
|
|
2380
|
+
apiKey?: string;
|
|
2381
|
+
storeId?: string;
|
|
2382
|
+
storeSecret?: string;
|
|
2383
|
+
maxResults?: number;
|
|
2384
|
+
minQueryLength?: number;
|
|
2385
|
+
transformResults?: (data: any) => DocSearchSuggestion[];
|
|
2386
|
+
openInNewTab?: boolean;
|
|
2387
|
+
icon?: string;
|
|
2388
|
+
}
|
|
2389
|
+
interface DocSearchResponse {
|
|
2390
|
+
hits: DocSearchHit[];
|
|
2391
|
+
query: string;
|
|
2392
|
+
total?: number;
|
|
2393
|
+
page?: number;
|
|
2394
|
+
nbPages?: number;
|
|
2395
|
+
}
|
|
2396
|
+
interface DocSearchSuggestionsResponse {
|
|
2397
|
+
suggestions: DocSearchSuggestion[];
|
|
2398
|
+
query: string;
|
|
2399
|
+
}
|
|
2400
|
+
interface DocSearchProps {
|
|
2401
|
+
storeId?: string;
|
|
2402
|
+
storeSecret?: string;
|
|
2403
|
+
seekoraApiEndpoint?: string;
|
|
2404
|
+
apiEndpoint?: string;
|
|
2405
|
+
apiKey?: string;
|
|
2406
|
+
sources?: SearchSource[];
|
|
2407
|
+
indexName?: string;
|
|
2408
|
+
placeholder?: string;
|
|
2409
|
+
maxResults?: number;
|
|
2410
|
+
debounceMs?: number;
|
|
2411
|
+
onSelect?: (hit: DocSearchHit | DocSearchSuggestion) => void;
|
|
2412
|
+
onClose?: () => void;
|
|
2413
|
+
translations?: DocSearchTranslations;
|
|
2414
|
+
renderButton?: boolean;
|
|
2415
|
+
buttonComponent?: React__default.ComponentType<DocSearchButtonProps>;
|
|
2416
|
+
initialOpen?: boolean;
|
|
2417
|
+
disableShortcut?: boolean;
|
|
2418
|
+
shortcutKey?: string;
|
|
2419
|
+
}
|
|
2420
|
+
interface DocSearchButtonProps {
|
|
2421
|
+
onClick: () => void;
|
|
2422
|
+
placeholder?: string;
|
|
2423
|
+
}
|
|
2424
|
+
interface DocSearchTranslations {
|
|
2425
|
+
buttonText?: string;
|
|
2426
|
+
buttonAriaLabel?: string;
|
|
2427
|
+
searchPlaceholder?: string;
|
|
2428
|
+
noResultsText?: string;
|
|
2429
|
+
loadingText?: string;
|
|
2430
|
+
errorText?: string;
|
|
2431
|
+
footerText?: string;
|
|
2432
|
+
closeText?: string;
|
|
2433
|
+
searchByText?: string;
|
|
2434
|
+
}
|
|
2435
|
+
interface DocSearchState {
|
|
2436
|
+
query: string;
|
|
2437
|
+
results: DocSearchHit[];
|
|
2438
|
+
suggestions: DocSearchSuggestion[];
|
|
2439
|
+
isLoading: boolean;
|
|
2440
|
+
error: string | null;
|
|
2441
|
+
selectedIndex: number;
|
|
2442
|
+
mode: 'suggestions' | 'results';
|
|
2443
|
+
}
|
|
2444
|
+
type DocSearchAction = {
|
|
2445
|
+
type: 'SET_QUERY';
|
|
2446
|
+
payload: string;
|
|
2447
|
+
} | {
|
|
2448
|
+
type: 'SET_RESULTS';
|
|
2449
|
+
payload: DocSearchHit[];
|
|
2450
|
+
} | {
|
|
2451
|
+
type: 'SET_SUGGESTIONS';
|
|
2452
|
+
payload: DocSearchSuggestion[];
|
|
2453
|
+
} | {
|
|
2454
|
+
type: 'SET_LOADING';
|
|
2455
|
+
payload: boolean;
|
|
2456
|
+
} | {
|
|
2457
|
+
type: 'SET_ERROR';
|
|
2458
|
+
payload: string | null;
|
|
2459
|
+
} | {
|
|
2460
|
+
type: 'SET_SELECTED_INDEX';
|
|
2461
|
+
payload: number;
|
|
2462
|
+
} | {
|
|
2463
|
+
type: 'SELECT_NEXT';
|
|
2464
|
+
} | {
|
|
2465
|
+
type: 'SELECT_PREV';
|
|
2466
|
+
} | {
|
|
2467
|
+
type: 'SET_MODE';
|
|
2468
|
+
payload: 'suggestions' | 'results';
|
|
2469
|
+
} | {
|
|
2470
|
+
type: 'RESET';
|
|
2471
|
+
};
|
|
2472
|
+
|
|
2473
|
+
declare function DocSearch({ storeId, storeSecret, seekoraApiEndpoint, apiEndpoint, apiKey, sources, placeholder, maxResults, debounceMs, onSelect, onClose, translations, renderButton, buttonComponent: ButtonComponent, initialOpen, disableShortcut, shortcutKey, }: DocSearchProps): React__default.JSX.Element;
|
|
2474
|
+
|
|
2475
|
+
declare function DocSearchButton({ onClick, placeholder }: DocSearchButtonProps): React__default.JSX.Element;
|
|
2476
|
+
|
|
2477
|
+
interface UseDocSearchOptions {
|
|
2478
|
+
apiEndpoint?: string;
|
|
2479
|
+
apiKey?: string;
|
|
2480
|
+
sources?: SearchSource[];
|
|
2481
|
+
maxResults?: number;
|
|
2482
|
+
debounceMs?: number;
|
|
2483
|
+
}
|
|
2484
|
+
declare function useDocSearch(options: UseDocSearchOptions): {
|
|
2485
|
+
sources: SearchSource[];
|
|
2486
|
+
setQuery: (query: string) => void;
|
|
2487
|
+
search: (q: string) => Promise<void>;
|
|
2488
|
+
fetchSuggestions: (query: string) => Promise<void>;
|
|
2489
|
+
selectNext: () => void;
|
|
2490
|
+
selectPrev: () => void;
|
|
2491
|
+
setSelectedIndex: (index: number) => void;
|
|
2492
|
+
reset: () => void;
|
|
2493
|
+
getSelectedItem: () => DocSearchHit | DocSearchSuggestion | null;
|
|
2494
|
+
groupedSuggestions: {
|
|
2495
|
+
source: SearchSource;
|
|
2496
|
+
items: DocSearchSuggestion[];
|
|
2497
|
+
}[];
|
|
2498
|
+
query: string;
|
|
2499
|
+
results: DocSearchHit[];
|
|
2500
|
+
suggestions: DocSearchSuggestion[];
|
|
2501
|
+
isLoading: boolean;
|
|
2502
|
+
error: string | null;
|
|
2503
|
+
selectedIndex: number;
|
|
2504
|
+
mode: "suggestions" | "results";
|
|
2505
|
+
};
|
|
2506
|
+
|
|
2507
|
+
interface UseSeekoraSearchOptions$1 {
|
|
2508
|
+
storeId: string;
|
|
2509
|
+
storeSecret?: string;
|
|
2510
|
+
apiEndpoint?: string;
|
|
2511
|
+
maxResults?: number;
|
|
2512
|
+
debounceMs?: number;
|
|
2513
|
+
analyticsTags?: string[];
|
|
2514
|
+
groupField?: string;
|
|
2515
|
+
groupSize?: number;
|
|
2516
|
+
}
|
|
2517
|
+
interface UseSeekoraSearchResult {
|
|
2518
|
+
query: string;
|
|
2519
|
+
suggestions: DocSearchSuggestion[];
|
|
2520
|
+
isLoading: boolean;
|
|
2521
|
+
error: string | null;
|
|
2522
|
+
selectedIndex: number;
|
|
2523
|
+
setQuery: (query: string) => void;
|
|
2524
|
+
selectNext: () => void;
|
|
2525
|
+
selectPrev: () => void;
|
|
2526
|
+
setSelectedIndex: (index: number) => void;
|
|
2527
|
+
reset: () => void;
|
|
2528
|
+
getSelectedItem: () => DocSearchSuggestion | null;
|
|
2529
|
+
trackDocClick: (hit: DocSearchSuggestion, position: number) => void | Promise<void>;
|
|
2530
|
+
}
|
|
2531
|
+
declare function useSeekoraSearch$1(options: UseSeekoraSearchOptions$1): UseSeekoraSearchResult;
|
|
2532
|
+
|
|
2533
|
+
interface UseKeyboardOptions {
|
|
2534
|
+
isOpen: boolean;
|
|
2535
|
+
onOpen: () => void;
|
|
2536
|
+
onClose: () => void;
|
|
2537
|
+
onSelectNext: () => void;
|
|
2538
|
+
onSelectPrev: () => void;
|
|
2539
|
+
onEnter: () => void;
|
|
2540
|
+
disableShortcut?: boolean;
|
|
2541
|
+
shortcutKey?: string;
|
|
2542
|
+
}
|
|
2543
|
+
declare function useKeyboard(options: UseKeyboardOptions): {
|
|
2544
|
+
handleModalKeyDown: (event: KeyboardEvent | React__default.KeyboardEvent) => void;
|
|
2545
|
+
};
|
|
2546
|
+
declare function getShortcutText(key?: string): string;
|
|
2547
|
+
|
|
2303
2548
|
/**
|
|
2304
2549
|
* useSeekoraSearch Hook
|
|
2305
2550
|
*
|
|
@@ -2486,6 +2731,8 @@ interface UseSuggestionsAnalyticsOptions {
|
|
|
2486
2731
|
trackImpressions?: boolean;
|
|
2487
2732
|
/** Track clicks automatically */
|
|
2488
2733
|
trackClicks?: boolean;
|
|
2734
|
+
/** Optional search context (correlationId, searchId) to attach to events when available */
|
|
2735
|
+
context?: SearchContext | Partial<SearchContext>;
|
|
2489
2736
|
}
|
|
2490
2737
|
interface SuggestionClickEventData {
|
|
2491
2738
|
/** The clicked suggestion */
|
|
@@ -2554,18 +2801,22 @@ declare function useSuggestionsAnalytics(options: UseSuggestionsAnalyticsOptions
|
|
|
2554
2801
|
/**
|
|
2555
2802
|
* useAnalytics Hook
|
|
2556
2803
|
*
|
|
2557
|
-
* Hook for tracking analytics events with the Seekora SDK
|
|
2804
|
+
* Hook for tracking analytics events with the Seekora SDK.
|
|
2805
|
+
* Supports Analytics V3 payload fields (event_ts, anonymous_id, orgcode, xstoreid);
|
|
2806
|
+
* the SDK sends both legacy and v3 fields for backend compatibility.
|
|
2558
2807
|
*/
|
|
2559
2808
|
|
|
2560
2809
|
interface UseAnalyticsOptions {
|
|
2561
2810
|
client: SeekoraClient;
|
|
2562
2811
|
enabled?: boolean;
|
|
2563
2812
|
}
|
|
2813
|
+
/** Payload for trackEvent/trackBatch: supports legacy and Analytics V3 field names */
|
|
2814
|
+
type AnalyticsEventPayload = Partial<DataTypesEventPayload> & Partial<ExtendedEventPayload>;
|
|
2564
2815
|
interface UseAnalyticsReturn {
|
|
2565
|
-
trackEvent: (eventType: string, payload:
|
|
2816
|
+
trackEvent: (eventType: string, payload: AnalyticsEventPayload, context?: SearchContext | Partial<SearchContext>) => Promise<void>;
|
|
2566
2817
|
trackClick: (resultId: string, result: any, context?: SearchContext | Partial<SearchContext>, position?: number) => Promise<void>;
|
|
2567
2818
|
trackConversion: (resultId: string, result: any, value?: number, currency?: string, context?: SearchContext | Partial<SearchContext>) => Promise<void>;
|
|
2568
|
-
trackBatch: (events: (
|
|
2819
|
+
trackBatch: (events: (AnalyticsEventPayload & {
|
|
2569
2820
|
event_name?: string;
|
|
2570
2821
|
})[], context?: SearchContext) => Promise<void>;
|
|
2571
2822
|
}
|
|
@@ -2845,5 +3096,5 @@ declare function updateSuggestionsStyles(theme: SuggestionsThemeVariables): void
|
|
|
2845
3096
|
|
|
2846
3097
|
declare const createTheme: (config: ThemeConfig) => _seekora_ai_ui_sdk_types.Theme;
|
|
2847
3098
|
|
|
2848
|
-
export { AmazonDropdown, Breadcrumb, ClearRefinements, CurrentRefinements, Facets, FederatedDropdown, FrequentlyBoughtTogether, GoogleDropdown, HierarchicalMenu, Highlight, HitsPerPage, InfiniteHits, MinimalDropdown, MobileFilters, MobileFiltersButton, MobileSheetDropdown, Pagination, PinterestDropdown, QuerySuggestions, QuerySuggestionsDropdown, RangeInput, RangeSlider, RecentlyViewed, RelatedProducts, RichQuerySuggestions, SearchBar, SearchBarWithSuggestions, SearchLayout, SearchProvider, SearchResults, ShopifyDropdown, Snippet, SortBy, SpotlightDropdown, Stats, SuggestionDropdownVariants, SuggestionSearchBar, SuggestionsCache, TrendingItems, addRecentSearch, addToRecentlyViewed, brandPresets, breakpoints, clearRecentSearches, clearSuggestionsCache, createSuggestionsCache, createSuggestionsTheme, createTheme, darkTheme, darkThemeVariables, defaultTheme, extractBrand, extractCategory, extractProduct, extractSuggestion, formatParsedFilters, formatPrice as formatSuggestionPrice, generateSuggestionsStylesheet, getRecentSearches, getSuggestionsCache, highlightText, injectGlobalResponsiveStyles, injectSuggestionsStyles, lightThemeVariables, mediaQueries, minimalTheme, minimalThemeVariables, removeRecentSearch, touchTargets, updateSuggestionsStyles, useAnalytics, useInjectResponsiveStyles, useNaturalLanguageFilters, useQuerySuggestions, useQuerySuggestionsEnhanced, useResponsive, useSearchContext, useSearchState, useSeekoraSearch, useSmartSuggestions, useSuggestionsAnalytics };
|
|
2849
|
-
export type { AnalyticsConfig, BaseDropdownProps, BrandFieldMapping, BreadcrumbItem, BreadcrumbProps, BreadcrumbTheme, CategoryFieldMapping, ClearRefinementsProps, ClearRefinementsTheme, DropdownClassNames, DropdownEventHandlers, DropdownRef, DropdownThemeConfig, FederatedDropdownProps, FederatedDropdownRef, FrequentlyBoughtTogetherProps, HierarchicalMenuItem, HierarchicalMenuProps, HierarchicalMenuTheme, HighlightProps, HighlightTheme, HitsPerPageItem, HitsPerPageProps, HitsPerPageTheme, InfiniteHitsProps, InfiniteHitsTheme, MobileFiltersButtonProps, MobileFiltersProps, MobileFiltersTheme, NaturalLanguageFiltersOptions, NaturalLanguageResult, NavigableItem, ParsedFilter, ProductClickEventData, ProductDisplayConfig, ProductFieldMapping, QuerySuggestionsDropdownProps, QuerySuggestionsDropdownRef, QuerySuggestionsProps, QuerySuggestionsTheme, RangeSliderProps, RangeSliderTheme, RecentlyViewedProps, RecommendationItem, RecommendationTheme, RelatedProductsProps, ResponsiveState, RichQuerySuggestionsProps, RichQuerySuggestionsRef, SearchBarProps, SearchBarTheme, SearchBarWithSuggestionsProps, SearchBarWithSuggestionsRef, SearchProviderProps, SearchResultsProps, SearchResultsTheme, SectionConfig, SmartSuggestion, SmartSuggestionsOptions, SnippetProps, SnippetTheme, SuggestionClickEventData, SuggestionDisplayConfig, SuggestionDropdownVariant, SuggestionFieldMapping, SuggestionImpressionEventData, SuggestionItem$1 as SuggestionItem, SuggestionSearchBarProps, SuggestionSearchBarRef, SuggestionsThemeVariables, TrendingItemsProps, UseQuerySuggestionsEnhancedOptions, UseQuerySuggestionsEnhancedReturn, UseSmartSuggestionsReturn, UseSuggestionsAnalyticsOptions, UseSuggestionsAnalyticsReturn };
|
|
3099
|
+
export { AmazonDropdown, Breadcrumb, ClearRefinements, CurrentRefinements, DocSearch, DocSearchButton, Facets, FederatedDropdown, FrequentlyBoughtTogether, GoogleDropdown, HierarchicalMenu, Highlight, HitsPerPage, InfiniteHits, MinimalDropdown, MobileFilters, MobileFiltersButton, MobileSheetDropdown, Pagination, PinterestDropdown, QuerySuggestions, QuerySuggestionsDropdown, RangeInput, RangeSlider, RecentlyViewed, RelatedProducts, RichQuerySuggestions, SearchBar, SearchBarWithSuggestions, SearchLayout, SearchProvider, SearchResults, ShopifyDropdown, Snippet, SortBy, SpotlightDropdown, Stats, SuggestionDropdownVariants, SuggestionSearchBar, SuggestionsCache, TrendingItems, addRecentSearch, addToRecentlyViewed, brandPresets, breakpoints, clearRecentSearches, clearSuggestionsCache, createSuggestionsCache, createSuggestionsTheme, createTheme, darkTheme, darkThemeVariables, defaultTheme, extractBrand, extractCategory, extractProduct, extractSuggestion, formatParsedFilters, formatPrice as formatSuggestionPrice, generateSuggestionsStylesheet, getRecentSearches, getShortcutText, getSuggestionsCache, highlightText, injectGlobalResponsiveStyles, injectSuggestionsStyles, lightThemeVariables, mediaQueries, minimalTheme, minimalThemeVariables, removeRecentSearch, touchTargets, updateSuggestionsStyles, useAnalytics, useDocSearch, useSeekoraSearch$1 as useDocSearchSeekoraSearch, useInjectResponsiveStyles, useKeyboard, useNaturalLanguageFilters, useQuerySuggestions, useQuerySuggestionsEnhanced, useResponsive, useSearchContext, useSearchState, useSeekoraSearch, useSmartSuggestions, useSuggestionsAnalytics };
|
|
3100
|
+
export type { AnalyticsConfig, AnalyticsEventPayload, BaseDropdownProps, BrandFieldMapping, BreadcrumbItem, BreadcrumbProps, BreadcrumbTheme, CategoryFieldMapping, ClearRefinementsProps, ClearRefinementsTheme, DocSearchAction, DocSearchButtonProps, DocSearchHit, DocSearchProps, DocSearchResponse, DocSearchState, DocSearchSuggestion, DocSearchSuggestionsResponse, DocSearchTranslations, DropdownClassNames, DropdownEventHandlers, DropdownRef, DropdownThemeConfig, FederatedDropdownProps, FederatedDropdownRef, FrequentlyBoughtTogetherProps, HierarchicalMenuItem, HierarchicalMenuProps, HierarchicalMenuTheme, HighlightProps, HighlightTheme, HitsPerPageItem, HitsPerPageProps, HitsPerPageTheme, InfiniteHitsProps, InfiniteHitsTheme, MobileFiltersButtonProps, MobileFiltersProps, MobileFiltersTheme, NaturalLanguageFiltersOptions, NaturalLanguageResult, NavigableItem, ParsedFilter, ProductClickEventData, ProductDisplayConfig, ProductFieldMapping, QuerySuggestionsDropdownProps, QuerySuggestionsDropdownRef, QuerySuggestionsProps, QuerySuggestionsTheme, RangeSliderProps, RangeSliderTheme, RecentlyViewedProps, RecommendationItem, RecommendationTheme, RelatedProductsProps, ResponsiveState, RichQuerySuggestionsProps, RichQuerySuggestionsRef, SearchBarProps, SearchBarTheme, SearchBarWithSuggestionsProps, SearchBarWithSuggestionsRef, SearchProviderProps, SearchResultsProps, SearchResultsTheme, SearchSource, SectionConfig, SmartSuggestion, SmartSuggestionsOptions, SnippetProps, SnippetTheme, SuggestionClickEventData, SuggestionDisplayConfig, SuggestionDropdownVariant, SuggestionFieldMapping, SuggestionImpressionEventData, SuggestionItem$1 as SuggestionItem, SuggestionSearchBarProps, SuggestionSearchBarRef, SuggestionsThemeVariables, TrendingItemsProps, UseAnalyticsOptions, UseAnalyticsReturn, UseSeekoraSearchOptions$1 as UseDocSearchSeekoraSearchOptions, UseSeekoraSearchResult as UseDocSearchSeekoraSearchResult, UseQuerySuggestionsEnhancedOptions, UseQuerySuggestionsEnhancedReturn, UseSmartSuggestionsReturn, UseSuggestionsAnalyticsOptions, UseSuggestionsAnalyticsReturn };
|