@envive-ai/react-toolkit 0.1.9 → 0.1.10

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 (103) hide show
  1. package/dist/Accordion/index.d.cts +2 -2
  2. package/dist/Accordion/index.d.ts +2 -2
  3. package/dist/AppliedFiltersScrollbar/index.d.cts +2 -2
  4. package/dist/AppliedFiltersScrollbar/index.d.ts +2 -2
  5. package/dist/ButtonBase/index.d.cts +2 -2
  6. package/dist/ButtonBase/index.d.ts +2 -2
  7. package/dist/DynamicFiltersScrollbar/index.d.cts +2 -2
  8. package/dist/DynamicFiltersScrollbar/index.d.ts +2 -2
  9. package/dist/FilterScrollbar/index.cjs +1 -1
  10. package/dist/FilterScrollbar/index.d.cts +3 -3
  11. package/dist/FilterScrollbar/index.d.ts +3 -3
  12. package/dist/FilterScrollbar/index.js +1 -1
  13. package/dist/Headline/index.cjs +1 -1
  14. package/dist/Headline/index.d.cts +2 -2
  15. package/dist/Headline/index.d.ts +2 -2
  16. package/dist/Headline/index.js +1 -1
  17. package/dist/ImageWithFallback/index.cjs +1 -1
  18. package/dist/ImageWithFallback/index.d.cts +2 -2
  19. package/dist/ImageWithFallback/index.js +1 -1
  20. package/dist/ProductCard/index.cjs +3 -3
  21. package/dist/ProductCard/index.d.cts +1 -1
  22. package/dist/ProductCard/index.d.ts +1 -1
  23. package/dist/ProductCard/index.js +3 -3
  24. package/dist/{ProductCard-BcQBegyj.cjs → ProductCard-CymUvJnC.cjs} +2 -2
  25. package/dist/{ProductCard-D44lhkxO.js → ProductCard-Dkkhl9pk.js} +2 -2
  26. package/dist/ProductGrid/index.cjs +4 -4
  27. package/dist/ProductGrid/index.d.cts +3 -3
  28. package/dist/ProductGrid/index.d.ts +3 -3
  29. package/dist/ProductGrid/index.js +4 -4
  30. package/dist/{ProductGrid-ZXF7LBVG.js → ProductGrid-B3Ypqh7j.js} +1 -1
  31. package/dist/{ProductGrid-50PmrwA4.cjs → ProductGrid-ZNRujkuN.cjs} +1 -1
  32. package/dist/SearchFilter/index.cjs +1 -1
  33. package/dist/SearchFilter/index.d.cts +4 -4
  34. package/dist/SearchFilter/index.d.ts +4 -4
  35. package/dist/SearchFilter/index.js +1 -1
  36. package/dist/SearchInput/index.cjs +3 -3
  37. package/dist/SearchInput/index.d.cts +1 -1
  38. package/dist/SearchInput/index.d.ts +1 -1
  39. package/dist/SearchInput/index.js +3 -3
  40. package/dist/{SearchInput-DxDC1mcq.js → SearchInput-BT1rrc4F.js} +2 -2
  41. package/dist/{SearchInput-BFlu_3iT.cjs → SearchInput-CdR_nsR3.cjs} +2 -2
  42. package/dist/SearchInputForm/index.cjs +3 -3
  43. package/dist/SearchInputForm/index.d.cts +1 -1
  44. package/dist/SearchInputForm/index.d.ts +1 -1
  45. package/dist/SearchInputForm/index.js +3 -3
  46. package/dist/SearchResultsContent/index.cjs +15 -29
  47. package/dist/SearchResultsContent/index.d.cts +6 -21
  48. package/dist/SearchResultsContent/index.d.ts +6 -21
  49. package/dist/SearchResultsContent/index.js +11 -24
  50. package/dist/SearchResultsFilterSidebar/index.cjs +3 -3
  51. package/dist/SearchResultsFilterSidebar/index.d.cts +1 -1
  52. package/dist/SearchResultsFilterSidebar/index.d.ts +1 -1
  53. package/dist/SearchResultsFilterSidebar/index.js +3 -3
  54. package/dist/SearchResultsStates/index.cjs +9 -9
  55. package/dist/SearchResultsStates/index.d.cts +6 -6
  56. package/dist/SearchResultsStates/index.d.ts +6 -6
  57. package/dist/SearchResultsStates/index.js +9 -9
  58. package/dist/{SearchResultsStates-T--7xKI7.js → SearchResultsStates-BxJphoL-.js} +5 -5
  59. package/dist/{SearchResultsStates-B7a6B6-P.cjs → SearchResultsStates-ESlrrf20.cjs} +5 -5
  60. package/dist/SparkleAnimation/index.cjs +1 -1
  61. package/dist/SparkleAnimation/index.d.cts +2 -2
  62. package/dist/SparkleAnimation/index.js +1 -1
  63. package/dist/Spinner/index.d.cts +2 -2
  64. package/dist/Spinner/index.d.ts +2 -2
  65. package/dist/Styles/index.cjs +274 -0
  66. package/dist/Styles/index.d.cts +258 -0
  67. package/dist/Styles/index.d.ts +258 -0
  68. package/dist/Styles/index.js +274 -0
  69. package/dist/SuggestionButton/index.d.cts +2 -2
  70. package/dist/SuggestionButton/index.d.ts +2 -2
  71. package/dist/Text/index.d.cts +2 -2
  72. package/dist/Text/index.d.ts +2 -2
  73. package/dist/TextInput/index.cjs +1 -1
  74. package/dist/TextInput/index.js +1 -1
  75. package/dist/{index-BkxuyRJ6.d.cts → index-Bpjv4lP2.d.cts} +2 -2
  76. package/dist/{index-ozZ5JSZp.d.cts → index-DV2K-9lE.d.cts} +2 -2
  77. package/dist/{index-vrOLXtJO.d.ts → index-DggZTKvc.d.ts} +4 -4
  78. package/dist/{index-CC5ru80z.d.ts → index-agU5rfIs.d.ts} +2 -2
  79. package/dist/{index-C5sr5-A0.d.cts → index-b4yAASuy.d.cts} +4 -4
  80. package/dist/{index-Bl5T42aR.d.ts → index-uU3sIiRx.d.ts} +2 -2
  81. package/dist/{searchFilterSidebarVariants-B8nMp970.js → searchFilterSidebarVariants-BnIcOVWR.js} +1 -1
  82. package/dist/{searchFilterSidebarVariants-BMZs5kyL.cjs → searchFilterSidebarVariants-DVZ7wRlb.cjs} +1 -1
  83. package/package.json +12 -3
  84. package/src/components/SearchResultsContent/SearchResultsContent.tsx +1 -1
  85. package/src/components/SearchResultsContent/index.ts +0 -1
  86. package/src/components/Styles/EnviveTailwindPreset.ts +285 -0
  87. package/src/components/Styles/index.ts +2 -0
  88. package/tailwind-preset.js +3 -0
  89. package/src/components/SearchResultsContent/utils.ts +0 -28
  90. /package/dist/{DynamicFiltersScrollbar-DCElnZJa.cjs → DynamicFiltersScrollbar-ChvmEiPB.cjs} +0 -0
  91. /package/dist/{DynamicFiltersScrollbar-D4d6pGke.js → DynamicFiltersScrollbar-Dev5vGsW.js} +0 -0
  92. /package/dist/{Headline-QpruZlcg.cjs → Headline-DSmu5Mg8.cjs} +0 -0
  93. /package/dist/{Headline-BkOW1lQj.js → Headline-DTaT30_m.js} +0 -0
  94. /package/dist/{ImageWithFallback-1LqhQK1q.cjs → ImageWithFallback-Cx-KNi-D.cjs} +0 -0
  95. /package/dist/{ImageWithFallback-Ckwsmd8P.js → ImageWithFallback-DqxjwO3i.js} +0 -0
  96. /package/dist/{SearchFilter-QV5AH7gk.cjs → SearchFilter-CLYCSNAa.cjs} +0 -0
  97. /package/dist/{SearchFilter-B3vl3aWK.js → SearchFilter-qQPpx-34.js} +0 -0
  98. /package/dist/{SparkleAnimation-2m4gwmrY.cjs → SparkleAnimation-BY5iw7s0.cjs} +0 -0
  99. /package/dist/{SparkleAnimation-DT3coYkB.js → SparkleAnimation-fQHP7b-R.js} +0 -0
  100. /package/dist/{TextInput-DLSgpP6b.cjs → TextInput-BJrdkZsM.cjs} +0 -0
  101. /package/dist/{TextInput-BFPXhSAY.js → TextInput-DIjjsSMg.js} +0 -0
  102. /package/dist/{colorsConfig-DCvy_dV4.cjs → colorsConfig-CJTKbJsm.cjs} +0 -0
  103. /package/dist/{colorsConfig-BQlaCfxi.js → colorsConfig-CYZ8f_gj.js} +0 -0
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime20 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
2
2
  import { TestProps } from "@envive-ai/react-hooks/types";
