@codefast/ui 0.2.27 → 0.2.28

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 (864) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +40 -53
  3. package/dist/{chunk-PDCYBUPT.cjs → chunk-25YVEZ64.cjs} +2 -2
  4. package/dist/chunk-25YVEZ64.cjs.map +1 -0
  5. package/dist/chunk-2DPGKKQC.js +4 -0
  6. package/dist/chunk-2DPGKKQC.js.map +1 -0
  7. package/dist/chunk-2HTTNQSW.js +2 -0
  8. package/dist/chunk-2HTTNQSW.js.map +1 -0
  9. package/dist/chunk-2MN3L273.cjs +2 -0
  10. package/dist/chunk-2MN3L273.cjs.map +1 -0
  11. package/dist/{chunk-MXQHUOX4.cjs → chunk-2NGMMHVD.cjs} +2 -2
  12. package/dist/chunk-2NGMMHVD.cjs.map +1 -0
  13. package/dist/{chunk-2L4WHNCG.cjs → chunk-3JCHUM2E.cjs} +2 -2
  14. package/dist/chunk-3JCHUM2E.cjs.map +1 -0
  15. package/dist/chunk-3S7JMM6G.js +2 -0
  16. package/dist/chunk-3S7JMM6G.js.map +1 -0
  17. package/dist/chunk-3W2OPECD.cjs +2 -0
  18. package/dist/chunk-3W2OPECD.cjs.map +1 -0
  19. package/dist/{chunk-N2CT5IQU.cjs → chunk-3YNM2FAF.cjs} +2 -2
  20. package/dist/chunk-3YNM2FAF.cjs.map +1 -0
  21. package/dist/chunk-3ZDCQJMF.js +2 -0
  22. package/dist/chunk-3ZDCQJMF.js.map +1 -0
  23. package/dist/chunk-4LP5RS4E.cjs +2 -0
  24. package/dist/chunk-4LP5RS4E.cjs.map +1 -0
  25. package/dist/chunk-4UAVAHLJ.js +2 -0
  26. package/dist/chunk-4UAVAHLJ.js.map +1 -0
  27. package/dist/chunk-4XOBLPFF.cjs +2 -0
  28. package/dist/chunk-4XOBLPFF.cjs.map +1 -0
  29. package/dist/chunk-52I7IB6A.cjs +2 -0
  30. package/dist/chunk-52I7IB6A.cjs.map +1 -0
  31. package/dist/chunk-54NBPI24.js +2 -0
  32. package/dist/chunk-54NBPI24.js.map +1 -0
  33. package/dist/chunk-5D3AL3AD.js +2 -0
  34. package/dist/chunk-5D3AL3AD.js.map +1 -0
  35. package/dist/chunk-5OBKU5VN.cjs +2 -0
  36. package/dist/chunk-5OBKU5VN.cjs.map +1 -0
  37. package/dist/chunk-5ODCB7HZ.js +2 -0
  38. package/dist/chunk-5ODCB7HZ.js.map +1 -0
  39. package/dist/chunk-5QRNBM3F.cjs +2 -0
  40. package/dist/chunk-5QRNBM3F.cjs.map +1 -0
  41. package/dist/chunk-5W2322HZ.js +2 -0
  42. package/dist/chunk-5W2322HZ.js.map +1 -0
  43. package/dist/chunk-6LVC4RQY.js +2 -0
  44. package/dist/chunk-6LVC4RQY.js.map +1 -0
  45. package/dist/chunk-6XLKDRCN.js +2 -0
  46. package/dist/chunk-6XLKDRCN.js.map +1 -0
  47. package/dist/chunk-7C3Y44JU.cjs +2 -0
  48. package/dist/chunk-7C3Y44JU.cjs.map +1 -0
  49. package/dist/chunk-7KXMJMOL.js +2 -0
  50. package/dist/chunk-7KXMJMOL.js.map +1 -0
  51. package/dist/chunk-7RXXPL7F.js +2 -0
  52. package/dist/chunk-7RXXPL7F.js.map +1 -0
  53. package/dist/chunk-7TYGHN3F.js +2 -0
  54. package/dist/chunk-7TYGHN3F.js.map +1 -0
  55. package/dist/chunk-7ZWX7JFJ.cjs +2 -0
  56. package/dist/chunk-7ZWX7JFJ.cjs.map +1 -0
  57. package/dist/chunk-AAAIMKE6.cjs +2 -0
  58. package/dist/chunk-AAAIMKE6.cjs.map +1 -0
  59. package/dist/chunk-ADROVJOH.cjs +2 -0
  60. package/dist/chunk-ADROVJOH.cjs.map +1 -0
  61. package/dist/chunk-AHHONQBW.js +2 -0
  62. package/dist/chunk-AHHONQBW.js.map +1 -0
  63. package/dist/chunk-ALAGRDG2.js +2 -0
  64. package/dist/chunk-ALAGRDG2.js.map +1 -0
  65. package/dist/chunk-B4PQMLS2.js +2 -0
  66. package/dist/chunk-B4PQMLS2.js.map +1 -0
  67. package/dist/chunk-B5BJYHUS.cjs +2 -0
  68. package/dist/chunk-B5BJYHUS.cjs.map +1 -0
  69. package/dist/{chunk-G4Y2RF3B.cjs → chunk-BTEH3T5W.cjs} +2 -2
  70. package/dist/chunk-BTEH3T5W.cjs.map +1 -0
  71. package/dist/chunk-BTYPQRMH.js +2 -0
  72. package/dist/chunk-BTYPQRMH.js.map +1 -0
  73. package/dist/chunk-BV2GNRRU.js +2 -0
  74. package/dist/chunk-BV2GNRRU.js.map +1 -0
  75. package/dist/chunk-BXBCFO5B.js +2 -0
  76. package/dist/chunk-BXBCFO5B.js.map +1 -0
  77. package/dist/chunk-BZPP4CU7.cjs +2 -0
  78. package/dist/chunk-BZPP4CU7.cjs.map +1 -0
  79. package/dist/chunk-CCWAWHXL.js +2 -0
  80. package/dist/chunk-CCWAWHXL.js.map +1 -0
  81. package/dist/chunk-CEK2UYDP.cjs +2 -0
  82. package/dist/chunk-CEK2UYDP.cjs.map +1 -0
  83. package/dist/chunk-CRADBTW7.cjs +2 -0
  84. package/dist/chunk-CRADBTW7.cjs.map +1 -0
  85. package/dist/chunk-CWDAAKQY.js +2 -0
  86. package/dist/chunk-CWDAAKQY.js.map +1 -0
  87. package/dist/chunk-DQKBPH2Q.cjs +2 -0
  88. package/dist/chunk-DQKBPH2Q.cjs.map +1 -0
  89. package/dist/chunk-DSP3R77D.js +2 -0
  90. package/dist/chunk-DSP3R77D.js.map +1 -0
  91. package/dist/chunk-E5EKFP76.js +2 -0
  92. package/dist/chunk-E5EKFP76.js.map +1 -0
  93. package/dist/{chunk-ED6TP6IF.cjs → chunk-E627ZOLH.cjs} +2 -2
  94. package/dist/chunk-E627ZOLH.cjs.map +1 -0
  95. package/dist/chunk-EGZHN6BU.cjs +4 -0
  96. package/dist/chunk-EGZHN6BU.cjs.map +1 -0
  97. package/dist/chunk-EJJKYYHY.js +2 -0
  98. package/dist/chunk-EJJKYYHY.js.map +1 -0
  99. package/dist/chunk-EUTIIJII.js +2 -0
  100. package/dist/chunk-EUTIIJII.js.map +1 -0
  101. package/dist/chunk-FLXWANVR.cjs +2 -0
  102. package/dist/chunk-FLXWANVR.cjs.map +1 -0
  103. package/dist/{chunk-IGCYTKJ7.js → chunk-FR7P352M.js} +2 -2
  104. package/dist/chunk-FR7P352M.js.map +1 -0
  105. package/dist/chunk-FVLQ2DUP.js +2 -0
  106. package/dist/chunk-FVLQ2DUP.js.map +1 -0
  107. package/dist/chunk-GE7SZH54.js +2 -0
  108. package/dist/chunk-GE7SZH54.js.map +1 -0
  109. package/dist/chunk-GQZLR4VV.js +2 -0
  110. package/dist/chunk-GQZLR4VV.js.map +1 -0
  111. package/dist/chunk-GWW4VPCF.js +2 -0
  112. package/dist/chunk-GWW4VPCF.js.map +1 -0
  113. package/dist/chunk-H4MAWWJN.js +2 -0
  114. package/dist/chunk-H4MAWWJN.js.map +1 -0
  115. package/dist/chunk-H4YGUYHB.cjs +2 -0
  116. package/dist/chunk-H4YGUYHB.cjs.map +1 -0
  117. package/dist/{chunk-FAA5YNDU.cjs → chunk-HFJKDL4E.cjs} +2 -2
  118. package/dist/chunk-HFJKDL4E.cjs.map +1 -0
  119. package/dist/chunk-HHIQNJ5N.js +2 -0
  120. package/dist/chunk-HHIQNJ5N.js.map +1 -0
  121. package/dist/chunk-HODP3L6K.js +2 -0
  122. package/dist/chunk-HODP3L6K.js.map +1 -0
  123. package/dist/chunk-HWVW5NCX.js +2 -0
  124. package/dist/chunk-HWVW5NCX.js.map +1 -0
  125. package/dist/chunk-IDELSFHC.cjs +2 -0
  126. package/dist/chunk-IDELSFHC.cjs.map +1 -0
  127. package/dist/chunk-IK76PHGB.cjs +2 -0
  128. package/dist/chunk-IK76PHGB.cjs.map +1 -0
  129. package/dist/chunk-IS4CMZ72.cjs +2 -0
  130. package/dist/chunk-IS4CMZ72.cjs.map +1 -0
  131. package/dist/chunk-IVH3SA7C.cjs +2 -0
  132. package/dist/chunk-IVH3SA7C.cjs.map +1 -0
  133. package/dist/chunk-IX243UNX.js +2 -0
  134. package/dist/chunk-IX243UNX.js.map +1 -0
  135. package/dist/chunk-IXQW5ZSZ.cjs +2 -0
  136. package/dist/chunk-IXQW5ZSZ.cjs.map +1 -0
  137. package/dist/chunk-J7FLM6VE.cjs +2 -0
  138. package/dist/chunk-J7FLM6VE.cjs.map +1 -0
  139. package/dist/chunk-JHRUIDPG.cjs +2 -0
  140. package/dist/chunk-JHRUIDPG.cjs.map +1 -0
  141. package/dist/chunk-JUUAOOMY.js +2 -0
  142. package/dist/chunk-JUUAOOMY.js.map +1 -0
  143. package/dist/{chunk-ZMX5EHEH.cjs → chunk-JW6C57Y5.cjs} +2 -2
  144. package/dist/chunk-JW6C57Y5.cjs.map +1 -0
  145. package/dist/chunk-K5EXM35Y.cjs +2 -0
  146. package/dist/chunk-K5EXM35Y.cjs.map +1 -0
  147. package/dist/chunk-K7NF7W76.js +2 -0
  148. package/dist/chunk-K7NF7W76.js.map +1 -0
  149. package/dist/chunk-KEF3RCSW.cjs +2 -0
  150. package/dist/chunk-KEF3RCSW.cjs.map +1 -0
  151. package/dist/chunk-KEF7DXMW.cjs +2 -0
  152. package/dist/chunk-KEF7DXMW.cjs.map +1 -0
  153. package/dist/chunk-KNWGFYQN.js +2 -0
  154. package/dist/chunk-KNWGFYQN.js.map +1 -0
  155. package/dist/chunk-KUFTXWNU.cjs +2 -0
  156. package/dist/chunk-KUFTXWNU.cjs.map +1 -0
  157. package/dist/chunk-KZNN72X4.js +2 -0
  158. package/dist/chunk-KZNN72X4.js.map +1 -0
  159. package/dist/chunk-L3A4O6YH.cjs +2 -0
  160. package/dist/chunk-L3A4O6YH.cjs.map +1 -0
  161. package/dist/chunk-L53SSTZH.cjs +2 -0
  162. package/dist/chunk-L53SSTZH.cjs.map +1 -0
  163. package/dist/chunk-LOMEOK37.cjs +2 -0
  164. package/dist/chunk-LOMEOK37.cjs.map +1 -0
  165. package/dist/chunk-LZSAF327.js +2 -0
  166. package/dist/chunk-LZSAF327.js.map +1 -0
  167. package/dist/chunk-M3FJLRC5.cjs +2 -0
  168. package/dist/chunk-M3FJLRC5.cjs.map +1 -0
  169. package/dist/chunk-M7O3IU4I.js +2 -0
  170. package/dist/chunk-M7O3IU4I.js.map +1 -0
  171. package/dist/{chunk-M5PELNCO.cjs → chunk-MCMCMOW6.cjs} +2 -2
  172. package/dist/chunk-MCMCMOW6.cjs.map +1 -0
  173. package/dist/chunk-MKTUHVAW.js +2 -0
  174. package/dist/chunk-MKTUHVAW.js.map +1 -0
  175. package/dist/chunk-N3H4YJ37.js +2 -0
  176. package/dist/chunk-N3H4YJ37.js.map +1 -0
  177. package/dist/chunk-NOJBMCCJ.cjs +2 -0
  178. package/dist/chunk-NOJBMCCJ.cjs.map +1 -0
  179. package/dist/chunk-ODBPUCNK.js +2 -0
  180. package/dist/chunk-ODBPUCNK.js.map +1 -0
  181. package/dist/chunk-ODNT7DBL.cjs +2 -0
  182. package/dist/chunk-ODNT7DBL.cjs.map +1 -0
  183. package/dist/chunk-P27WU6GG.cjs +2 -0
  184. package/dist/chunk-P27WU6GG.cjs.map +1 -0
  185. package/dist/chunk-P5NRPAX3.js +2 -0
  186. package/dist/chunk-P5NRPAX3.js.map +1 -0
  187. package/dist/chunk-PCGTCRE3.cjs +2 -0
  188. package/dist/chunk-PCGTCRE3.cjs.map +1 -0
  189. package/dist/chunk-PJWKQZHJ.cjs +2 -0
  190. package/dist/chunk-PJWKQZHJ.cjs.map +1 -0
  191. package/dist/chunk-PKVGWDZR.js +2 -0
  192. package/dist/chunk-PKVGWDZR.js.map +1 -0
  193. package/dist/chunk-PMR7SBOR.js +2 -0
  194. package/dist/chunk-PMR7SBOR.js.map +1 -0
  195. package/dist/chunk-PN25GXE4.js +2 -0
  196. package/dist/chunk-PN25GXE4.js.map +1 -0
  197. package/dist/{chunk-UZN2GPZF.cjs → chunk-PWZWNYMT.cjs} +2 -2
  198. package/dist/chunk-PWZWNYMT.cjs.map +1 -0
  199. package/dist/chunk-QGBRZ5YR.cjs +2 -0
  200. package/dist/chunk-QGBRZ5YR.cjs.map +1 -0
  201. package/dist/chunk-QGMA2QFT.cjs +2 -0
  202. package/dist/chunk-QGMA2QFT.cjs.map +1 -0
  203. package/dist/chunk-QLXOB6D3.js +2 -0
  204. package/dist/chunk-QLXOB6D3.js.map +1 -0
  205. package/dist/chunk-QPPQCG4J.js +2 -0
  206. package/dist/chunk-QPPQCG4J.js.map +1 -0
  207. package/dist/chunk-QQHIPYWF.cjs +2 -0
  208. package/dist/chunk-QQHIPYWF.cjs.map +1 -0
  209. package/dist/chunk-RLLAVOKV.js +2 -0
  210. package/dist/chunk-RLLAVOKV.js.map +1 -0
  211. package/dist/chunk-RO2CHJ3W.cjs +2 -0
  212. package/dist/chunk-RO2CHJ3W.cjs.map +1 -0
  213. package/dist/chunk-RV4MAQYF.js +2 -0
  214. package/dist/chunk-RV4MAQYF.js.map +1 -0
  215. package/dist/chunk-S5QE6QZI.cjs +2 -0
  216. package/dist/chunk-S5QE6QZI.cjs.map +1 -0
  217. package/dist/chunk-S7RX6JQY.js +2 -0
  218. package/dist/chunk-S7RX6JQY.js.map +1 -0
  219. package/dist/chunk-SLXE24VS.cjs +2 -0
  220. package/dist/chunk-SLXE24VS.cjs.map +1 -0
  221. package/dist/chunk-SORSJ252.cjs +2 -0
  222. package/dist/chunk-SORSJ252.cjs.map +1 -0
  223. package/dist/chunk-SQA7LMGC.js +2 -0
  224. package/dist/chunk-SQA7LMGC.js.map +1 -0
  225. package/dist/{chunk-B3BYZCQ7.cjs → chunk-SRP463XH.cjs} +2 -2
  226. package/dist/chunk-SRP463XH.cjs.map +1 -0
  227. package/dist/chunk-SSNF4WDW.js +2 -0
  228. package/dist/chunk-SSNF4WDW.js.map +1 -0
  229. package/dist/chunk-TL65MYMM.js +2 -0
  230. package/dist/chunk-TL65MYMM.js.map +1 -0
  231. package/dist/chunk-TL75YNSL.cjs +2 -0
  232. package/dist/chunk-TL75YNSL.cjs.map +1 -0
  233. package/dist/{chunk-GT6M2CAP.cjs → chunk-TNCTCXNX.cjs} +2 -2
  234. package/dist/chunk-TNCTCXNX.cjs.map +1 -0
  235. package/dist/chunk-TRPIIBAS.cjs +2 -0
  236. package/dist/chunk-TRPIIBAS.cjs.map +1 -0
  237. package/dist/chunk-TYU2VN3Y.js +2 -0
  238. package/dist/chunk-TYU2VN3Y.js.map +1 -0
  239. package/dist/chunk-V7G3PA7F.js +2 -0
  240. package/dist/chunk-V7G3PA7F.js.map +1 -0
  241. package/dist/chunk-VSJCB3W5.js +2 -0
  242. package/dist/chunk-VSJCB3W5.js.map +1 -0
  243. package/dist/chunk-WOGISN3L.cjs +2 -0
  244. package/dist/chunk-WOGISN3L.cjs.map +1 -0
  245. package/dist/chunk-WT2H2EGG.js +2 -0
  246. package/dist/chunk-WT2H2EGG.js.map +1 -0
  247. package/dist/chunk-X5CR4RIL.cjs +2 -0
  248. package/dist/chunk-X5CR4RIL.cjs.map +1 -0
  249. package/dist/chunk-XBNM23BB.cjs +2 -0
  250. package/dist/chunk-XBNM23BB.cjs.map +1 -0
  251. package/dist/{chunk-2M5ZCWL6.cjs → chunk-XO4K654G.cjs} +2 -2
  252. package/dist/chunk-XO4K654G.cjs.map +1 -0
  253. package/dist/{chunk-ZQYHFDUL.cjs → chunk-XXUOW3ID.cjs} +2 -2
  254. package/dist/chunk-XXUOW3ID.cjs.map +1 -0
  255. package/dist/chunk-YB2EVI6G.js +2 -0
  256. package/dist/chunk-YB2EVI6G.js.map +1 -0
  257. package/dist/chunk-YCCLSFED.js +2 -0
  258. package/dist/chunk-YCCLSFED.js.map +1 -0
  259. package/dist/chunk-YJ6K6TZB.js +2 -0
  260. package/dist/chunk-YJ6K6TZB.js.map +1 -0
  261. package/dist/chunk-YNN7KJQN.js +2 -0
  262. package/dist/chunk-YNN7KJQN.js.map +1 -0
  263. package/dist/chunk-YXS6GABG.js +2 -0
  264. package/dist/chunk-YXS6GABG.js.map +1 -0
  265. package/dist/chunk-ZDBY7EZH.js +2 -0
  266. package/dist/chunk-ZDBY7EZH.js.map +1 -0
  267. package/dist/chunk-ZNJCLG2C.cjs +2 -0
  268. package/dist/chunk-ZNJCLG2C.cjs.map +1 -0
  269. package/dist/chunk-ZNL4TJ2H.cjs +2 -0
  270. package/dist/chunk-ZNL4TJ2H.cjs.map +1 -0
  271. package/dist/chunk-ZQRHXFQO.js +2 -0
  272. package/dist/chunk-ZQRHXFQO.js.map +1 -0
  273. package/dist/chunk-ZTTPMLDF.cjs +2 -0
  274. package/dist/chunk-ZTTPMLDF.cjs.map +1 -0
  275. package/dist/components/accordion.cjs +1 -1
  276. package/dist/components/accordion.d.cts +7 -13
  277. package/dist/components/accordion.d.ts +7 -13
  278. package/dist/components/accordion.js +1 -1
  279. package/dist/components/alert-dialog.cjs +1 -1
  280. package/dist/components/alert-dialog.cjs.map +1 -1
  281. package/dist/components/alert-dialog.d.cts +19 -31
  282. package/dist/components/alert-dialog.d.ts +19 -31
  283. package/dist/components/alert-dialog.js +1 -1
  284. package/dist/components/alert.cjs +1 -1
  285. package/dist/components/alert.d.cts +6 -31
  286. package/dist/components/alert.d.ts +6 -31
  287. package/dist/components/alert.js +1 -1
  288. package/dist/components/aspect-ratio.cjs +1 -1
  289. package/dist/components/aspect-ratio.d.cts +3 -5
  290. package/dist/components/aspect-ratio.d.ts +3 -5
  291. package/dist/components/aspect-ratio.js +1 -1
  292. package/dist/components/avatar.cjs +1 -1
  293. package/dist/components/avatar.d.cts +4 -7
  294. package/dist/components/avatar.d.ts +4 -7
  295. package/dist/components/avatar.js +1 -1
  296. package/dist/components/badge.cjs +1 -1
  297. package/dist/components/badge.cjs.map +1 -1
  298. package/dist/components/badge.d.cts +7 -39
  299. package/dist/components/badge.d.ts +7 -39
  300. package/dist/components/badge.js +1 -1
  301. package/dist/components/blockquote.cjs +1 -1
  302. package/dist/components/blockquote.d.cts +3 -4
  303. package/dist/components/blockquote.d.ts +3 -4
  304. package/dist/components/blockquote.js +1 -1
  305. package/dist/components/box.cjs +1 -1
  306. package/dist/components/box.d.cts +3 -4
  307. package/dist/components/box.d.ts +3 -4
  308. package/dist/components/box.js +1 -1
  309. package/dist/components/breadcrumb.cjs +1 -1
  310. package/dist/components/breadcrumb.d.cts +10 -17
  311. package/dist/components/breadcrumb.d.ts +10 -17
  312. package/dist/components/breadcrumb.js +1 -1
  313. package/dist/components/button.cjs +1 -1
  314. package/dist/components/button.cjs.map +1 -1
  315. package/dist/components/button.d.cts +51 -7
  316. package/dist/components/button.d.ts +51 -7
  317. package/dist/components/button.js +1 -1
  318. package/dist/components/calendar.cjs +1 -1
  319. package/dist/components/calendar.cjs.map +1 -1
  320. package/dist/components/calendar.d.cts +8 -11
  321. package/dist/components/calendar.d.ts +8 -11
  322. package/dist/components/calendar.js +1 -1
  323. package/dist/components/card.cjs +1 -1
  324. package/dist/components/card.d.cts +7 -13
  325. package/dist/components/card.d.ts +7 -13
  326. package/dist/components/card.js +1 -1
  327. package/dist/components/carousel.cjs +1 -1
  328. package/dist/components/carousel.cjs.map +1 -1
  329. package/dist/components/carousel.d.cts +8 -15
  330. package/dist/components/carousel.d.ts +8 -15
  331. package/dist/components/carousel.js +1 -1
  332. package/dist/components/chart.cjs +1 -1
  333. package/dist/components/chart.d.cts +10 -16
  334. package/dist/components/chart.d.ts +10 -16
  335. package/dist/components/chart.js +1 -1
  336. package/dist/components/checkbox-cards.cjs +1 -1
  337. package/dist/components/checkbox-cards.cjs.map +1 -1
  338. package/dist/components/checkbox-cards.d.cts +4 -6
  339. package/dist/components/checkbox-cards.d.ts +4 -6
  340. package/dist/components/checkbox-cards.js +1 -1
  341. package/dist/components/checkbox-group.cjs +1 -1
  342. package/dist/components/checkbox-group.d.cts +3 -5
  343. package/dist/components/checkbox-group.d.ts +3 -5
  344. package/dist/components/checkbox-group.js +1 -1
  345. package/dist/components/checkbox.cjs +1 -1
  346. package/dist/components/checkbox.d.cts +2 -3
  347. package/dist/components/checkbox.d.ts +2 -3
  348. package/dist/components/checkbox.js +1 -1
  349. package/dist/components/code.cjs +1 -1
  350. package/dist/components/code.d.cts +3 -4
  351. package/dist/components/code.d.ts +3 -4
  352. package/dist/components/code.js +1 -1
  353. package/dist/components/collapsible.cjs +1 -1
  354. package/dist/components/collapsible.cjs.map +1 -1
  355. package/dist/components/collapsible.d.cts +4 -8
  356. package/dist/components/collapsible.d.ts +4 -8
  357. package/dist/components/collapsible.js +1 -1
  358. package/dist/components/command.cjs +1 -1
  359. package/dist/components/command.cjs.map +1 -1
  360. package/dist/components/command.d.cts +13 -24
  361. package/dist/components/command.d.ts +13 -24
  362. package/dist/components/command.js +1 -1
  363. package/dist/components/container.cjs +1 -1
  364. package/dist/components/container.d.cts +3 -4
  365. package/dist/components/container.d.ts +3 -4
  366. package/dist/components/container.js +1 -1
  367. package/dist/components/context-menu.cjs +1 -1
  368. package/dist/components/context-menu.d.cts +20 -35
  369. package/dist/components/context-menu.d.ts +20 -35
  370. package/dist/components/context-menu.js +1 -1
  371. package/dist/components/data-table.cjs +1 -1
  372. package/dist/components/data-table.cjs.map +1 -1
  373. package/dist/components/data-table.d.cts +8 -11
  374. package/dist/components/data-table.d.ts +8 -11
  375. package/dist/components/data-table.js +1 -1
  376. package/dist/components/dialog.cjs +1 -1
  377. package/dist/components/dialog.cjs.map +1 -1
  378. package/dist/components/dialog.d.cts +15 -26
  379. package/dist/components/dialog.d.ts +15 -26
  380. package/dist/components/dialog.js +1 -1
  381. package/dist/components/drawer.cjs +1 -1
  382. package/dist/components/drawer.cjs.map +1 -1
  383. package/dist/components/drawer.d.cts +15 -27
  384. package/dist/components/drawer.d.ts +15 -27
  385. package/dist/components/drawer.js +1 -1
  386. package/dist/components/dropdown-menu.cjs +1 -1
  387. package/dist/components/dropdown-menu.d.cts +20 -35
  388. package/dist/components/dropdown-menu.d.ts +20 -35
  389. package/dist/components/dropdown-menu.js +1 -1
  390. package/dist/components/em.cjs +1 -1
  391. package/dist/components/em.d.cts +3 -4
  392. package/dist/components/em.d.ts +3 -4
  393. package/dist/components/em.js +1 -1
  394. package/dist/components/form.cjs +1 -1
  395. package/dist/components/form.d.cts +8 -17
  396. package/dist/components/form.d.ts +8 -17
  397. package/dist/components/form.js +1 -1
  398. package/dist/components/heading.cjs +1 -1
  399. package/dist/components/heading.d.cts +3 -4
  400. package/dist/components/heading.d.ts +3 -4
  401. package/dist/components/heading.js +1 -1
  402. package/dist/components/hover-card.cjs +1 -1
  403. package/dist/components/hover-card.d.cts +5 -10
  404. package/dist/components/hover-card.d.ts +5 -10
  405. package/dist/components/hover-card.js +1 -1
  406. package/dist/components/inline.cjs +1 -1
  407. package/dist/components/inline.d.cts +3 -4
  408. package/dist/components/inline.d.ts +3 -4
  409. package/dist/components/inline.js +1 -1
  410. package/dist/components/input-number.cjs +1 -1
  411. package/dist/components/input-number.d.cts +7 -14
  412. package/dist/components/input-number.d.ts +7 -14
  413. package/dist/components/input-number.js +1 -1
  414. package/dist/components/input-otp.cjs +1 -1
  415. package/dist/components/input-otp.d.cts +6 -10
  416. package/dist/components/input-otp.d.ts +6 -10
  417. package/dist/components/input-otp.js +1 -1
  418. package/dist/components/input-password.cjs +1 -1
  419. package/dist/components/input-password.cjs.map +1 -1
  420. package/dist/components/input-password.d.cts +5 -13
  421. package/dist/components/input-password.d.ts +5 -13
  422. package/dist/components/input-password.js +1 -1
  423. package/dist/components/input-search.cjs +1 -1
  424. package/dist/components/input-search.cjs.map +1 -1
  425. package/dist/components/input-search.d.cts +6 -13
  426. package/dist/components/input-search.d.ts +6 -13
  427. package/dist/components/input-search.js +1 -1
  428. package/dist/components/input.cjs +1 -1
  429. package/dist/components/input.cjs.map +1 -1
  430. package/dist/components/input.d.cts +37 -13
  431. package/dist/components/input.d.ts +37 -13
  432. package/dist/components/input.js +1 -1
  433. package/dist/components/kbd.cjs +1 -1
  434. package/dist/components/kbd.d.cts +3 -4
  435. package/dist/components/kbd.d.ts +3 -4
  436. package/dist/components/kbd.js +1 -1
  437. package/dist/components/label.cjs +1 -1
  438. package/dist/components/label.d.cts +2 -3
  439. package/dist/components/label.d.ts +2 -3
  440. package/dist/components/label.js +1 -1
  441. package/dist/components/menubar.cjs +1 -1
  442. package/dist/components/menubar.d.cts +21 -44
  443. package/dist/components/menubar.d.ts +21 -44
  444. package/dist/components/menubar.js +1 -1
  445. package/dist/components/navigation-menu.cjs +1 -1
  446. package/dist/components/navigation-menu.cjs.map +1 -1
  447. package/dist/components/navigation-menu.d.cts +9 -14
  448. package/dist/components/navigation-menu.d.ts +9 -14
  449. package/dist/components/navigation-menu.js +1 -1
  450. package/dist/components/pagination.cjs +1 -1
  451. package/dist/components/pagination.cjs.map +1 -1
  452. package/dist/components/pagination.d.cts +15 -19
  453. package/dist/components/pagination.d.ts +15 -19
  454. package/dist/components/pagination.js +1 -1
  455. package/dist/components/popover.cjs +1 -1
  456. package/dist/components/popover.d.cts +6 -12
  457. package/dist/components/popover.d.ts +6 -12
  458. package/dist/components/popover.js +1 -1
  459. package/dist/components/pre.cjs +1 -1
  460. package/dist/components/pre.d.cts +3 -4
  461. package/dist/components/pre.d.ts +3 -4
  462. package/dist/components/pre.js +1 -1
  463. package/dist/components/progress.cjs +1 -1
  464. package/dist/components/progress.d.cts +2 -3
  465. package/dist/components/progress.d.ts +2 -3
  466. package/dist/components/progress.js +1 -1
  467. package/dist/components/quote.cjs +1 -1
  468. package/dist/components/quote.d.cts +3 -4
  469. package/dist/components/quote.d.ts +3 -4
  470. package/dist/components/quote.js +1 -1
  471. package/dist/components/radio-cards.cjs +1 -1
  472. package/dist/components/radio-cards.cjs.map +1 -1
  473. package/dist/components/radio-cards.d.cts +3 -5
  474. package/dist/components/radio-cards.d.ts +3 -5
  475. package/dist/components/radio-cards.js +1 -1
  476. package/dist/components/radio-group.cjs +1 -1
  477. package/dist/components/radio-group.d.cts +3 -5
  478. package/dist/components/radio-group.d.ts +3 -5
  479. package/dist/components/radio-group.js +1 -1
  480. package/dist/components/radio.cjs +1 -1
  481. package/dist/components/radio.d.cts +2 -3
  482. package/dist/components/radio.d.ts +2 -3
  483. package/dist/components/radio.js +1 -1
  484. package/dist/components/resizable.cjs +1 -1
  485. package/dist/components/resizable.d.cts +1 -18
  486. package/dist/components/resizable.d.ts +1 -18
  487. package/dist/components/resizable.js +1 -1
  488. package/dist/components/scroll-area.cjs +1 -1
  489. package/dist/components/scroll-area.d.cts +6 -54
  490. package/dist/components/scroll-area.d.ts +6 -54
  491. package/dist/components/scroll-area.js +1 -1
  492. package/dist/components/section.cjs +1 -1
  493. package/dist/components/section.d.cts +3 -4
  494. package/dist/components/section.d.ts +3 -4
  495. package/dist/components/section.js +1 -1
  496. package/dist/components/select.cjs +1 -1
  497. package/dist/components/select.cjs.map +1 -1
  498. package/dist/components/select.d.cts +15 -27
  499. package/dist/components/select.d.ts +15 -27
  500. package/dist/components/select.js +1 -1
  501. package/dist/components/separator.cjs +1 -1
  502. package/dist/components/separator.d.cts +5 -50
  503. package/dist/components/separator.d.ts +5 -50
  504. package/dist/components/separator.js +1 -1
  505. package/dist/components/sheet.cjs +1 -1
  506. package/dist/components/sheet.cjs.map +1 -1
  507. package/dist/components/sheet.d.cts +17 -57
  508. package/dist/components/sheet.d.ts +17 -57
  509. package/dist/components/sheet.js +1 -1
  510. package/dist/components/sidebar.cjs +1 -1
  511. package/dist/components/sidebar.cjs.map +1 -1
  512. package/dist/components/sidebar.d.cts +39 -106
  513. package/dist/components/sidebar.d.ts +39 -106
  514. package/dist/components/sidebar.js +1 -1
  515. package/dist/components/skeleton.cjs +1 -1
  516. package/dist/components/skeleton.d.cts +2 -3
  517. package/dist/components/skeleton.d.ts +2 -3
  518. package/dist/components/skeleton.js +1 -1
  519. package/dist/components/slider.cjs +1 -1
  520. package/dist/components/slider.d.cts +3 -4
  521. package/dist/components/slider.d.ts +3 -4
  522. package/dist/components/slider.js +1 -1
  523. package/dist/components/sonner.cjs +1 -1
  524. package/dist/components/sonner.cjs.map +1 -1
  525. package/dist/components/sonner.d.cts +3 -4
  526. package/dist/components/sonner.d.ts +3 -4
  527. package/dist/components/sonner.js +1 -1
  528. package/dist/components/spinner.cjs +1 -1
  529. package/dist/components/spinner.d.cts +3 -4
  530. package/dist/components/spinner.d.ts +3 -4
  531. package/dist/components/spinner.js +1 -1
  532. package/dist/components/strong.cjs +1 -1
  533. package/dist/components/strong.d.cts +3 -4
  534. package/dist/components/strong.d.ts +3 -4
  535. package/dist/components/strong.js +1 -1
  536. package/dist/components/switch.cjs +1 -1
  537. package/dist/components/switch.d.cts +2 -3
  538. package/dist/components/switch.d.ts +2 -3
  539. package/dist/components/switch.js +1 -1
  540. package/dist/components/table.cjs +1 -1
  541. package/dist/components/table.d.cts +9 -17
  542. package/dist/components/table.d.ts +9 -17
  543. package/dist/components/table.js +1 -1
  544. package/dist/components/tabs.cjs +1 -1
  545. package/dist/components/tabs.d.cts +5 -10
  546. package/dist/components/tabs.d.ts +5 -10
  547. package/dist/components/tabs.js +1 -1
  548. package/dist/components/text.cjs +1 -1
  549. package/dist/components/text.d.cts +3 -4
  550. package/dist/components/text.d.ts +3 -4
  551. package/dist/components/text.js +1 -1
  552. package/dist/components/textarea.cjs +1 -1
  553. package/dist/components/textarea.d.cts +2 -3
  554. package/dist/components/textarea.d.ts +2 -3
  555. package/dist/components/textarea.js +1 -1
  556. package/dist/components/toggle-group.cjs +1 -1
  557. package/dist/components/toggle-group.d.cts +8 -10
  558. package/dist/components/toggle-group.d.ts +8 -10
  559. package/dist/components/toggle-group.js +1 -1
  560. package/dist/components/toggle.cjs +1 -1
  561. package/dist/components/toggle.cjs.map +1 -1
  562. package/dist/components/toggle.d.cts +36 -7
  563. package/dist/components/toggle.d.ts +36 -7
  564. package/dist/components/toggle.js +1 -1
  565. package/dist/components/tooltip.cjs +1 -1
  566. package/dist/components/tooltip.cjs.map +1 -1
  567. package/dist/components/tooltip.d.cts +5 -12
  568. package/dist/components/tooltip.d.ts +5 -12
  569. package/dist/components/tooltip.js +1 -1
  570. package/dist/index.cjs +1 -1
  571. package/dist/index.cjs.map +1 -1
  572. package/dist/index.css +1 -1
  573. package/dist/index.css.map +1 -1
  574. package/dist/index.d.cts +67 -71
  575. package/dist/index.d.ts +67 -71
  576. package/dist/index.js +1 -1
  577. package/package.json +14 -22
  578. package/dist/chunk-2G5LO5HZ.js +0 -2
  579. package/dist/chunk-2G5LO5HZ.js.map +0 -1
  580. package/dist/chunk-2GUGNIMN.cjs +0 -2
  581. package/dist/chunk-2GUGNIMN.cjs.map +0 -1
  582. package/dist/chunk-2L4WHNCG.cjs.map +0 -1
  583. package/dist/chunk-2M5ZCWL6.cjs.map +0 -1
  584. package/dist/chunk-2YU62UV7.js +0 -2
  585. package/dist/chunk-2YU62UV7.js.map +0 -1
  586. package/dist/chunk-35WEQFBA.cjs +0 -2
  587. package/dist/chunk-35WEQFBA.cjs.map +0 -1
  588. package/dist/chunk-3EIIPNVC.cjs +0 -2
  589. package/dist/chunk-3EIIPNVC.cjs.map +0 -1
  590. package/dist/chunk-3QLOE6JT.cjs +0 -2
  591. package/dist/chunk-3QLOE6JT.cjs.map +0 -1
  592. package/dist/chunk-3QZMPLT7.js +0 -2
  593. package/dist/chunk-3QZMPLT7.js.map +0 -1
  594. package/dist/chunk-465NF254.js +0 -2
  595. package/dist/chunk-465NF254.js.map +0 -1
  596. package/dist/chunk-4BADV3FT.js +0 -2
  597. package/dist/chunk-4BADV3FT.js.map +0 -1
  598. package/dist/chunk-57Y4FSTL.cjs +0 -2
  599. package/dist/chunk-57Y4FSTL.cjs.map +0 -1
  600. package/dist/chunk-5AQNU5FF.cjs +0 -2
  601. package/dist/chunk-5AQNU5FF.cjs.map +0 -1
  602. package/dist/chunk-5JLQL2Z4.js +0 -2
  603. package/dist/chunk-5JLQL2Z4.js.map +0 -1
  604. package/dist/chunk-5W4F5LEY.cjs +0 -2
  605. package/dist/chunk-5W4F5LEY.cjs.map +0 -1
  606. package/dist/chunk-62L2GZO7.cjs +0 -2
  607. package/dist/chunk-62L2GZO7.cjs.map +0 -1
  608. package/dist/chunk-6FS62M4B.js +0 -2
  609. package/dist/chunk-6FS62M4B.js.map +0 -1
  610. package/dist/chunk-6GF5BKD3.cjs +0 -2
  611. package/dist/chunk-6GF5BKD3.cjs.map +0 -1
  612. package/dist/chunk-6HGHPY6T.js +0 -2
  613. package/dist/chunk-6HGHPY6T.js.map +0 -1
  614. package/dist/chunk-6KZJXMIZ.js +0 -2
  615. package/dist/chunk-6KZJXMIZ.js.map +0 -1
  616. package/dist/chunk-6R5OYVDT.js +0 -2
  617. package/dist/chunk-6R5OYVDT.js.map +0 -1
  618. package/dist/chunk-76DVQCMA.js +0 -2
  619. package/dist/chunk-76DVQCMA.js.map +0 -1
  620. package/dist/chunk-7RIKNXUQ.cjs +0 -2
  621. package/dist/chunk-7RIKNXUQ.cjs.map +0 -1
  622. package/dist/chunk-7WKGIK6R.js +0 -2
  623. package/dist/chunk-7WKGIK6R.js.map +0 -1
  624. package/dist/chunk-7XBF7UL3.cjs +0 -2
  625. package/dist/chunk-7XBF7UL3.cjs.map +0 -1
  626. package/dist/chunk-7YDCUFIZ.js +0 -2
  627. package/dist/chunk-7YDCUFIZ.js.map +0 -1
  628. package/dist/chunk-AXBTXUF5.js +0 -2
  629. package/dist/chunk-AXBTXUF5.js.map +0 -1
  630. package/dist/chunk-B3BYZCQ7.cjs.map +0 -1
  631. package/dist/chunk-B4LVESKU.cjs +0 -2
  632. package/dist/chunk-B4LVESKU.cjs.map +0 -1
  633. package/dist/chunk-B4S3AVXY.cjs +0 -2
  634. package/dist/chunk-B4S3AVXY.cjs.map +0 -1
  635. package/dist/chunk-B5JDIHEQ.js +0 -2
  636. package/dist/chunk-B5JDIHEQ.js.map +0 -1
  637. package/dist/chunk-BBU6D4ST.js +0 -2
  638. package/dist/chunk-BBU6D4ST.js.map +0 -1
  639. package/dist/chunk-BJ6N2IUA.cjs +0 -2
  640. package/dist/chunk-BJ6N2IUA.cjs.map +0 -1
  641. package/dist/chunk-BTYNCXRY.js +0 -2
  642. package/dist/chunk-BTYNCXRY.js.map +0 -1
  643. package/dist/chunk-BYLDBIZQ.js +0 -2
  644. package/dist/chunk-BYLDBIZQ.js.map +0 -1
  645. package/dist/chunk-C2WGTATR.cjs +0 -2
  646. package/dist/chunk-C2WGTATR.cjs.map +0 -1
  647. package/dist/chunk-COS2B3R4.cjs +0 -2
  648. package/dist/chunk-COS2B3R4.cjs.map +0 -1
  649. package/dist/chunk-CPXZI54X.cjs +0 -2
  650. package/dist/chunk-CPXZI54X.cjs.map +0 -1
  651. package/dist/chunk-DM7NEO2A.cjs +0 -2
  652. package/dist/chunk-DM7NEO2A.cjs.map +0 -1
  653. package/dist/chunk-DQFISQYQ.js +0 -2
  654. package/dist/chunk-DQFISQYQ.js.map +0 -1
  655. package/dist/chunk-DYS3XHVU.js +0 -2
  656. package/dist/chunk-DYS3XHVU.js.map +0 -1
  657. package/dist/chunk-DZXTYNCB.js +0 -2
  658. package/dist/chunk-DZXTYNCB.js.map +0 -1
  659. package/dist/chunk-ED6TP6IF.cjs.map +0 -1
  660. package/dist/chunk-EEW6YK3J.js +0 -2
  661. package/dist/chunk-EEW6YK3J.js.map +0 -1
  662. package/dist/chunk-EHXXHEKF.cjs +0 -2
  663. package/dist/chunk-EHXXHEKF.cjs.map +0 -1
  664. package/dist/chunk-EN4252DE.js +0 -2
  665. package/dist/chunk-EN4252DE.js.map +0 -1
  666. package/dist/chunk-FAA5YNDU.cjs.map +0 -1
  667. package/dist/chunk-FNLQQIZW.cjs +0 -2
  668. package/dist/chunk-FNLQQIZW.cjs.map +0 -1
  669. package/dist/chunk-FS4CRFFU.cjs +0 -2
  670. package/dist/chunk-FS4CRFFU.cjs.map +0 -1
  671. package/dist/chunk-G4Y2RF3B.cjs.map +0 -1
  672. package/dist/chunk-GAE7GSMH.cjs +0 -2
  673. package/dist/chunk-GAE7GSMH.cjs.map +0 -1
  674. package/dist/chunk-GT6M2CAP.cjs.map +0 -1
  675. package/dist/chunk-GUB22J32.cjs +0 -2
  676. package/dist/chunk-GUB22J32.cjs.map +0 -1
  677. package/dist/chunk-GXBW3N3M.cjs +0 -2
  678. package/dist/chunk-GXBW3N3M.cjs.map +0 -1
  679. package/dist/chunk-GXL45YCO.cjs +0 -2
  680. package/dist/chunk-GXL45YCO.cjs.map +0 -1
  681. package/dist/chunk-HDL22SXW.cjs +0 -2
  682. package/dist/chunk-HDL22SXW.cjs.map +0 -1
  683. package/dist/chunk-HHC2EREZ.js +0 -2
  684. package/dist/chunk-HHC2EREZ.js.map +0 -1
  685. package/dist/chunk-HID6HIJO.cjs +0 -2
  686. package/dist/chunk-HID6HIJO.cjs.map +0 -1
  687. package/dist/chunk-HN2LADGF.cjs +0 -2
  688. package/dist/chunk-HN2LADGF.cjs.map +0 -1
  689. package/dist/chunk-HQBOID2K.js +0 -2
  690. package/dist/chunk-HQBOID2K.js.map +0 -1
  691. package/dist/chunk-HTD5E2KS.cjs +0 -2
  692. package/dist/chunk-HTD5E2KS.cjs.map +0 -1
  693. package/dist/chunk-I3Y2WBDC.js +0 -2
  694. package/dist/chunk-I3Y2WBDC.js.map +0 -1
  695. package/dist/chunk-IGCYTKJ7.js.map +0 -1
  696. package/dist/chunk-IGSALVF5.js +0 -2
  697. package/dist/chunk-IGSALVF5.js.map +0 -1
  698. package/dist/chunk-IJKGBALW.cjs +0 -2
  699. package/dist/chunk-IJKGBALW.cjs.map +0 -1
  700. package/dist/chunk-IMMPDUHI.cjs +0 -2
  701. package/dist/chunk-IMMPDUHI.cjs.map +0 -1
  702. package/dist/chunk-IQG5Z7B3.js +0 -2
  703. package/dist/chunk-IQG5Z7B3.js.map +0 -1
  704. package/dist/chunk-KJUQ3ZDG.cjs +0 -2
  705. package/dist/chunk-KJUQ3ZDG.cjs.map +0 -1
  706. package/dist/chunk-KKFMDJPU.js +0 -2
  707. package/dist/chunk-KKFMDJPU.js.map +0 -1
  708. package/dist/chunk-KKLVYNNH.js +0 -2
  709. package/dist/chunk-KKLVYNNH.js.map +0 -1
  710. package/dist/chunk-KXRMWFKE.cjs +0 -2
  711. package/dist/chunk-KXRMWFKE.cjs.map +0 -1
  712. package/dist/chunk-L6OCZPIJ.cjs +0 -2
  713. package/dist/chunk-L6OCZPIJ.cjs.map +0 -1
  714. package/dist/chunk-LHOOK4QI.js +0 -2
  715. package/dist/chunk-LHOOK4QI.js.map +0 -1
  716. package/dist/chunk-LJEBU2VA.js +0 -4
  717. package/dist/chunk-LJEBU2VA.js.map +0 -1
  718. package/dist/chunk-LUOAGYB6.cjs +0 -2
  719. package/dist/chunk-LUOAGYB6.cjs.map +0 -1
  720. package/dist/chunk-LWZFDY6N.cjs +0 -2
  721. package/dist/chunk-LWZFDY6N.cjs.map +0 -1
  722. package/dist/chunk-M5PELNCO.cjs.map +0 -1
  723. package/dist/chunk-M6ZEN65I.cjs +0 -2
  724. package/dist/chunk-M6ZEN65I.cjs.map +0 -1
  725. package/dist/chunk-MDTVBZCP.js +0 -2
  726. package/dist/chunk-MDTVBZCP.js.map +0 -1
  727. package/dist/chunk-MQ3ZMVF4.js +0 -2
  728. package/dist/chunk-MQ3ZMVF4.js.map +0 -1
  729. package/dist/chunk-MUL2EY3O.js +0 -2
  730. package/dist/chunk-MUL2EY3O.js.map +0 -1
  731. package/dist/chunk-MV76L4ZA.js +0 -2
  732. package/dist/chunk-MV76L4ZA.js.map +0 -1
  733. package/dist/chunk-MXQHUOX4.cjs.map +0 -1
  734. package/dist/chunk-MYM5XJQR.js +0 -2
  735. package/dist/chunk-MYM5XJQR.js.map +0 -1
  736. package/dist/chunk-N2CT5IQU.cjs.map +0 -1
  737. package/dist/chunk-NK3R7ZJ7.cjs +0 -2
  738. package/dist/chunk-NK3R7ZJ7.cjs.map +0 -1
  739. package/dist/chunk-NXNT364Q.js +0 -2
  740. package/dist/chunk-NXNT364Q.js.map +0 -1
  741. package/dist/chunk-P7CT5J27.cjs +0 -2
  742. package/dist/chunk-P7CT5J27.cjs.map +0 -1
  743. package/dist/chunk-PDCYBUPT.cjs.map +0 -1
  744. package/dist/chunk-PLQBG655.cjs +0 -2
  745. package/dist/chunk-PLQBG655.cjs.map +0 -1
  746. package/dist/chunk-PRRPNTUI.js +0 -2
  747. package/dist/chunk-PRRPNTUI.js.map +0 -1
  748. package/dist/chunk-QECIHHCA.js +0 -2
  749. package/dist/chunk-QECIHHCA.js.map +0 -1
  750. package/dist/chunk-QEHCKMEW.js +0 -2
  751. package/dist/chunk-QEHCKMEW.js.map +0 -1
  752. package/dist/chunk-QO5ZOLVS.cjs +0 -2
  753. package/dist/chunk-QO5ZOLVS.cjs.map +0 -1
  754. package/dist/chunk-QVCV6SHI.js +0 -2
  755. package/dist/chunk-QVCV6SHI.js.map +0 -1
  756. package/dist/chunk-R4EO3PAD.cjs +0 -2
  757. package/dist/chunk-R4EO3PAD.cjs.map +0 -1
  758. package/dist/chunk-R4NBV7W4.cjs +0 -2
  759. package/dist/chunk-R4NBV7W4.cjs.map +0 -1
  760. package/dist/chunk-RQ2OXVIO.cjs +0 -2
  761. package/dist/chunk-RQ2OXVIO.cjs.map +0 -1
  762. package/dist/chunk-RWFLRGFY.js +0 -2
  763. package/dist/chunk-RWFLRGFY.js.map +0 -1
  764. package/dist/chunk-S2AC4OIH.js +0 -2
  765. package/dist/chunk-S2AC4OIH.js.map +0 -1
  766. package/dist/chunk-SISTMH2V.js +0 -2
  767. package/dist/chunk-SISTMH2V.js.map +0 -1
  768. package/dist/chunk-SKTMUT4Q.js +0 -2
  769. package/dist/chunk-SKTMUT4Q.js.map +0 -1
  770. package/dist/chunk-SSD6L5OR.js +0 -2
  771. package/dist/chunk-SSD6L5OR.js.map +0 -1
  772. package/dist/chunk-SXDR2XMN.cjs +0 -2
  773. package/dist/chunk-SXDR2XMN.cjs.map +0 -1
  774. package/dist/chunk-T4YGCOXD.js +0 -2
  775. package/dist/chunk-T4YGCOXD.js.map +0 -1
  776. package/dist/chunk-TBLBH4IE.cjs +0 -2
  777. package/dist/chunk-TBLBH4IE.cjs.map +0 -1
  778. package/dist/chunk-TMUS6GR6.cjs +0 -2
  779. package/dist/chunk-TMUS6GR6.cjs.map +0 -1
  780. package/dist/chunk-TQS2T4UF.cjs +0 -2
  781. package/dist/chunk-TQS2T4UF.cjs.map +0 -1
  782. package/dist/chunk-TUU4GFJ6.js +0 -2
  783. package/dist/chunk-TUU4GFJ6.js.map +0 -1
  784. package/dist/chunk-U2LUXER4.js +0 -2
  785. package/dist/chunk-U2LUXER4.js.map +0 -1
  786. package/dist/chunk-U66K6WUY.js +0 -2
  787. package/dist/chunk-U66K6WUY.js.map +0 -1
  788. package/dist/chunk-UGCN3YGM.cjs +0 -2
  789. package/dist/chunk-UGCN3YGM.cjs.map +0 -1
  790. package/dist/chunk-UHEK23BA.js +0 -2
  791. package/dist/chunk-UHEK23BA.js.map +0 -1
  792. package/dist/chunk-ULMXMC44.cjs +0 -2
  793. package/dist/chunk-ULMXMC44.cjs.map +0 -1
  794. package/dist/chunk-UN2HW6UN.cjs +0 -2
  795. package/dist/chunk-UN2HW6UN.cjs.map +0 -1
  796. package/dist/chunk-UQ5VJMRW.js +0 -2
  797. package/dist/chunk-UQ5VJMRW.js.map +0 -1
  798. package/dist/chunk-UZN2GPZF.cjs.map +0 -1
  799. package/dist/chunk-V2AYLOM5.js +0 -2
  800. package/dist/chunk-V2AYLOM5.js.map +0 -1
  801. package/dist/chunk-V3KAJCT6.js +0 -2
  802. package/dist/chunk-V3KAJCT6.js.map +0 -1
  803. package/dist/chunk-VAXPVVJM.cjs +0 -2
  804. package/dist/chunk-VAXPVVJM.cjs.map +0 -1
  805. package/dist/chunk-VKG6MFL3.js +0 -2
  806. package/dist/chunk-VKG6MFL3.js.map +0 -1
  807. package/dist/chunk-VM7X5P6J.js +0 -2
  808. package/dist/chunk-VM7X5P6J.js.map +0 -1
  809. package/dist/chunk-VZBRWHQ2.js +0 -2
  810. package/dist/chunk-VZBRWHQ2.js.map +0 -1
  811. package/dist/chunk-W3CYHSYO.js +0 -2
  812. package/dist/chunk-W3CYHSYO.js.map +0 -1
  813. package/dist/chunk-WDUTGZTG.cjs +0 -4
  814. package/dist/chunk-WDUTGZTG.cjs.map +0 -1
  815. package/dist/chunk-WM4QQP4X.js +0 -2
  816. package/dist/chunk-WM4QQP4X.js.map +0 -1
  817. package/dist/chunk-WX3DRG7Q.js +0 -2
  818. package/dist/chunk-WX3DRG7Q.js.map +0 -1
  819. package/dist/chunk-X5Z3T7HA.js +0 -2
  820. package/dist/chunk-X5Z3T7HA.js.map +0 -1
  821. package/dist/chunk-XC2CDZHC.js +0 -2
  822. package/dist/chunk-XC2CDZHC.js.map +0 -1
  823. package/dist/chunk-XHKU3O3L.js +0 -2
  824. package/dist/chunk-XHKU3O3L.js.map +0 -1
  825. package/dist/chunk-XJZWYO4Y.js +0 -2
  826. package/dist/chunk-XJZWYO4Y.js.map +0 -1
  827. package/dist/chunk-XYRJ3S6Z.cjs +0 -2
  828. package/dist/chunk-XYRJ3S6Z.cjs.map +0 -1
  829. package/dist/chunk-Y4EFTCNM.cjs +0 -2
  830. package/dist/chunk-Y4EFTCNM.cjs.map +0 -1
  831. package/dist/chunk-Y5CLDL4K.js +0 -2
  832. package/dist/chunk-Y5CLDL4K.js.map +0 -1
  833. package/dist/chunk-YAN5V5Z5.cjs +0 -2
  834. package/dist/chunk-YAN5V5Z5.cjs.map +0 -1
  835. package/dist/chunk-YHAJRZCH.js +0 -2
  836. package/dist/chunk-YHAJRZCH.js.map +0 -1
  837. package/dist/chunk-Z5FCLKN6.js +0 -2
  838. package/dist/chunk-Z5FCLKN6.js.map +0 -1
  839. package/dist/chunk-Z5QDQB2Y.js +0 -2
  840. package/dist/chunk-Z5QDQB2Y.js.map +0 -1
  841. package/dist/chunk-ZMX5EHEH.cjs.map +0 -1
  842. package/dist/chunk-ZPUO6JH5.js +0 -2
  843. package/dist/chunk-ZPUO6JH5.js.map +0 -1
  844. package/dist/chunk-ZQYHFDUL.cjs.map +0 -1
  845. package/dist/chunk-ZYHOIY4R.cjs +0 -2
  846. package/dist/chunk-ZYHOIY4R.cjs.map +0 -1
  847. package/dist/variants/button.variants.cjs +0 -2
  848. package/dist/variants/button.variants.cjs.map +0 -1
  849. package/dist/variants/button.variants.d.cts +0 -183
  850. package/dist/variants/button.variants.d.ts +0 -183
  851. package/dist/variants/button.variants.js +0 -2
  852. package/dist/variants/button.variants.js.map +0 -1
  853. package/dist/variants/input.variants.cjs +0 -2
  854. package/dist/variants/input.variants.cjs.map +0 -1
  855. package/dist/variants/input.variants.d.cts +0 -206
  856. package/dist/variants/input.variants.d.ts +0 -206
  857. package/dist/variants/input.variants.js +0 -2
  858. package/dist/variants/input.variants.js.map +0 -1
  859. package/dist/variants/toggle.variants.cjs +0 -2
  860. package/dist/variants/toggle.variants.cjs.map +0 -1
  861. package/dist/variants/toggle.variants.d.cts +0 -127
  862. package/dist/variants/toggle.variants.d.ts +0 -127
  863. package/dist/variants/toggle.variants.js +0 -2
  864. package/dist/variants/toggle.variants.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-R4NBV7W4.cjs","../src/components/dropdown-menu.tsx"],"names":["DropdownMenu","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuSubTrigger","children","className","inset","props","jsxs","cn","jsx","ChevronRightIcon","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","CheckIcon","DropdownMenuRadioItem","DotIcon","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut","DropdownMenuArrow"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-R4NBV7W4.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nimport { CheckIcon, ChevronRightIcon, DotIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenu\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuProps = ComponentProps<typeof DropdownMenuPrimitive.Root>;\nconst DropdownMenu = DropdownMenuPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuTrigger\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuTriggerProps = ComponentProps<typeof DropdownMenuPrimitive.Trigger>;\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuGroup\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuGroupProps = ComponentProps<typeof DropdownMenuPrimitive.Group>;\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSub\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuSubProps = ComponentProps<typeof DropdownMenuPrimitive.Sub>;\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSubTrigger\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuRadioGroupProps = ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>;\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSubTrigger\n * -------------------------------------------------------------------------- */\n\ninterface DropdownMenuSubTriggerProps extends ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> {\n inset?: boolean;\n}\n\nfunction DropdownMenuSubTrigger({ children, className, inset, ...props }: DropdownMenuSubTriggerProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.SubTrigger\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm focus:outline-none',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSubContent\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuSubContentProps = DropdownMenuPrimitive.DropdownMenuSubContentProps;\n\nfunction DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.SubContent\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg',\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuContent\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuContentProps = ComponentProps<typeof DropdownMenuPrimitive.Content>;\n\nfunction DropdownMenuContent({ className, sideOffset = 6, ...props }: DropdownMenuContentProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuItem\n * -------------------------------------------------------------------------- */\n\ninterface DropdownMenuItemProps extends ComponentProps<typeof DropdownMenuPrimitive.Item> {\n inset?: boolean;\n}\n\nfunction DropdownMenuItem({ className, inset, ...props }: DropdownMenuItemProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.Item\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm focus:outline-none aria-disabled:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuCheckboxItem\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuCheckboxItemProps = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>;\n\nfunction DropdownMenuCheckboxItem({\n checked,\n children,\n className,\n ...props\n}: DropdownMenuCheckboxItemProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.CheckboxItem\n checked={checked}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 pl-8 text-sm focus:outline-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 <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuRadioItem\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuRadioItemProps = ComponentProps<typeof DropdownMenuPrimitive.RadioItem>;\n\nfunction DropdownMenuRadioItem({ children, className, ...props }: DropdownMenuRadioItemProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.RadioItem\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 pl-8 text-sm focus:outline-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 <DropdownMenuPrimitive.ItemIndicator>\n <DotIcon className=\"size-4 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuLabel\n * -------------------------------------------------------------------------- */\n\ninterface DropdownMenuLabelProps extends ComponentProps<typeof DropdownMenuPrimitive.Label> {\n inset?: boolean;\n}\n\nfunction DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.Label\n className={cn('flex items-center gap-x-2 px-3 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSeparator\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuSeparatorProps = ComponentProps<typeof DropdownMenuPrimitive.Separator>;\n\nfunction DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): JSX.Element {\n return <DropdownMenuPrimitive.Separator className={cn('bg-muted mx-2 my-1 h-px', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuShortcut\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuShortcutProps = ComponentProps<'span'>;\n\nfunction DropdownMenuShortcut({ className, ...props }: DropdownMenuShortcutProps): JSX.Element {\n return (\n <span\n className={cn(\n 'text-muted-foreground group-aria-selected:text-accent-foreground ml-auto text-xs tracking-widest',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuArrow\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuArrowProps = DropdownMenuPrimitive.DropdownMenuArrowProps;\n\nfunction DropdownMenuArrow({ className, ...props }: DropdownMenuArrowProps): JSX.Element {\n return <DropdownMenuPrimitive.Arrow className={cn('fill-popover', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n DropdownMenuArrowProps,\n DropdownMenuCheckboxItemProps,\n DropdownMenuContentProps,\n DropdownMenuGroupProps,\n DropdownMenuItemProps,\n DropdownMenuLabelProps,\n DropdownMenuProps,\n DropdownMenuRadioGroupProps,\n DropdownMenuRadioItemProps,\n DropdownMenuSeparatorProps,\n DropdownMenuShortcutProps,\n DropdownMenuSubContentProps,\n DropdownMenuSubProps,\n DropdownMenuSubTriggerProps,\n DropdownMenuTriggerProps,\n};\nexport {\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n};\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunk3EIIPNVCcjs = require('./chunk-3EIIPNVC.cjs');var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _vaul = require('vaul');var _jsxruntime = require('react/jsx-runtime');function P({shouldScaleBackground:r=!0,...e}){return _jsxruntime.jsx.call(void 0, _vaul.Drawer.Root,{shouldScaleBackground:r,...e})}var w=_vaul.Drawer.Trigger;function u({children:r,className:e,...a}){return _jsxruntime.jsxs.call(void 0, _vaul.Drawer.Portal,{children:[_jsxruntime.jsx.call(void 0, _vaul.Drawer.Overlay,{className:"bg-popover-overlay fixed inset-0 z-50"}),_jsxruntime.jsxs.call(void 0, _vaul.Drawer.Content,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-2xl border",e),...a,children:[_jsxruntime.jsx.call(void 0, "div",{className:"bg-muted mx-auto my-3 h-1.5 w-12 rounded-full"}),r]})]})}function c({className:r,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "grid gap-1.5 p-4 text-center sm:text-left",r),...e})}function d({className:r,...e}){return _jsxruntime.jsx.call(void 0, "main",{className:_chunkSMJEDCFPcjs.a.call(void 0, "overflow-auto px-4 py-2",r),...e})}function f({className:r,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "mt-auto flex flex-col-reverse gap-2 p-4",r),...e})}function y({className:r,...e}){return _jsxruntime.jsx.call(void 0, _vaul.Drawer.Title,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-lg font-semibold leading-none tracking-tight",r),...e})}function v({className:r,...e}){return _jsxruntime.jsx.call(void 0, _vaul.Drawer.Description,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground text-sm",r),...e})}function g({className:r,size:e,variant:a="outline",...s}){return _jsxruntime.jsx.call(void 0, _vaul.Drawer.Close,{className:_chunk3EIIPNVCcjs.a.call(void 0, {className:r,size:e,variant:a}),...s})}exports.a = P; exports.b = w; exports.c = u; exports.d = c; exports.e = d; exports.f = f; exports.g = y; exports.h = v; exports.i = g;
