@sikka/hawa 0.26.18-next → 0.26.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/dist/accordion/index.js +10 -12
  2. package/dist/accordion/index.mjs +8 -8
  3. package/dist/alert/index.js +8 -7
  4. package/dist/alert/index.mjs +7 -6
  5. package/dist/appLayout/index.js +13 -12
  6. package/dist/appLayout/index.mjs +12 -11
  7. package/dist/appMenubar/index.js +4 -4
  8. package/dist/appMenubar/index.mjs +2 -2
  9. package/dist/appStores/index.js +2 -2
  10. package/dist/appStores/index.mjs +1 -1
  11. package/dist/appTabs/index.js +4 -4
  12. package/dist/appTabs/index.mjs +2 -2
  13. package/dist/appTopbar/index.js +6 -6
  14. package/dist/appTopbar/index.mjs +4 -4
  15. package/dist/avatar/index.js +5 -5
  16. package/dist/avatar/index.mjs +4 -4
  17. package/dist/backToTop/index.js +8 -7
  18. package/dist/backToTop/index.mjs +7 -6
  19. package/dist/badge/index.js +4 -4
  20. package/dist/badge/index.mjs +2 -2
  21. package/dist/blocks/auth/index.js +38 -37
  22. package/dist/blocks/auth/index.mjs +24 -24
  23. package/dist/blocks/feedback/index.js +27 -26
  24. package/dist/blocks/feedback/index.mjs +11 -11
  25. package/dist/blocks/index.js +77 -76
  26. package/dist/blocks/index.mjs +34 -34
  27. package/dist/blocks/misc/index.js +31 -30
  28. package/dist/blocks/misc/index.mjs +14 -14
  29. package/dist/blocks/pricing/index.js +123 -122
  30. package/dist/blocks/pricing/index.mjs +18 -18
  31. package/dist/breadcrumb/index.js +2 -2
  32. package/dist/breadcrumb/index.mjs +1 -1
  33. package/dist/button/index.js +6 -5
  34. package/dist/button/index.mjs +5 -4
  35. package/dist/card/index.js +4 -4
  36. package/dist/card/index.mjs +2 -2
  37. package/dist/carousel/index.d.mts +1 -1
  38. package/dist/carousel/index.d.ts +1 -1
  39. package/dist/carousel/index.js +9 -18
  40. package/dist/carousel/index.mjs +7 -16
  41. package/dist/checkbox/index.js +4 -4
  42. package/dist/checkbox/index.mjs +2 -2
  43. package/dist/chip/index.js +4 -4
  44. package/dist/chip/index.mjs +2 -2
  45. package/dist/{chunk-343SRWR4.mjs → chunk-3GBITBPL.mjs} +2 -2
  46. package/dist/{chunk-TTKRRN7S.mjs → chunk-4IOG44R3.mjs} +2 -2
  47. package/dist/{chunk-3N6JJKMN.mjs → chunk-65TG6EVD.mjs} +5 -4
  48. package/dist/{chunk-LT3VHLAG.mjs → chunk-APZM24KK.mjs} +2 -2
  49. package/dist/{chunk-FYH74ZRQ.mjs → chunk-AREFDTXK.mjs} +9 -8
  50. package/dist/{chunk-FNVYY7ND.mjs → chunk-D22AALLE.mjs} +1 -1
  51. package/dist/{chunk-OD5WIQGQ.mjs → chunk-FDKCMEMD.mjs} +2 -2
  52. package/dist/{chunk-KNHT2UBG.mjs → chunk-KMCIHW76.mjs} +2 -2
  53. package/dist/{chunk-M2ZS3EDT.mjs → chunk-OAXF3RCQ.mjs} +2 -2
  54. package/dist/chunk-OTGCLEKC.mjs +62 -0
  55. package/dist/{chunk-OE23TTPS.mjs → chunk-POIP5U4M.mjs} +3 -3
  56. package/dist/{chunk-EYUG3GRC.mjs → chunk-SJ2Z6ZOG.mjs} +4 -4
  57. package/dist/{chunk-WRZFWCOQ.mjs → chunk-TGZRVRLP.mjs} +4 -4
  58. package/dist/{chunk-TE3BKEXL.mjs → chunk-TWNGV3RE.mjs} +1 -1
  59. package/dist/{chunk-ATUSR6VI.mjs → chunk-U3TZWNDZ.mjs} +4 -4
  60. package/dist/{chunk-W77KCP35.mjs → chunk-VQQ6MUX5.mjs} +2 -2
  61. package/dist/{chunk-SUS6O2PO.mjs → chunk-WPSUV4AD.mjs} +21 -21
  62. package/dist/{chunk-3KMBSNM3.mjs → chunk-Z5SL5QTQ.mjs} +11 -10
  63. package/dist/{chunk-ZCZ3WARS.mjs → chunk-ZS3FB3PO.mjs} +1 -1
  64. package/dist/codeBlock/index.js +153 -2454
  65. package/dist/codeBlock/index.mjs +129 -2393
  66. package/dist/collapsible/index.js +2 -2
  67. package/dist/collapsible/index.mjs +1 -1
  68. package/dist/colorPicker/index.js +7 -7
  69. package/dist/colorPicker/index.mjs +126 -2
  70. package/dist/combobox/index.js +193 -193
  71. package/dist/combobox/index.mjs +8 -8
  72. package/dist/command/index.js +5 -5
  73. package/dist/command/index.mjs +1 -1
  74. package/dist/copyrights/index.js +2 -2
  75. package/dist/copyrights/index.mjs +1 -1
  76. package/dist/count/index.js +2 -2
  77. package/dist/count/index.mjs +1 -1
  78. package/dist/dataTable/index.d.mts +1 -0
  79. package/dist/dataTable/index.d.ts +1 -0
  80. package/dist/dataTable/index.js +23 -16
  81. package/dist/dataTable/index.mjs +22 -15
  82. package/dist/destroyableCard/index.js +6 -8
  83. package/dist/destroyableCard/index.mjs +4 -4
  84. package/dist/dialog/index.js +4 -4
  85. package/dist/dialog/index.mjs +2 -2
  86. package/dist/docsLayout/index.js +12 -11
  87. package/dist/docsLayout/index.mjs +11 -10
  88. package/dist/docsSidebar/index.js +4 -4
  89. package/dist/docsSidebar/index.mjs +2 -2
  90. package/dist/dropdownMenu/index.js +4 -4
  91. package/dist/dropdownMenu/index.mjs +2 -2
  92. package/dist/elements/index.d.mts +2 -1
  93. package/dist/elements/index.d.ts +2 -1
  94. package/dist/elements/index.js +162 -164
  95. package/dist/elements/index.mjs +54 -57
  96. package/dist/fileDropzone/index.js +10 -9
  97. package/dist/fileDropzone/index.mjs +9 -8
  98. package/dist/fileUploader/index.js +2 -2
  99. package/dist/fileUploader/index.mjs +1 -1
  100. package/dist/glow/index.js +2 -2
  101. package/dist/glow/index.mjs +1 -1
  102. package/dist/hooks/index.d.mts +7 -7
  103. package/dist/hooks/index.d.ts +7 -7
  104. package/dist/hooks/index.js +16 -16
  105. package/dist/hooks/index.mjs +14 -14
  106. package/dist/index.css +0 -465
  107. package/dist/index.d.mts +9 -8
  108. package/dist/index.d.ts +9 -8
  109. package/dist/index.js +220 -222
  110. package/dist/index.mjs +219 -221
  111. package/dist/input/index.js +8 -8
  112. package/dist/input/index.mjs +4 -4
  113. package/dist/interfaceSettings/index.js +9 -9
  114. package/dist/interfaceSettings/index.mjs +4 -4
  115. package/dist/label/index.js +5 -5
  116. package/dist/label/index.mjs +4 -4
  117. package/dist/layout/index.d.mts +1 -1
  118. package/dist/layout/index.d.ts +1 -1
  119. package/dist/layout/index.js +31 -30
  120. package/dist/layout/index.mjs +16 -16
  121. package/dist/loading/index.js +4 -4
  122. package/dist/loading/index.mjs +2 -2
  123. package/dist/logos/index.js +2 -2
  124. package/dist/logos/index.mjs +1 -1
  125. package/dist/navbar/index.js +5 -5
  126. package/dist/navbar/index.mjs +4 -4
  127. package/dist/navigationMenu/index.js +4 -4
  128. package/dist/navigationMenu/index.mjs +2 -2
  129. package/dist/pagination/index.js +4 -4
  130. package/dist/pagination/index.mjs +2 -2
  131. package/dist/passwordInput/index.js +15 -15
  132. package/dist/passwordInput/index.mjs +13 -13
  133. package/dist/phoneInput/index.js +11 -11
  134. package/dist/phoneInput/index.mjs +10 -10
  135. package/dist/pinInput/index.js +4 -4
  136. package/dist/pinInput/index.mjs +2 -2
  137. package/dist/popover/index.js +4 -4
  138. package/dist/popover/index.mjs +2 -2
  139. package/dist/progress/index.js +4 -4
  140. package/dist/progress/index.mjs +2 -2
  141. package/dist/progressCircle/index.js +4 -4
  142. package/dist/progressCircle/index.mjs +2 -2
  143. package/dist/radio/index.js +7 -7
  144. package/dist/radio/index.mjs +6 -6
  145. package/dist/scrollArea/index.js +4 -4
  146. package/dist/scrollArea/index.mjs +2 -2
  147. package/dist/scrollIndicator/index.js +2 -2
  148. package/dist/scrollIndicator/index.mjs +1 -1
  149. package/dist/select/index.js +8 -8
  150. package/dist/select/index.mjs +7 -7
  151. package/dist/separator/index.js +4 -4
  152. package/dist/separator/index.mjs +2 -2
  153. package/dist/sheet/index.js +4 -4
  154. package/dist/sheet/index.mjs +2 -2
  155. package/dist/sidebar/index.js +6 -6
  156. package/dist/sidebar/index.mjs +4 -4
  157. package/dist/signature/index.js +8 -8
  158. package/dist/signature/index.mjs +6 -6
  159. package/dist/simpleTable/index.js +6 -6
  160. package/dist/simpleTable/index.mjs +5 -5
  161. package/dist/skeleton/index.js +4 -4
  162. package/dist/skeleton/index.mjs +2 -2
  163. package/dist/slider/index.js +4 -4
  164. package/dist/slider/index.mjs +2 -2
  165. package/dist/sortButton/index.js +8 -7
  166. package/dist/sortButton/index.mjs +2 -2
  167. package/dist/splitButton/index.js +9 -8
  168. package/dist/splitButton/index.mjs +4 -4
  169. package/dist/stats/index.js +7 -7
  170. package/dist/stats/index.mjs +6 -6
  171. package/dist/stopPropagationWrapper/index.js +2 -2
  172. package/dist/stopPropagationWrapper/index.mjs +1 -1
  173. package/dist/switch/index.js +4 -4
  174. package/dist/switch/index.mjs +2 -2
  175. package/dist/table/index.js +4 -4
  176. package/dist/table/index.mjs +2 -2
  177. package/dist/tabs/index.js +5 -5
  178. package/dist/tabs/index.mjs +4 -4
  179. package/dist/textarea/index.js +7 -7
  180. package/dist/textarea/index.mjs +6 -6
  181. package/dist/toast/index.js +4 -4
  182. package/dist/toast/index.mjs +2 -2
  183. package/dist/toaster/index.js +6 -6
  184. package/dist/toaster/index.mjs +5 -5
  185. package/dist/tooltip/index.js +4 -4
  186. package/dist/tooltip/index.mjs +3 -3
  187. package/dist/types/index.js +1 -1
  188. package/package.json +16 -42
  189. package/README.md +0 -107
  190. package/dist/chunk-S36W2LDN.mjs +0 -189
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
- // components/elements/card/Card.tsx
1
+ // elements/card/Card.tsx
2
2
  import * as React from "react";
