@sikka/hawa 0.41.0-next → 0.41.2-next
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +15 -15
- package/dist/blocks/auth/index.mjs +13 -13
- package/dist/blocks/feedback/index.js +19 -19
- package/dist/blocks/feedback/index.mjs +17 -17
- package/dist/blocks/index.js +62 -62
- package/dist/blocks/index.mjs +46 -46
- 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/{chunk-IS73LH5Y.mjs → chunk-2GEXJLRC.mjs} +1 -1
- package/dist/{chunk-FJXDCBMQ.mjs → chunk-7R25FOBM.mjs} +15 -15
- package/dist/{chunk-4ZELUQQ7.mjs → chunk-CQYG77SY.mjs} +1 -1
- package/dist/{chunk-NSMJTT6Y.mjs → chunk-D7HDVJFT.mjs} +3 -3
- package/dist/{chunk-ZSX2KZ2D.mjs → chunk-EBZECS2Z.mjs} +4 -4
- package/dist/{chunk-FK2C6C3B.mjs → chunk-FLMCWOQQ.mjs} +1 -1
- package/dist/{chunk-JGP3PSJL.mjs → chunk-FP6763YO.mjs} +4 -4
- package/dist/{chunk-UHUOBAEP.mjs → chunk-I3AK6DXN.mjs} +3 -3
- package/dist/{chunk-F6SLF6DS.mjs → chunk-K5S7P5ZO.mjs} +4 -4
- package/dist/{chunk-55TPME67.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.js +6 -6
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +6 -6
- 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 +7 -9
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +7 -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 +1 -1
- package/dist/elements/index.d.ts +1 -1
- package/dist/elements/index.js +55 -55
- package/dist/elements/index.mjs +40 -40
- 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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +128 -128
- package/dist/index.mjs +128 -128
- 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 +34 -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/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 +1 -1
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +1 -1
- 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/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/toast/index.js +1 -1
- package/dist/toast/index.js.map +1 -1
- package/dist/toast/index.mjs +1 -1
- package/dist/toast/index.mjs.map +1 -1
- package/dist/toaster/index.js +2 -2
- package/dist/toaster/index.js.map +1 -1
- package/dist/toaster/index.mjs +2 -2
- 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,
|
@@ -42,7 +42,7 @@ import {
|
|
42
42
|
VeryBadEmoji,
|
43
43
|
VeryGoodEmoji,
|
44
44
|
cn
|
45
|
-
} from "../chunk-
|
45
|
+
} from "../chunk-FP6763YO.mjs";
|
46
46
|
import "../chunk-SYGWSBJL.mjs";
|
47
47
|
|
48
48
|
// blocks/auth/AuthButtons.tsx
|
@@ -283,7 +283,7 @@ var LoginForm = ({
|
|
283
283
|
"div",
|
284
284
|
{
|
285
285
|
onClick: props.onForgotPassword,
|
286
|
-
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"
|
287
287
|
},
|
288
288
|
(texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
|
289
289
|
)));
|
@@ -834,7 +834,7 @@ var RegisterForm = ({
|
|
834
834
|
/* @__PURE__ */ React3.createElement(
|
835
835
|
Button,
|
836
836
|
{
|
837
|
-
className: "
|
837
|
+
className: "hawa-w-full",
|
838
838
|
type: "submit",
|
839
839
|
isLoading: props.isLoading,
|
840
840
|
disabled: props.isLoading
|
@@ -842,7 +842,7 @@ var RegisterForm = ({
|
|
842
842
|
(texts == null ? void 0 : texts.registerText) || "Register"
|
843
843
|
),
|
844
844
|
props.additionalButtons
|
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
|
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")))),
|
846
846
|
props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React3.createElement(
|
847
847
|
CardFooter,
|
848
848
|
{
|
@@ -915,7 +915,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
915
915
|
// blocks/auth/CheckEmail.tsx
|
916
916
|
import React5 from "react";
|
917
917
|
var CheckEmail = ({ texts, handleResend }) => {
|
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
|
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(
|
919
919
|
"svg",
|
920
920
|
{
|
921
921
|
stroke: "currentColor",
|
@@ -930,7 +930,7 @@ var CheckEmail = ({ texts, handleResend }) => {
|
|
930
930
|
},
|
931
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" }),
|
932
932
|
/* @__PURE__ */ React5.createElement("polyline", { points: "22,6 12,13 2,6" })
|
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
|
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")));
|
934
934
|
};
|
935
935
|
|
936
936
|
// blocks/auth/NewPassword.tsx
|
@@ -1198,7 +1198,7 @@ var CodeConfirmation = ({
|
|
1198
1198
|
}
|
1199
1199
|
}
|
1200
1200
|
),
|
1201
|
-
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(
|
1202
1202
|
"span",
|
1203
1203
|
{
|
1204
1204
|
className: "clickable-link",
|
@@ -1409,7 +1409,7 @@ var FeedbackRating = ({
|
|
1409
1409
|
{
|
1410
1410
|
ref: popUpRef,
|
1411
1411
|
className: cn(
|
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
|
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",
|
1413
1413
|
boxPosition[position]
|
1414
1414
|
)
|
1415
1415
|
},
|
@@ -1417,7 +1417,7 @@ var FeedbackRating = ({
|
|
1417
1417
|
"div",
|
1418
1418
|
{
|
1419
1419
|
className: cn(
|
1420
|
-
"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",
|
1421
1421
|
closed ? "hawa-opacity-0" : "hawa-opacity-100",
|
1422
1422
|
props.banner && "hawa-rounded-none hawa-px-4 md:hawa-rounded-t md:hawa-px-64"
|
1423
1423
|
)
|
@@ -1473,13 +1473,13 @@ var FeedbackRating = ({
|
|
1473
1473
|
}, 5300);
|
1474
1474
|
},
|
1475
1475
|
className: cn(
|
1476
|
-
"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",
|
1477
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"
|
1478
1478
|
)
|
1479
1479
|
},
|
1480
1480
|
op
|
1481
1481
|
))),
|
1482
|
-
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)),
|
1483
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")))
|
1484
1484
|
)
|
1485
1485
|
);
|
@@ -1520,11 +1520,11 @@ var FeedbackEmoji = (props) => {
|
|
1520
1520
|
"div",
|
1521
1521
|
{
|
1522
1522
|
className: cn(
|
1523
|
-
"hawa-flex
|
1524
|
-
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]"
|
1525
1525
|
)
|
1526
1526
|
},
|
1527
|
-
/* @__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(
|
1528
1528
|
Button,
|
1529
1529
|
{
|
1530
1530
|
key: i,
|
@@ -1538,7 +1538,7 @@ var FeedbackEmoji = (props) => {
|
|
1538
1538
|
variant: "ghost",
|
1539
1539
|
size: "smallIcon",
|
1540
1540
|
className: cn(
|
1541
|
-
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]"
|
1542
1542
|
)
|
1543
1543
|
},
|
1544
1544
|
emoji.icon
|
@@ -1547,11 +1547,11 @@ var FeedbackEmoji = (props) => {
|
|
1547
1547
|
"div",
|
1548
1548
|
{
|
1549
1549
|
className: cn(
|
1550
|
-
"hawa-flex hawa-flex-col hawa-overflow-clip
|
1551
|
-
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"
|
1552
1552
|
)
|
1553
1553
|
},
|
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
|
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(
|
1555
1555
|
"svg",
|
1556
1556
|
{
|
1557
1557
|
stroke: "currentColor",
|
@@ -1565,7 +1565,7 @@ var FeedbackEmoji = (props) => {
|
|
1565
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(
|
1566
1566
|
Popover,
|
1567
1567
|
{
|
1568
|
-
className: "hawa-select-none hawa-p-1 hawa-text-xs
|
1568
|
+
className: "hawa-select-none hawa-p-1 hawa-text-xs",
|
1569
1569
|
open: helperText,
|
1570
1570
|
trigger: /* @__PURE__ */ React11.createElement(
|
1571
1571
|
Textarea,
|
@@ -1707,7 +1707,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
1707
1707
|
ScrollArea,
|
1708
1708
|
{
|
1709
1709
|
className: cn(
|
1710
|
-
"hawa-rounded
|
1710
|
+
"hawa-rounded hawa-border hawa-bg-muted hawa-p-4",
|
1711
1711
|
props.scrollAreaClassName
|
1712
1712
|
)
|
1713
1713
|
},
|
@@ -1719,7 +1719,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
1719
1719
|
// blocks/misc/EmptyState.tsx
|
1720
1720
|
import React14 from "react";
|
1721
1721
|
var EmptyState = ({ texts, onActionClick }) => {
|
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
|
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(
|
1723
1723
|
"svg",
|
1724
1724
|
{
|
1725
1725
|
stroke: "currentColor",
|
@@ -1748,7 +1748,7 @@ var Testimonial = () => {
|
|
1748
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",
|
1749
1749
|
fill: "#FFFFFF"
|
1750
1750
|
}
|
1751
|
-
)), /* @__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")))));
|
1752
1752
|
};
|
1753
1753
|
|
1754
1754
|
// blocks/misc/LeadGenerator.tsx
|
@@ -1803,7 +1803,7 @@ var Announcement = ({
|
|
1803
1803
|
headless: true,
|
1804
1804
|
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
|
1805
1805
|
},
|
1806
|
-
/* @__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)),
|
1807
1807
|
/* @__PURE__ */ React17.createElement(
|
1808
1808
|
Button,
|
1809
1809
|
{
|
@@ -1818,13 +1818,13 @@ var Announcement = ({
|
|
1818
1818
|
// blocks/misc/NotFound.tsx
|
1819
1819
|
import React18 from "react";
|
1820
1820
|
var NotFound = ({ texts }) => {
|
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
|
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"))));
|
1822
1822
|
};
|
1823
1823
|
|
1824
1824
|
// blocks/misc/NoPermission.tsx
|
1825
1825
|
import React19 from "react";
|
1826
1826
|
var NoPermission = ({ texts }) => {
|
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
|
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(
|
1828
1828
|
"svg",
|
1829
1829
|
{
|
1830
1830
|
stroke: "currentColor",
|
@@ -2075,7 +2075,7 @@ var ActionCard = (props) => {
|
|
2075
2075
|
onMouseEnter: () => setHovered(true),
|
2076
2076
|
onMouseLeave: () => setHovered(false)
|
2077
2077
|
},
|
2078
|
-
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(
|
2079
2079
|
"svg",
|
2080
2080
|
{
|
2081
2081
|
className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
|
@@ -2140,7 +2140,7 @@ var AdCard = ({
|
|
2140
2140
|
className: cn(cardStyles[orientation], props.className),
|
2141
2141
|
onClick: props.handleClick
|
2142
2142
|
},
|
2143
|
-
/* @__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(
|
2144
2144
|
"img",
|
2145
2145
|
{
|
2146
2146
|
src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
|
@@ -2185,9 +2185,9 @@ var PricingCard = ({
|
|
2185
2185
|
}) => {
|
2186
2186
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
2187
2187
|
let cardSizes = {
|
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
|
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"
|
2191
2191
|
};
|
2192
2192
|
return /* @__PURE__ */ React23.createElement(React23.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React23.createElement(
|
2193
2193
|
Skeleton,
|
@@ -2200,21 +2200,21 @@ var PricingCard = ({
|
|
2200
2200
|
{
|
2201
2201
|
dir: direction,
|
2202
2202
|
className: cn(
|
2203
|
-
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",
|
2204
2204
|
cardSizes[size],
|
2205
|
-
"hawa-relative hawa-flex
|
2205
|
+
"hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-gap-4 hawa-p-4",
|
2206
2206
|
recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
|
2207
2207
|
)
|
2208
2208
|
},
|
2209
2209
|
recommended && /* @__PURE__ */ React23.createElement(
|
2210
2210
|
"div",
|
2211
2211
|
{
|
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
|
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",
|
2213
2213
|
style: { width: "calc(100% + 2px)" }
|
2214
2214
|
},
|
2215
2215
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
2216
2216
|
),
|
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
|
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(
|
2218
2218
|
"div",
|
2219
2219
|
{
|
2220
2220
|
className: cn(
|
@@ -2250,7 +2250,7 @@ var PricingCard = ({
|
|
2250
2250
|
clipRule: "evenodd"
|
2251
2251
|
}
|
2252
2252
|
)
|
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
|
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(
|
2254
2254
|
Chip,
|
2255
2255
|
{
|
2256
2256
|
label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
|
@@ -2344,7 +2344,7 @@ var ItemCard = ({
|
|
2344
2344
|
{
|
2345
2345
|
className: cn(
|
2346
2346
|
defaultStyle,
|
2347
|
-
props.onCardClick && "
|
2347
|
+
props.onCardClick && "hawa-cursor-pointer hover:hawa-shadow-lg",
|
2348
2348
|
orientationStyles[orientation],
|
2349
2349
|
props.className
|
2350
2350
|
),
|
@@ -2364,7 +2364,7 @@ var ItemCard = ({
|
|
2364
2364
|
clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
|
2365
2365
|
)
|
2366
2366
|
}
|
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
|
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(
|
2368
2368
|
Button,
|
2369
2369
|
{
|
2370
2370
|
variant: "secondary",
|
@@ -2398,7 +2398,7 @@ var ItemCard = ({
|
|
2398
2398
|
)
|
2399
2399
|
)
|
2400
2400
|
}
|
2401
|
-
))), /* @__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(
|
2402
2402
|
"div",
|
2403
2403
|
{
|
2404
2404
|
className: cn(
|
@@ -2547,7 +2547,7 @@ var ComparingPlans = (props) => {
|
|
2547
2547
|
key: i,
|
2548
2548
|
className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2"
|
2549
2549
|
},
|
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
|
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)))
|
2551
2551
|
))
|
2552
2552
|
), /* @__PURE__ */ React27.createElement(
|
2553
2553
|
ScrollArea,
|
@@ -2562,7 +2562,7 @@ var ComparingPlans = (props) => {
|
|
2562
2562
|
{
|
2563
2563
|
key: featureIndex,
|
2564
2564
|
className: cn(
|
2565
|
-
"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",
|
2566
2566
|
featureIndex === 0 ? "" : "hawa-border-t"
|
2567
2567
|
)
|
2568
2568
|
},
|
@@ -2626,7 +2626,7 @@ var ComparingPlans = (props) => {
|
|
2626
2626
|
})
|
2627
2627
|
);
|
2628
2628
|
})
|
2629
|
-
), 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) => {
|
2630
2630
|
var _a;
|
2631
2631
|
return /* @__PURE__ */ React27.createElement(
|
2632
2632
|
"div",
|
@@ -2666,7 +2666,7 @@ var HorizontalPricing = (props) => {
|
|
2666
2666
|
{ title: "business", price: "$99", cycle: "/mo" },
|
2667
2667
|
{ title: "enterprise", price: "$149", cycle: "/mo" }
|
2668
2668
|
];
|
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
|
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(
|
2670
2670
|
Radio,
|
2671
2671
|
{
|
2672
2672
|
name: "currency",
|
@@ -2703,8 +2703,8 @@ var HorizontalPricing = (props) => {
|
|
2703
2703
|
"div",
|
2704
2704
|
{
|
2705
2705
|
className: cn(
|
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
|
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"
|
2708
2708
|
)
|
2709
2709
|
},
|
2710
2710
|
/* @__PURE__ */ React28.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React28.createElement(CheckIcons, null), /* @__PURE__ */ React28.createElement(
|
@@ -2751,7 +2751,7 @@ var CheckIcons = () => /* @__PURE__ */ React28.createElement(React28.Fragment, n
|
|
2751
2751
|
}
|
2752
2752
|
)
|
2753
2753
|
));
|
2754
|
-
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, " "));
|
2755
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));
|
2756
2756
|
|
2757
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
|