@next-degree/pickle-shared-js 0.13.0 → 0.13.4

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 (643) hide show
  1. package/dist/chunk-2FGZQI42.js +11 -0
  2. package/dist/chunk-2FGZQI42.js.map +1 -0
  3. package/dist/chunk-325GPWFN.js +24 -0
  4. package/dist/chunk-325GPWFN.js.map +1 -0
  5. package/dist/chunk-37YFXNLL.cjs +46 -0
  6. package/dist/chunk-37YFXNLL.cjs.map +1 -0
  7. package/dist/chunk-3BGXWNKI.cjs +26 -0
  8. package/dist/chunk-3BGXWNKI.cjs.map +1 -0
  9. package/dist/chunk-3CI6PTKT.cjs +82 -0
  10. package/dist/chunk-3CI6PTKT.cjs.map +1 -0
  11. package/dist/chunk-3PARXYUI.cjs +86 -0
  12. package/dist/chunk-3PARXYUI.cjs.map +1 -0
  13. package/dist/chunk-3VIRJK7I.js +63 -0
  14. package/dist/chunk-3VIRJK7I.js.map +1 -0
  15. package/dist/chunk-47H3M7TP.js +72 -0
  16. package/dist/chunk-47H3M7TP.js.map +1 -0
  17. package/dist/chunk-4E3ANVRR.js +35 -0
  18. package/dist/chunk-4E3ANVRR.js.map +1 -0
  19. package/dist/chunk-4GDAUTH4.cjs +112 -0
  20. package/dist/chunk-4GDAUTH4.cjs.map +1 -0
  21. package/dist/chunk-4IJ5TMHI.js +20 -0
  22. package/dist/chunk-4IJ5TMHI.js.map +1 -0
  23. package/dist/chunk-4KXEHU2Z.js +142 -0
  24. package/dist/chunk-4KXEHU2Z.js.map +1 -0
  25. package/dist/chunk-4NEPWF3Z.js +152 -0
  26. package/dist/chunk-4NEPWF3Z.js.map +1 -0
  27. package/dist/chunk-4OJ7NEZU.js +107 -0
  28. package/dist/chunk-4OJ7NEZU.js.map +1 -0
  29. package/dist/chunk-4RVGUZNF.js +72 -0
  30. package/dist/chunk-4RVGUZNF.js.map +1 -0
  31. package/dist/chunk-4TLLJ52E.cjs +28 -0
  32. package/dist/chunk-4TLLJ52E.cjs.map +1 -0
  33. package/dist/chunk-4TP4NYO2.js +41 -0
  34. package/dist/chunk-4TP4NYO2.js.map +1 -0
  35. package/dist/chunk-567FG76G.cjs +39 -0
  36. package/dist/chunk-567FG76G.cjs.map +1 -0
  37. package/dist/chunk-5H35ZVLR.js +43 -0
  38. package/dist/chunk-5H35ZVLR.js.map +1 -0
  39. package/dist/chunk-5H75FIY2.cjs +64 -0
  40. package/dist/chunk-5H75FIY2.cjs.map +1 -0
  41. package/dist/chunk-5QXQ2LBB.cjs +4 -0
  42. package/dist/chunk-5QXQ2LBB.cjs.map +1 -0
  43. package/dist/chunk-5REFGTWO.js +87 -0
  44. package/dist/chunk-5REFGTWO.js.map +1 -0
  45. package/dist/chunk-5RH3VTNV.js +81 -0
  46. package/dist/chunk-5RH3VTNV.js.map +1 -0
  47. package/dist/chunk-5Z4ILTRD.js +48 -0
  48. package/dist/chunk-5Z4ILTRD.js.map +1 -0
  49. package/dist/chunk-7CKQ3FSB.js +24 -0
  50. package/dist/chunk-7CKQ3FSB.js.map +1 -0
  51. package/dist/chunk-7VHZCQL3.js +30 -0
  52. package/dist/chunk-7VHZCQL3.js.map +1 -0
  53. package/dist/chunk-7X6S7GJK.cjs +11 -0
  54. package/dist/chunk-7X6S7GJK.cjs.map +1 -0
  55. package/dist/chunk-A46BJOVJ.cjs +71 -0
  56. package/dist/chunk-A46BJOVJ.cjs.map +1 -0
  57. package/dist/chunk-A7E5UPEP.cjs +36 -0
  58. package/dist/chunk-A7E5UPEP.cjs.map +1 -0
  59. package/dist/chunk-A7MLO6YN.cjs +109 -0
  60. package/dist/chunk-A7MLO6YN.cjs.map +1 -0
  61. package/dist/chunk-AB3775NI.cjs +93 -0
  62. package/dist/chunk-AB3775NI.cjs.map +1 -0
  63. package/dist/chunk-AMNEAWA7.cjs +59 -0
  64. package/dist/chunk-AMNEAWA7.cjs.map +1 -0
  65. package/dist/chunk-AQ54YTF2.js +80 -0
  66. package/dist/chunk-AQ54YTF2.js.map +1 -0
  67. package/dist/chunk-CDQM72QX.cjs +46 -0
  68. package/dist/chunk-CDQM72QX.cjs.map +1 -0
  69. package/dist/chunk-CIFWAE4A.js +39 -0
  70. package/dist/chunk-CIFWAE4A.js.map +1 -0
  71. package/dist/chunk-CUICNKLS.cjs +42 -0
  72. package/dist/chunk-CUICNKLS.cjs.map +1 -0
  73. package/dist/chunk-D5CBPEAR.js +67 -0
  74. package/dist/chunk-D5CBPEAR.js.map +1 -0
  75. package/dist/chunk-DGDBIRAA.js +118 -0
  76. package/dist/chunk-DGDBIRAA.js.map +1 -0
  77. package/dist/chunk-DHB467LV.js +34 -0
  78. package/dist/chunk-DHB467LV.js.map +1 -0
  79. package/dist/chunk-DU5OQA67.cjs +49 -0
  80. package/dist/chunk-DU5OQA67.cjs.map +1 -0
  81. package/dist/chunk-DVSHUNGT.cjs +49 -0
  82. package/dist/chunk-DVSHUNGT.cjs.map +1 -0
  83. package/dist/chunk-E5S6MGBJ.cjs +51 -0
  84. package/dist/chunk-E5S6MGBJ.cjs.map +1 -0
  85. package/dist/chunk-EAFZZSYR.js +69 -0
  86. package/dist/chunk-EAFZZSYR.js.map +1 -0
  87. package/dist/chunk-EBKY3MJH.cjs +72 -0
  88. package/dist/chunk-EBKY3MJH.cjs.map +1 -0
  89. package/dist/chunk-EG7G3RZ2.cjs +79 -0
  90. package/dist/chunk-EG7G3RZ2.cjs.map +1 -0
  91. package/dist/chunk-FMST4EVC.js +11 -0
  92. package/dist/chunk-FMST4EVC.js.map +1 -0
  93. package/dist/chunk-FOJTLQJO.js +152 -0
  94. package/dist/chunk-FOJTLQJO.js.map +1 -0
  95. package/dist/chunk-FRXKCHZ7.cjs +50 -0
  96. package/dist/chunk-FRXKCHZ7.cjs.map +1 -0
  97. package/dist/chunk-FSMBDLNU.js +34 -0
  98. package/dist/chunk-FSMBDLNU.js.map +1 -0
  99. package/dist/chunk-G5ERI2MS.js +59 -0
  100. package/dist/chunk-G5ERI2MS.js.map +1 -0
  101. package/dist/chunk-GK3QI7HQ.js +49 -0
  102. package/dist/chunk-GK3QI7HQ.js.map +1 -0
  103. package/dist/chunk-GN3JZCM3.cjs +99 -0
  104. package/dist/chunk-GN3JZCM3.cjs.map +1 -0
  105. package/dist/chunk-GP5XW2ZR.cjs +36 -0
  106. package/dist/chunk-GP5XW2ZR.cjs.map +1 -0
  107. package/dist/chunk-GQNVPLSG.cjs +44 -0
  108. package/dist/chunk-GQNVPLSG.cjs.map +1 -0
  109. package/dist/chunk-GRLH3A6S.js +40 -0
  110. package/dist/chunk-GRLH3A6S.js.map +1 -0
  111. package/dist/chunk-HCXPKYJR.cjs +37 -0
  112. package/dist/chunk-HCXPKYJR.cjs.map +1 -0
  113. package/dist/chunk-HEHLGQ2U.js +198 -0
  114. package/dist/chunk-HEHLGQ2U.js.map +1 -0
  115. package/dist/chunk-HJYGNJD5.js +27 -0
  116. package/dist/chunk-HJYGNJD5.js.map +1 -0
  117. package/dist/chunk-HMKEBIBE.cjs +14 -0
  118. package/dist/chunk-HMKEBIBE.cjs.map +1 -0
  119. package/dist/chunk-HVNR3VXM.js +34 -0
  120. package/dist/chunk-HVNR3VXM.js.map +1 -0
  121. package/dist/chunk-I4H7XREK.js +91 -0
  122. package/dist/chunk-I4H7XREK.js.map +1 -0
  123. package/dist/chunk-IHWVGIDT.cjs +86 -0
  124. package/dist/chunk-IHWVGIDT.cjs.map +1 -0
  125. package/dist/chunk-IVPCYGXE.cjs +20 -0
  126. package/dist/chunk-IVPCYGXE.cjs.map +1 -0
  127. package/dist/chunk-J5GVGJZA.js +23 -0
  128. package/dist/chunk-J5GVGJZA.js.map +1 -0
  129. package/dist/chunk-JDAV6RWN.js +26 -0
  130. package/dist/chunk-JDAV6RWN.js.map +1 -0
  131. package/dist/chunk-JZVRCP3M.cjs +411 -0
  132. package/dist/chunk-JZVRCP3M.cjs.map +1 -0
  133. package/dist/chunk-K3653KJ6.js +11 -0
  134. package/dist/chunk-K3653KJ6.js.map +1 -0
  135. package/dist/chunk-K76RPF2X.js +37 -0
  136. package/dist/chunk-K76RPF2X.js.map +1 -0
  137. package/dist/chunk-KH3K3OI4.cjs +86 -0
  138. package/dist/chunk-KH3K3OI4.cjs.map +1 -0
  139. package/dist/chunk-KR33HZBW.js +31 -0
  140. package/dist/chunk-KR33HZBW.js.map +1 -0
  141. package/dist/chunk-KWIGG26N.js +3 -0
  142. package/dist/chunk-KWIGG26N.js.map +1 -0
  143. package/dist/chunk-KZBS5RNE.js +41 -0
  144. package/dist/chunk-KZBS5RNE.js.map +1 -0
  145. package/dist/chunk-L4SZQQK6.cjs +171 -0
  146. package/dist/chunk-L4SZQQK6.cjs.map +1 -0
  147. package/dist/chunk-L56JW56Y.cjs +129 -0
  148. package/dist/chunk-L56JW56Y.cjs.map +1 -0
  149. package/dist/chunk-LQPOFYD3.js +47 -0
  150. package/dist/chunk-LQPOFYD3.js.map +1 -0
  151. package/dist/chunk-LQQ244AY.js +28 -0
  152. package/dist/chunk-LQQ244AY.js.map +1 -0
  153. package/dist/chunk-LRBADBNS.cjs +23 -0
  154. package/dist/chunk-LRBADBNS.cjs.map +1 -0
  155. package/dist/chunk-LUCDLADP.cjs +49 -0
  156. package/dist/chunk-LUCDLADP.cjs.map +1 -0
  157. package/dist/chunk-LUFPA3WC.cjs +93 -0
  158. package/dist/chunk-LUFPA3WC.cjs.map +1 -0
  159. package/dist/chunk-M3HMXHAL.cjs +266 -0
  160. package/dist/chunk-M3HMXHAL.cjs.map +1 -0
  161. package/dist/chunk-MDLLVPLD.cjs +35 -0
  162. package/dist/chunk-MDLLVPLD.cjs.map +1 -0
  163. package/dist/chunk-MGWZXPMF.cjs +13 -0
  164. package/dist/chunk-MGWZXPMF.cjs.map +1 -0
  165. package/dist/chunk-NHAD5YHP.js +134 -0
  166. package/dist/chunk-NHAD5YHP.js.map +1 -0
  167. package/dist/chunk-NLGWU2KI.cjs +36 -0
  168. package/dist/chunk-NLGWU2KI.cjs.map +1 -0
  169. package/dist/chunk-NU2XENOZ.js +90 -0
  170. package/dist/chunk-NU2XENOZ.js.map +1 -0
  171. package/dist/chunk-OC2OB575.cjs +200 -0
  172. package/dist/chunk-OC2OB575.cjs.map +1 -0
  173. package/dist/chunk-OT3J7XYM.cjs +120 -0
  174. package/dist/chunk-OT3J7XYM.cjs.map +1 -0
  175. package/dist/chunk-P7CAVAYY.cjs +198 -0
  176. package/dist/chunk-P7CAVAYY.cjs.map +1 -0
  177. package/dist/chunk-PB2N5UFC.js +20 -0
  178. package/dist/chunk-PB2N5UFC.js.map +1 -0
  179. package/dist/chunk-PLL2MFTV.js +26 -0
  180. package/dist/chunk-PLL2MFTV.js.map +1 -0
  181. package/dist/chunk-PLPEZUCB.js +42 -0
  182. package/dist/chunk-PLPEZUCB.js.map +1 -0
  183. package/dist/chunk-PNXBZYED.js +24 -0
  184. package/dist/chunk-PNXBZYED.js.map +1 -0
  185. package/dist/chunk-PONUWUJ7.js +29 -0
  186. package/dist/chunk-PONUWUJ7.js.map +1 -0
  187. package/dist/chunk-PRZZF2EB.js +9 -0
  188. package/dist/chunk-PRZZF2EB.js.map +1 -0
  189. package/dist/chunk-PSRWV7UW.cjs +50 -0
  190. package/dist/chunk-PSRWV7UW.cjs.map +1 -0
  191. package/dist/chunk-PZ5AY32C.js +9 -0
  192. package/dist/chunk-PZ5AY32C.js.map +1 -0
  193. package/dist/chunk-Q7SFCCGT.cjs +11 -0
  194. package/dist/chunk-Q7SFCCGT.cjs.map +1 -0
  195. package/dist/chunk-QDSCHWM3.cjs +64 -0
  196. package/dist/chunk-QDSCHWM3.cjs.map +1 -0
  197. package/dist/chunk-QNVDG3L3.cjs +171 -0
  198. package/dist/chunk-QNVDG3L3.cjs.map +1 -0
  199. package/dist/chunk-RDPMXAQG.cjs +50 -0
  200. package/dist/chunk-RDPMXAQG.cjs.map +1 -0
  201. package/dist/chunk-RIG6I4HV.cjs +49 -0
  202. package/dist/chunk-RIG6I4HV.cjs.map +1 -0
  203. package/dist/chunk-ROBFZCJT.js +176 -0
  204. package/dist/chunk-ROBFZCJT.js.map +1 -0
  205. package/dist/chunk-RYAVZOGW.js +46 -0
  206. package/dist/chunk-RYAVZOGW.js.map +1 -0
  207. package/dist/chunk-SBPJFFRB.js +107 -0
  208. package/dist/chunk-SBPJFFRB.js.map +1 -0
  209. package/dist/chunk-SKMP4FO7.cjs +42 -0
  210. package/dist/chunk-SKMP4FO7.cjs.map +1 -0
  211. package/dist/chunk-SMDQTPJE.cjs +31 -0
  212. package/dist/chunk-SMDQTPJE.cjs.map +1 -0
  213. package/dist/chunk-SPAVM3EE.cjs +95 -0
  214. package/dist/chunk-SPAVM3EE.cjs.map +1 -0
  215. package/dist/chunk-T6O5RJA3.js +91 -0
  216. package/dist/chunk-T6O5RJA3.js.map +1 -0
  217. package/dist/chunk-T7LYMPIA.js +49 -0
  218. package/dist/chunk-T7LYMPIA.js.map +1 -0
  219. package/dist/chunk-TBV7NDAG.cjs +37 -0
  220. package/dist/chunk-TBV7NDAG.cjs.map +1 -0
  221. package/dist/chunk-TCV6N3EK.js +400 -0
  222. package/dist/chunk-TCV6N3EK.js.map +1 -0
  223. package/dist/chunk-TJVXG27I.cjs +13 -0
  224. package/dist/chunk-TJVXG27I.cjs.map +1 -0
  225. package/dist/chunk-U2T647VT.cjs +144 -0
  226. package/dist/chunk-U2T647VT.cjs.map +1 -0
  227. package/dist/chunk-U3D4LL6T.js +54 -0
  228. package/dist/chunk-U3D4LL6T.js.map +1 -0
  229. package/dist/chunk-U6G7EXM6.js +33 -0
  230. package/dist/chunk-U6G7EXM6.js.map +1 -0
  231. package/dist/chunk-USQZOJUG.cjs +121 -0
  232. package/dist/chunk-USQZOJUG.cjs.map +1 -0
  233. package/dist/chunk-UTPXIIHX.js +24 -0
  234. package/dist/chunk-UTPXIIHX.js.map +1 -0
  235. package/dist/chunk-UTYX2NMA.cjs +47 -0
  236. package/dist/chunk-UTYX2NMA.cjs.map +1 -0
  237. package/dist/chunk-V563IKQH.cjs +4 -0
  238. package/dist/chunk-V563IKQH.cjs.map +1 -0
  239. package/dist/chunk-VANX3AQD.js +3 -0
  240. package/dist/chunk-VANX3AQD.js.map +1 -0
  241. package/dist/chunk-VM36U3TK.js +106 -0
  242. package/dist/chunk-VM36U3TK.js.map +1 -0
  243. package/dist/chunk-VUBXXZUL.cjs +22 -0
  244. package/dist/chunk-VUBXXZUL.cjs.map +1 -0
  245. package/dist/chunk-VXNZRGLE.cjs +140 -0
  246. package/dist/chunk-VXNZRGLE.cjs.map +1 -0
  247. package/dist/chunk-VYILTAQR.cjs +51 -0
  248. package/dist/chunk-VYILTAQR.cjs.map +1 -0
  249. package/dist/chunk-W4VQ5YRX.js +45 -0
  250. package/dist/chunk-W4VQ5YRX.js.map +1 -0
  251. package/dist/chunk-W6BMYVY5.js +17 -0
  252. package/dist/chunk-W6BMYVY5.js.map +1 -0
  253. package/dist/chunk-WAZSWGCH.js +47 -0
  254. package/dist/chunk-WAZSWGCH.js.map +1 -0
  255. package/dist/chunk-WPH6SRZT.js +48 -0
  256. package/dist/chunk-WPH6SRZT.js.map +1 -0
  257. package/dist/chunk-WRANITBW.cjs +48 -0
  258. package/dist/chunk-WRANITBW.cjs.map +1 -0
  259. package/dist/chunk-WSDKENUA.cjs +99 -0
  260. package/dist/chunk-WSDKENUA.cjs.map +1 -0
  261. package/dist/chunk-WYSZMCAK.js +12 -0
  262. package/dist/chunk-WYSZMCAK.js.map +1 -0
  263. package/dist/chunk-XAPQTBJR.cjs +45 -0
  264. package/dist/chunk-XAPQTBJR.cjs.map +1 -0
  265. package/dist/chunk-XCYNYXC7.cjs +81 -0
  266. package/dist/chunk-XCYNYXC7.cjs.map +1 -0
  267. package/dist/chunk-XFGURTBJ.js +259 -0
  268. package/dist/chunk-XFGURTBJ.js.map +1 -0
  269. package/dist/chunk-XKKJHTSY.js +77 -0
  270. package/dist/chunk-XKKJHTSY.js.map +1 -0
  271. package/dist/chunk-XUTLQ573.cjs +20 -0
  272. package/dist/chunk-XUTLQ573.cjs.map +1 -0
  273. package/dist/chunk-YB2USB4M.js +17 -0
  274. package/dist/chunk-YB2USB4M.js.map +1 -0
  275. package/dist/chunk-YEYEUQM6.cjs +13 -0
  276. package/dist/chunk-YEYEUQM6.cjs.map +1 -0
  277. package/dist/chunk-YPA6HVCD.cjs +34 -0
  278. package/dist/chunk-YPA6HVCD.cjs.map +1 -0
  279. package/dist/chunk-YUA4DBYT.js +23 -0
  280. package/dist/chunk-YUA4DBYT.js.map +1 -0
  281. package/dist/chunk-Z33TWZHI.js +81 -0
  282. package/dist/chunk-Z33TWZHI.js.map +1 -0
  283. package/dist/chunk-ZBCGHL2Z.cjs +108 -0
  284. package/dist/chunk-ZBCGHL2Z.cjs.map +1 -0
  285. package/dist/chunk-ZC7K3XKN.cjs +51 -0
  286. package/dist/chunk-ZC7K3XKN.cjs.map +1 -0
  287. package/dist/chunk-ZZCTMR2F.cjs +37 -0
  288. package/dist/chunk-ZZCTMR2F.cjs.map +1 -0
  289. package/dist/{company_service_sanity-BzaIPM-N.d.ts → company_service_sanity-ByIKe90u.d.cts} +2085 -2085
  290. package/dist/{company_service_sanity-Zy8TiORb.d.cts → company_service_sanity-DbYwWmnS.d.ts} +2085 -2085
  291. package/dist/components/buttons/BackButton.cjs +11 -153
  292. package/dist/components/buttons/BackButton.cjs.map +1 -1
  293. package/dist/components/buttons/BackButton.js +7 -134
  294. package/dist/components/buttons/BackButton.js.map +1 -1
  295. package/dist/components/company/CompanyBenefits.cjs +10 -31
  296. package/dist/components/company/CompanyBenefits.cjs.map +1 -1
  297. package/dist/components/company/CompanyBenefits.js +3 -8
  298. package/dist/components/company/CompanyBenefits.js.map +1 -1
  299. package/dist/components/company/CompanyInformation.cjs +9 -86
  300. package/dist/components/company/CompanyInformation.cjs.map +1 -1
  301. package/dist/components/company/CompanyInformation.js +4 -53
  302. package/dist/components/company/CompanyInformation.js.map +1 -1
  303. package/dist/components/company/CompanyTake.cjs +10 -122
  304. package/dist/components/company/CompanyTake.cjs.map +1 -1
  305. package/dist/components/company/CompanyTake.js +6 -91
  306. package/dist/components/company/CompanyTake.js.map +1 -1
  307. package/dist/components/jobCard/JobLocation.cjs +11 -151
  308. package/dist/components/jobCard/JobLocation.cjs.map +1 -1
  309. package/dist/components/jobCard/JobLocation.d.cts +1 -1
  310. package/dist/components/jobCard/JobLocation.d.ts +1 -1
  311. package/dist/components/jobCard/JobLocation.js +7 -121
  312. package/dist/components/jobCard/JobLocation.js.map +1 -1
  313. package/dist/components/jobPost/JobDescription.cjs +10 -347
  314. package/dist/components/jobPost/JobDescription.cjs.map +1 -1
  315. package/dist/components/jobPost/JobDescription.js +6 -315
  316. package/dist/components/jobPost/JobDescription.js.map +1 -1
  317. package/dist/components/jobPost/JobHeader.cjs +16 -406
  318. package/dist/components/jobPost/JobHeader.cjs.map +1 -1
  319. package/dist/components/jobPost/JobHeader.js +12 -398
  320. package/dist/components/jobPost/JobHeader.js.map +1 -1
  321. package/dist/components/jobPost/JobPost.cjs +42 -1820
  322. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  323. package/dist/components/jobPost/JobPost.d.cts +1 -1
  324. package/dist/components/jobPost/JobPost.d.ts +1 -1
  325. package/dist/components/jobPost/JobPost.js +33 -1812
  326. package/dist/components/jobPost/JobPost.js.map +1 -1
  327. package/dist/components/primitives/avatar.cjs +17 -82
  328. package/dist/components/primitives/avatar.cjs.map +1 -1
  329. package/dist/components/primitives/avatar.js +4 -50
  330. package/dist/components/primitives/avatar.js.map +1 -1
  331. package/dist/components/primitives/command.cjs +41 -207
  332. package/dist/components/primitives/command.cjs.map +1 -1
  333. package/dist/components/primitives/command.d.cts +1 -1
  334. package/dist/components/primitives/command.d.ts +1 -1
  335. package/dist/components/primitives/command.js +5 -170
  336. package/dist/components/primitives/command.js.map +1 -1
  337. package/dist/components/primitives/dialog.cjs +45 -124
  338. package/dist/components/primitives/dialog.cjs.map +1 -1
  339. package/dist/components/primitives/dialog.js +4 -85
  340. package/dist/components/primitives/dialog.js.map +1 -1
  341. package/dist/components/primitives/input-otp.cjs +20 -90
  342. package/dist/components/primitives/input-otp.cjs.map +1 -1
  343. package/dist/components/primitives/input-otp.js +4 -58
  344. package/dist/components/primitives/input-otp.js.map +1 -1
  345. package/dist/components/primitives/popover.cjs +17 -67
  346. package/dist/components/primitives/popover.cjs.map +1 -1
  347. package/dist/components/primitives/popover.js +4 -35
  348. package/dist/components/primitives/popover.js.map +1 -1
  349. package/dist/components/primitives/radio-group.cjs +12 -64
  350. package/dist/components/primitives/radio-group.cjs.map +1 -1
  351. package/dist/components/primitives/radio-group.js +4 -36
  352. package/dist/components/primitives/radio-group.js.map +1 -1
  353. package/dist/components/primitives/separator.cjs +9 -62
  354. package/dist/components/primitives/separator.cjs.map +1 -1
  355. package/dist/components/primitives/separator.js +4 -32
  356. package/dist/components/primitives/separator.js.map +1 -1
  357. package/dist/components/primitives/tooltip.cjs +21 -69
  358. package/dist/components/primitives/tooltip.cjs.map +1 -1
  359. package/dist/components/primitives/tooltip.js +4 -36
  360. package/dist/components/primitives/tooltip.js.map +1 -1
  361. package/dist/components/ui/Avatar.cjs +12 -105
  362. package/dist/components/ui/Avatar.cjs.map +1 -1
  363. package/dist/components/ui/Avatar.js +5 -75
  364. package/dist/components/ui/Avatar.js.map +1 -1
  365. package/dist/components/ui/Badge.cjs +12 -62
  366. package/dist/components/ui/Badge.cjs.map +1 -1
  367. package/dist/components/ui/Badge.js +4 -31
  368. package/dist/components/ui/Badge.js.map +1 -1
  369. package/dist/components/ui/Button.cjs +13 -299
  370. package/dist/components/ui/Button.cjs.map +1 -1
  371. package/dist/components/ui/Button.d.cts +1 -1
  372. package/dist/components/ui/Button.d.ts +1 -1
  373. package/dist/components/ui/Button.js +4 -267
  374. package/dist/components/ui/Button.js.map +1 -1
  375. package/dist/components/ui/Checkbox.cjs +13 -109
  376. package/dist/components/ui/Checkbox.cjs.map +1 -1
  377. package/dist/components/ui/Checkbox.js +5 -81
  378. package/dist/components/ui/Checkbox.js.map +1 -1
  379. package/dist/components/ui/Chip.cjs +8 -59
  380. package/dist/components/ui/Chip.cjs.map +1 -1
  381. package/dist/components/ui/Chip.d.cts +1 -1
  382. package/dist/components/ui/Chip.d.ts +1 -1
  383. package/dist/components/ui/Chip.js +3 -29
  384. package/dist/components/ui/Chip.js.map +1 -1
  385. package/dist/components/ui/Combobox.cjs +22 -591
  386. package/dist/components/ui/Combobox.cjs.map +1 -1
  387. package/dist/components/ui/Combobox.js +14 -560
  388. package/dist/components/ui/Combobox.js.map +1 -1
  389. package/dist/components/ui/Counter.cjs +11 -226
  390. package/dist/components/ui/Counter.cjs.map +1 -1
  391. package/dist/components/ui/Counter.js +7 -197
  392. package/dist/components/ui/Counter.js.map +1 -1
  393. package/dist/components/ui/DatePicker.cjs +14 -274
  394. package/dist/components/ui/DatePicker.cjs.map +1 -1
  395. package/dist/components/ui/DatePicker.js +10 -245
  396. package/dist/components/ui/DatePicker.js.map +1 -1
  397. package/dist/components/ui/DismissibleBanner.cjs +9 -77
  398. package/dist/components/ui/DismissibleBanner.cjs.map +1 -1
  399. package/dist/components/ui/DismissibleBanner.js +4 -56
  400. package/dist/components/ui/DismissibleBanner.js.map +1 -1
  401. package/dist/components/ui/ErrorMessage.cjs +7 -36
  402. package/dist/components/ui/ErrorMessage.cjs.map +1 -1
  403. package/dist/components/ui/ErrorMessage.js +4 -16
  404. package/dist/components/ui/ErrorMessage.js.map +1 -1
  405. package/dist/components/ui/Icon.cjs +9 -108
  406. package/dist/components/ui/Icon.cjs.map +1 -1
  407. package/dist/components/ui/Icon.js +4 -87
  408. package/dist/components/ui/Icon.js.map +1 -1
  409. package/dist/components/ui/Input.cjs +9 -186
  410. package/dist/components/ui/Input.cjs.map +1 -1
  411. package/dist/components/ui/Input.js +7 -159
  412. package/dist/components/ui/Input.js.map +1 -1
  413. package/dist/components/ui/InputOtp.cjs +12 -175
  414. package/dist/components/ui/InputOtp.cjs.map +1 -1
  415. package/dist/components/ui/InputOtp.js +8 -145
  416. package/dist/components/ui/InputOtp.js.map +1 -1
  417. package/dist/components/ui/Label.cjs +7 -79
  418. package/dist/components/ui/Label.cjs.map +1 -1
  419. package/dist/components/ui/Label.js +5 -52
  420. package/dist/components/ui/Label.js.map +1 -1
  421. package/dist/components/ui/LinkButton.cjs +10 -58
  422. package/dist/components/ui/LinkButton.cjs.map +1 -1
  423. package/dist/components/ui/LinkButton.js +3 -25
  424. package/dist/components/ui/LinkButton.js.map +1 -1
  425. package/dist/components/ui/ListItem.cjs +8 -150
  426. package/dist/components/ui/ListItem.cjs.map +1 -1
  427. package/dist/components/ui/ListItem.js +6 -125
  428. package/dist/components/ui/ListItem.js.map +1 -1
  429. package/dist/components/ui/Map/ClusterMarker.cjs +9 -74
  430. package/dist/components/ui/Map/ClusterMarker.cjs.map +1 -1
  431. package/dist/components/ui/Map/ClusterMarker.js +5 -55
  432. package/dist/components/ui/Map/ClusterMarker.js.map +1 -1
  433. package/dist/components/ui/Map/FocusCircle.cjs +9 -81
  434. package/dist/components/ui/Map/FocusCircle.cjs.map +1 -1
  435. package/dist/components/ui/Map/FocusCircle.js +4 -61
  436. package/dist/components/ui/Map/FocusCircle.js.map +1 -1
  437. package/dist/components/ui/Map/IndividualMarker.cjs +9 -55
  438. package/dist/components/ui/Map/IndividualMarker.cjs.map +1 -1
  439. package/dist/components/ui/Map/IndividualMarker.js +4 -35
  440. package/dist/components/ui/Map/IndividualMarker.js.map +1 -1
  441. package/dist/components/ui/Map/MapComponent.cjs +16 -395
  442. package/dist/components/ui/Map/MapComponent.cjs.map +1 -1
  443. package/dist/components/ui/Map/MapComponent.js +12 -366
  444. package/dist/components/ui/Map/MapComponent.js.map +1 -1
  445. package/dist/components/ui/Map/MapContent.cjs +13 -273
  446. package/dist/components/ui/Map/MapContent.cjs.map +1 -1
  447. package/dist/components/ui/Map/MapContent.js +9 -254
  448. package/dist/components/ui/Map/MapContent.js.map +1 -1
  449. package/dist/components/ui/Map/clustering.cjs +13 -99
  450. package/dist/components/ui/Map/clustering.cjs.map +1 -1
  451. package/dist/components/ui/Map/clustering.js +5 -76
  452. package/dist/components/ui/Map/clustering.js.map +1 -1
  453. package/dist/components/ui/Map/constants.cjs +33 -61
  454. package/dist/components/ui/Map/constants.cjs.map +1 -1
  455. package/dist/components/ui/Map/constants.js +3 -33
  456. package/dist/components/ui/Map/constants.js.map +1 -1
  457. package/dist/components/ui/Map/hooks.cjs +18 -90
  458. package/dist/components/ui/Map/hooks.cjs.map +1 -1
  459. package/dist/components/ui/Map/hooks.js +6 -58
  460. package/dist/components/ui/Map/hooks.js.map +1 -1
  461. package/dist/components/ui/Map/index.cjs +21 -400
  462. package/dist/components/ui/Map/index.cjs.map +1 -1
  463. package/dist/components/ui/Map/index.js +13 -364
  464. package/dist/components/ui/Map/index.js.map +1 -1
  465. package/dist/components/ui/Map/types.cjs +2 -17
  466. package/dist/components/ui/Map/types.cjs.map +1 -1
  467. package/dist/components/ui/Map/types.js +2 -0
  468. package/dist/components/ui/Map/types.js.map +1 -1
  469. package/dist/components/ui/Map/utils.cjs +25 -75
  470. package/dist/components/ui/Map/utils.cjs.map +1 -1
  471. package/dist/components/ui/Map/utils.js +4 -48
  472. package/dist/components/ui/Map/utils.js.map +1 -1
  473. package/dist/components/ui/PlacesQueryInput.cjs +9 -301
  474. package/dist/components/ui/PlacesQueryInput.cjs.map +1 -1
  475. package/dist/components/ui/PlacesQueryInput.js +7 -275
  476. package/dist/components/ui/PlacesQueryInput.js.map +1 -1
  477. package/dist/components/ui/Radio.cjs +12 -151
  478. package/dist/components/ui/Radio.cjs.map +1 -1
  479. package/dist/components/ui/Radio.js +8 -123
  480. package/dist/components/ui/Radio.js.map +1 -1
  481. package/dist/components/ui/ReadMore.cjs +9 -340
  482. package/dist/components/ui/ReadMore.cjs.map +1 -1
  483. package/dist/components/ui/ReadMore.js +5 -311
  484. package/dist/components/ui/ReadMore.js.map +1 -1
  485. package/dist/components/ui/Select.cjs +11 -303
  486. package/dist/components/ui/Select.cjs.map +1 -1
  487. package/dist/components/ui/Select.js +9 -282
  488. package/dist/components/ui/Select.js.map +1 -1
  489. package/dist/components/ui/StepTabs.cjs +9 -129
  490. package/dist/components/ui/StepTabs.cjs.map +1 -1
  491. package/dist/components/ui/StepTabs.js +4 -99
  492. package/dist/components/ui/StepTabs.js.map +1 -1
  493. package/dist/components/ui/Switch.cjs +9 -69
  494. package/dist/components/ui/Switch.cjs.map +1 -1
  495. package/dist/components/ui/Switch.js +5 -39
  496. package/dist/components/ui/Switch.js.map +1 -1
  497. package/dist/components/ui/buttonShadcn.cjs +13 -81
  498. package/dist/components/ui/buttonShadcn.cjs.map +1 -1
  499. package/dist/components/ui/buttonShadcn.d.cts +1 -1
  500. package/dist/components/ui/buttonShadcn.d.ts +1 -1
  501. package/dist/components/ui/buttonShadcn.js +4 -49
  502. package/dist/components/ui/buttonShadcn.js.map +1 -1
  503. package/dist/components/ui/calendar.cjs +9 -135
  504. package/dist/components/ui/calendar.cjs.map +1 -1
  505. package/dist/components/ui/calendar.js +5 -106
  506. package/dist/components/ui/calendar.js.map +1 -1
  507. package/dist/contexts/WindowHistoryProvider.cjs +13 -43
  508. package/dist/contexts/WindowHistoryProvider.cjs.map +1 -1
  509. package/dist/contexts/WindowHistoryProvider.js +3 -21
  510. package/dist/contexts/WindowHistoryProvider.js.map +1 -1
  511. package/dist/{displayText-DIxMXVLl.d.ts → displayText-Ce_aqgGP.d.ts} +2 -2
  512. package/dist/{displayText-DRyxjHTZ.d.cts → displayText-Cm8PqS6s.d.cts} +2 -2
  513. package/dist/hooks/useDisplayText.cjs +10 -496
  514. package/dist/hooks/useDisplayText.cjs.map +1 -1
  515. package/dist/hooks/useDisplayText.d.cts +3 -3
  516. package/dist/hooks/useDisplayText.d.ts +3 -3
  517. package/dist/hooks/useDisplayText.js +6 -476
  518. package/dist/hooks/useDisplayText.js.map +1 -1
  519. package/dist/hooks/useWindowHistory.cjs +9 -37
  520. package/dist/hooks/useWindowHistory.cjs.map +1 -1
  521. package/dist/hooks/useWindowHistory.js +4 -16
  522. package/dist/hooks/useWindowHistory.js.map +1 -1
  523. package/dist/index.cjs +216 -4128
  524. package/dist/index.cjs.map +1 -1
  525. package/dist/index.d.cts +6 -6
  526. package/dist/index.d.ts +6 -6
  527. package/dist/index.js +73 -4107
  528. package/dist/index.js.map +1 -1
  529. package/dist/{job_posting_service_latest-BrZndMS6.d.cts → job_posting_service_latest-82DHqOGu.d.cts} +1097 -1097
  530. package/dist/{job_posting_service_latest-BrZndMS6.d.ts → job_posting_service_latest-82DHqOGu.d.ts} +1097 -1097
  531. package/dist/{job_posting_service_latest-7q4A7RpW.d.cts → job_posting_service_latest-D9I5NE7l.d.cts} +1097 -1097
  532. package/dist/{job_posting_service_latest-7q4A7RpW.d.ts → job_posting_service_latest-D9I5NE7l.d.ts} +1097 -1097
  533. package/dist/{job_posting_service_sanity-LlRkfIpt.d.ts → job_posting_service_sanity-1eG3Jh9_.d.ts} +2016 -2016
  534. package/dist/{job_posting_service_sanity-B5NZ-7tI.d.cts → job_posting_service_sanity-DKYye6oH.d.cts} +2016 -2016
  535. package/dist/lib/google.cjs +21 -81
  536. package/dist/lib/google.cjs.map +1 -1
  537. package/dist/lib/google.js +3 -57
  538. package/dist/lib/google.js.map +1 -1
  539. package/dist/lib/icons.cjs +10 -50
  540. package/dist/lib/icons.cjs.map +1 -1
  541. package/dist/lib/icons.js +3 -48
  542. package/dist/lib/icons.js.map +1 -1
  543. package/dist/lib/locations.cjs +17 -66
  544. package/dist/lib/locations.cjs.map +1 -1
  545. package/dist/lib/locations.d.cts +3 -3
  546. package/dist/lib/locations.d.ts +3 -3
  547. package/dist/lib/locations.js +3 -42
  548. package/dist/lib/locations.js.map +1 -1
  549. package/dist/lib/mappings.cjs +45 -439
  550. package/dist/lib/mappings.cjs.map +1 -1
  551. package/dist/lib/mappings.d.cts +3 -3
  552. package/dist/lib/mappings.d.ts +3 -3
  553. package/dist/lib/mappings.js +3 -408
  554. package/dist/lib/mappings.js.map +1 -1
  555. package/dist/lib/salaryRange.cjs +14 -453
  556. package/dist/lib/salaryRange.cjs.map +1 -1
  557. package/dist/lib/salaryRange.d.cts +1 -1
  558. package/dist/lib/salaryRange.d.ts +1 -1
  559. package/dist/lib/salaryRange.js +10 -437
  560. package/dist/lib/salaryRange.js.map +1 -1
  561. package/dist/lib/utils.cjs +10 -32
  562. package/dist/lib/utils.cjs.map +1 -1
  563. package/dist/lib/utils.js +3 -9
  564. package/dist/lib/utils.js.map +1 -1
  565. package/dist/services/displayText.cjs +9 -464
  566. package/dist/services/displayText.cjs.map +1 -1
  567. package/dist/services/displayText.d.cts +3 -3
  568. package/dist/services/displayText.d.ts +3 -3
  569. package/dist/services/displayText.js +5 -442
  570. package/dist/services/displayText.js.map +1 -1
  571. package/dist/styles/globals.css +30 -0
  572. package/dist/styles/globals.css.map +1 -1
  573. package/dist/types/data/company_service_latest.cjs +73 -246
  574. package/dist/types/data/company_service_latest.cjs.map +1 -1
  575. package/dist/types/data/company_service_latest.d.cts +1 -1
  576. package/dist/types/data/company_service_latest.d.ts +1 -1
  577. package/dist/types/data/company_service_latest.js +4 -209
  578. package/dist/types/data/company_service_latest.js.map +1 -1
  579. package/dist/types/data/job_posting_service_latest.cjs +42 -276
  580. package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
  581. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  582. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  583. package/dist/types/data/job_posting_service_latest.js +5 -256
  584. package/dist/types/data/job_posting_service_latest.js.map +1 -1
  585. package/dist/types/data/shared_pickle_output_latest.cjs +39 -99
  586. package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
  587. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  588. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  589. package/dist/types/data/shared_pickle_output_latest.js +3 -74
  590. package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
  591. package/dist/types/displayText.errors.cjs +13 -40
  592. package/dist/types/displayText.errors.cjs.map +1 -1
  593. package/dist/types/displayText.errors.js +3 -17
  594. package/dist/types/displayText.errors.js.map +1 -1
  595. package/dist/types/index.cjs +28 -494
  596. package/dist/types/index.cjs.map +1 -1
  597. package/dist/types/index.d.cts +5 -5
  598. package/dist/types/index.d.ts +5 -5
  599. package/dist/types/index.js +9 -478
  600. package/dist/types/index.js.map +1 -1
  601. package/dist/types/latest/company_service_latest.cjs +73 -246
  602. package/dist/types/latest/company_service_latest.cjs.map +1 -1
  603. package/dist/types/latest/company_service_latest.d.cts +1 -1
  604. package/dist/types/latest/company_service_latest.d.ts +1 -1
  605. package/dist/types/latest/company_service_latest.js +4 -209
  606. package/dist/types/latest/company_service_latest.js.map +1 -1
  607. package/dist/types/latest/custom/company_service_sanity.cjs +46 -307
  608. package/dist/types/latest/custom/company_service_sanity.cjs.map +1 -1
  609. package/dist/types/latest/custom/company_service_sanity.d.cts +3 -3
  610. package/dist/types/latest/custom/company_service_sanity.d.ts +3 -3
  611. package/dist/types/latest/custom/company_service_sanity.js +6 -287
  612. package/dist/types/latest/custom/company_service_sanity.js.map +1 -1
  613. package/dist/types/latest/custom/custom_sanity_models.cjs +13 -39
  614. package/dist/types/latest/custom/custom_sanity_models.cjs.map +1 -1
  615. package/dist/types/latest/custom/custom_sanity_models.js +3 -16
  616. package/dist/types/latest/custom/custom_sanity_models.js.map +1 -1
  617. package/dist/types/latest/custom/job_posting_service_sanity.cjs +66 -353
  618. package/dist/types/latest/custom/job_posting_service_sanity.cjs.map +1 -1
  619. package/dist/types/latest/custom/job_posting_service_sanity.d.cts +3 -3
  620. package/dist/types/latest/custom/job_posting_service_sanity.d.ts +3 -3
  621. package/dist/types/latest/custom/job_posting_service_sanity.js +7 -330
  622. package/dist/types/latest/custom/job_posting_service_sanity.js.map +1 -1
  623. package/dist/types/latest/job_posting_service_latest.cjs +42 -276
  624. package/dist/types/latest/job_posting_service_latest.cjs.map +1 -1
  625. package/dist/types/latest/job_posting_service_latest.d.cts +1 -1
  626. package/dist/types/latest/job_posting_service_latest.d.ts +1 -1
  627. package/dist/types/latest/job_posting_service_latest.js +5 -256
  628. package/dist/types/latest/job_posting_service_latest.js.map +1 -1
  629. package/dist/types/latest/shared_pickle_output_latest.cjs +39 -99
  630. package/dist/types/latest/shared_pickle_output_latest.cjs.map +1 -1
  631. package/dist/types/latest/shared_pickle_output_latest.d.cts +1 -1
  632. package/dist/types/latest/shared_pickle_output_latest.d.ts +1 -1
  633. package/dist/types/latest/shared_pickle_output_latest.js +3 -74
  634. package/dist/types/latest/shared_pickle_output_latest.js.map +1 -1
  635. package/package.json +3 -2
  636. package/dist/{company_service_latest-BwbaqchJ.d.cts → company_service_latest-BjyG4KCB.d.cts} +1103 -1103
  637. package/dist/{company_service_latest-BwbaqchJ.d.ts → company_service_latest-BjyG4KCB.d.ts} +1103 -1103
  638. package/dist/{company_service_latest-FHqG4LjA.d.cts → company_service_latest-KJi2W9Ij.d.cts} +1103 -1103
  639. package/dist/{company_service_latest-FHqG4LjA.d.ts → company_service_latest-KJi2W9Ij.d.ts} +1103 -1103
  640. package/dist/{shared_pickle_output_latest-DIPgxUul.d.cts → shared_pickle_output_latest-YbRs_xtC.d.cts} +40 -40
  641. package/dist/{shared_pickle_output_latest-DIPgxUul.d.ts → shared_pickle_output_latest-YbRs_xtC.d.ts} +40 -40
  642. package/dist/{shared_pickle_output_latest-CKHNY1lx.d.cts → shared_pickle_output_latest-dO-t8iZx.d.cts} +40 -40
  643. package/dist/{shared_pickle_output_latest-CKHNY1lx.d.ts → shared_pickle_output_latest-dO-t8iZx.d.ts} +40 -40
