@sikka/hawa 0.28.0 → 0.28.2-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.
Files changed (49) hide show
  1. package/dist/blocks/auth/index.d.mts +7 -1
  2. package/dist/blocks/auth/index.d.ts +7 -1
  3. package/dist/blocks/auth/index.js +185 -12
  4. package/dist/blocks/auth/index.mjs +185 -12
  5. package/dist/blocks/feedback/index.d.mts +4 -1
  6. package/dist/blocks/feedback/index.d.ts +4 -1
  7. package/dist/blocks/feedback/index.js +2 -5
  8. package/dist/blocks/feedback/index.mjs +2 -5
  9. package/dist/blocks/index.d.mts +9 -0
  10. package/dist/blocks/index.d.ts +9 -0
  11. package/dist/blocks/index.js +187 -17
  12. package/dist/blocks/index.mjs +41 -19
  13. package/dist/blocks/misc/index.d.mts +1 -1
  14. package/dist/blocks/misc/index.d.ts +1 -1
  15. package/dist/blocks/pricing/index.d.mts +1 -1
  16. package/dist/blocks/pricing/index.d.ts +1 -1
  17. package/dist/{chunk-Y3HUZNCH.mjs → chunk-GQF62TFQ.mjs} +1 -1
  18. package/dist/{chunk-TIQERSM3.mjs → chunk-N7FGYBM5.mjs} +1 -1
  19. package/dist/{chunk-R2NAPFAZ.mjs → chunk-ZOFKAJPJ.mjs} +148 -0
  20. package/dist/codeBlock/index.js +30 -35
  21. package/dist/codeBlock/index.js.map +1 -1
  22. package/dist/codeBlock/index.mjs +30 -35
  23. package/dist/codeBlock/index.mjs.map +1 -1
  24. package/dist/docsLayout/index.js +148 -0
  25. package/dist/docsLayout/index.js.map +1 -1
  26. package/dist/docsLayout/index.mjs +148 -0
  27. package/dist/docsLayout/index.mjs.map +1 -1
  28. package/dist/elements/index.d.mts +2 -0
  29. package/dist/elements/index.d.ts +2 -0
  30. package/dist/elements/index.js +178 -35
  31. package/dist/elements/index.mjs +33 -38
  32. package/dist/index.css +11 -15
  33. package/dist/index.d.mts +13 -0
  34. package/dist/index.d.ts +13 -0
  35. package/dist/index.js +217 -52
  36. package/dist/index.mjs +217 -52
  37. package/dist/layout/index.js +148 -0
  38. package/dist/layout/index.mjs +2 -2
  39. package/dist/logos/index.d.mts +2 -0
  40. package/dist/logos/index.d.ts +2 -0
  41. package/dist/logos/index.js +148 -0
  42. package/dist/logos/index.js.map +1 -1
  43. package/dist/logos/index.mjs +148 -0
  44. package/dist/logos/index.mjs.map +1 -1
  45. package/dist/{textTypes-ah2JJr8v.d.ts → textTypes-DAgkNov8.d.mts} +2 -0
  46. package/dist/{textTypes-ah2JJr8v.d.mts → textTypes-DAgkNov8.d.ts} +2 -0
  47. package/dist/types/index.d.mts +2 -0
  48. package/dist/types/index.d.ts +2 -0
  49. package/package.json +8 -8
