@vaadin/avatar-group 22.0.13 → 22.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/avatar-group",
3
- "version": "22.0.13",
3
+ "version": "22.0.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,19 +36,19 @@
36
36
  "@polymer/iron-a11y-announcer": "^3.0.0",
37
37
  "@polymer/iron-resizable-behavior": "^3.0.0",
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/avatar": "^22.0.13",
40
- "@vaadin/component-base": "^22.0.13",
41
- "@vaadin/item": "^22.0.13",
42
- "@vaadin/list-box": "^22.0.13",
43
- "@vaadin/vaadin-lumo-styles": "^22.0.13",
44
- "@vaadin/vaadin-material-styles": "^22.0.13",
45
- "@vaadin/vaadin-overlay": "^22.0.13",
46
- "@vaadin/vaadin-themable-mixin": "^22.0.13"
39
+ "@vaadin/avatar": "^22.0.16",
40
+ "@vaadin/component-base": "^22.0.16",
41
+ "@vaadin/item": "^22.0.16",
42
+ "@vaadin/list-box": "^22.0.16",
43
+ "@vaadin/vaadin-lumo-styles": "^22.0.16",
44
+ "@vaadin/vaadin-material-styles": "^22.0.16",
45
+ "@vaadin/vaadin-overlay": "^22.0.16",
46
+ "@vaadin/vaadin-themable-mixin": "^22.0.16"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@esm-bundle/chai": "^4.3.4",
50
50
  "@vaadin/testing-helpers": "^0.3.2",
51
51
  "sinon": "^9.2.1"
52
52
  },
53
- "gitHead": "0ef3a237a2db4255710aa878debb169eb52a1715"
53
+ "gitHead": "dac6f243594ea700bb796d3b41d7b17736d90be8"
54
54
  }
@@ -18,7 +18,7 @@ registerStyles(
18
18
  justify-content: flex-end;
19
19
  }
20
20
  `,
21
- { moduleId: 'vaadin-avatar-group-overlay-styles' }
21
+ { moduleId: 'vaadin-avatar-group-overlay-styles' },
22
22
  );
23
23
 
24
24
  /**
@@ -191,7 +191,7 @@ class AvatarGroup extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizab
191
191
  * @type {!Array<!AvatarGroupItem> | undefined}
192
192
  */
193
193
  items: {
194
- type: Array
194
+ type: Array,
195
195
  },
196
196
 
197
197
  /**
@@ -200,7 +200,7 @@ class AvatarGroup extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizab
200
200
  * a dropdown. Setting 0 or 1 has no effect so there are always at least two avatars visible.
201
201
  */
202
202
  maxItemsVisible: {
203
- type: Number
203
+ type: Number,
204
204
  },
205
205
 
206
206
  /**
@@ -239,32 +239,32 @@ class AvatarGroup extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizab
239
239
  anonymous: 'anonymous',
240
240
  activeUsers: {
241
241
  one: 'Currently one active user',
242
- many: 'Currently {count} active users'
242
+ many: 'Currently {count} active users',
243
243
  },
244
244
  joined: '{user} joined',
245
- left: '{user} left'
245
+ left: '{user} left',
246
246
  };
247
- }
247
+ },
248
248
  },
249
249
 
250
250
  /** @private */
251
251
  __maxReached: {
252
252
  type: Boolean,
253
- computed: '__computeMaxReached(items.length, maxItemsVisible)'
253
+ computed: '__computeMaxReached(items.length, maxItemsVisible)',
254
254
  },
255
255
 
256
256
  /** @private */
257
257
  __itemsInView: {
258
258
  type: Number,
259
- value: null
259
+ value: null,
260
260
  },
261
261
 
262
262
  /** @private */
263
263
  _opened: {
264
264
  type: Boolean,
265
265
  observer: '__openedChanged',
266
- value: false
267
- }
266
+ value: false,
267
+ },
268
268
  };
269
269
  }
270
270
 
@@ -272,7 +272,7 @@ class AvatarGroup extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizab
272
272
  return [
273
273
  '__computeMoreTitle(items.length, __itemsInView, maxItemsVisible)',
274
274
  '__itemsChanged(items.splices, items.*)',
275
- '__i18nItemsChanged(i18n.*, items.length)'
275
+ '__i18nItemsChanged(i18n.*, items.length)',
276
276
  ];
277
277
  }
278
278
 
@@ -321,9 +321,9 @@ class AvatarGroup extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizab
321
321
  bubbles: true,
322
322
  composed: true,
323
323
  detail: {
324
- text
325
- }
326
- })
324
+ text,
325
+ },
326
+ }),
327
327
  );
328
328
  }
329
329
 
@@ -44,7 +44,7 @@ registerStyles(
44
44
  --vaadin-avatar-size: var(--lumo-size-xs);
45
45
  }
46
46
  `,
