@sikka/hawa 0.34.8-next → 0.35.0-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 (129) hide show
  1. package/dist/{Radio-BpXOu4Hr.d.mts → Radio-BCD7k628.d.mts} +3 -0
  2. package/dist/{Radio-CREjhlGz.d.ts → Radio-y9uhxitu.d.ts} +3 -0
  3. package/dist/alert/index.js +28 -17
  4. package/dist/alert/index.js.map +1 -1
  5. package/dist/alert/index.mjs +61 -50
  6. package/dist/alert/index.mjs.map +1 -1
  7. package/dist/appLayout/index.js +81 -70
  8. package/dist/appLayout/index.js.map +1 -1
  9. package/dist/appLayout/index.mjs +138 -127
  10. package/dist/appLayout/index.mjs.map +1 -1
  11. package/dist/backToTop/index.js +28 -17
  12. package/dist/backToTop/index.js.map +1 -1
  13. package/dist/backToTop/index.mjs +55 -44
  14. package/dist/backToTop/index.mjs.map +1 -1
  15. package/dist/blocks/auth/index.js +50 -39
  16. package/dist/blocks/auth/index.mjs +5 -5
  17. package/dist/blocks/feedback/index.d.mts +3 -0
  18. package/dist/blocks/feedback/index.d.ts +3 -0
  19. package/dist/blocks/feedback/index.js +174 -120
  20. package/dist/blocks/feedback/index.mjs +29 -93
  21. package/dist/blocks/index.d.mts +2 -1
  22. package/dist/blocks/index.d.ts +2 -1
  23. package/dist/blocks/index.js +253 -201
  24. package/dist/blocks/index.mjs +3 -3
  25. package/dist/blocks/misc/index.js +71 -60
  26. package/dist/blocks/misc/index.mjs +5 -5
  27. package/dist/blocks/pricing/index.js +154 -80
  28. package/dist/blocks/pricing/index.mjs +4 -4
  29. package/dist/button/index.d.mts +13 -0
  30. package/dist/button/index.d.ts +13 -0
  31. package/dist/button/index.js +28 -17
  32. package/dist/button/index.js.map +1 -1
  33. package/dist/button/index.mjs +51 -40
  34. package/dist/button/index.mjs.map +1 -1
  35. package/dist/calendar/index.js +34 -23
  36. package/dist/calendar/index.js.map +1 -1
  37. package/dist/calendar/index.mjs +57 -46
  38. package/dist/calendar/index.mjs.map +1 -1
  39. package/dist/{chunk-GEB3LM5A.mjs → chunk-A376BKNX.mjs} +2 -2
  40. package/dist/{chunk-OS2UOK5C.mjs → chunk-DABX3SU6.mjs} +64 -51
  41. package/dist/{chunk-QPZ4ZR2B.mjs → chunk-DFWFQWWT.mjs} +155 -116
  42. package/dist/{chunk-UBNCETCU.mjs → chunk-GVZWOUGN.mjs} +1 -1
  43. package/dist/chunk-HHC34DXN.mjs +320 -0
  44. package/dist/{chunk-QVF3VLB7.mjs → chunk-IDKXEJET.mjs} +157 -144
  45. package/dist/{chunk-AW5FW5TY.mjs → chunk-L56XQRQI.mjs} +1 -1
  46. package/dist/{chunk-ORNLFAC6.mjs → chunk-XFRJ62W3.mjs} +1 -1
  47. package/dist/{chunk-RTGD7N7I.mjs → chunk-XJMDUR5A.mjs} +1 -1
  48. package/dist/{chunk-J7BT4XJR.mjs → chunk-YOT2GVXO.mjs} +1 -1
  49. package/dist/codeBlock/index.js +28 -17
  50. package/dist/codeBlock/index.js.map +1 -1
  51. package/dist/codeBlock/index.mjs +70 -59
  52. package/dist/codeBlock/index.mjs.map +1 -1
  53. package/dist/colorPicker/index.js.map +1 -1
  54. package/dist/colorPicker/index.mjs.map +1 -1
  55. package/dist/combobox/index.js.map +1 -1
  56. package/dist/combobox/index.mjs.map +1 -1
  57. package/dist/dataTable/index.d.mts +1 -2
  58. package/dist/dataTable/index.d.ts +1 -2
  59. package/dist/dataTable/index.js +144 -105
  60. package/dist/dataTable/index.js.map +1 -1
  61. package/dist/dataTable/index.mjs +178 -139
  62. package/dist/dataTable/index.mjs.map +1 -1
  63. package/dist/datePicker/index.d.mts +23 -5
  64. package/dist/datePicker/index.d.ts +23 -5
  65. package/dist/datePicker/index.js +46 -18
  66. package/dist/datePicker/index.js.map +1 -1
  67. package/dist/datePicker/index.mjs +46 -18
  68. package/dist/datePicker/index.mjs.map +1 -1
  69. package/dist/docsLayout/index.js +40 -29
  70. package/dist/docsLayout/index.js.map +1 -1
  71. package/dist/docsLayout/index.mjs +135 -124
  72. package/dist/docsLayout/index.mjs.map +1 -1
  73. package/dist/elements/index.d.mts +7 -3
  74. package/dist/elements/index.d.ts +7 -3
  75. package/dist/elements/index.js +475 -395
  76. package/dist/elements/index.mjs +32 -4
  77. package/dist/fileDropzone/index.js +28 -17
  78. package/dist/fileDropzone/index.js.map +1 -1
  79. package/dist/fileDropzone/index.mjs +89 -78
  80. package/dist/fileDropzone/index.mjs.map +1 -1
  81. package/dist/index.css +3 -0
  82. package/dist/index.d.mts +16 -9
  83. package/dist/index.d.ts +16 -9
  84. package/dist/index.js +515 -435
  85. package/dist/index.mjs +1204 -1124
  86. package/dist/input/index.js +1 -1
  87. package/dist/input/index.js.map +1 -1
  88. package/dist/input/index.mjs +1 -1
  89. package/dist/input/index.mjs.map +1 -1
  90. package/dist/interfaceSettings/index.js +85 -24
  91. package/dist/interfaceSettings/index.js.map +1 -1
  92. package/dist/interfaceSettings/index.mjs +107 -46
  93. package/dist/interfaceSettings/index.mjs.map +1 -1
  94. package/dist/layout/index.js +121 -110
  95. package/dist/layout/index.mjs +2 -2
  96. package/dist/passwordInput/index.js +1 -1
  97. package/dist/passwordInput/index.js.map +1 -1
  98. package/dist/passwordInput/index.mjs +1 -1
  99. package/dist/passwordInput/index.mjs.map +1 -1
  100. package/dist/phoneInput/index.js.map +1 -1
  101. package/dist/phoneInput/index.mjs.map +1 -1
  102. package/dist/radio/index.d.mts +3 -0
  103. package/dist/radio/index.d.ts +3 -0
  104. package/dist/radio/index.js +85 -24
  105. package/dist/radio/index.js.map +1 -1
  106. package/dist/radio/index.mjs +100 -39
  107. package/dist/radio/index.mjs.map +1 -1
  108. package/dist/select/index.js.map +1 -1
  109. package/dist/select/index.mjs.map +1 -1
  110. package/dist/simpleTable/index.js.map +1 -1
  111. package/dist/simpleTable/index.mjs.map +1 -1
  112. package/dist/skeleton/index.js.map +1 -1
  113. package/dist/skeleton/index.mjs.map +1 -1
  114. package/dist/sortButton/index.js +28 -17
  115. package/dist/sortButton/index.js.map +1 -1
  116. package/dist/sortButton/index.mjs +58 -47
  117. package/dist/sortButton/index.mjs.map +1 -1
  118. package/dist/splitButton/index.d.mts +12 -0
  119. package/dist/splitButton/index.d.ts +12 -0
  120. package/dist/splitButton/index.js +70 -59
  121. package/dist/splitButton/index.js.map +1 -1
  122. package/dist/splitButton/index.mjs +93 -82
  123. package/dist/splitButton/index.mjs.map +1 -1
  124. package/dist/stats/index.js.map +1 -1
  125. package/dist/stats/index.mjs.map +1 -1
  126. package/dist/textarea/index.js.map +1 -1
  127. package/dist/textarea/index.mjs.map +1 -1
  128. package/package.json +6 -6
  129. package/dist/chunk-IQEBXGLM.mjs +0 -215
