@sikka/hawa 0.48.1-next → 0.49.0-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/dist/accordion/index.js +3 -28
  2. package/dist/accordion/index.js.map +1 -1
  3. package/dist/accordion/index.mjs +3 -28
  4. package/dist/accordion/index.mjs.map +1 -1
  5. package/dist/alert/index.js +53 -98
  6. package/dist/alert/index.js.map +1 -1
  7. package/dist/alert/index.mjs +53 -98
  8. package/dist/alert/index.mjs.map +1 -1
  9. package/dist/appLayout/index.d.mts +2 -0
  10. package/dist/appLayout/index.d.ts +2 -0
  11. package/dist/appLayout/index.js +263 -409
  12. package/dist/appLayout/index.js.map +1 -1
  13. package/dist/appLayout/index.mjs +263 -409
  14. package/dist/appLayout/index.mjs.map +1 -1
  15. package/dist/appMenubar/index.js +15 -20
  16. package/dist/appMenubar/index.js.map +1 -1
  17. package/dist/appMenubar/index.mjs +15 -20
  18. package/dist/appMenubar/index.mjs.map +1 -1
  19. package/dist/appTabs/index.js +28 -37
  20. package/dist/appTabs/index.js.map +1 -1
  21. package/dist/appTabs/index.mjs +28 -37
  22. package/dist/appTabs/index.mjs.map +1 -1
  23. package/dist/appTopbar/index.js +125 -173
  24. package/dist/appTopbar/index.js.map +1 -1
  25. package/dist/appTopbar/index.mjs +125 -173
  26. package/dist/appTopbar/index.mjs.map +1 -1
  27. package/dist/avatar/index.js.map +1 -1
  28. package/dist/avatar/index.mjs.map +1 -1
  29. package/dist/backToTop/index.js +50 -82
  30. package/dist/backToTop/index.js.map +1 -1
  31. package/dist/backToTop/index.mjs +50 -82
  32. package/dist/backToTop/index.mjs.map +1 -1
  33. package/dist/badge/index.d.mts +1 -1
  34. package/dist/badge/index.d.ts +1 -1
  35. package/dist/badge/index.js +2 -18
  36. package/dist/badge/index.js.map +1 -1
  37. package/dist/badge/index.mjs +2 -18
  38. package/dist/badge/index.mjs.map +1 -1
  39. package/dist/blocks/auth/index.js +202 -468
  40. package/dist/blocks/auth/index.mjs +96 -280
  41. package/dist/blocks/feedback/index.js +214 -375
  42. package/dist/blocks/feedback/index.mjs +12 -25
  43. package/dist/blocks/index.js +604 -1122
  44. package/dist/blocks/index.mjs +132 -291
  45. package/dist/blocks/misc/index.js +136 -251
  46. package/dist/blocks/misc/index.mjs +29 -54
  47. package/dist/blocks/pricing/index.js +220 -397
  48. package/dist/blocks/pricing/index.mjs +63 -134
  49. package/dist/breadcrumb/index.js +1 -5
  50. package/dist/breadcrumb/index.js.map +1 -1
  51. package/dist/breadcrumb/index.mjs +1 -5
  52. package/dist/breadcrumb/index.mjs.map +1 -1
  53. package/dist/button/index.js +50 -82
  54. package/dist/button/index.js.map +1 -1
  55. package/dist/button/index.mjs +50 -82
  56. package/dist/button/index.mjs.map +1 -1
  57. package/dist/calendar/index.js +50 -82
  58. package/dist/calendar/index.js.map +1 -1
  59. package/dist/calendar/index.mjs +50 -82
  60. package/dist/calendar/index.mjs.map +1 -1
  61. package/dist/card/index.js +7 -35
  62. package/dist/card/index.js.map +1 -1
  63. package/dist/card/index.mjs +7 -35
  64. package/dist/card/index.mjs.map +1 -1
  65. package/dist/carousel/index.js +15 -27
  66. package/dist/carousel/index.js.map +1 -1
  67. package/dist/carousel/index.mjs +15 -27
  68. package/dist/carousel/index.mjs.map +1 -1
  69. package/dist/checkbox/index.js +2 -13
  70. package/dist/checkbox/index.js.map +1 -1
  71. package/dist/checkbox/index.mjs +2 -13
  72. package/dist/checkbox/index.mjs.map +1 -1
  73. package/dist/chip/index.js +2 -16
  74. package/dist/chip/index.js.map +1 -1
  75. package/dist/chip/index.mjs +2 -16
  76. package/dist/chip/index.mjs.map +1 -1
  77. package/dist/{chunk-WUMDFBEK.mjs → chunk-3CHFVHTW.mjs} +43 -54
  78. package/dist/{chunk-2LUXOXAL.mjs → chunk-5SQBJRWE.mjs} +3 -9
  79. package/dist/{chunk-C2UOOH4X.mjs → chunk-B53SP2WZ.mjs} +3 -17
  80. package/dist/chunk-GHGWQVTM.mjs +150 -0
  81. package/dist/{chunk-5S5DR7KF.mjs → chunk-I23ONEDJ.mjs} +2 -10
  82. package/dist/{chunk-JFWD2ICY.mjs → chunk-JT7R3L5O.mjs} +54 -62
  83. package/dist/{chunk-6SJUUJOV.mjs → chunk-KDGJZPWK.mjs} +295 -574
  84. package/dist/{chunk-AWJSHOYU.mjs → chunk-KSJGXQTE.mjs} +1 -1
  85. package/dist/{chunk-NMW4GM4G.mjs → chunk-SE2JMXYG.mjs} +104 -144
  86. package/dist/{chunk-GBLWUEYN.mjs → chunk-ULRL4WI6.mjs} +176 -256
  87. package/dist/{chunk-IFWYR5W2.mjs → chunk-VUELRPUL.mjs} +57 -117
  88. package/dist/{chunk-WL7C2A5D.mjs → chunk-WQR4XZGL.mjs} +8 -15
  89. package/dist/codeBlock/index.js +50 -82
  90. package/dist/codeBlock/index.js.map +1 -1
  91. package/dist/codeBlock/index.mjs +50 -82
  92. package/dist/codeBlock/index.mjs.map +1 -1
  93. package/dist/colorPicker/index.js +21 -33
  94. package/dist/colorPicker/index.js.map +1 -1
  95. package/dist/colorPicker/index.mjs +22 -37
  96. package/dist/colorPicker/index.mjs.map +1 -1
  97. package/dist/combobox/index.d.mts +1 -1
  98. package/dist/combobox/index.d.ts +1 -1
  99. package/dist/combobox/index.js +141 -223
  100. package/dist/combobox/index.js.map +1 -1
  101. package/dist/combobox/index.mjs +141 -223
  102. package/dist/combobox/index.mjs.map +1 -1
  103. package/dist/command/index.d.mts +1 -1
  104. package/dist/command/index.d.ts +1 -1
  105. package/dist/command/index.js +129 -212
  106. package/dist/command/index.js.map +1 -1
  107. package/dist/command/index.mjs +129 -212
  108. package/dist/command/index.mjs.map +1 -1
  109. package/dist/dataTable/index.js +254 -394
  110. package/dist/dataTable/index.js.map +1 -1
  111. package/dist/dataTable/index.mjs +254 -394
  112. package/dist/dataTable/index.mjs.map +1 -1
  113. package/dist/datePicker/index.js +64 -105
  114. package/dist/datePicker/index.js.map +1 -1
  115. package/dist/datePicker/index.mjs +64 -105
  116. package/dist/datePicker/index.mjs.map +1 -1
  117. package/dist/destroyableCard/index.js +8 -39
  118. package/dist/destroyableCard/index.js.map +1 -1
  119. package/dist/destroyableCard/index.mjs +8 -39
  120. package/dist/destroyableCard/index.mjs.map +1 -1
  121. package/dist/dialog/index.js +70 -122
  122. package/dist/dialog/index.js.map +1 -1
  123. package/dist/dialog/index.mjs +70 -122
  124. package/dist/dialog/index.mjs.map +1 -1
  125. package/dist/docsLayout/index.js +169 -358
  126. package/dist/docsLayout/index.js.map +1 -1
  127. package/dist/docsLayout/index.mjs +169 -358
  128. package/dist/docsLayout/index.mjs.map +1 -1
  129. package/dist/docsSidebar/index.js +9 -16
  130. package/dist/docsSidebar/index.js.map +1 -1
  131. package/dist/docsSidebar/index.mjs +9 -16
  132. package/dist/docsSidebar/index.mjs.map +1 -1
  133. package/dist/dropdownMenu/index.js +124 -164
  134. package/dist/dropdownMenu/index.js.map +1 -1
  135. package/dist/dropdownMenu/index.mjs +124 -164
  136. package/dist/dropdownMenu/index.mjs.map +1 -1
  137. package/dist/elements/index.d.mts +3 -3
  138. package/dist/elements/index.d.ts +3 -3
  139. package/dist/elements/index.js +841 -1505
  140. package/dist/elements/index.mjs +381 -718
  141. package/dist/fileDropzone/index.js +60 -159
  142. package/dist/fileDropzone/index.js.map +1 -1
  143. package/dist/fileDropzone/index.mjs +60 -159
  144. package/dist/fileDropzone/index.mjs.map +1 -1
  145. package/dist/glow/index.js +4 -16
  146. package/dist/glow/index.js.map +1 -1
  147. package/dist/glow/index.mjs +4 -16
  148. package/dist/glow/index.mjs.map +1 -1
  149. package/dist/hooks/index.d.mts +1 -5
  150. package/dist/hooks/index.d.ts +1 -5
  151. package/dist/hooks/index.js +11 -24
  152. package/dist/hooks/index.mjs +2 -2
  153. package/dist/{index-B0aJcA6d.d.ts → index-BgNycocQ.d.mts} +2 -2
  154. package/dist/{index-B0aJcA6d.d.mts → index-BgNycocQ.d.ts} +2 -2
  155. package/dist/index.css +1 -2
  156. package/dist/index.d.mts +6 -8
  157. package/dist/index.d.ts +6 -8
  158. package/dist/index.js +1194 -2170
  159. package/dist/index.mjs +1195 -2174
  160. package/dist/input/index.js +20 -29
  161. package/dist/input/index.js.map +1 -1
  162. package/dist/input/index.mjs +20 -29
  163. package/dist/input/index.mjs.map +1 -1
  164. package/dist/interfaceSettings/index.js +122 -163
  165. package/dist/interfaceSettings/index.js.map +1 -1
  166. package/dist/interfaceSettings/index.mjs +122 -163
  167. package/dist/interfaceSettings/index.mjs.map +1 -1
  168. package/dist/label/index.js +19 -26
  169. package/dist/label/index.js.map +1 -1
  170. package/dist/label/index.mjs +19 -26
  171. package/dist/label/index.mjs.map +1 -1
  172. package/dist/layout/index.d.mts +2 -0
  173. package/dist/layout/index.d.ts +2 -0
  174. package/dist/layout/index.js +434 -790
  175. package/dist/layout/index.mjs +143 -243
  176. package/dist/loading/index.js +30 -53
  177. package/dist/loading/index.js.map +1 -1
  178. package/dist/loading/index.mjs +30 -53
  179. package/dist/loading/index.mjs.map +1 -1
  180. package/dist/logos/index.js +66 -191
  181. package/dist/logos/index.js.map +1 -1
  182. package/dist/logos/index.mjs +66 -191
  183. package/dist/logos/index.mjs.map +1 -1
  184. package/dist/navbar/index.js +1 -4
  185. package/dist/navbar/index.js.map +1 -1
  186. package/dist/navbar/index.mjs +1 -4
  187. package/dist/navbar/index.mjs.map +1 -1
  188. package/dist/navigationMenu/index.js +14 -22
  189. package/dist/navigationMenu/index.js.map +1 -1
  190. package/dist/navigationMenu/index.mjs +14 -22
  191. package/dist/navigationMenu/index.mjs.map +1 -1
  192. package/dist/pagination/index.js +1 -5
  193. package/dist/pagination/index.js.map +1 -1
  194. package/dist/pagination/index.mjs +1 -5
  195. package/dist/pagination/index.mjs.map +1 -1
  196. package/dist/passwordInput/index.js +36 -65
  197. package/dist/passwordInput/index.js.map +1 -1
  198. package/dist/passwordInput/index.mjs +36 -65
  199. package/dist/passwordInput/index.mjs.map +1 -1
  200. package/dist/phoneInput/index.js +20 -29
  201. package/dist/phoneInput/index.js.map +1 -1
  202. package/dist/phoneInput/index.mjs +20 -29
  203. package/dist/phoneInput/index.mjs.map +1 -1
  204. package/dist/pinInput/index.js +14 -16
  205. package/dist/pinInput/index.js.map +1 -1
  206. package/dist/pinInput/index.mjs +14 -16
  207. package/dist/pinInput/index.mjs.map +1 -1
  208. package/dist/popover/index.js +14 -24
  209. package/dist/popover/index.js.map +1 -1
  210. package/dist/popover/index.mjs +14 -24
  211. package/dist/popover/index.mjs.map +1 -1
  212. package/dist/progress/index.js +19 -26
  213. package/dist/progress/index.js.map +1 -1
  214. package/dist/progress/index.mjs +19 -26
  215. package/dist/progress/index.mjs.map +1 -1
  216. package/dist/progressCircle/index.js +67 -71
  217. package/dist/progressCircle/index.js.map +1 -1
  218. package/dist/progressCircle/index.mjs +67 -71
  219. package/dist/progressCircle/index.mjs.map +1 -1
  220. package/dist/radio/index.js +122 -163
  221. package/dist/radio/index.js.map +1 -1
  222. package/dist/radio/index.mjs +122 -163
  223. package/dist/radio/index.mjs.map +1 -1
  224. package/dist/scrollArea/index.js.map +1 -1
  225. package/dist/scrollArea/index.mjs.map +1 -1
  226. package/dist/scrollIndicator/index.js +1 -4
  227. package/dist/scrollIndicator/index.js.map +1 -1
  228. package/dist/scrollIndicator/index.mjs +1 -4
  229. package/dist/scrollIndicator/index.mjs.map +1 -1
  230. package/dist/select/index.js +20 -29
  231. package/dist/select/index.js.map +1 -1
  232. package/dist/select/index.mjs +20 -29
  233. package/dist/select/index.mjs.map +1 -1
  234. package/dist/separator/index.js.map +1 -1
  235. package/dist/separator/index.mjs.map +1 -1
  236. package/dist/sheet/index.js +42 -53
  237. package/dist/sheet/index.js.map +1 -1
  238. package/dist/sheet/index.mjs +42 -53
  239. package/dist/sheet/index.mjs.map +1 -1
  240. package/dist/sidebar/index.js +66 -133
  241. package/dist/sidebar/index.js.map +1 -1
  242. package/dist/sidebar/index.mjs +66 -133
  243. package/dist/sidebar/index.mjs.map +1 -1
  244. package/dist/signature/index.js +19 -26
  245. package/dist/signature/index.js.map +1 -1
  246. package/dist/signature/index.mjs +19 -26
  247. package/dist/signature/index.mjs.map +1 -1
  248. package/dist/simpleTable/index.js +50 -81
  249. package/dist/simpleTable/index.js.map +1 -1
  250. package/dist/simpleTable/index.mjs +50 -81
  251. package/dist/simpleTable/index.mjs.map +1 -1
  252. package/dist/skeleton/index.js.map +1 -1
  253. package/dist/skeleton/index.mjs.map +1 -1
  254. package/dist/slider/index.js.map +1 -1
  255. package/dist/slider/index.mjs.map +1 -1
  256. package/dist/sonner/index.js.map +1 -1
  257. package/dist/sonner/index.mjs.map +1 -1
  258. package/dist/sortButton/index.js +50 -82
  259. package/dist/sortButton/index.js.map +1 -1
  260. package/dist/sortButton/index.mjs +50 -82
  261. package/dist/sortButton/index.mjs.map +1 -1
  262. package/dist/splitButton/index.js +214 -294
  263. package/dist/splitButton/index.js.map +1 -1
  264. package/dist/splitButton/index.mjs +214 -294
  265. package/dist/splitButton/index.mjs.map +1 -1
  266. package/dist/stats/index.js +7 -35
  267. package/dist/stats/index.js.map +1 -1
  268. package/dist/stats/index.mjs +7 -35
  269. package/dist/stats/index.mjs.map +1 -1
  270. package/dist/switch/index.js +24 -34
  271. package/dist/switch/index.js.map +1 -1
  272. package/dist/switch/index.mjs +24 -34
  273. package/dist/switch/index.mjs.map +1 -1
  274. package/dist/table/index.js +27 -29
  275. package/dist/table/index.js.map +1 -1
  276. package/dist/table/index.mjs +27 -29
  277. package/dist/table/index.mjs.map +1 -1
  278. package/dist/tabs/index.js +54 -76
  279. package/dist/tabs/index.js.map +1 -1
  280. package/dist/tabs/index.mjs +54 -76
  281. package/dist/tabs/index.mjs.map +1 -1
  282. package/dist/textarea/index.js +21 -38
  283. package/dist/textarea/index.js.map +1 -1
  284. package/dist/textarea/index.mjs +21 -38
  285. package/dist/textarea/index.mjs.map +1 -1
  286. package/dist/toast/index.js +2 -10
  287. package/dist/toast/index.js.map +1 -1
  288. package/dist/toast/index.mjs +2 -10
  289. package/dist/toast/index.mjs.map +1 -1
  290. package/dist/toaster/index.js +3 -16
  291. package/dist/toaster/index.js.map +1 -1
  292. package/dist/toaster/index.mjs +3 -16
  293. package/dist/toaster/index.mjs.map +1 -1
  294. package/dist/tooltip/index.js +19 -26
  295. package/dist/tooltip/index.js.map +1 -1
  296. package/dist/tooltip/index.mjs +19 -26
  297. package/dist/tooltip/index.mjs.map +1 -1
  298. package/package.json +12 -12
  299. package/dist/chunk-JP2N5WKD.mjs +0 -190