47
- { moduleId: 'lumo-avatar-group' }
47
+ { moduleId: 'lumo-avatar-group' },
48
48
  );
49
49
 
50
50
  const avatarGroupOverlay = css`
@@ -59,7 +59,7 @@ const avatarGroupOverlay = css`
59
59
  `;
60
60
 
61
61
  registerStyles('vaadin-avatar-group-overlay', [overlay, menuOverlayCore, avatarGroupOverlay], {
62
- moduleId: 'lumo-avatar-group-overlay'
62
+ moduleId: 'lumo-avatar-group-overlay',
63
63
  });
64
64
 
65
65
  registerStyles(
@@ -75,7 +75,7 @@ registerStyles(
75
75
  padding-left: var(--lumo-space-m);
76
76
  }
77
77
  `,
78
- { moduleId: 'lumo-avatar-group-list-box' }
78
+ { moduleId: 'lumo-avatar-group-list-box' },
79
79
  );
80
80
 
81
81
  registerStyles(
@@ -99,5 +99,5 @@ registerStyles(
99
99
  margin-left: var(--lumo-space-s);
100
100
  }
101
101
  `,
102
- { moduleId: 'lumo-avatar-group-item' }
102
+ { moduleId: 'lumo-avatar-group-item' },
103
103
  );
@@ -1,5 +1,6 @@
1
1
  import '@vaadin/avatar/theme/lumo/vaadin-avatar.js';
2
2
  import '@vaadin/item/theme/lumo/vaadin-item.js';
3
3
  import '@vaadin/list-box/theme/lumo/vaadin-list-box.js';
4
+ import '@vaadin/vaadin-overlay/theme/lumo/vaadin-overlay.js';
4
5
  import './vaadin-avatar-group-styles.js';
5
6
  import '../../src/vaadin-avatar-group.js';
@@ -9,7 +9,7 @@ const avatarGroupOverlay = css`
9
9
  `;
10
10
 
11
11
  registerStyles('vaadin-avatar-group-overlay', [menuOverlay, avatarGroupOverlay], {
12
- moduleId: 'material-avatar-group-overlay'
12
+ moduleId: 'material-avatar-group-overlay',
13
13
  });
14
14
 
15
15
  registerStyles(
@@ -25,7 +25,7 @@ registerStyles(
25
25
  padding-left: 24px;
26
26
  }
27
27
  `,
28
- { moduleId: 'material-avatar-group-list-box' }
28
+ { moduleId: 'material-avatar-group-list-box' },
29
29
  );
30
30
 
31
31
  registerStyles(
@@ -48,5 +48,5 @@ registerStyles(
48
48
  margin-left: 8px;
49
49
  }
50
50
  `,
51
- { moduleId: 'material-avatar-group-item' }
51
+ { moduleId: 'material-avatar-group-item' },
52
52
  );
@@ -1,5 +1,6 @@
1
1
  import '@vaadin/avatar/theme/material/vaadin-avatar.js';
2
2
  import '@vaadin/item/theme/material/vaadin-item.js';
3
3
  import '@vaadin/list-box/theme/material/vaadin-list-box.js';
4
+ import '@vaadin/vaadin-overlay/theme/material/vaadin-overlay.js';
4
5
  import './vaadin-avatar-group-styles.js';
5
6
  import '../../src/vaadin-avatar-group.js';