@vaadin/avatar-group 25.1.0-alpha6 → 25.1.0-alpha7

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.
@@ -0,0 +1,432 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "vaadin-avatar-group.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "js",
12
+ "name": "*",
13
+ "declaration": {
14
+ "name": "*",
15
+ "module": "src/vaadin-avatar-group.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/vaadin-avatar-group-menu-item.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "class",
26
+ "description": "An element used internally by `<vaadin-avatar-group>`. Not intended to be used separately.",
27
+ "name": "AvatarGroupMenuItem",
28
+ "members": [
29
+ {
30
+ "kind": "field",
31
+ "name": "selected",
32
+ "privacy": "public",
33
+ "type": {
34
+ "text": "boolean"
35
+ },
36
+ "description": "If true, the item is in selected state.",
37
+ "attribute": "selected",
38
+ "inheritedFrom": {
39
+ "name": "ItemMixin",
40
+ "package": "@vaadin/item/src/vaadin-item-mixin.js"
41
+ }
42
+ },
43
+ {
44
+ "kind": "field",
45
+ "name": "value",
46
+ "return": {
47
+ "type": {
48
+ "text": "string"
49
+ }
50
+ },
51
+ "parameters": [
52
+ {
53
+ "name": "value",
54
+ "type": {
55
+ "text": "string"
56
+ }
57
+ }
58
+ ],
59
+ "inheritedFrom": {
60
+ "name": "ItemMixin",
61
+ "package": "@vaadin/item/src/vaadin-item-mixin.js"
62
+ }
63
+ }
64
+ ],
65
+ "mixins": [
66
+ {
67
+ "name": "ItemMixin",
68
+ "package": "@vaadin/item/src/vaadin-item-mixin.js"
69
+ },
70
+ {
71
+ "name": "ThemableMixin",
72
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
73
+ },
74
+ {
75
+ "name": "DirMixin",
76
+ "package": "@vaadin/component-base/src/dir-mixin.js"
77
+ },
78
+ {
79
+ "name": "PolylitMixin",
80
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
81
+ },
82
+ {
83
+ "name": "LumoInjectionMixin",
84
+ "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
85
+ }
86
+ ],
87
+ "superclass": {
88
+ "name": "LitElement",
89
+ "package": "lit"
90
+ },
91
+ "tagName": "vaadin-avatar-group-menu-item",
92
+ "customElement": true,
93
+ "attributes": [
94
+ {
95
+ "name": "selected",
96
+ "type": {
97
+ "text": "boolean"
98
+ },
99
+ "description": "If true, the item is in selected state.",
100
+ "fieldName": "selected",
101
+ "inheritedFrom": {
102
+ "name": "ItemMixin",
103
+ "package": "@vaadin/item/src/vaadin-item-mixin.js"
104
+ }
105
+ }
106
+ ],
107
+ "events": []
108
+ }
109
+ ],
110
+ "exports": [
111
+ {
112
+ "kind": "js",
113
+ "name": "AvatarGroupMenuItem",
114
+ "declaration": {
115
+ "name": "AvatarGroupMenuItem",
116
+ "module": "src/vaadin-avatar-group-menu-item.js"
117
+ }
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "kind": "javascript-module",
123
+ "path": "src/vaadin-avatar-group-menu.js",
124
+ "declarations": [
125
+ {
126
+ "kind": "class",
127
+ "description": "An element used internally by `<vaadin-avatar-group>`. Not intended to be used separately.",
128
+ "name": "AvatarGroupMenu",
129
+ "members": [
130
+ {
131
+ "kind": "field",
132
+ "name": "disabled",
133
+ "privacy": "public",
134
+ "type": {
135
+ "text": "boolean"
136
+ },
137
+ "description": "If true, the user cannot interact with this element.\nWhen the element is disabled, the selected item is\nnot updated when `selected` property is changed.",
138
+ "attribute": "disabled",
139
+ "inheritedFrom": {
140
+ "name": "ListMixin",
141
+ "package": "@vaadin/a11y-base/src/list-mixin.js"
142
+ }
143
+ },
144
+ {
145
+ "kind": "field",
146
+ "name": "items",
147
+ "privacy": "public",
148
+ "type": {
149
+ "text": "!Array<!Element> | undefined"
150
+ },
151
+ "description": "A read-only list of items from which a selection can be made.\nIt is populated from the elements passed to the light DOM,\nand updated dynamically when adding or removing items.",
152
+ "attribute": "items",
153
+ "inheritedFrom": {
154
+ "name": "ListMixin",
155
+ "package": "@vaadin/a11y-base/src/list-mixin.js"
156
+ }
157
+ },
158
+ {
159
+ "kind": "field",
160
+ "name": "orientation",
161
+ "privacy": "public",
162
+ "type": {
163
+ "text": "!ListOrientation"
164
+ },
165
+ "description": "Define how items are disposed in the dom.\nPossible values are: `horizontal|vertical`.\nIt also changes navigation keys from left/right to up/down.",
166
+ "attribute": "orientation",
167
+ "inheritedFrom": {
168
+ "name": "ListMixin",
169
+ "package": "@vaadin/a11y-base/src/list-mixin.js"
170
+ }
171
+ },
172
+ {
173
+ "kind": "field",
174
+ "name": "selected",
175
+ "privacy": "public",
176
+ "type": {
177
+ "text": "number"
178
+ },
179
+ "description": "The index of the item selected in the items array.\nNote: Not updated when used in `multiple` selection mode.",
180
+ "attribute": "selected",
181
+ "inheritedFrom": {
182
+ "name": "ListMixin",
183
+ "package": "@vaadin/a11y-base/src/list-mixin.js"
184
+ }
185
+ }
186
+ ],
187
+ "attributes": [
188
+ {
189
+ "name": "disabled",
190
+ "type": {
191
+ "text": "boolean"
192
+ },
193
+ "description": "If true, the user cannot interact with this element.\nWhen the element is disabled, the selected item is\nnot updated when `selected` property is changed.",
194
+ "fieldName": "disabled",
195
+ "inheritedFrom": {
196
+ "name": "ListMixin",
197
+ "package": "@vaadin/a11y-base/src/list-mixin.js"
198
+ }
199
+ },
200
+ {
201
+ "name": "orientation",
202
+ "type": {
203
+ "text": "!ListOrientation"
204
+ },
205
+ "description": "Define how items are disposed in the dom.\nPossible values are: `horizontal|vertical`.\nIt also changes navigation keys from left/right to up/down.",
206
+ "fieldName": "orientation",
207
+ "inheritedFrom": {
208
+ "name": "ListMixin",
209
+ "package": "@vaadin/a11y-base/src/list-mixin.js"
210
+ }
211
+ },
212
+ {
213
+ "name": "selected",
214
+ "type": {
215
+ "text": "number"
216
+ },
217
+ "description": "The index of the item selected in the items array.\nNote: Not updated when used in `multiple` selection mode.",
218
+ "fieldName": "selected",
219
+ "inheritedFrom": {
220
+ "name": "ListMixin",
221
+ "package": "@vaadin/a11y-base/src/list-mixin.js"
222
+ }
223
+ }
224
+ ],
225
+ "mixins": [
226
+ {
227
+ "name": "ListMixin",
228
+ "package": "@vaadin/a11y-base/src/list-mixin.js"
229
+ },
230
+ {
231
+ "name": "ThemableMixin",
232
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
233
+ },
234
+ {
235
+ "name": "DirMixin",
236
+ "package": "@vaadin/component-base/src/dir-mixin.js"
237
+ },
238
+ {
239
+ "name": "PolylitMixin",
240
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
241
+ },
242
+ {
243
+ "name": "LumoInjectionMixin",
244
+ "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
245
+ }
246
+ ],
247
+ "superclass": {
248
+ "name": "LitElement",
249
+ "package": "lit"
250
+ },
251
+ "tagName": "vaadin-avatar-group-menu",
252
+ "customElement": true,
253
+ "events": []
254
+ }
255
+ ],
256
+ "exports": [
257
+ {
258
+ "kind": "js",
259
+ "name": "AvatarGroupMenu",
260
+ "declaration": {
261
+ "name": "AvatarGroupMenu",
262
+ "module": "src/vaadin-avatar-group-menu.js"
263
+ }
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "kind": "javascript-module",
269
+ "path": "src/vaadin-avatar-group-mixin.js",
270
+ "declarations": [
271
+ {
272
+ "kind": "mixin",
273
+ "description": "A mixin providing common avatar group functionality.",
274
+ "name": "AvatarGroupMixin",
275
+ "members": [
276
+ {
277
+ "kind": "field",
278
+ "name": "items",
279
+ "privacy": "public",
280
+ "type": {
281
+ "text": "!Array<!AvatarGroupItem> | undefined"
282
+ },
283
+ "description": "An array containing the items which will be stamped as avatars.\n\nThe items objects allow to configure [`name`](#/elements/vaadin-avatar#property-name),\n[`abbr`](#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars, and set `className` to provide CSS class names.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png',\n className: 'even'\n },\n {\n abbr: 'JD',\n colorIndex: 1,\n className: 'odd'\n },\n];\n```",
284
+ "attribute": "items"
285
+ },
286
+ {
287
+ "kind": "field",
288
+ "name": "maxItemsVisible",
289
+ "privacy": "public",
290
+ "type": {
291
+ "text": "number"
292
+ },
293
+ "description": "The maximum number of avatars to display. By default, all the avatars are displayed.\nWhen _maxItemsVisible_ is set, the overflowing avatars are grouped into one avatar with\na dropdown. Setting 0 or 1 has no effect so there are always at least two avatars visible.",
294
+ "attribute": "max-items-visible"
295
+ }
296
+ ],
297
+ "attributes": [
298
+ {
299
+ "name": "max-items-visible",
300
+ "type": {
301
+ "text": "number"
302
+ },
303
+ "description": "The maximum number of avatars to display. By default, all the avatars are displayed.\nWhen _maxItemsVisible_ is set, the overflowing avatars are grouped into one avatar with\na dropdown. Setting 0 or 1 has no effect so there are always at least two avatars visible.",
304
+ "fieldName": "maxItemsVisible"
305
+ }
306
+ ],
307
+ "mixins": [
308
+ {
309
+ "name": "I18nMixin",
310
+ "package": "@vaadin/component-base/src/i18n-mixin.js"
311
+ }
312
+ ],
313
+ "parameters": [
314
+ {
315
+ "name": "superClass"
316
+ }
317
+ ]
318
+ }
319
+ ],
320
+ "exports": [
321
+ {
322
+ "kind": "js",
323
+ "name": "AvatarGroupMixin",
324
+ "declaration": {
325
+ "name": "AvatarGroupMixin",
326
+ "module": "src/vaadin-avatar-group-mixin.js"
327
+ }
328
+ }
329
+ ]
330
+ },
331
+ {
332
+ "kind": "javascript-module",
333
+ "path": "src/vaadin-avatar-group-overlay.js",
334
+ "declarations": [],
335
+ "exports": []
336
+ },
337
+ {
338
+ "kind": "javascript-module",
339
+ "path": "src/vaadin-avatar-group.js",
340
+ "declarations": [
341
+ {
342
+ "kind": "class",
343
+ "description": "`<vaadin-avatar-group>` is a Web Component providing avatar group displaying functionality.\n\nTo create the avatar group, first add the component to the page:\n\n```html\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```js\ndocument.querySelector('vaadin-avatar-group').items = [\n {name: 'John Doe'},\n {abbr: 'AB'}\n];\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n----------- | ---------------\n`container` | The container element\n`overlay` | The overflow avatar menu overlay\n`content` | The overflow avatar menu overlay content\n\nSee the [`<vaadin-avatar>`](#/elements/vaadin-avatar) documentation for the available\nstate attributes and stylable shadow parts of avatar elements.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Internal components\n\nIn addition to `<vaadin-avatar-group>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-avatar-group-menu>` - has the same API as [`<vaadin-list-box>`](#/elements/vaadin-list-box).\n- `<vaadin-avatar-group-menu-item>` - has the same API as [`<vaadin-item>`](#/elements/vaadin-item).",
344
+ "name": "AvatarGroup",
345
+ "members": [
346
+ {
347
+ "kind": "field",
348
+ "name": "items",
349
+ "privacy": "public",
350
+ "type": {
351
+ "text": "!Array<!AvatarGroupItem> | undefined"
352
+ },
353
+ "description": "An array containing the items which will be stamped as avatars.\n\nThe items objects allow to configure [`name`](#/elements/vaadin-avatar#property-name),\n[`abbr`](#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars, and set `className` to provide CSS class names.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png',\n className: 'even'\n },\n {\n abbr: 'JD',\n colorIndex: 1,\n className: 'odd'\n },\n];\n```",
354
+ "attribute": "items",
355
+ "inheritedFrom": {
356
+ "name": "AvatarGroupMixin",
357
+ "module": "src/vaadin-avatar-group-mixin.js"
358
+ }
359
+ },
360
+ {
361
+ "kind": "field",
362
+ "name": "maxItemsVisible",
363
+ "privacy": "public",
364
+ "type": {
365
+ "text": "number"
366
+ },
367
+ "description": "The maximum number of avatars to display. By default, all the avatars are displayed.\nWhen _maxItemsVisible_ is set, the overflowing avatars are grouped into one avatar with\na dropdown. Setting 0 or 1 has no effect so there are always at least two avatars visible.",
368
+ "attribute": "max-items-visible",
369
+ "inheritedFrom": {
370
+ "name": "AvatarGroupMixin",
371
+ "module": "src/vaadin-avatar-group-mixin.js"
372
+ }
373
+ }
374
+ ],
375
+ "mixins": [
376
+ {
377
+ "name": "AvatarGroupMixin",
378
+ "module": "src/vaadin-avatar-group-mixin.js"
379
+ },
380
+ {
381
+ "name": "ElementMixin",
382
+ "package": "@vaadin/component-base/src/element-mixin.js"
383
+ },
384
+ {
385
+ "name": "ThemableMixin",
386
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
387
+ },
388
+ {
389
+ "name": "PolylitMixin",
390
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
391
+ },
392
+ {
393
+ "name": "LumoInjectionMixin",
394
+ "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
395
+ }
396
+ ],
397
+ "superclass": {
398
+ "name": "LitElement",
399
+ "package": "lit"
400
+ },
401
+ "tagName": "vaadin-avatar-group",
402
+ "customElement": true,
403
+ "attributes": [
404
+ {
405
+ "name": "max-items-visible",
406
+ "type": {
407
+ "text": "number"
408
+ },
409
+ "description": "The maximum number of avatars to display. By default, all the avatars are displayed.\nWhen _maxItemsVisible_ is set, the overflowing avatars are grouped into one avatar with\na dropdown. Setting 0 or 1 has no effect so there are always at least two avatars visible.",
410
+ "fieldName": "maxItemsVisible",
411
+ "inheritedFrom": {
412
+ "name": "AvatarGroupMixin",
413
+ "module": "src/vaadin-avatar-group-mixin.js"
414
+ }
415
+ }
416
+ ],
417
+ "events": []
418
+ }
419
+ ],
420
+ "exports": [
421
+ {
422
+ "kind": "js",
423
+ "name": "AvatarGroup",
424
+ "declaration": {
425
+ "name": "AvatarGroup",
426
+ "module": "src/vaadin-avatar-group.js"
427
+ }
428
+ }
429
+ ]
430
+ }
431
+ ]
432
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/avatar-group",
3
- "version": "25.1.0-alpha6",
3
+ "version": "25.1.0-alpha7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,6 +23,7 @@
23
23
  "src",
24
24
  "vaadin-*.d.ts",
25
25
  "vaadin-*.js",
26
+ "custom-elements.json",
26
27
  "web-types.json",
27
28
  "web-types.lit.json"
28
29
  ],
@@ -35,26 +36,27 @@
35
36
  ],