3
3
 
4
- // components/util.ts
4
+ // util/index.ts
5
5
  import { clsx } from "clsx";
6
6
  import { twMerge } from "tailwind-merge";
7
7
  function cn(...inputs) {
8
8
  return twMerge(clsx(inputs));
9
9
  }
10
10
 
11
- // components/elements/card/Card.tsx
11
+ // elements/card/Card.tsx
12
12
  var Card = React.forwardRef(
13
13
  ({ className, variant = "default", clickable = false, ...props }, ref) => {
14
14
  let variantStyles = {
@@ -88,7 +88,7 @@ CardFooter.displayName = "CardFooter";
88
88
  CardTitle.displayName = "CardTitle";
89
89
  Card.displayName = "Card";
90
90
 
91
- // components/elements/loading/Loading.tsx
91
+ // elements/loading/Loading.tsx
92
92
  import React2 from "react";
93
93
  var Loading = ({
94
94
  design = "spinner",
@@ -265,7 +265,7 @@ var Loading = ({
265
265
  }
266
266
  };
267
267
 
268
- // components/elements/tooltip/Tooltip.tsx
268
+ // elements/tooltip/Tooltip.tsx
269
269
  import React3 from "react";
270
270
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
271
271
  var TooltipContent = React3.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React3.createElement(
@@ -316,7 +316,7 @@ var Tooltip = ({
316
316
  );
317
317
  };
318
318
 
319
- // components/elements/skeleton/Skeleton.tsx
319
+ // elements/skeleton/Skeleton.tsx
320
320
  import React4 from "react";
321
321
  function Skeleton({
322
322
  className,
@@ -343,7 +343,7 @@ function Skeleton({
343
343
  );
344
344
  }
345
345
 
346
- // components/elements/dropdownMenu/DropdownMenu.tsx
346
+ // elements/dropdownMenu/DropdownMenu.tsx
347
347
  import * as React5 from "react";
348
348
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
349
349
  var DropdownMenuRoot = DropdownMenuPrimitive.Root;
@@ -683,11 +683,11 @@ var DropdownMenuRadio = (props) => {
683
683
  )));
684
684
  };
685
685
 
686
- // components/elements/accordion/Accordion.tsx
686
+ // elements/accordion/Accordion.tsx
687
687
  import * as React9 from "react";
688
688
  import * as AccordionPrimitive3 from "@radix-ui/react-accordion";
689
689
 
690
- // components/elements/chip/Chip.tsx
690
+ // elements/chip/Chip.tsx
691
691
  import React6 from "react";
692
692
  var Chip = React6.forwardRef(
693
693
  ({
@@ -768,7 +768,7 @@ var Chip = React6.forwardRef(
768
768
  }
769
769
  );
770
770
 
771
- // components/elements/accordion/AccordionContent.tsx
771
+ // elements/accordion/AccordionContent.tsx
772
772
  import * as React7 from "react";
773
773
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
774
774
  var AccordionContent = React7.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React7.createElement(
@@ -785,7 +785,7 @@ var AccordionContent = React7.forwardRef(({ className, children, ...props }, ref
785
785
  ));
786
786
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
787
787
 
788
- // components/elements/accordion/AccordionTrigger.tsx
788
+ // elements/accordion/AccordionTrigger.tsx
789
789
  import * as React8 from "react";
790
790
  import * as AccordionPrimitive2 from "@radix-ui/react-accordion";
791
791
  var AccordionTrigger = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React8.createElement(AccordionPrimitive2.Header, { className: "hawa-flex" }, /* @__PURE__ */ React8.createElement(
@@ -819,7 +819,7 @@ var AccordionTrigger = React8.forwardRef(({ className, children, ...props }, ref
819
819
  )));
820
820
  AccordionTrigger.displayName = AccordionPrimitive2.Trigger.displayName;
821
821
 
822
- // components/elements/accordion/Accordion.tsx
822
+ // elements/accordion/Accordion.tsx
823
823
  var Accordion = React9.forwardRef(
824
824
  ({
825
825
  items,
@@ -890,17 +890,17 @@ var Accordion = React9.forwardRef(
890
890
  );
891
891
  Accordion.displayName = "Accordion";
892
892
 
893
- // components/elements/accordion/AccordionItem.tsx
893
+ // elements/accordion/AccordionItem.tsx
894
894
  import * as React10 from "react";
895
895
  import * as AccordionPrimitive4 from "@radix-ui/react-accordion";
896
896
  var AccordionItem = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React10.createElement(AccordionPrimitive4.Item, { ref, className: cn(className), ...props }));
897
897
  AccordionItem.displayName = "AccordionItem";
898
898
 
899
- // components/elements/accordion/AccordionRoot.tsx
899
+ // elements/accordion/AccordionRoot.tsx
900
900
  import * as AccordionPrimitive5 from "@radix-ui/react-accordion";
901
901
  var AccordionRoot = AccordionPrimitive5.Root;
902
902
 
903
- // components/elements/logos/Logos.tsx
903
+ // elements/logos/Logos.tsx
904
904
  import React11 from "react";
905
905
  var Logos = {
906
906
  hawa: (props) => /* @__PURE__ */ React11.createElement(
@@ -1105,7 +1105,7 @@ var Logos = {
1105
1105
  )
1106
1106
  };
1107
1107
 
1108
- // components/elements/navigationMenu/NavigationMenu.tsx
1108
+ // elements/navigationMenu/NavigationMenu.tsx
1109
1109
  import * as React12 from "react";
1110
1110
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
1111
1111
  import { cva } from "class-variance-authority";
@@ -1258,7 +1258,7 @@ NavigationMenuRoot.displayName = NavigationMenuPrimitive.Root.displayName;
1258
1258
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
1259
1259
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
1260
1260
 
1261
- // components/elements/sheet/Sheet.tsx
1261
+ // elements/sheet/Sheet.tsx
1262
1262
  import * as React13 from "react";
1263
1263
  import * as SheetPrimitive from "@radix-ui/react-dialog";
1264
1264
  import { cva as cva2 } from "class-variance-authority";
@@ -1393,7 +1393,7 @@ SheetHeader.displayName = "SheetHeader";
1393
1393
  SheetFooter.displayName = "SheetFooter";
1394
1394
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
1395
1395
 
1396
- // components/elements/dialog/Dialog.tsx
1396
+ // elements/dialog/Dialog.tsx
1397
1397
  import * as React14 from "react";
1398
1398
  import * as DialogPrimitive from "@radix-ui/react-dialog";
1399
1399
  var Dialog = DialogPrimitive.Root;
@@ -1689,10 +1689,10 @@ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1689
1689
  DialogContent.displayName = DialogPrimitive.Content.displayName;
1690
1690
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1691
1691
 
1692
- // components/elements/alert/Alert.tsx
1692
+ // elements/alert/Alert.tsx
1693
1693
  import React16, { useRef, useState as useState2, useEffect as useEffect2 } from "react";
1694
1694
 
1695
- // components/elements/button/Button.tsx
1695
+ // elements/button/Button.tsx
1696
1696
  import * as React15 from "react";
1697
1697
  import { cva as cva3 } from "class-variance-authority";
1698
1698
  var buttonVariants = cva3(
@@ -1747,6 +1747,7 @@ var Button = React15.forwardRef(
1747
1747
  className: cn(
1748
1748
  buttonVariants({ variant, size, className }),
1749
1749
  centered && "hawa-justify-center"
1750
+ // "hawa-bg-red-500"
1750
1751
  ),
1751
1752
  ref,
1752
1753
  ...props
@@ -1765,7 +1766,7 @@ var Button = React15.forwardRef(
1765
1766
  );
1766
1767
  Button.displayName = "Button";
1767
1768
 
1768
- // components/elements/alert/Alert.tsx
1769
+ // elements/alert/Alert.tsx
1769
1770
  var Alert = ({
1770
1771
  variant = "normal",
1771
1772
  direction = "ltr",
@@ -1905,10 +1906,10 @@ var Alert = ({
1905
1906
  ));
1906
1907
  };
1907
1908
 
1908
- // components/elements/avatar/Avatar.tsx
1909
+ // elements/avatar/Avatar.tsx
1909
1910
  import React18 from "react";
1910
1911
 
1911
- // components/elements/fileUploader/FileUploader.tsx
1912
+ // elements/fileUploader/FileUploader.tsx
1912
1913
  import React17, { useRef as useRef2 } from "react";
1913
1914
  var FileUploader = ({ handleFile, className }) => {
1914
1915
  const hiddenFileInput = useRef2(null);
@@ -1931,7 +1932,7 @@ var FileUploader = ({ handleFile, className }) => {
1931
1932
  ));
1932
1933
  };
1933
1934
 
1934
- // components/elements/avatar/Avatar.tsx
1935
+ // elements/avatar/Avatar.tsx
1935
1936
  var Avatar = ({
1936
1937
  isUploadable,
1937
1938
  src,
@@ -2021,7 +2022,7 @@ var Avatar = ({
2021
2022
  );
2022
2023
  };
2023
2024
 
2024
- // components/elements/dataTable/DataTable.tsx
2025
+ // elements/dataTable/DataTable.tsx
2025
2026
  import * as React22 from "react";
2026
2027
  import {
2027
2028
  flexRender,
@@ -2033,10 +2034,10 @@ import {
2033
2034
  useReactTable
2034
2035
  } from "@tanstack/react-table";
2035
2036
 
2036
- // components/elements/input/Input.tsx
2037
+ // elements/input/Input.tsx
2037
2038
  import React20, { forwardRef as forwardRef12 } from "react";
2038
2039
 
2039
- // components/elements/label/Label.tsx
2040
+ // elements/label/Label.tsx
2040
2041
  import * as React19 from "react";
2041
2042
  var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React19.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React19.createElement(
2042
2043
  "label",
@@ -2079,7 +2080,7 @@ var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children
2079
2080
  )));
2080
2081
  Label2.displayName = "Label";
2081
2082
 
2082
- // components/elements/input/Input.tsx
2083
+ // elements/input/Input.tsx
2083
2084
  var Input = forwardRef12(
2084
2085
  ({
2085
2086
  margin = "none",
@@ -2200,7 +2201,7 @@ var Input = forwardRef12(
2200
2201
  }
2201
2202
  );
2202
2203
 
2203
- // components/elements/table/Table.tsx
2204
+ // elements/table/Table.tsx
2204
2205
  import * as React21 from "react";
2205
2206
  var Table = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React21.createElement(
2206
2207
  "table",
@@ -2310,7 +2311,7 @@ var TableCaption = React21.forwardRef(({ className, ...props }, ref) => /* @__PU
2310
2311
  ));
2311
2312
  TableCaption.displayName = "TableCaption";
2312
2313
 
2313
- // components/elements/dataTable/DataTable.tsx
2314
+ // elements/dataTable/DataTable.tsx
2314
2315
  var DataTable = ({
2315
2316
  columns,
2316
2317
  data,
@@ -2332,9 +2333,15 @@ var DataTable = ({
2332
2333
  const [expanded, setExpanded] = React22.useState({});
2333
2334
  const [columnVisibility, setColumnVisibility] = React22.useState({});
2334
2335
  const [rowSelection, setRowSelection] = React22.useState({});
2336
+ const visibleColumns = columns.filter(
2337
+ (column) => {
2338
+ var _a2;
2339
+ return ((_a2 = column.meta) == null ? void 0 : _a2.hidden) !== true;
2340
+ }
2341
+ );
2335
2342
  const table = useReactTable({
2336
2343
  data,
2337
- columns,
2344
+ columns: visibleColumns,
2338
2345
  onExpandedChange: setExpanded,
2339
2346
  getExpandedRowModel: getExpandedRowModel(),
2340
2347
  onGlobalFilterChange: setGlobalFilter,
@@ -2629,7 +2636,7 @@ var DataTable = ({
2629
2636
  ));
2630
2637
  };
2631
2638
 
2632
- // components/elements/backToTop/BackToTop.tsx
2639
+ // elements/backToTop/BackToTop.tsx
2633
2640
  import React23, { useState as useState4, useEffect as useEffect3, useRef as useRef3 } from "react";
2634
2641
  var BackToTop = ({ ...props }) => {
2635
2642
  const [visible, setVisible] = useState4(false);
@@ -2726,7 +2733,7 @@ var BackToTop = ({ ...props }) => {
2726
2733
  );
2727
2734
  };
2728
2735
 
2729
- // components/elements/radio/Radio.tsx
2736
+ // elements/radio/Radio.tsx
2730
2737
  import React24, { useState as useState5, useRef as useRef4, useEffect as useEffect4 } from "react";
2731
2738
  var Radio = ({
2732
2739
  design = "default",
@@ -2913,14 +2920,74 @@ var Radio = ({
2913
2920
  }
2914
2921
  };
2915
2922
 
2916
- // components/elements/combobox/Combobox.tsx
2923
+ // elements/combobox/Combobox.tsx
2917
2924
  import * as React27 from "react";
2918
2925
  import * as PopoverPrimitive2 from "@radix-ui/react-popover";
2919
2926
 
2920
- // components/elements/command/Command.tsx
2927
+ // elements/popover/Popover.tsx
2921
2928
  import * as React25 from "react";
2929
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
2930
+ var PopoverContent = React25.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React25.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React25.createElement(
2931
+ PopoverPrimitive.Content,
2932
+ {
2933
+ ref,
2934
+ align,
2935
+ sideOffset,
2936
+ className: cn(
2937
+ "dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
2938
+ className
2939
+ ),
2940
+ ...props
2941
+ }
2942
+ )));
2943
+ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
2944
+ var Popover = ({
2945
+ trigger,
2946
+ children,
2947
+ className,
2948
+ align = "center",
2949
+ side,
2950
+ sideOffset = 4,
2951
+ open,
2952
+ width = "default",
2953
+ disableTrigger,
2954
+ contentProps,
2955
+ triggerProps,
2956
+ ...props
2957
+ }) => {
2958
+ let widthStyles = {
2959
+ trigger: "var(--radix-popover-trigger-width)",
2960
+ default: "auto"
2961
+ };
2962
+ return /* @__PURE__ */ React25.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React25.createElement(
2963
+ PopoverPrimitive.Trigger,
2964
+ {
2965
+ className: "hawa-w-full",
2966
+ disabled: disableTrigger,
2967
+ ...triggerProps
2968
+ },
2969
+ trigger
2970
+ ), /* @__PURE__ */ React25.createElement(
2971
+ PopoverContent,
2972
+ {
2973
+ side,
2974
+ className,
2975
+ align,
2976
+ sideOffset,
2977
+ style: {
2978
+ width: widthStyles[width]
2979
+ },
2980
+ ...contentProps
2981
+ },
2982
+ children
2983
+ ));
2984
+ };
2985
+ var PopoverTrigger = PopoverPrimitive.Trigger;
2986
+
2987
+ // elements/command/Command.tsx
2988
+ import * as React26 from "react";
2922
2989
  import { Command as CommandPrimitive } from "cmdk";
2923
- var Command = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
2990
+ var Command = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
2924
2991
  CommandPrimitive,
2925
2992
  {
2926
2993
  ref,
@@ -2933,15 +3000,15 @@ var Command = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__
2933
3000
  ));
2934
3001
  Command.displayName = CommandPrimitive.displayName;
2935
3002
  var CommandDialog = ({ children, ...props }) => {
2936
- return /* @__PURE__ */ React25.createElement(Dialog, { ...props }, /* @__PURE__ */ React25.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React25.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)));
3003
+ return /* @__PURE__ */ React26.createElement(Dialog, { ...props }, /* @__PURE__ */ React26.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React26.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)));
2937
3004
  };
2938
- var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3005
+ var CommandInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
2939
3006
  "div",
2940
3007
  {
2941
3008
  className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
2942
3009
  "cmdk-input-wrapper": ""
2943
3010
  },
2944
- /* @__PURE__ */ React25.createElement(
3011
+ /* @__PURE__ */ React26.createElement(
2945
3012
  "svg",
2946
3013
  {
2947
3014
  "aria-label": "Search Icon",
@@ -2956,10 +3023,10 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
2956
3023
  strokeLinejoin: "round",
2957
3024
  className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
2958
3025
  },
2959
- /* @__PURE__ */ React25.createElement("circle", { cx: "11", cy: "11", r: "8" }),
2960
- /* @__PURE__ */ React25.createElement("path", { d: "m21 21-4.3-4.3" })
3026
+ /* @__PURE__ */ React26.createElement("circle", { cx: "11", cy: "11", r: "8" }),
3027
+ /* @__PURE__ */ React26.createElement("path", { d: "m21 21-4.3-4.3" })
2961
3028
  ),
2962
- /* @__PURE__ */ React25.createElement(
3029
+ /* @__PURE__ */ React26.createElement(
2963
3030
  CommandPrimitive.Input,
2964
3031
  {
2965
3032
  ref,
@@ -2972,7 +3039,7 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
2972
3039
  )
2973
3040
  ));
2974
3041
  CommandInput.displayName = CommandPrimitive.Input.displayName;
2975
- var CommandList = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3042
+ var CommandList = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
2976
3043
  CommandPrimitive.List,
2977
3044
  {
2978
3045
  ref,
@@ -2984,7 +3051,7 @@ var CommandList = React25.forwardRef(({ className, ...props }, ref) => /* @__PUR
2984
3051
  }
2985
3052
  ));
2986
3053
  CommandList.displayName = CommandPrimitive.List.displayName;
2987
- var CommandEmpty = React25.forwardRef((props, ref) => /* @__PURE__ */ React25.createElement(
3054
+ var CommandEmpty = React26.forwardRef((props, ref) => /* @__PURE__ */ React26.createElement(
2988
3055
  CommandPrimitive.Empty,
2989
3056
  {
2990
3057
  ref,
@@ -2993,7 +3060,7 @@ var CommandEmpty = React25.forwardRef((props, ref) => /* @__PURE__ */ React25.cr
2993
3060
  }
2994
3061
  ));
2995
3062
  CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
2996
- var CommandGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3063
+ var CommandGroup = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
2997
3064
  CommandPrimitive.Group,
2998
3065
  {
2999
3066
  ref,
@@ -3005,7 +3072,7 @@ var CommandGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
3005
3072
  }
3006
3073
  ));
3007
3074
  CommandGroup.displayName = CommandPrimitive.Group.displayName;
3008
- var CommandSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3075
+ var CommandSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
3009
3076
  CommandPrimitive.Separator,
3010
3077
  {
3011
3078
  ref,
@@ -3014,7 +3081,7 @@ var CommandSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @
3014
3081
  }
3015
3082
  ));
3016
3083
  CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
3017
- var CommandItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3084
+ var CommandItem = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
3018
3085
  CommandPrimitive.Item,
3019
3086
  {
3020
3087
  ref,
@@ -3030,7 +3097,7 @@ var CommandShortcut = ({
3030
3097
  className,
3031
3098
  ...props
3032
3099
  }) => {
3033
- return /* @__PURE__ */ React25.createElement(
3100
+ return /* @__PURE__ */ React26.createElement(
3034
3101
  "span",
3035
3102
  {
3036
3103
  className: cn(
@@ -3043,67 +3110,7 @@ var CommandShortcut = ({
3043
3110
  };
3044
3111
  CommandShortcut.displayName = "CommandShortcut";
3045
3112
 
3046
- // components/elements/popover/Popover.tsx
3047
- import * as React26 from "react";
3048
- import * as PopoverPrimitive from "@radix-ui/react-popover";
3049
- var PopoverContent = React26.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React26.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React26.createElement(
3050
- PopoverPrimitive.Content,
3051
- {
3052
- ref,
3053
- align,
3054
- sideOffset,
3055
- className: cn(
3056
- "dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
3057
- className
3058
- ),
3059
- ...props
3060
- }
3061
- )));
3062
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
3063
- var Popover = ({
3064
- trigger,
3065
- children,
3066
- className,
3067
- align = "center",
3068
- side,
3069
- sideOffset = 4,
3070
- open,
3071
- width = "default",
3072
- disableTrigger,
3073
- contentProps,
3074
- triggerProps,
3075
- ...props
3076
- }) => {
3077
- let widthStyles = {
3078
- trigger: "var(--radix-popover-trigger-width)",
3079
- default: "auto"
3080
- };
3081
- return /* @__PURE__ */ React26.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React26.createElement(
3082
- PopoverPrimitive.Trigger,
3083
- {
3084
- className: "hawa-w-full",
3085
- disabled: disableTrigger,
3086
- ...triggerProps
3087
- },
3088
- trigger
3089
- ), /* @__PURE__ */ React26.createElement(
3090
- PopoverContent,
3091
- {
3092
- side,
3093
- className,
3094
- align,
3095
- sideOffset,
3096
- style: {
3097
- width: widthStyles[width]
3098
- },
3099
- ...contentProps
3100
- },
3101
- children
3102
- ));
3103
- };
3104
- var PopoverTrigger = PopoverPrimitive.Trigger;
3105
-
3106
- // components/elements/combobox/Combobox.tsx
3113
+ // elements/combobox/Combobox.tsx
3107
3114
  var Combobox = React27.forwardRef(
3108
3115
  ({
3109
3116
  labelKey = "label",
@@ -3241,7 +3248,7 @@ var Combobox = React27.forwardRef(
3241
3248
  }
3242
3249
  );
3243
3250
 
3244
- // components/elements/textarea/Textarea.tsx
3251
+ // elements/textarea/Textarea.tsx
3245
3252
  import * as React28 from "react";
3246
3253
  var Textarea = React28.forwardRef(
3247
3254
  ({
@@ -3303,7 +3310,7 @@ var Textarea = React28.forwardRef(
3303
3310
  );
3304
3311
  Textarea.displayName = "Textarea";
3305
3312
 
3306
- // components/elements/fileDropzone/FileDropzone.tsx
3313
+ // elements/fileDropzone/FileDropzone.tsx
3307
3314
  import React29, { useEffect as useEffect5, useState as useState7 } from "react";
3308
3315
  import { useDropzone } from "react-dropzone";
3309
3316
  import clsx2 from "clsx";
@@ -3524,7 +3531,7 @@ var FileDropzone = ({
3524
3531
  )));
3525
3532
  };
3526
3533
 
3527
- // components/elements/sortButton/SortButton.tsx
3534
+ // elements/sortButton/SortButton.tsx
3528
3535
  import React30 from "react";
3529
3536
  var SortButton = (props) => {
3530
3537
  return /* @__PURE__ */ React30.createElement(
@@ -3559,7 +3566,7 @@ var SortButton = (props) => {
3559
3566
  );
3560
3567
  };
3561
3568
 
3562
- // components/elements/tabs/Tabs.tsx
3569
+ // elements/tabs/Tabs.tsx
3563
3570
  import * as React31 from "react";
3564
3571
  import * as TabsPrimitive from "@radix-ui/react-tabs";
3565
3572
  var TabsContext = React31.createContext({ orientation: "vertical" });
@@ -3622,7 +3629,7 @@ var TabsContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
3622
3629
  ));
3623
3630
  TabsContent.displayName = TabsPrimitive.Content.displayName;
3624
3631
 
3625
- // components/elements/select/Select.tsx
3632
+ // elements/select/Select.tsx
3626
3633
  import React32 from "react";
3627
3634
  import ReactSelect from "react-select";
3628
3635
  import CreatableSelect from "react-select/creatable";
@@ -3776,7 +3783,7 @@ var Select = ({
3776
3783
  );
3777
3784
  };
3778
3785
 
3779
- // components/elements/switch/Switch.tsx
3786
+ // elements/switch/Switch.tsx
3780
3787
  import * as React33 from "react";
3781
3788
  import * as SwitchPrimitives from "@radix-ui/react-switch";
3782
3789
  var Switch = React33.forwardRef(
@@ -3853,7 +3860,7 @@ var Switch = React33.forwardRef(
3853
3860
  );
3854
3861
  Switch.displayName = SwitchPrimitives.Root.displayName;
3855
3862
 
3856
- // components/elements/checkbox/Checkbox.tsx
3863
+ // elements/checkbox/Checkbox.tsx
3857
3864
  import * as React34 from "react";
3858
3865
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3859
3866
  var Checkbox = ({
@@ -3989,7 +3996,7 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
3989
3996
  });
3990
3997
  CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
3991
3998
 
3992
- // components/elements/progress/Progress.tsx
3999
+ // elements/progress/Progress.tsx
3993
4000
  import * as React35 from "react";
3994
4001
  import * as ProgressPrimitive from "@radix-ui/react-progress";
3995
4002
  var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React35.createElement(
@@ -4012,7 +4019,7 @@ var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @_
4012
4019
  ));
4013
4020
  Progress.displayName = ProgressPrimitive.Root.displayName;
4014
4021
 
4015
- // components/elements/breadcrumb/Breadcrumb.tsx
4022
+ // elements/breadcrumb/Breadcrumb.tsx
4016
4023
  import React36 from "react";
4017
4024
  var Breadcrumb = ({
4018
4025
  breadcrumbLinks,
@@ -4036,7 +4043,7 @@ var Breadcrumb = ({
4036
4043
  )));
4037
4044
  };
4038
4045
 
4039
- // components/elements/appStores/AppStores.tsx
4046
+ // elements/appStores/AppStores.tsx
4040
4047
  import React37 from "react";
4041
4048
  var AppStores = (props) => {
4042
4049
  return /* @__PURE__ */ React37.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ React37.createElement("div", null, props.store === "apple" ? /* @__PURE__ */ React37.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ React37.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React37.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React37.createElement(
@@ -4072,7 +4079,7 @@ var AppStores = (props) => {
4072
4079
  ))), /* @__PURE__ */ React37.createElement("div", null, /* @__PURE__ */ React37.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React37.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-xl hawa-font-semibold" }, "Google Play")))));
4073
4080
  };
4074
4081
 
4075
- // components/elements/badge/Badge.tsx
4082
+ // elements/badge/Badge.tsx
4076
4083
  import React38, { useEffect as useEffect7, useState as useState9, useRef as useRef6 } from "react";
4077
4084
  var Badge = ({
4078
4085
  anchor,
@@ -4149,10 +4156,10 @@ var BadgedComponent = ({
4149
4156
  ), children);
4150
4157
  };
4151
4158
 
4152
- // components/elements/phoneInput/PhoneInput.tsx
4159
+ // elements/phoneInput/PhoneInput.tsx
4153
4160
  import React39, { useState as useState10, useRef as useRef7, useEffect as useEffect8 } from "react";
4154
4161
 
4155
- // components/countries.ts
4162
+ // countries.ts
4156
4163
  var countries = [
4157
4164
  {
4158
4165
  country_label: "Saudi Arabia",
@@ -5845,7 +5852,7 @@ var countries = [
5845
5852
  ];
5846
5853
  var countries_default = countries;
5847
5854
 
5848
- // components/elements/phoneInput/PhoneInput.tsx
5855
+ // elements/phoneInput/PhoneInput.tsx
5849
5856
  var PhoneInput = ({ labelProps, ...props }) => {
5850
5857
  const [phoneNumber, setPhoneNumber] = useState10("");
5851
5858
  const [countryCode, setCountryCode] = useState10(props.preferredCountry);
@@ -5909,7 +5916,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
5909
5916
  ));
5910
5917
  };
5911
5918
 
5912
- // components/elements/pinInput/PinInput.tsx
5919
+ // elements/pinInput/PinInput.tsx
5913
5920
  import React40, { useEffect as useEffect9, useState as useState11 } from "react";
5914
5921
  var PinInput = ({
5915
5922
  label,
@@ -5992,7 +5999,7 @@ var PinInput = ({
5992
5999
  ));
5993
6000
  };
5994
6001
 
5995
- // components/elements/stopPropagationWrapper/StopPropagationWrapper.tsx
6002
+ // elements/stopPropagationWrapper/StopPropagationWrapper.tsx
5996
6003
  import React41 from "react";
5997
6004
  var StopPropagationWrapper = (props) => {
5998
6005
  const handleClick = (e) => {
@@ -6001,7 +6008,7 @@ var StopPropagationWrapper = (props) => {
6001
6008
  return /* @__PURE__ */ React41.createElement("div", { onClick: handleClick }, props.children);
6002
6009
  };
6003
6010
 
6004
- // components/elements/scrollArea/ScrollArea.tsx
6011
+ // elements/scrollArea/ScrollArea.tsx
6005
6012
  import * as React42 from "react";
6006
6013
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
6007
6014
  var ScrollArea = React42.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React42.createElement(
@@ -6041,7 +6048,7 @@ var ScrollBar = React42.forwardRef(({ className, orientation = "vertical", ...pr
6041
6048
  ));
6042
6049
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
6043
6050
 
6044
- // components/elements/colorPicker/ColorPicker.tsx
6051
+ // elements/colorPicker/ColorPicker.tsx
6045
6052
  import React43, {
6046
6053
  useState as useState12,
6047
6054
  useEffect as useEffect10
@@ -6119,7 +6126,7 @@ var ColorPicker = ({
6119
6126
  ));
6120
6127
  };
6121
6128
 
6122
- // components/elements/progressCircle/ProgressCircle.tsx
6129
+ // elements/progressCircle/ProgressCircle.tsx
6123
6130
  import React44 from "react";
6124
6131
  var size2config = {
6125
6132
  xs: {
@@ -6230,7 +6237,7 @@ var ProgressCircle = React44.forwardRef((props, ref) => {
6230
6237
  });
6231
6238
  ProgressCircle.displayName = "ProgressCircle";
6232
6239
 
6233
- // components/elements/pagination/Pagination.tsx
6240
+ // elements/pagination/Pagination.tsx
6234
6241
  import React45 from "react";
6235
6242
  import { Pagination as PaginationPrimitive } from "react-headless-pagination";
6236
6243
  var Pagination = ({
@@ -6342,10 +6349,10 @@ var Pagination = ({
6342
6349
  );
6343
6350
  };
6344
6351
 
6345
- // components/elements/passwordInput/PasswordInput.tsx
6352
+ // elements/passwordInput/PasswordInput.tsx
6346
6353
  import React49, { useEffect as useEffect11, useState as useState13 } from "react";
6347
6354
 
6348
- // components/icons/Emojis.tsx
6355
+ // icons/Emojis.tsx
6349
6356
  import React46 from "react";
6350
6357
  var VeryGoodEmoji = () => /* @__PURE__ */ React46.createElement(
6351
6358
  "svg",
@@ -6438,7 +6445,7 @@ var VeryBadEmoji = () => /* @__PURE__ */ React46.createElement(
6438
6445
  ))
6439
6446
  );
6440
6447
 
6441
- // components/icons/InputIcons.tsx
6448
+ // icons/InputIcons.tsx
6442
6449
  import React47 from "react";
6443
6450
  var EyeIcon = (props) => /* @__PURE__ */ React47.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React47.createElement(
6444
6451
  "svg",
@@ -6471,7 +6478,7 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ React47.createElement("div", { cl
6471
6478
  /* @__PURE__ */ React47.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
6472
6479
  ));
6473
6480
 
6474
- // components/icons/CommonIcons.tsx
6481
+ // icons/CommonIcons.tsx
6475
6482
  import React48 from "react";
6476
6483
  var CheckMark = ({ size = "default", className }) => {
6477
6484
  let sizeStyles2 = {
@@ -6520,7 +6527,7 @@ var UncheckMark = ({ size = "default", className }) => {
6520
6527
  );
6521
6528
  };
6522
6529
 
6523
- // components/elements/passwordInput/PasswordInput.tsx
6530
+ // elements/passwordInput/PasswordInput.tsx
6524
6531
  var PasswordStrengthIndicator = ({ strength }) => {
6525
6532
  const strengthLevels = [
6526
6533
  "none",
@@ -6653,7 +6660,7 @@ var PasswordInput = ({
6653
6660
  ), /* @__PURE__ */ React49.createElement(PasswordStrengthIndicator, { strength: currentStr }));
6654
6661
  };
6655
6662
 
6656
- // components/elements/slider/Slider.tsx
6663
+ // elements/slider/Slider.tsx
6657
6664
  import * as React50 from "react";
6658
6665
  import * as SliderPrimitive from "@radix-ui/react-slider";
6659
6666
  var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React50.createElement(
@@ -6671,7 +6678,7 @@ var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
6671
6678
  ));
6672
6679
  Slider.displayName = SliderPrimitive.Root.displayName;
6673
6680
 
6674
- // components/elements/simpleTable/SimpleTable.tsx
6681
+ // elements/simpleTable/SimpleTable.tsx
6675
6682
  import * as React51 from "react";
6676
6683
  import {
6677
6684
  flexRender as flexRender2,
@@ -6743,7 +6750,7 @@ var SimpleTable = ({
6743
6750
  );
6744
6751
  };
6745
6752
 
6746
- // components/elements/separator/Separator.tsx
6753
+ // elements/separator/Separator.tsx
6747
6754
  import * as React52 from "react";
6748
6755
  var Separator2 = ({
6749
6756
  className,
@@ -6761,7 +6768,7 @@ var Separator2 = ({
6761
6768
  }
6762
6769
  );
6763
6770
 
6764
- // components/elements/scrollIndicator/ScrollIndicator.tsx
6771
+ // elements/scrollIndicator/ScrollIndicator.tsx
6765
6772
  import React53, { useState as useState14, useEffect as useEffect12 } from "react";
6766
6773
  var ScrollIndicator = ({
6767
6774
  anchor,
@@ -6802,11 +6809,11 @@ var ScrollIndicator = ({
6802
6809
  );
6803
6810
  };
6804
6811
 
6805
- // components/elements/codeBlock/CodeBlock.tsx
6812
+ // elements/codeBlock/CodeBlock.tsx
6806
6813
  import React54, { useState as useState16 } from "react";
6807
6814
  import { Highlight, themes } from "prism-react-renderer";
6808
6815
 
6809
- // components/hooks/useClipboard.ts
6816
+ // hooks/useClipboard.ts
6810
6817
  import { useState as useState15 } from "react";
6811
6818
  function useClipboard({ timeout = 2e3 } = {}) {
6812
6819
  const [error, setError] = useState15(null);
@@ -6832,7 +6839,7 @@ function useClipboard({ timeout = 2e3 } = {}) {
6832
6839
  return { copy, reset, error, copied };
6833
6840
  }
6834
6841
 
6835
- // components/elements/codeBlock/CodeBlock.tsx
6842
+ // elements/codeBlock/CodeBlock.tsx
6836
6843
  var CodeBlock = ({
6837
6844
  tabs,
6838
6845
  code,
@@ -6965,7 +6972,7 @@ var CodeBlock = ({
6965
6972
  );
6966
6973
  };
6967
6974
 
6968
- // components/elements/carousel/Carousel.tsx
6975
+ // elements/carousel/Carousel.tsx
6969
6976
  import React55, { useEffect as useEffect14, useState as useState17 } from "react";
6970
6977
  import useEmblaCarousel from "embla-carousel-react";
6971
6978
  var Carousel = ({
@@ -6976,10 +6983,9 @@ var Carousel = ({
6976
6983
  autoplayInterval = 3e3,
6977
6984
  ...props
6978
6985
  }) => {
6979
- const { loop } = options;
6980
6986
  const [emblaRef, emblaApi] = useEmblaCarousel({
6981
6987
  ...options,
6982
- loop: autoplay ? true : loop || false
6988
+ loop: autoplay ? true : (options == null ? void 0 : options.loop) || false
6983
6989
  });
6984
6990
  const [selectedIndex, setSelectedIndex] = useState17(0);
6985
6991
  useEffect14(() => {
@@ -7038,12 +7044,12 @@ var Dots = ({ onDotClick, itemsLength, selectedIndex }) => {
7038
7044
  return /* @__PURE__ */ React55.createElement(
7039
7045
  "div",
7040
7046
  {
7047
+ key: index,
7041
7048
  onClick: () => onDotClick(index),
7042
7049
  className: cn(
7043
7050
  "hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
7044
7051
  !selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
7045
- ),
7046
- key: index
7052
+ )
7047
7053
  }
7048
7054
  );
7049
7055
  }));
@@ -7052,11 +7058,7 @@ var CarouselControls = (props) => {
7052
7058
  return /* @__PURE__ */ React55.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ React55.createElement(
7053
7059
  "button",
7054
7060
  {
7055
- onClick: () => {
7056
- if (props.canScrollPrev) {
7057
- props.onPrev();
7058
- }
7059
- },
7061
+ onClick: () => props.canScrollPrev && props.onPrev(),
7060
7062
  disabled: !props.canScrollPrev,
7061
7063
  className: cn(
7062
7064
  "hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white ",
@@ -7078,11 +7080,7 @@ var CarouselControls = (props) => {
7078
7080
  ), /* @__PURE__ */ React55.createElement(
7079
7081
  "button",
7080
7082
  {
7081
- onClick: () => {
7082
- if (props.canScrollNext) {
7083
- props.onNext();
7084
- }
7085
- },
7083
+ onClick: () => props.canScrollNext && props.onNext(),
7086
7084
  disabled: !props.canScrollNext,
7087
7085
  className: cn(
7088
7086
  "hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white ",
@@ -7104,13 +7102,13 @@ var CarouselControls = (props) => {
7104
7102
  ));
7105
7103
  };
7106
7104
 
7107
- // components/elements/count/Count.tsx
7105
+ // elements/count/Count.tsx
7108
7106
  import React56 from "react";
7109
7107
  var Count = (props) => {
7110
7108
  return /* @__PURE__ */ React56.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ React56.createElement("div", null, props.icon), /* @__PURE__ */ React56.createElement("div", { className: "hawa-text-sm" }, props.count));
7111
7109
  };
7112
7110
 
7113
- // components/elements/toast/Toast.tsx
7111
+ // elements/toast/Toast.tsx
7114
7112
  import * as React57 from "react";
7115
7113
  import * as ToastPrimitives from "@radix-ui/react-toast";
7116
7114
  import { cva as cva4 } from "class-variance-authority";
@@ -7247,10 +7245,10 @@ var ToastDescription = React57.forwardRef(({ className, size = "default", ...pro
7247
7245
  ));
7248
7246
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
7249
7247
 
7250
- // components/elements/toaster/Toaster.tsx
7248
+ // elements/toaster/Toaster.tsx
7251
7249
  import React59 from "react";
7252
7250
 
7253
- // components/hooks/useToast.ts
7251
+ // hooks/useToast.ts
7254
7252
  import * as React58 from "react";
7255
7253
  var TOAST_LIMIT = 5;
7256
7254
  var TOAST_REMOVE_DELAY = 1e5;
@@ -7364,7 +7362,7 @@ function useToast() {
7364
7362
  };
7365
7363
  }
7366
7364
 
7367
- // components/elements/toaster/Toaster.tsx
7365
+ // elements/toaster/Toaster.tsx
7368
7366
  function Toaster(props) {
7369
7367
  const { toasts } = useToast();
7370
7368
  let isRTL = props.direction === "rtl";
@@ -7406,7 +7404,7 @@ function Toaster(props) {
7406
7404
  ));
7407
7405
  }
7408
7406
 
7409
- // components/elements/destroyableCard/DestroyableCard.tsx
7407
+ // elements/destroyableCard/DestroyableCard.tsx
7410
7408
  import React60, { useRef as useRef8, useState as useState19 } from "react";
7411
7409
  var DestroyableCard = ({
7412
7410
  position = "bottom-right",
@@ -7480,7 +7478,7 @@ var DestroyableCard = ({
7480
7478
  );
7481
7479
  };
7482
7480
 
7483
- // components/elements/interfaceSettings/InterfaceSettings.tsx
7481
+ // elements/interfaceSettings/InterfaceSettings.tsx
7484
7482
  import React61, { useState as useState20 } from "react";
7485
7483
  var InterfaceSettings = ({
7486
7484
  orientation = "horizontal",
@@ -7567,7 +7565,7 @@ var InterfaceSettings = ({
7567
7565
  ));
7568
7566
  };
7569
7567
 
7570
- // components/layout/stats/Stats.tsx
7568
+ // layout/stats/Stats.tsx
7571
7569
  import React62 from "react";
7572
7570
  var Stats = ({
7573
7571
  label,
@@ -7600,7 +7598,7 @@ var Stats = ({
7600
7598
  ), chart && (isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : chart)));
7601
7599
  };
7602
7600
 
7603
- // components/layout/sidebar/Sidebar.tsx
7601
+ // layout/sidebar/Sidebar.tsx
7604
7602
  import * as React63 from "react";
7605
7603
  import * as AccordionPrimitive6 from "@radix-ui/react-accordion";
7606
7604
  var Accordion2 = AccordionPrimitive6.Root;
@@ -7808,22 +7806,22 @@ var SidebarItem = ({
7808
7806
  }
7809
7807
  };
7810
7808
 
7811
- // components/layout/copyrights/Copyrights.tsx
7809
+ // layout/copyrights/Copyrights.tsx
7812
7810
  import React64 from "react";
7813
7811
  var Copyrights = (props) => {
7814
7812
  return /* @__PURE__ */ React64.createElement("div", { className: "hawa-my-2 hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-1 hawa-text-xs hawa-text-gray-400" }, props.withLogo ? /* @__PURE__ */ React64.createElement("a", { href: props.onLogoClicked }, /* @__PURE__ */ React64.createElement("div", { className: "hawa-cursor-pointer" }, /* @__PURE__ */ React64.createElement("image", { href: props.logoURL, width: 100, height: 50 }))) : null, /* @__PURE__ */ React64.createElement("div", null, props.version), props.credits ? props.credits : null);
7815
7813
  };
7816
7814
 
7817
- // components/layout/navbar/Navbar.tsx
7815
+ // layout/navbar/Navbar.tsx
7818
7816
  import React65, { useState as useState21 } from "react";
7819
7817
 
7820
- // components/elements/collapsible/Collapsible.tsx
7818
+ // elements/collapsible/Collapsible.tsx
7821
7819
  import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
7822
7820
  var Collapsible = CollapsiblePrimitive.Root;
7823
7821
  var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
7824
7822
  var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
7825
7823
 
7826
- // components/layout/navbar/Navbar.tsx
7824
+ // layout/navbar/Navbar.tsx
7827
7825
  var Navbar = ({
7828
7826
  backgroundColor,
7829
7827
  logo,
@@ -7934,7 +7932,7 @@ var Navbar = ({
7934
7932
  ));
7935
7933
  };
7936
7934
 
7937
- // components/layout/appLayout/AppLayout.tsx
7935
+ // layout/appLayout/AppLayout.tsx
7938
7936
  import React66, { useEffect as useEffect16, useRef as useRef9, useState as useState22 } from "react";
7939
7937
  var AppLayout = ({
7940
7938
  profileMenuWidth = "default",
@@ -8289,7 +8287,7 @@ var MenuIcon = () => /* @__PURE__ */ React66.createElement(
8289
8287
  )
8290
8288
  );
8291
8289
 
8292
- // components/layout/appTopbar/AppTopbar.tsx
8290
+ // layout/appTopbar/AppTopbar.tsx
8293
8291
  import React67 from "react";
8294
8292
  var AppTopbar = ({ ...props }) => {
8295
8293
  const isRTL = props.direction === "ltr";
@@ -8394,7 +8392,7 @@ var AppTopbar = ({ ...props }) => {
8394
8392
  );
8395
8393
  };
8396
8394
 
8397
- // components/layout/appMenubar/AppMenubar.tsx
8395
+ // layout/appMenubar/AppMenubar.tsx
8398
8396
  import * as React68 from "react";
8399
8397
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
8400
8398
  var MenubarMenu = MenubarPrimitive.Menu;
@@ -8597,7 +8595,7 @@ var MenubarShortcut = ({
8597
8595
  };
8598
8596
  MenubarShortcut.displayname = "MenubarShortcut";
8599
8597
 
8600
- // components/layout/appTabs/AppTabs.tsx
8598
+ // layout/appTabs/AppTabs.tsx
8601
8599
  import React69, { useState as useState23 } from "react";
8602
8600
  var AppTabs = ({ tabs, className }) => {
8603
8601
  const [selectedIndex, setSelectedIndex] = useState23(0);
@@ -8641,10 +8639,10 @@ var AppTabs = ({ tabs, className }) => {
8641
8639
  );
8642
8640
  };
8643
8641
 
8644
- // components/layout/docsLayout/DocsLayout.tsx
8642
+ // layout/docsLayout/DocsLayout.tsx
8645
8643
  import React72, { useEffect as useEffect18, useRef as useRef10, useState as useState25 } from "react";
8646
8644
 
8647
- // components/hooks/useBreakpoint.ts
8645
+ // hooks/useBreakpoint.ts
8648
8646
  import { useState as useState24, useEffect as useEffect17 } from "react";
8649
8647
  var useBreakpoint = () => {
8650
8648
  const [breakpoint, setBreakpoint] = useState24(null);
@@ -8663,7 +8661,7 @@ var useBreakpoint = () => {
8663
8661
  return breakpoint;
8664
8662
  };
8665
8663
 
8666
- // components/layout/docsSidebar/DocsSidebar.tsx
8664
+ // layout/docsSidebar/DocsSidebar.tsx
8667
8665
  import React71 from "react";
8668
8666
  var DocsSidebar = ({
8669
8667
  currentPage: propCurrentPage,
@@ -8726,7 +8724,7 @@ var DocsSidebar = ({
8726
8724
  );
8727
8725
  };
8728
8726
 
8729
- // components/layout/docsLayout/DocsLayout.tsx
8727
+ // layout/docsLayout/DocsLayout.tsx
8730
8728
  var DocsLayout = ({
8731
8729
  direction = "ltr",
8732
8730
  drawerSize = "md",
@@ -8930,14 +8928,14 @@ var DocsLayout = ({
8930
8928
  ));
8931
8929
  };
8932
8930
 
8933
- // components/blocks/auth/LoginForm.tsx
8931
+ // blocks/auth/LoginForm.tsx
8934
8932
  import React74, { useState as useState26 } from "react";
8935
8933
  import { Controller, useForm } from "react-hook-form";
8936
8934
  import { zodResolver } from "@hookform/resolvers/zod";
8937
8935
  import { parsePhoneNumber } from "libphonenumber-js";
8938
8936
  import * as z from "zod";
8939
8937
 
8940
- // components/blocks/auth/AuthButtons.tsx
8938
+ // blocks/auth/AuthButtons.tsx
8941
8939
  import React73 from "react";
8942
8940
  var AuthButtons = (props) => {
8943
8941
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
@@ -9014,7 +9012,7 @@ var AuthButtons = (props) => {
9014
9012
  ));
9015
9013
  };
9016
9014
 
9017
- // components/blocks/auth/LoginForm.tsx
9015
+ // blocks/auth/LoginForm.tsx
9018
9016
  var LoginForm = ({
9019
9017
  loginType,
9020
9018
  texts,
@@ -9303,7 +9301,7 @@ var LoginForm = ({
9303
9301
  ) : null));
9304
9302
  };
9305
9303
 
9306
- // components/blocks/auth/RegisterForm.tsx
9304
+ // blocks/auth/RegisterForm.tsx
9307
9305
  import React75, { useState as useState27 } from "react";
9308
9306
  import { Controller as Controller2, FormProvider, useForm as useForm2 } from "react-hook-form";
9309
9307
  import { zodResolver as zodResolver2 } from "@hookform/resolvers/zod";
@@ -9639,7 +9637,7 @@ var RegisterForm = ({
9639
9637
  ) : null));
9640
9638
  };
9641
9639
 
9642
- // components/blocks/auth/AppLanding.tsx
9640
+ // blocks/auth/AppLanding.tsx
9643
9641
  import React76 from "react";
9644
9642
  var AppLanding = ({ texts, ...props }) => {
9645
9643
  const thirdPartyAuthTexts = {
@@ -9680,7 +9678,7 @@ var AppLanding = ({ texts, ...props }) => {
9680
9678
  )))));
9681
9679
  };
9682
9680
 
9683
- // components/blocks/auth/CheckEmail.tsx
9681
+ // blocks/auth/CheckEmail.tsx
9684
9682
  import React77 from "react";
9685
9683
  var CheckEmail = ({ texts, handleResend }) => {
9686
9684
  return /* @__PURE__ */ React77.createElement(Card, null, /* @__PURE__ */ React77.createElement(CardContent, { headless: true }, /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React77.createElement(
@@ -9701,7 +9699,7 @@ var CheckEmail = ({ texts, handleResend }) => {
9701
9699
  )), /* @__PURE__ */ React77.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React77.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React77.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React77.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
9702
9700
  };
9703
9701
 
9704
- // components/blocks/auth/NewPassword.tsx
9702
+ // blocks/auth/NewPassword.tsx
9705
9703
  import React78, { useState as useState28 } from "react";
9706
9704
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
9707
9705
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
@@ -9798,7 +9796,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
9798
9796
  ));
9799
9797
  };
9800
9798
 
9801
- // components/blocks/auth/ResetPassword.tsx
9799
+ // blocks/auth/ResetPassword.tsx
9802
9800
  import React79 from "react";
9803
9801
  import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
9804
9802
  import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
@@ -9854,7 +9852,7 @@ var ResetPasswordForm = (props) => {
9854
9852
  )) : /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
9855
9853
  };
9856
9854
 
9857
- // components/blocks/auth/CodeConfirmation.tsx
9855
+ // blocks/auth/CodeConfirmation.tsx
9858
9856
  import React80, { useEffect as useEffect19, useState as useState29 } from "react";
9859
9857
  import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
9860
9858
  import { zodResolver as zodResolver5 } from "@hookform/resolvers/zod";
@@ -9953,7 +9951,7 @@ var CodeConfirmation = (props) => {
9953
9951
  )));
9954
9952
  };
9955
9953
 
9956
- // components/blocks/feedback/UserReferralSource.tsx
9954
+ // blocks/feedback/UserReferralSource.tsx
9957
9955
  import React81, { useRef as useRef11, useState as useState30 } from "react";
9958
9956
  import { Controller as Controller6, useForm as useForm6 } from "react-hook-form";
9959
9957
  import { zodResolver as zodResolver6 } from "@hookform/resolvers/zod";
@@ -10110,7 +10108,7 @@ var UserReferralSource = ({
10110
10108
  );
10111
10109
  };
10112
10110
 
10113
- // components/blocks/feedback/FeedbackRating.tsx
10111
+ // blocks/feedback/FeedbackRating.tsx
10114
10112
  import React82, { useEffect as useEffect20, useRef as useRef12, useState as useState31 } from "react";
10115
10113
  var FeedbackRating = ({
10116
10114
  position = "bottom-right",
@@ -10224,7 +10222,7 @@ var FeedbackRating = ({
10224
10222
  );
10225
10223
  };
10226
10224
 
10227
- // components/blocks/feedback/FeedbackEmoji.tsx
10225
+ // blocks/feedback/FeedbackEmoji.tsx
10228
10226
  import React83, { useState as useState32 } from "react";
10229
10227
  var FeedbackEmoji = (props) => {
10230
10228
  const [selectedEmoji, setSelectedEmoji] = useState32(null);
@@ -10337,7 +10335,7 @@ var FeedbackEmoji = (props) => {
10337
10335
  );
10338
10336
  };
10339
10337
 
10340
- // components/blocks/feedback/FeedbackForm.tsx
10338
+ // blocks/feedback/FeedbackForm.tsx
10341
10339
  import React84 from "react";
10342
10340
  import { useForm as useForm7, Controller as Controller7 } from "react-hook-form";
10343
10341
  import { zodResolver as zodResolver7 } from "@hookform/resolvers/zod";
@@ -10421,7 +10419,7 @@ var FeedbackForm = (props) => {
10421
10419
  );
10422
10420
  };
10423
10421
 
10424
- // components/blocks/misc/LegalTexts.tsx
10422
+ // blocks/misc/LegalTexts.tsx
10425
10423
  import React85 from "react";
10426
10424
  var LegalTexts = ({ tabs, ...props }) => {
10427
10425
  return /* @__PURE__ */ React85.createElement(
@@ -10446,7 +10444,7 @@ var LegalTexts = ({ tabs, ...props }) => {
10446
10444
  );
10447
10445
  };
10448
10446
 
10449
- // components/blocks/misc/EmptyState.tsx
10447
+ // blocks/misc/EmptyState.tsx
10450
10448
  import React86 from "react";
10451
10449
  var EmptyState = ({ texts, onActionClick }) => {
10452
10450
  return /* @__PURE__ */ React86.createElement(Card, null, /* @__PURE__ */ React86.createElement(CardContent, { headless: true }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center " }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React86.createElement(
@@ -10463,7 +10461,7 @@ var EmptyState = ({ texts, onActionClick }) => {
10463
10461
  )), /* @__PURE__ */ React86.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.youreCaughtUp) || "You're all caught up"))), /* @__PURE__ */ React86.createElement(CardFooter, null, /* @__PURE__ */ React86.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, (texts == null ? void 0 : texts.actionText) || "Go Home")));
10464
10462
  };
10465
10463
 
10466
- // components/blocks/misc/Testimonial.tsx
10464
+ // blocks/misc/Testimonial.tsx
10467
10465
  import React87 from "react";
10468
10466
  var Testimonial = () => {
10469
10467
  return /* @__PURE__ */ React87.createElement(Card, null, /* @__PURE__ */ React87.createElement(CardContent, { headless: true }, /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement("p", { className: "mb-4 max-w-sm" }, "The team at Sikka Software is simply amazing. The tech is easy to follow, easy to work with, and infinitely flexible. The solution opportunities created by Tines are endless.")), /* @__PURE__ */ React87.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React87.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React87.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React87.createElement(
@@ -10481,7 +10479,7 @@ var Testimonial = () => {
10481
10479
  )), /* @__PURE__ */ React87.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React87.createElement("div", null, " Chief Information Security Officer")))));
10482
10480
  };
10483
10481
 
10484
- // components/blocks/misc/LeadGenerator.tsx
10482
+ // blocks/misc/LeadGenerator.tsx
10485
10483
  import React88 from "react";
10486
10484
  import { useForm as useForm8, Controller as Controller8 } from "react-hook-form";
10487
10485
  var LeadGenerator = ({ texts, submitHandler }) => {
@@ -10521,7 +10519,7 @@ var LeadGenerator = ({ texts, submitHandler }) => {
10521
10519
  )));
10522
10520
  };
10523
10521
 
10524
- // components/blocks/misc/Announcement.tsx
10522
+ // blocks/misc/Announcement.tsx
10525
10523
  import React89 from "react";
10526
10524
  var Announcement = ({
10527
10525
  onActionClick,
@@ -10545,13 +10543,13 @@ var Announcement = ({
10545
10543
  ));
10546
10544
  };
10547
10545
 
10548
- // components/blocks/misc/NotFound.tsx
10546
+ // blocks/misc/NotFound.tsx
10549
10547
  import React90 from "react";
10550
10548
  var NotFound = ({ texts }) => {
10551
10549
  return /* @__PURE__ */ React90.createElement(Card, null, /* @__PURE__ */ React90.createElement(CardContent, { headless: true }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React90.createElement(React90.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React90.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React90.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
10552
10550
  };
10553
10551
 
10554
- // components/blocks/misc/NoPermission.tsx
10552
+ // blocks/misc/NoPermission.tsx
10555
10553
  import React91 from "react";
10556
10554
  var NoPermission = ({ texts }) => {
10557
10555
  return /* @__PURE__ */ React91.createElement(Card, null, /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React91.createElement(
@@ -10568,7 +10566,7 @@ var NoPermission = ({ texts }) => {
10568
10566
  )), /* @__PURE__ */ React91.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.title) || "You don't have permission"), /* @__PURE__ */ React91.createElement("div", null, (texts == null ? void 0 : texts.subtitle) || "If you think this is a problem please contact your administrator or our customer support"))));
10569
10567
  };
10570
10568
 
10571
- // components/blocks/misc/ContactForm.tsx
10569
+ // blocks/misc/ContactForm.tsx
10572
10570
  import React92 from "react";
10573
10571
  import { useForm as useForm9, Controller as Controller9 } from "react-hook-form";
10574
10572
  import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
@@ -10710,10 +10708,10 @@ var ContactForm = ({
10710
10708
  );
10711
10709
  };
10712
10710
 
10713
- // components/blocks/pricing/PricingPlans.tsx
10711
+ // blocks/pricing/PricingPlans.tsx
10714
10712
  import React98 from "react";
10715
10713
 
10716
- // components/blocks/cards/ActionCard.tsx
10714
+ // blocks/cards/ActionCard.tsx
10717
10715
  import React93, { useState as useState33 } from "react";
10718
10716
  var ActionCard = (props) => {
10719
10717
  const [hovered, setHovered] = useState33(false);
@@ -10752,7 +10750,7 @@ var ActionCard = (props) => {
10752
10750
  ));
10753
10751
  };
10754
10752
 
10755
- // components/blocks/cards/AdCard.tsx
10753
+ // blocks/cards/AdCard.tsx
10756
10754
  import React94, { useState as useState34, useEffect as useEffect21, useRef as useRef13 } from "react";
10757
10755
  var AdCard = ({
10758
10756
  orientation = "vertical",
@@ -10825,7 +10823,7 @@ var AdCard = ({
10825
10823
  ));
10826
10824
  };
10827
10825
 
10828
- // components/blocks/cards/PricingCard.tsx
10826
+ // blocks/cards/PricingCard.tsx
10829
10827
  import React95 from "react";
10830
10828
  var PricingCard = ({
10831
10829
  size = "medium",
@@ -10935,7 +10933,7 @@ var PricingCard = ({
10935
10933
  );
10936
10934
  };
10937
10935
 
10938
- // components/blocks/cards/ItemCard.tsx
10936
+ // blocks/cards/ItemCard.tsx
10939
10937
  import React96, { useEffect as useEffect22, useState as useState35 } from "react";
10940
10938
  var ItemCard = ({
10941
10939
  actions,
@@ -11052,13 +11050,13 @@ var ItemCard = ({
11052
11050
  );
11053
11051
  };
11054
11052
 
11055
- // components/blocks/cards/LandingCard.tsx
11053
+ // blocks/cards/LandingCard.tsx
11056
11054
  import React97 from "react";
11057
11055
  var LandingCard = (props) => {
11058
11056
  return /* @__PURE__ */ React97.createElement(Card, { className: props.className }, /* @__PURE__ */ React97.createElement(CardHeader, null, props.icon, /* @__PURE__ */ React97.createElement(CardTitle, null, props.title), /* @__PURE__ */ React97.createElement(CardDescription, null, props.subtitle)));
11059
11057
  };
11060
11058
 
11061
- // components/blocks/pricing/PricingPlans.tsx
11059
+ // blocks/pricing/PricingPlans.tsx
11062
11060
  var PricingPlans = ({
11063
11061
  mainContainerProps,
11064
11062
  cardsContainerProps,
@@ -11125,7 +11123,7 @@ var PricingPlans = ({
11125
11123
  ));
11126
11124
  };
11127
11125
 
11128
- // components/blocks/pricing/ComparingPlans.tsx
11126
+ // blocks/pricing/ComparingPlans.tsx
11129
11127
  import React99 from "react";
11130
11128
  var ComparingPlans = (props) => {
11131
11129
  const uniqueFeatures = Array.from(
@@ -11196,7 +11194,7 @@ var ComparingPlans = (props) => {
11196
11194
  {
11197
11195
  key: featureIndex,
11198
11196
  className: cn(
11199
- "hawa-border-foreground-muted dark:text-white hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700",
11197
+ "hawa-border-foreground-muted hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
11200
11198
  featureIndex === 0 ? "" : "hawa-border-t"
11201
11199
  )
11202
11200
  },
@@ -11291,7 +11289,7 @@ var ComparingPlans = (props) => {
11291
11289
  })));
11292
11290
  };
11293
11291
 
11294
- // components/blocks/pricing/HorizontalPricing.tsx
11292
+ // blocks/pricing/HorizontalPricing.tsx
11295
11293
  import React100, { useState as useState36 } from "react";
11296
11294
  var HorizontalPricing = (props) => {
11297
11295
  const [selectedCard, setSelectedCard] = useState36("");
@@ -11386,7 +11384,7 @@ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment,
11386
11384
  var CardText = (props) => /* @__PURE__ */ React100.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React100.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React100.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
11387
11385
  var CardPrice = (props) => /* @__PURE__ */ React100.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React100.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
11388
11386
 
11389
- // components/blocks/Usage.tsx
11387
+ // blocks/Usage.tsx
11390
11388
  import React101 from "react";
11391
11389
  var Usage = (props) => {
11392
11390
  var _a;
@@ -11405,20 +11403,20 @@ var Usage = (props) => {
11405
11403
  ))), /* @__PURE__ */ React101.createElement("div", { className: "hawa-bg-white-100 hawa-flex hawa-flex-row" }, /* @__PURE__ */ React101.createElement("div", null, props.currentUsage), /* @__PURE__ */ React101.createElement("div", null, " (", props.percent, "%)")), /* @__PURE__ */ React101.createElement(Progress, { value: (_a = props.percent) != null ? _a : 0 }));
11406
11404
  };
11407
11405
 
11408
- // components/hooks/useIsomorphicEffect.ts
11406
+ // hooks/useIsomorphicEffect.ts
11409
11407
  import { useEffect as useEffect23, useLayoutEffect } from "react";
11410
11408
  var useIsomorphicEffect = typeof document !== "undefined" ? useLayoutEffect : useEffect23;
11411
11409
 
11412
- // components/hooks/useDiscloser.ts
11410
+ // hooks/useDiscloser.ts
11413
11411
  import { useState as useState37 } from "react";
11414
11412
 
11415
- // components/hooks/useHover.ts
11413
+ // hooks/useHover.ts
11416
11414
  import { useEffect as useEffect24, useRef as useRef14, useState as useState38 } from "react";
11417
11415
 
11418
- // components/hooks/useCarousel.ts
11416
+ // hooks/useCarousel.ts
11419
11417
  import { useState as useState39, useRef as useRef15 } from "react";
11420
11418
 
11421
- // components/hooks/useDialogCarousel.ts
11419
+ // hooks/useDialogCarousel.ts
11422
11420
  import { useEffect as useEffect25, useState as useState40 } from "react";
11423
11421
  import AutoHeight from "embla-carousel-auto-height";
11424
11422
  import useEmblaCarousel2 from "embla-carousel-react";
@@ -11461,7 +11459,7 @@ var useDialogCarousel = (options) => {
11461
11459
  };
11462
11460
  };
11463
11461
 
11464
- // components/hooks/useDialogSteps.ts
11462
+ // hooks/useDialogSteps.ts
11465
11463
  import { useState as useState41, useEffect as useEffect26, useRef as useRef16 } from "react";
11466
11464
  var useMultiStepDialog = (initialStep, stepIds, setOpenDialog) => {
11467
11465
  const [currentStep, setCurrentStep] = useState41(initialStep);
@@ -11497,7 +11495,7 @@ var useMultiStepDialog = (initialStep, stepIds, setOpenDialog) => {
11497
11495
  };
11498
11496
  };
11499
11497
 
11500
- // components/hooks/useWindowSize.ts
11498
+ // hooks/useWindowSize.ts
11501
11499
  import { useEffect as useEffect27, useState as useState42 } from "react";
11502
11500
  var useWindowSize = () => {
11503
11501
  const [windowSize, setWindowSize] = useState42({
@@ -11518,7 +11516,7 @@ var useWindowSize = () => {
11518
11516
  return windowSize;
11519
11517
  };
11520
11518
 
11521
- // components/hooks/useFocusWithin.ts
11519
+ // hooks/useFocusWithin.ts
11522
11520
  import { useRef as useRef17, useState as useState43, useEffect as useEffect28 } from "react";
11523
11521
  function containsRelatedTarget(event) {
11524
11522
  if (event.currentTarget instanceof HTMLElement && event.relatedTarget instanceof HTMLElement) {
@@ -11564,7 +11562,7 @@ function useFocusWithin({
11564
11562
  return { ref, focused };
11565
11563
  }
11566
11564
 
11567
- // components/hooks/useMediaQuery.ts
11565
+ // hooks/useMediaQuery.ts
11568
11566
  import { useState as useState44, useEffect as useEffect29, useRef as useRef18 } from "react";
11569
11567
  function attachMediaListener(query, callback) {
11570
11568
  try {
@@ -11605,13 +11603,13 @@ function useMediaQuery(query, initialValue, { getInitialValueInEffect } = {
11605
11603
  return matches;
11606
11604
  }
11607
11605
 
11608
- // components/hooks/useScrollPosition.ts
11606
+ // hooks/useScrollPosition.ts
11609
11607
  import { useState as useState45, useEffect as useEffect30 } from "react";
11610
11608
 
11611
- // components/hooks/useTable.ts
11609
+ // hooks/useTable.ts
11612
11610
  import { useState as useState46, useEffect as useEffect31 } from "react";
11613
11611
 
11614
- // components/hooks/useTabs.ts
11612
+ // hooks/useTabs.ts
11615
11613
  import { useEffect as useEffect32, useState as useState47 } from "react";
11616
11614
  function useTabs(initialTab = "") {
11617
11615
  const [activeTab, setActiveTab] = useState47(initialTab);