@sikka/hawa 0.19.15-next → 0.19.18-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -169,7 +169,7 @@ __export(components_exports, {
169
169
  ScrollBar: () => ScrollBar,
170
170
  ScrollIndicator: () => ScrollIndicator,
171
171
  Select: () => Select,
172
- Separator: () => Separator2,
172
+ Separator: () => Separator,
173
173
  Sheet: () => Sheet,
174
174
  SheetClose: () => SheetClose,
175
175
  SheetContent: () => SheetContent,
@@ -845,10 +845,30 @@ var Tooltip = ({
845
845
  );
846
846
  };
847
847
 
848
+ // components/elements/Separator.tsx
849
+ var React10 = __toESM(require("react"));
850
+ var Separator = ({
851
+ className,
852
+ orientation = "horizontal",
853
+ ...props
854
+ }) => /* @__PURE__ */ React10.createElement(
855
+ "div",
856
+ {
857
+ className: cn(
858
+ "hawa-shrink-0 hawa-bg-border",
859
+ orientation === "horizontal" ? "hawa-h-[1px] hawa-w-full" : "hawa-h-full hawa-w-[1px]",
860
+ className
861
+ ),
862
+ ...props
863
+ }
864
+ );
865
+
848
866
  // components/elements/cards/PricingCard.tsx
849
867
  var PricingCard = ({
850
868
  size = "medium",
851
869
  direction = "ltr",
870
+ endButton = true,
871
+ recommended,
852
872
  currentPlan = false,
853
873
  ...props
854
874
  }) => {
@@ -865,64 +885,82 @@ var PricingCard = ({
865
885
  className: cn(
866
886
  currentPlan ? "hawa-border-primary dark:hawa-border-primary/70 hawa-border-2 " : "hawa-border",
867
887
  cardSizes[size],
868
- "hawa-flex hawa-flex-col hawa-gap-4 hawa-rounded hawa-p-4 hawa-justify-between"
888
+ "hawa-flex hawa-gap-4 hawa-p-4 hawa-justify-between hawa-flex-col hawa-relative",
889
+ recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
869
890
  )
870
891
  },
871
- /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-row hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ import_react7.default.createElement("span", null, props.texts.title), props.discount && /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react7.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react7.default.createElement("div", { className: " hawa-text-primary hawa-flex hawa-items-baseline" }, props.isLoading ? /* @__PURE__ */ import_react7.default.createElement(Skeleton, { className: "hawa-w-full hawa-max-w-[200px] hawa-h-[48px] hawa-p-0 " }) : /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, props.texts.currencyText)), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal hawa-text-primary/70" }, "/ ", props.texts.cycleText))), /* @__PURE__ */ import_react7.default.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, props.texts.subtitle), props.features && /* @__PURE__ */ import_react7.default.createElement("ul", { role: "list", className: "hawa-space-y-0 hawa-overflow-x-auto" }, (_a = props.features) == null ? void 0 : _a.map((feature, o) => {
872
- return /* @__PURE__ */ import_react7.default.createElement(
873
- "li",
874
- {
875
- key: o,
876
- className: cn(
877
- "hawa-flex hawa-flex-row hawa-justify-between hawa-gap-2",
878
- !feature.included && "hawa-line-through"
879
- )
880
- },
881
- /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ import_react7.default.createElement(
882
- "svg",
892
+ recommended && /* @__PURE__ */ import_react7.default.createElement(
893
+ "div",
894
+ {
895
+ className: "hawa-bg-primary hawa-text-center hawa-text-primary-foreground hawa-p-2 hawa-border hawa-rounded-t hawa-absolute hawa-top-0 -hawa-left-[1px] -hawa-translate-y-full",
896
+ style: { width: "calc(100% + 2px)" }
897
+ },
898
+ props.texts.recommended || "RECOMMENDED"
899
+ ),
900
+ /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4 hawa-h-full" }, /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ import_react7.default.createElement("span", null, props.texts.title), /* @__PURE__ */ import_react7.default.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, props.texts.subtitle), props.discount && /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react7.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react7.default.createElement("div", { className: " hawa-text-primary hawa-flex hawa-items-baseline" }, props.isLoading ? /* @__PURE__ */ import_react7.default.createElement(Skeleton, { className: "hawa-w-full hawa-max-w-[200px] hawa-h-[48px] hawa-p-0 " }) : /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2 hawa-items-end" }, props.oldPrice && /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + props.texts.currencyText), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, props.texts.currencyText)), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-whitespace-nowrap hawa-font-normal hawa-text-primary/70" }, "/ ", props.texts.cycleText))), endButton && /* @__PURE__ */ import_react7.default.createElement(Separator, null), /* @__PURE__ */ import_react7.default.createElement(
901
+ "div",
902
+ {
903
+ className: cn(
904
+ "hawa-flex hawa-gap-4 hawa-justify-between hawa-h-full",
905
+ endButton ? "hawa-flex-col" : "hawa-flex-col-reverse"
906
+ )
907
+ },
908
+ props.features && /* @__PURE__ */ import_react7.default.createElement("ul", { role: "list", className: "hawa-space-y-0 hawa-overflow-x-auto" }, (_a = props.features) == null ? void 0 : _a.map((feature, o) => {
909
+ return /* @__PURE__ */ import_react7.default.createElement(
910
+ "li",
883
911
  {
884
- "aria-label": "Check Icon",
885
- "aria-hidden": "true",
886
- className: "hawa-m-2 hawa-h-5 hawa-w-5 hawa-flex-shrink-0 hawa-text-primary",
887
- fill: "currentColor",
888
- viewBox: "0 0 20 20"
912
+ key: o,
913
+ className: cn(
914
+ "hawa-flex hawa-flex-row hawa-justify-between hawa-gap-2",
915
+ !feature.included && "hawa-line-through"
916
+ )
889
917
  },
890
- /* @__PURE__ */ import_react7.default.createElement(
891
- "path",
918
+ /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ import_react7.default.createElement(
919
+ "svg",
892
920
  {
893
- fillRule: "evenodd",
894
- d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
895
- clipRule: "evenodd"
896
- }
897
- )
898
- ) : /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-w-4 hawa-h-4 hawa-rounded-full hawa-bg-primary/10 hawa-m-2 hawa-mx-2.5" }), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-flex hawa-items-center hawa-flex-row hawa-gap-2 hawa-text-start hawa-whitespace-nowrap hawa-font-normal hawa-leading-tight hawa-text-primary/70 " }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ import_react7.default.createElement(Chip, { label: "soon", color: "oceanic", size: "small" }))),
899
- feature.hint && /* @__PURE__ */ import_react7.default.createElement(Tooltip, { content: feature.hint, side: feature.hintSide }, /* @__PURE__ */ import_react7.default.createElement(
900
- "svg",
901
- {
902
- xmlns: "http://www.w3.org/2000/svg",
903
- className: "hawa-w-[14px] hawa-h-[14px] hawa-cursor-help",
904
- viewBox: "0 0 24 24",
905
- fill: "none",
906
- stroke: "currentColor",
907
- strokeWidth: "2",
908
- strokeLinecap: "round",
909
- strokeLinejoin: "round"
910
- },
911
- /* @__PURE__ */ import_react7.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
912
- /* @__PURE__ */ import_react7.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
913
- /* @__PURE__ */ import_react7.default.createElement("path", { d: "M12 17h.01" })
914
- ))
915
- );
916
- }))),
917
- /* @__PURE__ */ import_react7.default.createElement(
918
- Button,
919
- {
920
- onClick: props.onPlanClicked,
921
- disabled: currentPlan,
922
- className: "hawa-w-full"
923
- },
924
- props.texts.buttonText
925
- )
921
+ "aria-label": "Check Icon",
922
+ "aria-hidden": "true",
923
+ className: "hawa-m-2 hawa-h-5 hawa-w-5 hawa-flex-shrink-0 hawa-text-primary",
924
+ fill: "currentColor",
925
+ viewBox: "0 0 20 20"
926
+ },
927
+ /* @__PURE__ */ import_react7.default.createElement(
928
+ "path",
929
+ {
930
+ fillRule: "evenodd",
931
+ d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
932
+ clipRule: "evenodd"
933
+ }
934
+ )
935
+ ) : /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-w-4 hawa-h-4 hawa-rounded-full hawa-bg-primary/10 hawa-m-2 hawa-mx-2.5" }), /* @__PURE__ */ import_react7.default.createElement("span", { className: "hawa-flex hawa-items-center hawa-flex-row hawa-gap-2 hawa-text-start hawa-whitespace-nowrap hawa-font-normal hawa-leading-tight hawa-text-primary/70 " }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ import_react7.default.createElement(Chip, { label: "soon", color: "oceanic", size: "small" }))),
936
+ feature.hint && /* @__PURE__ */ import_react7.default.createElement(Tooltip, { content: feature.hint, side: feature.hintSide }, /* @__PURE__ */ import_react7.default.createElement(
937
+ "svg",
938
+ {
939
+ xmlns: "http://www.w3.org/2000/svg",
940
+ className: "hawa-w-[14px] hawa-h-[14px] hawa-cursor-help",
941
+ viewBox: "0 0 24 24",
942
+ fill: "none",
943
+ stroke: "currentColor",
944
+ strokeWidth: "2",
945
+ strokeLinecap: "round",
946
+ strokeLinejoin: "round"
947
+ },
948
+ /* @__PURE__ */ import_react7.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
949
+ /* @__PURE__ */ import_react7.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
950
+ /* @__PURE__ */ import_react7.default.createElement("path", { d: "M12 17h.01" })
951
+ ))
952
+ );
953
+ })),
954
+ /* @__PURE__ */ import_react7.default.createElement(
955
+ Button,
956
+ {
957
+ onClick: props.onPlanClicked,
958
+ disabled: currentPlan,
959
+ className: "hawa-w-full"
960
+ },
961
+ props.texts.buttonText
962
+ )
963
+ ))
926
964
  );
927
965
  };
928
966
 