36
37
  "dependencies": {
37
38
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "25.1.0-alpha6",
39
- "@vaadin/avatar": "25.1.0-alpha6",
40
- "@vaadin/component-base": "25.1.0-alpha6",
41
- "@vaadin/item": "25.1.0-alpha6",
42
- "@vaadin/overlay": "25.1.0-alpha6",
43
- "@vaadin/tooltip": "25.1.0-alpha6",
44
- "@vaadin/vaadin-themable-mixin": "25.1.0-alpha6",
39
+ "@vaadin/a11y-base": "25.1.0-alpha7",
40
+ "@vaadin/avatar": "25.1.0-alpha7",
41
+ "@vaadin/component-base": "25.1.0-alpha7",
42
+ "@vaadin/item": "25.1.0-alpha7",
43
+ "@vaadin/overlay": "25.1.0-alpha7",
44
+ "@vaadin/tooltip": "25.1.0-alpha7",
45
+ "@vaadin/vaadin-themable-mixin": "25.1.0-alpha7",
45
46
  "lit": "^3.0.0"
46
47
  },
47
48
  "devDependencies": {
48
- "@vaadin/aura": "25.1.0-alpha6",
49
- "@vaadin/chai-plugins": "25.1.0-alpha6",
50
- "@vaadin/test-runner-commands": "25.1.0-alpha6",
49
+ "@vaadin/aura": "25.1.0-alpha7",
50
+ "@vaadin/chai-plugins": "25.1.0-alpha7",
51
+ "@vaadin/test-runner-commands": "25.1.0-alpha7",
51
52
  "@vaadin/testing-helpers": "^2.0.0",
52
- "@vaadin/vaadin-lumo-styles": "25.1.0-alpha6",
53
+ "@vaadin/vaadin-lumo-styles": "25.1.0-alpha7",
53
54
  "sinon": "^21.0.0"
54
55
  },
