@envive-ai/react-toolkit 0.1.8 → 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.
- package/dist/Accordion/index.d.cts +2 -2
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/AppliedFiltersScrollbar/index.d.cts +2 -2
- package/dist/AppliedFiltersScrollbar/index.d.ts +2 -2
- package/dist/ButtonBase/index.d.cts +2 -2
- package/dist/ButtonBase/index.d.ts +2 -2
- package/dist/DynamicFiltersScrollbar/index.d.cts +2 -2
- package/dist/DynamicFiltersScrollbar/index.d.ts +2 -2
- package/dist/FilterScrollbar/index.cjs +1 -1
- package/dist/FilterScrollbar/index.d.cts +3 -3
- package/dist/FilterScrollbar/index.d.ts +3 -3
- package/dist/FilterScrollbar/index.js +1 -1
- package/dist/Headline/index.cjs +1 -1
- package/dist/Headline/index.d.cts +2 -2
- package/dist/Headline/index.d.ts +2 -2
- package/dist/Headline/index.js +1 -1
- package/dist/ImageWithFallback/index.cjs +1 -1
- package/dist/ImageWithFallback/index.d.cts +2 -2
- package/dist/ImageWithFallback/index.js +1 -1
- package/dist/ProductCard/index.cjs +4 -4
- package/dist/ProductCard/index.d.cts +1 -1
- package/dist/ProductCard/index.d.ts +1 -1
- package/dist/ProductCard/index.js +4 -4
- package/dist/{ProductCard-BYjPKgX3.cjs → ProductCard-CymUvJnC.cjs} +3 -3
- package/dist/{ProductCard-DCFMFwCH.js → ProductCard-Dkkhl9pk.js} +3 -3
- package/dist/ProductGrid/index.cjs +5 -5
- package/dist/ProductGrid/index.d.cts +3 -3
- package/dist/ProductGrid/index.d.ts +3 -3
- package/dist/ProductGrid/index.js +5 -5
- package/dist/{ProductGrid-BoJzUK_H.js → ProductGrid-B3Ypqh7j.js} +1 -1
- package/dist/{ProductGrid-CJmmGxBQ.cjs → ProductGrid-ZNRujkuN.cjs} +1 -1
- package/dist/SearchAutocomplete/index.cjs +1 -1
- package/dist/SearchAutocomplete/index.js +1 -1
- package/dist/SearchFilter/index.cjs +1 -1
- package/dist/SearchFilter/index.d.cts +4 -4
- package/dist/SearchFilter/index.d.ts +4 -4
- package/dist/SearchFilter/index.js +1 -1
- package/dist/SearchInput/index.cjs +3 -3
- package/dist/SearchInput/index.d.cts +1 -1
- package/dist/SearchInput/index.d.ts +1 -1
- package/dist/SearchInput/index.js +3 -3
- package/dist/{SearchInput-DxDC1mcq.js → SearchInput-BT1rrc4F.js} +2 -2
- package/dist/{SearchInput-BFlu_3iT.cjs → SearchInput-CdR_nsR3.cjs} +2 -2
- package/dist/SearchInputForm/index.cjs +4 -4
- package/dist/SearchInputForm/index.d.cts +1 -1
- package/dist/SearchInputForm/index.d.ts +1 -1
- package/dist/SearchInputForm/index.js +4 -4
- package/dist/SearchResultsContent/index.cjs +15 -29
- package/dist/SearchResultsContent/index.d.cts +5 -20
- package/dist/SearchResultsContent/index.d.ts +6 -21
- package/dist/SearchResultsContent/index.js +11 -24
- package/dist/SearchResultsFilterSidebar/index.cjs +3 -3
- package/dist/SearchResultsFilterSidebar/index.d.ts +1 -1
- package/dist/SearchResultsFilterSidebar/index.js +3 -3
- package/dist/SearchResultsStates/index.cjs +9 -9
- package/dist/SearchResultsStates/index.d.cts +5 -5
- package/dist/SearchResultsStates/index.d.ts +6 -6
- package/dist/SearchResultsStates/index.js +9 -9
- package/dist/{SearchResultsStates-CEi_RHna.js → SearchResultsStates-BxJphoL-.js} +4 -4
- package/dist/{SearchResultsStates-CJYgUA66.cjs → SearchResultsStates-ESlrrf20.cjs} +4 -4
- package/dist/SparkleAnimation/index.d.cts +2 -2
- package/dist/SparkleAnimation/index.d.ts +2 -2
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.d.cts +2 -2
- package/dist/Spinner/index.d.ts +2 -2
- package/dist/Spinner/index.js +1 -1
- package/dist/Styles/index.cjs +274 -0
- package/dist/Styles/index.d.cts +258 -0
- package/dist/Styles/index.d.ts +258 -0
- package/dist/Styles/index.js +274 -0
- package/dist/SuggestionButton/index.d.cts +2 -2
- package/dist/SuggestionButton/index.d.ts +2 -2
- package/dist/Text/index.d.ts +2 -2
- package/dist/TextInput/index.cjs +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{index-B_tehqNH.d.ts → index-Bpjv4lP2.d.cts} +2 -2
- package/dist/{index-DO4ksBrm.d.ts → index-DggZTKvc.d.ts} +4 -4
- package/dist/{index-D8gHW7ox.d.ts → index-agU5rfIs.d.ts} +2 -2
- package/dist/{index-BCqBaFxm.d.cts → index-b4yAASuy.d.cts} +4 -4
- package/dist/{index-D4n-kZvz.d.cts → index-uU3sIiRx.d.ts} +2 -2
- package/dist/{searchFilterSidebarVariants-BWQyiKwS.js → searchFilterSidebarVariants-BnIcOVWR.js} +1 -1
- package/dist/{searchFilterSidebarVariants-D08jyA7U.cjs → searchFilterSidebarVariants-DVZ7wRlb.cjs} +1 -1
- package/package.json +13 -3
- package/src/components/SearchResultsContent/SearchResultsContent.tsx +1 -1
- package/src/components/SearchResultsContent/index.ts +0 -1
- package/src/components/Styles/EnviveTailwindPreset.ts +285 -0
- package/src/components/Styles/index.ts +2 -0
- package/tailwind-preset.js +3 -0
- package/src/components/SearchResultsContent/utils.ts +0 -28
- /package/dist/{DynamicFiltersScrollbar-U9-CmTKd.cjs → DynamicFiltersScrollbar-ChvmEiPB.cjs} +0 -0
- /package/dist/{DynamicFiltersScrollbar-CCwh0QW4.js → DynamicFiltersScrollbar-Dev5vGsW.js} +0 -0
- /package/dist/{Headline-QpruZlcg.cjs → Headline-DSmu5Mg8.cjs} +0 -0
- /package/dist/{Headline-BkOW1lQj.js → Headline-DTaT30_m.js} +0 -0
- /package/dist/{ImageWithFallback-1LqhQK1q.cjs → ImageWithFallback-Cx-KNi-D.cjs} +0 -0
- /package/dist/{ImageWithFallback-Ckwsmd8P.js → ImageWithFallback-DqxjwO3i.js} +0 -0
- /package/dist/{SearchAutocomplete-BPjlo6qq.js → SearchAutocomplete-C4RY0IoT.js} +0 -0
- /package/dist/{SearchAutocomplete-BzaEXmRQ.cjs → SearchAutocomplete-hQDnKtwQ.cjs} +0 -0
- /package/dist/{SearchFilter-B8jliRly.cjs → SearchFilter-CLYCSNAa.cjs} +0 -0
- /package/dist/{SearchFilter-Da6SL9mU.js → SearchFilter-qQPpx-34.js} +0 -0
- /package/dist/{Spinner-BgGihEfJ.js → Spinner-BqTt55uu.js} +0 -0
- /package/dist/{Spinner-DzdIkS6t.cjs → Spinner-DjK8ts9E.cjs} +0 -0
- /package/dist/{TextInput-DLSgpP6b.cjs → TextInput-BJrdkZsM.cjs} +0 -0
- /package/dist/{TextInput-BFPXhSAY.js → TextInput-DIjjsSMg.js} +0 -0
- /package/dist/{colorsConfig-DCvy_dV4.cjs → colorsConfig-CJTKbJsm.cjs} +0 -0
- /package/dist/{colorsConfig-BQlaCfxi.js → colorsConfig-CYZ8f_gj.js} +0 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import typography from "@tailwindcss/typography";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Styles/EnviveTailwindPreset.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Helper function to create content paths for the Envive React Toolkit
|
|
7
|
+
* This should be used in the consuming application's tailwind.config.js
|
|
8
|
+
*
|
|
9
|
+
* @param additionalPaths - Additional content paths to include
|
|
10
|
+
* @returns Array of content paths including the toolkit components
|
|
11
|
+
*/
|
|
12
|
+
declare const createEnviveContentPaths: (additionalPaths?: string[]) => string[];
|
|
13
|
+
/** @type {import('tailwindcss').Config} */
|
|
14
|
+
declare const EnviveTailwindPreset: {
|
|
15
|
+
future: {
|
|
16
|
+
hoverOnlyWhenSupported: boolean;
|
|
17
|
+
};
|
|
18
|
+
prefix: string;
|
|
19
|
+
theme: {
|
|
20
|
+
screens: {
|
|
21
|
+
sm: string;
|
|
22
|
+
md: string;
|
|
23
|
+
lg: string;
|
|
24
|
+
xl: string;
|
|
25
|
+
};
|
|
26
|
+
fontFamily: {
|
|
27
|
+
sans: string[];
|
|
28
|
+
};
|
|
29
|
+
fontSize: {
|
|
30
|
+
xs: string;
|
|
31
|
+
sm: string;
|
|
32
|
+
md: string;
|
|
33
|
+
lg: string;
|
|
34
|
+
xl: string;
|
|
35
|
+
};
|
|
36
|
+
fontWeight: {
|
|
37
|
+
normal: number;
|
|
38
|
+
medium: number;
|
|
39
|
+
semibold: number;
|
|
40
|
+
bold: number;
|
|
41
|
+
};
|
|
42
|
+
spacing: {
|
|
43
|
+
px: string;
|
|
44
|
+
0.5: string;
|
|
45
|
+
1: string;
|
|
46
|
+
1.5: string;
|
|
47
|
+
2: string;
|
|
48
|
+
2.5: string;
|
|
49
|
+
3: string;
|
|
50
|
+
3.5: string;
|
|
51
|
+
4: string;
|
|
52
|
+
5: string;
|
|
53
|
+
6: string;
|
|
54
|
+
7: string;
|
|
55
|
+
8: string;
|
|
56
|
+
9: string;
|
|
57
|
+
10: string;
|
|
58
|
+
12: string;
|
|
59
|
+
14: string;
|
|
60
|
+
16: string;
|
|
61
|
+
20: string;
|
|
62
|
+
24: string;
|
|
63
|
+
28: string;
|
|
64
|
+
32: string;
|
|
65
|
+
36: string;
|
|
66
|
+
40: string;
|
|
67
|
+
44: string;
|
|
68
|
+
48: string;
|
|
69
|
+
52: string;
|
|
70
|
+
56: string;
|
|
71
|
+
60: string;
|
|
72
|
+
64: string;
|
|
73
|
+
72: string;
|
|
74
|
+
80: string;
|
|
75
|
+
96: string;
|
|
76
|
+
};
|
|
77
|
+
borderRadius: {
|
|
78
|
+
none: string;
|
|
79
|
+
sm: string;
|
|
80
|
+
base: string;
|
|
81
|
+
md: string;
|
|
82
|
+
lg: string;
|
|
83
|
+
xl: string;
|
|
84
|
+
'2xl': string;
|
|
85
|
+
'3xl': string;
|
|
86
|
+
full: string;
|
|
87
|
+
};
|
|
88
|
+
extend: {
|
|
89
|
+
keyframes: {
|
|
90
|
+
pulse: {
|
|
91
|
+
'0%': {
|
|
92
|
+
borderColor: string;
|
|
93
|
+
background: string;
|
|
94
|
+
};
|
|
95
|
+
'50%': {};
|
|
96
|
+
'100%': {
|
|
97
|
+
borderColor: string;
|
|
98
|
+
background: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
ellipse_162_1_flow_1: {
|
|
102
|
+
from: {
|
|
103
|
+
transform: string;
|
|
104
|
+
transformOrigin: string;
|
|
105
|
+
cy: string;
|
|
106
|
+
};
|
|
107
|
+
to: {
|
|
108
|
+
transform: string;
|
|
109
|
+
transformOrigin: string;
|
|
110
|
+
cy: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
ellipse_162_1_flow_2: {
|
|
114
|
+
from: {
|
|
115
|
+
transform: string;
|
|
116
|
+
transformOrigin: string;
|
|
117
|
+
cy: string;
|
|
118
|
+
};
|
|
119
|
+
to: {
|
|
120
|
+
transform: string;
|
|
121
|
+
transformOrigin: string;
|
|
122
|
+
cy: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
ellipse_162_1_flow_5: {
|
|
126
|
+
from: {
|
|
127
|
+
transform: string;
|
|
128
|
+
transformOrigin: string;
|
|
129
|
+
cy: string;
|
|
130
|
+
};
|
|
131
|
+
to: {
|
|
132
|
+
transform: string;
|
|
133
|
+
transformOrigin: string;
|
|
134
|
+
cy: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
ellipse_162_1_flow_6: {
|
|
138
|
+
from: {
|
|
139
|
+
transform: string;
|
|
140
|
+
transformOrigin: string;
|
|
141
|
+
cy: string;
|
|
142
|
+
};
|
|
143
|
+
to: {
|
|
144
|
+
transform: string;
|
|
145
|
+
transformOrigin: string;
|
|
146
|
+
cy: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
ellipse_163_2_flow_2: {
|
|
150
|
+
from: {
|
|
151
|
+
transform: string;
|
|
152
|
+
transformOrigin: string;
|
|
153
|
+
cy: string;
|
|
154
|
+
};
|
|
155
|
+
to: {
|
|
156
|
+
transform: string;
|
|
157
|
+
transformOrigin: string;
|
|
158
|
+
cy: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
ellipse_163_2_flow_3: {
|
|
162
|
+
from: {
|
|
163
|
+
transform: string;
|
|
164
|
+
transformOrigin: string;
|
|
165
|
+
cy: string;
|
|
166
|
+
};
|
|
167
|
+
to: {
|
|
168
|
+
transform: string;
|
|
169
|
+
transformOrigin: string;
|
|
170
|
+
cy: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
ellipse_163_2_flow_6: {
|
|
174
|
+
from: {
|
|
175
|
+
transform: string;
|
|
176
|
+
transformOrigin: string;
|
|
177
|
+
cy: string;
|
|
178
|
+
};
|
|
179
|
+
to: {
|
|
180
|
+
transform: string;
|
|
181
|
+
transformOrigin: string;
|
|
182
|
+
cy: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
ellipse_163_2_flow_7: {
|
|
186
|
+
from: {
|
|
187
|
+
transform: string;
|
|
188
|
+
transformOrigin: string;
|
|
189
|
+
cy: string;
|
|
190
|
+
};
|
|
191
|
+
to: {
|
|
192
|
+
transform: string;
|
|
193
|
+
transformOrigin: string;
|
|
194
|
+
cy: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
ellipse_164_3_flow_3: {
|
|
198
|
+
from: {
|
|
199
|
+
transform: string;
|
|
200
|
+
transformOrigin: string;
|
|
201
|
+
cy: string;
|
|
202
|
+
};
|
|
203
|
+
to: {
|
|
204
|
+
transform: string;
|
|
205
|
+
transformOrigin: string;
|
|
206
|
+
cy: string;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
ellipse_164_3_flow_4: {
|
|
210
|
+
from: {
|
|
211
|
+
transform: string;
|
|
212
|
+
transformOrigin: string;
|
|
213
|
+
cy: string;
|
|
214
|
+
};
|
|
215
|
+
to: {
|
|
216
|
+
transform: string;
|
|
217
|
+
transformOrigin: string;
|
|
218
|
+
cy: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
ellipse_164_3_flow_7: {
|
|
222
|
+
from: {
|
|
223
|
+
transform: string;
|
|
224
|
+
transformOrigin: string;
|
|
225
|
+
cy: string;
|
|
226
|
+
};
|
|
227
|
+
to: {
|
|
228
|
+
transform: string;
|
|
229
|
+
transformOrigin: string;
|
|
230
|
+
cy: string;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
ellipse_164_3_flow_8: {
|
|
234
|
+
from: {
|
|
235
|
+
transform: string;
|
|
236
|
+
transformOrigin: string;
|
|
237
|
+
cy: string;
|
|
238
|
+
};
|
|
239
|
+
to: {
|
|
240
|
+
transform: string;
|
|
241
|
+
transformOrigin: string;
|
|
242
|
+
cy: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
animation: {
|
|
247
|
+
pulse: string;
|
|
248
|
+
'ellipse-1-complete': string;
|
|
249
|
+
'ellipse-2-complete': string;
|
|
250
|
+
'ellipse-3-complete': string;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
content: string[][];
|
|
255
|
+
plugins: (typeof typography)[];
|
|
256
|
+
};
|
|
257
|
+
//#endregion
|
|
258
|
+
export { EnviveTailwindPreset, createEnviveContentPaths, EnviveTailwindPreset as default };
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
import typography from "@tailwindcss/typography";
|
|
3
|
+
|
|
4
|
+
//#region rolldown:runtime
|
|
5
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/components/Styles/EnviveTailwindPreset.ts
|
|
9
|
+
/**
|
|
10
|
+
* Helper function to create content paths for the Envive React Toolkit
|
|
11
|
+
* This should be used in the consuming application's tailwind.config.js
|
|
12
|
+
*
|
|
13
|
+
* @param additionalPaths - Additional content paths to include
|
|
14
|
+
* @returns Array of content paths including the toolkit components
|
|
15
|
+
*/
|
|
16
|
+
const createEnviveContentPaths = (additionalPaths = []) => {
|
|
17
|
+
let toolkitPath;
|
|
18
|
+
try {
|
|
19
|
+
if (typeof __require !== "undefined" && typeof __require.resolve === "function") {
|
|
20
|
+
const path = __require("path");
|
|
21
|
+
toolkitPath = path.join(path.dirname(__require.resolve("@envive-ai/react-toolkit/package.json")), "dist/**/*.{js,cjs}");
|
|
22
|
+
} else toolkitPath = "./node_modules/@envive-ai/react-toolkit/dist/**/*.{js,cjs}";
|
|
23
|
+
} catch {
|
|
24
|
+
toolkitPath = "./node_modules/@envive-ai/react-toolkit/dist/**/*.{js,cjs}";
|
|
25
|
+
}
|
|
26
|
+
return [toolkitPath, ...additionalPaths];
|
|
27
|
+
};
|
|
28
|
+
/** @type {import('tailwindcss').Config} */
|
|
29
|
+
const EnviveTailwindPreset = {
|
|
30
|
+
future: { hoverOnlyWhenSupported: true },
|
|
31
|
+
prefix: "spiffy-tw-",
|
|
32
|
+
theme: {
|
|
33
|
+
screens: {
|
|
34
|
+
sm: "480px",
|
|
35
|
+
md: "768px",
|
|
36
|
+
lg: "976px",
|
|
37
|
+
xl: "1440px"
|
|
38
|
+
},
|
|
39
|
+
fontFamily: { sans: [
|
|
40
|
+
"Inter Variable",
|
|
41
|
+
"Poppins",
|
|
42
|
+
"sans-serif"
|
|
43
|
+
] },
|
|
44
|
+
fontSize: {
|
|
45
|
+
xs: "12px",
|
|
46
|
+
sm: "14px",
|
|
47
|
+
md: "16px",
|
|
48
|
+
lg: "18px",
|
|
49
|
+
xl: "20px"
|
|
50
|
+
},
|
|
51
|
+
fontWeight: {
|
|
52
|
+
normal: 400,
|
|
53
|
+
medium: 500,
|
|
54
|
+
semibold: 600,
|
|
55
|
+
bold: 700
|
|
56
|
+
},
|
|
57
|
+
spacing: {
|
|
58
|
+
px: "1px",
|
|
59
|
+
.5: "2px",
|
|
60
|
+
1: "4px",
|
|
61
|
+
1.5: "6px",
|
|
62
|
+
2: "8px",
|
|
63
|
+
2.5: "10px",
|
|
64
|
+
3: "12px",
|
|
65
|
+
3.5: "14px",
|
|
66
|
+
4: "16px",
|
|
67
|
+
5: "20px",
|
|
68
|
+
6: "24px",
|
|
69
|
+
7: "28px",
|
|
70
|
+
8: "32px",
|
|
71
|
+
9: "36px",
|
|
72
|
+
10: "40px",
|
|
73
|
+
12: "48px",
|
|
74
|
+
14: "56px",
|
|
75
|
+
16: "64px",
|
|
76
|
+
20: "80px",
|
|
77
|
+
24: "96px",
|
|
78
|
+
28: "112px",
|
|
79
|
+
32: "128px",
|
|
80
|
+
36: "144px",
|
|
81
|
+
40: "160px",
|
|
82
|
+
44: "176px",
|
|
83
|
+
48: "192px",
|
|
84
|
+
52: "208px",
|
|
85
|
+
56: "224px",
|
|
86
|
+
60: "240px",
|
|
87
|
+
64: "256px",
|
|
88
|
+
72: "288px",
|
|
89
|
+
80: "320px",
|
|
90
|
+
96: "384px"
|
|
91
|
+
},
|
|
92
|
+
borderRadius: {
|
|
93
|
+
none: "0",
|
|
94
|
+
sm: "2px",
|
|
95
|
+
base: "4px",
|
|
96
|
+
md: "6px",
|
|
97
|
+
lg: "8px",
|
|
98
|
+
xl: "12px",
|
|
99
|
+
"2xl": "16px",
|
|
100
|
+
"3xl": "24px",
|
|
101
|
+
full: "9999px"
|
|
102
|
+
},
|
|
103
|
+
extend: {
|
|
104
|
+
keyframes: {
|
|
105
|
+
pulse: {
|
|
106
|
+
"0%": {
|
|
107
|
+
borderColor: "#EDF2F7",
|
|
108
|
+
background: "#EDF2F7"
|
|
109
|
+
},
|
|
110
|
+
"50%": {},
|
|
111
|
+
"100%": {
|
|
112
|
+
borderColor: "#A0AEC0",
|
|
113
|
+
background: "#A0AEC0"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
ellipse_162_1_flow_1: {
|
|
117
|
+
from: {
|
|
118
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
119
|
+
transformOrigin: "8.5px 9.5px",
|
|
120
|
+
cy: "9.5px"
|
|
121
|
+
},
|
|
122
|
+
to: {
|
|
123
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
124
|
+
transformOrigin: "8.5px 7.5px",
|
|
125
|
+
cy: "7.5px"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
ellipse_162_1_flow_2: {
|
|
129
|
+
from: {
|
|
130
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
131
|
+
transformOrigin: "8.5px 7.5px",
|
|
132
|
+
cy: "7.5px"
|
|
133
|
+
},
|
|
134
|
+
to: {
|
|
135
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
136
|
+
transformOrigin: "8.5px 9.5px",
|
|
137
|
+
cy: "9.5px"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
ellipse_162_1_flow_5: {
|
|
141
|
+
from: {
|
|
142
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
143
|
+
transformOrigin: "8.5px 9.5px",
|
|
144
|
+
cy: "9.5px"
|
|
145
|
+
},
|
|
146
|
+
to: {
|
|
147
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
148
|
+
transformOrigin: "8.5px 7.5px",
|
|
149
|
+
cy: "7.5px"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
ellipse_162_1_flow_6: {
|
|
153
|
+
from: {
|
|
154
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
155
|
+
transformOrigin: "8.5px 7.5px",
|
|
156
|
+
cy: "7.5px"
|
|
157
|
+
},
|
|
158
|
+
to: {
|
|
159
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
160
|
+
transformOrigin: "8.5px 9.5px",
|
|
161
|
+
cy: "9.5px"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
ellipse_163_2_flow_2: {
|
|
165
|
+
from: {
|
|
166
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
167
|
+
transformOrigin: "16.5px 9.5px",
|
|
168
|
+
cy: "9.5px"
|
|
169
|
+
},
|
|
170
|
+
to: {
|
|
171
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
172
|
+
transformOrigin: "16.5px 7.5px",
|
|
173
|
+
cy: "7.5px"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
ellipse_163_2_flow_3: {
|
|
177
|
+
from: {
|
|
178
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
179
|
+
transformOrigin: "16.5px 7.5px",
|
|
180
|
+
cy: "7.5px"
|
|
181
|
+
},
|
|
182
|
+
to: {
|
|
183
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
184
|
+
transformOrigin: "16.5px 9.5px",
|
|
185
|
+
cy: "9.5px"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
ellipse_163_2_flow_6: {
|
|
189
|
+
from: {
|
|
190
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
191
|
+
transformOrigin: "16.5px 9.5px",
|
|
192
|
+
cy: "9.5px"
|
|
193
|
+
},
|
|
194
|
+
to: {
|
|
195
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
196
|
+
transformOrigin: "16.5px 7.5px",
|
|
197
|
+
cy: "7.5px"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
ellipse_163_2_flow_7: {
|
|
201
|
+
from: {
|
|
202
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
203
|
+
transformOrigin: "16.5px 7.5px",
|
|
204
|
+
cy: "7.5px"
|
|
205
|
+
},
|
|
206
|
+
to: {
|
|
207
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
208
|
+
transformOrigin: "16.5px 9.5px",
|
|
209
|
+
cy: "9.5px"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
ellipse_164_3_flow_3: {
|
|
213
|
+
from: {
|
|
214
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
215
|
+
transformOrigin: "24.5px 9.5px",
|
|
216
|
+
cy: "9.5px"
|
|
217
|
+
},
|
|
218
|
+
to: {
|
|
219
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
220
|
+
transformOrigin: "24.5px 7.5px",
|
|
221
|
+
cy: "7.5px"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
ellipse_164_3_flow_4: {
|
|
225
|
+
from: {
|
|
226
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
227
|
+
transformOrigin: "24.5px 7.5px",
|
|
228
|
+
cy: "7.5px"
|
|
229
|
+
},
|
|
230
|
+
to: {
|
|
231
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
232
|
+
transformOrigin: "24.5px 9.5px",
|
|
233
|
+
cy: "9.5px"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
ellipse_164_3_flow_7: {
|
|
237
|
+
from: {
|
|
238
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
239
|
+
transformOrigin: "24.5px 9.5px",
|
|
240
|
+
cy: "9.5px"
|
|
241
|
+
},
|
|
242
|
+
to: {
|
|
243
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
244
|
+
transformOrigin: "24.5px 7.5px",
|
|
245
|
+
cy: "7.5px"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
ellipse_164_3_flow_8: {
|
|
249
|
+
from: {
|
|
250
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
251
|
+
transformOrigin: "24.5px 7.5px",
|
|
252
|
+
cy: "7.5px"
|
|
253
|
+
},
|
|
254
|
+
to: {
|
|
255
|
+
transform: "translate(0px, 0px) rotate(0deg)",
|
|
256
|
+
transformOrigin: "24.5px 9.5px",
|
|
257
|
+
cy: "9.5px"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
animation: {
|
|
262
|
+
pulse: "pulse 0.8s linear infinite alternate",
|
|
263
|
+
"ellipse-1-complete": "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",
|
|
264
|
+
"ellipse-2-complete": "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",
|
|
265
|
+
"ellipse-3-complete": "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"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
content: [createEnviveContentPaths(["./index.html", "./src/**/*.{js,ts,jsx,tsx}"])],
|
|
270
|
+
plugins: [typography]
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
//#endregion
|
|
274
|
+
export { EnviveTailwindPreset, createEnviveContentPaths, EnviveTailwindPreset as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
2
2
|
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/types.d.ts
|
|
@@ -30,6 +30,6 @@ declare const SuggestionButton: ({
|
|
|
30
30
|
dataAttributes,
|
|
31
31
|
dataTestId,
|
|
32
32
|
onClick
|
|
33
|
-
}: SuggestionButtonProps) =>
|
|
33
|
+
}: SuggestionButtonProps) => react_jsx_runtime16.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton, SuggestionButtonVariant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/types.d.ts
|
|
@@ -30,6 +30,6 @@ declare const SuggestionButton: ({
|
|
|
30
30
|
dataAttributes,
|
|
31
31
|
dataTestId,
|
|
32
32
|
onClick
|
|
33
|
-
}: SuggestionButtonProps) =>
|
|
33
|
+
}: SuggestionButtonProps) => react_jsx_runtime17.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton, SuggestionButtonVariant };
|
package/dist/Text/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-ypYGLq0h.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Text/types.d.ts
|
|
5
5
|
declare enum ExpandableTextOverrides {
|
|
@@ -37,6 +37,6 @@ declare const Text: ({
|
|
|
37
37
|
testId,
|
|
38
38
|
type,
|
|
39
39
|
variant
|
|
40
|
-
}: TextProps) =>
|
|
40
|
+
}: TextProps) => react_jsx_runtime11.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { ExpandableTextOverrides, HeadlineProps, HeadlineVariant, HeadlineVariantMap, Text, TextStyleVariantMap, TextType, TextVariant, TextVariantMap, getVariantPlaceholderClassNames };
|
package/dist/TextInput/index.cjs
CHANGED
package/dist/TextInput/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 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) =>
|
|
34
|
+
}: SearchInputFormProps) => react_jsx_runtime2.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { SearchInputForm, SearchInputVariant };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
3
|
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
4
4
|
import { ResponseCategory, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
5
5
|
|
|
@@ -261,7 +261,7 @@ declare const RatingSummary: ({
|
|
|
261
261
|
stars,
|
|
262
262
|
reviewCount,
|
|
263
263
|
className
|
|
264
|
-
}: RatingSummaryProps) =>
|
|
264
|
+
}: RatingSummaryProps) => react_jsx_runtime21.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) =>
|
|
274
|
+
}: PriceSectionProps) => react_jsx_runtime21.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) =>
|
|
315
|
+
}: ProductCardProps) => react_jsx_runtime21.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
|
|
1
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
2
2
|
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchResultsFilterSidebar/types.d.ts
|
|
@@ -42,6 +42,6 @@ declare const SearchResultsFilter: ({
|
|
|
42
42
|
onSelectFilterItem,
|
|
43
43
|
onClearAllFilters,
|
|
44
44
|
filterButtonText
|
|
45
|
-
}: SearchResultsFilterProps) =>
|
|
45
|
+
}: SearchResultsFilterProps) => react_jsx_runtime14.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
|
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) =>
|
|
34
|
+
}: SearchInputFormProps) => react_jsx_runtime15.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { SearchInputForm, SearchInputVariant };
|