@sikka/hawa 0.19.28-next → 0.19.30-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.css +9 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +35 -10
- package/dist/index.mjs +35 -10
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1428,6 +1428,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1428
1428
|
.hawa-h-\[48px\] {
|
|
1429
1429
|
height: 48px;
|
|
1430
1430
|
}
|
|
1431
|
+
.hawa-h-\[70dvh\] {
|
|
1432
|
+
height: 70dvh;
|
|
1433
|
+
}
|
|
1431
1434
|
.hawa-h-\[72px\] {
|
|
1432
1435
|
height: 72px;
|
|
1433
1436
|
}
|
|
@@ -1879,6 +1882,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1879
1882
|
.hawa-grid-cols-4 {
|
|
1880
1883
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1881
1884
|
}
|
|
1885
|
+
.hawa-grid-cols-\[1fr_repeat\(3\,_minmax\(0\,_1fr\)\)\] {
|
|
1886
|
+
grid-template-columns: 1fr repeat(3, minmax(0, 1fr));
|
|
1887
|
+
}
|
|
1882
1888
|
.hawa-flex-row {
|
|
1883
1889
|
flex-direction: row;
|
|
1884
1890
|
}
|
|
@@ -2155,6 +2161,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2155
2161
|
.hawa-border-t {
|
|
2156
2162
|
border-top-width: 1px;
|
|
2157
2163
|
}
|
|
2164
|
+
.hawa-border-t-0 {
|
|
2165
|
+
border-top-width: 0px;
|
|
2166
|
+
}
|
|
2158
2167
|
.hawa-border-dashed {
|
|
2159
2168
|
border-style: dashed;
|
|
2160
2169
|
}
|
|
@@ -4258,10 +4267,6 @@ body {
|
|
|
4258
4267
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4259
4268
|
}
|
|
4260
4269
|
|
|
4261
|
-
.md\:hawa-grid-cols-\[1fr_repeat\(3\2c _minmax\(0\2c _1fr\)\)\] {
|
|
4262
|
-
grid-template-columns: 1fr repeat(3, minmax(0, 1fr));
|
|
4263
|
-
}
|
|
4264
|
-
|
|
4265
4270
|
.md\:hawa-flex-row {
|
|
4266
4271
|
flex-direction: row;
|
|
4267
4272
|
}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -11126,7 +11126,7 @@ var ComparingPlans = (props) => {
|
|
|
11126
11126
|
)
|
|
11127
11127
|
)
|
|
11128
11128
|
);
|
|
11129
|
-
return /* @__PURE__ */ import_react70.default.createElement("div", { id: "detailed-pricing", className: "hawa-w-full
|
|
11129
|
+
return /* @__PURE__ */ import_react70.default.createElement("div", { id: "detailed-pricing", className: "hawa-w-full " }, /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ import_react70.default.createElement(
|
|
11130
11130
|
Radio,
|
|
11131
11131
|
{
|
|
11132
11132
|
design: "tabs",
|
|
@@ -11154,25 +11154,33 @@ var ComparingPlans = (props) => {
|
|
|
11154
11154
|
}
|
|
11155
11155
|
}
|
|
11156
11156
|
}
|
|
11157
|
-
)), /* @__PURE__ */ import_react70.default.createElement(
|
|
11157
|
+
)), /* @__PURE__ */ import_react70.default.createElement(
|
|
11158
11158
|
"div",
|
|
11159
11159
|
{
|
|
11160
11160
|
className: cn(
|
|
11161
|
-
"hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border
|
|
11162
|
-
"hawa-bg-primary
|
|
11163
|
-
// "hawa-border-gray-200 hawa-bg-gray-100 hawa-text-gray-900",
|
|
11164
|
-
// "dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-white"
|
|
11161
|
+
"hawa-sticky hawa-top-0 hawa-z-10 hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border hawa-p-4 hawa-text-sm hawa-font-medium hawa-rounded-t",
|
|
11162
|
+
"hawa-bg-primary-foreground"
|
|
11165
11163
|
)
|
|
11166
11164
|
},
|
|
11167
11165
|
/* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-items-center" }),
|
|
11168
|
-
props.plans.map((plan, i) => /* @__PURE__ */ import_react70.default.createElement(
|
|
11169
|
-
|
|
11166
|
+
props.plans.map((plan, i) => /* @__PURE__ */ import_react70.default.createElement(
|
|
11167
|
+
"div",
|
|
11168
|
+
{
|
|
11169
|
+
key: i,
|
|
11170
|
+
className: "hawa-flex hawa-flex-col hawa-gap-2 hawa-justify-center hawa-items-center"
|
|
11171
|
+
},
|
|
11172
|
+
/* @__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)))
|
|
11173
|
+
))
|
|
11174
|
+
), /* @__PURE__ */ import_react70.default.createElement(ScrollArea, { className: "hawa-h-[70dvh] hawa-rounded hawa-rounded-t-none hawa-border-t-0 hawa-border" }, uniqueFeatures.map((featureText, featureIndex) => {
|
|
11170
11175
|
var _a, _b;
|
|
11171
11176
|
return /* @__PURE__ */ import_react70.default.createElement(
|
|
11172
11177
|
"div",
|
|
11173
11178
|
{
|
|
11174
11179
|
key: featureIndex,
|
|
11175
|
-
className:
|
|
11180
|
+
className: cn(
|
|
11181
|
+
"hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-border-gray-200 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white dark:hawa-border-gray-700",
|
|
11182
|
+
featureIndex === 0 ? "" : "hawa-border-t"
|
|
11183
|
+
)
|
|
11176
11184
|
},
|
|
11177
11185
|
/* @__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(
|
|
11178
11186
|
(plan) => plan.features.some(
|
|
@@ -11210,9 +11218,26 @@ var ComparingPlans = (props) => {
|
|
|
11210
11218
|
const feature = plan.features.find(
|
|
11211
11219
|
(f) => f.text === featureText
|
|
11212
11220
|
);
|
|
11213
|
-
return /* @__PURE__ */ import_react70.default.createElement(
|
|
11221
|
+
return /* @__PURE__ */ import_react70.default.createElement(
|
|
11222
|
+
"div",
|
|
11223
|
+
{
|
|
11224
|
+
key: planIndex,
|
|
11225
|
+
className: "hawa-text-center hawa-flex hawa-flex-col hawa-items-center"
|
|
11226
|
+
},
|
|
11227
|
+
(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" })
|
|
11228
|
+
);
|
|
11214
11229
|
})
|
|
11215
11230
|
);
|
|
11231
|
+
})), 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) => {
|
|
11232
|
+
var _a;
|
|
11233
|
+
return /* @__PURE__ */ import_react70.default.createElement(
|
|
11234
|
+
"div",
|
|
11235
|
+
{
|
|
11236
|
+
key: i,
|
|
11237
|
+
className: "hawa-flex hawa-justify-center hawa-items-center"
|
|
11238
|
+
},
|
|
11239
|
+
/* @__PURE__ */ import_react70.default.createElement("button", { className: "hawa-bg-primary hawa-text-white hawa-p-2 hawa-rounded hawa-w-full hawa-max-w-xs" }, ((_a = plan.texts) == null ? void 0 : _a.buttonText) || "Get Started")
|
|
11240
|
+
);
|
|
11216
11241
|
})));
|
|
11217
11242
|
};
|
|
11218
11243
|
|
package/dist/index.mjs
CHANGED
|
@@ -10910,7 +10910,7 @@ var ComparingPlans = (props) => {
|
|
|
10910
10910
|
)
|
|
10911
10911
|
)
|
|
10912
10912
|
);
|
|
10913
|
-
return /* @__PURE__ */ React96.createElement("div", { id: "detailed-pricing", className: "hawa-w-full
|
|
10913
|
+
return /* @__PURE__ */ React96.createElement("div", { id: "detailed-pricing", className: "hawa-w-full " }, /* @__PURE__ */ React96.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React96.createElement(
|
|
10914
10914
|
Radio,
|
|
10915
10915
|
{
|
|
10916
10916
|
design: "tabs",
|
|
@@ -10938,25 +10938,33 @@ var ComparingPlans = (props) => {
|
|
|
10938
10938
|
}
|
|
10939
10939
|
}
|
|
10940
10940
|
}
|
|
10941
|
-
)), /* @__PURE__ */ React96.createElement(
|
|
10941
|
+
)), /* @__PURE__ */ React96.createElement(
|
|
10942
10942
|
"div",
|
|
10943
10943
|
{
|
|
10944
10944
|
className: cn(
|
|
10945
|
-
"hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border
|
|
10946
|
-
"hawa-bg-primary
|
|
10947
|
-
// "hawa-border-gray-200 hawa-bg-gray-100 hawa-text-gray-900",
|
|
10948
|
-
// "dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-white"
|
|
10945
|
+
"hawa-sticky hawa-top-0 hawa-z-10 hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border hawa-p-4 hawa-text-sm hawa-font-medium hawa-rounded-t",
|
|
10946
|
+
"hawa-bg-primary-foreground"
|
|
10949
10947
|
)
|
|
10950
10948
|
},
|
|
10951
10949
|
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-items-center" }),
|
|
10952
|
-
props.plans.map((plan, i) => /* @__PURE__ */ React96.createElement(
|
|
10953
|
-
|
|
10950
|
+
props.plans.map((plan, i) => /* @__PURE__ */ React96.createElement(
|
|
10951
|
+
"div",
|
|
10952
|
+
{
|
|
10953
|
+
key: i,
|
|
10954
|
+
className: "hawa-flex hawa-flex-col hawa-gap-2 hawa-justify-center hawa-items-center"
|
|
10955
|
+
},
|
|
10956
|
+
/* @__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)))
|
|
10957
|
+
))
|
|
10958
|
+
), /* @__PURE__ */ React96.createElement(ScrollArea, { className: "hawa-h-[70dvh] hawa-rounded hawa-rounded-t-none hawa-border-t-0 hawa-border" }, uniqueFeatures.map((featureText, featureIndex) => {
|
|
10954
10959
|
var _a, _b;
|
|
10955
10960
|
return /* @__PURE__ */ React96.createElement(
|
|
10956
10961
|
"div",
|
|
10957
10962
|
{
|
|
10958
10963
|
key: featureIndex,
|
|
10959
|
-
className:
|
|
10964
|
+
className: cn(
|
|
10965
|
+
"hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-border-gray-200 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white dark:hawa-border-gray-700",
|
|
10966
|
+
featureIndex === 0 ? "" : "hawa-border-t"
|
|
10967
|
+
)
|
|
10960
10968
|
},
|
|
10961
10969
|
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
|
|
10962
10970
|
(plan) => plan.features.some(
|
|
@@ -10994,9 +11002,26 @@ var ComparingPlans = (props) => {
|
|
|
10994
11002
|
const feature = plan.features.find(
|
|
10995
11003
|
(f) => f.text === featureText
|
|
10996
11004
|
);
|
|
10997
|
-
return /* @__PURE__ */ React96.createElement(
|
|
11005
|
+
return /* @__PURE__ */ React96.createElement(
|
|
11006
|
+
"div",
|
|
11007
|
+
{
|
|
11008
|
+
key: planIndex,
|
|
11009
|
+
className: "hawa-text-center hawa-flex hawa-flex-col hawa-items-center"
|
|
11010
|
+
},
|
|
11011
|
+
(feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React96.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React96.createElement(UncheckMark, { className: "hawa-text-foreground" })
|
|
11012
|
+
);
|
|
10998
11013
|
})
|
|
10999
11014
|
);
|
|
11015
|
+
})), 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) => {
|
|
11016
|
+
var _a;
|
|
11017
|
+
return /* @__PURE__ */ React96.createElement(
|
|
11018
|
+
"div",
|
|
11019
|
+
{
|
|
11020
|
+
key: i,
|
|
11021
|
+
className: "hawa-flex hawa-justify-center hawa-items-center"
|
|
11022
|
+
},
|
|
11023
|
+
/* @__PURE__ */ React96.createElement("button", { className: "hawa-bg-primary hawa-text-white hawa-p-2 hawa-rounded hawa-w-full hawa-max-w-xs" }, ((_a = plan.texts) == null ? void 0 : _a.buttonText) || "Get Started")
|
|
11024
|
+
);
|
|
11000
11025
|
})));
|
|
11001
11026
|
};
|
|
11002
11027
|
|