@sikka/hawa 0.19.15-next → 0.19.16-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,29 @@ 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,
852
871
  currentPlan = false,
853
872
  ...props
854
873
  }) => {
@@ -865,64 +884,73 @@ var PricingCard = ({
865
884
  className: cn(
866
885
  currentPlan ? "hawa-border-primary dark:hawa-border-primary/70 hawa-border-2 " : "hawa-border",
867
886
  cardSizes[size],
868
- "hawa-flex hawa-flex-col hawa-gap-4 hawa-rounded hawa-p-4 hawa-justify-between"
887
+ "hawa-flex hawa-gap-4 hawa-rounded hawa-p-4 hawa-justify-between hawa-flex-col"
869
888
  )
870
889
  },
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",
890
+ /* @__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-font-normal hawa-text-primary/70" }, "/ ", props.texts.cycleText))), endButton && /* @__PURE__ */ import_react7.default.createElement(Separator, null), /* @__PURE__ */ import_react7.default.createElement(
891
+ "div",
892
+ {
893
+ className: cn(
894
+ "hawa-flex hawa-gap-4 hawa-justify-between hawa-h-full",
895
+ endButton ? "hawa-flex-col" : "hawa-flex-col-reverse"
896
+ )
897
+ },
898
+ 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) => {
899
+ return /* @__PURE__ */ import_react7.default.createElement(
900
+ "li",
883
901
  {
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"
902
+ key: o,
903
+ className: cn(
904
+ "hawa-flex hawa-flex-row hawa-justify-between hawa-gap-2",
905
+ !feature.included && "hawa-line-through"
906
+ )
889
907
  },
890
- /* @__PURE__ */ import_react7.default.createElement(
891
- "path",
908
+ /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ import_react7.default.createElement(
909
+ "svg",
892
910
  {
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
- )
911
+ "aria-label": "Check Icon",
912
+ "aria-hidden": "true",
913
+ className: "hawa-m-2 hawa-h-5 hawa-w-5 hawa-flex-shrink-0 hawa-text-primary",
914
+ fill: "currentColor",
915
+ viewBox: "0 0 20 20"
916
+ },
917
+ /* @__PURE__ */ import_react7.default.createElement(
918
+ "path",
919
+ {
920
+ fillRule: "evenodd",
921
+ 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",
922
+ clipRule: "evenodd"
923
+ }
924
+ )
925
+ ) : /* @__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" }))),
926
+ feature.hint && /* @__PURE__ */ import_react7.default.createElement(Tooltip, { content: feature.hint, side: feature.hintSide }, /* @__PURE__ */ import_react7.default.createElement(
927
+ "svg",
928
+ {
929
+ xmlns: "http://www.w3.org/2000/svg",
930
+ className: "hawa-w-[14px] hawa-h-[14px] hawa-cursor-help",
931
+ viewBox: "0 0 24 24",
932
+ fill: "none",
933
+ stroke: "currentColor",
934
+ strokeWidth: "2",
935
+ strokeLinecap: "round",
936
+ strokeLinejoin: "round"
937
+ },
938
+ /* @__PURE__ */ import_react7.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
939
+ /* @__PURE__ */ import_react7.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
940
+ /* @__PURE__ */ import_react7.default.createElement("path", { d: "M12 17h.01" })
941
+ ))
942
+ );
943
+ })),
944
+ /* @__PURE__ */ import_react7.default.createElement(
945
+ Button,
946
+ {
947
+ onClick: props.onPlanClicked,
948
+ disabled: currentPlan,
949
+ className: "hawa-w-full"
950
+ },
951
+ props.texts.buttonText
952
+ )
953
+ ))
926
954
  );
927
955
  };
928
956
 
