@sikka/hawa 0.48.1-next → 0.49.0-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/dist/accordion/index.js +3 -28
  2. package/dist/accordion/index.js.map +1 -1
  3. package/dist/accordion/index.mjs +3 -28
  4. package/dist/accordion/index.mjs.map +1 -1
  5. package/dist/alert/index.js +53 -98
  6. package/dist/alert/index.js.map +1 -1
  7. package/dist/alert/index.mjs +53 -98
  8. package/dist/alert/index.mjs.map +1 -1
  9. package/dist/appLayout/index.d.mts +2 -0
  10. package/dist/appLayout/index.d.ts +2 -0
  11. package/dist/appLayout/index.js +263 -409
  12. package/dist/appLayout/index.js.map +1 -1
  13. package/dist/appLayout/index.mjs +263 -409
  14. package/dist/appLayout/index.mjs.map +1 -1
  15. package/dist/appMenubar/index.js +15 -20
  16. package/dist/appMenubar/index.js.map +1 -1
  17. package/dist/appMenubar/index.mjs +15 -20
  18. package/dist/appMenubar/index.mjs.map +1 -1
  19. package/dist/appTabs/index.js +28 -37
  20. package/dist/appTabs/index.js.map +1 -1
  21. package/dist/appTabs/index.mjs +28 -37
  22. package/dist/appTabs/index.mjs.map +1 -1
  23. package/dist/appTopbar/index.js +125 -173
  24. package/dist/appTopbar/index.js.map +1 -1
  25. package/dist/appTopbar/index.mjs +125 -173
  26. package/dist/appTopbar/index.mjs.map +1 -1
  27. package/dist/avatar/index.js.map +1 -1
  28. package/dist/avatar/index.mjs.map +1 -1
  29. package/dist/backToTop/index.js +50 -82
  30. package/dist/backToTop/index.js.map +1 -1
  31. package/dist/backToTop/index.mjs +50 -82
  32. package/dist/backToTop/index.mjs.map +1 -1
  33. package/dist/badge/index.d.mts +1 -1
  34. package/dist/badge/index.d.ts +1 -1
  35. package/dist/badge/index.js +2 -18
  36. package/dist/badge/index.js.map +1 -1
  37. package/dist/badge/index.mjs +2 -18
  38. package/dist/badge/index.mjs.map +1 -1
  39. package/dist/blocks/auth/index.js +202 -468
  40. package/dist/blocks/auth/index.mjs +96 -280
  41. package/dist/blocks/feedback/index.js +214 -375
  42. package/dist/blocks/feedback/index.mjs +12 -25
  43. package/dist/blocks/index.js +604 -1122
  44. package/dist/blocks/index.mjs +132 -291
  45. package/dist/blocks/misc/index.js +136 -251
  46. package/dist/blocks/misc/index.mjs +29 -54
  47. package/dist/blocks/pricing/index.js +220 -397
  48. package/dist/blocks/pricing/index.mjs +63 -134
  49. package/dist/breadcrumb/index.js +1 -5
  50. package/dist/breadcrumb/index.js.map +1 -1
  51. package/dist/breadcrumb/index.mjs +1 -5
  52. package/dist/breadcrumb/index.mjs.map +1 -1
  53. package/dist/button/index.js +50 -82
  54. package/dist/button/index.js.map +1 -1
  55. package/dist/button/index.mjs +50 -82
  56. package/dist/button/index.mjs.map +1 -1
  57. package/dist/calendar/index.js +50 -82
  58. package/dist/calendar/index.js.map +1 -1
  59. package/dist/calendar/index.mjs +50 -82
  60. package/dist/calendar/index.mjs.map +1 -1
  61. package/dist/card/index.js +7 -35
  62. package/dist/card/index.js.map +1 -1
  63. package/dist/card/index.mjs +7 -35
  64. package/dist/card/index.mjs.map +1 -1
  65. package/dist/carousel/index.js +15 -27
  66. package/dist/carousel/index.js.map +1 -1
  67. package/dist/carousel/index.mjs +15 -27
  68. package/dist/carousel/index.mjs.map +1 -1
  69. package/dist/checkbox/index.js +2 -13
  70. package/dist/checkbox/index.js.map +1 -1
  71. package/dist/checkbox/index.mjs +2 -13
  72. package/dist/checkbox/index.mjs.map +1 -1
  73. package/dist/chip/index.js +2 -16
  74. package/dist/chip/index.js.map +1 -1
  75. package/dist/chip/index.mjs +2 -16
  76. package/dist/chip/index.mjs.map +1 -1
  77. package/dist/{chunk-WUMDFBEK.mjs → chunk-3CHFVHTW.mjs} +43 -54
  78. package/dist/{chunk-2LUXOXAL.mjs → chunk-5SQBJRWE.mjs} +3 -9
  79. package/dist/{chunk-C2UOOH4X.mjs → chunk-B53SP2WZ.mjs} +3 -17
  80. package/dist/chunk-GHGWQVTM.mjs +150 -0
  81. package/dist/{chunk-5S5DR7KF.mjs → chunk-I23ONEDJ.mjs} +2 -10
  82. package/dist/{chunk-JFWD2ICY.mjs → chunk-JT7R3L5O.mjs} +54 -62
  83. package/dist/{chunk-6SJUUJOV.mjs → chunk-KDGJZPWK.mjs} +295 -574
  84. package/dist/{chunk-AWJSHOYU.mjs → chunk-KSJGXQTE.mjs} +1 -1
  85. package/dist/{chunk-NMW4GM4G.mjs → chunk-SE2JMXYG.mjs} +104 -144
  86. package/dist/{chunk-GBLWUEYN.mjs → chunk-ULRL4WI6.mjs} +176 -256
  87. package/dist/{chunk-IFWYR5W2.mjs → chunk-VUELRPUL.mjs} +57 -117
  88. package/dist/{chunk-WL7C2A5D.mjs → chunk-WQR4XZGL.mjs} +8 -15
  89. package/dist/codeBlock/index.js +50 -82
  90. package/dist/codeBlock/index.js.map +1 -1
  91. package/dist/codeBlock/index.mjs +50 -82
  92. package/dist/codeBlock/index.mjs.map +1 -1
  93. package/dist/colorPicker/index.js +21 -33
  94. package/dist/colorPicker/index.js.map +1 -1
  95. package/dist/colorPicker/index.mjs +22 -37
  96. package/dist/colorPicker/index.mjs.map +1 -1
  97. package/dist/combobox/index.d.mts +1 -1
  98. package/dist/combobox/index.d.ts +1 -1
  99. package/dist/combobox/index.js +141 -223
  100. package/dist/combobox/index.js.map +1 -1
  101. package/dist/combobox/index.mjs +141 -223
  102. package/dist/combobox/index.mjs.map +1 -1
  103. package/dist/command/index.d.mts +1 -1
  104. package/dist/command/index.d.ts +1 -1
  105. package/dist/command/index.js +129 -212
  106. package/dist/command/index.js.map +1 -1
  107. package/dist/command/index.mjs +129 -212
  108. package/dist/command/index.mjs.map +1 -1
  109. package/dist/dataTable/index.js +254 -394
  110. package/dist/dataTable/index.js.map +1 -1
  111. package/dist/dataTable/index.mjs +254 -394
  112. package/dist/dataTable/index.mjs.map +1 -1
  113. package/dist/datePicker/index.js +64 -105
  114. package/dist/datePicker/index.js.map +1 -1
  115. package/dist/datePicker/index.mjs +64 -105
  116. package/dist/datePicker/index.mjs.map +1 -1
  117. package/dist/destroyableCard/index.js +8 -39
  118. package/dist/destroyableCard/index.js.map +1 -1
  119. package/dist/destroyableCard/index.mjs +8 -39
  120. package/dist/destroyableCard/index.mjs.map +1 -1
  121. package/dist/dialog/index.js +70 -122
  122. package/dist/dialog/index.js.map +1 -1
  123. package/dist/dialog/index.mjs +70 -122
  124. package/dist/dialog/index.mjs.map +1 -1
  125. package/dist/docsLayout/index.js +169 -358
  126. package/dist/docsLayout/index.js.map +1 -1
  127. package/dist/docsLayout/index.mjs +169 -358
  128. package/dist/docsLayout/index.mjs.map +1 -1
  129. package/dist/docsSidebar/index.js +9 -16
  130. package/dist/docsSidebar/index.js.map +1 -1
  131. package/dist/docsSidebar/index.mjs +9 -16
  132. package/dist/docsSidebar/index.mjs.map +1 -1
  133. package/dist/dropdownMenu/index.js +124 -164
  134. package/dist/dropdownMenu/index.js.map +1 -1
  135. package/dist/dropdownMenu/index.mjs +124 -164
  136. package/dist/dropdownMenu/index.mjs.map +1 -1
  137. package/dist/elements/index.d.mts +3 -3
  138. package/dist/elements/index.d.ts +3 -3
  139. package/dist/elements/index.js +841 -1505
  140. package/dist/elements/index.mjs +381 -718
  141. package/dist/fileDropzone/index.js +60 -159
  142. package/dist/fileDropzone/index.js.map +1 -1
  143. package/dist/fileDropzone/index.mjs +60 -159
  144. package/dist/fileDropzone/index.mjs.map +1 -1
  145. package/dist/glow/index.js +4 -16
  146. package/dist/glow/index.js.map +1 -1
  147. package/dist/glow/index.mjs +4 -16
  148. package/dist/glow/index.mjs.map +1 -1
  149. package/dist/hooks/index.d.mts +1 -5
  150. package/dist/hooks/index.d.ts +1 -5
  151. package/dist/hooks/index.js +11 -24
  152. package/dist/hooks/index.mjs +2 -2
  153. package/dist/{index-B0aJcA6d.d.ts → index-BgNycocQ.d.mts} +2 -2
  154. package/dist/{index-B0aJcA6d.d.mts → index-BgNycocQ.d.ts} +2 -2
  155. package/dist/index.css +1 -2
  156. package/dist/index.d.mts +6 -8
  157. package/dist/index.d.ts +6 -8
  158. package/dist/index.js +1194 -2170
  159. package/dist/index.mjs +1195 -2174
  160. package/dist/input/index.js +20 -29
  161. package/dist/input/index.js.map +1 -1
  162. package/dist/input/index.mjs +20 -29
  163. package/dist/input/index.mjs.map +1 -1
  164. package/dist/interfaceSettings/index.js +122 -163
  165. package/dist/interfaceSettings/index.js.map +1 -1
  166. package/dist/interfaceSettings/index.mjs +122 -163
  167. package/dist/interfaceSettings/index.mjs.map +1 -1
  168. package/dist/label/index.js +19 -26
  169. package/dist/label/index.js.map +1 -1
  170. package/dist/label/index.mjs +19 -26
  171. package/dist/label/index.mjs.map +1 -1
  172. package/dist/layout/index.d.mts +2 -0
  173. package/dist/layout/index.d.ts +2 -0
  174. package/dist/layout/index.js +434 -790
  175. package/dist/layout/index.mjs +143 -243
  176. package/dist/loading/index.js +30 -53
  177. package/dist/loading/index.js.map +1 -1
  178. package/dist/loading/index.mjs +30 -53
  179. package/dist/loading/index.mjs.map +1 -1
  180. package/dist/logos/index.js +66 -191
  181. package/dist/logos/index.js.map +1 -1
  182. package/dist/logos/index.mjs +66 -191
  183. package/dist/logos/index.mjs.map +1 -1
  184. package/dist/navbar/index.js +1 -4
  185. package/dist/navbar/index.js.map +1 -1
  186. package/dist/navbar/index.mjs +1 -4
  187. package/dist/navbar/index.mjs.map +1 -1
  188. package/dist/navigationMenu/index.js +14 -22
  189. package/dist/navigationMenu/index.js.map +1 -1
  190. package/dist/navigationMenu/index.mjs +14 -22
  191. package/dist/navigationMenu/index.mjs.map +1 -1
  192. package/dist/pagination/index.js +1 -5
  193. package/dist/pagination/index.js.map +1 -1
  194. package/dist/pagination/index.mjs +1 -5
  195. package/dist/pagination/index.mjs.map +1 -1
  196. package/dist/passwordInput/index.js +36 -65
  197. package/dist/passwordInput/index.js.map +1 -1
  198. package/dist/passwordInput/index.mjs +36 -65
  199. package/dist/passwordInput/index.mjs.map +1 -1
  200. package/dist/phoneInput/index.js +20 -29
  201. package/dist/phoneInput/index.js.map +1 -1
  202. package/dist/phoneInput/index.mjs +20 -29
  203. package/dist/phoneInput/index.mjs.map +1 -1
  204. package/dist/pinInput/index.js +14 -16
  205. package/dist/pinInput/index.js.map +1 -1
  206. package/dist/pinInput/index.mjs +14 -16
  207. package/dist/pinInput/index.mjs.map +1 -1
  208. package/dist/popover/index.js +14 -24
  209. package/dist/popover/index.js.map +1 -1
  210. package/dist/popover/index.mjs +14 -24
  211. package/dist/popover/index.mjs.map +1 -1
  212. package/dist/progress/index.js +19 -26
  213. package/dist/progress/index.js.map +1 -1
  214. package/dist/progress/index.mjs +19 -26
  215. package/dist/progress/index.mjs.map +1 -1
  216. package/dist/progressCircle/index.js +67 -71
  217. package/dist/progressCircle/index.js.map +1 -1
  218. package/dist/progressCircle/index.mjs +67 -71
  219. package/dist/progressCircle/index.mjs.map +1 -1
  220. package/dist/radio/index.js +122 -163
  221. package/dist/radio/index.js.map +1 -1
  222. package/dist/radio/index.mjs +122 -163
  223. package/dist/radio/index.mjs.map +1 -1
  224. package/dist/scrollArea/index.js.map +1 -1
  225. package/dist/scrollArea/index.mjs.map +1 -1
  226. package/dist/scrollIndicator/index.js +1 -4
  227. package/dist/scrollIndicator/index.js.map +1 -1
  228. package/dist/scrollIndicator/index.mjs +1 -4
  229. package/dist/scrollIndicator/index.mjs.map +1 -1
  230. package/dist/select/index.js +20 -29
  231. package/dist/select/index.js.map +1 -1
  232. package/dist/select/index.mjs +20 -29
  233. package/dist/select/index.mjs.map +1 -1
  234. package/dist/separator/index.js.map +1 -1
  235. package/dist/separator/index.mjs.map +1 -1
  236. package/dist/sheet/index.js +42 -53
  237. package/dist/sheet/index.js.map +1 -1
  238. package/dist/sheet/index.mjs +42 -53
  239. package/dist/sheet/index.mjs.map +1 -1
  240. package/dist/sidebar/index.js +66 -133
  241. package/dist/sidebar/index.js.map +1 -1
  242. package/dist/sidebar/index.mjs +66 -133
  243. package/dist/sidebar/index.mjs.map +1 -1
  244. package/dist/signature/index.js +19 -26
  245. package/dist/signature/index.js.map +1 -1
  246. package/dist/signature/index.mjs +19 -26
  247. package/dist/signature/index.mjs.map +1 -1
  248. package/dist/simpleTable/index.js +50 -81
  249. package/dist/simpleTable/index.js.map +1 -1
  250. package/dist/simpleTable/index.mjs +50 -81
  251. package/dist/simpleTable/index.mjs.map +1 -1
  252. package/dist/skeleton/index.js.map +1 -1
  253. package/dist/skeleton/index.mjs.map +1 -1
  254. package/dist/slider/index.js.map +1 -1
  255. package/dist/slider/index.mjs.map +1 -1
  256. package/dist/sonner/index.js.map +1 -1
  257. package/dist/sonner/index.mjs.map +1 -1
  258. package/dist/sortButton/index.js +50 -82
  259. package/dist/sortButton/index.js.map +1 -1
  260. package/dist/sortButton/index.mjs +50 -82
  261. package/dist/sortButton/index.mjs.map +1 -1
  262. package/dist/splitButton/index.js +214 -294
  263. package/dist/splitButton/index.js.map +1 -1
  264. package/dist/splitButton/index.mjs +214 -294
  265. package/dist/splitButton/index.mjs.map +1 -1
  266. package/dist/stats/index.js +7 -35
  267. package/dist/stats/index.js.map +1 -1
  268. package/dist/stats/index.mjs +7 -35
  269. package/dist/stats/index.mjs.map +1 -1
  270. package/dist/switch/index.js +24 -34
  271. package/dist/switch/index.js.map +1 -1
  272. package/dist/switch/index.mjs +24 -34
  273. package/dist/switch/index.mjs.map +1 -1
  274. package/dist/table/index.js +27 -29
  275. package/dist/table/index.js.map +1 -1
  276. package/dist/table/index.mjs +27 -29
  277. package/dist/table/index.mjs.map +1 -1
  278. package/dist/tabs/index.js +54 -76
  279. package/dist/tabs/index.js.map +1 -1
  280. package/dist/tabs/index.mjs +54 -76
  281. package/dist/tabs/index.mjs.map +1 -1
  282. package/dist/textarea/index.js +21 -38
  283. package/dist/textarea/index.js.map +1 -1
  284. package/dist/textarea/index.mjs +21 -38
  285. package/dist/textarea/index.mjs.map +1 -1
  286. package/dist/toast/index.js +2 -10
  287. package/dist/toast/index.js.map +1 -1
  288. package/dist/toast/index.mjs +2 -10
  289. package/dist/toast/index.mjs.map +1 -1
  290. package/dist/toaster/index.js +3 -16
  291. package/dist/toaster/index.js.map +1 -1
  292. package/dist/toaster/index.mjs +3 -16
  293. package/dist/toaster/index.mjs.map +1 -1
  294. package/dist/tooltip/index.js +19 -26
  295. package/dist/tooltip/index.js.map +1 -1
  296. package/dist/tooltip/index.mjs +19 -26
  297. package/dist/tooltip/index.mjs.map +1 -1
  298. package/package.json +12 -12
  299. package/dist/chunk-JP2N5WKD.mjs +0 -190
