@ginia/ui 0.1.1

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 (873) hide show
  1. package/AGENTS.md +66 -0
  2. package/README.md +135 -0
  3. package/dist/components/domain/index.cjs +23 -0
  4. package/dist/components/domain/index.cjs.map +1 -0
  5. package/dist/components/domain/index.d.cts +6 -0
  6. package/dist/components/domain/index.d.ts +6 -0
  7. package/dist/components/domain/index.js +2 -0
  8. package/dist/components/domain/index.js.map +1 -0
  9. package/dist/components/domain/resume/index.cjs +29 -0
  10. package/dist/components/domain/resume/index.cjs.map +1 -0
  11. package/dist/components/domain/resume/index.d.cts +6 -0
  12. package/dist/components/domain/resume/index.d.ts +6 -0
  13. package/dist/components/domain/resume/index.js +5 -0
  14. package/dist/components/domain/resume/index.js.map +1 -0
  15. package/dist/components/domain/resume/resume-editor/resume-editor.cjs +137 -0
  16. package/dist/components/domain/resume/resume-editor/resume-editor.cjs.map +1 -0
  17. package/dist/components/domain/resume/resume-editor/resume-editor.d.cts +15 -0
  18. package/dist/components/domain/resume/resume-editor/resume-editor.d.ts +15 -0
  19. package/dist/components/domain/resume/resume-editor/resume-editor.js +113 -0
  20. package/dist/components/domain/resume/resume-editor/resume-editor.js.map +1 -0
  21. package/dist/components/domain/resume/resume-editor/sections/academic-info.cjs +68 -0
  22. package/dist/components/domain/resume/resume-editor/sections/academic-info.cjs.map +1 -0
  23. package/dist/components/domain/resume/resume-editor/sections/academic-info.d.cts +12 -0
  24. package/dist/components/domain/resume/resume-editor/sections/academic-info.d.ts +12 -0
  25. package/dist/components/domain/resume/resume-editor/sections/academic-info.js +44 -0
  26. package/dist/components/domain/resume/resume-editor/sections/academic-info.js.map +1 -0
  27. package/dist/components/domain/resume/resume-editor/sections/activities.cjs +127 -0
  28. package/dist/components/domain/resume/resume-editor/sections/activities.cjs.map +1 -0
  29. package/dist/components/domain/resume/resume-editor/sections/activities.d.cts +12 -0
  30. package/dist/components/domain/resume/resume-editor/sections/activities.d.ts +12 -0
  31. package/dist/components/domain/resume/resume-editor/sections/activities.js +103 -0
  32. package/dist/components/domain/resume/resume-editor/sections/activities.js.map +1 -0
  33. package/dist/components/domain/resume/resume-editor/sections/certifications.cjs +128 -0
  34. package/dist/components/domain/resume/resume-editor/sections/certifications.cjs.map +1 -0
  35. package/dist/components/domain/resume/resume-editor/sections/certifications.d.cts +13 -0
  36. package/dist/components/domain/resume/resume-editor/sections/certifications.d.ts +13 -0
  37. package/dist/components/domain/resume/resume-editor/sections/certifications.js +104 -0
  38. package/dist/components/domain/resume/resume-editor/sections/certifications.js.map +1 -0
  39. package/dist/components/domain/resume/resume-editor/sections/education.cjs +127 -0
  40. package/dist/components/domain/resume/resume-editor/sections/education.cjs.map +1 -0
  41. package/dist/components/domain/resume/resume-editor/sections/education.d.cts +12 -0
  42. package/dist/components/domain/resume/resume-editor/sections/education.d.ts +12 -0
  43. package/dist/components/domain/resume/resume-editor/sections/education.js +103 -0
  44. package/dist/components/domain/resume/resume-editor/sections/education.js.map +1 -0
  45. package/dist/components/domain/resume/resume-editor/sections/experience.cjs +127 -0
  46. package/dist/components/domain/resume/resume-editor/sections/experience.cjs.map +1 -0
  47. package/dist/components/domain/resume/resume-editor/sections/experience.d.cts +12 -0
  48. package/dist/components/domain/resume/resume-editor/sections/experience.d.ts +12 -0
  49. package/dist/components/domain/resume/resume-editor/sections/experience.js +103 -0
  50. package/dist/components/domain/resume/resume-editor/sections/experience.js.map +1 -0
  51. package/dist/components/domain/resume/resume-editor/sections/personal-info.cjs +171 -0
  52. package/dist/components/domain/resume/resume-editor/sections/personal-info.cjs.map +1 -0
  53. package/dist/components/domain/resume/resume-editor/sections/personal-info.d.cts +12 -0
  54. package/dist/components/domain/resume/resume-editor/sections/personal-info.d.ts +12 -0
  55. package/dist/components/domain/resume/resume-editor/sections/personal-info.js +147 -0
  56. package/dist/components/domain/resume/resume-editor/sections/personal-info.js.map +1 -0
  57. package/dist/components/domain/resume/resume-editor/sections/preferences.cjs +129 -0
  58. package/dist/components/domain/resume/resume-editor/sections/preferences.cjs.map +1 -0
  59. package/dist/components/domain/resume/resume-editor/sections/preferences.d.cts +12 -0
  60. package/dist/components/domain/resume/resume-editor/sections/preferences.d.ts +12 -0
  61. package/dist/components/domain/resume/resume-editor/sections/preferences.js +109 -0
  62. package/dist/components/domain/resume/resume-editor/sections/preferences.js.map +1 -0
  63. package/dist/components/domain/resume/resume-editor/sections/requirements.cjs +123 -0
  64. package/dist/components/domain/resume/resume-editor/sections/requirements.cjs.map +1 -0
  65. package/dist/components/domain/resume/resume-editor/sections/requirements.d.cts +12 -0
  66. package/dist/components/domain/resume/resume-editor/sections/requirements.d.ts +12 -0
  67. package/dist/components/domain/resume/resume-editor/sections/requirements.js +99 -0
  68. package/dist/components/domain/resume/resume-editor/sections/requirements.js.map +1 -0
  69. package/dist/components/domain/resume/resume-editor/sections/skills.cjs +110 -0
  70. package/dist/components/domain/resume/resume-editor/sections/skills.cjs.map +1 -0
  71. package/dist/components/domain/resume/resume-editor/sections/skills.d.cts +12 -0
  72. package/dist/components/domain/resume/resume-editor/sections/skills.d.ts +12 -0
  73. package/dist/components/domain/resume/resume-editor/sections/skills.js +86 -0
  74. package/dist/components/domain/resume/resume-editor/sections/skills.js.map +1 -0
  75. package/dist/components/domain/resume/resume-preview/resume-preview.cjs +73 -0
  76. package/dist/components/domain/resume/resume-preview/resume-preview.cjs.map +1 -0
  77. package/dist/components/domain/resume/resume-preview/resume-preview.d.cts +13 -0
  78. package/dist/components/domain/resume/resume-preview/resume-preview.d.ts +13 -0
  79. package/dist/components/domain/resume/resume-preview/resume-preview.js +39 -0
  80. package/dist/components/domain/resume/resume-preview/resume-preview.js.map +1 -0
  81. package/dist/components/domain/resume/resume-preview/sections/contact-skills.cjs +79 -0
  82. package/dist/components/domain/resume/resume-preview/sections/contact-skills.cjs.map +1 -0
  83. package/dist/components/domain/resume/resume-preview/sections/contact-skills.d.cts +12 -0
  84. package/dist/components/domain/resume/resume-preview/sections/contact-skills.d.ts +12 -0
  85. package/dist/components/domain/resume/resume-preview/sections/contact-skills.js +55 -0
  86. package/dist/components/domain/resume/resume-preview/sections/contact-skills.js.map +1 -0
  87. package/dist/components/domain/resume/resume-preview/sections/experience-education.cjs +127 -0
  88. package/dist/components/domain/resume/resume-preview/sections/experience-education.cjs.map +1 -0
  89. package/dist/components/domain/resume/resume-preview/sections/experience-education.d.cts +13 -0
  90. package/dist/components/domain/resume/resume-preview/sections/experience-education.d.ts +13 -0
  91. package/dist/components/domain/resume/resume-preview/sections/experience-education.js +103 -0
  92. package/dist/components/domain/resume/resume-preview/sections/experience-education.js.map +1 -0
  93. package/dist/components/domain/resume/resume-preview/sections/footer-preview.cjs +36 -0
  94. package/dist/components/domain/resume/resume-preview/sections/footer-preview.cjs.map +1 -0
  95. package/dist/components/domain/resume/resume-preview/sections/footer-preview.d.cts +5 -0
  96. package/dist/components/domain/resume/resume-preview/sections/footer-preview.d.ts +5 -0
  97. package/dist/components/domain/resume/resume-preview/sections/footer-preview.js +12 -0
  98. package/dist/components/domain/resume/resume-preview/sections/footer-preview.js.map +1 -0
  99. package/dist/components/domain/resume/resume-preview/sections/header-preview.cjs +64 -0
  100. package/dist/components/domain/resume/resume-preview/sections/header-preview.cjs.map +1 -0
  101. package/dist/components/domain/resume/resume-preview/sections/header-preview.d.cts +13 -0
  102. package/dist/components/domain/resume/resume-preview/sections/header-preview.d.ts +13 -0
  103. package/dist/components/domain/resume/resume-preview/sections/header-preview.js +40 -0
  104. package/dist/components/domain/resume/resume-preview/sections/header-preview.js.map +1 -0
  105. package/dist/components/domain/resume/resume.cjs +360 -0
  106. package/dist/components/domain/resume/resume.cjs.map +1 -0
  107. package/dist/components/domain/resume/resume.d.cts +7 -0
  108. package/dist/components/domain/resume/resume.d.ts +7 -0
  109. package/dist/components/domain/resume/resume.js +326 -0
  110. package/dist/components/domain/resume/resume.js.map +1 -0
  111. package/dist/components/domain/resume/types.cjs +17 -0
  112. package/dist/components/domain/resume/types.cjs.map +1 -0
  113. package/dist/components/domain/resume/types.d.cts +195 -0
  114. package/dist/components/domain/resume/types.d.ts +195 -0
  115. package/dist/components/domain/resume/types.js +1 -0
  116. package/dist/components/domain/resume/types.js.map +1 -0
  117. package/dist/components/ui/accordion/accordion.cjs +103 -0
  118. package/dist/components/ui/accordion/accordion.cjs.map +1 -0
  119. package/dist/components/ui/accordion/accordion.d.cts +10 -0
  120. package/dist/components/ui/accordion/accordion.d.ts +10 -0
  121. package/dist/components/ui/accordion/accordion.js +66 -0
  122. package/dist/components/ui/accordion/accordion.js.map +1 -0
  123. package/dist/components/ui/accordion/index.cjs +23 -0
  124. package/dist/components/ui/accordion/index.cjs.map +1 -0
  125. package/dist/components/ui/accordion/index.d.cts +4 -0
  126. package/dist/components/ui/accordion/index.d.ts +4 -0
  127. package/dist/components/ui/accordion/index.js +2 -0
  128. package/dist/components/ui/accordion/index.js.map +1 -0
  129. package/dist/components/ui/alert/alert.cjs +90 -0
  130. package/dist/components/ui/alert/alert.cjs.map +1 -0
  131. package/dist/components/ui/alert/alert.d.cts +14 -0
  132. package/dist/components/ui/alert/alert.d.ts +14 -0
  133. package/dist/components/ui/alert/alert.js +53 -0
  134. package/dist/components/ui/alert/alert.js.map +1 -0
  135. package/dist/components/ui/alert/index.cjs +23 -0
  136. package/dist/components/ui/alert/index.cjs.map +1 -0
  137. package/dist/components/ui/alert/index.d.cts +4 -0
  138. package/dist/components/ui/alert/index.d.ts +4 -0
  139. package/dist/components/ui/alert/index.js +2 -0
  140. package/dist/components/ui/alert/index.js.map +1 -0
  141. package/dist/components/ui/alert-dialog/alert-dialog.cjs +207 -0
  142. package/dist/components/ui/alert-dialog/alert-dialog.cjs.map +1 -0
  143. package/dist/components/ui/alert-dialog/alert-dialog.d.cts +17 -0
  144. package/dist/components/ui/alert-dialog/alert-dialog.d.ts +17 -0
  145. package/dist/components/ui/alert-dialog/alert-dialog.js +163 -0
  146. package/dist/components/ui/alert-dialog/alert-dialog.js.map +1 -0
  147. package/dist/components/ui/alert-dialog/index.cjs +23 -0
  148. package/dist/components/ui/alert-dialog/index.cjs.map +1 -0
  149. package/dist/components/ui/alert-dialog/index.d.cts +4 -0
  150. package/dist/components/ui/alert-dialog/index.d.ts +4 -0
  151. package/dist/components/ui/alert-dialog/index.js +2 -0
  152. package/dist/components/ui/alert-dialog/index.js.map +1 -0
  153. package/dist/components/ui/aspect-ratio/aspect-ratio.cjs +41 -0
  154. package/dist/components/ui/aspect-ratio/aspect-ratio.cjs.map +1 -0
  155. package/dist/components/ui/aspect-ratio/aspect-ratio.d.cts +5 -0
  156. package/dist/components/ui/aspect-ratio/aspect-ratio.d.ts +5 -0
  157. package/dist/components/ui/aspect-ratio/aspect-ratio.js +7 -0
  158. package/dist/components/ui/aspect-ratio/aspect-ratio.js.map +1 -0
  159. package/dist/components/ui/aspect-ratio/index.cjs +23 -0
  160. package/dist/components/ui/aspect-ratio/index.cjs.map +1 -0
  161. package/dist/components/ui/aspect-ratio/index.d.cts +2 -0
  162. package/dist/components/ui/aspect-ratio/index.d.ts +2 -0
  163. package/dist/components/ui/aspect-ratio/index.js +2 -0
  164. package/dist/components/ui/aspect-ratio/index.js.map +1 -0
  165. package/dist/components/ui/autocomplete/autocomplete.cjs +210 -0
  166. package/dist/components/ui/autocomplete/autocomplete.cjs.map +1 -0
  167. package/dist/components/ui/autocomplete/autocomplete.d.cts +28 -0
  168. package/dist/components/ui/autocomplete/autocomplete.d.ts +28 -0
  169. package/dist/components/ui/autocomplete/autocomplete.js +176 -0
  170. package/dist/components/ui/autocomplete/autocomplete.js.map +1 -0
  171. package/dist/components/ui/autocomplete/index.cjs +23 -0
  172. package/dist/components/ui/autocomplete/index.cjs.map +1 -0
  173. package/dist/components/ui/autocomplete/index.d.cts +3 -0
  174. package/dist/components/ui/autocomplete/index.d.ts +3 -0
  175. package/dist/components/ui/autocomplete/index.js +2 -0
  176. package/dist/components/ui/autocomplete/index.js.map +1 -0
  177. package/dist/components/ui/avatar/avatar.cjs +80 -0
  178. package/dist/components/ui/avatar/avatar.cjs.map +1 -0
  179. package/dist/components/ui/avatar/avatar.d.cts +8 -0
  180. package/dist/components/ui/avatar/avatar.d.ts +8 -0
  181. package/dist/components/ui/avatar/avatar.js +44 -0
  182. package/dist/components/ui/avatar/avatar.js.map +1 -0
  183. package/dist/components/ui/avatar/index.cjs +23 -0
  184. package/dist/components/ui/avatar/index.cjs.map +1 -0
  185. package/dist/components/ui/avatar/index.d.cts +3 -0
  186. package/dist/components/ui/avatar/index.d.ts +3 -0
  187. package/dist/components/ui/avatar/index.js +2 -0
  188. package/dist/components/ui/avatar/index.js.map +1 -0
  189. package/dist/components/ui/badge/badge.cjs +71 -0
  190. package/dist/components/ui/badge/badge.cjs.map +1 -0
  191. package/dist/components/ui/badge/badge.d.cts +13 -0
  192. package/dist/components/ui/badge/badge.d.ts +13 -0
  193. package/dist/components/ui/badge/badge.js +46 -0
  194. package/dist/components/ui/badge/badge.js.map +1 -0
  195. package/dist/components/ui/badge/index.cjs +23 -0
  196. package/dist/components/ui/badge/index.cjs.map +1 -0
  197. package/dist/components/ui/badge/index.d.cts +5 -0
  198. package/dist/components/ui/badge/index.d.ts +5 -0
  199. package/dist/components/ui/badge/index.js +2 -0
  200. package/dist/components/ui/badge/index.js.map +1 -0
  201. package/dist/components/ui/breadcrumb/breadcrumb.cjs +141 -0
  202. package/dist/components/ui/breadcrumb/breadcrumb.cjs.map +1 -0
  203. package/dist/components/ui/breadcrumb/breadcrumb.d.cts +14 -0
  204. package/dist/components/ui/breadcrumb/breadcrumb.d.ts +14 -0
  205. package/dist/components/ui/breadcrumb/breadcrumb.js +111 -0
  206. package/dist/components/ui/breadcrumb/breadcrumb.js.map +1 -0
  207. package/dist/components/ui/breadcrumb/index.cjs +23 -0
  208. package/dist/components/ui/breadcrumb/index.cjs.map +1 -0
  209. package/dist/components/ui/breadcrumb/index.d.cts +3 -0
  210. package/dist/components/ui/breadcrumb/index.d.ts +3 -0
  211. package/dist/components/ui/breadcrumb/index.js +2 -0
  212. package/dist/components/ui/breadcrumb/index.js.map +1 -0
  213. package/dist/components/ui/button/button.cjs +79 -0
  214. package/dist/components/ui/button/button.cjs.map +1 -0
  215. package/dist/components/ui/button/button.d.cts +14 -0
  216. package/dist/components/ui/button/button.d.ts +14 -0
  217. package/dist/components/ui/button/button.js +54 -0
  218. package/dist/components/ui/button/button.js.map +1 -0
  219. package/dist/components/ui/button/index.cjs +23 -0
  220. package/dist/components/ui/button/index.cjs.map +1 -0
  221. package/dist/components/ui/button/index.d.cts +5 -0
  222. package/dist/components/ui/button/index.d.ts +5 -0
  223. package/dist/components/ui/button/index.js +2 -0
  224. package/dist/components/ui/button/index.js.map +1 -0
  225. package/dist/components/ui/calendar/calendar.cjs +78 -0
  226. package/dist/components/ui/calendar/calendar.cjs.map +1 -0
  227. package/dist/components/ui/calendar/calendar.d.cts +8 -0
  228. package/dist/components/ui/calendar/calendar.d.ts +8 -0
  229. package/dist/components/ui/calendar/calendar.js +54 -0
  230. package/dist/components/ui/calendar/calendar.js.map +1 -0
  231. package/dist/components/ui/calendar/index.cjs +23 -0
  232. package/dist/components/ui/calendar/index.cjs.map +1 -0
  233. package/dist/components/ui/calendar/index.d.cts +4 -0
  234. package/dist/components/ui/calendar/index.d.ts +4 -0
  235. package/dist/components/ui/calendar/index.js +2 -0
  236. package/dist/components/ui/calendar/index.js.map +1 -0
  237. package/dist/components/ui/card/card.cjs +118 -0
  238. package/dist/components/ui/card/card.cjs.map +1 -0
  239. package/dist/components/ui/card/card.d.cts +12 -0
  240. package/dist/components/ui/card/card.d.ts +12 -0
  241. package/dist/components/ui/card/card.js +88 -0
  242. package/dist/components/ui/card/card.js.map +1 -0
  243. package/dist/components/ui/card/index.cjs +23 -0
  244. package/dist/components/ui/card/index.cjs.map +1 -0
  245. package/dist/components/ui/card/index.d.cts +3 -0
  246. package/dist/components/ui/card/index.d.ts +3 -0
  247. package/dist/components/ui/card/index.js +2 -0
  248. package/dist/components/ui/card/index.js.map +1 -0
  249. package/dist/components/ui/carousel/carousel.cjs +234 -0
  250. package/dist/components/ui/carousel/carousel.cjs.map +1 -0
  251. package/dist/components/ui/carousel/carousel.d.cts +24 -0
  252. package/dist/components/ui/carousel/carousel.d.ts +24 -0
  253. package/dist/components/ui/carousel/carousel.js +196 -0
  254. package/dist/components/ui/carousel/carousel.js.map +1 -0
  255. package/dist/components/ui/carousel/index.cjs +23 -0
  256. package/dist/components/ui/carousel/index.cjs.map +1 -0
  257. package/dist/components/ui/carousel/index.d.cts +7 -0
  258. package/dist/components/ui/carousel/index.d.ts +7 -0
  259. package/dist/components/ui/carousel/index.js +2 -0
  260. package/dist/components/ui/carousel/index.js.map +1 -0
  261. package/dist/components/ui/checkbox/checkbox.cjs +63 -0
  262. package/dist/components/ui/checkbox/checkbox.cjs.map +1 -0
  263. package/dist/components/ui/checkbox/checkbox.d.cts +6 -0
  264. package/dist/components/ui/checkbox/checkbox.d.ts +6 -0
  265. package/dist/components/ui/checkbox/checkbox.js +29 -0
  266. package/dist/components/ui/checkbox/checkbox.js.map +1 -0
  267. package/dist/components/ui/checkbox/index.cjs +23 -0
  268. package/dist/components/ui/checkbox/index.cjs.map +1 -0
  269. package/dist/components/ui/checkbox/index.d.cts +3 -0
  270. package/dist/components/ui/checkbox/index.d.ts +3 -0
  271. package/dist/components/ui/checkbox/index.js +2 -0
  272. package/dist/components/ui/checkbox/index.js.map +1 -0
  273. package/dist/components/ui/collapsible/collapsible.cjs +47 -0
  274. package/dist/components/ui/collapsible/collapsible.cjs.map +1 -0
  275. package/dist/components/ui/collapsible/collapsible.d.cts +7 -0
  276. package/dist/components/ui/collapsible/collapsible.d.ts +7 -0
  277. package/dist/components/ui/collapsible/collapsible.js +11 -0
  278. package/dist/components/ui/collapsible/collapsible.js.map +1 -0
  279. package/dist/components/ui/collapsible/index.cjs +23 -0
  280. package/dist/components/ui/collapsible/index.cjs.map +1 -0
  281. package/dist/components/ui/collapsible/index.d.cts +2 -0
  282. package/dist/components/ui/collapsible/index.d.ts +2 -0
  283. package/dist/components/ui/collapsible/index.js +2 -0
  284. package/dist/components/ui/collapsible/index.js.map +1 -0
  285. package/dist/components/ui/combobox/combobox.cjs +129 -0
  286. package/dist/components/ui/combobox/combobox.cjs.map +1 -0
  287. package/dist/components/ui/combobox/combobox.d.cts +19 -0
  288. package/dist/components/ui/combobox/combobox.d.ts +19 -0
  289. package/dist/components/ui/combobox/combobox.js +102 -0
  290. package/dist/components/ui/combobox/combobox.js.map +1 -0
  291. package/dist/components/ui/combobox/index.cjs +23 -0
  292. package/dist/components/ui/combobox/index.cjs.map +1 -0
  293. package/dist/components/ui/combobox/index.d.cts +2 -0
  294. package/dist/components/ui/combobox/index.d.ts +2 -0
  295. package/dist/components/ui/combobox/index.js +2 -0
  296. package/dist/components/ui/combobox/index.js.map +1 -0
  297. package/dist/components/ui/command/command.cjs +174 -0
  298. package/dist/components/ui/command/command.cjs.map +1 -0
  299. package/dist/components/ui/command/command.d.cts +17 -0
  300. package/dist/components/ui/command/command.d.ts +17 -0
  301. package/dist/components/ui/command/command.js +142 -0
  302. package/dist/components/ui/command/command.js.map +1 -0
  303. package/dist/components/ui/command/index.cjs +23 -0
  304. package/dist/components/ui/command/index.cjs.map +1 -0
  305. package/dist/components/ui/command/index.d.cts +5 -0
  306. package/dist/components/ui/command/index.d.ts +5 -0
  307. package/dist/components/ui/command/index.js +2 -0
  308. package/dist/components/ui/command/index.js.map +1 -0
  309. package/dist/components/ui/context-menu/context-menu.cjs +255 -0
  310. package/dist/components/ui/context-menu/context-menu.cjs.map +1 -0
  311. package/dist/components/ui/context-menu/context-menu.d.cts +27 -0
  312. package/dist/components/ui/context-menu/context-menu.d.ts +27 -0
  313. package/dist/components/ui/context-menu/context-menu.js +207 -0
  314. package/dist/components/ui/context-menu/context-menu.js.map +1 -0
  315. package/dist/components/ui/context-menu/index.cjs +23 -0
  316. package/dist/components/ui/context-menu/index.cjs.map +1 -0
  317. package/dist/components/ui/context-menu/index.d.cts +4 -0
  318. package/dist/components/ui/context-menu/index.d.ts +4 -0
  319. package/dist/components/ui/context-menu/index.js +2 -0
  320. package/dist/components/ui/context-menu/index.js.map +1 -0
  321. package/dist/components/ui/date-picker/date-picker.cjs +189 -0
  322. package/dist/components/ui/date-picker/date-picker.cjs.map +1 -0
  323. package/dist/components/ui/date-picker/date-picker.d.cts +12 -0
  324. package/dist/components/ui/date-picker/date-picker.d.ts +12 -0
  325. package/dist/components/ui/date-picker/date-picker.js +159 -0
  326. package/dist/components/ui/date-picker/date-picker.js.map +1 -0
  327. package/dist/components/ui/date-picker/index.cjs +23 -0
  328. package/dist/components/ui/date-picker/index.cjs.map +1 -0
  329. package/dist/components/ui/date-picker/index.d.cts +2 -0
  330. package/dist/components/ui/date-picker/index.d.ts +2 -0
  331. package/dist/components/ui/date-picker/index.js +2 -0
  332. package/dist/components/ui/date-picker/index.js.map +1 -0
  333. package/dist/components/ui/dialog/dialog.cjs +184 -0
  334. package/dist/components/ui/dialog/dialog.cjs.map +1 -0
  335. package/dist/components/ui/dialog/dialog.d.cts +18 -0
  336. package/dist/components/ui/dialog/dialog.d.ts +18 -0
  337. package/dist/components/ui/dialog/dialog.js +141 -0
  338. package/dist/components/ui/dialog/dialog.js.map +1 -0
  339. package/dist/components/ui/dialog/index.cjs +23 -0
  340. package/dist/components/ui/dialog/index.cjs.map +1 -0
  341. package/dist/components/ui/dialog/index.d.cts +4 -0
  342. package/dist/components/ui/dialog/index.d.ts +4 -0
  343. package/dist/components/ui/dialog/index.js +2 -0
  344. package/dist/components/ui/dialog/index.js.map +1 -0
  345. package/dist/components/ui/drawer/drawer.cjs +156 -0
  346. package/dist/components/ui/drawer/drawer.cjs.map +1 -0
  347. package/dist/components/ui/drawer/drawer.d.cts +16 -0
  348. package/dist/components/ui/drawer/drawer.d.ts +16 -0
  349. package/dist/components/ui/drawer/drawer.js +123 -0
  350. package/dist/components/ui/drawer/drawer.js.map +1 -0
  351. package/dist/components/ui/drawer/index.cjs +23 -0
  352. package/dist/components/ui/drawer/index.cjs.map +1 -0
  353. package/dist/components/ui/drawer/index.d.cts +4 -0
  354. package/dist/components/ui/drawer/index.d.ts +4 -0
  355. package/dist/components/ui/drawer/index.js +2 -0
  356. package/dist/components/ui/drawer/index.js.map +1 -0
  357. package/dist/components/ui/dropdown-menu/dropdown-menu.cjs +201 -0
  358. package/dist/components/ui/dropdown-menu/dropdown-menu.cjs.map +1 -0
  359. package/dist/components/ui/dropdown-menu/dropdown-menu.d.cts +30 -0
  360. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +30 -0
  361. package/dist/components/ui/dropdown-menu/dropdown-menu.js +153 -0
  362. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
  363. package/dist/components/ui/dropdown-menu/index.cjs +23 -0
  364. package/dist/components/ui/dropdown-menu/index.cjs.map +1 -0
  365. package/dist/components/ui/dropdown-menu/index.d.cts +4 -0
  366. package/dist/components/ui/dropdown-menu/index.d.ts +4 -0
  367. package/dist/components/ui/dropdown-menu/index.js +2 -0
  368. package/dist/components/ui/dropdown-menu/index.js.map +1 -0
  369. package/dist/components/ui/form/form.cjs +162 -0
  370. package/dist/components/ui/form/form.cjs.map +1 -0
  371. package/dist/components/ui/form/form.d.cts +28 -0
  372. package/dist/components/ui/form/form.d.ts +28 -0
  373. package/dist/components/ui/form/form.js +126 -0
  374. package/dist/components/ui/form/form.js.map +1 -0
  375. package/dist/components/ui/form/index.cjs +23 -0
  376. package/dist/components/ui/form/index.cjs.map +1 -0
  377. package/dist/components/ui/form/index.d.cts +6 -0
  378. package/dist/components/ui/form/index.d.ts +6 -0
  379. package/dist/components/ui/form/index.js +2 -0
  380. package/dist/components/ui/form/index.js.map +1 -0
  381. package/dist/components/ui/hover-card/hover-card.cjs +76 -0
  382. package/dist/components/ui/hover-card/hover-card.cjs.map +1 -0
  383. package/dist/components/ui/hover-card/hover-card.d.cts +9 -0
  384. package/dist/components/ui/hover-card/hover-card.d.ts +9 -0
  385. package/dist/components/ui/hover-card/hover-card.js +40 -0
  386. package/dist/components/ui/hover-card/hover-card.js.map +1 -0
  387. package/dist/components/ui/hover-card/index.cjs +23 -0
  388. package/dist/components/ui/hover-card/index.cjs.map +1 -0
  389. package/dist/components/ui/hover-card/index.d.cts +4 -0
  390. package/dist/components/ui/hover-card/index.d.ts +4 -0
  391. package/dist/components/ui/hover-card/index.js +2 -0
  392. package/dist/components/ui/hover-card/index.js.map +1 -0
  393. package/dist/components/ui/icon/icon.cjs +56 -0
  394. package/dist/components/ui/icon/icon.cjs.map +1 -0
  395. package/dist/components/ui/icon/icon.d.cts +39 -0
  396. package/dist/components/ui/icon/icon.d.ts +39 -0
  397. package/dist/components/ui/icon/icon.js +31 -0
  398. package/dist/components/ui/icon/icon.js.map +1 -0
  399. package/dist/components/ui/icon/index.cjs +31 -0
  400. package/dist/components/ui/icon/index.cjs.map +1 -0
  401. package/dist/components/ui/icon/index.d.cts +3 -0
  402. package/dist/components/ui/icon/index.d.ts +3 -0
  403. package/dist/components/ui/icon/index.js +6 -0
  404. package/dist/components/ui/icon/index.js.map +1 -0
  405. package/dist/components/ui/index.cjs +137 -0
  406. package/dist/components/ui/index.cjs.map +1 -0
  407. package/dist/components/ui/index.d.cts +97 -0
  408. package/dist/components/ui/index.d.ts +97 -0
  409. package/dist/components/ui/index.js +59 -0
  410. package/dist/components/ui/index.js.map +1 -0
  411. package/dist/components/ui/input/index.cjs +23 -0
  412. package/dist/components/ui/input/index.cjs.map +1 -0
  413. package/dist/components/ui/input/index.d.cts +3 -0
  414. package/dist/components/ui/input/index.d.ts +3 -0
  415. package/dist/components/ui/input/index.js +2 -0
  416. package/dist/components/ui/input/index.js.map +1 -0
  417. package/dist/components/ui/input/input.cjs +44 -0
  418. package/dist/components/ui/input/input.cjs.map +1 -0
  419. package/dist/components/ui/input/input.d.cts +6 -0
  420. package/dist/components/ui/input/input.d.ts +6 -0
  421. package/dist/components/ui/input/input.js +20 -0
  422. package/dist/components/ui/input/input.js.map +1 -0
  423. package/dist/components/ui/input-field/index.cjs +23 -0
  424. package/dist/components/ui/input-field/index.cjs.map +1 -0
  425. package/dist/components/ui/input-field/index.d.cts +3 -0
  426. package/dist/components/ui/input-field/index.d.ts +3 -0
  427. package/dist/components/ui/input-field/index.js +2 -0
  428. package/dist/components/ui/input-field/index.js.map +1 -0
  429. package/dist/components/ui/input-field/input-field.cjs +72 -0
  430. package/dist/components/ui/input-field/input-field.cjs.map +1 -0
  431. package/dist/components/ui/input-field/input-field.d.cts +22 -0
  432. package/dist/components/ui/input-field/input-field.d.ts +22 -0
  433. package/dist/components/ui/input-field/input-field.js +47 -0
  434. package/dist/components/ui/input-field/input-field.js.map +1 -0
  435. package/dist/components/ui/input-otp/index.cjs +23 -0
  436. package/dist/components/ui/input-otp/index.cjs.map +1 -0
  437. package/dist/components/ui/input-otp/index.d.cts +4 -0
  438. package/dist/components/ui/input-otp/index.d.ts +4 -0
  439. package/dist/components/ui/input-otp/index.js +2 -0
  440. package/dist/components/ui/input-otp/index.js.map +1 -0
  441. package/dist/components/ui/input-otp/input-otp.cjs +105 -0
  442. package/dist/components/ui/input-otp/input-otp.cjs.map +1 -0
  443. package/dist/components/ui/input-otp/input-otp.d.cts +14 -0
  444. package/dist/components/ui/input-otp/input-otp.d.ts +14 -0
  445. package/dist/components/ui/input-otp/input-otp.js +68 -0
  446. package/dist/components/ui/input-otp/input-otp.js.map +1 -0
  447. package/dist/components/ui/label/index.cjs +23 -0
  448. package/dist/components/ui/label/index.cjs.map +1 -0
  449. package/dist/components/ui/label/index.d.cts +4 -0
  450. package/dist/components/ui/label/index.d.ts +4 -0
  451. package/dist/components/ui/label/index.js +2 -0
  452. package/dist/components/ui/label/index.js.map +1 -0
  453. package/dist/components/ui/label/label.cjs +58 -0
  454. package/dist/components/ui/label/label.cjs.map +1 -0
  455. package/dist/components/ui/label/label.d.cts +7 -0
  456. package/dist/components/ui/label/label.d.ts +7 -0
  457. package/dist/components/ui/label/label.js +24 -0
  458. package/dist/components/ui/label/label.js.map +1 -0
  459. package/dist/components/ui/loading-state/index.cjs +23 -0
  460. package/dist/components/ui/loading-state/index.cjs.map +1 -0
  461. package/dist/components/ui/loading-state/index.d.cts +2 -0
  462. package/dist/components/ui/loading-state/index.d.ts +2 -0
  463. package/dist/components/ui/loading-state/index.js +2 -0
  464. package/dist/components/ui/loading-state/index.js.map +1 -0
  465. package/dist/components/ui/loading-state/loading-state.cjs +60 -0
  466. package/dist/components/ui/loading-state/loading-state.cjs.map +1 -0
  467. package/dist/components/ui/loading-state/loading-state.d.cts +11 -0
  468. package/dist/components/ui/loading-state/loading-state.d.ts +11 -0
  469. package/dist/components/ui/loading-state/loading-state.js +36 -0
  470. package/dist/components/ui/loading-state/loading-state.js.map +1 -0
  471. package/dist/components/ui/logo/index.cjs +23 -0
  472. package/dist/components/ui/logo/index.cjs.map +1 -0
  473. package/dist/components/ui/logo/index.d.cts +3 -0
  474. package/dist/components/ui/logo/index.d.ts +3 -0
  475. package/dist/components/ui/logo/index.js +2 -0
  476. package/dist/components/ui/logo/index.js.map +1 -0
  477. package/dist/components/ui/logo/logo.cjs +50 -0
  478. package/dist/components/ui/logo/logo.cjs.map +1 -0
  479. package/dist/components/ui/logo/logo.d.cts +9 -0
  480. package/dist/components/ui/logo/logo.d.ts +9 -0
  481. package/dist/components/ui/logo/logo.js +26 -0
  482. package/dist/components/ui/logo/logo.js.map +1 -0
  483. package/dist/components/ui/menubar/index.cjs +23 -0
  484. package/dist/components/ui/menubar/index.cjs.map +1 -0
  485. package/dist/components/ui/menubar/index.d.cts +4 -0
  486. package/dist/components/ui/menubar/index.d.ts +4 -0
  487. package/dist/components/ui/menubar/index.js +2 -0
  488. package/dist/components/ui/menubar/index.js.map +1 -0
  489. package/dist/components/ui/menubar/menubar.cjs +280 -0
  490. package/dist/components/ui/menubar/menubar.cjs.map +1 -0
  491. package/dist/components/ui/menubar/menubar.d.cts +28 -0
  492. package/dist/components/ui/menubar/menubar.d.ts +28 -0
  493. package/dist/components/ui/menubar/menubar.js +231 -0
  494. package/dist/components/ui/menubar/menubar.js.map +1 -0
  495. package/dist/components/ui/month-year-picker/index.cjs +23 -0
  496. package/dist/components/ui/month-year-picker/index.cjs.map +1 -0
  497. package/dist/components/ui/month-year-picker/index.d.cts +2 -0
  498. package/dist/components/ui/month-year-picker/index.d.ts +2 -0
  499. package/dist/components/ui/month-year-picker/index.js +2 -0
  500. package/dist/components/ui/month-year-picker/index.js.map +1 -0
  501. package/dist/components/ui/month-year-picker/month-year-picker.cjs +157 -0
  502. package/dist/components/ui/month-year-picker/month-year-picker.cjs.map +1 -0
  503. package/dist/components/ui/month-year-picker/month-year-picker.d.cts +12 -0
  504. package/dist/components/ui/month-year-picker/month-year-picker.d.ts +12 -0
  505. package/dist/components/ui/month-year-picker/month-year-picker.js +127 -0
  506. package/dist/components/ui/month-year-picker/month-year-picker.js.map +1 -0
  507. package/dist/components/ui/multi-select/index.cjs +23 -0
  508. package/dist/components/ui/multi-select/index.cjs.map +1 -0
  509. package/dist/components/ui/multi-select/index.d.cts +2 -0
  510. package/dist/components/ui/multi-select/index.d.ts +2 -0
  511. package/dist/components/ui/multi-select/index.js +2 -0
  512. package/dist/components/ui/multi-select/index.js.map +1 -0
  513. package/dist/components/ui/multi-select/multi-select.cjs +173 -0
  514. package/dist/components/ui/multi-select/multi-select.cjs.map +1 -0
  515. package/dist/components/ui/multi-select/multi-select.d.cts +19 -0
  516. package/dist/components/ui/multi-select/multi-select.d.ts +19 -0
  517. package/dist/components/ui/multi-select/multi-select.js +139 -0
  518. package/dist/components/ui/multi-select/multi-select.js.map +1 -0
  519. package/dist/components/ui/navigation-menu/index.cjs +23 -0
  520. package/dist/components/ui/navigation-menu/index.cjs.map +1 -0
  521. package/dist/components/ui/navigation-menu/index.d.cts +5 -0
  522. package/dist/components/ui/navigation-menu/index.d.ts +5 -0
  523. package/dist/components/ui/navigation-menu/index.js +2 -0
  524. package/dist/components/ui/navigation-menu/index.js.map +1 -0
  525. package/dist/components/ui/navigation-menu/navigation-menu.cjs +201 -0
  526. package/dist/components/ui/navigation-menu/navigation-menu.cjs.map +1 -0
  527. package/dist/components/ui/navigation-menu/navigation-menu.d.cts +18 -0
  528. package/dist/components/ui/navigation-menu/navigation-menu.d.ts +18 -0
  529. package/dist/components/ui/navigation-menu/navigation-menu.js +159 -0
  530. package/dist/components/ui/navigation-menu/navigation-menu.js.map +1 -0
  531. package/dist/components/ui/pagination/index.cjs +23 -0
  532. package/dist/components/ui/pagination/index.cjs.map +1 -0
  533. package/dist/components/ui/pagination/index.d.cts +6 -0
  534. package/dist/components/ui/pagination/index.d.ts +6 -0
  535. package/dist/components/ui/pagination/index.js +2 -0
  536. package/dist/components/ui/pagination/index.js.map +1 -0
  537. package/dist/components/ui/pagination/pagination.cjs +148 -0
  538. package/dist/components/ui/pagination/pagination.cjs.map +1 -0
  539. package/dist/components/ui/pagination/pagination.d.cts +18 -0
  540. package/dist/components/ui/pagination/pagination.d.ts +18 -0
  541. package/dist/components/ui/pagination/pagination.js +118 -0
  542. package/dist/components/ui/pagination/pagination.js.map +1 -0
  543. package/dist/components/ui/popover/index.cjs +23 -0
  544. package/dist/components/ui/popover/index.cjs.map +1 -0
  545. package/dist/components/ui/popover/index.d.cts +3 -0
  546. package/dist/components/ui/popover/index.d.ts +3 -0
  547. package/dist/components/ui/popover/index.js +2 -0
  548. package/dist/components/ui/popover/index.js.map +1 -0
  549. package/dist/components/ui/popover/popover.cjs +63 -0
  550. package/dist/components/ui/popover/popover.cjs.map +1 -0
  551. package/dist/components/ui/popover/popover.d.cts +8 -0
  552. package/dist/components/ui/popover/popover.d.ts +8 -0
  553. package/dist/components/ui/popover/popover.js +27 -0
  554. package/dist/components/ui/popover/popover.js.map +1 -0
  555. package/dist/components/ui/progress/index.cjs +23 -0
  556. package/dist/components/ui/progress/index.cjs.map +1 -0
  557. package/dist/components/ui/progress/index.d.cts +2 -0
  558. package/dist/components/ui/progress/index.d.ts +2 -0
  559. package/dist/components/ui/progress/index.js +2 -0
  560. package/dist/components/ui/progress/index.js.map +1 -0
  561. package/dist/components/ui/progress/progress.cjs +77 -0
  562. package/dist/components/ui/progress/progress.cjs.map +1 -0
  563. package/dist/components/ui/progress/progress.d.cts +15 -0
  564. package/dist/components/ui/progress/progress.d.ts +15 -0
  565. package/dist/components/ui/progress/progress.js +53 -0
  566. package/dist/components/ui/progress/progress.js.map +1 -0
  567. package/dist/components/ui/radio-group/index.cjs +23 -0
  568. package/dist/components/ui/radio-group/index.cjs.map +1 -0
  569. package/dist/components/ui/radio-group/index.d.cts +3 -0
  570. package/dist/components/ui/radio-group/index.d.ts +3 -0
  571. package/dist/components/ui/radio-group/index.js +2 -0
  572. package/dist/components/ui/radio-group/index.js.map +1 -0
  573. package/dist/components/ui/radio-group/radio-group.cjs +72 -0
  574. package/dist/components/ui/radio-group/radio-group.cjs.map +1 -0
  575. package/dist/components/ui/radio-group/radio-group.d.cts +7 -0
  576. package/dist/components/ui/radio-group/radio-group.d.ts +7 -0
  577. package/dist/components/ui/radio-group/radio-group.js +37 -0
  578. package/dist/components/ui/radio-group/radio-group.js.map +1 -0
  579. package/dist/components/ui/resizable/index.cjs +23 -0
  580. package/dist/components/ui/resizable/index.cjs.map +1 -0
  581. package/dist/components/ui/resizable/index.d.cts +3 -0
  582. package/dist/components/ui/resizable/index.d.ts +3 -0
  583. package/dist/components/ui/resizable/index.js +2 -0
  584. package/dist/components/ui/resizable/index.js.map +1 -0
  585. package/dist/components/ui/resizable/resizable.cjs +74 -0
  586. package/dist/components/ui/resizable/resizable.cjs.map +1 -0
  587. package/dist/components/ui/resizable/resizable.d.cts +12 -0
  588. package/dist/components/ui/resizable/resizable.d.ts +12 -0
  589. package/dist/components/ui/resizable/resizable.js +52 -0
  590. package/dist/components/ui/resizable/resizable.js.map +1 -0
  591. package/dist/components/ui/rich-text-editor/index.cjs +23 -0
  592. package/dist/components/ui/rich-text-editor/index.cjs.map +1 -0
  593. package/dist/components/ui/rich-text-editor/index.d.cts +2 -0
  594. package/dist/components/ui/rich-text-editor/index.d.ts +2 -0
  595. package/dist/components/ui/rich-text-editor/index.js +2 -0
  596. package/dist/components/ui/rich-text-editor/index.js.map +1 -0
  597. package/dist/components/ui/rich-text-editor/rich-text-editor.cjs +294 -0
  598. package/dist/components/ui/rich-text-editor/rich-text-editor.cjs.map +1 -0
  599. package/dist/components/ui/rich-text-editor/rich-text-editor.d.cts +13 -0
  600. package/dist/components/ui/rich-text-editor/rich-text-editor.d.ts +13 -0
  601. package/dist/components/ui/rich-text-editor/rich-text-editor.js +274 -0
  602. package/dist/components/ui/rich-text-editor/rich-text-editor.js.map +1 -0
  603. package/dist/components/ui/scroll-area/index.cjs +23 -0
  604. package/dist/components/ui/scroll-area/index.cjs.map +1 -0
  605. package/dist/components/ui/scroll-area/index.d.cts +3 -0
  606. package/dist/components/ui/scroll-area/index.d.ts +3 -0
  607. package/dist/components/ui/scroll-area/index.js +2 -0
  608. package/dist/components/ui/scroll-area/index.js.map +1 -0
  609. package/dist/components/ui/scroll-area/scroll-area.cjs +75 -0
  610. package/dist/components/ui/scroll-area/scroll-area.cjs.map +1 -0
  611. package/dist/components/ui/scroll-area/scroll-area.d.cts +7 -0
  612. package/dist/components/ui/scroll-area/scroll-area.d.ts +7 -0
  613. package/dist/components/ui/scroll-area/scroll-area.js +40 -0
  614. package/dist/components/ui/scroll-area/scroll-area.js.map +1 -0
  615. package/dist/components/ui/section-loader/index.cjs +23 -0
  616. package/dist/components/ui/section-loader/index.cjs.map +1 -0
  617. package/dist/components/ui/section-loader/index.d.cts +2 -0
  618. package/dist/components/ui/section-loader/index.d.ts +2 -0
  619. package/dist/components/ui/section-loader/index.js +2 -0
  620. package/dist/components/ui/section-loader/index.js.map +1 -0
  621. package/dist/components/ui/section-loader/section-loader.cjs +75 -0
  622. package/dist/components/ui/section-loader/section-loader.cjs.map +1 -0
  623. package/dist/components/ui/section-loader/section-loader.d.cts +16 -0
  624. package/dist/components/ui/section-loader/section-loader.d.ts +16 -0
  625. package/dist/components/ui/section-loader/section-loader.js +50 -0
  626. package/dist/components/ui/section-loader/section-loader.js.map +1 -0
  627. package/dist/components/ui/select/index.cjs +23 -0
  628. package/dist/components/ui/select/index.cjs.map +1 -0
  629. package/dist/components/ui/select/index.d.cts +4 -0
  630. package/dist/components/ui/select/index.d.ts +4 -0
  631. package/dist/components/ui/select/index.js +2 -0
  632. package/dist/components/ui/select/index.js.map +1 -0
  633. package/dist/components/ui/select/select.cjs +217 -0
  634. package/dist/components/ui/select/select.cjs.map +1 -0
  635. package/dist/components/ui/select/select.d.cts +18 -0
  636. package/dist/components/ui/select/select.d.ts +18 -0
  637. package/dist/components/ui/select/select.js +174 -0
  638. package/dist/components/ui/select/select.js.map +1 -0
  639. package/dist/components/ui/separator/index.cjs +23 -0
  640. package/dist/components/ui/separator/index.cjs.map +1 -0
  641. package/dist/components/ui/separator/index.d.cts +3 -0
  642. package/dist/components/ui/separator/index.d.ts +3 -0
  643. package/dist/components/ui/separator/index.js +2 -0
  644. package/dist/components/ui/separator/index.js.map +1 -0
  645. package/dist/components/ui/separator/separator.cjs +60 -0
  646. package/dist/components/ui/separator/separator.cjs.map +1 -0
  647. package/dist/components/ui/separator/separator.d.cts +6 -0
  648. package/dist/components/ui/separator/separator.d.ts +6 -0
  649. package/dist/components/ui/separator/separator.js +26 -0
  650. package/dist/components/ui/separator/separator.js.map +1 -0
  651. package/dist/components/ui/sheet/index.cjs +23 -0
  652. package/dist/components/ui/sheet/index.cjs.map +1 -0
  653. package/dist/components/ui/sheet/index.d.cts +6 -0
  654. package/dist/components/ui/sheet/index.d.ts +6 -0
  655. package/dist/components/ui/sheet/index.js +2 -0
  656. package/dist/components/ui/sheet/index.js.map +1 -0
  657. package/dist/components/ui/sheet/sheet.cjs +195 -0
  658. package/dist/components/ui/sheet/sheet.cjs.map +1 -0
  659. package/dist/components/ui/sheet/sheet.d.cts +21 -0
  660. package/dist/components/ui/sheet/sheet.d.ts +21 -0
  661. package/dist/components/ui/sheet/sheet.js +154 -0
  662. package/dist/components/ui/sheet/sheet.js.map +1 -0
  663. package/dist/components/ui/skeleton/index.cjs +23 -0
  664. package/dist/components/ui/skeleton/index.cjs.map +1 -0
  665. package/dist/components/ui/skeleton/index.d.cts +3 -0
  666. package/dist/components/ui/skeleton/index.d.ts +3 -0
  667. package/dist/components/ui/skeleton/index.js +2 -0
  668. package/dist/components/ui/skeleton/index.js.map +1 -0
  669. package/dist/components/ui/skeleton/skeleton.cjs +42 -0
  670. package/dist/components/ui/skeleton/skeleton.cjs.map +1 -0
  671. package/dist/components/ui/skeleton/skeleton.d.cts +6 -0
  672. package/dist/components/ui/skeleton/skeleton.d.ts +6 -0
  673. package/dist/components/ui/skeleton/skeleton.js +18 -0
  674. package/dist/components/ui/skeleton/skeleton.js.map +1 -0
  675. package/dist/components/ui/slider/index.cjs +23 -0
  676. package/dist/components/ui/slider/index.cjs.map +1 -0
  677. package/dist/components/ui/slider/index.d.cts +4 -0
  678. package/dist/components/ui/slider/index.d.ts +4 -0
  679. package/dist/components/ui/slider/index.js +2 -0
  680. package/dist/components/ui/slider/index.js.map +1 -0
  681. package/dist/components/ui/slider/slider.cjs +73 -0
  682. package/dist/components/ui/slider/slider.cjs.map +1 -0
  683. package/dist/components/ui/slider/slider.d.cts +7 -0
  684. package/dist/components/ui/slider/slider.d.ts +7 -0
  685. package/dist/components/ui/slider/slider.js +39 -0
  686. package/dist/components/ui/slider/slider.js.map +1 -0
  687. package/dist/components/ui/sonner/index.cjs +23 -0
  688. package/dist/components/ui/sonner/index.cjs.map +1 -0
  689. package/dist/components/ui/sonner/index.d.cts +3 -0
  690. package/dist/components/ui/sonner/index.d.ts +3 -0
  691. package/dist/components/ui/sonner/index.js +2 -0
  692. package/dist/components/ui/sonner/index.js.map +1 -0
  693. package/dist/components/ui/sonner/sonner.cjs +45 -0
  694. package/dist/components/ui/sonner/sonner.cjs.map +1 -0
  695. package/dist/components/ui/sonner/sonner.d.cts +6 -0
  696. package/dist/components/ui/sonner/sonner.d.ts +6 -0
  697. package/dist/components/ui/sonner/sonner.js +21 -0
  698. package/dist/components/ui/sonner/sonner.js.map +1 -0
  699. package/dist/components/ui/spinner/index.cjs +23 -0
  700. package/dist/components/ui/spinner/index.cjs.map +1 -0
  701. package/dist/components/ui/spinner/index.d.cts +2 -0
  702. package/dist/components/ui/spinner/index.d.ts +2 -0
  703. package/dist/components/ui/spinner/index.js +2 -0
  704. package/dist/components/ui/spinner/index.js.map +1 -0
  705. package/dist/components/ui/spinner/spinner.cjs +35 -0
  706. package/dist/components/ui/spinner/spinner.cjs.map +1 -0
  707. package/dist/components/ui/spinner/spinner.d.cts +5 -0
  708. package/dist/components/ui/spinner/spinner.d.ts +5 -0
  709. package/dist/components/ui/spinner/spinner.js +11 -0
  710. package/dist/components/ui/spinner/spinner.js.map +1 -0
  711. package/dist/components/ui/switch/index.cjs +23 -0
  712. package/dist/components/ui/switch/index.cjs.map +1 -0
  713. package/dist/components/ui/switch/index.d.cts +3 -0
  714. package/dist/components/ui/switch/index.d.ts +3 -0
  715. package/dist/components/ui/switch/index.js +2 -0
  716. package/dist/components/ui/switch/index.js.map +1 -0
  717. package/dist/components/ui/switch/switch.cjs +63 -0
  718. package/dist/components/ui/switch/switch.cjs.map +1 -0
  719. package/dist/components/ui/switch/switch.d.cts +6 -0
  720. package/dist/components/ui/switch/switch.d.ts +6 -0
  721. package/dist/components/ui/switch/switch.js +29 -0
  722. package/dist/components/ui/switch/switch.js.map +1 -0
  723. package/dist/components/ui/table/index.cjs +23 -0
  724. package/dist/components/ui/table/index.cjs.map +1 -0
  725. package/dist/components/ui/table/index.d.cts +3 -0
  726. package/dist/components/ui/table/index.d.ts +3 -0
  727. package/dist/components/ui/table/index.js +2 -0
  728. package/dist/components/ui/table/index.js.map +1 -0
  729. package/dist/components/ui/table/table.cjs +145 -0
  730. package/dist/components/ui/table/table.cjs.map +1 -0
  731. package/dist/components/ui/table/table.d.cts +13 -0
  732. package/dist/components/ui/table/table.d.ts +13 -0
  733. package/dist/components/ui/table/table.js +114 -0
  734. package/dist/components/ui/table/table.js.map +1 -0
  735. package/dist/components/ui/tabs/index.cjs +23 -0
  736. package/dist/components/ui/tabs/index.cjs.map +1 -0
  737. package/dist/components/ui/tabs/index.d.cts +3 -0
  738. package/dist/components/ui/tabs/index.d.ts +3 -0
  739. package/dist/components/ui/tabs/index.js +2 -0
  740. package/dist/components/ui/tabs/index.js.map +1 -0
  741. package/dist/components/ui/tabs/tabs.cjs +86 -0
  742. package/dist/components/ui/tabs/tabs.cjs.map +1 -0
  743. package/dist/components/ui/tabs/tabs.d.cts +9 -0
  744. package/dist/components/ui/tabs/tabs.d.ts +9 -0
  745. package/dist/components/ui/tabs/tabs.js +49 -0
  746. package/dist/components/ui/tabs/tabs.js.map +1 -0
  747. package/dist/components/ui/tag-input/index.cjs +23 -0
  748. package/dist/components/ui/tag-input/index.cjs.map +1 -0
  749. package/dist/components/ui/tag-input/index.d.cts +2 -0
  750. package/dist/components/ui/tag-input/index.d.ts +2 -0
  751. package/dist/components/ui/tag-input/index.js +2 -0
  752. package/dist/components/ui/tag-input/index.js.map +1 -0
  753. package/dist/components/ui/tag-input/tag-input.cjs +121 -0
  754. package/dist/components/ui/tag-input/tag-input.cjs.map +1 -0
  755. package/dist/components/ui/tag-input/tag-input.d.cts +12 -0
  756. package/dist/components/ui/tag-input/tag-input.d.ts +12 -0
  757. package/dist/components/ui/tag-input/tag-input.js +87 -0
  758. package/dist/components/ui/tag-input/tag-input.js.map +1 -0
  759. package/dist/components/ui/textarea/index.cjs +23 -0
  760. package/dist/components/ui/textarea/index.cjs.map +1 -0
  761. package/dist/components/ui/textarea/index.d.cts +3 -0
  762. package/dist/components/ui/textarea/index.d.ts +3 -0
  763. package/dist/components/ui/textarea/index.js +2 -0
  764. package/dist/components/ui/textarea/index.js.map +1 -0
  765. package/dist/components/ui/textarea/textarea.cjs +46 -0
  766. package/dist/components/ui/textarea/textarea.cjs.map +1 -0
  767. package/dist/components/ui/textarea/textarea.d.cts +6 -0
  768. package/dist/components/ui/textarea/textarea.d.ts +6 -0
  769. package/dist/components/ui/textarea/textarea.js +22 -0
  770. package/dist/components/ui/textarea/textarea.js.map +1 -0
  771. package/dist/components/ui/toast/index.cjs +23 -0
  772. package/dist/components/ui/toast/index.cjs.map +1 -0
  773. package/dist/components/ui/toast/index.d.cts +6 -0
  774. package/dist/components/ui/toast/index.d.ts +6 -0
  775. package/dist/components/ui/toast/index.js +2 -0
  776. package/dist/components/ui/toast/index.js.map +1 -0
  777. package/dist/components/ui/toast/toast.cjs +163 -0
  778. package/dist/components/ui/toast/toast.cjs.map +1 -0
  779. package/dist/components/ui/toast/toast.d.cts +20 -0
  780. package/dist/components/ui/toast/toast.d.ts +20 -0
  781. package/dist/components/ui/toast/toast.js +122 -0
  782. package/dist/components/ui/toast/toast.js.map +1 -0
  783. package/dist/components/ui/toggle/index.cjs +23 -0
  784. package/dist/components/ui/toggle/index.cjs.map +1 -0
  785. package/dist/components/ui/toggle/index.d.cts +6 -0
  786. package/dist/components/ui/toggle/index.d.ts +6 -0
  787. package/dist/components/ui/toggle/index.js +2 -0
  788. package/dist/components/ui/toggle/index.js.map +1 -0
  789. package/dist/components/ui/toggle/toggle.cjs +80 -0
  790. package/dist/components/ui/toggle/toggle.cjs.map +1 -0
  791. package/dist/components/ui/toggle/toggle.d.cts +13 -0
  792. package/dist/components/ui/toggle/toggle.d.ts +13 -0
  793. package/dist/components/ui/toggle/toggle.js +45 -0
  794. package/dist/components/ui/toggle/toggle.js.map +1 -0
  795. package/dist/components/ui/toggle-group/index.cjs +23 -0
  796. package/dist/components/ui/toggle-group/index.cjs.map +1 -0
  797. package/dist/components/ui/toggle-group/index.d.cts +8 -0
  798. package/dist/components/ui/toggle-group/index.d.ts +8 -0
  799. package/dist/components/ui/toggle-group/index.js +2 -0
  800. package/dist/components/ui/toggle-group/index.js.map +1 -0
  801. package/dist/components/ui/toggle-group/toggle-group.cjs +94 -0
  802. package/dist/components/ui/toggle-group/toggle-group.cjs.map +1 -0
  803. package/dist/components/ui/toggle-group/toggle-group.d.cts +12 -0
  804. package/dist/components/ui/toggle-group/toggle-group.d.ts +12 -0
  805. package/dist/components/ui/toggle-group/toggle-group.js +59 -0
  806. package/dist/components/ui/toggle-group/toggle-group.js.map +1 -0
  807. package/dist/components/ui/tooltip/index.cjs +23 -0
  808. package/dist/components/ui/tooltip/index.cjs.map +1 -0
  809. package/dist/components/ui/tooltip/index.d.cts +3 -0
  810. package/dist/components/ui/tooltip/index.d.ts +3 -0
  811. package/dist/components/ui/tooltip/index.js +2 -0
  812. package/dist/components/ui/tooltip/index.js.map +1 -0
  813. package/dist/components/ui/tooltip/tooltip.cjs +65 -0
  814. package/dist/components/ui/tooltip/tooltip.cjs.map +1 -0
  815. package/dist/components/ui/tooltip/tooltip.d.cts +9 -0
  816. package/dist/components/ui/tooltip/tooltip.d.ts +9 -0
  817. package/dist/components/ui/tooltip/tooltip.js +28 -0
  818. package/dist/components/ui/tooltip/tooltip.js.map +1 -0
  819. package/dist/constants/index.cjs +189 -0
  820. package/dist/constants/index.cjs.map +1 -0
  821. package/dist/constants/index.d.cts +155 -0
  822. package/dist/constants/index.d.ts +155 -0
  823. package/dist/constants/index.js +152 -0
  824. package/dist/constants/index.js.map +1 -0
  825. package/dist/icons.cjs +23 -0
  826. package/dist/icons.cjs.map +1 -0
  827. package/dist/icons.d.cts +1 -0
  828. package/dist/icons.d.ts +1 -0
  829. package/dist/icons.js +2 -0
  830. package/dist/icons.js.map +1 -0
  831. package/dist/index.cjs +51 -0
  832. package/dist/index.cjs.map +1 -0
  833. package/dist/index.d.cts +107 -0
  834. package/dist/index.d.ts +107 -0
  835. package/dist/index.js +17 -0
  836. package/dist/index.js.map +1 -0
  837. package/dist/lib/utils.cjs +33 -0
  838. package/dist/lib/utils.cjs.map +1 -0
  839. package/dist/lib/utils.d.cts +12 -0
  840. package/dist/lib/utils.d.ts +12 -0
  841. package/dist/lib/utils.js +9 -0
  842. package/dist/lib/utils.js.map +1 -0
  843. package/dist/tokens/colors.cjs +146 -0
  844. package/dist/tokens/colors.cjs.map +1 -0
  845. package/dist/tokens/colors.d.cts +118 -0
  846. package/dist/tokens/colors.d.ts +118 -0
  847. package/dist/tokens/colors.js +121 -0
  848. package/dist/tokens/colors.js.map +1 -0
  849. package/dist/tokens/index.cjs +41 -0
  850. package/dist/tokens/index.cjs.map +1 -0
  851. package/dist/tokens/index.d.cts +3 -0
  852. package/dist/tokens/index.d.ts +3 -0
  853. package/dist/tokens/index.js +12 -0
  854. package/dist/tokens/index.js.map +1 -0
  855. package/dist/tokens/spacing.cjs +45 -0
  856. package/dist/tokens/spacing.cjs.map +1 -0
  857. package/dist/tokens/spacing.d.cts +17 -0
  858. package/dist/tokens/spacing.d.ts +17 -0
  859. package/dist/tokens/spacing.js +20 -0
  860. package/dist/tokens/spacing.js.map +1 -0
  861. package/dist/tokens/typography.cjs +39 -0
  862. package/dist/tokens/typography.cjs.map +1 -0
  863. package/dist/tokens/typography.d.cts +11 -0
  864. package/dist/tokens/typography.d.ts +11 -0
  865. package/dist/tokens/typography.js +14 -0
  866. package/dist/tokens/typography.js.map +1 -0
  867. package/package.json +141 -0
  868. package/src/styles/theme.css +127 -0
  869. package/src/tokens/colors.ts +117 -0
  870. package/src/tokens/index.ts +3 -0
  871. package/src/tokens/spacing.ts +16 -0
  872. package/src/tokens/typography.ts +10 -0
  873. package/tailwind.preset.js +139 -0
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var skills_exports = {};
20
+ __export(skills_exports, {
21
+ SkillsSection: () => SkillsSection
22
+ });
23
+ module.exports = __toCommonJS(skills_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_ui = require("../../../../ui");
26
+ var import_lucide_react = require("lucide-react");
27
+ function SkillsSection({ data, onChange, hideFields = [] }) {
28
+ const hard = data.skills?.hard || [];
29
+ const soft = data.skills?.soft || [];
30
+ const handleUpdate = (type, index, field, value) => {
31
+ const list = [...type === "hard" ? hard : soft];
32
+ list[index] = { ...list[index], [field]: value };
33
+ onChange({
34
+ skills: {
35
+ ...data.skills,
36
+ [type]: list
37
+ }
38
+ });
39
+ };
40
+ const handleAdd = (type) => {
41
+ const list = [...type === "hard" ? hard : soft];
42
+ list.push({ id: `temp-skill-${Math.random().toString(36).substring(2, 9)}`, name: "", type: type === "hard" ? "T\xE9cnica" : "Interpersonal", verified: false });
43
+ onChange({
44
+ skills: {
45
+ ...data.skills,
46
+ [type]: list
47
+ }
48
+ });
49
+ };
50
+ const handleRemove = (type, index) => {
51
+ const list = (type === "hard" ? hard : soft).filter((_, i) => i !== index);
52
+ onChange({
53
+ skills: {
54
+ ...data.skills,
55
+ [type]: list
56
+ }
57
+ });
58
+ };
59
+ const renderSkillList = (type, items) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-3 pt-4", children: [
60
+ items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-3", children: [
61
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
62
+ import_ui.Input,
63
+ {
64
+ className: "flex-1",
65
+ placeholder: "Nombre de la habilidad",
66
+ value: item.name,
67
+ onChange: (e) => handleUpdate(type, index, "name", e.target.value)
68
+ }
69
+ ),
70
+ !hideFields.includes("skills.verified") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2", children: [
71
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
72
+ import_ui.Checkbox,
73
+ {
74
+ id: `verified-${type}-${item.id}`,
75
+ checked: item.verified,
76
+ onCheckedChange: (checked) => handleUpdate(type, index, "verified", !!checked)
77
+ }
78
+ ),
79
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("label", { htmlFor: `verified-${type}-${item.id}`, className: "text-sm text-muted-foreground flex items-center gap-1", children: "Verificado" })
80
+ ] }),
81
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
82
+ import_ui.Button,
83
+ {
84
+ variant: "ghost",
85
+ size: "sm",
86
+ className: "h-7 px-2 text-muted-foreground hover:text-destructive hover:bg-destructive/10",
87
+ onClick: () => handleRemove(type, index),
88
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Trash2, { className: "w-4 h-4" })
89
+ }
90
+ )
91
+ ] }, item.id)),
92
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_ui.Button, { variant: "outline", className: "w-full flex items-center justify-center gap-2 mt-2", onClick: () => handleAdd(type), children: [
93
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Plus, { className: "w-4 h-4" }),
94
+ "A\xF1adir habilidad"
95
+ ] })
96
+ ] });
97
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "pt-2 pb-4", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_ui.Tabs, { defaultValue: "hard", className: "w-full", children: [
98
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_ui.TabsList, { className: "w-full grid grid-cols-2", children: [
99
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ui.TabsTrigger, { value: "hard", children: "T\xE9cnicas" }),
100
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ui.TabsTrigger, { value: "soft", children: "Interpersonales" })
101
+ ] }),
102
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ui.TabsContent, { value: "hard", children: renderSkillList("hard", hard) }),
103
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ui.TabsContent, { value: "soft", children: renderSkillList("soft", soft) })
104
+ ] }) });
105
+ }
106
+ // Annotate the CommonJS export names for ESM import in node:
107
+ 0 && (module.exports = {
108
+ SkillsSection
109
+ });
110
+ //# sourceMappingURL=skills.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/components/domain/resume/resume-editor/sections/skills.tsx"],"sourcesContent":["import { CandidateProfile, CVSkillItem } from \"../../types\";\nimport { Input, Button, Tabs, TabsList, TabsTrigger, TabsContent, Checkbox } from \"../../../../ui\";\nimport { Plus, Trash2 } from \"lucide-react\";\n\ninterface SkillsProps {\n data: CandidateProfile;\n onChange: (partial: Partial<CandidateProfile>) => void;\n hideFields?: string[];\n}\n\nexport function SkillsSection({ data, onChange, hideFields = [] }: SkillsProps) {\n const hard = data.skills?.hard || [];\n const soft = data.skills?.soft || [];\n\n const handleUpdate = (type: 'hard' | 'soft', index: number, field: keyof CVSkillItem, value: any) => {\n const list = [...(type === 'hard' ? hard : soft)];\n list[index] = { ...list[index], [field]: value };\n\n onChange({\n skills: {\n ...data.skills,\n [type]: list\n }\n });\n };\n\n const handleAdd = (type: 'hard' | 'soft') => {\n const list = [...(type === 'hard' ? hard : soft)];\n list.push({ id: `temp-skill-${Math.random().toString(36).substring(2, 9)}`, name: \"\", type: type === 'hard' ? 'Técnica' : 'Interpersonal', verified: false });\n\n onChange({\n skills: {\n ...data.skills,\n [type]: list\n }\n });\n };\n\n const handleRemove = (type: 'hard' | 'soft', index: number) => {\n const list = (type === 'hard' ? hard : soft).filter((_, i) => i !== index);\n\n onChange({\n skills: {\n ...data.skills,\n [type]: list\n }\n });\n };\n\n const renderSkillList = (type: 'hard' | 'soft', items: CVSkillItem[]) => (\n <div className=\"space-y-3 pt-4\">\n {items.map((item, index) => (\n <div key={item.id} className=\"flex items-center gap-3\">\n <Input\n className=\"flex-1\"\n placeholder=\"Nombre de la habilidad\"\n value={item.name}\n onChange={(e) => handleUpdate(type, index, 'name', e.target.value)}\n />\n {!hideFields.includes(\"skills.verified\") && (\n <div className=\"flex items-center gap-2\">\n <Checkbox\n id={`verified-${type}-${item.id}`}\n checked={item.verified}\n onCheckedChange={(checked) => handleUpdate(type, index, 'verified', !!checked)}\n />\n <label htmlFor={`verified-${type}-${item.id}`} className=\"text-sm text-muted-foreground flex items-center gap-1\">\n Verificado\n </label>\n </div>\n )}\n <Button\n variant=\"ghost\"\n size=\"sm\"\n className=\"h-7 px-2 text-muted-foreground hover:text-destructive hover:bg-destructive/10\"\n onClick={() => handleRemove(type, index)}\n >\n <Trash2 className=\"w-4 h-4\" />\n </Button>\n </div>\n ))}\n <Button variant=\"outline\" className=\"w-full flex items-center justify-center gap-2 mt-2\" onClick={() => handleAdd(type)}>\n <Plus className=\"w-4 h-4\" />\n Añadir habilidad\n </Button>\n </div>\n );\n\n return (\n <div className=\"pt-2 pb-4\">\n <Tabs defaultValue=\"hard\" className=\"w-full\">\n <TabsList className=\"w-full grid grid-cols-2\">\n <TabsTrigger value=\"hard\">Técnicas</TabsTrigger>\n <TabsTrigger value=\"soft\">Interpersonales</TabsTrigger>\n </TabsList>\n <TabsContent value=\"hard\">\n {renderSkillList('hard', hard)}\n </TabsContent>\n <TabsContent value=\"soft\">\n {renderSkillList('soft', soft)}\n </TabsContent>\n </Tabs>\n </div>\n );\n}\n"],"mappings":"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","names":[]}
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { CandidateProfile } from '../../types.cjs';
3
+ import 'react';
4
+
5
+ interface SkillsProps {
6
+ data: CandidateProfile;
7
+ onChange: (partial: Partial<CandidateProfile>) => void;
8
+ hideFields?: string[];
9
+ }
10
+ declare function SkillsSection({ data, onChange, hideFields }: SkillsProps): react_jsx_runtime.JSX.Element;
11
+
12
+ export { SkillsSection };
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { CandidateProfile } from '../../types.js';
3
+ import 'react';
4
+
5
+ interface SkillsProps {
6
+ data: CandidateProfile;
7
+ onChange: (partial: Partial<CandidateProfile>) => void;
8
+ hideFields?: string[];
9
+ }
10
+ declare function SkillsSection({ data, onChange, hideFields }: SkillsProps): react_jsx_runtime.JSX.Element;
11
+
12
+ export { SkillsSection };
@@ -0,0 +1,86 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Input, Button, Tabs, TabsList, TabsTrigger, TabsContent, Checkbox } from "../../../../ui";
3
+ import { Plus, Trash2 } from "lucide-react";
4
+ function SkillsSection({ data, onChange, hideFields = [] }) {
5
+ const hard = data.skills?.hard || [];
6
+ const soft = data.skills?.soft || [];
7
+ const handleUpdate = (type, index, field, value) => {
8
+ const list = [...type === "hard" ? hard : soft];
9
+ list[index] = { ...list[index], [field]: value };
10
+ onChange({
11
+ skills: {
12
+ ...data.skills,
13
+ [type]: list
14
+ }
15
+ });
16
+ };
17
+ const handleAdd = (type) => {
18
+ const list = [...type === "hard" ? hard : soft];
19
+ list.push({ id: `temp-skill-${Math.random().toString(36).substring(2, 9)}`, name: "", type: type === "hard" ? "T\xE9cnica" : "Interpersonal", verified: false });
20
+ onChange({
21
+ skills: {
22
+ ...data.skills,
23
+ [type]: list
24
+ }
25
+ });
26
+ };
27
+ const handleRemove = (type, index) => {
28
+ const list = (type === "hard" ? hard : soft).filter((_, i) => i !== index);
29
+ onChange({
30
+ skills: {
31
+ ...data.skills,
32
+ [type]: list
33
+ }
34
+ });
35
+ };
36
+ const renderSkillList = (type, items) => /* @__PURE__ */ jsxs("div", { className: "space-y-3 pt-4", children: [
37
+ items.map((item, index) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
38
+ /* @__PURE__ */ jsx(
39
+ Input,
40
+ {
41
+ className: "flex-1",
42
+ placeholder: "Nombre de la habilidad",
43
+ value: item.name,
44
+ onChange: (e) => handleUpdate(type, index, "name", e.target.value)
45
+ }
46
+ ),
47
+ !hideFields.includes("skills.verified") && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
48
+ /* @__PURE__ */ jsx(
49
+ Checkbox,
50
+ {
51
+ id: `verified-${type}-${item.id}`,
52
+ checked: item.verified,
53
+ onCheckedChange: (checked) => handleUpdate(type, index, "verified", !!checked)
54
+ }
55
+ ),
56
+ /* @__PURE__ */ jsx("label", { htmlFor: `verified-${type}-${item.id}`, className: "text-sm text-muted-foreground flex items-center gap-1", children: "Verificado" })
57
+ ] }),
58
+ /* @__PURE__ */ jsx(
59
+ Button,
60
+ {
61
+ variant: "ghost",
62
+ size: "sm",
63
+ className: "h-7 px-2 text-muted-foreground hover:text-destructive hover:bg-destructive/10",
64
+ onClick: () => handleRemove(type, index),
65
+ children: /* @__PURE__ */ jsx(Trash2, { className: "w-4 h-4" })
66
+ }
67
+ )
68
+ ] }, item.id)),
69
+ /* @__PURE__ */ jsxs(Button, { variant: "outline", className: "w-full flex items-center justify-center gap-2 mt-2", onClick: () => handleAdd(type), children: [
70
+ /* @__PURE__ */ jsx(Plus, { className: "w-4 h-4" }),
71
+ "A\xF1adir habilidad"
72
+ ] })
73
+ ] });
74
+ return /* @__PURE__ */ jsx("div", { className: "pt-2 pb-4", children: /* @__PURE__ */ jsxs(Tabs, { defaultValue: "hard", className: "w-full", children: [
75
+ /* @__PURE__ */ jsxs(TabsList, { className: "w-full grid grid-cols-2", children: [
76
+ /* @__PURE__ */ jsx(TabsTrigger, { value: "hard", children: "T\xE9cnicas" }),
77
+ /* @__PURE__ */ jsx(TabsTrigger, { value: "soft", children: "Interpersonales" })
78
+ ] }),
79
+ /* @__PURE__ */ jsx(TabsContent, { value: "hard", children: renderSkillList("hard", hard) }),
80
+ /* @__PURE__ */ jsx(TabsContent, { value: "soft", children: renderSkillList("soft", soft) })
81
+ ] }) });
82
+ }
83
+ export {
84
+ SkillsSection
85
+ };
86
+ //# sourceMappingURL=skills.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/components/domain/resume/resume-editor/sections/skills.tsx"],"sourcesContent":["import { CandidateProfile, CVSkillItem } from \"../../types\";\nimport { Input, Button, Tabs, TabsList, TabsTrigger, TabsContent, Checkbox } from \"../../../../ui\";\nimport { Plus, Trash2 } from \"lucide-react\";\n\ninterface SkillsProps {\n data: CandidateProfile;\n onChange: (partial: Partial<CandidateProfile>) => void;\n hideFields?: string[];\n}\n\nexport function SkillsSection({ data, onChange, hideFields = [] }: SkillsProps) {\n const hard = data.skills?.hard || [];\n const soft = data.skills?.soft || [];\n\n const handleUpdate = (type: 'hard' | 'soft', index: number, field: keyof CVSkillItem, value: any) => {\n const list = [...(type === 'hard' ? hard : soft)];\n list[index] = { ...list[index], [field]: value };\n\n onChange({\n skills: {\n ...data.skills,\n [type]: list\n }\n });\n };\n\n const handleAdd = (type: 'hard' | 'soft') => {\n const list = [...(type === 'hard' ? hard : soft)];\n list.push({ id: `temp-skill-${Math.random().toString(36).substring(2, 9)}`, name: \"\", type: type === 'hard' ? 'Técnica' : 'Interpersonal', verified: false });\n\n onChange({\n skills: {\n ...data.skills,\n [type]: list\n }\n });\n };\n\n const handleRemove = (type: 'hard' | 'soft', index: number) => {\n const list = (type === 'hard' ? hard : soft).filter((_, i) => i !== index);\n\n onChange({\n skills: {\n ...data.skills,\n [type]: list\n }\n });\n };\n\n const renderSkillList = (type: 'hard' | 'soft', items: CVSkillItem[]) => (\n <div className=\"space-y-3 pt-4\">\n {items.map((item, index) => (\n <div key={item.id} className=\"flex items-center gap-3\">\n <Input\n className=\"flex-1\"\n placeholder=\"Nombre de la habilidad\"\n value={item.name}\n onChange={(e) => handleUpdate(type, index, 'name', e.target.value)}\n />\n {!hideFields.includes(\"skills.verified\") && (\n <div className=\"flex items-center gap-2\">\n <Checkbox\n id={`verified-${type}-${item.id}`}\n checked={item.verified}\n onCheckedChange={(checked) => handleUpdate(type, index, 'verified', !!checked)}\n />\n <label htmlFor={`verified-${type}-${item.id}`} className=\"text-sm text-muted-foreground flex items-center gap-1\">\n Verificado\n </label>\n </div>\n )}\n <Button\n variant=\"ghost\"\n size=\"sm\"\n className=\"h-7 px-2 text-muted-foreground hover:text-destructive hover:bg-destructive/10\"\n onClick={() => handleRemove(type, index)}\n >\n <Trash2 className=\"w-4 h-4\" />\n </Button>\n </div>\n ))}\n <Button variant=\"outline\" className=\"w-full flex items-center justify-center gap-2 mt-2\" onClick={() => handleAdd(type)}>\n <Plus className=\"w-4 h-4\" />\n Añadir habilidad\n </Button>\n </div>\n );\n\n return (\n <div className=\"pt-2 pb-4\">\n <Tabs defaultValue=\"hard\" className=\"w-full\">\n <TabsList className=\"w-full grid grid-cols-2\">\n <TabsTrigger value=\"hard\">Técnicas</TabsTrigger>\n <TabsTrigger value=\"soft\">Interpersonales</TabsTrigger>\n </TabsList>\n <TabsContent value=\"hard\">\n {renderSkillList('hard', hard)}\n </TabsContent>\n <TabsContent value=\"soft\">\n {renderSkillList('soft', soft)}\n </TabsContent>\n </Tabs>\n </div>\n );\n}\n"],"mappings":"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","names":[]}
@@ -0,0 +1,73 @@
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);
29
+ var resume_preview_exports = {};
30
+ __export(resume_preview_exports, {
31
+ ResumePreview: () => ResumePreview
32
+ });
33
+ module.exports = __toCommonJS(resume_preview_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
35
+ var React = __toESM(require("react"), 1);
36
+ var import_header_preview = require("@/components/domain/resume/resume-preview/sections/header-preview");
37
+ var import_contact_skills = require("@/components/domain/resume/resume-preview/sections/contact-skills");
38
+ var import_experience_education = require("@/components/domain/resume/resume-preview/sections/experience-education");
39
+ var import_footer_preview = require("@/components/domain/resume/resume-preview/sections/footer-preview");
40
+ const ResumePreview = React.forwardRef(
41
+ function ResumePreview2({ data, headerSlot, theme, hideFields = [], hideSections = [] }, ref) {
42
+ const themeStyle = theme ? { backgroundColor: theme } : void 0;
43
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
44
+ "div",
45
+ {
46
+ ref,
47
+ id: "resume-capture-area",
48
+ className: "w-full min-h-[1056px] bg-card text-card-foreground border border-border shadow-2xl rounded-sm p-8 sm:p-12 md:p-16 flex flex-col mx-auto relative",
49
+ children: [
50
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
51
+ "div",
52
+ {
53
+ className: `absolute top-0 left-0 w-full h-2 ${theme ? "" : "bg-gradient-to-r from-primary to-primary/50"}`,
54
+ style: themeStyle
55
+ }
56
+ ),
57
+ !hideSections.includes("Informaci\xF3n personal") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_header_preview.HeaderPreview, { data, headerSlot, theme, hideFields }),
58
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "grid grid-cols-1 lg:grid-cols-12 gap-10 mt-8", children: [
59
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "lg:col-span-4 lg:pr-6 space-y-8", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_contact_skills.ContactSkills, { data, hideFields, hideSections }) }),
60
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "hidden lg:block absolute left-[33.33%] top-48 bottom-16 w-px bg-border/40" }),
61
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "lg:col-span-8 space-y-8", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_experience_education.ExperienceEducation, { data, theme, hideFields, hideSections }) })
62
+ ] }),
63
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_footer_preview.FooterPreview, {})
64
+ ]
65
+ }
66
+ );
67
+ }
68
+ );
69
+ // Annotate the CommonJS export names for ESM import in node:
70
+ 0 && (module.exports = {
71
+ ResumePreview
72
+ });
73
+ //# sourceMappingURL=resume-preview.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/domain/resume/resume-preview/resume-preview.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { CandidateProfile } from \"@/components/domain/resume/types\";\nimport { HeaderPreview } from \"@/components/domain/resume/resume-preview/sections/header-preview\";\nimport { ContactSkills } from \"@/components/domain/resume/resume-preview/sections/contact-skills\";\nimport { ExperienceEducation } from \"@/components/domain/resume/resume-preview/sections/experience-education\";\nimport { FooterPreview } from \"@/components/domain/resume/resume-preview/sections/footer-preview\";\n\nexport interface ResumePreviewProps {\n data: CandidateProfile;\n headerSlot?: React.ReactNode;\n theme?: string;\n hideFields?: string[];\n hideSections?: string[];\n}\n\nexport const ResumePreview = React.forwardRef<HTMLDivElement, ResumePreviewProps>(\n function ResumePreview({ data, headerSlot, theme, hideFields = [], hideSections = [] }, ref) {\n const themeStyle = theme ? { backgroundColor: theme } : undefined;\n\n return (\n <div\n ref={ref}\n id=\"resume-capture-area\"\n className=\"w-full min-h-[1056px] bg-card text-card-foreground border border-border shadow-2xl rounded-sm p-8 sm:p-12 md:p-16 flex flex-col mx-auto relative\"\n >\n {/* Subtle decorative top bar */}\n <div\n className={`absolute top-0 left-0 w-full h-2 ${theme ? \"\" : \"bg-gradient-to-r from-primary to-primary/50\"}`}\n style={themeStyle}\n />\n\n {/* Header Profile */}\n {!hideSections.includes(\"Información personal\") && (\n <HeaderPreview data={data} headerSlot={headerSlot} theme={theme} hideFields={hideFields} />\n )}\n\n {/* Main Content Layout */}\n <div className=\"grid grid-cols-1 lg:grid-cols-12 gap-10 mt-8\">\n\n {/* Left Column (4/12) */}\n <div className=\"lg:col-span-4 lg:pr-6 space-y-8\">\n <ContactSkills data={data} hideFields={hideFields} hideSections={hideSections} />\n </div>\n\n {/* Vertical Divider for desktop */}\n <div className=\"hidden lg:block absolute left-[33.33%] top-48 bottom-16 w-px bg-border/40\" />\n\n {/* Right Column (8/12) */}\n <div className=\"lg:col-span-8 space-y-8\">\n <ExperienceEducation data={data} theme={theme} hideFields={hideFields} hideSections={hideSections} />\n </div>\n\n </div>\n\n <FooterPreview />\n </div>\n );\n }\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BgB;AA1BhB,YAAuB;AAEvB,4BAA8B;AAC9B,4BAA8B;AAC9B,kCAAoC;AACpC,4BAA8B;AAUvB,MAAM,gBAAgB,MAAM;AAAA,EAC/B,SAASA,eAAc,EAAE,MAAM,YAAY,OAAO,aAAa,CAAC,GAAG,eAAe,CAAC,EAAE,GAAG,KAAK;AACzF,UAAM,aAAa,QAAQ,EAAE,iBAAiB,MAAM,IAAI;AAExD,WACI;AAAA,MAAC;AAAA;AAAA,QACG;AAAA,QACA,IAAG;AAAA,QACH,WAAU;AAAA,QAGV;AAAA;AAAA,YAAC;AAAA;AAAA,cACG,WAAW,oCAAoC,QAAQ,KAAK,6CAA6C;AAAA,cACzG,OAAO;AAAA;AAAA,UACX;AAAA,UAGC,CAAC,aAAa,SAAS,yBAAsB,KAC1C,4CAAC,uCAAc,MAAY,YAAwB,OAAc,YAAwB;AAAA,UAI7F,6CAAC,SAAI,WAAU,gDAGX;AAAA,wDAAC,SAAI,WAAU,mCACX,sDAAC,uCAAc,MAAY,YAAwB,cAA4B,GACnF;AAAA,YAGA,4CAAC,SAAI,WAAU,6EAA4E;AAAA,YAG3F,4CAAC,SAAI,WAAU,2BACX,sDAAC,mDAAoB,MAAY,OAAc,YAAwB,cAA4B,GACvG;AAAA,aAEJ;AAAA,UAEA,4CAAC,uCAAc;AAAA;AAAA;AAAA,IACnB;AAAA,EAER;AACJ;","names":["ResumePreview"]}
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import { CandidateProfile } from '../types.cjs';
3
+
4
+ interface ResumePreviewProps {
5
+ data: CandidateProfile;
6
+ headerSlot?: React.ReactNode;
7
+ theme?: string;
8
+ hideFields?: string[];
9
+ hideSections?: string[];
10
+ }
11
+ declare const ResumePreview: React.ForwardRefExoticComponent<ResumePreviewProps & React.RefAttributes<HTMLDivElement>>;
12
+
13
+ export { ResumePreview, type ResumePreviewProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import { CandidateProfile } from '../types.js';
3
+
4
+ interface ResumePreviewProps {
5
+ data: CandidateProfile;
6
+ headerSlot?: React.ReactNode;
7
+ theme?: string;
8
+ hideFields?: string[];
9
+ hideSections?: string[];
10
+ }
11
+ declare const ResumePreview: React.ForwardRefExoticComponent<ResumePreviewProps & React.RefAttributes<HTMLDivElement>>;
12
+
13
+ export { ResumePreview, type ResumePreviewProps };
@@ -0,0 +1,39 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import { HeaderPreview } from "@/components/domain/resume/resume-preview/sections/header-preview";
4
+ import { ContactSkills } from "@/components/domain/resume/resume-preview/sections/contact-skills";
5
+ import { ExperienceEducation } from "@/components/domain/resume/resume-preview/sections/experience-education";
6
+ import { FooterPreview } from "@/components/domain/resume/resume-preview/sections/footer-preview";
7
+ const ResumePreview = React.forwardRef(
8
+ function ResumePreview2({ data, headerSlot, theme, hideFields = [], hideSections = [] }, ref) {
9
+ const themeStyle = theme ? { backgroundColor: theme } : void 0;
10
+ return /* @__PURE__ */ jsxs(
11
+ "div",
12
+ {
13
+ ref,
14
+ id: "resume-capture-area",
15
+ className: "w-full min-h-[1056px] bg-card text-card-foreground border border-border shadow-2xl rounded-sm p-8 sm:p-12 md:p-16 flex flex-col mx-auto relative",
16
+ children: [
17
+ /* @__PURE__ */ jsx(
18
+ "div",
19
+ {
20
+ className: `absolute top-0 left-0 w-full h-2 ${theme ? "" : "bg-gradient-to-r from-primary to-primary/50"}`,
21
+ style: themeStyle
22
+ }
23
+ ),
24
+ !hideSections.includes("Informaci\xF3n personal") && /* @__PURE__ */ jsx(HeaderPreview, { data, headerSlot, theme, hideFields }),
25
+ /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-12 gap-10 mt-8", children: [
26
+ /* @__PURE__ */ jsx("div", { className: "lg:col-span-4 lg:pr-6 space-y-8", children: /* @__PURE__ */ jsx(ContactSkills, { data, hideFields, hideSections }) }),
27
+ /* @__PURE__ */ jsx("div", { className: "hidden lg:block absolute left-[33.33%] top-48 bottom-16 w-px bg-border/40" }),
28
+ /* @__PURE__ */ jsx("div", { className: "lg:col-span-8 space-y-8", children: /* @__PURE__ */ jsx(ExperienceEducation, { data, theme, hideFields, hideSections }) })
29
+ ] }),
30
+ /* @__PURE__ */ jsx(FooterPreview, {})
31
+ ]
32
+ }
33
+ );
34
+ }
35
+ );
36
+ export {
37
+ ResumePreview
38
+ };
39
+ //# sourceMappingURL=resume-preview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/domain/resume/resume-preview/resume-preview.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { CandidateProfile } from \"@/components/domain/resume/types\";\nimport { HeaderPreview } from \"@/components/domain/resume/resume-preview/sections/header-preview\";\nimport { ContactSkills } from \"@/components/domain/resume/resume-preview/sections/contact-skills\";\nimport { ExperienceEducation } from \"@/components/domain/resume/resume-preview/sections/experience-education\";\nimport { FooterPreview } from \"@/components/domain/resume/resume-preview/sections/footer-preview\";\n\nexport interface ResumePreviewProps {\n data: CandidateProfile;\n headerSlot?: React.ReactNode;\n theme?: string;\n hideFields?: string[];\n hideSections?: string[];\n}\n\nexport const ResumePreview = React.forwardRef<HTMLDivElement, ResumePreviewProps>(\n function ResumePreview({ data, headerSlot, theme, hideFields = [], hideSections = [] }, ref) {\n const themeStyle = theme ? { backgroundColor: theme } : undefined;\n\n return (\n <div\n ref={ref}\n id=\"resume-capture-area\"\n className=\"w-full min-h-[1056px] bg-card text-card-foreground border border-border shadow-2xl rounded-sm p-8 sm:p-12 md:p-16 flex flex-col mx-auto relative\"\n >\n {/* Subtle decorative top bar */}\n <div\n className={`absolute top-0 left-0 w-full h-2 ${theme ? \"\" : \"bg-gradient-to-r from-primary to-primary/50\"}`}\n style={themeStyle}\n />\n\n {/* Header Profile */}\n {!hideSections.includes(\"Información personal\") && (\n <HeaderPreview data={data} headerSlot={headerSlot} theme={theme} hideFields={hideFields} />\n )}\n\n {/* Main Content Layout */}\n <div className=\"grid grid-cols-1 lg:grid-cols-12 gap-10 mt-8\">\n\n {/* Left Column (4/12) */}\n <div className=\"lg:col-span-4 lg:pr-6 space-y-8\">\n <ContactSkills data={data} hideFields={hideFields} hideSections={hideSections} />\n </div>\n\n {/* Vertical Divider for desktop */}\n <div className=\"hidden lg:block absolute left-[33.33%] top-48 bottom-16 w-px bg-border/40\" />\n\n {/* Right Column (8/12) */}\n <div className=\"lg:col-span-8 space-y-8\">\n <ExperienceEducation data={data} theme={theme} hideFields={hideFields} hideSections={hideSections} />\n </div>\n\n </div>\n\n <FooterPreview />\n </div>\n );\n }\n);\n"],"mappings":"AA0BgB,cAWA,YAXA;AA1BhB,YAAY,WAAW;AAEvB,SAAS,qBAAqB;AAC9B,SAAS,qBAAqB;AAC9B,SAAS,2BAA2B;AACpC,SAAS,qBAAqB;AAUvB,MAAM,gBAAgB,MAAM;AAAA,EAC/B,SAASA,eAAc,EAAE,MAAM,YAAY,OAAO,aAAa,CAAC,GAAG,eAAe,CAAC,EAAE,GAAG,KAAK;AACzF,UAAM,aAAa,QAAQ,EAAE,iBAAiB,MAAM,IAAI;AAExD,WACI;AAAA,MAAC;AAAA;AAAA,QACG;AAAA,QACA,IAAG;AAAA,QACH,WAAU;AAAA,QAGV;AAAA;AAAA,YAAC;AAAA;AAAA,cACG,WAAW,oCAAoC,QAAQ,KAAK,6CAA6C;AAAA,cACzG,OAAO;AAAA;AAAA,UACX;AAAA,UAGC,CAAC,aAAa,SAAS,yBAAsB,KAC1C,oBAAC,iBAAc,MAAY,YAAwB,OAAc,YAAwB;AAAA,UAI7F,qBAAC,SAAI,WAAU,gDAGX;AAAA,gCAAC,SAAI,WAAU,mCACX,8BAAC,iBAAc,MAAY,YAAwB,cAA4B,GACnF;AAAA,YAGA,oBAAC,SAAI,WAAU,6EAA4E;AAAA,YAG3F,oBAAC,SAAI,WAAU,2BACX,8BAAC,uBAAoB,MAAY,OAAc,YAAwB,cAA4B,GACvG;AAAA,aAEJ;AAAA,UAEA,oBAAC,iBAAc;AAAA;AAAA;AAAA,IACnB;AAAA,EAER;AACJ;","names":["ResumePreview"]}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var contact_skills_exports = {};
20
+ __export(contact_skills_exports, {
21
+ ContactSkills: () => ContactSkills
22
+ });
23
+ module.exports = __toCommonJS(contact_skills_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_ui = require("../../../../ui");
26
+ var import_lucide_react = require("lucide-react");
27
+ function ContactSkills({ data, hideFields = [], hideSections = [] }) {
28
+ const hardSkills = data.skills?.hard || [];
29
+ const softSkills = data.skills?.soft || [];
30
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-10", children: [
31
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-4", children: [
32
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h3", { className: "text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2", children: [
33
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.User, { className: "w-5 h-5 text-primary" }),
34
+ "Contacto"
35
+ ] }),
36
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-3 mt-4", children: [
37
+ data.email && !hideFields.includes("email") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-3 text-sm text-foreground", children: [
38
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Mail, { className: "w-4 h-4 text-muted-foreground flex-shrink-0" }),
39
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "break-all font-medium", children: data.email })
40
+ ] }),
41
+ data.phone_number && !hideFields.includes("phone_number") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-3 text-sm text-foreground", children: [
42
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Phone, { className: "w-4 h-4 text-muted-foreground flex-shrink-0" }),
43
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "font-medium", children: data.phone_number })
44
+ ] }),
45
+ (data.city || data.address) && (!hideFields.includes("city") || !hideFields.includes("address")) && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-start gap-3 text-sm text-foreground", children: [
46
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.MapPin, { className: "w-4 h-4 text-muted-foreground flex-shrink-0 mt-0.5" }),
47
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "font-medium leading-tight", children: [
48
+ !hideFields.includes("address") ? data.address : null,
49
+ !hideFields.includes("city") ? data.city : null
50
+ ].filter(Boolean).join(", ") })
51
+ ] })
52
+ ] })
53
+ ] }),
54
+ !hideSections.includes("Habilidades") && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-6", children: [
55
+ hardSkills.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-4", children: [
56
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h3", { className: "text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2", children: [
57
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Code, { className: "w-5 h-5 text-primary" }),
58
+ "Habilidades T\xE9cnicas"
59
+ ] }),
60
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex flex-wrap gap-2 mt-4", children: hardSkills.map((skill) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_ui.Badge, { variant: "outline", className: "text-muted-foreground text-sm py-1 px-3 bg-muted/20 border-border/80 pdf-badge", children: [
61
+ skill.name,
62
+ skill.verified && !hideFields.includes("skills.hard.verified") && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.CheckCircle2, { className: "w-3.5 h-3.5 ml-1.5 text-primary-foreground/90" })
63
+ ] }, skill.id)) })
64
+ ] }),
65
+ softSkills.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-4", children: [
66
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h3", { className: "text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2", children: [
67
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Users, { className: "w-5 h-5 text-primary" }),
68
+ "Aptitudes"
69
+ ] }),
70
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex flex-wrap gap-2 mt-4", children: softSkills.map((skill) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ui.Badge, { variant: "outline", className: "text-muted-foreground text-sm py-1 px-3 bg-muted/20 border-border/80 pdf-badge", children: skill.name }, skill.id)) })
71
+ ] })
72
+ ] })
73
+ ] });
74
+ }
75
+ // Annotate the CommonJS export names for ESM import in node:
76
+ 0 && (module.exports = {
77
+ ContactSkills
78
+ });
79
+ //# sourceMappingURL=contact-skills.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/components/domain/resume/resume-preview/sections/contact-skills.tsx"],"sourcesContent":["import { CandidateProfile } from \"../../types\";\nimport { Badge } from \"../../../../ui\";\nimport { User, Mail, Phone, MapPin, Code, CheckCircle2, Users } from \"lucide-react\";\n\ninterface ContactSkillsProps {\n data: CandidateProfile;\n hideFields?: string[];\n hideSections?: string[];\n}\n\nexport function ContactSkills({ data, hideFields = [], hideSections = [] }: ContactSkillsProps) {\n const hardSkills = data.skills?.hard || [];\n const softSkills = data.skills?.soft || [];\n\n return (\n <div className=\"space-y-10\">\n {/* Contacto */}\n <div className=\"space-y-4\">\n <h3 className=\"text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2\">\n <User className=\"w-5 h-5 text-primary\" />\n Contacto\n </h3>\n <div className=\"space-y-3 mt-4\">\n {data.email && !hideFields.includes(\"email\") && (\n <div className=\"flex items-center gap-3 text-sm text-foreground\">\n <Mail className=\"w-4 h-4 text-muted-foreground flex-shrink-0\" />\n <span className=\"break-all font-medium\">{data.email}</span>\n </div>\n )}\n {data.phone_number && !hideFields.includes(\"phone_number\") && (\n <div className=\"flex items-center gap-3 text-sm text-foreground\">\n <Phone className=\"w-4 h-4 text-muted-foreground flex-shrink-0\" />\n <span className=\"font-medium\">{data.phone_number}</span>\n </div>\n )}\n {(data.city || data.address) && (!hideFields.includes(\"city\") || !hideFields.includes(\"address\")) && (\n <div className=\"flex items-start gap-3 text-sm text-foreground\">\n <MapPin className=\"w-4 h-4 text-muted-foreground flex-shrink-0 mt-0.5\" />\n <span className=\"font-medium leading-tight\">\n {[\n !hideFields.includes(\"address\") ? data.address : null,\n !hideFields.includes(\"city\") ? data.city : null\n ].filter(Boolean).join(\", \")}\n </span>\n </div>\n )}\n </div>\n </div>\n\n {/* Skills */}\n {!hideSections.includes(\"Habilidades\") && (\n <div className=\"space-y-6\">\n {hardSkills.length > 0 && (\n <div className=\"space-y-4\">\n <h3 className=\"text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2\">\n <Code className=\"w-5 h-5 text-primary\" />\n Habilidades Técnicas\n </h3>\n <div className=\"flex flex-wrap gap-2 mt-4\">\n {hardSkills.map((skill) => (\n <Badge key={skill.id} variant=\"outline\" className=\"text-muted-foreground text-sm py-1 px-3 bg-muted/20 border-border/80 pdf-badge\">\n {skill.name}\n {skill.verified && !hideFields.includes(\"skills.hard.verified\") && (\n <CheckCircle2 className=\"w-3.5 h-3.5 ml-1.5 text-primary-foreground/90\" />\n )}\n </Badge>\n ))}\n </div>\n </div>\n )}\n\n {softSkills.length > 0 && (\n <div className=\"space-y-4\">\n <h3 className=\"text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2\">\n <Users className=\"w-5 h-5 text-primary\" />\n Aptitudes\n </h3>\n <div className=\"flex flex-wrap gap-2 mt-4\">\n {softSkills.map((skill) => (\n <Badge key={skill.id} variant=\"outline\" className=\"text-muted-foreground text-sm py-1 px-3 bg-muted/20 border-border/80 pdf-badge\">\n {skill.name}\n </Badge>\n ))}\n </div>\n </div>\n )}\n </div>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAkBgB;AAjBhB,gBAAsB;AACtB,0BAAqE;AAQ9D,SAAS,cAAc,EAAE,MAAM,aAAa,CAAC,GAAG,eAAe,CAAC,EAAE,GAAuB;AAC5F,QAAM,aAAa,KAAK,QAAQ,QAAQ,CAAC;AACzC,QAAM,aAAa,KAAK,QAAQ,QAAQ,CAAC;AAEzC,SACI,6CAAC,SAAI,WAAU,cAEX;AAAA,iDAAC,SAAI,WAAU,aACX;AAAA,mDAAC,QAAG,WAAU,sFACV;AAAA,oDAAC,4BAAK,WAAU,wBAAuB;AAAA,QAAE;AAAA,SAE7C;AAAA,MACA,6CAAC,SAAI,WAAU,kBACV;AAAA,aAAK,SAAS,CAAC,WAAW,SAAS,OAAO,KACvC,6CAAC,SAAI,WAAU,mDACX;AAAA,sDAAC,4BAAK,WAAU,+CAA8C;AAAA,UAC9D,4CAAC,UAAK,WAAU,yBAAyB,eAAK,OAAM;AAAA,WACxD;AAAA,QAEH,KAAK,gBAAgB,CAAC,WAAW,SAAS,cAAc,KACrD,6CAAC,SAAI,WAAU,mDACX;AAAA,sDAAC,6BAAM,WAAU,+CAA8C;AAAA,UAC/D,4CAAC,UAAK,WAAU,eAAe,eAAK,cAAa;AAAA,WACrD;AAAA,SAEF,KAAK,QAAQ,KAAK,aAAa,CAAC,WAAW,SAAS,MAAM,KAAK,CAAC,WAAW,SAAS,SAAS,MAC3F,6CAAC,SAAI,WAAU,kDACX;AAAA,sDAAC,8BAAO,WAAU,sDAAqD;AAAA,UACvE,4CAAC,UAAK,WAAU,6BACX;AAAA,YACG,CAAC,WAAW,SAAS,SAAS,IAAI,KAAK,UAAU;AAAA,YACjD,CAAC,WAAW,SAAS,MAAM,IAAI,KAAK,OAAO;AAAA,UAC/C,EAAE,OAAO,OAAO,EAAE,KAAK,IAAI,GAC/B;AAAA,WACJ;AAAA,SAER;AAAA,OACJ;AAAA,IAGC,CAAC,aAAa,SAAS,aAAa,KACjC,6CAAC,SAAI,WAAU,aACV;AAAA,iBAAW,SAAS,KACjB,6CAAC,SAAI,WAAU,aACX;AAAA,qDAAC,QAAG,WAAU,sFACV;AAAA,sDAAC,4BAAK,WAAU,wBAAuB;AAAA,UAAE;AAAA,WAE7C;AAAA,QACA,4CAAC,SAAI,WAAU,6BACV,qBAAW,IAAI,CAAC,UACb,6CAAC,mBAAqB,SAAQ,WAAU,WAAU,kFAC7C;AAAA,gBAAM;AAAA,UACN,MAAM,YAAY,CAAC,WAAW,SAAS,sBAAsB,KAC1D,4CAAC,oCAAa,WAAU,iDAAgD;AAAA,aAHpE,MAAM,EAKlB,CACH,GACL;AAAA,SACJ;AAAA,MAGH,WAAW,SAAS,KACjB,6CAAC,SAAI,WAAU,aACX;AAAA,qDAAC,QAAG,WAAU,sFACV;AAAA,sDAAC,6BAAM,WAAU,wBAAuB;AAAA,UAAE;AAAA,WAE9C;AAAA,QACA,4CAAC,SAAI,WAAU,6BACV,qBAAW,IAAI,CAAC,UACb,4CAAC,mBAAqB,SAAQ,WAAU,WAAU,kFAC7C,gBAAM,QADC,MAAM,EAElB,CACH,GACL;AAAA,SACJ;AAAA,OAER;AAAA,KAER;AAER;","names":[]}
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { CandidateProfile } from '../../types.cjs';
3
+ import 'react';
4
+
5
+ interface ContactSkillsProps {
6
+ data: CandidateProfile;
7
+ hideFields?: string[];
8
+ hideSections?: string[];
9
+ }
10
+ declare function ContactSkills({ data, hideFields, hideSections }: ContactSkillsProps): react_jsx_runtime.JSX.Element;
11
+
12
+ export { ContactSkills };
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { CandidateProfile } from '../../types.js';
3
+ import 'react';
4
+
5
+ interface ContactSkillsProps {
6
+ data: CandidateProfile;
7
+ hideFields?: string[];
8
+ hideSections?: string[];
9
+ }
10
+ declare function ContactSkills({ data, hideFields, hideSections }: ContactSkillsProps): react_jsx_runtime.JSX.Element;
11
+
12
+ export { ContactSkills };
@@ -0,0 +1,55 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Badge } from "../../../../ui";
3
+ import { User, Mail, Phone, MapPin, Code, CheckCircle2, Users } from "lucide-react";
4
+ function ContactSkills({ data, hideFields = [], hideSections = [] }) {
5
+ const hardSkills = data.skills?.hard || [];
6
+ const softSkills = data.skills?.soft || [];
7
+ return /* @__PURE__ */ jsxs("div", { className: "space-y-10", children: [
8
+ /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
9
+ /* @__PURE__ */ jsxs("h3", { className: "text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2", children: [
10
+ /* @__PURE__ */ jsx(User, { className: "w-5 h-5 text-primary" }),
11
+ "Contacto"
12
+ ] }),
13
+ /* @__PURE__ */ jsxs("div", { className: "space-y-3 mt-4", children: [
14
+ data.email && !hideFields.includes("email") && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-sm text-foreground", children: [
15
+ /* @__PURE__ */ jsx(Mail, { className: "w-4 h-4 text-muted-foreground flex-shrink-0" }),
16
+ /* @__PURE__ */ jsx("span", { className: "break-all font-medium", children: data.email })
17
+ ] }),
18
+ data.phone_number && !hideFields.includes("phone_number") && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-sm text-foreground", children: [
19
+ /* @__PURE__ */ jsx(Phone, { className: "w-4 h-4 text-muted-foreground flex-shrink-0" }),
20
+ /* @__PURE__ */ jsx("span", { className: "font-medium", children: data.phone_number })
21
+ ] }),
22
+ (data.city || data.address) && (!hideFields.includes("city") || !hideFields.includes("address")) && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3 text-sm text-foreground", children: [
23
+ /* @__PURE__ */ jsx(MapPin, { className: "w-4 h-4 text-muted-foreground flex-shrink-0 mt-0.5" }),
24
+ /* @__PURE__ */ jsx("span", { className: "font-medium leading-tight", children: [
25
+ !hideFields.includes("address") ? data.address : null,
26
+ !hideFields.includes("city") ? data.city : null
27
+ ].filter(Boolean).join(", ") })
28
+ ] })
29
+ ] })
30
+ ] }),
31
+ !hideSections.includes("Habilidades") && /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
32
+ hardSkills.length > 0 && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
33
+ /* @__PURE__ */ jsxs("h3", { className: "text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2", children: [
34
+ /* @__PURE__ */ jsx(Code, { className: "w-5 h-5 text-primary" }),
35
+ "Habilidades T\xE9cnicas"
36
+ ] }),
37
+ /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2 mt-4", children: hardSkills.map((skill) => /* @__PURE__ */ jsxs(Badge, { variant: "outline", className: "text-muted-foreground text-sm py-1 px-3 bg-muted/20 border-border/80 pdf-badge", children: [
38
+ skill.name,
39
+ skill.verified && !hideFields.includes("skills.hard.verified") && /* @__PURE__ */ jsx(CheckCircle2, { className: "w-3.5 h-3.5 ml-1.5 text-primary-foreground/90" })
40
+ ] }, skill.id)) })
41
+ ] }),
42
+ softSkills.length > 0 && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
43
+ /* @__PURE__ */ jsxs("h3", { className: "text-xl font-bold text-primary flex items-center gap-2 border-b border-border pb-2", children: [
44
+ /* @__PURE__ */ jsx(Users, { className: "w-5 h-5 text-primary" }),
45
+ "Aptitudes"
46
+ ] }),
47
+ /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2 mt-4", children: softSkills.map((skill) => /* @__PURE__ */ jsx(Badge, { variant: "outline", className: "text-muted-foreground text-sm py-1 px-3 bg-muted/20 border-border/80 pdf-badge", children: skill.name }, skill.id)) })
48
+ ] })
49
+ ] })
50
+ ] });
51
+ }
52
+ export {
53
+ ContactSkills
54
+ };
55
+ //# sourceMappingURL=contact-skills.js.map