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.
Files changed (107) hide show
  1. package/lib/ProfileView.css +73 -236
  2. package/lib/ProfileView.d.ts +2 -1
  3. package/lib/ProfileView.d.ts.map +1 -1
  4. package/lib/ProfileView.js +19 -18
  5. package/lib/index.d.ts.map +1 -1
  6. package/lib/index.js +35 -35
  7. package/lib/profile-pane.js +17229 -25377
  8. package/lib/profile-pane.js.map +1 -1
  9. package/lib/profile-pane.min.js +809 -1579
  10. package/lib/profile-pane.min.js.map +1 -1
  11. package/lib/sections/bio/BioSection.css +16 -123
  12. package/lib/sections/bio/BioSection.d.ts +2 -2
  13. package/lib/sections/bio/BioSection.d.ts.map +1 -1
  14. package/lib/sections/bio/BioSection.js +23 -32
  15. package/lib/sections/contactInfo/ContactInfoEditDialog.css +33 -66
  16. package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts.map +1 -1
  17. package/lib/sections/contactInfo/ContactInfoEditDialog.js +15 -39
  18. package/lib/sections/contactInfo/ContactInfoSection.css +7 -7
  19. package/lib/sections/contactInfo/ContactInfoSection.d.ts +2 -2
  20. package/lib/sections/contactInfo/ContactInfoSection.d.ts.map +1 -1
  21. package/lib/sections/contactInfo/ContactInfoSection.js +34 -49
  22. package/lib/sections/education/EducationSection.d.ts +1 -1
  23. package/lib/sections/education/EducationSection.d.ts.map +1 -1
  24. package/lib/sections/education/EducationSection.js +2 -3
  25. package/lib/sections/heading/HeadingEditDialog.d.ts.map +1 -1
  26. package/lib/sections/heading/HeadingEditDialog.js +1 -9
  27. package/lib/sections/heading/HeadingSection.css +122 -346
  28. package/lib/sections/heading/HeadingSection.d.ts +2 -3
  29. package/lib/sections/heading/HeadingSection.d.ts.map +1 -1
  30. package/lib/sections/heading/HeadingSection.js +13 -19
  31. package/lib/sections/languages/LanguageEditDialog.d.ts.map +1 -1
  32. package/lib/sections/languages/LanguageEditDialog.js +7 -8
  33. package/lib/sections/languages/LanguageSection.css +6 -6
  34. package/lib/sections/languages/LanguageSection.d.ts +2 -2
  35. package/lib/sections/languages/LanguageSection.d.ts.map +1 -1
  36. package/lib/sections/languages/LanguageSection.js +33 -49
  37. package/lib/sections/projects/ProjectEditDialog.d.ts +0 -1
  38. package/lib/sections/projects/ProjectEditDialog.d.ts.map +1 -1
  39. package/lib/sections/projects/ProjectEditDialog.js +2 -6
  40. package/lib/sections/projects/ProjectSection.css +36 -94
  41. package/lib/sections/projects/ProjectSection.d.ts +2 -2
  42. package/lib/sections/projects/ProjectSection.d.ts.map +1 -1
  43. package/lib/sections/projects/ProjectSection.js +28 -49
  44. package/lib/sections/resume/ResumeEditDialog.d.ts +0 -1
  45. package/lib/sections/resume/ResumeEditDialog.d.ts.map +1 -1
  46. package/lib/sections/resume/ResumeEditDialog.js +20 -40
  47. package/lib/sections/resume/ResumeSection.css +51 -133
  48. package/lib/sections/resume/ResumeSection.d.ts +3 -3
  49. package/lib/sections/resume/ResumeSection.d.ts.map +1 -1
  50. package/lib/sections/resume/ResumeSection.js +28 -42
  51. package/lib/sections/shared/sectionCardHelpers.js +15 -15
  52. package/lib/sections/skills/SkillsEditDialog.d.ts.map +1 -1
  53. package/lib/sections/skills/SkillsEditDialog.js +1 -3
  54. package/lib/sections/skills/SkillsSection.css +20 -67
  55. package/lib/sections/skills/SkillsSection.d.ts +2 -2
  56. package/lib/sections/skills/SkillsSection.d.ts.map +1 -1
  57. package/lib/sections/skills/SkillsSection.js +36 -55
  58. package/lib/sections/social/SocialEditDialog.d.ts.map +1 -1
  59. package/lib/sections/social/SocialEditDialog.js +4 -9
  60. package/lib/sections/social/SocialSection.css +19 -70
  61. package/lib/sections/social/SocialSection.d.ts +2 -2
  62. package/lib/sections/social/SocialSection.d.ts.map +1 -1
  63. package/lib/sections/social/SocialSection.js +37 -61
  64. package/lib/specialButtons/addMeToYourFriends.d.ts.map +1 -1
  65. package/lib/specialButtons/addMeToYourFriends.js +0 -2
  66. package/lib/styles/CollapsibleSection.css +39 -223
  67. package/lib/styles/EditDialogs.css +90 -284
  68. package/lib/styles/EditDialogs.responsive.css +72 -147
  69. package/lib/types.d.ts +1 -0
  70. package/lib/types.d.ts.map +1 -1
  71. package/lib/ui/dialog.css +18 -89
  72. package/lib/ui/dialog.d.ts.map +1 -1
  73. package/lib/ui/dialog.js +5 -9
  74. package/lib/ui/dialog.responsive.css +31 -34
  75. package/lib/ui/responsiveActionButton.d.ts +19 -0
  76. package/lib/ui/responsiveActionButton.d.ts.map +1 -0
  77. package/lib/ui/responsiveActionButton.js +34 -0
  78. package/lib/utils/resize.d.ts +2 -0
  79. package/lib/utils/resize.d.ts.map +1 -0
  80. package/lib/utils/resize.js +40 -0
  81. package/package.json +19 -19
  82. package/lib/303.profile-pane.js +0 -1362
  83. package/lib/303.profile-pane.js.map +0 -1
  84. package/lib/303.profile-pane.min.js +0 -2
  85. package/lib/303.profile-pane.min.js.map +0 -1
  86. package/lib/specialButtons/addContact/AddMeToYourContacts.css +0 -1118
  87. package/lib/specialButtons/addContact/ContactCreationDialog.d.ts +0 -10
  88. package/lib/specialButtons/addContact/ContactCreationDialog.d.ts.map +0 -1
  89. package/lib/specialButtons/addContact/ContactCreationDialog.js +0 -1123
  90. package/lib/specialButtons/addContact/addMeToYourContacts.d.ts +0 -16
  91. package/lib/specialButtons/addContact/addMeToYourContacts.d.ts.map +0 -1
  92. package/lib/specialButtons/addContact/addMeToYourContacts.js +0 -136
  93. package/lib/specialButtons/addContact/contactsErrors.d.ts +0 -8
  94. package/lib/specialButtons/addContact/contactsErrors.d.ts.map +0 -1
  95. package/lib/specialButtons/addContact/contactsErrors.js +0 -106
  96. package/lib/specialButtons/addContact/contactsTypes.d.ts +0 -43
  97. package/lib/specialButtons/addContact/contactsTypes.d.ts.map +0 -1
  98. package/lib/specialButtons/addContact/contactsTypes.js +0 -5
  99. package/lib/specialButtons/addContact/helpers.d.ts +0 -7
  100. package/lib/specialButtons/addContact/helpers.d.ts.map +0 -1
  101. package/lib/specialButtons/addContact/helpers.js +0 -103
  102. package/lib/specialButtons/addContact/mutations.d.ts +0 -16
  103. package/lib/specialButtons/addContact/mutations.d.ts.map +0 -1
  104. package/lib/specialButtons/addContact/mutations.js +0 -300
  105. package/lib/specialButtons/addContact/selectors.d.ts +0 -10
  106. package/lib/specialButtons/addContact/selectors.d.ts.map +0 -1
  107. package/lib/specialButtons/addContact/selectors.js +0 -163
