@sikka/hawa 0.32.2-next → 0.33.0-next
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/{Chip-BT2hUlGJ.d.mts → Chip-BtgTAs8x.d.mts} +1 -1
- package/dist/{Chip-Dt7zJ-jZ.d.ts → Chip-DQsP5hFS.d.ts} +1 -1
- package/dist/Label-UbMDLtJF.d.mts +14 -0
- package/dist/Label-UbMDLtJF.d.ts +14 -0
- package/dist/alert/index.js +151 -34
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +148 -31
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +191 -145
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +226 -180
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/backToTop/index.js +147 -30
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +142 -25
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +230 -229
- package/dist/blocks/auth/index.mjs +4 -4
- package/dist/blocks/feedback/index.js +147 -148
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.js +230 -229
- package/dist/blocks/index.mjs +3 -3
- package/dist/blocks/misc/index.js +155 -154
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +174 -173
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/button/index.d.mts +3 -2
- package/dist/button/index.d.ts +3 -2
- package/dist/button/index.js +138 -21
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +138 -21
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.d.mts +15 -0
- package/dist/calendar/index.d.ts +15 -0
- package/dist/calendar/index.js +545 -0
- package/dist/calendar/index.js.map +1 -0
- package/dist/calendar/index.mjs +509 -0
- package/dist/calendar/index.mjs.map +1 -0
- package/dist/{chunk-WFPAI2QC.mjs → chunk-3HJ3JXPA.mjs} +130 -174
- package/dist/{chunk-XRUPXLOK.mjs → chunk-AW5FW5TY.mjs} +1 -1
- package/dist/{chunk-MQWYXMSK.mjs → chunk-CKLK3G32.mjs} +242 -197
- package/dist/{chunk-XZLXGXIA.mjs → chunk-E3WWI4I5.mjs} +1 -1
- package/dist/{chunk-WUMWQIAW.mjs → chunk-FRYGQYUO.mjs} +1 -1
- package/dist/{chunk-S6TZHTWS.mjs → chunk-GEB3LM5A.mjs} +1 -1
- package/dist/{chunk-2QAGLSHC.mjs → chunk-IQEBXGLM.mjs} +1 -1
- package/dist/{chunk-PA3Z7W32.mjs → chunk-OS2UOK5C.mjs} +147 -146
- package/dist/{chunk-3S44N7SB.mjs → chunk-RTGD7N7I.mjs} +1 -1
- package/dist/{chunk-WAVKQ44V.mjs → chunk-UBNCETCU.mjs} +1 -1
- package/dist/codeBlock/index.js +138 -92
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +157 -111
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/commonTypes-CgDwjGvU.d.mts +5 -0
- package/dist/commonTypes-CgDwjGvU.d.ts +5 -0
- package/dist/commonTypes-DZdITB5m.d.mts +4 -0
- package/dist/commonTypes-DZdITB5m.d.ts +4 -0
- package/dist/dataTable/index.d.mts +2 -1
- package/dist/dataTable/index.d.ts +2 -1
- package/dist/dataTable/index.js +177 -174
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +177 -174
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.d.mts +20 -0
- package/dist/datePicker/index.d.ts +20 -0
- package/dist/datePicker/index.js +630 -0
- package/dist/datePicker/index.js.map +1 -0
- package/dist/datePicker/index.mjs +593 -0
- package/dist/datePicker/index.mjs.map +1 -0
- package/dist/destroyableCard/index.d.mts +1 -1
- package/dist/destroyableCard/index.d.ts +1 -1
- package/dist/dialog/index.d.mts +1 -1
- package/dist/dialog/index.d.ts +1 -1
- package/dist/docsLayout/index.js +231 -114
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +222 -105
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.d.mts +1 -6
- package/dist/dropdownMenu/index.d.ts +1 -6
- package/dist/elements/index.d.mts +9 -8
- package/dist/elements/index.d.ts +9 -8
- package/dist/elements/index.js +54 -51
- package/dist/elements/index.mjs +7 -5
- package/dist/fileDropzone/index.js +184 -67
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +176 -59
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/index.css +83 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +54 -51
- package/dist/index.mjs +74 -71
- package/dist/input/index.d.mts +1 -2
- package/dist/input/index.d.ts +1 -2
- package/dist/label/index.d.mts +2 -1
- package/dist/label/index.d.ts +2 -1
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +204 -158
- package/dist/layout/index.mjs +2 -2
- package/dist/phoneInput/index.d.mts +1 -2
- package/dist/phoneInput/index.d.ts +1 -2
- package/dist/progress/index.d.mts +1 -8
- package/dist/progress/index.d.ts +1 -8
- package/dist/radio/index.d.mts +1 -9
- package/dist/radio/index.d.ts +1 -9
- package/dist/scrollArea/index.d.mts +1 -1
- package/dist/scrollArea/index.d.ts +1 -1
- package/dist/separator/index.d.mts +1 -1
- package/dist/separator/index.d.ts +1 -1
- package/dist/signature/index.d.mts +2 -1
- package/dist/signature/index.d.ts +2 -1
- package/dist/simpleTable/index.d.mts +1 -1
- package/dist/simpleTable/index.d.ts +1 -1
- package/dist/sortButton/index.js +145 -28
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +145 -28
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +3 -2
- package/dist/splitButton/index.d.ts +3 -2
- package/dist/splitButton/index.js +145 -28
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +145 -28
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/tabs/index.d.mts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/textarea/index.d.mts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/toast/index.d.mts +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toaster/index.d.mts +22 -4
- package/dist/toaster/index.d.ts +22 -4
- package/package.json +3 -1
- package/dist/commonTypes-CMqMLkhN.d.mts +0 -4
- package/dist/commonTypes-CMqMLkhN.d.ts +0 -4
- package/dist/commonTypes-D_7LV7Ri.d.mts +0 -5
- package/dist/commonTypes-D_7LV7Ri.d.ts +0 -5
@@ -43,10 +43,10 @@ __export(auth_exports, {
|
|
43
43
|
module.exports = __toCommonJS(auth_exports);
|
44
44
|
|
45
45
|
// blocks/auth/AuthButtons.tsx
|
46
|
-
var
|
46
|
+
var import_react4 = __toESM(require("react"));
|
47
47
|
|
48
48
|
// elements/button/Button.tsx
|
49
|
-
var
|
49
|
+
var React4 = __toESM(require("react"));
|
50
50
|
|
51
51
|
// util/index.ts
|
52
52
|
var import_clsx = require("clsx");
|
@@ -58,8 +58,124 @@ function cn(...inputs) {
|
|
58
58
|
// elements/button/Button.tsx
|
59
59
|
var import_class_variance_authority = require("class-variance-authority");
|
60
60
|
|
61
|
-
// elements/
|
61
|
+
// elements/label/Label.tsx
|
62
|
+
var React2 = __toESM(require("react"));
|
63
|
+
|
64
|
+
// elements/tooltip/Tooltip.tsx
|
62
65
|
var import_react = __toESM(require("react"));
|
66
|
+
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
67
|
+
var TooltipContent = import_react.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(
|
68
|
+
TooltipPrimitive.Content,
|
69
|
+
{
|
70
|
+
ref,
|
71
|
+
sideOffset,
|
72
|
+
className: cn(
|
73
|
+
"hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-text-popover-foreground hawa-shadow-md hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95 data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=closed]:hawa-zoom-out-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
74
|
+
{
|
75
|
+
"hawa-text-xs": size === "small",
|
76
|
+
"hawa-text-xl": size === "large"
|
77
|
+
},
|
78
|
+
className
|
79
|
+
),
|
80
|
+
...props
|
81
|
+
}
|
82
|
+
));
|
83
|
+
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
84
|
+
var TooltipArrow = import_react.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
85
|
+
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
86
|
+
var Tooltip = ({
|
87
|
+
side,
|
88
|
+
size,
|
89
|
+
open,
|
90
|
+
content,
|
91
|
+
children,
|
92
|
+
disabled,
|
93
|
+
defaultOpen,
|
94
|
+
onOpenChange,
|
95
|
+
triggerProps,
|
96
|
+
contentProps,
|
97
|
+
providerProps,
|
98
|
+
delayDuration = 300,
|
99
|
+
...props
|
100
|
+
}) => {
|
101
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
102
|
+
TooltipPrimitive.TooltipProvider,
|
103
|
+
{
|
104
|
+
delayDuration,
|
105
|
+
...providerProps
|
106
|
+
},
|
107
|
+
/* @__PURE__ */ import_react.default.createElement(
|
108
|
+
TooltipPrimitive.Root,
|
109
|
+
{
|
110
|
+
open: !disabled && open,
|
111
|
+
defaultOpen,
|
112
|
+
onOpenChange,
|
113
|
+
...props
|
114
|
+
},
|
115
|
+
/* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
116
|
+
/* @__PURE__ */ import_react.default.createElement(
|
117
|
+
TooltipContent,
|
118
|
+
{
|
119
|
+
size,
|
120
|
+
side,
|
121
|
+
align: "center",
|
122
|
+
...contentProps,
|
123
|
+
style: {
|
124
|
+
...contentProps == null ? void 0 : contentProps.style,
|
125
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
126
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
127
|
+
}
|
128
|
+
},
|
129
|
+
content
|
130
|
+
)
|
131
|
+
)
|
132
|
+
);
|
133
|
+
};
|
134
|
+
|
135
|
+
// elements/label/Label.tsx
|
136
|
+
var Label = React2.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React2.createElement(
|
137
|
+
"label",
|
138
|
+
{
|
139
|
+
ref,
|
140
|
+
className: cn(
|
141
|
+
"hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
|
142
|
+
className
|
143
|
+
),
|
144
|
+
...props
|
145
|
+
},
|
146
|
+
children,
|
147
|
+
required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
|
148
|
+
), hint && /* @__PURE__ */ React2.createElement(
|
149
|
+
Tooltip,
|
150
|
+
{
|
151
|
+
content: hint,
|
152
|
+
side: hintSide,
|
153
|
+
triggerProps: {
|
154
|
+
tabIndex: -1,
|
155
|
+
onClick: (event) => event.preventDefault()
|
156
|
+
}
|
157
|
+
},
|
158
|
+
/* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
|
159
|
+
"svg",
|
160
|
+
{
|
161
|
+
xmlns: "http://www.w3.org/2000/svg",
|
162
|
+
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
163
|
+
viewBox: "0 0 24 24",
|
164
|
+
fill: "none",
|
165
|
+
stroke: "currentColor",
|
166
|
+
strokeWidth: "2",
|
167
|
+
strokeLinecap: "round",
|
168
|
+
strokeLinejoin: "round"
|
169
|
+
},
|
170
|
+
/* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
171
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
172
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
|
173
|
+
))
|
174
|
+
)));
|
175
|
+
Label.displayName = "Label";
|
176
|
+
|
177
|
+
// elements/loading/Loading.tsx
|
178
|
+
var import_react2 = __toESM(require("react"));
|
63
179
|
var Loading = ({
|
64
180
|
design = "spinner",
|
65
181
|
size = "normal",
|
@@ -90,7 +206,7 @@ var Loading = ({
|
|
90
206
|
};
|
91
207
|
switch (design.split("-")[0]) {
|
92
208
|
case "dots":
|
93
|
-
return /* @__PURE__ */
|
209
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
94
210
|
"div",
|
95
211
|
{
|
96
212
|
className: cn(
|
@@ -98,7 +214,7 @@ var Loading = ({
|
|
98
214
|
classNames == null ? void 0 : classNames.container
|
99
215
|
)
|
100
216
|
},
|
101
|
-
/* @__PURE__ */
|
217
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
102
218
|
"div",
|
103
219
|
{
|
104
220
|
className: cn(
|
@@ -109,7 +225,7 @@ var Loading = ({
|
|
109
225
|
)
|
110
226
|
}
|
111
227
|
),
|
112
|
-
/* @__PURE__ */
|
228
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
113
229
|
"div",
|
114
230
|
{
|
115
231
|
className: cn(
|
@@ -120,7 +236,7 @@ var Loading = ({
|
|
120
236
|
)
|
121
237
|
}
|
122
238
|
),
|
123
|
-
/* @__PURE__ */
|
239
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
124
240
|
"div",
|
125
241
|
{
|
126
242
|
className: cn(
|
@@ -133,7 +249,7 @@ var Loading = ({
|
|
133
249
|
)
|
134
250
|
);
|
135
251
|
case "square":
|
136
|
-
return /* @__PURE__ */
|
252
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
137
253
|
"svg",
|
138
254
|
{
|
139
255
|
className: cn(
|
@@ -145,7 +261,7 @@ var Loading = ({
|
|
145
261
|
height: "35",
|
146
262
|
width: "35"
|
147
263
|
},
|
148
|
-
/* @__PURE__ */
|
264
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
149
265
|
"rect",
|
150
266
|
{
|
151
267
|
className: "squircle-track",
|
@@ -157,7 +273,7 @@ var Loading = ({
|
|
157
273
|
height: "32.5"
|
158
274
|
}
|
159
275
|
),
|
160
|
-
/* @__PURE__ */
|
276
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
161
277
|
"rect",
|
162
278
|
{
|
163
279
|
className: "square-car",
|
@@ -172,7 +288,7 @@ var Loading = ({
|
|
172
288
|
)
|
173
289
|
);
|
174
290
|
case "squircle":
|
175
|
-
return /* @__PURE__ */
|
291
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
176
292
|
"svg",
|
177
293
|
{
|
178
294
|
x: "0px",
|
@@ -187,7 +303,7 @@ var Loading = ({
|
|
187
303
|
classNames == null ? void 0 : classNames.container
|
188
304
|
)
|
189
305
|
},
|
190
|
-
/* @__PURE__ */
|
306
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
191
307
|
"path",
|
192
308
|
{
|
193
309
|
className: cn("squircle-track", classNames == null ? void 0 : classNames.track),
|
@@ -197,7 +313,7 @@ var Loading = ({
|
|
197
313
|
d: "M0.37 18.5 C0.37 5.772 5.772 0.37 18.5 0.37 S36.63 5.772 36.63 18.5 S31.228 36.63 18.5 36.63 S0.37 31.228 0.37 18.5"
|
198
314
|
}
|
199
315
|
),
|
200
|
-
/* @__PURE__ */
|
316
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
201
317
|
"path",
|
202
318
|
{
|
203
319
|
className: cn("squircle-car", classNames == null ? void 0 : classNames.car),
|
@@ -209,7 +325,7 @@ var Loading = ({
|
|
209
325
|
)
|
210
326
|
);
|
211
327
|
case "progress":
|
212
|
-
return /* @__PURE__ */
|
328
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
213
329
|
"div",
|
214
330
|
{
|
215
331
|
className: cn(
|
@@ -220,9 +336,9 @@ var Loading = ({
|
|
220
336
|
}
|
221
337
|
);
|
222
338
|
case "orbit":
|
223
|
-
return /* @__PURE__ */
|
339
|
+
return /* @__PURE__ */ import_react2.default.createElement("div", { className: cn("orbit-container", classNames == null ? void 0 : classNames.container) });
|
224
340
|
default:
|
225
|
-
return /* @__PURE__ */
|
341
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
226
342
|
"svg",
|
227
343
|
{
|
228
344
|
viewBox: "0 0 40 40",
|
@@ -234,7 +350,7 @@ var Loading = ({
|
|
234
350
|
classNames == null ? void 0 : classNames.container
|
235
351
|
)
|
236
352
|
},
|
237
|
-
/* @__PURE__ */
|
353
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
238
354
|
"circle",
|
239
355
|
{
|
240
356
|
className: cn(
|
@@ -253,7 +369,7 @@ var Loading = ({
|
|
253
369
|
pathLength: "100"
|
254
370
|
}
|
255
371
|
),
|
256
|
-
/* @__PURE__ */
|
372
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
257
373
|
"circle",
|
258
374
|
{
|
259
375
|
className: cn(
|
@@ -310,9 +426,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
310
426
|
}
|
311
427
|
}
|
312
428
|
);
|
313
|
-
var Button =
|
429
|
+
var Button = React4.forwardRef(
|
314
430
|
({
|
315
431
|
className,
|
432
|
+
label,
|
316
433
|
variant,
|
317
434
|
size,
|
318
435
|
asChild = false,
|
@@ -323,7 +440,7 @@ var Button = React2.forwardRef(
|
|
323
440
|
}, ref) => {
|
324
441
|
const Comp = "button";
|
325
442
|
const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
|
326
|
-
return /* @__PURE__ */
|
443
|
+
return /* @__PURE__ */ React4.createElement("div", { className: "flex flex-col" }, label && /* @__PURE__ */ React4.createElement(Label, { className: "hawa-mb-2" }, label), /* @__PURE__ */ React4.createElement(
|
327
444
|
Comp,
|
328
445
|
{
|
329
446
|
className: cn(
|
@@ -333,7 +450,7 @@ var Button = React2.forwardRef(
|
|
333
450
|
ref,
|
334
451
|
...props
|
335
452
|
},
|
336
|
-
isLoading ? /* @__PURE__ */
|
453
|
+
isLoading ? /* @__PURE__ */ React4.createElement(
|
337
454
|
Loading,
|
338
455
|
{
|
339
456
|
design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
|
@@ -342,15 +459,15 @@ var Button = React2.forwardRef(
|
|
342
459
|
size: size === "sm" || size === "xs" ? "xs" : "button"
|
343
460
|
}
|
344
461
|
) : children
|
345
|
-
);
|
462
|
+
));
|
346
463
|
}
|
347
464
|
);
|
348
465
|
Button.displayName = "Button";
|
349
466
|
|
350
467
|
// elements/logos/Logos.tsx
|
351
|
-
var
|
468
|
+
var import_react3 = __toESM(require("react"));
|
352
469
|
var Logos = {
|
353
|
-
metamask: (props) => /* @__PURE__ */
|
470
|
+
metamask: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
354
471
|
"svg",
|
355
472
|
{
|
356
473
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -361,8 +478,8 @@ var Logos = {
|
|
361
478
|
viewBox: "0 0 318.6 318.6",
|
362
479
|
...props
|
363
480
|
},
|
364
|
-
/* @__PURE__ */
|
365
|
-
/* @__PURE__ */
|
481
|
+
/* @__PURE__ */ import_react3.default.createElement("style", null, ".st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}"),
|
482
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
366
483
|
"path",
|
367
484
|
{
|
368
485
|
fill: "#e2761b",
|
@@ -372,21 +489,21 @@ var Logos = {
|
|
372
489
|
d: "m274.1 35.5-99.5 73.9L193 65.8z"
|
373
490
|
}
|
374
491
|
),
|
375
|
-
/* @__PURE__ */
|
492
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
376
493
|
"path",
|
377
494
|
{
|
378
495
|
d: "m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z",
|
379
496
|
className: "st1"
|
380
497
|
}
|
381
498
|
),
|
382
|
-
/* @__PURE__ */
|
499
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
383
500
|
"path",
|
384
501
|
{
|
385
502
|
d: "m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z",
|
386
503
|
className: "st1"
|
387
504
|
}
|
388
505
|
),
|
389
|
-
/* @__PURE__ */
|
506
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
390
507
|
"path",
|
391
508
|
{
|
392
509
|
fill: "#d7c1b3",
|
@@ -396,7 +513,7 @@ var Logos = {
|
|
396
513
|
d: "m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"
|
397
514
|
}
|
398
515
|
),
|
399
|
-
/* @__PURE__ */
|
516
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
400
517
|
"path",
|
401
518
|
{
|
402
519
|
fill: "#233447",
|
@@ -406,7 +523,7 @@ var Logos = {
|
|
406
523
|
d: "m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"
|
407
524
|
}
|
408
525
|
),
|
409
|
-
/* @__PURE__ */
|
526
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
410
527
|
"path",
|
411
528
|
{
|
412
529
|
fill: "#cd6116",
|
@@ -416,7 +533,7 @@ var Logos = {
|
|
416
533
|
d: "m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"
|
417
534
|
}
|
418
535
|
),
|
419
|
-
/* @__PURE__ */
|
536
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
420
537
|
"path",
|
421
538
|
{
|
422
539
|
fill: "#e4751f",
|
@@ -426,14 +543,14 @@ var Logos = {
|
|
426
543
|
d: "m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"
|
427
544
|
}
|
428
545
|
),
|
429
|
-
/* @__PURE__ */
|
546
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
430
547
|
"path",
|
431
548
|
{
|
432
549
|
d: "m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z",
|
433
550
|
className: "st6"
|
434
551
|
}
|
435
552
|
),
|
436
|
-
/* @__PURE__ */
|
553
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
437
554
|
"path",
|
438
555
|
{
|
439
556
|
fill: "#c0ad9e",
|
@@ -443,7 +560,7 @@ var Logos = {
|
|
443
560
|
d: "m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"
|
444
561
|
}
|
445
562
|
),
|
446
|
-
/* @__PURE__ */
|
563
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
447
564
|
"path",
|
448
565
|
{
|
449
566
|
fill: "#161616",
|
@@ -453,7 +570,7 @@ var Logos = {
|
|
453
570
|
d: "m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"
|
454
571
|
}
|
455
572
|
),
|
456
|
-
/* @__PURE__ */
|
573
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
457
574
|
"path",
|
458
575
|
{
|
459
576
|
fill: "#763d16",
|
@@ -463,7 +580,7 @@ var Logos = {
|
|
463
580
|
d: "m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"
|
464
581
|
}
|
465
582
|
),
|
466
|
-
/* @__PURE__ */
|
583
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
467
584
|
"path",
|
468
585
|
{
|
469
586
|
d: "m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h46.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z",
|
@@ -471,7 +588,7 @@ var Logos = {
|
|
471
588
|
}
|
472
589
|
)
|
473
590
|
),
|
474
|
-
nafath: (props) => /* @__PURE__ */
|
591
|
+
nafath: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
475
592
|
"svg",
|
476
593
|
{
|
477
594
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -482,15 +599,15 @@ var Logos = {
|
|
482
599
|
viewBox: "22.5 44.5 535.6 230.34",
|
483
600
|
...props
|
484
601
|
},
|
485
|
-
/* @__PURE__ */
|
486
|
-
/* @__PURE__ */
|
602
|
+
/* @__PURE__ */ import_react3.default.createElement("style", null, ".st0{fill:#0a9a8f}"),
|
603
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
487
604
|
"path",
|
488
605
|
{
|
489
606
|
d: "M426.1 233.8c1.5.2 2.4.4 3.3.4 21.3 0 42.7.1 64-.1 12.7-.1 20-6.8 20.4-19.4.6-21 .6-42 .6-63 0-3.9 1.1-6.1 4.7-7.9 10.9-5.4 21.5-11.2 32.3-16.8 1.3-.7 2.7-1.3 4.5-2.1.1 1.4.3 2.4.3 3.5 0 29.1.5 58.2-.2 87.3-.5 21.8-9.4 39.7-29.1 51-10.1 5.8-21.3 7.9-32.7 7.9-32.1.2-64.1.2-96.2 0-8.2-.1-16.4-1.8-24.6-2.1-5.5-.2-11 1.1-16.6 1.4-9.3.4-18.7.7-28 .8-26.3.1-52.6.3-78.9-.1-7.8-.1-15.9-1.2-23.4-3.4-22.7-7-34.9-23.3-38.8-46.2-.8-4.9-1-9.9-1-14.9-.1-42.5 0-85-.1-127.5 0-3.6.9-5.6 4.2-7.2 11-5.5 21.8-11.3 32.7-16.9 1.3-.7 2.7-1.3 4.8-2.3v149c0 3.7.2 7.5.7 11.2 1.5 11.1 7.6 17.5 18.7 17.7 22.6.4 45.1.1 67.7.1.4 0 .9-.3 1.9-.6-1-2-1.9-3.9-2.9-5.7-16-27.8-11.5-65.2 7-87.2 11-13.2 25.3-20.4 42.3-21.9 17.3-1.5 33.9.9 48.1 12.1 15.4 12.1 23.3 28.3 25.8 47.5 2.6 19.1-.9 36.8-10.8 53.3-.1.3-.2.9-.7 2.1zm-27.4-48.1c-.8-3.2-1.5-9.2-3.9-14.4-4.9-10.6-13.9-14.9-25.5-14.3-10.4.6-17.9 5.9-21.5 15.7-7.4 19.7 1.5 44.7 19.4 55.5 3.2 1.9 5.8 2 8.9-.1 14.2-9.4 21.9-22.5 22.6-42.4zM78.7 155.1c6.8-11.7 13.6-23.2 20.5-35 13.5 8.1 25.5 17.4 35.1 29.4 18.1 22.4 24.3 48.2 21.3 76.5-.7 6.9-2.2 13.9-4.6 20.4-6 16.6-18.8 26.3-35.8 27.1-30.6 1.4-61.2.8-91.9 1.1-.1 0-.3-.1-.8-.4.4-1 .7-2.2 1.2-3.2 5.7-11 11.6-22 17.2-33.1 1.4-2.7 3-3.7 6.1-3.7 15.4.2 30.8-.4 46.2.2 18.1.7 21.6-10.1 21.2-23-.7-23.6-12.1-40.9-31.6-53.4-1.1-.9-2.4-1.8-4.1-2.9zM536.2 44.5c13.4 0 21.9 8.4 21.9 21.7 0 14.4-7.4 22.1-21.5 22.3-13.4.2-22-8.4-22.1-22.1 0-13.3 8.4-21.9 21.7-21.9zM121.1 66.4c0 14.8-7.3 22.3-21.5 22.1-13.5-.2-22-9-21.9-22.5.2-13.2 8.8-21.5 22.3-21.5 13.2.1 21.1 8.3 21.1 21.9z",
|
490
607
|
className: "st0"
|
491
608
|
}
|
492
609
|
),
|
493
|
-
/* @__PURE__ */
|
610
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
494
611
|
"path",
|
495
612
|
{
|
496
613
|
d: "M393 71.1c-.1 14.7-6.8 21.6-21.3 21.6-13.9 0-21.9-8.1-21.9-22.1 0-13.7 8.3-21.6 22.4-21.5 13.3.1 20.8 8.2 20.8 22z",
|
@@ -498,7 +615,7 @@ var Logos = {
|
|
498
615
|
}
|
499
616
|
)
|
500
617
|
),
|
501
|
-
hawa: (props) => /* @__PURE__ */
|
618
|
+
hawa: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
502
619
|
"svg",
|
503
620
|
{
|
504
621
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -506,7 +623,7 @@ var Logos = {
|
|
506
623
|
viewBox: "0 0 765 765",
|
507
624
|
...props
|
508
625
|
},
|
509
|
-
/* @__PURE__ */
|
626
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
510
627
|
"path",
|
511
628
|
{
|
512
629
|
d: "M382.5 0C171.6 0 0 171.6 0 382.5V765h382.5C593.4 765 765 593.4 765 382.5S593.4 0 382.5 0zM281.6 305.7c98 0 177.7 79.7 177.7 177.7 0 98-79.7 177.7-177.7 177.7s-177.7-79.7-177.7-177.7c0-98 79.7-177.7 177.7-177.7zm246 314.5c23.2-41.6 35.6-88.7 35.6-136.7 0-155.3-126.3-281.6-281.6-281.6-48 0-95.1 12.4-136.8 35.6C194.9 156 285 104 382.5 104c153.6 0 278.6 125 278.6 278.6 0 97.3-52 187.5-133.5 237.6z",
|
@@ -514,7 +631,7 @@ var Logos = {
|
|
514
631
|
}
|
515
632
|
)
|
516
633
|
),
|
517
|
-
sikka: (props) => /* @__PURE__ */
|
634
|
+
sikka: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
518
635
|
"svg",
|
519
636
|
{
|
520
637
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -524,11 +641,11 @@ var Logos = {
|
|
524
641
|
fill: "currentColor",
|
525
642
|
...props
|
526
643
|
},
|
527
|
-
/* @__PURE__ */
|
528
|
-
/* @__PURE__ */
|
529
|
-
/* @__PURE__ */
|
644
|
+
/* @__PURE__ */ import_react3.default.createElement("defs", null, /* @__PURE__ */ import_react3.default.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
645
|
+
/* @__PURE__ */ import_react3.default.createElement("clipPath", { id: "b" }, /* @__PURE__ */ import_react3.default.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
646
|
+
/* @__PURE__ */ import_react3.default.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ import_react3.default.createElement("defs", null, /* @__PURE__ */ import_react3.default.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ import_react3.default.createElement("clipPath", { id: "d" }, /* @__PURE__ */ import_react3.default.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ import_react3.default.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ import_react3.default.createElement("path", { d: "M458.3 0h-31.9c-14.6 0-26.5 11.9-26.5 26.3v313.3L136.6 17.1C126 3.9 120.7 0 106.1 0H9.7C.5 0 0 7.9 0 17.1 0 21 1.3 26.3 4 29l288.7 353.6L4 736.1c-2.7 2.7-4 7.9-4 11.8 0 9.2.4 17.1 9.7 17.1h96.4c14.6 0 19.9-3.9 30.5-17.1l263.3-322.5v313.3c0 14.4 11.9 26.3 26.5 26.3h31.9M458.3 765h31.9c14.6 0 26.5-11.8 26.5-26.3V425.5L780 748c10.7 13.2 15.9 17.1 30.5 17.1h96.4c9.2 0 9.7-7.9 9.7-17.1 0-3.9-1.3-9.2-4-11.8L623.8 382.5 912.5 28.9c2.7-2.7 4-7.9 4-11.9 0-9.2-.5-17.1-9.7-17.1h-96.4c-14.6 0-19.9 3.9-30.5 17.1L516.7 339.5V26.3c0-14.4-11.9-26.3-26.5-26.3h-31.9" })))
|
530
647
|
),
|
531
|
-
mail: (props) => /* @__PURE__ */
|
648
|
+
mail: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
532
649
|
"svg",
|
533
650
|
{
|
534
651
|
stroke: "currentColor",
|
@@ -540,10 +657,10 @@ var Logos = {
|
|
540
657
|
xmlns: "http://www.w3.org/2000/svg",
|
541
658
|
...props
|
542
659
|
},
|
543
|
-
/* @__PURE__ */
|
544
|
-
/* @__PURE__ */
|
660
|
+
/* @__PURE__ */ import_react3.default.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
|
661
|
+
/* @__PURE__ */ import_react3.default.createElement("polyline", { points: "22,6 12,13 2,6" })
|
545
662
|
),
|
546
|
-
phone: (props) => /* @__PURE__ */
|
663
|
+
phone: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
547
664
|
"svg",
|
548
665
|
{
|
549
666
|
stroke: "currentColor",
|
@@ -554,7 +671,7 @@ var Logos = {
|
|
554
671
|
xmlns: "http://www.w3.org/2000/svg",
|
555
672
|
...props
|
556
673
|
},
|
557
|
-
/* @__PURE__ */
|
674
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
558
675
|
"path",
|
559
676
|
{
|
560
677
|
strokeLinecap: "round",
|
@@ -563,14 +680,14 @@ var Logos = {
|
|
563
680
|
}
|
564
681
|
)
|
565
682
|
),
|
566
|
-
twitter: (props) => /* @__PURE__ */
|
683
|
+
twitter: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
567
684
|
"path",
|
568
685
|
{
|
569
686
|
fill: "currentColor",
|
570
687
|
d: "M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148a13.98 13.98 0 0 0 10.15 5.144 4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z"
|
571
688
|
}
|
572
689
|
)),
|
573
|
-
instagram: (props) => /* @__PURE__ */
|
690
|
+
instagram: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
574
691
|
"svg",
|
575
692
|
{
|
576
693
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -578,23 +695,23 @@ var Logos = {
|
|
578
695
|
viewBox: "0 0 16 16",
|
579
696
|
...props
|
580
697
|
},
|
581
|
-
/* @__PURE__ */
|
698
|
+
/* @__PURE__ */ import_react3.default.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })
|
582
699
|
),
|
583
|
-
microsoft: (props) => /* @__PURE__ */
|
700
|
+
microsoft: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
584
701
|
"path",
|
585
702
|
{
|
586
703
|
fill: "currentColor",
|
587
704
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
588
705
|
}
|
589
706
|
)),
|
590
|
-
github: (props) => /* @__PURE__ */
|
707
|
+
github: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
591
708
|
"svg",
|
592
709
|
{
|
593
710
|
xmlns: "http://www.w3.org/2000/svg",
|
594
711
|
viewBox: "0 0 438.549 438.549",
|
595
712
|
...props
|
596
713
|
},
|
597
|
-
/* @__PURE__ */
|
714
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
598
715
|
"path",
|
599
716
|
{
|
600
717
|
fill: "currentColor",
|
@@ -602,77 +719,77 @@ var Logos = {
|
|
602
719
|
}
|
603
720
|
)
|
604
721
|
),
|
605
|
-
radix: (props) => /* @__PURE__ */
|
722
|
+
radix: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
606
723
|
"path",
|
607
724
|
{
|
608
725
|
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
609
726
|
fill: "currentcolor"
|
610
727
|
}
|
611
|
-
), /* @__PURE__ */
|
728
|
+
), /* @__PURE__ */ import_react3.default.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ import_react3.default.createElement(
|
612
729
|
"path",
|
613
730
|
{
|
614
731
|
d: "M17 8C19.2091 8 21 6.20914 21 4C21 1.79086 19.2091 0 17 0C14.7909 0 13 1.79086 13 4C13 6.20914 14.7909 8 17 8Z",
|
615
732
|
fill: "currentcolor"
|
616
733
|
}
|
617
734
|
)),
|
618
|
-
aria: (props) => /* @__PURE__ */
|
619
|
-
npm: (props) => /* @__PURE__ */
|
735
|
+
aria: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react3.default.createElement("path", { d: "M13.966 22.624l-1.69-4.281H8.122l3.892-9.144 5.662 13.425zM8.884 1.376H0v21.248zm15.116 0h-8.884L24 22.624Z" })),
|
736
|
+
npm: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
620
737
|
"path",
|
621
738
|
{
|
622
739
|
d: "M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",
|
623
740
|
fill: "currentColor"
|
624
741
|
}
|
625
742
|
)),
|
626
|
-
yarn: (props) => /* @__PURE__ */
|
743
|
+
yarn: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
627
744
|
"path",
|
628
745
|
{
|
629
746
|
d: "M12 0C5.375 0 0 5.375 0 12s5.375 12 12 12 12-5.375 12-12S18.625 0 12 0zm.768 4.105c.183 0 .363.053.525.157.125.083.287.185.755 1.154.31-.088.468-.042.551-.019.204.056.366.19.463.375.477.917.542 2.553.334 3.605-.241 1.232-.755 2.029-1.131 2.576.324.329.778.899 1.117 1.825.278.774.31 1.478.273 2.015a5.51 5.51 0 0 0 .602-.329c.593-.366 1.487-.917 2.553-.931.714-.009 1.269.445 1.353 1.103a1.23 1.23 0 0 1-.945 1.362c-.649.158-.95.278-1.821.843-1.232.797-2.539 1.242-3.012 1.39a1.686 1.686 0 0 1-.704.343c-.737.181-3.266.315-3.466.315h-.046c-.783 0-1.214-.241-1.45-.491-.658.329-1.51.19-2.122-.134a1.078 1.078 0 0 1-.58-1.153 1.243 1.243 0 0 1-.153-.195c-.162-.25-.528-.936-.454-1.946.056-.723.556-1.367.88-1.71a5.522 5.522 0 0 1 .408-2.256c.306-.727.885-1.348 1.32-1.737-.32-.537-.644-1.367-.329-2.21.227-.602.412-.936.82-1.08h-.005c.199-.074.389-.153.486-.259a3.418 3.418 0 0 1 2.298-1.103c.037-.093.079-.185.125-.283.31-.658.639-1.029 1.024-1.168a.94.94 0 0 1 .328-.06zm.006.7c-.507.016-1.001 1.519-1.001 1.519s-1.27-.204-2.266.871c-.199.218-.468.334-.746.44-.079.028-.176.023-.417.672-.371.991.625 2.094.625 2.094s-1.186.839-1.626 1.881c-.486 1.144-.338 2.261-.338 2.261s-.843.732-.899 1.487c-.051.663.139 1.2.343 1.515.227.343.51.176.51.176s-.561.653-.037.931c.477.25 1.283.394 1.71-.037.31-.31.371-1.001.486-1.283.028-.065.12.111.209.199.097.093.264.195.264.195s-.755.324-.445 1.066c.102.246.468.403 1.066.398.222-.005 2.664-.139 3.313-.296.375-.088.505-.283.505-.283s1.566-.431 2.998-1.357c.917-.598 1.293-.76 2.034-.936.612-.148.57-1.098-.241-1.084-.839.009-1.575.44-2.196.825-1.163.718-1.742.672-1.742.672l-.018-.032c-.079-.13.371-1.293-.134-2.678-.547-1.515-1.413-1.881-1.344-1.997.297-.5 1.038-1.297 1.334-2.78.176-.899.13-2.377-.269-3.151-.074-.144-.732.241-.732.241s-.616-1.371-.788-1.483a.271.271 0 0 0-.157-.046z",
|
630
747
|
fill: "currentColor"
|
631
748
|
}
|
632
749
|
)),
|
633
|
-
pnpm: (props) => /* @__PURE__ */
|
750
|
+
pnpm: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
634
751
|
"path",
|
635
752
|
{
|
636
753
|
d: "M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z",
|
637
754
|
fill: "currentColor"
|
638
755
|
}
|
639
756
|
)),
|
640
|
-
react: (props) => /* @__PURE__ */
|
757
|
+
react: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
641
758
|
"path",
|
642
759
|
{
|
643
760
|
d: "M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z",
|
644
761
|
fill: "currentColor"
|
645
762
|
}
|
646
763
|
)),
|
647
|
-
tailwind: (props) => /* @__PURE__ */
|
764
|
+
tailwind: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
648
765
|
"path",
|
649
766
|
{
|
650
767
|
d: "M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z",
|
651
768
|
fill: "currentColor"
|
652
769
|
}
|
653
770
|
)),
|
654
|
-
google: (props) => /* @__PURE__ */
|
771
|
+
google: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
655
772
|
"path",
|
656
773
|
{
|
657
774
|
fill: "currentColor",
|
658
775
|
d: "M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
|
659
776
|
}
|
660
777
|
)),
|
661
|
-
apple: (props) => /* @__PURE__ */
|
778
|
+
apple: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
662
779
|
"path",
|
663
780
|
{
|
664
781
|
d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
|
665
782
|
fill: "currentColor"
|
666
783
|
}
|
667
784
|
)),
|
668
|
-
paypal: (props) => /* @__PURE__ */
|
785
|
+
paypal: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
669
786
|
"path",
|
670
787
|
{
|
671
788
|
d: "M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z",
|
672
789
|
fill: "currentColor"
|
673
790
|
}
|
674
791
|
)),
|
675
|
-
spinner: (props) => /* @__PURE__ */
|
792
|
+
spinner: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
676
793
|
"svg",
|
677
794
|
{
|
678
795
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -686,9 +803,9 @@ var Logos = {
|
|
686
803
|
strokeLinejoin: "round",
|
687
804
|
...props
|
688
805
|
},
|
689
|
-
/* @__PURE__ */
|
806
|
+
/* @__PURE__ */ import_react3.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
690
807
|
),
|
691
|
-
whatsapp: (props) => /* @__PURE__ */
|
808
|
+
whatsapp: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
692
809
|
"svg",
|
693
810
|
{
|
694
811
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -696,14 +813,14 @@ var Logos = {
|
|
696
813
|
fill: "currentColor",
|
697
814
|
...props
|
698
815
|
},
|
699
|
-
/* @__PURE__ */
|
816
|
+
/* @__PURE__ */ import_react3.default.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })
|
700
817
|
)
|
701
818
|
};
|
702
819
|
|
703
820
|
// blocks/auth/AuthButtons.tsx
|
704
821
|
var AuthButtons = (props) => {
|
705
822
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
706
|
-
return /* @__PURE__ */
|
823
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaMetamask && /* @__PURE__ */ import_react4.default.createElement(
|
707
824
|
Button,
|
708
825
|
{
|
709
826
|
disabled: props.isMetamaskLoading,
|
@@ -711,9 +828,9 @@ var AuthButtons = (props) => {
|
|
711
828
|
variant: "outline",
|
712
829
|
onClick: props.handleMetamask
|
713
830
|
},
|
714
|
-
props.isMetamaskLoading ? /* @__PURE__ */
|
831
|
+
props.isMetamaskLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.metamask, { className: "hawa-h-6" }),
|
715
832
|
(_b = (_a = props.texts) == null ? void 0 : _a.continueWithMetamask) != null ? _b : "Connect Metamask"
|
716
|
-
), props.viaNafath && /* @__PURE__ */
|
833
|
+
), props.viaNafath && /* @__PURE__ */ import_react4.default.createElement(
|
717
834
|
Button,
|
718
835
|
{
|
719
836
|
disabled: props.isNafathLoading,
|
@@ -721,9 +838,9 @@ var AuthButtons = (props) => {
|
|
721
838
|
variant: "outline",
|
722
839
|
onClick: props.handleNafath
|
723
840
|
},
|
724
|
-
props.isNafathLoading ? /* @__PURE__ */
|
841
|
+
props.isNafathLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.nafath, { className: "hawa-h-4" }),
|
725
842
|
(_d = (_c = props.texts) == null ? void 0 : _c.continueWithNafath) != null ? _d : "Continue With Nafath"
|
726
|
-
), props.viaGoogle && /* @__PURE__ */
|
843
|
+
), props.viaGoogle && /* @__PURE__ */ import_react4.default.createElement(
|
727
844
|
Button,
|
728
845
|
{
|
729
846
|
disabled: props.isGoogleLoading,
|
@@ -731,9 +848,9 @@ var AuthButtons = (props) => {
|
|
731
848
|
variant: "outline",
|
732
849
|
onClick: props.handleGoogle
|
733
850
|
},
|
734
|
-
props.isGoogleLoading ? /* @__PURE__ */
|
851
|
+
props.isGoogleLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.google, { className: "hawa-icon" }),
|
735
852
|
(_f = (_e = props.texts) == null ? void 0 : _e.continueWithGoogle) != null ? _f : "Continue With Google"
|
736
|
-
), props.viaGithub && /* @__PURE__ */
|
853
|
+
), props.viaGithub && /* @__PURE__ */ import_react4.default.createElement(
|
737
854
|
Button,
|
738
855
|
{
|
739
856
|
disabled: props.isGithubLoading,
|
@@ -741,9 +858,9 @@ var AuthButtons = (props) => {
|
|
741
858
|
variant: "outline",
|
742
859
|
onClick: props.handleGithub
|
743
860
|
},
|
744
|
-
props.isGithubLoading ? /* @__PURE__ */
|
861
|
+
props.isGithubLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.github, { className: "hawa-icon" }),
|
745
862
|
(_h = (_g = props.texts) == null ? void 0 : _g.continueWithGithub) != null ? _h : "Continue With Github"
|
746
|
-
), props.viaTwitter && /* @__PURE__ */
|
863
|
+
), props.viaTwitter && /* @__PURE__ */ import_react4.default.createElement(
|
747
864
|
Button,
|
748
865
|
{
|
749
866
|
disabled: props.isTwitterLoading,
|
@@ -751,9 +868,9 @@ var AuthButtons = (props) => {
|
|
751
868
|
variant: "outline",
|
752
869
|
onClick: props.handleTwitter
|
753
870
|
},
|
754
|
-
props.isTwitterLoading ? /* @__PURE__ */
|
871
|
+
props.isTwitterLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.twitter, { className: "hawa-icon" }),
|
755
872
|
(_j = (_i = props.texts) == null ? void 0 : _i.continueWithTwitter) != null ? _j : "Continue With Twitter"
|
756
|
-
), props.viaApple && /* @__PURE__ */
|
873
|
+
), props.viaApple && /* @__PURE__ */ import_react4.default.createElement(
|
757
874
|
Button,
|
758
875
|
{
|
759
876
|
disabled: props.isAppleLoading,
|
@@ -761,9 +878,9 @@ var AuthButtons = (props) => {
|
|
761
878
|
variant: "outline",
|
762
879
|
onClick: props.handleApple
|
763
880
|
},
|
764
|
-
props.isAppleLoading ? /* @__PURE__ */
|
881
|
+
props.isAppleLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.apple, { className: "hawa-icon" }),
|
765
882
|
(_l = (_k = props.texts) == null ? void 0 : _k.continueWithApple) != null ? _l : "Continue With Apple"
|
766
|
-
), props.viaMicrosoft && /* @__PURE__ */
|
883
|
+
), props.viaMicrosoft && /* @__PURE__ */ import_react4.default.createElement(
|
767
884
|
Button,
|
768
885
|
{
|
769
886
|
disabled: props.isMicrosoftLoading,
|
@@ -771,9 +888,9 @@ var AuthButtons = (props) => {
|
|
771
888
|
variant: "outline",
|
772
889
|
onClick: props.handleMicrosoft
|
773
890
|
},
|
774
|
-
props.isMicrosoftLoading ? /* @__PURE__ */
|
891
|
+
props.isMicrosoftLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.microsoft, { className: "hawa-icon" }),
|
775
892
|
(_n = (_m = props.texts) == null ? void 0 : _m.continueWithMicrosoft) != null ? _n : "Continue With Microsoft"
|
776
|
-
), props.viaEmail && /* @__PURE__ */
|
893
|
+
), props.viaEmail && /* @__PURE__ */ import_react4.default.createElement(
|
777
894
|
Button,
|
778
895
|
{
|
779
896
|
disabled: props.isEmailLoading,
|
@@ -781,9 +898,9 @@ var AuthButtons = (props) => {
|
|
781
898
|
variant: "outline",
|
782
899
|
onClick: props.handleEmail
|
783
900
|
},
|
784
|
-
props.isEmailLoading ? /* @__PURE__ */
|
901
|
+
props.isEmailLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.mail, { className: "hawa-icon" }),
|
785
902
|
(_p = (_o = props.texts) == null ? void 0 : _o.continueWithEmail) != null ? _p : "Continue With Email"
|
786
|
-
), props.viaPhone && /* @__PURE__ */
|
903
|
+
), props.viaPhone && /* @__PURE__ */ import_react4.default.createElement(
|
787
904
|
Button,
|
788
905
|
{
|
789
906
|
disabled: props.isPhoneLoading,
|
@@ -791,7 +908,7 @@ var AuthButtons = (props) => {
|
|
791
908
|
variant: "outline",
|
792
909
|
onClick: props.handlePhone
|
793
910
|
},
|
794
|
-
props.isPhoneLoading ? /* @__PURE__ */
|
911
|
+
props.isPhoneLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.phone, { className: "hawa-icon" }),
|
795
912
|
(_r = (_q = props.texts) == null ? void 0 : _q.continueWithPhone) != null ? _r : "Continue With Phone"
|
796
913
|
));
|
797
914
|
};
|
@@ -805,7 +922,7 @@ var import_libphonenumber_js = require("libphonenumber-js");
|
|
805
922
|
var z = __toESM(require("zod"));
|
806
923
|
|
807
924
|
// elements/alert/Alert.tsx
|
808
|
-
var
|
925
|
+
var import_react5 = __toESM(require("react"));
|
809
926
|
var Alert = ({
|
810
927
|
direction = "ltr",
|
811
928
|
severity = "none",
|
@@ -814,9 +931,9 @@ var Alert = ({
|
|
814
931
|
className,
|
815
932
|
...props
|
816
933
|
}) => {
|
817
|
-
const alertRef = (0,
|
818
|
-
const [closed, setClosed] = (0,
|
819
|
-
(0,
|
934
|
+
const alertRef = (0, import_react5.useRef)(null);
|
935
|
+
const [closed, setClosed] = (0, import_react5.useState)(false);
|
936
|
+
(0, import_react5.useEffect)(() => {
|
820
937
|
if (duration) {
|
821
938
|
const timeoutHide = setTimeout(() => {
|
822
939
|
setClosed(true);
|
@@ -851,7 +968,7 @@ var Alert = ({
|
|
851
968
|
hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
|
852
969
|
oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
|
853
970
|
};
|
854
|
-
return /* @__PURE__ */
|
971
|
+
return /* @__PURE__ */ import_react5.default.createElement("div", { ref: alertRef }, /* @__PURE__ */ import_react5.default.createElement(
|
855
972
|
"div",
|
856
973
|
{
|
857
974
|
"data-testid": "alert",
|
@@ -865,13 +982,13 @@ var Alert = ({
|
|
865
982
|
className
|
866
983
|
)
|
867
984
|
},
|
868
|
-
/* @__PURE__ */
|
985
|
+
/* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ import_react5.default.createElement(
|
869
986
|
"div",
|
870
987
|
{
|
871
988
|
className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
|
872
989
|
},
|
873
990
|
icon
|
874
|
-
), /* @__PURE__ */
|
991
|
+
), /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react5.default.createElement(
|
875
992
|
"span",
|
876
993
|
{
|
877
994
|
className: cn(
|
@@ -880,7 +997,7 @@ var Alert = ({
|
|
880
997
|
)
|
881
998
|
},
|
882
999
|
props.title
|
883
|
-
), /* @__PURE__ */
|
1000
|
+
), /* @__PURE__ */ import_react5.default.createElement(
|
884
1001
|
"span",
|
885
1002
|
{
|
886
1003
|
className: cn(
|
@@ -889,7 +1006,7 @@ var Alert = ({
|
|
889
1006
|
)
|
890
1007
|
},
|
891
1008
|
props.text
|
892
|
-
), props.actions && /* @__PURE__ */
|
1009
|
+
), props.actions && /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ import_react5.default.createElement(
|
893
1010
|
Button,
|
894
1011
|
{
|
895
1012
|
key: index,
|
@@ -898,7 +1015,7 @@ var Alert = ({
|
|
898
1015
|
},
|
899
1016
|
act.label
|
900
1017
|
))))),
|
901
|
-
!props.persistent && /* @__PURE__ */
|
1018
|
+
!props.persistent && /* @__PURE__ */ import_react5.default.createElement(
|
902
1019
|
"button",
|
903
1020
|
{
|
904
1021
|
type: "button",
|
@@ -925,8 +1042,8 @@ var Alert = ({
|
|
925
1042
|
}
|
926
1043
|
}
|
927
1044
|
},
|
928
|
-
/* @__PURE__ */
|
929
|
-
/* @__PURE__ */
|
1045
|
+
/* @__PURE__ */ import_react5.default.createElement("span", { className: "hawa-sr-only" }, "Close"),
|
1046
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
930
1047
|
"svg",
|
931
1048
|
{
|
932
1049
|
"aria-label": "Close Icon",
|
@@ -935,7 +1052,7 @@ var Alert = ({
|
|
935
1052
|
fill: "currentColor",
|
936
1053
|
viewBox: "0 0 20 20"
|
937
1054
|
},
|
938
|
-
/* @__PURE__ */
|
1055
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
939
1056
|
"path",
|
940
1057
|
{
|
941
1058
|
fillRule: "evenodd",
|
@@ -949,8 +1066,8 @@ var Alert = ({
|
|
949
1066
|
};
|
950
1067
|
|
951
1068
|
// elements/card/Card.tsx
|
952
|
-
var
|
953
|
-
var Card =
|
1069
|
+
var React8 = __toESM(require("react"));
|
1070
|
+
var Card = React8.forwardRef(
|
954
1071
|
({
|
955
1072
|
className,
|
956
1073
|
variant = "default",
|
@@ -969,7 +1086,7 @@ var Card = React6.forwardRef(
|
|
969
1086
|
clickable && "hawa-cursor-pointer active:hawa-translate-x-0.5 active:hawa-translate-y-0.5 active:hawa-shadow-color-primary-active active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"
|
970
1087
|
)
|
971
1088
|
};
|
972
|
-
return /* @__PURE__ */
|
1089
|
+
return /* @__PURE__ */ React8.createElement(
|
973
1090
|
"div",
|
974
1091
|
{
|
975
1092
|
ref,
|
@@ -979,7 +1096,7 @@ var Card = React6.forwardRef(
|
|
979
1096
|
);
|
980
1097
|
}
|
981
1098
|
);
|
982
|
-
var CardHeader =
|
1099
|
+
var CardHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
983
1100
|
"div",
|
984
1101
|
{
|
985
1102
|
ref,
|
@@ -990,7 +1107,7 @@ var CardHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
990
1107
|
...props
|
991
1108
|
}
|
992
1109
|
));
|
993
|
-
var CardTitle =
|
1110
|
+
var CardTitle = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
994
1111
|
"h3",
|
995
1112
|
{
|
996
1113
|
ref,
|
@@ -998,7 +1115,7 @@ var CardTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
998
1115
|
...props
|
999
1116
|
}
|
1000
1117
|
));
|
1001
|
-
var CardDescription =
|
1118
|
+
var CardDescription = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1002
1119
|
"p",
|
1003
1120
|
{
|
1004
1121
|
ref,
|
@@ -1006,8 +1123,8 @@ var CardDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__
|
|
1006
1123
|
...props
|
1007
1124
|
}
|
1008
1125
|
));
|
1009
|
-
var CardContent =
|
1010
|
-
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */
|
1126
|
+
var CardContent = React8.forwardRef(
|
1127
|
+
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1011
1128
|
"div",
|
1012
1129
|
{
|
1013
1130
|
ref,
|
@@ -1020,7 +1137,7 @@ var CardContent = React6.forwardRef(
|
|
1020
1137
|
}
|
1021
1138
|
)
|
1022
1139
|
);
|
1023
|
-
var CardFooter =
|
1140
|
+
var CardFooter = React8.forwardRef(({ className, noPadding, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1024
1141
|
"div",
|
1025
1142
|
{
|
1026
1143
|
ref,
|
@@ -1042,122 +1159,6 @@ Card.displayName = "Card";
|
|
1042
1159
|
// elements/input/Input.tsx
|
1043
1160
|
var import_react7 = __toESM(require("react"));
|
1044
1161
|
|
1045
|
-
// elements/label/Label.tsx
|
1046
|
-
var React8 = __toESM(require("react"));
|
1047
|
-
|
1048
|
-
// elements/tooltip/Tooltip.tsx
|
1049
|
-
var import_react5 = __toESM(require("react"));
|
1050
|
-
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
1051
|
-
var TooltipContent = import_react5.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(
|
1052
|
-
TooltipPrimitive.Content,
|
1053
|
-
{
|
1054
|
-
ref,
|
1055
|
-
sideOffset,
|
1056
|
-
className: cn(
|
1057
|
-
"hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-text-popover-foreground hawa-shadow-md hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95 data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=closed]:hawa-zoom-out-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
1058
|
-
{
|
1059
|
-
"hawa-text-xs": size === "small",
|
1060
|
-
"hawa-text-xl": size === "large"
|
1061
|
-
},
|
1062
|
-
className
|
1063
|
-
),
|
1064
|
-
...props
|
1065
|
-
}
|
1066
|
-
));
|
1067
|
-
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
1068
|
-
var TooltipArrow = import_react5.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
1069
|
-
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
1070
|
-
var Tooltip = ({
|
1071
|
-
side,
|
1072
|
-
size,
|
1073
|
-
open,
|
1074
|
-
content,
|
1075
|
-
children,
|
1076
|
-
disabled,
|
1077
|
-
defaultOpen,
|
1078
|
-
onOpenChange,
|
1079
|
-
triggerProps,
|
1080
|
-
contentProps,
|
1081
|
-
providerProps,
|
1082
|
-
delayDuration = 300,
|
1083
|
-
...props
|
1084
|
-
}) => {
|
1085
|
-
return /* @__PURE__ */ import_react5.default.createElement(
|
1086
|
-
TooltipPrimitive.TooltipProvider,
|
1087
|
-
{
|
1088
|
-
delayDuration,
|
1089
|
-
...providerProps
|
1090
|
-
},
|
1091
|
-
/* @__PURE__ */ import_react5.default.createElement(
|
1092
|
-
TooltipPrimitive.Root,
|
1093
|
-
{
|
1094
|
-
open: !disabled && open,
|
1095
|
-
defaultOpen,
|
1096
|
-
onOpenChange,
|
1097
|
-
...props
|
1098
|
-
},
|
1099
|
-
/* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
1100
|
-
/* @__PURE__ */ import_react5.default.createElement(
|
1101
|
-
TooltipContent,
|
1102
|
-
{
|
1103
|
-
size,
|
1104
|
-
side,
|
1105
|
-
align: "center",
|
1106
|
-
...contentProps,
|
1107
|
-
style: {
|
1108
|
-
...contentProps == null ? void 0 : contentProps.style,
|
1109
|
-
maxWidth: "var(--radix-tooltip-content-available-width)",
|
1110
|
-
maxHeight: "var(--radix-tooltip-content-available-height)"
|
1111
|
-
}
|
1112
|
-
},
|
1113
|
-
content
|
1114
|
-
)
|
1115
|
-
)
|
1116
|
-
);
|
1117
|
-
};
|
1118
|
-
|
1119
|
-
// elements/label/Label.tsx
|
1120
|
-
var Label = React8.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React8.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React8.createElement(
|
1121
|
-
"label",
|
1122
|
-
{
|
1123
|
-
ref,
|
1124
|
-
className: cn(
|
1125
|
-
"hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
|
1126
|
-
className
|
1127
|
-
),
|
1128
|
-
...props
|
1129
|
-
},
|
1130
|
-
children,
|
1131
|
-
required && /* @__PURE__ */ React8.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
|
1132
|
-
), hint && /* @__PURE__ */ React8.createElement(
|
1133
|
-
Tooltip,
|
1134
|
-
{
|
1135
|
-
content: hint,
|
1136
|
-
side: hintSide,
|
1137
|
-
triggerProps: {
|
1138
|
-
tabIndex: -1,
|
1139
|
-
onClick: (event) => event.preventDefault()
|
1140
|
-
}
|
1141
|
-
},
|
1142
|
-
/* @__PURE__ */ React8.createElement("div", null, /* @__PURE__ */ React8.createElement(
|
1143
|
-
"svg",
|
1144
|
-
{
|
1145
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1146
|
-
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
1147
|
-
viewBox: "0 0 24 24",
|
1148
|
-
fill: "none",
|
1149
|
-
stroke: "currentColor",
|
1150
|
-
strokeWidth: "2",
|
1151
|
-
strokeLinecap: "round",
|
1152
|
-
strokeLinejoin: "round"
|
1153
|
-
},
|
1154
|
-
/* @__PURE__ */ React8.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
1155
|
-
/* @__PURE__ */ React8.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
1156
|
-
/* @__PURE__ */ React8.createElement("path", { d: "M12 17h.01" })
|
1157
|
-
))
|
1158
|
-
)));
|
1159
|
-
Label.displayName = "Label";
|
1160
|
-
|
1161
1162
|
// elements/skeleton/Skeleton.tsx
|
1162
1163
|
var import_react6 = __toESM(require("react"));
|
1163
1164
|
function Skeleton({
|