@agorapulse/ui-components 13.1.4 → 13.1.5

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.
@@ -208,12 +208,25 @@ class AvatarComponent {
208
208
  case 'mini':
209
209
  this.socialSize = '15';
210
210
  break;
211
+ case 'mini-sm':
212
+ this.socialSize = '10';
213
+ break;
211
214
  default:
212
215
  this.socialSize = '19';
213
216
  }
214
217
  }
215
218
  else {
216
- this.socialSize = this.size === 'mini' || this.size === 'medium-sm' ? '12' : '16';
219
+ switch (this.size) {
220
+ case 'medium-sm':
221
+ case 'mini':
222
+ this.socialSize = '12';
223
+ break;
224
+ case 'mini-sm':
225
+ this.socialSize = '8';
226
+ break;
227
+ default:
228
+ this.socialSize = '16';
229
+ }
217
230
  }
218
231
  }
219
232
  if (changes.defaultImageEnabled && changes.defaultImageEnabled.currentValue) {