@@ -3,7 +3,7 @@ import {
3
3
  Sheet,
4
4
  SheetContent,
5
5
  SheetTrigger
6
- } from "../chunk-WUMDFBEK.mjs";
6
+ } from "../chunk-3CHFVHTW.mjs";
7
7
  import {
8
8
  Button,
9
9
  Card,
@@ -16,11 +16,11 @@ import {
16
16
  Skeleton,
17
17
  Tooltip,
18
18
  cn
19
- } from "../chunk-6SJUUJOV.mjs";
19
+ } from "../chunk-KDGJZPWK.mjs";
20
20
  import {
21
21
  useBreakpoint,
22
22
  useClickOutside
23
- } from "../chunk-2LUXOXAL.mjs";
23
+ } from "../chunk-5SQBJRWE.mjs";
24
24
 
25
25
  // layout/stats/Stats.tsx
26
26
  import React from "react";
@@ -62,28 +62,19 @@ var Accordion = AccordionPrimitive.Root;
62
62
  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";
63
63
  var AccordionItem = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
64
64
  AccordionItem.displayName = "AccordionItem";
65
- var AccordionTrigger = React2.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React2.createElement(AccordionPrimitive.Header, { className: "flex" }, /* @__PURE__ */ React2.createElement(
66
- AccordionPrimitive.Trigger,
65
+ var AccordionTrigger = React2.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React2.createElement(AccordionPrimitive.Header, { className: "flex" }, /* @__PURE__ */ React2.createElement(AccordionPrimitive.Trigger, { ref, className: cn(triggerStyles, className), ...props }, children, showArrow && /* @__PURE__ */ React2.createElement(
66
+ "svg",
67
67
  {
68
- ref,
69
- className: cn(triggerStyles, className),
70
- ...props
68
+ "aria-label": "Chevron Right Icon",
69
+ stroke: "currentColor",
70
+ fill: "currentColor",
71
+ viewBox: "0 0 16 16",
72
+ height: "1em",
73
+ width: "1em",
74
+ className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
71
75
  },
72
- children,
73
- showArrow && /* @__PURE__ */ React2.createElement(
74
- "svg",
75
- {
76
- "aria-label": "Chevron Right Icon",
77
- stroke: "currentColor",
78
- fill: "currentColor",
79
- viewBox: "0 0 16 16",
80
- height: "1em",
81
- width: "1em",
82
- className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
83
- },
84
- /* @__PURE__ */ React2.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" })
85
- )
86
- )));
76
+ /* @__PURE__ */ React2.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" })
77
+ ))));
87
78
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
88
79
  var AccordionContent = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React2.createElement(
89
80
  AccordionPrimitive.Content,
@@ -137,111 +128,78 @@ var SidebarGroup = ({
137
128
  ))
138
129
  )));
