@seekora-ai/ui-sdk-react 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/components/Breadcrumb.d.ts +43 -0
  2. package/dist/components/Breadcrumb.d.ts.map +1 -0
  3. package/dist/components/Breadcrumb.js +119 -0
  4. package/dist/components/ClearRefinements.d.ts +42 -0
  5. package/dist/components/ClearRefinements.d.ts.map +1 -0
  6. package/dist/components/ClearRefinements.js +80 -0
  7. package/dist/components/CurrentRefinements.d.ts +41 -0
  8. package/dist/components/CurrentRefinements.d.ts.map +1 -0
  9. package/dist/components/CurrentRefinements.js +83 -0
  10. package/dist/components/Facets.d.ts +53 -0
  11. package/dist/components/Facets.d.ts.map +1 -0
  12. package/dist/components/Facets.js +195 -0
  13. package/dist/components/FederatedDropdown.d.ts +92 -0
  14. package/dist/components/FederatedDropdown.d.ts.map +1 -0
  15. package/dist/components/FederatedDropdown.js +510 -0
  16. package/dist/components/HierarchicalMenu.d.ts +55 -0
  17. package/dist/components/HierarchicalMenu.d.ts.map +1 -0
  18. package/dist/components/HierarchicalMenu.js +168 -0
  19. package/dist/components/Highlight.d.ts +51 -0
  20. package/dist/components/Highlight.d.ts.map +1 -0
  21. package/dist/components/Highlight.js +155 -0
  22. package/dist/components/HitsPerPage.d.ts +41 -0
  23. package/dist/components/HitsPerPage.d.ts.map +1 -0
  24. package/dist/components/HitsPerPage.js +72 -0
  25. package/dist/components/InfiniteHits.d.ts +56 -0
  26. package/dist/components/InfiniteHits.d.ts.map +1 -0
  27. package/dist/components/InfiniteHits.js +181 -0
  28. package/dist/components/MobileFilters.d.ts +71 -0
  29. package/dist/components/MobileFilters.d.ts.map +1 -0
  30. package/dist/components/MobileFilters.js +242 -0
  31. package/dist/components/Pagination.d.ts +44 -0
  32. package/dist/components/Pagination.d.ts.map +1 -0
  33. package/dist/components/Pagination.js +142 -0
  34. package/dist/components/QuerySuggestions.d.ts +38 -0
  35. package/dist/components/QuerySuggestions.d.ts.map +1 -0
  36. package/dist/components/QuerySuggestions.js +86 -0
  37. package/dist/components/QuerySuggestionsDropdown.d.ts +86 -0
  38. package/dist/components/QuerySuggestionsDropdown.d.ts.map +1 -0
  39. package/dist/components/QuerySuggestionsDropdown.js +395 -0
  40. package/dist/components/RangeInput.d.ts +58 -0
  41. package/dist/components/RangeInput.d.ts.map +1 -0
  42. package/dist/components/RangeInput.js +203 -0
  43. package/dist/components/RangeSlider.d.ts +51 -0
  44. package/dist/components/RangeSlider.d.ts.map +1 -0
  45. package/dist/components/RangeSlider.js +193 -0
  46. package/dist/components/Recommendations.d.ts +90 -0
  47. package/dist/components/Recommendations.d.ts.map +1 -0
  48. package/dist/components/Recommendations.js +270 -0
  49. package/dist/components/RichQuerySuggestions.d.ts +77 -0
  50. package/dist/components/RichQuerySuggestions.d.ts.map +1 -0
  51. package/dist/components/RichQuerySuggestions.js +492 -0
  52. package/dist/components/SearchBar.d.ts +40 -0
  53. package/dist/components/SearchBar.d.ts.map +1 -0
  54. package/dist/components/SearchBar.js +217 -0
  55. package/dist/components/SearchBarWithSuggestions.d.ts +99 -0
  56. package/dist/components/SearchBarWithSuggestions.d.ts.map +1 -0
  57. package/dist/components/SearchBarWithSuggestions.js +275 -0
  58. package/dist/components/SearchLayout.d.ts +35 -0
  59. package/dist/components/SearchLayout.d.ts.map +1 -0
  60. package/dist/components/SearchLayout.js +56 -0
  61. package/dist/components/SearchProvider.d.ts +28 -0
  62. package/dist/components/SearchProvider.d.ts.map +1 -0
  63. package/dist/components/SearchProvider.js +43 -0
  64. package/dist/components/SearchResults.d.ts +51 -0
  65. package/dist/components/SearchResults.d.ts.map +1 -0
  66. package/dist/components/SearchResults.js +485 -0
  67. package/dist/components/SortBy.d.ts +44 -0
  68. package/dist/components/SortBy.d.ts.map +1 -0
  69. package/dist/components/SortBy.js +61 -0
  70. package/dist/components/Stats.d.ts +37 -0
  71. package/dist/components/Stats.d.ts.map +1 -0
  72. package/dist/components/Stats.js +52 -0
  73. package/dist/components/suggestions/AmazonDropdown.d.ts +30 -0
  74. package/dist/components/suggestions/AmazonDropdown.d.ts.map +1 -0
  75. package/dist/components/suggestions/AmazonDropdown.js +529 -0
  76. package/dist/components/suggestions/GoogleDropdown.d.ts +31 -0
  77. package/dist/components/suggestions/GoogleDropdown.d.ts.map +1 -0
  78. package/dist/components/suggestions/GoogleDropdown.js +370 -0
  79. package/dist/components/suggestions/MinimalDropdown.d.ts +24 -0
  80. package/dist/components/suggestions/MinimalDropdown.d.ts.map +1 -0
  81. package/dist/components/suggestions/MinimalDropdown.js +314 -0
  82. package/dist/components/suggestions/MobileSheetDropdown.d.ts +31 -0
  83. package/dist/components/suggestions/MobileSheetDropdown.d.ts.map +1 -0
  84. package/dist/components/suggestions/MobileSheetDropdown.js +485 -0
  85. package/dist/components/suggestions/PinterestDropdown.d.ts +29 -0
  86. package/dist/components/suggestions/PinterestDropdown.d.ts.map +1 -0
  87. package/dist/components/suggestions/PinterestDropdown.js +450 -0
  88. package/dist/components/suggestions/ShopifyDropdown.d.ts +27 -0
  89. package/dist/components/suggestions/ShopifyDropdown.d.ts.map +1 -0
  90. package/dist/components/suggestions/ShopifyDropdown.js +451 -0
  91. package/dist/components/suggestions/SpotlightDropdown.d.ts +33 -0
  92. package/dist/components/suggestions/SpotlightDropdown.d.ts.map +1 -0
  93. package/dist/components/suggestions/SpotlightDropdown.js +547 -0
  94. package/dist/components/suggestions/SuggestionSearchBar.d.ts +123 -0
  95. package/dist/components/suggestions/SuggestionSearchBar.d.ts.map +1 -0
  96. package/dist/components/suggestions/SuggestionSearchBar.js +652 -0
  97. package/dist/components/suggestions/index.d.ts +37 -0
  98. package/dist/components/suggestions/index.d.ts.map +1 -0
  99. package/dist/components/suggestions/index.js +59 -0
  100. package/dist/components/suggestions/styles/index.d.ts +11 -0
  101. package/dist/components/suggestions/styles/index.d.ts.map +1 -0
  102. package/dist/components/suggestions/styles/index.js +289 -0
  103. package/dist/components/suggestions/styles/responsive.d.ts +107 -0
  104. package/dist/components/suggestions/styles/responsive.d.ts.map +1 -0
  105. package/dist/components/suggestions/styles/responsive.js +237 -0
  106. package/dist/components/suggestions/types.d.ts +489 -0
  107. package/dist/components/suggestions/types.d.ts.map +1 -0
  108. package/dist/components/suggestions/types.js +6 -0
  109. package/dist/components/suggestions/utils.d.ts +213 -0
  110. package/dist/components/suggestions/utils.d.ts.map +1 -0
  111. package/dist/components/suggestions/utils.js +514 -0
  112. package/dist/hooks/useAnalytics.d.ts +20 -0
  113. package/dist/hooks/useAnalytics.d.ts.map +1 -0
  114. package/dist/hooks/useAnalytics.js +62 -0
  115. package/dist/hooks/useNaturalLanguageFilters.d.ts +48 -0
  116. package/dist/hooks/useNaturalLanguageFilters.d.ts.map +1 -0
  117. package/dist/hooks/useNaturalLanguageFilters.js +221 -0
  118. package/dist/hooks/useQuerySuggestions.d.ts +21 -0
  119. package/dist/hooks/useQuerySuggestions.d.ts.map +1 -0
  120. package/dist/hooks/useQuerySuggestions.js +68 -0
  121. package/dist/hooks/useQuerySuggestionsEnhanced.d.ts +114 -0
  122. package/dist/hooks/useQuerySuggestionsEnhanced.d.ts.map +1 -0
  123. package/dist/hooks/useQuerySuggestionsEnhanced.js +376 -0
  124. package/dist/hooks/useSearchState.d.ts +35 -0
  125. package/dist/hooks/useSearchState.d.ts.map +1 -0
  126. package/dist/hooks/useSearchState.js +68 -0
  127. package/dist/hooks/useSeekoraSearch.d.ts +20 -0
  128. package/dist/hooks/useSeekoraSearch.d.ts.map +1 -0
  129. package/dist/hooks/useSeekoraSearch.js +63 -0
  130. package/dist/hooks/useSmartSuggestions.d.ts +55 -0
  131. package/dist/hooks/useSmartSuggestions.d.ts.map +1 -0
  132. package/dist/hooks/useSmartSuggestions.js +236 -0
  133. package/dist/hooks/useSuggestionsAnalytics.d.ts +91 -0
  134. package/dist/hooks/useSuggestionsAnalytics.d.ts.map +1 -0
  135. package/dist/hooks/useSuggestionsAnalytics.js +226 -0
  136. package/dist/index.d.ts +80 -0
  137. package/dist/index.d.ts.map +1 -0
  138. package/dist/index.js +86 -0
  139. package/dist/index.umd.js +1 -0
  140. package/dist/src/index.d.ts +2849 -0
  141. package/dist/src/index.esm.js +11679 -0
  142. package/dist/src/index.esm.js.map +1 -0
  143. package/dist/src/index.js +11761 -0
  144. package/dist/src/index.js.map +1 -0
  145. package/dist/themes/createTheme.d.ts +8 -0
  146. package/dist/themes/createTheme.d.ts.map +1 -0
  147. package/dist/themes/createTheme.js +10 -0
  148. package/dist/themes/dark.d.ts +6 -0
  149. package/dist/themes/dark.d.ts.map +1 -0
  150. package/dist/themes/dark.js +34 -0
  151. package/dist/themes/default.d.ts +6 -0
  152. package/dist/themes/default.d.ts.map +1 -0
  153. package/dist/themes/default.js +71 -0
  154. package/dist/themes/mergeThemes.d.ts +7 -0
  155. package/dist/themes/mergeThemes.d.ts.map +1 -0
  156. package/dist/themes/mergeThemes.js +6 -0
  157. package/dist/themes/minimal.d.ts +6 -0
  158. package/dist/themes/minimal.d.ts.map +1 -0
  159. package/dist/themes/minimal.js +34 -0
  160. package/dist/themes/suggestions.d.ts +216 -0
  161. package/dist/themes/suggestions.d.ts.map +1 -0
  162. package/dist/themes/suggestions.js +546 -0
  163. package/dist/themes/types.d.ts +7 -0
  164. package/dist/themes/types.d.ts.map +1 -0
  165. package/dist/themes/types.js +6 -0
  166. package/dist/types/index.d.ts +33 -0
  167. package/dist/types/index.d.ts.map +1 -0
  168. package/dist/types/index.js +4 -0
  169. package/package.json +65 -0
