@sikka/hawa 0.32.2-next → 0.33.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 (136) hide show
  1. package/dist/{Chip-BT2hUlGJ.d.mts → Chip-BtgTAs8x.d.mts} +1 -1
  2. package/dist/{Chip-Dt7zJ-jZ.d.ts → Chip-DQsP5hFS.d.ts} +1 -1
  3. package/dist/Label-UbMDLtJF.d.mts +14 -0
  4. package/dist/Label-UbMDLtJF.d.ts +14 -0
  5. package/dist/alert/index.js +151 -34
  6. package/dist/alert/index.js.map +1 -1
  7. package/dist/alert/index.mjs +148 -31
  8. package/dist/alert/index.mjs.map +1 -1
  9. package/dist/appLayout/index.js +191 -145
  10. package/dist/appLayout/index.js.map +1 -1
  11. package/dist/appLayout/index.mjs +226 -180
  12. package/dist/appLayout/index.mjs.map +1 -1
  13. package/dist/backToTop/index.js +147 -30
  14. package/dist/backToTop/index.js.map +1 -1
  15. package/dist/backToTop/index.mjs +142 -25
  16. package/dist/backToTop/index.mjs.map +1 -1
  17. package/dist/blocks/auth/index.js +230 -229
  18. package/dist/blocks/auth/index.mjs +4 -4
  19. package/dist/blocks/feedback/index.js +147 -148
  20. package/dist/blocks/feedback/index.mjs +5 -5
  21. package/dist/blocks/index.js +230 -229
  22. package/dist/blocks/index.mjs +3 -3
  23. package/dist/blocks/misc/index.js +155 -154
  24. package/dist/blocks/misc/index.mjs +5 -5
  25. package/dist/blocks/pricing/index.js +174 -173
  26. package/dist/blocks/pricing/index.mjs +4 -4
  27. package/dist/button/index.d.mts +3 -2
  28. package/dist/button/index.d.ts +3 -2
  29. package/dist/button/index.js +138 -21
  30. package/dist/button/index.js.map +1 -1
  31. package/dist/button/index.mjs +138 -21
  32. package/dist/button/index.mjs.map +1 -1
  33. package/dist/calendar/index.d.mts +15 -0
  34. package/dist/calendar/index.d.ts +15 -0
  35. package/dist/calendar/index.js +545 -0
  36. package/dist/calendar/index.js.map +1 -0
  37. package/dist/calendar/index.mjs +509 -0
  38. package/dist/calendar/index.mjs.map +1 -0
  39. package/dist/{chunk-WFPAI2QC.mjs → chunk-3HJ3JXPA.mjs} +130 -174
  40. package/dist/{chunk-XRUPXLOK.mjs → chunk-AW5FW5TY.mjs} +1 -1
  41. package/dist/{chunk-MQWYXMSK.mjs → chunk-CKLK3G32.mjs} +242 -197
  42. package/dist/{chunk-XZLXGXIA.mjs → chunk-E3WWI4I5.mjs} +1 -1
  43. package/dist/{chunk-WUMWQIAW.mjs → chunk-FRYGQYUO.mjs} +1 -1
  44. package/dist/{chunk-S6TZHTWS.mjs → chunk-GEB3LM5A.mjs} +1 -1
  45. package/dist/{chunk-2QAGLSHC.mjs → chunk-IQEBXGLM.mjs} +1 -1
  46. package/dist/{chunk-PA3Z7W32.mjs → chunk-OS2UOK5C.mjs} +147 -146
  47. package/dist/{chunk-3S44N7SB.mjs → chunk-RTGD7N7I.mjs} +1 -1
  48. package/dist/{chunk-WAVKQ44V.mjs → chunk-UBNCETCU.mjs} +1 -1
  49. package/dist/codeBlock/index.js +138 -92
  50. package/dist/codeBlock/index.js.map +1 -1
  51. package/dist/codeBlock/index.mjs +157 -111
  52. package/dist/codeBlock/index.mjs.map +1 -1
  53. package/dist/commonTypes-CgDwjGvU.d.mts +5 -0
  54. package/dist/commonTypes-CgDwjGvU.d.ts +5 -0
  55. package/dist/commonTypes-DZdITB5m.d.mts +4 -0
  56. package/dist/commonTypes-DZdITB5m.d.ts +4 -0
  57. package/dist/dataTable/index.d.mts +2 -1
  58. package/dist/dataTable/index.d.ts +2 -1
  59. package/dist/dataTable/index.js +177 -174
  60. package/dist/dataTable/index.js.map +1 -1
  61. package/dist/dataTable/index.mjs +177 -174
  62. package/dist/dataTable/index.mjs.map +1 -1
  63. package/dist/datePicker/index.d.mts +20 -0
  64. package/dist/datePicker/index.d.ts +20 -0
  65. package/dist/datePicker/index.js +630 -0
  66. package/dist/datePicker/index.js.map +1 -0
  67. package/dist/datePicker/index.mjs +593 -0
  68. package/dist/datePicker/index.mjs.map +1 -0
  69. package/dist/destroyableCard/index.d.mts +1 -1
  70. package/dist/destroyableCard/index.d.ts +1 -1
  71. package/dist/dialog/index.d.mts +1 -1
  72. package/dist/dialog/index.d.ts +1 -1
  73. package/dist/docsLayout/index.js +231 -114
  74. package/dist/docsLayout/index.js.map +1 -1
  75. package/dist/docsLayout/index.mjs +222 -105
  76. package/dist/docsLayout/index.mjs.map +1 -1
  77. package/dist/dropdownMenu/index.d.mts +1 -6
  78. package/dist/dropdownMenu/index.d.ts +1 -6
  79. package/dist/elements/index.d.mts +9 -8
  80. package/dist/elements/index.d.ts +9 -8
  81. package/dist/elements/index.js +54 -51
  82. package/dist/elements/index.mjs +7 -5
  83. package/dist/fileDropzone/index.js +184 -67
  84. package/dist/fileDropzone/index.js.map +1 -1
  85. package/dist/fileDropzone/index.mjs +176 -59
  86. package/dist/fileDropzone/index.mjs.map +1 -1
  87. package/dist/index.css +83 -0
  88. package/dist/index.d.mts +1 -0
  89. package/dist/index.d.ts +1 -0
  90. package/dist/index.js +54 -51
  91. package/dist/index.mjs +74 -71
  92. package/dist/input/index.d.mts +1 -2
  93. package/dist/input/index.d.ts +1 -2
  94. package/dist/label/index.d.mts +2 -1
  95. package/dist/label/index.d.ts +2 -1
  96. package/dist/layout/index.d.mts +1 -1
  97. package/dist/layout/index.d.ts +1 -1
  98. package/dist/layout/index.js +204 -158
  99. package/dist/layout/index.mjs +2 -2
  100. package/dist/phoneInput/index.d.mts +1 -2
  101. package/dist/phoneInput/index.d.ts +1 -2
  102. package/dist/progress/index.d.mts +1 -8
  103. package/dist/progress/index.d.ts +1 -8
  104. package/dist/radio/index.d.mts +1 -9
  105. package/dist/radio/index.d.ts +1 -9
  106. package/dist/scrollArea/index.d.mts +1 -1
  107. package/dist/scrollArea/index.d.ts +1 -1
  108. package/dist/separator/index.d.mts +1 -1
  109. package/dist/separator/index.d.ts +1 -1
  110. package/dist/signature/index.d.mts +2 -1
  111. package/dist/signature/index.d.ts +2 -1
  112. package/dist/simpleTable/index.d.mts +1 -1
  113. package/dist/simpleTable/index.d.ts +1 -1
  114. package/dist/sortButton/index.js +145 -28
  115. package/dist/sortButton/index.js.map +1 -1
  116. package/dist/sortButton/index.mjs +145 -28
  117. package/dist/sortButton/index.mjs.map +1 -1
  118. package/dist/splitButton/index.d.mts +3 -2
  119. package/dist/splitButton/index.d.ts +3 -2
  120. package/dist/splitButton/index.js +145 -28
  121. package/dist/splitButton/index.js.map +1 -1
  122. package/dist/splitButton/index.mjs +145 -28
  123. package/dist/splitButton/index.mjs.map +1 -1
  124. package/dist/tabs/index.d.mts +1 -1
  125. package/dist/tabs/index.d.ts +1 -1
  126. package/dist/textarea/index.d.mts +1 -1
  127. package/dist/textarea/index.d.ts +1 -1
  128. package/dist/toast/index.d.mts +1 -1
  129. package/dist/toast/index.d.ts +1 -1
  130. package/dist/toaster/index.d.mts +22 -4
  131. package/dist/toaster/index.d.ts +22 -4
  132. package/package.json +3 -1
  133. package/dist/commonTypes-CMqMLkhN.d.mts +0 -4
  134. package/dist/commonTypes-CMqMLkhN.d.ts +0 -4
  135. package/dist/commonTypes-D_7LV7Ri.d.mts +0 -5
  136. package/dist/commonTypes-D_7LV7Ri.d.ts +0 -5
