@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.
- package/README.md +689 -0
- package/dist/resume-print.css +425 -0
- package/dist/tokens.css +139 -0
- package/package.json +66 -0
- package/src/badges/BadgeRowOutline.jsx +118 -0
- package/src/badges/BadgeRowOutline.stories.tsx +160 -0
- package/src/badges/index.jsx +5 -0
- package/src/callouts/Callout.jsx +80 -0
- package/src/callouts/Callout.stories.tsx +27 -0
- package/src/callouts/HighlightCard.jsx +114 -0
- package/src/callouts/HighlightCard.stories.tsx +27 -0
- package/src/callouts/InfoBox.jsx +82 -0
- package/src/callouts/InfoBox.stories.tsx +26 -0
- package/src/callouts/index.jsx +4 -0
- package/src/certifications/AwardCard.jsx +83 -0
- package/src/certifications/AwardCard.stories.tsx +32 -0
- package/src/certifications/CertificationBadge.jsx +85 -0
- package/src/certifications/CertificationBadge.stories.tsx +29 -0
- package/src/certifications/CertificationRow.jsx +150 -0
- package/src/certifications/CertificationRow.stories.tsx +64 -0
- package/src/certifications/HonorsList.jsx +87 -0
- package/src/certifications/HonorsList.stories.tsx +36 -0
- package/src/certifications/index.jsx +5 -0
- package/src/containers/AccentCalloutPanel.jsx +176 -0
- package/src/containers/AccentCalloutPanel.stories.tsx +105 -0
- package/src/containers/MutedPanel.jsx +125 -0
- package/src/containers/MutedPanel.stories.tsx +113 -0
- package/src/containers/RoleBlockFramed.jsx +191 -0
- package/src/containers/RoleBlockFramed.stories.tsx +230 -0
- package/src/containers/SoftCardOutline.jsx +161 -0
- package/src/containers/SoftCardOutline.stories.tsx +174 -0
- package/src/containers/index.jsx +9 -0
- package/src/data/KPIChipLine.jsx +158 -0
- package/src/data/KPIChipLine.stories.tsx +99 -0
- package/src/data/KeyValueInline.jsx +150 -0
- package/src/data/KeyValueInline.stories.tsx +136 -0
- package/src/data/MetricBar.jsx +93 -0
- package/src/data/MetricBar.stories.tsx +31 -0
- package/src/data/MetricBullet.jsx +129 -0
- package/src/data/MetricBullet.stories.tsx +99 -0
- package/src/data/MetricInline.jsx +60 -0
- package/src/data/MetricInline.stories.tsx +53 -0
- package/src/data/ProgressCircle.jsx +81 -0
- package/src/data/ProgressCircle.stories.tsx +102 -0
- package/src/data/StatCard.jsx +65 -0
- package/src/data/StatCard.stories.tsx +29 -0
- package/src/data/index.jsx +12 -0
- package/src/dates/DateBadge.jsx +73 -0
- package/src/dates/DateBadge.stories.tsx +30 -0
- package/src/dates/RelativeDate.jsx +121 -0
- package/src/dates/RelativeDate.stories.tsx +29 -0
- package/src/dates/index.jsx +3 -0
- package/src/experience/ExperienceCard.jsx +82 -0
- package/src/experience/ExperienceCard.stories.tsx +36 -0
- package/src/experience/ExperienceCompact.jsx +72 -0
- package/src/experience/ExperienceCompact.stories.tsx +53 -0
- package/src/experience/ExperienceGrid.jsx +65 -0
- package/src/experience/ExperienceGrid.stories.tsx +63 -0
- package/src/experience/ExperienceTimeline.jsx +24 -0
- package/src/experience/ExperienceTimeline.stories.tsx +63 -0
- package/src/experience/RoleHeaderCompact.jsx +99 -0
- package/src/experience/index.jsx +9 -0
- package/src/header/ContactRowLine.jsx +125 -0
- package/src/header/ContactRowLine.stories.tsx +65 -0
- package/src/header/CornerInitials.jsx +178 -0
- package/src/header/CornerInitials.stories.tsx +129 -0
- package/src/header/Footer.jsx +50 -0
- package/src/header/Footer.stories.tsx +25 -0
- package/src/header/HeaderCentered.jsx +51 -0
- package/src/header/HeaderCentered.stories.tsx +30 -0
- package/src/header/HeaderMinimal.jsx +50 -0
- package/src/header/HeaderMinimal.stories.tsx +29 -0
- package/src/header/HeaderSplit.jsx +65 -0
- package/src/header/HeaderSplit.stories.tsx +29 -0
- package/src/header/HeroNameBlock.jsx +71 -0
- package/src/header/HeroNameBlock.stories.tsx +37 -0
- package/src/header/NameStackElegant.jsx +104 -0
- package/src/header/NameStackElegant.stories.tsx +60 -0
- package/src/header/PageBreak.jsx +25 -0
- package/src/header/PageBreak.stories.tsx +22 -0
- package/src/header/SectionFlagTitle.jsx +87 -0
- package/src/header/SectionFlagTitle.stories.tsx +53 -0
- package/src/header/SectionRuleTitle.jsx +84 -0
- package/src/header/SectionRuleTitle.stories.tsx +52 -0
- package/src/header/index.jsx +18 -0
- package/src/helpers/calculations.js +428 -0
- package/src/index.js +253 -0
- package/src/languages/LanguageBar.jsx +90 -0
- package/src/languages/LanguageBar.stories.tsx +28 -0
- package/src/languages/LanguageGrid.jsx +118 -0
- package/src/languages/LanguageGrid.stories.tsx +33 -0
- package/src/languages/LanguageLevelBarLite.jsx +147 -0
- package/src/languages/LanguageLevelBarLite.stories.tsx +74 -0
- package/src/languages/ProficiencyScale.jsx +107 -0
- package/src/languages/ProficiencyScale.stories.tsx +30 -0
- package/src/languages/index.jsx +5 -0
- package/src/layouts/CardLayout.jsx +46 -0
- package/src/layouts/CardLayout.stories.tsx +272 -0
- package/src/layouts/FlexLayout.jsx +53 -0
- package/src/layouts/FlexLayout.stories.tsx +270 -0
- package/src/layouts/GridLayout.jsx +38 -0
- package/src/layouts/GridLayout.stories.tsx +183 -0
- package/src/layouts/SidebarLayout.jsx +63 -0
- package/src/layouts/SidebarLayout.stories.tsx +162 -0
- package/src/layouts/StackLayout.jsx +26 -0
- package/src/layouts/StackLayout.stories.tsx +192 -0
- package/src/layouts/TwoColumnMicroGrid.jsx +87 -0
- package/src/layouts/TwoColumnMicroGrid.stories.tsx +96 -0
- package/src/layouts/index.jsx +11 -0
- package/src/lists/AchievementListSpacious.jsx +81 -0
- package/src/lists/AchievementListSpacious.stories.tsx +49 -0
- package/src/lists/AchievementListTight.jsx +80 -0
- package/src/lists/AchievementListTight.stories.tsx +49 -0
- package/src/lists/BulletList.jsx +66 -0
- package/src/lists/BulletList.stories.tsx +38 -0
- package/src/lists/CheckList.jsx +94 -0
- package/src/lists/CheckList.stories.tsx +38 -0
- package/src/lists/CompactList.jsx +90 -0
- package/src/lists/CompactList.stories.tsx +34 -0
- package/src/lists/DefinitionKeyline.jsx +114 -0
- package/src/lists/DefinitionKeyline.stories.tsx +90 -0
- package/src/lists/HangingBulletList.jsx +82 -0
- package/src/lists/HangingBulletList.stories.tsx +50 -0
- package/src/lists/IconList.jsx +89 -0
- package/src/lists/IconList.stories.tsx +36 -0
- package/src/lists/ListDashCompact.jsx +69 -0
- package/src/lists/ListDashCompact.stories.tsx +60 -0
- package/src/lists/MiniDotLeaderList.jsx +69 -0
- package/src/lists/MiniDotLeaderList.stories.tsx +73 -0
- package/src/lists/NumberedList.jsx +74 -0
- package/src/lists/NumberedList.stories.tsx +39 -0
- package/src/lists/index.jsx +12 -0
- package/src/metadata/GreyLabelCaps.jsx +66 -0
- package/src/metadata/GreyLabelCaps.stories.tsx +40 -0
- package/src/metadata/InlineKicker.jsx +61 -0
- package/src/metadata/InlineKicker.stories.tsx +35 -0
- package/src/metadata/MetaRow.jsx +96 -0
- package/src/metadata/MetaRow.stories.tsx +38 -0
- package/src/metadata/SmallCapsHeading.jsx +75 -0
- package/src/metadata/SmallCapsHeading.stories.tsx +54 -0
- package/src/metadata/SubsectionLabel.jsx +92 -0
- package/src/metadata/SubsectionLabel.stories.tsx +40 -0
- package/src/metadata/index.jsx +10 -0
- package/src/primitives/AccentSidebarStripe.stories.tsx +65 -0
- package/src/primitives/AccentSidebarStripe.tsx +95 -0
- package/src/primitives/AccentTopRule.stories.tsx +102 -0
- package/src/primitives/AccentTopRule.tsx +103 -0
- package/src/primitives/Badge.jsx +125 -0
- package/src/primitives/Badge.stories.tsx +27 -0
- package/src/primitives/ContactInfo.jsx +133 -0
- package/src/primitives/ContactInfo.stories.tsx +30 -0
- package/src/primitives/DIVIDERS.md +333 -0
- package/src/primitives/DateRange.jsx +178 -0
- package/src/primitives/DateRange.stories.tsx +28 -0
- package/src/primitives/DottedDivider.stories.tsx +54 -0
- package/src/primitives/DottedDivider.tsx +102 -0
- package/src/primitives/InlineSeparatorPipe.jsx +64 -0
- package/src/primitives/InlineSeparatorPipe.stories.tsx +96 -0
- package/src/primitives/KeylineDivider.stories.tsx +48 -0
- package/src/primitives/KeylineDivider.tsx +80 -0
- package/src/primitives/Link.jsx +59 -0
- package/src/primitives/Link.stories.tsx +29 -0
- package/src/primitives/ListItem.jsx +127 -0
- package/src/primitives/ListItem.stories.tsx +27 -0
- package/src/primitives/RulesetStack.stories.tsx +85 -0
- package/src/primitives/RulesetStack.tsx +117 -0
- package/src/primitives/Section.jsx +37 -0
- package/src/primitives/Section.stories.tsx +28 -0
- package/src/primitives/SectionTitle.jsx +62 -0
- package/src/primitives/SectionTitle.stories.tsx +27 -0
- package/src/primitives/index.jsx +36 -0
- package/src/print/ColumnBreak.jsx +44 -0
- package/src/print/ColumnBreak.stories.tsx +22 -0
- package/src/print/KeepTogether.jsx +24 -0
- package/src/print/KeepTogether.stories.tsx +26 -0
- package/src/print/LetterheadBar.jsx +100 -0
- package/src/print/LetterheadBar.stories.tsx +141 -0
- package/src/print/PageFooterLine.jsx +93 -0
- package/src/print/PageFooterLine.stories.tsx +121 -0
- package/src/print/PageHeaderLine.jsx +59 -0
- package/src/print/PageHeaderLine.stories.tsx +108 -0
- package/src/print/PrintOnly.jsx +49 -0
- package/src/print/PrintOnly.stories.tsx +26 -0
- package/src/print/SoftShadowEmulation.jsx +88 -0
- package/src/print/SoftShadowEmulation.stories.tsx +214 -0
- package/src/print/index.jsx +8 -0
- package/src/profile/Avatar.jsx +66 -0
- package/src/profile/Avatar.stories.tsx +84 -0
- package/src/profile/ContactGrid.jsx +63 -0
- package/src/profile/ContactGrid.stories.tsx +33 -0
- package/src/profile/ProfileCard.jsx +73 -0
- package/src/profile/ProfileCard.stories.tsx +35 -0
- package/src/profile/SocialLinks.jsx +61 -0
- package/src/profile/SocialLinks.stories.tsx +33 -0
- package/src/profile/index.jsx +9 -0
- package/src/providers/ThemeProvider.jsx +56 -0
- package/src/providers/ThemeProvider.stories.tsx +149 -0
- package/src/publications/PortfolioGrid.jsx +122 -0
- package/src/publications/PortfolioGrid.stories.tsx +62 -0
- package/src/publications/ProjectCard.jsx +151 -0
- package/src/publications/ProjectCard.stories.tsx +36 -0
- package/src/publications/PublicationEntryPlain.jsx +127 -0
- package/src/publications/PublicationEntryPlain.stories.tsx +58 -0
- package/src/publications/PublicationItem.jsx +120 -0
- package/src/publications/PublicationItem.stories.tsx +32 -0
- package/src/publications/index.jsx +5 -0
- package/src/quotes/BlockQuote.jsx +55 -0
- package/src/quotes/BlockQuote.stories.tsx +33 -0
- package/src/quotes/PullQuote.jsx +70 -0
- package/src/quotes/PullQuote.stories.tsx +32 -0
- package/src/quotes/Testimonial.jsx +99 -0
- package/src/quotes/Testimonial.stories.tsx +36 -0
- package/src/quotes/index.jsx +4 -0
- package/src/skills/SkillBar.jsx +66 -0
- package/src/skills/SkillBar.stories.tsx +112 -0
- package/src/skills/SkillCategory.jsx +71 -0
- package/src/skills/SkillCategory.stories.tsx +197 -0
- package/src/skills/SkillCloud.jsx +53 -0
- package/src/skills/SkillCloud.stories.tsx +132 -0
- package/src/skills/SkillGroup.jsx +56 -0
- package/src/skills/SkillGroup.stories.tsx +162 -0
- package/src/skills/SkillPill.jsx +56 -0
- package/src/skills/SkillPill.stories.tsx +157 -0
- package/src/skills/SkillRating.jsx +60 -0
- package/src/skills/SkillRating.stories.tsx +115 -0
- package/src/skills/index.jsx +11 -0
- package/src/styles/tokens.css +139 -0
- package/src/tables/ComparisonTable.jsx +128 -0
- package/src/tables/ComparisonTable.stories.tsx +41 -0
- package/src/tables/DataTable.jsx +149 -0
- package/src/tables/DataTable.stories.tsx +64 -0
- package/src/tables/SkillMatrix.jsx +139 -0
- package/src/tables/SkillMatrix.stories.tsx +90 -0
- package/src/tables/index.jsx +4 -0
- package/src/tags/ToolTagRibbon.jsx +106 -0
- package/src/tags/ToolTagRibbon.stories.tsx +121 -0
- package/src/tags/index.jsx +5 -0
- package/src/timeline/TimelineInline.stories.tsx +83 -0
- package/src/timeline/TimelineInline.tsx +202 -0
- package/src/timeline/TimelineItem.jsx +106 -0
- package/src/timeline/TimelineItem.stories.tsx +64 -0
- package/src/timeline/TimelineRuleMinimal.stories.tsx +68 -0
- package/src/timeline/TimelineRuleMinimal.tsx +165 -0
- package/src/timeline/TimelineSection.jsx +21 -0
- package/src/timeline/TimelineSection.stories.tsx +44 -0
- package/src/timeline/index.jsx +9 -0
- package/src/tokens/index.js +164 -0
- package/src/typography/Heading.jsx +48 -0
- package/src/typography/Heading.stories.tsx +46 -0
- package/src/typography/HyphenationSafeParagraph.jsx +98 -0
- package/src/typography/HyphenationSafeParagraph.stories.tsx +151 -0
- package/src/typography/Label.jsx +38 -0
- package/src/typography/Label.stories.tsx +27 -0
- package/src/typography/QuoteStripe.jsx +78 -0
- package/src/typography/QuoteStripe.stories.tsx +63 -0
- package/src/typography/SectionIntroParagraph.jsx +62 -0
- package/src/typography/SectionIntroParagraph.stories.tsx +57 -0
- package/src/typography/Text.jsx +42 -0
- package/src/typography/Text.stories.tsx +35 -0
- package/src/typography/index.jsx +11 -0
- package/src/utils/Divider.jsx +32 -0
- package/src/utils/Divider.stories.tsx +24 -0
- package/src/utils/Flex.jsx +6 -0
- package/src/utils/Flex.stories.tsx +28 -0
- package/src/utils/Grid.jsx +6 -0
- package/src/utils/Grid.stories.tsx +28 -0
- package/src/utils/Spacer.jsx +18 -0
- package/src/utils/Spacer.stories.tsx +26 -0
- package/src/utils/index.jsx +9 -0
- package/src/utils/security.js +155 -0
- package/src/visuals/BackgroundPattern.jsx +65 -0
- package/src/visuals/BackgroundPattern.stories.tsx +27 -0
- package/src/visuals/BorderAccent.jsx +147 -0
- package/src/visuals/BorderAccent.stories.tsx +27 -0
- package/src/visuals/ColorBlock.jsx +60 -0
- package/src/visuals/ColorBlock.stories.tsx +27 -0
- package/src/visuals/DividerVariants.jsx +120 -0
- package/src/visuals/DividerVariants.stories.tsx +27 -0
- package/src/visuals/index.jsx +5 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import { TwoColumnMicroGrid } from './TwoColumnMicroGrid';
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof TwoColumnMicroGrid> = {
|
|
6
|
+
title: 'Layouts/TwoColumnMicroGrid',
|
|
7
|
+
component: TwoColumnMicroGrid,
|
|
8
|
+
tags: ['autodocs'],
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component:
|
|
13
|
+
'Text-only two-column micro grid with semantic single-column DOM order. Uses CSS column flow for visual presentation while maintaining linear semantic order, making it perfect for ATS-friendly resumes.',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof TwoColumnMicroGrid>;
|
|
21
|
+
|
|
22
|
+
export const Default: Story = {
|
|
23
|
+
args: {
|
|
24
|
+
children: (
|
|
25
|
+
<>
|
|
26
|
+
<span>Item 1</span>
|
|
27
|
+
<span>Item 2</span>
|
|
28
|
+
<span>Item 3</span>
|
|
29
|
+
<span>Item 4</span>
|
|
30
|
+
<span>Item 5</span>
|
|
31
|
+
<span>Item 6</span>
|
|
32
|
+
</>
|
|
33
|
+
),
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export const SkillsList: Story = {
|
|
38
|
+
args: {
|
|
39
|
+
children: (
|
|
40
|
+
<>
|
|
41
|
+
<span>JavaScript</span>
|
|
42
|
+
<span>TypeScript</span>
|
|
43
|
+
<span>React</span>
|
|
44
|
+
<span>Node.js</span>
|
|
45
|
+
<span>Python</span>
|
|
46
|
+
<span>SQL</span>
|
|
47
|
+
<span>Docker</span>
|
|
48
|
+
<span>AWS</span>
|
|
49
|
+
<span>Git</span>
|
|
50
|
+
<span>CI/CD</span>
|
|
51
|
+
</>
|
|
52
|
+
),
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export const CertificationsList: Story = {
|
|
57
|
+
args: {
|
|
58
|
+
children: (
|
|
59
|
+
<>
|
|
60
|
+
<span>AWS Solutions Architect</span>
|
|
61
|
+
<span>Certified Kubernetes Admin</span>
|
|
62
|
+
<span>PMP Certified</span>
|
|
63
|
+
<span>Scrum Master</span>
|
|
64
|
+
<span>CISSP</span>
|
|
65
|
+
<span>CompTIA Security+</span>
|
|
66
|
+
</>
|
|
67
|
+
),
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export const CustomGap: Story = {
|
|
72
|
+
args: {
|
|
73
|
+
gap: '16px',
|
|
74
|
+
columnGap: '32px',
|
|
75
|
+
children: (
|
|
76
|
+
<>
|
|
77
|
+
<span>Wide spacing</span>
|
|
78
|
+
<span>Between items</span>
|
|
79
|
+
<span>And columns</span>
|
|
80
|
+
<span>For better readability</span>
|
|
81
|
+
</>
|
|
82
|
+
),
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export const ManyItems: Story = {
|
|
87
|
+
args: {
|
|
88
|
+
children: (
|
|
89
|
+
<>
|
|
90
|
+
{Array.from({ length: 20 }, (_, i) => (
|
|
91
|
+
<span key={i}>Skill {i + 1}</span>
|
|
92
|
+
))}
|
|
93
|
+
</>
|
|
94
|
+
),
|
|
95
|
+
},
|
|
96
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Layout Components
|
|
4
|
+
* Export all layout components
|
|
5
|
+
*/
|
|
6
|
+
export { GridLayout } from './GridLayout.jsx';
|
|
7
|
+
export { SidebarLayout } from './SidebarLayout.jsx';
|
|
8
|
+
export { StackLayout } from './StackLayout.jsx';
|
|
9
|
+
export { CardLayout } from './CardLayout.jsx';
|
|
10
|
+
export { FlexLayout } from './FlexLayout.jsx';
|
|
11
|
+
export { TwoColumnMicroGrid } from './TwoColumnMicroGrid.jsx';
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* AchievementListSpacious
|
|
6
|
+
* Airy bullet list with larger leading and baseline grid alignment
|
|
7
|
+
* Maintains 6pt or 8pt baseline grid multiples for typographic rhythm
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
const List = styled.ul`
|
|
11
|
+
margin: var(--resume-space-comfortable) 0;
|
|
12
|
+
padding-left: 24px;
|
|
13
|
+
list-style: none;
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
const Item = styled.li`
|
|
17
|
+
position: relative;
|
|
18
|
+
padding: 6px 0; /* 6pt baseline grid */
|
|
19
|
+
margin-bottom: 8px; /* 8pt baseline grid */
|
|
20
|
+
font-size: var(--resume-size-body);
|
|
21
|
+
color: var(--resume-color-secondary);
|
|
22
|
+
line-height: 1.6; /* 1.6 × 16px = 25.6px ≈ 26px (multiple of 6pt baseline) */
|
|
23
|
+
break-inside: avoid;
|
|
24
|
+
|
|
25
|
+
&:last-child {
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&::before {
|
|
30
|
+
content: '${(props) => props.$bullet || '•'}';
|
|
31
|
+
position: absolute;
|
|
32
|
+
left: -20px;
|
|
33
|
+
color: ${(props) => props.$color || 'var(--resume-color-accent)'};
|
|
34
|
+
font-weight: var(--resume-weight-semibold);
|
|
35
|
+
line-height: inherit;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media print {
|
|
39
|
+
break-inside: avoid;
|
|
40
|
+
page-break-inside: avoid;
|
|
41
|
+
orphans: 2;
|
|
42
|
+
widows: 2;
|
|
43
|
+
|
|
44
|
+
&::before {
|
|
45
|
+
-webkit-print-color-adjust: exact;
|
|
46
|
+
print-color-adjust: exact;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @param {Object} props
|
|
53
|
+
* @param {Array<string|Object>} props.items - Array of achievement items (strings or objects with text)
|
|
54
|
+
* @param {string} [props.bullet='•'] - Custom bullet character
|
|
55
|
+
* @param {string} [props.color] - Custom bullet color
|
|
56
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
57
|
+
*/
|
|
58
|
+
export function AchievementListSpacious({
|
|
59
|
+
items = [],
|
|
60
|
+
bullet = '•',
|
|
61
|
+
color,
|
|
62
|
+
className,
|
|
63
|
+
}) {
|
|
64
|
+
if (!items || items.length === 0) return null;
|
|
65
|
+
|
|
66
|
+
return (
|
|
67
|
+
<List className={className}>
|
|
68
|
+
{items.map((item, index) => {
|
|
69
|
+
const text = typeof item === 'object' ? item.text : item;
|
|
70
|
+
|
|
71
|
+
return (
|
|
72
|
+
<Item key={index} $bullet={bullet} $color={color}>
|
|
73
|
+
{text}
|
|
74
|
+
</Item>
|
|
75
|
+
);
|
|
76
|
+
})}
|
|
77
|
+
</List>
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export default AchievementListSpacious;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AchievementListSpacious } from './AchievementListSpacious';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* AchievementListSpacious Stories
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const meta = {
|
|
9
|
+
title: 'Resume Core/Lists/AchievementListSpacious',
|
|
10
|
+
component: AchievementListSpacious,
|
|
11
|
+
parameters: { layout: 'padded' },
|
|
12
|
+
tags: ['autodocs'],
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default meta;
|
|
16
|
+
|
|
17
|
+
export const Default = {
|
|
18
|
+
args: {
|
|
19
|
+
items: [
|
|
20
|
+
'Led cross-functional team of 12 engineers and designers to deliver cloud-native platform',
|
|
21
|
+
'Established best practices and coding standards adopted across 3 departments',
|
|
22
|
+
'Reduced technical debt by 40% through systematic refactoring initiatives',
|
|
23
|
+
'Presented at 5 industry conferences on microservices architecture patterns',
|
|
24
|
+
],
|
|
25
|
+
bullet: '•',
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export const CustomBullet = {
|
|
30
|
+
args: {
|
|
31
|
+
items: [
|
|
32
|
+
'Architected scalable infrastructure handling 10M+ requests per day',
|
|
33
|
+
'Mentored 8 developers resulting in 5 promotions to senior roles',
|
|
34
|
+
'Implemented security framework achieving SOC 2 Type II compliance',
|
|
35
|
+
],
|
|
36
|
+
bullet: '→',
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const MixedLength = {
|
|
41
|
+
args: {
|
|
42
|
+
items: [
|
|
43
|
+
'Short achievement',
|
|
44
|
+
'This is a longer achievement that spans multiple lines to demonstrate how the spacious list maintains proper baseline grid alignment and visual rhythm throughout the content',
|
|
45
|
+
'Medium length achievement with comfortable spacing',
|
|
46
|
+
'Another concise win',
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* AchievementListTight
|
|
6
|
+
* Compressed bullet list with hanging punctuation and strict orphan/widow control
|
|
7
|
+
* Optimized for dense achievement sections with 2-3 line maximum per item
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
const List = styled.ul`
|
|
11
|
+
margin: var(--resume-space-tight) 0;
|
|
12
|
+
padding-left: 20px;
|
|
13
|
+
list-style: none;
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
const Item = styled.li`
|
|
17
|
+
position: relative;
|
|
18
|
+
padding: 2px 0;
|
|
19
|
+
font-size: var(--resume-size-body);
|
|
20
|
+
color: var(--resume-color-secondary);
|
|
21
|
+
line-height: 1.4;
|
|
22
|
+
break-inside: avoid;
|
|
23
|
+
orphans: 2;
|
|
24
|
+
widows: 2;
|
|
25
|
+
max-height: 4.2em; /* Enforce 2-3 line max (1.4 line-height × 3 lines) */
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
|
|
29
|
+
&::before {
|
|
30
|
+
content: '${(props) => props.$bullet || '•'}';
|
|
31
|
+
position: absolute;
|
|
32
|
+
left: -16px;
|
|
33
|
+
color: ${(props) => props.$color || 'var(--resume-color-accent)'};
|
|
34
|
+
font-weight: var(--resume-weight-semibold);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media print {
|
|
38
|
+
break-inside: avoid;
|
|
39
|
+
page-break-inside: avoid;
|
|
40
|
+
orphans: 2;
|
|
41
|
+
widows: 2;
|
|
42
|
+
|
|
43
|
+
&::before {
|
|
44
|
+
-webkit-print-color-adjust: exact;
|
|
45
|
+
print-color-adjust: exact;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @param {Object} props
|
|
52
|
+
* @param {Array<string|Object>} props.items - Array of achievement items (strings or objects with text)
|
|
53
|
+
* @param {string} [props.bullet='•'] - Custom bullet character
|
|
54
|
+
* @param {string} [props.color] - Custom bullet color
|
|
55
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
56
|
+
*/
|
|
57
|
+
export function AchievementListTight({
|
|
58
|
+
items = [],
|
|
59
|
+
bullet = '•',
|
|
60
|
+
color,
|
|
61
|
+
className,
|
|
62
|
+
}) {
|
|
63
|
+
if (!items || items.length === 0) return null;
|
|
64
|
+
|
|
65
|
+
return (
|
|
66
|
+
<List className={className}>
|
|
67
|
+
{items.map((item, index) => {
|
|
68
|
+
const text = typeof item === 'object' ? item.text : item;
|
|
69
|
+
|
|
70
|
+
return (
|
|
71
|
+
<Item key={index} $bullet={bullet} $color={color}>
|
|
72
|
+
{text}
|
|
73
|
+
</Item>
|
|
74
|
+
);
|
|
75
|
+
})}
|
|
76
|
+
</List>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export default AchievementListTight;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AchievementListTight } from './AchievementListTight';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* AchievementListTight Stories
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const meta = {
|
|
9
|
+
title: 'Resume Core/Lists/AchievementListTight',
|
|
10
|
+
component: AchievementListTight,
|
|
11
|
+
parameters: { layout: 'padded' },
|
|
12
|
+
tags: ['autodocs'],
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default meta;
|
|
16
|
+
|
|
17
|
+
export const Default = {
|
|
18
|
+
args: {
|
|
19
|
+
items: [
|
|
20
|
+
'Increased system performance by 300% through code optimization',
|
|
21
|
+
'Led team of 5 engineers to deliver project 2 weeks ahead of schedule',
|
|
22
|
+
'Reduced cloud costs by $50K annually through infrastructure redesign',
|
|
23
|
+
'Achieved 99.99% uptime across all production services',
|
|
24
|
+
],
|
|
25
|
+
bullet: '•',
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export const CustomBullet = {
|
|
30
|
+
args: {
|
|
31
|
+
items: [
|
|
32
|
+
'Shipped 15 major features with zero production incidents',
|
|
33
|
+
'Mentored 3 junior developers resulting in 2 promotions',
|
|
34
|
+
'Built CI/CD pipeline reducing deployment time from 2 hours to 5 minutes',
|
|
35
|
+
],
|
|
36
|
+
bullet: '▸',
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const LongContent = {
|
|
41
|
+
args: {
|
|
42
|
+
items: [
|
|
43
|
+
'This is a very long achievement that demonstrates the 2-3 line maximum enforcement with ellipsis overflow handling for achievements that exceed the maximum height constraint',
|
|
44
|
+
'Architected and deployed microservices platform serving 1M+ daily active users with 99.99% SLA',
|
|
45
|
+
'Short achievement',
|
|
46
|
+
'Medium length achievement showing how text wraps naturally within the tight spacing constraints',
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* BulletList
|
|
4
|
+
* Simple bullet point list with custom styling
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const List = styled.ul`
|
|
9
|
+
margin: var(--resume-space-tight) 0;
|
|
10
|
+
padding-left: 24px;
|
|
11
|
+
list-style: none;
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
const Item = styled.li`
|
|
15
|
+
position: relative;
|
|
16
|
+
padding: 4px 0 4px 16px;
|
|
17
|
+
font-size: var(--resume-size-body);
|
|
18
|
+
color: var(--resume-color-secondary);
|
|
19
|
+
line-height: var(--resume-line-height-normal);
|
|
20
|
+
break-inside: avoid;
|
|
21
|
+
|
|
22
|
+
&::before {
|
|
23
|
+
content: '${(props) => props.$bullet || '•'}';
|
|
24
|
+
position: absolute;
|
|
25
|
+
left: 0;
|
|
26
|
+
color: ${(props) => props.$color || 'var(--resume-color-accent)'};
|
|
27
|
+
font-weight: var(--resume-weight-bold);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media print {
|
|
31
|
+
break-inside: avoid;
|
|
32
|
+
page-break-inside: avoid;
|
|
33
|
+
|
|
34
|
+
&::before {
|
|
35
|
+
-webkit-print-color-adjust: exact;
|
|
36
|
+
print-color-adjust: exact;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @param {Object} props
|
|
43
|
+
* @param {Array<string|Object>} props.items - Array of items (strings or objects with text)
|
|
44
|
+
* @param {string} [props.bullet='•'] - Custom bullet character
|
|
45
|
+
* @param {string} [props.color] - Custom bullet color
|
|
46
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
47
|
+
*/
|
|
48
|
+
export function BulletList({ items = [], bullet = '•', color, className }) {
|
|
49
|
+
if (!items || items.length === 0) return null;
|
|
50
|
+
|
|
51
|
+
return (
|
|
52
|
+
<List className={className}>
|
|
53
|
+
{items.map((item, index) => {
|
|
54
|
+
const text = typeof item === 'object' ? item.text : item;
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<Item key={index} $bullet={bullet} $color={color}>
|
|
58
|
+
{text}
|
|
59
|
+
</Item>
|
|
60
|
+
);
|
|
61
|
+
})}
|
|
62
|
+
</List>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export default BulletList;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* BulletList Stories
|
|
4
|
+
*/
|
|
5
|
+
import { BulletList } from './BulletList';
|
|
6
|
+
|
|
7
|
+
const meta = {
|
|
8
|
+
title: 'Resume Core/Lists/BulletList',
|
|
9
|
+
component: BulletList,
|
|
10
|
+
parameters: { layout: 'padded' },
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
|
|
16
|
+
export const Default = {
|
|
17
|
+
args: {
|
|
18
|
+
items: [
|
|
19
|
+
'Led development of cloud-native microservices architecture',
|
|
20
|
+
'Mentored 5 junior developers and conducted code reviews',
|
|
21
|
+
'Improved system performance by 300% through optimization',
|
|
22
|
+
'Established CI/CD pipeline reducing deployment time by 60%',
|
|
23
|
+
],
|
|
24
|
+
bullet: '•',
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const Example = {
|
|
29
|
+
args: {
|
|
30
|
+
items: [
|
|
31
|
+
'React, TypeScript, Node.js expertise',
|
|
32
|
+
'AWS cloud infrastructure management',
|
|
33
|
+
'Agile/Scrum methodologies',
|
|
34
|
+
'Technical leadership and mentorship',
|
|
35
|
+
],
|
|
36
|
+
bullet: '→',
|
|
37
|
+
},
|
|
38
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* CheckList
|
|
4
|
+
* List with checkmarks for completed items
|
|
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: 10px;
|
|
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 Check = styled.span`
|
|
28
|
+
flex-shrink: 0;
|
|
29
|
+
width: 18px;
|
|
30
|
+
height: 18px;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
border-radius: 50%;
|
|
35
|
+
background-color: ${(props) =>
|
|
36
|
+
props.$checked
|
|
37
|
+
? 'var(--resume-color-accent)'
|
|
38
|
+
: 'var(--resume-color-border)'};
|
|
39
|
+
color: white;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
margin-top: 2px;
|
|
42
|
+
|
|
43
|
+
@media print {
|
|
44
|
+
-webkit-print-color-adjust: exact;
|
|
45
|
+
print-color-adjust: exact;
|
|
46
|
+
border: 2px solid
|
|
47
|
+
${(props) =>
|
|
48
|
+
props.$checked
|
|
49
|
+
? 'var(--resume-color-accent)'
|
|
50
|
+
: 'var(--resume-color-border)'};
|
|
51
|
+
}
|
|
52
|
+
`;
|
|
53
|
+
|
|
54
|
+
const Text = styled.span`
|
|
55
|
+
flex: 1;
|
|
56
|
+
font-size: var(--resume-size-body);
|
|
57
|
+
color: var(--resume-color-secondary);
|
|
58
|
+
line-height: var(--resume-line-height-normal);
|
|
59
|
+
text-decoration: ${(props) =>
|
|
60
|
+
props.$checked && props.$strikethrough ? 'line-through' : 'none'};
|
|
61
|
+
opacity: ${(props) => (props.$checked && props.$strikethrough ? 0.7 : 1)};
|
|
62
|
+
`;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @param {Object} props
|
|
66
|
+
* @param {Array} props.items - Array of items
|
|
67
|
+
* @param {string} props.items[].text - Item text
|
|
68
|
+
* @param {boolean} [props.items[].checked] - Whether item is checked
|
|
69
|
+
* @param {boolean} [props.strikethrough=false] - Strike through checked items
|
|
70
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
71
|
+
*/
|
|
72
|
+
export function CheckList({ items = [], strikethrough = false, className }) {
|
|
73
|
+
if (!items || items.length === 0) return null;
|
|
74
|
+
|
|
75
|
+
return (
|
|
76
|
+
<List className={className}>
|
|
77
|
+
{items.map((item, index) => {
|
|
78
|
+
const isChecked = typeof item === 'object' ? item.checked : false;
|
|
79
|
+
const text = typeof item === 'object' ? item.text : item;
|
|
80
|
+
|
|
81
|
+
return (
|
|
82
|
+
<Item key={index}>
|
|
83
|
+
<Check $checked={isChecked}>{isChecked && '✓'}</Check>
|
|
84
|
+
<Text $checked={isChecked} $strikethrough={strikethrough}>
|
|
85
|
+
{text}
|
|
86
|
+
</Text>
|
|
87
|
+
</Item>
|
|
88
|
+
);
|
|
89
|
+
})}
|
|
90
|
+
</List>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export default CheckList;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* CheckList Stories
|
|
4
|
+
*/
|
|
5
|
+
import { CheckList } from './CheckList';
|
|
6
|
+
|
|
7
|
+
const meta = {
|
|
8
|
+
title: 'Resume Core/Lists/CheckList',
|
|
9
|
+
component: CheckList,
|
|
10
|
+
parameters: { layout: 'padded' },
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
|
|
16
|
+
export const Default = {
|
|
17
|
+
args: {
|
|
18
|
+
items: [
|
|
19
|
+
{ text: 'JavaScript/TypeScript', checked: true },
|
|
20
|
+
{ text: 'React & Redux', checked: true },
|
|
21
|
+
{ text: 'Node.js & Express', checked: true },
|
|
22
|
+
{ text: 'GraphQL', checked: false },
|
|
23
|
+
],
|
|
24
|
+
strikethrough: false,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const Example = {
|
|
29
|
+
args: {
|
|
30
|
+
items: [
|
|
31
|
+
{ text: 'Complete authentication system', checked: true },
|
|
32
|
+
{ text: 'Implement user dashboard', checked: true },
|
|
33
|
+
{ text: 'Add analytics tracking', checked: false },
|
|
34
|
+
{ text: 'Deploy to production', checked: false },
|
|
35
|
+
],
|
|
36
|
+
strikethrough: true,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* CompactList
|
|
4
|
+
* Condensed list with minimal spacing for tight layouts
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const List = styled.ul`
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
list-style: none;
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
const Item = styled.li`
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 8px;
|
|
18
|
+
padding: 2px 0;
|
|
19
|
+
font-size: var(--resume-size-small);
|
|
20
|
+
color: var(--resume-color-secondary);
|
|
21
|
+
break-inside: avoid;
|
|
22
|
+
|
|
23
|
+
&:not(:last-child) {
|
|
24
|
+
border-bottom: ${(props) =>
|
|
25
|
+
props.$divider ? '1px solid var(--resume-color-border)' : 'none'};
|
|
26
|
+
padding-bottom: ${(props) => (props.$divider ? '6px' : '2px')};
|
|
27
|
+
margin-bottom: ${(props) => (props.$divider ? '6px' : '0')};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media print {
|
|
31
|
+
break-inside: avoid;
|
|
32
|
+
page-break-inside: avoid;
|
|
33
|
+
border-bottom: ${(props) =>
|
|
34
|
+
props.$divider ? '1px solid var(--resume-color-border)' : 'none'};
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
|
|
38
|
+
const Bullet = styled.span`
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
width: 6px;
|
|
41
|
+
height: 6px;
|
|
42
|
+
border-radius: 50%;
|
|
43
|
+
background-color: ${(props) => props.$color || 'var(--resume-color-accent)'};
|
|
44
|
+
|
|
45
|
+
@media print {
|
|
46
|
+
-webkit-print-color-adjust: exact;
|
|
47
|
+
print-color-adjust: exact;
|
|
48
|
+
border: 1px solid ${(props) => props.$color || 'var(--resume-color-accent)'};
|
|
49
|
+
}
|
|
50
|
+
`;
|
|
51
|
+
|
|
52
|
+
const Text = styled.span`
|
|
53
|
+
flex: 1;
|
|
54
|
+
line-height: 1.4;
|
|
55
|
+
`;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @param {Object} props
|
|
59
|
+
* @param {Array<string|Object>} props.items - Array of items (strings or objects with text)
|
|
60
|
+
* @param {boolean} [props.showBullets=true] - Show bullet points
|
|
61
|
+
* @param {boolean} [props.divider=false] - Show dividers between items
|
|
62
|
+
* @param {string} [props.color] - Custom bullet color
|
|
63
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
64
|
+
*/
|
|
65
|
+
export function CompactList({
|
|
66
|
+
items = [],
|
|
67
|
+
showBullets = true,
|
|
68
|
+
divider = false,
|
|
69
|
+
color,
|
|
70
|
+
className,
|
|
71
|
+
}) {
|
|
72
|
+
if (!items || items.length === 0) return null;
|
|
73
|
+
|
|
74
|
+
return (
|
|
75
|
+
<List className={className}>
|
|
76
|
+
{items.map((item, index) => {
|
|
77
|
+
const text = typeof item === 'object' ? item.text : item;
|
|
78
|
+
|
|
79
|
+
return (
|
|
80
|
+
<Item key={index} $divider={divider}>
|
|
81
|
+
{showBullets && <Bullet $color={color} />}
|
|
82
|
+
<Text>{text}</Text>
|
|
83
|
+
</Item>
|
|
84
|
+
);
|
|
85
|
+
})}
|
|
86
|
+
</List>
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export default CompactList;
|