@@ -0,0 +1,8 @@
1
+ /**
2
+ * createTheme utility
3
+ *
4
+ * Re-exports from core package for React-specific usage
5
+ */
6
+ import type { ThemeConfig } from '@seekora-ai/ui-sdk-types';
7
+ export declare const createTheme: (config: ThemeConfig) => import("@seekora-ai/ui-sdk-types").Theme;
8
+ //# sourceMappingURL=createTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createTheme.d.ts","sourceRoot":"","sources":["../../src/themes/createTheme.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,WAAW,GAAI,QAAQ,WAAW,6CAE9C,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * createTheme utility
3
+ *
4
+ * Re-exports from core package for React-specific usage
5
+ */
6
+ import { createTheme as createThemeCore } from '@seekora-ai/ui-sdk-core';
7
+ import { defaultTheme } from './default';
8
+ export const createTheme = (config) => {
9
+ return createThemeCore(config, defaultTheme);
10
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Dark Theme
3
+ */
4
+ import type { Theme } from '@seekora-ai/ui-sdk-types';
5
+ export declare const darkTheme: Theme;
6
+ //# sourceMappingURL=dark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../src/themes/dark.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEtD,eAAO,MAAM,SAAS,EAAE,KA8BvB,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Dark Theme
3
+ */
4
+ export const darkTheme = {
5
+ colors: {
6
+ primary: '#0d6efd',
7
+ secondary: '#6c757d',
8
+ background: '#1a1a1a',
9
+ text: '#ffffff',
10
+ border: '#333333',
11
+ hover: '#2a2a2a',
12
+ focus: '#0d6efd',
13
+ error: '#dc3545',
14
+ },
15
+ typography: {
16
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
17
+ fontSize: {
18
+ small: '0.875rem',
19
+ medium: '1rem',
20
+ large: '1.25rem',
21
+ },
22
+ },
23
+ spacing: {
24
+ small: '0.5rem',
25
+ medium: '1rem',
26
+ large: '1.5rem',
27
+ },
28
+ borderRadius: '0.25rem',
29
+ shadows: {
30
+ small: '0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.7)',
31
+ medium: '0 3px 6px rgba(0, 0, 0, 0.6), 0 3px 6px rgba(0, 0, 0, 0.8)',
32
+ large: '0 10px 20px rgba(0, 0, 0, 0.7), 0 6px 6px rgba(0, 0, 0, 0.9)',
33
+ },
34
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Default Theme
3
+ */
4
+ import type { Theme } from '@seekora-ai/ui-sdk-types';
5
+ export declare const defaultTheme: Theme;
6
+ //# sourceMappingURL=default.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/themes/default.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEtD,eAAO,MAAM,YAAY,EAAE,KAmE1B,CAAC"}
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Default Theme
3
+ */
4
+ export const defaultTheme = {
5
+ colors: {
6
+ primary: '#007bff',
7
+ secondary: '#6c757d',
8
+ background: '#ffffff',
9
+ surface: '#f8f9fa',
10
+ text: '#212529',
11
+ textSecondary: '#6c757d',
12
+ border: '#dee2e6',
13
+ hover: '#f8f9fa',
14
+ focus: '#007bff',
15
+ error: '#dc3545',
16
+ success: '#28a745',
17
+ warning: '#ffc107',
18
+ },
19
+ typography: {
20
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
21
+ fontSize: {
22
+ small: '0.875rem',
23
+ medium: '1rem',
24
+ large: '1.25rem',
25
+ },
26
+ fontWeight: {
27
+ normal: 400,
28
+ medium: 500,
29
+ semibold: 600,
30
+ bold: 700,
31
+ },
32
+ lineHeight: {
33
+ tight: 1.25,
34
+ normal: 1.5,
35
+ relaxed: 1.75,
36
+ },
37
+ },
38
+ spacing: {
39
+ small: '0.5rem',
40
+ medium: '1rem',
41
+ large: '1.5rem',
42
+ },
43
+ borderRadius: {
44
+ none: '0',
45
+ small: '0.25rem',
46
+ medium: '0.375rem',
47
+ large: '0.5rem',
48
+ full: '9999px',
49
+ },
50
+ shadows: {
51
+ small: '0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)',
52
+ medium: '0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23)',
53
+ large: '0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23)',
54
+ },
55
+ transitions: {
56
+ fast: '150ms ease-in-out',
57
+ normal: '250ms ease-in-out',
58
+ slow: '350ms ease-in-out',
59
+ },
60
+ breakpoints: {
61
+ sm: '640px',
62
+ md: '768px',
63
+ lg: '1024px',
64
+ xl: '1280px',
65
+ },
66
+ zIndex: {
67
+ dropdown: 1000,
68
+ modal: 2000,
69
+ tooltip: 3000,
70
+ },
71
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * mergeThemes utility
3
+ *
4
+ * Re-exports from core package for React-specific usage
5
+ */
6
+ export { mergeThemes } from '@seekora-ai/ui-sdk-core';
7
+ //# sourceMappingURL=mergeThemes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mergeThemes.d.ts","sourceRoot":"","sources":["../../src/themes/mergeThemes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * mergeThemes utility
3
+ *
4
+ * Re-exports from core package for React-specific usage
5
+ */
6
+ export { mergeThemes } from '@seekora-ai/ui-sdk-core';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Minimal Theme
3
+ */
4
+ import type { Theme } from '@seekora-ai/ui-sdk-types';
5
+ export declare const minimalTheme: Theme;
6
+ //# sourceMappingURL=minimal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"minimal.d.ts","sourceRoot":"","sources":["../../src/themes/minimal.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEtD,eAAO,MAAM,YAAY,EAAE,KA8B1B,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Minimal Theme
3
+ */
4
+ export const minimalTheme = {
5
+ colors: {
6
+ primary: '#000000',
7
+ secondary: '#666666',
8
+ background: '#ffffff',
9
+ text: '#000000',
10
+ border: '#e0e0e0',
11
+ hover: '#f5f5f5',
12
+ focus: '#000000',
13
+ error: '#cc0000',
14
+ },
15
+ typography: {
16
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
17
+ fontSize: {
18
+ small: '0.875rem',
19
+ medium: '1rem',
20
+ large: '1.125rem',
21
+ },
22
+ },
23
+ spacing: {
24
+ small: '0.5rem',
25
+ medium: '0.75rem',
26
+ large: '1rem',
27
+ },
28
+ borderRadius: '0',
29
+ shadows: {
30
+ small: 'none',
31
+ medium: 'none',
32
+ large: 'none',
33
+ },
34
+ };
@@ -0,0 +1,216 @@
1
+ /**
2
+ * Query Suggestions Theme System
3
+ *
4
+ * Provides comprehensive theming for query suggestions components including:
5
+ * - CSS variables for easy customization
6
+ * - Pre-built theme presets (light, dark, minimal, branded)
7
+ * - Component-specific style generators
8
+ * - Responsive utilities
9
+ */
10
+ import type { Theme, ThemeConfig } from './types';
11
+ export interface SuggestionsThemeVariables {
12
+ '--seekora-bg-surface': string;
13
+ '--seekora-bg-secondary': string;
14
+ '--seekora-bg-tertiary': string;
15
+ '--seekora-bg-hover': string;
16
+ '--seekora-text-primary': string;
17
+ '--seekora-text-secondary': string;
18
+ '--seekora-text-tertiary': string;
19
+ '--seekora-border-color': string;
20
+ '--seekora-primary': string;
21
+ '--seekora-primary-light': string;
22
+ '--seekora-primary-dark': string;
23
+ '--seekora-highlight-bg': string;
24
+ '--seekora-success': string;
25
+ '--seekora-warning': string;
26
+ '--seekora-error': string;
27
+ '--seekora-font-family': string;
28
+ '--seekora-font-size-xs': string;
29
+ '--seekora-font-size-sm': string;
30
+ '--seekora-font-size-base': string;
31
+ '--seekora-font-size-lg': string;
32
+ '--seekora-font-weight-normal': string;
33
+ '--seekora-font-weight-medium': string;
34
+ '--seekora-font-weight-semibold': string;
35
+ '--seekora-font-weight-bold': string;
36
+ '--seekora-line-height-tight': string;
37
+ '--seekora-line-height-normal': string;
38
+ '--seekora-line-height-relaxed': string;
39
+ '--seekora-spacing-xs': string;
40
+ '--seekora-spacing-sm': string;
41
+ '--seekora-spacing-md': string;
42
+ '--seekora-spacing-lg': string;
43
+ '--seekora-spacing-xl': string;
44
+ '--seekora-border-radius-sm': string;
45
+ '--seekora-border-radius': string;
46
+ '--seekora-border-radius-lg': string;
47
+ '--seekora-border-radius-xl': string;
48
+ '--seekora-border-radius-full': string;
49
+ '--seekora-shadow-sm': string;
50
+ '--seekora-shadow': string;
51
+ '--seekora-shadow-md': string;
52
+ '--seekora-shadow-lg': string;
53
+ '--seekora-shadow-xl': string;
54
+ '--seekora-transition-fast': string;
55
+ '--seekora-transition-normal': string;
56
+ '--seekora-transition-slow': string;
57
+ '--seekora-z-dropdown': string;
58
+ '--seekora-z-modal': string;
59
+ '--seekora-z-tooltip': string;
60
+ }
61
+ export declare const lightThemeVariables: SuggestionsThemeVariables;
62
+ export declare const darkThemeVariables: SuggestionsThemeVariables;
63
+ export declare const minimalThemeVariables: SuggestionsThemeVariables;
64
+ export declare const brandPresets: {
65
+ blue: {
66
+ '--seekora-primary': string;
67
+ '--seekora-primary-light': string;
68
+ '--seekora-primary-dark': string;
69
+ };
70
+ green: {
71
+ '--seekora-primary': string;
72
+ '--seekora-primary-light': string;
73
+ '--seekora-primary-dark': string;
74
+ };
75
+ purple: {
76
+ '--seekora-primary': string;
77
+ '--seekora-primary-light': string;
78
+ '--seekora-primary-dark': string;
79
+ };
80
+ red: {
81
+ '--seekora-primary': string;
82
+ '--seekora-primary-light': string;
83
+ '--seekora-primary-dark': string;
84
+ };
85
+ orange: {
86
+ '--seekora-primary': string;
87
+ '--seekora-primary-light': string;
88
+ '--seekora-primary-dark': string;
89
+ };
90
+ teal: {
91
+ '--seekora-primary': string;
92
+ '--seekora-primary-light': string;
93
+ '--seekora-primary-dark': string;
94
+ };
95
+ pink: {
96
+ '--seekora-primary': string;
97
+ '--seekora-primary-light': string;
98
+ '--seekora-primary-dark': string;
99
+ };
100
+ };
101
+ /**
102
+ * Generate CSS variables string from theme variables object
103
+ */
104
+ export declare function generateCSSVariables(variables: Partial<SuggestionsThemeVariables>): string;
105
+ /**
106
+ * Generate a style tag with CSS variables for a specific scope
107
+ */
108
+ export declare function generateThemeStyleTag(variables: Partial<SuggestionsThemeVariables>, scope?: string): string;
109
+ /**
110
+ * Create a complete theme object from variables
111
+ */
112
+ export declare function createSuggestionsTheme(baseTheme?: 'light' | 'dark' | 'minimal', overrides?: Partial<SuggestionsThemeVariables>, brandColor?: keyof typeof brandPresets): SuggestionsThemeVariables;
113
+ /**
114
+ * Generate styles for dropdown container
115
+ */
116
+ export declare function getDropdownContainerStyles(theme: SuggestionsThemeVariables): {
117
+ backgroundColor: string;
118
+ border: string;
119
+ borderRadius: string;
120
+ boxShadow: string;
121
+ fontFamily: string;
122
+ fontSize: string;
123
+ color: string;
124
+ };
125
+ /**
126
+ * Generate styles for suggestion item
127
+ */
128
+ export declare function getSuggestionItemStyles(theme: SuggestionsThemeVariables, isActive?: boolean): {
129
+ padding: string;
130
+ cursor: string;
131
+ transition: string;
132
+ backgroundColor: string;
133
+ };
134
+ /**
135
+ * Generate styles for product card
136
+ */
137
+ export declare function getProductCardStyles(theme: SuggestionsThemeVariables, isHovered?: boolean): {
138
+ backgroundColor: string;
139
+ borderRadius: string;
140
+ border: string;
141
+ overflow: string;
142
+ cursor: string;
143
+ transition: string;
144
+ transform: string;
145
+ boxShadow: string;
146
+ };
147
+ /**
148
+ * Generate styles for highlight/mark
149
+ */
150
+ export declare function getHighlightStyles(theme: SuggestionsThemeVariables): {
151
+ backgroundColor: string;
152
+ fontWeight: string;
153
+ padding: string;
154
+ borderRadius: string;
155
+ };
156
+ /**
157
+ * Generate complete CSS stylesheet for suggestions components
158
+ */
159
+ export declare function generateSuggestionsStylesheet(theme?: SuggestionsThemeVariables): string;
160
+ /**
161
+ * Inject suggestions styles into the document
162
+ */
163
+ export declare function injectSuggestionsStyles(theme?: SuggestionsThemeVariables, force?: boolean): void;
164
+ /**
165
+ * Update injected styles with new theme
166
+ */
167
+ export declare function updateSuggestionsStyles(theme: SuggestionsThemeVariables): void;
168
+ export type { Theme, ThemeConfig };
169
+ declare const _default: {
170
+ lightThemeVariables: SuggestionsThemeVariables;
171
+ darkThemeVariables: SuggestionsThemeVariables;
172
+ minimalThemeVariables: SuggestionsThemeVariables;
173
+ brandPresets: {
174
+ blue: {
175
+ '--seekora-primary': string;
176
+ '--seekora-primary-light': string;
177
+ '--seekora-primary-dark': string;
178
+ };
179
+ green: {
180
+ '--seekora-primary': string;
181
+ '--seekora-primary-light': string;
182
+ '--seekora-primary-dark': string;
183
+ };
184
+ purple: {
185
+ '--seekora-primary': string;
186
+ '--seekora-primary-light': string;
187
+ '--seekora-primary-dark': string;
188
+ };
189
+ red: {
190
+ '--seekora-primary': string;
191
+ '--seekora-primary-light': string;
192
+ '--seekora-primary-dark': string;
193
+ };
194
+ orange: {
195
+ '--seekora-primary': string;
196
+ '--seekora-primary-light': string;
197
+ '--seekora-primary-dark': string;
198
+ };
199
+ teal: {
200
+ '--seekora-primary': string;
201
+ '--seekora-primary-light': string;
202
+ '--seekora-primary-dark': string;
203
+ };
204
+ pink: {
205
+ '--seekora-primary': string;
206
+ '--seekora-primary-light': string;
207
+ '--seekora-primary-dark': string;
208
+ };
209
+ };
210
+ createSuggestionsTheme: typeof createSuggestionsTheme;
211
+ generateSuggestionsStylesheet: typeof generateSuggestionsStylesheet;
212
+ injectSuggestionsStyles: typeof injectSuggestionsStyles;
213
+ updateSuggestionsStyles: typeof updateSuggestionsStyles;
214
+ };
215
+ export default _default;
216
+ //# sourceMappingURL=suggestions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../src/themes/suggestions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAMlD,MAAM,WAAW,yBAAyB;IAExC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,wBAAwB,EAAE,MAAM,CAAC;IACjC,0BAA0B,EAAE,MAAM,CAAC;IACnC,yBAAyB,EAAE,MAAM,CAAC;IAClC,wBAAwB,EAAE,MAAM,CAAC;IACjC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,yBAAyB,EAAE,MAAM,CAAC;IAClC,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAG1B,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,0BAA0B,EAAE,MAAM,CAAC;IACnC,wBAAwB,EAAE,MAAM,CAAC;IACjC,8BAA8B,EAAE,MAAM,CAAC;IACvC,8BAA8B,EAAE,MAAM,CAAC;IACvC,gCAAgC,EAAE,MAAM,CAAC;IACzC,4BAA4B,EAAE,MAAM,CAAC;IACrC,6BAA6B,EAAE,MAAM,CAAC;IACtC,8BAA8B,EAAE,MAAM,CAAC;IACvC,+BAA+B,EAAE,MAAM,CAAC;IAGxC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,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