@@ -36,9 +36,9 @@ html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .
36
36
 
37
37
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob {
38
38
  display: block;
39
- height: var(--min-touch-target, 44px);
40
- min-height: var(--min-touch-target, 44px);
41
- max-height: var(--min-touch-target, 44px);
39
+ height: var(--solid-ui-clickable-area, 42px);
40
+ min-height: var(--solid-ui-clickable-area, 42px);
41
+ max-height: var(--solid-ui-clickable-area, 42px);
42
42
  box-sizing: border-box;
43
43
  width: 100%;
44
44
  max-width: 100%;
@@ -62,21 +62,21 @@ html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .
62
62
  }
63
63
 
64
64
  @media (hover: none) and (pointer: coarse) {
65
- /* Mobile date inputs can ignore the shared 44px field sizing and let the native picker chrome spill past the dialog field. */
65
+ /* Mobile date inputs can ignore the shared 42px field sizing and let the native picker chrome spill past the dialog field. */
66
66
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob {
67
- height: var(--min-touch-target, 44px);
68
- min-height: var(--min-touch-target, 44px);
69
- max-height: var(--min-touch-target, 44px);
70
- line-height: calc(var(--min-touch-target, 44px) - 2px);
67
+ height: var(--solid-ui-clickable-area, 42px);
68
+ min-height: var(--solid-ui-clickable-area, 42px);
69
+ max-height: var(--solid-ui-clickable-area, 42px);
70
+ line-height: calc(var(--solid-ui-clickable-area, 42px) - 2px);
71
71
  padding-block: 0;
72
- width: calc(100% - 1.5rem);
73
- max-width: calc(100% - 1.5rem);
72
+ width: calc(100% - 24px);
73
+ max-width: calc(100% - 24px);
74
74
  }
75
75
 
76
76
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value,
77
77
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit,
78
78
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit-fields-wrapper {
79
- line-height: calc(var(--min-touch-target, 44px) - 2px);
79
+ line-height: calc(var(--solid-ui-clickable-area, 42px) - 2px);
80
80
  }
81
81
 
82
82
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-calendar-picker-indicator {
@@ -86,8 +86,8 @@ html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog--heading .
86
86
  }
87
87
 
88
88
  html[data-layout='mobile'] .profile__edit-form {
89
- --profile-edit-dialog-mobile-image-button-font-size: var(--font-size-md, 1rem);
90
- --profile-edit-dialog-mobile-image-label-font-size: var(--font-size-sm, 0.875rem);
89
+ --profile-edit-dialog-mobile-image-button-font-size: var(--solid-ui-font-size-md, 1rem);
90
+ --profile-edit-dialog-mobile-image-label-font-size: var(--solid-ui-font-size-sm, 0.875rem);
91
91
  --profile-edit-dialog-mobile-image-description-font-size: 0.625rem;
92
92
  }
93
93
 
@@ -97,37 +97,23 @@ html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog__field > .
97
97
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog__field-type > .label,
98
98
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog__field-description,
99
99
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog__entry-heading {
100
- font-size: var(--font-size-sm, 0.875rem);
101
- line-height: var(--line-height-base, 1.5);
100
+ font-size: var(--solid-ui-font-size-sm, 0.875rem);
101
+ line-height: 1.5;
102
102
  }
103
103
 
104
104
  html[data-layout='mobile'] .profile-edit-dialog__section-heading {
105
- font-size: var(--font-size-lg, 1.125rem);
106
- line-height: var(--line-height-tight, 1.4);
105
+ font-size: var(--solid-ui-font-size-lg, 1.125rem);
106
+ line-height: 1.4;
107
107
  }
108
108
 
109
109
  html[data-layout='mobile'] #profile-modal .modal .profile__section-header .profile-edit-dialog__section-heading {
110
- font-size: var(--font-size-lg, 1.125rem);
111
- line-height: var(--line-height-tight, 1.4);
112
- }
113
-
114
- html[data-layout='mobile'] #profile-modal .modal .profile__section-header .profile__action-button,
115
- html[data-layout='mobile'] #profile-modal .modal .profile__section-header solid-ui-button.profile__action-button::part(button) {
116
- font-size: var(--font-size-sm, 0.875rem);
117
- line-height: var(--line-height-base, 1.5);
110
+ font-size: var(--solid-ui-font-size-lg, 1.125rem);
111
+ line-height: 1.4;
118
112
  }
