@sikka/hawa 0.48.0-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 (303) 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.d.mts +1 -0
  40. package/dist/blocks/auth/index.d.ts +1 -0
  41. package/dist/blocks/auth/index.js +539 -792
  42. package/dist/blocks/auth/index.mjs +433 -604
  43. package/dist/blocks/feedback/index.js +214 -375
  44. package/dist/blocks/feedback/index.mjs +12 -25
  45. package/dist/blocks/index.d.mts +1 -0
  46. package/dist/blocks/index.d.ts +1 -0
  47. package/dist/blocks/index.js +940 -1445
  48. package/dist/blocks/index.mjs +469 -615
  49. package/dist/blocks/misc/index.js +136 -251
  50. package/dist/blocks/misc/index.mjs +29 -54
  51. package/dist/blocks/pricing/index.js +220 -397
  52. package/dist/blocks/pricing/index.mjs +63 -134
  53. package/dist/breadcrumb/index.js +1 -5
  54. package/dist/breadcrumb/index.js.map +1 -1
  55. package/dist/breadcrumb/index.mjs +1 -5
  56. package/dist/breadcrumb/index.mjs.map +1 -1
  57. package/dist/button/index.js +50 -82
  58. package/dist/button/index.js.map +1 -1
  59. package/dist/button/index.mjs +50 -82
  60. package/dist/button/index.mjs.map +1 -1
  61. package/dist/calendar/index.js +50 -82
  62. package/dist/calendar/index.js.map +1 -1
  63. package/dist/calendar/index.mjs +50 -82
  64. package/dist/calendar/index.mjs.map +1 -1
  65. package/dist/card/index.js +7 -35
  66. package/dist/card/index.js.map +1 -1
  67. package/dist/card/index.mjs +7 -35
  68. package/dist/card/index.mjs.map +1 -1
  69. package/dist/carousel/index.js +15 -27
  70. package/dist/carousel/index.js.map +1 -1
  71. package/dist/carousel/index.mjs +15 -27
  72. package/dist/carousel/index.mjs.map +1 -1
  73. package/dist/checkbox/index.js +2 -13
  74. package/dist/checkbox/index.js.map +1 -1
  75. package/dist/checkbox/index.mjs +2 -13
  76. package/dist/checkbox/index.mjs.map +1 -1
  77. package/dist/chip/index.js +2 -16
  78. package/dist/chip/index.js.map +1 -1
  79. package/dist/chip/index.mjs +2 -16
  80. package/dist/chip/index.mjs.map +1 -1
  81. package/dist/{chunk-WUMDFBEK.mjs → chunk-3CHFVHTW.mjs} +43 -54
  82. package/dist/{chunk-2LUXOXAL.mjs → chunk-5SQBJRWE.mjs} +3 -9
  83. package/dist/{chunk-C2UOOH4X.mjs → chunk-B53SP2WZ.mjs} +3 -17
  84. package/dist/chunk-GHGWQVTM.mjs +150 -0
  85. package/dist/{chunk-5S5DR7KF.mjs → chunk-I23ONEDJ.mjs} +2 -10
  86. package/dist/{chunk-JFWD2ICY.mjs → chunk-JT7R3L5O.mjs} +54 -62
  87. package/dist/{chunk-6SJUUJOV.mjs → chunk-KDGJZPWK.mjs} +295 -574
  88. package/dist/{chunk-AWJSHOYU.mjs → chunk-KSJGXQTE.mjs} +1 -1
  89. package/dist/{chunk-NMW4GM4G.mjs → chunk-SE2JMXYG.mjs} +104 -144
  90. package/dist/{chunk-GBLWUEYN.mjs → chunk-ULRL4WI6.mjs} +176 -256
  91. package/dist/{chunk-IFWYR5W2.mjs → chunk-VUELRPUL.mjs} +57 -117
  92. package/dist/{chunk-WL7C2A5D.mjs → chunk-WQR4XZGL.mjs} +8 -15
  93. package/dist/codeBlock/index.js +50 -82
  94. package/dist/codeBlock/index.js.map +1 -1
  95. package/dist/codeBlock/index.mjs +50 -82
  96. package/dist/codeBlock/index.mjs.map +1 -1
  97. package/dist/colorPicker/index.js +21 -33
  98. package/dist/colorPicker/index.js.map +1 -1
  99. package/dist/colorPicker/index.mjs +22 -37
  100. package/dist/colorPicker/index.mjs.map +1 -1
  101. package/dist/combobox/index.d.mts +1 -1
  102. package/dist/combobox/index.d.ts +1 -1
  103. package/dist/combobox/index.js +141 -223
  104. package/dist/combobox/index.js.map +1 -1
  105. package/dist/combobox/index.mjs +141 -223
  106. package/dist/combobox/index.mjs.map +1 -1
  107. package/dist/command/index.d.mts +1 -1
  108. package/dist/command/index.d.ts +1 -1
  109. package/dist/command/index.js +129 -212
  110. package/dist/command/index.js.map +1 -1
  111. package/dist/command/index.mjs +129 -212
  112. package/dist/command/index.mjs.map +1 -1
  113. package/dist/dataTable/index.js +254 -394
  114. package/dist/dataTable/index.js.map +1 -1
  115. package/dist/dataTable/index.mjs +254 -394
  116. package/dist/dataTable/index.mjs.map +1 -1
  117. package/dist/datePicker/index.js +64 -105
  118. package/dist/datePicker/index.js.map +1 -1
  119. package/dist/datePicker/index.mjs +64 -105
  120. package/dist/datePicker/index.mjs.map +1 -1
  121. package/dist/destroyableCard/index.js +8 -39
  122. package/dist/destroyableCard/index.js.map +1 -1
  123. package/dist/destroyableCard/index.mjs +8 -39
  124. package/dist/destroyableCard/index.mjs.map +1 -1
  125. package/dist/dialog/index.js +70 -122
  126. package/dist/dialog/index.js.map +1 -1
  127. package/dist/dialog/index.mjs +70 -122
  128. package/dist/dialog/index.mjs.map +1 -1
  129. package/dist/docsLayout/index.js +169 -358
  130. package/dist/docsLayout/index.js.map +1 -1
  131. package/dist/docsLayout/index.mjs +169 -358
  132. package/dist/docsLayout/index.mjs.map +1 -1
  133. package/dist/docsSidebar/index.js +9 -16
  134. package/dist/docsSidebar/index.js.map +1 -1
  135. package/dist/docsSidebar/index.mjs +9 -16
  136. package/dist/docsSidebar/index.mjs.map +1 -1
  137. package/dist/dropdownMenu/index.js +124 -164
  138. package/dist/dropdownMenu/index.js.map +1 -1
  139. package/dist/dropdownMenu/index.mjs +124 -164
  140. package/dist/dropdownMenu/index.mjs.map +1 -1
  141. package/dist/elements/index.d.mts +3 -3
  142. package/dist/elements/index.d.ts +3 -3
  143. package/dist/elements/index.js +841 -1505
  144. package/dist/elements/index.mjs +381 -718
  145. package/dist/fileDropzone/index.js +60 -159
  146. package/dist/fileDropzone/index.js.map +1 -1
  147. package/dist/fileDropzone/index.mjs +60 -159
  148. package/dist/fileDropzone/index.mjs.map +1 -1
  149. package/dist/glow/index.js +4 -16
  150. package/dist/glow/index.js.map +1 -1
  151. package/dist/glow/index.mjs +4 -16
  152. package/dist/glow/index.mjs.map +1 -1
  153. package/dist/hooks/index.d.mts +1 -5
  154. package/dist/hooks/index.d.ts +1 -5
  155. package/dist/hooks/index.js +11 -24
  156. package/dist/hooks/index.mjs +2 -2
  157. package/dist/{index-B0aJcA6d.d.ts → index-BgNycocQ.d.mts} +2 -2
  158. package/dist/{index-B0aJcA6d.d.mts → index-BgNycocQ.d.ts} +2 -2
  159. package/dist/index.css +1 -6
  160. package/dist/index.d.mts +7 -8
  161. package/dist/index.d.ts +7 -8
  162. package/dist/index.js +1549 -2512
  163. package/dist/index.mjs +1550 -2516
  164. package/dist/input/index.js +20 -29
  165. package/dist/input/index.js.map +1 -1
  166. package/dist/input/index.mjs +20 -29
  167. package/dist/input/index.mjs.map +1 -1
  168. package/dist/interfaceSettings/index.js +122 -163
  169. package/dist/interfaceSettings/index.js.map +1 -1
  170. package/dist/interfaceSettings/index.mjs +122 -163
  171. package/dist/interfaceSettings/index.mjs.map +1 -1
  172. package/dist/label/index.js +19 -26
  173. package/dist/label/index.js.map +1 -1
  174. package/dist/label/index.mjs +19 -26
  175. package/dist/label/index.mjs.map +1 -1
  176. package/dist/layout/index.d.mts +2 -0
  177. package/dist/layout/index.d.ts +2 -0
  178. package/dist/layout/index.js +434 -790
  179. package/dist/layout/index.mjs +143 -243
  180. package/dist/loading/index.js +30 -53
  181. package/dist/loading/index.js.map +1 -1
  182. package/dist/loading/index.mjs +30 -53
  183. package/dist/loading/index.mjs.map +1 -1
  184. package/dist/logos/index.js +66 -191
  185. package/dist/logos/index.js.map +1 -1
  186. package/dist/logos/index.mjs +66 -191
  187. package/dist/logos/index.mjs.map +1 -1
  188. package/dist/navbar/index.js +1 -4
  189. package/dist/navbar/index.js.map +1 -1
  190. package/dist/navbar/index.mjs +1 -4
  191. package/dist/navbar/index.mjs.map +1 -1
  192. package/dist/navigationMenu/index.js +14 -22
  193. package/dist/navigationMenu/index.js.map +1 -1
  194. package/dist/navigationMenu/index.mjs +14 -22
  195. package/dist/navigationMenu/index.mjs.map +1 -1
  196. package/dist/pagination/index.js +1 -5
  197. package/dist/pagination/index.js.map +1 -1
  198. package/dist/pagination/index.mjs +1 -5
  199. package/dist/pagination/index.mjs.map +1 -1
  200. package/dist/passwordInput/index.js +36 -65
  201. package/dist/passwordInput/index.js.map +1 -1
  202. package/dist/passwordInput/index.mjs +36 -65
  203. package/dist/passwordInput/index.mjs.map +1 -1
  204. package/dist/phoneInput/index.js +20 -29
  205. package/dist/phoneInput/index.js.map +1 -1
  206. package/dist/phoneInput/index.mjs +20 -29
  207. package/dist/phoneInput/index.mjs.map +1 -1
  208. package/dist/pinInput/index.js +14 -16
  209. package/dist/pinInput/index.js.map +1 -1
  210. package/dist/pinInput/index.mjs +14 -16
  211. package/dist/pinInput/index.mjs.map +1 -1
  212. package/dist/popover/index.js +14 -24
  213. package/dist/popover/index.js.map +1 -1
  214. package/dist/popover/index.mjs +14 -24
  215. package/dist/popover/index.mjs.map +1 -1
  216. package/dist/progress/index.js +19 -26
  217. package/dist/progress/index.js.map +1 -1
  218. package/dist/progress/index.mjs +19 -26
  219. package/dist/progress/index.mjs.map +1 -1
  220. package/dist/progressCircle/index.js +67 -71
  221. package/dist/progressCircle/index.js.map +1 -1
  222. package/dist/progressCircle/index.mjs +67 -71
  223. package/dist/progressCircle/index.mjs.map +1 -1
  224. package/dist/radio/index.js +122 -163
  225. package/dist/radio/index.js.map +1 -1
  226. package/dist/radio/index.mjs +122 -163
  227. package/dist/radio/index.mjs.map +1 -1
  228. package/dist/scrollArea/index.js.map +1 -1
  229. package/dist/scrollArea/index.mjs.map +1 -1
  230. package/dist/scrollIndicator/index.js +1 -4
  231. package/dist/scrollIndicator/index.js.map +1 -1
  232. package/dist/scrollIndicator/index.mjs +1 -4
  233. package/dist/scrollIndicator/index.mjs.map +1 -1
  234. package/dist/select/index.js +20 -29
  235. package/dist/select/index.js.map +1 -1
  236. package/dist/select/index.mjs +20 -29
  237. package/dist/select/index.mjs.map +1 -1
  238. package/dist/separator/index.js.map +1 -1
  239. package/dist/separator/index.mjs.map +1 -1
  240. package/dist/sheet/index.js +42 -53
  241. package/dist/sheet/index.js.map +1 -1
  242. package/dist/sheet/index.mjs +42 -53
  243. package/dist/sheet/index.mjs.map +1 -1
  244. package/dist/sidebar/index.js +66 -133
  245. package/dist/sidebar/index.js.map +1 -1
  246. package/dist/sidebar/index.mjs +66 -133
  247. package/dist/sidebar/index.mjs.map +1 -1
  248. package/dist/signature/index.js +19 -26
  249. package/dist/signature/index.js.map +1 -1
  250. package/dist/signature/index.mjs +19 -26
  251. package/dist/signature/index.mjs.map +1 -1
  252. package/dist/simpleTable/index.js +50 -81
  253. package/dist/simpleTable/index.js.map +1 -1
  254. package/dist/simpleTable/index.mjs +50 -81
  255. package/dist/simpleTable/index.mjs.map +1 -1
  256. package/dist/skeleton/index.js.map +1 -1
  257. package/dist/skeleton/index.mjs.map +1 -1
  258. package/dist/slider/index.js.map +1 -1
  259. package/dist/slider/index.mjs.map +1 -1
  260. package/dist/sonner/index.js.map +1 -1
  261. package/dist/sonner/index.mjs.map +1 -1
  262. package/dist/sortButton/index.js +50 -82
  263. package/dist/sortButton/index.js.map +1 -1
  264. package/dist/sortButton/index.mjs +50 -82
  265. package/dist/sortButton/index.mjs.map +1 -1
  266. package/dist/splitButton/index.js +214 -294
  267. package/dist/splitButton/index.js.map +1 -1
  268. package/dist/splitButton/index.mjs +214 -294
  269. package/dist/splitButton/index.mjs.map +1 -1
  270. package/dist/stats/index.js +7 -35
  271. package/dist/stats/index.js.map +1 -1
  272. package/dist/stats/index.mjs +7 -35
  273. package/dist/stats/index.mjs.map +1 -1
  274. package/dist/switch/index.js +24 -34
  275. package/dist/switch/index.js.map +1 -1
  276. package/dist/switch/index.mjs +24 -34
  277. package/dist/switch/index.mjs.map +1 -1
  278. package/dist/table/index.js +27 -29
  279. package/dist/table/index.js.map +1 -1
  280. package/dist/table/index.mjs +27 -29
  281. package/dist/table/index.mjs.map +1 -1
  282. package/dist/tabs/index.js +54 -76
  283. package/dist/tabs/index.js.map +1 -1
  284. package/dist/tabs/index.mjs +54 -76
  285. package/dist/tabs/index.mjs.map +1 -1
  286. package/dist/textarea/index.js +21 -38
  287. package/dist/textarea/index.js.map +1 -1
  288. package/dist/textarea/index.mjs +21 -38
  289. package/dist/textarea/index.mjs.map +1 -1
  290. package/dist/toast/index.js +2 -10
  291. package/dist/toast/index.js.map +1 -1
  292. package/dist/toast/index.mjs +2 -10
  293. package/dist/toast/index.mjs.map +1 -1
  294. package/dist/toaster/index.js +3 -16
  295. package/dist/toaster/index.js.map +1 -1
  296. package/dist/toaster/index.mjs +3 -16
  297. package/dist/toaster/index.mjs.map +1 -1
  298. package/dist/tooltip/index.js +19 -26
  299. package/dist/tooltip/index.js.map +1 -1
  300. package/dist/tooltip/index.mjs +19 -26
  301. package/dist/tooltip/index.mjs.map +1 -1
  302. package/package.json +12 -12
  303. package/dist/chunk-JP2N5WKD.mjs +0 -190