@@ -1,146 +1,9 @@
1
- // src/components/ui/InputOtp.tsx
2
- import { forwardRef as forwardRef3 } from "react";
3
-
4
- // src/components/primitives/input-otp.tsx
5
- import { OTPInput, OTPInputContext } from "input-otp";
6
- import { Dot } from "lucide-react";
7
- import * as React2 from "react";
8
-
9
- // src/lib/utils.ts
10
- import { clsx } from "clsx";
11
- import { twMerge } from "tailwind-merge";
12
- function cn(...inputs) {
13
- return twMerge(clsx(inputs));
14
- }
15
-
16
- // src/components/primitives/input-otp.tsx
17
- var InputOTP = React2.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ React2.createElement(
18
- OTPInput,
19
- {
20
- ref,
21
- containerClassName: cn(
22
- "flex items-center gap-2 has-[:disabled]:opacity-50",
23
- containerClassName
24
- ),
25
- className: cn("disabled:cursor-not-allowed", className),
26
- ...props
27
- }
28
- ));
29
- InputOTP.displayName = "InputOTP";
30
- var InputOTPGroup = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { ref, className: cn("flex items-center", className), ...props }));
31
- InputOTPGroup.displayName = "InputOTPGroup";
32
- var InputOTPSlot = React2.forwardRef(({ index, error, className, ...props }, ref) => {
33
- const inputOTPContext = React2.useContext(OTPInputContext);
34
- const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
35
- return /* @__PURE__ */ React2.createElement(
36
- "div",
37
- {
38
- ref,
39
- className: cn(
40
- "relative flex h-10 w-10 items-center justify-center border-y border-r border-neutral-200 text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md dark:border-neutral-800",
41
- isActive && "z-10 ring-2 ring-purple-100 ring-offset-white dark:ring-purple-20 dark:ring-offset-purple-100",
42
- error && "border-red-500 dark:border-red-400",
43
- className
44
- ),
45
- ...props
46
- },
47
- char,
48
- hasFakeCaret && /* @__PURE__ */ React2.createElement("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center" }, /* @__PURE__ */ React2.createElement("div", { className: "h-4 w-px animate-caret-blink bg-neutral-950 duration-1000 dark:bg-neutral-50" }))
49
- );
50
- });
51
- InputOTPSlot.displayName = "InputOTPSlot";
52
- var InputOTPSeparator = React2.forwardRef(({ ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { ref, role: "separator", ...props }, /* @__PURE__ */ React2.createElement(Dot, null)));
53
- InputOTPSeparator.displayName = "InputOTPSeparator";
54
-
55
- // src/components/ui/ErrorMessage.tsx
56
- function ErrorMessage({ message, className, ...props }) {
57
- if (!message) return null;
58
- return /* @__PURE__ */ React.createElement("p", { className: cn("px-1 text-xs text-red-600", className), ...props }, message);
59
- }
60
- var ErrorMessage_default = ErrorMessage;
61
-
62
- // src/components/ui/Label.tsx
63
- import { InfoIcon } from "lucide-react";
64
-
65
- // src/components/primitives/tooltip.tsx
66
- import * as TooltipPrimitive from "@radix-ui/react-tooltip";
67
- import * as React3 from "react";
68
- var TooltipProvider = TooltipPrimitive.Provider;
69
- var Tooltip = TooltipPrimitive.Root;
70
- var TooltipTrigger = TooltipPrimitive.Trigger;
71
- var TooltipContent = React3.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React3.createElement(
72
- TooltipPrimitive.Content,
73
- {
74
- ref,
75
- sideOffset,
76
- className: cn(
77
- "z-50 overflow-hidden rounded-md border border-neutral-200 bg-white px-3 py-1.5 text-sm text-neutral-950 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",
78
- className
79
- ),
80
- ...props
81
- }
82
- ));
83
- TooltipContent.displayName = TooltipPrimitive.Content.displayName;
84
-
85
- // src/components/ui/Label.tsx
86
- function Label({ text, required, description, className, ...props }) {
87
- if (!text) return null;
88
- return /* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-row gap-1" }, /* @__PURE__ */ React.createElement(
89
- "label",
90
- {
91
- className: cn(
92
- "text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
93
- className
94
- ),
95
- ...props
96
- },
97
- text,
98
- required && /* @__PURE__ */ React.createElement("span", { className: "text-red-600" }, "\xA0*")
99
- ), !!description && /* @__PURE__ */ React.createElement(TooltipProvider, null, /* @__PURE__ */ React.createElement(Tooltip, null, /* @__PURE__ */ React.createElement(TooltipTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(InfoIcon, { className: "h-4 w-4" })), /* @__PURE__ */ React.createElement(TooltipContent, { className: "max-w-48" }, description))));
100
- }
101
- var Label_default = Label;
102
-
103
- // src/components/ui/InputOtp.tsx
104
- var InputOtp = forwardRef3(
105
- ({ digits, label, description, error, ...props }, ref) => {
106
- return /* @__PURE__ */ React.createElement(
107
- "div",
108
- {
109
- className: "group flex w-full flex-col gap-1",
110
- "data-testid": `input-otp-wrapper-${props.id}`
111
- },
112
- label && /* @__PURE__ */ React.createElement(
113
- Label_default,
114
- {
115
- text: label,
116
- htmlFor: props.name,
117
- required: props.required,
118
- description
119
- }
120
- ),
121
- /* @__PURE__ */ React.createElement("div", { className: "relative flex flex-row items-center" }, /* @__PURE__ */ React.createElement(
122
- InputOTP,
123
- {
124
- ref,
125
- maxLength: digits,
126
- "data-testid": `input-otp-element-${props.id}`,
127
- ...props
128
- },
129
- [...Array(digits)].map((_, index) => /* @__PURE__ */ React.createElement(InputOTPGroup, { key: index }, /* @__PURE__ */ React.createElement(
130
- InputOTPSlot,
131
- {
132
- "data-testid": `input-otp-slot-${index}`,
133
- index,
134
- error: Boolean(error)
135
- }
136
- )))
137
- )),
138
- /* @__PURE__ */ React.createElement(ErrorMessage_default, { message: error })
139
- );
140
- }
141
- );
142
- InputOtp.displayName = "Input";
143
- export {
144
- InputOtp
145
- };
1
+ export { InputOtp } from '../../chunk-WPH6SRZT.js';
2
+ import '../../chunk-UTPXIIHX.js';
3
+ import '../../chunk-WYSZMCAK.js';
4
+ import '../../chunk-RYAVZOGW.js';
5
+ import '../../chunk-PNXBZYED.js';
6
+ import '../../chunk-2FGZQI42.js';
7
+ import '../../chunk-PZ5AY32C.js';
8
+ //# sourceMappingURL=InputOtp.js.map
146
9
  //# sourceMappingURL=InputOtp.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/InputOtp.tsx","../../../src/components/primitives/input-otp.tsx","../../../src/lib/utils.ts","../../../src/components/ui/ErrorMessage.tsx","../../../src/components/ui/Label.tsx","../../../src/components/primitives/tooltip.tsx"],"sourcesContent":["import { forwardRef, type InputHTMLAttributes } from 'react'\n\nimport { InputOTP, InputOTPGroup, InputOTPSlot } from '@/components/primitives/input-otp'\nimport ErrorMessage from '@/components/ui/ErrorMessage'\nimport Label from '@/components/ui/Label'\n\ninterface Props extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'> {\n digits: 4 | 6 | 8\n value?: string\n label?: string\n description?: string\n error?: string\n onChange?: (v: string) => void\n}\n\nexport const InputOtp = forwardRef<HTMLInputElement, Props>(\n ({ digits, label, description, error, ...props }, ref) => {\n return (\n <div\n className=\"group flex w-full flex-col gap-1\"\n data-testid={`input-otp-wrapper-${props.id}`}\n >\n {label && (\n <Label\n text={label}\n htmlFor={props.name}\n required={props.required}\n description={description}\n />\n )}\n <div className=\"relative flex flex-row items-center\">\n <InputOTP\n ref={ref}\n maxLength={digits}\n data-testid={`input-otp-element-${props.id}`}\n {...props}\n >\n {[...Array(digits)].map((_, index) => (\n <InputOTPGroup key={index}>\n <InputOTPSlot\n data-testid={`input-otp-slot-${index}`}\n index={index}\n error={Boolean(error)}\n />\n </InputOTPGroup>\n ))}\n </InputOTP>\n </div>\n\n <ErrorMessage message={error} />\n </div>\n )\n }\n)\nInputOtp.displayName = 'Input'\n","'use client'\n\nimport { OTPInput, OTPInputContext } from 'input-otp'\nimport { Dot } from 'lucide-react'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst InputOTP = React.forwardRef<\n React.ElementRef<typeof OTPInput>,\n React.ComponentPropsWithoutRef<typeof OTPInput>\n>(({ className, containerClassName, ...props }, ref) => (\n <OTPInput\n ref={ref}\n containerClassName={cn(\n 'flex items-center gap-2 has-[:disabled]:opacity-50',\n containerClassName\n )}\n className={cn('disabled:cursor-not-allowed', className)}\n {...props}\n />\n))\nInputOTP.displayName = 'InputOTP'\n\nconst InputOTPGroup = React.forwardRef<\n React.ElementRef<'div'>,\n React.ComponentPropsWithoutRef<'div'>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn('flex items-center', className)} {...props} />\n))\nInputOTPGroup.displayName = 'InputOTPGroup'\n\nconst InputOTPSlot = React.forwardRef<\n React.ElementRef<'div'>,\n React.ComponentPropsWithoutRef<'div'> & { index: number; error?: boolean }\n>(({ index, error, className, ...props }, ref) => {\n const inputOTPContext = React.useContext(OTPInputContext)\n const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index]\n\n return (\n <div\n ref={ref}\n className={cn(\n 'relative flex h-10 w-10 items-center justify-center border-y border-r border-neutral-200 text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md dark:border-neutral-800',\n isActive &&\n 'z-10 ring-2 ring-purple-100 ring-offset-white dark:ring-purple-20 dark:ring-offset-purple-100',\n error && 'border-red-500 dark:border-red-400',\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"h-4 w-px animate-caret-blink bg-neutral-950 duration-1000 dark:bg-neutral-50\" />\n </div>\n )}\n </div>\n )\n})\nInputOTPSlot.displayName = 'InputOTPSlot'\n\nconst InputOTPSeparator = React.forwardRef<\n React.ElementRef<'div'>,\n React.ComponentPropsWithoutRef<'div'>\n>(({ ...props }, ref) => (\n <div ref={ref} role=\"separator\" {...props}>\n <Dot />\n </div>\n))\nInputOTPSeparator.displayName = 'InputOTPSeparator'\n\nexport { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot }\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n","import { type ComponentPropsWithoutRef } from 'react'\n\nimport { cn } from '@/lib/utils'\n\ninterface Props extends ComponentPropsWithoutRef<'p'> {\n message?: string\n}\n\nfunction ErrorMessage({ message, className, ...props }: Readonly<Props>) {\n if (!message) return null\n\n return (\n <p className={cn('px-1 text-xs text-red-600', className)} {...props}>\n {message}\n </p>\n )\n}\n\nexport default ErrorMessage\n","import { InfoIcon } from 'lucide-react'\nimport { type ComponentPropsWithoutRef } from 'react'\n\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from '@/components/primitives/tooltip'\nimport { cn } from '@/lib/utils'\n\ninterface Props extends ComponentPropsWithoutRef<'label'> {\n text?: string\n required?: boolean\n description?: string\n}\n\nfunction Label({ text, required, description, className, ...props }: Readonly<Props>) {\n if (!text) return null\n\n return (\n <div className=\"flex w-full flex-row gap-1\">\n <label\n className={cn(\n 'text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70',\n className\n )}\n {...props}\n >\n {text}\n {required && <span className=\"text-red-600\">&nbsp;*</span>}\n </label>\n\n {!!description && (\n <TooltipProvider>\n <Tooltip>\n <TooltipTrigger asChild>\n <InfoIcon className=\"h-4 w-4\" />\n </TooltipTrigger>\n <TooltipContent className=\"max-w-48\">{description}</TooltipContent>\n </Tooltip>\n </TooltipProvider>\n )}\n </div>\n )\n}\n\nexport default Label\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 overflow-hidden rounded-md border border-neutral-200 bg-white px-3 py-1.5 text-sm text-neutral-950 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50',\n className\n )}\n {...props}\n />\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger }\n"],"mappings":";AAAA,SAAS,cAAAA,mBAA4C;;;ACErD,SAAS,UAAU,uBAAuB;AAC1C,SAAS,WAAW;AACpB,YAAYC,YAAW;;;ACJvB,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ADGA,IAAM,WAAiB,kBAGrB,CAAC,EAAE,WAAW,oBAAoB,GAAG,MAAM,GAAG,QAC9C;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,oBAAoB;AAAA,MAClB;AAAA,MACA;AAAA,IACF;AAAA,IACA,WAAW,GAAG,+BAA+B,SAAS;AAAA,IACrD,GAAG;AAAA;AACN,CACD;AACD,SAAS,cAAc;AAEvB,IAAM,gBAAsB,kBAG1B,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B,qCAAC,SAAI,KAAU,WAAW,GAAG,qBAAqB,SAAS,GAAI,GAAG,OAAO,CAC1E;AACD,cAAc,cAAc;AAE5B,IAAM,eAAqB,kBAGzB,CAAC,EAAE,OAAO,OAAO,WAAW,GAAG,MAAM,GAAG,QAAQ;AAChD,QAAM,kBAAwB,kBAAW,eAAe;AACxD,QAAM,EAAE,MAAM,cAAc,SAAS,IAAI,gBAAgB,MAAM,KAAK;AAEpE,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA,YACE;AAAA,QACF,SAAS;AAAA,QACT;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,IAEH;AAAA,IACA,gBACC,qCAAC,SAAI,WAAU,2EACb,qCAAC,SAAI,WAAU,gFAA+E,CAChG;AAAA,EAEJ;AAEJ,CAAC;AACD,aAAa,cAAc;AAE3B,IAAM,oBAA0B,kBAG9B,CAAC,EAAE,GAAG,MAAM,GAAG,QACf,qCAAC,SAAI,KAAU,MAAK,aAAa,GAAG,SAClC,qCAAC,SAAI,CACP,CACD;AACD,kBAAkB,cAAc;;;AE9DhC,SAAS,aAAa,EAAE,SAAS,WAAW,GAAG,MAAM,GAAoB;AACvE,MAAI,CAAC,QAAS,QAAO;AAErB,SACE,oCAAC,OAAE,WAAW,GAAG,6BAA6B,SAAS,GAAI,GAAG,SAC3D,OACH;AAEJ;AAEA,IAAO,uBAAQ;;;AClBf,SAAS,gBAAgB;;;ACEzB,YAAY,sBAAsB;AAClC,YAAYC,YAAW;AAIvB,IAAM,kBAAmC;AAEzC,IAAM,UAA2B;AAEjC,IAAM,iBAAkC;AAExC,IAAM,iBAAuB,kBAG3B,CAAC,EAAE,WAAW,aAAa,GAAG,GAAG,MAAM,GAAG,QAC1C;AAAA,EAAkB;AAAA,EAAjB;AAAA,IACC;AAAA,IACA;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,IACC,GAAG;AAAA;AACN,CACD;AACD,eAAe,cAA+B,yBAAQ;;;ADVtD,SAAS,MAAM,EAAE,MAAM,UAAU,aAAa,WAAW,GAAG,MAAM,GAAoB;AACpF,MAAI,CAAC,KAAM,QAAO;AAElB,SACE,oCAAC,SAAI,WAAU,gCACb;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,IAEH;AAAA,IACA,YAAY,oCAAC,UAAK,WAAU,kBAAe,OAAO;AAAA,EACrD,GAEC,CAAC,CAAC,eACD,oCAAC,uBACC,oCAAC,eACC,oCAAC,kBAAe,SAAO,QACrB,oCAAC,YAAS,WAAU,WAAU,CAChC,GACA,oCAAC,kBAAe,WAAU,cAAY,WAAY,CACpD,CACF,CAEJ;AAEJ;AAEA,IAAO,gBAAQ;;;AJhCR,IAAM,WAAWC;AAAA,EACtB,CAAC,EAAE,QAAQ,OAAO,aAAa,OAAO,GAAG,MAAM,GAAG,QAAQ;AACxD,WACE;AAAA,MAAC;AAAA;AAAA,QACC,WAAU;AAAA,QACV,eAAa,qBAAqB,MAAM,EAAE;AAAA;AAAA,MAEzC,SACC;AAAA,QAAC;AAAA;AAAA,UACC,MAAM;AAAA,UACN,SAAS,MAAM;AAAA,UACf,UAAU,MAAM;AAAA,UAChB;AAAA;AAAA,MACF;AAAA,MAEF,oCAAC,SAAI,WAAU,yCACb;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA,WAAW;AAAA,UACX,eAAa,qBAAqB,MAAM,EAAE;AAAA,UACzC,GAAG;AAAA;AAAA,QAEH,CAAC,GAAG,MAAM,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,UAC1B,oCAAC,iBAAc,KAAK,SAClB;AAAA,UAAC;AAAA;AAAA,YACC,eAAa,kBAAkB,KAAK;AAAA,YACpC;AAAA,YACA,OAAO,QAAQ,KAAK;AAAA;AAAA,QACtB,CACF,CACD;AAAA,MACH,CACF;AAAA,MAEA,oCAAC,wBAAa,SAAS,OAAO;AAAA,IAChC;AAAA,EAEJ;AACF;AACA,SAAS,cAAc;","names":["forwardRef","React","React","forwardRef"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"InputOtp.js"}
