@sikka/hawa 0.27.22-next → 0.27.24-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/avatar/index.d.mts +1 -0
- package/dist/avatar/index.d.ts +1 -0
- package/dist/avatar/index.js +2 -1
- package/dist/avatar/index.js.map +1 -1
- package/dist/avatar/index.mjs +2 -1
- package/dist/avatar/index.mjs.map +1 -1
- package/dist/blocks/auth/index.d.mts +29 -3
- package/dist/blocks/auth/index.d.ts +29 -3
- package/dist/blocks/auth/index.js +386 -383
- package/dist/blocks/auth/index.mjs +315 -309
- package/dist/blocks/feedback/index.d.mts +1 -1
- package/dist/blocks/feedback/index.d.ts +1 -1
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.d.mts +28 -2
- package/dist/blocks/index.d.ts +28 -2
- package/dist/blocks/index.js +401 -398
- package/dist/blocks/index.mjs +19 -15
- package/dist/blocks/misc/index.d.mts +1 -1
- package/dist/blocks/misc/index.d.ts +1 -1
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.d.mts +1 -1
- package/dist/blocks/pricing/index.d.ts +1 -1
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/{chunk-V42WPIDL.mjs → chunk-3ZURZ4TW.mjs} +2 -2
- package/dist/{chunk-W5I4VB5Z.mjs → chunk-4F7LNY2V.mjs} +1 -1
- package/dist/{chunk-MMOEFJSP.mjs → chunk-6HOSGMTV.mjs} +1 -1
- package/dist/{chunk-M6XGGAPQ.mjs → chunk-KZCOE6V3.mjs} +1 -1
- package/dist/{chunk-EFWL3FFK.mjs → chunk-N5J4XNGU.mjs} +1 -1
- package/dist/{chunk-DUL6C2S2.mjs → chunk-NK7TELIV.mjs} +1 -1
- package/dist/{chunk-ZOWDRDAM.mjs → chunk-R2NAPFAZ.mjs} +221 -221
- package/dist/{chunk-7QEBDFLT.mjs → chunk-SYZ5JMYJ.mjs} +2 -4
- package/dist/{chunk-7CYXEZDV.mjs → chunk-TIQERSM3.mjs} +1 -1
- package/dist/{chunk-DQHPOUHR.mjs → chunk-ZV3KYZ5G.mjs} +1 -1
- package/dist/elements/index.d.mts +5 -3
- package/dist/elements/index.d.ts +5 -3
- package/dist/elements/index.js +3 -2
- package/dist/elements/index.mjs +5 -4
- package/dist/index.css +3 -0
- package/dist/index.d.mts +54 -26
- package/dist/index.d.ts +54 -26
- package/dist/index.js +21 -15
- package/dist/index.mjs +20 -15
- package/dist/layout/index.mjs +2 -2
- package/dist/phoneInput/index.d.mts +1 -0
- package/dist/phoneInput/index.d.ts +1 -0
- package/dist/phoneInput/index.js +8 -8
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +8 -8
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/{textTypes-u4OSE-rn.d.mts → textTypes-ah2JJr8v.d.mts} +1 -1
- package/dist/{textTypes-u4OSE-rn.d.ts → textTypes-ah2JJr8v.d.ts} +1 -1
- package/package.json +6 -6
@@ -32,6 +32,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
32
32
|
var auth_exports = {};
|
33
33
|
__export(auth_exports, {
|
34
34
|
AppLanding: () => AppLanding,
|
35
|
+
AuthButtons: () => AuthButtons,
|
35
36
|
CheckEmail: () => CheckEmail,
|
36
37
|
CodeConfirmation: () => CodeConfirmation,
|
37
38
|
LoginForm: () => LoginForm,
|
@@ -41,10 +42,12 @@ __export(auth_exports, {
|
|
41
42
|
});
|
42
43
|
module.exports = __toCommonJS(auth_exports);
|
43
44
|
|
44
|
-
// blocks/auth/
|
45
|
-
var
|
46
|
-
|
47
|
-
|
45
|
+
// blocks/auth/AuthButtons.tsx
|
46
|
+
var import_react3 = __toESM(require("react"));
|
47
|
+
|
48
|
+
// elements/button/Button.tsx
|
49
|
+
var React2 = __toESM(require("react"));
|
50
|
+
var import_class_variance_authority = require("class-variance-authority");
|
48
51
|
|
49
52
|
// util/index.ts
|
50
53
|
var import_clsx = require("clsx");
|
@@ -53,17 +56,6 @@ function cn(...inputs) {
|
|
53
56
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
54
57
|
}
|
55
58
|
|
56
|
-
// blocks/auth/LoginForm.tsx
|
57
|
-
var import_libphonenumber_js = require("libphonenumber-js");
|
58
|
-
var z = __toESM(require("zod"));
|
59
|
-
|
60
|
-
// elements/alert/Alert.tsx
|
61
|
-
var import_react2 = __toESM(require("react"));
|
62
|
-
|
63
|
-
// elements/button/Button.tsx
|
64
|
-
var React2 = __toESM(require("react"));
|
65
|
-
var import_class_variance_authority = require("class-variance-authority");
|
66
|
-
|
67
59
|
// elements/loading/Loading.tsx
|
68
60
|
var import_react = __toESM(require("react"));
|
69
61
|
var Loading = ({
|
@@ -354,7 +346,296 @@ var Button = React2.forwardRef(
|
|
354
346
|
);
|
355
347
|
Button.displayName = "Button";
|
356
348
|
|
349
|
+
// elements/logos/Logos.tsx
|
350
|
+
var import_react2 = __toESM(require("react"));
|
351
|
+
var Logos = {
|
352
|
+
hawa: (props) => /* @__PURE__ */ import_react2.default.createElement(
|
353
|
+
"svg",
|
354
|
+
{
|
355
|
+
xmlns: "http://www.w3.org/2000/svg",
|
356
|
+
xmlSpace: "preserve",
|
357
|
+
viewBox: "0 0 765 765",
|
358
|
+
...props
|
359
|
+
},
|
360
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
361
|
+
"path",
|
362
|
+
{
|
363
|
+
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",
|
364
|
+
fill: "currentColor"
|
365
|
+
}
|
366
|
+
)
|
367
|
+
),
|
368
|
+
sikka: (props) => /* @__PURE__ */ import_react2.default.createElement(
|
369
|
+
"svg",
|
370
|
+
{
|
371
|
+
xmlns: "http://www.w3.org/2000/svg",
|
372
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
373
|
+
xmlSpace: "preserve",
|
374
|
+
viewBox: "0 0 916.5 765",
|
375
|
+
fill: "currentColor",
|
376
|
+
...props
|
377
|
+
},
|
378
|
+
/* @__PURE__ */ import_react2.default.createElement("defs", null, /* @__PURE__ */ import_react2.default.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
379
|
+
/* @__PURE__ */ import_react2.default.createElement("clipPath", { id: "b" }, /* @__PURE__ */ import_react2.default.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
380
|
+
/* @__PURE__ */ import_react2.default.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ import_react2.default.createElement("defs", null, /* @__PURE__ */ import_react2.default.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ import_react2.default.createElement("clipPath", { id: "d" }, /* @__PURE__ */ import_react2.default.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ import_react2.default.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ import_react2.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" })))
|
381
|
+
),
|
382
|
+
mail: (props) => /* @__PURE__ */ import_react2.default.createElement(
|
383
|
+
"svg",
|
384
|
+
{
|
385
|
+
stroke: "currentColor",
|
386
|
+
fill: "none",
|
387
|
+
strokeWidth: "2",
|
388
|
+
viewBox: "0 0 24 24",
|
389
|
+
strokeLinecap: "round",
|
390
|
+
strokeLinejoin: "round",
|
391
|
+
xmlns: "http://www.w3.org/2000/svg",
|
392
|
+
...props
|
393
|
+
},
|
394
|
+
/* @__PURE__ */ import_react2.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" }),
|
395
|
+
/* @__PURE__ */ import_react2.default.createElement("polyline", { points: "22,6 12,13 2,6" })
|
396
|
+
),
|
397
|
+
phone: (props) => /* @__PURE__ */ import_react2.default.createElement(
|
398
|
+
"svg",
|
399
|
+
{
|
400
|
+
stroke: "currentColor",
|
401
|
+
fill: "none",
|
402
|
+
strokeWidth: "2",
|
403
|
+
viewBox: "0 0 24 24",
|
404
|
+
"aria-hidden": "true",
|
405
|
+
xmlns: "http://www.w3.org/2000/svg",
|
406
|
+
...props
|
407
|
+
},
|
408
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
409
|
+
"path",
|
410
|
+
{
|
411
|
+
strokeLinecap: "round",
|
412
|
+
strokeLinejoin: "round",
|
413
|
+
d: "M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"
|
414
|
+
}
|
415
|
+
)
|
416
|
+
),
|
417
|
+
twitter: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
418
|
+
"path",
|
419
|
+
{
|
420
|
+
fill: "currentColor",
|
421
|
+
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"
|
422
|
+
}
|
423
|
+
)),
|
424
|
+
instagram: (props) => /* @__PURE__ */ import_react2.default.createElement(
|
425
|
+
"svg",
|
426
|
+
{
|
427
|
+
xmlns: "http://www.w3.org/2000/svg",
|
428
|
+
fill: "currentColor",
|
429
|
+
viewBox: "0 0 16 16",
|
430
|
+
...props
|
431
|
+
},
|
432
|
+
/* @__PURE__ */ import_react2.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" })
|
433
|
+
),
|
434
|
+
microsoft: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
435
|
+
"path",
|
436
|
+
{
|
437
|
+
fill: "currentColor",
|
438
|
+
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
439
|
+
}
|
440
|
+
)),
|
441
|
+
github: (props) => /* @__PURE__ */ import_react2.default.createElement(
|
442
|
+
"svg",
|
443
|
+
{
|
444
|
+
xmlns: "http://www.w3.org/2000/svg",
|
445
|
+
viewBox: "0 0 438.549 438.549",
|
446
|
+
...props
|
447
|
+
},
|
448
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
449
|
+
"path",
|
450
|
+
{
|
451
|
+
fill: "currentColor",
|
452
|
+
d: "M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"
|
453
|
+
}
|
454
|
+
)
|
455
|
+
),
|
456
|
+
radix: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
457
|
+
"path",
|
458
|
+
{
|
459
|
+
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
460
|
+
fill: "currentcolor"
|
461
|
+
}
|
462
|
+
), /* @__PURE__ */ import_react2.default.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ import_react2.default.createElement(
|
463
|
+
"path",
|
464
|
+
{
|
465
|
+
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",
|
466
|
+
fill: "currentcolor"
|
467
|
+
}
|
468
|
+
)),
|
469
|
+
aria: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react2.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" })),
|
470
|
+
npm: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
471
|
+
"path",
|
472
|
+
{
|
473
|
+
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",
|
474
|
+
fill: "currentColor"
|
475
|
+
}
|
476
|
+
)),
|
477
|
+
yarn: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
478
|
+
"path",
|
479
|
+
{
|
480
|
+
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",
|
481
|
+
fill: "currentColor"
|
482
|
+
}
|
483
|
+
)),
|
484
|
+
pnpm: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
485
|
+
"path",
|
486
|
+
{
|
487
|
+
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",
|
488
|
+
fill: "currentColor"
|
489
|
+
}
|
490
|
+
)),
|
491
|
+
react: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
492
|
+
"path",
|
493
|
+
{
|
494
|
+
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",
|
495
|
+
fill: "currentColor"
|
496
|
+
}
|
497
|
+
)),
|
498
|
+
tailwind: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
499
|
+
"path",
|
500
|
+
{
|
501
|
+
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",
|
502
|
+
fill: "currentColor"
|
503
|
+
}
|
504
|
+
)),
|
505
|
+
google: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
506
|
+
"path",
|
507
|
+
{
|
508
|
+
fill: "currentColor",
|
509
|
+
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"
|
510
|
+
}
|
511
|
+
)),
|
512
|
+
apple: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
513
|
+
"path",
|
514
|
+
{
|
515
|
+
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",
|
516
|
+
fill: "currentColor"
|
517
|
+
}
|
518
|
+
)),
|
519
|
+
paypal: (props) => /* @__PURE__ */ import_react2.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react2.default.createElement(
|
520
|
+
"path",
|
521
|
+
{
|
522
|
+
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",
|
523
|
+
fill: "currentColor"
|
524
|
+
}
|
525
|
+
)),
|
526
|
+
spinner: (props) => /* @__PURE__ */ import_react2.default.createElement(
|
527
|
+
"svg",
|
528
|
+
{
|
529
|
+
xmlns: "http://www.w3.org/2000/svg",
|
530
|
+
width: "24",
|
531
|
+
height: "24",
|
532
|
+
viewBox: "0 0 24 24",
|
533
|
+
fill: "none",
|
534
|
+
stroke: "currentColor",
|
535
|
+
strokeWidth: "2",
|
536
|
+
strokeLinecap: "round",
|
537
|
+
strokeLinejoin: "round",
|
538
|
+
...props
|
539
|
+
},
|
540
|
+
/* @__PURE__ */ import_react2.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
541
|
+
),
|
542
|
+
whatsapp: (props) => /* @__PURE__ */ import_react2.default.createElement(
|
543
|
+
"svg",
|
544
|
+
{
|
545
|
+
xmlns: "http://www.w3.org/2000/svg",
|
546
|
+
viewBox: "0 0 24 24",
|
547
|
+
fill: "currentColor",
|
548
|
+
...props
|
549
|
+
},
|
550
|
+
/* @__PURE__ */ import_react2.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" })
|
551
|
+
)
|
552
|
+
};
|
553
|
+
|
554
|
+
// blocks/auth/AuthButtons.tsx
|
555
|
+
var AuthButtons = (props) => {
|
556
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
557
|
+
return /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ import_react3.default.createElement(
|
558
|
+
Button,
|
559
|
+
{
|
560
|
+
disabled: props.isGoogleLoading,
|
561
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
562
|
+
variant: "outline",
|
563
|
+
onClick: props.handleGoogle
|
564
|
+
},
|
565
|
+
props.isGoogleLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.google, { className: "hawa-icon" }),
|
566
|
+
(_b = (_a = props.texts) == null ? void 0 : _a.continueWithGoogle) != null ? _b : "Continue With Google"
|
567
|
+
), props.viaGithub && /* @__PURE__ */ import_react3.default.createElement(
|
568
|
+
Button,
|
569
|
+
{
|
570
|
+
disabled: props.isGithubLoading,
|
571
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
572
|
+
variant: "outline",
|
573
|
+
onClick: props.handleGithub
|
574
|
+
},
|
575
|
+
props.isGithubLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.github, { className: "hawa-icon" }),
|
576
|
+
(_d = (_c = props.texts) == null ? void 0 : _c.continueWithGithub) != null ? _d : "Continue With Github"
|
577
|
+
), props.viaTwitter && /* @__PURE__ */ import_react3.default.createElement(
|
578
|
+
Button,
|
579
|
+
{
|
580
|
+
disabled: props.isTwitterLoading,
|
581
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
582
|
+
variant: "outline",
|
583
|
+
onClick: props.handleTwitter
|
584
|
+
},
|
585
|
+
props.isTwitterLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.twitter, { className: "hawa-icon" }),
|
586
|
+
(_f = (_e = props.texts) == null ? void 0 : _e.continueWithTwitter) != null ? _f : "Continue With Twitter"
|
587
|
+
), props.viaApple && /* @__PURE__ */ import_react3.default.createElement(
|
588
|
+
Button,
|
589
|
+
{
|
590
|
+
disabled: props.isAppleLoading,
|
591
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
592
|
+
variant: "outline",
|
593
|
+
onClick: props.handleApple
|
594
|
+
},
|
595
|
+
props.isAppleLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.apple, { className: "hawa-icon" }),
|
596
|
+
(_h = (_g = props.texts) == null ? void 0 : _g.continueWithApple) != null ? _h : "Continue With Apple"
|
597
|
+
), props.viaMicrosoft && /* @__PURE__ */ import_react3.default.createElement(
|
598
|
+
Button,
|
599
|
+
{
|
600
|
+
disabled: props.isMicrosoftLoading,
|
601
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
602
|
+
variant: "outline",
|
603
|
+
onClick: props.handleMicrosoft
|
604
|
+
},
|
605
|
+
props.isMicrosoftLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.microsoft, { className: "hawa-icon" }),
|
606
|
+
(_j = (_i = props.texts) == null ? void 0 : _i.continueWithMicrosoft) != null ? _j : "Continue With Microsoft"
|
607
|
+
), props.viaEmail && /* @__PURE__ */ import_react3.default.createElement(
|
608
|
+
Button,
|
609
|
+
{
|
610
|
+
disabled: props.isEmailLoading,
|
611
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
612
|
+
variant: "outline",
|
613
|
+
onClick: props.handleEmail
|
614
|
+
},
|
615
|
+
props.isEmailLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.mail, { className: "hawa-icon" }),
|
616
|
+
(_l = (_k = props.texts) == null ? void 0 : _k.continueWithEmail) != null ? _l : "Continue With Email"
|
617
|
+
), props.viaPhone && /* @__PURE__ */ import_react3.default.createElement(
|
618
|
+
Button,
|
619
|
+
{
|
620
|
+
disabled: props.isPhoneLoading,
|
621
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
622
|
+
variant: "outline",
|
623
|
+
onClick: props.handlePhone
|
624
|
+
},
|
625
|
+
props.isPhoneLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.phone, { className: "hawa-icon" }),
|
626
|
+
(_n = (_m = props.texts) == null ? void 0 : _m.continueWithPhone) != null ? _n : "Continue With Phone"
|
627
|
+
));
|
628
|
+
};
|
629
|
+
|
630
|
+
// blocks/auth/LoginForm.tsx
|
631
|
+
var import_react13 = __toESM(require("react"));
|
632
|
+
var import_react_hook_form = require("react-hook-form");
|
633
|
+
var import_zod = require("@hookform/resolvers/zod");
|
634
|
+
var import_libphonenumber_js = require("libphonenumber-js");
|
635
|
+
var z = __toESM(require("zod"));
|
636
|
+
|
357
637
|
// elements/alert/Alert.tsx
|
638
|
+
var import_react4 = __toESM(require("react"));
|
358
639
|
var Alert = ({
|
359
640
|
direction = "ltr",
|
360
641
|
severity = "none",
|
@@ -363,9 +644,9 @@ var Alert = ({
|
|
363
644
|
className,
|
364
645
|
...props
|
365
646
|
}) => {
|
366
|
-
const alertRef = (0,
|
367
|
-
const [closed, setClosed] = (0,
|
368
|
-
(0,
|
647
|
+
const alertRef = (0, import_react4.useRef)(null);
|
648
|
+
const [closed, setClosed] = (0, import_react4.useState)(false);
|
649
|
+
(0, import_react4.useEffect)(() => {
|
369
650
|
if (duration) {
|
370
651
|
const timeoutHide = setTimeout(() => {
|
371
652
|
setClosed(true);
|
@@ -400,7 +681,7 @@ var Alert = ({
|
|
400
681
|
hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
|
401
682
|
oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
|
402
683
|
};
|
403
|
-
return /* @__PURE__ */
|
684
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { ref: alertRef }, /* @__PURE__ */ import_react4.default.createElement(
|
404
685
|
"div",
|
405
686
|
{
|
406
687
|
"data-testid": "alert",
|
@@ -414,13 +695,13 @@ var Alert = ({
|
|
414
695
|
className
|
415
696
|
)
|
416
697
|
},
|
417
|
-
/* @__PURE__ */
|
698
|
+
/* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ import_react4.default.createElement(
|
418
699
|
"div",
|
419
700
|
{
|
420
701
|
className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
|
421
702
|
},
|
422
703
|
icon
|
423
|
-
), /* @__PURE__ */
|
704
|
+
), /* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react4.default.createElement(
|
424
705
|
"span",
|
425
706
|
{
|
426
707
|
className: cn(
|
@@ -429,7 +710,7 @@ var Alert = ({
|
|
429
710
|
)
|
430
711
|
},
|
431
712
|
props.title
|
432
|
-
), /* @__PURE__ */
|
713
|
+
), /* @__PURE__ */ import_react4.default.createElement(
|
433
714
|
"span",
|
434
715
|
{
|
435
716
|
className: cn(
|
@@ -438,7 +719,7 @@ var Alert = ({
|
|
438
719
|
)
|
439
720
|
},
|
440
721
|
props.text
|
441
|
-
), props.actions && /* @__PURE__ */
|
722
|
+
), props.actions && /* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ import_react4.default.createElement(
|
442
723
|
Button,
|
443
724
|
{
|
444
725
|
key: index,
|
@@ -447,7 +728,7 @@ var Alert = ({
|
|
447
728
|
},
|
448
729
|
act.label
|
449
730
|
))))),
|
450
|
-
!props.persistent && /* @__PURE__ */
|
731
|
+
!props.persistent && /* @__PURE__ */ import_react4.default.createElement(
|
451
732
|
"button",
|
452
733
|
{
|
453
734
|
type: "button",
|
@@ -470,8 +751,8 @@ var Alert = ({
|
|
470
751
|
}, 200);
|
471
752
|
}
|
472
753
|
},
|
473
|
-
/* @__PURE__ */
|
474
|
-
/* @__PURE__ */
|
754
|
+
/* @__PURE__ */ import_react4.default.createElement("span", { className: "hawa-sr-only" }, "Close"),
|
755
|
+
/* @__PURE__ */ import_react4.default.createElement(
|
475
756
|
"svg",
|
476
757
|
{
|
477
758
|
"aria-label": "Close Icon",
|
@@ -480,7 +761,7 @@ var Alert = ({
|
|
480
761
|
fill: "currentColor",
|
481
762
|
viewBox: "0 0 20 20"
|
482
763
|
},
|
483
|
-
/* @__PURE__ */
|
764
|
+
/* @__PURE__ */ import_react4.default.createElement(
|
484
765
|
"path",
|
485
766
|
{
|
486
767
|
fillRule: "evenodd",
|
@@ -494,8 +775,8 @@ var Alert = ({
|
|
494
775
|
};
|
495
776
|
|
496
777
|
// elements/card/Card.tsx
|
497
|
-
var
|
498
|
-
var Card =
|
778
|
+
var React6 = __toESM(require("react"));
|
779
|
+
var Card = React6.forwardRef(
|
499
780
|
({ className, variant = "default", clickable = false, ...props }, ref) => {
|
500
781
|
let variantStyles = {
|
501
782
|
default: cn(
|
@@ -508,7 +789,7 @@ var Card = React4.forwardRef(
|
|
508
789
|
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"
|
509
790
|
)
|
510
791
|
};
|
511
|
-
return /* @__PURE__ */
|
792
|
+
return /* @__PURE__ */ React6.createElement(
|
512
793
|
"div",
|
513
794
|
{
|
514
795
|
ref,
|
@@ -518,7 +799,7 @@ var Card = React4.forwardRef(
|
|
518
799
|
);
|
519
800
|
}
|
520
801
|
);
|
521
|
-
var CardHeader =
|
802
|
+
var CardHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
|
522
803
|
"div",
|
523
804
|
{
|
524
805
|
ref,
|
@@ -529,7 +810,7 @@ var CardHeader = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
529
810
|
...props
|
530
811
|
}
|
531
812
|
));
|
532
|
-
var CardTitle =
|
813
|
+
var CardTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
|
533
814
|
"h3",
|
534
815
|
{
|
535
816
|
ref,
|
@@ -537,7 +818,7 @@ var CardTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
537
818
|
...props
|
538
819
|
}
|
539
820
|
));
|
540
|
-
var CardDescription =
|
821
|
+
var CardDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
|
541
822
|
"p",
|
542
823
|
{
|
543
824
|
ref,
|
@@ -545,8 +826,8 @@ var CardDescription = React4.forwardRef(({ className, ...props }, ref) => /* @__
|
|
545
826
|
...props
|
546
827
|
}
|
547
828
|
));
|
548
|
-
var CardContent =
|
549
|
-
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */
|
829
|
+
var CardContent = React6.forwardRef(
|
830
|
+
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
|
550
831
|
"div",
|
551
832
|
{
|
552
833
|
ref,
|
@@ -559,7 +840,7 @@ var CardContent = React4.forwardRef(
|
|
559
840
|
}
|
560
841
|
)
|
561
842
|
);
|
562
|
-
var CardFooter =
|
843
|
+
var CardFooter = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
|
563
844
|
"div",
|
564
845
|
{
|
565
846
|
ref,
|
@@ -575,15 +856,15 @@ CardTitle.displayName = "CardTitle";
|
|
575
856
|
Card.displayName = "Card";
|
576
857
|
|
577
858
|
// elements/input/Input.tsx
|
578
|
-
var
|
859
|
+
var import_react7 = __toESM(require("react"));
|
579
860
|
|
580
861
|
// elements/label/Label.tsx
|
581
|
-
var
|
862
|
+
var React8 = __toESM(require("react"));
|
582
863
|
|
583
864
|
// elements/tooltip/Tooltip.tsx
|
584
|
-
var
|
865
|
+
var import_react5 = __toESM(require("react"));
|
585
866
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
586
|
-
var TooltipContent =
|
867
|
+
var TooltipContent = import_react5.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(
|
587
868
|
TooltipPrimitive.Content,
|
588
869
|
{
|
589
870
|
ref,
|
@@ -600,7 +881,7 @@ var TooltipContent = import_react3.default.forwardRef(({ className, sideOffset =
|
|
600
881
|
}
|
601
882
|
));
|
602
883
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
603
|
-
var TooltipArrow =
|
884
|
+
var TooltipArrow = import_react5.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
604
885
|
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
605
886
|
var Tooltip = ({
|
606
887
|
side,
|
@@ -617,13 +898,13 @@ var Tooltip = ({
|
|
617
898
|
delayDuration = 300,
|
618
899
|
...props
|
619
900
|
}) => {
|
620
|
-
return /* @__PURE__ */
|
901
|
+
return /* @__PURE__ */ import_react5.default.createElement(
|
621
902
|
TooltipPrimitive.TooltipProvider,
|
622
903
|
{
|
623
904
|
delayDuration,
|
624
905
|
...providerProps
|
625
906
|
},
|
626
|
-
/* @__PURE__ */
|
907
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
627
908
|
TooltipPrimitive.Root,
|
628
909
|
{
|
629
910
|
open: !disabled && open,
|
@@ -631,8 +912,8 @@ var Tooltip = ({
|
|
631
912
|
onOpenChange,
|
632
913
|
...props
|
633
914
|
},
|
634
|
-
/* @__PURE__ */
|
635
|
-
/* @__PURE__ */
|
915
|
+
/* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
916
|
+
/* @__PURE__ */ import_react5.default.createElement(
|
636
917
|
TooltipContent,
|
637
918
|
{
|
638
919
|
size,
|
@@ -652,7 +933,7 @@ var Tooltip = ({
|
|
652
933
|
};
|
653
934
|
|
654
935
|
// elements/label/Label.tsx
|
655
|
-
var Label =
|
936
|
+
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(
|
656
937
|
"label",
|
657
938
|
{
|
658
939
|
ref,
|
@@ -663,8 +944,8 @@ var Label = React6.forwardRef(({ className, hint, hintSide, required, children,
|
|
663
944
|
...props
|
664
945
|
},
|
665
946
|
children,
|
666
|
-
required && /* @__PURE__ */
|
667
|
-
), hint && /* @__PURE__ */
|
947
|
+
required && /* @__PURE__ */ React8.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
|
948
|
+
), hint && /* @__PURE__ */ React8.createElement(
|
668
949
|
Tooltip,
|
669
950
|
{
|
670
951
|
content: hint,
|
@@ -674,7 +955,7 @@ var Label = React6.forwardRef(({ className, hint, hintSide, required, children,
|
|
674
955
|
onClick: (event) => event.preventDefault()
|
675
956
|
}
|
676
957
|
},
|
677
|
-
/* @__PURE__ */
|
958
|
+
/* @__PURE__ */ React8.createElement("div", null, /* @__PURE__ */ React8.createElement(
|
678
959
|
"svg",
|
679
960
|
{
|
680
961
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -686,15 +967,15 @@ var Label = React6.forwardRef(({ className, hint, hintSide, required, children,
|
|
686
967
|
strokeLinecap: "round",
|
687
968
|
strokeLinejoin: "round"
|
688
969
|
},
|
689
|
-
/* @__PURE__ */
|
690
|
-
/* @__PURE__ */
|
691
|
-
/* @__PURE__ */
|
970
|
+
/* @__PURE__ */ React8.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
971
|
+
/* @__PURE__ */ React8.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
972
|
+
/* @__PURE__ */ React8.createElement("path", { d: "M12 17h.01" })
|
692
973
|
))
|
693
974
|
)));
|
694
975
|
Label.displayName = "Label";
|
695
976
|
|
696
977
|
// elements/skeleton/Skeleton.tsx
|
697
|
-
var
|
978
|
+
var import_react6 = __toESM(require("react"));
|
698
979
|
function Skeleton({
|
699
980
|
className,
|
700
981
|
content,
|
@@ -713,7 +994,7 @@ function Skeleton({
|
|
713
994
|
right: "hawa-mask-fade-right",
|
714
995
|
left: "hawa-mask-fade-left "
|
715
996
|
};
|
716
|
-
return /* @__PURE__ */
|
997
|
+
return /* @__PURE__ */ import_react6.default.createElement(
|
717
998
|
"div",
|
718
999
|
{
|
719
1000
|
className: cn(
|
@@ -729,7 +1010,7 @@ function Skeleton({
|
|
729
1010
|
}
|
730
1011
|
|
731
1012
|
// elements/input/Input.tsx
|
732
|
-
var Input = (0,
|
1013
|
+
var Input = (0, import_react7.forwardRef)(
|
733
1014
|
({
|
734
1015
|
margin = "none",
|
735
1016
|
width = "full",
|
@@ -756,7 +1037,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
756
1037
|
};
|
757
1038
|
let defaultStyle = "hawa-flex hawa-max-h-fit hawa-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-0";
|
758
1039
|
let defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-3 hawa-text-sm ";
|
759
|
-
return /* @__PURE__ */
|
1040
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
760
1041
|
"div",
|
761
1042
|
{
|
762
1043
|
className: cn(
|
@@ -767,8 +1048,8 @@ var Input = (0, import_react5.forwardRef)(
|
|
767
1048
|
"hawa-w-full hawa-gap-2"
|
768
1049
|
)
|
769
1050
|
},
|
770
|
-
props.label && /* @__PURE__ */
|
771
|
-
/* @__PURE__ */
|
1051
|
+
props.label && /* @__PURE__ */ import_react7.default.createElement(Label, { ...labelProps }, props.label),
|
1052
|
+
/* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center " }, props.prefixText && /* @__PURE__ */ import_react7.default.createElement("span", { className: cn("hawa-me-2 hawa-opacity-90", !forceHideHelperText && "hawa-mb-2") }, props.prefixText), props.isLoading ? /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ import_react7.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react7.default.createElement(
|
772
1053
|
"div",
|
773
1054
|
{
|
774
1055
|
className: cn(
|
@@ -776,7 +1057,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
776
1057
|
preview ? "hawa-opacity-100" : "hawa-opacity-0"
|
777
1058
|
)
|
778
1059
|
}
|
779
|
-
), /* @__PURE__ */
|
1060
|
+
), /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-w-full hawa-gap-2" }, /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-relative" }, props.startIcon && /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-absolute hawa-start-3 hawa-top-1/2 hawa--translate-y-1/2" }, props.startIcon), props.endIcon && /* @__PURE__ */ import_react7.default.createElement(
|
780
1061
|
"div",
|
781
1062
|
{
|
782
1063
|
className: cn(
|
@@ -785,7 +1066,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
785
1066
|
)
|
786
1067
|
},
|
787
1068
|
props.endIcon
|
788
|
-
), /* @__PURE__ */
|
1069
|
+
), /* @__PURE__ */ import_react7.default.createElement(
|
789
1070
|
"input",
|
790
1071
|
{
|
791
1072
|
required: true,
|
@@ -811,7 +1092,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
811
1092
|
inputProps == null ? void 0 : inputProps.className
|
812
1093
|
)
|
813
1094
|
}
|
814
|
-
)), !forceHideHelperText && /* @__PURE__ */
|
1095
|
+
)), !forceHideHelperText && /* @__PURE__ */ import_react7.default.createElement(
|
815
1096
|
"p",
|
816
1097
|
{
|
817
1098
|
className: cn(
|
@@ -820,7 +1101,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
820
1101
|
)
|
821
1102
|
},
|
822
1103
|
props.helperText
|
823
|
-
), !props.disabled && forceHideHelperText && /* @__PURE__ */
|
1104
|
+
), !props.disabled && forceHideHelperText && /* @__PURE__ */ import_react7.default.createElement(
|
824
1105
|
"div",
|
825
1106
|
{
|
826
1107
|
className: cn(
|
@@ -829,7 +1110,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
829
1110
|
)
|
830
1111
|
},
|
831
1112
|
props.helperText
|
832
|
-
), showCount && /* @__PURE__ */
|
1113
|
+
), showCount && /* @__PURE__ */ import_react7.default.createElement(
|
833
1114
|
"div",
|
834
1115
|
{
|
835
1116
|
className: cn(
|
@@ -850,7 +1131,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
850
1131
|
);
|
851
1132
|
|
852
1133
|
// elements/phoneInput/PhoneInput.tsx
|
853
|
-
var
|
1134
|
+
var import_react9 = __toESM(require("react"));
|
854
1135
|
|
855
1136
|
// countries.ts
|
856
1137
|
var countries = [
|
@@ -2546,7 +2827,7 @@ var countries = [
|
|
2546
2827
|
var countries_default = countries;
|
2547
2828
|
|
2548
2829
|
// elements/select/Select.tsx
|
2549
|
-
var
|
2830
|
+
var import_react8 = __toESM(require("react"));
|
2550
2831
|
var import_react_select = __toESM(require("react-select"));
|
2551
2832
|
var import_creatable = __toESM(require("react-select/creatable"));
|
2552
2833
|
var import_clsx2 = __toESM(require("clsx"));
|
@@ -2557,10 +2838,10 @@ var Select = ({
|
|
2557
2838
|
}) => {
|
2558
2839
|
const NoOption = () => {
|
2559
2840
|
var _a, _b;
|
2560
|
-
return /* @__PURE__ */
|
2841
|
+
return /* @__PURE__ */ import_react8.default.createElement("div", null, (_b = (_a = props.texts) == null ? void 0 : _a.noOptions) != null ? _b : "No Items Found");
|
2561
2842
|
};
|
2562
2843
|
const Control = ({ children, innerProps, innerRef }) => {
|
2563
|
-
return /* @__PURE__ */
|
2844
|
+
return /* @__PURE__ */ import_react8.default.createElement(
|
2564
2845
|
"div",
|
2565
2846
|
{
|
2566
2847
|
ref: innerRef,
|
@@ -2573,7 +2854,7 @@ var Select = ({
|
|
2573
2854
|
);
|
2574
2855
|
};
|
2575
2856
|
const Option = ({ children, innerProps, innerRef }) => {
|
2576
|
-
return /* @__PURE__ */
|
2857
|
+
return /* @__PURE__ */ import_react8.default.createElement(
|
2577
2858
|
"div",
|
2578
2859
|
{
|
2579
2860
|
ref: innerRef,
|
@@ -2594,7 +2875,7 @@ var Select = ({
|
|
2594
2875
|
...menuProps
|
2595
2876
|
}) => {
|
2596
2877
|
const menuOpen = menuProps.selectProps.menuIsOpen;
|
2597
|
-
return /* @__PURE__ */
|
2878
|
+
return /* @__PURE__ */ import_react8.default.createElement(
|
2598
2879
|
"div",
|
2599
2880
|
{
|
2600
2881
|
className: cn(
|
@@ -2608,7 +2889,7 @@ var Select = ({
|
|
2608
2889
|
children
|
2609
2890
|
);
|
2610
2891
|
};
|
2611
|
-
return /* @__PURE__ */
|
2892
|
+
return /* @__PURE__ */ import_react8.default.createElement(
|
2612
2893
|
"div",
|
2613
2894
|
{
|
2614
2895
|
className: cn(
|
@@ -2616,10 +2897,10 @@ var Select = ({
|
|
2616
2897
|
props.width === "fit" ? "hawa-w-fit" : "hawa-w-full"
|
2617
2898
|
)
|
2618
2899
|
},
|
2619
|
-
props.label && /* @__PURE__ */
|
2620
|
-
props.isLoading ? /* @__PURE__ */
|
2900
|
+
props.label && /* @__PURE__ */ import_react8.default.createElement(Label, { ...labelProps }, props.label),
|
2901
|
+
props.isLoading ? /* @__PURE__ */ import_react8.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" }) : !props.isCreatable ? (
|
2621
2902
|
// TODO: enable keyboard to go to the next item in the list
|
2622
|
-
/* @__PURE__ */
|
2903
|
+
/* @__PURE__ */ import_react8.default.createElement(
|
2623
2904
|
import_react_select.default,
|
2624
2905
|
{
|
2625
2906
|
noOptionsMessage: NoOption,
|
@@ -2656,7 +2937,7 @@ var Select = ({
|
|
2656
2937
|
isSearchable: props.isSearchable
|
2657
2938
|
}
|
2658
2939
|
)
|
2659
|
-
) : /* @__PURE__ */
|
2940
|
+
) : /* @__PURE__ */ import_react8.default.createElement(
|
2660
2941
|
import_creatable.default,
|
2661
2942
|
{
|
2662
2943
|
formatCreateLabel: (inputValue) => {
|
@@ -2686,7 +2967,7 @@ var Select = ({
|
|
2686
2967
|
onInputChange: (newValue, action) => props.onInputChange(newValue, action)
|
2687
2968
|
}
|
2688
2969
|
),
|
2689
|
-
!props.hideHelperText && /* @__PURE__ */
|
2970
|
+
!props.hideHelperText && /* @__PURE__ */ import_react8.default.createElement(
|
2690
2971
|
"p",
|
2691
2972
|
{
|
2692
2973
|
className: cn(
|
@@ -2701,10 +2982,10 @@ var Select = ({
|
|
2701
2982
|
|
2702
2983
|
// elements/phoneInput/PhoneInput.tsx
|
2703
2984
|
var PhoneInput = ({ labelProps, ...props }) => {
|
2704
|
-
const [phoneNumber, setPhoneNumber] = (0,
|
2705
|
-
const [countryCode, setCountryCode] = (0,
|
2706
|
-
const inputRef = (0,
|
2707
|
-
(0,
|
2985
|
+
const [phoneNumber, setPhoneNumber] = (0, import_react9.useState)("");
|
2986
|
+
const [countryCode, setCountryCode] = (0, import_react9.useState)(props.preferredCountry);
|
2987
|
+
const inputRef = (0, import_react9.useRef)(null);
|
2988
|
+
(0, import_react9.useEffect)(() => {
|
2708
2989
|
var _a;
|
2709
2990
|
if (inputRef.current) {
|
2710
2991
|
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
@@ -2722,7 +3003,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
2722
3003
|
console.log("handleChange prop was not provided in <PhoneInput/>");
|
2723
3004
|
}
|
2724
3005
|
};
|
2725
|
-
return /* @__PURE__ */
|
3006
|
+
return /* @__PURE__ */ import_react9.default.createElement("div", { className: "hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react9.default.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ import_react9.default.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ import_react9.default.createElement(
|
2726
3007
|
Select,
|
2727
3008
|
{
|
2728
3009
|
width: "fit",
|
@@ -2738,7 +3019,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
2738
3019
|
value: countryCode == null ? void 0 : countryCode.label,
|
2739
3020
|
onChange: setCountryCode
|
2740
3021
|
}
|
2741
|
-
), /* @__PURE__ */
|
3022
|
+
), /* @__PURE__ */ import_react9.default.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react9.default.createElement(
|
2742
3023
|
"input",
|
2743
3024
|
{
|
2744
3025
|
ref: inputRef,
|
@@ -2749,9 +3030,9 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
2749
3030
|
onChange: handleInputChange,
|
2750
3031
|
value: phoneNumber,
|
2751
3032
|
type: "tel",
|
2752
|
-
placeholder:
|
3033
|
+
placeholder: props.placeholder
|
2753
3034
|
}
|
2754
|
-
))), /* @__PURE__ */
|
3035
|
+
))), /* @__PURE__ */ import_react9.default.createElement(
|
2755
3036
|
"p",
|
2756
3037
|
{
|
2757
3038
|
className: cn(
|
@@ -2764,11 +3045,11 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
2764
3045
|
};
|
2765
3046
|
|
2766
3047
|
// icons/Emojis.tsx
|
2767
|
-
var
|
3048
|
+
var import_react10 = __toESM(require("react"));
|
2768
3049
|
|
2769
3050
|
// icons/InputIcons.tsx
|
2770
|
-
var
|
2771
|
-
var EyeIcon = (props) => /* @__PURE__ */
|
3051
|
+
var import_react11 = __toESM(require("react"));
|
3052
|
+
var EyeIcon = (props) => /* @__PURE__ */ import_react11.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react11.default.createElement(
|
2772
3053
|
"svg",
|
2773
3054
|
{
|
2774
3055
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2779,10 +3060,10 @@ var EyeIcon = (props) => /* @__PURE__ */ import_react9.default.createElement("di
|
|
2779
3060
|
strokeLinecap: "round",
|
2780
3061
|
strokeLinejoin: "round"
|
2781
3062
|
},
|
2782
|
-
/* @__PURE__ */
|
2783
|
-
/* @__PURE__ */
|
3063
|
+
/* @__PURE__ */ import_react11.default.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
|
3064
|
+
/* @__PURE__ */ import_react11.default.createElement("circle", { cx: "12", cy: "12", r: "3" })
|
2784
3065
|
));
|
2785
|
-
var HiddenEyeIcon = (props) => /* @__PURE__ */
|
3066
|
+
var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react11.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react11.default.createElement(
|
2786
3067
|
"svg",
|
2787
3068
|
{
|
2788
3069
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2793,299 +3074,15 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react9.default.createEleme
|
|
2793
3074
|
strokeLinecap: "round",
|
2794
3075
|
strokeLinejoin: "round"
|
2795
3076
|
},
|
2796
|
-
/* @__PURE__ */
|
2797
|
-
/* @__PURE__ */
|
2798
|
-
/* @__PURE__ */
|
2799
|
-
/* @__PURE__ */
|
3077
|
+
/* @__PURE__ */ import_react11.default.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
|
3078
|
+
/* @__PURE__ */ import_react11.default.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
|
3079
|
+
/* @__PURE__ */ import_react11.default.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
|
3080
|
+
/* @__PURE__ */ import_react11.default.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
|
2800
3081
|
));
|
2801
3082
|
|
2802
3083
|
// icons/CommonIcons.tsx
|
2803
|
-
var import_react10 = __toESM(require("react"));
|
2804
|
-
|
2805
|
-
// blocks/auth/AuthButtons.tsx
|
2806
3084
|
var import_react12 = __toESM(require("react"));
|
2807
3085
|
|
2808
|
-
// elements/logos/Logos.tsx
|
2809
|
-
var import_react11 = __toESM(require("react"));
|
2810
|
-
var Logos = {
|
2811
|
-
hawa: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
2812
|
-
"svg",
|
2813
|
-
{
|
2814
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2815
|
-
xmlSpace: "preserve",
|
2816
|
-
viewBox: "0 0 765 765",
|
2817
|
-
...props
|
2818
|
-
},
|
2819
|
-
/* @__PURE__ */ import_react11.default.createElement(
|
2820
|
-
"path",
|
2821
|
-
{
|
2822
|
-
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",
|
2823
|
-
fill: "currentColor"
|
2824
|
-
}
|
2825
|
-
)
|
2826
|
-
),
|
2827
|
-
sikka: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
2828
|
-
"svg",
|
2829
|
-
{
|
2830
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2831
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
2832
|
-
xmlSpace: "preserve",
|
2833
|
-
viewBox: "0 0 916.5 765",
|
2834
|
-
fill: "currentColor",
|
2835
|
-
...props
|
2836
|
-
},
|
2837
|
-
/* @__PURE__ */ import_react11.default.createElement("defs", null, /* @__PURE__ */ import_react11.default.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
2838
|
-
/* @__PURE__ */ import_react11.default.createElement("clipPath", { id: "b" }, /* @__PURE__ */ import_react11.default.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
2839
|
-
/* @__PURE__ */ import_react11.default.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ import_react11.default.createElement("defs", null, /* @__PURE__ */ import_react11.default.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ import_react11.default.createElement("clipPath", { id: "d" }, /* @__PURE__ */ import_react11.default.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ import_react11.default.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ import_react11.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" })))
|
2840
|
-
),
|
2841
|
-
mail: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
2842
|
-
"svg",
|
2843
|
-
{
|
2844
|
-
stroke: "currentColor",
|
2845
|
-
fill: "none",
|
2846
|
-
strokeWidth: "2",
|
2847
|
-
viewBox: "0 0 24 24",
|
2848
|
-
strokeLinecap: "round",
|
2849
|
-
strokeLinejoin: "round",
|
2850
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2851
|
-
...props
|
2852
|
-
},
|
2853
|
-
/* @__PURE__ */ import_react11.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" }),
|
2854
|
-
/* @__PURE__ */ import_react11.default.createElement("polyline", { points: "22,6 12,13 2,6" })
|
2855
|
-
),
|
2856
|
-
phone: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
2857
|
-
"svg",
|
2858
|
-
{
|
2859
|
-
stroke: "currentColor",
|
2860
|
-
fill: "none",
|
2861
|
-
strokeWidth: "2",
|
2862
|
-
viewBox: "0 0 24 24",
|
2863
|
-
"aria-hidden": "true",
|
2864
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2865
|
-
...props
|
2866
|
-
},
|
2867
|
-
/* @__PURE__ */ import_react11.default.createElement(
|
2868
|
-
"path",
|
2869
|
-
{
|
2870
|
-
strokeLinecap: "round",
|
2871
|
-
strokeLinejoin: "round",
|
2872
|
-
d: "M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"
|
2873
|
-
}
|
2874
|
-
)
|
2875
|
-
),
|
2876
|
-
twitter: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2877
|
-
"path",
|
2878
|
-
{
|
2879
|
-
fill: "currentColor",
|
2880
|
-
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"
|
2881
|
-
}
|
2882
|
-
)),
|
2883
|
-
instagram: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
2884
|
-
"svg",
|
2885
|
-
{
|
2886
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2887
|
-
fill: "currentColor",
|
2888
|
-
viewBox: "0 0 16 16",
|
2889
|
-
...props
|
2890
|
-
},
|
2891
|
-
/* @__PURE__ */ import_react11.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" })
|
2892
|
-
),
|
2893
|
-
microsoft: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2894
|
-
"path",
|
2895
|
-
{
|
2896
|
-
fill: "currentColor",
|
2897
|
-
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
2898
|
-
}
|
2899
|
-
)),
|
2900
|
-
github: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
2901
|
-
"svg",
|
2902
|
-
{
|
2903
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2904
|
-
viewBox: "0 0 438.549 438.549",
|
2905
|
-
...props
|
2906
|
-
},
|
2907
|
-
/* @__PURE__ */ import_react11.default.createElement(
|
2908
|
-
"path",
|
2909
|
-
{
|
2910
|
-
fill: "currentColor",
|
2911
|
-
d: "M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"
|
2912
|
-
}
|
2913
|
-
)
|
2914
|
-
),
|
2915
|
-
radix: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2916
|
-
"path",
|
2917
|
-
{
|
2918
|
-
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
2919
|
-
fill: "currentcolor"
|
2920
|
-
}
|
2921
|
-
), /* @__PURE__ */ import_react11.default.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ import_react11.default.createElement(
|
2922
|
-
"path",
|
2923
|
-
{
|
2924
|
-
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",
|
2925
|
-
fill: "currentcolor"
|
2926
|
-
}
|
2927
|
-
)),
|
2928
|
-
aria: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react11.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" })),
|
2929
|
-
npm: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2930
|
-
"path",
|
2931
|
-
{
|
2932
|
-
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",
|
2933
|
-
fill: "currentColor"
|
2934
|
-
}
|
2935
|
-
)),
|
2936
|
-
yarn: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2937
|
-
"path",
|
2938
|
-
{
|
2939
|
-
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",
|
2940
|
-
fill: "currentColor"
|
2941
|
-
}
|
2942
|
-
)),
|
2943
|
-
pnpm: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2944
|
-
"path",
|
2945
|
-
{
|
2946
|
-
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",
|
2947
|
-
fill: "currentColor"
|
2948
|
-
}
|
2949
|
-
)),
|
2950
|
-
react: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2951
|
-
"path",
|
2952
|
-
{
|
2953
|
-
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",
|
2954
|
-
fill: "currentColor"
|
2955
|
-
}
|
2956
|
-
)),
|
2957
|
-
tailwind: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2958
|
-
"path",
|
2959
|
-
{
|
2960
|
-
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",
|
2961
|
-
fill: "currentColor"
|
2962
|
-
}
|
2963
|
-
)),
|
2964
|
-
google: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2965
|
-
"path",
|
2966
|
-
{
|
2967
|
-
fill: "currentColor",
|
2968
|
-
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"
|
2969
|
-
}
|
2970
|
-
)),
|
2971
|
-
apple: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2972
|
-
"path",
|
2973
|
-
{
|
2974
|
-
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",
|
2975
|
-
fill: "currentColor"
|
2976
|
-
}
|
2977
|
-
)),
|
2978
|
-
paypal: (props) => /* @__PURE__ */ import_react11.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react11.default.createElement(
|
2979
|
-
"path",
|
2980
|
-
{
|
2981
|
-
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",
|
2982
|
-
fill: "currentColor"
|
2983
|
-
}
|
2984
|
-
)),
|
2985
|
-
spinner: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
2986
|
-
"svg",
|
2987
|
-
{
|
2988
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2989
|
-
width: "24",
|
2990
|
-
height: "24",
|
2991
|
-
viewBox: "0 0 24 24",
|
2992
|
-
fill: "none",
|
2993
|
-
stroke: "currentColor",
|
2994
|
-
strokeWidth: "2",
|
2995
|
-
strokeLinecap: "round",
|
2996
|
-
strokeLinejoin: "round",
|
2997
|
-
...props
|
2998
|
-
},
|
2999
|
-
/* @__PURE__ */ import_react11.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
3000
|
-
),
|
3001
|
-
whatsapp: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
3002
|
-
"svg",
|
3003
|
-
{
|
3004
|
-
xmlns: "http://www.w3.org/2000/svg",
|
3005
|
-
viewBox: "0 0 24 24",
|
3006
|
-
fill: "currentColor",
|
3007
|
-
...props
|
3008
|
-
},
|
3009
|
-
/* @__PURE__ */ import_react11.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" })
|
3010
|
-
)
|
3011
|
-
};
|
3012
|
-
|
3013
|
-
// blocks/auth/AuthButtons.tsx
|
3014
|
-
var AuthButtons = (props) => {
|
3015
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
3016
|
-
return /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ import_react12.default.createElement(
|
3017
|
-
Button,
|
3018
|
-
{
|
3019
|
-
disabled: props.isGoogleLoading,
|
3020
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
3021
|
-
variant: "outline",
|
3022
|
-
onClick: props.handleGoogle
|
3023
|
-
},
|
3024
|
-
props.isGoogleLoading ? /* @__PURE__ */ import_react12.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react12.default.createElement(Logos.google, { className: "hawa-icon" }),
|
3025
|
-
(_b = (_a = props.texts) == null ? void 0 : _a.continueWithGoogle) != null ? _b : "Continue With Google"
|
3026
|
-
), props.viaGithub && /* @__PURE__ */ import_react12.default.createElement(
|
3027
|
-
Button,
|
3028
|
-
{
|
3029
|
-
disabled: props.isGithubLoading,
|
3030
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
3031
|
-
variant: "outline",
|
3032
|
-
onClick: props.handleGithub
|
3033
|
-
},
|
3034
|
-
props.isGithubLoading ? /* @__PURE__ */ import_react12.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react12.default.createElement(Logos.github, { className: "hawa-icon" }),
|
3035
|
-
(_d = (_c = props.texts) == null ? void 0 : _c.continueWithGithub) != null ? _d : "Continue With Github"
|
3036
|
-
), props.viaTwitter && /* @__PURE__ */ import_react12.default.createElement(
|
3037
|
-
Button,
|
3038
|
-
{
|
3039
|
-
disabled: props.isTwitterLoading,
|
3040
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
3041
|
-
variant: "outline",
|
3042
|
-
onClick: props.handleTwitter
|
3043
|
-
},
|
3044
|
-
props.isTwitterLoading ? /* @__PURE__ */ import_react12.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react12.default.createElement(Logos.twitter, { className: "hawa-icon" }),
|
3045
|
-
(_f = (_e = props.texts) == null ? void 0 : _e.continueWithTwitter) != null ? _f : "Continue With Twitter"
|
3046
|
-
), props.viaApple && /* @__PURE__ */ import_react12.default.createElement(
|
3047
|
-
Button,
|
3048
|
-
{
|
3049
|
-
disabled: props.isAppleLoading,
|
3050
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
3051
|
-
variant: "outline",
|
3052
|
-
onClick: props.handleApple
|
3053
|
-
},
|
3054
|
-
props.isAppleLoading ? /* @__PURE__ */ import_react12.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react12.default.createElement(Logos.apple, { className: "hawa-icon" }),
|
3055
|
-
(_h = (_g = props.texts) == null ? void 0 : _g.continueWithApple) != null ? _h : "Continue With Apple"
|
3056
|
-
), props.viaMicrosoft && /* @__PURE__ */ import_react12.default.createElement(
|
3057
|
-
Button,
|
3058
|
-
{
|
3059
|
-
disabled: props.isMicrosoftLoading,
|
3060
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
3061
|
-
variant: "outline",
|
3062
|
-
onClick: props.handleMicrosoft
|
3063
|
-
},
|
3064
|
-
props.isMicrosoftLoading ? /* @__PURE__ */ import_react12.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react12.default.createElement(Logos.microsoft, { className: "hawa-icon" }),
|
3065
|
-
(_j = (_i = props.texts) == null ? void 0 : _i.continueWithMicrosoft) != null ? _j : "Continue With Microsoft"
|
3066
|
-
), props.viaEmail && /* @__PURE__ */ import_react12.default.createElement(
|
3067
|
-
Button,
|
3068
|
-
{
|
3069
|
-
disabled: props.isEmailLoading,
|
3070
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
3071
|
-
variant: "outline",
|
3072
|
-
onClick: props.handleEmail
|
3073
|
-
},
|
3074
|
-
props.isEmailLoading ? /* @__PURE__ */ import_react12.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react12.default.createElement(Logos.mail, { className: "hawa-icon" }),
|
3075
|
-
(_l = (_k = props.texts) == null ? void 0 : _k.continueWithEmail) != null ? _l : "Continue With Email"
|
3076
|
-
), props.viaPhone && /* @__PURE__ */ import_react12.default.createElement(
|
3077
|
-
Button,
|
3078
|
-
{
|
3079
|
-
disabled: props.isPhoneLoading,
|
3080
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
3081
|
-
variant: "outline",
|
3082
|
-
onClick: props.handlePhone
|
3083
|
-
},
|
3084
|
-
props.isPhoneLoading ? /* @__PURE__ */ import_react12.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react12.default.createElement(Logos.phone, { className: "hawa-icon" }),
|
3085
|
-
(_n = (_m = props.texts) == null ? void 0 : _m.continueWithPhone) != null ? _n : "Continue With Phone"
|
3086
|
-
));
|
3087
|
-
};
|
3088
|
-
|
3089
3086
|
// blocks/auth/LoginForm.tsx
|
3090
3087
|
var LoginForm = ({
|
3091
3088
|
loginType = "email",
|
@@ -4062,10 +4059,15 @@ var import_react19 = __toESM(require("react"));
|
|
4062
4059
|
var import_react_hook_form4 = require("react-hook-form");
|
4063
4060
|
var import_zod4 = require("@hookform/resolvers/zod");
|
4064
4061
|
var z4 = __toESM(require("zod"));
|
4065
|
-
var ResetPasswordForm = (
|
4062
|
+
var ResetPasswordForm = ({
|
4063
|
+
allowRegister = true,
|
4064
|
+
...props
|
4065
|
+
}) => {
|
4066
4066
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
4067
4067
|
const formSchema = z4.object({
|
4068
|
-
email: z4.string({
|
4068
|
+
email: z4.string({
|
4069
|
+
required_error: ((_b = (_a = props.texts) == null ? void 0 : _a.email) == null ? void 0 : _b.required) || "Email is required"
|
4070
|
+
}).email({ message: ((_d = (_c = props.texts) == null ? void 0 : _c.email) == null ? void 0 : _d.invalid) || "Invalid email" }).min(1, { message: ((_f = (_e = props.texts) == null ? void 0 : _e.email) == null ? void 0 : _f.required) || "Email is required" })
|
4069
4071
|
});
|
4070
4072
|
const { handleSubmit, control, formState } = (0, import_react_hook_form4.useForm)({
|
4071
4073
|
resolver: (0, import_zod4.zodResolver)(formSchema)
|
@@ -4082,7 +4084,7 @@ var ResetPasswordForm = (props) => {
|
|
4082
4084
|
}
|
4083
4085
|
})
|
4084
4086
|
},
|
4085
|
-
/* @__PURE__ */ import_react19.default.createElement(CardContent, { headless: props.headless }, /* @__PURE__ */ import_react19.default.createElement(
|
4087
|
+
/* @__PURE__ */ import_react19.default.createElement(CardContent, { headless: props.headless, className: "hawa-pb-4" }, /* @__PURE__ */ import_react19.default.createElement(
|
4086
4088
|
import_react_hook_form4.Controller,
|
4087
4089
|
{
|
4088
4090
|
control,
|
@@ -4093,7 +4095,7 @@ var ResetPasswordForm = (props) => {
|
|
4093
4095
|
Input,
|
4094
4096
|
{
|
4095
4097
|
width: "full",
|
4096
|
-
label: (_b2 = (_a2 = props.texts) == null ? void 0 : _a2.email) == null ? void 0 : _b2.label,
|
4098
|
+
label: ((_b2 = (_a2 = props.texts) == null ? void 0 : _a2.email) == null ? void 0 : _b2.label) || "Email",
|
4097
4099
|
helperText: (_c2 = formState.errors.email) == null ? void 0 : _c2.message,
|
4098
4100
|
placeholder: (_e2 = (_d2 = props.texts) == null ? void 0 : _d2.email) == null ? void 0 : _e2.placeholder,
|
4099
4101
|
...field
|
@@ -4102,7 +4104,7 @@ var ResetPasswordForm = (props) => {
|
|
4102
4104
|
}
|
4103
4105
|
}
|
4104
4106
|
)),
|
4105
|
-
/* @__PURE__ */ import_react19.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react19.default.createElement(Button, { type: "submit", className: "hawa-w-full" }, (_i = props.texts) == null ? void 0 : _i.resetPassword),
|
4107
|
+
/* @__PURE__ */ import_react19.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react19.default.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react19.default.createElement(
|
4106
4108
|
"span",
|
4107
4109
|
{
|
4108
4110
|
className: "clickable-link",
|
@@ -4110,7 +4112,7 @@ var ResetPasswordForm = (props) => {
|
|
4110
4112
|
},
|
4111
4113
|
(_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
|
4112
4114
|
)))
|
4113
|
-
)) : /* @__PURE__ */ import_react19.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
|
4115
|
+
)) : /* @__PURE__ */ import_react19.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-text-center" }, ((_n = props.texts) == null ? void 0 : _n.emailSentText) || "An email has been sent with a link to set a new password")));
|
4114
4116
|
};
|
4115
4117
|
|
4116
4118
|
// blocks/auth/CodeConfirmation.tsx
|
@@ -4299,6 +4301,7 @@ var CodeConfirmation = (props) => {
|
|
4299
4301
|
// Annotate the CommonJS export names for ESM import in node:
|
4300
4302
|
0 && (module.exports = {
|
4301
4303
|
AppLanding,
|
4304
|
+
AuthButtons,
|
4302
4305
|
CheckEmail,
|
4303
4306
|
CodeConfirmation,
|
4304
4307
|
LoginForm,
|