@@ -73,13 +73,7 @@ function cn(...inputs) {
73
73
  // elements/card/Card.tsx
74
74
  var React = __toESM(require("react"));
75
75
  var Card = React.forwardRef(
76
- ({
77
- className,
78
- variant = "default",
79
- clickable = false,
80
- asContainer = false,
81
- ...props
82
- }, ref) => {
76
+ ({ className, variant = "default", clickable = false, asContainer = false, ...props }, ref) => {
83
77
  let variantStyles = {
84
78
  default: cn(
85
79
  "hawa-rounded hawa-border hawa-bg-card hawa-text-card-foreground hawa-shadow-sm",
@@ -91,14 +85,7 @@ var Card = React.forwardRef(
91
85
  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"
92
86
  )
93
87
  };
94
- return /* @__PURE__ */ React.createElement(
95
- "div",
96
- {
97
- ref,
98
- className: cn(!asContainer && variantStyles[variant], className),
99
- ...props
100
- }
101
- );
88
+ return /* @__PURE__ */ React.createElement("div", { ref, className: cn(!asContainer && variantStyles[variant], className), ...props });
102
89
  }
103
90
  );
104
91
  var CardHeader = React.forwardRef(
@@ -106,30 +93,15 @@ var CardHeader = React.forwardRef(
106
93
  "div",
107
94
  {
108
95
  ref,
109
- className: cn(
110
- "hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6",
111
- className
112
- ),
96
+ className: cn("hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6", className),
113
97
  ...props
114
98
  }
115
99
  ), props.actions && /* @__PURE__ */ React.createElement("div", { className: "hawa-p-6" }, props.actions))
116
100
  );
117
- var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
118
- "h3",
119
- {
120
- ref,
121
- className: cn("hawa-text-2xl hawa-font-semibold", className),
122
- ...props
123
- }
124
- ));
125
- var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
126
- "p",
127
- {
128
- ref,
129
- className: cn("hawa-text-sm hawa-text-muted-foreground", className),
130
- ...props
131
- }
132
- ));
101
+ var CardTitle = React.forwardRef(
102
+ ({ className, ...props }, ref) => /* @__PURE__ */ React.createElement("h3", { ref, className: cn("hawa-text-2xl hawa-font-semibold", className), ...props })
103
+ );
104
+ var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement("p", { ref, className: cn("hawa-text-sm hawa-text-muted-foreground", className), ...props }));
133
105
  var CardContent = React.forwardRef(
134
106
  ({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React.createElement(
135
107
  "div",
@@ -243,16 +215,7 @@ var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
243
215
  // elements/chip/Chip.tsx
244
216
  var import_react3 = __toESM(require("react"));
245
217
  var Chip = import_react3.default.forwardRef(
246
- ({
247
- label,
248
- size = "normal",
249
- icon,
250
- color,
251
- radius = "inherit",
252
- dot,
253
- dotStatus = "none",
254
- ...rest
255
- }, ref) => {
218
+ ({ label, size = "normal", icon, color, radius = "inherit", dot, dotStatus = "none", ...rest }, ref) => {
256
219
  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 ";
257
220
  let radiusStyles = {
258
221
  inherit: " hawa-rounded",
@@ -299,12 +262,7 @@ var Chip = import_react3.default.forwardRef(
299
262
  rest.className
300
263
  )
301
264
  },
302
- dot && /* @__PURE__ */ import_react3.default.createElement(
303
- "span",
304
- {
305
- className: cn(dotStyles[size], dotStatusStyles[dotStatus])
306
- }
307
- ),
265
+ dot && /* @__PURE__ */ import_react3.default.createElement("span", { className: cn(dotStyles[size], dotStatusStyles[dotStatus]) }),
308
266
  icon && icon,
309
267
  label
310
268
  );
@@ -329,28 +287,19 @@ var Accordion = AccordionPrimitive.Root;
329
287
  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";
330
288
  var AccordionItem = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React5.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
331
289
  AccordionItem.displayName = "AccordionItem";
332
- var AccordionTrigger = React5.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React5.createElement(AccordionPrimitive.Header, { className: "flex" }, /* @__PURE__ */ React5.createElement(
333
- AccordionPrimitive.Trigger,
290
+ var AccordionTrigger = React5.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React5.createElement(AccordionPrimitive.Header, { className: "flex" }, /* @__PURE__ */ React5.createElement(AccordionPrimitive.Trigger, { ref, className: cn(triggerStyles, className), ...props }, children, showArrow && /* @__PURE__ */ React5.createElement(
291
+ "svg",
334
292
  {
335
- ref,
336
- className: cn(triggerStyles, className),
337
- ...props
293
+ "aria-label": "Chevron Right Icon",
294
+ stroke: "currentColor",
295
+ fill: "currentColor",
296
+ viewBox: "0 0 16 16",
297
+ height: "1em",
298
+ width: "1em",
299
+ className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
338
300
  },
339
- children,
340
- showArrow && /* @__PURE__ */ React5.createElement(
341
- "svg",
342
- {
343
- "aria-label": "Chevron Right Icon",
344
- stroke: "currentColor",
345
- fill: "currentColor",
346
- viewBox: "0 0 16 16",
347
- height: "1em",
348
- width: "1em",
349
- className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
350
- },
351
- /* @__PURE__ */ React5.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" })
352
- )
353
- )));
301
+ /* @__PURE__ */ React5.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" })
302
+ ))));
354
303
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
355
304
  var AccordionContent = React5.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React5.createElement(
356
305
  AccordionPrimitive.Content,
@@ -404,111 +353,78 @@ var SidebarGroup = ({
404
353
  ))
405
354
  )));
406
355
  };
407
- var SidebarItem = ({
408
- item,
409
- onItemClick,
410
- onSubItemClick,
411
- direction,
412
- isOpen = true,
413
- LinkComponent,
414
- ...props
415
- }) => {
356
+ var SidebarItem = ({ item, onItemClick, onSubItemClick, direction, isOpen = true, LinkComponent, ...props }) => {
416
357
  const getSelectedStyle = (value) => {
417
358
  return props.selectedItem === value ? "hawa-bg-primary/90 hawa-text-primary-foreground hawa-cursor-default" : "hover:hawa-bg-primary/10";
418
359
  };
419
360
  if (item.subitems) {
420
- return /* @__PURE__ */ React5.createElement(
421
- AccordionItem,
361
+ return /* @__PURE__ */ React5.createElement(AccordionItem, { value: item.value, className: "hawa-overflow-x-clip", dir: direction }, /* @__PURE__ */ React5.createElement(
362
+ AccordionTrigger,
422
363
  {
423
- value: item.value,
424
- className: "hawa-overflow-x-clip",
425
- dir: direction
364
+ className: cn(
365
+ "hawa-w-full hawa-overflow-x-clip",
366
+ props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hawa-h-10 hover:hawa-bg-primary/10",
367
+ item.subitems && item.subitems.some((subitem) => props.selectedItem === subitem.value) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""
368
+ ),
369
+ showArrow: isOpen
426
370
  },
427
371
  /* @__PURE__ */ React5.createElement(
428
- AccordionTrigger,
372
+ "div",
429
373
  {
430
374
  className: cn(
431
- "hawa-w-full hawa-overflow-x-clip",
432
- props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hawa-h-10 hover:hawa-bg-primary/10",
433
- item.subitems && item.subitems.some(
434
- (subitem) => props.selectedItem === subitem.value
435
- ) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""
436
- ),
437
- showArrow: isOpen
375
+ "hawa-flex hawa-h-fit hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2"
376
+ )
438
377
  },
378
+ item.icon && item.icon,
439
379
  /* @__PURE__ */ React5.createElement(
440
- "div",
380
+ "span",
441
381
  {
442
382
  className: cn(
443
- "hawa-flex hawa-h-fit hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2"
383
+ "hawa-transition-all hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap",
384
+ isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
444
385
  )
445
386
  },
446
- item.icon && item.icon,
447
- /* @__PURE__ */ React5.createElement(
448
- "span",
449
- {
450
- className: cn(
451
- "hawa-transition-all hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap",
452
- isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
453
- )
454
- },
455
- item.label,
456
- item.badge && /* @__PURE__ */ React5.createElement(
457
- Chip,
458
- {
459
- label: item.badge.label,
460
- color: item.badge.color,
461
- size: "small"
462
- }
463
- )
464
- )
387
+ item.label,
388
+ item.badge && /* @__PURE__ */ React5.createElement(Chip, { label: item.badge.label, color: item.badge.color, size: "small" })
465
389
  )
466
- ),
467
- item.subitems && /* @__PURE__ */ React5.createElement(AccordionContent, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React5.createElement(
468
- "div",
390
+ )
391
+ ), item.subitems && /* @__PURE__ */ React5.createElement(AccordionContent, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React5.createElement(
392
+ "div",
393
+ {
394
+ className: cn(
395
+ "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
396
+ )
397
+ },
398
+ item.subitems.map((subitem, idx) => /* @__PURE__ */ React5.createElement(
399
+ LinkComponent,
469
400
  {
470
- className: cn(
471
- "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
472
- )
473
- },
474
- item.subitems.map((subitem, idx) => /* @__PURE__ */ React5.createElement(
475
- LinkComponent,
476
- {
477
- href: subitem.slug,
478
- key: idx,
479
- onMouseDown: (e) => {
480
- if (subitem.onMouseDown) {
481
- subitem.onMouseDown(e);
482
- }
483
- },
484
- onClick: (e) => {
485
- e.stopPropagation();
486
- if (subitem.onClick) {
487
- subitem.onClick(e);
488
- }
489
- if (onSubItemClick) {
490
- onSubItemClick([item.value, subitem.value]);
491
- }
492
- },
493
- className: cn(
494
- "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",
495
- // bg-foreground/10
496
- getSelectedStyle(subitem.value)
497
- )
401
+ href: subitem.slug,
402
+ key: idx,
403
+ onMouseDown: (e) => {
404
+ if (subitem.onMouseDown) {
405
+ subitem.onMouseDown(e);
406
+ }
498
407
  },
499
- subitem.icon && subitem.icon,
500
- subitem.label,
501
- subitem.badge && /* @__PURE__ */ React5.createElement(
502
- Chip,
503
- {
504
- label: subitem.badge.label,
505
- color: subitem.badge.color,
506
- size: "small"
408
+ onClick: (e) => {
409
+ e.stopPropagation();
410
+ if (subitem.onClick) {
411
+ subitem.onClick(e);
507
412
  }
413
+ if (onSubItemClick) {
414
+ onSubItemClick([item.value, subitem.value]);
415
+ }
416
+ },
417
+ className: cn(
418
+ "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",
419
+ // bg-foreground/10
420
+ getSelectedStyle(subitem.value)
508
421
  )
509
- ))
422
+ },
423
+ subitem.icon && subitem.icon,
424
+ subitem.label,
425
+ subitem.badge && /* @__PURE__ */ React5.createElement(Chip, { label: subitem.badge.label, color: subitem.badge.color, size: "small" })
510
426
  ))
511
- );
427
+ )));
512
428
  } else {
513
429
  return /* @__PURE__ */ React5.createElement(
514
430
  LinkComponent,
@@ -528,11 +444,7 @@ var SidebarItem = ({
528
444
  onItemClick([item.value]);
529
445
  }
530
446
  },
531
- className: cn(
532
- triggerStyles,
533
- getSelectedStyle(item.value),
534
- "hawa-overflow-x-clip"
535
- )
447
+ className: cn(triggerStyles, getSelectedStyle(item.value), "hawa-overflow-x-clip")
536
448
  },
537
449
  /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React5.createElement(
538
450
  "span",
@@ -544,14 +456,7 @@ var SidebarItem = ({
544
456
  },
545
457
  item.label,
546
458
  " ",
547
- item.badge && /* @__PURE__ */ React5.createElement(
548
- Chip,
549
- {
550
- label: item.badge.label,
551
- color: item.badge.color,
552
- size: "small"
553
- }
554
- )
459
+ item.badge && /* @__PURE__ */ React5.createElement(Chip, { label: item.badge.label, color: item.badge.color, size: "small" })
555
460
  ))
556
461
  );
557
462
  }
@@ -646,10 +551,7 @@ var Navbar = ({
646
551
  strokeWidth: "2",
647
552
  strokeLinecap: "round",
648
553
  strokeLinejoin: "round",
649
- className: cn(
650
- "hawa-h-6 hawa-w-6",
651
- !isOpen ? "hawa-invisible" : "hawa-visible"
652
- )
554
+ className: cn("hawa-h-6 hawa-w-6", !isOpen ? "hawa-invisible" : "hawa-visible")
653
555
  },
654
556
  /* @__PURE__ */ import_react5.default.createElement("path", { d: "M18 6 6 18" }),
655
557
  /* @__PURE__ */ import_react5.default.createElement("path", { d: "m6 6 12 12" })
@@ -696,21 +598,15 @@ function useClickOutside(handler, events, nodes) {
696
598
  const { target } = event != null ? event : {};
697
599
  if (Array.isArray(nodes)) {
698
600
  const shouldIgnore = (target == null ? void 0 : target.hasAttribute("data-ignore-outside-clicks")) || !document.body.contains(target) && target.tagName !== "HTML";
699
- const shouldTrigger = nodes.every(
700
- (node) => !!node && !event.composedPath().includes(node)
701
- );
601
+ const shouldTrigger = nodes.every((node) => !!node && !event.composedPath().includes(node));
702
602
  shouldTrigger && !shouldIgnore && handler();
703
603
  } else if (ref.current && !ref.current.contains(target)) {
704
604
  handler();
705
605
  }
706
606
  };
707
- (events || DEFAULT_EVENTS).forEach(
708
- (fn) => document.addEventListener(fn, listener)
709
- );
607
+ (events || DEFAULT_EVENTS).forEach((fn) => document.addEventListener(fn, listener));
710
608
  return () => {
711
- (events || DEFAULT_EVENTS).forEach(
712
- (fn) => document.removeEventListener(fn, listener)
713
- );
609
+ (events || DEFAULT_EVENTS).forEach((fn) => document.removeEventListener(fn, listener));
714
610
  };
715
611
  }, [ref, handler, nodes]);
716
612
  return ref;
@@ -725,9 +621,7 @@ var import_class_variance_authority = require("class-variance-authority");
725
621
 
726
622
  // elements/helperText/HelperText.tsx
727
623
  var import_react7 = __toESM(require("react"));
728
- var HelperText = ({
729
- helperText
730
- }) => /* @__PURE__ */ import_react7.default.createElement(
624
+ var HelperText = ({ helperText }) => /* @__PURE__ */ import_react7.default.createElement(
731
625
  "p",
732
626
  {
733
627
  className: cn(
@@ -778,38 +672,31 @@ var Tooltip = ({
778
672
  delayDuration = 300,
779
673
  ...props
780
674
  }) => {
781
- return /* @__PURE__ */ import_react8.default.createElement(
782
- TooltipPrimitive.TooltipProvider,
675
+ return /* @__PURE__ */ import_react8.default.createElement(TooltipPrimitive.TooltipProvider, { delayDuration, ...providerProps }, /* @__PURE__ */ import_react8.default.createElement(
676
+ TooltipPrimitive.Root,
783
677
  {
784
- delayDuration,
785
- ...providerProps
678
+ open: !disabled && open,
679
+ defaultOpen,
680
+ onOpenChange,
681
+ ...props
786
682
  },
683
+ /* @__PURE__ */ import_react8.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
787
684
  /* @__PURE__ */ import_react8.default.createElement(
788
- TooltipPrimitive.Root,
685
+ TooltipContent,
789
686
  {
790
- open: !disabled && open,
791
- defaultOpen,
792
- onOpenChange,
793
- ...props
687
+ size,
688
+ side,
689
+ align: "center",
690
+ ...contentProps,
691
+ style: {
692
+ ...contentProps == null ? void 0 : contentProps.style,
693
+ maxWidth: "var(--radix-tooltip-content-available-width)",
694
+ maxHeight: "var(--radix-tooltip-content-available-height)"
695
+ }
794
696
  },
795
- /* @__PURE__ */ import_react8.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
796
- /* @__PURE__ */ import_react8.default.createElement(
797
- TooltipContent,
798
- {
799
- size,
800
- side,
801
- align: "center",
802
- ...contentProps,
803
- style: {
804
- ...contentProps == null ? void 0 : contentProps.style,
805
- maxWidth: "var(--radix-tooltip-content-available-width)",
806
- maxHeight: "var(--radix-tooltip-content-available-height)"
807
- }
808
- },
809
- content
810
- )
697
+ content
811
698
  )
812
- );
699
+ ));
813
700
  };
814
701
 
815
702
  // elements/label/Label.tsx
@@ -886,57 +773,42 @@ var Loading = ({
886
773
  };
887
774
  switch (design.split("-")[0]) {
888
775
  case "dots":
889
- return /* @__PURE__ */ import_react9.default.createElement(
776
+ return /* @__PURE__ */ import_react9.default.createElement("div", { className: cn("hawa-flex hawa-flex-row hawa-gap-2", classNames == null ? void 0 : classNames.container) }, /* @__PURE__ */ import_react9.default.createElement(
890
777
  "div",
891
778
  {
892
779
  className: cn(
893
- "hawa-flex hawa-flex-row hawa-gap-2",
894
- classNames == null ? void 0 : classNames.container
780
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-100 hawa-repeat-infinite",
781
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
782
+ animationStyles[design.split("-")[1]],
783
+ color ? color : "hawa-bg-primary"
895
784
  )
896
- },
897
- /* @__PURE__ */ import_react9.default.createElement(
898
- "div",
899
- {
900
- className: cn(
901
- "hawa-animate-bounce hawa-rounded-full hawa-delay-100 hawa-repeat-infinite",
902
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
903
- animationStyles[design.split("-")[1]],
904
- color ? color : "hawa-bg-primary"
905
- )
906
- }
907
- ),
908
- /* @__PURE__ */ import_react9.default.createElement(
909
- "div",
910
- {
911
- className: cn(
912
- "hawa-animate-bounce hawa-rounded-full hawa-delay-200 hawa-repeat-infinite",
913
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
914
- animationStyles[design.split("-")[1]],
915
- color ? color : "hawa-bg-primary"
916
- )
917
- }
918
- ),
919
- /* @__PURE__ */ import_react9.default.createElement(
920
- "div",
921
- {
922
- className: cn(
923
- "hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
924
- size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
925
- animationStyles[design.split("-")[1]],
926
- color ? color : "hawa-bg-primary"
927
- )
928
- }
929
- )
930
- );
785
+ }
786
+ ), /* @__PURE__ */ import_react9.default.createElement(
787
+ "div",
788
+ {
789
+ className: cn(
790
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-200 hawa-repeat-infinite",
791
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
792
+ animationStyles[design.split("-")[1]],
793
+ color ? color : "hawa-bg-primary"
794
+ )
795
+ }
796
+ ), /* @__PURE__ */ import_react9.default.createElement(
797
+ "div",
798
+ {
799
+ className: cn(
800
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
801
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
802
+ animationStyles[design.split("-")[1]],
803
+ color ? color : "hawa-bg-primary"
804
+ )
805
+ }
806
+ ));
931
807
  case "square":
932
808
  return /* @__PURE__ */ import_react9.default.createElement(
933
809
  "svg",
934
810
  {
935
- className: cn(
936
- "squircle-container",
937
- sizeStyles[size],
938
- classNames == null ? void 0 : classNames.container
939
- ),
811
+ className: cn("squircle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container),
940
812
  viewBox: "0 0 35 35",
941
813
  height: "35",
942
814
  width: "35"
@@ -977,11 +849,7 @@ var Loading = ({
977
849
  height: "37",
978
850
  width: "37",
979
851
  preserveAspectRatio: "xMidYMid meet",
980
- className: cn(
981
- "squircle-container",
982
- sizeStyles[size],
983
- classNames == null ? void 0 : classNames.container
984
- )
852
+ className: cn("squircle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container)
985
853
  },
986
854
  /* @__PURE__ */ import_react9.default.createElement(
987
855
  "path",
@@ -1024,11 +892,7 @@ var Loading = ({
1024
892
  viewBox: "0 0 40 40",
1025
893
  height: "40",
1026
894
  width: "40",
1027
- className: cn(
1028
- "circle-container",
1029
- sizeStyles[size],
1030
- classNames == null ? void 0 : classNames.container
1031
- )
895
+ className: cn("circle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container)
1032
896
  },
1033
897
  /* @__PURE__ */ import_react9.default.createElement(
1034
898
  "circle",
@@ -1335,17 +1199,11 @@ var DropdownMenuSeparator = React13.forwardRef(({ className, ...props }, ref) =>
1335
1199
  }
1336
1200
  ));
1337
1201
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
1338
- var DropdownMenuShortcut = ({
1339
- className,
1340
- ...props
1341
- }) => {
1202
+ var DropdownMenuShortcut = ({ className, ...props }) => {
1342
1203
  return /* @__PURE__ */ React13.createElement(
1343
1204
  "span",
1344
1205
  {
1345
- className: cn(
1346
- "hawa-text-xs hawa-tracking-widest hawa-opacity-60",
1347
- className
1348
- ),
1206
+ className: cn("hawa-text-xs hawa-tracking-widest hawa-opacity-60", className),
1349
1207
  ...props
1350
1208
  }
1351
1209
  );
@@ -1382,178 +1240,144 @@ var DropdownMenu = ({
1382
1240
  default: "hawa-px-2 hawa-py-3 ",
1383
1241
  sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
1384
1242
  };
1385
- let [values, setValues] = React13.useState(
1386
- items.map((item) => item.currentOption)
1387
- );
1388
- return /* @__PURE__ */ React13.createElement(
1389
- DropdownMenuRoot,
1243
+ let [values, setValues] = React13.useState(items.map((item) => item.currentOption));
1244
+ return /* @__PURE__ */ React13.createElement(DropdownMenuRoot, { onOpenChange, open, modal: false, dir: direction }, /* @__PURE__ */ React13.createElement(
1245
+ DropdownMenuTrigger,
1390
1246
  {
1391
- onOpenChange,
1392
- open,
1393
- modal: false,
1394
- dir: direction
1247
+ asChild: true,
1248
+ className: cn(classNames == null ? void 0 : classNames.trigger, triggerClassname),
1249
+ ...triggerProps
1395
1250
  },
1396
- /* @__PURE__ */ React13.createElement(
1397
- DropdownMenuTrigger,
1398
- {
1399
- asChild: true,
1400
- className: cn(classNames == null ? void 0 : classNames.trigger, triggerClassname),
1401
- ...triggerProps
1402
- },
1403
- trigger
1404
- ),
1405
- /* @__PURE__ */ React13.createElement(import_react10.Portal, null, /* @__PURE__ */ React13.createElement(
1406
- DropdownMenuContent,
1407
- {
1408
- side,
1409
- sideOffset,
1410
- align,
1411
- alignOffset,
1412
- className: cn(
1413
- className,
1414
- classNames == null ? void 0 : classNames.content,
1415
- widthStyles[width],
1416
- "hawa-flex hawa-flex-col hawa-gap-1 hawa-overflow-y-auto"
1417
- ),
1418
- style: {
1419
- maxHeight: "var(--radix-dropdown-menu-content-available-height)"
1420
- },
1421
- ...contentProps
1251
+ trigger
1252
+ ), /* @__PURE__ */ React13.createElement(import_react10.Portal, null, /* @__PURE__ */ React13.createElement(
1253
+ DropdownMenuContent,
1254
+ {
1255
+ side,
1256
+ sideOffset,
1257
+ align,
1258
+ alignOffset,
1259
+ className: cn(
1260
+ className,
1261
+ classNames == null ? void 0 : classNames.content,
1262
+ widthStyles[width],
1263
+ "hawa-flex hawa-flex-col hawa-gap-1 hawa-overflow-y-auto"
1264
+ ),
1265
+ style: {
1266
+ maxHeight: "var(--radix-dropdown-menu-content-available-height)"
1422
1267
  },
1423
- header && header,
1424
- items && items.map((item, index) => {
1425
- var _a;
1426
- const ItemLinkComponent = item.slug ? LinkComponent : "a";
1427
- if (item.itemType === "separator") {
1428
- return /* @__PURE__ */ React13.createElement(
1429
- DropdownMenuSeparator,
1430
- {
1431
- key: index,
1432
- className: classNames == null ? void 0 : classNames.separator
1433
- }
1434
- );
1435
- } else if (item.itemType === "label") {
1436
- return /* @__PURE__ */ React13.createElement(DropdownMenuLabel, { key: index }, item.label);
1437
- } else if (item.itemType === "radio") {
1438
- let dd = item.currentOption;
1439
- return /* @__PURE__ */ React13.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React13.createElement(
1440
- DropdownMenuSubTrigger,
1441
- {
1442
- dir: direction,
1443
- className: cn(sizeStyles[size])
1444
- },
1445
- item.icon && item.icon,
1446
- item.label && item.label
1447
- ), /* @__PURE__ */ React13.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React13.createElement(
1448
- DropdownMenuRadioGroup,
1449
- {
1450
- value: values[index],
1451
- onValueChange: (e) => {
1452
- let newValues = [...values];
1453
- newValues[index] = e;
1454
- setValues(newValues);
1455
- console.log("changing to ", e);
1456
- if (item.onOptionChange) {
1457
- item.onOptionChange(e);
1458
- }
1268
+ ...contentProps
1269
+ },
1270
+ header && header,
1271
+ items && items.map((item, index) => {
1272
+ var _a;
1273
+ const ItemLinkComponent = item.slug ? LinkComponent : "a";
1274
+ if (item.itemType === "separator") {
1275
+ return /* @__PURE__ */ React13.createElement(DropdownMenuSeparator, { key: index, className: classNames == null ? void 0 : classNames.separator });
1276
+ } else if (item.itemType === "label") {
1277
+ return /* @__PURE__ */ React13.createElement(DropdownMenuLabel, { key: index }, item.label);
1278
+ } else if (item.itemType === "radio") {
1279
+ let dd = item.currentOption;
1280
+ return /* @__PURE__ */ React13.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React13.createElement(DropdownMenuSubTrigger, { dir: direction, className: cn(sizeStyles[size]) }, item.icon && item.icon, item.label && item.label), /* @__PURE__ */ React13.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React13.createElement(
1281
+ DropdownMenuRadioGroup,
1282
+ {
1283
+ value: values[index],
1284
+ onValueChange: (e) => {
1285
+ let newValues = [...values];
1286
+ newValues[index] = e;
1287
+ setValues(newValues);
1288
+ console.log("changing to ", e);
1289
+ if (item.onOptionChange) {
1290
+ item.onOptionChange(e);
1459
1291
  }
1460
- },
1461
- (_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React13.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
1462
- )));
1463
- } else if (item.itemType === "custom") {
1464
- return /* @__PURE__ */ React13.createElement("div", { key: index }, item.content);
1465
- } else {
1466
- return item.subitems ? /* @__PURE__ */ React13.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React13.createElement(
1467
- DropdownMenuSubTrigger,
1468
- {
1469
- dir: direction,
1470
- className: cn(sizeStyles[size])
1471
- },
1472
- item.icon && item.icon,
1473
- item.label && item.label
1474
- ), /* @__PURE__ */ React13.createElement(import_react10.Portal, null, /* @__PURE__ */ React13.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
1475
- const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
1476
- return /* @__PURE__ */ React13.createElement(
1477
- DropdownMenuItem,
1478
- {
1479
- key: subIndex,
1480
- LinkComponent: SubitemLinkComponent,
1481
- slug: subitem.slug,
1482
- disabled: subitem.disabled,
1483
- className: cn(
1484
- sizeStyles[size],
1485
- !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent"
1486
- ),
1487
- onMouseDown: (event) => {
1488
- if (event.button === 1 || event.button === 0 && event.ctrlKey) {
1489
- event.preventDefault();
1490
- if (subitem.onMiddleClick) {
1491
- subitem.onMiddleClick(item.value);
1492
- }
1493
- }
1494
- },
1495
- onSelect: () => {
1496
- subitem.action && subitem.action();
1497
- if (onItemSelect) {
1498
- onItemSelect(subitem.value);
1499
- }
1500
- }
1501
- },
1502
- subitem.icon && subitem.icon,
1503
- subitem.label && subitem.label
1504
- );
1505
- })))) : /* @__PURE__ */ React13.createElement(
1292
+ }
1293
+ },
1294
+ (_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React13.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
1295
+ )));
1296
+ } else if (item.itemType === "custom") {
1297
+ return /* @__PURE__ */ React13.createElement("div", { key: index }, item.content);
1298
+ } else {
1299
+ return item.subitems ? /* @__PURE__ */ React13.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React13.createElement(DropdownMenuSubTrigger, { dir: direction, className: cn(sizeStyles[size]) }, item.icon && item.icon, item.label && item.label), /* @__PURE__ */ React13.createElement(import_react10.Portal, null, /* @__PURE__ */ React13.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
1300
+ const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
1301
+ return /* @__PURE__ */ React13.createElement(
1506
1302
  DropdownMenuItem,
1507
1303
  {
1508
- LinkComponent: ItemLinkComponent,
1509
- slug: item.slug,
1510
- key: index,
1511
- disabled: item.disabled,
1304
+ key: subIndex,
1305
+ LinkComponent: SubitemLinkComponent,
1306
+ slug: subitem.slug,
1307
+ disabled: subitem.disabled,
1308
+ className: cn(
1309
+ sizeStyles[size],
1310
+ !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent"
1311
+ ),
1512
1312
  onMouseDown: (event) => {
1513
1313
  if (event.button === 1 || event.button === 0 && event.ctrlKey) {
1514
1314
  event.preventDefault();
1515
- if (item.onMiddleClick) {
1516
- item.onMiddleClick(item.value);
1315
+ if (subitem.onMiddleClick) {
1316
+ subitem.onMiddleClick(item.value);
1517
1317
  }
1518
1318
  }
1519
1319
  },
1520
- onClick: (event) => {
1521
- if (item.onClick) {
1522
- item.onClick(item.value);
1320
+ onSelect: () => {
1321
+ subitem.action && subitem.action();
1322
+ if (onItemSelect) {
1323
+ onItemSelect(subitem.value);
1523
1324
  }
1524
- },
1525
- onSelect: (e) => {
1526
- if (item.presist) {
1527
- e.preventDefault();
1325
+ }
1326
+ },
1327
+ subitem.icon && subitem.icon,
1328
+ subitem.label && subitem.label
1329
+ );
1330
+ })))) : /* @__PURE__ */ React13.createElement(
1331
+ DropdownMenuItem,
1332
+ {
1333
+ LinkComponent: ItemLinkComponent,
1334
+ slug: item.slug,
1335
+ key: index,
1336
+ disabled: item.disabled,
1337
+ onMouseDown: (event) => {
1338
+ if (event.button === 1 || event.button === 0 && event.ctrlKey) {
1339
+ event.preventDefault();
1340
+ if (item.onMiddleClick) {
1341
+ item.onMiddleClick(item.value);
1528
1342
  }
1529
- if (item.action) {
1530
- item.action();
1531
- if (onItemSelect) {
1532
- onItemSelect(item.value);
1533
- }
1534
- } else {
1535
- if (onItemSelect) {
1536
- onItemSelect(item.value);
1537
- }
1343
+ }
1344
+ },
1345
+ onClick: (event) => {
1346
+ if (item.onClick) {
1347
+ item.onClick(item.value);
1348
+ }
1349
+ },
1350
+ onSelect: (e) => {
1351
+ if (item.presist) {
1352
+ e.preventDefault();
1353
+ }
1354
+ if (item.action) {
1355
+ item.action();
1356
+ if (onItemSelect) {
1357
+ onItemSelect(item.value);
1538
1358
  }
1539
- },
1540
- end: item.end,
1541
- shortcut: item.shortcut,
1542
- badged: item.badged,
1543
- className: cn(
1544
- sizeStyles[size],
1545
- !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
1546
- item.presist && "focus:hawa-bg-transparent",
1547
- classNames == null ? void 0 : classNames.item
1548
- )
1359
+ } else {
1360
+ if (onItemSelect) {
1361
+ onItemSelect(item.value);
1362
+ }
1363
+ }
1549
1364
  },
1550
- item.icon && item.icon,
1551
- item.label && item.label
1552
- );
1553
- }
1554
- })
1555
- ))
1556
- );
1365
+ end: item.end,
1366
+ shortcut: item.shortcut,
1367
+ badged: item.badged,
1368
+ className: cn(
1369
+ sizeStyles[size],
1370
+ !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
1371
+ item.presist && "focus:hawa-bg-transparent",
1372
+ classNames == null ? void 0 : classNames.item
1373
+ )
1374
+ },
1375
+ item.icon && item.icon,
1376
+ item.label && item.label
1377
+ );
1378
+ }
1379
+ })
1380
+ )));
1557
1381
  };
1558
1382
 
1559
1383
  // icons/Emojis.tsx
@@ -1590,7 +1414,9 @@ var MenuIcon = () => /* @__PURE__ */ import_react13.default.createElement(
1590
1414
  var LOCAL_STORAGE_KEY = "@sikka/hawa/keep-drawer-open";
1591
1415
  var AppLayout = ({
1592
1416
  profileMenuWidth = "default",
1417
+ userInfoPosition = "next_to_avatar",
1593
1418
  DrawerFooterActions,
1419
+ profileMenuItems,
1594
1420
  classNames,
1595
1421
  bordered = true,
1596
1422
  design = "default",
@@ -1623,9 +1449,7 @@ var AppLayout = ({
1623
1449
  };
1624
1450
  const isRTL = direction === "rtl";
1625
1451
  const [openedSidebarItem, setOpenedSidebarItem] = (0, import_react14.useState)("");
1626
- const [size, setSize] = (0, import_react14.useState)(
1627
- typeof window !== "undefined" && window.innerWidth || 1200
1628
- );
1452
+ const [size, setSize] = (0, import_react14.useState)(typeof window !== "undefined" && window.innerWidth || 1200);
1629
1453
  const [openSideMenu, setOpenSideMenu] = (0, import_react14.useState)(() => {
1630
1454
  const savedState = localStorage.getItem(LOCAL_STORAGE_KEY);
1631
1455
  return savedState ? JSON.parse(savedState) : false;
@@ -1680,6 +1504,18 @@ var AppLayout = ({
1680
1504
  }
1681
1505
  }, [size, keepDrawerOpen]);
1682
1506
  const drawerSizeCondition = size > 600 ? drawerSizeStyle[keepDrawerOpen ? "opened" : "closed"][drawerSize] : 0;
1507
+ let finalProfileMenuItems = profileMenuItems;
1508
+ if (userInfoPosition === "in_dropdown") {
1509
+ if (profileMenuItems && profileMenuItems.length > 0) {
1510
+ finalProfileMenuItems = [
1511
+ {
1512
+ content: /* @__PURE__ */ import_react14.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_react14.default.createElement("div", { className: "hawa-font-bold" }, props.username), /* @__PURE__ */ import_react14.default.createElement("div", null, props.email)),
1513
+ itemType: "custom"
1514
+ },
1515
+ ...profileMenuItems
1516
+ ];
1517
+ }
1518
+ }
1683
1519
  return /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-fixed hawa-start-0" }, props.topBar && /* @__PURE__ */ import_react14.default.createElement(
1684
1520
  "div",
1685
1521
  {
@@ -1692,10 +1528,7 @@ var AppLayout = ({
1692
1528
  size > 600 ? /* @__PURE__ */ import_react14.default.createElement(
1693
1529
  "div",
1694
1530
  {
1695
- className: cn(
1696
- "dark:hawa-text-white",
1697
- size > 600 ? "hawa-ms-14" : "hawa-ms-2"
1698
- ),
1531
+ className: cn("dark:hawa-text-white", size > 600 ? "hawa-ms-14" : "hawa-ms-2"),
1699
1532
  style: {
1700
1533
  marginInlineStart: `${drawerSizeStyle[keepDrawerOpen ? "opened" : "closed"][drawerSize] + 10}px`
1701
1534
  }
@@ -1720,7 +1553,7 @@ var AppLayout = ({
1720
1553
  props.pageTitle ? /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ import_react14.default.createElement("div", null)
1721
1554
  )
1722
1555
  ),
1723
- /* @__PURE__ */ import_react14.default.createElement("div", { className: cn("hawa-flex hawa-gap-2 dark:hawa-text-white") }, size > 600 ? /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-text-end hawa-text-xs" }, /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-font-bold" }, props.username), " ", /* @__PURE__ */ import_react14.default.createElement("div", null, props.email)) : null, /* @__PURE__ */ import_react14.default.createElement(
1556
+ /* @__PURE__ */ import_react14.default.createElement("div", { className: cn("hawa-flex hawa-gap-2 dark:hawa-text-white") }, size > 600 && userInfoPosition === "next_to_avatar" ? /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-text-end hawa-text-xs hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-font-bold" }, props.username), /* @__PURE__ */ import_react14.default.createElement("div", null, props.email)) : null, /* @__PURE__ */ import_react14.default.createElement(
1724
1557
  DropdownMenu,
1725
1558
  {
1726
1559
  LinkComponent: MenuLinkComponent,
@@ -1730,7 +1563,7 @@ var AppLayout = ({
1730
1563
  sideOffset: 10,
1731
1564
  width: profileMenuWidth,
1732
1565
  direction,
1733
- items: props.profileMenuItems || [],
1566
+ items: finalProfileMenuItems || [],
1734
1567
  onItemSelect: (e) => console.log("selecting item ", e),
1735
1568
  trigger: /* @__PURE__ */ import_react14.default.createElement(
1736
1569
  "div",
@@ -1881,10 +1714,7 @@ var AppLayout = ({
1881
1714
  size: "smallIcon",
1882
1715
  onClick: () => {
1883
1716
  const newKeepOpenState = !keepDrawerOpen;
1884
- localStorage.setItem(
1885
- LOCAL_STORAGE_KEY,
1886
- JSON.stringify(newKeepOpenState)
1887
- );
1717
+ localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(newKeepOpenState));
1888
1718
  setKeepDrawerOpen(newKeepOpenState);
1889
1719
  }
1890
1720
  },
@@ -1910,14 +1740,7 @@ var AppLayout = ({
1910
1740
  )
1911
1741
  ) : null
1912
1742
  )
1913
- )), /* @__PURE__ */ import_react14.default.createElement(
1914
- Dialog.Root,
1915
- {
1916
- open: size < 600 && openSideMenu,
1917
- onOpenChange: setOpenSideMenu
1918
- },
1919
- /* @__PURE__ */ import_react14.default.createElement(Dialog.Portal, { container }, /* @__PURE__ */ import_react14.default.createElement(Dialog.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" }))
1920
- ), /* @__PURE__ */ import_react14.default.createElement(
1743
+ )), /* @__PURE__ */ import_react14.default.createElement(Dialog.Root, { open: size < 600 && openSideMenu, onOpenChange: setOpenSideMenu }, /* @__PURE__ */ import_react14.default.createElement(Dialog.Portal, { container }, /* @__PURE__ */ import_react14.default.createElement(Dialog.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_react14.default.createElement(
1921
1744
  "div",
1922
1745
  {
1923
1746
  className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all hawa-z-0",
@@ -1999,15 +1822,7 @@ var AppTopbar = ({ ...props }) => {
1999
1822
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
2000
1823
  )
2001
1824
  },
2002
- size > 600 ? /* @__PURE__ */ import_react15.default.createElement(
2003
- "div",
2004
- {
2005
- className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
2006
- },
2007
- /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-font-bold" }, props.username),
2008
- " ",
2009
- /* @__PURE__ */ import_react15.default.createElement("div", null, props.email)
2010
- ) : null,
1825
+ size > 600 ? /* @__PURE__ */ import_react15.default.createElement("div", { className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs" }, /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-font-bold" }, props.username), " ", /* @__PURE__ */ import_react15.default.createElement("div", null, props.email)) : null,
2011
1826
  /* @__PURE__ */ import_react15.default.createElement(
2012
1827
  DropdownMenu,
2013
1828
  {
@@ -2117,22 +1932,20 @@ var MenubarSubContent = React19.forwardRef(({ className, ...props }, ref) => /*
2117
1932
  }
2118
1933
  ));
2119
1934
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
2120
- var MenubarContent = React19.forwardRef(
2121
- ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React19.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React19.createElement(
2122
- MenubarPrimitive.Content,
2123
- {
2124
- ref,
2125
- align,
2126
- alignOffset,
2127
- sideOffset,
2128
- className: cn(
2129
- "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",
2130
- className
2131
- ),
2132
- ...props
2133
- }
2134
- ))
2135
- );
1935
+ var MenubarContent = React19.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React19.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React19.createElement(
1936
+ MenubarPrimitive.Content,
1937
+ {
1938
+ ref,
1939
+ align,
1940
+ alignOffset,
1941
+ sideOffset,
1942
+ className: cn(
1943
+ "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",
1944
+ className
1945
+ ),
1946
+ ...props
1947
+ }
1948
+ )));
2136
1949
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
2137
1950
  var MenubarItem = React19.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React19.createElement(
2138
1951
  MenubarPrimitive.Item,
@@ -2228,10 +2041,7 @@ var MenubarSeparator = React19.forwardRef(({ className, ...props }, ref) => /* @
2228
2041
  }
2229
2042
  ));
2230
2043
  MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
2231
- var MenubarShortcut = ({
2232
- className,
2233
- ...props
2234
- }) => {
2044
+ var MenubarShortcut = ({ className, ...props }) => {
2235
2045
  return /* @__PURE__ */ React19.createElement(
2236
2046
  "span",
2237
2047
  {
@@ -2249,44 +2059,35 @@ MenubarShortcut.displayname = "MenubarShortcut";
2249
2059
  var import_react16 = __toESM(require("react"));
2250
2060
  var AppTabs = ({ tabs, className }) => {
2251
2061
  const [selectedIndex, setSelectedIndex] = (0, import_react16.useState)(0);
2252
- return /* @__PURE__ */ import_react16.default.createElement(
2253
- "div",
2254
- {
2255
- className: cn(
2256
- "hawa-w-full hawa-border-b hawa-bg-card hawa-p-6 hawa-pb-0",
2257
- className
2258
- )
2259
- },
2260
- /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center" }, tabs.map((tab, index) => {
2261
- const selected = index === selectedIndex;
2262
- return /* @__PURE__ */ import_react16.default.createElement(
2263
- "a",
2264
- {
2265
- href: tab.path,
2266
- key: index,
2267
- onMouseDown: (e) => {
2268
- if (tab.onMouseDown) {
2269
- tab.onMouseDown(e);
2270
- }
2271
- },
2272
- onClick: (e) => {
2273
- if (tab.onClick) {
2274
- tab.onClick(e);
2275
- }
2276
- setSelectedIndex(index);
2277
- },
2278
- className: cn(
2279
- "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",
2280
- "hawa-border",
2281
- // Always have a border but make it transparent
2282
- selected ? "hawa-border hawa-border-b-transparent hawa-bg-background" : "hawa-cursor-pointer hawa-border-transparent hover:hawa-bg-card-foreground/5"
2283
- )
2062
+ return /* @__PURE__ */ import_react16.default.createElement("div", { className: cn("hawa-w-full hawa-border-b hawa-bg-card hawa-p-6 hawa-pb-0", className) }, /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center" }, tabs.map((tab, index) => {
2063
+ const selected = index === selectedIndex;
2064
+ return /* @__PURE__ */ import_react16.default.createElement(
2065
+ "a",
2066
+ {
2067
+ href: tab.path,
2068
+ key: index,
2069
+ onMouseDown: (e) => {
2070
+ if (tab.onMouseDown) {
2071
+ tab.onMouseDown(e);
2072
+ }
2284
2073
  },
2285
- tab.icon && tab.icon,
2286
- tab.label
2287
- );
2288
- }))
2289
- );
2074
+ onClick: (e) => {
2075
+ if (tab.onClick) {
2076
+ tab.onClick(e);
2077
+ }
2078
+ setSelectedIndex(index);
2079
+ },
2080
+ className: cn(
2081
+ "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",
2082
+ "hawa-border",
2083
+ // Always have a border but make it transparent
2084
+ selected ? "hawa-border hawa-border-b-transparent hawa-bg-background" : "hawa-cursor-pointer hawa-border-transparent hover:hawa-bg-card-foreground/5"
2085
+ )
2086
+ },
2087
+ tab.icon && tab.icon,
2088
+ tab.label
2089
+ );
2090
+ })));
2290
2091
  };
2291
2092
 
2292
2093
  // layout/docsLayout/DocsLayout.tsx
@@ -2443,22 +2244,13 @@ var Logos = {
2443
2244
  }
2444
2245
  )
2445
2246
  ),
2446
- hawa: (props) => /* @__PURE__ */ import_react17.default.createElement(
2447
- "svg",
2247
+ hawa: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 765 765", ...props }, /* @__PURE__ */ import_react17.default.createElement(
2248
+ "path",
2448
2249
  {
2449
- xmlns: "http://www.w3.org/2000/svg",
2450
- xmlSpace: "preserve",
2451
- viewBox: "0 0 765 765",
2452
- ...props
2453
- },
2454
- /* @__PURE__ */ import_react17.default.createElement(
2455
- "path",
2456
- {
2457
- 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",
2458
- fill: "currentColor"
2459
- }
2460
- )
2461
- ),
2250
+ 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",
2251
+ fill: "currentColor"
2252
+ }
2253
+ )),
2462
2254
  sikka: (props) => /* @__PURE__ */ import_react17.default.createElement(
2463
2255
  "svg",
2464
2256
  {
@@ -2527,101 +2319,42 @@ var Logos = {
2527
2319
  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"
2528
2320
  }
2529
2321
  )),
2530
- instagram: (props) => /* @__PURE__ */ import_react17.default.createElement(
2531
- "svg",
2322
+ instagram: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ import_react17.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" })),
2323
+ telegram: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "Telegram"), /* @__PURE__ */ import_react17.default.createElement(
2324
+ "path",
2532
2325
  {
2533
- xmlns: "http://www.w3.org/2000/svg",
2534
2326
  fill: "currentColor",
2535
- viewBox: "0 0 16 16",
2536
- ...props
2537
- },
2538
- /* @__PURE__ */ import_react17.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" })
2539
- ),
2540
- telegram: (props) => /* @__PURE__ */ import_react17.default.createElement(
2541
- "svg",
2542
- {
2543
- role: "img",
2544
- viewBox: "0 0 24 24",
2545
- xmlns: "http://www.w3.org/2000/svg",
2546
- ...props
2547
- },
2548
- /* @__PURE__ */ import_react17.default.createElement("title", null, "Telegram"),
2549
- /* @__PURE__ */ import_react17.default.createElement(
2550
- "path",
2551
- {
2552
- fill: "currentColor",
2553
- 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"
2554
- }
2555
- )
2556
- ),
2557
- youtube: (props) => /* @__PURE__ */ import_react17.default.createElement(
2558
- "svg",
2327
+ 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"
2328
+ }
2329
+ )),
2330
+ youtube: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "YouTube"), /* @__PURE__ */ import_react17.default.createElement(
2331
+ "path",
2559
2332
  {
2560
- role: "img",
2561
- viewBox: "0 0 24 24",
2562
- xmlns: "http://www.w3.org/2000/svg",
2563
- ...props
2564
- },
2565
- /* @__PURE__ */ import_react17.default.createElement("title", null, "YouTube"),
2566
- /* @__PURE__ */ import_react17.default.createElement(
2567
- "path",
2568
- {
2569
- fill: "currentColor",
2570
- 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"
2571
- }
2572
- )
2573
- ),
2574
- tiktok: (props) => /* @__PURE__ */ import_react17.default.createElement(
2575
- "svg",
2333
+ fill: "currentColor",
2334
+ 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"
2335
+ }
2336
+ )),
2337
+ tiktok: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "TikTok"), /* @__PURE__ */ import_react17.default.createElement(
2338
+ "path",
2576
2339
  {
2577
- role: "img",
2578
- viewBox: "0 0 24 24",
2579
- xmlns: "http://www.w3.org/2000/svg",
2580
- ...props
2581
- },
2582
- /* @__PURE__ */ import_react17.default.createElement("title", null, "TikTok"),
2583
- /* @__PURE__ */ import_react17.default.createElement(
2584
- "path",
2585
- {
2586
- fill: "currentColor",
2587
- 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"
2588
- }
2589
- )
2590
- ),
2591
- linkedin: (props) => /* @__PURE__ */ import_react17.default.createElement(
2592
- "svg",
2340
+ fill: "currentColor",
2341
+ 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"
2342
+ }
2343
+ )),
2344
+ linkedin: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "LinkedIn"), /* @__PURE__ */ import_react17.default.createElement(
2345
+ "path",
2593
2346
  {
2594
- role: "img",
2595
- viewBox: "0 0 24 24",
2596
- xmlns: "http://www.w3.org/2000/svg",
2597
- ...props
2598
- },
2599
- /* @__PURE__ */ import_react17.default.createElement("title", null, "LinkedIn"),
2600
- /* @__PURE__ */ import_react17.default.createElement(
2601
- "path",
2602
- {
2603
- fill: "currentColor",
2604
- 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"
2605
- }
2606
- )
2607
- ),
2608
- behance: (props) => /* @__PURE__ */ import_react17.default.createElement(
2609
- "svg",
2347
+ fill: "currentColor",
2348
+ 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"
2349
+ }
2350
+ )),
2351
+ behance: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "Behance"), /* @__PURE__ */ import_react17.default.createElement(
2352
+ "path",
2610
2353
  {
2611
- role: "img",
2612
- viewBox: "0 0 24 24",
2613
- xmlns: "http://www.w3.org/2000/svg",
2614
- ...props
2615
- },
2616
- /* @__PURE__ */ import_react17.default.createElement("title", null, "Behance"),
2617
- /* @__PURE__ */ import_react17.default.createElement(
2618
- "path",
2619
- {
2620
- fill: "currentColor",
2621
- 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"
2622
- }
2623
- )
2624
- ),
2354
+ fill: "currentColor",
2355
+ 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"
2356
+ }
2357
+ )),
2625
2358
  microsoft: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react17.default.createElement(
2626
2359
  "path",
2627
2360
  {
@@ -2629,21 +2362,13 @@ var Logos = {
2629
2362
  d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
2630
2363
  }
2631
2364
  )),
2632
- github: (props) => /* @__PURE__ */ import_react17.default.createElement(
2633
- "svg",
2365
+ github: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 438.549 438.549", ...props }, /* @__PURE__ */ import_react17.default.createElement(
2366
+ "path",
2634
2367
  {
2635
- xmlns: "http://www.w3.org/2000/svg",
2636
- viewBox: "0 0 438.549 438.549",
2637
- ...props
2638
- },
2639
- /* @__PURE__ */ import_react17.default.createElement(
2640
- "path",
2641
- {
2642
- fill: "currentColor",
2643
- 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"
2644
- }
2645
- )
2646
- ),
2368
+ fill: "currentColor",
2369
+ 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"
2370
+ }
2371
+ )),
2647
2372
  radix: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react17.default.createElement(
2648
2373
  "path",
2649
2374
  {
@@ -2700,23 +2425,13 @@ var Logos = {
2700
2425
  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"
2701
2426
  }
2702
2427
  )),
2703
- googleplay: (props) => /* @__PURE__ */ import_react17.default.createElement(
2704
- "svg",
2428
+ googleplay: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "Google Play"), /* @__PURE__ */ import_react17.default.createElement(
2429
+ "path",
2705
2430
  {
2706
- role: "img",
2707
- viewBox: "0 0 24 24",
2708
- xmlns: "http://www.w3.org/2000/svg",
2709
- ...props
2710
- },
2711
- /* @__PURE__ */ import_react17.default.createElement("title", null, "Google Play"),
2712
- /* @__PURE__ */ import_react17.default.createElement(
2713
- "path",
2714
- {
2715
- fill: "currentColor",
2716
- 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"
2717
- }
2718
- )
2719
- ),
2431
+ fill: "currentColor",
2432
+ 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"
2433
+ }
2434
+ )),
2720
2435
  apple: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react17.default.createElement(
2721
2436
  "path",
2722
2437
  {
@@ -2724,23 +2439,13 @@ var Logos = {
2724
2439
  fill: "currentColor"
2725
2440
  }
2726
2441
  )),
2727
- applestore: (props) => /* @__PURE__ */ import_react17.default.createElement(
2728
- "svg",
2442
+ applestore: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "App Store"), /* @__PURE__ */ import_react17.default.createElement(
2443
+ "path",
2729
2444
  {
2730
- role: "img",
2731
- viewBox: "0 0 24 24",
2732
- xmlns: "http://www.w3.org/2000/svg",
2733
- ...props
2734
- },
2735
- /* @__PURE__ */ import_react17.default.createElement("title", null, "App Store"),
2736
- /* @__PURE__ */ import_react17.default.createElement(
2737
- "path",
2738
- {
2739
- fill: "currentColor",
2740
- 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"
2741
- }
2742
- )
2743
- ),
2445
+ fill: "currentColor",
2446
+ 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"
2447
+ }
2448
+ )),
2744
2449
  paypal: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react17.default.createElement(
2745
2450
  "path",
2746
2451
  {
@@ -2764,50 +2469,21 @@ var Logos = {
2764
2469
  },
2765
2470
  /* @__PURE__ */ import_react17.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
2766
2471
  ),
2767
- whatsapp: (props) => /* @__PURE__ */ import_react17.default.createElement(
2768
- "svg",
2472
+ whatsapp: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react17.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" })),
2473
+ visa: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "Visa"), /* @__PURE__ */ import_react17.default.createElement(
2474
+ "path",
2769
2475
  {
2770
- xmlns: "http://www.w3.org/2000/svg",
2771
- viewBox: "0 0 24 24",
2772
2476
  fill: "currentColor",
2773
- ...props
2774
- },
2775
- /* @__PURE__ */ import_react17.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" })
2776
- ),
2777
- visa: (props) => /* @__PURE__ */ import_react17.default.createElement(
2778
- "svg",
2779
- {
2780
- role: "img",
2781
- viewBox: "0 0 24 24",
2782
- xmlns: "http://www.w3.org/2000/svg",
2783
- ...props
2784
- },
2785
- /* @__PURE__ */ import_react17.default.createElement("title", null, "Visa"),
2786
- /* @__PURE__ */ import_react17.default.createElement(
2787
- "path",
2788
- {
2789
- fill: "currentColor",
2790
- 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"
2791
- }
2792
- )
2793
- ),
2794
- mastercard: (props) => /* @__PURE__ */ import_react17.default.createElement(
2795
- "svg",
2477
+ 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"
2478
+ }
2479
+ )),
2480
+ mastercard: (props) => /* @__PURE__ */ import_react17.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react17.default.createElement("title", null, "MasterCard"), /* @__PURE__ */ import_react17.default.createElement(
2481
+ "path",
2796
2482
  {
2797
- role: "img",
2798
- viewBox: "0 0 24 24",
2799
- xmlns: "http://www.w3.org/2000/svg",
2800
- ...props
2801
- },
2802
- /* @__PURE__ */ import_react17.default.createElement("title", null, "MasterCard"),
2803
- /* @__PURE__ */ import_react17.default.createElement(
2804
- "path",
2805
- {
2806
- fill: "currentColor",
2807
- 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"
2808
- }
2809
- )
2810
- )
2483
+ fill: "currentColor",
2484
+ 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"
2485
+ }
2486
+ ))
2811
2487
  };