@@ -1,84 +1,12 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ 'use strict';
29
2
 
30
- // src/components/ui/Label.tsx
31
- var Label_exports = {};
32
- __export(Label_exports, {
33
- default: () => Label_default
34
- });
35
- module.exports = __toCommonJS(Label_exports);
36
- var import_lucide_react = require("lucide-react");
3
+ var chunk3BGXWNKI_cjs = require('../../chunk-3BGXWNKI.cjs');
4
+ require('../../chunk-RDPMXAQG.cjs');
5
+ require('../../chunk-MGWZXPMF.cjs');
6
+ require('../../chunk-Q7SFCCGT.cjs');
37
7
 
38
- // src/components/primitives/tooltip.tsx
39
- var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
40
- var React2 = __toESM(require("react"), 1);
41
8
 
42
- // src/lib/utils.ts
43
- var import_clsx = require("clsx");
44
- var import_tailwind_merge = require("tailwind-merge");
45
- function cn(...inputs) {
46
- return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
47
- }
48
9
 
49
- // src/components/primitives/tooltip.tsx
50
- var TooltipProvider = TooltipPrimitive.Provider;
51
- var Tooltip = TooltipPrimitive.Root;
52
- var TooltipTrigger = TooltipPrimitive.Trigger;
53
- var TooltipContent = React2.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React2.createElement(
54
- TooltipPrimitive.Content,
55
- {
56
- ref,
57
- sideOffset,
58
- className: cn(
59
- "z-50 overflow-hidden rounded-md border border-neutral-200 bg-white px-3 py-1.5 text-sm text-neutral-950 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",
60
- className
61
- ),
62
- ...props
63
- }
64
- ));
65
- TooltipContent.displayName = TooltipPrimitive.Content.displayName;
66
-
67
- // src/components/ui/Label.tsx
68
- function Label({ text, required, description, className, ...props }) {
69
- if (!text) return null;
70
- return /* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-row gap-1" }, /* @__PURE__ */ React.createElement(
71
- "label",
72
- {
73
- className: cn(
74
- "text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
75
- className
76
- ),
77
- ...props
78
- },
79
- text,
80
- required && /* @__PURE__ */ React.createElement("span", { className: "text-red-600" }, "\xA0*")
81
- ), !!description && /* @__PURE__ */ React.createElement(TooltipProvider, null, /* @__PURE__ */ React.createElement(Tooltip, null, /* @__PURE__ */ React.createElement(TooltipTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(import_lucide_react.InfoIcon, { className: "h-4 w-4" })), /* @__PURE__ */ React.createElement(TooltipContent, { className: "max-w-48" }, description))));
82
- }
83
- var Label_default = Label;
10
+ module.exports = chunk3BGXWNKI_cjs.Label_default;
11
+ //# sourceMappingURL=Label.cjs.map
84
12
  //# sourceMappingURL=Label.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/Label.tsx","../../../src/components/primitives/tooltip.tsx","../../../src/lib/utils.ts"],"sourcesContent":["import { InfoIcon } from 'lucide-react'\nimport { type ComponentPropsWithoutRef } from 'react'\n\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from '@/components/primitives/tooltip'\nimport { cn } from '@/lib/utils'\n\ninterface Props extends ComponentPropsWithoutRef<'label'> {\n text?: string\n required?: boolean\n description?: string\n}\n\nfunction Label({ text, required, description, className, ...props }: Readonly<Props>) {\n if (!text) return null\n\n return (\n <div className=\"flex w-full flex-row gap-1\">\n <label\n className={cn(\n 'text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70',\n className\n )}\n {...props}\n >\n {text}\n {required && <span className=\"text-red-600\">&nbsp;*</span>}\n </label>\n\n {!!description && (\n <TooltipProvider>\n <Tooltip>\n <TooltipTrigger asChild>\n <InfoIcon className=\"h-4 w-4\" />\n </TooltipTrigger>\n <TooltipContent className=\"max-w-48\">{description}</TooltipContent>\n </Tooltip>\n </TooltipProvider>\n )}\n </div>\n )\n}\n\nexport default Label\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 overflow-hidden rounded-md border border-neutral-200 bg-white px-3 py-1.5 text-sm text-neutral-950 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50',\n className\n )}\n {...props}\n />\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger }\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAyB;;;ACEzB,uBAAkC;AAClC,IAAAA,SAAuB;;;ACHvB,kBAAsC;AACtC,4BAAwB;AAEjB,SAAS,MAAM,QAAsB;AAC1C,aAAO,mCAAQ,kBAAK,MAAM,CAAC;AAC7B;;;ADEA,IAAM,kBAAmC;AAEzC,IAAM,UAA2B;AAEjC,IAAM,iBAAkC;AAExC,IAAM,iBAAuB,kBAG3B,CAAC,EAAE,WAAW,aAAa,GAAG,GAAG,MAAM,GAAG,QAC1C;AAAA,EAAkB;AAAA,EAAjB;AAAA,IACC;AAAA,IACA;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,IACC,GAAG;AAAA;AACN,CACD;AACD,eAAe,cAA+B,yBAAQ;;;ADVtD,SAAS,MAAM,EAAE,MAAM,UAAU,aAAa,WAAW,GAAG,MAAM,GAAoB;AACpF,MAAI,CAAC,KAAM,QAAO;AAElB,SACE,oCAAC,SAAI,WAAU,gCACb;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,IAEH;AAAA,IACA,YAAY,oCAAC,UAAK,WAAU,kBAAe,OAAO;AAAA,EACrD,GAEC,CAAC,CAAC,eACD,oCAAC,uBACC,oCAAC,eACC,oCAAC,kBAAe,SAAO,QACrB,oCAAC,gCAAS,WAAU,WAAU,CAChC,GACA,oCAAC,kBAAe,WAAU,cAAY,WAAY,CACpD,CACF,CAEJ;AAEJ;AAEA,IAAO,gBAAQ;","names":["React"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Label.cjs"}