3
3
  import { FC } from "react";
4
4
  import { ResponseCategory, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
@@ -261,7 +261,7 @@ declare const RatingSummary: ({
261
261
  stars,
262
262
  reviewCount,
263
263
  className
264
- }: RatingSummaryProps) => react_jsx_runtime20.JSX.Element;
264
+ }: RatingSummaryProps) => react_jsx_runtime18.JSX.Element;
265
265
  interface PriceSectionProps {
266
266
  originalPrice?: string;
267
267
  salePrice?: string;
@@ -271,7 +271,7 @@ declare const PriceSection: ({
271
271
  originalPrice,
272
272
  salePrice,
273
273
  pricePrefix
274
- }: PriceSectionProps) => react_jsx_runtime20.JSX.Element;
274
+ }: PriceSectionProps) => react_jsx_runtime18.JSX.Element;
275
275
  interface ProductCardProps extends TestProps {
276
276
  productCardConfig?: ProductCardConfig;
277
277
  merchantShortName: string;
@@ -312,7 +312,7 @@ declare const ProductCard: ({
312
312
  aspectRatio,
313
313
  growWithContainer,
314
314
  handleClick
315
- }: ProductCardProps) => react_jsx_runtime20.JSX.Element;
315
+ }: ProductCardProps) => react_jsx_runtime18.JSX.Element;
316
316
  //#endregion