2
- //# sourceMappingURL=chunk-RQ2OXVIO.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-RQ2OXVIO.cjs","../src/components/drawer.tsx"],"names":["DrawerPrimitive","DrawerTrigger","children","className","jsx","cn","DrawerHeader","DrawerBody","DrawerFooter","DrawerTitle","DrawerDescription","DrawerClose","props","buttonVariants"],"mappings":"AAAA,qFAAY,CAAC,wDAAwC,wDCI5C,4BAcA,+CADS,SAAA,CAAA,CAAA,CAAA,qBAChB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAQA,CAAAA,CAAgB,CAAA,CAAA,OAAK,6BAAA,YAAA,CAAA,IAAA,CAAA,CAAA,qBAQ/B,CAAMC,CAAAA,CAAgBD,GAAgB,CAAA,CAAA,CAAA,CAAA,IAQtC,CAAA,CAAA,YAAA,CAAA,OAAyB,CAAA,SAAAE,CAAU,CAAA,CAAA,QAAAC,CAAAA,CAAW,CAAA,SAC5C,CAAA,CAAA,CAAA,GACGH,CAAAA,CAAgB,CAAA,CAAA,OACf,8BAAA,YAAA,CAAA,MAAAI,CAACJ,CAAAA,QAAgB,CAAhB,CAAwB,6BAAA,YAAA,CAAA,OAAU,CAAA,CAAA,SAAA,CAAA,uCAClB,CAAA,CAAhB,CACC,8BAAA,YAAA,CAAA,OAAWK,CACT,CAAA,SAAA,CAAA,iCAAA,6FAKF,CAAA,CAAA,CAAA,CAAA,GAAAD,CAAC,CAAA,QAAI,CAAA,CAAA,6BAAA,KAAU,CAAA,CAAA,SAAA,CAAA,+CAavB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAASE,CAAAA,CAAa,CAAE,CAAA,SAAAH,CAAAA,CAAW,CAAA,SACjC,CAAA,CAAA,CAAA,GAAQ,CAAA,CAAA,CAAA,CAAA,OAAI,6BAAA,KAAWE,CAAG,CAAA,SAAA,CAAA,iCAAA,2CAS5B,CAAA,CAAA,CAAA,CAAA,GAASE,CAAAA,CAAW,CAAE,CAAA,SAAAJ,CAAAA,CAAW,CAAA,SAC/B,CAAA,CAAA,CAAA,GAAQ,CAAA,CAAA,CAAA,CAAA,OAAK,6BAAA,MAAWE,CAAG,CAAA,SAAA,CAAA,iCAAA,yBAS7B,CAAA,CAAA,CAAA,CAAA,GAASG,CAAAA,CAAa,CAAE,CAAA,SAAAL,CAAAA,CAAW,CAAA,SACjC,CAAA,CAAA,CAAA,GAAQ,CAAA,CAAA,CAAA,CAAA,OAAI,6BAAA,KAAWE,CAAG,CAAA,SAAA,CAAA,iCAAA,yCAS5B,CAAA,CAAA,CAAA,CAAA,GAASI,CAAAA,CAAY,CAAE,CAAA,SAAAN,CAAAA,CAAW,CAAA,SAChC,CAAA,CAAA,CAAA,GACGH,CAAAA,CAAgB,CAAA,CAAA,OAAM,6BAAA,YAAA,CAAA,KAAWK,CAAG,CAAA,SAAA,CAAA,iCAAA,mDAUzC,CAAA,CAAA,CAAA,CAAA,GAASK,CAAAA,CAAkB,CAAE,CAAA,SAAAP,CAAAA,CAAW,CAAA,SACtC,CAAA,CAAA,CAAA,GAAQH,CAAAA,CAAgB,CAAA,CAAA,OAAA,6BAAA,YAAhB,CAA4B,WAAWK,CAAG,CAAA,SAAA,CAAA,iCAAA,+BAYpD,CAAA,CAAA,CAAA,CAAA,GAASM,CAAAA,CAAY,CAAE,CAAA,SAAAR,CAAAA,CAAW,CAAA,SAAM,CAAA,CAAA,CAAA,IAAU,CAAA,CAAA,CAAA,OAAW,CAAA,CAAA,CAAGS,SAC9D,CAAA,GAAQZ,CAAAA,CAAgB,CAAA,CAAA,OAAM,6BAAA,YAAA,CAAA,KAAWa,CAAe,CAAE,SAAA,CAAAV,iCAAAA,CAAW,SAAM,CAAA,CAAA,CAAA,IAAS,CAAA,CAAI,CAAA,OAC1F,CAAA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,sIAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-RQ2OXVIO.cjs","sourcesContent":[null,"'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport { Drawer as DrawerPrimitive } from 'vaul';\n\nimport type { ButtonVariantsProps } from '@/variants/button.variants';\n\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/variants/button.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Drawer\n * -------------------------------------------------------------------------- */\n\ntype DrawerProps = ComponentProps<typeof DrawerPrimitive.Root>;\n\nfunction Drawer({ shouldScaleBackground = true, ...props }: DrawerProps): JSX.Element {\n return <DrawerPrimitive.Root shouldScaleBackground={shouldScaleBackground} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTrigger\n * -------------------------------------------------------------------------- */\n\ntype DrawerTriggerProps = ComponentProps<typeof DrawerPrimitive.Trigger>;\nconst DrawerTrigger = DrawerPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerContent\n * -------------------------------------------------------------------------- */\n\ntype DrawerContentProps = ComponentProps<typeof DrawerPrimitive.Content>;\n\nfunction DrawerContent({ children, className, ...props }: DrawerContentProps): JSX.Element {\n return (\n <DrawerPrimitive.Portal>\n <DrawerPrimitive.Overlay className=\"bg-popover-overlay fixed inset-0 z-50\" />\n <DrawerPrimitive.Content\n className={cn(\n 'bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-2xl border',\n className,\n )}\n {...props}\n >\n <div className=\"bg-muted mx-auto my-3 h-1.5 w-12 rounded-full\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerHeader\n * -------------------------------------------------------------------------- */\n\ntype DrawerHeaderProps = ComponentProps<'div'>;\n\nfunction DrawerHeader({ className, ...props }: DrawerHeaderProps): JSX.Element {\n return <div className={cn('grid gap-1.5 p-4 text-center sm:text-left', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerBody\n * -------------------------------------------------------------------------- */\n\ntype DrawerBodyProps = ComponentProps<'div'>;\n\nfunction DrawerBody({ className, ...props }: DrawerBodyProps): JSX.Element {\n return <main className={cn('overflow-auto px-4 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerFooter\n * -------------------------------------------------------------------------- */\n\ntype DrawerFooterProps = ComponentProps<'div'>;\n\nfunction DrawerFooter({ className, ...props }: DrawerFooterProps): JSX.Element {\n return <div className={cn('mt-auto flex flex-col-reverse gap-2 p-4', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTitle\n * -------------------------------------------------------------------------- */\n\ntype DrawerTitleProps = ComponentProps<typeof DrawerPrimitive.Title>;\n\nfunction DrawerTitle({ className, ...props }: DrawerTitleProps): JSX.Element {\n return (\n <DrawerPrimitive.Title className={cn('text-lg font-semibold leading-none tracking-tight', className)} {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerDescription\n * -------------------------------------------------------------------------- */\n\ntype DrawerDescriptionProps = ComponentProps<typeof DrawerPrimitive.Description>;\n\nfunction DrawerDescription({ className, ...props }: DrawerDescriptionProps): JSX.Element {\n return <DrawerPrimitive.Description className={cn('text-muted-foreground text-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerClose\n * -------------------------------------------------------------------------- */\n\ninterface DrawerCloseProps extends ComponentProps<typeof DrawerPrimitive.Close> {\n size?: ButtonVariantsProps['size'];\n variant?: ButtonVariantsProps['variant'];\n}\n\nfunction DrawerClose({ className, size, variant = 'outline', ...props }: DrawerCloseProps): JSX.Element {\n return <DrawerPrimitive.Close className={buttonVariants({ className, size, variant })} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n DrawerBodyProps,\n DrawerCloseProps,\n DrawerContentProps,\n DrawerDescriptionProps,\n DrawerFooterProps,\n DrawerHeaderProps,\n DrawerProps,\n DrawerTitleProps,\n DrawerTriggerProps,\n};\nexport {\n Drawer,\n DrawerBody,\n DrawerClose,\n DrawerContent,\n DrawerDescription,\n DrawerFooter,\n DrawerHeader,\n DrawerTitle,\n DrawerTrigger,\n};\n"]}
@@ -1,2 +0,0 @@
1
- import{Slot as e}from"@radix-ui/react-slot";import{jsx as n}from"react/jsx-runtime";function m({asChild:o,...t}){return n(o?e:"q",{...t})}export{m as a};
2
- //# sourceMappingURL=chunk-RWFLRGFY.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/quote.tsx"],"names":["Slot","jsx","Quote","asChild","props"],"mappings":"AAEA,OAAS,QAAAA,MAAY,uBAaZ,cAAAC,MAAA,oBAHT,SAASC,EAAM,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAA4B,CAG7D,OAAOH,EAFWE,EAAUH,EAAO,IAE3B,CAAW,GAAGI,EAAO,CAC/B","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ninterface QuoteProps extends ComponentProps<'q'> {\n asChild?: boolean;\n}\n\nfunction Quote({ asChild, ...props }: QuoteProps): JSX.Element {\n const Component = asChild ? Slot : 'q';\n\n return <Component {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { QuoteProps };\nexport { Quote };\n"]}
@@ -1,2 +0,0 @@
1
- import{a as o}from"./chunk-OKUFCFYT.js";import*as r from"@radix-ui/react-progress";import{jsx as e}from"react/jsx-runtime";function m({className:s,value:t,...i}){return e(r.Root,{className:o("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",s),...i,children:e(r.Indicator,{className:"bg-primary size-full flex-1 transition",style:{transform:`translateX(-${String(100-(t??0))}%)`}})})}export{m as a};
2
- //# sourceMappingURL=chunk-S2AC4OIH.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/progress.tsx"],"names":["ProgressPrimitive","jsx","Progress","className","value","props","cn"],"mappings":"wCAEA,UAAYA,MAAuB,2BAgB7B,cAAAC,MAAA,oBANN,SAASC,EAAS,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAA+B,CAC5E,OACEJ,EAAmB,OAAlB,CACC,UAAWK,EAAG,iEAAkEH,CAAS,EACxF,GAAGE,EAEJ,SAAAJ,EAAmB,YAAlB,CACC,UAAU,yCACV,MAAO,CACL,UAAW,eAAe,OAAO,KAAOG,GAAS,EAAE,CAAC,IACtD,EACF,EACF,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Progress\n * -------------------------------------------------------------------------- */\n\ntype ProgressProps = ComponentProps<typeof ProgressPrimitive.Root>;\n\nfunction Progress({ className, value, ...props }: ProgressProps): JSX.Element {\n return (\n <ProgressPrimitive.Root\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}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { ProgressProps };\nexport { Progress };\n"]}
@@ -1,2 +0,0 @@
1
- import{a as i}from"./chunk-T4YGCOXD.js";import{a as n}from"./chunk-IGCYTKJ7.js";import{a as o}from"./chunk-6FS62M4B.js";import*as e from"@codefast-ui/number-input";import{ChevronDownIcon as B,ChevronUpIcon as D}from"lucide-react";import{jsx as r,jsxs as u}from"react/jsx-runtime";var{input:R,root:k}=i();function J({id:p,ariaDecrementLabel:m,ariaIncrementLabel:a,className:s,defaultValue:l,disabled:d,formatOptions:c,inputSize:t,loaderPosition:f,loading:v,max:b,min:I,onChange:N,prefix:P,readOnly:h,spinner:C,step:y,suffix:g,value:x,...V}){return u(e.Root,{ariaDecrementLabel:m,ariaIncrementLabel:a,className:k({className:["pr-0",s],inputSize:t}),defaultValue:l,disabled:d,formatOptions:c,id:p,loaderPosition:f,loading:v,max:b,min:I,prefix:P,readOnly:h,spinner:C||r(n,{}),step:y,suffix:g,value:x,onChange:N,children:[r(e.Item,{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",className:R({inputSize:t}),inputMode:"numeric",spellCheck:"false",...V}),u("div",{className:"peer-hover:divide-input-hover peer-hover:border-l-input-hover peer-focus:divide-input-focus peer-focus:border-l-input-focus divide-input border-input order-last ml-auto grid h-full shrink-0 divide-y border-l transition",children:[r(e.IncrementButton,{className:o({className:"h-full rounded-none rounded-tr-[calc(var(--radius-lg)-1px)]",icon:!0,size:t,variant:"ghost"}),children:r(D,{})}),r(e.DecrementButton,{className:o({className:"h-full rounded-none rounded-br-[calc(var(--radius-lg)-1px)]",icon:!0,size:t,variant:"ghost"}),children:r(B,{})})]})]})}var E=J;export{J as a,E as b};
2
- //# sourceMappingURL=chunk-SISTMH2V.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/input-number.tsx"],"names":["InputNumberPrimitive","ChevronDownIcon","ChevronUpIcon","jsx","jsxs","input","root","inputVariants","InputNumber","id","ariaDecrementLabel","ariaIncrementLabel","className","defaultValue","disabled","formatOptions","inputSize","loaderPosition","loading","max","min","onChange","prefix","readOnly","spinner","step","suffix","value","props","Spinner","buttonVariants","NumberInput"],"mappings":"wHAEA,UAAYA,MAA0B,4BACtC,OAAS,mBAAAC,EAAiB,iBAAAC,MAAqB,eAwDrB,cAAAC,EAepB,QAAAC,MAfoB,oBAhD1B,GAAM,CAAE,MAAAC,EAAO,KAAAC,CAAK,EAAIC,EAAc,EAWtC,SAASC,EAAY,CACnB,GAAAC,EACA,mBAAAC,EACA,mBAAAC,EACA,UAAAC,EACA,aAAAC,EACA,SAAAC,EACA,cAAAC,EACA,UAAAC,EACA,eAAAC,EACA,QAAAC,EACA,IAAAC,EACA,IAAAC,EACA,SAAAC,EACA,OAAAC,EACA,SAAAC,EACA,QAAAC,EACA,KAAAC,EACA,OAAAC,EACA,MAAAC,EACA,GAAGC,CACL,EAAkC,CAChC,OACExB,EAAsB,OAArB,CACC,mBAAoBM,EACpB,mBAAoBC,EACpB,UAAWL,EAAK,CAAE,UAAW,CAAC,OAAQM,CAAS,EAAG,UAAAI,CAAU,CAAC,EAC7D,aAAcH,EACd,SAAUC,EACV,cAAeC,EACf,GAAIN,EACJ,eAAgBQ,EAChB,QAASC,EACT,IAAKC,EACL,IAAKC,EACL,OAAQE,EACR,SAAUC,EACV,QAASC,GAAWrB,EAAC0B,EAAA,EAAQ,EAC7B,KAAMJ,EACN,OAAQC,EACR,MAAOC,EACP,SAAUN,EAEV,UAAAlB,EAAsB,OAArB,CACC,eAAe,MACf,aAAa,MACb,YAAY,MACZ,UAAWE,EAAM,CAAE,UAAAW,CAAU,CAAC,EAC9B,UAAU,UACV,WAAW,QACV,GAAGY,EACN,EACAxB,EAAC,OAAI,UAAU,6NACb,UAAAD,EAAsB,kBAArB,CACC,UAAW2B,EAAe,CACxB,UAAW,8DACX,KAAM,GACN,KAAMd,EACN,QAAS,OACX,CAAC,EAED,SAAAb,EAACD,EAAA,EAAc,EACjB,EACAC,EAAsB,kBAArB,CACC,UAAW2B,EAAe,CACxB,UAAW,8DACX,KAAM,GACN,KAAMd,EACN,QAAS,OACX,CAAC,EAED,SAAAb,EAACF,EAAA,EAAgB,EACnB,GACF,GACF,CAEJ,CAkBA,IAAM8B,EAAcvB","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as InputNumberPrimitive from '@codefast-ui/number-input';\nimport { ChevronDownIcon, ChevronUpIcon } from 'lucide-react';\n\nimport type { InputVariantsProps } from '@/variants/input.variants';\n\nimport { Spinner } from '@/components/spinner';\nimport { buttonVariants } from '@/variants/button.variants';\nimport { inputVariants } from '@/variants/input.variants';\n\nconst { input, root } = inputVariants();\n\n/* -----------------------------------------------------------------------------\n * Component: InputNumber\n * -------------------------------------------------------------------------- */\n\ninterface InputNumberProps\n extends InputVariantsProps,\n ComponentProps<typeof InputNumberPrimitive.Root>,\n ComponentProps<typeof InputNumberPrimitive.Item> {}\n\nfunction InputNumber({\n id,\n ariaDecrementLabel,\n ariaIncrementLabel,\n className,\n defaultValue,\n disabled,\n formatOptions,\n inputSize,\n loaderPosition,\n loading,\n max,\n min,\n onChange,\n prefix,\n readOnly,\n spinner,\n step,\n suffix,\n value,\n ...props\n}: InputNumberProps): JSX.Element {\n return (\n <InputNumberPrimitive.Root\n ariaDecrementLabel={ariaDecrementLabel}\n ariaIncrementLabel={ariaIncrementLabel}\n className={root({ className: ['pr-0', className], inputSize })}\n defaultValue={defaultValue}\n disabled={disabled}\n formatOptions={formatOptions}\n id={id}\n loaderPosition={loaderPosition}\n loading={loading}\n max={max}\n min={min}\n prefix={prefix}\n readOnly={readOnly}\n spinner={spinner || <Spinner />}\n step={step}\n suffix={suffix}\n value={value}\n onChange={onChange}\n >\n <InputNumberPrimitive.Item\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=\"peer-hover:divide-input-hover peer-hover:border-l-input-hover peer-focus:divide-input-focus peer-focus:border-l-input-focus divide-input border-input order-last ml-auto grid h-full shrink-0 divide-y border-l transition\">\n <InputNumberPrimitive.IncrementButton\n className={buttonVariants({\n className: 'h-full rounded-none rounded-tr-[calc(var(--radius-lg)-1px)]',\n icon: true,\n size: inputSize,\n variant: 'ghost',\n })}\n >\n <ChevronUpIcon />\n </InputNumberPrimitive.IncrementButton>\n <InputNumberPrimitive.DecrementButton\n className={buttonVariants({\n className: 'h-full rounded-none rounded-br-[calc(var(--radius-lg)-1px)]',\n icon: true,\n size: inputSize,\n variant: 'ghost',\n })}\n >\n <ChevronDownIcon />\n </InputNumberPrimitive.DecrementButton>\n </div>\n </InputNumberPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Deprecated\n * -------------------------------------------------------------------------- */\n\n/**\n * @deprecated\n * This type is an alias of the InputNumberProps type.\n * Please use the InputNumberProps type instead to ensure consistency.\n */\ntype NumberInputProps = InputNumberProps;\n\n/**\n * @deprecated\n * This component is an alias of the Input component.\n * Please use the Input component instead to ensure consistency.\n */\nconst NumberInput = InputNumber;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { InputNumberProps, NumberInputProps };\nexport { InputNumber, NumberInput };\n"]}
@@ -1,2 +0,0 @@
1
- import{a as s}from"./chunk-6FS62M4B.js";import{a as i}from"./chunk-OKUFCFYT.js";import*as e from"@radix-ui/react-select";import{CheckIcon as c,ChevronDownIcon as p,ChevronsUpDownIcon as m,ChevronUpIcon as S}from"lucide-react";import{jsx as t,jsxs as n}from"react/jsx-runtime";var g=e.Root,y=e.Group,x=e.Value;function C({children:o,className:r,size:l,...a}){return n(e.Trigger,{className:s({className:["focus:ring-ring focus:ring-3 focus:border-input-focus w-full justify-between px-3 font-normal [&>span]:truncate",r],size:l,variant:"outline"}),...a,children:[o,t(e.Icon,{asChild:!0,children:t(m,{className:"size-4 shrink-0 opacity-50"})})]})}function d({className:o,...r}){return t(e.ScrollUpButton,{className:i("text-muted-foreground flex items-center justify-center py-1",o),...r,children:t(S,{size:16})})}function P({className:o,...r}){return t(e.ScrollDownButton,{className:i("text-muted-foreground flex items-center justify-center py-1",o),...r,children:t(p,{size:16})})}function b({children:o,className:r,position:l="popper",...a}){return t(e.Portal,{children:n(e.Content,{className:i("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 relative z-50 max-h-96 min-w-32 overflow-hidden rounded-lg border shadow-lg",l==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:l,...a,children:[t(d,{}),t(e.Viewport,{className:i("p-1",l==="popper"&&"h-(--radix-select-trigger-height) min-w-(--radix-select-trigger-width) w-full"),children:o}),t(P,{})]})})}function w({className:o,...r}){return t(e.Label,{className:i("flex items-center gap-x-2 px-3 py-1.5 text-sm font-semibold",o),...r})}function I({children:o,className:r,...l}){return n(e.Item,{className:i("focus:bg-accent focus:text-accent-foreground relative flex w-full select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm focus:outline-none aria-disabled:opacity-50",r),...l,children:[t(e.ItemText,{children:o}),t("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:t(e.ItemIndicator,{children:t(c,{className:"size-4"})})})]})}function h({className:o,...r}){return t(e.Separator,{className:i("bg-muted mx-2 my-1 h-px",o),...r})}export{g as a,y as b,x as c,C as d,d as e,P as f,b as g,w as h,I as i,h as j};
2
- //# sourceMappingURL=chunk-SKTMUT4Q.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/select.tsx"],"names":["SelectPrimitive","CheckIcon","ChevronDownIcon","ChevronsUpDownIcon","ChevronUpIcon","jsx","jsxs","Select","SelectGroup","SelectValue","SelectTrigger","children","className","size","props","buttonVariants","SelectScrollUpButton","cn","SelectScrollDownButton","SelectContent","position","SelectLabel","SelectItem","SelectSeparator"],"mappings":"gFAEA,UAAYA,MAAqB,yBACjC,OAAS,aAAAC,EAAW,mBAAAC,EAAiB,sBAAAC,EAAoB,iBAAAC,MAAqB,eAsC1E,OAaI,OAAAC,EAbJ,QAAAC,MAAA,oBA1BJ,IAAMC,EAAyB,OAOzBC,EAA8B,QAO9BC,EAA8B,QAUpC,SAASC,EAAc,CAAE,SAAAC,EAAU,UAAAC,EAAW,KAAAC,EAAM,GAAGC,CAAM,EAAoC,CAC/F,OACER,EAAiB,UAAhB,CACC,UAAWS,EAAe,CACxB,UAAW,CACT,kHACAH,CACF,EACA,KAAAC,EACA,QAAS,SACX,CAAC,EACA,GAAGC,EAEH,UAAAH,EACDN,EAAiB,OAAhB,CAAqB,QAAO,GAC3B,SAAAA,EAACF,EAAA,CAAmB,UAAU,6BAA6B,EAC7D,GACF,CAEJ,CAQA,SAASa,EAAqB,CAAE,UAAAJ,EAAW,GAAGE,CAAM,EAA2C,CAC7F,OACET,EAAiB,iBAAhB,CACC,UAAWY,EAAG,8DAA+DL,CAAS,EACrF,GAAGE,EAEJ,SAAAT,EAACD,EAAA,CAAc,KAAM,GAAI,EAC3B,CAEJ,CAQA,SAASc,EAAuB,CAAE,UAAAN,EAAW,GAAGE,CAAM,EAA6C,CACjG,OACET,EAAiB,mBAAhB,CACC,UAAWY,EAAG,8DAA+DL,CAAS,EACrF,GAAGE,EAEJ,SAAAT,EAACH,EAAA,CAAgB,KAAM,GAAI,EAC7B,CAEJ,CAQA,SAASiB,EAAc,CAAE,SAAAR,EAAU,UAAAC,EAAW,SAAAQ,EAAW,SAAU,GAAGN,CAAM,EAAoC,CAC9G,OACET,EAAiB,SAAhB,CACC,SAAAC,EAAiB,UAAhB,CACC,UAAWW,EACT,0rBACAG,IAAa,UACX,kIACFR,CACF,EACA,SAAUQ,EACT,GAAGN,EAEJ,UAAAT,EAACW,EAAA,EAAqB,EACtBX,EAAiB,WAAhB,CACC,UAAWY,EACT,MACAG,IAAa,UAAY,+EAC3B,EAEC,SAAAT,EACH,EACAN,EAACa,EAAA,EAAuB,GAC1B,EACF,CAEJ,CAQA,SAASG,EAAY,CAAE,UAAAT,EAAW,GAAGE,CAAM,EAAkC,CAC3E,OACET,EAAiB,QAAhB,CACC,UAAWY,EAAG,8DAA+DL,CAAS,EACrF,GAAGE,EACN,CAEJ,CAQA,SAASQ,EAAW,CAAE,SAAAX,EAAU,UAAAC,EAAW,GAAGE,CAAM,EAAiC,CACnF,OACER,EAAiB,OAAhB,CACC,UAAWW,EACT,6KACAL,CACF,EACC,GAAGE,EAEJ,UAAAT,EAAiB,WAAhB,CAA0B,SAAAM,EAAS,EACpCN,EAAC,QAAK,UAAU,6DACd,SAAAA,EAAiB,gBAAhB,CACC,SAAAA,EAACJ,EAAA,CAAU,UAAU,SAAS,EAChC,EACF,GACF,CAEJ,CAQA,SAASsB,EAAgB,CAAE,UAAAX,EAAW,GAAGE,CAAM,EAAsC,CACnF,OAAOT,EAAiB,YAAhB,CAA0B,UAAWY,EAAG,0BAA2BL,CAAS,EAAI,GAAGE,EAAO,CACpG","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport { CheckIcon, ChevronDownIcon, ChevronsUpDownIcon, ChevronUpIcon } from 'lucide-react';\n\nimport type { ButtonVariantsProps } from '@/variants/button.variants';\n\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/variants/button.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Select\n * -------------------------------------------------------------------------- */\n\ntype SelectProps = ComponentProps<typeof SelectPrimitive.Root>;\nconst Select = SelectPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectGroup\n * -------------------------------------------------------------------------- */\n\ntype SelectGroupProps = ComponentProps<typeof SelectPrimitive.Group>;\nconst SelectGroup = SelectPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectValue\n * -------------------------------------------------------------------------- */\n\ntype SelectValueProps = ComponentProps<typeof SelectPrimitive.Value>;\nconst SelectValue = SelectPrimitive.Value;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectTrigger\n * -------------------------------------------------------------------------- */\n\ninterface SelectTriggerProps extends ComponentProps<typeof SelectPrimitive.Trigger> {\n size?: ButtonVariantsProps['size'];\n}\n\nfunction SelectTrigger({ children, className, size, ...props }: SelectTriggerProps): JSX.Element {\n return (\n <SelectPrimitive.Trigger\n className={buttonVariants({\n className: [\n 'focus:ring-ring focus:ring-3 focus:border-input-focus w-full justify-between px-3 font-normal [&>span]:truncate',\n className,\n ],\n size,\n variant: 'outline',\n })}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <ChevronsUpDownIcon className=\"size-4 shrink-0 opacity-50\" />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectScrollUpButton\n * -------------------------------------------------------------------------- */\n\ntype SelectScrollUpButtonProps = ComponentProps<typeof SelectPrimitive.ScrollUpButton>;\n\nfunction SelectScrollUpButton({ className, ...props }: SelectScrollUpButtonProps): JSX.Element {\n return (\n <SelectPrimitive.ScrollUpButton\n className={cn('text-muted-foreground flex items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUpIcon size={16} />\n </SelectPrimitive.ScrollUpButton>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectScrollDownButton\n * -------------------------------------------------------------------------- */\n\ntype SelectScrollDownButtonProps = ComponentProps<typeof SelectPrimitive.ScrollDownButton>;\n\nfunction SelectScrollDownButton({ className, ...props }: SelectScrollDownButtonProps): JSX.Element {\n return (\n <SelectPrimitive.ScrollDownButton\n className={cn('text-muted-foreground flex items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDownIcon size={16} />\n </SelectPrimitive.ScrollDownButton>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectContent\n * -------------------------------------------------------------------------- */\n\ntype SelectContentProps = ComponentProps<typeof SelectPrimitive.Content>;\n\nfunction SelectContent({ children, className, position = 'popper', ...props }: SelectContentProps): JSX.Element {\n return (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 relative z-50 max-h-96 min-w-32 overflow-hidden rounded-lg border shadow-lg',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n className,\n )}\n position={position}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n 'p-1',\n position === 'popper' && 'h-(--radix-select-trigger-height) min-w-(--radix-select-trigger-width) w-full',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectLabel\n * -------------------------------------------------------------------------- */\n\ntype SelectLabelProps = ComponentProps<typeof SelectPrimitive.Label>;\n\nfunction SelectLabel({ className, ...props }: SelectLabelProps): JSX.Element {\n return (\n <SelectPrimitive.Label\n className={cn('flex items-center gap-x-2 px-3 py-1.5 text-sm font-semibold', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectItem\n * -------------------------------------------------------------------------- */\n\ntype SelectItemProps = ComponentProps<typeof SelectPrimitive.Item>;\n\nfunction SelectItem({ children, className, ...props }: SelectItemProps): JSX.Element {\n return (\n <SelectPrimitive.Item\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex w-full select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm focus:outline-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n <span className=\"absolute right-2 flex size-3.5 items-center justify-center\">\n <SelectPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n </SelectPrimitive.Item>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectSeparator\n * -------------------------------------------------------------------------- */\n\ntype SelectSeparatorProps = ComponentProps<typeof SelectPrimitive.Separator>;\n\nfunction SelectSeparator({ className, ...props }: SelectSeparatorProps): JSX.Element {\n return <SelectPrimitive.Separator className={cn('bg-muted mx-2 my-1 h-px', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n SelectContentProps,\n SelectGroupProps,\n SelectItemProps,\n SelectLabelProps,\n SelectProps,\n SelectScrollDownButtonProps,\n SelectScrollUpButtonProps,\n SelectSeparatorProps,\n SelectTriggerProps,\n SelectValueProps,\n};\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectLabel,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n};\n"]}
@@ -1,2 +0,0 @@
1
- import{a as o}from"./chunk-OKUFCFYT.js";import{jsx as t}from"react/jsx-runtime";function d({className:r,...e}){return t("div",{className:o("bg-card text-card-foreground rounded-lg border shadow-sm",r),...e})}function a({className:r,...e}){return t("div",{className:o("flex flex-col gap-y-1.5 p-6",r),...e})}function s({children:r,className:e,...n}){return t("h3",{className:o("font-semibold leading-none tracking-tight",e),...n,children:r})}function C({className:r,...e}){return t("p",{className:o("text-muted-foreground text-sm",r),...e})}function i({className:r,...e}){return t("div",{className:o("p-6 pt-0",r),...e})}function m({className:r,...e}){return t("div",{className:o("flex items-center p-6 pt-0",r),...e})}export{d as a,a as b,s as c,C as d,i as e,m as f};
2
- //# sourceMappingURL=chunk-SSD6L5OR.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/card.tsx"],"names":["jsx","Card","className","props","cn","CardHeader","CardTitle","children","CardDescription","CardContent","CardFooter"],"mappings":"wCAWS,cAAAA,MAAA,oBADT,SAASC,EAAK,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAA2B,CAC7D,OAAOH,EAAC,OAAI,UAAWI,EAAG,2DAA4DF,CAAS,EAAI,GAAGC,EAAO,CAC/G,CAQA,SAASE,EAAW,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAiC,CACzE,OAAOH,EAAC,OAAI,UAAWI,EAAG,8BAA+BF,CAAS,EAAI,GAAGC,EAAO,CAClF,CAQA,SAASG,EAAU,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAgC,CACjF,OACEH,EAAC,MAAG,UAAWI,EAAG,4CAA6CF,CAAS,EAAI,GAAGC,EAC5E,SAAAI,EACH,CAEJ,CAQA,SAASC,EAAgB,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAsC,CACnF,OAAOH,EAAC,KAAE,UAAWI,EAAG,gCAAiCF,CAAS,EAAI,GAAGC,EAAO,CAClF,CAQA,SAASM,EAAY,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAkC,CAC3E,OAAOH,EAAC,OAAI,UAAWI,EAAG,WAAYF,CAAS,EAAI,GAAGC,EAAO,CAC/D,CAQA,SAASO,EAAW,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAiC,CACzE,OAAOH,EAAC,OAAI,UAAWI,EAAG,6BAA8BF,CAAS,EAAI,GAAGC,EAAO,CACjF","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Card\n * -------------------------------------------------------------------------- */\n\ntype CardProps = ComponentProps<'div'>;\n\nfunction Card({ className, ...props }: CardProps): JSX.Element {\n return <div className={cn('bg-card text-card-foreground rounded-lg border shadow-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardHeader\n * -------------------------------------------------------------------------- */\n\ntype CardHeaderProps = ComponentProps<'div'>;\n\nfunction CardHeader({ className, ...props }: CardHeaderProps): JSX.Element {\n return <div className={cn('flex flex-col gap-y-1.5 p-6', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardTitle\n * -------------------------------------------------------------------------- */\n\ntype CardTitleProps = ComponentProps<'h3'>;\n\nfunction CardTitle({ children, className, ...props }: CardTitleProps): JSX.Element {\n return (\n <h3 className={cn('font-semibold leading-none tracking-tight', className)} {...props}>\n {children}\n </h3>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardDescription\n * -------------------------------------------------------------------------- */\n\ntype CardDescriptionProps = ComponentProps<'p'>;\n\nfunction CardDescription({ className, ...props }: CardDescriptionProps): JSX.Element {\n return <p className={cn('text-muted-foreground text-sm', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardContent\n * -------------------------------------------------------------------------- */\n\ntype CardContentProps = ComponentProps<'div'>;\n\nfunction CardContent({ className, ...props }: CardContentProps): JSX.Element {\n return <div className={cn('p-6 pt-0', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CardFooter\n * -------------------------------------------------------------------------- */\n\ntype CardFooterProps = ComponentProps<'div'>;\n\nfunction CardFooter({ className, ...props }: CardFooterProps): JSX.Element {\n return <div className={cn('flex items-center p-6 pt-0', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps };\nexport { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunk3EIIPNVCcjs = require('./chunk-3EIIPNVC.cjs');var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactselect = require('@radix-ui/react-select'); var e = _interopRequireWildcard(_reactselect);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');var g=e.Root,y= exports.b =e.Group,x= exports.c =e.Value;function C({children:o,className:r,size:l,...a}){return _jsxruntime.jsxs.call(void 0, e.Trigger,{className:_chunk3EIIPNVCcjs.a.call(void 0, {className:["focus:ring-ring focus:ring-3 focus:border-input-focus w-full justify-between px-3 font-normal [&>span]:truncate",r],size:l,variant:"outline"}),...a,children:[o,_jsxruntime.jsx.call(void 0, e.Icon,{asChild:!0,children:_jsxruntime.jsx.call(void 0, _lucidereact.ChevronsUpDownIcon,{className:"size-4 shrink-0 opacity-50"})})]})}function d({className:o,...r}){return _jsxruntime.jsx.call(void 0, e.ScrollUpButton,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground flex items-center justify-center py-1",o),...r,children:_jsxruntime.jsx.call(void 0, _lucidereact.ChevronUpIcon,{size:16})})}function P({className:o,...r}){return _jsxruntime.jsx.call(void 0, e.ScrollDownButton,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground flex items-center justify-center py-1",o),...r,children:_jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon,{size:16})})}function b({children:o,className:r,position:l="popper",...a}){return _jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsxs.call(void 0, e.Content,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 relative z-50 max-h-96 min-w-32 overflow-hidden rounded-lg border shadow-lg",l==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:l,...a,children:[_jsxruntime.jsx.call(void 0, d,{}),_jsxruntime.jsx.call(void 0, e.Viewport,{className:_chunkSMJEDCFPcjs.a.call(void 0, "p-1",l==="popper"&&"h-(--radix-select-trigger-height) min-w-(--radix-select-trigger-width) w-full"),children:o}),_jsxruntime.jsx.call(void 0, P,{})]})})}function w({className:o,...r}){return _jsxruntime.jsx.call(void 0, e.Label,{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex items-center gap-x-2 px-3 py-1.5 text-sm font-semibold",o),...r})}function I({children:o,className:r,...l}){return _jsxruntime.jsxs.call(void 0, e.Item,{className:_chunkSMJEDCFPcjs.a.call(void 0, "focus:bg-accent focus:text-accent-foreground relative flex w-full select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm focus:outline-none aria-disabled:opacity-50",r),...l,children:[_jsxruntime.jsx.call(void 0, e.ItemText,{children:o}),_jsxruntime.jsx.call(void 0, "span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-4"})})})]})}function h({className:o,...r}){return _jsxruntime.jsx.call(void 0, e.Separator,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-muted mx-2 my-1 h-px",o),...r})}exports.a = g; exports.b = y; exports.c = x; exports.d = C; exports.e = d; exports.f = P; exports.g = b; exports.h = w; exports.i = I; exports.j = h;
2
- //# sourceMappingURL=chunk-SXDR2XMN.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-SXDR2XMN.cjs","../src/components/select.tsx"],"names":["Select","SelectGroup","SelectValue","SelectTrigger","children","className","size","props","jsxs","buttonVariants","jsx","ChevronsUpDownIcon","SelectScrollUpButton","cn","ChevronUpIcon","SelectScrollDownButton","ChevronDownIcon","SelectContent","position","SelectLabel","SelectItem","CheckIcon","SelectSeparator"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-SXDR2XMN.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport { CheckIcon, ChevronDownIcon, ChevronsUpDownIcon, ChevronUpIcon } from 'lucide-react';\n\nimport type { ButtonVariantsProps } from '@/variants/button.variants';\n\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/variants/button.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Select\n * -------------------------------------------------------------------------- */\n\ntype SelectProps = ComponentProps<typeof SelectPrimitive.Root>;\nconst Select = SelectPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectGroup\n * -------------------------------------------------------------------------- */\n\ntype SelectGroupProps = ComponentProps<typeof SelectPrimitive.Group>;\nconst SelectGroup = SelectPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectValue\n * -------------------------------------------------------------------------- */\n\ntype SelectValueProps = ComponentProps<typeof SelectPrimitive.Value>;\nconst SelectValue = SelectPrimitive.Value;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectTrigger\n * -------------------------------------------------------------------------- */\n\ninterface SelectTriggerProps extends ComponentProps<typeof SelectPrimitive.Trigger> {\n size?: ButtonVariantsProps['size'];\n}\n\nfunction SelectTrigger({ children, className, size, ...props }: SelectTriggerProps): JSX.Element {\n return (\n <SelectPrimitive.Trigger\n className={buttonVariants({\n className: [\n 'focus:ring-ring focus:ring-3 focus:border-input-focus w-full justify-between px-3 font-normal [&>span]:truncate',\n className,\n ],\n size,\n variant: 'outline',\n })}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <ChevronsUpDownIcon className=\"size-4 shrink-0 opacity-50\" />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectScrollUpButton\n * -------------------------------------------------------------------------- */\n\ntype SelectScrollUpButtonProps = ComponentProps<typeof SelectPrimitive.ScrollUpButton>;\n\nfunction SelectScrollUpButton({ className, ...props }: SelectScrollUpButtonProps): JSX.Element {\n return (\n <SelectPrimitive.ScrollUpButton\n className={cn('text-muted-foreground flex items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUpIcon size={16} />\n </SelectPrimitive.ScrollUpButton>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectScrollDownButton\n * -------------------------------------------------------------------------- */\n\ntype SelectScrollDownButtonProps = ComponentProps<typeof SelectPrimitive.ScrollDownButton>;\n\nfunction SelectScrollDownButton({ className, ...props }: SelectScrollDownButtonProps): JSX.Element {\n return (\n <SelectPrimitive.ScrollDownButton\n className={cn('text-muted-foreground flex items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDownIcon size={16} />\n </SelectPrimitive.ScrollDownButton>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectContent\n * -------------------------------------------------------------------------- */\n\ntype SelectContentProps = ComponentProps<typeof SelectPrimitive.Content>;\n\nfunction SelectContent({ children, className, position = 'popper', ...props }: SelectContentProps): JSX.Element {\n return (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 relative z-50 max-h-96 min-w-32 overflow-hidden rounded-lg border shadow-lg',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n className,\n )}\n position={position}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n 'p-1',\n position === 'popper' && 'h-(--radix-select-trigger-height) min-w-(--radix-select-trigger-width) w-full',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectLabel\n * -------------------------------------------------------------------------- */\n\ntype SelectLabelProps = ComponentProps<typeof SelectPrimitive.Label>;\n\nfunction SelectLabel({ className, ...props }: SelectLabelProps): JSX.Element {\n return (\n <SelectPrimitive.Label\n className={cn('flex items-center gap-x-2 px-3 py-1.5 text-sm font-semibold', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectItem\n * -------------------------------------------------------------------------- */\n\ntype SelectItemProps = ComponentProps<typeof SelectPrimitive.Item>;\n\nfunction SelectItem({ children, className, ...props }: SelectItemProps): JSX.Element {\n return (\n <SelectPrimitive.Item\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex w-full select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm focus:outline-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n <span className=\"absolute right-2 flex size-3.5 items-center justify-center\">\n <SelectPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n </SelectPrimitive.Item>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SelectSeparator\n * -------------------------------------------------------------------------- */\n\ntype SelectSeparatorProps = ComponentProps<typeof SelectPrimitive.Separator>;\n\nfunction SelectSeparator({ className, ...props }: SelectSeparatorProps): JSX.Element {\n return <SelectPrimitive.Separator className={cn('bg-muted mx-2 my-1 h-px', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n SelectContentProps,\n SelectGroupProps,\n SelectItemProps,\n SelectLabelProps,\n SelectProps,\n SelectScrollDownButtonProps,\n SelectScrollUpButtonProps,\n SelectSeparatorProps,\n SelectTriggerProps,\n SelectValueProps,\n};\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectLabel,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n};\n"]}
@@ -1,2 +0,0 @@
1
- import{tv as t}from"tailwind-variants";var o=t({slots:{root:"border-input bg-background [&>svg]:text-muted-foreground hover:not-has-disabled:not-focus-within:border-input-hover focus-within:border-input-focus focus-within:ring-ring focus-within:ring-3 has-disabled:opacity-50 not-has-disabled:shadow-xs flex w-full grow items-center gap-3 rounded-lg border px-3 text-sm transition [&>svg]:shrink-0",input:"placeholder:text-muted-foreground peer size-full outline-none file:bg-transparent file:font-medium"},variants:{inputSize:{"2xs":{root:"h-7 [&>svg]:size-3",input:"file:py-0.75"},xs:{root:"h-8 [&>svg]:size-3.5",input:"file:py-1.25"},sm:{root:"h-9 [&>svg]:size-4",input:"file:py-1.75"},md:{root:"h-10 [&>svg]:size-4",input:"file:py-2.25"},lg:{root:"h-11 [&>svg]:size-5",input:"file:py-2.75"},xl:{root:"h-12 [&>svg]:size-5",input:"file:py-3.25"}}},defaultVariants:{inputSize:"md"}});export{o as a};
2
- //# sourceMappingURL=chunk-T4YGCOXD.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/variants/input.variants.ts"],"names":["tv","inputVariants"],"mappings":"AAEA,OAAS,MAAAA,MAAU,oBAEnB,IAAMC,EAAgBD,EAAG,CACvB,MAAO,CACL,KAAM,mVACN,MAAO,oGACT,EACA,SAAU,CACR,UAAW,CACT,MAAO,CAAE,KAAM,qBAAsB,MAAO,cAAe,EAC3D,GAAI,CAAE,KAAM,uBAAwB,MAAO,cAAe,EAC1D,GAAI,CAAE,KAAM,qBAAsB,MAAO,cAAe,EACxD,GAAI,CAAE,KAAM,sBAAuB,MAAO,cAAe,EACzD,GAAI,CAAE,KAAM,sBAAuB,MAAO,cAAe,EACzD,GAAI,CAAE,KAAM,sBAAuB,MAAO,cAAe,CAC3D,CACF,EACA,gBAAiB,CACf,UAAW,IACb,CACF,CAAC","sourcesContent":["import type { VariantProps } from 'tailwind-variants';\n\nimport { tv } from 'tailwind-variants';\n\nconst inputVariants = tv({\n slots: {\n root: 'border-input bg-background [&>svg]:text-muted-foreground hover:not-has-disabled:not-focus-within:border-input-hover focus-within:border-input-focus focus-within:ring-ring focus-within:ring-3 has-disabled:opacity-50 not-has-disabled:shadow-xs flex w-full grow items-center gap-3 rounded-lg border px-3 text-sm transition [&>svg]:shrink-0',\n input: 'placeholder:text-muted-foreground peer size-full outline-none file:bg-transparent file:font-medium',\n },\n variants: {\n inputSize: {\n '2xs': { root: 'h-7 [&>svg]:size-3', input: 'file:py-0.75' }, // 28px\n xs: { root: 'h-8 [&>svg]:size-3.5', input: 'file:py-1.25' }, // 32px\n sm: { root: 'h-9 [&>svg]:size-4', input: 'file:py-1.75' }, // 36px\n md: { root: 'h-10 [&>svg]:size-4', input: 'file:py-2.25' }, // 40px\n lg: { root: 'h-11 [&>svg]:size-5', input: 'file:py-2.75' }, // 44px\n xl: { root: 'h-12 [&>svg]:size-5', input: 'file:py-3.25' }, // 48px\n },\n },\n defaultVariants: {\n inputSize: 'md',\n },\n});\n\ntype InputVariantsProps = VariantProps<typeof inputVariants>;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { InputVariantsProps };\nexport { inputVariants };\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _checkboxgroup = require('@codefast-ui/checkbox-group'); var e = _interopRequireWildcard(_checkboxgroup);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function m(r){return _jsxruntime.jsx.call(void 0, e.Root,{...r})}function d({checkboxClassName:r,children:t,className:s,...a}){return _jsxruntime.jsxs.call(void 0, "label",{className:_chunkSMJEDCFPcjs.a.call(void 0, "hover:not-has-disabled:bg-secondary has-aria-checked:border-primary has-focus-visible:border-input-focus has-focus-visible:ring-ring has-focus-visible:ring-3 has-focus-visible:outline-none has-disabled:opacity-50 border-secondary group flex items-center justify-center gap-4 rounded-lg border-2 p-4 transition",s),children:[t,_jsxruntime.jsx.call(void 0, e.Item,{className:_chunkSMJEDCFPcjs.a.call(void 0, "border-input text-primary-foreground group-hover:not-disabled:not-aria-checked:border-input-hover aria-checked:border-primary aria-checked:bg-primary peer flex size-4 shrink-0 rounded-sm border transition focus-visible:outline-none",r),...a,children:_jsxruntime.jsx.call(void 0, e.CheckboxGroupIndicator,{children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-3.5"})})})]})}exports.a = m; exports.b = d;
2
- //# sourceMappingURL=chunk-TBLBH4IE.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TBLBH4IE.cjs","../src/components/checkbox-cards.tsx"],"names":["CheckboxCards","props","jsx","CheckboxCardsItem","checkboxClassName","children","className","jsxs","cn","CheckIcon"],"mappings":"AAAA,mZAAwC,6GCEA,2CACd,+CAWjB,SADAA,CAAAA,CAAcC,CAAAA,CAAwC,CAC7D,OAAOC,6BAAAA,CAAwB,CAAA,IAAA,CAAvB,CAA6B,GAAGD,CAAAA,CAAO,CACjD,CAUA,SAASE,CAAAA,CAAkB,CAAE,iBAAA,CAAAC,CAAAA,CAAmB,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGL,CAAM,CAAA,CAAwC,CACpH,OACEM,8BAAAA,OAAC,CAAA,CACC,SAAA,CAAWC,iCAAAA,uTACT,CACAF,CACF,CAAA,CAEC,QAAA,CAAA,CAAAD,CAAAA,CACDH,6BAAAA,CAAwB,CAAA,IAAA,CAAvB,CACC,SAAA,CAAWM,iCAAAA,yOACT,CACAJ,CACF,CAAA,CACC,GAAGH,CAAAA,CAEJ,QAAA,CAAAC,6BAAAA,CAAwB,CAAA,sBAAA,CAAvB,CACC,QAAA,CAAAA,6BAAAA,sBAACO,CAAA,CAAU,SAAA,CAAU,UAAA,CAAW,CAAA,CAClC,CAAA,CACF,CAAA,CAAA,CACF,CAEJ,CAAA,6BAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TBLBH4IE.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as CheckboxGroupPrimitive from '@codefast-ui/checkbox-group';\nimport { CheckIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: CheckboxCards\n * -------------------------------------------------------------------------- */\n\ntype CheckboxCardsProps = ComponentProps<typeof CheckboxGroupPrimitive.Root>;\n\nfunction CheckboxCards(props: CheckboxCardsProps): JSX.Element {\n return <CheckboxGroupPrimitive.Root {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CheckboxCardsItem\n * -------------------------------------------------------------------------- */\n\ninterface CheckboxCardsItemProps extends ComponentProps<typeof CheckboxGroupPrimitive.Item> {\n checkboxClassName?: string;\n}\n\nfunction CheckboxCardsItem({ checkboxClassName, children, className, ...props }: CheckboxCardsItemProps): JSX.Element {\n return (\n <label\n className={cn(\n 'hover:not-has-disabled:bg-secondary has-aria-checked:border-primary has-focus-visible:border-input-focus has-focus-visible:ring-ring has-focus-visible:ring-3 has-focus-visible:outline-none has-disabled:opacity-50 border-secondary group flex items-center justify-center gap-4 rounded-lg border-2 p-4 transition',\n className,\n )}\n >\n {children}\n <CheckboxGroupPrimitive.Item\n className={cn(\n 'border-input text-primary-foreground group-hover:not-disabled:not-aria-checked:border-input-hover aria-checked:border-primary aria-checked:bg-primary peer flex size-4 shrink-0 rounded-sm border transition focus-visible:outline-none',\n checkboxClassName,\n )}\n {...props}\n >\n <CheckboxGroupPrimitive.CheckboxGroupIndicator>\n <CheckIcon className=\"size-3.5\" />\n </CheckboxGroupPrimitive.CheckboxGroupIndicator>\n </CheckboxGroupPrimitive.Item>\n </label>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { CheckboxCardsItemProps, CheckboxCardsProps };\nexport { CheckboxCards, CheckboxCardsItem };\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _jsxruntime = require('react/jsx-runtime');function s({asChild:n,...o}){return _jsxruntime.jsx.call(void 0, n?_reactslot.Slot:"span",{...o})}exports.a = s;
2
- //# sourceMappingURL=chunk-TMUS6GR6.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/inline.tsx"],"names":["Inline","asChild","props","jsx","Slot"],"mappings":"AAEA,0HAAqB,+CAaZ,SAHAA,CAAAA,CAAO,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAA6B,CAG/D,OAAOC,6BAAAA,CAFWF,CAAUG,eAAAA,CAAO,MAAA,CAE3B,CAAW,GAAGF,CAAAA,CAAO,CAC/B,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TMUS6GR6.cjs","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Inline\n * -------------------------------------------------------------------------- */\n\ninterface InlineProps extends ComponentProps<'span'> {\n asChild?: boolean;\n}\n\nfunction Inline({ asChild, ...props }: InlineProps): JSX.Element {\n const Component = asChild ? Slot : 'span';\n\n return <Component {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { InlineProps };\nexport { Inline };\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactslot = require('@radix-ui/react-slot');var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function d({...r}){return _jsxruntime.jsx.call(void 0, "nav",{"aria-label":"breadcrumb",...r})}function b({className:r,...e}){return _jsxruntime.jsx.call(void 0, "ol",{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2",r),...e})}function P({className:r,...e}){return _jsxruntime.jsx.call(void 0, "li",{className:_chunkSMJEDCFPcjs.a.call(void 0, "inline-flex items-center gap-1.5",r),...e})}function B({asChild:r,className:e,...t}){return _jsxruntime.jsx.call(void 0, r?_reactslot.Slot:"a",{className:_chunkSMJEDCFPcjs.a.call(void 0, "hover:text-foreground transition",e),...t})}function f({className:r,...e}){return _jsxruntime.jsx.call(void 0, "span",{"aria-current":"page","aria-disabled":"true",className:_chunkSMJEDCFPcjs.a.call(void 0, "text-foreground font-normal",r),role:"link",...e})}function S({children:r,...e}){return _jsxruntime.jsx.call(void 0, "li",{"aria-hidden":"true",role:"presentation",...e,children:_nullishCoalesce(r, () => (_jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon,{className:"size-3.5"})))})}function g({className:r,...e}){return _jsxruntime.jsxs.call(void 0, "span",{"aria-hidden":"true",className:_chunkSMJEDCFPcjs.a.call(void 0, "flex size-4 items-center justify-center",r),role:"presentation",...e,children:[_jsxruntime.jsx.call(void 0, _lucidereact.EllipsisIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"More"})]})}exports.a = d; exports.b = b; exports.c = P; exports.d = B; exports.e = f; exports.f = S; exports.g = g;
2
- //# sourceMappingURL=chunk-TQS2T4UF.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TQS2T4UF.cjs","../src/components/breadcrumb.tsx"],"names":["Breadcrumb","props","jsx","BreadcrumbList","className","cn","BreadcrumbItem","BreadcrumbLink","asChild","Slot","BreadcrumbPage","BreadcrumbSeparator","children","ChevronRightIcon","BreadcrumbEllipsis","jsxs","EllipsisIcon"],"mappings":"AAAA,qOAAmC,iDCEd,2CAC0B,+CAatC,SADAA,CAAAA,CAAW,CAAE,GAAGC,CAAM,CAAA,CAAiC,CAC9D,OAAOC,6BAAAA,KAAC,CAAA,CAAI,YAAA,CAAW,YAAA,CAAc,GAAGD,CAAAA,CAAO,CACjD,CAQA,SAASE,CAAAA,CAAe,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGH,CAAM,CAAA,CAAqC,CACjF,OACEC,6BAAAA,IAAC,CAAA,CACC,SAAA,CAAWG,iCAAAA,wFACT,CACAD,CACF,CAAA,CACC,GAAGH,CAAAA,CACN,CAEJ,CAQA,SAASK,CAAAA,CAAe,CAAE,SAAA,CAAAF,CAAAA,CAAW,GAAGH,CAAM,CAAA,CAAqC,CACjF,OAAOC,6BAAAA,IAAC,CAAA,CAAG,SAAA,CAAWG,iCAAAA,kCAAG,CAAoCD,CAAS,CAAA,CAAI,GAAGH,CAAAA,CAAO,CACtF,CAUA,SAASM,CAAAA,CAAe,CAAE,OAAA,CAAAC,CAAAA,CAAS,SAAA,CAAAJ,CAAAA,CAAW,GAAGH,CAAM,CAAA,CAAqC,CAG1F,OAAOC,6BAAAA,CAFWM,CAAUC,eAAAA,CAAO,GAAA,CAE3B,CAAU,SAAA,CAAWJ,iCAAAA,kCAAG,CAAoCD,CAAS,CAAA,CAAI,GAAGH,CAAAA,CAAO,CAC7F,CAQA,SAASS,CAAAA,CAAe,CAAE,SAAA,CAAAN,CAAAA,CAAW,GAAGH,CAAM,CAAA,CAAqC,CACjF,OACEC,6BAAAA,MAAC,CAAA,CACC,cAAA,CAAa,MAAA,CACb,eAAA,CAAc,MAAA,CACd,SAAA,CAAWG,iCAAAA,6BAAG,CAA+BD,CAAS,CAAA,CACtD,IAAA,CAAK,MAAA,CACJ,GAAGH,CAAAA,CACN,CAEJ,CAQA,SAASU,CAAAA,CAAoB,CAAE,QAAA,CAAAC,CAAAA,CAAU,GAAGX,CAAM,CAAA,CAA0C,CAC1F,OACEC,6BAAAA,IAAC,CAAA,CAAG,aAAA,CAAY,MAAA,CAAO,IAAA,CAAK,cAAA,CAAgB,GAAGD,CAAAA,CAC5C,QAAA,kBAAAW,CAAAA,SAAYV,6BAAAA,6BAACW,CAAA,CAAiB,SAAA,CAAU,UAAA,CAAW,GAAA,CACtD,CAEJ,CAQA,SAASC,CAAAA,CAAmB,CAAE,SAAA,CAAAV,CAAAA,CAAW,GAAGH,CAAM,CAAA,CAAyC,CACzF,OACEc,8BAAAA,MAAC,CAAA,CACC,aAAA,CAAY,MAAA,CACZ,SAAA,CAAWV,iCAAAA,yCAAG,CAA2CD,CAAS,CAAA,CAClE,IAAA,CAAK,cAAA,CACJ,GAAGH,CAAAA,CAEJ,QAAA,CAAA,CAAAC,6BAAAA,yBAACc,CAAA,CAAa,SAAA,CAAU,QAAA,CAAS,CAAA,CACjCd,6BAAAA,MAAC,CAAA,CAAK,SAAA,CAAU,SAAA,CAAU,QAAA,CAAA,MAAA,CAAI,CAAA,CAAA,CAChC,CAEJ,CAAA,wGAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TQS2T4UF.cjs","sourcesContent":[null,"import type { ComponentProps, JSX, ReactNode } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\nimport { ChevronRightIcon, EllipsisIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Breadcrumb\n * -------------------------------------------------------------------------- */\n\ninterface BreadcrumbProps extends ComponentProps<'nav'> {\n separator?: ReactNode;\n}\n\nfunction Breadcrumb({ ...props }: BreadcrumbProps): JSX.Element {\n return <nav aria-label=\"breadcrumb\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbList\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbListProps = ComponentProps<'ol'>;\n\nfunction BreadcrumbList({ className, ...props }: BreadcrumbListProps): JSX.Element {\n return (\n <ol\n className={cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbItem\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbItemProps = ComponentProps<'li'>;\n\nfunction BreadcrumbItem({ className, ...props }: BreadcrumbItemProps): JSX.Element {\n return <li className={cn('inline-flex items-center gap-1.5', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbLink\n * -------------------------------------------------------------------------- */\n\ninterface BreadcrumbLinkProps extends ComponentProps<'a'> {\n asChild?: boolean;\n}\n\nfunction BreadcrumbLink({ asChild, className, ...props }: BreadcrumbLinkProps): JSX.Element {\n const Component = asChild ? Slot : 'a';\n\n return <Component className={cn('hover:text-foreground transition', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbPage\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbPageProps = ComponentProps<'span'>;\n\nfunction BreadcrumbPage({ className, ...props }: BreadcrumbPageProps): JSX.Element {\n return (\n <span\n aria-current=\"page\"\n aria-disabled=\"true\"\n className={cn('text-foreground font-normal', className)}\n role=\"link\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbSeparator\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbSeparatorProps = ComponentProps<'li'>;\n\nfunction BreadcrumbSeparator({ children, ...props }: BreadcrumbSeparatorProps): JSX.Element {\n return (\n <li aria-hidden=\"true\" role=\"presentation\" {...props}>\n {children ?? <ChevronRightIcon className=\"size-3.5\" />}\n </li>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbEllipsis\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbEllipsisProps = ComponentProps<'span'>;\n\nfunction BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): JSX.Element {\n return (\n <span\n aria-hidden=\"true\"\n className={cn('flex size-4 items-center justify-center', className)}\n role=\"presentation\"\n {...props}\n >\n <EllipsisIcon className=\"size-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n BreadcrumbEllipsisProps,\n BreadcrumbItemProps,\n BreadcrumbLinkProps,\n BreadcrumbListProps,\n BreadcrumbPageProps,\n BreadcrumbProps,\n BreadcrumbSeparatorProps,\n};\nexport {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n};\n"]}
@@ -1,2 +0,0 @@
1
- import{a as p}from"./chunk-OKUFCFYT.js";import*as e from"@radix-ui/react-dropdown-menu";import{CheckIcon as d,ChevronRightIcon as s,DotIcon as u}from"lucide-react";import{jsx as n,jsxs as i}from"react/jsx-runtime";var l=e.Root,w=e.Trigger,P=e.Group,D=e.Sub,M=e.RadioGroup;function f({children:o,className:t,inset:r,...a}){return i(e.SubTrigger,{className:p("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm focus:outline-none",r&&"pl-8",t),...a,children:[o,n(s,{className:"ml-auto size-4"})]})}function g({className:o,...t}){return n(e.Portal,{children:n(e.SubContent,{className:p("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg",o),...t})})}function b({className:o,sideOffset:t=6,...r}){return n(e.Portal,{children:n(e.Content,{className:p("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg",o),sideOffset:t,...r})})}function v({className:o,inset:t,...r}){return n(e.Item,{className:p("focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm focus:outline-none aria-disabled:opacity-50",t&&"pl-8",o),...r})}function x({checked:o,children:t,className:r,...a}){return i(e.CheckboxItem,{checked:o,className:p("focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 pl-8 text-sm focus:outline-none aria-disabled:opacity-50",r),...a,children:[n("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:n(e.ItemIndicator,{children:n(d,{className:"size-4"})})}),t]})}function S({children:o,className:t,...r}){return i(e.RadioItem,{className:p("focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 pl-8 text-sm focus:outline-none aria-disabled:opacity-50",t),...r,children:[n("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:n(e.ItemIndicator,{children:n(u,{className:"size-4 fill-current"})})}),o]})}function y({className:o,inset:t,...r}){return n(e.Label,{className:p("flex items-center gap-x-2 px-3 py-1.5 text-sm font-semibold",t&&"pl-8",o),...r})}function C({className:o,...t}){return n(e.Separator,{className:p("bg-muted mx-2 my-1 h-px",o),...t})}function I({className:o,...t}){return n("span",{className:p("text-muted-foreground group-aria-selected:text-accent-foreground ml-auto text-xs tracking-widest",o),...t})}function h({className:o,...t}){return n(e.Arrow,{className:p("fill-popover",o),...t})}export{l as a,w as b,P as c,D as d,M as e,f,g,b as h,v as i,x as j,S as k,y as l,C as m,I as n,h as o};
2
- //# sourceMappingURL=chunk-TUU4GFJ6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/dropdown-menu.tsx"],"names":["DropdownMenuPrimitive","CheckIcon","ChevronRightIcon","DotIcon","jsx","jsxs","DropdownMenu","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuSubTrigger","children","className","inset","props","cn","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","DropdownMenuRadioItem","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut","DropdownMenuArrow"],"mappings":"wCAEA,UAAYA,MAA2B,gCACvC,OAAS,aAAAC,EAAW,oBAAAC,EAAkB,WAAAC,MAAe,eAiDjD,OASE,OAAAC,EATF,QAAAC,MAAA,oBAxCJ,IAAMC,EAAqC,OAOrCC,EAA4C,UAO5CC,EAA0C,QAO1CC,EAAwC,MAOxCC,EAA+C,aAUrD,SAASC,EAAuB,CAAE,SAAAC,EAAU,UAAAC,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAA6C,CAClH,OACEV,EAAuB,aAAtB,CACC,UAAWW,EACT,4MACAF,GAAS,OACTD,CACF,EACC,GAAGE,EAEH,UAAAH,EACDR,EAACF,EAAA,CAAiB,UAAU,iBAAiB,GAC/C,CAEJ,CAQA,SAASe,EAAuB,CAAE,UAAAJ,EAAW,GAAGE,CAAM,EAA6C,CACjG,OACEX,EAAuB,SAAtB,CACC,SAAAA,EAAuB,aAAtB,CACC,UAAWY,EACT,4pBACAH,CACF,EACC,GAAGE,EACN,EACF,CAEJ,CAQA,SAASG,EAAoB,CAAE,UAAAL,EAAW,WAAAM,EAAa,EAAG,GAAGJ,CAAM,EAA0C,CAC3G,OACEX,EAAuB,SAAtB,CACC,SAAAA,EAAuB,UAAtB,CACC,UAAWY,EACT,4pBACAH,CACF,EACA,WAAYM,EACX,GAAGJ,EACN,EACF,CAEJ,CAUA,SAASK,EAAiB,CAAE,UAAAP,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAAuC,CAC5F,OACEX,EAAuB,OAAtB,CACC,UAAWY,EACT,+KACAF,GAAS,OACTD,CACF,EACC,GAAGE,EACN,CAEJ,CAQA,SAASM,EAAyB,CAChC,QAAAC,EACA,SAAAV,EACA,UAAAC,EACA,GAAGE,CACL,EAA+C,CAC7C,OACEV,EAAuB,eAAtB,CACC,QAASiB,EACT,UAAWN,EACT,oLACAH,CACF,EACC,GAAGE,EAEJ,UAAAX,EAAC,QAAK,UAAU,4DACd,SAAAA,EAAuB,gBAAtB,CACC,SAAAA,EAACH,EAAA,CAAU,UAAU,SAAS,EAChC,EACF,EACCW,GACH,CAEJ,CAQA,SAASW,EAAsB,CAAE,SAAAX,EAAU,UAAAC,EAAW,GAAGE,CAAM,EAA4C,CACzG,OACEV,EAAuB,YAAtB,CACC,UAAWW,EACT,oLACAH,CACF,EACC,GAAGE,EAEJ,UAAAX,EAAC,QAAK,UAAU,4DACd,SAAAA,EAAuB,gBAAtB,CACC,SAAAA,EAACD,EAAA,CAAQ,UAAU,sBAAsB,EAC3C,EACF,EACCS,GACH,CAEJ,CAUA,SAASY,EAAkB,CAAE,UAAAX,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAAwC,CAC9F,OACEX,EAAuB,QAAtB,CACC,UAAWY,EAAG,8DAA+DF,GAAS,OAAQD,CAAS,EACtG,GAAGE,EACN,CAEJ,CAQA,SAASU,EAAsB,CAAE,UAAAZ,EAAW,GAAGE,CAAM,EAA4C,CAC/F,OAAOX,EAAuB,YAAtB,CAAgC,UAAWY,EAAG,0BAA2BH,CAAS,EAAI,GAAGE,EAAO,CAC1G,CAQA,SAASW,EAAqB,CAAE,UAAAb,EAAW,GAAGE,CAAM,EAA2C,CAC7F,OACEX,EAAC,QACC,UAAWY,EACT,mGACAH,CACF,EACC,GAAGE,EACN,CAEJ,CAQA,SAASY,EAAkB,CAAE,UAAAd,EAAW,GAAGE,CAAM,EAAwC,CACvF,OAAOX,EAAuB,QAAtB,CAA4B,UAAWY,EAAG,eAAgBH,CAAS,EAAI,GAAGE,EAAO,CAC3F","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nimport { CheckIcon, ChevronRightIcon, DotIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenu\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuProps = ComponentProps<typeof DropdownMenuPrimitive.Root>;\nconst DropdownMenu = DropdownMenuPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuTrigger\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuTriggerProps = ComponentProps<typeof DropdownMenuPrimitive.Trigger>;\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuGroup\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuGroupProps = ComponentProps<typeof DropdownMenuPrimitive.Group>;\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSub\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuSubProps = ComponentProps<typeof DropdownMenuPrimitive.Sub>;\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSubTrigger\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuRadioGroupProps = ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>;\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSubTrigger\n * -------------------------------------------------------------------------- */\n\ninterface DropdownMenuSubTriggerProps extends ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> {\n inset?: boolean;\n}\n\nfunction DropdownMenuSubTrigger({ children, className, inset, ...props }: DropdownMenuSubTriggerProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.SubTrigger\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm focus:outline-none',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSubContent\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuSubContentProps = DropdownMenuPrimitive.DropdownMenuSubContentProps;\n\nfunction DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.SubContent\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg',\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuContent\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuContentProps = ComponentProps<typeof DropdownMenuPrimitive.Content>;\n\nfunction DropdownMenuContent({ className, sideOffset = 6, ...props }: DropdownMenuContentProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-from-b-2 data-[state=open]:data-[side=right]:slide-from-l-2 data-[state=open]:data-[side=bottom]:slide-from-t-2 data-[state=open]:data-[side=left]:slide-from-r-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-to-b-2 data-[state=closed]:data-[side=right]:slide-to-l-2 data-[state=closed]:data-[side=bottom]:slide-to-t-2 data-[state=closed]:data-[side=left]:slide-to-r-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuItem\n * -------------------------------------------------------------------------- */\n\ninterface DropdownMenuItemProps extends ComponentProps<typeof DropdownMenuPrimitive.Item> {\n inset?: boolean;\n}\n\nfunction DropdownMenuItem({ className, inset, ...props }: DropdownMenuItemProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.Item\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 text-sm focus:outline-none aria-disabled:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuCheckboxItem\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuCheckboxItemProps = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>;\n\nfunction DropdownMenuCheckboxItem({\n checked,\n children,\n className,\n ...props\n}: DropdownMenuCheckboxItemProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.CheckboxItem\n checked={checked}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 pl-8 text-sm focus:outline-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 <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuRadioItem\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuRadioItemProps = ComponentProps<typeof DropdownMenuPrimitive.RadioItem>;\n\nfunction DropdownMenuRadioItem({ children, className, ...props }: DropdownMenuRadioItemProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.RadioItem\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground group relative flex select-none items-center gap-x-2 rounded-sm px-3 py-1.5 pl-8 text-sm focus:outline-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 <DropdownMenuPrimitive.ItemIndicator>\n <DotIcon className=\"size-4 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuLabel\n * -------------------------------------------------------------------------- */\n\ninterface DropdownMenuLabelProps extends ComponentProps<typeof DropdownMenuPrimitive.Label> {\n inset?: boolean;\n}\n\nfunction DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps): JSX.Element {\n return (\n <DropdownMenuPrimitive.Label\n className={cn('flex items-center gap-x-2 px-3 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuSeparator\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuSeparatorProps = ComponentProps<typeof DropdownMenuPrimitive.Separator>;\n\nfunction DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): JSX.Element {\n return <DropdownMenuPrimitive.Separator className={cn('bg-muted mx-2 my-1 h-px', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuShortcut\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuShortcutProps = ComponentProps<'span'>;\n\nfunction DropdownMenuShortcut({ className, ...props }: DropdownMenuShortcutProps): JSX.Element {\n return (\n <span\n className={cn(\n 'text-muted-foreground group-aria-selected:text-accent-foreground ml-auto text-xs tracking-widest',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DropdownMenuArrow\n * -------------------------------------------------------------------------- */\n\ntype DropdownMenuArrowProps = DropdownMenuPrimitive.DropdownMenuArrowProps;\n\nfunction DropdownMenuArrow({ className, ...props }: DropdownMenuArrowProps): JSX.Element {\n return <DropdownMenuPrimitive.Arrow className={cn('fill-popover', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n DropdownMenuArrowProps,\n DropdownMenuCheckboxItemProps,\n DropdownMenuContentProps,\n DropdownMenuGroupProps,\n DropdownMenuItemProps,\n DropdownMenuLabelProps,\n DropdownMenuProps,\n DropdownMenuRadioGroupProps,\n DropdownMenuRadioItemProps,\n DropdownMenuSeparatorProps,\n DropdownMenuShortcutProps,\n DropdownMenuSubContentProps,\n DropdownMenuSubProps,\n DropdownMenuSubTriggerProps,\n DropdownMenuTriggerProps,\n};\nexport {\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n};\n"]}
@@ -1,2 +0,0 @@
1
- import{a as s}from"./chunk-6FS62M4B.js";import{a as o}from"./chunk-OKUFCFYT.js";import{ChevronLeftIcon as g,ChevronRightIcon as m,EllipsisIcon as u}from"lucide-react";import{jsx as i,jsxs as t}from"react/jsx-runtime";function x({className:n,...a}){return i("nav",{"aria-label":"pagination",className:o("mx-auto flex w-full justify-center",n),role:"navigation",...a})}function y({className:n,...a}){return i("ul",{className:o("flex flex-row items-center gap-1",n),...a})}function C(n){return i("li",{...n})}function r({children:n,className:a,icon:p=!0,isActive:e,size:P,...l}){return i("a",{"aria-current":e?"page":void 0,className:s({className:a,icon:p,size:P,variant:e?"outline":"ghost"}),...l,children:n})}function E({...n}){return t(r,{"aria-label":"Go to previous page",icon:!1,...n,children:[i(g,{className:"size-4"}),i("span",{children:"Previous"})]})}function N({...n}){return t(r,{"aria-label":"Go to next page",icon:!1,...n,children:[i("span",{children:"Next"}),i(m,{})]})}function k({className:n,...a}){return t("span",{"aria-hidden":!0,className:o("flex size-10 items-center justify-center",n),...a,children:[i(u,{className:"size-4"}),i("span",{className:"sr-only",children:"More pages"})]})}export{x as a,y as b,C as c,r as d,E as e,N as f,k as g};
2
- //# sourceMappingURL=chunk-U2LUXER4.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/pagination.tsx"],"names":["ChevronLeftIcon","ChevronRightIcon","EllipsisIcon","jsx","jsxs","Pagination","className","props","cn","PaginationContent","PaginationItem","PaginationLink","children","icon","isActive","size","buttonVariants","PaginationPrevious","PaginationNext","PaginationEllipsis"],"mappings":"gFAEA,OAAS,mBAAAA,EAAiB,oBAAAC,EAAkB,gBAAAC,MAAoB,eAe5D,cAAAC,EAgEA,QAAAC,MAhEA,oBAFJ,SAASC,EAAW,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAiC,CACzE,OACEJ,EAAC,OACC,aAAW,aACX,UAAWK,EAAG,qCAAsCF,CAAS,EAC7D,KAAK,aACJ,GAAGC,EACN,CAEJ,CAQA,SAASE,EAAkB,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAwC,CACvF,OAAOJ,EAAC,MAAG,UAAWK,EAAG,mCAAoCF,CAAS,EAAI,GAAGC,EAAO,CACtF,CAQA,SAASG,EAAeH,EAAyC,CAC/D,OAAOJ,EAAC,MAAI,GAAGI,EAAO,CACxB,CAUA,SAASI,EAAe,CACtB,SAAAC,EACA,UAAAN,EACA,KAAAO,EAAO,GACP,SAAAC,EACA,KAAAC,EACA,GAAGR,CACL,EAAqC,CACnC,OACEJ,EAAC,KACC,eAAcW,EAAW,OAAS,OAClC,UAAWE,EAAe,CAAE,UAAAV,EAAW,KAAAO,EAAM,KAAAE,EAAM,QAASD,EAAW,UAAY,OAAQ,CAAC,EAC3F,GAAGP,EAEH,SAAAK,EACH,CAEJ,CAQA,SAASK,EAAmB,CAAE,GAAGV,CAAM,EAAyC,CAC9E,OACEH,EAACO,EAAA,CAAe,aAAW,sBAAsB,KAAM,GAAQ,GAAGJ,EAChE,UAAAJ,EAACH,EAAA,CAAgB,UAAU,SAAS,EACpCG,EAAC,QAAK,oBAAQ,GAChB,CAEJ,CAQA,SAASe,EAAe,CAAE,GAAGX,CAAM,EAAqC,CACtE,OACEH,EAACO,EAAA,CAAe,aAAW,kBAAkB,KAAM,GAAQ,GAAGJ,EAC5D,UAAAJ,EAAC,QAAK,gBAAI,EACVA,EAACF,EAAA,EAAiB,GACpB,CAEJ,CAQA,SAASkB,EAAmB,CAAE,UAAAb,EAAW,GAAGC,CAAM,EAAyC,CACzF,OACEH,EAAC,QAAK,cAAW,GAAC,UAAWI,EAAG,2CAA4CF,CAAS,EAAI,GAAGC,EAC1F,UAAAJ,EAACD,EAAA,CAAa,UAAU,SAAS,EACjCC,EAAC,QAAK,UAAU,UAAU,sBAAU,GACtC,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { ChevronLeftIcon, ChevronRightIcon, EllipsisIcon } from 'lucide-react';\n\nimport type { ButtonVariantsProps } from '@/variants/button.variants';\n\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/variants/button.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Pagination\n * -------------------------------------------------------------------------- */\n\ntype PaginationProps = ComponentProps<'nav'>;\n\nfunction Pagination({ className, ...props }: PaginationProps): 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 PaginationContentProps = ComponentProps<'ul'>;\n\nfunction PaginationContent({ className, ...props }: PaginationContentProps): JSX.Element {\n return <ul className={cn('flex flex-row items-center gap-1', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationItem\n * -------------------------------------------------------------------------- */\n\ntype PaginationItemProps = ComponentProps<'li'>;\n\nfunction PaginationItem(props: PaginationItemProps): JSX.Element {\n return <li {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\ninterface PaginationLinkProps extends ComponentProps<'a'>, Pick<ButtonVariantsProps, 'icon' | 'size'> {\n isActive?: boolean;\n}\n\nfunction PaginationLink({\n children,\n className,\n icon = true,\n isActive,\n size,\n ...props\n}: PaginationLinkProps): JSX.Element {\n return (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={buttonVariants({ className, icon, size, variant: isActive ? 'outline' : 'ghost' })}\n {...props}\n >\n {children}\n </a>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationPrevious\n * -------------------------------------------------------------------------- */\n\ntype PaginationPreviousProps = PaginationLinkProps;\n\nfunction PaginationPrevious({ ...props }: PaginationPreviousProps): JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to previous page\" icon={false} {...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({ ...props }: PaginationNextProps): JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to next page\" icon={false} {...props}>\n <span>Next</span>\n <ChevronRightIcon />\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationEllipsis\n * -------------------------------------------------------------------------- */\n\ntype PaginationEllipsisProps = ComponentProps<'span'>;\n\nfunction PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): JSX.Element {\n return (\n <span aria-hidden className={cn('flex size-10 items-center justify-center', className)} {...props}>\n <EllipsisIcon className=\"size-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type {\n PaginationContentProps,\n PaginationEllipsisProps,\n PaginationItemProps,\n PaginationLinkProps,\n PaginationNextProps,\n PaginationPreviousProps,\n PaginationProps,\n};\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n"]}
@@ -1,2 +0,0 @@
1
- "use client";import{a as p}from"./chunk-6FS62M4B.js";import{a as o}from"./chunk-OKUFCFYT.js";import{format as g}from"date-fns";import{ChevronDownIcon as f,ChevronLeftIcon as c,ChevronRightIcon as s,ChevronUpIcon as y,DotIcon as h}from"lucide-react";import{DayFlag as d,DayPicker as m,SelectionState as i,UI as e}from"react-day-picker";import{jsx as a,jsxs as b}from"react/jsx-runtime";function C({orientation:n,className:t,...r}){switch(n){case"up":return a(y,{className:o("size-4",t),...r});case"down":return a(f,{className:o("size-4",t),...r});case"left":return a(c,{className:o("size-4",t),...r});case"right":return a(s,{className:o("size-4",t),...r});default:return a(h,{className:o("size-4",t),...r})}}function k({showOutsideDays:n=!0,classNames:t,...r}){let u=r.mode!==void 0||r.onDayClick!==void 0;return a(m,{classNames:{[e.Root]:o(t?.[e.Root]),[e.Chevron]:o(t?.[e.Chevron]),[e.Day]:o("grid place-items-center text-center text-sm",u?"min-w-8.5 group":"min-w-8.5 h-8",t?.[e.Day]),[e.DayButton]:o("group-[.is-outside]:text-muted-foreground hover:not-disabled:not-group-aria-selected:bg-secondary hover:not-disabled:not-group-aria-selected:text-secondary-foreground group-data-today:not-group-aria-selected:bg-secondary group-data-today:not-group-aria-selected:text-secondary-foreground group-aria-selected:not-group-[.is-range-middle]:bg-primary group-aria-selected:not-group-[.is-range-middle]:text-primary-foreground size-8 rounded-lg transition disabled:opacity-50",t?.[e.DayButton]),[e.CaptionLabel]:o("flex items-center gap-2 [&>svg]:opacity-50",t?.[e.CaptionLabel]),[e.Dropdowns]:o("flex gap-4",t?.[e.Dropdowns]),[e.Dropdown]:o("absolute opacity-0",t?.[e.Dropdown]),[e.DropdownRoot]:o("relative",t?.[e.DropdownRoot]),[e.Footer]:o(t?.[e.Footer]),[e.MonthGrid]:o(t?.[e.MonthGrid]),[e.MonthCaption]:o("py-1 text-sm font-medium",t?.[e.MonthCaption]),[e.MonthsDropdown]:o(t?.[e.MonthsDropdown]),[e.Month]:o("flex flex-col gap-4",t?.[e.Month]),[e.Months]:o("relative inline-flex flex-wrap gap-4",t?.[e.Months]),[e.Nav]:o("absolute end-0 flex gap-2",t?.[e.Nav]),[e.NextMonthButton]:o(p({variant:"ghost",size:"2xs",icon:!0}),t?.[e.NextMonthButton]),[e.PreviousMonthButton]:o(p({variant:"ghost",size:"2xs",icon:!0}),t?.[e.PreviousMonthButton]),[e.Week]:o("mt-2 flex justify-between",t?.[e.Week]),[e.Weeks]:o(t?.[e.Weeks]),[e.Weekday]:o("text-muted-foreground min-w-8.5 text-xs font-medium",t?.[e.Weekday]),[e.Weekdays]:o("flex w-full justify-between",t?.[e.Weekdays]),[e.WeekNumber]:o("text-muted-foreground min-w-8.5 grid h-8 place-items-center text-xs font-normal [&+*]:rounded-l-lg",t?.[e.WeekNumber]),[e.WeekNumberHeader]:o("min-w-8.5",t?.[e.WeekNumberHeader]),[e.YearsDropdown]:o(t?.[e.YearsDropdown]),[i.range_end]:o("to-secondary is-range-end rounded-r-lg bg-gradient-to-l first:rounded-l-lg",t?.[i.range_end]),[i.range_middle]:o("is-range-middle bg-secondary text-secondary-foreground first:rounded-l-lg last:rounded-r-lg",t?.[i.range_middle]),[i.range_start]:o("to-secondary is-range-start rounded-l-lg bg-gradient-to-r last:rounded-r-lg",t?.[i.range_start]),[i.selected]:o("is-selected",t?.[i.selected]),[d.disabled]:o("is-disabled",t?.[d.disabled]),[d.focused]:o("is-focused",t?.[d.focused]),[d.hidden]:o("is-hidden size-8",t?.[d.hidden]),[d.outside]:o("is-outside",t?.[d.outside]),[d.today]:o("is-today",t?.[d.today])},components:{Chevron:C},showOutsideDays:n,...r})}function M({date:n,formatStr:t="LLL dd, y",placeholder:r="Pick a date"}){if(!n?.from)return a("span",{className:"truncate",children:r});let u=g(n.from,t);if(!n.to)return a("span",{className:"truncate",children:u});let l=g(n.to,t);return b("span",{className:"truncate",children:[u," - ",l]})}function R({date:n,formatStr:t="PPP",placeholder:r="Pick a date"}){return n?a("span",{className:"truncate",children:g(n,t)}):a("span",{className:"truncate",children:r})}export{k as a,M as b,R as c};
2
- //# sourceMappingURL=chunk-U66K6WUY.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/calendar.tsx"],"names":["format","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronUpIcon","DotIcon","DayFlag","DayPicker","SelectionState","UI","jsx","jsxs","Chevron","orientation","className","props","cn","Calendar","showOutsideDays","classNames","isInteractive","buttonVariants","CalendarRangeLabel","date","formatStr","placeholder","formattedFromDate","formattedToDate","CalendarLabel"],"mappings":"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","sourcesContent":["'use client';\n\nimport type { ComponentProps, JSX, ReactNode } from 'react';\nimport type { CustomComponents, DateRange, DayPickerProps } from 'react-day-picker';\n\nimport { format } from 'date-fns';\nimport { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, DotIcon } from 'lucide-react';\nimport { DayFlag, DayPicker, SelectionState, UI } from 'react-day-picker';\n\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/variants/button.variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Chevron\n * -------------------------------------------------------------------------- */\n\ntype ChevronProps = ComponentProps<CustomComponents['Chevron']>;\n\nfunction Chevron({ orientation, className, ...props }: ChevronProps): JSX.Element {\n switch (orientation) {\n case 'up': {\n return <ChevronUpIcon className={cn('size-4', className)} {...props} />;\n }\n\n case 'down': {\n return <ChevronDownIcon className={cn('size-4', className)} {...props} />;\n }\n\n case 'left': {\n return <ChevronLeftIcon className={cn('size-4', className)} {...props} />;\n }\n\n case 'right': {\n return <ChevronRightIcon className={cn('size-4', className)} {...props} />;\n }\n\n default: {\n return <DotIcon className={cn('size-4', className)} {...props} />;\n }\n }\n}\n\n/* -----------------------------------------------------------------------------\n * Component: Calendar\n * -------------------------------------------------------------------------- */\n\ntype CalendarProps = DayPickerProps;\n\nfunction Calendar({ showOutsideDays = true, classNames, ...props }: CalendarProps): JSX.Element {\n const isInteractive = props.mode !== undefined || props.onDayClick !== undefined;\n\n return (\n <DayPicker\n classNames={{\n [UI.Root]: cn(classNames?.[UI.Root]),\n [UI.Chevron]: cn(classNames?.[UI.Chevron]),\n [UI.Day]: cn(\n 'grid place-items-center text-center text-sm',\n isInteractive ? 'min-w-8.5 group' : 'min-w-8.5 h-8',\n classNames?.[UI.Day],\n ),\n [UI.DayButton]: cn(\n 'group-[.is-outside]:text-muted-foreground hover:not-disabled:not-group-aria-selected:bg-secondary hover:not-disabled:not-group-aria-selected:text-secondary-foreground group-data-today:not-group-aria-selected:bg-secondary group-data-today:not-group-aria-selected:text-secondary-foreground group-aria-selected:not-group-[.is-range-middle]:bg-primary group-aria-selected:not-group-[.is-range-middle]:text-primary-foreground size-8 rounded-lg transition disabled:opacity-50',\n classNames?.[UI.DayButton],\n ),\n [UI.CaptionLabel]: cn('flex items-center gap-2 [&>svg]:opacity-50', classNames?.[UI.CaptionLabel]),\n [UI.Dropdowns]: cn('flex gap-4', classNames?.[UI.Dropdowns]),\n [UI.Dropdown]: cn('absolute opacity-0', classNames?.[UI.Dropdown]),\n [UI.DropdownRoot]: cn('relative', classNames?.[UI.DropdownRoot]),\n [UI.Footer]: cn(classNames?.[UI.Footer]),\n [UI.MonthGrid]: cn(classNames?.[UI.MonthGrid]),\n [UI.MonthCaption]: cn('py-1 text-sm font-medium', classNames?.[UI.MonthCaption]),\n [UI.MonthsDropdown]: cn(classNames?.[UI.MonthsDropdown]),\n [UI.Month]: cn('flex flex-col gap-4', classNames?.[UI.Month]),\n [UI.Months]: cn('relative inline-flex flex-wrap gap-4', classNames?.[UI.Months]),\n [UI.Nav]: cn('absolute end-0 flex gap-2', classNames?.[UI.Nav]),\n [UI.NextMonthButton]: cn(\n buttonVariants({ variant: 'ghost', size: '2xs', icon: true }),\n classNames?.[UI.NextMonthButton],\n ),\n [UI.PreviousMonthButton]: cn(\n buttonVariants({ variant: 'ghost', size: '2xs', icon: true }),\n classNames?.[UI.PreviousMonthButton],\n ),\n [UI.Week]: cn('mt-2 flex justify-between', classNames?.[UI.Week]),\n [UI.Weeks]: cn(classNames?.[UI.Weeks]),\n [UI.Weekday]: cn('text-muted-foreground min-w-8.5 text-xs font-medium', classNames?.[UI.Weekday]),\n [UI.Weekdays]: cn('flex w-full justify-between', classNames?.[UI.Weekdays]),\n [UI.WeekNumber]: cn(\n 'text-muted-foreground min-w-8.5 grid h-8 place-items-center text-xs font-normal [&+*]:rounded-l-lg',\n classNames?.[UI.WeekNumber],\n ),\n [UI.WeekNumberHeader]: cn('min-w-8.5', classNames?.[UI.WeekNumberHeader]),\n [UI.YearsDropdown]: cn(classNames?.[UI.YearsDropdown]),\n\n [SelectionState.range_end]: cn(\n 'to-secondary is-range-end rounded-r-lg bg-gradient-to-l first:rounded-l-lg',\n classNames?.[SelectionState.range_end],\n ),\n [SelectionState.range_middle]: cn(\n 'is-range-middle bg-secondary text-secondary-foreground first:rounded-l-lg last:rounded-r-lg',\n classNames?.[SelectionState.range_middle],\n ),\n [SelectionState.range_start]: cn(\n 'to-secondary is-range-start rounded-l-lg bg-gradient-to-r last:rounded-r-lg',\n classNames?.[SelectionState.range_start],\n ),\n [SelectionState.selected]: cn('is-selected', classNames?.[SelectionState.selected]),\n\n [DayFlag.disabled]: cn('is-disabled', classNames?.[DayFlag.disabled]),\n [DayFlag.focused]: cn('is-focused', classNames?.[DayFlag.focused]),\n [DayFlag.hidden]: cn('is-hidden size-8', classNames?.[DayFlag.hidden]),\n [DayFlag.outside]: cn('is-outside', classNames?.[DayFlag.outside]),\n [DayFlag.today]: cn('is-today', classNames?.[DayFlag.today]),\n }}\n components={{\n Chevron,\n }}\n showOutsideDays={showOutsideDays}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CalendarRangeLabel\n * -------------------------------------------------------------------------- */\n\ninterface CalendarRangeLabelProps {\n date: DateRange | undefined;\n formatStr?: string;\n placeholder?: string;\n}\n\nfunction CalendarRangeLabel({\n date,\n formatStr = 'LLL dd, y',\n placeholder = 'Pick a date',\n}: CalendarRangeLabelProps): ReactNode {\n if (!date?.from) {\n return <span className=\"truncate\">{placeholder}</span>;\n }\n\n const formattedFromDate = format(date.from, formatStr);\n\n if (!date.to) {\n return <span className=\"truncate\">{formattedFromDate}</span>;\n }\n\n const formattedToDate = format(date.to, formatStr);\n\n return (\n <span className=\"truncate\">\n {formattedFromDate} - {formattedToDate}\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CalendarLabel\n * -------------------------------------------------------------------------- */\n\ninterface CalendarLabelProps {\n date: Date | undefined;\n formatStr?: string;\n placeholder?: string;\n}\n\nfunction CalendarLabel({ date, formatStr = 'PPP', placeholder = 'Pick a date' }: CalendarLabelProps): ReactNode {\n if (!date) {\n return <span className=\"truncate\">{placeholder}</span>;\n }\n\n return <span className=\"truncate\">{format(date, formatStr)}</span>;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { DateRange, Matcher } from 'react-day-picker';\nexport type { CalendarLabelProps, CalendarProps, CalendarRangeLabelProps };\nexport { Calendar, CalendarLabel, CalendarRangeLabel };\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _jsxruntime = require('react/jsx-runtime');function r({className:o,...t}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-muted animate-pulse rounded-lg",o),...t})}exports.a = r;
2
- //# sourceMappingURL=chunk-UGCN3YGM.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-UGCN3YGM.cjs","../src/components/skeleton.tsx"],"names":["Skeleton","className","props","jsx","cn"],"mappings":"AAAA,iIAAwC,+CCW/B,SADAA,CAAAA,CAAS,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA+B,CACrE,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,mCAAG,CAAqCH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CACxF,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-UGCN3YGM.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\ntype SkeletonProps = ComponentProps<'div'>;\n\nfunction Skeleton({ className, ...props }: SkeletonProps): JSX.Element {\n return <div className={cn('bg-muted animate-pulse rounded-lg', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { SkeletonProps };\nexport { Skeleton };\n"]}
@@ -1,2 +0,0 @@
1
- import{Slot as e}from"@radix-ui/react-slot";import{jsx as p}from"react/jsx-runtime";function m({asChild:o,...t}){return p(o?e:"p",{...t})}export{m as a};
2
- //# sourceMappingURL=chunk-UHEK23BA.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/text.tsx"],"names":["Slot","jsx","Text","asChild","props"],"mappings":"AAEA,OAAS,QAAAA,MAAY,uBAaZ,cAAAC,MAAA,oBAHT,SAASC,EAAK,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAA2B,CAG3D,OAAOH,EAFWE,EAAUH,EAAO,IAE3B,CAAW,GAAGI,EAAO,CAC/B","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Text\n * -------------------------------------------------------------------------- */\n\ninterface TextProps extends ComponentProps<'p'> {\n asChild?: boolean;\n}\n\nfunction Text({ asChild, ...props }: TextProps): JSX.Element {\n const Component = asChild ? Slot : 'p';\n\n return <Component {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { TextProps };\nexport { Text };\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _tailwindvariants = require('tailwind-variants');var _jsxruntime = require('react/jsx-runtime');var i=_tailwindvariants.tv.call(void 0, {base:"relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[--spacing(4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",variants:{variant:{default:"bg-background text-foreground",destructive:"text-destructive *:data-[slot=alert-description]:text-destructive/80 [&>svg]:text-current"}},defaultVariants:{variant:"default"}});function p({className:t,variant:r,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:i({className:t,variant:r}),"data-slot":"alert",role:"alert",...e})}function d({children:t,className:r,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",r),"data-slot":"alert-title",...e,children:t})}function c({className:t,...r}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",t),"data-slot":"alert-description",...r})}exports.a = p; exports.b = d; exports.c = c;
2
- //# sourceMappingURL=chunk-ULMXMC44.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-ULMXMC44.cjs","../src/components/alert.tsx"],"names":["alertVariants","tv","Alert","className","variant","props","jsx","AlertTitle","children","cn","AlertDescription"],"mappings":"AAAA,iIAAmC,qDCGhB,+CA8BV,IAtBHA,CAAAA,CAAgBC,kCAAAA,CACpB,IAAA,CAAM,yNAAA,CACN,QAAA,CAAU,CACR,OAAA,CAAS,CACP,OAAA,CAAS,+BAAA,CACT,WAAA,CAAa,2FACf,CACF,CAAA,CACA,eAAA,CAAiB,CACf,OAAA,CAAS,SACX,CACF,CAAC,CAAA,CAUD,SAASC,CAAAA,CAAM,CAAE,SAAA,CAAAC,CAAAA,CAAW,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAA4B,CACxE,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWN,CAAAA,CAAc,CAAE,SAAA,CAAAG,CAAAA,CAAW,OAAA,CAAAC,CAAQ,CAAC,CAAA,CAAG,WAAA,CAAU,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAS,GAAGC,CAAAA,CAAO,CAC1G,CAQA,SAASE,CAAAA,CAAW,CAAE,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAL,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAiC,CACnF,OACEC,6BAAAA,KAAC,CAAA,CACC,SAAA,CAAWG,iCAAAA,6DAAG,CAA+DN,CAAS,CAAA,CACtF,WAAA,CAAU,aAAA,CACT,GAAGE,CAAAA,CAEH,QAAA,CAAAG,CAAAA,CACH,CAEJ,CAQA,SAASE,CAAAA,CAAiB,CAAE,SAAA,CAAAP,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAuC,CACrF,OACEC,6BAAAA,KAAC,CAAA,CACC,SAAA,CAAWG,iCAAAA,gGACT,CACAN,CACF,CAAA,CACA,WAAA,CAAU,mBAAA,CACT,GAAGE,CAAAA,CACN,CAEJ,CAAA,4CAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-ULMXMC44.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\nimport type { VariantProps } from 'tailwind-variants';\n\nimport { tv } from 'tailwind-variants';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: Alert\n * -------------------------------------------------------------------------- */\n\nconst alertVariants = tv({\n base: 'relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[--spacing(4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current',\n variants: {\n variant: {\n default: 'bg-background text-foreground',\n destructive: 'text-destructive *:data-[slot=alert-description]:text-destructive/80 [&>svg]:text-current',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype AlertVariantsProps = VariantProps<typeof alertVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Alert\n * -------------------------------------------------------------------------- */\n\ntype AlertProps = AlertVariantsProps & ComponentProps<'div'>;\n\nfunction Alert({ className, variant, ...props }: AlertProps): JSX.Element {\n return <div className={alertVariants({ className, variant })} data-slot=\"alert\" role=\"alert\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertTitleProps = ComponentProps<'div'>;\n\nfunction AlertTitle({ children, className, ...props }: AlertTitleProps): JSX.Element {\n return (\n <div\n className={cn('col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight', className)}\n data-slot=\"alert-title\"\n {...props}\n >\n {children}\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDescriptionProps = ComponentProps<'div'>;\n\nfunction AlertDescription({ className, ...props }: AlertDescriptionProps): JSX.Element {\n return (\n <div\n className={cn(\n 'text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed',\n className,\n )}\n data-slot=\"alert-description\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { AlertDescriptionProps, AlertProps, AlertTitleProps };\nexport { Alert, AlertDescription, AlertTitle };\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactradiogroup = require('@radix-ui/react-radio-group'); var o = _interopRequireWildcard(_reactradiogroup);var _jsxruntime = require('react/jsx-runtime');function s({className:r,...e}){return _jsxruntime.jsx.call(void 0, o.Root,{className:_chunkSMJEDCFPcjs.a.call(void 0, "grid gap-2",r),...e})}function d({className:r,...e}){return _jsxruntime.jsx.call(void 0, o.Item,{className:_chunkSMJEDCFPcjs.a.call(void 0, "border-secondary hover:not-disabled:bg-secondary focus-visible:ring-ring focus-visible:border-ring focus-visible:ring-3 aria-checked:border-primary group peer flex items-center justify-center rounded-lg border-2 p-4 transition focus-visible:outline-none disabled:opacity-50",r),...e})}exports.a = s; exports.b = d;
2
- //# sourceMappingURL=chunk-UN2HW6UN.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-UN2HW6UN.cjs","../src/components/radio-cards.tsx"],"names":["RadioCards","className","props","jsx","cn","RadioCardsItem"],"mappings":"AAAA,mZAAwC,iHCEH,+CAW5B,SADAA,CAAAA,CAAW,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAiC,CACzE,OAAOC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CAAyB,SAAA,CAAWC,iCAAAA,YAAG,CAAcH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CACtF,CAQA,SAASG,CAAAA,CAAe,CAAE,SAAA,CAAAJ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAqC,CACjF,OACEC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CACC,SAAA,CAAWC,iCAAAA,mRACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEJ,CAAA,6BAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-UN2HW6UN.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCards\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsProps = ComponentProps<typeof RadioGroupPrimitive.Root>;\n\nfunction RadioCards({ className, ...props }: RadioCardsProps): JSX.Element {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCardsItem\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsItemProps = ComponentProps<typeof RadioGroupPrimitive.Item>;\n\nfunction RadioCardsItem({ className, ...props }: RadioCardsItemProps): JSX.Element {\n return (\n <RadioGroupPrimitive.Item\n className={cn(\n 'border-secondary hover:not-disabled:bg-secondary focus-visible:ring-ring focus-visible:border-ring focus-visible:ring-3 aria-checked:border-primary group peer flex items-center justify-center rounded-lg border-2 p-4 transition focus-visible:outline-none disabled:opacity-50',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { RadioCardsItemProps, RadioCardsProps };\nexport { RadioCards, RadioCardsItem };\n"]}
@@ -1,2 +0,0 @@
1
- import{a as s}from"./chunk-OKUFCFYT.js";import*as t from"@radix-ui/react-tabs";import{jsx as o}from"react/jsx-runtime";var n=t.Root;function a({className:e,...i}){return o(t.List,{className:s("bg-muted text-muted-foreground inline-flex h-10 items-center justify-center gap-1 rounded-lg p-1",e),...i})}function p({className:e,...i}){return o(t.Trigger,{className:s("data-[state=active]:bg-background data-[state=active]:text-foreground focus-visible:ring-ring focus-visible:ring-3 inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium outline-transparent transition-all focus-visible:outline-none disabled:opacity-50 data-[state=active]:shadow-sm",e),...i})}function m({className:e,...i}){return o(t.Content,{className:s("focus-visible:ring-ring focus-visible:ring-3 mt-2 rounded-lg focus-visible:outline-none",e),...i})}export{n as a,a as b,p as c,m as d};
2
- //# sourceMappingURL=chunk-UQ5VJMRW.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/tabs.tsx"],"names":["TabsPrimitive","jsx","Tabs","TabsList","className","props","cn","TabsTrigger","TabsContent"],"mappings":"wCAEA,UAAYA,MAAmB,uBAmB3B,cAAAC,MAAA,oBAVJ,IAAMC,EAAqB,OAQ3B,SAASC,EAAS,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAA+B,CACrE,OACEJ,EAAe,OAAd,CACC,UAAWK,EACT,mGACAF,CACF,EACC,GAAGC,EACN,CAEJ,CAQA,SAASE,EAAY,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAkC,CAC3E,OACEJ,EAAe,UAAd,CACC,UAAWK,EACT,0UACAF,CACF,EACC,GAAGC,EACN,CAEJ,CAQA,SAASG,EAAY,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAkC,CAC3E,OACEJ,EAAe,UAAd,CACC,UAAWK,EACT,0FACAF,CACF,EACC,GAAGC,EACN,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Tabs\n * -------------------------------------------------------------------------- */\n\ntype TabsProps = ComponentProps<typeof TabsPrimitive.Root>;\nconst Tabs = TabsPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: TabsList\n * -------------------------------------------------------------------------- */\n\ntype TabsListProps = ComponentProps<typeof TabsPrimitive.List>;\n\nfunction TabsList({ className, ...props }: TabsListProps): JSX.Element {\n return (\n <TabsPrimitive.List\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-10 items-center justify-center gap-1 rounded-lg p-1',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TabsTrigger\n * -------------------------------------------------------------------------- */\n\ntype TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>;\n\nfunction TabsTrigger({ className, ...props }: TabsTriggerProps): JSX.Element {\n return (\n <TabsPrimitive.Trigger\n className={cn(\n 'data-[state=active]:bg-background data-[state=active]:text-foreground focus-visible:ring-ring focus-visible:ring-3 inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium outline-transparent transition-all focus-visible:outline-none disabled:opacity-50 data-[state=active]:shadow-sm',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TabsContent\n * -------------------------------------------------------------------------- */\n\ntype TabsContentProps = ComponentProps<typeof TabsPrimitive.Content>;\n\nfunction TabsContent({ className, ...props }: TabsContentProps): JSX.Element {\n return (\n <TabsPrimitive.Content\n className={cn(\n 'focus-visible:ring-ring focus-visible:ring-3 mt-2 rounded-lg focus-visible:outline-none',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps };\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/em.tsx"],"names":["Em","asChild","props","jsx","Slot"],"mappings":"AAEA,0HAAqB,+CAaZ,SAHAA,CAAAA,CAAG,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAyB,CAGvD,OAAOC,6BAAAA,CAFWF,CAAUG,eAAAA,CAAO,IAAA,CAE3B,CAAW,GAAGF,CAAAA,CAAO,CAC/B,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-UZN2GPZF.cjs","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Em\n * -------------------------------------------------------------------------- */\n\ninterface EmProps extends ComponentProps<'em'> {\n asChild?: boolean;\n}\n\nfunction Em({ asChild, ...props }: EmProps): JSX.Element {\n const Component = asChild ? Slot : 'em';\n\n return <Component {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { EmProps };\nexport { Em };\n"]}
@@ -1,2 +0,0 @@
1
- import{a as e}from"./chunk-OKUFCFYT.js";import*as o from"@radix-ui/react-radio-group";import{jsx as t}from"react/jsx-runtime";function a({className:i,...r}){return t(o.Root,{className:e("grid gap-2",i),...r})}function d({className:i,...r}){return t(o.Item,{className:e("border-input hover:not-disabled:not-aria-checked:border-input-hover focus-visible:ring-ring focus-visible:ring-3 aria-checked:border-primary aria-checked:bg-primary not-disabled:shadow-xs peer inline-flex size-4 shrink-0 items-center justify-center rounded-full border transition focus-visible:outline-none disabled:opacity-50",i),...r,children:t(o.Indicator,{className:"bg-background size-1 rounded-full"})})}export{a,d as b};
2
- //# sourceMappingURL=chunk-V2AYLOM5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/radio-group.tsx"],"names":["RadioGroupPrimitive","jsx","RadioGroup","className","props","cn","RadioGroupItem"],"mappings":"wCAEA,UAAYA,MAAyB,8BAW5B,cAAAC,MAAA,oBADT,SAASC,EAAW,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAiC,CACzE,OAAOH,EAAqB,OAApB,CAAyB,UAAWI,EAAG,aAAcF,CAAS,EAAI,GAAGC,EAAO,CACtF,CAQA,SAASE,EAAe,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAqC,CACjF,OACEH,EAAqB,OAApB,CACC,UAAWI,EACT,yUACAF,CACF,EACC,GAAGC,EAEJ,SAAAH,EAAqB,YAApB,CAA8B,UAAU,oCAAoC,EAC/E,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroup\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupProps = ComponentProps<typeof RadioGroupPrimitive.Root>;\n\nfunction RadioGroup({ className, ...props }: RadioGroupProps): JSX.Element {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroupItem\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupItemProps = ComponentProps<typeof RadioGroupPrimitive.Item>;\n\nfunction RadioGroupItem({ className, ...props }: RadioGroupItemProps): JSX.Element {\n return (\n <RadioGroupPrimitive.Item\n className={cn(\n 'border-input hover:not-disabled:not-aria-checked:border-input-hover focus-visible:ring-ring focus-visible:ring-3 aria-checked:border-primary aria-checked:bg-primary not-disabled:shadow-xs peer inline-flex size-4 shrink-0 items-center justify-center rounded-full border transition focus-visible:outline-none disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"bg-background size-1 rounded-full\" />\n </RadioGroupPrimitive.Item>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { RadioGroupItemProps, RadioGroupProps };\nexport { RadioGroup, RadioGroupItem };\n"]}
@@ -1,2 +0,0 @@
1
- import{a as i}from"./chunk-OKUFCFYT.js";import*as o from"@radix-ui/react-accordion";import{Slot as c}from"@radix-ui/react-slot";import{ChevronRightIcon as s}from"lucide-react";import{jsx as e}from"react/jsx-runtime";var a=o.Root,P=o.Item;function A({asChild:t,className:r,...n}){return t?e(c,{className:i("text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-90",r),...n}):e(s,{"aria-hidden":!0,className:i("text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-90",r)})}function l({className:t,...r}){return e(o.Header,{className:"flex",children:e(o.Trigger,{className:i("focus-visible:ring-ring focus-visible:ring-3 group flex grow items-center gap-2 py-4 text-left text-sm font-medium focus-visible:outline-none",t),...r})})}function f({children:t,className:r,...n}){return e(o.Content,{className:"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden",...n,children:e("div",{className:i("pb-4 pt-0 text-sm",r),children:t})})}export{a,P as b,A as c,l as d,f as e};
2
- //# sourceMappingURL=chunk-V3KAJCT6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/accordion.tsx"],"names":["AccordionPrimitive","Slot","ChevronRightIcon","jsx","Accordion","AccordionItem","AccordionIcon","asChild","className","props","cn","AccordionTrigger","AccordionContent","children"],"mappings":"wCAEA,UAAYA,MAAwB,4BACpC,OAAS,QAAAC,MAAY,uBACrB,OAAS,oBAAAC,MAAwB,eA8B3B,cAAAC,MAAA,oBArBN,IAAMC,EAA+B,OAO/BC,EAAmC,OAWzC,SAASC,EAAc,CAAE,QAAAC,EAAS,UAAAC,EAAW,GAAGC,CAAM,EAAoC,CACxF,OAAIF,EAEAJ,EAACF,EAAA,CACC,UAAWS,EAAG,qFAAsFF,CAAS,EAC5G,GAAGC,EACN,EAKFN,EAACD,EAAA,CACC,cAAW,GACX,UAAWQ,EAAG,qFAAsFF,CAAS,EAC/G,CAEJ,CAQA,SAASG,EAAiB,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAuC,CACrF,OACEN,EAAoB,SAAnB,CAA0B,UAAU,OACnC,SAAAA,EAAoB,UAAnB,CACC,UAAWO,EACT,gJACAF,CACF,EACC,GAAGC,EACN,EACF,CAEJ,CAQA,SAASG,EAAiB,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAuC,CAC/F,OACEN,EAAoB,UAAnB,CACC,UAAU,4GACT,GAAGM,EAEJ,SAAAN,EAAC,OAAI,UAAWO,EAAG,oBAAqBF,CAAS,EAAI,SAAAK,EAAS,EAChE,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion';\nimport { Slot } from '@radix-ui/react-slot';\nimport { ChevronRightIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Accordion\n * -------------------------------------------------------------------------- */\n\ntype AccordionProps = ComponentProps<typeof AccordionPrimitive.Root>;\nconst Accordion = AccordionPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionItem\n * -------------------------------------------------------------------------- */\n\ntype AccordionItemProps = ComponentProps<typeof AccordionPrimitive.Item>;\nconst AccordionItem = AccordionPrimitive.Item;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionIcon\n * -------------------------------------------------------------------------- */\n\ninterface AccordionIconProps extends ComponentProps<typeof Slot> {\n asChild?: boolean;\n className?: string;\n}\n\nfunction AccordionIcon({ asChild, className, ...props }: AccordionIconProps): JSX.Element {\n if (asChild) {\n return (\n <Slot\n className={cn('text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-90', className)}\n {...props}\n />\n );\n }\n\n return (\n <ChevronRightIcon\n aria-hidden\n className={cn('text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-90', className)}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionTrigger\n * -------------------------------------------------------------------------- */\n\ntype AccordionTriggerProps = ComponentProps<typeof AccordionPrimitive.Trigger>;\n\nfunction AccordionTrigger({ className, ...props }: AccordionTriggerProps): JSX.Element {\n return (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n className={cn(\n 'focus-visible:ring-ring focus-visible:ring-3 group flex grow items-center gap-2 py-4 text-left text-sm font-medium focus-visible:outline-none',\n className,\n )}\n {...props}\n />\n </AccordionPrimitive.Header>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionContent\n * -------------------------------------------------------------------------- */\n\ntype AccordionContentProps = ComponentProps<typeof AccordionPrimitive.Content>;\n\nfunction AccordionContent({ children, className, ...props }: AccordionContentProps): JSX.Element {\n return (\n <AccordionPrimitive.Content\n className=\"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden\"\n {...props}\n >\n <div className={cn('pb-4 pt-0 text-sm', className)}>{children}</div>\n </AccordionPrimitive.Content>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { AccordionContentProps, AccordionIconProps, AccordionItemProps, AccordionProps, AccordionTriggerProps };\nexport { Accordion, AccordionContent, AccordionIcon, AccordionItem, AccordionTrigger };\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _reactslot = require('@radix-ui/react-slot');var _jsxruntime = require('react/jsx-runtime');function P({asChild:o,...e}){return _jsxruntime.jsx.call(void 0, o?_reactslot.Slot:"pre",{...e})}exports.a = P;
2
- //# sourceMappingURL=chunk-VAXPVVJM.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/pre.tsx"],"names":["Pre","asChild","props","jsx","Slot"],"mappings":"AAEA,0HAAqB,+CAaZ,SAHAA,CAAAA,CAAI,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAA0B,CAGzD,OAAOC,6BAAAA,CAFWF,CAAUG,eAAAA,CAAO,KAAA,CAE3B,CAAW,GAAGF,CAAAA,CAAO,CAC/B,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-VAXPVVJM.cjs","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ninterface PreProps extends ComponentProps<'pre'> {\n asChild?: boolean;\n}\n\nfunction Pre({ asChild, ...props }: PreProps): JSX.Element {\n const Component = asChild ? Slot : 'pre';\n\n return <Component {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { PreProps };\nexport { Pre };\n"]}
@@ -1,2 +0,0 @@
1
- import{a as r}from"./chunk-T4YGCOXD.js";import{a as o}from"./chunk-IGCYTKJ7.js";import*as t from"@codefast-ui/input";import{jsx as p}from"react/jsx-runtime";var{input:l,root:d}=r();function x({className:n,disabled:i,inputSize:e,loaderPosition:s,loading:m,prefix:a,readOnly:u,spinner:I,suffix:P,...f}){return p(t.Root,{className:d({className:n,inputSize:e}),disabled:i,loaderPosition:s,loading:m,prefix:a,readOnly:u,spinner:I||p(o,{}),suffix:P,children:p(t.Item,{className:l({inputSize:e}),...f})})}var v=x;export{x as a,v as b};
2
- //# sourceMappingURL=chunk-VKG6MFL3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/input.tsx"],"names":["InputPrimitive","jsx","input","root","inputVariants","Input","className","disabled","inputSize","loaderPosition","loading","prefix","readOnly","spinner","suffix","props","Spinner","TextInput"],"mappings":"gFAEA,UAAYA,MAAoB,qBAyDN,cAAAC,MAAA,oBA9C1B,GAAM,CAAE,MAAAC,EAAO,KAAAC,CAAK,EAAIC,EAAc,EA0BtC,SAASC,EAAM,CACb,UAAAC,EACA,SAAAC,EACA,UAAAC,EACA,eAAAC,EACA,QAAAC,EACA,OAAAC,EACA,SAAAC,EACA,QAAAC,EACA,OAAAC,EACA,GAAGC,CACL,EAA4B,CAC1B,OACEd,EAAgB,OAAf,CACC,UAAWE,EAAK,CAAE,UAAAG,EAAW,UAAAE,CAAU,CAAC,EACxC,SAAUD,EACV,eAAgBE,EAChB,QAASC,EACT,OAAQC,EACR,SAAUC,EACV,QAASC,GAAWZ,EAACe,EAAA,EAAQ,EAC7B,OAAQF,EAER,SAAAb,EAAgB,OAAf,CAAoB,UAAWC,EAAM,CAAE,UAAAM,CAAU,CAAC,EAAI,GAAGO,EAAO,EACnE,CAEJ,CAkBA,IAAME,EAAYZ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as InputPrimitive from '@codefast-ui/input';\n\nimport type { InputVariantsProps } from '@/variants/input.variants';\n\nimport { Spinner } from '@/components/spinner';\nimport { inputVariants } from '@/variants/input.variants';\n\n/* -----------------------------------------------------------------------------\n * Variant: Input\n * -------------------------------------------------------------------------- */\n\nconst { input, root } = inputVariants();\n\n/* -----------------------------------------------------------------------------\n * Component: Input\n * -------------------------------------------------------------------------- */\n\ninterface InputProps\n extends InputVariantsProps,\n ComponentProps<typeof InputPrimitive.Root>,\n Omit<ComponentProps<typeof InputPrimitive.Item>, 'prefix' | 'type'> {\n type?:\n | 'date'\n | 'datetime-local'\n | 'email'\n | 'file'\n | 'month'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'\n | 'week';\n}\n\nfunction Input({\n className,\n disabled,\n inputSize,\n loaderPosition,\n loading,\n prefix,\n readOnly,\n spinner,\n suffix,\n ...props\n}: InputProps): JSX.Element {\n return (\n <InputPrimitive.Root\n className={root({ className, inputSize })}\n disabled={disabled}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix}\n readOnly={readOnly}\n spinner={spinner || <Spinner />}\n suffix={suffix}\n >\n <InputPrimitive.Item className={input({ inputSize })} {...props} />\n </InputPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Deprecated\n * -------------------------------------------------------------------------- */\n\n/**\n * @deprecated\n * This type is an alias of the InputProps type.\n * Please use the InputProps type instead to ensure consistency.\n */\ntype TextInputProps = InputProps;\n\n/**\n * @deprecated\n * This component is an alias of the Input component.\n * Please use the Input component instead to ensure consistency.\n */\nconst TextInput = Input;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport type { InputProps, TextInputProps };\nexport { Input, TextInput };\n"]}