@@ -1,53 +1,6 @@
1
- // src/components/ui/Label.tsx
2
- import { InfoIcon } from "lucide-react";
3
-
4
- // src/components/primitives/tooltip.tsx
5
- import * as TooltipPrimitive from "@radix-ui/react-tooltip";
6
- import * as React2 from "react";
7
-
8
- // src/lib/utils.ts
9
- import { clsx } from "clsx";
10
- import { twMerge } from "tailwind-merge";
11
- function cn(...inputs) {
12
- return twMerge(clsx(inputs));
13
- }
14
-
15
- // src/components/primitives/tooltip.tsx
16
- var TooltipProvider = TooltipPrimitive.Provider;
17
- var Tooltip = TooltipPrimitive.Root;
18
- var TooltipTrigger = TooltipPrimitive.Trigger;
19
- var TooltipContent = React2.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React2.createElement(
20
- TooltipPrimitive.Content,
21
- {
22
- ref,
23
- sideOffset,
24
- className: cn(
25
- "z-50 overflow-hidden rounded-md border border-neutral-200 bg-white px-3 py-1.5 text-sm text-neutral-950 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",
26
- className
27
- ),
28
- ...props
29
- }
30
- ));
31
- TooltipContent.displayName = TooltipPrimitive.Content.displayName;
32
-
33
- // src/components/ui/Label.tsx
34
- function Label({ text, required, description, className, ...props }) {
35
- if (!text) return null;
36
- return /* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-row gap-1" }, /* @__PURE__ */ React.createElement(
37
- "label",
38
- {
39
- className: cn(
40
- "text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
41
- className
42
- ),
43
- ...props
44
- },
45
- text,
46
- required && /* @__PURE__ */ React.createElement("span", { className: "text-red-600" }, "\xA0*")
47
- ), !!description && /* @__PURE__ */ React.createElement(TooltipProvider, null, /* @__PURE__ */ React.createElement(Tooltip, null, /* @__PURE__ */ React.createElement(TooltipTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(InfoIcon, { className: "h-4 w-4" })), /* @__PURE__ */ React.createElement(TooltipContent, { className: "max-w-48" }, description))));
48
- }
49
- var Label_default = Label;
50
- export {
51
- Label_default as default
52
- };
1
+ export { Label_default as default } from '../../chunk-UTPXIIHX.js';
2
+ import '../../chunk-PNXBZYED.js';
3
+ import '../../chunk-2FGZQI42.js';
4
+ import '../../chunk-PZ5AY32C.js';
5
+ //# sourceMappingURL=Label.js.map
53
6
  //# sourceMappingURL=Label.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/Label.tsx","../../../src/components/primitives/tooltip.tsx","../../../src/lib/utils.ts"],"sourcesContent":["import { InfoIcon } from 'lucide-react'\nimport { type ComponentPropsWithoutRef } from 'react'\n\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from '@/components/primitives/tooltip'\nimport { cn } from '@/lib/utils'\n\ninterface Props extends ComponentPropsWithoutRef<'label'> {\n text?: string\n required?: boolean\n description?: string\n}\n\nfunction Label({ text, required, description, className, ...props }: Readonly<Props>) {\n if (!text) return null\n\n return (\n <div className=\"flex w-full flex-row gap-1\">\n <label\n className={cn(\n 'text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70',\n className\n )}\n {...props}\n >\n {text}\n {required && <span className=\"text-red-600\">&nbsp;*</span>}\n </label>\n\n {!!description && (\n <TooltipProvider>\n <Tooltip>\n <TooltipTrigger asChild>\n <InfoIcon className=\"h-4 w-4\" />\n </TooltipTrigger>\n <TooltipContent className=\"max-w-48\">{description}</TooltipContent>\n </Tooltip>\n </TooltipProvider>\n )}\n </div>\n )\n}\n\nexport default Label\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 overflow-hidden rounded-md border border-neutral-200 bg-white px-3 py-1.5 text-sm text-neutral-950 shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50',\n className\n )}\n {...props}\n />\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger }\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";AAAA,SAAS,gBAAgB;;;ACEzB,YAAY,sBAAsB;AAClC,YAAYA,YAAW;;;ACHvB,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ADEA,IAAM,kBAAmC;AAEzC,IAAM,UAA2B;AAEjC,IAAM,iBAAkC;AAExC,IAAM,iBAAuB,kBAG3B,CAAC,EAAE,WAAW,aAAa,GAAG,GAAG,MAAM,GAAG,QAC1C;AAAA,EAAkB;AAAA,EAAjB;AAAA,IACC;AAAA,IACA;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,IACC,GAAG;AAAA;AACN,CACD;AACD,eAAe,cAA+B,yBAAQ;;;ADVtD,SAAS,MAAM,EAAE,MAAM,UAAU,aAAa,WAAW,GAAG,MAAM,GAAoB;AACpF,MAAI,CAAC,KAAM,QAAO;AAElB,SACE,oCAAC,SAAI,WAAU,gCACb;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,IAEH;AAAA,IACA,YAAY,oCAAC,UAAK,WAAU,kBAAe,OAAO;AAAA,EACrD,GAEC,CAAC,CAAC,eACD,oCAAC,uBACC,oCAAC,eACC,oCAAC,kBAAe,SAAO,QACrB,oCAAC,YAAS,WAAU,WAAU,CAChC,GACA,oCAAC,kBAAe,WAAU,cAAY,WAAY,CACpD,CACF,CAEJ;AAEJ;AAEA,IAAO,gBAAQ;","names":["React"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Label.js"}
