@codefast/ui 0.1.11 → 0.1.13

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 (654) hide show
  1. package/dist/chunk-5JGCIAX3.cjs +2 -0
  2. package/dist/chunk-5JGCIAX3.cjs.map +1 -0
  3. package/dist/chunk-CF44244M.js +2 -0
  4. package/dist/chunk-CF44244M.js.map +1 -0
  5. package/dist/chunk-EXOTUGK5.cjs +2 -0
  6. package/dist/chunk-EXOTUGK5.cjs.map +1 -0
  7. package/dist/chunk-FIU6XBX4.js +2 -0
  8. package/dist/chunk-FIU6XBX4.js.map +1 -0
  9. package/dist/{chunk-AFEVR6CJ.cjs → chunk-ISHID3OH.cjs} +1 -1
  10. package/dist/chunk-ISHID3OH.cjs.map +1 -0
  11. package/dist/chunk-K4DIHWHX.js +2 -0
  12. package/dist/chunk-K4DIHWHX.js.map +1 -0
  13. package/dist/chunk-KH4PSDPI.js +2 -0
  14. package/dist/chunk-KH4PSDPI.js.map +1 -0
  15. package/dist/chunk-LSBI35ZE.cjs +2 -0
  16. package/dist/chunk-LSBI35ZE.cjs.map +1 -0
  17. package/dist/chunk-O4CKTS5M.cjs +2 -0
  18. package/dist/chunk-O4CKTS5M.cjs.map +1 -0
  19. package/dist/chunk-ONMU2LFX.js +2 -0
  20. package/dist/chunk-ONMU2LFX.js.map +1 -0
  21. package/dist/chunk-SL4DH4JN.cjs +2 -0
  22. package/dist/chunk-SL4DH4JN.cjs.map +1 -0
  23. package/dist/chunk-TY2YG7LH.cjs +2 -0
  24. package/dist/chunk-TY2YG7LH.cjs.map +1 -0
  25. package/dist/chunk-V2GDHPHA.js +2 -0
  26. package/dist/chunk-V2GDHPHA.js.map +1 -0
  27. package/dist/chunk-XOSPBKAU.cjs +2 -0
  28. package/dist/chunk-XOSPBKAU.cjs.map +1 -0
  29. package/dist/chunk-YGPIWXWP.js +2 -0
  30. package/dist/chunk-YGPIWXWP.js.map +1 -0
  31. package/dist/chunk-YGWCQ264.cjs +2 -0
  32. package/dist/chunk-YGWCQ264.cjs.map +1 -0
  33. package/dist/{chunk-WKA7T7JG.js → chunk-YHZ3FJ6Z.js} +1 -1
  34. package/dist/chunk-YHZ3FJ6Z.js.map +1 -0
  35. package/dist/chunk-ZBAEU4QU.js +2 -0
  36. package/dist/chunk-ZBAEU4QU.js.map +1 -0
  37. package/dist/components/accordion.cjs.map +1 -0
  38. package/dist/components/accordion.js.map +1 -0
  39. package/dist/components/alert-dialog.cjs +2 -0
  40. package/dist/components/alert-dialog.cjs.map +1 -0
  41. package/dist/{react → components}/alert-dialog.d.cts +1 -1
  42. package/dist/{react → components}/alert-dialog.d.ts +1 -1
  43. package/dist/components/alert-dialog.js +2 -0
  44. package/dist/components/alert-dialog.js.map +1 -0
  45. package/dist/components/alert.cjs.map +1 -0
  46. package/dist/components/alert.js.map +1 -0
  47. package/dist/components/aspect-ratio.cjs.map +1 -0
  48. package/dist/components/aspect-ratio.js.map +1 -0
  49. package/dist/components/avatar.cjs.map +1 -0
  50. package/dist/components/avatar.js.map +1 -0
  51. package/dist/components/badge.cjs +2 -0
  52. package/dist/components/badge.cjs.map +1 -0
  53. package/dist/components/badge.d.cts +154 -0
  54. package/dist/components/badge.d.ts +154 -0
  55. package/dist/components/badge.js +2 -0
  56. package/dist/components/badge.js.map +1 -0
  57. package/dist/components/blockquote.cjs.map +1 -0
  58. package/dist/components/blockquote.js.map +1 -0
  59. package/dist/components/box.cjs.map +1 -0
  60. package/dist/components/box.js.map +1 -0
  61. package/dist/components/breadcrumb.cjs +2 -0
  62. package/dist/components/breadcrumb.cjs.map +1 -0
  63. package/dist/{react → components}/breadcrumb.d.cts +1 -1
  64. package/dist/{react → components}/breadcrumb.d.ts +1 -1
  65. package/dist/components/breadcrumb.js +2 -0
  66. package/dist/components/breadcrumb.js.map +1 -0
  67. package/dist/components/button.cjs +2 -0
  68. package/dist/components/button.cjs.map +1 -0
  69. package/dist/components/button.d.cts +13 -0
  70. package/dist/components/button.d.ts +13 -0
  71. package/dist/components/button.js +2 -0
  72. package/dist/components/calendar.cjs +2 -0
  73. package/dist/components/calendar.cjs.map +1 -0
  74. package/dist/components/calendar.js +2 -0
  75. package/dist/components/calendar.js.map +1 -0
  76. package/dist/components/card.cjs +2 -0
  77. package/dist/components/card.cjs.map +1 -0
  78. package/dist/components/card.js +2 -0
  79. package/dist/components/card.js.map +1 -0
  80. package/dist/components/carousel.cjs +2 -0
  81. package/dist/components/carousel.cjs.map +1 -0
  82. package/dist/{react → components}/carousel.d.cts +1 -0
  83. package/dist/{react → components}/carousel.d.ts +1 -0
  84. package/dist/components/carousel.js +2 -0
  85. package/dist/components/carousel.js.map +1 -0
  86. package/dist/{react → components}/checkbox-cards.cjs +1 -1
  87. package/dist/components/checkbox-cards.cjs.map +1 -0
  88. package/dist/components/checkbox-cards.js +2 -0
  89. package/dist/components/checkbox-cards.js.map +1 -0
  90. package/dist/{react → components}/checkbox-group.cjs +1 -1
  91. package/dist/components/checkbox-group.cjs.map +1 -0
  92. package/dist/{react → components}/checkbox-group.js +1 -1
  93. package/dist/components/checkbox-group.js.map +1 -0
  94. package/dist/{react → components}/checkbox.cjs +1 -1
  95. package/dist/components/checkbox.cjs.map +1 -0
  96. package/dist/components/checkbox.js +2 -0
  97. package/dist/components/checkbox.js.map +1 -0
  98. package/dist/components/code.cjs.map +1 -0
  99. package/dist/components/code.js.map +1 -0
  100. package/dist/components/collapsible.cjs.map +1 -0
  101. package/dist/components/collapsible.js.map +1 -0
  102. package/dist/components/command.cjs +2 -0
  103. package/dist/components/command.cjs.map +1 -0
  104. package/dist/{react → components}/command.d.cts +1 -1
  105. package/dist/{react → components}/command.d.ts +1 -1
  106. package/dist/components/command.js +2 -0
  107. package/dist/components/command.js.map +1 -0
  108. package/dist/components/container.cjs.map +1 -0
  109. package/dist/components/container.js.map +1 -0
  110. package/dist/components/context-menu.cjs +2 -0
  111. package/dist/components/context-menu.cjs.map +1 -0
  112. package/dist/components/context-menu.js +2 -0
  113. package/dist/components/context-menu.js.map +1 -0
  114. package/dist/components/data-table.cjs +2 -0
  115. package/dist/components/data-table.cjs.map +1 -0
  116. package/dist/components/data-table.js +2 -0
  117. package/dist/components/data-table.js.map +1 -0
  118. package/dist/components/dialog.cjs +2 -0
  119. package/dist/components/dialog.cjs.map +1 -0
  120. package/dist/{react → components}/dialog.d.cts +1 -1
  121. package/dist/{react → components}/dialog.d.ts +1 -1
  122. package/dist/components/dialog.js +2 -0
  123. package/dist/components/drawer.cjs +2 -0
  124. package/dist/components/drawer.cjs.map +1 -0
  125. package/dist/{react → components}/drawer.d.cts +2 -4
  126. package/dist/{react → components}/drawer.d.ts +2 -4
  127. package/dist/components/drawer.js +2 -0
  128. package/dist/components/drawer.js.map +1 -0
  129. package/dist/components/dropdown-menu.cjs +2 -0
  130. package/dist/components/dropdown-menu.cjs.map +1 -0
  131. package/dist/{react → components}/dropdown-menu.js +1 -1
  132. package/dist/components/em.cjs.map +1 -0
  133. package/dist/components/em.js.map +1 -0
  134. package/dist/components/form.cjs +2 -0
  135. package/dist/components/form.cjs.map +1 -0
  136. package/dist/components/form.js +2 -0
  137. package/dist/components/form.js.map +1 -0
  138. package/dist/components/heading.cjs.map +1 -0
  139. package/dist/components/heading.js.map +1 -0
  140. package/dist/components/hover-card.cjs.map +1 -0
  141. package/dist/components/hover-card.js.map +1 -0
  142. package/dist/components/input-otp.cjs.map +1 -0
  143. package/dist/components/input-otp.js.map +1 -0
  144. package/dist/components/kbd.cjs.map +1 -0
  145. package/dist/components/kbd.js.map +1 -0
  146. package/dist/components/label.cjs +2 -0
  147. package/dist/components/label.cjs.map +1 -0
  148. package/dist/components/label.js +2 -0
  149. package/dist/components/menubar.cjs +2 -0
  150. package/dist/components/menubar.cjs.map +1 -0
  151. package/dist/components/menubar.js +2 -0
  152. package/dist/components/menubar.js.map +1 -0
  153. package/dist/components/navigation-menu.cjs +2 -0
  154. package/dist/components/navigation-menu.cjs.map +1 -0
  155. package/dist/{react → components}/navigation-menu.d.cts +1 -4
  156. package/dist/{react → components}/navigation-menu.d.ts +1 -4
  157. package/dist/components/navigation-menu.js +2 -0
  158. package/dist/components/navigation-menu.js.map +1 -0
  159. package/dist/components/number-input.cjs +2 -0
  160. package/dist/components/number-input.cjs.map +1 -0
  161. package/dist/{react → components}/number-input.d.cts +1 -2
  162. package/dist/{react → components}/number-input.d.ts +1 -2
  163. package/dist/components/number-input.js +2 -0
  164. package/dist/components/number-input.js.map +1 -0
  165. package/dist/components/pagination.cjs +2 -0
  166. package/dist/components/pagination.cjs.map +1 -0
  167. package/dist/{react → components}/pagination.d.cts +1 -1
  168. package/dist/{react → components}/pagination.d.ts +1 -1
  169. package/dist/components/pagination.js +2 -0
  170. package/dist/components/pagination.js.map +1 -0
  171. package/dist/components/popover.cjs.map +1 -0
  172. package/dist/components/popover.js.map +1 -0
  173. package/dist/components/pre.cjs.map +1 -0
  174. package/dist/components/pre.js.map +1 -0
  175. package/dist/components/progress.cjs.map +1 -0
  176. package/dist/components/progress.js.map +1 -0
  177. package/dist/components/quote.cjs.map +1 -0
  178. package/dist/components/quote.js.map +1 -0
  179. package/dist/{react → components}/radio-cards.cjs +1 -1
  180. package/dist/components/radio-cards.cjs.map +1 -0
  181. package/dist/{react → components}/radio-cards.js +1 -1
  182. package/dist/components/radio-cards.js.map +1 -0
  183. package/dist/components/radio-group.cjs.map +1 -0
  184. package/dist/components/radio-group.js.map +1 -0
  185. package/dist/components/radio.cjs.map +1 -0
  186. package/dist/components/radio.js.map +1 -0
  187. package/dist/components/resizable.cjs.map +1 -0
  188. package/dist/components/resizable.js.map +1 -0
  189. package/dist/components/scroll-area.cjs +2 -0
  190. package/dist/components/scroll-area.cjs.map +1 -0
  191. package/dist/{react → components}/scroll-area.d.cts +24 -24
  192. package/dist/{react → components}/scroll-area.d.ts +24 -24
  193. package/dist/components/scroll-area.js +2 -0
  194. package/dist/components/scroll-area.js.map +1 -0
  195. package/dist/components/section.cjs.map +1 -0
  196. package/dist/components/section.js.map +1 -0
  197. package/dist/components/select.cjs +2 -0
  198. package/dist/components/select.cjs.map +1 -0
  199. package/dist/{react → components}/select.d.cts +7 -2
  200. package/dist/{react → components}/select.d.ts +7 -2
  201. package/dist/components/select.js +2 -0
  202. package/dist/components/separator.cjs +2 -0
  203. package/dist/components/separator.cjs.map +1 -0
  204. package/dist/{react → components}/separator.d.cts +2 -2
  205. package/dist/{react → components}/separator.d.ts +2 -2
  206. package/dist/components/separator.js +2 -0
  207. package/dist/components/separator.js.map +1 -0
  208. package/dist/components/sheet.cjs +2 -0
  209. package/dist/components/sheet.cjs.map +1 -0
  210. package/dist/{react → components}/sheet.d.cts +5 -5
  211. package/dist/{react → components}/sheet.d.ts +5 -5
  212. package/dist/components/sheet.js +2 -0
  213. package/dist/components/sheet.js.map +1 -0
  214. package/dist/{react → components}/skeleton.cjs +1 -1
  215. package/dist/components/skeleton.cjs.map +1 -0
  216. package/dist/components/skeleton.js +2 -0
  217. package/dist/components/skeleton.js.map +1 -0
  218. package/dist/{react → components}/slider.cjs +1 -1
  219. package/dist/components/slider.cjs.map +1 -0
  220. package/dist/components/slider.js +2 -0
  221. package/dist/components/slider.js.map +1 -0
  222. package/dist/components/sonner.cjs.map +1 -0
  223. package/dist/components/sonner.js.map +1 -0
  224. package/dist/components/spinner.cjs +2 -0
  225. package/dist/components/spinner.cjs.map +1 -0
  226. package/dist/components/spinner.d.cts +8 -0
  227. package/dist/components/spinner.d.ts +8 -0
  228. package/dist/components/spinner.js +2 -0
  229. package/dist/components/strong.cjs.map +1 -0
  230. package/dist/components/strong.js.map +1 -0
  231. package/dist/{react → components}/switch.cjs +1 -1
  232. package/dist/components/switch.cjs.map +1 -0
  233. package/dist/components/switch.js +2 -0
  234. package/dist/components/switch.js.map +1 -0
  235. package/dist/components/table.cjs +2 -0
  236. package/dist/components/table.cjs.map +1 -0
  237. package/dist/components/table.js +2 -0
  238. package/dist/components/table.js.map +1 -0
  239. package/dist/{react → components}/tabs.cjs +1 -1
  240. package/dist/components/tabs.cjs.map +1 -0
  241. package/dist/components/tabs.js +2 -0
  242. package/dist/components/tabs.js.map +1 -0
  243. package/dist/components/text-input.cjs +2 -0
  244. package/dist/components/text-input.cjs.map +1 -0
  245. package/dist/components/text-input.d.cts +15 -0
  246. package/dist/components/text-input.d.ts +15 -0
  247. package/dist/components/text-input.js +2 -0
  248. package/dist/components/text-input.js.map +1 -0
  249. package/dist/components/text.cjs.map +1 -0
  250. package/dist/components/text.js.map +1 -0
  251. package/dist/components/textarea.cjs +2 -0
  252. package/dist/components/textarea.cjs.map +1 -0
  253. package/dist/components/textarea.d.cts +75 -0
  254. package/dist/components/textarea.d.ts +75 -0
  255. package/dist/components/textarea.js +2 -0
  256. package/dist/components/textarea.js.map +1 -0
  257. package/dist/components/toggle-group.cjs +2 -0
  258. package/dist/components/toggle-group.cjs.map +1 -0
  259. package/dist/{react → components}/toggle-group.d.cts +6 -4
  260. package/dist/{react → components}/toggle-group.d.ts +6 -4
  261. package/dist/components/toggle-group.js +2 -0
  262. package/dist/components/toggle-group.js.map +1 -0
  263. package/dist/components/toggle.cjs +2 -0
  264. package/dist/components/toggle.cjs.map +1 -0
  265. package/dist/components/toggle.d.cts +13 -0
  266. package/dist/components/toggle.d.ts +13 -0
  267. package/dist/components/toggle.js +2 -0
  268. package/dist/components/toggle.js.map +1 -0
  269. package/dist/{react → components}/tooltip.cjs +1 -1
  270. package/dist/components/tooltip.cjs.map +1 -0
  271. package/dist/{react → components}/tooltip.js +1 -1
  272. package/dist/components/tooltip.js.map +1 -0
  273. package/dist/styles/button-variants.cjs +2 -0
  274. package/dist/styles/button-variants.cjs.map +1 -0
  275. package/dist/{react/button.d.cts → styles/button-variants.d.cts} +66 -78
  276. package/dist/{react/button.d.ts → styles/button-variants.d.ts} +66 -78
  277. package/dist/styles/button-variants.js +2 -0
  278. package/dist/styles/input-variants.cjs +2 -0
  279. package/dist/styles/input-variants.cjs.map +1 -0
  280. package/dist/{react/text-input.d.cts → styles/input-variants.d.cts} +70 -23
  281. package/dist/{react/text-input.d.ts → styles/input-variants.d.ts} +70 -23
  282. package/dist/styles/input-variants.js +2 -0
  283. package/dist/styles/toggle-variants.cjs +2 -0
  284. package/dist/styles/toggle-variants.cjs.map +1 -0
  285. package/dist/styles/toggle-variants.d.cts +162 -0
  286. package/dist/styles/toggle-variants.d.ts +162 -0
  287. package/dist/styles/toggle-variants.js +2 -0
  288. package/dist/styles/toggle-variants.js.map +1 -0
  289. package/dist/styles.css +1 -1
  290. package/dist/styles.css.map +1 -1
  291. package/package.json +216 -204
  292. package/dist/chunk-AFEVR6CJ.cjs.map +0 -1
  293. package/dist/chunk-CE6DSAWA.cjs +0 -2
  294. package/dist/chunk-CE6DSAWA.cjs.map +0 -1
  295. package/dist/chunk-DULXJDFQ.js +0 -2
  296. package/dist/chunk-DULXJDFQ.js.map +0 -1
  297. package/dist/chunk-EW7DAPDC.cjs +0 -2
  298. package/dist/chunk-EW7DAPDC.cjs.map +0 -1
  299. package/dist/chunk-JK5GPYFN.js +0 -2
  300. package/dist/chunk-JK5GPYFN.js.map +0 -1
  301. package/dist/chunk-REVF5ERB.cjs +0 -2
  302. package/dist/chunk-REVF5ERB.cjs.map +0 -1
  303. package/dist/chunk-RVGKUNXC.js +0 -2
  304. package/dist/chunk-RVGKUNXC.js.map +0 -1
  305. package/dist/chunk-VEXIU3VB.js +0 -2
  306. package/dist/chunk-VEXIU3VB.js.map +0 -1
  307. package/dist/chunk-VJSYNP4O.cjs +0 -2
  308. package/dist/chunk-VJSYNP4O.cjs.map +0 -1
  309. package/dist/chunk-WKA7T7JG.js.map +0 -1
  310. package/dist/chunk-WQGHLC2A.js +0 -2
  311. package/dist/chunk-WQGHLC2A.js.map +0 -1
  312. package/dist/chunk-YIBPK6E7.cjs +0 -2
  313. package/dist/chunk-YIBPK6E7.cjs.map +0 -1
  314. package/dist/chunk-YOJAJOXD.cjs +0 -2
  315. package/dist/chunk-YOJAJOXD.cjs.map +0 -1
  316. package/dist/chunk-YQWJBH4E.js +0 -2
  317. package/dist/chunk-YQWJBH4E.js.map +0 -1
  318. package/dist/chunk-Z6T6ART3.js +0 -2
  319. package/dist/chunk-Z6T6ART3.js.map +0 -1
  320. package/dist/chunk-ZNI5WE4X.cjs +0 -2
  321. package/dist/chunk-ZNI5WE4X.cjs.map +0 -1
  322. package/dist/react/accordion.cjs.map +0 -1
  323. package/dist/react/accordion.js.map +0 -1
  324. package/dist/react/alert-dialog.cjs +0 -2
  325. package/dist/react/alert-dialog.cjs.map +0 -1
  326. package/dist/react/alert-dialog.js +0 -2
  327. package/dist/react/alert-dialog.js.map +0 -1
  328. package/dist/react/alert.cjs.map +0 -1
  329. package/dist/react/alert.js.map +0 -1
  330. package/dist/react/aspect-ratio.cjs.map +0 -1
  331. package/dist/react/aspect-ratio.js.map +0 -1
  332. package/dist/react/avatar.cjs.map +0 -1
  333. package/dist/react/avatar.js.map +0 -1
  334. package/dist/react/badge.cjs +0 -2
  335. package/dist/react/badge.cjs.map +0 -1
  336. package/dist/react/badge.d.cts +0 -60
  337. package/dist/react/badge.d.ts +0 -60
  338. package/dist/react/badge.js +0 -2
  339. package/dist/react/badge.js.map +0 -1
  340. package/dist/react/blockquote.cjs.map +0 -1
  341. package/dist/react/blockquote.js.map +0 -1
  342. package/dist/react/box.cjs.map +0 -1
  343. package/dist/react/box.js.map +0 -1
  344. package/dist/react/breadcrumb.cjs +0 -2
  345. package/dist/react/breadcrumb.cjs.map +0 -1
  346. package/dist/react/breadcrumb.js +0 -2
  347. package/dist/react/breadcrumb.js.map +0 -1
  348. package/dist/react/button.cjs +0 -2
  349. package/dist/react/button.cjs.map +0 -1
  350. package/dist/react/button.js +0 -2
  351. package/dist/react/calendar.cjs +0 -2
  352. package/dist/react/calendar.cjs.map +0 -1
  353. package/dist/react/calendar.js +0 -2
  354. package/dist/react/calendar.js.map +0 -1
  355. package/dist/react/card.cjs +0 -2
  356. package/dist/react/card.cjs.map +0 -1
  357. package/dist/react/card.js +0 -2
  358. package/dist/react/card.js.map +0 -1
  359. package/dist/react/carousel.cjs +0 -2
  360. package/dist/react/carousel.cjs.map +0 -1
  361. package/dist/react/carousel.js +0 -2
  362. package/dist/react/carousel.js.map +0 -1
  363. package/dist/react/checkbox-cards.cjs.map +0 -1
  364. package/dist/react/checkbox-cards.js +0 -2
  365. package/dist/react/checkbox-cards.js.map +0 -1
  366. package/dist/react/checkbox-group.cjs.map +0 -1
  367. package/dist/react/checkbox-group.js.map +0 -1
  368. package/dist/react/checkbox.cjs.map +0 -1
  369. package/dist/react/checkbox.js +0 -2
  370. package/dist/react/checkbox.js.map +0 -1
  371. package/dist/react/code.cjs.map +0 -1
  372. package/dist/react/code.js.map +0 -1
  373. package/dist/react/collapsible.cjs.map +0 -1
  374. package/dist/react/collapsible.js.map +0 -1
  375. package/dist/react/command.cjs +0 -2
  376. package/dist/react/command.cjs.map +0 -1
  377. package/dist/react/command.js +0 -2
  378. package/dist/react/command.js.map +0 -1
  379. package/dist/react/container.cjs.map +0 -1
  380. package/dist/react/container.js.map +0 -1
  381. package/dist/react/context-menu.cjs +0 -2
  382. package/dist/react/context-menu.cjs.map +0 -1
  383. package/dist/react/context-menu.js +0 -2
  384. package/dist/react/context-menu.js.map +0 -1
  385. package/dist/react/data-table.cjs +0 -2
  386. package/dist/react/data-table.cjs.map +0 -1
  387. package/dist/react/data-table.js +0 -2
  388. package/dist/react/data-table.js.map +0 -1
  389. package/dist/react/dialog.cjs +0 -2
  390. package/dist/react/dialog.cjs.map +0 -1
  391. package/dist/react/dialog.js +0 -2
  392. package/dist/react/drawer.cjs +0 -2
  393. package/dist/react/drawer.cjs.map +0 -1
  394. package/dist/react/drawer.js +0 -2
  395. package/dist/react/drawer.js.map +0 -1
  396. package/dist/react/dropdown-menu.cjs +0 -2
  397. package/dist/react/dropdown-menu.cjs.map +0 -1
  398. package/dist/react/em.cjs.map +0 -1
  399. package/dist/react/em.js.map +0 -1
  400. package/dist/react/form.cjs +0 -2
  401. package/dist/react/form.cjs.map +0 -1
  402. package/dist/react/form.js +0 -2
  403. package/dist/react/form.js.map +0 -1
  404. package/dist/react/heading.cjs.map +0 -1
  405. package/dist/react/heading.js.map +0 -1
  406. package/dist/react/hover-card.cjs.map +0 -1
  407. package/dist/react/hover-card.js.map +0 -1
  408. package/dist/react/input-otp.cjs.map +0 -1
  409. package/dist/react/input-otp.js.map +0 -1
  410. package/dist/react/kbd.cjs.map +0 -1
  411. package/dist/react/kbd.js.map +0 -1
  412. package/dist/react/label.cjs +0 -2
  413. package/dist/react/label.cjs.map +0 -1
  414. package/dist/react/label.js +0 -2
  415. package/dist/react/menubar.cjs +0 -2
  416. package/dist/react/menubar.cjs.map +0 -1
  417. package/dist/react/menubar.js +0 -2
  418. package/dist/react/menubar.js.map +0 -1
  419. package/dist/react/navigation-menu.cjs +0 -2
  420. package/dist/react/navigation-menu.cjs.map +0 -1
  421. package/dist/react/navigation-menu.js +0 -2
  422. package/dist/react/navigation-menu.js.map +0 -1
  423. package/dist/react/number-input.cjs +0 -2
  424. package/dist/react/number-input.cjs.map +0 -1
  425. package/dist/react/number-input.js +0 -2
  426. package/dist/react/number-input.js.map +0 -1
  427. package/dist/react/pagination.cjs +0 -2
  428. package/dist/react/pagination.cjs.map +0 -1
  429. package/dist/react/pagination.js +0 -2
  430. package/dist/react/pagination.js.map +0 -1
  431. package/dist/react/popover.cjs.map +0 -1
  432. package/dist/react/popover.js.map +0 -1
  433. package/dist/react/pre.cjs.map +0 -1
  434. package/dist/react/pre.js.map +0 -1
  435. package/dist/react/progress.cjs.map +0 -1
  436. package/dist/react/progress.js.map +0 -1
  437. package/dist/react/quote.cjs.map +0 -1
  438. package/dist/react/quote.js.map +0 -1
  439. package/dist/react/radio-cards.cjs.map +0 -1
  440. package/dist/react/radio-cards.js.map +0 -1
  441. package/dist/react/radio-group.cjs.map +0 -1
  442. package/dist/react/radio-group.js.map +0 -1
  443. package/dist/react/radio.cjs.map +0 -1
  444. package/dist/react/radio.js.map +0 -1
  445. package/dist/react/resizable.cjs.map +0 -1
  446. package/dist/react/resizable.js.map +0 -1
  447. package/dist/react/scroll-area.cjs +0 -2
  448. package/dist/react/scroll-area.cjs.map +0 -1
  449. package/dist/react/scroll-area.js +0 -2
  450. package/dist/react/scroll-area.js.map +0 -1
  451. package/dist/react/section.cjs.map +0 -1
  452. package/dist/react/section.js.map +0 -1
  453. package/dist/react/select.cjs +0 -2
  454. package/dist/react/select.cjs.map +0 -1
  455. package/dist/react/select.js +0 -2
  456. package/dist/react/separator.cjs +0 -2
  457. package/dist/react/separator.cjs.map +0 -1
  458. package/dist/react/separator.js +0 -2
  459. package/dist/react/separator.js.map +0 -1
  460. package/dist/react/sheet.cjs +0 -2
  461. package/dist/react/sheet.cjs.map +0 -1
  462. package/dist/react/sheet.js +0 -2
  463. package/dist/react/sheet.js.map +0 -1
  464. package/dist/react/skeleton.cjs.map +0 -1
  465. package/dist/react/skeleton.js +0 -2
  466. package/dist/react/skeleton.js.map +0 -1
  467. package/dist/react/slider.cjs.map +0 -1
  468. package/dist/react/slider.js +0 -2
  469. package/dist/react/slider.js.map +0 -1
  470. package/dist/react/sonner.cjs.map +0 -1
  471. package/dist/react/sonner.js.map +0 -1
  472. package/dist/react/spinner.cjs +0 -2
  473. package/dist/react/spinner.cjs.map +0 -1
  474. package/dist/react/spinner.d.cts +0 -9
  475. package/dist/react/spinner.d.ts +0 -9
  476. package/dist/react/spinner.js +0 -2
  477. package/dist/react/strong.cjs.map +0 -1
  478. package/dist/react/strong.js.map +0 -1
  479. package/dist/react/switch.cjs.map +0 -1
  480. package/dist/react/switch.js +0 -2
  481. package/dist/react/switch.js.map +0 -1
  482. package/dist/react/table.cjs +0 -2
  483. package/dist/react/table.cjs.map +0 -1
  484. package/dist/react/table.js +0 -2
  485. package/dist/react/table.js.map +0 -1
  486. package/dist/react/tabs.cjs.map +0 -1
  487. package/dist/react/tabs.js +0 -2
  488. package/dist/react/tabs.js.map +0 -1
  489. package/dist/react/text-input.cjs +0 -2
  490. package/dist/react/text-input.cjs.map +0 -1
  491. package/dist/react/text-input.js +0 -2
  492. package/dist/react/text.cjs.map +0 -1
  493. package/dist/react/text.js.map +0 -1
  494. package/dist/react/textarea.cjs +0 -2
  495. package/dist/react/textarea.cjs.map +0 -1
  496. package/dist/react/textarea.d.cts +0 -6
  497. package/dist/react/textarea.d.ts +0 -6
  498. package/dist/react/textarea.js +0 -2
  499. package/dist/react/textarea.js.map +0 -1
  500. package/dist/react/toggle-group.cjs +0 -2
  501. package/dist/react/toggle-group.cjs.map +0 -1
  502. package/dist/react/toggle-group.js +0 -2
  503. package/dist/react/toggle-group.js.map +0 -1
  504. package/dist/react/toggle.cjs +0 -2
  505. package/dist/react/toggle.cjs.map +0 -1
  506. package/dist/react/toggle.d.cts +0 -82
  507. package/dist/react/toggle.d.ts +0 -82
  508. package/dist/react/toggle.js +0 -2
  509. package/dist/react/tooltip.cjs.map +0 -1
  510. package/dist/react/tooltip.js.map +0 -1
  511. /package/dist/{react → components}/accordion.cjs +0 -0
  512. /package/dist/{react → components}/accordion.d.cts +0 -0
  513. /package/dist/{react → components}/accordion.d.ts +0 -0
  514. /package/dist/{react → components}/accordion.js +0 -0
  515. /package/dist/{react → components}/alert.cjs +0 -0
  516. /package/dist/{react → components}/alert.d.cts +0 -0
  517. /package/dist/{react → components}/alert.d.ts +0 -0
  518. /package/dist/{react → components}/alert.js +0 -0
  519. /package/dist/{react → components}/aspect-ratio.cjs +0 -0
  520. /package/dist/{react → components}/aspect-ratio.d.cts +0 -0
  521. /package/dist/{react → components}/aspect-ratio.d.ts +0 -0
  522. /package/dist/{react → components}/aspect-ratio.js +0 -0
  523. /package/dist/{react → components}/avatar.cjs +0 -0
  524. /package/dist/{react → components}/avatar.d.cts +0 -0
  525. /package/dist/{react → components}/avatar.d.ts +0 -0
  526. /package/dist/{react → components}/avatar.js +0 -0
  527. /package/dist/{react → components}/blockquote.cjs +0 -0
  528. /package/dist/{react → components}/blockquote.d.cts +0 -0
  529. /package/dist/{react → components}/blockquote.d.ts +0 -0
  530. /package/dist/{react → components}/blockquote.js +0 -0
  531. /package/dist/{react → components}/box.cjs +0 -0
  532. /package/dist/{react → components}/box.d.cts +0 -0
  533. /package/dist/{react → components}/box.d.ts +0 -0
  534. /package/dist/{react → components}/box.js +0 -0
  535. /package/dist/{react → components}/button.js.map +0 -0
  536. /package/dist/{react → components}/calendar.d.cts +0 -0
  537. /package/dist/{react → components}/calendar.d.ts +0 -0
  538. /package/dist/{react → components}/card.d.cts +0 -0
  539. /package/dist/{react → components}/card.d.ts +0 -0
  540. /package/dist/{react → components}/checkbox-cards.d.cts +0 -0
  541. /package/dist/{react → components}/checkbox-cards.d.ts +0 -0
  542. /package/dist/{react → components}/checkbox-group.d.cts +0 -0
  543. /package/dist/{react → components}/checkbox-group.d.ts +0 -0
  544. /package/dist/{react → components}/checkbox.d.cts +0 -0
  545. /package/dist/{react → components}/checkbox.d.ts +0 -0
  546. /package/dist/{react → components}/code.cjs +0 -0
  547. /package/dist/{react → components}/code.d.cts +0 -0
  548. /package/dist/{react → components}/code.d.ts +0 -0
  549. /package/dist/{react → components}/code.js +0 -0
  550. /package/dist/{react → components}/collapsible.cjs +0 -0
  551. /package/dist/{react → components}/collapsible.d.cts +0 -0
  552. /package/dist/{react → components}/collapsible.d.ts +0 -0
  553. /package/dist/{react → components}/collapsible.js +0 -0
  554. /package/dist/{react → components}/container.cjs +0 -0
  555. /package/dist/{react → components}/container.d.cts +0 -0
  556. /package/dist/{react → components}/container.d.ts +0 -0
  557. /package/dist/{react → components}/container.js +0 -0
  558. /package/dist/{react → components}/context-menu.d.cts +0 -0
  559. /package/dist/{react → components}/context-menu.d.ts +0 -0
  560. /package/dist/{react → components}/data-table.d.cts +0 -0
  561. /package/dist/{react → components}/data-table.d.ts +0 -0
  562. /package/dist/{react → components}/dialog.js.map +0 -0
  563. /package/dist/{react → components}/dropdown-menu.d.cts +0 -0
  564. /package/dist/{react → components}/dropdown-menu.d.ts +0 -0
  565. /package/dist/{react → components}/dropdown-menu.js.map +0 -0
  566. /package/dist/{react → components}/em.cjs +0 -0
  567. /package/dist/{react → components}/em.d.cts +0 -0
  568. /package/dist/{react → components}/em.d.ts +0 -0
  569. /package/dist/{react → components}/em.js +0 -0
  570. /package/dist/{react → components}/form.d.cts +0 -0
  571. /package/dist/{react → components}/form.d.ts +0 -0
  572. /package/dist/{react → components}/heading.cjs +0 -0
  573. /package/dist/{react → components}/heading.d.cts +0 -0
  574. /package/dist/{react → components}/heading.d.ts +0 -0
  575. /package/dist/{react → components}/heading.js +0 -0
  576. /package/dist/{react → components}/hover-card.cjs +0 -0
  577. /package/dist/{react → components}/hover-card.d.cts +0 -0
  578. /package/dist/{react → components}/hover-card.d.ts +0 -0
  579. /package/dist/{react → components}/hover-card.js +0 -0
  580. /package/dist/{react → components}/input-otp.cjs +0 -0
  581. /package/dist/{react → components}/input-otp.d.cts +0 -0
  582. /package/dist/{react → components}/input-otp.d.ts +0 -0
  583. /package/dist/{react → components}/input-otp.js +0 -0
  584. /package/dist/{react → components}/kbd.cjs +0 -0
  585. /package/dist/{react → components}/kbd.d.cts +0 -0
  586. /package/dist/{react → components}/kbd.d.ts +0 -0
  587. /package/dist/{react → components}/kbd.js +0 -0
  588. /package/dist/{react → components}/label.d.cts +0 -0
  589. /package/dist/{react → components}/label.d.ts +0 -0
  590. /package/dist/{react → components}/label.js.map +0 -0
  591. /package/dist/{react → components}/menubar.d.cts +0 -0
  592. /package/dist/{react → components}/menubar.d.ts +0 -0
  593. /package/dist/{react → components}/popover.cjs +0 -0
  594. /package/dist/{react → components}/popover.d.cts +0 -0
  595. /package/dist/{react → components}/popover.d.ts +0 -0
  596. /package/dist/{react → components}/popover.js +0 -0
  597. /package/dist/{react → components}/pre.cjs +0 -0
  598. /package/dist/{react → components}/pre.d.cts +0 -0
  599. /package/dist/{react → components}/pre.d.ts +0 -0
  600. /package/dist/{react → components}/pre.js +0 -0
  601. /package/dist/{react → components}/progress.cjs +0 -0
  602. /package/dist/{react → components}/progress.d.cts +0 -0
  603. /package/dist/{react → components}/progress.d.ts +0 -0
  604. /package/dist/{react → components}/progress.js +0 -0
  605. /package/dist/{react → components}/quote.cjs +0 -0
  606. /package/dist/{react → components}/quote.d.cts +0 -0
  607. /package/dist/{react → components}/quote.d.ts +0 -0
  608. /package/dist/{react → components}/quote.js +0 -0
  609. /package/dist/{react → components}/radio-cards.d.cts +0 -0
  610. /package/dist/{react → components}/radio-cards.d.ts +0 -0
  611. /package/dist/{react → components}/radio-group.cjs +0 -0
  612. /package/dist/{react → components}/radio-group.d.cts +0 -0
  613. /package/dist/{react → components}/radio-group.d.ts +0 -0
  614. /package/dist/{react → components}/radio-group.js +0 -0
  615. /package/dist/{react → components}/radio.cjs +0 -0
  616. /package/dist/{react → components}/radio.d.cts +0 -0
  617. /package/dist/{react → components}/radio.d.ts +0 -0
  618. /package/dist/{react → components}/radio.js +0 -0
  619. /package/dist/{react → components}/resizable.cjs +0 -0
  620. /package/dist/{react → components}/resizable.d.cts +0 -0
  621. /package/dist/{react → components}/resizable.d.ts +0 -0
  622. /package/dist/{react → components}/resizable.js +0 -0
  623. /package/dist/{react → components}/section.cjs +0 -0
  624. /package/dist/{react → components}/section.d.cts +0 -0
  625. /package/dist/{react → components}/section.d.ts +0 -0
  626. /package/dist/{react → components}/section.js +0 -0
  627. /package/dist/{react → components}/select.js.map +0 -0
  628. /package/dist/{react → components}/skeleton.d.cts +0 -0
  629. /package/dist/{react → components}/skeleton.d.ts +0 -0
  630. /package/dist/{react → components}/slider.d.cts +0 -0
  631. /package/dist/{react → components}/slider.d.ts +0 -0
  632. /package/dist/{react → components}/sonner.cjs +0 -0
  633. /package/dist/{react → components}/sonner.d.cts +0 -0
  634. /package/dist/{react → components}/sonner.d.ts +0 -0
  635. /package/dist/{react → components}/sonner.js +0 -0
  636. /package/dist/{react → components}/spinner.js.map +0 -0
  637. /package/dist/{react → components}/strong.cjs +0 -0
  638. /package/dist/{react → components}/strong.d.cts +0 -0
  639. /package/dist/{react → components}/strong.d.ts +0 -0
  640. /package/dist/{react → components}/strong.js +0 -0
  641. /package/dist/{react → components}/switch.d.cts +0 -0
  642. /package/dist/{react → components}/switch.d.ts +0 -0
  643. /package/dist/{react → components}/table.d.cts +0 -0
  644. /package/dist/{react → components}/table.d.ts +0 -0
  645. /package/dist/{react → components}/tabs.d.cts +0 -0
  646. /package/dist/{react → components}/tabs.d.ts +0 -0
  647. /package/dist/{react → components}/text.cjs +0 -0
  648. /package/dist/{react → components}/text.d.cts +0 -0
  649. /package/dist/{react → components}/text.d.ts +0 -0
  650. /package/dist/{react → components}/text.js +0 -0
  651. /package/dist/{react → components}/tooltip.d.cts +0 -0
  652. /package/dist/{react → components}/tooltip.d.ts +0 -0
  653. /package/dist/{react/text-input.js.map → styles/button-variants.js.map} +0 -0
  654. /package/dist/{react/toggle.js.map → styles/input-variants.js.map} +0 -0
