@codefast/ui 0.2.23 → 0.2.25

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 (527) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/chunk-2GUGNIMN.cjs +2 -0
  3. package/dist/chunk-2GUGNIMN.cjs.map +1 -0
  4. package/dist/{chunk-QGZBS6HG.cjs → chunk-35WEQFBA.cjs} +2 -2
  5. package/dist/chunk-35WEQFBA.cjs.map +1 -0
  6. package/dist/chunk-3EIIPNVC.cjs +2 -0
  7. package/dist/chunk-3EIIPNVC.cjs.map +1 -0
  8. package/dist/chunk-3QLOE6JT.cjs +2 -0
  9. package/dist/chunk-3QLOE6JT.cjs.map +1 -0
  10. package/dist/chunk-465NF254.js +2 -0
  11. package/dist/chunk-465NF254.js.map +1 -0
  12. package/dist/{chunk-AC4NC5OP.js → chunk-4BADV3FT.js} +2 -2
  13. package/dist/{chunk-SLERFKD5.cjs → chunk-57Y4FSTL.cjs} +2 -2
  14. package/dist/{chunk-SLERFKD5.cjs.map → chunk-57Y4FSTL.cjs.map} +1 -1
  15. package/dist/chunk-5AQNU5FF.cjs +2 -0
  16. package/dist/chunk-5AQNU5FF.cjs.map +1 -0
  17. package/dist/{chunk-5E2J7DPU.cjs → chunk-62L2GZO7.cjs} +2 -2
  18. package/dist/chunk-62L2GZO7.cjs.map +1 -0
  19. package/dist/chunk-6FS62M4B.js +2 -0
  20. package/dist/chunk-6FS62M4B.js.map +1 -0
  21. package/dist/chunk-6GF5BKD3.cjs +2 -0
  22. package/dist/chunk-6GF5BKD3.cjs.map +1 -0
  23. package/dist/chunk-6HGHPY6T.js +2 -0
  24. package/dist/chunk-6HGHPY6T.js.map +1 -0
  25. package/dist/chunk-76DVQCMA.js +2 -0
  26. package/dist/chunk-76DVQCMA.js.map +1 -0
  27. package/dist/{chunk-TRE4LNFF.cjs → chunk-7RIKNXUQ.cjs} +2 -2
  28. package/dist/chunk-7RIKNXUQ.cjs.map +1 -0
  29. package/dist/chunk-7YDCUFIZ.js +2 -0
  30. package/dist/chunk-7YDCUFIZ.js.map +1 -0
  31. package/dist/{chunk-46UZJXKE.js → chunk-AXBTXUF5.js} +2 -2
  32. package/dist/{chunk-46UZJXKE.js.map → chunk-AXBTXUF5.js.map} +1 -1
  33. package/dist/chunk-B4S3AVXY.cjs +2 -0
  34. package/dist/chunk-B4S3AVXY.cjs.map +1 -0
  35. package/dist/chunk-BBU6D4ST.js +2 -0
  36. package/dist/chunk-BBU6D4ST.js.map +1 -0
  37. package/dist/chunk-BJ6N2IUA.cjs +2 -0
  38. package/dist/chunk-BJ6N2IUA.cjs.map +1 -0
  39. package/dist/chunk-BTYNCXRY.js +2 -0
  40. package/dist/chunk-BTYNCXRY.js.map +1 -0
  41. package/dist/{chunk-ONU4ZNQP.js → chunk-BYLDBIZQ.js} +2 -2
  42. package/dist/{chunk-ONU4ZNQP.js.map → chunk-BYLDBIZQ.js.map} +1 -1
  43. package/dist/chunk-C2WGTATR.cjs +2 -0
  44. package/dist/chunk-C2WGTATR.cjs.map +1 -0
  45. package/dist/chunk-COS2B3R4.cjs +2 -0
  46. package/dist/chunk-COS2B3R4.cjs.map +1 -0
  47. package/dist/chunk-DM7NEO2A.cjs +2 -0
  48. package/dist/chunk-DM7NEO2A.cjs.map +1 -0
  49. package/dist/chunk-DQFISQYQ.js +2 -0
  50. package/dist/chunk-DQFISQYQ.js.map +1 -0
  51. package/dist/chunk-DZXTYNCB.js +2 -0
  52. package/dist/chunk-DZXTYNCB.js.map +1 -0
  53. package/dist/chunk-EEW6YK3J.js +2 -0
  54. package/dist/chunk-EEW6YK3J.js.map +1 -0
  55. package/dist/chunk-EHXXHEKF.cjs +2 -0
  56. package/dist/chunk-EHXXHEKF.cjs.map +1 -0
  57. package/dist/chunk-FNLQQIZW.cjs +2 -0
  58. package/dist/chunk-FNLQQIZW.cjs.map +1 -0
  59. package/dist/chunk-FS4CRFFU.cjs +2 -0
  60. package/dist/chunk-FS4CRFFU.cjs.map +1 -0
  61. package/dist/chunk-GAE7GSMH.cjs +2 -0
  62. package/dist/chunk-GAE7GSMH.cjs.map +1 -0
  63. package/dist/chunk-GT6M2CAP.cjs +2 -0
  64. package/dist/chunk-GT6M2CAP.cjs.map +1 -0
  65. package/dist/{chunk-PWJMO7LF.cjs → chunk-GUB22J32.cjs} +2 -2
  66. package/dist/{chunk-PWJMO7LF.cjs.map → chunk-GUB22J32.cjs.map} +1 -1
  67. package/dist/chunk-GXBW3N3M.cjs +2 -0
  68. package/dist/chunk-GXBW3N3M.cjs.map +1 -0
  69. package/dist/chunk-GXL45YCO.cjs +2 -0
  70. package/dist/chunk-GXL45YCO.cjs.map +1 -0
  71. package/dist/chunk-HDL22SXW.cjs +2 -0
  72. package/dist/chunk-HDL22SXW.cjs.map +1 -0
  73. package/dist/chunk-HHC2EREZ.js +2 -0
  74. package/dist/chunk-HHC2EREZ.js.map +1 -0
  75. package/dist/chunk-HID6HIJO.cjs +2 -0
  76. package/dist/chunk-HID6HIJO.cjs.map +1 -0
  77. package/dist/chunk-HN2LADGF.cjs +2 -0
  78. package/dist/chunk-HN2LADGF.cjs.map +1 -0
  79. package/dist/chunk-HQBOID2K.js +2 -0
  80. package/dist/chunk-HQBOID2K.js.map +1 -0
  81. package/dist/{chunk-6OYF6KIQ.cjs → chunk-HTD5E2KS.cjs} +2 -2
  82. package/dist/chunk-HTD5E2KS.cjs.map +1 -0
  83. package/dist/chunk-IGCYTKJ7.js +2 -0
  84. package/dist/chunk-IGCYTKJ7.js.map +1 -0
  85. package/dist/chunk-IJKGBALW.cjs +2 -0
  86. package/dist/chunk-IJKGBALW.cjs.map +1 -0
  87. package/dist/chunk-IMMPDUHI.cjs +2 -0
  88. package/dist/chunk-IMMPDUHI.cjs.map +1 -0
  89. package/dist/chunk-IQG5Z7B3.js +2 -0
  90. package/dist/chunk-IQG5Z7B3.js.map +1 -0
  91. package/dist/{chunk-DGWKCJXU.js → chunk-JCMXN5SL.js} +2 -2
  92. package/dist/{chunk-DGWKCJXU.js.map → chunk-JCMXN5SL.js.map} +1 -1
  93. package/dist/{chunk-WLSDH632.cjs → chunk-JJ46AZUG.cjs} +2 -2
  94. package/dist/{chunk-WLSDH632.cjs.map → chunk-JJ46AZUG.cjs.map} +1 -1
  95. package/dist/chunk-KA44SYMW.cjs +2 -0
  96. package/dist/chunk-KA44SYMW.cjs.map +1 -0
  97. package/dist/chunk-KJUQ3ZDG.cjs +2 -0
  98. package/dist/chunk-KJUQ3ZDG.cjs.map +1 -0
  99. package/dist/chunk-KKLVYNNH.js +2 -0
  100. package/dist/chunk-KKLVYNNH.js.map +1 -0
  101. package/dist/{chunk-2L2HVEIN.cjs → chunk-KXRMWFKE.cjs} +2 -2
  102. package/dist/{chunk-2L2HVEIN.cjs.map → chunk-KXRMWFKE.cjs.map} +1 -1
  103. package/dist/{chunk-FPNPXEQ5.cjs → chunk-L6OCZPIJ.cjs} +2 -2
  104. package/dist/chunk-L6OCZPIJ.cjs.map +1 -0
  105. package/dist/chunk-LHOOK4QI.js +2 -0
  106. package/dist/chunk-LHOOK4QI.js.map +1 -0
  107. package/dist/chunk-LJEBU2VA.js +4 -0
  108. package/dist/chunk-LJEBU2VA.js.map +1 -0
  109. package/dist/chunk-LUOAGYB6.cjs +2 -0
  110. package/dist/chunk-LUOAGYB6.cjs.map +1 -0
  111. package/dist/chunk-LWZFDY6N.cjs +2 -0
  112. package/dist/chunk-LWZFDY6N.cjs.map +1 -0
  113. package/dist/{chunk-KFKDTLSE.cjs → chunk-M6ZEN65I.cjs} +2 -2
  114. package/dist/chunk-M6ZEN65I.cjs.map +1 -0
  115. package/dist/chunk-MDTVBZCP.js +2 -0
  116. package/dist/chunk-MDTVBZCP.js.map +1 -0
  117. package/dist/chunk-MQ3ZMVF4.js +2 -0
  118. package/dist/chunk-MQ3ZMVF4.js.map +1 -0
  119. package/dist/{chunk-ZVWGYKHD.js → chunk-MUL2EY3O.js} +2 -2
  120. package/dist/chunk-MYM5XJQR.js +2 -0
  121. package/dist/chunk-MYM5XJQR.js.map +1 -0
  122. package/dist/{chunk-PWYE6IXW.js → chunk-NXNT364Q.js} +2 -2
  123. package/dist/chunk-NXNT364Q.js.map +1 -0
  124. package/dist/chunk-P7CT5J27.cjs +2 -0
  125. package/dist/chunk-P7CT5J27.cjs.map +1 -0
  126. package/dist/chunk-PLQBG655.cjs +2 -0
  127. package/dist/chunk-PLQBG655.cjs.map +1 -0
  128. package/dist/chunk-PQHOKH32.js +2 -0
  129. package/dist/chunk-PQHOKH32.js.map +1 -0
  130. package/dist/chunk-QEHCKMEW.js +2 -0
  131. package/dist/chunk-QEHCKMEW.js.map +1 -0
  132. package/dist/chunk-QO5ZOLVS.cjs +2 -0
  133. package/dist/chunk-QO5ZOLVS.cjs.map +1 -0
  134. package/dist/chunk-QVCV6SHI.js +2 -0
  135. package/dist/chunk-QVCV6SHI.js.map +1 -0
  136. package/dist/chunk-R4EO3PAD.cjs +2 -0
  137. package/dist/chunk-R4EO3PAD.cjs.map +1 -0
  138. package/dist/chunk-R4NBV7W4.cjs +2 -0
  139. package/dist/chunk-R4NBV7W4.cjs.map +1 -0
  140. package/dist/chunk-RQ2OXVIO.cjs +2 -0
  141. package/dist/chunk-RQ2OXVIO.cjs.map +1 -0
  142. package/dist/chunk-SISTMH2V.js +2 -0
  143. package/dist/chunk-SISTMH2V.js.map +1 -0
  144. package/dist/chunk-SKTMUT4Q.js +2 -0
  145. package/dist/chunk-SKTMUT4Q.js.map +1 -0
  146. package/dist/chunk-SSD6L5OR.js +2 -0
  147. package/dist/chunk-SSD6L5OR.js.map +1 -0
  148. package/dist/chunk-SXDR2XMN.cjs +2 -0
  149. package/dist/chunk-SXDR2XMN.cjs.map +1 -0
  150. package/dist/chunk-T4YGCOXD.js +2 -0
  151. package/dist/chunk-T4YGCOXD.js.map +1 -0
  152. package/dist/chunk-TBLBH4IE.cjs +2 -0
  153. package/dist/chunk-TBLBH4IE.cjs.map +1 -0
  154. package/dist/chunk-TUU4GFJ6.js +2 -0
  155. package/dist/chunk-TUU4GFJ6.js.map +1 -0
  156. package/dist/{chunk-2HOSDLC4.js → chunk-U2LUXER4.js} +2 -2
  157. package/dist/chunk-U2LUXER4.js.map +1 -0
  158. package/dist/chunk-U66K6WUY.js +2 -0
  159. package/dist/chunk-U66K6WUY.js.map +1 -0
  160. package/dist/{chunk-AK26BZ5A.cjs → chunk-UGCN3YGM.cjs} +2 -2
  161. package/dist/{chunk-AK26BZ5A.cjs.map → chunk-UGCN3YGM.cjs.map} +1 -1
  162. package/dist/chunk-ULMXMC44.cjs +2 -0
  163. package/dist/chunk-ULMXMC44.cjs.map +1 -0
  164. package/dist/{chunk-TKY35TYR.cjs → chunk-UN2HW6UN.cjs} +2 -2
  165. package/dist/chunk-UN2HW6UN.cjs.map +1 -0
  166. package/dist/chunk-UQ5VJMRW.js +2 -0
  167. package/dist/chunk-UQ5VJMRW.js.map +1 -0
  168. package/dist/chunk-V2AYLOM5.js +2 -0
  169. package/dist/chunk-V2AYLOM5.js.map +1 -0
  170. package/dist/chunk-V3KAJCT6.js +2 -0
  171. package/dist/chunk-V3KAJCT6.js.map +1 -0
  172. package/dist/chunk-VKG6MFL3.js +2 -0
  173. package/dist/chunk-VKG6MFL3.js.map +1 -0
  174. package/dist/chunk-VM7X5P6J.js +2 -0
  175. package/dist/chunk-VM7X5P6J.js.map +1 -0
  176. package/dist/chunk-VZBRWHQ2.js +2 -0
  177. package/dist/chunk-VZBRWHQ2.js.map +1 -0
  178. package/dist/chunk-W3CYHSYO.js +2 -0
  179. package/dist/chunk-W3CYHSYO.js.map +1 -0
  180. package/dist/chunk-WDUTGZTG.cjs +4 -0
  181. package/dist/chunk-WDUTGZTG.cjs.map +1 -0
  182. package/dist/chunk-WX3DRG7Q.js +2 -0
  183. package/dist/chunk-WX3DRG7Q.js.map +1 -0
  184. package/dist/chunk-X5Z3T7HA.js +2 -0
  185. package/dist/chunk-X5Z3T7HA.js.map +1 -0
  186. package/dist/chunk-XC2CDZHC.js +2 -0
  187. package/dist/chunk-XC2CDZHC.js.map +1 -0
  188. package/dist/chunk-XHKU3O3L.js +2 -0
  189. package/dist/chunk-XHKU3O3L.js.map +1 -0
  190. package/dist/chunk-XJZWYO4Y.js +2 -0
  191. package/dist/chunk-XJZWYO4Y.js.map +1 -0
  192. package/dist/chunk-XYRJ3S6Z.cjs +2 -0
  193. package/dist/chunk-XYRJ3S6Z.cjs.map +1 -0
  194. package/dist/chunk-Y4EFTCNM.cjs +2 -0
  195. package/dist/chunk-Y4EFTCNM.cjs.map +1 -0
  196. package/dist/chunk-YHAJRZCH.js +2 -0
  197. package/dist/chunk-YHAJRZCH.js.map +1 -0
  198. package/dist/chunk-Z5FCLKN6.js +2 -0
  199. package/dist/chunk-Z5FCLKN6.js.map +1 -0
  200. package/dist/chunk-Z5QDQB2Y.js +2 -0
  201. package/dist/chunk-Z5QDQB2Y.js.map +1 -0
  202. package/dist/chunk-ZPUO6JH5.js +2 -0
  203. package/dist/chunk-ZPUO6JH5.js.map +1 -0
  204. package/dist/chunk-ZQYHFDUL.cjs +2 -0
  205. package/dist/chunk-ZQYHFDUL.cjs.map +1 -0
  206. package/dist/{chunk-LBFHFIWF.cjs → chunk-ZYHOIY4R.cjs} +2 -2
  207. package/dist/chunk-ZYHOIY4R.cjs.map +1 -0
  208. package/dist/components/accordion.cjs +1 -1
  209. package/dist/components/accordion.js +1 -1
  210. package/dist/components/alert-dialog.cjs +1 -1
  211. package/dist/components/alert-dialog.d.cts +1 -1
  212. package/dist/components/alert-dialog.d.ts +1 -1
  213. package/dist/components/alert-dialog.js +1 -1
  214. package/dist/components/alert.cjs +1 -1
  215. package/dist/components/alert.d.cts +3 -31
  216. package/dist/components/alert.d.ts +3 -31
  217. package/dist/components/alert.js +1 -1
  218. package/dist/components/badge.cjs +1 -1
  219. package/dist/components/badge.d.cts +10 -108
  220. package/dist/components/badge.d.ts +10 -108
  221. package/dist/components/badge.js +1 -1
  222. package/dist/components/button.cjs +1 -1
  223. package/dist/components/button.js +1 -1
  224. package/dist/components/calendar.cjs +1 -1
  225. package/dist/components/calendar.d.cts +3 -3
  226. package/dist/components/calendar.d.ts +3 -3
  227. package/dist/components/calendar.js +1 -1
  228. package/dist/components/card.cjs +1 -1
  229. package/dist/components/card.js +1 -1
  230. package/dist/components/carousel.cjs +1 -1
  231. package/dist/components/carousel.js +1 -1
  232. package/dist/components/chart.cjs +1 -1
  233. package/dist/components/chart.d.cts +1 -1
  234. package/dist/components/chart.d.ts +1 -1
  235. package/dist/components/chart.js +1 -1
  236. package/dist/components/checkbox-cards.cjs +1 -1
  237. package/dist/components/checkbox-cards.js +1 -1
  238. package/dist/components/checkbox-group.cjs +1 -1
  239. package/dist/components/checkbox-group.js +1 -1
  240. package/dist/components/checkbox.cjs +1 -1
  241. package/dist/components/checkbox.js +1 -1
  242. package/dist/components/collapsible.cjs +1 -1
  243. package/dist/components/collapsible.js +1 -1
  244. package/dist/components/command.cjs +1 -1
  245. package/dist/components/command.js +1 -1
  246. package/dist/components/context-menu.cjs +1 -1
  247. package/dist/components/context-menu.js +1 -1
  248. package/dist/components/data-table.cjs +1 -1
  249. package/dist/components/data-table.js +1 -1
  250. package/dist/components/dialog.cjs +1 -1
  251. package/dist/components/dialog.js +1 -1
  252. package/dist/components/drawer.cjs +1 -1
  253. package/dist/components/drawer.js +1 -1
  254. package/dist/components/dropdown-menu.cjs +1 -1
  255. package/dist/components/dropdown-menu.js +1 -1
  256. package/dist/components/hover-card.cjs +1 -1
  257. package/dist/components/hover-card.js +1 -1
  258. package/dist/components/input-number.cjs +1 -1
  259. package/dist/components/input-number.js +1 -1
  260. package/dist/components/input-otp.cjs +1 -1
  261. package/dist/components/input-otp.js +1 -1
  262. package/dist/components/input-password.cjs +1 -1
  263. package/dist/components/input-password.d.cts +1 -1
  264. package/dist/components/input-password.d.ts +1 -1
  265. package/dist/components/input-password.js +1 -1
  266. package/dist/components/input-search.cjs +1 -1
  267. package/dist/components/input-search.d.cts +1 -1
  268. package/dist/components/input-search.d.ts +1 -1
  269. package/dist/components/input-search.js +1 -1
  270. package/dist/components/input.cjs +1 -1
  271. package/dist/components/input.d.cts +1 -1
  272. package/dist/components/input.d.ts +1 -1
  273. package/dist/components/input.js +1 -1
  274. package/dist/components/menubar.cjs +1 -1
  275. package/dist/components/menubar.js +1 -1
  276. package/dist/components/navigation-menu.cjs +1 -1
  277. package/dist/components/navigation-menu.js +1 -1
  278. package/dist/components/pagination.cjs +1 -1
  279. package/dist/components/pagination.js +1 -1
  280. package/dist/components/popover.cjs +1 -1
  281. package/dist/components/popover.js +1 -1
  282. package/dist/components/radio-cards.cjs +1 -1
  283. package/dist/components/radio-cards.js +1 -1
  284. package/dist/components/radio-group.cjs +1 -1
  285. package/dist/components/radio-group.js +1 -1
  286. package/dist/components/radio.cjs +1 -1
  287. package/dist/components/radio.js +1 -1
  288. package/dist/components/resizable.cjs +1 -1
  289. package/dist/components/resizable.js +1 -1
  290. package/dist/components/scroll-area.cjs +1 -1
  291. package/dist/components/scroll-area.d.cts +14 -14
  292. package/dist/components/scroll-area.d.ts +14 -14
  293. package/dist/components/scroll-area.js +1 -1
  294. package/dist/components/select.cjs +1 -1
  295. package/dist/components/select.js +1 -1
  296. package/dist/components/separator.cjs +1 -1
  297. package/dist/components/separator.js +1 -1
  298. package/dist/components/sheet.cjs +1 -1
  299. package/dist/components/sheet.d.cts +30 -30
  300. package/dist/components/sheet.d.ts +30 -30
  301. package/dist/components/sheet.js +1 -1
  302. package/dist/components/sidebar.cjs +1 -1
  303. package/dist/components/sidebar.d.cts +9 -9
  304. package/dist/components/sidebar.d.ts +9 -9
  305. package/dist/components/sidebar.js +1 -1
  306. package/dist/components/skeleton.cjs +1 -1
  307. package/dist/components/skeleton.js +1 -1
  308. package/dist/components/slider.cjs +1 -1
  309. package/dist/components/slider.js +1 -1
  310. package/dist/components/sonner.cjs +1 -1
  311. package/dist/components/sonner.js +1 -1
  312. package/dist/components/spinner.cjs +1 -1
  313. package/dist/components/spinner.js +1 -1
  314. package/dist/components/switch.cjs +1 -1
  315. package/dist/components/switch.js +1 -1
  316. package/dist/components/table.cjs +1 -1
  317. package/dist/components/table.js +1 -1
  318. package/dist/components/tabs.cjs +1 -1
  319. package/dist/components/tabs.js +1 -1
  320. package/dist/components/textarea.cjs +1 -1
  321. package/dist/components/textarea.js +1 -1
  322. package/dist/components/toggle-group.cjs +1 -1
  323. package/dist/components/toggle-group.js +1 -1
  324. package/dist/components/toggle.cjs +1 -1
  325. package/dist/components/toggle.js +1 -1
  326. package/dist/components/tooltip.cjs +1 -1
  327. package/dist/components/tooltip.js +1 -1
  328. package/dist/index.cjs +1 -1
  329. package/dist/index.cjs.map +1 -1
  330. package/dist/index.css +1 -1
  331. package/dist/index.css.map +1 -1
  332. package/dist/index.d.cts +1 -1
  333. package/dist/index.d.ts +1 -1
  334. package/dist/index.js +1 -1
  335. package/dist/variants/button.variants.cjs +1 -1
  336. package/dist/variants/button.variants.d.cts +74 -95
  337. package/dist/variants/button.variants.d.ts +74 -95
  338. package/dist/variants/button.variants.js +1 -1
  339. package/dist/variants/input.variants.cjs +1 -1
  340. package/dist/variants/input.variants.d.cts +83 -83
  341. package/dist/variants/input.variants.d.ts +83 -83
  342. package/dist/variants/input.variants.js +1 -1
  343. package/dist/variants/toggle.variants.cjs +1 -1
  344. package/dist/variants/toggle.variants.d.cts +46 -88
  345. package/dist/variants/toggle.variants.d.ts +46 -88
  346. package/dist/variants/toggle.variants.js +1 -1
  347. package/package.json +17 -16
  348. package/dist/chunk-2HOSDLC4.js.map +0 -1
  349. package/dist/chunk-2XAD6KHW.js +0 -2
  350. package/dist/chunk-2XAD6KHW.js.map +0 -1
  351. package/dist/chunk-36TQLSGO.js +0 -2
  352. package/dist/chunk-36TQLSGO.js.map +0 -1
  353. package/dist/chunk-3IBICJA2.js +0 -2
  354. package/dist/chunk-3IBICJA2.js.map +0 -1
  355. package/dist/chunk-56DZBH54.js +0 -2
  356. package/dist/chunk-56DZBH54.js.map +0 -1
  357. package/dist/chunk-5E2J7DPU.cjs.map +0 -1
  358. package/dist/chunk-5JTCBEIB.js +0 -2
  359. package/dist/chunk-5JTCBEIB.js.map +0 -1
  360. package/dist/chunk-5R3KLICJ.js +0 -2
  361. package/dist/chunk-5R3KLICJ.js.map +0 -1
  362. package/dist/chunk-5RCJ2CA5.js +0 -2
  363. package/dist/chunk-5RCJ2CA5.js.map +0 -1
  364. package/dist/chunk-6OYF6KIQ.cjs.map +0 -1
  365. package/dist/chunk-6SGFVBG5.js +0 -2
  366. package/dist/chunk-6SGFVBG5.js.map +0 -1
  367. package/dist/chunk-7C3GHNUL.js +0 -2
  368. package/dist/chunk-7C3GHNUL.js.map +0 -1
  369. package/dist/chunk-AH4DF7LA.cjs +0 -2
  370. package/dist/chunk-AH4DF7LA.cjs.map +0 -1
  371. package/dist/chunk-AHV24XXG.js +0 -2
  372. package/dist/chunk-AHV24XXG.js.map +0 -1
  373. package/dist/chunk-BRDK6TUD.js +0 -2
  374. package/dist/chunk-BRDK6TUD.js.map +0 -1
  375. package/dist/chunk-DASAFOYJ.cjs +0 -2
  376. package/dist/chunk-DASAFOYJ.cjs.map +0 -1
  377. package/dist/chunk-DF5E3FGQ.js +0 -2
  378. package/dist/chunk-DF5E3FGQ.js.map +0 -1
  379. package/dist/chunk-DN22IF3R.cjs +0 -2
  380. package/dist/chunk-DN22IF3R.cjs.map +0 -1
  381. package/dist/chunk-DOVVSNGI.js +0 -2
  382. package/dist/chunk-DOVVSNGI.js.map +0 -1
  383. package/dist/chunk-ELW7VMAT.js +0 -2
  384. package/dist/chunk-ELW7VMAT.js.map +0 -1
  385. package/dist/chunk-EPZA4DFY.cjs +0 -2
  386. package/dist/chunk-EPZA4DFY.cjs.map +0 -1
  387. package/dist/chunk-EXR6BMAW.cjs +0 -2
  388. package/dist/chunk-EXR6BMAW.cjs.map +0 -1
  389. package/dist/chunk-F3G3HO4U.js +0 -2
  390. package/dist/chunk-F3G3HO4U.js.map +0 -1
  391. package/dist/chunk-F7CO7P2X.cjs +0 -2
  392. package/dist/chunk-F7CO7P2X.cjs.map +0 -1
  393. package/dist/chunk-FKCCIFVX.cjs +0 -2
  394. package/dist/chunk-FKCCIFVX.cjs.map +0 -1
  395. package/dist/chunk-FOEXS673.js +0 -2
  396. package/dist/chunk-FOEXS673.js.map +0 -1
  397. package/dist/chunk-FPNPXEQ5.cjs.map +0 -1
  398. package/dist/chunk-FTJBXJJT.cjs +0 -2
  399. package/dist/chunk-FTJBXJJT.cjs.map +0 -1
  400. package/dist/chunk-FUY5BCRG.cjs +0 -2
  401. package/dist/chunk-FUY5BCRG.cjs.map +0 -1
  402. package/dist/chunk-GHBCDBSI.cjs +0 -2
  403. package/dist/chunk-GHBCDBSI.cjs.map +0 -1
  404. package/dist/chunk-GKSJINOA.js +0 -2
  405. package/dist/chunk-GKSJINOA.js.map +0 -1
  406. package/dist/chunk-GQBROHMX.js +0 -2
  407. package/dist/chunk-GQBROHMX.js.map +0 -1
  408. package/dist/chunk-GQFMACBI.js +0 -2
  409. package/dist/chunk-GQFMACBI.js.map +0 -1
  410. package/dist/chunk-GSTVEJ2B.js +0 -2
  411. package/dist/chunk-GSTVEJ2B.js.map +0 -1
  412. package/dist/chunk-H3RTNMRE.cjs +0 -2
  413. package/dist/chunk-H3RTNMRE.cjs.map +0 -1
  414. package/dist/chunk-HQNFEX24.js +0 -2
  415. package/dist/chunk-HQNFEX24.js.map +0 -1
  416. package/dist/chunk-HTT35LDP.cjs +0 -2
  417. package/dist/chunk-HTT35LDP.cjs.map +0 -1
  418. package/dist/chunk-I7AC332J.js +0 -2
  419. package/dist/chunk-I7AC332J.js.map +0 -1
  420. package/dist/chunk-IPVYUKID.cjs +0 -2
  421. package/dist/chunk-IPVYUKID.cjs.map +0 -1
  422. package/dist/chunk-JGFDKJEO.cjs +0 -2
  423. package/dist/chunk-JGFDKJEO.cjs.map +0 -1
  424. package/dist/chunk-K6AMR7HB.js +0 -4
  425. package/dist/chunk-K6AMR7HB.js.map +0 -1
  426. package/dist/chunk-KFKDTLSE.cjs.map +0 -1
  427. package/dist/chunk-KPBYWGCA.js +0 -2
  428. package/dist/chunk-KPBYWGCA.js.map +0 -1
  429. package/dist/chunk-KUZZFJ27.js +0 -2
  430. package/dist/chunk-KUZZFJ27.js.map +0 -1
  431. package/dist/chunk-L5EJ25IW.cjs +0 -2
  432. package/dist/chunk-L5EJ25IW.cjs.map +0 -1
  433. package/dist/chunk-L66JVA2T.cjs +0 -2
  434. package/dist/chunk-L66JVA2T.cjs.map +0 -1
  435. package/dist/chunk-LBFHFIWF.cjs.map +0 -1
  436. package/dist/chunk-LBR5P32R.cjs +0 -2
  437. package/dist/chunk-LBR5P32R.cjs.map +0 -1
  438. package/dist/chunk-LCBT7M2G.cjs +0 -2
  439. package/dist/chunk-LCBT7M2G.cjs.map +0 -1
  440. package/dist/chunk-LGRBC237.cjs +0 -2
  441. package/dist/chunk-LGRBC237.cjs.map +0 -1
  442. package/dist/chunk-LL6U4F5L.cjs +0 -2
  443. package/dist/chunk-LL6U4F5L.cjs.map +0 -1
  444. package/dist/chunk-LYC4EOET.js +0 -2
  445. package/dist/chunk-LYC4EOET.js.map +0 -1
  446. package/dist/chunk-MSMFJJJK.js +0 -2
  447. package/dist/chunk-MSMFJJJK.js.map +0 -1
  448. package/dist/chunk-NCTOUF4A.js +0 -2
  449. package/dist/chunk-NCTOUF4A.js.map +0 -1
  450. package/dist/chunk-NW3SJJ6F.js +0 -2
  451. package/dist/chunk-NW3SJJ6F.js.map +0 -1
  452. package/dist/chunk-NZQFRV3L.js +0 -2
  453. package/dist/chunk-NZQFRV3L.js.map +0 -1
  454. package/dist/chunk-OMGYMSUC.cjs +0 -2
  455. package/dist/chunk-OMGYMSUC.cjs.map +0 -1
  456. package/dist/chunk-OPFM64WD.js +0 -2
  457. package/dist/chunk-OPFM64WD.js.map +0 -1
  458. package/dist/chunk-P22LSKVX.cjs +0 -2
  459. package/dist/chunk-P22LSKVX.cjs.map +0 -1
  460. package/dist/chunk-PSMKNPRZ.cjs +0 -2
  461. package/dist/chunk-PSMKNPRZ.cjs.map +0 -1
  462. package/dist/chunk-PSPEP5YX.cjs +0 -2
  463. package/dist/chunk-PSPEP5YX.cjs.map +0 -1
  464. package/dist/chunk-PUZM4GY5.js +0 -2
  465. package/dist/chunk-PUZM4GY5.js.map +0 -1
  466. package/dist/chunk-PWYE6IXW.js.map +0 -1
  467. package/dist/chunk-Q42ORKLQ.js +0 -2
  468. package/dist/chunk-Q42ORKLQ.js.map +0 -1
  469. package/dist/chunk-QGZBS6HG.cjs.map +0 -1
  470. package/dist/chunk-QJ4H3B5E.cjs +0 -2
  471. package/dist/chunk-QJ4H3B5E.cjs.map +0 -1
  472. package/dist/chunk-QW4LAXTT.js +0 -2
  473. package/dist/chunk-QW4LAXTT.js.map +0 -1
  474. package/dist/chunk-ROUDG6I5.cjs +0 -2
  475. package/dist/chunk-ROUDG6I5.cjs.map +0 -1
  476. package/dist/chunk-S5BO3QAZ.cjs +0 -2
  477. package/dist/chunk-S5BO3QAZ.cjs.map +0 -1
  478. package/dist/chunk-SAKEXTVW.cjs +0 -2
  479. package/dist/chunk-SAKEXTVW.cjs.map +0 -1
  480. package/dist/chunk-SSQYBXI5.js +0 -2
  481. package/dist/chunk-SSQYBXI5.js.map +0 -1
  482. package/dist/chunk-SV5GCOQH.js +0 -2
  483. package/dist/chunk-SV5GCOQH.js.map +0 -1
  484. package/dist/chunk-T6TKUY76.cjs +0 -2
  485. package/dist/chunk-T6TKUY76.cjs.map +0 -1
  486. package/dist/chunk-TB5KON56.cjs +0 -2
  487. package/dist/chunk-TB5KON56.cjs.map +0 -1
  488. package/dist/chunk-TKY35TYR.cjs.map +0 -1
  489. package/dist/chunk-TQOYB7RE.js +0 -2
  490. package/dist/chunk-TQOYB7RE.js.map +0 -1
  491. package/dist/chunk-TRE4LNFF.cjs.map +0 -1
  492. package/dist/chunk-UMQYGDKC.js +0 -2
  493. package/dist/chunk-UMQYGDKC.js.map +0 -1
  494. package/dist/chunk-UQQOY6LC.cjs +0 -4
  495. package/dist/chunk-UQQOY6LC.cjs.map +0 -1
  496. package/dist/chunk-USJYG7MC.js +0 -2
  497. package/dist/chunk-USJYG7MC.js.map +0 -1
  498. package/dist/chunk-UVQOZN2C.js +0 -2
  499. package/dist/chunk-UVQOZN2C.js.map +0 -1
  500. package/dist/chunk-VGH6WZ27.cjs +0 -2
  501. package/dist/chunk-VGH6WZ27.cjs.map +0 -1
  502. package/dist/chunk-VJVQDA2U.cjs +0 -2
  503. package/dist/chunk-VJVQDA2U.cjs.map +0 -1
  504. package/dist/chunk-VKEABMKB.cjs +0 -2
  505. package/dist/chunk-VKEABMKB.cjs.map +0 -1
  506. package/dist/chunk-W37H7BDD.cjs +0 -2
  507. package/dist/chunk-W37H7BDD.cjs.map +0 -1
  508. package/dist/chunk-W4K2HV3N.js +0 -2
  509. package/dist/chunk-W4K2HV3N.js.map +0 -1
  510. package/dist/chunk-W54IWHIP.cjs +0 -2
  511. package/dist/chunk-W54IWHIP.cjs.map +0 -1
  512. package/dist/chunk-WORVCHTL.js +0 -2
  513. package/dist/chunk-WORVCHTL.js.map +0 -1
  514. package/dist/chunk-XD3TYBKN.cjs +0 -2
  515. package/dist/chunk-XD3TYBKN.cjs.map +0 -1
  516. package/dist/chunk-XRPTNXUT.cjs +0 -2
  517. package/dist/chunk-XRPTNXUT.cjs.map +0 -1
  518. package/dist/chunk-XS5HZGLK.cjs +0 -2
  519. package/dist/chunk-XS5HZGLK.cjs.map +0 -1
  520. package/dist/chunk-YNPLLYMG.js +0 -2
  521. package/dist/chunk-YNPLLYMG.js.map +0 -1
  522. package/dist/chunk-YOKFNKGO.js +0 -2
  523. package/dist/chunk-YOKFNKGO.js.map +0 -1
  524. package/dist/chunk-ZURHQEH5.js +0 -2
  525. package/dist/chunk-ZURHQEH5.js.map +0 -1
  526. /package/dist/{chunk-AC4NC5OP.js.map → chunk-4BADV3FT.js.map} +0 -0
  527. /package/dist/{chunk-ZVWGYKHD.js.map → chunk-MUL2EY3O.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @codefast/ui
2
2
 
3
+ ## 0.2.25
4
+
5
+ ### Patch Changes
6
+
7
+ - [`929bc06`](https://github.com/codefastlabs/codefast/commit/929bc069506962408673e129e90f72047f90594c) Thanks [@thevuong](https://github.com/thevuong)! - refactor(ui): simplify variants and streamline components
8
+
9
+ - Updated dependencies [[`929bc06`](https://github.com/codefastlabs/codefast/commit/929bc069506962408673e129e90f72047f90594c)]:
10
+ - @codefast/hooks@0.2.25
11
+ - @codefast-ui/checkbox-group@0.2.25
12
+ - @codefast-ui/input@0.2.25
13
+ - @codefast-ui/number-input@0.2.25
14
+
15
+ ## 0.2.24
16
+
17
+ ### Patch Changes
18
+
19
+ - [`a3cdbb5`](https://github.com/codefastlabs/codefast/commit/a3cdbb59e9c3c93e806154aefce6be9c717f332c) Thanks [@thevuong](https://github.com/thevuong)! - refactor(ui): standardize animation utilities and classes
20
+
21
+ - [`ed44ada`](https://github.com/codefastlabs/codefast/commit/ed44adadc1a339e7d0bc7be5bcfc5c45836ab26e) Thanks [@thevuong](https://github.com/thevuong)! - feat(animations): refactor animation utilities and naming
22
+
23
+ - Updated dependencies [[`a3cdbb5`](https://github.com/codefastlabs/codefast/commit/a3cdbb59e9c3c93e806154aefce6be9c717f332c), [`ed44ada`](https://github.com/codefastlabs/codefast/commit/ed44adadc1a339e7d0bc7be5bcfc5c45836ab26e)]:
24
+ - @codefast/hooks@0.2.24
25
+ - @codefast-ui/checkbox-group@0.2.24
26
+ - @codefast-ui/day-picker@0.2.24
27
+ - @codefast-ui/input@0.2.24
28
+ - @codefast-ui/number-input@0.2.24
29
+
3
30
  ## 0.2.23
4
31
 
5
32
  ### Patch Changes
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkB4S3AVXYcjs = require('./chunk-B4S3AVXY.cjs');var _chunkZQYHFDULcjs = require('./chunk-ZQYHFDUL.cjs');var _input = require('@codefast-ui/input'); var t = _interopRequireWildcard(_input);var _jsxruntime = require('react/jsx-runtime');var{input:l,root:d}=_chunkB4S3AVXYcjs.a.call(void 0, );function x({className:n,disabled:i,inputSize:e,loaderPosition:s,loading:m,prefix:a,readOnly:u,spinner:I,suffix:P,...f}){return _jsxruntime.jsx.call(void 0, t.Root,{className:d({className:n,inputSize:e}),disabled:i,loaderPosition:s,loading:m,prefix:a,readOnly:u,spinner:I||_jsxruntime.jsx.call(void 0, _chunkZQYHFDULcjs.a,{}),suffix:P,children:_jsxruntime.jsx.call(void 0, t.Item,{className:l({inputSize:e}),...f})})}var v=x;exports.a = x; exports.b = v;
2
+ //# sourceMappingURL=chunk-2GUGNIMN.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-2GUGNIMN.cjs","../src/components/input.tsx"],"names":["input","root","inputVariants","Input","className","disabled","inputSize","loaderPosition","loading","prefix","readOnly","spinner","suffix","props","jsx","Spinner","TextInput"],"mappings":"AAAA,mZAAwC,wDAAyC,oFCEjD,+CAyDN,GA9CpB,CAAE,KAAA,CAAAA,CAAAA,CAAO,IAAA,CAAAC,CAAK,CAAA,CAAIC,iCAAAA,CAAc,CA0BtC,SAASC,CAAAA,CAAM,CACb,SAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAA4B,CAC1B,OACEC,6BAAAA,CAAgB,CAAA,IAAA,CAAf,CACC,SAAA,CAAWb,CAAAA,CAAK,CAAE,SAAA,CAAAG,CAAAA,CAAW,SAAA,CAAAE,CAAU,CAAC,CAAA,CACxC,QAAA,CAAUD,CAAAA,CACV,cAAA,CAAgBE,CAAAA,CAChB,OAAA,CAASC,CAAAA,CACT,MAAA,CAAQC,CAAAA,CACR,QAAA,CAAUC,CAAAA,CACV,OAAA,CAASC,CAAAA,EAAWG,6BAAAA,mBAACC,CAAA,CAAA,CAAQ,CAAA,CAC7B,MAAA,CAAQH,CAAAA,CAER,QAAA,CAAAE,6BAAAA,CAAgB,CAAA,IAAA,CAAf,CAAoB,SAAA,CAAWd,CAAAA,CAAM,CAAE,SAAA,CAAAM,CAAU,CAAC,CAAA,CAAI,GAAGO,CAAAA,CAAO,CAAA,CACnE,CAEJ,CAkBA,IAAMG,CAAAA,CAAYb,CAAAA,CAAAA,6BAAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-2GUGNIMN.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as InputPrimitive from '@codefast-ui/input';\n\nimport type { InputVariantsProps } from '@/variants/input.variants';\n\nimport { Spinner } from '@/components/spinner';\nimport { inputVariants } from '@/variants/input.variants';\n\n/* -----------------------------------------------------------------------------\n * Variant: Input\n * -------------------------------------------------------------------------- */\n\nconst { input, root } = inputVariants();\n\n/* -----------------------------------------------------------------------------\n * Component: Input\n * -------------------------------------------------------------------------- */\n\ninterface InputProps\n extends InputVariantsProps,\n ComponentProps<typeof InputPrimitive.Root>,\n Omit<ComponentProps<typeof InputPrimitive.Item>, 'prefix' | 'type'> {\n type?:\n | 'date'\n | 'datetime-local'\n | 'email'\n | 'file'\n | 'month'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'\n | 'week';\n}\n\nfunction Input({\n className,\n disabled,\n inputSize,\n loaderPosition,\n loading,\n prefix,\n readOnly,\n spinner,\n suffix,\n ...props\n}: InputProps): JSX.Element {\n return (\n <InputPrimitive.Root\n className={root({ className, inputSize })}\n disabled={disabled}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix}\n readOnly={readOnly}\n spinner={spinner || <Spinner />}\n suffix={suffix}\n >\n <InputPrimitive.Item className={input({ inputSize })} {...props} />\n </InputPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Deprecated\n * -------------------------------------------------------------------------- */\n\n/**\n * @deprecated\n * This type is an alias of the InputProps type.\n * Please use the InputProps type instead to ensure consistency.\n */\ntype TextInputProps = InputProps;\n\n/**\n * @deprecated\n * This component is an alias of the Input component.\n * Please use the Input component instead to ensure consistency.\n */\nconst TextInput = Input;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { InputProps, TextInputProps };\nexport { Input, TextInput };\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactcontext = require('@radix-ui/react-context');var _reactscrollarea = require('@radix-ui/react-scroll-area'); var r = _interopRequireWildcard(_reactscrollarea);var _tailwindvariants = require('tailwind-variants');var _jsxruntime = require('react/jsx-runtime');var S=_tailwindvariants.tv.call(void 0, {base:"flex touch-none select-none p-px transition",compoundVariants:[{className:"w-1.5",orientation:"vertical",size:"sm"},{className:"w-2",orientation:"vertical",size:"md"},{className:"w-2.5",orientation:"vertical",size:"lg"},{className:"h-1.5",orientation:"horizontal",size:"sm"},{className:"h-2",orientation:"horizontal",size:"md"},{className:"h-2.5",orientation:"horizontal",size:"lg"}],defaultVariants:{size:"md",vertical:"vertical"},variants:{orientation:{horizontal:"w-full flex-col border-t border-t-transparent",vertical:"h-full flex-row border-l border-l-transparent"},size:{lg:"",md:"",none:"",sm:""}}}),c="ScrollArea",[A]=_reactcontext.createContextScope.call(void 0, c),[P,v]=A(c);function z({__scopeScrollArea:l,children:t,className:e,size:a,...i}){return _jsxruntime.jsx.call(void 0, P,{scope:l,size:a,children:_jsxruntime.jsxs.call(void 0, r.Root,{className:_chunkSMJEDCFPcjs.a.call(void 0, "relative overflow-hidden",e),...i,children:[_jsxruntime.jsx.call(void 0, r.Viewport,{className:"size-full rounded-[inherit] [&>*]:h-full",children:t}),_jsxruntime.jsx.call(void 0, s,{orientation:"vertical"}),_jsxruntime.jsx.call(void 0, s,{orientation:"horizontal"}),_jsxruntime.jsx.call(void 0, r.Corner,{})]})})}function s({__scopeScrollArea:l,className:t,orientation:e,...a}){let{size:i}=v(c,l);return _jsxruntime.jsx.call(void 0, r.Scrollbar,{className:S({className:t,orientation:e,size:i}),orientation:e,...a,children:_jsxruntime.jsx.call(void 0, r.ScrollAreaThumb,{className:"bg-border relative flex-1 rounded-full"})})}exports.a = z; exports.b = s;
2
- //# sourceMappingURL=chunk-QGZBS6HG.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactcontext = require('@radix-ui/react-context');var _reactscrollarea = require('@radix-ui/react-scroll-area'); var r = _interopRequireWildcard(_reactscrollarea);var _tailwindvariants = require('tailwind-variants');var _jsxruntime = require('react/jsx-runtime');var S=_tailwindvariants.tv.call(void 0, {base:"flex touch-none select-none p-px transition",compoundVariants:[{className:"w-1.5",orientation:"vertical",size:"sm"},{className:"w-2",orientation:"vertical",size:"md"},{className:"w-2.5",orientation:"vertical",size:"lg"},{className:"h-1.5",orientation:"horizontal",size:"sm"},{className:"h-2",orientation:"horizontal",size:"md"},{className:"h-2.5",orientation:"horizontal",size:"lg"}],variants:{orientation:{horizontal:"w-full flex-col border-t border-t-transparent",vertical:"h-full flex-row border-l border-l-transparent"},size:{none:"",sm:"",md:"",lg:""}},defaultVariants:{size:"md",vertical:"vertical"}}),c="ScrollArea",[A]=_reactcontext.createContextScope.call(void 0, c),[P,v]=A(c);function z({__scopeScrollArea:l,children:t,className:e,size:a,...i}){return _jsxruntime.jsx.call(void 0, P,{scope:l,size:a,children:_jsxruntime.jsxs.call(void 0, r.Root,{className:_chunkSMJEDCFPcjs.a.call(void 0, "relative overflow-hidden",e),...i,children:[_jsxruntime.jsx.call(void 0, r.Viewport,{className:"size-full rounded-[inherit] [&>*]:h-full",children:t}),_jsxruntime.jsx.call(void 0, s,{orientation:"vertical"}),_jsxruntime.jsx.call(void 0, s,{orientation:"horizontal"}),_jsxruntime.jsx.call(void 0, r.Corner,{})]})})}function s({__scopeScrollArea:l,className:t,orientation:e,...a}){let{size:i}=v(c,l);return _jsxruntime.jsx.call(void 0, r.Scrollbar,{className:S({className:t,orientation:e,size:i}),orientation:e,...a,children:_jsxruntime.jsx.call(void 0, r.ScrollAreaThumb,{className:"bg-border relative flex-1 rounded-full"})})}exports.a = z; exports.b = s;
2
+ //# sourceMappingURL=chunk-35WEQFBA.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-35WEQFBA.cjs","../src/components/scroll-area.tsx"],"names":["ScrollAreaPrimitive","useCarouselContext","createCarouselContext","SCROLL_AREA_NAME","ScrollArea","children","className","props","CarouselProvider","size","jsxs","cn","jsx","ScrollAreaScrollbar","orientation","__scopeScrollArea","scrollAreaScrollbarVariants"],"mappings":"AAAA,uWAAY,CAAC,wDCMJ,uDACGA,iHACH,qDAwFD,+CA/EN,IAAM,CAAA,CAAA,kCAAA,CAAA,IAAA,CAAA,6CACN,CAAA,gBAEe,CAAA,CAAA,CAAA,SACX,CAAA,OAAa,CAAA,WACb,CAAA,UAGA,CAAA,IAAA,CAAA,IAAW,CAAA,CAAA,CAAA,SACX,CAAA,KAAa,CAAA,WACb,CAAA,UAGA,CAAA,IAAA,CAAA,IAAW,CAAA,CAAA,CAAA,SACX,CAAA,OAAa,CAAA,WACb,CAAA,UAGA,CAAA,IAAA,CAAA,IAAW,CAAA,CAAA,CAAA,SACX,CAAA,OAAa,CAAA,WAAA,CACb,YAGA,CAAA,IAAA,CAAA,IAAW,CAAA,CAAA,CAAA,SACX,CAAA,KAAa,CAAA,WAAA,CACb,YAGA,CAAA,IAAA,CAAA,IAAW,CAAA,CAAA,CAAA,SACX,CAAA,OAAa,CAAA,WAAA,CACb,YAGJ,CAAA,IAAA,CAAA,IACE,CAAA,CAAA,CAAA,QAAA,CAAa,CACX,WAAY,CAAA,CAAA,UAAA,CAAA,+CACF,CAAA,QAAA,CAAA,+CAGJ,CAAA,CAAA,IACF,CAAA,CAAA,IACA,CAAA,EACJ,CAAA,EAAI,CAAA,EAER,CAAA,EACA,CAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,CAAA,eAEE,CAAA,CAAA,IAAA,CAAA,IAAU,CAAA,QAEb,CAAA,UAQwB,CAAA,CAAA,CAAA,CAAA,CAAA,CAInB,YAImBC,CAAkB,CAAA,CAAIC,CAAAA,CAA8CC,8CAAgB,CAI7G,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAASC,CAAAA,CAAW,CAClB,CAAA,SAAA,CAAA,CAAA,CAAA,iBACAC,CACA,CAAA,CAAA,QAAAC,CAAAA,CACA,CAAA,SACGC,CACL,CAAA,CAA8C,IAC5C,CAAA,CAAA,CAAA,GACGC,CAAAA,CAAA,CAAiB,CAAA,OAA0B,6BAAA,CAAA,CAAA,CAAMC,KAChD,CAAA,CAAA,CAAA,IAAAC,CAAqB,CAAA,CAAA,QAAK,CAAA,8BAAA,CAAA,CAAA,IAAWC,CAAG,CAAA,SAAA,CAAA,iCAAA,0BACtC,CAAA,CAAA,CAAA,CAAA,GAAAC,CAAqB,CAAA,QAAA,CAAA,CAApB,6BAA6B,CAAA,CAAA,QAAU,CAAA,CAAA,SAAA,CAAA,0CAExC,CACAA,QAAqB,CAAA,CAAA,CAAA,CAAA,CAAA,6BAAA,CAAA,CAAY,CAAA,WAAW,CAC5CA,UAAqB,CAAA,CAAA,CAAA,6BAAA,CAAA,CAAY,CAAA,WAAA,CAAa,YACzB,CAApB,CAAA,CAA2B,6BAAA,CAC9B,CAAA,MAWN,CAAA,CAAA,CAAA,CAAA,CAAA,CAASC,CAAAA,CAAoB,CAC3B,CAAA,SAAA,CAAA,CAAA,CAAA,iBACAP,CAAAA,CACA,CAAA,SAAA,CAAA,CAAAQ,CAAAA,WAGM,CAAE,CAAA,CAAA,GAAAL,CAAK,CAAA,CAAIR,CAAAA,GAAqCc,CAAiB,IAEvE,CAAA,CAAA,CAAA,CAAA,CACEH,CAAAA,CAAqB,CAAA,CAAA,CAAA,CAAA,OAAA,6BAApB,CACC,CAAA,SAAWI,CAA4B,CAAE,SAAA,CAAAV,CAAAA,CAAW,CAAA,SAAA,CAAA,CAAAQ,CAAAA,WACpD,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAaA,CAAAA,WAGb,CAAA,CAAA,CAAA,GAAqB,CAAA,CAAA,QAAA,CAAA,6BAAA,CAAA,CAAA,eAA0B,CAAA,CAAA,SAAA,CAAA,wCAGrD,CAAA,CAAA,CAAA,CAAA,CAAA,6BAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-35WEQFBA.cjs","sourcesContent":[null,"'use client';\n\nimport type { Scope } from '@radix-ui/react-context';\nimport type { ComponentProps, JSX } from 'react';\nimport type { VariantProps } from 'tailwind-variants';\n\nimport { createContextScope } from '@radix-ui/react-context';\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';\nimport { tv } from 'tailwind-variants';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\nconst scrollAreaScrollbarVariants = tv({\n base: 'flex touch-none select-none p-px transition',\n compoundVariants: [\n {\n className: 'w-1.5',\n orientation: 'vertical',\n size: 'sm',\n },\n {\n className: 'w-2',\n orientation: 'vertical',\n size: 'md',\n },\n {\n className: 'w-2.5',\n orientation: 'vertical',\n size: 'lg',\n },\n {\n className: 'h-1.5',\n orientation: 'horizontal',\n size: 'sm',\n },\n {\n className: 'h-2',\n orientation: 'horizontal',\n size: 'md',\n },\n {\n className: 'h-2.5',\n orientation: 'horizontal',\n size: 'lg',\n },\n ],\n variants: {\n orientation: {\n horizontal: 'w-full flex-col border-t border-t-transparent',\n vertical: 'h-full flex-row border-l border-l-transparent',\n },\n size: {\n none: '',\n sm: '',\n md: '',\n lg: '',\n },\n },\n defaultVariants: {\n size: 'md',\n vertical: 'vertical',\n },\n});\n\ntype ScrollAreaScrollbarVariantsProps = VariantProps<typeof scrollAreaScrollbarVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollArea\n * -------------------------------------------------------------------------- */\n\nconst SCROLL_AREA_NAME = 'ScrollArea';\n\ntype ScopedProps<P> = P & { __scopeScrollArea?: Scope };\n\nconst [createCarouselContext] = createContextScope(SCROLL_AREA_NAME);\n\ntype ScrollAreaContextValue = Pick<ScrollAreaScrollbarVariantsProps, 'size'>;\n\nconst [CarouselProvider, useCarouselContext] = createCarouselContext<ScrollAreaContextValue>(SCROLL_AREA_NAME);\n\ntype ScrollAreaProps = ComponentProps<typeof ScrollAreaPrimitive.Root> & ScrollAreaContextValue;\n\nfunction ScrollArea({\n __scopeScrollArea,\n children,\n className,\n size,\n ...props\n}: ScopedProps<ScrollAreaProps>): JSX.Element {\n return (\n <CarouselProvider scope={__scopeScrollArea} size={size}>\n <ScrollAreaPrimitive.Root className={cn('relative overflow-hidden', className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"size-full rounded-[inherit] [&>*]:h-full\">\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollAreaScrollbar orientation=\"vertical\" />\n <ScrollAreaScrollbar orientation=\"horizontal\" />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n </CarouselProvider>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\ntype ScrollAreaScrollbarProps = ComponentProps<typeof ScrollAreaPrimitive.Scrollbar>;\n\nfunction ScrollAreaScrollbar({\n __scopeScrollArea,\n className,\n orientation,\n ...props\n}: ScopedProps<ScrollAreaScrollbarProps>): JSX.Element {\n const { size } = useCarouselContext(SCROLL_AREA_NAME, __scopeScrollArea);\n\n return (\n <ScrollAreaPrimitive.Scrollbar\n className={scrollAreaScrollbarVariants({ className, orientation, size })}\n orientation={orientation}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"bg-border relative flex-1 rounded-full\" />\n </ScrollAreaPrimitive.Scrollbar>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { ScrollAreaProps, ScrollAreaScrollbarProps };\nexport { ScrollArea, ScrollAreaScrollbar };\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _tailwindvariants = require('tailwind-variants');var i=_tailwindvariants.tv.call(void 0, {base:"focus-visible:ring-ring focus-visible:ring-3 inline-flex shrink-0 select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium focus-visible:outline-none disabled:opacity-50 [&>svg]:shrink-0",variants:{icon:{false:"",true:"px-0"},inside:{false:"",true:""},size:{"2xs":"h-7 px-3 text-xs [&>svg]:size-3",xs:"h-8 px-3 text-xs [&>svg]:size-3.5",sm:"h-9 px-4 text-sm [&>svg]:size-4",md:"h-10 px-4 text-sm [&>svg]:size-4",lg:"h-11 px-4 text-sm [&>svg]:size-5",xl:"h-12 px-4 text-sm [&>svg]:size-5"},variant:{default:"bg-primary text-primary-foreground hover:not-disabled:bg-primary-hover",secondary:"bg-secondary text-secondary-foreground hover:not-disabled:bg-secondary-hover",destructive:"bg-destructive text-destructive-foreground hover:not-disabled:bg-destructive-hover",outline:"border-input not-disabled:shadow-xs hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground focus-visible:border-input-focus border",ghost:"hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground",link:"text-primary hover:not-disabled:underline underline-offset-4"}},defaultVariants:{icon:!1,inside:!1,size:"md",variant:"default"},compoundVariants:[{className:"w-7",icon:!0,size:"2xs"},{className:"w-8",icon:!0,size:"xs"},{className:"w-9",icon:!0,size:"sm"},{className:"w-10",icon:!0,size:"md"},{className:"w-11",icon:!0,size:"lg"},{className:"w-12",icon:!0,size:"xl"},{className:"h-6",inside:!0,size:"2xs"},{className:"h-6",inside:!0,size:"xs"},{className:"h-7",inside:!0,size:"sm"},{className:"h-8",inside:!0,size:"md"},{className:"h-9",inside:!0,size:"lg"},{className:"h-10",inside:!0,size:"xl"},{className:"w-6",icon:!0,inside:!0,size:"2xs"},{className:"w-6",icon:!0,inside:!0,size:"xs"},{className:"w-7",icon:!0,inside:!0,size:"sm"},{className:"w-8",icon:!0,inside:!0,size:"md"},{className:"w-9",icon:!0,inside:!0,size:"lg"},{className:"w-10",icon:!0,inside:!0,size:"xl"}]});exports.a = i;
2
+ //# sourceMappingURL=chunk-3EIIPNVC.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/variants/button.variants.ts"],"names":["buttonVariants","tv"],"mappings":"AAEA,8HAAmB,IAEbA,CAAAA,CAAiBC,kCAAAA,CACrB,IAAA,CAAM,0NAAA,CACN,QAAA,CAAU,CACR,IAAA,CAAM,CAAE,KAAA,CAAO,EAAA,CAAI,IAAA,CAAM,MAAO,CAAA,CAChC,MAAA,CAAQ,CAAE,KAAA,CAAO,EAAA,CAAI,IAAA,CAAM,EAAG,CAAA,CAC9B,IAAA,CAAM,CACJ,KAAA,CAAO,iCAAA,CACP,EAAA,CAAI,mCAAA,CACJ,EAAA,CAAI,iCAAA,CACJ,EAAA,CAAI,kCAAA,CACJ,EAAA,CAAI,kCAAA,CACJ,EAAA,CAAI,kCACN,CAAA,CACA,OAAA,CAAS,CACP,OAAA,CAAS,wEAAA,CACT,SAAA,CAAW,8EAAA,CACX,WAAA,CAAa,oFAAA,CACb,OAAA,CACE,0JAAA,CACF,KAAA,CAAO,8EAAA,CACP,IAAA,CAAM,8DACR,CACF,CAAA,CACA,eAAA,CAAiB,CACf,IAAA,CAAM,CAAA,CAAA,CACN,MAAA,CAAQ,CAAA,CAAA,CACR,IAAA,CAAM,IAAA,CACN,OAAA,CAAS,SACX,CAAA,CACA,gBAAA,CAAkB,CAChB,CAAE,SAAA,CAAW,KAAA,CAAO,IAAA,CAAM,CAAA,CAAA,CAAM,IAAA,CAAM,KAAM,CAAA,CAC5C,CAAE,SAAA,CAAW,KAAA,CAAO,IAAA,CAAM,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAC3C,CAAE,SAAA,CAAW,KAAA,CAAO,IAAA,CAAM,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAC3C,CAAE,SAAA,CAAW,MAAA,CAAQ,IAAA,CAAM,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAC5C,CAAE,SAAA,CAAW,MAAA,CAAQ,IAAA,CAAM,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAC5C,CAAE,SAAA,CAAW,MAAA,CAAQ,IAAA,CAAM,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAE5C,CAAE,SAAA,CAAW,KAAA,CAAO,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,KAAM,CAAA,CAC9C,CAAE,SAAA,CAAW,KAAA,CAAO,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAC7C,CAAE,SAAA,CAAW,KAAA,CAAO,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAC7C,CAAE,SAAA,CAAW,KAAA,CAAO,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAC7C,CAAE,SAAA,CAAW,KAAA,CAAO,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAC7C,CAAE,SAAA,CAAW,MAAA,CAAQ,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CAE9C,CAAE,SAAA,CAAW,KAAA,CAAO,IAAA,CAAM,CAAA,CAAA,CAAM,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,KAAM,CAAA,CAC1D,CAAE,SAAA,CAAW,KAAA,CAAO,IAAA,CAAM,CAAA,CAAA,CAAM,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CACzD,CAAE,SAAA,CAAW,KAAA,CAAO,IAAA,CAAM,CAAA,CAAA,CAAM,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CACzD,CAAE,SAAA,CAAW,KAAA,CAAO,IAAA,CAAM,CAAA,CAAA,CAAM,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CACzD,CAAE,SAAA,CAAW,KAAA,CAAO,IAAA,CAAM,CAAA,CAAA,CAAM,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAAA,CACzD,CAAE,SAAA,CAAW,MAAA,CAAQ,IAAA,CAAM,CAAA,CAAA,CAAM,MAAA,CAAQ,CAAA,CAAA,CAAM,IAAA,CAAM,IAAK,CAC5D,CACF,CAAC,CAAA,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-3EIIPNVC.cjs","sourcesContent":["import type { VariantProps } from 'tailwind-variants';\n\nimport { tv } from 'tailwind-variants';\n\nconst buttonVariants = tv({\n base: 'focus-visible:ring-ring focus-visible:ring-3 inline-flex shrink-0 select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium focus-visible:outline-none disabled:opacity-50 [&>svg]:shrink-0',\n variants: {\n icon: { false: '', true: 'px-0' },\n inside: { false: '', true: '' },\n size: {\n '2xs': 'h-7 px-3 text-xs [&>svg]:size-3', // 28px\n xs: 'h-8 px-3 text-xs [&>svg]:size-3.5', // 32px\n sm: 'h-9 px-4 text-sm [&>svg]:size-4', // 36px\n md: 'h-10 px-4 text-sm [&>svg]:size-4', // 40px\n lg: 'h-11 px-4 text-sm [&>svg]:size-5', // 44px\n xl: 'h-12 px-4 text-sm [&>svg]:size-5', // 48px\n },\n variant: {\n default: 'bg-primary text-primary-foreground hover:not-disabled:bg-primary-hover',\n secondary: 'bg-secondary text-secondary-foreground hover:not-disabled:bg-secondary-hover',\n destructive: 'bg-destructive text-destructive-foreground hover:not-disabled:bg-destructive-hover',\n outline:\n 'border-input not-disabled:shadow-xs hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground focus-visible:border-input-focus border',\n ghost: 'hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground',\n link: 'text-primary hover:not-disabled:underline underline-offset-4',\n },\n },\n defaultVariants: {\n icon: false,\n inside: false,\n size: 'md',\n variant: 'default',\n },\n compoundVariants: [\n { className: 'w-7', icon: true, size: '2xs' },\n { className: 'w-8', icon: true, size: 'xs' },\n { className: 'w-9', icon: true, size: 'sm' },\n { className: 'w-10', icon: true, size: 'md' },\n { className: 'w-11', icon: true, size: 'lg' },\n { className: 'w-12', icon: true, size: 'xl' },\n\n { className: 'h-6', inside: true, size: '2xs' },\n { className: 'h-6', inside: true, size: 'xs' },\n { className: 'h-7', inside: true, size: 'sm' },\n { className: 'h-8', inside: true, size: 'md' },\n { className: 'h-9', inside: true, size: 'lg' },\n { className: 'h-10', inside: true, size: 'xl' },\n\n { className: 'w-6', icon: true, inside: true, size: '2xs' },\n { className: 'w-6', icon: true, inside: true, size: 'xs' },\n { className: 'w-7', icon: true, inside: true, size: 'sm' },\n { className: 'w-8', icon: true, inside: true, size: 'md' },\n { className: 'w-9', icon: true, inside: true, size: 'lg' },\n { className: 'w-10', icon: true, inside: true, size: 'xl' },\n ],\n});\n\ntype ButtonVariantsProps = VariantProps<typeof buttonVariants>;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { ButtonVariantsProps };\nexport { buttonVariants };\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _jsxruntime = require('react/jsx-runtime');function d({className:r,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-card text-card-foreground rounded-lg border shadow-sm",r),...e})}function a({className:r,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex flex-col gap-y-1.5 p-6",r),...e})}function s({children:r,className:e,...n}){return _jsxruntime.jsx.call(void 0, "h3",{className:_chunkSMJEDCFPcjs.a.call(void 0, "font-semibold leading-none tracking-tight",e),...n,children:r})}function C({className:r,...e}){return _jsxruntime.jsx.call(void 0, "p",{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground text-sm",r),...e})}function i({className:r,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "p-6 pt-0",r),...e})}function m({className:r,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex items-center p-6 pt-0",r),...e})}exports.a = d; exports.b = a; exports.c = s; exports.d = C; exports.e = i; exports.f = m;
2
+ //# sourceMappingURL=chunk-3QLOE6JT.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-3QLOE6JT.cjs","../src/components/card.tsx"],"names":["Card","className","props","jsx","cn","CardHeader","CardTitle","children","CardDescription","CardContent","CardFooter"],"mappings":"AAAA,iIAAwC,+CCW/B,SADAA,CAAAA,CAAK,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA2B,CAC7D,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,0DAAG,CAA4DH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAC/G,CAQA,SAASG,CAAAA,CAAW,CAAE,SAAA,CAAAJ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAiC,CACzE,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,6BAAG,CAA+BH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAClF,CAQA,SAASI,CAAAA,CAAU,CAAE,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAN,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAgC,CACjF,OACEC,6BAAAA,IAAC,CAAA,CAAG,SAAA,CAAWC,iCAAAA,2CAAG,CAA6CH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAC5E,QAAA,CAAAK,CAAAA,CACH,CAEJ,CAQA,SAASC,CAAAA,CAAgB,CAAE,SAAA,CAAAP,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAsC,CACnF,OAAOC,6BAAAA,GAAC,CAAA,CAAE,SAAA,CAAWC,iCAAAA,+BAAG,CAAiCH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAClF,CAQA,SAASO,CAAAA,CAAY,CAAE,SAAA,CAAAR,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAkC,CAC3E,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,UAAG,CAAYH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAC/D,CAQA,SAASQ,CAAAA,CAAW,CAAE,SAAA,CAAAT,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAiC,CACzE,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,4BAAG,CAA8BH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CACjF,CAAA,yFAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-3QLOE6JT.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Card\n * -------------------------------------------------------------------------- */\n\ntype CardProps = ComponentProps<'div'>;\n\nfunction Card({ className, ...props }: CardProps): JSX.Element {\n return <div className={cn('bg-card text-card-foreground rounded-lg border shadow-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardHeader\n * -------------------------------------------------------------------------- */\n\ntype CardHeaderProps = ComponentProps<'div'>;\n\nfunction CardHeader({ className, ...props }: CardHeaderProps): JSX.Element {\n return <div className={cn('flex flex-col gap-y-1.5 p-6', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardTitle\n * -------------------------------------------------------------------------- */\n\ntype CardTitleProps = ComponentProps<'h3'>;\n\nfunction CardTitle({ children, className, ...props }: CardTitleProps): JSX.Element {\n return (\n <h3 className={cn('font-semibold leading-none tracking-tight', className)} {...props}>\n {children}\n </h3>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardDescription\n * -------------------------------------------------------------------------- */\n\ntype CardDescriptionProps = ComponentProps<'p'>;\n\nfunction CardDescription({ className, ...props }: CardDescriptionProps): JSX.Element {\n return <p className={cn('text-muted-foreground text-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardContent\n * -------------------------------------------------------------------------- */\n\ntype CardContentProps = ComponentProps<'div'>;\n\nfunction CardContent({ className, ...props }: CardContentProps): JSX.Element {\n return <div className={cn('p-6 pt-0', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardFooter\n * -------------------------------------------------------------------------- */\n\ntype CardFooterProps = ComponentProps<'div'>;\n\nfunction CardFooter({ className, ...props }: CardFooterProps): JSX.Element {\n return <div className={cn('flex items-center p-6 pt-0', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps };\nexport { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };\n"]}
@@ -0,0 +1,2 @@
1
+ "use client";import{a as i}from"./chunk-6FS62M4B.js";import{a as n}from"./chunk-OKUFCFYT.js";import{Drawer as t}from"vaul";import{jsx as o,jsxs as p}from"react/jsx-runtime";function P({shouldScaleBackground:r=!0,...e}){return o(t.Root,{shouldScaleBackground:r,...e})}var w=t.Trigger;function u({children:r,className:e,...a}){return p(t.Portal,{children:[o(t.Overlay,{className:"bg-popover-overlay fixed inset-0 z-50"}),p(t.Content,{className:n("bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-2xl border",e),...a,children:[o("div",{className:"bg-muted mx-auto my-3 h-1.5 w-12 rounded-full"}),r]})]})}function c({className:r,...e}){return o("div",{className:n("grid gap-1.5 p-4 text-center sm:text-left",r),...e})}function d({className:r,...e}){return o("main",{className:n("overflow-auto px-4 py-2",r),...e})}function f({className:r,...e}){return o("div",{className:n("mt-auto flex flex-col-reverse gap-2 p-4",r),...e})}function y({className:r,...e}){return o(t.Title,{className:n("text-lg font-semibold leading-none tracking-tight",r),...e})}function v({className:r,...e}){return o(t.Description,{className:n("text-muted-foreground text-sm",r),...e})}function g({className:r,size:e,variant:a="outline",...s}){return o(t.Close,{className:i({className:r,size:e,variant:a}),...s})}export{P as a,w as b,u as c,c as d,d as e,f,y as g,v as h,g as i};
2
+ //# sourceMappingURL=chunk-465NF254.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/drawer.tsx"],"names":["DrawerPrimitive","jsx","jsxs","Drawer","shouldScaleBackground","props","DrawerTrigger","DrawerContent","children","className","cn","DrawerHeader","DrawerBody","DrawerFooter","DrawerTitle","DrawerDescription","DrawerClose","size","variant","buttonVariants"],"mappings":"gFAIA,OAAS,UAAUA,MAAuB,OAcjC,cAAAC,EAoBH,QAAAC,MApBG,oBADT,SAASC,EAAO,CAAE,sBAAAC,EAAwB,GAAM,GAAGC,CAAM,EAA6B,CACpF,OAAOJ,EAACD,EAAgB,KAAhB,CAAqB,sBAAuBI,EAAwB,GAAGC,EAAO,CACxF,CAOA,IAAMC,EAAgBN,EAAgB,QAQtC,SAASO,EAAc,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGJ,CAAM,EAAoC,CACzF,OACEH,EAACF,EAAgB,OAAhB,CACC,UAAAC,EAACD,EAAgB,QAAhB,CAAwB,UAAU,wCAAwC,EAC3EE,EAACF,EAAgB,QAAhB,CACC,UAAWU,EACT,8FACAD,CACF,EACC,GAAGJ,EAEJ,UAAAJ,EAAC,OAAI,UAAU,gDAAgD,EAC9DO,GACH,GACF,CAEJ,CAQA,SAASG,EAAa,CAAE,UAAAF,EAAW,GAAGJ,CAAM,EAAmC,CAC7E,OAAOJ,EAAC,OAAI,UAAWS,EAAG,4CAA6CD,CAAS,EAAI,GAAGJ,EAAO,CAChG,CAQA,SAASO,EAAW,CAAE,UAAAH,EAAW,GAAGJ,CAAM,EAAiC,CACzE,OAAOJ,EAAC,QAAK,UAAWS,EAAG,0BAA2BD,CAAS,EAAI,GAAGJ,EAAO,CAC/E,CAQA,SAASQ,EAAa,CAAE,UAAAJ,EAAW,GAAGJ,CAAM,EAAmC,CAC7E,OAAOJ,EAAC,OAAI,UAAWS,EAAG,0CAA2CD,CAAS,EAAI,GAAGJ,EAAO,CAC9F,CAQA,SAASS,EAAY,CAAE,UAAAL,EAAW,GAAGJ,CAAM,EAAkC,CAC3E,OACEJ,EAACD,EAAgB,MAAhB,CAAsB,UAAWU,EAAG,oDAAqDD,CAAS,EAAI,GAAGJ,EAAO,CAErH,CAQA,SAASU,EAAkB,CAAE,UAAAN,EAAW,GAAGJ,CAAM,EAAwC,CACvF,OAAOJ,EAACD,EAAgB,YAAhB,CAA4B,UAAWU,EAAG,gCAAiCD,CAAS,EAAI,GAAGJ,EAAO,CAC5G,CAWA,SAASW,EAAY,CAAE,UAAAP,EAAW,KAAAQ,EAAM,QAAAC,EAAU,UAAW,GAAGb,CAAM,EAAkC,CACtG,OAAOJ,EAACD,EAAgB,MAAhB,CAAsB,UAAWmB,EAAe,CAAE,UAAAV,EAAW,KAAAQ,EAAM,QAAAC,CAAQ,CAAC,EAAI,GAAGb,EAAO,CACpG","sourcesContent":["'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport { Drawer as DrawerPrimitive } from 'vaul';\n\nimport type { ButtonVariantsProps } from '@/variants/button.variants';\n\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/variants/button.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Drawer\n * -------------------------------------------------------------------------- */\n\ntype DrawerProps = ComponentProps<typeof DrawerPrimitive.Root>;\n\nfunction Drawer({ shouldScaleBackground = true, ...props }: DrawerProps): JSX.Element {\n return <DrawerPrimitive.Root shouldScaleBackground={shouldScaleBackground} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTrigger\n * -------------------------------------------------------------------------- */\n\ntype DrawerTriggerProps = ComponentProps<typeof DrawerPrimitive.Trigger>;\nconst DrawerTrigger = DrawerPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerContent\n * -------------------------------------------------------------------------- */\n\ntype DrawerContentProps = ComponentProps<typeof DrawerPrimitive.Content>;\n\nfunction DrawerContent({ children, className, ...props }: DrawerContentProps): JSX.Element {\n return (\n <DrawerPrimitive.Portal>\n <DrawerPrimitive.Overlay className=\"bg-popover-overlay fixed inset-0 z-50\" />\n <DrawerPrimitive.Content\n className={cn(\n 'bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-2xl border',\n className,\n )}\n {...props}\n >\n <div className=\"bg-muted mx-auto my-3 h-1.5 w-12 rounded-full\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerHeader\n * -------------------------------------------------------------------------- */\n\ntype DrawerHeaderProps = ComponentProps<'div'>;\n\nfunction DrawerHeader({ className, ...props }: DrawerHeaderProps): JSX.Element {\n return <div className={cn('grid gap-1.5 p-4 text-center sm:text-left', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerBody\n * -------------------------------------------------------------------------- */\n\ntype DrawerBodyProps = ComponentProps<'div'>;\n\nfunction DrawerBody({ className, ...props }: DrawerBodyProps): JSX.Element {\n return <main className={cn('overflow-auto px-4 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerFooter\n * -------------------------------------------------------------------------- */\n\ntype DrawerFooterProps = ComponentProps<'div'>;\n\nfunction DrawerFooter({ className, ...props }: DrawerFooterProps): JSX.Element {\n return <div className={cn('mt-auto flex flex-col-reverse gap-2 p-4', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTitle\n * -------------------------------------------------------------------------- */\n\ntype DrawerTitleProps = ComponentProps<typeof DrawerPrimitive.Title>;\n\nfunction DrawerTitle({ className, ...props }: DrawerTitleProps): JSX.Element {\n return (\n <DrawerPrimitive.Title className={cn('text-lg font-semibold leading-none tracking-tight', className)} {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerDescription\n * -------------------------------------------------------------------------- */\n\ntype DrawerDescriptionProps = ComponentProps<typeof DrawerPrimitive.Description>;\n\nfunction DrawerDescription({ className, ...props }: DrawerDescriptionProps): JSX.Element {\n return <DrawerPrimitive.Description className={cn('text-muted-foreground text-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerClose\n * -------------------------------------------------------------------------- */\n\ninterface DrawerCloseProps extends ComponentProps<typeof DrawerPrimitive.Close> {\n size?: ButtonVariantsProps['size'];\n variant?: ButtonVariantsProps['variant'];\n}\n\nfunction DrawerClose({ className, size, variant = 'outline', ...props }: DrawerCloseProps): JSX.Element {\n return <DrawerPrimitive.Close className={buttonVariants({ className, size, variant })} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n DrawerBodyProps,\n DrawerCloseProps,\n DrawerContentProps,\n DrawerDescriptionProps,\n DrawerFooterProps,\n DrawerHeaderProps,\n DrawerProps,\n DrawerTitleProps,\n DrawerTriggerProps,\n};\nexport {\n Drawer,\n DrawerBody,\n DrawerClose,\n DrawerContent,\n DrawerDescription,\n DrawerFooter,\n DrawerHeader,\n DrawerTitle,\n DrawerTrigger,\n};\n"]}
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-DOVVSNGI.js";import*as t from"@radix-ui/react-toggle";import{jsx as n,jsxs as l}from"react/jsx-runtime";function P({children:o,className:r,icon:g,prefix:i,size:p,suffix:a,variant:s,...m}){return l(t.Root,{className:e({className:r,icon:g,size:p,variant:s}),...m,children:[i,typeof o=="string"?n("span",{className:"truncate",children:o}):o,a]})}export{P as a};
2
- //# sourceMappingURL=chunk-AC4NC5OP.js.map
1
+ import{a as e}from"./chunk-XJZWYO4Y.js";import*as t from"@radix-ui/react-toggle";import{jsx as n,jsxs as l}from"react/jsx-runtime";function P({children:o,className:r,icon:g,prefix:i,size:p,suffix:a,variant:s,...m}){return l(t.Root,{className:e({className:r,icon:g,size:p,variant:s}),...m,children:[i,typeof o=="string"?n("span",{className:"truncate",children:o}):o,a]})}export{P as a};
2
+ //# sourceMappingURL=chunk-4BADV3FT.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkLGRBC237cjs = require('./chunk-LGRBC237.cjs');var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactcontext = require('@radix-ui/react-context');var _reacttogglegroup = require('@radix-ui/react-toggle-group'); var t = _interopRequireWildcard(_reacttogglegroup);var _jsxruntime = require('react/jsx-runtime');var u="ToggleGroup",[T]=_reactcontext.createContextScope.call(void 0, u,[_reacttogglegroup.createToggleGroupScope]),G=_reacttogglegroup.createToggleGroupScope.call(void 0, ),[f,S]=T(u);function R({__scopeToggleGroup:o,children:e,className:r,icon:p,size:g,variant:i,...s}){let n=G(o);return _jsxruntime.jsx.call(void 0, f,{icon:p,scope:o,size:g,variant:i,children:_jsxruntime.jsx.call(void 0, t.Root,{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex items-center justify-center gap-1.5",r),...n,...s,children:e})})}var v="ToggleGroupItem";function E({__scopeToggleGroup:o,children:e,className:r,prefix:p,suffix:g,...i}){let s=S(v,o),n=G(o);return _jsxruntime.jsxs.call(void 0, t.Item,{className:_chunkLGRBC237cjs.a.call(void 0, {...s,className:r}),...n,...i,children:[p,typeof e=="string"?_jsxruntime.jsx.call(void 0, "span",{className:"truncate",children:e}):e,g]})}exports.a = R; exports.b = E;
2
- //# sourceMappingURL=chunk-SLERFKD5.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkFS4CRFFUcjs = require('./chunk-FS4CRFFU.cjs');var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactcontext = require('@radix-ui/react-context');var _reacttogglegroup = require('@radix-ui/react-toggle-group'); var t = _interopRequireWildcard(_reacttogglegroup);var _jsxruntime = require('react/jsx-runtime');var u="ToggleGroup",[T]=_reactcontext.createContextScope.call(void 0, u,[_reacttogglegroup.createToggleGroupScope]),G=_reacttogglegroup.createToggleGroupScope.call(void 0, ),[f,S]=T(u);function R({__scopeToggleGroup:o,children:e,className:r,icon:p,size:g,variant:i,...s}){let n=G(o);return _jsxruntime.jsx.call(void 0, f,{icon:p,scope:o,size:g,variant:i,children:_jsxruntime.jsx.call(void 0, t.Root,{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex items-center justify-center gap-1.5",r),...n,...s,children:e})})}var v="ToggleGroupItem";function E({__scopeToggleGroup:o,children:e,className:r,prefix:p,suffix:g,...i}){let s=S(v,o),n=G(o);return _jsxruntime.jsxs.call(void 0, t.Item,{className:_chunkFS4CRFFUcjs.a.call(void 0, {...s,className:r}),...n,...i,children:[p,typeof e=="string"?_jsxruntime.jsx.call(void 0, "span",{className:"truncate",children:e}):e,g]})}exports.a = R; exports.b = E;
2
+ //# sourceMappingURL=chunk-57Y4FSTL.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-SLERFKD5.cjs","../src/components/toggle-group.tsx"],"names":["ToggleGroupPrimitive","useToggleGroupScope","createToggleGroupScope","ToggleGroupProvider","useToggleGroupContext","createToggleGroupContext","TOGGLE_GROUP_NAME","ToggleGroup","children","className","size","props","toggleGroupScope","jsx","__scopeToggleGroup","cn","context","TOGGLE_GROUP_ITEM_NAME","jsxs","toggleVariants","prefix"],"mappings":"AAAA,uWAAY,CAAC,wDAAmC,wDCKvC,uDACGA,oHACH,+CAWiB,IAAA,CAAA,CAAA,aAIuE,CAE3FC,CAAAA,CAAsBC,CAAAA,CAAuB,8CAAA,CAE5CC,CAAAA,CAAqBC,wCAAqB,CAAA,CAAIC,CAAAA,CAA8CC,CAAiB,sDAAA,CAIpH,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAASC,CAAAA,CAAY,CACnB,CAAA,SAAA,CAAA,CAAA,CAAA,kBACAC,CACA,CAAA,CAAA,QAAAC,CAAAA,CACA,CAAA,SACA,CAAA,CAAAC,CAAAA,IACA,CAAA,CAAA,CAAA,IACA,CAAA,CAAA,CAAGC,OAEH,CAAMC,CAAAA,CAAmBX,GAAsC,CAAA,CAE/D,CAAA,CAAA,IAAA,CACEY,CAAAA,CAACV,CAAAA,CAAA,CAAoB,CAAA,OAAY,6BAAA,CAAA,CAAA,CAAOW,IAAoB,CAAA,CAAA,CAAMJ,KAAM,CAAA,CAAA,CAAA,IACtE,CAAA,CAAA,CAAA,OAAAG,CAAsB,CAAA,CAAA,QACpB,CAAA,6BAAA,CAAA,CAAA,IAAWE,CAAG,CAAA,SAAA,CAAA,iCAAA,0CAEVJ,CAEH,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,GACH,CAAA,CACF,QAQ2B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA,iBAQ7B,CAAA,SAAA,CAAA,CAAA,CAAA,kBACAH,CACA,CAAA,CAAA,QAAAC,CAAAA,CACA,CAAA,SACA,CAAA,CAAA,CAAA,MACA,CAAA,CAAGE,CACL,MACE,CAAMK,CAAAA,CAAUZ,GAAsBa,CAAwBH,CAAkB,CAAA,CAC1EF,IAAuCE,CAAkB,CAAA,CAE/D,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACEI,CAAAA,CAAsB,CAAA,CAAA,CAAA,CAAA,OAAK,8BAAA,CAAA,CAAA,IAAWC,CAAe,CAAE,SAAY,CAAA,iCAAA,CAAA,GAAU,CAAC,CAAA,SAA6BR,CAAAA,CACxG,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,GAAAS,CACA,CAAA,QAAOZ,CAAa,CAAA,CAAA,CAAA,OAAWK,CAAC,EAAA,QAAK,CAAA,6BAAA,MAAU,CAAA,CAAA,SAAY,CAAA,UAAS,CAAUL,QAIrF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6BAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-SLERFKD5.cjs","sourcesContent":[null,"'use client';\n\nimport type { Scope } from '@radix-ui/react-context';\nimport type { ComponentProps, JSX, ReactNode } from 'react';\n\nimport { createContextScope } from '@radix-ui/react-context';\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';\nimport { createToggleGroupScope } from '@radix-ui/react-toggle-group';\n\nimport type { ToggleVariantsProps } from '@/variants/toggle.variants';\n\nimport { cn } from '@/lib/utils';\nimport { toggleVariants } from '@/variants/toggle.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroup\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_NAME = 'ToggleGroup';\n\ntype ScopedProps<P> = P & { __scopeToggleGroup?: Scope };\n\nconst [createToggleGroupContext] = createContextScope(TOGGLE_GROUP_NAME, [createToggleGroupScope]);\n\nconst useToggleGroupScope = createToggleGroupScope();\n\nconst [ToggleGroupProvider, useToggleGroupContext] = createToggleGroupContext<ToggleVariantsProps>(TOGGLE_GROUP_NAME);\n\ntype ToggleGroupProps = ComponentProps<typeof ToggleGroupPrimitive.Root> & ToggleVariantsProps;\n\nfunction ToggleGroup({\n __scopeToggleGroup,\n children,\n className,\n icon,\n size,\n variant,\n ...props\n}: ScopedProps<ToggleGroupProps>): JSX.Element {\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupProvider icon={icon} scope={__scopeToggleGroup} size={size} variant={variant}>\n <ToggleGroupPrimitive.Root\n className={cn('flex items-center justify-center gap-1.5', className)}\n {...toggleGroupScope}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Root>\n </ToggleGroupProvider>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroupItem\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_ITEM_NAME = 'ToggleGroupItem';\n\ninterface ToggleGroupItemProps extends Omit<ComponentProps<typeof ToggleGroupPrimitive.Item>, 'prefix'> {\n prefix?: ReactNode;\n suffix?: ReactNode;\n}\n\nfunction ToggleGroupItem({\n __scopeToggleGroup,\n children,\n className,\n prefix,\n suffix,\n ...props\n}: ScopedProps<ToggleGroupItemProps>): JSX.Element {\n const context = useToggleGroupContext(TOGGLE_GROUP_ITEM_NAME, __scopeToggleGroup);\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupPrimitive.Item className={toggleVariants({ ...context, className })} {...toggleGroupScope} {...props}>\n {prefix}\n {typeof children === 'string' ? <span className=\"truncate\">{children}</span> : children}\n {suffix}\n </ToggleGroupPrimitive.Item>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { ToggleGroupItemProps, ToggleGroupProps };\nexport { ToggleGroup, ToggleGroupItem };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-57Y4FSTL.cjs","../src/components/toggle-group.tsx"],"names":["ToggleGroupPrimitive","useToggleGroupScope","createToggleGroupScope","ToggleGroupProvider","useToggleGroupContext","createToggleGroupContext","TOGGLE_GROUP_NAME","ToggleGroup","children","className","size","props","toggleGroupScope","jsx","__scopeToggleGroup","cn","context","TOGGLE_GROUP_ITEM_NAME","jsxs","toggleVariants","prefix"],"mappings":"AAAA,uWAAY,CAAC,wDAAmC,wDCKvC,uDACGA,oHACH,+CAWiB,IAAA,CAAA,CAAA,aAIuE,CAE3FC,CAAAA,CAAsBC,CAAAA,CAAuB,8CAAA,CAE5CC,CAAAA,CAAqBC,wCAAqB,CAAA,CAAIC,CAAAA,CAA8CC,CAAiB,sDAAA,CAIpH,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAASC,CAAAA,CAAY,CACnB,CAAA,SAAA,CAAA,CAAA,CAAA,kBACAC,CACA,CAAA,CAAA,QAAAC,CAAAA,CACA,CAAA,SACA,CAAA,CAAAC,CAAAA,IACA,CAAA,CAAA,CAAA,IACA,CAAA,CAAA,CAAGC,OAEH,CAAMC,CAAAA,CAAmBX,GAAsC,CAAA,CAE/D,CAAA,CAAA,IAAA,CACEY,CAAAA,CAACV,CAAAA,CAAA,CAAoB,CAAA,OAAY,6BAAA,CAAA,CAAA,CAAOW,IAAoB,CAAA,CAAA,CAAMJ,KAAM,CAAA,CAAA,CAAA,IACtE,CAAA,CAAA,CAAA,OAAAG,CAAsB,CAAA,CAAA,QACpB,CAAA,6BAAA,CAAA,CAAA,IAAWE,CAAG,CAAA,SAAA,CAAA,iCAAA,0CAEVJ,CAEH,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,GACH,CAAA,CACF,QAQ2B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA,iBAQ7B,CAAA,SAAA,CAAA,CAAA,CAAA,kBACAH,CACA,CAAA,CAAA,QAAAC,CAAAA,CACA,CAAA,SACA,CAAA,CAAA,CAAA,MACA,CAAA,CAAGE,CACL,MACE,CAAMK,CAAAA,CAAUZ,GAAsBa,CAAwBH,CAAkB,CAAA,CAC1EF,IAAuCE,CAAkB,CAAA,CAE/D,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACEI,CAAAA,CAAsB,CAAA,CAAA,CAAA,CAAA,OAAK,8BAAA,CAAA,CAAA,IAAWC,CAAe,CAAE,SAAY,CAAA,iCAAA,CAAA,GAAU,CAAC,CAAA,SAA6BR,CAAAA,CACxG,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,GAAAS,CACA,CAAA,QAAOZ,CAAa,CAAA,CAAA,CAAA,OAAWK,CAAC,EAAA,QAAK,CAAA,6BAAA,MAAU,CAAA,CAAA,SAAY,CAAA,UAAS,CAAUL,QAIrF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6BAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-57Y4FSTL.cjs","sourcesContent":[null,"'use client';\n\nimport type { Scope } from '@radix-ui/react-context';\nimport type { ComponentProps, JSX, ReactNode } from 'react';\n\nimport { createContextScope } from '@radix-ui/react-context';\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';\nimport { createToggleGroupScope } from '@radix-ui/react-toggle-group';\n\nimport type { ToggleVariantsProps } from '@/variants/toggle.variants';\n\nimport { cn } from '@/lib/utils';\nimport { toggleVariants } from '@/variants/toggle.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroup\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_NAME = 'ToggleGroup';\n\ntype ScopedProps<P> = P & { __scopeToggleGroup?: Scope };\n\nconst [createToggleGroupContext] = createContextScope(TOGGLE_GROUP_NAME, [createToggleGroupScope]);\n\nconst useToggleGroupScope = createToggleGroupScope();\n\nconst [ToggleGroupProvider, useToggleGroupContext] = createToggleGroupContext<ToggleVariantsProps>(TOGGLE_GROUP_NAME);\n\ntype ToggleGroupProps = ComponentProps<typeof ToggleGroupPrimitive.Root> & ToggleVariantsProps;\n\nfunction ToggleGroup({\n __scopeToggleGroup,\n children,\n className,\n icon,\n size,\n variant,\n ...props\n}: ScopedProps<ToggleGroupProps>): JSX.Element {\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupProvider icon={icon} scope={__scopeToggleGroup} size={size} variant={variant}>\n <ToggleGroupPrimitive.Root\n className={cn('flex items-center justify-center gap-1.5', className)}\n {...toggleGroupScope}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Root>\n </ToggleGroupProvider>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroupItem\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_ITEM_NAME = 'ToggleGroupItem';\n\ninterface ToggleGroupItemProps extends Omit<ComponentProps<typeof ToggleGroupPrimitive.Item>, 'prefix'> {\n prefix?: ReactNode;\n suffix?: ReactNode;\n}\n\nfunction ToggleGroupItem({\n __scopeToggleGroup,\n children,\n className,\n prefix,\n suffix,\n ...props\n}: ScopedProps<ToggleGroupItemProps>): JSX.Element {\n const context = useToggleGroupContext(TOGGLE_GROUP_ITEM_NAME, __scopeToggleGroup);\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupPrimitive.Item className={toggleVariants({ ...context, className })} {...toggleGroupScope} {...props}>\n {prefix}\n {typeof children === 'string' ? <span className=\"truncate\">{children}</span> : children}\n {suffix}\n </ToggleGroupPrimitive.Item>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { ToggleGroupItemProps, ToggleGroupProps };\nexport { ToggleGroup, ToggleGroupItem };\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunk3EIIPNVCcjs = require('./chunk-3EIIPNVC.cjs');var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactnavigationmenu = require('@radix-ui/react-navigation-menu'); var t = _interopRequireWildcard(_reactnavigationmenu);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function N({children:i,className:e,...a}){return _jsxruntime.jsxs.call(void 0, t.Root,{className:_chunkSMJEDCFPcjs.a.call(void 0, "relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:[i,_jsxruntime.jsx.call(void 0, p,{})]})}function l({children:i,className:e,...a}){return _jsxruntime.jsxs.call(void 0, t.List,{className:_chunkSMJEDCFPcjs.a.call(void 0, "group flex flex-1 list-none items-center justify-center space-x-1",e),...a,children:[i,_jsxruntime.jsx.call(void 0, u,{})]})}var f=t.Item;function P({children:i,className:e,...a}){return _jsxruntime.jsxs.call(void 0, t.Trigger,{className:_chunk3EIIPNVCcjs.a.call(void 0, {className:["data-[state=open]:bg-accent data-[state=open]:text-accent-foreground group",e],variant:"ghost"}),...a,children:[i,_jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon,{"aria-hidden":"true",className:_chunkSMJEDCFPcjs.a.call(void 0, "relative top-px ml-1 size-3 transition group-data-[state=open]:rotate-180")})]})}function M({className:i,...e}){return _jsxruntime.jsx.call(void 0, t.Content,{className:_chunkSMJEDCFPcjs.a.call(void 0, "data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in-0 data-[motion=from-end]:slide-from-r-52 data-[motion=from-start]:slide-from-l-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out-0 data-[motion=to-end]:slide-to-r-52 data-[motion=to-start]:slide-to-l-52 left-0 top-0 w-full md:absolute md:w-auto",i),...e})}var c=t.Link;function p({className:i,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:"perspective-2000 absolute left-0 top-full flex justify-center",children:_jsxruntime.jsx.call(void 0, t.Viewport,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-popover text-popover-foreground h-(--radix-navigation-menu-viewport-height) sm:w-(--radix-navigation-menu-viewport-width) data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 relative mt-2 w-full origin-[top_center] overflow-hidden rounded-lg border p-1 shadow-lg transition-[width,height]",i),...e})})}function u({className:i,...e}){return _jsxruntime.jsx.call(void 0, t.Indicator,{className:_chunkSMJEDCFPcjs.a.call(void 0, "data-[state=visible]:animate-fade-in data-[state=visible]:animation-duration-100 data-[state=hidden]:animate-fade-out data-[state=hidden]:animation-duration-100 data-[state=hidden]:animation-ease-[cubic-bezier(0.32, 0.72, 0, 1)] top-full z-10 flex h-2 origin-[bottom_center] items-center justify-center overflow-hidden transition",i),...e,children:_jsxruntime.jsx.call(void 0, "div",{className:"bg-popover text-popover-foreground rounded-tl-xs relative top-[60%] size-2.5 rotate-45"})})}exports.a = N; exports.b = l; exports.c = f; exports.d = P; exports.e = M; exports.f = c;
2
+ //# sourceMappingURL=chunk-5AQNU5FF.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-5AQNU5FF.cjs","../src/components/navigation-menu.tsx"],"names":["NavigationMenu","children","className","props","jsxs","cn","jsx","NavigationMenuViewport","NavigationMenuList","NavigationMenuIndicator","NavigationMenuItem","NavigationMenuTrigger","buttonVariants","ChevronDownIcon","NavigationMenuContent","NavigationMenuLink"],"mappings":"AAAA,mZAAwC,wDAAyC,6HCExC,2CACT,+CAa5B,SAFKA,CAAAA,CAAe,CAAE,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAqC,CAC3F,OACEC,8BAAAA,CAAyB,CAAA,IAAA,CAAxB,CACC,SAAA,CAAWC,iCAAAA,iEAAG,CAAmEH,CAAS,CAAA,CACzF,GAAGC,CAAAA,CAEH,QAAA,CAAA,CAAAF,CAAAA,CACDK,6BAAAA,CAACC,CAAA,CAAA,CAAuB,CAAA,CAAA,CAC1B,CAEJ,CAQA,SAASC,CAAAA,CAAmB,CAAE,QAAA,CAAAP,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAyC,CACnG,OACEC,8BAAAA,CAAyB,CAAA,IAAA,CAAxB,CACC,SAAA,CAAWC,iCAAAA,mEAAG,CAAqEH,CAAS,CAAA,CAC3F,GAAGC,CAAAA,CAEH,QAAA,CAAA,CAAAF,CAAAA,CACDK,6BAAAA,CAACG,CAAA,CAAA,CAAwB,CAAA,CAAA,CAC3B,CAEJ,CAQA,IAAMC,CAAAA,CAA6C,CAAA,CAAA,IAAA,CAQnD,SAASC,CAAAA,CAAsB,CAAE,QAAA,CAAAV,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA4C,CACzG,OACEC,8BAAAA,CAAyB,CAAA,OAAA,CAAxB,CACC,SAAA,CAAWQ,iCAAAA,CACT,SAAA,CAAW,CAAC,4EAAA,CAA8EV,CAAS,CAAA,CACnG,OAAA,CAAS,OACX,CAAC,CAAA,CACA,GAAGC,CAAAA,CAEH,QAAA,CAAA,CAAAF,CAAAA,CACDK,6BAAAA,4BAACO,CAAA,CACC,aAAA,CAAY,MAAA,CACZ,SAAA,CAAWR,iCAAAA,2EAA8E,CAAA,CAC3F,CAAA,CAAA,CACF,CAEJ,CAQA,SAASS,CAAAA,CAAsB,CAAE,SAAA,CAAAZ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA4C,CAC/F,OACEG,6BAAAA,CAAyB,CAAA,OAAA,CAAxB,CACC,SAAA,CAAWD,iCAAAA,+TACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEJ,CAQA,IAAMY,CAAAA,CAA6C,CAAA,CAAA,IAAA,CAQnD,SAASR,CAAAA,CAAuB,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA6C,CACjG,OACEG,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,+DAAA,CACb,QAAA,CAAAA,6BAAAA,CAAyB,CAAA,QAAA,CAAxB,CACC,SAAA,CAAWD,iCAAAA,saACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAAA,CACF,CAEJ,CAQA,SAASM,CAAAA,CAAwB,CAAE,SAAA,CAAAP,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA8C,CACnG,OACEG,6BAAAA,CAAyB,CAAA,SAAA,CAAxB,CACC,SAAA,CAAWD,iCAAAA,2UACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CAEJ,QAAA,CAAAG,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,wFAAA,CAAyF,CAAA,CAC1G,CAEJ,CAAA,yFAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-5AQNU5FF.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { ChevronDownIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/variants/button.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenu\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuProps = ComponentProps<typeof NavigationMenuPrimitive.Root>;\n\nfunction NavigationMenu({ children, className, ...props }: NavigationMenuProps): JSX.Element {\n return (\n <NavigationMenuPrimitive.Root\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuList\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuListProps = ComponentProps<typeof NavigationMenuPrimitive.List>;\n\nfunction NavigationMenuList({ children, className, ...props }: NavigationMenuListProps): JSX.Element {\n return (\n <NavigationMenuPrimitive.List\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n >\n {children}\n <NavigationMenuIndicator />\n </NavigationMenuPrimitive.List>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuItem\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuItemProps = ComponentProps<typeof NavigationMenuPrimitive.Item>;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuTriggerProps = ComponentProps<typeof NavigationMenuPrimitive.Trigger>;\n\nfunction NavigationMenuTrigger({ children, className, ...props }: NavigationMenuTriggerProps): JSX.Element {\n return (\n <NavigationMenuPrimitive.Trigger\n className={buttonVariants({\n className: ['data-[state=open]:bg-accent data-[state=open]:text-accent-foreground group', className],\n variant: 'ghost',\n })}\n {...props}\n >\n {children}\n <ChevronDownIcon\n aria-hidden=\"true\"\n className={cn('relative top-px ml-1 size-3 transition group-data-[state=open]:rotate-180')}\n />\n </NavigationMenuPrimitive.Trigger>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuContentProps = ComponentProps<typeof NavigationMenuPrimitive.Content>;\n\nfunction NavigationMenuContent({ className, ...props }: NavigationMenuContentProps): JSX.Element {\n return (\n <NavigationMenuPrimitive.Content\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in-0 data-[motion=from-end]:slide-from-r-52 data-[motion=from-start]:slide-from-l-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out-0 data-[motion=to-end]:slide-to-r-52 data-[motion=to-start]:slide-to-l-52 left-0 top-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuLink\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuLinkProps = ComponentProps<typeof NavigationMenuPrimitive.Link>;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuViewport\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuViewportProps = ComponentProps<typeof NavigationMenuPrimitive.Viewport>;\n\nfunction NavigationMenuViewport({ className, ...props }: NavigationMenuViewportProps): JSX.Element {\n return (\n <div className=\"perspective-2000 absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n className={cn(\n 'bg-popover text-popover-foreground h-(--radix-navigation-menu-viewport-height) sm:w-(--radix-navigation-menu-viewport-width) data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 relative mt-2 w-full origin-[top_center] overflow-hidden rounded-lg border p-1 shadow-lg transition-[width,height]',\n className,\n )}\n {...props}\n />\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuIndicator\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuIndicatorProps = ComponentProps<typeof NavigationMenuPrimitive.Indicator>;\n\nfunction NavigationMenuIndicator({ className, ...props }: NavigationMenuIndicatorProps): JSX.Element {\n return (\n <NavigationMenuPrimitive.Indicator\n className={cn(\n 'data-[state=visible]:animate-fade-in data-[state=visible]:animation-duration-100 data-[state=hidden]:animate-fade-out data-[state=hidden]:animation-duration-100 data-[state=hidden]:animation-ease-[cubic-bezier(0.32, 0.72, 0, 1)] top-full z-10 flex h-2 origin-[bottom_center] items-center justify-center overflow-hidden transition',\n className,\n )}\n {...props}\n >\n <div className=\"bg-popover text-popover-foreground rounded-tl-xs relative top-[60%] size-2.5 rotate-45\" />\n </NavigationMenuPrimitive.Indicator>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n NavigationMenuContentProps,\n NavigationMenuItemProps,\n NavigationMenuLinkProps,\n NavigationMenuListProps,\n NavigationMenuProps,\n NavigationMenuTriggerProps,\n};\nexport {\n NavigationMenu,\n NavigationMenuContent,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n NavigationMenuTrigger,\n};\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _primitive = require('@radix-ui/primitive');var _jsxruntime = require('react/jsx-runtime');function c({className:r,onChange:i,onValueChange:n,...o}){return _jsxruntime.jsx.call(void 0, "input",{className:_chunkSMJEDCFPcjs.a.call(void 0, "peer appearance-none","border-input shadow-xs inline-flex size-4 shrink-0 items-center justify-center rounded-full border transition","hover:not-disabled:border-primary","checked:border-primary checked:bg-primary","after:bg-background after:size-full after:rounded-full after:transition-[width,height]","checked:after:size-1","focus-visible:ring-ring/40 focus-visible:ring-3 focus-visible:outline-none","disabled:opacity-50",r),type:"radio",onChange:_primitive.composeEventHandlers.call(void 0, i,t=>_optionalChain([n, 'optionalCall', _ => _(t.currentTarget.value)])),...o})}exports.a = c;
2
- //# sourceMappingURL=chunk-5E2J7DPU.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _primitive = require('@radix-ui/primitive');var _jsxruntime = require('react/jsx-runtime');function c({className:r,onChange:n,onValueChange:o,...i}){return _jsxruntime.jsx.call(void 0, "input",{className:_chunkSMJEDCFPcjs.a.call(void 0, "border-input hover:not-disabled:not-checked:border-input-hover checked:border-primary checked:bg-primary after:bg-background focus-visible:ring-ring focus-visible:ring-3 not-disabled:shadow-xs peer inline-flex size-4 shrink-0 appearance-none items-center justify-center rounded-full border transition after:size-full after:rounded-full after:transition-[width,height] checked:after:size-1 focus-visible:outline-none disabled:opacity-50",r),type:"radio",onChange:_primitive.composeEventHandlers.call(void 0, n,t=>_optionalChain([o, 'optionalCall', _ => _(t.currentTarget.value)])),...i})}exports.a = c;
2
+ //# sourceMappingURL=chunk-62L2GZO7.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-62L2GZO7.cjs","../src/components/radio.tsx"],"names":["className","onChange","cn","event","props"],"mappings":"AAAA,ylBAAY,CAAC,wDCIJ,gDAcL,+CAFa,SAAAA,CAAAA,CAAW,CAAA,SAAAC,CAAU,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,aACpC,CAAA,CAAA,CAAA,GACG,CAAA,CAAA,CAAA,CAAA,OACC,6BAAA,OAAWC,CACT,CAAA,SAAA,CAAA,iCAAA,qbAGG,CAAA,CAAA,CAAA,CACL,IAAA,CAAA,OAA+BD,CAAWE,QAA0BA,CAAM,6CAAA,CAAA,CAAA,CAAA,kBAAA,CAAA,wBAAA,CAAA,CAAA,CAAA,aACtEC,CACN,KAEJ,GAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-62L2GZO7.cjs","sourcesContent":[null,"'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport { composeEventHandlers } from '@radix-ui/primitive';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Radio\n * -------------------------------------------------------------------------- */\n\ninterface RadioProps extends Omit<ComponentProps<'input'>, 'type'> {\n onValueChange?: (value: string) => void;\n}\n\nfunction Radio({ className, onChange, onValueChange, ...props }: RadioProps): JSX.Element {\n return (\n <input\n className={cn(\n 'border-input hover:not-disabled:not-checked:border-input-hover checked:border-primary checked:bg-primary after:bg-background focus-visible:ring-ring focus-visible:ring-3 not-disabled:shadow-xs peer inline-flex size-4 shrink-0 appearance-none items-center justify-center rounded-full border transition after:size-full after:rounded-full after:transition-[width,height] checked:after:size-1 focus-visible:outline-none disabled:opacity-50',\n className,\n )}\n type=\"radio\"\n onChange={composeEventHandlers(onChange, (event) => onValueChange?.(event.currentTarget.value))}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Radio };\n"]}
@@ -0,0 +1,2 @@
1
+ import{tv as e}from"tailwind-variants";var i=e({base:"focus-visible:ring-ring focus-visible:ring-3 inline-flex shrink-0 select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium focus-visible:outline-none disabled:opacity-50 [&>svg]:shrink-0",variants:{icon:{false:"",true:"px-0"},inside:{false:"",true:""},size:{"2xs":"h-7 px-3 text-xs [&>svg]:size-3",xs:"h-8 px-3 text-xs [&>svg]:size-3.5",sm:"h-9 px-4 text-sm [&>svg]:size-4",md:"h-10 px-4 text-sm [&>svg]:size-4",lg:"h-11 px-4 text-sm [&>svg]:size-5",xl:"h-12 px-4 text-sm [&>svg]:size-5"},variant:{default:"bg-primary text-primary-foreground hover:not-disabled:bg-primary-hover",secondary:"bg-secondary text-secondary-foreground hover:not-disabled:bg-secondary-hover",destructive:"bg-destructive text-destructive-foreground hover:not-disabled:bg-destructive-hover",outline:"border-input not-disabled:shadow-xs hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground focus-visible:border-input-focus border",ghost:"hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground",link:"text-primary hover:not-disabled:underline underline-offset-4"}},defaultVariants:{icon:!1,inside:!1,size:"md",variant:"default"},compoundVariants:[{className:"w-7",icon:!0,size:"2xs"},{className:"w-8",icon:!0,size:"xs"},{className:"w-9",icon:!0,size:"sm"},{className:"w-10",icon:!0,size:"md"},{className:"w-11",icon:!0,size:"lg"},{className:"w-12",icon:!0,size:"xl"},{className:"h-6",inside:!0,size:"2xs"},{className:"h-6",inside:!0,size:"xs"},{className:"h-7",inside:!0,size:"sm"},{className:"h-8",inside:!0,size:"md"},{className:"h-9",inside:!0,size:"lg"},{className:"h-10",inside:!0,size:"xl"},{className:"w-6",icon:!0,inside:!0,size:"2xs"},{className:"w-6",icon:!0,inside:!0,size:"xs"},{className:"w-7",icon:!0,inside:!0,size:"sm"},{className:"w-8",icon:!0,inside:!0,size:"md"},{className:"w-9",icon:!0,inside:!0,size:"lg"},{className:"w-10",icon:!0,inside:!0,size:"xl"}]});export{i as a};
2
+ //# sourceMappingURL=chunk-6FS62M4B.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/variants/button.variants.ts"],"names":["tv","buttonVariants"],"mappings":"AAEA,OAAS,MAAAA,MAAU,oBAEnB,IAAMC,EAAiBD,EAAG,CACxB,KAAM,2NACN,SAAU,CACR,KAAM,CAAE,MAAO,GAAI,KAAM,MAAO,EAChC,OAAQ,CAAE,MAAO,GAAI,KAAM,EAAG,EAC9B,KAAM,CACJ,MAAO,kCACP,GAAI,oCACJ,GAAI,kCACJ,GAAI,mCACJ,GAAI,mCACJ,GAAI,kCACN,EACA,QAAS,CACP,QAAS,yEACT,UAAW,+EACX,YAAa,qFACb,QACE,2JACF,MAAO,+EACP,KAAM,8DACR,CACF,EACA,gBAAiB,CACf,KAAM,GACN,OAAQ,GACR,KAAM,KACN,QAAS,SACX,EACA,iBAAkB,CAChB,CAAE,UAAW,MAAO,KAAM,GAAM,KAAM,KAAM,EAC5C,CAAE,UAAW,MAAO,KAAM,GAAM,KAAM,IAAK,EAC3C,CAAE,UAAW,MAAO,KAAM,GAAM,KAAM,IAAK,EAC3C,CAAE,UAAW,OAAQ,KAAM,GAAM,KAAM,IAAK,EAC5C,CAAE,UAAW,OAAQ,KAAM,GAAM,KAAM,IAAK,EAC5C,CAAE,UAAW,OAAQ,KAAM,GAAM,KAAM,IAAK,EAE5C,CAAE,UAAW,MAAO,OAAQ,GAAM,KAAM,KAAM,EAC9C,CAAE,UAAW,MAAO,OAAQ,GAAM,KAAM,IAAK,EAC7C,CAAE,UAAW,MAAO,OAAQ,GAAM,KAAM,IAAK,EAC7C,CAAE,UAAW,MAAO,OAAQ,GAAM,KAAM,IAAK,EAC7C,CAAE,UAAW,MAAO,OAAQ,GAAM,KAAM,IAAK,EAC7C,CAAE,UAAW,OAAQ,OAAQ,GAAM,KAAM,IAAK,EAE9C,CAAE,UAAW,MAAO,KAAM,GAAM,OAAQ,GAAM,KAAM,KAAM,EAC1D,CAAE,UAAW,MAAO,KAAM,GAAM,OAAQ,GAAM,KAAM,IAAK,EACzD,CAAE,UAAW,MAAO,KAAM,GAAM,OAAQ,GAAM,KAAM,IAAK,EACzD,CAAE,UAAW,MAAO,KAAM,GAAM,OAAQ,GAAM,KAAM,IAAK,EACzD,CAAE,UAAW,MAAO,KAAM,GAAM,OAAQ,GAAM,KAAM,IAAK,EACzD,CAAE,UAAW,OAAQ,KAAM,GAAM,OAAQ,GAAM,KAAM,IAAK,CAC5D,CACF,CAAC","sourcesContent":["import type { VariantProps } from 'tailwind-variants';\n\nimport { tv } from 'tailwind-variants';\n\nconst buttonVariants = tv({\n base: 'focus-visible:ring-ring focus-visible:ring-3 inline-flex shrink-0 select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium focus-visible:outline-none disabled:opacity-50 [&>svg]:shrink-0',\n variants: {\n icon: { false: '', true: 'px-0' },\n inside: { false: '', true: '' },\n size: {\n '2xs': 'h-7 px-3 text-xs [&>svg]:size-3', // 28px\n xs: 'h-8 px-3 text-xs [&>svg]:size-3.5', // 32px\n sm: 'h-9 px-4 text-sm [&>svg]:size-4', // 36px\n md: 'h-10 px-4 text-sm [&>svg]:size-4', // 40px\n lg: 'h-11 px-4 text-sm [&>svg]:size-5', // 44px\n xl: 'h-12 px-4 text-sm [&>svg]:size-5', // 48px\n },\n variant: {\n default: 'bg-primary text-primary-foreground hover:not-disabled:bg-primary-hover',\n secondary: 'bg-secondary text-secondary-foreground hover:not-disabled:bg-secondary-hover',\n destructive: 'bg-destructive text-destructive-foreground hover:not-disabled:bg-destructive-hover',\n outline:\n 'border-input not-disabled:shadow-xs hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground focus-visible:border-input-focus border',\n ghost: 'hover:not-disabled:bg-secondary hover:not-disabled:text-secondary-foreground',\n link: 'text-primary hover:not-disabled:underline underline-offset-4',\n },\n },\n defaultVariants: {\n icon: false,\n inside: false,\n size: 'md',\n variant: 'default',\n },\n compoundVariants: [\n { className: 'w-7', icon: true, size: '2xs' },\n { className: 'w-8', icon: true, size: 'xs' },\n { className: 'w-9', icon: true, size: 'sm' },\n { className: 'w-10', icon: true, size: 'md' },\n { className: 'w-11', icon: true, size: 'lg' },\n { className: 'w-12', icon: true, size: 'xl' },\n\n { className: 'h-6', inside: true, size: '2xs' },\n { className: 'h-6', inside: true, size: 'xs' },\n { className: 'h-7', inside: true, size: 'sm' },\n { className: 'h-8', inside: true, size: 'md' },\n { className: 'h-9', inside: true, size: 'lg' },\n { className: 'h-10', inside: true, size: 'xl' },\n\n { className: 'w-6', icon: true, inside: true, size: '2xs' },\n { className: 'w-6', icon: true, inside: true, size: 'xs' },\n { className: 'w-7', icon: true, inside: true, size: 'sm' },\n { className: 'w-8', icon: true, inside: true, size: 'md' },\n { className: 'w-9', icon: true, inside: true, size: 'lg' },\n { className: 'w-10', icon: true, inside: true, size: 'xl' },\n ],\n});\n\ntype ButtonVariantsProps = VariantProps<typeof buttonVariants>;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { ButtonVariantsProps };\nexport { buttonVariants };\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkB4S3AVXYcjs = require('./chunk-B4S3AVXY.cjs');var _chunkIMMPDUHIcjs = require('./chunk-IMMPDUHI.cjs');var _chunkZQYHFDULcjs = require('./chunk-ZQYHFDUL.cjs');var _input = require('@codefast-ui/input'); var e = _interopRequireWildcard(_input);var _reactusecontrollablestate = require('@radix-ui/react-use-controllable-state');var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');var{input:V,root:b}=_chunkB4S3AVXYcjs.a.call(void 0, );function N({className:u,defaultValue:l,disabled:o,inputSize:r,loaderPosition:m,loading:c,onChange:f,prefix:I,readOnly:P,spinner:v,suffix:h,value:d,...S}){let[n,a]=_reactusecontrollablestate.useControllableState.call(void 0, {defaultProp:l,onChange:f,prop:d});return _jsxruntime.jsxs.call(void 0, e.Root,{className:b({className:u,inputSize:r}),disabled:o,loaderPosition:m,loading:c,prefix:I||_jsxruntime.jsx.call(void 0, _lucidereact.SearchIcon,{}),readOnly:P,spinner:v||_jsxruntime.jsx.call(void 0, _chunkZQYHFDULcjs.a,{}),suffix:h,children:[_jsxruntime.jsx.call(void 0, e.Item,{className:V({inputSize:r}),type:"search",value:n,onChange:g=>{a(g.target.value)},...S}),n?_jsxruntime.jsx.call(void 0, _chunkIMMPDUHIcjs.a,{icon:!0,inside:!0,"aria-label":"Clear search",className:"rounded-full",disabled:o,size:r,suffix:_jsxruntime.jsx.call(void 0, _lucidereact.XIcon,{}),variant:"ghost",onClick:()=>{a("")}}):null]})}var E=N;exports.a = N; exports.b = E;
2
+ //# sourceMappingURL=chunk-6GF5BKD3.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-6GF5BKD3.cjs","../src/components/input-search.tsx"],"names":["InputPrimitive","root","InputSearch","className","defaultValue","disabled","inputSize","onChange","readOnly","props","value","setValue","useControllableState","jsxs","jsx","SearchIcon","spinner","Spinner","suffix","input","event","Button","XIcon","SearchInput"],"mappings":"AAAA,uWAAY,CAAC,wDAAwC,wDAAyC,wDCIlFA,oFACH,mFACA,2CAkDe,+CAtCT,GAAA,CAAAC,KAAuB,CAAA,CAWtC,CAAA,IAAA,CAAA,CAAA,CAAA,CAASC,iCAAAA,CACP,CAAA,SAAAC,CAAAA,CACA,CAAA,SAAA,CAAA,CAAA,CAAAC,YACAC,CACA,CAAA,CAAA,QAAAC,CAAAA,CACA,CAAA,SAAA,CAAA,CAAA,CAAA,cAEA,CAAA,CAAA,CAAA,OAAAC,CACA,CAAA,CAAA,QACA,CAAA,CAAA,CAAA,MAAAC,CACA,CAAA,CAAA,QACA,CAAA,CAAA,CAAA,OACA,CAAA,CAAA,CAAA,MACA,CAAGC,CACL,CAAA,KACQ,CAACC,CAAAA,CAAOC,GAAYC,CAAAA,CAAqB,CAC7C,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6DAAA,CAAaR,WACbG,CACA,CAAA,CAAA,QAGF,CAAA,CAAA,CAAA,IACEM,CAAgB,CAAA,CAAA,CAAA,CAAA,OACd,8BAAA,CAAA,CAAA,IAAWZ,CAAK,CAAE,SAAA,CAAAE,CAAAA,CAAW,CAAA,SAAAG,CAAU,CAAC,CAAA,SACxC,CAAUD,CAAAA,CACV,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,cAEA,CAAA,CAAA,CAAA,OAAkBS,CAAAA,CAACC,CAAAA,MACnB,CAAA,CAAA,EAAA,6BAAA,uBAAA,CAAUP,CAAAA,CACV,CAAA,CAAA,QAASQ,CAAWF,CAAAA,CAACG,OACrB,CAAA,CAAA,EAAA,6BAAA,mBAAQC,CAER,CAAA,CAAA,CAAA,CAAA,MAAAJ,CAAAA,CAAgB,CAAA,QACd,CAAA,CAAA,6BAAA,CAAA,CAAA,IAAWK,CAAM,CAAE,SAAA,CAAAb,CAAU,CAAC,CAAA,SACzB,CAAA,CAAA,CAAA,CAAA,CAAA,IACL,CAAA,QACA,CAAA,KAAWc,CAAAA,CAAU,CACnBT,QAAe,CAAA,CAAA,EAAO,CAAA,CAAA,CAAA,CAAK,CAC7B,MACIF,CACN,KAEEK,CAACO,CAAAA,CAAA,GACC,CAAA,CAAA,CAAI,CAAA,CAAA,CACJ,6BAAA,mBAAA,CAAA,CAAA,IAAM,CACN,CAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,CAAW,YAAA,CAAA,cACD,CAAA,SAAA,CAAA,cAEV,CAAA,QACA,CAAA,CAAA,CAAA,IAASC,CAAA,CAAA,CAAM,MACf,CAAA,6BAAA,kBAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,OACR,CAAA,OAAe,CACbX,OAEJ,CAAA,CACE,CAAA,EAAA,CAAA,CAAA,CACN,EAoBJ,CAAA,CAAA,CAAA,CAAMY,CAAAA,IAAcrB,CAAAA,CAAAA,CAAAA,CAAAA,IAAAA,CAAAA,CAAAA,CAAAA,CAAAA,6BAAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-6GF5BKD3.cjs","sourcesContent":[null,"'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport * as InputPrimitive from '@codefast-ui/input';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport { SearchIcon, XIcon } from 'lucide-react';\n\nimport type { InputVariantsProps } from '@/variants/input.variants';\n\nimport { Button } from '@/components/button';\nimport { Spinner } from '@/components/spinner';\nimport { inputVariants } from '@/variants/input.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: InputSearch\n * -------------------------------------------------------------------------- */\n\nconst { input, root } = inputVariants();\n\ninterface InputSearchProps\n extends InputVariantsProps,\n ComponentProps<typeof InputPrimitive.Root>,\n Omit<ComponentProps<typeof InputPrimitive.Item>, 'defaultValue' | 'onChange' | 'prefix' | 'type' | 'value'> {\n defaultValue?: string;\n onChange?: (value: string) => void;\n value?: string;\n}\n\nfunction InputSearch({\n className,\n defaultValue,\n disabled,\n inputSize,\n loaderPosition,\n loading,\n onChange,\n prefix,\n readOnly,\n spinner,\n suffix,\n value: valueProp,\n ...props\n}: InputSearchProps): JSX.Element {\n const [value, setValue] = useControllableState({\n defaultProp: defaultValue,\n onChange,\n prop: valueProp,\n });\n\n return (\n <InputPrimitive.Root\n className={root({ className, inputSize })}\n disabled={disabled}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix || <SearchIcon />}\n readOnly={readOnly}\n spinner={spinner || <Spinner />}\n suffix={suffix}\n >\n <InputPrimitive.Item\n className={input({ inputSize })}\n type=\"search\"\n value={value}\n onChange={(event) => {\n setValue(event.target.value);\n }}\n {...props}\n />\n {value ? (\n <Button\n icon\n inside\n aria-label=\"Clear search\"\n className=\"rounded-full\"\n disabled={disabled}\n size={inputSize}\n suffix={<XIcon />}\n variant=\"ghost\"\n onClick={() => {\n setValue('');\n }}\n />\n ) : null}\n </InputPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Deprecated\n * -------------------------------------------------------------------------- */\n\n/**\n * @deprecated\n * This type is an alias of the InputSearchProps type.\n * Please use the InputSearchProps type instead to ensure consistency.\n */\ntype SearchInputProps = InputSearchProps;\n\n/**\n * @deprecated\n * This component is an alias of the Input component.\n * Please use the Input component instead to ensure consistency.\n */\nconst SearchInput = InputSearch;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { InputSearchProps, SearchInputProps };\nexport { InputSearch, SearchInput };\n"]}
@@ -0,0 +1,2 @@
1
+ "use client";import{a as r,c as p}from"./chunk-MQ3ZMVF4.js";import{a as t}from"./chunk-OKUFCFYT.js";import{Command as n}from"cmdk";import{SearchIcon as a}from"lucide-react";import{jsx as m,jsxs as i}from"react/jsx-runtime";function d({className:o,...e}){return m(n,{className:t("bg-popover text-popover-foreground flex flex-col overflow-hidden rounded-[inherit] focus-visible:outline-none",o),...e})}function l({children:o,...e}){return m(r,{...e,children:m(p,{className:"p-0",children:m(d,{className:"[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input]]:h-12",children:o})})})}function P({className:o,...e}){return i("div",{className:"flex items-center gap-2 border-b px-3","cmdk-input-wrapper":"",children:[m(a,{className:"size-5 shrink-0 opacity-50"}),m(n.Input,{className:t("placeholder:text-muted-foreground flex h-10 w-full text-sm outline-none disabled:opacity-50",o),...e})]})}function g({className:o,...e}){return m(n.List,{className:t("max-h-75 overflow-y-auto overflow-x-hidden",o),...e})}function f({className:o,...e}){return m(n.Empty,{className:t("py-6 text-center text-sm",o),...e})}function y({className:o,...e}){return m(n.Group,{className:t("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",o),...e})}function x({className:o,...e}){return m(n.Separator,{className:t("bg-border -mx-1 h-px",o),...e})}function h({className:o,...e}){return m(n.Item,{className:t("aria-selected:bg-accent aria-selected:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm aria-disabled:opacity-50 aria-selected:outline-none",o),...e})}function S({className:o,...e}){return m(n.Loading,{className:t("flex justify-center p-2",o),...e})}function v({className:o,...e}){return m("span",{className:t("text-muted-foreground group-aria-selected:text-accent-foreground ml-auto text-xs tracking-widest",o),...e})}export{d as a,l as b,P as c,g as d,f as e,y as f,x as g,h,S as i,v as j};
2
+ //# sourceMappingURL=chunk-6HGHPY6T.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/command.tsx"],"names":["CommandPrimitive","SearchIcon","jsx","jsxs","Command","className","props","cn","CommandDialog","children","Dialog","DialogContent","CommandInput","CommandList","CommandEmpty","CommandGroup","CommandSeparator","CommandItem","CommandLoading","CommandShortcut"],"mappings":"uFAIA,OAAS,WAAWA,MAAwB,OAC5C,OAAS,cAAAC,MAAkB,eAavB,cAAAC,EAoCA,QAAAC,MApCA,oBAFJ,SAASC,EAAQ,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAA8B,CACnE,OACEJ,EAACF,EAAA,CACC,UAAWO,EACT,gHACAF,CACF,EACC,GAAGC,EACN,CAEJ,CAQA,SAASE,EAAc,CAAE,SAAAC,EAAU,GAAGH,CAAM,EAAoC,CAC9E,OACEJ,EAACQ,EAAA,CAAQ,GAAGJ,EACV,SAAAJ,EAACS,EAAA,CAAc,UAAU,MACvB,SAAAT,EAACE,EAAA,CAAQ,UAAU,4LAChB,SAAAK,EACH,EACF,EACF,CAEJ,CAQA,SAASG,EAAa,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAmC,CAC7E,OACEH,EAAC,OAAI,UAAU,wCAAwC,qBAAmB,GACxE,UAAAD,EAACD,EAAA,CAAW,UAAU,6BAA6B,EACnDC,EAACF,EAAiB,MAAjB,CACC,UAAWO,EACT,8FACAF,CACF,EACC,GAAGC,EACN,GACF,CAEJ,CAQA,SAASO,EAAY,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAkC,CAC3E,OAAOJ,EAACF,EAAiB,KAAjB,CAAsB,UAAWO,EAAG,6CAA8CF,CAAS,EAAI,GAAGC,EAAO,CACnH,CAQA,SAASQ,EAAa,CAAE,UAAAT,EAAW,GAAGC,CAAM,EAAmC,CAC7E,OAAOJ,EAACF,EAAiB,MAAjB,CAAuB,UAAWO,EAAG,2BAA4BF,CAAS,EAAI,GAAGC,EAAO,CAClG,CAQA,SAASS,EAAa,CAAE,UAAAV,EAAW,GAAGC,CAAM,EAAmC,CAC7E,OACEJ,EAACF,EAAiB,MAAjB,CACC,UAAWO,EACT,yNACAF,CACF,EACC,GAAGC,EACN,CAEJ,CAQA,SAASU,EAAiB,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAAuC,CACrF,OAAOJ,EAACF,EAAiB,UAAjB,CAA2B,UAAWO,EAAG,uBAAwBF,CAAS,EAAI,GAAGC,EAAO,CAClG,CAQA,SAASW,EAAY,CAAE,UAAAZ,EAAW,GAAGC,CAAM,EAAkC,CAC3E,OACEJ,EAACF,EAAiB,KAAjB,CACC,UAAWO,EACT,uMACAF,CACF,EACC,GAAGC,EACN,CAEJ,CAQA,SAASY,EAAe,CAAE,UAAAb,EAAW,GAAGC,CAAM,EAAqC,CACjF,OAAOJ,EAACF,EAAiB,QAAjB,CAAyB,UAAWO,EAAG,0BAA2BF,CAAS,EAAI,GAAGC,EAAO,CACnG,CAQA,SAASa,EAAgB,CAAE,UAAAd,EAAW,GAAGC,CAAM,EAAsC,CACnF,OACEJ,EAAC,QACC,UAAWK,EACT,mGACAF,CACF,EACC,GAAGC,EACN,CAEJ","sourcesContent":["'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport { Command as CommandPrimitive } from 'cmdk';\nimport { SearchIcon } from 'lucide-react';\n\nimport { Dialog, DialogContent } from '@/components/dialog';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Command\n * -------------------------------------------------------------------------- */\n\ntype CommandProps = ComponentProps<typeof CommandPrimitive>;\n\nfunction Command({ className, ...props }: CommandProps): JSX.Element {\n return (\n <CommandPrimitive\n className={cn(\n 'bg-popover text-popover-foreground flex flex-col overflow-hidden rounded-[inherit] focus-visible:outline-none',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandDialog\n * -------------------------------------------------------------------------- */\n\ntype CommandDialogProps = ComponentProps<typeof Dialog>;\n\nfunction CommandDialog({ children, ...props }: CommandDialogProps): JSX.Element {\n return (\n <Dialog {...props}>\n <DialogContent className=\"p-0\">\n <Command className=\"[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input]]:h-12\">\n {children}\n </Command>\n </DialogContent>\n </Dialog>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandInput\n * -------------------------------------------------------------------------- */\n\ntype CommandInputProps = ComponentProps<typeof CommandPrimitive.Input>;\n\nfunction CommandInput({ className, ...props }: CommandInputProps): JSX.Element {\n return (\n <div className=\"flex items-center gap-2 border-b px-3\" cmdk-input-wrapper=\"\">\n <SearchIcon className=\"size-5 shrink-0 opacity-50\" />\n <CommandPrimitive.Input\n className={cn(\n 'placeholder:text-muted-foreground flex h-10 w-full text-sm outline-none disabled:opacity-50',\n className,\n )}\n {...props}\n />\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandList\n * -------------------------------------------------------------------------- */\n\ntype CommandListProps = ComponentProps<typeof CommandPrimitive.List>;\n\nfunction CommandList({ className, ...props }: CommandListProps): JSX.Element {\n return <CommandPrimitive.List className={cn('max-h-75 overflow-y-auto overflow-x-hidden', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandEmpty\n * -------------------------------------------------------------------------- */\n\ntype CommandEmptyProps = ComponentProps<typeof CommandPrimitive.Empty>;\n\nfunction CommandEmpty({ className, ...props }: CommandEmptyProps): JSX.Element {\n return <CommandPrimitive.Empty className={cn('py-6 text-center text-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandGroup\n * -------------------------------------------------------------------------- */\n\ntype CommandGroupProps = ComponentProps<typeof CommandPrimitive.Group>;\n\nfunction CommandGroup({ className, ...props }: CommandGroupProps): JSX.Element {\n return (\n <CommandPrimitive.Group\n className={cn(\n 'text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandSeparator\n * -------------------------------------------------------------------------- */\n\ntype CommandSeparatorProps = ComponentProps<typeof CommandPrimitive.Separator>;\n\nfunction CommandSeparator({ className, ...props }: CommandSeparatorProps): JSX.Element {\n return <CommandPrimitive.Separator className={cn('bg-border -mx-1 h-px', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandItem\n * -------------------------------------------------------------------------- */\n\ntype CommandItemProps = ComponentProps<typeof CommandPrimitive.Item>;\n\nfunction CommandItem({ className, ...props }: CommandItemProps): JSX.Element {\n return (\n <CommandPrimitive.Item\n className={cn(\n 'aria-selected:bg-accent aria-selected:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm aria-disabled:opacity-50 aria-selected:outline-none',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandLoading\n * -------------------------------------------------------------------------- */\n\ntype CommandLoadingProps = ComponentProps<typeof CommandPrimitive.Loading>;\n\nfunction CommandLoading({ className, ...props }: CommandLoadingProps): JSX.Element {\n return <CommandPrimitive.Loading className={cn('flex justify-center p-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandShortcut\n * -------------------------------------------------------------------------- */\n\ntype CommandShortcutProps = ComponentProps<'span'>;\n\nfunction CommandShortcut({ className, ...props }: CommandShortcutProps): JSX.Element {\n return (\n <span\n className={cn(\n 'text-muted-foreground group-aria-selected:text-accent-foreground ml-auto text-xs tracking-widest',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n CommandDialogProps,\n CommandEmptyProps,\n CommandGroupProps,\n CommandInputProps,\n CommandItemProps,\n CommandListProps,\n CommandLoadingProps,\n CommandProps,\n CommandSeparatorProps,\n CommandShortcutProps,\n};\nexport {\n Command,\n CommandDialog,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandLoading,\n CommandSeparator,\n CommandShortcut,\n};\n"]}
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk-OKUFCFYT.js";import{jsx as t}from"react/jsx-runtime";function n({className:o,...r}){return t("textarea",{className:e("border-input bg-background hover:not-disabled:not-focus-visible:border-input-hover focus-visible:border-input-focus focus-visible:ring-ring focus-visible:ring-3 placeholder:text-muted-foreground not-disabled:shadow-xs flex min-h-16 w-full grow rounded-lg border px-3 py-2 text-sm transition focus-visible:outline-none disabled:opacity-50",o),...r})}export{n as a};
2
+ //# sourceMappingURL=chunk-76DVQCMA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/textarea.tsx"],"names":["jsx","Textarea","className","props","cn"],"mappings":"wCAYI,cAAAA,MAAA,oBAFJ,SAASC,EAAS,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAA+B,CACrE,OACEH,EAAC,YACC,UAAWI,EACT,oVACAF,CACF,EACC,GAAGC,EACN,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Textarea\n * -------------------------------------------------------------------------- */\n\ntype TextareaProps = ComponentProps<'textarea'>;\n\nfunction Textarea({ className, ...props }: TextareaProps): JSX.Element {\n return (\n <textarea\n className={cn(\n 'border-input bg-background hover:not-disabled:not-focus-visible:border-input-hover focus-visible:border-input-focus focus-visible:ring-ring focus-visible:ring-3 placeholder:text-muted-foreground not-disabled:shadow-xs flex min-h-16 w-full grow rounded-lg border px-3 py-2 text-sm transition focus-visible:outline-none disabled:opacity-50',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { TextareaProps };\nexport { Textarea };\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reacttabs = require('@radix-ui/react-tabs'); var t = _interopRequireWildcard(_reacttabs);var _jsxruntime = require('react/jsx-runtime');var n=t.Root;function a({className:e,...i}){return _jsxruntime.jsx.call(void 0, t.List,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-muted text-muted-foreground inline-flex h-10 items-center justify-center gap-1 rounded-md p-1",e),...i})}function p({className:e,...i}){return _jsxruntime.jsx.call(void 0, t.Trigger,{className:_chunkSMJEDCFPcjs.a.call(void 0, "inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium outline-transparent transition-all","data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm","focus-visible:ring-ring/40 focus-visible:ring-3 focus-visible:outline-none","disabled:opacity-50",e),...i})}function m({className:e,...i}){return _jsxruntime.jsx.call(void 0, t.Content,{className:_chunkSMJEDCFPcjs.a.call(void 0, "mt-2 rounded-md","focus-visible:ring-ring/40 focus-visible:ring-3 focus-visible:outline-none",e),...i})}exports.a = n; exports.b = a; exports.c = p; exports.d = m;
2
- //# sourceMappingURL=chunk-TRE4LNFF.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reacttabs = require('@radix-ui/react-tabs'); var t = _interopRequireWildcard(_reacttabs);var _jsxruntime = require('react/jsx-runtime');var n=t.Root;function a({className:e,...i}){return _jsxruntime.jsx.call(void 0, t.List,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-muted text-muted-foreground inline-flex h-10 items-center justify-center gap-1 rounded-lg p-1",e),...i})}function p({className:e,...i}){return _jsxruntime.jsx.call(void 0, t.Trigger,{className:_chunkSMJEDCFPcjs.a.call(void 0, "data-[state=active]:bg-background data-[state=active]:text-foreground focus-visible:ring-ring focus-visible:ring-3 inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium outline-transparent transition-all focus-visible:outline-none disabled:opacity-50 data-[state=active]:shadow-sm",e),...i})}function m({className:e,...i}){return _jsxruntime.jsx.call(void 0, t.Content,{className:_chunkSMJEDCFPcjs.a.call(void 0, "focus-visible:ring-ring focus-visible:ring-3 mt-2 rounded-lg focus-visible:outline-none",e),...i})}exports.a = n; exports.b = a; exports.c = p; exports.d = m;
2
+ //# sourceMappingURL=chunk-7RIKNXUQ.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-7RIKNXUQ.cjs","../src/components/tabs.tsx"],"names":["Tabs","TabsList","className","props","jsx","cn","TabsTrigger","TabsContent"],"mappings":"AAAA,mZAAwC,8FCET,+CAmB3B,IAVEA,CAAAA,CAAqB,CAAA,CAAA,IAAA,CAQ3B,SAASC,CAAAA,CAAS,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA+B,CACrE,OACEC,6BAAAA,CAAe,CAAA,IAAA,CAAd,CACC,SAAA,CAAWC,iCAAAA,kGACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEJ,CAQA,SAASG,CAAAA,CAAY,CAAE,SAAA,CAAAJ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAkC,CAC3E,OACEC,6BAAAA,CAAe,CAAA,OAAA,CAAd,CACC,SAAA,CAAWC,iCAAAA,yUACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEJ,CAQA,SAASI,CAAAA,CAAY,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAkC,CAC3E,OACEC,6BAAAA,CAAe,CAAA,OAAA,CAAd,CACC,SAAA,CAAWC,iCAAAA,yFACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEJ,CAAA,2DAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-7RIKNXUQ.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Tabs\n * -------------------------------------------------------------------------- */\n\ntype TabsProps = ComponentProps<typeof TabsPrimitive.Root>;\nconst Tabs = TabsPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: TabsList\n * -------------------------------------------------------------------------- */\n\ntype TabsListProps = ComponentProps<typeof TabsPrimitive.List>;\n\nfunction TabsList({ className, ...props }: TabsListProps): JSX.Element {\n return (\n <TabsPrimitive.List\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-10 items-center justify-center gap-1 rounded-lg p-1',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TabsTrigger\n * -------------------------------------------------------------------------- */\n\ntype TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>;\n\nfunction TabsTrigger({ className, ...props }: TabsTriggerProps): JSX.Element {\n return (\n <TabsPrimitive.Trigger\n className={cn(\n 'data-[state=active]:bg-background data-[state=active]:text-foreground focus-visible:ring-ring focus-visible:ring-3 inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium outline-transparent transition-all focus-visible:outline-none disabled:opacity-50 data-[state=active]:shadow-sm',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TabsContent\n * -------------------------------------------------------------------------- */\n\ntype TabsContentProps = ComponentProps<typeof TabsPrimitive.Content>;\n\nfunction TabsContent({ className, ...props }: TabsContentProps): JSX.Element {\n return (\n <TabsPrimitive.Content\n className={cn(\n 'focus-visible:ring-ring focus-visible:ring-3 mt-2 rounded-lg focus-visible:outline-none',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps };\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"]}
@@ -0,0 +1,2 @@
1
+ import{a as n}from"./chunk-6FS62M4B.js";import{a as i}from"./chunk-OKUFCFYT.js";import*as e from"@radix-ui/react-dialog";import{XIcon as l}from"lucide-react";import{tv as m}from"tailwind-variants";import{jsx as r,jsxs as p}from"react/jsx-runtime";var h=m({base:"bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg",variants:{side:{bottom:"data-[state=open]:slide-from-b-full data-[state=closed]:slide-to-b-full inset-x-0 bottom-0 max-h-screen border-t",left:"data-[state=open]:slide-from-l-full data-[state=closed]:slide-to-l-full inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=open]:slide-from-r-full data-[state=closed]:slide-to-r-full inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",top:"data-[state=open]:slide-from-t-full data-[state=closed]:slide-to-t-full inset-x-0 top-0 max-h-screen border-b"}},defaultVariants:{side:"right"}}),c=e.Root,u=e.Trigger;function v({children:t,className:o,side:s="right",...a}){return p(e.Portal,{children:[r(e.Overlay,{className:"bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50"}),p(e.Content,{className:h({className:o,side:s}),...a,children:[t,p(e.Close,{className:n({className:"absolute right-4 top-4",icon:!0,size:"2xs",variant:"ghost"}),children:[r(l,{className:"size-4"}),r("span",{className:"sr-only",children:"Close"})]})]})]})}function y({className:t,...o}){return r("header",{className:i("flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),...o})}function C({className:t,...o}){return r("main",{className:i("px-6 py-2",t),...o})}function x({className:t,...o}){return r("footer",{className:i("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),...o})}function g({className:t,...o}){return r(e.Title,{className:i("text-foreground text-lg font-semibold",t),...o})}function b({className:t,...o}){return r(e.Description,{className:i("text-muted-foreground text-sm",t),...o})}function N({className:t,size:o,variant:s="outline",...a}){return r(e.Close,{className:n({className:t,size:o,variant:s}),...a})}export{c as a,u as b,v as c,y as d,C as e,x as f,g,b as h,N as i};
2
+ //# sourceMappingURL=chunk-7YDCUFIZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/sheet.tsx"],"names":["SheetPrimitive","XIcon","tv","jsx","jsxs","sheetContentVariants","Sheet","SheetTrigger","SheetContent","children","className","side","props","buttonVariants","SheetHeader","cn","SheetBody","SheetFooter","SheetTitle","SheetDescription","SheetClose","size","variant"],"mappings":"gFAGA,UAAYA,MAAoB,yBAChC,OAAS,SAAAC,MAAa,eACtB,OAAS,MAAAC,MAAU,oBAqDb,cAAAC,EAGE,QAAAC,MAHF,oBA1CN,IAAMC,EAAuBH,EAAG,CAC9B,KAAM,wOACN,SAAU,CACR,KAAM,CACJ,OACE,mHACF,KAAM,6HACN,MACE,8HACF,IAAK,+GACP,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CAAC,EASKI,EAAuB,OAOvBC,EAA8B,UAQpC,SAASC,EAAa,CAAE,SAAAC,EAAU,UAAAC,EAAW,KAAAC,EAAO,QAAS,GAAGC,CAAM,EAAmC,CACvG,OACER,EAAgB,SAAf,CACC,UAAAD,EAAgB,UAAf,CAAuB,UAAU,mMAAmM,EACrOC,EAAgB,UAAf,CAAuB,UAAWC,EAAqB,CAAE,UAAAK,EAAW,KAAAC,CAAK,CAAC,EAAI,GAAGC,EAC/E,UAAAH,EACDL,EAAgB,QAAf,CACC,UAAWS,EAAe,CAAE,UAAW,yBAA0B,KAAM,GAAM,KAAM,MAAO,QAAS,OAAQ,CAAC,EAE5G,UAAAV,EAACF,EAAA,CAAM,UAAU,SAAS,EAC1BE,EAAC,QAAK,UAAU,UAAU,iBAAK,GACjC,GACF,GACF,CAEJ,CAQA,SAASW,EAAY,CAAE,UAAAJ,EAAW,GAAGE,CAAM,EAAkC,CAC3E,OACET,EAAC,UACC,UAAWY,EAAG,yEAA0EL,CAAS,EAChG,GAAGE,EACN,CAEJ,CAQA,SAASI,EAAU,CAAE,UAAAN,EAAW,GAAGE,CAAM,EAAkC,CACzE,OAAOT,EAAC,QAAK,UAAWY,EAAG,YAAaL,CAAS,EAAI,GAAGE,EAAO,CACjE,CAQA,SAASK,EAAY,CAAE,UAAAP,EAAW,GAAGE,CAAM,EAAkC,CAC3E,OACET,EAAC,UACC,UAAWY,EAAG,iFAAkFL,CAAS,EACxG,GAAGE,EACN,CAEJ,CAQA,SAASM,EAAW,CAAE,UAAAR,EAAW,GAAGE,CAAM,EAAiC,CACzE,OAAOT,EAAgB,QAAf,CAAqB,UAAWY,EAAG,wCAAyCL,CAAS,EAAI,GAAGE,EAAO,CAC7G,CAQA,SAASO,EAAiB,CAAE,UAAAT,EAAW,GAAGE,CAAM,EAAuC,CACrF,OAAOT,EAAgB,cAAf,CAA2B,UAAWY,EAAG,gCAAiCL,CAAS,EAAI,GAAGE,EAAO,CAC3G,CAWA,SAASQ,EAAW,CAAE,UAAAV,EAAW,KAAAW,EAAM,QAAAC,EAAU,UAAW,GAAGV,CAAM,EAAiC,CACpG,OAAOT,EAAgB,QAAf,CAAqB,UAAWU,EAAe,CAAE,UAAAH,EAAW,KAAAW,EAAM,QAAAC,CAAQ,CAAC,EAAI,GAAGV,EAAO,CACnG","sourcesContent":["import type { ComponentProps, JSX } from 'react';\nimport type { VariantProps } from 'tailwind-variants';\n\nimport * as SheetPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\nimport { tv } from 'tailwind-variants';\n\nimport type { ButtonVariantsProps } from '@/variants/button.variants';\n\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/variants/button.variants';\n\n/* -----------------------------------------------------------------------------\n * Variant: SheetContent\n * -------------------------------------------------------------------------- */\n\nconst sheetContentVariants = tv({\n base: 'bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg',\n variants: {\n side: {\n bottom:\n 'data-[state=open]:slide-from-b-full data-[state=closed]:slide-to-b-full inset-x-0 bottom-0 max-h-screen border-t',\n left: 'data-[state=open]:slide-from-l-full data-[state=closed]:slide-to-l-full inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n right:\n 'data-[state=open]:slide-from-r-full data-[state=closed]:slide-to-r-full inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n top: 'data-[state=open]:slide-from-t-full data-[state=closed]:slide-to-t-full inset-x-0 top-0 max-h-screen border-b',\n },\n },\n defaultVariants: {\n side: 'right',\n },\n});\n\ntype SheetContentVariantsProps = VariantProps<typeof sheetContentVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Sheet\n * -------------------------------------------------------------------------- */\n\ntype SheetProps = ComponentProps<typeof SheetPrimitive.Root>;\nconst Sheet = SheetPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTrigger\n * -------------------------------------------------------------------------- */\n\ntype SheetTriggerProps = ComponentProps<typeof SheetPrimitive.Trigger>;\nconst SheetTrigger = SheetPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetContent\n * -------------------------------------------------------------------------- */\n\ntype SheetContentProps = ComponentProps<typeof SheetPrimitive.Content> & SheetContentVariantsProps;\n\nfunction SheetContent({ children, className, side = 'right', ...props }: SheetContentProps): JSX.Element {\n return (\n <SheetPrimitive.Portal>\n <SheetPrimitive.Overlay className=\"bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50\" />\n <SheetPrimitive.Content className={sheetContentVariants({ className, side })} {...props}>\n {children}\n <SheetPrimitive.Close\n className={buttonVariants({ className: 'absolute right-4 top-4', icon: true, size: '2xs', variant: 'ghost' })}\n >\n <XIcon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetHeader\n * -------------------------------------------------------------------------- */\n\ntype SheetHeaderProps = ComponentProps<'div'>;\n\nfunction SheetHeader({ className, ...props }: SheetHeaderProps): JSX.Element {\n return (\n <header\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetBody\n * -------------------------------------------------------------------------- */\n\ntype SheetBodyProps = ComponentProps<'div'>;\n\nfunction SheetBody({ className, ...props }: SheetHeaderProps): JSX.Element {\n return <main className={cn('px-6 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetFooter\n * -------------------------------------------------------------------------- */\n\ntype SheetFooterProps = ComponentProps<'div'>;\n\nfunction SheetFooter({ className, ...props }: SheetFooterProps): JSX.Element {\n return (\n <footer\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTitle\n * -------------------------------------------------------------------------- */\n\ntype SheetTitleProps = ComponentProps<typeof SheetPrimitive.Title>;\n\nfunction SheetTitle({ className, ...props }: SheetTitleProps): JSX.Element {\n return <SheetPrimitive.Title className={cn('text-foreground text-lg font-semibold', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetDescription\n * -------------------------------------------------------------------------- */\n\ntype SheetDescriptionProps = ComponentProps<typeof SheetPrimitive.Description>;\n\nfunction SheetDescription({ className, ...props }: SheetDescriptionProps): JSX.Element {\n return <SheetPrimitive.Description className={cn('text-muted-foreground text-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetClose\n * -------------------------------------------------------------------------- */\n\ninterface SheetCloseProps extends ComponentProps<typeof SheetPrimitive.Close> {\n size?: ButtonVariantsProps['size'];\n variant?: ButtonVariantsProps['variant'];\n}\n\nfunction SheetClose({ className, size, variant = 'outline', ...props }: SheetCloseProps): JSX.Element {\n return <SheetPrimitive.Close className={buttonVariants({ className, size, variant })} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n SheetBodyProps,\n SheetCloseProps,\n SheetContentProps,\n SheetDescriptionProps,\n SheetFooterProps,\n SheetHeaderProps,\n SheetProps,\n SheetTitleProps,\n SheetTriggerProps,\n};\nexport {\n Sheet,\n SheetBody,\n SheetClose,\n SheetContent,\n SheetDescription,\n SheetFooter,\n SheetHeader,\n SheetTitle,\n SheetTrigger,\n};\n"]}
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-OKUFCFYT.js";import{jsx as p}from"react/jsx-runtime";function r({className:o,...t}){return p("div",{className:e("bg-muted animate-pulse rounded",o),...t})}export{r as a};
2
- //# sourceMappingURL=chunk-46UZJXKE.js.map
1
+ import{a as e}from"./chunk-OKUFCFYT.js";import{jsx as p}from"react/jsx-runtime";function r({className:o,...t}){return p("div",{className:e("bg-muted animate-pulse rounded-lg",o),...t})}export{r as a};
2
+ //# sourceMappingURL=chunk-AXBTXUF5.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/skeleton.tsx"],"names":["jsx","Skeleton","className","props","cn"],"mappings":"wCAWS,cAAAA,MAAA,oBADT,SAASC,EAAS,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAA+B,CACrE,OAAOH,EAAC,OAAI,UAAWI,EAAG,iCAAkCF,CAAS,EAAI,GAAGC,EAAO,CACrF","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\ntype SkeletonProps = ComponentProps<'div'>;\n\nfunction Skeleton({ className, ...props }: SkeletonProps): JSX.Element {\n return <div className={cn('bg-muted animate-pulse rounded', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { SkeletonProps };\nexport { Skeleton };\n"]}
1
+ {"version":3,"sources":["../src/components/skeleton.tsx"],"names":["jsx","Skeleton","className","props","cn"],"mappings":"wCAWS,cAAAA,MAAA,oBADT,SAASC,EAAS,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAA+B,CACrE,OAAOH,EAAC,OAAI,UAAWI,EAAG,oCAAqCF,CAAS,EAAI,GAAGC,EAAO,CACxF","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\ntype SkeletonProps = ComponentProps<'div'>;\n\nfunction Skeleton({ className, ...props }: SkeletonProps): JSX.Element {\n return <div className={cn('bg-muted animate-pulse rounded-lg', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { SkeletonProps };\nexport { Skeleton };\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _tailwindvariants = require('tailwind-variants');var o=_tailwindvariants.tv.call(void 0, {slots:{root:"border-input bg-background [&>svg]:text-muted-foreground hover:not-has-disabled:not-focus-within:border-input-hover focus-within:border-input-focus focus-within:ring-ring focus-within:ring-3 has-disabled:opacity-50 not-has-disabled:shadow-xs flex w-full grow items-center gap-3 rounded-lg border px-3 text-sm transition [&>svg]:shrink-0",input:"placeholder:text-muted-foreground peer size-full outline-none file:bg-transparent file:font-medium"},variants:{inputSize:{"2xs":{root:"h-7 [&>svg]:size-3",input:"file:py-0.75"},xs:{root:"h-8 [&>svg]:size-3.5",input:"file:py-1.25"},sm:{root:"h-9 [&>svg]:size-4",input:"file:py-1.75"},md:{root:"h-10 [&>svg]:size-4",input:"file:py-2.25"},lg:{root:"h-11 [&>svg]:size-5",input:"file:py-2.75"},xl:{root:"h-12 [&>svg]:size-5",input:"file:py-3.25"}}},defaultVariants:{inputSize:"md"}});exports.a = o;
2
+ //# sourceMappingURL=chunk-B4S3AVXY.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/variants/input.variants.ts"],"names":["inputVariants","tv"],"mappings":"AAEA,8HAAmB,IAEbA,CAAAA,CAAgBC,kCAAAA,CACpB,KAAA,CAAO,CACL,IAAA,CAAM,kVAAA,CACN,KAAA,CAAO,oGACT,CAAA,CACA,QAAA,CAAU,CACR,SAAA,CAAW,CACT,KAAA,CAAO,CAAE,IAAA,CAAM,oBAAA,CAAsB,KAAA,CAAO,cAAe,CAAA,CAC3D,EAAA,CAAI,CAAE,IAAA,CAAM,sBAAA,CAAwB,KAAA,CAAO,cAAe,CAAA,CAC1D,EAAA,CAAI,CAAE,IAAA,CAAM,oBAAA,CAAsB,KAAA,CAAO,cAAe,CAAA,CACxD,EAAA,CAAI,CAAE,IAAA,CAAM,qBAAA,CAAuB,KAAA,CAAO,cAAe,CAAA,CACzD,EAAA,CAAI,CAAE,IAAA,CAAM,qBAAA,CAAuB,KAAA,CAAO,cAAe,CAAA,CACzD,EAAA,CAAI,CAAE,IAAA,CAAM,qBAAA,CAAuB,KAAA,CAAO,cAAe,CAC3D,CACF,CAAA,CACA,eAAA,CAAiB,CACf,SAAA,CAAW,IACb,CACF,CAAC,CAAA,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-B4S3AVXY.cjs","sourcesContent":["import type { VariantProps } from 'tailwind-variants';\n\nimport { tv } from 'tailwind-variants';\n\nconst inputVariants = tv({\n slots: {\n root: 'border-input bg-background [&>svg]:text-muted-foreground hover:not-has-disabled:not-focus-within:border-input-hover focus-within:border-input-focus focus-within:ring-ring focus-within:ring-3 has-disabled:opacity-50 not-has-disabled:shadow-xs flex w-full grow items-center gap-3 rounded-lg border px-3 text-sm transition [&>svg]:shrink-0',\n input: 'placeholder:text-muted-foreground peer size-full outline-none file:bg-transparent file:font-medium',\n },\n variants: {\n inputSize: {\n '2xs': { root: 'h-7 [&>svg]:size-3', input: 'file:py-0.75' }, // 28px\n xs: { root: 'h-8 [&>svg]:size-3.5', input: 'file:py-1.25' }, // 32px\n sm: { root: 'h-9 [&>svg]:size-4', input: 'file:py-1.75' }, // 36px\n md: { root: 'h-10 [&>svg]:size-4', input: 'file:py-2.25' }, // 40px\n lg: { root: 'h-11 [&>svg]:size-5', input: 'file:py-2.75' }, // 44px\n xl: { root: 'h-12 [&>svg]:size-5', input: 'file:py-3.25' }, // 48px\n },\n },\n defaultVariants: {\n inputSize: 'md',\n },\n});\n\ntype InputVariantsProps = VariantProps<typeof inputVariants>;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { InputVariantsProps };\nexport { inputVariants };\n"]}
@@ -0,0 +1,2 @@
1
+ "use client";import{a as e}from"./chunk-OKUFCFYT.js";import{composeEventHandlers as a}from"@radix-ui/primitive";import{jsx as s}from"react/jsx-runtime";function c({className:r,onChange:n,onValueChange:o,...i}){return s("input",{className:e("border-input hover:not-disabled:not-checked:border-input-hover checked:border-primary checked:bg-primary after:bg-background focus-visible:ring-ring focus-visible:ring-3 not-disabled:shadow-xs peer inline-flex size-4 shrink-0 appearance-none items-center justify-center rounded-full border transition after:size-full after:rounded-full after:transition-[width,height] checked:after:size-1 focus-visible:outline-none disabled:opacity-50",r),type:"radio",onChange:a(n,t=>o?.(t.currentTarget.value)),...i})}export{c as a};
2
+ //# sourceMappingURL=chunk-BBU6D4ST.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/radio.tsx"],"names":["composeEventHandlers","jsx","Radio","className","onChange","onValueChange","props","cn","event"],"mappings":"wCAIA,OAAS,wBAAAA,MAA4B,sBAcjC,cAAAC,MAAA,oBAFJ,SAASC,EAAM,CAAE,UAAAC,EAAW,SAAAC,EAAU,cAAAC,EAAe,GAAGC,CAAM,EAA4B,CACxF,OACEL,EAAC,SACC,UAAWM,EACT,sbACAJ,CACF,EACA,KAAK,QACL,SAAUH,EAAqBI,EAAWI,GAAUH,IAAgBG,EAAM,cAAc,KAAK,CAAC,EAC7F,GAAGF,EACN,CAEJ","sourcesContent":["'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport { composeEventHandlers } from '@radix-ui/primitive';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Radio\n * -------------------------------------------------------------------------- */\n\ninterface RadioProps extends Omit<ComponentProps<'input'>, 'type'> {\n onValueChange?: (value: string) => void;\n}\n\nfunction Radio({ className, onChange, onValueChange, ...props }: RadioProps): JSX.Element {\n return (\n <input\n className={cn(\n 'border-input hover:not-disabled:not-checked:border-input-hover checked:border-primary checked:bg-primary after:bg-background focus-visible:ring-ring focus-visible:ring-3 not-disabled:shadow-xs peer inline-flex size-4 shrink-0 appearance-none items-center justify-center rounded-full border transition after:size-full after:rounded-full after:transition-[width,height] checked:after:size-1 focus-visible:outline-none disabled:opacity-50',\n className,\n )}\n type=\"radio\"\n onChange={composeEventHandlers(onChange, (event) => onValueChange?.(event.currentTarget.value))}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Radio };\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkEHXXHEKFcjs = require('./chunk-EHXXHEKF.cjs');var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _cmdk = require('cmdk');var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function d({className:o,...e}){return _jsxruntime.jsx.call(void 0, _cmdk.Command,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-popover text-popover-foreground flex flex-col overflow-hidden rounded-[inherit] focus-visible:outline-none",o),...e})}function l({children:o,...e}){return _jsxruntime.jsx.call(void 0, _chunkEHXXHEKFcjs.a,{...e,children:_jsxruntime.jsx.call(void 0, _chunkEHXXHEKFcjs.c,{className:"p-0",children:_jsxruntime.jsx.call(void 0, d,{className:"[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input]]:h-12",children:o})})})}function P({className:o,...e}){return _jsxruntime.jsxs.call(void 0, "div",{className:"flex items-center gap-2 border-b px-3","cmdk-input-wrapper":"",children:[_jsxruntime.jsx.call(void 0, _lucidereact.SearchIcon,{className:"size-5 shrink-0 opacity-50"}),_jsxruntime.jsx.call(void 0, _cmdk.Command.Input,{className:_chunkSMJEDCFPcjs.a.call(void 0, "placeholder:text-muted-foreground flex h-10 w-full text-sm outline-none disabled:opacity-50",o),...e})]})}function g({className:o,...e}){return _jsxruntime.jsx.call(void 0, _cmdk.Command.List,{className:_chunkSMJEDCFPcjs.a.call(void 0, "max-h-75 overflow-y-auto overflow-x-hidden",o),...e})}function f({className:o,...e}){return _jsxruntime.jsx.call(void 0, _cmdk.Command.Empty,{className:_chunkSMJEDCFPcjs.a.call(void 0, "py-6 text-center text-sm",o),...e})}function y({className:o,...e}){return _jsxruntime.jsx.call(void 0, _cmdk.Command.Group,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",o),...e})}function x({className:o,...e}){return _jsxruntime.jsx.call(void 0, _cmdk.Command.Separator,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-border -mx-1 h-px",o),...e})}function h({className:o,...e}){return _jsxruntime.jsx.call(void 0, _cmdk.Command.Item,{className:_chunkSMJEDCFPcjs.a.call(void 0, "aria-selected:bg-accent aria-selected:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm aria-disabled:opacity-50 aria-selected:outline-none",o),...e})}function S({className:o,...e}){return _jsxruntime.jsx.call(void 0, _cmdk.Command.Loading,{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex justify-center p-2",o),...e})}function v({className:o,...e}){return _jsxruntime.jsx.call(void 0, "span",{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground group-aria-selected:text-accent-foreground ml-auto text-xs tracking-widest",o),...e})}exports.a = d; exports.b = l; exports.c = P; exports.d = g; exports.e = f; exports.f = y; exports.g = x; exports.h = h; exports.i = S; exports.j = v;
2
+ //# sourceMappingURL=chunk-BJ6N2IUA.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-BJ6N2IUA.cjs","../src/components/command.tsx"],"names":["className","CommandPrimitive","cn","CommandDialog","children","Dialog","DialogContent","Command","CommandInput","jsx","SearchIcon","CommandList","CommandEmpty","CommandGroup","CommandSeparator","CommandItem","CommandLoading","CommandShortcut"],"mappings":"AAAA,qFAAY,CAAC,wDAA+C,wDCInD,4BACA,2CAaL,+CAFe,SAAAA,CAAAA,CAAW,CAAA,SAC5B,CAAA,CAAA,CAAA,GACGC,CAAAA,CAAA,CACC,CAAA,OAAA,6BAAA,aAAWC,CACT,CAAA,SAAA,CAAA,iCAAA,+GAcR,CAAA,CAAA,CAAA,CAAA,GAASC,CAAAA,CAAc,CAAE,CAAA,SAAAC,CAAU,CAAA,CAAA,QACjC,CAAA,CAAA,CAAA,GACGC,CAAAA,CAAA,CAAQ,CAAA,OACP,6BAAA,mBAAA,CAAA,CAAA,GAACC,CAAAA,CAAA,QAAc,CAAA,6BAAA,mBAAU,CAAA,CAAA,SACvB,CAAA,KAACC,CAAA,QAAQ,CAAA,6BAAA,CAAU,CAAA,CAAA,SAAA,CAAA,2LAEnB,CACF,QAWN,CAAA,CAAA,CAAA,CAAA,CAASC,CAAAA,CAAa,CAAE,CAAA,SAAAR,CAAAA,CAAW,CAAA,SACjC,CAAA,CAAA,CAAA,GACG,CAAA,CAAA,CAAA,CAAA,OAAI,8BAAA,KAAU,CAAA,CAAA,SAAA,CAAA,uCAAwC,CAAA,oBACrD,CAAAS,EAACC,CAAAA,QAAW,CAAA,CAAA,6BAAA,uBAAU,CAAA,CAAA,SAAA,CAAA,4BACrB,CACC,CAAA,CAAA,6BAAA,aAAA,CAAA,KAAWR,CACT,CAAA,SAAA,CAAA,iCAAA,6FAOV,CAQA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAASS,CAAAA,CAAY,CAAE,CAAA,SAAAX,CAAAA,CAAW,CAAA,SAChC,CAAA,CAAA,CAAA,GAAQC,CAAAA,CAAiB,CAAA,CAAA,OAAK,6BAAA,aAAA,CAAA,IAAWC,CAAG,CAAA,SAAA,CAAA,iCAAA,4CAS9C,CAAA,CAAA,CAAA,CAAA,GAASU,CAAAA,CAAa,CAAE,CAAA,SAAAZ,CAAAA,CAAW,CAAA,SACjC,CAAA,CAAA,CAAA,GAAQC,CAAAA,CAAiB,CAAA,CAAA,OAAM,6BAAA,aAAA,CAAA,KAAWC,CAAG,CAAA,SAAA,CAAA,iCAAA,0BAS/C,CAAA,CAAA,CAAA,CAAA,GAASW,CAAAA,CAAa,CAAE,CAAA,SAAAb,CAAAA,CAAW,CAAA,SACjC,CAAA,CAAA,CAAA,GACGC,CAAAA,CAAiB,CAAA,CAAA,OAChB,6BAAA,aAAA,CAAA,KAAWC,CACT,CAAA,SAAA,CAAA,iCAAA,wNAcR,CAAA,CAAA,CAAA,CAAA,GAASY,CAAAA,CAAiB,CAAE,CAAA,SAAAd,CAAAA,CAAW,CAAA,SACrC,CAAA,CAAA,CAAA,GAAQC,CAAAA,CAAiB,CAAA,CAAA,OAAA,6BAAjB,aAA2B,CAAA,SAAWC,CAAG,CAAA,SAAA,CAAA,iCAAA,sBASnD,CAAA,CAAA,CAAA,CAAA,GAASa,CAAAA,CAAY,CAAE,CAAA,SAAAf,CAAAA,CAAW,CAAA,SAChC,CAAA,CAAA,CAAA,GACGC,CAAAA,CAAiB,CAAA,CAAA,OAChB,6BAAA,aAAA,CAAA,IAAWC,CACT,CAAA,SAAA,CAAA,iCAAA,sMAcR,CAAA,CAAA,CAAA,CAAA,GAASc,CAAAA,CAAe,CAAE,CAAA,SAAAhB,CAAAA,CAAW,CAAA,SACnC,CAAA,CAAA,CAAA,GAAQC,CAAAA,CAAiB,CAAA,CAAA,OAAQ,6BAAA,aAAA,CAAA,OAAWC,CAAG,CAAA,SAAA,CAAA,iCAAA,yBASjD,CAAA,CAAA,CAAA,CAAA,GAASe,CAAAA,CAAgB,CAAE,CAAA,SAAAjB,CAAAA,CAAW,CAAA,SACpC,CAAA,CAAA,CAAA,GACG,CAAA,CAAA,CAAA,CAAA,OACC,6BAAA,MAAWE,CACT,CAAA,SAAA,CAAA,iCAAA,kGAMR,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,qJAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-BJ6N2IUA.cjs","sourcesContent":[null,"'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport { Command as CommandPrimitive } from 'cmdk';\nimport { SearchIcon } from 'lucide-react';\n\nimport { Dialog, DialogContent } from '@/components/dialog';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Command\n * -------------------------------------------------------------------------- */\n\ntype CommandProps = ComponentProps<typeof CommandPrimitive>;\n\nfunction Command({ className, ...props }: CommandProps): JSX.Element {\n return (\n <CommandPrimitive\n className={cn(\n 'bg-popover text-popover-foreground flex flex-col overflow-hidden rounded-[inherit] focus-visible:outline-none',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandDialog\n * -------------------------------------------------------------------------- */\n\ntype CommandDialogProps = ComponentProps<typeof Dialog>;\n\nfunction CommandDialog({ children, ...props }: CommandDialogProps): JSX.Element {\n return (\n <Dialog {...props}>\n <DialogContent className=\"p-0\">\n <Command className=\"[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input]]:h-12\">\n {children}\n </Command>\n </DialogContent>\n </Dialog>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandInput\n * -------------------------------------------------------------------------- */\n\ntype CommandInputProps = ComponentProps<typeof CommandPrimitive.Input>;\n\nfunction CommandInput({ className, ...props }: CommandInputProps): JSX.Element {\n return (\n <div className=\"flex items-center gap-2 border-b px-3\" cmdk-input-wrapper=\"\">\n <SearchIcon className=\"size-5 shrink-0 opacity-50\" />\n <CommandPrimitive.Input\n className={cn(\n 'placeholder:text-muted-foreground flex h-10 w-full text-sm outline-none disabled:opacity-50',\n className,\n )}\n {...props}\n />\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandList\n * -------------------------------------------------------------------------- */\n\ntype CommandListProps = ComponentProps<typeof CommandPrimitive.List>;\n\nfunction CommandList({ className, ...props }: CommandListProps): JSX.Element {\n return <CommandPrimitive.List className={cn('max-h-75 overflow-y-auto overflow-x-hidden', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandEmpty\n * -------------------------------------------------------------------------- */\n\ntype CommandEmptyProps = ComponentProps<typeof CommandPrimitive.Empty>;\n\nfunction CommandEmpty({ className, ...props }: CommandEmptyProps): JSX.Element {\n return <CommandPrimitive.Empty className={cn('py-6 text-center text-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandGroup\n * -------------------------------------------------------------------------- */\n\ntype CommandGroupProps = ComponentProps<typeof CommandPrimitive.Group>;\n\nfunction CommandGroup({ className, ...props }: CommandGroupProps): JSX.Element {\n return (\n <CommandPrimitive.Group\n className={cn(\n 'text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandSeparator\n * -------------------------------------------------------------------------- */\n\ntype CommandSeparatorProps = ComponentProps<typeof CommandPrimitive.Separator>;\n\nfunction CommandSeparator({ className, ...props }: CommandSeparatorProps): JSX.Element {\n return <CommandPrimitive.Separator className={cn('bg-border -mx-1 h-px', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandItem\n * -------------------------------------------------------------------------- */\n\ntype CommandItemProps = ComponentProps<typeof CommandPrimitive.Item>;\n\nfunction CommandItem({ className, ...props }: CommandItemProps): JSX.Element {\n return (\n <CommandPrimitive.Item\n className={cn(\n 'aria-selected:bg-accent aria-selected:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm aria-disabled:opacity-50 aria-selected:outline-none',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandLoading\n * -------------------------------------------------------------------------- */\n\ntype CommandLoadingProps = ComponentProps<typeof CommandPrimitive.Loading>;\n\nfunction CommandLoading({ className, ...props }: CommandLoadingProps): JSX.Element {\n return <CommandPrimitive.Loading className={cn('flex justify-center p-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandShortcut\n * -------------------------------------------------------------------------- */\n\ntype CommandShortcutProps = ComponentProps<'span'>;\n\nfunction CommandShortcut({ className, ...props }: CommandShortcutProps): JSX.Element {\n return (\n <span\n className={cn(\n 'text-muted-foreground group-aria-selected:text-accent-foreground ml-auto text-xs tracking-widest',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n CommandDialogProps,\n CommandEmptyProps,\n CommandGroupProps,\n CommandInputProps,\n CommandItemProps,\n CommandListProps,\n CommandLoadingProps,\n CommandProps,\n CommandSeparatorProps,\n CommandShortcutProps,\n};\nexport {\n Command,\n CommandDialog,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandLoading,\n CommandSeparator,\n CommandShortcut,\n};\n"]}
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk-OKUFCFYT.js";import*as t from"@radix-ui/react-switch";import{jsx as i}from"react/jsx-runtime";function n({className:o,...s}){return i(t.Root,{className:e("p-0.75 data-[state=unchecked]:bg-input data-[state=checked]:bg-primary focus-visible:ring-ring focus-visible:ring-3 not-disabled:shadow-xs peer inline-flex h-5 w-9 shrink-0 items-center rounded-full focus-visible:outline-none disabled:opacity-50",o),...s,children:i(t.Thumb,{className:"bg-background pointer-events-none block size-3.5 rounded-full shadow-sm transition data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"})})}export{n as a};
2
+ //# sourceMappingURL=chunk-BTYNCXRY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/switch.tsx"],"names":["SwitchPrimitives","jsx","Switch","className","props","cn"],"mappings":"wCAEA,UAAYA,MAAsB,yBAmB5B,cAAAC,MAAA,oBATN,SAASC,EAAO,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAA6B,CACjE,OACEH,EAAkB,OAAjB,CACC,UAAWI,EACT,wPACAF,CACF,EACC,GAAGC,EAEJ,SAAAH,EAAkB,QAAjB,CAAuB,UAAU,6JAA6J,EACjM,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as SwitchPrimitives from '@radix-ui/react-switch';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Switch\n * -------------------------------------------------------------------------- */\n\ntype SwitchProps = ComponentProps<typeof SwitchPrimitives.Root>;\n\nfunction Switch({ className, ...props }: SwitchProps): JSX.Element {\n return (\n <SwitchPrimitives.Root\n className={cn(\n 'p-0.75 data-[state=unchecked]:bg-input data-[state=checked]:bg-primary focus-visible:ring-ring focus-visible:ring-3 not-disabled:shadow-xs peer inline-flex h-5 w-9 shrink-0 items-center rounded-full focus-visible:outline-none disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <SwitchPrimitives.Thumb className=\"bg-background pointer-events-none block size-3.5 rounded-full shadow-sm transition data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0\" />\n </SwitchPrimitives.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { SwitchProps };\nexport { Switch };\n"]}
@@ -1,2 +1,2 @@
1
- import{useTheme as e}from"next-themes";import{Toaster as r}from"sonner";import{toast as g}from"sonner";import{jsx as s}from"react/jsx-runtime";function n({...t}){let{theme:o="system"}=e();return s(r,{className:"toaster group",theme:o,toastOptions:{classNames:{actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",content:"w-full flex flex-col gap-1",description:"group-[.toast]:text-muted-foreground",toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg"}},...t})}export{n as a,g as b};
2
- //# sourceMappingURL=chunk-ONU4ZNQP.js.map
1
+ import{useTheme as e}from"next-themes";import{Toaster as r}from"sonner";import{toast as g}from"sonner";import{jsx as s}from"react/jsx-runtime";function n({...t}){let{theme:o="system"}=e();return s(r,{className:"toaster group",theme:o,toastOptions:{classNames:{actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",content:"w-full flex flex-col gap-1",description:"group-[.toast]:text-muted-foreground",toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-xs"}},...t})}export{n as a,g as b};
2
+ //# sourceMappingURL=chunk-BYLDBIZQ.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/sonner.tsx"],"names":["useTheme","Sonner","toast","jsx","Toaster","props","theme"],"mappings":"AAEA,OAAS,YAAAA,MAAgB,cACzB,OAAS,WAAWC,MAAc,SAsClC,OAAS,SAAAC,MAAa,SAzBlB,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAA8B,CACxD,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACF,EAAA,CACC,UAAU,gBACV,MAAOK,EACP,aAAc,CACZ,WAAY,CACV,aAAc,mEACd,aAAc,+DACd,QAAS,6BACT,YAAa,uCACb,MACE,uIACJ,CACF,EACC,GAAGD,EACN,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { useTheme } from 'next-themes';\nimport { Toaster as Sonner } from 'sonner';\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = ComponentProps<typeof Sonner>;\ntype Theme = 'dark' | 'light' | 'system' | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): JSX.Element {\n const { theme = 'system' } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n className=\"toaster group\"\n theme={theme}\n toastOptions={{\n classNames: {\n actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',\n cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',\n content: 'w-full flex flex-col gap-1',\n description: 'group-[.toast]:text-muted-foreground',\n toast:\n 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { ToasterProps };\nexport { Toaster };\n\nexport { toast } from 'sonner';\n"]}
1
+ {"version":3,"sources":["../src/components/sonner.tsx"],"names":["useTheme","Sonner","toast","jsx","Toaster","props","theme"],"mappings":"AAEA,OAAS,YAAAA,MAAgB,cACzB,OAAS,WAAWC,MAAc,SAmClC,OAAS,SAAAC,MAAa,SAtBlB,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAA8B,CACxD,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACF,EAAA,CACC,UAAU,gBACV,MAAOK,EACP,aAAc,CACZ,WAAY,CACV,aAAc,mEACd,aAAc,+DACd,QAAS,6BACT,YAAa,uCACb,MACE,uIACJ,CACF,EACC,GAAGD,EACN,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { useTheme } from 'next-themes';\nimport { Toaster as Sonner } from 'sonner';\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = ComponentProps<typeof Sonner>;\ntype Theme = 'dark' | 'light' | 'system' | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): JSX.Element {\n const { theme = 'system' } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n className=\"toaster group\"\n theme={theme}\n toastOptions={{\n classNames: {\n actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',\n cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',\n content: 'w-full flex flex-col gap-1',\n description: 'group-[.toast]:text-muted-foreground',\n toast:\n 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-xs',\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { toast } from 'sonner';\nexport type { ToasterProps };\nexport { Toaster };\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _inputotp = require('input-otp');var _lucidereact = require('lucide-react');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');function O({className:t,containerClassName:n,...r}){return _jsxruntime.jsx.call(void 0, _inputotp.OTPInput,{className:_chunkSMJEDCFPcjs.a.call(void 0, t),containerClassName:_chunkSMJEDCFPcjs.a.call(void 0, "flex items-center gap-2 has-disabled:opacity-50",n),...r})}function T({className:t,...n}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex items-center -space-x-px",t),...n})}function f({className:t,index:n,...r}){let p=_react.useContext.call(void 0, _inputotp.OTPInputContext).slots[n];return _jsxruntime.jsxs.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "border-input data-[state=active]:ring-3 data-[state=active]:ring-ring data-[state=active]:border-ring not-has-disabled:shadow-xs relative flex size-10 items-center justify-center border text-sm transition-all first:rounded-l-lg last:rounded-r-lg data-[state=active]:z-10",t),"data-state":p.isActive?"active":"inactive",...r,children:[p.char,p.hasFakeCaret?_jsxruntime.jsx.call(void 0, "div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:_jsxruntime.jsx.call(void 0, "div",{className:"animate-caret-blink bg-foreground animation-duration-1000 h-4 w-px"})}):null]})}function v({...t}){return _jsxruntime.jsx.call(void 0, "div",{role:"separator",...t,children:_jsxruntime.jsx.call(void 0, _lucidereact.DotIcon,{})})}exports.a = O; exports.b = T; exports.c = f; exports.d = v; exports.e = _inputotp.REGEXP_ONLY_CHARS; exports.f = _inputotp.REGEXP_ONLY_DIGITS; exports.g = _inputotp.REGEXP_ONLY_DIGITS_AND_CHARS;
2
+ //# sourceMappingURL=chunk-C2WGTATR.cjs.map