@@ -1,61 +1,13 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ 'use strict';
29
2
 
30
- // src/components/ui/LinkButton.tsx
31
- var LinkButton_exports = {};
32
- __export(LinkButton_exports, {
33
- LinkButton: () => LinkButton
34
- });
35
- module.exports = __toCommonJS(LinkButton_exports);
36
- var import_link = __toESM(require("next/link"), 1);
37
- var import_react = __toESM(require("react"), 1);
38
- var LinkButton = ({
39
- disabled = false,
40
- useAnchor = false,
41
- children,
42
- href,
43
- ...props
44
- }) => {
45
- const Component = useAnchor ? "a" : import_link.default;
46
- return /* @__PURE__ */ import_react.default.createElement(
47
- Component,
48
- {
49
- href,
50
- className: `inline-flex items-center justify-center gap-2 rounded-full text-sm font-bold leading-tight text-black underline outline-dashed outline-2 outline-offset-2 outline-transparent hover:text-purple-100 focus:text-black focus:outline-purple-100 active:text-purple-80 ${disabled ? "pointer-events-none text-grey-40" : ""} `,
51
- ...disabled && { "aria-disabled": true, tabIndex: -1 },
52
- ...props
53
- },
54
- children
55
- );
56
- };
57
- // Annotate the CommonJS export names for ESM import in node:
58
- 0 && (module.exports = {
59
- LinkButton
3
+ var chunkYPA6HVCD_cjs = require('../../chunk-YPA6HVCD.cjs');
4
+ require('../../chunk-Q7SFCCGT.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "LinkButton", {
9
+ enumerable: true,
10
+ get: function () { return chunkYPA6HVCD_cjs.LinkButton; }
60
11
  });
12
+ //# sourceMappingURL=LinkButton.cjs.map
61
13
  //# sourceMappingURL=LinkButton.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/LinkButton.tsx"],"sourcesContent":["import Link from 'next/link'\nimport React from 'react'\n\nexport interface LinkButtonProps\n extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>,\n Omit<React.ComponentProps<typeof Link>, 'href'> {\n disabled?: boolean\n href: string // Ensures href is always required and compatible with both\n useAnchor?: boolean // New prop to decide between <a> and <Link>\n}\n\n/**\n * A custom button component that can render a link using either\n * Next.js's Link component or a regular <a> tag based on a prop.\n *\n * @component\n * @example\n * ```tsx\n * <LinkButton href=\"/about\">About</LinkButton>\n * ```\n *\n * @param {object} props - The component props.\n * @param {boolean} [props.disabled=false] - Determines if the button is disabled.\n * @param {boolean} [props.useAnchor=false] - Whether to render a regular <a> instead of Next.js Link.\n * @param {React.ReactNode} props.children - The content of the button.\n * @param {string} props.href - The URL the button points to.\n * @returns {JSX.Element} The rendered LinkButton component.\n */\nexport const LinkButton = ({\n disabled = false,\n useAnchor = false,\n children,\n href,\n ...props\n}: LinkButtonProps) => {\n const Component = useAnchor ? 'a' : Link\n\n return (\n <Component\n href={href}\n className={`inline-flex items-center justify-center gap-2 rounded-full text-sm font-bold leading-tight text-black underline outline-dashed outline-2 outline-offset-2 outline-transparent hover:text-purple-100 focus:text-black focus:outline-purple-100 active:text-purple-80 ${disabled ? 'pointer-events-none text-grey-40' : ''} `}\n {...(disabled && { 'aria-disabled': true, tabIndex: -1 })}\n {...props}\n >\n {children}\n </Component>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiB;AACjB,mBAAkB;AA2BX,IAAM,aAAa,CAAC;AAAA,EACzB,WAAW;AAAA,EACX,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAuB;AACrB,QAAM,YAAY,YAAY,MAAM,YAAAA;AAEpC,SACE,6BAAAC,QAAA;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW,uQAAuQ,WAAW,qCAAqC,EAAE;AAAA,MACnU,GAAI,YAAY,EAAE,iBAAiB,MAAM,UAAU,GAAG;AAAA,MACtD,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ;","names":["Link","React"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"LinkButton.cjs"}
@@ -1,26 +1,4 @@
1
- // src/components/ui/LinkButton.tsx
2
- import Link from "next/link";
3
- import React from "react";
4
- var LinkButton = ({
5
- disabled = false,
6
- useAnchor = false,
7
- children,
8
- href,
9
- ...props
10
- }) => {
11
- const Component = useAnchor ? "a" : Link;
12
- return /* @__PURE__ */ React.createElement(
13
- Component,
14
- {
15
- href,
16
- className: `inline-flex items-center justify-center gap-2 rounded-full text-sm font-bold leading-tight text-black underline outline-dashed outline-2 outline-offset-2 outline-transparent hover:text-purple-100 focus:text-black focus:outline-purple-100 active:text-purple-80 ${disabled ? "pointer-events-none text-grey-40" : ""} `,
17
- ...disabled && { "aria-disabled": true, tabIndex: -1 },
18
- ...props
19
- },
20
- children
21
- );
22
- };
23
- export {
24
- LinkButton
25
- };
1
+ export { LinkButton } from '../../chunk-HJYGNJD5.js';
2
+ import '../../chunk-PZ5AY32C.js';
3
+ //# sourceMappingURL=LinkButton.js.map
26
4
  //# sourceMappingURL=LinkButton.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/LinkButton.tsx"],"sourcesContent":["import Link from 'next/link'\nimport React from 'react'\n\nexport interface LinkButtonProps\n extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>,\n Omit<React.ComponentProps<typeof Link>, 'href'> {\n disabled?: boolean\n href: string // Ensures href is always required and compatible with both\n useAnchor?: boolean // New prop to decide between <a> and <Link>\n}\n\n/**\n * A custom button component that can render a link using either\n * Next.js's Link component or a regular <a> tag based on a prop.\n *\n * @component\n * @example\n * ```tsx\n * <LinkButton href=\"/about\">About</LinkButton>\n * ```\n *\n * @param {object} props - The component props.\n * @param {boolean} [props.disabled=false] - Determines if the button is disabled.\n * @param {boolean} [props.useAnchor=false] - Whether to render a regular <a> instead of Next.js Link.\n * @param {React.ReactNode} props.children - The content of the button.\n * @param {string} props.href - The URL the button points to.\n * @returns {JSX.Element} The rendered LinkButton component.\n */\nexport const LinkButton = ({\n disabled = false,\n useAnchor = false,\n children,\n href,\n ...props\n}: LinkButtonProps) => {\n const Component = useAnchor ? 'a' : Link\n\n return (\n <Component\n href={href}\n className={`inline-flex items-center justify-center gap-2 rounded-full text-sm font-bold leading-tight text-black underline outline-dashed outline-2 outline-offset-2 outline-transparent hover:text-purple-100 focus:text-black focus:outline-purple-100 active:text-purple-80 ${disabled ? 'pointer-events-none text-grey-40' : ''} `}\n {...(disabled && { 'aria-disabled': true, tabIndex: -1 })}\n {...props}\n >\n {children}\n </Component>\n )\n}\n"],"mappings":";AAAA,OAAO,UAAU;AACjB,OAAO,WAAW;AA2BX,IAAM,aAAa,CAAC;AAAA,EACzB,WAAW;AAAA,EACX,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAuB;AACrB,QAAM,YAAY,YAAY,MAAM;AAEpC,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW,uQAAuQ,WAAW,qCAAqC,EAAE;AAAA,MACnU,GAAI,YAAY,EAAE,iBAAiB,MAAM,UAAU,GAAG;AAAA,MACtD,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ;","names":[]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"LinkButton.js"}
@@ -1,155 +1,13 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ 'use strict';
29
2
 
30
- // src/components/ui/ListItem.tsx
31
- var ListItem_exports = {};
32
- __export(ListItem_exports, {
33
- default: () => ListItem_default
34
- });
35
- module.exports = __toCommonJS(ListItem_exports);
36
- var import_lucide_react2 = require("lucide-react");
37
- var import_lucide_react3 = require("lucide-react");
3
+ var chunkZC7K3XKN_cjs = require('../../chunk-ZC7K3XKN.cjs');
4
+ require('../../chunk-KH3K3OI4.cjs');
5
+ require('../../chunk-HMKEBIBE.cjs');
6
+ require('../../chunk-MGWZXPMF.cjs');
7
+ require('../../chunk-Q7SFCCGT.cjs');
38
8
 
39
- // src/components/ui/Checkbox.tsx
40
- var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
41
- var import_lucide_react = require("lucide-react");
42
- var import_react = require("react");
43
9
 
44
- // src/lib/utils.ts
45
- var import_clsx = require("clsx");
46
- var import_tailwind_merge = require("tailwind-merge");
47
- function cn(...inputs) {
48
- return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
49
- }
50
10
 
51
- // src/components/ui/ErrorMessage.tsx
52
- function ErrorMessage({ message, className, ...props }) {
53
- if (!message) return null;
54
- return /* @__PURE__ */ React.createElement("p", { className: cn("px-1 text-xs text-red-600", className), ...props }, message);
55
- }
56
- var ErrorMessage_default = ErrorMessage;
57
-
58
- // src/components/ui/Checkbox.tsx
59
- var CheckboxToggle = (0, import_react.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
60
- CheckboxPrimitive.Root,
61
- {
62
- ref,
63
- className: cn(
64
- "group",
65
- "peer",
66
- "h-5",
67
- "w-5",
68
- "shrink-0",
69
- "rounded-md",
70
- "border",
71
- "border-grey-10",
72
- "outline",
73
- "outline-1",
74
- "outline-offset-2",
75
- "outline-transparent",
76
- "hover:border-grey-20",
77
- "focus:outline-purple-100",
78
- "active:border-green-80",
79
- "disabled:cursor-not-allowed",
80
- "disabled:opacity-50",
81
- "data-[state=checked]:bg-green-80",
82
- "data-[state=indeterminate]:bg-green-80",
83
- "data-[state=checked]:text-white",
84
- "data-[state=indeterminate]:text-primary-foreground",
85
- props.disabled && "bg-grey-20 data-[state=checked]:bg-grey-20 data-[state=checked]:text-foreground",
86
- className
87
- ),
88
- ...props
89
- },
90
- /* @__PURE__ */ React.createElement(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current" }, /* @__PURE__ */ React.createElement(import_lucide_react.Check, { className: "hidden h-4 w-4 group-data-[state=checked]:block" }), /* @__PURE__ */ React.createElement(import_lucide_react.Minus, { className: "hidden h-4 w-4 group-data-[state=indeterminate]:block" }))
91
- ));
92
- CheckboxToggle.displayName = CheckboxPrimitive.Root.displayName;
93
- var Checkbox = (0, import_react.forwardRef)(
94
- ({ error, classNames, children, ...props }, ref) => {
95
- const id = props.id ?? `${props.name ?? props.value?.toString()}-checkbox`;
96
- return /* @__PURE__ */ React.createElement("div", { className: cn("flex space-x-2", classNames?.wrapper) }, /* @__PURE__ */ React.createElement(CheckboxToggle, { id, ref, ...props }), /* @__PURE__ */ React.createElement(
97
- "label",
98
- {
99
- htmlFor: id,
100
- className: cn(
101
- "text-sm",
102
- props.disabled && "pointer-events-none text-grey-40",
103
- classNames?.label
104
- )
105
- },
106
- children,
107
- /* @__PURE__ */ React.createElement(ErrorMessage_default, { message: error, className: "mt-1" })
108
- ));
109
- }
110
- );
111
- Checkbox.displayName = "Checkbox";
112
-
113
- // src/components/ui/ListItem.tsx
114
- function ListItem({
115
- icon,
116
- hasCheckbox,
117
- isSelected,
118
- className,
119
- title,
120
- value,
121
- description,
122
- ...props
123
- }) {
124
- const getIconIfValid = (icon2) => {
125
- if (icon2 in import_lucide_react3.icons) {
126
- const IconComponent = import_lucide_react3.icons[icon2];
127
- return /* @__PURE__ */ React.createElement(IconComponent, { size: 14 });
128
- }
129
- return null;
130
- };
131
- const optionIcon = icon ? getIconIfValid(icon) : void 0;
132
- return /* @__PURE__ */ React.createElement(
133
- "li",
134
- {
135
- className: cn(
136
- "group relative flex w-72 cursor-pointer flex-row items-center text-left text-sm",
137
- className
138
- ),
139
- ...props,
140
- "data-state": isSelected ? "checked" : "unchecked"
141
- },
142
- optionIcon && /* @__PURE__ */ React.createElement("span", { className: "mr-2" }, optionIcon),
143
- hasCheckbox && /* @__PURE__ */ React.createElement(Checkbox, { id: value, checked: isSelected, onClick: (e) => e.preventDefault() }),
144
- /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", null, title), /* @__PURE__ */ React.createElement("p", { className: "text-xs text-grey-80" }, description)),
145
- /* @__PURE__ */ React.createElement(
146
- import_lucide_react2.CheckIcon,
147
- {
148
- className: "absolute inset-y-0 right-0 my-auto hidden w-6 text-green-100 group-data-[state=checked]:block",
149
- size: 16
150
- }
151
- )
152
- );
153
- }
154
- var ListItem_default = ListItem;
11
+ module.exports = chunkZC7K3XKN_cjs.ListItem_default;
12
+ //# sourceMappingURL=ListItem.cjs.map
155
13
  //# sourceMappingURL=ListItem.cjs.map