56
+ "customElements": "custom-elements.json",
55
57
  "web-types": [
56
58
  "web-types.json",
57
59
  "web-types.lit.json"
58
60
  ],
59
- "gitHead": "da6f4194492cbd77d18c6c1cd8d4d9f072e9ce8d"
61
+ "gitHead": "98c586125f769c8fefd307536965293668fda81d"
60
62
  }
@@ -15,7 +15,7 @@ import { avatarGroupMenuItemStyles } from './styles/vaadin-avatar-group-menu-ite
15
15
  /**
16
16
  * An element used internally by `<vaadin-avatar-group>`. Not intended to be used separately.
17
17
  *
18
- * @customElement
18
+ * @customElement vaadin-avatar-group-menu-item
19
19
  * @extends HTMLElement
20
20
  * @mixes DirMixin
21
21
  * @mixes ItemMixin
@@ -15,7 +15,7 @@ import { avatarGroupMenuStyles } from './styles/vaadin-avatar-group-menu-base-st
15
15
  /**
16
16
  * An element used internally by `<vaadin-avatar-group>`. Not intended to be used separately.
17
17
  *
18
- * @customElement
18
+ * @customElement vaadin-avatar-group-menu
19
19
  * @extends HTMLElement
20
20
  * @mixes DirMixin
21
21
  * @mixes ListMixin
@@ -16,7 +16,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
16
16
  /**
17
17
  * An element used internally by `<vaadin-avatar-group>`. Not intended to be used separately.
18
18
  *
19
- * @customElement
19
+ * @customElement vaadin-avatar-group-overlay
20
20
  * @extends HTMLElement
21
21
  * @mixes PositionMixin
22
22
  * @mixes OverlayMixin
@@ -58,7 +58,7 @@ import { AvatarGroupMixin } from './vaadin-avatar-group-mixin.js';
58
58
  * - `<vaadin-avatar-group-menu>` - has the same API as [`<vaadin-list-box>`](#/elements/vaadin-list-box).
59
59
  * - `<vaadin-avatar-group-menu-item>` - has the same API as [`<vaadin-item>`](#/elements/vaadin-item).
60
60
  *
61
- * @customElement
61
+ * @customElement vaadin-avatar-group
62
62
  * @extends HTMLElement
63
63
  * @mixes ElementMixin
64
64
  * @mixes AvatarGroupMixin
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/avatar-group",
4
- "version": "25.1.0-alpha6",
4
+ "version": "25.1.0-alpha7",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-avatar-group",
11
- "description": "`<vaadin-avatar-group>` is a Web Component providing avatar group displaying functionality.\n\nTo create the avatar group, first add the component to the page:\n\n```html\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```js\ndocument.querySelector('vaadin-avatar-group').items = [\n {name: 'John Doe'},\n {abbr: 'AB'}\n];\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n----------- | ---------------\n`container` | The container element\n`overlay` | The overflow avatar menu overlay\n`content` | The overflow avatar menu overlay content\n\nSee the [`<vaadin-avatar>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar) documentation for the available\nstate attributes and stylable shadow parts of avatar elements.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Internal components\n\nIn addition to `<vaadin-avatar-group>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-avatar-group-menu>` - has the same API as [`<vaadin-list-box>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-list-box).\n- `<vaadin-avatar-group-menu-item>` - has the same API as [`<vaadin-item>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-item).",
11
+ "description": "`<vaadin-avatar-group>` is a Web Component providing avatar group displaying functionality.\n\nTo create the avatar group, first add the component to the page:\n\n```html\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```js\ndocument.querySelector('vaadin-avatar-group').items = [\n {name: 'John Doe'},\n {abbr: 'AB'}\n];\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n----------- | ---------------\n`container` | The container element\n`overlay` | The overflow avatar menu overlay\n`content` | The overflow avatar menu overlay content\n\nSee the [`<vaadin-avatar>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar) documentation for the available\nstate attributes and stylable shadow parts of avatar elements.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Internal components\n\nIn addition to `<vaadin-avatar-group>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-avatar-group-menu>` - has the same API as [`<vaadin-list-box>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-list-box).\n- `<vaadin-avatar-group-menu-item>` - has the same API as [`<vaadin-item>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-item).",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "i18n",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  {
57
57
  "name": "items",
58
- "description": "An array containing the items which will be stamped as avatars.\n\nThe items objects allow to configure [`name`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar#property-name),\n[`abbr`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars, and set `className` to provide CSS class names.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png',\n className: 'even'\n },\n {\n abbr: 'JD',\n colorIndex: 1,\n className: 'odd'\n },\n];\n```",
58
+ "description": "An array containing the items which will be stamped as avatars.\n\nThe items objects allow to configure [`name`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar#property-name),\n[`abbr`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars, and set `className` to provide CSS class names.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png',\n className: 'even'\n },\n {\n abbr: 'JD',\n colorIndex: 1,\n className: 'odd'\n },\n];\n```",
59
59
  "value": {
60
60
  "type": [
61
61
  "Array.<AvatarGroupItem>",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/avatar-group",
4
- "version": "25.1.0-alpha6",
4
+ "version": "25.1.0-alpha7",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -16,7 +16,7 @@
16
16
  "elements": [
17
17
  {
18
18
  "name": "vaadin-avatar-group",
19
- "description": "`<vaadin-avatar-group>` is a Web Component providing avatar group displaying functionality.\n\nTo create the avatar group, first add the component to the page:\n\n```html\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```js\ndocument.querySelector('vaadin-avatar-group').items = [\n {name: 'John Doe'},\n {abbr: 'AB'}\n];\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n----------- | ---------------\n`container` | The container element\n`overlay` | The overflow avatar menu overlay\n`content` | The overflow avatar menu overlay content\n\nSee the [`<vaadin-avatar>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar) documentation for the available\nstate attributes and stylable shadow parts of avatar elements.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Internal components\n\nIn addition to `<vaadin-avatar-group>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-avatar-group-menu>` - has the same API as [`<vaadin-list-box>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-list-box).\n- `<vaadin-avatar-group-menu-item>` - has the same API as [`<vaadin-item>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-item).",
19
+ "description": "`<vaadin-avatar-group>` is a Web Component providing avatar group displaying functionality.\n\nTo create the avatar group, first add the component to the page:\n\n```html\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```js\ndocument.querySelector('vaadin-avatar-group').items = [\n {name: 'John Doe'},\n {abbr: 'AB'}\n];\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n----------- | ---------------\n`container` | The container element\n`overlay` | The overflow avatar menu overlay\n`content` | The overflow avatar menu overlay content\n\nSee the [`<vaadin-avatar>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar) documentation for the available\nstate attributes and stylable shadow parts of avatar elements.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Internal components\n\nIn addition to `<vaadin-avatar-group>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-avatar-group-menu>` - has the same API as [`<vaadin-list-box>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-list-box).\n- `<vaadin-avatar-group-menu-item>` - has the same API as [`<vaadin-item>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-item).",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  {
30
30
  "name": ".items",
31
- "description": "An array containing the items which will be stamped as avatars.\n\nThe items objects allow to configure [`name`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar#property-name),\n[`abbr`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha6/#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars, and set `className` to provide CSS class names.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png',\n className: 'even'\n },\n {\n abbr: 'JD',\n colorIndex: 1,\n className: 'odd'\n },\n];\n```",
31
+ "description": "An array containing the items which will be stamped as avatars.\n\nThe items objects allow to configure [`name`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar#property-name),\n[`abbr`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha7/#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars, and set `className` to provide CSS class names.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png',\n className: 'even'\n },\n {\n abbr: 'JD',\n colorIndex: 1,\n className: 'odd'\n },\n];\n```",
32
32
  "value": {
33
33
  "kind": "expression"
34
34
  }