@sikka/hawa 0.40.1-next → 0.41.1-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/accordion/index.js.map +1 -1
- package/dist/accordion/index.mjs.map +1 -1
- package/dist/alert/index.js +1 -1
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +1 -1
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +15 -15
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +15 -15
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/appMenubar/index.js.map +1 -1
- package/dist/appMenubar/index.mjs.map +1 -1
- package/dist/appTabs/index.js +2 -2
- package/dist/appTabs/index.js.map +1 -1
- package/dist/appTabs/index.mjs +2 -2
- package/dist/appTabs/index.mjs.map +1 -1
- package/dist/appTopbar/index.js +5 -5
- package/dist/appTopbar/index.js.map +1 -1
- package/dist/appTopbar/index.mjs +5 -5
- package/dist/appTopbar/index.mjs.map +1 -1
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/index.js.map +1 -1
- package/dist/avatar/index.mjs +1 -1
- package/dist/avatar/index.mjs.map +1 -1
- package/dist/backToTop/index.js +1 -1
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +1 -1
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/badge/index.d.mts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/badge/index.js +1 -1
- package/dist/badge/index.js.map +1 -1
- package/dist/badge/index.mjs +1 -1
- package/dist/badge/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +102 -17
- package/dist/blocks/auth/index.mjs +100 -15
- package/dist/blocks/feedback/index.js +20 -21
- package/dist/blocks/feedback/index.mjs +18 -20
- package/dist/blocks/index.js +150 -66
- package/dist/blocks/index.mjs +47 -49
- package/dist/blocks/misc/index.js +17 -19
- package/dist/blocks/misc/index.mjs +11 -11
- package/dist/blocks/pricing/index.js +23 -23
- package/dist/blocks/pricing/index.mjs +21 -21
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/card/index.js +1 -1
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +1 -1
- package/dist/card/index.mjs.map +1 -1
- package/dist/carousel/index.d.mts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/index.js +7 -7
- package/dist/carousel/index.js.map +1 -1
- package/dist/carousel/index.mjs +7 -7
- package/dist/carousel/index.mjs.map +1 -1
- package/dist/checkbox/index.js +2 -2
- package/dist/checkbox/index.js.map +1 -1
- package/dist/checkbox/index.mjs +2 -2
- package/dist/checkbox/index.mjs.map +1 -1
- package/dist/{chunk-27G5FKOP.mjs → chunk-2GEXJLRC.mjs} +1 -1
- package/dist/{chunk-QSEQS7DS.mjs → chunk-7R25FOBM.mjs} +17 -17
- package/dist/{chunk-AJTYKC5R.mjs → chunk-CQYG77SY.mjs} +1 -1
- package/dist/{chunk-QZIENYTE.mjs → chunk-D7HDVJFT.mjs} +3 -3
- package/dist/{chunk-DYPGZ2IP.mjs → chunk-EBZECS2Z.mjs} +4 -4
- package/dist/{chunk-CTNKKP2O.mjs → chunk-FLMCWOQQ.mjs} +62 -62
- package/dist/{chunk-GU2DOJ7Q.mjs → chunk-FP6763YO.mjs} +89 -4
- package/dist/{chunk-RT2Q3SH7.mjs → chunk-I3AK6DXN.mjs} +3 -3
- package/dist/{chunk-CTZRVSTI.mjs → chunk-K5S7P5ZO.mjs} +4 -4
- package/dist/{chunk-GN7EIDTE.mjs → chunk-QNLA5TSV.mjs} +2 -2
- package/dist/codeBlock/index.js +5 -5
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +5 -5
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js +7 -7
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +7 -7
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.js +5 -5
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +5 -5
- package/dist/command/index.mjs.map +1 -1
- package/dist/dataTable/index.d.mts +6 -1
- package/dist/dataTable/index.d.ts +6 -1
- package/dist/dataTable/index.js +459 -245
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +476 -262
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/destroyableCard/index.js +1 -1
- package/dist/destroyableCard/index.js.map +1 -1
- package/dist/destroyableCard/index.mjs +1 -1
- package/dist/destroyableCard/index.mjs.map +1 -1
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/index.js.map +1 -1
- package/dist/dialog/index.mjs +4 -4
- package/dist/dialog/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +92 -9
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +92 -9
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/docsSidebar/index.js +1 -1
- package/dist/docsSidebar/index.js.map +1 -1
- package/dist/docsSidebar/index.mjs +1 -1
- package/dist/docsSidebar/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.js +3 -3
- package/dist/dropdownMenu/index.js.map +1 -1
- package/dist/dropdownMenu/index.mjs +3 -3
- package/dist/dropdownMenu/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +12 -2
- package/dist/elements/index.d.ts +12 -2
- package/dist/elements/index.js +656 -493
- package/dist/elements/index.mjs +288 -210
- package/dist/fileDropzone/index.js +5 -5
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +5 -5
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/glow/index.js.map +1 -1
- package/dist/glow/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/index.css +27 -127
- package/dist/index.d.mts +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +732 -570
- package/dist/index.mjs +822 -660
- package/dist/input/index.js +3 -3
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +3 -3
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +4 -4
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +4 -4
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.js.map +1 -1
- package/dist/label/index.mjs.map +1 -1
- package/dist/layout/index.js +119 -36
- package/dist/layout/index.mjs +31 -31
- package/dist/loading/index.js.map +1 -1
- package/dist/loading/index.mjs.map +1 -1
- package/dist/logos/index.d.mts +5 -0
- package/dist/logos/index.d.ts +5 -0
- package/dist/logos/index.js +85 -0
- package/dist/logos/index.js.map +1 -1
- package/dist/logos/index.mjs +85 -0
- package/dist/logos/index.mjs.map +1 -1
- package/dist/navbar/index.js +12 -12
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +12 -12
- package/dist/navbar/index.mjs.map +1 -1
- package/dist/navigationMenu/index.js +5 -5
- package/dist/navigationMenu/index.js.map +1 -1
- package/dist/navigationMenu/index.mjs +5 -5
- package/dist/navigationMenu/index.mjs.map +1 -1
- package/dist/pagination/index.js.map +1 -1
- package/dist/pagination/index.mjs.map +1 -1
- package/dist/passwordInput/index.js +3 -3
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +3 -3
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +4 -4
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +4 -4
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/progress/index.js.map +1 -1
- package/dist/progress/index.mjs.map +1 -1
- package/dist/progressCircle/index.js +1 -1
- package/dist/progressCircle/index.js.map +1 -1
- package/dist/progressCircle/index.mjs +1 -1
- package/dist/progressCircle/index.mjs.map +1 -1
- package/dist/radio/index.js +3 -3
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +3 -3
- package/dist/radio/index.mjs.map +1 -1
- package/dist/scrollArea/index.js +2 -2
- package/dist/scrollArea/index.js.map +1 -1
- package/dist/scrollArea/index.mjs +2 -2
- package/dist/scrollArea/index.mjs.map +1 -1
- package/dist/scrollIndicator/index.js.map +1 -1
- package/dist/scrollIndicator/index.mjs.map +1 -1
- package/dist/select/index.js +2 -2
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +2 -2
- package/dist/select/index.mjs.map +1 -1
- package/dist/separator/index.js.map +1 -1
- package/dist/separator/index.mjs.map +1 -1
- package/dist/sheet/index.js +1 -1
- package/dist/sheet/index.js.map +1 -1
- package/dist/sheet/index.mjs +1 -1
- package/dist/sheet/index.mjs.map +1 -1
- package/dist/sidebar/index.js +5 -5
- package/dist/sidebar/index.js.map +1 -1
- package/dist/sidebar/index.mjs +5 -5
- package/dist/sidebar/index.mjs.map +1 -1
- package/dist/signature/index.js.map +1 -1
- package/dist/signature/index.mjs.map +1 -1
- package/dist/simpleTable/index.js +5 -5
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +5 -5
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/slider/index.js.map +1 -1
- package/dist/slider/index.mjs.map +1 -1
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +27 -27
- package/dist/splitButton/index.d.ts +27 -27
- package/dist/splitButton/index.js +750 -750
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +752 -752
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/stats/index.js +3 -5
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs +3 -5
- package/dist/stats/index.mjs.map +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/index.js.map +1 -1
- package/dist/switch/index.mjs +1 -1
- package/dist/switch/index.mjs.map +1 -1
- package/dist/table/index.js +4 -4
- package/dist/table/index.js.map +1 -1
- package/dist/table/index.mjs +4 -4
- package/dist/table/index.mjs.map +1 -1
- package/dist/tabs/index.js +2 -2
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +2 -2
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +1 -1
- package/dist/textarea/index.mjs.map +1 -1
- package/dist/toaster/index.js +1 -1
- package/dist/toaster/index.js.map +1 -1
- package/dist/toaster/index.mjs +1 -1
- package/dist/toaster/index.mjs.map +1 -1
- package/dist/tooltip/index.js.map +1 -1
- package/dist/tooltip/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/blocks/index.mjs
CHANGED
@@ -17,7 +17,7 @@ import {
|
|
17
17
|
TabsList,
|
18
18
|
TabsTrigger,
|
19
19
|
Textarea
|
20
|
-
} from "../chunk-
|
20
|
+
} from "../chunk-7R25FOBM.mjs";
|
21
21
|
import "../chunk-XCW5YNMS.mjs";
|
22
22
|
import {
|
23
23
|
BadEmoji,
|
@@ -34,7 +34,6 @@ import {
|
|
34
34
|
EyeIcon,
|
35
35
|
GoodEmoji,
|
36
36
|
HiddenEyeIcon,
|
37
|
-
Label,
|
38
37
|
Loading,
|
39
38
|
Logos,
|
40
39
|
Skeleton,
|
@@ -43,7 +42,7 @@ import {
|
|
43
42
|
VeryBadEmoji,
|
44
43
|
VeryGoodEmoji,
|
45
44
|
cn
|
46
|
-
} from "../chunk-
|
45
|
+
} from "../chunk-FP6763YO.mjs";
|
47
46
|
import "../chunk-SYGWSBJL.mjs";
|
48
47
|
|
49
48
|
// blocks/auth/AuthButtons.tsx
|
@@ -284,7 +283,7 @@ var LoginForm = ({
|
|
284
283
|
"div",
|
285
284
|
{
|
286
285
|
onClick: props.onForgotPassword,
|
287
|
-
className: "hawa-mb-3
|
286
|
+
className: "hawa-mb-3 hawa-mt-2 hawa-w-fit hawa-cursor-pointer hawa-select-none hawa-text-xs dark:hawa-text-gray-300"
|
288
287
|
},
|
289
288
|
(texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
|
290
289
|
)));
|
@@ -835,7 +834,7 @@ var RegisterForm = ({
|
|
835
834
|
/* @__PURE__ */ React3.createElement(
|
836
835
|
Button,
|
837
836
|
{
|
838
|
-
className: "
|
837
|
+
className: "hawa-w-full",
|
839
838
|
type: "submit",
|
840
839
|
isLoading: props.isLoading,
|
841
840
|
disabled: props.isLoading
|
@@ -843,7 +842,7 @@ var RegisterForm = ({
|
|
843
842
|
(texts == null ? void 0 : texts.registerText) || "Register"
|
844
843
|
),
|
845
844
|
props.additionalButtons
|
846
|
-
)), props.onRouteToLogin && /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center
|
845
|
+
)), props.onRouteToLogin && /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-white" }, /* @__PURE__ */ React3.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ React3.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))),
|
847
846
|
props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React3.createElement(
|
848
847
|
CardFooter,
|
849
848
|
{
|
@@ -916,7 +915,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
916
915
|
// blocks/auth/CheckEmail.tsx
|
917
916
|
import React5 from "react";
|
918
917
|
var CheckEmail = ({ texts, handleResend }) => {
|
919
|
-
return /* @__PURE__ */ React5.createElement(Card, null, /* @__PURE__ */ React5.createElement(CardContent, { headless: true }, /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React5.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
|
918
|
+
return /* @__PURE__ */ React5.createElement(Card, null, /* @__PURE__ */ React5.createElement(CardContent, { headless: true }, /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React5.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__ */ React5.createElement(
|
920
919
|
"svg",
|
921
920
|
{
|
922
921
|
stroke: "currentColor",
|
@@ -931,7 +930,7 @@ var CheckEmail = ({ texts, handleResend }) => {
|
|
931
930
|
},
|
932
931
|
/* @__PURE__ */ React5.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" }),
|
933
932
|
/* @__PURE__ */ React5.createElement("polyline", { points: "22,6 12,13 2,6" })
|
934
|
-
)), /* @__PURE__ */ React5.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React5.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__ */ React5.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center
|
933
|
+
)), /* @__PURE__ */ React5.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React5.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__ */ React5.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ React5.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
|
935
934
|
};
|
936
935
|
|
937
936
|
// blocks/auth/NewPassword.tsx
|
@@ -1199,7 +1198,7 @@ var CodeConfirmation = ({
|
|
1199
1198
|
}
|
1200
1199
|
}
|
1201
1200
|
),
|
1202
|
-
showResendTimer ? /* @__PURE__ */ React8.createElement("div", { className: "
|
1201
|
+
showResendTimer ? /* @__PURE__ */ React8.createElement("div", { className: "hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, (_e = props.texts) == null ? void 0 : _e.resendCodeTimer, " ", /* @__PURE__ */ React8.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ React8.createElement("div", { className: "hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React8.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ React8.createElement(
|
1203
1202
|
"span",
|
1204
1203
|
{
|
1205
1204
|
className: "clickable-link",
|
@@ -1410,7 +1409,7 @@ var FeedbackRating = ({
|
|
1410
1409
|
{
|
1411
1410
|
ref: popUpRef,
|
1412
1411
|
className: cn(
|
1413
|
-
props.banner ? "hawa-fixed hawa-bottom-0 hawa-left-0 hawa-w-full hawa-px-0 md:hawa-px-4" : "hawa-fixed hawa-bottom-4
|
1412
|
+
props.banner ? "hawa-fixed hawa-bottom-0 hawa-left-0 hawa-w-full hawa-px-0 md:hawa-px-4" : "hawa-fixed hawa-bottom-4",
|
1414
1413
|
boxPosition[position]
|
1415
1414
|
)
|
1416
1415
|
},
|
@@ -1418,7 +1417,7 @@ var FeedbackRating = ({
|
|
1418
1417
|
"div",
|
1419
1418
|
{
|
1420
1419
|
className: cn(
|
1421
|
-
"hawa-relative hawa-flex hawa-w-full
|
1420
|
+
"hawa-relative hawa-flex hawa-w-full hawa-flex-col hawa-gap-2 hawa-rounded hawa-border hawa-bg-background hawa-p-4 hawa-shadow-md hawa-transition-all",
|
1422
1421
|
closed ? "hawa-opacity-0" : "hawa-opacity-100",
|
1423
1422
|
props.banner && "hawa-rounded-none hawa-px-4 md:hawa-rounded-t md:hawa-px-64"
|
1424
1423
|
)
|
@@ -1474,13 +1473,13 @@ var FeedbackRating = ({
|
|
1474
1473
|
}, 5300);
|
1475
1474
|
},
|
1476
1475
|
className: cn(
|
1477
|
-
"hawa-w-full hawa-cursor-pointer hawa-rounded hawa-border
|
1476
|
+
"hawa-w-full hawa-cursor-pointer hawa-rounded hawa-border hawa-p-4 hawa-text-center hawa-transition-all",
|
1478
1477
|
clickedOption === op ? "hawa-bg-gray-500 hawa-text-white" : "hawa-border hawa-bg-background hover:hawa-bg-gray-300 dark:hover:hawa-bg-gray-700"
|
1479
1478
|
)
|
1480
1479
|
},
|
1481
1480
|
op
|
1482
1481
|
))),
|
1483
|
-
props.texts && /* @__PURE__ */ React10.createElement("div", { className: "
|
1482
|
+
props.texts && /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ React10.createElement("span", null, props.texts.least), /* @__PURE__ */ React10.createElement("span", null, props.texts.most)),
|
1484
1483
|
answered && /* @__PURE__ */ React10.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-rounded hawa-bg-black hawa-bg-opacity-80 hawa-p-4 hawa-text-center hawa-transition-all" }, /* @__PURE__ */ React10.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React10.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
|
1485
1484
|
)
|
1486
1485
|
);
|
@@ -1521,11 +1520,11 @@ var FeedbackEmoji = (props) => {
|
|
1521
1520
|
"div",
|
1522
1521
|
{
|
1523
1522
|
className: cn(
|
1524
|
-
"hawa-flex
|
1525
|
-
selectedEmoji ? "hawa-h-[189px]
|
1523
|
+
"hawa-flex hawa-flex-col hawa-rounded hawa-border hawa-p-2 hawa-transition-all",
|
1524
|
+
selectedEmoji ? "hawa-h-[189px] hawa-min-w-fit" : "hawa-h-[44px]"
|
1526
1525
|
)
|
1527
1526
|
},
|
1528
|
-
/* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row
|
1527
|
+
/* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5" }, emojis.map((emoji, i) => /* @__PURE__ */ React11.createElement(
|
1529
1528
|
Button,
|
1530
1529
|
{
|
1531
1530
|
key: i,
|
@@ -1539,7 +1538,7 @@ var FeedbackEmoji = (props) => {
|
|
1539
1538
|
variant: "ghost",
|
1540
1539
|
size: "smallIcon",
|
1541
1540
|
className: cn(
|
1542
|
-
selectedEmoji === emoji.value ? "hawa-bg-primary/10 hover:hawa-bg-primary/10
|
1541
|
+
selectedEmoji === emoji.value ? "hawa-bg-primary/10 hover:hawa-bg-primary/10" : "hawa-text-[#666666]"
|
1543
1542
|
)
|
1544
1543
|
},
|
1545
1544
|
emoji.icon
|
@@ -1548,11 +1547,11 @@ var FeedbackEmoji = (props) => {
|
|
1548
1547
|
"div",
|
1549
1548
|
{
|
1550
1549
|
className: cn(
|
1551
|
-
"hawa-flex hawa-flex-col hawa-overflow-clip
|
1552
|
-
selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0
|
1550
|
+
"hawa-flex hawa-flex-col hawa-overflow-clip hawa-transition-all hawa-duration-500 hawa-ease-in-out",
|
1551
|
+
selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0"
|
1553
1552
|
)
|
1554
1553
|
},
|
1555
|
-
props.showSuccess ? /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2
|
1554
|
+
props.showSuccess ? /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ React11.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ React11.createElement(
|
1556
1555
|
"svg",
|
1557
1556
|
{
|
1558
1557
|
stroke: "currentColor",
|
@@ -1566,7 +1565,7 @@ var FeedbackEmoji = (props) => {
|
|
1566
1565
|
)), /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-col hawa-text-center hawa-text-sm" }, /* @__PURE__ */ React11.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ React11.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-1 hawa-p-1" }, /* @__PURE__ */ React11.createElement(
|
1567
1566
|
Popover,
|
1568
1567
|
{
|
1569
|
-
className: "hawa-select-none hawa-p-1 hawa-text-xs
|
1568
|
+
className: "hawa-select-none hawa-p-1 hawa-text-xs",
|
1570
1569
|
open: helperText,
|
1571
1570
|
trigger: /* @__PURE__ */ React11.createElement(
|
1572
1571
|
Textarea,
|
@@ -1635,9 +1634,8 @@ var FeedbackForm = (props) => {
|
|
1635
1634
|
console.log("Form is submitted but onSubmit prop is missing");
|
1636
1635
|
}
|
1637
1636
|
}),
|
1638
|
-
className: "hawa-flex hawa-flex-col hawa-gap-
|
1637
|
+
className: "hawa-flex hawa-flex-col hawa-gap-4"
|
1639
1638
|
},
|
1640
|
-
/* @__PURE__ */ React12.createElement(Label, null),
|
1641
1639
|
/* @__PURE__ */ React12.createElement(
|
1642
1640
|
Controller7,
|
1643
1641
|
{
|
@@ -1709,7 +1707,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
1709
1707
|
ScrollArea,
|
1710
1708
|
{
|
1711
1709
|
className: cn(
|
1712
|
-
"hawa-rounded
|
1710
|
+
"hawa-rounded hawa-border hawa-bg-muted hawa-p-4",
|
1713
1711
|
props.scrollAreaClassName
|
1714
1712
|
)
|
1715
1713
|
},
|
@@ -1721,7 +1719,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
1721
1719
|
// blocks/misc/EmptyState.tsx
|
1722
1720
|
import React14 from "react";
|
1723
1721
|
var EmptyState = ({ texts, onActionClick }) => {
|
1724
|
-
return /* @__PURE__ */ React14.createElement(Card, null, /* @__PURE__ */ React14.createElement(CardContent, { headless: true }, /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center
|
1722
|
+
return /* @__PURE__ */ React14.createElement(Card, null, /* @__PURE__ */ React14.createElement(CardContent, { headless: true }, /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 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__ */ React14.createElement(
|
1725
1723
|
"svg",
|
1726
1724
|
{
|
1727
1725
|
stroke: "currentColor",
|
@@ -1750,7 +1748,7 @@ var Testimonial = () => {
|
|
1750
1748
|
d: "M25.356 22.4427L28.7951 16.5199C28.982 16.1981 29.326 16 29.6982 16H32.0729C32.8679 16 33.3713 16.8528 32.9873 17.5488L30.5191 22.0225C30.4351 22.1747 30.391 22.3458 30.391 22.5196C30.391 23.0879 30.8518 23.5486 31.4201 23.5486H32.7975C33.3743 23.5486 33.8418 24.0162 33.8418 24.5929V31.347C33.8418 31.9237 33.3743 32.3913 32.7975 32.3913H26.2592C25.6824 32.3913 25.2148 31.9237 25.2148 31.347V22.9671C25.2148 22.7829 25.2636 22.602 25.356 22.4427Z",
|
1751
1749
|
fill: "#FFFFFF"
|
1752
1750
|
}
|
1753
|
-
)), /* @__PURE__ */ React15.createElement("span", { className: "border border-l
|
1751
|
+
)), /* @__PURE__ */ React15.createElement("span", { className: "border border-l" }), " ", /* @__PURE__ */ React15.createElement("div", null, /* @__PURE__ */ React15.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React15.createElement("div", null, " Chief Information Security Officer")))));
|
1754
1752
|
};
|
1755
1753
|
|
1756
1754
|
// blocks/misc/LeadGenerator.tsx
|
@@ -1805,7 +1803,7 @@ var Announcement = ({
|
|
1805
1803
|
headless: true,
|
1806
1804
|
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
|
1807
1805
|
},
|
1808
|
-
/* @__PURE__ */ React17.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center
|
1806
|
+
/* @__PURE__ */ React17.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center" }, /* @__PURE__ */ React17.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React17.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
|
1809
1807
|
/* @__PURE__ */ React17.createElement(
|
1810
1808
|
Button,
|
1811
1809
|
{
|
@@ -1820,13 +1818,13 @@ var Announcement = ({
|
|
1820
1818
|
// blocks/misc/NotFound.tsx
|
1821
1819
|
import React18 from "react";
|
1822
1820
|
var NotFound = ({ texts }) => {
|
1823
|
-
return /* @__PURE__ */ React18.createElement(Card, null, /* @__PURE__ */ React18.createElement(CardContent, { headless: true }, /* @__PURE__ */ React18.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React18.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold
|
1821
|
+
return /* @__PURE__ */ React18.createElement(Card, null, /* @__PURE__ */ React18.createElement(CardContent, { headless: true }, /* @__PURE__ */ React18.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React18.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold" }, "404"), /* @__PURE__ */ React18.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ React18.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React18.createElement(React18.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React18.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React18.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
|
1824
1822
|
};
|
1825
1823
|
|
1826
1824
|
// blocks/misc/NoPermission.tsx
|
1827
1825
|
import React19 from "react";
|
1828
1826
|
var NoPermission = ({ texts }) => {
|
1829
|
-
return /* @__PURE__ */ React19.createElement(Card, null, /* @__PURE__ */ React19.createElement(CardContent, { headless: true }, /* @__PURE__ */ React19.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React19.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold
|
1827
|
+
return /* @__PURE__ */ React19.createElement(Card, null, /* @__PURE__ */ React19.createElement(CardContent, { headless: true }, /* @__PURE__ */ React19.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React19.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 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__ */ React19.createElement(
|
1830
1828
|
"svg",
|
1831
1829
|
{
|
1832
1830
|
stroke: "currentColor",
|
@@ -2077,7 +2075,7 @@ var ActionCard = (props) => {
|
|
2077
2075
|
onMouseEnter: () => setHovered(true),
|
2078
2076
|
onMouseLeave: () => setHovered(false)
|
2079
2077
|
},
|
2080
|
-
props.blank ? /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center
|
2078
|
+
props.blank ? /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React21.createElement(
|
2081
2079
|
"svg",
|
2082
2080
|
{
|
2083
2081
|
className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
|
@@ -2142,7 +2140,7 @@ var AdCard = ({
|
|
2142
2140
|
className: cn(cardStyles[orientation], props.className),
|
2143
2141
|
onClick: props.handleClick
|
2144
2142
|
},
|
2145
|
-
/* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full
|
2143
|
+
/* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start" }, /* @__PURE__ */ React22.createElement(
|
2146
2144
|
"img",
|
2147
2145
|
{
|
2148
2146
|
src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
|
@@ -2187,9 +2185,9 @@ var PricingCard = ({
|
|
2187
2185
|
}) => {
|
2188
2186
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
2189
2187
|
let cardSizes = {
|
2190
|
-
small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
2191
|
-
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
2192
|
-
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
2188
|
+
small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
2189
|
+
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
2190
|
+
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background"
|
2193
2191
|
};
|
2194
2192
|
return /* @__PURE__ */ React23.createElement(React23.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React23.createElement(
|
2195
2193
|
Skeleton,
|
@@ -2202,21 +2200,21 @@ var PricingCard = ({
|
|
2202
2200
|
{
|
2203
2201
|
dir: direction,
|
2204
2202
|
className: cn(
|
2205
|
-
currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70
|
2203
|
+
currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70" : "hawa-border",
|
2206
2204
|
cardSizes[size],
|
2207
|
-
"hawa-relative hawa-flex
|
2205
|
+
"hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-gap-4 hawa-p-4",
|
2208
2206
|
recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
|
2209
2207
|
)
|
2210
2208
|
},
|
2211
2209
|
recommended && /* @__PURE__ */ React23.createElement(
|
2212
2210
|
"div",
|
2213
2211
|
{
|
2214
|
-
className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2
|
2212
|
+
className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2 hawa-text-center hawa-text-primary-foreground",
|
2215
2213
|
style: { width: "calc(100% + 2px)" }
|
2216
2214
|
},
|
2217
2215
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
2218
2216
|
),
|
2219
|
-
/* @__PURE__ */ React23.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React23.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React23.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React23.createElement("h5", { className: "hawa-text-sm
|
2217
|
+
/* @__PURE__ */ React23.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React23.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React23.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React23.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ React23.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React23.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React23.createElement("div", { className: "hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ React23.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0" }) : /* @__PURE__ */ React23.createElement(React23.Fragment, null, props.noPrice ? /* @__PURE__ */ React23.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ React23.createElement(React23.Fragment, null, /* @__PURE__ */ React23.createElement(React23.Fragment, null, /* @__PURE__ */ React23.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ React23.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ React23.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React23.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ React23.createElement("span", { className: "hawa-ml-1 hawa-whitespace-nowrap hawa-text-xl hawa-font-normal hawa-text-primary/70" }, "/ ", (_g = props.texts) == null ? void 0 : _g.cycleText)))), endButton && /* @__PURE__ */ React23.createElement(Separator, null), /* @__PURE__ */ React23.createElement(
|
2220
2218
|
"div",
|
2221
2219
|
{
|
2222
2220
|
className: cn(
|
@@ -2252,7 +2250,7 @@ var PricingCard = ({
|
|
2252
2250
|
clipRule: "evenodd"
|
2253
2251
|
}
|
2254
2252
|
)
|
2255
|
-
) : /* @__PURE__ */ React23.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ React23.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70
|
2253
|
+
) : /* @__PURE__ */ React23.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ React23.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70" }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ React23.createElement(
|
2256
2254
|
Chip,
|
2257
2255
|
{
|
2258
2256
|
label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
|
@@ -2346,7 +2344,7 @@ var ItemCard = ({
|
|
2346
2344
|
{
|
2347
2345
|
className: cn(
|
2348
2346
|
defaultStyle,
|
2349
|
-
props.onCardClick && "
|
2347
|
+
props.onCardClick && "hawa-cursor-pointer hover:hawa-shadow-lg",
|
2350
2348
|
orientationStyles[orientation],
|
2351
2349
|
props.className
|
2352
2350
|
),
|
@@ -2366,7 +2364,7 @@ var ItemCard = ({
|
|
2366
2364
|
clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
|
2367
2365
|
)
|
2368
2366
|
}
|
2369
|
-
), clickableImage && /* @__PURE__ */ React24.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React24.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100
|
2367
|
+
), clickableImage && /* @__PURE__ */ React24.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React24.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100" }, /* @__PURE__ */ React24.createElement(
|
2370
2368
|
Button,
|
2371
2369
|
{
|
2372
2370
|
variant: "secondary",
|
@@ -2400,7 +2398,7 @@ var ItemCard = ({
|
|
2400
2398
|
)
|
2401
2399
|
)
|
2402
2400
|
}
|
2403
|
-
))), /* @__PURE__ */ React24.createElement("div", { className: "
|
2401
|
+
))), /* @__PURE__ */ React24.createElement("div", { className: "hawa-mx-2" }, header && /* @__PURE__ */ React24.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight" }, header), content && /* @__PURE__ */ React24.createElement("span", { className: "hawa-w-full hawa-font-normal" }, content)), actions || counts ? /* @__PURE__ */ React24.createElement(
|
2404
2402
|
"div",
|
2405
2403
|
{
|
2406
2404
|
className: cn(
|
@@ -2549,7 +2547,7 @@ var ComparingPlans = (props) => {
|
|
2549
2547
|
key: i,
|
2550
2548
|
className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2"
|
2551
2549
|
},
|
2552
|
-
/* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React27.createElement("span", { className: "hawa-text-md hawa-font-bold
|
2550
|
+
/* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React27.createElement("span", { className: "hawa-text-md hawa-font-bold" }, plan.texts.title), /* @__PURE__ */ React27.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground" }, plan.texts.subtitle)), /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-items-baseline" }, /* @__PURE__ */ React27.createElement(React27.Fragment, null, /* @__PURE__ */ React27.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React27.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React27.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal" }, "/ ", plan.texts.cycleText)))
|
2553
2551
|
))
|
2554
2552
|
), /* @__PURE__ */ React27.createElement(
|
2555
2553
|
ScrollArea,
|
@@ -2564,7 +2562,7 @@ var ComparingPlans = (props) => {
|
|
2564
2562
|
{
|
2565
2563
|
key: featureIndex,
|
2566
2564
|
className: cn(
|
2567
|
-
"hawa-border-foreground-muted
|
2565
|
+
"hawa-border-foreground-muted hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
|
2568
2566
|
featureIndex === 0 ? "" : "hawa-border-t"
|
2569
2567
|
)
|
2570
2568
|
},
|
@@ -2628,7 +2626,7 @@ var ComparingPlans = (props) => {
|
|
2628
2626
|
})
|
2629
2627
|
);
|
2630
2628
|
})
|
2631
|
-
), props.showButtons && /* @__PURE__ */ React27.createElement("div", { className: "hawa-grid
|
2629
|
+
), props.showButtons && /* @__PURE__ */ React27.createElement("div", { className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5" }, /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
|
2632
2630
|
var _a;
|
2633
2631
|
return /* @__PURE__ */ React27.createElement(
|
2634
2632
|
"div",
|
@@ -2668,7 +2666,7 @@ var HorizontalPricing = (props) => {
|
|
2668
2666
|
{ title: "business", price: "$99", cycle: "/mo" },
|
2669
2667
|
{ title: "enterprise", price: "$149", cycle: "/mo" }
|
2670
2668
|
];
|
2671
|
-
return /* @__PURE__ */ React28.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React28.createElement("div", { className: "hawa-max-w-2xl
|
2669
|
+
return /* @__PURE__ */ React28.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React28.createElement("div", { className: "hawa-max-w-2xl" }, /* @__PURE__ */ React28.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React28.createElement(
|
2672
2670
|
Radio,
|
2673
2671
|
{
|
2674
2672
|
name: "currency",
|
@@ -2705,8 +2703,8 @@ var HorizontalPricing = (props) => {
|
|
2705
2703
|
"div",
|
2706
2704
|
{
|
2707
2705
|
className: cn(
|
2708
|
-
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20
|
2709
|
-
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between
|
2706
|
+
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20" : "",
|
2707
|
+
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
|
2710
2708
|
)
|
2711
2709
|
},
|
2712
2710
|
/* @__PURE__ */ React28.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React28.createElement(CheckIcons, null), /* @__PURE__ */ React28.createElement(
|
@@ -2753,7 +2751,7 @@ var CheckIcons = () => /* @__PURE__ */ React28.createElement(React28.Fragment, n
|
|
2753
2751
|
}
|
2754
2752
|
)
|
2755
2753
|
));
|
2756
|
-
var CardText = (props) => /* @__PURE__ */ React28.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start
|
2754
|
+
var CardText = (props) => /* @__PURE__ */ React28.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start" }, /* @__PURE__ */ React28.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React28.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
|
2757
2755
|
var CardPrice = (props) => /* @__PURE__ */ React28.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React28.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
|
2758
2756
|
|
2759
2757
|
// blocks/Usage.tsx
|
@@ -45,10 +45,6 @@ module.exports = __toCommonJS(misc_exports);
|
|
45
45
|
// blocks/misc/LegalTexts.tsx
|
46
46
|
var import_react21 = __toESM(require("react"));
|
47
47
|
|
48
|
-
// elements/scrollArea/ScrollArea.tsx
|
49
|
-
var React = __toESM(require("react"));
|
50
|
-
var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
|
51
|
-
|
52
48
|
// util/index.ts
|
53
49
|
var import_clsx = require("clsx");
|
54
50
|
var import_tailwind_merge = require("tailwind-merge");
|
@@ -57,6 +53,8 @@ function cn(...inputs) {
|
|
57
53
|
}
|
58
54
|
|
59
55
|
// elements/scrollArea/ScrollArea.tsx
|
56
|
+
var React = __toESM(require("react"));
|
57
|
+
var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
|
60
58
|
var ScrollArea = React.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => {
|
61
59
|
const scrollAreaRef = React.useRef(null);
|
62
60
|
const isDragging = React.useRef(false);
|
@@ -124,7 +122,7 @@ var ScrollArea = React.forwardRef(({ className, children, orientation = "vertica
|
|
124
122
|
"div",
|
125
123
|
{
|
126
124
|
className: cn(
|
127
|
-
"hawa-pointer-events-none hawa-absolute hawa-bg-background
|
125
|
+
"hawa-pointer-events-none hawa-absolute hawa-bg-background hawa-h-full hawa-w-[50px] hawa-z-10 hawa-start-0 hawa-mask-fade-right",
|
128
126
|
showLeftFade ? "hawa-block" : "hawa-hidden"
|
129
127
|
)
|
130
128
|
}
|
@@ -133,7 +131,7 @@ var ScrollArea = React.forwardRef(({ className, children, orientation = "vertica
|
|
133
131
|
"div",
|
134
132
|
{
|
135
133
|
className: cn(
|
136
|
-
"hawa-pointer-events-none hawa-absolute hawa-bg-background hawa-mask-fade-left hawa-end-0 hawa-h-full hawa-w-[50px] hawa-z-10
|
134
|
+
"hawa-pointer-events-none hawa-absolute hawa-bg-background hawa-mask-fade-left hawa-end-0 hawa-h-full hawa-w-[50px] hawa-z-10",
|
137
135
|
showRightFade ? "hawa-block" : "hawa-hidden"
|
138
136
|
)
|
139
137
|
}
|
@@ -538,7 +536,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
538
536
|
ScrollArea,
|
539
537
|
{
|
540
538
|
className: cn(
|
541
|
-
"hawa-rounded
|
539
|
+
"hawa-rounded hawa-border hawa-bg-muted hawa-p-4",
|
542
540
|
props.scrollAreaClassName
|
543
541
|
)
|
544
542
|
},
|
@@ -1044,7 +1042,7 @@ var CardTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
1044
1042
|
"h3",
|
1045
1043
|
{
|
1046
1044
|
ref,
|
1047
|
-
className: cn("hawa-text-2xl hawa-font-semibold
|
1045
|
+
className: cn("hawa-text-2xl hawa-font-semibold", className),
|
1048
1046
|
...props
|
1049
1047
|
}
|
1050
1048
|
));
|
@@ -1091,7 +1089,7 @@ Card.displayName = "Card";
|
|
1091
1089
|
|
1092
1090
|
// blocks/misc/EmptyState.tsx
|
1093
1091
|
var EmptyState = ({ texts, onActionClick }) => {
|
1094
|
-
return /* @__PURE__ */ import_react25.default.createElement(Card, null, /* @__PURE__ */ import_react25.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center
|
1092
|
+
return /* @__PURE__ */ import_react25.default.createElement(Card, null, /* @__PURE__ */ import_react25.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 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_react25.default.createElement(
|
1095
1093
|
"svg",
|
1096
1094
|
{
|
1097
1095
|
stroke: "currentColor",
|
@@ -1120,7 +1118,7 @@ var Testimonial = () => {
|
|
1120
1118
|
d: "M25.356 22.4427L28.7951 16.5199C28.982 16.1981 29.326 16 29.6982 16H32.0729C32.8679 16 33.3713 16.8528 32.9873 17.5488L30.5191 22.0225C30.4351 22.1747 30.391 22.3458 30.391 22.5196C30.391 23.0879 30.8518 23.5486 31.4201 23.5486H32.7975C33.3743 23.5486 33.8418 24.0162 33.8418 24.5929V31.347C33.8418 31.9237 33.3743 32.3913 32.7975 32.3913H26.2592C25.6824 32.3913 25.2148 31.9237 25.2148 31.347V22.9671C25.2148 22.7829 25.2636 22.602 25.356 22.4427Z",
|
1121
1119
|
fill: "#FFFFFF"
|
1122
1120
|
}
|
1123
|
-
)), /* @__PURE__ */ import_react26.default.createElement("span", { className: "border border-l
|
1121
|
+
)), /* @__PURE__ */ import_react26.default.createElement("span", { className: "border border-l" }), " ", /* @__PURE__ */ import_react26.default.createElement("div", null, /* @__PURE__ */ import_react26.default.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ import_react26.default.createElement("div", null, " Chief Information Security Officer")))));
|
1124
1122
|
};
|
1125
1123
|
|
1126
1124
|
// blocks/misc/LeadGenerator.tsx
|
@@ -1222,7 +1220,7 @@ var Input = (0, import_react28.forwardRef)(
|
|
1222
1220
|
)
|
1223
1221
|
},
|
1224
1222
|
props.label && /* @__PURE__ */ import_react28.default.createElement(Label, { ...labelProps }, props.label),
|
1225
|
-
/* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center
|
1223
|
+
/* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center" }, props.outsidePrefix && /* @__PURE__ */ import_react28.default.createElement(
|
1226
1224
|
"span",
|
1227
1225
|
{
|
1228
1226
|
className: cn(
|
@@ -1288,7 +1286,7 @@ var Input = (0, import_react28.forwardRef)(
|
|
1288
1286
|
...inputProps,
|
1289
1287
|
className: cn(
|
1290
1288
|
defaultInputStyle,
|
1291
|
-
"
|
1289
|
+
"focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0 dark:hawa-text-white",
|
1292
1290
|
{
|
1293
1291
|
"hawa-pe-9": props.endIcon,
|
1294
1292
|
"hawa-ps-9": props.startIcon,
|
@@ -1302,7 +1300,7 @@ var Input = (0, import_react28.forwardRef)(
|
|
1302
1300
|
"div",
|
1303
1301
|
{
|
1304
1302
|
className: cn(
|
1305
|
-
"hawa-absolute hawa-end-0 hawa-top-[47px] hawa-z-20 hawa-translate-y-1/2 hawa-rounded hawa-bg-background hawa-text-start
|
1303
|
+
"hawa-absolute hawa-end-0 hawa-top-[47px] hawa-z-20 hawa-translate-y-1/2 hawa-rounded hawa-bg-background hawa-text-start hawa-text-xs hawa-text-helper-color hawa-drop-shadow-md hawa-transition-all",
|
1306
1304
|
props.helperText ? "hawa-border hawa-p-1" : "hawa-border-none hawa-p-0"
|
1307
1305
|
)
|
1308
1306
|
},
|
@@ -1377,7 +1375,7 @@ var Announcement = ({
|
|
1377
1375
|
headless: true,
|
1378
1376
|
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
|
1379
1377
|
},
|
1380
|
-
/* @__PURE__ */ import_react30.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center
|
1378
|
+
/* @__PURE__ */ import_react30.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center" }, /* @__PURE__ */ import_react30.default.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ import_react30.default.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
|
1381
1379
|
/* @__PURE__ */ import_react30.default.createElement(
|
1382
1380
|
Button,
|
1383
1381
|
{
|
@@ -1392,13 +1390,13 @@ var Announcement = ({
|
|
1392
1390
|
// blocks/misc/NotFound.tsx
|
1393
1391
|
var import_react31 = __toESM(require("react"));
|
1394
1392
|
var NotFound = ({ texts }) => {
|
1395
|
-
return /* @__PURE__ */ import_react31.default.createElement(Card, null, /* @__PURE__ */ import_react31.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold
|
1393
|
+
return /* @__PURE__ */ import_react31.default.createElement(Card, null, /* @__PURE__ */ import_react31.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold" }, "404"), /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ import_react31.default.createElement(import_react31.default.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ import_react31.default.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ import_react31.default.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
|
1396
1394
|
};
|
1397
1395
|
|
1398
1396
|
// blocks/misc/NoPermission.tsx
|
1399
1397
|
var import_react32 = __toESM(require("react"));
|
1400
1398
|
var NoPermission = ({ texts }) => {
|
1401
|
-
return /* @__PURE__ */ import_react32.default.createElement(Card, null, /* @__PURE__ */ import_react32.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react32.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react32.default.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold
|
1399
|
+
return /* @__PURE__ */ import_react32.default.createElement(Card, null, /* @__PURE__ */ import_react32.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react32.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react32.default.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 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_react32.default.createElement(
|
1402
1400
|
"svg",
|
1403
1401
|
{
|
1404
1402
|
stroke: "currentColor",
|
@@ -1471,9 +1469,9 @@ var Select = ({
|
|
1471
1469
|
"div",
|
1472
1470
|
{
|
1473
1471
|
className: cn(
|
1474
|
-
"dark:dark-shadow
|
1472
|
+
"dark:dark-shadow hawa-absolute hawa-z-10 -hawa-mx-1 hawa-mt-1 hawa-flex hawa-flex-col hawa-justify-start hawa-rounded hawa-border hawa-bg-background hawa-shadow-md",
|
1475
1473
|
props.phoneCode ? "hawa-p-1.5" : "hawa-w-full hawa-p-1.5",
|
1476
|
-
menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95
|
1474
|
+
menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95"
|
1477
1475
|
),
|
1478
1476
|
ref: innerRef,
|
1479
1477
|
...innerProps
|
@@ -1630,7 +1628,7 @@ var Textarea = React28.forwardRef(
|
|
1630
1628
|
{
|
1631
1629
|
...textareaProps,
|
1632
1630
|
className: cn(
|
1633
|
-
"hawa-flex hawa-min-h-[40px] hawa-h-[40px]
|
1631
|
+
"hawa-flex hawa-min-h-[40px] hawa-h-[40px] hawa-w-full hawa-rounded-md hawa-border hawa-border-input hawa-bg-background hawa-px-3 hawa-py-2 hawa-text-sm hawa-ring-offset-background placeholder:hawa-text-gray-400 placeholder:hawa-text-muted-foreground focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50",
|
1634
1632
|
classNames == null ? void 0 : classNames.textarea
|
1635
1633
|
),
|
1636
1634
|
ref
|