@jsonresume/core 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.
Files changed (279) hide show
  1. package/README.md +689 -0
  2. package/dist/resume-print.css +425 -0
  3. package/dist/tokens.css +139 -0
  4. package/package.json +66 -0
  5. package/src/badges/BadgeRowOutline.jsx +118 -0
  6. package/src/badges/BadgeRowOutline.stories.tsx +160 -0
  7. package/src/badges/index.jsx +5 -0
  8. package/src/callouts/Callout.jsx +80 -0
  9. package/src/callouts/Callout.stories.tsx +27 -0
  10. package/src/callouts/HighlightCard.jsx +114 -0
  11. package/src/callouts/HighlightCard.stories.tsx +27 -0
  12. package/src/callouts/InfoBox.jsx +82 -0
  13. package/src/callouts/InfoBox.stories.tsx +26 -0
  14. package/src/callouts/index.jsx +4 -0
  15. package/src/certifications/AwardCard.jsx +83 -0
  16. package/src/certifications/AwardCard.stories.tsx +32 -0
  17. package/src/certifications/CertificationBadge.jsx +85 -0
  18. package/src/certifications/CertificationBadge.stories.tsx +29 -0
  19. package/src/certifications/CertificationRow.jsx +150 -0
  20. package/src/certifications/CertificationRow.stories.tsx +64 -0
  21. package/src/certifications/HonorsList.jsx +87 -0
  22. package/src/certifications/HonorsList.stories.tsx +36 -0
  23. package/src/certifications/index.jsx +5 -0
  24. package/src/containers/AccentCalloutPanel.jsx +176 -0
  25. package/src/containers/AccentCalloutPanel.stories.tsx +105 -0
  26. package/src/containers/MutedPanel.jsx +125 -0
  27. package/src/containers/MutedPanel.stories.tsx +113 -0
  28. package/src/containers/RoleBlockFramed.jsx +191 -0
  29. package/src/containers/RoleBlockFramed.stories.tsx +230 -0
  30. package/src/containers/SoftCardOutline.jsx +161 -0
  31. package/src/containers/SoftCardOutline.stories.tsx +174 -0
  32. package/src/containers/index.jsx +9 -0
  33. package/src/data/KPIChipLine.jsx +158 -0
  34. package/src/data/KPIChipLine.stories.tsx +99 -0
  35. package/src/data/KeyValueInline.jsx +150 -0
  36. package/src/data/KeyValueInline.stories.tsx +136 -0
  37. package/src/data/MetricBar.jsx +93 -0
  38. package/src/data/MetricBar.stories.tsx +31 -0
  39. package/src/data/MetricBullet.jsx +129 -0
  40. package/src/data/MetricBullet.stories.tsx +99 -0
  41. package/src/data/MetricInline.jsx +60 -0
  42. package/src/data/MetricInline.stories.tsx +53 -0
  43. package/src/data/ProgressCircle.jsx +81 -0
  44. package/src/data/ProgressCircle.stories.tsx +102 -0
  45. package/src/data/StatCard.jsx +65 -0
  46. package/src/data/StatCard.stories.tsx +29 -0
  47. package/src/data/index.jsx +12 -0
  48. package/src/dates/DateBadge.jsx +73 -0
  49. package/src/dates/DateBadge.stories.tsx +30 -0
  50. package/src/dates/RelativeDate.jsx +121 -0
  51. package/src/dates/RelativeDate.stories.tsx +29 -0
  52. package/src/dates/index.jsx +3 -0
  53. package/src/experience/ExperienceCard.jsx +82 -0
  54. package/src/experience/ExperienceCard.stories.tsx +36 -0
  55. package/src/experience/ExperienceCompact.jsx +72 -0
  56. package/src/experience/ExperienceCompact.stories.tsx +53 -0
  57. package/src/experience/ExperienceGrid.jsx +65 -0
  58. package/src/experience/ExperienceGrid.stories.tsx +63 -0
  59. package/src/experience/ExperienceTimeline.jsx +24 -0
  60. package/src/experience/ExperienceTimeline.stories.tsx +63 -0
  61. package/src/experience/RoleHeaderCompact.jsx +99 -0
  62. package/src/experience/index.jsx +9 -0
  63. package/src/header/ContactRowLine.jsx +125 -0
  64. package/src/header/ContactRowLine.stories.tsx +65 -0
  65. package/src/header/CornerInitials.jsx +178 -0
  66. package/src/header/CornerInitials.stories.tsx +129 -0
  67. package/src/header/Footer.jsx +50 -0
  68. package/src/header/Footer.stories.tsx +25 -0
  69. package/src/header/HeaderCentered.jsx +51 -0
  70. package/src/header/HeaderCentered.stories.tsx +30 -0
  71. package/src/header/HeaderMinimal.jsx +50 -0
  72. package/src/header/HeaderMinimal.stories.tsx +29 -0
  73. package/src/header/HeaderSplit.jsx +65 -0
  74. package/src/header/HeaderSplit.stories.tsx +29 -0
  75. package/src/header/HeroNameBlock.jsx +71 -0
  76. package/src/header/HeroNameBlock.stories.tsx +37 -0
  77. package/src/header/NameStackElegant.jsx +104 -0
  78. package/src/header/NameStackElegant.stories.tsx +60 -0
  79. package/src/header/PageBreak.jsx +25 -0
  80. package/src/header/PageBreak.stories.tsx +22 -0
  81. package/src/header/SectionFlagTitle.jsx +87 -0
  82. package/src/header/SectionFlagTitle.stories.tsx +53 -0
  83. package/src/header/SectionRuleTitle.jsx +84 -0
  84. package/src/header/SectionRuleTitle.stories.tsx +52 -0
  85. package/src/header/index.jsx +18 -0
  86. package/src/helpers/calculations.js +428 -0
  87. package/src/index.js +253 -0
  88. package/src/languages/LanguageBar.jsx +90 -0
  89. package/src/languages/LanguageBar.stories.tsx +28 -0
  90. package/src/languages/LanguageGrid.jsx +118 -0
  91. package/src/languages/LanguageGrid.stories.tsx +33 -0
  92. package/src/languages/LanguageLevelBarLite.jsx +147 -0
  93. package/src/languages/LanguageLevelBarLite.stories.tsx +74 -0
  94. package/src/languages/ProficiencyScale.jsx +107 -0
  95. package/src/languages/ProficiencyScale.stories.tsx +30 -0
  96. package/src/languages/index.jsx +5 -0
  97. package/src/layouts/CardLayout.jsx +46 -0
  98. package/src/layouts/CardLayout.stories.tsx +272 -0
  99. package/src/layouts/FlexLayout.jsx +53 -0
  100. package/src/layouts/FlexLayout.stories.tsx +270 -0
  101. package/src/layouts/GridLayout.jsx +38 -0
  102. package/src/layouts/GridLayout.stories.tsx +183 -0
  103. package/src/layouts/SidebarLayout.jsx +63 -0
  104. package/src/layouts/SidebarLayout.stories.tsx +162 -0
  105. package/src/layouts/StackLayout.jsx +26 -0
  106. package/src/layouts/StackLayout.stories.tsx +192 -0
  107. package/src/layouts/TwoColumnMicroGrid.jsx +87 -0
  108. package/src/layouts/TwoColumnMicroGrid.stories.tsx +96 -0
  109. package/src/layouts/index.jsx +11 -0
  110. package/src/lists/AchievementListSpacious.jsx +81 -0
  111. package/src/lists/AchievementListSpacious.stories.tsx +49 -0
  112. package/src/lists/AchievementListTight.jsx +80 -0
  113. package/src/lists/AchievementListTight.stories.tsx +49 -0
  114. package/src/lists/BulletList.jsx +66 -0
  115. package/src/lists/BulletList.stories.tsx +38 -0
  116. package/src/lists/CheckList.jsx +94 -0
  117. package/src/lists/CheckList.stories.tsx +38 -0
  118. package/src/lists/CompactList.jsx +90 -0
  119. package/src/lists/CompactList.stories.tsx +34 -0
  120. package/src/lists/DefinitionKeyline.jsx +114 -0
  121. package/src/lists/DefinitionKeyline.stories.tsx +90 -0
  122. package/src/lists/HangingBulletList.jsx +82 -0
  123. package/src/lists/HangingBulletList.stories.tsx +50 -0
  124. package/src/lists/IconList.jsx +89 -0
  125. package/src/lists/IconList.stories.tsx +36 -0
  126. package/src/lists/ListDashCompact.jsx +69 -0
  127. package/src/lists/ListDashCompact.stories.tsx +60 -0
  128. package/src/lists/MiniDotLeaderList.jsx +69 -0
  129. package/src/lists/MiniDotLeaderList.stories.tsx +73 -0
  130. package/src/lists/NumberedList.jsx +74 -0
  131. package/src/lists/NumberedList.stories.tsx +39 -0
  132. package/src/lists/index.jsx +12 -0
  133. package/src/metadata/GreyLabelCaps.jsx +66 -0
  134. package/src/metadata/GreyLabelCaps.stories.tsx +40 -0
  135. package/src/metadata/InlineKicker.jsx +61 -0
  136. package/src/metadata/InlineKicker.stories.tsx +35 -0
  137. package/src/metadata/MetaRow.jsx +96 -0
  138. package/src/metadata/MetaRow.stories.tsx +38 -0
  139. package/src/metadata/SmallCapsHeading.jsx +75 -0
  140. package/src/metadata/SmallCapsHeading.stories.tsx +54 -0
  141. package/src/metadata/SubsectionLabel.jsx +92 -0
  142. package/src/metadata/SubsectionLabel.stories.tsx +40 -0
  143. package/src/metadata/index.jsx +10 -0
  144. package/src/primitives/AccentSidebarStripe.stories.tsx +65 -0
  145. package/src/primitives/AccentSidebarStripe.tsx +95 -0
  146. package/src/primitives/AccentTopRule.stories.tsx +102 -0
  147. package/src/primitives/AccentTopRule.tsx +103 -0
  148. package/src/primitives/Badge.jsx +125 -0
  149. package/src/primitives/Badge.stories.tsx +27 -0
  150. package/src/primitives/ContactInfo.jsx +133 -0
  151. package/src/primitives/ContactInfo.stories.tsx +30 -0
  152. package/src/primitives/DIVIDERS.md +333 -0
  153. package/src/primitives/DateRange.jsx +178 -0
  154. package/src/primitives/DateRange.stories.tsx +28 -0
  155. package/src/primitives/DottedDivider.stories.tsx +54 -0
  156. package/src/primitives/DottedDivider.tsx +102 -0
  157. package/src/primitives/InlineSeparatorPipe.jsx +64 -0
  158. package/src/primitives/InlineSeparatorPipe.stories.tsx +96 -0
  159. package/src/primitives/KeylineDivider.stories.tsx +48 -0
  160. package/src/primitives/KeylineDivider.tsx +80 -0
  161. package/src/primitives/Link.jsx +59 -0
  162. package/src/primitives/Link.stories.tsx +29 -0
  163. package/src/primitives/ListItem.jsx +127 -0
  164. package/src/primitives/ListItem.stories.tsx +27 -0
  165. package/src/primitives/RulesetStack.stories.tsx +85 -0
  166. package/src/primitives/RulesetStack.tsx +117 -0
  167. package/src/primitives/Section.jsx +37 -0
  168. package/src/primitives/Section.stories.tsx +28 -0
  169. package/src/primitives/SectionTitle.jsx +62 -0
  170. package/src/primitives/SectionTitle.stories.tsx +27 -0
  171. package/src/primitives/index.jsx +36 -0
  172. package/src/print/ColumnBreak.jsx +44 -0
  173. package/src/print/ColumnBreak.stories.tsx +22 -0
  174. package/src/print/KeepTogether.jsx +24 -0
  175. package/src/print/KeepTogether.stories.tsx +26 -0
  176. package/src/print/LetterheadBar.jsx +100 -0
  177. package/src/print/LetterheadBar.stories.tsx +141 -0
  178. package/src/print/PageFooterLine.jsx +93 -0
  179. package/src/print/PageFooterLine.stories.tsx +121 -0
  180. package/src/print/PageHeaderLine.jsx +59 -0
  181. package/src/print/PageHeaderLine.stories.tsx +108 -0
  182. package/src/print/PrintOnly.jsx +49 -0
  183. package/src/print/PrintOnly.stories.tsx +26 -0
  184. package/src/print/SoftShadowEmulation.jsx +88 -0
  185. package/src/print/SoftShadowEmulation.stories.tsx +214 -0
  186. package/src/print/index.jsx +8 -0
  187. package/src/profile/Avatar.jsx +66 -0
  188. package/src/profile/Avatar.stories.tsx +84 -0
  189. package/src/profile/ContactGrid.jsx +63 -0
  190. package/src/profile/ContactGrid.stories.tsx +33 -0
  191. package/src/profile/ProfileCard.jsx +73 -0
  192. package/src/profile/ProfileCard.stories.tsx +35 -0
  193. package/src/profile/SocialLinks.jsx +61 -0
  194. package/src/profile/SocialLinks.stories.tsx +33 -0
  195. package/src/profile/index.jsx +9 -0
  196. package/src/providers/ThemeProvider.jsx +56 -0
  197. package/src/providers/ThemeProvider.stories.tsx +149 -0
  198. package/src/publications/PortfolioGrid.jsx +122 -0
  199. package/src/publications/PortfolioGrid.stories.tsx +62 -0
  200. package/src/publications/ProjectCard.jsx +151 -0
  201. package/src/publications/ProjectCard.stories.tsx +36 -0
  202. package/src/publications/PublicationEntryPlain.jsx +127 -0
  203. package/src/publications/PublicationEntryPlain.stories.tsx +58 -0
  204. package/src/publications/PublicationItem.jsx +120 -0
  205. package/src/publications/PublicationItem.stories.tsx +32 -0
  206. package/src/publications/index.jsx +5 -0
  207. package/src/quotes/BlockQuote.jsx +55 -0
  208. package/src/quotes/BlockQuote.stories.tsx +33 -0
  209. package/src/quotes/PullQuote.jsx +70 -0
  210. package/src/quotes/PullQuote.stories.tsx +32 -0
  211. package/src/quotes/Testimonial.jsx +99 -0
  212. package/src/quotes/Testimonial.stories.tsx +36 -0
  213. package/src/quotes/index.jsx +4 -0
  214. package/src/skills/SkillBar.jsx +66 -0
  215. package/src/skills/SkillBar.stories.tsx +112 -0
  216. package/src/skills/SkillCategory.jsx +71 -0
  217. package/src/skills/SkillCategory.stories.tsx +197 -0
  218. package/src/skills/SkillCloud.jsx +53 -0
  219. package/src/skills/SkillCloud.stories.tsx +132 -0
  220. package/src/skills/SkillGroup.jsx +56 -0
  221. package/src/skills/SkillGroup.stories.tsx +162 -0
  222. package/src/skills/SkillPill.jsx +56 -0
  223. package/src/skills/SkillPill.stories.tsx +157 -0
  224. package/src/skills/SkillRating.jsx +60 -0
  225. package/src/skills/SkillRating.stories.tsx +115 -0
  226. package/src/skills/index.jsx +11 -0
  227. package/src/styles/tokens.css +139 -0
  228. package/src/tables/ComparisonTable.jsx +128 -0
  229. package/src/tables/ComparisonTable.stories.tsx +41 -0
  230. package/src/tables/DataTable.jsx +149 -0
  231. package/src/tables/DataTable.stories.tsx +64 -0
  232. package/src/tables/SkillMatrix.jsx +139 -0
  233. package/src/tables/SkillMatrix.stories.tsx +90 -0
  234. package/src/tables/index.jsx +4 -0
  235. package/src/tags/ToolTagRibbon.jsx +106 -0
  236. package/src/tags/ToolTagRibbon.stories.tsx +121 -0
  237. package/src/tags/index.jsx +5 -0
  238. package/src/timeline/TimelineInline.stories.tsx +83 -0
  239. package/src/timeline/TimelineInline.tsx +202 -0
  240. package/src/timeline/TimelineItem.jsx +106 -0
  241. package/src/timeline/TimelineItem.stories.tsx +64 -0
  242. package/src/timeline/TimelineRuleMinimal.stories.tsx +68 -0
  243. package/src/timeline/TimelineRuleMinimal.tsx +165 -0
  244. package/src/timeline/TimelineSection.jsx +21 -0
  245. package/src/timeline/TimelineSection.stories.tsx +44 -0
  246. package/src/timeline/index.jsx +9 -0
  247. package/src/tokens/index.js +164 -0
  248. package/src/typography/Heading.jsx +48 -0
  249. package/src/typography/Heading.stories.tsx +46 -0
  250. package/src/typography/HyphenationSafeParagraph.jsx +98 -0
  251. package/src/typography/HyphenationSafeParagraph.stories.tsx +151 -0
  252. package/src/typography/Label.jsx +38 -0
  253. package/src/typography/Label.stories.tsx +27 -0
  254. package/src/typography/QuoteStripe.jsx +78 -0
  255. package/src/typography/QuoteStripe.stories.tsx +63 -0
  256. package/src/typography/SectionIntroParagraph.jsx +62 -0
  257. package/src/typography/SectionIntroParagraph.stories.tsx +57 -0
  258. package/src/typography/Text.jsx +42 -0
  259. package/src/typography/Text.stories.tsx +35 -0
  260. package/src/typography/index.jsx +11 -0
  261. package/src/utils/Divider.jsx +32 -0
  262. package/src/utils/Divider.stories.tsx +24 -0
  263. package/src/utils/Flex.jsx +6 -0
  264. package/src/utils/Flex.stories.tsx +28 -0
  265. package/src/utils/Grid.jsx +6 -0
  266. package/src/utils/Grid.stories.tsx +28 -0
  267. package/src/utils/Spacer.jsx +18 -0
  268. package/src/utils/Spacer.stories.tsx +26 -0
  269. package/src/utils/index.jsx +9 -0
  270. package/src/utils/security.js +155 -0
  271. package/src/visuals/BackgroundPattern.jsx +65 -0
  272. package/src/visuals/BackgroundPattern.stories.tsx +27 -0
  273. package/src/visuals/BorderAccent.jsx +147 -0
  274. package/src/visuals/BorderAccent.stories.tsx +27 -0
  275. package/src/visuals/ColorBlock.jsx +60 -0
  276. package/src/visuals/ColorBlock.stories.tsx +27 -0
  277. package/src/visuals/DividerVariants.jsx +120 -0
  278. package/src/visuals/DividerVariants.stories.tsx +27 -0
  279. package/src/visuals/index.jsx +5 -0
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ /**
3
+ * CompactList Stories
4
+ */
5
+ import { CompactList } from './CompactList';
6
+
7
+ const meta = {
8
+ title: 'Resume Core/Lists/CompactList',
9
+ component: CompactList,
10
+ parameters: { layout: 'padded' },
11
+ tags: ['autodocs'],
12
+ };
13
+
14
+ export default meta;
15
+
16
+ export const Default = {
17
+ args: {
18
+ items: ['JavaScript', 'Python', 'React', 'Node.js', 'Docker'],
19
+ showBullets: true,
20
+ divider: false,
21
+ },
22
+ };
23
+
24
+ export const Example = {
25
+ args: {
26
+ items: [
27
+ 'Tech Corp - Senior Engineer',
28
+ 'Innovation Labs - Software Engineer',
29
+ 'WebDev Agency - Developer',
30
+ ],
31
+ showBullets: false,
32
+ divider: true,
33
+ },
34
+ };
@@ -0,0 +1,114 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ /**
5
+ * DefinitionKeyline
6
+ * Definition list with term — description format using em-dash
7
+ * Predictable spacing across fonts with flexible layout options
8
+ */
9
+
10
+ const List = styled.dl`
11
+ margin: var(--resume-space-tight) 0;
12
+ display: grid;
13
+ grid-template-columns: ${(props) =>
14
+ props.$layout === 'inline' ? 'auto 1fr' : '1fr'};
15
+ gap: ${(props) => (props.$layout === 'inline' ? '8px 16px' : '4px')};
16
+ `;
17
+
18
+ const Term = styled.dt`
19
+ font-size: var(--resume-size-body);
20
+ color: var(--resume-color-text);
21
+ font-weight: var(--resume-weight-semibold);
22
+ line-height: var(--resume-line-height-normal);
23
+
24
+ ${(props) =>
25
+ props.$layout === 'stacked' &&
26
+ `
27
+ margin-top: 8px;
28
+ &:first-child {
29
+ margin-top: 0;
30
+ }
31
+ `}
32
+
33
+ @media print {
34
+ break-inside: avoid;
35
+ page-break-inside: avoid;
36
+ }
37
+ `;
38
+
39
+ const Description = styled.dd`
40
+ margin: 0;
41
+ font-size: var(--resume-size-body);
42
+ color: var(--resume-color-secondary);
43
+ line-height: var(--resume-line-height-normal);
44
+
45
+ ${(props) =>
46
+ props.$layout === 'inline' &&
47
+ `
48
+ display: flex;
49
+ align-items: baseline;
50
+ `}
51
+
52
+ ${(props) =>
53
+ props.$layout === 'stacked' &&
54
+ `
55
+ margin-left: 16px;
56
+ &::before {
57
+ content: '—'; /* Em-dash (U+2014) */
58
+ margin-right: 8px;
59
+ color: ${props.$color || 'var(--resume-color-accent)'};
60
+ }
61
+ `}
62
+
63
+ ${(props) =>
64
+ props.$layout === 'inline' &&
65
+ `
66
+ &::before {
67
+ content: '—'; /* Em-dash (U+2014) */
68
+ margin: 0 8px;
69
+ color: ${props.$color || 'var(--resume-color-accent)'};
70
+ flex-shrink: 0;
71
+ }
72
+ `}
73
+
74
+ @media print {
75
+ break-inside: avoid;
76
+ page-break-inside: avoid;
77
+
78
+ &::before {
79
+ -webkit-print-color-adjust: exact;
80
+ print-color-adjust: exact;
81
+ }
82
+ }
83
+ `;
84
+
85
+ /**
86
+ * @param {Object} props
87
+ * @param {Array<{term: string, description: string}>} props.items - Array of definition items
88
+ * @param {string} [props.layout='inline'] - Layout style: 'inline' or 'stacked'
89
+ * @param {string} [props.color] - Custom em-dash color
90
+ * @param {string} [props.className] - Additional CSS classes
91
+ */
92
+ export function DefinitionKeyline({
93
+ items = [],
94
+ layout = 'inline',
95
+ color,
96
+ className,
97
+ }) {
98
+ if (!items || items.length === 0) return null;
99
+
100
+ return (
101
+ <List className={className} $layout={layout}>
102
+ {items.map((item, index) => (
103
+ <React.Fragment key={index}>
104
+ <Term $layout={layout}>{item.term}</Term>
105
+ <Description $layout={layout} $color={color}>
106
+ {item.description}
107
+ </Description>
108
+ </React.Fragment>
109
+ ))}
110
+ </List>
111
+ );
112
+ }
113
+
114
+ export default DefinitionKeyline;
@@ -0,0 +1,90 @@
1
+ import React from 'react';
2
+ import { DefinitionKeyline } from './DefinitionKeyline';
3
+
4
+ /**
5
+ * DefinitionKeyline Stories
6
+ */
7
+
8
+ const meta = {
9
+ title: 'Resume Core/Lists/DefinitionKeyline',
10
+ component: DefinitionKeyline,
11
+ parameters: { layout: 'padded' },
12
+ tags: ['autodocs'],
13
+ };
14
+
15
+ export default meta;
16
+
17
+ export const InlineLayout = {
18
+ args: {
19
+ items: [
20
+ { term: 'Languages', description: 'JavaScript, TypeScript, Python, Go' },
21
+ { term: 'Frameworks', description: 'React, Node.js, Express, Django' },
22
+ { term: 'Databases', description: 'PostgreSQL, MongoDB, Redis' },
23
+ { term: 'Cloud', description: 'AWS, Docker, Kubernetes, Terraform' },
24
+ ],
25
+ layout: 'inline',
26
+ },
27
+ };
28
+
29
+ export const StackedLayout = {
30
+ args: {
31
+ items: [
32
+ {
33
+ term: 'Education',
34
+ description:
35
+ 'Bachelor of Science in Computer Science, Stanford University',
36
+ },
37
+ {
38
+ term: 'Certification',
39
+ description: 'AWS Certified Solutions Architect Professional',
40
+ },
41
+ {
42
+ term: 'Languages',
43
+ description:
44
+ 'English (Native), Spanish (Professional), Mandarin (Conversational)',
45
+ },
46
+ {
47
+ term: 'Interests',
48
+ description:
49
+ 'Open source contribution, Technical writing, Conference speaking',
50
+ },
51
+ ],
52
+ layout: 'stacked',
53
+ },
54
+ };
55
+
56
+ export const CustomColor = {
57
+ args: {
58
+ items: [
59
+ { term: 'Role', description: 'Senior Software Engineer' },
60
+ { term: 'Team', description: 'Platform Engineering' },
61
+ { term: 'Location', description: 'San Francisco, CA' },
62
+ { term: 'Duration', description: '2020 - Present' },
63
+ ],
64
+ layout: 'inline',
65
+ color: '#0066cc',
66
+ },
67
+ };
68
+
69
+ export const LongDescriptions = {
70
+ args: {
71
+ items: [
72
+ {
73
+ term: 'Frontend',
74
+ description:
75
+ 'React, Vue.js, Angular, TypeScript, Next.js, Tailwind CSS, styled-components, Storybook',
76
+ },
77
+ {
78
+ term: 'Backend',
79
+ description:
80
+ 'Node.js, Python, Go, Express, FastAPI, GraphQL, REST APIs, Microservices architecture',
81
+ },
82
+ {
83
+ term: 'DevOps',
84
+ description:
85
+ 'Docker, Kubernetes, AWS, GCP, CI/CD, Jenkins, GitHub Actions, Terraform, Infrastructure as Code',
86
+ },
87
+ ],
88
+ layout: 'stacked',
89
+ },
90
+ };
@@ -0,0 +1,82 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ /**
5
+ * HangingBulletList
6
+ * Bullets hang outside the text block using text-indent (not positioned pseudo-elements)
7
+ * Creates clean alignment with text flush to left margin
8
+ */
9
+
10
+ const List = styled.ul`
11
+ margin: var(--resume-space-tight) 0;
12
+ padding-left: 0;
13
+ list-style: none;
14
+ `;
15
+
16
+ const Item = styled.li`
17
+ position: relative;
18
+ padding: 4px 0 4px 20px; /* Left padding for bullet space */
19
+ text-indent: -20px; /* Negative indent to hang bullet outside */
20
+ font-size: var(--resume-size-body);
21
+ color: var(--resume-color-secondary);
22
+ line-height: var(--resume-line-height-normal);
23
+ break-inside: avoid;
24
+
25
+ &::before {
26
+ content: '${(props) => props.$bullet || '•'}';
27
+ color: ${(props) => props.$color || 'var(--resume-color-accent)'};
28
+ font-weight: var(--resume-weight-semibold);
29
+ display: inline-block;
30
+ width: 20px;
31
+ text-indent: 0; /* Reset indent for bullet */
32
+ }
33
+
34
+ /* Reset text-indent for child elements */
35
+ > * {
36
+ text-indent: 0;
37
+ }
38
+
39
+ @media print {
40
+ break-inside: avoid;
41
+ page-break-inside: avoid;
42
+ orphans: 2;
43
+ widows: 2;
44
+
45
+ &::before {
46
+ -webkit-print-color-adjust: exact;
47
+ print-color-adjust: exact;
48
+ }
49
+ }
50
+ `;
51
+
52
+ /**
53
+ * @param {Object} props
54
+ * @param {Array<string|Object>} props.items - Array of items (strings or objects with text)
55
+ * @param {string} [props.bullet='•'] - Custom bullet character
56
+ * @param {string} [props.color] - Custom bullet color
57
+ * @param {string} [props.className] - Additional CSS classes
58
+ */
59
+ export function HangingBulletList({
60
+ items = [],
61
+ bullet = '•',
62
+ color,
63
+ className,
64
+ }) {
65
+ if (!items || items.length === 0) return null;
66
+
67
+ return (
68
+ <List className={className}>
69
+ {items.map((item, index) => {
70
+ const text = typeof item === 'object' ? item.text : item;
71
+
72
+ return (
73
+ <Item key={index} $bullet={bullet} $color={color}>
74
+ {text}
75
+ </Item>
76
+ );
77
+ })}
78
+ </List>
79
+ );
80
+ }
81
+
82
+ export default HangingBulletList;
@@ -0,0 +1,50 @@
1
+ import React from 'react';
2
+ import { HangingBulletList } from './HangingBulletList';
3
+
4
+ /**
5
+ * HangingBulletList Stories
6
+ */
7
+
8
+ const meta = {
9
+ title: 'Resume Core/Lists/HangingBulletList',
10
+ component: HangingBulletList,
11
+ parameters: { layout: 'padded' },
12
+ tags: ['autodocs'],
13
+ };
14
+
15
+ export default meta;
16
+
17
+ export const Default = {
18
+ args: {
19
+ items: [
20
+ 'Developed RESTful APIs serving 100K+ requests daily',
21
+ 'Implemented real-time data synchronization across distributed systems',
22
+ 'Optimized database queries reducing response time by 65%',
23
+ 'Built automated testing framework with 90% code coverage',
24
+ ],
25
+ bullet: '•',
26
+ },
27
+ };
28
+
29
+ export const CustomBullet = {
30
+ args: {
31
+ items: [
32
+ 'React, TypeScript, Node.js, Python',
33
+ 'AWS, Docker, Kubernetes, Terraform',
34
+ 'PostgreSQL, MongoDB, Redis',
35
+ 'Git, CI/CD, Agile methodologies',
36
+ ],
37
+ bullet: '▸',
38
+ },
39
+ };
40
+
41
+ export const LongContent = {
42
+ args: {
43
+ items: [
44
+ 'This is a longer item that demonstrates how the hanging bullet list maintains clean alignment when content wraps to multiple lines, with text remaining flush to the left margin',
45
+ 'Short item',
46
+ 'Medium length item showing proper text flow and alignment with the hanging bullet technique',
47
+ 'Another example of multi-line content that wraps naturally while maintaining the visual hierarchy and clean left edge alignment',
48
+ ],
49
+ },
50
+ };
@@ -0,0 +1,89 @@
1
+ import React from 'react';
2
+ /**
3
+ * IconList
4
+ * List with custom icons or emojis for each item
5
+ */
6
+ import styled from 'styled-components';
7
+
8
+ const List = styled.ul`
9
+ margin: var(--resume-space-tight) 0;
10
+ padding: 0;
11
+ list-style: none;
12
+ `;
13
+
14
+ const Item = styled.li`
15
+ display: flex;
16
+ align-items: flex-start;
17
+ gap: 12px;
18
+ padding: 6px 0;
19
+ break-inside: avoid;
20
+
21
+ @media print {
22
+ break-inside: avoid;
23
+ page-break-inside: avoid;
24
+ }
25
+ `;
26
+
27
+ const IconWrapper = styled.span`
28
+ flex-shrink: 0;
29
+ width: 24px;
30
+ height: 24px;
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ font-size: 16px;
35
+ color: ${(props) => props.$color || 'var(--resume-color-accent)'};
36
+ margin-top: 2px;
37
+
38
+ @media print {
39
+ -webkit-print-color-adjust: exact;
40
+ print-color-adjust: exact;
41
+ }
42
+ `;
43
+
44
+ const Text = styled.span`
45
+ flex: 1;
46
+ font-size: var(--resume-size-body);
47
+ color: var(--resume-color-secondary);
48
+ line-height: var(--resume-line-height-normal);
49
+ `;
50
+
51
+ /**
52
+ * @param {Object} props
53
+ * @param {Array} props.items - Array of items
54
+ * @param {string} props.items[].text - Item text
55
+ * @param {string|React.ReactNode} [props.items[].icon] - Item icon
56
+ * @param {string} [props.items[].color] - Icon color
57
+ * @param {string|React.ReactNode} [props.defaultIcon='•'] - Default icon for all items
58
+ * @param {string} [props.defaultColor] - Default icon color
59
+ * @param {string} [props.className] - Additional CSS classes
60
+ */
61
+ export function IconList({
62
+ items = [],
63
+ defaultIcon = '•',
64
+ defaultColor,
65
+ className,
66
+ }) {
67
+ if (!items || items.length === 0) return null;
68
+
69
+ return (
70
+ <List className={className}>
71
+ {items.map((item, index) => {
72
+ const icon =
73
+ (typeof item === 'object' ? item.icon : null) || defaultIcon;
74
+ const text = typeof item === 'object' ? item.text : item;
75
+ const color =
76
+ (typeof item === 'object' ? item.color : null) || defaultColor;
77
+
78
+ return (
79
+ <Item key={index}>
80
+ <IconWrapper $color={color}>{icon}</IconWrapper>
81
+ <Text>{text}</Text>
82
+ </Item>
83
+ );
84
+ })}
85
+ </List>
86
+ );
87
+ }
88
+
89
+ export default IconList;
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ /**
3
+ * IconList Stories
4
+ */
5
+ import { IconList } from './IconList';
6
+
7
+ const meta = {
8
+ title: 'Resume Core/Lists/IconList',
9
+ component: IconList,
10
+ parameters: { layout: 'padded' },
11
+ tags: ['autodocs'],
12
+ };
13
+
14
+ export default meta;
15
+
16
+ export const Default = {
17
+ args: {
18
+ items: [
19
+ { text: 'Email: sarah.johnson@example.com', icon: '📧' },
20
+ { text: 'Phone: (555) 123-4567', icon: '📱' },
21
+ { text: 'Location: San Francisco, CA', icon: '📍' },
22
+ { text: 'LinkedIn: linkedin.com/in/sarahjohnson', icon: '💼' },
23
+ ],
24
+ },
25
+ };
26
+
27
+ export const Example = {
28
+ args: {
29
+ items: [
30
+ { text: 'Led team of 12 engineers', icon: '👥' },
31
+ { text: 'Shipped 15+ major features', icon: '🚀' },
32
+ { text: 'Reduced costs by 40%', icon: '💰' },
33
+ { text: 'Improved performance 3x', icon: '⚡' },
34
+ ],
35
+ },
36
+ };
@@ -0,0 +1,69 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ /**
5
+ * ListDashCompact
6
+ * Dash-led list for minimal themes using proper en-dash (–) not hyphen (-)
7
+ * Compact spacing ideal for skill lists and brief item collections
8
+ */
9
+
10
+ const List = styled.ul`
11
+ margin: var(--resume-space-tight) 0;
12
+ padding-left: 0;
13
+ list-style: none;
14
+ `;
15
+
16
+ const Item = styled.li`
17
+ position: relative;
18
+ padding: 2px 0 2px 16px;
19
+ font-size: var(--resume-size-body);
20
+ color: var(--resume-color-secondary);
21
+ line-height: 1.5;
22
+ break-inside: avoid;
23
+
24
+ &::before {
25
+ content: '–'; /* En-dash (U+2013), not hyphen */
26
+ position: absolute;
27
+ left: 0;
28
+ color: ${(props) => props.$color || 'var(--resume-color-text)'};
29
+ font-weight: var(--resume-weight-normal);
30
+ }
31
+
32
+ @media print {
33
+ break-inside: avoid;
34
+ page-break-inside: avoid;
35
+ orphans: 2;
36
+ widows: 2;
37
+
38
+ &::before {
39
+ -webkit-print-color-adjust: exact;
40
+ print-color-adjust: exact;
41
+ }
42
+ }
43
+ `;
44
+
45
+ /**
46
+ * @param {Object} props
47
+ * @param {Array<string|Object>} props.items - Array of items (strings or objects with text)
48
+ * @param {string} [props.color] - Custom dash color
49
+ * @param {string} [props.className] - Additional CSS classes
50
+ */
51
+ export function ListDashCompact({ items = [], color, className }) {
52
+ if (!items || items.length === 0) return null;
53
+
54
+ return (
55
+ <List className={className}>
56
+ {items.map((item, index) => {
57
+ const text = typeof item === 'object' ? item.text : item;
58
+
59
+ return (
60
+ <Item key={index} $color={color}>
61
+ {text}
62
+ </Item>
63
+ );
64
+ })}
65
+ </List>
66
+ );
67
+ }
68
+
69
+ export default ListDashCompact;
@@ -0,0 +1,60 @@
1
+ import React from 'react';
2
+ import { ListDashCompact } from './ListDashCompact';
3
+
4
+ /**
5
+ * ListDashCompact Stories
6
+ */
7
+
8
+ const meta = {
9
+ title: 'Resume Core/Lists/ListDashCompact',
10
+ component: ListDashCompact,
11
+ parameters: { layout: 'padded' },
12
+ tags: ['autodocs'],
13
+ };
14
+
15
+ export default meta;
16
+
17
+ export const Default = {
18
+ args: {
19
+ items: [
20
+ 'JavaScript, TypeScript, Python',
21
+ 'React, Vue.js, Angular',
22
+ 'Node.js, Express, Django',
23
+ 'PostgreSQL, MongoDB, Redis',
24
+ ],
25
+ },
26
+ };
27
+
28
+ export const MinimalStyle = {
29
+ args: {
30
+ items: [
31
+ 'Bachelor of Science in Computer Science',
32
+ 'Certified AWS Solutions Architect',
33
+ 'Google Cloud Professional',
34
+ 'Scrum Master Certification',
35
+ ],
36
+ },
37
+ };
38
+
39
+ export const MixedLength = {
40
+ args: {
41
+ items: [
42
+ 'Short',
43
+ 'This is a longer item that demonstrates how the compact dash list handles multi-line content',
44
+ 'Medium length item',
45
+ 'Another concise entry',
46
+ ],
47
+ },
48
+ };
49
+
50
+ export const CustomColor = {
51
+ args: {
52
+ items: [
53
+ 'Team leadership and mentorship',
54
+ 'Agile project management',
55
+ 'Technical documentation',
56
+ 'Stakeholder communication',
57
+ ],
58
+ color: '#666',
59
+ },
60
+ };
@@ -0,0 +1,69 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ /**
5
+ * MiniDotLeaderList
6
+ * Items separated with midline dots (·) with fixed spacing
7
+ * Ideal for inline skill tags and compact horizontal lists
8
+ */
9
+
10
+ const List = styled.ul`
11
+ margin: var(--resume-space-tight) 0;
12
+ padding-left: 0;
13
+ list-style: none;
14
+ display: flex;
15
+ flex-wrap: wrap;
16
+ gap: 8px;
17
+ align-items: center;
18
+ `;
19
+
20
+ const Item = styled.li`
21
+ display: inline-flex;
22
+ align-items: center;
23
+ font-size: var(--resume-size-body);
24
+ color: var(--resume-color-secondary);
25
+ line-height: var(--resume-line-height-normal);
26
+
27
+ &:not(:last-child)::after {
28
+ content: '·'; /* Midline dot (U+00B7) */
29
+ margin-left: 8px;
30
+ color: ${(props) => props.$color || 'var(--resume-color-accent)'};
31
+ font-weight: var(--resume-weight-semibold);
32
+ }
33
+
34
+ @media print {
35
+ break-inside: avoid;
36
+ page-break-inside: avoid;
37
+
38
+ &:not(:last-child)::after {
39
+ -webkit-print-color-adjust: exact;
40
+ print-color-adjust: exact;
41
+ }
42
+ }
43
+ `;
44
+
45
+ /**
46
+ * @param {Object} props
47
+ * @param {Array<string|Object>} props.items - Array of items (strings or objects with text)
48
+ * @param {string} [props.color] - Custom dot color
49
+ * @param {string} [props.className] - Additional CSS classes
50
+ */
51
+ export function MiniDotLeaderList({ items = [], color, className }) {
52
+ if (!items || items.length === 0) return null;
53
+
54
+ return (
55
+ <List className={className}>
56
+ {items.map((item, index) => {
57
+ const text = typeof item === 'object' ? item.text : item;
58
+
59
+ return (
60
+ <Item key={index} $color={color}>
61
+ {text}
62
+ </Item>
63
+ );
64
+ })}
65
+ </List>
66
+ );
67
+ }
68
+
69
+ export default MiniDotLeaderList;