139
130
  };
140
- var SidebarItem = ({
141
- item,
142
- onItemClick,
143
- onSubItemClick,
144
- direction,
145
- isOpen = true,
146
- LinkComponent,
147
- ...props
148
- }) => {
131
+ var SidebarItem = ({ item, onItemClick, onSubItemClick, direction, isOpen = true, LinkComponent, ...props }) => {
149
132
  const getSelectedStyle = (value) => {
150
133
  return props.selectedItem === value ? "hawa-bg-primary/90 hawa-text-primary-foreground hawa-cursor-default" : "hover:hawa-bg-primary/10";
151
134
  };
152
135
  if (item.subitems) {
153
- return /* @__PURE__ */ React2.createElement(
154
- AccordionItem,
136
+ return /* @__PURE__ */ React2.createElement(AccordionItem, { value: item.value, className: "hawa-overflow-x-clip", dir: direction }, /* @__PURE__ */ React2.createElement(
137
+ AccordionTrigger,
155
138
  {
156
- value: item.value,
157
- className: "hawa-overflow-x-clip",
158
- dir: direction
139
+ className: cn(
140
+ "hawa-w-full hawa-overflow-x-clip",
141
+ props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hawa-h-10 hover:hawa-bg-primary/10",
142
+ item.subitems && item.subitems.some((subitem) => props.selectedItem === subitem.value) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""
143
+ ),
144
+ showArrow: isOpen
159
145
  },
160
146
  /* @__PURE__ */ React2.createElement(
161
- AccordionTrigger,
147
+ "div",
162
148
  {
163
149
  className: cn(
164
- "hawa-w-full hawa-overflow-x-clip",
165
- props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hawa-h-10 hover:hawa-bg-primary/10",
166
- item.subitems && item.subitems.some(
167
- (subitem) => props.selectedItem === subitem.value
168
- ) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""
169
- ),
170
- showArrow: isOpen
150
+ "hawa-flex hawa-h-fit hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2"
151
+ )
171
152
  },
153
+ item.icon && item.icon,
172
154
  /* @__PURE__ */ React2.createElement(
173
- "div",
155
+ "span",
174
156
  {
175
157
  className: cn(
176
- "hawa-flex hawa-h-fit hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2"
158
+ "hawa-transition-all hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap",
159
+ isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
177
160
  )
178
161
  },
179
- item.icon && item.icon,
180
- /* @__PURE__ */ React2.createElement(
181
- "span",
182
- {
183
- className: cn(
184
- "hawa-transition-all hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap",
185
- isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
186
- )
187
- },
188
- item.label,
189
- item.badge && /* @__PURE__ */ React2.createElement(
190
- Chip,
191
- {
192
- label: item.badge.label,
193
- color: item.badge.color,
194
- size: "small"
195
- }
196
- )
197
- )
162
+ item.label,
163
+ item.badge && /* @__PURE__ */ React2.createElement(Chip, { label: item.badge.label, color: item.badge.color, size: "small" })
198
164
  )
199
- ),
200
- item.subitems && /* @__PURE__ */ React2.createElement(AccordionContent, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React2.createElement(
201
- "div",
165
+ )
166
+ ), item.subitems && /* @__PURE__ */ React2.createElement(AccordionContent, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React2.createElement(
167
+ "div",
168
+ {
169
+ className: cn(
170
+ "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
171
+ )
172
+ },
173
+ item.subitems.map((subitem, idx) => /* @__PURE__ */ React2.createElement(
174
+ LinkComponent,
202
175
  {
203
- className: cn(
204
- "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
205
- )
206
- },
207
- item.subitems.map((subitem, idx) => /* @__PURE__ */ React2.createElement(
208
- LinkComponent,
209
- {
210
- href: subitem.slug,
211
- key: idx,
212
- onMouseDown: (e) => {
213
- if (subitem.onMouseDown) {
214
- subitem.onMouseDown(e);
215
- }
216
- },
217
- onClick: (e) => {
218
- e.stopPropagation();
219
- if (subitem.onClick) {
220
- subitem.onClick(e);
221
- }
222
- if (onSubItemClick) {
223
- onSubItemClick([item.value, subitem.value]);
224
- }
225
- },
226
- className: cn(
227
- "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",
228
- // bg-foreground/10
229
- getSelectedStyle(subitem.value)
230
- )
176
+ href: subitem.slug,
177
+ key: idx,
178
+ onMouseDown: (e) => {
179
+ if (subitem.onMouseDown) {
180
+ subitem.onMouseDown(e);
181
+ }
231
182
  },
232
- subitem.icon && subitem.icon,
233
- subitem.label,
234
- subitem.badge && /* @__PURE__ */ React2.createElement(
235
- Chip,
236
- {
237
- label: subitem.badge.label,
238
- color: subitem.badge.color,
239
- size: "small"
183
+ onClick: (e) => {
184
+ e.stopPropagation();
185
+ if (subitem.onClick) {
186
+ subitem.onClick(e);
187
+ }
188
+ if (onSubItemClick) {
189
+ onSubItemClick([item.value, subitem.value]);
240
190
  }
191
+ },
192
+ className: cn(
193
+ "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",
194
+ // bg-foreground/10
195
+ getSelectedStyle(subitem.value)
241
196
  )
242
- ))
197
+ },
198
+ subitem.icon && subitem.icon,
199
+ subitem.label,
200
+ subitem.badge && /* @__PURE__ */ React2.createElement(Chip, { label: subitem.badge.label, color: subitem.badge.color, size: "small" })
243
201
  ))
244
- );
202
+ )));
245
203
  } else {
246
204
  return /* @__PURE__ */ React2.createElement(
247
205
  LinkComponent,
@@ -261,11 +219,7 @@ var SidebarItem = ({
261
219
  onItemClick([item.value]);
262
220
  }
263
221
  },
264
- className: cn(
265
- triggerStyles,
266
- getSelectedStyle(item.value),
267
- "hawa-overflow-x-clip"
268
- )
222
+ className: cn(triggerStyles, getSelectedStyle(item.value), "hawa-overflow-x-clip")
269
223
  },
270
224
  /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React2.createElement(
271
225
  "span",
@@ -277,14 +231,7 @@ var SidebarItem = ({
277
231
  },
278
232
  item.label,
279
233
  " ",
280
- item.badge && /* @__PURE__ */ React2.createElement(
281
- Chip,
282
- {
283
- label: item.badge.label,
284
- color: item.badge.color,
285
- size: "small"
286
- }
287
- )
234
+ item.badge && /* @__PURE__ */ React2.createElement(Chip, { label: item.badge.label, color: item.badge.color, size: "small" })
288
235
  ))
289
236
  );
290
237
  }
@@ -379,10 +326,7 @@ var Navbar = ({
379
326
  strokeWidth: "2",
380
327
  strokeLinecap: "round",
381
328
  strokeLinejoin: "round",
382
- className: cn(
383
- "hawa-h-6 hawa-w-6",
384
- !isOpen ? "hawa-invisible" : "hawa-visible"
385
- )
329
+ className: cn("hawa-h-6 hawa-w-6", !isOpen ? "hawa-invisible" : "hawa-visible")
386
330
  },
387
331
  /* @__PURE__ */ React4.createElement("path", { d: "M18 6 6 18" }),
388
332
  /* @__PURE__ */ React4.createElement("path", { d: "m6 6 12 12" })
@@ -422,7 +366,9 @@ import * as Dialog from "@radix-ui/react-dialog";
422
366
  var LOCAL_STORAGE_KEY = "@sikka/hawa/keep-drawer-open";
423
367
  var AppLayout = ({
424
368
  profileMenuWidth = "default",
369
+ userInfoPosition = "next_to_avatar",
425
370
  DrawerFooterActions,
371
+ profileMenuItems,
426
372
  classNames,
427
373
  bordered = true,
428
374
  design = "default",
@@ -455,9 +401,7 @@ var AppLayout = ({
455
401
  };
456
402
  const isRTL = direction === "rtl";
457
403
  const [openedSidebarItem, setOpenedSidebarItem] = useState2("");
458
- const [size, setSize] = useState2(
459
- typeof window !== "undefined" && window.innerWidth || 1200
460
- );
404
+ const [size, setSize] = useState2(typeof window !== "undefined" && window.innerWidth || 1200);
461
405
  const [openSideMenu, setOpenSideMenu] = useState2(() => {
462
406
  const savedState = localStorage.getItem(LOCAL_STORAGE_KEY);
463
407
  return savedState ? JSON.parse(savedState) : false;
@@ -512,6 +456,18 @@ var AppLayout = ({
512
456
  }
513
457
  }, [size, keepDrawerOpen]);
514
458
  const drawerSizeCondition = size > 600 ? drawerSizeStyle[keepDrawerOpen ? "opened" : "closed"][drawerSize] : 0;
459
+ let finalProfileMenuItems = profileMenuItems;
460
+ if (userInfoPosition === "in_dropdown") {
461
+ if (profileMenuItems && profileMenuItems.length > 0) {
462
+ finalProfileMenuItems = [
463
+ {
464
+ content: /* @__PURE__ */ React5.createElement("div", { className: "hawa-text-end hawa-p-2 hawa-text-xs hawa-flex hawa-flex-col hawa-justify-center hawa-items-start" }, /* @__PURE__ */ React5.createElement("div", { className: "hawa-font-bold" }, props.username), /* @__PURE__ */ React5.createElement("div", null, props.email)),
465
+ itemType: "custom"
466
+ },
467
+ ...profileMenuItems
468
+ ];
469
+ }
470
+ }
515
471
  return /* @__PURE__ */ React5.createElement("div", { className: "hawa-fixed hawa-start-0" }, props.topBar && /* @__PURE__ */ React5.createElement(
516
472
  "div",
517
473
  {
@@ -524,10 +480,7 @@ var AppLayout = ({
524
480
  size > 600 ? /* @__PURE__ */ React5.createElement(
525
481
  "div",
526
482
  {
527
- className: cn(
528
- "dark:hawa-text-white",
529
- size > 600 ? "hawa-ms-14" : "hawa-ms-2"
530
- ),
483
+ className: cn("dark:hawa-text-white", size > 600 ? "hawa-ms-14" : "hawa-ms-2"),
531
484
  style: {
532
485
  marginInlineStart: `${drawerSizeStyle[keepDrawerOpen ? "opened" : "closed"][drawerSize] + 10}px`
533
486
  }
@@ -552,7 +505,7 @@ var AppLayout = ({
552
505
  props.pageTitle ? /* @__PURE__ */ React5.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ React5.createElement("div", null)
553
506
  )
554
507
  ),
555
- /* @__PURE__ */ React5.createElement("div", { className: cn("hawa-flex hawa-gap-2 dark:hawa-text-white") }, size > 600 ? /* @__PURE__ */ React5.createElement("div", { className: "hawa-text-end hawa-text-xs" }, /* @__PURE__ */ React5.createElement("div", { className: "hawa-font-bold" }, props.username), " ", /* @__PURE__ */ React5.createElement("div", null, props.email)) : null, /* @__PURE__ */ React5.createElement(
508
+ /* @__PURE__ */ React5.createElement("div", { className: cn("hawa-flex hawa-gap-2 dark:hawa-text-white") }, size > 600 && userInfoPosition === "next_to_avatar" ? /* @__PURE__ */ React5.createElement("div", { className: "hawa-text-end hawa-text-xs hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ React5.createElement("div", { className: "hawa-font-bold" }, props.username), /* @__PURE__ */ React5.createElement("div", null, props.email)) : null, /* @__PURE__ */ React5.createElement(
556
509
  DropdownMenu,
557
510
  {
558
511
  LinkComponent: MenuLinkComponent,
@@ -562,7 +515,7 @@ var AppLayout = ({
562
515
  sideOffset: 10,
563
516
  width: profileMenuWidth,
564
517
  direction,
565
- items: props.profileMenuItems || [],
518
+ items: finalProfileMenuItems || [],
566
519
  onItemSelect: (e) => console.log("selecting item ", e),
567
520
  trigger: /* @__PURE__ */ React5.createElement(
568
521
  "div",
@@ -713,10 +666,7 @@ var AppLayout = ({
713
666
  size: "smallIcon",
714
667
  onClick: () => {
715
668
  const newKeepOpenState = !keepDrawerOpen;
716
- localStorage.setItem(
717
- LOCAL_STORAGE_KEY,
718
- JSON.stringify(newKeepOpenState)
719
- );
669
+ localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(newKeepOpenState));
720
670
  setKeepDrawerOpen(newKeepOpenState);
721
671
  }
722
672
  },
@@ -742,14 +692,7 @@ var AppLayout = ({
742
692
  )
743
693
  ) : null
744
694
  )
745
- )), /* @__PURE__ */ React5.createElement(
746
- Dialog.Root,
747
- {
748
- open: size < 600 && openSideMenu,
749
- onOpenChange: setOpenSideMenu
750
- },
751
- /* @__PURE__ */ React5.createElement(Dialog.Portal, { container }, /* @__PURE__ */ React5.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" }))
752
- ), /* @__PURE__ */ React5.createElement(
695
+ )), /* @__PURE__ */ React5.createElement(Dialog.Root, { open: size < 600 && openSideMenu, onOpenChange: setOpenSideMenu }, /* @__PURE__ */ React5.createElement(Dialog.Portal, { container }, /* @__PURE__ */ React5.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__ */ React5.createElement(
753
696
  "div",
754
697
  {
755
698
  className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all hawa-z-0",
@@ -831,15 +774,7 @@ var AppTopbar = ({ ...props }) => {
831
774
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
832
775
  )
833
776
  },
834
- size > 600 ? /* @__PURE__ */ React6.createElement(
835
- "div",
836
- {
837
- className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
838
- },
839
- /* @__PURE__ */ React6.createElement("div", { className: "hawa-font-bold" }, props.username),
840
- " ",
841
- /* @__PURE__ */ React6.createElement("div", null, props.email)
842
- ) : null,
777
+ size > 600 ? /* @__PURE__ */ React6.createElement("div", { className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs" }, /* @__PURE__ */ React6.createElement("div", { className: "hawa-font-bold" }, props.username), " ", /* @__PURE__ */ React6.createElement("div", null, props.email)) : null,
843
778
  /* @__PURE__ */ React6.createElement(
844
779
  DropdownMenu,
845
780
  {
@@ -949,22 +884,20 @@ var MenubarSubContent = React7.forwardRef(({ className, ...props }, ref) => /* @
949
884
  }
950
885
  ));
951
886
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
952
- var MenubarContent = React7.forwardRef(
953
- ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React7.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React7.createElement(
954
- MenubarPrimitive.Content,
955
- {
956
- ref,
957
- align,
958
- alignOffset,
959
- sideOffset,
960
- className: cn(
961
- "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",
962
- className
963
- ),
964
- ...props
965
- }
966
- ))
967
- );
887
+ var MenubarContent = React7.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React7.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React7.createElement(
888
+ MenubarPrimitive.Content,
889
+ {
890
+ ref,
891
+ align,
892
+ alignOffset,
893
+ sideOffset,
894
+ className: cn(
895
+ "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",
896
+ className
897
+ ),
898
+ ...props
899
+ }
900
+ )));
968
901
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
969
902
  var MenubarItem = React7.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React7.createElement(
970
903
  MenubarPrimitive.Item,
@@ -1060,10 +993,7 @@ var MenubarSeparator = React7.forwardRef(({ className, ...props }, ref) => /* @_
1060
993
  }
1061
994
  ));
1062
995
  MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
1063
- var MenubarShortcut = ({
1064
- className,
1065
- ...props
1066
- }) => {
996
+ var MenubarShortcut = ({ className, ...props }) => {
1067
997
  return /* @__PURE__ */ React7.createElement(
1068
998
  "span",
1069
999
  {
@@ -1081,44 +1011,35 @@ MenubarShortcut.displayname = "MenubarShortcut";
1081
1011
  import React8, { useState as useState3 } from "react";
1082
1012
  var AppTabs = ({ tabs, className }) => {
1083
1013
  const [selectedIndex, setSelectedIndex] = useState3(0);
1084
- return /* @__PURE__ */ React8.createElement(
1085
- "div",
1086
- {
1087
- className: cn(
1088
- "hawa-w-full hawa-border-b hawa-bg-card hawa-p-6 hawa-pb-0",
1089
- className
1090
- )
1091
- },
1092
- /* @__PURE__ */ React8.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center" }, tabs.map((tab, index) => {
1093
- const selected = index === selectedIndex;
1094
- return /* @__PURE__ */ React8.createElement(
1095
- "a",
1096
- {
1097
- href: tab.path,
1098
- key: index,
1099
- onMouseDown: (e) => {
1100
- if (tab.onMouseDown) {
1101
- tab.onMouseDown(e);
1102
- }
1103
- },
1104
- onClick: (e) => {
1105
- if (tab.onClick) {
1106
- tab.onClick(e);
1107
- }
1108
- setSelectedIndex(index);
1109
- },
1110
- className: cn(
1111
- "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",
1112
- "hawa-border",
1113
- // Always have a border but make it transparent
1114
- selected ? "hawa-border hawa-border-b-transparent hawa-bg-background" : "hawa-cursor-pointer hawa-border-transparent hover:hawa-bg-card-foreground/5"
1115
- )
1014
+ return /* @__PURE__ */ React8.createElement("div", { className: cn("hawa-w-full hawa-border-b hawa-bg-card hawa-p-6 hawa-pb-0", className) }, /* @__PURE__ */ React8.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center" }, tabs.map((tab, index) => {
1015
+ const selected = index === selectedIndex;
1016
+ return /* @__PURE__ */ React8.createElement(
1017
+ "a",
1018
+ {
1019
+ href: tab.path,
1020
+ key: index,
1021
+ onMouseDown: (e) => {
1022
+ if (tab.onMouseDown) {
1023
+ tab.onMouseDown(e);
1024
+ }
1116
1025
  },
1117
- tab.icon && tab.icon,
1118
- tab.label
1119
- );
1120
- }))
1121
- );
1026
+ onClick: (e) => {
1027
+ if (tab.onClick) {
1028
+ tab.onClick(e);
1029
+ }
1030
+ setSelectedIndex(index);
1031
+ },
1032
+ className: cn(
1033
+ "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",
1034
+ "hawa-border",
1035
+ // Always have a border but make it transparent
1036
+ selected ? "hawa-border hawa-border-b-transparent hawa-bg-background" : "hawa-cursor-pointer hawa-border-transparent hover:hawa-bg-card-foreground/5"
1037
+ )
1038
+ },
1039
+ tab.icon && tab.icon,
1040
+ tab.label
1041
+ );
1042
+ })));
1122
1043
  };
1123
1044
 
1124
1045
  // layout/docsLayout/DocsLayout.tsx
@@ -1166,25 +1087,18 @@ var DocsSidebar = ({
1166
1087
  rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
1167
1088
  ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
1168
1089
  };
1169
- return /* @__PURE__ */ React9.createElement(
1090
+ return /* @__PURE__ */ React9.createElement("div", { className: "hawa-flex hawa-flex-col hawa-overflow-x-clip", dir: direction }, pages.map((page, index) => /* @__PURE__ */ React9.createElement(
1170
1091
  "div",
1171
1092
  {
1172
- className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
1173
- dir: direction
1093
+ key: index,
1094
+ className: cn(
1095
+ "hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
1096
+ (propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
1097
+ ),
1098
+ onClick: (event) => handlePageClick(page, event)
1174
1099
  },
1175
- pages.map((page, index) => /* @__PURE__ */ React9.createElement(
1176
- "div",
1177
- {
1178
- key: index,
1179
- className: cn(
1180
- "hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
1181
- (propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
1182
- ),
1183
- onClick: (event) => handlePageClick(page, event)
1184
- },
1185
- page
1186
- ))
1187
- );
1100
+ page
1101
+ )));
1188
1102
  };
1189
1103
 
1190
1104
  // layout/docsLayout/DocsLayout.tsx
@@ -1319,14 +1233,7 @@ var DocsLayout = ({
1319
1233
  }
1320
1234
  )
1321
1235
  )
1322
- )), /* @__PURE__ */ React10.createElement(
1323
- SheetContent,
1324
- {
1325
- side: isRTL ? "right" : "left",
1326
- className: "hawa-pt-10"
1327
- },
1328
- /* @__PURE__ */ React10.createElement(DocsSidebar, { direction, pages: pages || [] })
1329
- ))
1236
+ )), /* @__PURE__ */ React10.createElement(SheetContent, { side: isRTL ? "right" : "left", className: "hawa-pt-10" }, /* @__PURE__ */ React10.createElement(DocsSidebar, { direction, pages: pages || [] })))
1330
1237
  )
1331
1238
  ),
1332
1239
  /* @__PURE__ */ React10.createElement(
@@ -1362,14 +1269,7 @@ var DocsLayout = ({
1362
1269
  },
1363
1270
  ref
1364
1271
  },
1365
- /* @__PURE__ */ React10.createElement(
1366
- DocsSidebar,
1367
- {
1368
- direction,
1369
- pages: pages || [],
1370
- currentPage
1371
- }
1372
- )
1272
+ /* @__PURE__ */ React10.createElement(DocsSidebar, { direction, pages: pages || [], currentPage })
1373
1273
  ), /* @__PURE__ */ React10.createElement(
1374
1274
  "div",
1375
1275
  {