119
113
 
120
114
  html[data-layout='mobile'] #profile-modal .modal .profile__section-header .profile__add-more-content,
121
115
  html[data-layout='mobile'] #profile-modal .modal .profile__section-header .profile-section-collapsible__edit-label {
122
- font-size: var(--font-size-sm, 0.875rem);
123
- }
124
-
125
- html[data-layout='mobile'] #profile-modal .modal .profile__section-header .profile__add-more-icon,
126
- html[data-layout='mobile'] #profile-modal .modal .profile__section-header .profile-section-collapsible__edit-icon {
127
- width: var(--icon-xxs, 1rem);
128
- height: var(--icon-xxs, 1rem);
129
- padding: 0.125rem;
130
- box-sizing: border-box;
116
+ font-size: var(--solid-ui-font-size-sm, 0.875rem);
131
117
  }
132
118
 
133
119
  html[data-layout='mobile'] #profile-modal .modal .profile__section-header .profile__add-more-icon svg,
@@ -149,9 +135,10 @@ html[data-layout='mobile'] .profile-edit-dialog__textarea {
149
135
  }
150
136
 
151
137
  html[data-layout='mobile'] .profile-edit-dialog__input--with-action {
152
- padding-right: 6.5rem;
138
+ padding-right: 104px;
153
139
  }
