@resumekit/react 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +74 -2
- package/dist/PagedSheet.d.ts +63 -0
- package/dist/PagedSheet.d.ts.map +1 -0
- package/dist/PagedSheet.js +584 -0
- package/dist/TemplateDocument.d.ts +33 -0
- package/dist/TemplateDocument.d.ts.map +1 -0
- package/dist/TemplateDocument.js +33 -0
- package/dist/autosave-context.d.ts +37 -0
- package/dist/autosave-context.d.ts.map +1 -0
- package/dist/autosave-context.js +24 -0
- package/dist/collections/AuthoredItems.d.ts +9 -0
- package/dist/collections/AuthoredItems.d.ts.map +1 -0
- package/dist/collections/AuthoredItems.js +116 -0
- package/dist/collections/Collection.d.ts +48 -0
- package/dist/collections/Collection.d.ts.map +1 -0
- package/dist/collections/Collection.js +24 -0
- package/dist/collections/CollectionItems.d.ts +94 -0
- package/dist/collections/CollectionItems.d.ts.map +1 -0
- package/dist/collections/CollectionItems.js +91 -0
- package/dist/collections/EntryOverlay.d.ts +38 -0
- package/dist/collections/EntryOverlay.d.ts.map +1 -0
- package/dist/collections/EntryOverlay.js +51 -0
- package/dist/collections/SortableItems.d.ts +52 -0
- package/dist/collections/SortableItems.d.ts.map +1 -0
- package/dist/collections/SortableItems.js +80 -0
- package/dist/collections/authoring-context.d.ts +69 -0
- package/dist/collections/authoring-context.d.ts.map +1 -0
- package/dist/collections/authoring-context.js +36 -0
- package/dist/collections/collection.css +462 -0
- package/dist/collections/entry-text.d.ts +23 -0
- package/dist/collections/entry-text.d.ts.map +1 -0
- package/dist/collections/entry-text.js +35 -0
- package/dist/collections/icons.d.ts +53 -0
- package/dist/collections/icons.d.ts.map +1 -0
- package/dist/collections/icons.js +56 -0
- package/dist/collections/library/LibraryAction.d.ts +24 -0
- package/dist/collections/library/LibraryAction.d.ts.map +1 -0
- package/dist/collections/library/LibraryAction.js +122 -0
- package/dist/collections/library/LibraryPicker.d.ts +42 -0
- package/dist/collections/library/LibraryPicker.d.ts.map +1 -0
- package/dist/collections/library/LibraryPicker.js +94 -0
- package/dist/collections/library/library.css +435 -0
- package/dist/collections/overlay-context.d.ts +34 -0
- package/dist/collections/overlay-context.d.ts.map +1 -0
- package/dist/collections/overlay-context.js +13 -0
- package/dist/collections/preload.d.ts +19 -0
- package/dist/collections/preload.d.ts.map +1 -0
- package/dist/collections/preload.js +23 -0
- package/dist/collections/selection-context.d.ts +25 -0
- package/dist/collections/selection-context.d.ts.map +1 -0
- package/dist/collections/selection-context.js +49 -0
- package/dist/collections/useCollection.d.ts +58 -0
- package/dist/collections/useCollection.d.ts.map +1 -0
- package/dist/collections/useCollection.js +90 -0
- package/dist/collections/useCustomEntries.d.ts +18 -0
- package/dist/collections/useCustomEntries.d.ts.map +1 -0
- package/dist/collections/useCustomEntries.js +56 -0
- package/dist/collections/useSectionCollection.d.ts +48 -0
- package/dist/collections/useSectionCollection.d.ts.map +1 -0
- package/dist/collections/useSectionCollection.js +169 -0
- package/dist/document.css +185 -0
- package/dist/export-bundle/bundle.css +2 -0
- package/dist/export-bundle/bundle.js +67 -0
- package/dist/fields/date-issues-context.d.ts +20 -0
- package/dist/fields/date-issues-context.d.ts.map +1 -0
- package/dist/fields/date-issues-context.js +68 -0
- package/dist/fields/field-registry.d.ts +163 -0
- package/dist/fields/field-registry.d.ts.map +1 -0
- package/dist/fields/field-registry.js +175 -0
- package/dist/fonts/README.md +207 -0
- package/dist/fonts/arimo-400.woff2 +0 -0
- package/dist/fonts/arimo-400i.woff2 +0 -0
- package/dist/fonts/arimo-700.woff2 +0 -0
- package/dist/fonts/arimo-700i.woff2 +0 -0
- package/dist/fonts/bitter-400.woff2 +0 -0
- package/dist/fonts/bitter-400i.woff2 +0 -0
- package/dist/fonts/bitter-700.woff2 +0 -0
- package/dist/fonts/bitter-700i.woff2 +0 -0
- package/dist/fonts/cabin-700.woff2 +0 -0
- package/dist/fonts/carlito-400.woff2 +0 -0
- package/dist/fonts/carlito-400i.woff2 +0 -0
- package/dist/fonts/carlito-700.woff2 +0 -0
- package/dist/fonts/carlito-700i.woff2 +0 -0
- package/dist/fonts/clearsans-400.woff2 +0 -0
- package/dist/fonts/clearsans-400i.woff2 +0 -0
- package/dist/fonts/cochineal-400.woff2 +0 -0
- package/dist/fonts/cochineal-400i.woff2 +0 -0
- package/dist/fonts/cochineal-700.woff2 +0 -0
- package/dist/fonts/ebgaramond-400.woff2 +0 -0
- package/dist/fonts/ebgaramond-400i.woff2 +0 -0
- package/dist/fonts/ebgaramond-700.woff2 +0 -0
- package/dist/fonts/ebgaramond-700i.woff2 +0 -0
- package/dist/fonts/fonts.css +622 -0
- package/dist/fonts/gelasio-400.woff2 +0 -0
- package/dist/fonts/gelasio-400i.woff2 +0 -0
- package/dist/fonts/gelasio-700.woff2 +0 -0
- package/dist/fonts/gelasio-700i.woff2 +0 -0
- package/dist/fonts/heros-400.woff2 +0 -0
- package/dist/fonts/heros-400i.woff2 +0 -0
- package/dist/fonts/heros-700.woff2 +0 -0
- package/dist/fonts/heros-700i.woff2 +0 -0
- package/dist/fonts/inconsolata-400.woff2 +0 -0
- package/dist/fonts/lato-100.woff2 +0 -0
- package/dist/fonts/lato-300.woff2 +0 -0
- package/dist/fonts/lato-300i.woff2 +0 -0
- package/dist/fonts/lato-400.woff2 +0 -0
- package/dist/fonts/lato-400i.woff2 +0 -0
- package/dist/fonts/lato-700.woff2 +0 -0
- package/dist/fonts/lato-700i.woff2 +0 -0
- package/dist/fonts/licenses/arimo-OFL.txt +93 -0
- package/dist/fonts/licenses/bitter-OFL.txt +94 -0
- package/dist/fonts/licenses/cabin-OFL.txt +93 -0
- package/dist/fonts/licenses/carlito-OFL.txt +94 -0
- package/dist/fonts/licenses/clearsans-APACHE-2.0.txt +205 -0
- package/dist/fonts/licenses/cochineal-OFL.txt +96 -0
- package/dist/fonts/licenses/ebgaramond-OFL.txt +93 -0
- package/dist/fonts/licenses/gelasio-OFL.txt +93 -0
- package/dist/fonts/licenses/heros-GUST-FONT-LICENSE.txt +30 -0
- package/dist/fonts/licenses/inconsolata-OFL.txt +93 -0
- package/dist/fonts/licenses/latinmodern-GUST-FONT-LICENSE.txt +35 -0
- package/dist/fonts/licenses/lato-OFL.txt +93 -0
- package/dist/fonts/licenses/ptserif-OFL.txt +93 -0
- package/dist/fonts/licenses/raleway-OFL.txt +93 -0
- package/dist/fonts/licenses/roboto-OFL.txt +93 -0
- package/dist/fonts/licenses/robotocondensed-OFL.txt +93 -0
- package/dist/fonts/licenses/robotoslab-APACHE-2.0.txt +205 -0
- package/dist/fonts/licenses/sourcesans3-OFL.txt +93 -0
- package/dist/fonts/licenses/tinos-OFL.txt +93 -0
- package/dist/fonts/lmmono-400.woff2 +0 -0
- package/dist/fonts/lmroman-400.woff2 +0 -0
- package/dist/fonts/lmroman-400i.woff2 +0 -0
- package/dist/fonts/lmroman-700.woff2 +0 -0
- package/dist/fonts/lmroman-700i.woff2 +0 -0
- package/dist/fonts/lmromancaps-400.woff2 +0 -0
- package/dist/fonts/ptserif-400.woff2 +0 -0
- package/dist/fonts/ptserif-400i.woff2 +0 -0
- package/dist/fonts/ptserif-700.woff2 +0 -0
- package/dist/fonts/ptserif-700i.woff2 +0 -0
- package/dist/fonts/raleway-300.woff2 +0 -0
- package/dist/fonts/raleway-400.woff2 +0 -0
- package/dist/fonts/raleway-400i.woff2 +0 -0
- package/dist/fonts/raleway-500.woff2 +0 -0
- package/dist/fonts/raleway-700.woff2 +0 -0
- package/dist/fonts/roboto-100.woff2 +0 -0
- package/dist/fonts/roboto-300.woff2 +0 -0
- package/dist/fonts/roboto-300i.woff2 +0 -0
- package/dist/fonts/roboto-400.woff2 +0 -0
- package/dist/fonts/roboto-400i.woff2 +0 -0
- package/dist/fonts/roboto-700.woff2 +0 -0
- package/dist/fonts/robotocondensed-400.woff2 +0 -0
- package/dist/fonts/robotocondensed-400i.woff2 +0 -0
- package/dist/fonts/robotocondensed-700.woff2 +0 -0
- package/dist/fonts/robotocondensed-700i.woff2 +0 -0
- package/dist/fonts/robotoslab-700.woff2 +0 -0
- package/dist/fonts/sourcesans3-300.woff2 +0 -0
- package/dist/fonts/sourcesans3-300i.woff2 +0 -0
- package/dist/fonts/sourcesans3-400.woff2 +0 -0
- package/dist/fonts/sourcesans3-400i.woff2 +0 -0
- package/dist/fonts/sourcesans3-700.woff2 +0 -0
- package/dist/fonts/tinos-400.woff2 +0 -0
- package/dist/fonts/tinos-400i.woff2 +0 -0
- package/dist/fonts/tinos-700.woff2 +0 -0
- package/dist/fonts/tinos-700i.woff2 +0 -0
- package/dist/i18n/README.md +52 -0
- package/dist/i18n/catalog.d.ts +39 -0
- package/dist/i18n/catalog.d.ts.map +1 -0
- package/dist/i18n/catalog.js +43 -0
- package/dist/i18n/format.d.ts +14 -0
- package/dist/i18n/format.d.ts.map +1 -0
- package/dist/i18n/format.js +38 -0
- package/dist/i18n/index.d.ts +4 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/locale-context.d.ts +43 -0
- package/dist/i18n/locale-context.d.ts.map +1 -0
- package/dist/i18n/locale-context.js +74 -0
- package/dist/i18n/locales/en.json +337 -0
- package/dist/i18n/locales/es.json +337 -0
- package/dist/index.d.ts +101 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +99 -0
- package/dist/kit/BulletSkillGroup.d.ts +20 -0
- package/dist/kit/BulletSkillGroup.d.ts.map +1 -0
- package/dist/kit/BulletSkillGroup.js +25 -0
- package/dist/kit/DescribedEntries.d.ts +41 -0
- package/dist/kit/DescribedEntries.d.ts.map +1 -0
- package/dist/kit/DescribedEntries.js +57 -0
- package/dist/kit/DocumentSection.d.ts +58 -0
- package/dist/kit/DocumentSection.d.ts.map +1 -0
- package/dist/kit/DocumentSection.js +38 -0
- package/dist/kit/GridSkillGroup.d.ts +12 -0
- package/dist/kit/GridSkillGroup.d.ts.map +1 -0
- package/dist/kit/GridSkillGroup.js +14 -0
- package/dist/kit/Heading.d.ts +11 -0
- package/dist/kit/Heading.d.ts.map +1 -0
- package/dist/kit/Heading.js +10 -0
- package/dist/kit/InitialsAvatar.d.ts +17 -0
- package/dist/kit/InitialsAvatar.d.ts.map +1 -0
- package/dist/kit/InitialsAvatar.js +18 -0
- package/dist/kit/InitialsChip.d.ts +16 -0
- package/dist/kit/InitialsChip.d.ts.map +1 -0
- package/dist/kit/InitialsChip.js +16 -0
- package/dist/kit/InlineSkillGroup.d.ts +22 -0
- package/dist/kit/InlineSkillGroup.d.ts.map +1 -0
- package/dist/kit/InlineSkillGroup.js +16 -0
- package/dist/kit/LabelledSkillGroup.d.ts +24 -0
- package/dist/kit/LabelledSkillGroup.d.ts.map +1 -0
- package/dist/kit/LabelledSkillGroup.js +20 -0
- package/dist/kit/LanguageList.d.ts +28 -0
- package/dist/kit/LanguageList.d.ts.map +1 -0
- package/dist/kit/LanguageList.js +56 -0
- package/dist/kit/Separator.d.ts +20 -0
- package/dist/kit/Separator.d.ts.map +1 -0
- package/dist/kit/Separator.js +21 -0
- package/dist/kit/TagSkillGroup.d.ts +8 -0
- package/dist/kit/TagSkillGroup.d.ts.map +1 -0
- package/dist/kit/TagSkillGroup.js +10 -0
- package/dist/kit/avatar.css +42 -0
- package/dist/kit/contact-icons.css +70 -0
- package/dist/kit/contact.d.ts +16 -0
- package/dist/kit/contact.d.ts.map +1 -0
- package/dist/kit/contact.js +18 -0
- package/dist/kit/described.css +114 -0
- package/dist/kit/documentStyle.d.ts +12 -0
- package/dist/kit/documentStyle.d.ts.map +1 -0
- package/dist/kit/documentStyle.js +24 -0
- package/dist/kit/heading.css +17 -0
- package/dist/kit/keywords.css +127 -0
- package/dist/kit/language.css +104 -0
- package/dist/kit/layout.css +16 -0
- package/dist/kit/monogram.d.ts +6 -0
- package/dist/kit/monogram.d.ts.map +1 -0
- package/dist/kit/monogram.js +12 -0
- package/dist/kit/panel.css +26 -0
- package/dist/kit/skill-grid.css +93 -0
- package/dist/kit/skill-tags.css +36 -0
- package/dist/kit/textShapes.d.ts +24 -0
- package/dist/kit/textShapes.d.ts.map +1 -0
- package/dist/kit/textShapes.js +32 -0
- package/dist/letter/LetterDocument.d.ts +13 -0
- package/dist/letter/LetterDocument.d.ts.map +1 -0
- package/dist/letter/LetterDocument.js +12 -0
- package/dist/letter/letter.css +75 -0
- package/dist/nodes/AuthoredBullets.d.ts +22 -0
- package/dist/nodes/AuthoredBullets.d.ts.map +1 -0
- package/dist/nodes/AuthoredBullets.js +101 -0
- package/dist/nodes/CustomSections.d.ts +42 -0
- package/dist/nodes/CustomSections.d.ts.map +1 -0
- package/dist/nodes/CustomSections.js +27 -0
- package/dist/nodes/EditableBulletList.d.ts +15 -0
- package/dist/nodes/EditableBulletList.d.ts.map +1 -0
- package/dist/nodes/EditableBulletList.js +98 -0
- package/dist/nodes/EditableInlineList.d.ts +27 -0
- package/dist/nodes/EditableInlineList.d.ts.map +1 -0
- package/dist/nodes/EditableInlineList.js +50 -0
- package/dist/nodes/EditableText.d.ts +79 -0
- package/dist/nodes/EditableText.d.ts.map +1 -0
- package/dist/nodes/EditableText.js +113 -0
- package/dist/nodes/LinkField.d.ts +103 -0
- package/dist/nodes/LinkField.d.ts.map +1 -0
- package/dist/nodes/LinkField.js +277 -0
- package/dist/nodes/PlainTextField.d.ts +38 -0
- package/dist/nodes/PlainTextField.d.ts.map +1 -0
- package/dist/nodes/PlainTextField.js +72 -0
- package/dist/nodes/formatting.d.ts +34 -0
- package/dist/nodes/formatting.d.ts.map +1 -0
- package/dist/nodes/formatting.js +24 -0
- package/dist/nodes/link-field.css +200 -0
- package/dist/nodes/locked.d.ts +38 -0
- package/dist/nodes/locked.d.ts.map +1 -0
- package/dist/nodes/locked.js +65 -0
- package/dist/nodes/template-node.css +720 -0
- package/dist/paged.css +265 -0
- package/dist/pagination.d.ts +93 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/pagination.js +167 -0
- package/dist/picture-context.d.ts +6 -0
- package/dist/picture-context.d.ts.map +1 -0
- package/dist/picture-context.js +14 -0
- package/dist/presentation-context.d.ts +45 -0
- package/dist/presentation-context.d.ts.map +1 -0
- package/dist/presentation-context.js +44 -0
- package/dist/presented.d.ts +16 -0
- package/dist/presented.d.ts.map +1 -0
- package/dist/presented.js +22 -0
- package/dist/rail/ContainerRail.d.ts +29 -0
- package/dist/rail/ContainerRail.d.ts.map +1 -0
- package/dist/rail/ContainerRail.js +50 -0
- package/dist/rail/EntryActions.d.ts +19 -0
- package/dist/rail/EntryActions.d.ts.map +1 -0
- package/dist/rail/EntryActions.js +17 -0
- package/dist/rail/rail-store.d.ts +42 -0
- package/dist/rail/rail-store.d.ts.map +1 -0
- package/dist/rail/rail-store.js +107 -0
- package/dist/rail/rail.css +188 -0
- package/dist/rail/useSpaceDrag.d.ts +30 -0
- package/dist/rail/useSpaceDrag.d.ts.map +1 -0
- package/dist/rail/useSpaceDrag.js +154 -0
- package/dist/registry.d.ts +35 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +74 -0
- package/dist/spacing/spacing-context.d.ts +53 -0
- package/dist/spacing/spacing-context.d.ts.map +1 -0
- package/dist/spacing/spacing-context.js +36 -0
- package/dist/spacing/spacing.css +159 -0
- package/dist/spacing/useSpaceSlot.d.ts +52 -0
- package/dist/spacing/useSpaceSlot.d.ts.map +1 -0
- package/dist/spacing/useSpaceSlot.js +38 -0
- package/dist/static/api.d.ts +13 -0
- package/dist/static/api.d.ts.map +1 -0
- package/dist/static/api.js +1 -0
- package/dist/static/static.mjs +33779 -0
- package/dist/static/templates/academic.css +1 -0
- package/dist/static/templates/alta.css +1 -0
- package/dist/static/templates/classic.css +1 -0
- package/dist/static/templates/cobalt.css +1 -0
- package/dist/static/templates/compact.css +1 -0
- package/dist/static/templates/contemporary.css +1 -0
- package/dist/static/templates/creative.css +1 -0
- package/dist/static/templates/crimson.css +1 -0
- package/dist/static/templates/curve.css +1 -0
- package/dist/static/templates/double-column-logos.css +1 -0
- package/dist/static/templates/double-column.css +1 -0
- package/dist/static/templates/elegant-logos.css +1 -0
- package/dist/static/templates/elegant.css +1 -0
- package/dist/static/templates/engineer.css +1 -0
- package/dist/static/templates/executive.css +1 -0
- package/dist/static/templates/harvard.css +1 -0
- package/dist/static/templates/hipster.css +1 -0
- package/dist/static/templates/ivy.css +1 -0
- package/dist/static/templates/meridian.css +1 -0
- package/dist/static/templates/modern.css +1 -0
- package/dist/static/templates/polished.css +1 -0
- package/dist/static/templates/portrait.css +1 -0
- package/dist/static/templates/prism.css +1 -0
- package/dist/static/templates/scholar.css +1 -0
- package/dist/static/templates/split.css +1 -0
- package/dist/static/templates/stylish.css +1 -0
- package/dist/static/templates/timeline.css +1 -0
- package/dist/static/templates.css +1 -0
- package/dist/templates/academic/AcademicDocument.d.ts +6 -0
- package/dist/templates/academic/AcademicDocument.d.ts.map +1 -0
- package/dist/templates/academic/AcademicDocument.js +29 -0
- package/dist/templates/academic/academic.css +284 -0
- package/dist/templates/academic/entries.d.ts +22 -0
- package/dist/templates/academic/entries.d.ts.map +1 -0
- package/dist/templates/academic/entries.js +17 -0
- package/dist/templates/alta/AltaDocument.d.ts +6 -0
- package/dist/templates/alta/AltaDocument.d.ts.map +1 -0
- package/dist/templates/alta/AltaDocument.js +29 -0
- package/dist/templates/alta/alta.css +413 -0
- package/dist/templates/alta/entries.d.ts +22 -0
- package/dist/templates/alta/entries.d.ts.map +1 -0
- package/dist/templates/alta/entries.js +17 -0
- package/dist/templates/classic/ClassicDocument.d.ts +6 -0
- package/dist/templates/classic/ClassicDocument.d.ts.map +1 -0
- package/dist/templates/classic/ClassicDocument.js +26 -0
- package/dist/templates/classic/classic.css +251 -0
- package/dist/templates/classic/entries.d.ts +22 -0
- package/dist/templates/classic/entries.d.ts.map +1 -0
- package/dist/templates/classic/entries.js +17 -0
- package/dist/templates/cobalt/CobaltDocument.d.ts +6 -0
- package/dist/templates/cobalt/CobaltDocument.d.ts.map +1 -0
- package/dist/templates/cobalt/CobaltDocument.js +28 -0
- package/dist/templates/cobalt/cobalt.css +478 -0
- package/dist/templates/cobalt/crest.d.ts +6 -0
- package/dist/templates/cobalt/crest.d.ts.map +1 -0
- package/dist/templates/cobalt/crest.js +8 -0
- package/dist/templates/cobalt/entries.d.ts +22 -0
- package/dist/templates/cobalt/entries.d.ts.map +1 -0
- package/dist/templates/cobalt/entries.js +17 -0
- package/dist/templates/compact/CompactDocument.d.ts +6 -0
- package/dist/templates/compact/CompactDocument.d.ts.map +1 -0
- package/dist/templates/compact/CompactDocument.js +28 -0
- package/dist/templates/compact/compact.css +240 -0
- package/dist/templates/compact/entries.d.ts +22 -0
- package/dist/templates/compact/entries.d.ts.map +1 -0
- package/dist/templates/compact/entries.js +17 -0
- package/dist/templates/contemporary/ContemporaryDocument.d.ts +6 -0
- package/dist/templates/contemporary/ContemporaryDocument.d.ts.map +1 -0
- package/dist/templates/contemporary/ContemporaryDocument.js +29 -0
- package/dist/templates/contemporary/contemporary.css +411 -0
- package/dist/templates/contemporary/entries.d.ts +22 -0
- package/dist/templates/contemporary/entries.d.ts.map +1 -0
- package/dist/templates/contemporary/entries.js +17 -0
- package/dist/templates/creative/CreativeDocument.d.ts +6 -0
- package/dist/templates/creative/CreativeDocument.d.ts.map +1 -0
- package/dist/templates/creative/CreativeDocument.js +29 -0
- package/dist/templates/creative/creative.css +326 -0
- package/dist/templates/creative/entries.d.ts +22 -0
- package/dist/templates/creative/entries.d.ts.map +1 -0
- package/dist/templates/creative/entries.js +17 -0
- package/dist/templates/crimson/CrimsonDocument.d.ts +6 -0
- package/dist/templates/crimson/CrimsonDocument.d.ts.map +1 -0
- package/dist/templates/crimson/CrimsonDocument.js +30 -0
- package/dist/templates/crimson/crimson.css +301 -0
- package/dist/templates/crimson/entries.d.ts +22 -0
- package/dist/templates/crimson/entries.d.ts.map +1 -0
- package/dist/templates/crimson/entries.js +17 -0
- package/dist/templates/curve/CurveDocument.d.ts +6 -0
- package/dist/templates/curve/CurveDocument.d.ts.map +1 -0
- package/dist/templates/curve/CurveDocument.js +29 -0
- package/dist/templates/curve/curve.css +330 -0
- package/dist/templates/curve/entries.d.ts +22 -0
- package/dist/templates/curve/entries.d.ts.map +1 -0
- package/dist/templates/curve/entries.js +17 -0
- package/dist/templates/double-column/DoubleColumnDocument.d.ts +6 -0
- package/dist/templates/double-column/DoubleColumnDocument.d.ts.map +1 -0
- package/dist/templates/double-column/DoubleColumnDocument.js +29 -0
- package/dist/templates/double-column/double-column.css +331 -0
- package/dist/templates/double-column/entries.d.ts +22 -0
- package/dist/templates/double-column/entries.d.ts.map +1 -0
- package/dist/templates/double-column/entries.js +17 -0
- package/dist/templates/double-column-logos/DoubleColumnLogosDocument.d.ts +6 -0
- package/dist/templates/double-column-logos/DoubleColumnLogosDocument.d.ts.map +1 -0
- package/dist/templates/double-column-logos/DoubleColumnLogosDocument.js +28 -0
- package/dist/templates/double-column-logos/double-column-logos.css +333 -0
- package/dist/templates/double-column-logos/entries.d.ts +22 -0
- package/dist/templates/double-column-logos/entries.d.ts.map +1 -0
- package/dist/templates/double-column-logos/entries.js +18 -0
- package/dist/templates/elegant/ElegantDocument.d.ts +6 -0
- package/dist/templates/elegant/ElegantDocument.d.ts.map +1 -0
- package/dist/templates/elegant/ElegantDocument.js +31 -0
- package/dist/templates/elegant/elegant.css +358 -0
- package/dist/templates/elegant/entries.d.ts +22 -0
- package/dist/templates/elegant/entries.d.ts.map +1 -0
- package/dist/templates/elegant/entries.js +17 -0
- package/dist/templates/elegant-logos/ElegantLogosDocument.d.ts +6 -0
- package/dist/templates/elegant-logos/ElegantLogosDocument.d.ts.map +1 -0
- package/dist/templates/elegant-logos/ElegantLogosDocument.js +30 -0
- package/dist/templates/elegant-logos/elegant-logos.css +370 -0
- package/dist/templates/elegant-logos/entries.d.ts +22 -0
- package/dist/templates/elegant-logos/entries.d.ts.map +1 -0
- package/dist/templates/elegant-logos/entries.js +18 -0
- package/dist/templates/engineer/EngineerDocument.d.ts +6 -0
- package/dist/templates/engineer/EngineerDocument.d.ts.map +1 -0
- package/dist/templates/engineer/EngineerDocument.js +26 -0
- package/dist/templates/engineer/engineer.css +261 -0
- package/dist/templates/engineer/entries.d.ts +22 -0
- package/dist/templates/engineer/entries.d.ts.map +1 -0
- package/dist/templates/engineer/entries.js +17 -0
- package/dist/templates/executive/ExecutiveDocument.d.ts +6 -0
- package/dist/templates/executive/ExecutiveDocument.d.ts.map +1 -0
- package/dist/templates/executive/ExecutiveDocument.js +29 -0
- package/dist/templates/executive/entries.d.ts +22 -0
- package/dist/templates/executive/entries.d.ts.map +1 -0
- package/dist/templates/executive/entries.js +17 -0
- package/dist/templates/executive/executive.css +394 -0
- package/dist/templates/harvard/HarvardDocument.d.ts +6 -0
- package/dist/templates/harvard/HarvardDocument.d.ts.map +1 -0
- package/dist/templates/harvard/HarvardDocument.js +25 -0
- package/dist/templates/harvard/entries.d.ts +28 -0
- package/dist/templates/harvard/entries.d.ts.map +1 -0
- package/dist/templates/harvard/entries.js +22 -0
- package/dist/templates/harvard/harvard.css +436 -0
- package/dist/templates/hipster/HipsterDocument.d.ts +6 -0
- package/dist/templates/hipster/HipsterDocument.d.ts.map +1 -0
- package/dist/templates/hipster/HipsterDocument.js +30 -0
- package/dist/templates/hipster/entries.d.ts +22 -0
- package/dist/templates/hipster/entries.d.ts.map +1 -0
- package/dist/templates/hipster/entries.js +17 -0
- package/dist/templates/hipster/hipster.css +442 -0
- package/dist/templates/ivy/IvyDocument.d.ts +6 -0
- package/dist/templates/ivy/IvyDocument.d.ts.map +1 -0
- package/dist/templates/ivy/IvyDocument.js +26 -0
- package/dist/templates/ivy/entries.d.ts +22 -0
- package/dist/templates/ivy/entries.d.ts.map +1 -0
- package/dist/templates/ivy/entries.js +17 -0
- package/dist/templates/ivy/ivy.css +292 -0
- package/dist/templates/meridian/MeridianDocument.d.ts +6 -0
- package/dist/templates/meridian/MeridianDocument.d.ts.map +1 -0
- package/dist/templates/meridian/MeridianDocument.js +28 -0
- package/dist/templates/meridian/entries.d.ts +22 -0
- package/dist/templates/meridian/entries.d.ts.map +1 -0
- package/dist/templates/meridian/entries.js +17 -0
- package/dist/templates/meridian/meridian.css +431 -0
- package/dist/templates/modern/ModernDocument.d.ts +6 -0
- package/dist/templates/modern/ModernDocument.d.ts.map +1 -0
- package/dist/templates/modern/ModernDocument.js +29 -0
- package/dist/templates/modern/entries.d.ts +22 -0
- package/dist/templates/modern/entries.d.ts.map +1 -0
- package/dist/templates/modern/entries.js +17 -0
- package/dist/templates/modern/modern.css +309 -0
- package/dist/templates/polished/PolishedDocument.d.ts +6 -0
- package/dist/templates/polished/PolishedDocument.d.ts.map +1 -0
- package/dist/templates/polished/PolishedDocument.js +28 -0
- package/dist/templates/polished/entries.d.ts +22 -0
- package/dist/templates/polished/entries.d.ts.map +1 -0
- package/dist/templates/polished/entries.js +17 -0
- package/dist/templates/polished/polished.css +327 -0
- package/dist/templates/portrait/PortraitDocument.d.ts +6 -0
- package/dist/templates/portrait/PortraitDocument.d.ts.map +1 -0
- package/dist/templates/portrait/PortraitDocument.js +30 -0
- package/dist/templates/portrait/entries.d.ts +22 -0
- package/dist/templates/portrait/entries.d.ts.map +1 -0
- package/dist/templates/portrait/entries.js +17 -0
- package/dist/templates/portrait/portrait.css +427 -0
- package/dist/templates/prism/PrismDocument.d.ts +6 -0
- package/dist/templates/prism/PrismDocument.d.ts.map +1 -0
- package/dist/templates/prism/PrismDocument.js +35 -0
- package/dist/templates/prism/entries.d.ts +22 -0
- package/dist/templates/prism/entries.d.ts.map +1 -0
- package/dist/templates/prism/entries.js +17 -0
- package/dist/templates/prism/prism.css +314 -0
- package/dist/templates/scholar/ScholarDocument.d.ts +6 -0
- package/dist/templates/scholar/ScholarDocument.d.ts.map +1 -0
- package/dist/templates/scholar/ScholarDocument.js +27 -0
- package/dist/templates/scholar/entries.d.ts +22 -0
- package/dist/templates/scholar/entries.d.ts.map +1 -0
- package/dist/templates/scholar/entries.js +17 -0
- package/dist/templates/scholar/scholar.css +279 -0
- package/dist/templates/skills.d.ts +19 -0
- package/dist/templates/skills.d.ts.map +1 -0
- package/dist/templates/skills.js +19 -0
- package/dist/templates/split/SplitDocument.d.ts +6 -0
- package/dist/templates/split/SplitDocument.d.ts.map +1 -0
- package/dist/templates/split/SplitDocument.js +29 -0
- package/dist/templates/split/entries.d.ts +22 -0
- package/dist/templates/split/entries.d.ts.map +1 -0
- package/dist/templates/split/entries.js +17 -0
- package/dist/templates/split/split.css +337 -0
- package/dist/templates/stylish/StylishDocument.d.ts +6 -0
- package/dist/templates/stylish/StylishDocument.d.ts.map +1 -0
- package/dist/templates/stylish/StylishDocument.js +29 -0
- package/dist/templates/stylish/entries.d.ts +22 -0
- package/dist/templates/stylish/entries.d.ts.map +1 -0
- package/dist/templates/stylish/entries.js +17 -0
- package/dist/templates/stylish/stylish.css +340 -0
- package/dist/templates/timeline/TimelineDocument.d.ts +6 -0
- package/dist/templates/timeline/TimelineDocument.d.ts.map +1 -0
- package/dist/templates/timeline/TimelineDocument.js +27 -0
- package/dist/templates/timeline/entries.d.ts +22 -0
- package/dist/templates/timeline/entries.d.ts.map +1 -0
- package/dist/templates/timeline/entries.js +17 -0
- package/dist/templates/timeline/timeline.css +295 -0
- package/dist/useFitZoom.d.ts +99 -0
- package/dist/useFitZoom.d.ts.map +1 -0
- package/dist/useFitZoom.js +171 -0
- package/package.json +81 -3
- package/src/PagedSheet.tsx +792 -0
- package/src/TemplateDocument.tsx +112 -0
- package/src/autosave-context.tsx +67 -0
- package/src/collections/AuthoredItems.tsx +199 -0
- package/src/collections/Collection.tsx +73 -0
- package/src/collections/CollectionItems.tsx +318 -0
- package/src/collections/EntryOverlay.tsx +162 -0
- package/src/collections/SortableItems.tsx +167 -0
- package/src/collections/authoring-context.tsx +140 -0
- package/src/collections/entry-text.ts +41 -0
- package/src/collections/icons.tsx +83 -0
- package/src/collections/library/LibraryAction.tsx +200 -0
- package/src/collections/library/LibraryPicker.tsx +325 -0
- package/src/collections/overlay-context.tsx +49 -0
- package/src/collections/preload.ts +23 -0
- package/src/collections/selection-context.tsx +88 -0
- package/src/collections/useCollection.ts +133 -0
- package/src/collections/useCustomEntries.ts +84 -0
- package/src/collections/useSectionCollection.ts +268 -0
- package/src/compiler/emit.ts +736 -0
- package/src/compiler/schema.ts +689 -0
- package/src/export/entry.tsx +177 -0
- package/src/fields/date-issues-context.tsx +105 -0
- package/src/fields/field-registry.tsx +358 -0
- package/src/i18n/catalog.ts +81 -0
- package/src/i18n/format.ts +50 -0
- package/src/i18n/index.ts +21 -0
- package/src/i18n/locale-context.tsx +135 -0
- package/src/index.ts +156 -0
- package/src/kit/BulletSkillGroup.tsx +37 -0
- package/src/kit/DescribedEntries.tsx +132 -0
- package/src/kit/DocumentSection.tsx +97 -0
- package/src/kit/GridSkillGroup.tsx +17 -0
- package/src/kit/Heading.tsx +17 -0
- package/src/kit/InitialsAvatar.tsx +31 -0
- package/src/kit/InitialsChip.tsx +29 -0
- package/src/kit/InlineSkillGroup.tsx +41 -0
- package/src/kit/LabelledSkillGroup.tsx +68 -0
- package/src/kit/LanguageList.tsx +148 -0
- package/src/kit/Separator.tsx +30 -0
- package/src/kit/TagSkillGroup.tsx +19 -0
- package/src/kit/contact.ts +34 -0
- package/src/kit/documentStyle.ts +33 -0
- package/src/kit/monogram.ts +11 -0
- package/src/kit/textShapes.tsx +61 -0
- package/src/letter/LetterDocument.tsx +33 -0
- package/src/nodes/AuthoredBullets.tsx +253 -0
- package/src/nodes/CustomSections.tsx +138 -0
- package/src/nodes/EditableBulletList.tsx +186 -0
- package/src/nodes/EditableInlineList.tsx +109 -0
- package/src/nodes/EditableText.tsx +261 -0
- package/src/nodes/LinkField.tsx +438 -0
- package/src/nodes/PlainTextField.tsx +132 -0
- package/src/nodes/formatting.ts +58 -0
- package/src/nodes/locked.ts +67 -0
- package/src/pagination.ts +238 -0
- package/src/picture-context.tsx +18 -0
- package/src/presentation-context.tsx +87 -0
- package/src/presented.ts +29 -0
- package/src/rail/ContainerRail.tsx +145 -0
- package/src/rail/EntryActions.tsx +104 -0
- package/src/rail/rail-store.tsx +126 -0
- package/src/rail/useSpaceDrag.ts +177 -0
- package/src/registry.ts +101 -0
- package/src/spacing/spacing-context.tsx +100 -0
- package/src/spacing/useSpaceSlot.tsx +97 -0
- package/src/static/api.ts +19 -0
- package/src/static/fixtures.ts +80 -0
- package/src/static/render.tsx +24 -0
- package/src/templates/academic/AcademicDocument.tsx +255 -0
- package/src/templates/academic/entries.tsx +176 -0
- package/src/templates/alta/AltaDocument.tsx +265 -0
- package/src/templates/alta/entries.tsx +167 -0
- package/src/templates/classic/ClassicDocument.tsx +248 -0
- package/src/templates/classic/entries.tsx +175 -0
- package/src/templates/cobalt/CobaltDocument.tsx +302 -0
- package/src/templates/cobalt/crest.tsx +31 -0
- package/src/templates/cobalt/entries.tsx +136 -0
- package/src/templates/compact/CompactDocument.tsx +256 -0
- package/src/templates/compact/entries.tsx +167 -0
- package/src/templates/contemporary/ContemporaryDocument.tsx +287 -0
- package/src/templates/contemporary/entries.tsx +167 -0
- package/src/templates/creative/CreativeDocument.tsx +269 -0
- package/src/templates/creative/entries.tsx +167 -0
- package/src/templates/crimson/CrimsonDocument.tsx +283 -0
- package/src/templates/crimson/entries.tsx +169 -0
- package/src/templates/curve/CurveDocument.tsx +259 -0
- package/src/templates/curve/entries.tsx +168 -0
- package/src/templates/double-column/DoubleColumnDocument.tsx +269 -0
- package/src/templates/double-column/entries.tsx +169 -0
- package/src/templates/double-column-logos/DoubleColumnLogosDocument.tsx +262 -0
- package/src/templates/double-column-logos/entries.tsx +172 -0
- package/src/templates/elegant/ElegantDocument.tsx +297 -0
- package/src/templates/elegant/entries.tsx +167 -0
- package/src/templates/elegant-logos/ElegantLogosDocument.tsx +291 -0
- package/src/templates/elegant-logos/entries.tsx +170 -0
- package/src/templates/engineer/EngineerDocument.tsx +248 -0
- package/src/templates/engineer/entries.tsx +170 -0
- package/src/templates/executive/ExecutiveDocument.tsx +312 -0
- package/src/templates/executive/entries.tsx +146 -0
- package/src/templates/harvard/HarvardDocument.tsx +248 -0
- package/src/templates/harvard/entries.tsx +205 -0
- package/src/templates/hipster/HipsterDocument.tsx +289 -0
- package/src/templates/hipster/entries.tsx +175 -0
- package/src/templates/ivy/IvyDocument.tsx +248 -0
- package/src/templates/ivy/entries.tsx +167 -0
- package/src/templates/meridian/MeridianDocument.tsx +304 -0
- package/src/templates/meridian/entries.tsx +140 -0
- package/src/templates/modern/ModernDocument.tsx +265 -0
- package/src/templates/modern/entries.tsx +167 -0
- package/src/templates/polished/PolishedDocument.tsx +262 -0
- package/src/templates/polished/entries.tsx +167 -0
- package/src/templates/portrait/PortraitDocument.tsx +278 -0
- package/src/templates/portrait/entries.tsx +173 -0
- package/src/templates/prism/PrismDocument.tsx +307 -0
- package/src/templates/prism/entries.tsx +175 -0
- package/src/templates/scholar/ScholarDocument.tsx +266 -0
- package/src/templates/scholar/entries.tsx +169 -0
- package/src/templates/skills.ts +21 -0
- package/src/templates/split/SplitDocument.tsx +293 -0
- package/src/templates/split/entries.tsx +164 -0
- package/src/templates/stylish/StylishDocument.tsx +265 -0
- package/src/templates/stylish/entries.tsx +167 -0
- package/src/templates/timeline/TimelineDocument.tsx +251 -0
- package/src/templates/timeline/entries.tsx +173 -0
- package/src/useFitZoom.ts +185 -0
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The Harvard template — the single place its design is decided.
|
|
3
|
+
*
|
|
4
|
+
* Three rules govern this file:
|
|
5
|
+
*
|
|
6
|
+
* 1. **No node can reach it.** Editable nodes carry a domain path, content, and
|
|
7
|
+
* at most a bounded formatting value from the catalog. Every measurement below
|
|
8
|
+
* is the template's, and the only way to change how a Harvard resume looks is
|
|
9
|
+
* to change this file.
|
|
10
|
+
*
|
|
11
|
+
* 2. **Paper is not a theme.** Every colour here is a literal or a document ink,
|
|
12
|
+
* never a design token. The app's surfaces are light-default and dark-capable;
|
|
13
|
+
* this is not a surface of the app, it is the artifact the app makes, and it
|
|
14
|
+
* will be printed on white paper and read in an ATS that has no theme.
|
|
15
|
+
*
|
|
16
|
+
* 3. **Size is one multiplier.** Every type size is `calc(<template size> *
|
|
17
|
+
* var(--h-scale))`, so the relationships between them — name over heading over
|
|
18
|
+
* body — are the design and cannot be broken by scaling. A point-size control
|
|
19
|
+
* could set body text larger than the headings above it; a multiplier cannot.
|
|
20
|
+
*
|
|
21
|
+
* Geometry is US Letter at real size: 8.5in × 11in with 0.5in margins, so what is
|
|
22
|
+
* on screen is what comes out of the printer. Geometry does NOT scale — a bigger
|
|
23
|
+
* typeface fills more of a page, it does not make the page bigger.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
.tpl-harvard {
|
|
27
|
+
/* The heading's bottom margin, restated for the kit's first entries. */
|
|
28
|
+
--tpl-heading-gap: calc(4pt * var(--h-scale));
|
|
29
|
+
/* Overridden per document by the style object; these are the defaults, which
|
|
30
|
+
is what a resume nobody has styled renders in. */
|
|
31
|
+
--h-scale: 1;
|
|
32
|
+
/*
|
|
33
|
+
* TRUE BLACK, because this is a document rather than a screen.
|
|
34
|
+
*
|
|
35
|
+
* It was #111111 — 93% black, the near-black a UI uses to take the harshness
|
|
36
|
+
* off a large light surface. A résumé is not that surface: it is printed, it
|
|
37
|
+
* is scanned by an ATS, and it is read beside other résumés that ARE set in
|
|
38
|
+
* black. Measured against a candidate's own PDF, the difference reads as a
|
|
39
|
+
* washed-out page rather than as a softer one.
|
|
40
|
+
*
|
|
41
|
+
* Safe to state absolutely here: this token colours TEXT and nothing else —
|
|
42
|
+
* one `color` declaration in this file. `meridian` deliberately keeps its
|
|
43
|
+
* near-black, because there the same token also FILLS a band, and pure black
|
|
44
|
+
* behind white text is a redesign of that template rather than a fidelity fix.
|
|
45
|
+
*/
|
|
46
|
+
--h-ink: #000000;
|
|
47
|
+
/*
|
|
48
|
+
* The DEFAULT body face, and it must name the supplied one first.
|
|
49
|
+
*
|
|
50
|
+
* A résumé whose owner never opened the typeface control has no `font` in its
|
|
51
|
+
* stored style, so nothing sets this variable inline and this literal is what
|
|
52
|
+
* draws the document. While it named only system families, the default
|
|
53
|
+
* document was drawn in whatever the reader's machine had — Helvetica Neue on
|
|
54
|
+
* macOS, Liberation Sans in the render container — so the screen and the
|
|
55
|
+
* exported file disagreed for every résumé that had not chosen a typeface,
|
|
56
|
+
* which is most of them. Same stack as `DOCUMENT_FONTS.times`, so the
|
|
57
|
+
* default and an explicit "Times" are the same document — the serif the
|
|
58
|
+
* Harvard OCS format is set in.
|
|
59
|
+
*/
|
|
60
|
+
--h-font: Tinos, 'Times New Roman', Times, Georgia, serif;
|
|
61
|
+
|
|
62
|
+
/*
|
|
63
|
+
* The accent, and the rhythm multiplier — `document-styling` (#36).
|
|
64
|
+
*
|
|
65
|
+
* `--h-accent` defaults to `currentColor` so an unstyled document renders
|
|
66
|
+
* byte-identically to what it rendered before the control existed: the rule
|
|
67
|
+
* takes the heading's own colour, which is what it always did. `--h-density`
|
|
68
|
+
* defaults to 1 for the same reason.
|
|
69
|
+
*/
|
|
70
|
+
--h-accent: currentColor;
|
|
71
|
+
--h-density: 1;
|
|
72
|
+
|
|
73
|
+
/*
|
|
74
|
+
* What ONE STEP of recorded space is worth here — `document-styling` (#36).
|
|
75
|
+
*
|
|
76
|
+
* A FIFTH of Harvard's own section gap, so a step is a nudge rather than
|
|
77
|
+
* another whole gap — the control is a drag, and a drag wants somewhere to
|
|
78
|
+
* land between two positions. Twenty of them is four section gaps, which is
|
|
79
|
+
* as much air as a page can spare.
|
|
80
|
+
*
|
|
81
|
+
* Measured against this template's rhythm rather than in millimetres, and it
|
|
82
|
+
* follows the type scale and the density for the same reason the gap it is
|
|
83
|
+
* measured against does: a document set tighter should not have its
|
|
84
|
+
* candidate-added air stay put while everything around it closes up.
|
|
85
|
+
*
|
|
86
|
+
* A template that set this differently would make the same stored token mean
|
|
87
|
+
* a different distance, which is exactly what the token is for.
|
|
88
|
+
*/
|
|
89
|
+
--tpl-space-unit: calc(2pt * var(--h-scale) * var(--h-density));
|
|
90
|
+
/*
|
|
91
|
+
* This template's own side margin, so a gap's knob can be placed just OUTSIDE
|
|
92
|
+
* the paper. `spacing.css` cannot know how wide a page's margin is, and a
|
|
93
|
+
* fixed number would put the knob inside the text on one template and off the
|
|
94
|
+
* canvas on another — so each template states its own.
|
|
95
|
+
*/
|
|
96
|
+
--tpl-space-margin: 0.55in;
|
|
97
|
+
--h-rule: var(--h-accent);
|
|
98
|
+
--h-paper: #ffffff;
|
|
99
|
+
--h-body: calc(10.5pt * var(--h-scale));
|
|
100
|
+
--h-lead: 1.22;
|
|
101
|
+
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
width: 8.5in;
|
|
104
|
+
padding: 0.5in 0.55in;
|
|
105
|
+
margin: 0 auto;
|
|
106
|
+
background: var(--h-paper);
|
|
107
|
+
color: var(--h-ink);
|
|
108
|
+
font-family: var(--h-font);
|
|
109
|
+
font-size: var(--h-body);
|
|
110
|
+
line-height: var(--h-lead);
|
|
111
|
+
text-align: left;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.tpl-harvard *,
|
|
115
|
+
.tpl-harvard *::before,
|
|
116
|
+
.tpl-harvard *::after {
|
|
117
|
+
box-sizing: inherit;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* A line's own ink, when it has been given one. Inherited by everything in the
|
|
121
|
+
block, so a coloured heading colours its rule too. */
|
|
122
|
+
.tpl-harvard [data-ink] {
|
|
123
|
+
color: var(--f-ink);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.tpl-harvard .is-bold {
|
|
127
|
+
font-weight: 700;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/*
|
|
131
|
+
* An aligned field becomes a BLOCK. `text-align` has no effect on an inline
|
|
132
|
+
* box — it aligns a block's inner lines — so a `<span>` carrying `is-center`
|
|
133
|
+
* would take the class and change nothing at all.
|
|
134
|
+
*/
|
|
135
|
+
.tpl-harvard .tpl-text.is-left,
|
|
136
|
+
.tpl-harvard .tpl-text.is-center,
|
|
137
|
+
.tpl-harvard .tpl-text.is-right {
|
|
138
|
+
display: block;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.tpl-harvard .tpl-text.is-left.tpl-grow,
|
|
142
|
+
.tpl-harvard .tpl-text.is-center.tpl-grow,
|
|
143
|
+
.tpl-harvard .tpl-text.is-right.tpl-grow {
|
|
144
|
+
/* The growing variant is a grid; keep that, it is what sizes the field. */
|
|
145
|
+
display: grid;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.tpl-harvard .is-left {
|
|
149
|
+
text-align: left;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.tpl-harvard .is-center {
|
|
153
|
+
text-align: center;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.tpl-harvard .is-right {
|
|
157
|
+
text-align: right;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* ── Header ─────────────────────────────────────────────────────────────── */
|
|
161
|
+
|
|
162
|
+
.tpl-harvard__head {
|
|
163
|
+
text-align: center;
|
|
164
|
+
margin-bottom: calc(12pt * var(--h-scale));
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.tpl-harvard__name {
|
|
168
|
+
margin: 0;
|
|
169
|
+
font-size: calc(17pt * var(--h-scale));
|
|
170
|
+
font-weight: 700;
|
|
171
|
+
line-height: 1.1;
|
|
172
|
+
letter-spacing: 0.03em;
|
|
173
|
+
text-transform: uppercase;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.tpl-harvard__headline {
|
|
177
|
+
margin: calc(2pt * var(--h-scale)) 0 0;
|
|
178
|
+
font-size: calc(11pt * var(--h-scale));
|
|
179
|
+
font-weight: 400;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.tpl-harvard__contact {
|
|
183
|
+
margin: calc(3pt * var(--h-scale)) 0 0;
|
|
184
|
+
font-size: calc(10pt * var(--h-scale));
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* The separator is drawn, not typed, so a missing detail cannot leave a stray
|
|
188
|
+
bar behind it. */
|
|
189
|
+
.tpl-harvard__contact-item + .tpl-harvard__contact-item::before,
|
|
190
|
+
/*
|
|
191
|
+
* …including before the control that ADDS the first link, which is a sibling in
|
|
192
|
+
* this line but not a contact item — it is emitted by the collection, which
|
|
193
|
+
* cannot know what this template calls the things in its own contact row. So
|
|
194
|
+
* the rule that owns the separator names it, rather than the collection
|
|
195
|
+
* learning a Harvard class. Without this the invitation sat flush against the
|
|
196
|
+
* phone number: "Phone numberAdd links".
|
|
197
|
+
*/
|
|
198
|
+
.tpl-harvard__contact-item + .tpl-collection__add-inline::before {
|
|
199
|
+
content: '\2022';
|
|
200
|
+
margin: 0 calc(6pt * var(--h-scale));
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* ── Sections ───────────────────────────────────────────────────────────── */
|
|
204
|
+
|
|
205
|
+
.tpl-harvard__section {
|
|
206
|
+
/* The template's own rhythm, plus whatever space the candidate asked for
|
|
207
|
+
above this section. Absent means zero, so an untouched document is
|
|
208
|
+
unchanged — `spacing.css`. */
|
|
209
|
+
margin-top: calc(
|
|
210
|
+
10pt * var(--h-scale) * var(--h-density) + var(--tpl-space-height, 0px)
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.tpl-harvard__section-title {
|
|
215
|
+
margin: 0 0 calc(4pt * var(--h-scale));
|
|
216
|
+
padding-bottom: calc(1.5pt * var(--h-scale));
|
|
217
|
+
border-bottom: 0.75pt solid var(--h-rule);
|
|
218
|
+
font-size: calc(11pt * var(--h-scale));
|
|
219
|
+
font-weight: 700;
|
|
220
|
+
line-height: 1.2;
|
|
221
|
+
letter-spacing: 0.02em;
|
|
222
|
+
text-transform: uppercase;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.tpl-harvard__summary {
|
|
226
|
+
margin: 0;
|
|
227
|
+
text-align: justify;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/* A summary the candidate aligned is aligned; justification is only the default. */
|
|
231
|
+
.tpl-harvard__summary:has(.is-left, .is-center, .is-right) {
|
|
232
|
+
text-align: unset;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/* ── Experience & education entries ─────────────────────────────────────── */
|
|
236
|
+
|
|
237
|
+
.tpl-harvard__entry {
|
|
238
|
+
margin-top: calc(
|
|
239
|
+
7pt * var(--h-scale) * var(--h-density) + var(--tpl-space-height, 0px)
|
|
240
|
+
);
|
|
241
|
+
/* Never strand an entry's heading at the foot of a page — the same rule the
|
|
242
|
+
on-screen paginator applies, so the two agree. */
|
|
243
|
+
break-inside: avoid;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.tpl-harvard__entry:first-of-type {
|
|
247
|
+
margin-top: calc(
|
|
248
|
+
4pt * var(--h-scale) * var(--h-density) + var(--tpl-space-height, 0px)
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.tpl-harvard__entry-head {
|
|
253
|
+
display: grid;
|
|
254
|
+
grid-template-columns: 1fr auto;
|
|
255
|
+
column-gap: calc(12pt * var(--h-scale));
|
|
256
|
+
break-after: avoid;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.tpl-harvard__org {
|
|
260
|
+
font-weight: 700;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.tpl-harvard__role,
|
|
264
|
+
.tpl-harvard__where,
|
|
265
|
+
.tpl-harvard__dates {
|
|
266
|
+
font-weight: 400;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* The OCS format sets the position in italics under the bold employer. */
|
|
270
|
+
.tpl-harvard__role {
|
|
271
|
+
font-style: italic;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.tpl-harvard__where,
|
|
275
|
+
.tpl-harvard__dates {
|
|
276
|
+
text-align: right;
|
|
277
|
+
white-space: nowrap;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* ── Bullets ────────────────────────────────────────────────────────────── */
|
|
281
|
+
|
|
282
|
+
.tpl-harvard .tpl-bullets {
|
|
283
|
+
margin: calc(2pt * var(--h-scale)) 0 0;
|
|
284
|
+
padding: 0 0 0 calc(12pt * var(--h-scale));
|
|
285
|
+
list-style: none;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.tpl-harvard .tpl-bullet {
|
|
289
|
+
/*
|
|
290
|
+
* The marker column, named so the drag handle can sit centred in it.
|
|
291
|
+
*
|
|
292
|
+
* `template-node.css` draws the handle for every template and cannot know how
|
|
293
|
+
* wide this one's gutter is — so the stylesheet that DECIDES the width is the
|
|
294
|
+
* one that states it. Repeating the value would be two places to disagree,
|
|
295
|
+
* which is why it is the same expression rather than a rounded copy.
|
|
296
|
+
*/
|
|
297
|
+
--tpl-marker: calc(10pt * var(--h-scale));
|
|
298
|
+
|
|
299
|
+
/* Hanging indent: a wrapped line aligns with the text above it, not with the
|
|
300
|
+
marker. Grid does it exactly, where `padding-left` only does it roughly. */
|
|
301
|
+
display: grid;
|
|
302
|
+
grid-template-columns: calc(10pt * var(--h-scale)) 1fr;
|
|
303
|
+
margin-top: calc(1pt * var(--h-scale));
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.tpl-harvard .tpl-bullet::before {
|
|
307
|
+
content: '•';
|
|
308
|
+
line-height: inherit;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* ── Skills ─────────────────────────────────────────────────────────────── */
|
|
312
|
+
|
|
313
|
+
/*
|
|
314
|
+
* Skills are LINES, not a table, and the difference is the whole of this rule.
|
|
315
|
+
*
|
|
316
|
+
* A category and its skills sit on one line — "Backend: Node.js, TypeScript,
|
|
317
|
+
* …" — and a line too long for the page wraps back to the LEFT MARGIN, level
|
|
318
|
+
* with the category above it. Ordinary text flow, which is the point: no grid,
|
|
319
|
+
* no columns, no indent.
|
|
320
|
+
*
|
|
321
|
+
* Two shapes were tried here and both were worse. A per-row grid of
|
|
322
|
+
* `auto 1fr` gave each row a hanging indent measured from its own category, so
|
|
323
|
+
* eight rows had eight different left edges and the section read as text
|
|
324
|
+
* indented by hand. One grid over the whole list fixed the alignment by making
|
|
325
|
+
* it a real two-column table — and bought a column of dead space beside every
|
|
326
|
+
* short category, and cells, which is exactly the structure that makes a
|
|
327
|
+
* résumé hard for a parser to read linearly.
|
|
328
|
+
*
|
|
329
|
+
* Flowing text has neither problem. It is the densest use of the page, it reads
|
|
330
|
+
* top to bottom in one pass, and what a parser extracts is the order the words
|
|
331
|
+
* are written in. The space between the category and its skills is a REAL
|
|
332
|
+
* space in the markup rather than a gap made of CSS, for the same reason: what
|
|
333
|
+
* is extracted has to say "Backend: Node.js", not "Backend:Node.js".
|
|
334
|
+
*/
|
|
335
|
+
.tpl-harvard__skills {
|
|
336
|
+
margin: 0;
|
|
337
|
+
padding: 0;
|
|
338
|
+
list-style: none;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.tpl-harvard__skill-group {
|
|
342
|
+
margin-top: calc(1.5pt * var(--h-scale));
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.tpl-harvard__skill-group[data-entry] {
|
|
346
|
+
--tpl-ring-room: 6px;
|
|
347
|
+
--tpl-ring-y: 1px;
|
|
348
|
+
--tpl-ring-radius: 6px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/*
|
|
352
|
+
* The category never breaks across two lines. It is a name, and half a name at
|
|
353
|
+
* the end of a line is the one break in this section that would read as an
|
|
354
|
+
* accident rather than as prose running on.
|
|
355
|
+
*/
|
|
356
|
+
.tpl-harvard__skill-label {
|
|
357
|
+
font-weight: 700;
|
|
358
|
+
white-space: nowrap;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/* ── Languages ──────────────────────────────────────────────────────────── */
|
|
362
|
+
|
|
363
|
+
/*
|
|
364
|
+
* "English (Fluent)": the OCS format avoids rating marks, so the meter is not
|
|
365
|
+
* drawn and the level word is the whole of the level.
|
|
366
|
+
*/
|
|
367
|
+
.tpl-harvard__languages .tpl-language {
|
|
368
|
+
display: block;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.tpl-harvard__languages .tpl-language__name {
|
|
372
|
+
font-weight: 700;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.tpl-harvard__languages .tpl-language__level,
|
|
376
|
+
.tpl-harvard__languages .tpl-language__choice {
|
|
377
|
+
font-size: inherit;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.tpl-harvard__languages .tpl-language__level:not(:empty)::before {
|
|
381
|
+
content: ' (';
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.tpl-harvard__languages .tpl-language__level:not(:empty)::after {
|
|
385
|
+
content: ')';
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.tpl-harvard__languages .tpl-language__choice {
|
|
389
|
+
margin-left: 0.5em;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.tpl-harvard__languages .tpl-language__meter {
|
|
393
|
+
display: none;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/* ── Certifications ─────────────────────────────────────────────────────── */
|
|
397
|
+
|
|
398
|
+
.tpl-harvard__inline-list {
|
|
399
|
+
margin: 0;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* ── Print ──────────────────────────────────────────────────────────────── */
|
|
403
|
+
|
|
404
|
+
@page {
|
|
405
|
+
size: letter;
|
|
406
|
+
/* The document carries its own margins, so the page adds none — otherwise the
|
|
407
|
+
0.5in above would compound with the browser's default half-inch. */
|
|
408
|
+
margin: 0;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
@media print {
|
|
412
|
+
.tpl-harvard {
|
|
413
|
+
width: auto;
|
|
414
|
+
min-height: 0;
|
|
415
|
+
margin: 0;
|
|
416
|
+
box-shadow: none;
|
|
417
|
+
print-color-adjust: exact;
|
|
418
|
+
-webkit-print-color-adjust: exact;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/*
|
|
423
|
+
* The supporting sections — achievements, courses, passions, languages.
|
|
424
|
+
*
|
|
425
|
+
* The SHAPE is `kit/described.css` and `kit/language.css`; this block is only
|
|
426
|
+
* this template's painting of it, which is the division the contract asks for.
|
|
427
|
+
* Each value is the one already used by the sections beside them, so the four
|
|
428
|
+
* arrive looking like they were always here.
|
|
429
|
+
*/
|
|
430
|
+
.tpl-harvard {
|
|
431
|
+
--tpl-described-gap: calc(7pt * var(--h-scale));
|
|
432
|
+
--tpl-described-lead: calc(1.5pt * var(--h-scale));
|
|
433
|
+
--tpl-described-title-ink: var(--h-accent);
|
|
434
|
+
--tpl-described-span: calc(14pt * var(--h-scale));
|
|
435
|
+
--tpl-language-lead: calc(1.5pt * var(--h-scale));
|
|
436
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ResumeObject } from '@resumekit/schema';
|
|
2
|
+
export interface HipsterDocumentProps {
|
|
3
|
+
resume: ResumeObject;
|
|
4
|
+
}
|
|
5
|
+
export declare function HipsterDocument({ resume }: HipsterDocumentProps): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=HipsterDocument.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HipsterDocument.d.ts","sourceRoot":"","sources":["../../../src/templates/hipster/HipsterDocument.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAsBtD,OAAO,sBAAsB,CAAC;AAC9B,OAAO,6BAA6B,CAAC;AACrC,OAAO,eAAe,CAAC;AAGvB,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BA4P/D"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useDocumentStyle } from '../../presentation-context.js';
|
|
3
|
+
import { useAuthoring } from '../../collections/authoring-context.js';
|
|
4
|
+
import { EditableText } from '../../nodes/EditableText.js';
|
|
5
|
+
import { EditableBulletList } from '../../nodes/EditableBulletList.js';
|
|
6
|
+
import { CustomSections } from '../../nodes/CustomSections.js';
|
|
7
|
+
import { Collection } from '../../collections/Collection.js';
|
|
8
|
+
import { DocumentSection } from '../../kit/DocumentSection.js';
|
|
9
|
+
import { DescribedEntries } from '../../kit/DescribedEntries.js';
|
|
10
|
+
import { LanguageList } from '../../kit/LanguageList.js';
|
|
11
|
+
import { TagSkillGroup } from '../../kit/TagSkillGroup.js';
|
|
12
|
+
import { InitialsAvatar } from '../../kit/InitialsAvatar.js';
|
|
13
|
+
import { nameParts } from '../../kit/textShapes.js';
|
|
14
|
+
import { useContactLines } from '../../kit/contact.js';
|
|
15
|
+
import { documentStyle } from '../../kit/documentStyle.js';
|
|
16
|
+
import { Heading } from '../../kit/Heading.js';
|
|
17
|
+
import { LinkField } from '../../nodes/LinkField.js';
|
|
18
|
+
import { HipsterCustomEntry, HipsterEducationEntry, HipsterExperienceEntry, } from './entries.js';
|
|
19
|
+
import '../../kit/layout.css';
|
|
20
|
+
import '../../kit/contact-icons.css';
|
|
21
|
+
import './hipster.css';
|
|
22
|
+
import { useEditorText, useDocumentText } from '../../i18n/index.js';
|
|
23
|
+
export function HipsterDocument({ resume }) {
|
|
24
|
+
const { placeholder } = useEditorText();
|
|
25
|
+
const doc = useDocumentText();
|
|
26
|
+
const style = useDocumentStyle();
|
|
27
|
+
const authoring = useAuthoring() !== null;
|
|
28
|
+
const contact = useContactLines(resume.contact, ['location', 'phone', 'email'], authoring);
|
|
29
|
+
return (_jsxs("article", { className: "tpl-hipster", style: documentStyle('hp', style), "aria-label": doc.t.resume, lang: doc.locale, children: [_jsxs("header", { className: "tpl-hipster__head", "data-block": true, children: [_jsx(Heading, { level: 1, className: "tpl-hipster__name", children: _jsx(EditableText, { path: "name", value: resume.name, shape: nameParts('tpl-hipster__name-first', 'tpl-hipster__name-last') }) }), (resume.headline || authoring) && (_jsx("p", { className: "tpl-hipster__headline", children: _jsx(EditableText, { path: "headline", value: resume.headline ?? '', placeholder: placeholder('headline') }) }))] }), _jsxs("div", { className: "tpl-hipster__body tpl-sheet-tall", "data-layout": "row", children: [_jsxs("aside", { className: "tpl-hipster__aside", "data-flow": true, children: [_jsx(InitialsAvatar, { name: resume.name, className: "tpl-hipster__avatar" }), (resume.summary || authoring) && (_jsx(DocumentSection, { id: "summary", heading: resume.section_headings?.summary, title: doc.t.sections.summary, className: "tpl-hipster__section", headingClassName: "tpl-hipster__heading", children: _jsx("p", { className: "tpl-hipster__prose", "data-block": true, children: _jsx(EditableText, { path: "summary", value: resume.summary ?? '', placeholder: placeholder('summary'), multiline: true }) }) })), (contact.length > 0 || resume.links.length > 0 || authoring) && (_jsxs("section", { className: "tpl-hipster__section", children: [_jsx(Heading, { level: 2, className: "tpl-hipster__heading", "data-block": true, "data-keep-with-next": true, children: doc.t.panels.contacts }), (contact.length > 0 || resume.links.length > 0 || authoring) && (_jsxs("div", { className: "tpl-hipster__contact tpl-contact-icons", children: [contact.map(({ field, path, value, placeholder }) => (_jsx("p", { className: `tpl-hipster__contact-item tpl-contact--${field}`, children: _jsx(EditableText, { path: path, value: value, placeholder: placeholder }) }, path))), _jsx(Collection, { section: "links", items: resume.links, gap: false, emptyAdd: "inline", children: ({ item, path, chrome, itemProps, justAdded }) => (_jsx("p", { className: "tpl-hipster__contact-item tpl-contact--link", children: _jsxs("span", { ...itemProps, children: [chrome, _jsx(LinkField, { item: item, path: path, justAdded: justAdded })] }) })) })] }))] })), _jsx(DescribedEntries, { id: "passions", heading: resume.section_headings?.passions, title: doc.t.sections.interests, className: "tpl-hipster__section", headingClassName: "tpl-hipster__heading", items: resume.passions, entryClassName: "tpl-hipster__described" })] }), _jsxs("div", { className: "tpl-hipster__main", "data-flow": true, children: [(resume.experience.length > 0 || authoring) && (_jsx(DocumentSection, { id: "experience", heading: resume.section_headings?.experience, title: doc.t.sections.experience, className: "tpl-hipster__section tpl-hipster__spine", headingClassName: "tpl-hipster__heading", children: _jsx(Collection, { section: "experience", items: resume.experience, children: ({ item, path, chrome, itemProps }) => (_jsx(HipsterExperienceEntry, { item: item, path: path, chrome: chrome, itemProps: itemProps })) }) })), (resume.education.length > 0 || authoring) && (_jsx(DocumentSection, { id: "education", heading: resume.section_headings?.education, title: doc.t.sections.education, className: "tpl-hipster__section", headingClassName: "tpl-hipster__heading", children: _jsx(Collection, { section: "education", items: resume.education, children: ({ item, path, chrome, itemProps }) => (_jsx(HipsterEducationEntry, { item: item, path: path, chrome: chrome, itemProps: itemProps })) }) })), _jsx(DescribedEntries, { id: "achievements", heading: resume.section_headings?.achievements, title: doc.t.sections.achievements, className: "tpl-hipster__section", headingClassName: "tpl-hipster__heading", items: resume.achievements, entryClassName: "tpl-hipster__described" }), _jsx(DescribedEntries, { id: "courses", heading: resume.section_headings?.courses, title: doc.t.sections.courses, className: "tpl-hipster__section", headingClassName: "tpl-hipster__heading", items: resume.courses, entryClassName: "tpl-hipster__described" }), _jsx(CustomSections, { sections: resume.custom_sections, sectionClass: "tpl-hipster__section", headingClass: "tpl-hipster__heading", Entry: HipsterCustomEntry }), _jsxs("div", { className: "tpl-hipster__pair", "data-layout": "row", children: [_jsxs("div", { className: "tpl-hipster__half", "data-flow": true, children: [(resume.certifications.length > 0 || authoring) && (_jsx(DocumentSection, { id: "certifications", heading: resume.section_headings?.certifications, title: doc.t.sections.certifications, className: "tpl-hipster__section", headingClassName: "tpl-hipster__heading", children: _jsx("div", { "data-block": true, "data-split": true, children: _jsx(EditableBulletList, { path: "certifications", items: resume.certifications, placeholder: placeholder('certification') }) }) })), _jsx(LanguageList, { items: resume.languages, heading: resume.section_headings?.languages, className: "tpl-hipster__section", headingClassName: "tpl-hipster__heading", rowClassName: "tpl-hipster__language" })] }), _jsx("div", { className: "tpl-hipster__half", "data-flow": true, children: (resume.skills.length > 0 || authoring) && (_jsx(DocumentSection, { id: "skills", heading: resume.section_headings?.skills, title: doc.t.sections.skills, className: "tpl-hipster__section", headingClassName: "tpl-hipster__heading", children: _jsx("div", { className: "tpl-skill-tags", children: _jsx(Collection, { section: "skills", items: resume.skills, children: ({ item, path, chrome, itemProps }) => (_jsx(TagSkillGroup, { item: item, path: path, chrome: chrome, itemProps: itemProps })) }) }) })) })] })] })] })] }));
|
|
30
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ItemRootProps } from '../../collections/CollectionItems.js';
|
|
3
|
+
import { type CustomEntry, type Education, type Experience } from '@resumekit/schema';
|
|
4
|
+
export declare function HipsterExperienceEntry({ item, path, chrome, itemProps, }: {
|
|
5
|
+
item: Experience;
|
|
6
|
+
path: string;
|
|
7
|
+
chrome: ReactNode;
|
|
8
|
+
itemProps: ItemRootProps;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
|
+
export declare function HipsterEducationEntry({ item, path, chrome, itemProps, }: {
|
|
11
|
+
item: Education;
|
|
12
|
+
path: string;
|
|
13
|
+
chrome: ReactNode;
|
|
14
|
+
itemProps: ItemRootProps;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
|
+
export declare function HipsterCustomEntry({ item, path, chrome, itemProps, }: {
|
|
17
|
+
item: CustomEntry;
|
|
18
|
+
path: string;
|
|
19
|
+
chrome: ReactNode;
|
|
20
|
+
itemProps: ItemRootProps;
|
|
21
|
+
}): import("react").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=entries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../../src/templates/hipster/entries.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,UAAU,EAChB,MAAM,mBAAmB,CAAC;AAM3B,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,GACV,EAAE;IACD,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,aAAa,CAAC;CAC1B,+BA+CA;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,GACV,EAAE;IACD,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,aAAa,CAAC;CAC1B,+BAoDA;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,GACV,EAAE;IACD,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,aAAa,CAAC;CAC1B,+BAwBA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { EditableText } from '../../nodes/EditableText.js';
|
|
3
|
+
import { EditableBulletList } from '../../nodes/EditableBulletList.js';
|
|
4
|
+
import { useEditorText } from '../../i18n/index.js';
|
|
5
|
+
import { Separator } from '../../kit/Separator.js';
|
|
6
|
+
export function HipsterExperienceEntry({ item, path, chrome, itemProps, }) {
|
|
7
|
+
const { placeholder } = useEditorText();
|
|
8
|
+
return (_jsxs("article", { ...itemProps, className: "tpl-hipster__entry", "data-block": true, children: [chrome, _jsxs("p", { className: "tpl-hipster__when", children: [_jsx(EditableText, { path: `${path}.start`, value: item.start, placeholder: placeholder('start') }), '–', _jsx(EditableText, { path: `${path}.end`, value: item.end, placeholder: placeholder('end') })] }), _jsxs("div", { className: "tpl-hipster__event", children: [_jsx("p", { className: "tpl-hipster__title", children: _jsx(EditableText, { path: `${path}.title`, value: item.title, placeholder: placeholder('title') }) }), _jsxs("p", { className: "tpl-hipster__meta", children: [_jsx("span", { className: "tpl-hipster__org", children: _jsx(EditableText, { path: `${path}.company`, value: item.company, placeholder: placeholder('company') }) }), _jsx(Separator, { between: [item.company, item.location], text: " \u00B7 " }), _jsx("span", { className: "tpl-hipster__place", children: _jsx(EditableText, { path: `${path}.location`, value: item.location ?? '', placeholder: placeholder('location') }) })] }), _jsx(EditableBulletList, { path: `${path}.bullets`, items: item.bullets })] })] }));
|
|
9
|
+
}
|
|
10
|
+
export function HipsterEducationEntry({ item, path, chrome, itemProps, }) {
|
|
11
|
+
const { placeholder } = useEditorText();
|
|
12
|
+
return (_jsxs("article", { ...itemProps, className: "tpl-hipster__entry", "data-block": true, children: [chrome, _jsxs("p", { className: "tpl-hipster__when", children: [_jsx(EditableText, { path: `${path}.start`, value: item.start ?? '', placeholder: placeholder('start') }), _jsx(Separator, { between: [item.start, item.end], text: "\u2013" }), _jsx(EditableText, { path: `${path}.end`, value: item.end ?? '', placeholder: placeholder('end') })] }), _jsxs("div", { className: "tpl-hipster__event", children: [_jsxs("p", { className: "tpl-hipster__title", children: [_jsx(EditableText, { path: `${path}.degree`, value: item.degree ?? '', placeholder: placeholder('degree') }), _jsx(Separator, { between: [item.degree, item.field], word: "degreeField" }), _jsx(EditableText, { path: `${path}.field`, value: item.field ?? '', placeholder: placeholder('field') })] }), _jsxs("p", { className: "tpl-hipster__meta", children: [_jsx("span", { className: "tpl-hipster__school", children: _jsx(EditableText, { path: `${path}.school`, value: item.school, placeholder: placeholder('school') }) }), _jsx(Separator, { between: [item.school, item.location], text: " \u00B7 " }), _jsx("span", { className: "tpl-hipster__place", children: _jsx(EditableText, { path: `${path}.location`, value: item.location ?? '', placeholder: placeholder('location') }) })] })] })] }));
|
|
13
|
+
}
|
|
14
|
+
export function HipsterCustomEntry({ item, path, chrome, itemProps, }) {
|
|
15
|
+
const { placeholder } = useEditorText();
|
|
16
|
+
return (_jsxs("article", { ...itemProps, className: "tpl-hipster__entry", "data-block": true, children: [chrome, _jsxs("div", { className: "tpl-hipster__event", children: [_jsx("p", { className: "tpl-hipster__title", children: _jsx(EditableText, { path: `${path}.title`, value: item.title, placeholder: placeholder('heading') }) }), _jsx("p", { className: "tpl-hipster__meta", children: _jsx(EditableText, { path: `${path}.detail`, value: item.detail ?? '', placeholder: placeholder('detail') }) }), _jsx(EditableBulletList, { path: `${path}.bullets`, items: item.bullets })] })] }));
|
|
17
|
+
}
|