@sikka/hawa 0.19.25-next → 0.19.27-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 +8 -3
- package/dist/index.js +6 -5
- package/dist/index.mjs +6 -5
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2830,6 +2830,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2830
2830
|
.hawa-tracking-widest {
|
|
2831
2831
|
letter-spacing: 0.1em;
|
|
2832
2832
|
}
|
|
2833
|
+
.hawa-text-\[\#000000\] {
|
|
2834
|
+
--tw-text-opacity: 1;
|
|
2835
|
+
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
2836
|
+
}
|
|
2833
2837
|
.hawa-text-\[\#666666\] {
|
|
2834
2838
|
--tw-text-opacity: 1;
|
|
2835
2839
|
color: rgb(102 102 102 / var(--tw-text-opacity));
|
|
@@ -3999,9 +4003,6 @@ body {
|
|
|
3999
4003
|
:is(.hawa-dark .dark\:hawa-bg-primary) {
|
|
4000
4004
|
background-color: hsl(var(--primary));
|
|
4001
4005
|
}
|
|
4002
|
-
:is(.hawa-dark .dark\:hawa-bg-primary\/5) {
|
|
4003
|
-
background-color: hsl(var(--primary) / 0.05);
|
|
4004
|
-
}
|
|
4005
4006
|
:is(.hawa-dark .dark\:hawa-bg-purple-400) {
|
|
4006
4007
|
--tw-bg-opacity: 1;
|
|
4007
4008
|
background-color: rgb(192 132 252 / var(--tw-bg-opacity));
|
|
@@ -4018,6 +4019,10 @@ body {
|
|
|
4018
4019
|
--tw-bg-opacity: 1;
|
|
4019
4020
|
background-color: rgb(250 204 21 / var(--tw-bg-opacity));
|
|
4020
4021
|
}
|
|
4022
|
+
:is(.hawa-dark .dark\:hawa-text-\[\#ffffff\]) {
|
|
4023
|
+
--tw-text-opacity: 1;
|
|
4024
|
+
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
4025
|
+
}
|
|
4021
4026
|
:is(.hawa-dark .dark\:hawa-text-black) {
|
|
4022
4027
|
--tw-text-opacity: 1;
|
|
4023
4028
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
package/dist/index.js
CHANGED
|
@@ -3615,7 +3615,7 @@ var Radio = ({
|
|
|
3615
3615
|
var _a, _b, _c;
|
|
3616
3616
|
const [selectedOption, setSelectedOption] = (0, import_react14.useState)(props.defaultValue);
|
|
3617
3617
|
let activeTabStyle = "hawa-inline-block hawa-py-2 hawa-px-4 hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary ";
|
|
3618
|
-
let inactiveTabStyle = "hawa-inline-block hawa-py-2 hawa-px-4 hawa-w-full hawa-transition-all hover:hawa-bg-primary/10
|
|
3618
|
+
let inactiveTabStyle = "hawa-inline-block hawa-py-2 hawa-px-4 hawa-w-full hawa-transition-all hover:hawa-bg-primary/10 hawa-bg-primary/5 dark:hover:hawa-text-white ";
|
|
3619
3619
|
let orientationStyle = {
|
|
3620
3620
|
horizontal: "hawa-flex hawa-flex-row",
|
|
3621
3621
|
vertical: "hawa-flex hawa-flex-col"
|
|
@@ -11159,12 +11159,13 @@ var ComparingPlans = (props) => {
|
|
|
11159
11159
|
{
|
|
11160
11160
|
className: cn(
|
|
11161
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-
|
|
11163
|
-
"
|
|
11162
|
+
"hawa-bg-primary/5"
|
|
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"
|
|
11164
11165
|
)
|
|
11165
11166
|
},
|
|
11166
11167
|
/* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-items-center" }),
|
|
11167
|
-
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
|
|
11168
|
+
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))))
|
|
11168
11169
|
), uniqueFeatures.map((featureText, featureIndex) => {
|
|
11169
11170
|
var _a, _b;
|
|
11170
11171
|
return /* @__PURE__ */ import_react70.default.createElement(
|
|
@@ -11209,7 +11210,7 @@ var ComparingPlans = (props) => {
|
|
|
11209
11210
|
const feature = plan.features.find(
|
|
11210
11211
|
(f) => f.text === featureText
|
|
11211
11212
|
);
|
|
11212
|
-
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: "dark:hawa-text-
|
|
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: "dark:hawa-text-[#ffffff] hawa-text-[#000000]" }) : /* @__PURE__ */ import_react70.default.createElement(UncheckMark, { className: "dark:hawa-text-[#ffffff] hawa-text-[#000000]" }));
|
|
11213
11214
|
})
|
|
11214
11215
|
);
|
|
11215
11216
|
})));
|
package/dist/index.mjs
CHANGED
|
@@ -3382,7 +3382,7 @@ var Radio = ({
|
|
|
3382
3382
|
var _a, _b, _c;
|
|
3383
3383
|
const [selectedOption, setSelectedOption] = useState6(props.defaultValue);
|
|
3384
3384
|
let activeTabStyle = "hawa-inline-block hawa-py-2 hawa-px-4 hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary ";
|
|
3385
|
-
let inactiveTabStyle = "hawa-inline-block hawa-py-2 hawa-px-4 hawa-w-full hawa-transition-all hover:hawa-bg-primary/10
|
|
3385
|
+
let inactiveTabStyle = "hawa-inline-block hawa-py-2 hawa-px-4 hawa-w-full hawa-transition-all hover:hawa-bg-primary/10 hawa-bg-primary/5 dark:hover:hawa-text-white ";
|
|
3386
3386
|
let orientationStyle = {
|
|
3387
3387
|
horizontal: "hawa-flex hawa-flex-row",
|
|
3388
3388
|
vertical: "hawa-flex hawa-flex-col"
|
|
@@ -10943,12 +10943,13 @@ var ComparingPlans = (props) => {
|
|
|
10943
10943
|
{
|
|
10944
10944
|
className: cn(
|
|
10945
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-
|
|
10947
|
-
"
|
|
10946
|
+
"hawa-bg-primary/5"
|
|
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"
|
|
10948
10949
|
)
|
|
10949
10950
|
},
|
|
10950
10951
|
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-items-center" }),
|
|
10951
|
-
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
|
|
10952
|
+
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))))
|
|
10952
10953
|
), uniqueFeatures.map((featureText, featureIndex) => {
|
|
10953
10954
|
var _a, _b;
|
|
10954
10955
|
return /* @__PURE__ */ React96.createElement(
|
|
@@ -10993,7 +10994,7 @@ var ComparingPlans = (props) => {
|
|
|
10993
10994
|
const feature = plan.features.find(
|
|
10994
10995
|
(f) => f.text === featureText
|
|
10995
10996
|
);
|
|
10996
|
-
return /* @__PURE__ */ React96.createElement("div", { key: planIndex, className: "hawa-text-center" }, (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React96.createElement(CheckMark, { className: "dark:hawa-text-
|
|
10997
|
+
return /* @__PURE__ */ React96.createElement("div", { key: planIndex, className: "hawa-text-center" }, (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React96.createElement(CheckMark, { className: "dark:hawa-text-[#ffffff] hawa-text-[#000000]" }) : /* @__PURE__ */ React96.createElement(UncheckMark, { className: "dark:hawa-text-[#ffffff] hawa-text-[#000000]" }));
|
|
10997
10998
|
})
|
|
10998
10999
|
);
|
|
10999
11000
|
})));
|