2812
2488
 
2813
2489
  // elements/sheet/Sheet.tsx
@@ -2844,58 +2520,53 @@ var sheetVariants = (0, import_class_variance_authority2.cva)(
2844
2520
  }
2845
2521
  }
2846
2522
  );
2847
- var SheetContent = React22.forwardRef(
2848
- ({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React22.createElement(SheetPortal, null, /* @__PURE__ */ React22.createElement(SheetOverlay, null), /* @__PURE__ */ React22.createElement(
2849
- SheetPrimitive.Content,
2523
+ var SheetContent = React22.forwardRef(({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React22.createElement(SheetPortal, null, /* @__PURE__ */ React22.createElement(SheetOverlay, null), /* @__PURE__ */ React22.createElement(
2524
+ SheetPrimitive.Content,
2525
+ {
2526
+ ref,
2527
+ className: cn(sheetVariants({ side }), className),
2528
+ onPointerDownOutside: (e) => {
2529
+ if (persist) {
2530
+ e.preventDefault();
2531
+ }
2532
+ },
2533
+ ...props
2534
+ },
2535
+ children,
2536
+ !hideCloseButton && /* @__PURE__ */ React22.createElement(
2537
+ SheetPrimitive.Close,
2850
2538
  {
2851
- ref,
2852
- className: cn(sheetVariants({ side }), className),
2853
- onPointerDownOutside: (e) => {
2854
- if (persist) {
2855
- e.preventDefault();
2539
+ className: cn(
2540
+ "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",
2541
+ {
2542
+ "hawa-right-4 hawa-top-4": side === "left" || side === "bottom",
2543
+ "hawa-left-4 hawa-top-4": side === "right",
2544
+ "hawa-bottom-4 hawa-right-4": side === "top"
2856
2545
  }
2857
- },
2858
- ...props
2546
+ )
2859
2547
  },
2860
- children,
2861
- !hideCloseButton && /* @__PURE__ */ React22.createElement(
2862
- SheetPrimitive.Close,
2548
+ /* @__PURE__ */ React22.createElement(
2549
+ "svg",
2863
2550
  {
2864
- className: cn(
2865
- "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",
2866
- {
2867
- "hawa-right-4 hawa-top-4": side === "left" || side === "bottom",
2868
- "hawa-left-4 hawa-top-4": side === "right",
2869
- "hawa-bottom-4 hawa-right-4": side === "top"
2870
- }
2871
- )
2551
+ "aria-label": "Close Icon",
2552
+ "aria-hidden": "true",
2553
+ className: "hawa-h-5 hawa-w-5",
2554
+ fill: "currentColor",
2555
+ viewBox: "0 0 20 20"
2872
2556
  },
2873
2557
  /* @__PURE__ */ React22.createElement(
2874
- "svg",
2558
+ "path",
2875
2559
  {
2876
- "aria-label": "Close Icon",
2877
- "aria-hidden": "true",
2878
- className: "hawa-h-5 hawa-w-5",
2879
- fill: "currentColor",
2880
- viewBox: "0 0 20 20"
2881
- },
2882
- /* @__PURE__ */ React22.createElement(
2883
- "path",
2884
- {
2885
- fillRule: "evenodd",
2886
- 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",
2887
- clipRule: "evenodd"
2888
- }
2889
- )
2890
- ),
2891
- /* @__PURE__ */ React22.createElement("span", { className: "hawa-sr-only" }, "Close")
2892
- )
2893
- ))
2894
- );
2895
- var SheetHeader = ({
2896
- className,
2897
- ...props
2898
- }) => /* @__PURE__ */ React22.createElement(
2560
+ fillRule: "evenodd",
2561
+ 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",
2562
+ clipRule: "evenodd"
2563
+ }
2564
+ )
2565
+ ),
2566
+ /* @__PURE__ */ React22.createElement("span", { className: "hawa-sr-only" }, "Close")
2567
+ )
2568
+ )));
2569
+ var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ React22.createElement(
2899
2570
  "div",
2900
2571
  {
2901
2572
  className: cn(
@@ -2905,10 +2576,7 @@ var SheetHeader = ({
2905
2576
  ...props
2906
2577
  }
2907
2578
  );
2908
- var SheetFooter = ({
2909
- className,
2910
- ...props
2911
- }) => /* @__PURE__ */ React22.createElement(
2579
+ var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ React22.createElement(
2912
2580
  "div",
2913
2581
  {
2914
2582
  className: cn(
@@ -2922,10 +2590,7 @@ var SheetTitle = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE
2922
2590
  SheetPrimitive.Title,
2923
2591
  {
2924
2592
  ref,
2925
- className: cn(
2926
- "hawa-text-lg hawa-font-semibold hawa-text-foreground",
2927
- className
2928
- ),
2593
+ className: cn("hawa-text-lg hawa-font-semibold hawa-text-foreground", className),
2929
2594
  ...props
2930
2595
  }
2931
2596
  ));
@@ -3005,25 +2670,18 @@ var DocsSidebar = ({
3005
2670
  rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
3006
2671
  ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
3007
2672
  };
3008
- return /* @__PURE__ */ import_react19.default.createElement(
2673
+ return /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-overflow-x-clip", dir: direction }, pages.map((page, index) => /* @__PURE__ */ import_react19.default.createElement(
3009
2674
  "div",
3010
2675
  {
3011
- className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
3012
- dir: direction
2676
+ key: index,
2677
+ className: cn(
2678
+ "hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
2679
+ (propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
2680
+ ),
2681
+ onClick: (event) => handlePageClick(page, event)
3013
2682
  },
3014
- pages.map((page, index) => /* @__PURE__ */ import_react19.default.createElement(
3015
- "div",
3016
- {
3017
- key: index,
3018
- className: cn(
3019
- "hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
3020
- (propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
3021
- ),
3022
- onClick: (event) => handlePageClick(page, event)
3023
- },
3024
- page
3025
- ))
3026
- );
2683
+ page
2684
+ )));
3027
2685
  };
3028
2686
 
3029
2687
  // layout/docsLayout/DocsLayout.tsx
@@ -3158,14 +2816,7 @@ var DocsLayout = ({
3158
2816
  }
3159
2817
  )
3160
2818
  )
3161
- )), /* @__PURE__ */ import_react20.default.createElement(
3162
- SheetContent,
3163
- {
3164
- side: isRTL ? "right" : "left",
3165
- className: "hawa-pt-10"
3166
- },
3167
- /* @__PURE__ */ import_react20.default.createElement(DocsSidebar, { direction, pages: pages || [] })
3168
- ))
2819
+ )), /* @__PURE__ */ import_react20.default.createElement(SheetContent, { side: isRTL ? "right" : "left", className: "hawa-pt-10" }, /* @__PURE__ */ import_react20.default.createElement(DocsSidebar, { direction, pages: pages || [] })))
3169
2820
  )
3170
2821
  ),
3171
2822
  /* @__PURE__ */ import_react20.default.createElement(
@@ -3201,14 +2852,7 @@ var DocsLayout = ({
3201
2852
  },
3202
2853
  ref
3203
2854
  },
3204
- /* @__PURE__ */ import_react20.default.createElement(
3205
- DocsSidebar,
3206
- {
3207
- direction,
3208
- pages: pages || [],
3209
- currentPage
3210
- }
3211
- )
2855
+ /* @__PURE__ */ import_react20.default.createElement(DocsSidebar, { direction, pages: pages || [], currentPage })
3212
2856
  ), /* @__PURE__ */ import_react20.default.createElement(
3213
2857
  "div",
3214
2858
  {