@madecki/ui 0.1.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.
- package/README.md +206 -0
- package/dist/index.cjs +840 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +152 -0
- package/dist/index.d.ts +152 -0
- package/dist/index.js +820 -0
- package/dist/index.js.map +1 -0
- package/dist/tailwind-preset.cjs +79 -0
- package/dist/tailwind-preset.cjs.map +1 -0
- package/dist/tailwind-preset.d.cts +9 -0
- package/dist/tailwind-preset.d.ts +9 -0
- package/dist/tailwind-preset.js +74 -0
- package/dist/tailwind-preset.js.map +1 -0
- package/package.json +98 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,840 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
|
|
6
|
+
var Button = ({
|
|
7
|
+
variant,
|
|
8
|
+
size = "md",
|
|
9
|
+
children,
|
|
10
|
+
onClick,
|
|
11
|
+
isActive,
|
|
12
|
+
id,
|
|
13
|
+
label,
|
|
14
|
+
disabled,
|
|
15
|
+
className = "",
|
|
16
|
+
type = "button"
|
|
17
|
+
}) => {
|
|
18
|
+
if (typeof isActive === "boolean" && id === void 0) {
|
|
19
|
+
throw Error("If button has isActive props, it must have id props too");
|
|
20
|
+
}
|
|
21
|
+
const classNames = [
|
|
22
|
+
"relative flex gap-2 items-center rounded-sm font-sans border-2 transition-colors leading-none"
|
|
23
|
+
];
|
|
24
|
+
const textColor = "text-primary focus:text-white";
|
|
25
|
+
classNames.push(textColor);
|
|
26
|
+
switch (variant) {
|
|
27
|
+
case "primary":
|
|
28
|
+
classNames.push(
|
|
29
|
+
"border-primary text-primary bg-neutral focus:bg-primary",
|
|
30
|
+
"dark:text-white dark:bg-gray dark:hover:bg-neutral dark:hover:text-primary"
|
|
31
|
+
);
|
|
32
|
+
break;
|
|
33
|
+
case "success":
|
|
34
|
+
classNames.push(
|
|
35
|
+
"border-success text-primary bg-neutral focus:bg-primary focus:text-success",
|
|
36
|
+
"dark:text-white dark:bg-gray dark:hover:bg-success"
|
|
37
|
+
);
|
|
38
|
+
break;
|
|
39
|
+
case "warning":
|
|
40
|
+
classNames.push(
|
|
41
|
+
"border-warning text-primary bg-neutral focus:bg-primary focus:text-warning",
|
|
42
|
+
"dark:text-white dark:bg-gray dark:hover:bg-warning"
|
|
43
|
+
);
|
|
44
|
+
break;
|
|
45
|
+
case "danger":
|
|
46
|
+
classNames.push(
|
|
47
|
+
"border-danger text-primary bg-neutral focus:bg-primary focus:text-danger",
|
|
48
|
+
"dark:text-white dark:bg-gray dark:hover:bg-danger"
|
|
49
|
+
);
|
|
50
|
+
break;
|
|
51
|
+
case "info":
|
|
52
|
+
classNames.push(
|
|
53
|
+
"border-info text-primary bg-neutral focus:bg-primary focus:text-info",
|
|
54
|
+
"dark:text-white dark:bg-gray dark:hover:bg-info"
|
|
55
|
+
);
|
|
56
|
+
break;
|
|
57
|
+
case "blue":
|
|
58
|
+
classNames.push(
|
|
59
|
+
"border-blue text-primary bg-neutral focus:bg-primary focus:text-blue",
|
|
60
|
+
"dark:text-white dark:bg-gray dark:hover:bg-blue"
|
|
61
|
+
);
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
switch (size) {
|
|
65
|
+
case "xs":
|
|
66
|
+
classNames.push("text-xs py-1 px-2");
|
|
67
|
+
break;
|
|
68
|
+
case "sm":
|
|
69
|
+
classNames.push("text-sm py-1 px-4");
|
|
70
|
+
break;
|
|
71
|
+
case "md":
|
|
72
|
+
classNames.push("text-md py-4 px-6");
|
|
73
|
+
break;
|
|
74
|
+
case "lg":
|
|
75
|
+
classNames.push("text-lg py-5 px-8");
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
if (isActive === true) {
|
|
79
|
+
switch (variant) {
|
|
80
|
+
case "primary":
|
|
81
|
+
classNames.push("bg-primary dark:bg-neutral dark:text-primary");
|
|
82
|
+
break;
|
|
83
|
+
case "success":
|
|
84
|
+
classNames.push("dark:bg-success");
|
|
85
|
+
break;
|
|
86
|
+
case "warning":
|
|
87
|
+
classNames.push("dark:bg-warning");
|
|
88
|
+
break;
|
|
89
|
+
case "danger":
|
|
90
|
+
classNames.push("dark:bg-danger");
|
|
91
|
+
break;
|
|
92
|
+
case "info":
|
|
93
|
+
classNames.push("dark:bg-info");
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
if (disabled) {
|
|
98
|
+
classNames.push(
|
|
99
|
+
"cursor-not-allowed hover:bg-neutral dark:hover:bg-neutral opacity-50"
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
if (className) {
|
|
103
|
+
classNames.push(className);
|
|
104
|
+
}
|
|
105
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
106
|
+
"button",
|
|
107
|
+
{
|
|
108
|
+
type,
|
|
109
|
+
className: classNames.join(" "),
|
|
110
|
+
onClick: () => {
|
|
111
|
+
if (isActive === true) {
|
|
112
|
+
onClick?.();
|
|
113
|
+
} else {
|
|
114
|
+
onClick?.(id);
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
disabled,
|
|
118
|
+
children: [
|
|
119
|
+
children || label,
|
|
120
|
+
isActive === true && /* @__PURE__ */ jsxRuntime.jsx(
|
|
121
|
+
"svg",
|
|
122
|
+
{
|
|
123
|
+
className: "w-4 h-4 ml-1",
|
|
124
|
+
fill: "none",
|
|
125
|
+
stroke: "currentColor",
|
|
126
|
+
viewBox: "0 0 24 24",
|
|
127
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
128
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
129
|
+
"path",
|
|
130
|
+
{
|
|
131
|
+
strokeLinecap: "round",
|
|
132
|
+
strokeLinejoin: "round",
|
|
133
|
+
strokeWidth: 2,
|
|
134
|
+
d: "M6 18L18 6M6 6l12 12"
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
};
|
|
143
|
+
var ButtonTransparent = ({
|
|
144
|
+
variant,
|
|
145
|
+
children,
|
|
146
|
+
onClick,
|
|
147
|
+
className = "",
|
|
148
|
+
type = "button",
|
|
149
|
+
disabled = false
|
|
150
|
+
}) => {
|
|
151
|
+
const classNames = [
|
|
152
|
+
"rounded-[7px] font-sans border transition-colors leading-none"
|
|
153
|
+
];
|
|
154
|
+
const spacings = "py-1 px-4";
|
|
155
|
+
const text = "text-sm text-primary focus:text-white dark:text-white";
|
|
156
|
+
const backgroundColor = "bg-transparent";
|
|
157
|
+
classNames.push(spacings, text, backgroundColor);
|
|
158
|
+
switch (variant) {
|
|
159
|
+
case "success":
|
|
160
|
+
classNames.push(
|
|
161
|
+
"text-primary hover:bg-success focus:bg-primary focus:text-success border-success",
|
|
162
|
+
"dark:text-white dark:hover:bg-success"
|
|
163
|
+
);
|
|
164
|
+
break;
|
|
165
|
+
case "warning":
|
|
166
|
+
classNames.push(
|
|
167
|
+
"text-primary hover:bg-warning focus:bg-primary focus:text-warning border-warning",
|
|
168
|
+
"dark:text-white dark:hover:bg-warning"
|
|
169
|
+
);
|
|
170
|
+
break;
|
|
171
|
+
case "danger":
|
|
172
|
+
classNames.push(
|
|
173
|
+
"text-primary hover:bg-danger focus:bg-primary focus:text-danger border-danger",
|
|
174
|
+
"dark:text-white dark:hover:bg-danger"
|
|
175
|
+
);
|
|
176
|
+
break;
|
|
177
|
+
case "info":
|
|
178
|
+
classNames.push(
|
|
179
|
+
"text-primary hover:bg-info focus:bg-primary focus:text-info border-info",
|
|
180
|
+
"dark:text-white dark:hover:bg-info"
|
|
181
|
+
);
|
|
182
|
+
break;
|
|
183
|
+
case "blue":
|
|
184
|
+
classNames.push(
|
|
185
|
+
"text-primary hover:bg-blue focus:bg-primary focus:text-blue border-blue",
|
|
186
|
+
"dark:text-white dark:hover:bg-blue"
|
|
187
|
+
);
|
|
188
|
+
break;
|
|
189
|
+
}
|
|
190
|
+
if (disabled) {
|
|
191
|
+
classNames.push("cursor-not-allowed opacity-50");
|
|
192
|
+
}
|
|
193
|
+
if (className) {
|
|
194
|
+
classNames.push(className);
|
|
195
|
+
}
|
|
196
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
197
|
+
"button",
|
|
198
|
+
{
|
|
199
|
+
type,
|
|
200
|
+
onClick,
|
|
201
|
+
className: classNames.join(" "),
|
|
202
|
+
disabled,
|
|
203
|
+
children
|
|
204
|
+
}
|
|
205
|
+
);
|
|
206
|
+
};
|
|
207
|
+
var GradientButton = ({
|
|
208
|
+
children,
|
|
209
|
+
onClick,
|
|
210
|
+
size = "md",
|
|
211
|
+
disabled = false,
|
|
212
|
+
className = "",
|
|
213
|
+
type = "button"
|
|
214
|
+
}) => {
|
|
215
|
+
const innerClassNames = "bg-darkgray rounded-sm text-white w-full h-full";
|
|
216
|
+
let paddings = "py-4 px-6";
|
|
217
|
+
switch (size) {
|
|
218
|
+
case "sm":
|
|
219
|
+
paddings = "py-2 px-4";
|
|
220
|
+
break;
|
|
221
|
+
case "md":
|
|
222
|
+
paddings = "py-4 px-6";
|
|
223
|
+
break;
|
|
224
|
+
case "lg":
|
|
225
|
+
paddings = "py-5 px-8";
|
|
226
|
+
break;
|
|
227
|
+
}
|
|
228
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
229
|
+
"div",
|
|
230
|
+
{
|
|
231
|
+
onClick: disabled ? void 0 : onClick,
|
|
232
|
+
className: `overflow-hidden rounded-smb bg-gradient p-px h-full cursor-pointer ${disabled ? "grayscale cursor-not-allowed" : ""} ${className}`,
|
|
233
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
234
|
+
"button",
|
|
235
|
+
{
|
|
236
|
+
type,
|
|
237
|
+
disabled,
|
|
238
|
+
className: [innerClassNames, paddings].join(" "),
|
|
239
|
+
children
|
|
240
|
+
}
|
|
241
|
+
)
|
|
242
|
+
}
|
|
243
|
+
);
|
|
244
|
+
};
|
|
245
|
+
var RadioButtons = ({
|
|
246
|
+
items,
|
|
247
|
+
onChange,
|
|
248
|
+
size = "md",
|
|
249
|
+
className = ""
|
|
250
|
+
}) => {
|
|
251
|
+
const [selectedButton, setSelectedButton] = react.useState();
|
|
252
|
+
const onButtonClick = (id) => {
|
|
253
|
+
setSelectedButton(id);
|
|
254
|
+
onChange(id ?? "");
|
|
255
|
+
};
|
|
256
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex flex-wrap gap-2 ${className}`, children: items.map((item) => /* @__PURE__ */ react.createElement(
|
|
257
|
+
Button,
|
|
258
|
+
{
|
|
259
|
+
...item,
|
|
260
|
+
size,
|
|
261
|
+
key: item.id,
|
|
262
|
+
isActive: selectedButton === item.id,
|
|
263
|
+
onClick: onButtonClick
|
|
264
|
+
}
|
|
265
|
+
)) });
|
|
266
|
+
};
|
|
267
|
+
var Input = ({
|
|
268
|
+
name,
|
|
269
|
+
onChange,
|
|
270
|
+
defaultValue,
|
|
271
|
+
placeholder,
|
|
272
|
+
label,
|
|
273
|
+
variant = "primary",
|
|
274
|
+
type = "text",
|
|
275
|
+
required = false,
|
|
276
|
+
pattern,
|
|
277
|
+
title,
|
|
278
|
+
ariaLabel,
|
|
279
|
+
spellCheck,
|
|
280
|
+
disabled = false,
|
|
281
|
+
className = "",
|
|
282
|
+
icon
|
|
283
|
+
}) => {
|
|
284
|
+
const [value, setValue] = react.useState(defaultValue);
|
|
285
|
+
const [isFocused, setIsFocused] = react.useState(false);
|
|
286
|
+
const inputClassNames = ["rounded-sm font-sans z-10 w-full"];
|
|
287
|
+
const textColor = "text-primary";
|
|
288
|
+
const spacings = "py-4 px-5";
|
|
289
|
+
const outline = "outline-none";
|
|
290
|
+
inputClassNames.push(textColor, spacings, outline);
|
|
291
|
+
const inputWrapperClassNames = ["flex rounded-smb p-px w-full"];
|
|
292
|
+
if (isFocused) inputWrapperClassNames.push("bg-gradient");
|
|
293
|
+
switch (variant) {
|
|
294
|
+
case "primary":
|
|
295
|
+
inputClassNames.push("bg-neutral");
|
|
296
|
+
inputWrapperClassNames.push("bg-lightgray");
|
|
297
|
+
break;
|
|
298
|
+
case "secondary":
|
|
299
|
+
inputClassNames.push("bg-neutral dark:bg-gray");
|
|
300
|
+
break;
|
|
301
|
+
case "tertiary":
|
|
302
|
+
inputClassNames.push("bg-neutral dark:bg-primary");
|
|
303
|
+
inputWrapperClassNames.push("bg-lightgray");
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
306
|
+
if (disabled) {
|
|
307
|
+
inputClassNames.push("cursor-not-allowed opacity-50");
|
|
308
|
+
}
|
|
309
|
+
const onInputChange = (event) => {
|
|
310
|
+
setValue(event.target.value);
|
|
311
|
+
onChange?.(event.target.value);
|
|
312
|
+
};
|
|
313
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className, children: /* @__PURE__ */ jsxRuntime.jsxs("label", { htmlFor: name, children: [
|
|
314
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: label }),
|
|
315
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: inputWrapperClassNames.join(" "), children: [
|
|
316
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center pl-4", children: icon }),
|
|
317
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
318
|
+
"input",
|
|
319
|
+
{
|
|
320
|
+
id: name,
|
|
321
|
+
name,
|
|
322
|
+
placeholder,
|
|
323
|
+
value: value || "",
|
|
324
|
+
className: inputClassNames.join(" "),
|
|
325
|
+
autoComplete: "off",
|
|
326
|
+
onChange: onInputChange,
|
|
327
|
+
onFocus: () => setIsFocused(true),
|
|
328
|
+
onBlur: () => setIsFocused(false),
|
|
329
|
+
type,
|
|
330
|
+
required,
|
|
331
|
+
pattern,
|
|
332
|
+
title,
|
|
333
|
+
"aria-label": ariaLabel || label || name,
|
|
334
|
+
spellCheck,
|
|
335
|
+
disabled
|
|
336
|
+
}
|
|
337
|
+
)
|
|
338
|
+
] })
|
|
339
|
+
] }) });
|
|
340
|
+
};
|
|
341
|
+
var Tabs = ({ tabs, onTabClick, className = "" }) => {
|
|
342
|
+
const [activeTab, setActiveTab] = react.useState(
|
|
343
|
+
tabs.find((tab) => tab.isActive)?.value
|
|
344
|
+
);
|
|
345
|
+
const handleTabClick = react.useCallback(
|
|
346
|
+
(value) => {
|
|
347
|
+
setActiveTab(value);
|
|
348
|
+
onTabClick(value);
|
|
349
|
+
},
|
|
350
|
+
[onTabClick]
|
|
351
|
+
);
|
|
352
|
+
react.useEffect(() => {
|
|
353
|
+
if (!activeTab && tabs.length > 0) {
|
|
354
|
+
handleTabClick(tabs[0].value);
|
|
355
|
+
}
|
|
356
|
+
}, [tabs, activeTab, handleTabClick]);
|
|
357
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex gap-4 ${className}`, children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
358
|
+
"button",
|
|
359
|
+
{
|
|
360
|
+
type: "button",
|
|
361
|
+
className: `text-white border-b pb-2 cursor-pointer transition-colors ${activeTab === tab.value ? "border-b-white" : "border-b-transparent hover:border-b-white/50"}`,
|
|
362
|
+
onClick: () => handleTabClick(tab.value),
|
|
363
|
+
children: tab.label
|
|
364
|
+
},
|
|
365
|
+
tab.value
|
|
366
|
+
)) });
|
|
367
|
+
};
|
|
368
|
+
var Spinner = ({ size = "md", className = "" }) => {
|
|
369
|
+
let dimensions = "w-16 h-16";
|
|
370
|
+
let borderWidth = "border-[6px]";
|
|
371
|
+
switch (size) {
|
|
372
|
+
case "sm":
|
|
373
|
+
dimensions = "w-8 h-8";
|
|
374
|
+
borderWidth = "border-[3px]";
|
|
375
|
+
break;
|
|
376
|
+
case "md":
|
|
377
|
+
dimensions = "w-16 h-16";
|
|
378
|
+
borderWidth = "border-[6px]";
|
|
379
|
+
break;
|
|
380
|
+
case "lg":
|
|
381
|
+
dimensions = "w-24 h-24";
|
|
382
|
+
borderWidth = "border-[8px]";
|
|
383
|
+
break;
|
|
384
|
+
}
|
|
385
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
386
|
+
"div",
|
|
387
|
+
{
|
|
388
|
+
className: `inline-block ${dimensions} ${className}`,
|
|
389
|
+
role: "status",
|
|
390
|
+
"aria-label": "Loading",
|
|
391
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
392
|
+
"div",
|
|
393
|
+
{
|
|
394
|
+
className: `${dimensions} ${borderWidth} border-white border-t-transparent border-b-transparent rounded-full animate-spin`
|
|
395
|
+
}
|
|
396
|
+
)
|
|
397
|
+
}
|
|
398
|
+
);
|
|
399
|
+
};
|
|
400
|
+
var SpinnerOverlay = ({
|
|
401
|
+
isVisible,
|
|
402
|
+
size = "lg",
|
|
403
|
+
className = ""
|
|
404
|
+
}) => {
|
|
405
|
+
if (!isVisible) return null;
|
|
406
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
407
|
+
"div",
|
|
408
|
+
{
|
|
409
|
+
className: `fixed inset-0 flex items-center justify-center bg-primary/80 z-50 ${className}`,
|
|
410
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Spinner, { size })
|
|
411
|
+
}
|
|
412
|
+
);
|
|
413
|
+
};
|
|
414
|
+
var BlockQuote = ({ children, className = "" }) => {
|
|
415
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
416
|
+
"blockquote",
|
|
417
|
+
{
|
|
418
|
+
className: `bg-darkgray p-7 my-7 border-2 border-gray rounded-sm font-sans text-neutral dark:text-white ${className}`,
|
|
419
|
+
children
|
|
420
|
+
}
|
|
421
|
+
);
|
|
422
|
+
};
|
|
423
|
+
var Hr = ({ className = "" }) => {
|
|
424
|
+
const defaultClassNames = "border border-gray my-4";
|
|
425
|
+
return /* @__PURE__ */ jsxRuntime.jsx("hr", { className: `${defaultClassNames} ${className}` });
|
|
426
|
+
};
|
|
427
|
+
var variantStyles = {
|
|
428
|
+
info: "border-blue",
|
|
429
|
+
warning: "border-warning",
|
|
430
|
+
success: "border-success",
|
|
431
|
+
danger: "border-danger"
|
|
432
|
+
};
|
|
433
|
+
var ContentBox = ({
|
|
434
|
+
children,
|
|
435
|
+
variant = "info",
|
|
436
|
+
icon,
|
|
437
|
+
className = ""
|
|
438
|
+
}) => {
|
|
439
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
440
|
+
"div",
|
|
441
|
+
{
|
|
442
|
+
className: `relative border rounded-md my-9 ${variantStyles[variant]} ${className}`,
|
|
443
|
+
children: [
|
|
444
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute flex items-center justify-center p-3 -top-6 right-8 bg-primary border border-darkgray", children: icon }),
|
|
445
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "m-7", children })
|
|
446
|
+
]
|
|
447
|
+
}
|
|
448
|
+
);
|
|
449
|
+
};
|
|
450
|
+
var Heart = ({
|
|
451
|
+
variant = "outline",
|
|
452
|
+
className = "",
|
|
453
|
+
size = 23
|
|
454
|
+
}) => {
|
|
455
|
+
if (variant === "filled") {
|
|
456
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
457
|
+
"svg",
|
|
458
|
+
{
|
|
459
|
+
width: size,
|
|
460
|
+
height: size * 19 / 23,
|
|
461
|
+
viewBox: "0 0 23 19",
|
|
462
|
+
fill: "currentColor",
|
|
463
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
464
|
+
className,
|
|
465
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
466
|
+
"path",
|
|
467
|
+
{
|
|
468
|
+
fillRule: "evenodd",
|
|
469
|
+
clipRule: "evenodd",
|
|
470
|
+
d: "M2.49104 2.55471C3.44605 1.6 4.74114 1.06367 6.09152 1.06367C7.44189 1.06367 8.73698 1.6 9.69199 2.55471L11.1841 4.04557L12.6763 2.55471C13.146 2.06832 13.708 1.68035 14.3293 1.41345C14.9506 1.14655 15.6189 1.00607 16.295 1.00019C16.9712 0.994314 17.6418 1.12317 18.2677 1.37923C18.8936 1.63529 19.4622 2.01343 19.9403 2.49159C20.4185 2.96975 20.7966 3.53835 21.0527 4.16421C21.3087 4.79007 21.4376 5.46066 21.4317 6.13686C21.4258 6.81305 21.2853 7.4813 21.0184 8.10262C20.7516 8.72394 20.3636 9.28588 19.8772 9.75565L12.5984 17.0355C11.8174 17.8167 10.5509 17.8167 9.7698 17.0355L2.49104 9.75565C1.53633 8.80065 1 7.50556 1 6.15518C1 4.80481 1.53633 3.50972 2.49104 2.55471Z",
|
|
471
|
+
strokeWidth: "1.5",
|
|
472
|
+
strokeLinejoin: "round"
|
|
473
|
+
}
|
|
474
|
+
)
|
|
475
|
+
}
|
|
476
|
+
);
|
|
477
|
+
}
|
|
478
|
+
if (variant === "gradient") {
|
|
479
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
480
|
+
"svg",
|
|
481
|
+
{
|
|
482
|
+
width: size,
|
|
483
|
+
height: size * 19 / 23,
|
|
484
|
+
viewBox: "0 0 23 19",
|
|
485
|
+
fill: "none",
|
|
486
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
487
|
+
className,
|
|
488
|
+
children: [
|
|
489
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
490
|
+
"path",
|
|
491
|
+
{
|
|
492
|
+
fillRule: "evenodd",
|
|
493
|
+
clipRule: "evenodd",
|
|
494
|
+
d: "M2.49104 2.55471C3.44605 1.6 4.74114 1.06367 6.09152 1.06367C7.44189 1.06367 8.73698 1.6 9.69199 2.55471L11.1841 4.04557L12.6763 2.55471C13.146 2.06832 13.708 1.68035 14.3293 1.41345C14.9506 1.14655 15.6189 1.00607 16.295 1.00019C16.9712 0.994314 17.6418 1.12317 18.2677 1.37923C18.8936 1.63529 19.4622 2.01343 19.9403 2.49159C20.4185 2.96975 20.7966 3.53835 21.0527 4.16421C21.3087 4.79007 21.4376 5.46066 21.4317 6.13686C21.4258 6.81305 21.2853 7.4813 21.0184 8.10262C20.7516 8.72394 20.3636 9.28588 19.8772 9.75565L12.5984 17.0355C11.8174 17.8167 10.5509 17.8167 9.7698 17.0355L2.49104 9.75565C1.53633 8.80065 1 7.50556 1 6.15518C1 4.80481 1.53633 3.50972 2.49104 2.55471Z",
|
|
495
|
+
stroke: "url(#paint0_radial_heart)",
|
|
496
|
+
strokeWidth: "1.5",
|
|
497
|
+
strokeLinejoin: "round"
|
|
498
|
+
}
|
|
499
|
+
),
|
|
500
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
501
|
+
"radialGradient",
|
|
502
|
+
{
|
|
503
|
+
id: "paint0_radial_heart",
|
|
504
|
+
cx: "0",
|
|
505
|
+
cy: "0",
|
|
506
|
+
r: "1",
|
|
507
|
+
gradientUnits: "userSpaceOnUse",
|
|
508
|
+
gradientTransform: "translate(1.01602 16.6647) rotate(-32.7891) scale(24.2852 19.4645)",
|
|
509
|
+
children: [
|
|
510
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#EDA867" }),
|
|
511
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.23", stopColor: "#EDA867" }),
|
|
512
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.59", stopColor: "#CB5065" }),
|
|
513
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.96", stopColor: "#714E8E" })
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
) })
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
522
|
+
"svg",
|
|
523
|
+
{
|
|
524
|
+
width: size,
|
|
525
|
+
height: size * 19 / 23,
|
|
526
|
+
viewBox: "0 0 23 19",
|
|
527
|
+
fill: "none",
|
|
528
|
+
stroke: "currentColor",
|
|
529
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
530
|
+
className,
|
|
531
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
532
|
+
"path",
|
|
533
|
+
{
|
|
534
|
+
fillRule: "evenodd",
|
|
535
|
+
clipRule: "evenodd",
|
|
536
|
+
d: "M2.49104 2.55471C3.44605 1.6 4.74114 1.06367 6.09152 1.06367C7.44189 1.06367 8.73698 1.6 9.69199 2.55471L11.1841 4.04557L12.6763 2.55471C13.146 2.06832 13.708 1.68035 14.3293 1.41345C14.9506 1.14655 15.6189 1.00607 16.295 1.00019C16.9712 0.994314 17.6418 1.12317 18.2677 1.37923C18.8936 1.63529 19.4622 2.01343 19.9403 2.49159C20.4185 2.96975 20.7966 3.53835 21.0527 4.16421C21.3087 4.79007 21.4376 5.46066 21.4317 6.13686C21.4258 6.81305 21.2853 7.4813 21.0184 8.10262C20.7516 8.72394 20.3636 9.28588 19.8772 9.75565L12.5984 17.0355C11.8174 17.8167 10.5509 17.8167 9.7698 17.0355L2.49104 9.75565C1.53633 8.80065 1 7.50556 1 6.15518C1 4.80481 1.53633 3.50972 2.49104 2.55471Z",
|
|
537
|
+
strokeWidth: "1.5",
|
|
538
|
+
strokeLinejoin: "round"
|
|
539
|
+
}
|
|
540
|
+
)
|
|
541
|
+
}
|
|
542
|
+
);
|
|
543
|
+
};
|
|
544
|
+
var Share = ({
|
|
545
|
+
variant = "default",
|
|
546
|
+
className = "",
|
|
547
|
+
size = 20
|
|
548
|
+
}) => {
|
|
549
|
+
if (variant === "gradient") {
|
|
550
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
551
|
+
"svg",
|
|
552
|
+
{
|
|
553
|
+
width: size,
|
|
554
|
+
height: size,
|
|
555
|
+
viewBox: "0 0 20 21",
|
|
556
|
+
fill: "none",
|
|
557
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
558
|
+
className,
|
|
559
|
+
children: [
|
|
560
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
561
|
+
"path",
|
|
562
|
+
{
|
|
563
|
+
d: "M12.8586 3.64258L17.8586 8.64258L12.8586 13.6426",
|
|
564
|
+
stroke: "url(#paint0_radial_share)",
|
|
565
|
+
strokeWidth: "1.5",
|
|
566
|
+
strokeLinecap: "round",
|
|
567
|
+
strokeLinejoin: "round"
|
|
568
|
+
}
|
|
569
|
+
),
|
|
570
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
571
|
+
"path",
|
|
572
|
+
{
|
|
573
|
+
d: "M17.8586 8.64258H6.85864C4.09721 8.64258 1.85864 10.8812 1.85864 13.6426V17.6426",
|
|
574
|
+
stroke: "url(#paint1_radial_share)",
|
|
575
|
+
strokeWidth: "1.5",
|
|
576
|
+
strokeLinecap: "round",
|
|
577
|
+
strokeLinejoin: "round"
|
|
578
|
+
}
|
|
579
|
+
),
|
|
580
|
+
/* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
|
|
581
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
582
|
+
"radialGradient",
|
|
583
|
+
{
|
|
584
|
+
id: "paint0_radial_share",
|
|
585
|
+
cx: "0",
|
|
586
|
+
cy: "0",
|
|
587
|
+
r: "1",
|
|
588
|
+
gradientUnits: "userSpaceOnUse",
|
|
589
|
+
gradientTransform: "translate(12.8716 13.3236) rotate(-72.2554) scale(11.4659 5.85856)",
|
|
590
|
+
children: [
|
|
591
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#EDA867" }),
|
|
592
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.23", stopColor: "#EDA867" }),
|
|
593
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.59", stopColor: "#CB5065" }),
|
|
594
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.96", stopColor: "#714E8E" })
|
|
595
|
+
]
|
|
596
|
+
}
|
|
597
|
+
),
|
|
598
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
599
|
+
"radialGradient",
|
|
600
|
+
{
|
|
601
|
+
id: "paint1_radial_share",
|
|
602
|
+
cx: "0",
|
|
603
|
+
cy: "0",
|
|
604
|
+
r: "1",
|
|
605
|
+
gradientUnits: "userSpaceOnUse",
|
|
606
|
+
gradientTransform: "translate(1.87434 17.2831) rotate(-52.5553) scale(19.0816 18.8095)",
|
|
607
|
+
children: [
|
|
608
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#EDA867" }),
|
|
609
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.23", stopColor: "#EDA867" }),
|
|
610
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.59", stopColor: "#CB5065" }),
|
|
611
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.96", stopColor: "#714E8E" })
|
|
612
|
+
]
|
|
613
|
+
}
|
|
614
|
+
)
|
|
615
|
+
] })
|
|
616
|
+
]
|
|
617
|
+
}
|
|
618
|
+
);
|
|
619
|
+
}
|
|
620
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
621
|
+
"svg",
|
|
622
|
+
{
|
|
623
|
+
width: size,
|
|
624
|
+
height: size,
|
|
625
|
+
viewBox: "0 0 20 21",
|
|
626
|
+
fill: "none",
|
|
627
|
+
stroke: "currentColor",
|
|
628
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
629
|
+
className,
|
|
630
|
+
children: [
|
|
631
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
632
|
+
"path",
|
|
633
|
+
{
|
|
634
|
+
d: "M12.8586 3.64258L17.8586 8.64258L12.8586 13.6426",
|
|
635
|
+
strokeWidth: "1.5",
|
|
636
|
+
strokeLinecap: "round",
|
|
637
|
+
strokeLinejoin: "round"
|
|
638
|
+
}
|
|
639
|
+
),
|
|
640
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
641
|
+
"path",
|
|
642
|
+
{
|
|
643
|
+
d: "M17.8586 8.64258H6.85864C4.09721 8.64258 1.85864 10.8812 1.85864 13.6426V17.6426",
|
|
644
|
+
strokeWidth: "1.5",
|
|
645
|
+
strokeLinecap: "round",
|
|
646
|
+
strokeLinejoin: "round"
|
|
647
|
+
}
|
|
648
|
+
)
|
|
649
|
+
]
|
|
650
|
+
}
|
|
651
|
+
);
|
|
652
|
+
};
|
|
653
|
+
var Search = ({ className = "", size = 20 }) => {
|
|
654
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
655
|
+
"svg",
|
|
656
|
+
{
|
|
657
|
+
width: size,
|
|
658
|
+
height: size,
|
|
659
|
+
viewBox: "0 0 36 36",
|
|
660
|
+
fill: "currentColor",
|
|
661
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
662
|
+
className,
|
|
663
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
664
|
+
"path",
|
|
665
|
+
{
|
|
666
|
+
fillRule: "evenodd",
|
|
667
|
+
clipRule: "evenodd",
|
|
668
|
+
d: "M36.5931 33.842C36.8009 33.6342 36.8009 33.2974 36.5932 33.0896L31.2308 27.7263C32.3896 26.2409 33.0249 24.4266 33.0249 22.5124C33.0249 20.2386 32.1385 18.1029 30.5307 16.4941C28.923 14.8853 26.7863 14 24.5124 14C22.2386 14 20.1009 14.8853 18.4941 16.4941C16.8853 18.1029 16 20.2386 16 22.5124C16 24.7863 16.8853 26.924 18.4941 28.5307C20.1009 30.1395 22.2386 31.0249 24.5124 31.0249C26.4266 31.0249 28.2409 30.3907 29.7263 29.2319L35.0886 34.5942C35.2964 34.8019 35.6332 34.8019 35.841 34.5942L36.5931 33.842ZM29.0261 27.0273C27.8206 28.2328 26.2171 28.8968 24.5124 28.8968C22.8067 28.8968 21.2043 28.2328 19.9988 27.0273C18.7921 25.8216 18.1281 24.2181 18.1281 22.5124C18.1281 20.8078 18.7921 19.2043 19.9988 17.9988C21.2043 16.7921 22.8067 16.1281 24.5124 16.1281C26.2171 16.1281 27.8206 16.7921 29.0261 17.9988C30.2328 19.2043 30.8968 20.8078 30.8968 22.5124C30.8968 24.2181 30.2328 25.8216 29.0261 27.0273Z"
|
|
669
|
+
}
|
|
670
|
+
)
|
|
671
|
+
}
|
|
672
|
+
);
|
|
673
|
+
};
|
|
674
|
+
var Info = ({ className = "", size = 16 }) => {
|
|
675
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
676
|
+
"svg",
|
|
677
|
+
{
|
|
678
|
+
width: size,
|
|
679
|
+
height: size,
|
|
680
|
+
viewBox: "0 0 16 16",
|
|
681
|
+
fill: "none",
|
|
682
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
683
|
+
className,
|
|
684
|
+
children: [
|
|
685
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8", cy: "8", r: "8", fill: "#2084E1" }),
|
|
686
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
687
|
+
"path",
|
|
688
|
+
{
|
|
689
|
+
d: "M8 8V10V12M8 5.03516V5",
|
|
690
|
+
stroke: "#FCFAF7",
|
|
691
|
+
strokeWidth: "2",
|
|
692
|
+
strokeLinecap: "round",
|
|
693
|
+
strokeLinejoin: "round"
|
|
694
|
+
}
|
|
695
|
+
)
|
|
696
|
+
]
|
|
697
|
+
}
|
|
698
|
+
);
|
|
699
|
+
};
|
|
700
|
+
var Warning = ({ className = "", size = 22 }) => {
|
|
701
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
702
|
+
"svg",
|
|
703
|
+
{
|
|
704
|
+
width: size,
|
|
705
|
+
height: size * 23 / 22,
|
|
706
|
+
viewBox: "0 0 22 23",
|
|
707
|
+
fill: "none",
|
|
708
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
709
|
+
className,
|
|
710
|
+
children: [
|
|
711
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
712
|
+
"path",
|
|
713
|
+
{
|
|
714
|
+
d: "M11 1L20.5263 16.8125H1.47372L11 1Z",
|
|
715
|
+
fill: "#EDA867",
|
|
716
|
+
stroke: "#EDA867",
|
|
717
|
+
strokeWidth: "2",
|
|
718
|
+
strokeLinecap: "round",
|
|
719
|
+
strokeLinejoin: "round"
|
|
720
|
+
}
|
|
721
|
+
),
|
|
722
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
723
|
+
"path",
|
|
724
|
+
{
|
|
725
|
+
d: "M10.9268 10.6249L10.9268 7.15992M10.9268 13.1932L10.9268 13.2236",
|
|
726
|
+
stroke: "#FCFAF7",
|
|
727
|
+
strokeWidth: "2",
|
|
728
|
+
strokeLinecap: "round",
|
|
729
|
+
strokeLinejoin: "round"
|
|
730
|
+
}
|
|
731
|
+
)
|
|
732
|
+
]
|
|
733
|
+
}
|
|
734
|
+
);
|
|
735
|
+
};
|
|
736
|
+
var SocialIconWrapper = ({
|
|
737
|
+
children,
|
|
738
|
+
className = ""
|
|
739
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
740
|
+
"div",
|
|
741
|
+
{
|
|
742
|
+
className: `border-2 border-icongray rounded-[7px] w-9 h-9 flex items-center justify-center ${className}`,
|
|
743
|
+
children
|
|
744
|
+
}
|
|
745
|
+
);
|
|
746
|
+
var TwitterIcon = ({
|
|
747
|
+
className = "",
|
|
748
|
+
size = 18,
|
|
749
|
+
withWrapper = true
|
|
750
|
+
}) => {
|
|
751
|
+
const icon = /* @__PURE__ */ jsxRuntime.jsx(
|
|
752
|
+
"svg",
|
|
753
|
+
{
|
|
754
|
+
width: size,
|
|
755
|
+
height: size,
|
|
756
|
+
viewBox: "0 0 24 24",
|
|
757
|
+
fill: "#BFBFBF",
|
|
758
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
759
|
+
className,
|
|
760
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18.244 2.25H21.552L14.325 10.51L22.827 21.75H16.17L10.956 14.933L4.99 21.75H1.68L9.41 12.915L1.254 2.25H8.08L12.793 8.481L18.244 2.25ZM17.083 19.77H18.916L7.084 4.126H5.117L17.083 19.77Z" })
|
|
761
|
+
}
|
|
762
|
+
);
|
|
763
|
+
if (withWrapper) {
|
|
764
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SocialIconWrapper, { children: icon });
|
|
765
|
+
}
|
|
766
|
+
return icon;
|
|
767
|
+
};
|
|
768
|
+
var LinkedInIcon = ({
|
|
769
|
+
className = "",
|
|
770
|
+
size = 18,
|
|
771
|
+
withWrapper = true
|
|
772
|
+
}) => {
|
|
773
|
+
const icon = /* @__PURE__ */ jsxRuntime.jsx(
|
|
774
|
+
"svg",
|
|
775
|
+
{
|
|
776
|
+
width: size,
|
|
777
|
+
height: size,
|
|
778
|
+
viewBox: "0 0 18 18",
|
|
779
|
+
fill: "#BFBFBF",
|
|
780
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
781
|
+
className,
|
|
782
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
783
|
+
"path",
|
|
784
|
+
{
|
|
785
|
+
fillRule: "evenodd",
|
|
786
|
+
clipRule: "evenodd",
|
|
787
|
+
d: "M1.07227 2.59044C1.07227 2.24494 1.21333 1.91359 1.46442 1.66928C1.71552 1.42497 2.05607 1.28772 2.41118 1.28772H15.758C15.934 1.28744 16.1083 1.32094 16.271 1.38629C16.4336 1.45164 16.5814 1.54756 16.7059 1.66857C16.8304 1.78958 16.9292 1.93329 16.9965 2.09148C17.0639 2.24966 17.0985 2.41922 17.0984 2.59044V15.5766C17.0986 15.7478 17.0641 15.9174 16.9968 16.0757C16.9296 16.234 16.8309 16.3778 16.7065 16.4989C16.5821 16.62 16.4343 16.7161 16.2717 16.7816C16.1091 16.8471 15.9348 16.8808 15.7587 16.8807H2.41118C2.23529 16.8807 2.06112 16.847 1.89863 16.7815C1.73614 16.716 1.5885 16.6199 1.46417 16.4989C1.33983 16.3779 1.24122 16.2342 1.17398 16.076C1.10673 15.9179 1.07217 15.7484 1.07227 15.5773V2.59044ZM7.4157 7.2329H9.58578V8.29322C9.89902 7.68368 10.7003 7.13509 11.9045 7.13509C14.213 7.13509 14.76 8.34922 14.76 10.5769V14.7034H12.4239V11.0844C12.4239 9.81567 12.1106 9.09981 11.3151 9.09981C10.2115 9.09981 9.7526 9.87166 9.7526 11.0844V14.7034H7.4157V7.2329ZM3.40917 14.6063H5.74607V7.13509H3.40917V14.6055V14.6063ZM6.08043 4.69833C6.08484 4.89301 6.04923 5.08659 5.97571 5.2677C5.90218 5.44881 5.79221 5.61381 5.65226 5.75301C5.51231 5.89221 5.34519 6.00281 5.16072 6.07832C4.97624 6.15382 4.77812 6.19272 4.57798 6.19272C4.37784 6.19272 4.17972 6.15382 3.99524 6.07832C3.81077 6.00281 3.64365 5.89221 3.5037 5.75301C3.36375 5.61381 3.25378 5.44881 3.18025 5.2677C3.10673 5.08659 3.07112 4.89301 3.07553 4.69833C3.08418 4.3162 3.24627 3.95256 3.52709 3.68527C3.80791 3.41799 4.18514 3.26833 4.57798 3.26833C4.97082 3.26833 5.34805 3.41799 5.62887 3.68527C5.90969 3.95256 6.07178 4.3162 6.08043 4.69833Z"
|
|
788
|
+
}
|
|
789
|
+
)
|
|
790
|
+
}
|
|
791
|
+
);
|
|
792
|
+
if (withWrapper) {
|
|
793
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SocialIconWrapper, { children: icon });
|
|
794
|
+
}
|
|
795
|
+
return icon;
|
|
796
|
+
};
|
|
797
|
+
var InstagramIcon = ({
|
|
798
|
+
className = "",
|
|
799
|
+
size = 18,
|
|
800
|
+
withWrapper = true
|
|
801
|
+
}) => {
|
|
802
|
+
const icon = /* @__PURE__ */ jsxRuntime.jsx(
|
|
803
|
+
"svg",
|
|
804
|
+
{
|
|
805
|
+
width: size,
|
|
806
|
+
height: size,
|
|
807
|
+
viewBox: "0 0 24 24",
|
|
808
|
+
fill: "#BFBFBF",
|
|
809
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
810
|
+
className,
|
|
811
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z" })
|
|
812
|
+
}
|
|
813
|
+
);
|
|
814
|
+
if (withWrapper) {
|
|
815
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SocialIconWrapper, { children: icon });
|
|
816
|
+
}
|
|
817
|
+
return icon;
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
exports.BlockQuote = BlockQuote;
|
|
821
|
+
exports.Button = Button;
|
|
822
|
+
exports.ButtonTransparent = ButtonTransparent;
|
|
823
|
+
exports.ContentBox = ContentBox;
|
|
824
|
+
exports.GradientButton = GradientButton;
|
|
825
|
+
exports.Heart = Heart;
|
|
826
|
+
exports.Hr = Hr;
|
|
827
|
+
exports.Info = Info;
|
|
828
|
+
exports.Input = Input;
|
|
829
|
+
exports.InstagramIcon = InstagramIcon;
|
|
830
|
+
exports.LinkedInIcon = LinkedInIcon;
|
|
831
|
+
exports.RadioButtons = RadioButtons;
|
|
832
|
+
exports.Search = Search;
|
|
833
|
+
exports.Share = Share;
|
|
834
|
+
exports.Spinner = Spinner;
|
|
835
|
+
exports.SpinnerOverlay = SpinnerOverlay;
|
|
836
|
+
exports.Tabs = Tabs;
|
|
837
|
+
exports.TwitterIcon = TwitterIcon;
|
|
838
|
+
exports.Warning = Warning;
|
|
839
|
+
//# sourceMappingURL=index.cjs.map
|
|
840
|
+
//# sourceMappingURL=index.cjs.map
|