profile-pane 3.1.5 → 3.2.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 +16 -0
- package/lib/04567ff683933c35c465.png +0 -0
- package/lib/10163fd9b5a0e00d63a0.png +0 -0
- package/lib/1234dcb2eec2e45f252b.png +0 -0
- package/lib/20899934157df4db56cb.png +0 -0
- package/lib/33760bf79f097f449da5.png +0 -0
- package/lib/578d2b6ed32e7624164e.png +0 -0
- package/lib/5f62a5b2b7e99b9640c7.png +0 -0
- package/lib/6525766ecd288ec60129.png +0 -0
- package/lib/7800be6f6c4b5b0f4f20.png +0 -0
- package/lib/976473cf5fe24d657d4b.png +0 -0
- package/lib/ChatWithMe.d.ts +2 -1
- package/lib/ChatWithMe.d.ts.map +1 -1
- package/lib/ChatWithMe.js +3 -3
- package/lib/ProfileView.d.ts +1 -1
- package/lib/ProfileView.d.ts.map +1 -1
- package/lib/ProfileView.js +71 -131
- package/lib/ProfileViewModelPresenter.d.ts +23 -0
- package/lib/ProfileViewModelPresenter.d.ts.map +1 -0
- package/lib/ProfileViewModelPresenter.js +37 -0
- package/lib/QRCodeCard.d.ts +3 -1
- package/lib/QRCodeCard.d.ts.map +1 -1
- package/lib/QRCodeCard.js +86 -66
- package/lib/addMeToYourFriends.d.ts +3 -3
- package/lib/addMeToYourFriends.d.ts.map +1 -1
- package/lib/addMeToYourFriends.js +14 -30
- package/lib/bda84f59e7216675a208.png +0 -0
- package/lib/buttonsHelper.js +1 -1
- package/lib/cd68e8f3990ba8b2139e.png +0 -0
- package/lib/e7074a7e2cb69e51cfd3.png +0 -0
- package/lib/editProfilePane/EditCVCard.d.ts +1 -0
- package/lib/editProfilePane/EditCVCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditCVCard.js +2 -1
- package/lib/editProfilePane/EditCommunitiesCard.d.ts +1 -1
- package/lib/editProfilePane/EditCommunitiesCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditCommunitiesCard.js +2 -1
- package/lib/editProfilePane/EditContactsCard.d.ts +1 -0
- package/lib/editProfilePane/EditContactsCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditContactsCard.js +2 -0
- package/lib/editProfilePane/EditFriendsCard.d.ts +1 -1
- package/lib/editProfilePane/EditFriendsCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditFriendsCard.js +2 -1
- package/lib/editProfilePane/EditOtherPreferences.d.ts +1 -0
- package/lib/editProfilePane/EditOtherPreferences.d.ts.map +1 -1
- package/lib/editProfilePane/EditOtherPreferences.js +1 -0
- package/lib/editProfilePane/EditProfileView.d.ts +1 -1
- package/lib/editProfilePane/EditProfileView.d.ts.map +1 -1
- package/lib/editProfilePane/EditProfileView.js +1 -1
- package/lib/editProfilePane/EditSocialCard.d.ts +1 -0
- package/lib/editProfilePane/EditSocialCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditSocialCard.js +2 -1
- package/lib/editProfilePane/editProfilePresenter.d.ts +1 -0
- package/lib/editProfilePane/editProfilePresenter.d.ts.map +1 -1
- package/lib/editProfilePane/editProfilePresenter.js +2 -0
- package/lib/f3772696fb7ee53c23d8.png +0 -0
- package/lib/icons-svg/contactIcons.d.ts +3 -0
- package/lib/icons-svg/contactIcons.d.ts.map +1 -0
- package/lib/icons-svg/contactIcons.js +32 -0
- package/lib/icons-svg/profileIcons.d.ts +22 -0
- package/lib/icons-svg/profileIcons.d.ts.map +1 -0
- package/lib/icons-svg/profileIcons.js +309 -0
- package/lib/index.d.ts +1 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +42 -19
- package/lib/profile-pane.js +15629 -5670
- package/lib/profile-pane.js.map +1 -1
- package/lib/profile-pane.min.js +2171 -230
- package/lib/profile-pane.min.js.map +1 -1
- package/lib/rdfFormsHelper.d.ts +1 -0
- package/lib/rdfFormsHelper.d.ts.map +1 -1
- package/lib/rdfFormsHelper.js +2 -0
- package/lib/sections/bio/BioEditDialog.d.ts +6 -0
- package/lib/sections/bio/BioEditDialog.d.ts.map +1 -0
- package/lib/sections/bio/BioEditDialog.js +119 -0
- package/lib/sections/bio/BioSection.d.ts +7 -0
- package/lib/sections/bio/BioSection.d.ts.map +1 -0
- package/lib/sections/bio/BioSection.js +131 -0
- package/lib/sections/bio/mutations.d.ts +4 -0
- package/lib/sections/bio/mutations.d.ts.map +1 -0
- package/lib/sections/bio/mutations.js +43 -0
- package/lib/sections/bio/selectors.d.ts +4 -0
- package/lib/sections/bio/selectors.d.ts.map +1 -0
- package/lib/sections/bio/selectors.js +15 -0
- package/lib/sections/bio/types.d.ts +15 -0
- package/lib/sections/bio/types.d.ts.map +1 -0
- package/lib/sections/bio/types.js +5 -0
- package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts +7 -0
- package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts.map +1 -0
- package/lib/sections/contactInfo/ContactInfoEditDialog.js +658 -0
- package/lib/sections/contactInfo/ContactInfoSection.d.ts +5 -0
- package/lib/sections/contactInfo/ContactInfoSection.d.ts.map +1 -0
- package/lib/sections/contactInfo/ContactInfoSection.js +229 -0
- package/lib/sections/contactInfo/mutations.d.ts +4 -0
- package/lib/sections/contactInfo/mutations.d.ts.map +1 -0
- package/lib/sections/contactInfo/mutations.js +150 -0
- package/lib/sections/contactInfo/selectors.d.ts +4 -0
- package/lib/sections/contactInfo/selectors.d.ts.map +1 -0
- package/lib/sections/contactInfo/selectors.js +104 -0
- package/lib/sections/contactInfo/types.d.ts +44 -0
- package/lib/sections/contactInfo/types.d.ts.map +1 -0
- package/lib/sections/contactInfo/types.js +5 -0
- package/lib/sections/education/EducationEditDialog.d.ts +7 -0
- package/lib/sections/education/EducationEditDialog.d.ts.map +1 -0
- package/lib/sections/education/EducationEditDialog.js +459 -0
- package/lib/sections/education/EducationSection.d.ts +7 -0
- package/lib/sections/education/EducationSection.d.ts.map +1 -0
- package/lib/sections/education/EducationSection.js +126 -0
- package/lib/sections/education/mutations.d.ts +4 -0
- package/lib/sections/education/mutations.d.ts.map +1 -0
- package/lib/sections/education/mutations.js +60 -0
- package/lib/sections/education/selectors.d.ts +4 -0
- package/lib/sections/education/selectors.d.ts.map +1 -0
- package/lib/sections/education/selectors.js +64 -0
- package/lib/sections/education/types.d.ts +20 -0
- package/lib/sections/education/types.d.ts.map +1 -0
- package/lib/sections/education/types.js +5 -0
- package/lib/sections/heading/HeadingEditDialog.d.ts +6 -0
- package/lib/sections/heading/HeadingEditDialog.d.ts.map +1 -0
- package/lib/sections/heading/HeadingEditDialog.js +742 -0
- package/lib/sections/heading/HeadingSection.d.ts +9 -0
- package/lib/sections/heading/HeadingSection.d.ts.map +1 -0
- package/lib/sections/heading/HeadingSection.js +97 -0
- package/lib/sections/heading/camera.d.ts +19 -0
- package/lib/sections/heading/camera.d.ts.map +1 -0
- package/lib/sections/heading/camera.js +199 -0
- package/lib/sections/heading/dateHelpers.d.ts +4 -0
- package/lib/sections/heading/dateHelpers.d.ts.map +1 -0
- package/lib/sections/heading/dateHelpers.js +48 -0
- package/lib/sections/heading/imageHelpers.d.ts +4 -0
- package/lib/sections/heading/imageHelpers.d.ts.map +1 -0
- package/lib/sections/heading/imageHelpers.js +81 -0
- package/lib/sections/heading/mutations.d.ts +4 -0
- package/lib/sections/heading/mutations.d.ts.map +1 -0
- package/lib/sections/heading/mutations.js +190 -0
- package/lib/sections/heading/selectors.d.ts +5 -0
- package/lib/sections/heading/selectors.d.ts.map +1 -0
- package/lib/sections/heading/selectors.js +157 -0
- package/lib/sections/heading/types.d.ts +36 -0
- package/lib/sections/heading/types.d.ts.map +1 -0
- package/lib/sections/heading/types.js +5 -0
- package/lib/sections/languages/LanguageEditDialog.d.ts +7 -0
- package/lib/sections/languages/LanguageEditDialog.d.ts.map +1 -0
- package/lib/sections/languages/LanguageEditDialog.js +457 -0
- package/lib/sections/languages/LanguageSection.d.ts +5 -0
- package/lib/sections/languages/LanguageSection.d.ts.map +1 -0
- package/lib/sections/languages/LanguageSection.js +137 -0
- package/lib/sections/languages/mutations.d.ts +6 -0
- package/lib/sections/languages/mutations.d.ts.map +1 -0
- package/lib/sections/languages/mutations.js +296 -0
- package/lib/sections/languages/selectors.d.ts +5 -0
- package/lib/sections/languages/selectors.d.ts.map +1 -0
- package/lib/sections/languages/selectors.js +146 -0
- package/lib/sections/languages/types.d.ts +15 -0
- package/lib/sections/languages/types.d.ts.map +1 -0
- package/lib/sections/languages/types.js +5 -0
- package/lib/sections/projects/ProjectEditDialog.d.ts +7 -0
- package/lib/sections/projects/ProjectEditDialog.d.ts.map +1 -0
- package/lib/sections/projects/ProjectEditDialog.js +182 -0
- package/lib/sections/projects/ProjectSection.d.ts +6 -0
- package/lib/sections/projects/ProjectSection.d.ts.map +1 -0
- package/lib/sections/projects/ProjectSection.js +220 -0
- package/lib/sections/projects/mutations.d.ts +4 -0
- package/lib/sections/projects/mutations.d.ts.map +1 -0
- package/lib/sections/projects/mutations.js +188 -0
- package/lib/sections/projects/selectors.d.ts +5 -0
- package/lib/sections/projects/selectors.d.ts.map +1 -0
- package/lib/sections/projects/selectors.js +163 -0
- package/lib/sections/projects/types.d.ts +28 -0
- package/lib/sections/projects/types.d.ts.map +1 -0
- package/lib/sections/projects/types.js +8 -0
- package/lib/sections/resume/ResumeEditDialog.d.ts +7 -0
- package/lib/sections/resume/ResumeEditDialog.d.ts.map +1 -0
- package/lib/sections/resume/ResumeEditDialog.js +629 -0
- package/lib/sections/resume/ResumeSection.d.ts +7 -0
- package/lib/sections/resume/ResumeSection.d.ts.map +1 -0
- package/lib/sections/resume/ResumeSection.js +160 -0
- package/lib/sections/resume/mutations.d.ts +6 -0
- package/lib/sections/resume/mutations.d.ts.map +1 -0
- package/lib/sections/resume/mutations.js +172 -0
- package/lib/sections/resume/selectors.d.ts +4 -0
- package/lib/sections/resume/selectors.d.ts.map +1 -0
- package/lib/sections/resume/selectors.js +142 -0
- package/lib/sections/resume/types.d.ts +33 -0
- package/lib/sections/resume/types.d.ts.map +1 -0
- package/lib/sections/resume/types.js +8 -0
- package/lib/sections/shared/collapsibleSection.d.ts +2 -0
- package/lib/sections/shared/collapsibleSection.d.ts.map +1 -0
- package/lib/sections/shared/collapsibleSection.js +24 -0
- package/lib/sections/shared/contactTypeUtils.d.ts +7 -0
- package/lib/sections/shared/contactTypeUtils.d.ts.map +1 -0
- package/lib/sections/shared/contactTypeUtils.js +48 -0
- package/lib/sections/shared/idNodeFactory.d.ts +3 -0
- package/lib/sections/shared/idNodeFactory.d.ts.map +1 -0
- package/lib/sections/shared/idNodeFactory.js +14 -0
- package/lib/sections/shared/phoneCountries.d.ts +20 -0
- package/lib/sections/shared/phoneCountries.d.ts.map +1 -0
- package/lib/sections/shared/phoneCountries.js +1080 -0
- package/lib/sections/shared/rdfList.d.ts +3 -0
- package/lib/sections/shared/rdfList.d.ts.map +1 -0
- package/lib/sections/shared/rdfList.js +34 -0
- package/lib/sections/shared/rdfMutationHelpers.d.ts +12 -0
- package/lib/sections/shared/rdfMutationHelpers.d.ts.map +1 -0
- package/lib/sections/shared/rdfMutationHelpers.js +82 -0
- package/lib/sections/shared/rowState.d.ts +21 -0
- package/lib/sections/shared/rowState.d.ts.map +1 -0
- package/lib/sections/shared/rowState.js +52 -0
- package/lib/sections/shared/sanitizeUtils.d.ts +5 -0
- package/lib/sections/shared/sanitizeUtils.d.ts.map +1 -0
- package/lib/sections/shared/sanitizeUtils.js +22 -0
- package/lib/sections/shared/sectionCardHelpers.d.ts +11 -0
- package/lib/sections/shared/sectionCardHelpers.d.ts.map +1 -0
- package/lib/sections/shared/sectionCardHelpers.js +105 -0
- package/lib/sections/shared/types.d.ts +7 -0
- package/lib/sections/shared/types.d.ts.map +1 -0
- package/lib/sections/shared/types.js +5 -0
- package/lib/sections/skills/SkillsEditDialog.d.ts +7 -0
- package/lib/sections/skills/SkillsEditDialog.d.ts.map +1 -0
- package/lib/sections/skills/SkillsEditDialog.js +340 -0
- package/lib/sections/skills/SkillsSection.d.ts +5 -0
- package/lib/sections/skills/SkillsSection.d.ts.map +1 -0
- package/lib/sections/skills/SkillsSection.js +169 -0
- package/lib/sections/skills/mutations.d.ts +6 -0
- package/lib/sections/skills/mutations.d.ts.map +1 -0
- package/lib/sections/skills/mutations.js +110 -0
- package/lib/sections/skills/selectors.d.ts +6 -0
- package/lib/sections/skills/selectors.d.ts.map +1 -0
- package/lib/sections/skills/selectors.js +37 -0
- package/lib/sections/skills/types.d.ts +14 -0
- package/lib/sections/skills/types.d.ts.map +1 -0
- package/lib/sections/skills/types.js +5 -0
- package/lib/sections/social/SocialEditDialog.d.ts +7 -0
- package/lib/sections/social/SocialEditDialog.d.ts.map +1 -0
- package/lib/sections/social/SocialEditDialog.js +362 -0
- package/lib/sections/social/SocialSection.d.ts +8 -0
- package/lib/sections/social/SocialSection.d.ts.map +1 -0
- package/lib/sections/social/SocialSection.js +201 -0
- package/lib/sections/social/constants.d.ts +3 -0
- package/lib/sections/social/constants.d.ts.map +1 -0
- package/lib/sections/social/constants.js +16 -0
- package/lib/sections/social/helpers.d.ts +15 -0
- package/lib/sections/social/helpers.d.ts.map +1 -0
- package/lib/sections/social/helpers.js +316 -0
- package/lib/sections/social/mutations.d.ts +4 -0
- package/lib/sections/social/mutations.d.ts.map +1 -0
- package/lib/sections/social/mutations.js +298 -0
- package/lib/sections/social/selectors.d.ts +4 -0
- package/lib/sections/social/selectors.d.ts.map +1 -0
- package/lib/sections/social/selectors.js +43 -0
- package/lib/sections/social/types.d.ts +19 -0
- package/lib/sections/social/types.d.ts.map +1 -0
- package/lib/sections/social/types.js +5 -0
- package/lib/styles/BioSection.css +77 -0
- package/lib/styles/CVCard.css +107 -2
- package/lib/styles/ContactInfoEditDialog.css +153 -0
- package/lib/styles/EditDialogs.css +1028 -0
- package/lib/styles/EducationCard.css +103 -0
- package/lib/styles/HeadingSection.css +309 -0
- package/lib/styles/ProfileCard.css +10 -42
- package/lib/styles/ProfileView.css +53 -8
- package/lib/styles/ProjectsCard.css +206 -0
- package/lib/styles/QRCodeCard.css +29 -10
- package/lib/styles/SocialCard.css +41 -13
- package/lib/styles/dialog.css +209 -0
- package/lib/styles/utilities.css +638 -256
- package/lib/textUtils.d.ts +6 -0
- package/lib/textUtils.d.ts.map +1 -0
- package/lib/textUtils.js +44 -0
- package/lib/texts.d.ts +45 -4
- package/lib/texts.d.ts.map +1 -1
- package/lib/texts.js +46 -5
- package/lib/types.d.ts +2 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +5 -0
- package/lib/ui/dialog.d.ts +29 -0
- package/lib/ui/dialog.d.ts.map +1 -0
- package/lib/ui/dialog.js +269 -0
- package/lib/ui/errors.d.ts +2 -0
- package/lib/ui/errors.d.ts.map +1 -0
- package/lib/ui/errors.js +10 -0
- package/package.json +6 -4
- package/lib/CVCard.d.ts +0 -4
- package/lib/CVCard.d.ts.map +0 -1
- package/lib/CVCard.js +0 -114
- package/lib/CVPresenter.d.ts +0 -25
- package/lib/CVPresenter.d.ts.map +0 -1
- package/lib/CVPresenter.js +0 -119
- package/lib/FriendList.d.ts +0 -6
- package/lib/FriendList.d.ts.map +0 -1
- package/lib/FriendList.js +0 -27
- package/lib/ProfileCard.d.ts +0 -6
- package/lib/ProfileCard.d.ts.map +0 -1
- package/lib/ProfileCard.js +0 -62
- package/lib/SocialCard.d.ts +0 -5
- package/lib/SocialCard.d.ts.map +0 -1
- package/lib/SocialCard.js +0 -51
- package/lib/SocialPresenter.d.ts +0 -11
- package/lib/SocialPresenter.d.ts.map +0 -1
- package/lib/SocialPresenter.js +0 -117
- package/lib/StuffCard.d.ts +0 -10
- package/lib/StuffCard.d.ts.map +0 -1
- package/lib/StuffCard.js +0 -52
- package/lib/StuffPresenter.d.ts +0 -14
- package/lib/StuffPresenter.d.ts.map +0 -1
- package/lib/StuffPresenter.js +0 -53
- package/lib/presenter.d.ts +0 -14
- package/lib/presenter.d.ts.map +0 -1
- package/lib/presenter.js +0 -68
- package/lib/styles/FriendList.css +0 -12
- package/lib/styles/StuffCard.css +0 -23
- package/lib/styles/editProfile.css +0 -62
- package/lib/styles/profileRDFFormsEnforced.css +0 -431
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/* EducationCard.css */
|
|
2
|
+
/* Mirrors Resume/CV card typography and spacing patterns. */
|
|
3
|
+
|
|
4
|
+
.educationCard {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.educationSection {
|
|
9
|
+
margin-bottom: 1.25em;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.education {
|
|
13
|
+
margin: var(--spacing-xs) 0;
|
|
14
|
+
font-size: var(--font-size-base);
|
|
15
|
+
line-height: var(--line-height-base);
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
gap: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.education + .education {
|
|
22
|
+
margin-top: var(--spacing-sm);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.educationHeader {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
align-items: baseline;
|
|
30
|
+
gap: var(--spacing-sm);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.educationHeader h4,
|
|
34
|
+
.educationHeader time,
|
|
35
|
+
.educationHeader p {
|
|
36
|
+
margin: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.educationPeriod {
|
|
40
|
+
margin: 0;
|
|
41
|
+
font-size: var(--font-size-sm);
|
|
42
|
+
line-height: var(--line-height-tight);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.educationOrg {
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
color: var(--color-primary);
|
|
48
|
+
margin: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.cvDescriptionWrap {
|
|
52
|
+
margin: 0;
|
|
53
|
+
position: relative;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.cvDescriptionText {
|
|
57
|
+
margin: 0;
|
|
58
|
+
display: -webkit-box;
|
|
59
|
+
-webkit-box-orient: vertical;
|
|
60
|
+
-webkit-line-clamp: 2;
|
|
61
|
+
line-clamp: 2;
|
|
62
|
+
line-height: var(--line-height-base);
|
|
63
|
+
padding-right: 4.5em;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.cvDescriptionText.isExpanded {
|
|
68
|
+
display: block;
|
|
69
|
+
-webkit-line-clamp: unset;
|
|
70
|
+
line-clamp: unset;
|
|
71
|
+
padding-right: 0;
|
|
72
|
+
overflow: visible;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.cvDescriptionToggle {
|
|
76
|
+
margin: 0;
|
|
77
|
+
padding: 0;
|
|
78
|
+
border: 0;
|
|
79
|
+
background: none;
|
|
80
|
+
color: var(--color-primary);
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
font: inherit;
|
|
83
|
+
font-size: var(--font-size-sm);
|
|
84
|
+
line-height: var(--line-height-tight);
|
|
85
|
+
position: absolute;
|
|
86
|
+
right: 0;
|
|
87
|
+
bottom: 0;
|
|
88
|
+
background-color: var(--color-card-bg);
|
|
89
|
+
padding-left: 0.25em;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cvDescriptionText.isExpanded + .cvDescriptionToggle {
|
|
93
|
+
position: static;
|
|
94
|
+
display: inline;
|
|
95
|
+
padding-left: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@media (max-width: 640px) {
|
|
99
|
+
.educationHeader {
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
align-items: flex-start;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
.profile__avatar {
|
|
2
|
+
flex: 0 0 auto;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.profile__heading-top {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
8
|
+
grid-template-areas:
|
|
9
|
+
"avatar info actions"
|
|
10
|
+
"avatar details details";
|
|
11
|
+
column-gap: var(--spacing-md, 1.25rem);
|
|
12
|
+
row-gap: var(--spacing-sm, 0.75rem);
|
|
13
|
+
align-items: start;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.profile__name {
|
|
18
|
+
color: var(--color-text-heading, #000);
|
|
19
|
+
font-size: var(--font-size-xxl, 1.75rem); /* 28px */
|
|
20
|
+
font-weight: var(--font-weight-bold, 600);
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
text-indent: 0;
|
|
24
|
+
line-height: 1.2;
|
|
25
|
+
text-align: left;
|
|
26
|
+
transform: translateX(-4px);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.profile__info {
|
|
30
|
+
grid-area: info;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
flex: 1 1 auto;
|
|
34
|
+
min-width: 0;
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.profile__details {
|
|
39
|
+
grid-area: details;
|
|
40
|
+
color: var(--color-text-secondary, #4A5565);
|
|
41
|
+
font-size: var(--font-size-sm, 0.875rem); /* 14px */
|
|
42
|
+
display: flex;
|
|
43
|
+
width: 100%;
|
|
44
|
+
align-content: flex-start;
|
|
45
|
+
align-items: flex-start;
|
|
46
|
+
flex-wrap: wrap;
|
|
47
|
+
gap: var(--spacing-sm, 0.75rem) 2rem; /* 12px vertical, 32px horizontal */
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.profile__info > .profile__header-bar {
|
|
51
|
+
margin-left: 0;
|
|
52
|
+
padding-left: 0;
|
|
53
|
+
align-self: stretch;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.profile__header-bar {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
align-items: flex-start;
|
|
60
|
+
gap: 0.125rem;
|
|
61
|
+
width: 100%;
|
|
62
|
+
margin: 0;
|
|
63
|
+
padding: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.profile__heading-actions {
|
|
67
|
+
grid-area: actions;
|
|
68
|
+
margin-left: auto;
|
|
69
|
+
align-self: flex-start;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.profile__avatar {
|
|
73
|
+
grid-area: avatar;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.profile__heading-action-button {
|
|
77
|
+
position: static;
|
|
78
|
+
min-width: 0;
|
|
79
|
+
width: auto;
|
|
80
|
+
max-width: none;
|
|
81
|
+
padding: var(--spacing-xxs, 0.3125rem);
|
|
82
|
+
}
|
|
83
|
+
.profile__identity {
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: row;
|
|
86
|
+
align-items: baseline;
|
|
87
|
+
gap: 0.4375rem; /* 7px */
|
|
88
|
+
justify-content: flex-start;
|
|
89
|
+
width: 100%;
|
|
90
|
+
flex-wrap: nowrap;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.profile__pronouns {
|
|
94
|
+
color: var(--color-text-secondary, #4A5565);
|
|
95
|
+
font-size: var(--font-size-sm, 0.875rem); /* 14px */
|
|
96
|
+
font-weight: var(--font-weight-regular, 400);
|
|
97
|
+
line-height: 1.2;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.profile__role-org {
|
|
101
|
+
margin: 0;
|
|
102
|
+
width: 100%;
|
|
103
|
+
white-space: normal;
|
|
104
|
+
color: var(--color-text-subheading, #101828);
|
|
105
|
+
font-size: var(--font-size-base, 1rem);
|
|
106
|
+
font-weight: var(--font-weight-medium, 500);
|
|
107
|
+
line-height: 1.25;
|
|
108
|
+
text-align: left;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.profile__meta-row,
|
|
112
|
+
.profile__contact-row {
|
|
113
|
+
display: grid;
|
|
114
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
115
|
+
justify-content: flex-start;
|
|
116
|
+
column-gap: 0.25rem; /* 4px */
|
|
117
|
+
row-gap: var(--spacing-xs, 0.5rem);
|
|
118
|
+
align-items: start;
|
|
119
|
+
margin: 0;
|
|
120
|
+
padding: 0;
|
|
121
|
+
width: 100%;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.profile__meta-row .profile__item,
|
|
125
|
+
.profile__contact-row .profile__item {
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
gap: var(--spacing-2xs, 0.625rem);
|
|
129
|
+
min-width: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.profile__meta-row .profile__value,
|
|
133
|
+
.profile__contact-row .profile__value {
|
|
134
|
+
display: flex;
|
|
135
|
+
align-items: flex-start;
|
|
136
|
+
gap: var(--spacing-xxs, 0.3125rem);
|
|
137
|
+
min-width: 0;
|
|
138
|
+
white-space: normal !important;
|
|
139
|
+
overflow-wrap: anywhere;
|
|
140
|
+
word-break: break-word;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.profile__meta-row .profile__value-text,
|
|
144
|
+
.profile__contact-row .profile__value-text {
|
|
145
|
+
min-width: 0;
|
|
146
|
+
white-space: normal !important;
|
|
147
|
+
overflow-wrap: anywhere;
|
|
148
|
+
word-break: break-word;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.profile__prefix-icon {
|
|
152
|
+
display: inline-flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
margin-right: 0.125rem;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.profile__detail-icon {
|
|
158
|
+
display: block;
|
|
159
|
+
width: 1rem;
|
|
160
|
+
height: 1rem;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.profile__hero {
|
|
164
|
+
width: 140px;
|
|
165
|
+
height: 140px;
|
|
166
|
+
border-radius: var(--border-radius-full, 0.625rem); /* 10px */;
|
|
167
|
+
border: var(--border-width-sm, 0.1rem) solid var(--color-primary, #7C4DFF);
|
|
168
|
+
background: lightgray 50% / cover no-repeat;
|
|
169
|
+
background-position: 50%;
|
|
170
|
+
object-fit: cover;
|
|
171
|
+
object-position: center;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.profile__hero-alt {
|
|
175
|
+
width: 140px;
|
|
176
|
+
height: 140px;
|
|
177
|
+
padding: 0 36.4px;
|
|
178
|
+
border-radius: var(--border-radius-full, 0.625rem); /* 10px */;
|
|
179
|
+
border: 1.6px dashed #CBD5E1;
|
|
180
|
+
background: #F8FAFC;
|
|
181
|
+
box-sizing: border-box;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* added because the icon wasn't centering on mobile
|
|
185
|
+
due to styles in mashlib */
|
|
186
|
+
.profile__hero-alt .profile__hero-icon {
|
|
187
|
+
display: inline-flex;
|
|
188
|
+
align-items: center;
|
|
189
|
+
justify-content: center;
|
|
190
|
+
line-height: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.profile__hero-alt .profile__hero-icon svg {
|
|
194
|
+
display: block;
|
|
195
|
+
width: 100%;
|
|
196
|
+
height: 100%;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@media (max-width: 640px) {
|
|
200
|
+
.profile__heading-top {
|
|
201
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
202
|
+
grid-template-areas:
|
|
203
|
+
"avatar info actions"
|
|
204
|
+
"details details details";
|
|
205
|
+
column-gap: var(--spacing-sm, 0.75rem);
|
|
206
|
+
row-gap: var(--spacing-sm, 0.75rem);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.profile__name {
|
|
210
|
+
font-size: 1.5rem;
|
|
211
|
+
line-height: 1.15;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.profile__identity {
|
|
215
|
+
gap: 0.125rem;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.profile__pronouns {
|
|
219
|
+
font-size: var(--font-size-xs, 0.75rem);
|
|
220
|
+
line-height: 1.1;
|
|
221
|
+
white-space: nowrap;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.profile__hero,
|
|
225
|
+
.profile__hero-alt {
|
|
226
|
+
width: 112px;
|
|
227
|
+
height: 112px;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.profile__hero-alt {
|
|
231
|
+
display: flex;
|
|
232
|
+
align-items: center;
|
|
233
|
+
justify-content: center;
|
|
234
|
+
padding: 0;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.profile__hero-icon {
|
|
238
|
+
display: block;
|
|
239
|
+
margin: 0 auto;
|
|
240
|
+
width: 48px;
|
|
241
|
+
height: 48px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.profile__details {
|
|
245
|
+
gap: var(--spacing-xs, 0.5rem);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.profile__meta-row,
|
|
249
|
+
.profile__contact-row {
|
|
250
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
251
|
+
column-gap: 0.25rem;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@container profile-pane (max-width: 640px) {
|
|
256
|
+
.profile__heading-top {
|
|
257
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
258
|
+
grid-template-areas:
|
|
259
|
+
"avatar info actions"
|
|
260
|
+
"details details details";
|
|
261
|
+
column-gap: var(--spacing-sm, 0.75rem);
|
|
262
|
+
row-gap: var(--spacing-sm, 0.75rem);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.profile__name {
|
|
266
|
+
font-size: 1.5rem;
|
|
267
|
+
line-height: 1.15;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.profile__identity {
|
|
271
|
+
gap: 0.125rem;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.profile__pronouns {
|
|
275
|
+
font-size: var(--font-size-xs, 0.75rem);
|
|
276
|
+
line-height: 1.1;
|
|
277
|
+
white-space: nowrap;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.profile__hero,
|
|
281
|
+
.profile__hero-alt {
|
|
282
|
+
width: 112px;
|
|
283
|
+
height: 112px;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.profile__hero-alt {
|
|
287
|
+
display: flex;
|
|
288
|
+
align-items: center;
|
|
289
|
+
justify-content: center;
|
|
290
|
+
padding: 0;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.profile__hero-icon {
|
|
294
|
+
display: block;
|
|
295
|
+
margin: 0 auto;
|
|
296
|
+
width: 48px;
|
|
297
|
+
height: 48px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.profile__details {
|
|
301
|
+
gap: var(--spacing-xs, 0.5rem);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.profile__meta-row,
|
|
305
|
+
.profile__contact-row {
|
|
306
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
307
|
+
column-gap: 0.25rem;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
@@ -5,33 +5,6 @@
|
|
|
5
5
|
/* Component container */
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.image {
|
|
9
|
-
width: 160px;
|
|
10
|
-
height: 160px;
|
|
11
|
-
border-radius: 50%;
|
|
12
|
-
object-fit: cover;
|
|
13
|
-
margin-bottom: var(--spacing-sm);
|
|
14
|
-
box-shadow: var(--box-shadow-sm);
|
|
15
|
-
border: 3px solid var(--color-primary);
|
|
16
|
-
background: var(--color-card-bg);
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.image-alt {
|
|
21
|
-
width: 160px;
|
|
22
|
-
height: 160px;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
border-radius: 50%;
|
|
27
|
-
margin-bottom: var(--spacing-sm);
|
|
28
|
-
box-shadow: var(--box-shadow-sm);
|
|
29
|
-
border: 3px solid var(--color-primary);
|
|
30
|
-
background: var(--color-card-bg);
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
color: var(--color-text-secondary);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
8
|
.name {
|
|
36
9
|
font-size: var(--font-size-xl);
|
|
37
10
|
font-weight: 700;
|
|
@@ -42,19 +15,9 @@
|
|
|
42
15
|
letter-spacing: var(--letter-spacing-wide);
|
|
43
16
|
}
|
|
44
17
|
|
|
45
|
-
.
|
|
46
|
-
color: var(--color-text-secondary);
|
|
47
|
-
font-size: var(--font-size-base);
|
|
48
|
-
line-height: var(--line-height-base);
|
|
49
|
-
margin-bottom: var(--spacing-xs);
|
|
50
|
-
max-width: 40ch;
|
|
51
|
-
margin-left: auto;
|
|
52
|
-
margin-right: auto;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.buttonSection {
|
|
18
|
+
.profile__actions {
|
|
56
19
|
color: var(--color-text-secondary);
|
|
57
|
-
font-size:
|
|
20
|
+
font-size: var(--font-size-base, 1rem);
|
|
58
21
|
margin-bottom: var(--spacing-xs);
|
|
59
22
|
}
|
|
60
23
|
|
|
@@ -75,10 +38,15 @@
|
|
|
75
38
|
box-sizing: border-box;
|
|
76
39
|
}
|
|
77
40
|
|
|
78
|
-
.
|
|
79
|
-
|
|
41
|
+
.profile__qr-code {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: 20px;
|
|
46
|
+
align-self: stretch;
|
|
47
|
+
/* OLD color: var(--color-text-secondary);
|
|
80
48
|
font-size: 1em;
|
|
81
|
-
margin-bottom: var(--spacing-xs);
|
|
49
|
+
margin-bottom: var(--spacing-xs); */
|
|
82
50
|
}
|
|
83
51
|
|
|
84
52
|
.details {
|
|
@@ -1,20 +1,65 @@
|
|
|
1
1
|
/* ProfileView.css */
|
|
2
2
|
/* Uses utilities: .section-bg, .text-center */
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
.profile-grid .
|
|
4
|
+
|
|
5
|
+
.profile-grid .profile__main {
|
|
6
6
|
width: 100%;
|
|
7
7
|
max-width: 100%;
|
|
8
8
|
min-width: 0;
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
margin-bottom:
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
margin-bottom: var(--spacing-md);
|
|
10
|
+
margin-bottom: 0;
|
|
13
11
|
overflow-wrap: anywhere;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.profile-grid .profile__sidebar {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
align-items: stretch;
|
|
19
|
+
text-align: left;
|
|
20
|
+
border-radius: var(--border-radius-base);
|
|
21
|
+
background: var(--color-background, #F8F9FB);
|
|
22
|
+
width: 100%;
|
|
23
|
+
max-width: 100%;
|
|
24
|
+
min-width: 0;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
overflow-x: clip;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.profile-grid .profile__section {
|
|
30
|
+
padding: var(--spacing-lg);
|
|
31
|
+
border-radius: var(--border-radius-base);
|
|
32
|
+
background: var(--white, #FFF);
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
width: 100%;
|
|
35
|
+
max-width: 100%;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
overflow-x: clip;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.profile-grid .profile__section--empty {
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
width: 100%;
|
|
43
|
+
max-width: 100%;
|
|
44
|
+
min-width: 0;
|
|
45
|
+
overflow-x: clip;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/* SAM Not sure this is needed, and potentially should be moved somewhere else */
|
|
50
|
+
.profile-grid .phone-type {
|
|
51
|
+
font-size: var(--font-size-sm);
|
|
52
|
+
line-height: var(--line-height-base);
|
|
53
|
+
color: var(--color-text-secondary);
|
|
14
54
|
}
|
|
15
55
|
|
|
16
|
-
@
|
|
17
|
-
.profile-grid
|
|
18
|
-
|
|
56
|
+
@container profile-pane (max-width: 1000px) {
|
|
57
|
+
#main-content.profile-grid {
|
|
58
|
+
width: 100%;
|
|
59
|
+
max-width: 100%;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
margin-inline: auto !important;
|
|
62
|
+
padding-inline: var(--spacing-sm, 0.75rem) !important;
|
|
19
63
|
}
|
|
20
64
|
}
|
|
65
|
+
|