@sikka/hawa 0.43.5-next → 0.43.6-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/alert/index.d.mts +9 -1
- package/dist/alert/index.d.ts +9 -1
- package/dist/alert/index.js +40 -36
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +40 -36
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +11 -22
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +11 -22
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/backToTop/index.js +11 -22
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +11 -22
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +40 -36
- package/dist/blocks/auth/index.mjs +33 -18
- package/dist/blocks/feedback/index.js +11 -22
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.js +40 -36
- package/dist/blocks/index.mjs +2 -2
- package/dist/blocks/misc/index.js +11 -22
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +11 -22
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/button/index.d.mts +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.js +11 -22
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +11 -22
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js +12 -23
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs +12 -23
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/{chunk-RPJYSE6Y.mjs → chunk-3B7UZCET.mjs} +11 -22
- package/dist/{chunk-ZPNZUWM5.mjs → chunk-6LI35F6L.mjs} +11 -22
- package/dist/{chunk-QDZMNVKS.mjs → chunk-A6PONMZ6.mjs} +1 -1
- package/dist/{chunk-PORTGNAK.mjs → chunk-DYYINLRJ.mjs} +1 -1
- package/dist/{chunk-WJ6XCEUI.mjs → chunk-FIUKVRL5.mjs} +1 -1
- package/dist/{chunk-VWJIORNH.mjs → chunk-FUYMZP4J.mjs} +1 -1
- package/dist/{chunk-P7TMXOPP.mjs → chunk-JDCQLGWW.mjs} +1 -1
- package/dist/{chunk-QBPDB7E2.mjs → chunk-JKZQWCAQ.mjs} +1 -1
- package/dist/{chunk-3MJGVWY2.mjs → chunk-VVUNGE7V.mjs} +30 -15
- package/dist/{chunk-ZWQWYHT4.mjs → chunk-XC6FSDW7.mjs} +1 -1
- package/dist/codeBlock/index.js +11 -22
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +11 -22
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js +11 -22
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs +11 -22
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js +11 -22
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +11 -22
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/dataTable/index.js +11 -22
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +11 -22
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.d.mts +1 -1
- package/dist/datePicker/index.d.ts +1 -1
- package/dist/datePicker/index.js +12 -23
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs +12 -23
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +11 -22
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +11 -22
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +10 -2
- package/dist/elements/index.d.ts +10 -2
- package/dist/elements/index.js +40 -36
- package/dist/elements/index.mjs +3 -3
- package/dist/fileDropzone/index.js +40 -36
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +40 -36
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +40 -36
- package/dist/index.mjs +40 -36
- package/dist/input/index.js +11 -22
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +11 -22
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +11 -22
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +11 -22
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/layout/index.js +11 -22
- package/dist/layout/index.mjs +2 -2
- package/dist/passwordInput/index.js +11 -22
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +11 -22
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +11 -22
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +11 -22
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/pinInput/index.js +11 -22
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +11 -22
- package/dist/pinInput/index.mjs.map +1 -1
- package/dist/radio/index.js +11 -22
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +11 -22
- package/dist/radio/index.mjs.map +1 -1
- package/dist/select/index.js +11 -22
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +11 -22
- package/dist/select/index.mjs.map +1 -1
- package/dist/sortButton/index.js +11 -22
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +11 -22
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +1 -1
- package/dist/splitButton/index.d.ts +1 -1
- package/dist/splitButton/index.js +11 -22
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +11 -22
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/textarea/index.js +11 -22
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +11 -22
- package/dist/textarea/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -1,17 +1,17 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Input
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-JKZQWCAQ.mjs";
|
5
5
|
import {
|
6
6
|
StopPropagationWrapper
|
7
7
|
} from "../../chunk-47APBDKK.mjs";
|
8
8
|
import {
|
9
9
|
Select
|
10
|
-
} from "../../chunk-
|
10
|
+
} from "../../chunk-DYYINLRJ.mjs";
|
11
11
|
import {
|
12
12
|
EyeIcon,
|
13
13
|
HiddenEyeIcon
|
14
|
-
} from "../../chunk-
|
14
|
+
} from "../../chunk-JDCQLGWW.mjs";
|
15
15
|
import {
|
16
16
|
Button,
|
17
17
|
Card,
|
@@ -24,7 +24,7 @@ import {
|
|
24
24
|
Label,
|
25
25
|
Loading,
|
26
26
|
cn
|
27
|
-
} from "../../chunk-
|
27
|
+
} from "../../chunk-6LI35F6L.mjs";
|
28
28
|
|
29
29
|
// blocks/auth/AuthButtons.tsx
|
30
30
|
import React2 from "react";
|
@@ -663,7 +663,7 @@ var Alert = ({
|
|
663
663
|
severity = "none",
|
664
664
|
duration,
|
665
665
|
icon,
|
666
|
-
|
666
|
+
classNames,
|
667
667
|
...props
|
668
668
|
}) => {
|
669
669
|
const alertRef = useRef(null);
|
@@ -714,21 +714,25 @@ var Alert = ({
|
|
714
714
|
"hawa-relative hawa-mb-4 hawa-flex hawa-flex-col hawa-rounded hawa-p-4 hawa-text-sm hawa-transition-all",
|
715
715
|
styleVariant[severity],
|
716
716
|
closed ? "hawa-opacity-0" : "hawa-opacity-100",
|
717
|
-
|
717
|
+
classNames == null ? void 0 : classNames.root
|
718
718
|
)
|
719
719
|
},
|
720
720
|
/* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ React3.createElement(
|
721
721
|
"div",
|
722
722
|
{
|
723
|
-
className:
|
723
|
+
className: cn(
|
724
|
+
direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1",
|
725
|
+
classNames == null ? void 0 : classNames.icon
|
726
|
+
)
|
724
727
|
},
|
725
728
|
icon
|
726
|
-
), /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React3.createElement(
|
729
|
+
), /* @__PURE__ */ React3.createElement("div", { className: cn("hawa-flex hawa-flex-col", classNames == null ? void 0 : classNames.content) }, /* @__PURE__ */ React3.createElement(
|
727
730
|
"span",
|
728
731
|
{
|
729
732
|
className: cn(
|
730
733
|
"hawa-font-bold",
|
731
|
-
direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8"
|
734
|
+
direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8",
|
735
|
+
classNames == null ? void 0 : classNames.title
|
732
736
|
)
|
733
737
|
},
|
734
738
|
props.title
|
@@ -737,19 +741,29 @@ var Alert = ({
|
|
737
741
|
{
|
738
742
|
className: cn(
|
739
743
|
direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8",
|
740
|
-
props.persistent ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]"
|
744
|
+
props.persistent ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]",
|
745
|
+
classNames == null ? void 0 : classNames.text
|
741
746
|
)
|
742
747
|
},
|
743
748
|
props.text
|
744
|
-
), props.actions && /* @__PURE__ */ React3.createElement(
|
745
|
-
|
749
|
+
), props.actions && /* @__PURE__ */ React3.createElement(
|
750
|
+
"div",
|
746
751
|
{
|
747
|
-
|
748
|
-
|
749
|
-
|
752
|
+
className: cn(
|
753
|
+
"hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2",
|
754
|
+
classNames == null ? void 0 : classNames.actions
|
755
|
+
)
|
750
756
|
},
|
751
|
-
act.
|
752
|
-
|
757
|
+
props.actions.map((act, index) => /* @__PURE__ */ React3.createElement(
|
758
|
+
Button,
|
759
|
+
{
|
760
|
+
key: index,
|
761
|
+
variant: act.variant,
|
762
|
+
onClick: act.onClick()
|
763
|
+
},
|
764
|
+
act.label
|
765
|
+
))
|
766
|
+
))),
|
753
767
|
!props.persistent && /* @__PURE__ */ React3.createElement(
|
754
768
|
"button",
|
755
769
|
{
|
@@ -759,7 +773,8 @@ var Alert = ({
|
|
759
773
|
className: cn(
|
760
774
|
"hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-9 hawa-w-9 hawa-items-center hawa-justify-center hawa-rounded-inner hawa-p-1.5 hawa-transition-all hover:hawa-text-gray-900",
|
761
775
|
closeButtonStyle[severity],
|
762
|
-
direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
|
776
|
+
direction === "rtl" ? "hawa-left-2" : "hawa-right-2",
|
777
|
+
classNames == null ? void 0 : classNames.closeButton
|
763
778
|
),
|
764
779
|
onClick: () => {
|
765
780
|
if (props.onAlertClosed) {
|
@@ -60,28 +60,17 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
60
60
|
// elements/helperText/HelperText.tsx
|
61
61
|
var import_react = __toESM(require("react"));
|
62
62
|
var HelperText = ({
|
63
|
-
helperText
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
"p",
|
75
|
-
{
|
76
|
-
className: cn(
|
77
|
-
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all",
|
78
|
-
helperText ? "hawa-opacity-100" : "hawa-h-0 hawa-opacity-0",
|
79
|
-
sizes[size]
|
80
|
-
)
|
81
|
-
},
|
82
|
-
helperText
|
83
|
-
);
|
84
|
-
};
|
63
|
+
helperText
|
64
|
+
}) => /* @__PURE__ */ import_react.default.createElement(
|
65
|
+
"p",
|
66
|
+
{
|
67
|
+
className: cn(
|
68
|
+
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all hawa-text-xs",
|
69
|
+
helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-h-0 hawa-opacity-0"
|
70
|
+
)
|
71
|
+
},
|
72
|
+
helperText
|
73
|
+
);
|
85
74
|
|
86
75
|
// elements/label/Label.tsx
|
87
76
|
var React3 = __toESM(require("react"));
|
@@ -1,26 +1,26 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Textarea
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-FIUKVRL5.mjs";
|
5
5
|
import {
|
6
6
|
Select
|
7
|
-
} from "../../chunk-
|
7
|
+
} from "../../chunk-DYYINLRJ.mjs";
|
8
8
|
import {
|
9
9
|
Popover,
|
10
10
|
Radio
|
11
|
-
} from "../../chunk-
|
11
|
+
} from "../../chunk-A6PONMZ6.mjs";
|
12
12
|
import {
|
13
13
|
BadEmoji,
|
14
14
|
GoodEmoji,
|
15
15
|
VeryBadEmoji,
|
16
16
|
VeryGoodEmoji
|
17
|
-
} from "../../chunk-
|
17
|
+
} from "../../chunk-JDCQLGWW.mjs";
|
18
18
|
import {
|
19
19
|
Button,
|
20
20
|
Card,
|
21
21
|
CardContent,
|
22
22
|
cn
|
23
|
-
} from "../../chunk-
|
23
|
+
} from "../../chunk-6LI35F6L.mjs";
|
24
24
|
|
25
25
|
// blocks/feedback/UserReferralSource.tsx
|
26
26
|
import React, { useRef, useState } from "react";
|
package/dist/blocks/index.js
CHANGED
@@ -82,28 +82,17 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
82
82
|
// elements/helperText/HelperText.tsx
|
83
83
|
var import_react = __toESM(require("react"));
|
84
84
|
var HelperText = ({
|
85
|
-
helperText
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
"p",
|
97
|
-
{
|
98
|
-
className: cn(
|
99
|
-
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all",
|
100
|
-
helperText ? "hawa-opacity-100" : "hawa-h-0 hawa-opacity-0",
|
101
|
-
sizes[size]
|
102
|
-
)
|
103
|
-
},
|
104
|
-
helperText
|
105
|
-
);
|
106
|
-
};
|
85
|
+
helperText
|
86
|
+
}) => /* @__PURE__ */ import_react.default.createElement(
|
87
|
+
"p",
|
88
|
+
{
|
89
|
+
className: cn(
|
90
|
+
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all hawa-text-xs",
|
91
|
+
helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-h-0 hawa-opacity-0"
|
92
|
+
)
|
93
|
+
},
|
94
|
+
helperText
|
95
|
+
);
|
107
96
|
|
108
97
|
// elements/label/Label.tsx
|
109
98
|
var React3 = __toESM(require("react"));
|
@@ -1163,7 +1152,7 @@ var Alert = ({
|
|
1163
1152
|
severity = "none",
|
1164
1153
|
duration,
|
1165
1154
|
icon,
|
1166
|
-
|
1155
|
+
classNames,
|
1167
1156
|
...props
|
1168
1157
|
}) => {
|
1169
1158
|
const alertRef = (0, import_react6.useRef)(null);
|
@@ -1214,21 +1203,25 @@ var Alert = ({
|
|
1214
1203
|
"hawa-relative hawa-mb-4 hawa-flex hawa-flex-col hawa-rounded hawa-p-4 hawa-text-sm hawa-transition-all",
|
1215
1204
|
styleVariant[severity],
|
1216
1205
|
closed ? "hawa-opacity-0" : "hawa-opacity-100",
|
1217
|
-
|
1206
|
+
classNames == null ? void 0 : classNames.root
|
1218
1207
|
)
|
1219
1208
|
},
|
1220
1209
|
/* @__PURE__ */ import_react6.default.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ import_react6.default.createElement(
|
1221
1210
|
"div",
|
1222
1211
|
{
|
1223
|
-
className:
|
1212
|
+
className: cn(
|
1213
|
+
direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1",
|
1214
|
+
classNames == null ? void 0 : classNames.icon
|
1215
|
+
)
|
1224
1216
|
},
|
1225
1217
|
icon
|
1226
|
-
), /* @__PURE__ */ import_react6.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react6.default.createElement(
|
1218
|
+
), /* @__PURE__ */ import_react6.default.createElement("div", { className: cn("hawa-flex hawa-flex-col", classNames == null ? void 0 : classNames.content) }, /* @__PURE__ */ import_react6.default.createElement(
|
1227
1219
|
"span",
|
1228
1220
|
{
|
1229
1221
|
className: cn(
|
1230
1222
|
"hawa-font-bold",
|
1231
|
-
direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8"
|
1223
|
+
direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8",
|
1224
|
+
classNames == null ? void 0 : classNames.title
|
1232
1225
|
)
|
1233
1226
|
},
|
1234
1227
|
props.title
|
@@ -1237,19 +1230,29 @@ var Alert = ({
|
|
1237
1230
|
{
|
1238
1231
|
className: cn(
|
1239
1232
|
direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8",
|
1240
|
-
props.persistent ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]"
|
1233
|
+
props.persistent ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]",
|
1234
|
+
classNames == null ? void 0 : classNames.text
|
1241
1235
|
)
|
1242
1236
|
},
|
1243
1237
|
props.text
|
1244
|
-
), props.actions && /* @__PURE__ */ import_react6.default.createElement(
|
1245
|
-
|
1238
|
+
), props.actions && /* @__PURE__ */ import_react6.default.createElement(
|
1239
|
+
"div",
|
1246
1240
|
{
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1241
|
+
className: cn(
|
1242
|
+
"hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2",
|
1243
|
+
classNames == null ? void 0 : classNames.actions
|
1244
|
+
)
|
1250
1245
|
},
|
1251
|
-
act.
|
1252
|
-
|
1246
|
+
props.actions.map((act, index) => /* @__PURE__ */ import_react6.default.createElement(
|
1247
|
+
Button,
|
1248
|
+
{
|
1249
|
+
key: index,
|
1250
|
+
variant: act.variant,
|
1251
|
+
onClick: act.onClick()
|
1252
|
+
},
|
1253
|
+
act.label
|
1254
|
+
))
|
1255
|
+
))),
|
1253
1256
|
!props.persistent && /* @__PURE__ */ import_react6.default.createElement(
|
1254
1257
|
"button",
|
1255
1258
|
{
|
@@ -1259,7 +1262,8 @@ var Alert = ({
|
|
1259
1262
|
className: cn(
|
1260
1263
|
"hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-9 hawa-w-9 hawa-items-center hawa-justify-center hawa-rounded-inner hawa-p-1.5 hawa-transition-all hover:hawa-text-gray-900",
|
1261
1264
|
closeButtonStyle[severity],
|
1262
|
-
direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
|
1265
|
+
direction === "rtl" ? "hawa-left-2" : "hawa-right-2",
|
1266
|
+
classNames == null ? void 0 : classNames.closeButton
|
1263
1267
|
),
|
1264
1268
|
onClick: () => {
|
1265
1269
|
if (props.onAlertClosed) {
|
package/dist/blocks/index.mjs
CHANGED
@@ -17,7 +17,7 @@ import {
|
|
17
17
|
TabsList,
|
18
18
|
TabsTrigger,
|
19
19
|
Textarea
|
20
|
-
} from "../chunk-
|
20
|
+
} from "../chunk-VVUNGE7V.mjs";
|
21
21
|
import "../chunk-WL7C2A5D.mjs";
|
22
22
|
import {
|
23
23
|
BadEmoji,
|
@@ -42,7 +42,7 @@ import {
|
|
42
42
|
VeryBadEmoji,
|
43
43
|
VeryGoodEmoji,
|
44
44
|
cn
|
45
|
-
} from "../chunk-
|
45
|
+
} from "../chunk-3B7UZCET.mjs";
|
46
46
|
import "../chunk-2LUXOXAL.mjs";
|
47
47
|
|
48
48
|
// blocks/auth/AuthButtons.tsx
|
@@ -555,28 +555,17 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
555
555
|
// elements/helperText/HelperText.tsx
|
556
556
|
var import_react22 = __toESM(require("react"));
|
557
557
|
var HelperText = ({
|
558
|
-
helperText
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
"p",
|
570
|
-
{
|
571
|
-
className: cn(
|
572
|
-
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all",
|
573
|
-
helperText ? "hawa-opacity-100" : "hawa-h-0 hawa-opacity-0",
|
574
|
-
sizes[size]
|
575
|
-
)
|
576
|
-
},
|
577
|
-
helperText
|
578
|
-
);
|
579
|
-
};
|
558
|
+
helperText
|
559
|
+
}) => /* @__PURE__ */ import_react22.default.createElement(
|
560
|
+
"p",
|
561
|
+
{
|
562
|
+
className: cn(
|
563
|
+
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all hawa-text-xs",
|
564
|
+
helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-h-0 hawa-opacity-0"
|
565
|
+
)
|
566
|
+
},
|
567
|
+
helperText
|
568
|
+
);
|
580
569
|
|
581
570
|
// elements/label/Label.tsx
|
582
571
|
var React15 = __toESM(require("react"));
|
@@ -1,17 +1,17 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Input
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-JKZQWCAQ.mjs";
|
5
5
|
import {
|
6
6
|
Chip,
|
7
7
|
ScrollArea
|
8
|
-
} from "../../chunk-
|
8
|
+
} from "../../chunk-FUYMZP4J.mjs";
|
9
9
|
import {
|
10
10
|
Textarea
|
11
|
-
} from "../../chunk-
|
11
|
+
} from "../../chunk-FIUKVRL5.mjs";
|
12
12
|
import {
|
13
13
|
Select
|
14
|
-
} from "../../chunk-
|
14
|
+
} from "../../chunk-DYYINLRJ.mjs";
|
15
15
|
import {
|
16
16
|
Button,
|
17
17
|
Card,
|
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
CardHeader,
|
22
22
|
CardTitle,
|
23
23
|
cn
|
24
|
-
} from "../../chunk-
|
24
|
+
} from "../../chunk-6LI35F6L.mjs";
|
25
25
|
|
26
26
|
// blocks/misc/LegalTexts.tsx
|
27
27
|
import React10 from "react";
|
@@ -63,28 +63,17 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
63
63
|
// elements/helperText/HelperText.tsx
|
64
64
|
var import_react3 = __toESM(require("react"));
|
65
65
|
var HelperText = ({
|
66
|
-
helperText
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
"p",
|
78
|
-
{
|
79
|
-
className: cn(
|
80
|
-
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all",
|
81
|
-
helperText ? "hawa-opacity-100" : "hawa-h-0 hawa-opacity-0",
|
82
|
-
sizes[size]
|
83
|
-
)
|
84
|
-
},
|
85
|
-
helperText
|
86
|
-
);
|
87
|
-
};
|
66
|
+
helperText
|
67
|
+
}) => /* @__PURE__ */ import_react3.default.createElement(
|
68
|
+
"p",
|
69
|
+
{
|
70
|
+
className: cn(
|
71
|
+
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all hawa-text-xs",
|
72
|
+
helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-h-0 hawa-opacity-0"
|
73
|
+
)
|
74
|
+
},
|
75
|
+
helperText
|
76
|
+
);
|
88
77
|
|
89
78
|
// elements/label/Label.tsx
|
90
79
|
var React5 = __toESM(require("react"));
|
@@ -2,22 +2,22 @@
|
|
2
2
|
import {
|
3
3
|
Chip,
|
4
4
|
ScrollArea
|
5
|
-
} from "../../chunk-
|
5
|
+
} from "../../chunk-FUYMZP4J.mjs";
|
6
6
|
import "../../chunk-47APBDKK.mjs";
|
7
7
|
import {
|
8
8
|
Radio
|
9
|
-
} from "../../chunk-
|
9
|
+
} from "../../chunk-A6PONMZ6.mjs";
|
10
10
|
import {
|
11
11
|
CheckMark,
|
12
12
|
UncheckMark
|
13
|
-
} from "../../chunk-
|
13
|
+
} from "../../chunk-JDCQLGWW.mjs";
|
14
14
|
import {
|
15
15
|
Button,
|
16
16
|
Card,
|
17
17
|
Skeleton,
|
18
18
|
Tooltip,
|
19
19
|
cn
|
20
|
-
} from "../../chunk-
|
20
|
+
} from "../../chunk-6LI35F6L.mjs";
|
21
21
|
|
22
22
|
// blocks/pricing/PricingPlans.tsx
|
23
23
|
import React8 from "react";
|
package/dist/button/index.d.mts
CHANGED
@@ -13,7 +13,7 @@ type LabelProps = {
|
|
13
13
|
|
14
14
|
declare const buttonVariants: (props?: ({
|
15
15
|
variant?: "link" | "default" | "combobox" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "neoBrutalism" | null | undefined;
|
16
|
-
size?: "
|
16
|
+
size?: "default" | "icon" | "xs" | "sm" | "lg" | "xl" | "heightless" | "smallIcon" | null | undefined;
|
17
17
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
18
18
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
19
19
|
asChild?: boolean;
|
package/dist/button/index.d.ts
CHANGED
@@ -13,7 +13,7 @@ type LabelProps = {
|
|
13
13
|
|
14
14
|
declare const buttonVariants: (props?: ({
|
15
15
|
variant?: "link" | "default" | "combobox" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "neoBrutalism" | null | undefined;
|
16
|
-
size?: "
|
16
|
+
size?: "default" | "icon" | "xs" | "sm" | "lg" | "xl" | "heightless" | "smallIcon" | null | undefined;
|
17
17
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
18
18
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
19
19
|
asChild?: boolean;
|
package/dist/button/index.js
CHANGED
@@ -52,28 +52,17 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
52
52
|
// elements/helperText/HelperText.tsx
|
53
53
|
var import_react = __toESM(require("react"));
|
54
54
|
var HelperText = ({
|
55
|
-
helperText
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
"p",
|
67
|
-
{
|
68
|
-
className: cn(
|
69
|
-
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all",
|
70
|
-
helperText ? "hawa-opacity-100" : "hawa-h-0 hawa-opacity-0",
|
71
|
-
sizes[size]
|
72
|
-
)
|
73
|
-
},
|
74
|
-
helperText
|
75
|
-
);
|
76
|
-
};
|
55
|
+
helperText
|
56
|
+
}) => /* @__PURE__ */ import_react.default.createElement(
|
57
|
+
"p",
|
58
|
+
{
|
59
|
+
className: cn(
|
60
|
+
"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all hawa-text-xs",
|
61
|
+
helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-h-0 hawa-opacity-0"
|
62
|
+
)
|
63
|
+
},
|
64
|
+
helperText
|
65
|
+
);
|
77
66
|
|
78
67
|
// elements/label/Label.tsx
|
79
68
|
var React3 = __toESM(require("react"));
|