@resq-sw/ui 0.2.0

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 (344) hide show
  1. package/LICENSE.md +20 -0
  2. package/README.md +61 -0
  3. package/lib/components/accordion/accordion.d.ts +27 -0
  4. package/lib/components/accordion/accordion.d.ts.map +1 -0
  5. package/lib/components/accordion/accordion.js +71 -0
  6. package/lib/components/accordion/accordion.js.map +1 -0
  7. package/lib/components/accordion/index.d.ts +2 -0
  8. package/lib/components/accordion/index.js +2 -0
  9. package/lib/components/alert/alert.d.ts +30 -0
  10. package/lib/components/alert/alert.d.ts.map +1 -0
  11. package/lib/components/alert/alert.js +59 -0
  12. package/lib/components/alert/alert.js.map +1 -0
  13. package/lib/components/alert/index.d.ts +2 -0
  14. package/lib/components/alert/index.js +2 -0
  15. package/lib/components/alert-dialog/alert-dialog.d.ts +61 -0
  16. package/lib/components/alert-dialog/alert-dialog.d.ts.map +1 -0
  17. package/lib/components/alert-dialog/alert-dialog.js +102 -0
  18. package/lib/components/alert-dialog/alert-dialog.js.map +1 -0
  19. package/lib/components/alert-dialog/index.d.ts +2 -0
  20. package/lib/components/alert-dialog/index.js +2 -0
  21. package/lib/components/aspect-ratio/aspect-ratio.d.ts +11 -0
  22. package/lib/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
  23. package/lib/components/aspect-ratio/aspect-ratio.js +29 -0
  24. package/lib/components/aspect-ratio/aspect-ratio.js.map +1 -0
  25. package/lib/components/aspect-ratio/index.d.ts +2 -0
  26. package/lib/components/aspect-ratio/index.js +2 -0
  27. package/lib/components/avatar/avatar.d.ts +36 -0
  28. package/lib/components/avatar/avatar.d.ts.map +1 -0
  29. package/lib/components/avatar/avatar.js +67 -0
  30. package/lib/components/avatar/avatar.js.map +1 -0
  31. package/lib/components/avatar/index.d.ts +2 -0
  32. package/lib/components/avatar/index.js +2 -0
  33. package/lib/components/badge/badge.d.ts +21 -0
  34. package/lib/components/badge/badge.d.ts.map +1 -0
  35. package/lib/components/badge/badge.js +43 -0
  36. package/lib/components/badge/badge.js.map +1 -0
  37. package/lib/components/badge/index.d.ts +2 -0
  38. package/lib/components/badge/index.js +2 -0
  39. package/lib/components/breadcrumb/breadcrumb.d.ts +40 -0
  40. package/lib/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  41. package/lib/components/breadcrumb/breadcrumb.js +86 -0
  42. package/lib/components/breadcrumb/breadcrumb.js.map +1 -0
  43. package/lib/components/breadcrumb/index.d.ts +2 -0
  44. package/lib/components/breadcrumb/index.js +2 -0
  45. package/lib/components/button/button.d.ts +23 -0
  46. package/lib/components/button/button.d.ts.map +1 -0
  47. package/lib/components/button/button.js +63 -0
  48. package/lib/components/button/button.js.map +1 -0
  49. package/lib/components/button/index.d.ts +2 -0
  50. package/lib/components/button/index.js +2 -0
  51. package/lib/components/button-group/button-group.d.ts +30 -0
  52. package/lib/components/button-group/button-group.d.ts.map +1 -0
  53. package/lib/components/button-group/button-group.js +55 -0
  54. package/lib/components/button-group/button-group.js.map +1 -0
  55. package/lib/components/button-group/index.d.ts +2 -0
  56. package/lib/components/button-group/index.js +2 -0
  57. package/lib/components/calendar/calendar.d.ts +32 -0
  58. package/lib/components/calendar/calendar.d.ts.map +1 -0
  59. package/lib/components/calendar/calendar.js +126 -0
  60. package/lib/components/calendar/calendar.js.map +1 -0
  61. package/lib/components/calendar/index.d.ts +2 -0
  62. package/lib/components/calendar/index.js +2 -0
  63. package/lib/components/card/card.d.ts +39 -0
  64. package/lib/components/card/card.d.ts.map +1 -0
  65. package/lib/components/card/card.js +57 -0
  66. package/lib/components/card/card.js.map +1 -0
  67. package/lib/components/card/index.d.ts +2 -0
  68. package/lib/components/card/index.js +2 -0
  69. package/lib/components/carousel/carousel.d.ts +58 -0
  70. package/lib/components/carousel/carousel.d.ts.map +1 -0
  71. package/lib/components/carousel/carousel.js +150 -0
  72. package/lib/components/carousel/carousel.js.map +1 -0
  73. package/lib/components/carousel/index.d.ts +2 -0
  74. package/lib/components/carousel/index.js +2 -0
  75. package/lib/components/chart/chart.d.ts +70 -0
  76. package/lib/components/chart/chart.d.ts.map +1 -0
  77. package/lib/components/chart/chart.js +164 -0
  78. package/lib/components/chart/chart.js.map +1 -0
  79. package/lib/components/chart/index.d.ts +2 -0
  80. package/lib/components/chart/index.js +2 -0
  81. package/lib/components/checkbox/checkbox.d.ts +13 -0
  82. package/lib/components/checkbox/checkbox.d.ts.map +1 -0
  83. package/lib/components/checkbox/checkbox.js +37 -0
  84. package/lib/components/checkbox/checkbox.js.map +1 -0
  85. package/lib/components/checkbox/index.d.ts +2 -0
  86. package/lib/components/checkbox/index.js +2 -0
  87. package/lib/components/collapsible/collapsible.d.ts +17 -0
  88. package/lib/components/collapsible/collapsible.d.ts.map +1 -0
  89. package/lib/components/collapsible/collapsible.js +41 -0
  90. package/lib/components/collapsible/collapsible.js.map +1 -0
  91. package/lib/components/collapsible/index.d.ts +2 -0
  92. package/lib/components/collapsible/index.js +2 -0
  93. package/lib/components/combobox/combobox.d.ts +83 -0
  94. package/lib/components/combobox/combobox.d.ts.map +1 -0
  95. package/lib/components/combobox/combobox.js +180 -0
  96. package/lib/components/combobox/combobox.js.map +1 -0
  97. package/lib/components/combobox/index.d.ts +2 -0
  98. package/lib/components/combobox/index.js +2 -0
  99. package/lib/components/command/command.d.ts +56 -0
  100. package/lib/components/command/command.d.ts.map +1 -0
  101. package/lib/components/command/command.js +104 -0
  102. package/lib/components/command/command.js.map +1 -0
  103. package/lib/components/command/index.d.ts +2 -0
  104. package/lib/components/command/index.js +2 -0
  105. package/lib/components/context-menu/context-menu.d.ts +81 -0
  106. package/lib/components/context-menu/context-menu.d.ts.map +1 -0
  107. package/lib/components/context-menu/context-menu.js +139 -0
  108. package/lib/components/context-menu/context-menu.js.map +1 -0
  109. package/lib/components/context-menu/index.d.ts +2 -0
  110. package/lib/components/context-menu/index.js +2 -0
  111. package/lib/components/dialog/dialog.d.ts +52 -0
  112. package/lib/components/dialog/dialog.d.ts.map +1 -0
  113. package/lib/components/dialog/dialog.js +97 -0
  114. package/lib/components/dialog/dialog.js.map +1 -0
  115. package/lib/components/dialog/index.d.ts +2 -0
  116. package/lib/components/dialog/index.js +2 -0
  117. package/lib/components/direction/direction.d.ts +17 -0
  118. package/lib/components/direction/direction.d.ts.map +1 -0
  119. package/lib/components/direction/direction.js +30 -0
  120. package/lib/components/direction/direction.js.map +1 -0
  121. package/lib/components/direction/index.d.ts +2 -0
  122. package/lib/components/direction/index.js +2 -0
  123. package/lib/components/drawer/drawer.d.ts +46 -0
  124. package/lib/components/drawer/drawer.d.ts.map +1 -0
  125. package/lib/components/drawer/drawer.js +94 -0
  126. package/lib/components/drawer/drawer.js.map +1 -0
  127. package/lib/components/drawer/index.d.ts +2 -0
  128. package/lib/components/drawer/index.js +2 -0
  129. package/lib/components/dropdown-menu/dropdown-menu.d.ts +80 -0
  130. package/lib/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
  131. package/lib/components/dropdown-menu/dropdown-menu.js +142 -0
  132. package/lib/components/dropdown-menu/dropdown-menu.js.map +1 -0
  133. package/lib/components/dropdown-menu/index.d.ts +2 -0
  134. package/lib/components/dropdown-menu/index.js +2 -0
  135. package/lib/components/empty/empty.d.ts +37 -0
  136. package/lib/components/empty/empty.d.ts.map +1 -0
  137. package/lib/components/empty/empty.js +76 -0
  138. package/lib/components/empty/empty.js.map +1 -0
  139. package/lib/components/empty/index.d.ts +2 -0
  140. package/lib/components/empty/index.js +2 -0
  141. package/lib/components/field/field.d.ts +66 -0
  142. package/lib/components/field/field.d.ts.map +1 -0
  143. package/lib/components/field/field.js +127 -0
  144. package/lib/components/field/field.js.map +1 -0
  145. package/lib/components/field/index.d.ts +2 -0
  146. package/lib/components/field/index.js +2 -0
  147. package/lib/components/hover-card/hover-card.d.ts +21 -0
  148. package/lib/components/hover-card/hover-card.d.ts.map +1 -0
  149. package/lib/components/hover-card/hover-card.js +48 -0
  150. package/lib/components/hover-card/hover-card.js.map +1 -0
  151. package/lib/components/hover-card/index.d.ts +2 -0
  152. package/lib/components/hover-card/index.js +2 -0
  153. package/lib/components/input/index.d.ts +2 -0
  154. package/lib/components/input/index.js +2 -0
  155. package/lib/components/input/input.d.ts +13 -0
  156. package/lib/components/input/input.d.ts.map +1 -0
  157. package/lib/components/input/input.js +15 -0
  158. package/lib/components/input/input.js.map +1 -0
  159. package/lib/components/input-group/index.d.ts +2 -0
  160. package/lib/components/input-group/index.js +2 -0
  161. package/lib/components/input-group/input-group.d.ts +45 -0
  162. package/lib/components/input-group/input-group.d.ts.map +1 -0
  163. package/lib/components/input-group/input-group.js +95 -0
  164. package/lib/components/input-group/input-group.js.map +1 -0
  165. package/lib/components/input-otp/index.d.ts +2 -0
  166. package/lib/components/input-otp/index.js +2 -0
  167. package/lib/components/input-otp/input-otp.d.ts +30 -0
  168. package/lib/components/input-otp/input-otp.d.ts.map +1 -0
  169. package/lib/components/input-otp/input-otp.js +64 -0
  170. package/lib/components/input-otp/input-otp.js.map +1 -0
  171. package/lib/components/item/index.d.ts +2 -0
  172. package/lib/components/item/index.js +2 -0
  173. package/lib/components/item/item.d.ts +64 -0
  174. package/lib/components/item/item.d.ts.map +1 -0
  175. package/lib/components/item/item.js +133 -0
  176. package/lib/components/item/item.js.map +1 -0
  177. package/lib/components/kbd/index.d.ts +2 -0
  178. package/lib/components/kbd/index.js +2 -0
  179. package/lib/components/kbd/kbd.d.ts +30 -0
  180. package/lib/components/kbd/kbd.d.ts.map +1 -0
  181. package/lib/components/kbd/kbd.js +36 -0
  182. package/lib/components/kbd/kbd.js.map +1 -0
  183. package/lib/components/label/index.d.ts +2 -0
  184. package/lib/components/label/index.js +2 -0
  185. package/lib/components/label/label.d.ts +13 -0
  186. package/lib/components/label/label.d.ts.map +1 -0
  187. package/lib/components/label/label.js +31 -0
  188. package/lib/components/label/label.js.map +1 -0
  189. package/lib/components/menubar/index.d.ts +2 -0
  190. package/lib/components/menubar/index.js +2 -0
  191. package/lib/components/menubar/menubar.d.ts +86 -0
  192. package/lib/components/menubar/menubar.d.ts.map +1 -0
  193. package/lib/components/menubar/menubar.js +149 -0
  194. package/lib/components/menubar/menubar.js.map +1 -0
  195. package/lib/components/native-select/index.d.ts +2 -0
  196. package/lib/components/native-select/index.js +2 -0
  197. package/lib/components/native-select/native-select.d.ts +23 -0
  198. package/lib/components/native-select/native-select.d.ts.map +1 -0
  199. package/lib/components/native-select/native-select.js +53 -0
  200. package/lib/components/native-select/native-select.js.map +1 -0
  201. package/lib/components/navigation-menu/index.d.ts +2 -0
  202. package/lib/components/navigation-menu/index.js +2 -0
  203. package/lib/components/navigation-menu/navigation-menu.d.ts +48 -0
  204. package/lib/components/navigation-menu/navigation-menu.d.ts.map +1 -0
  205. package/lib/components/navigation-menu/navigation-menu.js +96 -0
  206. package/lib/components/navigation-menu/navigation-menu.js.map +1 -0
  207. package/lib/components/pagination/index.d.ts +2 -0
  208. package/lib/components/pagination/index.js +2 -0
  209. package/lib/components/pagination/pagination.d.ts +47 -0
  210. package/lib/components/pagination/pagination.d.ts.map +1 -0
  211. package/lib/components/pagination/pagination.js +95 -0
  212. package/lib/components/pagination/pagination.js.map +1 -0
  213. package/lib/components/popover/index.d.ts +2 -0
  214. package/lib/components/popover/index.js +2 -0
  215. package/lib/components/popover/popover.d.ts +36 -0
  216. package/lib/components/popover/popover.d.ts.map +1 -0
  217. package/lib/components/popover/popover.js +72 -0
  218. package/lib/components/popover/popover.js.map +1 -0
  219. package/lib/components/progress/index.d.ts +2 -0
  220. package/lib/components/progress/index.js +2 -0
  221. package/lib/components/progress/progress.d.ts +14 -0
  222. package/lib/components/progress/progress.d.ts.map +1 -0
  223. package/lib/components/progress/progress.js +36 -0
  224. package/lib/components/progress/progress.js.map +1 -0
  225. package/lib/components/radio-group/index.d.ts +2 -0
  226. package/lib/components/radio-group/index.js +2 -0
  227. package/lib/components/radio-group/radio-group.d.ts +17 -0
  228. package/lib/components/radio-group/radio-group.d.ts.map +1 -0
  229. package/lib/components/radio-group/radio-group.js +44 -0
  230. package/lib/components/radio-group/radio-group.js.map +1 -0
  231. package/lib/components/resizable/index.d.ts +2 -0
  232. package/lib/components/resizable/index.js +2 -0
  233. package/lib/components/resizable/resizable.d.ts +23 -0
  234. package/lib/components/resizable/resizable.d.ts.map +1 -0
  235. package/lib/components/resizable/resizable.js +45 -0
  236. package/lib/components/resizable/resizable.js.map +1 -0
  237. package/lib/components/scroll-area/index.d.ts +2 -0
  238. package/lib/components/scroll-area/index.js +2 -0
  239. package/lib/components/scroll-area/scroll-area.d.ts +19 -0
  240. package/lib/components/scroll-area/scroll-area.d.ts.map +1 -0
  241. package/lib/components/scroll-area/scroll-area.js +53 -0
  242. package/lib/components/scroll-area/scroll-area.js.map +1 -0
  243. package/lib/components/select/index.d.ts +2 -0
  244. package/lib/components/select/index.js +2 -0
  245. package/lib/components/select/select.d.ts +55 -0
  246. package/lib/components/select/select.d.ts.map +1 -0
  247. package/lib/components/select/select.js +116 -0
  248. package/lib/components/select/select.js.map +1 -0
  249. package/lib/components/separator/index.d.ts +2 -0
  250. package/lib/components/separator/index.js +2 -0
  251. package/lib/components/separator/separator.d.ts +15 -0
  252. package/lib/components/separator/separator.d.ts.map +1 -0
  253. package/lib/components/separator/separator.js +33 -0
  254. package/lib/components/separator/separator.js.map +1 -0
  255. package/lib/components/sheet/index.d.ts +2 -0
  256. package/lib/components/sheet/index.js +2 -0
  257. package/lib/components/sheet/sheet.d.ts +44 -0
  258. package/lib/components/sheet/sheet.d.ts.map +1 -0
  259. package/lib/components/sheet/sheet.js +106 -0
  260. package/lib/components/sheet/sheet.js.map +1 -0
  261. package/lib/components/sidebar/index.d.ts +2 -0
  262. package/lib/components/sidebar/index.js +2 -0
  263. package/lib/components/sidebar/sidebar.d.ts +169 -0
  264. package/lib/components/sidebar/sidebar.d.ts.map +1 -0
  265. package/lib/components/sidebar/sidebar.js +388 -0
  266. package/lib/components/sidebar/sidebar.js.map +1 -0
  267. package/lib/components/skeleton/index.d.ts +2 -0
  268. package/lib/components/skeleton/index.js +2 -0
  269. package/lib/components/skeleton/skeleton.d.ts +26 -0
  270. package/lib/components/skeleton/skeleton.d.ts.map +1 -0
  271. package/lib/components/skeleton/skeleton.js +29 -0
  272. package/lib/components/skeleton/skeleton.js.map +1 -0
  273. package/lib/components/slider/index.d.ts +2 -0
  274. package/lib/components/slider/index.js +2 -0
  275. package/lib/components/slider/slider.d.ts +17 -0
  276. package/lib/components/slider/slider.d.ts.map +1 -0
  277. package/lib/components/slider/slider.js +53 -0
  278. package/lib/components/slider/slider.js.map +1 -0
  279. package/lib/components/sonner/index.d.ts +2 -0
  280. package/lib/components/sonner/index.js +2 -0
  281. package/lib/components/sonner/sonner.d.ts +11 -0
  282. package/lib/components/sonner/sonner.d.ts.map +1 -0
  283. package/lib/components/sonner/sonner.js +47 -0
  284. package/lib/components/sonner/sonner.js.map +1 -0
  285. package/lib/components/spinner/index.d.ts +2 -0
  286. package/lib/components/spinner/index.js +2 -0
  287. package/lib/components/spinner/spinner.d.ts +26 -0
  288. package/lib/components/spinner/spinner.d.ts.map +1 -0
  289. package/lib/components/spinner/spinner.js +31 -0
  290. package/lib/components/spinner/spinner.js.map +1 -0
  291. package/lib/components/switch/index.d.ts +2 -0
  292. package/lib/components/switch/index.js +2 -0
  293. package/lib/components/switch/switch.d.ts +16 -0
  294. package/lib/components/switch/switch.d.ts.map +1 -0
  295. package/lib/components/switch/switch.js +36 -0
  296. package/lib/components/switch/switch.js.map +1 -0
  297. package/lib/components/table/index.d.ts +2 -0
  298. package/lib/components/table/index.js +2 -0
  299. package/lib/components/table/table.d.ts +40 -0
  300. package/lib/components/table/table.d.ts.map +1 -0
  301. package/lib/components/table/table.js +83 -0
  302. package/lib/components/table/table.js.map +1 -0
  303. package/lib/components/tabs/index.d.ts +2 -0
  304. package/lib/components/tabs/index.js +2 -0
  305. package/lib/components/tabs/tabs.d.ts +32 -0
  306. package/lib/components/tabs/tabs.d.ts.map +1 -0
  307. package/lib/components/tabs/tabs.js +62 -0
  308. package/lib/components/tabs/tabs.js.map +1 -0
  309. package/lib/components/textarea/index.d.ts +2 -0
  310. package/lib/components/textarea/index.js +2 -0
  311. package/lib/components/textarea/textarea.d.ts +12 -0
  312. package/lib/components/textarea/textarea.d.ts.map +1 -0
  313. package/lib/components/textarea/textarea.js +14 -0
  314. package/lib/components/textarea/textarea.js.map +1 -0
  315. package/lib/components/toggle/index.d.ts +2 -0
  316. package/lib/components/toggle/index.js +2 -0
  317. package/lib/components/toggle/toggle.d.ts +21 -0
  318. package/lib/components/toggle/toggle.d.ts.map +1 -0
  319. package/lib/components/toggle/toggle.js +53 -0
  320. package/lib/components/toggle/toggle.js.map +1 -0
  321. package/lib/components/toggle-group/index.d.ts +2 -0
  322. package/lib/components/toggle-group/index.js +2 -0
  323. package/lib/components/toggle-group/toggle-group.d.ts +30 -0
  324. package/lib/components/toggle-group/toggle-group.d.ts.map +1 -0
  325. package/lib/components/toggle-group/toggle-group.js +68 -0
  326. package/lib/components/toggle-group/toggle-group.js.map +1 -0
  327. package/lib/components/tooltip/index.d.ts +2 -0
  328. package/lib/components/tooltip/index.js +2 -0
  329. package/lib/components/tooltip/tooltip.d.ts +25 -0
  330. package/lib/components/tooltip/tooltip.d.ts.map +1 -0
  331. package/lib/components/tooltip/tooltip.js +52 -0
  332. package/lib/components/tooltip/tooltip.js.map +1 -0
  333. package/lib/hooks/use-mobile.d.ts +20 -0
  334. package/lib/hooks/use-mobile.d.ts.map +1 -0
  335. package/lib/hooks/use-mobile.js +37 -0
  336. package/lib/hooks/use-mobile.js.map +1 -0
  337. package/lib/index.d.ts +58 -0
  338. package/lib/index.js +113 -0
  339. package/lib/lib/utils.d.ts +7 -0
  340. package/lib/lib/utils.d.ts.map +1 -0
  341. package/lib/lib/utils.js +10 -0
  342. package/lib/lib/utils.js.map +1 -0
  343. package/package.json +395 -0
  344. package/src/styles/globals.css +140 -0
