@vaadin/avatar 25.3.0-alpha9 → 25.3.0-beta2
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/custom-elements.json +1 -1
- package/package.json +10 -10
- package/src/vaadin-avatar.d.ts +9 -9
- package/src/vaadin-avatar.js +9 -9
- package/web-types.json +2 -2
- package/web-types.lit.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"declarations": [
|
|
180
180
|
{
|
|
181
181
|
"kind": "class",
|
|
182
|
-
"description": "`<vaadin-avatar>` is a Web Component providing avatar displaying functionality.\n\n```html\n<vaadin-avatar img=\"avatars/avatar-1.jpg\"></vaadin-avatar>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n--------- | ---------------\n`abbr` | The abbreviation element\n`icon` | The icon element\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property
|
|
182
|
+
"description": "`<vaadin-avatar>` is a Web Component providing avatar displaying functionality.\n\n```html\n<vaadin-avatar img=\"avatars/avatar-1.jpg\"></vaadin-avatar>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n--------- | ---------------\n`abbr` | The abbreviation element\n`icon` | The icon element\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:----------------------------------|\n| `--vaadin-avatar-background` |\n| `--vaadin-avatar-border-color` |\n| `--vaadin-avatar-border-width` |\n| `--vaadin-avatar-font-size` |\n| `--vaadin-avatar-font-weight` |\n| `--vaadin-avatar-size` |\n| `--vaadin-avatar-text-color` |\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n------------------|-------------\n`focus-ring` | Set when the avatar is focused using the keyboard.\n`focused` | Set when the avatar is focused.\n`has-color-index` | Set when the avatar has `colorIndex` and the corresponding custom CSS property exists.\n`has-tooltip` | Set when the element has a slotted tooltip.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
183
183
|
"name": "Avatar",
|
|
184
184
|
"members": [
|
|
185
185
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/avatar",
|
|
3
|
-
"version": "25.3.0-
|
|
3
|
+
"version": "25.3.0-beta2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
|
-
"@vaadin/a11y-base": "25.3.0-
|
|
40
|
-
"@vaadin/component-base": "25.3.0-
|
|
41
|
-
"@vaadin/tooltip": "25.3.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "25.3.0-
|
|
39
|
+
"@vaadin/a11y-base": "25.3.0-beta2",
|
|
40
|
+
"@vaadin/component-base": "25.3.0-beta2",
|
|
41
|
+
"@vaadin/tooltip": "25.3.0-beta2",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "25.3.0-beta2",
|
|
43
43
|
"lit": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/aura": "25.3.0-
|
|
47
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
48
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
46
|
+
"@vaadin/aura": "25.3.0-beta2",
|
|
47
|
+
"@vaadin/chai-plugins": "25.3.0-beta2",
|
|
48
|
+
"@vaadin/test-runner-commands": "25.3.0-beta2",
|
|
49
49
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
50
|
-
"@vaadin/vaadin-lumo-styles": "25.3.0-
|
|
50
|
+
"@vaadin/vaadin-lumo-styles": "25.3.0-beta2",
|
|
51
51
|
"sinon": "^22.0.0"
|
|
52
52
|
},
|
|
53
53
|
"customElements": "custom-elements.json",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "d97ccbec217b60c39f3c8b2dd52473c79a48c8c1"
|
|
59
59
|
}
|
package/src/vaadin-avatar.d.ts
CHANGED
|
@@ -27,15 +27,15 @@ export { AvatarI18n } from './vaadin-avatar-mixin.js';
|
|
|
27
27
|
*
|
|
28
28
|
* The following custom CSS properties are available for styling:
|
|
29
29
|
*
|
|
30
|
-
* Custom CSS property
|
|
31
|
-
*
|
|
32
|
-
* `--vaadin-avatar-background`
|
|
33
|
-
* `--vaadin-avatar-border-color`
|
|
34
|
-
* `--vaadin-avatar-border-width`
|
|
35
|
-
* `--vaadin-avatar-font-size`
|
|
36
|
-
* `--vaadin-avatar-font-weight`
|
|
37
|
-
* `--vaadin-avatar-size`
|
|
38
|
-
* `--vaadin-avatar-text-color`
|
|
30
|
+
* Custom CSS property |
|
|
31
|
+
* :----------------------------------|
|
|
32
|
+
* | `--vaadin-avatar-background` |
|
|
33
|
+
* | `--vaadin-avatar-border-color` |
|
|
34
|
+
* | `--vaadin-avatar-border-width` |
|
|
35
|
+
* | `--vaadin-avatar-font-size` |
|
|
36
|
+
* | `--vaadin-avatar-font-weight` |
|
|
37
|
+
* | `--vaadin-avatar-size` |
|
|
38
|
+
* | `--vaadin-avatar-text-color` |
|
|
39
39
|
*
|
|
40
40
|
* The following state attributes are available for styling:
|
|
41
41
|
*
|
package/src/vaadin-avatar.js
CHANGED
|
@@ -33,15 +33,15 @@ import { AvatarMixin } from './vaadin-avatar-mixin.js';
|
|
|
33
33
|
*
|
|
34
34
|
* The following custom CSS properties are available for styling:
|
|
35
35
|
*
|
|
36
|
-
* Custom CSS property
|
|
37
|
-
*
|
|
38
|
-
* `--vaadin-avatar-background`
|
|
39
|
-
* `--vaadin-avatar-border-color`
|
|
40
|
-
* `--vaadin-avatar-border-width`
|
|
41
|
-
* `--vaadin-avatar-font-size`
|
|
42
|
-
* `--vaadin-avatar-font-weight`
|
|
43
|
-
* `--vaadin-avatar-size`
|
|
44
|
-
* `--vaadin-avatar-text-color`
|
|
36
|
+
* Custom CSS property |
|
|
37
|
+
* :----------------------------------|
|
|
38
|
+
* | `--vaadin-avatar-background` |
|
|
39
|
+
* | `--vaadin-avatar-border-color` |
|
|
40
|
+
* | `--vaadin-avatar-border-width` |
|
|
41
|
+
* | `--vaadin-avatar-font-size` |
|
|
42
|
+
* | `--vaadin-avatar-font-weight` |
|
|
43
|
+
* | `--vaadin-avatar-size` |
|
|
44
|
+
* | `--vaadin-avatar-text-color` |
|
|
45
45
|
*
|
|
46
46
|
* The following state attributes are available for styling:
|
|
47
47
|
*
|
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",
|
|
4
|
-
"version": "25.3.0-
|
|
4
|
+
"version": "25.3.0-beta2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "vaadin-avatar",
|
|
11
|
-
"description": "`<vaadin-avatar>` is a Web Component providing avatar displaying functionality.\n\n```html\n<vaadin-avatar img=\"avatars/avatar-1.jpg\"></vaadin-avatar>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n--------- | ---------------\n`abbr` | The abbreviation element\n`icon` | The icon element\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property
|
|
11
|
+
"description": "`<vaadin-avatar>` is a Web Component providing avatar displaying functionality.\n\n```html\n<vaadin-avatar img=\"avatars/avatar-1.jpg\"></vaadin-avatar>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n--------- | ---------------\n`abbr` | The abbreviation element\n`icon` | The icon element\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:----------------------------------|\n| `--vaadin-avatar-background` |\n| `--vaadin-avatar-border-color` |\n| `--vaadin-avatar-border-width` |\n| `--vaadin-avatar-font-size` |\n| `--vaadin-avatar-font-weight` |\n| `--vaadin-avatar-size` |\n| `--vaadin-avatar-text-color` |\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n------------------|-------------\n`focus-ring` | Set when the avatar is focused using the keyboard.\n`focused` | Set when the avatar is focused.\n`has-color-index` | Set when the avatar has `colorIndex` and the corresponding custom CSS property exists.\n`has-tooltip` | Set when the element has a slotted tooltip.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
12
12
|
"attributes": [
|
|
13
13
|
{
|
|
14
14
|
"name": "abbr",
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/avatar",
|
|
4
|
-
"version": "25.3.0-
|
|
4
|
+
"version": "25.3.0-beta2",
|
|
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",
|
|
19
|
-
"description": "`<vaadin-avatar>` is a Web Component providing avatar displaying functionality.\n\n```html\n<vaadin-avatar img=\"avatars/avatar-1.jpg\"></vaadin-avatar>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n--------- | ---------------\n`abbr` | The abbreviation element\n`icon` | The icon element\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property
|
|
19
|
+
"description": "`<vaadin-avatar>` is a Web Component providing avatar displaying functionality.\n\n```html\n<vaadin-avatar img=\"avatars/avatar-1.jpg\"></vaadin-avatar>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n--------- | ---------------\n`abbr` | The abbreviation element\n`icon` | The icon element\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:----------------------------------|\n| `--vaadin-avatar-background` |\n| `--vaadin-avatar-border-color` |\n| `--vaadin-avatar-border-width` |\n| `--vaadin-avatar-font-size` |\n| `--vaadin-avatar-font-weight` |\n| `--vaadin-avatar-size` |\n| `--vaadin-avatar-text-color` |\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n------------------|-------------\n`focus-ring` | Set when the avatar is focused using the keyboard.\n`focused` | Set when the avatar is focused.\n`has-color-index` | Set when the avatar has `colorIndex` and the corresponding custom CSS property exists.\n`has-tooltip` | Set when the element has a slotted tooltip.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": [
|
|
22
22
|
{
|