@vaadin/avatar-group
Advanced tools
Comparing version 24.0.0-alpha2 to 24.0.0-alpha3
{ | ||
"name": "@vaadin/avatar-group", | ||
"version": "24.0.0-alpha2", | ||
"version": "24.0.0-alpha3", | ||
"publishConfig": { | ||
@@ -40,10 +40,10 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/avatar": "24.0.0-alpha2", | ||
"@vaadin/component-base": "24.0.0-alpha2", | ||
"@vaadin/item": "24.0.0-alpha2", | ||
"@vaadin/list-box": "24.0.0-alpha2", | ||
"@vaadin/overlay": "24.0.0-alpha2", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha2", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha2", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha2", | ||
"@vaadin/avatar": "24.0.0-alpha3", | ||
"@vaadin/component-base": "24.0.0-alpha3", | ||
"@vaadin/item": "24.0.0-alpha3", | ||
"@vaadin/list-box": "24.0.0-alpha3", | ||
"@vaadin/overlay": "24.0.0-alpha3", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha3", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha3", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha3", | ||
"lit": "^2.0.0" | ||
@@ -60,3 +60,3 @@ }, | ||
], | ||
"gitHead": "0c16c01a6807e629a84f5a982793afecc1a7ced0" | ||
"gitHead": "7a013a3c5a56abd61dd4f7773c6ec77c3541bdf2" | ||
} |
@@ -283,7 +283,4 @@ /** | ||
this._overflowController = new SlotController( | ||
this, | ||
'overflow', | ||
() => document.createElement('vaadin-avatar'), | ||
(_, overflow) => { | ||
this._overflowController = new SlotController(this, 'overflow', 'vaadin-avatar', { | ||
initializer: (overflow) => { | ||
overflow.setAttribute('aria-haspopup', 'listbox'); | ||
@@ -301,3 +298,3 @@ overflow.setAttribute('aria-expanded', 'false'); | ||
}, | ||
); | ||
}); | ||
this.addController(this._overflowController); | ||
@@ -304,0 +301,0 @@ |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/avatar-group", | ||
"version": "24.0.0-alpha2", | ||
"version": "24.0.0-alpha3", | ||
"description-markup": "markdown", | ||
@@ -11,3 +11,3 @@ "contributions": { | ||
"name": "vaadin-avatar-group", | ||
"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```\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```\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\nSee the [`<vaadin-avatar>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/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/custom-theme/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-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/elements/vaadin-overlay).", | ||
"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```\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```\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\nSee the [`<vaadin-avatar>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/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/custom-theme/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-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/elements/vaadin-overlay).", | ||
"attributes": [ | ||
@@ -41,3 +41,3 @@ { | ||
"name": "items", | ||
"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/24.0.0-alpha2/#/elements/vaadin-avatar#property-name),\n[`abbr`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png'\n },\n {\n abbr: 'JD',\n colorIndex: 1\n },\n];\n```", | ||
"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/24.0.0-alpha3/#/elements/vaadin-avatar#property-name),\n[`abbr`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png'\n },\n {\n abbr: 'JD',\n colorIndex: 1\n },\n];\n```", | ||
"value": { | ||
@@ -44,0 +44,0 @@ "type": [ |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/avatar-group", | ||
"version": "24.0.0-alpha2", | ||
"version": "24.0.0-alpha3", | ||
"description-markup": "markdown", | ||
@@ -19,3 +19,3 @@ "framework": "lit", | ||
"name": "vaadin-avatar-group", | ||
"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```\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```\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\nSee the [`<vaadin-avatar>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/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/custom-theme/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-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/elements/vaadin-overlay).", | ||
"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```\n<vaadin-avatar-group></vaadin-avatar-group>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/elements/vaadin-avatar-group#property-items) property to initialize the structure:\n\n```\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\nSee the [`<vaadin-avatar>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/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/custom-theme/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-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/elements/vaadin-overlay).", | ||
"extension": true, | ||
@@ -25,3 +25,3 @@ "attributes": [ | ||
"name": ".items", | ||
"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/24.0.0-alpha2/#/elements/vaadin-avatar#property-name),\n[`abbr`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha2/#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png'\n },\n {\n abbr: 'JD',\n colorIndex: 1\n },\n];\n```", | ||
"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/24.0.0-alpha3/#/elements/vaadin-avatar#property-name),\n[`abbr`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/elements/vaadin-avatar#property-abbr), [`img`](#/elements/vaadin-avatar#property-img)\nand [`colorIndex`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha3/#/elements/vaadin-avatar#property-colorIndex) properties on the\nstamped avatars.\n\n#### Example\n\n```js\ngroup.items = [\n {\n name: 'User name',\n img: 'url-to-image.png'\n },\n {\n abbr: 'JD',\n colorIndex: 1\n },\n];\n```", | ||
"value": { | ||
@@ -28,0 +28,0 @@ "kind": "expression" |
54385
1022
+ Added@vaadin/avatar@24.0.0-alpha3(transitive)
+ Added@vaadin/component-base@24.0.0-alpha3(transitive)
+ Added@vaadin/icon@24.0.0-alpha3(transitive)
+ Added@vaadin/item@24.0.0-alpha3(transitive)
+ Added@vaadin/list-box@24.0.0-alpha3(transitive)
+ Added@vaadin/overlay@24.0.0-alpha3(transitive)
+ Added@vaadin/tooltip@24.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-list-mixin@24.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-material-styles@24.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.0.0-alpha3(transitive)
- Removed@vaadin/avatar@24.0.0-alpha2(transitive)
- Removed@vaadin/component-base@24.0.0-alpha2(transitive)
- Removed@vaadin/icon@24.0.0-alpha2(transitive)
- Removed@vaadin/item@24.0.0-alpha2(transitive)
- Removed@vaadin/list-box@24.0.0-alpha2(transitive)
- Removed@vaadin/overlay@24.0.0-alpha2(transitive)
- Removed@vaadin/tooltip@24.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-list-mixin@24.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-material-styles@24.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.0.0-alpha2(transitive)
Updated@vaadin/avatar@24.0.0-alpha3
Updated@vaadin/item@24.0.0-alpha3