@@ -930,7 +968,7 @@ var PricingCard = ({
930
968
  var import_react9 = __toESM(require("react"));
931
969
 
932
970
  // components/elements/DropdownMenu.tsx
933
- var React11 = __toESM(require("react"));
971
+ var React12 = __toESM(require("react"));
934
972
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
935
973
  var DropdownMenuRoot = DropdownMenuPrimitive.Root;
936
974
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
@@ -938,7 +976,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
938
976
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
939
977
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
940
978
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
941
- var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
979
+ var DropdownMenuSubTrigger = React12.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React12.createElement(
942
980
  DropdownMenuPrimitive.SubTrigger,
943
981
  {
944
982
  ref,
@@ -949,9 +987,9 @@ var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, .
949
987
  ),
950
988
  ...props
951
989
  },
952
- /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
990
+ /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
953
991
  " ",
954
- /* @__PURE__ */ React11.createElement(
992
+ /* @__PURE__ */ React12.createElement(
955
993
  "svg",
956
994
  {
957
995
  "aria-label": "Chevron Right Icon",
@@ -963,7 +1001,7 @@ var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, .
963
1001
  width: "1em",
964
1002
  className: cn(props.dir === "rtl" ? "hawa-rotate-180" : "")
965
1003
  },
966
- /* @__PURE__ */ React11.createElement(
1004
+ /* @__PURE__ */ React12.createElement(
967
1005
  "path",
968
1006
  {
969
1007
  fillRule: "evenodd",
@@ -973,7 +1011,7 @@ var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, .
973
1011
  )
974
1012
  ));
975
1013
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
976
- var DropdownMenuSubContent = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1014
+ var DropdownMenuSubContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
977
1015
  DropdownMenuPrimitive.SubContent,
978
1016
  {
979
1017
  ref,
@@ -985,7 +1023,7 @@ var DropdownMenuSubContent = React11.forwardRef(({ className, ...props }, ref) =
985
1023
  }
986
1024
  ));
987
1025
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
988
- var DropdownMenuContent = React11.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React11.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React11.createElement(
1026
+ var DropdownMenuContent = React12.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React12.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React12.createElement(
989
1027
  DropdownMenuPrimitive.Content,
990
1028
  {
991
1029
  ref,
@@ -998,8 +1036,8 @@ var DropdownMenuContent = React11.forwardRef(({ className, sideOffset = 4, ...pr
998
1036
  }
999
1037
  )));
1000
1038
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1001
- var DropdownMenuItem = React11.forwardRef(({ className, inset, badged, slug, ...props }, ref) => {
1002
- return /* @__PURE__ */ React11.createElement("a", { href: slug }, /* @__PURE__ */ React11.createElement(
1039
+ var DropdownMenuItem = React12.forwardRef(({ className, inset, badged, slug, ...props }, ref) => {
1040
+ return /* @__PURE__ */ React12.createElement("a", { href: slug }, /* @__PURE__ */ React12.createElement(
1003
1041
  DropdownMenuPrimitive.Item,
1004
1042
  {
1005
1043
  disabled: props.disabled,
@@ -1012,14 +1050,14 @@ var DropdownMenuItem = React11.forwardRef(({ className, inset, badged, slug, ...
1012
1050
  ),
1013
1051
  ...props
1014
1052
  },
1015
- /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
1053
+ /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
1016
1054
  props.end && props.end,
1017
- !props.end && props.shortcut && /* @__PURE__ */ React11.createElement(DropdownMenuShortcut, null, props.shortcut),
1018
- !props.end && badged && /* @__PURE__ */ React11.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-bg-red-500 hawa-rounded-full" })
1055
+ !props.end && props.shortcut && /* @__PURE__ */ React12.createElement(DropdownMenuShortcut, null, props.shortcut),
1056
+ !props.end && badged && /* @__PURE__ */ React12.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-bg-red-500 hawa-rounded-full" })
1019
1057
  ));
1020
1058
  });
1021
1059
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1022
- var DropdownMenuCheckboxItem = React11.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1060
+ var DropdownMenuCheckboxItem = React12.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1023
1061
  DropdownMenuPrimitive.CheckboxItem,
1024
1062
  {
1025
1063
  ref,
@@ -1030,7 +1068,7 @@ var DropdownMenuCheckboxItem = React11.forwardRef(({ className, children, checke
1030
1068
  checked,
1031
1069
  ...props
1032
1070
  },
1033
- /* @__PURE__ */ React11.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__ */ React11.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React11.createElement(
1071
+ /* @__PURE__ */ React12.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__ */ React12.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React12.createElement(
1034
1072
  "svg",
1035
1073
  {
1036
1074
  "aria-label": "Check Mark",
@@ -1041,12 +1079,12 @@ var DropdownMenuCheckboxItem = React11.forwardRef(({ className, children, checke
1041
1079
  height: "0.60em",
1042
1080
  width: "0.60em"
1043
1081
  },
1044
- /* @__PURE__ */ React11.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" })
1082
+ /* @__PURE__ */ React12.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" })
1045
1083
  ), " ")),
1046
1084
  children
1047
1085
  ));
1048
1086
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1049
- var DropdownMenuRadioItem = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1087
+ var DropdownMenuRadioItem = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1050
1088
  DropdownMenuPrimitive.RadioItem,
1051
1089
  {
1052
1090
  ref,
@@ -1056,7 +1094,7 @@ var DropdownMenuRadioItem = React11.forwardRef(({ className, children, ...props
1056
1094
  ),
1057
1095
  ...props
1058
1096
  },
1059
- /* @__PURE__ */ React11.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__ */ React11.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React11.createElement(
1097
+ /* @__PURE__ */ React12.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__ */ React12.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React12.createElement(
1060
1098
  "svg",
1061
1099
  {
1062
1100
  xmlns: "http://www.w3.org/2000/svg",
@@ -1071,12 +1109,12 @@ var DropdownMenuRadioItem = React11.forwardRef(({ className, children, ...props
1071
1109
  strokeLinejoin: "round",
1072
1110
  className: "hawa-h-2 hawa-w-2 hawa-fill-current"
1073
1111
  },
1074
- /* @__PURE__ */ React11.createElement("circle", { cx: "12", cy: "12", r: "10" })
1112
+ /* @__PURE__ */ React12.createElement("circle", { cx: "12", cy: "12", r: "10" })
1075
1113
  ))),
1076
1114
  children
1077
1115
  ));
1078
1116
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1079
- var DropdownMenuLabel = React11.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1117
+ var DropdownMenuLabel = React12.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1080
1118
  DropdownMenuPrimitive.Label,
1081
1119
  {
1082
1120
  ref,
@@ -1089,7 +1127,7 @@ var DropdownMenuLabel = React11.forwardRef(({ className, inset, ...props }, ref)
1089
1127
  }
1090
1128
  ));
1091
1129
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1092
- var DropdownMenuSeparator = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1130
+ var DropdownMenuSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1093
1131
  DropdownMenuPrimitive.Separator,
1094
1132
  {
1095
1133
  ref,
@@ -1102,7 +1140,7 @@ var DropdownMenuShortcut = ({
1102
1140
  className,
1103
1141
  ...props
1104
1142
  }) => {
1105
- return /* @__PURE__ */ React11.createElement(
1143
+ return /* @__PURE__ */ React12.createElement(
1106
1144
  "span",
1107
1145
  {
1108
1146
  className: cn(
@@ -1141,7 +1179,7 @@ var DropdownMenu = ({
1141
1179
  default: "hawa-px-2 hawa-py-3 ",
1142
1180
  sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
1143
1181
  };
1144
- return /* @__PURE__ */ React11.createElement(
1182
+ return /* @__PURE__ */ React12.createElement(
1145
1183
  DropdownMenuRoot,
1146
1184
  {
1147
1185
  onOpenChange,
@@ -1149,8 +1187,8 @@ var DropdownMenu = ({
1149
1187
  modal: false,
1150
1188
  dir: direction
1151
1189
  },
1152
- /* @__PURE__ */ React11.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
1153
- /* @__PURE__ */ React11.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React11.createElement(
1190
+ /* @__PURE__ */ React12.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
1191
+ /* @__PURE__ */ React12.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React12.createElement(
1154
1192
  DropdownMenuContent,
1155
1193
  {
1156
1194
  side,
@@ -1166,13 +1204,13 @@ var DropdownMenu = ({
1166
1204
  header && header,
1167
1205
  items && items.map((item, index) => {
1168
1206
  if (item.itemType === "separator") {
1169
- return /* @__PURE__ */ React11.createElement(DropdownMenuSeparator, { key: index });
1207
+ return /* @__PURE__ */ React12.createElement(DropdownMenuSeparator, { key: index });
1170
1208
  } else if (item.itemType === "label") {
1171
- return /* @__PURE__ */ React11.createElement(DropdownMenuLabel, { key: index }, item.label);
1209
+ return /* @__PURE__ */ React12.createElement(DropdownMenuLabel, { key: index }, item.label);
1172
1210
  } else if (item.itemType === "custom") {
1173
- return /* @__PURE__ */ React11.createElement("div", { key: index }, item.content);
1211
+ return /* @__PURE__ */ React12.createElement("div", { key: index }, item.content);
1174
1212
  } else {
1175
- return item.subitems ? /* @__PURE__ */ React11.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React11.createElement(
1213
+ return item.subitems ? /* @__PURE__ */ React12.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React12.createElement(
1176
1214
  DropdownMenuSubTrigger,
1177
1215
  {
1178
1216
  className: cn(sizeStyles[size]),
@@ -1180,7 +1218,7 @@ var DropdownMenu = ({
1180
1218
  },
1181
1219
  item.icon && item.icon,
1182
1220
  item.label && item.label
1183
- ), /* @__PURE__ */ React11.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React11.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React11.createElement(
1221
+ ), /* @__PURE__ */ React12.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React12.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React12.createElement(
1184
1222
  DropdownMenuItem,
1185
1223
  {
1186
1224
  slug: subitem.slug,
@@ -1207,7 +1245,7 @@ var DropdownMenu = ({
1207
1245
  },
1208
1246
  subitem.icon && subitem.icon,
1209
1247
  subitem.label && subitem.label
1210
- ))))) : /* @__PURE__ */ React11.createElement(
1248
+ ))))) : /* @__PURE__ */ React12.createElement(
1211
1249
  DropdownMenuItem,
1212
1250
  {
1213
1251
  slug: item.slug,
@@ -1259,13 +1297,13 @@ var DropdownMenu = ({
1259
1297
  );
1260
1298
  };
1261
1299
  var DropdownMenuRadio = (props) => {
1262
- return /* @__PURE__ */ React11.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React11.createElement(DropdownMenuTrigger, { asChild: true }, props.trigger), /* @__PURE__ */ React11.createElement(DropdownMenuContent, { align: props.align, side: props.side }, props.label && /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement(DropdownMenuLabel, null, props.label), /* @__PURE__ */ React11.createElement(DropdownMenuSeparator, null)), /* @__PURE__ */ React11.createElement(
1300
+ return /* @__PURE__ */ React12.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React12.createElement(DropdownMenuTrigger, { asChild: true }, props.trigger), /* @__PURE__ */ React12.createElement(DropdownMenuContent, { align: props.align, side: props.side }, props.label && /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(DropdownMenuLabel, null, props.label), /* @__PURE__ */ React12.createElement(DropdownMenuSeparator, null)), /* @__PURE__ */ React12.createElement(
1263
1301
  DropdownMenuRadioGroup,
1264
1302
  {
1265
1303
  value: props.value,
1266
1304
  onValueChange: props.onValueChange
1267
1305
  },
1268
- props.options.map((opt, i) => /* @__PURE__ */ React11.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
1306
+ props.options.map((opt, i) => /* @__PURE__ */ React12.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
1269
1307
  )));
1270
1308
  };
1271
1309
 
@@ -3184,8 +3222,8 @@ var import_react_select = __toESM(require("react-select"));
3184
3222
  var import_creatable = __toESM(require("react-select/creatable"));
3185
3223
 
3186
3224
  // components/elements/Label.tsx
3187
- var React16 = __toESM(require("react"));
3188
- var Label2 = React16.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React16.createElement("div", { className: "hawa-transition-all hawa-flex hawa-flex-row hawa-gap-1 hawa-items-center" }, /* @__PURE__ */ React16.createElement(
3225
+ var React17 = __toESM(require("react"));
3226
+ var Label2 = React17.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React17.createElement("div", { className: "hawa-transition-all hawa-flex hawa-flex-row hawa-gap-1 hawa-items-center" }, /* @__PURE__ */ React17.createElement(
3189
3227
  "label",
3190
3228
  {
3191
3229
  ref,
@@ -3196,8 +3234,8 @@ var Label2 = React16.forwardRef(({ className, hint, hintSide, required, children
3196
3234
  ...props
3197
3235
  },
3198
3236
  children,
3199
- required && /* @__PURE__ */ React16.createElement("span", { className: "hawa-text-red-500 hawa-mx-0.5" }, "*")
3200
- ), hint && /* @__PURE__ */ React16.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React16.createElement(
3237
+ required && /* @__PURE__ */ React17.createElement("span", { className: "hawa-text-red-500 hawa-mx-0.5" }, "*")
3238
+ ), hint && /* @__PURE__ */ React17.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React17.createElement(
3201
3239
  "svg",
3202
3240
  {
3203
3241
  xmlns: "http://www.w3.org/2000/svg",
@@ -3209,9 +3247,9 @@ var Label2 = React16.forwardRef(({ className, hint, hintSide, required, children
3209
3247
  strokeLinecap: "round",
3210
3248
  strokeLinejoin: "round"
3211
3249
  },
3212
- /* @__PURE__ */ React16.createElement("circle", { cx: "12", cy: "12", r: "10" }),
3213
- /* @__PURE__ */ React16.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
3214
- /* @__PURE__ */ React16.createElement("path", { d: "M12 17h.01" })
3250
+ /* @__PURE__ */ React17.createElement("circle", { cx: "12", cy: "12", r: "10" }),
3251
+ /* @__PURE__ */ React17.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
3252
+ /* @__PURE__ */ React17.createElement("path", { d: "M12 17h.01" })
3215
3253
  ))));
3216
3254
  Label2.displayName = "Label";
3217
3255
 
@@ -3430,7 +3468,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
3430
3468
  };
3431
3469
 
3432
3470
  // components/elements/Checkbox.tsx
3433
- var React19 = __toESM(require("react"));
3471
+ var React20 = __toESM(require("react"));
3434
3472
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
3435
3473
  var Checkbox = ({
3436
3474
  id,
@@ -3438,73 +3476,131 @@ var Checkbox = ({
3438
3476
  sublabel,
3439
3477
  helperText,
3440
3478
  disabled,
3479
+ size = "default",
3480
+ radius = "inherit",
3441
3481
  ...props
3442
3482
  }) => {
3443
- return /* @__PURE__ */ React19.createElement("div", { className: "hawa-items-top hawa-flex hawa-gap-2 " }, /* @__PURE__ */ React19.createElement(CheckboxElement, { ...props, disabled, id }), (label || helperText) && /* @__PURE__ */ React19.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React19.createElement(
3444
- "label",
3445
- {
3446
- htmlFor: id,
3447
- className: cn(
3448
- "hawa-w-fit hawa-select-none hawa-text-sm hawa-font-medium hawa-leading-none hawa-pt-0.5",
3449
- disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
3450
- )
3451
- },
3452
- label
3453
- ), sublabel && /* @__PURE__ */ React19.createElement(
3454
- "label",
3455
- {
3456
- htmlFor: id,
3457
- className: cn(
3458
- "hawa-w-fit hawa-select-none hawa-text-sm hawa-text-muted-foreground",
3459
- disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70" : "hawa-cursor-pointer"
3460
- )
3461
- },
3462
- sublabel
3463
- ), helperText && !disabled && /* @__PURE__ */ React19.createElement(
3464
- "label",
3483
+ let labelLineHeightStyles = {
3484
+ xs: sublabel || helperText ? 0.5 : 0.1,
3485
+ sm: 0.6,
3486
+ default: 0.7,
3487
+ md: 0.8,
3488
+ lg: 0.9,
3489
+ xl: 1
3490
+ };
3491
+ return /* @__PURE__ */ React20.createElement(
3492
+ "div",
3465
3493
  {
3466
- htmlFor: id,
3467
3494
  className: cn(
3468
- "hawa-w-fit hawa-select-none hawa-text-xs hawa-text-helper-color",
3469
- disabled && "hawa-cursor-not-allowed hawa-opacity-70"
3495
+ "hawa-flex hawa-gap-2",
3496
+ "hawa-items-top",
3497
+ sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
3470
3498
  )
3471
3499
  },
3472
- helperText
3473
- )));
3474
- };
3475
- var CheckboxElement = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React19.createElement(
3476
- CheckboxPrimitive.Root,
3477
- {
3478
- ref,
3479
- className: cn(
3480
- "hawa-peer hawa-icon hawa-shrink-0 hawa-rounded-sm hawa-border hawa-border-primary hawa-ring-offset-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50 data-[state=checked]:hawa-bg-primary data-[state=checked]:hawa-text-primary-foreground",
3481
- className
3500
+ /* @__PURE__ */ React20.createElement(
3501
+ CheckboxElement,
3502
+ {
3503
+ ...props,
3504
+ size,
3505
+ radius,
3506
+ disabled,
3507
+ id
3508
+ }
3482
3509
  ),
3483
- ...props
3484
- },
3485
- /* @__PURE__ */ React19.createElement(
3486
- CheckboxPrimitive.Indicator,
3510
+ (label || helperText) && /* @__PURE__ */ React20.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React20.createElement(
3511
+ "label",
3512
+ {
3513
+ htmlFor: id,
3514
+ className: cn(
3515
+ "hawa-w-fit hawa-select-none hawa-text-sm hawa-font-medium hawa-leading-none hawa-pt-0.5",
3516
+ disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
3517
+ ),
3518
+ style: {
3519
+ lineHeight: labelLineHeightStyles[size]
3520
+ }
3521
+ },
3522
+ label
3523
+ ), sublabel && /* @__PURE__ */ React20.createElement(
3524
+ "label",
3525
+ {
3526
+ htmlFor: id,
3527
+ className: cn(
3528
+ "hawa-w-fit hawa-select-none hawa-text-sm hawa-text-muted-foreground",
3529
+ disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70" : "hawa-cursor-pointer"
3530
+ )
3531
+ },
3532
+ sublabel
3533
+ ), helperText && !disabled && /* @__PURE__ */ React20.createElement(
3534
+ "label",
3535
+ {
3536
+ htmlFor: id,
3537
+ className: cn(
3538
+ "hawa-w-fit hawa-select-none hawa-text-xs hawa-text-helper-color",
3539
+ disabled && "hawa-cursor-not-allowed hawa-opacity-70"
3540
+ )
3541
+ },
3542
+ helperText
3543
+ ))
3544
+ );
3545
+ };
3546
+ var CheckboxElement = React20.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
3547
+ let checkboxRadius = {
3548
+ none: "hawa-rounded-none",
3549
+ inherit: "hawa-rounded-sm",
3550
+ full: "hawa-rounded-full"
3551
+ };
3552
+ let checkboxSizes = {
3553
+ xs: "hawa-w-3 hawa-h-3",
3554
+ sm: "hawa-w-6 hawa-h-6",
3555
+ default: "hawa-icon",
3556
+ md: "hawa-w-8 hawa-h-8",
3557
+ lg: "hawa-w-10 hawa-h-10",
3558
+ xl: "hawa-w-12 hawa-h-12"
3559
+ };
3560
+ let checkboxIndicatorSizes = {
3561
+ xs: "0.5em",
3562
+ default: "0.60em",
3563
+ sm: "0.75em",
3564
+ md: "0.875em",
3565
+ lg: "1em",
3566
+ xl: "1.25em"
3567
+ };
3568
+ return /* @__PURE__ */ React20.createElement(
3569
+ CheckboxPrimitive.Root,
3487
3570
  {
3571
+ ref,
3488
3572
  className: cn(
3489
- "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
3490
- )
3573
+ "hawa-peer hawa-shrink-0 hawa-border hawa-border-primary hawa-ring-offset-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50 data-[state=checked]:hawa-bg-primary data-[state=checked]:hawa-text-primary-foreground",
3574
+ checkboxSizes[size],
3575
+ checkboxRadius[radius],
3576
+ className
3577
+ ),
3578
+ ...props
3491
3579
  },
3492
- /* @__PURE__ */ React19.createElement(
3493
- "svg",
3580
+ /* @__PURE__ */ React20.createElement(
3581
+ CheckboxPrimitive.Indicator,
3494
3582
  {
3495
- "aria-label": "Check Mark",
3496
- stroke: "currentColor",
3497
- fill: "currentColor",
3498
- strokeWidth: "0",
3499
- viewBox: "0 0 512 512",
3500
- height: "0.60em",
3501
- width: "0.60em"
3583
+ className: cn(
3584
+ "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
3585
+ )
3502
3586
  },
3503
- /* @__PURE__ */ React19.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" })
3504
- ),
3505
- " "
3506
- )
3507
- ));
3587
+ /* @__PURE__ */ React20.createElement(
3588
+ "svg",
3589
+ {
3590
+ "aria-label": "Check Mark",
3591
+ stroke: "currentColor",
3592
+ fill: "currentColor",
3593
+ strokeWidth: "0",
3594
+ viewBox: "0 0 512 512",
3595
+ height: checkboxIndicatorSizes[size],
3596
+ width: checkboxIndicatorSizes[size]
3597
+ },
3598
+ /* @__PURE__ */ React20.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" })
3599
+ ),
3600
+ " "
3601
+ )
3602
+ );
3603
+ });
3508
3604
  CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
3509
3605
 
3510
3606
  // components/elements/Radio.tsx
@@ -3694,15 +3790,15 @@ var Radio = ({
3694
3790
  };
3695
3791
 
3696
3792
  // components/elements/Switch.tsx
3697
- var React21 = __toESM(require("react"));
3793
+ var React22 = __toESM(require("react"));
3698
3794
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
3699
- var Switch = React21.forwardRef(
3795
+ var Switch = React22.forwardRef(
3700
3796
  ({ className, size = "default", roundedness = "inherit", label, ...props }, ref) => {
3701
- const [parentDirection, setParentDirection] = React21.useState(
3797
+ const [parentDirection, setParentDirection] = React22.useState(
3702
3798
  null
3703
3799
  );
3704
- const parentRef = React21.useRef(null);
3705
- React21.useEffect(() => {
3800
+ const parentRef = React22.useRef(null);
3801
+ React22.useEffect(() => {
3706
3802
  var _a;
3707
3803
  const parentNode = (_a = parentRef.current) == null ? void 0 : _a.parentNode;
3708
3804
  if (parentNode) {
@@ -3730,13 +3826,13 @@ var Switch = React21.forwardRef(
3730
3826
  full: "hawa-rounded-full",
3731
3827
  inherit: "hawa-rounded-inner"
3732
3828
  };
3733
- return /* @__PURE__ */ React21.createElement(
3829
+ return /* @__PURE__ */ React22.createElement(
3734
3830
  "div",
3735
3831
  {
3736
3832
  className: "hawa-flex hawa-flex-row hawa-items-center",
3737
3833
  ref: parentRef
3738
3834
  },
3739
- /* @__PURE__ */ React21.createElement(
3835
+ /* @__PURE__ */ React22.createElement(
3740
3836
  SwitchPrimitives.Root,
3741
3837
  {
3742
3838
  className: cn(
@@ -3750,7 +3846,7 @@ var Switch = React21.forwardRef(
3750
3846
  ...props,
3751
3847
  ref
3752
3848
  },
3753
- /* @__PURE__ */ React21.createElement(
3849
+ /* @__PURE__ */ React22.createElement(
3754
3850
  SwitchPrimitives.Thumb,
3755
3851
  {
3756
3852
  className: cn(
@@ -3764,15 +3860,15 @@ var Switch = React21.forwardRef(
3764
3860
  }
3765
3861
  )
3766
3862
  ),
3767
- label && /* @__PURE__ */ React21.createElement("span", { className: "hawa-mx-2 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label)
3863
+ label && /* @__PURE__ */ React22.createElement("span", { className: "hawa-mx-2 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label)
3768
3864
  );
3769
3865
  }
3770
3866
  );
3771
3867
  Switch.displayName = SwitchPrimitives.Root.displayName;
3772
3868
 
3773
3869
  // components/elements/Textarea.tsx
3774
- var React22 = __toESM(require("react"));
3775
- var Textarea = React22.forwardRef(
3870
+ var React23 = __toESM(require("react"));
3871
+ var Textarea = React23.forwardRef(
3776
3872
  ({
3777
3873
  className,
3778
3874
  labelProps,
@@ -3782,7 +3878,7 @@ var Textarea = React22.forwardRef(
3782
3878
  countPosition = "bottom",
3783
3879
  ...props
3784
3880
  }, ref) => {
3785
- return /* @__PURE__ */ React22.createElement("div", { className: "hawa-relative hawa-flex hawa-w-full hawa-flex-col hawa-gap-2 hawa-h-full" }, props.label && /* @__PURE__ */ React22.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ React22.createElement(
3881
+ return /* @__PURE__ */ React23.createElement("div", { className: "hawa-relative hawa-flex hawa-w-full hawa-flex-col hawa-gap-2 hawa-h-full" }, props.label && /* @__PURE__ */ React23.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ React23.createElement(
3786
3882
  "textarea",
3787
3883
  {
3788
3884
  className: cn(
@@ -3792,7 +3888,7 @@ var Textarea = React22.forwardRef(
3792
3888
  ref,
3793
3889
  ...textareaProps
3794
3890
  }
3795
- ), /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React22.createElement(
3891
+ ), /* @__PURE__ */ React23.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React23.createElement(
3796
3892
  "p",
3797
3893
  {
3798
3894
  className: cn(
@@ -3801,7 +3897,7 @@ var Textarea = React22.forwardRef(
3801
3897
  )
3802
3898
  },
3803
3899
  props.helperText
3804
- ), showCount && /* @__PURE__ */ React22.createElement(
3900
+ ), showCount && /* @__PURE__ */ React23.createElement(
3805
3901
  "div",
3806
3902
  {
3807
3903
  className: cn(
@@ -3820,9 +3916,9 @@ var Textarea = React22.forwardRef(
3820
3916
  Textarea.displayName = "Textarea";
3821
3917
 
3822
3918
  // components/elements/Slider.tsx
3823
- var React23 = __toESM(require("react"));
3919
+ var React24 = __toESM(require("react"));
3824
3920
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"));
3825
- var Slider = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23.createElement(
3921
+ var Slider = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
3826
3922
  SliderPrimitive.Root,
3827
3923
  {
3828
3924
  ref,
@@ -3832,8 +3928,8 @@ var Slider = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
3832
3928
  ),
3833
3929
  ...props
3834
3930
  },
3835
- /* @__PURE__ */ React23.createElement(SliderPrimitive.Track, { className: "hawa-relative hawa-h-2 hawa-w-full hawa-grow hawa-overflow-hidden hawa-rounded-full hawa-bg-background hawa-border" }, /* @__PURE__ */ React23.createElement(SliderPrimitive.Range, { className: "hawa-absolute hawa-h-full hawa-bg-primary" })),
3836
- /* @__PURE__ */ React23.createElement(SliderPrimitive.Thumb, { className: "hawa-block hawa-h-5 hawa-w-5 hawa-rounded-full hawa-border-2 hawa-border-primary hawa-bg-background hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50" })
3931
+ /* @__PURE__ */ React24.createElement(SliderPrimitive.Track, { className: "hawa-relative hawa-h-2 hawa-w-full hawa-grow hawa-overflow-hidden hawa-rounded-full hawa-bg-background hawa-border" }, /* @__PURE__ */ React24.createElement(SliderPrimitive.Range, { className: "hawa-absolute hawa-h-full hawa-bg-primary" })),
3932
+ /* @__PURE__ */ React24.createElement(SliderPrimitive.Thumb, { className: "hawa-block hawa-h-5 hawa-w-5 hawa-rounded-full hawa-border-2 hawa-border-primary hawa-bg-background hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50" })
3837
3933
  ));
3838
3934
  Slider.displayName = SliderPrimitive.Root.displayName;
3839
3935
 
@@ -4035,20 +4131,20 @@ var Input = (0, import_react16.forwardRef)(
4035
4131
  );
4036
4132
 
4037
4133
  // components/elements/Combobox.tsx
4038
- var React29 = __toESM(require("react"));
4134
+ var React30 = __toESM(require("react"));
4039
4135
  var PopoverPrimitive2 = __toESM(require("@radix-ui/react-popover"));
4040
4136
 
4041
4137
  // components/elements/Command.tsx
4042
- var React27 = __toESM(require("react"));
4138
+ var React28 = __toESM(require("react"));
4043
4139
  var import_cmdk = require("cmdk");
4044
4140
 
4045
4141
  // components/elements/Dialog.tsx
4046
- var React26 = __toESM(require("react"));
4142
+ var React27 = __toESM(require("react"));
4047
4143
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
4048
4144
  var Dialog = DialogPrimitive.Root;
4049
4145
  var DialogTrigger = DialogPrimitive.Trigger;
4050
- var DialogPortal = ({ ...props }) => /* @__PURE__ */ React26.createElement(DialogPrimitive.Portal, { ...props });
4051
- var DialogOverlay = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
4146
+ var DialogPortal = ({ ...props }) => /* @__PURE__ */ React27.createElement(DialogPrimitive.Portal, { ...props });
4147
+ var DialogOverlay = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4052
4148
  DialogPrimitive.Overlay,
4053
4149
  {
4054
4150
  ref,
@@ -4059,7 +4155,7 @@ var DialogOverlay = React26.forwardRef(({ className, ...props }, ref) => /* @__P
4059
4155
  ...props
4060
4156
  }
4061
4157
  ));
4062
- var DialogContent = React26.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React26.createElement(DialogPortal, null, /* @__PURE__ */ React26.createElement(DialogOverlay, null), /* @__PURE__ */ React26.createElement(
4158
+ var DialogContent = React27.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React27.createElement(DialogPortal, null, /* @__PURE__ */ React27.createElement(DialogOverlay, null), /* @__PURE__ */ React27.createElement(
4063
4159
  DialogPrimitive.Content,
4064
4160
  {
4065
4161
  onPointerDownOutside: (e) => {
@@ -4075,7 +4171,7 @@ var DialogContent = React26.forwardRef(({ className, children, persist, hideClos
4075
4171
  ...props
4076
4172
  },
4077
4173
  children,
4078
- !hideCloseButton && /* @__PURE__ */ React26.createElement(
4174
+ !hideCloseButton && /* @__PURE__ */ React27.createElement(
4079
4175
  DialogPrimitive.Close,
4080
4176
  {
4081
4177
  className: cn(
@@ -4083,7 +4179,7 @@ var DialogContent = React26.forwardRef(({ className, children, persist, hideClos
4083
4179
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
4084
4180
  )
4085
4181
  },
4086
- /* @__PURE__ */ React26.createElement(
4182
+ /* @__PURE__ */ React27.createElement(
4087
4183
  "svg",
4088
4184
  {
4089
4185
  "aria-label": "Close Icon",
@@ -4092,7 +4188,7 @@ var DialogContent = React26.forwardRef(({ className, children, persist, hideClos
4092
4188
  fill: "currentColor",
4093
4189
  viewBox: "0 0 20 20"
4094
4190
  },
4095
- /* @__PURE__ */ React26.createElement(
4191
+ /* @__PURE__ */ React27.createElement(
4096
4192
  "path",
4097
4193
  {
4098
4194
  fillRule: "evenodd",
@@ -4101,10 +4197,10 @@ var DialogContent = React26.forwardRef(({ className, children, persist, hideClos
4101
4197
  }
4102
4198
  )
4103
4199
  ),
4104
- /* @__PURE__ */ React26.createElement("span", { className: "hawa-sr-only" }, "Close")
4200
+ /* @__PURE__ */ React27.createElement("span", { className: "hawa-sr-only" }, "Close")
4105
4201
  )
4106
4202
  )));
4107
- var DialogCarouselContent = React26.forwardRef(
4203
+ var DialogCarouselContent = React27.forwardRef(
4108
4204
  ({
4109
4205
  className,
4110
4206
  children,
@@ -4113,7 +4209,7 @@ var DialogCarouselContent = React26.forwardRef(
4113
4209
  hideCloseButton,
4114
4210
  hidePrevButton,
4115
4211
  ...props
4116
- }, ref) => /* @__PURE__ */ React26.createElement(DialogPortal, null, /* @__PURE__ */ React26.createElement(DialogOverlay, null), /* @__PURE__ */ React26.createElement(
4212
+ }, ref) => /* @__PURE__ */ React27.createElement(DialogPortal, null, /* @__PURE__ */ React27.createElement(DialogOverlay, null), /* @__PURE__ */ React27.createElement(
4117
4213
  DialogPrimitive.Content,
4118
4214
  {
4119
4215
  onPointerDownOutside: (e) => {
@@ -4129,7 +4225,7 @@ var DialogCarouselContent = React26.forwardRef(
4129
4225
  ...props
4130
4226
  },
4131
4227
  children,
4132
- /* @__PURE__ */ React26.createElement(
4228
+ /* @__PURE__ */ React27.createElement(
4133
4229
  "div",
4134
4230
  {
4135
4231
  className: cn(
@@ -4137,7 +4233,7 @@ var DialogCarouselContent = React26.forwardRef(
4137
4233
  onPrev ? "hawa-justify-between" : "hawa-justify-end"
4138
4234
  )
4139
4235
  },
4140
- hidePrevButton ? /* @__PURE__ */ React26.createElement("div", null) : /* @__PURE__ */ React26.createElement(
4236
+ hidePrevButton ? /* @__PURE__ */ React27.createElement("div", null) : /* @__PURE__ */ React27.createElement(
4141
4237
  "div",
4142
4238
  {
4143
4239
  onClick: onPrev,
@@ -4146,7 +4242,7 @@ var DialogCarouselContent = React26.forwardRef(
4146
4242
  props.dir === "rtl" && "hawa-rotate-180"
4147
4243
  )
4148
4244
  },
4149
- /* @__PURE__ */ React26.createElement(
4245
+ /* @__PURE__ */ React27.createElement(
4150
4246
  "svg",
4151
4247
  {
4152
4248
  xmlns: "http://www.w3.org/2000/svg",
@@ -4160,10 +4256,10 @@ var DialogCarouselContent = React26.forwardRef(
4160
4256
  strokeLinecap: "round",
4161
4257
  strokeLinejoin: "round"
4162
4258
  },
4163
- /* @__PURE__ */ React26.createElement("path", { d: "m15 18-6-6 6-6" })
4259
+ /* @__PURE__ */ React27.createElement("path", { d: "m15 18-6-6 6-6" })
4164
4260
  )
4165
4261
  ),
4166
- !hideCloseButton && /* @__PURE__ */ React26.createElement(
4262
+ !hideCloseButton && /* @__PURE__ */ React27.createElement(
4167
4263
  DialogPrimitive.Close,
4168
4264
  {
4169
4265
  className: cn(
@@ -4171,7 +4267,7 @@ var DialogCarouselContent = React26.forwardRef(
4171
4267
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
4172
4268
  )
4173
4269
  },
4174
- /* @__PURE__ */ React26.createElement(
4270
+ /* @__PURE__ */ React27.createElement(
4175
4271
  "svg",
4176
4272
  {
4177
4273
  "aria-label": "Close Icon",
@@ -4180,7 +4276,7 @@ var DialogCarouselContent = React26.forwardRef(
4180
4276
  fill: "currentColor",
4181
4277
  viewBox: "0 0 20 20"
4182
4278
  },
4183
- /* @__PURE__ */ React26.createElement(
4279
+ /* @__PURE__ */ React27.createElement(
4184
4280
  "path",
4185
4281
  {
4186
4282
  fillRule: "evenodd",
@@ -4189,7 +4285,7 @@ var DialogCarouselContent = React26.forwardRef(
4189
4285
  }
4190
4286
  )
4191
4287
  ),
4192
- /* @__PURE__ */ React26.createElement("span", { className: "hawa-sr-only" }, "Close")
4288
+ /* @__PURE__ */ React27.createElement("span", { className: "hawa-sr-only" }, "Close")
4193
4289
  )
4194
4290
  )
4195
4291
  ))
@@ -4197,7 +4293,7 @@ var DialogCarouselContent = React26.forwardRef(
4197
4293
  var DialogHeader = ({
4198
4294
  className,
4199
4295
  ...props
4200
- }) => /* @__PURE__ */ React26.createElement(
4296
+ }) => /* @__PURE__ */ React27.createElement(
4201
4297
  "div",
4202
4298
  {
4203
4299
  className: cn(
@@ -4207,7 +4303,7 @@ var DialogHeader = ({
4207
4303
  ...props
4208
4304
  }
4209
4305
  );
4210
- var DialogTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
4306
+ var DialogTitle = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4211
4307
  DialogPrimitive.Title,
4212
4308
  {
4213
4309
  ref,
@@ -4218,7 +4314,7 @@ var DialogTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PUR
4218
4314
  ...props
4219
4315
  }
4220
4316
  ));
4221
- var DialogDescription = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
4317
+ var DialogDescription = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4222
4318
  DialogPrimitive.Description,
4223
4319
  {
4224
4320
  ref,
@@ -4232,7 +4328,7 @@ var DialogDescription = React26.forwardRef(({ className, ...props }, ref) => /*
4232
4328
  var DialogFooter = ({
4233
4329
  className,
4234
4330
  ...props
4235
- }) => /* @__PURE__ */ React26.createElement(
4331
+ }) => /* @__PURE__ */ React27.createElement(
4236
4332
  "div",
4237
4333
  {
4238
4334
  className: cn(
@@ -4248,12 +4344,12 @@ var DialogCarousel = ({
4248
4344
  children,
4249
4345
  direction
4250
4346
  }) => {
4251
- React26.useEffect(() => {
4347
+ React27.useEffect(() => {
4252
4348
  if (stepsApi) {
4253
4349
  stepsApi.reInit();
4254
4350
  }
4255
4351
  }, [stepsApi, children]);
4256
- return /* @__PURE__ */ React26.createElement("div", { className: "hawa-overflow-hidden" }, /* @__PURE__ */ React26.createElement("div", { ref: stepsRef, dir: direction }, /* @__PURE__ */ React26.createElement(
4352
+ return /* @__PURE__ */ React27.createElement("div", { className: "hawa-overflow-hidden" }, /* @__PURE__ */ React27.createElement("div", { ref: stepsRef, dir: direction }, /* @__PURE__ */ React27.createElement(
4257
4353
  "div",
4258
4354
  {
4259
4355
  className: "hawa-flex",
@@ -4261,7 +4357,7 @@ var DialogCarousel = ({
4261
4357
  transition: "height 0.2s"
4262
4358
  }
4263
4359
  },
4264
- React26.Children.map(children, (child, index) => /* @__PURE__ */ React26.createElement(
4360
+ React27.Children.map(children, (child, index) => /* @__PURE__ */ React27.createElement(
4265
4361
  "div",
4266
4362
  {
4267
4363
  className: cn(
@@ -4278,14 +4374,14 @@ var DialogSteps = ({
4278
4374
  visibleStepRef,
4279
4375
  children
4280
4376
  }) => {
4281
- const [dialogHeight, setDialogHeight] = React26.useState(null);
4282
- React26.useEffect(() => {
4377
+ const [dialogHeight, setDialogHeight] = React27.useState(null);
4378
+ React27.useEffect(() => {
4283
4379
  if (visibleStepRef.current) {
4284
4380
  setDialogHeight(visibleStepRef.current.offsetHeight);
4285
4381
  console.log("height is ", visibleStepRef.current.offsetHeight);
4286
4382
  }
4287
4383
  }, [currentStep, visibleStepRef]);
4288
- return /* @__PURE__ */ React26.createElement(
4384
+ return /* @__PURE__ */ React27.createElement(
4289
4385
  "div",
4290
4386
  {
4291
4387
  className: "hawa-relative hawa-overflow-clip",
@@ -4294,7 +4390,7 @@ var DialogSteps = ({
4294
4390
  transition: "height 0.2s"
4295
4391
  }
4296
4392
  },
4297
- React26.Children.map(children, (child, index) => /* @__PURE__ */ React26.createElement(
4393
+ React27.Children.map(children, (child, index) => /* @__PURE__ */ React27.createElement(
4298
4394
  "div",
4299
4395
  {
4300
4396
  ref: currentStep === `step-${index + 1}` ? visibleStepRef : null,
@@ -4312,7 +4408,7 @@ var DialogStep = ({
4312
4408
  className,
4313
4409
  stepRef
4314
4410
  }) => {
4315
- return /* @__PURE__ */ React26.createElement(
4411
+ return /* @__PURE__ */ React27.createElement(
4316
4412
  "div",
4317
4413
  {
4318
4414
  id,
@@ -4323,7 +4419,7 @@ var DialogStep = ({
4323
4419
  );
4324
4420
  };
4325
4421
  var DialogBody = ({ children, className }) => {
4326
- return /* @__PURE__ */ React26.createElement("div", { className: cn("hawa-py-6", className) }, children);
4422
+ return /* @__PURE__ */ React27.createElement("div", { className: cn("hawa-py-6", className) }, children);
4327
4423
  };
4328
4424
  DialogBody.displayName = "DialogBody";
4329
4425
  DialogStep.displayName = "DialogStep";
@@ -4339,7 +4435,7 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
4339
4435
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
4340
4436
 
4341
4437
  // components/elements/Command.tsx
4342
- var Command = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4438
+ var Command = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4343
4439
  import_cmdk.Command,
4344
4440
  {
4345
4441
  ref,
@@ -4352,15 +4448,15 @@ var Command = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__
4352
4448
  ));
4353
4449
  Command.displayName = import_cmdk.Command.displayName;
4354
4450
  var CommandDialog = ({ children, ...props }) => {
4355
- return /* @__PURE__ */ React27.createElement(Dialog, { ...props }, /* @__PURE__ */ React27.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React27.createElement(Command, { className: "[&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:hawa-pt-0 [&_[cmdk-group]]:hawa-px-2 [&_[cmdk-input-wrapper]_svg]:hawa-h-5 [&_[cmdk-input-wrapper]_svg]:hawa-w-5 [&_[cmdk-input]]:hawa-h-12 [&_[cmdk-item]]:hawa-px-2 [&_[cmdk-item]]:hawa-py-3 [&_[cmdk-item]_svg]:hawa-h-5 [&_[cmdk-item]_svg]:hawa-w-5" }, children)));
4451
+ return /* @__PURE__ */ React28.createElement(Dialog, { ...props }, /* @__PURE__ */ React28.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React28.createElement(Command, { className: "[&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:hawa-pt-0 [&_[cmdk-group]]:hawa-px-2 [&_[cmdk-input-wrapper]_svg]:hawa-h-5 [&_[cmdk-input-wrapper]_svg]:hawa-w-5 [&_[cmdk-input]]:hawa-h-12 [&_[cmdk-item]]:hawa-px-2 [&_[cmdk-item]]:hawa-py-3 [&_[cmdk-item]_svg]:hawa-h-5 [&_[cmdk-item]_svg]:hawa-w-5" }, children)));
4356
4452
  };
4357
- var CommandInput = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4453
+ var CommandInput = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4358
4454
  "div",
4359
4455
  {
4360
4456
  className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
4361
4457
  "cmdk-input-wrapper": ""
4362
4458
  },
4363
- /* @__PURE__ */ React27.createElement(
4459
+ /* @__PURE__ */ React28.createElement(
4364
4460
  "svg",
4365
4461
  {
4366
4462
  "aria-label": "Search Icon",
@@ -4375,10 +4471,10 @@ var CommandInput = React27.forwardRef(({ className, ...props }, ref) => /* @__PU
4375
4471
  strokeLinejoin: "round",
4376
4472
  className: "hawa-mr-2 hawa-icon hawa-shrink-0 hawa-opacity-50"
4377
4473
  },
4378
- /* @__PURE__ */ React27.createElement("circle", { cx: "11", cy: "11", r: "8" }),
4379
- /* @__PURE__ */ React27.createElement("path", { d: "m21 21-4.3-4.3" })
4474
+ /* @__PURE__ */ React28.createElement("circle", { cx: "11", cy: "11", r: "8" }),
4475
+ /* @__PURE__ */ React28.createElement("path", { d: "m21 21-4.3-4.3" })
4380
4476
  ),
4381
- /* @__PURE__ */ React27.createElement(
4477
+ /* @__PURE__ */ React28.createElement(
4382
4478
  import_cmdk.Command.Input,
4383
4479
  {
4384
4480
  ref,
@@ -4391,7 +4487,7 @@ var CommandInput = React27.forwardRef(({ className, ...props }, ref) => /* @__PU
4391
4487
  )
4392
4488
  ));
4393
4489
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
4394
- var CommandList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4490
+ var CommandList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4395
4491
  import_cmdk.Command.List,
4396
4492
  {
4397
4493
  ref,
@@ -4403,7 +4499,7 @@ var CommandList = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
4403
4499
  }
4404
4500
  ));
4405
4501
  CommandList.displayName = import_cmdk.Command.List.displayName;
4406
- var CommandEmpty = React27.forwardRef((props, ref) => /* @__PURE__ */ React27.createElement(
4502
+ var CommandEmpty = React28.forwardRef((props, ref) => /* @__PURE__ */ React28.createElement(
4407
4503
  import_cmdk.Command.Empty,
4408
4504
  {
4409
4505
  ref,
@@ -4412,7 +4508,7 @@ var CommandEmpty = React27.forwardRef((props, ref) => /* @__PURE__ */ React27.cr
4412
4508
  }
4413
4509
  ));
4414
4510
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
4415
- var CommandGroup = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4511
+ var CommandGroup = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4416
4512
  import_cmdk.Command.Group,
4417
4513
  {
4418
4514
  ref,
@@ -4424,7 +4520,7 @@ var CommandGroup = React27.forwardRef(({ className, ...props }, ref) => /* @__PU
4424
4520
  }
4425
4521
  ));
4426
4522
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
4427
- var CommandSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4523
+ var CommandSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4428
4524
  import_cmdk.Command.Separator,
4429
4525
  {
4430
4526
  ref,
@@ -4433,7 +4529,7 @@ var CommandSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @
4433
4529
  }
4434
4530
  ));
4435
4531
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
4436
- var CommandItem = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4532
+ var CommandItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4437
4533
  import_cmdk.Command.Item,
4438
4534
  {
4439
4535
  ref,
@@ -4449,7 +4545,7 @@ var CommandShortcut = ({
4449
4545
  className,
4450
4546
  ...props
4451
4547
  }) => {
4452
- return /* @__PURE__ */ React27.createElement(
4548
+ return /* @__PURE__ */ React28.createElement(
4453
4549
  "span",
4454
4550
  {
4455
4551
  className: cn(
@@ -4463,9 +4559,9 @@ var CommandShortcut = ({
4463
4559
  CommandShortcut.displayName = "CommandShortcut";
4464
4560
 
4465
4561
  // components/elements/Popover.tsx
4466
- var React28 = __toESM(require("react"));
4562
+ var React29 = __toESM(require("react"));
4467
4563
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
4468
- var PopoverContent = React28.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React28.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React28.createElement(
4564
+ var PopoverContent = React29.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React29.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React29.createElement(
4469
4565
  PopoverPrimitive.Content,
4470
4566
  {
4471
4567
  ref,
@@ -4497,7 +4593,7 @@ var Popover = ({
4497
4593
  trigger: "var(--radix-popover-trigger-width)",
4498
4594
  default: "auto"
4499
4595
  };
4500
- return /* @__PURE__ */ React28.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React28.createElement(
4596
+ return /* @__PURE__ */ React29.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React29.createElement(
4501
4597
  PopoverPrimitive.Trigger,
4502
4598
  {
4503
4599
  className: "hawa-w-full",
@@ -4505,7 +4601,7 @@ var Popover = ({
4505
4601
  ...triggerProps
4506
4602
  },
4507
4603
  trigger
4508
- ), /* @__PURE__ */ React28.createElement(
4604
+ ), /* @__PURE__ */ React29.createElement(
4509
4605
  PopoverContent,
4510
4606
  {
4511
4607
  side,
@@ -4523,7 +4619,7 @@ var Popover = ({
4523
4619
  var PopoverTrigger = PopoverPrimitive.Trigger;
4524
4620
 
4525
4621
  // components/elements/Combobox.tsx
4526
- var Combobox = React29.forwardRef(
4622
+ var Combobox = React30.forwardRef(
4527
4623
  ({
4528
4624
  labelKey = "label",
4529
4625
  valueKey = "value",
@@ -4534,8 +4630,8 @@ var Combobox = React29.forwardRef(
4534
4630
  ...props
4535
4631
  }, ref) => {
4536
4632
  var _a, _b, _c;
4537
- const [open, setOpen] = React29.useState(false);
4538
- const [value, setValue] = React29.useState(defaultValue);
4633
+ const [open, setOpen] = React30.useState(false);
4634
+ const [value, setValue] = React30.useState(defaultValue);
4539
4635
  function getProperty(obj, key) {
4540
4636
  return obj[key];
4541
4637
  }
@@ -4544,7 +4640,7 @@ var Combobox = React29.forwardRef(
4544
4640
  setOpen(open2);
4545
4641
  }
4546
4642
  };
4547
- return /* @__PURE__ */ React29.createElement(
4643
+ return /* @__PURE__ */ React30.createElement(
4548
4644
  "div",
4549
4645
  {
4550
4646
  className: cn(
@@ -4552,8 +4648,8 @@ var Combobox = React29.forwardRef(
4552
4648
  props.width === "fit" ? "hawa-w-fit" : "hawa-w-full"
4553
4649
  )
4554
4650
  },
4555
- props.label && /* @__PURE__ */ React29.createElement(Label2, { ...labelProps }, props.label),
4556
- /* @__PURE__ */ React29.createElement(PopoverPrimitive2.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React29.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React29.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React29.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2 hawa-items-start " }, /* @__PURE__ */ React29.createElement(
4651
+ props.label && /* @__PURE__ */ React30.createElement(Label2, { ...labelProps }, props.label),
4652
+ /* @__PURE__ */ React30.createElement(PopoverPrimitive2.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React30.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React30.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React30.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React30.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2 hawa-items-start " }, /* @__PURE__ */ React30.createElement(
4557
4653
  "div",
4558
4654
  {
4559
4655
  className: cn(
@@ -4561,7 +4657,7 @@ var Combobox = React29.forwardRef(
4561
4657
  props.preview ? "hawa-opacity-100" : "hawa-opacity-0"
4562
4658
  )
4563
4659
  }
4564
- ), /* @__PURE__ */ React29.createElement(
4660
+ ), /* @__PURE__ */ React30.createElement(
4565
4661
  "button",
4566
4662
  {
4567
4663
  role: "combobox",
@@ -4575,7 +4671,7 @@ var Combobox = React29.forwardRef(
4575
4671
  data.find((item) => item[valueKey] === value) || {},
4576
4672
  labelKey
4577
4673
  ) : ((_a = props.texts) == null ? void 0 : _a.placeholder) || "...",
4578
- /* @__PURE__ */ React29.createElement(
4674
+ /* @__PURE__ */ React30.createElement(
4579
4675
  "svg",
4580
4676
  {
4581
4677
  xmlns: "http://www.w3.org/2000/svg",
@@ -4591,9 +4687,9 @@ var Combobox = React29.forwardRef(
4591
4687
  strokeLinecap: "round",
4592
4688
  strokeLinejoin: "round"
4593
4689
  },
4594
- /* @__PURE__ */ React29.createElement("path", { d: "m6 9 6 6 6-6" })
4690
+ /* @__PURE__ */ React30.createElement("path", { d: "m6 9 6 6 6-6" })
4595
4691
  )
4596
- ), /* @__PURE__ */ React29.createElement(
4692
+ ), /* @__PURE__ */ React30.createElement(
4597
4693
  "p",
4598
4694
  {
4599
4695
  className: cn(
@@ -4602,17 +4698,17 @@ var Combobox = React29.forwardRef(
4602
4698
  )
4603
4699
  },
4604
4700
  props.helperText
4605
- ))), /* @__PURE__ */ React29.createElement(
4701
+ ))), /* @__PURE__ */ React30.createElement(
4606
4702
  PopoverContent,
4607
4703
  {
4608
4704
  className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
4609
4705
  },
4610
- /* @__PURE__ */ React29.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React29.createElement(
4706
+ /* @__PURE__ */ React30.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React30.createElement(
4611
4707
  CommandInput,
4612
4708
  {
4613
4709
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
4614
4710
  }
4615
- ), /* @__PURE__ */ React29.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React29.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React29.createElement(
4711
+ ), /* @__PURE__ */ React30.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React30.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React30.createElement(
4616
4712
  CommandItem,
4617
4713
  {
4618
4714
  key: i,
@@ -4627,7 +4723,7 @@ var Combobox = React29.forwardRef(
4627
4723
  setOpen(false);
4628
4724
  }
4629
4725
  },
4630
- /* @__PURE__ */ React29.createElement(
4726
+ /* @__PURE__ */ React30.createElement(
4631
4727
  "svg",
4632
4728
  {
4633
4729
  "aria-label": "Check Icon",
@@ -4645,7 +4741,7 @@ var Combobox = React29.forwardRef(
4645
4741
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
4646
4742
  )
4647
4743
  },
4648
- /* @__PURE__ */ React29.createElement("polyline", { points: "20 6 9 17 4 12" })
4744
+ /* @__PURE__ */ React30.createElement("polyline", { points: "20 6 9 17 4 12" })
4649
4745
  ),
4650
4746
  getProperty(item, labelKey)
4651
4747
  ))))
@@ -4771,20 +4867,20 @@ var Avatar = ({
4771
4867
  };
4772
4868
 
4773
4869
  // components/elements/SplitButton.tsx
4774
- var React32 = __toESM(require("react"));
4870
+ var React33 = __toESM(require("react"));
4775
4871
  var SplitButton = ({
4776
4872
  variant,
4777
4873
  direction = "ltr",
4778
4874
  menuItems = [],
4779
4875
  children,
4780
4876
  ...props
4781
- }) => /* @__PURE__ */ React32.createElement(
4877
+ }) => /* @__PURE__ */ React33.createElement(
4782
4878
  "div",
4783
4879
  {
4784
4880
  dir: "ltr",
4785
4881
  className: cn("hawa-h-fit hawa-flex hawa-justify-center hawa-row")
4786
4882
  },
4787
- /* @__PURE__ */ React32.createElement(
4883
+ /* @__PURE__ */ React33.createElement(
4788
4884
  Button,
4789
4885
  {
4790
4886
  variant,
@@ -4793,14 +4889,14 @@ var SplitButton = ({
4793
4889
  },
4794
4890
  children
4795
4891
  ),
4796
- /* @__PURE__ */ React32.createElement(
4892
+ /* @__PURE__ */ React33.createElement(
4797
4893
  DropdownMenu,
4798
4894
  {
4799
4895
  size: "sm",
4800
4896
  width: "sm",
4801
4897
  direction,
4802
4898
  items: menuItems,
4803
- trigger: /* @__PURE__ */ React32.createElement(
4899
+ trigger: /* @__PURE__ */ React33.createElement(
4804
4900
  Button,
4805
4901
  {
4806
4902
  asChild: true,
@@ -4811,7 +4907,7 @@ var SplitButton = ({
4811
4907
  props.className
4812
4908
  )
4813
4909
  },
4814
- /* @__PURE__ */ React32.createElement(
4910
+ /* @__PURE__ */ React33.createElement(
4815
4911
  "svg",
4816
4912
  {
4817
4913
  xmlns: "http://www.w3.org/2000/svg",
@@ -4824,7 +4920,7 @@ var SplitButton = ({
4824
4920
  strokeLinecap: "round",
4825
4921
  strokeLinejoin: "round"
4826
4922
  },
4827
- /* @__PURE__ */ React32.createElement("path", { d: "m6 9 6 6 6-6" })
4923
+ /* @__PURE__ */ React33.createElement("path", { d: "m6 9 6 6 6-6" })
4828
4924
  )
4829
4925
  )
4830
4926
  }
@@ -5020,7 +5116,7 @@ var CodeBlock = ({
5020
5116
  };
5021
5117
 
5022
5118
  // components/elements/Toast.tsx
5023
- var React35 = __toESM(require("react"));
5119
+ var React36 = __toESM(require("react"));
5024
5120
  var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
5025
5121
  var import_class_variance_authority2 = require("class-variance-authority");
5026
5122
  var toastVariants = (0, import_class_variance_authority2.cva)(
@@ -5045,7 +5141,7 @@ var toastVariants = (0, import_class_variance_authority2.cva)(
5045
5141
  }
5046
5142
  );
5047
5143
  var ToastProvider = ToastPrimitives.Provider;
5048
- var ToastViewport = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React35.createElement(
5144
+ var ToastViewport = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
5049
5145
  ToastPrimitives.Viewport,
5050
5146
  {
5051
5147
  ref,
@@ -5057,8 +5153,8 @@ var ToastViewport = React35.forwardRef(({ className, ...props }, ref) => /* @__P
5057
5153
  }
5058
5154
  ));
5059
5155
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
5060
- var Toast = React35.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
5061
- return /* @__PURE__ */ React35.createElement(
5156
+ var Toast = React36.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
5157
+ return /* @__PURE__ */ React36.createElement(
5062
5158
  ToastPrimitives.Root,
5063
5159
  {
5064
5160
  ref,
@@ -5073,8 +5169,8 @@ var Toast = React35.forwardRef(({ className, variant, severity = "none", directi
5073
5169
  );
5074
5170
  });
5075
5171
  Toast.displayName = ToastPrimitives.Root.displayName;
5076
- var ToastAction = React35.forwardRef(({ className, ...props }, ref) => {
5077
- return /* @__PURE__ */ React35.createElement(
5172
+ var ToastAction = React36.forwardRef(({ className, ...props }, ref) => {
5173
+ return /* @__PURE__ */ React36.createElement(
5078
5174
  ToastPrimitives.Action,
5079
5175
  {
5080
5176
  ref,
@@ -5091,7 +5187,7 @@ var ToastAction = React35.forwardRef(({ className, ...props }, ref) => {
5091
5187
  );
5092
5188
  });
5093
5189
  ToastAction.displayName = ToastPrimitives.Action.displayName;
5094
- var ToastClose = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React35.createElement(
5190
+ var ToastClose = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
5095
5191
  ToastPrimitives.Close,
5096
5192
  {
5097
5193
  ref,
@@ -5102,7 +5198,7 @@ var ToastClose = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE
5102
5198
  "toast-close": "",
5103
5199
  ...props
5104
5200
  },
5105
- /* @__PURE__ */ React35.createElement(
5201
+ /* @__PURE__ */ React36.createElement(
5106
5202
  "svg",
5107
5203
  {
5108
5204
  "aria-label": "Close Icon",
@@ -5111,7 +5207,7 @@ var ToastClose = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE
5111
5207
  fill: "currentColor",
5112
5208
  viewBox: "0 0 20 20"
5113
5209
  },
5114
- /* @__PURE__ */ React35.createElement(
5210
+ /* @__PURE__ */ React36.createElement(
5115
5211
  "path",
5116
5212
  {
5117
5213
  fillRule: "evenodd",
@@ -5122,7 +5218,7 @@ var ToastClose = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE
5122
5218
  )
5123
5219
  ));
5124
5220
  ToastClose.displayName = ToastPrimitives.Close.displayName;
5125
- var ToastTitle = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React35.createElement(
5221
+ var ToastTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
5126
5222
  ToastPrimitives.Title,
5127
5223
  {
5128
5224
  ref,
@@ -5134,7 +5230,7 @@ var ToastTitle = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE
5134
5230
  }
5135
5231
  ));
5136
5232
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
5137
- var ToastDescription = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React35.createElement(
5233
+ var ToastDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
5138
5234
  ToastPrimitives.Description,
5139
5235
  {
5140
5236
  ref,
@@ -5148,7 +5244,7 @@ ToastDescription.displayName = ToastPrimitives.Description.displayName;
5148
5244
  var import_react22 = __toESM(require("react"));
5149
5245
 
5150
5246
  // components/hooks/useToast.ts
5151
- var React36 = __toESM(require("react"));
5247
+ var React37 = __toESM(require("react"));
5152
5248
  var TOAST_LIMIT = 5;
5153
5249
  var TOAST_REMOVE_DELAY = 1e5;
5154
5250
  var count = 0;
@@ -5244,8 +5340,8 @@ function toast({ ...props }) {
5244
5340
  };
5245
5341
  }
5246
5342
  function useToast() {
5247
- const [state, setState] = React36.useState(memoryState);
5248
- React36.useEffect(() => {
5343
+ const [state, setState] = React37.useState(memoryState);
5344
+ React37.useEffect(() => {
5249
5345
  listeners.push(setState);
5250
5346
  return () => {
5251
5347
  const index = listeners.indexOf(setState);
@@ -5921,12 +6017,12 @@ var SortButton = (props) => {
5921
6017
  };
5922
6018
 
5923
6019
  // components/elements/DataTable.tsx
5924
- var React45 = __toESM(require("react"));
6020
+ var React46 = __toESM(require("react"));
5925
6021
  var import_react_table = require("@tanstack/react-table");
5926
6022
 
5927
6023
  // components/elements/Table.tsx
5928
- var React44 = __toESM(require("react"));
5929
- var Table = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React44.createElement(
6024
+ var React45 = __toESM(require("react"));
6025
+ var Table = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React45.createElement(
5930
6026
  "table",
5931
6027
  {
5932
6028
  ref,
@@ -5935,7 +6031,7 @@ var Table = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
5935
6031
  }
5936
6032
  )));
5937
6033
  Table.displayName = "Table";
5938
- var TableHeader = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement(
6034
+ var TableHeader = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
5939
6035
  "thead",
5940
6036
  {
5941
6037
  ref,
@@ -5944,8 +6040,8 @@ var TableHeader = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
5944
6040
  }
5945
6041
  ));
5946
6042
  TableHeader.displayName = "TableHeader";
5947
- var TableHead = React44.forwardRef(
5948
- ({ className, condensed, clickable, dir, ...props }, ref) => /* @__PURE__ */ React44.createElement(
6043
+ var TableHead = React45.forwardRef(
6044
+ ({ className, condensed, clickable, dir, ...props }, ref) => /* @__PURE__ */ React45.createElement(
5949
6045
  "th",
5950
6046
  {
5951
6047
  ref,
@@ -5964,9 +6060,9 @@ var TableHead = React44.forwardRef(
5964
6060
  )
5965
6061
  );
5966
6062
  TableHead.displayName = "TableHead";
5967
- var TableBody = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement("tbody", { ref, className: cn("hawa-border-none", className), ...props }));
6063
+ var TableBody = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement("tbody", { ref, className: cn("hawa-border-none", className), ...props }));
5968
6064
  TableBody.displayName = "TableBody";
5969
- var TableFooter = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement(
6065
+ var TableFooter = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
5970
6066
  "tfoot",
5971
6067
  {
5972
6068
  ref,
@@ -5978,7 +6074,7 @@ var TableFooter = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
5978
6074
  }
5979
6075
  ));
5980
6076
  TableFooter.displayName = "TableFooter";
5981
- var TableRow = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement(
6077
+ var TableRow = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
5982
6078
  "tr",
5983
6079
  {
5984
6080
  ref,
@@ -5992,14 +6088,14 @@ var TableRow = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__
5992
6088
  }
5993
6089
  ));
5994
6090
  TableRow.displayName = "TableRow";
5995
- var TableCell = React44.forwardRef(
6091
+ var TableCell = React45.forwardRef(
5996
6092
  ({ className, enablePadding = true, padding = "default", ...props }, ref) => {
5997
6093
  let paddingStyles = {
5998
6094
  condensed: "hawa-p-0 hawa-px-4",
5999
6095
  default: "hawa-p-4",
6000
6096
  noPadding: "hawa-p-0"
6001
6097
  };
6002
- return /* @__PURE__ */ React44.createElement(
6098
+ return /* @__PURE__ */ React45.createElement(
6003
6099
  "td",
6004
6100
  {
6005
6101
  ref,
@@ -6021,7 +6117,7 @@ var TableCell = React44.forwardRef(
6021
6117
  }
6022
6118
  );
6023
6119
  TableCell.displayName = "TableCell";
6024
- var TableCaption = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement(
6120
+ var TableCaption = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
6025
6121
  "caption",
6026
6122
  {
6027
6123
  ref,
@@ -6046,16 +6142,16 @@ var DataTable = ({
6046
6142
  ...props
6047
6143
  }) => {
6048
6144
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
6049
- const [sorting, setSorting] = React45.useState(
6145
+ const [sorting, setSorting] = React46.useState(
6050
6146
  props.defaultSort ? [{ id: props.defaultSort, desc: false }] : []
6051
6147
  );
6052
- const [columnFilters, setColumnFilters] = React45.useState(
6148
+ const [columnFilters, setColumnFilters] = React46.useState(
6053
6149
  []
6054
6150
  );
6055
- const [globalFilter, setGlobalFilter] = React45.useState("");
6056
- const [expanded, setExpanded] = React45.useState({});
6057
- const [columnVisibility, setColumnVisibility] = React45.useState({});
6058
- const [rowSelection, setRowSelection] = React45.useState({});
6151
+ const [globalFilter, setGlobalFilter] = React46.useState("");
6152
+ const [expanded, setExpanded] = React46.useState({});
6153
+ const [columnVisibility, setColumnVisibility] = React46.useState({});
6154
+ const [rowSelection, setRowSelection] = React46.useState({});
6059
6155
  const table = (0, import_react_table.useReactTable)({
6060
6156
  data,
6061
6157
  columns,
@@ -6084,7 +6180,7 @@ var DataTable = ({
6084
6180
  label: `${item} / ${pageText}`,
6085
6181
  value: item
6086
6182
  }));
6087
- return /* @__PURE__ */ React45.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-4" }, (enableSearch || enableHideColumns) && /* @__PURE__ */ React45.createElement("div", { className: "hawa-flex hawa-items-center hawa-flex-row hawa-gap-4" }, enableSearch && /* @__PURE__ */ React45.createElement(
6183
+ return /* @__PURE__ */ React46.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-4" }, (enableSearch || enableHideColumns) && /* @__PURE__ */ React46.createElement("div", { className: "hawa-flex hawa-items-center hawa-flex-row hawa-gap-4" }, enableSearch && /* @__PURE__ */ React46.createElement(
6088
6184
  Input,
6089
6185
  {
6090
6186
  forceHideHelperText: true,
@@ -6094,14 +6190,14 @@ var DataTable = ({
6094
6190
  margin: "none",
6095
6191
  className: "hawa-w-full md:hawa-max-w-sm"
6096
6192
  }
6097
- ), enableHideColumns && /* @__PURE__ */ React45.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React45.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React45.createElement(
6193
+ ), enableHideColumns && /* @__PURE__ */ React46.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React46.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React46.createElement(
6098
6194
  Button,
6099
6195
  {
6100
6196
  variant: "outline",
6101
6197
  className: "hawa-flex hawa-flex-row hawa-gap-2"
6102
6198
  },
6103
6199
  ((_d = props.texts) == null ? void 0 : _d.columns) || "Columns",
6104
- /* @__PURE__ */ React45.createElement(
6200
+ /* @__PURE__ */ React46.createElement(
6105
6201
  "svg",
6106
6202
  {
6107
6203
  "aria-label": "Chevron Down Icon",
@@ -6116,15 +6212,15 @@ var DataTable = ({
6116
6212
  strokeLinejoin: "round",
6117
6213
  className: "hawa-icon hawa-rotate-90"
6118
6214
  },
6119
- /* @__PURE__ */ React45.createElement("path", { d: "m9 18 6-6-6-6" })
6215
+ /* @__PURE__ */ React46.createElement("path", { d: "m9 18 6-6-6-6" })
6120
6216
  )
6121
- )), /* @__PURE__ */ React45.createElement(
6217
+ )), /* @__PURE__ */ React46.createElement(
6122
6218
  DropdownMenuContent,
6123
6219
  {
6124
6220
  align: props.direction === "rtl" ? "start" : "end"
6125
6221
  },
6126
6222
  table.getAllColumns().filter((column) => column.getCanHide()).map((column) => {
6127
- return /* @__PURE__ */ React45.createElement(
6223
+ return /* @__PURE__ */ React46.createElement(
6128
6224
  DropdownMenuCheckboxItem,
6129
6225
  {
6130
6226
  key: column.id,
@@ -6134,7 +6230,7 @@ var DataTable = ({
6134
6230
  translateFn ? translateFn(column.id) : column.id
6135
6231
  );
6136
6232
  })
6137
- ))), props.isLoading ? /* @__PURE__ */ React45.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React45.createElement(
6233
+ ))), props.isLoading ? /* @__PURE__ */ React46.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React46.createElement(
6138
6234
  "div",
6139
6235
  {
6140
6236
  className: cn(
@@ -6142,10 +6238,10 @@ var DataTable = ({
6142
6238
  paginationPosition === "top" ? "hawa-flex-col-reverse" : "hawa-flex-col"
6143
6239
  )
6144
6240
  },
6145
- /* @__PURE__ */ React45.createElement("div", { className: "hawa-rounded-md" }, /* @__PURE__ */ React45.createElement(Table, null, table.getAllColumns().length > 0 && /* @__PURE__ */ React45.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React45.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
6241
+ /* @__PURE__ */ React46.createElement("div", { className: "hawa-rounded-md" }, /* @__PURE__ */ React46.createElement(Table, null, table.getAllColumns().length > 0 && /* @__PURE__ */ React46.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React46.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
6146
6242
  var _a2;
6147
6243
  let isSortable = (_a2 = header.column.columnDef.meta) == null ? void 0 : _a2.sortable;
6148
- return /* @__PURE__ */ React45.createElement(
6244
+ return /* @__PURE__ */ React46.createElement(
6149
6245
  TableHead,
6150
6246
  {
6151
6247
  dir: props.direction,
@@ -6158,7 +6254,7 @@ var DataTable = ({
6158
6254
  header.getContext()
6159
6255
  )
6160
6256
  );
6161
- })))), /* @__PURE__ */ React45.createElement(TableBody, null, ((_e = table.getRowModel().rows) == null ? void 0 : _e.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React45.createElement(
6257
+ })))), /* @__PURE__ */ React46.createElement(TableBody, null, ((_e = table.getRowModel().rows) == null ? void 0 : _e.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React46.createElement(
6162
6258
  TableRow,
6163
6259
  {
6164
6260
  key: row.id,
@@ -6166,7 +6262,7 @@ var DataTable = ({
6166
6262
  },
6167
6263
  row.getVisibleCells().map((cell) => {
6168
6264
  var _a2;
6169
- return /* @__PURE__ */ React45.createElement(
6265
+ return /* @__PURE__ */ React46.createElement(
6170
6266
  TableCell,
6171
6267
  {
6172
6268
  dir: props.direction,
@@ -6179,7 +6275,7 @@ var DataTable = ({
6179
6275
  )
6180
6276
  );
6181
6277
  })
6182
- )) : /* @__PURE__ */ React45.createElement(TableRow, null, /* @__PURE__ */ React45.createElement(
6278
+ )) : /* @__PURE__ */ React46.createElement(TableRow, null, /* @__PURE__ */ React46.createElement(
6183
6279
  TableCell,
6184
6280
  {
6185
6281
  colSpan: columns.length,
@@ -6187,16 +6283,16 @@ var DataTable = ({
6187
6283
  },
6188
6284
  (_f = props.texts) == null ? void 0 : _f.noData
6189
6285
  ))))),
6190
- /* @__PURE__ */ React45.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between" }, !props.showCount && /* @__PURE__ */ React45.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm hawa-text-muted-foreground" }), props.showCount && /* @__PURE__ */ React45.createElement(
6286
+ /* @__PURE__ */ React46.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between" }, !props.showCount && /* @__PURE__ */ React46.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm hawa-text-muted-foreground" }), props.showCount && /* @__PURE__ */ React46.createElement(
6191
6287
  "div",
6192
6288
  {
6193
6289
  className: "text-sm text-muted-foreground",
6194
6290
  dir: props.direction
6195
6291
  },
6196
- /* @__PURE__ */ React45.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
6292
+ /* @__PURE__ */ React46.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
6197
6293
  " ",
6198
- /* @__PURE__ */ React45.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
6199
- ), /* @__PURE__ */ React45.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 " }, enableGoTo && /* @__PURE__ */ React45.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-items-center hawa-gap-2" }, /* @__PURE__ */ React45.createElement("span", { className: "hawa-text-sm" }, (_h = props.texts) == null ? void 0 : _h.goTo), /* @__PURE__ */ React45.createElement(
6294
+ /* @__PURE__ */ React46.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
6295
+ ), /* @__PURE__ */ React46.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 " }, enableGoTo && /* @__PURE__ */ React46.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-items-center hawa-gap-2" }, /* @__PURE__ */ React46.createElement("span", { className: "hawa-text-sm" }, (_h = props.texts) == null ? void 0 : _h.goTo), /* @__PURE__ */ React46.createElement(
6200
6296
  "input",
6201
6297
  {
6202
6298
  max: table.getPageCount(),
@@ -6213,7 +6309,7 @@ var DataTable = ({
6213
6309
  },
6214
6310
  className: "hawa-w-16 hawa-text-sm hawa-border hawa-rounded hawa-p-1 hawa-px-2"
6215
6311
  }
6216
- )), /* @__PURE__ */ React45.createElement(
6312
+ )), /* @__PURE__ */ React46.createElement(
6217
6313
  DropdownMenu,
6218
6314
  {
6219
6315
  size: "sm",
@@ -6226,7 +6322,7 @@ var DataTable = ({
6226
6322
  { label: `40 / ${pageText}`, value: 40 },
6227
6323
  { label: `50 / ${pageText}`, value: 50 }
6228
6324
  ],
6229
- trigger: /* @__PURE__ */ React45.createElement(
6325
+ trigger: /* @__PURE__ */ React46.createElement(
6230
6326
  Button,
6231
6327
  {
6232
6328
  variant: "outline",
@@ -6237,7 +6333,7 @@ var DataTable = ({
6237
6333
  ),
6238
6334
  onItemSelect: (e) => table.setPageSize(Number(e))
6239
6335
  }
6240
- ), table.getPageCount() > 1 && /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm " }, /* @__PURE__ */ React45.createElement("span", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React45.createElement("div", null, (_j = props.texts) == null ? void 0 : _j.page), /* @__PURE__ */ React45.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-1" }, /* @__PURE__ */ React45.createElement("span", { className: "hawa-font-bold" }, table.getState().pagination.pageIndex + 1), /* @__PURE__ */ React45.createElement("span", null, (_k = props.texts) == null ? void 0 : _k.of), /* @__PURE__ */ React45.createElement("span", { className: "hawa-font-bold" }, table.getPageCount())))), /* @__PURE__ */ React45.createElement(
6336
+ ), table.getPageCount() > 1 && /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm " }, /* @__PURE__ */ React46.createElement("span", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React46.createElement("div", null, (_j = props.texts) == null ? void 0 : _j.page), /* @__PURE__ */ React46.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-1" }, /* @__PURE__ */ React46.createElement("span", { className: "hawa-font-bold" }, table.getState().pagination.pageIndex + 1), /* @__PURE__ */ React46.createElement("span", null, (_k = props.texts) == null ? void 0 : _k.of), /* @__PURE__ */ React46.createElement("span", { className: "hawa-font-bold" }, table.getPageCount())))), /* @__PURE__ */ React46.createElement(
6241
6337
  Button,
6242
6338
  {
6243
6339
  "aria-label": "Next Table Page",
@@ -6249,7 +6345,7 @@ var DataTable = ({
6249
6345
  props.direction === "rtl" && "hawa-rotate-180"
6250
6346
  )
6251
6347
  },
6252
- /* @__PURE__ */ React45.createElement(
6348
+ /* @__PURE__ */ React46.createElement(
6253
6349
  "svg",
6254
6350
  {
6255
6351
  xmlns: "http://www.w3.org/2000/svg",
@@ -6262,10 +6358,10 @@ var DataTable = ({
6262
6358
  strokeLinecap: "round",
6263
6359
  strokeLinejoin: "round"
6264
6360
  },
6265
- /* @__PURE__ */ React45.createElement("path", { d: "m11 17-5-5 5-5" }),
6266
- /* @__PURE__ */ React45.createElement("path", { d: "m18 17-5-5 5-5" })
6361
+ /* @__PURE__ */ React46.createElement("path", { d: "m11 17-5-5 5-5" }),
6362
+ /* @__PURE__ */ React46.createElement("path", { d: "m18 17-5-5 5-5" })
6267
6363
  )
6268
- ), /* @__PURE__ */ React45.createElement(
6364
+ ), /* @__PURE__ */ React46.createElement(
6269
6365
  Button,
6270
6366
  {
6271
6367
  "aria-label": "Previous Table Page",
@@ -6277,7 +6373,7 @@ var DataTable = ({
6277
6373
  props.direction === "rtl" && "hawa-rotate-180"
6278
6374
  )
6279
6375
  },
6280
- /* @__PURE__ */ React45.createElement(
6376
+ /* @__PURE__ */ React46.createElement(
6281
6377
  "svg",
6282
6378
  {
6283
6379
  xmlns: "http://www.w3.org/2000/svg",
@@ -6291,9 +6387,9 @@ var DataTable = ({
6291
6387
  strokeLinecap: "round",
6292
6388
  strokeLinejoin: "round"
6293
6389
  },
6294
- /* @__PURE__ */ React45.createElement("path", { d: "m15 18-6-6 6-6" })
6390
+ /* @__PURE__ */ React46.createElement("path", { d: "m15 18-6-6 6-6" })
6295
6391
  )
6296
- ), /* @__PURE__ */ React45.createElement(
6392
+ ), /* @__PURE__ */ React46.createElement(
6297
6393
  Button,
6298
6394
  {
6299
6395
  "aria-label": "Next Table Page",
@@ -6305,7 +6401,7 @@ var DataTable = ({
6305
6401
  props.direction === "ltr" && "hawa-rotate-180"
6306
6402
  )
6307
6403
  },
6308
- /* @__PURE__ */ React45.createElement(
6404
+ /* @__PURE__ */ React46.createElement(
6309
6405
  "svg",
6310
6406
  {
6311
6407
  xmlns: "http://www.w3.org/2000/svg",
@@ -6319,9 +6415,9 @@ var DataTable = ({
6319
6415
  strokeLinecap: "round",
6320
6416
  strokeLinejoin: "round"
6321
6417
  },
6322
- /* @__PURE__ */ React45.createElement("path", { d: "m15 18-6-6 6-6" })
6418
+ /* @__PURE__ */ React46.createElement("path", { d: "m15 18-6-6 6-6" })
6323
6419
  )
6324
- ), /* @__PURE__ */ React45.createElement(
6420
+ ), /* @__PURE__ */ React46.createElement(
6325
6421
  Button,
6326
6422
  {
6327
6423
  "aria-label": "Next Table Page",
@@ -6333,7 +6429,7 @@ var DataTable = ({
6333
6429
  props.direction === "ltr" && "hawa-rotate-180"
6334
6430
  )
6335
6431
  },
6336
- /* @__PURE__ */ React45.createElement(
6432
+ /* @__PURE__ */ React46.createElement(
6337
6433
  "svg",
6338
6434
  {
6339
6435
  xmlns: "http://www.w3.org/2000/svg",
@@ -6346,15 +6442,15 @@ var DataTable = ({
6346
6442
  strokeLinecap: "round",
6347
6443
  strokeLinejoin: "round"
6348
6444
  },
6349
- /* @__PURE__ */ React45.createElement("path", { d: "m11 17-5-5 5-5" }),
6350
- /* @__PURE__ */ React45.createElement("path", { d: "m18 17-5-5 5-5" })
6445
+ /* @__PURE__ */ React46.createElement("path", { d: "m11 17-5-5 5-5" }),
6446
+ /* @__PURE__ */ React46.createElement("path", { d: "m18 17-5-5 5-5" })
6351
6447
  )
6352
6448
  ))))
6353
6449
  ));
6354
6450
  };
6355
6451
 
6356
6452
  // components/elements/SimpleTable.tsx
6357
- var React46 = __toESM(require("react"));
6453
+ var React47 = __toESM(require("react"));
6358
6454
  var import_react_table2 = require("@tanstack/react-table");
6359
6455
  var SimpleTable = ({
6360
6456
  columns,
@@ -6368,7 +6464,7 @@ var SimpleTable = ({
6368
6464
  columns,
6369
6465
  getCoreRowModel: (0, import_react_table2.getCoreRowModel)()
6370
6466
  });
6371
- return /* @__PURE__ */ React46.createElement(
6467
+ return /* @__PURE__ */ React47.createElement(
6372
6468
  "div",
6373
6469
  {
6374
6470
  className: cn(
@@ -6376,8 +6472,8 @@ var SimpleTable = ({
6376
6472
  classNames
6377
6473
  )
6378
6474
  },
6379
- props.isLoading ? /* @__PURE__ */ React46.createElement(Skeleton, { className: "h-[130px] w-full" }) : /* @__PURE__ */ React46.createElement("div", { className: "hawa-rounded" }, /* @__PURE__ */ React46.createElement(Table, null, table.getAllColumns().length > 0 && /* @__PURE__ */ React46.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React46.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
6380
- return /* @__PURE__ */ React46.createElement(
6475
+ props.isLoading ? /* @__PURE__ */ React47.createElement(Skeleton, { className: "h-[130px] w-full" }) : /* @__PURE__ */ React47.createElement("div", { className: "hawa-rounded" }, /* @__PURE__ */ React47.createElement(Table, null, table.getAllColumns().length > 0 && /* @__PURE__ */ React47.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React47.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
6476
+ return /* @__PURE__ */ React47.createElement(
6381
6477
  TableHead,
6382
6478
  {
6383
6479
  condensed: props.condensed,
@@ -6389,7 +6485,7 @@ var SimpleTable = ({
6389
6485
  header.getContext()
6390
6486
  )
6391
6487
  );
6392
- })))), /* @__PURE__ */ React46.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React46.createElement(
6488
+ })))), /* @__PURE__ */ React47.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React47.createElement(
6393
6489
  TableRow,
6394
6490
  {
6395
6491
  key: row.id,
@@ -6397,7 +6493,7 @@ var SimpleTable = ({
6397
6493
  },
6398
6494
  row.getVisibleCells().map((cell) => {
6399
6495
  var _a2;
6400
- return /* @__PURE__ */ React46.createElement(
6496
+ return /* @__PURE__ */ React47.createElement(
6401
6497
  TableCell,
6402
6498
  {
6403
6499
  dir: props.direction,
@@ -6410,7 +6506,7 @@ var SimpleTable = ({
6410
6506
  )
6411
6507
  );
6412
6508
  })
6413
- )) : /* @__PURE__ */ React46.createElement(TableRow, null, /* @__PURE__ */ React46.createElement(
6509
+ )) : /* @__PURE__ */ React47.createElement(TableRow, null, /* @__PURE__ */ React47.createElement(
6414
6510
  TableCell,
6415
6511
  {
6416
6512
  colSpan: columns.length,
@@ -6422,9 +6518,9 @@ var SimpleTable = ({
6422
6518
  };
6423
6519
 
6424
6520
  // components/elements/Accordion.tsx
6425
- var React47 = __toESM(require("react"));
6521
+ var React48 = __toESM(require("react"));
6426
6522
  var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
6427
- var Accordion = React47.forwardRef(
6523
+ var Accordion = React48.forwardRef(
6428
6524
  ({
6429
6525
  items,
6430
6526
  itemClassNames,
@@ -6432,21 +6528,21 @@ var Accordion = React47.forwardRef(
6432
6528
  contentclassNames,
6433
6529
  className,
6434
6530
  ...props
6435
- }, ref) => /* @__PURE__ */ React47.createElement(AccordionPrimitive.Root, { type: props.type, collapsible: true }, items.map((item, index) => /* @__PURE__ */ React47.createElement(
6531
+ }, ref) => /* @__PURE__ */ React48.createElement(AccordionPrimitive.Root, { type: props.type, collapsible: true }, items.map((item, index) => /* @__PURE__ */ React48.createElement(
6436
6532
  AccordionItem,
6437
6533
  {
6438
6534
  className: itemClassNames,
6439
6535
  key: index,
6440
6536
  value: `item-${index}`
6441
6537
  },
6442
- /* @__PURE__ */ React47.createElement(AccordionTrigger, { className: triggerclassNames }, item.trigger),
6443
- /* @__PURE__ */ React47.createElement(AccordionContent, { className: contentclassNames }, item.content)
6538
+ /* @__PURE__ */ React48.createElement(AccordionTrigger, { className: triggerclassNames }, item.trigger),
6539
+ /* @__PURE__ */ React48.createElement(AccordionContent, { className: contentclassNames }, item.content)
6444
6540
  )))
6445
6541
  );
6446
6542
  Accordion.displayName = "Accordion";
6447
- var AccordionItem = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React47.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
6543
+ var AccordionItem = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React48.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
6448
6544
  AccordionItem.displayName = "AccordionItem";
6449
- var AccordionTrigger = React47.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React47.createElement(AccordionPrimitive.Header, { className: "hawa-flex" }, /* @__PURE__ */ React47.createElement(
6545
+ var AccordionTrigger = React48.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React48.createElement(AccordionPrimitive.Header, { className: "hawa-flex" }, /* @__PURE__ */ React48.createElement(
6450
6546
  AccordionPrimitive.Trigger,
6451
6547
  {
6452
6548
  ref,
@@ -6457,7 +6553,7 @@ var AccordionTrigger = React47.forwardRef(({ className, children, ...props }, re
6457
6553
  ...props
6458
6554
  },
6459
6555
  children,
6460
- /* @__PURE__ */ React47.createElement(
6556
+ /* @__PURE__ */ React48.createElement(
6461
6557
  "svg",
6462
6558
  {
6463
6559
  xmlns: "http://www.w3.org/2000/svg",
@@ -6471,11 +6567,11 @@ var AccordionTrigger = React47.forwardRef(({ className, children, ...props }, re
6471
6567
  strokeLinejoin: "round",
6472
6568
  className: "hawa-icon hawa-shrink-0 hawa-transition-transform hawa-duration-200"
6473
6569
  },
6474
- /* @__PURE__ */ React47.createElement("path", { d: "m6 9 6 6 6-6" })
6570
+ /* @__PURE__ */ React48.createElement("path", { d: "m6 9 6 6 6-6" })
6475
6571
  )
6476
6572
  )));
6477
6573
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
6478
- var AccordionContent = React47.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React47.createElement(
6574
+ var AccordionContent = React48.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React48.createElement(
6479
6575
  AccordionPrimitive.Content,
6480
6576
  {
6481
6577
  ref,
@@ -6485,29 +6581,11 @@ var AccordionContent = React47.forwardRef(({ className, children, ...props }, re
6485
6581
  ),
6486
6582
  ...props
6487
6583
  },
6488
- /* @__PURE__ */ React47.createElement("div", { className: "hawa-bg-background hawa-border hawa-p-4" }, children)
6584
+ /* @__PURE__ */ React48.createElement("div", { className: "hawa-bg-background hawa-border hawa-p-4" }, children)
6489
6585
  ));
6490
6586
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
6491
6587
  var AccordionRoot = AccordionPrimitive.Root;
6492
6588
 
6493
- // components/elements/Separator.tsx
6494
- var React48 = __toESM(require("react"));
6495
- var Separator2 = ({
6496
- className,
6497
- orientation = "horizontal",
6498
- ...props
6499
- }) => /* @__PURE__ */ React48.createElement(
6500
- "div",
6501
- {
6502
- className: cn(
6503
- "hawa-shrink-0 hawa-bg-border",
6504
- orientation === "horizontal" ? "hawa-h-[1px] hawa-w-full" : "hawa-h-full hawa-w-[1px]",
6505
- className
6506
- ),
6507
- ...props
6508
- }
6509
- );
6510
-
6511
6589
  // components/elements/Progress.tsx
6512
6590
  var React49 = __toESM(require("react"));
6513
6591
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));