@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.
- package/AGENTS.md +66 -0
- package/README.md +135 -0
- package/dist/components/domain/index.cjs +23 -0
- package/dist/components/domain/index.cjs.map +1 -0
- package/dist/components/domain/index.d.cts +6 -0
- package/dist/components/domain/index.d.ts +6 -0
- package/dist/components/domain/index.js +2 -0
- package/dist/components/domain/index.js.map +1 -0
- package/dist/components/domain/resume/index.cjs +29 -0
- package/dist/components/domain/resume/index.cjs.map +1 -0
- package/dist/components/domain/resume/index.d.cts +6 -0
- package/dist/components/domain/resume/index.d.ts +6 -0
- package/dist/components/domain/resume/index.js +5 -0
- package/dist/components/domain/resume/index.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.cjs +137 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.d.cts +15 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.d.ts +15 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.js +113 -0
- package/dist/components/domain/resume/resume-editor/resume-editor.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.cjs +68 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.js +44 -0
- package/dist/components/domain/resume/resume-editor/sections/academic-info.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.cjs +127 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.js +103 -0
- package/dist/components/domain/resume/resume-editor/sections/activities.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.cjs +128 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.d.cts +13 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.d.ts +13 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.js +104 -0
- package/dist/components/domain/resume/resume-editor/sections/certifications.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/education.cjs +127 -0
- package/dist/components/domain/resume/resume-editor/sections/education.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/education.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/education.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/education.js +103 -0
- package/dist/components/domain/resume/resume-editor/sections/education.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.cjs +127 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.js +103 -0
- package/dist/components/domain/resume/resume-editor/sections/experience.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.cjs +171 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.js +147 -0
- package/dist/components/domain/resume/resume-editor/sections/personal-info.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.cjs +129 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.js +109 -0
- package/dist/components/domain/resume/resume-editor/sections/preferences.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.cjs +123 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.js +99 -0
- package/dist/components/domain/resume/resume-editor/sections/requirements.js.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.cjs +110 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.cjs.map +1 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.d.cts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.d.ts +12 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.js +86 -0
- package/dist/components/domain/resume/resume-editor/sections/skills.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.cjs +73 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.d.cts +13 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.d.ts +13 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.js +39 -0
- package/dist/components/domain/resume/resume-preview/resume-preview.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.cjs +79 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.d.cts +12 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.d.ts +12 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.js +55 -0
- package/dist/components/domain/resume/resume-preview/sections/contact-skills.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.cjs +127 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.d.cts +13 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.d.ts +13 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.js +103 -0
- package/dist/components/domain/resume/resume-preview/sections/experience-education.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.cjs +36 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.d.cts +5 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.d.ts +5 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.js +12 -0
- package/dist/components/domain/resume/resume-preview/sections/footer-preview.js.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.cjs +64 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.cjs.map +1 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.d.cts +13 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.d.ts +13 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.js +40 -0
- package/dist/components/domain/resume/resume-preview/sections/header-preview.js.map +1 -0
- package/dist/components/domain/resume/resume.cjs +360 -0
- package/dist/components/domain/resume/resume.cjs.map +1 -0
- package/dist/components/domain/resume/resume.d.cts +7 -0
- package/dist/components/domain/resume/resume.d.ts +7 -0
- package/dist/components/domain/resume/resume.js +326 -0
- package/dist/components/domain/resume/resume.js.map +1 -0
- package/dist/components/domain/resume/types.cjs +17 -0
- package/dist/components/domain/resume/types.cjs.map +1 -0
- package/dist/components/domain/resume/types.d.cts +195 -0
- package/dist/components/domain/resume/types.d.ts +195 -0
- package/dist/components/domain/resume/types.js +1 -0
- package/dist/components/domain/resume/types.js.map +1 -0
- package/dist/components/ui/accordion/accordion.cjs +103 -0
- package/dist/components/ui/accordion/accordion.cjs.map +1 -0
- package/dist/components/ui/accordion/accordion.d.cts +10 -0
- package/dist/components/ui/accordion/accordion.d.ts +10 -0
- package/dist/components/ui/accordion/accordion.js +66 -0
- package/dist/components/ui/accordion/accordion.js.map +1 -0
- package/dist/components/ui/accordion/index.cjs +23 -0
- package/dist/components/ui/accordion/index.cjs.map +1 -0
- package/dist/components/ui/accordion/index.d.cts +4 -0
- package/dist/components/ui/accordion/index.d.ts +4 -0
- package/dist/components/ui/accordion/index.js +2 -0
- package/dist/components/ui/accordion/index.js.map +1 -0
- package/dist/components/ui/alert/alert.cjs +90 -0
- package/dist/components/ui/alert/alert.cjs.map +1 -0
- package/dist/components/ui/alert/alert.d.cts +14 -0
- package/dist/components/ui/alert/alert.d.ts +14 -0
- package/dist/components/ui/alert/alert.js +53 -0
- package/dist/components/ui/alert/alert.js.map +1 -0
- package/dist/components/ui/alert/index.cjs +23 -0
- package/dist/components/ui/alert/index.cjs.map +1 -0
- package/dist/components/ui/alert/index.d.cts +4 -0
- package/dist/components/ui/alert/index.d.ts +4 -0
- package/dist/components/ui/alert/index.js +2 -0
- package/dist/components/ui/alert/index.js.map +1 -0
- package/dist/components/ui/alert-dialog/alert-dialog.cjs +207 -0
- package/dist/components/ui/alert-dialog/alert-dialog.cjs.map +1 -0
- package/dist/components/ui/alert-dialog/alert-dialog.d.cts +17 -0
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +17 -0
- package/dist/components/ui/alert-dialog/alert-dialog.js +163 -0
- package/dist/components/ui/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert-dialog/index.cjs +23 -0
- package/dist/components/ui/alert-dialog/index.cjs.map +1 -0
- package/dist/components/ui/alert-dialog/index.d.cts +4 -0
- package/dist/components/ui/alert-dialog/index.d.ts +4 -0
- package/dist/components/ui/alert-dialog/index.js +2 -0
- package/dist/components/ui/alert-dialog/index.js.map +1 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.cjs +41 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.cjs.map +1 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.d.cts +5 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.d.ts +5 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.js +7 -0
- package/dist/components/ui/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/components/ui/aspect-ratio/index.cjs +23 -0
- package/dist/components/ui/aspect-ratio/index.cjs.map +1 -0
- package/dist/components/ui/aspect-ratio/index.d.cts +2 -0
- package/dist/components/ui/aspect-ratio/index.d.ts +2 -0
- package/dist/components/ui/aspect-ratio/index.js +2 -0
- package/dist/components/ui/aspect-ratio/index.js.map +1 -0
- package/dist/components/ui/autocomplete/autocomplete.cjs +210 -0
- package/dist/components/ui/autocomplete/autocomplete.cjs.map +1 -0
- package/dist/components/ui/autocomplete/autocomplete.d.cts +28 -0
- package/dist/components/ui/autocomplete/autocomplete.d.ts +28 -0
- package/dist/components/ui/autocomplete/autocomplete.js +176 -0
- package/dist/components/ui/autocomplete/autocomplete.js.map +1 -0
- package/dist/components/ui/autocomplete/index.cjs +23 -0
- package/dist/components/ui/autocomplete/index.cjs.map +1 -0
- package/dist/components/ui/autocomplete/index.d.cts +3 -0
- package/dist/components/ui/autocomplete/index.d.ts +3 -0
- package/dist/components/ui/autocomplete/index.js +2 -0
- package/dist/components/ui/autocomplete/index.js.map +1 -0
- package/dist/components/ui/avatar/avatar.cjs +80 -0
- package/dist/components/ui/avatar/avatar.cjs.map +1 -0
- package/dist/components/ui/avatar/avatar.d.cts +8 -0
- package/dist/components/ui/avatar/avatar.d.ts +8 -0
- package/dist/components/ui/avatar/avatar.js +44 -0
- package/dist/components/ui/avatar/avatar.js.map +1 -0
- package/dist/components/ui/avatar/index.cjs +23 -0
- package/dist/components/ui/avatar/index.cjs.map +1 -0
- package/dist/components/ui/avatar/index.d.cts +3 -0
- package/dist/components/ui/avatar/index.d.ts +3 -0
- package/dist/components/ui/avatar/index.js +2 -0
- package/dist/components/ui/avatar/index.js.map +1 -0
- package/dist/components/ui/badge/badge.cjs +71 -0
- package/dist/components/ui/badge/badge.cjs.map +1 -0
- package/dist/components/ui/badge/badge.d.cts +13 -0
- package/dist/components/ui/badge/badge.d.ts +13 -0
- package/dist/components/ui/badge/badge.js +46 -0
- package/dist/components/ui/badge/badge.js.map +1 -0
- package/dist/components/ui/badge/index.cjs +23 -0
- package/dist/components/ui/badge/index.cjs.map +1 -0
- package/dist/components/ui/badge/index.d.cts +5 -0
- package/dist/components/ui/badge/index.d.ts +5 -0
- package/dist/components/ui/badge/index.js +2 -0
- package/dist/components/ui/badge/index.js.map +1 -0
- package/dist/components/ui/breadcrumb/breadcrumb.cjs +141 -0
- package/dist/components/ui/breadcrumb/breadcrumb.cjs.map +1 -0
- package/dist/components/ui/breadcrumb/breadcrumb.d.cts +14 -0
- package/dist/components/ui/breadcrumb/breadcrumb.d.ts +14 -0
- package/dist/components/ui/breadcrumb/breadcrumb.js +111 -0
- package/dist/components/ui/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/ui/breadcrumb/index.cjs +23 -0
- package/dist/components/ui/breadcrumb/index.cjs.map +1 -0
- package/dist/components/ui/breadcrumb/index.d.cts +3 -0
- package/dist/components/ui/breadcrumb/index.d.ts +3 -0
- package/dist/components/ui/breadcrumb/index.js +2 -0
- package/dist/components/ui/breadcrumb/index.js.map +1 -0
- package/dist/components/ui/button/button.cjs +79 -0
- package/dist/components/ui/button/button.cjs.map +1 -0
- package/dist/components/ui/button/button.d.cts +14 -0
- package/dist/components/ui/button/button.d.ts +14 -0
- package/dist/components/ui/button/button.js +54 -0
- package/dist/components/ui/button/button.js.map +1 -0
- package/dist/components/ui/button/index.cjs +23 -0
- package/dist/components/ui/button/index.cjs.map +1 -0
- package/dist/components/ui/button/index.d.cts +5 -0
- package/dist/components/ui/button/index.d.ts +5 -0
- package/dist/components/ui/button/index.js +2 -0
- package/dist/components/ui/button/index.js.map +1 -0
- package/dist/components/ui/calendar/calendar.cjs +78 -0
- package/dist/components/ui/calendar/calendar.cjs.map +1 -0
- package/dist/components/ui/calendar/calendar.d.cts +8 -0
- package/dist/components/ui/calendar/calendar.d.ts +8 -0
- package/dist/components/ui/calendar/calendar.js +54 -0
- package/dist/components/ui/calendar/calendar.js.map +1 -0
- package/dist/components/ui/calendar/index.cjs +23 -0
- package/dist/components/ui/calendar/index.cjs.map +1 -0
- package/dist/components/ui/calendar/index.d.cts +4 -0
- package/dist/components/ui/calendar/index.d.ts +4 -0
- package/dist/components/ui/calendar/index.js +2 -0
- package/dist/components/ui/calendar/index.js.map +1 -0
- package/dist/components/ui/card/card.cjs +118 -0
- package/dist/components/ui/card/card.cjs.map +1 -0
- package/dist/components/ui/card/card.d.cts +12 -0
- package/dist/components/ui/card/card.d.ts +12 -0
- package/dist/components/ui/card/card.js +88 -0
- package/dist/components/ui/card/card.js.map +1 -0
- package/dist/components/ui/card/index.cjs +23 -0
- package/dist/components/ui/card/index.cjs.map +1 -0
- package/dist/components/ui/card/index.d.cts +3 -0
- package/dist/components/ui/card/index.d.ts +3 -0
- package/dist/components/ui/card/index.js +2 -0
- package/dist/components/ui/card/index.js.map +1 -0
- package/dist/components/ui/carousel/carousel.cjs +234 -0
- package/dist/components/ui/carousel/carousel.cjs.map +1 -0
- package/dist/components/ui/carousel/carousel.d.cts +24 -0
- package/dist/components/ui/carousel/carousel.d.ts +24 -0
- package/dist/components/ui/carousel/carousel.js +196 -0
- package/dist/components/ui/carousel/carousel.js.map +1 -0
- package/dist/components/ui/carousel/index.cjs +23 -0
- package/dist/components/ui/carousel/index.cjs.map +1 -0
- package/dist/components/ui/carousel/index.d.cts +7 -0
- package/dist/components/ui/carousel/index.d.ts +7 -0
- package/dist/components/ui/carousel/index.js +2 -0
- package/dist/components/ui/carousel/index.js.map +1 -0
- package/dist/components/ui/checkbox/checkbox.cjs +63 -0
- package/dist/components/ui/checkbox/checkbox.cjs.map +1 -0
- package/dist/components/ui/checkbox/checkbox.d.cts +6 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +6 -0
- package/dist/components/ui/checkbox/checkbox.js +29 -0
- package/dist/components/ui/checkbox/checkbox.js.map +1 -0
- package/dist/components/ui/checkbox/index.cjs +23 -0
- package/dist/components/ui/checkbox/index.cjs.map +1 -0
- package/dist/components/ui/checkbox/index.d.cts +3 -0
- package/dist/components/ui/checkbox/index.d.ts +3 -0
- package/dist/components/ui/checkbox/index.js +2 -0
- package/dist/components/ui/checkbox/index.js.map +1 -0
- package/dist/components/ui/collapsible/collapsible.cjs +47 -0
- package/dist/components/ui/collapsible/collapsible.cjs.map +1 -0
- package/dist/components/ui/collapsible/collapsible.d.cts +7 -0
- package/dist/components/ui/collapsible/collapsible.d.ts +7 -0
- package/dist/components/ui/collapsible/collapsible.js +11 -0
- package/dist/components/ui/collapsible/collapsible.js.map +1 -0
- package/dist/components/ui/collapsible/index.cjs +23 -0
- package/dist/components/ui/collapsible/index.cjs.map +1 -0
- package/dist/components/ui/collapsible/index.d.cts +2 -0
- package/dist/components/ui/collapsible/index.d.ts +2 -0
- package/dist/components/ui/collapsible/index.js +2 -0
- package/dist/components/ui/collapsible/index.js.map +1 -0
- package/dist/components/ui/combobox/combobox.cjs +129 -0
- package/dist/components/ui/combobox/combobox.cjs.map +1 -0
- package/dist/components/ui/combobox/combobox.d.cts +19 -0
- package/dist/components/ui/combobox/combobox.d.ts +19 -0
- package/dist/components/ui/combobox/combobox.js +102 -0
- package/dist/components/ui/combobox/combobox.js.map +1 -0
- package/dist/components/ui/combobox/index.cjs +23 -0
- package/dist/components/ui/combobox/index.cjs.map +1 -0
- package/dist/components/ui/combobox/index.d.cts +2 -0
- package/dist/components/ui/combobox/index.d.ts +2 -0
- package/dist/components/ui/combobox/index.js +2 -0
- package/dist/components/ui/combobox/index.js.map +1 -0
- package/dist/components/ui/command/command.cjs +174 -0
- package/dist/components/ui/command/command.cjs.map +1 -0
- package/dist/components/ui/command/command.d.cts +17 -0
- package/dist/components/ui/command/command.d.ts +17 -0
- package/dist/components/ui/command/command.js +142 -0
- package/dist/components/ui/command/command.js.map +1 -0
- package/dist/components/ui/command/index.cjs +23 -0
- package/dist/components/ui/command/index.cjs.map +1 -0
- package/dist/components/ui/command/index.d.cts +5 -0
- package/dist/components/ui/command/index.d.ts +5 -0
- package/dist/components/ui/command/index.js +2 -0
- package/dist/components/ui/command/index.js.map +1 -0
- package/dist/components/ui/context-menu/context-menu.cjs +255 -0
- package/dist/components/ui/context-menu/context-menu.cjs.map +1 -0
- package/dist/components/ui/context-menu/context-menu.d.cts +27 -0
- package/dist/components/ui/context-menu/context-menu.d.ts +27 -0
- package/dist/components/ui/context-menu/context-menu.js +207 -0
- package/dist/components/ui/context-menu/context-menu.js.map +1 -0
- package/dist/components/ui/context-menu/index.cjs +23 -0
- package/dist/components/ui/context-menu/index.cjs.map +1 -0
- package/dist/components/ui/context-menu/index.d.cts +4 -0
- package/dist/components/ui/context-menu/index.d.ts +4 -0
- package/dist/components/ui/context-menu/index.js +2 -0
- package/dist/components/ui/context-menu/index.js.map +1 -0
- package/dist/components/ui/date-picker/date-picker.cjs +189 -0
- package/dist/components/ui/date-picker/date-picker.cjs.map +1 -0
- package/dist/components/ui/date-picker/date-picker.d.cts +12 -0
- package/dist/components/ui/date-picker/date-picker.d.ts +12 -0
- package/dist/components/ui/date-picker/date-picker.js +159 -0
- package/dist/components/ui/date-picker/date-picker.js.map +1 -0
- package/dist/components/ui/date-picker/index.cjs +23 -0
- package/dist/components/ui/date-picker/index.cjs.map +1 -0
- package/dist/components/ui/date-picker/index.d.cts +2 -0
- package/dist/components/ui/date-picker/index.d.ts +2 -0
- package/dist/components/ui/date-picker/index.js +2 -0
- package/dist/components/ui/date-picker/index.js.map +1 -0
- package/dist/components/ui/dialog/dialog.cjs +184 -0
- package/dist/components/ui/dialog/dialog.cjs.map +1 -0
- package/dist/components/ui/dialog/dialog.d.cts +18 -0
- package/dist/components/ui/dialog/dialog.d.ts +18 -0
- package/dist/components/ui/dialog/dialog.js +141 -0
- package/dist/components/ui/dialog/dialog.js.map +1 -0
- package/dist/components/ui/dialog/index.cjs +23 -0
- package/dist/components/ui/dialog/index.cjs.map +1 -0
- package/dist/components/ui/dialog/index.d.cts +4 -0
- package/dist/components/ui/dialog/index.d.ts +4 -0
- package/dist/components/ui/dialog/index.js +2 -0
- package/dist/components/ui/dialog/index.js.map +1 -0
- package/dist/components/ui/drawer/drawer.cjs +156 -0
- package/dist/components/ui/drawer/drawer.cjs.map +1 -0
- package/dist/components/ui/drawer/drawer.d.cts +16 -0
- package/dist/components/ui/drawer/drawer.d.ts +16 -0
- package/dist/components/ui/drawer/drawer.js +123 -0
- package/dist/components/ui/drawer/drawer.js.map +1 -0
- package/dist/components/ui/drawer/index.cjs +23 -0
- package/dist/components/ui/drawer/index.cjs.map +1 -0
- package/dist/components/ui/drawer/index.d.cts +4 -0
- package/dist/components/ui/drawer/index.d.ts +4 -0
- package/dist/components/ui/drawer/index.js +2 -0
- package/dist/components/ui/drawer/index.js.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.cjs +201 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.cjs.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.cts +30 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +30 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +153 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/ui/dropdown-menu/index.cjs +23 -0
- package/dist/components/ui/dropdown-menu/index.cjs.map +1 -0
- package/dist/components/ui/dropdown-menu/index.d.cts +4 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/index.js +2 -0
- package/dist/components/ui/dropdown-menu/index.js.map +1 -0
- package/dist/components/ui/form/form.cjs +162 -0
- package/dist/components/ui/form/form.cjs.map +1 -0
- package/dist/components/ui/form/form.d.cts +28 -0
- package/dist/components/ui/form/form.d.ts +28 -0
- package/dist/components/ui/form/form.js +126 -0
- package/dist/components/ui/form/form.js.map +1 -0
- package/dist/components/ui/form/index.cjs +23 -0
- package/dist/components/ui/form/index.cjs.map +1 -0
- package/dist/components/ui/form/index.d.cts +6 -0
- package/dist/components/ui/form/index.d.ts +6 -0
- package/dist/components/ui/form/index.js +2 -0
- package/dist/components/ui/form/index.js.map +1 -0
- package/dist/components/ui/hover-card/hover-card.cjs +76 -0
- package/dist/components/ui/hover-card/hover-card.cjs.map +1 -0
- package/dist/components/ui/hover-card/hover-card.d.cts +9 -0
- package/dist/components/ui/hover-card/hover-card.d.ts +9 -0
- package/dist/components/ui/hover-card/hover-card.js +40 -0
- package/dist/components/ui/hover-card/hover-card.js.map +1 -0
- package/dist/components/ui/hover-card/index.cjs +23 -0
- package/dist/components/ui/hover-card/index.cjs.map +1 -0
- package/dist/components/ui/hover-card/index.d.cts +4 -0
- package/dist/components/ui/hover-card/index.d.ts +4 -0
- package/dist/components/ui/hover-card/index.js +2 -0
- package/dist/components/ui/hover-card/index.js.map +1 -0
- package/dist/components/ui/icon/icon.cjs +56 -0
- package/dist/components/ui/icon/icon.cjs.map +1 -0
- package/dist/components/ui/icon/icon.d.cts +39 -0
- package/dist/components/ui/icon/icon.d.ts +39 -0
- package/dist/components/ui/icon/icon.js +31 -0
- package/dist/components/ui/icon/icon.js.map +1 -0
- package/dist/components/ui/icon/index.cjs +31 -0
- package/dist/components/ui/icon/index.cjs.map +1 -0
- package/dist/components/ui/icon/index.d.cts +3 -0
- package/dist/components/ui/icon/index.d.ts +3 -0
- package/dist/components/ui/icon/index.js +6 -0
- package/dist/components/ui/icon/index.js.map +1 -0
- package/dist/components/ui/index.cjs +137 -0
- package/dist/components/ui/index.cjs.map +1 -0
- package/dist/components/ui/index.d.cts +97 -0
- package/dist/components/ui/index.d.ts +97 -0
- package/dist/components/ui/index.js +59 -0
- package/dist/components/ui/index.js.map +1 -0
- package/dist/components/ui/input/index.cjs +23 -0
- package/dist/components/ui/input/index.cjs.map +1 -0
- package/dist/components/ui/input/index.d.cts +3 -0
- package/dist/components/ui/input/index.d.ts +3 -0
- package/dist/components/ui/input/index.js +2 -0
- package/dist/components/ui/input/index.js.map +1 -0
- package/dist/components/ui/input/input.cjs +44 -0
- package/dist/components/ui/input/input.cjs.map +1 -0
- package/dist/components/ui/input/input.d.cts +6 -0
- package/dist/components/ui/input/input.d.ts +6 -0
- package/dist/components/ui/input/input.js +20 -0
- package/dist/components/ui/input/input.js.map +1 -0
- package/dist/components/ui/input-field/index.cjs +23 -0
- package/dist/components/ui/input-field/index.cjs.map +1 -0
- package/dist/components/ui/input-field/index.d.cts +3 -0
- package/dist/components/ui/input-field/index.d.ts +3 -0
- package/dist/components/ui/input-field/index.js +2 -0
- package/dist/components/ui/input-field/index.js.map +1 -0
- package/dist/components/ui/input-field/input-field.cjs +72 -0
- package/dist/components/ui/input-field/input-field.cjs.map +1 -0
- package/dist/components/ui/input-field/input-field.d.cts +22 -0
- package/dist/components/ui/input-field/input-field.d.ts +22 -0
- package/dist/components/ui/input-field/input-field.js +47 -0
- package/dist/components/ui/input-field/input-field.js.map +1 -0
- package/dist/components/ui/input-otp/index.cjs +23 -0
- package/dist/components/ui/input-otp/index.cjs.map +1 -0
- package/dist/components/ui/input-otp/index.d.cts +4 -0
- package/dist/components/ui/input-otp/index.d.ts +4 -0
- package/dist/components/ui/input-otp/index.js +2 -0
- package/dist/components/ui/input-otp/index.js.map +1 -0
- package/dist/components/ui/input-otp/input-otp.cjs +105 -0
- package/dist/components/ui/input-otp/input-otp.cjs.map +1 -0
- package/dist/components/ui/input-otp/input-otp.d.cts +14 -0
- package/dist/components/ui/input-otp/input-otp.d.ts +14 -0
- package/dist/components/ui/input-otp/input-otp.js +68 -0
- package/dist/components/ui/input-otp/input-otp.js.map +1 -0
- package/dist/components/ui/label/index.cjs +23 -0
- package/dist/components/ui/label/index.cjs.map +1 -0
- package/dist/components/ui/label/index.d.cts +4 -0
- package/dist/components/ui/label/index.d.ts +4 -0
- package/dist/components/ui/label/index.js +2 -0
- package/dist/components/ui/label/index.js.map +1 -0
- package/dist/components/ui/label/label.cjs +58 -0
- package/dist/components/ui/label/label.cjs.map +1 -0
- package/dist/components/ui/label/label.d.cts +7 -0
- package/dist/components/ui/label/label.d.ts +7 -0
- package/dist/components/ui/label/label.js +24 -0
- package/dist/components/ui/label/label.js.map +1 -0
- package/dist/components/ui/loading-state/index.cjs +23 -0
- package/dist/components/ui/loading-state/index.cjs.map +1 -0
- package/dist/components/ui/loading-state/index.d.cts +2 -0
- package/dist/components/ui/loading-state/index.d.ts +2 -0
- package/dist/components/ui/loading-state/index.js +2 -0
- package/dist/components/ui/loading-state/index.js.map +1 -0
- package/dist/components/ui/loading-state/loading-state.cjs +60 -0
- package/dist/components/ui/loading-state/loading-state.cjs.map +1 -0
- package/dist/components/ui/loading-state/loading-state.d.cts +11 -0
- package/dist/components/ui/loading-state/loading-state.d.ts +11 -0
- package/dist/components/ui/loading-state/loading-state.js +36 -0
- package/dist/components/ui/loading-state/loading-state.js.map +1 -0
- package/dist/components/ui/logo/index.cjs +23 -0
- package/dist/components/ui/logo/index.cjs.map +1 -0
- package/dist/components/ui/logo/index.d.cts +3 -0
- package/dist/components/ui/logo/index.d.ts +3 -0
- package/dist/components/ui/logo/index.js +2 -0
- package/dist/components/ui/logo/index.js.map +1 -0
- package/dist/components/ui/logo/logo.cjs +50 -0
- package/dist/components/ui/logo/logo.cjs.map +1 -0
- package/dist/components/ui/logo/logo.d.cts +9 -0
- package/dist/components/ui/logo/logo.d.ts +9 -0
- package/dist/components/ui/logo/logo.js +26 -0
- package/dist/components/ui/logo/logo.js.map +1 -0
- package/dist/components/ui/menubar/index.cjs +23 -0
- package/dist/components/ui/menubar/index.cjs.map +1 -0
- package/dist/components/ui/menubar/index.d.cts +4 -0
- package/dist/components/ui/menubar/index.d.ts +4 -0
- package/dist/components/ui/menubar/index.js +2 -0
- package/dist/components/ui/menubar/index.js.map +1 -0
- package/dist/components/ui/menubar/menubar.cjs +280 -0
- package/dist/components/ui/menubar/menubar.cjs.map +1 -0
- package/dist/components/ui/menubar/menubar.d.cts +28 -0
- package/dist/components/ui/menubar/menubar.d.ts +28 -0
- package/dist/components/ui/menubar/menubar.js +231 -0
- package/dist/components/ui/menubar/menubar.js.map +1 -0
- package/dist/components/ui/month-year-picker/index.cjs +23 -0
- package/dist/components/ui/month-year-picker/index.cjs.map +1 -0
- package/dist/components/ui/month-year-picker/index.d.cts +2 -0
- package/dist/components/ui/month-year-picker/index.d.ts +2 -0
- package/dist/components/ui/month-year-picker/index.js +2 -0
- package/dist/components/ui/month-year-picker/index.js.map +1 -0
- package/dist/components/ui/month-year-picker/month-year-picker.cjs +157 -0
- package/dist/components/ui/month-year-picker/month-year-picker.cjs.map +1 -0
- package/dist/components/ui/month-year-picker/month-year-picker.d.cts +12 -0
- package/dist/components/ui/month-year-picker/month-year-picker.d.ts +12 -0
- package/dist/components/ui/month-year-picker/month-year-picker.js +127 -0
- package/dist/components/ui/month-year-picker/month-year-picker.js.map +1 -0
- package/dist/components/ui/multi-select/index.cjs +23 -0
- package/dist/components/ui/multi-select/index.cjs.map +1 -0
- package/dist/components/ui/multi-select/index.d.cts +2 -0
- package/dist/components/ui/multi-select/index.d.ts +2 -0
- package/dist/components/ui/multi-select/index.js +2 -0
- package/dist/components/ui/multi-select/index.js.map +1 -0
- package/dist/components/ui/multi-select/multi-select.cjs +173 -0
- package/dist/components/ui/multi-select/multi-select.cjs.map +1 -0
- package/dist/components/ui/multi-select/multi-select.d.cts +19 -0
- package/dist/components/ui/multi-select/multi-select.d.ts +19 -0
- package/dist/components/ui/multi-select/multi-select.js +139 -0
- package/dist/components/ui/multi-select/multi-select.js.map +1 -0
- package/dist/components/ui/navigation-menu/index.cjs +23 -0
- package/dist/components/ui/navigation-menu/index.cjs.map +1 -0
- package/dist/components/ui/navigation-menu/index.d.cts +5 -0
- package/dist/components/ui/navigation-menu/index.d.ts +5 -0
- package/dist/components/ui/navigation-menu/index.js +2 -0
- package/dist/components/ui/navigation-menu/index.js.map +1 -0
- package/dist/components/ui/navigation-menu/navigation-menu.cjs +201 -0
- package/dist/components/ui/navigation-menu/navigation-menu.cjs.map +1 -0
- package/dist/components/ui/navigation-menu/navigation-menu.d.cts +18 -0
- package/dist/components/ui/navigation-menu/navigation-menu.d.ts +18 -0
- package/dist/components/ui/navigation-menu/navigation-menu.js +159 -0
- package/dist/components/ui/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/components/ui/pagination/index.cjs +23 -0
- package/dist/components/ui/pagination/index.cjs.map +1 -0
- package/dist/components/ui/pagination/index.d.cts +6 -0
- package/dist/components/ui/pagination/index.d.ts +6 -0
- package/dist/components/ui/pagination/index.js +2 -0
- package/dist/components/ui/pagination/index.js.map +1 -0
- package/dist/components/ui/pagination/pagination.cjs +148 -0
- package/dist/components/ui/pagination/pagination.cjs.map +1 -0
- package/dist/components/ui/pagination/pagination.d.cts +18 -0
- package/dist/components/ui/pagination/pagination.d.ts +18 -0
- package/dist/components/ui/pagination/pagination.js +118 -0
- package/dist/components/ui/pagination/pagination.js.map +1 -0
- package/dist/components/ui/popover/index.cjs +23 -0
- package/dist/components/ui/popover/index.cjs.map +1 -0
- package/dist/components/ui/popover/index.d.cts +3 -0
- package/dist/components/ui/popover/index.d.ts +3 -0
- package/dist/components/ui/popover/index.js +2 -0
- package/dist/components/ui/popover/index.js.map +1 -0
- package/dist/components/ui/popover/popover.cjs +63 -0
- package/dist/components/ui/popover/popover.cjs.map +1 -0
- package/dist/components/ui/popover/popover.d.cts +8 -0
- package/dist/components/ui/popover/popover.d.ts +8 -0
- package/dist/components/ui/popover/popover.js +27 -0
- package/dist/components/ui/popover/popover.js.map +1 -0
- package/dist/components/ui/progress/index.cjs +23 -0
- package/dist/components/ui/progress/index.cjs.map +1 -0
- package/dist/components/ui/progress/index.d.cts +2 -0
- package/dist/components/ui/progress/index.d.ts +2 -0
- package/dist/components/ui/progress/index.js +2 -0
- package/dist/components/ui/progress/index.js.map +1 -0
- package/dist/components/ui/progress/progress.cjs +77 -0
- package/dist/components/ui/progress/progress.cjs.map +1 -0
- package/dist/components/ui/progress/progress.d.cts +15 -0
- package/dist/components/ui/progress/progress.d.ts +15 -0
- package/dist/components/ui/progress/progress.js +53 -0
- package/dist/components/ui/progress/progress.js.map +1 -0
- package/dist/components/ui/radio-group/index.cjs +23 -0
- package/dist/components/ui/radio-group/index.cjs.map +1 -0
- package/dist/components/ui/radio-group/index.d.cts +3 -0
- package/dist/components/ui/radio-group/index.d.ts +3 -0
- package/dist/components/ui/radio-group/index.js +2 -0
- package/dist/components/ui/radio-group/index.js.map +1 -0
- package/dist/components/ui/radio-group/radio-group.cjs +72 -0
- package/dist/components/ui/radio-group/radio-group.cjs.map +1 -0
- package/dist/components/ui/radio-group/radio-group.d.cts +7 -0
- package/dist/components/ui/radio-group/radio-group.d.ts +7 -0
- package/dist/components/ui/radio-group/radio-group.js +37 -0
- package/dist/components/ui/radio-group/radio-group.js.map +1 -0
- package/dist/components/ui/resizable/index.cjs +23 -0
- package/dist/components/ui/resizable/index.cjs.map +1 -0
- package/dist/components/ui/resizable/index.d.cts +3 -0
- package/dist/components/ui/resizable/index.d.ts +3 -0
- package/dist/components/ui/resizable/index.js +2 -0
- package/dist/components/ui/resizable/index.js.map +1 -0
- package/dist/components/ui/resizable/resizable.cjs +74 -0
- package/dist/components/ui/resizable/resizable.cjs.map +1 -0
- package/dist/components/ui/resizable/resizable.d.cts +12 -0
- package/dist/components/ui/resizable/resizable.d.ts +12 -0
- package/dist/components/ui/resizable/resizable.js +52 -0
- package/dist/components/ui/resizable/resizable.js.map +1 -0
- package/dist/components/ui/rich-text-editor/index.cjs +23 -0
- package/dist/components/ui/rich-text-editor/index.cjs.map +1 -0
- package/dist/components/ui/rich-text-editor/index.d.cts +2 -0
- package/dist/components/ui/rich-text-editor/index.d.ts +2 -0
- package/dist/components/ui/rich-text-editor/index.js +2 -0
- package/dist/components/ui/rich-text-editor/index.js.map +1 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.cjs +294 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.cjs.map +1 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.d.cts +13 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.d.ts +13 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.js +274 -0
- package/dist/components/ui/rich-text-editor/rich-text-editor.js.map +1 -0
- package/dist/components/ui/scroll-area/index.cjs +23 -0
- package/dist/components/ui/scroll-area/index.cjs.map +1 -0
- package/dist/components/ui/scroll-area/index.d.cts +3 -0
- package/dist/components/ui/scroll-area/index.d.ts +3 -0
- package/dist/components/ui/scroll-area/index.js +2 -0
- package/dist/components/ui/scroll-area/index.js.map +1 -0
- package/dist/components/ui/scroll-area/scroll-area.cjs +75 -0
- package/dist/components/ui/scroll-area/scroll-area.cjs.map +1 -0
- package/dist/components/ui/scroll-area/scroll-area.d.cts +7 -0
- package/dist/components/ui/scroll-area/scroll-area.d.ts +7 -0
- package/dist/components/ui/scroll-area/scroll-area.js +40 -0
- package/dist/components/ui/scroll-area/scroll-area.js.map +1 -0
- package/dist/components/ui/section-loader/index.cjs +23 -0
- package/dist/components/ui/section-loader/index.cjs.map +1 -0
- package/dist/components/ui/section-loader/index.d.cts +2 -0
- package/dist/components/ui/section-loader/index.d.ts +2 -0
- package/dist/components/ui/section-loader/index.js +2 -0
- package/dist/components/ui/section-loader/index.js.map +1 -0
- package/dist/components/ui/section-loader/section-loader.cjs +75 -0
- package/dist/components/ui/section-loader/section-loader.cjs.map +1 -0
- package/dist/components/ui/section-loader/section-loader.d.cts +16 -0
- package/dist/components/ui/section-loader/section-loader.d.ts +16 -0
- package/dist/components/ui/section-loader/section-loader.js +50 -0
- package/dist/components/ui/section-loader/section-loader.js.map +1 -0
- package/dist/components/ui/select/index.cjs +23 -0
- package/dist/components/ui/select/index.cjs.map +1 -0
- package/dist/components/ui/select/index.d.cts +4 -0
- package/dist/components/ui/select/index.d.ts +4 -0
- package/dist/components/ui/select/index.js +2 -0
- package/dist/components/ui/select/index.js.map +1 -0
- package/dist/components/ui/select/select.cjs +217 -0
- package/dist/components/ui/select/select.cjs.map +1 -0
- package/dist/components/ui/select/select.d.cts +18 -0
- package/dist/components/ui/select/select.d.ts +18 -0
- package/dist/components/ui/select/select.js +174 -0
- package/dist/components/ui/select/select.js.map +1 -0
- package/dist/components/ui/separator/index.cjs +23 -0
- package/dist/components/ui/separator/index.cjs.map +1 -0
- package/dist/components/ui/separator/index.d.cts +3 -0
- package/dist/components/ui/separator/index.d.ts +3 -0
- package/dist/components/ui/separator/index.js +2 -0
- package/dist/components/ui/separator/index.js.map +1 -0
- package/dist/components/ui/separator/separator.cjs +60 -0
- package/dist/components/ui/separator/separator.cjs.map +1 -0
- package/dist/components/ui/separator/separator.d.cts +6 -0
- package/dist/components/ui/separator/separator.d.ts +6 -0
- package/dist/components/ui/separator/separator.js +26 -0
- package/dist/components/ui/separator/separator.js.map +1 -0
- package/dist/components/ui/sheet/index.cjs +23 -0
- package/dist/components/ui/sheet/index.cjs.map +1 -0
- package/dist/components/ui/sheet/index.d.cts +6 -0
- package/dist/components/ui/sheet/index.d.ts +6 -0
- package/dist/components/ui/sheet/index.js +2 -0
- package/dist/components/ui/sheet/index.js.map +1 -0
- package/dist/components/ui/sheet/sheet.cjs +195 -0
- package/dist/components/ui/sheet/sheet.cjs.map +1 -0
- package/dist/components/ui/sheet/sheet.d.cts +21 -0
- package/dist/components/ui/sheet/sheet.d.ts +21 -0
- package/dist/components/ui/sheet/sheet.js +154 -0
- package/dist/components/ui/sheet/sheet.js.map +1 -0
- package/dist/components/ui/skeleton/index.cjs +23 -0
- package/dist/components/ui/skeleton/index.cjs.map +1 -0
- package/dist/components/ui/skeleton/index.d.cts +3 -0
- package/dist/components/ui/skeleton/index.d.ts +3 -0
- package/dist/components/ui/skeleton/index.js +2 -0
- package/dist/components/ui/skeleton/index.js.map +1 -0
- package/dist/components/ui/skeleton/skeleton.cjs +42 -0
- package/dist/components/ui/skeleton/skeleton.cjs.map +1 -0
- package/dist/components/ui/skeleton/skeleton.d.cts +6 -0
- package/dist/components/ui/skeleton/skeleton.d.ts +6 -0
- package/dist/components/ui/skeleton/skeleton.js +18 -0
- package/dist/components/ui/skeleton/skeleton.js.map +1 -0
- package/dist/components/ui/slider/index.cjs +23 -0
- package/dist/components/ui/slider/index.cjs.map +1 -0
- package/dist/components/ui/slider/index.d.cts +4 -0
- package/dist/components/ui/slider/index.d.ts +4 -0
- package/dist/components/ui/slider/index.js +2 -0
- package/dist/components/ui/slider/index.js.map +1 -0
- package/dist/components/ui/slider/slider.cjs +73 -0
- package/dist/components/ui/slider/slider.cjs.map +1 -0
- package/dist/components/ui/slider/slider.d.cts +7 -0
- package/dist/components/ui/slider/slider.d.ts +7 -0
- package/dist/components/ui/slider/slider.js +39 -0
- package/dist/components/ui/slider/slider.js.map +1 -0
- package/dist/components/ui/sonner/index.cjs +23 -0
- package/dist/components/ui/sonner/index.cjs.map +1 -0
- package/dist/components/ui/sonner/index.d.cts +3 -0
- package/dist/components/ui/sonner/index.d.ts +3 -0
- package/dist/components/ui/sonner/index.js +2 -0
- package/dist/components/ui/sonner/index.js.map +1 -0
- package/dist/components/ui/sonner/sonner.cjs +45 -0
- package/dist/components/ui/sonner/sonner.cjs.map +1 -0
- package/dist/components/ui/sonner/sonner.d.cts +6 -0
- package/dist/components/ui/sonner/sonner.d.ts +6 -0
- package/dist/components/ui/sonner/sonner.js +21 -0
- package/dist/components/ui/sonner/sonner.js.map +1 -0
- package/dist/components/ui/spinner/index.cjs +23 -0
- package/dist/components/ui/spinner/index.cjs.map +1 -0
- package/dist/components/ui/spinner/index.d.cts +2 -0
- package/dist/components/ui/spinner/index.d.ts +2 -0
- package/dist/components/ui/spinner/index.js +2 -0
- package/dist/components/ui/spinner/index.js.map +1 -0
- package/dist/components/ui/spinner/spinner.cjs +35 -0
- package/dist/components/ui/spinner/spinner.cjs.map +1 -0
- package/dist/components/ui/spinner/spinner.d.cts +5 -0
- package/dist/components/ui/spinner/spinner.d.ts +5 -0
- package/dist/components/ui/spinner/spinner.js +11 -0
- package/dist/components/ui/spinner/spinner.js.map +1 -0
- package/dist/components/ui/switch/index.cjs +23 -0
- package/dist/components/ui/switch/index.cjs.map +1 -0
- package/dist/components/ui/switch/index.d.cts +3 -0
- package/dist/components/ui/switch/index.d.ts +3 -0
- package/dist/components/ui/switch/index.js +2 -0
- package/dist/components/ui/switch/index.js.map +1 -0
- package/dist/components/ui/switch/switch.cjs +63 -0
- package/dist/components/ui/switch/switch.cjs.map +1 -0
- package/dist/components/ui/switch/switch.d.cts +6 -0
- package/dist/components/ui/switch/switch.d.ts +6 -0
- package/dist/components/ui/switch/switch.js +29 -0
- package/dist/components/ui/switch/switch.js.map +1 -0
- package/dist/components/ui/table/index.cjs +23 -0
- package/dist/components/ui/table/index.cjs.map +1 -0
- package/dist/components/ui/table/index.d.cts +3 -0
- package/dist/components/ui/table/index.d.ts +3 -0
- package/dist/components/ui/table/index.js +2 -0
- package/dist/components/ui/table/index.js.map +1 -0
- package/dist/components/ui/table/table.cjs +145 -0
- package/dist/components/ui/table/table.cjs.map +1 -0
- package/dist/components/ui/table/table.d.cts +13 -0
- package/dist/components/ui/table/table.d.ts +13 -0
- package/dist/components/ui/table/table.js +114 -0
- package/dist/components/ui/table/table.js.map +1 -0
- package/dist/components/ui/tabs/index.cjs +23 -0
- package/dist/components/ui/tabs/index.cjs.map +1 -0
- package/dist/components/ui/tabs/index.d.cts +3 -0
- package/dist/components/ui/tabs/index.d.ts +3 -0
- package/dist/components/ui/tabs/index.js +2 -0
- package/dist/components/ui/tabs/index.js.map +1 -0
- package/dist/components/ui/tabs/tabs.cjs +86 -0
- package/dist/components/ui/tabs/tabs.cjs.map +1 -0
- package/dist/components/ui/tabs/tabs.d.cts +9 -0
- package/dist/components/ui/tabs/tabs.d.ts +9 -0
- package/dist/components/ui/tabs/tabs.js +49 -0
- package/dist/components/ui/tabs/tabs.js.map +1 -0
- package/dist/components/ui/tag-input/index.cjs +23 -0
- package/dist/components/ui/tag-input/index.cjs.map +1 -0
- package/dist/components/ui/tag-input/index.d.cts +2 -0
- package/dist/components/ui/tag-input/index.d.ts +2 -0
- package/dist/components/ui/tag-input/index.js +2 -0
- package/dist/components/ui/tag-input/index.js.map +1 -0
- package/dist/components/ui/tag-input/tag-input.cjs +121 -0
- package/dist/components/ui/tag-input/tag-input.cjs.map +1 -0
- package/dist/components/ui/tag-input/tag-input.d.cts +12 -0
- package/dist/components/ui/tag-input/tag-input.d.ts +12 -0
- package/dist/components/ui/tag-input/tag-input.js +87 -0
- package/dist/components/ui/tag-input/tag-input.js.map +1 -0
- package/dist/components/ui/textarea/index.cjs +23 -0
- package/dist/components/ui/textarea/index.cjs.map +1 -0
- package/dist/components/ui/textarea/index.d.cts +3 -0
- package/dist/components/ui/textarea/index.d.ts +3 -0
- package/dist/components/ui/textarea/index.js +2 -0
- package/dist/components/ui/textarea/index.js.map +1 -0
- package/dist/components/ui/textarea/textarea.cjs +46 -0
- package/dist/components/ui/textarea/textarea.cjs.map +1 -0
- package/dist/components/ui/textarea/textarea.d.cts +6 -0
- package/dist/components/ui/textarea/textarea.d.ts +6 -0
- package/dist/components/ui/textarea/textarea.js +22 -0
- package/dist/components/ui/textarea/textarea.js.map +1 -0
- package/dist/components/ui/toast/index.cjs +23 -0
- package/dist/components/ui/toast/index.cjs.map +1 -0
- package/dist/components/ui/toast/index.d.cts +6 -0
- package/dist/components/ui/toast/index.d.ts +6 -0
- package/dist/components/ui/toast/index.js +2 -0
- package/dist/components/ui/toast/index.js.map +1 -0
- package/dist/components/ui/toast/toast.cjs +163 -0
- package/dist/components/ui/toast/toast.cjs.map +1 -0
- package/dist/components/ui/toast/toast.d.cts +20 -0
- package/dist/components/ui/toast/toast.d.ts +20 -0
- package/dist/components/ui/toast/toast.js +122 -0
- package/dist/components/ui/toast/toast.js.map +1 -0
- package/dist/components/ui/toggle/index.cjs +23 -0
- package/dist/components/ui/toggle/index.cjs.map +1 -0
- package/dist/components/ui/toggle/index.d.cts +6 -0
- package/dist/components/ui/toggle/index.d.ts +6 -0
- package/dist/components/ui/toggle/index.js +2 -0
- package/dist/components/ui/toggle/index.js.map +1 -0
- package/dist/components/ui/toggle/toggle.cjs +80 -0
- package/dist/components/ui/toggle/toggle.cjs.map +1 -0
- package/dist/components/ui/toggle/toggle.d.cts +13 -0
- package/dist/components/ui/toggle/toggle.d.ts +13 -0
- package/dist/components/ui/toggle/toggle.js +45 -0
- package/dist/components/ui/toggle/toggle.js.map +1 -0
- package/dist/components/ui/toggle-group/index.cjs +23 -0
- package/dist/components/ui/toggle-group/index.cjs.map +1 -0
- package/dist/components/ui/toggle-group/index.d.cts +8 -0
- package/dist/components/ui/toggle-group/index.d.ts +8 -0
- package/dist/components/ui/toggle-group/index.js +2 -0
- package/dist/components/ui/toggle-group/index.js.map +1 -0
- package/dist/components/ui/toggle-group/toggle-group.cjs +94 -0
- package/dist/components/ui/toggle-group/toggle-group.cjs.map +1 -0
- package/dist/components/ui/toggle-group/toggle-group.d.cts +12 -0
- package/dist/components/ui/toggle-group/toggle-group.d.ts +12 -0
- package/dist/components/ui/toggle-group/toggle-group.js +59 -0
- package/dist/components/ui/toggle-group/toggle-group.js.map +1 -0
- package/dist/components/ui/tooltip/index.cjs +23 -0
- package/dist/components/ui/tooltip/index.cjs.map +1 -0
- package/dist/components/ui/tooltip/index.d.cts +3 -0
- package/dist/components/ui/tooltip/index.d.ts +3 -0
- package/dist/components/ui/tooltip/index.js +2 -0
- package/dist/components/ui/tooltip/index.js.map +1 -0
- package/dist/components/ui/tooltip/tooltip.cjs +65 -0
- package/dist/components/ui/tooltip/tooltip.cjs.map +1 -0
- package/dist/components/ui/tooltip/tooltip.d.cts +9 -0
- package/dist/components/ui/tooltip/tooltip.d.ts +9 -0
- package/dist/components/ui/tooltip/tooltip.js +28 -0
- package/dist/components/ui/tooltip/tooltip.js.map +1 -0
- package/dist/constants/index.cjs +189 -0
- package/dist/constants/index.cjs.map +1 -0
- package/dist/constants/index.d.cts +155 -0
- package/dist/constants/index.d.ts +155 -0
- package/dist/constants/index.js +152 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/icons.cjs +23 -0
- package/dist/icons.cjs.map +1 -0
- package/dist/icons.d.cts +1 -0
- package/dist/icons.d.ts +1 -0
- package/dist/icons.js +2 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.cjs +51 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +107 -0
- package/dist/index.d.ts +107 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.cjs +33 -0
- package/dist/lib/utils.cjs.map +1 -0
- package/dist/lib/utils.d.cts +12 -0
- package/dist/lib/utils.d.ts +12 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/tokens/colors.cjs +146 -0
- package/dist/tokens/colors.cjs.map +1 -0
- package/dist/tokens/colors.d.cts +118 -0
- package/dist/tokens/colors.d.ts +118 -0
- package/dist/tokens/colors.js +121 -0
- package/dist/tokens/colors.js.map +1 -0
- package/dist/tokens/index.cjs +41 -0
- package/dist/tokens/index.cjs.map +1 -0
- package/dist/tokens/index.d.cts +3 -0
- package/dist/tokens/index.d.ts +3 -0
- package/dist/tokens/index.js +12 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/spacing.cjs +45 -0
- package/dist/tokens/spacing.cjs.map +1 -0
- package/dist/tokens/spacing.d.cts +17 -0
- package/dist/tokens/spacing.d.ts +17 -0
- package/dist/tokens/spacing.js +20 -0
- package/dist/tokens/spacing.js.map +1 -0
- package/dist/tokens/typography.cjs +39 -0
- package/dist/tokens/typography.cjs.map +1 -0
- package/dist/tokens/typography.d.cts +11 -0
- package/dist/tokens/typography.d.ts +11 -0
- package/dist/tokens/typography.js +14 -0
- package/dist/tokens/typography.js.map +1 -0
- package/package.json +141 -0
- package/src/styles/theme.css +127 -0
- package/src/tokens/colors.ts +117 -0
- package/src/tokens/index.ts +3 -0
- package/src/tokens/spacing.ts +16 -0
- package/src/tokens/typography.ts +10 -0
- package/tailwind.preset.js +139 -0
package/AGENTS.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# @ginia/ui — AI Agent Context
|
|
2
|
+
|
|
3
|
+
> Quick-start reference for AI coding assistants using this library.
|
|
4
|
+
> For detailed component docs, props, and live examples, see the resources below.
|
|
5
|
+
|
|
6
|
+
## 📖 Full Documentation
|
|
7
|
+
|
|
8
|
+
- **Storybook (live)**: <https://ginia-ui.vercel.app>
|
|
9
|
+
- **Component index (machine-readable)**: <https://ginia-ui.vercel.app/llms.txt>
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Setup (in a consumer project)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pnpm add @ginia/ui
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
// tailwind.config.ts
|
|
21
|
+
import giniaPreset from "@ginia/ui/preset";
|
|
22
|
+
export default {
|
|
23
|
+
presets: [giniaPreset],
|
|
24
|
+
content: ["./src/**/*.{ts,tsx}", "./node_modules/@ginia/ui/dist/**/*.{js,mjs}"],
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```css
|
|
29
|
+
/* globals.css */
|
|
30
|
+
@import "@ginia/ui/styles";
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```tsx
|
|
34
|
+
// Import components
|
|
35
|
+
import { Button, Card, Input, Dialog } from "@ginia/ui";
|
|
36
|
+
|
|
37
|
+
// Import design tokens
|
|
38
|
+
import { colors, fontFamily } from "@ginia/ui/tokens";
|
|
39
|
+
|
|
40
|
+
// Import icons
|
|
41
|
+
import { Search, User } from "@ginia/ui/icons";
|
|
42
|
+
|
|
43
|
+
// Import utility
|
|
44
|
+
import { cn } from "@ginia/ui";
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Package Exports
|
|
48
|
+
|
|
49
|
+
| Import | Contents |
|
|
50
|
+
| ------------------ | ----------------------------------------------------------------------------- |
|
|
51
|
+
| `@ginia/ui` | All components, types, and `cn()` |
|
|
52
|
+
| `@ginia/ui/tokens` | `colors`, `colorsDark`, `fontFamily`, `fontWeight`, `borderRadius`, `shadows` |
|
|
53
|
+
| `@ginia/ui/styles` | `theme.css` — CSS variables |
|
|
54
|
+
| `@ginia/ui/preset` | Shared Tailwind config |
|
|
55
|
+
| `@ginia/ui/icons` | All icons re-exported from `lucide-react` |
|
|
56
|
+
|
|
57
|
+
## Conventions
|
|
58
|
+
|
|
59
|
+
1. **Always import from `@ginia/ui`** — never from deep paths.
|
|
60
|
+
2. **Use `cn()`** for conditional/merged Tailwind classes.
|
|
61
|
+
3. **Use semantic tokens** (`bg-primary`, `text-destructive`) — never hardcode hex values.
|
|
62
|
+
4. **UI text may be in Spanish** (Ginia operates in Latin America).
|
|
63
|
+
5. **Components are `"use client"`** — wrap accordingly in Next.js App Router.
|
|
64
|
+
6. **Composed APIs**: `Select`, `Dialog`, `Sheet`, `Accordion`, etc. use multi-part patterns (e.g., `<Select>` + `<SelectTrigger>` + `<SelectContent>` + `<SelectItem>`). Check the Storybook for the exact composition pattern of each component.
|
|
65
|
+
7. **Icons**: Icons are re-exported from `lucide-react` and should be imported from `@ginia/ui/icons`. For consistent sizing and accessibility, prefer using the `<Icon />` component from `@ginia/ui`.
|
|
66
|
+
8. **No business logic** in components — they are purely presentational.
|
package/README.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# Ginia Design System (`@ginia/ui`)
|
|
2
|
+
|
|
3
|
+
> Unified UI component library for all Ginia hubs to accelerate development and guarantee brand consistency.
|
|
4
|
+
|
|
5
|
+
## 🚀 Overview
|
|
6
|
+
|
|
7
|
+
The **Ginia Design System** provides a single source of truth for visual consistency, development efficiency, and brand trust across all Ginia hubs. It is built on top of [Radix UI](https://www.radix-ui.com/) and [Tailwind CSS](https://tailwindcss.com/).
|
|
8
|
+
|
|
9
|
+
🤖 **For AI Agents & Detailed Integration:** Please refer to the [AGENTS.md](./AGENTS.md) file for comprehensive agent context, package exports, conventions, and configuration steps.
|
|
10
|
+
|
|
11
|
+
## 📖 Documentation
|
|
12
|
+
|
|
13
|
+
- **Storybook (live)**: <https://ginia-ui.vercel.app>
|
|
14
|
+
- **Component index**: <https://ginia-ui.vercel.app/llms.txt>
|
|
15
|
+
|
|
16
|
+
## 📦 Installation & Setup
|
|
17
|
+
|
|
18
|
+
### 1. Install the Package
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pnpm add @ginia/ui
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### 2. Configure Tailwind Preset
|
|
25
|
+
|
|
26
|
+
In your consumer project's `tailwind.config.ts`:
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import type { Config } from "tailwindcss";
|
|
30
|
+
import giniaPreset from "@ginia/ui/preset";
|
|
31
|
+
|
|
32
|
+
const config: Config = {
|
|
33
|
+
presets: [giniaPreset],
|
|
34
|
+
content: [
|
|
35
|
+
"./src/**/*.{ts,tsx}",
|
|
36
|
+
"./node_modules/@ginia/ui/dist/**/*.{js,mjs}", // Crucial for scanning UI classes
|
|
37
|
+
],
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export default config;
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 3. Import Global Styles
|
|
44
|
+
|
|
45
|
+
In your `globals.css` or layout root:
|
|
46
|
+
|
|
47
|
+
```css
|
|
48
|
+
@import "@ginia/ui/styles";
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 4. Basic Usage
|
|
52
|
+
|
|
53
|
+
```tsx
|
|
54
|
+
// 1. Components & Utilities
|
|
55
|
+
import { Button, Card, Input, cn } from "@ginia/ui";
|
|
56
|
+
|
|
57
|
+
// 2. Icons (from lucide-react)
|
|
58
|
+
import { Search, User } from "@ginia/ui/icons";
|
|
59
|
+
|
|
60
|
+
// 3. Design Tokens
|
|
61
|
+
import { colors, fontFamily } from "@ginia/ui/tokens";
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## 🛠️ Local Development
|
|
65
|
+
|
|
66
|
+
Prerequisites: **Node.js** ≥ 18 and **pnpm** ≥ 8
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
# Install dependencies
|
|
70
|
+
pnpm install
|
|
71
|
+
|
|
72
|
+
# Start Storybook (Development Mode)
|
|
73
|
+
pnpm storybook
|
|
74
|
+
|
|
75
|
+
# Build the library to dist/
|
|
76
|
+
pnpm build
|
|
77
|
+
|
|
78
|
+
# Watch mode (useful when linking to a hub)
|
|
79
|
+
pnpm dev
|
|
80
|
+
|
|
81
|
+
# Type check
|
|
82
|
+
pnpm typecheck
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## 🧩 Adding a Component
|
|
86
|
+
|
|
87
|
+
We use `shadcn/ui` conventions for base UI primitives:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
npx shadcn@latest add <component-name>
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
For custom or domain components, create them under `src/components/ui/` or `src/components/domain/` following the existing structure (component file, barrel `index.ts`, and `.stories.tsx`).
|
|
94
|
+
|
|
95
|
+
## 🔗 Local Development with a Hub
|
|
96
|
+
|
|
97
|
+
To test local changes in a hub project without publishing:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# 1. In ginia-ui: build in watch mode
|
|
101
|
+
pnpm dev
|
|
102
|
+
|
|
103
|
+
# 2. In your hub project: link the local package
|
|
104
|
+
pnpm link ../ginia-ui
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## 🚢 Publishing
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# Verify and build
|
|
111
|
+
pnpm clean && pnpm build && pnpm typecheck && pnpm build-storybook
|
|
112
|
+
|
|
113
|
+
# Bump the Version
|
|
114
|
+
Follow [Semantic Versioning](https://semver.org/):
|
|
115
|
+
|
|
116
|
+
## Patch release (bug fixes): 0.1.0 → 0.1.1
|
|
117
|
+
npm version patch
|
|
118
|
+
|
|
119
|
+
## Minor release (new features, non-breaking): 0.1.0 → 0.2.0
|
|
120
|
+
npm version minor
|
|
121
|
+
|
|
122
|
+
## Major release (breaking changes): 0.1.0 → 1.0.0
|
|
123
|
+
npm version major
|
|
124
|
+
|
|
125
|
+
# Commit and push
|
|
126
|
+
git add .
|
|
127
|
+
git commit -m "chore: release v0.2.0"
|
|
128
|
+
git push --follow-tags
|
|
129
|
+
|
|
130
|
+
# Publish
|
|
131
|
+
npm publish --access public --otp=<YOUR_OTP_CODE>
|
|
132
|
+
|
|
133
|
+
# Update the dependency in consumer projects
|
|
134
|
+
pnpm update @ginia/ui
|
|
135
|
+
```
|
|
@@ -0,0 +1,23 @@
|
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var domain_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(domain_exports);
|
|
18
|
+
__reExport(domain_exports, require("./resume"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./resume")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/domain/index.ts"],"sourcesContent":["export * from \"./resume\";\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,2BAAc,qBAAd;","names":[]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Action, CVActivityItem, CVCertificationItem, CVDocumentItem, CVEducationItem, CVExperienceBaseItem, CVExperienceItem, CVSkillItem, CandidateProfile, CertificationWithAction, DocumentWithAction, ExperienceWithAction, ResumeAward, ResumeEducation, ResumeExperience, ResumeMenuSlot, ResumeProps, ResumeSavePayload, ResumeSkill, SkillWithAction } from './resume/types.cjs';
|
|
2
|
+
export { Resume } from './resume/resume.cjs';
|
|
3
|
+
export { ResumeEditor, ResumeEditorProps } from './resume/resume-editor/resume-editor.cjs';
|
|
4
|
+
export { ResumePreview, ResumePreviewProps } from './resume/resume-preview/resume-preview.cjs';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'react/jsx-runtime';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Action, CVActivityItem, CVCertificationItem, CVDocumentItem, CVEducationItem, CVExperienceBaseItem, CVExperienceItem, CVSkillItem, CandidateProfile, CertificationWithAction, DocumentWithAction, ExperienceWithAction, ResumeAward, ResumeEducation, ResumeExperience, ResumeMenuSlot, ResumeProps, ResumeSavePayload, ResumeSkill, SkillWithAction } from './resume/types.js';
|
|
2
|
+
export { Resume } from './resume/resume.js';
|
|
3
|
+
export { ResumeEditor, ResumeEditorProps } from './resume/resume-editor/resume-editor.js';
|
|
4
|
+
export { ResumePreview, ResumePreviewProps } from './resume/resume-preview/resume-preview.js';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'react/jsx-runtime';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/domain/index.ts"],"sourcesContent":["export * from \"./resume\";\n"],"mappings":"AAAA,cAAc;","names":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var resume_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(resume_exports);
|
|
18
|
+
__reExport(resume_exports, require("./types"), module.exports);
|
|
19
|
+
__reExport(resume_exports, require("./resume"), module.exports);
|
|
20
|
+
__reExport(resume_exports, require("./resume-editor/resume-editor"), module.exports);
|
|
21
|
+
__reExport(resume_exports, require("./resume-preview/resume-preview"), module.exports);
|
|
22
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
23
|
+
0 && (module.exports = {
|
|
24
|
+
...require("./types"),
|
|
25
|
+
...require("./resume"),
|
|
26
|
+
...require("./resume-editor/resume-editor"),
|
|
27
|
+
...require("./resume-preview/resume-preview")
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/domain/resume/index.ts"],"sourcesContent":["export * from \"./types\";\nexport * from \"./resume\";\nexport * from \"./resume-editor/resume-editor\";\nexport * from \"./resume-preview/resume-preview\";\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,2BAAc,oBAAd;AACA,2BAAc,qBADd;AAEA,2BAAc,0CAFd;AAGA,2BAAc,4CAHd;","names":[]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Action, CVActivityItem, CVCertificationItem, CVDocumentItem, CVEducationItem, CVExperienceBaseItem, CVExperienceItem, CVSkillItem, CandidateProfile, CertificationWithAction, DocumentWithAction, ExperienceWithAction, ResumeAward, ResumeEducation, ResumeExperience, ResumeMenuSlot, ResumeProps, ResumeSavePayload, ResumeSkill, SkillWithAction } from './types.cjs';
|
|
2
|
+
export { Resume } from './resume.cjs';
|
|
3
|
+
export { ResumeEditor, ResumeEditorProps } from './resume-editor/resume-editor.cjs';
|
|
4
|
+
export { ResumePreview, ResumePreviewProps } from './resume-preview/resume-preview.cjs';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'react/jsx-runtime';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Action, CVActivityItem, CVCertificationItem, CVDocumentItem, CVEducationItem, CVExperienceBaseItem, CVExperienceItem, CVSkillItem, CandidateProfile, CertificationWithAction, DocumentWithAction, ExperienceWithAction, ResumeAward, ResumeEducation, ResumeExperience, ResumeMenuSlot, ResumeProps, ResumeSavePayload, ResumeSkill, SkillWithAction } from './types.js';
|
|
2
|
+
export { Resume } from './resume.js';
|
|
3
|
+
export { ResumeEditor, ResumeEditorProps } from './resume-editor/resume-editor.js';
|
|
4
|
+
export { ResumePreview, ResumePreviewProps } from './resume-preview/resume-preview.js';
|
|
5
|
+
import 'react';
|
|
6
|
+
import 'react/jsx-runtime';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/domain/resume/index.ts"],"sourcesContent":["export * from \"./types\";\nexport * from \"./resume\";\nexport * from \"./resume-editor/resume-editor\";\nexport * from \"./resume-preview/resume-preview\";\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -0,0 +1,137 @@
|
|
|
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 resume_editor_exports = {};
|
|
20
|
+
__export(resume_editor_exports, {
|
|
21
|
+
ResumeEditor: () => ResumeEditor
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(resume_editor_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_accordion = require("../../../ui/accordion");
|
|
26
|
+
var import_personal_info = require("./sections/personal-info");
|
|
27
|
+
var import_academic_info = require("./sections/academic-info");
|
|
28
|
+
var import_education = require("./sections/education");
|
|
29
|
+
var import_experience = require("./sections/experience");
|
|
30
|
+
var import_activities = require("./sections/activities");
|
|
31
|
+
var import_skills = require("./sections/skills");
|
|
32
|
+
var import_certifications = require("./sections/certifications");
|
|
33
|
+
var import_requirements = require("./sections/requirements");
|
|
34
|
+
var import_preferences = require("./sections/preferences");
|
|
35
|
+
var import_ui = require("../../../ui");
|
|
36
|
+
function ResumeEditor({
|
|
37
|
+
data,
|
|
38
|
+
onChange,
|
|
39
|
+
hideFields = [],
|
|
40
|
+
hideSections = [],
|
|
41
|
+
menuSlot = [],
|
|
42
|
+
theme
|
|
43
|
+
}) {
|
|
44
|
+
const handleSectionChange = (partial) => {
|
|
45
|
+
if (onChange) {
|
|
46
|
+
onChange({ ...data, ...partial });
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const coreSections = [
|
|
50
|
+
{
|
|
51
|
+
id: "personal-info",
|
|
52
|
+
title: "Informaci\xF3n personal",
|
|
53
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_personal_info.PersonalInfo, { data, onChange: handleSectionChange, hideFields })
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "academic-info",
|
|
57
|
+
title: "Informaci\xF3n Acad\xE9mica",
|
|
58
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_academic_info.AcademicInfo, { data, onChange: handleSectionChange, hideFields })
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: "education",
|
|
62
|
+
title: "Educaci\xF3n",
|
|
63
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_education.EducationSection, { data, onChange: handleSectionChange, hideFields })
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: "experience",
|
|
67
|
+
title: "Experiencia laboral",
|
|
68
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_experience.ExperienceSection, { data, onChange: handleSectionChange, hideFields })
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "activities",
|
|
72
|
+
title: "Actividades y Logros",
|
|
73
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_activities.ActivitiesSection, { data, onChange: handleSectionChange, hideFields })
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: "skills",
|
|
77
|
+
title: "Habilidades",
|
|
78
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skills.SkillsSection, { data, onChange: handleSectionChange, hideFields })
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: "certifications",
|
|
82
|
+
title: "Certificaciones",
|
|
83
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_certifications.CertificationsSection, { data, onChange: handleSectionChange, hideFields, theme })
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: "requirements",
|
|
87
|
+
title: "Requisitos laborales",
|
|
88
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_requirements.RequirementsSection, { data, onChange: handleSectionChange, hideFields })
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: "preferences",
|
|
92
|
+
title: "Preferencias",
|
|
93
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_preferences.PreferencesSection, { data, onChange: handleSectionChange, hideFields })
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
id: "notes",
|
|
97
|
+
title: "Notas",
|
|
98
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-2", children: [
|
|
99
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ui.Label, { children: "Notas internas" }),
|
|
100
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
101
|
+
import_ui.Textarea,
|
|
102
|
+
{
|
|
103
|
+
rows: 5,
|
|
104
|
+
placeholder: "Notas visibles solo para administradores...",
|
|
105
|
+
value: data.advanced?.notes || "",
|
|
106
|
+
onChange: (e) => handleSectionChange({ advanced: { ...data.advanced, notes: e.target.value } })
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] })
|
|
110
|
+
}
|
|
111
|
+
];
|
|
112
|
+
const allSections = [
|
|
113
|
+
...coreSections.filter((section) => !hideSections.includes(section.title)),
|
|
114
|
+
...menuSlot.map((slot, idx) => ({
|
|
115
|
+
id: `slot-${idx}`,
|
|
116
|
+
title: slot.title,
|
|
117
|
+
content: slot.node
|
|
118
|
+
}))
|
|
119
|
+
];
|
|
120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-full flex items-start flex-col gap-4", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_accordion.Accordion, { type: "single", collapsible: true, className: "w-full", children: allSections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
121
|
+
import_accordion.AccordionItem,
|
|
122
|
+
{
|
|
123
|
+
value: section.id,
|
|
124
|
+
className: "border-b border-border/40 px-2 data-[state=open]:border-l-2 data-[state=open]:border-l-secondary data-[state=open]:pl-3 transition-all",
|
|
125
|
+
children: [
|
|
126
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_accordion.AccordionTrigger, { className: "text-md font-medium data-[state=open]:text-primary data-[state=open]:font-semibold transition-all", children: section.title }),
|
|
127
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_accordion.AccordionContent, { className: "pt-2 pb-3", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "bg-card px-2", children: section.content }) })
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
section.id
|
|
131
|
+
)) }) });
|
|
132
|
+
}
|
|
133
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
134
|
+
0 && (module.exports = {
|
|
135
|
+
ResumeEditor
|
|
136
|
+
});
|
|
137
|
+
//# sourceMappingURL=resume-editor.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/domain/resume/resume-editor/resume-editor.tsx"],"sourcesContent":["import { CandidateProfile, ResumeMenuSlot } from \"../types\";\nimport { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from \"../../../ui/accordion\";\nimport { PersonalInfo } from \"./sections/personal-info\";\nimport { AcademicInfo } from \"./sections/academic-info\";\nimport { EducationSection } from \"./sections/education\";\nimport { ExperienceSection } from \"./sections/experience\";\nimport { ActivitiesSection } from \"./sections/activities\";\nimport { SkillsSection } from \"./sections/skills\";\nimport { CertificationsSection } from \"./sections/certifications\";\nimport { RequirementsSection } from \"./sections/requirements\";\nimport { PreferencesSection } from \"./sections/preferences\";\nimport { Label, Textarea } from \"../../../ui\";\n\nexport interface ResumeEditorProps {\n data: CandidateProfile;\n onChange?: (data: CandidateProfile) => void;\n hideFields?: string[];\n hideSections?: string[];\n menuSlot?: ResumeMenuSlot[];\n theme?: string;\n}\n\nexport function ResumeEditor({\n data,\n onChange,\n hideFields = [],\n hideSections = [],\n menuSlot = [],\n theme\n}: ResumeEditorProps) {\n const handleSectionChange = (partial: Partial<CandidateProfile>) => {\n if (onChange) {\n onChange({ ...data, ...partial });\n }\n };\n\n const coreSections = [\n {\n id: \"personal-info\",\n title: \"Información personal\",\n content: <PersonalInfo data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"academic-info\",\n title: \"Información Académica\",\n content: <AcademicInfo data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"education\",\n title: \"Educación\",\n content: <EducationSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"experience\",\n title: \"Experiencia laboral\",\n content: <ExperienceSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"activities\",\n title: \"Actividades y Logros\",\n content: <ActivitiesSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"skills\",\n title: \"Habilidades\",\n content: <SkillsSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"certifications\",\n title: \"Certificaciones\",\n content: <CertificationsSection data={data} onChange={handleSectionChange} hideFields={hideFields} theme={theme} />\n },\n {\n id: \"requirements\",\n title: \"Requisitos laborales\",\n content: <RequirementsSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"preferences\",\n title: \"Preferencias\",\n content: <PreferencesSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"notes\",\n title: \"Notas\",\n content: (\n <div className=\"space-y-2\">\n <Label>Notas internas</Label>\n <Textarea\n rows={5}\n placeholder=\"Notas visibles solo para administradores...\"\n value={data.advanced?.notes || \"\"}\n onChange={(e) => handleSectionChange({ advanced: { ...data.advanced, notes: e.target.value } })}\n />\n </div>\n )\n }\n ];\n\n const allSections = [\n ...coreSections.filter(section => !hideSections.includes(section.title)),\n ...menuSlot.map((slot, idx) => ({\n id: `slot-${idx}`,\n title: slot.title,\n content: slot.node\n }))\n ];\n\n return (\n <div className=\"w-full flex items-start flex-col gap-4\">\n <Accordion type=\"single\" collapsible className=\"w-full\">\n {allSections.map((section) => (\n <AccordionItem\n key={section.id}\n value={section.id}\n className=\"border-b border-border/40 px-2 data-[state=open]:border-l-2 data-[state=open]:border-l-secondary data-[state=open]:pl-3 transition-all\"\n >\n <AccordionTrigger className=\"text-md font-medium data-[state=open]:text-primary data-[state=open]:font-semibold transition-all\">\n {section.title}\n </AccordionTrigger>\n <AccordionContent className=\"pt-2 pb-3\">\n <div className=\"bg-card px-2\">\n {section.content}\n </div>\n </AccordionContent>\n </AccordionItem>\n ))}\n </Accordion>\n </div>\n );\n}\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { CandidateProfile, ResumeMenuSlot } from '../types.cjs';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
interface ResumeEditorProps {
|
|
6
|
+
data: CandidateProfile;
|
|
7
|
+
onChange?: (data: CandidateProfile) => void;
|
|
8
|
+
hideFields?: string[];
|
|
9
|
+
hideSections?: string[];
|
|
10
|
+
menuSlot?: ResumeMenuSlot[];
|
|
11
|
+
theme?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function ResumeEditor({ data, onChange, hideFields, hideSections, menuSlot, theme }: ResumeEditorProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { ResumeEditor, type ResumeEditorProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { CandidateProfile, ResumeMenuSlot } from '../types.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
interface ResumeEditorProps {
|
|
6
|
+
data: CandidateProfile;
|
|
7
|
+
onChange?: (data: CandidateProfile) => void;
|
|
8
|
+
hideFields?: string[];
|
|
9
|
+
hideSections?: string[];
|
|
10
|
+
menuSlot?: ResumeMenuSlot[];
|
|
11
|
+
theme?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function ResumeEditor({ data, onChange, hideFields, hideSections, menuSlot, theme }: ResumeEditorProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { ResumeEditor, type ResumeEditorProps };
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "../../../ui/accordion";
|
|
3
|
+
import { PersonalInfo } from "./sections/personal-info";
|
|
4
|
+
import { AcademicInfo } from "./sections/academic-info";
|
|
5
|
+
import { EducationSection } from "./sections/education";
|
|
6
|
+
import { ExperienceSection } from "./sections/experience";
|
|
7
|
+
import { ActivitiesSection } from "./sections/activities";
|
|
8
|
+
import { SkillsSection } from "./sections/skills";
|
|
9
|
+
import { CertificationsSection } from "./sections/certifications";
|
|
10
|
+
import { RequirementsSection } from "./sections/requirements";
|
|
11
|
+
import { PreferencesSection } from "./sections/preferences";
|
|
12
|
+
import { Label, Textarea } from "../../../ui";
|
|
13
|
+
function ResumeEditor({
|
|
14
|
+
data,
|
|
15
|
+
onChange,
|
|
16
|
+
hideFields = [],
|
|
17
|
+
hideSections = [],
|
|
18
|
+
menuSlot = [],
|
|
19
|
+
theme
|
|
20
|
+
}) {
|
|
21
|
+
const handleSectionChange = (partial) => {
|
|
22
|
+
if (onChange) {
|
|
23
|
+
onChange({ ...data, ...partial });
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const coreSections = [
|
|
27
|
+
{
|
|
28
|
+
id: "personal-info",
|
|
29
|
+
title: "Informaci\xF3n personal",
|
|
30
|
+
content: /* @__PURE__ */ jsx(PersonalInfo, { data, onChange: handleSectionChange, hideFields })
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: "academic-info",
|
|
34
|
+
title: "Informaci\xF3n Acad\xE9mica",
|
|
35
|
+
content: /* @__PURE__ */ jsx(AcademicInfo, { data, onChange: handleSectionChange, hideFields })
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: "education",
|
|
39
|
+
title: "Educaci\xF3n",
|
|
40
|
+
content: /* @__PURE__ */ jsx(EducationSection, { data, onChange: handleSectionChange, hideFields })
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: "experience",
|
|
44
|
+
title: "Experiencia laboral",
|
|
45
|
+
content: /* @__PURE__ */ jsx(ExperienceSection, { data, onChange: handleSectionChange, hideFields })
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "activities",
|
|
49
|
+
title: "Actividades y Logros",
|
|
50
|
+
content: /* @__PURE__ */ jsx(ActivitiesSection, { data, onChange: handleSectionChange, hideFields })
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: "skills",
|
|
54
|
+
title: "Habilidades",
|
|
55
|
+
content: /* @__PURE__ */ jsx(SkillsSection, { data, onChange: handleSectionChange, hideFields })
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: "certifications",
|
|
59
|
+
title: "Certificaciones",
|
|
60
|
+
content: /* @__PURE__ */ jsx(CertificationsSection, { data, onChange: handleSectionChange, hideFields, theme })
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "requirements",
|
|
64
|
+
title: "Requisitos laborales",
|
|
65
|
+
content: /* @__PURE__ */ jsx(RequirementsSection, { data, onChange: handleSectionChange, hideFields })
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: "preferences",
|
|
69
|
+
title: "Preferencias",
|
|
70
|
+
content: /* @__PURE__ */ jsx(PreferencesSection, { data, onChange: handleSectionChange, hideFields })
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: "notes",
|
|
74
|
+
title: "Notas",
|
|
75
|
+
content: /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
76
|
+
/* @__PURE__ */ jsx(Label, { children: "Notas internas" }),
|
|
77
|
+
/* @__PURE__ */ jsx(
|
|
78
|
+
Textarea,
|
|
79
|
+
{
|
|
80
|
+
rows: 5,
|
|
81
|
+
placeholder: "Notas visibles solo para administradores...",
|
|
82
|
+
value: data.advanced?.notes || "",
|
|
83
|
+
onChange: (e) => handleSectionChange({ advanced: { ...data.advanced, notes: e.target.value } })
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
] })
|
|
87
|
+
}
|
|
88
|
+
];
|
|
89
|
+
const allSections = [
|
|
90
|
+
...coreSections.filter((section) => !hideSections.includes(section.title)),
|
|
91
|
+
...menuSlot.map((slot, idx) => ({
|
|
92
|
+
id: `slot-${idx}`,
|
|
93
|
+
title: slot.title,
|
|
94
|
+
content: slot.node
|
|
95
|
+
}))
|
|
96
|
+
];
|
|
97
|
+
return /* @__PURE__ */ jsx("div", { className: "w-full flex items-start flex-col gap-4", children: /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: allSections.map((section) => /* @__PURE__ */ jsxs(
|
|
98
|
+
AccordionItem,
|
|
99
|
+
{
|
|
100
|
+
value: section.id,
|
|
101
|
+
className: "border-b border-border/40 px-2 data-[state=open]:border-l-2 data-[state=open]:border-l-secondary data-[state=open]:pl-3 transition-all",
|
|
102
|
+
children: [
|
|
103
|
+
/* @__PURE__ */ jsx(AccordionTrigger, { className: "text-md font-medium data-[state=open]:text-primary data-[state=open]:font-semibold transition-all", children: section.title }),
|
|
104
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "pt-2 pb-3", children: /* @__PURE__ */ jsx("div", { className: "bg-card px-2", children: section.content }) })
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
section.id
|
|
108
|
+
)) }) });
|
|
109
|
+
}
|
|
110
|
+
export {
|
|
111
|
+
ResumeEditor
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=resume-editor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/domain/resume/resume-editor/resume-editor.tsx"],"sourcesContent":["import { CandidateProfile, ResumeMenuSlot } from \"../types\";\nimport { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from \"../../../ui/accordion\";\nimport { PersonalInfo } from \"./sections/personal-info\";\nimport { AcademicInfo } from \"./sections/academic-info\";\nimport { EducationSection } from \"./sections/education\";\nimport { ExperienceSection } from \"./sections/experience\";\nimport { ActivitiesSection } from \"./sections/activities\";\nimport { SkillsSection } from \"./sections/skills\";\nimport { CertificationsSection } from \"./sections/certifications\";\nimport { RequirementsSection } from \"./sections/requirements\";\nimport { PreferencesSection } from \"./sections/preferences\";\nimport { Label, Textarea } from \"../../../ui\";\n\nexport interface ResumeEditorProps {\n data: CandidateProfile;\n onChange?: (data: CandidateProfile) => void;\n hideFields?: string[];\n hideSections?: string[];\n menuSlot?: ResumeMenuSlot[];\n theme?: string;\n}\n\nexport function ResumeEditor({\n data,\n onChange,\n hideFields = [],\n hideSections = [],\n menuSlot = [],\n theme\n}: ResumeEditorProps) {\n const handleSectionChange = (partial: Partial<CandidateProfile>) => {\n if (onChange) {\n onChange({ ...data, ...partial });\n }\n };\n\n const coreSections = [\n {\n id: \"personal-info\",\n title: \"Información personal\",\n content: <PersonalInfo data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"academic-info\",\n title: \"Información Académica\",\n content: <AcademicInfo data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"education\",\n title: \"Educación\",\n content: <EducationSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"experience\",\n title: \"Experiencia laboral\",\n content: <ExperienceSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"activities\",\n title: \"Actividades y Logros\",\n content: <ActivitiesSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"skills\",\n title: \"Habilidades\",\n content: <SkillsSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"certifications\",\n title: \"Certificaciones\",\n content: <CertificationsSection data={data} onChange={handleSectionChange} hideFields={hideFields} theme={theme} />\n },\n {\n id: \"requirements\",\n title: \"Requisitos laborales\",\n content: <RequirementsSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"preferences\",\n title: \"Preferencias\",\n content: <PreferencesSection data={data} onChange={handleSectionChange} hideFields={hideFields} />\n },\n {\n id: \"notes\",\n title: \"Notas\",\n content: (\n <div className=\"space-y-2\">\n <Label>Notas internas</Label>\n <Textarea\n rows={5}\n placeholder=\"Notas visibles solo para administradores...\"\n value={data.advanced?.notes || \"\"}\n onChange={(e) => handleSectionChange({ advanced: { ...data.advanced, notes: e.target.value } })}\n />\n </div>\n )\n }\n ];\n\n const allSections = [\n ...coreSections.filter(section => !hideSections.includes(section.title)),\n ...menuSlot.map((slot, idx) => ({\n id: `slot-${idx}`,\n title: slot.title,\n content: slot.node\n }))\n ];\n\n return (\n <div className=\"w-full flex items-start flex-col gap-4\">\n <Accordion type=\"single\" collapsible className=\"w-full\">\n {allSections.map((section) => (\n <AccordionItem\n key={section.id}\n value={section.id}\n className=\"border-b border-border/40 px-2 data-[state=open]:border-l-2 data-[state=open]:border-l-secondary data-[state=open]:pl-3 transition-all\"\n >\n <AccordionTrigger className=\"text-md font-medium data-[state=open]:text-primary data-[state=open]:font-semibold transition-all\">\n {section.title}\n </AccordionTrigger>\n <AccordionContent className=\"pt-2 pb-3\">\n <div className=\"bg-card px-2\">\n {section.content}\n </div>\n </AccordionContent>\n </AccordionItem>\n ))}\n </Accordion>\n </div>\n );\n}\n"],"mappings":"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","names":[]}
|