@sikka/hawa 0.41.0-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 +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 +54 -54
- package/dist/elements/index.mjs +39 -39
- 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 +127 -127
- package/dist/index.mjs +127 -127
- 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/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.js
CHANGED
@@ -1239,7 +1239,7 @@ var Alert = ({
|
|
1239
1239
|
"data-dismiss-target": "#alert-default",
|
1240
1240
|
"aria-label": "Close",
|
1241
1241
|
className: cn(
|
1242
|
-
"hawa-absolute
|
1242
|
+
"hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-9 hawa-w-9 hawa-items-center hawa-justify-center hawa-rounded-inner hawa-p-1.5 hawa-transition-all hover:hawa-text-gray-900",
|
1243
1243
|
closeButtonStyle[severity],
|
1244
1244
|
direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
|
1245
1245
|
),
|
@@ -1330,7 +1330,7 @@ var CardTitle = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
1330
1330
|
"h3",
|
1331
1331
|
{
|
1332
1332
|
ref,
|
1333
|
-
className: cn("hawa-text-2xl hawa-font-semibold
|
1333
|
+
className: cn("hawa-text-2xl hawa-font-semibold", className),
|
1334
1334
|
...props
|
1335
1335
|
}
|
1336
1336
|
));
|
@@ -1470,7 +1470,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
1470
1470
|
)
|
1471
1471
|
},
|
1472
1472
|
props.label && /* @__PURE__ */ import_react8.default.createElement(Label, { ...labelProps }, props.label),
|
1473
|
-
/* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center
|
1473
|
+
/* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center" }, props.outsidePrefix && /* @__PURE__ */ import_react8.default.createElement(
|
1474
1474
|
"span",
|
1475
1475
|
{
|
1476
1476
|
className: cn(
|
@@ -1536,7 +1536,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
1536
1536
|
...inputProps,
|
1537
1537
|
className: cn(
|
1538
1538
|
defaultInputStyle,
|
1539
|
-
"
|
1539
|
+
"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",
|
1540
1540
|
{
|
1541
1541
|
"hawa-pe-9": props.endIcon,
|
1542
1542
|
"hawa-ps-9": props.startIcon,
|
@@ -1550,7 +1550,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
1550
1550
|
"div",
|
1551
1551
|
{
|
1552
1552
|
className: cn(
|
1553
|
-
"hawa-absolute hawa-end-0 hawa-top-[47px] hawa-z-20 hawa-translate-y-1/2 hawa-rounded hawa-bg-background hawa-text-start
|
1553
|
+
"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",
|
1554
1554
|
props.helperText ? "hawa-border hawa-p-1" : "hawa-border-none hawa-p-0"
|
1555
1555
|
)
|
1556
1556
|
},
|
@@ -3324,9 +3324,9 @@ var Select = ({
|
|
3324
3324
|
"div",
|
3325
3325
|
{
|
3326
3326
|
className: cn(
|
3327
|
-
"dark:dark-shadow
|
3327
|
+
"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",
|
3328
3328
|
props.phoneCode ? "hawa-p-1.5" : "hawa-w-full hawa-p-1.5",
|
3329
|
-
menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95
|
3329
|
+
menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95"
|
3330
3330
|
),
|
3331
3331
|
ref: innerRef,
|
3332
3332
|
...innerProps
|
@@ -3485,7 +3485,7 @@ var PhoneInput = ({
|
|
3485
3485
|
value: countryCode == null ? void 0 : countryCode.label,
|
3486
3486
|
defaultValue: props.preferredCountry
|
3487
3487
|
}
|
3488
|
-
), /* @__PURE__ */ import_react10.default.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full
|
3488
|
+
), /* @__PURE__ */ import_react10.default.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react10.default.createElement(
|
3489
3489
|
"input",
|
3490
3490
|
{
|
3491
3491
|
type: "tel",
|
@@ -3495,7 +3495,7 @@ var PhoneInput = ({
|
|
3495
3495
|
onChange: handleInputChange,
|
3496
3496
|
placeholder: props.placeholder,
|
3497
3497
|
className: cn(
|
3498
|
-
"placeholder:hawa-text-muted-foreground hawa-block hawa-h-[40px] hawa-w-full hawa-rounded hawa-rounded-l-none hawa-border hawa-border-l-0 hawa-border-l-transparent
|
3498
|
+
"placeholder:hawa-text-muted-foreground hawa-block hawa-h-[40px] hawa-w-full hawa-rounded hawa-rounded-l-none hawa-border hawa-border-l-0 hawa-border-l-transparent hawa-bg-background hawa-p-2 hawa-text-sm hawa-transition-all"
|
3499
3499
|
),
|
3500
3500
|
...inputProps
|
3501
3501
|
}
|
@@ -3807,7 +3807,7 @@ var LoginForm = ({
|
|
3807
3807
|
"div",
|
3808
3808
|
{
|
3809
3809
|
onClick: props.onForgotPassword,
|
3810
|
-
className: "hawa-mb-3
|
3810
|
+
className: "hawa-mb-3 hawa-mt-2 hawa-w-fit hawa-cursor-pointer hawa-select-none hawa-text-xs dark:hawa-text-gray-300"
|
3811
3811
|
},
|
3812
3812
|
(texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
|
3813
3813
|
)));
|
@@ -4505,7 +4505,7 @@ var RegisterForm = ({
|
|
4505
4505
|
/* @__PURE__ */ import_react17.default.createElement(
|
4506
4506
|
Button,
|
4507
4507
|
{
|
4508
|
-
className: "
|
4508
|
+
className: "hawa-w-full",
|
4509
4509
|
type: "submit",
|
4510
4510
|
isLoading: props.isLoading,
|
4511
4511
|
disabled: props.isLoading
|
@@ -4513,7 +4513,7 @@ var RegisterForm = ({
|
|
4513
4513
|
(texts == null ? void 0 : texts.registerText) || "Register"
|
4514
4514
|
),
|
4515
4515
|
props.additionalButtons
|
4516
|
-
)), props.onRouteToLogin && /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center
|
4516
|
+
)), props.onRouteToLogin && /* @__PURE__ */ import_react17.default.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__ */ import_react17.default.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ import_react17.default.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))),
|
4517
4517
|
props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ import_react17.default.createElement(
|
4518
4518
|
CardFooter,
|
4519
4519
|
{
|
@@ -4586,7 +4586,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
4586
4586
|
// blocks/auth/CheckEmail.tsx
|
4587
4587
|
var import_react19 = __toESM(require("react"));
|
4588
4588
|
var CheckEmail = ({ texts, handleResend }) => {
|
4589
|
-
return /* @__PURE__ */ import_react19.default.createElement(Card, null, /* @__PURE__ */ import_react19.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold
|
4589
|
+
return /* @__PURE__ */ import_react19.default.createElement(Card, null, /* @__PURE__ */ import_react19.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ import_react19.default.createElement(
|
4590
4590
|
"svg",
|
4591
4591
|
{
|
4592
4592
|
stroke: "currentColor",
|
@@ -4601,7 +4601,7 @@ var CheckEmail = ({ texts, handleResend }) => {
|
|
4601
4601
|
},
|
4602
4602
|
/* @__PURE__ */ import_react19.default.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" }),
|
4603
4603
|
/* @__PURE__ */ import_react19.default.createElement("polyline", { points: "22,6 12,13 2,6" })
|
4604
|
-
)), /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ import_react19.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center
|
4604
|
+
)), /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ import_react19.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ import_react19.default.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
|
4605
4605
|
};
|
4606
4606
|
|
4607
4607
|
// blocks/auth/NewPassword.tsx
|
@@ -5013,7 +5013,7 @@ var CodeConfirmation = ({
|
|
5013
5013
|
}
|
5014
5014
|
}
|
5015
5015
|
),
|
5016
|
-
showResendTimer ? /* @__PURE__ */ import_react24.default.createElement("div", { className: "
|
5016
|
+
showResendTimer ? /* @__PURE__ */ import_react24.default.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__ */ import_react24.default.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ import_react24.default.createElement("div", { className: "hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ import_react24.default.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ import_react24.default.createElement(
|
5017
5017
|
"span",
|
5018
5018
|
{
|
5019
5019
|
className: "clickable-link",
|
@@ -5316,11 +5316,11 @@ var Radio = (0, import_react25.forwardRef)(
|
|
5316
5316
|
{
|
5317
5317
|
htmlFor: opt.value.toString(),
|
5318
5318
|
className: cn(
|
5319
|
-
"hawa-inline-flex hawa-h-full hawa-w-full hawa-transition-all
|
5319
|
+
"hawa-inline-flex hawa-h-full hawa-w-full hawa-transition-all hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-foreground/10 hawa-bg-background hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-foreground/10 dark:hawa-bg-foreground/5 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
|
5320
5320
|
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-foreground/10 hover:hawa-text-gray-600 dark:hover:hawa-bg-foreground/20 dark:hover:hawa-text-gray-300"
|
5321
5321
|
)
|
5322
5322
|
},
|
5323
|
-
/* @__PURE__ */ import_react25.default.createElement("div", { className: "hawa-block
|
5323
|
+
/* @__PURE__ */ import_react25.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react25.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react25.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
|
5324
5324
|
)))
|
5325
5325
|
);
|
5326
5326
|
default:
|
@@ -5358,7 +5358,7 @@ var Radio = (0, import_react25.forwardRef)(
|
|
5358
5358
|
{
|
5359
5359
|
htmlFor: opt.value.toString(),
|
5360
5360
|
className: cn(
|
5361
|
-
"hawa-text-sm hawa-font-medium
|
5361
|
+
"hawa-text-sm hawa-font-medium dark:hawa-text-white",
|
5362
5362
|
opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
|
5363
5363
|
)
|
5364
5364
|
},
|
@@ -5408,7 +5408,7 @@ var Textarea = React29.forwardRef(
|
|
5408
5408
|
{
|
5409
5409
|
...textareaProps,
|
5410
5410
|
className: cn(
|
5411
|
-
"hawa-flex hawa-min-h-[40px] hawa-h-[40px]
|
5411
|
+
"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",
|
5412
5412
|
classNames == null ? void 0 : classNames.textarea
|
5413
5413
|
),
|
5414
5414
|
ref
|
@@ -5612,7 +5612,7 @@ var FeedbackRating = ({
|
|
5612
5612
|
{
|
5613
5613
|
ref: popUpRef,
|
5614
5614
|
className: cn(
|
5615
|
-
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
|
5615
|
+
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",
|
5616
5616
|
boxPosition[position]
|
5617
5617
|
)
|
5618
5618
|
},
|
@@ -5620,7 +5620,7 @@ var FeedbackRating = ({
|
|
5620
5620
|
"div",
|
5621
5621
|
{
|
5622
5622
|
className: cn(
|
5623
|
-
"hawa-relative hawa-flex hawa-w-full
|
5623
|
+
"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",
|
5624
5624
|
closed ? "hawa-opacity-0" : "hawa-opacity-100",
|
5625
5625
|
props.banner && "hawa-rounded-none hawa-px-4 md:hawa-rounded-t md:hawa-px-64"
|
5626
5626
|
)
|
@@ -5676,13 +5676,13 @@ var FeedbackRating = ({
|
|
5676
5676
|
}, 5300);
|
5677
5677
|
},
|
5678
5678
|
className: cn(
|
5679
|
-
"hawa-w-full hawa-cursor-pointer hawa-rounded hawa-border
|
5679
|
+
"hawa-w-full hawa-cursor-pointer hawa-rounded hawa-border hawa-p-4 hawa-text-center hawa-transition-all",
|
5680
5680
|
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"
|
5681
5681
|
)
|
5682
5682
|
},
|
5683
5683
|
op
|
5684
5684
|
))),
|
5685
|
-
props.texts && /* @__PURE__ */ import_react27.default.createElement("div", { className: "
|
5685
|
+
props.texts && /* @__PURE__ */ import_react27.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ import_react27.default.createElement("span", null, props.texts.least), /* @__PURE__ */ import_react27.default.createElement("span", null, props.texts.most)),
|
5686
5686
|
answered && /* @__PURE__ */ import_react27.default.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__ */ import_react27.default.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ import_react27.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ import_react27.default.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
|
5687
5687
|
)
|
5688
5688
|
);
|
@@ -5723,11 +5723,11 @@ var FeedbackEmoji = (props) => {
|
|
5723
5723
|
"div",
|
5724
5724
|
{
|
5725
5725
|
className: cn(
|
5726
|
-
"hawa-flex
|
5727
|
-
selectedEmoji ? "hawa-h-[189px]
|
5726
|
+
"hawa-flex hawa-flex-col hawa-rounded hawa-border hawa-p-2 hawa-transition-all",
|
5727
|
+
selectedEmoji ? "hawa-h-[189px] hawa-min-w-fit" : "hawa-h-[44px]"
|
5728
5728
|
)
|
5729
5729
|
},
|
5730
|
-
/* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-flex-row
|
5730
|
+
/* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5" }, emojis.map((emoji, i) => /* @__PURE__ */ import_react28.default.createElement(
|
5731
5731
|
Button,
|
5732
5732
|
{
|
5733
5733
|
key: i,
|
@@ -5741,7 +5741,7 @@ var FeedbackEmoji = (props) => {
|
|
5741
5741
|
variant: "ghost",
|
5742
5742
|
size: "smallIcon",
|
5743
5743
|
className: cn(
|
5744
|
-
selectedEmoji === emoji.value ? "hawa-bg-primary/10 hover:hawa-bg-primary/10
|
5744
|
+
selectedEmoji === emoji.value ? "hawa-bg-primary/10 hover:hawa-bg-primary/10" : "hawa-text-[#666666]"
|
5745
5745
|
)
|
5746
5746
|
},
|
5747
5747
|
emoji.icon
|
@@ -5750,11 +5750,11 @@ var FeedbackEmoji = (props) => {
|
|
5750
5750
|
"div",
|
5751
5751
|
{
|
5752
5752
|
className: cn(
|
5753
|
-
"hawa-flex hawa-flex-col hawa-overflow-clip
|
5754
|
-
selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0
|
5753
|
+
"hawa-flex hawa-flex-col hawa-overflow-clip hawa-transition-all hawa-duration-500 hawa-ease-in-out",
|
5754
|
+
selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0"
|
5755
5755
|
)
|
5756
5756
|
},
|
5757
|
-
props.showSuccess ? /* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2
|
5757
|
+
props.showSuccess ? /* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ import_react28.default.createElement(
|
5758
5758
|
"svg",
|
5759
5759
|
{
|
5760
5760
|
stroke: "currentColor",
|
@@ -5768,7 +5768,7 @@ var FeedbackEmoji = (props) => {
|
|
5768
5768
|
)), /* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-text-center hawa-text-sm" }, /* @__PURE__ */ import_react28.default.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ import_react28.default.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-1 hawa-p-1" }, /* @__PURE__ */ import_react28.default.createElement(
|
5769
5769
|
Popover,
|
5770
5770
|
{
|
5771
|
-
className: "hawa-select-none hawa-p-1 hawa-text-xs
|
5771
|
+
className: "hawa-select-none hawa-p-1 hawa-text-xs",
|
5772
5772
|
open: helperText,
|
5773
5773
|
trigger: /* @__PURE__ */ import_react28.default.createElement(
|
5774
5774
|
Textarea,
|
@@ -5967,7 +5967,7 @@ var ScrollArea = React34.forwardRef(({ className, children, orientation = "verti
|
|
5967
5967
|
"div",
|
5968
5968
|
{
|
5969
5969
|
className: cn(
|
5970
|
-
"hawa-pointer-events-none hawa-absolute hawa-bg-background
|
5970
|
+
"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",
|
5971
5971
|
showLeftFade ? "hawa-block" : "hawa-hidden"
|
5972
5972
|
)
|
5973
5973
|
}
|
@@ -5976,7 +5976,7 @@ var ScrollArea = React34.forwardRef(({ className, children, orientation = "verti
|
|
5976
5976
|
"div",
|
5977
5977
|
{
|
5978
5978
|
className: cn(
|
5979
|
-
"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
|
5979
|
+
"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",
|
5980
5980
|
showRightFade ? "hawa-block" : "hawa-hidden"
|
5981
5981
|
)
|
5982
5982
|
}
|
@@ -6381,7 +6381,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
6381
6381
|
ScrollArea,
|
6382
6382
|
{
|
6383
6383
|
className: cn(
|
6384
|
-
"hawa-rounded
|
6384
|
+
"hawa-rounded hawa-border hawa-bg-muted hawa-p-4",
|
6385
6385
|
props.scrollAreaClassName
|
6386
6386
|
)
|
6387
6387
|
},
|
@@ -6393,7 +6393,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
6393
6393
|
// blocks/misc/EmptyState.tsx
|
6394
6394
|
var import_react51 = __toESM(require("react"));
|
6395
6395
|
var EmptyState = ({ texts, onActionClick }) => {
|
6396
|
-
return /* @__PURE__ */ import_react51.default.createElement(Card, null, /* @__PURE__ */ import_react51.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react51.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center
|
6396
|
+
return /* @__PURE__ */ import_react51.default.createElement(Card, null, /* @__PURE__ */ import_react51.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react51.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react51.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_react51.default.createElement(
|
6397
6397
|
"svg",
|
6398
6398
|
{
|
6399
6399
|
stroke: "currentColor",
|
@@ -6422,7 +6422,7 @@ var Testimonial = () => {
|
|
6422
6422
|
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",
|
6423
6423
|
fill: "#FFFFFF"
|
6424
6424
|
}
|
6425
|
-
)), /* @__PURE__ */ import_react52.default.createElement("span", { className: "border border-l
|
6425
|
+
)), /* @__PURE__ */ import_react52.default.createElement("span", { className: "border border-l" }), " ", /* @__PURE__ */ import_react52.default.createElement("div", null, /* @__PURE__ */ import_react52.default.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ import_react52.default.createElement("div", null, " Chief Information Security Officer")))));
|
6426
6426
|
};
|
6427
6427
|
|
6428
6428
|
// blocks/misc/LeadGenerator.tsx
|
@@ -6477,7 +6477,7 @@ var Announcement = ({
|
|
6477
6477
|
headless: true,
|
6478
6478
|
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
|
6479
6479
|
},
|
6480
|
-
/* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center
|
6480
|
+
/* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center" }, /* @__PURE__ */ import_react54.default.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ import_react54.default.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
|
6481
6481
|
/* @__PURE__ */ import_react54.default.createElement(
|
6482
6482
|
Button,
|
6483
6483
|
{
|
@@ -6492,13 +6492,13 @@ var Announcement = ({
|
|
6492
6492
|
// blocks/misc/NotFound.tsx
|
6493
6493
|
var import_react55 = __toESM(require("react"));
|
6494
6494
|
var NotFound = ({ texts }) => {
|
6495
|
-
return /* @__PURE__ */ import_react55.default.createElement(Card, null, /* @__PURE__ */ import_react55.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold
|
6495
|
+
return /* @__PURE__ */ import_react55.default.createElement(Card, null, /* @__PURE__ */ import_react55.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold" }, "404"), /* @__PURE__ */ import_react55.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_react55.default.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ import_react55.default.createElement(import_react55.default.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ import_react55.default.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ import_react55.default.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
|
6496
6496
|
};
|
6497
6497
|
|
6498
6498
|
// blocks/misc/NoPermission.tsx
|
6499
6499
|
var import_react56 = __toESM(require("react"));
|
6500
6500
|
var NoPermission = ({ texts }) => {
|
6501
|
-
return /* @__PURE__ */ import_react56.default.createElement(Card, null, /* @__PURE__ */ import_react56.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react56.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react56.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
|
6501
|
+
return /* @__PURE__ */ import_react56.default.createElement(Card, null, /* @__PURE__ */ import_react56.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react56.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react56.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_react56.default.createElement(
|
6502
6502
|
"svg",
|
6503
6503
|
{
|
6504
6504
|
stroke: "currentColor",
|
@@ -6749,7 +6749,7 @@ var ActionCard = (props) => {
|
|
6749
6749
|
onMouseEnter: () => setHovered(true),
|
6750
6750
|
onMouseLeave: () => setHovered(false)
|
6751
6751
|
},
|
6752
|
-
props.blank ? /* @__PURE__ */ import_react58.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center
|
6752
|
+
props.blank ? /* @__PURE__ */ import_react58.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center" }, /* @__PURE__ */ import_react58.default.createElement(
|
6753
6753
|
"svg",
|
6754
6754
|
{
|
6755
6755
|
className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
|
@@ -6814,7 +6814,7 @@ var AdCard = ({
|
|
6814
6814
|
className: cn(cardStyles[orientation], props.className),
|
6815
6815
|
onClick: props.handleClick
|
6816
6816
|
},
|
6817
|
-
/* @__PURE__ */ import_react59.default.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full
|
6817
|
+
/* @__PURE__ */ import_react59.default.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start" }, /* @__PURE__ */ import_react59.default.createElement(
|
6818
6818
|
"img",
|
6819
6819
|
{
|
6820
6820
|
src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
|
@@ -6879,9 +6879,9 @@ var PricingCard = ({
|
|
6879
6879
|
}) => {
|
6880
6880
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
6881
6881
|
let cardSizes = {
|
6882
|
-
small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
6883
|
-
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
6884
|
-
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
6882
|
+
small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
6883
|
+
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
6884
|
+
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background"
|
6885
6885
|
};
|
6886
6886
|
return /* @__PURE__ */ import_react60.default.createElement(import_react60.default.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ import_react60.default.createElement(
|
6887
6887
|
Skeleton,
|
@@ -6894,21 +6894,21 @@ var PricingCard = ({
|
|
6894
6894
|
{
|
6895
6895
|
dir: direction,
|
6896
6896
|
className: cn(
|
6897
|
-
currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70
|
6897
|
+
currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70" : "hawa-border",
|
6898
6898
|
cardSizes[size],
|
6899
|
-
"hawa-relative hawa-flex
|
6899
|
+
"hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-gap-4 hawa-p-4",
|
6900
6900
|
recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
|
6901
6901
|
)
|
6902
6902
|
},
|
6903
6903
|
recommended && /* @__PURE__ */ import_react60.default.createElement(
|
6904
6904
|
"div",
|
6905
6905
|
{
|
6906
|
-
className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2
|
6906
|
+
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",
|
6907
6907
|
style: { width: "calc(100% + 2px)" }
|
6908
6908
|
},
|
6909
6909
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
6910
6910
|
),
|
6911
|
-
/* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ import_react60.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react60.default.createElement("h5", { className: "hawa-text-sm
|
6911
|
+
/* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ import_react60.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react60.default.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ import_react60.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react60.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ import_react60.default.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0" }) : /* @__PURE__ */ import_react60.default.createElement(import_react60.default.Fragment, null, props.noPrice ? /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ import_react60.default.createElement(import_react60.default.Fragment, null, /* @__PURE__ */ import_react60.default.createElement(import_react60.default.Fragment, null, /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ import_react60.default.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ import_react60.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ import_react60.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ import_react60.default.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__ */ import_react60.default.createElement(Separator, null), /* @__PURE__ */ import_react60.default.createElement(
|
6912
6912
|
"div",
|
6913
6913
|
{
|
6914
6914
|
className: cn(
|
@@ -6944,7 +6944,7 @@ var PricingCard = ({
|
|
6944
6944
|
clipRule: "evenodd"
|
6945
6945
|
}
|
6946
6946
|
)
|
6947
|
-
) : /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react60.default.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
|
6947
|
+
) : /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react60.default.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__ */ import_react60.default.createElement(
|
6948
6948
|
Chip,
|
6949
6949
|
{
|
6950
6950
|
label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
|
@@ -7054,7 +7054,7 @@ var DropdownMenuContent = React57.forwardRef(({ className, sideOffset = 4, ...pr
|
|
7054
7054
|
ref,
|
7055
7055
|
sideOffset,
|
7056
7056
|
className: cn(
|
7057
|
-
"hawa-z-50
|
7057
|
+
"hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground hawa-shadow-md data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
7058
7058
|
className
|
7059
7059
|
),
|
7060
7060
|
...props
|
@@ -7075,7 +7075,7 @@ var DropdownMenuItem = React57.forwardRef(({ className, inset, badged, slug, Lin
|
|
7075
7075
|
),
|
7076
7076
|
...props
|
7077
7077
|
},
|
7078
|
-
/* @__PURE__ */ React57.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2
|
7078
|
+
/* @__PURE__ */ React57.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, props.children),
|
7079
7079
|
props.end && props.end,
|
7080
7080
|
!props.end && props.shortcut && /* @__PURE__ */ React57.createElement(DropdownMenuShortcut, null, props.shortcut),
|
7081
7081
|
!props.end && badged && /* @__PURE__ */ React57.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
|
@@ -7366,7 +7366,7 @@ var DropdownMenu = ({
|
|
7366
7366
|
badged: item.badged,
|
7367
7367
|
className: cn(
|
7368
7368
|
sizeStyles[size],
|
7369
|
-
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent
|
7369
|
+
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
|
7370
7370
|
item.presist && "focus:hawa-bg-transparent",
|
7371
7371
|
classNames == null ? void 0 : classNames.item
|
7372
7372
|
)
|
@@ -7427,7 +7427,7 @@ var ItemCard = ({
|
|
7427
7427
|
{
|
7428
7428
|
className: cn(
|
7429
7429
|
defaultStyle,
|
7430
|
-
props.onCardClick && "
|
7430
|
+
props.onCardClick && "hawa-cursor-pointer hover:hawa-shadow-lg",
|
7431
7431
|
orientationStyles[orientation],
|
7432
7432
|
props.className
|
7433
7433
|
),
|
@@ -7447,7 +7447,7 @@ var ItemCard = ({
|
|
7447
7447
|
clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
|
7448
7448
|
)
|
7449
7449
|
}
|
7450
|
-
), clickableImage && /* @__PURE__ */ import_react62.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react62.default.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
|
7450
|
+
), clickableImage && /* @__PURE__ */ import_react62.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react62.default.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__ */ import_react62.default.createElement(
|
7451
7451
|
Button,
|
7452
7452
|
{
|
7453
7453
|
variant: "secondary",
|
@@ -7481,7 +7481,7 @@ var ItemCard = ({
|
|
7481
7481
|
)
|
7482
7482
|
)
|
7483
7483
|
}
|
7484
|
-
))), /* @__PURE__ */ import_react62.default.createElement("div", { className: "
|
7484
|
+
))), /* @__PURE__ */ import_react62.default.createElement("div", { className: "hawa-mx-2" }, header && /* @__PURE__ */ import_react62.default.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight" }, header), content && /* @__PURE__ */ import_react62.default.createElement("span", { className: "hawa-w-full hawa-font-normal" }, content)), actions || counts ? /* @__PURE__ */ import_react62.default.createElement(
|
7485
7485
|
"div",
|
7486
7486
|
{
|
7487
7487
|
className: cn(
|
@@ -7630,7 +7630,7 @@ var ComparingPlans = (props) => {
|
|
7630
7630
|
key: i,
|
7631
7631
|
className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2"
|
7632
7632
|
},
|
7633
|
-
/* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react65.default.createElement("span", { className: "hawa-text-md hawa-font-bold
|
7633
|
+
/* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react65.default.createElement("span", { className: "hawa-text-md hawa-font-bold" }, plan.texts.title), /* @__PURE__ */ import_react65.default.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground" }, plan.texts.subtitle)), /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-flex hawa-items-baseline" }, /* @__PURE__ */ import_react65.default.createElement(import_react65.default.Fragment, null, /* @__PURE__ */ import_react65.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ import_react65.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ import_react65.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal" }, "/ ", plan.texts.cycleText)))
|
7634
7634
|
))
|
7635
7635
|
), /* @__PURE__ */ import_react65.default.createElement(
|
7636
7636
|
ScrollArea,
|
@@ -7645,7 +7645,7 @@ var ComparingPlans = (props) => {
|
|
7645
7645
|
{
|
7646
7646
|
key: featureIndex,
|
7647
7647
|
className: cn(
|
7648
|
-
"hawa-border-foreground-muted
|
7648
|
+
"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",
|
7649
7649
|
featureIndex === 0 ? "" : "hawa-border-t"
|
7650
7650
|
)
|
7651
7651
|
},
|
@@ -7709,7 +7709,7 @@ var ComparingPlans = (props) => {
|
|
7709
7709
|
})
|
7710
7710
|
);
|
7711
7711
|
})
|
7712
|
-
), props.showButtons && /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-grid
|
7712
|
+
), props.showButtons && /* @__PURE__ */ import_react65.default.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__ */ import_react65.default.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
|
7713
7713
|
var _a;
|
7714
7714
|
return /* @__PURE__ */ import_react65.default.createElement(
|
7715
7715
|
"div",
|
@@ -7749,7 +7749,7 @@ var HorizontalPricing = (props) => {
|
|
7749
7749
|
{ title: "business", price: "$99", cycle: "/mo" },
|
7750
7750
|
{ title: "enterprise", price: "$149", cycle: "/mo" }
|
7751
7751
|
];
|
7752
|
-
return /* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-max-w-2xl
|
7752
|
+
return /* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-max-w-2xl" }, /* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ import_react66.default.createElement(
|
7753
7753
|
Radio,
|
7754
7754
|
{
|
7755
7755
|
name: "currency",
|
@@ -7786,8 +7786,8 @@ var HorizontalPricing = (props) => {
|
|
7786
7786
|
"div",
|
7787
7787
|
{
|
7788
7788
|
className: cn(
|
7789
|
-
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20
|
7790
|
-
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between
|
7789
|
+
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20" : "",
|
7790
|
+
"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"
|
7791
7791
|
)
|
7792
7792
|
},
|
7793
7793
|
/* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ import_react66.default.createElement(CheckIcons, null), /* @__PURE__ */ import_react66.default.createElement(
|
@@ -7834,7 +7834,7 @@ var CheckIcons = () => /* @__PURE__ */ import_react66.default.createElement(impo
|
|
7834
7834
|
}
|
7835
7835
|
)
|
7836
7836
|
));
|
7837
|
-
var CardText = (props) => /* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start
|
7837
|
+
var CardText = (props) => /* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start" }, /* @__PURE__ */ import_react66.default.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ import_react66.default.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
|
7838
7838
|
var CardPrice = (props) => /* @__PURE__ */ import_react66.default.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ import_react66.default.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
|
7839
7839
|
|
7840
7840
|
// blocks/Usage.tsx
|