@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.
Files changed (127) hide show
  1. package/dist/alert/index.d.mts +9 -1
  2. package/dist/alert/index.d.ts +9 -1
  3. package/dist/alert/index.js +40 -36
  4. package/dist/alert/index.js.map +1 -1
  5. package/dist/alert/index.mjs +40 -36
  6. package/dist/alert/index.mjs.map +1 -1
  7. package/dist/appLayout/index.js +11 -22
  8. package/dist/appLayout/index.js.map +1 -1
  9. package/dist/appLayout/index.mjs +11 -22
  10. package/dist/appLayout/index.mjs.map +1 -1
  11. package/dist/backToTop/index.js +11 -22
  12. package/dist/backToTop/index.js.map +1 -1
  13. package/dist/backToTop/index.mjs +11 -22
  14. package/dist/backToTop/index.mjs.map +1 -1
  15. package/dist/blocks/auth/index.js +40 -36
  16. package/dist/blocks/auth/index.mjs +33 -18
  17. package/dist/blocks/feedback/index.js +11 -22
  18. package/dist/blocks/feedback/index.mjs +5 -5
  19. package/dist/blocks/index.js +40 -36
  20. package/dist/blocks/index.mjs +2 -2
  21. package/dist/blocks/misc/index.js +11 -22
  22. package/dist/blocks/misc/index.mjs +5 -5
  23. package/dist/blocks/pricing/index.js +11 -22
  24. package/dist/blocks/pricing/index.mjs +4 -4
  25. package/dist/button/index.d.mts +1 -1
  26. package/dist/button/index.d.ts +1 -1
  27. package/dist/button/index.js +11 -22
  28. package/dist/button/index.js.map +1 -1
  29. package/dist/button/index.mjs +11 -22
  30. package/dist/button/index.mjs.map +1 -1
  31. package/dist/calendar/index.js +12 -23
  32. package/dist/calendar/index.js.map +1 -1
  33. package/dist/calendar/index.mjs +12 -23
  34. package/dist/calendar/index.mjs.map +1 -1
  35. package/dist/{chunk-RPJYSE6Y.mjs → chunk-3B7UZCET.mjs} +11 -22
  36. package/dist/{chunk-ZPNZUWM5.mjs → chunk-6LI35F6L.mjs} +11 -22
  37. package/dist/{chunk-QDZMNVKS.mjs → chunk-A6PONMZ6.mjs} +1 -1
  38. package/dist/{chunk-PORTGNAK.mjs → chunk-DYYINLRJ.mjs} +1 -1
  39. package/dist/{chunk-WJ6XCEUI.mjs → chunk-FIUKVRL5.mjs} +1 -1
  40. package/dist/{chunk-VWJIORNH.mjs → chunk-FUYMZP4J.mjs} +1 -1
  41. package/dist/{chunk-P7TMXOPP.mjs → chunk-JDCQLGWW.mjs} +1 -1
  42. package/dist/{chunk-QBPDB7E2.mjs → chunk-JKZQWCAQ.mjs} +1 -1
  43. package/dist/{chunk-3MJGVWY2.mjs → chunk-VVUNGE7V.mjs} +30 -15
  44. package/dist/{chunk-ZWQWYHT4.mjs → chunk-XC6FSDW7.mjs} +1 -1
  45. package/dist/codeBlock/index.js +11 -22
  46. package/dist/codeBlock/index.js.map +1 -1
  47. package/dist/codeBlock/index.mjs +11 -22
  48. package/dist/codeBlock/index.mjs.map +1 -1
  49. package/dist/colorPicker/index.js +11 -22
  50. package/dist/colorPicker/index.js.map +1 -1
  51. package/dist/colorPicker/index.mjs +11 -22
  52. package/dist/colorPicker/index.mjs.map +1 -1
  53. package/dist/combobox/index.js +11 -22
  54. package/dist/combobox/index.js.map +1 -1
  55. package/dist/combobox/index.mjs +11 -22
  56. package/dist/combobox/index.mjs.map +1 -1
  57. package/dist/dataTable/index.js +11 -22
  58. package/dist/dataTable/index.js.map +1 -1
  59. package/dist/dataTable/index.mjs +11 -22
  60. package/dist/dataTable/index.mjs.map +1 -1
  61. package/dist/datePicker/index.d.mts +1 -1
  62. package/dist/datePicker/index.d.ts +1 -1
  63. package/dist/datePicker/index.js +12 -23
  64. package/dist/datePicker/index.js.map +1 -1
  65. package/dist/datePicker/index.mjs +12 -23
  66. package/dist/datePicker/index.mjs.map +1 -1
  67. package/dist/docsLayout/index.js +11 -22
  68. package/dist/docsLayout/index.js.map +1 -1
  69. package/dist/docsLayout/index.mjs +11 -22
  70. package/dist/docsLayout/index.mjs.map +1 -1
  71. package/dist/elements/index.d.mts +10 -2
  72. package/dist/elements/index.d.ts +10 -2
  73. package/dist/elements/index.js +40 -36
  74. package/dist/elements/index.mjs +3 -3
  75. package/dist/fileDropzone/index.js +40 -36
  76. package/dist/fileDropzone/index.js.map +1 -1
  77. package/dist/fileDropzone/index.mjs +40 -36
  78. package/dist/fileDropzone/index.mjs.map +1 -1
  79. package/dist/index.d.mts +9 -1
  80. package/dist/index.d.ts +9 -1
  81. package/dist/index.js +40 -36
  82. package/dist/index.mjs +40 -36
  83. package/dist/input/index.js +11 -22
  84. package/dist/input/index.js.map +1 -1
  85. package/dist/input/index.mjs +11 -22
  86. package/dist/input/index.mjs.map +1 -1
  87. package/dist/interfaceSettings/index.js +11 -22
  88. package/dist/interfaceSettings/index.js.map +1 -1
  89. package/dist/interfaceSettings/index.mjs +11 -22
  90. package/dist/interfaceSettings/index.mjs.map +1 -1
  91. package/dist/layout/index.js +11 -22
  92. package/dist/layout/index.mjs +2 -2
  93. package/dist/passwordInput/index.js +11 -22
  94. package/dist/passwordInput/index.js.map +1 -1
  95. package/dist/passwordInput/index.mjs +11 -22
  96. package/dist/passwordInput/index.mjs.map +1 -1
  97. package/dist/phoneInput/index.js +11 -22
  98. package/dist/phoneInput/index.js.map +1 -1
  99. package/dist/phoneInput/index.mjs +11 -22
  100. package/dist/phoneInput/index.mjs.map +1 -1
  101. package/dist/pinInput/index.js +11 -22
  102. package/dist/pinInput/index.js.map +1 -1
  103. package/dist/pinInput/index.mjs +11 -22
  104. package/dist/pinInput/index.mjs.map +1 -1
  105. package/dist/radio/index.js +11 -22
  106. package/dist/radio/index.js.map +1 -1
  107. package/dist/radio/index.mjs +11 -22
  108. package/dist/radio/index.mjs.map +1 -1
  109. package/dist/select/index.js +11 -22
  110. package/dist/select/index.js.map +1 -1
  111. package/dist/select/index.mjs +11 -22
  112. package/dist/select/index.mjs.map +1 -1
  113. package/dist/sortButton/index.js +11 -22
  114. package/dist/sortButton/index.js.map +1 -1
  115. package/dist/sortButton/index.mjs +11 -22
  116. package/dist/sortButton/index.mjs.map +1 -1
  117. package/dist/splitButton/index.d.mts +1 -1
  118. package/dist/splitButton/index.d.ts +1 -1
  119. package/dist/splitButton/index.js +11 -22
  120. package/dist/splitButton/index.js.map +1 -1
  121. package/dist/splitButton/index.mjs +11 -22
  122. package/dist/splitButton/index.mjs.map +1 -1
  123. package/dist/textarea/index.js +11 -22
  124. package/dist/textarea/index.js.map +1 -1
  125. package/dist/textarea/index.mjs +11 -22
  126. package/dist/textarea/index.mjs.map +1 -1
  127. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
  import {
3
3
  Input
4
- } from "../../chunk-QBPDB7E2.mjs";
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-PORTGNAK.mjs";
10
+ } from "../../chunk-DYYINLRJ.mjs";
11
11
  import {
12
12
  EyeIcon,
13
13
  HiddenEyeIcon
14
- } from "../../chunk-P7TMXOPP.mjs";
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-ZPNZUWM5.mjs";
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
- className,
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
- className
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: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
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("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ React3.createElement(
745
- Button,
749
+ ), props.actions && /* @__PURE__ */ React3.createElement(
750
+ "div",
746
751
  {
747
- key: index,
748
- variant: act.variant,
749
- onClick: act.onClick()
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.label
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
- size = "xs"
65
- }) => {
66
- let sizes = {
67
- xs: "hawa-text-xs hawa-h-4",
68
- sm: "hawa-text-sm",
69
- md: "hawa-text-md",
70
- lg: "hawa-text-lg",
71
- xl: "hawa-text-xl"
72
- };
73
- return /* @__PURE__ */ import_react.default.createElement(
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-WJ6XCEUI.mjs";
4
+ } from "../../chunk-FIUKVRL5.mjs";
5
5
  import {
6
6
  Select
7
- } from "../../chunk-PORTGNAK.mjs";
7
+ } from "../../chunk-DYYINLRJ.mjs";
8
8
  import {
9
9
  Popover,
10
10
  Radio
11
- } from "../../chunk-QDZMNVKS.mjs";
11
+ } from "../../chunk-A6PONMZ6.mjs";
12
12
  import {
13
13
  BadEmoji,
14
14
  GoodEmoji,
15
15
  VeryBadEmoji,
16
16
  VeryGoodEmoji
17
- } from "../../chunk-P7TMXOPP.mjs";
17
+ } from "../../chunk-JDCQLGWW.mjs";
18
18
  import {
19
19
  Button,
20
20
  Card,
21
21
  CardContent,
22
22
  cn
23
- } from "../../chunk-ZPNZUWM5.mjs";
23
+ } from "../../chunk-6LI35F6L.mjs";
24
24
 