154
140
 
141
+ /* leaving this in case i have to use the regular button */
155
142
  html[data-layout='mobile'] .profile-edit-dialog__paste-button {
156
143
  right: var(--spacing-xxs, 0.3125rem);
157
144
  --button-padding-md: var(--spacing-xxs, 0.3125rem) var(--spacing-xxs, 0.3125rem);
@@ -165,14 +152,14 @@ html[data-layout='mobile'] .profile-edit-dialog__field select,
165
152
  html[data-layout='mobile'] .profile-edit-dialog__field-type input,
166
153
  html[data-layout='mobile'] .profile-edit-dialog__field-type select,
167
154
  html[data-layout='mobile'] .profile-edit-dialog__textarea {
168
- font-size: 1rem;
155
+ font-size: var(--solid-ui-font-size-md, 1rem);
169
156
  }
170
157
 
171
158
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog__field solid-ui-select,
172
159
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog__field solid-ui-combobox,
173
160
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog__field-type solid-ui-select,
174
161
  html[data-layout='mobile'] #profile-modal .modal .profile-edit-dialog__field-type solid-ui-combobox {
175
- --font-size-sm: 1rem;
162
+ --font-size-sm: var(--solid-ui-font-size-md, 1rem);
176
163
  }
177
164
 
178
165
  html[data-layout='mobile'] #profile-modal .modal solid-ui-combobox::part(input),
@@ -182,7 +169,7 @@ html[data-layout='mobile'] #profile-modal .modal solid-ui-select::part(select-tr
182
169
  html[data-layout='mobile'] #profile-modal .modal solid-ui-select::part(trigger-label),
183
170
  html[data-layout='mobile'] #profile-modal .modal solid-ui-select::part(option),
184
171
  html[data-layout='mobile'] #profile-modal .modal solid-ui-select::part(selected-option) {
185
- font-size: 1rem;
172
+ font-size: var(--solid-ui-font-size-md, 1rem);
186
173
  }
187
174
 
188
175
 