@@ -67,7 +67,7 @@ module.exports = __toCommonJS(blocks_exports);
67
67
  var import_react4 = __toESM(require("react"));
68
68
 
69
69
  // elements/button/Button.tsx
70
- var React4 = __toESM(require("react"));
70
+ var React5 = __toESM(require("react"));
71
71
 
72
72
  // util/index.ts
73
73
  var import_clsx = require("clsx");
@@ -79,8 +79,20 @@ function cn(...inputs) {
79
79
  // elements/button/Button.tsx
80
80
  var import_class_variance_authority = require("class-variance-authority");
81
81
 
82
+ // elements/helperText/HelperText.tsx
83
+ var HelperText = ({ helperText }) => /* @__PURE__ */ React.createElement(
84
+ "p",
85
+ {
86
+ className: cn(
87
+ "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
88
+ helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
89
+ )
90
+ },
91
+ helperText
92
+ );
93
+
82
94
  // elements/label/Label.tsx
83
- var React2 = __toESM(require("react"));
95
+ var React3 = __toESM(require("react"));
84
96
 
85
97
  // elements/tooltip/Tooltip.tsx
86
98
  var import_react = __toESM(require("react"));
@@ -154,7 +166,7 @@ var Tooltip = ({
154
166
  };
155
167
 
156
168
  // elements/label/Label.tsx
157
- var Label = React2.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React2.createElement(
169
+ var Label = React3.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React3.createElement(
158
170
  "label",
159
171
  {
160
172
  ref,
@@ -165,8 +177,8 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
165
177
  ...props
166
178
  },
167
179
  children,
168
- required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
169
- ), hint && /* @__PURE__ */ React2.createElement(
180
+ required && /* @__PURE__ */ React3.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
181
+ ), hint && /* @__PURE__ */ React3.createElement(
170
182
  Tooltip,
171
183
  {
172
184
  content: hint,
@@ -176,7 +188,7 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
176
188
  onClick: (event) => event.preventDefault()
177
189
  }
178
190
  },
179
- /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
191
+ /* @__PURE__ */ React3.createElement("div", null, /* @__PURE__ */ React3.createElement(
180
192
  "svg",
181
193
  {
182
194
  xmlns: "http://www.w3.org/2000/svg",
@@ -188,9 +200,9 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
188
200
  strokeLinecap: "round",
189
201
  strokeLinejoin: "round"
190
202
  },
191
- /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
192
- /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
193
- /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
203
+ /* @__PURE__ */ React3.createElement("circle", { cx: "12", cy: "12", r: "10" }),
204
+ /* @__PURE__ */ React3.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
205
+ /* @__PURE__ */ React3.createElement("path", { d: "M12 17h.01" })
194
206
  ))
195
207
  )));
196
208
  Label.displayName = "Label";
@@ -441,13 +453,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
441
453
  smallIcon: "hawa-h-7 hawa-w-7"
442
454
  }
443
455
  },
444
- defaultVariants: {
445
- variant: "default",
446
- size: "default"
447
- }
456
+ defaultVariants: { variant: "default", size: "default" }
448
457
  }
449
458
  );