317
317
  //#region src/components/ProductCard/ProductCardSkeleton.d.ts
318
318
  declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime16 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime15 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/SearchInputForm/types.d.ts
4
4
  type SearchInputVariant = 'standard';
@@ -31,6 +31,6 @@ declare const SearchInputForm: ({
31
31
  onSearchInputChange,
32
32
  onSearchSubmit,
33
33
  searchInputDataTestId
34
- }: SearchInputFormProps) => react_jsx_runtime16.JSX.Element;
34
+ }: SearchInputFormProps) => react_jsx_runtime15.JSX.Element;
35
35
  //#endregion
36
36
  export { SearchInputForm, SearchInputVariant };
@@ -1,4 +1,4 @@
1
- import { ColorNames, colorVar } from "./colorsConfig-BQlaCfxi.js";
1
+ import { ColorNames, colorVar } from "./colorsConfig-CYZ8f_gj.js";
2
2
 
3
3
  //#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts
4
4
  const searchFilterSidebarVariantClasses = {
@@ -1,4 +1,4 @@
1
- const require_colorsConfig = require('./colorsConfig-DCvy_dV4.cjs');
1
+ const require_colorsConfig = require('./colorsConfig-CJTKbJsm.cjs');
2
2
 
3
3
  //#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts
4
4
  const searchFilterSidebarVariantClasses = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envive-ai/react-toolkit",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "React component library for Envive services.",
5
5
  "keywords": [
6
6
  "react",
@@ -17,14 +17,16 @@
17
17
  "files": [
18
18
  "dist",
19
19
  "src",
20
- "!**/*.tsbuildinfo"
20
+ "!**/*.tsbuildinfo",
21
+ "tailwind-preset.js"
21
22
  ],
22
23
  "scripts": {
23
24
  "build": "tsdown",
25
+ "build:watch": "tsdown --watch",
24
26
  "prepublish": "npm run build"
25
27
  },
26
28
  "dependencies": {
27
- "@envive-ai/react-hooks": "^0.1.4",
29
+ "@envive-ai/react-hooks": "^0.1.5",
28
30
  "@envive-ai/react-icons": "0.1.1",
29
31
  "@tailwindcss/typography": "^0.5.15",
30
32
  "classnames": "^2.5.1",
@@ -37,7 +39,10 @@
37
39
  "react-dom": "^18.3.1"
38
40
  },
39
41
  "devDependencies": {
42
+ "@types/node": "^24.3.2",
40
43
  "@types/react": "^19.1.12",
44
+ "postcss": "^8.5.6",
45
+ "tailwindcss": "^3.4.17",
41
46
  "tsdown": "^0.14.2",
42
47
  "typescript": "~5.8.3"
43
48
  },
@@ -114,6 +119,10 @@
114
119
  "import": "./dist/Spinner/index.js",
115
120
  "require": "./dist/Spinner/index.cjs"
116
121
  },
122
+ "./Styles": {
123
+ "import": "./dist/Styles/index.js",
124
+ "require": "./dist/Styles/index.cjs"
125
+ },
117
126
  "./SuggestionButton": {
118
127
  "import": "./dist/SuggestionButton/index.js",
119
128
  "require": "./dist/SuggestionButton/index.cjs"
@@ -10,7 +10,7 @@ import {
10
10
  SearchResultsGrid,
11
11
  SearchResultsLoadingGrid,
12
12
  } from '../SearchResultsStates';
13
- import { SearchResultsState } from './utils';
13
+ import { SearchResultsState } from '@envive-ai/react-hooks/hooks';
14
14
 
15
15
  interface SearchResultsContentProps {
16
16
  searchResultsState: SearchResultsState;
@@ -1,2 +1 @@
1
1
  export * from './SearchResultsContent';
2
- export * from './utils';
@@ -0,0 +1,285 @@
1
+ /* eslint-disable @typescript-eslint/no-require-imports */
2
+ import typography from '@tailwindcss/typography';
3
+
4
+ /**
5
+ * Helper function to create content paths for the Envive React Toolkit
6
+ * This should be used in the consuming application's tailwind.config.js
7
+ *
8
+ * @param additionalPaths - Additional content paths to include
9
+ * @returns Array of content paths including the toolkit components
10
+ */
11
+ export const createEnviveContentPaths = (additionalPaths: string[] = []): string[] => {
12
+ // Dynamically resolve the path to the toolkit's dist directory
13
+ let toolkitPath: string;
14
+
15
+ try {
16
+ // This will work in Node.js environments (build time)
17
+ if (typeof require !== 'undefined' && typeof require.resolve === 'function') {
18
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
19
+ const path = require('path');
20
+ toolkitPath = path.join(
21
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
22
+ path.dirname(require.resolve('@envive-ai/react-toolkit/package.json')),
23
+ 'dist/**/*.{js,cjs}',
24
+ );
25
+ } else {
26
+ // Fallback for environments where require is not available
27
+ toolkitPath = './node_modules/@envive-ai/react-toolkit/dist/**/*.{js,cjs}';
28
+ }
29
+ } catch {
30
+ // Fallback if resolution fails
31
+ toolkitPath = './node_modules/@envive-ai/react-toolkit/dist/**/*.{js,cjs}';
32
+ }
33
+
34
+ return [
35
+ // Include the toolkit's built components
36
+ toolkitPath,
37
+ // Include any additional paths provided by the consuming application
38
+ ...additionalPaths,
39
+ ];
40
+ };
41
+
42
+ /** @type {import('tailwindcss').Config} */
43
+ export const EnviveTailwindPreset = {
44
+ future: {
45
+ hoverOnlyWhenSupported: true,
46
+ },
47
+ prefix: 'spiffy-tw-',
48
+ theme: {
49
+ screens: {
50
+ sm: '480px',
51
+ md: '768px',
52
+ lg: '976px',
53
+ xl: '1440px',
54
+ },
55
+ fontFamily: {
56
+ sans: ['Inter Variable', 'Poppins', 'sans-serif'],
57
+ },
58
+ fontSize: {
59
+ xs: '12px',
60
+ sm: '14px',
61
+ md: '16px',
62
+ lg: '18px',
63
+ xl: '20px',
64
+ },
65
+ fontWeight: {
66
+ normal: 400,
67
+ medium: 500,
68
+ semibold: 600,
69
+ bold: 700,
70
+ },
71
+ spacing: {
72
+ px: '1px',
73
+ 0.5: '2px',
74
+ 1: '4px',
75
+ 1.5: '6px',
76
+ 2: '8px',
77
+ 2.5: '10px',
78
+ 3: '12px',
79
+ 3.5: '14px',
80
+ 4: '16px',
81
+ 5: '20px',
82
+ 6: '24px',
83
+ 7: '28px',
84
+ 8: '32px',
85
+ 9: '36px',
86
+ 10: '40px',
87
+ 12: '48px',
88
+ 14: '56px',
89
+ 16: '64px',
90
+ 20: '80px',
91
+ 24: '96px',
92
+ 28: '112px',
93
+ 32: '128px',
94
+ 36: '144px',
95
+ 40: '160px',
96
+ 44: '176px',
97
+ 48: '192px',
98
+ 52: '208px',
99
+ 56: '224px',
100
+ 60: '240px',
101
+ 64: '256px',
102
+ 72: '288px',
103
+ 80: '320px',
104
+ 96: '384px',
105
+ },
106
+ borderRadius: {
107
+ none: '0',
108
+ sm: '2px',
109
+ base: '4px',
110
+ md: '6px',
111
+ lg: '8px',
112
+ xl: '12px',
113
+ '2xl': '16px',
114
+ '3xl': '24px',
115
+ full: '9999px',
116
+ },
117
+ extend: {
118
+ keyframes: {
119
+ pulse: {
120
+ '0%': { borderColor: '#EDF2F7', background: '#EDF2F7' },
121
+ '50%': {},
122
+ '100%': { borderColor: '#A0AEC0', background: '#A0AEC0' },
123
+ },
124
+ ellipse_162_1_flow_1: {
125
+ from: {
126
+ transform: 'translate(0px, 0px) rotate(0deg)',
127
+ transformOrigin: '8.5px 9.5px',
128
+ cy: '9.5px',
129
+ },
130
+ to: {
131
+ transform: 'translate(0px, 0px) rotate(0deg)',
132
+ transformOrigin: '8.5px 7.5px',
133
+ cy: '7.5px',
134
+ },
135
+ },
136
+ ellipse_162_1_flow_2: {
137
+ from: {
138
+ transform: 'translate(0px, 0px) rotate(0deg)',
139
+ transformOrigin: '8.5px 7.5px',
140
+ cy: '7.5px',
141
+ },
142
+ to: {
143
+ transform: 'translate(0px, 0px) rotate(0deg)',
144
+ transformOrigin: '8.5px 9.5px',
145
+ cy: '9.5px',
146
+ },
147
+ },
148
+ ellipse_162_1_flow_5: {
149
+ from: {
150
+ transform: 'translate(0px, 0px) rotate(0deg)',
151
+ transformOrigin: '8.5px 9.5px',
152
+ cy: '9.5px',
153
+ },
154
+ to: {
155
+ transform: 'translate(0px, 0px) rotate(0deg)',
156
+ transformOrigin: '8.5px 7.5px',
157
+ cy: '7.5px',
158
+ },
159
+ },
160
+ ellipse_162_1_flow_6: {
161
+ from: {
162
+ transform: 'translate(0px, 0px) rotate(0deg)',
163
+ transformOrigin: '8.5px 7.5px',
164
+ cy: '7.5px',
165
+ },
166
+ to: {
167
+ transform: 'translate(0px, 0px) rotate(0deg)',
168
+ transformOrigin: '8.5px 9.5px',
169
+ cy: '9.5px',
170
+ },
171
+ },
172
+ // Ellipse 163_2 animations
173
+ ellipse_163_2_flow_2: {
174
+ from: {
175
+ transform: 'translate(0px, 0px) rotate(0deg)',
176
+ transformOrigin: '16.5px 9.5px',
177
+ cy: '9.5px',
178
+ },
179
+ to: {
180
+ transform: 'translate(0px, 0px) rotate(0deg)',
181
+ transformOrigin: '16.5px 7.5px',
182
+ cy: '7.5px',
183
+ },
184
+ },
185
+ ellipse_163_2_flow_3: {
186
+ from: {
187
+ transform: 'translate(0px, 0px) rotate(0deg)',
188
+ transformOrigin: '16.5px 7.5px',
189
+ cy: '7.5px',
190
+ },
191
+ to: {
192
+ transform: 'translate(0px, 0px) rotate(0deg)',
193
+ transformOrigin: '16.5px 9.5px',
194
+ cy: '9.5px',
195
+ },
196
+ },
197
+ ellipse_163_2_flow_6: {
198
+ from: {
199
+ transform: 'translate(0px, 0px) rotate(0deg)',
200
+ transformOrigin: '16.5px 9.5px',
201
+ cy: '9.5px',
202
+ },
203
+ to: {
204
+ transform: 'translate(0px, 0px) rotate(0deg)',
205
+ transformOrigin: '16.5px 7.5px',
206
+ cy: '7.5px',
207
+ },
208
+ },
209
+ ellipse_163_2_flow_7: {
210
+ from: {
211
+ transform: 'translate(0px, 0px) rotate(0deg)',
212
+ transformOrigin: '16.5px 7.5px',
213
+ cy: '7.5px',
214
+ },
215
+ to: {
216
+ transform: 'translate(0px, 0px) rotate(0deg)',
217
+ transformOrigin: '16.5px 9.5px',
218
+ cy: '9.5px',
219
+ },
220
+ },
221
+ // Ellipse 164_3 animations
222
+ ellipse_164_3_flow_3: {
223
+ from: {
224
+ transform: 'translate(0px, 0px) rotate(0deg)',
225
+ transformOrigin: '24.5px 9.5px',
226
+ cy: '9.5px',
227
+ },
228
+ to: {
229
+ transform: 'translate(0px, 0px) rotate(0deg)',
230
+ transformOrigin: '24.5px 7.5px',
231
+ cy: '7.5px',
232
+ },
233
+ },
234
+ ellipse_164_3_flow_4: {
235
+ from: {
236
+ transform: 'translate(0px, 0px) rotate(0deg)',
237
+ transformOrigin: '24.5px 7.5px',
238
+ cy: '7.5px',
239
+ },
240
+ to: {
241
+ transform: 'translate(0px, 0px) rotate(0deg)',
242
+ transformOrigin: '24.5px 9.5px',
243
+ cy: '9.5px',
244
+ },
245
+ },
246
+ ellipse_164_3_flow_7: {
247
+ from: {
248
+ transform: 'translate(0px, 0px) rotate(0deg)',
249
+ transformOrigin: '24.5px 9.5px',
250
+ cy: '9.5px',
251
+ },
252
+ to: {
253
+ transform: 'translate(0px, 0px) rotate(0deg)',
254
+ transformOrigin: '24.5px 7.5px',
255
+ cy: '7.5px',
256
+ },
257
+ },
258
+ ellipse_164_3_flow_8: {
259
+ from: {
260
+ transform: 'translate(0px, 0px) rotate(0deg)',
261
+ transformOrigin: '24.5px 7.5px',
262
+ cy: '7.5px',
263
+ },
264
+ to: {
265
+ transform: 'translate(0px, 0px) rotate(0deg)',
266
+ transformOrigin: '24.5px 9.5px',
267
+ cy: '9.5px',
268
+ },
269
+ },
270
+ },
271
+ animation: {
272
+ pulse: 'pulse 0.8s linear infinite alternate',
273
+ 'ellipse-1-complete':
274
+ 'ellipse_162_1_flow_1 0.3s ease-out 0s forwards, ellipse_162_1_flow_2 0.2s ease-out 0.3s forwards, ellipse_162_1_flow_5 0.2s ease-out 0.91s forwards, ellipse_162_1_flow_6 0.2s ease-out 1.11s forwards',
275
+ 'ellipse-2-complete':
276
+ 'ellipse_163_2_flow_2 0.2s ease-out 0.3s forwards, ellipse_163_2_flow_3 0.2s ease-out 0.5s forwards, ellipse_163_2_flow_6 0.2s ease-out 1.11s forwards, ellipse_163_2_flow_7 0.2s ease-out 1.31s forwards',
277
+ 'ellipse-3-complete':
278
+ 'ellipse_164_3_flow_3 0.2s ease-out 0.5s forwards, ellipse_164_3_flow_4 0.2s ease-out 0.7s forwards, ellipse_164_3_flow_7 0.2s ease-out 1.31s forwards, ellipse_164_3_flow_8 0.2s ease-out 1.51s forwards',
279
+ },
280
+ },
281
+ },
282
+ // Content should be defined by the consuming application
283
+ content: [createEnviveContentPaths(['./index.html', './src/**/*.{js,ts,jsx,tsx}'])],
284
+ plugins: [typography],
285
+ };
@@ -0,0 +1,2 @@
1
+ export * from './EnviveTailwindPreset';
2
+ export { EnviveTailwindPreset as default } from './EnviveTailwindPreset';
@@ -0,0 +1,3 @@
1
+ const { EnviveTailwindPreset } = require('./dist/Styles/index.cjs');
2
+
3
+ module.exports = EnviveTailwindPreset;
@@ -1,28 +0,0 @@
1
- import { SearchResponseProduct } from '@spiffy-ai/commerce-api-client';
2
-
3
- export interface SearchResult {
4
- products: SearchResponseProduct[]; // Flattened from all responses
5
- filters: string[]; // Combined from all responses
6
- generatedQuery?: string;
7
- totalProductCount: number;
8
- searchResponseId: string;
9
- }
10
-
11
- export const enum SearchResultsState {
12
- Loading,
13
- Results,
14
- NoResults,
15
- }
16
-
17
- export const getSearchResultsState = (
18
- isLoadingSearch: boolean,
19
- searchData: SearchResult | null,
20
- ): SearchResultsState => {
21
- if (isLoadingSearch) {
22
- return SearchResultsState.Loading;
23
- }
24
- if (searchData) {
25
- return SearchResultsState.Results;
26
- }
27
- return SearchResultsState.NoResults;
28
- };