@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,11 @@
1
+ import * as react_jsx_runtime184 from "react/jsx-runtime";
2
+ import { ToasterProps } from "sonner";
3
+
4
+ //#region src/components/sonner/sonner.d.ts
5
+
6
+ declare const Toaster: ({
7
+ ...props
8
+ }: ToasterProps) => react_jsx_runtime184.JSX.Element;
9
+ //#endregion
10
+ export { Toaster };
11
+ //# sourceMappingURL=sonner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sonner.d.ts","names":[],"sources":["../../../src/components/sonner/sonner.tsx"],"sourcesContent":[],"mappings":";;;;;cA4BM;;GAAyB,iBAAY,oBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,47 @@
1
+ "use client";
2
+ import { CircleCheckIcon, InfoIcon, Loader2Icon, OctagonXIcon, TriangleAlertIcon } from "lucide-react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ import { useTheme } from "next-themes";
5
+ import { Toaster as Toaster$1 } from "sonner";
6
+ //#region src/components/sonner/sonner.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
+ const Toaster = ({ ...props }) => {
23
+ const { theme = "system" } = useTheme();
24
+ return /* @__PURE__ */ jsx(Toaster$1, {
25
+ className: "toaster group",
26
+ icons: {
27
+ error: /* @__PURE__ */ jsx(OctagonXIcon, { className: "size-4" }),
28
+ info: /* @__PURE__ */ jsx(InfoIcon, { className: "size-4" }),
29
+ loading: /* @__PURE__ */ jsx(Loader2Icon, { className: "size-4 animate-spin" }),
30
+ success: /* @__PURE__ */ jsx(CircleCheckIcon, { className: "size-4" }),
31
+ warning: /* @__PURE__ */ jsx(TriangleAlertIcon, { className: "size-4" })
32
+ },
33
+ style: {
34
+ "--border-radius": "var(--radius)",
35
+ "--normal-bg": "var(--popover)",
36
+ "--normal-border": "var(--border)",
37
+ "--normal-text": "var(--popover-foreground)"
38
+ },
39
+ theme,
40
+ toastOptions: { classNames: { toast: "cn-toast" } },
41
+ ...props
42
+ });
43
+ };
44
+ //#endregion
45
+ export { Toaster };
46
+
47
+ //# sourceMappingURL=sonner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sonner.js","names":["Sonner"],"sources":["../../../src/components/sonner/sonner.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 {\n\tCircleCheckIcon,\n\tInfoIcon,\n\tLoader2Icon,\n\tOctagonXIcon,\n\tTriangleAlertIcon,\n} from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport { Toaster as Sonner, type ToasterProps } from \"sonner\";\n\nconst Toaster = ({ ...props }: ToasterProps) => {\n\tconst { theme = \"system\" } = useTheme();\n\n\treturn (\n\t\t<Sonner\n\t\t\tclassName=\"toaster group\"\n\t\t\ticons={{\n\t\t\t\terror: <OctagonXIcon className=\"size-4\" />,\n\t\t\t\tinfo: <InfoIcon className=\"size-4\" />,\n\t\t\t\tloading: <Loader2Icon className=\"size-4 animate-spin\" />,\n\t\t\t\tsuccess: <CircleCheckIcon className=\"size-4\" />,\n\t\t\t\twarning: <TriangleAlertIcon className=\"size-4\" />,\n\t\t\t}}\n\t\t\tstyle={\n\t\t\t\t{\n\t\t\t\t\t\"--border-radius\": \"var(--radius)\",\n\t\t\t\t\t\"--normal-bg\": \"var(--popover)\",\n\t\t\t\t\t\"--normal-border\": \"var(--border)\",\n\t\t\t\t\t\"--normal-text\": \"var(--popover-foreground)\",\n\t\t\t\t} as React.CSSProperties\n\t\t\t}\n\t\t\ttheme={theme as ToasterProps[\"theme\"]}\n\t\t\ttoastOptions={{\n\t\t\t\tclassNames: {\n\t\t\t\t\ttoast: \"cn-toast\",\n\t\t\t\t},\n\t\t\t}}\n\t\t\t{...props}\n\t\t/>\n\t);\n};\n\nexport { Toaster };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA4BA,MAAM,WAAW,EAAE,GAAG,YAA0B;CAC/C,MAAM,EAAE,QAAQ,aAAa,UAAU;AAEvC,QACC,oBAACA,WAAD;EACC,WAAU;EACV,OAAO;GACN,OAAO,oBAAC,cAAD,EAAc,WAAU,UAAW,CAAA;GAC1C,MAAM,oBAAC,UAAD,EAAU,WAAU,UAAW,CAAA;GACrC,SAAS,oBAAC,aAAD,EAAa,WAAU,uBAAwB,CAAA;GACxD,SAAS,oBAAC,iBAAD,EAAiB,WAAU,UAAW,CAAA;GAC/C,SAAS,oBAAC,mBAAD,EAAmB,WAAU,UAAW,CAAA;GACjD;EACD,OACC;GACC,mBAAmB;GACnB,eAAe;GACf,mBAAmB;GACnB,iBAAiB;GACjB;EAEK;EACP,cAAc,EACb,YAAY,EACX,OAAO,YACP,EACD;EACD,GAAI;EACH,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Spinner } from "./spinner.js";
2
+ export { Spinner };
@@ -0,0 +1,2 @@
1
+ import { Spinner } from "./spinner.js";
2
+ export { Spinner };
@@ -0,0 +1,26 @@
1
+ import * as react_jsx_runtime193 from "react/jsx-runtime";
2
+
3
+ //#region src/components/spinner/spinner.d.ts
4
+
5
+ /**
6
+ * Copyright 2026 ResQ
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ */
20
+ declare function Spinner({
21
+ className,
22
+ ...props
23
+ }: React.ComponentProps<"svg">): react_jsx_runtime193.JSX.Element;
24
+ //#endregion
25
+ export { Spinner };
26
+ //# sourceMappingURL=spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.d.ts","names":[],"sources":["../../../src/components/spinner/spinner.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAoBqE;;;;;;;;;;;;iBAA5D,OAAA;;;GAAiC,KAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { cn } from "../../lib/utils.js";
2
+ import { Loader2Icon } from "lucide-react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/spinner/spinner.tsx
5
+ /**
6
+ * Copyright 2026 ResQ
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ */
20
+ function Spinner({ className, ...props }) {
21
+ return /* @__PURE__ */ jsx(Loader2Icon, {
22
+ "aria-label": "Loading",
23
+ className: cn("size-4 animate-spin", className),
24
+ role: "status",
25
+ ...props
26
+ });
27
+ }
28
+ //#endregion
29
+ export { Spinner };
30
+
31
+ //# sourceMappingURL=spinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.js","names":[],"sources":["../../../src/components/spinner/spinner.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\nimport { Loader2Icon } from \"lucide-react\";\n\nimport { cn } from \"../../lib/utils.js\";\n\nfunction Spinner({ className, ...props }: React.ComponentProps<\"svg\">) {\n\treturn (\n\t\t<Loader2Icon\n\t\t\taria-label=\"Loading\"\n\t\t\tclassName={cn(\"size-4 animate-spin\", className)}\n\t\t\trole=\"status\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { Spinner };\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBA,SAAS,QAAQ,EAAE,WAAW,GAAG,SAAsC;AACtE,QACC,oBAAC,aAAD;EACC,cAAW;EACX,WAAW,GAAG,uBAAuB,UAAU;EAC/C,MAAK;EACL,GAAI;EACH,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Switch } from "./switch.js";
2
+ export { Switch };
@@ -0,0 +1,2 @@
1
+ import { Switch } from "./switch.js";
2
+ export { Switch };
@@ -0,0 +1,16 @@
1
+ import { Switch as Switch$1 } from "radix-ui";
2
+ import * as react_jsx_runtime216 from "react/jsx-runtime";
3
+ import * as React from "react";
4
+
5
+ //#region src/components/switch/switch.d.ts
6
+
7
+ declare function Switch({
8
+ className,
9
+ size,
10
+ ...props
11
+ }: React.ComponentProps<typeof Switch$1.Root> & {
12
+ size?: "default" | "sm";
13
+ }): react_jsx_runtime216.JSX.Element;
14
+ //#endregion
15
+ export { Switch };
16
+ //# sourceMappingURL=switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.d.ts","names":[],"sources":["../../../src/components/switch/switch.tsx"],"sourcesContent":[],"mappings":";;;;;;iBAuBS,MAAA;;;;GAIN,KAAA,CAAM,sBAAsB,QAAA,CAAgB;;IAE9C,oBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,36 @@
1
+ "use client";
2
+ import { cn } from "../../lib/utils.js";
3
+ import { Switch as Switch$1 } from "radix-ui";
4
+ import { jsx } from "react/jsx-runtime";
5
+ //#region src/components/switch/switch.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 Switch({ className, size = "default", ...props }) {
22
+ return /* @__PURE__ */ jsx(Switch$1.Root, {
23
+ className: cn("data-checked:bg-primary data-unchecked:bg-input 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 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-[3px] aria-invalid:ring-[3px] data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] peer group/switch relative inline-flex items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50", className),
24
+ "data-size": size,
25
+ "data-slot": "switch",
26
+ ...props,
27
+ children: /* @__PURE__ */ jsx(Switch$1.Thumb, {
28
+ className: "bg-background dark:data-unchecked:bg-foreground dark:data-checked:bg-primary-foreground rounded-full group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 pointer-events-none block ring-0 transition-transform",
29
+ "data-slot": "switch-thumb"
30
+ })
31
+ });
32
+ }
33
+ //#endregion
34
+ export { Switch };
35
+
36
+ //# sourceMappingURL=switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.js","names":["SwitchPrimitive"],"sources":["../../../src/components/switch/switch.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 { Switch as SwitchPrimitive } from \"radix-ui\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../../lib/utils.js\";\n\nfunction Switch({\n\tclassName,\n\tsize = \"default\",\n\t...props\n}: React.ComponentProps<typeof SwitchPrimitive.Root> & {\n\tsize?: \"default\" | \"sm\";\n}) {\n\treturn (\n\t\t<SwitchPrimitive.Root\n\t\t\tclassName={cn(\n\t\t\t\t\"data-checked:bg-primary data-unchecked:bg-input 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 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-[3px] aria-invalid:ring-[3px] data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] peer group/switch relative inline-flex items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-size={size}\n\t\t\tdata-slot=\"switch\"\n\t\t\t{...props}\n\t\t>\n\t\t\t<SwitchPrimitive.Thumb\n\t\t\t\tclassName=\"bg-background dark:data-unchecked:bg-foreground dark:data-checked:bg-primary-foreground rounded-full group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 pointer-events-none block ring-0 transition-transform\"\n\t\t\t\tdata-slot=\"switch-thumb\"\n\t\t\t/>\n\t\t</SwitchPrimitive.Root>\n\t);\n}\n\nexport { Switch };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuBA,SAAS,OAAO,EACf,WACA,OAAO,WACP,GAAG,SAGD;AACF,QACC,oBAACA,SAAgB,MAAjB;EACC,WAAW,GACV,+pBACA,UACA;EACD,aAAW;EACX,aAAU;EACV,GAAI;YAEJ,oBAACA,SAAgB,OAAjB;GACC,WAAU;GACV,aAAU;GACT,CAAA;EACoB,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./table.js";
2
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
@@ -0,0 +1,2 @@
1
+ import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./table.js";
2
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
@@ -0,0 +1,40 @@
1
+ import * as react_jsx_runtime222 from "react/jsx-runtime";
2
+ import * as React from "react";
3
+
4
+ //#region src/components/table/table.d.ts
5
+
6
+ declare function Table({
7
+ className,
8
+ ...props
9
+ }: React.ComponentProps<"table">): react_jsx_runtime222.JSX.Element;
10
+ declare function TableBody({
11
+ className,
12
+ ...props
13
+ }: React.ComponentProps<"tbody">): react_jsx_runtime222.JSX.Element;
14
+ declare function TableCaption({
15
+ className,
16
+ ...props
17
+ }: React.ComponentProps<"caption">): react_jsx_runtime222.JSX.Element;
18
+ declare function TableCell({
19
+ className,
20
+ ...props
21
+ }: React.ComponentProps<"td">): react_jsx_runtime222.JSX.Element;
22
+ declare function TableFooter({
23
+ className,
24
+ ...props
25
+ }: React.ComponentProps<"tfoot">): react_jsx_runtime222.JSX.Element;
26
+ declare function TableHead({
27
+ className,
28
+ ...props
29
+ }: React.ComponentProps<"th">): react_jsx_runtime222.JSX.Element;
30
+ declare function TableHeader({
31
+ className,
32
+ ...props
33
+ }: React.ComponentProps<"thead">): react_jsx_runtime222.JSX.Element;
34
+ declare function TableRow({
35
+ className,
36
+ ...props
37
+ }: React.ComponentProps<"tr">): react_jsx_runtime222.JSX.Element;
38
+ //#endregion
39
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
40
+ //# sourceMappingURL=table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.d.ts","names":[],"sources":["../../../src/components/table/table.tsx"],"sourcesContent":[],"mappings":";;;;;iBAsBS,KAAA,CAsB4C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAtBb,KAAA,CAAM,cAsBO,CAAA,OAAA,CAAA,CAAA,EAtBgB,oBAAA,CAAA,GAAA,CAAA,OAsBhB;iBAV5C,SAAA,CAUqE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAVlC,KAAA,CAAM,cAU4B,CAAA,OAAA,CAAA,CAAA,EAVL,oBAAA,CAAA,GAAA,CAAA,OAUK;iBAArE,YAAA,CAAqE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAA/B,KAAA,CAAM,cAAyB,CAAA,SAAA,CAAA,CAAA,EAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUrE,SAAA,CAAS;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAA0B,KAAA,CAAM,cAAhC,CAAA,IAAA,CAAA,CAAA,EAAoD,oBAAA,CAAA,GAAA,CAAA,OAApD;iBAUT,WAAA,CAVY;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAUyB,KAAA,CAAM,cAV/B,CAAA,OAAA,CAAA,CAAA,EAUsD,oBAAA,CAAA,GAAA,CAAA,OAVtD;iBAoBZ,SAAA,CApByC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoBN,KAAA,CAAM,cApBA,CAAA,IAAA,CAAA,CAAA,EAoBoB,oBAAA,CAAA,GAAA,CAAA,OApBpB;iBAiCzC,WAAA,CAjC6D;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiCxB,KAAA,CAAM,cAjCkB,CAAA,OAAA,CAAA,CAAA,EAiCK,oBAAA,CAAA,GAAA,CAAA,OAjCL;iBAqC7D,QAAA,CArC6D;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAqC3B,KAAA,CAAM,cArCqB,CAAA,IAAA,CAAA,CAAA,EAqCD,oBAAA,CAAA,GAAA,CAAA,OArCC"}
@@ -0,0 +1,83 @@
1
+ "use client";
2
+ import { cn } from "../../lib/utils.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/table/table.tsx
5
+ /**
6
+ * Copyright 2026 ResQ
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ */
20
+ function Table({ className, ...props }) {
21
+ return /* @__PURE__ */ jsx("div", {
22
+ className: "relative w-full overflow-x-auto",
23
+ "data-slot": "table-container",
24
+ children: /* @__PURE__ */ jsx("table", {
25
+ className: cn("w-full caption-bottom text-sm", className),
26
+ "data-slot": "table",
27
+ ...props
28
+ })
29
+ });
30
+ }
31
+ function TableBody({ className, ...props }) {
32
+ return /* @__PURE__ */ jsx("tbody", {
33
+ className: cn("[&_tr:last-child]:border-0", className),
34
+ "data-slot": "table-body",
35
+ ...props
36
+ });
37
+ }
38
+ function TableCaption({ className, ...props }) {
39
+ return /* @__PURE__ */ jsx("caption", {
40
+ className: cn("text-muted-foreground mt-4 text-sm", className),
41
+ "data-slot": "table-caption",
42
+ ...props
43
+ });
44
+ }
45
+ function TableCell({ className, ...props }) {
46
+ return /* @__PURE__ */ jsx("td", {
47
+ className: cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
48
+ "data-slot": "table-cell",
49
+ ...props
50
+ });
51
+ }
52
+ function TableFooter({ className, ...props }) {
53
+ return /* @__PURE__ */ jsx("tfoot", {
54
+ className: cn("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
55
+ "data-slot": "table-footer",
56
+ ...props
57
+ });
58
+ }
59
+ function TableHead({ className, ...props }) {
60
+ return /* @__PURE__ */ jsx("th", {
61
+ className: cn("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
62
+ "data-slot": "table-head",
63
+ ...props
64
+ });
65
+ }
66
+ function TableHeader({ className, ...props }) {
67
+ return /* @__PURE__ */ jsx("thead", {
68
+ className: cn("[&_tr]:border-b", className),
69
+ "data-slot": "table-header",
70
+ ...props
71
+ });
72
+ }
73
+ function TableRow({ className, ...props }) {
74
+ return /* @__PURE__ */ jsx("tr", {
75
+ className: cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
76
+ "data-slot": "table-row",
77
+ ...props
78
+ });
79
+ }
80
+ //#endregion
81
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
82
+
83
+ //# sourceMappingURL=table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.js","names":[],"sources":["../../../src/components/table/table.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 type * as React from \"react\";\n\nimport { cn } from \"../../lib/utils.js\";\n\nfunction Table({ className, ...props }: React.ComponentProps<\"table\">) {\n\treturn (\n\t\t<div className=\"relative w-full overflow-x-auto\" data-slot=\"table-container\">\n\t\t\t<table\n\t\t\t\tclassName={cn(\"w-full caption-bottom text-sm\", className)}\n\t\t\t\tdata-slot=\"table\"\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t</div>\n\t);\n}\n\nfunction TableBody({ className, ...props }: React.ComponentProps<\"tbody\">) {\n\treturn (\n\t\t<tbody\n\t\t\tclassName={cn(\"[&_tr:last-child]:border-0\", className)}\n\t\t\tdata-slot=\"table-body\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableCaption({ className, ...props }: React.ComponentProps<\"caption\">) {\n\treturn (\n\t\t<caption\n\t\t\tclassName={cn(\"text-muted-foreground mt-4 text-sm\", className)}\n\t\t\tdata-slot=\"table-caption\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableCell({ className, ...props }: React.ComponentProps<\"td\">) {\n\treturn (\n\t\t<td\n\t\t\tclassName={cn(\"p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0\", className)}\n\t\t\tdata-slot=\"table-cell\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableFooter({ className, ...props }: React.ComponentProps<\"tfoot\">) {\n\treturn (\n\t\t<tfoot\n\t\t\tclassName={cn(\"bg-muted/50 border-t font-medium [&>tr]:last:border-b-0\", className)}\n\t\t\tdata-slot=\"table-footer\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableHead({ className, ...props }: React.ComponentProps<\"th\">) {\n\treturn (\n\t\t<th\n\t\t\tclassName={cn(\n\t\t\t\t\"text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"table-head\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableHeader({ className, ...props }: React.ComponentProps<\"thead\">) {\n\treturn <thead className={cn(\"[&_tr]:border-b\", className)} data-slot=\"table-header\" {...props} />;\n}\n\nfunction TableRow({ className, ...props }: React.ComponentProps<\"tr\">) {\n\treturn (\n\t\t<tr\n\t\t\tclassName={cn(\n\t\t\t\t\"hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"table-row\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAsBA,SAAS,MAAM,EAAE,WAAW,GAAG,SAAwC;AACtE,QACC,oBAAC,OAAD;EAAK,WAAU;EAAkC,aAAU;YAC1D,oBAAC,SAAD;GACC,WAAW,GAAG,iCAAiC,UAAU;GACzD,aAAU;GACV,GAAI;GACH,CAAA;EACG,CAAA;;AAIR,SAAS,UAAU,EAAE,WAAW,GAAG,SAAwC;AAC1E,QACC,oBAAC,SAAD;EACC,WAAW,GAAG,8BAA8B,UAAU;EACtD,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,aAAa,EAAE,WAAW,GAAG,SAA0C;AAC/E,QACC,oBAAC,WAAD;EACC,WAAW,GAAG,sCAAsC,UAAU;EAC9D,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,UAAU,EAAE,WAAW,GAAG,SAAqC;AACvE,QACC,oBAAC,MAAD;EACC,WAAW,GAAG,oEAAoE,UAAU;EAC5F,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,YAAY,EAAE,WAAW,GAAG,SAAwC;AAC5E,QACC,oBAAC,SAAD;EACC,WAAW,GAAG,2DAA2D,UAAU;EACnF,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,UAAU,EAAE,WAAW,GAAG,SAAqC;AACvE,QACC,oBAAC,MAAD;EACC,WAAW,GACV,gHACA,UACA;EACD,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,YAAY,EAAE,WAAW,GAAG,SAAwC;AAC5E,QAAO,oBAAC,SAAD;EAAO,WAAW,GAAG,mBAAmB,UAAU;EAAE,aAAU;EAAe,GAAI;EAAS,CAAA;;AAGlG,SAAS,SAAS,EAAE,WAAW,GAAG,SAAqC;AACtE,QACC,oBAAC,MAAD;EACC,WAAW,GACV,+EACA,UACA;EACD,aAAU;EACV,GAAI;EACH,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants } from "./tabs.js";
2
+ export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants };
@@ -0,0 +1,2 @@
1
+ import { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants } from "./tabs.js";
2
+ export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants };
@@ -0,0 +1,32 @@
1
+ import { Tabs as Tabs$1 } from "radix-ui";
2
+ import * as react_jsx_runtime233 from "react/jsx-runtime";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import * as React from "react";
5
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
6
+
7
+ //#region src/components/tabs/tabs.d.ts
8
+
9
+ declare function Tabs({
10
+ className,
11
+ orientation,
12
+ ...props
13
+ }: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime233.JSX.Element;
14
+ declare const tabsListVariants: (props?: ({
15
+ variant?: "default" | "line" | null | undefined;
16
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
17
+ declare function TabsContent({
18
+ className,
19
+ ...props
20
+ }: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime233.JSX.Element;
21
+ declare function TabsList({
22
+ className,
23
+ variant,
24
+ ...props
25
+ }: React.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime233.JSX.Element;
26
+ declare function TabsTrigger({
27
+ className,
28
+ ...props
29
+ }: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime233.JSX.Element;
30
+ //#endregion
31
+ export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants };
32
+ //# sourceMappingURL=tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.d.ts","names":[],"sources":["../../../src/components/tabs/tabs.tsx"],"sourcesContent":[],"mappings":";;;;;;;;iBAwBS,IAAA,CA8B2C;EAAA,SAAA;EAAA,WAAA;EAAA,GAAA;AAAA,CAAA,EA1BjD,KAAA,CAAM,cA0B2C,CAAA,OA1BrB,MAAA,CAAc,IA0BO,CAAA,CAAA,EA1BF,oBAAA,CAAA,GAAA,CAAA,OA0BE;cAf9C,gBAe0F,EAAA,CAAA,KAU/E,CAV+E,EAAA,CAAA;EAAA,OAAA,CAAA,EAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;AAAA,CAAA,GAF/F,+BAAA,CAAA,SAYgB,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;iBAVR,WAAA,CAWR;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAX6C,KAAA,CAAM,cAWnD,CAAA,OAXyE,MAAA,CAAc,OAWvF,CAAA,CAAA,EAX+F,oBAAA,CAAA,GAAA,CAAA,OAW/F;iBADQ,QAAA,CAER;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAEE,KAAA,CAAM,cAFR,CAAA,OAE8B,MAAA,CAAc,IAF5C,CAAA,GAEoD,YAFpD,CAAA,OAEwE,gBAFxE,CAAA,CAAA,EAEyF,oBAAA,CAAA,GAAA,CAAA,OAFzF;iBAaQ,WAAA,CAXoC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAWC,KAAA,CAAM,cAXP,CAAA,OAW6B,MAAA,CAAc,OAX3C,CAAA,CAAA,EAWmD,oBAAA,CAAA,GAAA,CAAA,OAXnD"}
@@ -0,0 +1,62 @@
1
+ "use client";
2
+ import { cn } from "../../lib/utils.js";
3
+ import { Tabs as Tabs$1 } from "radix-ui";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { cva } from "class-variance-authority";
6
+ //#region src/components/tabs/tabs.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 Tabs({ className, orientation = "horizontal", ...props }) {
23
+ return /* @__PURE__ */ jsx(Tabs$1.Root, {
24
+ className: cn("gap-2 group/tabs flex data-[orientation=horizontal]:flex-col", className),
25
+ "data-orientation": orientation,
26
+ "data-slot": "tabs",
27
+ ...props
28
+ });
29
+ }
30
+ const tabsListVariants = cva("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col", {
31
+ defaultVariants: { variant: "default" },
32
+ variants: { variant: {
33
+ default: "bg-muted",
34
+ line: "gap-1 bg-transparent"
35
+ } }
36
+ });
37
+ function TabsContent({ className, ...props }) {
38
+ return /* @__PURE__ */ jsx(Tabs$1.Content, {
39
+ className: cn("text-sm flex-1 outline-none", className),
40
+ "data-slot": "tabs-content",
41
+ ...props
42
+ });
43
+ }
44
+ function TabsList({ className, variant = "default", ...props }) {
45
+ return /* @__PURE__ */ jsx(Tabs$1.List, {
46
+ className: cn(tabsListVariants({ variant }), className),
47
+ "data-slot": "tabs-list",
48
+ "data-variant": variant,
49
+ ...props
50
+ });
51
+ }
52
+ function TabsTrigger({ className, ...props }) {
53
+ return /* @__PURE__ */ jsx(Tabs$1.Trigger, {
54
+ className: cn("gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground", "after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", className),
55
+ "data-slot": "tabs-trigger",
56
+ ...props
57
+ });
58
+ }
59
+ //#endregion
60
+ export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants };
61
+
62
+ //# sourceMappingURL=tabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.js","names":["TabsPrimitive"],"sources":["../../../src/components/tabs/tabs.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 { cva, type VariantProps } from \"class-variance-authority\";\nimport { Tabs as TabsPrimitive } from \"radix-ui\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../../lib/utils.js\";\n\nfunction Tabs({\n\tclassName,\n\torientation = \"horizontal\",\n\t...props\n}: React.ComponentProps<typeof TabsPrimitive.Root>) {\n\treturn (\n\t\t<TabsPrimitive.Root\n\t\t\tclassName={cn(\"gap-2 group/tabs flex data-[orientation=horizontal]:flex-col\", className)}\n\t\t\tdata-orientation={orientation}\n\t\t\tdata-slot=\"tabs\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nconst tabsListVariants = cva(\n\t\"rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col\",\n\t{\n\t\tdefaultVariants: {\n\t\t\tvariant: \"default\",\n\t\t},\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: \"bg-muted\",\n\t\t\t\tline: \"gap-1 bg-transparent\",\n\t\t\t},\n\t\t},\n\t},\n);\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>) {\n\treturn (\n\t\t<TabsPrimitive.Content\n\t\t\tclassName={cn(\"text-sm flex-1 outline-none\", className)}\n\t\t\tdata-slot=\"tabs-content\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TabsList({\n\tclassName,\n\tvariant = \"default\",\n\t...props\n}: React.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>) {\n\treturn (\n\t\t<TabsPrimitive.List\n\t\t\tclassName={cn(tabsListVariants({ variant }), className)}\n\t\t\tdata-slot=\"tabs-list\"\n\t\t\tdata-variant={variant}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n\treturn (\n\t\t<TabsPrimitive.Trigger\n\t\t\tclassName={cn(\n\t\t\t\t\"gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n\t\t\t\t\"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent\",\n\t\t\t\t\"data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground\",\n\t\t\t\t\"after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"tabs-trigger\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { Tabs, TabsContent, TabsList, tabsListVariants, TabsTrigger };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,SAAS,KAAK,EACb,WACA,cAAc,cACd,GAAG,SACgD;AACnD,QACC,oBAACA,OAAc,MAAf;EACC,WAAW,GAAG,gEAAgE,UAAU;EACxF,oBAAkB;EAClB,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,MAAM,mBAAmB,IACxB,uQACA;CACC,iBAAiB,EAChB,SAAS,WACT;CACD,UAAU,EACT,SAAS;EACR,SAAS;EACT,MAAM;EACN,EACD;CACD,CACD;AAED,SAAS,YAAY,EAAE,WAAW,GAAG,SAA6D;AACjG,QACC,oBAACA,OAAc,SAAf;EACC,WAAW,GAAG,+BAA+B,UAAU;EACvD,aAAU;EACV,GAAI;EACH,CAAA;;AAIJ,SAAS,SAAS,EACjB,WACA,UAAU,WACV,GAAG,SACwF;AAC3F,QACC,oBAACA,OAAc,MAAf;EACC,WAAW,GAAG,iBAAiB,EAAE,SAAS,CAAC,EAAE,UAAU;EACvD,aAAU;EACV,gBAAc;EACd,GAAI;EACH,CAAA;;AAIJ,SAAS,YAAY,EAAE,WAAW,GAAG,SAA6D;AACjG,QACC,oBAACA,OAAc,SAAf;EACC,WAAW,GACV,6vBACA,iQACA,qJACA,4dACA,UACA;EACD,aAAU;EACV,GAAI;EACH,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Textarea } from "./textarea.js";
2
+ export { Textarea };
@@ -0,0 +1,2 @@
1
+ import { Textarea } from "./textarea.js";
2
+ export { Textarea };
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime237 from "react/jsx-runtime";
2
+ import * as React from "react";
3
+
4
+ //#region src/components/textarea/textarea.d.ts
5
+
6
+ declare function Textarea({
7
+ className,
8
+ ...props
9
+ }: React.ComponentProps<"textarea">): react_jsx_runtime237.JSX.Element;
10
+ //#endregion
11
+ export { Textarea };
12
+ //# sourceMappingURL=textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea.d.ts","names":[],"sources":["../../../src/components/textarea/textarea.tsx"],"sourcesContent":[],"mappings":";;;;;iBAoBS,QAAA;;;GAAkC,KAAA,CAAM,6BAA0B,oBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { cn } from "../../lib/utils.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ //#region src/components/textarea/textarea.tsx
4
+ function Textarea({ className, ...props }) {
5
+ return /* @__PURE__ */ jsx("textarea", {
6
+ className: cn("border-input dark:bg-input/30 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 disabled:bg-input/50 dark:disabled:bg-input/80 rounded-lg border bg-transparent px-2.5 py-2 text-base transition-colors focus-visible:ring-[3px] aria-invalid:ring-[3px] md:text-sm placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50", className),
7
+ "data-slot": "textarea",
8
+ ...props
9
+ });
10
+ }
11
+ //#endregion
12
+ export { Textarea };
13
+
14
+ //# sourceMappingURL=textarea.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea.js","names":[],"sources":["../../../src/components/textarea/textarea.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\nimport type * as React from \"react\";\n\nimport { cn } from \"../../lib/utils.js\";\n\nfunction Textarea({ className, ...props }: React.ComponentProps<\"textarea\">) {\n\treturn (\n\t\t<textarea\n\t\t\tclassName={cn(\n\t\t\t\t\"border-input dark:bg-input/30 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 disabled:bg-input/50 dark:disabled:bg-input/80 rounded-lg border bg-transparent px-2.5 py-2 text-base transition-colors focus-visible:ring-[3px] aria-invalid:ring-[3px] md:text-sm placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdata-slot=\"textarea\"\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { Textarea };\n"],"mappings":";;;AAoBA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA2C;AAC5E,QACC,oBAAC,YAAD;EACC,WAAW,GACV,kiBACA,UACA;EACD,aAAU;EACV,GAAI;EACH,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Toggle, toggleVariants } from "./toggle.js";
2
+ export { Toggle, toggleVariants };
@@ -0,0 +1,2 @@
1
+ import { Toggle, toggleVariants } from "./toggle.js";
2
+ export { Toggle, toggleVariants };
@@ -0,0 +1,21 @@
1
+ import { Toggle as Toggle$1 } from "radix-ui";
2
+ import * as react_jsx_runtime232 from "react/jsx-runtime";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import * as React from "react";
5
+ import * as class_variance_authority_types6 from "class-variance-authority/types";
6
+
7
+ //#region src/components/toggle/toggle.d.ts
8
+
9
+ declare const toggleVariants: (props?: ({
10
+ size?: "default" | "lg" | "sm" | null | undefined;
11
+ variant?: "default" | "outline" | null | undefined;
12
+ } & class_variance_authority_types6.ClassProp) | undefined) => string;
13
+ declare function Toggle({
14
+ className,
15
+ size,
16
+ variant,
17
+ ...props
18
+ }: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime232.JSX.Element;
19
+ //#endregion
20
+ export { Toggle, toggleVariants };
21
+ //# sourceMappingURL=toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle.d.ts","names":[],"sources":["../../../src/components/toggle/toggle.tsx"],"sourcesContent":[],"mappings":";;;;;;;;cAwBM;;;IAmBL,+BAAA,CAAA;iBAEQ,MAAA;;;;;GAKN,KAAA,CAAM,sBAAsB,QAAA,CAAgB,QAAQ,oBAAoB,kBAAe,oBAAA,CAAA,GAAA,CAAA"}