profile-pane 3.2.1 → 3.2.2-test.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 +50 -0
- package/lib/303.profile-pane.js +1362 -0
- package/lib/303.profile-pane.js.map +1 -0
- package/lib/303.profile-pane.min.js +2 -0
- package/lib/303.profile-pane.min.js.map +1 -0
- package/lib/ProfileView.css +1090 -0
- package/lib/ProfileView.d.ts +2 -1
- package/lib/ProfileView.d.ts.map +1 -1
- package/lib/ProfileView.js +64 -36
- package/lib/buttonsHelper.d.ts +1 -1
- package/lib/buttonsHelper.d.ts.map +1 -1
- package/lib/buttonsHelper.js +2 -1
- package/lib/editProfilePane/EditCVCard.js +1 -1
- package/lib/editProfilePane/EditCommunitiesCard.js +1 -1
- package/lib/editProfilePane/EditFriendsCard.js +1 -1
- package/lib/editProfilePane/EditProfileView.d.ts +1 -1
- package/lib/editProfilePane/EditProfileView.d.ts.map +1 -1
- package/lib/editProfilePane/EditProfileView.js +4 -5
- package/lib/editProfilePane/editProfilePresenter.d.ts.map +1 -1
- package/lib/editProfilePane/editProfilePresenter.js +5 -4
- package/lib/icons-svg/profileIcons.d.ts +1 -1
- package/lib/icons-svg/profileIcons.d.ts.map +1 -1
- package/lib/icons-svg/profileIcons.js +9 -17
- package/lib/index.d.ts +1 -8
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +74 -40
- package/lib/ontology/otherPreferencesForm.ttl +32 -0
- package/lib/ontology/resumeForm.ttl +349 -0
- package/lib/ontology/socialMedia.ttl +433 -0
- package/lib/profile-pane.js +32266 -13247
- package/lib/profile-pane.js.map +1 -1
- package/lib/profile-pane.min.js +2315 -935
- package/lib/profile-pane.min.js.map +1 -1
- package/lib/rdfFormsHelper.d.ts +13 -1
- package/lib/rdfFormsHelper.d.ts.map +1 -1
- package/lib/rdfFormsHelper.js +13 -1
- package/lib/sections/bio/BioEditDialog.d.ts.map +1 -1
- package/lib/sections/bio/BioEditDialog.js +7 -7
- package/lib/sections/bio/BioSection.css +300 -0
- package/lib/sections/bio/BioSection.d.ts +3 -2
- package/lib/sections/bio/BioSection.d.ts.map +1 -1
- package/lib/sections/bio/BioSection.js +26 -19
- package/lib/sections/bio/mutations.d.ts.map +1 -1
- package/lib/sections/bio/mutations.js +14 -3
- package/lib/sections/contactInfo/ContactInfoEditDialog.css +354 -0
- package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts +3 -1
- package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts.map +1 -1
- package/lib/sections/contactInfo/ContactInfoEditDialog.js +183 -98
- package/lib/sections/contactInfo/ContactInfoSection.css +125 -0
- package/lib/sections/contactInfo/ContactInfoSection.d.ts +2 -0
- package/lib/sections/contactInfo/ContactInfoSection.d.ts.map +1 -1
- package/lib/sections/contactInfo/ContactInfoSection.js +64 -41
- package/lib/sections/contactInfo/mutations.d.ts.map +1 -1
- package/lib/sections/contactInfo/mutations.js +51 -16
- package/lib/sections/education/EducationEditDialog.d.ts +3 -1
- package/lib/sections/education/EducationEditDialog.d.ts.map +1 -1
- package/lib/sections/education/EducationEditDialog.js +170 -92
- package/lib/sections/education/EducationSection.css +133 -0
- package/lib/sections/education/EducationSection.d.ts +3 -2
- package/lib/sections/education/EducationSection.d.ts.map +1 -1
- package/lib/sections/education/EducationSection.js +32 -25
- package/lib/sections/education/mutations.d.ts.map +1 -1
- package/lib/sections/education/mutations.js +14 -3
- package/lib/sections/heading/HeadingEditDialog.d.ts +4 -1
- package/lib/sections/heading/HeadingEditDialog.d.ts.map +1 -1
- package/lib/sections/heading/HeadingEditDialog.js +287 -162
- package/lib/sections/heading/HeadingSection.css +862 -0
- package/lib/sections/heading/HeadingSection.d.ts +3 -2
- package/lib/sections/heading/HeadingSection.d.ts.map +1 -1
- package/lib/sections/heading/HeadingSection.js +63 -32
- package/lib/sections/heading/imageHelpers.d.ts +1 -0
- package/lib/sections/heading/imageHelpers.d.ts.map +1 -1
- package/lib/sections/heading/imageHelpers.js +40 -1
- package/lib/sections/heading/mutations.d.ts.map +1 -1
- package/lib/sections/heading/mutations.js +86 -23
- package/lib/sections/heading/selectors.d.ts.map +1 -1
- package/lib/sections/heading/selectors.js +14 -3
- package/lib/sections/heading/types.d.ts +1 -2
- package/lib/sections/heading/types.d.ts.map +1 -1
- package/lib/sections/languages/LanguageEditDialog.d.ts +3 -1
- package/lib/sections/languages/LanguageEditDialog.d.ts.map +1 -1
- package/lib/sections/languages/LanguageEditDialog.js +202 -119
- package/lib/sections/languages/LanguageSection.css +53 -0
- package/lib/sections/languages/LanguageSection.d.ts +2 -0
- package/lib/sections/languages/LanguageSection.d.ts.map +1 -1
- package/lib/sections/languages/LanguageSection.js +42 -31
- package/lib/sections/languages/mutations.d.ts.map +1 -1
- package/lib/sections/languages/mutations.js +60 -161
- package/lib/sections/languages/selectors.d.ts.map +1 -1
- package/lib/sections/languages/selectors.js +1 -2
- package/lib/sections/projects/ProjectEditDialog.d.ts +2 -1
- package/lib/sections/projects/ProjectEditDialog.d.ts.map +1 -1
- package/lib/sections/projects/ProjectEditDialog.js +13 -24
- package/lib/sections/projects/ProjectSection.css +368 -0
- package/lib/sections/projects/ProjectSection.d.ts +2 -1
- package/lib/sections/projects/ProjectSection.d.ts.map +1 -1
- package/lib/sections/projects/ProjectSection.js +116 -34
- package/lib/sections/projects/mutations.d.ts.map +1 -1
- package/lib/sections/projects/mutations.js +109 -132
- package/lib/sections/projects/selectors.d.ts.map +1 -1
- package/lib/sections/projects/selectors.js +4 -45
- package/lib/{QRCodeCard.d.ts → sections/qrcode/QRCodeCard.d.ts} +2 -1
- package/lib/sections/qrcode/QRCodeCard.d.ts.map +1 -0
- package/lib/{QRCodeCard.js → sections/qrcode/QRCodeCard.js} +59 -11
- package/lib/sections/qrcode/QRCodeSection.css +108 -0
- package/lib/sections/qrcode/QRCodeSection.d.ts +4 -0
- package/lib/sections/qrcode/QRCodeSection.d.ts.map +1 -0
- package/lib/sections/qrcode/QRCodeSection.js +17 -0
- package/lib/sections/resume/ResumeEditDialog.d.ts +10 -1
- package/lib/sections/resume/ResumeEditDialog.d.ts.map +1 -1
- package/lib/sections/resume/ResumeEditDialog.js +531 -149
- package/lib/sections/resume/ResumeSection.css +350 -0
- package/lib/sections/resume/ResumeSection.d.ts +3 -2
- package/lib/sections/resume/ResumeSection.d.ts.map +1 -1
- package/lib/sections/resume/ResumeSection.js +78 -49
- package/lib/sections/resume/mutations.d.ts.map +1 -1
- package/lib/sections/resume/mutations.js +17 -3
- package/lib/sections/resume/selectors.d.ts.map +1 -1
- package/lib/sections/resume/selectors.js +1 -0
- package/lib/sections/resume/types.d.ts +1 -0
- package/lib/sections/resume/types.d.ts.map +1 -1
- package/lib/sections/shared/collapsibleSection.d.ts.map +1 -1
- package/lib/sections/shared/collapsibleSection.js +1 -0
- package/lib/sections/shared/phoneCountries.d.ts +1 -1
- package/lib/sections/shared/phoneCountries.d.ts.map +1 -1
- package/lib/sections/shared/phoneCountries.js +2 -2
- package/lib/sections/shared/projectCommunityNodes.d.ts +6 -0
- package/lib/sections/shared/projectCommunityNodes.d.ts.map +1 -0
- package/lib/sections/shared/projectCommunityNodes.js +56 -0
- package/lib/sections/shared/rdfMutationHelpers.d.ts +35 -2
- package/lib/sections/shared/rdfMutationHelpers.d.ts.map +1 -1
- package/lib/sections/shared/rdfMutationHelpers.js +290 -14
- package/lib/sections/shared/sectionCardHelpers.d.ts.map +1 -1
- package/lib/sections/shared/sectionCardHelpers.js +80 -11
- package/lib/sections/shared/types.d.ts +24 -0
- package/lib/sections/shared/types.d.ts.map +1 -1
- package/lib/sections/skills/SkillsEditDialog.d.ts +3 -1
- package/lib/sections/skills/SkillsEditDialog.d.ts.map +1 -1
- package/lib/sections/skills/SkillsEditDialog.js +136 -115
- package/lib/sections/skills/SkillsSection.css +173 -0
- package/lib/sections/skills/SkillsSection.d.ts +2 -0
- package/lib/sections/skills/SkillsSection.d.ts.map +1 -1
- package/lib/sections/skills/SkillsSection.js +107 -47
- package/lib/sections/skills/mutations.d.ts.map +1 -1
- package/lib/sections/skills/mutations.js +25 -21
- package/lib/sections/skills/selectors.d.ts.map +1 -1
- package/lib/sections/skills/selectors.js +5 -3
- package/lib/sections/social/SocialEditDialog.d.ts +3 -1
- package/lib/sections/social/SocialEditDialog.d.ts.map +1 -1
- package/lib/sections/social/SocialEditDialog.js +170 -62
- package/lib/sections/social/SocialSection.css +194 -0
- package/lib/sections/social/SocialSection.d.ts +4 -3
- package/lib/sections/social/SocialSection.d.ts.map +1 -1
- package/lib/sections/social/SocialSection.js +59 -43
- package/lib/sections/social/mutations.d.ts.map +1 -1
- package/lib/sections/social/mutations.js +23 -132
- package/lib/specialButtons/AddMeToYourFriends.css +54 -0
- package/lib/specialButtons/addContact/AddMeToYourContacts.css +1118 -0
- package/lib/specialButtons/addContact/ContactCreationDialog.d.ts +10 -0
- package/lib/specialButtons/addContact/ContactCreationDialog.d.ts.map +1 -0
- package/lib/specialButtons/addContact/ContactCreationDialog.js +1123 -0
- package/lib/specialButtons/addContact/addMeToYourContacts.d.ts +16 -0
- package/lib/specialButtons/addContact/addMeToYourContacts.d.ts.map +1 -0
- package/lib/specialButtons/addContact/addMeToYourContacts.js +136 -0
- package/lib/specialButtons/addContact/contactsErrors.d.ts +8 -0
- package/lib/specialButtons/addContact/contactsErrors.d.ts.map +1 -0
- package/lib/specialButtons/addContact/contactsErrors.js +106 -0
- package/lib/specialButtons/addContact/contactsTypes.d.ts +43 -0
- package/lib/specialButtons/addContact/contactsTypes.d.ts.map +1 -0
- package/lib/specialButtons/addContact/contactsTypes.js +5 -0
- package/lib/specialButtons/addContact/helpers.d.ts +7 -0
- package/lib/specialButtons/addContact/helpers.d.ts.map +1 -0
- package/lib/specialButtons/addContact/helpers.js +103 -0
- package/lib/specialButtons/addContact/mutations.d.ts +16 -0
- package/lib/specialButtons/addContact/mutations.d.ts.map +1 -0
- package/lib/specialButtons/addContact/mutations.js +300 -0
- package/lib/specialButtons/addContact/selectors.d.ts +10 -0
- package/lib/specialButtons/addContact/selectors.d.ts.map +1 -0
- package/lib/specialButtons/addContact/selectors.js +163 -0
- package/lib/{addMeToYourFriends.d.ts → specialButtons/addMeToYourFriends.d.ts} +6 -4
- package/lib/specialButtons/addMeToYourFriends.d.ts.map +1 -0
- package/lib/{addMeToYourFriends.js → specialButtons/addMeToYourFriends.js} +46 -11
- package/lib/styles/CollapsibleSection.css +519 -0
- package/lib/styles/EditDialogs.css +506 -686
- package/lib/styles/EditDialogs.responsive.css +989 -0
- package/lib/texts/buttonTexts.d.ts +9 -0
- package/lib/texts/buttonTexts.d.ts.map +1 -0
- package/lib/texts/buttonTexts.js +14 -0
- package/lib/texts/dialogTexts.d.ts +14 -0
- package/lib/texts/dialogTexts.d.ts.map +1 -0
- package/lib/texts/dialogTexts.js +19 -0
- package/lib/texts/messageTexts.d.ts +42 -0
- package/lib/texts/messageTexts.d.ts.map +1 -0
- package/lib/texts/messageTexts.js +47 -0
- package/lib/texts/profileTexts.d.ts +14 -0
- package/lib/texts/profileTexts.d.ts.map +1 -0
- package/lib/texts/profileTexts.js +19 -0
- package/lib/texts/qrCodeTexts.d.ts +2 -0
- package/lib/texts/qrCodeTexts.d.ts.map +1 -0
- package/lib/texts/qrCodeTexts.js +7 -0
- package/lib/texts.d.ts +5 -60
- package/lib/texts.d.ts.map +1 -1
- package/lib/texts.js +55 -70
- package/lib/ui/dialog.css +233 -0
- package/lib/ui/dialog.d.ts +15 -1
- package/lib/ui/dialog.d.ts.map +1 -1
- package/lib/ui/dialog.js +245 -45
- package/lib/ui/dialog.responsive.css +195 -0
- package/lib/ui/errors.d.ts.map +1 -1
- package/lib/ui/errors.js +2 -1
- package/lib/ui/spinner.d.ts +3 -0
- package/lib/ui/spinner.d.ts.map +1 -0
- package/lib/ui/spinner.js +13 -0
- package/lib/utils/debug.d.ts +5 -0
- package/lib/utils/debug.d.ts.map +1 -0
- package/lib/utils/debug.js +23 -0
- package/lib/utils/errorDisplay.d.ts +2 -0
- package/lib/utils/errorDisplay.d.ts.map +1 -0
- package/lib/utils/errorDisplay.js +19 -0
- package/package.json +32 -25
- package/lib/ChatWithMe.d.ts +0 -7
- package/lib/ChatWithMe.d.ts.map +0 -1
- package/lib/ChatWithMe.js +0 -90
- package/lib/QRCodeCard.d.ts.map +0 -1
- package/lib/addMeToYourFriends.d.ts.map +0 -1
- package/lib/sections/heading/camera.d.ts +0 -19
- package/lib/sections/heading/camera.d.ts.map +0 -1
- package/lib/sections/heading/camera.js +0 -199
- package/lib/styles/BioSection.css +0 -77
- package/lib/styles/CVCard.css +0 -142
- package/lib/styles/ChatWithMe.css +0 -6
- package/lib/styles/ContactInfoEditDialog.css +0 -153
- package/lib/styles/EducationCard.css +0 -103
- package/lib/styles/HeadingSection.css +0 -309
- package/lib/styles/ProfileCard.css +0 -66
- package/lib/styles/ProfileView.css +0 -65
- package/lib/styles/ProjectsCard.css +0 -206
- package/lib/styles/QRCodeCard.css +0 -43
- package/lib/styles/SocialCard.css +0 -89
- package/lib/styles/dialog.css +0 -209
- package/lib/styles/utilities.css +0 -740
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section {
|
|
2
|
+
--contact-info-dialog-contact-point-row-gap: var(--spacing-sm, 0.9375rem);
|
|
3
|
+
--contact-info-dialog-contact-point-row-align: flex-start;
|
|
4
|
+
--contact-info-dialog-contact-point-row-direction: row;
|
|
5
|
+
--contact-info-dialog-contact-point-row-wrap: wrap;
|
|
6
|
+
--contact-info-dialog-contact-point-field-flex: 1 1 auto;
|
|
7
|
+
--contact-info-dialog-contact-point-type-width: 6.5rem;
|
|
8
|
+
--contact-info-dialog-contact-point-type-max-width: none;
|
|
9
|
+
--contact-info-dialog-contact-point-actions-flex: 0 1 auto;
|
|
10
|
+
--contact-info-dialog-contact-point-actions-margin-left: auto;
|
|
11
|
+
--contact-info-dialog-contact-point-actions-justify: flex-start;
|
|
12
|
+
--contact-info-dialog-contact-point-select-font-size: inherit;
|
|
13
|
+
--contact-info-dialog-contact-point-select-line-height: inherit;
|
|
14
|
+
gap: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section + .profile-edit-dialog__section {
|
|
18
|
+
border-top: var(--border-width-sm, 0.1rem) solid var(--color-border-lighter, var(--slate-200, #E2E8F0));
|
|
19
|
+
padding-top: var(--spacing-xs, 0.75rem);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.profile__edit-form--contact-info .profile-edit-dialog__contact-section-header {
|
|
23
|
+
padding: 0;
|
|
24
|
+
gap: 1.875rem;
|
|
25
|
+
margin-bottom: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section fieldset {
|
|
29
|
+
margin-top: 0.25rem;
|
|
30
|
+
gap: var(--spacing-xs, 0.75rem);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section-heading {
|
|
34
|
+
margin: 0;
|
|
35
|
+
color: var(--gray-700, #364153);
|
|
36
|
+
font-size: var(--font-size-md, 1rem); /* 16px */
|
|
37
|
+
font-weight: var(--font-weight-md, 500);
|
|
38
|
+
line-height: normal;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section-title-icon {
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
width: 0.8333rem;
|
|
44
|
+
height: 0.8333rem;
|
|
45
|
+
flex: 0 0 0.8333rem;
|
|
46
|
+
flex-shrink: 0;
|
|
47
|
+
aspect-ratio: 1 / 1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section-title-icon svg {
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.profile-edit-dialog__row--contact-point {
|
|
56
|
+
max-width: 100%;
|
|
57
|
+
width: 100%;
|
|
58
|
+
border: 0;
|
|
59
|
+
outline: 0;
|
|
60
|
+
box-shadow: none;
|
|
61
|
+
flex-direction: var(--contact-info-dialog-contact-point-row-direction);
|
|
62
|
+
align-items: var(--contact-info-dialog-contact-point-row-align);
|
|
63
|
+
flex-wrap: var(--contact-info-dialog-contact-point-row-wrap);
|
|
64
|
+
gap: var(--contact-info-dialog-contact-point-row-gap);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.profile-edit-dialog__section fieldset > .profile-edit-dialog__row--contact-point {
|
|
68
|
+
margin-bottom: var(--spacing-xs, 0.75rem);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.profile-edit-dialog__section fieldset > .profile-edit-dialog__row--contact-point:last-child {
|
|
72
|
+
margin-bottom: var(--spacing-sm, 0.9375rem);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.profile-edit-dialog__row--contact-point > .profile-edit-dialog__field,
|
|
76
|
+
.profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type,
|
|
77
|
+
.profile-edit-dialog__row--contact-point > .profile-edit-dialog__field > .label {
|
|
78
|
+
border: 0;
|
|
79
|
+
outline: 0;
|
|
80
|
+
box-shadow: none;
|
|
81
|
+
background: transparent;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.profile-edit-dialog__row--contact-point > .profile-edit-dialog__field {
|
|
85
|
+
flex: var(--contact-info-dialog-contact-point-field-flex);
|
|
86
|
+
min-width: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.profile-edit-dialog__row--contact-point > label.profile-edit-dialog__field {
|
|
90
|
+
display: block;
|
|
91
|
+
width: auto;
|
|
92
|
+
min-width: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.profile-edit-dialog__row--contact-point > .profile-edit-dialog__field > .label {
|
|
96
|
+
display: block;
|
|
97
|
+
width: 100%;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.profile-edit-dialog__phone-type-row {
|
|
101
|
+
flex: 0 0 var(--contact-info-dialog-contact-point-type-width);
|
|
102
|
+
width: var(--contact-info-dialog-contact-point-type-width);
|
|
103
|
+
min-width: var(--contact-info-dialog-contact-point-type-width);
|
|
104
|
+
max-width: var(--contact-info-dialog-contact-point-type-max-width);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.emailTypeRow {
|
|
108
|
+
flex: 0 0 var(--contact-info-dialog-contact-point-type-width);
|
|
109
|
+
width: var(--contact-info-dialog-contact-point-type-width);
|
|
110
|
+
min-width: var(--contact-info-dialog-contact-point-type-width);
|
|
111
|
+
max-width: var(--contact-info-dialog-contact-point-type-max-width);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.profile-edit-dialog__row--contact-point > .profile-edit-dialog__actions {
|
|
115
|
+
flex: var(--contact-info-dialog-contact-point-actions-flex);
|
|
116
|
+
margin-left: var(--contact-info-dialog-contact-point-actions-margin-left);
|
|
117
|
+
justify-content: var(--contact-info-dialog-contact-point-actions-justify);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.profile-edit-dialog__phone-type-row > solid-ui-select,
|
|
121
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.emailTypeRow > solid-ui-select {
|
|
122
|
+
display: block;
|
|
123
|
+
width: 100%;
|
|
124
|
+
min-width: 0;
|
|
125
|
+
max-width: 100%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.profile__edit-form--contact-info .profile-edit-dialog__field-type.profile-edit-dialog__phone-type-row > select,
|
|
129
|
+
.profile__edit-form--contact-info .profile-edit-dialog__field-type.profile-edit-dialog__phone-type-row > solid-ui-select,
|
|
130
|
+
.profile__edit-form--contact-info .profile-edit-dialog__field-type.emailTypeRow > select,
|
|
131
|
+
.profile__edit-form--contact-info .profile-edit-dialog__field-type.emailTypeRow > solid-ui-select {
|
|
132
|
+
font-size: var(--contact-info-dialog-contact-point-select-font-size);
|
|
133
|
+
line-height: var(--contact-info-dialog-contact-point-select-line-height);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.profile-edit-dialog__row--address-header.profile-edit-dialog__row--full {
|
|
137
|
+
max-width: 100%;
|
|
138
|
+
width: 100%;
|
|
139
|
+
align-items: center;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.profile-edit-dialog__row--address-header.profile-edit-dialog__row--full .profile-edit-dialog__actions {
|
|
143
|
+
align-self: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.profile-edit-dialog__row--address-header.profile-edit-dialog__row--full .profile-edit-dialog__delete-button {
|
|
147
|
+
min-height: 1.75rem;
|
|
148
|
+
min-width: 1.75rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.profile-edit-dialog__address-title {
|
|
152
|
+
margin: 0;
|
|
153
|
+
font-size: var(--font-size-sm, 0.875rem);
|
|
154
|
+
font-weight: var(--font-weight-medium, 500);
|
|
155
|
+
line-height: var(--line-height-base, 1.5);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* layout = mobile */
|
|
159
|
+
html[data-layout='mobile'] #profile-modal .modal .profile__edit-form--contact-info .profile__section-header.profile-edit-dialog__contact-section-header {
|
|
160
|
+
padding: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
html[data-layout='mobile'] #profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__section-heading{
|
|
164
|
+
font-size: var(--font-size-md, 1rem);
|
|
165
|
+
line-height: var(--line-height-base, 1.5);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Media and container rules are needed so that the phone and email rows
|
|
169
|
+
stay as one row instead of wrapping */
|
|
170
|
+
@media (max-width: 768px) {
|
|
171
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__section-heading,
|
|
172
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section-heading {
|
|
173
|
+
font-size: var(--font-size-md, 1rem);
|
|
174
|
+
line-height: var(--line-height-base, 1.5);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point,
|
|
178
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point {
|
|
179
|
+
display: grid;
|
|
180
|
+
grid-template-columns:
|
|
181
|
+
minmax(0, 1fr)
|
|
182
|
+
minmax(var(--contact-info-dialog-contact-point-type-width), var(--contact-info-dialog-contact-point-type-width))
|
|
183
|
+
minmax(var(--min-touch-target, 44px), auto);
|
|
184
|
+
align-items: start;
|
|
185
|
+
column-gap: var(--spacing-2xs, 0.625rem);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field,
|
|
189
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field {
|
|
190
|
+
width: 100%;
|
|
191
|
+
max-width: 100%;
|
|
192
|
+
min-width: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.profile-edit-dialog__phone-type-row,
|
|
196
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.emailTypeRow,
|
|
197
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.profile-edit-dialog__phone-type-row,
|
|
198
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.emailTypeRow {
|
|
199
|
+
justify-self: stretch;
|
|
200
|
+
width: var(--contact-info-dialog-contact-point-type-width);
|
|
201
|
+
min-width: var(--contact-info-dialog-contact-point-type-width);
|
|
202
|
+
max-width: var(--contact-info-dialog-contact-point-type-max-width);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__actions,
|
|
206
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__actions {
|
|
207
|
+
display: flex;
|
|
208
|
+
align-items: center;
|
|
209
|
+
justify-content: flex-end;
|
|
210
|
+
align-self: start;
|
|
211
|
+
margin-left: 0;
|
|
212
|
+
justify-self: end;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section {
|
|
216
|
+
--contact-info-dialog-contact-point-row-gap: var(--spacing-2xs, 0.625rem);
|
|
217
|
+
--contact-info-dialog-contact-point-row-align: center;
|
|
218
|
+
--contact-info-dialog-contact-point-row-direction: row;
|
|
219
|
+
--contact-info-dialog-contact-point-row-wrap: nowrap;
|
|
220
|
+
--contact-info-dialog-contact-point-field-flex: 1 1 0;
|
|
221
|
+
--contact-info-dialog-contact-point-type-width: 5.5rem;
|
|
222
|
+
--contact-info-dialog-contact-point-type-max-width: 5.5rem;
|
|
223
|
+
--contact-info-dialog-contact-point-actions-flex: 0 0 auto;
|
|
224
|
+
--contact-info-dialog-contact-point-actions-margin-left: 0;
|
|
225
|
+
--contact-info-dialog-contact-point-actions-justify: flex-end;
|
|
226
|
+
--contact-info-dialog-contact-point-select-font-size: var(--font-size-xxs, 0.75rem);
|
|
227
|
+
--contact-info-dialog-contact-point-select-line-height: var(--line-height-base, 1.5);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@container profile-pane (max-width: 768px) {
|
|
232
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__section-heading,
|
|
233
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section-heading {
|
|
234
|
+
font-size: var(--font-size-md, 1rem);
|
|
235
|
+
line-height: var(--line-height-base, 1.5);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point,
|
|
239
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point {
|
|
240
|
+
display: grid;
|
|
241
|
+
grid-template-columns:
|
|
242
|
+
minmax(0, 1fr)
|
|
243
|
+
minmax(var(--contact-info-dialog-contact-point-type-width), var(--contact-info-dialog-contact-point-type-width))
|
|
244
|
+
minmax(var(--min-touch-target, 44px), auto);
|
|
245
|
+
align-items: start;
|
|
246
|
+
column-gap: var(--spacing-2xs, 0.625rem);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field,
|
|
250
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field {
|
|
251
|
+
width: 100%;
|
|
252
|
+
max-width: 100%;
|
|
253
|
+
min-width: 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.profile-edit-dialog__phone-type-row,
|
|
257
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.emailTypeRow,
|
|
258
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.profile-edit-dialog__phone-type-row,
|
|
259
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__field-type.emailTypeRow {
|
|
260
|
+
justify-self: stretch;
|
|
261
|
+
width: var(--contact-info-dialog-contact-point-type-width);
|
|
262
|
+
min-width: var(--contact-info-dialog-contact-point-type-width);
|
|
263
|
+
max-width: var(--contact-info-dialog-contact-point-type-max-width);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__actions,
|
|
267
|
+
.profile__edit-form--contact-info .profile-edit-dialog__row--contact-point > .profile-edit-dialog__actions {
|
|
268
|
+
display: flex;
|
|
269
|
+
align-items: center;
|
|
270
|
+
justify-content: flex-end;
|
|
271
|
+
align-self: start;
|
|
272
|
+
margin-left: 0;
|
|
273
|
+
justify-self: end;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.profile__edit-form--contact-info .profile-edit-dialog__section {
|
|
277
|
+
--contact-info-dialog-contact-point-row-gap: var(--spacing-2xs, 0.625rem);
|
|
278
|
+
--contact-info-dialog-contact-point-row-align: center;
|
|
279
|
+
--contact-info-dialog-contact-point-row-direction: row;
|
|
280
|
+
--contact-info-dialog-contact-point-row-wrap: nowrap;
|
|
281
|
+
--contact-info-dialog-contact-point-field-flex: 1 1 0;
|
|
282
|
+
--contact-info-dialog-contact-point-type-width: 5.5rem;
|
|
283
|
+
--contact-info-dialog-contact-point-type-max-width: 5.5rem;
|
|
284
|
+
--contact-info-dialog-contact-point-actions-flex: 0 0 auto;
|
|
285
|
+
--contact-info-dialog-contact-point-actions-margin-left: 0;
|
|
286
|
+
--contact-info-dialog-contact-point-actions-justify: flex-end;
|
|
287
|
+
--contact-info-dialog-contact-point-select-font-size: var(--font-size-xxs, 0.75rem);
|
|
288
|
+
--contact-info-dialog-contact-point-select-line-height: var(--line-height-base, 1.5);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
@media (max-width: 576px) {
|
|
293
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile__section-header.profile-edit-dialog__contact-section-header {
|
|
294
|
+
padding: 0;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__contact-section-header .profile-edit-dialog__section-title-icon {
|
|
298
|
+
width: 0.8333rem;
|
|
299
|
+
height: 0.8333rem;
|
|
300
|
+
flex-basis: 0.8333rem;
|
|
301
|
+
flex-shrink: 0;
|
|
302
|
+
aspect-ratio: 1 / 1;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__contact-section-header .profile__add-more-content {
|
|
306
|
+
font-size: var(--font-size-sm, 0.875rem);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__contact-section-header .profile__add-more-icon {
|
|
310
|
+
display: inline-flex;
|
|
311
|
+
width: var(--font-size-xxs, 0.75rem);
|
|
312
|
+
height: var(--font-size-xxs, 0.75rem);
|
|
313
|
+
flex-shrink: 0;
|
|
314
|
+
aspect-ratio: 1 / 1;
|
|
315
|
+
padding: 0;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__contact-section-header .profile__add-more-icon svg {
|
|
319
|
+
width: 100%;
|
|
320
|
+
height: 100%;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@container profile-pane (max-width: 576px) {
|
|
325
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile__section-header.profile-edit-dialog__contact-section-header {
|
|
326
|
+
padding: 0;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__contact-section-header .profile-edit-dialog__section-title-icon {
|
|
330
|
+
width: 0.8333rem;
|
|
331
|
+
height: 0.8333rem;
|
|
332
|
+
flex-basis: 0.8333rem;
|
|
333
|
+
flex-shrink: 0;
|
|
334
|
+
aspect-ratio: 1 / 1;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__contact-section-header .profile__add-more-content {
|
|
338
|
+
font-size: var(--font-size-sm, 0.875rem);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__contact-section-header .profile__add-more-icon {
|
|
342
|
+
display: inline-flex;
|
|
343
|
+
width: var(--font-size-xxs, 0.75rem);
|
|
344
|
+
height: var(--font-size-xxs, 0.75rem);
|
|
345
|
+
flex-shrink: 0;
|
|
346
|
+
aspect-ratio: 1 / 1;
|
|
347
|
+
padding: 0;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
#profile-modal .modal .profile__edit-form--contact-info .profile-edit-dialog__contact-section-header .profile__add-more-icon svg {
|
|
351
|
+
width: 100%;
|
|
352
|
+
height: 100%;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import 'solid-ui/components/actions/button';
|
|
2
|
+
import 'solid-ui/components/forms/select';
|
|
1
3
|
import { ContactInfo } from './types';
|
|
2
4
|
import '../../styles/EditDialogs.css';
|
|
3
|
-
import '
|
|
5
|
+
import './ContactInfoEditDialog.css';
|
|
4
6
|
import { LiveStore, NamedNode } from 'rdflib';
|
|
5
7
|
import { ViewerMode } from '../../types';
|
|
6
8
|
export declare function createContactInfoEditDialog(event: Event, store: LiveStore, subject: NamedNode, contactInfo: ContactInfo, viewerMode: ViewerMode, onSaved?: () => Promise<void> | void): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactInfoEditDialog.d.ts","sourceRoot":"","sources":["../../../src/sections/contactInfo/ContactInfoEditDialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,WAAW,EAAwC,MAAM,SAAS,CAAA;AAC9F,OAAO,8BAA8B,CAAA;AACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"ContactInfoEditDialog.d.ts","sourceRoot":"","sources":["../../../src/sections/contactInfo/ContactInfoEditDialog.ts"],"names":[],"mappings":"AAEA,OAAO,oCAAoC,CAAA;AAC3C,OAAO,kCAAkC,CAAA;AACzC,OAAO,EAAqB,WAAW,EAAwC,MAAM,SAAS,CAAA;AAC9F,OAAO,8BAA8B,CAAA;AACrC,OAAO,6BAA6B,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AA0vBxC,wBAAsB,2BAA2B,CAC/C,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,SAAS,EAClB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,iBA0DrC"}
|