@@ -65,11 +65,127 @@ function cn(...inputs) {
65
65
  }
66
66
 
67
67
  // elements/button/Button.tsx
68
- var React3 = __toESM(require("react"));
68
+ var React5 = __toESM(require("react"));
69
69
  var import_class_variance_authority = require("class-variance-authority");
70
70
 
71
- // elements/loading/Loading.tsx
71
+ // elements/label/Label.tsx
72
+ var React3 = __toESM(require("react"));
73
+
74
+ // elements/tooltip/Tooltip.tsx
72
75
  var import_react2 = __toESM(require("react"));
76
+ var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
77
+ var TooltipContent = import_react2.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react2.default.createElement(
78
+ TooltipPrimitive.Content,
79
+ {
80
+ ref,
81
+ sideOffset,
82
+ className: cn(
83
+ "hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-text-popover-foreground hawa-shadow-md hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95 data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=closed]:hawa-zoom-out-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",
84
+ {
85
+ "hawa-text-xs": size === "small",
86
+ "hawa-text-xl": size === "large"
87
+ },
88
+ className
89
+ ),
90
+ ...props
91
+ }
92
+ ));
93
+ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
94
+ var TooltipArrow = import_react2.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
95
+ TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
96
+ var Tooltip = ({
97
+ side,
98
+ size,
99
+ open,
100
+ content,
101
+ children,
102
+ disabled,
103
+ defaultOpen,
104
+ onOpenChange,
105
+ triggerProps,
106
+ contentProps,
107
+ providerProps,
108
+ delayDuration = 300,
109
+ ...props
110
+ }) => {
111
+ return /* @__PURE__ */ import_react2.default.createElement(
112
+ TooltipPrimitive.TooltipProvider,
113
+ {
114
+ delayDuration,
115
+ ...providerProps
116
+ },
117
+ /* @__PURE__ */ import_react2.default.createElement(
118
+ TooltipPrimitive.Root,
119
+ {
120
+ open: !disabled && open,
121
+ defaultOpen,
122
+ onOpenChange,
123
+ ...props
124
+ },
125
+ /* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
126
+ /* @__PURE__ */ import_react2.default.createElement(
127
+ TooltipContent,
128
+ {
129
+ size,
130
+ side,
131
+ align: "center",
132
+ ...contentProps,
133
+ style: {
134
+ ...contentProps == null ? void 0 : contentProps.style,
135
+ maxWidth: "var(--radix-tooltip-content-available-width)",
136
+ maxHeight: "var(--radix-tooltip-content-available-height)"
137
+ }
138
+ },
139
+ content
140
+ )
141
+ )
142
+ );
143
+ };
144
+
145
+ // elements/label/Label.tsx
146
+ var Label = React3.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React3.createElement(
147
+ "label",
148
+ {
149
+ ref,
150
+ className: cn(
151
+ "hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
152
+ className
153
+ ),
154
+ ...props
155
+ },
156
+ children,
157
+ required && /* @__PURE__ */ React3.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
158
+ ), hint && /* @__PURE__ */ React3.createElement(
159
+ Tooltip,
160
+ {
161
+ content: hint,
162
+ side: hintSide,
163
+ triggerProps: {
164
+ tabIndex: -1,
165
+ onClick: (event) => event.preventDefault()
166
+ }
167
+ },
168
+ /* @__PURE__ */ React3.createElement("div", null, /* @__PURE__ */ React3.createElement(
169
+ "svg",
170
+ {
171
+ xmlns: "http://www.w3.org/2000/svg",
172
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
173
+ viewBox: "0 0 24 24",
174
+ fill: "none",
175
+ stroke: "currentColor",
176
+ strokeWidth: "2",
177
+ strokeLinecap: "round",
178
+ strokeLinejoin: "round"
179
+ },
180
+ /* @__PURE__ */ React3.createElement("circle", { cx: "12", cy: "12", r: "10" }),
181
+ /* @__PURE__ */ React3.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
182
+ /* @__PURE__ */ React3.createElement("path", { d: "M12 17h.01" })
183
+ ))
184
+ )));
185
+ Label.displayName = "Label";
186
+
187
+ // elements/loading/Loading.tsx
188
+ var import_react3 = __toESM(require("react"));
73
189
  var Loading = ({
74
190
  design = "spinner",
75
191
  size = "normal",
@@ -100,7 +216,7 @@ var Loading = ({
100
216
  };
101
217
  switch (design.split("-")[0]) {
102
218
  case "dots":
103
- return /* @__PURE__ */ import_react2.default.createElement(
219
+ return /* @__PURE__ */ import_react3.default.createElement(
104
220
  "div",
105
221
  {
106
222
  className: cn(
@@ -108,7 +224,7 @@ var Loading = ({
108
224
  classNames == null ? void 0 : classNames.container
109
225
  )
110
226
  },
111
- /* @__PURE__ */ import_react2.default.createElement(
227
+ /* @__PURE__ */ import_react3.default.createElement(
112
228
  "div",
113
229
  {
114
230
  className: cn(
@@ -119,7 +235,7 @@ var Loading = ({
119
235
  )
120
236
  }
121
237
  ),
122
- /* @__PURE__ */ import_react2.default.createElement(
238
+ /* @__PURE__ */ import_react3.default.createElement(
123
239
  "div",
124
240
  {
125
241
  className: cn(
@@ -130,7 +246,7 @@ var Loading = ({
130
246
  )
131
247
  }
132
248
  ),
133
- /* @__PURE__ */ import_react2.default.createElement(
249
+ /* @__PURE__ */ import_react3.default.createElement(
134
250
  "div",
135
251
  {
136
252
  className: cn(
@@ -143,7 +259,7 @@ var Loading = ({
143
259
  )
144
260
  );
145
261
  case "square":
146
- return /* @__PURE__ */ import_react2.default.createElement(
262
+ return /* @__PURE__ */ import_react3.default.createElement(
147
263
  "svg",
148
264
  {
149
265
  className: cn(
@@ -155,7 +271,7 @@ var Loading = ({
155
271
  height: "35",
156
272
  width: "35"
157
273
  },
158
- /* @__PURE__ */ import_react2.default.createElement(
274
+ /* @__PURE__ */ import_react3.default.createElement(
159
275
  "rect",
160
276
  {
161
277
  className: "squircle-track",
@@ -167,7 +283,7 @@ var Loading = ({
167
283
  height: "32.5"
168
284
  }
169
285
  ),
170
- /* @__PURE__ */ import_react2.default.createElement(
286
+ /* @__PURE__ */ import_react3.default.createElement(
171
287
  "rect",
172
288
  {
173
289
  className: "square-car",
@@ -182,7 +298,7 @@ var Loading = ({
182
298
  )
183
299
  );
184
300
  case "squircle":
185
- return /* @__PURE__ */ import_react2.default.createElement(
301
+ return /* @__PURE__ */ import_react3.default.createElement(
186
302
  "svg",
187
303
  {
188
304
  x: "0px",
@@ -197,7 +313,7 @@ var Loading = ({
197
313
  classNames == null ? void 0 : classNames.container
198
314
  )
199
315
  },
200
- /* @__PURE__ */ import_react2.default.createElement(
316
+ /* @__PURE__ */ import_react3.default.createElement(
201
317
  "path",
202
318
  {
203
319
  className: cn("squircle-track", classNames == null ? void 0 : classNames.track),
@@ -207,7 +323,7 @@ var Loading = ({
207
323
  d: "M0.37 18.5 C0.37 5.772 5.772 0.37 18.5 0.37 S36.63 5.772 36.63 18.5 S31.228 36.63 18.5 36.63 S0.37 31.228 0.37 18.5"
208
324
  }
209
325
  ),
210
- /* @__PURE__ */ import_react2.default.createElement(
326
+ /* @__PURE__ */ import_react3.default.createElement(
211
327
  "path",
212
328
  {
213
329
  className: cn("squircle-car", classNames == null ? void 0 : classNames.car),
@@ -219,7 +335,7 @@ var Loading = ({
219
335
  )
220
336
  );
221
337
  case "progress":
222
- return /* @__PURE__ */ import_react2.default.createElement(
338
+ return /* @__PURE__ */ import_react3.default.createElement(
223
339
  "div",
224
340
  {
225
341
  className: cn(
@@ -230,9 +346,9 @@ var Loading = ({
230
346
  }
231
347
  );
232
348
  case "orbit":
233
- return /* @__PURE__ */ import_react2.default.createElement("div", { className: cn("orbit-container", classNames == null ? void 0 : classNames.container) });
349
+ return /* @__PURE__ */ import_react3.default.createElement("div", { className: cn("orbit-container", classNames == null ? void 0 : classNames.container) });
234
350
  default:
235
- return /* @__PURE__ */ import_react2.default.createElement(
351
+ return /* @__PURE__ */ import_react3.default.createElement(
236
352
  "svg",
237
353
  {
238
354
  viewBox: "0 0 40 40",
@@ -244,7 +360,7 @@ var Loading = ({
244
360
  classNames == null ? void 0 : classNames.container
245
361
  )
246
362
  },
247
- /* @__PURE__ */ import_react2.default.createElement(
363
+ /* @__PURE__ */ import_react3.default.createElement(
248
364
  "circle",
249
365
  {
250
366
  className: cn(
@@ -263,7 +379,7 @@ var Loading = ({
263
379
  pathLength: "100"
264
380
  }
265
381
  ),
266
- /* @__PURE__ */ import_react2.default.createElement(
382
+ /* @__PURE__ */ import_react3.default.createElement(
267
383
  "circle",
268
384
  {
269
385
  className: cn(
@@ -320,9 +436,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
320
436
  }
321
437
  }
322
438
  );
323
- var Button = React3.forwardRef(
439
+ var Button = React5.forwardRef(
324
440
  ({
325
441
  className,
442
+ label,
326
443
  variant,
327
444
  size,
328
445
  asChild = false,
@@ -333,7 +450,7 @@ var Button = React3.forwardRef(
333
450
  }, ref) => {
334
451
  const Comp = "button";
335
452
  const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
336
- return /* @__PURE__ */ React3.createElement(
453
+ return /* @__PURE__ */ React5.createElement("div", { className: "flex flex-col" }, label && /* @__PURE__ */ React5.createElement(Label, { className: "hawa-mb-2" }, label), /* @__PURE__ */ React5.createElement(
337
454
  Comp,
338
455
  {
339
456
  className: cn(
@@ -343,7 +460,7 @@ var Button = React3.forwardRef(
343
460
  ref,
344
461
  ...props
345
462
  },
346
- isLoading ? /* @__PURE__ */ React3.createElement(
463
+ isLoading ? /* @__PURE__ */ React5.createElement(
347
464
  Loading,
348
465
  {
349
466
  design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
@@ -352,20 +469,20 @@ var Button = React3.forwardRef(
352
469
  size: size === "sm" || size === "xs" ? "xs" : "button"
353
470
  }
354
471
  ) : children
355
- );
472
+ ));
356
473
  }
357
474
  );
358
475
  Button.displayName = "Button";
359
476
 
360
477
  // elements/dropdownMenu/DropdownMenu.tsx
361
- var React4 = __toESM(require("react"));
478
+ var React6 = __toESM(require("react"));
362
479
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
363
480
  var DropdownMenuRoot = DropdownMenuPrimitive.Root;
364
481
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
365
482
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
366
483
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
367
484
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
368
- var DropdownMenuSubTrigger = React4.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React4.createElement(
485
+ var DropdownMenuSubTrigger = React6.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React6.createElement(
369
486
  DropdownMenuPrimitive.SubTrigger,
370
487
  {
371
488
  ref,
@@ -376,9 +493,9 @@ var DropdownMenuSubTrigger = React4.forwardRef(({ className, inset, children, ..
376
493
  ),
377
494
  ...props
378
495
  },
379
- /* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
496
+ /* @__PURE__ */ React6.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
380
497
  " ",
381
- /* @__PURE__ */ React4.createElement(
498
+ /* @__PURE__ */ React6.createElement(
382
499
  "svg",
383
500
  {
384
501
  "aria-label": "Chevron Right Icon",
@@ -390,7 +507,7 @@ var DropdownMenuSubTrigger = React4.forwardRef(({ className, inset, children, ..
390
507
  width: "1em",
391
508
  className: cn(props.dir === "rtl" ? "hawa-rotate-180" : "")
392
509
  },
393
- /* @__PURE__ */ React4.createElement(
510
+ /* @__PURE__ */ React6.createElement(
394
511
  "path",
395
512
  {
396
513
  fillRule: "evenodd",
@@ -400,7 +517,7 @@ var DropdownMenuSubTrigger = React4.forwardRef(({ className, inset, children, ..
400
517
  )
401
518
  ));
402
519
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
403
- var DropdownMenuSubContent = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React4.createElement(
520
+ var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
404
521
  DropdownMenuPrimitive.SubContent,
405
522
  {
406
523
  ref,
@@ -412,7 +529,7 @@ var DropdownMenuSubContent = React4.forwardRef(({ className, ...props }, ref) =>
412
529
  }
413
530
  ));
414
531
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
415
- var DropdownMenuContent = React4.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React4.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React4.createElement(
532
+ var DropdownMenuContent = React6.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React6.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React6.createElement(
416
533
  DropdownMenuPrimitive.Content,
417
534
  {
418
535
  ref,
@@ -425,8 +542,8 @@ var DropdownMenuContent = React4.forwardRef(({ className, sideOffset = 4, ...pro
425
542
  }
426
543
  )));
427
544
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
428
- var DropdownMenuItem = React4.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
429
- return /* @__PURE__ */ React4.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React4.createElement(
545
+ var DropdownMenuItem = React6.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
546
+ return /* @__PURE__ */ React6.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React6.createElement(
430
547
  DropdownMenuPrimitive.Item,
431
548
  {
432
549
  disabled: props.disabled,
@@ -439,14 +556,14 @@ var DropdownMenuItem = React4.forwardRef(({ className, inset, badged, slug, Link
439
556
  ),
440
557
  ...props
441
558
  },
442
- /* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
559
+ /* @__PURE__ */ React6.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
443
560
  props.end && props.end,
444
- !props.end && props.shortcut && /* @__PURE__ */ React4.createElement(DropdownMenuShortcut, null, props.shortcut),
445
- !props.end && badged && /* @__PURE__ */ React4.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
561
+ !props.end && props.shortcut && /* @__PURE__ */ React6.createElement(DropdownMenuShortcut, null, props.shortcut),
562
+ !props.end && badged && /* @__PURE__ */ React6.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
446
563
  ));
447
564
  });
448
565
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
449
- var DropdownMenuCheckboxItem = React4.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React4.createElement(
566
+ var DropdownMenuCheckboxItem = React6.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React6.createElement(
450
567
  DropdownMenuPrimitive.CheckboxItem,
451
568
  {
452
569
  ref,
@@ -457,7 +574,7 @@ var DropdownMenuCheckboxItem = React4.forwardRef(({ className, children, checked
457
574
  checked,
458
575
  ...props
459
576
  },
460
- /* @__PURE__ */ React4.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React4.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React4.createElement(
577
+ /* @__PURE__ */ React6.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React6.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React6.createElement(
461
578
  "svg",
462
579
  {
463
580
  "aria-label": "Check Mark",
@@ -468,12 +585,12 @@ var DropdownMenuCheckboxItem = React4.forwardRef(({ className, children, checked
468
585
  height: "0.60em",
469
586
  width: "0.60em"
470
587
  },
471
- /* @__PURE__ */ React4.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
588
+ /* @__PURE__ */ React6.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
472
589
  ), " ")),
473
590
  children
474
591
  ));
475
592
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
476
- var DropdownMenuRadioItem = React4.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React4.createElement(
593
+ var DropdownMenuRadioItem = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React6.createElement(
477
594
  DropdownMenuPrimitive.RadioItem,
478
595
  {
479
596
  ref,
@@ -483,7 +600,7 @@ var DropdownMenuRadioItem = React4.forwardRef(({ className, children, ...props }
483
600
  ),
484
601
  ...props
485
602
  },
486
- /* @__PURE__ */ React4.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React4.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React4.createElement(
603
+ /* @__PURE__ */ React6.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React6.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React6.createElement(
487
604
  "svg",
488
605
  {
489
606
  xmlns: "http://www.w3.org/2000/svg",
@@ -498,12 +615,12 @@ var DropdownMenuRadioItem = React4.forwardRef(({ className, children, ...props }
498
615
  strokeLinejoin: "round",
499
616
  className: "hawa-h-2 hawa-w-2 hawa-fill-current"
500
617
  },
501
- /* @__PURE__ */ React4.createElement("circle", { cx: "12", cy: "12", r: "10" })
618
+ /* @__PURE__ */ React6.createElement("circle", { cx: "12", cy: "12", r: "10" })
502
619
  ))),
503
620
  children
504
621
  ));
505
622
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
506
- var DropdownMenuLabel = React4.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React4.createElement(
623
+ var DropdownMenuLabel = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React6.createElement(
507
624
  DropdownMenuPrimitive.Label,
508
625
  {
509
626
  ref,
@@ -516,7 +633,7 @@ var DropdownMenuLabel = React4.forwardRef(({ className, inset, ...props }, ref)
516
633
  }
517
634
  ));
518
635
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
519
- var DropdownMenuSeparator = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React4.createElement(
636
+ var DropdownMenuSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
520
637
  DropdownMenuPrimitive.Separator,
521
638
  {
522
639
  ref,
@@ -529,7 +646,7 @@ var DropdownMenuShortcut = ({
529
646
  className,
530
647
  ...props
531
648
  }) => {
532
- return /* @__PURE__ */ React4.createElement(
649
+ return /* @__PURE__ */ React6.createElement(
533
650
  "span",
534
651
  {
535
652
  className: cn(
@@ -569,10 +686,10 @@ var DropdownMenu = ({
569
686
  default: "hawa-px-2 hawa-py-3 ",
570
687
  sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
571
688
  };
572
- let [values, setValues] = React4.useState(
689
+ let [values, setValues] = React6.useState(
573
690
  items.map((item) => item.currentOption)
574
691
  );
575
- return /* @__PURE__ */ React4.createElement(
692
+ return /* @__PURE__ */ React6.createElement(
576
693
  DropdownMenuRoot,
577
694
  {
578
695
  onOpenChange,
@@ -580,8 +697,8 @@ var DropdownMenu = ({
580
697
  modal: false,
581
698
  dir: direction
582
699
  },
583
- /* @__PURE__ */ React4.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
584
- /* @__PURE__ */ React4.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React4.createElement(
700
+ /* @__PURE__ */ React6.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
701
+ /* @__PURE__ */ React6.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React6.createElement(
585
702
  DropdownMenuContent,
586
703
  {
587
704
  side,
@@ -602,12 +719,12 @@ var DropdownMenu = ({
602
719
  var _a;
603
720
  const ItemLinkComponent = item.slug ? LinkComponent : "a";
604
721
  if (item.itemType === "separator") {
605
- return /* @__PURE__ */ React4.createElement(DropdownMenuSeparator, { key: index });
722
+ return /* @__PURE__ */ React6.createElement(DropdownMenuSeparator, { key: index });
606
723
  } else if (item.itemType === "label") {
607
- return /* @__PURE__ */ React4.createElement(DropdownMenuLabel, { key: index }, item.label);
724
+ return /* @__PURE__ */ React6.createElement(DropdownMenuLabel, { key: index }, item.label);
608
725
  } else if (item.itemType === "radio") {
609
726
  let dd = item.currentOption;
610
- return /* @__PURE__ */ React4.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React4.createElement(
727
+ return /* @__PURE__ */ React6.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React6.createElement(
611
728
  DropdownMenuSubTrigger,
612
729
  {
613
730
  dir: direction,
@@ -615,7 +732,7 @@ var DropdownMenu = ({
615
732
  },
616
733
  item.icon && item.icon,
617
734
  item.label && item.label
618
- ), /* @__PURE__ */ React4.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React4.createElement(
735
+ ), /* @__PURE__ */ React6.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React6.createElement(
619
736
  DropdownMenuRadioGroup,
620
737
  {
621
738
  value: values[index],
@@ -629,12 +746,12 @@ var DropdownMenu = ({
629
746
  }
630
747
  }
631
748
  },
632
- (_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React4.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
749
+ (_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React6.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
633
750
  )));
634
751
  } else if (item.itemType === "custom") {
635
- return /* @__PURE__ */ React4.createElement("div", { key: index }, item.content);
752
+ return /* @__PURE__ */ React6.createElement("div", { key: index }, item.content);
636
753
  } else {
637
- return item.subitems ? /* @__PURE__ */ React4.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React4.createElement(
754
+ return item.subitems ? /* @__PURE__ */ React6.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React6.createElement(
638
755
  DropdownMenuSubTrigger,
639
756
  {
640
757
  dir: direction,
@@ -642,9 +759,9 @@ var DropdownMenu = ({
642
759
  },
643
760
  item.icon && item.icon,
644
761
  item.label && item.label
645
- ), /* @__PURE__ */ React4.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React4.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
762
+ ), /* @__PURE__ */ React6.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React6.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
646
763
  const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
647
- return /* @__PURE__ */ React4.createElement(
764
+ return /* @__PURE__ */ React6.createElement(
648
765
  DropdownMenuItem,
649
766
  {
650
767
  key: subIndex,
@@ -673,7 +790,7 @@ var DropdownMenu = ({
673
790
  subitem.icon && subitem.icon,
674
791
  subitem.label && subitem.label
675
792
  );
676
- })))) : /* @__PURE__ */ React4.createElement(
793
+ })))) : /* @__PURE__ */ React6.createElement(
677
794
  DropdownMenuItem,
678
795
  {
679
796
  LinkComponent: ItemLinkComponent,
@@ -726,79 +843,8 @@ var DropdownMenu = ({
726
843
  );
727
844
  };
728
845
 
729
- // elements/tooltip/Tooltip.tsx
730
- var import_react3 = __toESM(require("react"));
731
- var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
732
- var TooltipContent = import_react3.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react3.default.createElement(
733
- TooltipPrimitive.Content,
734
- {
735
- ref,
736
- sideOffset,
737
- className: cn(
738
- "hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-text-popover-foreground hawa-shadow-md hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95 data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=closed]:hawa-zoom-out-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",
739
- {
740
- "hawa-text-xs": size === "small",
741
- "hawa-text-xl": size === "large"
742
- },
743
- className
744
- ),
745
- ...props
746
- }
747
- ));
748
- TooltipContent.displayName = TooltipPrimitive.Content.displayName;
749
- var TooltipArrow = import_react3.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react3.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
750
- TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
751
- var Tooltip = ({
752
- side,
753
- size,
754
- open,
755
- content,
756
- children,
757
- disabled,
758
- defaultOpen,
759
- onOpenChange,
760
- triggerProps,
761
- contentProps,
762
- providerProps,
763
- delayDuration = 300,
764
- ...props
765
- }) => {
766
- return /* @__PURE__ */ import_react3.default.createElement(
767
- TooltipPrimitive.TooltipProvider,
768
- {
769
- delayDuration,
770
- ...providerProps
771
- },
772
- /* @__PURE__ */ import_react3.default.createElement(
773
- TooltipPrimitive.Root,
774
- {
775
- open: !disabled && open,
776
- defaultOpen,
777
- onOpenChange,
778
- ...props
779
- },
780
- /* @__PURE__ */ import_react3.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
781
- /* @__PURE__ */ import_react3.default.createElement(
782
- TooltipContent,
783
- {
784
- size,
785
- side,
786
- align: "center",
787
- ...contentProps,
788
- style: {
789
- ...contentProps == null ? void 0 : contentProps.style,
790
- maxWidth: "var(--radix-tooltip-content-available-width)",
791
- maxHeight: "var(--radix-tooltip-content-available-height)"
792
- }
793
- },
794
- content
795
- )
796
- )
797
- );
798
- };
799
-
800
846
  // layout/sidebar/Sidebar.tsx
801
- var React7 = __toESM(require("react"));
847
+ var React8 = __toESM(require("react"));
802
848
  var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
803
849
 
804
850
  // elements/chip/Chip.tsx
@@ -885,9 +931,9 @@ var Chip = import_react4.default.forwardRef(
885
931
  // layout/sidebar/Sidebar.tsx
886
932
  var Accordion = AccordionPrimitive.Root;
887
933
  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";
888
- var AccordionItem = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React7.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
934
+ var AccordionItem = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
889
935
  AccordionItem.displayName = "AccordionItem";
890
- var AccordionTrigger = React7.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React7.createElement(AccordionPrimitive.Header, { className: "flex" }, /* @__PURE__ */ React7.createElement(
936
+ var AccordionTrigger = React8.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React8.createElement(AccordionPrimitive.Header, { className: "flex" }, /* @__PURE__ */ React8.createElement(
891
937
  AccordionPrimitive.Trigger,
892
938
  {
893
939
  ref,
@@ -895,7 +941,7 @@ var AccordionTrigger = React7.forwardRef(({ className, showArrow, children, ...p
895
941
  ...props
896
942
  },
897
943
  children,
898
- showArrow && /* @__PURE__ */ React7.createElement(
944
+ showArrow && /* @__PURE__ */ React8.createElement(
899
945
  "svg",
900
946
  {
901
947
  "aria-label": "Chevron Right Icon",
@@ -906,11 +952,11 @@ var AccordionTrigger = React7.forwardRef(({ className, showArrow, children, ...p
906
952
  width: "1em",
907
953
  className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
908
954
  },
909
- /* @__PURE__ */ React7.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" })
955
+ /* @__PURE__ */ React8.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" })
910
956
  )
911
957
  )));
912
958
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
913
- var AccordionContent = React7.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React7.createElement(
959
+ var AccordionContent = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React8.createElement(
914
960
  AccordionPrimitive.Content,
915
961
  {
916
962
  ref,
@@ -920,7 +966,7 @@ var AccordionContent = React7.forwardRef(({ className, children, ...props }, ref
920
966
  ),
921
967
  ...props
922
968
  },
923
- /* @__PURE__ */ React7.createElement("div", null, children)
969
+ /* @__PURE__ */ React8.createElement("div", null, children)
924
970
  ));
925
971
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
926
972
  var SidebarGroup = ({
@@ -936,7 +982,7 @@ var SidebarGroup = ({
936
982
  ...props
937
983
  }) => {
938
984
  const LinkComponent = props.LinkComponent || "a";
939
- return /* @__PURE__ */ React7.createElement("div", { className: "hawa-m-2" }, title && /* @__PURE__ */ React7.createElement("h3", { className: "hawa-mb-1 hawa-font-bold" }, title), /* @__PURE__ */ React7.createElement("ul", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React7.createElement(
985
+ return /* @__PURE__ */ React8.createElement("div", { className: "hawa-m-2" }, title && /* @__PURE__ */ React8.createElement("h3", { className: "hawa-mb-1 hawa-font-bold" }, title), /* @__PURE__ */ React8.createElement("ul", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React8.createElement(
940
986
  Accordion,
941
987
  {
942
988
  value: openedItem,
@@ -947,7 +993,7 @@ var SidebarGroup = ({
947
993
  collapsible: true,
948
994
  className: "hawa-flex hawa-flex-col hawa-gap-1"
949
995
  },
950
- items.map((item, idx) => /* @__PURE__ */ React7.createElement(
996
+ items.map((item, idx) => /* @__PURE__ */ React8.createElement(
951
997
  SidebarItem,
952
998
  {
953
999
  isOpen,
@@ -975,14 +1021,14 @@ var SidebarItem = ({
975
1021
  return props.selectedItem === value ? "hawa-bg-primary/90 hawa-text-primary-foreground hawa-cursor-default" : "hover:hawa-bg-primary/10";
976
1022
  };
977
1023
  if (item.subitems) {
978
- return /* @__PURE__ */ React7.createElement(
1024
+ return /* @__PURE__ */ React8.createElement(
979
1025
  AccordionItem,
980
1026
  {
981
1027
  value: item.value,
982
1028
  className: "hawa-overflow-x-clip ",
983
1029
  dir: direction
984
1030
  },
985
- /* @__PURE__ */ React7.createElement(
1031
+ /* @__PURE__ */ React8.createElement(
986
1032
  AccordionTrigger,
987
1033
  {
988
1034
  className: cn(
@@ -994,7 +1040,7 @@ var SidebarItem = ({
994
1040
  ),
995
1041
  showArrow: isOpen
996
1042
  },
997
- /* @__PURE__ */ React7.createElement(
1043
+ /* @__PURE__ */ React8.createElement(
998
1044
  "div",
999
1045
  {
1000
1046
  className: cn(
@@ -1002,7 +1048,7 @@ var SidebarItem = ({
1002
1048
  )
1003
1049
  },
1004
1050
  item.icon && item.icon,
1005
- /* @__PURE__ */ React7.createElement(
1051
+ /* @__PURE__ */ React8.createElement(
1006
1052
  "span",
1007
1053
  {
1008
1054
  className: cn(
@@ -1014,14 +1060,14 @@ var SidebarItem = ({
1014
1060
  )
1015
1061
  )
1016
1062
  ),
1017
- item.subitems && /* @__PURE__ */ React7.createElement(AccordionContent, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React7.createElement(
1063
+ item.subitems && /* @__PURE__ */ React8.createElement(AccordionContent, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React8.createElement(
1018
1064
  "div",
1019
1065
  {
1020
1066
  className: cn(
1021
1067
  "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
1022
1068
  )
1023
1069
  },
1024
- item.subitems.map((subitem, idx) => /* @__PURE__ */ React7.createElement(
1070
+ item.subitems.map((subitem, idx) => /* @__PURE__ */ React8.createElement(
1025
1071
  LinkComponent,
1026
1072
  {
1027
1073
  href: subitem.slug,
@@ -1052,7 +1098,7 @@ var SidebarItem = ({
1052
1098
  ))
1053
1099
  );
1054
1100
  } else {
1055
- return /* @__PURE__ */ React7.createElement(
1101
+ return /* @__PURE__ */ React8.createElement(
1056
1102
  LinkComponent,
1057
1103
  {
1058
1104
  href: item.slug,
@@ -1076,7 +1122,7 @@ var SidebarItem = ({
1076
1122
  "hawa-overflow-x-clip "
1077
1123
  )
1078
1124
  },
1079
- /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React7.createElement(
1125
+ /* @__PURE__ */ React8.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React8.createElement(
1080
1126
  "span",
1081
1127
  {
1082
1128
  className: cn(
@@ -1086,7 +1132,7 @@ var SidebarItem = ({
1086
1132
  },
1087
1133
  item.label,
1088
1134
  " ",
1089
- item.badge && /* @__PURE__ */ React7.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
1135
+ item.badge && /* @__PURE__ */ React8.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
1090
1136
  ))
1091
1137
  );
1092
1138
  }