@@ -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 _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var s = _interopRequireWildcard(_react);var _reacticons = require('@radix-ui/react-icons');var _reactmenubar = require('@radix-ui/react-menubar'); var e = _interopRequireWildcard(_reactmenubar);var _jsxruntime = require('react/jsx-runtime');var S=e.Menu,N= exports.MenubarGroup =e.Group,E= exports.MenubarSub =e.Sub,T= exports.MenubarRadioGroup =e.RadioGroup,l= exports.Menubar =s.forwardRef(({className:t,...a},r)=>_jsxruntime.jsx.call(void 0, e.Root,{ref:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-background flex h-10 items-center space-x-1 rounded-md border p-1",t),...a}));l.displayName=e.Root.displayName;var f=s.forwardRef(({className:t,...a},r)=>_jsxruntime.jsx.call(void 0, e.Trigger,{ref:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "flex cursor-pointer select-none items-center rounded-sm px-3 py-1 text-sm font-medium","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t),...a}));f.displayName=e.Trigger.displayName;var M=s.forwardRef(({children:t,className:a,inset:r,...i},u)=>_jsxruntime.jsxs.call(void 0, e.SubTrigger,{ref:u,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",r&&"pl-8",a),...i,children:[t,_jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon,{className:"ml-auto size-4"})]}));M.displayName=e.SubTrigger.displayName;var P=s.forwardRef(({className:t,...a},r)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.SubContent,{ref:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-1 shadow-md",t),...a})}));P.displayName=e.SubContent.displayName;var y=s.forwardRef(({className:t,align:a="start",alignOffset:r=-4,sideOffset:i=8,...u},m)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.Content,{ref:m,align:a,alignOffset:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 z-50 min-w-32 rounded-md border p-1 shadow-md",t),sideOffset:i,...u})}));y.displayName=e.Content.displayName;var R=s.forwardRef(({className:t,inset:a,...r},i)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:i,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",a&&"pl-8",t),...r}));R.displayName=e.Item.displayName;var g=s.forwardRef(({children:t,className:a,checked:r,...i},u)=>_jsxruntime.jsxs.call(void 0, e.CheckboxItem,{ref:u,checked:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",a),...i,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _reacticons.CheckIcon,{className:"size-4"})})}),t]}));g.displayName=e.CheckboxItem.displayName;var v=s.forwardRef(({children:t,className:a,...r},i)=>_jsxruntime.jsxs.call(void 0, e.RadioItem,{ref:i,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",a),...r,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _reacticons.DotFilledIcon,{className:"size-4 fill-current"})})}),t]}));v.displayName=e.RadioItem.displayName;var x=s.forwardRef(({className:t,inset:a,...r},i)=>_jsxruntime.jsx.call(void 0, e.Label,{ref:i,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "px-2 py-1.5 text-sm font-semibold",a&&"pl-8",t),...r}));x.displayName=e.Label.displayName;var C=s.forwardRef(({className:t,...a},r)=>_jsxruntime.jsx.call(void 0, e.Separator,{ref:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-muted mx-2 my-1 h-px",t),...a}));C.displayName=e.Separator.displayName;function k({className:t,...a}){return _jsxruntime.jsx.call(void 0, "span",{className:_chunk4XRBMJ5Qcjs.a.call(void 0, "text-muted-foreground ml-auto text-xs tracking-widest",t),...a})}exports.Menubar = l; exports.MenubarCheckboxItem = g; exports.MenubarContent = y; exports.MenubarGroup = N; exports.MenubarItem = R; exports.MenubarLabel = x; exports.MenubarMenu = S; exports.MenubarRadioGroup = T; exports.MenubarRadioItem = v; exports.MenubarSeparator = C; exports.MenubarShortcut = k; exports.MenubarSub = E; exports.MenubarSubContent = P; exports.MenubarSubTrigger = M; exports.MenubarTrigger = f;
2
+ //# sourceMappingURL=menubar.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/menubar.cjs","../../src/components/menubar.tsx"],"names":["MenubarMenu","MenubarGroup","MenubarSub","MenubarRadioGroup","Menubar","className","props","forwardedRef","jsx","cn","MenubarTrigger","MenubarSubTrigger","children","inset","jsxs","ChevronRightIcon","MenubarSubContent","MenubarContent","align","alignOffset","sideOffset","MenubarItem","MenubarCheckboxItem","checked","CheckIcon","MenubarRadioItem","DotFilledIcon","MenubarLabel","MenubarSeparator","MenubarShortcut"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/menubar.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { CheckIcon, ChevronRightIcon, DotFilledIcon } from '@radix-ui/react-icons';\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarMenu\n * -------------------------------------------------------------------------- */\n\ntype MenubarMenuProps = React.ComponentProps<typeof MenubarPrimitive.Menu>;\nconst MenubarMenu = MenubarPrimitive.Menu;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>;\nconst MenubarGroup = MenubarPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSub\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Sub>;\nconst MenubarSub = MenubarPrimitive.Sub;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>;\nconst MenubarRadioGroup = MenubarPrimitive.RadioGroup;\n\n/* -----------------------------------------------------------------------------\n * Component: Menubar\n * -------------------------------------------------------------------------- */\n\ntype MenubarElement = React.ElementRef<typeof MenubarPrimitive.Root>;\ntype MenubarProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>;\n\nconst Menubar = React.forwardRef<MenubarElement, MenubarProps>(({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-background flex h-10 items-center space-x-1 rounded-md border p-1', className)}\n {...props}\n />\n));\n\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarTriggerElement = React.ElementRef<typeof MenubarPrimitive.Trigger>;\ntype MenubarTriggerProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>;\n\nconst MenubarTrigger = React.forwardRef<MenubarTriggerElement, MenubarTriggerProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'flex cursor-pointer select-none items-center rounded-sm px-3 py-1 text-sm font-medium',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubTriggerElement = React.ElementRef<typeof MenubarPrimitive.SubTrigger>;\n\ninterface MenubarSubTriggerProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> {\n inset?: boolean;\n}\n\nconst MenubarSubTrigger = React.forwardRef<MenubarSubTriggerElement, MenubarSubTriggerProps>(\n ({ children, className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.SubTrigger\n ref={forwardedRef}\n className={cn(\n 'flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </MenubarPrimitive.SubTrigger>\n ),\n);\n\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubContentElement = React.ElementRef<typeof MenubarPrimitive.SubContent>;\ntype MenubarSubContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>;\n\nconst MenubarSubContent = React.forwardRef<MenubarSubContentElement, MenubarSubContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.SubContent\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-1 shadow-md',\n className,\n )}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarContentElement = React.ElementRef<typeof MenubarPrimitive.Content>;\ntype MenubarContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>;\n\nconst MenubarContent = React.forwardRef<MenubarContentElement, MenubarContentProps>(\n ({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={forwardedRef}\n align={align}\n alignOffset={alignOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 z-50 min-w-32 rounded-md border p-1 shadow-md',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarItemElement = React.ElementRef<typeof MenubarPrimitive.Item>;\n\ninterface MenubarItemProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> {\n inset?: boolean;\n}\n\nconst MenubarItem = React.forwardRef<MenubarItemElement, MenubarItemProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarCheckboxItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarCheckboxItemElement = React.ElementRef<typeof MenubarPrimitive.CheckboxItem>;\ntype MenubarCheckboxItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>;\n\nconst MenubarCheckboxItem = React.forwardRef<MenubarCheckboxItemElement, MenubarCheckboxItemProps>(\n ({ children, className, checked, ...props }, forwardedRef) => (\n <MenubarPrimitive.CheckboxItem\n ref={forwardedRef}\n checked={checked}\n className={cn(\n 'relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n ),\n);\n\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioItemElement = React.ElementRef<typeof MenubarPrimitive.RadioItem>;\ntype MenubarRadioItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>;\n\nconst MenubarRadioItem = React.forwardRef<MenubarRadioItemElement, MenubarRadioItemProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <MenubarPrimitive.RadioItem\n ref={forwardedRef}\n className={cn(\n 'relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotFilledIcon className=\"size-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n ),\n);\n\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarLabel\n * -------------------------------------------------------------------------- */\n\ntype MenubarLabelElement = React.ElementRef<typeof MenubarPrimitive.Label>;\n\ninterface MenubarLabelProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> {\n inset?: boolean;\n}\n\nconst MenubarLabel = React.forwardRef<MenubarLabelElement, MenubarLabelProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Label\n ref={forwardedRef}\n className={cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\n {...props}\n />\n ),\n);\n\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSeparator\n * -------------------------------------------------------------------------- */\n\ntype MenubarSeparatorElement = React.ElementRef<typeof MenubarPrimitive.Separator>;\ntype MenubarSeparatorProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>;\n\nconst MenubarSeparator = React.forwardRef<MenubarSeparatorElement, MenubarSeparatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Separator ref={forwardedRef} className={cn('bg-muted mx-2 my-1 h-px', className)} {...props} />\n ),\n);\n\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarShortcut\n * -------------------------------------------------------------------------- */\n\ntype MenubarShortcutProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction MenubarShortcut({ className, ...props }: MenubarShortcutProps): React.JSX.Element {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n type MenubarProps,\n type MenubarMenuProps,\n type MenubarTriggerProps,\n type MenubarContentProps,\n type MenubarItemProps,\n type MenubarSeparatorProps,\n type MenubarLabelProps,\n type MenubarCheckboxItemProps,\n type MenubarRadioGroupProps,\n type MenubarRadioItemProps,\n type MenubarSubContentProps,\n type MenubarSubTriggerProps,\n type MenubarGroupProps,\n type MenubarSubProps,\n type MenubarShortcutProps,\n};\n"]}
@@ -0,0 +1,2 @@
1
+ "use client";import{a as n}from"../chunk-VRBUDJBH.js";import*as s from"react";import{CheckIcon as b,ChevronRightIcon as d,DotFilledIcon as c}from"@radix-ui/react-icons";import*as e from"@radix-ui/react-menubar";import{jsx as o,jsxs as p}from"react/jsx-runtime";var S=e.Menu,N=e.Group,E=e.Sub,T=e.RadioGroup,l=s.forwardRef(({className:t,...a},r)=>o(e.Root,{ref:r,className:n("bg-background flex h-10 items-center space-x-1 rounded-md border p-1",t),...a}));l.displayName=e.Root.displayName;var f=s.forwardRef(({className:t,...a},r)=>o(e.Trigger,{ref:r,className:n("flex cursor-pointer select-none items-center rounded-sm px-3 py-1 text-sm font-medium","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t),...a}));f.displayName=e.Trigger.displayName;var M=s.forwardRef(({children:t,className:a,inset:r,...i},u)=>p(e.SubTrigger,{ref:u,className:n("flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",r&&"pl-8",a),...i,children:[t,o(d,{className:"ml-auto size-4"})]}));M.displayName=e.SubTrigger.displayName;var P=s.forwardRef(({className:t,...a},r)=>o(e.Portal,{children:o(e.SubContent,{ref:r,className:n("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-1 shadow-md",t),...a})}));P.displayName=e.SubContent.displayName;var y=s.forwardRef(({className:t,align:a="start",alignOffset:r=-4,sideOffset:i=8,...u},m)=>o(e.Portal,{children:o(e.Content,{ref:m,align:a,alignOffset:r,className:n("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 z-50 min-w-32 rounded-md border p-1 shadow-md",t),sideOffset:i,...u})}));y.displayName=e.Content.displayName;var R=s.forwardRef(({className:t,inset:a,...r},i)=>o(e.Item,{ref:i,className:n("relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",a&&"pl-8",t),...r}));R.displayName=e.Item.displayName;var g=s.forwardRef(({children:t,className:a,checked:r,...i},u)=>p(e.CheckboxItem,{ref:u,checked:r,className:n("relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",a),...i,children:[o("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:o(e.ItemIndicator,{children:o(b,{className:"size-4"})})}),t]}));g.displayName=e.CheckboxItem.displayName;var v=s.forwardRef(({children:t,className:a,...r},i)=>p(e.RadioItem,{ref:i,className:n("relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",a),...r,children:[o("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:o(e.ItemIndicator,{children:o(c,{className:"size-4 fill-current"})})}),t]}));v.displayName=e.RadioItem.displayName;var x=s.forwardRef(({className:t,inset:a,...r},i)=>o(e.Label,{ref:i,className:n("px-2 py-1.5 text-sm font-semibold",a&&"pl-8",t),...r}));x.displayName=e.Label.displayName;var C=s.forwardRef(({className:t,...a},r)=>o(e.Separator,{ref:r,className:n("bg-muted mx-2 my-1 h-px",t),...a}));C.displayName=e.Separator.displayName;function k({className:t,...a}){return o("span",{className:n("text-muted-foreground ml-auto text-xs tracking-widest",t),...a})}export{l as Menubar,g as MenubarCheckboxItem,y as MenubarContent,N as MenubarGroup,R as MenubarItem,x as MenubarLabel,S as MenubarMenu,T as MenubarRadioGroup,v as MenubarRadioItem,C as MenubarSeparator,k as MenubarShortcut,E as MenubarSub,P as MenubarSubContent,M as MenubarSubTrigger,f as MenubarTrigger};
2
+ //# sourceMappingURL=menubar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/menubar.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { CheckIcon, ChevronRightIcon, DotFilledIcon } from '@radix-ui/react-icons';\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarMenu\n * -------------------------------------------------------------------------- */\n\ntype MenubarMenuProps = React.ComponentProps<typeof MenubarPrimitive.Menu>;\nconst MenubarMenu = MenubarPrimitive.Menu;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>;\nconst MenubarGroup = MenubarPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSub\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Sub>;\nconst MenubarSub = MenubarPrimitive.Sub;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>;\nconst MenubarRadioGroup = MenubarPrimitive.RadioGroup;\n\n/* -----------------------------------------------------------------------------\n * Component: Menubar\n * -------------------------------------------------------------------------- */\n\ntype MenubarElement = React.ElementRef<typeof MenubarPrimitive.Root>;\ntype MenubarProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>;\n\nconst Menubar = React.forwardRef<MenubarElement, MenubarProps>(({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-background flex h-10 items-center space-x-1 rounded-md border p-1', className)}\n {...props}\n />\n));\n\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarTriggerElement = React.ElementRef<typeof MenubarPrimitive.Trigger>;\ntype MenubarTriggerProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>;\n\nconst MenubarTrigger = React.forwardRef<MenubarTriggerElement, MenubarTriggerProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'flex cursor-pointer select-none items-center rounded-sm px-3 py-1 text-sm font-medium',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubTriggerElement = React.ElementRef<typeof MenubarPrimitive.SubTrigger>;\n\ninterface MenubarSubTriggerProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> {\n inset?: boolean;\n}\n\nconst MenubarSubTrigger = React.forwardRef<MenubarSubTriggerElement, MenubarSubTriggerProps>(\n ({ children, className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.SubTrigger\n ref={forwardedRef}\n className={cn(\n 'flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </MenubarPrimitive.SubTrigger>\n ),\n);\n\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubContentElement = React.ElementRef<typeof MenubarPrimitive.SubContent>;\ntype MenubarSubContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>;\n\nconst MenubarSubContent = React.forwardRef<MenubarSubContentElement, MenubarSubContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.SubContent\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-1 shadow-md',\n className,\n )}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarContentElement = React.ElementRef<typeof MenubarPrimitive.Content>;\ntype MenubarContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>;\n\nconst MenubarContent = React.forwardRef<MenubarContentElement, MenubarContentProps>(\n ({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={forwardedRef}\n align={align}\n alignOffset={alignOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 z-50 min-w-32 rounded-md border p-1 shadow-md',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarItemElement = React.ElementRef<typeof MenubarPrimitive.Item>;\n\ninterface MenubarItemProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> {\n inset?: boolean;\n}\n\nconst MenubarItem = React.forwardRef<MenubarItemElement, MenubarItemProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarCheckboxItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarCheckboxItemElement = React.ElementRef<typeof MenubarPrimitive.CheckboxItem>;\ntype MenubarCheckboxItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>;\n\nconst MenubarCheckboxItem = React.forwardRef<MenubarCheckboxItemElement, MenubarCheckboxItemProps>(\n ({ children, className, checked, ...props }, forwardedRef) => (\n <MenubarPrimitive.CheckboxItem\n ref={forwardedRef}\n checked={checked}\n className={cn(\n 'relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n ),\n);\n\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioItemElement = React.ElementRef<typeof MenubarPrimitive.RadioItem>;\ntype MenubarRadioItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>;\n\nconst MenubarRadioItem = React.forwardRef<MenubarRadioItemElement, MenubarRadioItemProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <MenubarPrimitive.RadioItem\n ref={forwardedRef}\n className={cn(\n 'relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotFilledIcon className=\"size-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n ),\n);\n\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarLabel\n * -------------------------------------------------------------------------- */\n\ntype MenubarLabelElement = React.ElementRef<typeof MenubarPrimitive.Label>;\n\ninterface MenubarLabelProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> {\n inset?: boolean;\n}\n\nconst MenubarLabel = React.forwardRef<MenubarLabelElement, MenubarLabelProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Label\n ref={forwardedRef}\n className={cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\n {...props}\n />\n ),\n);\n\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSeparator\n * -------------------------------------------------------------------------- */\n\ntype MenubarSeparatorElement = React.ElementRef<typeof MenubarPrimitive.Separator>;\ntype MenubarSeparatorProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>;\n\nconst MenubarSeparator = React.forwardRef<MenubarSeparatorElement, MenubarSeparatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Separator ref={forwardedRef} className={cn('bg-muted mx-2 my-1 h-px', className)} {...props} />\n ),\n);\n\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarShortcut\n * -------------------------------------------------------------------------- */\n\ntype MenubarShortcutProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction MenubarShortcut({ className, ...props }: MenubarShortcutProps): React.JSX.Element {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n type MenubarProps,\n type MenubarMenuProps,\n type MenubarTriggerProps,\n type MenubarContentProps,\n type MenubarItemProps,\n type MenubarSeparatorProps,\n type MenubarLabelProps,\n type MenubarCheckboxItemProps,\n type MenubarRadioGroupProps,\n type MenubarRadioItemProps,\n type MenubarSubContentProps,\n type MenubarSubTriggerProps,\n type MenubarGroupProps,\n type MenubarSubProps,\n type MenubarShortcutProps,\n};\n"],"mappings":"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","names":["React","CheckIcon","ChevronRightIcon","DotFilledIcon","MenubarPrimitive","jsx","jsxs","MenubarMenu","MenubarGroup","MenubarSub","MenubarRadioGroup","Menubar","className","props","forwardedRef","cn","MenubarTrigger","MenubarSubTrigger","children","inset","ChevronRightIcon","MenubarSubContent","MenubarContent","align","alignOffset","sideOffset","MenubarItem","MenubarCheckboxItem","checked","CheckIcon","MenubarRadioItem","DotFilledIcon","MenubarLabel","MenubarSeparator","MenubarShortcut"]}
@@ -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 _chunkLSBI35ZEcjs = require('../chunk-LSBI35ZE.cjs');var _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var n = _interopRequireWildcard(_react);var _reacticons = require('@radix-ui/react-icons');var _reactnavigationmenu = require('@radix-ui/react-navigation-menu'); var t = _interopRequireWildcard(_reactnavigationmenu);var _jsxruntime = require('react/jsx-runtime');var N=n.forwardRef(({children:e,className:i,...a},m)=>_jsxruntime.jsxs.call(void 0, t.Root,{ref:m,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "relative z-10 flex max-w-max flex-1 items-center justify-center",i),...a,children:[e,_jsxruntime.jsx.call(void 0, s,{})]}));N.displayName=t.Root.displayName;var d=n.forwardRef(({children:e,className:i,...a},m)=>_jsxruntime.jsxs.call(void 0, t.List,{ref:m,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "group flex flex-1 list-none items-center justify-center space-x-1",i),...a,children:[e,_jsxruntime.jsx.call(void 0, g,{})]}));d.displayName=t.List.displayName;var y=t.Item,f= exports.NavigationMenuTrigger =n.forwardRef(({children:e,className:i,...a},m)=>_jsxruntime.jsxs.call(void 0, t.Trigger,{ref:m,className:_chunkLSBI35ZEcjs.a.call(void 0, {variant:"ghost",className:["data-[state=open]:bg-accent data-[state=open]:text-accent-foreground group",i]}),...a,children:[e,_jsxruntime.jsx.call(void 0, _reacticons.ChevronDownIcon,{"aria-hidden":"true",className:"relative top-px ml-1 size-3 transition group-data-[state=open]:rotate-180"})]}));f.displayName=t.Trigger.displayName;var l=n.forwardRef(({className:e,...i},a)=>_jsxruntime.jsx.call(void 0, t.Content,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto",e),...i}));l.displayName=t.Content.displayName;var R=t.Link,s=n.forwardRef(({className:e,...i},a)=>_jsxruntime.jsx.call(void 0, "div",{className:"perspective-[125rem] absolute left-0 top-full flex justify-center",children:_jsxruntime.jsx.call(void 0, t.Viewport,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]",e),...i})}));s.displayName=t.Viewport.displayName;var g=n.forwardRef(({className:e,...i},a)=>_jsxruntime.jsx.call(void 0, t.Indicator,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition",e),...i,children:_jsxruntime.jsx.call(void 0, "div",{className:"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm"})}));g.displayName=t.Indicator.displayName;exports.NavigationMenu = N; exports.NavigationMenuContent = l; exports.NavigationMenuItem = y; exports.NavigationMenuLink = R; exports.NavigationMenuList = d; exports.NavigationMenuTrigger = f;
2
+ //# sourceMappingURL=navigation-menu.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/navigation-menu.cjs","../../src/components/navigation-menu.tsx"],"names":["NavigationMenu","children","className","props","forwardedRef","jsxs","cn","jsx","NavigationMenuViewport","NavigationMenuList","NavigationMenuIndicator","NavigationMenuItem","NavigationMenuTrigger","buttonVariants","ChevronDownIcon","NavigationMenuContent","NavigationMenuLink"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/navigation-menu.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenu\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuElement = React.ElementRef<typeof NavigationMenuPrimitive.Root>;\ntype NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;\n\nconst NavigationMenu = React.forwardRef<NavigationMenuElement, NavigationMenuProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Root\n ref={forwardedRef}\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\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuList\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuListElement = React.ElementRef<typeof NavigationMenuPrimitive.List>;\ntype NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;\n\nconst NavigationMenuList = React.forwardRef<NavigationMenuListElement, NavigationMenuListProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.List\n ref={forwardedRef}\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\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuItem\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuItemProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item>;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuTriggerElement = React.ElementRef<typeof NavigationMenuPrimitive.Trigger>;\ntype NavigationMenuTriggerProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>;\n\nconst NavigationMenuTrigger = React.forwardRef<NavigationMenuTriggerElement, NavigationMenuTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Trigger\n ref={forwardedRef}\n className={buttonVariants({\n variant: 'ghost',\n className: ['data-[state=open]:bg-accent data-[state=open]:text-accent-foreground group', className],\n })}\n {...props}\n >\n {children}\n <ChevronDownIcon\n aria-hidden=\"true\"\n className=\"relative top-px ml-1 size-3 transition group-data-[state=open]:rotate-180\"\n />\n </NavigationMenuPrimitive.Trigger>\n ),\n);\n\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuContentElement = React.ElementRef<typeof NavigationMenuPrimitive.Content>;\ntype NavigationMenuContentProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>;\n\nconst NavigationMenuContent = React.forwardRef<NavigationMenuContentElement, NavigationMenuContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n ),\n);\n\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuLink\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuLinkProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuViewport\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuViewportElement = React.ElementRef<typeof NavigationMenuPrimitive.Viewport>;\ntype NavigationMenuViewportProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>;\n\nconst NavigationMenuViewport = React.forwardRef<NavigationMenuViewportElement, NavigationMenuViewportProps>(\n ({ className, ...props }, forwardedRef) => (\n <div className=\"perspective-[125rem] absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]',\n className,\n )}\n {...props}\n />\n </div>\n ),\n);\n\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuIndicator\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuIndicatorElement = React.ElementRef<typeof NavigationMenuPrimitive.Indicator>;\ntype NavigationMenuIndicatorProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>;\n\nconst NavigationMenuIndicator = React.forwardRef<NavigationMenuIndicatorElement, NavigationMenuIndicatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Indicator\n ref={forwardedRef}\n className={cn(\n 'data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition',\n className,\n )}\n {...props}\n >\n <div className=\"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm\" />\n </NavigationMenuPrimitive.Indicator>\n ),\n);\n\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n type NavigationMenuProps,\n type NavigationMenuListProps,\n type NavigationMenuItemProps,\n type NavigationMenuContentProps,\n type NavigationMenuTriggerProps,\n type NavigationMenuLinkProps,\n};\n"]}
@@ -1,9 +1,6 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
3
1
  import * as React from 'react';
4
2
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
5
3
 
6
- declare const navigationMenuTriggerVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent/50 data-[active]:bg-accent/50 group inline-flex h-10 w-max items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50", tailwind_variants_dist_config_js.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent/50 data-[active]:bg-accent/50 group inline-flex h-10 w-max items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50", tailwind_variants_dist_config_js.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
7
4
  type NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;
8
5
  declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
9
6
  type NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;
@@ -17,4 +14,4 @@ declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<Naviga
17
14
  type NavigationMenuLinkProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>;
18
15
  declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
19
16
 
20
- export { NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, navigationMenuTriggerVariants };
17
+ export { NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps };
@@ -1,9 +1,6 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
3
1
  import * as React from 'react';
4
2
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
5
3
 
6
- declare const navigationMenuTriggerVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent/50 data-[active]:bg-accent/50 group inline-flex h-10 w-max items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50", tailwind_variants_dist_config_js.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent/50 data-[active]:bg-accent/50 group inline-flex h-10 w-max items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50", tailwind_variants_dist_config_js.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
7
4
  type NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;
8
5
  declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
9
6
  type NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;
@@ -17,4 +14,4 @@ declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<Naviga
17
14
  type NavigationMenuLinkProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>;
18
15
  declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
19
16
 
20
- export { NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, navigationMenuTriggerVariants };
17
+ export { NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps };
@@ -0,0 +1,2 @@
1
+ "use client";import{a as p}from"../chunk-YGPIWXWP.js";import{a as r}from"../chunk-VRBUDJBH.js";import*as n from"react";import{ChevronDownIcon as u}from"@radix-ui/react-icons";import*as t from"@radix-ui/react-navigation-menu";import{jsx as o,jsxs as v}from"react/jsx-runtime";var N=n.forwardRef(({children:e,className:i,...a},m)=>v(t.Root,{ref:m,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",i),...a,children:[e,o(s,{})]}));N.displayName=t.Root.displayName;var d=n.forwardRef(({children:e,className:i,...a},m)=>v(t.List,{ref:m,className:r("group flex flex-1 list-none items-center justify-center space-x-1",i),...a,children:[e,o(g,{})]}));d.displayName=t.List.displayName;var y=t.Item,f=n.forwardRef(({children:e,className:i,...a},m)=>v(t.Trigger,{ref:m,className:p({variant:"ghost",className:["data-[state=open]:bg-accent data-[state=open]:text-accent-foreground group",i]}),...a,children:[e,o(u,{"aria-hidden":"true",className:"relative top-px ml-1 size-3 transition group-data-[state=open]:rotate-180"})]}));f.displayName=t.Trigger.displayName;var l=n.forwardRef(({className:e,...i},a)=>o(t.Content,{ref:a,className:r("data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto",e),...i}));l.displayName=t.Content.displayName;var R=t.Link,s=n.forwardRef(({className:e,...i},a)=>o("div",{className:"perspective-[125rem] absolute left-0 top-full flex justify-center",children:o(t.Viewport,{ref:a,className:r("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]",e),...i})}));s.displayName=t.Viewport.displayName;var g=n.forwardRef(({className:e,...i},a)=>o(t.Indicator,{ref:a,className:r("data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition",e),...i,children:o("div",{className:"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm"})}));g.displayName=t.Indicator.displayName;export{N as NavigationMenu,l as NavigationMenuContent,y as NavigationMenuItem,R as NavigationMenuLink,d as NavigationMenuList,f as NavigationMenuTrigger};
2
+ //# sourceMappingURL=navigation-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/navigation-menu.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenu\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuElement = React.ElementRef<typeof NavigationMenuPrimitive.Root>;\ntype NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;\n\nconst NavigationMenu = React.forwardRef<NavigationMenuElement, NavigationMenuProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Root\n ref={forwardedRef}\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\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuList\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuListElement = React.ElementRef<typeof NavigationMenuPrimitive.List>;\ntype NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;\n\nconst NavigationMenuList = React.forwardRef<NavigationMenuListElement, NavigationMenuListProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.List\n ref={forwardedRef}\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\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuItem\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuItemProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item>;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuTriggerElement = React.ElementRef<typeof NavigationMenuPrimitive.Trigger>;\ntype NavigationMenuTriggerProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>;\n\nconst NavigationMenuTrigger = React.forwardRef<NavigationMenuTriggerElement, NavigationMenuTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Trigger\n ref={forwardedRef}\n className={buttonVariants({\n variant: 'ghost',\n className: ['data-[state=open]:bg-accent data-[state=open]:text-accent-foreground group', className],\n })}\n {...props}\n >\n {children}\n <ChevronDownIcon\n aria-hidden=\"true\"\n className=\"relative top-px ml-1 size-3 transition group-data-[state=open]:rotate-180\"\n />\n </NavigationMenuPrimitive.Trigger>\n ),\n);\n\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuContentElement = React.ElementRef<typeof NavigationMenuPrimitive.Content>;\ntype NavigationMenuContentProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>;\n\nconst NavigationMenuContent = React.forwardRef<NavigationMenuContentElement, NavigationMenuContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n ),\n);\n\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuLink\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuLinkProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuViewport\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuViewportElement = React.ElementRef<typeof NavigationMenuPrimitive.Viewport>;\ntype NavigationMenuViewportProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>;\n\nconst NavigationMenuViewport = React.forwardRef<NavigationMenuViewportElement, NavigationMenuViewportProps>(\n ({ className, ...props }, forwardedRef) => (\n <div className=\"perspective-[125rem] absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]',\n className,\n )}\n {...props}\n />\n </div>\n ),\n);\n\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuIndicator\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuIndicatorElement = React.ElementRef<typeof NavigationMenuPrimitive.Indicator>;\ntype NavigationMenuIndicatorProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>;\n\nconst NavigationMenuIndicator = React.forwardRef<NavigationMenuIndicatorElement, NavigationMenuIndicatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Indicator\n ref={forwardedRef}\n className={cn(\n 'data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition',\n className,\n )}\n {...props}\n >\n <div className=\"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm\" />\n </NavigationMenuPrimitive.Indicator>\n ),\n);\n\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n type NavigationMenuProps,\n type NavigationMenuListProps,\n type NavigationMenuItemProps,\n type NavigationMenuContentProps,\n type NavigationMenuTriggerProps,\n type NavigationMenuLinkProps,\n};\n"],"mappings":"+FAEA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,wBAChC,UAAYC,MAA6B,kCAarC,OAME,OAAAC,EANF,QAAAC,MAAA,oBAFJ,IAAMC,EAAuB,aAC3B,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCL,EAAyB,OAAxB,CACC,IAAKK,EACL,UAAWC,EAAG,kEAAmEH,CAAS,EACzF,GAAGC,EAEH,UAAAF,EACDH,EAACQ,EAAA,EAAuB,GAC1B,CAEJ,EAEAN,EAAe,YAAsC,OAAK,YAS1D,IAAMO,EAA2B,aAC/B,CAAC,CAAE,SAAAN,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCL,EAAyB,OAAxB,CACC,IAAKK,EACL,UAAWC,EAAG,oEAAqEH,CAAS,EAC3F,GAAGC,EAEH,UAAAF,EACDH,EAACU,EAAA,EAAwB,GAC3B,CAEJ,EAEAD,EAAmB,YAAsC,OAAK,YAQ9D,IAAME,EAA6C,OAS7CC,EAA8B,aAClC,CAAC,CAAE,SAAAT,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCL,EAAyB,UAAxB,CACC,IAAKK,EACL,UAAWO,EAAe,CACxB,QAAS,QACT,UAAW,CAAC,6EAA8ET,CAAS,CACrG,CAAC,EACA,GAAGC,EAEH,UAAAF,EACDH,EAACc,EAAA,CACC,cAAY,OACZ,UAAU,4EACZ,GACF,CAEJ,EAEAF,EAAsB,YAAsC,UAAQ,YASpE,IAAMG,EAA8B,aAClC,CAAC,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAyB,UAAxB,CACC,IAAKM,EACL,UAAWC,EACT,wVACAH,CACF,EACC,GAAGC,EACN,CAEJ,EAEAU,EAAsB,YAAsC,UAAQ,YAQpE,IAAMC,EAA6C,OAS7CR,EAA+B,aACnC,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAC,OAAI,UAAU,oEACb,SAAAA,EAAyB,WAAxB,CACC,IAAKM,EACL,UAAWC,EACT,+aACAH,CACF,EACC,GAAGC,EACN,EACF,CAEJ,EAEAG,EAAuB,YAAsC,WAAS,YAStE,IAAME,EAAgC,aACpC,CAAC,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAyB,YAAxB,CACC,IAAKM,EACL,UAAWC,EACT,4JACAH,CACF,EACC,GAAGC,EAEJ,SAAAL,EAAC,OAAI,UAAU,+DAA+D,EAChF,CAEJ,EAEAU,EAAwB,YAAsC,YAAU","names":["React","ChevronDownIcon","NavigationMenuPrimitive","jsx","jsxs","NavigationMenu","children","className","props","forwardedRef","cn","NavigationMenuViewport","NavigationMenuList","NavigationMenuIndicator","NavigationMenuItem","NavigationMenuTrigger","buttonVariants","ChevronDownIcon","NavigationMenuContent","NavigationMenuLink"]}
@@ -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 _chunk5JGCIAX3cjs = require('../chunk-5JGCIAX3.cjs');var _chunkLSBI35ZEcjs = require('../chunk-LSBI35ZE.cjs');var _react = require('react'); var i = _interopRequireWildcard(_react);var _numberinput = require('@codefast/primitive/number-input'); var e = _interopRequireWildcard(_numberinput);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');var{root:V,input:g}=_chunk5JGCIAX3cjs.a.call(void 0, ),B= exports.NumberInput =i.forwardRef(({ariaDecrementLabel:u,ariaIncrementLabel:a,className:p,inputSize:n,defaultValue:s,disabled:l,formatOptions:c,id:d,max:I,min:N,readOnly:f,step:b,value:v,onChange:P,...R},h)=>_jsxruntime.jsxs.call(void 0, e.Root,{ariaDecrementLabel:u,ariaIncrementLabel:a,className:V({inputSize:n,className:["pr-0",p]}),defaultValue:s,disabled:l,formatOptions:c,id:d,max:I,min:N,readOnly:f,step:b,value:v,onChange:P,children:[_jsxruntime.jsx.call(void 0, e.Item,{ref:h,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",className:g({inputSize:n}),inputMode:"numeric",spellCheck:"false",...R}),_jsxruntime.jsxs.call(void 0, "div",{className:"ml-auto grid h-full divide-y rounded-r-md border-l",children:[_jsxruntime.jsx.call(void 0, e.IncrementButton,{className:_chunkLSBI35ZEcjs.a.call(void 0, {className:"h-full rounded-none rounded-tr-md",icon:!0,variant:"ghost"}),children:_jsxruntime.jsx.call(void 0, _reacticons.ChevronUpIcon,{})}),_jsxruntime.jsx.call(void 0, e.DecrementButton,{className:_chunkLSBI35ZEcjs.a.call(void 0, {className:"rounded-tb-md h-full rounded-none",icon:!0,variant:"ghost"}),children:_jsxruntime.jsx.call(void 0, _reacticons.ChevronDownIcon,{})})]})]}));B.displayName="NumberInput";exports.NumberInput = B;
2
+ //# sourceMappingURL=number-input.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/number-input.cjs","../../src/components/number-input.tsx"],"names":["root","input","inputVariants","NumberInput","ariaDecrementLabel","ariaIncrementLabel","className","inputSize","defaultValue","disabled","formatOptions","id","max","min","readOnly","step","value","onChange","props","forwardedRef","jsxs","jsx","buttonVariants","ChevronUpIcon","ChevronDownIcon"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,yDAA0C,uECEzE,8GACe,mDACS,+CAoDzC,GAhDA,CAAE,IAAA,CAAAA,CAAAA,CAAM,KAAA,CAAAC,CAAM,CAAA,CAAIC,iCAAAA,CAAc,CAYhCC,CAAAA,uBAAoB,CAAA,CAAA,UAAA,CACxB,CACE,CACE,kBAAA,CAAAC,CAAAA,CACA,kBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CACA,EAAA,CAAAC,CAAAA,CACA,GAAA,CAAAC,CAAAA,CACA,GAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,KAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CACAC,CAAAA,CAAAA,EAEAC,8BAAAA,CAAsB,CAAA,IAAA,CAArB,CACC,kBAAA,CAAoBhB,CAAAA,CACpB,kBAAA,CAAoBC,CAAAA,CACpB,SAAA,CAAWL,CAAAA,CAAK,CAAE,SAAA,CAAAO,CAAAA,CAAW,SAAA,CAAW,CAAC,MAAA,CAAQD,CAAS,CAAE,CAAC,CAAA,CAC7D,YAAA,CAAcE,CAAAA,CACd,QAAA,CAAUC,CAAAA,CACV,aAAA,CAAeC,CAAAA,CACf,EAAA,CAAIC,CAAAA,CACJ,GAAA,CAAKC,CAAAA,CACL,GAAA,CAAKC,CAAAA,CACL,QAAA,CAAUC,CAAAA,CACV,IAAA,CAAMC,CAAAA,CACN,KAAA,CAAOC,CAAAA,CACP,QAAA,CAAUC,CAAAA,CAEV,QAAA,CAAA,CAAAI,6BAAAA,CAAsB,CAAA,IAAA,CAArB,CACC,GAAA,CAAKF,CAAAA,CACL,cAAA,CAAe,KAAA,CACf,YAAA,CAAa,KAAA,CACb,WAAA,CAAY,KAAA,CACZ,SAAA,CAAWlB,CAAAA,CAAM,CAAE,SAAA,CAAAM,CAAU,CAAC,CAAA,CAC9B,SAAA,CAAU,SAAA,CACV,UAAA,CAAW,OAAA,CACV,GAAGW,CAAAA,CACN,CAAA,CACAE,8BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,oDAAA,CACb,QAAA,CAAA,CAAAC,6BAAAA,CAAsB,CAAA,eAAA,CAArB,CACC,SAAA,CAAWC,iCAAAA,CACT,SAAA,CAAW,mCAAA,CACX,IAAA,CAAM,CAAA,CAAA,CACN,OAAA,CAAS,OACX,CAAC,CAAA,CAED,QAAA,CAAAD,6BAAAA,yBAACE,CAAA,CAAA,CAAc,CAAA,CACjB,CAAA,CACAF,6BAAAA,CAAsB,CAAA,eAAA,CAArB,CACC,SAAA,CAAWC,iCAAAA,CACT,SAAA,CAAW,mCAAA,CACX,IAAA,CAAM,CAAA,CAAA,CACN,OAAA,CAAS,OACX,CAAC,CAAA,CAED,QAAA,CAAAD,6BAAAA,2BAACG,CAAA,CAAA,CAAgB,CAAA,CACnB,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CAEJ,CAAA,CAEArB,CAAAA,CAAY,WAAA,CAAc,aAAA,CAAA,wBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/number-input.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as NumberInputPrimitive from '@codefast/primitive/number-input';\nimport { ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';\nimport { buttonVariants } from '@/styles/button-variants';\nimport { inputVariants, type InputVariantsProps } from '@/styles/input-variants';\n\nconst { root, input } = inputVariants();\n\n/* -----------------------------------------------------------------------------\n * Component: NumberInput\n * -------------------------------------------------------------------------- */\n\ntype NumberInputElement = React.ElementRef<typeof NumberInputPrimitive.Item>;\ninterface NumberInputProps\n extends InputVariantsProps,\n React.ComponentProps<typeof NumberInputPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NumberInputPrimitive.Item> {}\n\nconst NumberInput = React.forwardRef<NumberInputElement, NumberInputProps>(\n (\n {\n ariaDecrementLabel,\n ariaIncrementLabel,\n className,\n inputSize,\n defaultValue,\n disabled,\n formatOptions,\n id,\n max,\n min,\n readOnly,\n step,\n value,\n onChange,\n ...props\n },\n forwardedRef,\n ) => (\n <NumberInputPrimitive.Root\n ariaDecrementLabel={ariaDecrementLabel}\n ariaIncrementLabel={ariaIncrementLabel}\n className={root({ inputSize, className: ['pr-0', className] })}\n defaultValue={defaultValue}\n disabled={disabled}\n formatOptions={formatOptions}\n id={id}\n max={max}\n min={min}\n readOnly={readOnly}\n step={step}\n value={value}\n onChange={onChange}\n >\n <NumberInputPrimitive.Item\n ref={forwardedRef}\n autoCapitalize=\"off\"\n autoComplete=\"off\"\n autoCorrect=\"off\"\n className={input({ inputSize })}\n inputMode=\"numeric\"\n spellCheck=\"false\"\n {...props}\n />\n <div className=\"ml-auto grid h-full divide-y rounded-r-md border-l\">\n <NumberInputPrimitive.IncrementButton\n className={buttonVariants({\n className: 'h-full rounded-none rounded-tr-md',\n icon: true,\n variant: 'ghost',\n })}\n >\n <ChevronUpIcon />\n </NumberInputPrimitive.IncrementButton>\n <NumberInputPrimitive.DecrementButton\n className={buttonVariants({\n className: 'rounded-tb-md h-full rounded-none',\n icon: true,\n variant: 'ghost',\n })}\n >\n <ChevronDownIcon />\n </NumberInputPrimitive.DecrementButton>\n </div>\n </NumberInputPrimitive.Root>\n ),\n);\n\nNumberInput.displayName = 'NumberInput';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { NumberInput, type NumberInputProps };\n"]}
@@ -1,9 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import * as NumberInputPrimitive from '@codefast/primitive/number-input';
3
- import { InputVariantsProps } from './text-input.cjs';
3
+ import { InputVariantsProps } from '../styles/input-variants.cjs';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
6
- import '@codefast/primitive/input';
7
6
 
8
7
  interface NumberInputProps extends InputVariantsProps, React.ComponentProps<typeof NumberInputPrimitive.Root>, React.ComponentPropsWithoutRef<typeof NumberInputPrimitive.Item> {
9
8
  }
@@ -1,9 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import * as NumberInputPrimitive from '@codefast/primitive/number-input';
3
- import { InputVariantsProps } from './text-input.js';
3
+ import { InputVariantsProps } from '../styles/input-variants.js';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
6
- import '@codefast/primitive/input';
7
6
 
8
7
  interface NumberInputProps extends InputVariantsProps, React.ComponentProps<typeof NumberInputPrimitive.Root>, React.ComponentPropsWithoutRef<typeof NumberInputPrimitive.Item> {
9
8
  }
@@ -0,0 +1,2 @@
1
+ "use client";import{a as o}from"../chunk-FIU6XBX4.js";import{a as r}from"../chunk-YGPIWXWP.js";import*as i from"react";import*as e from"@codefast/primitive/number-input";import{ChevronDownIcon as y,ChevronUpIcon as C}from"@radix-ui/react-icons";import{jsx as t,jsxs as m}from"react/jsx-runtime";var{root:V,input:g}=o(),B=i.forwardRef(({ariaDecrementLabel:u,ariaIncrementLabel:a,className:p,inputSize:n,defaultValue:s,disabled:l,formatOptions:c,id:d,max:I,min:N,readOnly:f,step:b,value:v,onChange:P,...R},h)=>m(e.Root,{ariaDecrementLabel:u,ariaIncrementLabel:a,className:V({inputSize:n,className:["pr-0",p]}),defaultValue:s,disabled:l,formatOptions:c,id:d,max:I,min:N,readOnly:f,step:b,value:v,onChange:P,children:[t(e.Item,{ref:h,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",className:g({inputSize:n}),inputMode:"numeric",spellCheck:"false",...R}),m("div",{className:"ml-auto grid h-full divide-y rounded-r-md border-l",children:[t(e.IncrementButton,{className:r({className:"h-full rounded-none rounded-tr-md",icon:!0,variant:"ghost"}),children:t(C,{})}),t(e.DecrementButton,{className:r({className:"rounded-tb-md h-full rounded-none",icon:!0,variant:"ghost"}),children:t(y,{})})]})]}));B.displayName="NumberInput";export{B as NumberInput};
2
+ //# sourceMappingURL=number-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/number-input.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as NumberInputPrimitive from '@codefast/primitive/number-input';\nimport { ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';\nimport { buttonVariants } from '@/styles/button-variants';\nimport { inputVariants, type InputVariantsProps } from '@/styles/input-variants';\n\nconst { root, input } = inputVariants();\n\n/* -----------------------------------------------------------------------------\n * Component: NumberInput\n * -------------------------------------------------------------------------- */\n\ntype NumberInputElement = React.ElementRef<typeof NumberInputPrimitive.Item>;\ninterface NumberInputProps\n extends InputVariantsProps,\n React.ComponentProps<typeof NumberInputPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NumberInputPrimitive.Item> {}\n\nconst NumberInput = React.forwardRef<NumberInputElement, NumberInputProps>(\n (\n {\n ariaDecrementLabel,\n ariaIncrementLabel,\n className,\n inputSize,\n defaultValue,\n disabled,\n formatOptions,\n id,\n max,\n min,\n readOnly,\n step,\n value,\n onChange,\n ...props\n },\n forwardedRef,\n ) => (\n <NumberInputPrimitive.Root\n ariaDecrementLabel={ariaDecrementLabel}\n ariaIncrementLabel={ariaIncrementLabel}\n className={root({ inputSize, className: ['pr-0', className] })}\n defaultValue={defaultValue}\n disabled={disabled}\n formatOptions={formatOptions}\n id={id}\n max={max}\n min={min}\n readOnly={readOnly}\n step={step}\n value={value}\n onChange={onChange}\n >\n <NumberInputPrimitive.Item\n ref={forwardedRef}\n autoCapitalize=\"off\"\n autoComplete=\"off\"\n autoCorrect=\"off\"\n className={input({ inputSize })}\n inputMode=\"numeric\"\n spellCheck=\"false\"\n {...props}\n />\n <div className=\"ml-auto grid h-full divide-y rounded-r-md border-l\">\n <NumberInputPrimitive.IncrementButton\n className={buttonVariants({\n className: 'h-full rounded-none rounded-tr-md',\n icon: true,\n variant: 'ghost',\n })}\n >\n <ChevronUpIcon />\n </NumberInputPrimitive.IncrementButton>\n <NumberInputPrimitive.DecrementButton\n className={buttonVariants({\n className: 'rounded-tb-md h-full rounded-none',\n icon: true,\n variant: 'ghost',\n })}\n >\n <ChevronDownIcon />\n </NumberInputPrimitive.DecrementButton>\n </div>\n </NumberInputPrimitive.Root>\n ),\n);\n\nNumberInput.displayName = 'NumberInput';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { NumberInput, type NumberInputProps };\n"],"mappings":"+FAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,mCACtC,OAAS,mBAAAC,EAAiB,iBAAAC,MAAqB,wBAoDzC,cAAAC,EAUA,QAAAC,MAVA,oBAhDN,GAAM,CAAE,KAAAC,EAAM,MAAAC,CAAM,EAAIC,EAAc,EAYhCC,EAAoB,aACxB,CACE,CACE,mBAAAC,EACA,mBAAAC,EACA,UAAAC,EACA,UAAAC,EACA,aAAAC,EACA,SAAAC,EACA,cAAAC,EACA,GAAAC,EACA,IAAAC,EACA,IAAAC,EACA,SAAAC,EACA,KAAAC,EACA,MAAAC,EACA,SAAAC,EACA,GAAGC,CACL,EACAC,IAEApB,EAAsB,OAArB,CACC,mBAAoBK,EACpB,mBAAoBC,EACpB,UAAWL,EAAK,CAAE,UAAAO,EAAW,UAAW,CAAC,OAAQD,CAAS,CAAE,CAAC,EAC7D,aAAcE,EACd,SAAUC,EACV,cAAeC,EACf,GAAIC,EACJ,IAAKC,EACL,IAAKC,EACL,SAAUC,EACV,KAAMC,EACN,MAAOC,EACP,SAAUC,EAEV,UAAAnB,EAAsB,OAArB,CACC,IAAKqB,EACL,eAAe,MACf,aAAa,MACb,YAAY,MACZ,UAAWlB,EAAM,CAAE,UAAAM,CAAU,CAAC,EAC9B,UAAU,UACV,WAAW,QACV,GAAGW,EACN,EACAnB,EAAC,OAAI,UAAU,qDACb,UAAAD,EAAsB,kBAArB,CACC,UAAWsB,EAAe,CACxB,UAAW,oCACX,KAAM,GACN,QAAS,OACX,CAAC,EAED,SAAAtB,EAACuB,EAAA,EAAc,EACjB,EACAvB,EAAsB,kBAArB,CACC,UAAWsB,EAAe,CACxB,UAAW,oCACX,KAAM,GACN,QAAS,OACX,CAAC,EAED,SAAAtB,EAACwB,EAAA,EAAgB,EACnB,GACF,GACF,CAEJ,EAEAnB,EAAY,YAAc","names":["React","NumberInputPrimitive","ChevronDownIcon","ChevronUpIcon","jsx","jsxs","root","input","inputVariants","NumberInput","ariaDecrementLabel","ariaIncrementLabel","className","inputSize","defaultValue","disabled","formatOptions","id","max","min","readOnly","step","value","onChange","props","forwardedRef","buttonVariants","ChevronUpIcon","ChevronDownIcon"]}
@@ -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 _chunkLSBI35ZEcjs = require('../chunk-LSBI35ZE.cjs');var _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var o = _interopRequireWildcard(_react);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');function N({className:t,...n}){return _jsxruntime.jsx.call(void 0, "nav",{"aria-label":"pagination",className:_chunk4XRBMJ5Qcjs.a.call(void 0, "mx-auto flex w-full justify-center",t),role:"navigation",...n})}var u=o.forwardRef(({className:t,...n},i)=>_jsxruntime.jsx.call(void 0, "ul",{ref:i,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "flex flex-row items-center gap-1",t),...n}));u.displayName="PaginationContent";var L=o.forwardRef((t,n)=>_jsxruntime.jsx.call(void 0, "li",{ref:n,...t}));L.displayName="PaginationItem";function p({className:t,isActive:n,size:i,children:P,...l}){return _jsxruntime.jsx.call(void 0, "a",{"aria-current":n?"page":void 0,className:_chunkLSBI35ZEcjs.a.call(void 0, {className:t,icon:!0,size:i,variant:n?"outline":"ghost"}),...l,children:P})}function R({className:t,...n}){return _jsxruntime.jsxs.call(void 0, p,{"aria-label":"Go to previous page",className:_chunk4XRBMJ5Qcjs.a.call(void 0, "gap-1 pl-2.5",t),size:"md",...n,children:[_jsxruntime.jsx.call(void 0, _reacticons.ChevronLeftIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{children:"Previous"})]})}function H({className:t,...n}){return _jsxruntime.jsxs.call(void 0, p,{"aria-label":"Go to next page",className:_chunk4XRBMJ5Qcjs.a.call(void 0, "gap-1 pr-2.5",t),size:"md",...n,children:[_jsxruntime.jsx.call(void 0, "span",{children:"Next"}),_jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon,{className:"size-4"})]})}function M({className:t,...n}){return _jsxruntime.jsxs.call(void 0, "span",{"aria-hidden":!0,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "flex size-10 items-center justify-center",t),...n,children:[_jsxruntime.jsx.call(void 0, _reacticons.DotsHorizontalIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"More pages"})]})}exports.Pagination = N; exports.PaginationContent = u; exports.PaginationEllipsis = M; exports.PaginationItem = L; exports.PaginationLink = p; exports.PaginationNext = H; exports.PaginationPrevious = R;
2
+ //# sourceMappingURL=pagination.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/pagination.cjs","../../src/components/pagination.tsx"],"names":["Pagination","className","props","jsx","cn","PaginationContent","forwardedRef","PaginationItem","PaginationLink","isActive","size","children","buttonVariants","PaginationPrevious","jsxs","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","DotsHorizontalIcon"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/pagination.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { ChevronLeftIcon, ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants, type ButtonVariantsProps } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Pagination\n * -------------------------------------------------------------------------- */\n\ntype PaginationProps = React.HTMLAttributes<HTMLElement>;\n\nfunction Pagination({ className, ...props }: PaginationProps): React.JSX.Element {\n return (\n <nav\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n role=\"navigation\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationContent\n * -------------------------------------------------------------------------- */\n\ntype PaginationContentElement = HTMLUListElement;\ntype PaginationContentProps = React.HTMLAttributes<HTMLUListElement>;\n\nconst PaginationContent = React.forwardRef<PaginationContentElement, PaginationContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <ul ref={forwardedRef} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\n\nPaginationContent.displayName = 'PaginationContent';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationItem\n * -------------------------------------------------------------------------- */\n\ntype PaginationItemElement = HTMLLIElement;\ntype PaginationItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst PaginationItem = React.forwardRef<PaginationItemElement, PaginationItemProps>((props, forwardedRef) => (\n <li ref={forwardedRef} {...props} />\n));\n\nPaginationItem.displayName = 'PaginationItem';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\ninterface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, Pick<ButtonVariantsProps, 'size'> {\n isActive?: boolean;\n}\n\nfunction PaginationLink({ className, isActive, size, children, ...props }: PaginationLinkProps): React.JSX.Element {\n return (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={buttonVariants({\n className,\n icon: true,\n size,\n variant: isActive ? 'outline' : 'ghost',\n })}\n {...props}\n >\n {children}\n </a>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationPrevious\n * -------------------------------------------------------------------------- */\n\ntype PaginationPreviousProps = PaginationLinkProps;\n\nfunction PaginationPrevious({ className, ...props }: PaginationPreviousProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to previous page\" className={cn('gap-1 pl-2.5', className)} size=\"md\" {...props}>\n <ChevronLeftIcon className=\"size-4\" />\n <span>Previous</span>\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationNext\n * -------------------------------------------------------------------------- */\n\ntype PaginationNextProps = PaginationLinkProps;\n\nfunction PaginationNext({ className, ...props }: PaginationNextProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to next page\" className={cn('gap-1 pr-2.5', className)} size=\"md\" {...props}>\n <span>Next</span>\n <ChevronRightIcon className=\"size-4\" />\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationEllipsis\n * -------------------------------------------------------------------------- */\n\ntype PaginationEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): React.JSX.Element {\n return (\n <span aria-hidden className={cn('flex size-10 items-center justify-center', className)} {...props}>\n <DotsHorizontalIcon className=\"size-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Pagination,\n PaginationContent,\n PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n type PaginationProps,\n type PaginationContentProps,\n type PaginationLinkProps,\n type PaginationItemProps,\n type PaginationPreviousProps,\n type PaginationNextProps,\n type PaginationEllipsisProps,\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ButtonVariantsProps } from './button.cjs';
2
+ import { ButtonVariantsProps } from '../styles/button-variants.cjs';
3
3
  import 'tailwind-variants';
4
4
  import 'tailwind-variants/dist/config.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ButtonVariantsProps } from './button.js';
2
+ import { ButtonVariantsProps } from '../styles/button-variants.js';
3
3
  import 'tailwind-variants';
4
4
  import 'tailwind-variants/dist/config.js';
5
5
 
@@ -0,0 +1,2 @@
1
+ import{a as r}from"../chunk-YGPIWXWP.js";import{a as e}from"../chunk-VRBUDJBH.js";import*as o from"react";import{ChevronLeftIcon as g,ChevronRightIcon as m,DotsHorizontalIcon as c}from"@radix-ui/react-icons";import{jsx as a,jsxs as s}from"react/jsx-runtime";function N({className:t,...n}){return a("nav",{"aria-label":"pagination",className:e("mx-auto flex w-full justify-center",t),role:"navigation",...n})}var u=o.forwardRef(({className:t,...n},i)=>a("ul",{ref:i,className:e("flex flex-row items-center gap-1",t),...n}));u.displayName="PaginationContent";var L=o.forwardRef((t,n)=>a("li",{ref:n,...t}));L.displayName="PaginationItem";function p({className:t,isActive:n,size:i,children:P,...l}){return a("a",{"aria-current":n?"page":void 0,className:r({className:t,icon:!0,size:i,variant:n?"outline":"ghost"}),...l,children:P})}function R({className:t,...n}){return s(p,{"aria-label":"Go to previous page",className:e("gap-1 pl-2.5",t),size:"md",...n,children:[a(g,{className:"size-4"}),a("span",{children:"Previous"})]})}function H({className:t,...n}){return s(p,{"aria-label":"Go to next page",className:e("gap-1 pr-2.5",t),size:"md",...n,children:[a("span",{children:"Next"}),a(m,{className:"size-4"})]})}function M({className:t,...n}){return s("span",{"aria-hidden":!0,className:e("flex size-10 items-center justify-center",t),...n,children:[a(c,{className:"size-4"}),a("span",{className:"sr-only",children:"More pages"})]})}export{N as Pagination,u as PaginationContent,M as PaginationEllipsis,L as PaginationItem,p as PaginationLink,H as PaginationNext,R as PaginationPrevious};
2
+ //# sourceMappingURL=pagination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/pagination.tsx"],"sourcesContent":["import * as React from 'react';\nimport { ChevronLeftIcon, ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants, type ButtonVariantsProps } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Pagination\n * -------------------------------------------------------------------------- */\n\ntype PaginationProps = React.HTMLAttributes<HTMLElement>;\n\nfunction Pagination({ className, ...props }: PaginationProps): React.JSX.Element {\n return (\n <nav\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n role=\"navigation\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationContent\n * -------------------------------------------------------------------------- */\n\ntype PaginationContentElement = HTMLUListElement;\ntype PaginationContentProps = React.HTMLAttributes<HTMLUListElement>;\n\nconst PaginationContent = React.forwardRef<PaginationContentElement, PaginationContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <ul ref={forwardedRef} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\n\nPaginationContent.displayName = 'PaginationContent';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationItem\n * -------------------------------------------------------------------------- */\n\ntype PaginationItemElement = HTMLLIElement;\ntype PaginationItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst PaginationItem = React.forwardRef<PaginationItemElement, PaginationItemProps>((props, forwardedRef) => (\n <li ref={forwardedRef} {...props} />\n));\n\nPaginationItem.displayName = 'PaginationItem';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\ninterface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, Pick<ButtonVariantsProps, 'size'> {\n isActive?: boolean;\n}\n\nfunction PaginationLink({ className, isActive, size, children, ...props }: PaginationLinkProps): React.JSX.Element {\n return (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={buttonVariants({\n className,\n icon: true,\n size,\n variant: isActive ? 'outline' : 'ghost',\n })}\n {...props}\n >\n {children}\n </a>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationPrevious\n * -------------------------------------------------------------------------- */\n\ntype PaginationPreviousProps = PaginationLinkProps;\n\nfunction PaginationPrevious({ className, ...props }: PaginationPreviousProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to previous page\" className={cn('gap-1 pl-2.5', className)} size=\"md\" {...props}>\n <ChevronLeftIcon className=\"size-4\" />\n <span>Previous</span>\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationNext\n * -------------------------------------------------------------------------- */\n\ntype PaginationNextProps = PaginationLinkProps;\n\nfunction PaginationNext({ className, ...props }: PaginationNextProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to next page\" className={cn('gap-1 pr-2.5', className)} size=\"md\" {...props}>\n <span>Next</span>\n <ChevronRightIcon className=\"size-4\" />\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationEllipsis\n * -------------------------------------------------------------------------- */\n\ntype PaginationEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): React.JSX.Element {\n return (\n <span aria-hidden className={cn('flex size-10 items-center justify-center', className)} {...props}>\n <DotsHorizontalIcon className=\"size-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Pagination,\n PaginationContent,\n PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n type PaginationProps,\n type PaginationContentProps,\n type PaginationLinkProps,\n type PaginationItemProps,\n type PaginationPreviousProps,\n type PaginationNextProps,\n type PaginationEllipsisProps,\n};\n"],"mappings":"kFAAA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,EAAiB,oBAAAC,EAAkB,sBAAAC,MAA0B,wBAYlE,cAAAC,EAsEA,QAAAC,MAtEA,oBAFJ,SAASC,EAAW,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAuC,CAC/E,OACEJ,EAAC,OACC,aAAW,aACX,UAAWK,EAAG,qCAAsCF,CAAS,EAC7D,KAAK,aACJ,GAAGC,EACN,CAEJ,CASA,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAGG,IACxBP,EAAC,MAAG,IAAKO,EAAc,UAAWF,EAAG,mCAAoCF,CAAS,EAAI,GAAGC,EAAO,CAEpG,EAEAE,EAAkB,YAAc,oBAShC,IAAME,EAAuB,aAAuD,CAACJ,EAAOG,IAC1FP,EAAC,MAAG,IAAKO,EAAe,GAAGH,EAAO,CACnC,EAEDI,EAAe,YAAc,iBAU7B,SAASC,EAAe,CAAE,UAAAN,EAAW,SAAAO,EAAU,KAAAC,EAAM,SAAAC,EAAU,GAAGR,CAAM,EAA2C,CACjH,OACEJ,EAAC,KACC,eAAcU,EAAW,OAAS,OAClC,UAAWG,EAAe,CACxB,UAAAV,EACA,KAAM,GACN,KAAAQ,EACA,QAASD,EAAW,UAAY,OAClC,CAAC,EACA,GAAGN,EAEH,SAAAQ,EACH,CAEJ,CAQA,SAASE,EAAmB,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAA+C,CAC/F,OACEH,EAACQ,EAAA,CAAe,aAAW,sBAAsB,UAAWJ,EAAG,eAAgBF,CAAS,EAAG,KAAK,KAAM,GAAGC,EACvG,UAAAJ,EAACe,EAAA,CAAgB,UAAU,SAAS,EACpCf,EAAC,QAAK,oBAAQ,GAChB,CAEJ,CAQA,SAASgB,EAAe,CAAE,UAAAb,EAAW,GAAGC,CAAM,EAA2C,CACvF,OACEH,EAACQ,EAAA,CAAe,aAAW,kBAAkB,UAAWJ,EAAG,eAAgBF,CAAS,EAAG,KAAK,KAAM,GAAGC,EACnG,UAAAJ,EAAC,QAAK,gBAAI,EACVA,EAACiB,EAAA,CAAiB,UAAU,SAAS,GACvC,CAEJ,CAQA,SAASC,EAAmB,CAAE,UAAAf,EAAW,GAAGC,CAAM,EAA+C,CAC/F,OACEH,EAAC,QAAK,cAAW,GAAC,UAAWI,EAAG,2CAA4CF,CAAS,EAAI,GAAGC,EAC1F,UAAAJ,EAACmB,EAAA,CAAmB,UAAU,SAAS,EACvCnB,EAAC,QAAK,UAAU,UAAU,sBAAU,GACtC,CAEJ","names":["React","ChevronLeftIcon","ChevronRightIcon","DotsHorizontalIcon","jsx","jsxs","Pagination","className","props","cn","PaginationContent","forwardedRef","PaginationItem","PaginationLink","isActive","size","children","buttonVariants","PaginationPrevious","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","DotsHorizontalIcon"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/popover.cjs","../../src/components/popover.tsx"],"names":["Popover","PopoverTrigger","PopoverAnchor","PopoverContent","className","align","sideOffset","props","forwardedRef","jsx","cn","PopoverArrow"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,uGACW,+CAkC5B,IA1BAA,CAAAA,CAA2B,CAAA,CAAA,IAAA,CAO3BC,CAAAA,0BAAkC,CAAA,CAAA,OAAA,CAOlCC,CAAAA,yBAAiC,CAAA,CAAA,MAAA,CASjCC,CAAAA,0BAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,CAAAA,CAAQ,QAAA,CAAU,UAAA,CAAAC,CAAAA,CAAa,CAAA,CAAG,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1DC,6BAAAA,CAAkB,CAAA,MAAA,CAAjB,CACC,QAAA,CAAAA,6BAAAA,CAAkB,CAAA,OAAA,CAAjB,CACC,GAAA,CAAKD,CAAAA,CACL,KAAA,CAAOH,CAAAA,CACP,SAAA,CAAWK,iCAAAA,+sBACT,CACAN,CACF,CAAA,CACA,UAAA,CAAYE,CAAAA,CACX,GAAGC,CAAAA,CACN,CAAA,CACF,CAEJ,CAAA,CAEAJ,CAAAA,CAAe,WAAA,CAA+B,CAAA,CAAA,OAAA,CAAQ,WAAA,CAStD,IAAMQ,CAAAA,CAAqB,CAAA,CAAA,UAAA,CACzB,CAAC,CAAE,SAAA,CAAAP,CAAAA,CAAW,GAAGG,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWE,iCAAAA,cAAG,CAAgBN,CAAS,CAAA,CAAI,GAAGG,CAAAA,CAAO,CAEpG,CAAA,CAEAI,CAAAA,CAAa,WAAA,CAA+B,CAAA,CAAA,KAAA,CAAM,WAAA,CAAA,iIAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/popover.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Popover\n * -------------------------------------------------------------------------- */\n\ntype PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;\nconst Popover = PopoverPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverTrigger\n * -------------------------------------------------------------------------- */\n\ntype PopoverTriggerProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>;\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverAnchor\n * -------------------------------------------------------------------------- */\n\ntype PopoverAnchorProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Anchor>;\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverContent\n * -------------------------------------------------------------------------- */\n\ntype PopoverContentElement = React.ElementRef<typeof PopoverPrimitive.Content>;\ntype PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>;\n\nconst PopoverContent = React.forwardRef<PopoverContentElement, PopoverContentProps>(\n ({ className, align = 'center', sideOffset = 6, ...props }, forwardedRef) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={forwardedRef}\n align={align}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-4 shadow-md',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </PopoverPrimitive.Portal>\n ),\n);\n\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverArrow\n * -------------------------------------------------------------------------- */\n\ntype PopoverArrowElement = React.ElementRef<typeof PopoverPrimitive.Arrow>;\ntype PopoverArrowProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Arrow>;\n\nconst PopoverArrow = React.forwardRef<PopoverArrowElement, PopoverArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <PopoverPrimitive.Arrow ref={forwardedRef} className={cn('fill-popover', className)} {...props} />\n ),\n);\n\nPopoverArrow.displayName = PopoverPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n PopoverArrow,\n type PopoverProps,\n type PopoverTriggerProps,\n type PopoverContentProps,\n type PopoverAnchorProps,\n type PopoverArrowProps,\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Popover\n * -------------------------------------------------------------------------- */\n\ntype PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;\nconst Popover = PopoverPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverTrigger\n * -------------------------------------------------------------------------- */\n\ntype PopoverTriggerProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>;\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverAnchor\n * -------------------------------------------------------------------------- */\n\ntype PopoverAnchorProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Anchor>;\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverContent\n * -------------------------------------------------------------------------- */\n\ntype PopoverContentElement = React.ElementRef<typeof PopoverPrimitive.Content>;\ntype PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>;\n\nconst PopoverContent = React.forwardRef<PopoverContentElement, PopoverContentProps>(\n ({ className, align = 'center', sideOffset = 6, ...props }, forwardedRef) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={forwardedRef}\n align={align}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-4 shadow-md',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </PopoverPrimitive.Portal>\n ),\n);\n\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverArrow\n * -------------------------------------------------------------------------- */\n\ntype PopoverArrowElement = React.ElementRef<typeof PopoverPrimitive.Arrow>;\ntype PopoverArrowProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Arrow>;\n\nconst PopoverArrow = React.forwardRef<PopoverArrowElement, PopoverArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <PopoverPrimitive.Arrow ref={forwardedRef} className={cn('fill-popover', className)} {...props} />\n ),\n);\n\nPopoverArrow.displayName = PopoverPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n PopoverArrow,\n type PopoverProps,\n type PopoverTriggerProps,\n type PopoverContentProps,\n type PopoverAnchorProps,\n type PopoverArrowProps,\n};\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAsB,0BAkC5B,cAAAC,MAAA,oBA1BN,IAAMC,EAA2B,OAO3BC,EAAkC,UAOlCC,EAAiC,SASjCC,EAAuB,aAC3B,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAQ,SAAU,WAAAC,EAAa,EAAG,GAAGC,CAAM,EAAGC,IAC1DT,EAAkB,SAAjB,CACC,SAAAA,EAAkB,UAAjB,CACC,IAAKS,EACL,MAAOH,EACP,UAAWI,EACT,gtBACAL,CACF,EACA,WAAYE,EACX,GAAGC,EACN,EACF,CAEJ,EAEAJ,EAAe,YAA+B,UAAQ,YAStD,IAAMO,EAAqB,aACzB,CAAC,CAAE,UAAAN,EAAW,GAAGG,CAAM,EAAGC,IACxBT,EAAkB,QAAjB,CAAuB,IAAKS,EAAc,UAAWC,EAAG,eAAgBL,CAAS,EAAI,GAAGG,EAAO,CAEpG,EAEAG,EAAa,YAA+B,QAAM","names":["React","PopoverPrimitive","jsx","Popover","PopoverTrigger","PopoverAnchor","PopoverContent","className","align","sideOffset","props","forwardedRef","cn","PopoverArrow"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/pre.tsx"],"names":["Pre","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAY,CAAA,CAAA,UAAA,CAAiC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGlEC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,KAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAI,WAAA,CAAc,KAAA,CAAA,gBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/pre.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'pre';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nPre.displayName = 'Pre';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/pre.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'pre';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nPre.displayName = 'Pre';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAY,aAAiC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGlEJ,EAFWE,EAAUH,EAAO,MAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAI,YAAc","names":["React","Slot","jsx","Pre","asChild","props","forwardedRef"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/progress.cjs","../../src/components/progress.tsx"],"names":["Progress","className","value","props","forwardedRef","jsx","cn"],"mappings":"AAAA,2cAAY,CAAC,yDAAyC,uECE/B,0GACY,+CAgB/B,IANEA,CAAAA,CAAiB,CAAA,CAAA,UAAA,CAA2C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,CAAAA,CAAO,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACjGC,6BAAAA,CAAmB,CAAA,IAAA,CAAlB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,gEAAG,CAAkEL,CAAS,CAAA,CACxF,GAAGE,CAAAA,CAEJ,QAAA,CAAAE,6BAAAA,CAAmB,CAAA,SAAA,CAAlB,CACC,SAAA,CAAU,wCAAA,CACV,KAAA,CAAO,CACL,SAAA,CAAW,CAAA,YAAA,EAAe,MAAA,CAAO,GAAA,CAAA,kBAAOH,CAAAA,SAAS,GAAA,CAAE,CAAC,CAAA,EAAA,CACtD,CAAA,CACF,CAAA,CACF,CACD,CAAA,CAEDF,CAAAA,CAAS,WAAA,CAAgC,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,qBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/progress.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Progress\n * -------------------------------------------------------------------------- */\n\ntype ProgressElement = React.ElementRef<typeof ProgressPrimitive.Root>;\ntype ProgressProps = React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>;\n\nconst Progress = React.forwardRef<ProgressElement, ProgressProps>(({ className, value, ...props }, forwardedRef) => (\n <ProgressPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary size-full flex-1 transition\"\n style={{\n transform: `translateX(-${String(100 - (value ?? 0))}%)`,\n }}\n />\n </ProgressPrimitive.Root>\n));\n\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Progress, type ProgressProps };\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Progress\n * -------------------------------------------------------------------------- */\n\ntype ProgressElement = React.ElementRef<typeof ProgressPrimitive.Root>;\ntype ProgressProps = React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>;\n\nconst Progress = React.forwardRef<ProgressElement, ProgressProps>(({ className, value, ...props }, forwardedRef) => (\n <ProgressPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary size-full flex-1 transition\"\n style={{\n transform: `translateX(-${String(100 - (value ?? 0))}%)`,\n }}\n />\n </ProgressPrimitive.Root>\n));\n\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Progress, type ProgressProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAuB,2BAgB/B,cAAAC,MAAA,oBANJ,IAAMC,EAAiB,aAA2C,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAAGC,IACjGL,EAAmB,OAAlB,CACC,IAAKK,EACL,UAAWC,EAAG,iEAAkEJ,CAAS,EACxF,GAAGE,EAEJ,SAAAJ,EAAmB,YAAlB,CACC,UAAU,yCACV,MAAO,CACL,UAAW,eAAe,OAAO,KAAOG,GAAS,EAAE,CAAC,IACtD,EACF,EACF,CACD,EAEDF,EAAS,YAAgC,OAAK","names":["React","ProgressPrimitive","jsx","Progress","className","value","props","forwardedRef","cn"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/quote.tsx"],"names":["Quote","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAc,CAAA,CAAA,UAAA,CAAqC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGxEC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,GAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAM,WAAA,CAAc,OAAA,CAAA,kBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/quote.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'q';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nQuote.displayName = 'Quote';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/quote.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'q';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nQuote.displayName = 'Quote';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAc,aAAqC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGxEJ,EAFWE,EAAUH,EAAO,IAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAM,YAAc","names":["React","Slot","jsx","Quote","asChild","props","forwardedRef"]}
@@ -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 _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var a = _interopRequireWildcard(_react);var _reactradiogroup = require('@radix-ui/react-radio-group'); var e = _interopRequireWildcard(_reactradiogroup);var _jsxruntime = require('react/jsx-runtime');var p=a.forwardRef(({className:o,...i},r)=>_jsxruntime.jsx.call(void 0, e.Root,{className:_chunk4XRBMJ5Qcjs.a.call(void 0, "grid gap-2",o),...i,ref:r}));p.displayName=e.Root.displayName;var s=a.forwardRef(({className:o,...i},r)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2",o),...i}));s.displayName=e.Item.displayName;exports.RadioCards = p; exports.RadioCardsItem = s;
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 _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var a = _interopRequireWildcard(_react);var _reactradiogroup = require('@radix-ui/react-radio-group'); var e = _interopRequireWildcard(_reactradiogroup);var _jsxruntime = require('react/jsx-runtime');var p=a.forwardRef(({className:o,...i},t)=>_jsxruntime.jsx.call(void 0, e.Root,{className:_chunk4XRBMJ5Qcjs.a.call(void 0, "grid gap-2",o),...i,ref:t}));p.displayName=e.Root.displayName;var s=a.forwardRef(({className:o,...i},t)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:t,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2",o),...i}));s.displayName=e.Item.displayName;exports.RadioCards = p; exports.RadioCardsItem = s;
2
2
  //# sourceMappingURL=radio-cards.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/radio-cards.cjs","../../src/components/radio-cards.tsx"],"names":["RadioCards","className","props","forwardedRef","jsx","cn","RadioCardsItem"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,iHACc,+CAW5B,IADHA,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAA+C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACzFC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CAAyB,SAAA,CAAWC,iCAAAA,YAAG,CAAcJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,GAAA,CAAKC,CAAAA,CAAc,CACxG,CAAA,CAEDH,CAAAA,CAAW,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CASlD,IAAMM,CAAAA,CAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,oQACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEJ,CAAA,CAEAI,CAAAA,CAAe,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,mDAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/radio-cards.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCards\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsElement = React.ElementRef<typeof RadioGroupPrimitive.Root>;\ntype RadioCardsProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;\n\nconst RadioCards = React.forwardRef<RadioCardsElement, RadioCardsProps>(({ className, ...props }, forwardedRef) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={forwardedRef} />;\n});\n\nRadioCards.displayName = RadioGroupPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCardsItem\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsItemElement = React.ElementRef<typeof RadioGroupPrimitive.Item>;\ntype RadioCardsItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;\n\nconst RadioCardsItem = React.forwardRef<RadioCardsItemElement, RadioCardsItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <RadioGroupPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2',\n className,\n )}\n {...props}\n />\n ),\n);\n\nRadioCardsItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioCards, RadioCardsItem, type RadioCardsProps, type RadioCardsItemProps };\n"]}
@@ -1,2 +1,2 @@
1
- "use client";import{a as t}from"../chunk-VRBUDJBH.js";import*as a from"react";import*as e from"@radix-ui/react-radio-group";import{jsx as d}from"react/jsx-runtime";var p=a.forwardRef(({className:o,...i},r)=>d(e.Root,{className:t("grid gap-2",o),...i,ref:r}));p.displayName=e.Root.displayName;var s=a.forwardRef(({className:o,...i},r)=>d(e.Item,{ref:r,className:t("text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2",o),...i}));s.displayName=e.Item.displayName;export{p as RadioCards,s as RadioCardsItem};
1
+ "use client";import{a as r}from"../chunk-VRBUDJBH.js";import*as a from"react";import*as e from"@radix-ui/react-radio-group";import{jsx as d}from"react/jsx-runtime";var p=a.forwardRef(({className:o,...i},t)=>d(e.Root,{className:r("grid gap-2",o),...i,ref:t}));p.displayName=e.Root.displayName;var s=a.forwardRef(({className:o,...i},t)=>d(e.Item,{ref:t,className:r("text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2",o),...i}));s.displayName=e.Item.displayName;export{p as RadioCards,s as RadioCardsItem};
2
2
  //# sourceMappingURL=radio-cards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/radio-cards.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCards\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsElement = React.ElementRef<typeof RadioGroupPrimitive.Root>;\ntype RadioCardsProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;\n\nconst RadioCards = React.forwardRef<RadioCardsElement, RadioCardsProps>(({ className, ...props }, forwardedRef) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={forwardedRef} />;\n});\n\nRadioCards.displayName = RadioGroupPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCardsItem\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsItemElement = React.ElementRef<typeof RadioGroupPrimitive.Item>;\ntype RadioCardsItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;\n\nconst RadioCardsItem = React.forwardRef<RadioCardsItemElement, RadioCardsItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <RadioGroupPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2',\n className,\n )}\n {...props}\n />\n ),\n);\n\nRadioCardsItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioCards, RadioCardsItem, type RadioCardsProps, type RadioCardsItemProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAyB,8BAW5B,cAAAC,MAAA,oBADT,IAAMC,EAAmB,aAA+C,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACzFJ,EAAqB,OAApB,CAAyB,UAAWK,EAAG,aAAcH,CAAS,EAAI,GAAGC,EAAO,IAAKC,EAAc,CACxG,EAEDH,EAAW,YAAkC,OAAK,YASlD,IAAMK,EAAuB,aAC3B,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAqB,OAApB,CACC,IAAKI,EACL,UAAWC,EACT,qQACAH,CACF,EACC,GAAGC,EACN,CAEJ,EAEAG,EAAe,YAAkC,OAAK","names":["React","RadioGroupPrimitive","jsx","RadioCards","className","props","forwardedRef","cn","RadioCardsItem"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/radio-group.cjs","../../src/components/radio-group.tsx"],"names":["RadioGroup","className","props","forwardedRef","jsx","cn","RadioGroupItem"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,iHACc,+CAW5B,IADHA,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAA+C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACzFC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CAAyB,SAAA,CAAWC,iCAAAA,YAAG,CAAcJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,GAAA,CAAKC,CAAAA,CAAc,CACxG,CAAA,CAEDH,CAAAA,CAAW,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CASlD,IAAMM,CAAAA,CAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,iQACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CAEJ,QAAA,CAAAE,6BAAAA,CAAqB,CAAA,SAAA,CAApB,CAA8B,SAAA,CAAU,oHAAA,CAAqH,CAAA,CAChK,CAEJ,CAAA,CAEAE,CAAAA,CAAe,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,mDAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/radio-group.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroup\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupElement = React.ElementRef<typeof RadioGroupPrimitive.Root>;\ntype RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;\n\nconst RadioGroup = React.forwardRef<RadioGroupElement, RadioGroupProps>(({ className, ...props }, forwardedRef) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={forwardedRef} />;\n});\n\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroupItem\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupItemElement = React.ElementRef<typeof RadioGroupPrimitive.Item>;\ntype RadioGroupItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;\n\nconst RadioGroupItem = React.forwardRef<RadioGroupItemElement, RadioGroupItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <RadioGroupPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'border-input hover:border-primary text-foreground aria-checked:border-primary group peer aspect-square size-4 rounded-full border focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"after:bg-primary relative flex size-full items-center justify-center after:block after:size-2.5 after:rounded-full\" />\n </RadioGroupPrimitive.Item>\n ),\n);\n\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioGroup, RadioGroupItem, type RadioGroupProps, type RadioGroupItemProps };\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/radio-group.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroup\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupElement = React.ElementRef<typeof RadioGroupPrimitive.Root>;\ntype RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;\n\nconst RadioGroup = React.forwardRef<RadioGroupElement, RadioGroupProps>(({ className, ...props }, forwardedRef) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={forwardedRef} />;\n});\n\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroupItem\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupItemElement = React.ElementRef<typeof RadioGroupPrimitive.Item>;\ntype RadioGroupItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;\n\nconst RadioGroupItem = React.forwardRef<RadioGroupItemElement, RadioGroupItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <RadioGroupPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'border-input hover:border-primary text-foreground aria-checked:border-primary group peer aspect-square size-4 rounded-full border focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"after:bg-primary relative flex size-full items-center justify-center after:block after:size-2.5 after:rounded-full\" />\n </RadioGroupPrimitive.Item>\n ),\n);\n\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioGroup, RadioGroupItem, type RadioGroupProps, type RadioGroupItemProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAyB,8BAW5B,cAAAC,MAAA,oBADT,IAAMC,EAAmB,aAA+C,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACzFJ,EAAqB,OAApB,CAAyB,UAAWK,EAAG,aAAcH,CAAS,EAAI,GAAGC,EAAO,IAAKC,EAAc,CACxG,EAEDH,EAAW,YAAkC,OAAK,YASlD,IAAMK,EAAuB,aAC3B,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAqB,OAApB,CACC,IAAKI,EACL,UAAWC,EACT,kQACAH,CACF,EACC,GAAGC,EAEJ,SAAAH,EAAqB,YAApB,CAA8B,UAAU,qHAAqH,EAChK,CAEJ,EAEAM,EAAe,YAAkC,OAAK","names":["React","RadioGroupPrimitive","jsx","RadioGroup","className","props","forwardedRef","cn","RadioGroupItem"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/radio.cjs","../../src/components/radio.tsx"],"names":["Radio","className","onValueChange","onChange","props","forwardedRef","jsx","cn","composeEventHandlers","event"],"mappings":"AAAA,22BAAY,CAAC,yDAAyC,uECE/B,gDACc,+CAejC,IAFEA,CAAAA,CAAc,CAAA,CAAA,UAAA,CAClB,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,aAAA,CAAAC,CAAAA,CAAe,QAAA,CAAAC,CAAAA,CAAU,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACjDC,6BAAAA,OAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,2aACT,CACAN,CACF,CAAA,CACA,IAAA,CAAK,OAAA,CACL,QAAA,CAAUO,6CAAAA,CAAqBL,CAAWM,CAAAA,kBAAUP,CAAAA,wBAAAA,CAAgBO,CAAAA,CAAM,aAAA,CAAc,KAAK,GAAC,CAAA,CAC7F,GAAGL,CAAAA,CACN,CAEJ,CAAA,CAEAJ,CAAAA,CAAM,WAAA,CAAc,OAAA,CAAA,kBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/radio.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Radio\n * -------------------------------------------------------------------------- */\n\ntype RadioElement = HTMLInputElement;\n\ninterface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {\n onValueChange?: (value: string) => void;\n}\n\nconst Radio = React.forwardRef<RadioElement, RadioProps>(\n ({ className, onValueChange, onChange, ...props }, forwardedRef) => (\n <input\n ref={forwardedRef}\n className={cn(\n 'before:border-input hover:before:border-primary checked:before:border-primary checked:after:bg-primary peer relative flex appearance-none items-center justify-center rounded-full before:size-4 before:rounded-full before:border checked:after:absolute checked:after:size-2.5 checked:after:rounded-full focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-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\nRadio.displayName = 'Radio';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Radio };\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/radio.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Radio\n * -------------------------------------------------------------------------- */\n\ntype RadioElement = HTMLInputElement;\n\ninterface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {\n onValueChange?: (value: string) => void;\n}\n\nconst Radio = React.forwardRef<RadioElement, RadioProps>(\n ({ className, onValueChange, onChange, ...props }, forwardedRef) => (\n <input\n ref={forwardedRef}\n className={cn(\n 'before:border-input hover:before:border-primary checked:before:border-primary checked:after:bg-primary peer relative flex appearance-none items-center justify-center rounded-full before:size-4 before:rounded-full before:border checked:after:absolute checked:after:size-2.5 checked:after:rounded-full focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-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\nRadio.displayName = 'Radio';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Radio };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,OAAS,wBAAAC,MAA4B,sBAejC,cAAAC,MAAA,oBAFJ,IAAMC,EAAc,aAClB,CAAC,CAAE,UAAAC,EAAW,cAAAC,EAAe,SAAAC,EAAU,GAAGC,CAAM,EAAGC,IACjDN,EAAC,SACC,IAAKM,EACL,UAAWC,EACT,4aACAL,CACF,EACA,KAAK,QACL,SAAUM,EAAqBJ,EAAWK,GAAUN,IAAgBM,EAAM,cAAc,KAAK,CAAC,EAC7F,GAAGJ,EACN,CAEJ,EAEAJ,EAAM,YAAc","names":["React","composeEventHandlers","jsx","Radio","className","onValueChange","onChange","props","forwardedRef","cn","composeEventHandlers","event"]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/resizable.cjs","../../src/components/resizable.tsx"],"names":["ResizablePanelGroup","className","props","jsx","cn","ResizablePanel","ResizableHandle","withHandle","DragHandleDots2Icon"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,sHCGlB,mDACA,+CAYhC,SALKA,CAAAA,CAAoB,CAC3B,SAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAkF,CAChF,OACEC,6BAAAA,CAAoB,CAAA,UAAA,CAAnB,CACC,SAAA,CAAWC,iCAAAA,+DAAG,CAAiEH,CAAS,CAAA,CACvF,GAAGC,CAAAA,CACN,CAEJ,CAMA,IAAMG,CAAAA,CAAoC,CAAA,CAAA,KAAA,CAM1C,SAASC,CAAAA,CAAgB,CACvB,UAAA,CAAAC,CAAAA,CACA,SAAA,CAAAN,CAAAA,CACA,GAAGC,CACL,CAAA,CAEsB,CACpB,OACEC,6BAAAA,CAAoB,CAAA,iBAAA,CAAnB,CACC,SAAA,CAAWC,iCAAAA,knBACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CAEH,QAAA,CAAAK,CAAAA,CACCJ,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,2EAAA,CACb,QAAA,CAAAA,6BAAAA,+BAACK,CAAA,CAAoB,SAAA,CAAU,UAAA,CAAW,CAAA,CAC5C,CAAA,CACE,IAAA,CACN,CAEJ,CAAA,yFAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/resizable.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as ResizablePrimitive from 'react-resizable-panels';\nimport { DragHandleDots2Icon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanelGroup\n * -------------------------------------------------------------------------- */\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): React.JSX.Element {\n return (\n <ResizablePrimitive.PanelGroup\n className={cn('flex size-full data-[panel-group-direction=vertical]:flex-col', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanel\n * -------------------------------------------------------------------------- */\n\nconst ResizablePanel = ResizablePrimitive.Panel;\n\n/* -----------------------------------------------------------------------------\n * Component: ResizableHandle\n * -------------------------------------------------------------------------- */\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\n withHandle?: boolean;\n}): React.JSX.Element {\n return (\n <ResizablePrimitive.PanelResizeHandle\n className={cn(\n 'bg-border relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle ? (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <DragHandleDots2Icon className=\"size-2.5\" />\n </div>\n ) : null}\n </ResizablePrimitive.PanelResizeHandle>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ResizablePanelGroup, ResizablePanel, ResizableHandle };\n"]}