@@ -215,7 +202,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header {
215
202
 
216
203
  html[data-layout='mobile'] .profile-edit-dialog__row--social {
217
204
  margin-left: 0;
218
- gap: var(--spacing-2xs, 0.625rem);
205
+ gap: 10px;
219
206
  flex-direction: row;
220
207
  align-items: center;
221
208
  flex-wrap: nowrap;
@@ -226,9 +213,9 @@ html[data-layout='mobile'] .profile-edit-dialog__row--social .profile-edit-dialo
226
213
  }
227
214
 
228
215
  html[data-layout='mobile'] .profile-edit-dialog__field--social-type {
229
- flex: 0 0 4.75rem;
230
- width: 4.75rem;
231
- max-width: 4.75rem;
216
+ flex: 0 0 76px;
217
+ width: 76px;
218
+ max-width: 76px;
232
219
  }
233
220
 
234
221
  html[data-layout='mobile'] .profile-edit-dialog__field--social-url {
@@ -246,27 +233,20 @@ html[data-layout='mobile'] .profile-edit-dialog__row--language {
246
233
  flex-direction: row;
247
234
  align-items: center;
248
235
  flex-wrap: nowrap;
249
- gap: var(--spacing-xxs, 0.3125rem);
250
- margin-left: calc(-1 * var(--spacing-xxs, 0.3125rem));
236
+ gap: 5px;
237
+ margin-left: calc(-1 * 5px);
251
238
  }
252
239
 
253
240
  html[data-layout='mobile'] .profile-edit-dialog__row--language > .profile-edit-dialog__field--language-name {
254
241
  flex: 1 1 0;
255
242
  min-width: 0;
256
- margin-left: calc(-1 * var(--spacing-xxs, 0.3125rem));
243
+ margin-left: calc(-1 * 5px);
257
244
  }
258
245
 
259
246
  html[data-layout='mobile'] .profile-edit-dialog__actions--language {
260
247
  margin-left: 0;
261
248
  }
262
249
 
263
- html[data-layout='mobile'] .profile-edit-dialog__row--language > .profile-edit-dialog__drag-handle,
264
- html[data-layout='mobile'] .profile-edit-dialog__actions--language > solid-ui-button.profile-edit-dialog__delete-button {
265
- min-width: var(--min-touch-target, 44px);
266
- min-height: var(--min-touch-target, 44px);
267
- --button-height-md: var(--min-touch-target, 44px);
268
- }
269
-
270
250
  html[data-layout='mobile'] .profile-edit-dialog__row--resume-entry-header {
271
251
  flex-direction: row;
272
252
  align-items: center;
@@ -283,7 +263,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--skill {
283
263
  flex-direction: row;
284
264
  align-items: center;
285
265
  flex-wrap: nowrap;
286
- gap: var(--spacing-2xs, 0.625rem);
266
+ gap: 10px;
287
267
  }
288
268
 
289
269
  html[data-layout='mobile'] .profile-edit-dialog__row--skill > .profile-edit-dialog__field {
@@ -300,7 +280,7 @@ html[data-layout='mobile'] .profile-edit-dialog--heading .profile-edit-dialog__r
300
280
  flex-direction: row;
301
281
  align-items: center;
302
282
  flex-wrap: nowrap;
303
- gap: var(--spacing-xs, 0.75rem);
283
+ gap: 12px;
304
284
  width: 100%;
305
285
  max-width: 100%;
306
286
  }
@@ -326,38 +306,27 @@ html[data-layout='mobile'] .profile-edit-dialog--heading .profile-edit-dialog__r
326
306
  justify-content: center;
327
307
  }
328
308
 
329
- html[data-layout='mobile'] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-camera-button {
330
- display: inline-flex;
331
- right: var(--spacing-xxs, 0.3125rem);
332
- bottom: var(--spacing-xxs, 0.3125rem);
333
- width: var(--min-touch-target, 44px);
334
- height: var(--min-touch-target, 44px);
335
- min-width: var(--min-touch-target, 44px);
336
- min-height: var(--min-touch-target, 44px);
337
- --button-height-md: var(--min-touch-target, 44px);
338
- }
339
-
340
309
  html[data-layout='mobile'] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview {
341
310
  flex: 1 1 auto;
342
311
  min-width: 0;
343
- gap: var(--spacing-xxs, 0.3125rem);
312
+ gap: 5px;
344
313
  width: 100%;
345
314
  }
346
315
 
347
316
  html[data-layout='mobile'] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-label {
348
317
  font-size: var(--profile-edit-dialog-mobile-image-label-font-size);
349
- line-height: var(--line-height-tight, 1.25);
318
+ line-height: 1.25;
350
319
  }
351
320
 
352
321
  html[data-layout='mobile'] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-description {
353
322
  font-size: var(--profile-edit-dialog-mobile-image-description-font-size);
354
- line-height: var(--line-height-base, 1.4);
323
+ line-height: 1.4;
355
324
  }
356
325
 
357
326
  html[data-layout='mobile'] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-actions {
358
327
  display: grid;
359
328
  grid-template-columns: repeat(2, minmax(0, 1fr));
360
- gap: var(--spacing-xxs, 0.3125rem);
329
+ gap: 5px;
361
330
  width: 100%;
362
331
  align-items: stretch;
363
332
  }
@@ -371,7 +340,7 @@ html[data-layout='mobile'] .profile-edit-dialog--heading .profile-edit-dialog__r
371
340
  min-width: 0;
372
341
  width: 100%;
373
342
  justify-content: center;
374
- padding: var(--spacing-xxs, 0.3125rem) var(--spacing-2xs, 0.625rem);
343
+ padding: 5px 10px;
375
344
  font-size: var(--profile-edit-dialog-mobile-image-button-font-size);
376
345
  }
377
346
 
@@ -386,43 +355,29 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
386
355
  align-items: stretch;
387
356
  }
