@sikka/hawa 0.19.27-next → 0.19.29-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 +6 -12
- package/dist/index.js +8 -10
- package/dist/index.mjs +8 -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
|
}
|
|
@@ -2830,10 +2836,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2830
2836
|
.hawa-tracking-widest {
|
|
2831
2837
|
letter-spacing: 0.1em;
|
|
2832
2838
|
}
|
|
2833
|
-
.hawa-text-\[\#000000\] {
|
|
2834
|
-
--tw-text-opacity: 1;
|
|
2835
|
-
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
2836
|
-
}
|
|
2837
2839
|
.hawa-text-\[\#666666\] {
|
|
2838
2840
|
--tw-text-opacity: 1;
|
|
2839
2841
|
color: rgb(102 102 102 / var(--tw-text-opacity));
|
|
@@ -4019,10 +4021,6 @@ body {
|
|
|
4019
4021
|
--tw-bg-opacity: 1;
|
|
4020
4022
|
background-color: rgb(250 204 21 / var(--tw-bg-opacity));
|
|
4021
4023
|
}
|
|
4022
|
-
:is(.hawa-dark .dark\:hawa-text-\[\#ffffff\]) {
|
|
4023
|
-
--tw-text-opacity: 1;
|
|
4024
|
-
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
4025
|
-
}
|
|
4026
4024
|
:is(.hawa-dark .dark\:hawa-text-black) {
|
|
4027
4025
|
--tw-text-opacity: 1;
|
|
4028
4026
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
@@ -4266,10 +4264,6 @@ body {
|
|
|
4266
4264
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4267
4265
|
}
|
|
4268
4266
|
|
|
4269
|
-
.md\:hawa-grid-cols-\[1fr_repeat\(3\2c _minmax\(0\2c _1fr\)\)\] {
|
|
4270
|
-
grid-template-columns: 1fr repeat(3, minmax(0, 1fr));
|
|
4271
|
-
}
|
|
4272
|
-
|
|
4273
4267
|
.md\:hawa-flex-row {
|
|
4274
4268
|
flex-direction: row;
|
|
4275
4269
|
}
|
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 hawa-
|
|
11129
|
+
return /* @__PURE__ */ import_react70.default.createElement("div", { id: "detailed-pricing", className: "hawa-w-full " }, /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-sticky hawa-top-4 hawa-z-20" }, /* @__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,27 +11154,25 @@ 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-b hawa-border-t hawa-p-4 hawa-text-sm hawa-font-medium",
|
|
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-b hawa-border-t 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
11166
|
props.plans.map((plan, i) => /* @__PURE__ */ import_react70.default.createElement("div", { key: i, 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))))
|
|
11169
|
-
), uniqueFeatures.map((featureText, featureIndex) => {
|
|
11167
|
+
)), /* @__PURE__ */ import_react70.default.createElement(ScrollArea, { className: "hawa-h-[70dvh] hawa-rounded" }, uniqueFeatures.map((featureText, featureIndex) => {
|
|
11170
11168
|
var _a, _b;
|
|
11171
11169
|
return /* @__PURE__ */ import_react70.default.createElement(
|
|
11172
11170
|
"div",
|
|
11173
11171
|
{
|
|
11174
11172
|
key: featureIndex,
|
|
11175
|
-
className: "hawa-grid
|
|
11173
|
+
className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-border-b 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"
|
|
11176
11174
|
},
|
|
11177
|
-
/* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-
|
|
11175
|
+
/* @__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
11176
|
(plan) => plan.features.some(
|
|
11179
11177
|
(feature) => feature.text === featureText && feature.hint
|
|
11180
11178
|
)
|
|
@@ -11210,7 +11208,7 @@ var ComparingPlans = (props) => {
|
|
|
11210
11208
|
const feature = plan.features.find(
|
|
11211
11209
|
(f) => f.text === featureText
|
|
11212
11210
|
);
|
|
11213
|
-
return /* @__PURE__ */ import_react70.default.createElement("div", { key: planIndex, className: "hawa-text-center" }, (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ import_react70.default.createElement(CheckMark, { className: "
|
|
11211
|
+
return /* @__PURE__ */ import_react70.default.createElement("div", { key: planIndex, className: "hawa-text-center" }, (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" }));
|
|
11214
11212
|
})
|
|
11215
11213
|
);
|
|
11216
11214
|
})));
|
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 hawa-
|
|
10913
|
+
return /* @__PURE__ */ React96.createElement("div", { id: "detailed-pricing", className: "hawa-w-full " }, /* @__PURE__ */ React96.createElement("div", { className: "hawa-sticky hawa-top-4 hawa-z-20" }, /* @__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,27 +10938,25 @@ 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-b hawa-border-t hawa-p-4 hawa-text-sm hawa-font-medium",
|
|
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-b hawa-border-t 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
10950
|
props.plans.map((plan, i) => /* @__PURE__ */ React96.createElement("div", { key: i, 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))))
|
|
10953
|
-
), uniqueFeatures.map((featureText, featureIndex) => {
|
|
10951
|
+
)), /* @__PURE__ */ React96.createElement(ScrollArea, { className: "hawa-h-[70dvh] hawa-rounded" }, uniqueFeatures.map((featureText, featureIndex) => {
|
|
10954
10952
|
var _a, _b;
|
|
10955
10953
|
return /* @__PURE__ */ React96.createElement(
|
|
10956
10954
|
"div",
|
|
10957
10955
|
{
|
|
10958
10956
|
key: featureIndex,
|
|
10959
|
-
className: "hawa-grid
|
|
10957
|
+
className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-border-b 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"
|
|
10960
10958
|
},
|
|
10961
|
-
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-
|
|
10959
|
+
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
|
|
10962
10960
|
(plan) => plan.features.some(
|
|
10963
10961
|
(feature) => feature.text === featureText && feature.hint
|
|
10964
10962
|
)
|
|
@@ -10994,7 +10992,7 @@ var ComparingPlans = (props) => {
|
|
|
10994
10992
|
const feature = plan.features.find(
|
|
10995
10993
|
(f) => f.text === featureText
|
|
10996
10994
|
);
|
|
10997
|
-
return /* @__PURE__ */ React96.createElement("div", { key: planIndex, className: "hawa-text-center" }, (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React96.createElement(CheckMark, { className: "
|
|
10995
|
+
return /* @__PURE__ */ React96.createElement("div", { key: planIndex, className: "hawa-text-center" }, (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React96.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React96.createElement(UncheckMark, { className: "hawa-text-foreground" }));
|
|
10998
10996
|
})
|
|
10999
10997
|
);
|
|
11000
10998
|
})));
|