package/dist/index.js CHANGED
@@ -289,13 +289,7 @@ var calculateLuminance = (color) => {
289
289
 
290
290
  // elements/card/Card.tsx
291
291
  var Card = React.forwardRef(
292
- ({
293
- className,
294
- variant = "default",
295
- clickable = false,
296
- asContainer = false,
297
- ...props
298
- }, ref) => {
292
+ ({ className, variant = "default", clickable = false, asContainer = false, ...props }, ref) => {
299
293
  let variantStyles = {
300
294
  default: cn(
301
295
  "hawa-rounded hawa-border hawa-bg-card hawa-text-card-foreground hawa-shadow-sm",
@@ -307,14 +301,7 @@ var Card = React.forwardRef(
307
301
  clickable && "hawa-cursor-pointer active:hawa-translate-x-0.5 active:hawa-translate-y-0.5 active:hawa-shadow-color-primary-active active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"
308
302
  )
309
303
  };
310
- return /* @__PURE__ */ React.createElement(
311
- "div",
312
- {
313
- ref,
314
- className: cn(!asContainer && variantStyles[variant], className),
315
- ...props
316
- }
317
- );
304
+ return /* @__PURE__ */ React.createElement("div", { ref, className: cn(!asContainer && variantStyles[variant], className), ...props });
318
305
  }
319
306
  );
320
307
  var CardHeader = React.forwardRef(
@@ -322,30 +309,15 @@ var CardHeader = React.forwardRef(
322
309
  "div",
323
310
  {
324
311
  ref,
325
- className: cn(
326
- "hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6",
327
- className
328
- ),
312
+ className: cn("hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6", className),
329
313
  ...props
330
314
  }
331
315
  ), props.actions && /* @__PURE__ */ React.createElement("div", { className: "hawa-p-6" }, props.actions))
332
316
  );
333
- var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
334
- "h3",
335
- {
336
- ref,
337
- className: cn("hawa-text-2xl hawa-font-semibold", className),
338
- ...props
339
- }
340
- ));
341
- var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
342
- "p",
343
- {
344
- ref,
345
- className: cn("hawa-text-sm hawa-text-muted-foreground", className),
346
- ...props
347
- }
348
- ));
317
+ var CardTitle = React.forwardRef(
318
+ ({ className, ...props }, ref) => /* @__PURE__ */ React.createElement("h3", { ref, className: cn("hawa-text-2xl hawa-font-semibold", className), ...props })
319
+ );
320
+ var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement("p", { ref, className: cn("hawa-text-sm hawa-text-muted-foreground", className), ...props }));
349
321
  var CardContent = React.forwardRef(
350
322
  ({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React.createElement(
351
323
  "div",
@@ -411,57 +383,42 @@ var Loading = ({
411
383
  };
412
384
  switch (design.split("-")[0]) {
413
385
  case "dots":
414
- return /* @__PURE__ */ import_react.default.createElement(
386
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: cn("hawa-flex hawa-flex-row hawa-gap-2", classNames == null ? void 0 : classNames.container) }, /* @__PURE__ */ import_react.default.createElement(
415
387
  "div",
416
388
  {
417
389
  className: cn(
418
- "hawa-flex hawa-flex-row hawa-gap-2",
419
- classNames == null ? void 0 : classNames.container
390
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-100 hawa-repeat-infinite",
391
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
392
+ animationStyles[design.split("-")[1]],
393
+ color ? color : "hawa-bg-primary"
420
394
  )
421
- },
422
- /* @__PURE__ */ import_react.default.createElement(
423
- "div",
424
- {
425
- className: cn(
426
- "hawa-animate-bounce hawa-rounded-full hawa-delay-100 hawa-repeat-infinite",
427
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
428
- animationStyles[design.split("-")[1]],
429
- color ? color : "hawa-bg-primary"
430
- )
431
- }
432
- ),
433
- /* @__PURE__ */ import_react.default.createElement(
434
- "div",
435
- {
436
- className: cn(
437
- "hawa-animate-bounce hawa-rounded-full hawa-delay-200 hawa-repeat-infinite",
438
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
439
- animationStyles[design.split("-")[1]],
440
- color ? color : "hawa-bg-primary"
441
- )
442
- }
443
- ),
444
- /* @__PURE__ */ import_react.default.createElement(
445
- "div",
446
- {
447
- className: cn(
448
- "hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
449
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
450
- animationStyles[design.split("-")[1]],
451
- color ? color : "hawa-bg-primary"
452
- )
453
- }
454
- )
455
- );
395
+ }
396
+ ), /* @__PURE__ */ import_react.default.createElement(
397
+ "div",
398
+ {
399
+ className: cn(
400
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-200 hawa-repeat-infinite",
401
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
402
+ animationStyles[design.split("-")[1]],
403
+ color ? color : "hawa-bg-primary"
404
+ )
405
+ }
406
+ ), /* @__PURE__ */ import_react.default.createElement(
407
+ "div",
408
+ {
409
+ className: cn(
410
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
411
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles2[size],
412
+ animationStyles[design.split("-")[1]],
413
+ color ? color : "hawa-bg-primary"
414
+ )
415
+ }
416
+ ));
456
417
  case "square":
457
418
  return /* @__PURE__ */ import_react.default.createElement(
458
419
  "svg",
459
420
  {
460
- className: cn(
461
- "squircle-container",
462
- sizeStyles2[size],
463
- classNames == null ? void 0 : classNames.container
464
- ),
421
+ className: cn("squircle-container", sizeStyles2[size], classNames == null ? void 0 : classNames.container),
465
422
  viewBox: "0 0 35 35",
466
423
  height: "35",
467
424
  width: "35"
@@ -502,11 +459,7 @@ var Loading = ({
502
459
  height: "37",
503
460
  width: "37",
504
461
  preserveAspectRatio: "xMidYMid meet",
505
- className: cn(
506
- "squircle-container",
507
- sizeStyles2[size],
508
- classNames == null ? void 0 : classNames.container
509
- )
462
+ className: cn("squircle-container", sizeStyles2[size], classNames == null ? void 0 : classNames.container)
510
463
  },
511
464
  /* @__PURE__ */ import_react.default.createElement(
512
465
  "path",
@@ -549,11 +502,7 @@ var Loading = ({
549
502
  viewBox: "0 0 40 40",
550
503
  height: "40",
551
504
  width: "40",
552
- className: cn(
553
- "circle-container",
554
- sizeStyles2[size],
555
- classNames == null ? void 0 : classNames.container
556
- )
505
+ className: cn("circle-container", sizeStyles2[size], classNames == null ? void 0 : classNames.container)
557
506
  },
558
507
  /* @__PURE__ */ import_react.default.createElement(
559
508
  "circle",
@@ -634,38 +583,31 @@ var Tooltip = ({
634
583
  delayDuration = 300,
635
584
  ...props
636
585
  }) => {
637
- return /* @__PURE__ */ import_react2.default.createElement(
638
- TooltipPrimitive.TooltipProvider,
586
+ return /* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.TooltipProvider, { delayDuration, ...providerProps }, /* @__PURE__ */ import_react2.default.createElement(
587
+ TooltipPrimitive.Root,
639
588
  {
640
- delayDuration,
641
- ...providerProps
589
+ open: !disabled && open,
590
+ defaultOpen,
591
+ onOpenChange,
592
+ ...props
642
593
  },
594
+ /* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
643
595
  /* @__PURE__ */ import_react2.default.createElement(
644
- TooltipPrimitive.Root,
596
+ TooltipContent,
645
597
  {
646
- open: !disabled && open,
647
- defaultOpen,
648
- onOpenChange,
649
- ...props
598
+ size,
599
+ side,
600
+ align: "center",
601
+ ...contentProps,
602
+ style: {
603
+ ...contentProps == null ? void 0 : contentProps.style,
604
+ maxWidth: "var(--radix-tooltip-content-available-width)",
605
+ maxHeight: "var(--radix-tooltip-content-available-height)"
606
+ }
650
607
  },
651
- /* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
652
- /* @__PURE__ */ import_react2.default.createElement(
653
- TooltipContent,
654
- {
655
- size,
656
- side,
657
- align: "center",
658
- ...contentProps,
659
- style: {
660
- ...contentProps == null ? void 0 : contentProps.style,
661
- maxWidth: "var(--radix-tooltip-content-available-width)",
662
- maxHeight: "var(--radix-tooltip-content-available-height)"
663
- }
664
- },
665
- content
666
- )
608
+ content
667
609
  )
668
- );
610
+ ));
669
611
  };
670
612
 
671
613
  // elements/skeleton/Skeleton.tsx
@@ -878,17 +820,11 @@ var DropdownMenuSeparator = React5.forwardRef(({ className, ...props }, ref) =>
878
820
  }
879
821
  ));
880
822
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
881
- var DropdownMenuShortcut = ({
882
- className,
883
- ...props
884
- }) => {
823
+ var DropdownMenuShortcut = ({ className, ...props }) => {
885
824
  return /* @__PURE__ */ React5.createElement(
886
825
  "span",
887
826
  {
888
- className: cn(
889
- "hawa-text-xs hawa-tracking-widest hawa-opacity-60",
890
- className
891
- ),
827
+ className: cn("hawa-text-xs hawa-tracking-widest hawa-opacity-60", className),
892
828
  ...props
893
829
  }
894
830
  );
@@ -925,178 +861,144 @@ var DropdownMenu = ({
925
861
  default: "hawa-px-2 hawa-py-3 ",
926
862
  sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
927
863
  };
928
- let [values, setValues] = React5.useState(
929
- items.map((item) => item.currentOption)
930
- );
931
- return /* @__PURE__ */ React5.createElement(
932
- DropdownMenuRoot,
864
+ let [values, setValues] = React5.useState(items.map((item) => item.currentOption));
865
+ return /* @__PURE__ */ React5.createElement(DropdownMenuRoot, { onOpenChange, open, modal: false, dir: direction }, /* @__PURE__ */ React5.createElement(
866
+ DropdownMenuTrigger,
933
867
  {
934
- onOpenChange,
935
- open,
936
- modal: false,
937
- dir: direction
868
+ asChild: true,
869
+ className: cn(classNames == null ? void 0 : classNames.trigger, triggerClassname),
870
+ ...triggerProps
938
871
  },
939
- /* @__PURE__ */ React5.createElement(
940
- DropdownMenuTrigger,
941
- {
942
- asChild: true,
943
- className: cn(classNames == null ? void 0 : classNames.trigger, triggerClassname),
944
- ...triggerProps
945
- },
946
- trigger
947
- ),
948
- /* @__PURE__ */ React5.createElement(import_react4.Portal, null, /* @__PURE__ */ React5.createElement(
949
- DropdownMenuContent,
950
- {
951
- side,
952
- sideOffset,
953
- align,
954
- alignOffset,
955
- className: cn(
956
- className,
957
- classNames == null ? void 0 : classNames.content,
958
- widthStyles[width],
959
- "hawa-flex hawa-flex-col hawa-gap-1 hawa-overflow-y-auto"
960
- ),
961
- style: {
962
- maxHeight: "var(--radix-dropdown-menu-content-available-height)"
963
- },
964
- ...contentProps
872
+ trigger
873
+ ), /* @__PURE__ */ React5.createElement(import_react4.Portal, null, /* @__PURE__ */ React5.createElement(
874
+ DropdownMenuContent,
875
+ {
876
+ side,
877
+ sideOffset,
878
+ align,
879
+ alignOffset,
880
+ className: cn(
881
+ className,
882
+ classNames == null ? void 0 : classNames.content,
883
+ widthStyles[width],
884
+ "hawa-flex hawa-flex-col hawa-gap-1 hawa-overflow-y-auto"
885
+ ),
886
+ style: {
887
+ maxHeight: "var(--radix-dropdown-menu-content-available-height)"
965
888
  },
966
- header && header,
967
- items && items.map((item, index) => {
968
- var _a;
969
- const ItemLinkComponent = item.slug ? LinkComponent : "a";
970
- if (item.itemType === "separator") {
971
- return /* @__PURE__ */ React5.createElement(
972
- DropdownMenuSeparator,
973
- {
974
- key: index,
975
- className: classNames == null ? void 0 : classNames.separator
976
- }
977
- );
978
- } else if (item.itemType === "label") {
979
- return /* @__PURE__ */ React5.createElement(DropdownMenuLabel, { key: index }, item.label);
980
- } else if (item.itemType === "radio") {
981
- let dd = item.currentOption;
982
- return /* @__PURE__ */ React5.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React5.createElement(
983
- DropdownMenuSubTrigger,
984
- {
985
- dir: direction,
986
- className: cn(sizeStyles2[size])
987
- },
988
- item.icon && item.icon,
989
- item.label && item.label
990
- ), /* @__PURE__ */ React5.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React5.createElement(
991
- DropdownMenuRadioGroup,
992
- {
993
- value: values[index],
994
- onValueChange: (e) => {
995
- let newValues = [...values];
996
- newValues[index] = e;
997
- setValues(newValues);
998
- console.log("changing to ", e);
999
- if (item.onOptionChange) {
1000
- item.onOptionChange(e);
1001
- }
889
+ ...contentProps
890
+ },
891
+ header && header,
892
+ items && items.map((item, index) => {
893
+ var _a;
894
+ const ItemLinkComponent = item.slug ? LinkComponent : "a";
895
+ if (item.itemType === "separator") {
896
+ return /* @__PURE__ */ React5.createElement(DropdownMenuSeparator, { key: index, className: classNames == null ? void 0 : classNames.separator });
897
+ } else if (item.itemType === "label") {
898
+ return /* @__PURE__ */ React5.createElement(DropdownMenuLabel, { key: index }, item.label);
899
+ } else if (item.itemType === "radio") {
900
+ let dd = item.currentOption;
901
+ return /* @__PURE__ */ React5.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React5.createElement(DropdownMenuSubTrigger, { dir: direction, className: cn(sizeStyles2[size]) }, item.icon && item.icon, item.label && item.label), /* @__PURE__ */ React5.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React5.createElement(
902
+ DropdownMenuRadioGroup,
903
+ {
904
+ value: values[index],
905
+ onValueChange: (e) => {
906
+ let newValues = [...values];
907
+ newValues[index] = e;
908
+ setValues(newValues);
909
+ console.log("changing to ", e);
910
+ if (item.onOptionChange) {
911
+ item.onOptionChange(e);
1002
912
  }
1003
- },
1004
- (_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React5.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
1005
- )));
1006
- } else if (item.itemType === "custom") {
1007
- return /* @__PURE__ */ React5.createElement("div", { key: index }, item.content);
1008
- } else {
1009
- return item.subitems ? /* @__PURE__ */ React5.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React5.createElement(
1010
- DropdownMenuSubTrigger,
1011
- {
1012
- dir: direction,
1013
- className: cn(sizeStyles2[size])
1014
- },
1015
- item.icon && item.icon,
1016
- item.label && item.label
1017
- ), /* @__PURE__ */ React5.createElement(import_react4.Portal, null, /* @__PURE__ */ React5.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
1018
- const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
1019
- return /* @__PURE__ */ React5.createElement(
1020
- DropdownMenuItem,
1021
- {
1022
- key: subIndex,
1023
- LinkComponent: SubitemLinkComponent,
1024
- slug: subitem.slug,
1025
- disabled: subitem.disabled,
1026
- className: cn(
1027
- sizeStyles2[size],
1028
- !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent"
1029
- ),
1030
- onMouseDown: (event) => {
1031
- if (event.button === 1 || event.button === 0 && event.ctrlKey) {
1032
- event.preventDefault();
1033
- if (subitem.onMiddleClick) {
1034
- subitem.onMiddleClick(item.value);
1035
- }
1036
- }
1037
- },
1038
- onSelect: () => {
1039
- subitem.action && subitem.action();
1040
- if (onItemSelect) {
1041
- onItemSelect(subitem.value);
1042
- }
1043
- }
1044
- },
1045
- subitem.icon && subitem.icon,
1046
- subitem.label && subitem.label
1047
- );
1048
- })))) : /* @__PURE__ */ React5.createElement(
913
+ }
914
+ },
915
+ (_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React5.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
916
+ )));
917
+ } else if (item.itemType === "custom") {
918
+ return /* @__PURE__ */ React5.createElement("div", { key: index }, item.content);
919
+ } else {
920
+ return item.subitems ? /* @__PURE__ */ React5.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React5.createElement(DropdownMenuSubTrigger, { dir: direction, className: cn(sizeStyles2[size]) }, item.icon && item.icon, item.label && item.label), /* @__PURE__ */ React5.createElement(import_react4.Portal, null, /* @__PURE__ */ React5.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
921
+ const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
922
+ return /* @__PURE__ */ React5.createElement(
1049
923
  DropdownMenuItem,
1050
924
  {
1051
- LinkComponent: ItemLinkComponent,
1052
- slug: item.slug,
1053
- key: index,
1054
- disabled: item.disabled,
925
+ key: subIndex,
926
+ LinkComponent: SubitemLinkComponent,
927
+ slug: subitem.slug,
928
+ disabled: subitem.disabled,
929
+ className: cn(
930
+ sizeStyles2[size],
931
+ !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent"
932
+ ),
1055
933
  onMouseDown: (event) => {
1056
934
  if (event.button === 1 || event.button === 0 && event.ctrlKey) {
1057
935
  event.preventDefault();
1058
- if (item.onMiddleClick) {
1059
- item.onMiddleClick(item.value);
936
+ if (subitem.onMiddleClick) {
937
+ subitem.onMiddleClick(item.value);
1060
938
  }
1061
939
  }
1062
940
  },
1063
- onClick: (event) => {
1064
- if (item.onClick) {
1065
- item.onClick(item.value);
941
+ onSelect: () => {
942
+ subitem.action && subitem.action();
943
+ if (onItemSelect) {
944
+ onItemSelect(subitem.value);
1066
945
  }
1067
- },
1068
- onSelect: (e) => {
1069
- if (item.presist) {
1070
- e.preventDefault();
946
+ }
947
+ },
948
+ subitem.icon && subitem.icon,
949
+ subitem.label && subitem.label
950
+ );
951
+ })))) : /* @__PURE__ */ React5.createElement(
952
+ DropdownMenuItem,
953
+ {
954
+ LinkComponent: ItemLinkComponent,
955
+ slug: item.slug,
956
+ key: index,
957
+ disabled: item.disabled,
958
+ onMouseDown: (event) => {
959
+ if (event.button === 1 || event.button === 0 && event.ctrlKey) {
960
+ event.preventDefault();
961
+ if (item.onMiddleClick) {
962
+ item.onMiddleClick(item.value);
1071
963
  }
1072
- if (item.action) {
1073
- item.action();
1074
- if (onItemSelect) {
1075
- onItemSelect(item.value);
1076
- }
1077
- } else {
1078
- if (onItemSelect) {
1079
- onItemSelect(item.value);
1080
- }
964
+ }
965
+ },
966
+ onClick: (event) => {
967
+ if (item.onClick) {
968
+ item.onClick(item.value);
969
+ }
970
+ },
971
+ onSelect: (e) => {
972
+ if (item.presist) {
973
+ e.preventDefault();
974
+ }
975
+ if (item.action) {
976
+ item.action();
977
+ if (onItemSelect) {
978
+ onItemSelect(item.value);
1081
979
  }
1082
- },
1083
- end: item.end,
1084
- shortcut: item.shortcut,
1085
- badged: item.badged,
1086
- className: cn(
1087
- sizeStyles2[size],
1088
- !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
1089
- item.presist && "focus:hawa-bg-transparent",
1090
- classNames == null ? void 0 : classNames.item
1091
- )
980
+ } else {
981
+ if (onItemSelect) {
982
+ onItemSelect(item.value);
983
+ }
984
+ }
1092
985
  },
1093
- item.icon && item.icon,
1094
- item.label && item.label
1095
- );
1096
- }
1097
- })
1098
- ))
1099
- );
986
+ end: item.end,
987
+ shortcut: item.shortcut,
988
+ badged: item.badged,
989
+ className: cn(
990
+ sizeStyles2[size],
991
+ !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
992
+ item.presist && "focus:hawa-bg-transparent",
993
+ classNames == null ? void 0 : classNames.item
994
+ )
995
+ },
996
+ item.icon && item.icon,
997
+ item.label && item.label
998
+ );
999
+ }
1000
+ })
1001
+ )));
1100
1002
  };
1101
1003
  var DropdownMenuRadio = (props) => {
1102
1004
  const ariaLabel = props.label ? `${props.label} radio group` : void 0;
@@ -1139,16 +1041,7 @@ var AccordionPrimitive3 = __toESM(require("@radix-ui/react-accordion"));
1139
1041
  // elements/chip/Chip.tsx
1140
1042
  var import_react5 = __toESM(require("react"));
1141
1043
  var Chip = import_react5.default.forwardRef(
1142
- ({
1143
- label,
1144
- size = "normal",
1145
- icon,
1146
- color,
1147
- radius = "inherit",
1148
- dot,
1149
- dotStatus = "none",
1150
- ...rest
1151
- }, ref) => {
1044
+ ({ label, size = "normal", icon, color, radius = "inherit", dot, dotStatus = "none", ...rest }, ref) => {
1152
1045
  let defaultStyles = "hawa-flex hawa-flex-row hawa-w-fit hawa-gap-1 hawa-items-center hawa-px-2.5 hawa-py-1 hawa-font-bold ";
1153
1046
  let radiusStyles = {
1154
1047
  inherit: " hawa-rounded",
@@ -1195,12 +1088,7 @@ var Chip = import_react5.default.forwardRef(
1195
1088
  rest.className
1196
1089
  )
1197
1090
  },
1198
- dot && /* @__PURE__ */ import_react5.default.createElement(
1199
- "span",
1200
- {
1201
- className: cn(dotStyles[size], dotStatusStyles[dotStatus])
1202
- }
1203
- ),
1091
+ dot && /* @__PURE__ */ import_react5.default.createElement("span", { className: cn(dotStyles[size], dotStatusStyles[dotStatus]) }),
1204
1092
  icon && icon,
1205
1093
  label
1206
1094
  );
@@ -1310,18 +1198,7 @@ var Accordion = React9.forwardRef(
1310
1198
  triggerclassNames
1311
1199
  )
1312
1200
  },
1313
- /* @__PURE__ */ React9.createElement(
1314
- "span",
1315
- {
1316
- className: cn(
1317
- "hawa-flex hawa-flex-row",
1318
- item.chip && "hawa-gap-2"
1319
- )
1320
- },
1321
- item.trigger,
1322
- " ",
1323
- item.chip && /* @__PURE__ */ React9.createElement(Chip, { ...item.chip })
1324
- )
1201
+ /* @__PURE__ */ React9.createElement("span", { className: cn("hawa-flex hawa-flex-row", item.chip && "hawa-gap-2") }, item.trigger, " ", item.chip && /* @__PURE__ */ React9.createElement(Chip, { ...item.chip }))
1325
1202
  ),
1326
1203
  /* @__PURE__ */ React9.createElement(
1327
1204
  AccordionContent,
@@ -1503,22 +1380,13 @@ var Logos = {
1503
1380
  }
1504
1381
  )
1505
1382
  ),
1506
- hawa: (props) => /* @__PURE__ */ import_react6.default.createElement(
1507
- "svg",
1383
+ hawa: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 765 765", ...props }, /* @__PURE__ */ import_react6.default.createElement(
1384
+ "path",
1508
1385
  {
1509
- xmlns: "http://www.w3.org/2000/svg",
1510
- xmlSpace: "preserve",
1511
- viewBox: "0 0 765 765",
1512
- ...props
1513
- },
1514
- /* @__PURE__ */ import_react6.default.createElement(
1515
- "path",
1516
- {
1517
- d: "M382.5 0C171.6 0 0 171.6 0 382.5V765h382.5C593.4 765 765 593.4 765 382.5S593.4 0 382.5 0zM281.6 305.7c98 0 177.7 79.7 177.7 177.7 0 98-79.7 177.7-177.7 177.7s-177.7-79.7-177.7-177.7c0-98 79.7-177.7 177.7-177.7zm246 314.5c23.2-41.6 35.6-88.7 35.6-136.7 0-155.3-126.3-281.6-281.6-281.6-48 0-95.1 12.4-136.8 35.6C194.9 156 285 104 382.5 104c153.6 0 278.6 125 278.6 278.6 0 97.3-52 187.5-133.5 237.6z",
1518
- fill: "currentColor"
1519
- }
1520
- )
1521
- ),
1386
+ d: "M382.5 0C171.6 0 0 171.6 0 382.5V765h382.5C593.4 765 765 593.4 765 382.5S593.4 0 382.5 0zM281.6 305.7c98 0 177.7 79.7 177.7 177.7 0 98-79.7 177.7-177.7 177.7s-177.7-79.7-177.7-177.7c0-98 79.7-177.7 177.7-177.7zm246 314.5c23.2-41.6 35.6-88.7 35.6-136.7 0-155.3-126.3-281.6-281.6-281.6-48 0-95.1 12.4-136.8 35.6C194.9 156 285 104 382.5 104c153.6 0 278.6 125 278.6 278.6 0 97.3-52 187.5-133.5 237.6z",
1387
+ fill: "currentColor"
1388
+ }
1389
+ )),
1522
1390
  sikka: (props) => /* @__PURE__ */ import_react6.default.createElement(
1523
1391
  "svg",
1524
1392
  {
@@ -1587,101 +1455,42 @@ var Logos = {
1587
1455
  d: "M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"
1588
1456
  }
1589
1457
  )),
1590
- instagram: (props) => /* @__PURE__ */ import_react6.default.createElement(
1591
- "svg",
1458
+ instagram: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ import_react6.default.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })),
1459
+ telegram: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "Telegram"), /* @__PURE__ */ import_react6.default.createElement(
1460
+ "path",
1592
1461
  {
1593
- xmlns: "http://www.w3.org/2000/svg",
1594
1462
  fill: "currentColor",
1595
- viewBox: "0 0 16 16",
1596
- ...props
1597
- },
1598
- /* @__PURE__ */ import_react6.default.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })
1599
- ),
1600
- telegram: (props) => /* @__PURE__ */ import_react6.default.createElement(
1601
- "svg",
1463
+ d: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"
1464
+ }
1465
+ )),
1466
+ youtube: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "YouTube"), /* @__PURE__ */ import_react6.default.createElement(
1467
+ "path",
1602
1468
  {
1603
- role: "img",
1604
- viewBox: "0 0 24 24",
1605
- xmlns: "http://www.w3.org/2000/svg",
1606
- ...props
1607
- },
1608
- /* @__PURE__ */ import_react6.default.createElement("title", null, "Telegram"),
1609
- /* @__PURE__ */ import_react6.default.createElement(
1610
- "path",
1611
- {
1612
- fill: "currentColor",
1613
- d: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"
1614
- }
1615
- )
1616
- ),
1617
- youtube: (props) => /* @__PURE__ */ import_react6.default.createElement(
1618
- "svg",
1469
+ fill: "currentColor",
1470
+ d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"
1471
+ }
1472
+ )),
1473
+ tiktok: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "TikTok"), /* @__PURE__ */ import_react6.default.createElement(
1474
+ "path",
1619
1475
  {
1620
- role: "img",
1621
- viewBox: "0 0 24 24",
1622
- xmlns: "http://www.w3.org/2000/svg",
1623
- ...props
1624
- },
1625
- /* @__PURE__ */ import_react6.default.createElement("title", null, "YouTube"),
1626
- /* @__PURE__ */ import_react6.default.createElement(
1627
- "path",
1628
- {
1629
- fill: "currentColor",
1630
- d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"
1631
- }
1632
- )
1633
- ),
1634
- tiktok: (props) => /* @__PURE__ */ import_react6.default.createElement(
1635
- "svg",
1636
- {
1637
- role: "img",
1638
- viewBox: "0 0 24 24",
1639
- xmlns: "http://www.w3.org/2000/svg",
1640
- ...props
1641
- },
1642
- /* @__PURE__ */ import_react6.default.createElement("title", null, "TikTok"),
1643
- /* @__PURE__ */ import_react6.default.createElement(
1644
- "path",
1645
- {
1646
- fill: "currentColor",
1647
- d: "M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"
1648
- }
1649
- )
1650
- ),
1651
- linkedin: (props) => /* @__PURE__ */ import_react6.default.createElement(
1652
- "svg",
1476
+ fill: "currentColor",
1477
+ d: "M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"
1478
+ }
1479
+ )),
1480
+ linkedin: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "LinkedIn"), /* @__PURE__ */ import_react6.default.createElement(
1481
+ "path",
1653
1482
  {
1654
- role: "img",
1655
- viewBox: "0 0 24 24",
1656
- xmlns: "http://www.w3.org/2000/svg",
1657
- ...props
1658
- },
1659
- /* @__PURE__ */ import_react6.default.createElement("title", null, "LinkedIn"),
1660
- /* @__PURE__ */ import_react6.default.createElement(
1661
- "path",
1662
- {
1663
- fill: "currentColor",
1664
- d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
1665
- }
1666
- )
1667
- ),
1668
- behance: (props) => /* @__PURE__ */ import_react6.default.createElement(
1669
- "svg",
1483
+ fill: "currentColor",
1484
+ d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
1485
+ }
1486
+ )),
1487
+ behance: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "Behance"), /* @__PURE__ */ import_react6.default.createElement(
1488
+ "path",
1670
1489
  {
1671
- role: "img",
1672
- viewBox: "0 0 24 24",
1673
- xmlns: "http://www.w3.org/2000/svg",
1674
- ...props
1675
- },
1676
- /* @__PURE__ */ import_react6.default.createElement("title", null, "Behance"),
1677
- /* @__PURE__ */ import_react6.default.createElement(
1678
- "path",
1679
- {
1680
- fill: "currentColor",
1681
- d: "M16.969 16.927a2.561 2.561 0 0 0 1.901.677 2.501 2.501 0 0 0 1.531-.475c.362-.235.636-.584.779-.99h2.585a5.091 5.091 0 0 1-1.9 2.896 5.292 5.292 0 0 1-3.091.88 5.839 5.839 0 0 1-2.284-.433 4.871 4.871 0 0 1-1.723-1.211 5.657 5.657 0 0 1-1.08-1.874 7.057 7.057 0 0 1-.383-2.393c-.005-.8.129-1.595.396-2.349a5.313 5.313 0 0 1 5.088-3.604 4.87 4.87 0 0 1 2.376.563c.661.362 1.231.87 1.668 1.485a6.2 6.2 0 0 1 .943 2.133c.194.821.263 1.666.205 2.508h-7.699c-.063.79.184 1.574.688 2.187ZM6.947 4.084a8.065 8.065 0 0 1 1.928.198 4.29 4.29 0 0 1 1.49.638c.418.303.748.711.958 1.182.241.579.357 1.203.341 1.83a3.506 3.506 0 0 1-.506 1.961 3.726 3.726 0 0 1-1.503 1.287 3.588 3.588 0 0 1 2.027 1.437c.464.747.697 1.615.67 2.494a4.593 4.593 0 0 1-.423 2.032 3.945 3.945 0 0 1-1.163 1.413 5.114 5.114 0 0 1-1.683.807 7.135 7.135 0 0 1-1.928.259H0V4.084h6.947Zm-.235 12.9c.308.004.616-.029.916-.099a2.18 2.18 0 0 0 .766-.332c.228-.158.411-.371.534-.619.142-.317.208-.663.191-1.009a2.08 2.08 0 0 0-.642-1.715 2.618 2.618 0 0 0-1.696-.505h-3.54v4.279h3.471Zm13.635-5.967a2.13 2.13 0 0 0-1.654-.619 2.336 2.336 0 0 0-1.163.259 2.474 2.474 0 0 0-.738.62 2.359 2.359 0 0 0-.396.792c-.074.239-.12.485-.137.734h4.769a3.239 3.239 0 0 0-.679-1.785l-.002-.001Zm-13.813-.648a2.254 2.254 0 0 0 1.423-.433c.399-.355.607-.88.56-1.413a1.916 1.916 0 0 0-.178-.891 1.298 1.298 0 0 0-.495-.533 1.851 1.851 0 0 0-.711-.274 3.966 3.966 0 0 0-.835-.073H3.241v3.631h3.293v-.014ZM21.62 5.122h-5.976v1.527h5.976V5.122Z"
1682
- }
1683
- )
1684
- ),
1490
+ fill: "currentColor",
1491
+ d: "M16.969 16.927a2.561 2.561 0 0 0 1.901.677 2.501 2.501 0 0 0 1.531-.475c.362-.235.636-.584.779-.99h2.585a5.091 5.091 0 0 1-1.9 2.896 5.292 5.292 0 0 1-3.091.88 5.839 5.839 0 0 1-2.284-.433 4.871 4.871 0 0 1-1.723-1.211 5.657 5.657 0 0 1-1.08-1.874 7.057 7.057 0 0 1-.383-2.393c-.005-.8.129-1.595.396-2.349a5.313 5.313 0 0 1 5.088-3.604 4.87 4.87 0 0 1 2.376.563c.661.362 1.231.87 1.668 1.485a6.2 6.2 0 0 1 .943 2.133c.194.821.263 1.666.205 2.508h-7.699c-.063.79.184 1.574.688 2.187ZM6.947 4.084a8.065 8.065 0 0 1 1.928.198 4.29 4.29 0 0 1 1.49.638c.418.303.748.711.958 1.182.241.579.357 1.203.341 1.83a3.506 3.506 0 0 1-.506 1.961 3.726 3.726 0 0 1-1.503 1.287 3.588 3.588 0 0 1 2.027 1.437c.464.747.697 1.615.67 2.494a4.593 4.593 0 0 1-.423 2.032 3.945 3.945 0 0 1-1.163 1.413 5.114 5.114 0 0 1-1.683.807 7.135 7.135 0 0 1-1.928.259H0V4.084h6.947Zm-.235 12.9c.308.004.616-.029.916-.099a2.18 2.18 0 0 0 .766-.332c.228-.158.411-.371.534-.619.142-.317.208-.663.191-1.009a2.08 2.08 0 0 0-.642-1.715 2.618 2.618 0 0 0-1.696-.505h-3.54v4.279h3.471Zm13.635-5.967a2.13 2.13 0 0 0-1.654-.619 2.336 2.336 0 0 0-1.163.259 2.474 2.474 0 0 0-.738.62 2.359 2.359 0 0 0-.396.792c-.074.239-.12.485-.137.734h4.769a3.239 3.239 0 0 0-.679-1.785l-.002-.001Zm-13.813-.648a2.254 2.254 0 0 0 1.423-.433c.399-.355.607-.88.56-1.413a1.916 1.916 0 0 0-.178-.891 1.298 1.298 0 0 0-.495-.533 1.851 1.851 0 0 0-.711-.274 3.966 3.966 0 0 0-.835-.073H3.241v3.631h3.293v-.014ZM21.62 5.122h-5.976v1.527h5.976V5.122Z"
1492
+ }
1493
+ )),
1685
1494
  microsoft: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react6.default.createElement(
1686
1495
  "path",
1687
1496
  {
@@ -1689,21 +1498,13 @@ var Logos = {
1689
1498
  d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
1690
1499
  }
1691
1500
  )),
1692
- github: (props) => /* @__PURE__ */ import_react6.default.createElement(
1693
- "svg",
1501
+ github: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 438.549 438.549", ...props }, /* @__PURE__ */ import_react6.default.createElement(
1502
+ "path",
1694
1503
  {
1695
- xmlns: "http://www.w3.org/2000/svg",
1696
- viewBox: "0 0 438.549 438.549",
1697
- ...props
1698
- },
1699
- /* @__PURE__ */ import_react6.default.createElement(
1700
- "path",
1701
- {
1702
- fill: "currentColor",
1703
- d: "M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"
1704
- }
1705
- )
1706
- ),
1504
+ fill: "currentColor",
1505
+ d: "M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"
1506
+ }
1507
+ )),
1707
1508
  radix: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react6.default.createElement(
1708
1509
  "path",
1709
1510
  {
@@ -1760,23 +1561,13 @@ var Logos = {
1760
1561
  d: "M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
1761
1562
  }
1762
1563
  )),
1763
- googleplay: (props) => /* @__PURE__ */ import_react6.default.createElement(
1764
- "svg",
1564
+ googleplay: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "Google Play"), /* @__PURE__ */ import_react6.default.createElement(
1565
+ "path",
1765
1566
  {
1766
- role: "img",
1767
- viewBox: "0 0 24 24",
1768
- xmlns: "http://www.w3.org/2000/svg",
1769
- ...props
1770
- },
1771
- /* @__PURE__ */ import_react6.default.createElement("title", null, "Google Play"),
1772
- /* @__PURE__ */ import_react6.default.createElement(
1773
- "path",
1774
- {
1775
- fill: "currentColor",
1776
- d: "M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594zM1.337.924a1.486 1.486 0 0 0-.112.568v21.017c0 .217.045.419.124.6l11.155-11.087L1.337.924zm12.207 10.065l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973zm0 2.067l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z"
1777
- }
1778
- )
1779
- ),
1567
+ fill: "currentColor",
1568
+ d: "M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594zM1.337.924a1.486 1.486 0 0 0-.112.568v21.017c0 .217.045.419.124.6l11.155-11.087L1.337.924zm12.207 10.065l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973zm0 2.067l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z"
1569
+ }
1570
+ )),
1780
1571
  apple: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react6.default.createElement(
1781
1572
  "path",
1782
1573
  {
@@ -1784,23 +1575,13 @@ var Logos = {
1784
1575
  fill: "currentColor"
1785
1576
  }
1786
1577
  )),
1787
- applestore: (props) => /* @__PURE__ */ import_react6.default.createElement(
1788
- "svg",
1578
+ applestore: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "App Store"), /* @__PURE__ */ import_react6.default.createElement(
1579
+ "path",
1789
1580
  {
1790
- role: "img",
1791
- viewBox: "0 0 24 24",
1792
- xmlns: "http://www.w3.org/2000/svg",
1793
- ...props
1794
- },
1795
- /* @__PURE__ */ import_react6.default.createElement("title", null, "App Store"),
1796
- /* @__PURE__ */ import_react6.default.createElement(
1797
- "path",
1798
- {
1799
- fill: "currentColor",
1800
- d: "M8.8086 14.9194l6.1107-11.0368c.0837-.1513.1682-.302.2437-.4584.0685-.142.1267-.2854.1646-.4403.0803-.3259.0588-.6656-.066-.9767-.1238-.3095-.3417-.5678-.6201-.7355a1.4175 1.4175 0 0 0-.921-.1924c-.3207.043-.6135.1935-.8443.4288-.1094.1118-.1996.2361-.2832.369-.092.1463-.175.2979-.259.4492l-.3864.6979-.3865-.6979c-.0837-.1515-.1667-.303-.2587-.4492-.0837-.1329-.1739-.2572-.2835-.369-.2305-.2353-.5233-.3857-.844-.429a1.4181 1.4181 0 0 0-.921.1926c-.2784.1677-.4964.426-.6203.7355-.1246.311-.1461.6508-.066.9767.038.155.0962.2984.1648.4403.0753.1564.1598.307.2437.4584l1.248 2.2543-4.8625 8.7825H2.0295c-.1676 0-.3351-.0007-.5026.0092-.1522.009-.3004.0284-.448.0714-.3108.0906-.5822.2798-.7783.548-.195.2665-.3006.5929-.3006.9279 0 .3352.1057.6612.3006.9277.196.2683.4675.4575.7782.548.1477.043.296.0623.4481.0715.1675.01.335.009.5026.009h13.0974c.0171-.0357.059-.1294.1-.2697.415-1.4151-.6156-2.843-2.0347-2.843zM3.113 18.5418l-.7922 1.5008c-.0818.1553-.1644.31-.2384.4705-.067.1458-.124.293-.1611.452-.0785.3346-.0576.6834.0645 1.0029.1212.3175.3346.583.607.7549.2727.172.5891.2416.9013.1975.3139-.044.6005-.1986.8263-.4402.1072-.1148.1954-.2424.2772-.3787.0902-.1503.1714-.3059.2535-.4612L6 19.4636c-.0896-.149-.9473-1.4704-2.887-.9218m20.5861-3.0056a1.4707 1.4707 0 0 0-.779-.5407c-.1476-.0425-.2961-.0616-.4483-.0705-.1678-.0099-.3352-.0091-.503-.0091H18.648l-4.3891-7.817c-.6655.7005-.9632 1.485-1.0773 2.1976-.1655 1.0333.0367 2.0934.546 3.0004l5.2741 9.3933c.084.1494.167.299.2591.4435.0837.131.1739.2537.2836.364.231.2323.5238.3809.8449.4232.3192.0424.643-.0244.9217-.1899.2784-.1653.4968-.4204.621-.7257.1246-.3072.146-.6425.0658-.9641-.0381-.1529-.0962-.2945-.165-.4346-.0753-.1543-.1598-.303-.2438-.4524l-1.216-2.1662h1.596c.1677 0 .3351.0009.5029-.009.1522-.009.3007-.028.4483-.0705a1.4707 1.4707 0 0 0 .779-.5407A1.5386 1.5386 0 0 0 24 16.452a1.539 1.539 0 0 0-.3009-.9158Z"
1801
- }
1802
- )
1803
- ),
1581
+ fill: "currentColor",
1582
+ d: "M8.8086 14.9194l6.1107-11.0368c.0837-.1513.1682-.302.2437-.4584.0685-.142.1267-.2854.1646-.4403.0803-.3259.0588-.6656-.066-.9767-.1238-.3095-.3417-.5678-.6201-.7355a1.4175 1.4175 0 0 0-.921-.1924c-.3207.043-.6135.1935-.8443.4288-.1094.1118-.1996.2361-.2832.369-.092.1463-.175.2979-.259.4492l-.3864.6979-.3865-.6979c-.0837-.1515-.1667-.303-.2587-.4492-.0837-.1329-.1739-.2572-.2835-.369-.2305-.2353-.5233-.3857-.844-.429a1.4181 1.4181 0 0 0-.921.1926c-.2784.1677-.4964.426-.6203.7355-.1246.311-.1461.6508-.066.9767.038.155.0962.2984.1648.4403.0753.1564.1598.307.2437.4584l1.248 2.2543-4.8625 8.7825H2.0295c-.1676 0-.3351-.0007-.5026.0092-.1522.009-.3004.0284-.448.0714-.3108.0906-.5822.2798-.7783.548-.195.2665-.3006.5929-.3006.9279 0 .3352.1057.6612.3006.9277.196.2683.4675.4575.7782.548.1477.043.296.0623.4481.0715.1675.01.335.009.5026.009h13.0974c.0171-.0357.059-.1294.1-.2697.415-1.4151-.6156-2.843-2.0347-2.843zM3.113 18.5418l-.7922 1.5008c-.0818.1553-.1644.31-.2384.4705-.067.1458-.124.293-.1611.452-.0785.3346-.0576.6834.0645 1.0029.1212.3175.3346.583.607.7549.2727.172.5891.2416.9013.1975.3139-.044.6005-.1986.8263-.4402.1072-.1148.1954-.2424.2772-.3787.0902-.1503.1714-.3059.2535-.4612L6 19.4636c-.0896-.149-.9473-1.4704-2.887-.9218m20.5861-3.0056a1.4707 1.4707 0 0 0-.779-.5407c-.1476-.0425-.2961-.0616-.4483-.0705-.1678-.0099-.3352-.0091-.503-.0091H18.648l-4.3891-7.817c-.6655.7005-.9632 1.485-1.0773 2.1976-.1655 1.0333.0367 2.0934.546 3.0004l5.2741 9.3933c.084.1494.167.299.2591.4435.0837.131.1739.2537.2836.364.231.2323.5238.3809.8449.4232.3192.0424.643-.0244.9217-.1899.2784-.1653.4968-.4204.621-.7257.1246-.3072.146-.6425.0658-.9641-.0381-.1529-.0962-.2945-.165-.4346-.0753-.1543-.1598-.303-.2438-.4524l-1.216-2.1662h1.596c.1677 0 .3351.0009.5029-.009.1522-.009.3007-.028.4483-.0705a1.4707 1.4707 0 0 0 .779-.5407A1.5386 1.5386 0 0 0 24 16.452a1.539 1.539 0 0 0-.3009-.9158Z"
1583
+ }
1584
+ )),
1804
1585
  paypal: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react6.default.createElement(
1805
1586
  "path",
1806
1587
  {
@@ -1824,50 +1605,21 @@ var Logos = {
1824
1605
  },
1825
1606
  /* @__PURE__ */ import_react6.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
1826
1607
  ),
1827
- whatsapp: (props) => /* @__PURE__ */ import_react6.default.createElement(
1828
- "svg",
1608
+ whatsapp: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react6.default.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })),
1609
+ visa: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "Visa"), /* @__PURE__ */ import_react6.default.createElement(
1610
+ "path",
1829
1611
  {
1830
- xmlns: "http://www.w3.org/2000/svg",
1831
- viewBox: "0 0 24 24",
1832
1612
  fill: "currentColor",
1833
- ...props
1834
- },
1835
- /* @__PURE__ */ import_react6.default.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })
1836
- ),
1837
- visa: (props) => /* @__PURE__ */ import_react6.default.createElement(
1838
- "svg",
1839
- {
1840
- role: "img",
1841
- viewBox: "0 0 24 24",
1842
- xmlns: "http://www.w3.org/2000/svg",
1843
- ...props
1844
- },
1845
- /* @__PURE__ */ import_react6.default.createElement("title", null, "Visa"),
1846
- /* @__PURE__ */ import_react6.default.createElement(
1847
- "path",
1848
- {
1849
- fill: "currentColor",
1850
- d: "M9.112 8.262L5.97 15.758H3.92L2.374 9.775c-.094-.368-.175-.503-.461-.658C1.447 8.864.677 8.627 0 8.479l.046-.217h3.3a.904.904 0 01.894.764l.817 4.338 2.018-5.102zm8.033 5.049c.008-1.979-2.736-2.088-2.717-2.972.006-.269.262-.555.822-.628a3.66 3.66 0 011.913.336l.34-1.59a5.207 5.207 0 00-1.814-.333c-1.917 0-3.266 1.02-3.278 2.479-.012 1.079.963 1.68 1.698 2.04.756.367 1.01.603 1.006.931-.005.504-.602.725-1.16.734-.975.015-1.54-.263-1.992-.473l-.351 1.642c.453.208 1.289.39 2.156.398 2.037 0 3.37-1.006 3.377-2.564m5.061 2.447H24l-1.565-7.496h-1.656a.883.883 0 00-.826.55l-2.909 6.946h2.036l.405-1.12h2.488zm-2.163-2.656l1.02-2.815.588 2.815zm-8.16-4.84l-1.603 7.496H8.34l1.605-7.496z"
1851
- }
1852
- )
1853
- ),
1854
- mastercard: (props) => /* @__PURE__ */ import_react6.default.createElement(
1855
- "svg",
1613
+ d: "M9.112 8.262L5.97 15.758H3.92L2.374 9.775c-.094-.368-.175-.503-.461-.658C1.447 8.864.677 8.627 0 8.479l.046-.217h3.3a.904.904 0 01.894.764l.817 4.338 2.018-5.102zm8.033 5.049c.008-1.979-2.736-2.088-2.717-2.972.006-.269.262-.555.822-.628a3.66 3.66 0 011.913.336l.34-1.59a5.207 5.207 0 00-1.814-.333c-1.917 0-3.266 1.02-3.278 2.479-.012 1.079.963 1.68 1.698 2.04.756.367 1.01.603 1.006.931-.005.504-.602.725-1.16.734-.975.015-1.54-.263-1.992-.473l-.351 1.642c.453.208 1.289.39 2.156.398 2.037 0 3.37-1.006 3.377-2.564m5.061 2.447H24l-1.565-7.496h-1.656a.883.883 0 00-.826.55l-2.909 6.946h2.036l.405-1.12h2.488zm-2.163-2.656l1.02-2.815.588 2.815zm-8.16-4.84l-1.603 7.496H8.34l1.605-7.496z"
1614
+ }
1615
+ )),
1616
+ mastercard: (props) => /* @__PURE__ */ import_react6.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react6.default.createElement("title", null, "MasterCard"), /* @__PURE__ */ import_react6.default.createElement(
1617
+ "path",
1856
1618
  {
1857
- role: "img",
1858
- viewBox: "0 0 24 24",
1859
- xmlns: "http://www.w3.org/2000/svg",
1860
- ...props
1861
- },
1862
- /* @__PURE__ */ import_react6.default.createElement("title", null, "MasterCard"),
1863
- /* @__PURE__ */ import_react6.default.createElement(
1864
- "path",
1865
- {
1866
- fill: "currentColor",
1867
- d: "M11.343 18.031c.058.049.12.098.181.146-1.177.783-2.59 1.238-4.107 1.238C3.32 19.416 0 16.096 0 12c0-4.095 3.32-7.416 7.416-7.416 1.518 0 2.931.456 4.105 1.238-.06.051-.12.098-.165.15C9.6 7.489 8.595 9.688 8.595 12c0 2.311 1.001 4.51 2.748 6.031zm5.241-13.447c-1.52 0-2.931.456-4.105 1.238.06.051.12.098.165.15C14.4 7.489 15.405 9.688 15.405 12c0 2.31-1.001 4.507-2.748 6.031-.058.049-.12.098-.181.146 1.177.783 2.588 1.238 4.107 1.238C20.68 19.416 24 16.096 24 12c0-4.094-3.32-7.416-7.416-7.416zM12 6.174c-.096.075-.189.15-.28.231C10.156 7.764 9.169 9.765 9.169 12c0 2.236.987 4.236 2.551 5.595.09.08.185.158.28.232.096-.074.189-.152.28-.232 1.563-1.359 2.551-3.359 2.551-5.595 0-2.235-.987-4.236-2.551-5.595-.09-.08-.184-.156-.28-.231z"
1868
- }
1869
- )
1870
- )
1619
+ fill: "currentColor",
1620
+ d: "M11.343 18.031c.058.049.12.098.181.146-1.177.783-2.59 1.238-4.107 1.238C3.32 19.416 0 16.096 0 12c0-4.095 3.32-7.416 7.416-7.416 1.518 0 2.931.456 4.105 1.238-.06.051-.12.098-.165.15C9.6 7.489 8.595 9.688 8.595 12c0 2.311 1.001 4.51 2.748 6.031zm5.241-13.447c-1.52 0-2.931.456-4.105 1.238.06.051.12.098.165.15C14.4 7.489 15.405 9.688 15.405 12c0 2.31-1.001 4.507-2.748 6.031-.058.049-.12.098-.181.146 1.177.783 2.588 1.238 4.107 1.238C20.68 19.416 24 16.096 24 12c0-4.094-3.32-7.416-7.416-7.416zM12 6.174c-.096.075-.189.15-.28.231C10.156 7.764 9.169 9.765 9.169 12c0 2.236.987 4.236 2.551 5.595.09.08.185.158.28.232.096-.074.189-.152.28-.232 1.563-1.359 2.551-3.359 2.551-5.595 0-2.235-.987-4.236-2.551-5.595-.09-.08-.184-.156-.28-.231z"
1621
+ }
1622
+ ))
1871
1623
  };