@@ -1,9 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { FC } from 'react';
3
- import { a as ThirdPartyAuthTextsTypes, L as LoginFormTextsTypes, D as DirectionType, P as PositionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-ah2JJr8v.mjs';
3
+ import { a as ThirdPartyAuthTextsTypes, L as LoginFormTextsTypes, D as DirectionType, P as PositionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-DAgkNov8.mjs';
4
4
 
5
5
  type AuthButtonsType = {
6
6
  texts?: ThirdPartyAuthTextsTypes;
7
+ viaMetamask?: boolean;
8
+ viaNafath?: boolean;
7
9
  viaGoogle?: boolean;
8
10
  viaTwitter?: boolean;
9
11
  viaGithub?: boolean;
@@ -11,6 +13,8 @@ type AuthButtonsType = {
11
13
  viaEmail?: boolean;
12
14
  viaPhone?: boolean;
13
15
  viaApple?: boolean;
16
+ isMetamaskLoading?: boolean;
17
+ isNafathLoading?: boolean;
14
18
  isGoogleLoading?: boolean;
15
19
  isGithubLoading?: boolean;
16
20
  isTwitterLoading?: boolean;
@@ -18,6 +22,8 @@ type AuthButtonsType = {
18
22
  isEmailLoading?: boolean;
19
23
  isPhoneLoading?: boolean;
20
24
  isAppleLoading?: boolean;
25
+ handleMetamask?: () => void;
26
+ handleNafath?: () => void;
21
27
  handleGoogle?: () => void;
22
28
  handleTwitter?: () => void;
23
29
  handleApple?: () => void;
@@ -1,9 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { FC } from 'react';
3
- import { a as ThirdPartyAuthTextsTypes, L as LoginFormTextsTypes, D as DirectionType, P as PositionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-ah2JJr8v.js';
3
+ import { a as ThirdPartyAuthTextsTypes, L as LoginFormTextsTypes, D as DirectionType, P as PositionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-DAgkNov8.js';
4
4
 
5
5
  type AuthButtonsType = {
6
6
  texts?: ThirdPartyAuthTextsTypes;
7
+ viaMetamask?: boolean;
8
+ viaNafath?: boolean;
7
9
  viaGoogle?: boolean;
8
10
  viaTwitter?: boolean;
9
11
  viaGithub?: boolean;
@@ -11,6 +13,8 @@ type AuthButtonsType = {
11
13
  viaEmail?: boolean;
12
14
  viaPhone?: boolean;
13
15
  viaApple?: boolean;
16
+ isMetamaskLoading?: boolean;
17
+ isNafathLoading?: boolean;
14
18
  isGoogleLoading?: boolean;
15
19
  isGithubLoading?: boolean;
16
20
  isTwitterLoading?: boolean;
@@ -18,6 +22,8 @@ type AuthButtonsType = {
18
22
  isEmailLoading?: boolean;
19
23
  isPhoneLoading?: boolean;
20
24
  isAppleLoading?: boolean;
25
+ handleMetamask?: () => void;
26
+ handleNafath?: () => void;
21
27
  handleGoogle?: () => void;
22
28
  handleTwitter?: () => void;
23
29
  handleApple?: () => void;
@@ -349,6 +349,154 @@ Button.displayName = "Button";
349
349
  // elements/logos/Logos.tsx
350
350
  var import_react2 = __toESM(require("react"));
351
351
  var Logos = {
352
+ metamask: (props) => /* @__PURE__ */ import_react2.default.createElement(
353
+ "svg",
354
+ {
355
+ xmlns: "http://www.w3.org/2000/svg",
356
+ xmlSpace: "preserve",
357
+ id: "Layer_1",
358
+ x: 0,
359
+ y: 0,
360
+ viewBox: "0 0 318.6 318.6",
361
+ ...props
362
+ },
363
+ /* @__PURE__ */ import_react2.default.createElement("style", null, ".st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}"),
364
+ /* @__PURE__ */ import_react2.default.createElement(
365
+ "path",
366
+ {
367
+ fill: "#e2761b",
368
+ stroke: "#e2761b",
369
+ strokeLinecap: "round",
370
+ strokeLinejoin: "round",
371
+ d: "m274.1 35.5-99.5 73.9L193 65.8z"
372
+ }
373
+ ),
374
+ /* @__PURE__ */ import_react2.default.createElement(
375
+ "path",
376
+ {
377
+ 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",
378
+ className: "st1"
379
+ }
380
+ ),
381
+ /* @__PURE__ */ import_react2.default.createElement(
382
+ "path",
383
+ {
384
+ 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",
385
+ className: "st1"
386
+ }
387
+ ),
388
+ /* @__PURE__ */ import_react2.default.createElement(
389
+ "path",
390
+ {
391
+ fill: "#d7c1b3",
392
+ stroke: "#d7c1b3",
393
+ strokeLinecap: "round",
394
+ strokeLinejoin: "round",
395
+ 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"
396
+ }
397
+ ),
398
+ /* @__PURE__ */ import_react2.default.createElement(
399
+ "path",
400
+ {
401
+ fill: "#233447",
402
+ stroke: "#233447",
403
+ strokeLinecap: "round",
404
+ strokeLinejoin: "round",
405
+ d: "m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"
406
+ }
407
+ ),
408
+ /* @__PURE__ */ import_react2.default.createElement(
409
+ "path",
410
+ {
411
+ fill: "#cd6116",
412
+ stroke: "#cd6116",
413
+ strokeLinecap: "round",
414
+ strokeLinejoin: "round",
415
+ 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"
416
+ }
417
+ ),
418
+ /* @__PURE__ */ import_react2.default.createElement(
419
+ "path",
420
+ {
421
+ fill: "#e4751f",
422
+ stroke: "#e4751f",
423
+ strokeLinecap: "round",
424
+ strokeLinejoin: "round",
425
+ 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"
426
+ }
427
+ ),
428
+ /* @__PURE__ */ import_react2.default.createElement(
429
+ "path",
430
+ {
431
+ 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",
432
+ className: "st6"
433
+ }
434
+ ),
435
+ /* @__PURE__ */ import_react2.default.createElement(
436
+ "path",
437
+ {
438
+ fill: "#c0ad9e",
439
+ stroke: "#c0ad9e",
440
+ strokeLinecap: "round",
441
+ strokeLinejoin: "round",
442
+ 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"
443
+ }
444
+ ),
445
+ /* @__PURE__ */ import_react2.default.createElement(
446
+ "path",
447
+ {
448
+ fill: "#161616",
449
+ stroke: "#161616",
450
+ strokeLinecap: "round",
451
+ strokeLinejoin: "round",
452
+ 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"
453
+ }
454
+ ),
455
+ /* @__PURE__ */ import_react2.default.createElement(
456
+ "path",
457
+ {
458
+ fill: "#763d16",
459
+ stroke: "#763d16",
460
+ strokeLinecap: "round",
461
+ strokeLinejoin: "round",
462
+ 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"
463
+ }
464
+ ),
465
+ /* @__PURE__ */ import_react2.default.createElement(
466
+ "path",
467
+ {
468
+ 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",
469
+ className: "st6"
470
+ }
471
+ )
472
+ ),
473
+ nafath: (props) => /* @__PURE__ */ import_react2.default.createElement(
474
+ "svg",
475
+ {
476
+ xmlns: "http://www.w3.org/2000/svg",
477
+ xmlSpace: "preserve",
478
+ id: "Layer_1",
479
+ x: 0,
480
+ y: 0,
481
+ viewBox: "22.5 44.5 535.6 230.34",
482
+ ...props
483
+ },
484
+ /* @__PURE__ */ import_react2.default.createElement("style", null, ".st0{fill:#0a9a8f}"),
485
+ /* @__PURE__ */ import_react2.default.createElement(
486
+ "path",
487
+ {
488
+ 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",
489
+ className: "st0"
490
+ }
491
+ ),
492
+ /* @__PURE__ */ import_react2.default.createElement(
493
+ "path",
494
+ {
495
+ 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",
496
+ className: "st0"
497
+ }
498
+ )
499
+ ),
352
500
  hawa: (props) => /* @__PURE__ */ import_react2.default.createElement(
353
501
  "svg",
354
502
  {
@@ -553,8 +701,28 @@ var Logos = {
553
701
 
554
702
  // blocks/auth/AuthButtons.tsx
555
703
  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(
704
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
705
+ return /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaMetamask && /* @__PURE__ */ import_react3.default.createElement(
706
+ Button,
707
+ {
708
+ disabled: props.isMetamaskLoading,
709
+ className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
710
+ variant: "outline",
711
+ onClick: props.handleMetamask
712
+ },
713
+ props.isMetamaskLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.metamask, { className: "hawa-h-6" }),
714
+ (_b = (_a = props.texts) == null ? void 0 : _a.continueWithMetamask) != null ? _b : "Connect Metamask"
715
+ ), props.viaNafath && /* @__PURE__ */ import_react3.default.createElement(
716
+ Button,
717
+ {
718
+ disabled: props.isNafathLoading,
719
+ className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
720
+ variant: "outline",
721
+ onClick: props.handleNafath
722
+ },
723
+ props.isNafathLoading ? /* @__PURE__ */ import_react3.default.createElement(Loading, { size: "button" }) : /* @__PURE__ */ import_react3.default.createElement(Logos.nafath, { className: "hawa-h-4" }),
724
+ (_d = (_c = props.texts) == null ? void 0 : _c.continueWithNafath) != null ? _d : "Continue With Nafath"
725
+ ), props.viaGoogle && /* @__PURE__ */ import_react3.default.createElement(
558
726
  Button,
559
727
  {
560
728
  disabled: props.isGoogleLoading,
@@ -563,7 +731,7 @@ var AuthButtons = (props) => {
563
731
  onClick: props.handleGoogle
564
732
  },
565
733
  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"
734
+ (_f = (_e = props.texts) == null ? void 0 : _e.continueWithGoogle) != null ? _f : "Continue With Google"
567
735
  ), props.viaGithub && /* @__PURE__ */ import_react3.default.createElement(
568
736
  Button,
569
737
  {
@@ -573,7 +741,7 @@ var AuthButtons = (props) => {
573
741
  onClick: props.handleGithub
574
742
  },
575
743
  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"
744
+ (_h = (_g = props.texts) == null ? void 0 : _g.continueWithGithub) != null ? _h : "Continue With Github"
577
745
  ), props.viaTwitter && /* @__PURE__ */ import_react3.default.createElement(
578
746
  Button,
579
747
  {
@@ -583,7 +751,7 @@ var AuthButtons = (props) => {
583
751
  onClick: props.handleTwitter
584
752
  },
585
753
  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"
754
+ (_j = (_i = props.texts) == null ? void 0 : _i.continueWithTwitter) != null ? _j : "Continue With Twitter"
587
755
  ), props.viaApple && /* @__PURE__ */ import_react3.default.createElement(
588
756
  Button,
589
757
  {
@@ -593,7 +761,7 @@ var AuthButtons = (props) => {
593
761
  onClick: props.handleApple
594
762
  },
595
763
  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"
764
+ (_l = (_k = props.texts) == null ? void 0 : _k.continueWithApple) != null ? _l : "Continue With Apple"
597
765
  ), props.viaMicrosoft && /* @__PURE__ */ import_react3.default.createElement(
598
766
  Button,
599
767
  {
@@ -603,7 +771,7 @@ var AuthButtons = (props) => {
603
771
  onClick: props.handleMicrosoft
604
772
  },
605
773
  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"
774
+ (_n = (_m = props.texts) == null ? void 0 : _m.continueWithMicrosoft) != null ? _n : "Continue With Microsoft"
607
775
  ), props.viaEmail && /* @__PURE__ */ import_react3.default.createElement(
608
776
  Button,
609
777
  {
@@ -613,7 +781,7 @@ var AuthButtons = (props) => {
613
781
  onClick: props.handleEmail
614
782
  },
615
783
  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"
784
+ (_p = (_o = props.texts) == null ? void 0 : _o.continueWithEmail) != null ? _p : "Continue With Email"
617
785
  ), props.viaPhone && /* @__PURE__ */ import_react3.default.createElement(
618
786
  Button,
619
787
  {
@@ -623,7 +791,7 @@ var AuthButtons = (props) => {
623
791
  onClick: props.handlePhone
624
792
  },
625
793
  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"
794
+ (_r = (_q = props.texts) == null ? void 0 : _q.continueWithPhone) != null ? _r : "Continue With Phone"
627
795
  ));
628
796
  };
629
797
 
@@ -3831,10 +3999,15 @@ var RegisterForm = ({
3831
3999
  id: "terms_accepted",
3832
4000
  helperText: (_b2 = (_a2 = formState.errors.terms_accepted) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString(),
3833
4001
  onCheckedChange: (e) => field.onChange(e),
3834
- label: /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5" }, /* @__PURE__ */ import_react15.default.createElement("span", null, (texts == null ? void 0 : texts.iAcceptText) || "I accept the "), " ", /* @__PURE__ */ import_react15.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react15.default.createElement(
3835
- "a",
4002
+ label: /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5 hawa-whitespace-nowrap hawa-flex-wrap" }, (texts == null ? void 0 : texts.iAcceptText) || "I accept the", " ", /* @__PURE__ */ import_react15.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react15.default.createElement(
4003
+ "span",
3836
4004
  {
3837
- onClick: props.onRouteToTOS,
4005
+ onClick: (e) => {
4006
+ e.preventDefault();
4007
+ if (props.onRouteToTOS) {
4008
+ props.onRouteToTOS();
4009
+ }
4010
+ },
3838
4011
  className: "clickable-link"
3839
4012
  },
3840
4013
  (texts == null ? void 0 : texts.termsText) || "Terms of Service"
@@ -31,6 +31,154 @@ import React2 from "react";
31
31
  // elements/logos/Logos.tsx
32
32
  import React from "react";
33
33
  var Logos = {
34
+ metamask: (props) => /* @__PURE__ */ React.createElement(
35
+ "svg",
36
+ {
37
+ xmlns: "http://www.w3.org/2000/svg",
38
+ xmlSpace: "preserve",
39
+ id: "Layer_1",
40
+ x: 0,
41
+ y: 0,
42
+ viewBox: "0 0 318.6 318.6",
43
+ ...props
44
+ },
45
+ /* @__PURE__ */ React.createElement("style", null, ".st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}"),
46
+ /* @__PURE__ */ React.createElement(
47
+ "path",
48
+ {
49
+ fill: "#e2761b",
50
+ stroke: "#e2761b",
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round",
53
+ d: "m274.1 35.5-99.5 73.9L193 65.8z"
54
+ }
55
+ ),
56
+ /* @__PURE__ */ React.createElement(
57
+ "path",
58
+ {
59
+ 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",
60
+ className: "st1"
61
+ }
62
+ ),
63
+ /* @__PURE__ */ React.createElement(
64
+ "path",
65
+ {
66
+ 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",
67
+ className: "st1"
68
+ }
69
+ ),
70
+ /* @__PURE__ */ React.createElement(
71
+ "path",
72
+ {
73
+ fill: "#d7c1b3",
74
+ stroke: "#d7c1b3",
75
+ strokeLinecap: "round",
76
+ strokeLinejoin: "round",
77
+ 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"
78
+ }
79
+ ),
80
+ /* @__PURE__ */ React.createElement(
81
+ "path",
82
+ {
83
+ fill: "#233447",
84
+ stroke: "#233447",
85
+ strokeLinecap: "round",
86
+ strokeLinejoin: "round",
87
+ d: "m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"
88
+ }
89
+ ),
90
+ /* @__PURE__ */ React.createElement(
91
+ "path",
92
+ {
93
+ fill: "#cd6116",
94
+ stroke: "#cd6116",
95
+ strokeLinecap: "round",
96
+ strokeLinejoin: "round",
97
+ 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"
98
+ }
99
+ ),
100
+ /* @__PURE__ */ React.createElement(
101
+ "path",
102
+ {
103
+ fill: "#e4751f",
104
+ stroke: "#e4751f",
105
+ strokeLinecap: "round",
106
+ strokeLinejoin: "round",
107
+ 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"
108
+ }
109
+ ),
110
+ /* @__PURE__ */ React.createElement(
111
+ "path",
112
+ {
113
+ 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",
114
+ className: "st6"
115
+ }
116
+ ),
117
+ /* @__PURE__ */ React.createElement(
118
+ "path",
119
+ {
120
+ fill: "#c0ad9e",
121
+ stroke: "#c0ad9e",
122
+ strokeLinecap: "round",
123
+ strokeLinejoin: "round",
124
+ 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"
125
+ }
126
+ ),
127
+ /* @__PURE__ */ React.createElement(
128
+ "path",
129
+ {
130
+ fill: "#161616",
131
+ stroke: "#161616",
132
+ strokeLinecap: "round",
133
+ strokeLinejoin: "round",
134
+ 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"
135
+ }
136
+ ),
137
+ /* @__PURE__ */ React.createElement(
138
+ "path",
139
+ {
140
+ fill: "#763d16",
141
+ stroke: "#763d16",
142
+ strokeLinecap: "round",
143
+ strokeLinejoin: "round",
144
+ 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"
145
+ }
146
+ ),
147
+ /* @__PURE__ */ React.createElement(
148
+ "path",
149
+ {
150
+ 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",
151
+ className: "st6"
152
+ }
153
+ )
154
+ ),
155
+ nafath: (props) => /* @__PURE__ */ React.createElement(
156
+ "svg",
157
+ {
158
+ xmlns: "http://www.w3.org/2000/svg",
159
+ xmlSpace: "preserve",
160
+ id: "Layer_1",
161
+ x: 0,
162
+ y: 0,
163
+ viewBox: "22.5 44.5 535.6 230.34",
164
+ ...props
165
+ },
166
+ /* @__PURE__ */ React.createElement("style", null, ".st0{fill:#0a9a8f}"),
167
+ /* @__PURE__ */ React.createElement(
168
+ "path",
169
+ {
170
+ 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",
171
+ className: "st0"
172
+ }
173
+ ),
174
+ /* @__PURE__ */ React.createElement(
175
+ "path",
176
+ {
177
+ 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",
178
+ className: "st0"
179
+ }
180
+ )
181
+ ),
34
182
  hawa: (props) => /* @__PURE__ */ React.createElement(
35
183
  "svg",
36
184
  {
@@ -235,8 +383,28 @@ var Logos = {
235
383
 
236
384
  // blocks/auth/AuthButtons.tsx
237
385
  var AuthButtons = (props) => {
238
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
239
- return /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React2.createElement(
386
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
387
+ return /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaMetamask && /* @__PURE__ */ React2.createElement(
388
+ Button,
389
+ {
390
+ disabled: props.isMetamaskLoading,
391
+ className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
392
+ variant: "outline",
393
+ onClick: props.handleMetamask
394
+ },
395
+ props.isMetamaskLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.metamask, { className: "hawa-h-6" }),
396
+ (_b = (_a = props.texts) == null ? void 0 : _a.continueWithMetamask) != null ? _b : "Connect Metamask"
397
+ ), props.viaNafath && /* @__PURE__ */ React2.createElement(
398
+ Button,
399
+ {
400
+ disabled: props.isNafathLoading,
401
+ className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
402
+ variant: "outline",
403
+ onClick: props.handleNafath
404
+ },
405
+ props.isNafathLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.nafath, { className: "hawa-h-4" }),
406
+ (_d = (_c = props.texts) == null ? void 0 : _c.continueWithNafath) != null ? _d : "Continue With Nafath"
407
+ ), props.viaGoogle && /* @__PURE__ */ React2.createElement(
240
408
  Button,
241
409
  {
242
410
  disabled: props.isGoogleLoading,
@@ -245,7 +413,7 @@ var AuthButtons = (props) => {
245
413
  onClick: props.handleGoogle
246
414
  },
247
415
  props.isGoogleLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.google, { className: "hawa-icon" }),
248
- (_b = (_a = props.texts) == null ? void 0 : _a.continueWithGoogle) != null ? _b : "Continue With Google"
416
+ (_f = (_e = props.texts) == null ? void 0 : _e.continueWithGoogle) != null ? _f : "Continue With Google"
249
417
  ), props.viaGithub && /* @__PURE__ */ React2.createElement(
250
418
  Button,
251
419
  {
@@ -255,7 +423,7 @@ var AuthButtons = (props) => {
255
423
  onClick: props.handleGithub
256
424
  },
257
425
  props.isGithubLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.github, { className: "hawa-icon" }),
258
- (_d = (_c = props.texts) == null ? void 0 : _c.continueWithGithub) != null ? _d : "Continue With Github"
426
+ (_h = (_g = props.texts) == null ? void 0 : _g.continueWithGithub) != null ? _h : "Continue With Github"
259
427
  ), props.viaTwitter && /* @__PURE__ */ React2.createElement(
260
428
  Button,
261
429
  {
@@ -265,7 +433,7 @@ var AuthButtons = (props) => {
265
433
  onClick: props.handleTwitter
266
434
  },
267
435
  props.isTwitterLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.twitter, { className: "hawa-icon" }),
268
- (_f = (_e = props.texts) == null ? void 0 : _e.continueWithTwitter) != null ? _f : "Continue With Twitter"
436
+ (_j = (_i = props.texts) == null ? void 0 : _i.continueWithTwitter) != null ? _j : "Continue With Twitter"
269
437
  ), props.viaApple && /* @__PURE__ */ React2.createElement(
270
438
  Button,
271
439
  {
@@ -275,7 +443,7 @@ var AuthButtons = (props) => {
275
443
  onClick: props.handleApple
276
444
  },
277
445
  props.isAppleLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.apple, { className: "hawa-icon" }),
278
- (_h = (_g = props.texts) == null ? void 0 : _g.continueWithApple) != null ? _h : "Continue With Apple"
446
+ (_l = (_k = props.texts) == null ? void 0 : _k.continueWithApple) != null ? _l : "Continue With Apple"
279
447
  ), props.viaMicrosoft && /* @__PURE__ */ React2.createElement(
280
448
  Button,
281
449
  {
@@ -285,7 +453,7 @@ var AuthButtons = (props) => {
285
453
  onClick: props.handleMicrosoft
286
454
  },
287
455
  props.isMicrosoftLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.microsoft, { className: "hawa-icon" }),
288
- (_j = (_i = props.texts) == null ? void 0 : _i.continueWithMicrosoft) != null ? _j : "Continue With Microsoft"
456
+ (_n = (_m = props.texts) == null ? void 0 : _m.continueWithMicrosoft) != null ? _n : "Continue With Microsoft"
289
457
  ), props.viaEmail && /* @__PURE__ */ React2.createElement(
290
458
  Button,
291
459
  {
@@ -295,7 +463,7 @@ var AuthButtons = (props) => {
295
463
  onClick: props.handleEmail
296
464
  },
297
465
  props.isEmailLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.mail, { className: "hawa-icon" }),
298
- (_l = (_k = props.texts) == null ? void 0 : _k.continueWithEmail) != null ? _l : "Continue With Email"
466
+ (_p = (_o = props.texts) == null ? void 0 : _o.continueWithEmail) != null ? _p : "Continue With Email"
299
467
  ), props.viaPhone && /* @__PURE__ */ React2.createElement(
300
468
  Button,
301
469
  {
@@ -305,7 +473,7 @@ var AuthButtons = (props) => {
305
473
  onClick: props.handlePhone
306
474
  },
307
475
  props.isPhoneLoading ? /* @__PURE__ */ React2.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React2.createElement(Logos.phone, { className: "hawa-icon" }),
308
- (_n = (_m = props.texts) == null ? void 0 : _m.continueWithPhone) != null ? _n : "Continue With Phone"
476
+ (_r = (_q = props.texts) == null ? void 0 : _q.continueWithPhone) != null ? _r : "Continue With Phone"
309
477
  ));
310
478
  };
311
479
 
@@ -2955,10 +3123,15 @@ var RegisterForm = ({
2955
3123
  id: "terms_accepted",
2956
3124
  helperText: (_b2 = (_a2 = formState.errors.terms_accepted) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString(),
2957
3125
  onCheckedChange: (e) => field.onChange(e),
2958
- label: /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5" }, /* @__PURE__ */ React7.createElement("span", null, (texts == null ? void 0 : texts.iAcceptText) || "I accept the "), " ", /* @__PURE__ */ React7.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React7.createElement(
2959
- "a",
3126
+ label: /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5 hawa-whitespace-nowrap hawa-flex-wrap" }, (texts == null ? void 0 : texts.iAcceptText) || "I accept the", " ", /* @__PURE__ */ React7.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React7.createElement(
3127
+ "span",
2960
3128
  {
2961
- onClick: props.onRouteToTOS,
3129
+ onClick: (e) => {
3130
+ e.preventDefault();
3131
+ if (props.onRouteToTOS) {
3132
+ props.onRouteToTOS();
3133
+ }
3134
+ },
2962
3135
  className: "clickable-link"
2963
3136
  },
2964
3137
  (texts == null ? void 0 : texts.termsText) || "Terms of Service"
@@ -1,5 +1,5 @@
1
1
  import React__default, { FC } from 'react';
2
- import { D as DirectionType, B as BaseInputType } from '../../textTypes-ah2JJr8v.mjs';
2
+ import { D as DirectionType, B as BaseInputType } from '../../textTypes-DAgkNov8.mjs';
3
3
 
4
4
  type RadioOptionsTypes = {
5
5
  value: any;
@@ -55,6 +55,7 @@ type FeedbackFormDescriptionInputProps = BaseInputType & {
55
55
  tooShort?: string;
56
56
  };
57
57
  type FeedbackFormType = {
58
+ sent?: boolean;
58
59
  onSubmit: (e: any) => void;
59
60
  loadingSubmission?: boolean;
60
61
  requestTypes?: {
@@ -67,6 +68,8 @@ type FeedbackFormType = {
67
68
  requestType: FeedbackFormRequestTypeInputProps;
68
69
  description: FeedbackFormDescriptionInputProps;
69
70
  submit?: string;
71
+ sentTitle?: string;
72
+ sentSubtitle?: string;
70
73
  };
71
74
  };
72
75
  declare const FeedbackForm: React__default.FC<FeedbackFormType>;
@@ -1,5 +1,5 @@
1
1
  import React__default, { FC } from 'react';
2
- import { D as DirectionType, B as BaseInputType } from '../../textTypes-ah2JJr8v.js';
2
+ import { D as DirectionType, B as BaseInputType } from '../../textTypes-DAgkNov8.js';
3
3
 
4
4
  type RadioOptionsTypes = {
5
5
  value: any;
@@ -55,6 +55,7 @@ type FeedbackFormDescriptionInputProps = BaseInputType & {
55
55
  tooShort?: string;
56
56
  };
57
57
  type FeedbackFormType = {
58
+ sent?: boolean;
58
59
  onSubmit: (e: any) => void;
59
60
  loadingSubmission?: boolean;
60
61
  requestTypes?: {
@@ -67,6 +68,8 @@ type FeedbackFormType = {
67
68
  requestType: FeedbackFormRequestTypeInputProps;
68
69
  description: FeedbackFormDescriptionInputProps;
69
70
  submit?: string;
71
+ sentTitle?: string;
72
+ sentSubtitle?: string;
70
73
  };
71
74
  };
72
75
  declare const FeedbackForm: React__default.FC<FeedbackFormType>;
@@ -1542,10 +1542,7 @@ var FeedbackForm = (props) => {
1542
1542
  });
1543
1543
  const { handleSubmit, control, formState, reset } = (0, import_react_hook_form2.useForm)({
1544
1544
  resolver: (0, import_zod2.zodResolver)(formSchema),
1545
- defaultValues: {
1546
- requestType: "",
1547
- description: ""
1548
- }
1545
+ defaultValues: { requestType: "", description: "" }
1549
1546
  });
1550
1547
  return /* @__PURE__ */ import_react12.default.createElement(
1551
1548
  Card,
@@ -1555,7 +1552,7 @@ var FeedbackForm = (props) => {
1555
1552
  ),
1556
1553
  style: props.cardless ? { boxShadow: "none" } : void 0
1557
1554
  },
1558
- /* @__PURE__ */ import_react12.default.createElement(CardContent, { headless: true, className: props.cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ import_react12.default.createElement(
1555
+ /* @__PURE__ */ import_react12.default.createElement(CardContent, { headless: true, className: props.cardless ? "!hawa-p-0" : "" }, props.sent ? /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-text-center hawa-min-h-[200px] hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-font-bold hawa-text-lg" }, props.texts.sentTitle || "Form submitted"), /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-text-md" }, props.texts.sentSubtitle || "Thank you for your submission")) : /* @__PURE__ */ import_react12.default.createElement(
1559
1556
  "form",
1560
1557
  {
1561
1558
  noValidate: true,