@seekora-ai/ui-sdk-react 0.2.4 → 0.2.7
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 +6 -0
- package/dist/components/SearchBarWithSuggestions.d.ts.map +1 -1
- package/dist/components/SearchBarWithSuggestions.js +2 -2
- package/dist/components/primitives/ImageDisplay.d.ts +19 -0
- package/dist/components/primitives/ImageDisplay.d.ts.map +1 -0
- package/dist/components/primitives/ImageDisplay.js +74 -0
- package/dist/components/primitives/index.d.ts +2 -0
- package/dist/components/primitives/index.d.ts.map +1 -0
- package/dist/components/primitives/index.js +1 -0
- package/dist/components/product-page/ProductGallery.d.ts +19 -0
- package/dist/components/product-page/ProductGallery.d.ts.map +1 -0
- package/dist/components/product-page/ProductGallery.js +13 -0
- package/dist/components/product-page/ProductInfo.d.ts +21 -0
- package/dist/components/product-page/ProductInfo.d.ts.map +1 -0
- package/dist/components/product-page/ProductInfo.js +19 -0
- package/dist/components/product-page/ProductRecommendations.d.ts +21 -0
- package/dist/components/product-page/ProductRecommendations.d.ts.map +1 -0
- package/dist/components/product-page/ProductRecommendations.js +17 -0
- package/dist/components/product-page/index.d.ts +4 -0
- package/dist/components/product-page/index.d.ts.map +1 -0
- package/dist/components/product-page/index.js +3 -0
- package/dist/components/section-primitives/SectionError.d.ts +11 -0
- package/dist/components/section-primitives/SectionError.d.ts.map +1 -0
- package/dist/components/section-primitives/SectionError.js +13 -0
- package/dist/components/section-primitives/SectionItemGrid.d.ts +18 -0
- package/dist/components/section-primitives/SectionItemGrid.d.ts.map +1 -0
- package/dist/components/section-primitives/SectionItemGrid.js +16 -0
- package/dist/components/section-primitives/SectionLoading.d.ts +11 -0
- package/dist/components/section-primitives/SectionLoading.d.ts.map +1 -0
- package/dist/components/section-primitives/SectionLoading.js +11 -0
- package/dist/components/section-primitives/SectionSearchContext.d.ts +17 -0
- package/dist/components/section-primitives/SectionSearchContext.d.ts.map +1 -0
- package/dist/components/section-primitives/SectionSearchContext.js +17 -0
- package/dist/components/section-primitives/SectionSearchProvider.d.ts +23 -0
- package/dist/components/section-primitives/SectionSearchProvider.d.ts.map +1 -0
- package/dist/components/section-primitives/SectionSearchProvider.js +105 -0
- package/dist/components/section-primitives/index.d.ts +6 -0
- package/dist/components/section-primitives/index.d.ts.map +1 -0
- package/dist/components/section-primitives/index.js +5 -0
- package/dist/components/suggestions-primitives/CategoriesTabs.d.ts +13 -0
- package/dist/components/suggestions-primitives/CategoriesTabs.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/CategoriesTabs.js +35 -0
- package/dist/components/suggestions-primitives/DropdownPanel.d.ts +24 -0
- package/dist/components/suggestions-primitives/DropdownPanel.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/DropdownPanel.js +54 -0
- package/dist/components/suggestions-primitives/ItemCard.d.ts +39 -0
- package/dist/components/suggestions-primitives/ItemCard.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/ItemCard.js +52 -0
- package/dist/components/suggestions-primitives/ItemGrid.d.ts +28 -0
- package/dist/components/suggestions-primitives/ItemGrid.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/ItemGrid.js +42 -0
- package/dist/components/suggestions-primitives/ProductCard.d.ts +21 -0
- package/dist/components/suggestions-primitives/ProductCard.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/ProductCard.js +46 -0
- package/dist/components/suggestions-primitives/ProductGrid.d.ts +17 -0
- package/dist/components/suggestions-primitives/ProductGrid.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/ProductGrid.js +36 -0
- package/dist/components/suggestions-primitives/RecentSearchesList.d.ts +17 -0
- package/dist/components/suggestions-primitives/RecentSearchesList.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/RecentSearchesList.js +39 -0
- package/dist/components/suggestions-primitives/SearchInput.d.ts +19 -0
- package/dist/components/suggestions-primitives/SearchInput.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/SearchInput.js +92 -0
- package/dist/components/suggestions-primitives/SuggestionItem.d.ts +18 -0
- package/dist/components/suggestions-primitives/SuggestionItem.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/SuggestionItem.js +34 -0
- package/dist/components/suggestions-primitives/SuggestionList.d.ts +15 -0
- package/dist/components/suggestions-primitives/SuggestionList.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/SuggestionList.js +36 -0
- package/dist/components/suggestions-primitives/SuggestionsContext.d.ts +41 -0
- package/dist/components/suggestions-primitives/SuggestionsContext.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/SuggestionsContext.js +18 -0
- package/dist/components/suggestions-primitives/SuggestionsDropdownComposition.d.ts +24 -0
- package/dist/components/suggestions-primitives/SuggestionsDropdownComposition.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/SuggestionsDropdownComposition.js +32 -0
- package/dist/components/suggestions-primitives/SuggestionsError.d.ts +11 -0
- package/dist/components/suggestions-primitives/SuggestionsError.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/SuggestionsError.js +19 -0
- package/dist/components/suggestions-primitives/SuggestionsLoading.d.ts +11 -0
- package/dist/components/suggestions-primitives/SuggestionsLoading.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/SuggestionsLoading.js +17 -0
- package/dist/components/suggestions-primitives/SuggestionsProvider.d.ts +38 -0
- package/dist/components/suggestions-primitives/SuggestionsProvider.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/SuggestionsProvider.js +222 -0
- package/dist/components/suggestions-primitives/TrendingList.d.ts +17 -0
- package/dist/components/suggestions-primitives/TrendingList.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/TrendingList.js +41 -0
- package/dist/components/suggestions-primitives/index.d.ts +39 -0
- package/dist/components/suggestions-primitives/index.d.ts.map +1 -0
- package/dist/components/suggestions-primitives/index.js +24 -0
- package/dist/docsearch/components/DocSearch.d.ts +1 -1
- package/dist/docsearch/components/DocSearch.d.ts.map +1 -1
- package/dist/docsearch/components/DocSearch.js +15 -5
- package/dist/docsearch/components/Results.d.ts +3 -1
- package/dist/docsearch/components/Results.d.ts.map +1 -1
- package/dist/docsearch/components/Results.js +66 -12
- package/dist/docsearch/hooks/useDocSearch.d.ts +1 -0
- package/dist/docsearch/hooks/useDocSearch.d.ts.map +1 -1
- package/dist/docsearch/hooks/useDocSearch.js +6 -3
- package/dist/docsearch/hooks/useSeekoraSearch.d.ts.map +1 -1
- package/dist/docsearch/hooks/useSeekoraSearch.js +46 -26
- package/dist/docsearch/types.d.ts +2 -0
- package/dist/docsearch/types.d.ts.map +1 -1
- package/dist/docsearch.css +1 -1
- package/dist/hooks/useQuerySuggestionsEnhanced.js +1 -1
- package/dist/hooks/useSuggestionsAnalytics.d.ts +6 -6
- package/dist/hooks/useSuggestionsAnalytics.js +6 -6
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.umd.js +1 -1
- package/dist/src/index.d.ts +640 -131
- package/dist/src/index.esm.js +1215 -84
- package/dist/src/index.esm.js.map +1 -1
- package/dist/src/index.js +1239 -83
- package/dist/src/index.js.map +1 -1
- package/package.json +5 -4
- package/src/docsearch/docsearch.css +237 -0
package/dist/src/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { ReactNode, CSSProperties } from 'react';
|
|
3
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
|
-
import { ResultItem, ViewMode, FieldMapping, ThemeConfig, Theme, QuerySuggestionsEventHandlers, HighlightConfig, KeyboardNavConfig, AnimationConfig, QuerySuggestionsClassNames, SuggestionItem as SuggestionItem$
|
|
5
|
+
import { ResultItem, ViewMode, FieldMapping, ThemeConfig, Theme, QuerySuggestionsEventHandlers, HighlightConfig, KeyboardNavConfig, AnimationConfig, QuerySuggestionsClassNames, SuggestionItem as SuggestionItem$3, 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
8
|
export { Fingerprint, FingerprintComponents, FingerprintConfig, FingerprintResult, getFingerprint, mergeThemes } from '@seekora-ai/ui-sdk-core';
|
|
@@ -930,7 +930,7 @@ declare function addToRecentlyViewed(item: RecommendationItem, storageKey?: stri
|
|
|
930
930
|
* Standalone component for displaying query suggestions
|
|
931
931
|
*/
|
|
932
932
|
|
|
933
|
-
interface SuggestionItem$
|
|
933
|
+
interface SuggestionItem$2 {
|
|
934
934
|
query: string;
|
|
935
935
|
count?: number;
|
|
936
936
|
metadata?: Record<string, any>;
|
|
@@ -951,7 +951,7 @@ interface QuerySuggestionsProps {
|
|
|
951
951
|
debounceMs?: number;
|
|
952
952
|
minQueryLength?: number;
|
|
953
953
|
onSuggestionClick?: (suggestion: string) => void;
|
|
954
|
-
renderSuggestion?: (suggestion: SuggestionItem$
|
|
954
|
+
renderSuggestion?: (suggestion: SuggestionItem$2, index: number) => React__default.ReactNode;
|
|
955
955
|
renderLoading?: () => React__default.ReactNode;
|
|
956
956
|
renderEmpty?: () => React__default.ReactNode;
|
|
957
957
|
showTitle?: boolean;
|
|
@@ -1006,7 +1006,7 @@ interface QuerySuggestionsDropdownProps extends QuerySuggestionsEventHandlers {
|
|
|
1006
1006
|
/** Custom CSS styles */
|
|
1007
1007
|
style?: React__default.CSSProperties;
|
|
1008
1008
|
/** Custom render for suggestion item */
|
|
1009
|
-
renderSuggestion?: (suggestion: SuggestionItem$
|
|
1009
|
+
renderSuggestion?: (suggestion: SuggestionItem$3, index: number, isActive: boolean, highlight: (text: string) => React__default.ReactNode) => React__default.ReactNode;
|
|
1010
1010
|
/** Custom render for recent search item */
|
|
1011
1011
|
renderRecentSearch?: (search: RecentSearch, index: number, isActive: boolean) => React__default.ReactNode;
|
|
1012
1012
|
/** Custom render for loading state */
|
|
@@ -1089,7 +1089,7 @@ interface RichQuerySuggestionsProps extends QuerySuggestionsEventHandlers {
|
|
|
1089
1089
|
/** Custom CSS styles */
|
|
1090
1090
|
style?: React__default.CSSProperties;
|
|
1091
1091
|
/** Custom render for suggestion */
|
|
1092
|
-
renderSuggestion?: (suggestion: SuggestionItem$
|
|
1092
|
+
renderSuggestion?: (suggestion: SuggestionItem$3, isActive: boolean) => React__default.ReactNode;
|
|
1093
1093
|
/** Custom render for category pill */
|
|
1094
1094
|
renderCategory?: (category: SuggestionCategory) => React__default.ReactNode;
|
|
1095
1095
|
/** Custom render for trending item */
|
|
@@ -1180,7 +1180,7 @@ interface FederatedDropdownProps extends QuerySuggestionsEventHandlers {
|
|
|
1180
1180
|
/** Custom product card renderer */
|
|
1181
1181
|
renderProduct?: (product: ProductItem, index: number) => React__default.ReactNode;
|
|
1182
1182
|
/** Custom suggestion renderer */
|
|
1183
|
-
renderSuggestion?: (suggestion: SuggestionItem$
|
|
1183
|
+
renderSuggestion?: (suggestion: SuggestionItem$3, index: number, isActive: boolean) => React__default.ReactNode;
|
|
1184
1184
|
/** Custom brand renderer */
|
|
1185
1185
|
renderBrand?: (brand: PopularBrand, index: number) => React__default.ReactNode;
|
|
1186
1186
|
/** Custom tab renderer */
|
|
@@ -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;
|
|
@@ -1232,7 +1238,7 @@ interface SearchBarWithSuggestionsProps {
|
|
|
1232
1238
|
/** Callback when search is submitted */
|
|
1233
1239
|
onSearch?: (query: string) => void;
|
|
1234
1240
|
/** Callback when suggestion is selected */
|
|
1235
|
-
onSuggestionSelect?: (suggestion: SuggestionItem$
|
|
1241
|
+
onSuggestionSelect?: (suggestion: SuggestionItem$3) => void;
|
|
1236
1242
|
/** Callback when product is clicked */
|
|
1237
1243
|
onProductClick?: (product: ProductItem) => void;
|
|
1238
1244
|
/** Show search button */
|
|
@@ -1247,6 +1253,8 @@ interface SearchBarWithSuggestionsProps {
|
|
|
1247
1253
|
minQueryLength?: number;
|
|
1248
1254
|
/** Max suggestions to show */
|
|
1249
1255
|
maxSuggestions?: number;
|
|
1256
|
+
/** Max products to show in dropdown (federated/rich) */
|
|
1257
|
+
maxProducts?: number;
|
|
1250
1258
|
/** Debounce delay (ms) */
|
|
1251
1259
|
debounceMs?: number;
|
|
1252
1260
|
/** Show recent searches */
|
|
@@ -1265,6 +1273,10 @@ interface SearchBarWithSuggestionsProps {
|
|
|
1265
1273
|
enableAnalytics?: boolean;
|
|
1266
1274
|
/** Analytics tags */
|
|
1267
1275
|
analyticsTags?: string[];
|
|
1276
|
+
/** Include facets in suggestions API response (federated/rich) */
|
|
1277
|
+
includeFacets?: boolean;
|
|
1278
|
+
/** Include categories in suggestions API response (federated/rich) */
|
|
1279
|
+
includeCategories?: boolean;
|
|
1268
1280
|
/** Dropdown width */
|
|
1269
1281
|
dropdownWidth?: string | number;
|
|
1270
1282
|
/** Dropdown max height */
|
|
@@ -1308,6 +1320,612 @@ interface SearchBarWithSuggestionsRef {
|
|
|
1308
1320
|
}
|
|
1309
1321
|
declare const SearchBarWithSuggestions: React__default.ForwardRefExoticComponent<SearchBarWithSuggestionsProps & React__default.RefAttributes<SearchBarWithSuggestionsRef>>;
|
|
1310
1322
|
|
|
1323
|
+
/**
|
|
1324
|
+
* Enhanced Query Suggestions Hook
|
|
1325
|
+
*
|
|
1326
|
+
* Provides full support for query suggestions API including:
|
|
1327
|
+
* - Basic suggestions
|
|
1328
|
+
* - Dropdown recommendations (trending, top searches, related)
|
|
1329
|
+
* - Filtered tabs with products
|
|
1330
|
+
* - Recent searches (local storage)
|
|
1331
|
+
* - Analytics tracking
|
|
1332
|
+
*/
|
|
1333
|
+
|
|
1334
|
+
interface UseQuerySuggestionsEnhancedOptions {
|
|
1335
|
+
/** Seekora client instance */
|
|
1336
|
+
client: SeekoraClient;
|
|
1337
|
+
/** Current search query */
|
|
1338
|
+
query: string;
|
|
1339
|
+
/** Enable/disable the hook */
|
|
1340
|
+
enabled?: boolean;
|
|
1341
|
+
/** Debounce delay in ms */
|
|
1342
|
+
debounceMs?: number;
|
|
1343
|
+
/** Max suggestions to fetch */
|
|
1344
|
+
maxSuggestions?: number;
|
|
1345
|
+
/** Minimum query length to trigger search */
|
|
1346
|
+
minQueryLength?: number;
|
|
1347
|
+
/** Include dropdown recommendations (trending, products, etc.) */
|
|
1348
|
+
includeDropdownRecommendations?: boolean;
|
|
1349
|
+
/** Include categories in suggestions */
|
|
1350
|
+
includeCategories?: boolean;
|
|
1351
|
+
/** Include facets in suggestions */
|
|
1352
|
+
includeFacets?: boolean;
|
|
1353
|
+
/** Max categories per suggestion */
|
|
1354
|
+
maxCategories?: number;
|
|
1355
|
+
/** Max facets per suggestion */
|
|
1356
|
+
maxFacets?: number;
|
|
1357
|
+
/** Filtered tabs configuration */
|
|
1358
|
+
filteredTabs?: Array<{
|
|
1359
|
+
id?: string;
|
|
1360
|
+
label: string;
|
|
1361
|
+
filter: string;
|
|
1362
|
+
}>;
|
|
1363
|
+
/** Minimum popularity threshold */
|
|
1364
|
+
minPopularity?: number;
|
|
1365
|
+
/** Time range for analytics data */
|
|
1366
|
+
timeRange?: '7d' | '30d' | '90d';
|
|
1367
|
+
/** Disable typo tolerance */
|
|
1368
|
+
disableTypoTolerance?: boolean;
|
|
1369
|
+
/** Analytics tags */
|
|
1370
|
+
analyticsTags?: string[];
|
|
1371
|
+
/** Enable recent searches from localStorage */
|
|
1372
|
+
enableRecentSearches?: boolean;
|
|
1373
|
+
/** Max recent searches to store */
|
|
1374
|
+
maxRecentSearches?: number;
|
|
1375
|
+
/** Local storage key for recent searches */
|
|
1376
|
+
recentSearchesKey?: string;
|
|
1377
|
+
/** Callback when suggestions are loaded */
|
|
1378
|
+
onSuggestionsLoaded?: (response: QuerySuggestionsResponse) => void;
|
|
1379
|
+
/** Callback on error */
|
|
1380
|
+
onError?: (error: Error) => void;
|
|
1381
|
+
}
|
|
1382
|
+
interface UseQuerySuggestionsEnhancedReturn {
|
|
1383
|
+
/** Basic suggestion items */
|
|
1384
|
+
suggestions: SuggestionItem$3[];
|
|
1385
|
+
/** Loading state */
|
|
1386
|
+
loading: boolean;
|
|
1387
|
+
/** Error state */
|
|
1388
|
+
error: Error | null;
|
|
1389
|
+
/** Dropdown recommendations */
|
|
1390
|
+
dropdownRecommendations: DropdownRecommendations | null;
|
|
1391
|
+
/** Trending searches */
|
|
1392
|
+
trendingSearches: TrendingSearch[];
|
|
1393
|
+
/** Top searches */
|
|
1394
|
+
topSearches: TopSearch[];
|
|
1395
|
+
/** Related searches */
|
|
1396
|
+
relatedSearches: RelatedSearch[];
|
|
1397
|
+
/** Popular brands */
|
|
1398
|
+
popularBrands: PopularBrand[];
|
|
1399
|
+
/** Filtered tabs with products */
|
|
1400
|
+
filteredTabs: FilteredTab[];
|
|
1401
|
+
/** Trending products */
|
|
1402
|
+
trendingProducts: ProductItem[];
|
|
1403
|
+
/** Recent searches (from localStorage) */
|
|
1404
|
+
recentSearches: RecentSearch[];
|
|
1405
|
+
/** Processing time in ms */
|
|
1406
|
+
processingTimeMs: number | null;
|
|
1407
|
+
/** Total hits count */
|
|
1408
|
+
totalHits: number;
|
|
1409
|
+
/** Current page */
|
|
1410
|
+
currentPage: number;
|
|
1411
|
+
/** Total pages */
|
|
1412
|
+
totalPages: number;
|
|
1413
|
+
/** Original query */
|
|
1414
|
+
originalQuery: string;
|
|
1415
|
+
/** Add a search to recent searches */
|
|
1416
|
+
addRecentSearch: (query: string, resultsCount?: number) => void;
|
|
1417
|
+
/** Remove a search from recent searches */
|
|
1418
|
+
removeRecentSearch: (query: string) => void;
|
|
1419
|
+
/** Clear all recent searches */
|
|
1420
|
+
clearRecentSearches: () => void;
|
|
1421
|
+
/** Manually refetch suggestions */
|
|
1422
|
+
refetch: () => Promise<void>;
|
|
1423
|
+
/** Check if dropdown has any content to show */
|
|
1424
|
+
hasContent: boolean;
|
|
1425
|
+
/** Get all items for keyboard navigation (flattened) */
|
|
1426
|
+
getAllNavigableItems: () => NavigableItem[];
|
|
1427
|
+
}
|
|
1428
|
+
interface NavigableItem {
|
|
1429
|
+
type: 'suggestion' | 'recent' | 'trending' | 'product' | 'category' | 'brand' | 'tab';
|
|
1430
|
+
index: number;
|
|
1431
|
+
data: SuggestionItem$3 | RecentSearch | TrendingSearch | ProductItem | SuggestionCategory | PopularBrand | FilteredTab;
|
|
1432
|
+
}
|
|
1433
|
+
declare function useQuerySuggestionsEnhanced(options: UseQuerySuggestionsEnhancedOptions): UseQuerySuggestionsEnhancedReturn;
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* Suggestions Context
|
|
1437
|
+
*
|
|
1438
|
+
* Type definitions and React context for composable suggestions primitives.
|
|
1439
|
+
* Consuming components use useSuggestionsContext() for state and actions.
|
|
1440
|
+
*/
|
|
1441
|
+
|
|
1442
|
+
interface SuggestionsContextValue {
|
|
1443
|
+
query: string;
|
|
1444
|
+
setQuery: (query: string) => void;
|
|
1445
|
+
isOpen: boolean;
|
|
1446
|
+
setIsOpen: (open: boolean) => void;
|
|
1447
|
+
activeIndex: number;
|
|
1448
|
+
setActiveIndex: (index: number) => void;
|
|
1449
|
+
suggestions: SuggestionItem$3[];
|
|
1450
|
+
recentSearches: RecentSearch[];
|
|
1451
|
+
trendingSearches: TrendingSearch[];
|
|
1452
|
+
trendingProducts: ProductItem[];
|
|
1453
|
+
filteredTabs: FilteredTab[];
|
|
1454
|
+
activeTabId: string;
|
|
1455
|
+
setActiveTabId: (id: string) => void;
|
|
1456
|
+
loading: boolean;
|
|
1457
|
+
error: Error | null;
|
|
1458
|
+
hasContent: boolean;
|
|
1459
|
+
getAllNavigableItems: () => NavigableItem[];
|
|
1460
|
+
selectSuggestion: (suggestion: SuggestionItem$3, position: number) => void;
|
|
1461
|
+
selectProduct: (product: ProductItem, position: number, section?: string, tabId?: string) => void;
|
|
1462
|
+
selectRecentSearch: (search: RecentSearch) => void;
|
|
1463
|
+
selectTrendingSearch: (trending: TrendingSearch, position: number) => void;
|
|
1464
|
+
setActiveTab: (tab: FilteredTab) => void;
|
|
1465
|
+
submitSearch: (query: string, fromSuggestion?: boolean, suggestion?: SuggestionItem$3) => void;
|
|
1466
|
+
close: () => void;
|
|
1467
|
+
navigateNext: () => void;
|
|
1468
|
+
navigatePrev: () => void;
|
|
1469
|
+
selectActive: () => void;
|
|
1470
|
+
}
|
|
1471
|
+
declare function useSuggestionsContext(): SuggestionsContextValue;
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* SuggestionsProvider
|
|
1475
|
+
*
|
|
1476
|
+
* Provides suggestions state (query, suggestions, products, recent, trending, tabs),
|
|
1477
|
+
* actions (selectSuggestion, selectProduct, submitSearch, etc.), and keyboard navigation.
|
|
1478
|
+
* Uses useQuerySuggestionsEnhanced and useSuggestionsAnalytics; must be inside SearchProvider.
|
|
1479
|
+
*/
|
|
1480
|
+
|
|
1481
|
+
interface SuggestionsProviderProps {
|
|
1482
|
+
children: React__default.ReactNode;
|
|
1483
|
+
/** Min query length to fetch suggestions */
|
|
1484
|
+
minQueryLength?: number;
|
|
1485
|
+
/** Debounce ms for suggestion fetch */
|
|
1486
|
+
debounceMs?: number;
|
|
1487
|
+
/** Max suggestions */
|
|
1488
|
+
maxSuggestions?: number;
|
|
1489
|
+
/** Include dropdown recommendations (trending, products, etc.) */
|
|
1490
|
+
includeDropdownRecommendations?: boolean;
|
|
1491
|
+
/** Filtered tabs config */
|
|
1492
|
+
filteredTabs?: Array<{
|
|
1493
|
+
id?: string;
|
|
1494
|
+
label: string;
|
|
1495
|
+
filter: string;
|
|
1496
|
+
}>;
|
|
1497
|
+
/** Enable analytics (V3) */
|
|
1498
|
+
enableAnalytics?: boolean;
|
|
1499
|
+
/** Analytics tags */
|
|
1500
|
+
analyticsTags?: string[];
|
|
1501
|
+
/** Callback when user submits search (e.g. navigate to results page) */
|
|
1502
|
+
onSearch?: (query: string) => void;
|
|
1503
|
+
/** Callback when user selects a suggestion */
|
|
1504
|
+
onSuggestionSelect?: (suggestion: SuggestionItem$3) => void;
|
|
1505
|
+
/** Callback when user clicks a product */
|
|
1506
|
+
onProductClick?: (product: ProductItem) => void;
|
|
1507
|
+
}
|
|
1508
|
+
declare function SuggestionsProvider({ children, minQueryLength, debounceMs, maxSuggestions, includeDropdownRecommendations, filteredTabs, enableAnalytics, analyticsTags, onSearch, onSuggestionSelect, onProductClick, }: SuggestionsProviderProps): React__default.JSX.Element;
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* SearchInput – suggestion-scoped search input (primitive)
|
|
1512
|
+
*
|
|
1513
|
+
* Single input bound to suggestions context: query, setQuery, focus opens dropdown,
|
|
1514
|
+
* keydown ArrowUp/Down/Enter/Escape delegates to context. Overridable via className/style.
|
|
1515
|
+
*/
|
|
1516
|
+
|
|
1517
|
+
interface SearchInputProps {
|
|
1518
|
+
placeholder?: string;
|
|
1519
|
+
autoFocus?: boolean;
|
|
1520
|
+
showClearButton?: boolean;
|
|
1521
|
+
className?: string;
|
|
1522
|
+
style?: React__default.CSSProperties;
|
|
1523
|
+
inputClassName?: string;
|
|
1524
|
+
inputStyle?: React__default.CSSProperties;
|
|
1525
|
+
ariaLabel?: string;
|
|
1526
|
+
}
|
|
1527
|
+
declare function SearchInput({ placeholder, autoFocus, showClearButton, className, style, inputClassName, inputStyle, ariaLabel, }: SearchInputProps): React__default.JSX.Element;
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* DropdownPanel – floating panel for suggestions (primitive)
|
|
1531
|
+
*
|
|
1532
|
+
* Shows when isOpen; handles click-outside and Escape to close. Children = any composition
|
|
1533
|
+
* of SuggestionList, ProductGrid, etc. Position and z-index configurable.
|
|
1534
|
+
*/
|
|
1535
|
+
|
|
1536
|
+
interface DropdownPanelProps {
|
|
1537
|
+
children: React__default.ReactNode;
|
|
1538
|
+
position?: 'absolute' | 'fixed';
|
|
1539
|
+
/** CSS top offset (e.g. '100%', '4px') */
|
|
1540
|
+
top?: string | number;
|
|
1541
|
+
left?: string | number;
|
|
1542
|
+
right?: string | number;
|
|
1543
|
+
width?: string | number;
|
|
1544
|
+
maxHeight?: string | number;
|
|
1545
|
+
zIndex?: number;
|
|
1546
|
+
className?: string;
|
|
1547
|
+
style?: React__default.CSSProperties;
|
|
1548
|
+
closeOnClickOutside?: boolean;
|
|
1549
|
+
closeOnEscape?: boolean;
|
|
1550
|
+
}
|
|
1551
|
+
declare function DropdownPanel({ children, position, top, left, right, width, maxHeight, zIndex, className, style, closeOnClickOutside, closeOnEscape, }: DropdownPanelProps): React__default.JSX.Element | null;
|
|
1552
|
+
|
|
1553
|
+
interface SuggestionListProps {
|
|
1554
|
+
maxItems?: number;
|
|
1555
|
+
className?: string;
|
|
1556
|
+
style?: React__default.CSSProperties;
|
|
1557
|
+
listClassName?: string;
|
|
1558
|
+
renderItem?: (suggestion: _seekora_ai_ui_sdk_types.SuggestionItem, index: number, isActive: boolean, onSelect: () => void) => React__default.ReactNode;
|
|
1559
|
+
}
|
|
1560
|
+
declare function SuggestionList({ maxItems, className, style, listClassName, renderItem, }: SuggestionListProps): React__default.JSX.Element | null;
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* SuggestionItem – single text suggestion row (primitive)
|
|
1564
|
+
*
|
|
1565
|
+
* Highlights when isActive; onClick calls context selectSuggestion. Overridable via className/style.
|
|
1566
|
+
*/
|
|
1567
|
+
|
|
1568
|
+
interface SuggestionItemProps {
|
|
1569
|
+
suggestion: SuggestionItem$3;
|
|
1570
|
+
index: number;
|
|
1571
|
+
isActive: boolean;
|
|
1572
|
+
onSelect: () => void;
|
|
1573
|
+
className?: string;
|
|
1574
|
+
style?: React__default.CSSProperties;
|
|
1575
|
+
renderHighlight?: (text: string) => React__default.ReactNode;
|
|
1576
|
+
}
|
|
1577
|
+
declare function SuggestionItem$1({ suggestion, index, isActive, onSelect, className, style, renderHighlight, }: SuggestionItemProps): React__default.JSX.Element;
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* ItemCard – generic item tile (primitive)
|
|
1581
|
+
*
|
|
1582
|
+
* Domain-agnostic: works for docs, articles, products, or any hit with id, title,
|
|
1583
|
+
* optional description, image, url. Overridable via className/style. Use for
|
|
1584
|
+
* search results, section blocks, or any list; for e-commerce products use ProductCard.
|
|
1585
|
+
*/
|
|
1586
|
+
|
|
1587
|
+
/** Generic item shape for ItemCard – compatible with ResultItem and most hit types */
|
|
1588
|
+
interface GenericItem {
|
|
1589
|
+
id: string;
|
|
1590
|
+
title: string;
|
|
1591
|
+
description?: string;
|
|
1592
|
+
image?: string;
|
|
1593
|
+
/** Multiple images for carousel/hover/thumbStrip */
|
|
1594
|
+
images?: string[];
|
|
1595
|
+
url?: string;
|
|
1596
|
+
/** Widget/display fields */
|
|
1597
|
+
primaryText?: string;
|
|
1598
|
+
secondaryText?: string;
|
|
1599
|
+
tertiaryText?: string;
|
|
1600
|
+
imageUrl?: string;
|
|
1601
|
+
[key: string]: unknown;
|
|
1602
|
+
}
|
|
1603
|
+
type ImageDisplayVariant$1 = 'single' | 'carousel' | 'hover' | 'thumbStrip' | 'thumbList';
|
|
1604
|
+
interface ItemCardProps {
|
|
1605
|
+
item: GenericItem;
|
|
1606
|
+
/** Position in list (for analytics) */
|
|
1607
|
+
position?: number;
|
|
1608
|
+
onSelect?: () => void;
|
|
1609
|
+
className?: string;
|
|
1610
|
+
style?: React__default.CSSProperties;
|
|
1611
|
+
/** Render as link (anchor) when item.url is set; otherwise button */
|
|
1612
|
+
asLink?: boolean;
|
|
1613
|
+
/** When multiple images, use ImageDisplay with this variant */
|
|
1614
|
+
imageVariant?: ImageDisplayVariant$1;
|
|
1615
|
+
}
|
|
1616
|
+
declare function ItemCard({ item, position, onSelect, className, style, asLink, imageVariant, }: ItemCardProps): React__default.JSX.Element;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* ItemGrid – generic grid of items (primitive)
|
|
1620
|
+
*
|
|
1621
|
+
* Domain-agnostic: accepts any items[] and onItemClick. Renders ItemCard by default
|
|
1622
|
+
* or custom renderItem. Use for search hits, section blocks, docs, articles; for
|
|
1623
|
+
* product-only lists use ProductGrid.
|
|
1624
|
+
*/
|
|
1625
|
+
|
|
1626
|
+
interface ItemGridProps<T = GenericItem> {
|
|
1627
|
+
items: T[];
|
|
1628
|
+
onItemClick?: (item: T, index: number) => void;
|
|
1629
|
+
/** Map item to GenericItem for default ItemCard rendering */
|
|
1630
|
+
getItemId?: (item: T) => string;
|
|
1631
|
+
getItemTitle?: (item: T) => string;
|
|
1632
|
+
getItemImage?: (item: T) => string | undefined;
|
|
1633
|
+
getItemDescription?: (item: T) => string | undefined;
|
|
1634
|
+
getItemUrl?: (item: T) => string | undefined;
|
|
1635
|
+
/** Custom render for each item; overrides default ItemCard */
|
|
1636
|
+
renderItem?: (item: T, index: number) => React__default.ReactNode;
|
|
1637
|
+
maxItems?: number;
|
|
1638
|
+
columns?: number;
|
|
1639
|
+
className?: string;
|
|
1640
|
+
style?: React__default.CSSProperties;
|
|
1641
|
+
gridClassName?: string;
|
|
1642
|
+
}
|
|
1643
|
+
declare function ItemGrid<T = GenericItem>({ items, onItemClick, getItemId, getItemTitle, getItemImage, getItemDescription, getItemUrl, renderItem, maxItems, columns, className, style, gridClassName, }: ItemGridProps<T>): React__default.JSX.Element | null;
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* ProductCard – one product tile (primitive)
|
|
1647
|
+
*
|
|
1648
|
+
* Minimal layout: image (via ImageDisplay when imageVariant set), title, price.
|
|
1649
|
+
* onClick calls context selectProduct. Overridable via className/style.
|
|
1650
|
+
*/
|
|
1651
|
+
|
|
1652
|
+
type ProductCardImageVariant = 'single' | 'carousel' | 'hover' | 'thumbStrip' | 'thumbList';
|
|
1653
|
+
interface ProductCardProps {
|
|
1654
|
+
product: ProductItem;
|
|
1655
|
+
position: number;
|
|
1656
|
+
section?: string;
|
|
1657
|
+
tabId?: string;
|
|
1658
|
+
onSelect: () => void;
|
|
1659
|
+
className?: string;
|
|
1660
|
+
style?: React__default.CSSProperties;
|
|
1661
|
+
imageVariant?: ProductCardImageVariant;
|
|
1662
|
+
}
|
|
1663
|
+
declare function ProductCard({ product, position, section, tabId, onSelect, className, style, imageVariant, }: ProductCardProps): React__default.JSX.Element;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* ProductGrid – grid of product cards from context (primitive)
|
|
1667
|
+
*
|
|
1668
|
+
* Uses trendingProducts or active tab products; each click calls context selectProduct.
|
|
1669
|
+
*/
|
|
1670
|
+
|
|
1671
|
+
interface ProductGridProps {
|
|
1672
|
+
maxItems?: number;
|
|
1673
|
+
/** 'trending' | tab id for filtered tab products */
|
|
1674
|
+
source?: 'trending' | string;
|
|
1675
|
+
columns?: number;
|
|
1676
|
+
className?: string;
|
|
1677
|
+
style?: React__default.CSSProperties;
|
|
1678
|
+
gridClassName?: string;
|
|
1679
|
+
}
|
|
1680
|
+
declare function ProductGrid({ maxItems, source, columns, className, style, gridClassName, }: ProductGridProps): React__default.JSX.Element | null;
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* CategoriesTabs – horizontal tabs (e.g. filtered tabs) (primitive)
|
|
1684
|
+
*
|
|
1685
|
+
* Active tab from context; on select updates context and tracks analytics.
|
|
1686
|
+
*/
|
|
1687
|
+
|
|
1688
|
+
interface CategoriesTabsProps {
|
|
1689
|
+
className?: string;
|
|
1690
|
+
style?: React__default.CSSProperties;
|
|
1691
|
+
tabClassName?: string;
|
|
1692
|
+
}
|
|
1693
|
+
declare function CategoriesTabs({ className, style, tabClassName }: CategoriesTabsProps): React__default.JSX.Element | null;
|
|
1694
|
+
|
|
1695
|
+
/**
|
|
1696
|
+
* RecentSearchesList – list of recent queries (primitive)
|
|
1697
|
+
*
|
|
1698
|
+
* Reads recentSearches from context; each click calls selectRecentSearch. Optional title/render.
|
|
1699
|
+
*/
|
|
1700
|
+
|
|
1701
|
+
interface RecentSearchesListProps {
|
|
1702
|
+
title?: string;
|
|
1703
|
+
maxItems?: number;
|
|
1704
|
+
className?: string;
|
|
1705
|
+
style?: React__default.CSSProperties;
|
|
1706
|
+
listClassName?: string;
|
|
1707
|
+
renderItem?: (search: RecentSearch, index: number, onSelect: () => void) => React__default.ReactNode;
|
|
1708
|
+
}
|
|
1709
|
+
declare function RecentSearchesList({ title, maxItems, className, style, listClassName, renderItem, }: RecentSearchesListProps): React__default.JSX.Element | null;
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* TrendingList – list of trending searches (primitive)
|
|
1713
|
+
*
|
|
1714
|
+
* Reads trendingSearches from context; each click calls selectTrendingSearch. Optional title/render.
|
|
1715
|
+
*/
|
|
1716
|
+
|
|
1717
|
+
interface TrendingListProps {
|
|
1718
|
+
title?: string;
|
|
1719
|
+
maxItems?: number;
|
|
1720
|
+
className?: string;
|
|
1721
|
+
style?: React__default.CSSProperties;
|
|
1722
|
+
listClassName?: string;
|
|
1723
|
+
renderItem?: (trending: TrendingSearch, index: number, onSelect: () => void) => React__default.ReactNode;
|
|
1724
|
+
}
|
|
1725
|
+
declare function TrendingList({ title, maxItems, className, style, listClassName, renderItem, }: TrendingListProps): React__default.JSX.Element | null;
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* SuggestionsLoading – loading indicator (primitive)
|
|
1729
|
+
*/
|
|
1730
|
+
|
|
1731
|
+
interface SuggestionsLoadingProps {
|
|
1732
|
+
className?: string;
|
|
1733
|
+
style?: React__default.CSSProperties;
|
|
1734
|
+
text?: string;
|
|
1735
|
+
}
|
|
1736
|
+
declare function SuggestionsLoading({ className, style, text }: SuggestionsLoadingProps): React__default.JSX.Element | null;
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* SuggestionsError – error message (primitive)
|
|
1740
|
+
*/
|
|
1741
|
+
|
|
1742
|
+
interface SuggestionsErrorProps {
|
|
1743
|
+
className?: string;
|
|
1744
|
+
style?: React__default.CSSProperties;
|
|
1745
|
+
render?: (error: Error) => React__default.ReactNode;
|
|
1746
|
+
}
|
|
1747
|
+
declare function SuggestionsError({ className, style, render }: SuggestionsErrorProps): React__default.JSX.Element | null;
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* SuggestionsDropdownComposition – reference composition
|
|
1751
|
+
*
|
|
1752
|
+
* Example layout built from primitives: SearchInput + DropdownPanel containing
|
|
1753
|
+
* RecentSearchesList (when query empty), SuggestionList, CategoriesTabs, ProductGrid, TrendingList.
|
|
1754
|
+
* Wrap with SearchProvider and SuggestionsProvider. Use as reference or replace
|
|
1755
|
+
* with your own arrangement of the same primitives.
|
|
1756
|
+
*/
|
|
1757
|
+
|
|
1758
|
+
interface SuggestionsDropdownCompositionProps extends Omit<SuggestionsProviderProps, 'children'> {
|
|
1759
|
+
/** Show recent searches when query is empty */
|
|
1760
|
+
showRecentSearches?: boolean;
|
|
1761
|
+
/** Show trending list */
|
|
1762
|
+
showTrending?: boolean;
|
|
1763
|
+
/** Show categories/filtered tabs */
|
|
1764
|
+
showTabs?: boolean;
|
|
1765
|
+
/** Show product grid */
|
|
1766
|
+
showProducts?: boolean;
|
|
1767
|
+
/** SearchInput placeholder */
|
|
1768
|
+
placeholder?: string;
|
|
1769
|
+
}
|
|
1770
|
+
declare function SuggestionsDropdownComposition({ showRecentSearches, showTrending, showTabs, showProducts, placeholder, ...providerProps }: SuggestionsDropdownCompositionProps): React__default.JSX.Element;
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* ImageDisplay – configurable multi-image display (primitive)
|
|
1774
|
+
*
|
|
1775
|
+
* Variants: single, carousel, hover, thumbStrip, thumbList. Use in ItemCard,
|
|
1776
|
+
* ProductCard, ProductGallery. Overridable via className/style.
|
|
1777
|
+
*/
|
|
1778
|
+
|
|
1779
|
+
type ImageDisplayVariant = 'single' | 'carousel' | 'hover' | 'thumbStrip' | 'thumbList';
|
|
1780
|
+
interface ImageDisplayProps {
|
|
1781
|
+
images: string[];
|
|
1782
|
+
variant?: ImageDisplayVariant;
|
|
1783
|
+
alt?: string;
|
|
1784
|
+
className?: string;
|
|
1785
|
+
style?: React__default.CSSProperties;
|
|
1786
|
+
carouselAutoplay?: boolean;
|
|
1787
|
+
carouselIntervalMs?: number;
|
|
1788
|
+
}
|
|
1789
|
+
declare function ImageDisplay({ images, variant, alt, className, style, carouselAutoplay, carouselIntervalMs, }: ImageDisplayProps): React__default.JSX.Element;
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* SectionSearchProvider – preset query + filter section
|
|
1793
|
+
*
|
|
1794
|
+
* Runs client.search(query, { refinements, hitsPerPage, sortBy }) on mount and when
|
|
1795
|
+
* query/filters change. Does not use global SearchStateManager. Use for menus,
|
|
1796
|
+
* sidebar, front-page blocks (e.g. "New arrivals", "On sale").
|
|
1797
|
+
*/
|
|
1798
|
+
|
|
1799
|
+
interface RefinementInput {
|
|
1800
|
+
field: string;
|
|
1801
|
+
value: string;
|
|
1802
|
+
}
|
|
1803
|
+
interface SectionSearchProviderProps {
|
|
1804
|
+
children: React__default.ReactNode;
|
|
1805
|
+
query: string;
|
|
1806
|
+
refinements?: RefinementInput[];
|
|
1807
|
+
maxItems?: number;
|
|
1808
|
+
sortBy?: string;
|
|
1809
|
+
enabled?: boolean;
|
|
1810
|
+
sectionId?: string;
|
|
1811
|
+
}
|
|
1812
|
+
declare function SectionSearchProvider({ children, query, refinements, maxItems, sortBy, enabled, sectionId, }: SectionSearchProviderProps): React__default.JSX.Element;
|
|
1813
|
+
|
|
1814
|
+
/**
|
|
1815
|
+
* SectionSearchContext – preset query/filter section state
|
|
1816
|
+
*
|
|
1817
|
+
* For menus, sidebar, front-page blocks. Independent of main search state.
|
|
1818
|
+
*/
|
|
1819
|
+
|
|
1820
|
+
interface SectionSearchContextValue {
|
|
1821
|
+
items: unknown[];
|
|
1822
|
+
loading: boolean;
|
|
1823
|
+
error: Error | null;
|
|
1824
|
+
totalCount: number;
|
|
1825
|
+
sectionId?: string;
|
|
1826
|
+
trackClick: (item: unknown, position: number) => void;
|
|
1827
|
+
}
|
|
1828
|
+
declare function useSectionSearchContext(): SectionSearchContextValue;
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* SectionItemGrid – generic grid of items from SectionSearchProvider (primitive)
|
|
1832
|
+
*/
|
|
1833
|
+
|
|
1834
|
+
interface SectionItemGridProps {
|
|
1835
|
+
columns?: number;
|
|
1836
|
+
maxItems?: number;
|
|
1837
|
+
className?: string;
|
|
1838
|
+
style?: React__default.CSSProperties;
|
|
1839
|
+
getItemId?: (item: unknown) => string;
|
|
1840
|
+
getItemTitle?: (item: unknown) => string;
|
|
1841
|
+
getItemImage?: (item: unknown) => string | undefined;
|
|
1842
|
+
getItemDescription?: (item: unknown) => string | undefined;
|
|
1843
|
+
getItemUrl?: (item: unknown) => string | undefined;
|
|
1844
|
+
renderItem?: (item: unknown, index: number) => React__default.ReactNode;
|
|
1845
|
+
}
|
|
1846
|
+
declare function SectionItemGrid({ columns, maxItems, className, style, getItemId, getItemTitle, getItemImage, getItemDescription, getItemUrl, renderItem, }: SectionItemGridProps): React__default.JSX.Element;
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* SectionLoading – loading state for section (primitive)
|
|
1850
|
+
*/
|
|
1851
|
+
|
|
1852
|
+
interface SectionLoadingProps {
|
|
1853
|
+
className?: string;
|
|
1854
|
+
style?: React__default.CSSProperties;
|
|
1855
|
+
text?: string;
|
|
1856
|
+
}
|
|
1857
|
+
declare function SectionLoading({ className, style, text }: SectionLoadingProps): React__default.JSX.Element | null;
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* SectionError – error state for section (primitive)
|
|
1861
|
+
*/
|
|
1862
|
+
|
|
1863
|
+
interface SectionErrorProps {
|
|
1864
|
+
className?: string;
|
|
1865
|
+
style?: React__default.CSSProperties;
|
|
1866
|
+
render?: (error: Error) => React__default.ReactNode;
|
|
1867
|
+
}
|
|
1868
|
+
declare function SectionError({ className, style, render }: SectionErrorProps): React__default.JSX.Element | null;
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* ProductGallery – product detail image gallery (primitive)
|
|
1872
|
+
*
|
|
1873
|
+
* Uses ImageDisplay with configurable variant (carousel, thumbStrip, etc.).
|
|
1874
|
+
* For use on individual product page.
|
|
1875
|
+
*/
|
|
1876
|
+
|
|
1877
|
+
interface ProductGalleryProps {
|
|
1878
|
+
images: string[];
|
|
1879
|
+
variant?: ImageDisplayVariant;
|
|
1880
|
+
alt?: string;
|
|
1881
|
+
className?: string;
|
|
1882
|
+
style?: React__default.CSSProperties;
|
|
1883
|
+
carouselAutoplay?: boolean;
|
|
1884
|
+
carouselIntervalMs?: number;
|
|
1885
|
+
}
|
|
1886
|
+
declare function ProductGallery({ images, variant, alt, className, style, carouselAutoplay, carouselIntervalMs, }: ProductGalleryProps): React__default.JSX.Element;
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* ProductInfo – product detail block (primitive)
|
|
1890
|
+
*
|
|
1891
|
+
* Title, description, price, optional variant selector and CTA. Minimal layout;
|
|
1892
|
+
* override with className/style. For use on individual product page.
|
|
1893
|
+
*/
|
|
1894
|
+
|
|
1895
|
+
interface ProductInfoProps {
|
|
1896
|
+
title: string;
|
|
1897
|
+
description?: string;
|
|
1898
|
+
price?: number | string;
|
|
1899
|
+
currency?: string;
|
|
1900
|
+
/** Optional variant selector (e.g. size/color) */
|
|
1901
|
+
renderVariantSelector?: () => React__default.ReactNode;
|
|
1902
|
+
/** Optional CTA (e.g. Add to cart) */
|
|
1903
|
+
renderCTA?: () => React__default.ReactNode;
|
|
1904
|
+
className?: string;
|
|
1905
|
+
style?: React__default.CSSProperties;
|
|
1906
|
+
}
|
|
1907
|
+
declare function ProductInfo({ title, description, price, currency, renderVariantSelector, renderCTA, className, style, }: ProductInfoProps): React__default.JSX.Element;
|
|
1908
|
+
|
|
1909
|
+
/**
|
|
1910
|
+
* ProductRecommendations – related / frequently bought (primitive)
|
|
1911
|
+
*
|
|
1912
|
+
* Renders a section of recommended items (generic ItemGrid or product list).
|
|
1913
|
+
* Pass items and onItemClick; or wrap SectionSearchProvider with preset query for "related".
|
|
1914
|
+
* For use on individual product page.
|
|
1915
|
+
*/
|
|
1916
|
+
|
|
1917
|
+
interface ProductRecommendationsProps {
|
|
1918
|
+
title?: string;
|
|
1919
|
+
items: GenericItem[] | unknown[];
|
|
1920
|
+
onItemClick?: (item: unknown, index: number) => void;
|
|
1921
|
+
maxItems?: number;
|
|
1922
|
+
columns?: number;
|
|
1923
|
+
className?: string;
|
|
1924
|
+
style?: React__default.CSSProperties;
|
|
1925
|
+
renderItem?: (item: unknown, index: number) => React__default.ReactNode;
|
|
1926
|
+
}
|
|
1927
|
+
declare function ProductRecommendations({ title, items, onItemClick, maxItems, columns, className, style, renderItem, }: ProductRecommendationsProps): React__default.JSX.Element | null;
|
|
1928
|
+
|
|
1311
1929
|
/**
|
|
1312
1930
|
* Shared Types for Query Suggestions Components
|
|
1313
1931
|
*
|
|
@@ -2416,6 +3034,8 @@ interface DocSearchProps {
|
|
|
2416
3034
|
initialOpen?: boolean;
|
|
2417
3035
|
disableShortcut?: boolean;
|
|
2418
3036
|
shortcutKey?: string;
|
|
3037
|
+
/** Post-process results per source (e.g. filter by permission, resolve :storeId). */
|
|
3038
|
+
processGroupedResults?: (sourceId: string, items: DocSearchSuggestion[]) => DocSearchSuggestion[];
|
|
2419
3039
|
}
|
|
2420
3040
|
interface DocSearchButtonProps {
|
|
2421
3041
|
onClick: () => void;
|
|
@@ -2470,7 +3090,7 @@ type DocSearchAction = {
|
|
|
2470
3090
|
type: 'RESET';
|
|
2471
3091
|
};
|
|
2472
3092
|
|
|
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;
|
|
3093
|
+
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;
|
|
2474
3094
|
|
|
2475
3095
|
declare function DocSearchButton({ onClick, placeholder }: DocSearchButtonProps): React__default.JSX.Element;
|
|
2476
3096
|
|
|
@@ -2480,6 +3100,7 @@ interface UseDocSearchOptions {
|
|
|
2480
3100
|
sources?: SearchSource[];
|
|
2481
3101
|
maxResults?: number;
|
|
2482
3102
|
debounceMs?: number;
|
|
3103
|
+
processGroupedResults?: (sourceId: string, items: DocSearchSuggestion[]) => DocSearchSuggestion[];
|
|
2483
3104
|
}
|
|
2484
3105
|
declare function useDocSearch(options: UseDocSearchOptions): {
|
|
2485
3106
|
sources: SearchSource[];
|
|
@@ -2595,127 +3216,15 @@ interface UseQuerySuggestionsReturn {
|
|
|
2595
3216
|
}
|
|
2596
3217
|
declare const useQuerySuggestions: ({ client, query, enabled, debounceMs, maxSuggestions, }: UseQuerySuggestionsOptions) => UseQuerySuggestionsReturn;
|
|
2597
3218
|
|
|
2598
|
-
/**
|
|
2599
|
-
* Enhanced Query Suggestions Hook
|
|
2600
|
-
*
|
|
2601
|
-
* Provides full support for query suggestions API including:
|
|
2602
|
-
* - Basic suggestions
|
|
2603
|
-
* - Dropdown recommendations (trending, top searches, related)
|
|
2604
|
-
* - Filtered tabs with products
|
|
2605
|
-
* - Recent searches (local storage)
|
|
2606
|
-
* - Analytics tracking
|
|
2607
|
-
*/
|
|
2608
|
-
|
|
2609
|
-
interface UseQuerySuggestionsEnhancedOptions {
|
|
2610
|
-
/** Seekora client instance */
|
|
2611
|
-
client: SeekoraClient;
|
|
2612
|
-
/** Current search query */
|
|
2613
|
-
query: string;
|
|
2614
|
-
/** Enable/disable the hook */
|
|
2615
|
-
enabled?: boolean;
|
|
2616
|
-
/** Debounce delay in ms */
|
|
2617
|
-
debounceMs?: number;
|
|
2618
|
-
/** Max suggestions to fetch */
|
|
2619
|
-
maxSuggestions?: number;
|
|
2620
|
-
/** Minimum query length to trigger search */
|
|
2621
|
-
minQueryLength?: number;
|
|
2622
|
-
/** Include dropdown recommendations (trending, products, etc.) */
|
|
2623
|
-
includeDropdownRecommendations?: boolean;
|
|
2624
|
-
/** Include categories in suggestions */
|
|
2625
|
-
includeCategories?: boolean;
|
|
2626
|
-
/** Include facets in suggestions */
|
|
2627
|
-
includeFacets?: boolean;
|
|
2628
|
-
/** Max categories per suggestion */
|
|
2629
|
-
maxCategories?: number;
|
|
2630
|
-
/** Max facets per suggestion */
|
|
2631
|
-
maxFacets?: number;
|
|
2632
|
-
/** Filtered tabs configuration */
|
|
2633
|
-
filteredTabs?: Array<{
|
|
2634
|
-
id?: string;
|
|
2635
|
-
label: string;
|
|
2636
|
-
filter: string;
|
|
2637
|
-
}>;
|
|
2638
|
-
/** Minimum popularity threshold */
|
|
2639
|
-
minPopularity?: number;
|
|
2640
|
-
/** Time range for analytics data */
|
|
2641
|
-
timeRange?: '7d' | '30d' | '90d';
|
|
2642
|
-
/** Disable typo tolerance */
|
|
2643
|
-
disableTypoTolerance?: boolean;
|
|
2644
|
-
/** Analytics tags */
|
|
2645
|
-
analyticsTags?: string[];
|
|
2646
|
-
/** Enable recent searches from localStorage */
|
|
2647
|
-
enableRecentSearches?: boolean;
|
|
2648
|
-
/** Max recent searches to store */
|
|
2649
|
-
maxRecentSearches?: number;
|
|
2650
|
-
/** Local storage key for recent searches */
|
|
2651
|
-
recentSearchesKey?: string;
|
|
2652
|
-
/** Callback when suggestions are loaded */
|
|
2653
|
-
onSuggestionsLoaded?: (response: QuerySuggestionsResponse) => void;
|
|
2654
|
-
/** Callback on error */
|
|
2655
|
-
onError?: (error: Error) => void;
|
|
2656
|
-
}
|
|
2657
|
-
interface UseQuerySuggestionsEnhancedReturn {
|
|
2658
|
-
/** Basic suggestion items */
|
|
2659
|
-
suggestions: SuggestionItem$2[];
|
|
2660
|
-
/** Loading state */
|
|
2661
|
-
loading: boolean;
|
|
2662
|
-
/** Error state */
|
|
2663
|
-
error: Error | null;
|
|
2664
|
-
/** Dropdown recommendations */
|
|
2665
|
-
dropdownRecommendations: DropdownRecommendations | null;
|
|
2666
|
-
/** Trending searches */
|
|
2667
|
-
trendingSearches: TrendingSearch[];
|
|
2668
|
-
/** Top searches */
|
|
2669
|
-
topSearches: TopSearch[];
|
|
2670
|
-
/** Related searches */
|
|
2671
|
-
relatedSearches: RelatedSearch[];
|
|
2672
|
-
/** Popular brands */
|
|
2673
|
-
popularBrands: PopularBrand[];
|
|
2674
|
-
/** Filtered tabs with products */
|
|
2675
|
-
filteredTabs: FilteredTab[];
|
|
2676
|
-
/** Trending products */
|
|
2677
|
-
trendingProducts: ProductItem[];
|
|
2678
|
-
/** Recent searches (from localStorage) */
|
|
2679
|
-
recentSearches: RecentSearch[];
|
|
2680
|
-
/** Processing time in ms */
|
|
2681
|
-
processingTimeMs: number | null;
|
|
2682
|
-
/** Total hits count */
|
|
2683
|
-
totalHits: number;
|
|
2684
|
-
/** Current page */
|
|
2685
|
-
currentPage: number;
|
|
2686
|
-
/** Total pages */
|
|
2687
|
-
totalPages: number;
|
|
2688
|
-
/** Original query */
|
|
2689
|
-
originalQuery: string;
|
|
2690
|
-
/** Add a search to recent searches */
|
|
2691
|
-
addRecentSearch: (query: string, resultsCount?: number) => void;
|
|
2692
|
-
/** Remove a search from recent searches */
|
|
2693
|
-
removeRecentSearch: (query: string) => void;
|
|
2694
|
-
/** Clear all recent searches */
|
|
2695
|
-
clearRecentSearches: () => void;
|
|
2696
|
-
/** Manually refetch suggestions */
|
|
2697
|
-
refetch: () => Promise<void>;
|
|
2698
|
-
/** Check if dropdown has any content to show */
|
|
2699
|
-
hasContent: boolean;
|
|
2700
|
-
/** Get all items for keyboard navigation (flattened) */
|
|
2701
|
-
getAllNavigableItems: () => NavigableItem[];
|
|
2702
|
-
}
|
|
2703
|
-
interface NavigableItem {
|
|
2704
|
-
type: 'suggestion' | 'recent' | 'trending' | 'product' | 'category' | 'brand' | 'tab';
|
|
2705
|
-
index: number;
|
|
2706
|
-
data: SuggestionItem$2 | RecentSearch | TrendingSearch | ProductItem | SuggestionCategory | PopularBrand | FilteredTab;
|
|
2707
|
-
}
|
|
2708
|
-
declare function useQuerySuggestionsEnhanced(options: UseQuerySuggestionsEnhancedOptions): UseQuerySuggestionsEnhancedReturn;
|
|
2709
|
-
|
|
2710
3219
|
/**
|
|
2711
3220
|
* Suggestions Analytics Hook
|
|
2712
3221
|
*
|
|
2713
|
-
* Provides analytics tracking for query suggestions components
|
|
2714
|
-
*
|
|
2715
|
-
* -
|
|
2716
|
-
*
|
|
2717
|
-
*
|
|
2718
|
-
*
|
|
3222
|
+
* Provides analytics tracking for query suggestions components using
|
|
3223
|
+
* Analytics V3 event structure and schema/fields (event_name, event_ts,
|
|
3224
|
+
* correlation_id/search_id via context, and V3 top-level fields such as
|
|
3225
|
+
* original_query, position, section, clicked_item_id, click_type, tab_id,
|
|
3226
|
+
* suggestions_count, etc.). All events are sent via client.trackEvent(payload, context)
|
|
3227
|
+
* so the SDK can attach correlation_id, search_id, event_ts, orgcode, xstoreid.
|
|
2719
3228
|
*/
|
|
2720
3229
|
|
|
2721
3230
|
interface UseSuggestionsAnalyticsOptions {
|
|
@@ -2736,7 +3245,7 @@ interface UseSuggestionsAnalyticsOptions {
|
|
|
2736
3245
|
}
|
|
2737
3246
|
interface SuggestionClickEventData {
|
|
2738
3247
|
/** The clicked suggestion */
|
|
2739
|
-
suggestion: SuggestionItem$
|
|
3248
|
+
suggestion: SuggestionItem$3;
|
|
2740
3249
|
/** Position in the list (0-indexed) */
|
|
2741
3250
|
position: number;
|
|
2742
3251
|
/** Section where the suggestion appeared */
|
|
@@ -2760,7 +3269,7 @@ interface ProductClickEventData {
|
|
|
2760
3269
|
}
|
|
2761
3270
|
interface SuggestionImpressionEventData {
|
|
2762
3271
|
/** Suggestions that were shown */
|
|
2763
|
-
suggestions: SuggestionItem$
|
|
3272
|
+
suggestions: SuggestionItem$3[];
|
|
2764
3273
|
/** Products that were shown */
|
|
2765
3274
|
products?: ProductItem[];
|
|
2766
3275
|
/** Categories that were shown */
|
|
@@ -2790,7 +3299,7 @@ interface UseSuggestionsAnalyticsReturn {
|
|
|
2790
3299
|
/** Track suggestions impression */
|
|
2791
3300
|
trackImpression: (data: SuggestionImpressionEventData) => void;
|
|
2792
3301
|
/** Track search submission from suggestion */
|
|
2793
|
-
trackSearchSubmit: (query: string, fromSuggestion: boolean, suggestion?: SuggestionItem$
|
|
3302
|
+
trackSearchSubmit: (query: string, fromSuggestion: boolean, suggestion?: SuggestionItem$3) => void;
|
|
2794
3303
|
/** Track dropdown open */
|
|
2795
3304
|
trackDropdownOpen: (query: string) => void;
|
|
2796
3305
|
/** Track dropdown close */
|
|
@@ -3096,5 +3605,5 @@ declare function updateSuggestionsStyles(theme: SuggestionsThemeVariables): void
|
|
|
3096
3605
|
|
|
3097
3606
|
declare const createTheme: (config: ThemeConfig) => _seekora_ai_ui_sdk_types.Theme;
|
|
3098
3607
|
|
|
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,
|
|
3608
|
+
export { AmazonDropdown, Breadcrumb, CategoriesTabs, ClearRefinements, CurrentRefinements, DocSearch, DocSearchButton, DropdownPanel, Facets, FederatedDropdown, FrequentlyBoughtTogether, GoogleDropdown, HierarchicalMenu, Highlight, HitsPerPage, ImageDisplay, InfiniteHits, ItemCard, ItemGrid, MinimalDropdown, MobileFilters, MobileFiltersButton, MobileSheetDropdown, Pagination, PinterestDropdown, ProductCard, ProductGallery, ProductGrid, ProductInfo, ProductRecommendations, QuerySuggestions, QuerySuggestionsDropdown, RangeInput, RangeSlider, RecentSearchesList, RecentlyViewed, RelatedProducts, RichQuerySuggestions, SearchBar, SearchBarWithSuggestions, SearchInput, SearchLayout, SearchProvider, SearchResults, SectionError, SectionItemGrid, SectionLoading, SectionSearchProvider, ShopifyDropdown, Snippet, SortBy, SpotlightDropdown, Stats, SuggestionDropdownVariants, SuggestionItem$1 as SuggestionItem, SuggestionList, SuggestionSearchBar, SuggestionsCache, SuggestionsDropdownComposition, SuggestionsError, SuggestionsLoading, SuggestionsProvider, TrendingItems, TrendingList, 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, useSectionSearchContext, useSeekoraSearch, useSmartSuggestions, useSuggestionsAnalytics, useSuggestionsContext };
|
|
3609
|
+
export type { AnalyticsConfig, AnalyticsEventPayload, BaseDropdownProps, BrandFieldMapping, BreadcrumbItem, BreadcrumbProps, BreadcrumbTheme, CategoriesTabsProps, CategoryFieldMapping, ClearRefinementsProps, ClearRefinementsTheme, DocSearchAction, DocSearchButtonProps, DocSearchHit, DocSearchProps, DocSearchResponse, DocSearchState, DocSearchSuggestion, DocSearchSuggestionsResponse, DocSearchTranslations, DropdownClassNames, DropdownEventHandlers, DropdownPanelProps, DropdownRef, DropdownThemeConfig, FederatedDropdownProps, FederatedDropdownRef, FrequentlyBoughtTogetherProps, GenericItem, HierarchicalMenuItem, HierarchicalMenuProps, HierarchicalMenuTheme, HighlightProps, HighlightTheme, HitsPerPageItem, HitsPerPageProps, HitsPerPageTheme, ImageDisplayProps, ImageDisplayVariant, InfiniteHitsProps, InfiniteHitsTheme, ImageDisplayVariant$1 as ItemCardImageVariant, ItemCardProps, ItemGridProps, MobileFiltersButtonProps, MobileFiltersProps, MobileFiltersTheme, NaturalLanguageFiltersOptions, NaturalLanguageResult, NavigableItem, ParsedFilter, ProductCardImageVariant, ProductCardProps, ProductClickEventData, ProductDisplayConfig, ProductFieldMapping, ProductGalleryProps, ProductGridProps, ProductInfoProps, ProductRecommendationsProps, QuerySuggestionsDropdownProps, QuerySuggestionsDropdownRef, QuerySuggestionsProps, QuerySuggestionsTheme, RangeSliderProps, RangeSliderTheme, RecentSearchesListProps, RecentlyViewedProps, RecommendationItem, RecommendationTheme, RefinementInput, RelatedProductsProps, ResponsiveState, RichQuerySuggestionsProps, RichQuerySuggestionsRef, SearchBarProps, SearchBarTheme, SearchBarWithSuggestionsProps, SearchBarWithSuggestionsRef, SearchInputProps, SearchProviderProps, SearchResultsProps, SearchResultsTheme, SearchSource, SectionConfig, SectionErrorProps, SectionItemGridProps, SectionLoadingProps, SectionSearchContextValue, SectionSearchProviderProps, SmartSuggestion, SmartSuggestionsOptions, SnippetProps, SnippetTheme, SuggestionClickEventData, SuggestionDisplayConfig, SuggestionDropdownVariant, SuggestionFieldMapping, SuggestionImpressionEventData, SuggestionItemProps, SuggestionListProps, SuggestionSearchBarProps, SuggestionSearchBarRef, SuggestionsContextValue, SuggestionsDropdownCompositionProps, SuggestionsErrorProps, SuggestionsLoadingProps, SuggestionsProviderProps, SuggestionsThemeVariables, TrendingItemsProps, TrendingListProps, UseAnalyticsOptions, UseAnalyticsReturn, UseSeekoraSearchOptions$1 as UseDocSearchSeekoraSearchOptions, UseSeekoraSearchResult as UseDocSearchSeekoraSearchResult, UseQuerySuggestionsEnhancedOptions, UseQuerySuggestionsEnhancedReturn, UseSmartSuggestionsReturn, UseSuggestionsAnalyticsOptions, UseSuggestionsAnalyticsReturn };
|