388
357
  .profile__edit-form {
389
- --profile-edit-dialog-mobile-image-button-font-size: var(--font-size-md, 1rem);
390
- --profile-edit-dialog-mobile-image-label-font-size: var(--font-size-sm, 0.875rem);
358
+ --profile-edit-dialog-mobile-image-button-font-size: var(--solid-ui-font-size-md, 1rem);
359
+ --profile-edit-dialog-mobile-image-label-font-size: var(--solid-ui-font-size-sm, 0.875rem);
391
360
  --profile-edit-dialog-mobile-image-description-font-size: 0.625rem;
392
361
  }
393
362
 
394
363
  .profile-edit-dialog__section-heading {
395
- font-size: var(--font-size-lg, 1.125rem);
396
- line-height: var(--line-height-tight, 1.4);
364
+ font-size: var(--solid-ui-font-size-lg, 1.125rem);
365
+ line-height: 1.4;
397
366
  }
398
367
 
399
368
  #profile-modal .modal .profile__section-header:not(.profile-edit-dialog__contact-section-header) {
400
- padding: var(--spacing-sm, 0.938rem);
401
- gap: var(--spacing-lg, 1.5625rem);
369
+ padding: 15px;
370
+ gap: 25px;
402
371
  }
403
372
 
404
373
  #profile-modal .modal .profile__section-header .profile-edit-dialog__section-heading {
405
- font-size: var(--font-size-lg, 1.125rem);
406
- line-height: var(--line-height-tight, 1.4);
407
- }
408
-
409
- #profile-modal .modal .profile__section-header .profile__action-button,
410
- #profile-modal .modal .profile__section-header solid-ui-button.profile__action-button::part(button) {
411
- font-size: var(--font-size-sm, 0.875rem);
412
- line-height: var(--line-height-base, 1.5);
374
+ font-size: var(--solid-ui-font-size-lg, 1.125rem);
375
+ line-height: 1.4;
413
376
  }
414
377
 
415
378
  #profile-modal .modal .profile__section-header .profile__add-more-content,
416
379
  #profile-modal .modal .profile__section-header .profile-section-collapsible__edit-label {
417
- font-size: var(--font-size-sm, 0.875rem);
418
- }
419
-
420
- #profile-modal .modal .profile__section-header .profile__add-more-icon,
421
- #profile-modal .modal .profile__section-header .profile-section-collapsible__edit-icon {
422
- width: var(--icon-xxs, 1rem);
423
- height: var(--icon-xxs, 1rem);
424
- padding: 0.125rem;
425
- box-sizing: border-box;
380
+ font-size: var(--solid-ui-font-size-sm, 0.875rem);
426
381
  }
427
382
 
428
383
  #profile-modal .modal .profile__section-header .profile__add-more-icon svg,
@@ -456,6 +411,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
456
411
  padding-right: 6.5rem;
457
412
  }
458
413
 
414
+ /* leaving this in case i have to use the regular button */
459
415
  .profile-edit-dialog__paste-button {
460
416
  right: var(--spacing-xxs, 0.3125rem);
461
417
  --button-padding-md: var(--spacing-xxs, 0.3125rem) var(--spacing-xxs, 0.3125rem);
@@ -469,7 +425,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
469
425
  .profile-edit-dialog__field-type input,
470
426
  .profile-edit-dialog__field-type select,
471
427
  .profile-edit-dialog__textarea {
472
- font-size: var(--font-size-sm, 0.875rem);
428
+ font-size: var(--solid-ui-font-size-sm, 0.875rem);
473
429
  }
474
430
 
475
431
  #profile-modal .modal .profile-edit-dialog__field solid-ui-select,
@@ -691,43 +647,29 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
691
647
  }
692
648
 
