@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
package/dist/blocks/index.js
CHANGED
@@ -64,10 +64,10 @@ __export(blocks_exports, {
|
|
64
64
|
module.exports = __toCommonJS(blocks_exports);
|
65
65
|
|
66
66
|
// blocks/auth/AuthButtons.tsx
|
67
|
-
var
|
67
|
+
var import_react4 = __toESM(require("react"));
|
68
68
|
|
69
69
|
// elements/button/Button.tsx
|
70
|
-
var
|
70
|
+
var React4 = __toESM(require("react"));
|
71
71
|
|
72
72
|
// util/index.ts
|
73
73
|
var import_clsx = require("clsx");
|
@@ -79,8 +79,124 @@ function cn(...inputs) {
|
|
79
79
|
// elements/button/Button.tsx
|
80
80
|
var import_class_variance_authority = require("class-variance-authority");
|
81
81
|
|
82
|
-
// elements/
|
82
|
+
// elements/label/Label.tsx
|
83
|
+
var React2 = __toESM(require("react"));
|
84
|
+
|
85
|
+
// elements/tooltip/Tooltip.tsx
|
83
86
|
var import_react = __toESM(require("react"));
|
87
|
+
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
88
|
+
var TooltipContent = import_react.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(
|
89
|
+
TooltipPrimitive.Content,
|
90
|
+
{
|
91
|
+
ref,
|
92
|
+
sideOffset,
|
93
|
+
className: cn(
|
94
|
+
"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",
|
95
|
+
{
|
96
|
+
"hawa-text-xs": size === "small",
|
97
|
+
"hawa-text-xl": size === "large"
|
98
|
+
},
|
99
|
+
className
|
100
|
+
),
|
101
|
+
...props
|
102
|
+
}
|
103
|
+
));
|
104
|
+
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
105
|
+
var TooltipArrow = import_react.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
106
|
+
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
107
|
+
var Tooltip = ({
|
108
|
+
side,
|
109
|
+
size,
|
110
|
+
open,
|
111
|
+
content,
|
112
|
+
children,
|
113
|
+
disabled,
|
114
|
+
defaultOpen,
|
115
|
+
onOpenChange,
|
116
|
+
triggerProps,
|
117
|
+
contentProps,
|
118
|
+
providerProps,
|
119
|
+
delayDuration = 300,
|
120
|
+
...props
|
121
|
+
}) => {
|
122
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
123
|
+
TooltipPrimitive.TooltipProvider,
|
124
|
+
{
|
125
|
+
delayDuration,
|
126
|
+
...providerProps
|
127
|
+
},
|
128
|
+
/* @__PURE__ */ import_react.default.createElement(
|
129
|
+
TooltipPrimitive.Root,
|
130
|
+
{
|
131
|
+
open: !disabled && open,
|
132
|
+
defaultOpen,
|
133
|
+
onOpenChange,
|
134
|
+
...props
|
135
|
+
},
|
136
|
+
/* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
137
|
+
/* @__PURE__ */ import_react.default.createElement(
|
138
|
+
TooltipContent,
|
139
|
+
{
|
140
|
+
size,
|
141
|
+
side,
|
142
|
+
align: "center",
|
143
|
+
...contentProps,
|
144
|
+
style: {
|
145
|
+
...contentProps == null ? void 0 : contentProps.style,
|
146
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
147
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
148
|
+
}
|
149
|
+
},
|
150
|
+
content
|
151
|
+
)
|
152
|
+
)
|
153
|
+
);
|
154
|
+
};
|
155
|
+
|
156
|
+
// elements/label/Label.tsx
|
157
|
+
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(
|
158
|
+
"label",
|
159
|
+
{
|
160
|
+
ref,
|
161
|
+
className: cn(
|
162
|
+
"hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
|
163
|
+
className
|
164
|
+
),
|
165
|
+
...props
|
166
|
+
},
|
167
|
+
children,
|
168
|
+
required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
|
169
|
+
), hint && /* @__PURE__ */ React2.createElement(
|
170
|
+
Tooltip,
|
171
|
+
{
|
172
|
+
content: hint,
|
173
|
+
side: hintSide,
|
174
|
+
triggerProps: {
|
175
|
+
tabIndex: -1,
|
176
|
+
onClick: (event) => event.preventDefault()
|
177
|
+
}
|
178
|
+
},
|
179
|
+
/* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
|
180
|
+
"svg",
|
181
|
+
{
|
182
|
+
xmlns: "http://www.w3.org/2000/svg",
|
183
|
+
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
184
|
+
viewBox: "0 0 24 24",
|
185
|
+
fill: "none",
|
186
|
+
stroke: "currentColor",
|
187
|
+
strokeWidth: "2",
|
188
|
+
strokeLinecap: "round",
|
189
|
+
strokeLinejoin: "round"
|
190
|
+
},
|
191
|
+
/* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
192
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
193
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
|
194
|
+
))
|
195
|
+
)));
|
196
|
+
Label.displayName = "Label";
|
197
|
+
|
198
|
+
// elements/loading/Loading.tsx
|
199
|
+
var import_react2 = __toESM(require("react"));
|
84
200
|
var Loading = ({
|
85
201
|
design = "spinner",
|
86
202
|
size = "normal",
|
@@ -111,7 +227,7 @@ var Loading = ({
|
|
111
227
|
};
|
112
228
|
switch (design.split("-")[0]) {
|
113
229
|
case "dots":
|
114
|
-
return /* @__PURE__ */
|
230
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
115
231
|
"div",
|
116
232
|
{
|
117
233
|
className: cn(
|
@@ -119,7 +235,7 @@ var Loading = ({
|
|
119
235
|
classNames == null ? void 0 : classNames.container
|
120
236
|
)
|
121
237
|
},
|
122
|
-
/* @__PURE__ */
|
238
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
123
239
|
"div",
|
124
240
|
{
|
125
241
|
className: cn(
|
@@ -130,7 +246,7 @@ var Loading = ({
|
|
130
246
|
)
|
131
247
|
}
|
132
248
|
),
|
133
|
-
/* @__PURE__ */
|
249
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
134
250
|
"div",
|
135
251
|
{
|
136
252
|
className: cn(
|
@@ -141,7 +257,7 @@ var Loading = ({
|
|
141
257
|
)
|
142
258
|
}
|
143
259
|
),
|
144
|
-
/* @__PURE__ */
|
260
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
145
261
|
"div",
|
146
262
|
{
|
147
263
|
className: cn(
|
@@ -154,7 +270,7 @@ var Loading = ({
|
|
154
270
|
)
|
155
271
|
);
|
156
272
|
case "square":
|
157
|
-
return /* @__PURE__ */
|
273
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
158
274
|
"svg",
|
159
275
|
{
|
160
276
|
className: cn(
|
@@ -166,7 +282,7 @@ var Loading = ({
|
|
166
282
|
height: "35",
|
167
283
|
width: "35"
|
168
284
|
},
|
169
|
-
/* @__PURE__ */
|
285
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
170
286
|
"rect",
|
171
287
|
{
|
172
288
|
className: "squircle-track",
|
@@ -178,7 +294,7 @@ var Loading = ({
|
|
178
294
|
height: "32.5"
|
179
295
|
}
|
180
296
|
),
|
181
|
-
/* @__PURE__ */
|
297
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
182
298
|
"rect",
|
183
299
|
{
|
184
300
|
className: "square-car",
|
@@ -193,7 +309,7 @@ var Loading = ({
|
|
193
309
|
)
|
194
310
|
);
|
195
311
|
case "squircle":
|
196
|
-
return /* @__PURE__ */
|
312
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
197
313
|
"svg",
|
198
314
|
{
|
199
315
|
x: "0px",
|
@@ -208,7 +324,7 @@ var Loading = ({
|
|
208
324
|
classNames == null ? void 0 : classNames.container
|
209
325
|
)
|
210
326
|
},
|
211
|
-
/* @__PURE__ */
|
327
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
212
328
|
"path",
|
213
329
|
{
|
214
330
|
className: cn("squircle-track", classNames == null ? void 0 : classNames.track),
|
@@ -218,7 +334,7 @@ var Loading = ({
|
|
218
334
|
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"
|
219
335
|
}
|
220
336
|
),
|
221
|
-
/* @__PURE__ */
|
337
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
222
338
|
"path",
|
223
339
|
{
|
224
340
|
className: cn("squircle-car", classNames == null ? void 0 : classNames.car),
|
@@ -230,7 +346,7 @@ var Loading = ({
|
|
230
346
|
)
|
231
347
|
);
|
232
348
|
case "progress":
|
233
|
-
return /* @__PURE__ */
|
349
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
234
350
|
"div",
|
235
351
|
{
|
236
352
|
className: cn(
|
@@ -241,9 +357,9 @@ var Loading = ({
|
|
241
357
|
}
|
242
358
|
);
|
243
359
|
case "orbit":
|
244
|
-
return /* @__PURE__ */
|
360
|
+
return /* @__PURE__ */ import_react2.default.createElement("div", { className: cn("orbit-container", classNames == null ? void 0 : classNames.container) });
|
245
361
|
default:
|
246
|
-
return /* @__PURE__ */
|
362
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
247
363
|
"svg",
|
248
364
|
{
|
249
365
|
viewBox: "0 0 40 40",
|
@@ -255,7 +371,7 @@ var Loading = ({
|
|
255
371
|
classNames == null ? void 0 : classNames.container
|
256
372
|
)
|
257
373
|
},
|
258
|
-
/* @__PURE__ */
|
374
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
259
375
|
"circle",
|
260
376
|
{
|
261
377
|
className: cn(
|
@@ -274,7 +390,7 @@ var Loading = ({
|
|
274
390
|
pathLength: "100"
|
275
391
|
}
|
276
392
|
),
|
277
|
-
/* @__PURE__ */
|
393
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
278
394
|
"circle",
|
279
395
|
{
|
280
396
|
className: cn(
|
@@ -331,9 +447,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
331
447
|
}
|
332
448
|
}
|
333
449
|
);
|
334
|
-
var Button =
|
450
|
+
var Button = React4.forwardRef(
|
335
451
|
({
|
336
452
|
className,
|
453
|
+
label,
|
337
454
|
variant,
|
338
455
|
size,
|
339
456
|
asChild = false,
|
@@ -344,7 +461,7 @@ var Button = React2.forwardRef(
|
|
344
461
|
}, ref) => {
|
345
462
|
const Comp = "button";
|
346
463
|
const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
|
347
|
-
return /* @__PURE__ */
|
464
|
+
return /* @__PURE__ */ React4.createElement("div", { className: "flex flex-col" }, label && /* @__PURE__ */ React4.createElement(Label, { className: "hawa-mb-2" }, label), /* @__PURE__ */ React4.createElement(
|
348
465
|
Comp,
|
349
466
|
{
|
350
467
|
className: cn(
|
@@ -354,7 +471,7 @@ var Button = React2.forwardRef(
|
|
354
471
|
ref,
|
355
472
|
...props
|
356
473
|
},
|
357
|
-
isLoading ? /* @__PURE__ */
|
474
|
+
isLoading ? /* @__PURE__ */ React4.createElement(
|
358
475
|
Loading,
|
359
476
|
{
|
360
477
|
design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
|
@@ -363,15 +480,15 @@ var Button = React2.forwardRef(
|
|
363
480
|
size: size === "sm" || size === "xs" ? "xs" : "button"
|
364
481
|
}
|
365
482
|
) : children
|
366
|
-
);
|
483
|
+
));
|
367
484
|
}
|
368
485
|
);
|
369
486
|
Button.displayName = "Button";
|
370
487
|
|
371
488
|
// elements/logos/Logos.tsx
|
372
|
-
var
|
489
|
+
var import_react3 = __toESM(require("react"));
|
373
490
|
var Logos = {
|
374
|
-
metamask: (props) => /* @__PURE__ */
|
491
|
+
metamask: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
375
492
|
"svg",
|
376
493
|
{
|
377
494
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -382,8 +499,8 @@ var Logos = {
|
|
382
499
|
viewBox: "0 0 318.6 318.6",
|
383
500
|
...props
|
384
501
|
},
|
385
|
-
/* @__PURE__ */
|
386
|
-
/* @__PURE__ */
|
502
|
+
/* @__PURE__ */ import_react3.default.createElement("style", null, ".st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}"),
|
503
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
387
504
|
"path",
|
388
505
|
{
|
389
506
|
fill: "#e2761b",
|
@@ -393,21 +510,21 @@ var Logos = {
|
|
393
510
|
d: "m274.1 35.5-99.5 73.9L193 65.8z"
|
394
511
|
}
|
395
512
|
),
|
396
|
-
/* @__PURE__ */
|
513
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
397
514
|
"path",
|
398
515
|
{
|
399
516
|
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",
|
400
517
|
className: "st1"
|
401
518
|
}
|
402
519
|
),
|
403
|
-
/* @__PURE__ */
|
520
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
404
521
|
"path",
|
405
522
|
{
|
406
523
|
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",
|
407
524
|
className: "st1"
|
408
525
|
}
|
409
526
|
),
|
410
|
-
/* @__PURE__ */
|
527
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
411
528
|
"path",
|
412
529
|
{
|
413
530
|
fill: "#d7c1b3",
|
@@ -417,7 +534,7 @@ var Logos = {
|
|
417
534
|
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"
|
418
535
|
}
|
419
536
|
),
|
420
|
-
/* @__PURE__ */
|
537
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
421
538
|
"path",
|
422
539
|
{
|
423
540
|
fill: "#233447",
|
@@ -427,7 +544,7 @@ var Logos = {
|
|
427
544
|
d: "m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"
|
428
545
|
}
|
429
546
|
),
|
430
|
-
/* @__PURE__ */
|
547
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
431
548
|
"path",
|
432
549
|
{
|
433
550
|
fill: "#cd6116",
|
@@ -437,7 +554,7 @@ var Logos = {
|
|
437
554
|
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"
|
438
555
|
}
|
439
556
|
),
|
440
|
-
/* @__PURE__ */
|
557
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
441
558
|
"path",
|
442
559
|
{
|
443
560
|
fill: "#e4751f",
|
@@ -447,14 +564,14 @@ var Logos = {
|
|
447
564
|
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"
|
448
565
|
}
|
449
566
|
),
|
450
|
-
/* @__PURE__ */
|
567
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
451
568
|
"path",
|
452
569
|
{
|
453
570
|
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",
|
454
571
|
className: "st6"
|
455
572
|
}
|
456
573
|
),
|
457
|
-
/* @__PURE__ */
|
574
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
458
575
|
"path",
|
459
576
|
{
|
460
577
|
fill: "#c0ad9e",
|
@@ -464,7 +581,7 @@ var Logos = {
|
|
464
581
|
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"
|
465
582
|
}
|
466
583
|
),
|
467
|
-
/* @__PURE__ */
|
584
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
468
585
|
"path",
|
469
586
|
{
|
470
587
|
fill: "#161616",
|
@@ -474,7 +591,7 @@ var Logos = {
|
|
474
591
|
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"
|
475
592
|
}
|
476
593
|
),
|
477
|
-
/* @__PURE__ */
|
594
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
478
595
|
"path",
|
479
596
|
{
|
480
597
|
fill: "#763d16",
|
@@ -484,7 +601,7 @@ var Logos = {
|
|
484
601
|
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"
|
485
602
|
}
|
486
603
|
),
|
487
|
-
/* @__PURE__ */
|
604
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
488
605
|
"path",
|
489
606
|
{
|
490
607
|
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",
|
@@ -492,7 +609,7 @@ var Logos = {
|
|
492
609
|
}
|
493
610
|
)
|
494
611
|
),
|
495
|
-
nafath: (props) => /* @__PURE__ */
|
612
|
+
nafath: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
496
613
|
"svg",
|
497
614
|
{
|
498
615
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -503,15 +620,15 @@ var Logos = {
|
|
503
620
|
viewBox: "22.5 44.5 535.6 230.34",
|
504
621
|
...props
|
505
622
|
},
|
506
|
-
/* @__PURE__ */
|
507
|
-
/* @__PURE__ */
|
623
|
+
/* @__PURE__ */ import_react3.default.createElement("style", null, ".st0{fill:#0a9a8f}"),
|
624
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
508
625
|
"path",
|
509
626
|
{
|
510
627
|
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",
|
511
628
|
className: "st0"
|
512
629
|
}
|
513
630
|
),
|
514
|
-
/* @__PURE__ */
|
631
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
515
632
|
"path",
|
516
633
|
{
|
517
634
|
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",
|
@@ -519,7 +636,7 @@ var Logos = {
|
|
519
636
|
}
|
520
637
|
)
|
521
638
|
),
|
522
|
-
hawa: (props) => /* @__PURE__ */
|
639
|
+
hawa: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
523
640
|
"svg",
|
524
641
|
{
|
525
642
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -527,7 +644,7 @@ var Logos = {
|
|
527
644
|
viewBox: "0 0 765 765",
|
528
645
|
...props
|
529
646
|
},
|
530
|
-
/* @__PURE__ */
|
647
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
531
648
|
"path",
|
532
649
|
{
|
533
650
|
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",
|
@@ -535,7 +652,7 @@ var Logos = {
|
|
535
652
|
}
|
536
653
|
)
|
537
654
|
),
|
538
|
-
sikka: (props) => /* @__PURE__ */
|
655
|
+
sikka: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
539
656
|
"svg",
|
540
657
|
{
|
541
658
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -545,11 +662,11 @@ var Logos = {
|
|
545
662
|
fill: "currentColor",
|
546
663
|
...props
|
547
664
|
},
|
548
|
-
/* @__PURE__ */
|
549
|
-
/* @__PURE__ */
|
550
|
-
/* @__PURE__ */
|
665
|
+
/* @__PURE__ */ import_react3.default.createElement("defs", null, /* @__PURE__ */ import_react3.default.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
666
|
+
/* @__PURE__ */ import_react3.default.createElement("clipPath", { id: "b" }, /* @__PURE__ */ import_react3.default.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
667
|
+
/* @__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" })))
|
551
668
|
),
|
552
|
-
mail: (props) => /* @__PURE__ */
|
669
|
+
mail: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
553
670
|
"svg",
|
554
671
|
{
|
555
672
|
stroke: "currentColor",
|
@@ -561,10 +678,10 @@ var Logos = {
|
|
561
678
|
xmlns: "http://www.w3.org/2000/svg",
|
562
679
|
...props
|
563
680
|
},
|
564
|
-
/* @__PURE__ */
|
565
|
-
/* @__PURE__ */
|
681
|
+
/* @__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" }),
|
682
|
+
/* @__PURE__ */ import_react3.default.createElement("polyline", { points: "22,6 12,13 2,6" })
|
566
683
|
),
|
567
|
-
phone: (props) => /* @__PURE__ */
|
684
|
+
phone: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
568
685
|
"svg",
|
569
686
|
{
|
570
687
|
stroke: "currentColor",
|
@@ -575,7 +692,7 @@ var Logos = {
|
|
575
692
|
xmlns: "http://www.w3.org/2000/svg",
|
576
693
|
...props
|
577
694
|
},
|
578
|
-
/* @__PURE__ */
|
695
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
579
696
|
"path",
|
580
697
|
{
|
581
698
|
strokeLinecap: "round",
|
@@ -584,14 +701,14 @@ var Logos = {
|
|
584
701
|
}
|
585
702
|
)
|
586
703
|
),
|
587
|
-
twitter: (props) => /* @__PURE__ */
|
704
|
+
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(
|
588
705
|
"path",
|
589
706
|
{
|
590
707
|
fill: "currentColor",
|
591
708
|
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"
|
592
709
|
}
|
593
710
|
)),
|
594
|
-
instagram: (props) => /* @__PURE__ */
|
711
|
+
instagram: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
595
712
|
"svg",
|
596
713
|
{
|
597
714
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -599,23 +716,23 @@ var Logos = {
|
|
599
716
|
viewBox: "0 0 16 16",
|
600
717
|
...props
|
601
718
|
},
|
602
|
-
/* @__PURE__ */
|
719
|
+
/* @__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" })
|
603
720
|
),
|
604
|
-
microsoft: (props) => /* @__PURE__ */
|
721
|
+
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(
|
605
722
|
"path",
|
606
723
|
{
|
607
724
|
fill: "currentColor",
|
608
725
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
609
726
|
}
|
610
727
|
)),
|
611
|
-
github: (props) => /* @__PURE__ */
|
728
|
+
github: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
612
729
|
"svg",
|
613
730
|
{
|
614
731
|
xmlns: "http://www.w3.org/2000/svg",
|
615
732
|
viewBox: "0 0 438.549 438.549",
|
616
733
|
...props
|
617
734
|
},
|
618
|
-
/* @__PURE__ */
|
735
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
619
736
|
"path",
|
620
737
|
{
|
621
738
|
fill: "currentColor",
|
@@ -623,77 +740,77 @@ var Logos = {
|
|
623
740
|
}
|
624
741
|
)
|
625
742
|
),
|
626
|
-
radix: (props) => /* @__PURE__ */
|
743
|
+
radix: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
627
744
|
"path",
|
628
745
|
{
|
629
746
|
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
630
747
|
fill: "currentcolor"
|
631
748
|
}
|
632
|
-
), /* @__PURE__ */
|
749
|
+
), /* @__PURE__ */ import_react3.default.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ import_react3.default.createElement(
|
633
750
|
"path",
|
634
751
|
{
|
635
752
|
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",
|
636
753
|
fill: "currentcolor"
|
637
754
|
}
|
638
755
|
)),
|
639
|
-
aria: (props) => /* @__PURE__ */
|
640
|
-
npm: (props) => /* @__PURE__ */
|
756
|
+
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" })),
|
757
|
+
npm: (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: "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",
|
644
761
|
fill: "currentColor"
|
645
762
|
}
|
646
763
|
)),
|
647
|
-
yarn: (props) => /* @__PURE__ */
|
764
|
+
yarn: (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 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",
|
651
768
|
fill: "currentColor"
|
652
769
|
}
|
653
770
|
)),
|
654
|
-
pnpm: (props) => /* @__PURE__ */
|
771
|
+
pnpm: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
655
772
|
"path",
|
656
773
|
{
|
657
774
|
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",
|
658
775
|
fill: "currentColor"
|
659
776
|
}
|
660
777
|
)),
|
661
|
-
react: (props) => /* @__PURE__ */
|
778
|
+
react: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
662
779
|
"path",
|
663
780
|
{
|
664
781
|
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",
|
665
782
|
fill: "currentColor"
|
666
783
|
}
|
667
784
|
)),
|
668
|
-
tailwind: (props) => /* @__PURE__ */
|
785
|
+
tailwind: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
669
786
|
"path",
|
670
787
|
{
|
671
788
|
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",
|
672
789
|
fill: "currentColor"
|
673
790
|
}
|
674
791
|
)),
|
675
|
-
google: (props) => /* @__PURE__ */
|
792
|
+
google: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
676
793
|
"path",
|
677
794
|
{
|
678
795
|
fill: "currentColor",
|
679
796
|
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"
|
680
797
|
}
|
681
798
|
)),
|
682
|
-
apple: (props) => /* @__PURE__ */
|
799
|
+
apple: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
683
800
|
"path",
|
684
801
|
{
|
685
802
|
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",
|
686
803
|
fill: "currentColor"
|
687
804
|
}
|
688
805
|
)),
|
689
|
-
paypal: (props) => /* @__PURE__ */
|
806
|
+
paypal: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
690
807
|
"path",
|
691
808
|
{
|
692
809
|
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",
|
693
810
|
fill: "currentColor"
|
694
811
|
}
|
695
812
|
)),
|
696
|
-
spinner: (props) => /* @__PURE__ */
|
813
|
+
spinner: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
697
814
|
"svg",
|
698
815
|
{
|
699
816
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -707,9 +824,9 @@ var Logos = {
|
|
707
824
|
strokeLinejoin: "round",
|
708
825
|
...props
|
709
826
|
},
|
710
|
-
/* @__PURE__ */
|
827
|
+
/* @__PURE__ */ import_react3.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
711
828
|
),
|
712
|
-
whatsapp: (props) => /* @__PURE__ */
|
829
|
+
whatsapp: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
713
830
|
"svg",
|
714
831
|
{
|
715
832
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -717,14 +834,14 @@ var Logos = {
|
|
717
834
|
fill: "currentColor",
|
718
835
|
...props
|
719
836
|
},
|
720
|
-
/* @__PURE__ */
|
837
|
+
/* @__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" })
|
721
838
|
)
|
722
839
|
};
|
723
840
|
|
724
841
|
// blocks/auth/AuthButtons.tsx
|
725
842
|
var AuthButtons = (props) => {
|
726
843
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
727
|
-
return /* @__PURE__ */
|
844
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaMetamask && /* @__PURE__ */ import_react4.default.createElement(
|
728
845
|
Button,
|
729
846
|
{
|
730
847
|
disabled: props.isMetamaskLoading,
|
@@ -732,9 +849,9 @@ var AuthButtons = (props) => {
|
|
732
849
|
variant: "outline",
|
733
850
|
onClick: props.handleMetamask
|
734
851
|
},
|
735
|
-
props.isMetamaskLoading ? /* @__PURE__ */
|
852
|
+
props.isMetamaskLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.metamask, { className: "hawa-h-6" }),
|
736
853
|
(_b = (_a = props.texts) == null ? void 0 : _a.continueWithMetamask) != null ? _b : "Connect Metamask"
|
737
|
-
), props.viaNafath && /* @__PURE__ */
|
854
|
+
), props.viaNafath && /* @__PURE__ */ import_react4.default.createElement(
|
738
855
|
Button,
|
739
856
|
{
|
740
857
|
disabled: props.isNafathLoading,
|
@@ -742,9 +859,9 @@ var AuthButtons = (props) => {
|
|
742
859
|
variant: "outline",
|
743
860
|
onClick: props.handleNafath
|
744
861
|
},
|
745
|
-
props.isNafathLoading ? /* @__PURE__ */
|
862
|
+
props.isNafathLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.nafath, { className: "hawa-h-4" }),
|
746
863
|
(_d = (_c = props.texts) == null ? void 0 : _c.continueWithNafath) != null ? _d : "Continue With Nafath"
|
747
|
-
), props.viaGoogle && /* @__PURE__ */
|
864
|
+
), props.viaGoogle && /* @__PURE__ */ import_react4.default.createElement(
|
748
865
|
Button,
|
749
866
|
{
|
750
867
|
disabled: props.isGoogleLoading,
|
@@ -752,9 +869,9 @@ var AuthButtons = (props) => {
|
|
752
869
|
variant: "outline",
|
753
870
|
onClick: props.handleGoogle
|
754
871
|
},
|
755
|
-
props.isGoogleLoading ? /* @__PURE__ */
|
872
|
+
props.isGoogleLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.google, { className: "hawa-icon" }),
|
756
873
|
(_f = (_e = props.texts) == null ? void 0 : _e.continueWithGoogle) != null ? _f : "Continue With Google"
|
757
|
-
), props.viaGithub && /* @__PURE__ */
|
874
|
+
), props.viaGithub && /* @__PURE__ */ import_react4.default.createElement(
|
758
875
|
Button,
|
759
876
|
{
|
760
877
|
disabled: props.isGithubLoading,
|
@@ -762,9 +879,9 @@ var AuthButtons = (props) => {
|
|
762
879
|
variant: "outline",
|
763
880
|
onClick: props.handleGithub
|
764
881
|
},
|
765
|
-
props.isGithubLoading ? /* @__PURE__ */
|
882
|
+
props.isGithubLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.github, { className: "hawa-icon" }),
|
766
883
|
(_h = (_g = props.texts) == null ? void 0 : _g.continueWithGithub) != null ? _h : "Continue With Github"
|
767
|
-
), props.viaTwitter && /* @__PURE__ */
|
884
|
+
), props.viaTwitter && /* @__PURE__ */ import_react4.default.createElement(
|
768
885
|
Button,
|
769
886
|
{
|
770
887
|
disabled: props.isTwitterLoading,
|
@@ -772,9 +889,9 @@ var AuthButtons = (props) => {
|
|
772
889
|
variant: "outline",
|
773
890
|
onClick: props.handleTwitter
|
774
891
|
},
|
775
|
-
props.isTwitterLoading ? /* @__PURE__ */
|
892
|
+
props.isTwitterLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.twitter, { className: "hawa-icon" }),
|
776
893
|
(_j = (_i = props.texts) == null ? void 0 : _i.continueWithTwitter) != null ? _j : "Continue With Twitter"
|
777
|
-
), props.viaApple && /* @__PURE__ */
|
894
|
+
), props.viaApple && /* @__PURE__ */ import_react4.default.createElement(
|
778
895
|
Button,
|
779
896
|
{
|
780
897
|
disabled: props.isAppleLoading,
|
@@ -782,9 +899,9 @@ var AuthButtons = (props) => {
|
|
782
899
|
variant: "outline",
|
783
900
|
onClick: props.handleApple
|
784
901
|
},
|
785
|
-
props.isAppleLoading ? /* @__PURE__ */
|
902
|
+
props.isAppleLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.apple, { className: "hawa-icon" }),
|
786
903
|
(_l = (_k = props.texts) == null ? void 0 : _k.continueWithApple) != null ? _l : "Continue With Apple"
|
787
|
-
), props.viaMicrosoft && /* @__PURE__ */
|
904
|
+
), props.viaMicrosoft && /* @__PURE__ */ import_react4.default.createElement(
|
788
905
|
Button,
|
789
906
|
{
|
790
907
|
disabled: props.isMicrosoftLoading,
|
@@ -792,9 +909,9 @@ var AuthButtons = (props) => {
|
|
792
909
|
variant: "outline",
|
793
910
|
onClick: props.handleMicrosoft
|
794
911
|
},
|
795
|
-
props.isMicrosoftLoading ? /* @__PURE__ */
|
912
|
+
props.isMicrosoftLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.microsoft, { className: "hawa-icon" }),
|
796
913
|
(_n = (_m = props.texts) == null ? void 0 : _m.continueWithMicrosoft) != null ? _n : "Continue With Microsoft"
|
797
|
-
), props.viaEmail && /* @__PURE__ */
|
914
|
+
), props.viaEmail && /* @__PURE__ */ import_react4.default.createElement(
|
798
915
|
Button,
|
799
916
|
{
|
800
917
|
disabled: props.isEmailLoading,
|
@@ -802,9 +919,9 @@ var AuthButtons = (props) => {
|
|
802
919
|
variant: "outline",
|
803
920
|
onClick: props.handleEmail
|
804
921
|
},
|
805
|
-
props.isEmailLoading ? /* @__PURE__ */
|
922
|
+
props.isEmailLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.mail, { className: "hawa-icon" }),
|
806
923
|
(_p = (_o = props.texts) == null ? void 0 : _o.continueWithEmail) != null ? _p : "Continue With Email"
|
807
|
-
), props.viaPhone && /* @__PURE__ */
|
924
|
+
), props.viaPhone && /* @__PURE__ */ import_react4.default.createElement(
|
808
925
|
Button,
|
809
926
|
{
|
810
927
|
disabled: props.isPhoneLoading,
|
@@ -812,7 +929,7 @@ var AuthButtons = (props) => {
|
|
812
929
|
variant: "outline",
|
813
930
|
onClick: props.handlePhone
|
814
931
|
},
|
815
|
-
props.isPhoneLoading ? /* @__PURE__ */
|
932
|
+
props.isPhoneLoading ? /* @__PURE__ */ import_react4.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react4.default.createElement(Logos.phone, { className: "hawa-icon" }),
|
816
933
|
(_r = (_q = props.texts) == null ? void 0 : _q.continueWithPhone) != null ? _r : "Continue With Phone"
|
817
934
|
));
|
818
935
|
};
|
@@ -826,7 +943,7 @@ var import_libphonenumber_js = require("libphonenumber-js");
|
|
826
943
|
var z = __toESM(require("zod"));
|
827
944
|
|
828
945
|
// elements/alert/Alert.tsx
|
829
|
-
var
|
946
|
+
var import_react5 = __toESM(require("react"));
|
830
947
|
var Alert = ({
|
831
948
|
direction = "ltr",
|
832
949
|
severity = "none",
|
@@ -835,9 +952,9 @@ var Alert = ({
|
|
835
952
|
className,
|
836
953
|
...props
|
837
954
|
}) => {
|
838
|
-
const alertRef = (0,
|
839
|
-
const [closed, setClosed] = (0,
|
840
|
-
(0,
|
955
|
+
const alertRef = (0, import_react5.useRef)(null);
|
956
|
+
const [closed, setClosed] = (0, import_react5.useState)(false);
|
957
|
+
(0, import_react5.useEffect)(() => {
|
841
958
|
if (duration) {
|
842
959
|
const timeoutHide = setTimeout(() => {
|
843
960
|
setClosed(true);
|
@@ -872,7 +989,7 @@ var Alert = ({
|
|
872
989
|
hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
|
873
990
|
oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
|
874
991
|
};
|
875
|
-
return /* @__PURE__ */
|
992
|
+
return /* @__PURE__ */ import_react5.default.createElement("div", { ref: alertRef }, /* @__PURE__ */ import_react5.default.createElement(
|
876
993
|
"div",
|
877
994
|
{
|
878
995
|
"data-testid": "alert",
|
@@ -886,13 +1003,13 @@ var Alert = ({
|
|
886
1003
|
className
|
887
1004
|
)
|
888
1005
|
},
|
889
|
-
/* @__PURE__ */
|
1006
|
+
/* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ import_react5.default.createElement(
|
890
1007
|
"div",
|
891
1008
|
{
|
892
1009
|
className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
|
893
1010
|
},
|
894
1011
|
icon
|
895
|
-
), /* @__PURE__ */
|
1012
|
+
), /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react5.default.createElement(
|
896
1013
|
"span",
|
897
1014
|
{
|
898
1015
|
className: cn(
|
@@ -901,7 +1018,7 @@ var Alert = ({
|
|
901
1018
|
)
|
902
1019
|
},
|
903
1020
|
props.title
|
904
|
-
), /* @__PURE__ */
|
1021
|
+
), /* @__PURE__ */ import_react5.default.createElement(
|
905
1022
|
"span",
|
906
1023
|
{
|
907
1024
|
className: cn(
|
@@ -910,7 +1027,7 @@ var Alert = ({
|
|
910
1027
|
)
|
911
1028
|
},
|
912
1029
|
props.text
|
913
|
-
), props.actions && /* @__PURE__ */
|
1030
|
+
), 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(
|
914
1031
|
Button,
|
915
1032
|
{
|
916
1033
|
key: index,
|
@@ -919,7 +1036,7 @@ var Alert = ({
|
|
919
1036
|
},
|
920
1037
|
act.label
|
921
1038
|
))))),
|
922
|
-
!props.persistent && /* @__PURE__ */
|
1039
|
+
!props.persistent && /* @__PURE__ */ import_react5.default.createElement(
|
923
1040
|
"button",
|
924
1041
|
{
|
925
1042
|
type: "button",
|
@@ -946,8 +1063,8 @@ var Alert = ({
|
|
946
1063
|
}
|
947
1064
|
}
|
948
1065
|
},
|
949
|
-
/* @__PURE__ */
|
950
|
-
/* @__PURE__ */
|
1066
|
+
/* @__PURE__ */ import_react5.default.createElement("span", { className: "hawa-sr-only" }, "Close"),
|
1067
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
951
1068
|
"svg",
|
952
1069
|
{
|
953
1070
|
"aria-label": "Close Icon",
|
@@ -956,7 +1073,7 @@ var Alert = ({
|
|
956
1073
|
fill: "currentColor",
|
957
1074
|
viewBox: "0 0 20 20"
|
958
1075
|
},
|
959
|
-
/* @__PURE__ */
|
1076
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
960
1077
|
"path",
|
961
1078
|
{
|
962
1079
|
fillRule: "evenodd",
|
@@ -970,8 +1087,8 @@ var Alert = ({
|
|
970
1087
|
};
|
971
1088
|
|
972
1089
|
// elements/card/Card.tsx
|
973
|
-
var
|
974
|
-
var Card =
|
1090
|
+
var React8 = __toESM(require("react"));
|
1091
|
+
var Card = React8.forwardRef(
|
975
1092
|
({
|
976
1093
|
className,
|
977
1094
|
variant = "default",
|
@@ -990,7 +1107,7 @@ var Card = React6.forwardRef(
|
|
990
1107
|
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"
|
991
1108
|
)
|
992
1109
|
};
|
993
|
-
return /* @__PURE__ */
|
1110
|
+
return /* @__PURE__ */ React8.createElement(
|
994
1111
|
"div",
|
995
1112
|
{
|
996
1113
|
ref,
|
@@ -1000,7 +1117,7 @@ var Card = React6.forwardRef(
|
|
1000
1117
|
);
|
1001
1118
|
}
|
1002
1119
|
);
|
1003
|
-
var CardHeader =
|
1120
|
+
var CardHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1004
1121
|
"div",
|
1005
1122
|
{
|
1006
1123
|
ref,
|
@@ -1011,7 +1128,7 @@ var CardHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
1011
1128
|
...props
|
1012
1129
|
}
|
1013
1130
|
));
|
1014
|
-
var CardTitle =
|
1131
|
+
var CardTitle = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1015
1132
|
"h3",
|
1016
1133
|
{
|
1017
1134
|
ref,
|
@@ -1019,7 +1136,7 @@ var CardTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
1019
1136
|
...props
|
1020
1137
|
}
|
1021
1138
|
));
|
1022
|
-
var CardDescription =
|
1139
|
+
var CardDescription = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1023
1140
|
"p",
|
1024
1141
|
{
|
1025
1142
|
ref,
|
@@ -1027,8 +1144,8 @@ var CardDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__
|
|
1027
1144
|
...props
|
1028
1145
|
}
|
1029
1146
|
));
|
1030
|
-
var CardContent =
|
1031
|
-
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */
|
1147
|
+
var CardContent = React8.forwardRef(
|
1148
|
+
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1032
1149
|
"div",
|
1033
1150
|
{
|
1034
1151
|
ref,
|
@@ -1041,7 +1158,7 @@ var CardContent = React6.forwardRef(
|
|
1041
1158
|
}
|
1042
1159
|
)
|
1043
1160
|
);
|
1044
|
-
var CardFooter =
|
1161
|
+
var CardFooter = React8.forwardRef(({ className, noPadding, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1045
1162
|
"div",
|
1046
1163
|
{
|
1047
1164
|
ref,
|
@@ -1063,122 +1180,6 @@ Card.displayName = "Card";
|
|
1063
1180
|
// elements/input/Input.tsx
|
1064
1181
|
var import_react7 = __toESM(require("react"));
|
1065
1182
|
|
1066
|
-
// elements/label/Label.tsx
|
1067
|
-
var React8 = __toESM(require("react"));
|
1068
|
-
|
1069
|
-
// elements/tooltip/Tooltip.tsx
|
1070
|
-
var import_react5 = __toESM(require("react"));
|
1071
|
-
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
1072
|
-
var TooltipContent = import_react5.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(
|
1073
|
-
TooltipPrimitive.Content,
|
1074
|
-
{
|
1075
|
-
ref,
|
1076
|
-
sideOffset,
|
1077
|
-
className: cn(
|
1078
|
-
"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",
|
1079
|
-
{
|
1080
|
-
"hawa-text-xs": size === "small",
|
1081
|
-
"hawa-text-xl": size === "large"
|
1082
|
-
},
|
1083
|
-
className
|
1084
|
-
),
|
1085
|
-
...props
|
1086
|
-
}
|
1087
|
-
));
|
1088
|
-
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
1089
|
-
var TooltipArrow = import_react5.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
1090
|
-
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
1091
|
-
var Tooltip = ({
|
1092
|
-
side,
|
1093
|
-
size,
|
1094
|
-
open,
|
1095
|
-
content,
|
1096
|
-
children,
|
1097
|
-
disabled,
|
1098
|
-
defaultOpen,
|
1099
|
-
onOpenChange,
|
1100
|
-
triggerProps,
|
1101
|
-
contentProps,
|
1102
|
-
providerProps,
|
1103
|
-
delayDuration = 300,
|
1104
|
-
...props
|
1105
|
-
}) => {
|
1106
|
-
return /* @__PURE__ */ import_react5.default.createElement(
|
1107
|
-
TooltipPrimitive.TooltipProvider,
|
1108
|
-
{
|
1109
|
-
delayDuration,
|
1110
|
-
...providerProps
|
1111
|
-
},
|
1112
|
-
/* @__PURE__ */ import_react5.default.createElement(
|
1113
|
-
TooltipPrimitive.Root,
|
1114
|
-
{
|
1115
|
-
open: !disabled && open,
|
1116
|
-
defaultOpen,
|
1117
|
-
onOpenChange,
|
1118
|
-
...props
|
1119
|
-
},
|
1120
|
-
/* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
1121
|
-
/* @__PURE__ */ import_react5.default.createElement(
|
1122
|
-
TooltipContent,
|
1123
|
-
{
|
1124
|
-
size,
|
1125
|
-
side,
|
1126
|
-
align: "center",
|
1127
|
-
...contentProps,
|
1128
|
-
style: {
|
1129
|
-
...contentProps == null ? void 0 : contentProps.style,
|
1130
|
-
maxWidth: "var(--radix-tooltip-content-available-width)",
|
1131
|
-
maxHeight: "var(--radix-tooltip-content-available-height)"
|
1132
|
-
}
|
1133
|
-
},
|
1134
|
-
content
|
1135
|
-
)
|
1136
|
-
)
|
1137
|
-
);
|
1138
|
-
};
|
1139
|
-
|
1140
|
-
// elements/label/Label.tsx
|
1141
|
-
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(
|
1142
|
-
"label",
|
1143
|
-
{
|
1144
|
-
ref,
|
1145
|
-
className: cn(
|
1146
|
-
"hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
|
1147
|
-
className
|
1148
|
-
),
|
1149
|
-
...props
|
1150
|
-
},
|
1151
|
-
children,
|
1152
|
-
required && /* @__PURE__ */ React8.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
|
1153
|
-
), hint && /* @__PURE__ */ React8.createElement(
|
1154
|
-
Tooltip,
|
1155
|
-
{
|
1156
|
-
content: hint,
|
1157
|
-
side: hintSide,
|
1158
|
-
triggerProps: {
|
1159
|
-
tabIndex: -1,
|
1160
|
-
onClick: (event) => event.preventDefault()
|
1161
|
-
}
|
1162
|
-
},
|
1163
|
-
/* @__PURE__ */ React8.createElement("div", null, /* @__PURE__ */ React8.createElement(
|
1164
|
-
"svg",
|
1165
|
-
{
|
1166
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1167
|
-
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
1168
|
-
viewBox: "0 0 24 24",
|
1169
|
-
fill: "none",
|
1170
|
-
stroke: "currentColor",
|
1171
|
-
strokeWidth: "2",
|
1172
|
-
strokeLinecap: "round",
|
1173
|
-
strokeLinejoin: "round"
|
1174
|
-
},
|
1175
|
-
/* @__PURE__ */ React8.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
1176
|
-
/* @__PURE__ */ React8.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
1177
|
-
/* @__PURE__ */ React8.createElement("path", { d: "M12 17h.01" })
|
1178
|
-
))
|
1179
|
-
)));
|
1180
|
-
Label.displayName = "Label";
|
1181
|
-
|
1182
1183
|
// elements/skeleton/Skeleton.tsx
|
1183
1184
|
var import_react6 = __toESM(require("react"));
|
1184
1185
|
function Skeleton({
|