450
- var Button = React4.forwardRef(
459
+ var Button = React5.forwardRef(
451
460
  ({
452
461
  className,
453
462
  label,
@@ -457,11 +466,13 @@ var Button = React4.forwardRef(
457
466
  centered = true,
458
467
  isLoading,
459
468
  children,
469
+ labelProps,
470
+ showHelperText = false,
460
471
  ...props
461
472
  }, ref) => {
462
473
  const Comp = "button";
463
474
  const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
464
- return /* @__PURE__ */ React4.createElement("div", { className: "flex flex-col" }, label && /* @__PURE__ */ React4.createElement(Label, { className: "hawa-mb-2" }, label), /* @__PURE__ */ React4.createElement(
475
+ return /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, label && /* @__PURE__ */ React5.createElement(Label, { ...labelProps }, label), /* @__PURE__ */ React5.createElement(
465
476
  Comp,
466
477
  {
467
478
  className: cn(
@@ -471,7 +482,7 @@ var Button = React4.forwardRef(
471
482
  ref,
472
483
  ...props
473
484
  },
474
- isLoading ? /* @__PURE__ */ React4.createElement(
485
+ isLoading ? /* @__PURE__ */ React5.createElement(
475
486
  Loading,
476
487
  {
477
488
  design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
@@ -480,7 +491,7 @@ var Button = React4.forwardRef(
480
491
  size: size === "sm" || size === "xs" ? "xs" : "button"
481
492
  }
482
493
  ) : children
483
- ));
494
+ ), showHelperText && /* @__PURE__ */ React5.createElement(HelperText, { helperText: props.helperText }));
484
495
  }
485
496
  );
486
497
  Button.displayName = "Button";
@@ -1087,8 +1098,8 @@ var Alert = ({
1087
1098
  };
1088
1099
 
1089
1100
  // elements/card/Card.tsx
1090
- var React8 = __toESM(require("react"));
1091
- var Card = React8.forwardRef(
1101
+ var React9 = __toESM(require("react"));
1102
+ var Card = React9.forwardRef(
1092
1103
  ({
1093
1104
  className,
1094
1105
  variant = "default",
@@ -1107,7 +1118,7 @@ var Card = React8.forwardRef(
1107
1118
  clickable && "hawa-cursor-pointer active:hawa-translate-x-0.5 active:hawa-translate-y-0.5 active:hawa-shadow-color-primary-active active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"
1108
1119
  )
1109
1120
  };
1110
- return /* @__PURE__ */ React8.createElement(
1121
+ return /* @__PURE__ */ React9.createElement(
1111
1122
  "div",
1112
1123
  {
1113
1124
  ref,
@@ -1117,7 +1128,7 @@ var Card = React8.forwardRef(
1117
1128
  );
1118
1129
  }
1119
1130
  );
1120
- var CardHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
1131
+ var CardHeader = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
1121
1132
  "div",
1122
1133
  {
1123
1134
  ref,
@@ -1128,7 +1139,7 @@ var CardHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1128
1139
  ...props
1129
1140
  }
1130
1141
  ));
1131
- var CardTitle = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
1142
+ var CardTitle = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
1132
1143
  "h3",
1133
1144
  {
1134
1145
  ref,
@@ -1136,7 +1147,7 @@ var CardTitle = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1136
1147
  ...props
1137
1148
  }
1138
1149
  ));
1139
- var CardDescription = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
1150
+ var CardDescription = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
1140
1151
  "p",
1141
1152
  {
1142
1153
  ref,
@@ -1144,8 +1155,8 @@ var CardDescription = React8.forwardRef(({ className, ...props }, ref) => /* @__
1144
1155
  ...props
1145
1156
  }
1146
1157
  ));
1147
- var CardContent = React8.forwardRef(
1148
- ({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
1158
+ var CardContent = React9.forwardRef(
1159
+ ({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
1149
1160
  "div",
1150
1161
  {
1151
1162
  ref,
@@ -1158,7 +1169,7 @@ var CardContent = React8.forwardRef(
1158
1169
  }
1159
1170
  )
1160
1171
  );
1161
- var CardFooter = React8.forwardRef(({ className, noPadding, ...props }, ref) => /* @__PURE__ */ React8.createElement(
1172
+ var CardFooter = React9.forwardRef(({ className, noPadding, ...props }, ref) => /* @__PURE__ */ React9.createElement(
1162
1173
  "div",
1163
1174
  {
1164
1175
  ref,
@@ -1281,7 +1292,7 @@ var Input = (0, import_react7.forwardRef)(
1281
1292
  )
1282
1293
  },
1283
1294
  props.outsidePrefix
1284
- ), props.isLoading ? /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ import_react7.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react7.default.createElement(
1295
+ ), props.isLoading ? /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-pb-2 hawa-w-full" }, /* @__PURE__ */ import_react7.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react7.default.createElement(
1285
1296
  "div",
1286
1297
  {
1287
1298
  className: cn(
@@ -3819,7 +3830,7 @@ var import_zod2 = require("@hookform/resolvers/zod");
3819
3830
  var z2 = __toESM(require("zod"));
3820
3831
 
3821
3832
  // elements/checkbox/Checkbox.tsx
3822
- var React17 = __toESM(require("react"));
3833
+ var React18 = __toESM(require("react"));
3823
3834
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
3824
3835
  var Checkbox = ({
3825
3836
  id,
@@ -3839,7 +3850,7 @@ var Checkbox = ({
3839
3850
  lg: 0.9,
3840
3851
  xl: 1
3841
3852
  };
3842
- return /* @__PURE__ */ React17.createElement(
3853
+ return /* @__PURE__ */ React18.createElement(
3843
3854
  "div",
3844
3855
  {
3845
3856
  className: cn(
@@ -3847,7 +3858,7 @@ var Checkbox = ({
3847
3858
  size === "default" ? "hawa-items-top" : "hawa-items-center"
3848
3859
  )
3849
3860
  },
3850
- /* @__PURE__ */ React17.createElement(
3861
+ /* @__PURE__ */ React18.createElement(
3851
3862
  CheckboxElement,
3852
3863
  {
3853
3864
  ...props,
@@ -3857,7 +3868,7 @@ var Checkbox = ({
3857
3868
  id
3858
3869
  }
3859
3870
  ),
3860
- (label || helperText) && /* @__PURE__ */ React17.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React17.createElement(
3871
+ (label || helperText) && /* @__PURE__ */ React18.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React18.createElement(
3861
3872
  "label",
3862
3873
  {
3863
3874
  htmlFor: id,
@@ -3871,7 +3882,7 @@ var Checkbox = ({
3871
3882
  }
3872
3883
  },
3873
3884
  label
3874
- ), sublabel && /* @__PURE__ */ React17.createElement(
3885
+ ), sublabel && /* @__PURE__ */ React18.createElement(
3875
3886
  "label",
3876
3887
  {
3877
3888
  htmlFor: id,
@@ -3881,7 +3892,7 @@ var Checkbox = ({
3881
3892
  )
3882
3893
  },
3883
3894
  sublabel
3884
- ), helperText && !disabled && /* @__PURE__ */ React17.createElement(
3895
+ ), helperText && !disabled && /* @__PURE__ */ React18.createElement(
3885
3896
  "label",
3886
3897
  {
3887
3898
  htmlFor: id,
@@ -3894,7 +3905,7 @@ var Checkbox = ({
3894
3905
  ))
3895
3906
  );
3896
3907
  };
3897
- var CheckboxElement = React17.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
3908
+ var CheckboxElement = React18.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
3898
3909
  let checkboxRadius = {
3899
3910
  none: "hawa-rounded-none",
3900
3911
  inherit: "hawa-rounded-sm",
@@ -3916,7 +3927,7 @@ var CheckboxElement = React17.forwardRef(({ radius = "inherit", size = "default"
3916
3927
  lg: "1em",
3917
3928
  xl: "1.25em"
3918
3929
  };
3919
- return /* @__PURE__ */ React17.createElement(
3930
+ return /* @__PURE__ */ React18.createElement(
3920
3931
  CheckboxPrimitive.Root,
3921
3932
  {
3922
3933
  ref,
@@ -3928,14 +3939,14 @@ var CheckboxElement = React17.forwardRef(({ radius = "inherit", size = "default"
3928
3939
  ),
3929
3940
  ...props
3930
3941
  },
3931
- /* @__PURE__ */ React17.createElement(
3942
+ /* @__PURE__ */ React18.createElement(
3932
3943
  CheckboxPrimitive.Indicator,
3933
3944
  {
3934
3945
  className: cn(
3935
3946
  "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
3936
3947
  )
3937
3948
  },
3938
- /* @__PURE__ */ React17.createElement(
3949
+ /* @__PURE__ */ React18.createElement(
3939
3950
  "svg",
3940
3951
  {
3941
3952
  "aria-label": "Check Mark",
@@ -3946,7 +3957,7 @@ var CheckboxElement = React17.forwardRef(({ radius = "inherit", size = "default"
3946
3957
  height: checkboxIndicatorSizes[size],
3947
3958
  width: checkboxIndicatorSizes[size]
3948
3959
  },
3949
- /* @__PURE__ */ React17.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
3960
+ /* @__PURE__ */ React18.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
3950
3961
  ),
3951
3962
  " "
3952
3963
  )
@@ -4772,7 +4783,7 @@ var CodeConfirmation = (props) => {
4772
4783
  },
4773
4784
  ((_i = props.texts) == null ? void 0 : _i.resendCode) || "Click to resend"
4774
4785
  )),
4775
- /* @__PURE__ */ import_react22.default.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ import_react22.default.createElement(Button, { variant: "secondary" }, ((_j = props.texts) == null ? void 0 : _j.cancel) || "Cancel"), /* @__PURE__ */ import_react22.default.createElement(Button, { isLoading: props.confirmLoading }, ((_k = props.texts) == null ? void 0 : _k.confirm) || "Confirm"))
4786
+ /* @__PURE__ */ import_react22.default.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ import_react22.default.createElement(Button, { variant: "outline" }, ((_j = props.texts) == null ? void 0 : _j.cancel) || "Cancel"), /* @__PURE__ */ import_react22.default.createElement(Button, { isLoading: props.confirmLoading }, ((_k = props.texts) == null ? void 0 : _k.confirm) || "Confirm"))
4776
4787
  )));
4777
4788
  };
4778
4789
 
@@ -4784,6 +4795,73 @@ var z6 = __toESM(require("zod"));
4784
4795
 
4785
4796
  // elements/radio/Radio.tsx
4786
4797
  var import_react23 = __toESM(require("react"));
4798
+
4799
+ // elements/popover/Popover.tsx
4800
+ var React27 = __toESM(require("react"));
4801
+ var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
4802
+ var PopoverContent = React27.forwardRef(
4803
+ ({ className, align = "center", sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ React27.createElement(PopoverPrimitive.Portal, { container }, /* @__PURE__ */ React27.createElement(
4804
+ PopoverPrimitive.Content,
4805
+ {
4806
+ ref,
4807
+ align,
4808
+ sideOffset,
4809
+ className: cn(
4810
+ "dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
4811
+ className
4812
+ ),
4813
+ ...props
4814
+ }
4815
+ ))
4816
+ );
4817
+ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
4818
+ var Popover = ({
4819
+ trigger,
4820
+ children,
4821
+ className,
4822
+ align = "center",
4823
+ side,
4824
+ sideOffset = 4,
4825
+ open,
4826
+ width = "default",
4827
+ disableTrigger,
4828
+ contentProps,
4829
+ triggerProps,
4830
+ ...props
4831
+ }) => {
4832
+ let widthStyles = {
4833
+ trigger: "var(--radix-popover-trigger-width)",
4834
+ default: "auto"
4835
+ };
4836
+ return /* @__PURE__ */ React27.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React27.createElement(
4837
+ PopoverPrimitive.Trigger,
4838
+ {
4839
+ className: "hawa-w-full",
4840
+ disabled: disableTrigger,
4841
+ ...triggerProps
4842
+ },
4843
+ trigger
4844
+ ), /* @__PURE__ */ React27.createElement(
4845
+ PopoverContent,
4846
+ {
4847
+ side,
4848
+ className,
4849
+ align,
4850
+ sideOffset,
4851
+ style: {
4852
+ width: widthStyles[width],
4853
+ maxWidth: "var(--radix-popover-content-available-width)",
4854
+ maxHeight: "var(--radix-popover-content-available-height)"
4855
+ },
4856
+ ...contentProps
4857
+ },
4858
+ children
4859
+ ));
4860
+ };
4861
+ var PopoverTrigger = PopoverPrimitive.Trigger;
4862
+ var PopoverRoot = PopoverPrimitive.Root;
4863
+
4864
+ // elements/radio/Radio.tsx
4787
4865
  var Radio = (0, import_react23.forwardRef)(
4788
4866
  ({
4789
4867
  design = "default",
@@ -4798,9 +4876,6 @@ var Radio = (0, import_react23.forwardRef)(
4798
4876
  ...props
4799
4877
  }, ref) => {
4800
4878
  var _a, _b, _c;
4801
- const [selectedOption, setSelectedOption] = (0, import_react23.useState)(
4802
- props.defaultValue || props.value
4803
- );
4804
4879
  let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
4805
4880
  let inactiveTabStyle = `hawa-inline-block hawa-w-full hawa-transition-all hawa-bg-primary-foreground dark:hover:hawa-text-white
4806
4881
  ${props.disabled ? "" : "hover:hawa-bg-muted"}`;
@@ -4822,6 +4897,10 @@ var Radio = (0, import_react23.forwardRef)(
4822
4897
  const [parentDirection, setParentDirection] = import_react23.default.useState(
4823
4898
  null
4824
4899
  );
4900
+ const [selectedOption, setSelectedOption] = (0, import_react23.useState)(
4901
+ props.defaultValue || props.value
4902
+ );
4903
+ const [openTooltip, setOpenTooltip] = (0, import_react23.useState)(null);
4825
4904
  const parentRef = (0, import_react23.useRef)(null);
4826
4905
  (0, import_react23.useEffect)(() => {
4827
4906
  var _a2;
@@ -4839,6 +4918,14 @@ var Radio = (0, import_react23.forwardRef)(
4839
4918
  console.log("onChange was not provided");
4840
4919
  }
4841
4920
  };
4921
+ const radio_option_tabs_styling = [
4922
+ "hawa-w-full hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
4923
+ !props.disabled && "hawa-cursor-pointer",
4924
+ orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
4925
+ orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
4926
+ orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
4927
+ tabSizeStyle[size]
4928
+ ];
4842
4929
  switch (design) {
4843
4930
  case "tabs":
4844
4931
  return /* @__PURE__ */ import_react23.default.createElement("div", { className: "hawa-gap-2 hawa-flex hawa-flex-col" }, props.label && /* @__PURE__ */ import_react23.default.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ import_react23.default.createElement(
@@ -4853,29 +4940,59 @@ var Radio = (0, import_react23.forwardRef)(
4853
4940
  tabsContainerClassName
4854
4941
  )
4855
4942
  },
4856
- (_b = props.options) == null ? void 0 : _b.map((opt, o) => /* @__PURE__ */ import_react23.default.createElement(
4857
- "li",
4858
- {
4859
- "aria-current": "page",
4860
- onClick: () => {
4861
- if (props.disabled)
4862
- return;
4863
- handleChange(opt);
4943
+ (_b = props.options) == null ? void 0 : _b.map((opt, o) => {
4944
+ return opt.tooltip ? /* @__PURE__ */ import_react23.default.createElement(
4945
+ PopoverRoot,
4946
+ {
4947
+ key: o,
4948
+ open: o === openTooltip,
4949
+ onOpenChange: (bool) => setOpenTooltip(bool ? o : null)
4864
4950
  },
4865
- className: cn(
4866
- "hawa-w-full hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
4867
- !props.disabled && "hawa-cursor-pointer",
4868
- orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
4869
- orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
4870
- orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
4871
- tabSizeStyle[size],
4872
- selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
4951
+ /* @__PURE__ */ import_react23.default.createElement(
4952
+ PopoverTrigger,
4953
+ {
4954
+ onMouseEnter: () => setOpenTooltip(o),
4955
+ onMouseLeave: () => setOpenTooltip(null),
4956
+ asChild: true
4957
+ },
4958
+ /* @__PURE__ */ import_react23.default.createElement(
4959
+ "li",
4960
+ {
4961
+ "aria-current": "page",
4962
+ onClick: () => {
4963
+ if (props.disabled || opt.disabled)
4964
+ return;
4965
+ handleChange(opt);
4966
+ },
4967
+ className: cn(
4968
+ ...radio_option_tabs_styling,
4969
+ selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
4970
+ )
4971
+ },
4972
+ opt.icon && opt.icon,
4973
+ opt.label
4974
+ )
4873
4975
  ),
4874
- key: o
4875
- },
4876
- opt.icon && opt.icon,
4877
- opt.label
4878
- ))
4976
+ /* @__PURE__ */ import_react23.default.createElement(PopoverContent, { ...opt.tooltipContentProps }, opt.tooltip)
4977
+ ) : /* @__PURE__ */ import_react23.default.createElement(
4978
+ "li",
4979
+ {
4980
+ key: o,
4981
+ "aria-current": "page",
4982
+ onClick: () => {
4983
+ if (props.disabled || opt.disabled)
4984
+ return;
4985
+ handleChange(opt);
4986
+ },
4987
+ className: cn(
4988
+ ...radio_option_tabs_styling,
4989
+ selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
4990
+ )
4991
+ },
4992
+ opt.icon && opt.icon,
4993
+ opt.label
4994
+ );
4995
+ })
4879
4996
  ), !forceHideHelperText && /* @__PURE__ */ import_react23.default.createElement(
4880
4997
  "p",
4881
4998
  {
@@ -4989,8 +5106,8 @@ var Radio = (0, import_react23.forwardRef)(
4989
5106
  );
4990
5107
 
4991
5108
  // elements/textarea/Textarea.tsx
4992
- var React27 = __toESM(require("react"));
4993
- var Textarea = React27.forwardRef(
5109
+ var React29 = __toESM(require("react"));
5110
+ var Textarea = React29.forwardRef(
4994
5111
  ({
4995
5112
  className,
4996
5113
  classNames,
@@ -5002,7 +5119,7 @@ var Textarea = React27.forwardRef(
5002
5119
  isLoading,
5003
5120
  ...props
5004
5121
  }, ref) => {
5005
- return /* @__PURE__ */ React27.createElement(
5122
+ return /* @__PURE__ */ React29.createElement(
5006
5123
  "div",
5007
5124
  {
5008
5125
  className: cn(
@@ -5011,7 +5128,7 @@ var Textarea = React27.forwardRef(
5011
5128
  className
5012
5129
  )
5013
5130
  },
5014
- /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React27.createElement(Label, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React27.createElement(
5131
+ /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React29.createElement(Label, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React29.createElement(
5015
5132
  "div",
5016
5133
  {
5017
5134
  className: "hawa-text-start hawa-text-xs hawa-transition-all hawa-leading-none"
@@ -5020,7 +5137,7 @@ var Textarea = React27.forwardRef(
5020
5137
  "/",
5021
5138
  textareaProps == null ? void 0 : textareaProps.maxLength
5022
5139
  )),
5023
- isLoading ? /* @__PURE__ */ React27.createElement(Skeleton, { style: { height: 40 } }) : /* @__PURE__ */ React27.createElement(
5140
+ isLoading ? /* @__PURE__ */ React29.createElement(Skeleton, { style: { height: 40 } }) : /* @__PURE__ */ React29.createElement(
5024
5141
  "textarea",
5025
5142
  {
5026
5143
  ...textareaProps,
@@ -5031,7 +5148,7 @@ var Textarea = React27.forwardRef(
5031
5148
  ref
5032
5149
  }
5033
5150
  ),
5034
- /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React27.createElement(
5151
+ /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React29.createElement(
5035
5152
  "p",
5036
5153
  {
5037
5154
  className: cn(
@@ -5040,7 +5157,7 @@ var Textarea = React27.forwardRef(
5040
5157
  )
5041
5158
  },
5042
5159
  props.helperText
5043
- ), showCount && countPosition === "bottom" && /* @__PURE__ */ React27.createElement("div", { className: "hawa-text-start hawa-text-xs hawa-transition-all" }, (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0, "/", textareaProps == null ? void 0 : textareaProps.maxLength))
5160
+ ), showCount && countPosition === "bottom" && /* @__PURE__ */ React29.createElement("div", { className: "hawa-text-start hawa-text-xs hawa-transition-all" }, (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0, "/", textareaProps == null ? void 0 : textareaProps.maxLength))
5044
5161
  );
5045
5162
  }
5046
5163
  );
@@ -5316,71 +5433,6 @@ var FeedbackRating = ({
5316
5433
 
5317
5434
  // blocks/feedback/FeedbackEmoji.tsx
5318
5435
  var import_react26 = __toESM(require("react"));
5319
-
5320
- // elements/popover/Popover.tsx
5321
- var React30 = __toESM(require("react"));
5322
- var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
5323
- var PopoverContent = React30.forwardRef(
5324
- ({ className, align = "center", sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ React30.createElement(PopoverPrimitive.Portal, { container }, /* @__PURE__ */ React30.createElement(
5325
- PopoverPrimitive.Content,
5326
- {
5327
- ref,
5328
- align,
5329
- sideOffset,
5330
- className: cn(
5331
- "dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
5332
- className
5333
- ),
5334
- ...props
5335
- }
5336
- ))
5337
- );
5338
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
5339
- var Popover = ({
5340
- trigger,
5341
- children,
5342
- className,
5343
- align = "center",
5344
- side,
5345
- sideOffset = 4,
5346
- open,
5347
- width = "default",
5348
- disableTrigger,
5349
- contentProps,
5350
- triggerProps,
5351
- ...props
5352
- }) => {
5353
- let widthStyles = {
5354
- trigger: "var(--radix-popover-trigger-width)",
5355
- default: "auto"
5356
- };
5357
- return /* @__PURE__ */ React30.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React30.createElement(
5358
- PopoverPrimitive.Trigger,
5359
- {
5360
- className: "hawa-w-full",
5361
- disabled: disableTrigger,
5362
- ...triggerProps
5363
- },
5364
- trigger
5365
- ), /* @__PURE__ */ React30.createElement(
5366
- PopoverContent,
5367
- {
5368
- side,
5369
- className,
5370
- align,
5371
- sideOffset,
5372
- style: {
5373
- width: widthStyles[width],
5374
- maxWidth: "var(--radix-popover-content-available-width)",
5375
- maxHeight: "var(--radix-popover-content-available-height)"
5376
- },
5377
- ...contentProps
5378
- },
5379
- children
5380
- ));
5381
- };
5382
-
5383
- // blocks/feedback/FeedbackEmoji.tsx
5384
5436
  var FeedbackEmoji = (props) => {
5385
5437
  const [selectedEmoji, setSelectedEmoji] = (0, import_react26.useState)(null);
5386
5438
  const [loadingSubmit, setLoadingSubmit] = (0, import_react26.useState)(false);
@@ -5590,21 +5642,21 @@ var FeedbackForm = (props) => {
5590
5642
  var import_react45 = __toESM(require("react"));
5591
5643
 
5592
5644
  // elements/scrollArea/ScrollArea.tsx
5593
- var React33 = __toESM(require("react"));
5645
+ var React34 = __toESM(require("react"));
5594
5646
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
5595
- var ScrollArea = React33.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React33.createElement(
5647
+ var ScrollArea = React34.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React34.createElement(
5596
5648
  ScrollAreaPrimitive.Root,
5597
5649
  {
5598
5650
  ref,
5599
5651
  className: cn("hawa-relative hawa-overflow-hidden", className),
5600
5652
  ...props
5601
5653
  },
5602
- /* @__PURE__ */ React33.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
5603
- /* @__PURE__ */ React33.createElement(ScrollBar, { orientation }),
5604
- /* @__PURE__ */ React33.createElement(ScrollAreaPrimitive.Corner, null)
5654
+ /* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
5655
+ /* @__PURE__ */ React34.createElement(ScrollBar, { orientation }),
5656
+ /* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.Corner, null)
5605
5657
  ));
5606
5658
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
5607
- var ScrollBar = React33.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React33.createElement(
5659
+ var ScrollBar = React34.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React34.createElement(
5608
5660
  ScrollAreaPrimitive.ScrollAreaScrollbar,
5609
5661
  {
5610
5662
  ref,
@@ -5617,7 +5669,7 @@ var ScrollBar = React33.forwardRef(({ className, orientation = "vertical", ...pr
5617
5669
  ),
5618
5670
  ...props
5619
5671
  },
5620
- /* @__PURE__ */ React33.createElement(
5672
+ /* @__PURE__ */ React34.createElement(
5621
5673
  ScrollAreaPrimitive.ScrollAreaThumb,
5622
5674
  {
5623
5675
  className: cn(
@@ -5630,7 +5682,7 @@ var ScrollBar = React33.forwardRef(({ className, orientation = "vertical", ...pr
5630
5682
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
5631
5683
 
5632
5684
  // elements/tabs/Tabs.tsx
5633
- var React45 = __toESM(require("react"));
5685
+ var React46 = __toESM(require("react"));
5634
5686
 
5635
5687
  // hooks/useIsomorphicEffect.ts
5636
5688
  var import_react28 = require("react");
@@ -5642,7 +5694,7 @@ var import_react29 = require("react");
5642
5694
  var import_react30 = require("react");
5643
5695
 
5644
5696
  // hooks/useToast.ts
5645
- var React36 = __toESM(require("react"));
5697
+ var React37 = __toESM(require("react"));
5646
5698
 
5647
5699
  // hooks/useCarousel.ts
5648
5700
  var import_react31 = require("react");
@@ -5802,7 +5854,7 @@ var Chip = import_react44.default.forwardRef(
5802
5854
  );
5803
5855
 
5804
5856
  // elements/floatBox/FloatBox.tsx
5805
- var React44 = __toESM(require("react"));
5857
+ var React45 = __toESM(require("react"));
5806
5858
  var FloatBox = ({
5807
5859
  className,
5808
5860
  open,
@@ -5840,7 +5892,7 @@ var FloatBox = ({
5840
5892
  right: "hawa-arrow-default-left",
5841
5893
  left: "hawa-arrow-default-right"
5842
5894
  };
5843
- return /* @__PURE__ */ React44.createElement(
5895
+ return /* @__PURE__ */ React45.createElement(
5844
5896
  "div",
5845
5897
  {
5846
5898
  className: cn(
@@ -5851,8 +5903,8 @@ var FloatBox = ({
5851
5903
  "data-side": side,
5852
5904
  "data-floatbox-state": open ? "open" : "closed"
5853
5905
  },
5854
- withArrow && /* @__PURE__ */ React44.createElement("div", { className: cn(arrowDirection[side]) }),
5855
- /* @__PURE__ */ React44.createElement("span", null, props.children)
5906
+ withArrow && /* @__PURE__ */ React45.createElement("div", { className: cn(arrowDirection[side]) }),
5907
+ /* @__PURE__ */ React45.createElement("span", null, props.children)
5856
5908
  );
5857
5909
  };
5858
5910
 
@@ -5915,8 +5967,8 @@ var tabsTriggerVariant = (0, import_tailwind_variants.tv)({
5915
5967
  ],
5916
5968
  defaultVariants: { variant: "default", orientation: "horizontal" }
5917
5969
  });
5918
- var TabsContext = React45.createContext({ orientation: "horizontal", variant: "default" });
5919
- var Tabs = React45.forwardRef(({ className, orientation, variant = "default", ...props }, ref) => /* @__PURE__ */ React45.createElement(
5970
+ var TabsContext = React46.createContext({ orientation: "horizontal", variant: "default" });
5971
+ var Tabs = React46.forwardRef(({ className, orientation, variant = "default", ...props }, ref) => /* @__PURE__ */ React46.createElement(
5920
5972
  TabsPrimitive.Root,
5921
5973
  {
5922
5974
  ref,
@@ -5927,11 +5979,11 @@ var Tabs = React45.forwardRef(({ className, orientation, variant = "default", ..
5927
5979
  ),
5928
5980
  ...props
5929
5981
  },
5930
- /* @__PURE__ */ React45.createElement(TabsContext.Provider, { value: { orientation, variant } }, props.children)
5982
+ /* @__PURE__ */ React46.createElement(TabsContext.Provider, { value: { orientation, variant } }, props.children)
5931
5983
  ));
5932
- var TabsList = React45.forwardRef(({ className, ...props }, ref) => {
5933
- const { orientation, variant } = React45.useContext(TabsContext);
5934
- return /* @__PURE__ */ React45.createElement(
5984
+ var TabsList = React46.forwardRef(({ className, ...props }, ref) => {
5985
+ const { orientation, variant } = React46.useContext(TabsContext);
5986
+ return /* @__PURE__ */ React46.createElement(
5935
5987
  TabsPrimitive.List,
5936
5988
  {
5937
5989
  ref,
@@ -5944,11 +5996,11 @@ var TabsList = React45.forwardRef(({ className, ...props }, ref) => {
5944
5996
  }
5945
5997
  );
5946
5998
  });
5947
- var TabsTrigger = React45.forwardRef(({ className, chipProps, ...props }, ref) => {
5948
- const { orientation, variant } = React45.useContext(TabsContext);
5949
- const tabTriggerRef = React45.useRef(null);
5999
+ var TabsTrigger = React46.forwardRef(({ className, chipProps, ...props }, ref) => {
6000
+ const { orientation, variant } = React46.useContext(TabsContext);
6001
+ const tabTriggerRef = React46.useRef(null);
5950
6002
  const { width } = useMeasureDirty(tabTriggerRef);
5951
- return /* @__PURE__ */ React45.createElement(
6003
+ return /* @__PURE__ */ React46.createElement(
5952
6004
  TabsPrimitive.Trigger,
5953
6005
  {
5954
6006
  ref: tabTriggerRef,
@@ -5960,8 +6012,8 @@ var TabsTrigger = React45.forwardRef(({ className, chipProps, ...props }, ref) =
5960
6012
  ...props
5961
6013
  },
5962
6014
  props.children,
5963
- chipProps && /* @__PURE__ */ React45.createElement(Chip, { ...chipProps }),
5964
- /* @__PURE__ */ React45.createElement(
6015
+ chipProps && /* @__PURE__ */ React46.createElement(Chip, { ...chipProps }),
6016
+ /* @__PURE__ */ React46.createElement(
5965
6017
  FloatBox,
5966
6018
  {
5967
6019
  withArrow: true,
@@ -5974,7 +6026,7 @@ var TabsTrigger = React45.forwardRef(({ className, chipProps, ...props }, ref) =
5974
6026
  )
5975
6027
  );
5976
6028
  });
5977
- var TabsContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
6029
+ var TabsContent = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React46.createElement(
5978
6030
  TabsPrimitive.Content,
5979
6031
  {
5980
6032
  ref,
@@ -6467,12 +6519,12 @@ var AdCard = ({
6467
6519
  var import_react55 = __toESM(require("react"));
6468
6520
 
6469
6521
  // elements/separator/Separator.tsx
6470
- var React56 = __toESM(require("react"));
6522
+ var React57 = __toESM(require("react"));
6471
6523
  var Separator = ({
6472
6524
  className,
6473
6525
  orientation = "horizontal",
6474
6526
  ...props
6475
- }) => /* @__PURE__ */ React56.createElement(
6527
+ }) => /* @__PURE__ */ React57.createElement(
6476
6528
  "div",
6477
6529
  {
6478
6530
  className: cn(
@@ -6610,14 +6662,14 @@ var PricingCard = ({
6610
6662
  var import_react56 = __toESM(require("react"));
6611
6663
 
6612
6664
  // elements/dropdownMenu/DropdownMenu.tsx
6613
- var React58 = __toESM(require("react"));
6665
+ var React59 = __toESM(require("react"));
6614
6666
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
6615
6667
  var DropdownMenuRoot = DropdownMenuPrimitive.Root;
6616
6668
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
6617
6669
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
6618
6670
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
6619
6671
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
6620
- var DropdownMenuSubTrigger = React58.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React58.createElement(
6672
+ var DropdownMenuSubTrigger = React59.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React59.createElement(
6621
6673
  DropdownMenuPrimitive.SubTrigger,
6622
6674
  {
6623
6675
  ref,
@@ -6628,9 +6680,9 @@ var DropdownMenuSubTrigger = React58.forwardRef(({ className, inset, children, .
6628
6680
  ),
6629
6681
  ...props
6630
6682
  },
6631
- /* @__PURE__ */ React58.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
6683
+ /* @__PURE__ */ React59.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
6632
6684
  " ",
6633
- /* @__PURE__ */ React58.createElement(
6685
+ /* @__PURE__ */ React59.createElement(
6634
6686
  "svg",
6635
6687
  {
6636
6688
  "aria-label": "Chevron Right Icon",
@@ -6642,7 +6694,7 @@ var DropdownMenuSubTrigger = React58.forwardRef(({ className, inset, children, .
6642
6694
  width: "1em",
6643
6695
  className: cn(props.dir === "rtl" ? "hawa-rotate-180" : "")
6644
6696
  },
6645
- /* @__PURE__ */ React58.createElement(
6697
+ /* @__PURE__ */ React59.createElement(
6646
6698
  "path",
6647
6699
  {
6648
6700
  fillRule: "evenodd",
@@ -6652,7 +6704,7 @@ var DropdownMenuSubTrigger = React58.forwardRef(({ className, inset, children, .
6652
6704
  )
6653
6705
  ));
6654
6706
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
6655
- var DropdownMenuSubContent = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React58.createElement(
6707
+ var DropdownMenuSubContent = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
6656
6708
  DropdownMenuPrimitive.SubContent,
6657
6709
  {
6658
6710
  ref,
@@ -6664,7 +6716,7 @@ var DropdownMenuSubContent = React58.forwardRef(({ className, ...props }, ref) =
6664
6716
  }
6665
6717
  ));
6666
6718
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
6667
- var DropdownMenuContent = React58.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React58.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React58.createElement(
6719
+ var DropdownMenuContent = React59.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React59.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React59.createElement(
6668
6720
  DropdownMenuPrimitive.Content,
6669
6721
  {
6670
6722
  ref,
@@ -6677,8 +6729,8 @@ var DropdownMenuContent = React58.forwardRef(({ className, sideOffset = 4, ...pr
6677
6729
  }
6678
6730
  )));
6679
6731
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
6680
- var DropdownMenuItem = React58.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
6681
- return /* @__PURE__ */ React58.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React58.createElement(
6732
+ var DropdownMenuItem = React59.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
6733
+ return /* @__PURE__ */ React59.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React59.createElement(
6682
6734
  DropdownMenuPrimitive.Item,
6683
6735
  {
6684
6736
  disabled: props.disabled,
@@ -6691,14 +6743,14 @@ var DropdownMenuItem = React58.forwardRef(({ className, inset, badged, slug, Lin
6691
6743
  ),
6692
6744
  ...props
6693
6745
  },
6694
- /* @__PURE__ */ React58.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
6746
+ /* @__PURE__ */ React59.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
6695
6747
  props.end && props.end,
6696
- !props.end && props.shortcut && /* @__PURE__ */ React58.createElement(DropdownMenuShortcut, null, props.shortcut),
6697
- !props.end && badged && /* @__PURE__ */ React58.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
6748
+ !props.end && props.shortcut && /* @__PURE__ */ React59.createElement(DropdownMenuShortcut, null, props.shortcut),
6749
+ !props.end && badged && /* @__PURE__ */ React59.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
6698
6750
  ));
6699
6751
  });
6700
6752
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
6701
- var DropdownMenuCheckboxItem = React58.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React58.createElement(
6753
+ var DropdownMenuCheckboxItem = React59.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React59.createElement(
6702
6754
  DropdownMenuPrimitive.CheckboxItem,
6703
6755
  {
6704
6756
  ref,
@@ -6709,7 +6761,7 @@ var DropdownMenuCheckboxItem = React58.forwardRef(({ className, children, checke
6709
6761
  checked,
6710
6762
  ...props
6711
6763
  },
6712
- /* @__PURE__ */ React58.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React58.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React58.createElement(
6764
+ /* @__PURE__ */ React59.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React59.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React59.createElement(
6713
6765
  "svg",
6714
6766
  {
6715
6767
  "aria-label": "Check Mark",
@@ -6720,12 +6772,12 @@ var DropdownMenuCheckboxItem = React58.forwardRef(({ className, children, checke
6720
6772
  height: "0.60em",
6721
6773
  width: "0.60em"
6722
6774
  },
6723
- /* @__PURE__ */ React58.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
6775
+ /* @__PURE__ */ React59.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
6724
6776
  ), " ")),
6725
6777
  children
6726
6778
  ));
6727
6779
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
6728
- var DropdownMenuRadioItem = React58.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React58.createElement(
6780
+ var DropdownMenuRadioItem = React59.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React59.createElement(
6729
6781
  DropdownMenuPrimitive.RadioItem,
6730
6782
  {
6731
6783
  ref,
@@ -6735,7 +6787,7 @@ var DropdownMenuRadioItem = React58.forwardRef(({ className, children, ...props
6735
6787
  ),
6736
6788
  ...props
6737
6789
  },
6738
- /* @__PURE__ */ React58.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React58.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React58.createElement(
6790
+ /* @__PURE__ */ React59.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React59.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React59.createElement(
6739
6791
  "svg",
6740
6792
  {
6741
6793
  xmlns: "http://www.w3.org/2000/svg",
@@ -6750,12 +6802,12 @@ var DropdownMenuRadioItem = React58.forwardRef(({ className, children, ...props
6750
6802
  strokeLinejoin: "round",
6751
6803
  className: "hawa-h-2 hawa-w-2 hawa-fill-current"
6752
6804
  },
6753
- /* @__PURE__ */ React58.createElement("circle", { cx: "12", cy: "12", r: "10" })
6805
+ /* @__PURE__ */ React59.createElement("circle", { cx: "12", cy: "12", r: "10" })
6754
6806
  ))),
6755
6807
  children
6756
6808
  ));
6757
6809
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
6758
- var DropdownMenuLabel = React58.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React58.createElement(
6810
+ var DropdownMenuLabel = React59.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React59.createElement(
6759
6811
  DropdownMenuPrimitive.Label,
6760
6812
  {
6761
6813
  ref,
@@ -6768,7 +6820,7 @@ var DropdownMenuLabel = React58.forwardRef(({ className, inset, ...props }, ref)
6768
6820
  }
6769
6821
  ));
6770
6822
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
6771
- var DropdownMenuSeparator = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React58.createElement(
6823
+ var DropdownMenuSeparator = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
6772
6824
  DropdownMenuPrimitive.Separator,
6773
6825
  {
6774
6826
  ref,
@@ -6781,7 +6833,7 @@ var DropdownMenuShortcut = ({
6781
6833
  className,
6782
6834
  ...props
6783
6835
  }) => {
6784
- return /* @__PURE__ */ React58.createElement(
6836
+ return /* @__PURE__ */ React59.createElement(
6785
6837
  "span",
6786
6838
  {
6787
6839
  className: cn(
@@ -6821,10 +6873,10 @@ var DropdownMenu = ({
6821
6873
  default: "hawa-px-2 hawa-py-3 ",
6822
6874
  sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
6823
6875
  };
6824
- let [values, setValues] = React58.useState(
6876
+ let [values, setValues] = React59.useState(
6825
6877
  items.map((item) => item.currentOption)
6826
6878
  );
6827
- return /* @__PURE__ */ React58.createElement(
6879
+ return /* @__PURE__ */ React59.createElement(
6828
6880
  DropdownMenuRoot,
6829
6881
  {
6830
6882
  onOpenChange,
@@ -6832,8 +6884,8 @@ var DropdownMenu = ({
6832
6884
  modal: false,
6833
6885
  dir: direction
6834
6886
  },
6835
- /* @__PURE__ */ React58.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
6836
- /* @__PURE__ */ React58.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React58.createElement(
6887
+ /* @__PURE__ */ React59.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
6888
+ /* @__PURE__ */ React59.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React59.createElement(
6837
6889
  DropdownMenuContent,
6838
6890
  {
6839
6891
  side,
@@ -6854,12 +6906,12 @@ var DropdownMenu = ({
6854
6906
  var _a;
6855
6907
  const ItemLinkComponent = item.slug ? LinkComponent : "a";
6856
6908
  if (item.itemType === "separator") {
6857
- return /* @__PURE__ */ React58.createElement(DropdownMenuSeparator, { key: index });
6909
+ return /* @__PURE__ */ React59.createElement(DropdownMenuSeparator, { key: index });
6858
6910
  } else if (item.itemType === "label") {
6859
- return /* @__PURE__ */ React58.createElement(DropdownMenuLabel, { key: index }, item.label);
6911
+ return /* @__PURE__ */ React59.createElement(DropdownMenuLabel, { key: index }, item.label);
6860
6912
  } else if (item.itemType === "radio") {
6861
6913
  let dd = item.currentOption;
6862
- return /* @__PURE__ */ React58.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React58.createElement(
6914
+ return /* @__PURE__ */ React59.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React59.createElement(
6863
6915
  DropdownMenuSubTrigger,
6864
6916
  {
6865
6917
  dir: direction,
@@ -6867,7 +6919,7 @@ var DropdownMenu = ({
6867
6919
  },
6868
6920
  item.icon && item.icon,
6869
6921
  item.label && item.label
6870
- ), /* @__PURE__ */ React58.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React58.createElement(
6922
+ ), /* @__PURE__ */ React59.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React59.createElement(
6871
6923
  DropdownMenuRadioGroup,
6872
6924
  {
6873
6925
  value: values[index],
@@ -6881,12 +6933,12 @@ var DropdownMenu = ({
6881
6933
  }
6882
6934
  }
6883
6935
  },
6884
- (_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React58.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
6936
+ (_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React59.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
6885
6937
  )));
6886
6938
  } else if (item.itemType === "custom") {
6887
- return /* @__PURE__ */ React58.createElement("div", { key: index }, item.content);
6939
+ return /* @__PURE__ */ React59.createElement("div", { key: index }, item.content);
6888
6940
  } else {
6889
- return item.subitems ? /* @__PURE__ */ React58.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React58.createElement(
6941
+ return item.subitems ? /* @__PURE__ */ React59.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React59.createElement(
6890
6942
  DropdownMenuSubTrigger,
6891
6943
  {
6892
6944
  dir: direction,
@@ -6894,9 +6946,9 @@ var DropdownMenu = ({
6894
6946
  },
6895
6947
  item.icon && item.icon,
6896
6948
  item.label && item.label
6897
- ), /* @__PURE__ */ React58.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React58.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
6949
+ ), /* @__PURE__ */ React59.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React59.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
6898
6950
  const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
6899
- return /* @__PURE__ */ React58.createElement(
6951
+ return /* @__PURE__ */ React59.createElement(
6900
6952
  DropdownMenuItem,
6901
6953
  {
6902
6954
  key: subIndex,
@@ -6925,7 +6977,7 @@ var DropdownMenu = ({
6925
6977
  subitem.icon && subitem.icon,
6926
6978
  subitem.label && subitem.label
6927
6979
  );
6928
- })))) : /* @__PURE__ */ React58.createElement(
6980
+ })))) : /* @__PURE__ */ React59.createElement(
6929
6981
  DropdownMenuItem,
6930
6982
  {
6931
6983
  LinkComponent: ItemLinkComponent,
@@ -7439,9 +7491,9 @@ var CardPrice = (props) => /* @__PURE__ */ import_react60.default.createElement(
7439
7491
  var import_react61 = __toESM(require("react"));
7440
7492
 
7441
7493
  // elements/progress/Progress.tsx
7442
- var React64 = __toESM(require("react"));
7494
+ var React65 = __toESM(require("react"));
7443
7495
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
7444
- var Progress = React64.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React64.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React64.createElement(Label, { ...props.labelProps }, props.label), /* @__PURE__ */ React64.createElement(
7496
+ var Progress = React65.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React65.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React65.createElement(Label, { ...props.labelProps }, props.label), /* @__PURE__ */ React65.createElement(
7445
7497
  ProgressPrimitive.Root,
7446
7498
  {
7447
7499
  ref,
@@ -7451,7 +7503,7 @@ var Progress = React64.forwardRef(({ className, value, ...props }, ref) => /* @_
7451
7503
  ),
7452
7504
  ...props
7453
7505
  },
7454
- /* @__PURE__ */ React64.createElement(
7506
+ /* @__PURE__ */ React65.createElement(
7455
7507
  ProgressPrimitive.Indicator,
7456
7508
  {
7457
7509
  className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",