@@ -930,7 +958,7 @@ var PricingCard = ({
930
958
  var import_react9 = __toESM(require("react"));
931
959
 
932
960
  // components/elements/DropdownMenu.tsx
933
- var React11 = __toESM(require("react"));
961
+ var React12 = __toESM(require("react"));
934
962
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
935
963
  var DropdownMenuRoot = DropdownMenuPrimitive.Root;
936
964
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
@@ -938,7 +966,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
938
966
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
939
967
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
940
968
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
941
- var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
969
+ var DropdownMenuSubTrigger = React12.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React12.createElement(
942
970
  DropdownMenuPrimitive.SubTrigger,
943
971
  {
944
972
  ref,
@@ -949,9 +977,9 @@ var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, .
949
977
  ),
950
978
  ...props
951
979
  },
952
- /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
980
+ /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
953
981
  " ",
954
- /* @__PURE__ */ React11.createElement(
982
+ /* @__PURE__ */ React12.createElement(
955
983
  "svg",
956
984
  {
957
985
  "aria-label": "Chevron Right Icon",
@@ -963,7 +991,7 @@ var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, .
963
991
  width: "1em",
964
992
  className: cn(props.dir === "rtl" ? "hawa-rotate-180" : "")
965
993
  },
966
- /* @__PURE__ */ React11.createElement(
994
+ /* @__PURE__ */ React12.createElement(
967
995
  "path",
968
996
  {
969
997
  fillRule: "evenodd",
@@ -973,7 +1001,7 @@ var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, .
973
1001
  )
974
1002
  ));
975
1003
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
976
- var DropdownMenuSubContent = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1004
+ var DropdownMenuSubContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
977
1005
  DropdownMenuPrimitive.SubContent,
978
1006
  {
979
1007
  ref,
@@ -985,7 +1013,7 @@ var DropdownMenuSubContent = React11.forwardRef(({ className, ...props }, ref) =
985
1013
  }
986
1014
  ));
987
1015
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
988
- var DropdownMenuContent = React11.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React11.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React11.createElement(
1016
+ var DropdownMenuContent = React12.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React12.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React12.createElement(
989
1017
  DropdownMenuPrimitive.Content,
990
1018
  {
991
1019
  ref,
@@ -998,8 +1026,8 @@ var DropdownMenuContent = React11.forwardRef(({ className, sideOffset = 4, ...pr
998
1026
  }
999
1027
  )));
1000
1028
  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(
1029
+ var DropdownMenuItem = React12.forwardRef(({ className, inset, badged, slug, ...props }, ref) => {
1030
+ return /* @__PURE__ */ React12.createElement("a", { href: slug }, /* @__PURE__ */ React12.createElement(
1003
1031
  DropdownMenuPrimitive.Item,
1004
1032
  {
1005
1033
  disabled: props.disabled,
@@ -1012,14 +1040,14 @@ var DropdownMenuItem = React11.forwardRef(({ className, inset, badged, slug, ...
1012
1040
  ),
1013
1041
  ...props
1014
1042
  },
1015
- /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
1043
+ /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
1016
1044
  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" })
1045
+ !props.end && props.shortcut && /* @__PURE__ */ React12.createElement(DropdownMenuShortcut, null, props.shortcut),
1046
+ !props.end && badged && /* @__PURE__ */ React12.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-bg-red-500 hawa-rounded-full" })
1019
1047
  ));
1020
1048
  });
1021
1049
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1022
- var DropdownMenuCheckboxItem = React11.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1050
+ var DropdownMenuCheckboxItem = React12.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1023
1051
  DropdownMenuPrimitive.CheckboxItem,
1024
1052
  {
1025
1053
  ref,
@@ -1030,7 +1058,7 @@ var DropdownMenuCheckboxItem = React11.forwardRef(({ className, children, checke
1030
1058
  checked,
1031
1059
  ...props
1032
1060
  },
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(
1061
+ /* @__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
1062
  "svg",
1035
1063
  {
1036
1064
  "aria-label": "Check Mark",
@@ -1041,12 +1069,12 @@ var DropdownMenuCheckboxItem = React11.forwardRef(({ className, children, checke
1041
1069
  height: "0.60em",
1042
1070
  width: "0.60em"
1043
1071
  },
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" })
1072
+ /* @__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
1073
  ), " ")),
1046
1074
  children
1047
1075
  ));
1048
1076
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1049
- var DropdownMenuRadioItem = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1077
+ var DropdownMenuRadioItem = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1050
1078
  DropdownMenuPrimitive.RadioItem,
1051
1079
  {
1052
1080
  ref,
@@ -1056,7 +1084,7 @@ var DropdownMenuRadioItem = React11.forwardRef(({ className, children, ...props
1056
1084
  ),
1057
1085
  ...props
1058
1086
  },
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(
1087
+ /* @__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
1088
  "svg",
1061
1089
  {
1062
1090
  xmlns: "http://www.w3.org/2000/svg",
@@ -1071,12 +1099,12 @@ var DropdownMenuRadioItem = React11.forwardRef(({ className, children, ...props
1071
1099
  strokeLinejoin: "round",
1072
1100
  className: "hawa-h-2 hawa-w-2 hawa-fill-current"
1073
1101
  },
1074
- /* @__PURE__ */ React11.createElement("circle", { cx: "12", cy: "12", r: "10" })
1102
+ /* @__PURE__ */ React12.createElement("circle", { cx: "12", cy: "12", r: "10" })
1075
1103
  ))),
1076
1104
  children
1077
1105
  ));
1078
1106
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1079
- var DropdownMenuLabel = React11.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1107
+ var DropdownMenuLabel = React12.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1080
1108
  DropdownMenuPrimitive.Label,
1081
1109
  {
1082
1110
  ref,
@@ -1089,7 +1117,7 @@ var DropdownMenuLabel = React11.forwardRef(({ className, inset, ...props }, ref)
1089
1117
  }
1090
1118
  ));
1091
1119
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1092
- var DropdownMenuSeparator = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1120
+ var DropdownMenuSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1093
1121
  DropdownMenuPrimitive.Separator,
1094
1122
  {
1095
1123
  ref,
@@ -1102,7 +1130,7 @@ var DropdownMenuShortcut = ({
1102
1130
  className,
1103
1131
  ...props
1104
1132
  }) => {
1105
- return /* @__PURE__ */ React11.createElement(
1133
+ return /* @__PURE__ */ React12.createElement(
1106
1134
  "span",
1107
1135
  {
1108
1136
  className: cn(
@@ -1141,7 +1169,7 @@ var DropdownMenu = ({
1141
1169
  default: "hawa-px-2 hawa-py-3 ",
1142
1170
  sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
1143
1171
  };
1144
- return /* @__PURE__ */ React11.createElement(
1172
+ return /* @__PURE__ */ React12.createElement(
1145
1173
  DropdownMenuRoot,
1146
1174
  {
1147
1175
  onOpenChange,
@@ -1149,8 +1177,8 @@ var DropdownMenu = ({
1149
1177
  modal: false,
1150
1178
  dir: direction
1151
1179
  },
1152
- /* @__PURE__ */ React11.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
1153
- /* @__PURE__ */ React11.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React11.createElement(
1180
+ /* @__PURE__ */ React12.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
1181
+ /* @__PURE__ */ React12.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React12.createElement(
1154
1182
  DropdownMenuContent,
1155
1183
  {
1156
1184
  side,
@@ -1166,13 +1194,13 @@ var DropdownMenu = ({
1166
1194
  header && header,
1167
1195
  items && items.map((item, index) => {
1168
1196
  if (item.itemType === "separator") {
1169
- return /* @__PURE__ */ React11.createElement(DropdownMenuSeparator, { key: index });
1197
+ return /* @__PURE__ */ React12.createElement(DropdownMenuSeparator, { key: index });
1170
1198
  } else if (item.itemType === "label") {
1171
- return /* @__PURE__ */ React11.createElement(DropdownMenuLabel, { key: index }, item.label);
1199
+ return /* @__PURE__ */ React12.createElement(DropdownMenuLabel, { key: index }, item.label);
1172
1200
  } else if (item.itemType === "custom") {
1173
- return /* @__PURE__ */ React11.createElement("div", { key: index }, item.content);
1201
+ return /* @__PURE__ */ React12.createElement("div", { key: index }, item.content);
1174
1202
  } else {
1175
- return item.subitems ? /* @__PURE__ */ React11.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React11.createElement(
1203
+ return item.subitems ? /* @__PURE__ */ React12.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React12.createElement(
1176
1204
  DropdownMenuSubTrigger,
1177
1205
  {
1178
1206
  className: cn(sizeStyles[size]),
@@ -1180,7 +1208,7 @@ var DropdownMenu = ({
1180
1208
  },
1181
1209
  item.icon && item.icon,
1182
1210
  item.label && item.label
1183
- ), /* @__PURE__ */ React11.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React11.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React11.createElement(
1211
+ ), /* @__PURE__ */ React12.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React12.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React12.createElement(
1184
1212
  DropdownMenuItem,
1185
1213
  {
1186
1214
  slug: subitem.slug,
@@ -1207,7 +1235,7 @@ var DropdownMenu = ({
1207
1235
  },
1208
1236
  subitem.icon && subitem.icon,
1209
1237
  subitem.label && subitem.label
1210
- ))))) : /* @__PURE__ */ React11.createElement(
1238
+ ))))) : /* @__PURE__ */ React12.createElement(
1211
1239
  DropdownMenuItem,
1212
1240
  {
1213
1241
  slug: item.slug,
@@ -1259,13 +1287,13 @@ var DropdownMenu = ({
1259
1287
  );
1260
1288
  };
1261
1289
  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(
1290
+ 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
1291
  DropdownMenuRadioGroup,
1264
1292
  {
1265
1293
  value: props.value,
1266
1294
  onValueChange: props.onValueChange
1267
1295
  },
1268
- props.options.map((opt, i) => /* @__PURE__ */ React11.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
1296
+ props.options.map((opt, i) => /* @__PURE__ */ React12.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
1269
1297
  )));
1270
1298
  };
1271
1299
 
@@ -3184,8 +3212,8 @@ var import_react_select = __toESM(require("react-select"));
3184
3212
  var import_creatable = __toESM(require("react-select/creatable"));
3185
3213
 
3186
3214
  // 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(
3215
+ var React17 = __toESM(require("react"));
3216
+ 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
3217
  "label",
3190
3218
  {
3191
3219
  ref,
@@ -3196,8 +3224,8 @@ var Label2 = React16.forwardRef(({ className, hint, hintSide, required, children
3196
3224
  ...props
3197
3225
  },
3198
3226
  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(
3227
+ required && /* @__PURE__ */ React17.createElement("span", { className: "hawa-text-red-500 hawa-mx-0.5" }, "*")
3228
+ ), hint && /* @__PURE__ */ React17.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React17.createElement(
3201
3229
  "svg",
3202
3230
  {
3203
3231
  xmlns: "http://www.w3.org/2000/svg",
@@ -3209,9 +3237,9 @@ var Label2 = React16.forwardRef(({ className, hint, hintSide, required, children
3209
3237
  strokeLinecap: "round",
3210
3238
  strokeLinejoin: "round"
3211
3239
  },
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" })
3240
+ /* @__PURE__ */ React17.createElement("circle", { cx: "12", cy: "12", r: "10" }),
3241
+ /* @__PURE__ */ React17.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
3242
+ /* @__PURE__ */ React17.createElement("path", { d: "M12 17h.01" })
3215
3243
  ))));
3216
3244
  Label2.displayName = "Label";
3217
3245
 
@@ -3430,7 +3458,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
3430
3458
  };
3431
3459
 
3432
3460
  // components/elements/Checkbox.tsx
3433
- var React19 = __toESM(require("react"));
3461
+ var React20 = __toESM(require("react"));
3434
3462
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
3435
3463
  var Checkbox = ({
3436
3464
  id,
@@ -3440,7 +3468,7 @@ var Checkbox = ({
3440
3468
  disabled,
3441
3469
  ...props
3442
3470
  }) => {
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(
3471
+ return /* @__PURE__ */ React20.createElement("div", { className: "hawa-items-top hawa-flex hawa-gap-2 " }, /* @__PURE__ */ React20.createElement(CheckboxElement, { ...props, disabled, id }), (label || helperText) && /* @__PURE__ */ React20.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React20.createElement(
3444
3472
  "label",
3445
3473
  {
3446
3474
  htmlFor: id,
@@ -3450,7 +3478,7 @@ var Checkbox = ({
3450
3478
  )
3451
3479
  },
3452
3480
  label
3453
- ), sublabel && /* @__PURE__ */ React19.createElement(
3481
+ ), sublabel && /* @__PURE__ */ React20.createElement(
3454
3482
  "label",
3455
3483
  {
3456
3484
  htmlFor: id,
@@ -3460,7 +3488,7 @@ var Checkbox = ({
3460
3488
  )
3461
3489
  },
3462
3490
  sublabel
3463
- ), helperText && !disabled && /* @__PURE__ */ React19.createElement(
3491
+ ), helperText && !disabled && /* @__PURE__ */ React20.createElement(
3464
3492
  "label",
3465
3493
  {
3466
3494
  htmlFor: id,
@@ -3472,7 +3500,7 @@ var Checkbox = ({
3472
3500
  helperText
3473
3501
  )));
3474
3502
  };
3475
- var CheckboxElement = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React19.createElement(
3503
+ var CheckboxElement = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement(
3476
3504
  CheckboxPrimitive.Root,
3477
3505
  {
3478
3506
  ref,
@@ -3482,14 +3510,14 @@ var CheckboxElement = React19.forwardRef(({ className, ...props }, ref) => /* @_
3482
3510
  ),
3483
3511
  ...props
3484
3512
  },
3485
- /* @__PURE__ */ React19.createElement(
3513
+ /* @__PURE__ */ React20.createElement(
3486
3514
  CheckboxPrimitive.Indicator,
3487
3515
  {
3488
3516
  className: cn(
3489
3517
  "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
3490
3518
  )
3491
3519
  },
3492
- /* @__PURE__ */ React19.createElement(
3520
+ /* @__PURE__ */ React20.createElement(
3493
3521
  "svg",
3494
3522
  {
3495
3523
  "aria-label": "Check Mark",
@@ -3500,7 +3528,7 @@ var CheckboxElement = React19.forwardRef(({ className, ...props }, ref) => /* @_
3500
3528
  height: "0.60em",
3501
3529
  width: "0.60em"
3502
3530
  },
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" })
3531
+ /* @__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" })
3504
3532
  ),
3505
3533
  " "
3506
3534
  )
@@ -3694,15 +3722,15 @@ var Radio = ({
3694
3722
  };
3695
3723
 
3696
3724
  // components/elements/Switch.tsx
3697
- var React21 = __toESM(require("react"));
3725
+ var React22 = __toESM(require("react"));
3698
3726
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
3699
- var Switch = React21.forwardRef(
3727
+ var Switch = React22.forwardRef(
3700
3728
  ({ className, size = "default", roundedness = "inherit", label, ...props }, ref) => {
3701
- const [parentDirection, setParentDirection] = React21.useState(
3729
+ const [parentDirection, setParentDirection] = React22.useState(
3702
3730
  null
3703
3731
  );
3704
- const parentRef = React21.useRef(null);
3705
- React21.useEffect(() => {
3732
+ const parentRef = React22.useRef(null);
3733
+ React22.useEffect(() => {
3706
3734
  var _a;
3707
3735
  const parentNode = (_a = parentRef.current) == null ? void 0 : _a.parentNode;
3708
3736
  if (parentNode) {
@@ -3730,13 +3758,13 @@ var Switch = React21.forwardRef(
3730
3758
  full: "hawa-rounded-full",
3731
3759
  inherit: "hawa-rounded-inner"
3732
3760
  };
3733
- return /* @__PURE__ */ React21.createElement(
3761
+ return /* @__PURE__ */ React22.createElement(
3734
3762
  "div",
3735
3763
  {
3736
3764
  className: "hawa-flex hawa-flex-row hawa-items-center",
3737
3765
  ref: parentRef
3738
3766
  },
3739
- /* @__PURE__ */ React21.createElement(
3767
+ /* @__PURE__ */ React22.createElement(
3740
3768
  SwitchPrimitives.Root,
3741
3769
  {
3742
3770
  className: cn(
@@ -3750,7 +3778,7 @@ var Switch = React21.forwardRef(
3750
3778
  ...props,
3751
3779
  ref
3752
3780
  },
3753
- /* @__PURE__ */ React21.createElement(
3781
+ /* @__PURE__ */ React22.createElement(
3754
3782
  SwitchPrimitives.Thumb,
3755
3783
  {
3756
3784
  className: cn(
@@ -3764,15 +3792,15 @@ var Switch = React21.forwardRef(
3764
3792
  }
3765
3793
  )
3766
3794
  ),
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)
3795
+ 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
3796
  );
3769
3797
  }
3770
3798
  );
3771
3799
  Switch.displayName = SwitchPrimitives.Root.displayName;
3772
3800
 
3773
3801
  // components/elements/Textarea.tsx
3774
- var React22 = __toESM(require("react"));
3775
- var Textarea = React22.forwardRef(
3802
+ var React23 = __toESM(require("react"));
3803
+ var Textarea = React23.forwardRef(
3776
3804
  ({
3777
3805
  className,
3778
3806
  labelProps,
@@ -3782,7 +3810,7 @@ var Textarea = React22.forwardRef(
3782
3810
  countPosition = "bottom",
3783
3811
  ...props
3784
3812
  }, 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(
3813
+ 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
3814
  "textarea",
3787
3815
  {
3788
3816
  className: cn(
@@ -3792,7 +3820,7 @@ var Textarea = React22.forwardRef(
3792
3820
  ref,
3793
3821
  ...textareaProps
3794
3822
  }
3795
- ), /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React22.createElement(
3823
+ ), /* @__PURE__ */ React23.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React23.createElement(
3796
3824
  "p",
3797
3825
  {
3798
3826
  className: cn(
@@ -3801,7 +3829,7 @@ var Textarea = React22.forwardRef(
3801
3829
  )
3802
3830
  },
3803
3831
  props.helperText
3804
- ), showCount && /* @__PURE__ */ React22.createElement(
3832
+ ), showCount && /* @__PURE__ */ React23.createElement(
3805
3833
  "div",
3806
3834
  {
3807
3835
  className: cn(
@@ -3820,9 +3848,9 @@ var Textarea = React22.forwardRef(
3820
3848
  Textarea.displayName = "Textarea";
3821
3849
 
3822
3850
  // components/elements/Slider.tsx
3823
- var React23 = __toESM(require("react"));
3851
+ var React24 = __toESM(require("react"));
3824
3852
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"));
3825
- var Slider = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23.createElement(
3853
+ var Slider = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
3826
3854
  SliderPrimitive.Root,
3827
3855
  {
3828
3856
  ref,
@@ -3832,8 +3860,8 @@ var Slider = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
3832
3860
  ),
3833
3861
  ...props
3834
3862
  },
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" })
3863
+ /* @__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" })),
3864
+ /* @__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
3865
  ));
3838
3866
  Slider.displayName = SliderPrimitive.Root.displayName;
3839
3867
 
@@ -4035,20 +4063,20 @@ var Input = (0, import_react16.forwardRef)(
4035
4063
  );
4036
4064
 
4037
4065
  // components/elements/Combobox.tsx
4038
- var React29 = __toESM(require("react"));
4066
+ var React30 = __toESM(require("react"));
4039
4067
  var PopoverPrimitive2 = __toESM(require("@radix-ui/react-popover"));
4040
4068
 
4041
4069
  // components/elements/Command.tsx
4042
- var React27 = __toESM(require("react"));
4070
+ var React28 = __toESM(require("react"));
4043
4071
  var import_cmdk = require("cmdk");
4044
4072
 
4045
4073
  // components/elements/Dialog.tsx
4046
- var React26 = __toESM(require("react"));
4074
+ var React27 = __toESM(require("react"));
4047
4075
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
4048
4076
  var Dialog = DialogPrimitive.Root;
4049
4077
  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(
4078
+ var DialogPortal = ({ ...props }) => /* @__PURE__ */ React27.createElement(DialogPrimitive.Portal, { ...props });
4079
+ var DialogOverlay = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4052
4080
  DialogPrimitive.Overlay,
4053
4081
  {
4054
4082
  ref,
@@ -4059,7 +4087,7 @@ var DialogOverlay = React26.forwardRef(({ className, ...props }, ref) => /* @__P
4059
4087
  ...props
4060
4088
  }
4061
4089
  ));
4062
- var DialogContent = React26.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React26.createElement(DialogPortal, null, /* @__PURE__ */ React26.createElement(DialogOverlay, null), /* @__PURE__ */ React26.createElement(
4090
+ var DialogContent = React27.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React27.createElement(DialogPortal, null, /* @__PURE__ */ React27.createElement(DialogOverlay, null), /* @__PURE__ */ React27.createElement(
4063
4091
  DialogPrimitive.Content,
4064
4092
  {
4065
4093
  onPointerDownOutside: (e) => {
@@ -4075,7 +4103,7 @@ var DialogContent = React26.forwardRef(({ className, children, persist, hideClos
4075
4103
  ...props
4076
4104
  },
4077
4105
  children,
4078
- !hideCloseButton && /* @__PURE__ */ React26.createElement(
4106
+ !hideCloseButton && /* @__PURE__ */ React27.createElement(
4079
4107
  DialogPrimitive.Close,
4080
4108
  {
4081
4109
  className: cn(
@@ -4083,7 +4111,7 @@ var DialogContent = React26.forwardRef(({ className, children, persist, hideClos
4083
4111
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
4084
4112
  )
4085
4113
  },
4086
- /* @__PURE__ */ React26.createElement(
4114
+ /* @__PURE__ */ React27.createElement(
4087
4115
  "svg",
4088
4116
  {
4089
4117
  "aria-label": "Close Icon",
@@ -4092,7 +4120,7 @@ var DialogContent = React26.forwardRef(({ className, children, persist, hideClos
4092
4120
  fill: "currentColor",
4093
4121
  viewBox: "0 0 20 20"
4094
4122
  },
4095
- /* @__PURE__ */ React26.createElement(
4123
+ /* @__PURE__ */ React27.createElement(
4096
4124
  "path",
4097
4125
  {
4098
4126
  fillRule: "evenodd",
@@ -4101,10 +4129,10 @@ var DialogContent = React26.forwardRef(({ className, children, persist, hideClos
4101
4129
  }
4102
4130
  )
4103
4131
  ),
4104
- /* @__PURE__ */ React26.createElement("span", { className: "hawa-sr-only" }, "Close")
4132
+ /* @__PURE__ */ React27.createElement("span", { className: "hawa-sr-only" }, "Close")
4105
4133
  )
4106
4134
  )));
4107
- var DialogCarouselContent = React26.forwardRef(
4135
+ var DialogCarouselContent = React27.forwardRef(
4108
4136
  ({
4109
4137
  className,
4110
4138
  children,
@@ -4113,7 +4141,7 @@ var DialogCarouselContent = React26.forwardRef(
4113
4141
  hideCloseButton,
4114
4142
  hidePrevButton,
4115
4143
  ...props
4116
- }, ref) => /* @__PURE__ */ React26.createElement(DialogPortal, null, /* @__PURE__ */ React26.createElement(DialogOverlay, null), /* @__PURE__ */ React26.createElement(
4144
+ }, ref) => /* @__PURE__ */ React27.createElement(DialogPortal, null, /* @__PURE__ */ React27.createElement(DialogOverlay, null), /* @__PURE__ */ React27.createElement(
4117
4145
  DialogPrimitive.Content,
4118
4146
  {
4119
4147
  onPointerDownOutside: (e) => {
@@ -4129,7 +4157,7 @@ var DialogCarouselContent = React26.forwardRef(
4129
4157
  ...props
4130
4158
  },
4131
4159
  children,
4132
- /* @__PURE__ */ React26.createElement(
4160
+ /* @__PURE__ */ React27.createElement(
4133
4161
  "div",
4134
4162
  {
4135
4163
  className: cn(
@@ -4137,7 +4165,7 @@ var DialogCarouselContent = React26.forwardRef(
4137
4165
  onPrev ? "hawa-justify-between" : "hawa-justify-end"
4138
4166
  )
4139
4167
  },
4140
- hidePrevButton ? /* @__PURE__ */ React26.createElement("div", null) : /* @__PURE__ */ React26.createElement(
4168
+ hidePrevButton ? /* @__PURE__ */ React27.createElement("div", null) : /* @__PURE__ */ React27.createElement(
4141
4169
  "div",
4142
4170
  {
4143
4171
  onClick: onPrev,
@@ -4146,7 +4174,7 @@ var DialogCarouselContent = React26.forwardRef(
4146
4174
  props.dir === "rtl" && "hawa-rotate-180"
4147
4175
  )
4148
4176
  },
4149
- /* @__PURE__ */ React26.createElement(
4177
+ /* @__PURE__ */ React27.createElement(
4150
4178
  "svg",
4151
4179
  {
4152
4180
  xmlns: "http://www.w3.org/2000/svg",
@@ -4160,10 +4188,10 @@ var DialogCarouselContent = React26.forwardRef(
4160
4188
  strokeLinecap: "round",
4161
4189
  strokeLinejoin: "round"
4162
4190
  },
4163
- /* @__PURE__ */ React26.createElement("path", { d: "m15 18-6-6 6-6" })
4191
+ /* @__PURE__ */ React27.createElement("path", { d: "m15 18-6-6 6-6" })
4164
4192
  )
4165
4193
  ),
4166
- !hideCloseButton && /* @__PURE__ */ React26.createElement(
4194
+ !hideCloseButton && /* @__PURE__ */ React27.createElement(
4167
4195
  DialogPrimitive.Close,
4168
4196
  {
4169
4197
  className: cn(
@@ -4171,7 +4199,7 @@ var DialogCarouselContent = React26.forwardRef(
4171
4199
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
4172
4200
  )
4173
4201
  },
4174
- /* @__PURE__ */ React26.createElement(
4202
+ /* @__PURE__ */ React27.createElement(
4175
4203
  "svg",
4176
4204
  {
4177
4205
  "aria-label": "Close Icon",
@@ -4180,7 +4208,7 @@ var DialogCarouselContent = React26.forwardRef(
4180
4208
  fill: "currentColor",
4181
4209
  viewBox: "0 0 20 20"
4182
4210
  },
4183
- /* @__PURE__ */ React26.createElement(
4211
+ /* @__PURE__ */ React27.createElement(
4184
4212
  "path",
4185
4213
  {
4186
4214
  fillRule: "evenodd",
@@ -4189,7 +4217,7 @@ var DialogCarouselContent = React26.forwardRef(
4189
4217
  }
4190
4218
  )
4191
4219
  ),
4192
- /* @__PURE__ */ React26.createElement("span", { className: "hawa-sr-only" }, "Close")
4220
+ /* @__PURE__ */ React27.createElement("span", { className: "hawa-sr-only" }, "Close")
4193
4221
  )
4194
4222
  )
4195
4223
  ))
@@ -4197,7 +4225,7 @@ var DialogCarouselContent = React26.forwardRef(
4197
4225
  var DialogHeader = ({
4198
4226
  className,
4199
4227
  ...props
4200
- }) => /* @__PURE__ */ React26.createElement(
4228
+ }) => /* @__PURE__ */ React27.createElement(
4201
4229
  "div",
4202
4230
  {
4203
4231
  className: cn(
@@ -4207,7 +4235,7 @@ var DialogHeader = ({
4207
4235
  ...props
4208
4236
  }
4209
4237
  );
4210
- var DialogTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
4238
+ var DialogTitle = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4211
4239
  DialogPrimitive.Title,
4212
4240
  {
4213
4241
  ref,
@@ -4218,7 +4246,7 @@ var DialogTitle = React26.forwardRef(({ className, ...props }, ref) => /* @__PUR
4218
4246
  ...props
4219
4247
  }
4220
4248
  ));
4221
- var DialogDescription = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
4249
+ var DialogDescription = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4222
4250
  DialogPrimitive.Description,
4223
4251
  {
4224
4252
  ref,
@@ -4232,7 +4260,7 @@ var DialogDescription = React26.forwardRef(({ className, ...props }, ref) => /*
4232
4260
  var DialogFooter = ({
4233
4261
  className,
4234
4262
  ...props
4235
- }) => /* @__PURE__ */ React26.createElement(
4263
+ }) => /* @__PURE__ */ React27.createElement(
4236
4264
  "div",
4237
4265
  {
4238
4266
  className: cn(
@@ -4248,12 +4276,12 @@ var DialogCarousel = ({
4248
4276
  children,
4249
4277
  direction
4250
4278
  }) => {
4251
- React26.useEffect(() => {
4279
+ React27.useEffect(() => {
4252
4280
  if (stepsApi) {
4253
4281
  stepsApi.reInit();
4254
4282
  }
4255
4283
  }, [stepsApi, children]);
4256
- return /* @__PURE__ */ React26.createElement("div", { className: "hawa-overflow-hidden" }, /* @__PURE__ */ React26.createElement("div", { ref: stepsRef, dir: direction }, /* @__PURE__ */ React26.createElement(
4284
+ return /* @__PURE__ */ React27.createElement("div", { className: "hawa-overflow-hidden" }, /* @__PURE__ */ React27.createElement("div", { ref: stepsRef, dir: direction }, /* @__PURE__ */ React27.createElement(
4257
4285
  "div",
4258
4286
  {
4259
4287
  className: "hawa-flex",
@@ -4261,7 +4289,7 @@ var DialogCarousel = ({
4261
4289
  transition: "height 0.2s"
4262
4290
  }
4263
4291
  },
4264
- React26.Children.map(children, (child, index) => /* @__PURE__ */ React26.createElement(
4292
+ React27.Children.map(children, (child, index) => /* @__PURE__ */ React27.createElement(
4265
4293
  "div",
4266
4294
  {
4267
4295
  className: cn(
@@ -4278,14 +4306,14 @@ var DialogSteps = ({
4278
4306
  visibleStepRef,
4279
4307
  children
4280
4308
  }) => {
4281
- const [dialogHeight, setDialogHeight] = React26.useState(null);
4282
- React26.useEffect(() => {
4309
+ const [dialogHeight, setDialogHeight] = React27.useState(null);
4310
+ React27.useEffect(() => {
4283
4311
  if (visibleStepRef.current) {
4284
4312
  setDialogHeight(visibleStepRef.current.offsetHeight);
4285
4313
  console.log("height is ", visibleStepRef.current.offsetHeight);
4286
4314
  }
4287
4315
  }, [currentStep, visibleStepRef]);
4288
- return /* @__PURE__ */ React26.createElement(
4316
+ return /* @__PURE__ */ React27.createElement(
4289
4317
  "div",
4290
4318
  {
4291
4319
  className: "hawa-relative hawa-overflow-clip",
@@ -4294,7 +4322,7 @@ var DialogSteps = ({
4294
4322
  transition: "height 0.2s"
4295
4323
  }
4296
4324
  },
4297
- React26.Children.map(children, (child, index) => /* @__PURE__ */ React26.createElement(
4325
+ React27.Children.map(children, (child, index) => /* @__PURE__ */ React27.createElement(
4298
4326
  "div",
4299
4327
  {
4300
4328
  ref: currentStep === `step-${index + 1}` ? visibleStepRef : null,
@@ -4312,7 +4340,7 @@ var DialogStep = ({
4312
4340
  className,
4313
4341
  stepRef
4314
4342
  }) => {
4315
- return /* @__PURE__ */ React26.createElement(
4343
+ return /* @__PURE__ */ React27.createElement(
4316
4344
  "div",
4317
4345
  {
4318
4346
  id,
@@ -4323,7 +4351,7 @@ var DialogStep = ({
4323
4351
  );
4324
4352
  };
4325
4353
  var DialogBody = ({ children, className }) => {
4326
- return /* @__PURE__ */ React26.createElement("div", { className: cn("hawa-py-6", className) }, children);
4354
+ return /* @__PURE__ */ React27.createElement("div", { className: cn("hawa-py-6", className) }, children);
4327
4355
  };
4328
4356
  DialogBody.displayName = "DialogBody";
4329
4357
  DialogStep.displayName = "DialogStep";
@@ -4339,7 +4367,7 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
4339
4367
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
4340
4368
 
4341
4369
  // components/elements/Command.tsx
4342
- var Command = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4370
+ var Command = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4343
4371
  import_cmdk.Command,
4344
4372
  {
4345
4373
  ref,
@@ -4352,15 +4380,15 @@ var Command = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__
4352
4380
  ));
4353
4381
  Command.displayName = import_cmdk.Command.displayName;
4354
4382
  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)));
4383
+ 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
4384
  };
4357
- var CommandInput = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4385
+ var CommandInput = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4358
4386
  "div",
4359
4387
  {
4360
4388
  className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
4361
4389
  "cmdk-input-wrapper": ""
4362
4390
  },
4363
- /* @__PURE__ */ React27.createElement(
4391
+ /* @__PURE__ */ React28.createElement(
4364
4392
  "svg",
4365
4393
  {
4366
4394
  "aria-label": "Search Icon",
@@ -4375,10 +4403,10 @@ var CommandInput = React27.forwardRef(({ className, ...props }, ref) => /* @__PU
4375
4403
  strokeLinejoin: "round",
4376
4404
  className: "hawa-mr-2 hawa-icon hawa-shrink-0 hawa-opacity-50"
4377
4405
  },
4378
- /* @__PURE__ */ React27.createElement("circle", { cx: "11", cy: "11", r: "8" }),
4379
- /* @__PURE__ */ React27.createElement("path", { d: "m21 21-4.3-4.3" })
4406
+ /* @__PURE__ */ React28.createElement("circle", { cx: "11", cy: "11", r: "8" }),
4407
+ /* @__PURE__ */ React28.createElement("path", { d: "m21 21-4.3-4.3" })
4380
4408
  ),
4381
- /* @__PURE__ */ React27.createElement(
4409
+ /* @__PURE__ */ React28.createElement(
4382
4410
  import_cmdk.Command.Input,
4383
4411
  {
4384
4412
  ref,
@@ -4391,7 +4419,7 @@ var CommandInput = React27.forwardRef(({ className, ...props }, ref) => /* @__PU
4391
4419
  )
4392
4420
  ));
4393
4421
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
4394
- var CommandList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4422
+ var CommandList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4395
4423
  import_cmdk.Command.List,
4396
4424
  {
4397
4425
  ref,
@@ -4403,7 +4431,7 @@ var CommandList = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
4403
4431
  }
4404
4432
  ));
4405
4433
  CommandList.displayName = import_cmdk.Command.List.displayName;
4406
- var CommandEmpty = React27.forwardRef((props, ref) => /* @__PURE__ */ React27.createElement(
4434
+ var CommandEmpty = React28.forwardRef((props, ref) => /* @__PURE__ */ React28.createElement(
4407
4435
  import_cmdk.Command.Empty,
4408
4436
  {
4409
4437
  ref,
@@ -4412,7 +4440,7 @@ var CommandEmpty = React27.forwardRef((props, ref) => /* @__PURE__ */ React27.cr
4412
4440
  }
4413
4441
  ));
4414
4442
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
4415
- var CommandGroup = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4443
+ var CommandGroup = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4416
4444
  import_cmdk.Command.Group,
4417
4445
  {
4418
4446
  ref,
@@ -4424,7 +4452,7 @@ var CommandGroup = React27.forwardRef(({ className, ...props }, ref) => /* @__PU
4424
4452
  }
4425
4453
  ));
4426
4454
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
4427
- var CommandSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4455
+ var CommandSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4428
4456
  import_cmdk.Command.Separator,
4429
4457
  {
4430
4458
  ref,
@@ -4433,7 +4461,7 @@ var CommandSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @
4433
4461
  }
4434
4462
  ));
4435
4463
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
4436
- var CommandItem = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
4464
+ var CommandItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4437
4465
  import_cmdk.Command.Item,
4438
4466
  {
4439
4467
  ref,
@@ -4449,7 +4477,7 @@ var CommandShortcut = ({
4449
4477
  className,
4450
4478
  ...props
4451
4479
  }) => {
4452
- return /* @__PURE__ */ React27.createElement(
4480
+ return /* @__PURE__ */ React28.createElement(
4453
4481
  "span",
4454
4482
  {
4455
4483
  className: cn(
@@ -4463,9 +4491,9 @@ var CommandShortcut = ({
4463
4491
  CommandShortcut.displayName = "CommandShortcut";
4464
4492
 
4465
4493
  // components/elements/Popover.tsx
4466
- var React28 = __toESM(require("react"));
4494
+ var React29 = __toESM(require("react"));
4467
4495
  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(
4496
+ var PopoverContent = React29.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React29.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React29.createElement(
4469
4497
  PopoverPrimitive.Content,
4470
4498
  {
4471
4499
  ref,
@@ -4497,7 +4525,7 @@ var Popover = ({
4497
4525
  trigger: "var(--radix-popover-trigger-width)",
4498
4526
  default: "auto"
4499
4527
  };
4500
- return /* @__PURE__ */ React28.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React28.createElement(
4528
+ return /* @__PURE__ */ React29.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React29.createElement(
4501
4529
  PopoverPrimitive.Trigger,
4502
4530
  {
4503
4531
  className: "hawa-w-full",
@@ -4505,7 +4533,7 @@ var Popover = ({
4505
4533
  ...triggerProps
4506
4534
  },
4507
4535
  trigger
4508
- ), /* @__PURE__ */ React28.createElement(
4536
+ ), /* @__PURE__ */ React29.createElement(
4509
4537
  PopoverContent,
4510
4538
  {
4511
4539
  side,
@@ -4523,7 +4551,7 @@ var Popover = ({
4523
4551
  var PopoverTrigger = PopoverPrimitive.Trigger;
4524
4552
 
4525
4553
  // components/elements/Combobox.tsx
4526
- var Combobox = React29.forwardRef(
4554
+ var Combobox = React30.forwardRef(
4527
4555
  ({
4528
4556
  labelKey = "label",
4529
4557
  valueKey = "value",
@@ -4534,8 +4562,8 @@ var Combobox = React29.forwardRef(
4534
4562
  ...props
4535
4563
  }, ref) => {
4536
4564
  var _a, _b, _c;
4537
- const [open, setOpen] = React29.useState(false);
4538
- const [value, setValue] = React29.useState(defaultValue);
4565
+ const [open, setOpen] = React30.useState(false);
4566
+ const [value, setValue] = React30.useState(defaultValue);
4539
4567
  function getProperty(obj, key) {
4540
4568
  return obj[key];
4541
4569
  }
@@ -4544,7 +4572,7 @@ var Combobox = React29.forwardRef(
4544
4572
  setOpen(open2);
4545
4573
  }
4546
4574
  };
4547
- return /* @__PURE__ */ React29.createElement(
4575
+ return /* @__PURE__ */ React30.createElement(
4548
4576
  "div",
4549
4577
  {
4550
4578
  className: cn(
@@ -4552,8 +4580,8 @@ var Combobox = React29.forwardRef(
4552
4580
  props.width === "fit" ? "hawa-w-fit" : "hawa-w-full"
4553
4581
  )
4554
4582
  },
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(
4583
+ props.label && /* @__PURE__ */ React30.createElement(Label2, { ...labelProps }, props.label),
4584
+ /* @__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
4585
  "div",
4558
4586
  {
4559
4587
  className: cn(
@@ -4561,7 +4589,7 @@ var Combobox = React29.forwardRef(
4561
4589
  props.preview ? "hawa-opacity-100" : "hawa-opacity-0"
4562
4590
  )
4563
4591
  }
4564
- ), /* @__PURE__ */ React29.createElement(
4592
+ ), /* @__PURE__ */ React30.createElement(
4565
4593
  "button",
4566
4594
  {
4567
4595
  role: "combobox",
@@ -4575,7 +4603,7 @@ var Combobox = React29.forwardRef(
4575
4603
  data.find((item) => item[valueKey] === value) || {},
4576
4604
  labelKey
4577
4605
  ) : ((_a = props.texts) == null ? void 0 : _a.placeholder) || "...",
4578
- /* @__PURE__ */ React29.createElement(
4606
+ /* @__PURE__ */ React30.createElement(
4579
4607
  "svg",
4580
4608
  {
4581
4609
  xmlns: "http://www.w3.org/2000/svg",
@@ -4591,9 +4619,9 @@ var Combobox = React29.forwardRef(
4591
4619
  strokeLinecap: "round",
4592
4620
  strokeLinejoin: "round"
4593
4621
  },
4594
- /* @__PURE__ */ React29.createElement("path", { d: "m6 9 6 6 6-6" })
4622
+ /* @__PURE__ */ React30.createElement("path", { d: "m6 9 6 6 6-6" })
4595
4623
  )
4596
- ), /* @__PURE__ */ React29.createElement(
4624
+ ), /* @__PURE__ */ React30.createElement(
4597
4625
  "p",
4598
4626
  {
4599
4627
  className: cn(
@@ -4602,17 +4630,17 @@ var Combobox = React29.forwardRef(
4602
4630
  )
4603
4631
  },
4604
4632
  props.helperText
4605
- ))), /* @__PURE__ */ React29.createElement(
4633
+ ))), /* @__PURE__ */ React30.createElement(
4606
4634
  PopoverContent,
4607
4635
  {
4608
4636
  className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
4609
4637
  },
4610
- /* @__PURE__ */ React29.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React29.createElement(
4638
+ /* @__PURE__ */ React30.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React30.createElement(
4611
4639
  CommandInput,
4612
4640
  {
4613
4641
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
4614
4642
  }
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(
4643
+ ), /* @__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
4644
  CommandItem,
4617
4645
  {
4618
4646
  key: i,
@@ -4627,7 +4655,7 @@ var Combobox = React29.forwardRef(
4627
4655
  setOpen(false);
4628
4656
  }
4629
4657
  },
4630
- /* @__PURE__ */ React29.createElement(
4658
+ /* @__PURE__ */ React30.createElement(
4631
4659
  "svg",
4632
4660
  {
4633
4661
  "aria-label": "Check Icon",
@@ -4645,7 +4673,7 @@ var Combobox = React29.forwardRef(
4645
4673
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
4646
4674
  )
4647
4675
  },
4648
- /* @__PURE__ */ React29.createElement("polyline", { points: "20 6 9 17 4 12" })
4676
+ /* @__PURE__ */ React30.createElement("polyline", { points: "20 6 9 17 4 12" })
4649
4677
  ),
4650
4678
  getProperty(item, labelKey)
4651
4679
  ))))
@@ -4771,20 +4799,20 @@ var Avatar = ({
4771
4799
  };
4772
4800
 
4773
4801
  // components/elements/SplitButton.tsx
4774
- var React32 = __toESM(require("react"));
4802
+ var React33 = __toESM(require("react"));
4775
4803
  var SplitButton = ({
4776
4804
  variant,
4777
4805
  direction = "ltr",
4778
4806
  menuItems = [],
4779
4807
  children,
4780
4808
  ...props
4781
- }) => /* @__PURE__ */ React32.createElement(
4809
+ }) => /* @__PURE__ */ React33.createElement(
4782
4810
  "div",
4783
4811
  {
4784
4812
  dir: "ltr",
4785
4813
  className: cn("hawa-h-fit hawa-flex hawa-justify-center hawa-row")
4786
4814
  },
4787
- /* @__PURE__ */ React32.createElement(
4815
+ /* @__PURE__ */ React33.createElement(
4788
4816
  Button,
4789
4817
  {
4790
4818
  variant,
@@ -4793,14 +4821,14 @@ var SplitButton = ({
4793
4821
  },
4794
4822
  children
4795
4823
  ),
4796
- /* @__PURE__ */ React32.createElement(
4824
+ /* @__PURE__ */ React33.createElement(
4797
4825
  DropdownMenu,
4798
4826
  {
4799
4827
  size: "sm",
4800
4828
  width: "sm",
4801
4829
  direction,
4802
4830
  items: menuItems,
4803
- trigger: /* @__PURE__ */ React32.createElement(
4831
+ trigger: /* @__PURE__ */ React33.createElement(
4804
4832
  Button,
4805
4833
  {
4806
4834
  asChild: true,
@@ -4811,7 +4839,7 @@ var SplitButton = ({
4811
4839
  props.className
4812
4840
  )
4813
4841
  },
4814
- /* @__PURE__ */ React32.createElement(
4842
+ /* @__PURE__ */ React33.createElement(
4815
4843
  "svg",
4816
4844
  {
4817
4845
  xmlns: "http://www.w3.org/2000/svg",
@@ -4824,7 +4852,7 @@ var SplitButton = ({
4824
4852
  strokeLinecap: "round",
4825
4853
  strokeLinejoin: "round"
4826
4854
  },
4827
- /* @__PURE__ */ React32.createElement("path", { d: "m6 9 6 6 6-6" })
4855
+ /* @__PURE__ */ React33.createElement("path", { d: "m6 9 6 6 6-6" })
4828
4856
  )
4829
4857
  )
4830
4858
  }
@@ -5020,7 +5048,7 @@ var CodeBlock = ({
5020
5048
  };
5021
5049
 
5022
5050
  // components/elements/Toast.tsx
5023
- var React35 = __toESM(require("react"));
5051
+ var React36 = __toESM(require("react"));
5024
5052
  var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
5025
5053
  var import_class_variance_authority2 = require("class-variance-authority");
5026
5054
  var toastVariants = (0, import_class_variance_authority2.cva)(
@@ -5045,7 +5073,7 @@ var toastVariants = (0, import_class_variance_authority2.cva)(
5045
5073
  }
5046
5074
  );
5047
5075
  var ToastProvider = ToastPrimitives.Provider;
5048
- var ToastViewport = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React35.createElement(
5076
+ var ToastViewport = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
5049
5077
  ToastPrimitives.Viewport,
5050
5078
  {
5051
5079
  ref,
@@ -5057,8 +5085,8 @@ var ToastViewport = React35.forwardRef(({ className, ...props }, ref) => /* @__P
5057
5085
  }
5058
5086
  ));
5059
5087
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
5060
- var Toast = React35.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
5061
- return /* @__PURE__ */ React35.createElement(
5088
+ var Toast = React36.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
5089
+ return /* @__PURE__ */ React36.createElement(
5062
5090
  ToastPrimitives.Root,
5063
5091
  {
5064
5092
  ref,
@@ -5073,8 +5101,8 @@ var Toast = React35.forwardRef(({ className, variant, severity = "none", directi
5073
5101
  );
5074
5102
  });
5075
5103
  Toast.displayName = ToastPrimitives.Root.displayName;
5076
- var ToastAction = React35.forwardRef(({ className, ...props }, ref) => {
5077
- return /* @__PURE__ */ React35.createElement(
5104
+ var ToastAction = React36.forwardRef(({ className, ...props }, ref) => {
5105
+ return /* @__PURE__ */ React36.createElement(
5078
5106
  ToastPrimitives.Action,
5079
5107
  {
5080
5108
  ref,
@@ -5091,7 +5119,7 @@ var ToastAction = React35.forwardRef(({ className, ...props }, ref) => {
5091
5119
  );
5092
5120
  });
5093
5121
  ToastAction.displayName = ToastPrimitives.Action.displayName;
5094
- var ToastClose = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React35.createElement(
5122
+ var ToastClose = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
5095
5123
  ToastPrimitives.Close,
5096
5124
  {
5097
5125
  ref,
@@ -5102,7 +5130,7 @@ var ToastClose = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE
5102
5130
  "toast-close": "",
5103
5131
  ...props
5104
5132
  },
5105
- /* @__PURE__ */ React35.createElement(
5133
+ /* @__PURE__ */ React36.createElement(
5106
5134
  "svg",
5107
5135
  {
5108
5136
  "aria-label": "Close Icon",
@@ -5111,7 +5139,7 @@ var ToastClose = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE
5111
5139
  fill: "currentColor",
5112
5140
  viewBox: "0 0 20 20"
5113
5141
  },
5114
- /* @__PURE__ */ React35.createElement(
5142
+ /* @__PURE__ */ React36.createElement(
5115
5143
  "path",
5116
5144
  {
5117
5145
  fillRule: "evenodd",
@@ -5122,7 +5150,7 @@ var ToastClose = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE
5122
5150
  )
5123
5151
  ));
5124
5152
  ToastClose.displayName = ToastPrimitives.Close.displayName;
5125
- var ToastTitle = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React35.createElement(
5153
+ var ToastTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
5126
5154
  ToastPrimitives.Title,
5127
5155
  {
5128
5156
  ref,
@@ -5134,7 +5162,7 @@ var ToastTitle = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE
5134
5162
  }
5135
5163
  ));
5136
5164
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
5137
- var ToastDescription = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React35.createElement(
5165
+ var ToastDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
5138
5166
  ToastPrimitives.Description,
5139
5167
  {
5140
5168
  ref,
@@ -5148,7 +5176,7 @@ ToastDescription.displayName = ToastPrimitives.Description.displayName;
5148
5176
  var import_react22 = __toESM(require("react"));
5149
5177
 
5150
5178
  // components/hooks/useToast.ts
5151
- var React36 = __toESM(require("react"));
5179
+ var React37 = __toESM(require("react"));
5152
5180
  var TOAST_LIMIT = 5;
5153
5181
  var TOAST_REMOVE_DELAY = 1e5;
5154
5182
  var count = 0;
@@ -5244,8 +5272,8 @@ function toast({ ...props }) {
5244
5272
  };
5245
5273
  }
5246
5274
  function useToast() {
5247
- const [state, setState] = React36.useState(memoryState);
5248
- React36.useEffect(() => {
5275
+ const [state, setState] = React37.useState(memoryState);
5276
+ React37.useEffect(() => {
5249
5277
  listeners.push(setState);
5250
5278
  return () => {
5251
5279
  const index = listeners.indexOf(setState);
@@ -5921,12 +5949,12 @@ var SortButton = (props) => {
5921
5949
  };
5922
5950
 
5923
5951
  // components/elements/DataTable.tsx
5924
- var React45 = __toESM(require("react"));
5952
+ var React46 = __toESM(require("react"));
5925
5953
  var import_react_table = require("@tanstack/react-table");
5926
5954
 
5927
5955
  // 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(
5956
+ var React45 = __toESM(require("react"));
5957
+ 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
5958
  "table",
5931
5959
  {
5932
5960
  ref,
@@ -5935,7 +5963,7 @@ var Table = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
5935
5963
  }
5936
5964
  )));
5937
5965
  Table.displayName = "Table";
5938
- var TableHeader = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement(
5966
+ var TableHeader = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
5939
5967
  "thead",
5940
5968
  {
5941
5969
  ref,
@@ -5944,8 +5972,8 @@ var TableHeader = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
5944
5972
  }
5945
5973
  ));
5946
5974
  TableHeader.displayName = "TableHeader";
5947
- var TableHead = React44.forwardRef(
5948
- ({ className, condensed, clickable, dir, ...props }, ref) => /* @__PURE__ */ React44.createElement(
5975
+ var TableHead = React45.forwardRef(
5976
+ ({ className, condensed, clickable, dir, ...props }, ref) => /* @__PURE__ */ React45.createElement(
5949
5977
  "th",
5950
5978
  {
5951
5979
  ref,
@@ -5964,9 +5992,9 @@ var TableHead = React44.forwardRef(
5964
5992
  )
5965
5993
  );
5966
5994
  TableHead.displayName = "TableHead";
5967
- var TableBody = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement("tbody", { ref, className: cn("hawa-border-none", className), ...props }));
5995
+ var TableBody = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement("tbody", { ref, className: cn("hawa-border-none", className), ...props }));
5968
5996
  TableBody.displayName = "TableBody";
5969
- var TableFooter = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement(
5997
+ var TableFooter = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
5970
5998
  "tfoot",
5971
5999
  {
5972
6000
  ref,
@@ -5978,7 +6006,7 @@ var TableFooter = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
5978
6006
  }
5979
6007
  ));
5980
6008
  TableFooter.displayName = "TableFooter";
5981
- var TableRow = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement(
6009
+ var TableRow = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
5982
6010
  "tr",
5983
6011
  {
5984
6012
  ref,
@@ -5992,14 +6020,14 @@ var TableRow = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__
5992
6020
  }
5993
6021
  ));
5994
6022
  TableRow.displayName = "TableRow";
5995
- var TableCell = React44.forwardRef(
6023
+ var TableCell = React45.forwardRef(
5996
6024
  ({ className, enablePadding = true, padding = "default", ...props }, ref) => {
5997
6025
  let paddingStyles = {
5998
6026
  condensed: "hawa-p-0 hawa-px-4",
5999
6027
  default: "hawa-p-4",
6000
6028
  noPadding: "hawa-p-0"
6001
6029
  };
6002
- return /* @__PURE__ */ React44.createElement(
6030
+ return /* @__PURE__ */ React45.createElement(
6003
6031
  "td",
6004
6032
  {
6005
6033
  ref,
@@ -6021,7 +6049,7 @@ var TableCell = React44.forwardRef(
6021
6049
  }
6022
6050
  );
6023
6051
  TableCell.displayName = "TableCell";
6024
- var TableCaption = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React44.createElement(
6052
+ var TableCaption = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React45.createElement(
6025
6053
  "caption",
6026
6054
  {
6027
6055
  ref,
@@ -6046,16 +6074,16 @@ var DataTable = ({
6046
6074
  ...props
6047
6075
  }) => {
6048
6076
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
6049
- const [sorting, setSorting] = React45.useState(
6077
+ const [sorting, setSorting] = React46.useState(
6050
6078
  props.defaultSort ? [{ id: props.defaultSort, desc: false }] : []
6051
6079
  );
6052
- const [columnFilters, setColumnFilters] = React45.useState(
6080
+ const [columnFilters, setColumnFilters] = React46.useState(
6053
6081
  []
6054
6082
  );
6055
- const [globalFilter, setGlobalFilter] = React45.useState("");
6056
- const [expanded, setExpanded] = React45.useState({});
6057
- const [columnVisibility, setColumnVisibility] = React45.useState({});
6058
- const [rowSelection, setRowSelection] = React45.useState({});
6083
+ const [globalFilter, setGlobalFilter] = React46.useState("");
6084
+ const [expanded, setExpanded] = React46.useState({});
6085
+ const [columnVisibility, setColumnVisibility] = React46.useState({});
6086
+ const [rowSelection, setRowSelection] = React46.useState({});
6059
6087
  const table = (0, import_react_table.useReactTable)({
6060
6088
  data,
6061
6089
  columns,
@@ -6084,7 +6112,7 @@ var DataTable = ({
6084
6112
  label: `${item} / ${pageText}`,
6085
6113
  value: item
6086
6114
  }));
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(
6115
+ 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
6116
  Input,
6089
6117
  {
6090
6118
  forceHideHelperText: true,
@@ -6094,14 +6122,14 @@ var DataTable = ({
6094
6122
  margin: "none",
6095
6123
  className: "hawa-w-full md:hawa-max-w-sm"
6096
6124
  }
6097
- ), enableHideColumns && /* @__PURE__ */ React45.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React45.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React45.createElement(
6125
+ ), enableHideColumns && /* @__PURE__ */ React46.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React46.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React46.createElement(
6098
6126
  Button,
6099
6127
  {
6100
6128
  variant: "outline",
6101
6129
  className: "hawa-flex hawa-flex-row hawa-gap-2"
6102
6130
  },
6103
6131
  ((_d = props.texts) == null ? void 0 : _d.columns) || "Columns",
6104
- /* @__PURE__ */ React45.createElement(
6132
+ /* @__PURE__ */ React46.createElement(
6105
6133
  "svg",
6106
6134
  {
6107
6135
  "aria-label": "Chevron Down Icon",
@@ -6116,15 +6144,15 @@ var DataTable = ({
6116
6144
  strokeLinejoin: "round",
6117
6145
  className: "hawa-icon hawa-rotate-90"
6118
6146
  },
6119
- /* @__PURE__ */ React45.createElement("path", { d: "m9 18 6-6-6-6" })
6147
+ /* @__PURE__ */ React46.createElement("path", { d: "m9 18 6-6-6-6" })
6120
6148
  )
6121
- )), /* @__PURE__ */ React45.createElement(
6149
+ )), /* @__PURE__ */ React46.createElement(
6122
6150
  DropdownMenuContent,
6123
6151
  {
6124
6152
  align: props.direction === "rtl" ? "start" : "end"
6125
6153
  },
6126
6154
  table.getAllColumns().filter((column) => column.getCanHide()).map((column) => {
6127
- return /* @__PURE__ */ React45.createElement(
6155
+ return /* @__PURE__ */ React46.createElement(
6128
6156
  DropdownMenuCheckboxItem,
6129
6157
  {
6130
6158
  key: column.id,
@@ -6134,7 +6162,7 @@ var DataTable = ({
6134
6162
  translateFn ? translateFn(column.id) : column.id
6135
6163
  );
6136
6164
  })
6137
- ))), props.isLoading ? /* @__PURE__ */ React45.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React45.createElement(
6165
+ ))), props.isLoading ? /* @__PURE__ */ React46.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React46.createElement(
6138
6166
  "div",
6139
6167
  {
6140
6168
  className: cn(
@@ -6142,10 +6170,10 @@ var DataTable = ({
6142
6170
  paginationPosition === "top" ? "hawa-flex-col-reverse" : "hawa-flex-col"
6143
6171
  )
6144
6172
  },
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) => {
6173
+ /* @__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
6174
  var _a2;
6147
6175
  let isSortable = (_a2 = header.column.columnDef.meta) == null ? void 0 : _a2.sortable;
6148
- return /* @__PURE__ */ React45.createElement(
6176
+ return /* @__PURE__ */ React46.createElement(
6149
6177
  TableHead,
6150
6178
  {
6151
6179
  dir: props.direction,
@@ -6158,7 +6186,7 @@ var DataTable = ({
6158
6186
  header.getContext()
6159
6187
  )
6160
6188
  );
6161
- })))), /* @__PURE__ */ React45.createElement(TableBody, null, ((_e = table.getRowModel().rows) == null ? void 0 : _e.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React45.createElement(
6189
+ })))), /* @__PURE__ */ React46.createElement(TableBody, null, ((_e = table.getRowModel().rows) == null ? void 0 : _e.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React46.createElement(
6162
6190
  TableRow,
6163
6191
  {
6164
6192
  key: row.id,
@@ -6166,7 +6194,7 @@ var DataTable = ({
6166
6194
  },
6167
6195
  row.getVisibleCells().map((cell) => {
6168
6196
  var _a2;
6169
- return /* @__PURE__ */ React45.createElement(
6197
+ return /* @__PURE__ */ React46.createElement(
6170
6198
  TableCell,
6171
6199
  {
6172
6200
  dir: props.direction,
@@ -6179,7 +6207,7 @@ var DataTable = ({
6179
6207
  )
6180
6208
  );
6181
6209
  })
6182
- )) : /* @__PURE__ */ React45.createElement(TableRow, null, /* @__PURE__ */ React45.createElement(
6210
+ )) : /* @__PURE__ */ React46.createElement(TableRow, null, /* @__PURE__ */ React46.createElement(
6183
6211
  TableCell,
6184
6212
  {
6185
6213
  colSpan: columns.length,
@@ -6187,16 +6215,16 @@ var DataTable = ({
6187
6215
  },
6188
6216
  (_f = props.texts) == null ? void 0 : _f.noData
6189
6217
  ))))),
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(
6218
+ /* @__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
6219
  "div",
6192
6220
  {
6193
6221
  className: "text-sm text-muted-foreground",
6194
6222
  dir: props.direction
6195
6223
  },
6196
- /* @__PURE__ */ React45.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
6224
+ /* @__PURE__ */ React46.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
6197
6225
  " ",
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(
6226
+ /* @__PURE__ */ React46.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
6227
+ ), /* @__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
6228
  "input",
6201
6229
  {
6202
6230
  max: table.getPageCount(),
@@ -6213,7 +6241,7 @@ var DataTable = ({
6213
6241
  },
6214
6242
  className: "hawa-w-16 hawa-text-sm hawa-border hawa-rounded hawa-p-1 hawa-px-2"
6215
6243
  }
6216
- )), /* @__PURE__ */ React45.createElement(
6244
+ )), /* @__PURE__ */ React46.createElement(
6217
6245
  DropdownMenu,
6218
6246
  {
6219
6247
  size: "sm",
@@ -6226,7 +6254,7 @@ var DataTable = ({
6226
6254
  { label: `40 / ${pageText}`, value: 40 },
6227
6255
  { label: `50 / ${pageText}`, value: 50 }
6228
6256
  ],
6229
- trigger: /* @__PURE__ */ React45.createElement(
6257
+ trigger: /* @__PURE__ */ React46.createElement(
6230
6258
  Button,
6231
6259
  {
6232
6260
  variant: "outline",
@@ -6237,7 +6265,7 @@ var DataTable = ({
6237
6265
  ),
6238
6266
  onItemSelect: (e) => table.setPageSize(Number(e))
6239
6267
  }
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(
6268
+ ), 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
6269
  Button,
6242
6270
  {
6243
6271
  "aria-label": "Next Table Page",
@@ -6249,7 +6277,7 @@ var DataTable = ({
6249
6277
  props.direction === "rtl" && "hawa-rotate-180"
6250
6278
  )
6251
6279
  },
6252
- /* @__PURE__ */ React45.createElement(
6280
+ /* @__PURE__ */ React46.createElement(
6253
6281
  "svg",
6254
6282
  {
6255
6283
  xmlns: "http://www.w3.org/2000/svg",
@@ -6262,10 +6290,10 @@ var DataTable = ({
6262
6290
  strokeLinecap: "round",
6263
6291
  strokeLinejoin: "round"
6264
6292
  },
6265
- /* @__PURE__ */ React45.createElement("path", { d: "m11 17-5-5 5-5" }),
6266
- /* @__PURE__ */ React45.createElement("path", { d: "m18 17-5-5 5-5" })
6293
+ /* @__PURE__ */ React46.createElement("path", { d: "m11 17-5-5 5-5" }),
6294
+ /* @__PURE__ */ React46.createElement("path", { d: "m18 17-5-5 5-5" })
6267
6295
  )
6268
- ), /* @__PURE__ */ React45.createElement(
6296
+ ), /* @__PURE__ */ React46.createElement(
6269
6297
  Button,
6270
6298
  {
6271
6299
  "aria-label": "Previous Table Page",
@@ -6277,7 +6305,7 @@ var DataTable = ({
6277
6305
  props.direction === "rtl" && "hawa-rotate-180"
6278
6306
  )
6279
6307
  },
6280
- /* @__PURE__ */ React45.createElement(
6308
+ /* @__PURE__ */ React46.createElement(
6281
6309
  "svg",
6282
6310
  {
6283
6311
  xmlns: "http://www.w3.org/2000/svg",
@@ -6291,9 +6319,9 @@ var DataTable = ({
6291
6319
  strokeLinecap: "round",
6292
6320
  strokeLinejoin: "round"
6293
6321
  },
6294
- /* @__PURE__ */ React45.createElement("path", { d: "m15 18-6-6 6-6" })
6322
+ /* @__PURE__ */ React46.createElement("path", { d: "m15 18-6-6 6-6" })
6295
6323
  )
6296
- ), /* @__PURE__ */ React45.createElement(
6324
+ ), /* @__PURE__ */ React46.createElement(
6297
6325
  Button,
6298
6326
  {
6299
6327
  "aria-label": "Next Table Page",
@@ -6305,7 +6333,7 @@ var DataTable = ({
6305
6333
  props.direction === "ltr" && "hawa-rotate-180"
6306
6334
  )
6307
6335
  },
6308
- /* @__PURE__ */ React45.createElement(
6336
+ /* @__PURE__ */ React46.createElement(
6309
6337
  "svg",
6310
6338
  {
6311
6339
  xmlns: "http://www.w3.org/2000/svg",
@@ -6319,9 +6347,9 @@ var DataTable = ({
6319
6347
  strokeLinecap: "round",
6320
6348
  strokeLinejoin: "round"
6321
6349
  },
6322
- /* @__PURE__ */ React45.createElement("path", { d: "m15 18-6-6 6-6" })
6350
+ /* @__PURE__ */ React46.createElement("path", { d: "m15 18-6-6 6-6" })
6323
6351
  )
6324
- ), /* @__PURE__ */ React45.createElement(
6352
+ ), /* @__PURE__ */ React46.createElement(
6325
6353
  Button,
6326
6354
  {
6327
6355
  "aria-label": "Next Table Page",
@@ -6333,7 +6361,7 @@ var DataTable = ({
6333
6361
  props.direction === "ltr" && "hawa-rotate-180"
6334
6362
  )
6335
6363
  },
6336
- /* @__PURE__ */ React45.createElement(
6364
+ /* @__PURE__ */ React46.createElement(
6337
6365
  "svg",
6338
6366
  {
6339
6367
  xmlns: "http://www.w3.org/2000/svg",
@@ -6346,15 +6374,15 @@ var DataTable = ({
6346
6374
  strokeLinecap: "round",
6347
6375
  strokeLinejoin: "round"
6348
6376
  },
6349
- /* @__PURE__ */ React45.createElement("path", { d: "m11 17-5-5 5-5" }),
6350
- /* @__PURE__ */ React45.createElement("path", { d: "m18 17-5-5 5-5" })
6377
+ /* @__PURE__ */ React46.createElement("path", { d: "m11 17-5-5 5-5" }),
6378
+ /* @__PURE__ */ React46.createElement("path", { d: "m18 17-5-5 5-5" })
6351
6379
  )
6352
6380
  ))))
6353
6381
  ));
6354
6382
  };
6355
6383
 
6356
6384
  // components/elements/SimpleTable.tsx
6357
- var React46 = __toESM(require("react"));
6385
+ var React47 = __toESM(require("react"));
6358
6386
  var import_react_table2 = require("@tanstack/react-table");
6359
6387
  var SimpleTable = ({
6360
6388
  columns,
@@ -6368,7 +6396,7 @@ var SimpleTable = ({
6368
6396
  columns,
6369
6397
  getCoreRowModel: (0, import_react_table2.getCoreRowModel)()
6370
6398
  });
6371
- return /* @__PURE__ */ React46.createElement(
6399
+ return /* @__PURE__ */ React47.createElement(
6372
6400
  "div",
6373
6401
  {
6374
6402
  className: cn(
@@ -6376,8 +6404,8 @@ var SimpleTable = ({
6376
6404
  classNames
6377
6405
  )
6378
6406
  },
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(
6407
+ 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) => {
6408
+ return /* @__PURE__ */ React47.createElement(
6381
6409
  TableHead,
6382
6410
  {
6383
6411
  condensed: props.condensed,
@@ -6389,7 +6417,7 @@ var SimpleTable = ({
6389
6417
  header.getContext()
6390
6418
  )
6391
6419
  );
6392
- })))), /* @__PURE__ */ React46.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React46.createElement(
6420
+ })))), /* @__PURE__ */ React47.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React47.createElement(
6393
6421
  TableRow,
6394
6422
  {
6395
6423
  key: row.id,
@@ -6397,7 +6425,7 @@ var SimpleTable = ({
6397
6425
  },
6398
6426
  row.getVisibleCells().map((cell) => {
6399
6427
  var _a2;
6400
- return /* @__PURE__ */ React46.createElement(
6428
+ return /* @__PURE__ */ React47.createElement(
6401
6429
  TableCell,
6402
6430
  {
6403
6431
  dir: props.direction,
@@ -6410,7 +6438,7 @@ var SimpleTable = ({
6410
6438
  )
6411
6439
  );
6412
6440
  })
6413
- )) : /* @__PURE__ */ React46.createElement(TableRow, null, /* @__PURE__ */ React46.createElement(
6441
+ )) : /* @__PURE__ */ React47.createElement(TableRow, null, /* @__PURE__ */ React47.createElement(
6414
6442
  TableCell,
6415
6443
  {
6416
6444
  colSpan: columns.length,
@@ -6422,9 +6450,9 @@ var SimpleTable = ({
6422
6450
  };
6423
6451
 
6424
6452
  // components/elements/Accordion.tsx
6425
- var React47 = __toESM(require("react"));
6453
+ var React48 = __toESM(require("react"));
6426
6454
  var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
6427
- var Accordion = React47.forwardRef(
6455
+ var Accordion = React48.forwardRef(
6428
6456
  ({
6429
6457
  items,
6430
6458
  itemClassNames,
@@ -6432,21 +6460,21 @@ var Accordion = React47.forwardRef(
6432
6460
  contentclassNames,
6433
6461
  className,
6434
6462
  ...props
6435
- }, ref) => /* @__PURE__ */ React47.createElement(AccordionPrimitive.Root, { type: props.type, collapsible: true }, items.map((item, index) => /* @__PURE__ */ React47.createElement(
6463
+ }, ref) => /* @__PURE__ */ React48.createElement(AccordionPrimitive.Root, { type: props.type, collapsible: true }, items.map((item, index) => /* @__PURE__ */ React48.createElement(
6436
6464
  AccordionItem,
6437
6465
  {
6438
6466
  className: itemClassNames,
6439
6467
  key: index,
6440
6468
  value: `item-${index}`
6441
6469
  },
6442
- /* @__PURE__ */ React47.createElement(AccordionTrigger, { className: triggerclassNames }, item.trigger),
6443
- /* @__PURE__ */ React47.createElement(AccordionContent, { className: contentclassNames }, item.content)
6470
+ /* @__PURE__ */ React48.createElement(AccordionTrigger, { className: triggerclassNames }, item.trigger),
6471
+ /* @__PURE__ */ React48.createElement(AccordionContent, { className: contentclassNames }, item.content)
6444
6472
  )))
6445
6473
  );
6446
6474
  Accordion.displayName = "Accordion";
6447
- var AccordionItem = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React47.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
6475
+ var AccordionItem = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React48.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
6448
6476
  AccordionItem.displayName = "AccordionItem";
6449
- var AccordionTrigger = React47.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React47.createElement(AccordionPrimitive.Header, { className: "hawa-flex" }, /* @__PURE__ */ React47.createElement(
6477
+ var AccordionTrigger = React48.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React48.createElement(AccordionPrimitive.Header, { className: "hawa-flex" }, /* @__PURE__ */ React48.createElement(
6450
6478
  AccordionPrimitive.Trigger,
6451
6479
  {
6452
6480
  ref,
@@ -6457,7 +6485,7 @@ var AccordionTrigger = React47.forwardRef(({ className, children, ...props }, re
6457
6485
  ...props
6458
6486
  },
6459
6487
  children,
6460
- /* @__PURE__ */ React47.createElement(
6488
+ /* @__PURE__ */ React48.createElement(
6461
6489
  "svg",
6462
6490
  {
6463
6491
  xmlns: "http://www.w3.org/2000/svg",
@@ -6471,11 +6499,11 @@ var AccordionTrigger = React47.forwardRef(({ className, children, ...props }, re
6471
6499
  strokeLinejoin: "round",
6472
6500
  className: "hawa-icon hawa-shrink-0 hawa-transition-transform hawa-duration-200"
6473
6501
  },
6474
- /* @__PURE__ */ React47.createElement("path", { d: "m6 9 6 6 6-6" })
6502
+ /* @__PURE__ */ React48.createElement("path", { d: "m6 9 6 6 6-6" })
6475
6503
  )
6476
6504
  )));
6477
6505
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
6478
- var AccordionContent = React47.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React47.createElement(
6506
+ var AccordionContent = React48.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React48.createElement(
6479
6507
  AccordionPrimitive.Content,
6480
6508
  {
6481
6509
  ref,
@@ -6485,29 +6513,11 @@ var AccordionContent = React47.forwardRef(({ className, children, ...props }, re
6485
6513
  ),
6486
6514
  ...props
6487
6515
  },
6488
- /* @__PURE__ */ React47.createElement("div", { className: "hawa-bg-background hawa-border hawa-p-4" }, children)
6516
+ /* @__PURE__ */ React48.createElement("div", { className: "hawa-bg-background hawa-border hawa-p-4" }, children)
6489
6517
  ));
6490
6518
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
6491
6519
  var AccordionRoot = AccordionPrimitive.Root;
6492
6520
 
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
6521
  // components/elements/Progress.tsx
6512
6522
  var React49 = __toESM(require("react"));
6513
6523
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));