1872
1624
 
1873
1625
  // elements/navigationMenu/NavigationMenu.tsx
@@ -1944,30 +1696,22 @@ var NavigationMenuContent = React12.forwardRef(({ className, ...props }, ref) =>
1944
1696
  }
1945
1697
  ));
1946
1698
  var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React12.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-max-w-md hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-4 hawa-rounded-inner hawa-p-4 hawa-py-2 hawa-transition-all hover:hawa-bg-muted" }, icon && icon, /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React12.createElement("h1", { className: "hawa-text-xl hawa-font-bold" }, title), /* @__PURE__ */ React12.createElement("p", { className: "hawa-text-sm" }, subtitle))));
1947
- var NavigationMenuViewport = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1948
- "div",
1699
+ var NavigationMenuViewport = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement("div", { className: cn("hawa-absolute hawa-top-full hawa-flex hawa-w-full hawa-justify-center") }, /* @__PURE__ */ React12.createElement(
1700
+ NavigationMenuPrimitive.Viewport,
1949
1701
  {
1950
1702
  className: cn(
1951
- "hawa-absolute hawa-top-full hawa-flex hawa-w-full hawa-justify-center"
1952
- )
1953
- },
1954
- /* @__PURE__ */ React12.createElement(
1955
- NavigationMenuPrimitive.Viewport,
1956
- {
1957
- className: cn(
1958
- "hawa-origin-top-center hawa-relative hawa-mt-1.5 hawa-w-full hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-lg data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-90",
1959
- // hawa-h-[var(--radix-navigation-menu-viewport-height)]
1960
- // "md:hawa-w-[var(--radix-navigation-menu-viewport-width)]",
1961
- className
1962
- ),
1963
- style: {
1964
- height: "calc(var(--radix-navigation-menu-viewport-height) + 1px)"
1965
- },
1966
- ref,
1967
- ...props
1968
- }
1969
- )
1970
- ));
1703
+ "hawa-origin-top-center hawa-relative hawa-mt-1.5 hawa-w-full hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-lg data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-90",
1704
+ // hawa-h-[var(--radix-navigation-menu-viewport-height)]
1705
+ // "md:hawa-w-[var(--radix-navigation-menu-viewport-width)]",
1706
+ className
1707
+ ),
1708
+ style: {
1709
+ height: "calc(var(--radix-navigation-menu-viewport-height) + 1px)"
1710
+ },
1711
+ ref,
1712
+ ...props
1713
+ }
1714
+ )));
1971
1715
  var NavigationMenuIndicator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1972
1716
  NavigationMenuPrimitive.Indicator,
1973
1717
  {
@@ -2058,58 +1802,53 @@ var sheetVariants = (0, import_class_variance_authority2.cva)(
2058
1802
  }
2059
1803
  }
2060
1804
  );