693
649
  .profile__edit-form {
694
- --profile-edit-dialog-mobile-image-button-font-size: var(--font-size-md, 1rem);
695
- --profile-edit-dialog-mobile-image-label-font-size: var(--font-size-sm, 0.875rem);
650
+ --profile-edit-dialog-mobile-image-button-font-size: var(--solid-ui-font-size-md, 1rem);
651
+ --profile-edit-dialog-mobile-image-label-font-size: var(--solid-ui-font-size-sm, 0.875rem);
696
652
  --profile-edit-dialog-mobile-image-description-font-size: 0.625rem;
697
653
  }
698
654
 
699
655
  .profile-edit-dialog__section-heading {
700
- font-size: var(--font-size-lg, 1.125rem);
701
- line-height: var(--line-height-tight, 1.4);
656
+ font-size: var(--solid-ui-font-size-lg, 1.125rem);
657
+ line-height: 1.4;
702
658
  }
703
659
 
704
660
  #profile-modal .modal .profile__section-header:not(.profile-edit-dialog__contact-section-header) {
705
- padding: var(--spacing-sm, 0.938rem);
706
- gap: var(--spacing-lg, 1.5625rem);
661
+ padding: 15px;
662
+ gap: 25px;
707
663
  }
708
664
 
709
665
  #profile-modal .modal .profile__section-header .profile-edit-dialog__section-heading {
710
- font-size: var(--font-size-lg, 1.125rem);
711
- line-height: var(--line-height-tight, 1.4);
712
- }
713
-
714
- #profile-modal .modal .profile__section-header .profile__action-button,
715
- #profile-modal .modal .profile__section-header solid-ui-button.profile__action-button::part(button) {
716
- font-size: var(--font-size-sm, 0.875rem);
717
- line-height: var(--line-height-base, 1.5);
666
+ font-size: var(--solid-ui-font-size-lg, 1.125rem);
667
+ line-height: 1.4;
718
668
  }
719
669
 
720
670
  #profile-modal .modal .profile__section-header .profile__add-more-content,
721
671
  #profile-modal .modal .profile__section-header .profile-section-collapsible__edit-label {
722
- font-size: var(--font-size-sm, 0.875rem);
723
- }
724
-
725
- #profile-modal .modal .profile__section-header .profile__add-more-icon,
726
- #profile-modal .modal .profile__section-header .profile-section-collapsible__edit-icon {
727
- width: var(--icon-xxs, 1rem);
728
- height: var(--icon-xxs, 1rem);
729
- padding: 0.125rem;
730
- box-sizing: border-box;
672
+ font-size: var(--solid-ui-font-size-sm, 0.875rem);
731
673
  }
732
674
 
733
675
  #profile-modal .modal .profile__section-header .profile__add-more-icon svg,
@@ -761,6 +703,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
761
703
  padding-right: 6.5rem;
762
704
  }
763
705
 
