@takuhon/ui 0.5.0 → 0.6.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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { LocalizedTakuhon, LocalizedProfile, LocalizedLink, LocalizedCareer, LocalizedEducation, LocalizedCertification, LocalizedMembership, LocalizedVolunteering, LocalizedHonor, LocalizedRecommendation, LocalizedPublication, LocalizedLanguage, LocalizedTestScore, LocalizedCourse, LocalizedPatent, LocalizedProject, Skill, Contact, LocaleTag } from '@takuhon/core';
1
+ import { LocalizedTakuhon, LocalizedProfile, LocalizedLink, LocaleTag, LocalizedCareer, LocalizedEducation, LocalizedCertification, LocalizedMembership, LocalizedVolunteering, LocalizedHonor, LocalizedRecommendation, LocalizedPublication, LocalizedLanguage, LocalizedTestScore, LocalizedCourse, LocalizedPatent, LocalizedProject, Skill, Contact } from '@takuhon/core';
2
2
 
3
3
  interface TakuhonProfileProps {
4
4
  data: LocalizedTakuhon;
@@ -12,83 +12,99 @@ declare function ProfileHeader({ profile }: ProfileHeaderProps): React.JSX.Eleme
12
12
 
13
13
  interface LinksListProps {
14
14
  links: LocalizedLink[];
15
+ locale?: LocaleTag;
15
16
  }
16
- declare function LinksList({ links }: LinksListProps): React.JSX.Element | null;
17
+ declare function LinksList({ links, locale }: LinksListProps): React.JSX.Element | null;
17
18
 
18
19
  interface CareerTimelineProps {
19
20
  careers: LocalizedCareer[];
21
+ locale?: LocaleTag;
20
22
  }
21
- declare function CareerTimeline({ careers }: CareerTimelineProps): React.JSX.Element | null;
23
+ declare function CareerTimeline({ careers, locale, }: CareerTimelineProps): React.JSX.Element | null;
22
24
 
23
25
  interface EducationTimelineProps {
24
26
  education: LocalizedEducation[];
27
+ locale?: LocaleTag;
25
28
  }
26
- declare function EducationTimeline({ education }: EducationTimelineProps): React.JSX.Element | null;
29
+ declare function EducationTimeline({ education, locale, }: EducationTimelineProps): React.JSX.Element | null;
27
30
 
28
31
  interface CertificationsProps {
29
32
  certifications: LocalizedCertification[];
33
+ locale?: LocaleTag;
30
34
  }
31
- declare function Certifications({ certifications }: CertificationsProps): React.JSX.Element | null;
35
+ declare function Certifications({ certifications, locale, }: CertificationsProps): React.JSX.Element | null;
32
36
 
33
37
  interface MembershipsProps {
34
38
  memberships: LocalizedMembership[];
39
+ locale?: LocaleTag;
35
40
  }
36
- declare function Memberships({ memberships }: MembershipsProps): React.JSX.Element | null;
41
+ declare function Memberships({ memberships, locale, }: MembershipsProps): React.JSX.Element | null;
37
42
 
38
43
  interface VolunteeringProps {
39
44
  volunteering: LocalizedVolunteering[];
45
+ locale?: LocaleTag;
40
46
  }
41
- declare function Volunteering({ volunteering }: VolunteeringProps): React.JSX.Element | null;
47
+ declare function Volunteering({ volunteering, locale, }: VolunteeringProps): React.JSX.Element | null;
42
48
 
43
49
  interface HonorsListProps {
44
50
  honors: LocalizedHonor[];
51
+ locale?: LocaleTag;
45
52
  }
46
- declare function HonorsList({ honors }: HonorsListProps): React.JSX.Element | null;
53
+ declare function HonorsList({ honors, locale }: HonorsListProps): React.JSX.Element | null;
47
54
 
48
55
  interface RecommendationsProps {
49
56
  recommendations: LocalizedRecommendation[];
57
+ locale?: LocaleTag;
50
58
  }
51
- declare function Recommendations({ recommendations, }: RecommendationsProps): React.JSX.Element | null;
59
+ declare function Recommendations({ recommendations, locale, }: RecommendationsProps): React.JSX.Element | null;
52
60
 
53
61
  interface PublicationsProps {
54
62
  publications: LocalizedPublication[];
63
+ locale?: LocaleTag;
55
64
  }
56
- declare function Publications({ publications }: PublicationsProps): React.JSX.Element | null;
65
+ declare function Publications({ publications, locale, }: PublicationsProps): React.JSX.Element | null;
57
66
 
58
67
  interface LanguagesProps {
59
68
  languages: LocalizedLanguage[];
69
+ locale?: LocaleTag;
60
70
  }
61
- declare function Languages({ languages }: LanguagesProps): React.JSX.Element | null;
71
+ declare function Languages({ languages, locale }: LanguagesProps): React.JSX.Element | null;
62
72
 
63
73
  interface TestScoresProps {
64
74
  testScores: LocalizedTestScore[];
75
+ locale?: LocaleTag;
65
76
  }
66
- declare function TestScores({ testScores }: TestScoresProps): React.JSX.Element | null;
77
+ declare function TestScores({ testScores, locale, }: TestScoresProps): React.JSX.Element | null;
67
78
 
68
79
  interface CoursesProps {
69
80
  courses: LocalizedCourse[];
81
+ locale?: LocaleTag;
70
82
  }
71
- declare function Courses({ courses }: CoursesProps): React.JSX.Element | null;
83
+ declare function Courses({ courses, locale }: CoursesProps): React.JSX.Element | null;
72
84
 
73
85
  interface PatentsProps {
74
86
  patents: LocalizedPatent[];
87
+ locale?: LocaleTag;
75
88
  }
76
- declare function Patents({ patents }: PatentsProps): React.JSX.Element | null;
89
+ declare function Patents({ patents, locale }: PatentsProps): React.JSX.Element | null;
77
90
 
78
91
  interface ProjectsListProps {
79
92
  projects: LocalizedProject[];
93
+ locale?: LocaleTag;
80
94
  }
81
- declare function ProjectsList({ projects }: ProjectsListProps): React.JSX.Element | null;
95
+ declare function ProjectsList({ projects, locale, }: ProjectsListProps): React.JSX.Element | null;
82
96
 
83
97
  interface SkillsListProps {
84
98
  skills: Skill[];
99
+ locale?: LocaleTag;
85
100
  }
86
- declare function SkillsList({ skills }: SkillsListProps): React.JSX.Element | null;
101
+ declare function SkillsList({ skills, locale }: SkillsListProps): React.JSX.Element | null;
87
102
 
88
103
  interface ContactInfoProps {
89
104
  contact: Contact;
105
+ locale?: LocaleTag;
90
106
  }
91
- declare function ContactInfo({ contact }: ContactInfoProps): React.JSX.Element | null;
107
+ declare function ContactInfo({ contact, locale, }: ContactInfoProps): React.JSX.Element | null;
92
108
 
93
109
  declare function Footer(): React.JSX.Element;
94
110