@sikka/hawa 0.11.19-next → 0.11.20-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 +17 -16
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2439,14 +2439,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2439
2439
|
--tw-text-opacity: 1;
|
|
2440
2440
|
color: rgb(115 115 115 / var(--tw-text-opacity));
|
|
2441
2441
|
}
|
|
2442
|
-
.hawa-text-neutral-700 {
|
|
2443
|
-
--tw-text-opacity: 1;
|
|
2444
|
-
color: rgb(64 64 64 / var(--tw-text-opacity));
|
|
2445
|
-
}
|
|
2446
|
-
.hawa-text-neutral-900 {
|
|
2447
|
-
--tw-text-opacity: 1;
|
|
2448
|
-
color: rgb(23 23 23 / var(--tw-text-opacity));
|
|
2449
|
-
}
|
|
2450
2442
|
.hawa-text-orange-500 {
|
|
2451
2443
|
--tw-text-opacity: 1;
|
|
2452
2444
|
color: rgb(249 115 22 / var(--tw-text-opacity));
|
|
@@ -2460,9 +2452,15 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2460
2452
|
.hawa-text-primary-foreground {
|
|
2461
2453
|
color: hsl(var(--primary-foreground));
|
|
2462
2454
|
}
|
|
2455
|
+
.hawa-text-primary\/60 {
|
|
2456
|
+
color: hsl(var(--primary) / 0.6);
|
|
2457
|
+
}
|
|
2463
2458
|
.hawa-text-primary\/70 {
|
|
2464
2459
|
color: hsl(var(--primary) / 0.7);
|
|
2465
2460
|
}
|
|
2461
|
+
.hawa-text-primary\/90 {
|
|
2462
|
+
color: hsl(var(--primary) / 0.9);
|
|
2463
|
+
}
|
|
2466
2464
|
.hawa-text-purple-500 {
|
|
2467
2465
|
--tw-text-opacity: 1;
|
|
2468
2466
|
color: rgb(168 85 247 / var(--tw-text-opacity));
|
|
@@ -3089,18 +3087,25 @@ body {
|
|
|
3089
3087
|
.hawa-group.destructive .group-\[\.destructive\]\:focus\:hawa-ring-offset-red-600:focus {
|
|
3090
3088
|
--tw-ring-offset-color: #dc2626;
|
|
3091
3089
|
}
|
|
3092
|
-
.hawa-peer:checked ~ .peer-checked\:hawa-border-blue-500 {
|
|
3093
|
-
--tw-border-opacity: 1;
|
|
3094
|
-
border-color: rgb(59 130 246 / var(--tw-border-opacity));
|
|
3095
|
-
}
|
|
3096
3090
|
.hawa-peer:checked ~ .peer-checked\:hawa-border-blue-600 {
|
|
3097
3091
|
--tw-border-opacity: 1;
|
|
3098
3092
|
border-color: rgb(37 99 235 / var(--tw-border-opacity));
|
|
3099
3093
|
}
|
|
3094
|
+
.hawa-peer:checked ~ .peer-checked\:hawa-border-primary {
|
|
3095
|
+
border-color: hsl(var(--primary));
|
|
3096
|
+
}
|
|
3100
3097
|
.hawa-peer:checked ~ .peer-checked\:hawa-text-blue-600 {
|
|
3101
3098
|
--tw-text-opacity: 1;
|
|
3102
3099
|
color: rgb(37 99 235 / var(--tw-text-opacity));
|
|
3103
3100
|
}
|
|
3101
|
+
.hawa-peer:checked ~ .peer-checked\:hawa-ring-4 {
|
|
3102
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
3103
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
3104
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
3105
|
+
}
|
|
3106
|
+
.hawa-peer:checked ~ .peer-checked\:hawa-ring-primary\/20 {
|
|
3107
|
+
--tw-ring-color: hsl(var(--primary) / 0.2);
|
|
3108
|
+
}
|
|
3104
3109
|
.hawa-peer:disabled ~ .peer-disabled\:hawa-cursor-not-allowed {
|
|
3105
3110
|
cursor: not-allowed;
|
|
3106
3111
|
}
|
|
@@ -3466,10 +3471,6 @@ body {
|
|
|
3466
3471
|
--tw-text-opacity: 1;
|
|
3467
3472
|
color: rgb(30 64 175 / var(--tw-text-opacity));
|
|
3468
3473
|
}
|
|
3469
|
-
:is([data-mode="dark"] .dark\:hawa-text-gray-100) {
|
|
3470
|
-
--tw-text-opacity: 1;
|
|
3471
|
-
color: rgb(243 244 246 / var(--tw-text-opacity));
|
|
3472
|
-
}
|
|
3473
3474
|
:is([data-mode="dark"] .dark\:hawa-text-gray-300) {
|
|
3474
3475
|
--tw-text-opacity: 1;
|
|
3475
3476
|
color: rgb(209 213 219 / var(--tw-text-opacity));
|
package/dist/index.js
CHANGED
|
@@ -8798,7 +8798,7 @@ var HorizontalPricing = function(props) {
|
|
|
8798
8798
|
id: d.title,
|
|
8799
8799
|
className: "hawa-peer hawa-appearance-none"
|
|
8800
8800
|
}), /* @__PURE__ */ import_react58.default.createElement("div", {
|
|
8801
|
-
className: (0, import_clsx13.default)(selectedCard === d.title ? "peer-checked:hawa-border-
|
|
8801
|
+
className: (0, import_clsx13.default)(selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-primary/20 peer-checked:hawa-ring-4 " : "", "hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden")
|
|
8802
8802
|
}, /* @__PURE__ */ import_react58.default.createElement("div", {
|
|
8803
8803
|
className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4"
|
|
8804
8804
|
}, /* @__PURE__ */ import_react58.default.createElement(CheckIcons, null), /* @__PURE__ */ import_react58.default.createElement(CardText, {
|
|
@@ -8835,14 +8835,14 @@ var CardText = function(props) {
|
|
|
8835
8835
|
return /* @__PURE__ */ import_react58.default.createElement("div", {
|
|
8836
8836
|
className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start "
|
|
8837
8837
|
}, /* @__PURE__ */ import_react58.default.createElement("h2", {
|
|
8838
|
-
className: "hawa-font-medium hawa-text-
|
|
8838
|
+
className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl"
|
|
8839
8839
|
}, props.title), /* @__PURE__ */ import_react58.default.createElement("p", {
|
|
8840
|
-
className: "hawa-text-sm hawa-text-
|
|
8840
|
+
className: "hawa-text-sm hawa-text-primary/60"
|
|
8841
8841
|
}, props.subtitle, " "));
|
|
8842
8842
|
};
|
|
8843
8843
|
var CardPrice = function(props) {
|
|
8844
8844
|
return /* @__PURE__ */ import_react58.default.createElement("h2", {
|
|
8845
|
-
className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-
|
|
8845
|
+
className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl"
|
|
8846
8846
|
}, props.amount, /* @__PURE__ */ import_react58.default.createElement("span", {
|
|
8847
8847
|
className: "hawa-text-base hawa-font-medium hawa-text-neutral-400"
|
|
8848
8848
|
}, props.cycle));
|
package/dist/index.mjs
CHANGED
|
@@ -8701,7 +8701,7 @@ var HorizontalPricing = (props) => {
|
|
|
8701
8701
|
"div",
|
|
8702
8702
|
{
|
|
8703
8703
|
className: clsx13(
|
|
8704
|
-
selectedCard === d.title ? "peer-checked:hawa-border-
|
|
8704
|
+
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-primary/20 peer-checked:hawa-ring-4 " : "",
|
|
8705
8705
|
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
|
|
8706
8706
|
)
|
|
8707
8707
|
},
|
|
@@ -8749,8 +8749,8 @@ var CheckIcons = () => /* @__PURE__ */ React82.createElement(React82.Fragment, n
|
|
|
8749
8749
|
}
|
|
8750
8750
|
)
|
|
8751
8751
|
));
|
|
8752
|
-
var CardText = (props) => /* @__PURE__ */ React82.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React82.createElement("h2", { className: "hawa-font-medium hawa-text-
|
|
8753
|
-
var CardPrice = (props) => /* @__PURE__ */ React82.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-
|
|
8752
|
+
var CardText = (props) => /* @__PURE__ */ React82.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React82.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React82.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
|
|
8753
|
+
var CardPrice = (props) => /* @__PURE__ */ React82.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React82.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
|
|
8754
8754
|
|
|
8755
8755
|
// components/blocks/Usage.tsx
|
|
8756
8756
|
import React83 from "react";
|