profile-pane 3.2.3-0 → 3.2.3-2
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/lib/ProfileView.css +73 -236
- package/lib/ProfileView.d.ts +2 -1
- package/lib/ProfileView.d.ts.map +1 -1
- package/lib/ProfileView.js +19 -18
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +35 -35
- package/lib/profile-pane.js +17229 -25377
- package/lib/profile-pane.js.map +1 -1
- package/lib/profile-pane.min.js +809 -1579
- package/lib/profile-pane.min.js.map +1 -1
- package/lib/sections/bio/BioSection.css +16 -123
- package/lib/sections/bio/BioSection.d.ts +2 -2
- package/lib/sections/bio/BioSection.d.ts.map +1 -1
- package/lib/sections/bio/BioSection.js +23 -32
- package/lib/sections/contactInfo/ContactInfoEditDialog.css +33 -66
- package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts.map +1 -1
- package/lib/sections/contactInfo/ContactInfoEditDialog.js +15 -39
- package/lib/sections/contactInfo/ContactInfoSection.css +7 -7
- package/lib/sections/contactInfo/ContactInfoSection.d.ts +2 -2
- package/lib/sections/contactInfo/ContactInfoSection.d.ts.map +1 -1
- package/lib/sections/contactInfo/ContactInfoSection.js +34 -49
- package/lib/sections/education/EducationSection.d.ts +1 -1
- package/lib/sections/education/EducationSection.d.ts.map +1 -1
- package/lib/sections/education/EducationSection.js +2 -3
- package/lib/sections/heading/HeadingEditDialog.d.ts.map +1 -1
- package/lib/sections/heading/HeadingEditDialog.js +1 -9
- package/lib/sections/heading/HeadingSection.css +122 -346
- package/lib/sections/heading/HeadingSection.d.ts +2 -3
- package/lib/sections/heading/HeadingSection.d.ts.map +1 -1
- package/lib/sections/heading/HeadingSection.js +13 -19
- package/lib/sections/languages/LanguageEditDialog.d.ts.map +1 -1
- package/lib/sections/languages/LanguageEditDialog.js +7 -8
- package/lib/sections/languages/LanguageSection.css +6 -6
- package/lib/sections/languages/LanguageSection.d.ts +2 -2
- package/lib/sections/languages/LanguageSection.d.ts.map +1 -1
- package/lib/sections/languages/LanguageSection.js +33 -49
- package/lib/sections/projects/ProjectEditDialog.d.ts +0 -1
- package/lib/sections/projects/ProjectEditDialog.d.ts.map +1 -1
- package/lib/sections/projects/ProjectEditDialog.js +2 -6
- package/lib/sections/projects/ProjectSection.css +36 -94
- package/lib/sections/projects/ProjectSection.d.ts +2 -2
- package/lib/sections/projects/ProjectSection.d.ts.map +1 -1
- package/lib/sections/projects/ProjectSection.js +28 -49
- package/lib/sections/resume/ResumeEditDialog.d.ts +0 -1
- package/lib/sections/resume/ResumeEditDialog.d.ts.map +1 -1
- package/lib/sections/resume/ResumeEditDialog.js +20 -40
- package/lib/sections/resume/ResumeSection.css +51 -133
- package/lib/sections/resume/ResumeSection.d.ts +3 -3
- package/lib/sections/resume/ResumeSection.d.ts.map +1 -1
- package/lib/sections/resume/ResumeSection.js +28 -42
- package/lib/sections/shared/sectionCardHelpers.js +15 -15
- package/lib/sections/skills/SkillsEditDialog.d.ts.map +1 -1
- package/lib/sections/skills/SkillsEditDialog.js +1 -3
- package/lib/sections/skills/SkillsSection.css +20 -67
- package/lib/sections/skills/SkillsSection.d.ts +2 -2
- package/lib/sections/skills/SkillsSection.d.ts.map +1 -1
- package/lib/sections/skills/SkillsSection.js +36 -55
- package/lib/sections/social/SocialEditDialog.d.ts.map +1 -1
- package/lib/sections/social/SocialEditDialog.js +4 -9
- package/lib/sections/social/SocialSection.css +19 -70
- package/lib/sections/social/SocialSection.d.ts +2 -2
- package/lib/sections/social/SocialSection.d.ts.map +1 -1
- package/lib/sections/social/SocialSection.js +37 -61
- package/lib/specialButtons/addMeToYourFriends.d.ts.map +1 -1
- package/lib/specialButtons/addMeToYourFriends.js +0 -2
- package/lib/styles/CollapsibleSection.css +39 -223
- package/lib/styles/EditDialogs.css +90 -284
- package/lib/styles/EditDialogs.responsive.css +72 -147
- package/lib/types.d.ts +1 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/ui/dialog.css +18 -89
- package/lib/ui/dialog.d.ts.map +1 -1
- package/lib/ui/dialog.js +5 -9
- package/lib/ui/dialog.responsive.css +31 -34
- package/lib/ui/responsiveActionButton.d.ts +19 -0
- package/lib/ui/responsiveActionButton.d.ts.map +1 -0
- package/lib/ui/responsiveActionButton.js +34 -0
- package/lib/utils/resize.d.ts +2 -0
- package/lib/utils/resize.d.ts.map +1 -0
- package/lib/utils/resize.js +40 -0
- package/package.json +19 -19
- package/lib/303.profile-pane.js +0 -1362
- package/lib/303.profile-pane.js.map +0 -1
- package/lib/303.profile-pane.min.js +0 -2
- package/lib/303.profile-pane.min.js.map +0 -1
- package/lib/specialButtons/addContact/AddMeToYourContacts.css +0 -1118
- package/lib/specialButtons/addContact/ContactCreationDialog.d.ts +0 -10
- package/lib/specialButtons/addContact/ContactCreationDialog.d.ts.map +0 -1
- package/lib/specialButtons/addContact/ContactCreationDialog.js +0 -1123
- package/lib/specialButtons/addContact/addMeToYourContacts.d.ts +0 -16
- package/lib/specialButtons/addContact/addMeToYourContacts.d.ts.map +0 -1
- package/lib/specialButtons/addContact/addMeToYourContacts.js +0 -136
- package/lib/specialButtons/addContact/contactsErrors.d.ts +0 -8
- package/lib/specialButtons/addContact/contactsErrors.d.ts.map +0 -1
- package/lib/specialButtons/addContact/contactsErrors.js +0 -106
- package/lib/specialButtons/addContact/contactsTypes.d.ts +0 -43
- package/lib/specialButtons/addContact/contactsTypes.d.ts.map +0 -1
- package/lib/specialButtons/addContact/contactsTypes.js +0 -5
- package/lib/specialButtons/addContact/helpers.d.ts +0 -7
- package/lib/specialButtons/addContact/helpers.d.ts.map +0 -1
- package/lib/specialButtons/addContact/helpers.js +0 -103
- package/lib/specialButtons/addContact/mutations.d.ts +0 -16
- package/lib/specialButtons/addContact/mutations.d.ts.map +0 -1
- package/lib/specialButtons/addContact/mutations.js +0 -300
- package/lib/specialButtons/addContact/selectors.d.ts +0 -10
- package/lib/specialButtons/addContact/selectors.d.ts.map +0 -1
- package/lib/specialButtons/addContact/selectors.js +0 -163
package/lib/ProfileView.css
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* Profile layout styles. */
|
|
2
|
-
|
|
3
|
-
/* Shell */
|
|
4
1
|
:root {
|
|
5
2
|
--profile-image-size: 3rem;
|
|
6
3
|
--profile-interactive-cursor: pointer;
|
|
@@ -42,7 +39,7 @@ td.obj .profile-pane-root {
|
|
|
42
39
|
display: flex;
|
|
43
40
|
align-items: center;
|
|
44
41
|
justify-content: space-between;
|
|
45
|
-
gap:
|
|
42
|
+
gap: 12px;
|
|
46
43
|
width: 100%;
|
|
47
44
|
}
|
|
48
45
|
|
|
@@ -50,32 +47,11 @@ td.obj .profile-pane-root {
|
|
|
50
47
|
.profile__section-header:not(.profile-edit-dialog__contact-section-header) h3,
|
|
51
48
|
.profile__section-header:not(.profile-edit-dialog__contact-section-header) h4 {
|
|
52
49
|
margin: 0;
|
|
53
|
-
font-size:
|
|
54
|
-
font-weight:
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.profile__action-button,
|
|
58
|
-
solid-ui-button.profile__action-button {
|
|
59
|
-
display: inline-flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
width: 100%;
|
|
63
|
-
min-width: 11.25rem;
|
|
64
|
-
max-width: 20rem;
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.profile__add-more-content,
|
|
69
|
-
.profile__action-icon {
|
|
70
|
-
display: inline-flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
gap: var(--spacing-xxs, 0.3125rem);
|
|
50
|
+
font-size: 1.375rem;
|
|
51
|
+
font-weight: 500;
|
|
73
52
|
}
|
|
74
53
|
|
|
75
54
|
.profile__add-more-icon {
|
|
76
|
-
display: inline-block;
|
|
77
|
-
width: var(--icon-xxxs, 0.75rem);
|
|
78
|
-
height: var(--icon-xxxs, 0.75rem);
|
|
79
55
|
margin-right: 0;
|
|
80
56
|
line-height: 0;
|
|
81
57
|
position: relative;
|
|
@@ -89,100 +65,29 @@ solid-ui-button.profile__action-button {
|
|
|
89
65
|
display: block;
|
|
90
66
|
}
|
|
91
67
|
|
|
92
|
-
.profile__btn-friends,
|
|
93
|
-
.profile__btn-contacts,
|
|
94
|
-
solid-ui-button.profile__btn-friends,
|
|
95
|
-
solid-ui-button.profile__btn-contacts {
|
|
96
|
-
width: auto;
|
|
97
|
-
min-width: 0;
|
|
98
|
-
max-width: none;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.profile__btn-friends,
|
|
102
|
-
.profile__btn-contacts {
|
|
103
|
-
gap: var(--spacing-xxs, 0.3125rem);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
68
|
solid-ui-button.profile__btn-friends,
|
|
107
69
|
solid-ui-button.profile__btn-contacts {
|
|
108
|
-
width: auto;
|
|
109
|
-
--button-padding-sm: 0.375rem var(--spacing-xs, 0.75rem);
|
|
110
|
-
--button-border-radius: var(--border-radius-md, 0.5rem);
|
|
111
|
-
--button-padding-x-sm: var(--spacing-xs, 0.75rem);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
solid-ui-button.profile__btn-friends {
|
|
115
|
-
--button-background: transparent;
|
|
116
|
-
--button-text: var(--color-primary, #7C4DFF);
|
|
117
|
-
--button-border: var(--color-primary, #7C4DFF);
|
|
118
|
-
--button-hover-background: rgba(124, 77, 255, 0.08);
|
|
119
|
-
--button-hover-border: var(--color-primary, #7C4DFF);
|
|
120
|
-
--button-hover-text: var(--color-primary, #7C4DFF);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
solid-ui-button.profile__btn-contacts {
|
|
124
|
-
--button-background: var(--profile-contacts-button-background, transparent);
|
|
125
|
-
--button-text: var(--profile-contacts-button-color, var(--color-primary, #7C4DFF));
|
|
126
|
-
--button-border: var(--profile-contacts-button-border, var(--color-primary, #7C4DFF));
|
|
127
|
-
--button-hover-background: rgba(124, 77, 255, 0.08);
|
|
128
|
-
--button-hover-border: var(--profile-contacts-button-border, var(--color-primary, #7C4DFF));
|
|
129
|
-
--button-hover-text: var(--profile-contacts-button-color, var(--color-primary, #7C4DFF));
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.profile-action-text {
|
|
133
70
|
width: auto;
|
|
134
71
|
min-width: 0;
|
|
135
72
|
max-width: none;
|
|
136
|
-
padding: var(--spacing-xxs, 0.3125rem);
|
|
137
|
-
border: none;
|
|
138
|
-
background: none;
|
|
139
|
-
color: var(--color-primary, #7C4DFF);
|
|
140
|
-
cursor: var(--profile-interactive-cursor, pointer);
|
|
141
|
-
font-size: var(--font-size-sm, 0.875rem);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
solid-ui-button.profile-action-text {
|
|
145
|
-
width: auto;
|
|
146
|
-
min-width: 0;
|
|
147
|
-
max-width: none;
|
|
148
|
-
--button-height-sm: 0;
|
|
149
|
-
--button-padding-sm: var(--spacing-xxs, 0.3125rem);
|
|
150
|
-
--button-font-size-sm: var(--font-size-sm, 0.875rem);
|
|
151
|
-
--button-font-weight: var(--font-weight-regular, 400);
|
|
152
|
-
--button-background: transparent;
|
|
153
|
-
--button-border-width: 0;
|
|
154
|
-
--button-border: transparent;
|
|
155
|
-
--button-text: var(--color-primary, #7C4DFF);
|
|
156
|
-
--button-hover-background: transparent;
|
|
157
|
-
--button-hover-border: transparent;
|
|
158
|
-
--button-hover-text: var(--color-primary, #7C4DFF);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.profile-action-text:hover {
|
|
162
|
-
text-decoration: underline;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
solid-ui-button.profile-action-text:hover::part(button),
|
|
166
|
-
solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
167
|
-
text-decoration: underline;
|
|
168
73
|
}
|
|
169
74
|
|
|
170
75
|
/* Base grid layout */
|
|
171
76
|
.profile-grid {
|
|
172
|
-
--profile-main-section-min-width:
|
|
173
|
-
--profile-sidebar-min-width:
|
|
174
|
-
--profile-sidebar-width: clamp(var(--profile-sidebar-min-width), 33.333%,
|
|
175
|
-
--profile-sidebar-section-padding:
|
|
176
|
-
--profile-mobile-section-padding:
|
|
177
|
-
--profile-stacked-section-gap:
|
|
77
|
+
--profile-main-section-min-width: 600px;
|
|
78
|
+
--profile-sidebar-min-width: 300px;
|
|
79
|
+
--profile-sidebar-width: clamp(var(--profile-sidebar-min-width), 33.333%, 350px);
|
|
80
|
+
--profile-sidebar-section-padding: 25px;
|
|
81
|
+
--profile-mobile-section-padding: 15px;
|
|
82
|
+
--profile-stacked-section-gap: 15px;
|
|
178
83
|
font-size: inherit;
|
|
179
84
|
display: grid;
|
|
180
85
|
grid-template-columns:
|
|
181
86
|
minmax(var(--profile-main-section-min-width), 1fr)
|
|
182
87
|
minmax(var(--profile-sidebar-min-width), var(--profile-sidebar-width));
|
|
183
88
|
align-items: start;
|
|
184
|
-
column-gap:
|
|
185
|
-
row-gap:
|
|
89
|
+
column-gap: 5px;
|
|
90
|
+
row-gap: 20px;
|
|
186
91
|
}
|
|
187
92
|
|
|
188
93
|
/* Grid columns and wrappers */
|
|
@@ -203,7 +108,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
203
108
|
grid-row: 2;
|
|
204
109
|
display: flex;
|
|
205
110
|
flex-direction: column;
|
|
206
|
-
gap:
|
|
111
|
+
gap: 20px;
|
|
207
112
|
margin-bottom: 0;
|
|
208
113
|
overflow-wrap: anywhere;
|
|
209
114
|
align-items: flex-start;
|
|
@@ -227,7 +132,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
227
132
|
align-self: stretch;
|
|
228
133
|
min-width: var(--profile-sidebar-min-width);
|
|
229
134
|
padding-block: 0;
|
|
230
|
-
padding-inline:
|
|
135
|
+
padding-inline: 15px;
|
|
231
136
|
background: transparent;
|
|
232
137
|
border-radius: 0;
|
|
233
138
|
}
|
|
@@ -258,10 +163,10 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
258
163
|
display: flex;
|
|
259
164
|
flex-direction: column;
|
|
260
165
|
min-width: var(--profile-sidebar-min-width);
|
|
261
|
-
padding:
|
|
166
|
+
padding: 15px;
|
|
262
167
|
align-items: stretch;
|
|
263
168
|
text-align: left;
|
|
264
|
-
border-radius:
|
|
169
|
+
border-radius: 5px;
|
|
265
170
|
background: var(--color-background, #F8F9FB);
|
|
266
171
|
overflow-x: clip;
|
|
267
172
|
}
|
|
@@ -269,7 +174,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
269
174
|
.profile-grid .profile__sidebar-content {
|
|
270
175
|
display: flex;
|
|
271
176
|
flex-direction: column;
|
|
272
|
-
gap:
|
|
177
|
+
gap: 20px;
|
|
273
178
|
min-width: var(--profile-sidebar-min-width);
|
|
274
179
|
}
|
|
275
180
|
|
|
@@ -294,24 +199,24 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
294
199
|
/* Section cards */
|
|
295
200
|
.profile-grid .profile__section,
|
|
296
201
|
.profile-grid .profile__section--empty {
|
|
297
|
-
background: var(--color-
|
|
298
|
-
border:
|
|
202
|
+
background: var(--solid-ui-color-white, #FFFFFF);
|
|
203
|
+
border: 1px solid var(--solid-ui-color-slate-200, #E2E8F0);
|
|
299
204
|
overflow-x: clip;
|
|
300
205
|
}
|
|
301
206
|
|
|
302
207
|
.profile-grid .profile__section {
|
|
303
|
-
padding:
|
|
304
|
-
border-radius:
|
|
208
|
+
padding: 25px;
|
|
209
|
+
border-radius: 5px;
|
|
305
210
|
}
|
|
306
211
|
|
|
307
212
|
.profile-grid .profile__section.profile-section-collapsible {
|
|
308
213
|
display: flex;
|
|
309
214
|
flex-direction: column;
|
|
310
|
-
gap:
|
|
215
|
+
gap: 25px;
|
|
311
216
|
}
|
|
312
217
|
|
|
313
218
|
.profile-grid .profile__section--empty {
|
|
314
|
-
padding:
|
|
219
|
+
padding: 40px 25px;
|
|
315
220
|
}
|
|
316
221
|
|
|
317
222
|
.profile-grid .profile__sidebar-content > [data-profile-section='social'].profile__section,
|
|
@@ -328,40 +233,35 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
328
233
|
/* Empty states */
|
|
329
234
|
.profile-grid solid-ui-button.profile__action-button--empty {
|
|
330
235
|
width: fit-content;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
--button-text: var(--color-text-primary, #314158);
|
|
338
|
-
--button-border: var(--color-border-darker, #4A5565);
|
|
339
|
-
--button-hover-background: var(--color-primary, #7C4DFF);
|
|
340
|
-
--button-hover-text: var(--color-text-on-action, var(--white, #FFF));
|
|
341
|
-
--button-hover-border: var(--color-primary, #7C4DFF);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.profile-grid solid-ui-button.profile__action-button--empty .profile__action-icon[slot='left-icon'] {
|
|
239
|
+
display: inline-flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
transform: translateY(-1px);
|
|
342
242
|
}
|
|
343
243
|
|
|
344
244
|
.profile-grid solid-ui-button.profile__action-button--empty:hover .profile__action-icon svg path,
|
|
345
245
|
.profile-grid solid-ui-button.profile__action-button--empty:focus-visible .profile__action-icon svg path,
|
|
346
246
|
.profile-grid solid-ui-button.profile__action-button--empty:focus-within .profile__action-icon svg path {
|
|
347
|
-
stroke: var(--
|
|
348
|
-
fill: var(--
|
|
247
|
+
stroke: var(--solid-ui-color-white, #FFFFFF);
|
|
248
|
+
fill: var(--solid-ui-color-white, #FFFFFF);
|
|
349
249
|
}
|
|
350
250
|
|
|
351
251
|
.profile-grid .profile__empty-state-message {
|
|
352
|
-
color: var(--
|
|
252
|
+
color: var(--solid-ui-color-gray-400, #99A1AF);
|
|
353
253
|
text-align: center;
|
|
354
|
-
font-size:
|
|
355
|
-
font-weight:
|
|
356
|
-
line-height:
|
|
357
|
-
margin-bottom:
|
|
254
|
+
font-size: 0.813rem;
|
|
255
|
+
font-weight: 400;
|
|
256
|
+
line-height: 1.4;
|
|
257
|
+
margin-bottom: 20px;
|
|
358
258
|
}
|
|
359
259
|
|
|
360
260
|
.profile-grid .profile__empty-state-content {
|
|
361
261
|
display: flex;
|
|
362
262
|
flex-direction: column;
|
|
363
263
|
align-items: center;
|
|
364
|
-
gap:
|
|
264
|
+
gap: 10px;
|
|
365
265
|
}
|
|
366
266
|
|
|
367
267
|
.profile-grid .profile__intro-main > .profile__section--empty.profile__section--empty-main,
|
|
@@ -369,7 +269,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
369
269
|
display: flex;
|
|
370
270
|
flex-direction: column;
|
|
371
271
|
align-items: center;
|
|
372
|
-
gap:
|
|
272
|
+
gap: 25px;
|
|
373
273
|
}
|
|
374
274
|
|
|
375
275
|
.profile-grid .profile__intro-sidebar > .profile__section--empty.profile__section--empty-sidebar,
|
|
@@ -385,8 +285,8 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
385
285
|
}
|
|
386
286
|
|
|
387
287
|
.profile-grid .profile__empty-state-content > h2 {
|
|
388
|
-
font-size:
|
|
389
|
-
font-weight:
|
|
288
|
+
font-size: 1.375rem;
|
|
289
|
+
font-weight: 500;
|
|
390
290
|
}
|
|
391
291
|
|
|
392
292
|
.profile-grid .profile__section--empty.profile__section--empty-main .profile__empty-state-message {
|
|
@@ -400,7 +300,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
400
300
|
}
|
|
401
301
|
|
|
402
302
|
.profile-grid .profile__section--empty.profile__section--empty-main .profile-section-collapsible__content {
|
|
403
|
-
gap:
|
|
303
|
+
gap: 25px;
|
|
404
304
|
}
|
|
405
305
|
|
|
406
306
|
.profile-grid [data-profile-section='projects'].profile__section--empty > .profile-section-collapsible__header,
|
|
@@ -409,7 +309,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
409
309
|
}
|
|
410
310
|
|
|
411
311
|
.profile-grid .profile__section--empty.profile__section--empty-main > .profile-section-collapsible__content > .profile__empty-state-content {
|
|
412
|
-
gap:
|
|
312
|
+
gap: 10px;
|
|
413
313
|
}
|
|
414
314
|
|
|
415
315
|
.profile-grid [data-profile-section='projects'].profile__section--empty > .profile-section-collapsible__content,
|
|
@@ -420,7 +320,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
420
320
|
/* Theme */
|
|
421
321
|
.profile-pane-host[data-theme='dark'] .profile-grid .profile__section,
|
|
422
322
|
.profile-pane-host[data-theme='dark'] .profile-grid .profile__section--empty {
|
|
423
|
-
border:
|
|
323
|
+
border: 1px solid var(--color-border, #444);
|
|
424
324
|
}
|
|
425
325
|
|
|
426
326
|
/* App-driven mobile layout, independent of viewport width. */
|
|
@@ -434,7 +334,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
434
334
|
max-width: 100%;
|
|
435
335
|
box-sizing: border-box;
|
|
436
336
|
margin: 0 auto;
|
|
437
|
-
padding-inline:
|
|
337
|
+
padding-inline: 5px;
|
|
438
338
|
overflow-x: clip;
|
|
439
339
|
}
|
|
440
340
|
|
|
@@ -460,14 +360,14 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
460
360
|
|
|
461
361
|
/* App-driven mobile: interaction and typography */
|
|
462
362
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .profile__action-button {
|
|
463
|
-
min-height: calc(var(--
|
|
363
|
+
min-height: calc(var(--solid-ui-clickable-area, 42px) + 8px) !important;
|
|
464
364
|
font-size: clamp(0.9rem, 2.1vw, 1rem) !important;
|
|
465
365
|
}
|
|
466
366
|
|
|
467
367
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile__section-header:not(.profile-edit-dialog__contact-section-header) h2,
|
|
468
368
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile__section-header:not(.profile-edit-dialog__contact-section-header) h3,
|
|
469
369
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile__section-header:not(.profile-edit-dialog__contact-section-header) h4 {
|
|
470
|
-
font-size: var(--profile-mobile-section-heading-size
|
|
370
|
+
font-size: var(--profile-mobile-section-heading-size) !important;
|
|
471
371
|
line-height: 1.2 !important;
|
|
472
372
|
}
|
|
473
373
|
|
|
@@ -484,7 +384,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
484
384
|
|
|
485
385
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .profile__empty-state-content > h2,
|
|
486
386
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .resume-card__section h3 {
|
|
487
|
-
font-size: var(--profile-mobile-section-heading-size
|
|
387
|
+
font-size: var(--profile-mobile-section-heading-size) !important;
|
|
488
388
|
line-height: 1.2 !important;
|
|
489
389
|
}
|
|
490
390
|
|
|
@@ -496,9 +396,9 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
496
396
|
align-items: flex-start;
|
|
497
397
|
/* Keep all mobile section cards at 15px padding across layout, media, and container fallbacks. */
|
|
498
398
|
padding: var(--profile-mobile-section-padding);
|
|
499
|
-
border-radius:
|
|
500
|
-
border:
|
|
501
|
-
background: var(--color-
|
|
399
|
+
border-radius: 5px;
|
|
400
|
+
border: 1px solid var(--solid-ui-color-gray-100, #F3F4F6);
|
|
401
|
+
background: var(--solid-ui-color-white, #FFFFFF);
|
|
502
402
|
}
|
|
503
403
|
|
|
504
404
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid [data-profile-section='social'].profile__section,
|
|
@@ -540,13 +440,12 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
540
440
|
padding: var(--profile-mobile-section-padding);
|
|
541
441
|
}
|
|
542
442
|
|
|
543
|
-
/* App-driven mobile: empty-state presentation */
|
|
544
443
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .profile__section.profile-section-collapsible {
|
|
545
|
-
gap:
|
|
444
|
+
gap: 20px;
|
|
546
445
|
}
|
|
547
446
|
|
|
548
447
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .profile__section--empty.profile-section-collapsible {
|
|
549
|
-
gap:
|
|
448
|
+
gap: 10px;
|
|
550
449
|
}
|
|
551
450
|
|
|
552
451
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid [data-profile-section='projects'].profile__section--empty > .profile-section-collapsible__header,
|
|
@@ -575,25 +474,6 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
575
474
|
width: 100%;
|
|
576
475
|
}
|
|
577
476
|
|
|
578
|
-
/* App-driven mobile: profile header and bio actions */
|
|
579
|
-
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .profile__name {
|
|
580
|
-
font-size: var(--profile-mobile-header-name-size, var(--font-size-xl, 1.375rem)) !important;
|
|
581
|
-
line-height: 1.15 !important;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .profile__role-org {
|
|
585
|
-
font-size: var(--profile-mobile-header-job-title-size, var(--font-size-md, 1rem)) !important;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .profile__details {
|
|
589
|
-
font-size: var(--profile-mobile-header-detail-size, var(--font-size-xxs, 0.75rem)) !important;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile-grid .profile__pronouns {
|
|
593
|
-
font-size: var(--profile-mobile-header-pronouns-size, 0.6875rem) !important;
|
|
594
|
-
line-height: 1.1 !important;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
477
|
:is(.profile-pane-host, .profile-pane-root)[data-layout='mobile'] .profile__section--empty .profile-section-collapsible__actions > .profile-section-collapsible__edit-button {
|
|
598
478
|
order: 2;
|
|
599
479
|
}
|
|
@@ -633,13 +513,13 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
633
513
|
max-width: 100%;
|
|
634
514
|
box-sizing: border-box;
|
|
635
515
|
margin: 0 auto;
|
|
636
|
-
padding-inline:
|
|
516
|
+
padding-inline: 5px;
|
|
637
517
|
overflow-x: clip;
|
|
638
518
|
}
|
|
639
519
|
|
|
640
520
|
/* Viewport stacked: interaction and wrappers */
|
|
641
521
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__action-button {
|
|
642
|
-
min-height: calc(var(--
|
|
522
|
+
min-height: calc(var(--solid-ui-clickable-area, 42px) + 8px) !important;
|
|
643
523
|
font-size: clamp(0.9rem, 2.1vw, 1rem) !important;
|
|
644
524
|
}
|
|
645
525
|
|
|
@@ -675,7 +555,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
675
555
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile__section-header:not(.profile-edit-dialog__contact-section-header) h2,
|
|
676
556
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile__section-header:not(.profile-edit-dialog__contact-section-header) h3,
|
|
677
557
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile__section-header:not(.profile-edit-dialog__contact-section-header) h4 {
|
|
678
|
-
font-size: var(--profile-mobile-section-heading-size
|
|
558
|
+
font-size: var(--profile-mobile-section-heading-size) !important;
|
|
679
559
|
line-height: 1.2 !important;
|
|
680
560
|
}
|
|
681
561
|
|
|
@@ -696,9 +576,9 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
696
576
|
flex-direction: column;
|
|
697
577
|
align-items: flex-start;
|
|
698
578
|
padding: var(--profile-mobile-section-padding);
|
|
699
|
-
border-radius:
|
|
700
|
-
border:
|
|
701
|
-
background: var(--color-
|
|
579
|
+
border-radius: 5px;
|
|
580
|
+
border: 1px solid var(--color-border-subtle, var(--gray-100, #F3F4F6));
|
|
581
|
+
background: var(--solid-ui-color-white, #FFFFFF);
|
|
702
582
|
}
|
|
703
583
|
|
|
704
584
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid [data-profile-section='social'].profile__section,
|
|
@@ -736,11 +616,11 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
736
616
|
}
|
|
737
617
|
|
|
738
618
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__section.profile-section-collapsible {
|
|
739
|
-
gap:
|
|
619
|
+
gap: 20px;
|
|
740
620
|
}
|
|
741
621
|
|
|
742
622
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__section--empty.profile-section-collapsible {
|
|
743
|
-
gap:
|
|
623
|
+
gap: 10px;
|
|
744
624
|
}
|
|
745
625
|
|
|
746
626
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid [data-profile-section='projects'].profile__section--empty > .profile-section-collapsible__header,
|
|
@@ -772,7 +652,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
772
652
|
|
|
773
653
|
/* Container stacked: interaction and wrappers */
|
|
774
654
|
.profile-grid .profile__action-button {
|
|
775
|
-
min-height: calc(var(--
|
|
655
|
+
min-height: calc(var(--solid-ui-clickable-area, 42px) + 0.5rem) !important;
|
|
776
656
|
font-size: clamp(0.9rem, 2.1vw, 1rem) !important;
|
|
777
657
|
}
|
|
778
658
|
|
|
@@ -808,7 +688,7 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
808
688
|
.profile__section-header:not(.profile-edit-dialog__contact-section-header) h2,
|
|
809
689
|
.profile__section-header:not(.profile-edit-dialog__contact-section-header) h3,
|
|
810
690
|
.profile__section-header:not(.profile-edit-dialog__contact-section-header) h4 {
|
|
811
|
-
font-size: var(--profile-mobile-section-heading-size
|
|
691
|
+
font-size: var(--profile-mobile-section-heading-size) !important;
|
|
812
692
|
line-height: 1.2 !important;
|
|
813
693
|
}
|
|
814
694
|
|
|
@@ -829,9 +709,9 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
829
709
|
flex-direction: column;
|
|
830
710
|
align-items: flex-start;
|
|
831
711
|
padding: var(--profile-mobile-section-padding);
|
|
832
|
-
border-radius:
|
|
833
|
-
border:
|
|
834
|
-
background: var(--color-
|
|
712
|
+
border-radius: 5px;
|
|
713
|
+
border: 1px solid var(--solid-ui-color-gray-100, #F3F4F6);
|
|
714
|
+
background: var(--solid-ui-color-white, #FFF);
|
|
835
715
|
}
|
|
836
716
|
|
|
837
717
|
.profile-grid [data-profile-section='social'].profile__section,
|
|
@@ -869,11 +749,11 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
869
749
|
}
|
|
870
750
|
|
|
871
751
|
.profile-grid .profile__section.profile-section-collapsible {
|
|
872
|
-
gap:
|
|
752
|
+
gap: 20px;
|
|
873
753
|
}
|
|
874
754
|
|
|
875
755
|
.profile-grid .profile__section--empty.profile-section-collapsible {
|
|
876
|
-
gap:
|
|
756
|
+
gap: 10px;
|
|
877
757
|
}
|
|
878
758
|
|
|
879
759
|
.profile-grid [data-profile-section='projects'].profile__section--empty > .profile-section-collapsible__header,
|
|
@@ -904,9 +784,9 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
904
784
|
flex-direction: column;
|
|
905
785
|
align-items: flex-start;
|
|
906
786
|
padding: var(--profile-mobile-section-padding);
|
|
907
|
-
border-radius:
|
|
908
|
-
border:
|
|
909
|
-
background: var(--color-
|
|
787
|
+
border-radius: 5px;
|
|
788
|
+
border: 1px solid var(--solid-ui-color-gray-100, #F3F4F6);
|
|
789
|
+
background: var(--solid-ui-color-white, #FFFFFF);
|
|
910
790
|
}
|
|
911
791
|
|
|
912
792
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__intro-sidebar > .profile__section,
|
|
@@ -952,28 +832,10 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
952
832
|
/* Narrow viewport: typography */
|
|
953
833
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__empty-state-content > h2,
|
|
954
834
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .resume-card__section h3 {
|
|
955
|
-
font-size: var(--profile-mobile-section-heading-size
|
|
835
|
+
font-size: var(--profile-mobile-section-heading-size) !important;
|
|
956
836
|
line-height: 1.2 !important;
|
|
957
837
|
}
|
|
958
838
|
|
|
959
|
-
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__name {
|
|
960
|
-
font-size: var(--profile-mobile-header-name-size, var(--font-size-xl, 1.375rem)) !important;
|
|
961
|
-
line-height: 1.15 !important;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__role-org {
|
|
965
|
-
font-size: var(--profile-mobile-header-job-title-size, var(--font-size-md, 1rem)) !important;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__details {
|
|
969
|
-
font-size: var(--profile-mobile-header-detail-size, var(--font-size-xxs, 0.75rem)) !important;
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile-grid .profile__pronouns {
|
|
973
|
-
font-size: var(--profile-mobile-header-pronouns-size, 0.6875rem) !important;
|
|
974
|
-
line-height: 1.1 !important;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
839
|
/* Narrow viewport: empty-state edit actions */
|
|
978
840
|
:is(.profile-pane-host, .profile-pane-root):not([data-layout]) .profile__section--empty .profile-section-collapsible__actions > .profile-section-collapsible__edit-button {
|
|
979
841
|
order: 2;
|
|
@@ -1005,9 +867,9 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
1005
867
|
flex-direction: column;
|
|
1006
868
|
align-items: flex-start;
|
|
1007
869
|
padding: var(--profile-mobile-section-padding);
|
|
1008
|
-
border-radius:
|
|
1009
|
-
border:
|
|
1010
|
-
background: var(--color-
|
|
870
|
+
border-radius: 5px;
|
|
871
|
+
border: 1px solid var(--solid-ui-color-gray-100, #F3F4F6);
|
|
872
|
+
background: var(--solid-ui-color-white, #FFFFFF);
|
|
1011
873
|
}
|
|
1012
874
|
|
|
1013
875
|
.profile-grid .profile__intro-sidebar > .profile__section,
|
|
@@ -1050,31 +912,6 @@ solid-ui-button.profile-action-text:focus-visible::part(button) {
|
|
|
1050
912
|
width: 100%;
|
|
1051
913
|
}
|
|
1052
914
|
|
|
1053
|
-
/* Narrow container: typography */
|
|
1054
|
-
.profile-grid .profile__empty-state-content > h2,
|
|
1055
|
-
.profile-grid .resume-card__section h3 {
|
|
1056
|
-
font-size: var(--profile-mobile-section-heading-size, var(--font-size-lg, 1.125rem)) !important;
|
|
1057
|
-
line-height: 1.2 !important;
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
.profile-grid .profile__name {
|
|
1061
|
-
font-size: var(--profile-mobile-header-name-size, var(--font-size-xl, 1.375rem)) !important;
|
|
1062
|
-
line-height: 1.15 !important;
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
.profile-grid .profile__role-org {
|
|
1066
|
-
font-size: var(--profile-mobile-header-job-title-size, var(--font-size-md, 1rem)) !important;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
.profile-grid .profile__details {
|
|
1070
|
-
font-size: var(--profile-mobile-header-detail-size, var(--font-size-xxs, 0.75rem)) !important;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
.profile-grid .profile__pronouns {
|
|
1074
|
-
font-size: var(--profile-mobile-header-pronouns-size, 0.6875rem) !important;
|
|
1075
|
-
line-height: 1.1 !important;
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
915
|
/* Narrow container: empty-state edit actions */
|
|
1079
916
|
.profile__section--empty .profile-section-collapsible__actions > .profile-section-collapsible__edit-button {
|
|
1080
917
|
order: 2;
|
package/lib/ProfileView.d.ts
CHANGED
|
@@ -3,5 +3,6 @@ import { DataBrowserContext } from 'pane-registry';
|
|
|
3
3
|
import { NamedNode } from 'rdflib';
|
|
4
4
|
import './ProfileView.css';
|
|
5
5
|
import './styles/CollapsibleSection.css';
|
|
6
|
-
|
|
6
|
+
import { Layout } from './types';
|
|
7
|
+
export declare function ProfileView(subject: NamedNode, context: DataBrowserContext, layout: Layout, onSaved?: () => Promise<void> | void): Promise<TemplateResult>;
|
|
7
8
|
//# sourceMappingURL=ProfileView.d.ts.map
|
package/lib/ProfileView.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileView.d.ts","sourceRoot":"","sources":["../src/ProfileView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,SAAS,EAAa,MAAM,QAAQ,CAAA;AAE7C,OAAO,mBAAmB,CAAA;AAC1B,OAAO,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"ProfileView.d.ts","sourceRoot":"","sources":["../src/ProfileView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,SAAS,EAAa,MAAM,QAAQ,CAAA;AAE7C,OAAO,mBAAmB,CAAA;AAC1B,OAAO,iCAAiC,CAAA;AACxC,OAAO,EAAE,MAAM,EAAc,MAAM,SAAS,CAAA;AAqD5C,wBAAsB,WAAW,CAC/B,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,GACnC,OAAO,CAAE,cAAc,CAAC,CA6E1B"}
|