@seekora-ai/ui-sdk-react 0.2.0 → 0.2.5
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/FederatedDropdown.d.ts +6 -0
- package/dist/components/FederatedDropdown.d.ts.map +1 -1
- package/dist/components/FederatedDropdown.js +4 -2
- package/dist/components/SearchBarWithSuggestions.d.ts +4 -0
- package/dist/components/SearchBarWithSuggestions.d.ts.map +1 -1
- package/dist/components/SearchBarWithSuggestions.js +2 -2
- 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 +91 -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 +23 -0
- package/dist/docsearch/components/Results.d.ts.map +1 -0
- package/dist/docsearch/components/Results.js +145 -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 +33 -0
- package/dist/docsearch/hooks/useDocSearch.d.ts.map +1 -0
- package/dist/docsearch/hooks/useDocSearch.js +211 -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 +207 -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 +172 -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/useQuerySuggestionsEnhanced.js +1 -1
- 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 +271 -7
- package/dist/src/index.esm.js +1705 -84
- package/dist/src/index.esm.js.map +1 -1
- package/dist/src/index.js +1712 -83
- package/dist/src/index.js.map +1 -1
- package/package.json +9 -6
- package/src/docsearch/docsearch.css +237 -0
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
|
|
@@ -1199,6 +1199,12 @@ interface FederatedDropdownProps extends QuerySuggestionsEventHandlers {
|
|
|
1199
1199
|
zIndex?: number;
|
|
1200
1200
|
/** Analytics tags */
|
|
1201
1201
|
analyticsTags?: string[];
|
|
1202
|
+
/** Include facets in suggestions API response */
|
|
1203
|
+
includeFacets?: boolean;
|
|
1204
|
+
/** Include categories in suggestions API response */
|
|
1205
|
+
includeCategories?: boolean;
|
|
1206
|
+
/** Include dropdown recommendations (trending products, top searches, etc.) */
|
|
1207
|
+
includeDropdownRecommendations?: boolean;
|
|
1202
1208
|
}
|
|
1203
1209
|
interface FederatedDropdownRef {
|
|
1204
1210
|
getActiveIndex: () => number;
|
|
@@ -1265,6 +1271,10 @@ interface SearchBarWithSuggestionsProps {
|
|
|
1265
1271
|
enableAnalytics?: boolean;
|
|
1266
1272
|
/** Analytics tags */
|
|
1267
1273
|
analyticsTags?: string[];
|
|
1274
|
+
/** Include facets in suggestions API response (federated/rich) */
|
|
1275
|
+
includeFacets?: boolean;
|
|
1276
|
+
/** Include categories in suggestions API response (federated/rich) */
|
|
1277
|
+
includeCategories?: boolean;
|
|
1268
1278
|
/** Dropdown width */
|
|
1269
1279
|
dropdownWidth?: string | number;
|
|
1270
1280
|
/** Dropdown max height */
|
|
@@ -2300,6 +2310,254 @@ declare const SuggestionDropdownVariants: {
|
|
|
2300
2310
|
};
|
|
2301
2311
|
type SuggestionDropdownVariant = keyof typeof SuggestionDropdownVariants;
|
|
2302
2312
|
|
|
2313
|
+
/**
|
|
2314
|
+
* Seekora DocSearch Types
|
|
2315
|
+
*/
|
|
2316
|
+
|
|
2317
|
+
interface DocSearchHit {
|
|
2318
|
+
objectID: string;
|
|
2319
|
+
url: string;
|
|
2320
|
+
anchor?: string;
|
|
2321
|
+
title: string;
|
|
2322
|
+
content: string;
|
|
2323
|
+
section_level: number;
|
|
2324
|
+
hierarchy: {
|
|
2325
|
+
lvl0?: string;
|
|
2326
|
+
lvl1?: string;
|
|
2327
|
+
lvl2?: string;
|
|
2328
|
+
lvl3?: string;
|
|
2329
|
+
lvl4?: string;
|
|
2330
|
+
lvl5?: string;
|
|
2331
|
+
};
|
|
2332
|
+
_highlightResult?: {
|
|
2333
|
+
title?: {
|
|
2334
|
+
value: string;
|
|
2335
|
+
matchLevel: string;
|
|
2336
|
+
};
|
|
2337
|
+
content?: {
|
|
2338
|
+
value: string;
|
|
2339
|
+
matchLevel: string;
|
|
2340
|
+
};
|
|
2341
|
+
hierarchy?: {
|
|
2342
|
+
lvl0?: {
|
|
2343
|
+
value: string;
|
|
2344
|
+
matchLevel: string;
|
|
2345
|
+
};
|
|
2346
|
+
lvl1?: {
|
|
2347
|
+
value: string;
|
|
2348
|
+
matchLevel: string;
|
|
2349
|
+
};
|
|
2350
|
+
lvl2?: {
|
|
2351
|
+
value: string;
|
|
2352
|
+
matchLevel: string;
|
|
2353
|
+
};
|
|
2354
|
+
lvl3?: {
|
|
2355
|
+
value: string;
|
|
2356
|
+
matchLevel: string;
|
|
2357
|
+
};
|
|
2358
|
+
};
|
|
2359
|
+
};
|
|
2360
|
+
_source?: string;
|
|
2361
|
+
}
|
|
2362
|
+
interface DocSearchSuggestion {
|
|
2363
|
+
url: string;
|
|
2364
|
+
title: string;
|
|
2365
|
+
content?: string;
|
|
2366
|
+
description?: string;
|
|
2367
|
+
category?: string;
|
|
2368
|
+
hierarchy?: {
|
|
2369
|
+
lvl0?: string;
|
|
2370
|
+
lvl1?: string;
|
|
2371
|
+
lvl2?: string;
|
|
2372
|
+
lvl3?: string;
|
|
2373
|
+
lvl4?: string;
|
|
2374
|
+
lvl5?: string;
|
|
2375
|
+
};
|
|
2376
|
+
highlight?: {
|
|
2377
|
+
title?: string;
|
|
2378
|
+
content?: string;
|
|
2379
|
+
};
|
|
2380
|
+
_source?: string;
|
|
2381
|
+
route?: string;
|
|
2382
|
+
parentTitle?: string;
|
|
2383
|
+
type?: string;
|
|
2384
|
+
anchor?: string;
|
|
2385
|
+
}
|
|
2386
|
+
interface SearchSource {
|
|
2387
|
+
id: string;
|
|
2388
|
+
name: string;
|
|
2389
|
+
endpoint: string;
|
|
2390
|
+
apiKey?: string;
|
|
2391
|
+
storeId?: string;
|
|
2392
|
+
storeSecret?: string;
|
|
2393
|
+
maxResults?: number;
|
|
2394
|
+
minQueryLength?: number;
|
|
2395
|
+
transformResults?: (data: any) => DocSearchSuggestion[];
|
|
2396
|
+
openInNewTab?: boolean;
|
|
2397
|
+
icon?: string;
|
|
2398
|
+
}
|
|
2399
|
+
interface DocSearchResponse {
|
|
2400
|
+
hits: DocSearchHit[];
|
|
2401
|
+
query: string;
|
|
2402
|
+
total?: number;
|
|
2403
|
+
page?: number;
|
|
2404
|
+
nbPages?: number;
|
|
2405
|
+
}
|
|
2406
|
+
interface DocSearchSuggestionsResponse {
|
|
2407
|
+
suggestions: DocSearchSuggestion[];
|
|
2408
|
+
query: string;
|
|
2409
|
+
}
|
|
2410
|
+
interface DocSearchProps {
|
|
2411
|
+
storeId?: string;
|
|
2412
|
+
storeSecret?: string;
|
|
2413
|
+
seekoraApiEndpoint?: string;
|
|
2414
|
+
apiEndpoint?: string;
|
|
2415
|
+
apiKey?: string;
|
|
2416
|
+
sources?: SearchSource[];
|
|
2417
|
+
indexName?: string;
|
|
2418
|
+
placeholder?: string;
|
|
2419
|
+
maxResults?: number;
|
|
2420
|
+
debounceMs?: number;
|
|
2421
|
+
onSelect?: (hit: DocSearchHit | DocSearchSuggestion) => void;
|
|
2422
|
+
onClose?: () => void;
|
|
2423
|
+
translations?: DocSearchTranslations;
|
|
2424
|
+
renderButton?: boolean;
|
|
2425
|
+
buttonComponent?: React__default.ComponentType<DocSearchButtonProps>;
|
|
2426
|
+
initialOpen?: boolean;
|
|
2427
|
+
disableShortcut?: boolean;
|
|
2428
|
+
shortcutKey?: string;
|
|
2429
|
+
/** Post-process results per source (e.g. filter by permission, resolve :storeId). */
|
|
2430
|
+
processGroupedResults?: (sourceId: string, items: DocSearchSuggestion[]) => DocSearchSuggestion[];
|
|
2431
|
+
}
|
|
2432
|
+
interface DocSearchButtonProps {
|
|
2433
|
+
onClick: () => void;
|
|
2434
|
+
placeholder?: string;
|
|
2435
|
+
}
|
|
2436
|
+
interface DocSearchTranslations {
|
|
2437
|
+
buttonText?: string;
|
|
2438
|
+
buttonAriaLabel?: string;
|
|
2439
|
+
searchPlaceholder?: string;
|
|
2440
|
+
noResultsText?: string;
|
|
2441
|
+
loadingText?: string;
|
|
2442
|
+
errorText?: string;
|
|
2443
|
+
footerText?: string;
|
|
2444
|
+
closeText?: string;
|
|
2445
|
+
searchByText?: string;
|
|
2446
|
+
}
|
|
2447
|
+
interface DocSearchState {
|
|
2448
|
+
query: string;
|
|
2449
|
+
results: DocSearchHit[];
|
|
2450
|
+
suggestions: DocSearchSuggestion[];
|
|
2451
|
+
isLoading: boolean;
|
|
2452
|
+
error: string | null;
|
|
2453
|
+
selectedIndex: number;
|
|
2454
|
+
mode: 'suggestions' | 'results';
|
|
2455
|
+
}
|
|
2456
|
+
type DocSearchAction = {
|
|
2457
|
+
type: 'SET_QUERY';
|
|
2458
|
+
payload: string;
|
|
2459
|
+
} | {
|
|
2460
|
+
type: 'SET_RESULTS';
|
|
2461
|
+
payload: DocSearchHit[];
|
|
2462
|
+
} | {
|
|
2463
|
+
type: 'SET_SUGGESTIONS';
|
|
2464
|
+
payload: DocSearchSuggestion[];
|
|
2465
|
+
} | {
|
|
2466
|
+
type: 'SET_LOADING';
|
|
2467
|
+
payload: boolean;
|
|
2468
|
+
} | {
|
|
2469
|
+
type: 'SET_ERROR';
|
|
2470
|
+
payload: string | null;
|
|
2471
|
+
} | {
|
|
2472
|
+
type: 'SET_SELECTED_INDEX';
|
|
2473
|
+
payload: number;
|
|
2474
|
+
} | {
|
|
2475
|
+
type: 'SELECT_NEXT';
|
|
2476
|
+
} | {
|
|
2477
|
+
type: 'SELECT_PREV';
|
|
2478
|
+
} | {
|
|
2479
|
+
type: 'SET_MODE';
|
|
2480
|
+
payload: 'suggestions' | 'results';
|
|
2481
|
+
} | {
|
|
2482
|
+
type: 'RESET';
|
|
2483
|
+
};
|
|
2484
|
+
|
|
2485
|
+
declare function DocSearch({ storeId, storeSecret, seekoraApiEndpoint, apiEndpoint, apiKey, sources, placeholder, maxResults, debounceMs, onSelect, onClose, translations, renderButton, buttonComponent: ButtonComponent, initialOpen, disableShortcut, shortcutKey, processGroupedResults, }: DocSearchProps): React__default.JSX.Element;
|
|
2486
|
+
|
|
2487
|
+
declare function DocSearchButton({ onClick, placeholder }: DocSearchButtonProps): React__default.JSX.Element;
|
|
2488
|
+
|
|
2489
|
+
interface UseDocSearchOptions {
|
|
2490
|
+
apiEndpoint?: string;
|
|
2491
|
+
apiKey?: string;
|
|
2492
|
+
sources?: SearchSource[];
|
|
2493
|
+
maxResults?: number;
|
|
2494
|
+
debounceMs?: number;
|
|
2495
|
+
processGroupedResults?: (sourceId: string, items: DocSearchSuggestion[]) => DocSearchSuggestion[];
|
|
2496
|
+
}
|
|
2497
|
+
declare function useDocSearch(options: UseDocSearchOptions): {
|
|
2498
|
+
sources: SearchSource[];
|
|
2499
|
+
setQuery: (query: string) => void;
|
|
2500
|
+
search: (q: string) => Promise<void>;
|
|
2501
|
+
fetchSuggestions: (query: string) => Promise<void>;
|
|
2502
|
+
selectNext: () => void;
|
|
2503
|
+
selectPrev: () => void;
|
|
2504
|
+
setSelectedIndex: (index: number) => void;
|
|
2505
|
+
reset: () => void;
|
|
2506
|
+
getSelectedItem: () => DocSearchHit | DocSearchSuggestion | null;
|
|
2507
|
+
groupedSuggestions: {
|
|
2508
|
+
source: SearchSource;
|
|
2509
|
+
items: DocSearchSuggestion[];
|
|
2510
|
+
}[];
|
|
2511
|
+
query: string;
|
|
2512
|
+
results: DocSearchHit[];
|
|
2513
|
+
suggestions: DocSearchSuggestion[];
|
|
2514
|
+
isLoading: boolean;
|
|
2515
|
+
error: string | null;
|
|
2516
|
+
selectedIndex: number;
|
|
2517
|
+
mode: "suggestions" | "results";
|
|
2518
|
+
};
|
|
2519
|
+
|
|
2520
|
+
interface UseSeekoraSearchOptions$1 {
|
|
2521
|
+
storeId: string;
|
|
2522
|
+
storeSecret?: string;
|
|
2523
|
+
apiEndpoint?: string;
|
|
2524
|
+
maxResults?: number;
|
|
2525
|
+
debounceMs?: number;
|
|
2526
|
+
analyticsTags?: string[];
|
|
2527
|
+
groupField?: string;
|
|
2528
|
+
groupSize?: number;
|
|
2529
|
+
}
|
|
2530
|
+
interface UseSeekoraSearchResult {
|
|
2531
|
+
query: string;
|
|
2532
|
+
suggestions: DocSearchSuggestion[];
|
|
2533
|
+
isLoading: boolean;
|
|
2534
|
+
error: string | null;
|
|
2535
|
+
selectedIndex: number;
|
|
2536
|
+
setQuery: (query: string) => void;
|
|
2537
|
+
selectNext: () => void;
|
|
2538
|
+
selectPrev: () => void;
|
|
2539
|
+
setSelectedIndex: (index: number) => void;
|
|
2540
|
+
reset: () => void;
|
|
2541
|
+
getSelectedItem: () => DocSearchSuggestion | null;
|
|
2542
|
+
trackDocClick: (hit: DocSearchSuggestion, position: number) => void | Promise<void>;
|
|
2543
|
+
}
|
|
2544
|
+
declare function useSeekoraSearch$1(options: UseSeekoraSearchOptions$1): UseSeekoraSearchResult;
|
|
2545
|
+
|
|
2546
|
+
interface UseKeyboardOptions {
|
|
2547
|
+
isOpen: boolean;
|
|
2548
|
+
onOpen: () => void;
|
|
2549
|
+
onClose: () => void;
|
|
2550
|
+
onSelectNext: () => void;
|
|
2551
|
+
onSelectPrev: () => void;
|
|
2552
|
+
onEnter: () => void;
|
|
2553
|
+
disableShortcut?: boolean;
|
|
2554
|
+
shortcutKey?: string;
|
|
2555
|
+
}
|
|
2556
|
+
declare function useKeyboard(options: UseKeyboardOptions): {
|
|
2557
|
+
handleModalKeyDown: (event: KeyboardEvent | React__default.KeyboardEvent) => void;
|
|
2558
|
+
};
|
|
2559
|
+
declare function getShortcutText(key?: string): string;
|
|
2560
|
+
|
|
2303
2561
|
/**
|
|
2304
2562
|
* useSeekoraSearch Hook
|
|
2305
2563
|
*
|
|
@@ -2486,6 +2744,8 @@ interface UseSuggestionsAnalyticsOptions {
|
|
|
2486
2744
|
trackImpressions?: boolean;
|
|
2487
2745
|
/** Track clicks automatically */
|
|
2488
2746
|
trackClicks?: boolean;
|
|
2747
|
+
/** Optional search context (correlationId, searchId) to attach to events when available */
|
|
2748
|
+
context?: SearchContext | Partial<SearchContext>;
|
|
2489
2749
|
}
|
|
2490
2750
|
interface SuggestionClickEventData {
|
|
2491
2751
|
/** The clicked suggestion */
|
|
@@ -2554,18 +2814,22 @@ declare function useSuggestionsAnalytics(options: UseSuggestionsAnalyticsOptions
|
|
|
2554
2814
|
/**
|
|
2555
2815
|
* useAnalytics Hook
|
|
2556
2816
|
*
|
|
2557
|
-
* Hook for tracking analytics events with the Seekora SDK
|
|
2817
|
+
* Hook for tracking analytics events with the Seekora SDK.
|
|
2818
|
+
* Supports Analytics V3 payload fields (event_ts, anonymous_id, orgcode, xstoreid);
|
|
2819
|
+
* the SDK sends both legacy and v3 fields for backend compatibility.
|
|
2558
2820
|
*/
|
|
2559
2821
|
|
|
2560
2822
|
interface UseAnalyticsOptions {
|
|
2561
2823
|
client: SeekoraClient;
|
|
2562
2824
|
enabled?: boolean;
|
|
2563
2825
|
}
|
|
2826
|
+
/** Payload for trackEvent/trackBatch: supports legacy and Analytics V3 field names */
|
|
2827
|
+
type AnalyticsEventPayload = Partial<DataTypesEventPayload> & Partial<ExtendedEventPayload>;
|
|
2564
2828
|
interface UseAnalyticsReturn {
|
|
2565
|
-
trackEvent: (eventType: string, payload:
|
|
2829
|
+
trackEvent: (eventType: string, payload: AnalyticsEventPayload, context?: SearchContext | Partial<SearchContext>) => Promise<void>;
|
|
2566
2830
|
trackClick: (resultId: string, result: any, context?: SearchContext | Partial<SearchContext>, position?: number) => Promise<void>;
|
|
2567
2831
|
trackConversion: (resultId: string, result: any, value?: number, currency?: string, context?: SearchContext | Partial<SearchContext>) => Promise<void>;
|
|
2568
|
-
trackBatch: (events: (
|
|
2832
|
+
trackBatch: (events: (AnalyticsEventPayload & {
|
|
2569
2833
|
event_name?: string;
|
|
2570
2834
|
})[], context?: SearchContext) => Promise<void>;
|
|
2571
2835
|
}
|
|
@@ -2845,5 +3109,5 @@ declare function updateSuggestionsStyles(theme: SuggestionsThemeVariables): void
|
|
|
2845
3109
|
|
|
2846
3110
|
declare const createTheme: (config: ThemeConfig) => _seekora_ai_ui_sdk_types.Theme;
|
|
2847
3111
|
|
|
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 };
|
|
3112
|
+
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 };
|
|
3113
|
+
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 };
|