706
+ /* leaving because I may use a regular button */
764
707
  .profile-edit-dialog__paste-button {
765
708
  right: var(--spacing-xxs, 0.3125rem);
766
709
  --button-padding-md: var(--spacing-xxs, 0.3125rem) var(--spacing-xxs, 0.3125rem);
@@ -774,7 +717,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
774
717
  .profile-edit-dialog__field-type input,
775
718
  .profile-edit-dialog__field-type select,
776
719
  .profile-edit-dialog__textarea {
777
- font-size: var(--font-size-sm, 0.875rem);
720
+ font-size: var(--solid-ui-font-size-sm, 0.875rem);
778
721
  }
779
722
 
780
723
  #profile-modal .modal .profile-edit-dialog__field solid-ui-select,
@@ -823,7 +766,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
823
766
 
824
767
  .profile-edit-dialog__row--social {
825
768
  margin-left: 0;
826
- gap: var(--spacing-2xs, 0.625rem);
769
+ gap: 10px;
827
770
  flex-direction: row;
828
771
  align-items: center;
829
772
  flex-wrap: nowrap;
@@ -854,27 +797,20 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
854
797
  flex-direction: row;
855
798
  align-items: center;
856
799
  flex-wrap: nowrap;
857
- gap: var(--spacing-xxs, 0.3125rem);
858
- margin-left: calc(-1 * var(--spacing-xxs, 0.3125rem));
800
+ gap: 5px;
801
+ margin-left: calc(-1 * 5px);
859
802
  }
860
803
 
861
804
  .profile-edit-dialog__row--language > .profile-edit-dialog__field--language-name {
862
805
  flex: 1 1 0;
863
806
  min-width: 0;
864
- margin-left: calc(-1 * var(--spacing-xxs, 0.3125rem));
807
+ margin-left: calc(-1 * 5px);
865
808
  }
866
809
 
867
810
  .profile-edit-dialog__actions--language {
868
811
  margin-left: 0;
869
812
  }
870
813
 
871
- .profile-edit-dialog__row--language > solid-ui-button.profile-edit-dialog__drag-handle,
872
- .profile-edit-dialog__actions--language > solid-ui-button.profile-edit-dialog__delete-button {
873
- min-width: var(--min-touch-target, 44px);
874
- min-height: var(--min-touch-target, 44px);
875
- --button-height-md: var(--min-touch-target, 44px);
876
- }
877
-
878
814
  .profile-edit-dialog__row--resume-entry-header {
879
815
  flex-direction: row;
880
816
  align-items: center;
@@ -891,7 +827,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
891
827
  flex-direction: row;
892
828
  align-items: center;
893
829
  flex-wrap: nowrap;
894
- gap: var(--spacing-2xs, 0.625rem);
830
+ gap: 10px;
895
831
  }
896
832
 
897
833
  .profile-edit-dialog__row--skill > .profile-edit-dialog__field {
@@ -914,7 +850,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
914
850
  flex-direction: row;
915
851
  align-items: center;
916
852
  flex-wrap: nowrap;
917
- gap: var(--spacing-xs, 0.75rem);
853
+ gap: 12px;
918
854
  width: 100%;
919
855
  max-width: 100%;
920
856
  }
@@ -934,38 +870,27 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
934
870
  justify-content: center;
935
871
  }
936
872
 
937
- .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-camera-button {
938
- display: inline-flex;
939
- right: var(--spacing-xxs, 0.3125rem);
940
- bottom: var(--spacing-xxs, 0.3125rem);
941
- width: var(--min-touch-target, 44px);
942
- height: var(--min-touch-target, 44px);
943
- min-width: var(--min-touch-target, 44px);
944
- min-height: var(--min-touch-target, 44px);
945
- --button-height-md: var(--min-touch-target, 44px);
946
- }
947
-
948
873
  .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview {
949
874
  flex: 1 1 auto;
950
875
  min-width: 0;
951
- gap: var(--spacing-xxs, 0.3125rem);
876
+ gap: 5px;
952
877
  width: 100%;
953
878
  }
954
879
 
955
880
  .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-label {
956
881
  font-size: var(--profile-edit-dialog-mobile-image-label-font-size);
957
- line-height: var(--line-height-tight, 1.25);
882
+ line-height: 1.25;
958
883
  }
959
884
 
960
885
  .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-description {
961
886
  font-size: var(--profile-edit-dialog-mobile-image-description-font-size);
962
- line-height: var(--line-height-base, 1.4);
887
+ line-height: 1.4;
963
888
  }
964
889
 
965
890
  .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-actions {
966
891
  display: grid;
967
892
  grid-template-columns: repeat(2, minmax(0, 1fr));
968
- gap: var(--spacing-xs, 0.5rem);
893
+ gap: 12px;
969
894
  width: 100%;
970
895
  align-items: stretch;
971
896
  }
@@ -979,7 +904,7 @@ html[data-layout='mobile'] .profile-edit-dialog__row--address-header .profile-ed
979
904
  min-width: 0;
980
905
  width: 100%;
981
906
  justify-content: center;
982
- padding: var(--spacing-xxs, 0.3125rem) var(--spacing-2xs, 0.625rem);
907
+ padding: 5px 10px;
983
908
  font-size: var(--profile-edit-dialog-mobile-image-button-font-size);
984
909
  }
985
910
 
package/lib/types.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export type ViewerMode = 'owner' | 'authenticated' | 'anonymous';
2
+ export type Layout = 'mobile' | 'desktop';
2
3
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,eAAe,GAAG,WAAW,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,eAAe,GAAG,WAAW,CAAA;AAEhE,MAAM,MAAM,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAA"}