25
25
  // blocks/feedback/UserReferralSource.tsx
26
26
  import React, { useRef, useState } from "react";
@@ -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
- size = "xs"
87
- }) => {
88
- let sizes = {
89
- xs: "hawa-text-xs hawa-h-4",
90
- sm: "hawa-text-sm",
91
- md: "hawa-text-md",
92
- lg: "hawa-text-lg",
93
- xl: "hawa-text-xl"
94
- };
95
- return /* @__PURE__ */ import_react.default.createElement(
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
- className,
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
- className
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: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
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("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ import_react6.default.createElement(
1245
- Button,
1238
+ ), props.actions && /* @__PURE__ */ import_react6.default.createElement(
1239
+ "div",
1246
1240
  {
1247
- key: index,
1248
- variant: act.variant,
1249
- onClick: act.onClick()
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.label
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) {
@@ -17,7 +17,7 @@ import {
17
17
  TabsList,
18
18
  TabsTrigger,
19
19
  Textarea
20
- } from "../chunk-3MJGVWY2.mjs";
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-RPJYSE6Y.mjs";
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
- size = "xs"
560
- }) => {
561
- let sizes = {
562
- xs: "hawa-text-xs hawa-h-4",
563
- sm: "hawa-text-sm",
564
- md: "hawa-text-md",
565
- lg: "hawa-text-lg",
566
- xl: "hawa-text-xl"
567
- };
568
- return /* @__PURE__ */ import_react22.default.createElement(
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-QBPDB7E2.mjs";
4
+ } from "../../chunk-JKZQWCAQ.mjs";
5
5
  import {
6
6
  Chip,
7
7
  ScrollArea
8
- } from "../../chunk-VWJIORNH.mjs";
8
+ } from "../../chunk-FUYMZP4J.mjs";
9
9
  import {
10
10
  Textarea
11
- } from "../../chunk-WJ6XCEUI.mjs";
11
+ } from "../../chunk-FIUKVRL5.mjs";
12
12
  import {
13
13
  Select
14
- } from "../../chunk-PORTGNAK.mjs";
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-ZPNZUWM5.mjs";
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
- size = "xs"
68
- }) => {
69
- let sizes = {
70
- xs: "hawa-text-xs hawa-h-4",
71
- sm: "hawa-text-sm",
72
- md: "hawa-text-md",
73
- lg: "hawa-text-lg",
74
- xl: "hawa-text-xl"
75
- };
76
- return /* @__PURE__ */ import_react3.default.createElement(
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-VWJIORNH.mjs";
5
+ } from "../../chunk-FUYMZP4J.mjs";
6
6
  import "../../chunk-47APBDKK.mjs";
7
7
  import {
8
8
  Radio
9
- } from "../../chunk-QDZMNVKS.mjs";
9
+ } from "../../chunk-A6PONMZ6.mjs";
10
10
  import {
11
11
  CheckMark,
12
12
  UncheckMark
13
- } from "../../chunk-P7TMXOPP.mjs";
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-ZPNZUWM5.mjs";
20
+ } from "../../chunk-6LI35F6L.mjs";
21
21
 
22
22
  // blocks/pricing/PricingPlans.tsx
23
23
  import React8 from "react";
@@ -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?: "xs" | "sm" | "lg" | "xl" | "default" | "icon" | "heightless" | "smallIcon" | null | undefined;
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;
@@ -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?: "xs" | "sm" | "lg" | "xl" | "default" | "icon" | "heightless" | "smallIcon" | null | undefined;
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;
@@ -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
- size = "xs"
57
- }) => {
58
- let sizes = {
59
- xs: "hawa-text-xs hawa-h-4",
60
- sm: "hawa-text-sm",
61
- md: "hawa-text-md",
62
- lg: "hawa-text-lg",
63
- xl: "hawa-text-xl"
64
- };
65
- return /* @__PURE__ */ import_react.default.createElement(
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"));