2061
- var SheetContent = React13.forwardRef(
2062
- ({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React13.createElement(SheetPortal, null, /* @__PURE__ */ React13.createElement(SheetOverlay, null), /* @__PURE__ */ React13.createElement(
2063
- SheetPrimitive.Content,
1805
+ var SheetContent = React13.forwardRef(({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React13.createElement(SheetPortal, null, /* @__PURE__ */ React13.createElement(SheetOverlay, null), /* @__PURE__ */ React13.createElement(
1806
+ SheetPrimitive.Content,
1807
+ {
1808
+ ref,
1809
+ className: cn(sheetVariants({ side }), className),
1810
+ onPointerDownOutside: (e) => {
1811
+ if (persist) {
1812
+ e.preventDefault();
1813
+ }
1814
+ },
1815
+ ...props
1816
+ },
1817
+ children,
1818
+ !hideCloseButton && /* @__PURE__ */ React13.createElement(
1819
+ SheetPrimitive.Close,
2064
1820
  {
2065
- ref,
2066
- className: cn(sheetVariants({ side }), className),
2067
- onPointerDownOutside: (e) => {
2068
- if (persist) {
2069
- e.preventDefault();
1821
+ className: cn(
1822
+ "hawa-absolute hawa-rounded-sm hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-secondary",
1823
+ {
1824
+ "hawa-right-4 hawa-top-4": side === "left" || side === "bottom",
1825
+ "hawa-left-4 hawa-top-4": side === "right",
1826
+ "hawa-bottom-4 hawa-right-4": side === "top"
2070
1827
  }
2071
- },
2072
- ...props
1828
+ )
2073
1829
  },
2074
- children,
2075
- !hideCloseButton && /* @__PURE__ */ React13.createElement(
2076
- SheetPrimitive.Close,
1830
+ /* @__PURE__ */ React13.createElement(
1831
+ "svg",
2077
1832
  {
2078
- className: cn(
2079
- "hawa-absolute hawa-rounded-sm hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-secondary",
2080
- {
2081
- "hawa-right-4 hawa-top-4": side === "left" || side === "bottom",
2082
- "hawa-left-4 hawa-top-4": side === "right",
2083
- "hawa-bottom-4 hawa-right-4": side === "top"
2084
- }
2085
- )
1833
+ "aria-label": "Close Icon",
1834
+ "aria-hidden": "true",
1835
+ className: "hawa-h-5 hawa-w-5",
1836
+ fill: "currentColor",
1837
+ viewBox: "0 0 20 20"
2086
1838
  },
2087
1839
  /* @__PURE__ */ React13.createElement(
2088
- "svg",
1840
+ "path",
2089
1841
  {
2090
- "aria-label": "Close Icon",
2091
- "aria-hidden": "true",
2092
- className: "hawa-h-5 hawa-w-5",
2093
- fill: "currentColor",
2094
- viewBox: "0 0 20 20"
2095
- },
2096
- /* @__PURE__ */ React13.createElement(
2097
- "path",
2098
- {
2099
- fillRule: "evenodd",
2100
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
2101
- clipRule: "evenodd"
2102
- }
2103
- )
2104
- ),
2105
- /* @__PURE__ */ React13.createElement("span", { className: "hawa-sr-only" }, "Close")
2106
- )
2107
- ))
2108
- );
2109
- var SheetHeader = ({
2110
- className,
2111
- ...props
2112
- }) => /* @__PURE__ */ React13.createElement(
1842
+ fillRule: "evenodd",
1843
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
1844
+ clipRule: "evenodd"
1845
+ }
1846
+ )
1847
+ ),
1848
+ /* @__PURE__ */ React13.createElement("span", { className: "hawa-sr-only" }, "Close")
1849
+ )
1850
+ )));
1851
+ var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ React13.createElement(
2113
1852
  "div",
2114
1853
  {
2115
1854
  className: cn(
@@ -2119,10 +1858,7 @@ var SheetHeader = ({
2119
1858
  ...props
2120
1859
  }
2121
1860
  );
2122
- var SheetFooter = ({
2123
- className,
2124
- ...props
2125
- }) => /* @__PURE__ */ React13.createElement(
1861
+ var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ React13.createElement(
2126
1862
  "div",
2127
1863
  {
2128
1864
  className: cn(
@@ -2136,10 +1872,7 @@ var SheetTitle = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE
2136
1872
  SheetPrimitive.Title,
2137
1873
  {
2138
1874
  ref,
2139
- className: cn(
2140
- "hawa-text-lg hawa-font-semibold hawa-text-foreground",
2141
- className
2142
- ),
1875
+ className: cn("hawa-text-lg hawa-font-semibold hawa-text-foreground", className),
2143
1876
  ...props
2144
1877
  }
2145
1878
  ));
@@ -2176,23 +1909,7 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
2176
1909
  }
2177
1910
  ));
2178
1911
  var DialogContent = React14.forwardRef(
2179
- ({
2180
- ids,
2181
- className,
2182
- classNames,
2183
- children,
2184
- persist,
2185
- hideCloseButton,
2186
- overlayProps,
2187
- ...props
2188
- }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(
2189
- DialogOverlay,
2190
- {
2191
- className: classNames == null ? void 0 : classNames.overlay,
2192
- id: ids == null ? void 0 : ids.overlay,
2193
- ...overlayProps
2194
- }
2195
- ), /* @__PURE__ */ React14.createElement(
1912
+ ({ ids, className, classNames, children, persist, hideCloseButton, overlayProps, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, { className: classNames == null ? void 0 : classNames.overlay, id: ids == null ? void 0 : ids.overlay, ...overlayProps }), /* @__PURE__ */ React14.createElement(
2196
1913
  DialogPrimitive.Content,
2197
1914
  {
2198
1915
  onPointerDownOutside: (e) => {
@@ -2212,19 +1929,99 @@ var DialogContent = React14.forwardRef(
2212
1929
  DialogPrimitive.Close,
2213
1930
  {
2214
1931
  className: cn(
2215
- "hawa-absolute hawa-top-4 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
2216
- props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4",
2217
- classNames == null ? void 0 : classNames.closeButton
2218
- ),
2219
- id: ids == null ? void 0 : ids.closeButton
1932
+ "hawa-absolute hawa-top-4 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
1933
+ props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4",
1934
+ classNames == null ? void 0 : classNames.closeButton
1935
+ ),
1936
+ id: ids == null ? void 0 : ids.closeButton
1937
+ },
1938
+ /* @__PURE__ */ React14.createElement(
1939
+ "svg",
1940
+ {
1941
+ id: ids == null ? void 0 : ids.closeIcon,
1942
+ "aria-label": "Close Icon",
1943
+ "aria-hidden": "true",
1944
+ className: "hawa-h-5 hawa-w-5",
1945
+ fill: "currentColor",
1946
+ viewBox: "0 0 20 20"
1947
+ },
1948
+ /* @__PURE__ */ React14.createElement(
1949
+ "path",
1950
+ {
1951
+ fillRule: "evenodd",
1952
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
1953
+ clipRule: "evenodd"
1954
+ }
1955
+ )
1956
+ ),
1957
+ /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
1958
+ )
1959
+ ))
1960
+ );
1961
+ var DialogCarouselContent = React14.forwardRef(({ className, children, onPrev, persist, hideCloseButton, hidePrevButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, null, /* @__PURE__ */ React14.createElement(DialogOverlay, null), /* @__PURE__ */ React14.createElement(
1962
+ DialogPrimitive.Content,
1963
+ {
1964
+ onPointerDownOutside: (e) => {
1965
+ if (persist) {
1966
+ e.preventDefault();
1967
+ }
1968
+ },
1969
+ ref,
1970
+ className: cn(
1971
+ "hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-full hawa-max-w-lg hawa-translate-x-[-50%] hawa-translate-y-[-50%] hawa-gap-4 hawa-border hawa-bg-background hawa-p-6 hawa-pt-14 hawa-shadow-lg hawa-transition-all hawa-duration-200 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-[state=closed]:hawa-slide-out-to-left-1/2 data-[state=closed]:hawa-slide-out-to-top-[48%] data-[state=open]:hawa-slide-in-from-left-1/2 data-[state=open]:hawa-slide-in-from-top-[48%] sm:hawa-rounded md:hawa-w-full",
1972
+ className
1973
+ ),
1974
+ ...props
1975
+ },
1976
+ children,
1977
+ /* @__PURE__ */ React14.createElement(
1978
+ "div",
1979
+ {
1980
+ className: cn(
1981
+ "hawa-absolute hawa-top-0 hawa-flex hawa-w-full hawa-flex-row hawa-p-4",
1982
+ onPrev ? "hawa-justify-between" : "hawa-justify-end"
1983
+ )
1984
+ },
1985
+ hidePrevButton ? /* @__PURE__ */ React14.createElement("div", null) : /* @__PURE__ */ React14.createElement(
1986
+ "div",
1987
+ {
1988
+ onClick: onPrev,
1989
+ className: cn(
1990
+ "hawa-end-0 hawa-cursor-pointer hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
1991
+ props.dir === "rtl" && "hawa-rotate-180"
1992
+ )
1993
+ },
1994
+ /* @__PURE__ */ React14.createElement(
1995
+ "svg",
1996
+ {
1997
+ xmlns: "http://www.w3.org/2000/svg",
1998
+ width: "24",
1999
+ height: "24",
2000
+ viewBox: "0 0 24 24",
2001
+ fill: "none",
2002
+ className: "hawa-h-6 hawa-w-6",
2003
+ stroke: "currentColor",
2004
+ strokeWidth: "2",
2005
+ strokeLinecap: "round",
2006
+ strokeLinejoin: "round"
2007
+ },
2008
+ /* @__PURE__ */ React14.createElement("path", { d: "m15 18-6-6 6-6" })
2009
+ )
2010
+ ),
2011
+ !hideCloseButton && /* @__PURE__ */ React14.createElement(
2012
+ DialogPrimitive.Close,
2013
+ {
2014
+ className: cn(
2015
+ "hawa-end-0 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
2016
+ props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4"
2017
+ )
2220
2018
  },
2221
2019
  /* @__PURE__ */ React14.createElement(
2222
2020
  "svg",
2223
2021
  {
2224
- id: ids == null ? void 0 : ids.closeIcon,
2225
2022
  "aria-label": "Close Icon",
2226
2023
  "aria-hidden": "true",
2227
- className: "hawa-h-5 hawa-w-5",
2024
+ className: "hawa-h-6 hawa-w-6",
2228
2025
  fill: "currentColor",
2229
2026
  viewBox: "0 0 20 20"
2230
2027
  },
@@ -2239,102 +2036,9 @@ var DialogContent = React14.forwardRef(
2239
2036
  ),
2240
2037
  /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
2241
2038
  )
2242
- ))
2243
- );
2244
- var DialogCarouselContent = React14.forwardRef(
2245
- ({
2246
- className,
2247
- children,
2248
- onPrev,
2249
- persist,
2250
- hideCloseButton,
2251
- hidePrevButton,
2252
- ...props
2253
- }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, null, /* @__PURE__ */ React14.createElement(DialogOverlay, null), /* @__PURE__ */ React14.createElement(
2254
- DialogPrimitive.Content,
2255
- {
2256
- onPointerDownOutside: (e) => {
2257
- if (persist) {
2258
- e.preventDefault();
2259
- }
2260
- },
2261
- ref,
2262
- className: cn(
2263
- "hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-full hawa-max-w-lg hawa-translate-x-[-50%] hawa-translate-y-[-50%] hawa-gap-4 hawa-border hawa-bg-background hawa-p-6 hawa-pt-14 hawa-shadow-lg hawa-transition-all hawa-duration-200 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-[state=closed]:hawa-slide-out-to-left-1/2 data-[state=closed]:hawa-slide-out-to-top-[48%] data-[state=open]:hawa-slide-in-from-left-1/2 data-[state=open]:hawa-slide-in-from-top-[48%] sm:hawa-rounded md:hawa-w-full",
2264
- className
2265
- ),
2266
- ...props
2267
- },
2268
- children,
2269
- /* @__PURE__ */ React14.createElement(
2270
- "div",
2271
- {
2272
- className: cn(
2273
- "hawa-absolute hawa-top-0 hawa-flex hawa-w-full hawa-flex-row hawa-p-4",
2274
- onPrev ? "hawa-justify-between" : "hawa-justify-end"
2275
- )
2276
- },
2277
- hidePrevButton ? /* @__PURE__ */ React14.createElement("div", null) : /* @__PURE__ */ React14.createElement(
2278
- "div",
2279
- {
2280
- onClick: onPrev,
2281
- className: cn(
2282
- "hawa-end-0 hawa-cursor-pointer hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
2283
- props.dir === "rtl" && "hawa-rotate-180"
2284
- )
2285
- },
2286
- /* @__PURE__ */ React14.createElement(
2287
- "svg",
2288
- {
2289
- xmlns: "http://www.w3.org/2000/svg",
2290
- width: "24",
2291
- height: "24",
2292
- viewBox: "0 0 24 24",
2293
- fill: "none",
2294
- className: "hawa-h-6 hawa-w-6",
2295
- stroke: "currentColor",
2296
- strokeWidth: "2",
2297
- strokeLinecap: "round",
2298
- strokeLinejoin: "round"
2299
- },
2300
- /* @__PURE__ */ React14.createElement("path", { d: "m15 18-6-6 6-6" })
2301
- )
2302
- ),
2303
- !hideCloseButton && /* @__PURE__ */ React14.createElement(
2304
- DialogPrimitive.Close,
2305
- {
2306
- className: cn(
2307
- "hawa-end-0 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
2308
- props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4"
2309
- )
2310
- },
2311
- /* @__PURE__ */ React14.createElement(
2312
- "svg",
2313
- {
2314
- "aria-label": "Close Icon",
2315
- "aria-hidden": "true",
2316
- className: "hawa-h-6 hawa-w-6",
2317
- fill: "currentColor",
2318
- viewBox: "0 0 20 20"
2319
- },
2320
- /* @__PURE__ */ React14.createElement(
2321
- "path",
2322
- {
2323
- fillRule: "evenodd",
2324
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
2325
- clipRule: "evenodd"
2326
- }
2327
- )
2328
- ),
2329
- /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
2330
- )
2331
- )
2332
- ))
2333
- );
2334
- var DialogHeader = ({
2335
- className,
2336
- ...props
2337
- }) => /* @__PURE__ */ React14.createElement(
2039
+ )
2040
+ )));
2041
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ React14.createElement(
2338
2042
  "div",
2339
2043
  {
2340
2044
  className: cn(
@@ -2359,17 +2063,11 @@ var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /*
2359
2063
  DialogPrimitive.Description,
2360
2064
  {
2361
2065
  ref,
2362
- className: cn(
2363
- "hawa-text-start hawa-text-sm hawa-text-muted-foreground",
2364
- className
2365
- ),
2066
+ className: cn("hawa-text-start hawa-text-sm hawa-text-muted-foreground", className),
2366
2067
  ...props
2367
2068
  }
2368
2069
  ));
2369
- var DialogFooter = ({
2370
- className,
2371
- ...props
2372
- }) => /* @__PURE__ */ React14.createElement(
2070
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ React14.createElement(
2373
2071
  "div",
2374
2072
  {
2375
2073
  className: cn(
@@ -2410,11 +2108,7 @@ var DialogCarousel = ({
2410
2108
  ))
2411
2109
  )));
2412
2110
  };
2413
- var DialogSteps = ({
2414
- currentStep,
2415
- visibleStepRef,
2416
- children
2417
- }) => {
2111
+ var DialogSteps = ({ currentStep, visibleStepRef, children }) => {
2418
2112
  const [dialogHeight, setDialogHeight] = React14.useState(null);
2419
2113
  React14.useEffect(() => {
2420
2114
  if (visibleStepRef.current) {
@@ -2443,21 +2137,8 @@ var DialogSteps = ({
2443
2137
  ))
2444
2138
  );
2445
2139
  };
2446
- var DialogStep = ({
2447
- id,
2448
- children,
2449
- className,
2450
- stepRef
2451
- }) => {
2452
- return /* @__PURE__ */ React14.createElement(
2453
- "div",
2454
- {
2455
- id,
2456
- ref: stepRef,
2457
- className: cn("hawa-w-full hawa-px-1", className)
2458
- },
2459
- children
2460
- );
2140
+ var DialogStep = ({ id, children, className, stepRef }) => {
2141
+ return /* @__PURE__ */ React14.createElement("div", { id, ref: stepRef, className: cn("hawa-w-full hawa-px-1", className) }, children);
2461
2142
  };
2462
2143
  var DialogBody = ({ children, className }) => {
2463
2144
  return /* @__PURE__ */ React14.createElement("div", { className: cn("hawa-py-6", className) }, children);
@@ -2484,9 +2165,7 @@ var import_class_variance_authority3 = require("class-variance-authority");
2484
2165
 
2485
2166
  // elements/helperText/HelperText.tsx
2486
2167
  var import_react7 = __toESM(require("react"));
2487
- var HelperText = ({
2488
- helperText
2489
- }) => /* @__PURE__ */ import_react7.default.createElement(
2168
+ var HelperText = ({ helperText }) => /* @__PURE__ */ import_react7.default.createElement(
2490
2169
  "p",
2491
2170
  {
2492
2171
  className: cn(
@@ -2727,20 +2406,9 @@ var Alert = ({
2727
2406
  ), props.actions && /* @__PURE__ */ import_react8.default.createElement(
2728
2407
  "div",
2729
2408
  {
2730
- className: cn(
2731
- "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2",
2732
- classNames == null ? void 0 : classNames.actions
2733
- )
2409
+ className: cn("hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2", classNames == null ? void 0 : classNames.actions)
2734
2410
  },
2735
- props.actions.map((act, index) => /* @__PURE__ */ import_react8.default.createElement(
2736
- Button,
2737
- {
2738
- key: index,
2739
- variant: act.variant,
2740
- onClick: act.onClick()
2741
- },
2742
- act.label
2743
- ))
2411
+ props.actions.map((act, index) => /* @__PURE__ */ import_react8.default.createElement(Button, { key: index, variant: act.variant, onClick: act.onClick() }, act.label))
2744
2412
  ))),
2745
2413
  !props.persistent && /* @__PURE__ */ import_react8.default.createElement(
2746
2414
  "button",
@@ -2762,9 +2430,7 @@ var Alert = ({
2762
2430
  setClosed(true);
2763
2431
  setTimeout(() => {
2764
2432
  if (alertRef == null ? void 0 : alertRef.current) {
2765
- alertRef == null ? void 0 : alertRef.current.removeChild(
2766
- alertRef == null ? void 0 : alertRef.current.children[0]
2767
- );
2433
+ alertRef == null ? void 0 : alertRef.current.removeChild(alertRef == null ? void 0 : alertRef.current.children[0]);
2768
2434
  }
2769
2435
  }, 200);
2770
2436
  }
@@ -2943,16 +2609,7 @@ var Checkbox = ({
2943
2609
  size === "default" ? "hawa-items-top" : "hawa-items-center"
2944
2610
  )
2945
2611
  },
2946
- /* @__PURE__ */ React21.createElement(
2947
- CheckboxElement,
2948
- {
2949
- ...props,
2950
- size,
2951
- radius,
2952
- disabled,
2953
- id
2954
- }
2955
- ),
2612
+ /* @__PURE__ */ React21.createElement(CheckboxElement, { ...props, size, radius, disabled, id }),
2956
2613
  (label || helperText) && /* @__PURE__ */ React21.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React21.createElement(
2957
2614
  "label",
2958
2615
  {
@@ -3027,9 +2684,7 @@ var CheckboxElement = React21.forwardRef(({ radius = "inherit", size = "default"
3027
2684
  /* @__PURE__ */ React21.createElement(
3028
2685
  CheckboxPrimitive.Indicator,
3029
2686
  {
3030
- className: cn(
3031
- "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
3032
- )
2687
+ className: cn("hawa-flex hawa-items-center hawa-justify-center hawa-text-current")
3033
2688
  },
3034
2689
  /* @__PURE__ */ React21.createElement(
3035
2690
  "svg",
@@ -3224,14 +2879,16 @@ var Input = (0, import_react11.forwardRef)(
3224
2879
 
3225
2880
  // elements/table/Table.tsx
3226
2881
  var React23 = __toESM(require("react"));
3227
- var Table = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React23.createElement(
3228
- "table",
3229
- {
3230
- ref,
3231
- className: cn("hawa-w-full hawa-caption-bottom hawa-text-sm", className),
3232
- ...props
3233
- }
3234
- )));
2882
+ var Table = React23.forwardRef(
2883
+ ({ className, ...props }, ref) => /* @__PURE__ */ React23.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React23.createElement(
2884
+ "table",
2885
+ {
2886
+ ref,
2887
+ className: cn("hawa-w-full hawa-caption-bottom hawa-text-sm", className),
2888
+ ...props
2889
+ }
2890
+ ))
2891
+ );
3235
2892
  var TableHeader = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23.createElement(
3236
2893
  "thead",
3237
2894
  {
@@ -3264,26 +2921,25 @@ var TableFooter = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
3264
2921
  "tfoot",
3265
2922
  {
3266
2923
  ref,
3267
- className: cn(
3268
- "hawa-bg-primary hawa-font-medium hawa-text-primary-foreground",
3269
- className
3270
- ),
3271
- ...props
3272
- }
3273
- ));
3274
- var TableRow = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23.createElement(
3275
- "tr",
3276
- {
3277
- ref,
3278
- className: cn(
3279
- "hawa-bg-background hawa-transition-colors data-[state=selected]:hawa-bg-muted",
3280
- "[&:not(:last-child)&:not(:first-child)]:hawa-border-y",
3281
- "[&:not(:last-child)]:hawa-border-b",
3282
- className
3283
- ),
2924
+ className: cn("hawa-bg-primary hawa-font-medium hawa-text-primary-foreground", className),
3284
2925
  ...props
3285
2926
  }
3286
2927
  ));
2928
+ var TableRow = React23.forwardRef(
2929
+ ({ className, ...props }, ref) => /* @__PURE__ */ React23.createElement(
2930
+ "tr",
2931
+ {
2932
+ ref,
2933
+ className: cn(
2934
+ "hawa-bg-background hawa-transition-colors data-[state=selected]:hawa-bg-muted",
2935
+ "[&:not(:last-child)&:not(:first-child)]:hawa-border-y",
2936
+ "[&:not(:last-child)]:hawa-border-b",
2937
+ className
2938
+ ),
2939
+ ...props
2940
+ }
2941
+ )
2942
+ );
3287
2943
  var TableCell = React23.forwardRef(
3288
2944
  ({ className, enablePadding = true, padding = "default", ...props }, ref) => {
3289
2945
  let paddingStyles = {
@@ -3316,10 +2972,7 @@ var TableCaption = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
3316
2972
  "caption",
3317
2973
  {
3318
2974
  ref,
3319
- className: cn(
3320
- "hawa-mt-4 hawa-text-sm hawa-text-muted-foreground",
3321
- className
3322
- ),
2975
+ className: cn("hawa-mt-4 hawa-text-sm hawa-text-muted-foreground", className),
3323
2976
  ...props
3324
2977
  }
3325
2978
  ));
@@ -3351,9 +3004,7 @@ var DataTable = ({
3351
3004
  const [sorting, setSorting] = React24.useState(
3352
3005
  props.defaultSort ? [{ id: props.defaultSort, desc: false }] : []
3353
3006
  );
3354
- const [columnFilters, setColumnFilters] = React24.useState(
3355
- []
3356
- );
3007
+ const [columnFilters, setColumnFilters] = React24.useState([]);
3357
3008
  const [globalFilter, setGlobalFilter] = React24.useState("");
3358
3009
  const [expanded, setExpanded] = React24.useState({});
3359
3010
  const [columnVisibility, setColumnVisibility] = React24.useState(() => {
@@ -3495,52 +3146,38 @@ var DataTable = ({
3495
3146
  )
3496
3147
  ) : null
3497
3148
  }
3498
- ), enableHideColumns && /* @__PURE__ */ React24.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React24.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React24.createElement(
3499
- Button,
3149
+ ), enableHideColumns && /* @__PURE__ */ React24.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React24.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React24.createElement(Button, { variant: "outline", className: "hawa-flex hawa-flex-row hawa-gap-2" }, ((_d = props.texts) == null ? void 0 : _d.columns) || "Columns", /* @__PURE__ */ React24.createElement(
3150
+ "svg",
3500
3151
  {
3501
- variant: "outline",
3502
- className: "hawa-flex hawa-flex-row hawa-gap-2"
3152
+ width: "15",
3153
+ height: "15",
3154
+ viewBox: "0 0 15 15",
3155
+ fill: "none",
3156
+ xmlns: "http://www.w3.org/2000/svg"
3503
3157
  },
3504
- ((_d = props.texts) == null ? void 0 : _d.columns) || "Columns",
3505
3158
  /* @__PURE__ */ React24.createElement(
3506
- "svg",
3159
+ "path",
3507
3160
  {
3508
- width: "15",
3509
- height: "15",
3510
- viewBox: "0 0 15 15",
3511
- fill: "none",
3512
- xmlns: "http://www.w3.org/2000/svg"
3513
- },
3514
- /* @__PURE__ */ React24.createElement(
3515
- "path",
3516
- {
3517
- d: "M5.5 3C4.67157 3 4 3.67157 4 4.5C4 5.32843 4.67157 6 5.5 6C6.32843 6 7 5.32843 7 4.5C7 3.67157 6.32843 3 5.5 3ZM3 5C3.01671 5 3.03323 4.99918 3.04952 4.99758C3.28022 6.1399 4.28967 7 5.5 7C6.71033 7 7.71978 6.1399 7.95048 4.99758C7.96677 4.99918 7.98329 5 8 5H13.5C13.7761 5 14 4.77614 14 4.5C14 4.22386 13.7761 4 13.5 4H8C7.98329 4 7.96677 4.00082 7.95048 4.00242C7.71978 2.86009 6.71033 2 5.5 2C4.28967 2 3.28022 2.86009 3.04952 4.00242C3.03323 4.00082 3.01671 4 3 4H1.5C1.22386 4 1 4.22386 1 4.5C1 4.77614 1.22386 5 1.5 5H3ZM11.9505 10.9976C11.7198 12.1399 10.7103 13 9.5 13C8.28967 13 7.28022 12.1399 7.04952 10.9976C7.03323 10.9992 7.01671 11 7 11H1.5C1.22386 11 1 10.7761 1 10.5C1 10.2239 1.22386 10 1.5 10H7C7.01671 10 7.03323 10.0008 7.04952 10.0024C7.28022 8.8601 8.28967 8 9.5 8C10.7103 8 11.7198 8.8601 11.9505 10.0024C11.9668 10.0008 11.9833 10 12 10H13.5C13.7761 10 14 10.2239 14 10.5C14 10.7761 13.7761 11 13.5 11H12C11.9833 11 11.9668 10.9992 11.9505 10.9976ZM8 10.5C8 9.67157 8.67157 9 9.5 9C10.3284 9 11 9.67157 11 10.5C11 11.3284 10.3284 12 9.5 12C8.67157 12 8 11.3284 8 10.5Z",
3518
- fill: "currentColor",
3519
- "fill-rule": "evenodd",
3520
- "clip-rule": "evenodd"
3521
- }
3522
- )
3161
+ d: "M5.5 3C4.67157 3 4 3.67157 4 4.5C4 5.32843 4.67157 6 5.5 6C6.32843 6 7 5.32843 7 4.5C7 3.67157 6.32843 3 5.5 3ZM3 5C3.01671 5 3.03323 4.99918 3.04952 4.99758C3.28022 6.1399 4.28967 7 5.5 7C6.71033 7 7.71978 6.1399 7.95048 4.99758C7.96677 4.99918 7.98329 5 8 5H13.5C13.7761 5 14 4.77614 14 4.5C14 4.22386 13.7761 4 13.5 4H8C7.98329 4 7.96677 4.00082 7.95048 4.00242C7.71978 2.86009 6.71033 2 5.5 2C4.28967 2 3.28022 2.86009 3.04952 4.00242C3.03323 4.00082 3.01671 4 3 4H1.5C1.22386 4 1 4.22386 1 4.5C1 4.77614 1.22386 5 1.5 5H3ZM11.9505 10.9976C11.7198 12.1399 10.7103 13 9.5 13C8.28967 13 7.28022 12.1399 7.04952 10.9976C7.03323 10.9992 7.01671 11 7 11H1.5C1.22386 11 1 10.7761 1 10.5C1 10.2239 1.22386 10 1.5 10H7C7.01671 10 7.03323 10.0008 7.04952 10.0024C7.28022 8.8601 8.28967 8 9.5 8C10.7103 8 11.7198 8.8601 11.9505 10.0024C11.9668 10.0008 11.9833 10 12 10H13.5C13.7761 10 14 10.2239 14 10.5C14 10.7761 13.7761 11 13.5 11H12C11.9833 11 11.9668 10.9992 11.9505 10.9976ZM8 10.5C8 9.67157 8.67157 9 9.5 9C10.3284 9 11 9.67157 11 10.5C11 11.3284 10.3284 12 9.5 12C8.67157 12 8 11.3284 8 10.5Z",
3162
+ fill: "currentColor",
3163
+ fillRule: "evenodd",
3164
+ clipRule: "evenodd"
3165
+ }
3523
3166
  )
3524
- )), /* @__PURE__ */ React24.createElement(
3525
- DropdownMenuContent,
3526
- {
3527
- align: props.direction === "rtl" ? "start" : "end"
3528
- },
3529
- table.getAllColumns().filter((column) => column.getCanHide()).map((column) => {
3530
- var _a2, _b2;
3531
- return /* @__PURE__ */ React24.createElement(
3532
- DropdownMenuCheckboxItem,
3533
- {
3534
- key: column.id,
3535
- checked: column.getIsVisible(),
3536
- onCheckedChange: (value) => column.toggleVisibility(!!value)
3537
- },
3538
- translateFn ? translateFn(
3539
- ((_a2 = column.columnDef.meta) == null ? void 0 : _a2.i18nKey) ? (_b2 = column.columnDef.meta) == null ? void 0 : _b2.i18nKey : column.id
3540
- ) : column.id
3541
- );
3542
- })
3543
- ))), enableFiltering && ((_e = props.filters) == null ? void 0 : _e.length) && /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex-row hawa-gap-2 hawa-flex" }, (_f = props.filters) == null ? void 0 : _f.map((filter) => {
3167
+ ))), /* @__PURE__ */ React24.createElement(DropdownMenuContent, { align: props.direction === "rtl" ? "start" : "end" }, table.getAllColumns().filter((column) => column.getCanHide()).map((column) => {
3168
+ var _a2, _b2;
3169
+ return /* @__PURE__ */ React24.createElement(
3170
+ DropdownMenuCheckboxItem,
3171
+ {
3172
+ key: column.id,
3173
+ checked: column.getIsVisible(),
3174
+ onCheckedChange: (value) => column.toggleVisibility(!!value)
3175
+ },
3176
+ translateFn ? translateFn(
3177
+ ((_a2 = column.columnDef.meta) == null ? void 0 : _a2.i18nKey) ? (_b2 = column.columnDef.meta) == null ? void 0 : _b2.i18nKey : column.id
3178
+ ) : column.id
3179
+ );
3180
+ })))), enableFiltering && ((_e = props.filters) == null ? void 0 : _e.length) && /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex-row hawa-gap-2 hawa-flex" }, (_f = props.filters) == null ? void 0 : _f.map((filter) => {
3544
3181
  return /* @__PURE__ */ React24.createElement(
3545
3182
  Button,
3546
3183
  {
@@ -3590,45 +3227,25 @@ var DataTable = ({
3590
3227
  width: `${header.column.columnDef.size}px !important`
3591
3228
  }
3592
3229
  },
3593
- header.isPlaceholder ? null : (0, import_react_table.flexRender)(
3594
- header.column.columnDef.header,
3595
- header.getContext()
3596
- )
3230
+ header.isPlaceholder ? null : (0, import_react_table.flexRender)(header.column.columnDef.header, header.getContext())
3597
3231
  );
3598
- })))), /* @__PURE__ */ React24.createElement(TableBody, null, ((_g = table.getRowModel().rows) == null ? void 0 : _g.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React24.createElement(
3599
- TableRow,
3600
- {
3601
- key: row.id,
3602
- "data-state": row.getIsSelected() && "selected"
3603
- },
3604
- row.getVisibleCells().map((cell) => {
3605
- var _a2;
3606
- return /* @__PURE__ */ React24.createElement(
3607
- TableCell,
3608
- {
3609
- key: cell.id,
3610
- dir: props.direction,
3611
- style: {
3612
- maxWidth: `${cell.column.columnDef.maxSize}px !important`,
3613
- minWidth: `${cell.column.columnDef.minSize}px !important`,
3614
- width: `${cell.column.columnDef.size}px !important`
3615
- },
3616
- padding: props.condensed ? "condensed" : (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.padding
3232
+ })))), /* @__PURE__ */ React24.createElement(TableBody, null, ((_g = table.getRowModel().rows) == null ? void 0 : _g.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React24.createElement(TableRow, { key: row.id, "data-state": row.getIsSelected() && "selected" }, row.getVisibleCells().map((cell) => {
3233
+ var _a2;
3234
+ return /* @__PURE__ */ React24.createElement(
3235
+ TableCell,
3236
+ {
3237
+ key: cell.id,
3238
+ dir: props.direction,
3239
+ style: {
3240
+ maxWidth: `${cell.column.columnDef.maxSize}px !important`,
3241
+ minWidth: `${cell.column.columnDef.minSize}px !important`,
3242
+ width: `${cell.column.columnDef.size}px !important`
3617
3243
  },
3618
- (0, import_react_table.flexRender)(
3619
- cell.column.columnDef.cell,
3620
- cell.getContext()
3621
- )
3622
- );
3623
- })
3624
- )) : /* @__PURE__ */ React24.createElement(TableRow, null, /* @__PURE__ */ React24.createElement(
3625
- TableCell,
3626
- {
3627
- colSpan: columns.length,
3628
- className: "hawa-h-24 hawa-text-center"
3629
- },
3630
- (_h = props.texts) == null ? void 0 : _h.noData
3631
- ))))),
3244
+ padding: props.condensed ? "condensed" : (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.padding
3245
+ },
3246
+ (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext())
3247
+ );
3248
+ }))) : /* @__PURE__ */ React24.createElement(TableRow, null, /* @__PURE__ */ React24.createElement(TableCell, { colSpan: columns.length, className: "hawa-h-24 hawa-text-center" }, (_h = props.texts) == null ? void 0 : _h.noData))))),
3632
3249
  /* @__PURE__ */ React24.createElement(
3633
3250
  "div",
3634
3251
  {
@@ -3638,16 +3255,7 @@ var DataTable = ({
3638
3255
  )
3639
3256
  },
3640
3257
  !props.showCount && /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm hawa-text-muted-foreground" }),
3641
- props.showCount || table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount ? /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex hawa-flex-row hawa-h-auto hawa-gap-4" }, /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex hawa-flex-row hawa-h-auto hawa-items-center hawa-justify-between" }, props.showCount && /* @__PURE__ */ React24.createElement(
3642
- "div",
3643
- {
3644
- className: "hawa-text-muted-foreground hawa-text-sm",
3645
- dir: props.direction
3646
- },
3647
- /* @__PURE__ */ React24.createElement("span", null, (_i = props.texts) == null ? void 0 : _i.total),
3648
- " ",
3649
- /* @__PURE__ */ React24.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
3650
- ), props.showCount && table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount && /* @__PURE__ */ React24.createElement("div", { className: "hawa-w-[0.5px] hawa-mx-2 hawa-bg-red-500 hawa-h-full" }), table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount && /* @__PURE__ */ React24.createElement(
3258
+ props.showCount || table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount ? /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex hawa-flex-row hawa-h-auto hawa-gap-4" }, /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex hawa-flex-row hawa-h-auto hawa-items-center hawa-justify-between" }, props.showCount && /* @__PURE__ */ React24.createElement("div", { className: "hawa-text-muted-foreground hawa-text-sm", dir: props.direction }, /* @__PURE__ */ React24.createElement("span", null, (_i = props.texts) == null ? void 0 : _i.total), " ", /* @__PURE__ */ React24.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())), props.showCount && table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount && /* @__PURE__ */ React24.createElement("div", { className: "hawa-w-[0.5px] hawa-mx-2 hawa-bg-red-500 hawa-h-full" }), table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount && /* @__PURE__ */ React24.createElement(
3651
3259
  "div",
3652
3260
  {
3653
3261
  className: "hawa-text-muted-foreground hawa-text-sm",
@@ -3668,9 +3276,7 @@ var DataTable = ({
3668
3276
  direction: props.direction,
3669
3277
  items: (props.bulkActions || []).map((action) => ({
3670
3278
  ...action,
3671
- action: () => action.action(
3672
- table.getFilteredSelectedRowModel().rows
3673
- )
3279
+ action: () => action.action(table.getFilteredSelectedRowModel().rows)
3674
3280
  })),
3675
3281
  trigger: /* @__PURE__ */ React24.createElement(Button, { size: "xs" }, ((_l = props.texts) == null ? void 0 : _l.bulkAction) || "Bulk Action")
3676
3282
  }
@@ -3724,9 +3330,7 @@ var DataTable = ({
3724
3330
  size: "smallIcon",
3725
3331
  onClick: () => table.setPageIndex(0),
3726
3332
  disabled: !table.getCanPreviousPage(),
3727
- className: cn(
3728
- props.direction === "rtl" && "hawa-rotate-180"
3729
- )
3333
+ className: cn(props.direction === "rtl" && "hawa-rotate-180")
3730
3334
  },
3731
3335
  /* @__PURE__ */ React24.createElement(
3732
3336
  "svg",
@@ -3752,9 +3356,7 @@ var DataTable = ({
3752
3356
  size: "smallIcon",
3753
3357
  onClick: () => table.previousPage(),
3754
3358
  disabled: !table.getCanPreviousPage(),
3755
- className: cn(
3756
- props.direction === "rtl" && "hawa-rotate-180"
3757
- )
3359
+ className: cn(props.direction === "rtl" && "hawa-rotate-180")
3758
3360
  },
3759
3361
  /* @__PURE__ */ React24.createElement(
3760
3362
  "svg",
@@ -3780,9 +3382,7 @@ var DataTable = ({
3780
3382
  size: "smallIcon",
3781
3383
  onClick: () => table.nextPage(),
3782
3384
  disabled: !table.getCanNextPage(),
3783
- className: cn(
3784
- props.direction === "ltr" && "hawa-rotate-180"
3785
- )
3385
+ className: cn(props.direction === "ltr" && "hawa-rotate-180")
3786
3386
  },
3787
3387
  /* @__PURE__ */ React24.createElement(
3788
3388
  "svg",
@@ -3808,9 +3408,7 @@ var DataTable = ({
3808
3408
  size: "smallIcon",
3809
3409
  onClick: () => table.setPageIndex(table.getPageCount() - 1),
3810
3410
  disabled: !table.getCanNextPage(),
3811
- className: cn(
3812
- props.direction === "ltr" && "hawa-rotate-180"
3813
- )
3411
+ className: cn(props.direction === "ltr" && "hawa-rotate-180")
3814
3412
  },
3815
3413
  /* @__PURE__ */ React24.createElement(
3816
3414
  "svg",
@@ -3933,21 +3531,19 @@ var import_react_tabs = require("@radix-ui/react-tabs");
3933
3531
  // elements/popover/Popover.tsx
3934
3532
  var React26 = __toESM(require("react"));
3935
3533
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
3936
- var PopoverContent = React26.forwardRef(
3937
- ({ className, align = "center", sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ React26.createElement(PopoverPrimitive.Portal, { container }, /* @__PURE__ */ React26.createElement(
3938
- PopoverPrimitive.Content,
3939
- {
3940
- ref,
3941
- align,
3942
- sideOffset,
3943
- className: cn(
3944
- "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",
3945
- className
3946
- ),
3947
- ...props
3948
- }
3949
- ))
3950
- );
3534
+ var PopoverContent = React26.forwardRef(({ className, align = "center", sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ React26.createElement(PopoverPrimitive.Portal, { container }, /* @__PURE__ */ React26.createElement(
3535
+ PopoverPrimitive.Content,
3536
+ {
3537
+ ref,
3538
+ align,
3539
+ sideOffset,
3540
+ className: cn(
3541
+ "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",
3542
+ className
3543
+ ),
3544
+ ...props
3545
+ }
3546
+ )));
3951
3547
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
3952
3548
  var Popover = ({
3953
3549
  trigger,
@@ -3967,15 +3563,7 @@ var Popover = ({
3967
3563
  trigger: "var(--radix-popover-trigger-width)",
3968
3564
  default: "auto"
3969
3565
  };
3970
- return /* @__PURE__ */ React26.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React26.createElement(
3971
- PopoverPrimitive.Trigger,
3972
- {
3973
- className: "hawa-w-full",
3974
- disabled: disableTrigger,
3975
- ...triggerProps
3976
- },
3977
- trigger
3978
- ), /* @__PURE__ */ React26.createElement(
3566
+ return /* @__PURE__ */ React26.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React26.createElement(PopoverPrimitive.Trigger, { className: "hawa-w-full", disabled: disableTrigger, ...triggerProps }, trigger), /* @__PURE__ */ React26.createElement(
3979
3567
  PopoverContent,
3980
3568
  {
3981
3569
  side,
@@ -4030,12 +3618,8 @@ var Radio = (0, import_react13.forwardRef)(
4030
3618
  default: "hawa-max-w-fit",
4031
3619
  full: "hawa-w-full"
4032
3620
  };
4033
- const [parentDirection, setParentDirection] = import_react13.default.useState(
4034
- null
4035
- );
4036
- const [selectedOption, setSelectedOption] = (0, import_react13.useState)(
4037
- props.defaultValue || props.value
4038
- );
3621
+ const [parentDirection, setParentDirection] = import_react13.default.useState(null);
3622
+ const [selectedOption, setSelectedOption] = (0, import_react13.useState)(props.defaultValue || props.value);
4039
3623
  const [openTooltip, setOpenTooltip] = (0, import_react13.useState)(null);
4040
3624
  const parentRef = (0, import_react13.useRef)(null);
4041
3625
  (0, import_react13.useEffect)(() => {
@@ -4064,89 +3648,78 @@ var Radio = (0, import_react13.forwardRef)(
4064
3648
  ];
4065
3649
  switch (design) {
4066
3650
  case "tabs":
4067
- return /* @__PURE__ */ import_react13.default.createElement(
4068
- "div",
3651
+ return /* @__PURE__ */ import_react13.default.createElement("div", { className: cn("hawa-gap-2 hawa-flex hawa-flex-col", containerClassNames == null ? void 0 : containerClassNames.tabs) }, props.label && /* @__PURE__ */ import_react13.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react13.default.createElement(import_react_tabs.Tabs, null, /* @__PURE__ */ import_react13.default.createElement(
3652
+ import_react_tabs.TabsList,
4069
3653
  {
3654
+ role: "tablist",
3655
+ ref: parentRef,
4070
3656
  className: cn(
4071
- "hawa-gap-2 hawa-flex hawa-flex-col",
4072
- containerClassNames == null ? void 0 : containerClassNames.tabs
3657
+ props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
3658
+ "hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium hawa-h-[40px]",
3659
+ orientationStyle[orientation],
3660
+ widthStyle[width],
3661
+ tabsContainerClassName,
3662
+ props.direction === "rtl" ? "hawa-flex-row-reverse" : ""
4073
3663
  )
4074
3664
  },
4075
- props.label && /* @__PURE__ */ import_react13.default.createElement(Label2, { ...labelProps }, props.label),
4076
- /* @__PURE__ */ import_react13.default.createElement(import_react_tabs.Tabs, null, /* @__PURE__ */ import_react13.default.createElement(
4077
- import_react_tabs.TabsList,
4078
- {
4079
- role: "tablist",
4080
- ref: parentRef,
4081
- className: cn(
4082
- props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
4083
- "hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium hawa-h-[40px]",
4084
- orientationStyle[orientation],
4085
- widthStyle[width],
4086
- tabsContainerClassName,
4087
- props.direction === "rtl" ? "hawa-flex-row-reverse" : ""
4088
- )
4089
- },
4090
- (_b = props.options) == null ? void 0 : _b.map((opt, o) => {
4091
- return opt.tooltip ? /* @__PURE__ */ import_react13.default.createElement(
4092
- PopoverRoot,
3665
+ (_b = props.options) == null ? void 0 : _b.map((opt, o) => {
3666
+ return opt.tooltip ? /* @__PURE__ */ import_react13.default.createElement(
3667
+ PopoverRoot,
3668
+ {
3669
+ key: o,
3670
+ open: o === openTooltip,
3671
+ onOpenChange: (bool) => setOpenTooltip(bool ? o : null)
3672
+ },
3673
+ /* @__PURE__ */ import_react13.default.createElement(
3674
+ PopoverTrigger,
4093
3675
  {
4094
- key: o,
4095
- open: o === openTooltip,
4096
- onOpenChange: (bool) => setOpenTooltip(bool ? o : null)
3676
+ onMouseEnter: () => setOpenTooltip(o),
3677
+ onMouseLeave: () => setOpenTooltip(null),
3678
+ asChild: true
4097
3679
  },
4098
3680
  /* @__PURE__ */ import_react13.default.createElement(
4099
- PopoverTrigger,
3681
+ import_react_tabs.TabsTrigger,
4100
3682
  {
4101
- onMouseEnter: () => setOpenTooltip(o),
4102
- onMouseLeave: () => setOpenTooltip(null),
4103
- asChild: true
4104
- },
4105
- /* @__PURE__ */ import_react13.default.createElement(
4106
- import_react_tabs.TabsTrigger,
4107
- {
4108
- "aria-current": selectedOption === opt.value ? "page" : void 0,
4109
- value: opt.value,
4110
- role: "tab",
4111
- tabIndex: 0,
4112
- onClick: () => {
4113
- if (props.disabled || opt.disabled) return;
4114
- handleChange(opt);
4115
- },
4116
- className: cn(
4117
- ...radio_option_tabs_styling,
4118
- selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
4119
- )
3683
+ "aria-current": selectedOption === opt.value ? "page" : void 0,
3684
+ value: opt.value,
3685
+ role: "tab",
3686
+ tabIndex: 0,
3687
+ onClick: () => {
3688
+ if (props.disabled || opt.disabled) return;
3689
+ handleChange(opt);
4120
3690
  },
4121
- opt.icon && opt.icon,
4122
- opt.label
4123
- )
4124
- ),
4125
- /* @__PURE__ */ import_react13.default.createElement(PopoverContent, { ...opt.tooltipContentProps }, opt.tooltip)
4126
- ) : /* @__PURE__ */ import_react13.default.createElement(
4127
- import_react_tabs.TabsTrigger,
4128
- {
4129
- key: o,
4130
- role: "tab",
4131
- tabIndex: 0,
4132
- "aria-current": selectedOption === opt.value ? "page" : void 0,
4133
- onClick: () => {
4134
- if (props.disabled || opt.disabled) return;
4135
- handleChange(opt);
3691
+ className: cn(
3692
+ ...radio_option_tabs_styling,
3693
+ selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
3694
+ )
4136
3695
  },
4137
- className: cn(
4138
- ...radio_option_tabs_styling,
4139
- selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
4140
- ),
4141
- value: opt.value
3696
+ opt.icon && opt.icon,
3697
+ opt.label
3698
+ )
3699
+ ),
3700
+ /* @__PURE__ */ import_react13.default.createElement(PopoverContent, { ...opt.tooltipContentProps }, opt.tooltip)
3701
+ ) : /* @__PURE__ */ import_react13.default.createElement(
3702
+ import_react_tabs.TabsTrigger,
3703
+ {
3704
+ key: o,
3705
+ role: "tab",
3706
+ tabIndex: 0,
3707
+ "aria-current": selectedOption === opt.value ? "page" : void 0,
3708
+ onClick: () => {
3709
+ if (props.disabled || opt.disabled) return;
3710
+ handleChange(opt);
4142
3711
  },
4143
- opt.icon && opt.icon,
4144
- opt.label
4145
- );
4146
- })
4147
- )),
4148
- !forceHideHelperText && /* @__PURE__ */ import_react13.default.createElement(HelperText, { helperText: props.helperText })
4149
- );
3712
+ className: cn(
3713
+ ...radio_option_tabs_styling,
3714
+ selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
3715
+ ),
3716
+ value: opt.value
3717
+ },
3718
+ opt.icon && opt.icon,
3719
+ opt.label
3720
+ );
3721
+ })
3722
+ )), !forceHideHelperText && /* @__PURE__ */ import_react13.default.createElement(HelperText, { helperText: props.helperText }));
4150
3723
  case "bordered":
4151
3724
  return /* @__PURE__ */ import_react13.default.createElement(
4152
3725
  "div",
@@ -4194,11 +3767,7 @@ var Radio = (0, import_react13.forwardRef)(
4194
3767
  return /* @__PURE__ */ import_react13.default.createElement(
4195
3768
  "ul",
4196
3769
  {
4197
- className: cn(
4198
- orientationStyle[orientation],
4199
- "hawa-gap-4",
4200
- containerClassNames == null ? void 0 : containerClassNames.cards
4201
- )
3770
+ className: cn(orientationStyle[orientation], "hawa-gap-4", containerClassNames == null ? void 0 : containerClassNames.cards)
4202
3771
  },
4203
3772
  (_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react13.default.createElement("li", { key: o, onClick: () => handleChange(opt) }, /* @__PURE__ */ import_react13.default.createElement(
4204
3773
  "input",
@@ -4224,49 +3793,38 @@ var Radio = (0, import_react13.forwardRef)(
4224
3793
  )))
4225
3794
  );
4226
3795
  default:
4227
- return /* @__PURE__ */ import_react13.default.createElement(
3796
+ return /* @__PURE__ */ import_react13.default.createElement("div", { className: cn("hawa-flex hawa-flex-col hawa-gap-2", containerClassNames == null ? void 0 : containerClassNames.default) }, props.label && /* @__PURE__ */ import_react13.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react13.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react13.default.createElement(
4228
3797
  "div",
4229
3798
  {
4230
3799
  className: cn(
4231
- "hawa-flex hawa-flex-col hawa-gap-2",
4232
- containerClassNames == null ? void 0 : containerClassNames.default
4233
- )
3800
+ "radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
3801
+ props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
3802
+ ),
3803
+ key: i + 1
4234
3804
  },
4235
- props.label && /* @__PURE__ */ import_react13.default.createElement(Label2, { ...labelProps }, props.label),
4236
- /* @__PURE__ */ import_react13.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react13.default.createElement(
4237
- "div",
3805
+ /* @__PURE__ */ import_react13.default.createElement(
3806
+ "input",
3807
+ {
3808
+ disabled: opt.disabled,
3809
+ id: opt.value.toString(),
3810
+ type: "radio",
3811
+ value: opt.value,
3812
+ name,
3813
+ onChange: () => handleChange(opt)
3814
+ }
3815
+ ),
3816
+ /* @__PURE__ */ import_react13.default.createElement(
3817
+ "label",
4238
3818
  {
3819
+ htmlFor: opt.value.toString(),
4239
3820
  className: cn(
4240
- "radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
4241
- props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
4242
- ),
4243
- key: i + 1
3821
+ "hawa-text-sm hawa-font-medium dark:hawa-text-white",
3822
+ opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
3823
+ )
4244
3824
  },
4245
- /* @__PURE__ */ import_react13.default.createElement(
4246
- "input",
4247
- {
4248
- disabled: opt.disabled,
4249
- id: opt.value.toString(),
4250
- type: "radio",
4251
- value: opt.value,
4252
- name,
4253
- onChange: () => handleChange(opt)
4254
- }
4255
- ),
4256
- /* @__PURE__ */ import_react13.default.createElement(
4257
- "label",
4258
- {
4259
- htmlFor: opt.value.toString(),
4260
- className: cn(
4261
- "hawa-text-sm hawa-font-medium dark:hawa-text-white",
4262
- opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
4263
- )
4264
- },
4265
- opt.label
4266
- )
4267
- ))),
4268
- /* @__PURE__ */ import_react13.default.createElement(HelperText, { helperText: props.helperText })
4269
- );
3825
+ opt.label
3826
+ )
3827
+ ))), /* @__PURE__ */ import_react13.default.createElement(HelperText, { helperText: props.helperText }));
4270
3828
  }
4271
3829
  }
4272
3830
  );
@@ -4279,66 +3837,57 @@ var PopoverPrimitive2 = __toESM(require("@radix-ui/react-popover"));
4279
3837
  var React28 = __toESM(require("react"));
4280
3838
  var import_react_dialog = require("@radix-ui/react-dialog");
4281
3839
  var import_cmdk = require("cmdk");
4282
- var Command = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4283
- import_cmdk.Command,
4284
- {
4285
- ref,
4286
- className: cn(
4287
- "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-overflow-hidden hawa-rounded-md hawa-bg-popover hawa-text-popover-foreground",
4288
- className
4289
- ),
4290
- ...props
4291
- }
4292
- ));
4293
- var CommandDialog = ({ children, ...props }) => {
4294
- return /* @__PURE__ */ React28.createElement(import_react_dialog.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)));
4295
- };
4296
- var CommandInput = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4297
- "div",
4298
- {
4299
- className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
4300
- "cmdk-input-wrapper": ""
4301
- },
4302
- /* @__PURE__ */ React28.createElement(
4303
- "svg",
4304
- {
4305
- "aria-label": "Search Icon",
4306
- xmlns: "http://www.w3.org/2000/svg",
4307
- width: "24",
4308
- height: "24",
4309
- viewBox: "0 0 24 24",
4310
- fill: "none",
4311
- stroke: "currentColor",
4312
- strokeWidth: "2",
4313
- strokeLinecap: "round",
4314
- strokeLinejoin: "round",
4315
- className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
4316
- },
4317
- /* @__PURE__ */ React28.createElement("circle", { cx: "11", cy: "11", r: "8" }),
4318
- /* @__PURE__ */ React28.createElement("path", { d: "m21 21-4.3-4.3" })
4319
- ),
4320
- /* @__PURE__ */ React28.createElement(
4321
- import_cmdk.Command.Input,
3840
+ var Command = React28.forwardRef(
3841
+ ({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
3842
+ import_cmdk.Command,
4322
3843
  {
4323
3844
  ref,
4324
3845
  className: cn(
4325
- "hawa-flex hawa-h-11 hawa-w-full hawa-rounded-md hawa-bg-transparent hawa-py-3 hawa-text-sm hawa-outline-none placeholder:hawa-text-muted-foreground disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50",
3846
+ "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-overflow-hidden hawa-rounded-md hawa-bg-popover hawa-text-popover-foreground",
4326
3847
  className
4327
3848
  ),
4328
3849
  ...props
4329
3850
  }
4330
3851
  )
4331
- ));
4332
- var CommandList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
4333
- import_cmdk.Command.List,
3852
+ );
3853
+ var CommandDialog = ({ children, ...props }) => {
3854
+ return /* @__PURE__ */ React28.createElement(import_react_dialog.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)));
3855
+ };
3856
+ var CommandInput = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement("div", { className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3", "cmdk-input-wrapper": "" }, /* @__PURE__ */ React28.createElement(
3857
+ "svg",
3858
+ {
3859
+ "aria-label": "Search Icon",
3860
+ xmlns: "http://www.w3.org/2000/svg",
3861
+ width: "24",
3862
+ height: "24",
3863
+ viewBox: "0 0 24 24",
3864
+ fill: "none",
3865
+ stroke: "currentColor",
3866
+ strokeWidth: "2",
3867
+ strokeLinecap: "round",
3868
+ strokeLinejoin: "round",
3869
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
3870
+ },
3871
+ /* @__PURE__ */ React28.createElement("circle", { cx: "11", cy: "11", r: "8" }),
3872
+ /* @__PURE__ */ React28.createElement("path", { d: "m21 21-4.3-4.3" })
3873
+ ), /* @__PURE__ */ React28.createElement(
3874
+ import_cmdk.Command.Input,
4334
3875
  {
4335
3876
  ref,
4336
3877
  className: cn(
4337
- "hawa-max-h-[300px] hawa-overflow-y-auto hawa-overflow-x-hidden",
3878
+ "hawa-flex hawa-h-11 hawa-w-full hawa-rounded-md hawa-bg-transparent hawa-py-3 hawa-text-sm hawa-outline-none placeholder:hawa-text-muted-foreground disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50",
4338
3879
  className
4339
3880
  ),
4340
3881
  ...props
4341
3882
  }
3883
+ )));
3884
+ var CommandList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React28.createElement(
3885
+ import_cmdk.Command.List,
3886
+ {
3887
+ ref,
3888
+ className: cn("hawa-max-h-[300px] hawa-overflow-y-auto hawa-overflow-x-hidden", className),
3889
+ ...props
3890
+ }
4342
3891
  ));
4343
3892
  var CommandEmpty = React28.forwardRef((props, ref) => /* @__PURE__ */ React28.createElement(
4344
3893
  import_cmdk.Command.Empty,
@@ -4394,52 +3943,30 @@ var CommandShortcut = ({
4394
3943
  }
4395
3944
  );
4396
3945
  };
4397
- var FullCommand = ({
4398
- items,
4399
- direction = "ltr",
4400
- texts,
4401
- onActionClick
4402
- }) => {
4403
- return /* @__PURE__ */ React28.createElement(
4404
- Command,
4405
- {
4406
- dir: direction,
4407
- className: "hawa-rounded-lg hawa-border hawa-shadow-md !hawa-h-full"
4408
- },
4409
- /* @__PURE__ */ React28.createElement(
4410
- CommandInput,
4411
- {
4412
- placeholder: (texts == null ? void 0 : texts.searchPlaceholder) || "Type a command or search..."
4413
- }
4414
- ),
4415
- /* @__PURE__ */ React28.createElement(CommandList, null, /* @__PURE__ */ React28.createElement(CommandEmpty, null, (texts == null ? void 0 : texts.emptyText) || "No results found."), items.map((item, index) => {
4416
- var _a;
4417
- if (item.type === "group") {
4418
- return /* @__PURE__ */ React28.createElement(CommandGroup, { heading: item.heading, key: index }, (_a = item.items) == null ? void 0 : _a.map((subItem, subIndex) => /* @__PURE__ */ React28.createElement(
4419
- CommandItem,
4420
- {
4421
- key: subIndex,
4422
- onSelect: () => {
4423
- if (onActionClick) onActionClick();
4424
- subItem.action();
4425
- }
4426
- },
4427
- /* @__PURE__ */ React28.createElement(subItem.icon, { className: "hawa-icon hawa-me-2" }),
4428
- /* @__PURE__ */ React28.createElement("span", null, subItem.label),
4429
- subItem.shortcut && /* @__PURE__ */ React28.createElement(CommandShortcut, null, subItem.shortcut)
4430
- )));
4431
- } else if (item.type === "separator") {
4432
- return /* @__PURE__ */ React28.createElement(CommandSeparator, { key: index });
4433
- }
4434
- return null;
4435
- }))
4436
- );
3946
+ var FullCommand = ({ items, direction = "ltr", texts, onActionClick }) => {
3947
+ return /* @__PURE__ */ React28.createElement(Command, { dir: direction, className: "hawa-rounded-lg hawa-border hawa-shadow-md !hawa-h-full" }, /* @__PURE__ */ React28.createElement(CommandInput, { placeholder: (texts == null ? void 0 : texts.searchPlaceholder) || "Type a command or search..." }), /* @__PURE__ */ React28.createElement(CommandList, null, /* @__PURE__ */ React28.createElement(CommandEmpty, null, (texts == null ? void 0 : texts.emptyText) || "No results found."), items.map((item, index) => {
3948
+ var _a;
3949
+ if (item.type === "group") {
3950
+ return /* @__PURE__ */ React28.createElement(CommandGroup, { heading: item.heading, key: index }, (_a = item.items) == null ? void 0 : _a.map((subItem, subIndex) => /* @__PURE__ */ React28.createElement(
3951
+ CommandItem,
3952
+ {
3953
+ key: subIndex,
3954
+ onSelect: () => {
3955
+ if (onActionClick) onActionClick();
3956
+ subItem.action();
3957
+ }
3958
+ },
3959
+ /* @__PURE__ */ React28.createElement(subItem.icon, { className: "hawa-icon hawa-me-2" }),
3960
+ /* @__PURE__ */ React28.createElement("span", null, subItem.label),
3961
+ subItem.shortcut && /* @__PURE__ */ React28.createElement(CommandShortcut, null, subItem.shortcut)
3962
+ )));
3963
+ } else if (item.type === "separator") {
3964
+ return /* @__PURE__ */ React28.createElement(CommandSeparator, { key: index });
3965
+ }
3966
+ return null;
3967
+ })));
4437
3968
  };
4438
- var AppCommand = ({
4439
- commandProps,
4440
- dialogProps,
4441
- onActionClick
4442
- }) => {
3969
+ var AppCommand = ({ commandProps, dialogProps, onActionClick }) => {
4443
3970
  return /* @__PURE__ */ React28.createElement(import_react_dialog.Dialog, { ...dialogProps }, /* @__PURE__ */ React28.createElement(
4444
3971
  DialogContent,
4445
3972
  {
@@ -4485,9 +4012,7 @@ var Combobox = React29.forwardRef(
4485
4012
  setOpen(open2);
4486
4013
  }
4487
4014
  };
4488
- const selectedItem = data.find(
4489
- (item) => getProperty(item, valueKey) === value
4490
- );
4015
+ const selectedItem = data.find((item) => getProperty(item, valueKey) === value);
4491
4016
  return /* @__PURE__ */ React29.createElement(
4492
4017
  "div",
4493
4018
  {
@@ -4548,8 +4073,7 @@ var Combobox = React29.forwardRef(
4548
4073
  Command,
4549
4074
  {
4550
4075
  filter: (value2, search) => {
4551
- if (value2.toLowerCase().includes(search.toLowerCase()))
4552
- return 1;
4076
+ if (value2.toLowerCase().includes(search.toLowerCase())) return 1;
4553
4077
  return 0;
4554
4078
  }
4555
4079
  },
@@ -4565,10 +4089,7 @@ var Combobox = React29.forwardRef(
4565
4089
  /* @__PURE__ */ React29.createElement(CommandList, null, /* @__PURE__ */ React29.createElement(
4566
4090
  CommandGroup,
4567
4091
  {
4568
- className: cn(
4569
- "hawa-max-h-[200px]",
4570
- data.length > 0 && "hawa-overflow-y-auto"
4571
- )
4092
+ className: cn("hawa-max-h-[200px]", data.length > 0 && "hawa-overflow-y-auto")
4572
4093
  },
4573
4094
  data.map((item, i) => /* @__PURE__ */ React29.createElement(
4574
4095
  CommandItem,
@@ -4576,13 +4097,9 @@ var Combobox = React29.forwardRef(
4576
4097
  key: i,
4577
4098
  onSelect: () => {
4578
4099
  const newValue = getProperty(item, valueKey);
4579
- setValue(
4580
- newValue === value ? "" : newValue
4581
- );
4100
+ setValue(newValue === value ? "" : newValue);
4582
4101
  if (props.onChange) {
4583
- props.onChange(
4584
- newValue === value ? "" : newValue
4585
- );
4102
+ props.onChange(newValue === value ? "" : newValue);
4586
4103
  }
4587
4104
  setOpen(false);
4588
4105
  }
@@ -4640,15 +4157,7 @@ var Textarea = React30.forwardRef(
4640
4157
  className
4641
4158
  )
4642
4159
  },
4643
- /* @__PURE__ */ React30.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React30.createElement(Label2, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React30.createElement(
4644
- "div",
4645
- {
4646
- className: "hawa-text-start hawa-text-xs hawa-transition-all hawa-leading-none"
4647
- },
4648
- (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0,
4649
- "/",
4650
- textareaProps == null ? void 0 : textareaProps.maxLength
4651
- )),
4160
+ /* @__PURE__ */ React30.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React30.createElement(Label2, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React30.createElement("div", { className: "hawa-text-start hawa-text-xs hawa-transition-all hawa-leading-none" }, (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0, "/", textareaProps == null ? void 0 : textareaProps.maxLength)),
4652
4161
  isLoading ? /* @__PURE__ */ React30.createElement(Skeleton, { style: { height: 40 } }) : /* @__PURE__ */ React30.createElement(
4653
4162
  "textarea",
4654
4163
  {
@@ -4691,13 +4200,7 @@ var FileDropzone = ({
4691
4200
  var _a, _b, _c, _d, _e, _f;
4692
4201
  const [cmp, setCmp] = (0, import_react14.useState)(0);
4693
4202
  const [max, setMax] = (0, import_react14.useState)(0);
4694
- const {
4695
- getRootProps,
4696
- getInputProps,
4697
- fileRejections,
4698
- acceptedFiles,
4699
- isDragActive
4700
- } = (0, import_react_dropzone.useDropzone)({
4203
+ const { getRootProps, getInputProps, fileRejections, acceptedFiles, isDragActive } = (0, import_react_dropzone.useDropzone)({
4701
4204
  multiple: true,
4702
4205
  accept,
4703
4206
  maxSize,
@@ -4737,53 +4240,19 @@ var FileDropzone = ({
4737
4240
  const k = 1024;
4738
4241
  const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
4739
4242
  const i = Math.floor(Math.log(maxSize) / Math.log(1024));
4740
- setMax(
4741
- parseFloat((maxSize / Math.pow(1024, i)).toFixed(2)) + " " + sizes[i]
4742
- );
4243
+ setMax(parseFloat((maxSize / Math.pow(1024, i)).toFixed(2)) + " " + sizes[i]);
4743
4244
  }
4744
4245
  }, [maxSize]);
4745
4246
  const errs = fileRejections.map((rej, i) => {
4746
4247
  switch (rej.errors[0].code) {
4747
4248
  case "file-too-large":
4748
- return /* @__PURE__ */ import_react14.default.createElement(
4749
- Alert,
4750
- {
4751
- key: i,
4752
- text: rej.file.name,
4753
- title: texts.fileTooLarge,
4754
- severity: "error"
4755
- }
4756
- );
4249
+ return /* @__PURE__ */ import_react14.default.createElement(Alert, { key: i, text: rej.file.name, title: texts.fileTooLarge, severity: "error" });
4757
4250
  case "too-many-files":
4758
- return /* @__PURE__ */ import_react14.default.createElement(
4759
- Alert,
4760
- {
4761
- key: i,
4762
- text: rej.file.name,
4763
- title: texts.tooManyFiles,
4764
- severity: "error"
4765
- }
4766
- );
4251
+ return /* @__PURE__ */ import_react14.default.createElement(Alert, { key: i, text: rej.file.name, title: texts.tooManyFiles, severity: "error" });
4767
4252
  case "file-invalid-type":
4768
- return /* @__PURE__ */ import_react14.default.createElement(
4769
- Alert,
4770
- {
4771
- key: i,
4772
- text: rej.file.name,
4773
- title: texts.invalidFileType,
4774
- severity: "error"
4775
- }
4776
- );
4253
+ return /* @__PURE__ */ import_react14.default.createElement(Alert, { key: i, text: rej.file.name, title: texts.invalidFileType, severity: "error" });
4777
4254
  default:
4778
- return /* @__PURE__ */ import_react14.default.createElement(
4779
- Alert,
4780
- {
4781
- key: i,
4782
- text: rej.file.name,
4783
- title: rej.errors[0].code,
4784
- severity: "error"
4785
- }
4786
- );
4255
+ return /* @__PURE__ */ import_react14.default.createElement(Alert, { key: i, text: rej.file.name, title: rej.errors[0].code, severity: "error" });
4787
4256
  }
4788
4257
  });
4789
4258
  const thumbs = files == null ? void 0 : files.map((file, index) => /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-relative hawa-rounded", key: index }, /* @__PURE__ */ import_react14.default.createElement(
@@ -4870,21 +4339,7 @@ var FileDropzone = ({
4870
4339
  acceptedFiles.length > 0 && /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg hawa-p-2" }, /* @__PURE__ */ import_react14.default.createElement(Button, { onClick: clearAllFiles }, "Clear All")),
4871
4340
  acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ import_react14.default.createElement("aside", { className: "hawa-flex hawa-flex-row hawa-flex-wrap hawa-justify-center hawa-gap-2 hawa-rounded-lg hawa-p-2" }, thumbs) : null,
4872
4341
  /* @__PURE__ */ import_react14.default.createElement("div", { className: "px-4" }, ((_b = (_a = fileRejections[0]) == null ? void 0 : _a.errors[0]) == null ? void 0 : _b.code) && errs)
4873
- ), disclaimer && /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-mt-2 hawa-text-sm hawa-text-muted-foreground/50" }, (_c = texts.disclaimer) != null ? _c : "By uploading a file you agree to our", " ", /* @__PURE__ */ import_react14.default.createElement(
4874
- "a",
4875
- {
4876
- href: termsLink,
4877
- className: "clickable-link hawa-text-muted-foreground/50"
4878
- },
4879
- (_d = texts.terms) != null ? _d : "Terms"
4880
- ), " ", (_e = texts.and) != null ? _e : "and", " ", /* @__PURE__ */ import_react14.default.createElement(
4881
- "a",
4882
- {
4883
- href: privacyLink,
4884
- className: "clickable-link hawa-text-muted-foreground/50"
4885
- },
4886
- (_f = texts.privacyPolicy) != null ? _f : "Privacy Policy"
4887
- )));
4342
+ ), disclaimer && /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-mt-2 hawa-text-sm hawa-text-muted-foreground/50" }, (_c = texts.disclaimer) != null ? _c : "By uploading a file you agree to our", " ", /* @__PURE__ */ import_react14.default.createElement("a", { href: termsLink, className: "clickable-link hawa-text-muted-foreground/50" }, (_d = texts.terms) != null ? _d : "Terms"), " ", (_e = texts.and) != null ? _e : "and", " ", /* @__PURE__ */ import_react14.default.createElement("a", { href: privacyLink, className: "clickable-link hawa-text-muted-foreground/50" }, (_f = texts.privacyPolicy) != null ? _f : "Privacy Policy")));
4888
4343
  };
4889
4344
 
4890
4345
  // elements/sortButton/SortButton.tsx
@@ -4965,9 +4420,7 @@ var reducer = (state, action) => {
4965
4420
  case "UPDATE_TOAST":
4966
4421
  return {
4967
4422
  ...state,
4968
- toasts: state.toasts.map(
4969
- (t) => t.id === action.toast.id ? { ...t, ...action.toast } : t
4970
- )
4423
+ toasts: state.toasts.map((t) => t.id === action.toast.id ? { ...t, ...action.toast } : t)
4971
4424
  };
4972
4425
  case "DISMISS_TOAST": {
4973
4426
  const { toastId } = action;
@@ -5263,10 +4716,7 @@ function useMediaQuery(query, initialValue, { getInitialValueInEffect } = {
5263
4716
  if ("matchMedia" in window) {
5264
4717
  queryRef.current = window.matchMedia(query);
5265
4718
  setMatches(queryRef.current.matches);
5266
- return attachMediaListener(
5267
- queryRef.current,
5268
- (event) => setMatches(event.matches)
5269
- );
4719
+ return attachMediaListener(queryRef.current, (event) => setMatches(event.matches));
5270
4720
  }
5271
4721
  return void 0;
5272
4722
  }, [query]);
@@ -5348,21 +4798,15 @@ function useClickOutside(handler, events, nodes) {
5348
4798
  const { target } = event != null ? event : {};
5349
4799
  if (Array.isArray(nodes)) {
5350
4800
  const shouldIgnore = (target == null ? void 0 : target.hasAttribute("data-ignore-outside-clicks")) || !document.body.contains(target) && target.tagName !== "HTML";
5351
- const shouldTrigger = nodes.every(
5352
- (node) => !!node && !event.composedPath().includes(node)
5353
- );
4801
+ const shouldTrigger = nodes.every((node) => !!node && !event.composedPath().includes(node));
5354
4802
  shouldTrigger && !shouldIgnore && handler();
5355
4803
  } else if (ref.current && !ref.current.contains(target)) {
5356
4804
  handler();
5357
4805
  }
5358
4806
  };
5359
- (events || DEFAULT_EVENTS).forEach(
5360
- (fn) => document.addEventListener(fn, listener)
5361
- );
4807
+ (events || DEFAULT_EVENTS).forEach((fn) => document.addEventListener(fn, listener));
5362
4808
  return () => {
5363
- (events || DEFAULT_EVENTS).forEach(
5364
- (fn) => document.removeEventListener(fn, listener)
5365
- );
4809
+ (events || DEFAULT_EVENTS).forEach((fn) => document.removeEventListener(fn, listener));
5366
4810
  };
5367
4811
  }, [ref, handler, nodes]);
5368
4812
  return ref;
@@ -5440,16 +4884,14 @@ function shouldFireEvent(event, tagsToIgnore, triggerOnContentEditable = false)
5440
4884
  function useShortcuts(hotkeys, tagsToIgnore = ["INPUT", "TEXTAREA", "SELECT"], triggerOnContentEditable = false) {
5441
4885
  (0, import_react32.useEffect)(() => {
5442
4886
  const keydownListener = (event) => {
5443
- hotkeys.forEach(
5444
- ([hotkey, handler, options = { preventDefault: true }]) => {
5445
- if (getHotkeyMatcher(hotkey)(event) && shouldFireEvent(event, tagsToIgnore, triggerOnContentEditable)) {
5446
- if (options.preventDefault) {
5447
- event.preventDefault();
5448
- }
5449
- handler(event);
4887
+ hotkeys.forEach(([hotkey, handler, options = { preventDefault: true }]) => {
4888
+ if (getHotkeyMatcher(hotkey)(event) && shouldFireEvent(event, tagsToIgnore, triggerOnContentEditable)) {
4889
+ if (options.preventDefault) {
4890
+ event.preventDefault();
5450
4891
  }
4892
+ handler(event);
5451
4893
  }
5452
- );
4894
+ });
5453
4895
  };
5454
4896
  document.documentElement.addEventListener("keydown", keydownListener);
5455
4897
  return () => document.documentElement.removeEventListener("keydown", keydownListener);
@@ -5689,83 +5131,75 @@ var Tabs2 = React42.forwardRef(
5689
5131
  /* @__PURE__ */ React42.createElement(TabsContext.Provider, { value: { orientation, variant, scrollable } }, props.children)
5690
5132
  )
5691
5133
  );
5692
- var TabsList2 = React42.forwardRef(({ className, classNames, ...props }, ref) => {
5693
- const { orientation, variant, scrollable } = React42.useContext(TabsContext);
5694
- const { width } = useViewportSize();
5695
- if (scrollable && width < 768 && orientation === "horizontal") {
5696
- return /* @__PURE__ */ React42.createElement(ScrollArea, { orientation: "horizontal", className: classNames == null ? void 0 : classNames.scrollArea }, /* @__PURE__ */ React42.createElement(
5697
- TabsPrimitive.List,
5698
- {
5699
- ref,
5700
- className: cn(
5701
- tabsListVariant({ variant, orientation }),
5702
- "hawa-flex-row hawa-flex-nowrap",
5703
- className
5704
- ),
5705
- ...props
5706
- }
5707
- ));
5708
- } else {
5709
- return /* @__PURE__ */ React42.createElement(
5710
- TabsPrimitive.List,
5711
- {
5712
- ref,
5713
- className: cn(
5714
- tabsListVariant({ variant, orientation }),
5715
- orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
5716
- "hawa-flex-wrap",
5717
- className
5718
- ),
5719
- ...props
5720
- }
5721
- );
5722
- }
5723
- });
5724
- var TabsTrigger2 = React42.forwardRef(
5725
- ({ className, chipProps, withPopover = false, onPopoverClick, ...props }, ref) => {
5726
- const { orientation, variant } = React42.useContext(TabsContext);
5727
- if (withPopover) {
5728
- return /* @__PURE__ */ React42.createElement(Popover2.Root, { open: props.showPopover }, /* @__PURE__ */ React42.createElement(Popover2.Anchor, { asChild: true }, /* @__PURE__ */ React42.createElement(
5729
- TabsPrimitive.Trigger,
5134
+ var TabsList2 = React42.forwardRef(
5135
+ ({ className, classNames, ...props }, ref) => {
5136
+ const { orientation, variant, scrollable } = React42.useContext(TabsContext);
5137
+ const { width } = useViewportSize();
5138
+ if (scrollable && width < 768 && orientation === "horizontal") {
5139
+ return /* @__PURE__ */ React42.createElement(ScrollArea, { orientation: "horizontal", className: classNames == null ? void 0 : classNames.scrollArea }, /* @__PURE__ */ React42.createElement(
5140
+ TabsPrimitive.List,
5730
5141
  {
5142
+ ref,
5731
5143
  className: cn(
5732
- tabsTriggerVariant({ variant, orientation }),
5733
- "hawa-relative",
5144
+ tabsListVariant({ variant, orientation }),
5145
+ "hawa-flex-row hawa-flex-nowrap",
5734
5146
  className
5735
5147
  ),
5736
5148
  ...props
5737
- },
5738
- props.children,
5739
- chipProps && /* @__PURE__ */ React42.createElement(Chip, { ...chipProps })
5740
- )), /* @__PURE__ */ React42.createElement(
5741
- Popover2.Content,
5742
- {
5743
- onClick: onPopoverClick,
5744
- asChild: true,
5745
- className: cn(
5746
- "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",
5747
- "hawa-arrow-default-top hawa-mt-2"
5748
- )
5749
- },
5750
- /* @__PURE__ */ React42.createElement("div", { className: "hawa-p-2" }, " ", props.popoverContent)
5149
+ }
5751
5150
  ));
5752
5151
  } else {
5753
5152
  return /* @__PURE__ */ React42.createElement(
5754
- TabsPrimitive.Trigger,
5153
+ TabsPrimitive.List,
5755
5154
  {
5155
+ ref,
5756
5156
  className: cn(
5757
- tabsTriggerVariant({ variant, orientation }),
5758
- "hawa-relative",
5157
+ tabsListVariant({ variant, orientation }),
5158
+ orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
5159
+ "hawa-flex-wrap",
5759
5160
  className
5760
5161
  ),
5761
5162
  ...props
5762
- },
5763
- props.children,
5764
- chipProps && /* @__PURE__ */ React42.createElement(Chip, { ...chipProps })
5163
+ }
5765
5164
  );
5766
5165
  }
5767
5166
  }
5768
5167
  );
5168
+ var TabsTrigger2 = React42.forwardRef(({ className, chipProps, withPopover = false, onPopoverClick, ...props }, ref) => {
5169
+ const { orientation, variant } = React42.useContext(TabsContext);
5170
+ if (withPopover) {
5171
+ return /* @__PURE__ */ React42.createElement(Popover2.Root, { open: props.showPopover }, /* @__PURE__ */ React42.createElement(Popover2.Anchor, { asChild: true }, /* @__PURE__ */ React42.createElement(
5172
+ TabsPrimitive.Trigger,
5173
+ {
5174
+ className: cn(tabsTriggerVariant({ variant, orientation }), "hawa-relative", className),
5175
+ ...props
5176
+ },
5177
+ props.children,
5178
+ chipProps && /* @__PURE__ */ React42.createElement(Chip, { ...chipProps })
5179
+ )), /* @__PURE__ */ React42.createElement(
5180
+ Popover2.Content,
5181
+ {
5182
+ onClick: onPopoverClick,
5183
+ asChild: true,
5184
+ className: cn(
5185
+ "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",
5186
+ "hawa-arrow-default-top hawa-mt-2"
5187
+ )
5188
+ },
5189
+ /* @__PURE__ */ React42.createElement("div", { className: "hawa-p-2" }, " ", props.popoverContent)
5190
+ ));
5191
+ } else {
5192
+ return /* @__PURE__ */ React42.createElement(
5193
+ TabsPrimitive.Trigger,
5194
+ {
5195
+ className: cn(tabsTriggerVariant({ variant, orientation }), "hawa-relative", className),
5196
+ ...props
5197
+ },
5198
+ props.children,
5199
+ chipProps && /* @__PURE__ */ React42.createElement(Chip, { ...chipProps })
5200
+ );
5201
+ }
5202
+ });
5769
5203
  var TabsContent = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React42.createElement(
5770
5204
  TabsPrimitive.Content,
5771
5205
  {
@@ -5959,9 +5393,7 @@ var React44 = __toESM(require("react"));
5959
5393
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
5960
5394
  var Switch = React44.forwardRef(
5961
5395
  ({ className, size = "default", roundedness = "inherit", label, ...props }, ref) => {
5962
- const [parentDirection, setParentDirection] = React44.useState(
5963
- null
5964
- );
5396
+ const [parentDirection, setParentDirection] = React44.useState(null);
5965
5397
  const parentRef = React44.useRef(null);
5966
5398
  React44.useEffect(() => {
5967
5399
  var _a;
@@ -5991,42 +5423,34 @@ var Switch = React44.forwardRef(
5991
5423
  full: "hawa-rounded-full",
5992
5424
  inherit: "hawa-rounded-inner"
5993
5425
  };
5994
- return /* @__PURE__ */ React44.createElement(
5995
- "div",
5426
+ return /* @__PURE__ */ React44.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center", ref: parentRef }, /* @__PURE__ */ React44.createElement(
5427
+ SwitchPrimitives.Root,
5996
5428
  {
5997
- className: "hawa-flex hawa-flex-row hawa-items-center",
5998
- ref: parentRef
5429
+ className: cn(
5430
+ "data-[state=unchecked]:hawa-bg-primary/20",
5431
+ "data-[state=checked]:hawa-bg-primary",
5432
+ "hawa-relative hawa-cursor-pointer hawa-rounded hawa-outline-none",
5433
+ rootRoundednessStyles[roundedness],
5434
+ className,
5435
+ rootSize[size]
5436
+ ),
5437
+ ...props,
5438
+ ref
5999
5439
  },
6000
5440
  /* @__PURE__ */ React44.createElement(
6001
- SwitchPrimitives.Root,
5441
+ SwitchPrimitives.Thumb,
6002
5442
  {
6003
5443
  className: cn(
6004
- "data-[state=unchecked]:hawa-bg-primary/20",
6005
- "data-[state=checked]:hawa-bg-primary",
6006
- "hawa-relative hawa-cursor-pointer hawa-rounded hawa-outline-none",
6007
- rootRoundednessStyles[roundedness],
6008
- className,
6009
- rootSize[size]
6010
- ),
6011
- ...props,
6012
- ref
6013
- },
6014
- /* @__PURE__ */ React44.createElement(
6015
- SwitchPrimitives.Thumb,
6016
- {
6017
- className: cn(
6018
- thumbSize[size],
6019
- "hawa-block hawa-rounded hawa-transition-transform hawa-duration-100 hawa-will-change-transform",
6020
- "data-[state=checked]:hawa-bg-primary-foreground",
6021
- "hawa-bg-white dark:hawa-bg-background",
6022
- thumbRoundednessStyles[roundedness],
6023
- parentDirection === "rtl" ? "hawa--translate-x-0.5 data-[state=checked]:hawa--translate-x-[19px]" : "hawa-translate-x-0.5 data-[state=checked]:hawa-translate-x-[19px]"
6024
- )
6025
- }
6026
- )
6027
- ),
6028
- label && /* @__PURE__ */ React44.createElement("span", { className: "hawa-mx-2 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label)
6029
- );
5444
+ thumbSize[size],
5445
+ "hawa-block hawa-rounded hawa-transition-transform hawa-duration-100 hawa-will-change-transform",
5446
+ "data-[state=checked]:hawa-bg-primary-foreground",
5447
+ "hawa-bg-white dark:hawa-bg-background",
5448
+ thumbRoundednessStyles[roundedness],
5449
+ parentDirection === "rtl" ? "hawa--translate-x-0.5 data-[state=checked]:hawa--translate-x-[19px]" : "hawa-translate-x-0.5 data-[state=checked]:hawa-translate-x-[19px]"
5450
+ )
5451
+ }
5452
+ )
5453
+ ), label && /* @__PURE__ */ React44.createElement("span", { className: "hawa-mx-2 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label));
6030
5454
  }
6031
5455
  );
6032
5456
  Switch.displayName = SwitchPrimitives.Root.displayName;
@@ -6056,11 +5480,7 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
6056
5480
 
6057
5481
  // elements/breadcrumb/Breadcrumb.tsx
6058
5482
  var import_react36 = __toESM(require("react"));
6059
- var Breadcrumb = ({
6060
- breadcrumbLinks,
6061
- separator = ">",
6062
- size = "normal"
6063
- }) => {
5483
+ var Breadcrumb = ({ breadcrumbLinks, separator = ">", size = "normal" }) => {
6064
5484
  const textStyles = {
6065
5485
  normal: "",
6066
5486
  small: "hawa-text-sm",
@@ -6185,25 +5605,9 @@ var Badge = ({
6185
5605
  size === "large" && text && text
6186
5606
  ));
6187
5607
  };
6188
- var BadgedComponent = ({
6189
- children,
6190
- className,
6191
- hideBadge,
6192
- position,
6193
- size,
6194
- text
6195
- }) => {
5608
+ var BadgedComponent = ({ children, className, hideBadge, position, size, text }) => {
6196
5609
  const ref = (0, import_react38.useRef)(null);
6197
- return /* @__PURE__ */ import_react38.default.createElement("div", { className: cn("hawa-relative hawa-w-fit", className), ref }, !hideBadge && /* @__PURE__ */ import_react38.default.createElement(
6198
- Badge,
6199
- {
6200
- size,
6201
- text,
6202
- position,
6203
- anchor: ref,
6204
- className: "hawa-z-10"
6205
- }
6206
- ), children);
5610
+ return /* @__PURE__ */ import_react38.default.createElement("div", { className: cn("hawa-relative hawa-w-fit", className), ref }, !hideBadge && /* @__PURE__ */ import_react38.default.createElement(Badge, { size, text, position, anchor: ref, className: "hawa-z-10" }), children);
6207
5611
  };
6208
5612
 
6209
5613
  // elements/phoneInput/PhoneInput.tsx
@@ -7966,19 +7370,19 @@ var PhoneInput = ({
7966
7370
  var React50 = __toESM(require("react"));
7967
7371
  var import_input_otp = require("input-otp");
7968
7372
 
7969
- // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7373
+ // ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7970
7374
  var import_react41 = require("react");
7971
7375
 
7972
- // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7376
+ // ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7973
7377
  var toKebabCase = (string9) => string9.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
7974
7378
  var mergeClasses = (...classes) => classes.filter((className, index, array) => {
7975
7379
  return Boolean(className) && array.indexOf(className) === index;
7976
7380
  }).join(" ");
7977
7381
 
7978
- // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7382
+ // ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7979
7383
  var import_react40 = require("react");
7980
7384
 
7981
- // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7385
+ // ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7982
7386
  var defaultAttributes = {
7983
7387
  xmlns: "http://www.w3.org/2000/svg",
7984
7388
  width: 24,
@@ -7991,7 +7395,7 @@ var defaultAttributes = {
7991
7395
  strokeLinejoin: "round"
7992
7396
  };
7993
7397
 
7994
- // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7398
+ // ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7995
7399
  var Icon = (0, import_react40.forwardRef)(
7996
7400
  ({
7997
7401
  color = "currentColor",
@@ -8023,7 +7427,7 @@ var Icon = (0, import_react40.forwardRef)(
8023
7427
  }
8024
7428
  );
8025
7429
 
8026
- // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7430
+ // ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
8027
7431
  var createLucideIcon = (iconName, iconNode) => {
8028
7432
  const Component = (0, import_react41.forwardRef)(
8029
7433
  ({ className, ...props }, ref) => (0, import_react41.createElement)(Icon, {
@@ -8037,7 +7441,7 @@ var createLucideIcon = (iconName, iconNode) => {
8037
7441
  return Component;
8038
7442
  };
8039
7443
 
8040
- // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
7444
+ // ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
8041
7445
  var Dot = createLucideIcon("Dot", [
8042
7446
  ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
8043
7447
  ]);
@@ -8151,10 +7555,7 @@ var ColorPicker = ({
8151
7555
  props.handleChange(e);
8152
7556
  }
8153
7557
  },
8154
- className: cn(
8155
- "hawa-mt-0 hawa-h-[38px] hawa-opacity-0",
8156
- props.colorPickerClassNames
8157
- ),
7558
+ className: cn("hawa-mt-0 hawa-h-[38px] hawa-opacity-0", props.colorPickerClassNames),
8158
7559
  ...colorPickerProps
8159
7560
  }
8160
7561
  )
@@ -8197,93 +7598,85 @@ function getLimitedValue(input) {
8197
7598
  } else {
8198
7599
  return input;
8199
7600
  }
8200
- }
8201
- var ProgressCircle = import_react44.default.forwardRef((props, ref) => {
8202
- const {
8203
- value: inputValue,
8204
- size = "md",
8205
- className,
8206
- showAnimation = true,
8207
- color,
8208
- tooltip,
8209
- radius: inputRadius,
8210
- strokeWidth: inputStrokeWidth,
8211
- children,
8212
- ...other
8213
- } = props;
8214
- const value = getLimitedValue(inputValue);
8215
- const radius = inputRadius != null ? inputRadius : size2config[size].radius;
8216
- const strokeWidth = inputStrokeWidth != null ? inputStrokeWidth : size2config[size].strokeWidth;
8217
- const normalizedRadius = radius - strokeWidth / 2;
8218
- const circumference = normalizedRadius * 2 * Math.PI;
8219
- const strokeDashoffset = value / 100 * circumference;
8220
- const offset = circumference - strokeDashoffset;
8221
- return /* @__PURE__ */ import_react44.default.createElement(import_react44.default.Fragment, null, /* @__PURE__ */ import_react44.default.createElement(
8222
- "div",
8223
- {
8224
- ref,
8225
- className: cn(
8226
- "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center",
8227
- className
8228
- )
8229
- },
8230
- /* @__PURE__ */ import_react44.default.createElement(
8231
- "svg",
7601
+ }
7602
+ var ProgressCircle = import_react44.default.forwardRef(
7603
+ (props, ref) => {
7604
+ const {
7605
+ value: inputValue,
7606
+ size = "md",
7607
+ className,
7608
+ showAnimation = true,
7609
+ color,
7610
+ tooltip,
7611
+ radius: inputRadius,
7612
+ strokeWidth: inputStrokeWidth,
7613
+ children,
7614
+ ...other
7615
+ } = props;
7616
+ const value = getLimitedValue(inputValue);
7617
+ const radius = inputRadius != null ? inputRadius : size2config[size].radius;
7618
+ const strokeWidth = inputStrokeWidth != null ? inputStrokeWidth : size2config[size].strokeWidth;
7619
+ const normalizedRadius = radius - strokeWidth / 2;
7620
+ const circumference = normalizedRadius * 2 * Math.PI;
7621
+ const strokeDashoffset = value / 100 * circumference;
7622
+ const offset = circumference - strokeDashoffset;
7623
+ return /* @__PURE__ */ import_react44.default.createElement(import_react44.default.Fragment, null, /* @__PURE__ */ import_react44.default.createElement(
7624
+ "div",
8232
7625
  {
8233
- width: radius * 2,
8234
- height: radius * 2,
8235
- viewBox: `0 0 ${radius * 2} ${radius * 2}`,
8236
- className: "hawa-rotate-180 hawa-transform"
7626
+ ref,
7627
+ className: cn("hawa-flex hawa-flex-col hawa-items-center hawa-justify-center", className)
8237
7628
  },
8238
7629
  /* @__PURE__ */ import_react44.default.createElement(
8239
- "circle",
7630
+ "svg",
8240
7631
  {
8241
- r: normalizedRadius,
8242
- cx: radius,
8243
- cy: radius,
8244
- strokeWidth,
8245
- fill: "transparent",
8246
- stroke: "",
8247
- strokeLinecap: "round",
8248
- className: cn(
8249
- "hawa-transition-colors hawa-ease-linear",
8250
- "hawa-stroke-primary/20"
8251
- )
8252
- }
7632
+ width: radius * 2,
7633
+ height: radius * 2,
7634
+ viewBox: `0 0 ${radius * 2} ${radius * 2}`,
7635
+ className: "hawa-rotate-180 hawa-transform"
7636
+ },
7637
+ /* @__PURE__ */ import_react44.default.createElement(
7638
+ "circle",
7639
+ {
7640
+ r: normalizedRadius,
7641
+ cx: radius,
7642
+ cy: radius,
7643
+ strokeWidth,
7644
+ fill: "transparent",
7645
+ stroke: "",
7646
+ strokeLinecap: "round",
7647
+ className: cn("hawa-transition-colors hawa-ease-linear", "hawa-stroke-primary/20")
7648
+ }
7649
+ ),
7650
+ value > 0 ? /* @__PURE__ */ import_react44.default.createElement(
7651
+ "circle",
7652
+ {
7653
+ r: normalizedRadius,
7654
+ cx: radius,
7655
+ cy: radius,
7656
+ strokeWidth,
7657
+ strokeDasharray: circumference + " " + circumference,
7658
+ strokeDashoffset: offset,
7659
+ fill: "transparent",
7660
+ stroke: "",
7661
+ strokeLinecap: "round",
7662
+ className: cn(
7663
+ "hawa-transition-colors hawa-ease-linear",
7664
+ "hawa-stroke-primary",
7665
+ showAnimation ? "hawa-transition-all hawa-duration-300 hawa-ease-in-out" : ""
7666
+ )
7667
+ }
7668
+ ) : null
8253
7669
  ),
8254
- value > 0 ? /* @__PURE__ */ import_react44.default.createElement(
8255
- "circle",
8256
- {
8257
- r: normalizedRadius,
8258
- cx: radius,
8259
- cy: radius,
8260
- strokeWidth,
8261
- strokeDasharray: circumference + " " + circumference,
8262
- strokeDashoffset: offset,
8263
- fill: "transparent",
8264
- stroke: "",
8265
- strokeLinecap: "round",
8266
- className: cn(
8267
- "hawa-transition-colors hawa-ease-linear",
8268
- "hawa-stroke-primary",
8269
- showAnimation ? "hawa-transition-all hawa-duration-300 hawa-ease-in-out" : ""
8270
- )
8271
- }
8272
- ) : null
8273
- ),
8274
- /* @__PURE__ */ import_react44.default.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
8275
- ));
8276
- });
7670
+ /* @__PURE__ */ import_react44.default.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
7671
+ ));
7672
+ }
7673
+ );
8277
7674
  ProgressCircle.displayName = "ProgressCircle";
8278
7675
 
8279
7676
  // elements/pagination/Pagination.tsx
8280
7677
  var import_react45 = __toESM(require("react"));
8281
7678
  var import_react_headless_pagination = require("react-headless-pagination");
8282
- var Pagination = ({
8283
- direction,
8284
- totalPages,
8285
- currentPage
8286
- }) => {
7679
+ var Pagination = ({ direction, totalPages, currentPage }) => {
8287
7680
  const [page, setPage] = import_react45.default.useState(currentPage || 0);
8288
7681
  const handlePageChange = (page2) => {
8289
7682
  setPage(page2);
@@ -8393,96 +7786,56 @@ var import_react49 = __toESM(require("react"));
8393
7786
 
8394
7787
  // icons/Emojis.tsx
8395
7788
  var import_react46 = __toESM(require("react"));
8396
- var VeryGoodEmoji = () => /* @__PURE__ */ import_react46.default.createElement(
8397
- "svg",
7789
+ var VeryGoodEmoji = () => /* @__PURE__ */ import_react46.default.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react46.default.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ import_react46.default.createElement(
7790
+ "path",
8398
7791
  {
8399
- fill: "none",
8400
- height: "16",
8401
- viewBox: "0 0 16 16",
8402
- width: "16",
8403
- xmlns: "http://www.w3.org/2000/svg"
8404
- },
8405
- /* @__PURE__ */ import_react46.default.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ import_react46.default.createElement(
8406
- "path",
8407
- {
8408
- clipRule: "evenodd",
8409
- d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM4.5 8.97498H3.875V9.59998C3.875 11.4747 5.81046 12.8637 7.99817 12.8637C10.1879 12.8637 12.125 11.4832 12.125 9.59998V8.97498H11.5H4.5ZM7.99817 11.6137C6.59406 11.6137 5.63842 10.9482 5.28118 10.225H10.7202C10.3641 10.9504 9.40797 11.6137 7.99817 11.6137Z",
8410
- fill: "currentColor",
8411
- fillRule: "evenodd"
8412
- }
8413
- ), /* @__PURE__ */ import_react46.default.createElement(
8414
- "path",
8415
- {
8416
- clipRule: "evenodd",
8417
- d: "M6.15295 4.92093L5.375 3.5L4.59705 4.92093L3 5.21885L4.11625 6.39495L3.90717 8L5.375 7.30593L6.84283 8L6.63375 6.39495L7.75 5.21885L6.15295 4.92093ZM11.403 4.92093L10.625 3.5L9.84705 4.92093L8.25 5.21885L9.36625 6.39495L9.15717 8L10.625 7.30593L12.0928 8L11.8837 6.39495L13 5.21885L11.403 4.92093Z",
8418
- fill: "#FF990A",
8419
- fillRule: "evenodd"
8420
- }
8421
- ))
8422
- );
8423
- var GoodEmoji = () => /* @__PURE__ */ import_react46.default.createElement(
8424
- "svg",
7792
+ clipRule: "evenodd",
7793
+ d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM4.5 8.97498H3.875V9.59998C3.875 11.4747 5.81046 12.8637 7.99817 12.8637C10.1879 12.8637 12.125 11.4832 12.125 9.59998V8.97498H11.5H4.5ZM7.99817 11.6137C6.59406 11.6137 5.63842 10.9482 5.28118 10.225H10.7202C10.3641 10.9504 9.40797 11.6137 7.99817 11.6137Z",
7794
+ fill: "currentColor",
7795
+ fillRule: "evenodd"
7796
+ }
7797
+ ), /* @__PURE__ */ import_react46.default.createElement(
7798
+ "path",
8425
7799
  {
8426
- fill: "none",
8427
- height: "16",
8428
- viewBox: "0 0 16 16",
8429
- width: "16",
8430
- xmlns: "http://www.w3.org/2000/svg"
8431
- },
8432
- /* @__PURE__ */ import_react46.default.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ import_react46.default.createElement(
8433
- "path",
8434
- {
8435
- clipRule: "evenodd",
8436
- d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.5249 10.8478L11.8727 10.3286L10.8342 9.6329L10.4863 10.1522C9.94904 10.9543 9.0363 11.4802 8.00098 11.4802C6.96759 11.4802 6.05634 10.9563 5.51863 10.1567L5.16986 9.63804L4.13259 10.3356L4.48137 10.8542C5.2414 11.9844 6.53398 12.7302 8.00098 12.7302C9.47073 12.7302 10.7654 11.9816 11.5249 10.8478ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
8437
- fill: "currentColor",
8438
- fillRule: "evenodd"
8439
- }
8440
- ))
8441
- );
8442
- var BadEmoji = () => /* @__PURE__ */ import_react46.default.createElement(
8443
- "svg",
7800
+ clipRule: "evenodd",
7801
+ d: "M6.15295 4.92093L5.375 3.5L4.59705 4.92093L3 5.21885L4.11625 6.39495L3.90717 8L5.375 7.30593L6.84283 8L6.63375 6.39495L7.75 5.21885L6.15295 4.92093ZM11.403 4.92093L10.625 3.5L9.84705 4.92093L8.25 5.21885L9.36625 6.39495L9.15717 8L10.625 7.30593L12.0928 8L11.8837 6.39495L13 5.21885L11.403 4.92093Z",
7802
+ fill: "#FF990A",
7803
+ fillRule: "evenodd"
7804
+ }
7805
+ )));
7806
+ var GoodEmoji = () => /* @__PURE__ */ import_react46.default.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react46.default.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ import_react46.default.createElement(
7807
+ "path",
8444
7808
  {
8445
- fill: "none",
8446
- height: "16",
8447
- viewBox: "0 0 16 16",
8448
- width: "16",
8449
- xmlns: "http://www.w3.org/2000/svg"
8450
- },
8451
- /* @__PURE__ */ import_react46.default.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ import_react46.default.createElement(
8452
- "path",
8453
- {
8454
- clipRule: "evenodd",
8455
- d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM5.75 7.75C6.30228 7.75 6.75 7.30228 6.75 6.75C6.75 6.19772 6.30228 5.75 5.75 5.75C5.19772 5.75 4.75 6.19772 4.75 6.75C4.75 7.30228 5.19772 7.75 5.75 7.75ZM11.25 6.75C11.25 7.30228 10.8023 7.75 10.25 7.75C9.69771 7.75 9.25 7.30228 9.25 6.75C9.25 6.19772 9.69771 5.75 10.25 5.75C10.8023 5.75 11.25 6.19772 11.25 6.75ZM11.5249 11.2622L11.8727 11.7814L10.8342 12.4771L10.4863 11.9578C9.94904 11.1557 9.0363 10.6298 8.00098 10.6298C6.96759 10.6298 6.05634 11.1537 5.51863 11.9533L5.16986 12.4719L4.13259 11.7744L4.48137 11.2558C5.2414 10.1256 6.53398 9.37982 8.00098 9.37982C9.47073 9.37982 10.7654 10.1284 11.5249 11.2622Z",
8456
- fill: "currentColor",
8457
- fillRule: "evenodd"
8458
- }
8459
- ))
8460
- );
8461
- var VeryBadEmoji = () => /* @__PURE__ */ import_react46.default.createElement(
8462
- "svg",
7809
+ clipRule: "evenodd",
7810
+ d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.5249 10.8478L11.8727 10.3286L10.8342 9.6329L10.4863 10.1522C9.94904 10.9543 9.0363 11.4802 8.00098 11.4802C6.96759 11.4802 6.05634 10.9563 5.51863 10.1567L5.16986 9.63804L4.13259 10.3356L4.48137 10.8542C5.2414 11.9844 6.53398 12.7302 8.00098 12.7302C9.47073 12.7302 10.7654 11.9816 11.5249 10.8478ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
7811
+ fill: "currentColor",
7812
+ fillRule: "evenodd"
7813
+ }
7814
+ )));
7815
+ var BadEmoji = () => /* @__PURE__ */ import_react46.default.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react46.default.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ import_react46.default.createElement(
7816
+ "path",
8463
7817
  {
8464
- fill: "none",
8465
- height: "16",
8466
- viewBox: "0 0 16 16",
8467
- width: "16",
8468
- xmlns: "http://www.w3.org/2000/svg"
8469
- },
8470
- /* @__PURE__ */ import_react46.default.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ import_react46.default.createElement(
8471
- "path",
8472
- {
8473
- d: "M11.841 12.0225C12.7197 12.9324 12.7197 14.4077 11.841 15.3176C10.9623 16.2275 9.53769 16.2275 8.65901 15.3176C7.78033 14.4077 7.78033 12.9324 8.65901 12.0225L10.25 10.375L11.841 12.0225Z",
8474
- fill: "#0070F3"
8475
- }
8476
- ), /* @__PURE__ */ import_react46.default.createElement(
8477
- "path",
8478
- {
8479
- clipRule: "evenodd",
8480
- d: "M8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 10.9668 3.48826 13.4711 6.20649 14.2496L5.79351 15.6916C2.44895 14.7338 0 11.6539 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 9.4652 15.6054 10.8405 14.9162 12.023L13.6203 11.2677C14.1794 10.3083 14.5 9.19272 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
8481
- fill: "currentColor",
8482
- fillRule: "evenodd"
8483
- }
8484
- ))
8485
- );
7818
+ clipRule: "evenodd",
7819
+ d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM5.75 7.75C6.30228 7.75 6.75 7.30228 6.75 6.75C6.75 6.19772 6.30228 5.75 5.75 5.75C5.19772 5.75 4.75 6.19772 4.75 6.75C4.75 7.30228 5.19772 7.75 5.75 7.75ZM11.25 6.75C11.25 7.30228 10.8023 7.75 10.25 7.75C9.69771 7.75 9.25 7.30228 9.25 6.75C9.25 6.19772 9.69771 5.75 10.25 5.75C10.8023 5.75 11.25 6.19772 11.25 6.75ZM11.5249 11.2622L11.8727 11.7814L10.8342 12.4771L10.4863 11.9578C9.94904 11.1557 9.0363 10.6298 8.00098 10.6298C6.96759 10.6298 6.05634 11.1537 5.51863 11.9533L5.16986 12.4719L4.13259 11.7744L4.48137 11.2558C5.2414 10.1256 6.53398 9.37982 8.00098 9.37982C9.47073 9.37982 10.7654 10.1284 11.5249 11.2622Z",
7820
+ fill: "currentColor",
7821
+ fillRule: "evenodd"
7822
+ }
7823
+ )));
7824
+ var VeryBadEmoji = () => /* @__PURE__ */ import_react46.default.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react46.default.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ import_react46.default.createElement(
7825
+ "path",
7826
+ {
7827
+ d: "M11.841 12.0225C12.7197 12.9324 12.7197 14.4077 11.841 15.3176C10.9623 16.2275 9.53769 16.2275 8.65901 15.3176C7.78033 14.4077 7.78033 12.9324 8.65901 12.0225L10.25 10.375L11.841 12.0225Z",
7828
+ fill: "#0070F3"
7829
+ }
7830
+ ), /* @__PURE__ */ import_react46.default.createElement(
7831
+ "path",
7832
+ {
7833
+ clipRule: "evenodd",
7834
+ d: "M8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 10.9668 3.48826 13.4711 6.20649 14.2496L5.79351 15.6916C2.44895 14.7338 0 11.6539 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 9.4652 15.6054 10.8405 14.9162 12.023L13.6203 11.2677C14.1794 10.3083 14.5 9.19272 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
7835
+ fill: "currentColor",
7836
+ fillRule: "evenodd"
7837
+ }
7838
+ )));
8486
7839
 
8487
7840
  // icons/InputIcons.tsx
8488
7841
  var import_react47 = __toESM(require("react"));
@@ -8589,14 +7942,7 @@ var MenuIcon = () => /* @__PURE__ */ import_react48.default.createElement(
8589
7942
 
8590
7943
  // elements/passwordInput/PasswordInput.tsx
8591
7944
  var PasswordStrengthIndicator = ({ strength }) => {
8592
- const strengthLevels = [
8593
- "none",
8594
- "very-weak",
8595
- "weak",
8596
- "medium",
8597
- "strong",
8598
- "very-strong"
8599
- ];
7945
+ const strengthLevels = ["none", "very-weak", "weak", "medium", "strong", "very-strong"];
8600
7946
  const strengthColors = {
8601
7947
  none: "hawa-bg-red-700",
8602
7948
  "very-weak": "hawa-bg-red-600",
@@ -8622,10 +7968,7 @@ var PasswordStrengthIndicator = ({ strength }) => {
8622
7968
  }
8623
7969
  ));
8624
7970
  };
8625
- var PasswordInput = ({
8626
- hidePopover,
8627
- ...props
8628
- }) => {
7971
+ var PasswordInput = ({ hidePopover, ...props }) => {
8629
7972
  const [inputValue, setInputValue] = (0, import_react49.useState)("");
8630
7973
  const [isInputFocused, setIsInputFocused] = (0, import_react49.useState)(false);
8631
7974
  const [currentStr, setCurrentStr] = (0, import_react49.useState)(0);
@@ -8749,63 +8092,34 @@ var SimpleTable = ({
8749
8092
  columns,
8750
8093
  getCoreRowModel: (0, import_react_table2.getCoreRowModel)()
8751
8094
  });
8752
- return /* @__PURE__ */ React60.createElement(
8753
- "div",
8754
- {
8755
- className: cn(
8756
- "hawa-flex hawa-w-full hawa-flex-col hawa-gap-4",
8757
- classNames
8758
- )
8759
- },
8760
- props.isLoading ? /* @__PURE__ */ React60.createElement(Skeleton, { className: "h-[130px] w-full" }) : /* @__PURE__ */ React60.createElement("div", { className: "hawa-rounded" }, /* @__PURE__ */ React60.createElement(Table, null, !headerless && table.getAllColumns().length > 0 && /* @__PURE__ */ React60.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React60.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
8761
- return /* @__PURE__ */ React60.createElement(
8762
- TableHead,
8763
- {
8764
- condensed: props.condensed,
8765
- dir: props.direction,
8766
- key: header.id,
8767
- style: {
8768
- maxWidth: header.column.columnDef.maxSize
8769
- }
8770
- },
8771
- header.isPlaceholder ? null : (0, import_react_table2.flexRender)(
8772
- header.column.columnDef.header,
8773
- header.getContext()
8774
- )
8775
- );
8776
- })))), /* @__PURE__ */ React60.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React60.createElement(
8777
- TableRow,
8095
+ return /* @__PURE__ */ React60.createElement("div", { className: cn("hawa-flex hawa-w-full hawa-flex-col hawa-gap-4", classNames) }, props.isLoading ? /* @__PURE__ */ React60.createElement(Skeleton, { className: "h-[130px] w-full" }) : /* @__PURE__ */ React60.createElement("div", { className: "hawa-rounded" }, /* @__PURE__ */ React60.createElement(Table, null, !headerless && table.getAllColumns().length > 0 && /* @__PURE__ */ React60.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React60.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
8096
+ return /* @__PURE__ */ React60.createElement(
8097
+ TableHead,
8778
8098
  {
8779
- key: row.id,
8780
- "data-state": row.getIsSelected() && "selected"
8099
+ condensed: props.condensed,
8100
+ dir: props.direction,
8101
+ key: header.id,
8102
+ style: {
8103
+ maxWidth: header.column.columnDef.maxSize
8104
+ }
8781
8105
  },
8782
- row.getVisibleCells().map((cell) => {
8783
- var _a2;
8784
- return /* @__PURE__ */ React60.createElement(
8785
- TableCell,
8786
- {
8787
- dir: props.direction,
8788
- padding: props.condensed ? "condensed" : (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.padding,
8789
- style: {
8790
- maxWidth: cell.column.columnDef.maxSize
8791
- },
8792
- key: cell.id
8793
- },
8794
- (0, import_react_table2.flexRender)(
8795
- cell.column.columnDef.cell,
8796
- cell.getContext()
8797
- )
8798
- );
8799
- })
8800
- )) : /* @__PURE__ */ React60.createElement(TableRow, null, /* @__PURE__ */ React60.createElement(
8106
+ header.isPlaceholder ? null : (0, import_react_table2.flexRender)(header.column.columnDef.header, header.getContext())
8107
+ );
8108
+ })))), /* @__PURE__ */ React60.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React60.createElement(TableRow, { key: row.id, "data-state": row.getIsSelected() && "selected" }, row.getVisibleCells().map((cell) => {
8109
+ var _a2;
8110
+ return /* @__PURE__ */ React60.createElement(
8801
8111
  TableCell,
8802
8112
  {
8803
- colSpan: columns.length,
8804
- className: "hawa-h-24 hawa-text-center"
8113
+ dir: props.direction,
8114
+ padding: props.condensed ? "condensed" : (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.padding,
8115
+ style: {
8116
+ maxWidth: cell.column.columnDef.maxSize
8117
+ },
8118
+ key: cell.id
8805
8119
  },
8806
- (_b = props.texts) == null ? void 0 : _b.noData
8807
- )), props.extra)))
8808
- );
8120
+ (0, import_react_table2.flexRender)(cell.column.columnDef.cell, cell.getContext())
8121
+ );
8122
+ }))) : /* @__PURE__ */ React60.createElement(TableRow, null, /* @__PURE__ */ React60.createElement(TableCell, { colSpan: columns.length, className: "hawa-h-24 hawa-text-center" }, (_b = props.texts) == null ? void 0 : _b.noData)), props.extra))));
8809
8123
  };
8810
8124
 
8811
8125
  // elements/separator/Separator.tsx
@@ -8828,10 +8142,7 @@ var Separator2 = ({
8828
8142
 
8829
8143
  // elements/scrollIndicator/ScrollIndicator.tsx
8830
8144
  var import_react50 = __toESM(require("react"));
8831
- var ScrollIndicator = ({
8832
- anchor,
8833
- inContainer = false
8834
- }) => {
8145
+ var ScrollIndicator = ({ anchor, inContainer = false }) => {
8835
8146
  const [scrollPercentage, setScrollPercentage] = (0, import_react50.useState)(0);
8836
8147
  const onScroll = () => {
8837
8148
  const scrollElement = anchor.current;
@@ -9093,34 +8404,22 @@ var Carousel = ({
9093
8404
  }
9094
8405
  ));
9095
8406
  };
9096
- var Dots = ({
9097
- onDotClick,
9098
- itemsLength,
9099
- selectedIndex,
9100
- direction
9101
- }) => {
8407
+ var Dots = ({ onDotClick, itemsLength, selectedIndex, direction }) => {
9102
8408
  const arr = new Array(itemsLength).fill(0);
9103
- return /* @__PURE__ */ import_react52.default.createElement(
9104
- "div",
9105
- {
9106
- dir: direction,
9107
- className: "hawa-z-50 hawa-my-2 hawa-flex hawa-justify-center hawa-gap-1"
9108
- },
9109
- arr.map((_, index) => {
9110
- const selected = index === selectedIndex;
9111
- return /* @__PURE__ */ import_react52.default.createElement(
9112
- "div",
9113
- {
9114
- key: index,
9115
- onClick: () => onDotClick(index),
9116
- className: cn(
9117
- "hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
9118
- !selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
9119
- )
9120
- }
9121
- );
9122
- })
9123
- );
8409
+ return /* @__PURE__ */ import_react52.default.createElement("div", { dir: direction, className: "hawa-z-50 hawa-my-2 hawa-flex hawa-justify-center hawa-gap-1" }, arr.map((_, index) => {
8410
+ const selected = index === selectedIndex;
8411
+ return /* @__PURE__ */ import_react52.default.createElement(
8412
+ "div",
8413
+ {
8414
+ key: index,
8415
+ onClick: () => onDotClick(index),
8416
+ className: cn(
8417
+ "hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
8418
+ !selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
8419
+ )
8420
+ }
8421
+ );
8422
+ }));
9124
8423
  };
9125
8424
  var CarouselControls = (props) => {
9126
8425
  return /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2" }, /* @__PURE__ */ import_react52.default.createElement(
@@ -9290,11 +8589,7 @@ var ToastTitle = React66.forwardRef(({ className, size = "default", ...props },
9290
8589
  ToastPrimitives.Title,
9291
8590
  {
9292
8591
  ref,
9293
- className: cn(
9294
- "hawa-select-text hawa-text-sm hawa-font-semibold",
9295
- sizeStyles[size],
9296
- className
9297
- ),
8592
+ className: cn("hawa-select-text hawa-text-sm hawa-font-semibold", sizeStyles[size], className),
9298
8593
  ...props
9299
8594
  }
9300
8595
  ));
@@ -9303,11 +8598,7 @@ var ToastDescription = React66.forwardRef(({ className, size = "default", ...pro
9303
8598
  ToastPrimitives.Description,
9304
8599
  {
9305
8600
  ref,
9306
- className: cn(
9307
- "hawa-select-text hawa-opacity-90",
9308
- sizeStyles[size],
9309
- className
9310
- ),
8601
+ className: cn("hawa-select-text hawa-opacity-90", sizeStyles[size], className),
9311
8602
  ...props
9312
8603
  }
9313
8604
  ));
@@ -9348,12 +8639,7 @@ function Toaster(props) {
9348
8639
  action && /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
9349
8640
  )
9350
8641
  ));
9351
- }), /* @__PURE__ */ import_react54.default.createElement(
9352
- ToastViewport,
9353
- {
9354
- className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
9355
- }
9356
- ));
8642
+ }), /* @__PURE__ */ import_react54.default.createElement(ToastViewport, { className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0") }));
9357
8643
  }
9358
8644
 
9359
8645
  // elements/destroyableCard/DestroyableCard.tsx
@@ -9373,10 +8659,7 @@ var DestroyableCard = ({
9373
8659
  return /* @__PURE__ */ import_react55.default.createElement(
9374
8660
  "div",
9375
8661
  {
9376
- className: cn(
9377
- "hawa-transition-all",
9378
- closed ? "hawa-opacity-0" : "hawa-opacity-100"
9379
- ),
8662
+ className: cn("hawa-transition-all", closed ? "hawa-opacity-0" : "hawa-opacity-100"),
9380
8663
  ref: popUpRef
9381
8664
  },
9382
8665
  /* @__PURE__ */ import_react55.default.createElement(
@@ -9569,28 +8852,19 @@ var Accordion2 = AccordionPrimitive6.Root;
9569
8852
  var triggerStyles = "hawa-flex hawa-flex-1 hawa-items-center hawa-duration-75 hawa-select-none hawa-cursor-pointer hawa-rounded hawa-justify-between hawa-p-2 hawa-px-3 hawa-font-medium hawa-transition-all [&[data-state=open]>svg]:hawa--rotate-90";
9570
8853
  var AccordionItem2 = React72.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React72.createElement(AccordionPrimitive6.Item, { ref, className: cn(className), ...props }));
9571
8854
  AccordionItem2.displayName = "AccordionItem";
9572
- var AccordionTrigger2 = React72.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React72.createElement(AccordionPrimitive6.Header, { className: "flex" }, /* @__PURE__ */ React72.createElement(
9573
- AccordionPrimitive6.Trigger,
8855
+ var AccordionTrigger2 = React72.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React72.createElement(AccordionPrimitive6.Header, { className: "flex" }, /* @__PURE__ */ React72.createElement(AccordionPrimitive6.Trigger, { ref, className: cn(triggerStyles, className), ...props }, children, showArrow && /* @__PURE__ */ React72.createElement(
8856
+ "svg",
9574
8857
  {
9575
- ref,
9576
- className: cn(triggerStyles, className),
9577
- ...props
8858
+ "aria-label": "Chevron Right Icon",
8859
+ stroke: "currentColor",
8860
+ fill: "currentColor",
8861
+ viewBox: "0 0 16 16",
8862
+ height: "1em",
8863
+ width: "1em",
8864
+ className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
9578
8865
  },
9579
- children,
9580
- showArrow && /* @__PURE__ */ React72.createElement(
9581
- "svg",
9582
- {
9583
- "aria-label": "Chevron Right Icon",
9584
- stroke: "currentColor",
9585
- fill: "currentColor",
9586
- viewBox: "0 0 16 16",
9587
- height: "1em",
9588
- width: "1em",
9589
- className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
9590
- },
9591
- /* @__PURE__ */ React72.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
9592
- )
9593
- )));
8866
+ /* @__PURE__ */ React72.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
8867
+ ))));
9594
8868
  AccordionTrigger2.displayName = AccordionPrimitive6.Trigger.displayName;
9595
8869
  var AccordionContent2 = React72.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React72.createElement(
9596
8870
  AccordionPrimitive6.Content,
@@ -9644,111 +8918,78 @@ var SidebarGroup = ({
9644
8918
  ))
9645
8919
  )));
9646
8920
  };
9647
- var SidebarItem = ({
9648
- item,
9649
- onItemClick,
9650
- onSubItemClick,
9651
- direction,
9652
- isOpen = true,
9653
- LinkComponent,
9654
- ...props
9655
- }) => {
8921
+ var SidebarItem = ({ item, onItemClick, onSubItemClick, direction, isOpen = true, LinkComponent, ...props }) => {
9656
8922
  const getSelectedStyle = (value) => {
9657
8923
  return props.selectedItem === value ? "hawa-bg-primary/90 hawa-text-primary-foreground hawa-cursor-default" : "hover:hawa-bg-primary/10";
9658
8924
  };
9659
8925
  if (item.subitems) {
9660
- return /* @__PURE__ */ React72.createElement(
9661
- AccordionItem2,
8926
+ return /* @__PURE__ */ React72.createElement(AccordionItem2, { value: item.value, className: "hawa-overflow-x-clip", dir: direction }, /* @__PURE__ */ React72.createElement(
8927
+ AccordionTrigger2,
9662
8928
  {
9663
- value: item.value,
9664
- className: "hawa-overflow-x-clip",
9665
- dir: direction
8929
+ className: cn(
8930
+ "hawa-w-full hawa-overflow-x-clip",
8931
+ props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hawa-h-10 hover:hawa-bg-primary/10",
8932
+ item.subitems && item.subitems.some((subitem) => props.selectedItem === subitem.value) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""
8933
+ ),
8934
+ showArrow: isOpen
9666
8935
  },
9667
8936
  /* @__PURE__ */ React72.createElement(
9668
- AccordionTrigger2,
8937
+ "div",
9669
8938
  {
9670
8939
  className: cn(
9671
- "hawa-w-full hawa-overflow-x-clip",
9672
- props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hawa-h-10 hover:hawa-bg-primary/10",
9673
- item.subitems && item.subitems.some(
9674
- (subitem) => props.selectedItem === subitem.value
9675
- ) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""
9676
- ),
9677
- showArrow: isOpen
8940
+ "hawa-flex hawa-h-fit hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2"
8941
+ )
9678
8942
  },
8943
+ item.icon && item.icon,
9679
8944
  /* @__PURE__ */ React72.createElement(
9680
- "div",
8945
+ "span",
9681
8946
  {
9682
8947
  className: cn(
9683
- "hawa-flex hawa-h-fit hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2"
8948
+ "hawa-transition-all hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap",
8949
+ isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
9684
8950
  )
9685
8951
  },
9686
- item.icon && item.icon,
9687
- /* @__PURE__ */ React72.createElement(
9688
- "span",
9689
- {
9690
- className: cn(
9691
- "hawa-transition-all hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap",
9692
- isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
9693
- )
9694
- },
9695
- item.label,
9696
- item.badge && /* @__PURE__ */ React72.createElement(
9697
- Chip,
9698
- {
9699
- label: item.badge.label,
9700
- color: item.badge.color,
9701
- size: "small"
9702
- }
9703
- )
9704
- )
8952
+ item.label,
8953
+ item.badge && /* @__PURE__ */ React72.createElement(Chip, { label: item.badge.label, color: item.badge.color, size: "small" })
9705
8954
  )
9706
- ),
9707
- item.subitems && /* @__PURE__ */ React72.createElement(AccordionContent2, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React72.createElement(
9708
- "div",
8955
+ )
8956
+ ), item.subitems && /* @__PURE__ */ React72.createElement(AccordionContent2, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React72.createElement(
8957
+ "div",
8958
+ {
8959
+ className: cn(
8960
+ "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
8961
+ )
8962
+ },
8963
+ item.subitems.map((subitem, idx) => /* @__PURE__ */ React72.createElement(
8964
+ LinkComponent,
9709
8965
  {
9710
- className: cn(
9711
- "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
9712
- )
9713
- },
9714
- item.subitems.map((subitem, idx) => /* @__PURE__ */ React72.createElement(
9715
- LinkComponent,
9716
- {
9717
- href: subitem.slug,
9718
- key: idx,
9719
- onMouseDown: (e) => {
9720
- if (subitem.onMouseDown) {
9721
- subitem.onMouseDown(e);
9722
- }
9723
- },
9724
- onClick: (e) => {
9725
- e.stopPropagation();
9726
- if (subitem.onClick) {
9727
- subitem.onClick(e);
9728
- }
9729
- if (onSubItemClick) {
9730
- onSubItemClick([item.value, subitem.value]);
9731
- }
9732
- },
9733
- className: cn(
9734
- "hawa-flex hawa-h-full hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-2 hawa-overflow-x-clip hawa-whitespace-nowrap hawa-rounded hawa-p-2 hawa-transition-all",
9735
- // bg-foreground/10
9736
- getSelectedStyle(subitem.value)
9737
- )
8966
+ href: subitem.slug,
8967
+ key: idx,
8968
+ onMouseDown: (e) => {
8969
+ if (subitem.onMouseDown) {
8970
+ subitem.onMouseDown(e);
8971
+ }
9738
8972
  },
9739
- subitem.icon && subitem.icon,
9740
- subitem.label,
9741
- subitem.badge && /* @__PURE__ */ React72.createElement(
9742
- Chip,
9743
- {
9744
- label: subitem.badge.label,
9745
- color: subitem.badge.color,
9746
- size: "small"
8973
+ onClick: (e) => {
8974
+ e.stopPropagation();
8975
+ if (subitem.onClick) {
8976
+ subitem.onClick(e);
9747
8977
  }
8978
+ if (onSubItemClick) {
8979
+ onSubItemClick([item.value, subitem.value]);
8980
+ }
8981
+ },
8982
+ className: cn(
8983
+ "hawa-flex hawa-h-full hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-2 hawa-overflow-x-clip hawa-whitespace-nowrap hawa-rounded hawa-p-2 hawa-transition-all",
8984
+ // bg-foreground/10
8985
+ getSelectedStyle(subitem.value)
9748
8986
  )
9749
- ))
8987
+ },
8988
+ subitem.icon && subitem.icon,
8989
+ subitem.label,
8990
+ subitem.badge && /* @__PURE__ */ React72.createElement(Chip, { label: subitem.badge.label, color: subitem.badge.color, size: "small" })
9750
8991
  ))
9751
- );
8992
+ )));
9752
8993
  } else {
9753
8994
  return /* @__PURE__ */ React72.createElement(
9754
8995
  LinkComponent,
@@ -9768,11 +9009,7 @@ var SidebarItem = ({
9768
9009
  onItemClick([item.value]);
9769
9010
  }
9770
9011
  },
9771
- className: cn(
9772
- triggerStyles,
9773
- getSelectedStyle(item.value),
9774
- "hawa-overflow-x-clip"
9775
- )
9012
+ className: cn(triggerStyles, getSelectedStyle(item.value), "hawa-overflow-x-clip")
9776
9013
  },
9777
9014
  /* @__PURE__ */ React72.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React72.createElement(
9778
9015
  "span",
@@ -9784,14 +9021,7 @@ var SidebarItem = ({
9784
9021
  },
9785
9022
  item.label,
9786
9023
  " ",
9787
- item.badge && /* @__PURE__ */ React72.createElement(
9788
- Chip,
9789
- {
9790
- label: item.badge.label,
9791
- color: item.badge.color,
9792
- size: "small"
9793
- }
9794
- )
9024
+ item.badge && /* @__PURE__ */ React72.createElement(Chip, { label: item.badge.label, color: item.badge.color, size: "small" })
9795
9025
  ))
9796
9026
  );
9797
9027
  }
@@ -9886,10 +9116,7 @@ var Navbar = ({
9886
9116
  strokeWidth: "2",
9887
9117
  strokeLinecap: "round",
9888
9118
  strokeLinejoin: "round",
9889
- className: cn(
9890
- "hawa-h-6 hawa-w-6",
9891
- !isOpen ? "hawa-invisible" : "hawa-visible"
9892
- )
9119
+ className: cn("hawa-h-6 hawa-w-6", !isOpen ? "hawa-invisible" : "hawa-visible")
9893
9120
  },
9894
9121
  /* @__PURE__ */ import_react60.default.createElement("path", { d: "M18 6 6 18" }),
9895
9122
  /* @__PURE__ */ import_react60.default.createElement("path", { d: "m6 6 12 12" })
@@ -9929,7 +9156,9 @@ var Dialog3 = __toESM(require("@radix-ui/react-dialog"));
9929
9156
  var LOCAL_STORAGE_KEY2 = "@sikka/hawa/keep-drawer-open";
9930
9157
  var AppLayout = ({
9931
9158
  profileMenuWidth = "default",
9159
+ userInfoPosition = "next_to_avatar",
9932
9160
  DrawerFooterActions,
9161
+ profileMenuItems,
9933
9162
  classNames,
9934
9163
  bordered = true,
9935
9164
  design = "default",
@@ -9962,9 +9191,7 @@ var AppLayout = ({
9962
9191
  };
9963
9192
  const isRTL = direction === "rtl";
9964
9193
  const [openedSidebarItem, setOpenedSidebarItem] = (0, import_react61.useState)("");
9965
- const [size, setSize] = (0, import_react61.useState)(
9966
- typeof window !== "undefined" && window.innerWidth || 1200
9967
- );
9194
+ const [size, setSize] = (0, import_react61.useState)(typeof window !== "undefined" && window.innerWidth || 1200);
9968
9195
  const [openSideMenu, setOpenSideMenu] = (0, import_react61.useState)(() => {
9969
9196
  const savedState = localStorage.getItem(LOCAL_STORAGE_KEY2);
9970
9197
  return savedState ? JSON.parse(savedState) : false;
@@ -10017,8 +9244,20 @@ var AppLayout = ({
10017
9244
  setOpenSideMenu(false);
10018
9245
  onDrawerExpanded && onDrawerExpanded(false);
10019
9246
  }
10020
- }, [size, keepDrawerOpen]);
10021
- const drawerSizeCondition = size > 600 ? drawerSizeStyle[keepDrawerOpen ? "opened" : "closed"][drawerSize] : 0;
9247
+ }, [size, keepDrawerOpen]);
9248
+ const drawerSizeCondition = size > 600 ? drawerSizeStyle[keepDrawerOpen ? "opened" : "closed"][drawerSize] : 0;
9249
+ let finalProfileMenuItems = profileMenuItems;
9250
+ if (userInfoPosition === "in_dropdown") {
9251
+ if (profileMenuItems && profileMenuItems.length > 0) {
9252
+ finalProfileMenuItems = [
9253
+ {
9254
+ content: /* @__PURE__ */ import_react61.default.createElement("div", { className: "hawa-text-end hawa-p-2 hawa-text-xs hawa-flex hawa-flex-col hawa-justify-center hawa-items-start" }, /* @__PURE__ */ import_react61.default.createElement("div", { className: "hawa-font-bold" }, props.username), /* @__PURE__ */ import_react61.default.createElement("div", null, props.email)),
9255
+ itemType: "custom"
9256
+ },
9257
+ ...profileMenuItems
9258
+ ];
9259
+ }
9260
+ }
10022
9261
  return /* @__PURE__ */ import_react61.default.createElement("div", { className: "hawa-fixed hawa-start-0" }, props.topBar && /* @__PURE__ */ import_react61.default.createElement(
10023
9262
  "div",
10024
9263
  {
@@ -10031,10 +9270,7 @@ var AppLayout = ({
10031
9270
  size > 600 ? /* @__PURE__ */ import_react61.default.createElement(
10032
9271
  "div",
10033
9272
  {
10034
- className: cn(
10035
- "dark:hawa-text-white",
10036
- size > 600 ? "hawa-ms-14" : "hawa-ms-2"
10037
- ),
9273
+ className: cn("dark:hawa-text-white", size > 600 ? "hawa-ms-14" : "hawa-ms-2"),
10038
9274
  style: {
10039
9275
  marginInlineStart: `${drawerSizeStyle[keepDrawerOpen ? "opened" : "closed"][drawerSize] + 10}px`
10040
9276
  }
@@ -10059,7 +9295,7 @@ var AppLayout = ({
10059
9295
  props.pageTitle ? /* @__PURE__ */ import_react61.default.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ import_react61.default.createElement("div", null)
10060
9296
  )
10061
9297
  ),
10062
- /* @__PURE__ */ import_react61.default.createElement("div", { className: cn("hawa-flex hawa-gap-2 dark:hawa-text-white") }, size > 600 ? /* @__PURE__ */ import_react61.default.createElement("div", { className: "hawa-text-end hawa-text-xs" }, /* @__PURE__ */ import_react61.default.createElement("div", { className: "hawa-font-bold" }, props.username), " ", /* @__PURE__ */ import_react61.default.createElement("div", null, props.email)) : null, /* @__PURE__ */ import_react61.default.createElement(
9298
+ /* @__PURE__ */ import_react61.default.createElement("div", { className: cn("hawa-flex hawa-gap-2 dark:hawa-text-white") }, size > 600 && userInfoPosition === "next_to_avatar" ? /* @__PURE__ */ import_react61.default.createElement("div", { className: "hawa-text-end hawa-text-xs hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ import_react61.default.createElement("div", { className: "hawa-font-bold" }, props.username), /* @__PURE__ */ import_react61.default.createElement("div", null, props.email)) : null, /* @__PURE__ */ import_react61.default.createElement(
10063
9299
  DropdownMenu,
10064
9300
  {
10065
9301
  LinkComponent: MenuLinkComponent,
@@ -10069,7 +9305,7 @@ var AppLayout = ({
10069
9305
  sideOffset: 10,
10070
9306
  width: profileMenuWidth,
10071
9307
  direction,
10072
- items: props.profileMenuItems || [],
9308
+ items: finalProfileMenuItems || [],
10073
9309
  onItemSelect: (e) => console.log("selecting item ", e),
10074
9310
  trigger: /* @__PURE__ */ import_react61.default.createElement(
10075
9311
  "div",
@@ -10220,10 +9456,7 @@ var AppLayout = ({
10220
9456
  size: "smallIcon",
10221
9457
  onClick: () => {
10222
9458
  const newKeepOpenState = !keepDrawerOpen;
10223
- localStorage.setItem(
10224
- LOCAL_STORAGE_KEY2,
10225
- JSON.stringify(newKeepOpenState)
10226
- );
9459
+ localStorage.setItem(LOCAL_STORAGE_KEY2, JSON.stringify(newKeepOpenState));
10227
9460
  setKeepDrawerOpen(newKeepOpenState);
10228
9461
  }
10229
9462
  },
@@ -10249,14 +9482,7 @@ var AppLayout = ({
10249
9482
  )
10250
9483
  ) : null
10251
9484
  )
10252
- )), /* @__PURE__ */ import_react61.default.createElement(
10253
- Dialog3.Root,
10254
- {
10255
- open: size < 600 && openSideMenu,
10256
- onOpenChange: setOpenSideMenu
10257
- },
10258
- /* @__PURE__ */ import_react61.default.createElement(Dialog3.Portal, { container }, /* @__PURE__ */ import_react61.default.createElement(Dialog3.Overlay, { className: "hawa-fixed hawa-inset-0 hawa-bg-foreground/20 hawa-backdrop-blur-[2px] data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out hawa-z-10 data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0" }))
10259
- ), /* @__PURE__ */ import_react61.default.createElement(
9485
+ )), /* @__PURE__ */ import_react61.default.createElement(Dialog3.Root, { open: size < 600 && openSideMenu, onOpenChange: setOpenSideMenu }, /* @__PURE__ */ import_react61.default.createElement(Dialog3.Portal, { container }, /* @__PURE__ */ import_react61.default.createElement(Dialog3.Overlay, { className: "hawa-fixed hawa-inset-0 hawa-bg-foreground/20 hawa-backdrop-blur-[2px] data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out hawa-z-10 data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0" }))), /* @__PURE__ */ import_react61.default.createElement(
10260
9486
  "div",
10261
9487
  {
10262
9488
  className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all hawa-z-0",
@@ -10338,15 +9564,7 @@ var AppTopbar = ({ ...props }) => {
10338
9564
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
10339
9565
  )
10340
9566
  },
10341
- size > 600 ? /* @__PURE__ */ import_react62.default.createElement(
10342
- "div",
10343
- {
10344
- className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
10345
- },
10346
- /* @__PURE__ */ import_react62.default.createElement("div", { className: "hawa-font-bold" }, props.username),
10347
- " ",
10348
- /* @__PURE__ */ import_react62.default.createElement("div", null, props.email)
10349
- ) : null,
9567
+ size > 600 ? /* @__PURE__ */ import_react62.default.createElement("div", { className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs" }, /* @__PURE__ */ import_react62.default.createElement("div", { className: "hawa-font-bold" }, props.username), " ", /* @__PURE__ */ import_react62.default.createElement("div", null, props.email)) : null,
10350
9568
  /* @__PURE__ */ import_react62.default.createElement(
10351
9569
  DropdownMenu,
10352
9570
  {
@@ -10456,22 +9674,20 @@ var MenubarSubContent = React77.forwardRef(({ className, ...props }, ref) => /*
10456
9674
  }
10457
9675
  ));
10458
9676
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
10459
- var MenubarContent = React77.forwardRef(
10460
- ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React77.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React77.createElement(
10461
- MenubarPrimitive.Content,
10462
- {
10463
- ref,
10464
- align,
10465
- alignOffset,
10466
- sideOffset,
10467
- className: cn(
10468
- "hawa-z-50 hawa-min-w-[12rem] hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground hawa-shadow-md data-[state=open]:hawa-animate-in 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",
10469
- className
10470
- ),
10471
- ...props
10472
- }
10473
- ))
10474
- );
9677
+ var MenubarContent = React77.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React77.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React77.createElement(
9678
+ MenubarPrimitive.Content,
9679
+ {
9680
+ ref,
9681
+ align,
9682
+ alignOffset,
9683
+ sideOffset,
9684
+ className: cn(
9685
+ "hawa-z-50 hawa-min-w-[12rem] hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground hawa-shadow-md data-[state=open]:hawa-animate-in 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",
9686
+ className
9687
+ ),
9688
+ ...props
9689
+ }
9690
+ )));
10475
9691
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
10476
9692
  var MenubarItem = React77.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React77.createElement(
10477
9693
  MenubarPrimitive.Item,
@@ -10567,10 +9783,7 @@ var MenubarSeparator = React77.forwardRef(({ className, ...props }, ref) => /* @
10567
9783
  }
10568
9784
  ));
10569
9785
  MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
10570
- var MenubarShortcut = ({
10571
- className,
10572
- ...props
10573
- }) => {
9786
+ var MenubarShortcut = ({ className, ...props }) => {
10574
9787
  return /* @__PURE__ */ React77.createElement(
10575
9788
  "span",
10576
9789
  {
@@ -10588,44 +9801,35 @@ MenubarShortcut.displayname = "MenubarShortcut";
10588
9801
  var import_react63 = __toESM(require("react"));
10589
9802
  var AppTabs = ({ tabs, className }) => {
10590
9803
  const [selectedIndex, setSelectedIndex] = (0, import_react63.useState)(0);
10591
- return /* @__PURE__ */ import_react63.default.createElement(
10592
- "div",
10593
- {
10594
- className: cn(
10595
- "hawa-w-full hawa-border-b hawa-bg-card hawa-p-6 hawa-pb-0",
10596
- className
10597
- )
10598
- },
10599
- /* @__PURE__ */ import_react63.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center" }, tabs.map((tab, index) => {
10600
- const selected = index === selectedIndex;
10601
- return /* @__PURE__ */ import_react63.default.createElement(
10602
- "a",
10603
- {
10604
- href: tab.path,
10605
- key: index,
10606
- onMouseDown: (e) => {
10607
- if (tab.onMouseDown) {
10608
- tab.onMouseDown(e);
10609
- }
10610
- },
10611
- onClick: (e) => {
10612
- if (tab.onClick) {
10613
- tab.onClick(e);
10614
- }
10615
- setSelectedIndex(index);
10616
- },
10617
- className: cn(
10618
- "hawa-z-10 hawa-flex hawa-items-center hawa-translate-y-[1.1px] hawa-select-none hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-4 hawa-py-2 hawa-text-sm hawa-transition-all",
10619
- "hawa-border",
10620
- // Always have a border but make it transparent
10621
- selected ? "hawa-border hawa-border-b-transparent hawa-bg-background" : "hawa-cursor-pointer hawa-border-transparent hover:hawa-bg-card-foreground/5"
10622
- )
9804
+ return /* @__PURE__ */ import_react63.default.createElement("div", { className: cn("hawa-w-full hawa-border-b hawa-bg-card hawa-p-6 hawa-pb-0", className) }, /* @__PURE__ */ import_react63.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center" }, tabs.map((tab, index) => {
9805
+ const selected = index === selectedIndex;
9806
+ return /* @__PURE__ */ import_react63.default.createElement(
9807
+ "a",
9808
+ {
9809
+ href: tab.path,
9810
+ key: index,
9811
+ onMouseDown: (e) => {
9812
+ if (tab.onMouseDown) {
9813
+ tab.onMouseDown(e);
9814
+ }
10623
9815
  },
10624
- tab.icon && tab.icon,
10625
- tab.label
10626
- );
10627
- }))
10628
- );
9816
+ onClick: (e) => {
9817
+ if (tab.onClick) {
9818
+ tab.onClick(e);
9819
+ }
9820
+ setSelectedIndex(index);
9821
+ },
9822
+ className: cn(
9823
+ "hawa-z-10 hawa-flex hawa-items-center hawa-translate-y-[1.1px] hawa-select-none hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-4 hawa-py-2 hawa-text-sm hawa-transition-all",
9824
+ "hawa-border",
9825
+ // Always have a border but make it transparent
9826
+ selected ? "hawa-border hawa-border-b-transparent hawa-bg-background" : "hawa-cursor-pointer hawa-border-transparent hover:hawa-bg-card-foreground/5"
9827
+ )
9828
+ },
9829
+ tab.icon && tab.icon,
9830
+ tab.label
9831
+ );
9832
+ })));
10629
9833
  };
10630
9834
 
10631
9835
  // layout/docsLayout/DocsLayout.tsx
@@ -10673,25 +9877,18 @@ var DocsSidebar = ({
10673
9877
  rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
10674
9878
  ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
10675
9879
  };
10676
- return /* @__PURE__ */ import_react64.default.createElement(
9880
+ return /* @__PURE__ */ import_react64.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-overflow-x-clip", dir: direction }, pages.map((page, index) => /* @__PURE__ */ import_react64.default.createElement(
10677
9881
  "div",
10678
9882
  {
10679
- className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
10680
- dir: direction
9883
+ key: index,
9884
+ className: cn(
9885
+ "hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
9886
+ (propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
9887
+ ),
9888
+ onClick: (event) => handlePageClick(page, event)
10681
9889
  },
10682
- pages.map((page, index) => /* @__PURE__ */ import_react64.default.createElement(
10683
- "div",
10684
- {
10685
- key: index,
10686
- className: cn(
10687
- "hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
10688
- (propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
10689
- ),
10690
- onClick: (event) => handlePageClick(page, event)
10691
- },
10692
- page
10693
- ))
10694
- );
9890
+ page
9891
+ )));
10695
9892
  };
10696
9893
 
10697
9894
  // layout/docsLayout/DocsLayout.tsx
@@ -10826,14 +10023,7 @@ var DocsLayout = ({
10826
10023
  }
10827
10024
  )
10828
10025
  )
10829
- )), /* @__PURE__ */ import_react65.default.createElement(
10830
- SheetContent,
10831
- {
10832
- side: isRTL ? "right" : "left",
10833
- className: "hawa-pt-10"
10834
- },
10835
- /* @__PURE__ */ import_react65.default.createElement(DocsSidebar, { direction, pages: pages || [] })
10836
- ))
10026
+ )), /* @__PURE__ */ import_react65.default.createElement(SheetContent, { side: isRTL ? "right" : "left", className: "hawa-pt-10" }, /* @__PURE__ */ import_react65.default.createElement(DocsSidebar, { direction, pages: pages || [] })))
10837
10027
  )
10838
10028
  ),
10839
10029
  /* @__PURE__ */ import_react65.default.createElement(
@@ -10869,14 +10059,7 @@ var DocsLayout = ({
10869
10059
  },
10870
10060
  ref
10871
10061
  },
10872
- /* @__PURE__ */ import_react65.default.createElement(
10873
- DocsSidebar,
10874
- {
10875
- direction,
10876
- pages: pages || [],
10877
- currentPage
10878
- }
10879
- )
10062
+ /* @__PURE__ */ import_react65.default.createElement(DocsSidebar, { direction, pages: pages || [], currentPage })
10880
10063
  ), /* @__PURE__ */ import_react65.default.createElement(
10881
10064
  "div",
10882
10065
  {
@@ -11514,7 +10697,7 @@ var RegisterForm = ({
11514
10697
  );
11515
10698
  }
11516
10699
  },
11517
- registerTypes && registerTypes.length > 1 && /* @__PURE__ */ import_react69.default.createElement(CardHeader, { className: "hawa-w-full hawa-px-0 hawa-py-0 hawa-mb-4" }, /* @__PURE__ */ import_react69.default.createElement(TabsList2, { className: "hawa-w-full" }, registerTypes.map((registerType) => /* @__PURE__ */ import_react69.default.createElement(TabsTrigger2, { value: registerType.value }, registerType.label)))),
10700
+ registerTypes && registerTypes.length > 1 && /* @__PURE__ */ import_react69.default.createElement(CardHeader, { className: "hawa-w-full hawa-px-0 hawa-py-0 hawa-mb-4" }, /* @__PURE__ */ import_react69.default.createElement(TabsList2, { className: "hawa-w-full" }, registerTypes.map((registerType, k) => /* @__PURE__ */ import_react69.default.createElement(TabsTrigger2, { key: k, value: registerType.value }, registerType.label)))),
11518
10701
  /* @__PURE__ */ import_react69.default.createElement(
11519
10702
  TabsContent,
11520
10703
  {
@@ -11916,14 +11099,7 @@ var AppLanding = ({ texts, ...props }) => {
11916
11099
  handleEmail: props.handleEmail,
11917
11100
  handlePhone: props.handlePhone
11918
11101
  }
11919
- ), props.allowRegister && /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts == null ? void 0 : texts.newUserText, " ", /* @__PURE__ */ import_react70.default.createElement(
11920
- "span",
11921
- {
11922
- onClick: props.handleRouteToRegister,
11923
- className: "clickable-link"
11924
- },
11925
- texts == null ? void 0 : texts.createAccount
11926
- )))));
11102
+ ), props.allowRegister && /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts == null ? void 0 : texts.newUserText, " ", /* @__PURE__ */ import_react70.default.createElement("span", { onClick: props.handleRouteToRegister, className: "clickable-link" }, texts == null ? void 0 : texts.createAccount)))));
11927
11103
  };
11928
11104
 
11929
11105
  // blocks/auth/CheckEmail.tsx
@@ -11952,11 +11128,7 @@ var import_react72 = __toESM(require("react"));
11952
11128
  var import_react_hook_form3 = require("react-hook-form");
11953
11129
  var import_zod3 = require("@hookform/resolvers/zod");
11954
11130
  var z3 = __toESM(require("zod"));
11955
- var NewPasswordForm = ({
11956
- texts,
11957
- isLoading,
11958
- ...props
11959
- }) => {
11131
+ var NewPasswordForm = ({ texts, isLoading, ...props }) => {
11960
11132
  var _a, _b, _c, _d, _e, _f, _g, _h;
11961
11133
  const formSchema = z3.object({
11962
11134
  password: z3.string({ required_error: (_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.required }).min(8, { message: (_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.tooShort }),
@@ -11978,9 +11150,7 @@ var NewPasswordForm = ({
11978
11150
  if (props.handleNewPassword) {
11979
11151
  return props.handleNewPassword(e);
11980
11152
  } else {
11981
- console.log(
11982
- "Form is submitted but handleSubmission prop is missing"
11983
- );
11153
+ console.log("Form is submitted but handleSubmission prop is missing");
11984
11154
  }
11985
11155
  })
11986
11156
  },
@@ -12034,14 +11204,7 @@ var NewPasswordForm = ({
12034
11204
  );
12035
11205
  }
12036
11206
  }
12037
- )), /* @__PURE__ */ import_react72.default.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react72.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_g = texts == null ? void 0 : texts.dontHaveAccount) != null ? _g : "Don't have an account? ", /* @__PURE__ */ import_react72.default.createElement(
12038
- "span",
12039
- {
12040
- className: "clickable-link",
12041
- onClick: props.handleRouteToRegister
12042
- },
12043
- (_h = texts == null ? void 0 : texts.registerText) != null ? _h : "Register"
12044
- )))
11207
+ )), /* @__PURE__ */ import_react72.default.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react72.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_g = texts == null ? void 0 : texts.dontHaveAccount) != null ? _g : "Don't have an account? ", /* @__PURE__ */ import_react72.default.createElement("span", { className: "clickable-link", onClick: props.handleRouteToRegister }, (_h = texts == null ? void 0 : texts.registerText) != null ? _h : "Register")))
12045
11208
  ));
12046
11209
  };
12047
11210
 
@@ -12107,22 +11270,7 @@ var ResetPasswordForm = ({
12107
11270
  }
12108
11271
  }
12109
11272
  )),
12110
- /* @__PURE__ */ import_react73.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react73.default.createElement(
12111
- Button,
12112
- {
12113
- type: "submit",
12114
- className: "hawa-w-full",
12115
- isLoading
12116
- },
12117
- ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
12118
- ), allowRegister && /* @__PURE__ */ import_react73.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react73.default.createElement(
12119
- "span",
12120
- {
12121
- className: "clickable-link",
12122
- onClick: props.handleRouteToRegister
12123
- },
12124
- (_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
12125
- )))
11273
+ /* @__PURE__ */ import_react73.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react73.default.createElement(Button, { type: "submit", className: "hawa-w-full", isLoading }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ import_react73.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react73.default.createElement("span", { className: "clickable-link", onClick: props.handleRouteToRegister }, (_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register")))
12126
11274
  )) : /* @__PURE__ */ import_react73.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react73.default.createElement("div", { className: "hawa-text-center" }, ((_n = props.texts) == null ? void 0 : _n.emailSentText) || "An email has been sent with a link to set a new password")));
12127
11275
  };
12128
11276
 
@@ -12170,7 +11318,7 @@ var CodeConfirmation = ({ codeLength = 6, ...props }) => {
12170
11318
  }
12171
11319
  };
12172
11320
  }, []);
12173
- return /* @__PURE__ */ import_react74.default.createElement(Card, null, /* @__PURE__ */ import_react74.default.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ import_react74.default.createElement(Alert, { title: props.errorTitle, text: props.errorText, severity: "error" }), /* @__PURE__ */ import_react74.default.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ import_react74.default.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourIdentifier) || "Please check your phone"), /* @__PURE__ */ import_react74.default.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ import_react74.default.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ import_react74.default.createElement("span", null, props.identifier))), /* @__PURE__ */ import_react74.default.createElement(
11321
+ return /* @__PURE__ */ import_react74.default.createElement(Card, null, /* @__PURE__ */ import_react74.default.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ import_react74.default.createElement(Alert, { title: props.errorTitle, text: props.errorText, severity: "error" }), /* @__PURE__ */ import_react74.default.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ import_react74.default.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourIdentifier) || "Please check your phone"), /* @__PURE__ */ import_react74.default.createElement("div", { className: "hawa-text-muted-foreground hawa-flex hawa-flex-row" }, /* @__PURE__ */ import_react74.default.createElement("span", null, `${(_d = props.texts) == null ? void 0 : _d.weSentCode} ` || `We've sent a code to `, /* @__PURE__ */ import_react74.default.createElement("span", { dir: "ltr" }, props.identifier)))), /* @__PURE__ */ import_react74.default.createElement(
12174
11322
  "form",
12175
11323
  {
12176
11324
  noValidate: true,
@@ -12264,19 +11412,13 @@ var UserReferralSource = ({
12264
11412
  return /* @__PURE__ */ import_react75.default.createElement(
12265
11413
  "div",
12266
11414
  {
12267
- className: cn(
12268
- "hawa-transition-all",
12269
- closed ? "hawa-opacity-0" : "hawa-opacity-100"
12270
- ),
11415
+ className: cn("hawa-transition-all", closed ? "hawa-opacity-0" : "hawa-opacity-100"),
12271
11416
  ref: popUpRef
12272
11417
  },
12273
11418
  /* @__PURE__ */ import_react75.default.createElement(
12274
11419
  Card,
12275
11420
  {
12276
- className: cn(
12277
- "hawa-fixed hawa-bottom-4 hawa-p-0 ",
12278
- boxPosition[position]
12279
- ),
11421
+ className: cn("hawa-fixed hawa-bottom-4 hawa-p-0", boxPosition[position]),
12280
11422
  dir: props.direction
12281
11423
  },
12282
11424
  /* @__PURE__ */ import_react75.default.createElement(
@@ -12285,7 +11427,7 @@ var UserReferralSource = ({
12285
11427
  type: "button",
12286
11428
  className: cn(
12287
11429
  props.direction === "rtl" ? "hawa-left-2" : "hawa-right-2",
12288
- "hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-8 hawa-w-8 hawa-rounded hawa-p-1.5 hawa-text-gray-400 hawa-transition-all hover:hawa-bg-gray-100 hover:hawa-text-gray-900 focus:hawa-ring-2 focus:hawa-ring-gray-300 dark:hawa-bg-gray-800 dark:hawa-text-gray-500 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-white"
11430
+ "hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-8 hawa-w-8 hawa-rounded hawa-p-1.5 hawa-text-gray-400 hawa-transition-all hover:hawa-bg-gray-100 hover:hawa-text-gray-900 focus:hawa-ring-2 focus:hawa-ring-gray-300 dark:hawa-bg-gray-800 dark:hawa-text-gray-500 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-white"
12289
11431
  ),
12290
11432
  "data-dismiss-target": "#toast-default",
12291
11433
  "aria-label": "Close",
@@ -12337,7 +11479,7 @@ var UserReferralSource = ({
12337
11479
  )
12338
11480
  },
12339
11481
  /* @__PURE__ */ import_react75.default.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
12340
- /* @__PURE__ */ import_react75.default.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ import_react75.default.createElement(
11482
+ /* @__PURE__ */ import_react75.default.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded" }, /* @__PURE__ */ import_react75.default.createElement(
12341
11483
  import_react_hook_form6.Controller,
12342
11484
  {
12343
11485
  control,
@@ -12389,10 +11531,7 @@ var UserReferralSource = ({
12389
11531
 
12390
11532
  // blocks/feedback/FeedbackRating.tsx
12391
11533
  var import_react76 = __toESM(require("react"));
12392
- var FeedbackRating = ({
12393
- position = "bottom-right",
12394
- ...props
12395
- }) => {
11534
+ var FeedbackRating = ({ position = "bottom-right", ...props }) => {
12396
11535
  const [closed, setClosed] = (0, import_react76.useState)(false);
12397
11536
  const [answered, setAnswered] = (0, import_react76.useState)(false);
12398
11537
  const [clickedOption, setClickedOption] = (0, import_react76.useState)(null);
@@ -12482,9 +11621,7 @@ var FeedbackRating = ({
12482
11621
  }, 4800);
12483
11622
  setTimeout(() => {
12484
11623
  var _a, _b;
12485
- (_b = popUpRef.current) == null ? void 0 : _b.removeChild(
12486
- (_a = popUpRef.current) == null ? void 0 : _a.children[0]
12487
- );
11624
+ (_b = popUpRef.current) == null ? void 0 : _b.removeChild((_a = popUpRef.current) == null ? void 0 : _a.children[0]);
12488
11625
  clearTimeout(timeoutDestroy);
12489
11626
  }, 5300);
12490
11627
  },
@@ -12634,9 +11771,7 @@ var FeedbackForm = (props) => {
12634
11771
  return /* @__PURE__ */ import_react78.default.createElement(
12635
11772
  Card,
12636
11773
  {
12637
- className: cn(
12638
- props.cardless ? "hawa-border-none hawa-bg-transparent hawa-shadow-none" : ""
12639
- ),
11774
+ className: cn(props.cardless ? "hawa-border-none hawa-bg-transparent hawa-shadow-none" : ""),
12640
11775
  style: props.cardless ? { boxShadow: "none" } : void 0
12641
11776
  },
12642
11777
  /* @__PURE__ */ import_react78.default.createElement(CardContent, { headless: true, className: props.cardless ? "!hawa-p-0" : "" }, props.sent ? /* @__PURE__ */ import_react78.default.createElement("div", { className: "hawa-text-center hawa-min-h-[200px] hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ import_react78.default.createElement("div", { className: "hawa-font-bold hawa-text-lg" }, props.texts.sentTitle || "Form submitted"), /* @__PURE__ */ import_react78.default.createElement("div", { className: "hawa-text-md" }, props.texts.sentSubtitle || "Thank you for your submission")) : /* @__PURE__ */ import_react78.default.createElement(
@@ -12809,10 +11944,7 @@ var LeadGenerator = ({ texts, submitHandler }) => {
12809
11944
 
12810
11945
  // blocks/misc/Announcement.tsx
12811
11946
  var import_react83 = __toESM(require("react"));
12812
- var Announcement = ({
12813
- onActionClick,
12814
- ...props
12815
- }) => {
11947
+ var Announcement = ({ onActionClick, ...props }) => {
12816
11948
  return /* @__PURE__ */ import_react83.default.createElement(Card, null, /* @__PURE__ */ import_react83.default.createElement(
12817
11949
  CardContent,
12818
11950
  {
@@ -12820,14 +11952,7 @@ var Announcement = ({
12820
11952
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
12821
11953
  },
12822
11954
  /* @__PURE__ */ import_react83.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center" }, /* @__PURE__ */ import_react83.default.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ import_react83.default.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
12823
- /* @__PURE__ */ import_react83.default.createElement(
12824
- Button,
12825
- {
12826
- onClick: () => onActionClick(),
12827
- className: "hawa-whitespace-nowrap"
12828
- },
12829
- props.actionText
12830
- )
11955
+ /* @__PURE__ */ import_react83.default.createElement(Button, { onClick: () => onActionClick(), className: "hawa-whitespace-nowrap" }, props.actionText)
12831
11956
  ));
12832
11957
  };
12833
11958
 
@@ -12873,25 +11998,22 @@ var ContactForm = ({
12873
11998
  }) => {
12874
11999
  var _a, _b, _c, _d, _e;
12875
12000
  const customFieldsSchema = z8.object({
12876
- ...customFields == null ? void 0 : customFields.reduce(
12877
- (acc, curr) => {
12878
- switch (curr.type) {
12879
- case "text":
12880
- acc[curr.name] = z8.string().optional().default("");
12881
- break;
12882
- case "number":
12883
- acc[curr.name] = z8.string().optional().default("");
12884
- break;
12885
- case "select":
12886
- acc[curr.name] = z8.string().optional().default("");
12887
- break;
12888
- default:
12889
- break;
12890
- }
12891
- return acc;
12892
- },
12893
- {}
12894
- )
12001
+ ...customFields == null ? void 0 : customFields.reduce((acc, curr) => {
12002
+ switch (curr.type) {
12003
+ case "text":
12004
+ acc[curr.name] = z8.string().optional().default("");
12005
+ break;
12006
+ case "number":
12007
+ acc[curr.name] = z8.string().optional().default("");
12008
+ break;
12009
+ case "select":
12010
+ acc[curr.name] = z8.string().optional().default("");
12011
+ break;
12012
+ default:
12013
+ break;
12014
+ }
12015
+ return acc;
12016
+ }, {})
12895
12017
  });
12896
12018
  const contactFormSchema = z8.object({
12897
12019
  name: z8.string({ required_error: (texts == null ? void 0 : texts.name.required) || "Name is required" }).min(1, (texts == null ? void 0 : texts.name.required) || "Name is required").default(""),
@@ -12961,13 +12083,10 @@ var ContactForm = ({
12961
12083
  /* @__PURE__ */ import_react86.default.createElement(
12962
12084
  "div",
12963
12085
  {
12964
- className: cn(
12965
- "hawa-flex hawa-items-start hawa-justify-start hawa-gap-2",
12966
- {
12967
- "hawa-flex-row": size === "default",
12968
- "hawa-flex-col": size === "sm"
12969
- }
12970
- )
12086
+ className: cn("hawa-flex hawa-items-start hawa-justify-start hawa-gap-2", {
12087
+ "hawa-flex-row": size === "default",
12088
+ "hawa-flex-col": size === "sm"
12089
+ })
12971
12090
  },
12972
12091
  /* @__PURE__ */ import_react86.default.createElement(
12973
12092
  import_react_hook_form9.Controller,
@@ -13065,9 +12184,7 @@ var ContactForm = ({
13065
12184
  placeholder: texts == null ? void 0 : texts.message.placeholder,
13066
12185
  className: "hawa-min-h-20",
13067
12186
  ...field,
13068
- onKeyDown: getHotkeyHandler([
13069
- ["mod+enter", () => SubmitForm(getValues())]
13070
- ])
12187
+ onKeyDown: getHotkeyHandler([["mod+enter", () => SubmitForm(getValues())]])
13071
12188
  },
13072
12189
  classNames: { textarea: "hawa-min-h-40 hawa-h-full" },
13073
12190
  helperText: (_a2 = errors.message) == null ? void 0 : _a2.message
@@ -13076,14 +12193,7 @@ var ContactForm = ({
13076
12193
  }
13077
12194
  }
13078
12195
  ),
13079
- /* @__PURE__ */ import_react86.default.createElement(
13080
- Button,
13081
- {
13082
- type: "submit",
13083
- className: cn("hawa-w-full", classNames == null ? void 0 : classNames.submitButton)
13084
- },
13085
- (texts == null ? void 0 : texts.submit) || "Submit"
13086
- )
12196
+ /* @__PURE__ */ import_react86.default.createElement(Button, { type: "submit", className: cn("hawa-w-full", classNames == null ? void 0 : classNames.submitButton) }, (texts == null ? void 0 : texts.submit) || "Submit")
13087
12197
  ))
13088
12198
  );
13089
12199
  };
@@ -13132,10 +12242,7 @@ var ActionCard = (props) => {
13132
12242
 
13133
12243
  // blocks/cards/AdCard.tsx
13134
12244
  var import_react88 = __toESM(require("react"));
13135
- var AdCard = ({
13136
- orientation = "vertical",
13137
- ...props
13138
- }) => {
12245
+ var AdCard = ({ orientation = "vertical", ...props }) => {
13139
12246
  const adRef = (0, import_react88.useRef)(null);
13140
12247
  const [closed, setClosed] = (0, import_react88.useState)(false);
13141
12248
  let duration = 0;
@@ -13164,43 +12271,34 @@ var AdCard = ({
13164
12271
  horizontal: "hawa-w-auto hawa-h-full hawa-bg-blue-500 hawa-rounded-inner",
13165
12272
  vertical: "hawa-bg-blue-500 hawa-rounded-inner hawa-w-auto "
13166
12273
  };
13167
- return /* @__PURE__ */ import_react88.default.createElement("div", { ref: adRef }, /* @__PURE__ */ import_react88.default.createElement(
13168
- "div",
12274
+ return /* @__PURE__ */ import_react88.default.createElement("div", { ref: adRef }, /* @__PURE__ */ import_react88.default.createElement("div", { className: cn(cardStyles[orientation], props.className), onClick: props.handleClick }, /* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start" }, /* @__PURE__ */ import_react88.default.createElement(
12275
+ "img",
13169
12276
  {
13170
- className: cn(cardStyles[orientation], props.className),
13171
- onClick: props.handleClick
13172
- },
13173
- /* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start" }, /* @__PURE__ */ import_react88.default.createElement(
13174
- "img",
13175
- {
13176
- src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
13177
- className: imageStyles[orientation]
13178
- }
13179
- )),
13180
- /* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-w-full hawa-text-xs" }, /* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-font-bold" }, props.title), /* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-text-[12px]" }, props.description)),
13181
- props.canHide && /* @__PURE__ */ import_react88.default.createElement(
13182
- "span",
13183
- {
13184
- onClick: (e) => {
13185
- e.stopPropagation();
13186
- if (props.canHide) {
13187
- setClosed(true);
13188
- setTimeout(() => {
13189
- if (adRef.current) {
13190
- adRef.current.removeChild(adRef.current.children[0]);
13191
- }
13192
- }, 200);
13193
- } else {
13194
- if (props.handleCantHide) {
13195
- props.handleCantHide();
12277
+ src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
12278
+ className: imageStyles[orientation]
12279
+ }
12280
+ )), /* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-w-full hawa-text-xs" }, /* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-font-bold" }, props.title), /* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-text-[12px]" }, props.description)), props.canHide && /* @__PURE__ */ import_react88.default.createElement(
12281
+ "span",
12282
+ {
12283
+ onClick: (e) => {
12284
+ e.stopPropagation();
12285
+ if (props.canHide) {
12286
+ setClosed(true);
12287
+ setTimeout(() => {
12288
+ if (adRef.current) {
12289
+ adRef.current.removeChild(adRef.current.children[0]);
13196
12290
  }
12291
+ }, 200);
12292
+ } else {
12293
+ if (props.handleCantHide) {
12294
+ props.handleCantHide();
13197
12295
  }
13198
- },
13199
- className: "hawa-absolute hawa-right-0 hawa-top-0 hawa-h-fit hawa-cursor-pointer hawa-select-none hawa-rounded-bl-lg hawa-rounded-tr-lg hawa-bg-primary/50 hawa-px-2.5 hawa-py-0.5 hawa-text-[10px] hawa-font-semibold hawa-text-primary-foreground"
12296
+ }
13200
12297
  },
13201
- "Hide"
13202
- )
13203
- ));
12298
+ className: "hawa-absolute hawa-right-0 hawa-top-0 hawa-h-fit hawa-cursor-pointer hawa-select-none hawa-rounded-bl-lg hawa-rounded-tr-lg hawa-bg-primary/50 hawa-px-2.5 hawa-py-0.5 hawa-text-[10px] hawa-font-semibold hawa-text-primary-foreground"
12299
+ },
12300
+ "Hide"
12301
+ )));
13204
12302
  };
13205
12303
 
13206
12304
  // blocks/cards/PricingCard.tsx
@@ -13219,13 +12317,7 @@ var PricingCard = ({
13219
12317
  medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background",
13220
12318
  large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background"
13221
12319
  };
13222
- return /* @__PURE__ */ import_react89.default.createElement(import_react89.default.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ import_react89.default.createElement(
13223
- Skeleton,
13224
- {
13225
- className: cn(cardSizes[size], "hawa-h-[200px]"),
13226
- fade: "bottom"
13227
- }
13228
- ) : /* @__PURE__ */ import_react89.default.createElement(
12320
+ return /* @__PURE__ */ import_react89.default.createElement(import_react89.default.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ import_react89.default.createElement(Skeleton, { className: cn(cardSizes[size], "hawa-h-[200px]"), fade: "bottom" }) : /* @__PURE__ */ import_react89.default.createElement(
13229
12321
  Card,
13230
12322
  {
13231
12323
  dir: direction,
@@ -13280,48 +12372,26 @@ var PricingCard = ({
13280
12372
  clipRule: "evenodd"
13281
12373
  }
13282
12374
  )
13283
- ) : /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react89.default.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70" }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ import_react89.default.createElement(
13284
- Chip,
13285
- {
13286
- label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
13287
- color: "oceanic",
13288
- size: "small"
13289
- }
13290
- ))),
13291
- feature.hint && /* @__PURE__ */ import_react89.default.createElement(
13292
- Tooltip,
12375
+ ) : /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react89.default.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70" }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ import_react89.default.createElement(Chip, { label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "", color: "oceanic", size: "small" }))),
12376
+ feature.hint && /* @__PURE__ */ import_react89.default.createElement(Tooltip, { content: feature.hint, side: feature.hintSide }, /* @__PURE__ */ import_react89.default.createElement(
12377
+ "svg",
13293
12378
  {
13294
- content: feature.hint,
13295
- side: feature.hintSide
12379
+ xmlns: "http://www.w3.org/2000/svg",
12380
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
12381
+ viewBox: "0 0 24 24",
12382
+ fill: "none",
12383
+ stroke: "currentColor",
12384
+ strokeWidth: "2",
12385
+ strokeLinecap: "round",
12386
+ strokeLinejoin: "round"
13296
12387
  },
13297
- /* @__PURE__ */ import_react89.default.createElement(
13298
- "svg",
13299
- {
13300
- xmlns: "http://www.w3.org/2000/svg",
13301
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
13302
- viewBox: "0 0 24 24",
13303
- fill: "none",
13304
- stroke: "currentColor",
13305
- strokeWidth: "2",
13306
- strokeLinecap: "round",
13307
- strokeLinejoin: "round"
13308
- },
13309
- /* @__PURE__ */ import_react89.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
13310
- /* @__PURE__ */ import_react89.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
13311
- /* @__PURE__ */ import_react89.default.createElement("path", { d: "M12 17h.01" })
13312
- )
13313
- )
12388
+ /* @__PURE__ */ import_react89.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
12389
+ /* @__PURE__ */ import_react89.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
12390
+ /* @__PURE__ */ import_react89.default.createElement("path", { d: "M12 17h.01" })
12391
+ ))
13314
12392
  );
13315
12393
  })),
13316
- /* @__PURE__ */ import_react89.default.createElement(
13317
- Button,
13318
- {
13319
- onClick: props.onPlanClicked,
13320
- disabled: currentPlan,
13321
- className: "hawa-w-full"
13322
- },
13323
- (_i = props.texts) == null ? void 0 : _i.buttonText
13324
- )
12394
+ /* @__PURE__ */ import_react89.default.createElement(Button, { onClick: props.onPlanClicked, disabled: currentPlan, className: "hawa-w-full" }, (_i = props.texts) == null ? void 0 : _i.buttonText)
13325
12395
  ))
13326
12396
  ));
13327
12397
  };
@@ -13408,25 +12478,16 @@ var ItemCard = ({
13408
12478
  DropdownMenu,
13409
12479
  {
13410
12480
  items: headerActions,
13411
- trigger: /* @__PURE__ */ import_react90.default.createElement(
13412
- Button,
12481
+ trigger: /* @__PURE__ */ import_react90.default.createElement(Button, { variant: "ghost", size: "smallIcon", onClick: handleOpenActionHeader }, /* @__PURE__ */ import_react90.default.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"), /* @__PURE__ */ import_react90.default.createElement(
12482
+ "svg",
13413
12483
  {
13414
- variant: "ghost",
13415
- size: "smallIcon",
13416
- onClick: handleOpenActionHeader
12484
+ className: "hawa-h-5 hawa-w-5",
12485
+ "aria-hidden": "true",
12486
+ fill: "currentColor",
12487
+ viewBox: "0 0 20 20"
13417
12488
  },
13418
- /* @__PURE__ */ import_react90.default.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
13419
- /* @__PURE__ */ import_react90.default.createElement(
13420
- "svg",
13421
- {
13422
- className: "hawa-h-5 hawa-w-5",
13423
- "aria-hidden": "true",
13424
- fill: "currentColor",
13425
- viewBox: "0 0 20 20"
13426
- },
13427
- /* @__PURE__ */ import_react90.default.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
13428
- )
13429
- )
12489
+ /* @__PURE__ */ import_react90.default.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
12490
+ ))
13430
12491
  }
13431
12492
  ))), /* @__PURE__ */ import_react90.default.createElement("div", { className: "hawa-mx-2" }, header && /* @__PURE__ */ import_react90.default.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight" }, header), content && /* @__PURE__ */ import_react90.default.createElement("span", { className: "hawa-w-full hawa-font-normal" }, content)), actions || counts ? /* @__PURE__ */ import_react90.default.createElement(
13432
12493
  "div",
@@ -13523,11 +12584,7 @@ var PricingPlans = ({
13523
12584
  var import_react93 = __toESM(require("react"));
13524
12585
  var ComparingPlans = (props) => {
13525
12586
  const uniqueFeatures = Array.from(
13526
- new Set(
13527
- props.plans.flatMap(
13528
- (plan) => plan.features.map((feature) => feature.text)
13529
- )
13530
- )
12587
+ new Set(props.plans.flatMap((plan) => plan.features.map((feature) => feature.text)))
13531
12588
  );
13532
12589
  return /* @__PURE__ */ import_react93.default.createElement("div", { id: "detailed-pricing", className: "hawa-w-full" }, /* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-flex-col hawa-justify-between hawa-gap-2 sm:hawa-flex-row" }, /* @__PURE__ */ import_react93.default.createElement(
13533
12590
  Radio,
@@ -13597,9 +12654,7 @@ var ComparingPlans = (props) => {
13597
12654
  )
13598
12655
  },
13599
12656
  /* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
13600
- (plan) => plan.features.some(
13601
- (feature) => feature.text === featureText && feature.hint
13602
- )
12657
+ (plan) => plan.features.some((feature) => feature.text === featureText && feature.hint)
13603
12658
  ) && /* @__PURE__ */ import_react93.default.createElement(
13604
12659
  Tooltip,
13605
12660
  {
@@ -13607,13 +12662,9 @@ var ComparingPlans = (props) => {
13607
12662
  content: (_b = (_a = props.plans.find(
13608
12663
  (plan) => {
13609
12664
  var _a2;
13610
- return (_a2 = plan.features.find(
13611
- (feature) => feature.text === featureText
13612
- )) == null ? void 0 : _a2.hint;
12665
+ return (_a2 = plan.features.find((feature) => feature.text === featureText)) == null ? void 0 : _a2.hint;
13613
12666
  }
13614
- )) == null ? void 0 : _a.features.find(
13615
- (feature) => feature.text === featureText
13616
- )) == null ? void 0 : _b.hint
12667
+ )) == null ? void 0 : _a.features.find((feature) => feature.text === featureText)) == null ? void 0 : _b.hint
13617
12668
  },
13618
12669
  /* @__PURE__ */ import_react93.default.createElement(
13619
12670
  "svg",
@@ -13628,9 +12679,7 @@ var ComparingPlans = (props) => {
13628
12679
  /* @__PURE__ */ import_react93.default.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
13629
12680
  )
13630
12681
  ), props.plans.some(
13631
- (plan) => plan.features.some(
13632
- (feature) => feature.text === featureText && feature.soon
13633
- )
12682
+ (plan) => plan.features.some((feature) => feature.text === featureText && feature.soon)
13634
12683
  ) && /* @__PURE__ */ import_react93.default.createElement(
13635
12684
  Chip,
13636
12685
  {
@@ -13642,9 +12691,7 @@ var ComparingPlans = (props) => {
13642
12691
  }
13643
12692
  )),
13644
12693
  props.plans.map((plan, planIndex) => {
13645
- const feature = plan.features.find(
13646
- (f) => f.text === featureText
13647
- );
12694
+ const feature = plan.features.find((f) => f.text === featureText);
13648
12695
  return /* @__PURE__ */ import_react93.default.createElement(
13649
12696
  "div",
13650
12697
  {
@@ -13658,32 +12705,25 @@ var ComparingPlans = (props) => {
13658
12705
  })
13659
12706
  ), props.showButtons && /* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5" }, /* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
13660
12707
  var _a;
13661
- return /* @__PURE__ */ import_react93.default.createElement(
13662
- "div",
12708
+ return /* @__PURE__ */ import_react93.default.createElement("div", { key: i, className: "hawa-flex hawa-items-center hawa-justify-center" }, /* @__PURE__ */ import_react93.default.createElement(
12709
+ Button,
13663
12710
  {
13664
- key: i,
13665
- className: "hawa-flex hawa-items-center hawa-justify-center"
13666
- },
13667
- /* @__PURE__ */ import_react93.default.createElement(
13668
- Button,
13669
- {
13670
- className: "hawa-w-full hawa-max-w-xs",
13671
- onClick: () => {
13672
- var _a2, _b;
13673
- if (props.onPlanClicked) {
13674
- let clickedData = {
13675
- // plan: plan.id,
13676
- currency: (_a2 = props.currentCurrency) == null ? void 0 : _a2.value,
13677
- cycle: (_b = props.currentCycle) == null ? void 0 : _b.value,
13678
- ...plan
13679
- };
13680
- props.onPlanClicked(clickedData);
13681
- }
12711
+ className: "hawa-w-full hawa-max-w-xs",
12712
+ onClick: () => {
12713
+ var _a2, _b;
12714
+ if (props.onPlanClicked) {
12715
+ let clickedData = {
12716
+ // plan: plan.id,
12717
+ currency: (_a2 = props.currentCurrency) == null ? void 0 : _a2.value,
12718
+ cycle: (_b = props.currentCycle) == null ? void 0 : _b.value,
12719
+ ...plan
12720
+ };
12721
+ props.onPlanClicked(clickedData);
13682
12722
  }
13683
- },
13684
- ((_a = plan.texts) == null ? void 0 : _a.buttonText) || "Get Started"
13685
- )
13686
- );
12723
+ }
12724
+ },
12725
+ ((_a = plan.texts) == null ? void 0 : _a.buttonText) || "Get Started"
12726
+ ));
13687
12727
  })));
13688
12728
  };
13689
12729
 
@@ -13712,41 +12752,25 @@ var HorizontalPricing = (props) => {
13712
12752
  options: props.billingCycles,
13713
12753
  defaultValue: props.currentCycle
13714
12754
  }
13715
- )), data.map((d, i) => /* @__PURE__ */ import_react94.default.createElement(
13716
- "label",
12755
+ )), data.map((d, i) => /* @__PURE__ */ import_react94.default.createElement("label", { key: i, htmlFor: d.title, className: "", onClick: () => setSelectedCard(d.title) }, /* @__PURE__ */ import_react94.default.createElement(
12756
+ "input",
13717
12757
  {
13718
- key: i,
13719
- htmlFor: d.title,
13720
- className: "",
13721
- onClick: () => setSelectedCard(d.title)
12758
+ type: "radio",
12759
+ name: "radio",
12760
+ id: d.title,
12761
+ className: "hawa-peer hawa-appearance-none"
12762
+ }
12763
+ ), /* @__PURE__ */ import_react94.default.createElement(
12764
+ "div",
12765
+ {
12766
+ className: cn(
12767
+ selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20" : "",
12768
+ "hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
12769
+ )
13722
12770
  },
13723
- /* @__PURE__ */ import_react94.default.createElement(
13724
- "input",
13725
- {
13726
- type: "radio",
13727
- name: "radio",
13728
- id: d.title,
13729
- className: "hawa-peer hawa-appearance-none"
13730
- }
13731
- ),
13732
- /* @__PURE__ */ import_react94.default.createElement(
13733
- "div",
13734
- {
13735
- className: cn(
13736
- selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20" : "",
13737
- "hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
13738
- )
13739
- },
13740
- /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ import_react94.default.createElement(CheckIcons, null), /* @__PURE__ */ import_react94.default.createElement(
13741
- CardText,
13742
- {
13743
- title: "Enterprise",
13744
- subtitle: "For startups and new businesses"
13745
- }
13746
- )),
13747
- /* @__PURE__ */ import_react94.default.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
13748
- )
13749
- ))));
12771
+ /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ import_react94.default.createElement(CheckIcons, null), /* @__PURE__ */ import_react94.default.createElement(CardText, { title: "Enterprise", subtitle: "For startups and new businesses" })),
12772
+ /* @__PURE__ */ import_react94.default.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
12773
+ )))));
13750
12774
  };
13751
12775
  var CheckIcons = () => /* @__PURE__ */ import_react94.default.createElement(import_react94.default.Fragment, null, /* @__PURE__ */ import_react94.default.createElement(
13752
12776
  "svg",
@@ -14033,7 +13057,7 @@ var Usage = (props) => {
14033
13057
 
14034
13058
  lucide-react/dist/esm/shared/src/utils.js:
14035
13059
  (**
14036
- * @license lucide-react v0.427.0 - ISC
13060
+ * @license lucide-react v0.435.0 - ISC
14037
13061
  *
14038
13062
  * This source code is licensed under the ISC license.
14039
13063
  * See the LICENSE file in the root directory of this source tree.
@@ -14041,7 +13065,7 @@ lucide-react/dist/esm/shared/src/utils.js:
14041
13065
 
14042
13066
  lucide-react/dist/esm/defaultAttributes.js:
14043
13067
  (**
14044
- * @license lucide-react v0.427.0 - ISC
13068
+ * @license lucide-react v0.435.0 - ISC
14045
13069
  *
14046
13070
  * This source code is licensed under the ISC license.
14047
13071
  * See the LICENSE file in the root directory of this source tree.
@@ -14049,7 +13073,7 @@ lucide-react/dist/esm/defaultAttributes.js:
14049
13073
 
14050
13074
  lucide-react/dist/esm/Icon.js:
14051
13075
  (**
14052
- * @license lucide-react v0.427.0 - ISC
13076
+ * @license lucide-react v0.435.0 - ISC
14053
13077
  *
14054
13078
  * This source code is licensed under the ISC license.
14055
13079
  * See the LICENSE file in the root directory of this source tree.
@@ -14057,7 +13081,7 @@ lucide-react/dist/esm/Icon.js:
14057
13081
 
14058
13082
  lucide-react/dist/esm/createLucideIcon.js:
14059
13083
  (**
14060
- * @license lucide-react v0.427.0 - ISC
13084
+ * @license lucide-react v0.435.0 - ISC
14061
13085
  *
14062
13086
  * This source code is licensed under the ISC license.
14063
13087
  * See the LICENSE file in the root directory of this source tree.
@@ -14065,7 +13089,7 @@ lucide-react/dist/esm/createLucideIcon.js:
14065
13089
 
14066
13090
  lucide-react/dist/esm/icons/dot.js:
14067
13091
  (**
14068
- * @license lucide-react v0.427.0 - ISC
13092
+ * @license lucide-react v0.435.0 - ISC
14069
13093
  *
14070
13094
  * This source code is licensed under the ISC license.
14071
13095
  * See the LICENSE file in the root directory of this source tree.
@@ -14073,7 +13097,7 @@ lucide-react/dist/esm/icons/dot.js:
14073
13097
 
14074
13098
  lucide-react/dist/esm/lucide-react.js:
14075
13099
  (**
14076
- * @license lucide-react v0.427.0 - ISC
13100
+ * @license lucide-react v0.435.0 - ISC
14077
13101
  *
14078
13102
  * This source code is licensed under the ISC license.
14079
13103
  * See the LICENSE file in the root directory of this source tree.