@sikka/hawa 0.19.35-next → 0.19.36-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/index.js +74 -58
- package/dist/index.mjs +74 -58
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -897,7 +897,7 @@ var PricingCard = ({
|
|
|
897
897
|
},
|
|
898
898
|
props.texts.recommended || "RECOMMENDED"
|
|
899
899
|
),
|
|
900
|
-
/* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4 hawa-h-full" }, /* @__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, props.texts.title), /* @__PURE__ */ import_react7.default.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, props.texts.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-text-primary hawa-flex hawa-items-baseline" }, props.isLoading ? /* @__PURE__ */ import_react7.default.createElement(Skeleton, { className: "hawa-w-full hawa-max-w-[200px] hawa-h-[48px] hawa-p-0 " }) : /* @__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-gap-2 hawa-items-end" }, props.oldPrice && /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + props.texts.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" }, props.texts.currencyText)), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-whitespace-nowrap hawa-font-normal hawa-text-primary/70" }, "/ ", props.texts.cycleText))), endButton && /* @__PURE__ */ import_react7.default.createElement(Separator, null), /* @__PURE__ */ import_react7.default.createElement(
|
|
900
|
+
/* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4 hawa-h-full" }, /* @__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, props.texts.title), /* @__PURE__ */ import_react7.default.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, props.texts.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-text-primary hawa-flex hawa-items-baseline" }, props.isLoading ? /* @__PURE__ */ import_react7.default.createElement(Skeleton, { className: "hawa-w-full hawa-max-w-[200px] hawa-h-[48px] hawa-p-0 " }) : /* @__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-gap-2 hawa-items-end" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + props.texts.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" }, props.texts.currencyText)), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-whitespace-nowrap hawa-font-normal hawa-text-primary/70" }, "/ ", props.texts.cycleText))), endButton && /* @__PURE__ */ import_react7.default.createElement(Separator, null), /* @__PURE__ */ import_react7.default.createElement(
|
|
901
901
|
"div",
|
|
902
902
|
{
|
|
903
903
|
className: cn(
|
|
@@ -11175,68 +11175,84 @@ var ComparingPlans = (props) => {
|
|
|
11175
11175
|
},
|
|
11176
11176
|
/* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ import_react70.default.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ import_react70.default.createElement(import_react70.default.Fragment, null, /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
|
|
11177
11177
|
))
|
|
11178
|
-
), /* @__PURE__ */ import_react70.default.createElement(
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
"
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
},
|
|
11189
|
-
/* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
|
|
11190
|
-
(plan) => plan.features.some(
|
|
11191
|
-
(feature) => feature.text === featureText && feature.hint
|
|
11192
|
-
)
|
|
11193
|
-
) && /* @__PURE__ */ import_react70.default.createElement(
|
|
11194
|
-
Tooltip,
|
|
11178
|
+
), /* @__PURE__ */ import_react70.default.createElement(
|
|
11179
|
+
ScrollArea,
|
|
11180
|
+
{
|
|
11181
|
+
className: "hawa-h-fit hawa-rounded hawa-rounded-t-none hawa-border-t-0 hawa-border",
|
|
11182
|
+
dir: props.direction
|
|
11183
|
+
},
|
|
11184
|
+
uniqueFeatures.map((featureText, featureIndex) => {
|
|
11185
|
+
var _a, _b, _c, _d;
|
|
11186
|
+
return /* @__PURE__ */ import_react70.default.createElement(
|
|
11187
|
+
"div",
|
|
11195
11188
|
{
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
(
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
(feature) => feature.text === featureText
|
|
11202
|
-
)) == null ? void 0 : _a2.hint;
|
|
11203
|
-
}
|
|
11204
|
-
)) == null ? void 0 : _a.features.find(
|
|
11205
|
-
(feature) => feature.text === featureText
|
|
11206
|
-
)) == null ? void 0 : _b.hint
|
|
11189
|
+
key: featureIndex,
|
|
11190
|
+
className: cn(
|
|
11191
|
+
"hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-border-foreground-muted hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
|
|
11192
|
+
featureIndex === 0 ? "" : "hawa-border-t"
|
|
11193
|
+
)
|
|
11207
11194
|
},
|
|
11208
|
-
/* @__PURE__ */ import_react70.default.createElement(
|
|
11209
|
-
|
|
11195
|
+
/* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
|
|
11196
|
+
(plan) => plan.features.some(
|
|
11197
|
+
(feature) => feature.text === featureText && feature.hint
|
|
11198
|
+
)
|
|
11199
|
+
) && /* @__PURE__ */ import_react70.default.createElement(
|
|
11200
|
+
Tooltip,
|
|
11210
11201
|
{
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11202
|
+
side: "right",
|
|
11203
|
+
content: (_b = (_a = props.plans.find(
|
|
11204
|
+
(plan) => {
|
|
11205
|
+
var _a2;
|
|
11206
|
+
return (_a2 = plan.features.find(
|
|
11207
|
+
(feature) => feature.text === featureText
|
|
11208
|
+
)) == null ? void 0 : _a2.hint;
|
|
11209
|
+
}
|
|
11210
|
+
)) == null ? void 0 : _a.features.find(
|
|
11211
|
+
(feature) => feature.text === featureText
|
|
11212
|
+
)) == null ? void 0 : _b.hint
|
|
11217
11213
|
},
|
|
11218
|
-
/* @__PURE__ */ import_react70.default.createElement(
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
|
|
11223
|
-
|
|
11224
|
-
|
|
11225
|
-
|
|
11226
|
-
|
|
11227
|
-
|
|
11228
|
-
|
|
11229
|
-
|
|
11230
|
-
|
|
11214
|
+
/* @__PURE__ */ import_react70.default.createElement(
|
|
11215
|
+
"svg",
|
|
11216
|
+
{
|
|
11217
|
+
stroke: "currentColor",
|
|
11218
|
+
fill: "currentColor",
|
|
11219
|
+
strokeWidth: "0",
|
|
11220
|
+
viewBox: "0 0 16 16",
|
|
11221
|
+
height: "1em",
|
|
11222
|
+
width: "1em"
|
|
11223
|
+
},
|
|
11224
|
+
/* @__PURE__ */ import_react70.default.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
|
|
11225
|
+
)
|
|
11226
|
+
), props.plans.some(
|
|
11227
|
+
(plan) => plan.features.some(
|
|
11228
|
+
(feature) => feature.text === featureText && feature.soon
|
|
11229
|
+
)
|
|
11230
|
+
) && /* @__PURE__ */ import_react70.default.createElement(
|
|
11231
|
+
Chip,
|
|
11231
11232
|
{
|
|
11232
|
-
|
|
11233
|
-
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
|
|
11239
|
-
|
|
11233
|
+
label: ((_d = (_c = props.plans.find(
|
|
11234
|
+
(plan) => plan.features.some(
|
|
11235
|
+
(feature) => feature.text === featureText && feature.soon
|
|
11236
|
+
)
|
|
11237
|
+
)) == null ? void 0 : _c.texts) == null ? void 0 : _d.soon) || "Soon"
|
|
11238
|
+
}
|
|
11239
|
+
)),
|
|
11240
|
+
props.plans.map((plan, planIndex) => {
|
|
11241
|
+
const feature = plan.features.find(
|
|
11242
|
+
(f) => f.text === featureText
|
|
11243
|
+
);
|
|
11244
|
+
return /* @__PURE__ */ import_react70.default.createElement(
|
|
11245
|
+
"div",
|
|
11246
|
+
{
|
|
11247
|
+
key: planIndex,
|
|
11248
|
+
className: "hawa-text-center hawa-flex hawa-flex-col hawa-items-center"
|
|
11249
|
+
},
|
|
11250
|
+
(feature == null ? void 0 : feature.included) ? /* @__PURE__ */ import_react70.default.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ import_react70.default.createElement(UncheckMark, { className: "hawa-text-foreground" })
|
|
11251
|
+
);
|
|
11252
|
+
})
|
|
11253
|
+
);
|
|
11254
|
+
})
|
|
11255
|
+
), props.showButtons && /* @__PURE__ */ import_react70.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_react70.default.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
|
|
11240
11256
|
var _a;
|
|
11241
11257
|
return /* @__PURE__ */ import_react70.default.createElement(
|
|
11242
11258
|
"div",
|
package/dist/index.mjs
CHANGED
|
@@ -664,7 +664,7 @@ var PricingCard = ({
|
|
|
664
664
|
},
|
|
665
665
|
props.texts.recommended || "RECOMMENDED"
|
|
666
666
|
),
|
|
667
|
-
/* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4 hawa-h-full" }, /* @__PURE__ */ React10.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React10.createElement("span", null, props.texts.title), /* @__PURE__ */ React10.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, props.texts.subtitle), props.discount && /* @__PURE__ */ React10.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React10.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React10.createElement("div", { className: " hawa-text-primary hawa-flex hawa-items-baseline" }, props.isLoading ? /* @__PURE__ */ React10.createElement(Skeleton, { className: "hawa-w-full hawa-max-w-[200px] hawa-h-[48px] hawa-p-0 " }) : /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2 hawa-items-end" }, props.oldPrice && /* @__PURE__ */ React10.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + props.texts.currencyText), /* @__PURE__ */ React10.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React10.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, props.texts.currencyText)), /* @__PURE__ */ React10.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-whitespace-nowrap hawa-font-normal hawa-text-primary/70" }, "/ ", props.texts.cycleText))), endButton && /* @__PURE__ */ React10.createElement(Separator, null), /* @__PURE__ */ React10.createElement(
|
|
667
|
+
/* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4 hawa-h-full" }, /* @__PURE__ */ React10.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React10.createElement("span", null, props.texts.title), /* @__PURE__ */ React10.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, props.texts.subtitle), props.discount && /* @__PURE__ */ React10.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React10.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React10.createElement("div", { className: " hawa-text-primary hawa-flex hawa-items-baseline" }, props.isLoading ? /* @__PURE__ */ React10.createElement(Skeleton, { className: "hawa-w-full hawa-max-w-[200px] hawa-h-[48px] hawa-p-0 " }) : /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2 hawa-items-end" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ React10.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + props.texts.currencyText), /* @__PURE__ */ React10.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React10.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, props.texts.currencyText)), /* @__PURE__ */ React10.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-whitespace-nowrap hawa-font-normal hawa-text-primary/70" }, "/ ", props.texts.cycleText))), endButton && /* @__PURE__ */ React10.createElement(Separator, null), /* @__PURE__ */ React10.createElement(
|
|
668
668
|
"div",
|
|
669
669
|
{
|
|
670
670
|
className: cn(
|
|
@@ -10959,68 +10959,84 @@ var ComparingPlans = (props) => {
|
|
|
10959
10959
|
},
|
|
10960
10960
|
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ React96.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React96.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React96.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
|
|
10961
10961
|
))
|
|
10962
|
-
), /* @__PURE__ */ React96.createElement(
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
"
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
},
|
|
10973
|
-
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
|
|
10974
|
-
(plan) => plan.features.some(
|
|
10975
|
-
(feature) => feature.text === featureText && feature.hint
|
|
10976
|
-
)
|
|
10977
|
-
) && /* @__PURE__ */ React96.createElement(
|
|
10978
|
-
Tooltip,
|
|
10962
|
+
), /* @__PURE__ */ React96.createElement(
|
|
10963
|
+
ScrollArea,
|
|
10964
|
+
{
|
|
10965
|
+
className: "hawa-h-fit hawa-rounded hawa-rounded-t-none hawa-border-t-0 hawa-border",
|
|
10966
|
+
dir: props.direction
|
|
10967
|
+
},
|
|
10968
|
+
uniqueFeatures.map((featureText, featureIndex) => {
|
|
10969
|
+
var _a, _b, _c, _d;
|
|
10970
|
+
return /* @__PURE__ */ React96.createElement(
|
|
10971
|
+
"div",
|
|
10979
10972
|
{
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
(
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
(feature) => feature.text === featureText
|
|
10986
|
-
)) == null ? void 0 : _a2.hint;
|
|
10987
|
-
}
|
|
10988
|
-
)) == null ? void 0 : _a.features.find(
|
|
10989
|
-
(feature) => feature.text === featureText
|
|
10990
|
-
)) == null ? void 0 : _b.hint
|
|
10973
|
+
key: featureIndex,
|
|
10974
|
+
className: cn(
|
|
10975
|
+
"hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-border-foreground-muted hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
|
|
10976
|
+
featureIndex === 0 ? "" : "hawa-border-t"
|
|
10977
|
+
)
|
|
10991
10978
|
},
|
|
10992
|
-
/* @__PURE__ */ React96.createElement(
|
|
10993
|
-
|
|
10979
|
+
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
|
|
10980
|
+
(plan) => plan.features.some(
|
|
10981
|
+
(feature) => feature.text === featureText && feature.hint
|
|
10982
|
+
)
|
|
10983
|
+
) && /* @__PURE__ */ React96.createElement(
|
|
10984
|
+
Tooltip,
|
|
10994
10985
|
{
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
10986
|
+
side: "right",
|
|
10987
|
+
content: (_b = (_a = props.plans.find(
|
|
10988
|
+
(plan) => {
|
|
10989
|
+
var _a2;
|
|
10990
|
+
return (_a2 = plan.features.find(
|
|
10991
|
+
(feature) => feature.text === featureText
|
|
10992
|
+
)) == null ? void 0 : _a2.hint;
|
|
10993
|
+
}
|
|
10994
|
+
)) == null ? void 0 : _a.features.find(
|
|
10995
|
+
(feature) => feature.text === featureText
|
|
10996
|
+
)) == null ? void 0 : _b.hint
|
|
11001
10997
|
},
|
|
11002
|
-
/* @__PURE__ */ React96.createElement(
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
10998
|
+
/* @__PURE__ */ React96.createElement(
|
|
10999
|
+
"svg",
|
|
11000
|
+
{
|
|
11001
|
+
stroke: "currentColor",
|
|
11002
|
+
fill: "currentColor",
|
|
11003
|
+
strokeWidth: "0",
|
|
11004
|
+
viewBox: "0 0 16 16",
|
|
11005
|
+
height: "1em",
|
|
11006
|
+
width: "1em"
|
|
11007
|
+
},
|
|
11008
|
+
/* @__PURE__ */ React96.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
|
|
11009
|
+
)
|
|
11010
|
+
), props.plans.some(
|
|
11011
|
+
(plan) => plan.features.some(
|
|
11012
|
+
(feature) => feature.text === featureText && feature.soon
|
|
11013
|
+
)
|
|
11014
|
+
) && /* @__PURE__ */ React96.createElement(
|
|
11015
|
+
Chip,
|
|
11015
11016
|
{
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
|
-
|
|
11017
|
+
label: ((_d = (_c = props.plans.find(
|
|
11018
|
+
(plan) => plan.features.some(
|
|
11019
|
+
(feature) => feature.text === featureText && feature.soon
|
|
11020
|
+
)
|
|
11021
|
+
)) == null ? void 0 : _c.texts) == null ? void 0 : _d.soon) || "Soon"
|
|
11022
|
+
}
|
|
11023
|
+
)),
|
|
11024
|
+
props.plans.map((plan, planIndex) => {
|
|
11025
|
+
const feature = plan.features.find(
|
|
11026
|
+
(f) => f.text === featureText
|
|
11027
|
+
);
|
|
11028
|
+
return /* @__PURE__ */ React96.createElement(
|
|
11029
|
+
"div",
|
|
11030
|
+
{
|
|
11031
|
+
key: planIndex,
|
|
11032
|
+
className: "hawa-text-center hawa-flex hawa-flex-col hawa-items-center"
|
|
11033
|
+
},
|
|
11034
|
+
(feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React96.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React96.createElement(UncheckMark, { className: "hawa-text-foreground" })
|
|
11035
|
+
);
|
|
11036
|
+
})
|
|
11037
|
+
);
|
|
11038
|
+
})
|
|
11039
|
+
), props.showButtons && /* @__PURE__ */ React96.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__ */ React96.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
|
|
11024
11040
|
var _a;
|
|
11025
11041
|
return /* @__PURE__ */ React96.createElement(
|
|
11026
11042
|
"div",
|