@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
@@ -1,17 +1,17 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Input
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-KZCOE6V3.mjs";
|
5
5
|
import {
|
6
6
|
StopPropagationWrapper
|
7
7
|
} from "../../chunk-47APBDKK.mjs";
|
8
8
|
import {
|
9
9
|
Select
|
10
|
-
} from "../../chunk-
|
10
|
+
} from "../../chunk-ZV3KYZ5G.mjs";
|
11
11
|
import {
|
12
12
|
EyeIcon,
|
13
13
|
HiddenEyeIcon
|
14
|
-
} from "../../chunk-
|
14
|
+
} from "../../chunk-N5J4XNGU.mjs";
|
15
15
|
import {
|
16
16
|
Button,
|
17
17
|
Card,
|
@@ -23,7 +23,291 @@ import {
|
|
23
23
|
Label,
|
24
24
|
Loading,
|
25
25
|
cn
|
26
|
-
} from "../../chunk-
|
26
|
+
} from "../../chunk-SYZ5JMYJ.mjs";
|
27
|
+
|
28
|
+
// blocks/auth/AuthButtons.tsx
|
29
|
+
import React2 from "react";
|
30
|
+
|
31
|
+
// elements/logos/Logos.tsx
|
32
|
+
import React from "react";
|
33
|
+
var Logos = {
|
34
|
+
hawa: (props) => /* @__PURE__ */ React.createElement(
|
35
|
+
"svg",
|
36
|
+
{
|
37
|
+
xmlns: "http://www.w3.org/2000/svg",
|
38
|
+
xmlSpace: "preserve",
|
39
|
+
viewBox: "0 0 765 765",
|
40
|
+
...props
|
41
|
+
},
|
42
|
+
/* @__PURE__ */ React.createElement(
|
43
|
+
"path",
|
44
|
+
{
|
45
|
+
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",
|
46
|
+
fill: "currentColor"
|
47
|
+
}
|
48
|
+
)
|
49
|
+
),
|
50
|
+
sikka: (props) => /* @__PURE__ */ React.createElement(
|
51
|
+
"svg",
|
52
|
+
{
|
53
|
+
xmlns: "http://www.w3.org/2000/svg",
|
54
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
55
|
+
xmlSpace: "preserve",
|
56
|
+
viewBox: "0 0 916.5 765",
|
57
|
+
fill: "currentColor",
|
58
|
+
...props
|
59
|
+
},
|
60
|
+
/* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
61
|
+
/* @__PURE__ */ React.createElement("clipPath", { id: "b" }, /* @__PURE__ */ React.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
62
|
+
/* @__PURE__ */ React.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ React.createElement("clipPath", { id: "d" }, /* @__PURE__ */ React.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ React.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ React.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" })))
|
63
|
+
),
|
64
|
+
mail: (props) => /* @__PURE__ */ React.createElement(
|
65
|
+
"svg",
|
66
|
+
{
|
67
|
+
stroke: "currentColor",
|
68
|
+
fill: "none",
|
69
|
+
strokeWidth: "2",
|
70
|
+
viewBox: "0 0 24 24",
|
71
|
+
strokeLinecap: "round",
|
72
|
+
strokeLinejoin: "round",
|
73
|
+
xmlns: "http://www.w3.org/2000/svg",
|
74
|
+
...props
|
75
|
+
},
|
76
|
+
/* @__PURE__ */ React.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" }),
|
77
|
+
/* @__PURE__ */ React.createElement("polyline", { points: "22,6 12,13 2,6" })
|
78
|
+
),
|
79
|
+
phone: (props) => /* @__PURE__ */ React.createElement(
|
80
|
+
"svg",
|
81
|
+
{
|
82
|
+
stroke: "currentColor",
|
83
|
+
fill: "none",
|
84
|
+
strokeWidth: "2",
|
85
|
+
viewBox: "0 0 24 24",
|
86
|
+
"aria-hidden": "true",
|
87
|
+
xmlns: "http://www.w3.org/2000/svg",
|
88
|
+
...props
|
89
|
+
},
|
90
|
+
/* @__PURE__ */ React.createElement(
|
91
|
+
"path",
|
92
|
+
{
|
93
|
+
strokeLinecap: "round",
|
94
|
+
strokeLinejoin: "round",
|
95
|
+
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"
|
96
|
+
}
|
97
|
+
)
|
98
|
+
),
|
99
|
+
twitter: (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
100
|
+
"path",
|
101
|
+
{
|
102
|
+
fill: "currentColor",
|
103
|
+
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"
|
104
|
+
}
|
105
|
+
)),
|
106
|
+
instagram: (props) => /* @__PURE__ */ React.createElement(
|
107
|
+
"svg",
|
108
|
+
{
|
109
|
+
xmlns: "http://www.w3.org/2000/svg",
|
110
|
+
fill: "currentColor",
|
111
|
+
viewBox: "0 0 16 16",
|
112
|
+
...props
|
113
|
+
},
|
114
|
+
/* @__PURE__ */ React.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" })
|
115
|
+
),
|
116
|
+
microsoft: (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React.createElement(
|
117
|
+
"path",
|
118
|
+
{
|
119
|
+
fill: "currentColor",
|
120
|
+
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
121
|
+
}
|
122
|
+
)),
|
123
|
+
github: (props) => /* @__PURE__ */ React.createElement(
|
124
|
+
"svg",
|
125
|
+
{
|
126
|
+
xmlns: "http://www.w3.org/2000/svg",
|
127
|
+
viewBox: "0 0 438.549 438.549",
|
128
|
+
...props
|
129
|
+
},
|
130
|
+
/* @__PURE__ */ React.createElement(
|
131
|
+
"path",
|
132
|
+
{
|
133
|
+
fill: "currentColor",
|
134
|
+
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"
|
135
|
+
}
|
136
|
+
)
|
137
|
+
),
|
138
|
+
radix: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ React.createElement(
|
139
|
+
"path",
|
140
|
+
{
|
141
|
+
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
142
|
+
fill: "currentcolor"
|
143
|
+
}
|
144
|
+
), /* @__PURE__ */ React.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ React.createElement(
|
145
|
+
"path",
|
146
|
+
{
|
147
|
+
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",
|
148
|
+
fill: "currentcolor"
|
149
|
+
}
|
150
|
+
)),
|
151
|
+
aria: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React.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" })),
|
152
|
+
npm: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
153
|
+
"path",
|
154
|
+
{
|
155
|
+
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",
|
156
|
+
fill: "currentColor"
|
157
|
+
}
|
158
|
+
)),
|
159
|
+
yarn: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
160
|
+
"path",
|
161
|
+
{
|
162
|
+
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",
|
163
|
+
fill: "currentColor"
|
164
|
+
}
|
165
|
+
)),
|
166
|
+
pnpm: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
167
|
+
"path",
|
168
|
+
{
|
169
|
+
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",
|
170
|
+
fill: "currentColor"
|
171
|
+
}
|
172
|
+
)),
|
173
|
+
react: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
174
|
+
"path",
|
175
|
+
{
|
176
|
+
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",
|
177
|
+
fill: "currentColor"
|
178
|
+
}
|
179
|
+
)),
|
180
|
+
tailwind: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
181
|
+
"path",
|
182
|
+
{
|
183
|
+
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",
|
184
|
+
fill: "currentColor"
|
185
|
+
}
|
186
|
+
)),
|
187
|
+
google: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
188
|
+
"path",
|
189
|
+
{
|
190
|
+
fill: "currentColor",
|
191
|
+
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"
|
192
|
+
}
|
193
|
+
)),
|
194
|
+
apple: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
195
|
+
"path",
|
196
|
+
{
|
197
|
+
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",
|
198
|
+
fill: "currentColor"
|
199
|
+
}
|
200
|
+
)),
|
201
|
+
paypal: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
202
|
+
"path",
|
203
|
+
{
|
204
|
+
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",
|
205
|
+
fill: "currentColor"
|
206
|
+
}
|
207
|
+
)),
|
208
|
+
spinner: (props) => /* @__PURE__ */ React.createElement(
|
209
|
+
"svg",
|
210
|
+
{
|
211
|
+
xmlns: "http://www.w3.org/2000/svg",
|
212
|
+
width: "24",
|
213
|
+
height: "24",
|
214
|
+
viewBox: "0 0 24 24",
|
215
|
+
fill: "none",
|
216
|
+
stroke: "currentColor",
|
217
|
+
strokeWidth: "2",
|
218
|
+
strokeLinecap: "round",
|
219
|
+
strokeLinejoin: "round",
|
220
|
+
...props
|
221
|
+
},
|
222
|
+
/* @__PURE__ */ React.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
223
|
+
),
|
224
|
+
whatsapp: (props) => /* @__PURE__ */ React.createElement(
|
225
|
+
"svg",
|
226
|
+
{
|
227
|
+
xmlns: "http://www.w3.org/2000/svg",
|
228
|
+
viewBox: "0 0 24 24",
|
229
|
+
fill: "currentColor",
|
230
|
+
...props
|
231
|
+
},
|
232
|
+
/* @__PURE__ */ React.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" })
|
233
|
+
)
|
234
|
+
};
|
235
|
+
|
236
|
+
// blocks/auth/AuthButtons.tsx
|
237
|
+
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(
|
240
|
+
Button,
|
241
|
+
{
|
242
|
+
disabled: props.isGoogleLoading,
|
243
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
244
|
+
variant: "outline",
|
245
|
+
onClick: props.handleGoogle
|
246
|
+
},
|
247
|
+
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"
|
249
|
+
), props.viaGithub && /* @__PURE__ */ React2.createElement(
|
250
|
+
Button,
|
251
|
+
{
|
252
|
+
disabled: props.isGithubLoading,
|
253
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
254
|
+
variant: "outline",
|
255
|
+
onClick: props.handleGithub
|
256
|
+
},
|
257
|
+
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"
|
259
|
+
), props.viaTwitter && /* @__PURE__ */ React2.createElement(
|
260
|
+
Button,
|
261
|
+
{
|
262
|
+
disabled: props.isTwitterLoading,
|
263
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
264
|
+
variant: "outline",
|
265
|
+
onClick: props.handleTwitter
|
266
|
+
},
|
267
|
+
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"
|
269
|
+
), props.viaApple && /* @__PURE__ */ React2.createElement(
|
270
|
+
Button,
|
271
|
+
{
|
272
|
+
disabled: props.isAppleLoading,
|
273
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
274
|
+
variant: "outline",
|
275
|
+
onClick: props.handleApple
|
276
|
+
},
|
277
|
+
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"
|
279
|
+
), props.viaMicrosoft && /* @__PURE__ */ React2.createElement(
|
280
|
+
Button,
|
281
|
+
{
|
282
|
+
disabled: props.isMicrosoftLoading,
|
283
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
284
|
+
variant: "outline",
|
285
|
+
onClick: props.handleMicrosoft
|
286
|
+
},
|
287
|
+
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"
|
289
|
+
), props.viaEmail && /* @__PURE__ */ React2.createElement(
|
290
|
+
Button,
|
291
|
+
{
|
292
|
+
disabled: props.isEmailLoading,
|
293
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
294
|
+
variant: "outline",
|
295
|
+
onClick: props.handleEmail
|
296
|
+
},
|
297
|
+
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"
|
299
|
+
), props.viaPhone && /* @__PURE__ */ React2.createElement(
|
300
|
+
Button,
|
301
|
+
{
|
302
|
+
disabled: props.isPhoneLoading,
|
303
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
304
|
+
variant: "outline",
|
305
|
+
onClick: props.handlePhone
|
306
|
+
},
|
307
|
+
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"
|
309
|
+
));
|
310
|
+
};
|
27
311
|
|
28
312
|
// blocks/auth/LoginForm.tsx
|
29
313
|
import React5, { useState as useState3 } from "react";
|
@@ -33,7 +317,7 @@ import { parsePhoneNumber } from "libphonenumber-js";
|
|
33
317
|
import * as z from "zod";
|
34
318
|
|
35
319
|
// elements/alert/Alert.tsx
|
36
|
-
import
|
320
|
+
import React3, { useRef, useState, useEffect } from "react";
|
37
321
|
var Alert = ({
|
38
322
|
direction = "ltr",
|
39
323
|
severity = "none",
|
@@ -79,7 +363,7 @@ var Alert = ({
|
|
79
363
|
hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
|
80
364
|
oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
|
81
365
|
};
|
82
|
-
return /* @__PURE__ */
|
366
|
+
return /* @__PURE__ */ React3.createElement("div", { ref: alertRef }, /* @__PURE__ */ React3.createElement(
|
83
367
|
"div",
|
84
368
|
{
|
85
369
|
"data-testid": "alert",
|
@@ -93,13 +377,13 @@ var Alert = ({
|
|
93
377
|
className
|
94
378
|
)
|
95
379
|
},
|
96
|
-
/* @__PURE__ */
|
380
|
+
/* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ React3.createElement(
|
97
381
|
"div",
|
98
382
|
{
|
99
383
|
className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
|
100
384
|
},
|
101
385
|
icon
|
102
|
-
), /* @__PURE__ */
|
386
|
+
), /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React3.createElement(
|
103
387
|
"span",
|
104
388
|
{
|
105
389
|
className: cn(
|
@@ -108,7 +392,7 @@ var Alert = ({
|
|
108
392
|
)
|
109
393
|
},
|
110
394
|
props.title
|
111
|
-
), /* @__PURE__ */
|
395
|
+
), /* @__PURE__ */ React3.createElement(
|
112
396
|
"span",
|
113
397
|
{
|
114
398
|
className: cn(
|
@@ -117,7 +401,7 @@ var Alert = ({
|
|
117
401
|
)
|
118
402
|
},
|
119
403
|
props.text
|
120
|
-
), props.actions && /* @__PURE__ */
|
404
|
+
), props.actions && /* @__PURE__ */ React3.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ React3.createElement(
|
121
405
|
Button,
|
122
406
|
{
|
123
407
|
key: index,
|
@@ -126,7 +410,7 @@ var Alert = ({
|
|
126
410
|
},
|
127
411
|
act.label
|
128
412
|
))))),
|
129
|
-
!props.persistent && /* @__PURE__ */
|
413
|
+
!props.persistent && /* @__PURE__ */ React3.createElement(
|
130
414
|
"button",
|
131
415
|
{
|
132
416
|
type: "button",
|
@@ -149,8 +433,8 @@ var Alert = ({
|
|
149
433
|
}, 200);
|
150
434
|
}
|
151
435
|
},
|
152
|
-
/* @__PURE__ */
|
153
|
-
/* @__PURE__ */
|
436
|
+
/* @__PURE__ */ React3.createElement("span", { className: "hawa-sr-only" }, "Close"),
|
437
|
+
/* @__PURE__ */ React3.createElement(
|
154
438
|
"svg",
|
155
439
|
{
|
156
440
|
"aria-label": "Close Icon",
|
@@ -159,7 +443,7 @@ var Alert = ({
|
|
159
443
|
fill: "currentColor",
|
160
444
|
viewBox: "0 0 20 20"
|
161
445
|
},
|
162
|
-
/* @__PURE__ */
|
446
|
+
/* @__PURE__ */ React3.createElement(
|
163
447
|
"path",
|
164
448
|
{
|
165
449
|
fillRule: "evenodd",
|
@@ -173,7 +457,7 @@ var Alert = ({
|
|
173
457
|
};
|
174
458
|
|
175
459
|
// elements/phoneInput/PhoneInput.tsx
|
176
|
-
import
|
460
|
+
import React4, { useState as useState2, useRef as useRef2, useEffect as useEffect2 } from "react";
|
177
461
|
|
178
462
|
// countries.ts
|
179
463
|
var countries = [
|
@@ -1891,7 +2175,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
1891
2175
|
console.log("handleChange prop was not provided in <PhoneInput/>");
|
1892
2176
|
}
|
1893
2177
|
};
|
1894
|
-
return /* @__PURE__ */
|
2178
|
+
return /* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React4.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ React4.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ React4.createElement(
|
1895
2179
|
Select,
|
1896
2180
|
{
|
1897
2181
|
width: "fit",
|
@@ -1907,7 +2191,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
1907
2191
|
value: countryCode == null ? void 0 : countryCode.label,
|
1908
2192
|
onChange: setCountryCode
|
1909
2193
|
}
|
1910
|
-
), /* @__PURE__ */
|
2194
|
+
), /* @__PURE__ */ React4.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React4.createElement(
|
1911
2195
|
"input",
|
1912
2196
|
{
|
1913
2197
|
ref: inputRef,
|
@@ -1918,9 +2202,9 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
1918
2202
|
onChange: handleInputChange,
|
1919
2203
|
value: phoneNumber,
|
1920
2204
|
type: "tel",
|
1921
|
-
placeholder:
|
2205
|
+
placeholder: props.placeholder
|
1922
2206
|
}
|
1923
|
-
))), /* @__PURE__ */
|
2207
|
+
))), /* @__PURE__ */ React4.createElement(
|
1924
2208
|
"p",
|
1925
2209
|
{
|
1926
2210
|
className: cn(
|
@@ -1932,290 +2216,6 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
1932
2216
|
));
|
1933
2217
|
};
|
1934
2218
|
|
1935
|
-
// blocks/auth/AuthButtons.tsx
|
1936
|
-
import React4 from "react";
|
1937
|
-
|
1938
|
-
// elements/logos/Logos.tsx
|
1939
|
-
import React3 from "react";
|
1940
|
-
var Logos = {
|
1941
|
-
hawa: (props) => /* @__PURE__ */ React3.createElement(
|
1942
|
-
"svg",
|
1943
|
-
{
|
1944
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1945
|
-
xmlSpace: "preserve",
|
1946
|
-
viewBox: "0 0 765 765",
|
1947
|
-
...props
|
1948
|
-
},
|
1949
|
-
/* @__PURE__ */ React3.createElement(
|
1950
|
-
"path",
|
1951
|
-
{
|
1952
|
-
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",
|
1953
|
-
fill: "currentColor"
|
1954
|
-
}
|
1955
|
-
)
|
1956
|
-
),
|
1957
|
-
sikka: (props) => /* @__PURE__ */ React3.createElement(
|
1958
|
-
"svg",
|
1959
|
-
{
|
1960
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1961
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
1962
|
-
xmlSpace: "preserve",
|
1963
|
-
viewBox: "0 0 916.5 765",
|
1964
|
-
fill: "currentColor",
|
1965
|
-
...props
|
1966
|
-
},
|
1967
|
-
/* @__PURE__ */ React3.createElement("defs", null, /* @__PURE__ */ React3.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
1968
|
-
/* @__PURE__ */ React3.createElement("clipPath", { id: "b" }, /* @__PURE__ */ React3.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
1969
|
-
/* @__PURE__ */ React3.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ React3.createElement("defs", null, /* @__PURE__ */ React3.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ React3.createElement("clipPath", { id: "d" }, /* @__PURE__ */ React3.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ React3.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ React3.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" })))
|
1970
|
-
),
|
1971
|
-
mail: (props) => /* @__PURE__ */ React3.createElement(
|
1972
|
-
"svg",
|
1973
|
-
{
|
1974
|
-
stroke: "currentColor",
|
1975
|
-
fill: "none",
|
1976
|
-
strokeWidth: "2",
|
1977
|
-
viewBox: "0 0 24 24",
|
1978
|
-
strokeLinecap: "round",
|
1979
|
-
strokeLinejoin: "round",
|
1980
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1981
|
-
...props
|
1982
|
-
},
|
1983
|
-
/* @__PURE__ */ React3.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" }),
|
1984
|
-
/* @__PURE__ */ React3.createElement("polyline", { points: "22,6 12,13 2,6" })
|
1985
|
-
),
|
1986
|
-
phone: (props) => /* @__PURE__ */ React3.createElement(
|
1987
|
-
"svg",
|
1988
|
-
{
|
1989
|
-
stroke: "currentColor",
|
1990
|
-
fill: "none",
|
1991
|
-
strokeWidth: "2",
|
1992
|
-
viewBox: "0 0 24 24",
|
1993
|
-
"aria-hidden": "true",
|
1994
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1995
|
-
...props
|
1996
|
-
},
|
1997
|
-
/* @__PURE__ */ React3.createElement(
|
1998
|
-
"path",
|
1999
|
-
{
|
2000
|
-
strokeLinecap: "round",
|
2001
|
-
strokeLinejoin: "round",
|
2002
|
-
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"
|
2003
|
-
}
|
2004
|
-
)
|
2005
|
-
),
|
2006
|
-
twitter: (props) => /* @__PURE__ */ React3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2007
|
-
"path",
|
2008
|
-
{
|
2009
|
-
fill: "currentColor",
|
2010
|
-
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"
|
2011
|
-
}
|
2012
|
-
)),
|
2013
|
-
instagram: (props) => /* @__PURE__ */ React3.createElement(
|
2014
|
-
"svg",
|
2015
|
-
{
|
2016
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2017
|
-
fill: "currentColor",
|
2018
|
-
viewBox: "0 0 16 16",
|
2019
|
-
...props
|
2020
|
-
},
|
2021
|
-
/* @__PURE__ */ React3.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" })
|
2022
|
-
),
|
2023
|
-
microsoft: (props) => /* @__PURE__ */ React3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React3.createElement(
|
2024
|
-
"path",
|
2025
|
-
{
|
2026
|
-
fill: "currentColor",
|
2027
|
-
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
2028
|
-
}
|
2029
|
-
)),
|
2030
|
-
github: (props) => /* @__PURE__ */ React3.createElement(
|
2031
|
-
"svg",
|
2032
|
-
{
|
2033
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2034
|
-
viewBox: "0 0 438.549 438.549",
|
2035
|
-
...props
|
2036
|
-
},
|
2037
|
-
/* @__PURE__ */ React3.createElement(
|
2038
|
-
"path",
|
2039
|
-
{
|
2040
|
-
fill: "currentColor",
|
2041
|
-
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"
|
2042
|
-
}
|
2043
|
-
)
|
2044
|
-
),
|
2045
|
-
radix: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ React3.createElement(
|
2046
|
-
"path",
|
2047
|
-
{
|
2048
|
-
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
2049
|
-
fill: "currentcolor"
|
2050
|
-
}
|
2051
|
-
), /* @__PURE__ */ React3.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ React3.createElement(
|
2052
|
-
"path",
|
2053
|
-
{
|
2054
|
-
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",
|
2055
|
-
fill: "currentcolor"
|
2056
|
-
}
|
2057
|
-
)),
|
2058
|
-
aria: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React3.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" })),
|
2059
|
-
npm: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2060
|
-
"path",
|
2061
|
-
{
|
2062
|
-
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",
|
2063
|
-
fill: "currentColor"
|
2064
|
-
}
|
2065
|
-
)),
|
2066
|
-
yarn: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2067
|
-
"path",
|
2068
|
-
{
|
2069
|
-
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",
|
2070
|
-
fill: "currentColor"
|
2071
|
-
}
|
2072
|
-
)),
|
2073
|
-
pnpm: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2074
|
-
"path",
|
2075
|
-
{
|
2076
|
-
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",
|
2077
|
-
fill: "currentColor"
|
2078
|
-
}
|
2079
|
-
)),
|
2080
|
-
react: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2081
|
-
"path",
|
2082
|
-
{
|
2083
|
-
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",
|
2084
|
-
fill: "currentColor"
|
2085
|
-
}
|
2086
|
-
)),
|
2087
|
-
tailwind: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2088
|
-
"path",
|
2089
|
-
{
|
2090
|
-
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",
|
2091
|
-
fill: "currentColor"
|
2092
|
-
}
|
2093
|
-
)),
|
2094
|
-
google: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2095
|
-
"path",
|
2096
|
-
{
|
2097
|
-
fill: "currentColor",
|
2098
|
-
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"
|
2099
|
-
}
|
2100
|
-
)),
|
2101
|
-
apple: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2102
|
-
"path",
|
2103
|
-
{
|
2104
|
-
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",
|
2105
|
-
fill: "currentColor"
|
2106
|
-
}
|
2107
|
-
)),
|
2108
|
-
paypal: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
|
2109
|
-
"path",
|
2110
|
-
{
|
2111
|
-
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",
|
2112
|
-
fill: "currentColor"
|
2113
|
-
}
|
2114
|
-
)),
|
2115
|
-
spinner: (props) => /* @__PURE__ */ React3.createElement(
|
2116
|
-
"svg",
|
2117
|
-
{
|
2118
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2119
|
-
width: "24",
|
2120
|
-
height: "24",
|
2121
|
-
viewBox: "0 0 24 24",
|
2122
|
-
fill: "none",
|
2123
|
-
stroke: "currentColor",
|
2124
|
-
strokeWidth: "2",
|
2125
|
-
strokeLinecap: "round",
|
2126
|
-
strokeLinejoin: "round",
|
2127
|
-
...props
|
2128
|
-
},
|
2129
|
-
/* @__PURE__ */ React3.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
2130
|
-
),
|
2131
|
-
whatsapp: (props) => /* @__PURE__ */ React3.createElement(
|
2132
|
-
"svg",
|
2133
|
-
{
|
2134
|
-
xmlns: "http://www.w3.org/2000/svg",
|
2135
|
-
viewBox: "0 0 24 24",
|
2136
|
-
fill: "currentColor",
|
2137
|
-
...props
|
2138
|
-
},
|
2139
|
-
/* @__PURE__ */ React3.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" })
|
2140
|
-
)
|
2141
|
-
};
|
2142
|
-
|
2143
|
-
// blocks/auth/AuthButtons.tsx
|
2144
|
-
var AuthButtons = (props) => {
|
2145
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
2146
|
-
return /* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React4.createElement(
|
2147
|
-
Button,
|
2148
|
-
{
|
2149
|
-
disabled: props.isGoogleLoading,
|
2150
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
2151
|
-
variant: "outline",
|
2152
|
-
onClick: props.handleGoogle
|
2153
|
-
},
|
2154
|
-
props.isGoogleLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.google, { className: "hawa-icon" }),
|
2155
|
-
(_b = (_a = props.texts) == null ? void 0 : _a.continueWithGoogle) != null ? _b : "Continue With Google"
|
2156
|
-
), props.viaGithub && /* @__PURE__ */ React4.createElement(
|
2157
|
-
Button,
|
2158
|
-
{
|
2159
|
-
disabled: props.isGithubLoading,
|
2160
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
2161
|
-
variant: "outline",
|
2162
|
-
onClick: props.handleGithub
|
2163
|
-
},
|
2164
|
-
props.isGithubLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.github, { className: "hawa-icon" }),
|
2165
|
-
(_d = (_c = props.texts) == null ? void 0 : _c.continueWithGithub) != null ? _d : "Continue With Github"
|
2166
|
-
), props.viaTwitter && /* @__PURE__ */ React4.createElement(
|
2167
|
-
Button,
|
2168
|
-
{
|
2169
|
-
disabled: props.isTwitterLoading,
|
2170
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
2171
|
-
variant: "outline",
|
2172
|
-
onClick: props.handleTwitter
|
2173
|
-
},
|
2174
|
-
props.isTwitterLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.twitter, { className: "hawa-icon" }),
|
2175
|
-
(_f = (_e = props.texts) == null ? void 0 : _e.continueWithTwitter) != null ? _f : "Continue With Twitter"
|
2176
|
-
), props.viaApple && /* @__PURE__ */ React4.createElement(
|
2177
|
-
Button,
|
2178
|
-
{
|
2179
|
-
disabled: props.isAppleLoading,
|
2180
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
2181
|
-
variant: "outline",
|
2182
|
-
onClick: props.handleApple
|
2183
|
-
},
|
2184
|
-
props.isAppleLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.apple, { className: "hawa-icon" }),
|
2185
|
-
(_h = (_g = props.texts) == null ? void 0 : _g.continueWithApple) != null ? _h : "Continue With Apple"
|
2186
|
-
), props.viaMicrosoft && /* @__PURE__ */ React4.createElement(
|
2187
|
-
Button,
|
2188
|
-
{
|
2189
|
-
disabled: props.isMicrosoftLoading,
|
2190
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
2191
|
-
variant: "outline",
|
2192
|
-
onClick: props.handleMicrosoft
|
2193
|
-
},
|
2194
|
-
props.isMicrosoftLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.microsoft, { className: "hawa-icon" }),
|
2195
|
-
(_j = (_i = props.texts) == null ? void 0 : _i.continueWithMicrosoft) != null ? _j : "Continue With Microsoft"
|
2196
|
-
), props.viaEmail && /* @__PURE__ */ React4.createElement(
|
2197
|
-
Button,
|
2198
|
-
{
|
2199
|
-
disabled: props.isEmailLoading,
|
2200
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
2201
|
-
variant: "outline",
|
2202
|
-
onClick: props.handleEmail
|
2203
|
-
},
|
2204
|
-
props.isEmailLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.mail, { className: "hawa-icon" }),
|
2205
|
-
(_l = (_k = props.texts) == null ? void 0 : _k.continueWithEmail) != null ? _l : "Continue With Email"
|
2206
|
-
), props.viaPhone && /* @__PURE__ */ React4.createElement(
|
2207
|
-
Button,
|
2208
|
-
{
|
2209
|
-
disabled: props.isPhoneLoading,
|
2210
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
|
2211
|
-
variant: "outline",
|
2212
|
-
onClick: props.handlePhone
|
2213
|
-
},
|
2214
|
-
props.isPhoneLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.phone, { className: "hawa-icon" }),
|
2215
|
-
(_n = (_m = props.texts) == null ? void 0 : _m.continueWithPhone) != null ? _n : "Continue With Phone"
|
2216
|
-
));
|
2217
|
-
};
|
2218
|
-
|
2219
2219
|
// blocks/auth/LoginForm.tsx
|
2220
2220
|
var LoginForm = ({
|
2221
2221
|
loginType = "email",
|
@@ -3183,10 +3183,15 @@ import React11 from "react";
|
|
3183
3183
|
import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
|
3184
3184
|
import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
|
3185
3185
|
import * as z4 from "zod";
|
3186
|
-
var ResetPasswordForm = (
|
3186
|
+
var ResetPasswordForm = ({
|
3187
|
+
allowRegister = true,
|
3188
|
+
...props
|
3189
|
+
}) => {
|
3187
3190
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
3188
3191
|
const formSchema = z4.object({
|
3189
|
-
email: z4.string({
|
3192
|
+
email: z4.string({
|
3193
|
+
required_error: ((_b = (_a = props.texts) == null ? void 0 : _a.email) == null ? void 0 : _b.required) || "Email is required"
|
3194
|
+
}).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" })
|
3190
3195
|
});
|
3191
3196
|
const { handleSubmit, control, formState } = useForm4({
|
3192
3197
|
resolver: zodResolver4(formSchema)
|
@@ -3203,7 +3208,7 @@ var ResetPasswordForm = (props) => {
|
|
3203
3208
|
}
|
3204
3209
|
})
|
3205
3210
|
},
|
3206
|
-
/* @__PURE__ */ React11.createElement(CardContent, { headless: props.headless }, /* @__PURE__ */ React11.createElement(
|
3211
|
+
/* @__PURE__ */ React11.createElement(CardContent, { headless: props.headless, className: "hawa-pb-4" }, /* @__PURE__ */ React11.createElement(
|
3207
3212
|
Controller4,
|
3208
3213
|
{
|
3209
3214
|
control,
|
@@ -3214,7 +3219,7 @@ var ResetPasswordForm = (props) => {
|
|
3214
3219
|
Input,
|
3215
3220
|
{
|
3216
3221
|
width: "full",
|
3217
|
-
label: (_b2 = (_a2 = props.texts) == null ? void 0 : _a2.email) == null ? void 0 : _b2.label,
|
3222
|
+
label: ((_b2 = (_a2 = props.texts) == null ? void 0 : _a2.email) == null ? void 0 : _b2.label) || "Email",
|
3218
3223
|
helperText: (_c2 = formState.errors.email) == null ? void 0 : _c2.message,
|
3219
3224
|
placeholder: (_e2 = (_d2 = props.texts) == null ? void 0 : _d2.email) == null ? void 0 : _e2.placeholder,
|
3220
3225
|
...field
|
@@ -3223,7 +3228,7 @@ var ResetPasswordForm = (props) => {
|
|
3223
3228
|
}
|
3224
3229
|
}
|
3225
3230
|
)),
|
3226
|
-
/* @__PURE__ */ React11.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React11.createElement(Button, { type: "submit", className: "hawa-w-full" }, (_i = props.texts) == null ? void 0 : _i.resetPassword),
|
3231
|
+
/* @__PURE__ */ React11.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React11.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ React11.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__ */ React11.createElement(
|
3227
3232
|
"span",
|
3228
3233
|
{
|
3229
3234
|
className: "clickable-link",
|
@@ -3231,7 +3236,7 @@ var ResetPasswordForm = (props) => {
|
|
3231
3236
|
},
|
3232
3237
|
(_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
|
3233
3238
|
)))
|
3234
|
-
)) : /* @__PURE__ */ React11.createElement(CardContent, { headless: true }, /* @__PURE__ */ React11.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
|
3239
|
+
)) : /* @__PURE__ */ React11.createElement(CardContent, { headless: true }, /* @__PURE__ */ React11.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")));
|
3235
3240
|
};
|
3236
3241
|
|
3237
3242
|
// blocks/auth/CodeConfirmation.tsx
|
@@ -3419,6 +3424,7 @@ var CodeConfirmation = (props) => {
|
|
3419
3424
|
};
|
3420
3425
|
export {
|
3421
3426
|
AppLanding,
|
3427
|
+
AuthButtons,
|
3422
3428
|
CheckEmail,
|
3423
3429
|
CodeConfirmation,
|
3424
3430
|
LoginForm,
|