@@ -0,0 +1,55 @@
1
+ import { Select as Select$1 } from "radix-ui";
2
+ import * as react_jsx_runtime174 from "react/jsx-runtime";
3
+ import * as React from "react";
4
+
5
+ //#region src/components/select/select.d.ts
6
+
7
+ declare function Select({
8
+ ...props
9
+ }: React.ComponentProps<typeof Select$1.Root>): react_jsx_runtime174.JSX.Element;
10
+ declare function SelectContent({
11
+ align,
12
+ children,
13
+ className,
14
+ position,
15
+ ...props
16
+ }: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime174.JSX.Element;
17
+ declare function SelectGroup({
18
+ className,
19
+ ...props
20
+ }: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime174.JSX.Element;
21
+ declare function SelectItem({
22
+ children,
23
+ className,
24
+ ...props
25
+ }: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime174.JSX.Element;
26
+ declare function SelectLabel({
27
+ className,
28
+ ...props
29
+ }: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime174.JSX.Element;
30
+ declare function SelectScrollDownButton({
31
+ className,
32
+ ...props
33
+ }: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime174.JSX.Element;
34
+ declare function SelectScrollUpButton({
35
+ className,
36
+ ...props
37
+ }: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime174.JSX.Element;
38
+ declare function SelectSeparator({
39
+ className,
40
+ ...props
41
+ }: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime174.JSX.Element;
42
+ declare function SelectTrigger({
43
+ children,
44
+ className,
45
+ size,
46
+ ...props
47
+ }: React.ComponentProps<typeof Select$1.Trigger> & {
48
+ size?: "default" | "sm";
49
+ }): react_jsx_runtime174.JSX.Element;
50
+ declare function SelectValue({
51
+ ...props
52
+ }: React.ComponentProps<typeof Select$1.Value>): react_jsx_runtime174.JSX.Element;
53
+ //#endregion
54
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
55
+ //# sourceMappingURL=select.d.ts.map
@@ -0,0 +1 @@
1
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,CAAA,OAiEjE,QAAA,CAAgB,cAjEiD,CAAA,CAAA,EAiElC,oBAAA,CAAA,GAAA,CAAA,OAjEkC;iBAgFvF,eAAA,CAhFuF;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmF7F,KAAA,CAAM,cAnFuF,CAAA,OAmFjE,QAAA,CAAgB,SAnFiD,CAAA,CAAA,EAmFvC,oBAAA,CAAA,GAAA,CAAA,OAnFuC;AAAA,iBA6FvF,aAAA,CAnFU;EAAA,QAAA;EAAA,SAAA;EAAA,IAAA;EAAA,GAAA;CAAA,EAwFhB,KAAA,CAAM,cAxFU,CAAA,OAwFY,QAAA,CAAgB,OAxF5B,CAAA,GAAA;EAClB,IAAA,CAAA,EAAA,SAAA,GAAA,IAAA;CACA,CAAA,EAwFA,oBAAA,CAAA,GAAA,CAAA,OAxFA;iBA2GQ,WAAA,CAzGsC;EAAA,GAAA;AAAA,CAAA,EAyGZ,KAAA,CAAM,cAzGM,CAAA,OAyGgB,QAAA,CAAgB,KAzGhC,CAAA,CAAA,EAyGsC,oBAAA,CAAA,GAAA,CAAA,OAzGtC"}
@@ -0,0 +1,116 @@
1
+ "use client";
2
+ import { cn } from "../../lib/utils.js";
3
+ import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
4
+ import { Select as Select$1 } from "radix-ui";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ //#region src/components/select/select.tsx
7
+ /**
8
+ * Copyright 2026 ResQ
9
+ *
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ */
22
+ function Select({ ...props }) {
23
+ return /* @__PURE__ */ jsx(Select$1.Root, {
24
+ "data-slot": "select",
25
+ ...props
26
+ });
27
+ }
28
+ function SelectContent({ align = "center", children, className, position = "item-aligned", ...props }) {
29
+ return /* @__PURE__ */ jsx(Select$1.Portal, { children: /* @__PURE__ */ jsxs(Select$1.Content, {
30
+ align,
31
+ className: cn("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-36 rounded-lg shadow-md ring-1 duration-100 relative z-50 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto data-[align-trigger=true]:animate-none", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
32
+ "data-align-trigger": position === "item-aligned",
33
+ "data-slot": "select-content",
34
+ position,
35
+ ...props,
36
+ children: [
37
+ /* @__PURE__ */ jsx(SelectScrollUpButton, {}),
38
+ /* @__PURE__ */ jsx(Select$1.Viewport, {
39
+ className: cn("data-[position=popper]:h-[var(--radix-select-trigger-height)] data-[position=popper]:w-full data-[position=popper]:min-w-[var(--radix-select-trigger-width)]", position === "popper" && ""),
40
+ "data-position": position,
41
+ children
42
+ }),
43
+ /* @__PURE__ */ jsx(SelectScrollDownButton, {})
44
+ ]
45
+ }) });
46
+ }
47
+ function SelectGroup({ className, ...props }) {
48
+ return /* @__PURE__ */ jsx(Select$1.Group, {
49
+ className: cn("scroll-my-1 p-1", className),
50
+ "data-slot": "select-group",
51
+ ...props
52
+ });
53
+ }
54
+ function SelectItem({ children, className, ...props }) {
55
+ return /* @__PURE__ */ jsxs(Select$1.Item, {
56
+ className: cn("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
57
+ "data-slot": "select-item",
58
+ ...props,
59
+ children: [/* @__PURE__ */ jsx("span", {
60
+ className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center",
61
+ children: /* @__PURE__ */ jsx(Select$1.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "pointer-events-none" }) })
62
+ }), /* @__PURE__ */ jsx(Select$1.ItemText, { children })]
63
+ });
64
+ }
65
+ function SelectLabel({ className, ...props }) {
66
+ return /* @__PURE__ */ jsx(Select$1.Label, {
67
+ className: cn("text-muted-foreground px-1.5 py-1 text-xs", className),
68
+ "data-slot": "select-label",
69
+ ...props
70
+ });
71
+ }
72
+ function SelectScrollDownButton({ className, ...props }) {
73
+ return /* @__PURE__ */ jsx(Select$1.ScrollDownButton, {
74
+ className: cn("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4", className),
75
+ "data-slot": "select-scroll-down-button",
76
+ ...props,
77
+ children: /* @__PURE__ */ jsx(ChevronDownIcon, {})
78
+ });
79
+ }
80
+ function SelectScrollUpButton({ className, ...props }) {
81
+ return /* @__PURE__ */ jsx(Select$1.ScrollUpButton, {
82
+ className: cn("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4", className),
83
+ "data-slot": "select-scroll-up-button",
84
+ ...props,
85
+ children: /* @__PURE__ */ jsx(ChevronUpIcon, {})
86
+ });
87
+ }
88
+ function SelectSeparator({ className, ...props }) {
89
+ return /* @__PURE__ */ jsx(Select$1.Separator, {
90
+ className: cn("bg-border -mx-1 my-1 h-px pointer-events-none", className),
91
+ "data-slot": "select-separator",
92
+ ...props
93
+ });
94
+ }
95
+ function SelectTrigger({ children, className, size = "default", ...props }) {
96
+ return /* @__PURE__ */ jsxs(Select$1.Trigger, {
97
+ className: cn("border-input data-[placeholder]:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 gap-1.5 rounded-lg border bg-transparent py-2 pr-2 pl-2.5 text-sm transition-colors select-none focus-visible:ring-[3px] aria-invalid:ring-[3px] data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-4 flex w-fit items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
98
+ "data-size": size,
99
+ "data-slot": "select-trigger",
100
+ ...props,
101
+ children: [children, /* @__PURE__ */ jsx(Select$1.Icon, {
102
+ asChild: true,
103
+ children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "text-muted-foreground size-4 pointer-events-none" })
104
+ })]
105
+ });
106
+ }
107
+ function SelectValue({ ...props }) {
108
+ return /* @__PURE__ */ jsx(Select$1.Value, {
109
+ "data-slot": "select-value",
110
+ ...props
111
+ });
112
+ }
113
+ //#endregion
114
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
115
+
116
+ //# sourceMappingURL=select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.js","names":["SelectPrimitive"],"sources":["../../../src/components/select/select.tsx"],"sourcesContent":["/**\n * Copyright 2026 ResQ\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\"use client\";\n\nimport { CheckIcon, ChevronDownIcon, ChevronUpIcon } from \"lucide-react\";\nimport { Select as SelectPrimitive } from \"radix-ui\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../../lib/utils.js\";\n\nfunction Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>) {\n\treturn <SelectPrimitive.Root data-slot=\"select\" {...props} />;\n}\n\nfunction SelectContent({\n\talign = \"center\",\n\tchildren,\n\tclassName,\n\tposition = \"item-aligned\",\n\t...props\n}: React.ComponentProps<typeof SelectPrimitive.Content>) {\n\treturn (\n\t\t<SelectPrimitive.Portal>\n\t\t\t<SelectPrimitive.Content\n\t\t\t\talign={align}\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-36 rounded-lg shadow-md ring-1 duration-100 relative z-50 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto data-[align-trigger=true]:animate-none\",\n\t\t\t\t\tposition === \"popper\" &&\n\t\t\t\t\t\t\"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tdata-align-trigger={position === \"item-aligned\"}\n\t\t\t\tdata-slot=\"select-content\"\n\t\t\t\tposition={position}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t<SelectScrollUpButton />\n\t\t\t\t<SelectPrimitive.Viewport\n\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\"data-[position=popper]:h-[var(--radix-select-trigger-height)] data-[position=popper]:w-full data-[position=popper]:min-w-[var(--radix-select-trigger-width)]\",\n\t\t\t\t\t\tposition === \"popper\" && \"\",\n\t\t\t\t\t)}\n\t\t\t\t\tdata-position={position}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</SelectPrimitive.Viewport>\n\t\t\t\t<SelectScrollDownButton />\n\t\t\t</SelectPrimitive.Content>\n\t\t</SelectPrimitive.Portal>\n\t);\n}\n\nfunction SelectGroup({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Group>) {\n\treturn (\n\t\t<SelectPrimitive.Group\n\t\t\tclassName={cn(\"scroll-my-1 p-1\", className)}\n\t\t\tdata-slot=\"select-group\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction SelectItem({\n\tchildren,\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof SelectPrimitive.Item>) {\n\treturn (\n\t\t<SelectPrimitive.Item\n\t\t\tclassName={cn(\n\t\t\t\t\"focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"select-item\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<span className=\"pointer-events-none absolute right-2 flex size-4 items-center justify-center\">\n\t\t\t\t<SelectPrimitive.ItemIndicator>\n\t\t\t\t\t<CheckIcon className=\"pointer-events-none\" />\n\t\t\t\t</SelectPrimitive.ItemIndicator>\n\t\t\t</span>\n\t\t\t<SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n\t\t</SelectPrimitive.Item>\n\t);\n}\n\nfunction SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>) {\n\treturn (\n\t\t<SelectPrimitive.Label\n\t\t\tclassName={cn(\"text-muted-foreground px-1.5 py-1 text-xs\", className)}\n\t\t\tdata-slot=\"select-label\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction SelectScrollDownButton({\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>) {\n\treturn (\n\t\t<SelectPrimitive.ScrollDownButton\n\t\t\tclassName={cn(\n\t\t\t\t\"bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"select-scroll-down-button\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<ChevronDownIcon />\n\t\t</SelectPrimitive.ScrollDownButton>\n\t);\n}\n\nfunction SelectScrollUpButton({\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) {\n\treturn (\n\t\t<SelectPrimitive.ScrollUpButton\n\t\t\tclassName={cn(\n\t\t\t\t\"bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"select-scroll-up-button\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<ChevronUpIcon />\n\t\t</SelectPrimitive.ScrollUpButton>\n\t);\n}\n\nfunction SelectSeparator({\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof SelectPrimitive.Separator>) {\n\treturn (\n\t\t<SelectPrimitive.Separator\n\t\t\tclassName={cn(\"bg-border -mx-1 my-1 h-px pointer-events-none\", className)}\n\t\t\tdata-slot=\"select-separator\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction SelectTrigger({\n\tchildren,\n\tclassName,\n\tsize = \"default\",\n\t...props\n}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {\n\tsize?: \"default\" | \"sm\";\n}) {\n\treturn (\n\t\t<SelectPrimitive.Trigger\n\t\t\tclassName={cn(\n\t\t\t\t\"border-input data-[placeholder]:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 gap-1.5 rounded-lg border bg-transparent py-2 pr-2 pl-2.5 text-sm transition-colors select-none focus-visible:ring-[3px] aria-invalid:ring-[3px] data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-4 flex w-fit items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-size={size}\n\t\t\tdata-slot=\"select-trigger\"\n\t\t\t{...props}\n\t\t>\n\t\t\t{children}\n\t\t\t<SelectPrimitive.Icon asChild>\n\t\t\t\t<ChevronDownIcon className=\"text-muted-foreground size-4 pointer-events-none\" />\n\t\t\t</SelectPrimitive.Icon>\n\t\t</SelectPrimitive.Trigger>\n\t);\n}\n\nfunction SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>) {\n\treturn <SelectPrimitive.Value data-slot=\"select-value\" {...props} />;\n}\n\nexport {\n\tSelect,\n\tSelectContent,\n\tSelectGroup,\n\tSelectItem,\n\tSelectLabel,\n\tSelectScrollDownButton,\n\tSelectScrollUpButton,\n\tSelectSeparator,\n\tSelectTrigger,\n\tSelectValue,\n};\n"],"mappings":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AAgB,kBAAjB;EACC,WAAW,GACV,6GACA,UACA;EACD,aAAU;EACV,GAAI;YAEJ,oBAAC,iBAAD,EAAmB,CAAA;EACe,CAAA;;AAIrC,SAAS,qBAAqB,EAC7B,WACA,GAAG,SAC4D;AAC/D,QACC,oBAACA,SAAgB,gBAAjB;EACC,WAAW,GACV,6GACA,UACA;EACD,aAAU;EACV,GAAI;YAEJ,oBAAC,eAAD,EAAiB,CAAA;EACe,CAAA;;AAInC,SAAS,gBAAgB,EACxB,WACA,GAAG,SACuD;AAC1D,QACC,oBAACA,SAAgB,WAAjB;EACC,WAAW,GAAG,iDAAiD,UAAU;EACzE,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,cAAc,EACtB,UACA,WACA,OAAO,WACP,GAAG,SAGD;AACF,QACC,qBAACA,SAAgB,SAAjB;EACC,WAAW,GACV,i3BACA,UACA;EACD,aAAW;EACX,aAAU;EACV,GAAI;YAPL,CASE,UACD,oBAACA,SAAgB,MAAjB;GAAsB,SAAA;aACrB,oBAAC,iBAAD,EAAiB,WAAU,oDAAqD,CAAA;GAC1D,CAAA,CACE;;;AAI5B,SAAS,YAAY,EAAE,GAAG,SAA6D;AACtF,QAAO,oBAACA,SAAgB,OAAjB;EAAuB,aAAU;EAAe,GAAI;EAAS,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Separator } from "./separator.js";
2
+ export { Separator };
@@ -0,0 +1,2 @@
1
+ import { Separator } from "./separator.js";
2
+ export { Separator };
@@ -0,0 +1,15 @@
1
+ import { Separator as Separator$1 } from "radix-ui";
2
+ import * as react_jsx_runtime154 from "react/jsx-runtime";
3
+ import * as React from "react";
4
+
5
+ //#region src/components/separator/separator.d.ts
6
+
7
+ declare function Separator({
8
+ className,
9
+ decorative,
10
+ orientation,
11
+ ...props
12
+ }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime154.JSX.Element;
13
+ //#endregion
14
+ export { Separator };
15
+ //# sourceMappingURL=separator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.d.ts","names":[],"sources":["../../../src/components/separator/separator.tsx"],"sourcesContent":[],"mappings":";;;;;;iBAuBS,SAAA;;;;;GAKN,KAAA,CAAM,sBAAsB,WAAA,CAAmB,QAAK,oBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,33 @@
1
+ "use client";
2
+ import { cn } from "../../lib/utils.js";
3
+ import { Separator as Separator$1 } from "radix-ui";
4
+ import { jsx } from "react/jsx-runtime";
5
+ //#region src/components/separator/separator.tsx
6
+ /**
7
+ * Copyright 2026 ResQ
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+ function Separator({ className, decorative = true, orientation = "horizontal", ...props }) {
22
+ return /* @__PURE__ */ jsx(Separator$1.Root, {
23
+ className: cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch", className),
24
+ "data-slot": "separator",
25
+ decorative,
26
+ orientation,
27
+ ...props
28
+ });
29
+ }
30
+ //#endregion
31
+ export { Separator };
32
+
33
+ //# sourceMappingURL=separator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.js","names":["SeparatorPrimitive"],"sources":["../../../src/components/separator/separator.tsx"],"sourcesContent":["/**\n * Copyright 2026 ResQ\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\"use client\";\n\nimport { Separator as SeparatorPrimitive } from \"radix-ui\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../../lib/utils.js\";\n\nfunction Separator({\n\tclassName,\n\tdecorative = true,\n\torientation = \"horizontal\",\n\t...props\n}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {\n\treturn (\n\t\t<SeparatorPrimitive.Root\n\t\t\tclassName={cn(\n\t\t\t\t\"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"separator\"\n\t\t\tdecorative={decorative}\n\t\t\torientation={orientation}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { Separator };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuBA,SAAS,UAAU,EAClB,WACA,aAAa,MACb,cAAc,cACd,GAAG,SACqD;AACxD,QACC,oBAACA,YAAmB,MAApB;EACC,WAAW,GACV,wKACA,UACA;EACD,aAAU;EACE;EACC;EACb,GAAI;EACH,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./sheet.js";
2
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -0,0 +1,2 @@
1
+ import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./sheet.js";
2
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -0,0 +1,44 @@
1
+ import { Dialog } from "radix-ui";
2
+ import * as react_jsx_runtime208 from "react/jsx-runtime";
3
+ import * as React from "react";
4
+
5
+ //#region src/components/sheet/sheet.d.ts
6
+
7
+ declare function Sheet({
8
+ ...props
9
+ }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime208.JSX.Element;
10
+ declare function SheetClose({
11
+ ...props
12
+ }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime208.JSX.Element;
13
+ declare function SheetContent({
14
+ children,
15
+ className,
16
+ showCloseButton,
17
+ side,
18
+ ...props
19
+ }: React.ComponentProps<typeof Dialog.Content> & {
20
+ showCloseButton?: boolean;
21
+ side?: "bottom" | "left" | "right" | "top";
22
+ }): react_jsx_runtime208.JSX.Element;
23
+ declare function SheetDescription({
24
+ className,
25
+ ...props
26
+ }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime208.JSX.Element;
27
+ declare function SheetFooter({
28
+ className,
29
+ ...props
30
+ }: React.ComponentProps<"div">): react_jsx_runtime208.JSX.Element;
31
+ declare function SheetHeader({
32
+ className,
33
+ ...props
34
+ }: React.ComponentProps<"div">): react_jsx_runtime208.JSX.Element;
35
+ declare function SheetTitle({
36
+ className,
37
+ ...props
38
+ }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime208.JSX.Element;
39
+ declare function SheetTrigger({
40
+ ...props
41
+ }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime208.JSX.Element;
42
+ //#endregion
43
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
44
+ //# sourceMappingURL=sheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.d.ts","names":[],"sources":["../../../src/components/sheet/sheet.tsx"],"sourcesContent":[],"mappings":";;;;;;iBAyBS,KAAA,CAUR;EAAA,GAAA;AAAA,CAAA,EAV4B,KAAA,CAAM,cAUlC,CAAA,OAVwD,MAAA,CAAe,IAUvE,CAAA,CAAA,EAV4E,oBAAA,CAAA,GAAA,CAAA,OAU5E;iBANQ,UAAA,CAOR;EAAA,GAAA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AAA,CAAA,OA5D9E"}
@@ -0,0 +1,106 @@
1
+ "use client";
2
+ import { cn } from "../../lib/utils.js";
3
+ import { Button } from "../button/button.js";
4
+ import { XIcon } from "lucide-react";
5
+ import { Dialog } from "radix-ui";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ //#region src/components/sheet/sheet.tsx
8
+ /**
9
+ * Copyright 2026 ResQ
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License.
22
+ */
23
+ function Sheet({ ...props }) {
24
+ return /* @__PURE__ */ jsx(Dialog.Root, {
25
+ "data-slot": "sheet",
26
+ ...props
27
+ });
28
+ }
29
+ function SheetClose({ ...props }) {
30
+ return /* @__PURE__ */ jsx(Dialog.Close, {
31
+ "data-slot": "sheet-close",
32
+ ...props
33
+ });
34
+ }
35
+ function SheetContent({ children, className, showCloseButton = true, side = "right", ...props }) {
36
+ return /* @__PURE__ */ jsxs(SheetPortal, { children: [/* @__PURE__ */ jsx(SheetOverlay, {}), /* @__PURE__ */ jsxs(Dialog.Content, {
37
+ className: cn("bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", className),
38
+ "data-side": side,
39
+ "data-slot": "sheet-content",
40
+ ...props,
41
+ children: [children, showCloseButton && /* @__PURE__ */ jsx(Dialog.Close, {
42
+ asChild: true,
43
+ "data-slot": "sheet-close",
44
+ children: /* @__PURE__ */ jsxs(Button, {
45
+ className: "absolute top-3 right-3",
46
+ size: "icon-sm",
47
+ variant: "ghost",
48
+ children: [/* @__PURE__ */ jsx(XIcon, {}), /* @__PURE__ */ jsx("span", {
49
+ className: "sr-only",
50
+ children: "Close"
51
+ })]
52
+ })
53
+ })]
54
+ })] });
55
+ }
56
+ function SheetDescription({ className, ...props }) {
57
+ return /* @__PURE__ */ jsx(Dialog.Description, {
58
+ className: cn("text-muted-foreground text-sm", className),
59
+ "data-slot": "sheet-description",
60
+ ...props
61
+ });
62
+ }
63
+ function SheetFooter({ className, ...props }) {
64
+ return /* @__PURE__ */ jsx("div", {
65
+ className: cn("gap-2 p-4 mt-auto flex flex-col", className),
66
+ "data-slot": "sheet-footer",
67
+ ...props
68
+ });
69
+ }
70
+ function SheetHeader({ className, ...props }) {
71
+ return /* @__PURE__ */ jsx("div", {
72
+ className: cn("gap-0.5 p-4 flex flex-col", className),
73
+ "data-slot": "sheet-header",
74
+ ...props
75
+ });
76
+ }
77
+ function SheetOverlay({ className, ...props }) {
78
+ return /* @__PURE__ */ jsx(Dialog.Overlay, {
79
+ className: cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
80
+ "data-slot": "sheet-overlay",
81
+ ...props
82
+ });
83
+ }
84
+ function SheetPortal({ ...props }) {
85
+ return /* @__PURE__ */ jsx(Dialog.Portal, {
86
+ "data-slot": "sheet-portal",
87
+ ...props
88
+ });
89
+ }
90
+ function SheetTitle({ className, ...props }) {
91
+ return /* @__PURE__ */ jsx(Dialog.Title, {
92
+ className: cn("text-foreground text-base font-medium", className),
93
+ "data-slot": "sheet-title",
94
+ ...props
95
+ });
96
+ }
97
+ function SheetTrigger({ ...props }) {
98
+ return /* @__PURE__ */ jsx(Dialog.Trigger, {
99
+ "data-slot": "sheet-trigger",
100
+ ...props
101
+ });
102
+ }
103
+ //#endregion
104
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
105
+
106
+ //# sourceMappingURL=sheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.js","names":["SheetPrimitive"],"sources":["../../../src/components/sheet/sheet.tsx"],"sourcesContent":["/**\n * Copyright 2026 ResQ\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\"use client\";\n\nimport { XIcon } from \"lucide-react\";\nimport { Dialog as SheetPrimitive } from \"radix-ui\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../../lib/utils.js\";\nimport { Button } from \"../button/button.js\";\n\nfunction Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {\n\treturn <SheetPrimitive.Root data-slot=\"sheet\" {...props} />;\n}\n\nfunction SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>) {\n\treturn <SheetPrimitive.Close data-slot=\"sheet-close\" {...props} />;\n}\n\nfunction SheetContent({\n\tchildren,\n\tclassName,\n\tshowCloseButton = true,\n\tside = \"right\",\n\t...props\n}: React.ComponentProps<typeof SheetPrimitive.Content> & {\n\tshowCloseButton?: boolean;\n\tside?: \"bottom\" | \"left\" | \"right\" | \"top\";\n}) {\n\treturn (\n\t\t<SheetPortal>\n\t\t\t<SheetOverlay />\n\t\t\t<SheetPrimitive.Content\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tdata-side={side}\n\t\t\t\tdata-slot=\"sheet-content\"\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t\t{showCloseButton && (\n\t\t\t\t\t<SheetPrimitive.Close asChild data-slot=\"sheet-close\">\n\t\t\t\t\t\t<Button className=\"absolute top-3 right-3\" size=\"icon-sm\" variant=\"ghost\">\n\t\t\t\t\t\t\t<XIcon />\n\t\t\t\t\t\t\t<span className=\"sr-only\">Close</span>\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t</SheetPrimitive.Close>\n\t\t\t\t)}\n\t\t\t</SheetPrimitive.Content>\n\t\t</SheetPortal>\n\t);\n}\n\nfunction SheetDescription({\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof SheetPrimitive.Description>) {\n\treturn (\n\t\t<SheetPrimitive.Description\n\t\t\tclassName={cn(\"text-muted-foreground text-sm\", className)}\n\t\t\tdata-slot=\"sheet-description\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction SheetFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n\treturn (\n\t\t<div\n\t\t\tclassName={cn(\"gap-2 p-4 mt-auto flex flex-col\", className)}\n\t\t\tdata-slot=\"sheet-footer\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction SheetHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n\treturn (\n\t\t<div\n\t\t\tclassName={cn(\"gap-0.5 p-4 flex flex-col\", className)}\n\t\t\tdata-slot=\"sheet-header\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction SheetOverlay({\n\tclassName,\n\t...props\n}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {\n\treturn (\n\t\t<SheetPrimitive.Overlay\n\t\t\tclassName={cn(\n\t\t\t\t\"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"sheet-overlay\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction SheetPortal({ ...props }: React.ComponentProps<typeof SheetPrimitive.Portal>) {\n\treturn <SheetPrimitive.Portal data-slot=\"sheet-portal\" {...props} />;\n}\n\nfunction SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>) {\n\treturn (\n\t\t<SheetPrimitive.Title\n\t\t\tclassName={cn(\"text-foreground text-base font-medium\", className)}\n\t\t\tdata-slot=\"sheet-title\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>) {\n\treturn <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />;\n}\n\nexport {\n\tSheet,\n\tSheetClose,\n\tSheetContent,\n\tSheetDescription,\n\tSheetFooter,\n\tSheetHeader,\n\tSheetTitle,\n\tSheetTrigger,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAyBA,SAAS,MAAM,EAAE,GAAG,SAA2D;AAC9E,QAAO,oBAACA,OAAe,MAAhB;EAAqB,aAAU;EAAQ,GAAI;EAAS,CAAA;;AAG5D,SAAS,WAAW,EAAE,GAAG,SAA4D;AACpF,QAAO,oBAACA,OAAe,OAAhB;EAAsB,aAAU;EAAc,GAAI;EAAS,CAAA;;AAGnE,SAAS,aAAa,EACrB,UACA,WACA,kBAAkB,MAClB,OAAO,SACP,GAAG,SAID;AACF,QACC,qBAAC,aAAD,EAAA,UAAA,CACC,oBAAC,cAAD,EAAgB,CAAA,EAChB,qBAACA,OAAe,SAAhB;EACC,WAAW,GACV,0mCACA,UACA;EACD,aAAW;EACX,aAAU;EACV,GAAI;YAPL,CASE,UACA,mBACA,oBAACA,OAAe,OAAhB;GAAsB,SAAA;GAAQ,aAAU;aACvC,qBAAC,QAAD;IAAQ,WAAU;IAAyB,MAAK;IAAU,SAAQ;cAAlE,CACC,oBAAC,OAAD,EAAS,CAAA,EACT,oBAAC,QAAD;KAAM,WAAU;eAAU;KAAY,CAAA,CAC9B;;GACa,CAAA,CAEA;IACZ,EAAA,CAAA;;AAIhB,SAAS,iBAAiB,EACzB,WACA,GAAG,SACwD;AAC3D,QACC,oBAACA,OAAe,aAAhB;EACC,WAAW,GAAG,iCAAiC,UAAU;EACzD,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,YAAY,EAAE,WAAW,GAAG,SAAsC;AAC1E,QACC,oBAAC,OAAD;EACC,WAAW,GAAG,mCAAmC,UAAU;EAC3D,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,YAAY,EAAE,WAAW,GAAG,SAAsC;AAC1E,QACC,oBAAC,OAAD;EACC,WAAW,GAAG,6BAA6B,UAAU;EACrD,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,aAAa,EACrB,WACA,GAAG,SACoD;AACvD,QACC,oBAACA,OAAe,SAAhB;EACC,WAAW,GACV,2OACA,UACA;EACD,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,YAAY,EAAE,GAAG,SAA6D;AACtF,QAAO,oBAACA,OAAe,QAAhB;EAAuB,aAAU;EAAe,GAAI;EAAS,CAAA;;AAGrE,SAAS,WAAW,EAAE,WAAW,GAAG,SAA4D;AAC/F,QACC,oBAACA,OAAe,OAAhB;EACC,WAAW,GAAG,yCAAyC,UAAU;EACjE,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,aAAa,EAAE,GAAG,SAA8D;AACxF,QAAO,oBAACA,OAAe,SAAhB;EAAwB,aAAU;EAAgB,GAAI;EAAS,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./sidebar.js";
2
+ export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
@@ -0,0 +1,2 @@
1
+ import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./sidebar.js";
2
+ export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
@@ -0,0 +1,169 @@
1
+ import { Button } from "../button/button.js";
2
+ import { Separator } from "../separator/separator.js";
3
+ import { Input } from "../input/input.js";
4
+ import { TooltipContent } from "../tooltip/tooltip.js";
5
+ import * as react_jsx_runtime267 from "react/jsx-runtime";
6
+ import { VariantProps } from "class-variance-authority";
7
+ import * as React from "react";
8
+ import * as class_variance_authority_types12 from "class-variance-authority/types";
9
+
10
+ //#region src/components/sidebar/sidebar.d.ts
11
+
12
+ interface SidebarContextProps {
13
+ isMobile: boolean;
14
+ open: boolean;
15
+ openMobile: boolean;
16
+ setOpen: (open: boolean) => void;
17
+ setOpenMobile: (open: boolean) => void;
18
+ state: "collapsed" | "expanded";
19
+ toggleSidebar: () => void;
20
+ }
21
+ declare function Sidebar({
22
+ children,
23
+ className,
24
+ collapsible,
25
+ dir,
26
+ side,
27
+ variant,
28
+ ...props
29
+ }: React.ComponentProps<"div"> & {
30
+ collapsible?: "icon" | "none" | "offcanvas";
31
+ side?: "left" | "right";
32
+ variant?: "floating" | "inset" | "sidebar";
33
+ }): react_jsx_runtime267.JSX.Element;
34
+ declare function SidebarContent({
35
+ className,
36
+ ...props
37
+ }: React.ComponentProps<"div">): react_jsx_runtime267.JSX.Element;
38
+ declare function SidebarFooter({
39
+ className,
40
+ ...props
41
+ }: React.ComponentProps<"div">): react_jsx_runtime267.JSX.Element;
42
+ declare function SidebarGroup({
43
+ className,
44
+ ...props
45
+ }: React.ComponentProps<"div">): react_jsx_runtime267.JSX.Element;
46
+ declare function SidebarGroupAction({
47
+ asChild,
48
+ className,
49
+ ...props
50
+ }: React.ComponentProps<"button"> & {
51
+ asChild?: boolean;
52
+ }): react_jsx_runtime267.JSX.Element;
53
+ declare function SidebarGroupContent({
54
+ className,
55
+ ...props
56
+ }: React.ComponentProps<"div">): react_jsx_runtime267.JSX.Element;
57
+ declare function SidebarGroupLabel({
58
+ asChild,
59
+ className,
60
+ ...props
61
+ }: React.ComponentProps<"div"> & {
62
+ asChild?: boolean;
63
+ }): react_jsx_runtime267.JSX.Element;
64
+ declare function SidebarHeader({
65
+ className,
66
+ ...props
67
+ }: React.ComponentProps<"div">): react_jsx_runtime267.JSX.Element;
68
+ declare function SidebarInput({
69
+ className,
70
+ ...props
71
+ }: React.ComponentProps<typeof Input>): react_jsx_runtime267.JSX.Element;
72
+ declare function SidebarInset({
73
+ className,
74
+ ...props
75
+ }: React.ComponentProps<"main">): react_jsx_runtime267.JSX.Element;
76
+ declare function SidebarMenu({
77
+ className,
78
+ ...props
79
+ }: React.ComponentProps<"ul">): react_jsx_runtime267.JSX.Element;
80
+ declare function SidebarMenuItem({
81
+ className,
82
+ ...props
83
+ }: React.ComponentProps<"li">): react_jsx_runtime267.JSX.Element;
84
+ declare function SidebarProvider({
85
+ children,
86
+ className,
87
+ defaultOpen,
88
+ onOpenChange: setOpenProp,
89
+ open: openProp,
90
+ style,
91
+ ...props
92
+ }: React.ComponentProps<"div"> & {
93
+ defaultOpen?: boolean;
94
+ onOpenChange?: (open: boolean) => void;
95
+ open?: boolean;
96
+ }): react_jsx_runtime267.JSX.Element;
97
+ declare function SidebarRail({
98
+ className,
99
+ ...props
100
+ }: React.ComponentProps<"button">): react_jsx_runtime267.JSX.Element;
101
+ declare function SidebarSeparator({
102
+ className,
103
+ ...props
104
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime267.JSX.Element;
105
+ declare function SidebarTrigger({
106
+ className,
107
+ onClick,
108
+ ...props
109
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime267.JSX.Element;
110
+ declare function useSidebar(): SidebarContextProps;
111
+ declare const sidebarMenuButtonVariants: (props?: ({
112
+ size?: "default" | "lg" | "sm" | null | undefined;
113
+ variant?: "default" | "outline" | null | undefined;
114
+ } & class_variance_authority_types12.ClassProp) | undefined) => string;
115
+ declare function SidebarMenuAction({
116
+ asChild,
117
+ className,
118
+ showOnHover,
119
+ ...props
120
+ }: React.ComponentProps<"button"> & {
121
+ asChild?: boolean;
122
+ showOnHover?: boolean;
123
+ }): react_jsx_runtime267.JSX.Element;
124
+ declare function SidebarMenuBadge({
125
+ className,
126
+ ...props
127
+ }: React.ComponentProps<"div">): react_jsx_runtime267.JSX.Element;
128
+ declare function SidebarMenuButton({
129
+ asChild,
130
+ className,
131
+ isActive,
132
+ size,
133
+ tooltip,
134
+ variant,
135
+ ...props
136
+ }: React.ComponentProps<"button"> & VariantProps<typeof sidebarMenuButtonVariants> & {
137
+ asChild?: boolean;
138
+ isActive?: boolean;
139
+ tooltip?: React.ComponentProps<typeof TooltipContent> | string;
140
+ }): react_jsx_runtime267.JSX.Element;
141
+ declare function SidebarMenuSkeleton({
142
+ className,
143
+ showIcon,
144
+ ...props
145
+ }: React.ComponentProps<"div"> & {
146
+ showIcon?: boolean;
147
+ }): react_jsx_runtime267.JSX.Element;
148
+ declare function SidebarMenuSub({
149
+ className,
150
+ ...props
151
+ }: React.ComponentProps<"ul">): react_jsx_runtime267.JSX.Element;
152
+ declare function SidebarMenuSubButton({
153
+ asChild,
154
+ className,
155
+ isActive,
156
+ size,
157
+ ...props
158
+ }: React.ComponentProps<"a"> & {
159
+ asChild?: boolean;
160
+ isActive?: boolean;
161
+ size?: "md" | "sm";
162
+ }): react_jsx_runtime267.JSX.Element;
163
+ declare function SidebarMenuSubItem({
164
+ className,
165
+ ...props
166
+ }: React.ComponentProps<"li">): react_jsx_runtime267.JSX.Element;
167
+ //#endregion
168
+ export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
169
+ //# sourceMappingURL=sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.d.ts","names":[],"sources":["../../../src/components/sidebar/sidebar.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;AA+DC,UAxBS,mBAAA,CAkHa;EAAG,QAAA,EAAA,OAAA;EAAuB,IAAM,EAAA,OAAA;EAAqB,UAAA,EAAA,OAAA;EAAA,OAAA,EAAA,CAAA,IAAA,EAAA,OAAA,EAAA,GAAA,IAAA;EAcnE,aAAA,EAAA,CAAa,IAAA,EAAA,OAAA,EAAA,GAAA,IAAA;EAAG,KAAA,EAAA,WAAA,GAAA,UAAA;EAAuB,aAAM,EAAA,GAAA,GAAA,IAAA;;iBApH7C,OAAA,CAoHkE;EAAA,QAAA;EAAA,SAAA;EAAA,WAAA;EAAA,G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