@sikka/hawa 0.27.8-next → 0.27.9-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/appLayout/index.js +2 -1
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +2 -1
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +5 -4
- package/dist/blocks/auth/index.mjs +4 -4
- package/dist/blocks/feedback/index.js +2 -1
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.d.mts +1 -0
- package/dist/blocks/index.d.ts +1 -0
- package/dist/blocks/index.js +36 -21
- package/dist/blocks/index.mjs +33 -19
- package/dist/blocks/misc/index.js +5 -4
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.d.mts +3 -1
- package/dist/blocks/pricing/index.d.ts +3 -1
- package/dist/blocks/pricing/index.js +33 -18
- package/dist/blocks/pricing/index.mjs +35 -21
- package/dist/{chunk-CLYUW7ZZ.mjs → chunk-3QADSQDZ.mjs} +1 -1
- package/dist/{chunk-LBJ3MGP5.mjs → chunk-77PYXYCP.mjs} +1 -1
- package/dist/{chunk-SYU5MD4T.mjs → chunk-EZKMFH4D.mjs} +1 -1
- package/dist/{chunk-HHH4PVTF.mjs → chunk-H6RXLCDX.mjs} +2 -1
- package/dist/{chunk-XP77ULQK.mjs → chunk-O3Y6K3YE.mjs} +2 -1
- package/dist/{chunk-3LS2PYA7.mjs → chunk-PPOMNW7H.mjs} +1 -1
- package/dist/{chunk-RLSD5FPT.mjs → chunk-QDNT7A7D.mjs} +1 -1
- package/dist/{chunk-HLKZUHZF.mjs → chunk-TZT5E6NW.mjs} +1 -1
- package/dist/{chunk-LT2GWHD3.mjs → chunk-YHED4XVA.mjs} +4 -4
- package/dist/{chunk-FFXJHDRG.mjs → chunk-YVH4TWNC.mjs} +4 -4
- package/dist/codeBlock/index.js +2 -1
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +2 -1
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js +2 -1
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs +2 -1
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js +2 -1
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +2 -1
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/dataTable/index.js +5 -4
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +5 -4
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +4 -0
- package/dist/elements/index.d.ts +4 -0
- package/dist/elements/index.js +5 -4
- package/dist/elements/index.mjs +3 -3
- package/dist/index.css +3 -0
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +36 -21
- package/dist/index.mjs +36 -21
- package/dist/input/index.d.mts +2 -0
- package/dist/input/index.d.ts +2 -0
- package/dist/input/index.js +5 -4
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +5 -4
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +2 -1
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +2 -1
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.js +2 -1
- package/dist/label/index.js.map +1 -1
- package/dist/label/index.mjs +2 -1
- package/dist/label/index.mjs.map +1 -1
- package/dist/layout/index.js +2 -1
- package/dist/layout/index.mjs +2 -2
- package/dist/passwordInput/index.js +5 -4
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +5 -4
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +2 -1
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +2 -1
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/radio/index.js +2 -1
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +2 -1
- package/dist/radio/index.mjs.map +1 -1
- package/dist/select/index.js +2 -1
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +2 -1
- package/dist/select/index.mjs.map +1 -1
- package/dist/signature/index.js +2 -1
- package/dist/signature/index.js.map +1 -1
- package/dist/signature/index.mjs +2 -1
- package/dist/signature/index.mjs.map +1 -1
- package/dist/textarea/index.js +2 -1
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +2 -1
- package/dist/textarea/index.mjs.map +1 -1
- package/dist/tooltip/index.d.mts +2 -0
- package/dist/tooltip/index.d.ts +2 -0
- package/dist/tooltip/index.js +2 -1
- package/dist/tooltip/index.js.map +1 -1
- package/dist/tooltip/index.mjs +2 -1
- package/dist/tooltip/index.mjs.map +1 -1
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/blocks/index.d.ts
CHANGED
@@ -360,6 +360,7 @@ type ContactFormProps = {
|
|
360
360
|
declare const ContactForm: React__default.FC<ContactFormProps>;
|
361
361
|
|
362
362
|
type PricingPlansTypes = {
|
363
|
+
loadingCards?: boolean;
|
363
364
|
plans: PricingCardProps[];
|
364
365
|
currencies: RadioOptionType[];
|
365
366
|
billingCycles: RadioOptionType[];
|
package/dist/blocks/index.js
CHANGED
@@ -627,6 +627,7 @@ var Tooltip = ({
|
|
627
627
|
open,
|
628
628
|
content,
|
629
629
|
children,
|
630
|
+
disabled,
|
630
631
|
defaultOpen,
|
631
632
|
onOpenChange,
|
632
633
|
triggerProps,
|
@@ -644,7 +645,7 @@ var Tooltip = ({
|
|
644
645
|
/* @__PURE__ */ import_react3.default.createElement(
|
645
646
|
TooltipPrimitive.Root,
|
646
647
|
{
|
647
|
-
open,
|
648
|
+
open: !disabled && open,
|
648
649
|
defaultOpen,
|
649
650
|
onOpenChange,
|
650
651
|
...props
|
@@ -781,7 +782,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
781
782
|
)
|
782
783
|
},
|
783
784
|
props.label && /* @__PURE__ */ import_react5.default.createElement(Label, { ...labelProps }, props.label),
|
784
|
-
props.isLoading ? /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ import_react5.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react5.default.createElement(import_react5.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react5.default.createElement(
|
785
|
+
/* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center " }, props.prefixText && /* @__PURE__ */ import_react5.default.createElement("span", { className: cn("hawa-me-2 hawa-opacity-90", !forceHideHelperText && "hawa-mb-2") }, props.prefixText), props.isLoading ? /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ import_react5.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react5.default.createElement(import_react5.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react5.default.createElement(
|
785
786
|
"div",
|
786
787
|
{
|
787
788
|
className: cn(
|
@@ -789,7 +790,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
789
790
|
preview ? "hawa-opacity-100" : "hawa-opacity-0"
|
790
791
|
)
|
791
792
|
}
|
792
|
-
), /* @__PURE__ */ import_react5.default.createElement(
|
793
|
+
), /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-w-full hawa-gap-2" }, /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-relative" }, props.startIcon && /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-absolute hawa-start-3 hawa-top-1/2 hawa--translate-y-1/2" }, props.startIcon), props.endIcon && /* @__PURE__ */ import_react5.default.createElement(
|
793
794
|
"div",
|
794
795
|
{
|
795
796
|
className: cn(
|
@@ -857,7 +858,7 @@ var Input = (0, import_react5.forwardRef)(
|
|
857
858
|
props.value ? String(props.value).length : 0,
|
858
859
|
"/",
|
859
860
|
props.maxLength
|
860
|
-
)))
|
861
|
+
))))
|
861
862
|
);
|
862
863
|
}
|
863
864
|
);
|
@@ -5896,7 +5897,13 @@ var PricingCard = ({
|
|
5896
5897
|
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
|
5897
5898
|
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background "
|
5898
5899
|
};
|
5899
|
-
return /* @__PURE__ */ import_react38.default.createElement(
|
5900
|
+
return /* @__PURE__ */ import_react38.default.createElement(import_react38.default.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ import_react38.default.createElement(
|
5901
|
+
Skeleton,
|
5902
|
+
{
|
5903
|
+
className: cn(cardSizes[size], "hawa-h-[200px]"),
|
5904
|
+
fade: "bottom"
|
5905
|
+
}
|
5906
|
+
) : /* @__PURE__ */ import_react38.default.createElement(
|
5900
5907
|
Card,
|
5901
5908
|
{
|
5902
5909
|
dir: direction,
|
@@ -5915,7 +5922,7 @@ var PricingCard = ({
|
|
5915
5922
|
},
|
5916
5923
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
5917
5924
|
),
|
5918
|
-
/* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react38.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_react38.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react38.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_react38.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react38.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react38.default.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.
|
5925
|
+
/* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react38.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_react38.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react38.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_react38.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react38.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react38.default.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ import_react38.default.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0 " }) : /* @__PURE__ */ import_react38.default.createElement(import_react38.default.Fragment, null, props.noPrice ? /* @__PURE__ */ import_react38.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_react38.default.createElement(import_react38.default.Fragment, null, /* @__PURE__ */ import_react38.default.createElement(import_react38.default.Fragment, null, /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ import_react38.default.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ import_react38.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ import_react38.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ import_react38.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_react38.default.createElement(Separator, null), /* @__PURE__ */ import_react38.default.createElement(
|
5919
5926
|
"div",
|
5920
5927
|
{
|
5921
5928
|
className: cn(
|
@@ -5959,22 +5966,29 @@ var PricingCard = ({
|
|
5959
5966
|
size: "small"
|
5960
5967
|
}
|
5961
5968
|
))),
|
5962
|
-
feature.hint && /* @__PURE__ */ import_react38.default.createElement(
|
5963
|
-
|
5969
|
+
feature.hint && /* @__PURE__ */ import_react38.default.createElement(
|
5970
|
+
Tooltip,
|
5964
5971
|
{
|
5965
|
-
|
5966
|
-
|
5967
|
-
viewBox: "0 0 24 24",
|
5968
|
-
fill: "none",
|
5969
|
-
stroke: "currentColor",
|
5970
|
-
strokeWidth: "2",
|
5971
|
-
strokeLinecap: "round",
|
5972
|
-
strokeLinejoin: "round"
|
5972
|
+
content: feature.hint,
|
5973
|
+
side: feature.hintSide
|
5973
5974
|
},
|
5974
|
-
/* @__PURE__ */ import_react38.default.createElement(
|
5975
|
-
|
5976
|
-
|
5977
|
-
|
5975
|
+
/* @__PURE__ */ import_react38.default.createElement(
|
5976
|
+
"svg",
|
5977
|
+
{
|
5978
|
+
xmlns: "http://www.w3.org/2000/svg",
|
5979
|
+
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
5980
|
+
viewBox: "0 0 24 24",
|
5981
|
+
fill: "none",
|
5982
|
+
stroke: "currentColor",
|
5983
|
+
strokeWidth: "2",
|
5984
|
+
strokeLinecap: "round",
|
5985
|
+
strokeLinejoin: "round"
|
5986
|
+
},
|
5987
|
+
/* @__PURE__ */ import_react38.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
5988
|
+
/* @__PURE__ */ import_react38.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
5989
|
+
/* @__PURE__ */ import_react38.default.createElement("path", { d: "M12 17h.01" })
|
5990
|
+
)
|
5991
|
+
)
|
5978
5992
|
);
|
5979
5993
|
})),
|
5980
5994
|
/* @__PURE__ */ import_react38.default.createElement(
|
@@ -5987,7 +6001,7 @@ var PricingCard = ({
|
|
5987
6001
|
(_i = props.texts) == null ? void 0 : _i.buttonText
|
5988
6002
|
)
|
5989
6003
|
))
|
5990
|
-
);
|
6004
|
+
));
|
5991
6005
|
};
|
5992
6006
|
|
5993
6007
|
// blocks/cards/ItemCard.tsx
|
@@ -6503,6 +6517,7 @@ var PricingPlans = ({
|
|
6503
6517
|
}
|
6504
6518
|
},
|
6505
6519
|
...plan,
|
6520
|
+
isLoadingCard: props.loadingCards || plan.isLoadingCard,
|
6506
6521
|
price: plan.price,
|
6507
6522
|
texts: {
|
6508
6523
|
...plan.texts,
|
package/dist/blocks/index.mjs
CHANGED
@@ -25,7 +25,7 @@ import {
|
|
25
25
|
UncheckMark,
|
26
26
|
VeryBadEmoji,
|
27
27
|
VeryGoodEmoji
|
28
|
-
} from "../chunk-
|
28
|
+
} from "../chunk-YHED4XVA.mjs";
|
29
29
|
import {
|
30
30
|
Button,
|
31
31
|
Card,
|
@@ -41,7 +41,7 @@ import {
|
|
41
41
|
Skeleton,
|
42
42
|
Tooltip,
|
43
43
|
cn
|
44
|
-
} from "../chunk-
|
44
|
+
} from "../chunk-H6RXLCDX.mjs";
|
45
45
|
import "../chunk-ZFXKCRJC.mjs";
|
46
46
|
|
47
47
|
// blocks/auth/LoginForm.tsx
|
@@ -2039,7 +2039,13 @@ var PricingCard = ({
|
|
2039
2039
|
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
|
2040
2040
|
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background "
|
2041
2041
|
};
|
2042
|
-
return /* @__PURE__ */ React23.createElement(
|
2042
|
+
return /* @__PURE__ */ React23.createElement(React23.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React23.createElement(
|
2043
|
+
Skeleton,
|
2044
|
+
{
|
2045
|
+
className: cn(cardSizes[size], "hawa-h-[200px]"),
|
2046
|
+
fade: "bottom"
|
2047
|
+
}
|
2048
|
+
) : /* @__PURE__ */ React23.createElement(
|
2043
2049
|
Card,
|
2044
2050
|
{
|
2045
2051
|
dir: direction,
|
@@ -2058,7 +2064,7 @@ var PricingCard = ({
|
|
2058
2064
|
},
|
2059
2065
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
2060
2066
|
),
|
2061
|
-
/* @__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.
|
2067
|
+
/* @__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(
|
2062
2068
|
"div",
|
2063
2069
|
{
|
2064
2070
|
className: cn(
|
@@ -2102,22 +2108,29 @@ var PricingCard = ({
|
|
2102
2108
|
size: "small"
|
2103
2109
|
}
|
2104
2110
|
))),
|
2105
|
-
feature.hint && /* @__PURE__ */ React23.createElement(
|
2106
|
-
|
2111
|
+
feature.hint && /* @__PURE__ */ React23.createElement(
|
2112
|
+
Tooltip,
|
2107
2113
|
{
|
2108
|
-
|
2109
|
-
|
2110
|
-
viewBox: "0 0 24 24",
|
2111
|
-
fill: "none",
|
2112
|
-
stroke: "currentColor",
|
2113
|
-
strokeWidth: "2",
|
2114
|
-
strokeLinecap: "round",
|
2115
|
-
strokeLinejoin: "round"
|
2114
|
+
content: feature.hint,
|
2115
|
+
side: feature.hintSide
|
2116
2116
|
},
|
2117
|
-
/* @__PURE__ */ React23.createElement(
|
2118
|
-
|
2119
|
-
|
2120
|
-
|
2117
|
+
/* @__PURE__ */ React23.createElement(
|
2118
|
+
"svg",
|
2119
|
+
{
|
2120
|
+
xmlns: "http://www.w3.org/2000/svg",
|
2121
|
+
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
2122
|
+
viewBox: "0 0 24 24",
|
2123
|
+
fill: "none",
|
2124
|
+
stroke: "currentColor",
|
2125
|
+
strokeWidth: "2",
|
2126
|
+
strokeLinecap: "round",
|
2127
|
+
strokeLinejoin: "round"
|
2128
|
+
},
|
2129
|
+
/* @__PURE__ */ React23.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
2130
|
+
/* @__PURE__ */ React23.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
2131
|
+
/* @__PURE__ */ React23.createElement("path", { d: "M12 17h.01" })
|
2132
|
+
)
|
2133
|
+
)
|
2121
2134
|
);
|
2122
2135
|
})),
|
2123
2136
|
/* @__PURE__ */ React23.createElement(
|
@@ -2130,7 +2143,7 @@ var PricingCard = ({
|
|
2130
2143
|
(_i = props.texts) == null ? void 0 : _i.buttonText
|
2131
2144
|
)
|
2132
2145
|
))
|
2133
|
-
);
|
2146
|
+
));
|
2134
2147
|
};
|
2135
2148
|
|
2136
2149
|
// blocks/cards/ItemCard.tsx
|
@@ -2313,6 +2326,7 @@ var PricingPlans = ({
|
|
2313
2326
|
}
|
2314
2327
|
},
|
2315
2328
|
...plan,
|
2329
|
+
isLoadingCard: props.loadingCards || plan.isLoadingCard,
|
2316
2330
|
price: plan.price,
|
2317
2331
|
texts: {
|
2318
2332
|
...plan.texts,
|
@@ -715,6 +715,7 @@ var Tooltip = ({
|
|
715
715
|
open,
|
716
716
|
content,
|
717
717
|
children,
|
718
|
+
disabled,
|
718
719
|
defaultOpen,
|
719
720
|
onOpenChange,
|
720
721
|
triggerProps,
|
@@ -732,7 +733,7 @@ var Tooltip = ({
|
|
732
733
|
/* @__PURE__ */ import_react6.default.createElement(
|
733
734
|
TooltipPrimitive.Root,
|
734
735
|
{
|
735
|
-
open,
|
736
|
+
open: !disabled && open,
|
736
737
|
defaultOpen,
|
737
738
|
onOpenChange,
|
738
739
|
...props
|
@@ -869,7 +870,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
869
870
|
)
|
870
871
|
},
|
871
872
|
props.label && /* @__PURE__ */ import_react8.default.createElement(Label, { ...labelProps }, props.label),
|
872
|
-
props.isLoading ? /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ import_react8.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react8.default.createElement(
|
873
|
+
/* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center " }, props.prefixText && /* @__PURE__ */ import_react8.default.createElement("span", { className: cn("hawa-me-2 hawa-opacity-90", !forceHideHelperText && "hawa-mb-2") }, props.prefixText), props.isLoading ? /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ import_react8.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react8.default.createElement(
|
873
874
|
"div",
|
874
875
|
{
|
875
876
|
className: cn(
|
@@ -877,7 +878,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
877
878
|
preview ? "hawa-opacity-100" : "hawa-opacity-0"
|
878
879
|
)
|
879
880
|
}
|
880
|
-
), /* @__PURE__ */ import_react8.default.createElement(
|
881
|
+
), /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-w-full hawa-gap-2" }, /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-relative" }, props.startIcon && /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-absolute hawa-start-3 hawa-top-1/2 hawa--translate-y-1/2" }, props.startIcon), props.endIcon && /* @__PURE__ */ import_react8.default.createElement(
|
881
882
|
"div",
|
882
883
|
{
|
883
884
|
className: cn(
|
@@ -945,7 +946,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
945
946
|
props.value ? String(props.value).length : 0,
|
946
947
|
"/",
|
947
948
|
props.maxLength
|
948
|
-
)))
|
949
|
+
))))
|
949
950
|
);
|
950
951
|
}
|
951
952
|
);
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import {
|
2
2
|
Input
|
3
|
-
} from "../../chunk-
|
3
|
+
} from "../../chunk-YVH4TWNC.mjs";
|
4
4
|
import {
|
5
5
|
Chip,
|
6
6
|
ScrollArea
|
7
|
-
} from "../../chunk-
|
7
|
+
} from "../../chunk-TZT5E6NW.mjs";
|
8
8
|
import {
|
9
9
|
Textarea
|
10
|
-
} from "../../chunk-
|
10
|
+
} from "../../chunk-3QADSQDZ.mjs";
|
11
11
|
import {
|
12
12
|
Select
|
13
|
-
} from "../../chunk-
|
13
|
+
} from "../../chunk-EZKMFH4D.mjs";
|
14
14
|
import {
|
15
15
|
Button,
|
16
16
|
Card,
|
@@ -20,7 +20,7 @@ import {
|
|
20
20
|
CardHeader,
|
21
21
|
CardTitle,
|
22
22
|
cn
|
23
|
-
} from "../../chunk-
|
23
|
+
} from "../../chunk-O3Y6K3YE.mjs";
|
24
24
|
|
25
25
|
// blocks/misc/LegalTexts.tsx
|
26
26
|
import React2 from "react";
|
@@ -21,11 +21,13 @@ type PricingCardProps = {
|
|
21
21
|
currentPlan?: boolean;
|
22
22
|
recommended?: boolean;
|
23
23
|
size?: "small" | "medium" | "large";
|
24
|
-
|
24
|
+
isLoadingPrice?: boolean;
|
25
|
+
isLoadingCard?: boolean;
|
25
26
|
texts: PricingPlanTexts;
|
26
27
|
};
|
27
28
|
|
28
29
|
type PricingPlansTypes = {
|
30
|
+
loadingCards?: boolean;
|
29
31
|
plans: PricingCardProps[];
|
30
32
|
currencies: RadioOptionType[];
|
31
33
|
billingCycles: RadioOptionType[];
|
@@ -21,11 +21,13 @@ type PricingCardProps = {
|
|
21
21
|
currentPlan?: boolean;
|
22
22
|
recommended?: boolean;
|
23
23
|
size?: "small" | "medium" | "large";
|
24
|
-
|
24
|
+
isLoadingPrice?: boolean;
|
25
|
+
isLoadingCard?: boolean;
|
25
26
|
texts: PricingPlanTexts;
|
26
27
|
};
|
27
28
|
|
28
29
|
type PricingPlansTypes = {
|
30
|
+
loadingCards?: boolean;
|
29
31
|
plans: PricingCardProps[];
|
30
32
|
currencies: RadioOptionType[];
|
31
33
|
billingCycles: RadioOptionType[];
|
@@ -511,6 +511,7 @@ var Tooltip = ({
|
|
511
511
|
open,
|
512
512
|
content,
|
513
513
|
children,
|
514
|
+
disabled,
|
514
515
|
defaultOpen,
|
515
516
|
onOpenChange,
|
516
517
|
triggerProps,
|
@@ -528,7 +529,7 @@ var Tooltip = ({
|
|
528
529
|
/* @__PURE__ */ import_react5.default.createElement(
|
529
530
|
TooltipPrimitive.Root,
|
530
531
|
{
|
531
|
-
open,
|
532
|
+
open: !disabled && open,
|
532
533
|
defaultOpen,
|
533
534
|
onOpenChange,
|
534
535
|
...props
|
@@ -644,7 +645,13 @@ var PricingCard = ({
|
|
644
645
|
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
|
645
646
|
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background "
|
646
647
|
};
|
647
|
-
return /* @__PURE__ */ import_react7.default.createElement(
|
648
|
+
return /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ import_react7.default.createElement(
|
649
|
+
Skeleton,
|
650
|
+
{
|
651
|
+
className: cn(cardSizes[size], "hawa-h-[200px]"),
|
652
|
+
fade: "bottom"
|
653
|
+
}
|
654
|
+
) : /* @__PURE__ */ import_react7.default.createElement(
|
648
655
|
Card,
|
649
656
|
{
|
650
657
|
dir: direction,
|
@@ -663,7 +670,7 @@ var PricingCard = ({
|
|
663
670
|
},
|
664
671
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
665
672
|
),
|
666
|
-
/* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react7.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_react7.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react7.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_react7.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react7.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react7.default.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.
|
673
|
+
/* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react7.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_react7.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react7.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_react7.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react7.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react7.default.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ import_react7.default.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0 " }) : /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, props.noPrice ? /* @__PURE__ */ import_react7.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_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ import_react7.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_react7.default.createElement(Separator, null), /* @__PURE__ */ import_react7.default.createElement(
|
667
674
|
"div",
|
668
675
|
{
|
669
676
|
className: cn(
|
@@ -707,22 +714,29 @@ var PricingCard = ({
|
|
707
714
|
size: "small"
|
708
715
|
}
|
709
716
|
))),
|
710
|
-
feature.hint && /* @__PURE__ */ import_react7.default.createElement(
|
711
|
-
|
717
|
+
feature.hint && /* @__PURE__ */ import_react7.default.createElement(
|
718
|
+
Tooltip,
|
712
719
|
{
|
713
|
-
|
714
|
-
|
715
|
-
viewBox: "0 0 24 24",
|
716
|
-
fill: "none",
|
717
|
-
stroke: "currentColor",
|
718
|
-
strokeWidth: "2",
|
719
|
-
strokeLinecap: "round",
|
720
|
-
strokeLinejoin: "round"
|
720
|
+
content: feature.hint,
|
721
|
+
side: feature.hintSide
|
721
722
|
},
|
722
|
-
/* @__PURE__ */ import_react7.default.createElement(
|
723
|
-
|
724
|
-
|
725
|
-
|
723
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
724
|
+
"svg",
|
725
|
+
{
|
726
|
+
xmlns: "http://www.w3.org/2000/svg",
|
727
|
+
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
728
|
+
viewBox: "0 0 24 24",
|
729
|
+
fill: "none",
|
730
|
+
stroke: "currentColor",
|
731
|
+
strokeWidth: "2",
|
732
|
+
strokeLinecap: "round",
|
733
|
+
strokeLinejoin: "round"
|
734
|
+
},
|
735
|
+
/* @__PURE__ */ import_react7.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
736
|
+
/* @__PURE__ */ import_react7.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
737
|
+
/* @__PURE__ */ import_react7.default.createElement("path", { d: "M12 17h.01" })
|
738
|
+
)
|
739
|
+
)
|
726
740
|
);
|
727
741
|
})),
|
728
742
|
/* @__PURE__ */ import_react7.default.createElement(
|
@@ -735,7 +749,7 @@ var PricingCard = ({
|
|
735
749
|
(_i = props.texts) == null ? void 0 : _i.buttonText
|
736
750
|
)
|
737
751
|
))
|
738
|
-
);
|
752
|
+
));
|
739
753
|
};
|
740
754
|
|
741
755
|
// blocks/cards/ItemCard.tsx
|
@@ -1216,6 +1230,7 @@ var PricingPlans = ({
|
|
1216
1230
|
}
|
1217
1231
|
},
|
1218
1232
|
...plan,
|
1233
|
+
isLoadingCard: props.loadingCards || plan.isLoadingCard,
|
1219
1234
|
price: plan.price,
|
1220
1235
|
texts: {
|
1221
1236
|
...plan.texts,
|
@@ -1,22 +1,22 @@
|
|
1
1
|
import {
|
2
2
|
Chip,
|
3
3
|
ScrollArea
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-TZT5E6NW.mjs";
|
5
5
|
import "../../chunk-ZS3FB3PO.mjs";
|
6
6
|
import {
|
7
7
|
Radio
|
8
|
-
} from "../../chunk-
|
8
|
+
} from "../../chunk-77PYXYCP.mjs";
|
9
9
|
import {
|
10
10
|
CheckMark,
|
11
11
|
UncheckMark
|
12
|
-
} from "../../chunk-
|
12
|
+
} from "../../chunk-PPOMNW7H.mjs";
|
13
13
|
import {
|
14
14
|
Button,
|
15
15
|
Card,
|
16
16
|
Skeleton,
|
17
17
|
Tooltip,
|
18
18
|
cn
|
19
|
-
} from "../../chunk-
|
19
|
+
} from "../../chunk-O3Y6K3YE.mjs";
|
20
20
|
|
21
21
|
// blocks/pricing/PricingPlans.tsx
|
22
22
|
import React8 from "react";
|
@@ -63,7 +63,13 @@ var PricingCard = ({
|
|
63
63
|
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
|
64
64
|
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background "
|
65
65
|
};
|
66
|
-
return /* @__PURE__ */ React4.createElement(
|
66
|
+
return /* @__PURE__ */ React4.createElement(React4.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React4.createElement(
|
67
|
+
Skeleton,
|
68
|
+
{
|
69
|
+
className: cn(cardSizes[size], "hawa-h-[200px]"),
|
70
|
+
fade: "bottom"
|
71
|
+
}
|
72
|
+
) : /* @__PURE__ */ React4.createElement(
|
67
73
|
Card,
|
68
74
|
{
|
69
75
|
dir: direction,
|
@@ -82,7 +88,7 @@ var PricingCard = ({
|
|
82
88
|
},
|
83
89
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
84
90
|
),
|
85
|
-
/* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React4.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React4.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React4.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ React4.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React4.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React4.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.
|
91
|
+
/* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React4.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React4.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React4.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ React4.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React4.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React4.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ React4.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0 " }) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, props.noPrice ? /* @__PURE__ */ React4.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ React4.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ React4.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React4.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ React4.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__ */ React4.createElement(Separator, null), /* @__PURE__ */ React4.createElement(
|
86
92
|
"div",
|
87
93
|
{
|
88
94
|
className: cn(
|
@@ -126,22 +132,29 @@ var PricingCard = ({
|
|
126
132
|
size: "small"
|
127
133
|
}
|
128
134
|
))),
|
129
|
-
feature.hint && /* @__PURE__ */ React4.createElement(
|
130
|
-
|
135
|
+
feature.hint && /* @__PURE__ */ React4.createElement(
|
136
|
+
Tooltip,
|
131
137
|
{
|
132
|
-
|
133
|
-
|
134
|
-
viewBox: "0 0 24 24",
|
135
|
-
fill: "none",
|
136
|
-
stroke: "currentColor",
|
137
|
-
strokeWidth: "2",
|
138
|
-
strokeLinecap: "round",
|
139
|
-
strokeLinejoin: "round"
|
138
|
+
content: feature.hint,
|
139
|
+
side: feature.hintSide
|
140
140
|
},
|
141
|
-
/* @__PURE__ */ React4.createElement(
|
142
|
-
|
143
|
-
|
144
|
-
|
141
|
+
/* @__PURE__ */ React4.createElement(
|
142
|
+
"svg",
|
143
|
+
{
|
144
|
+
xmlns: "http://www.w3.org/2000/svg",
|
145
|
+
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
146
|
+
viewBox: "0 0 24 24",
|
147
|
+
fill: "none",
|
148
|
+
stroke: "currentColor",
|
149
|
+
strokeWidth: "2",
|
150
|
+
strokeLinecap: "round",
|
151
|
+
strokeLinejoin: "round"
|
152
|
+
},
|
153
|
+
/* @__PURE__ */ React4.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
154
|
+
/* @__PURE__ */ React4.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
155
|
+
/* @__PURE__ */ React4.createElement("path", { d: "M12 17h.01" })
|
156
|
+
)
|
157
|
+
)
|
145
158
|
);
|
146
159
|
})),
|
147
160
|
/* @__PURE__ */ React4.createElement(
|
@@ -154,7 +167,7 @@ var PricingCard = ({
|
|
154
167
|
(_i = props.texts) == null ? void 0 : _i.buttonText
|
155
168
|
)
|
156
169
|
))
|
157
|
-
);
|
170
|
+
));
|
158
171
|
};
|
159
172
|
|
160
173
|
// blocks/cards/ItemCard.tsx
|
@@ -400,6 +413,7 @@ var PricingPlans = ({
|
|
400
413
|
}
|
401
414
|
},
|
402
415
|
...plan,
|
416
|
+
isLoadingCard: props.loadingCards || plan.isLoadingCard,
|
403
417
|
price: plan.price,
|
404
418
|
texts: {
|
405
419
|
...plan.texts,
|
@@ -427,6 +427,7 @@ var Tooltip = ({
|
|
427
427
|
open,
|
428
428
|
content,
|
429
429
|
children,
|
430
|
+
disabled,
|
430
431
|
defaultOpen,
|
431
432
|
onOpenChange,
|
432
433
|
triggerProps,
|
@@ -444,7 +445,7 @@ var Tooltip = ({
|
|
444
445
|
/* @__PURE__ */ React4.createElement(
|
445
446
|
TooltipPrimitive.Root,
|
446
447
|
{
|
447
|
-
open,
|
448
|
+
open: !disabled && open,
|
448
449
|
defaultOpen,
|
449
450
|
onOpenChange,
|
450
451
|
...props
|