@sikka/hawa 0.26.18-next → 0.26.20
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/accordion/index.js +10 -12
- package/dist/accordion/index.mjs +8 -8
- package/dist/alert/index.js +8 -7
- package/dist/alert/index.mjs +7 -6
- package/dist/appLayout/index.js +13 -12
- package/dist/appLayout/index.mjs +12 -11
- package/dist/appMenubar/index.js +4 -4
- package/dist/appMenubar/index.mjs +2 -2
- package/dist/appStores/index.js +2 -2
- package/dist/appStores/index.mjs +1 -1
- package/dist/appTabs/index.js +4 -4
- package/dist/appTabs/index.mjs +2 -2
- package/dist/appTopbar/index.js +6 -6
- package/dist/appTopbar/index.mjs +4 -4
- package/dist/avatar/index.js +5 -5
- package/dist/avatar/index.mjs +4 -4
- package/dist/backToTop/index.js +8 -7
- package/dist/backToTop/index.mjs +7 -6
- package/dist/badge/index.js +4 -4
- package/dist/badge/index.mjs +2 -2
- package/dist/blocks/auth/index.js +38 -37
- package/dist/blocks/auth/index.mjs +24 -24
- package/dist/blocks/feedback/index.js +27 -26
- package/dist/blocks/feedback/index.mjs +11 -11
- package/dist/blocks/index.js +77 -76
- package/dist/blocks/index.mjs +34 -34
- package/dist/blocks/misc/index.js +31 -30
- package/dist/blocks/misc/index.mjs +14 -14
- package/dist/blocks/pricing/index.js +123 -122
- package/dist/blocks/pricing/index.mjs +18 -18
- package/dist/breadcrumb/index.js +2 -2
- package/dist/breadcrumb/index.mjs +1 -1
- package/dist/button/index.js +6 -5
- package/dist/button/index.mjs +5 -4
- package/dist/card/index.js +4 -4
- package/dist/card/index.mjs +2 -2
- package/dist/carousel/index.d.mts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/index.js +9 -18
- package/dist/carousel/index.mjs +7 -16
- package/dist/checkbox/index.js +4 -4
- package/dist/checkbox/index.mjs +2 -2
- package/dist/chip/index.js +4 -4
- package/dist/chip/index.mjs +2 -2
- package/dist/{chunk-343SRWR4.mjs → chunk-3GBITBPL.mjs} +2 -2
- package/dist/{chunk-TTKRRN7S.mjs → chunk-4IOG44R3.mjs} +2 -2
- package/dist/{chunk-3N6JJKMN.mjs → chunk-65TG6EVD.mjs} +5 -4
- package/dist/{chunk-LT3VHLAG.mjs → chunk-APZM24KK.mjs} +2 -2
- package/dist/{chunk-FYH74ZRQ.mjs → chunk-AREFDTXK.mjs} +9 -8
- package/dist/{chunk-FNVYY7ND.mjs → chunk-D22AALLE.mjs} +1 -1
- package/dist/{chunk-OD5WIQGQ.mjs → chunk-FDKCMEMD.mjs} +2 -2
- package/dist/{chunk-KNHT2UBG.mjs → chunk-KMCIHW76.mjs} +2 -2
- package/dist/{chunk-M2ZS3EDT.mjs → chunk-OAXF3RCQ.mjs} +2 -2
- package/dist/chunk-OTGCLEKC.mjs +62 -0
- package/dist/{chunk-OE23TTPS.mjs → chunk-POIP5U4M.mjs} +3 -3
- package/dist/{chunk-EYUG3GRC.mjs → chunk-SJ2Z6ZOG.mjs} +4 -4
- package/dist/{chunk-WRZFWCOQ.mjs → chunk-TGZRVRLP.mjs} +4 -4
- package/dist/{chunk-TE3BKEXL.mjs → chunk-TWNGV3RE.mjs} +1 -1
- package/dist/{chunk-ATUSR6VI.mjs → chunk-U3TZWNDZ.mjs} +4 -4
- package/dist/{chunk-W77KCP35.mjs → chunk-VQQ6MUX5.mjs} +2 -2
- package/dist/{chunk-SUS6O2PO.mjs → chunk-WPSUV4AD.mjs} +21 -21
- package/dist/{chunk-3KMBSNM3.mjs → chunk-Z5SL5QTQ.mjs} +11 -10
- package/dist/{chunk-ZCZ3WARS.mjs → chunk-ZS3FB3PO.mjs} +1 -1
- package/dist/codeBlock/index.js +153 -2454
- package/dist/codeBlock/index.mjs +129 -2393
- package/dist/collapsible/index.js +2 -2
- package/dist/collapsible/index.mjs +1 -1
- package/dist/colorPicker/index.js +7 -7
- package/dist/colorPicker/index.mjs +126 -2
- package/dist/combobox/index.js +193 -193
- package/dist/combobox/index.mjs +8 -8
- package/dist/command/index.js +5 -5
- package/dist/command/index.mjs +1 -1
- package/dist/copyrights/index.js +2 -2
- package/dist/copyrights/index.mjs +1 -1
- package/dist/count/index.js +2 -2
- package/dist/count/index.mjs +1 -1
- package/dist/dataTable/index.d.mts +1 -0
- package/dist/dataTable/index.d.ts +1 -0
- package/dist/dataTable/index.js +23 -16
- package/dist/dataTable/index.mjs +22 -15
- package/dist/destroyableCard/index.js +6 -8
- package/dist/destroyableCard/index.mjs +4 -4
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/index.mjs +2 -2
- package/dist/docsLayout/index.js +12 -11
- package/dist/docsLayout/index.mjs +11 -10
- package/dist/docsSidebar/index.js +4 -4
- package/dist/docsSidebar/index.mjs +2 -2
- package/dist/dropdownMenu/index.js +4 -4
- package/dist/dropdownMenu/index.mjs +2 -2
- package/dist/elements/index.d.mts +2 -1
- package/dist/elements/index.d.ts +2 -1
- package/dist/elements/index.js +162 -164
- package/dist/elements/index.mjs +54 -57
- package/dist/fileDropzone/index.js +10 -9
- package/dist/fileDropzone/index.mjs +9 -8
- package/dist/fileUploader/index.js +2 -2
- package/dist/fileUploader/index.mjs +1 -1
- package/dist/glow/index.js +2 -2
- package/dist/glow/index.mjs +1 -1
- package/dist/hooks/index.d.mts +7 -7
- package/dist/hooks/index.d.ts +7 -7
- package/dist/hooks/index.js +16 -16
- package/dist/hooks/index.mjs +14 -14
- package/dist/index.css +0 -465
- package/dist/index.d.mts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +220 -222
- package/dist/index.mjs +219 -221
- package/dist/input/index.js +8 -8
- package/dist/input/index.mjs +4 -4
- package/dist/interfaceSettings/index.js +9 -9
- package/dist/interfaceSettings/index.mjs +4 -4
- package/dist/label/index.js +5 -5
- package/dist/label/index.mjs +4 -4
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +31 -30
- package/dist/layout/index.mjs +16 -16
- package/dist/loading/index.js +4 -4
- package/dist/loading/index.mjs +2 -2
- package/dist/logos/index.js +2 -2
- package/dist/logos/index.mjs +1 -1
- package/dist/navbar/index.js +5 -5
- package/dist/navbar/index.mjs +4 -4
- package/dist/navigationMenu/index.js +4 -4
- package/dist/navigationMenu/index.mjs +2 -2
- package/dist/pagination/index.js +4 -4
- package/dist/pagination/index.mjs +2 -2
- package/dist/passwordInput/index.js +15 -15
- package/dist/passwordInput/index.mjs +13 -13
- package/dist/phoneInput/index.js +11 -11
- package/dist/phoneInput/index.mjs +10 -10
- package/dist/pinInput/index.js +4 -4
- package/dist/pinInput/index.mjs +2 -2
- package/dist/popover/index.js +4 -4
- package/dist/popover/index.mjs +2 -2
- package/dist/progress/index.js +4 -4
- package/dist/progress/index.mjs +2 -2
- package/dist/progressCircle/index.js +4 -4
- package/dist/progressCircle/index.mjs +2 -2
- package/dist/radio/index.js +7 -7
- package/dist/radio/index.mjs +6 -6
- package/dist/scrollArea/index.js +4 -4
- package/dist/scrollArea/index.mjs +2 -2
- package/dist/scrollIndicator/index.js +2 -2
- package/dist/scrollIndicator/index.mjs +1 -1
- package/dist/select/index.js +8 -8
- package/dist/select/index.mjs +7 -7
- package/dist/separator/index.js +4 -4
- package/dist/separator/index.mjs +2 -2
- package/dist/sheet/index.js +4 -4
- package/dist/sheet/index.mjs +2 -2
- package/dist/sidebar/index.js +6 -6
- package/dist/sidebar/index.mjs +4 -4
- package/dist/signature/index.js +8 -8
- package/dist/signature/index.mjs +6 -6
- package/dist/simpleTable/index.js +6 -6
- package/dist/simpleTable/index.mjs +5 -5
- package/dist/skeleton/index.js +4 -4
- package/dist/skeleton/index.mjs +2 -2
- package/dist/slider/index.js +4 -4
- package/dist/slider/index.mjs +2 -2
- package/dist/sortButton/index.js +8 -7
- package/dist/sortButton/index.mjs +2 -2
- package/dist/splitButton/index.js +9 -8
- package/dist/splitButton/index.mjs +4 -4
- package/dist/stats/index.js +7 -7
- package/dist/stats/index.mjs +6 -6
- package/dist/stopPropagationWrapper/index.js +2 -2
- package/dist/stopPropagationWrapper/index.mjs +1 -1
- package/dist/switch/index.js +4 -4
- package/dist/switch/index.mjs +2 -2
- package/dist/table/index.js +4 -4
- package/dist/table/index.mjs +2 -2
- package/dist/tabs/index.js +5 -5
- package/dist/tabs/index.mjs +4 -4
- package/dist/textarea/index.js +7 -7
- package/dist/textarea/index.mjs +6 -6
- package/dist/toast/index.js +4 -4
- package/dist/toast/index.mjs +2 -2
- package/dist/toaster/index.js +6 -6
- package/dist/toaster/index.mjs +5 -5
- package/dist/tooltip/index.js +4 -4
- package/dist/tooltip/index.mjs +3 -3
- package/dist/types/index.js +1 -1
- package/package.json +16 -42
- package/README.md +0 -107
- package/dist/chunk-S36W2LDN.mjs +0 -189
package/dist/avatar/index.mjs
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import {
|
2
2
|
cn
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-TWNGV3RE.mjs";
|
4
4
|
|
5
|
-
//
|
5
|
+
// elements/avatar/Avatar.tsx
|
6
6
|
import React2 from "react";
|
7
7
|
|
8
|
-
//
|
8
|
+
// elements/fileUploader/FileUploader.tsx
|
9
9
|
import React, { useRef } from "react";
|
10
10
|
var FileUploader = ({ handleFile, className }) => {
|
11
11
|
const hiddenFileInput = useRef(null);
|
@@ -28,7 +28,7 @@ var FileUploader = ({ handleFile, className }) => {
|
|
28
28
|
));
|
29
29
|
};
|
30
30
|
|
31
|
-
//
|
31
|
+
// elements/avatar/Avatar.tsx
|
32
32
|
var Avatar = ({
|
33
33
|
isUploadable,
|
34
34
|
src,
|
package/dist/backToTop/index.js
CHANGED
@@ -27,28 +27,28 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
|
-
//
|
30
|
+
// elements/backToTop/index.ts
|
31
31
|
var backToTop_exports = {};
|
32
32
|
__export(backToTop_exports, {
|
33
33
|
BackToTop: () => BackToTop
|
34
34
|
});
|
35
35
|
module.exports = __toCommonJS(backToTop_exports);
|
36
36
|
|
37
|
-
//
|
37
|
+
// elements/backToTop/BackToTop.tsx
|
38
38
|
var import_react2 = __toESM(require("react"));
|
39
39
|
|
40
|
-
//
|
40
|
+
// util/index.ts
|
41
41
|
var import_clsx = require("clsx");
|
42
42
|
var import_tailwind_merge = require("tailwind-merge");
|
43
43
|
function cn(...inputs) {
|
44
44
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
45
45
|
}
|
46
46
|
|
47
|
-
//
|
47
|
+
// elements/button/Button.tsx
|
48
48
|
var React2 = __toESM(require("react"));
|
49
49
|
var import_class_variance_authority = require("class-variance-authority");
|
50
50
|
|
51
|
-
//
|
51
|
+
// elements/loading/Loading.tsx
|
52
52
|
var import_react = __toESM(require("react"));
|
53
53
|
var Loading = ({
|
54
54
|
design = "spinner",
|
@@ -225,7 +225,7 @@ var Loading = ({
|
|
225
225
|
}
|
226
226
|
};
|
227
227
|
|
228
|
-
//
|
228
|
+
// elements/button/Button.tsx
|
229
229
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
230
230
|
"hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
231
231
|
{
|
@@ -278,6 +278,7 @@ var Button = React2.forwardRef(
|
|
278
278
|
className: cn(
|
279
279
|
buttonVariants({ variant, size, className }),
|
280
280
|
centered && "hawa-justify-center"
|
281
|
+
// "hawa-bg-red-500"
|
281
282
|
),
|
282
283
|
ref,
|
283
284
|
...props
|
@@ -296,7 +297,7 @@ var Button = React2.forwardRef(
|
|
296
297
|
);
|
297
298
|
Button.displayName = "Button";
|
298
299
|
|
299
|
-
//
|
300
|
+
// elements/backToTop/BackToTop.tsx
|
300
301
|
var BackToTop = ({ ...props }) => {
|
301
302
|
const [visible, setVisible] = (0, import_react2.useState)(false);
|
302
303
|
const [rect, _setRect] = (0, import_react2.useState)(null);
|
package/dist/backToTop/index.mjs
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import {
|
2
2
|
cn
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-TWNGV3RE.mjs";
|
4
4
|
|
5
|
-
//
|
5
|
+
// elements/backToTop/BackToTop.tsx
|
6
6
|
import React3, { useState, useEffect, useRef } from "react";
|
7
7
|
|
8
|
-
//
|
8
|
+
// elements/button/Button.tsx
|
9
9
|
import * as React2 from "react";
|
10
10
|
import { cva } from "class-variance-authority";
|
11
11
|
|
12
|
-
//
|
12
|
+
// elements/loading/Loading.tsx
|
13
13
|
import React from "react";
|
14
14
|
var Loading = ({
|
15
15
|
design = "spinner",
|
@@ -186,7 +186,7 @@ var Loading = ({
|
|
186
186
|
}
|
187
187
|
};
|
188
188
|
|
189
|
-
//
|
189
|
+
// elements/button/Button.tsx
|
190
190
|
var buttonVariants = cva(
|
191
191
|
"hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
192
192
|
{
|
@@ -239,6 +239,7 @@ var Button = React2.forwardRef(
|
|
239
239
|
className: cn(
|
240
240
|
buttonVariants({ variant, size, className }),
|
241
241
|
centered && "hawa-justify-center"
|
242
|
+
// "hawa-bg-red-500"
|
242
243
|
),
|
243
244
|
ref,
|
244
245
|
...props
|
@@ -257,7 +258,7 @@ var Button = React2.forwardRef(
|
|
257
258
|
);
|
258
259
|
Button.displayName = "Button";
|
259
260
|
|
260
|
-
//
|
261
|
+
// elements/backToTop/BackToTop.tsx
|
261
262
|
var BackToTop = ({ ...props }) => {
|
262
263
|
const [visible, setVisible] = useState(false);
|
263
264
|
const [rect, _setRect] = useState(null);
|
package/dist/badge/index.js
CHANGED
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
|
-
//
|
30
|
+
// elements/badge/index.ts
|
31
31
|
var badge_exports = {};
|
32
32
|
__export(badge_exports, {
|
33
33
|
Badge: () => Badge,
|
@@ -35,17 +35,17 @@ __export(badge_exports, {
|
|
35
35
|
});
|
36
36
|
module.exports = __toCommonJS(badge_exports);
|
37
37
|
|
38
|
-
//
|
38
|
+
// elements/badge/Badge.tsx
|
39
39
|
var import_react = __toESM(require("react"));
|
40
40
|
|
41
|
-
//
|
41
|
+
// util/index.ts
|
42
42
|
var import_clsx = require("clsx");
|
43
43
|
var import_tailwind_merge = require("tailwind-merge");
|
44
44
|
function cn(...inputs) {
|
45
45
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
46
46
|
}
|
47
47
|
|
48
|
-
//
|
48
|
+
// elements/badge/Badge.tsx
|
49
49
|
var Badge = ({
|
50
50
|
anchor,
|
51
51
|
position = "right",
|
package/dist/badge/index.mjs
CHANGED
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
|
-
//
|
30
|
+
// blocks/auth/index.ts
|
31
31
|
var auth_exports = {};
|
32
32
|
__export(auth_exports, {
|
33
33
|
AppLanding: () => AppLanding,
|
@@ -40,28 +40,28 @@ __export(auth_exports, {
|
|
40
40
|
});
|
41
41
|
module.exports = __toCommonJS(auth_exports);
|
42
42
|
|
43
|
-
//
|
43
|
+
// blocks/auth/LoginForm.tsx
|
44
44
|
var import_react13 = __toESM(require("react"));
|
45
45
|
var import_react_hook_form = require("react-hook-form");
|
46
46
|
var import_zod = require("@hookform/resolvers/zod");
|
47
47
|
var import_libphonenumber_js = require("libphonenumber-js");
|
48
48
|
var z = __toESM(require("zod"));
|
49
49
|
|
50
|
-
//
|
50
|
+
// elements/alert/Alert.tsx
|
51
51
|
var import_react2 = __toESM(require("react"));
|
52
52
|
|
53
|
-
//
|
53
|
+
// util/index.ts
|
54
54
|
var import_clsx = require("clsx");
|
55
55
|
var import_tailwind_merge = require("tailwind-merge");
|
56
56
|
function cn(...inputs) {
|
57
57
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
58
58
|
}
|
59
59
|
|
60
|
-
//
|
60
|
+
// elements/button/Button.tsx
|
61
61
|
var React2 = __toESM(require("react"));
|
62
62
|
var import_class_variance_authority = require("class-variance-authority");
|
63
63
|
|
64
|
-
//
|
64
|
+
// elements/loading/Loading.tsx
|
65
65
|
var import_react = __toESM(require("react"));
|
66
66
|
var Loading = ({
|
67
67
|
design = "spinner",
|
@@ -238,7 +238,7 @@ var Loading = ({
|
|
238
238
|
}
|
239
239
|
};
|
240
240
|
|
241
|
-
//
|
241
|
+
// elements/button/Button.tsx
|
242
242
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
243
243
|
"hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
|
244
244
|
{
|
@@ -291,6 +291,7 @@ var Button = React2.forwardRef(
|
|
291
291
|
className: cn(
|
292
292
|
buttonVariants({ variant, size, className }),
|
293
293
|
centered && "hawa-justify-center"
|
294
|
+
// "hawa-bg-red-500"
|
294
295
|
),
|
295
296
|
ref,
|
296
297
|
...props
|
@@ -309,7 +310,7 @@ var Button = React2.forwardRef(
|
|
309
310
|
);
|
310
311
|
Button.displayName = "Button";
|
311
312
|
|
312
|
-
//
|
313
|
+
// elements/alert/Alert.tsx
|
313
314
|
var Alert = ({
|
314
315
|
variant = "normal",
|
315
316
|
direction = "ltr",
|
@@ -449,7 +450,7 @@ var Alert = ({
|
|
449
450
|
));
|
450
451
|
};
|
451
452
|
|
452
|
-
//
|
453
|
+
// elements/card/Card.tsx
|
453
454
|
var React4 = __toESM(require("react"));
|
454
455
|
var Card = React4.forwardRef(
|
455
456
|
({ className, variant = "default", clickable = false, ...props }, ref) => {
|
@@ -530,13 +531,13 @@ CardFooter.displayName = "CardFooter";
|
|
530
531
|
CardTitle.displayName = "CardTitle";
|
531
532
|
Card.displayName = "Card";
|
532
533
|
|
533
|
-
//
|
534
|
+
// elements/input/Input.tsx
|
534
535
|
var import_react5 = __toESM(require("react"));
|
535
536
|
|
536
|
-
//
|
537
|
+
// elements/label/Label.tsx
|
537
538
|
var React6 = __toESM(require("react"));
|
538
539
|
|
539
|
-
//
|
540
|
+
// elements/tooltip/Tooltip.tsx
|
540
541
|
var import_react3 = __toESM(require("react"));
|
541
542
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
542
543
|
var TooltipContent = import_react3.default.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ import_react3.default.createElement(
|
@@ -587,7 +588,7 @@ var Tooltip = ({
|
|
587
588
|
);
|
588
589
|
};
|
589
590
|
|
590
|
-
//
|
591
|
+
// elements/label/Label.tsx
|
591
592
|
var Label = React6.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React6.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React6.createElement(
|
592
593
|
"label",
|
593
594
|
{
|
@@ -629,7 +630,7 @@ var Label = React6.forwardRef(({ className, hint, hintSide, required, children,
|
|
629
630
|
)));
|
630
631
|
Label.displayName = "Label";
|
631
632
|
|
632
|
-
//
|
633
|
+
// elements/skeleton/Skeleton.tsx
|
633
634
|
var import_react4 = __toESM(require("react"));
|
634
635
|
function Skeleton({
|
635
636
|
className,
|
@@ -656,7 +657,7 @@ function Skeleton({
|
|
656
657
|
);
|
657
658
|
}
|
658
659
|
|
659
|
-
//
|
660
|
+
// elements/input/Input.tsx
|
660
661
|
var Input = (0, import_react5.forwardRef)(
|
661
662
|
({
|
662
663
|
margin = "none",
|
@@ -777,10 +778,10 @@ var Input = (0, import_react5.forwardRef)(
|
|
777
778
|
}
|
778
779
|
);
|
779
780
|
|
780
|
-
//
|
781
|
+
// elements/phoneInput/PhoneInput.tsx
|
781
782
|
var import_react7 = __toESM(require("react"));
|
782
783
|
|
783
|
-
//
|
784
|
+
// countries.ts
|
784
785
|
var countries = [
|
785
786
|
{
|
786
787
|
country_label: "Saudi Arabia",
|
@@ -2473,7 +2474,7 @@ var countries = [
|
|
2473
2474
|
];
|
2474
2475
|
var countries_default = countries;
|
2475
2476
|
|
2476
|
-
//
|
2477
|
+
// elements/select/Select.tsx
|
2477
2478
|
var import_react6 = __toESM(require("react"));
|
2478
2479
|
var import_react_select = __toESM(require("react-select"));
|
2479
2480
|
var import_creatable = __toESM(require("react-select/creatable"));
|
@@ -2627,7 +2628,7 @@ var Select = ({
|
|
2627
2628
|
);
|
2628
2629
|
};
|
2629
2630
|
|
2630
|
-
//
|
2631
|
+
// elements/phoneInput/PhoneInput.tsx
|
2631
2632
|
var PhoneInput = ({ labelProps, ...props }) => {
|
2632
2633
|
const [phoneNumber, setPhoneNumber] = (0, import_react7.useState)("");
|
2633
2634
|
const [countryCode, setCountryCode] = (0, import_react7.useState)(props.preferredCountry);
|
@@ -2691,10 +2692,10 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
2691
2692
|
));
|
2692
2693
|
};
|
2693
2694
|
|
2694
|
-
//
|
2695
|
+
// icons/Emojis.tsx
|
2695
2696
|
var import_react8 = __toESM(require("react"));
|
2696
2697
|
|
2697
|
-
//
|
2698
|
+
// icons/InputIcons.tsx
|
2698
2699
|
var import_react9 = __toESM(require("react"));
|
2699
2700
|
var EyeIcon = (props) => /* @__PURE__ */ import_react9.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react9.default.createElement(
|
2700
2701
|
"svg",
|
@@ -2727,13 +2728,13 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react9.default.createEleme
|
|
2727
2728
|
/* @__PURE__ */ import_react9.default.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
|
2728
2729
|
));
|
2729
2730
|
|
2730
|
-
//
|
2731
|
+
// icons/CommonIcons.tsx
|
2731
2732
|
var import_react10 = __toESM(require("react"));
|
2732
2733
|
|
2733
|
-
//
|
2734
|
+
// blocks/auth/AuthButtons.tsx
|
2734
2735
|
var import_react12 = __toESM(require("react"));
|
2735
2736
|
|
2736
|
-
//
|
2737
|
+
// elements/logos/Logos.tsx
|
2737
2738
|
var import_react11 = __toESM(require("react"));
|
2738
2739
|
var Logos = {
|
2739
2740
|
hawa: (props) => /* @__PURE__ */ import_react11.default.createElement(
|
@@ -2938,7 +2939,7 @@ var Logos = {
|
|
2938
2939
|
)
|
2939
2940
|
};
|
2940
2941
|
|
2941
|
-
//
|
2942
|
+
// blocks/auth/AuthButtons.tsx
|
2942
2943
|
var AuthButtons = (props) => {
|
2943
2944
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
2944
2945
|
return /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ import_react12.default.createElement(
|
@@ -3014,7 +3015,7 @@ var AuthButtons = (props) => {
|
|
3014
3015
|
));
|
3015
3016
|
};
|
3016
3017
|
|
3017
|
-
//
|
3018
|
+
// blocks/auth/LoginForm.tsx
|
3018
3019
|
var LoginForm = ({
|
3019
3020
|
loginType,
|
3020
3021
|
texts,
|
@@ -3303,13 +3304,13 @@ var LoginForm = ({
|
|
3303
3304
|
) : null));
|
3304
3305
|
};
|
3305
3306
|
|
3306
|
-
//
|
3307
|
+
// blocks/auth/RegisterForm.tsx
|
3307
3308
|
var import_react15 = __toESM(require("react"));
|
3308
3309
|
var import_react_hook_form2 = require("react-hook-form");
|
3309
3310
|
var import_zod2 = require("@hookform/resolvers/zod");
|
3310
3311
|
var z2 = __toESM(require("zod"));
|
3311
3312
|
|
3312
|
-
//
|
3313
|
+
// elements/checkbox/Checkbox.tsx
|
3313
3314
|
var React17 = __toESM(require("react"));
|
3314
3315
|
var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
|
3315
3316
|
var Checkbox = ({
|
@@ -3445,7 +3446,7 @@ var CheckboxElement = React17.forwardRef(({ radius = "inherit", size = "default"
|
|
3445
3446
|
});
|
3446
3447
|
CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
|
3447
3448
|
|
3448
|
-
//
|
3449
|
+
// elements/stopPropagationWrapper/StopPropagationWrapper.tsx
|
3449
3450
|
var import_react14 = __toESM(require("react"));
|
3450
3451
|
var StopPropagationWrapper = (props) => {
|
3451
3452
|
const handleClick = (e) => {
|
@@ -3454,7 +3455,7 @@ var StopPropagationWrapper = (props) => {
|
|
3454
3455
|
return /* @__PURE__ */ import_react14.default.createElement("div", { onClick: handleClick }, props.children);
|
3455
3456
|
};
|
3456
3457
|
|
3457
|
-
//
|
3458
|
+
// blocks/auth/RegisterForm.tsx
|
3458
3459
|
var RegisterForm = ({
|
3459
3460
|
texts,
|
3460
3461
|
registerFields = ["email"],
|
@@ -3786,7 +3787,7 @@ var RegisterForm = ({
|
|
3786
3787
|
) : null));
|
3787
3788
|
};
|
3788
3789
|
|
3789
|
-
//
|
3790
|
+
// blocks/auth/AppLanding.tsx
|
3790
3791
|
var import_react16 = __toESM(require("react"));
|
3791
3792
|
var AppLanding = ({ texts, ...props }) => {
|
3792
3793
|
const thirdPartyAuthTexts = {
|
@@ -3827,7 +3828,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
3827
3828
|
)))));
|
3828
3829
|
};
|
3829
3830
|
|
3830
|
-
//
|
3831
|
+
// blocks/auth/CheckEmail.tsx
|
3831
3832
|
var import_react17 = __toESM(require("react"));
|
3832
3833
|
var CheckEmail = ({ texts, handleResend }) => {
|
3833
3834
|
return /* @__PURE__ */ import_react17.default.createElement(Card, null, /* @__PURE__ */ import_react17.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ import_react17.default.createElement(
|
@@ -3848,7 +3849,7 @@ var CheckEmail = ({ texts, handleResend }) => {
|
|
3848
3849
|
)), /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ import_react17.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ import_react17.default.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
|
3849
3850
|
};
|
3850
3851
|
|
3851
|
-
//
|
3852
|
+
// blocks/auth/NewPassword.tsx
|
3852
3853
|
var import_react18 = __toESM(require("react"));
|
3853
3854
|
var import_react_hook_form3 = require("react-hook-form");
|
3854
3855
|
var import_zod3 = require("@hookform/resolvers/zod");
|
@@ -3945,7 +3946,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
|
|
3945
3946
|
));
|
3946
3947
|
};
|
3947
3948
|
|
3948
|
-
//
|
3949
|
+
// blocks/auth/ResetPassword.tsx
|
3949
3950
|
var import_react19 = __toESM(require("react"));
|
3950
3951
|
var import_react_hook_form4 = require("react-hook-form");
|
3951
3952
|
var import_zod4 = require("@hookform/resolvers/zod");
|
@@ -4001,13 +4002,13 @@ var ResetPasswordForm = (props) => {
|
|
4001
4002
|
)) : /* @__PURE__ */ import_react19.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
|
4002
4003
|
};
|
4003
4004
|
|
4004
|
-
//
|
4005
|
+
// blocks/auth/CodeConfirmation.tsx
|
4005
4006
|
var import_react21 = __toESM(require("react"));
|
4006
4007
|
var import_react_hook_form5 = require("react-hook-form");
|
4007
4008
|
var import_zod5 = require("@hookform/resolvers/zod");
|
4008
4009
|
var z5 = __toESM(require("zod"));
|
4009
4010
|
|
4010
|
-
//
|
4011
|
+
// elements/pinInput/PinInput.tsx
|
4011
4012
|
var import_react20 = __toESM(require("react"));
|
4012
4013
|
var PinInput = ({
|
4013
4014
|
label,
|
@@ -4090,7 +4091,7 @@ var PinInput = ({
|
|
4090
4091
|
));
|
4091
4092
|
};
|
4092
4093
|
|
4093
|
-
//
|
4094
|
+
// blocks/auth/CodeConfirmation.tsx
|
4094
4095
|
var CodeConfirmation = (props) => {
|
4095
4096
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
4096
4097
|
const formSchema = z5.object({
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import {
|
2
2
|
Input
|
3
|
-
} from "../../chunk-
|
3
|
+
} from "../../chunk-FDKCMEMD.mjs";
|
4
4
|
import {
|
5
5
|
StopPropagationWrapper
|
6
|
-
} from "../../chunk-
|
6
|
+
} from "../../chunk-ZS3FB3PO.mjs";
|
7
7
|
import {
|
8
8
|
Select
|
9
|
-
} from "../../chunk-
|
9
|
+
} from "../../chunk-4IOG44R3.mjs";
|
10
10
|
import {
|
11
11
|
EyeIcon,
|
12
12
|
HiddenEyeIcon
|
13
|
-
} from "../../chunk-
|
13
|
+
} from "../../chunk-U3TZWNDZ.mjs";
|
14
14
|
import {
|
15
15
|
Button,
|
16
16
|
Card,
|
@@ -22,16 +22,16 @@ import {
|
|
22
22
|
Label,
|
23
23
|
Loading,
|
24
24
|
cn
|
25
|
-
} from "../../chunk-
|
25
|
+
} from "../../chunk-AREFDTXK.mjs";
|
26
26
|
|
27
|
-
//
|
27
|
+
// blocks/auth/LoginForm.tsx
|
28
28
|
import React5, { useState as useState3 } from "react";
|
29
29
|
import { Controller, useForm } from "react-hook-form";
|
30
30
|
import { zodResolver } from "@hookform/resolvers/zod";
|
31
31
|
import { parsePhoneNumber } from "libphonenumber-js";
|
32
32
|
import * as z from "zod";
|
33
33
|
|
34
|
-
//
|
34
|
+
// elements/alert/Alert.tsx
|
35
35
|
import React, { useRef, useState, useEffect } from "react";
|
36
36
|
var Alert = ({
|
37
37
|
variant = "normal",
|
@@ -172,10 +172,10 @@ var Alert = ({
|
|
172
172
|
));
|
173
173
|
};
|
174
174
|
|
175
|
-
//
|
175
|
+
// elements/phoneInput/PhoneInput.tsx
|
176
176
|
import React2, { useState as useState2, useRef as useRef2, useEffect as useEffect2 } from "react";
|
177
177
|
|
178
|
-
//
|
178
|
+
// countries.ts
|
179
179
|
var countries = [
|
180
180
|
{
|
181
181
|
country_label: "Saudi Arabia",
|
@@ -1868,7 +1868,7 @@ var countries = [
|
|
1868
1868
|
];
|
1869
1869
|
var countries_default = countries;
|
1870
1870
|
|
1871
|
-
//
|
1871
|
+
// elements/phoneInput/PhoneInput.tsx
|
1872
1872
|
var PhoneInput = ({ labelProps, ...props }) => {
|
1873
1873
|
const [phoneNumber, setPhoneNumber] = useState2("");
|
1874
1874
|
const [countryCode, setCountryCode] = useState2(props.preferredCountry);
|
@@ -1932,10 +1932,10 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
1932
1932
|
));
|
1933
1933
|
};
|
1934
1934
|
|
1935
|
-
//
|
1935
|
+
// blocks/auth/AuthButtons.tsx
|
1936
1936
|
import React4 from "react";
|
1937
1937
|
|
1938
|
-
//
|
1938
|
+
// elements/logos/Logos.tsx
|
1939
1939
|
import React3 from "react";
|
1940
1940
|
var Logos = {
|
1941
1941
|
hawa: (props) => /* @__PURE__ */ React3.createElement(
|
@@ -2140,7 +2140,7 @@ var Logos = {
|
|
2140
2140
|
)
|
2141
2141
|
};
|
2142
2142
|
|
2143
|
-
//
|
2143
|
+
// blocks/auth/AuthButtons.tsx
|
2144
2144
|
var AuthButtons = (props) => {
|
2145
2145
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
2146
2146
|
return /* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React4.createElement(
|
@@ -2216,7 +2216,7 @@ var AuthButtons = (props) => {
|
|
2216
2216
|
));
|
2217
2217
|
};
|
2218
2218
|
|
2219
|
-
//
|
2219
|
+
// blocks/auth/LoginForm.tsx
|
2220
2220
|
var LoginForm = ({
|
2221
2221
|
loginType,
|
2222
2222
|
texts,
|
@@ -2505,13 +2505,13 @@ var LoginForm = ({
|
|
2505
2505
|
) : null));
|
2506
2506
|
};
|
2507
2507
|
|
2508
|
-
//
|
2508
|
+
// blocks/auth/RegisterForm.tsx
|
2509
2509
|
import React7, { useState as useState4 } from "react";
|
2510
2510
|
import { Controller as Controller2, FormProvider, useForm as useForm2 } from "react-hook-form";
|
2511
2511
|
import { zodResolver as zodResolver2 } from "@hookform/resolvers/zod";
|
2512
2512
|
import * as z2 from "zod";
|
2513
2513
|
|
2514
|
-
//
|
2514
|
+
// elements/checkbox/Checkbox.tsx
|
2515
2515
|
import * as React6 from "react";
|
2516
2516
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
2517
2517
|
var Checkbox = ({
|
@@ -2647,7 +2647,7 @@ var CheckboxElement = React6.forwardRef(({ radius = "inherit", size = "default",
|
|
2647
2647
|
});
|
2648
2648
|
CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
|
2649
2649
|
|
2650
|
-
//
|
2650
|
+
// blocks/auth/RegisterForm.tsx
|
2651
2651
|
var RegisterForm = ({
|
2652
2652
|
texts,
|
2653
2653
|
registerFields = ["email"],
|
@@ -2979,7 +2979,7 @@ var RegisterForm = ({
|
|
2979
2979
|
) : null));
|
2980
2980
|
};
|
2981
2981
|
|
2982
|
-
//
|
2982
|
+
// blocks/auth/AppLanding.tsx
|
2983
2983
|
import React8 from "react";
|
2984
2984
|
var AppLanding = ({ texts, ...props }) => {
|
2985
2985
|
const thirdPartyAuthTexts = {
|
@@ -3020,7 +3020,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
3020
3020
|
)))));
|
3021
3021
|
};
|
3022
3022
|
|
3023
|
-
//
|
3023
|
+
// blocks/auth/CheckEmail.tsx
|
3024
3024
|
import React9 from "react";
|
3025
3025
|
var CheckEmail = ({ texts, handleResend }) => {
|
3026
3026
|
return /* @__PURE__ */ React9.createElement(Card, null, /* @__PURE__ */ React9.createElement(CardContent, { headless: true }, /* @__PURE__ */ React9.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React9.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React9.createElement(
|
@@ -3041,7 +3041,7 @@ var CheckEmail = ({ texts, handleResend }) => {
|
|
3041
3041
|
)), /* @__PURE__ */ React9.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React9.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React9.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React9.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
|
3042
3042
|
};
|
3043
3043
|
|
3044
|
-
//
|
3044
|
+
// blocks/auth/NewPassword.tsx
|
3045
3045
|
import React10, { useState as useState5 } from "react";
|
3046
3046
|
import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
|
3047
3047
|
import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
|
@@ -3138,7 +3138,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
|
|
3138
3138
|
));
|
3139
3139
|
};
|
3140
3140
|
|
3141
|
-
//
|
3141
|
+
// blocks/auth/ResetPassword.tsx
|
3142
3142
|
import React11 from "react";
|
3143
3143
|
import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
|
3144
3144
|
import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
|
@@ -3194,13 +3194,13 @@ var ResetPasswordForm = (props) => {
|
|
3194
3194
|
)) : /* @__PURE__ */ React11.createElement(CardContent, { headless: true }, /* @__PURE__ */ React11.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
|
3195
3195
|
};
|
3196
3196
|
|
3197
|
-
//
|
3197
|
+
// blocks/auth/CodeConfirmation.tsx
|
3198
3198
|
import React13, { useEffect as useEffect4, useState as useState7 } from "react";
|
3199
3199
|
import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
|
3200
3200
|
import { zodResolver as zodResolver5 } from "@hookform/resolvers/zod";
|
3201
3201
|
import * as z5 from "zod";
|
3202
3202
|
|
3203
|
-
//
|
3203
|
+
// elements/pinInput/PinInput.tsx
|
3204
3204
|
import React12, { useEffect as useEffect3, useState as useState6 } from "react";
|
3205
3205
|
var PinInput = ({
|
3206
3206
|
label,
|
@@ -3283,7 +3283,7 @@ var PinInput = ({
|
|
3283
3283
|
));
|
3284
3284
|
};
|
3285
3285
|
|
3286
|
-
//
|
3286
|
+
// blocks/auth/CodeConfirmation.tsx
|
3287
3287
|
var CodeConfirmation = (props) => {
|
3288
3288
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
3289
3289
|
const formSchema = z5.object({
|